@easydata/crud 1.4.2-rc01 → 1.4.2

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.
@@ -1564,6 +1564,10 @@ var DomSelectElementBuilder = /** @class */ (function (_super) {
1564
1564
  this.element.appendChild(option);
1565
1565
  return this;
1566
1566
  };
1567
+ DomSelectElementBuilder.prototype.value = function (value) {
1568
+ this.element.value = value;
1569
+ return this;
1570
+ };
1567
1571
  return DomSelectElementBuilder;
1568
1572
  }(DomElementBuilder));
1569
1573
 
@@ -5570,7 +5574,7 @@ var TextDataFilter = /** @class */ (function () {
5570
5574
  }
5571
5575
  var words = _this.filterValue.split('||').map(function (w) { return w.trim().toLowerCase(); });
5572
5576
  var suitableColumns = _this.sourceTable.columns.getItems()
5573
- .filter(function (col) { return _easydata_core__WEBPACK_IMPORTED_MODULE_0__["utils"].isIntType(col.type)
5577
+ .filter(function (col) { return _easydata_core__WEBPACK_IMPORTED_MODULE_0__["utils"].isNumericType(col.type)
5574
5578
  || _easydata_core__WEBPACK_IMPORTED_MODULE_0__["utils"].getStringDataTypes().indexOf(col.type) >= 0; });
5575
5579
  var hasEnterance = function (row) {
5576
5580
  for (var _i = 0, suitableColumns_1 = suitableColumns; _i < suitableColumns_1.length; _i++) {
@@ -11577,7 +11581,7 @@ var text_filter_widget_TextFilterWidget = /** @class */ (function () {
11577
11581
  }
11578
11582
  };
11579
11583
  TextFilterWidget.prototype.highlightCellRenderer = function (defaultRenderer, value, column, cellElement, rowElement) {
11580
- if (public_api["utils"].isIntType(column.type)
11584
+ if (public_api["utils"].isNumericType(column.type)
11581
11585
  || public_api["utils"].getStringDataTypes().indexOf(column.type) >= 0) {
11582
11586
  if (value) {
11583
11587
  if (column.dataColumn && column.dataColumn.displayFormat
@@ -11955,6 +11959,7 @@ var entity_form_builder_EntityEditFormBuilder = /** @class */ (function () {
11955
11959
  });
11956
11960
  }
11957
11961
  }
11962
+ b.value(value);
11958
11963
  }); });
11959
11964
  };
11960
11965
  EntityEditFormBuilder.prototype.setupFileField = function (parent, attr, readOnly, accept) {