tin-spa 20.8.1 → 20.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, EnvironmentProviders, NgZone, OnInit, OnDestroy, TemplateRef, ViewContainerRef, OnChanges, SimpleChanges, EventEmitter, AfterViewInit, PipeTransform, ElementRef, AfterViewChecked, ChangeDetectorRef } from '@angular/core';
2
+ import { InjectionToken, EnvironmentProviders, Injector, NgZone, OnInit, OnDestroy, TemplateRef, ViewContainerRef, OnChanges, SimpleChanges, EventEmitter, ChangeDetectorRef, AfterViewInit, DoCheck, PipeTransform, ElementRef, AfterViewChecked } from '@angular/core';
3
3
  import * as i12 from '@angular/material/snack-bar';
4
4
  import { MatSnackBar } from '@angular/material/snack-bar';
5
5
  import * as i11 from '@angular/material/dialog';
@@ -8,7 +8,7 @@ import * as rxjs from 'rxjs';
8
8
  import { Observable, BehaviorSubject, Subject } from 'rxjs';
9
9
  import * as i1 from '@angular/router';
10
10
  import { Router, ActivatedRoute, CanActivateFn } from '@angular/router';
11
- import * as i64 from '@angular/common/http';
11
+ import * as i65 from '@angular/common/http';
12
12
  import { HttpClient, HttpErrorResponse } from '@angular/common/http';
13
13
  import * as i7$1 from '@abacritt/angularx-social-login';
14
14
  import { SocialUser, SocialAuthService } from '@abacritt/angularx-social-login';
@@ -16,12 +16,13 @@ import * as i4 from '@angular/common';
16
16
  import { PlatformLocation, LocationStrategy, DecimalPipe, Location } from '@angular/common';
17
17
  import { IPublicClientApplication } from '@azure/msal-browser';
18
18
  import { BreakpointObserver } from '@angular/cdk/layout';
19
+ import { DomSanitizer, SafeResourceUrl, SafeHtml } from '@angular/platform-browser';
19
20
  import { SwUpdate } from '@angular/service-worker';
20
21
  import * as tin_spa from 'tin-spa';
21
22
  import * as i3 from '@angular/forms';
22
23
  import { FormControl, ControlValueAccessor } from '@angular/forms';
23
24
  import * as _angular_material_paginator from '@angular/material/paginator';
24
- import { MatPaginator } from '@angular/material/paginator';
25
+ import { MatPaginator, PageEvent } from '@angular/material/paginator';
25
26
  import * as i5 from '@angular/material/table';
26
27
  import { MatTableDataSource } from '@angular/material/table';
27
28
  import { ChartData, ChartOptions, Plugin } from 'chart.js';
@@ -31,7 +32,6 @@ import * as i22 from '@angular/material/autocomplete';
31
32
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
32
33
  import * as i17 from '@angular/material/chips';
33
34
  import { MatChipInputEvent } from '@angular/material/chips';
34
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
35
35
  import * as i67 from '@kolkov/angular-editor';
36
36
  import { AngularEditorConfig } from '@kolkov/angular-editor';
37
37
  import * as i69 from '@angular/cdk/drag-drop';
@@ -58,7 +58,6 @@ import * as i28 from '@angular/material/progress-bar';
58
58
  import * as i29 from '@angular/material/sidenav';
59
59
  import * as i30 from '@angular/material/toolbar';
60
60
  import * as i32 from '@angular/material/expansion';
61
- import * as i66 from 'ngx-doc-viewer';
62
61
  import * as i68 from 'ng2-charts';
63
62
  import { MsalService } from '@azure/msal-angular';
64
63
 
@@ -113,6 +112,25 @@ declare enum InvoiceStatus {
113
112
  Discarded = 3,
114
113
  Paying = 4
115
114
  }
115
+ declare enum CreditNoteStatus {
116
+ Draft = 0,
117
+ Submitted = 1,
118
+ Applied = 2,
119
+ Discarded = 3
120
+ }
121
+ declare enum FiscalPeriodStatus {
122
+ Open = 0,
123
+ Closed = 1,
124
+ Locked = 2
125
+ }
126
+ declare enum QuoteStatus {
127
+ Draft = 0,
128
+ Sent = 1,
129
+ Accepted = 2,
130
+ Rejected = 3,
131
+ Expired = 4,
132
+ Converted = 5
133
+ }
116
134
  declare enum InvoiceItemType {
117
135
  General = 0,
118
136
  Product = 1,
@@ -555,6 +573,7 @@ declare class SignalRService {
555
573
  static ɵprov: i0.ɵɵInjectableDeclaration<SignalRService>;
556
574
  }
557
575
 
576
+ type RefreshResult = 'success' | 'rejected' | 'network';
558
577
  declare class AuthService {
559
578
  private _route;
560
579
  private socialService;
@@ -564,12 +583,13 @@ declare class AuthService {
564
583
  private messageService;
565
584
  private logService;
566
585
  private signalRService;
586
+ private injector;
567
587
  private googleAuthInitialized;
568
- private isRefreshing;
588
+ private refreshPromise;
569
589
  private refreshTimer;
570
590
  private socialUserSource;
571
591
  socialUserObserv: rxjs.Observable<SocialUser>;
572
- constructor(_route: ActivatedRoute, socialService: SocialAuthService, storage: StorageService, router: Router, httpService: HttpService, messageService: MessageService, logService: LogService, signalRService: SignalRService);
592
+ constructor(_route: ActivatedRoute, socialService: SocialAuthService, storage: StorageService, router: Router, httpService: HttpService, messageService: MessageService, logService: LogService, signalRService: SignalRService, injector: Injector);
573
593
  private initializeGoogleAuth;
574
594
  clearSession(revokeOnServer?: boolean): void;
575
595
  sessionExpired(): void;
@@ -612,11 +632,12 @@ declare class AuthService {
612
632
  isValidToken(): boolean;
613
633
  applyLoginResponse(data: any, rememberMe: boolean): void;
614
634
  private scheduleTokenRefresh;
635
+ private scheduleRetry;
615
636
  private initVisibilityRefresh;
616
637
  hasValidSession(): boolean;
617
638
  hasRefreshToken(): boolean;
618
639
  tryRestoreSession(): Promise<boolean>;
619
- silentRefresh(): Promise<boolean>;
640
+ silentRefresh(): Promise<RefreshResult>;
620
641
  checkAuthentication(): Promise<boolean>;
621
642
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
622
643
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
@@ -666,6 +687,7 @@ declare class DetailsDialogConfig {
666
687
  options?: dialogOptions;
667
688
  autoRefreshConfig?: AutoRefreshConfig;
668
689
  refreshOnClose?: boolean;
690
+ refreshOnCloseIfActioned?: boolean;
669
691
  causeTableRefresh?: boolean;
670
692
  closeOptions?: CloseOptions;
671
693
  initAction?: Action;
@@ -1026,6 +1048,9 @@ interface Column {
1026
1048
  detailsConfig?: DetailsDialogConfig;
1027
1049
  hiddenCondition?: (parentData: any) => boolean;
1028
1050
  }
1051
+ declare class PaginationConfig {
1052
+ pageSize?: number;
1053
+ }
1029
1054
  type TableViewType = 'table' | 'capsule' | 'card' | 'grouped';
1030
1055
  declare class TableConfig {
1031
1056
  viewType?: TableViewType;
@@ -1073,9 +1098,11 @@ declare class TableConfig {
1073
1098
  messages?: AlertMessage[];
1074
1099
  hiddenCondition?: (value: any) => boolean;
1075
1100
  };
1101
+ import?: ImportConfig;
1076
1102
  realTime?: boolean;
1077
1103
  entityName?: string;
1078
1104
  offline?: OfflineConfig | boolean;
1105
+ pagination?: PaginationConfig;
1079
1106
  allowUserKeepOpen?: boolean;
1080
1107
  keepOpenBehavior?: 'reset' | 'edit';
1081
1108
  }
@@ -1085,10 +1112,18 @@ declare class PageConfig {
1085
1112
  searchTableConfig?: TableConfig;
1086
1113
  titleActions?: Field[];
1087
1114
  }
1115
+ interface ImportConfig {
1116
+ entity: string;
1117
+ title?: string;
1118
+ securityConfig?: SecurityConfig;
1119
+ hiddenCondition?: (value: any) => boolean;
1120
+ onComplete?: (summary: any) => void;
1121
+ }
1088
1122
  declare class ApiResponse {
1089
1123
  success: boolean;
1090
1124
  message: string;
1091
1125
  data: any;
1126
+ total?: number;
1092
1127
  }
1093
1128
  declare class Constants {
1094
1129
  static readonly AUTH_USER = "a";
@@ -1148,6 +1183,38 @@ declare class AppConfig {
1148
1183
  navColor: string;
1149
1184
  navImage: string;
1150
1185
  keepSignedIn: boolean;
1186
+ setupConfig: SetupConfig;
1187
+ }
1188
+ interface SetupStepAction {
1189
+ button?: Button;
1190
+ link?: string;
1191
+ }
1192
+ interface SetupConfig {
1193
+ enabled: boolean;
1194
+ title?: string;
1195
+ stepActions: {
1196
+ [key: string]: SetupStepAction;
1197
+ };
1198
+ }
1199
+ interface SetupStep {
1200
+ key: string;
1201
+ title: string;
1202
+ description: string;
1203
+ category: string;
1204
+ order: number;
1205
+ required: boolean;
1206
+ target: number;
1207
+ current: number;
1208
+ complete: boolean;
1209
+ link: string;
1210
+ icon: string;
1211
+ }
1212
+ interface SetupStatus {
1213
+ steps: SetupStep[];
1214
+ completed: number;
1215
+ total: number;
1216
+ percent: number;
1217
+ pending: number;
1151
1218
  }
1152
1219
 
1153
1220
  interface ResolvedOfflineConfig {
@@ -1231,6 +1298,7 @@ declare class OfflineService {
1231
1298
  matchMutation(url: string): OfflineEntry | null;
1232
1299
  suppressesUrl(absoluteUrl: string): boolean;
1233
1300
  private resolveConfig;
1301
+ deleteLocalData(): Promise<void>;
1234
1302
  private ensureOpen;
1235
1303
  putRead(url: string, entity: string, data: any, maxRows: number): Promise<any>;
1236
1304
  private getRead;
@@ -1329,6 +1397,7 @@ declare class DataServiceLib {
1329
1397
  capAccounts: CapItem;
1330
1398
  capAggregates: CapItem;
1331
1399
  capReports: CapItem;
1400
+ capBudgets: CapItem;
1332
1401
  capAging: CapItem;
1333
1402
  capTaxRates: CapItem;
1334
1403
  capStandingOrders: CapItem;
@@ -1340,6 +1409,13 @@ declare class DataServiceLib {
1340
1409
  capTransactionTypes: CapItem;
1341
1410
  capTransactions: CapItem;
1342
1411
  capAccountingInvoices: CapItem;
1412
+ capCreditNotes: CapItem;
1413
+ capVatReturn: CapItem;
1414
+ capFiscalPeriods: CapItem;
1415
+ capReceipts: CapItem;
1416
+ capBankReconciliation: CapItem;
1417
+ capRevenueSchedules: CapItem;
1418
+ capQuotes: CapItem;
1343
1419
  capInvoicing: CapItem;
1344
1420
  capLoans: CapItem;
1345
1421
  capLoanProducts: CapItem;
@@ -1472,8 +1548,9 @@ declare class LoaderService {
1472
1548
  declare class viewerDialog implements OnInit {
1473
1549
  private httpService;
1474
1550
  private dataServiceLib;
1551
+ private sanitizer;
1475
1552
  data: any;
1476
- constructor(httpService: HttpService, dataServiceLib: DataServiceLib, data: any);
1553
+ constructor(httpService: HttpService, dataServiceLib: DataServiceLib, sanitizer: DomSanitizer, data: any);
1477
1554
  ngOnInit(): void;
1478
1555
  isProcessing: boolean;
1479
1556
  fullPath: string;
@@ -1484,6 +1561,7 @@ declare class viewerDialog implements OnInit {
1484
1561
  previous(): void;
1485
1562
  next(): void;
1486
1563
  imageDoc: boolean;
1564
+ safeFileUrl: SafeResourceUrl;
1487
1565
  setURL(): void;
1488
1566
  change(fileName: any): void;
1489
1567
  static ɵfac: i0.ɵɵFactoryDeclaration<viewerDialog, never>;
@@ -1509,6 +1587,7 @@ declare class DialogService {
1509
1587
  dialogRef: MatDialogRef<any>;
1510
1588
  };
1511
1589
  openViewerDialog(fileName: string, fileNames: string[] | string, path: string): MatDialogRef<viewerDialog>;
1590
+ openImportDialog(config: ImportConfig): Observable<any>;
1512
1591
  openPrintDialog(htmlContent: any): void;
1513
1592
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, null, { optional: true; }]>;
1514
1593
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
@@ -1618,11 +1697,55 @@ declare class AccountingService {
1618
1697
  budgetVsActualByPeriodTableConfig: TableConfig;
1619
1698
  budgetVsActualByAccountTableConfig: TableConfig;
1620
1699
  budgetSummaryTileConfig: TileConfig;
1700
+ generalLedgerTableConfig: TableConfig;
1701
+ creditNoteItemsFormConfig: FormConfig;
1702
+ creditNoteItemEditButton: Button;
1703
+ creditNoteItemsTableConfig: TableConfig;
1704
+ creditNoteFormConfig: FormConfig;
1705
+ creditNoteSubmitButton: Button;
1706
+ creditNoteApplyButton: Button;
1707
+ creditNoteReturnButton: Button;
1708
+ creditNoteDiscardButton: Button;
1709
+ creditNoteEditButton: Button;
1710
+ creditNoteDetailsDialogConfig: DetailsDialogConfig;
1711
+ creditNoteViewButton: Button;
1712
+ creditNoteCreateButton: Button;
1713
+ invoiceCreditNoteButton: Button;
1714
+ creditNotesTableConfig: TableConfig;
1715
+ receiptAllocateButton: Button;
1716
+ receiptPdfButton: Button;
1717
+ customerReceiptsTableConfig: TableConfig;
1718
+ quoteItemsFormConfig: FormConfig;
1719
+ quoteItemEditButton: Button;
1720
+ quoteItemsTableConfig: TableConfig;
1721
+ quoteFormConfig: FormConfig;
1722
+ quoteSendButton: Button;
1723
+ quoteAcceptButton: Button;
1724
+ quoteRejectButton: Button;
1725
+ quoteConvertButton: Button;
1726
+ quoteEditButton: Button;
1727
+ quoteDownloadButton: Button;
1728
+ quoteDetailsDialogConfig: DetailsDialogConfig;
1729
+ quoteViewButton: Button;
1730
+ quoteCreateButton: Button;
1731
+ quotesTableConfig: TableConfig;
1732
+ revenueSchedulesTableConfig: TableConfig;
1733
+ cashFlowTableConfig: TableConfig;
1734
+ equityChangesTableConfig: TableConfig;
1735
+ bankReconcileButton: Button;
1736
+ bankStatementImportsTableConfig: TableConfig;
1737
+ fiscalPeriodFormConfig: FormConfig;
1738
+ fiscalPeriodCloseButton: Button;
1739
+ fiscalPeriodReopenButton: Button;
1740
+ fiscalPeriodLockButton: Button;
1741
+ fiscalPeriodsTableConfig: TableConfig;
1742
+ constructor();
1621
1743
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountingService, never>;
1622
1744
  static ɵprov: i0.ɵɵInjectableDeclaration<AccountingService>;
1623
1745
  }
1624
1746
 
1625
1747
  declare class AssetsService {
1748
+ private dataService;
1626
1749
  categoryFormConfig: FormConfig;
1627
1750
  categoryCreateButton: Button;
1628
1751
  categoryEditButton: Button;
@@ -1644,6 +1767,7 @@ declare class AssetsService {
1644
1767
  }
1645
1768
 
1646
1769
  declare class LoansService {
1770
+ private dataService;
1647
1771
  loanProductCreateButton: Button;
1648
1772
  loanProductEditButton: Button;
1649
1773
  loanProductDeleteButton: Button;
@@ -1957,6 +2081,48 @@ declare class AnalyticsService {
1957
2081
  static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
1958
2082
  }
1959
2083
 
2084
+ declare class SetupService {
2085
+ private dataService;
2086
+ private pendingCount;
2087
+ pendingCount$: rxjs.Observable<number>;
2088
+ private status;
2089
+ status$: rxjs.Observable<SetupStatus>;
2090
+ constructor(dataService: DataServiceLib);
2091
+ get enabled(): boolean;
2092
+ loadCount(): void;
2093
+ loadStatus(): void;
2094
+ refresh(): void;
2095
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupService, never>;
2096
+ static ɵprov: i0.ɵɵInjectableDeclaration<SetupService>;
2097
+ }
2098
+
2099
+ declare class SetupGuideComponent implements OnInit {
2100
+ dataService: DataServiceLib;
2101
+ setupService: SetupService;
2102
+ private dialogService;
2103
+ status: SetupStatus | null;
2104
+ groups: {
2105
+ name: string;
2106
+ steps: SetupStep[];
2107
+ }[];
2108
+ expandedKey: string;
2109
+ get title(): string;
2110
+ ngOnInit(): void;
2111
+ private buildGroups;
2112
+ getAction(step: SetupStep): SetupStepAction;
2113
+ hasDialog(step: SetupStep): boolean;
2114
+ hasAction(step: SetupStep): boolean;
2115
+ primaryLabel(step: SetupStep): string;
2116
+ groupCompleted(group: {
2117
+ steps: SetupStep[];
2118
+ }): number;
2119
+ progressLabel(step: SetupStep): string;
2120
+ doPrimary(step: SetupStep): void;
2121
+ navigate(step: SetupStep): void;
2122
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupGuideComponent, never>;
2123
+ static ɵcmp: i0.ɵɵComponentDeclaration<SetupGuideComponent, "spa-setup-guide", never, {}, {}, never, never, false, never>;
2124
+ }
2125
+
1960
2126
  declare class OfflineIndicatorComponent {
1961
2127
  private offline;
1962
2128
  private router;
@@ -2430,9 +2596,12 @@ declare class ActivityComponent implements OnInit {
2430
2596
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "spa-activity", never, { "notes": { "alias": "notes"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
2431
2597
  }
2432
2598
 
2433
- declare class FilterComponent implements OnInit {
2599
+ declare class FilterComponent implements OnInit, OnDestroy {
2434
2600
  constructor();
2601
+ private filterInput$;
2602
+ private filterSub;
2435
2603
  ngOnInit(): void;
2604
+ ngOnDestroy(): void;
2436
2605
  ngOnChanges(): void;
2437
2606
  flatButtons: boolean;
2438
2607
  showText: boolean;
@@ -2440,13 +2609,14 @@ declare class FilterComponent implements OnInit {
2440
2609
  smallScreen: boolean;
2441
2610
  data: MatTableDataSource<unknown, _angular_material_paginator.MatPaginator>;
2442
2611
  refreshClick: EventEmitter<any>;
2612
+ filterChange: EventEmitter<string>;
2443
2613
  _filterText: string;
2444
2614
  keyUp(event: KeyboardEvent): void;
2445
2615
  applyFilter(filterValue: string): void;
2446
2616
  refreshClicked(): void;
2447
2617
  clear(): void;
2448
2618
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
2449
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "flatButtons": { "alias": "flatButtons"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "refreshClick": "refreshClick"; }, never, never, false, never>;
2619
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "flatButtons": { "alias": "flatButtons"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "refreshClick": "refreshClick"; "filterChange": "filterChange"; }, never, never, false, never>;
2450
2620
  }
2451
2621
 
2452
2622
  declare class messageDialog implements OnInit {
@@ -2529,12 +2699,20 @@ declare class OptionComponent implements OnInit {
2529
2699
  static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": { "alias": "options"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionDisplay": { "alias": "optionDisplay"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "display": { "alias": "display"; "required": false; }; "show": { "alias": "show"; "required": false; }; "required": { "alias": "required"; "required": false; }; "infoMessage": { "alias": "infoMessage"; "required": false; }; "copyContent": { "alias": "copyContent"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; "loadAction": { "alias": "loadAction"; "required": false; }; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false, never>;
2530
2700
  }
2531
2701
 
2532
- declare class TilesComponent implements OnInit {
2702
+ declare class TilesComponent implements OnInit, OnChanges, OnDestroy {
2533
2703
  private dataService;
2534
2704
  private messageService;
2535
- constructor(dataService: DataServiceLib, messageService: MessageService);
2705
+ private cdr;
2706
+ private subs;
2707
+ private chartCache;
2708
+ constructor(dataService: DataServiceLib, messageService: MessageService, cdr: ChangeDetectorRef);
2536
2709
  ngOnInit(): void;
2537
2710
  ngOnChanges(): void;
2711
+ ngOnDestroy(): void;
2712
+ private getChartCache;
2713
+ getTileMiniChartData(tile: Tile): ChartData;
2714
+ getMiniChartOptions(tile: Tile): ChartOptions;
2715
+ getTileChartPlugins(tile: Tile): Plugin[];
2538
2716
  tiles: Tile[];
2539
2717
  config: TileConfig;
2540
2718
  tileActionSelected: EventEmitter<Action>;
@@ -2545,14 +2723,15 @@ declare class TilesComponent implements OnInit {
2545
2723
  tileUnClick: EventEmitter<any>;
2546
2724
  selectedTile: string;
2547
2725
  loadData(action: Action, data: any): void;
2726
+ isClickable(tile: Tile): boolean;
2548
2727
  clicked(clickedTile: Tile): void;
2549
2728
  pop(x: any): void;
2550
2729
  isHidden(tile: Tile): boolean;
2551
2730
  isTileValuePrimitive(tile: Tile): boolean;
2552
2731
  hasTileChartData(tile: Tile): boolean;
2553
- getTileMiniChartData(tile: Tile): ChartData;
2554
- getMiniChartOptions(tile: Tile): ChartOptions;
2555
- getTileChartPlugins(tile: Tile): Plugin[];
2732
+ private buildTileMiniChartData;
2733
+ private buildMiniChartOptions;
2734
+ private buildTileChartPlugins;
2556
2735
  static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
2557
2736
  static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": { "alias": "config"; "required": false; }; "lastSearch": { "alias": "lastSearch"; "required": false; }; "data": { "alias": "data"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; }, { "tileActionSelected": "tileActionSelected"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false, never>;
2558
2737
  }
@@ -2642,9 +2821,11 @@ declare class NavMenuComponent {
2642
2821
  dataService: DataServiceLib;
2643
2822
  private dialog;
2644
2823
  subscriptionService: SubscriptionService;
2645
- constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib, dialog: MatDialog, subscriptionService: SubscriptionService);
2824
+ setupService: SetupService;
2825
+ constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib, dialog: MatDialog, subscriptionService: SubscriptionService, setupService: SetupService);
2646
2826
  ngOnInit(): void;
2647
2827
  notificationCount$: any;
2828
+ setupCount$: Observable<number>;
2648
2829
  smallScreen: any;
2649
2830
  myRole: any;
2650
2831
  loggedUserFullName: string;
@@ -2707,6 +2888,7 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2707
2888
  private offline;
2708
2889
  constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService, signalRService: SignalRService, // Changed: Added SignalRService
2709
2890
  offline: OfflineService);
2891
+ private subs;
2710
2892
  ngOnInit(): void;
2711
2893
  ngAfterViewInit(): void;
2712
2894
  ngOnChanges(changes: SimpleChanges): void;
@@ -2745,11 +2927,32 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2745
2927
  private pendingOps;
2746
2928
  private rawRows;
2747
2929
  private offlineSubs;
2930
+ pagedMode: boolean;
2931
+ serverTotal: number;
2932
+ loadedRows: any[];
2933
+ filteredRows: any[];
2934
+ pageIndex: number;
2935
+ pageSize: number;
2936
+ filterActive: boolean;
2937
+ private filterText;
2938
+ private fetchSize;
2939
+ private pagedUrlBase;
2940
+ private pageFetchInFlight;
2748
2941
  private initializeComponent;
2749
2942
  private updateTableConfiguration;
2750
2943
  private setupDataLoading;
2751
2944
  loadData(action: Action, data: any): void;
2752
2945
  private setPaginator;
2946
+ private setupPagination;
2947
+ private loadDataPaged;
2948
+ private fetchChunk;
2949
+ private withPaging;
2950
+ private applyFullSet;
2951
+ private clampPageIndex;
2952
+ private updateSlice;
2953
+ private pagedRowMatches;
2954
+ onServerPage(e: PageEvent): void;
2955
+ filterChanged(text: string): void;
2753
2956
  inputChanged(event: any): void;
2754
2957
  formDefaults(): void;
2755
2958
  setButtons(): void;
@@ -2792,10 +2995,19 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2792
2995
  private deriveEntityName;
2793
2996
  private findIdKey;
2794
2997
  ngOnDestroy(): void;
2998
+ private setTableData;
2999
+ private rowIdKey;
3000
+ trackByRow: (index: number, row: any) => any;
2795
3001
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
2796
3002
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; "inTab": { "alias": "inTab"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false, never>;
2797
3003
  }
2798
3004
 
3005
+ interface ExtraButtonVM {
3006
+ button: Button;
3007
+ visible: boolean;
3008
+ disabled: boolean;
3009
+ color: string;
3010
+ }
2799
3011
  declare class DetailsDialog implements OnInit, OnDestroy {
2800
3012
  private breakpointObserver;
2801
3013
  private loaderService;
@@ -2807,7 +3019,9 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2807
3019
  private dialogService;
2808
3020
  private authService;
2809
3021
  tableConfigService: TableConfigService;
2810
- constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
3022
+ private zone;
3023
+ constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService, zone: NgZone);
3024
+ private subs;
2811
3025
  ngOnInit(): void;
2812
3026
  ngOnDestroy(): void;
2813
3027
  private refreshSubscription;
@@ -2815,6 +3029,7 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2815
3029
  userKeepOpen: boolean;
2816
3030
  titleAction: string;
2817
3031
  loadByAction: boolean;
3032
+ actionPerformed: boolean;
2818
3033
  extraButtons: Button[];
2819
3034
  buttons: Button[];
2820
3035
  createButton: Button;
@@ -2825,7 +3040,9 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2825
3040
  tableReload: Subject<boolean>;
2826
3041
  tableConfig: TableConfig;
2827
3042
  tableConfigs: TableConfig[];
2828
- details: any;
3043
+ private _details;
3044
+ get details(): any;
3045
+ set details(value: any);
2829
3046
  formConfig: FormConfig;
2830
3047
  stepConfig: StepConfig;
2831
3048
  statusConfig: StatusConfig;
@@ -2843,6 +3060,13 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2843
3060
  inputChanged(event: any): void;
2844
3061
  setMode(newMode: any): void;
2845
3062
  setTitleAction(): void;
3063
+ extraButtonVMs: ExtraButtonVM[];
3064
+ editButtonVM: {
3065
+ visible: boolean;
3066
+ disabled: boolean;
3067
+ };
3068
+ private buildButtonWithConfig;
3069
+ private rebuildButtonVMs;
2846
3070
  getButton(name: string): Button;
2847
3071
  testDisabled(row: any, buttonName: string): boolean;
2848
3072
  testVisible(row: any, buttonName: string): boolean;
@@ -2870,12 +3094,18 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2870
3094
  static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "spa-detailsDialog", never, {}, { "inputChange": "inputChange"; }, never, never, false, never>;
2871
3095
  }
2872
3096
 
2873
- declare class FormComponent implements OnInit {
3097
+ declare class FormComponent implements OnInit, OnDestroy, DoCheck {
2874
3098
  private messageService;
2875
3099
  private dataService;
2876
3100
  private authService;
3101
+ private subscriptions;
3102
+ visibleFields: Field[];
3103
+ private lastMode;
2877
3104
  constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
3105
+ ngOnDestroy(): void;
2878
3106
  ngOnInit(): void;
3107
+ ngDoCheck(): void;
3108
+ private refreshVisibleFields;
2879
3109
  dynamicSelectTemplate: TemplateRef<any>;
2880
3110
  hasAccess: boolean;
2881
3111
  fileNames: any;
@@ -2892,6 +3122,7 @@ declare class FormComponent implements OnInit {
2892
3122
  config: FormConfig;
2893
3123
  buttonClick: EventEmitter<any>;
2894
3124
  inputChange: EventEmitter<any>;
3125
+ private loadActionCache;
2895
3126
  resolveLoadAction(field: Field): any;
2896
3127
  initializeCompositeFields(): void;
2897
3128
  initializeSectionStates(): void;
@@ -3034,13 +3265,22 @@ declare class CsvService {
3034
3265
  static ɵprov: i0.ɵɵInjectableDeclaration<CsvService>;
3035
3266
  }
3036
3267
 
3037
- declare class TableHeaderComponent {
3268
+ interface HeaderButtonVM {
3269
+ button: Button;
3270
+ visible: boolean;
3271
+ disabled: boolean;
3272
+ color: string;
3273
+ }
3274
+ declare class TableHeaderComponent implements OnInit, OnChanges {
3038
3275
  private buttonService;
3039
3276
  private dialogService;
3040
3277
  private messageService;
3041
3278
  private csvService;
3042
3279
  constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
3043
3280
  ngOnInit(): void;
3281
+ ngOnChanges(): void;
3282
+ headerButtonVMs: HeaderButtonVM[];
3283
+ private buildHeaderButtons;
3044
3284
  createButton: Button;
3045
3285
  lastSearch: any;
3046
3286
  config: TableConfig;
@@ -3059,11 +3299,15 @@ declare class TableHeaderComponent {
3059
3299
  refreshClick: EventEmitter<void>;
3060
3300
  tileClick: EventEmitter<string>;
3061
3301
  tileUnClick: EventEmitter<string>;
3302
+ filterChange: EventEmitter<string>;
3062
3303
  uploadDetailsDialog: DetailsDialogConfig;
3063
3304
  onButtonClick(button: Button): void;
3064
3305
  onDownloadClick(): void;
3065
3306
  onUploadClick(): void;
3307
+ testVisibleImport(): boolean;
3308
+ onImportClick(): void;
3066
3309
  onRefreshClick(): void;
3310
+ onFilterChange(text: string): void;
3067
3311
  onTileClick(tile: any): void;
3068
3312
  onTileUnClick(tile: any): void;
3069
3313
  getHeaderButtons(): Button[];
@@ -3072,10 +3316,17 @@ declare class TableHeaderComponent {
3072
3316
  testDisabled(button: Button): boolean;
3073
3317
  getButtonColor(button: Button, row: any): string;
3074
3318
  static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
3075
- static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "lastSearch": { "alias": "lastSearch"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "tableDataSource": { "alias": "tableDataSource"; "required": false; }; "tileConfig": { "alias": "tileConfig"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "tileReload": { "alias": "tileReload"; "required": false; }; "showFilterButton": { "alias": "showFilterButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "isRealTime": { "alias": "isRealTime"; "required": false; }; "isConnected": { "alias": "isConnected"; "required": false; }; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false, never>;
3319
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "lastSearch": { "alias": "lastSearch"; "required": false; }; "config": { "alias": "config"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "tableDataSource": { "alias": "tableDataSource"; "required": false; }; "tileConfig": { "alias": "tileConfig"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; "tileReload": { "alias": "tileReload"; "required": false; }; "showFilterButton": { "alias": "showFilterButton"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "isRealTime": { "alias": "isRealTime"; "required": false; }; "isConnected": { "alias": "isConnected"; "required": false; }; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; "filterChange": "filterChange"; }, never, never, false, never>;
3076
3320
  }
3077
3321
 
3078
- declare class TableRowComponent {
3322
+ interface CellVM {
3323
+ text: any;
3324
+ truncated: boolean;
3325
+ color: string;
3326
+ showColumnIcon: boolean;
3327
+ visibleIcons: Icon[];
3328
+ }
3329
+ declare class TableRowComponent implements OnChanges {
3079
3330
  private buttonService;
3080
3331
  column: Column;
3081
3332
  row: any;
@@ -3090,6 +3341,10 @@ declare class TableRowComponent {
3090
3341
  row: any;
3091
3342
  }>;
3092
3343
  showBannerEvent: EventEmitter<string>;
3344
+ vm: CellVM;
3345
+ ngOnChanges(): void;
3346
+ private computeText;
3347
+ private computeTruncated;
3093
3348
  constructor(buttonService: ButtonService);
3094
3349
  testIconCondition(row: any, icon: Icon): boolean;
3095
3350
  getColorOnCondition(row: any, column: Column): string;
@@ -3103,7 +3358,15 @@ declare class TableRowComponent {
3103
3358
  static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": { "alias": "column"; "required": false; }; "row": { "alias": "row"; "required": false; }; "config": { "alias": "config"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false, never>;
3104
3359
  }
3105
3360
 
3106
- declare class TableActionComponent {
3361
+ interface ActionButtonVM {
3362
+ button: Button;
3363
+ name: string;
3364
+ visible: boolean;
3365
+ disabled: boolean;
3366
+ color: string;
3367
+ icon: string;
3368
+ }
3369
+ declare class TableActionComponent implements OnChanges {
3107
3370
  private buttonService;
3108
3371
  constructor(buttonService: ButtonService);
3109
3372
  displayedButtons: Button[];
@@ -3114,13 +3377,17 @@ declare class TableActionComponent {
3114
3377
  name: string;
3115
3378
  row: any;
3116
3379
  }>;
3380
+ visibleVMs: ActionButtonVM[];
3381
+ overflowVMs: ActionButtonVM[];
3382
+ ngOnChanges(): void;
3383
+ private toVM;
3117
3384
  testVisible(row: any, buttonName: string): boolean;
3118
3385
  testDisabled(row: any, buttonName: string): boolean;
3119
3386
  getButtonColor(button: Button, row: any): string;
3120
3387
  getIcon(buttonName: string): string;
3121
3388
  onActionClick(buttonName: string, row: any): void;
3122
- get visibleButtons(): Button[];
3123
- get overflowButtons(): Button[];
3389
+ private computeVisibleButtons;
3390
+ private computeOverflowButtons;
3124
3391
  static ɵfac: i0.ɵɵFactoryDeclaration<TableActionComponent, never>;
3125
3392
  static ɵcmp: i0.ɵɵComponentDeclaration<TableActionComponent, "app-table-action", never, { "displayedButtons": { "alias": "displayedButtons"; "required": false; }; "config": { "alias": "config"; "required": false; }; "row": { "alias": "row"; "required": false; }; "smallScreen": { "alias": "smallScreen"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, false, never>;
3126
3393
  }
@@ -3378,7 +3645,7 @@ declare class HtmlComponent implements OnInit {
3378
3645
  value: string;
3379
3646
  maxHeight: string;
3380
3647
  display: string;
3381
- sanitizedHtml: SafeHtml;
3648
+ sanitizedHtml: string;
3382
3649
  private sanitizeHtml;
3383
3650
  static ɵfac: i0.ɵɵFactoryDeclaration<HtmlComponent, never>;
3384
3651
  static ɵcmp: i0.ɵɵComponentDeclaration<HtmlComponent, "spa-html", never, { "value": { "alias": "value"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "display": { "alias": "display"; "required": false; }; }, {}, never, never, false, never>;
@@ -3492,6 +3759,7 @@ declare class TabsComponent implements OnInit, OnChanges {
3492
3759
  parentDetails: any;
3493
3760
  nestingLevel: number;
3494
3761
  formRefresh: EventEmitter<void>;
3762
+ actionSuccess: EventEmitter<void>;
3495
3763
  tabCounts: {
3496
3764
  [index: number]: number;
3497
3765
  };
@@ -3514,7 +3782,7 @@ declare class TabsComponent implements OnInit, OnChanges {
3514
3782
  updateVisibleTabs(): void;
3515
3783
  getReloadSubject(index: number): Subject<boolean>;
3516
3784
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
3517
- static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "spa-tabs", never, { "tableConfigs": { "alias": "tableConfigs"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "formRefresh": "formRefresh"; }, never, never, false, never>;
3785
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "spa-tabs", never, { "tableConfigs": { "alias": "tableConfigs"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "formRefresh": "formRefresh"; "actionSuccess": "actionSuccess"; }, never, never, false, never>;
3518
3786
  }
3519
3787
 
3520
3788
  declare class StatusesComponent {
@@ -3903,6 +4171,71 @@ declare class AgentComponent implements OnInit, OnDestroy, AfterViewChecked {
3903
4171
  static ɵcmp: i0.ɵɵComponentDeclaration<AgentComponent, "spa-agent", never, {}, {}, never, never, false, never>;
3904
4172
  }
3905
4173
 
4174
+ declare class ImportDialogComponent implements OnInit {
4175
+ private httpService;
4176
+ private http;
4177
+ private messageService;
4178
+ private dialogRef;
4179
+ config: ImportConfig;
4180
+ stepper: MatStepper;
4181
+ entity: string;
4182
+ title: string;
4183
+ loading: boolean;
4184
+ batchId: number;
4185
+ status: number;
4186
+ fileName: string;
4187
+ fields: any[];
4188
+ headers: any[];
4189
+ mappings: any[];
4190
+ counts: {
4191
+ total: number;
4192
+ ready: number;
4193
+ warning: number;
4194
+ error: number;
4195
+ };
4196
+ rows: any[];
4197
+ committedCount: number;
4198
+ selectedFile: File;
4199
+ onlyProblems: boolean;
4200
+ editingRowId: number;
4201
+ editModel: any;
4202
+ constructor(httpService: HttpService, http: HttpClient, messageService: MessageService, dialogRef: MatDialogRef<ImportDialogComponent>, config: ImportConfig);
4203
+ ngOnInit(): void;
4204
+ loadActive(): void;
4205
+ onFileSelected(event: any): void;
4206
+ doUpload(): void;
4207
+ downloadTemplate(): void;
4208
+ samplesFor(header: string): string[];
4209
+ fieldUsedElsewhere(property: string, header: string): boolean;
4210
+ availableFields(header: string): any[];
4211
+ get unmappedRequired(): string[];
4212
+ confidenceClass(m: any): string;
4213
+ onMappingChange(m: any): void;
4214
+ confirmMapping(): void;
4215
+ get reviewColumns(): any[];
4216
+ get displayedColumns(): string[];
4217
+ get visibleRows(): any[];
4218
+ displayFor(property: string): string;
4219
+ cellValue(row: any, property: string): any;
4220
+ cellSeverity(row: any, property: string): string;
4221
+ rowIssueText(row: any): string;
4222
+ loadRows(after?: () => void): void;
4223
+ startEdit(row: any): void;
4224
+ cancelEdit(): void;
4225
+ saveEdit(row: any): void;
4226
+ refreshBatch(): void;
4227
+ doCommit(): void;
4228
+ startOver(): void;
4229
+ close(): void;
4230
+ private applyBatch;
4231
+ private applySummary;
4232
+ private resetState;
4233
+ private gotoStepForStatus;
4234
+ private goToStep;
4235
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportDialogComponent, never>;
4236
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImportDialogComponent, "spa-import-dialog", never, {}, {}, never, never, false, never>;
4237
+ }
4238
+
3906
4239
  declare class SpaMatModule {
3907
4240
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaMatModule, never>;
3908
4241
  static ɵmod: i0.ɵɵNgModuleDeclaration<SpaMatModule, never, never, [typeof i4.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i3$1.MatMenuModule, typeof i4$1.MatSliderModule, typeof i5.MatTableModule, typeof _angular_material_paginator.MatPaginatorModule, typeof i7.MatCheckboxModule, typeof i8.MatBadgeModule, typeof i9.MatButtonModule, typeof i10.MatIconModule, typeof i11.MatDialogModule, typeof i12.MatSnackBarModule, typeof i13.MatTabsModule, typeof i14.MatFormFieldModule, typeof i15.MatInputModule, typeof i16.MatCardModule, typeof i17.MatChipsModule, typeof i18.MatSelectModule, typeof i19.MatNativeDateModule, typeof i20.MatProgressSpinnerModule, typeof i21.MatListModule, typeof i22.MatAutocompleteModule, typeof i23.MatTooltipModule, typeof i24.MatSortModule, typeof i25.MatDatepickerModule, typeof i26.MatStepperModule, typeof i27.MatRadioModule, typeof i28.MatProgressBarModule, typeof i29.MatSidenavModule, typeof i30.MatToolbarModule, typeof i1.RouterModule, typeof i32.MatExpansionModule]>;
@@ -3954,7 +4287,7 @@ declare class CurrencyInputModule {
3954
4287
 
3955
4288
  declare class TinSpaModule {
3956
4289
  static ɵfac: i0.ɵɵFactoryDeclaration<TinSpaModule, never>;
3957
- static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof TinSpaComponent, typeof TextComponent, typeof TextMaskComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof CheckComponent, typeof DateComponent, typeof DatetimeComponent, typeof LabelComponent, typeof SelectComponent, typeof ActivityComponent, typeof FilterComponent, typeof messageDialog, typeof MoneyComponent, typeof OptionComponent, typeof TilesComponent, typeof StepsComponent, typeof AttachComponent, typeof ChipsComponent, typeof LoaderComponent, typeof NavMenuComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof CamelToWordsPipe, typeof NumberComponent, typeof SearchComponent, typeof ViewerComponent, typeof viewerDialog, typeof ListDialogComponent, typeof InvitationsTableComponent, typeof TableHeaderComponent, typeof TableRowComponent, typeof TableActionComponent, typeof AlertComponent, typeof EmailComponent, typeof PageComponent, typeof SelectCommonComponent, typeof SuffixComponent, typeof SelectContextDirective, typeof SelectLiteComponent, typeof TextMultiComponent, typeof SelectMultiComponent, typeof SelectBitwiseComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof CardsComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof TermsDialogComponent, typeof PrivacyDialogComponent, typeof ChartsComponent, typeof FeatureDirective, typeof SpaLandingComponent, typeof ToastComponent, typeof AgentComponent, typeof OfflineIndicatorComponent], [typeof SpaMatModule, typeof i64.HttpClientModule, typeof CurrencyInputModule, typeof i66.NgxDocViewerModule, typeof i67.AngularEditorModule, typeof i68.BaseChartDirective, typeof i69.DragDropModule], [typeof TinSpaComponent, typeof SpaMatModule, typeof AlertComponent, typeof TextComponent, typeof TextMaskComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof TextMultiComponent, typeof messageDialog, typeof NavMenuComponent, typeof LoaderComponent, typeof TilesComponent, typeof DateComponent, typeof SelectComponent, typeof SelectBitwiseComponent, typeof SelectMultiComponent, typeof DatetimeComponent, typeof CheckComponent, typeof AttachComponent, typeof MoneyComponent, typeof ChipsComponent, typeof ActivityComponent, typeof OptionComponent, typeof LabelComponent, typeof StepsComponent, typeof FilterComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof NumberComponent, typeof SearchComponent, typeof ViewerComponent, typeof viewerDialog, typeof ListDialogComponent, typeof ListDialogComponent, typeof EmailComponent, typeof PageComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof InvitationsTableComponent, typeof TermsDialogComponent, typeof PrivacyDialogComponent, typeof SelectLiteComponent, typeof ChartsComponent, typeof FeatureDirective, typeof SpaLandingComponent, typeof AgentComponent, typeof OfflineIndicatorComponent]>;
4290
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TinSpaModule, [typeof TinSpaComponent, typeof TextComponent, typeof TextMaskComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof CheckComponent, typeof DateComponent, typeof DatetimeComponent, typeof LabelComponent, typeof SelectComponent, typeof ActivityComponent, typeof FilterComponent, typeof messageDialog, typeof MoneyComponent, typeof OptionComponent, typeof TilesComponent, typeof StepsComponent, typeof AttachComponent, typeof ChipsComponent, typeof LoaderComponent, typeof NavMenuComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof CamelToWordsPipe, typeof NumberComponent, typeof SearchComponent, typeof ViewerComponent, typeof viewerDialog, typeof ListDialogComponent, typeof InvitationsTableComponent, typeof TableHeaderComponent, typeof TableRowComponent, typeof TableActionComponent, typeof AlertComponent, typeof EmailComponent, typeof PageComponent, typeof SelectCommonComponent, typeof SuffixComponent, typeof SelectContextDirective, typeof SelectLiteComponent, typeof TextMultiComponent, typeof SelectMultiComponent, typeof SelectBitwiseComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof CardsComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof TermsDialogComponent, typeof PrivacyDialogComponent, typeof ChartsComponent, typeof FeatureDirective, typeof SpaLandingComponent, typeof ToastComponent, typeof AgentComponent, typeof OfflineIndicatorComponent, typeof ImportDialogComponent], [typeof SpaMatModule, typeof i65.HttpClientModule, typeof CurrencyInputModule, typeof i67.AngularEditorModule, typeof i68.BaseChartDirective, typeof i69.DragDropModule], [typeof TinSpaComponent, typeof SpaMatModule, typeof AlertComponent, typeof TextComponent, typeof TextMaskComponent, typeof TextAreaComponent, typeof TextSingleComponent, typeof TextMultiComponent, typeof messageDialog, typeof NavMenuComponent, typeof LoaderComponent, typeof TilesComponent, typeof DateComponent, typeof SelectComponent, typeof SelectBitwiseComponent, typeof SelectMultiComponent, typeof DatetimeComponent, typeof CheckComponent, typeof AttachComponent, typeof MoneyComponent, typeof ChipsComponent, typeof ActivityComponent, typeof OptionComponent, typeof LabelComponent, typeof StepsComponent, typeof FilterComponent, typeof TableComponent, typeof DetailsDialog, typeof FormComponent, typeof NumberComponent, typeof SearchComponent, typeof ViewerComponent, typeof viewerDialog, typeof ImportDialogComponent, typeof ListDialogComponent, typeof ListDialogComponent, typeof EmailComponent, typeof PageComponent, typeof HtmlComponent, typeof EditorComponent, typeof NotesComponent, typeof CapsulesComponent, typeof TabsComponent, typeof StatusesComponent, typeof GroupsComponent, typeof TitleActionsComponent, typeof WelcomeComponent, typeof InvitationsTableComponent, typeof TermsDialogComponent, typeof PrivacyDialogComponent, typeof SelectLiteComponent, typeof ChartsComponent, typeof FeatureDirective, typeof SpaLandingComponent, typeof AgentComponent, typeof OfflineIndicatorComponent]>;
3958
4291
  static ɵinj: i0.ɵɵInjectorDeclaration<TinSpaModule>;
3959
4292
  }
3960
4293
 
@@ -3971,7 +4304,8 @@ declare class LoginComponent implements OnInit {
3971
4304
  private signalRService;
3972
4305
  private msalService;
3973
4306
  private dialog;
3974
- constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, notificationsService: NotificationsService, signalRService: SignalRService, msalService: MsalService, dialog: MatDialog);
4307
+ private setupService;
4308
+ constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, notificationsService: NotificationsService, signalRService: SignalRService, msalService: MsalService, dialog: MatDialog, setupService: SetupService);
3975
4309
  ngOnInit(): void;
3976
4310
  loginWithMS(): void;
3977
4311
  autoLogin: boolean;
@@ -4005,9 +4339,11 @@ declare class SignupComponent implements OnInit {
4005
4339
  router: Router;
4006
4340
  private msalService;
4007
4341
  private notificationsService;
4342
+ private setupService;
4008
4343
  private dialog;
4009
4344
  private cdr;
4010
- constructor(httpService: HttpService, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, storageService: StorageService, router: Router, msalService: MsalService, notificationsService: NotificationsService, dialog: MatDialog, cdr: ChangeDetectorRef);
4345
+ constructor(httpService: HttpService, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, storageService: StorageService, router: Router, msalService: MsalService, notificationsService: NotificationsService, setupService: SetupService, // Added: SetupService for setup badge
4346
+ dialog: MatDialog, cdr: ChangeDetectorRef);
4011
4347
  ngOnInit(): void;
4012
4348
  appConfig: AppConfig;
4013
4349
  style: string;
@@ -4386,8 +4722,11 @@ declare class TransactionTypesComponent implements OnInit {
4386
4722
 
4387
4723
  declare class TransactionsComponent implements OnInit {
4388
4724
  private accountingService;
4725
+ private dialog;
4726
+ page?: PageComponent;
4389
4727
  pageConfig: PageConfig;
4390
4728
  ngOnInit(): void;
4729
+ newJournal(): void;
4391
4730
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionsComponent, never>;
4392
4731
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionsComponent, "spa-transactions", never, {}, {}, never, never, false, never>;
4393
4732
  }
@@ -4410,8 +4749,16 @@ declare class InvoicesComponent implements OnInit {
4410
4749
 
4411
4750
  declare class StatementComponent implements OnInit {
4412
4751
  accountingService: AccountingService;
4752
+ private httpService;
4753
+ private http;
4413
4754
  pageConfig: PageConfig;
4755
+ state: any;
4414
4756
  ngOnInit(): void;
4757
+ loadOptions(kind: string, url: string): void;
4758
+ private query;
4759
+ load(kind: string): void;
4760
+ exportPdf(kind: string): void;
4761
+ export(kind: string): void;
4415
4762
  static ɵfac: i0.ɵɵFactoryDeclaration<StatementComponent, never>;
4416
4763
  static ɵcmp: i0.ɵɵComponentDeclaration<StatementComponent, "spa-statement", never, {}, {}, never, never, false, never>;
4417
4764
  }
@@ -4419,9 +4766,12 @@ declare class StatementComponent implements OnInit {
4419
4766
  declare class ReportsComponent implements OnInit {
4420
4767
  private dataServiceLib;
4421
4768
  accountingService: AccountingService;
4769
+ private httpService;
4770
+ private http;
4422
4771
  constructor(dataServiceLib: DataServiceLib, accountingService: AccountingService);
4423
4772
  ngOnInit(): void;
4424
4773
  reportTabConfigs: TableConfig[];
4774
+ export(report: string): void;
4425
4775
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportsComponent, never>;
4426
4776
  static ɵcmp: i0.ɵɵComponentDeclaration<ReportsComponent, "spa-reports", never, {}, {}, never, never, false, never>;
4427
4777
  }
@@ -4465,6 +4815,194 @@ declare class InvoiceDashboardComponent implements OnInit {
4465
4815
  static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDashboardComponent, "spa-invoice-dashboard", never, {}, {}, never, never, false, never>;
4466
4816
  }
4467
4817
 
4818
+ declare class CreditNotesComponent {
4819
+ accountingService: AccountingService;
4820
+ pageConfig: PageConfig;
4821
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreditNotesComponent, never>;
4822
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreditNotesComponent, "spa-credit-notes", never, {}, {}, never, never, false, never>;
4823
+ }
4824
+
4825
+ declare class VatReturnComponent implements OnInit {
4826
+ private httpService;
4827
+ private http;
4828
+ from: string;
4829
+ to: string;
4830
+ data: any;
4831
+ ngOnInit(): void;
4832
+ load(): void;
4833
+ export(): void;
4834
+ static ɵfac: i0.ɵɵFactoryDeclaration<VatReturnComponent, never>;
4835
+ static ɵcmp: i0.ɵɵComponentDeclaration<VatReturnComponent, "spa-vat-return", never, {}, {}, never, never, false, never>;
4836
+ }
4837
+
4838
+ declare class JournalEntryDialogComponent implements OnInit {
4839
+ dialogRef: MatDialogRef<any, any>;
4840
+ private httpService;
4841
+ private http;
4842
+ private messageService;
4843
+ date: string;
4844
+ description: string;
4845
+ journalType: string;
4846
+ accounts: any[];
4847
+ lines: any[];
4848
+ private transactionTypes;
4849
+ ngOnInit(): void;
4850
+ private get journalTypeID();
4851
+ get totalDebits(): number;
4852
+ get totalCredits(): number;
4853
+ get isBalanced(): boolean;
4854
+ get canPost(): boolean;
4855
+ addLine(): void;
4856
+ removeLine(index: number): void;
4857
+ post(): void;
4858
+ static ɵfac: i0.ɵɵFactoryDeclaration<JournalEntryDialogComponent, never>;
4859
+ static ɵcmp: i0.ɵɵComponentDeclaration<JournalEntryDialogComponent, "spa-journal-lines", never, {}, {}, never, never, false, never>;
4860
+ }
4861
+
4862
+ declare class FiscalPeriodsComponent implements OnInit {
4863
+ accountingService: AccountingService;
4864
+ pageConfig: PageConfig;
4865
+ ngOnInit(): void;
4866
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiscalPeriodsComponent, never>;
4867
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiscalPeriodsComponent, "spa-fiscal-periods", never, {}, {}, never, never, false, never>;
4868
+ }
4869
+
4870
+ declare class ReceiptsComponent implements OnInit {
4871
+ accountingService: AccountingService;
4872
+ private dialog;
4873
+ private httpService;
4874
+ private http;
4875
+ page?: PageComponent;
4876
+ pageConfig: PageConfig;
4877
+ constructor();
4878
+ ngOnInit(): void;
4879
+ openDialog(row?: any): void;
4880
+ downloadPdf(receipt: any): void;
4881
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReceiptsComponent, never>;
4882
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReceiptsComponent, "spa-receipts", never, {}, {}, never, never, false, never>;
4883
+ }
4884
+
4885
+ declare class ReceiptDialogComponent implements OnInit {
4886
+ dialogRef: MatDialogRef<any, any>;
4887
+ data: any;
4888
+ private httpService;
4889
+ private http;
4890
+ private messageService;
4891
+ customerID: number | null;
4892
+ receiptDate: string;
4893
+ amount: number;
4894
+ method: number;
4895
+ reference: string;
4896
+ customers: any[];
4897
+ openInvoices: any[];
4898
+ get allocateMode(): boolean;
4899
+ get available(): number;
4900
+ get totalAllocated(): number;
4901
+ get overAllocated(): boolean;
4902
+ get canSave(): boolean;
4903
+ ngOnInit(): void;
4904
+ loadOpenInvoices(): void;
4905
+ autoAllocate(): void;
4906
+ save(): void;
4907
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReceiptDialogComponent, never>;
4908
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReceiptDialogComponent, "spa-receipt-dialog", never, {}, {}, never, never, false, never>;
4909
+ }
4910
+
4911
+ declare class BankReconciliationComponent implements OnInit {
4912
+ accountingService: AccountingService;
4913
+ private dialog;
4914
+ page?: PageComponent;
4915
+ pageConfig: PageConfig;
4916
+ constructor();
4917
+ ngOnInit(): void;
4918
+ newImport(): void;
4919
+ static ɵfac: i0.ɵɵFactoryDeclaration<BankReconciliationComponent, never>;
4920
+ static ɵcmp: i0.ɵɵComponentDeclaration<BankReconciliationComponent, "spa-bank-reconciliation", never, {}, {}, never, never, false, never>;
4921
+ }
4922
+
4923
+ declare class StatementImportDialogComponent implements OnInit {
4924
+ dialogRef: MatDialogRef<any, any>;
4925
+ private httpService;
4926
+ private http;
4927
+ private messageService;
4928
+ accountID: number | null;
4929
+ statementFrom: string;
4930
+ statementTo: string;
4931
+ closingBalance: number;
4932
+ csv: string;
4933
+ parseError: string;
4934
+ accounts: any[];
4935
+ ngOnInit(): void;
4936
+ get parsedLines(): any[];
4937
+ get netMovement(): number;
4938
+ get canSave(): boolean;
4939
+ save(): void;
4940
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatementImportDialogComponent, never>;
4941
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatementImportDialogComponent, "spa-statement-import-dialog", never, {}, {}, never, never, false, never>;
4942
+ }
4943
+
4944
+ declare class ReconcileDialogComponent implements OnInit {
4945
+ dialogRef: MatDialogRef<any, any>;
4946
+ data: any;
4947
+ private httpService;
4948
+ private http;
4949
+ private messageService;
4950
+ rec: any;
4951
+ selectedLine: any;
4952
+ selectedEntry: any;
4953
+ changed: boolean;
4954
+ get difference(): number;
4955
+ ngOnInit(): void;
4956
+ load(): void;
4957
+ autoMatch(): void;
4958
+ match(): void;
4959
+ unmatch(line: any): void;
4960
+ complete(): void;
4961
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReconcileDialogComponent, never>;
4962
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReconcileDialogComponent, "spa-reconcile-dialog", never, {}, {}, never, never, false, never>;
4963
+ }
4964
+
4965
+ declare class RevenueSchedulesComponent implements OnInit {
4966
+ accountingService: AccountingService;
4967
+ private dialog;
4968
+ page?: PageComponent;
4969
+ pageConfig: PageConfig;
4970
+ ngOnInit(): void;
4971
+ newSchedule(): void;
4972
+ static ɵfac: i0.ɵɵFactoryDeclaration<RevenueSchedulesComponent, never>;
4973
+ static ɵcmp: i0.ɵɵComponentDeclaration<RevenueSchedulesComponent, "spa-revenue-schedules", never, {}, {}, never, never, false, never>;
4974
+ }
4975
+
4976
+ declare class RevenueScheduleDialogComponent implements OnInit {
4977
+ dialogRef: MatDialogRef<any, any>;
4978
+ private httpService;
4979
+ private http;
4980
+ private messageService;
4981
+ invoiceID: number | null;
4982
+ startDate: string;
4983
+ endDate: string;
4984
+ invoices: any[];
4985
+ ngOnInit(): void;
4986
+ save(): void;
4987
+ static ɵfac: i0.ɵɵFactoryDeclaration<RevenueScheduleDialogComponent, never>;
4988
+ static ɵcmp: i0.ɵɵComponentDeclaration<RevenueScheduleDialogComponent, "spa-revenue-schedule-dialog", never, {}, {}, never, never, false, never>;
4989
+ }
4990
+
4991
+ declare class QuotesComponent implements OnInit {
4992
+ accountingService: AccountingService;
4993
+ private httpService;
4994
+ private http;
4995
+ pageConfig: PageConfig;
4996
+ ngOnInit(): void;
4997
+ actionClicked(event: {
4998
+ name: string;
4999
+ data: any;
5000
+ }): void;
5001
+ download(quote: any): void;
5002
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuotesComponent, never>;
5003
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuotesComponent, "spa-quotes", never, {}, {}, never, never, false, never>;
5004
+ }
5005
+
4468
5006
  declare class TaxRatesComponent {
4469
5007
  private accountingService;
4470
5008
  pageConfig: PageConfig;
@@ -4488,7 +5026,7 @@ declare class CurrenciesComponent {
4488
5026
 
4489
5027
  declare class AccountingModule {
4490
5028
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountingModule, never>;
4491
- static ɵmod: i0.ɵɵNgModuleDeclaration<AccountingModule, [typeof AccountsComponent, typeof AggregatesComponent, typeof AgingComponent, typeof SupplierAgingComponent, typeof TransactionTypesComponent, typeof TransactionsComponent, typeof InvoicesComponent, typeof StatementComponent, typeof ReportsComponent, typeof BudgetsComponent, typeof BudgetVsActualComponent, typeof AccountingDashboardComponent, typeof InvoiceDashboardComponent], [typeof i4.CommonModule, typeof SpaAdminModule, typeof TaxRatesComponent, typeof StandingOrdersComponent, typeof CurrenciesComponent], never>;
5029
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AccountingModule, [typeof AccountsComponent, typeof AggregatesComponent, typeof AgingComponent, typeof SupplierAgingComponent, typeof TransactionTypesComponent, typeof TransactionsComponent, typeof InvoicesComponent, typeof StatementComponent, typeof ReportsComponent, typeof BudgetsComponent, typeof BudgetVsActualComponent, typeof AccountingDashboardComponent, typeof InvoiceDashboardComponent, typeof CreditNotesComponent, typeof VatReturnComponent, typeof JournalEntryDialogComponent, typeof FiscalPeriodsComponent, typeof ReceiptsComponent, typeof ReceiptDialogComponent, typeof BankReconciliationComponent, typeof StatementImportDialogComponent, typeof ReconcileDialogComponent, typeof RevenueSchedulesComponent, typeof RevenueScheduleDialogComponent, typeof QuotesComponent], [typeof i4.CommonModule, typeof SpaAdminModule, typeof TaxRatesComponent, typeof StandingOrdersComponent, typeof CurrenciesComponent], never>;
4492
5030
  static ɵinj: i0.ɵɵInjectorDeclaration<AccountingModule>;
4493
5031
  }
4494
5032
 
@@ -4914,6 +5452,7 @@ declare class BugComponent implements OnInit {
4914
5452
 
4915
5453
  declare class MembershipComponent {
4916
5454
  private authService;
5455
+ private dataService;
4917
5456
  formConfig: FormConfig;
4918
5457
  membersTableConfig: TableConfig;
4919
5458
  pageConfig: PageConfig;
@@ -4923,6 +5462,7 @@ declare class MembershipComponent {
4923
5462
 
4924
5463
  declare class PlansComponent {
4925
5464
  private authService;
5465
+ private dataService;
4926
5466
  formConfig: FormConfig;
4927
5467
  plansTableConfig: TableConfig;
4928
5468
  pageConfig: PageConfig;
@@ -4932,6 +5472,7 @@ declare class PlansComponent {
4932
5472
 
4933
5473
  declare class FeaturesComponent {
4934
5474
  private authService;
5475
+ private dataService;
4935
5476
  formConfig: FormConfig;
4936
5477
  featuresTableConfig: TableConfig;
4937
5478
  pageConfig: PageConfig;
@@ -4941,6 +5482,7 @@ declare class FeaturesComponent {
4941
5482
 
4942
5483
  declare class PlanFeaturesComponent {
4943
5484
  private authService;
5485
+ private dataService;
4944
5486
  formConfig: FormConfig;
4945
5487
  planFeaturesTableConfig: TableConfig;
4946
5488
  pageConfig: PageConfig;
@@ -5118,11 +5660,17 @@ declare class AssetsModule {
5118
5660
  static ɵinj: i0.ɵɵInjectorDeclaration<AssetsModule>;
5119
5661
  }
5120
5662
 
5663
+ declare class SetupModule {
5664
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupModule, never>;
5665
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SetupModule, [typeof SetupGuideComponent], [typeof i4.CommonModule, typeof SpaMatModule], never>;
5666
+ static ɵinj: i0.ɵɵInjectorDeclaration<SetupModule>;
5667
+ }
5668
+
5121
5669
  declare class SpaHomeModule {
5122
5670
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaHomeModule, never>;
5123
- static ɵmod: i0.ɵɵNgModuleDeclaration<SpaHomeModule, never, [typeof SpaHomeRoutingModule, typeof AdminModule, typeof UserModule, typeof AccountingModule, typeof InventoryModule, typeof SalesModule, typeof PurchasingModule, typeof HRModule, typeof PayrollModule, typeof ManufacturingModule, typeof LoansModule, typeof GeneralModule, typeof TenancyModule, typeof WorkflowModule, typeof OverviewModule, typeof AssetsModule], never>;
5671
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SpaHomeModule, never, [typeof SpaHomeRoutingModule, typeof AdminModule, typeof UserModule, typeof AccountingModule, typeof InventoryModule, typeof SalesModule, typeof PurchasingModule, typeof HRModule, typeof PayrollModule, typeof ManufacturingModule, typeof LoansModule, typeof GeneralModule, typeof TenancyModule, typeof WorkflowModule, typeof OverviewModule, typeof AssetsModule, typeof SetupModule], never>;
5124
5672
  static ɵinj: i0.ɵɵInjectorDeclaration<SpaHomeModule>;
5125
5673
  }
5126
5674
 
5127
- export { ALSQUARE_SVG_DARK, ALSQUARE_SVG_WHITE, Account, AccountsComponent as AccountingAccountsComponent, AggregatesComponent as AccountingAggregatesComponent, AgingComponent as AccountingAgingComponent, CurrenciesComponent as AccountingCurrenciesComponent, AccountingDashboardComponent, InvoicesComponent as AccountingInvoicesComponent, AccountingModule, ReportsComponent as AccountingReportsComponent, AccountingService, StatementComponent as AccountingStatementComponent, TransactionTypesComponent as AccountingTransactionTypesComponent, TransactionsComponent as AccountingTransactionsComponent, Action, ActivityComponent, AdminModule, AgentComponent, AgentService, AlertComponent, AlertConfig, AlertMessage, AnalyticsService, ApiResponse, AppConfig, AppModelsComponent, AssetStatus, AssetsService, AttachComponent, AuthService, BillingPageComponent, BrandsComponent, CacheConfig, CapItem, CapsulesComponent, CategoriesComponent, ChangePasswordComponent, ChangeUserPassword, ChartConfig, ChartsComponent, CheckComponent, ChipsComponent, Constants, Core, CreateAccountComponent, CustomersComponent, DataServiceLib, DateComponent, DatetimeComponent, DepartmentsComponent, DetailsDialog, DetailsDialogConfig, DetailsDialogProcessor, DetailsSource, DialogService, EditorComponent, EmailComponent, EmployeesComponent, ExportService, FeatureDirective, FilterComponent, FormComponent, FormConfig, GeneralModule, GeneralService, GradesComponent, GroupsComponent, HRModule, HtmlComponent, HttpService, IndexModule, InventoryDashboardComponent, InventoryModule, InventoryService, InvitationsTableComponent, InvoiceDashboardComponent, InvoiceItemType, InvoiceStatus, LabelComponent, ListDialogComponent, ListDialogConfig, LoaderComponent, LoaderService, LoanPaymentsComponent, LoanProductsComponent, LoansComponent, LoansModule, LoansService, LogLevel, LogService, LoginComponent, LogsComponent, ManufacturingModule, MembershipComponent, MessageService, MoneyComponent, MovementType, NavMenuComponent, NotesComponent, NotesConfig, NotificationsService, NumberComponent, OfflineIndicatorComponent, OfflineService, OnboardingComponent, OptionComponent, OverviewDashboardComponent, OverviewModule, PageComponent, PageConfig, PayrollDashboardComponent, PayrollModule, PlansComponent, PositionsComponent, PreferencesComponent, PrivacyDialogComponent, Profile, ProfileComponent, PurchaseStatus, PurchasingDashboardComponent, PurchasingModule, PushNotificationService, ReceiptStatus, RecoverAccountComponent, Register, Role, RoleAccess, RolesComponent, SalesDashboardComponent, SalesModule, SearchComponent, SearchConfig, SecurityConfig, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SignupComponent, SignupData, SpaAdminModule, SpaHomeModule, SpaIndexModule, SpaLandingComponent, SpaMatModule, SpaUserModule, StatusesComponent, Step, StepConfig, StepsComponent, StorageService, SubCategoriesComponent, SubscriptionPageComponent, SubscriptionService, SuppliersComponent, SyncComponent, TIN_SPA_RUNTIME_CONFIG, TabService, TableComponent, TableConfig, TabsComponent, TasksComponent, TenancyModule, TenantsComponent, TermsDialogComponent, TextAreaComponent, TextComponent, TextMaskComponent, TextMultiComponent, TextSingleComponent, TileConfig, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, TransactionTiming, UnitOfMeasure, UpdateService, User, UserModule, UsersComponent, ViewerComponent, WelcomeComponent, WorkflowModule, authGuard, dialogOptions, featureGuard, loginConfig, messageDialog, provideTinSpaRuntime, tinSpaLocationStrategyFactory, tinSpaMsalInstanceFactory, viewerDialog };
5128
- export type { AgentMessage, AutoRefreshConfig, BitwiseOption, Button, CacheRule, CapsuleConfig, CardConfig, ChartItem, ChildField, CloseOptions, Color, Column, Confirm, ConversationSummary, Field, GroupConfig, GroupData, Icon, LandingBrandOverride, LandingColors, LandingConfig, LandingFeature, LandingFooterColumn, LandingFooterLink, LandingMetric, LandingModuleGroup, LandingModuleTile, LandingNavLink, LandingPricingPlan, LandingSecurityItem, LandingStep, LandingTestimonial, OfflineConfig, OfflineEntry, OfflineOpStatus, OutboxOp, SearchField, SpaChartType, StatusConfig, StatusItem, StatusState, TableViewType, Tile, TileChartConfig, TileChartType, TileStyle, TinSpaMsalConfig, TinSpaRuntimeConfig, VisibleTab };
5675
+ export { ALSQUARE_SVG_DARK, ALSQUARE_SVG_WHITE, Account, AccountsComponent as AccountingAccountsComponent, AggregatesComponent as AccountingAggregatesComponent, AgingComponent as AccountingAgingComponent, CreditNotesComponent as AccountingCreditNotesComponent, CurrenciesComponent as AccountingCurrenciesComponent, AccountingDashboardComponent, InvoicesComponent as AccountingInvoicesComponent, AccountingModule, ReportsComponent as AccountingReportsComponent, AccountingService, StatementComponent as AccountingStatementComponent, TransactionTypesComponent as AccountingTransactionTypesComponent, TransactionsComponent as AccountingTransactionsComponent, VatReturnComponent as AccountingVatReturnComponent, Action, ActivityComponent, AdminModule, AgentComponent, AgentService, AlertComponent, AlertConfig, AlertMessage, AnalyticsService, ApiResponse, AppConfig, AppModelsComponent, AssetStatus, AssetsService, AttachComponent, AuthService, BankReconciliationComponent, BillingPageComponent, BrandsComponent, CacheConfig, CapItem, CapsulesComponent, CategoriesComponent, ChangePasswordComponent, ChangeUserPassword, ChartConfig, ChartsComponent, CheckComponent, ChipsComponent, Constants, Core, CreateAccountComponent, CreditNoteStatus, CustomersComponent, DataServiceLib, DateComponent, DatetimeComponent, DepartmentsComponent, DetailsDialog, DetailsDialogConfig, DetailsDialogProcessor, DetailsSource, DialogService, EditorComponent, EmailComponent, EmployeesComponent, ExportService, FeatureDirective, FilterComponent, FiscalPeriodStatus, FiscalPeriodsComponent, FormComponent, FormConfig, GeneralModule, GeneralService, GradesComponent, GroupsComponent, HRModule, HtmlComponent, HttpService, ImportDialogComponent, IndexModule, InventoryDashboardComponent, InventoryModule, InventoryService, InvitationsTableComponent, InvoiceDashboardComponent, InvoiceItemType, InvoiceStatus, JournalEntryDialogComponent, LabelComponent, ListDialogComponent, ListDialogConfig, LoaderComponent, LoaderService, LoanPaymentsComponent, LoanProductsComponent, LoansComponent, LoansModule, LoansService, LogLevel, LogService, LoginComponent, LogsComponent, ManufacturingModule, MembershipComponent, MessageService, MoneyComponent, MovementType, NavMenuComponent, NotesComponent, NotesConfig, NotificationsService, NumberComponent, OfflineIndicatorComponent, OfflineService, OnboardingComponent, OptionComponent, OverviewDashboardComponent, OverviewModule, PageComponent, PageConfig, PaginationConfig, PayrollDashboardComponent, PayrollModule, PlansComponent, PositionsComponent, PreferencesComponent, PrivacyDialogComponent, Profile, ProfileComponent, PurchaseStatus, PurchasingDashboardComponent, PurchasingModule, PushNotificationService, QuoteStatus, QuotesComponent, ReceiptDialogComponent, ReceiptStatus, ReceiptsComponent, ReconcileDialogComponent, RecoverAccountComponent, Register, RevenueScheduleDialogComponent, RevenueSchedulesComponent, Role, RoleAccess, RolesComponent, SalesDashboardComponent, SalesModule, SearchComponent, SearchConfig, SecurityConfig, SelectBitwiseComponent, SelectComponent, SelectLiteComponent, SelectMultiComponent, SettingsComponent, SetupGuideComponent, SetupService, SignupComponent, SignupData, SpaAdminModule, SpaHomeModule, SpaIndexModule, SpaLandingComponent, SpaMatModule, SpaUserModule, StatementImportDialogComponent, StatusesComponent, Step, StepConfig, StepsComponent, StorageService, SubCategoriesComponent, SubscriptionPageComponent, SubscriptionService, SuppliersComponent, SyncComponent, TIN_SPA_RUNTIME_CONFIG, TabService, TableComponent, TableConfig, TabsComponent, TasksComponent, TenancyModule, TenantsComponent, TermsDialogComponent, TextAreaComponent, TextComponent, TextMaskComponent, TextMultiComponent, TextSingleComponent, TileConfig, TilesComponent, TinSpaComponent, TinSpaModule, TinSpaService, TitleActionsComponent, TransactionTiming, UnitOfMeasure, UpdateService, User, UserModule, UsersComponent, ViewerComponent, WelcomeComponent, WorkflowModule, authGuard, dialogOptions, featureGuard, loginConfig, messageDialog, provideTinSpaRuntime, tinSpaLocationStrategyFactory, tinSpaMsalInstanceFactory, viewerDialog };
5676
+ export type { AgentMessage, AutoRefreshConfig, BitwiseOption, Button, CacheRule, CapsuleConfig, CardConfig, ChartItem, ChildField, CloseOptions, Color, Column, Confirm, ConversationSummary, Field, GroupConfig, GroupData, Icon, ImportConfig, LandingBrandOverride, LandingColors, LandingConfig, LandingFeature, LandingFooterColumn, LandingFooterLink, LandingMetric, LandingModuleGroup, LandingModuleTile, LandingNavLink, LandingPricingPlan, LandingSecurityItem, LandingStep, LandingTestimonial, OfflineConfig, OfflineEntry, OfflineOpStatus, OutboxOp, RefreshResult, SearchField, SetupConfig, SetupStatus, SetupStep, SetupStepAction, SpaChartType, StatusConfig, StatusItem, StatusState, TableViewType, Tile, TileChartConfig, TileChartType, TileStyle, TinSpaMsalConfig, TinSpaRuntimeConfig, VisibleTab };