@progress/kendo-react-grid 9.0.0-develop.2 → 9.0.0-develop.3
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/README.md +34 -33
- package/VirtualScroll.mjs +14 -11
- package/cells/GridCell.mjs +6 -3
- package/cells/GridDetailCell.mjs +6 -3
- package/cells/GridEditCell.mjs +10 -38
- package/cells/GridGroupCell.mjs +24 -30
- package/cells/GridHierarchyCell.mjs +2 -13
- package/cells/GridSelectionCell.mjs +3 -24
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +36 -42
- package/columnMenu/GridColumnMenuFilter.mjs +18 -28
- package/columnMenu/GridColumnMenuFilterCell.mjs +1 -9
- package/columnMenu/GridColumnMenuFilterUI.mjs +1 -8
- package/columnMenu/GridColumnMenuWrapper.mjs +6 -18
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/drag/ColumnDraggable.mjs +14 -2
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +36 -44
- package/drag/GroupingIndicator.mjs +1 -15
- package/filterCommon.mjs +1 -3
- package/footer/Footer.mjs +22 -22
- package/footer/FooterRow.mjs +6 -5
- package/header/FilterRow.mjs +38 -42
- package/header/GridHeaderSelectionCell.mjs +3 -1
- package/header/Header.mjs +19 -4
- package/header/HeaderRow.mjs +24 -27
- package/messages/index.mjs +4 -1
- package/package-metadata.mjs +1 -1
- package/package.json +10 -10
- package/rows/GridRow.mjs +10 -8
- package/utils/index.js +1 -1
- package/utils/index.mjs +35 -39
|
@@ -11,14 +11,7 @@ import { GridColumnMenuFilterCell as t } from "./GridColumnMenuFilterCell.mjs";
|
|
|
11
11
|
import { DropDownList as m } from "@progress/kendo-react-dropdowns";
|
|
12
12
|
class p extends e.Component {
|
|
13
13
|
render() {
|
|
14
|
-
const {
|
|
15
|
-
firstFilterProps: r,
|
|
16
|
-
hideSecondFilter: n,
|
|
17
|
-
secondFilterProps: l,
|
|
18
|
-
logicData: o,
|
|
19
|
-
logicValue: a,
|
|
20
|
-
onLogicChange: i
|
|
21
|
-
} = this.props;
|
|
14
|
+
const { firstFilterProps: r, hideSecondFilter: n, secondFilterProps: l, logicData: o, logicValue: a, onLogicChange: i } = this.props;
|
|
22
15
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(t, { ...r }), !n && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
23
16
|
m,
|
|
24
17
|
{
|
|
@@ -12,16 +12,7 @@ import { TABBABLE_ELEMENTS as F, Navigation as L, IconWrap as v, getActiveElemen
|
|
|
12
12
|
import { moreVerticalIcon as V } from "@progress/kendo-svg-icons";
|
|
13
13
|
import { columnMenu as k, messages as _ } from "../messages/index.mjs";
|
|
14
14
|
import { useLocalization as H } from "@progress/kendo-react-intl";
|
|
15
|
-
const O = [
|
|
16
|
-
".k-columnmenu-item-content",
|
|
17
|
-
".k-filter-menu-container"
|
|
18
|
-
].map((t) => F.map(
|
|
19
|
-
(u) => `${t} ${u}`
|
|
20
|
-
)), G = [
|
|
21
|
-
[".k-tabstrip-items"],
|
|
22
|
-
[".k-columnmenu-item"],
|
|
23
|
-
...O
|
|
24
|
-
], Y = (t) => {
|
|
15
|
+
const O = [".k-columnmenu-item-content", ".k-filter-menu-container"].map((t) => F.map((u) => `${t} ${u}`)), G = [[".k-tabstrip-items"], [".k-columnmenu-item"], ...O], Y = (t) => {
|
|
25
16
|
const [u, a] = o.useState(!1), l = o.useRef(null), s = o.useRef(null), r = o.useRef(null), i = o.useRef(0), { columnMenu: E, ...p } = t, { column: g, columnMenuIcon: m, navigatable: w } = t, b = H(), M = g.title || g.field, C = M ? `${M} ` : "", D = "#", y = (e) => {
|
|
26
17
|
const n = W(document);
|
|
27
18
|
clearTimeout(i.current), i.current = window.setTimeout(() => {
|
|
@@ -81,7 +72,10 @@ const O = [
|
|
|
81
72
|
onKeyDown: K,
|
|
82
73
|
href: D,
|
|
83
74
|
tabIndex: w ? -1 : void 0,
|
|
84
|
-
"aria-label": `${w ? "" : C}${b.toLanguageString(
|
|
75
|
+
"aria-label": `${w ? "" : C}${b.toLanguageString(
|
|
76
|
+
k,
|
|
77
|
+
_[k]
|
|
78
|
+
)}`
|
|
85
79
|
},
|
|
86
80
|
m ? /* @__PURE__ */ o.createElement(v, { name: m.name, icon: m }) : /* @__PURE__ */ o.createElement(v, { name: "more-vertical", icon: V })
|
|
87
81
|
), /* @__PURE__ */ o.createElement(
|
|
@@ -102,13 +96,7 @@ const O = [
|
|
|
102
96
|
onKeyDown: B,
|
|
103
97
|
style: { outline: "none" }
|
|
104
98
|
},
|
|
105
|
-
E && /* @__PURE__ */ o.createElement(
|
|
106
|
-
E,
|
|
107
|
-
{
|
|
108
|
-
...p,
|
|
109
|
-
onCloseMenu: f
|
|
110
|
-
}
|
|
111
|
-
)
|
|
99
|
+
E && /* @__PURE__ */ o.createElement(E, { ...p, onCloseMenu: f })
|
|
112
100
|
)
|
|
113
101
|
));
|
|
114
102
|
};
|