tuain-ng-forms-lib 12.0.88 → 12.0.91
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/bundles/tuain-ng-forms-lib.umd.js +8 -1
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/classes/forms/element.js +1 -1
- package/esm2015/lib/classes/forms/field.js +5 -2
- package/esm2015/lib/components/elements/tables/table.component.js +5 -1
- package/fesm2015/tuain-ng-forms-lib.js +8 -1
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/classes/forms/element.d.ts +1 -1
- package/lib/components/elements/tables/table.component.d.ts +1 -0
- package/package.json +1 -1
- package/tuain-ng-forms-lib.metadata.json +1 -1
|
@@ -711,6 +711,7 @@
|
|
|
711
711
|
this.start();
|
|
712
712
|
};
|
|
713
713
|
LibTableComponent.prototype.start = function () { };
|
|
714
|
+
LibTableComponent.prototype.updateTableData = function () { };
|
|
714
715
|
LibTableComponent.prototype.tableGlobalAction = function (actionCode) { this.table.notifyGlobalAction(actionCode); };
|
|
715
716
|
LibTableComponent.prototype.tableSelectionAction = function (actionCode) { this.table.notifySelectionAction(actionCode); };
|
|
716
717
|
LibTableComponent.prototype.tableActionSelected = function (actionEvent) { this.table.notifyInlineAction(actionEvent); };
|
|
@@ -725,6 +726,9 @@
|
|
|
725
726
|
LibTableComponent.prototype.globalFilterChanged = function () { var _a, _b; this.table.setGlobalFilterString((_b = (_a = this.globalFilterString) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : ''); };
|
|
726
727
|
LibTableComponent.prototype.syncAttribute = function (name, value) {
|
|
727
728
|
try {
|
|
729
|
+
if (name === 'visibleRecords') {
|
|
730
|
+
this.updateTableData();
|
|
731
|
+
}
|
|
728
732
|
this[name] = value;
|
|
729
733
|
return true;
|
|
730
734
|
}
|
|
@@ -1271,7 +1275,10 @@
|
|
|
1271
1275
|
FieldDescriptor.prototype.setValue = function (newValue, widgetUpdate) {
|
|
1272
1276
|
if (widgetUpdate === void 0) { widgetUpdate = true; }
|
|
1273
1277
|
var _a;
|
|
1274
|
-
if (typeof newValue === UNDEFINED
|
|
1278
|
+
if (typeof newValue === UNDEFINED) {
|
|
1279
|
+
return true;
|
|
1280
|
+
}
|
|
1281
|
+
if (newValue === null && this.required) {
|
|
1275
1282
|
return true;
|
|
1276
1283
|
}
|
|
1277
1284
|
var newFinalValue;
|