@churchillliving/se-ui-toolkit 6.53.336 → 6.53.338

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.
@@ -5749,16 +5749,25 @@
5749
5749
  };
5750
5750
  GridComponent.prototype.setFilterFocusOut = function (col, filter, event) {
5751
5751
  var _this = this;
5752
- setTimeout(function () {
5753
- _this.gridFilterObj = { column: col, filter: filter, event: event };
5754
- var newColumn = Object.assign({}, col);
5755
- //change filter calender format
5756
- if (newColumn.type === 'date' && newColumn.value) {
5757
- newColumn.value = _this.datePipe.transform(col.value.toString().trim(), 'yyyy-MM-dd');
5758
- }
5759
- _this.filterObj(newColumn);
5760
- localStorage.setItem('applyFilter', JSON.stringify(false));
5761
- }, col.type === exports.EGridColumnType.LOOKUP_INPUT ? 250 : 0);
5752
+ var _a;
5753
+ if (((_a = col === null || col === void 0 ? void 0 : col.filter) === null || _a === void 0 ? void 0 : _a.type) === exports.GridFilterControlType.LOOKUP_INPUT) {
5754
+ setTimeout(function () {
5755
+ _this.setGridFilter(col, filter, event);
5756
+ }, 250);
5757
+ }
5758
+ else {
5759
+ this.setGridFilter(col, filter, event);
5760
+ }
5761
+ };
5762
+ GridComponent.prototype.setGridFilter = function (col, filter, event) {
5763
+ this.gridFilterObj = { column: col, filter: filter, event: event };
5764
+ var newColumn = Object.assign({}, col);
5765
+ //change filter calender format
5766
+ if (newColumn.type === 'date' && newColumn.value) {
5767
+ newColumn.value = this.datePipe.transform(col.value.toString().trim(), 'yyyy-MM-dd');
5768
+ }
5769
+ this.filterObj(newColumn);
5770
+ localStorage.setItem('applyFilter', JSON.stringify(false));
5762
5771
  };
5763
5772
  GridComponent.prototype.filterObj = function (col) {
5764
5773
  var obj = {