tuain-ng-forms-lib 15.1.8 → 15.1.10
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/components/elements/field.component.mjs +5 -5
- package/esm2020/lib/components/elements/layout/section.component.mjs +5 -5
- package/esm2020/lib/components/elements/layout/sub-section.component.mjs +5 -5
- package/esm2020/lib/components/elements/tables/table.component.mjs +5 -5
- package/esm2020/lib/components/forms/basic-form.mjs +1 -1
- package/fesm2015/tuain-ng-forms-lib.mjs +16 -16
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +16 -16
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/components/forms/basic-form.d.ts +23 -23
- package/package.json +1 -1
|
@@ -159,10 +159,10 @@ class FieldComponent extends ElementComponent {
|
|
|
159
159
|
console.log('FieldComponent attributeChange');
|
|
160
160
|
console.log(event);
|
|
161
161
|
const { name: componentAttr, value = null } = event ?? {};
|
|
162
|
-
if (componentAttr) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
162
|
+
// if (componentAttr) {
|
|
163
|
+
this.defaultProcessAttributeChange(componentAttr, value);
|
|
164
|
+
this.customProcessAttributeChange(componentAttr, value);
|
|
165
|
+
// }
|
|
166
166
|
});
|
|
167
167
|
if (this.field) {
|
|
168
168
|
this.field.widget = this;
|
|
@@ -267,10 +267,10 @@ class SectionComponent extends PieceComponent {
|
|
|
267
267
|
console.log('SectionComponent attributeChange');
|
|
268
268
|
console.log(event);
|
|
269
269
|
const { name: attrName, value = null } = event ?? {};
|
|
270
|
-
if (attrName) {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
270
|
+
// if (attrName) {
|
|
271
|
+
this.defaultProcessAttributeChange(attrName, value);
|
|
272
|
+
this.customProcessAttributeChange(attrName, value);
|
|
273
|
+
// }
|
|
274
274
|
});
|
|
275
275
|
this.start();
|
|
276
276
|
}
|
|
@@ -305,10 +305,10 @@ class SubSectionComponent extends PieceComponent {
|
|
|
305
305
|
console.log('SubSectionComponent attributeChange');
|
|
306
306
|
console.log(event);
|
|
307
307
|
const { name: attrName, value = null } = event ?? {};
|
|
308
|
-
if (attrName) {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}
|
|
308
|
+
// if (attrName) {
|
|
309
|
+
this.defaultProcessAttributeChange(attrName, value);
|
|
310
|
+
this.customProcessAttributeChange(attrName, value);
|
|
311
|
+
// }
|
|
312
312
|
});
|
|
313
313
|
this.start();
|
|
314
314
|
}
|
|
@@ -457,10 +457,10 @@ class LibTableComponent extends ElementComponent {
|
|
|
457
457
|
console.log('LibTableComponent attributeChange');
|
|
458
458
|
console.log(event);
|
|
459
459
|
const { name: attrName, value = null } = event ?? {};
|
|
460
|
-
if (attrName) {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
}
|
|
460
|
+
// if (attrName) {
|
|
461
|
+
this.defaultProcessAttributeChange(attrName, value);
|
|
462
|
+
this.customProcessAttributeChange(attrName, value);
|
|
463
|
+
// }
|
|
464
464
|
});
|
|
465
465
|
this.start();
|
|
466
466
|
}
|