tin-spa 20.16.54 → 20.16.63
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 +16 -1
- package/fesm2022/{tin-spa-accounting.module-DafMM8bL.mjs → tin-spa-accounting.module-BFBJZd31.mjs} +2 -2
- package/fesm2022/{tin-spa-accounting.module-DafMM8bL.mjs.map → tin-spa-accounting.module-BFBJZd31.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent-page.component-BG8NKMWo.mjs → tin-spa-agent-page.component-PpRZh-l4.mjs} +2 -2
- package/fesm2022/{tin-spa-agent-page.component-BG8NKMWo.mjs.map → tin-spa-agent-page.component-PpRZh-l4.mjs.map} +1 -1
- package/fesm2022/{tin-spa-agent.component-EpAu7Lhb.mjs → tin-spa-agent.component-o4xTFFsx.mjs} +2 -2
- package/fesm2022/{tin-spa-agent.component-EpAu7Lhb.mjs.map → tin-spa-agent.component-o4xTFFsx.mjs.map} +1 -1
- package/fesm2022/{tin-spa-assets.module-DkP8T2hm.mjs → tin-spa-assets.module-Cacn1hsb.mjs} +2 -2
- package/fesm2022/{tin-spa-assets.module-DkP8T2hm.mjs.map → tin-spa-assets.module-Cacn1hsb.mjs.map} +1 -1
- package/fesm2022/tin-spa-core.mjs +47 -1
- package/fesm2022/tin-spa-core.mjs.map +1 -1
- package/fesm2022/{tin-spa-general-erp.module-xZV__cBd.mjs → tin-spa-general-erp.module-DZ3opKYk.mjs} +2 -2
- package/fesm2022/{tin-spa-general-erp.module-xZV__cBd.mjs.map → tin-spa-general-erp.module-DZ3opKYk.mjs.map} +1 -1
- package/fesm2022/{tin-spa-hr.module-DJg-9u0Q.mjs → tin-spa-hr.module-BcJOydAW.mjs} +2 -2
- package/fesm2022/{tin-spa-hr.module-DJg-9u0Q.mjs.map → tin-spa-hr.module-BcJOydAW.mjs.map} +1 -1
- package/fesm2022/{tin-spa-inventory.module-ue4V6shh.mjs → tin-spa-inventory.module-BDPqC85-.mjs} +2 -2
- package/fesm2022/{tin-spa-inventory.module-ue4V6shh.mjs.map → tin-spa-inventory.module-BDPqC85-.mjs.map} +1 -1
- package/fesm2022/{tin-spa-loans.module-CSCszF9N.mjs → tin-spa-loans.module-C7tcJkKB.mjs} +2 -2
- package/fesm2022/{tin-spa-loans.module-CSCszF9N.mjs.map → tin-spa-loans.module-C7tcJkKB.mjs.map} +1 -1
- package/fesm2022/{tin-spa-manufacturing.module-xNhUuWHC.mjs → tin-spa-manufacturing.module-BFYPGXXi.mjs} +2 -2
- package/fesm2022/{tin-spa-manufacturing.module-xNhUuWHC.mjs.map → tin-spa-manufacturing.module-BFYPGXXi.mjs.map} +1 -1
- package/fesm2022/{tin-spa-payroll.module-zWYKDH27.mjs → tin-spa-payroll.module-tZYbCbdB.mjs} +2 -2
- package/fesm2022/{tin-spa-payroll.module-zWYKDH27.mjs.map → tin-spa-payroll.module-tZYbCbdB.mjs.map} +1 -1
- package/fesm2022/{tin-spa-purchasing.module-Dcqjduuh.mjs → tin-spa-purchasing.module-G4AqWpzL.mjs} +2 -2
- package/fesm2022/{tin-spa-purchasing.module-Dcqjduuh.mjs.map → tin-spa-purchasing.module-G4AqWpzL.mjs.map} +1 -1
- package/fesm2022/{tin-spa-sales.module-BDc523ea.mjs → tin-spa-sales.module-D0Tkne4e.mjs} +2 -2
- package/fesm2022/{tin-spa-sales.module-BDc523ea.mjs.map → tin-spa-sales.module-D0Tkne4e.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tenancy-erp.module-BlotvMY-.mjs → tin-spa-tenancy-erp.module-BeJng_QL.mjs} +2 -2
- package/fesm2022/{tin-spa-tenancy-erp.module-BlotvMY-.mjs.map → tin-spa-tenancy-erp.module-BeJng_QL.mjs.map} +1 -1
- package/fesm2022/{tin-spa-tin-spa-BM0vyL87.mjs → tin-spa-tin-spa-ld0sz37b.mjs} +402 -221
- package/fesm2022/tin-spa-tin-spa-ld0sz37b.mjs.map +1 -0
- package/fesm2022/tin-spa.mjs +1 -1
- package/index.d.ts +25 -4
- package/package.json +1 -1
- package/fesm2022/tin-spa-tin-spa-BM0vyL87.mjs.map +0 -1
package/core/index.d.ts
CHANGED
|
@@ -592,6 +592,8 @@ interface Field {
|
|
|
592
592
|
path?: string;
|
|
593
593
|
keyField?: string;
|
|
594
594
|
hint?: string | ((data: any) => string);
|
|
595
|
+
hintVisible?: VisibilityValue;
|
|
596
|
+
hintHidden?: VisibilityValue;
|
|
595
597
|
masterField?: string;
|
|
596
598
|
masterValueField?: string;
|
|
597
599
|
masterDefaultValueField?: string;
|
|
@@ -656,7 +658,7 @@ interface StatusConfig {
|
|
|
656
658
|
}
|
|
657
659
|
declare class AlertMessage {
|
|
658
660
|
type?: 'success' | 'info' | 'warn' | 'critical';
|
|
659
|
-
message?: string;
|
|
661
|
+
message?: string | ((data: any) => string);
|
|
660
662
|
messageField?: string;
|
|
661
663
|
hidden?: VisibilityValue;
|
|
662
664
|
visible?: VisibilityValue;
|
|
@@ -687,6 +689,9 @@ interface ViewField {
|
|
|
687
689
|
label?: string | boolean;
|
|
688
690
|
hidden?: VisibilityValue;
|
|
689
691
|
visible?: VisibilityValue;
|
|
692
|
+
display?: (data: any) => any;
|
|
693
|
+
suffix?: string;
|
|
694
|
+
hideZero?: boolean;
|
|
690
695
|
}
|
|
691
696
|
interface ViewConfig {
|
|
692
697
|
fields?: ViewField[];
|
|
@@ -776,6 +781,8 @@ interface RowField {
|
|
|
776
781
|
label?: string | boolean;
|
|
777
782
|
hidden?: VisibilityValue;
|
|
778
783
|
visible?: VisibilityValue;
|
|
784
|
+
suffix?: string;
|
|
785
|
+
hideZero?: boolean;
|
|
779
786
|
}
|
|
780
787
|
interface RowConfig {
|
|
781
788
|
fields: RowField[];
|
|
@@ -1510,10 +1517,18 @@ declare class Core {
|
|
|
1510
1517
|
} | null | undefined, item?: any): string | undefined;
|
|
1511
1518
|
static fieldHint(field: {
|
|
1512
1519
|
hint?: string | ((data: any) => string);
|
|
1520
|
+
hintVisible?: VisibilityValue;
|
|
1521
|
+
hintHidden?: VisibilityValue;
|
|
1513
1522
|
} | null | undefined, data?: any): string;
|
|
1514
1523
|
static testVisibleHeaderButton(data: any, btn: any): boolean;
|
|
1515
1524
|
static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
|
|
1516
1525
|
static validateObject(fields: Field[], data: any, onInvalid?: (field: Field) => void): string;
|
|
1526
|
+
static alertText(msg: {
|
|
1527
|
+
message?: string | ((data: any) => string);
|
|
1528
|
+
messageField?: string;
|
|
1529
|
+
} | null | undefined, data?: any): string;
|
|
1530
|
+
static dateWithDistance(value: any, asOf?: Date): string;
|
|
1531
|
+
private static describeDayDistance;
|
|
1517
1532
|
private static describeDateBound;
|
|
1518
1533
|
private static validateField;
|
|
1519
1534
|
static testRequired(config: FormConfig, data: any, field: Field): boolean;
|
package/fesm2022/{tin-spa-accounting.module-DafMM8bL.mjs → tin-spa-accounting.module-BFBJZd31.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-ld0sz37b.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-BFBJZd31.mjs.map
|