@uxf/data-grid 11.48.3 → 11.48.4
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.
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const filter_nullish_1 = require("@uxf/core/utils/filter-nullish");
|
|
7
|
+
const is_empty_1 = require("@uxf/core/utils/is-empty");
|
|
7
8
|
const is_nil_1 = require("@uxf/core/utils/is-nil");
|
|
8
9
|
const chip_1 = require("@uxf/ui/chip");
|
|
9
10
|
const text_input_1 = require("@uxf/ui/text-input");
|
|
@@ -29,7 +30,8 @@ const filterHandler = {
|
|
|
29
30
|
},
|
|
30
31
|
ListItem: function (props) {
|
|
31
32
|
var _a, _b;
|
|
32
|
-
if ((0, is_nil_1.isNil)((_a = props.value) === null || _a === void 0 ? void 0 : _a.from)
|
|
33
|
+
if (((0, is_nil_1.isNil)((_a = props.value) === null || _a === void 0 ? void 0 : _a.from) || (0, is_empty_1.isEmpty)(props.value.from)) &&
|
|
34
|
+
((0, is_nil_1.isNil)((_b = props.value) === null || _b === void 0 ? void 0 : _b.to) || (0, is_empty_1.isEmpty)(props.value.to))) {
|
|
33
35
|
return null;
|
|
34
36
|
}
|
|
35
37
|
const interval = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/data-grid",
|
|
3
|
-
"version": "11.48.
|
|
3
|
+
"version": "11.48.4",
|
|
4
4
|
"description": "UXF DataGrid",
|
|
5
5
|
"homepage": "https://gitlab.com/uxf-npm/data-grid#readme",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@uxf/core": "11.47.0",
|
|
35
35
|
"@uxf/core-react": "11.47.0",
|
|
36
|
-
"@uxf/ui": "11.48.
|
|
36
|
+
"@uxf/ui": "11.48.4",
|
|
37
37
|
"dayjs": "1.11.13",
|
|
38
38
|
"deepmerge": "4.3.1",
|
|
39
39
|
"fast-glob": "3.3.2",
|