tin-spa 20.16.16 → 20.16.30

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 (44) hide show
  1. package/core/index.d.ts +15 -3
  2. package/fesm2022/{tin-spa-accounting.module-YebDwbDv.mjs → tin-spa-accounting.module-DhAEm2hN.mjs} +2 -2
  3. package/fesm2022/{tin-spa-accounting.module-YebDwbDv.mjs.map → tin-spa-accounting.module-DhAEm2hN.mjs.map} +1 -1
  4. package/fesm2022/{tin-spa-agent-page.component-DqpazVRq.mjs → tin-spa-agent-page.component-D0jky32q.mjs} +2 -2
  5. package/fesm2022/{tin-spa-agent-page.component-DqpazVRq.mjs.map → tin-spa-agent-page.component-D0jky32q.mjs.map} +1 -1
  6. package/fesm2022/{tin-spa-agent.component-C7YnyKBX.mjs → tin-spa-agent.component-B-_sp-xx.mjs} +2 -2
  7. package/fesm2022/{tin-spa-agent.component-C7YnyKBX.mjs.map → tin-spa-agent.component-B-_sp-xx.mjs.map} +1 -1
  8. package/fesm2022/{tin-spa-assets.module-BRWtHA-A.mjs → tin-spa-assets.module-CYdxBwtm.mjs} +2 -2
  9. package/fesm2022/{tin-spa-assets.module-BRWtHA-A.mjs.map → tin-spa-assets.module-CYdxBwtm.mjs.map} +1 -1
  10. package/fesm2022/tin-spa-core.mjs +196 -48
  11. package/fesm2022/tin-spa-core.mjs.map +1 -1
  12. package/fesm2022/{tin-spa-general-erp.module-OaOM3D1L.mjs → tin-spa-general-erp.module-_PS2Ftvh.mjs} +2 -2
  13. package/fesm2022/{tin-spa-general-erp.module-OaOM3D1L.mjs.map → tin-spa-general-erp.module-_PS2Ftvh.mjs.map} +1 -1
  14. package/fesm2022/{tin-spa-hr.module-B_5FP_zn.mjs → tin-spa-hr.module-BwSJYMjQ.mjs} +2 -2
  15. package/fesm2022/{tin-spa-hr.module-B_5FP_zn.mjs.map → tin-spa-hr.module-BwSJYMjQ.mjs.map} +1 -1
  16. package/fesm2022/{tin-spa-inventory.module-o1BXQjOc.mjs → tin-spa-inventory.module-DHQE_NgX.mjs} +2 -2
  17. package/fesm2022/{tin-spa-inventory.module-o1BXQjOc.mjs.map → tin-spa-inventory.module-DHQE_NgX.mjs.map} +1 -1
  18. package/fesm2022/tin-spa-keys.mjs +7 -2
  19. package/fesm2022/tin-spa-keys.mjs.map +1 -1
  20. package/fesm2022/tin-spa-landing.mjs +28 -3
  21. package/fesm2022/tin-spa-landing.mjs.map +1 -1
  22. package/fesm2022/{tin-spa-loans.module-vQyJEyt9.mjs → tin-spa-loans.module-DcdI1DkN.mjs} +2 -2
  23. package/fesm2022/{tin-spa-loans.module-vQyJEyt9.mjs.map → tin-spa-loans.module-DcdI1DkN.mjs.map} +1 -1
  24. package/fesm2022/tin-spa-login.mjs +62 -2
  25. package/fesm2022/tin-spa-login.mjs.map +1 -1
  26. package/fesm2022/{tin-spa-manufacturing.module-H7gUKZPj.mjs → tin-spa-manufacturing.module-BETvG6RY.mjs} +2 -2
  27. package/fesm2022/{tin-spa-manufacturing.module-H7gUKZPj.mjs.map → tin-spa-manufacturing.module-BETvG6RY.mjs.map} +1 -1
  28. package/fesm2022/{tin-spa-payroll.module-D14Nrt4u.mjs → tin-spa-payroll.module-NlC9rEPk.mjs} +2 -2
  29. package/fesm2022/{tin-spa-payroll.module-D14Nrt4u.mjs.map → tin-spa-payroll.module-NlC9rEPk.mjs.map} +1 -1
  30. package/fesm2022/{tin-spa-purchasing.module-we8uJ4UO.mjs → tin-spa-purchasing.module-D1hBPzXQ.mjs} +2 -2
  31. package/fesm2022/{tin-spa-purchasing.module-we8uJ4UO.mjs.map → tin-spa-purchasing.module-D1hBPzXQ.mjs.map} +1 -1
  32. package/fesm2022/{tin-spa-sales.module-Bv322-6n.mjs → tin-spa-sales.module-kiSLV-ea.mjs} +2 -2
  33. package/fesm2022/{tin-spa-sales.module-Bv322-6n.mjs.map → tin-spa-sales.module-kiSLV-ea.mjs.map} +1 -1
  34. package/fesm2022/{tin-spa-tenancy-erp.module-CugSTRv-.mjs → tin-spa-tenancy-erp.module-DkVrf474.mjs} +2 -2
  35. package/fesm2022/{tin-spa-tenancy-erp.module-CugSTRv-.mjs.map → tin-spa-tenancy-erp.module-DkVrf474.mjs.map} +1 -1
  36. package/fesm2022/{tin-spa-tin-spa-_Q6_Ri7J.mjs → tin-spa-tin-spa-DCR4-B5G.mjs} +488 -85
  37. package/fesm2022/tin-spa-tin-spa-DCR4-B5G.mjs.map +1 -0
  38. package/fesm2022/tin-spa.mjs +1 -1
  39. package/index.d.ts +63 -12
  40. package/keys/index.d.ts +5 -1
  41. package/landing/index.d.ts +2 -1
  42. package/login/index.d.ts +7 -2
  43. package/package.json +1 -1
  44. package/fesm2022/tin-spa-tin-spa-_Q6_Ri7J.mjs.map +0 -1
package/core/index.d.ts CHANGED
@@ -560,6 +560,8 @@ interface Field {
560
560
  options?: any[];
561
561
  optionDisplay?: string;
562
562
  optionValue?: string;
563
+ keepTypeable?: boolean;
564
+ typeableThreshold?: number;
563
565
  masterOptionValue?: string;
564
566
  defaultValue?: any;
565
567
  defaultFirstValue?: boolean;
@@ -580,7 +582,7 @@ interface Field {
580
582
  strict?: boolean;
581
583
  path?: string;
582
584
  keyField?: string;
583
- hint?: string;
585
+ hint?: string | ((data: any) => string);
584
586
  masterField?: string;
585
587
  masterValueField?: string;
586
588
  masterDefaultValueField?: string;
@@ -698,7 +700,7 @@ interface Button {
698
700
  icon?: Icon;
699
701
  disabled?: (value: any) => boolean;
700
702
  color?: string;
701
- tip?: string;
703
+ tip?: string | ((data: any) => string);
702
704
  dialog?: boolean;
703
705
  action?: Action;
704
706
  confirm?: Confirm;
@@ -946,6 +948,7 @@ interface Column {
946
948
  optionDisplay?: string;
947
949
  optionValue?: string;
948
950
  display?: (row: any) => any;
951
+ enumDisplay?: boolean;
949
952
  detailsConfig?: DetailsDialogConfig;
950
953
  hidden?: VisibilityValue;
951
954
  visible?: VisibilityValue;
@@ -1447,6 +1450,12 @@ declare class Core {
1447
1450
  static buttonDisplay(button: {
1448
1451
  display?: string | ((data: any) => string);
1449
1452
  } | null | undefined, item?: any): string | undefined;
1453
+ static buttonTip(button: {
1454
+ tip?: string | ((data: any) => string);
1455
+ } | null | undefined, item?: any): string | undefined;
1456
+ static fieldHint(field: {
1457
+ hint?: string | ((data: any) => string);
1458
+ } | null | undefined, data?: any): string;
1450
1459
  static testVisibleHeaderButton(data: any, btn: any): boolean;
1451
1460
  static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
1452
1461
  static validateObject(fields: Field[], data: any, onInvalid?: (field: Field) => void): string;
@@ -2376,6 +2385,8 @@ interface TinSpaAppSettings {
2376
2385
  * URL Rewrite / SPA fallback) so deep links resolve to index.html — which is exactly why this
2377
2386
  * has to be per-environment: the same build is promoted to servers configured differently. */
2378
2387
  PathRouting?: boolean;
2388
+ /** Multi-tenant (ERP) on or off per environment (overrides the code-declared `multiTenant`). */
2389
+ MultiTenant?: boolean;
2379
2390
  /** SignalR/real-time on or off per environment (overrides the code-declared `realTime`). */
2380
2391
  RealTime?: boolean;
2381
2392
  /** Offline capability on or off per environment (overrides the code-declared `offline`). */
@@ -2834,11 +2845,12 @@ declare class SetupService {
2834
2845
  declare class SubscriptionService {
2835
2846
  private httpService;
2836
2847
  private authService;
2848
+ private runtime;
2837
2849
  private enabledFeaturesSource;
2838
2850
  enabledFeatures$: rxjs.Observable<string[]>;
2839
2851
  private featuresLoaded;
2840
2852
  private gateMode;
2841
- constructor(httpService: HttpService, authService: AuthService);
2853
+ constructor(httpService: HttpService, authService: AuthService, runtime: TinSpaRuntimeConfig);
2842
2854
  loadFeatures(): void;
2843
2855
  isFeatureEnabled(featureKey: string): boolean;
2844
2856
  isModuleEnabled(featureKey: string): boolean;
@@ -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, f as featureGuard, e as SpaAdminModule } from './tin-spa-tin-spa-_Q6_Ri7J.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, f as featureGuard, e as SpaAdminModule } from './tin-spa-tin-spa-DCR4-B5G.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';
@@ -2243,4 +2243,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
2243
2243
  }] });
2244
2244
 
2245
2245
  export { AccountingModule };
2246
- //# sourceMappingURL=tin-spa-accounting.module-YebDwbDv.mjs.map
2246
+ //# sourceMappingURL=tin-spa-accounting.module-DhAEm2hN.mjs.map