tuain-ng-forms-lib 14.0.16 → 14.1.0
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/table/table.mjs +6 -6
- package/esm2020/lib/components/elements/layout/form-header.component.mjs +2 -1
- package/esm2020/lib/components/elements/tables/table-record-action.component.mjs +1 -1
- package/esm2020/lib/components/forms/basic-form.mjs +42 -1
- package/esm2020/lib/services/form-manager.service.mjs +2 -2
- package/fesm2015/tuain-ng-forms-lib.mjs +50 -7
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +48 -6
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/components/elements/layout/form-header.component.d.ts +1 -1
- package/lib/components/elements/tables/table-record-action.component.d.ts +2 -1
- package/lib/components/forms/basic-form.d.ts +40 -0
- package/lib/services/form-manager.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ export declare class FormHeaderComponent {
|
|
|
5
5
|
goBackAction: boolean;
|
|
6
6
|
showTitle: any;
|
|
7
7
|
headerActions: any;
|
|
8
|
-
goBackEvent: EventEmitter<
|
|
8
|
+
goBackEvent: EventEmitter<void>;
|
|
9
9
|
goBackForm(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormHeaderComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormHeaderComponent, "lib-form-header", never, { "formManager": "formManager"; "goBackAction": "goBackAction"; "showTitle": "showTitle"; "headerActions": "headerActions"; }, { "goBackEvent": "goBackEvent"; }, never, ["*"], false>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { TableActionEvent } from '../../../classes/forms/table/table';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class LibTableRecordActionComponent implements OnInit {
|
|
4
5
|
recordId: any;
|
|
5
6
|
recordData: any;
|
|
6
7
|
action: any;
|
|
7
|
-
actionSelected: EventEmitter<
|
|
8
|
+
actionSelected: EventEmitter<TableActionEvent>;
|
|
8
9
|
constructor();
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
start(): void;
|
|
@@ -153,6 +153,7 @@ export declare class BasicFormComponent {
|
|
|
153
153
|
set formRoute(route: string);
|
|
154
154
|
get subject(): string;
|
|
155
155
|
customPreProcessing(): void;
|
|
156
|
+
start(): void;
|
|
156
157
|
customFormStart(): void;
|
|
157
158
|
displayActionServerError(): void;
|
|
158
159
|
displayValidationServerError(): void;
|
|
@@ -289,18 +290,57 @@ export declare class BasicFormComponent {
|
|
|
289
290
|
/**
|
|
290
291
|
* Métodos Legacy de compatibilidad hacia atrás
|
|
291
292
|
*/
|
|
293
|
+
/**
|
|
294
|
+
* @deprecated Use onSectionActivation
|
|
295
|
+
*/
|
|
292
296
|
addSectionActivation(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated Use onSectionInactivation
|
|
299
|
+
*/
|
|
293
300
|
addSectionInactivation(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated Use onActionStart
|
|
303
|
+
*/
|
|
294
304
|
addActionMethodStart(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
305
|
+
/**
|
|
306
|
+
* @deprecated Use onActionFinish
|
|
307
|
+
*/
|
|
295
308
|
addActionMethodFinish(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
309
|
+
/**
|
|
310
|
+
* @deprecated Use onFieldInput
|
|
311
|
+
*/
|
|
296
312
|
addFieldInputValidation(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
313
|
+
/**
|
|
314
|
+
* @deprecated Use onFieldValidationStart
|
|
315
|
+
*/
|
|
297
316
|
addFieldValidationStart(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
317
|
+
/**
|
|
318
|
+
* @deprecated Use onFieldValidationFinish
|
|
319
|
+
*/
|
|
298
320
|
addFieldValidationFinish(codes: string[] | string | null, callback: any, properties?: any): void;
|
|
321
|
+
/**
|
|
322
|
+
* @deprecated Use onTableActionStart
|
|
323
|
+
*/
|
|
299
324
|
addTableActionStart(code: string, actionCode: string, callback: any, properties?: any): void;
|
|
325
|
+
/**
|
|
326
|
+
* @deprecated Use onTableActionFinish
|
|
327
|
+
*/
|
|
300
328
|
addTableActionFinish(code: string, actionCode: string, callback: any, properties?: any): void;
|
|
329
|
+
/**
|
|
330
|
+
* @deprecated Use onTableSelectionStart
|
|
331
|
+
*/
|
|
301
332
|
addTableSelectionStart(code: string, callback: any, properties?: any): void;
|
|
333
|
+
/**
|
|
334
|
+
* @deprecated Use onTableSelectionFinish
|
|
335
|
+
*/
|
|
302
336
|
addTableSelectionFinish(code: string, callback: any, properties?: any): void;
|
|
337
|
+
/**
|
|
338
|
+
* @deprecated Use onTableGetDataStart
|
|
339
|
+
*/
|
|
303
340
|
addTableGetDataStart(code: string, callback: any, properties?: any): void;
|
|
341
|
+
/**
|
|
342
|
+
* @deprecated Use onTableGetDataFinish
|
|
343
|
+
*/
|
|
304
344
|
addTableGetDataFinish(code: string, callback: any, properties?: any): void;
|
|
305
345
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicFormComponent, never>;
|
|
306
346
|
static ɵcmp: i0.ɵɵComponentDeclaration<BasicFormComponent, "ng-component", never, {}, {}, never, ["*"], false>;
|
|
@@ -4,7 +4,7 @@ export declare class LibFormManagerService {
|
|
|
4
4
|
getFormDefinition(formCode: any): void;
|
|
5
5
|
execServerAction(actionDetail: any): void;
|
|
6
6
|
goToForm(formCode: any, token: any, subject: any): void;
|
|
7
|
-
loadStack(): void
|
|
7
|
+
loadStack(): Promise<void>;
|
|
8
8
|
saveStack(): void;
|
|
9
9
|
cleanStack(): void;
|
|
10
10
|
resetPageStack(): void;
|