tin-spa 20.16.22 → 20.16.34
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/core/index.d.ts +12 -2
- package/fesm2022/{tin-spa-accounting.module-KVI9jUs-.mjs → tin-spa-accounting.module-CXzXpOnI.mjs} +2 -2
- package/fesm2022/{tin-spa-accounting.module-KVI9jUs-.mjs.map → tin-spa-accounting.module-CXzXpOnI.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent-page.component-KWBRBCtv.mjs → tin-spa-agent-page.component-CfCEjOsF.mjs} +2 -2
- package/fesm2022/{tin-spa-agent-page.component-KWBRBCtv.mjs.map → tin-spa-agent-page.component-CfCEjOsF.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent.component-iPpO23R7.mjs → tin-spa-agent.component-FY1LLVNh.mjs} +2 -2
- package/fesm2022/{tin-spa-agent.component-iPpO23R7.mjs.map → tin-spa-agent.component-FY1LLVNh.mjs.map} +1 -1
- package/fesm2022/{tin-spa-assets.module-Do4EttIK.mjs → tin-spa-assets.module-BFJL6Ztj.mjs} +2 -2
- package/fesm2022/{tin-spa-assets.module-Do4EttIK.mjs.map → tin-spa-assets.module-BFJL6Ztj.mjs.map} +1 -1
- package/fesm2022/tin-spa-core.mjs +74 -11
- package/fesm2022/tin-spa-core.mjs.map +1 -1
- package/fesm2022/{tin-spa-general-erp.module-Buals2Bo.mjs → tin-spa-general-erp.module-BLbwtk7s.mjs} +2 -2
- package/fesm2022/{tin-spa-general-erp.module-Buals2Bo.mjs.map → tin-spa-general-erp.module-BLbwtk7s.mjs.map} +1 -1
- package/fesm2022/{tin-spa-hr.module-Bzc-LCD1.mjs → tin-spa-hr.module-DYcy3nQd.mjs} +2 -2
- package/fesm2022/{tin-spa-hr.module-Bzc-LCD1.mjs.map → tin-spa-hr.module-DYcy3nQd.mjs.map} +1 -1
- package/fesm2022/{tin-spa-inventory.module-BAc_0LOm.mjs → tin-spa-inventory.module-BRBH_n8Y.mjs} +2 -2
- package/fesm2022/{tin-spa-inventory.module-BAc_0LOm.mjs.map → tin-spa-inventory.module-BRBH_n8Y.mjs.map} +1 -1
- package/fesm2022/tin-spa-keys.mjs +6 -2
- package/fesm2022/tin-spa-keys.mjs.map +1 -1
- package/fesm2022/tin-spa-landing.mjs +68 -4
- package/fesm2022/tin-spa-landing.mjs.map +1 -1
- package/fesm2022/{tin-spa-loans.module-bZvFYV_u.mjs → tin-spa-loans.module-DC_M4fAb.mjs} +2 -2
- package/fesm2022/{tin-spa-loans.module-bZvFYV_u.mjs.map → tin-spa-loans.module-DC_M4fAb.mjs.map} +1 -1
- package/fesm2022/{tin-spa-manufacturing.module-CCOf5WFV.mjs → tin-spa-manufacturing.module-CE2MhGGC.mjs} +2 -2
- package/fesm2022/{tin-spa-manufacturing.module-CCOf5WFV.mjs.map → tin-spa-manufacturing.module-CE2MhGGC.mjs.map} +1 -1
- package/fesm2022/{tin-spa-payroll.module-D9Pbfd1o.mjs → tin-spa-payroll.module-E8tXa5UI.mjs} +2 -2
- package/fesm2022/{tin-spa-payroll.module-D9Pbfd1o.mjs.map → tin-spa-payroll.module-E8tXa5UI.mjs.map} +1 -1
- package/fesm2022/{tin-spa-purchasing.module-D26l8_Iq.mjs → tin-spa-purchasing.module-DIKiWt1m.mjs} +2 -2
- package/fesm2022/{tin-spa-purchasing.module-D26l8_Iq.mjs.map → tin-spa-purchasing.module-DIKiWt1m.mjs.map} +1 -1
- package/fesm2022/{tin-spa-sales.module-CEqRkBvT.mjs → tin-spa-sales.module-D-kWKKQf.mjs} +2 -2
- package/fesm2022/{tin-spa-sales.module-CEqRkBvT.mjs.map → tin-spa-sales.module-D-kWKKQf.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tenancy-erp.module-ty2JvZcw.mjs → tin-spa-tenancy-erp.module-6Wkbu53K.mjs} +2 -2
- package/fesm2022/{tin-spa-tenancy-erp.module-ty2JvZcw.mjs.map → tin-spa-tenancy-erp.module-6Wkbu53K.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tin-spa-DypZODpc.mjs → tin-spa-tin-spa-BehOqlaA.mjs} +300 -50
- package/fesm2022/tin-spa-tin-spa-BehOqlaA.mjs.map +1 -0
- package/fesm2022/tin-spa.mjs +1 -1
- package/index.d.ts +23 -3
- package/keys/index.d.ts +2 -1
- package/landing/index.d.ts +7 -1
- package/package.json +1 -1
- 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;
|
|
@@ -918,10 +920,12 @@ interface GroupConfig {
|
|
|
918
920
|
itemIcons?: Icon[];
|
|
919
921
|
itemAdditionalIcons?: Icon[];
|
|
920
922
|
groupIcons?: Icon[];
|
|
923
|
+
groupAdditionalIcons?: Icon[];
|
|
921
924
|
showGroupCount?: boolean;
|
|
922
925
|
emptyGroupMessage?: string;
|
|
923
926
|
showEmptyGroups?: boolean;
|
|
924
927
|
headerButtons?: Button[];
|
|
928
|
+
maxHeaderButtonsCount?: number;
|
|
925
929
|
contextMenuEnabled?: boolean;
|
|
926
930
|
itemClickButton?: string;
|
|
927
931
|
filterEnabled?: boolean;
|
|
@@ -1448,6 +1452,12 @@ declare class Core {
|
|
|
1448
1452
|
static buttonDisplay(button: {
|
|
1449
1453
|
display?: string | ((data: any) => string);
|
|
1450
1454
|
} | null | undefined, item?: any): string | undefined;
|
|
1455
|
+
static buttonTip(button: {
|
|
1456
|
+
tip?: string | ((data: any) => string);
|
|
1457
|
+
} | null | undefined, item?: any): string | undefined;
|
|
1458
|
+
static fieldHint(field: {
|
|
1459
|
+
hint?: string | ((data: any) => string);
|
|
1460
|
+
} | null | undefined, data?: any): string;
|
|
1451
1461
|
static testVisibleHeaderButton(data: any, btn: any): boolean;
|
|
1452
1462
|
static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
|
|
1453
1463
|
static validateObject(fields: Field[], data: any, onInvalid?: (field: Field) => void): string;
|
package/fesm2022/{tin-spa-accounting.module-KVI9jUs-.mjs → tin-spa-accounting.module-CXzXpOnI.mjs}
RENAMED
|
@@ -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-
|
|
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-BehOqlaA.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-
|
|
2246
|
+
//# sourceMappingURL=tin-spa-accounting.module-CXzXpOnI.mjs.map
|