@coolon/angular-ui-powerups 12.4.0-alpha.67 → 12.4.0-alpha.68
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/coolon-angular-ui-powerups.umd.js +7 -4
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/column-model.js +7 -1
- package/esm2015/lib/components/tables/table/column-model.js.map +1 -1
- package/esm2015/lib/components/tables/table/column-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js +0 -3
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.js.map +1 -1
- package/esm2015/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +7 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/tables/table/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -2940,9 +2940,6 @@
|
|
|
2940
2940
|
enumerable: false,
|
|
2941
2941
|
configurable: true
|
|
2942
2942
|
});
|
|
2943
|
-
DefaultCellRendererComponent.prototype.matches = function (row, regex) {
|
|
2944
|
-
return regex.test(row.toString());
|
|
2945
|
-
};
|
|
2946
2943
|
return DefaultCellRendererComponent;
|
|
2947
2944
|
}());
|
|
2948
2945
|
DefaultCellRendererComponent.decorators = [
|
|
@@ -3237,8 +3234,11 @@
|
|
|
3237
3234
|
function PropertyColumnModel(id, property, defaults) {
|
|
3238
3235
|
var _this = _super.call(this, id, defaults) || this;
|
|
3239
3236
|
_this.property = property;
|
|
3240
|
-
_this._format = function (value) { return value; };
|
|
3237
|
+
_this._format = function (value) { return value === null || value === void 0 ? void 0 : value.toString(); };
|
|
3241
3238
|
_this.cellRenderer(DefaultCellRendererComponent);
|
|
3239
|
+
_this.useTextSearchPredicate(function (row, regex) {
|
|
3240
|
+
return regex.test(_this._format(row[_this.property]));
|
|
3241
|
+
});
|
|
3242
3242
|
return _this;
|
|
3243
3243
|
}
|
|
3244
3244
|
PropertyColumnModel.prototype.cellRenderer = function (componentType, onComponentInitOrOptions) {
|
|
@@ -3328,6 +3328,9 @@
|
|
|
3328
3328
|
_this.property = property;
|
|
3329
3329
|
_this._format = function (value) { return value.map(function (v) { return v === null || v === void 0 ? void 0 : v.toString(); }).join(', '); };
|
|
3330
3330
|
_this.cellRenderer(DefaultCellRendererComponent);
|
|
3331
|
+
_this.useTextSearchPredicate(function (row, regex) {
|
|
3332
|
+
return regex.test(_this._format(row[_this.property]));
|
|
3333
|
+
});
|
|
3331
3334
|
return _this;
|
|
3332
3335
|
}
|
|
3333
3336
|
ListPropertyColumnModel.prototype.cellRenderer = function (componentType) {
|