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.
@@ -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