tin-spa 20.16.22 → 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 (41) hide show
  1. package/core/index.d.ts +10 -2
  2. package/fesm2022/{tin-spa-accounting.module-KVI9jUs-.mjs → tin-spa-accounting.module-DhAEm2hN.mjs} +2 -2
  3. package/fesm2022/{tin-spa-accounting.module-KVI9jUs-.mjs.map → tin-spa-accounting.module-DhAEm2hN.mjs.map} +1 -1
  4. package/fesm2022/{tin-spa-agent-page.component-KWBRBCtv.mjs → tin-spa-agent-page.component-D0jky32q.mjs} +2 -2
  5. package/fesm2022/{tin-spa-agent-page.component-KWBRBCtv.mjs.map → tin-spa-agent-page.component-D0jky32q.mjs.map} +1 -1
  6. package/fesm2022/{tin-spa-agent.component-iPpO23R7.mjs → tin-spa-agent.component-B-_sp-xx.mjs} +2 -2
  7. package/fesm2022/{tin-spa-agent.component-iPpO23R7.mjs.map → tin-spa-agent.component-B-_sp-xx.mjs.map} +1 -1
  8. package/fesm2022/{tin-spa-assets.module-Do4EttIK.mjs → tin-spa-assets.module-CYdxBwtm.mjs} +2 -2
  9. package/fesm2022/{tin-spa-assets.module-Do4EttIK.mjs.map → tin-spa-assets.module-CYdxBwtm.mjs.map} +1 -1
  10. package/fesm2022/tin-spa-core.mjs +74 -11
  11. package/fesm2022/tin-spa-core.mjs.map +1 -1
  12. package/fesm2022/{tin-spa-general-erp.module-Buals2Bo.mjs → tin-spa-general-erp.module-_PS2Ftvh.mjs} +2 -2
  13. package/fesm2022/{tin-spa-general-erp.module-Buals2Bo.mjs.map → tin-spa-general-erp.module-_PS2Ftvh.mjs.map} +1 -1
  14. package/fesm2022/{tin-spa-hr.module-Bzc-LCD1.mjs → tin-spa-hr.module-BwSJYMjQ.mjs} +2 -2
  15. package/fesm2022/{tin-spa-hr.module-Bzc-LCD1.mjs.map → tin-spa-hr.module-BwSJYMjQ.mjs.map} +1 -1
  16. package/fesm2022/{tin-spa-inventory.module-BAc_0LOm.mjs → tin-spa-inventory.module-DHQE_NgX.mjs} +2 -2
  17. package/fesm2022/{tin-spa-inventory.module-BAc_0LOm.mjs.map → tin-spa-inventory.module-DHQE_NgX.mjs.map} +1 -1
  18. package/fesm2022/tin-spa-keys.mjs +6 -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-bZvFYV_u.mjs → tin-spa-loans.module-DcdI1DkN.mjs} +2 -2
  23. package/fesm2022/{tin-spa-loans.module-bZvFYV_u.mjs.map → tin-spa-loans.module-DcdI1DkN.mjs.map} +1 -1
  24. package/fesm2022/{tin-spa-manufacturing.module-CCOf5WFV.mjs → tin-spa-manufacturing.module-BETvG6RY.mjs} +2 -2
  25. package/fesm2022/{tin-spa-manufacturing.module-CCOf5WFV.mjs.map → tin-spa-manufacturing.module-BETvG6RY.mjs.map} +1 -1
  26. package/fesm2022/{tin-spa-payroll.module-D9Pbfd1o.mjs → tin-spa-payroll.module-NlC9rEPk.mjs} +2 -2
  27. package/fesm2022/{tin-spa-payroll.module-D9Pbfd1o.mjs.map → tin-spa-payroll.module-NlC9rEPk.mjs.map} +1 -1
  28. package/fesm2022/{tin-spa-purchasing.module-D26l8_Iq.mjs → tin-spa-purchasing.module-D1hBPzXQ.mjs} +2 -2
  29. package/fesm2022/{tin-spa-purchasing.module-D26l8_Iq.mjs.map → tin-spa-purchasing.module-D1hBPzXQ.mjs.map} +1 -1
  30. package/fesm2022/{tin-spa-sales.module-CEqRkBvT.mjs → tin-spa-sales.module-kiSLV-ea.mjs} +2 -2
  31. package/fesm2022/{tin-spa-sales.module-CEqRkBvT.mjs.map → tin-spa-sales.module-kiSLV-ea.mjs.map} +1 -1
  32. package/fesm2022/{tin-spa-tenancy-erp.module-ty2JvZcw.mjs → tin-spa-tenancy-erp.module-DkVrf474.mjs} +2 -2
  33. package/fesm2022/{tin-spa-tenancy-erp.module-ty2JvZcw.mjs.map → tin-spa-tenancy-erp.module-DkVrf474.mjs.map} +1 -1
  34. package/fesm2022/{tin-spa-tin-spa-DypZODpc.mjs → tin-spa-tin-spa-DCR4-B5G.mjs} +233 -48
  35. package/fesm2022/tin-spa-tin-spa-DCR4-B5G.mjs.map +1 -0
  36. package/fesm2022/tin-spa.mjs +1 -1
  37. package/index.d.ts +15 -2
  38. package/keys/index.d.ts +2 -1
  39. package/landing/index.d.ts +2 -1
  40. package/package.json +1 -1
  41. package/fesm2022/tin-spa-tin-spa-DypZODpc.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;
@@ -1448,6 +1450,12 @@ declare class Core {
1448
1450
  static buttonDisplay(button: {
1449
1451
  display?: string | ((data: any) => string);
1450
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;
1451
1459
  static testVisibleHeaderButton(data: any, btn: any): boolean;
1452
1460
  static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
1453
1461
  static validateObject(fields: Field[], data: any, onInvalid?: (field: Field) => void): string;
@@ -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-DypZODpc.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-KVI9jUs-.mjs.map
2246
+ //# sourceMappingURL=tin-spa-accounting.module-DhAEm2hN.mjs.map