@churchillliving/se-ui-toolkit 6.53.37 → 6.53.40

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.
@@ -8335,7 +8335,7 @@
8335
8335
  // change calendar format on run time if user type date on the calendar field.
8336
8336
  SeGlobalFilterComponent.prototype.calendarFocusEvent = function (globalFilter, event) {
8337
8337
  var _this = this;
8338
- var _a, _b, _c;
8338
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
8339
8339
  if (((_b = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length) === 0 && globalFilter.type === exports.GridFilterControlType.DATE_RANGE) {
8340
8340
  this.setDateRangeValue(globalFilter, true);
8341
8341
  }
@@ -8353,6 +8353,10 @@
8353
8353
  _this.calendarFormat = 'mm/dd/y';
8354
8354
  }
8355
8355
  });
8356
+ var yearValue = (_f = (_e = (_d = event === null || event === void 0 ? void 0 : event.target) === null || _d === void 0 ? void 0 : _d.value) === null || _e === void 0 ? void 0 : _e.toString()) === null || _f === void 0 ? void 0 : _f.split('/')[4];
8357
+ if ((((_h = (_g = event === null || event === void 0 ? void 0 : event.target) === null || _g === void 0 ? void 0 : _g.value) === null || _h === void 0 ? void 0 : _h.length) === 0 || yearValue == undefined || ((_j = yearValue === null || yearValue === void 0 ? void 0 : yearValue.toString()) === null || _j === void 0 ? void 0 : _j.length) === 1) && globalFilter.type === exports.GridFilterControlType.DATE_RANGE) {
8358
+ this.setDateRangeValue(globalFilter, true);
8359
+ }
8356
8360
  };
8357
8361
  SeGlobalFilterComponent.prototype.checkFilterValidation = function (removeError) {
8358
8362
  if (removeError === void 0) { removeError = false; }