tin-spa 20.14.111 → 20.14.113

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.
Files changed (36) hide show
  1. package/core/index.d.ts +8 -1
  2. package/fesm2022/{tin-spa-accounting.module-CaPnqTsD.mjs → tin-spa-accounting.module-Cg4vWaJE.mjs} +2 -2
  3. package/fesm2022/{tin-spa-accounting.module-CaPnqTsD.mjs.map → tin-spa-accounting.module-Cg4vWaJE.mjs.map} +1 -1
  4. package/fesm2022/{tin-spa-agent-page.component-Cbdm8Vsr.mjs → tin-spa-agent-page.component-DJvMPjCQ.mjs} +2 -2
  5. package/fesm2022/{tin-spa-agent-page.component-Cbdm8Vsr.mjs.map → tin-spa-agent-page.component-DJvMPjCQ.mjs.map} +1 -1
  6. package/fesm2022/{tin-spa-agent.component-BfKhBD4r.mjs → tin-spa-agent.component-D0CGGnGZ.mjs} +2 -2
  7. package/fesm2022/{tin-spa-agent.component-BfKhBD4r.mjs.map → tin-spa-agent.component-D0CGGnGZ.mjs.map} +1 -1
  8. package/fesm2022/{tin-spa-assets.module-CFZjxdjy.mjs → tin-spa-assets.module-qIWNwJ2E.mjs} +2 -2
  9. package/fesm2022/{tin-spa-assets.module-CFZjxdjy.mjs.map → tin-spa-assets.module-qIWNwJ2E.mjs.map} +1 -1
  10. package/fesm2022/tin-spa-core.mjs +137 -38
  11. package/fesm2022/tin-spa-core.mjs.map +1 -1
  12. package/fesm2022/{tin-spa-general-erp.module-BfjXi1E_.mjs → tin-spa-general-erp.module-CoYxceLj.mjs} +2 -2
  13. package/fesm2022/{tin-spa-general-erp.module-BfjXi1E_.mjs.map → tin-spa-general-erp.module-CoYxceLj.mjs.map} +1 -1
  14. package/fesm2022/{tin-spa-hr.module-DPocwcdu.mjs → tin-spa-hr.module-CKPZ9ZOj.mjs} +2 -2
  15. package/fesm2022/{tin-spa-hr.module-DPocwcdu.mjs.map → tin-spa-hr.module-CKPZ9ZOj.mjs.map} +1 -1
  16. package/fesm2022/{tin-spa-inventory.module-Dfm3nP5L.mjs → tin-spa-inventory.module-DRKAcNau.mjs} +2 -2
  17. package/fesm2022/{tin-spa-inventory.module-Dfm3nP5L.mjs.map → tin-spa-inventory.module-DRKAcNau.mjs.map} +1 -1
  18. package/fesm2022/{tin-spa-loans.module-DafJbDKX.mjs → tin-spa-loans.module-BTDmgrWo.mjs} +2 -2
  19. package/fesm2022/{tin-spa-loans.module-DafJbDKX.mjs.map → tin-spa-loans.module-BTDmgrWo.mjs.map} +1 -1
  20. package/fesm2022/tin-spa-login.mjs +49 -12
  21. package/fesm2022/tin-spa-login.mjs.map +1 -1
  22. package/fesm2022/{tin-spa-manufacturing.module-3f-bdmpN.mjs → tin-spa-manufacturing.module-CHta6oV_.mjs} +2 -2
  23. package/fesm2022/{tin-spa-manufacturing.module-3f-bdmpN.mjs.map → tin-spa-manufacturing.module-CHta6oV_.mjs.map} +1 -1
  24. package/fesm2022/{tin-spa-payroll.module-Ac7nwGDR.mjs → tin-spa-payroll.module-CZ_GO1jF.mjs} +2 -2
  25. package/fesm2022/{tin-spa-payroll.module-Ac7nwGDR.mjs.map → tin-spa-payroll.module-CZ_GO1jF.mjs.map} +1 -1
  26. package/fesm2022/{tin-spa-purchasing.module-DQrfmyft.mjs → tin-spa-purchasing.module-NCdwquaF.mjs} +2 -2
  27. package/fesm2022/{tin-spa-purchasing.module-DQrfmyft.mjs.map → tin-spa-purchasing.module-NCdwquaF.mjs.map} +1 -1
  28. package/fesm2022/{tin-spa-sales.module-1LYJvNv1.mjs → tin-spa-sales.module-D0uEGJW7.mjs} +2 -2
  29. package/fesm2022/{tin-spa-sales.module-1LYJvNv1.mjs.map → tin-spa-sales.module-D0uEGJW7.mjs.map} +1 -1
  30. package/fesm2022/{tin-spa-tenancy-erp.module-D1PsXUGw.mjs → tin-spa-tenancy-erp.module-GwIv8Wbc.mjs} +2 -2
  31. package/fesm2022/{tin-spa-tenancy-erp.module-D1PsXUGw.mjs.map → tin-spa-tenancy-erp.module-GwIv8Wbc.mjs.map} +1 -1
  32. package/fesm2022/{tin-spa-tin-spa-Bb1GPYuq.mjs → tin-spa-tin-spa-Cqe5hYTr.mjs} +102 -23
  33. package/fesm2022/{tin-spa-tin-spa-Bb1GPYuq.mjs.map → tin-spa-tin-spa-Cqe5hYTr.mjs.map} +1 -1
  34. package/fesm2022/tin-spa.mjs +1 -1
  35. package/login/index.d.ts +8 -4
  36. package/package.json +1 -1
package/core/index.d.ts CHANGED
@@ -1607,7 +1607,10 @@ declare class SignalRService {
1607
1607
  private realTimeEnabled;
1608
1608
  /** Public: whether SignalR is the authoritative connection signal (used by OfflineService to pick SignalR vs ping). */
1609
1609
  get isRealTime(): boolean;
1610
+ private buildingConnection;
1611
+ private connectionGeneration;
1610
1612
  startConnection(hubUrl: string, token: string): void;
1613
+ private buildConnection;
1611
1614
  updateToken(token: string): void;
1612
1615
  private forcingReconnect;
1613
1616
  /**
@@ -1623,7 +1626,7 @@ declare class SignalRService {
1623
1626
  static ɵprov: i0.ɵɵInjectableDeclaration<SignalRService>;
1624
1627
  }
1625
1628
 
1626
- type RefreshResult = 'success' | 'rejected' | 'network';
1629
+ type RefreshResult = 'success' | 'rejected' | 'network' | 'absent';
1627
1630
  declare class AuthService {
1628
1631
  private _route;
1629
1632
  private socialService;
@@ -1790,6 +1793,8 @@ declare class OfflineService {
1790
1793
  private reads;
1791
1794
  private outbox;
1792
1795
  private meta;
1796
+ private dexie;
1797
+ private opening;
1793
1798
  private entries;
1794
1799
  private readUrls;
1795
1800
  private readPrefixes;
@@ -1828,7 +1833,9 @@ declare class OfflineService {
1828
1833
  pendingCount(): Promise<number>;
1829
1834
  clearCacheKeepOutbox(): Promise<void>;
1830
1835
  deleteLocalData(): Promise<void>;
1836
+ private loadDexie;
1831
1837
  private ensureOpen;
1838
+ private openStore;
1832
1839
  putRead(url: string, entity: string, data: any, maxRows: number): Promise<any>;
1833
1840
  private static readonly DYNAMIC_READS_PER_PREFIX;
1834
1841
  private pruneDynamicReads;
@@ -4,7 +4,7 @@ import * as i1$2 from '@angular/router';
4
4
  import { RouterModule } from '@angular/router';
5
5
  import * as i1 from 'tin-spa/core';
6
6
  import { AccountingService, MessageService, ApiErrorService, PurchasingService, HttpService, DataServiceLib, ReceiptDialogComponent } from 'tin-spa/core';
7
- import { T as TilesComponent, a as TabsComponent, P as PageComponent, D as DateComponent, b as TableComponent, S as SelectLiteComponent, c as TinSpaModule, C as ChartsComponent, d as TenantTransferService, e as SpaAdminModule } from './tin-spa-tin-spa-Bb1GPYuq.mjs';
7
+ import { T as TilesComponent, a as TabsComponent, P as PageComponent, D as DateComponent, b as TableComponent, S as SelectLiteComponent, c as TinSpaModule, C as ChartsComponent, d as TenantTransferService, e as SpaAdminModule } from './tin-spa-tin-spa-Cqe5hYTr.mjs';
8
8
  import * as i1$1 from '@angular/common';
9
9
  import { CommonModule } from '@angular/common';
10
10
  import * as i3 from '@angular/material/button';
@@ -2228,4 +2228,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
2228
2228
  }] });
2229
2229
 
2230
2230
  export { AccountingModule };
2231
- //# sourceMappingURL=tin-spa-accounting.module-CaPnqTsD.mjs.map
2231
+ //# sourceMappingURL=tin-spa-accounting.module-Cg4vWaJE.mjs.map