tuain-ng-forms-lib 12.0.74 → 12.0.75
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 +2 -0
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/classes/forms/table/table.js +3 -1
- package/esm2015/lib/components/elements/tables/table.component.js +1 -1
- package/fesm2015/tuain-ng-forms-lib.js +2 -0
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/classes/forms/table/table.d.ts +2 -0
- 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
|
@@ -1567,6 +1567,7 @@
|
|
|
1567
1567
|
_this.setAttr('globalSearch', (_f = tableReceived === null || tableReceived === void 0 ? void 0 : tableReceived.simpleFilter) !== null && _f !== void 0 ? _f : false);
|
|
1568
1568
|
_this.setAttr('sorting', { columnName: '', direction: '' });
|
|
1569
1569
|
_this.setAttr('recordsPerPage', formConfig.defaultRecordsPerPage);
|
|
1570
|
+
_this.setAttr('layout', '');
|
|
1570
1571
|
if (tableReceived.fields) {
|
|
1571
1572
|
var columns = [];
|
|
1572
1573
|
try {
|
|
@@ -1660,6 +1661,7 @@
|
|
|
1660
1661
|
enumerable: false,
|
|
1661
1662
|
configurable: true
|
|
1662
1663
|
});
|
|
1664
|
+
RecordTable.prototype.setLayout = function (layout) { this.setAttr('layout', layout); };
|
|
1663
1665
|
RecordTable.prototype.hasActions = function () { return (this._actions.length > 0); };
|
|
1664
1666
|
RecordTable.prototype.getSelectedRecords = function () { return this.tableRecords.filter(function (rec) { return rec.selected; }).map(function (rec) { return rec.recordId; }); };
|
|
1665
1667
|
RecordTable.prototype.activateGlobalSearch = function () { this.globalSearch = true; };
|