tuain-ng-forms-lib 14.1.1 → 14.2.14

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 (35) hide show
  1. package/esm2020/lib/classes/forms/element.mjs +9 -3
  2. package/esm2020/lib/classes/forms/field.mjs +325 -242
  3. package/esm2020/lib/classes/forms/form.mjs +26 -26
  4. package/esm2020/lib/classes/forms/subsection.mjs +2 -2
  5. package/esm2020/lib/components/elements/action.component.mjs +3 -3
  6. package/esm2020/lib/components/elements/field.component.mjs +20 -15
  7. package/esm2020/lib/components/elements/layout/element.component.mjs +3 -3
  8. package/esm2020/lib/components/elements/layout/form-error.component.mjs +3 -3
  9. package/esm2020/lib/components/elements/layout/form-header.component.mjs +3 -3
  10. package/esm2020/lib/components/elements/layout/section.component.mjs +3 -3
  11. package/esm2020/lib/components/elements/layout/sub-section.component.mjs +3 -3
  12. package/esm2020/lib/components/elements/tables/table-record-action.component.mjs +3 -3
  13. package/esm2020/lib/components/elements/tables/table-record-field.component.mjs +3 -3
  14. package/esm2020/lib/components/elements/tables/table.component.mjs +3 -3
  15. package/esm2020/lib/components/forms/basic-form.mjs +65 -37
  16. package/esm2020/lib/tuain-ng-forms-lib.module.mjs +7 -9
  17. package/fesm2015/tuain-ng-forms-lib.mjs +479 -356
  18. package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
  19. package/fesm2020/tuain-ng-forms-lib.mjs +474 -353
  20. package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
  21. package/lib/classes/forms/element.d.ts +7 -6
  22. package/lib/classes/forms/field.d.ts +168 -72
  23. package/lib/classes/forms/form.d.ts +1 -1
  24. package/lib/components/elements/action.component.d.ts +1 -1
  25. package/lib/components/elements/field.component.d.ts +5 -5
  26. package/lib/components/elements/layout/element.component.d.ts +1 -1
  27. package/lib/components/elements/layout/form-error.component.d.ts +1 -1
  28. package/lib/components/elements/layout/form-header.component.d.ts +1 -1
  29. package/lib/components/elements/layout/section.component.d.ts +1 -1
  30. package/lib/components/elements/layout/sub-section.component.d.ts +1 -1
  31. package/lib/components/elements/tables/table-record-action.component.d.ts +1 -1
  32. package/lib/components/elements/tables/table-record-field.component.d.ts +1 -1
  33. package/lib/components/elements/tables/table.component.d.ts +1 -1
  34. package/lib/components/forms/basic-form.d.ts +8 -5
  35. package/package.json +2 -2
@@ -4,9 +4,9 @@ export declare class FormElement {
4
4
  protected _isForced: boolean;
5
5
  _formConfig: any;
6
6
  disabled: boolean;
7
- visibleStates: string[];
8
- enabledStates: string[];
9
- elementType: string;
7
+ visibleStates: string[] | null;
8
+ enabledStates: string[] | null;
9
+ elementType: string | null;
10
10
  customAttributes: any;
11
11
  constructor(elementDefinition: any, formConfig: any);
12
12
  getCustomAttribute(name: string): any;
@@ -31,11 +31,12 @@ export declare class FormElement {
31
31
  set visible(visible: boolean);
32
32
  visibleOn(state: string): boolean;
33
33
  enabledOn(state: string): boolean;
34
- setVisibility(visible: boolean, forced?: boolean): void;
35
- show(forced?: boolean): void;
36
- hide(forced?: boolean): void;
34
+ setVisibility(visible: boolean, forced?: boolean | null): void;
35
+ show(forced?: boolean | null): void;
36
+ hide(forced?: boolean | null): void;
37
37
  enable(): void;
38
38
  disable(): void;
39
39
  get enabled(): boolean;
40
40
  get editable(): boolean;
41
+ set editable(editable: boolean);
41
42
  }
@@ -13,78 +13,51 @@ export declare class FieldDescriptor extends FormElement {
13
13
  private readonly _editionPartial;
14
14
  private readonly _detailRequest;
15
15
  private readonly _attributeChange;
16
- private validateOnServer;
17
- private _value;
18
- private _focus;
16
+ private _errorType;
17
+ private _errorCode;
18
+ private _errorMessage;
19
+ private _fieldCode;
20
+ private _intrinsicErrorMessage;
19
21
  private _minValue;
20
22
  private _maxValue;
21
23
  private _maxLength;
22
24
  private _minLength;
23
- _onValidation: boolean;
24
- _intrinsicErrorMessage: string;
25
- fieldCode: string;
26
- fieldInfo: string;
27
- defaultValue: string;
28
- defaultEditable: boolean;
29
- visibleLabel: boolean;
30
- fieldRequired: boolean;
31
- hasChanged: boolean;
32
- outputOnly: boolean;
33
- captureType: string;
34
- fieldTitle: string;
35
- fieldType: string;
36
- fieldAlignment: string;
37
- fieldFormat: RegExp | null;
38
- externalValue: any;
39
- tooltipText: string;
40
- errorType: string;
41
- errorCode: string;
42
- errorMessage: string;
43
- fieldOptions: FieldOption[] | null;
25
+ private _focus;
26
+ private _onValidation;
27
+ private _validateOnServer;
28
+ private _value;
29
+ private _visibleLabel;
30
+ private _captureType;
31
+ private _defaultValue;
32
+ private _defaultEditable;
33
+ private _externalValue;
34
+ private _fieldAlignment;
35
+ private _fieldInfo;
36
+ private _fieldRequired;
37
+ private _fieldTitle;
38
+ private _fieldType;
39
+ private _fieldFormat;
40
+ private _fieldOptions;
41
+ private _hasChanged;
42
+ private _outputOnly;
43
+ private _tooltipText;
44
44
  constructor(inputFieldReceived: any, formConfig: any);
45
- get name(): string;
46
- get editionFinish(): Subject<any>;
45
+ get alignment(): string;
46
+ set alignment(alignment: string);
47
47
  get attributeChange(): Subject<any>;
48
- get editionPartial(): Subject<any>;
49
- get detailRequest(): Subject<DetailEvent>;
50
- get info(): string;
51
- get validating(): boolean;
52
- set validating(isValidating: boolean);
53
- focus(): void;
54
- setIntrinsicErrorMessage(message: string): void;
55
- set intrinsicErrorMessage(message: string);
56
- get fieldValue(): any;
57
- getRequired(): boolean;
58
- setRequired(required: boolean): void;
59
- get required(): boolean;
60
- set required(required: boolean);
61
- get minLength(): number;
62
- set minLength(requiredMinLength: number);
63
- get maxLength(): any;
64
- set maxLength(requiredMaxLength: any);
65
- get value(): any;
66
- set value(newValue: any);
67
- notifyEditionPartial(): void;
68
- notifyEditionFinish(): void;
69
- setAttr(name: string, value: any): void;
70
- notifyEditionDetailRequest(detail: any): void;
71
- setVisibleLabel(visibleLabel: boolean): void;
72
- showLabel(): void;
73
- hideLabel(): void;
74
- setChanged(hasChanged: boolean): void;
75
- changed(): void;
76
- setLabel(label: any): void;
77
- clean(): void;
78
48
  get backend(): boolean;
79
- setEditable(editable?: boolean): void;
80
- hasError(): boolean;
81
- resetError(): void;
82
- setError(code: any, message: any, type?: string): void;
83
- getError(): {
84
- type: string;
85
- code: string;
86
- message: string;
87
- };
49
+ get captureType(): string;
50
+ set captureType(captureType: string);
51
+ get code(): string;
52
+ get fieldCode(): string;
53
+ get defaultValue(): string;
54
+ set defaultValue(defaultValue: string);
55
+ get defaultEditable(): boolean;
56
+ set defaultEditable(editable: boolean);
57
+ get detailRequest(): Subject<DetailEvent>;
58
+ get editionFinish(): Subject<any>;
59
+ get editionPartial(): Subject<any>;
60
+ get empty(): boolean;
88
61
  get error(): {
89
62
  type: string;
90
63
  code: string;
@@ -95,18 +68,141 @@ export declare class FieldDescriptor extends FormElement {
95
68
  code: string;
96
69
  message: string;
97
70
  });
71
+ get errorCode(): string;
72
+ set errorCode(code: string);
73
+ get errorMessage(): string;
74
+ set errorMessage(msg: string);
75
+ get errorType(): string;
76
+ get externalValue(): any;
77
+ get format(): RegExp;
78
+ set format(format: RegExp);
79
+ get hasChanged(): boolean;
80
+ set hasChanged(hasChanged: boolean);
81
+ get info(): string;
82
+ set info(newInfo: string);
83
+ set intrinsicErrorMessage(message: string);
84
+ get maxLength(): any;
85
+ set maxLength(requiredMaxLength: any);
86
+ get maxValue(): any;
87
+ set maxValue(inputMaxValue: any);
88
+ get minLength(): number;
89
+ set minLength(requiredMinLength: number);
90
+ get minValue(): any;
91
+ set minValue(inputMinValue: any);
92
+ get name(): string;
93
+ get options(): FieldOption[] | null;
94
+ set options(newOptions: FieldOption[] | null);
95
+ get optionText(): string;
96
+ get outputOnly(): boolean;
97
+ set outputOnly(outputOnly: boolean);
98
+ get required(): boolean;
99
+ set required(required: boolean);
100
+ get title(): string;
101
+ set title(title: string);
102
+ get tooltip(): string;
103
+ set tooltip(tooltip: string);
104
+ get type(): string;
105
+ set type(fieldType: string);
106
+ get validating(): boolean;
107
+ set validating(isValidating: boolean);
108
+ get value(): any;
109
+ get validateOnServer(): boolean;
110
+ set validateOnServer(validateOnServer: boolean);
111
+ get serverAction(): boolean;
112
+ set serverAction(validateOnServer: boolean);
113
+ set value(newValue: any);
114
+ get visibleLabel(): boolean;
115
+ set visibleLabel(visibleLabel: boolean);
116
+ /**
117
+ * @deprecated Use options
118
+ */
119
+ get fieldOptions(): FieldOption[];
120
+ /**
121
+ * @deprecated Use options
122
+ */
123
+ set fieldOptions(options: FieldOption[]);
124
+ /**
125
+ * @deprecated Use value
126
+ */
127
+ get fieldValue(): any;
128
+ /**
129
+ * @deprecated Use hasChanged
130
+ */
131
+ changed(hasChanged?: boolean): void;
132
+ clean(): void;
133
+ focus(): void;
98
134
  getErrorCode(): string;
99
135
  setErrorCode(code: any): void;
100
136
  getErrorMessage(): string;
101
137
  setErrorMessage(msg: any): void;
102
- get empty(): boolean;
103
- isEmpty(): boolean;
138
+ getRequired(): boolean;
139
+ hasError(): boolean;
140
+ hideLabel(): void;
141
+ resetError(): void;
142
+ setEditable(editable?: boolean): void;
143
+ setValue(newValue: any, widgetUpdate?: boolean): void;
144
+ showLabel(): void;
145
+ /**
146
+ * @deprecated Use title
147
+ */
148
+ setLabel(label: any): void;
149
+ /**
150
+ * @deprecated Use required
151
+ */
152
+ setRequired(required: boolean): void;
153
+ /**
154
+ * @deprecated Use changed
155
+ */
156
+ setChanged(hasChanged: boolean): void;
157
+ /**
158
+ * @deprecated Use value
159
+ */
104
160
  getValue(): any;
161
+ /**
162
+ * @deprecated Use empty
163
+ */
164
+ isEmpty(): boolean;
165
+ /**
166
+ * @deprecated Use error
167
+ */
168
+ getError(): {
169
+ type: string;
170
+ code: string;
171
+ message: string;
172
+ };
173
+ /**
174
+ * @deprecated Use optionText
175
+ */
105
176
  getOptionText(): string;
106
- updateFromServer(fld: any): void;
107
- setMinValue(inputMinValue: any): void;
108
- setMaxValue(inputMaxValue: any): void;
177
+ /**
178
+ * @deprecated Use options
179
+ */
109
180
  getFieldOptions(): FieldOption[];
110
- setFieldOptions(newOptions: any): void;
111
- setValue(newValue: any, widgetUpdate?: boolean): boolean;
181
+ /**
182
+ * @deprecated Use options
183
+ */
184
+ setFieldOptions(newOptions: any): any;
185
+ /**
186
+ * @deprecated Use intrinsicErrorMessage
187
+ */
188
+ setIntrinsicErrorMessage(message: string): void;
189
+ /**
190
+ * @deprecated Use maxValue
191
+ */
192
+ setMaxValue(inputMaxValue: any): void;
193
+ /**
194
+ * @deprecated Use minValue
195
+ */
196
+ setMinValue(inputMinValue: any): void;
197
+ /**
198
+ * @deprecated Use showLabel
199
+ */
200
+ setVisibleLabel(visibleLabel: boolean): void;
201
+ notifyEditionPartial(): void;
202
+ notifyEditionFinish(): void;
203
+ notifyEditionDetailRequest(detail: any): void;
204
+ setAttr(attr: any, value: any): void;
205
+ setError(code: any, message: any, type?: string): void;
206
+ updateFromServer(fld: any): void;
207
+ private _setValue;
112
208
  }
@@ -66,7 +66,7 @@ export declare class FormStructureAndData {
66
66
  disableField(code: string): void;
67
67
  getFieldValue(code: string): any;
68
68
  getFieldOptionText(code: string): any;
69
- getFieldOptions(code: string): FieldOption[];
69
+ getFieldOptions(code: string): FieldOption[] | null;
70
70
  setFieldValue(code: string, value: any): any;
71
71
  setFieldError(code: string, errorCode: string, message: string, type?: string): any;
72
72
  setFieldIntrinsicErrorMessage(code: string, message: string): any;
@@ -17,5 +17,5 @@ export declare class ActionComponent implements OnInit {
17
17
  get visible(): boolean;
18
18
  get disabled(): boolean;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent, "lib-action", never, { "action": "action"; "busy": "busy"; "relatedField": "relatedField"; "state": "state"; "style": "style"; "showLabel": "showLabel"; }, {}, never, ["*"]>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent, "lib-action", never, { "action": "action"; "busy": "busy"; "relatedField": "relatedField"; "state": "state"; "style": "style"; "showLabel": "showLabel"; }, {}, never, ["*"], false>;
21
21
  }
@@ -5,9 +5,9 @@ export declare class FieldComponent implements OnInit {
5
5
  formConfig: any;
6
6
  code: string;
7
7
  value: any;
8
- fieldInfo: string;
9
- fieldAlignment: string;
10
- tooltipText: string;
8
+ info: string;
9
+ alignment: string;
10
+ tooltip: string;
11
11
  maxLength: any;
12
12
  minValue: any;
13
13
  maxValue: any;
@@ -21,7 +21,7 @@ export declare class FieldComponent implements OnInit {
21
21
  errorType: any;
22
22
  errorCode: any;
23
23
  errorMessage: any;
24
- field: FieldDescriptor;
24
+ field: FieldDescriptor | null;
25
25
  state: any;
26
26
  ngOnInit(): void;
27
27
  dafaultProcessFieldChange(attribute: string, value?: any): void;
@@ -39,5 +39,5 @@ export declare class FieldComponent implements OnInit {
39
39
  get visible(): boolean;
40
40
  get disabled(): boolean;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "lib-field", never, { "field": "field"; "state": "state"; }, {}, never, ["*"]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "lib-field", never, { "field": "field"; "state": "state"; }, {}, never, ["*"], false>;
43
43
  }
@@ -10,5 +10,5 @@ export declare class ElementComponent implements OnInit {
10
10
  get visible(): any;
11
11
  get disabled(): boolean;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<ElementComponent, "lib-element", never, { "element": "element"; "form": "form"; "state": "state"; }, {}, never, ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ElementComponent, "lib-element", never, { "element": "element"; "form": "form"; "state": "state"; }, {}, never, ["*"], false>;
14
14
  }
@@ -4,5 +4,5 @@ export declare class FormErrorComponent {
4
4
  errorMessage: any;
5
5
  errorType: any;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorComponent, "lib-form-error", never, { "errorTitle": "errorTitle"; "errorMessage": "errorMessage"; "errorType": "errorType"; }, {}, never, ["*"]>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormErrorComponent, "lib-form-error", never, { "errorTitle": "errorTitle"; "errorMessage": "errorMessage"; "errorType": "errorType"; }, {}, never, ["*"], false>;
8
8
  }
@@ -8,5 +8,5 @@ export declare class FormHeaderComponent {
8
8
  goBackEvent: EventEmitter<void>;
9
9
  goBackForm(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FormHeaderComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FormHeaderComponent, "lib-form-header", never, { "formManager": "formManager"; "goBackAction": "goBackAction"; "showTitle": "showTitle"; "headerActions": "headerActions"; }, { "goBackEvent": "goBackEvent"; }, never, ["*"]>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormHeaderComponent, "lib-form-header", never, { "formManager": "formManager"; "goBackAction": "goBackAction"; "showTitle": "showTitle"; "headerActions": "headerActions"; }, { "goBackEvent": "goBackEvent"; }, never, ["*"], false>;
12
12
  }
@@ -6,5 +6,5 @@ export declare class SectionComponent implements OnInit {
6
6
  ngOnInit(): void;
7
7
  start(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "lib-section", never, { "section": "section"; "formManager": "formManager"; }, {}, never, ["*"]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "lib-section", never, { "section": "section"; "formManager": "formManager"; }, {}, never, ["*"], false>;
10
10
  }
@@ -7,5 +7,5 @@ export declare class SubSectionComponent implements OnInit {
7
7
  ngOnInit(): void;
8
8
  start(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SubSectionComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SubSectionComponent, "lib-subsection", never, { "subSection": "subSection"; "showHeader": "showHeader"; "formManager": "formManager"; }, {}, never, ["*"]>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubSectionComponent, "lib-subsection", never, { "subSection": "subSection"; "showHeader": "showHeader"; "formManager": "formManager"; }, {}, never, ["*"], false>;
11
11
  }
@@ -12,5 +12,5 @@ export declare class LibTableRecordActionComponent implements OnInit {
12
12
  onActivate(): void;
13
13
  class(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<LibTableRecordActionComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<LibTableRecordActionComponent, "lib-table-record-action", never, { "recordId": "recordId"; "recordData": "recordData"; "action": "action"; }, { "actionSelected": "actionSelected"; }, never, ["*"]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibTableRecordActionComponent, "lib-table-record-action", never, { "recordId": "recordId"; "recordData": "recordData"; "action": "action"; }, { "actionSelected": "actionSelected"; }, never, ["*"], false>;
16
16
  }
@@ -7,5 +7,5 @@ export declare class LibTableRecordFieldComponent implements OnInit {
7
7
  ngOnInit(): void;
8
8
  start(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LibTableRecordFieldComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<LibTableRecordFieldComponent, "lib-table-record-field", never, { "fieldCode": "fieldCode"; "fieldType": "fieldType"; "fieldValue": "fieldValue"; }, {}, never, ["*"]>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibTableRecordFieldComponent, "lib-table-record-field", never, { "fieldCode": "fieldCode"; "fieldType": "fieldType"; "fieldValue": "fieldValue"; }, {}, never, ["*"], false>;
11
11
  }
@@ -43,5 +43,5 @@ export declare class LibTableComponent implements OnInit {
43
43
  syncAttribute(name: string, value: any): boolean;
44
44
  filterHasChanged(column: any, values: any): void;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<LibTableComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<LibTableComponent, "lib-table", never, { "table": "table"; "tableRecords": "tableRecords"; "disabled": "disabled"; "state": "state"; "waiting": "waiting"; }, {}, never, ["*"]>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibTableComponent, "lib-table", never, { "table": "table"; "tableRecords": "tableRecords"; "disabled": "disabled"; "state": "state"; "waiting": "waiting"; }, {}, never, ["*"], false>;
47
47
  }
@@ -17,6 +17,7 @@ export declare class BasicFormComponent {
17
17
  private _originToken;
18
18
  private _formRoute;
19
19
  private _definitionObtained;
20
+ private _formSectionsCanDeactivate;
20
21
  private _formSectionsActivate;
21
22
  private _formSectionsInactivate;
22
23
  private _formActionsStart;
@@ -158,7 +159,7 @@ export declare class BasicFormComponent {
158
159
  displayActionServerError(): void;
159
160
  displayValidationServerError(): void;
160
161
  displayTableServerError(): void;
161
- showFieldInfo(fieldCode?: string, detail?: any): void;
162
+ showFieldInfo(code?: string, detail?: any): void;
162
163
  showModalDialog(title: any, body: any, options: any, callback?: any, params?: any): void;
163
164
  openUploadDialog(title: any, body: any, options: any, callback?: any, params?: any): void;
164
165
  /**
@@ -238,10 +239,12 @@ export declare class BasicFormComponent {
238
239
  /**
239
240
  * Manejo de event handlers para acciones sobre el formulario
240
241
  */
242
+ onSectionCanDeactivate(codes: string[] | string | null, callback: any, properties?: any): void;
241
243
  onSectionActivation(codes: string[] | string | null, callback: any, properties?: any): void;
242
244
  onSectionInactivation(codes: string[] | string | null, callback: any, properties?: any): void;
243
245
  onActionStart(codes: string[] | string | null, callback: any, properties?: any): void;
244
246
  onActionFinish(codes: string[] | string | null, callback: any, properties?: any): void;
247
+ verifySectionActivation(code: string): Promise<boolean>;
245
248
  launchSectionActivation(code: string): Promise<void>;
246
249
  launchSectionInactivation(code: string): Promise<void>;
247
250
  startAction(code: string): Promise<void>;
@@ -254,11 +257,11 @@ export declare class BasicFormComponent {
254
257
  onFieldInput(codes: string[] | string | null, callback: any, properties?: any): void;
255
258
  onFieldValidationStart(codes: string[] | string | null, callback: any, properties?: any): void;
256
259
  onFieldValidationFinish(codes: string[] | string | null, callback: any, properties?: any): void;
257
- startFieldInputValidation(fieldCode: string, intrinsicValidation?: boolean): Promise<boolean>;
258
- startFieldValidation(fieldCode: string, intrinsicValidation?: boolean): Promise<void>;
260
+ startFieldInputValidation(code: string, intrinsicValidation?: boolean): Promise<boolean>;
261
+ startFieldValidation(code: string, intrinsicValidation?: boolean): Promise<void>;
259
262
  startServerFieldValidation(inputField: string | FieldDescriptor): Promise<void>;
260
263
  finishFieldValidation(fieldObject: any, validationResult: boolean, serverError?: boolean): Promise<void>;
261
- continueFieldValidation(fieldCode: string): Promise<void>;
264
+ continueFieldValidation(code: string): Promise<void>;
262
265
  /**
263
266
  * Manejadores de eventos para acciones sobre Tablas
264
267
  */
@@ -343,5 +346,5 @@ export declare class BasicFormComponent {
343
346
  */
344
347
  addTableGetDataFinish(code: string, callback: any, properties?: any): void;
345
348
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicFormComponent, never>;
346
- static ɵcmp: i0.ɵɵComponentDeclaration<BasicFormComponent, "ng-component", never, {}, {}, never, ["*"]>;
349
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasicFormComponent, "ng-component", never, {}, {}, never, ["*"], false>;
347
350
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuain-ng-forms-lib",
3
- "version": "14.1.1",
3
+ "version": "14.2.14",
4
4
  "description": "Componentes y Clases Angular para la gestión de formularios TUAIN",
5
5
  "author": "Mauricio Méndez, Imix Consulting",
6
6
  "license": "MIT",
@@ -43,4 +43,4 @@
43
43
  }
44
44
  },
45
45
  "sideEffects": false
46
- }
46
+ }