@progress/kendo-react-grid 11.0.0-develop.5 → 11.0.0-develop.7
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/GridComponent.js +1 -1
- package/GridComponent.mjs +317 -303
- package/cells/GridDetailHierarchyCell.js +1 -1
- package/cells/GridDetailHierarchyCell.mjs +4 -4
- package/cells/datacell/GridCell.js +9 -0
- package/cells/datacell/GridCell.mjs +29 -0
- package/cells/datacell/GridCellServer.js +8 -0
- package/cells/datacell/GridCellServer.mjs +27 -0
- package/cells/datacell/GridCellServerContainer.js +9 -0
- package/cells/datacell/GridCellServerContainer.mjs +26 -0
- package/cells/datacell/useCellClientTdProps.js +9 -0
- package/cells/datacell/useCellClientTdProps.mjs +30 -0
- package/cells/datacell/utils.js +8 -0
- package/cells/datacell/utils.mjs +47 -0
- package/cells/detailcell/GridDetailCell.js +9 -0
- package/cells/detailcell/GridDetailCell.mjs +18 -0
- package/cells/detailcell/GridDetailCellServer.js +8 -0
- package/cells/detailcell/GridDetailCellServer.mjs +17 -0
- package/cells/detailcell/GridDetailCellServerContainer.js +9 -0
- package/cells/detailcell/GridDetailCellServerContainer.mjs +19 -0
- package/cells/detailcell/useDetailCellClientTdProps.js +9 -0
- package/cells/detailcell/useDetailCellClientTdProps.mjs +20 -0
- package/cells/detailcell/utils.js +8 -0
- package/cells/detailcell/utils.mjs +20 -0
- package/cells/editcell/GridEditCell.js +9 -0
- package/cells/editcell/GridEditCell.mjs +26 -0
- package/cells/editcell/GridEditCellServer.js +8 -0
- package/cells/editcell/GridEditCellServer.mjs +32 -0
- package/cells/editcell/GridEditCellServerContainer.js +9 -0
- package/cells/editcell/GridEditCellServerContainer.mjs +26 -0
- package/cells/editcell/useEditCellClientTdProps.js +9 -0
- package/cells/editcell/useEditCellClientTdProps.mjs +21 -0
- package/cells/editcell/utils.js +8 -0
- package/cells/editcell/utils.mjs +29 -0
- package/cells/groupcell/GridGroupCell.js +9 -0
- package/cells/groupcell/GridGroupCell.mjs +24 -0
- package/cells/groupcell/GridGroupCellServer.js +8 -0
- package/cells/groupcell/GridGroupCellServer.mjs +44 -0
- package/cells/groupcell/GridGroupCellServerContainer.js +9 -0
- package/cells/groupcell/GridGroupCellServerContainer.mjs +38 -0
- package/cells/groupcell/useGroupCellClientTdProps.js +9 -0
- package/cells/groupcell/useGroupCellClientTdProps.mjs +44 -0
- package/cells/groupcell/utils.js +8 -0
- package/cells/groupcell/utils.mjs +48 -0
- package/cells/hierarchycell/GridHierarchyCell.js +9 -0
- package/cells/hierarchycell/GridHierarchyCell.mjs +25 -0
- package/cells/hierarchycell/GridHierarchyCellServer.js +8 -0
- package/cells/hierarchycell/GridHierarchyCellServer.mjs +32 -0
- package/cells/hierarchycell/GridHierarchyCellServerContainer.js +9 -0
- package/cells/hierarchycell/GridHierarchyCellServerContainer.mjs +26 -0
- package/cells/hierarchycell/useHierarchyCellClientTdProps.js +9 -0
- package/cells/hierarchycell/useHierarchyCellClientTdProps.mjs +35 -0
- package/cells/hierarchycell/utils.js +8 -0
- package/cells/hierarchycell/utils.mjs +30 -0
- package/cells/hooks.js +9 -0
- package/cells/hooks.mjs +41 -0
- package/cells/rowreordercell/GridRowReorderCell.js +9 -0
- package/cells/rowreordercell/GridRowReorderCell.mjs +19 -0
- package/cells/rowreordercell/GridRowReorderCellServer.js +8 -0
- package/cells/rowreordercell/GridRowReorderCellServer.mjs +18 -0
- package/cells/rowreordercell/GridRowReorderCellServerContainer.js +9 -0
- package/cells/rowreordercell/GridRowReorderCellServerContainer.mjs +19 -0
- package/cells/rowreordercell/useRowReorderCellClientTdProps.js +9 -0
- package/cells/rowreordercell/useRowReorderCellClientTdProps.mjs +26 -0
- package/cells/rowreordercell/utils.js +8 -0
- package/cells/rowreordercell/utils.mjs +30 -0
- package/cells/selectioncell/GridSelectionCell.js +9 -0
- package/cells/selectioncell/GridSelectionCell.mjs +26 -0
- package/cells/selectioncell/GridSelectionCellServer.js +8 -0
- package/cells/selectioncell/GridSelectionCellServer.mjs +33 -0
- package/cells/selectioncell/GridSelectionCellServerContainer.js +9 -0
- package/cells/selectioncell/GridSelectionCellServerContainer.mjs +26 -0
- package/cells/selectioncell/useSelectionCellClientTdProps.js +9 -0
- package/cells/selectioncell/useSelectionCellClientTdProps.mjs +21 -0
- package/cells/selectioncell/utils.js +8 -0
- package/cells/selectioncell/utils.mjs +25 -0
- package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +83 -84
- package/columnMenu/GridColumnMenuColumnsChooser.js +1 -1
- package/columnMenu/GridColumnMenuColumnsChooser.mjs +71 -72
- package/columnMenu/GridColumnMenuFilter.js +1 -1
- package/columnMenu/GridColumnMenuFilter.mjs +83 -84
- package/columnMenu/GridColumnMenuItem.js +1 -1
- package/columnMenu/GridColumnMenuItem.mjs +8 -8
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveCheckboxFilter.mjs +40 -34
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveColumnChooser.mjs +51 -45
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.js +1 -1
- package/columnMenu/adaptiveContent/GridAdaptiveFilterMenu.mjs +40 -33
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/index.d.mts +25 -6
- package/index.d.ts +25 -6
- package/index.js +1 -1
- package/index.mjs +5 -5
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/utils/index.js +1 -1
- package/utils/index.mjs +40 -40
- package/cells/GridCell.js +0 -8
- package/cells/GridCell.mjs +0 -52
- package/cells/GridDetailCell.js +0 -8
- package/cells/GridDetailCell.mjs +0 -26
- package/cells/GridEditCell.js +0 -8
- package/cells/GridEditCell.mjs +0 -35
- package/cells/GridGroupCell.js +0 -8
- package/cells/GridGroupCell.mjs +0 -74
- package/cells/GridHierarchyCell.js +0 -8
- package/cells/GridHierarchyCell.mjs +0 -33
- package/cells/GridRowReorderCell.js +0 -8
- package/cells/GridRowReorderCell.mjs +0 -42
- package/cells/GridSelectionCell.js +0 -8
- package/cells/GridSelectionCell.mjs +0 -30
- package/cells/client/DetailCellContainer.js +0 -9
- package/cells/client/DetailCellContainer.mjs +0 -27
- package/cells/client/GridCellContainer.js +0 -9
- package/cells/client/GridCellContainer.mjs +0 -69
- package/cells/client/GridEditCellContainer.js +0 -9
- package/cells/client/GridEditCellContainer.mjs +0 -61
- package/cells/client/GridGroupCellContainer.js +0 -9
- package/cells/client/GridGroupCellContainer.mjs +0 -88
- package/cells/client/GridHierarchyCellContainer.js +0 -9
- package/cells/client/GridHierarchyCellContainer.mjs +0 -64
- package/cells/client/GridRowReorderContainer.js +0 -9
- package/cells/client/GridRowReorderContainer.mjs +0 -31
- package/cells/client/GridSelectionCellContainer.js +0 -9
- package/cells/client/GridSelectionCellContainer.mjs +0 -61
- /package/cells/{client → editcell}/GridEditCellEditor.js +0 -0
- /package/cells/{client → editcell}/GridEditCellEditor.mjs +0 -0
- /package/cells/{client → groupcell}/GridGroupCellToggle.js +0 -0
- /package/cells/{client → groupcell}/GridGroupCellToggle.mjs +0 -0
- /package/cells/{client → hierarchycell}/GridHierarchyCellToggle.js +0 -0
- /package/cells/{client → hierarchycell}/GridHierarchyCellToggle.mjs +0 -0
- /package/cells/{client → selectioncell}/GridSelectionCellInput.js +0 -0
- /package/cells/{client → selectioncell}/GridSelectionCellInput.mjs +0 -0
|
@@ -7,122 +7,121 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as e from "react";
|
|
10
|
-
import { TextBox as
|
|
11
|
-
import { IconWrap as
|
|
12
|
-
import { columnsIcon as
|
|
13
|
-
import { Button as
|
|
14
|
-
import { useLocalization as
|
|
15
|
-
import { adaptiveColumnMenuChooserTitle as
|
|
16
|
-
import { GridColumnMenuItem as
|
|
17
|
-
import { GridColumnMenuItemGroup as
|
|
18
|
-
import { GridColumnMenuItemContent as
|
|
19
|
-
import { GridContext as
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
const { columnsState: l, onCloseMenu: f, onColumnsStateChange: k } = o, s = U(), c = e.useContext(_), { actionSheetRef: x } = e.useContext($), [m, D] = e.useState(""), [h, O] = e.useState(o.expanded || !1), [E, p] = e.useState(!1), S = l.reduce((t, n) => ({ ...t, [n.id || ""]: !n.hidden }), {}), [a, g] = e.useState(S), b = e.useMemo(
|
|
10
|
+
import { TextBox as W, InputPrefix as q, Checkbox as L } from "@progress/kendo-react-inputs";
|
|
11
|
+
import { IconWrap as H } from "@progress/kendo-react-common";
|
|
12
|
+
import { columnsIcon as J, searchIcon as K } from "@progress/kendo-svg-icons";
|
|
13
|
+
import { Button as A } from "@progress/kendo-react-buttons";
|
|
14
|
+
import { useLocalization as Q } from "@progress/kendo-react-intl";
|
|
15
|
+
import { adaptiveColumnMenuChooserTitle as B, messages as u, filterSelectAll as F, columnMenuColumnChooserSelectedItems as R, filterApplyButton as j, filterResetButton as z } from "../messages/index.mjs";
|
|
16
|
+
import { GridColumnMenuItem as U } from "./GridColumnMenuItem.mjs";
|
|
17
|
+
import { GridColumnMenuItemGroup as X } from "./GridColumnMenuItemGroup.mjs";
|
|
18
|
+
import { GridColumnMenuItemContent as Y } from "./GridColumnMenuItemContent.mjs";
|
|
19
|
+
import { GridContext as Z } from "../GridClientWrapper.mjs";
|
|
20
|
+
import { GridAdaptiveColumnChooser as _ } from "./adaptiveContent/GridAdaptiveColumnChooser.mjs";
|
|
21
|
+
const $ = (o) => {
|
|
22
|
+
const { columnsState: l, onCloseMenu: C, onColumnsStateChange: k } = o, i = Q(), f = e.useContext(Z), [s, D] = e.useState(""), [g, O] = e.useState(o.expanded || !1), [E, h] = e.useState(!1), x = l.reduce((t, n) => ({ ...t, [n.id || ""]: !n.hidden }), {}), [a, p] = e.useState(x), S = e.useMemo(
|
|
24
23
|
() => (l == null ? void 0 : l.filter((t) => {
|
|
25
24
|
var n;
|
|
26
|
-
return (n = t.title || t.field) == null ? void 0 : n.toLowerCase().includes(
|
|
25
|
+
return (n = t.title || t.field) == null ? void 0 : n.toLowerCase().includes(s.toLowerCase());
|
|
27
26
|
})) || [],
|
|
28
|
-
[l,
|
|
29
|
-
),
|
|
27
|
+
[l, s]
|
|
28
|
+
), m = e.useMemo(
|
|
30
29
|
() => Object.values(a).filter((t) => t).length,
|
|
31
30
|
[a]
|
|
32
|
-
),
|
|
31
|
+
), d = e.useMemo(() => m === (l == null ? void 0 : l.length), [l, m]), b = e.useCallback(
|
|
33
32
|
(t) => {
|
|
34
33
|
t.preventDefault();
|
|
35
|
-
const r = ((
|
|
36
|
-
...
|
|
37
|
-
hidden: !a[
|
|
34
|
+
const r = ((c) => (c == null ? void 0 : c.map((G) => ({
|
|
35
|
+
...G,
|
|
36
|
+
hidden: !a[G.id || ""]
|
|
38
37
|
}))) || [])(l);
|
|
39
|
-
k && k(r),
|
|
38
|
+
k && k(r), C == null || C.call(void 0);
|
|
40
39
|
},
|
|
41
|
-
[a, l,
|
|
42
|
-
),
|
|
43
|
-
t.preventDefault(),
|
|
44
|
-
},
|
|
40
|
+
[a, l, C]
|
|
41
|
+
), v = (t) => {
|
|
42
|
+
t.preventDefault(), p(x);
|
|
43
|
+
}, M = e.useCallback(() => {
|
|
45
44
|
const t = { ...a };
|
|
46
45
|
Object.keys(t).forEach(
|
|
47
|
-
(n, r) => t[n] =
|
|
48
|
-
),
|
|
49
|
-
}, [a,
|
|
46
|
+
(n, r) => t[n] = d && r === 0 ? !0 : !d
|
|
47
|
+
), p(t);
|
|
48
|
+
}, [a, d]), y = e.useCallback(
|
|
50
49
|
(t, n) => {
|
|
51
50
|
const r = { ...a };
|
|
52
|
-
r[n || ""] = t,
|
|
51
|
+
r[n || ""] = t, p(r);
|
|
53
52
|
},
|
|
54
53
|
[a]
|
|
55
54
|
), N = (t) => {
|
|
56
55
|
D(String(t.target.value));
|
|
57
56
|
}, T = e.useCallback(() => {
|
|
58
|
-
const t =
|
|
59
|
-
|
|
60
|
-
}, [
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
return /* @__PURE__ */ e.createElement(
|
|
66
|
-
|
|
57
|
+
const t = w(), n = !(t ? o.expanded : g);
|
|
58
|
+
o.onExpandChange && o.onExpandChange(n), h(!E), !t && !f.mobileMode && O(n);
|
|
59
|
+
}, [g]), V = () => {
|
|
60
|
+
h(!1);
|
|
61
|
+
}, P = () => {
|
|
62
|
+
h(!1), o.onCloseMenu && o.onCloseMenu();
|
|
63
|
+
}, w = () => o.expanded !== void 0, I = w() ? o.expanded : g;
|
|
64
|
+
return /* @__PURE__ */ e.createElement(X, null, /* @__PURE__ */ e.createElement("div", { className: "k-expander" }, !(o.alwaysExpand && !f.mobileMode) && /* @__PURE__ */ e.createElement(
|
|
65
|
+
U,
|
|
67
66
|
{
|
|
68
|
-
title:
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
title: i.toLanguageString(
|
|
68
|
+
B,
|
|
69
|
+
u[B]
|
|
71
70
|
),
|
|
72
71
|
iconClass: "k-i-filter",
|
|
73
|
-
svgIcon:
|
|
72
|
+
svgIcon: J,
|
|
74
73
|
expandable: !0,
|
|
75
74
|
expanded: !!I,
|
|
76
75
|
onClick: T
|
|
77
76
|
}
|
|
78
|
-
)),
|
|
79
|
-
|
|
77
|
+
)), f.mobileMode && E ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
78
|
+
_,
|
|
80
79
|
{
|
|
81
80
|
onBackView: V,
|
|
82
|
-
handleClose:
|
|
83
|
-
onApply:
|
|
84
|
-
onReset:
|
|
85
|
-
filter:
|
|
81
|
+
handleClose: P,
|
|
82
|
+
onApply: b,
|
|
83
|
+
onReset: v,
|
|
84
|
+
filter: s,
|
|
86
85
|
onFilter: N,
|
|
87
|
-
allSelected:
|
|
88
|
-
onSelectAll:
|
|
89
|
-
filtered:
|
|
86
|
+
allSelected: d,
|
|
87
|
+
onSelectAll: M,
|
|
88
|
+
filtered: S,
|
|
90
89
|
selectedColumns: a,
|
|
91
|
-
checkedCount:
|
|
92
|
-
onCheckChange:
|
|
90
|
+
checkedCount: m,
|
|
91
|
+
onCheckChange: y
|
|
93
92
|
}
|
|
94
|
-
)) : /* @__PURE__ */ e.createElement(
|
|
95
|
-
|
|
93
|
+
)) : /* @__PURE__ */ e.createElement(Y, { show: (o.alwaysExpand || !!I) && !f.mobileMode }, /* @__PURE__ */ e.createElement("form", { onSubmit: b, onReset: v, className: "k-filter-menu" }, /* @__PURE__ */ e.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ e.createElement(
|
|
94
|
+
W,
|
|
96
95
|
{
|
|
97
96
|
className: "k-searchbox",
|
|
98
|
-
value:
|
|
97
|
+
value: s,
|
|
99
98
|
onChange: N,
|
|
100
|
-
prefix: () => /* @__PURE__ */ e.createElement(
|
|
99
|
+
prefix: () => /* @__PURE__ */ e.createElement(q, null, /* @__PURE__ */ e.createElement(H, { name: "search", icon: K }))
|
|
101
100
|
}
|
|
102
|
-
), /* @__PURE__ */ e.createElement("ul", { className: "k-reset k-multicheck-wrap" }, !
|
|
101
|
+
), /* @__PURE__ */ e.createElement("ul", { className: "k-reset k-multicheck-wrap" }, !s && /* @__PURE__ */ e.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ e.createElement(
|
|
103
102
|
L,
|
|
104
103
|
{
|
|
105
|
-
checked:
|
|
106
|
-
onChange:
|
|
107
|
-
label:
|
|
104
|
+
checked: d,
|
|
105
|
+
onChange: M,
|
|
106
|
+
label: i.toLanguageString(F, u[F])
|
|
108
107
|
}
|
|
109
|
-
)),
|
|
108
|
+
)), S.map((t, n) => /* @__PURE__ */ e.createElement("li", { key: t.id, className: "k-item" }, /* @__PURE__ */ e.createElement(
|
|
110
109
|
L,
|
|
111
110
|
{
|
|
112
|
-
disabled: a[t.id || ""] &&
|
|
111
|
+
disabled: a[t.id || ""] && m === 1,
|
|
113
112
|
checked: a[t.id || ""],
|
|
114
113
|
onChange: (r) => {
|
|
115
|
-
var
|
|
116
|
-
return
|
|
114
|
+
var c;
|
|
115
|
+
return y(!!((c = r.target.element) != null && c.checked), t.id);
|
|
117
116
|
},
|
|
118
117
|
label: t.title || t.field
|
|
119
118
|
}
|
|
120
|
-
)))), /* @__PURE__ */ e.createElement("div", { className: "k-filter-selected-items" },
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
)), /* @__PURE__ */ e.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ e.createElement(
|
|
119
|
+
)))), /* @__PURE__ */ e.createElement("div", { className: "k-filter-selected-items" }, m, " ", i.toLanguageString(
|
|
120
|
+
R,
|
|
121
|
+
u[R]
|
|
122
|
+
)), /* @__PURE__ */ e.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ e.createElement(A, { type: "submit", themeColor: "primary" }, i.toLanguageString(j, u[j])), /* @__PURE__ */ e.createElement(A, { type: "reset" }, i.toLanguageString(z, u[z])))))));
|
|
124
123
|
};
|
|
125
|
-
|
|
124
|
+
$.displayName = "GridColumnMenuColumnsChooser";
|
|
126
125
|
export {
|
|
127
|
-
|
|
126
|
+
$ as GridColumnMenuColumnsChooser
|
|
128
127
|
};
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),w=require("@progress/kendo-data-query"),re=require("./GridColumnMenuItem.js"),ne=require("./GridColumnMenuItemGroup.js"),ie=require("./GridColumnMenuItemContent.js"),oe=require("@progress/kendo-react-intl"),i=require("../filterCommon.js"),u=require("../messages/index.js"),ae=require("./GridColumnMenuFilterUI.js"),R=require("@progress/kendo-react-buttons"),ue=require("@progress/kendo-svg-icons"),se=require("../GridClientWrapper.js"),ce=require("./adaptiveContent/GridAdaptiveFilterMenu.js");function de(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const g=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(o,c,g.get?g:{enumerable:!0,get:()=>e[c]})}}return o.default=e,Object.freeze(o)}const l=de(le),x=e=>e||{filters:[],logic:"and"},h=(e,o)=>x(o).filters.filter(C=>w.isCompositeFilterDescriptor(C)?C.filters&&C.filters.length&&!C.filters.find(M=>w.isCompositeFilterDescriptor(M)||M.field!==e):!1)[0]||null,fe=(e,o)=>!!h(e,o),me=e=>{const o=l.useContext(se.GridContext),c=l.useCallback(()=>{let t;if(e.column&&e.column.field){const n=i.getFilterType(e.column.filter),r=i.getDefaultOperator(e.filterOperators,n);t=h(e.column.field,e.filter),t=t?{...t,filters:t.filters.map(a=>({...a}))}:{logic:"and",filters:[{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0},{field:e.column.field,operator:r,value:i.IsUnaryFilter(r)?null:void 0}]},t.filters.filter(a=>a.field===e.column.field).length===1&&t.filters.splice(1,0,{field:e.column.field,operator:r})}return t},[e.column]),[g,C]=l.useState(e.expanded||!1),[M,b]=l.useState(!1),[d,k]=l.useState(c()),q=()=>e.expanded!==void 0,z=()=>{const t=q(),n=!(t?e.expanded:g);e.onExpandChange&&e.onExpandChange(n),b(!M),!t&&!o.mobileMode&&C(n)},H=t=>{O(0,t)},$=t=>{O(1,t)},O=(t,n)=>{const r=d.filters.map((a,s)=>s===t?{...a,value:n.value,operator:n.operator}:a);k({...d,filters:r})},Q=t=>{let n=t.target.value;t.target.tagName==="SPAN"&&(n=t.target.parentElement.value),k({...d,logic:n})},T=t=>{if(t.preventDefault(),!e.onFilterChange)return;const n=e.column.field,r=x(e.filter),a=h(n,e.filter),s=r.filters.filter(v=>v!==a);s.length?e.onFilterChange({...r,filters:s},t):e.onFilterChange(null,t),e.onCloseMenu&&e.onCloseMenu()},D=()=>({...d,filters:d.filters.filter(t=>t.value!==void 0&&t.value!==null&&t.value!==""||t.value===null&&t.operator)}),B=t=>{if(t.preventDefault(),!e.onFilterChange)return;const n=e.column.field,r=x(e.filter),a=h(n,e.filter),s=D();let v=null;if(a&&s.filters.length>0){const G=r.filters.map(E=>E===a?s:E);v={...r,filters:G}}else if(s.filters.length===0){const G=r.filters.filter(E=>E!==a);G.length&&(v={...r,filters:G})}else v={...r,filters:[...r.filters,s]};e.onFilterChange(v,t),e.onCloseMenu&&e.onCloseMenu()},{column:f,filterUI:W,hideSecondFilter:P,filterOperators:J}=e,m=oe.useLocalization();if(!f||!f.field)return l.createElement("div",null);const p=i.getFilterType(f.filter),K=P!==void 0?P:i.defaultHideSecondFilter[p],F=d.filters,L=i.operatorMap(J[p],m),U=i.operatorMap(i.booleanFilterValues,m),X={field:f.field,value:F[0].value,operator:F[0].operator,operators:L,booleanValues:U,onChange:H,filterType:p},Y={field:f.field,value:F[1].value,operator:F[1].operator,operators:L,booleanValues:U,onChange:$,filterType:p},A=d.logic,N=i.operatorMap(i.filterLogicList,m),S={value:N.find(t=>t.operator===(A===null?"":A)),onChange:Q,data:N},y=W,I={firstFilterProps:X,secondFilterProps:Y,logicData:S.data,logicValue:S.value,onLogicChange:S.onChange,hideSecondFilter:K},V=D().filters.length!==0||i.IsUnaryFilter(F[0].operator)||i.IsUnaryFilter(F[1].operator),_=q()?e.expanded:g,j=e.alwaysExpand&&!o.mobileMode,Z=()=>{b(!1)},ee=()=>{b(!1),e.onCloseMenu&&e.onCloseMenu()},te=`${m.toLanguageString(u.adaptiveColumnMenuFilterTitle,u.messages[u.adaptiveColumnMenuFilterTitle])} ${f.title||f.field}`;return l.createElement(ne.GridColumnMenuItemGroup,null,!j&&l.createElement("div",{className:"k-expander"},l.createElement(re.GridColumnMenuItem,{title:m.toLanguageString(u.filterTitle,u.messages[u.filterTitle]),iconClass:"k-i-filter",svgIcon:ue.filterIcon,expandable:!0,expanded:!!_,onClick:z})),o.mobileMode&&M?l.createElement(ce.GridAdaptiveFilterMenu,{FilterUI:y,filterUIProps:I,onBackView:Z,adaptiveTitle:te,handleClose:ee,submit:B,clear:T,isFilterValid:V}):l.createElement(ie.GridColumnMenuItemContent,{show:(j||!!_)&&!o.mobileMode},l.createElement("form",{className:"k-filter-menu",onSubmit:B,onReset:T},l.createElement("div",{className:"k-filter-menu-container"},y?l.createElement(y,{...I}):l.createElement(ae.GridColumnMenuFilterUI,{...I}),l.createElement("div",{className:"k-actions k-actions-stretched"},l.createElement(R.Button,{themeColor:"primary",disabled:!V},m.toLanguageString(u.filterSubmitButton,u.messages[u.filterSubmitButton])),l.createElement(R.Button,{type:"reset"},m.toLanguageString(u.filterClearButton,u.messages[u.filterClearButton])))))))};exports.GridColumnMenuFilter=me;exports.filterGroupByField=h;exports.isColumnMenuFilterActive=fe;exports.rootFilterOrDefault=x;
|
|
@@ -7,27 +7,26 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as l from "react";
|
|
10
|
-
import { isCompositeFilterDescriptor as
|
|
10
|
+
import { isCompositeFilterDescriptor as R } from "@progress/kendo-data-query";
|
|
11
11
|
import { GridColumnMenuItem as se } from "./GridColumnMenuItem.mjs";
|
|
12
|
-
import { GridColumnMenuItemGroup as
|
|
13
|
-
import { GridColumnMenuItemContent as
|
|
14
|
-
import { useLocalization as
|
|
15
|
-
import { getFilterType as
|
|
16
|
-
import { adaptiveColumnMenuFilterTitle as
|
|
17
|
-
import { GridColumnMenuFilterUI as
|
|
18
|
-
import { Button as
|
|
19
|
-
import { filterIcon as
|
|
20
|
-
import { GridContext as
|
|
21
|
-
import { GridColumnMenuAdaptiveContext as xe } from "./adaptiveContext/GridColumnMenuAdaptiveContext.mjs";
|
|
12
|
+
import { GridColumnMenuItemGroup as ce } from "./GridColumnMenuItemGroup.mjs";
|
|
13
|
+
import { GridColumnMenuItemContent as ue } from "./GridColumnMenuItemContent.mjs";
|
|
14
|
+
import { useLocalization as fe } from "@progress/kendo-react-intl";
|
|
15
|
+
import { getFilterType as $, getDefaultOperator as de, IsUnaryFilter as v, operatorMap as I, booleanFilterValues as me, filterLogicList as ge, defaultHideSecondFilter as Ce } from "../filterCommon.mjs";
|
|
16
|
+
import { adaptiveColumnMenuFilterTitle as j, messages as E, filterTitle as q, filterSubmitButton as J, filterClearButton as K } from "../messages/index.mjs";
|
|
17
|
+
import { GridColumnMenuFilterUI as Fe } from "./GridColumnMenuFilterUI.mjs";
|
|
18
|
+
import { Button as Q } from "@progress/kendo-react-buttons";
|
|
19
|
+
import { filterIcon as he } from "@progress/kendo-svg-icons";
|
|
20
|
+
import { GridContext as ve } from "../GridClientWrapper.mjs";
|
|
22
21
|
import { GridAdaptiveFilterMenu as Ee } from "./adaptiveContent/GridAdaptiveFilterMenu.mjs";
|
|
23
|
-
const k = (e) => e || { filters: [], logic: "and" }, x = (e,
|
|
24
|
-
const
|
|
22
|
+
const k = (e) => e || { filters: [], logic: "and" }, x = (e, a) => k(a).filters.filter((f) => R(f) ? f.filters && f.filters.length && !f.filters.find((g) => R(g) || g.field !== e) : !1)[0] || null, Ne = (e, a) => !!x(e, a), Oe = (e) => {
|
|
23
|
+
const a = l.useContext(ve), y = l.useCallback(() => {
|
|
25
24
|
let t;
|
|
26
25
|
if (e.column && e.column.field) {
|
|
27
|
-
const
|
|
26
|
+
const i = $(e.column.filter), r = de(e.filterOperators, i);
|
|
28
27
|
t = x(e.column.field, e.filter), t = t ? {
|
|
29
28
|
...t,
|
|
30
|
-
filters: t.filters.map((
|
|
29
|
+
filters: t.filters.map((n) => ({ ...n }))
|
|
31
30
|
} : {
|
|
32
31
|
logic: "and",
|
|
33
32
|
filters: [
|
|
@@ -42,50 +41,50 @@ const k = (e) => e || { filters: [], logic: "and" }, x = (e, i) => k(i).filters.
|
|
|
42
41
|
value: v(r) ? null : void 0
|
|
43
42
|
}
|
|
44
43
|
]
|
|
45
|
-
}, t.filters.filter((
|
|
44
|
+
}, t.filters.filter((n) => n.field === e.column.field).length === 1 && t.filters.splice(1, 0, { field: e.column.field, operator: r });
|
|
46
45
|
}
|
|
47
46
|
return t;
|
|
48
|
-
}, [e.column]), [
|
|
49
|
-
const t = T(),
|
|
50
|
-
|
|
51
|
-
},
|
|
47
|
+
}, [e.column]), [p, f] = l.useState(e.expanded || !1), [g, M] = l.useState(!1), [s, L] = l.useState(y()), T = () => e.expanded !== void 0, W = () => {
|
|
48
|
+
const t = T(), i = !(t ? e.expanded : p);
|
|
49
|
+
e.onExpandChange && e.onExpandChange(i), M(!g), !t && !a.mobileMode && f(i);
|
|
50
|
+
}, X = (t) => {
|
|
52
51
|
D(0, t);
|
|
53
|
-
},
|
|
52
|
+
}, Y = (t) => {
|
|
54
53
|
D(1, t);
|
|
55
|
-
}, D = (t,
|
|
56
|
-
const r = s.filters.map((
|
|
57
|
-
...
|
|
58
|
-
value:
|
|
59
|
-
operator:
|
|
60
|
-
} :
|
|
61
|
-
|
|
54
|
+
}, D = (t, i) => {
|
|
55
|
+
const r = s.filters.map((n, o) => o === t ? {
|
|
56
|
+
...n,
|
|
57
|
+
value: i.value,
|
|
58
|
+
operator: i.operator
|
|
59
|
+
} : n);
|
|
60
|
+
L({
|
|
62
61
|
...s,
|
|
63
62
|
filters: r
|
|
64
63
|
});
|
|
65
|
-
},
|
|
66
|
-
let
|
|
67
|
-
t.target.tagName === "SPAN" && (
|
|
68
|
-
},
|
|
64
|
+
}, Z = (t) => {
|
|
65
|
+
let i = t.target.value;
|
|
66
|
+
t.target.tagName === "SPAN" && (i = t.target.parentElement.value), L({ ...s, logic: i });
|
|
67
|
+
}, P = (t) => {
|
|
69
68
|
if (t.preventDefault(), !e.onFilterChange)
|
|
70
69
|
return;
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
},
|
|
70
|
+
const i = e.column.field, r = k(e.filter), n = x(i, e.filter), o = r.filters.filter((m) => m !== n);
|
|
71
|
+
o.length ? e.onFilterChange({ ...r, filters: o }, t) : e.onFilterChange(null, t), e.onCloseMenu && e.onCloseMenu();
|
|
72
|
+
}, N = () => ({
|
|
74
73
|
...s,
|
|
75
74
|
filters: s.filters.filter((t) => t.value !== void 0 && t.value !== null && t.value !== "" || t.value === null && t.operator)
|
|
76
|
-
}),
|
|
75
|
+
}), O = (t) => {
|
|
77
76
|
if (t.preventDefault(), !e.onFilterChange)
|
|
78
77
|
return;
|
|
79
|
-
const
|
|
78
|
+
const i = e.column.field, r = k(e.filter), n = x(i, e.filter), o = N();
|
|
80
79
|
let m = null;
|
|
81
|
-
if (
|
|
82
|
-
const F = r.filters.map((h) => h ===
|
|
80
|
+
if (n && o.filters.length > 0) {
|
|
81
|
+
const F = r.filters.map((h) => h === n ? o : h);
|
|
83
82
|
m = {
|
|
84
83
|
...r,
|
|
85
84
|
filters: F
|
|
86
85
|
};
|
|
87
|
-
} else if (
|
|
88
|
-
const F = r.filters.filter((h) => h !==
|
|
86
|
+
} else if (o.filters.length === 0) {
|
|
87
|
+
const F = r.filters.filter((h) => h !== n);
|
|
89
88
|
F.length && (m = {
|
|
90
89
|
...r,
|
|
91
90
|
filters: F
|
|
@@ -93,74 +92,74 @@ const k = (e) => e || { filters: [], logic: "and" }, x = (e, i) => k(i).filters.
|
|
|
93
92
|
} else
|
|
94
93
|
m = {
|
|
95
94
|
...r,
|
|
96
|
-
filters: [...r.filters,
|
|
95
|
+
filters: [...r.filters, o]
|
|
97
96
|
};
|
|
98
97
|
e.onFilterChange(m, t), e.onCloseMenu && e.onCloseMenu();
|
|
99
|
-
}, { column:
|
|
100
|
-
if (!
|
|
98
|
+
}, { column: c, filterUI: ee, hideSecondFilter: V, filterOperators: te } = e, u = fe();
|
|
99
|
+
if (!c || !c.field)
|
|
101
100
|
return /* @__PURE__ */ l.createElement("div", null);
|
|
102
|
-
const C =
|
|
103
|
-
field:
|
|
101
|
+
const C = $(c.filter), le = V !== void 0 ? V : Ce[C], d = s.filters, A = I(te[C], u), B = I(me, u), re = {
|
|
102
|
+
field: c.field,
|
|
104
103
|
value: d[0].value,
|
|
105
104
|
operator: d[0].operator,
|
|
106
|
-
operators:
|
|
105
|
+
operators: A,
|
|
107
106
|
booleanValues: B,
|
|
108
|
-
onChange:
|
|
107
|
+
onChange: X,
|
|
109
108
|
filterType: C
|
|
110
|
-
},
|
|
111
|
-
field:
|
|
109
|
+
}, ie = {
|
|
110
|
+
field: c.field,
|
|
112
111
|
value: d[1].value,
|
|
113
112
|
operator: d[1].operator,
|
|
114
|
-
operators:
|
|
113
|
+
operators: A,
|
|
115
114
|
booleanValues: B,
|
|
116
|
-
onChange:
|
|
115
|
+
onChange: Y,
|
|
117
116
|
filterType: C
|
|
118
|
-
}, U = s.logic,
|
|
119
|
-
value:
|
|
120
|
-
onChange:
|
|
121
|
-
data:
|
|
122
|
-
},
|
|
123
|
-
firstFilterProps:
|
|
124
|
-
secondFilterProps:
|
|
125
|
-
logicData:
|
|
126
|
-
logicValue:
|
|
127
|
-
onLogicChange:
|
|
128
|
-
hideSecondFilter:
|
|
129
|
-
}, _ =
|
|
130
|
-
M(!1)
|
|
131
|
-
},
|
|
117
|
+
}, U = s.logic, w = I(ge, u), G = {
|
|
118
|
+
value: w.find((t) => t.operator === (U === null ? "" : U)),
|
|
119
|
+
onChange: Z,
|
|
120
|
+
data: w
|
|
121
|
+
}, S = ee, b = {
|
|
122
|
+
firstFilterProps: re,
|
|
123
|
+
secondFilterProps: ie,
|
|
124
|
+
logicData: G.data,
|
|
125
|
+
logicValue: G.value,
|
|
126
|
+
onLogicChange: G.onChange,
|
|
127
|
+
hideSecondFilter: le
|
|
128
|
+
}, _ = N().filters.length !== 0 || v(d[0].operator) || v(d[1].operator), z = T() ? e.expanded : p, H = e.alwaysExpand && !a.mobileMode, ne = () => {
|
|
129
|
+
M(!1);
|
|
130
|
+
}, oe = () => {
|
|
132
131
|
M(!1), e.onCloseMenu && e.onCloseMenu();
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
)} ${
|
|
137
|
-
return /* @__PURE__ */ l.createElement(
|
|
132
|
+
}, ae = `${u.toLanguageString(
|
|
133
|
+
j,
|
|
134
|
+
E[j]
|
|
135
|
+
)} ${c.title || c.field}`;
|
|
136
|
+
return /* @__PURE__ */ l.createElement(ce, null, !H && /* @__PURE__ */ l.createElement("div", { className: "k-expander" }, /* @__PURE__ */ l.createElement(
|
|
138
137
|
se,
|
|
139
138
|
{
|
|
140
|
-
title:
|
|
139
|
+
title: u.toLanguageString(q, E[q]),
|
|
141
140
|
iconClass: "k-i-filter",
|
|
142
|
-
svgIcon:
|
|
141
|
+
svgIcon: he,
|
|
143
142
|
expandable: !0,
|
|
144
143
|
expanded: !!z,
|
|
145
|
-
onClick:
|
|
144
|
+
onClick: W
|
|
146
145
|
}
|
|
147
|
-
)),
|
|
146
|
+
)), a.mobileMode && g ? /* @__PURE__ */ l.createElement(
|
|
148
147
|
Ee,
|
|
149
148
|
{
|
|
150
|
-
FilterUI:
|
|
149
|
+
FilterUI: S,
|
|
151
150
|
filterUIProps: b,
|
|
152
|
-
onBackView:
|
|
153
|
-
adaptiveTitle:
|
|
154
|
-
handleClose:
|
|
155
|
-
submit:
|
|
156
|
-
clear:
|
|
151
|
+
onBackView: ne,
|
|
152
|
+
adaptiveTitle: ae,
|
|
153
|
+
handleClose: oe,
|
|
154
|
+
submit: O,
|
|
155
|
+
clear: P,
|
|
157
156
|
isFilterValid: _
|
|
158
157
|
}
|
|
159
|
-
)
|
|
158
|
+
) : /* @__PURE__ */ l.createElement(ue, { show: (H || !!z) && !a.mobileMode }, /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu", onSubmit: O, onReset: P }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, S ? /* @__PURE__ */ l.createElement(S, { ...b }) : /* @__PURE__ */ l.createElement(Fe, { ...b }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(Q, { themeColor: "primary", disabled: !_ }, u.toLanguageString(J, E[J])), /* @__PURE__ */ l.createElement(Q, { type: "reset" }, u.toLanguageString(K, E[K])))))));
|
|
160
159
|
};
|
|
161
160
|
export {
|
|
162
|
-
|
|
161
|
+
Oe as GridColumnMenuFilter,
|
|
163
162
|
x as filterGroupByField,
|
|
164
|
-
|
|
163
|
+
Ne as isColumnMenuFilterActive,
|
|
165
164
|
k as rootFilterOrDefault
|
|
166
165
|
};
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react"),i=require("@progress/kendo-react-common"),p=require("../GridClientWrapper.js"),a=require("@progress/kendo-svg-icons");function f(n){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(c,e,o.get?o:{enumerable:!0,get:()=>n[e]})}}return c.default=n,Object.freeze(c)}const r=f(d),I=n=>{const{title:c,iconClass:e,svgIcon:o,selected:u,expandable:s,expanded:m}=n,t=r.useContext(p.GridContext);let l;return s&&(t!=null&&t.mobileMode?l=(t==null?void 0:t.dir)==="rtl"?a.chevronLeftIcon:a.chevronRightIcon:l=m?a.chevronUpIcon:a.chevronDownIcon),r.createElement("div",{onClick:n.onClick,className:`k-columnmenu-item ${u?"k-selected":""}`},(e||o)&&r.createElement(i.IconWrap,{name:e&&i.toIconName(e),icon:o}),c,r.createElement("span",{className:"k-spacer"}),s&&r.createElement(i.IconWrap,{icon:l}))};exports.GridColumnMenuItem=I;
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
import * as
|
|
10
|
-
import { IconWrap as
|
|
9
|
+
import * as o from "react";
|
|
10
|
+
import { IconWrap as a, toIconName as p } from "@progress/kendo-react-common";
|
|
11
11
|
import { GridContext as I } from "../GridClientWrapper.mjs";
|
|
12
|
-
import { chevronLeftIcon as
|
|
13
|
-
const
|
|
14
|
-
const { title:
|
|
15
|
-
let
|
|
16
|
-
return r && (
|
|
12
|
+
import { chevronLeftIcon as d, chevronRightIcon as v, chevronDownIcon as f, chevronUpIcon as h } from "@progress/kendo-svg-icons";
|
|
13
|
+
const C = (t) => {
|
|
14
|
+
const { title: l, iconClass: n, svgIcon: m, selected: i, expandable: r, expanded: s } = t, e = o.useContext(I);
|
|
15
|
+
let c;
|
|
16
|
+
return r && (e != null && e.mobileMode ? c = (e == null ? void 0 : e.dir) === "rtl" ? d : v : c = s ? h : f), /* @__PURE__ */ o.createElement("div", { onClick: t.onClick, className: `k-columnmenu-item ${i ? "k-selected" : ""}` }, (n || m) && /* @__PURE__ */ o.createElement(a, { name: n && p(n), icon: m }), l, /* @__PURE__ */ o.createElement("span", { className: "k-spacer" }), r && /* @__PURE__ */ o.createElement(a, { icon: c }));
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
C as GridColumnMenuItem
|
|
20
20
|
};
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),f=require("react-dom"),t=require("../../messages/index.js"),S=require("../../GridClientWrapper.js"),i=require("@progress/kendo-react-layout"),s=require("@progress/kendo-react-buttons"),o=require("@progress/kendo-svg-icons"),v=require("@progress/kendo-react-intl"),u=require("@progress/kendo-react-inputs"),b=require("../adaptiveContext/GridColumnMenuAdaptiveContext.js"),E=require("./GridActionSheetFooter.js"),x=n=>{const a=e.useContext(S.GridContext),l=v.useLocalization(),{actionSheetRef:r,secondViewRef:m}=e.useContext(b.GridColumnMenuAdaptiveContext),d=a.dir==="rtl"?o.chevronRightIcon:o.chevronLeftIcon,h=l.toLanguageString(t.adaptiveColumnMenuCheckboxFilterTitle,t.messages[t.adaptiveColumnMenuCheckboxFilterTitle]);e.useEffect(()=>{a!=null&&a.mobileMode&&r.current.element.style.setProperty("--kendo-actionsheet-view-current",2)},[]);const k=()=>{n.onBackView&&n.onBackView(),a!=null&&a.mobileMode&&r.current.element.style.setProperty("--kendo-actionsheet-view-current",1)};return e.createElement(e.Fragment,null,f.createPortal(e.createElement(e.Fragment,null,e.createElement(i.ActionSheetHeader,null,e.createElement("div",{className:"k-actionsheet-titlebar-group"},e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",onClick:k,svgIcon:d,fillMode:"flat"})),e.createElement("div",{className:"k-actionsheet-title"},e.createElement("div",{className:"k-text-center"},h)),e.createElement("div",{className:"k-actionsheet-actions"},e.createElement(s.Button,{type:"button",svgIcon:o.xIcon,onClick:n.handleClose,fillMode:"flat"})))),e.createElement(i.ActionSheetContent,null,e.createElement("div",{className:"k-filter-menu"},e.createElement("div",{className:"k-filter-menu-container"},n.searchBox,e.createElement("ul",{className:"k-reset k-multicheck-wrap"},e.createElement("li",{className:"k-item k-check-all-wrap"},e.createElement(u.Checkbox,{size:a.mobileMode?"large":"medium",label:l.toLanguageString(t.filterCheckAll,t.messages[t.filterCheckAll]),onChange:c=>n.handleCheckBoxChange(c,"all"),checked:n.isAllSelected()})),n.currentData.map((c,g)=>e.createElement("li",{className:"k-item",key:`colmenu-checkbox-item-${g}`},e.createElement(u.Checkbox,{size:a.mobileMode?"large":"medium",label:String(c),onChange:C=>n.handleCheckBoxChange(C,c),checked:n.uniqueFilterValues.includes(c)})))),e.createElement("div",{className:"k-filter-selected-items"},n.uniqueFilterValues.length+" "+l.toLanguageString(t.filterSelectedItems,t.messages[t.filterSelectedItems]))))),e.createElement(i.ActionSheetFooter,null,e.createElement(E.GridActionSheetFooterContent,{onApply:n.submit,onReset:n.clear,submitMessage:l.toLanguageString(t.filterSubmitButton,t.messages[t.filterSubmitButton]),resetMessage:l.toLanguageString(t.filterClearButton,t.messages[t.filterClearButton])}))),m.current.current))};exports.GridAdaptiveCheckboxFilter=x;
|