tuain-ng-forms-lib 14.0.17 → 14.1.1
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 +5 -5
- package/esm2020/lib/components/elements/action.component.mjs +3 -3
- package/esm2020/lib/components/elements/field.component.mjs +3 -3
- package/esm2020/lib/components/elements/layout/element.component.mjs +3 -3
- package/esm2020/lib/components/elements/layout/form-error.component.mjs +3 -3
- package/esm2020/lib/components/elements/layout/form-header.component.mjs +5 -4
- package/esm2020/lib/components/elements/layout/section.component.mjs +3 -3
- package/esm2020/lib/components/elements/layout/sub-section.component.mjs +3 -3
- package/esm2020/lib/components/elements/tables/table-record-action.component.mjs +4 -4
- package/esm2020/lib/components/elements/tables/table-record-field.component.mjs +3 -3
- package/esm2020/lib/components/elements/tables/table.component.mjs +3 -3
- package/esm2020/lib/components/forms/basic-form.mjs +45 -4
- package/esm2020/lib/services/form-manager.service.mjs +2 -2
- package/esm2020/lib/tuain-ng-forms-lib.module.mjs +9 -7
- package/fesm2015/tuain-ng-forms-lib.mjs +90 -44
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +88 -44
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/classes/forms/table/table.d.ts +1 -0
- package/lib/components/elements/action.component.d.ts +1 -1
- package/lib/components/elements/field.component.d.ts +1 -1
- package/lib/components/elements/layout/element.component.d.ts +1 -1
- package/lib/components/elements/layout/form-error.component.d.ts +1 -1
- package/lib/components/elements/layout/form-header.component.d.ts +2 -2
- package/lib/components/elements/layout/section.component.d.ts +1 -1
- package/lib/components/elements/layout/sub-section.component.d.ts +1 -1
- package/lib/components/elements/tables/table-record-action.component.d.ts +3 -2
- package/lib/components/elements/tables/table-record-field.component.d.ts +1 -1
- package/lib/components/elements/tables/table.component.d.ts +1 -1
- package/lib/components/forms/basic-form.d.ts +41 -1
- package/lib/services/form-manager.service.d.ts +1 -1
- package/package.json +2 -2
|
@@ -41,9 +41,9 @@ class ActionComponent {
|
|
|
41
41
|
return !(this.action?.enabledOn(this.state));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
ActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
ActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
ActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
ActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: ActionComponent, selector: "lib-action", inputs: { action: "action", busy: "busy", relatedField: "relatedField", state: "state", style: "style", showLabel: "showLabel" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ActionComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{
|
|
49
49
|
selector: 'lib-action',
|
|
@@ -137,9 +137,9 @@ class FieldComponent {
|
|
|
137
137
|
return !this.field?.enabledOn(this.state);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
FieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
FieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
140
|
+
FieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
141
|
+
FieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: FieldComponent, selector: "lib-field", inputs: { field: "field", state: "state" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FieldComponent, decorators: [{
|
|
143
143
|
type: Component,
|
|
144
144
|
args: [{
|
|
145
145
|
selector: 'lib-field',
|
|
@@ -164,9 +164,9 @@ class ElementComponent {
|
|
|
164
164
|
return !this.element?.enabledOn(this.state);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
ElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
168
|
-
ElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
167
|
+
ElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ElementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
168
|
+
ElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: ElementComponent, selector: "lib-element", inputs: { element: "element", form: "form", state: "state" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: ElementComponent, decorators: [{
|
|
170
170
|
type: Component,
|
|
171
171
|
args: [{
|
|
172
172
|
selector: 'lib-element',
|
|
@@ -182,9 +182,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImpor
|
|
|
182
182
|
|
|
183
183
|
class FormErrorComponent {
|
|
184
184
|
}
|
|
185
|
-
FormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
186
|
-
FormErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
185
|
+
FormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FormErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
186
|
+
FormErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: FormErrorComponent, selector: "lib-form-error", inputs: { errorTitle: "errorTitle", errorMessage: "errorMessage", errorType: "errorType" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FormErrorComponent, decorators: [{
|
|
188
188
|
type: Component,
|
|
189
189
|
args: [{
|
|
190
190
|
selector: 'lib-form-error',
|
|
@@ -200,15 +200,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImpor
|
|
|
200
200
|
|
|
201
201
|
class FormHeaderComponent {
|
|
202
202
|
constructor() {
|
|
203
|
+
this.goBackAction = false;
|
|
203
204
|
this.goBackEvent = new EventEmitter();
|
|
204
205
|
}
|
|
205
206
|
goBackForm() {
|
|
206
207
|
this.goBackEvent.emit();
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
|
-
FormHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
210
|
-
FormHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
210
|
+
FormHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FormHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
211
|
+
FormHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: FormHeaderComponent, selector: "lib-form-header", inputs: { formManager: "formManager", goBackAction: "goBackAction", showTitle: "showTitle", headerActions: "headerActions" }, outputs: { goBackEvent: "goBackEvent" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: FormHeaderComponent, decorators: [{
|
|
212
213
|
type: Component,
|
|
213
214
|
args: [{
|
|
214
215
|
selector: 'lib-form-header',
|
|
@@ -232,9 +233,9 @@ class SectionComponent {
|
|
|
232
233
|
}
|
|
233
234
|
start() { }
|
|
234
235
|
}
|
|
235
|
-
SectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
236
|
-
SectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
236
|
+
SectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
237
|
+
SectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: SectionComponent, selector: "lib-section", inputs: { section: "section", formManager: "formManager" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SectionComponent, decorators: [{
|
|
238
239
|
type: Component,
|
|
239
240
|
args: [{
|
|
240
241
|
selector: 'lib-section',
|
|
@@ -252,9 +253,9 @@ class SubSectionComponent {
|
|
|
252
253
|
}
|
|
253
254
|
start() { }
|
|
254
255
|
}
|
|
255
|
-
SubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
256
|
-
SubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
256
|
+
SubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SubSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
257
|
+
SubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: SubSectionComponent, selector: "lib-subsection", inputs: { subSection: "subSection", showHeader: "showHeader", formManager: "formManager" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: SubSectionComponent, decorators: [{
|
|
258
259
|
type: Component,
|
|
259
260
|
args: [{
|
|
260
261
|
selector: 'lib-subsection',
|
|
@@ -287,9 +288,9 @@ class LibTableRecordActionComponent {
|
|
|
287
288
|
}
|
|
288
289
|
class() { }
|
|
289
290
|
}
|
|
290
|
-
LibTableRecordActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
291
|
-
LibTableRecordActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
291
|
+
LibTableRecordActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableRecordActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
292
|
+
LibTableRecordActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: LibTableRecordActionComponent, selector: "lib-table-record-action", inputs: { recordId: "recordId", recordData: "recordData", action: "action" }, outputs: { actionSelected: "actionSelected" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableRecordActionComponent, decorators: [{
|
|
293
294
|
type: Component,
|
|
294
295
|
args: [{
|
|
295
296
|
selector: 'lib-table-record-action',
|
|
@@ -312,9 +313,9 @@ class LibTableRecordFieldComponent {
|
|
|
312
313
|
}
|
|
313
314
|
start() { }
|
|
314
315
|
}
|
|
315
|
-
LibTableRecordFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
316
|
-
LibTableRecordFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
316
|
+
LibTableRecordFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableRecordFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
317
|
+
LibTableRecordFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: LibTableRecordFieldComponent, selector: "lib-table-record-field", inputs: { fieldCode: "fieldCode", fieldType: "fieldType", fieldValue: "fieldValue" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableRecordFieldComponent, decorators: [{
|
|
318
319
|
type: Component,
|
|
319
320
|
args: [{
|
|
320
321
|
selector: 'lib-table-record-field',
|
|
@@ -403,9 +404,9 @@ class LibTableComponent {
|
|
|
403
404
|
}
|
|
404
405
|
}
|
|
405
406
|
}
|
|
406
|
-
LibTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
407
|
-
LibTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
407
|
+
LibTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
408
|
+
LibTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: LibTableComponent, selector: "lib-table", inputs: { table: "table", tableRecords: "tableRecords", disabled: "disabled", state: "state", waiting: "waiting" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LibTableComponent, decorators: [{
|
|
409
410
|
type: Component,
|
|
410
411
|
args: [{
|
|
411
412
|
selector: 'lib-table',
|
|
@@ -1315,6 +1316,7 @@ class RecordTable extends FormElement {
|
|
|
1315
1316
|
}
|
|
1316
1317
|
appendRecords(records) { this.setTableRecords(records, true); }
|
|
1317
1318
|
replaceRecords(records) { this.setTableRecords(records, false); }
|
|
1319
|
+
setTableAppend(append) { this._appendPages = append; }
|
|
1318
1320
|
changePage(requestedPage) {
|
|
1319
1321
|
if (this.clientPaging) {
|
|
1320
1322
|
this.setAttr('currentPage', requestedPage);
|
|
@@ -1344,7 +1346,6 @@ class RecordTable extends FormElement {
|
|
|
1344
1346
|
}
|
|
1345
1347
|
updateFromServer(tableReceived) {
|
|
1346
1348
|
this.requestedPage = 1;
|
|
1347
|
-
this.clean();
|
|
1348
1349
|
this.visible = tableReceived?.visible || true;
|
|
1349
1350
|
this.totalPages = tableReceived.totalPages || 1;
|
|
1350
1351
|
this.recordsNumber = tableReceived.recordsNumber;
|
|
@@ -1356,7 +1357,7 @@ class RecordTable extends FormElement {
|
|
|
1356
1357
|
direction: tableReceived.sortingDirection || ''
|
|
1357
1358
|
});
|
|
1358
1359
|
this.waiting = false;
|
|
1359
|
-
if (this._appendPages) {
|
|
1360
|
+
if (!this._appendPages) {
|
|
1360
1361
|
this.replaceRecords(tableReceived.tableRecords);
|
|
1361
1362
|
}
|
|
1362
1363
|
else {
|
|
@@ -1483,8 +1484,8 @@ class RecordTable extends FormElement {
|
|
|
1483
1484
|
recordCompare(recordA, recordB, columnCompare, direction) {
|
|
1484
1485
|
const recordAValue = recordA.getFieldValue(columnCompare);
|
|
1485
1486
|
const recordBValue = recordB.getFieldValue(columnCompare);
|
|
1486
|
-
const recordAColumn = isNaN(recordAValue) ? recordAValue.toLocaleLowerCase() : recordAValue;
|
|
1487
|
-
const recordBColumn = isNaN(recordBValue) ? recordBValue.toLocaleLowerCase() : recordBValue;
|
|
1487
|
+
const recordAColumn = isNaN(recordAValue) ? recordAValue.toLocaleLowerCase() : +recordAValue;
|
|
1488
|
+
const recordBColumn = isNaN(recordBValue) ? recordBValue.toLocaleLowerCase() : +recordBValue;
|
|
1488
1489
|
let result = 0;
|
|
1489
1490
|
if (recordAColumn < recordBColumn) {
|
|
1490
1491
|
result = -1;
|
|
@@ -2125,7 +2126,7 @@ class LibFormManagerService {
|
|
|
2125
2126
|
getFormDefinition(formCode) { }
|
|
2126
2127
|
execServerAction(actionDetail) { }
|
|
2127
2128
|
goToForm(formCode, token, subject) { }
|
|
2128
|
-
loadStack() { }
|
|
2129
|
+
async loadStack() { }
|
|
2129
2130
|
saveStack() { }
|
|
2130
2131
|
cleanStack() { this.pageStack = []; }
|
|
2131
2132
|
resetPageStack() { this.cleanStack(); }
|
|
@@ -2520,6 +2521,7 @@ class BasicFormComponent {
|
|
|
2520
2521
|
get subject() { return this.formSubject ?? ''; }
|
|
2521
2522
|
// Métodos virtuales
|
|
2522
2523
|
customPreProcessing() { }
|
|
2524
|
+
start() { }
|
|
2523
2525
|
customFormStart() { }
|
|
2524
2526
|
displayActionServerError() { }
|
|
2525
2527
|
displayValidationServerError() { }
|
|
@@ -2704,6 +2706,7 @@ class BasicFormComponent {
|
|
|
2704
2706
|
this.subscribeFieldsSubjects();
|
|
2705
2707
|
this.subscribeActionSubjects();
|
|
2706
2708
|
this.subscribeTableSubjects();
|
|
2709
|
+
this.start();
|
|
2707
2710
|
this.customFormStart();
|
|
2708
2711
|
}
|
|
2709
2712
|
checkErrorRecordReceived(recordResponse) {
|
|
@@ -3586,49 +3589,88 @@ class BasicFormComponent {
|
|
|
3586
3589
|
/**
|
|
3587
3590
|
* Métodos Legacy de compatibilidad hacia atrás
|
|
3588
3591
|
*/
|
|
3592
|
+
/**
|
|
3593
|
+
* @deprecated Use onSectionActivation
|
|
3594
|
+
*/
|
|
3589
3595
|
addSectionActivation(codes, callback, properties = null) {
|
|
3590
3596
|
return this.onSectionActivation(codes, callback, properties);
|
|
3591
3597
|
}
|
|
3598
|
+
/**
|
|
3599
|
+
* @deprecated Use onSectionInactivation
|
|
3600
|
+
*/
|
|
3592
3601
|
addSectionInactivation(codes, callback, properties = null) {
|
|
3593
3602
|
return this.onSectionInactivation(codes, callback, properties);
|
|
3594
3603
|
}
|
|
3604
|
+
/**
|
|
3605
|
+
* @deprecated Use onActionStart
|
|
3606
|
+
*/
|
|
3595
3607
|
addActionMethodStart(codes, callback, properties = null) {
|
|
3596
3608
|
return this.onActionStart(codes, callback, properties);
|
|
3597
3609
|
}
|
|
3610
|
+
/**
|
|
3611
|
+
* @deprecated Use onActionFinish
|
|
3612
|
+
*/
|
|
3598
3613
|
addActionMethodFinish(codes, callback, properties = null) {
|
|
3599
3614
|
return this.onActionFinish(codes, callback, properties);
|
|
3600
3615
|
}
|
|
3616
|
+
/**
|
|
3617
|
+
* @deprecated Use onFieldInput
|
|
3618
|
+
*/
|
|
3601
3619
|
addFieldInputValidation(codes, callback, properties = null) {
|
|
3602
3620
|
return this.onFieldInput(codes, callback, properties);
|
|
3603
3621
|
}
|
|
3622
|
+
/**
|
|
3623
|
+
* @deprecated Use onFieldValidationStart
|
|
3624
|
+
*/
|
|
3604
3625
|
addFieldValidationStart(codes, callback, properties = null) {
|
|
3605
3626
|
return this.onFieldValidationStart(codes, callback, properties);
|
|
3606
3627
|
}
|
|
3628
|
+
/**
|
|
3629
|
+
* @deprecated Use onFieldValidationFinish
|
|
3630
|
+
*/
|
|
3607
3631
|
addFieldValidationFinish(codes, callback, properties = null) {
|
|
3608
3632
|
return this.onFieldValidationFinish(codes, callback, properties);
|
|
3609
3633
|
}
|
|
3634
|
+
/**
|
|
3635
|
+
* @deprecated Use onTableActionStart
|
|
3636
|
+
*/
|
|
3610
3637
|
addTableActionStart(code, actionCode, callback, properties = null) {
|
|
3611
3638
|
return this.onTableActionStart(code, actionCode, callback, properties);
|
|
3612
3639
|
}
|
|
3640
|
+
/**
|
|
3641
|
+
* @deprecated Use onTableActionFinish
|
|
3642
|
+
*/
|
|
3613
3643
|
addTableActionFinish(code, actionCode, callback, properties = null) {
|
|
3614
3644
|
return this.onTableActionFinish(code, actionCode, callback, properties);
|
|
3615
3645
|
}
|
|
3646
|
+
/**
|
|
3647
|
+
* @deprecated Use onTableSelectionStart
|
|
3648
|
+
*/
|
|
3616
3649
|
addTableSelectionStart(code, callback, properties = null) {
|
|
3617
3650
|
return this.onTableSelectionStart(code, callback, properties);
|
|
3618
3651
|
}
|
|
3652
|
+
/**
|
|
3653
|
+
* @deprecated Use onTableSelectionFinish
|
|
3654
|
+
*/
|
|
3619
3655
|
addTableSelectionFinish(code, callback, properties = null) {
|
|
3620
3656
|
return this.onTableSelectionFinish(code, callback, properties);
|
|
3621
3657
|
}
|
|
3658
|
+
/**
|
|
3659
|
+
* @deprecated Use onTableGetDataStart
|
|
3660
|
+
*/
|
|
3622
3661
|
addTableGetDataStart(code, callback, properties = null) {
|
|
3623
3662
|
return this.onTableGetDataStart(code, callback, properties);
|
|
3624
3663
|
}
|
|
3664
|
+
/**
|
|
3665
|
+
* @deprecated Use onTableGetDataFinish
|
|
3666
|
+
*/
|
|
3625
3667
|
addTableGetDataFinish(code, callback, properties = null) {
|
|
3626
3668
|
return this.onTableGetDataFinish(code, callback, properties);
|
|
3627
3669
|
}
|
|
3628
3670
|
}
|
|
3629
|
-
BasicFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3630
|
-
BasicFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3671
|
+
BasicFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BasicFormComponent, deps: [{ token: LibFormManagerService }, { token: LibEventManagerService }, { token: LibFileManagementService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3672
|
+
BasicFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: BasicFormComponent, selector: "ng-component", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
3673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: BasicFormComponent, decorators: [{
|
|
3632
3674
|
type: Component,
|
|
3633
3675
|
args: [{
|
|
3634
3676
|
template: `<ng-content></ng-content>`
|
|
@@ -3650,8 +3692,8 @@ const COMPONENTS = [
|
|
|
3650
3692
|
];
|
|
3651
3693
|
class TuainNgFormsLibModule {
|
|
3652
3694
|
}
|
|
3653
|
-
TuainNgFormsLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3654
|
-
TuainNgFormsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3695
|
+
TuainNgFormsLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TuainNgFormsLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3696
|
+
TuainNgFormsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TuainNgFormsLibModule, declarations: [BasicFormComponent,
|
|
3655
3697
|
ActionComponent,
|
|
3656
3698
|
FieldComponent,
|
|
3657
3699
|
ElementComponent,
|
|
@@ -3674,10 +3716,12 @@ TuainNgFormsLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", v
|
|
|
3674
3716
|
LibTableRecordActionComponent,
|
|
3675
3717
|
LibTableRecordFieldComponent,
|
|
3676
3718
|
LibTableComponent] });
|
|
3677
|
-
TuainNgFormsLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3719
|
+
TuainNgFormsLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TuainNgFormsLibModule, imports: [[
|
|
3720
|
+
CommonModule,
|
|
3721
|
+
RouterModule,
|
|
3722
|
+
FormsModule,
|
|
3723
|
+
]] });
|
|
3724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: TuainNgFormsLibModule, decorators: [{
|
|
3681
3725
|
type: NgModule,
|
|
3682
3726
|
args: [{
|
|
3683
3727
|
declarations: COMPONENTS,
|