@churchillliving/se-ui-toolkit 6.53.181 → 6.53.183

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.
@@ -3300,6 +3300,7 @@
3300
3300
  this.editModeunCkecked = false;
3301
3301
  this.calendarFormat = 'mm/dd/y';
3302
3302
  this.setDropdownFilter = true;
3303
+ this.setDropdowndataValue = true;
3303
3304
  // apply checked/unChecked prop for CheckBox of the Table
3304
3305
  this.checked = true;
3305
3306
  this.unChecked = false;
@@ -3475,7 +3476,7 @@
3475
3476
  }, 0);
3476
3477
  if (this.columns && this.columns.length > 0) {
3477
3478
  this.columns.forEach(function (column) {
3478
- if (column.type === exports.EGridColumnType.DROPDOWN) {
3479
+ if (column.type === exports.EGridColumnType.DROPDOWN && _this.setDropdowndataValue) {
3479
3480
  _this.setDropdownValue(column, {}, false);
3480
3481
  }
3481
3482
  });
@@ -3869,6 +3870,7 @@
3869
3870
  }
3870
3871
  }, 500);
3871
3872
  }
3873
+ this.setDropdowndataValue = true;
3872
3874
  var globalSearchbtn = document.getElementById('globalSearchbtn');
3873
3875
  if (globalSearchbtn) {
3874
3876
  this.searchGridFilter = false;
@@ -5331,6 +5333,7 @@
5331
5333
  if (column.onChange) {
5332
5334
  column.onChange(row);
5333
5335
  }
5336
+ this.setDropdowndataValue = false;
5334
5337
  this.rowsChange.emit(this.rowsData);
5335
5338
  };
5336
5339
  GridComponent.prototype.checkBoxChangeEvent = function (event, column, row) {
@@ -8589,12 +8592,18 @@
8589
8592
  setTimeout(function () {
8590
8593
  // spliting date range value and assign to value and valueTwo in Date_Range Control
8591
8594
  var dateRangeFilter = _this.globalFilters.filter(function (filter) { return filter.type === exports.GridFilterControlType.DATE_RANGE; });
8592
- dateRangeFilter.forEach(function (dateRange) {
8595
+ dateRangeFilter === null || dateRangeFilter === void 0 ? void 0 : dateRangeFilter.forEach(function (dateRange) {
8593
8596
  var _a, _b;
8594
8597
  if (dateRange.value && dateRange.valueTwo) {
8595
8598
  dateRange.value = (_b = (_a = (dateRange.value + "-" + dateRange.valueTwo)) === null || _a === void 0 ? void 0 : _a.toString()) === null || _b === void 0 ? void 0 : _b.split('-');
8596
8599
  _this.setDateRangeFilterValue(dateRange);
8597
8600
  }
8601
+ else if (dateRange.value && !dateRange.valueTwo) {
8602
+ _this.matchSameFields(dateRange.fromField, dateRange.value, 'gte');
8603
+ }
8604
+ else if (!dateRange.value && dateRange.valueTwo) {
8605
+ _this.matchSameFields(dateRange.fromField, dateRange.valueTwo, 'gte');
8606
+ }
8598
8607
  });
8599
8608
  // Filtring Numeric Range controls on global filter
8600
8609
  var numerRangeFilter = _this.globalFilters.filter(function (filter) { return filter.type === exports.GridFilterControlType.NUMERIC_RANGE; });