tin-spa 20.8.2 → 20.11.3

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, Injector, 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 i66 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,10 +32,9 @@ 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
- import * as i67 from '@kolkov/angular-editor';
35
+ import * as i68 from '@kolkov/angular-editor';
36
36
  import { AngularEditorConfig } from '@kolkov/angular-editor';
37
- import * as i69 from '@angular/cdk/drag-drop';
37
+ import * as i70 from '@angular/cdk/drag-drop';
38
38
  import { CdkDragEnter, CdkDragExit, CdkDragDrop } from '@angular/cdk/drag-drop';
39
39
  import * as i3$1 from '@angular/material/menu';
40
40
  import * as i4$1 from '@angular/material/slider';
@@ -58,8 +58,7 @@ 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
- import * as i68 from 'ng2-charts';
61
+ import * as i69 from 'ng2-charts';
63
62
  import { MsalService } from '@azure/msal-angular';
64
63
 
65
64
  declare class TinSpaService {
@@ -111,7 +110,27 @@ declare enum InvoiceStatus {
111
110
  Submitted = 1,
112
111
  Paid = 2,
113
112
  Discarded = 3,
114
- Paying = 4
113
+ Paying = 4,
114
+ WrittenOff = 5
115
+ }
116
+ declare enum CreditNoteStatus {
117
+ Draft = 0,
118
+ Submitted = 1,
119
+ Applied = 2,
120
+ Discarded = 3
121
+ }
122
+ declare enum FiscalPeriodStatus {
123
+ Open = 0,
124
+ Closed = 1,
125
+ Locked = 2
126
+ }
127
+ declare enum QuoteStatus {
128
+ Draft = 0,
129
+ Sent = 1,
130
+ Accepted = 2,
131
+ Rejected = 3,
132
+ Expired = 4,
133
+ Converted = 5
115
134
  }
116
135
  declare enum InvoiceItemType {
117
136
  General = 0,
@@ -555,6 +574,7 @@ declare class SignalRService {
555
574
  static ɵprov: i0.ɵɵInjectableDeclaration<SignalRService>;
556
575
  }
557
576
 
577
+ type RefreshResult = 'success' | 'rejected' | 'network';
558
578
  declare class AuthService {
559
579
  private _route;
560
580
  private socialService;
@@ -566,7 +586,7 @@ declare class AuthService {
566
586
  private signalRService;
567
587
  private injector;
568
588
  private googleAuthInitialized;
569
- private isRefreshing;
589
+ private refreshPromise;
570
590
  private refreshTimer;
571
591
  private socialUserSource;
572
592
  socialUserObserv: rxjs.Observable<SocialUser>;
@@ -613,11 +633,12 @@ declare class AuthService {
613
633
  isValidToken(): boolean;
614
634
  applyLoginResponse(data: any, rememberMe: boolean): void;
615
635
  private scheduleTokenRefresh;
636
+ private scheduleRetry;
616
637
  private initVisibilityRefresh;
617
638
  hasValidSession(): boolean;
618
639
  hasRefreshToken(): boolean;
619
640
  tryRestoreSession(): Promise<boolean>;
620
- silentRefresh(): Promise<boolean>;
641
+ silentRefresh(): Promise<RefreshResult>;
621
642
  checkAuthentication(): Promise<boolean>;
622
643
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
623
644
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
@@ -667,6 +688,7 @@ declare class DetailsDialogConfig {
667
688
  options?: dialogOptions;
668
689
  autoRefreshConfig?: AutoRefreshConfig;
669
690
  refreshOnClose?: boolean;
691
+ refreshOnCloseIfActioned?: boolean;
670
692
  causeTableRefresh?: boolean;
671
693
  closeOptions?: CloseOptions;
672
694
  initAction?: Action;
@@ -674,6 +696,7 @@ declare class DetailsDialogConfig {
674
696
  allowUserKeepOpen?: boolean;
675
697
  keepOpenBehavior?: 'reset' | 'edit';
676
698
  nestingLevel?: number;
699
+ localMode?: boolean;
677
700
  }
678
701
  declare class Action {
679
702
  method?: 'get' | 'post';
@@ -1027,6 +1050,15 @@ interface Column {
1027
1050
  detailsConfig?: DetailsDialogConfig;
1028
1051
  hiddenCondition?: (parentData: any) => boolean;
1029
1052
  }
1053
+ interface InlineEditConfig {
1054
+ fields?: string[];
1055
+ }
1056
+ interface CreateTabConfig {
1057
+ navigationProperty: string;
1058
+ }
1059
+ declare class PaginationConfig {
1060
+ pageSize?: number;
1061
+ }
1030
1062
  type TableViewType = 'table' | 'capsule' | 'card' | 'grouped';
1031
1063
  declare class TableConfig {
1032
1064
  viewType?: TableViewType;
@@ -1074,11 +1106,15 @@ declare class TableConfig {
1074
1106
  messages?: AlertMessage[];
1075
1107
  hiddenCondition?: (value: any) => boolean;
1076
1108
  };
1109
+ import?: ImportConfig;
1077
1110
  realTime?: boolean;
1078
1111
  entityName?: string;
1079
1112
  offline?: OfflineConfig | boolean;
1113
+ pagination?: PaginationConfig;
1080
1114
  allowUserKeepOpen?: boolean;
1081
1115
  keepOpenBehavior?: 'reset' | 'edit';
1116
+ inlineEdit?: boolean | InlineEditConfig;
1117
+ createConfig?: CreateTabConfig;
1082
1118
  }
1083
1119
  declare class PageConfig {
1084
1120
  title?: string;
@@ -1086,10 +1122,20 @@ declare class PageConfig {
1086
1122
  searchTableConfig?: TableConfig;
1087
1123
  titleActions?: Field[];
1088
1124
  }
1125
+ interface ImportConfig {
1126
+ entity: string;
1127
+ title?: string;
1128
+ securityConfig?: SecurityConfig;
1129
+ hiddenCondition?: (value: any) => boolean;
1130
+ onComplete?: (summary: any) => void;
1131
+ }
1089
1132
  declare class ApiResponse {
1090
1133
  success: boolean;
1091
1134
  message: string;
1092
1135
  data: any;
1136
+ total?: number;
1137
+ reason?: string;
1138
+ rowVersion?: string;
1093
1139
  }
1094
1140
  declare class Constants {
1095
1141
  static readonly AUTH_USER = "a";
@@ -1101,6 +1147,7 @@ declare class Constants {
1101
1147
  static readonly AUTH_REFRESH_TOKEN = "g";
1102
1148
  static readonly AUTH_REFRESH_TOKEN_EXPIRE = "h";
1103
1149
  static readonly AUTH_REMEMBER_ME = "r";
1150
+ static readonly LAST_ROUTE = "lr";
1104
1151
  }
1105
1152
  declare class ListDialogConfig {
1106
1153
  name: string;
@@ -1149,6 +1196,39 @@ declare class AppConfig {
1149
1196
  navColor: string;
1150
1197
  navImage: string;
1151
1198
  keepSignedIn: boolean;
1199
+ resumeLastRoute: boolean;
1200
+ setupConfig: SetupConfig;
1201
+ }
1202
+ interface SetupStepAction {
1203
+ button?: Button;
1204
+ link?: string;
1205
+ }
1206
+ interface SetupConfig {
1207
+ enabled: boolean;
1208
+ title?: string;
1209
+ stepActions: {
1210
+ [key: string]: SetupStepAction;
1211
+ };
1212
+ }
1213
+ interface SetupStep {
1214
+ key: string;
1215
+ title: string;
1216
+ description: string;
1217
+ category: string;
1218
+ order: number;
1219
+ required: boolean;
1220
+ target: number;
1221
+ current: number;
1222
+ complete: boolean;
1223
+ link: string;
1224
+ icon: string;
1225
+ }
1226
+ interface SetupStatus {
1227
+ steps: SetupStep[];
1228
+ completed: number;
1229
+ total: number;
1230
+ percent: number;
1231
+ pending: number;
1152
1232
  }
1153
1233
 
1154
1234
  interface ResolvedOfflineConfig {
@@ -1232,6 +1312,8 @@ declare class OfflineService {
1232
1312
  matchMutation(url: string): OfflineEntry | null;
1233
1313
  suppressesUrl(absoluteUrl: string): boolean;
1234
1314
  private resolveConfig;
1315
+ pendingCount(): Promise<number>;
1316
+ clearCacheKeepOutbox(): Promise<void>;
1235
1317
  deleteLocalData(): Promise<void>;
1236
1318
  private ensureOpen;
1237
1319
  putRead(url: string, entity: string, data: any, maxRows: number): Promise<any>;
@@ -1252,6 +1334,7 @@ declare class OfflineService {
1252
1334
  private startRecoveryPolling;
1253
1335
  private stopRecoveryPolling;
1254
1336
  private startSync;
1337
+ resumeQueue(): Promise<void>;
1255
1338
  drain(): Promise<void>;
1256
1339
  private drainLoop;
1257
1340
  private sendOp;
@@ -1331,6 +1414,8 @@ declare class DataServiceLib {
1331
1414
  capAccounts: CapItem;
1332
1415
  capAggregates: CapItem;
1333
1416
  capReports: CapItem;
1417
+ capBudgets: CapItem;
1418
+ capBudgetVsActual: CapItem;
1334
1419
  capAging: CapItem;
1335
1420
  capTaxRates: CapItem;
1336
1421
  capStandingOrders: CapItem;
@@ -1342,6 +1427,13 @@ declare class DataServiceLib {
1342
1427
  capTransactionTypes: CapItem;
1343
1428
  capTransactions: CapItem;
1344
1429
  capAccountingInvoices: CapItem;
1430
+ capCreditNotes: CapItem;
1431
+ capVatReturn: CapItem;
1432
+ capFiscalPeriods: CapItem;
1433
+ capReceipts: CapItem;
1434
+ capBankReconciliation: CapItem;
1435
+ capRevenueSchedules: CapItem;
1436
+ capQuotes: CapItem;
1345
1437
  capInvoicing: CapItem;
1346
1438
  capLoans: CapItem;
1347
1439
  capLoanProducts: CapItem;
@@ -1396,11 +1488,13 @@ declare class DataServiceLib {
1396
1488
  customerCreateButton: Button;
1397
1489
  customerEditButton: Button;
1398
1490
  customerDetailsConfig: DetailsDialogConfig;
1491
+ customerCreateWithContactsButton: Button;
1399
1492
  customersTableConfig: TableConfig;
1400
1493
  supplierFormConfig: FormConfig;
1401
1494
  supplierCreateButton: Button;
1402
1495
  supplierEditButton: Button;
1403
1496
  supplierDetailsConfig: DetailsDialogConfig;
1497
+ supplierCreateWithContactsButton: Button;
1404
1498
  suppliersTableConfig: TableConfig;
1405
1499
  gptCachesFormConfig: FormConfig;
1406
1500
  gptCachesTableConfig: TableConfig;
@@ -1474,8 +1568,9 @@ declare class LoaderService {
1474
1568
  declare class viewerDialog implements OnInit {
1475
1569
  private httpService;
1476
1570
  private dataServiceLib;
1571
+ private sanitizer;
1477
1572
  data: any;
1478
- constructor(httpService: HttpService, dataServiceLib: DataServiceLib, data: any);
1573
+ constructor(httpService: HttpService, dataServiceLib: DataServiceLib, sanitizer: DomSanitizer, data: any);
1479
1574
  ngOnInit(): void;
1480
1575
  isProcessing: boolean;
1481
1576
  fullPath: string;
@@ -1486,6 +1581,7 @@ declare class viewerDialog implements OnInit {
1486
1581
  previous(): void;
1487
1582
  next(): void;
1488
1583
  imageDoc: boolean;
1584
+ safeFileUrl: SafeResourceUrl;
1489
1585
  setURL(): void;
1490
1586
  change(fileName: any): void;
1491
1587
  static ɵfac: i0.ɵɵFactoryDeclaration<viewerDialog, never>;
@@ -1511,6 +1607,7 @@ declare class DialogService {
1511
1607
  dialogRef: MatDialogRef<any>;
1512
1608
  };
1513
1609
  openViewerDialog(fileName: string, fileNames: string[] | string, path: string): MatDialogRef<viewerDialog>;
1610
+ openImportDialog(config: ImportConfig): Observable<any>;
1514
1611
  openPrintDialog(htmlContent: any): void;
1515
1612
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, null, { optional: true; }]>;
1516
1613
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
@@ -1536,6 +1633,7 @@ declare class AccountingService {
1536
1633
  invoiceRecordPaymentButton: Button;
1537
1634
  invoiceDiscardButton: Button;
1538
1635
  invoiceReturnButton: Button;
1636
+ invoiceWriteOffButton: Button;
1539
1637
  invoiceSubmitButton: Button;
1540
1638
  invoiceEditButton: Button;
1541
1639
  invoiceDownloadButton: Button;
@@ -1620,11 +1718,55 @@ declare class AccountingService {
1620
1718
  budgetVsActualByPeriodTableConfig: TableConfig;
1621
1719
  budgetVsActualByAccountTableConfig: TableConfig;
1622
1720
  budgetSummaryTileConfig: TileConfig;
1721
+ generalLedgerTableConfig: TableConfig;
1722
+ creditNoteItemsFormConfig: FormConfig;
1723
+ creditNoteItemEditButton: Button;
1724
+ creditNoteItemsTableConfig: TableConfig;
1725
+ creditNoteFormConfig: FormConfig;
1726
+ creditNoteSubmitButton: Button;
1727
+ creditNoteApplyButton: Button;
1728
+ creditNoteReturnButton: Button;
1729
+ creditNoteDiscardButton: Button;
1730
+ creditNoteEditButton: Button;
1731
+ creditNoteDetailsDialogConfig: DetailsDialogConfig;
1732
+ creditNoteViewButton: Button;
1733
+ creditNoteCreateButton: Button;
1734
+ invoiceCreditNoteButton: Button;
1735
+ creditNotesTableConfig: TableConfig;
1736
+ receiptAllocateButton: Button;
1737
+ receiptPdfButton: Button;
1738
+ customerReceiptsTableConfig: TableConfig;
1739
+ quoteItemsFormConfig: FormConfig;
1740
+ quoteItemEditButton: Button;
1741
+ quoteItemsTableConfig: TableConfig;
1742
+ quoteFormConfig: FormConfig;
1743
+ quoteSendButton: Button;
1744
+ quoteAcceptButton: Button;
1745
+ quoteRejectButton: Button;
1746
+ quoteConvertButton: Button;
1747
+ quoteEditButton: Button;
1748
+ quoteDownloadButton: Button;
1749
+ quoteDetailsDialogConfig: DetailsDialogConfig;
1750
+ quoteViewButton: Button;
1751
+ quoteCreateButton: Button;
1752
+ quotesTableConfig: TableConfig;
1753
+ revenueSchedulesTableConfig: TableConfig;
1754
+ cashFlowTableConfig: TableConfig;
1755
+ equityChangesTableConfig: TableConfig;
1756
+ bankReconcileButton: Button;
1757
+ bankStatementImportsTableConfig: TableConfig;
1758
+ fiscalPeriodFormConfig: FormConfig;
1759
+ fiscalPeriodCloseButton: Button;
1760
+ fiscalPeriodReopenButton: Button;
1761
+ fiscalPeriodLockButton: Button;
1762
+ fiscalPeriodsTableConfig: TableConfig;
1763
+ constructor();
1623
1764
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountingService, never>;
1624
1765
  static ɵprov: i0.ɵɵInjectableDeclaration<AccountingService>;
1625
1766
  }
1626
1767
 
1627
1768
  declare class AssetsService {
1769
+ private dataService;
1628
1770
  categoryFormConfig: FormConfig;
1629
1771
  categoryCreateButton: Button;
1630
1772
  categoryEditButton: Button;
@@ -1646,6 +1788,7 @@ declare class AssetsService {
1646
1788
  }
1647
1789
 
1648
1790
  declare class LoansService {
1791
+ private dataService;
1649
1792
  loanProductCreateButton: Button;
1650
1793
  loanProductEditButton: Button;
1651
1794
  loanProductDeleteButton: Button;
@@ -1959,6 +2102,67 @@ declare class AnalyticsService {
1959
2102
  static ɵprov: i0.ɵɵInjectableDeclaration<AnalyticsService>;
1960
2103
  }
1961
2104
 
2105
+ declare class SetupService {
2106
+ private dataService;
2107
+ private pendingCount;
2108
+ pendingCount$: rxjs.Observable<number>;
2109
+ private status;
2110
+ status$: rxjs.Observable<SetupStatus>;
2111
+ constructor(dataService: DataServiceLib);
2112
+ get enabled(): boolean;
2113
+ loadCount(): void;
2114
+ loadStatus(): void;
2115
+ refresh(): void;
2116
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupService, never>;
2117
+ static ɵprov: i0.ɵɵInjectableDeclaration<SetupService>;
2118
+ }
2119
+
2120
+ declare class LastRouteService {
2121
+ private router;
2122
+ private storage;
2123
+ private dataService;
2124
+ private started;
2125
+ private excluded;
2126
+ constructor(router: Router, storage: StorageService, dataService: DataServiceLib);
2127
+ get enabled(): boolean;
2128
+ private user;
2129
+ start(): void;
2130
+ resolve(): Promise<string | null>;
2131
+ clear(): Promise<void>;
2132
+ private save;
2133
+ private normalize;
2134
+ private isResumable;
2135
+ static ɵfac: i0.ɵɵFactoryDeclaration<LastRouteService, never>;
2136
+ static ɵprov: i0.ɵɵInjectableDeclaration<LastRouteService>;
2137
+ }
2138
+
2139
+ declare class SetupGuideComponent implements OnInit {
2140
+ dataService: DataServiceLib;
2141
+ setupService: SetupService;
2142
+ private dialogService;
2143
+ status: SetupStatus | null;
2144
+ groups: {
2145
+ name: string;
2146
+ steps: SetupStep[];
2147
+ }[];
2148
+ expandedKey: string;
2149
+ get title(): string;
2150
+ ngOnInit(): void;
2151
+ private buildGroups;
2152
+ getAction(step: SetupStep): SetupStepAction;
2153
+ hasDialog(step: SetupStep): boolean;
2154
+ hasAction(step: SetupStep): boolean;
2155
+ primaryLabel(step: SetupStep): string;
2156
+ groupCompleted(group: {
2157
+ steps: SetupStep[];
2158
+ }): number;
2159
+ progressLabel(step: SetupStep): string;
2160
+ doPrimary(step: SetupStep): void;
2161
+ navigate(step: SetupStep): void;
2162
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupGuideComponent, never>;
2163
+ static ɵcmp: i0.ɵɵComponentDeclaration<SetupGuideComponent, "spa-setup-guide", never, {}, {}, never, never, false, never>;
2164
+ }
2165
+
1962
2166
  declare class OfflineIndicatorComponent {
1963
2167
  private offline;
1964
2168
  private router;
@@ -2432,9 +2636,12 @@ declare class ActivityComponent implements OnInit {
2432
2636
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "spa-activity", never, { "notes": { "alias": "notes"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
2433
2637
  }
2434
2638
 
2435
- declare class FilterComponent implements OnInit {
2639
+ declare class FilterComponent implements OnInit, OnDestroy {
2436
2640
  constructor();
2641
+ private filterInput$;
2642
+ private filterSub;
2437
2643
  ngOnInit(): void;
2644
+ ngOnDestroy(): void;
2438
2645
  ngOnChanges(): void;
2439
2646
  flatButtons: boolean;
2440
2647
  showText: boolean;
@@ -2442,13 +2649,14 @@ declare class FilterComponent implements OnInit {
2442
2649
  smallScreen: boolean;
2443
2650
  data: MatTableDataSource<unknown, _angular_material_paginator.MatPaginator>;
2444
2651
  refreshClick: EventEmitter<any>;
2652
+ filterChange: EventEmitter<string>;
2445
2653
  _filterText: string;
2446
2654
  keyUp(event: KeyboardEvent): void;
2447
2655
  applyFilter(filterValue: string): void;
2448
2656
  refreshClicked(): void;
2449
2657
  clear(): void;
2450
2658
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
2451
- 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>;
2659
+ 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>;
2452
2660
  }
2453
2661
 
2454
2662
  declare class messageDialog implements OnInit {
@@ -2531,12 +2739,20 @@ declare class OptionComponent implements OnInit {
2531
2739
  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>;
2532
2740
  }
2533
2741
 
2534
- declare class TilesComponent implements OnInit {
2742
+ declare class TilesComponent implements OnInit, OnChanges, OnDestroy {
2535
2743
  private dataService;
2536
2744
  private messageService;
2537
- constructor(dataService: DataServiceLib, messageService: MessageService);
2745
+ private cdr;
2746
+ private subs;
2747
+ private chartCache;
2748
+ constructor(dataService: DataServiceLib, messageService: MessageService, cdr: ChangeDetectorRef);
2538
2749
  ngOnInit(): void;
2539
2750
  ngOnChanges(): void;
2751
+ ngOnDestroy(): void;
2752
+ private getChartCache;
2753
+ getTileMiniChartData(tile: Tile): ChartData;
2754
+ getMiniChartOptions(tile: Tile): ChartOptions;
2755
+ getTileChartPlugins(tile: Tile): Plugin[];
2540
2756
  tiles: Tile[];
2541
2757
  config: TileConfig;
2542
2758
  tileActionSelected: EventEmitter<Action>;
@@ -2547,14 +2763,15 @@ declare class TilesComponent implements OnInit {
2547
2763
  tileUnClick: EventEmitter<any>;
2548
2764
  selectedTile: string;
2549
2765
  loadData(action: Action, data: any): void;
2766
+ isClickable(tile: Tile): boolean;
2550
2767
  clicked(clickedTile: Tile): void;
2551
2768
  pop(x: any): void;
2552
2769
  isHidden(tile: Tile): boolean;
2553
2770
  isTileValuePrimitive(tile: Tile): boolean;
2554
2771
  hasTileChartData(tile: Tile): boolean;
2555
- getTileMiniChartData(tile: Tile): ChartData;
2556
- getMiniChartOptions(tile: Tile): ChartOptions;
2557
- getTileChartPlugins(tile: Tile): Plugin[];
2772
+ private buildTileMiniChartData;
2773
+ private buildMiniChartOptions;
2774
+ private buildTileChartPlugins;
2558
2775
  static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
2559
2776
  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>;
2560
2777
  }
@@ -2644,9 +2861,13 @@ declare class NavMenuComponent {
2644
2861
  dataService: DataServiceLib;
2645
2862
  private dialog;
2646
2863
  subscriptionService: SubscriptionService;
2647
- constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib, dialog: MatDialog, subscriptionService: SubscriptionService);
2864
+ setupService: SetupService;
2865
+ private lastRouteService;
2866
+ private offlineService;
2867
+ constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib, dialog: MatDialog, subscriptionService: SubscriptionService, setupService: SetupService, lastRouteService: LastRouteService, offlineService: OfflineService);
2648
2868
  ngOnInit(): void;
2649
2869
  notificationCount$: any;
2870
+ setupCount$: Observable<number>;
2650
2871
  smallScreen: any;
2651
2872
  myRole: any;
2652
2873
  loggedUserFullName: string;
@@ -2709,6 +2930,7 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2709
2930
  private offline;
2710
2931
  constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService, signalRService: SignalRService, // Changed: Added SignalRService
2711
2932
  offline: OfflineService);
2933
+ private subs;
2712
2934
  ngOnInit(): void;
2713
2935
  ngAfterViewInit(): void;
2714
2936
  ngOnChanges(changes: SimpleChanges): void;
@@ -2728,6 +2950,8 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2728
2950
  data: any;
2729
2951
  tileData: any;
2730
2952
  config: TableConfig;
2953
+ localMode: boolean;
2954
+ parentDetails: any;
2731
2955
  reload: Subject<boolean>;
2732
2956
  activeTab: boolean;
2733
2957
  inTab: boolean;
@@ -2747,11 +2971,42 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2747
2971
  private pendingOps;
2748
2972
  private rawRows;
2749
2973
  private offlineSubs;
2974
+ pagedMode: boolean;
2975
+ serverTotal: number;
2976
+ loadedRows: any[];
2977
+ filteredRows: any[];
2978
+ pageIndex: number;
2979
+ pageSize: number;
2980
+ filterActive: boolean;
2981
+ private filterText;
2982
+ private fetchSize;
2983
+ private pagedUrlBase;
2984
+ private pageFetchInFlight;
2750
2985
  private initializeComponent;
2986
+ get isLocal(): boolean;
2987
+ private get localRows();
2988
+ private refreshLocalData;
2989
+ editingRow: any;
2990
+ editingModel: any;
2991
+ isRowEditing(row: any): boolean;
2992
+ getInlineField(column: Column): Field | null;
2993
+ startInlineEdit(row: any): void;
2994
+ cancelInlineEdit(): void;
2995
+ submitInlineEdit(): void;
2751
2996
  private updateTableConfiguration;
2752
2997
  private setupDataLoading;
2753
2998
  loadData(action: Action, data: any): void;
2754
2999
  private setPaginator;
3000
+ private setupPagination;
3001
+ private loadDataPaged;
3002
+ private fetchChunk;
3003
+ private withPaging;
3004
+ private applyFullSet;
3005
+ private clampPageIndex;
3006
+ private updateSlice;
3007
+ private pagedRowMatches;
3008
+ onServerPage(e: PageEvent): void;
3009
+ filterChanged(text: string): void;
2755
3010
  inputChanged(event: any): void;
2756
3011
  formDefaults(): void;
2757
3012
  setButtons(): void;
@@ -2794,10 +3049,19 @@ declare class TableComponent implements OnInit, AfterViewInit, OnDestroy {
2794
3049
  private deriveEntityName;
2795
3050
  private findIdKey;
2796
3051
  ngOnDestroy(): void;
3052
+ private setTableData;
3053
+ private rowIdKey;
3054
+ trackByRow: (index: number, row: any) => any;
2797
3055
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
2798
- 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>;
3056
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "data": { "alias": "data"; "required": false; }; "tileData": { "alias": "tileData"; "required": false; }; "config": { "alias": "config"; "required": false; }; "localMode": { "alias": "localMode"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "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>;
2799
3057
  }
2800
3058
 
3059
+ interface ExtraButtonVM {
3060
+ button: Button;
3061
+ visible: boolean;
3062
+ disabled: boolean;
3063
+ color: string;
3064
+ }
2801
3065
  declare class DetailsDialog implements OnInit, OnDestroy {
2802
3066
  private breakpointObserver;
2803
3067
  private loaderService;
@@ -2809,7 +3073,9 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2809
3073
  private dialogService;
2810
3074
  private authService;
2811
3075
  tableConfigService: TableConfigService;
2812
- constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
3076
+ private zone;
3077
+ constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService, zone: NgZone);
3078
+ private subs;
2813
3079
  ngOnInit(): void;
2814
3080
  ngOnDestroy(): void;
2815
3081
  private refreshSubscription;
@@ -2817,6 +3083,7 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2817
3083
  userKeepOpen: boolean;
2818
3084
  titleAction: string;
2819
3085
  loadByAction: boolean;
3086
+ actionPerformed: boolean;
2820
3087
  extraButtons: Button[];
2821
3088
  buttons: Button[];
2822
3089
  createButton: Button;
@@ -2827,7 +3094,9 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2827
3094
  tableReload: Subject<boolean>;
2828
3095
  tableConfig: TableConfig;
2829
3096
  tableConfigs: TableConfig[];
2830
- details: any;
3097
+ private _details;
3098
+ get details(): any;
3099
+ set details(value: any);
2831
3100
  formConfig: FormConfig;
2832
3101
  stepConfig: StepConfig;
2833
3102
  statusConfig: StatusConfig;
@@ -2845,6 +3114,13 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2845
3114
  inputChanged(event: any): void;
2846
3115
  setMode(newMode: any): void;
2847
3116
  setTitleAction(): void;
3117
+ extraButtonVMs: ExtraButtonVM[];
3118
+ editButtonVM: {
3119
+ visible: boolean;
3120
+ disabled: boolean;
3121
+ };
3122
+ private buildButtonWithConfig;
3123
+ private rebuildButtonVMs;
2848
3124
  getButton(name: string): Button;
2849
3125
  testDisabled(row: any, buttonName: string): boolean;
2850
3126
  testVisible(row: any, buttonName: string): boolean;
@@ -2872,12 +3148,18 @@ declare class DetailsDialog implements OnInit, OnDestroy {
2872
3148
  static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "spa-detailsDialog", never, {}, { "inputChange": "inputChange"; }, never, never, false, never>;
2873
3149
  }
2874
3150
 
2875
- declare class FormComponent implements OnInit {
3151
+ declare class FormComponent implements OnInit, OnDestroy, DoCheck {
2876
3152
  private messageService;
2877
3153
  private dataService;
2878
3154
  private authService;
3155
+ private subscriptions;
3156
+ visibleFields: Field[];
3157
+ private lastMode;
2879
3158
  constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
3159
+ ngOnDestroy(): void;
2880
3160
  ngOnInit(): void;
3161
+ ngDoCheck(): void;
3162
+ private refreshVisibleFields;
2881
3163
  dynamicSelectTemplate: TemplateRef<any>;
2882
3164
  hasAccess: boolean;
2883
3165
  fileNames: any;
@@ -2894,6 +3176,7 @@ declare class FormComponent implements OnInit {
2894
3176
  config: FormConfig;
2895
3177
  buttonClick: EventEmitter<any>;
2896
3178
  inputChange: EventEmitter<any>;
3179
+ private loadActionCache;
2897
3180
  resolveLoadAction(field: Field): any;
2898
3181
  initializeCompositeFields(): void;
2899
3182
  initializeSectionStates(): void;
@@ -3036,13 +3319,22 @@ declare class CsvService {
3036
3319
  static ɵprov: i0.ɵɵInjectableDeclaration<CsvService>;
3037
3320
  }
3038
3321
 
3039
- declare class TableHeaderComponent {
3322
+ interface HeaderButtonVM {
3323
+ button: Button;
3324
+ visible: boolean;
3325
+ disabled: boolean;
3326
+ color: string;
3327
+ }
3328
+ declare class TableHeaderComponent implements OnInit, OnChanges {
3040
3329
  private buttonService;
3041
3330
  private dialogService;
3042
3331
  private messageService;
3043
3332
  private csvService;
3044
3333
  constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
3045
3334
  ngOnInit(): void;
3335
+ ngOnChanges(): void;
3336
+ headerButtonVMs: HeaderButtonVM[];
3337
+ private buildHeaderButtons;
3046
3338
  createButton: Button;
3047
3339
  lastSearch: any;
3048
3340
  config: TableConfig;
@@ -3061,11 +3353,15 @@ declare class TableHeaderComponent {
3061
3353
  refreshClick: EventEmitter<void>;
3062
3354
  tileClick: EventEmitter<string>;
3063
3355
  tileUnClick: EventEmitter<string>;
3356
+ filterChange: EventEmitter<string>;
3064
3357
  uploadDetailsDialog: DetailsDialogConfig;
3065
3358
  onButtonClick(button: Button): void;
3066
3359
  onDownloadClick(): void;
3067
3360
  onUploadClick(): void;
3361
+ testVisibleImport(): boolean;
3362
+ onImportClick(): void;
3068
3363
  onRefreshClick(): void;
3364
+ onFilterChange(text: string): void;
3069
3365
  onTileClick(tile: any): void;
3070
3366
  onTileUnClick(tile: any): void;
3071
3367
  getHeaderButtons(): Button[];
@@ -3074,10 +3370,17 @@ declare class TableHeaderComponent {
3074
3370
  testDisabled(button: Button): boolean;
3075
3371
  getButtonColor(button: Button, row: any): string;
3076
3372
  static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
3077
- 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>;
3373
+ 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>;
3078
3374
  }
3079
3375
 
3080
- declare class TableRowComponent {
3376
+ interface CellVM {
3377
+ text: any;
3378
+ truncated: boolean;
3379
+ color: string;
3380
+ showColumnIcon: boolean;
3381
+ visibleIcons: Icon[];
3382
+ }
3383
+ declare class TableRowComponent implements OnChanges {
3081
3384
  private buttonService;
3082
3385
  column: Column;
3083
3386
  row: any;
@@ -3092,6 +3395,10 @@ declare class TableRowComponent {
3092
3395
  row: any;
3093
3396
  }>;
3094
3397
  showBannerEvent: EventEmitter<string>;
3398
+ vm: CellVM;
3399
+ ngOnChanges(): void;
3400
+ private computeText;
3401
+ private computeTruncated;
3095
3402
  constructor(buttonService: ButtonService);
3096
3403
  testIconCondition(row: any, icon: Icon): boolean;
3097
3404
  getColorOnCondition(row: any, column: Column): string;
@@ -3105,7 +3412,15 @@ declare class TableRowComponent {
3105
3412
  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>;
3106
3413
  }
3107
3414
 
3108
- declare class TableActionComponent {
3415
+ interface ActionButtonVM {
3416
+ button: Button;
3417
+ name: string;
3418
+ visible: boolean;
3419
+ disabled: boolean;
3420
+ color: string;
3421
+ icon: string;
3422
+ }
3423
+ declare class TableActionComponent implements OnChanges {
3109
3424
  private buttonService;
3110
3425
  constructor(buttonService: ButtonService);
3111
3426
  displayedButtons: Button[];
@@ -3116,17 +3431,31 @@ declare class TableActionComponent {
3116
3431
  name: string;
3117
3432
  row: any;
3118
3433
  }>;
3434
+ visibleVMs: ActionButtonVM[];
3435
+ overflowVMs: ActionButtonVM[];
3436
+ ngOnChanges(): void;
3437
+ private toVM;
3119
3438
  testVisible(row: any, buttonName: string): boolean;
3120
3439
  testDisabled(row: any, buttonName: string): boolean;
3121
3440
  getButtonColor(button: Button, row: any): string;
3122
3441
  getIcon(buttonName: string): string;
3123
3442
  onActionClick(buttonName: string, row: any): void;
3124
- get visibleButtons(): Button[];
3125
- get overflowButtons(): Button[];
3443
+ private computeVisibleButtons;
3444
+ private computeOverflowButtons;
3126
3445
  static ɵfac: i0.ɵɵFactoryDeclaration<TableActionComponent, never>;
3127
3446
  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>;
3128
3447
  }
3129
3448
 
3449
+ declare class InlineCellComponent {
3450
+ field: Field;
3451
+ data: any;
3452
+ valueChange: EventEmitter<any>;
3453
+ get display(): string;
3454
+ cellChanged(): void;
3455
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineCellComponent, never>;
3456
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineCellComponent, "app-inline-cell", never, { "field": { "alias": "field"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
3457
+ }
3458
+
3130
3459
  declare class AlertComponent implements OnInit {
3131
3460
  constructor();
3132
3461
  ngOnInit(): void;
@@ -3492,8 +3821,10 @@ declare class TabsComponent implements OnInit, OnChanges {
3492
3821
  tableConfigs: TableConfig[];
3493
3822
  reload: Subject<boolean>;
3494
3823
  parentDetails: any;
3824
+ localMode: boolean;
3495
3825
  nestingLevel: number;
3496
3826
  formRefresh: EventEmitter<void>;
3827
+ actionSuccess: EventEmitter<void>;
3497
3828
  tabCounts: {
3498
3829
  [index: number]: number;
3499
3830
  };
@@ -3516,7 +3847,7 @@ declare class TabsComponent implements OnInit, OnChanges {
3516
3847
  updateVisibleTabs(): void;
3517
3848
  getReloadSubject(index: number): Subject<boolean>;
3518
3849
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
3519
- 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>;
3850
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "spa-tabs", never, { "tableConfigs": { "alias": "tableConfigs"; "required": false; }; "reload": { "alias": "reload"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "localMode": { "alias": "localMode"; "required": false; }; "nestingLevel": { "alias": "nestingLevel"; "required": false; }; }, { "formRefresh": "formRefresh"; "actionSuccess": "actionSuccess"; }, never, never, false, never>;
3520
3851
  }
3521
3852
 
3522
3853
  declare class StatusesComponent {
@@ -3822,6 +4153,7 @@ declare const ALSQUARE_SVG_WHITE = "<svg viewBox=\"0 0 80 80\" fill=\"none\" xml
3822
4153
  declare class SpaLandingComponent implements OnInit, AfterViewInit, OnDestroy {
3823
4154
  private router;
3824
4155
  private authService;
4156
+ private lastRouteService;
3825
4157
  private el;
3826
4158
  private sanitizer;
3827
4159
  config: LandingConfig;
@@ -3829,7 +4161,8 @@ declare class SpaLandingComponent implements OnInit, AfterViewInit, OnDestroy {
3829
4161
  navScrolled: boolean;
3830
4162
  currentYear: number;
3831
4163
  private observer;
3832
- constructor(router: Router, authService: AuthService, el: ElementRef, sanitizer: DomSanitizer);
4164
+ constructor(router: Router, authService: AuthService, lastRouteService: LastRouteService, // Added: resumeLastRoute
4165
+ el: ElementRef, sanitizer: DomSanitizer);
3833
4166
  get safeNavBrandSvg(): SafeHtml | null;
3834
4167
  get safeHeroWatermarkSvg(): SafeHtml | null;
3835
4168
  get safeFooterBrandSvg(): SafeHtml | null;
@@ -3905,6 +4238,71 @@ declare class AgentComponent implements OnInit, OnDestroy, AfterViewChecked {
3905
4238
  static ɵcmp: i0.ɵɵComponentDeclaration<AgentComponent, "spa-agent", never, {}, {}, never, never, false, never>;
3906
4239
  }
3907
4240
 
4241
+ declare class ImportDialogComponent implements OnInit {
4242
+ private httpService;
4243
+ private http;
4244
+ private messageService;
4245
+ private dialogRef;
4246
+ config: ImportConfig;
4247
+ stepper: MatStepper;
4248
+ entity: string;
4249
+ title: string;
4250
+ loading: boolean;
4251
+ batchId: number;
4252
+ status: number;
4253
+ fileName: string;
4254
+ fields: any[];
4255
+ headers: any[];
4256
+ mappings: any[];
4257
+ counts: {
4258
+ total: number;
4259
+ ready: number;
4260
+ warning: number;
4261
+ error: number;
4262
+ };
4263
+ rows: any[];
4264
+ committedCount: number;
4265
+ selectedFile: File;
4266
+ onlyProblems: boolean;
4267
+ editingRowId: number;
4268
+ editModel: any;
4269
+ constructor(httpService: HttpService, http: HttpClient, messageService: MessageService, dialogRef: MatDialogRef<ImportDialogComponent>, config: ImportConfig);
4270
+ ngOnInit(): void;
4271
+ loadActive(): void;
4272
+ onFileSelected(event: any): void;
4273
+ doUpload(): void;
4274
+ downloadTemplate(): void;
4275
+ samplesFor(header: string): string[];
4276
+ fieldUsedElsewhere(property: string, header: string): boolean;
4277
+ availableFields(header: string): any[];
4278
+ get unmappedRequired(): string[];
4279
+ confidenceClass(m: any): string;
4280
+ onMappingChange(m: any): void;
4281
+ confirmMapping(): void;
4282
+ get reviewColumns(): any[];
4283
+ get displayedColumns(): string[];
4284
+ get visibleRows(): any[];
4285
+ displayFor(property: string): string;
4286
+ cellValue(row: any, property: string): any;
4287
+ cellSeverity(row: any, property: string): string;
4288
+ rowIssueText(row: any): string;
4289
+ loadRows(after?: () => void): void;
4290
+ startEdit(row: any): void;
4291
+ cancelEdit(): void;
4292
+ saveEdit(row: any): void;
4293
+ refreshBatch(): void;
4294
+ doCommit(): void;
4295
+ startOver(): void;
4296
+ close(): void;
4297
+ private applyBatch;
4298
+ private applySummary;
4299
+ private resetState;
4300
+ private gotoStepForStatus;
4301
+ private goToStep;
4302
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportDialogComponent, never>;
4303
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImportDialogComponent, "spa-import-dialog", never, {}, {}, never, never, false, never>;
4304
+ }
4305
+
3908
4306
  declare class SpaMatModule {
3909
4307
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaMatModule, never>;
3910
4308
  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]>;
@@ -3956,7 +4354,7 @@ declare class CurrencyInputModule {
3956
4354
 
3957
4355
  declare class TinSpaModule {
3958
4356
  static ɵfac: i0.ɵɵFactoryDeclaration<TinSpaModule, never>;
3959
- 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]>;
4357
+ 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 InlineCellComponent, 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 i66.HttpClientModule, typeof CurrencyInputModule, typeof i68.AngularEditorModule, typeof i69.BaseChartDirective, typeof i70.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]>;
3960
4358
  static ɵinj: i0.ɵɵInjectorDeclaration<TinSpaModule>;
3961
4359
  }
3962
4360
 
@@ -3973,7 +4371,10 @@ declare class LoginComponent implements OnInit {
3973
4371
  private signalRService;
3974
4372
  private msalService;
3975
4373
  private dialog;
3976
- 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);
4374
+ private setupService;
4375
+ private lastRouteService;
4376
+ 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, lastRouteService: LastRouteService);
4377
+ private resumeTarget;
3977
4378
  ngOnInit(): void;
3978
4379
  loginWithMS(): void;
3979
4380
  autoLogin: boolean;
@@ -4007,9 +4408,11 @@ declare class SignupComponent implements OnInit {
4007
4408
  router: Router;
4008
4409
  private msalService;
4009
4410
  private notificationsService;
4411
+ private setupService;
4010
4412
  private dialog;
4011
4413
  private cdr;
4012
- constructor(httpService: HttpService, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, storageService: StorageService, router: Router, msalService: MsalService, notificationsService: NotificationsService, dialog: MatDialog, cdr: ChangeDetectorRef);
4414
+ constructor(httpService: HttpService, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, storageService: StorageService, router: Router, msalService: MsalService, notificationsService: NotificationsService, setupService: SetupService, // Added: SetupService for setup badge
4415
+ dialog: MatDialog, cdr: ChangeDetectorRef);
4013
4416
  ngOnInit(): void;
4014
4417
  appConfig: AppConfig;
4015
4418
  style: string;
@@ -4312,6 +4715,8 @@ declare class AgingComponent implements OnInit {
4312
4715
  ngOnInit(): void;
4313
4716
  summaryData: any;
4314
4717
  loadSummaryData(): void;
4718
+ postProvision(): void;
4719
+ private messageService;
4315
4720
  agingTableConfigs: TableConfig[];
4316
4721
  tileConfig: TileConfig;
4317
4722
  constructor(dataServiceLib: DataServiceLib);
@@ -4388,8 +4793,11 @@ declare class TransactionTypesComponent implements OnInit {
4388
4793
 
4389
4794
  declare class TransactionsComponent implements OnInit {
4390
4795
  private accountingService;
4796
+ private dialog;
4797
+ page?: PageComponent;
4391
4798
  pageConfig: PageConfig;
4392
4799
  ngOnInit(): void;
4800
+ newJournal(): void;
4393
4801
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionsComponent, never>;
4394
4802
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionsComponent, "spa-transactions", never, {}, {}, never, never, false, never>;
4395
4803
  }
@@ -4412,8 +4820,16 @@ declare class InvoicesComponent implements OnInit {
4412
4820
 
4413
4821
  declare class StatementComponent implements OnInit {
4414
4822
  accountingService: AccountingService;
4823
+ private httpService;
4824
+ private http;
4415
4825
  pageConfig: PageConfig;
4826
+ state: any;
4416
4827
  ngOnInit(): void;
4828
+ loadOptions(kind: string, url: string): void;
4829
+ private query;
4830
+ load(kind: string): void;
4831
+ exportPdf(kind: string): void;
4832
+ export(kind: string): void;
4417
4833
  static ɵfac: i0.ɵɵFactoryDeclaration<StatementComponent, never>;
4418
4834
  static ɵcmp: i0.ɵɵComponentDeclaration<StatementComponent, "spa-statement", never, {}, {}, never, never, false, never>;
4419
4835
  }
@@ -4421,9 +4837,16 @@ declare class StatementComponent implements OnInit {
4421
4837
  declare class ReportsComponent implements OnInit {
4422
4838
  private dataServiceLib;
4423
4839
  accountingService: AccountingService;
4840
+ private httpService;
4841
+ private http;
4842
+ from: string;
4843
+ to: string;
4424
4844
  constructor(dataServiceLib: DataServiceLib, accountingService: AccountingService);
4425
4845
  ngOnInit(): void;
4426
4846
  reportTabConfigs: TableConfig[];
4847
+ private withRange;
4848
+ buildTabs(): void;
4849
+ export(report: string): void;
4427
4850
  static ɵfac: i0.ɵɵFactoryDeclaration<ReportsComponent, never>;
4428
4851
  static ɵcmp: i0.ɵɵComponentDeclaration<ReportsComponent, "spa-reports", never, {}, {}, never, never, false, never>;
4429
4852
  }
@@ -4467,6 +4890,195 @@ declare class InvoiceDashboardComponent implements OnInit {
4467
4890
  static ɵcmp: i0.ɵɵComponentDeclaration<InvoiceDashboardComponent, "spa-invoice-dashboard", never, {}, {}, never, never, false, never>;
4468
4891
  }
4469
4892
 
4893
+ declare class CreditNotesComponent {
4894
+ accountingService: AccountingService;
4895
+ pageConfig: PageConfig;
4896
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreditNotesComponent, never>;
4897
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreditNotesComponent, "spa-credit-notes", never, {}, {}, never, never, false, never>;
4898
+ }
4899
+
4900
+ declare class VatReturnComponent implements OnInit {
4901
+ private httpService;
4902
+ private http;
4903
+ from: string;
4904
+ to: string;
4905
+ data: any;
4906
+ whtData: any[];
4907
+ ngOnInit(): void;
4908
+ load(): void;
4909
+ export(): void;
4910
+ static ɵfac: i0.ɵɵFactoryDeclaration<VatReturnComponent, never>;
4911
+ static ɵcmp: i0.ɵɵComponentDeclaration<VatReturnComponent, "spa-vat-return", never, {}, {}, never, never, false, never>;
4912
+ }
4913
+
4914
+ declare class JournalEntryDialogComponent implements OnInit {
4915
+ dialogRef: MatDialogRef<any, any>;
4916
+ private httpService;
4917
+ private http;
4918
+ private messageService;
4919
+ date: string;
4920
+ description: string;
4921
+ journalType: string;
4922
+ accounts: any[];
4923
+ lines: any[];
4924
+ private transactionTypes;
4925
+ ngOnInit(): void;
4926
+ private get journalTypeID();
4927
+ get totalDebits(): number;
4928
+ get totalCredits(): number;
4929
+ get isBalanced(): boolean;
4930
+ get canPost(): boolean;
4931
+ addLine(): void;
4932
+ removeLine(index: number): void;
4933
+ post(): void;
4934
+ static ɵfac: i0.ɵɵFactoryDeclaration<JournalEntryDialogComponent, never>;
4935
+ static ɵcmp: i0.ɵɵComponentDeclaration<JournalEntryDialogComponent, "spa-journal-lines", never, {}, {}, never, never, false, never>;
4936
+ }
4937
+
4938
+ declare class FiscalPeriodsComponent implements OnInit {
4939
+ accountingService: AccountingService;
4940
+ pageConfig: PageConfig;
4941
+ ngOnInit(): void;
4942
+ static ɵfac: i0.ɵɵFactoryDeclaration<FiscalPeriodsComponent, never>;
4943
+ static ɵcmp: i0.ɵɵComponentDeclaration<FiscalPeriodsComponent, "spa-fiscal-periods", never, {}, {}, never, never, false, never>;
4944
+ }
4945
+
4946
+ declare class ReceiptsComponent implements OnInit {
4947
+ accountingService: AccountingService;
4948
+ private dialog;
4949
+ private httpService;
4950
+ private http;
4951
+ page?: PageComponent;
4952
+ pageConfig: PageConfig;
4953
+ constructor();
4954
+ ngOnInit(): void;
4955
+ openDialog(row?: any): void;
4956
+ downloadPdf(receipt: any): void;
4957
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReceiptsComponent, never>;
4958
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReceiptsComponent, "spa-receipts", never, {}, {}, never, never, false, never>;
4959
+ }
4960
+
4961
+ declare class ReceiptDialogComponent implements OnInit {
4962
+ dialogRef: MatDialogRef<any, any>;
4963
+ data: any;
4964
+ private httpService;
4965
+ private http;
4966
+ private messageService;
4967
+ customerID: number | null;
4968
+ receiptDate: string;
4969
+ amount: number;
4970
+ method: number;
4971
+ reference: string;
4972
+ customers: any[];
4973
+ openInvoices: any[];
4974
+ get allocateMode(): boolean;
4975
+ get available(): number;
4976
+ get totalAllocated(): number;
4977
+ get overAllocated(): boolean;
4978
+ get canSave(): boolean;
4979
+ ngOnInit(): void;
4980
+ loadOpenInvoices(): void;
4981
+ autoAllocate(): void;
4982
+ save(): void;
4983
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReceiptDialogComponent, never>;
4984
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReceiptDialogComponent, "spa-receipt-dialog", never, {}, {}, never, never, false, never>;
4985
+ }
4986
+
4987
+ declare class BankReconciliationComponent implements OnInit {
4988
+ accountingService: AccountingService;
4989
+ private dialog;
4990
+ page?: PageComponent;
4991
+ pageConfig: PageConfig;
4992
+ constructor();
4993
+ ngOnInit(): void;
4994
+ newImport(): void;
4995
+ static ɵfac: i0.ɵɵFactoryDeclaration<BankReconciliationComponent, never>;
4996
+ static ɵcmp: i0.ɵɵComponentDeclaration<BankReconciliationComponent, "spa-bank-reconciliation", never, {}, {}, never, never, false, never>;
4997
+ }
4998
+
4999
+ declare class StatementImportDialogComponent implements OnInit {
5000
+ dialogRef: MatDialogRef<any, any>;
5001
+ private httpService;
5002
+ private http;
5003
+ private messageService;
5004
+ accountID: number | null;
5005
+ statementFrom: string;
5006
+ statementTo: string;
5007
+ closingBalance: number;
5008
+ csv: string;
5009
+ parseError: string;
5010
+ accounts: any[];
5011
+ ngOnInit(): void;
5012
+ get parsedLines(): any[];
5013
+ get netMovement(): number;
5014
+ get canSave(): boolean;
5015
+ save(): void;
5016
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatementImportDialogComponent, never>;
5017
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatementImportDialogComponent, "spa-statement-import-dialog", never, {}, {}, never, never, false, never>;
5018
+ }
5019
+
5020
+ declare class ReconcileDialogComponent implements OnInit {
5021
+ dialogRef: MatDialogRef<any, any>;
5022
+ data: any;
5023
+ private httpService;
5024
+ private http;
5025
+ private messageService;
5026
+ rec: any;
5027
+ selectedLine: any;
5028
+ selectedEntry: any;
5029
+ changed: boolean;
5030
+ get difference(): number;
5031
+ ngOnInit(): void;
5032
+ load(): void;
5033
+ autoMatch(): void;
5034
+ match(): void;
5035
+ unmatch(line: any): void;
5036
+ complete(): void;
5037
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReconcileDialogComponent, never>;
5038
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReconcileDialogComponent, "spa-reconcile-dialog", never, {}, {}, never, never, false, never>;
5039
+ }
5040
+
5041
+ declare class RevenueSchedulesComponent implements OnInit {
5042
+ accountingService: AccountingService;
5043
+ private dialog;
5044
+ page?: PageComponent;
5045
+ pageConfig: PageConfig;
5046
+ ngOnInit(): void;
5047
+ newSchedule(): void;
5048
+ static ɵfac: i0.ɵɵFactoryDeclaration<RevenueSchedulesComponent, never>;
5049
+ static ɵcmp: i0.ɵɵComponentDeclaration<RevenueSchedulesComponent, "spa-revenue-schedules", never, {}, {}, never, never, false, never>;
5050
+ }
5051
+
5052
+ declare class RevenueScheduleDialogComponent implements OnInit {
5053
+ dialogRef: MatDialogRef<any, any>;
5054
+ private httpService;
5055
+ private http;
5056
+ private messageService;
5057
+ invoiceID: number | null;
5058
+ startDate: string;
5059
+ endDate: string;
5060
+ invoices: any[];
5061
+ ngOnInit(): void;
5062
+ save(): void;
5063
+ static ɵfac: i0.ɵɵFactoryDeclaration<RevenueScheduleDialogComponent, never>;
5064
+ static ɵcmp: i0.ɵɵComponentDeclaration<RevenueScheduleDialogComponent, "spa-revenue-schedule-dialog", never, {}, {}, never, never, false, never>;
5065
+ }
5066
+
5067
+ declare class QuotesComponent implements OnInit {
5068
+ accountingService: AccountingService;
5069
+ private httpService;
5070
+ private http;
5071
+ pageConfig: PageConfig;
5072
+ ngOnInit(): void;
5073
+ actionClicked(event: {
5074
+ name: string;
5075
+ data: any;
5076
+ }): void;
5077
+ download(quote: any): void;
5078
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuotesComponent, never>;
5079
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuotesComponent, "spa-quotes", never, {}, {}, never, never, false, never>;
5080
+ }
5081
+
4470
5082
  declare class TaxRatesComponent {
4471
5083
  private accountingService;
4472
5084
  pageConfig: PageConfig;
@@ -4490,7 +5102,7 @@ declare class CurrenciesComponent {
4490
5102
 
4491
5103
  declare class AccountingModule {
4492
5104
  static ɵfac: i0.ɵɵFactoryDeclaration<AccountingModule, never>;
4493
- 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>;
5105
+ 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>;
4494
5106
  static ɵinj: i0.ɵɵInjectorDeclaration<AccountingModule>;
4495
5107
  }
4496
5108
 
@@ -4916,6 +5528,7 @@ declare class BugComponent implements OnInit {
4916
5528
 
4917
5529
  declare class MembershipComponent {
4918
5530
  private authService;
5531
+ private dataService;
4919
5532
  formConfig: FormConfig;
4920
5533
  membersTableConfig: TableConfig;
4921
5534
  pageConfig: PageConfig;
@@ -4925,6 +5538,7 @@ declare class MembershipComponent {
4925
5538
 
4926
5539
  declare class PlansComponent {
4927
5540
  private authService;
5541
+ private dataService;
4928
5542
  formConfig: FormConfig;
4929
5543
  plansTableConfig: TableConfig;
4930
5544
  pageConfig: PageConfig;
@@ -4934,6 +5548,7 @@ declare class PlansComponent {
4934
5548
 
4935
5549
  declare class FeaturesComponent {
4936
5550
  private authService;
5551
+ private dataService;
4937
5552
  formConfig: FormConfig;
4938
5553
  featuresTableConfig: TableConfig;
4939
5554
  pageConfig: PageConfig;
@@ -4943,6 +5558,7 @@ declare class FeaturesComponent {
4943
5558
 
4944
5559
  declare class PlanFeaturesComponent {
4945
5560
  private authService;
5561
+ private dataService;
4946
5562
  formConfig: FormConfig;
4947
5563
  planFeaturesTableConfig: TableConfig;
4948
5564
  pageConfig: PageConfig;
@@ -5120,11 +5736,17 @@ declare class AssetsModule {
5120
5736
  static ɵinj: i0.ɵɵInjectorDeclaration<AssetsModule>;
5121
5737
  }
5122
5738
 
5739
+ declare class SetupModule {
5740
+ static ɵfac: i0.ɵɵFactoryDeclaration<SetupModule, never>;
5741
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SetupModule, [typeof SetupGuideComponent], [typeof i4.CommonModule, typeof SpaMatModule], never>;
5742
+ static ɵinj: i0.ɵɵInjectorDeclaration<SetupModule>;
5743
+ }
5744
+
5123
5745
  declare class SpaHomeModule {
5124
5746
  static ɵfac: i0.ɵɵFactoryDeclaration<SpaHomeModule, never>;
5125
- 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>;
5747
+ 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>;
5126
5748
  static ɵinj: i0.ɵɵInjectorDeclaration<SpaHomeModule>;
5127
5749
  }
5128
5750
 
5129
- 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 };
5130
- 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 };
5751
+ 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, LastRouteService, 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 };
5752
+ export type { AgentMessage, AutoRefreshConfig, BitwiseOption, Button, CacheRule, CapsuleConfig, CardConfig, ChartItem, ChildField, CloseOptions, Color, Column, Confirm, ConversationSummary, CreateTabConfig, Field, GroupConfig, GroupData, Icon, ImportConfig, InlineEditConfig, 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 };