@sd-angular/core 1.1.94 → 1.1.95

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.
@@ -1663,15 +1663,21 @@
1663
1663
  _prefix$1.set(this, 'a1e67660-8aa2-4c11-b02d-71a32188719f');
1664
1664
  _cache$1.set(this, {});
1665
1665
  this.transform = function (value, column) { return __awaiter(_this, void 0, void 0, function () {
1666
- var _a, _b, _c, _d, _e, _f, items, valueField, displayField, key, values;
1666
+ var _a, _b, _c, _d, _e, _f, items, valueField, displayField, remain, key, values;
1667
1667
  return __generator(this, function (_g) {
1668
1668
  switch (_g.label) {
1669
1669
  case 0:
1670
1670
  if (column.type !== 'values' || !((_a = column.option) === null || _a === void 0 ? void 0 : _a.items) || !((_b = column.option) === null || _b === void 0 ? void 0 : _b.valueField) || !((_c = column.option) === null || _c === void 0 ? void 0 : _c.displayField)) {
1671
1671
  return [2 /*return*/, value];
1672
1672
  }
1673
- _f = column.option, items = _f.items, valueField = _f.valueField, displayField = _f.displayField;
1674
- key = hash__namespace(Object.assign(Object.assign({ prefix: __classPrivateFieldGet(this, _prefix$1) }, column), { value: value }));
1673
+ _f = column.option, items = _f.items, valueField = _f.valueField, displayField = _f.displayField, remain = __rest(_f, ["items", "valueField", "displayField"]);
1674
+ key = hash__namespace({
1675
+ prefix: __classPrivateFieldGet(this, _prefix$1),
1676
+ valueField: valueField,
1677
+ displayField: displayField,
1678
+ remain: remain,
1679
+ value: value
1680
+ });
1675
1681
  if (!(typeof (items) === 'function')) return [3 /*break*/, 3];
1676
1682
  if (!!__classPrivateFieldGet(this, _cache$1)[key]) return [3 /*break*/, 2];
1677
1683
  return [4 /*yield*/, items(value, true)];