tuain-ng-forms-lib 14.5.29 → 14.5.31
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/esm2020/lib/classes/forms/form.mjs +9 -3
- package/esm2020/lib/components/elements/action.component.mjs +4 -1
- package/esm2020/lib/components/forms/basic-form.mjs +6 -6
- package/fesm2015/tuain-ng-forms-lib.mjs +17 -7
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +16 -7
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/classes/forms/form.d.ts +2 -2
- package/lib/components/elements/action.component.d.ts +1 -0
- package/lib/components/forms/basic-form.d.ts +3 -3
- package/package.json +1 -1
|
@@ -89,9 +89,9 @@ export declare class FormStructureAndData {
|
|
|
89
89
|
cleanErrorFields(codes?: string[] | string | null, secCode?: string, subCode?: string): number;
|
|
90
90
|
tagEmptyRequiredFields(message: string, codes?: any, secCode?: string, subCode?: string): boolean;
|
|
91
91
|
getRequiredFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
92
|
-
getRequiredEmptyFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
92
|
+
getRequiredEmptyFields(codes?: string[] | string | null, secCode?: string, subCode?: string, onlyVisible?: boolean): string[];
|
|
93
93
|
getChangedFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
94
|
-
getFieldsWithValidationIssues(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
94
|
+
getFieldsWithValidationIssues(codes?: string[] | string | null, secCode?: string, subCode?: string, onlyVisible?: boolean): string[];
|
|
95
95
|
getFieldsValues(inputCodes?: string[] | string | null, secCode?: string, subCode?: string): any;
|
|
96
96
|
get actions(): {};
|
|
97
97
|
getActionsByAttribute(name: string, value: any): FormAction[];
|
|
@@ -6,6 +6,7 @@ export declare class ActionComponent extends ElementComponent implements OnInit
|
|
|
6
6
|
inProgress: boolean;
|
|
7
7
|
action: FormAction | null;
|
|
8
8
|
ngOnInit(): void;
|
|
9
|
+
start(): void;
|
|
9
10
|
activate(): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent, "lib-action", never, { "action": "action"; }, {}, never, ["*"], false>;
|
|
@@ -86,9 +86,9 @@ export declare class BasicFormComponent {
|
|
|
86
86
|
applyProcessToAllFields(processFunc: any): number;
|
|
87
87
|
cleanFields(codes?: string[] | string | null, secCode?: string, subCode?: string): number;
|
|
88
88
|
getRequiredFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
89
|
-
getRequiredEmptyFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
89
|
+
getRequiredEmptyFields(codes?: string[] | string | null, secCode?: string, subCode?: string, onlyVisible?: boolean): string[];
|
|
90
90
|
getChangedFields(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
91
|
-
getFieldsWithValidationIssues(codes?: string[] | string | null, secCode?: string, subCode?: string): string[];
|
|
91
|
+
getFieldsWithValidationIssues(codes?: string[] | string | null, secCode?: string, subCode?: string, onlyVisible?: boolean): string[];
|
|
92
92
|
tagFieldsWithError(errorMessage: string, codes?: string[] | string | null, secCode?: string, subCode?: string): number;
|
|
93
93
|
cleanErrorFields(codes?: string[] | string | null, secCode?: string, subCode?: string): number;
|
|
94
94
|
showLabelFields(codes?: string[] | string | null, secCode?: string, subCode?: string): number;
|
|
@@ -208,7 +208,7 @@ export declare class BasicFormComponent {
|
|
|
208
208
|
openForm(name: string, data?: any, backData?: any, cleanStack?: boolean): void;
|
|
209
209
|
canGoBack(): boolean;
|
|
210
210
|
goBack(): void;
|
|
211
|
-
goBackForm(
|
|
211
|
+
goBackForm(): void;
|
|
212
212
|
getOriginDetail(): any;
|
|
213
213
|
setError(errorType: string | null, errorMessage: string | null, errorDetail: string | null): void;
|
|
214
214
|
resetError(): void;
|