@churchillliving/se-ui-toolkit 6.53.181 → 6.53.182
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 +7 -1
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/shared/global-filters/global-filters.component.js +8 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +7 -1
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -8589,12 +8589,18 @@
|
|
|
8589
8589
|
setTimeout(function () {
|
|
8590
8590
|
// spliting date range value and assign to value and valueTwo in Date_Range Control
|
|
8591
8591
|
var dateRangeFilter = _this.globalFilters.filter(function (filter) { return filter.type === exports.GridFilterControlType.DATE_RANGE; });
|
|
8592
|
-
dateRangeFilter.forEach(function (dateRange) {
|
|
8592
|
+
dateRangeFilter === null || dateRangeFilter === void 0 ? void 0 : dateRangeFilter.forEach(function (dateRange) {
|
|
8593
8593
|
var _a, _b;
|
|
8594
8594
|
if (dateRange.value && dateRange.valueTwo) {
|
|
8595
8595
|
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
8596
|
_this.setDateRangeFilterValue(dateRange);
|
|
8597
8597
|
}
|
|
8598
|
+
else if (dateRange.value && !dateRange.valueTwo) {
|
|
8599
|
+
_this.matchSameFields(dateRange.fromField, dateRange.value, 'gte');
|
|
8600
|
+
}
|
|
8601
|
+
else if (!dateRange.value && dateRange.valueTwo) {
|
|
8602
|
+
_this.matchSameFields(dateRange.fromField, dateRange.valueTwo, 'gte');
|
|
8603
|
+
}
|
|
8598
8604
|
});
|
|
8599
8605
|
// Filtring Numeric Range controls on global filter
|
|
8600
8606
|
var numerRangeFilter = _this.globalFilters.filter(function (filter) { return filter.type === exports.GridFilterControlType.NUMERIC_RANGE; });
|