@coolon/angular-ui-powerups 12.4.0-alpha.66 → 12.4.0-alpha.67

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.
@@ -2940,8 +2940,8 @@
2940
2940
  enumerable: false,
2941
2941
  configurable: true
2942
2942
  });
2943
- DefaultCellRendererComponent.prototype.matches = function (row, text) {
2944
- return row.toString().includes(text);
2943
+ DefaultCellRendererComponent.prototype.matches = function (row, regex) {
2944
+ return regex.test(row.toString());
2945
2945
  };
2946
2946
  return DefaultCellRendererComponent;
2947
2947
  }());
@@ -3926,8 +3926,11 @@
3926
3926
  _this.rowSelectionDisabledOnAllColumns = chain(_this._columnList).select(function (column) { return column.isRowSelectionEnabled(); }).count().equals(0);
3927
3927
  return _this;
3928
3928
  }
3929
- AbstractTableModel.prototype.findMatchingColumns = function (row, text) {
3930
- return this.columns.value.filter(function (c) { return c.isTextMatch(row, text); });
3929
+ AbstractTableModel.prototype.findMatchingColumns = function (row, regex) {
3930
+ return this.columns.value.filter(function (c) { return c.isTextMatch(row, regex); });
3931
+ };
3932
+ AbstractTableModel.prototype.hasMatchingColumn = function (row, regex) {
3933
+ return !!this.columns.value.find(function (c) { return c.isTextMatch(row, regex); });
3931
3934
  };
3932
3935
  AbstractTableModel.prototype.setDataSource = function (sourceOfTruth) {
3933
3936
  this._dataSource.setDelegate(sourceOfTruth);