@churchillliving/se-ui-toolkit 6.53.267 → 6.53.268

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.
@@ -2453,7 +2453,7 @@
2453
2453
  field: field,
2454
2454
  matchMode: 'equals',
2455
2455
  operator: 'and',
2456
- value: value.value ? 1 : 0,
2456
+ value: value.value ? true : false,
2457
2457
  tableAlias: _this.setTableAlias(field, columns),
2458
2458
  });
2459
2459
  break;
@@ -4050,11 +4050,14 @@
4050
4050
  searchFilters.filters.length > 0) {
4051
4051
  searchFilters.filters.forEach(function (x) {
4052
4052
  var _a;
4053
- if (x.value && x.field === column.field) {
4054
- if (((_a = column === null || column === void 0 ? void 0 : column.filter) === null || _a === void 0 ? void 0 : _a.type) === 'calendar') {
4053
+ if (x.field === column.field) {
4054
+ if (((_a = column === null || column === void 0 ? void 0 : column.filter) === null || _a === void 0 ? void 0 : _a.type) === 'calendar' && x.value) {
4055
4055
  column.value = new Date(_this.datePipe.transform(x.value, 'MM-dd-YY'));
4056
4056
  }
4057
- else {
4057
+ else if (column.type === exports.EGridColumnType.BOOLEAN) {
4058
+ column.value = x.value;
4059
+ }
4060
+ else if (x.value) {
4058
4061
  column.value = x.value;
4059
4062
  }
4060
4063
  }
@@ -4562,7 +4565,7 @@
4562
4565
  var _this = this;
4563
4566
  this.gridfilter = event;
4564
4567
  setTimeout(function () {
4565
- var _a, _b, _c, _d, _e, _f;
4568
+ var _a, _b, _c, _d, _e, _f, _g;
4566
4569
  if (_this.selectedColumns && _this.selectedColumns.length > 0) {
4567
4570
  _this.selectedColumns.forEach(function (x) {
4568
4571
  if (event.filters[x.field]) {
@@ -4587,6 +4590,9 @@
4587
4590
  _this.gridService.softCachingFilters[((_f = _this.componentTableRef) === null || _f === void 0 ? void 0 : _f.id) + currentUrl()] = _this.serverFilters;
4588
4591
  }
4589
4592
  }
4593
+ else {
4594
+ _this.gridService.softCachingFilters[((_g = _this.componentTableRef) === null || _g === void 0 ? void 0 : _g.id) + currentUrl()] = {};
4595
+ }
4590
4596
  var serverFilterValues = JSON.parse(JSON.stringify(_this.serverFilters));
4591
4597
  serverFilterValues.filters = (_this.serverFilters.filters || []).concat(_this.globalData);
4592
4598
  _this.isCheckBoxChangeEventCalled = false;