tuain-ng-forms-lib 12.0.61 → 12.0.62
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 +12 -0
- package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
- package/esm2015/lib/classes/forms/table/column.js +9 -1
- package/fesm2015/tuain-ng-forms-lib.js +8 -0
- package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
- package/lib/classes/forms/table/column.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1286,6 +1286,7 @@
|
|
|
1286
1286
|
function RecordTableColumn(recTableColReceived, formConfig) {
|
|
1287
1287
|
var _a, _b, _c;
|
|
1288
1288
|
this._formConfig = formConfig;
|
|
1289
|
+
this.filterDef = null;
|
|
1289
1290
|
if (recTableColReceived) {
|
|
1290
1291
|
this.fieldCode = recTableColReceived.fieldCode;
|
|
1291
1292
|
this.fieldTitle = recTableColReceived.fieldTitle;
|
|
@@ -1329,6 +1330,17 @@
|
|
|
1329
1330
|
RecordTableColumn.prototype.removeFilter = function () {
|
|
1330
1331
|
this.filterSetup = null;
|
|
1331
1332
|
};
|
|
1333
|
+
Object.defineProperty(RecordTableColumn.prototype, "options", {
|
|
1334
|
+
get: function () {
|
|
1335
|
+
var _a, _b, _c, _d;
|
|
1336
|
+
if (((_b = (_a = this.filterDef) === null || _a === void 0 ? void 0 : _a.operators) === null || _b === void 0 ? void 0 : _b.length) === 1 && ((_c = this.filterDef) === null || _c === void 0 ? void 0 : _c.operators[0]) === 'IN') {
|
|
1337
|
+
return (_d = this.filterDef) === null || _d === void 0 ? void 0 : _d.options;
|
|
1338
|
+
}
|
|
1339
|
+
return null;
|
|
1340
|
+
},
|
|
1341
|
+
enumerable: false,
|
|
1342
|
+
configurable: true
|
|
1343
|
+
});
|
|
1332
1344
|
return RecordTableColumn;
|
|
1333
1345
|
}());
|
|
1334
1346
|
|