@churchillliving/se-ui-toolkit 6.53.167 → 6.53.169
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/churchillliving-se-ui-toolkit.umd.js +13 -5
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +14 -6
- package/fesm2015/churchillliving-se-ui-toolkit.js +13 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -3700,7 +3700,15 @@
|
|
|
3700
3700
|
this.hideFilter = true;
|
|
3701
3701
|
}
|
|
3702
3702
|
this.columns.forEach(function (column) {
|
|
3703
|
-
var _a, _b, _c, _d;
|
|
3703
|
+
var _a, _b, _c, _d, _e;
|
|
3704
|
+
// set numeric null or undefine data default value
|
|
3705
|
+
if (column.type === exports.EGridColumnType.NUMERIC && column.value && ((_a = _this.rowsData) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
3706
|
+
_this.rowsData.forEach(function (row) {
|
|
3707
|
+
if (column.value && (row[column.field] === null || row[column.field] === undefined)) {
|
|
3708
|
+
row[column.field] = column.value;
|
|
3709
|
+
}
|
|
3710
|
+
});
|
|
3711
|
+
}
|
|
3704
3712
|
// convert string time into the date
|
|
3705
3713
|
if (column.type === exports.EGridColumnType.DATE && column.timeOnly === true) {
|
|
3706
3714
|
_this.rowsData.forEach(function (row) {
|
|
@@ -3730,11 +3738,11 @@
|
|
|
3730
3738
|
_this.setAggregateText(column);
|
|
3731
3739
|
}
|
|
3732
3740
|
var searchFilters;
|
|
3733
|
-
if (!_this.softCaching && ((
|
|
3734
|
-
searchFilters = JSON.parse(localStorage.getItem('SetFilters-' + ((
|
|
3741
|
+
if (!_this.softCaching && ((_b = _this.componentTableRef) === null || _b === void 0 ? void 0 : _b.id)) {
|
|
3742
|
+
searchFilters = JSON.parse(localStorage.getItem('SetFilters-' + ((_c = _this.componentTableRef) === null || _c === void 0 ? void 0 : _c.id) + currentUrl()));
|
|
3735
3743
|
}
|
|
3736
|
-
else if ((
|
|
3737
|
-
searchFilters = _this.gridService.softCachingFilters[((
|
|
3744
|
+
else if ((_d = _this.componentTableRef) === null || _d === void 0 ? void 0 : _d.id) {
|
|
3745
|
+
searchFilters = _this.gridService.softCachingFilters[((_e = _this.componentTableRef) === null || _e === void 0 ? void 0 : _e.id) + currentUrl()];
|
|
3738
3746
|
}
|
|
3739
3747
|
if (!_this.hideFilter &&
|
|
3740
3748
|
searchFilters &&
|