feat: update ngsw-config.json for app version and build details; refactor invoice components for improved structure and functionality
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { brandingConfig } from '@/branding/branding.config';
|
||||
import { PwaInstallService } from '@/core/services';
|
||||
import { Component, EventEmitter, inject, Output } from '@angular/core';
|
||||
import { ButtonDirective } from 'primeng/button';
|
||||
import { finalize, forkJoin } from 'rxjs';
|
||||
import images from 'src/assets/images';
|
||||
import { PosInfoStore, PosProfileStore } from '../store';
|
||||
@@ -10,7 +9,6 @@ import { DeviceInfoStore } from '../store/device.store';
|
||||
@Component({
|
||||
selector: 'pos-splash',
|
||||
templateUrl: 'splash.component.html',
|
||||
imports: [ButtonDirective],
|
||||
})
|
||||
export class PosSplashComponent {
|
||||
@Output() onComplete = new EventEmitter<void>();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, computed, inject, signal } from '@angular/core';
|
||||
import { NavigationEnd, Router, RouterOutlet } from '@angular/router';
|
||||
import { NavigationEnd, Router } from '@angular/router';
|
||||
import { filter } from 'rxjs';
|
||||
import { PosSplashComponent } from '../components/splash.component';
|
||||
import { PosPagesLayoutComponent } from './pagesLayout/layout.component';
|
||||
@@ -8,7 +8,7 @@ import { PosPagesLayoutComponent } from './pagesLayout/layout.component';
|
||||
@Component({
|
||||
selector: 'pos-layout',
|
||||
templateUrl: 'layout.component.html',
|
||||
imports: [PosSplashComponent, PosPagesLayoutComponent, RouterOutlet, CommonModule],
|
||||
imports: [PosSplashComponent, PosPagesLayoutComponent, CommonModule],
|
||||
})
|
||||
export class PosLayoutComponent {
|
||||
private readonly router = inject(Router);
|
||||
|
||||
Reference in New Issue
Block a user