@progress/kendo-react-grid 7.0.0-develop.9 → 7.0.0

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/index.mjs CHANGED
@@ -2,23 +2,24 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ "use client";
5
6
  import * as l from "react";
6
7
  import * as p from "prop-types";
7
- import { guid as oe, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as St, kendoThemeMaps as K, Draggable as yt, dispatchEvent as ps, memoizeOne as B, validatePackage as us, shouldShowValidationUI as gs, canUseDOM as ot, setScrollbarWidth as lt, getter as ye, WatermarkOverlay as fs, toIconName as ms, clone as Cs } from "@progress/kendo-react-common";
8
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as bs, TABLE_COL_INDEX_ATTRIBUTE as xs, isRtl as wt, tableKeyboardNavigationHeaderAttributes as nt, ColumnResizer as ks, HeaderThElement as Rt, getIndex as at, tableKeyboardNavigation as X, getSelectionOptions as ht, mapColumns as vs, tableColumnsVirtualization as Es, Pager as Is, TableKeyboardNavigationContext as we, tableKeyboardNavigationScopeAttributes as ct, TableSelection as dt, tableKeyboardNavigationBodyAttributes as pt, DropClue as ut, DragClue as gt, updateLeft as Ss, updateRight as ys } from "@progress/kendo-react-data-tools";
9
- import { getSelectedState as Yr, getSelectedStateFromKeyDown as Jr, setSelectedState as Qr } from "@progress/kendo-react-data-tools";
10
- import { useLocalization as Ft, provideLocalizationService as T, registerForLocalization as G, useInternationalization as ws, registerForIntl as Nt } from "@progress/kendo-react-intl";
11
- import { minusIcon as Rs, plusIcon as Fs, moreVerticalIcon as Ns, sortAscSmallIcon as We, sortDescSmallIcon as Ve, filterIcon as Ke, filterClearIcon as Ds, xCircleIcon as Ms, caretAltDownIcon as Ts, caretAltLeftIcon as Gs, caretAltRightIcon as Hs, groupIcon as zs, ungroupIcon as Ls, searchIcon as Dt, xIcon as Os } from "@progress/kendo-svg-icons";
12
- import { NumericTextBox as Ue, TextBox as Mt, Input as Tt, Checkbox as fe, InputPrefix as _s } from "@progress/kendo-react-inputs";
13
- import { DatePicker as qe } from "@progress/kendo-react-dateinputs";
14
- import { Popup as Ps } from "@progress/kendo-react-popup";
8
+ import { useId as It, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as St, kendoThemeMaps as K, Draggable as yt, withIdHOC as wt, dispatchEvent as us, memoizeOne as B, validatePackage as gs, shouldShowValidationUI as fs, canUseDOM as it, setScrollbarWidth as ot, getter as Se, WatermarkOverlay as ms, toIconName as Cs, clone as bs } from "@progress/kendo-react-common";
9
+ import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as xs, TABLE_COL_INDEX_ATTRIBUTE as ks, isRtl as Rt, tableKeyboardNavigationHeaderAttributes as lt, ColumnResizer as vs, HeaderThElement as Ft, getIndex as nt, tableKeyboardNavigation as X, getSelectionOptions as at, mapColumns as Es, tableColumnsVirtualization as Is, Pager as Ss, TableKeyboardNavigationContext as ye, tableKeyboardNavigationScopeAttributes as ht, TableSelection as ct, tableKeyboardNavigationBodyAttributes as dt, DropClue as pt, DragClue as ut, updateLeft as ys, updateRight as ws } from "@progress/kendo-react-data-tools";
10
+ import { getSelectedState as ei, getSelectedStateFromKeyDown as ti, setSelectedState as si } from "@progress/kendo-react-data-tools";
11
+ import { useLocalization as Nt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Rs, registerForIntl as Dt } from "@progress/kendo-react-intl";
12
+ import { minusIcon as Fs, plusIcon as Ns, moreVerticalIcon as Ds, sortAscSmallIcon as Be, sortDescSmallIcon as We, filterIcon as Ve, filterClearIcon as Ts, xCircleIcon as Gs, caretAltDownIcon as Ms, caretAltLeftIcon as Hs, caretAltRightIcon as zs, groupIcon as Ls, ungroupIcon as Os, searchIcon as Tt, xIcon as _s } from "@progress/kendo-svg-icons";
13
+ import { NumericTextBox as Ke, TextBox as Gt, Input as Mt, Checkbox as fe, InputPrefix as Ps } from "@progress/kendo-react-inputs";
14
+ import { DatePicker as Ue } from "@progress/kendo-react-dateinputs";
15
+ import { Popup as As } from "@progress/kendo-react-popup";
15
16
  import { Button as W } from "@progress/kendo-react-buttons";
16
- import { DropDownList as le } from "@progress/kendo-react-dropdowns";
17
- import { isCompositeFilterDescriptor as ft, filterBy as mt } from "@progress/kendo-data-query";
18
- import { Reveal as As } from "@progress/kendo-react-animation";
19
- const ce = (r) => null;
20
- ce.displayName = "KendoReactGridColumn";
21
- ce.defaultProps = {
17
+ import { DropDownList as oe } from "@progress/kendo-react-dropdowns";
18
+ import { isCompositeFilterDescriptor as gt, filterBy as ft } from "@progress/kendo-data-query";
19
+ import { Reveal as Bs } from "@progress/kendo-react-animation";
20
+ const he = (r) => null;
21
+ he.displayName = "KendoReactGridColumn";
22
+ he.defaultProps = {
22
23
  filterable: !0,
23
24
  editable: !0,
24
25
  sortable: !0,
@@ -26,7 +27,7 @@ ce.defaultProps = {
26
27
  reorderable: !0,
27
28
  groupable: !0
28
29
  };
29
- ce.propTypes = {
30
+ he.propTypes = {
30
31
  field: p.string,
31
32
  title: p.string,
32
33
  editable: p.bool,
@@ -57,14 +58,14 @@ ce.propTypes = {
57
58
  columnMenu: p.any,
58
59
  locked: p.bool
59
60
  };
60
- function M(r, t) {
61
+ function T(r, t) {
61
62
  const s = (r || "").split(".");
62
63
  let o = t;
63
64
  return s.forEach((e) => {
64
65
  o = o ? o[e] : void 0;
65
66
  }), o;
66
67
  }
67
- function Gt(r, t, s, o, e, i, n = 0) {
68
+ function Ht(r, t, s, o, e, i, n = 0) {
68
69
  let a = n;
69
70
  for (let h = 0; h < t.length; h++) {
70
71
  if (!e || t[h].value === void 0 || t[h].items === void 0) {
@@ -73,12 +74,12 @@ function Gt(r, t, s, o, e, i, n = 0) {
73
74
  dataItem: t[h],
74
75
  rowType: "data",
75
76
  level: n,
76
- expanded: i === void 0 || M(i, t[h])
77
+ expanded: i === void 0 || T(i, t[h])
77
78
  }, o.index++;
78
79
  continue;
79
80
  }
80
81
  a = Math.max(a, n + 1);
81
- const c = i === void 0 || M(i, t[h]) === void 0 || M(i, t[h]);
82
+ const c = i === void 0 || T(i, t[h]) === void 0 || T(i, t[h]);
82
83
  r[r.length] = {
83
84
  dataIndex: -1,
84
85
  dataItem: t[h],
@@ -86,7 +87,7 @@ function Gt(r, t, s, o, e, i, n = 0) {
86
87
  rowType: "groupHeader",
87
88
  expanded: c
88
89
  }, c && (a = Math.max(
89
- Gt(r, t[h].items, s, o, e, i, n + 1),
90
+ Ht(r, t[h].items, s, o, e, i, n + 1),
90
91
  a
91
92
  )), (s === "always" || c && s === "visible") && (r[r.length] = {
92
93
  dataIndex: -1,
@@ -98,17 +99,17 @@ function Gt(r, t, s, o, e, i, n = 0) {
98
99
  }
99
100
  return a;
100
101
  }
101
- function Ht(r, t, s, o = 0) {
102
+ function zt(r, t, s, o = 0) {
102
103
  let e = [];
103
104
  if (!r)
104
105
  return [];
105
106
  r && r.length === void 0 && (r = [r]), r.forEach((n, a) => {
106
107
  n = n.props ? n.props : n;
107
- const h = t[a] || null, c = Ht(n.children, h && h.children || [], s, o + 1);
108
+ const h = t[a] || null, c = zt(n.children, h && h.children || [], s, o + 1);
108
109
  e.push(
109
110
  Object.assign(
110
111
  { depth: o },
111
- ce.defaultProps,
112
+ he.defaultProps,
112
113
  c.length ? { cell: () => null, filterCell: () => null } : {},
113
114
  h ? { width: h.width, orderIndex: h.orderIndex } : {},
114
115
  n,
@@ -135,7 +136,7 @@ function Ht(r, t, s, o = 0) {
135
136
  }
136
137
  return e;
137
138
  }
138
- function Bs(r, t, s, o) {
139
+ function Ws(r, t, s, o) {
139
140
  let e = [];
140
141
  Array.isArray(r) ? e = r : r && (e = r.data);
141
142
  const i = [];
@@ -161,14 +162,14 @@ function Bs(r, t, s, o) {
161
162
  ariaColumnIndex: 0,
162
163
  isAccessible: !0
163
164
  },
164
- ce.defaultProps,
165
+ he.defaultProps,
165
166
  { field: h }
166
167
  ));
167
168
  });
168
169
  }
169
170
  return i;
170
171
  }
171
- const Ws = (r, t) => {
172
+ const Vs = (r, t) => {
172
173
  let s = r[t.parentIndex];
173
174
  for (; s; ) {
174
175
  if (s.footerCell)
@@ -176,7 +177,7 @@ const Ws = (r, t) => {
176
177
  s = r[s.parentIndex];
177
178
  }
178
179
  return !1;
179
- }, Vs = (r) => r.filter((t) => Ws(r, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Se = (r) => r.width !== void 0 ? Math.floor(parseFloat(r.width.toString())) + "px" : void 0, zt = (r) => (r.sort((t, s) => t.declarationIndex - s.declarationIndex), r.map((t) => {
180
+ }, Ks = (r) => r.filter((t) => Vs(r, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Ie = (r) => r.width !== void 0 ? Math.floor(parseFloat(r.width.toString())) + "px" : void 0, Lt = (r) => (r.sort((t, s) => t.declarationIndex - s.declarationIndex), r.map((t) => {
180
181
  const {
181
182
  declarationIndex: s,
182
183
  parentIndex: o,
@@ -189,10 +190,10 @@ const Ws = (r, t) => {
189
190
  ...d
190
191
  } = t;
191
192
  return c.length ? {
192
- children: zt(c),
193
+ children: Lt(c),
193
194
  ...d
194
195
  } : d;
195
- })), Re = typeof window < "u" && /Firefox/.test(window.navigator.userAgent), Ct = 17895697, Ce = (r, t) => {
196
+ })), we = typeof window < "u" && /Firefox/.test(window.navigator.userAgent), mt = 17895697, Ce = (r, t) => {
196
197
  if (!(!r && !t))
197
198
  return t ? r ? {
198
199
  ...r,
@@ -214,13 +215,13 @@ const Ws = (r, t) => {
214
215
  ...t.edit || {}
215
216
  }
216
217
  } : t : r;
217
- }, Ks = (r) => {
218
+ }, Us = (r) => {
218
219
  const t = l.useCallback(
219
220
  (d) => {
220
221
  r.selectionChange && r.selectionChange({ syntheticEvent: d });
221
222
  },
222
223
  [r.selectionChange]
223
- ), s = l.useMemo(() => oe(), []), o = M(r.field, r.dataItem), e = q(r.id);
224
+ ), s = It(), o = T(r.field, r.dataItem), e = q(r.id);
224
225
  let i = {
225
226
  colSpan: r.colSpan,
226
227
  style: r.style,
@@ -254,38 +255,38 @@ const Ws = (r, t) => {
254
255
  return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: i }, n);
255
256
  }
256
257
  return r.render ? r.render.call(void 0, a, r) : a;
257
- }, Fe = "grid.noRecords", Us = "grid.pagerInfo", qs = "grid.pagerFirstPage", $s = "grid.pagerPreviousPage", js = "grid.pagerNextPage", Xs = "grid.pagerLastPage", Ys = "grid.pagerItemsPerPage", Js = "grid.pagerPage", Qs = "grid.pagerPageSizeAriaLabel", Zs = "grid.pagerOf", er = "grid.pagerTotalPages", Ne = "grid.groupPanelEmpty", Lt = "grid.groupColumn", Ot = "grid.ungroupColumn", De = "grid.columnMenu", U = "grid.filterClearButton", ne = "grid.filterSubmitButton", ae = "grid.filterTitle", Me = "grid.sortAscending", Te = "grid.sortDescending", Ge = "grid.searchPlaceholder", He = "grid.filterCheckAll", ze = "grid.filterChooseOperator", Le = "grid.filterSelectedItems", Oe = "grid.sortAriaLabel", _e = "grid.filterAriaLabel", Pe = "grid.groupPanelAriaLabel", _t = "grid.groupExpand", Pt = "grid.groupCollapse", At = "grid.detailExpand", Bt = "grid.detailCollapse", v = {
258
- [At]: "Expand detail row",
259
- [Bt]: "Collapse detail row",
260
- [_t]: "Expand group",
261
- [Pt]: "Collapse Group",
262
- [Fe]: "No records available",
263
- [Ne]: "Drag a column header and drop it here to group by that column",
258
+ }, Re = "grid.noRecords", qs = "grid.pagerInfo", $s = "grid.pagerFirstPage", js = "grid.pagerPreviousPage", Xs = "grid.pagerNextPage", Ys = "grid.pagerLastPage", Js = "grid.pagerItemsPerPage", Qs = "grid.pagerPage", Zs = "grid.pagerPageSizeAriaLabel", er = "grid.pagerOf", tr = "grid.pagerTotalPages", Fe = "grid.groupPanelEmpty", Ot = "grid.groupColumn", _t = "grid.ungroupColumn", Ne = "grid.columnMenu", U = "grid.filterClearButton", le = "grid.filterSubmitButton", ne = "grid.filterTitle", De = "grid.sortAscending", Te = "grid.sortDescending", Ge = "grid.searchPlaceholder", Me = "grid.filterCheckAll", He = "grid.filterChooseOperator", ze = "grid.filterSelectedItems", Le = "grid.sortAriaLabel", Oe = "grid.filterAriaLabel", _e = "grid.groupPanelAriaLabel", Pt = "grid.groupExpand", At = "grid.groupCollapse", Bt = "grid.detailExpand", Wt = "grid.detailCollapse", v = {
259
+ [Bt]: "Expand detail row",
260
+ [Wt]: "Collapse detail row",
261
+ [Pt]: "Expand group",
262
+ [At]: "Collapse Group",
263
+ [Re]: "No records available",
264
+ [Fe]: "Drag a column header and drop it here to group by that column",
264
265
  [U]: "Clear",
266
+ [le]: "Filter",
265
267
  [ne]: "Filter",
266
- [ae]: "Filter",
267
- [Me]: "Sort Ascending",
268
+ [De]: "Sort Ascending",
268
269
  [Te]: "Sort Descending",
269
- [Oe]: "Sortable",
270
- [Lt]: "Group Column",
271
- [Ot]: "Ungroup Column",
272
- [De]: "Column menu",
273
- [Ys]: "items per page",
274
- [Us]: "{0} - {1} of {2} items",
275
- [qs]: "Go to the first page",
276
- [$s]: "Go to the previous page",
277
- [js]: "Go to the next page",
278
- [Xs]: "Go to the last page",
279
- [Js]: "Page",
280
- [Qs]: "Page size",
281
- [Zs]: "of",
282
- [er]: "{0}",
270
+ [Le]: "Sortable",
271
+ [Ot]: "Group Column",
272
+ [_t]: "Ungroup Column",
273
+ [Ne]: "Column menu",
274
+ [Js]: "items per page",
275
+ [qs]: "{0} - {1} of {2} items",
276
+ [$s]: "Go to the first page",
277
+ [js]: "Go to the previous page",
278
+ [Xs]: "Go to the next page",
279
+ [Ys]: "Go to the last page",
280
+ [Qs]: "Page",
281
+ [Zs]: "Page size",
282
+ [er]: "of",
283
+ [tr]: "{0}",
283
284
  [Ge]: "Search",
284
- [He]: "Check All",
285
- [ze]: "Choose Operator",
286
- [Le]: "selected items",
287
- [_e]: "Filter",
288
- [Pe]: "Group panel",
285
+ [Me]: "Check All",
286
+ [He]: "Choose Operator",
287
+ [ze]: "selected items",
288
+ [Oe]: "Filter",
289
+ [_e]: "Group panel",
289
290
  "grid.filterEqOperator": "Is equal to",
290
291
  "grid.filterNotEqOperator": "Is not equal to",
291
292
  "grid.filterIsNullOperator": "Is null",
@@ -310,13 +311,13 @@ const Ws = (r, t) => {
310
311
  "grid.filterAndLogic": "And",
311
312
  "grid.filterOrLogic": "Or"
312
313
  };
313
- function tr(r) {
314
+ function sr(r) {
314
315
  const t = r.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
315
316
  return { messageKey: t, defaultMessage: v[t] };
316
317
  }
317
- const sr = (r) => {
318
+ const rr = (r) => {
318
319
  let t = null, s = null, o = null;
319
- const e = M(r.field, r.dataItem), i = q(r.id), n = Ft(), a = l.useCallback(
320
+ const e = T(r.field, r.dataItem), i = q(r.id), n = Nt(), a = l.useCallback(
320
321
  (d) => {
321
322
  d.isDefaultPrevented() || d.keyCode === me.enter && r.onChange && (d.preventDefault(), r.onChange({
322
323
  dataItem: r.dataItem,
@@ -340,7 +341,7 @@ const sr = (r) => {
340
341
  }
341
342
  );
342
343
  else if (r.rowType !== "groupHeader") {
343
- const d = e ? Bt : At, g = n.toLanguageString(d, v[d]);
344
+ const d = e ? Wt : Bt, g = n.toLanguageString(d, v[d]);
344
345
  s = {
345
346
  className: "k-table-td k-hierarchy-cell",
346
347
  onKeyDown: a,
@@ -364,7 +365,7 @@ const sr = (r) => {
364
365
  href: "#",
365
366
  tabIndex: -1
366
367
  },
367
- /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Rs : Fs })
368
+ /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Fs : Ns })
368
369
  ), t = /* @__PURE__ */ l.createElement(
369
370
  "td",
370
371
  {
@@ -379,12 +380,12 @@ const sr = (r) => {
379
380
  return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: s }, o);
380
381
  }
381
382
  return r.render ? r.render.call(void 0, t, r) : t;
382
- }, rr = bs, re = xs, ir = (r) => {
383
- const t = M(r.field, r.dataItem);
383
+ }, ir = xs, re = ks, or = (r) => {
384
+ const t = T(r.field, r.dataItem);
384
385
  let s = null;
385
386
  const o = y("k-table-td", "k-grid-edit-cell", {
386
387
  ["k-selected"]: r.isSelected
387
- }, r.className), e = l.useMemo(() => oe(), []), i = q(r.id);
388
+ }, r.className), e = It(), i = q(r.id);
388
389
  let n = null, a = null;
389
390
  const h = l.useCallback(
390
391
  (u) => {
@@ -427,7 +428,7 @@ const sr = (r) => {
427
428
  role: "gridcell",
428
429
  ...i
429
430
  }, a = /* @__PURE__ */ l.createElement(
430
- Ue,
431
+ Ke,
431
432
  {
432
433
  width: "100%",
433
434
  value: t === void 0 ? null : t,
@@ -454,7 +455,7 @@ const sr = (r) => {
454
455
  role: "gridcell",
455
456
  ...i
456
457
  }, a = /* @__PURE__ */ l.createElement(
457
- qe,
458
+ Ue,
458
459
  {
459
460
  width: "100%",
460
461
  value: t,
@@ -534,7 +535,7 @@ const sr = (r) => {
534
535
  }
535
536
  return r.render ? r.render.call(void 0, s, r) : s;
536
537
  };
537
- class or extends l.Component {
538
+ class lr extends l.Component {
538
539
  constructor() {
539
540
  super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = St(), this.onScroll = (t) => {
540
541
  if (this.syncScroll) {
@@ -551,7 +552,7 @@ class or extends l.Component {
551
552
  return this.props.elemRef.current;
552
553
  }
553
554
  componentDidMount() {
554
- const t = wt(this.element);
555
+ const t = Rt(this.element);
555
556
  this.props.columnResize && this.props.columnResize.setIsRtl(t), this.forceUpdate();
556
557
  }
557
558
  /**
@@ -609,7 +610,7 @@ class or extends l.Component {
609
610
  /* @__PURE__ */ l.createElement("colgroup", { ref: (t) => {
610
611
  this.props.columnResize.colGroupHeader = t;
611
612
  } }, this.props.cols),
612
- /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...nt }, this.props.headerRow, this.props.filterRow)
613
+ /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...lt }, this.props.headerRow, this.props.filterRow)
613
614
  )
614
615
  )
615
616
  ) : /* @__PURE__ */ l.createElement(
@@ -620,15 +621,15 @@ class or extends l.Component {
620
621
  "k-table-thead",
621
622
  { "k-grid-draggable-header": this.props.draggable }
622
623
  ),
623
- ...nt
624
+ ...lt
624
625
  },
625
626
  this.props.headerRow,
626
627
  this.props.filterRow
627
628
  );
628
629
  }
629
630
  }
630
- const Wt = (...r) => Object.assign({ allowUnsort: !0, mode: "single" }, ...r);
631
- class lr extends l.PureComponent {
631
+ const Vt = (...r) => Object.assign({ allowUnsort: !0, mode: "single" }, ...r);
632
+ class nr extends l.PureComponent {
632
633
  constructor() {
633
634
  super(...arguments), this.draggable = null, this.onPress = (t) => {
634
635
  const s = this.draggable && this.draggable.element;
@@ -658,7 +659,7 @@ class lr extends l.PureComponent {
658
659
  );
659
660
  }
660
661
  }
661
- class Vt extends l.Component {
662
+ class Kt extends l.Component {
662
663
  constructor() {
663
664
  super(...arguments), this.state = {
664
665
  show: !1
@@ -692,7 +693,7 @@ class Vt extends l.Component {
692
693
  };
693
694
  }
694
695
  render() {
695
- const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = T(this), i = o.title || o.field, n = i ? `${i} ` : "";
696
+ const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = G(this), i = o.title || o.field, n = i ? `${i} ` : "";
696
697
  return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
697
698
  "a",
698
699
  {
@@ -702,11 +703,11 @@ class Vt extends l.Component {
702
703
  onMouseDown: this.onAnchorMouseDown,
703
704
  onKeyDown: this.onAnchorKeyDown,
704
705
  href: "#",
705
- "aria-label": `${n}${e.toLanguageString(De, v[De])}`
706
+ "aria-label": `${n}${e.toLanguageString(Ne, v[Ne])}`
706
707
  },
707
- /* @__PURE__ */ l.createElement(O, { name: "more-vertical", icon: Ns })
708
+ /* @__PURE__ */ l.createElement(O, { name: "more-vertical", icon: Ds })
708
709
  ), /* @__PURE__ */ l.createElement(
709
- Ps,
710
+ As,
710
711
  {
711
712
  anchor: this._anchor,
712
713
  show: this.state.show
@@ -732,7 +733,7 @@ class Vt extends l.Component {
732
733
  ));
733
734
  }
734
735
  }
735
- class nr extends l.Component {
736
+ class ar extends l.Component {
736
737
  /**
737
738
  * @hidden
738
739
  */
@@ -752,19 +753,19 @@ class nr extends l.Component {
752
753
  },
753
754
  /* @__PURE__ */ l.createElement("span", { className: "k-column-title" }, this.props.title || this.props.field || " "),
754
755
  this.props.children
755
- ), t.columnMenu && /* @__PURE__ */ l.createElement(Vt, { ...t }));
756
+ ), t.columnMenu && /* @__PURE__ */ l.createElement(Kt, { ...t }));
756
757
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
757
758
  }
758
759
  }
759
- const ar = {
760
+ const hr = {
760
761
  true: { asc: "desc", desc: "", "": "asc" },
761
762
  false: { asc: "desc", desc: "asc", "": "asc" }
762
- }, hr = {
763
+ }, cr = {
763
764
  none: "none",
764
765
  asc: "ascending",
765
766
  desc: "descending"
766
767
  };
767
- class Kt extends l.Component {
768
+ class Ut extends l.Component {
768
769
  constructor(t) {
769
770
  super(t), this.serviceIndex = 0, this.index = -1, this.cellKeyDown = (s, o) => {
770
771
  s.isDefaultPrevented() || s.keyCode === me.enter && this.cellClick(s, o);
@@ -776,9 +777,9 @@ class Kt extends l.Component {
776
777
  "k-header": !0,
777
778
  "k-grid-header-sticky": e.locked,
778
779
  "k-sorted": this.props.sort && this.props.sort.some((k) => k.field === e.field)
779
- }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = T(this).toLanguageString(Oe, v[Oe]);
780
+ }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = G(this).toLanguageString(Le, v[Le]);
780
781
  let m = e.isAccessible ? {
781
- ariaSort: hr[a],
782
+ ariaSort: cr[a],
782
783
  role: "columnheader",
783
784
  ariaColumnIndex: e.ariaColumnIndex,
784
785
  ariaSelected: !1,
@@ -786,7 +787,7 @@ class Kt extends l.Component {
786
787
  } : {
787
788
  role: "presentation"
788
789
  };
789
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : nr, E = /* @__PURE__ */ l.createElement(
790
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : ar, E = /* @__PURE__ */ l.createElement(
790
791
  b,
791
792
  {
792
793
  key: 1,
@@ -832,7 +833,7 @@ class Kt extends l.Component {
832
833
  }, x = [
833
834
  E,
834
835
  this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ l.createElement(
835
- ks,
836
+ vs,
836
837
  {
837
838
  key: 2,
838
839
  resize: (k, _, D) => this.props.columnResize && this.props.columnResize.dragHandler(k, e, _, D),
@@ -845,7 +846,7 @@ class Kt extends l.Component {
845
846
  return /* @__PURE__ */ l.createElement(k, { key: u, thProps: C, index: o }, x);
846
847
  }
847
848
  return /* @__PURE__ */ l.createElement(
848
- Rt,
849
+ Ft,
849
850
  {
850
851
  ...C,
851
852
  key: u
@@ -857,7 +858,7 @@ class Kt extends l.Component {
857
858
  cellClick(t, s) {
858
859
  if (t.preventDefault(), !this.props.sortChange)
859
860
  return;
860
- const { allowUnsort: o, mode: e } = Wt(this.props.sortable || !1, s.sortable || !1), i = (this.props.sort || []).filter((h) => h.field === s.field)[0], n = ar[o][i && i.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((h) => h.field !== s.field);
861
+ const { allowUnsort: o, mode: e } = Vt(this.props.sortable || !1, s.sortable || !1), i = (this.props.sort || []).filter((h) => h.field === s.field)[0], n = hr[o][i && i.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((h) => h.field !== s.field);
861
862
  n !== "" && s.field && a.push({ field: s.field, dir: n }), this.props.sortChange(a, t);
862
863
  }
863
864
  sortIcon(t) {
@@ -866,7 +867,7 @@ class Kt extends l.Component {
866
867
  O,
867
868
  {
868
869
  name: "sort-" + this.props.sort[t].dir + "-small",
869
- icon: this.props.sort[t].dir === "asc" ? We : Ve
870
+ icon: this.props.sort[t].dir === "asc" ? Be : We
870
871
  }
871
872
  )),
872
873
  this.props.sort.length > 1 && /* @__PURE__ */ l.createElement("span", { key: 2, className: "k-sort-icon" }, /* @__PURE__ */ l.createElement("span", { className: "k-sort-order" }, t + 1))
@@ -874,7 +875,7 @@ class Kt extends l.Component {
874
875
  }
875
876
  render() {
876
877
  return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ l.createElement(
877
- lr,
878
+ nr,
878
879
  {
879
880
  key: s,
880
881
  pressHandler: this.props.pressHandler,
@@ -889,11 +890,11 @@ class Kt extends l.Component {
889
890
  ) || /* @__PURE__ */ l.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
890
891
  }
891
892
  }
892
- G(Kt);
893
- const cr = [
893
+ M(Ut);
894
+ const dr = [
894
895
  { text: "grid.filterAndLogic", operator: "and" },
895
896
  { text: "grid.filterOrLogic", operator: "or" }
896
- ], bt = {
897
+ ], Ct = {
897
898
  text: [
898
899
  { text: "grid.filterContainsOperator", operator: "contains" },
899
900
  { text: "grid.filterNotContainsOperator", operator: "doesnotcontain" },
@@ -932,17 +933,17 @@ const cr = [
932
933
  }, L = (r) => r === "isnull" || r === "isnotnull" || r === "isempty" || r === "isnotempty", ie = (r, t) => r.map((s) => ({
933
934
  text: t.toLanguageString(s.text, v[s.text]),
934
935
  operator: s.operator
935
- })), dr = "eq", Ut = [
936
+ })), pr = "eq", qt = [
936
937
  { text: "grid.filterBooleanAll", operator: "" },
937
938
  { text: "grid.filterIsTrue", operator: !0 },
938
939
  { text: "grid.filterIsFalse", operator: !1 }
939
- ], pr = {
940
+ ], ur = {
940
941
  text: !1,
941
942
  numeric: !1,
942
943
  date: !1,
943
944
  boolean: !0
944
- }, qt = (r, t, s) => {
945
- const o = $t(s.operators);
945
+ }, $t = (r, t, s) => {
946
+ const o = jt(s.operators);
946
947
  let e = s.operator;
947
948
  switch (s.filterType) {
948
949
  case "numeric":
@@ -958,36 +959,36 @@ const cr = [
958
959
  return;
959
960
  }
960
961
  s.onChange({ value: r, operator: e, syntheticEvent: t });
961
- }, $t = (r, t) => t ? r[t][0].operator : r[0].operator, Ae = (r) => r || "text", jt = (r, t) => {
962
+ }, jt = (r, t) => t ? r[t][0].operator : r[0].operator, Pe = (r) => r || "text", Xt = (r, t) => {
962
963
  const s = r.target.value;
963
964
  t({
964
965
  value: s.operator,
965
- operator: s.operator === "" ? "" : dr,
966
+ operator: s.operator === "" ? "" : pr,
966
967
  syntheticEvent: r.syntheticEvent
967
968
  });
968
- }, Xt = (r, t, s) => {
969
+ }, Yt = (r, t, s) => {
969
970
  let o = t;
970
971
  const e = r.target.value;
971
972
  r.target.state.opened && (L(e.operator) && (o = null), t === null && !L(e.operator) && (o = void 0), s({ value: o, operator: e.operator, syntheticEvent: r.syntheticEvent }));
972
973
  };
973
- class Yt extends l.Component {
974
+ class Jt extends l.Component {
974
975
  constructor(t) {
975
976
  super(t), this._inputRef = l.createRef(), this.renderOperatorEditor = (s) => {
976
977
  if (this.props.filterType === "boolean")
977
978
  return;
978
979
  const o = this.props.operators.find((e) => e.operator === this.props.operator) || null;
979
980
  return /* @__PURE__ */ l.createElement(
980
- le,
981
+ oe,
981
982
  {
982
983
  size: this.props.size,
983
984
  value: o,
984
985
  onChange: this.operatorChange,
985
986
  className: "k-dropdown-operator",
986
987
  iconClassName: "k-i-filter k-icon",
987
- svgIcon: Ke,
988
+ svgIcon: Ve,
988
989
  data: this.props.operators,
989
990
  textField: "text",
990
- title: s.toLanguageString(ze, v[ze]),
991
+ title: s.toLanguageString(He, v[He]),
991
992
  popupSettings: {
992
993
  width: ""
993
994
  }
@@ -999,12 +1000,12 @@ class Yt extends l.Component {
999
1000
  * @hidden
1000
1001
  */
1001
1002
  render() {
1002
- const t = T(this), s = /* @__PURE__ */ l.createElement("div", { className: "k-filtercell" }, /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-wrapper" }, this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues), /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-operator" }, this.renderOperatorEditor(t), " ", /* @__PURE__ */ l.createElement(
1003
+ const t = G(this), s = /* @__PURE__ */ l.createElement("div", { className: "k-filtercell" }, /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-wrapper" }, this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues), /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-operator" }, this.renderOperatorEditor(t), " ", /* @__PURE__ */ l.createElement(
1003
1004
  W,
1004
1005
  {
1005
1006
  size: this.props.size,
1006
1007
  icon: "filter-clear",
1007
- svgIcon: Ds,
1008
+ svgIcon: Ts,
1008
1009
  className: y({
1009
1010
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1010
1011
  }),
@@ -1017,13 +1018,13 @@ class Yt extends l.Component {
1017
1018
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1018
1019
  }
1019
1020
  inputChange(t, s) {
1020
- qt(t, s, this.props);
1021
+ $t(t, s, this.props);
1021
1022
  }
1022
1023
  operatorChange(t) {
1023
- Xt(t, this.props.value, this.props.onChange);
1024
+ Yt(t, this.props.value, this.props.onChange);
1024
1025
  }
1025
1026
  boolDropdownChange(t) {
1026
- jt(t, this.props.onChange);
1027
+ Xt(t, this.props.onChange);
1027
1028
  }
1028
1029
  clear(t) {
1029
1030
  t.preventDefault(), this.props.onChange({ value: "", operator: "", syntheticEvent: t }), this._inputRef.current && (this._inputRef.current.element.value = "", setTimeout(() => {
@@ -1034,7 +1035,7 @@ class Yt extends l.Component {
1034
1035
  switch (t) {
1035
1036
  case "numeric":
1036
1037
  return /* @__PURE__ */ l.createElement(
1037
- Ue,
1038
+ Ke,
1038
1039
  {
1039
1040
  ref: this._inputRef,
1040
1041
  size: this.props.size,
@@ -1048,7 +1049,7 @@ class Yt extends l.Component {
1048
1049
  );
1049
1050
  case "date":
1050
1051
  return /* @__PURE__ */ l.createElement(
1051
- qe,
1052
+ Ue,
1052
1053
  {
1053
1054
  ref: this._inputRef,
1054
1055
  size: this.props.size,
@@ -1063,7 +1064,7 @@ class Yt extends l.Component {
1063
1064
  case "boolean": {
1064
1065
  const e = (i) => i == null;
1065
1066
  return /* @__PURE__ */ l.createElement(
1066
- le,
1067
+ oe,
1067
1068
  {
1068
1069
  ref: this._inputRef,
1069
1070
  size: this.props.size,
@@ -1078,7 +1079,7 @@ class Yt extends l.Component {
1078
1079
  }
1079
1080
  default:
1080
1081
  return /* @__PURE__ */ l.createElement(
1081
- Mt,
1082
+ Gt,
1082
1083
  {
1083
1084
  ref: this._inputRef,
1084
1085
  size: this.props.size,
@@ -1093,9 +1094,9 @@ class Yt extends l.Component {
1093
1094
  }
1094
1095
  }
1095
1096
  }
1096
- G(Yt);
1097
- const ur = "k-table-row k-filter-row";
1098
- class Jt extends l.Component {
1097
+ M(Jt);
1098
+ const gr = "k-table-row k-filter-row";
1099
+ class Qt extends l.Component {
1099
1100
  headerCellClassName(t, s) {
1100
1101
  let o = `${s ? "k-grid-header-sticky" : ""}`;
1101
1102
  return this.props.sort && this.props.sort.filter((e) => e.field === t).length > 0 && (o += " k-sorted"), o;
@@ -1116,7 +1117,7 @@ class Jt extends l.Component {
1116
1117
  this.props.filterChange(i.length > 0 ? { logic: n, filters: i } : null, e);
1117
1118
  }
1118
1119
  render() {
1119
- const t = T(this), s = this.props.filter && this.props.filter.filters || [], o = (a) => {
1120
+ const t = G(this), s = this.props.filter && this.props.filter.filters || [], o = (a) => {
1120
1121
  if (a === void 0)
1121
1122
  return;
1122
1123
  const h = s.filter((c) => c.field === a);
@@ -1125,7 +1126,7 @@ class Jt extends l.Component {
1125
1126
  let e = 0, i = -1;
1126
1127
  const n = this.props.columns.filter((a) => a.children.length === 0).map(
1127
1128
  (a) => {
1128
- const h = Ae(a.filter), c = o(a.field), d = a.filterable ? t.toLanguageString(_e, v[_e]) : void 0;
1129
+ const h = Pe(a.filter), c = o(a.field), d = a.filterable ? t.toLanguageString(Oe, v[Oe]) : void 0;
1129
1130
  let g = c && c.value;
1130
1131
  g === void 0 && (g = h === "text" ? "" : null);
1131
1132
  const m = a.filterable && {
@@ -1135,7 +1136,7 @@ class Jt extends l.Component {
1135
1136
  value: g,
1136
1137
  operator: c && c.operator,
1137
1138
  operators: ie(this.props.filterOperators[h] || [], t),
1138
- booleanValues: ie(Ut, t),
1139
+ booleanValues: ie(qt, t),
1139
1140
  filterType: h,
1140
1141
  ariaLabel: d,
1141
1142
  onChange: (k) => {
@@ -1151,13 +1152,13 @@ class Jt extends l.Component {
1151
1152
  className: y("k-table-th", this.headerCellClassName(a.field, a.locked) || void 0),
1152
1153
  role: "columnheader",
1153
1154
  ...b
1154
- }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Yt, { size: this.props.size, ...m })), I = Ce(this.props.cells, a.cells);
1155
+ }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Jt, { size: this.props.size, ...m })), I = Ce(this.props.cells, a.cells);
1155
1156
  if (I && I.filterCell) {
1156
1157
  const k = I.filterCell;
1157
1158
  return /* @__PURE__ */ l.createElement(k, { key: u, ...m, thProps: C, index: i }, x);
1158
1159
  }
1159
1160
  return /* @__PURE__ */ l.createElement(
1160
- Rt,
1161
+ Ft,
1161
1162
  {
1162
1163
  key: u,
1163
1164
  ...C
@@ -1166,11 +1167,11 @@ class Jt extends l.Component {
1166
1167
  );
1167
1168
  }
1168
1169
  );
1169
- return /* @__PURE__ */ l.createElement("tr", { className: ur, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1170
+ return /* @__PURE__ */ l.createElement("tr", { className: gr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1170
1171
  }
1171
1172
  }
1172
- G(Jt);
1173
- class Qt extends l.Component {
1173
+ M(Qt);
1174
+ class Zt extends l.Component {
1174
1175
  constructor() {
1175
1176
  super(...arguments), this.draggable = null, this.onPress = (t) => {
1176
1177
  const s = this.draggable && this.draggable.element;
@@ -1221,7 +1222,7 @@ class Qt extends l.Component {
1221
1222
  O,
1222
1223
  {
1223
1224
  name: "sort-" + t + "-small",
1224
- icon: t === "asc" ? We : Ve,
1225
+ icon: t === "asc" ? Be : We,
1225
1226
  size: "small"
1226
1227
  }
1227
1228
  )),
@@ -1236,7 +1237,7 @@ class Qt extends l.Component {
1236
1237
  O,
1237
1238
  {
1238
1239
  name: "x-circle",
1239
- icon: Ms,
1240
+ icon: Gs,
1240
1241
  size: "small"
1241
1242
  }
1242
1243
  )
@@ -1245,8 +1246,8 @@ class Qt extends l.Component {
1245
1246
  );
1246
1247
  }
1247
1248
  }
1248
- G(Qt);
1249
- class Zt extends l.Component {
1249
+ M(Zt);
1250
+ class es extends l.Component {
1250
1251
  constructor() {
1251
1252
  super(...arguments), this.onGroupRemove = (t, s) => {
1252
1253
  const o = this.props.group.slice();
@@ -1258,7 +1259,7 @@ class Zt extends l.Component {
1258
1259
  }
1259
1260
  render() {
1260
1261
  const s = (this.props.group || []).map((o, e) => /* @__PURE__ */ l.createElement(
1261
- Qt,
1262
+ Zt,
1262
1263
  {
1263
1264
  key: e,
1264
1265
  index: e,
@@ -1282,16 +1283,16 @@ class Zt extends l.Component {
1282
1283
  ref: this.props.refCallback,
1283
1284
  className: "k-grouping-header",
1284
1285
  role: "toolbar",
1285
- "aria-label": T(this).toLanguageString(Pe, v[Pe]),
1286
+ "aria-label": G(this).toLanguageString(_e, v[_e]),
1286
1287
  "aria-controls": this.props.ariaControls || ""
1287
1288
  },
1288
1289
  /* @__PURE__ */ l.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1289
- /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && T(this).toLanguageString(Ne, v[Ne]), " ")
1290
+ /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Fe, v[Fe]), " ")
1290
1291
  );
1291
1292
  }
1292
1293
  }
1293
- G(Zt);
1294
- class gr extends l.Component {
1294
+ M(es);
1295
+ class fr extends l.Component {
1295
1296
  constructor() {
1296
1297
  super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = St();
1297
1298
  }
@@ -1354,7 +1355,7 @@ class gr extends l.Component {
1354
1355
  ) : /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1355
1356
  }
1356
1357
  }
1357
- class fr {
1358
+ class mr {
1358
1359
  constructor(t) {
1359
1360
  this.table = null, this.containerHeight = 0, this.topCacheCount = 0, this.attendedSkip = 0, this.propsSkip = 0, this.total = 0, this.scrollableVirtual = !1, this.realSkip = 0, this.pageSize = 0, this.PageChange = null, this.tableBodyRef = l.createRef(), this.fixedScroll = !1, this.askedSkip = void 0, this.containerRef = l.createRef(), this.tableTransform = "", this.prevScrollPos = 0, this.tableTranslate = 0, this.scrollSyncing = !1, this.reactVersion = Number.parseFloat(l.version), this.topItems = (s, o) => {
1360
1361
  if (!this.container || o)
@@ -1470,7 +1471,7 @@ class fr {
1470
1471
  s - o < 0 && s > this.tableTranslate - this.table.scrollHeight / 10 ? this.localScrollUp(t) : s - o > 0 && s < this.tableTranslate + this.table.scrollHeight * 2 / 3 ? this.localScrollDown(t) : this.scrollNonStrict(t), this.prevScrollPos = s;
1471
1472
  }
1472
1473
  }
1473
- class xt {
1474
+ class bt {
1474
1475
  constructor(t = 0, s, o, e) {
1475
1476
  this.total = t, this.offsets = [], this.heights = [];
1476
1477
  let i = 0;
@@ -1504,7 +1505,7 @@ class xt {
1504
1505
  return t + s;
1505
1506
  }
1506
1507
  }
1507
- class kt {
1508
+ class xt {
1508
1509
  constructor(t) {
1509
1510
  this.table = null, this.containerHeight = 0, this.topCacheCount = 0, this.attendedSkip = 0, this.propsSkip = 0, this.total = 0, this.scrollableVirtual = !1, this.realSkip = 0, this.pageSize = 0, this.PageChange = null, this.tableBodyRef = l.createRef(), this.fixedScroll = !1, this.askedSkip = void 0, this.containerRef = l.createRef(), this.tableTransform = "", this.scrollSyncing = !1, this.lastLoaded = 0, this.firstLoaded = 0, this.lastScrollTop = 0, this.reactVersion = Number.parseFloat(l.version), this.firstLoaded = this.pageSize, this.lastLoaded = this.realSkip + this.pageSize, this.scrollHandler = this.scrollHandler.bind(this);
1510
1511
  }
@@ -1512,7 +1513,7 @@ class kt {
1512
1513
  return this.containerRef.current;
1513
1514
  }
1514
1515
  translate(t, s) {
1515
- this.scrollableVirtual && this.table && (Re || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1516
+ this.scrollableVirtual && this.table && (we || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1516
1517
  }
1517
1518
  changePage(t, s) {
1518
1519
  this.PageChange && this.PageChange({ skip: Math.max(0, t), take: this.pageSize }, s);
@@ -1542,8 +1543,8 @@ class kt {
1542
1543
  }
1543
1544
  }
1544
1545
  }
1545
- const mr = 1, Cr = 20;
1546
- class br {
1546
+ const Cr = 1, br = 20;
1547
+ class xr {
1547
1548
  constructor(t) {
1548
1549
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1549
1550
  this.isRtl = s;
@@ -1580,7 +1581,7 @@ class br {
1580
1581
  let g = [];
1581
1582
  d.forEach((m) => {
1582
1583
  h.forEach((u) => {
1583
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + mr));
1584
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + Cr));
1584
1585
  });
1585
1586
  }), d.forEach((m) => {
1586
1587
  h.forEach((u) => {
@@ -1649,7 +1650,7 @@ class br {
1649
1650
  }
1650
1651
  updateNextLockedCol(t, s, o) {
1651
1652
  const e = s.index, i = this.colGroupMain.parentElement.closest(".k-grid"), n = i == null ? void 0 : i.clientWidth, a = this.columns.filter((h) => h.locked).map((h) => parseInt(h.width + "", 10)).reduce((h, c) => h + c, 0);
1652
- !s.locked || n <= a + Cr || this.columns.forEach((h) => {
1653
+ !s.locked || n <= a + br || this.columns.forEach((h) => {
1653
1654
  if (h != null && h.locked && o) {
1654
1655
  const c = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + h.ariaColumnIndex + '"]');
1655
1656
  c == null || c.forEach((d) => {
@@ -1660,7 +1661,7 @@ class br {
1660
1661
  });
1661
1662
  }
1662
1663
  }
1663
- class xr {
1664
+ class kr {
1664
1665
  constructor(t, s, o) {
1665
1666
  this.refDragElementClue = l.createRef(), this.refDropElementClue = l.createRef(), this.columns = [], this.reorderable = !1, this.groupable = !1, this.startColumn = -1, this.startGroup = -1, this.currentColumn = -1, this.currentGroup = -1, this.groupPanelDivElement = null, this.refGroupPanelDiv = (e) => {
1666
1667
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
@@ -1702,7 +1703,7 @@ class xr {
1702
1703
  getColumnIndex(t, s) {
1703
1704
  if (!s || s.parentElement === this.groupPanelDivElement)
1704
1705
  return -1;
1705
- const o = at(t, s);
1706
+ const o = nt(t, s);
1706
1707
  if (o === -1)
1707
1708
  return -1;
1708
1709
  for (let e = 0; e < s.parentNode.children.length; e++)
@@ -1715,7 +1716,7 @@ class xr {
1715
1716
  return s.className.indexOf ? s.className.indexOf("k-grouping-drop-container") !== -1 : !1;
1716
1717
  }
1717
1718
  getGroupIndex(t) {
1718
- return at(t, this.groupPanelDivElement);
1719
+ return nt(t, this.groupPanelDivElement);
1719
1720
  }
1720
1721
  isValid() {
1721
1722
  return this.startGroup >= 0 ? this.currentGroup >= 0 && this.currentGroup !== this.startGroup : this.startColumn === -1 ? !1 : this.currentGroup >= 0 ? this.columns[this.startColumn].groupable === !0 && this.groupable === !0 : this.reorderable === !0 && this.currentColumn >= 0 && this.currentColumn !== this.startColumn && this.columns[this.startColumn].reorderable === !0 && this.columns[this.currentColumn].parentIndex === this.columns[this.startColumn].parentIndex;
@@ -1751,9 +1752,9 @@ class xr {
1751
1752
  });
1752
1753
  }
1753
1754
  }
1754
- const kr = (r) => {
1755
+ const vr = (r) => {
1755
1756
  let t = null;
1756
- const s = ws(), o = q(r.id), e = l.useCallback((c) => {
1757
+ const s = Rs(), o = q(r.id), e = l.useCallback((c) => {
1757
1758
  r.onContextMenu && r.onContextMenu.call(void 0, c, r.dataItem, r.field);
1758
1759
  }, [r.onContextMenu, r.dataItem, r.field]);
1759
1760
  let i = null, n = null;
@@ -1764,7 +1765,7 @@ const kr = (r) => {
1764
1765
  }, t = /* @__PURE__ */ l.createElement("td", { ...i });
1765
1766
  else if (r.rowType !== "groupHeader") {
1766
1767
  if (r.field !== void 0) {
1767
- const d = M(r.field, r.dataItem);
1768
+ const d = T(r.field, r.dataItem);
1768
1769
  d != null && (n = r.format ? s.format(r.format, d) : d.toString());
1769
1770
  }
1770
1771
  const c = y(
@@ -1790,9 +1791,9 @@ const kr = (r) => {
1790
1791
  return /* @__PURE__ */ l.createElement(c, { ...r, tdProps: i }, n);
1791
1792
  }
1792
1793
  return r.render ? r.render.call(void 0, t, r) : t;
1793
- }, vt = (r) => {
1794
+ }, kt = (r) => {
1794
1795
  let t = null;
1795
- const { columnIndex: s, level: o, columnsCount: e, rowType: i, dataItem: n, field: a, onChange: h, expanded: c, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = r, b = a || "", E = q(r.id), C = Ft();
1796
+ const { columnIndex: s, level: o, columnsCount: e, rowType: i, dataItem: n, field: a, onChange: h, expanded: c, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = r, b = a || "", E = q(r.id), C = Nt();
1796
1797
  let x = null, I = null, k = null;
1797
1798
  const _ = l.useCallback(
1798
1799
  (F) => {
@@ -1807,11 +1808,11 @@ const kr = (r) => {
1807
1808
  [c, h, n, g]
1808
1809
  ), D = l.useCallback((F) => {
1809
1810
  r.onContextMenu && r.onContextMenu.call(void 0, F, r.dataItem, r.field);
1810
- }, [r.onContextMenu, r.dataItem, r.field]), de = (F, ke) => {
1811
- const pe = c ? Pt : _t, ve = C.toLanguageString(pe, v[pe]);
1811
+ }, [r.onContextMenu, r.dataItem, r.field]), de = (F, xe) => {
1812
+ const pe = c ? At : Pt, ke = C.toLanguageString(pe, v[pe]);
1812
1813
  return x = {
1813
1814
  className: "k-table-td",
1814
- style: { ...r.style, ...ke },
1815
+ style: { ...r.style, ...xe },
1815
1816
  colSpan: F,
1816
1817
  key: "g-colspan",
1817
1818
  role: "gridcell",
@@ -1835,19 +1836,20 @@ const kr = (r) => {
1835
1836
  },
1836
1837
  href: "#",
1837
1838
  tabIndex: -1,
1838
- "aria-label": ve
1839
+ "aria-label": ke
1839
1840
  },
1840
1841
  /* @__PURE__ */ l.createElement(
1841
1842
  O,
1842
1843
  {
1843
1844
  name: c ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1844
- icon: c ? Ts : u ? Gs : Hs
1845
+ icon: c ? Ms : u ? Hs : zs
1845
1846
  }
1846
1847
  )
1847
1848
  ), n[b] instanceof Date && n[b].toString ? n[b].toString() : n[b]), /* @__PURE__ */ l.createElement(
1848
1849
  "td",
1849
1850
  {
1850
- ...x
1851
+ ...x,
1852
+ key: x.key
1851
1853
  },
1852
1854
  k
1853
1855
  );
@@ -1865,7 +1867,8 @@ const kr = (r) => {
1865
1867
  }, t = /* @__PURE__ */ l.createElement(
1866
1868
  "td",
1867
1869
  {
1868
- ...x
1870
+ ...x,
1871
+ key: x.key
1869
1872
  }
1870
1873
  )) : s <= o && !r.locked ? t = de(e - s, {}) : s <= o && r.locked && (I = {
1871
1874
  className: "k-table-td",
@@ -1886,7 +1889,7 @@ const kr = (r) => {
1886
1889
  }
1887
1890
  return d ? d.call(void 0, t, r) : t;
1888
1891
  };
1889
- class vr extends l.Component {
1892
+ class Er extends l.Component {
1890
1893
  /**
1891
1894
  * @hidden
1892
1895
  */
@@ -1916,16 +1919,16 @@ class vr extends l.Component {
1916
1919
  "aria-rowindex": this.props.ariaRowIndex,
1917
1920
  "absolute-row-index": this.props.absoluteRowIndex,
1918
1921
  key: this.props.absoluteRowIndex,
1919
- [rr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1922
+ [ir]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1920
1923
  },
1921
1924
  this.props.children
1922
1925
  );
1923
1926
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1924
1927
  }
1925
1928
  }
1926
- class Er extends l.Component {
1927
- constructor() {
1928
- super(...arguments), this._inputId = oe();
1929
+ class Ir extends l.Component {
1930
+ get _inputId() {
1931
+ return this.props.id;
1929
1932
  }
1930
1933
  render() {
1931
1934
  const { columnMenuWrapperProps: t } = this.props, s = [
@@ -1944,22 +1947,23 @@ class Er extends l.Component {
1944
1947
  }
1945
1948
  ),
1946
1949
  /* @__PURE__ */ l.createElement("label", { key: 1, className: "k-checkbox-label", htmlFor: this._inputId }),
1947
- t.columnMenu && /* @__PURE__ */ l.createElement(Vt, { ...t })
1950
+ t.columnMenu && /* @__PURE__ */ l.createElement(Kt, { ...t })
1948
1951
  ];
1949
1952
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1950
1953
  }
1951
1954
  }
1952
- class $e extends l.Component {
1955
+ const Sr = wt(Ir);
1956
+ class qe extends l.Component {
1953
1957
  /**
1954
1958
  * @hidden
1955
1959
  */
1956
1960
  render() {
1957
- return this.props.children || T(this).toLanguageString(Fe, v[Fe]);
1961
+ return this.props.children || G(this).toLanguageString(Re, v[Re]);
1958
1962
  }
1959
1963
  }
1960
- $e.displayName = "KendoReactGridNoRecords";
1961
- G($e);
1962
- class Ir extends l.Component {
1964
+ qe.displayName = "KendoReactGridNoRecords";
1965
+ M(qe);
1966
+ class yr extends l.Component {
1963
1967
  constructor() {
1964
1968
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1965
1969
  const o = {
@@ -1988,10 +1992,10 @@ class Ir extends l.Component {
1988
1992
  return this._element;
1989
1993
  }
1990
1994
  render() {
1991
- return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Vs(this.props.columns).map(this.renderCell));
1995
+ return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Ks(this.props.columns).map(this.renderCell));
1992
1996
  }
1993
1997
  }
1994
- const Sr = ({
1998
+ const wr = ({
1995
1999
  buttonCount: r = 10,
1996
2000
  info: t = !0,
1997
2001
  type: s = "numeric",
@@ -2007,14 +2011,14 @@ const Sr = ({
2007
2011
  responsive: i !== !1,
2008
2012
  type: s,
2009
2013
  pageSizeValue: n
2010
- }), yr = (r) => Sr(r === !0 ? {} : r), Et = {
2014
+ }), Rr = (r) => wr(r === !0 ? {} : r), vt = {
2011
2015
  name: "@progress/kendo-react-grid",
2012
2016
  productName: "KendoReact",
2013
2017
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2014
- publishDate: 1701355205,
2018
+ publishDate: 1702305200,
2015
2019
  version: "",
2016
2020
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2017
- }, wr = (r) => {
2021
+ }, Fr = (r) => {
2018
2022
  const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: i } = r, n = q(i), a = l.useCallback((h) => {
2019
2023
  r.onContextMenu && r.onContextMenu.call(void 0, h, r.dataItem);
2020
2024
  }, [r.onContextMenu, r.dataItem]);
@@ -2030,13 +2034,13 @@ const Sr = ({
2030
2034
  },
2031
2035
  /* @__PURE__ */ l.createElement(r.detail, { dataItem: o, dataIndex: e })
2032
2036
  );
2033
- }, Rr = (r) => {
2037
+ }, Nr = (r) => {
2034
2038
  const t = q(r.id);
2035
2039
  return /* @__PURE__ */ l.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2036
2040
  };
2037
- class be extends l.Component {
2041
+ let ce = class extends l.Component {
2038
2042
  constructor(t) {
2039
- super(t), this._columns = [], this._columnsMap = [[]], this._columnsMutations = 0, this._resized = !1, this._shouldUpdateLeftRight = !0, this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this._data = [], this._slicedData = void 0, this.wrapperScrollTop = 0, this.showLicenseWatermark = !1, this.headerRef = l.createRef(), this.headerElementRef = l.createRef(), this._element = null, this.tableElement = null, this.containerRef = l.createRef(), this.tableBodyRef = l.createRef(), this._footer = null, this.forceUpdateTimeout = void 0, this.isRtl = !1, this._gridId = oe(), this._gridRoleElementId = oe(), this.observer = null, this.handleIntersection = (e) => {
2043
+ super(t), this._columns = [], this._columnsMap = [[]], this._columnsMutations = 0, this._resized = !1, this._shouldUpdateLeftRight = !0, this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this._data = [], this._slicedData = void 0, this.wrapperScrollTop = 0, this.showLicenseWatermark = !1, this.headerRef = l.createRef(), this.headerElementRef = l.createRef(), this._element = null, this.tableElement = null, this.containerRef = l.createRef(), this.tableBodyRef = l.createRef(), this._footer = null, this.forceUpdateTimeout = void 0, this.isRtl = !1, this.observer = null, this.handleIntersection = (e) => {
2040
2044
  const i = { rowIndex: this.rowIndex };
2041
2045
  e.forEach((n) => {
2042
2046
  n.isIntersecting || this.setCurrentOnTop(i);
@@ -2077,7 +2081,7 @@ class be extends l.Component {
2077
2081
  }
2078
2082
  }, this.getVirtualScroll = (e) => {
2079
2083
  const { rowHeight: i, detailRowHeight: n, detail: a, expandField: h, groupable: c } = e, d = this.isAllData(), g = i !== void 0 && i > 0, m = n !== void 0 && n > 0, u = c === !0 || typeof c == "object" && c.enabled !== !1;
2080
- return !g || u && !d || !!(a && h) && (!m || !d) ? fr : kt;
2084
+ return !g || u && !d || !!(a && h) && (!m || !d) ? mr : xt;
2081
2085
  }, this.isAllData = () => {
2082
2086
  const { data: e, total: i } = this.props;
2083
2087
  return Array.isArray(e) ? e.length === i : e ? i === e.total : !1;
@@ -2091,15 +2095,15 @@ class be extends l.Component {
2091
2095
  i || this.props.rowHeight === void 0 || this.props.rowHeight === 0
2092
2096
  ), this.vs.fixedScroll = this.props.fixedScroll || !1, this.vs.PageChange = this.pageChange, this.vs.realSkip = this.props.skip || 0, this.vs.pageSize = (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 0, this.vs.scrollableVirtual = this.props.scrollable === "virtual", this.vs.total = e, this.vs.propsSkip = (this.props.skip || 0) + (this.props.scrollable === "virtual" ? this.vs.topCacheCount + (this.vs.attendedSkip - (this.props.skip || 0)) : 0), this.props.rowHeight !== void 0 && this.props.rowHeight > 0 && !i) {
2093
2097
  const n = this.props.rowHeight * e;
2094
- this.vs.containerHeight = Re ? Math.min(Ct, n) : n;
2098
+ this.vs.containerHeight = we ? Math.min(mt, n) : n;
2095
2099
  } else
2096
2100
  this.vs.containerHeight = 1533915;
2097
- if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof kt) {
2101
+ if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof xt) {
2098
2102
  const { rowHeight: n = 0, detail: a, expandField: h } = this.props;
2099
2103
  let { detailRowHeight: c = 0 } = this.props;
2100
- c = a && h ? c : n, this.isAllData() ? (this.vs.total = this._data.length, this._slicedData = this._data.slice(this.vs.realSkip, this.vs.realSkip + this.vs.pageSize), this.vs.rowHeightService = this.rowHeightService(this.vs, this._data.length, n, c, this._data)) : this.vs.rowHeightService = new xt(e, n, c);
2104
+ c = a && h ? c : n, this.isAllData() ? (this.vs.total = this._data.length, this._slicedData = this._data.slice(this.vs.realSkip, this.vs.realSkip + this.vs.pageSize), this.vs.rowHeightService = this.rowHeightService(this.vs, this._data.length, n, c, this._data)) : this.vs.rowHeightService = new bt(e, n, c);
2101
2105
  const d = this.vs.rowHeightService.totalHeight();
2102
- this.vs.containerHeight = Re ? Math.min(Ct, d) : d;
2106
+ this.vs.containerHeight = we ? Math.min(mt, d) : d;
2103
2107
  }
2104
2108
  }, this.scrollHandler = (e) => {
2105
2109
  if (e.target !== e.currentTarget)
@@ -2108,14 +2112,14 @@ class be extends l.Component {
2108
2112
  const i = e.currentTarget.scrollLeft, n = e.currentTarget.scrollTop;
2109
2113
  this.props.columnVirtualization && (!this.vs.scrollableVirtual || n === this.wrapperScrollTop) && (this.forceUpdateTimeout = window.setTimeout(() => {
2110
2114
  this.forceUpdate();
2111
- }, 0)), this._header && this._header.setScrollLeft(i), this._footer && this._footer.setScrollLeft(i), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), ps(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
2115
+ }, 0)), this._header && this._header.setScrollLeft(i), this._footer && this._footer.setScrollLeft(i), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), us(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
2112
2116
  }, this.onKeyDown = (e) => {
2113
2117
  if (X.onKeyDown(e, {
2114
2118
  contextStateRef: this.contextStateRef,
2115
2119
  navigationStateRef: this.navigationStateRef,
2116
2120
  onNavigationAction: this.onNavigationAction
2117
2121
  }), this.props.onKeyDown) {
2118
- const { mode: i, cell: n } = ht(this.props.selectable), a = {
2122
+ const { mode: i, cell: n } = at(this.props.selectable), a = {
2119
2123
  dataItems: this.getLeafDataItems(),
2120
2124
  mode: i,
2121
2125
  cell: n,
@@ -2253,7 +2257,7 @@ class be extends l.Component {
2253
2257
  const d = this.getVirtualScroll(this.props);
2254
2258
  this.vs = new d(c);
2255
2259
  }), this.flatData = B((e, i, n, a, h, c, d) => {
2256
- const g = [], m = Gt(
2260
+ const g = [], m = Ht(
2257
2261
  g,
2258
2262
  e,
2259
2263
  i,
@@ -2262,16 +2266,16 @@ class be extends l.Component {
2262
2266
  h
2263
2267
  );
2264
2268
  return { flattedData: g, resolvedGroupsCount: m };
2265
- }), this.rowHeightService = B((e, i, n, a, h) => new xt(i, n, a, h)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2269
+ }), this.rowHeightService = B((e, i, n, a, h) => new bt(i, n, a, h)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2266
2270
  (e, i, n) => {
2267
2271
  const a = e.filter((h) => h && h.type && h.type.displayName === "KendoReactGridColumn");
2268
- return Ht(a, this.columns, { prevId: 0, idPrefix: i });
2272
+ return zt(a, this.columns, { prevId: 0, idPrefix: i });
2269
2273
  }
2270
2274
  ), this.mapColumns = B(
2271
- (e) => vs(e)
2275
+ (e) => Es(e)
2272
2276
  ), this.configureColumns = B((e, i, n) => {
2273
2277
  this.props.selectedField && e.filter((c) => c.field === this.props.selectedField).forEach((c) => {
2274
- c.width = c.width || "50px", c.cell = c.cell || Ks, c.headerCell = c.headerCell || Er;
2278
+ c.width = c.width || "50px", c.cell = c.cell || Us, c.headerCell = c.headerCell || Sr;
2275
2279
  });
2276
2280
  const a = {
2277
2281
  id: "",
@@ -2295,7 +2299,7 @@ class be extends l.Component {
2295
2299
  let h = 0;
2296
2300
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2297
2301
  ...a,
2298
- cell: sr,
2302
+ cell: rr,
2299
2303
  field: this.props.expandField,
2300
2304
  headerClassName: "k-hierarchy-cell k-header",
2301
2305
  id: z.generateNavigatableId(`${this._columns.length}`, n, "column")
@@ -2304,13 +2308,13 @@ class be extends l.Component {
2304
2308
  e.unshift({
2305
2309
  ...a,
2306
2310
  isAccessible: !1,
2307
- cell: vt,
2311
+ cell: kt,
2308
2312
  field: "value",
2309
2313
  locked: this.props.lockGroups
2310
2314
  }), h++;
2311
2315
  e.slice(h).forEach((c) => c.parentIndex >= 0 && (c.parentIndex += h));
2312
2316
  }), this.getHeaderRow = B((e, i, n, a, h, c, d, g, m, u, b, E) => /* @__PURE__ */ l.createElement(
2313
- Kt,
2317
+ Ut,
2314
2318
  {
2315
2319
  cells: this.props.cells,
2316
2320
  sort: e,
@@ -2340,13 +2344,13 @@ class be extends l.Component {
2340
2344
  )), this.resolveTitle = (e) => {
2341
2345
  const i = this._columns.find((a) => a.field === e), n = i && (i.title || i.field);
2342
2346
  return n === void 0 ? e : n;
2343
- }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), us(Et), this.showLicenseWatermark = gs(Et);
2347
+ }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), gs(vt), this.showLicenseWatermark = fs(vt);
2344
2348
  const s = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1, o = this.getVirtualScroll(t);
2345
- this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new xr(
2349
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new kr(
2346
2350
  this.columnReorder.bind(this),
2347
2351
  this.groupReorder.bind(this),
2348
2352
  this.columnToGroup.bind(this)
2349
- ), this.columnResize = new br(this.onResize), X.onConstructor({
2353
+ ), this.columnResize = new xr(this.onResize), X.onConstructor({
2350
2354
  navigatable: !!t.navigatable,
2351
2355
  contextStateRef: this.contextStateRef,
2352
2356
  navigationStateRef: this.navigationStateRef,
@@ -2395,7 +2399,7 @@ class be extends l.Component {
2395
2399
  // tslint:enable:max-line-length
2396
2400
  get columns() {
2397
2401
  const t = this._columns.filter((s) => s.declarationIndex >= 0 && s.parentIndex === -1);
2398
- return zt(t);
2402
+ return Lt(t);
2399
2403
  }
2400
2404
  /**
2401
2405
  * Returns the HTML element of the Grid component.
@@ -2404,18 +2408,21 @@ class be extends l.Component {
2404
2408
  return this._element;
2405
2409
  }
2406
2410
  get document() {
2407
- if (ot)
2411
+ if (it)
2408
2412
  return this.element && this.element.ownerDocument || document;
2409
2413
  }
2410
2414
  get _header() {
2411
2415
  return this.headerRef.current;
2412
2416
  }
2417
+ get _gridId() {
2418
+ return this.props.id + "-role-element-id";
2419
+ }
2413
2420
  /**
2414
2421
  * @hidden
2415
2422
  */
2416
2423
  componentDidMount() {
2417
- this.resetTableWidth(), lt();
2418
- const t = wt(this.element);
2424
+ this.resetTableWidth(), ot();
2425
+ const t = Rt(this.element);
2419
2426
  this.isRtl = t, X.onComponentDidMount({
2420
2427
  scope: this.element || void 0,
2421
2428
  contextStateRef: this.contextStateRef,
@@ -2425,7 +2432,7 @@ class be extends l.Component {
2425
2432
  rootMargin: "0px",
2426
2433
  threshold: 0.9
2427
2434
  };
2428
- this.observer = ot && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2435
+ this.observer = it && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2429
2436
  }
2430
2437
  /**
2431
2438
  * @hidden
@@ -2441,7 +2448,7 @@ class be extends l.Component {
2441
2448
  * @hidden
2442
2449
  */
2443
2450
  componentDidUpdate() {
2444
- this.resetTableWidth(), lt(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2451
+ this.resetTableWidth(), ot(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2445
2452
  scope: this.element || void 0,
2446
2453
  contextStateRef: this.contextStateRef,
2447
2454
  navigationStateRef: this.navigationStateRef
@@ -2457,7 +2464,7 @@ class be extends l.Component {
2457
2464
  * @hidden
2458
2465
  */
2459
2466
  render() {
2460
- var rt;
2467
+ var st;
2461
2468
  let t = this.props.total || 0;
2462
2469
  const s = z.getIdPrefix(this.navigationStateRef);
2463
2470
  let o = [];
@@ -2478,8 +2485,8 @@ class be extends l.Component {
2478
2485
  this.initializeVirtualization(t, a);
2479
2486
  const c = this.childrenToArray(this.props.children);
2480
2487
  this.initColumns(c, i);
2481
- const d = c.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(f, { ...f.props, ariaControls: this._gridRoleElementId }) : null), g = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ l.createElement(
2482
- Zt,
2488
+ const d = c.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(f, { ...f.props, ariaControls: this._gridId }) : null), g = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ l.createElement(
2489
+ es,
2483
2490
  {
2484
2491
  group: this.props.group || [],
2485
2492
  groupChange: this.groupChange,
@@ -2488,11 +2495,11 @@ class be extends l.Component {
2488
2495
  releaseHandler: this.dragLogic.releaseHandler,
2489
2496
  refCallback: this.dragLogic.refGroupPanelDiv,
2490
2497
  resolveTitle: this.resolveTitle,
2491
- ariaControls: this._gridRoleElementId,
2498
+ ariaControls: this._gridId,
2492
2499
  onContextMenu: this.onContextMenu
2493
2500
  }
2494
- ), { sort: E, sortable: C, group: x, filter: I, filterable: k, filterOperators: _ = bt, headerCellRender: D, columnMenu: de } = this.props, Y = /* @__PURE__ */ l.createElement(
2495
- or,
2501
+ ), { sort: E, sortable: C, group: x, filter: I, filterable: k, filterOperators: _ = Ct, headerCellRender: D, columnMenu: de } = this.props, Y = /* @__PURE__ */ l.createElement(
2502
+ lr,
2496
2503
  {
2497
2504
  size: this.props.size,
2498
2505
  columnResize: this.columnResize,
@@ -2516,13 +2523,13 @@ class be extends l.Component {
2516
2523
  this.isRtl
2517
2524
  ),
2518
2525
  filterRow: this.props.filterable && /* @__PURE__ */ l.createElement(
2519
- Jt,
2526
+ Qt,
2520
2527
  {
2521
2528
  cells: this.props.cells,
2522
2529
  size: this.props.size,
2523
2530
  columns: this._columns,
2524
2531
  filter: this.props.filter,
2525
- filterOperators: this.props.filterOperators || bt,
2532
+ filterOperators: this.props.filterOperators || Ct,
2526
2533
  filterChange: this.filterChange,
2527
2534
  sort: this.props.sort,
2528
2535
  cellRender: this.props.filterCellRender,
@@ -2534,18 +2541,18 @@ class be extends l.Component {
2534
2541
  "col",
2535
2542
  {
2536
2543
  key: w.toString(),
2537
- width: Se(f)
2544
+ width: Ie(f)
2538
2545
  }
2539
2546
  ))
2540
2547
  }
2541
- ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Es({
2548
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: xe, hiddenColumns: pe } = Is({
2542
2549
  enabled: this.props.columnVirtualization,
2543
2550
  columns: u,
2544
2551
  tableViewPortWidth: F,
2545
2552
  scrollLeft: $
2546
- }), ve = (f, w, R) => {
2553
+ }), ke = (f, w, R) => {
2547
2554
  let j = !1;
2548
- const V = this.props.selectedField ? M(this.props.selectedField, f.dataItem) : void 0;
2555
+ const V = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2549
2556
  return {
2550
2557
  row: u.map((S, N) => {
2551
2558
  if (pe[N])
@@ -2553,18 +2560,18 @@ class be extends l.Component {
2553
2560
  const ee = S.id ? S.id : N, te = `${S.className ? S.className + " " : ""}${S.locked ? "k-grid-content-sticky" : ""}`, P = S.left !== void 0 ? this.isRtl ? { left: S.right, right: S.left } : { left: S.left, right: S.right } : {};
2554
2561
  let A = !1;
2555
2562
  if (S.editable && this.props.editField) {
2556
- const H = M(this.props.editField, f.dataItem);
2563
+ const H = T(this.props.editField, f.dataItem);
2557
2564
  H && (H === !0 || H === S.field) && (j = !0, A = !0);
2558
2565
  }
2559
- let Ie = S.cell || A && ir || kr;
2566
+ let Ee = S.cell || A && or || vr;
2560
2567
  return /* @__PURE__ */ l.createElement(
2561
- Ie,
2568
+ Ee,
2562
2569
  {
2563
2570
  onContextMenu: this.onContextMenu,
2564
2571
  key: ee,
2565
2572
  locked: this.props.lockGroups,
2566
2573
  id: z.generateNavigatableId(`${w}-${String(N)}`, s),
2567
- colSpan: ke[N],
2574
+ colSpan: xe[N],
2568
2575
  dataItem: f.dataItem,
2569
2576
  field: S.field,
2570
2577
  editor: S.editor,
@@ -2601,24 +2608,24 @@ class be extends l.Component {
2601
2608
  else
2602
2609
  break;
2603
2610
  }
2604
- const Xe = (f) => f >= this._data.length - J;
2605
- let Ye = this.vs.realSkip || 0;
2606
- const Q = [], Ee = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2611
+ const je = (f) => f >= this._data.length - J;
2612
+ let Xe = this.vs.realSkip || 0;
2613
+ const Q = [], ve = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2607
2614
  let Z = 0;
2608
2615
  if (this._data.length) {
2609
2616
  let f = -1, w = 0;
2610
2617
  (this._slicedData || this._data).forEach((R, j) => {
2611
- R.rowType === "data" && (Ye++, f++);
2612
- const V = Ye % 2 === 0, S = this.props.dataItemKey && ye(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = S || "ai" + N, te = ee + "_1", P = ve(R, ee, f);
2613
- if (Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2614
- vr,
2618
+ R.rowType === "data" && (Xe++, f++);
2619
+ const V = Xe % 2 === 0, S = this.props.dataItemKey && Se(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = S || "ai" + N, te = ee + "_1", P = ke(R, ee, f);
2620
+ if (Z = N + ve + w, Q.push(/* @__PURE__ */ l.createElement(
2621
+ Er,
2615
2622
  {
2616
2623
  key: ee,
2617
2624
  dataItem: R.dataItem,
2618
2625
  isAltRow: V,
2619
2626
  isInEdit: P.isInEdit,
2620
2627
  rowType: R.rowType,
2621
- isHidden: Xe(j),
2628
+ isHidden: je(j),
2622
2629
  onClick: (A) => this.rowClick(A, R),
2623
2630
  onDoubleClick: (A) => this.rowDblClick(A, R),
2624
2631
  selectedField: this.props.selectedField,
@@ -2632,7 +2639,7 @@ class be extends l.Component {
2632
2639
  P.row
2633
2640
  )), this.props.detail && R.rowType === "data" && R.expanded) {
2634
2641
  const A = u.length - (this.props.expandField ? 1 : 0) - (this.props.group ? this.props.group.length : 0) || 1;
2635
- w++, Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2642
+ w++, Z = N + ve + w, Q.push(/* @__PURE__ */ l.createElement(
2636
2643
  "tr",
2637
2644
  {
2638
2645
  key: te,
@@ -2640,22 +2647,22 @@ class be extends l.Component {
2640
2647
  "k-table-row",
2641
2648
  V ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2642
2649
  ),
2643
- style: { visibility: Xe(j) ? "hidden" : "", height: this.props.detailRowHeight },
2650
+ style: { visibility: je(j) ? "hidden" : "", height: this.props.detailRowHeight },
2644
2651
  role: "row",
2645
2652
  "aria-rowindex": Z
2646
2653
  },
2647
- this.props.group && this.props.group.map((Ie, H) => {
2648
- var it;
2649
- const se = (it = P == null ? void 0 : P.row[H]) == null ? void 0 : it.props.style, ds = se ? this.isRtl ? { left: se.right, right: se.left } : { left: se.left, right: se.right } : {};
2654
+ this.props.group && this.props.group.map((Ee, H) => {
2655
+ var rt;
2656
+ const se = (rt = P == null ? void 0 : P.row[H]) == null ? void 0 : rt.props.style, ps = se ? this.isRtl ? { left: se.right, right: se.left } : { left: se.left, right: se.right } : {};
2650
2657
  return /* @__PURE__ */ l.createElement(
2651
- vt,
2658
+ kt,
2652
2659
  {
2653
2660
  id: "",
2654
2661
  dataIndex: R.dataIndex,
2655
- field: Ie.field,
2662
+ field: Ee.field,
2656
2663
  dataItem: R.dataItem,
2657
2664
  key: H,
2658
- style: ds,
2665
+ style: ps,
2659
2666
  ariaColumnIndex: 1 + H,
2660
2667
  isSelected: !1,
2661
2668
  locked: this.props.lockGroups,
@@ -2665,13 +2672,13 @@ class be extends l.Component {
2665
2672
  );
2666
2673
  }),
2667
2674
  this.props.expandField && /* @__PURE__ */ l.createElement(
2668
- Rr,
2675
+ Nr,
2669
2676
  {
2670
2677
  id: z.generateNavigatableId(`${te}-dhcell`, s)
2671
2678
  }
2672
2679
  ),
2673
2680
  /* @__PURE__ */ l.createElement(
2674
- wr,
2681
+ Fr,
2675
2682
  {
2676
2683
  onContextMenu: this.onContextMenu,
2677
2684
  dataItem: R.dataItem,
@@ -2686,36 +2693,36 @@ class be extends l.Component {
2686
2693
  }
2687
2694
  });
2688
2695
  } else
2689
- Q.push(/* @__PURE__ */ l.createElement("tr", { key: "no-records", className: "k-table-row k-grid-norecords", role: "row", "aria-rowindex": Ee }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: u.length, role: "gridcell" }, g.length ? g : /* @__PURE__ */ l.createElement($e, null))));
2690
- const Je = {
2696
+ Q.push(/* @__PURE__ */ l.createElement("tr", { key: "no-records", className: "k-table-row k-grid-norecords", role: "row", "aria-rowindex": ve }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: u.length, role: "gridcell" }, g.length ? g : /* @__PURE__ */ l.createElement(qe, null))));
2697
+ const Ye = {
2691
2698
  size: this.props.size,
2692
2699
  onPageChange: this.pagerPageChange,
2693
2700
  total: t,
2694
2701
  dir: this.isRtl ? "rtl" : void 0,
2695
2702
  skip: this.vs.propsSkip || 0,
2696
2703
  take: (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 10,
2697
- messagesMap: tr,
2698
- ...yr(this.props.pageable || {})
2699
- }, Qe = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Je }) : /* @__PURE__ */ l.createElement(Is, { className: "k-grid-pager", ...Je }), hs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, cs = (f, w) => /* @__PURE__ */ l.createElement(
2704
+ messagesMap: sr,
2705
+ ...Rr(this.props.pageable || {})
2706
+ }, Je = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Ye }) : /* @__PURE__ */ l.createElement(Ss, { className: "k-grid-pager", ...Ye }), cs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, ds = (f, w) => /* @__PURE__ */ l.createElement(
2700
2707
  "col",
2701
2708
  {
2702
2709
  key: w.toString(),
2703
- width: Se(f)
2710
+ width: Ie(f)
2704
2711
  }
2705
- ), Ze = (rt = this.props.cells) != null && rt.footerCell || this._columns.some(
2712
+ ), Qe = (st = this.props.cells) != null && st.footerCell || this._columns.some(
2706
2713
  (f) => {
2707
2714
  var w;
2708
2715
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2709
2716
  }
2710
2717
  ) ? /* @__PURE__ */ l.createElement(
2711
- gr,
2718
+ fr,
2712
2719
  {
2713
2720
  size: this.props.size,
2714
2721
  columnResize: this.columnResize,
2715
2722
  staticHeaders: this.props.scrollable !== "none",
2716
2723
  ref: (f) => this._footer = f,
2717
2724
  row: /* @__PURE__ */ l.createElement(
2718
- Ir,
2725
+ yr,
2719
2726
  {
2720
2727
  cells: this.props.cells,
2721
2728
  columns: this._columns,
@@ -2723,9 +2730,9 @@ class be extends l.Component {
2723
2730
  ariaRowIndex: Z + 1
2724
2731
  }
2725
2732
  ),
2726
- cols: u.map(cs)
2733
+ cols: u.map(ds)
2727
2734
  }
2728
- ) : null, et = /* @__PURE__ */ l.createElement(
2735
+ ) : null, Ze = /* @__PURE__ */ l.createElement(
2729
2736
  "colgroup",
2730
2737
  {
2731
2738
  ref: (f) => {
@@ -2737,14 +2744,14 @@ class be extends l.Component {
2737
2744
  "col",
2738
2745
  {
2739
2746
  key: w.toString(),
2740
- className: hs(f.field) ? "k-sorted" : void 0,
2741
- width: Se(f)
2747
+ className: cs(f.field) ? "k-sorted" : void 0,
2748
+ width: Ie(f)
2742
2749
  }
2743
2750
  )
2744
2751
  )
2745
- ), tt = this.dragLogic.reorderable || this.dragLogic.groupable, st = this.props.columnVirtualization ? "block" : "table";
2752
+ ), et = this.dragLogic.reorderable || this.dragLogic.groupable, tt = this.props.columnVirtualization ? "block" : "table";
2746
2753
  if (this.props.scrollable === "none")
2747
- return /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2754
+ return /* @__PURE__ */ l.createElement(ye.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2748
2755
  "div",
2749
2756
  {
2750
2757
  id: this.props.id,
@@ -2763,12 +2770,12 @@ class be extends l.Component {
2763
2770
  "aria-label": this.props.ariaLabel,
2764
2771
  onKeyDown: this.onKeyDown,
2765
2772
  onFocus: this.onFocus,
2766
- ...ct
2773
+ ...ht
2767
2774
  },
2768
2775
  d,
2769
2776
  b,
2770
2777
  /* @__PURE__ */ l.createElement(
2771
- dt,
2778
+ ct,
2772
2779
  {
2773
2780
  selectable: this.props.selectable,
2774
2781
  onRelease: this.selectionRelease,
@@ -2783,18 +2790,18 @@ class be extends l.Component {
2783
2790
  "k-table k-grid-table",
2784
2791
  { [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2785
2792
  ),
2786
- style: { userSelect: h, display: st }
2793
+ style: { userSelect: h, display: tt }
2787
2794
  },
2788
- et,
2795
+ Ze,
2789
2796
  Y,
2790
- /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...pt }, Q),
2791
- Ze
2797
+ /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...dt }, Q),
2798
+ Qe
2792
2799
  )
2793
2800
  ),
2794
- tt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDragElementClue }))
2795
- ), m, this.props.pageable && Qe);
2801
+ et && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue }))
2802
+ ), m, this.props.pageable && Je);
2796
2803
  let ue = this.props.style || {};
2797
- return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2804
+ return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(ye.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2798
2805
  "div",
2799
2806
  {
2800
2807
  id: this.props.id,
@@ -2814,7 +2821,7 @@ class be extends l.Component {
2814
2821
  "aria-label": this.props.ariaLabel,
2815
2822
  onKeyDown: this.onKeyDown,
2816
2823
  onFocus: this.onFocus,
2817
- ...ct
2824
+ ...ht
2818
2825
  },
2819
2826
  d,
2820
2827
  b,
@@ -2825,7 +2832,7 @@ class be extends l.Component {
2825
2832
  role: "grid",
2826
2833
  "aria-colcount": u.length,
2827
2834
  "aria-rowcount": t,
2828
- id: this._gridRoleElementId
2835
+ id: this._gridId
2829
2836
  },
2830
2837
  Y,
2831
2838
  /* @__PURE__ */ l.createElement("div", { className: "k-grid-container", role: "presentation" }, /* @__PURE__ */ l.createElement(
@@ -2837,7 +2844,7 @@ class be extends l.Component {
2837
2844
  role: "presentation"
2838
2845
  },
2839
2846
  /* @__PURE__ */ l.createElement("div", { className: "k-grid-table-wrap", role: "presentation" }, /* @__PURE__ */ l.createElement(
2840
- dt,
2847
+ ct,
2841
2848
  {
2842
2849
  selectable: this.props.selectable,
2843
2850
  onRelease: this.selectionRelease,
@@ -2856,16 +2863,16 @@ class be extends l.Component {
2856
2863
  }
2857
2864
  ),
2858
2865
  role: "presentation",
2859
- style: { userSelect: h, display: st }
2866
+ style: { userSelect: h, display: tt }
2860
2867
  },
2861
- et,
2868
+ Ze,
2862
2869
  /* @__PURE__ */ l.createElement(
2863
2870
  "tbody",
2864
2871
  {
2865
2872
  className: "k-table-tbody",
2866
2873
  ref: this.tableBodyRef,
2867
2874
  role: "rowgroup",
2868
- ...pt
2875
+ ...dt
2869
2876
  },
2870
2877
  Q
2871
2878
  )
@@ -2878,17 +2885,17 @@ class be extends l.Component {
2878
2885
  }
2879
2886
  ))
2880
2887
  )),
2881
- Ze,
2882
- tt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDragElementClue })),
2883
- this.showLicenseWatermark && /* @__PURE__ */ l.createElement(fs, null)
2888
+ Qe,
2889
+ et && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue })),
2890
+ this.showLicenseWatermark && /* @__PURE__ */ l.createElement(ms, null)
2884
2891
  ),
2885
2892
  m,
2886
- this.props.pageable && Qe
2893
+ this.props.pageable && Je
2887
2894
  ));
2888
2895
  }
2889
2896
  selectionChange(t) {
2890
2897
  if (this.props.onSelectionChange) {
2891
- const { event: s, dataItem: o, dataIndex: e, columnIndex: i } = t, { mode: n, cell: a } = ht(this.props.selectable), h = {
2898
+ const { event: s, dataItem: o, dataIndex: e, columnIndex: i } = t, { mode: n, cell: a } = at(this.props.selectable), h = {
2892
2899
  ...this.getArguments(s.syntheticEvent),
2893
2900
  dataItem: o,
2894
2901
  startColIndex: i,
@@ -2936,7 +2943,7 @@ class be extends l.Component {
2936
2943
  }, a = this._columns.splice(t, n(t) - t);
2937
2944
  this._columns.splice(t < s ? n(s - a.length) : s, 0, ...a), this._columns.filter((d) => d.declarationIndex >= 0).forEach((d, g) => d.orderIndex = g), this._columnsMutations++;
2938
2945
  const h = this._columns[t].locked && this._columns[s].locked;
2939
- Ss(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), ys(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2946
+ ys(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), ws(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2940
2947
  const c = this.columns;
2941
2948
  if (this.forceUpdate(), this.props.onColumnReorder) {
2942
2949
  const d = {
@@ -2976,7 +2983,7 @@ class be extends l.Component {
2976
2983
  }
2977
2984
  initColumns(t, s) {
2978
2985
  const o = z.getIdPrefix(this.navigationStateRef);
2979
- this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Bs(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
2986
+ this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Ws(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
2980
2987
  }
2981
2988
  getDataState() {
2982
2989
  return {
@@ -2994,12 +3001,12 @@ class be extends l.Component {
2994
3001
  target: this
2995
3002
  };
2996
3003
  }
2997
- }
2998
- be.displayName = "KendoReactGrid";
2999
- be.defaultProps = {
3004
+ };
3005
+ ce.displayName = "KendoReactGrid";
3006
+ ce.defaultProps = {
3000
3007
  // never use this
3001
3008
  };
3002
- be.propTypes = {
3009
+ ce.propTypes = {
3003
3010
  data: p.oneOfType([
3004
3011
  p.array,
3005
3012
  p.shape({
@@ -3075,8 +3082,8 @@ be.propTypes = {
3075
3082
  navigatable: p.bool,
3076
3083
  size: p.oneOf(["small", "medium"])
3077
3084
  };
3078
- be.contextType = we;
3079
- class xe extends l.Component {
3085
+ ce.contextType = ye;
3086
+ class be extends l.Component {
3080
3087
  /**
3081
3088
  * @hidden
3082
3089
  */
@@ -3093,16 +3100,16 @@ class xe extends l.Component {
3093
3100
  );
3094
3101
  }
3095
3102
  }
3096
- class he extends l.Component {
3103
+ class ae extends l.Component {
3097
3104
  /**
3098
3105
  * @hidden
3099
3106
  */
3100
3107
  render() {
3101
3108
  const { title: t, iconClass: s, svgIcon: o, selected: e } = this.props;
3102
- return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && ms(s), icon: o }), t);
3109
+ return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && Cs(s), icon: o }), t);
3103
3110
  }
3104
3111
  }
3105
- class es extends l.Component {
3112
+ class ts extends l.Component {
3106
3113
  constructor() {
3107
3114
  super(...arguments), this.onGroupClick = (t) => {
3108
3115
  if (t.preventDefault(), this.props.onGroupChange) {
@@ -3121,21 +3128,21 @@ class es extends l.Component {
3121
3128
  * @hidden
3122
3129
  */
3123
3130
  render() {
3124
- const { group: t, column: s } = this.props, o = T(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), i = e ? Ot : Lt;
3125
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3126
- he,
3131
+ const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), i = e ? _t : Ot;
3132
+ return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3133
+ ae,
3127
3134
  {
3128
3135
  title: o.toLanguageString(i, v[i]),
3129
3136
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3130
- svgIcon: e ? Ls : zs,
3137
+ svgIcon: e ? Os : Ls,
3131
3138
  onClick: this.onGroupClick
3132
3139
  }
3133
3140
  ));
3134
3141
  }
3135
3142
  }
3136
- Nt(es);
3137
- G(es);
3138
- const ts = "asc", ss = "desc", Fr = {
3143
+ Dt(ts);
3144
+ M(ts);
3145
+ const ss = "asc", rs = "desc", Dr = {
3139
3146
  true: {
3140
3147
  asc: { asc: "", desc: "desc" },
3141
3148
  desc: { asc: "asc", desc: "" },
@@ -3146,17 +3153,17 @@ const ts = "asc", ss = "desc", Fr = {
3146
3153
  desc: { asc: "asc", desc: "desc" },
3147
3154
  "": { asc: "asc", desc: "desc" }
3148
3155
  }
3149
- }, rs = (r, t) => t ? t.findIndex((s) => s.field === r) : -1, is = (r, t) => !!(t && r > -1 && t[r].dir === ts), os = (r, t) => !!(t && r > -1 && t[r].dir === ss);
3150
- class je extends l.Component {
3156
+ }, is = (r, t) => t ? t.findIndex((s) => s.field === r) : -1, os = (r, t) => !!(t && r > -1 && t[r].dir === ss), ls = (r, t) => !!(t && r > -1 && t[r].dir === rs);
3157
+ class $e extends l.Component {
3151
3158
  constructor() {
3152
3159
  super(...arguments), this.onAscClick = (t) => {
3153
- this.onSort(t, ts), this.props.onCloseMenu && this.props.onCloseMenu();
3154
- }, this.onDescClick = (t) => {
3155
3160
  this.onSort(t, ss), this.props.onCloseMenu && this.props.onCloseMenu();
3161
+ }, this.onDescClick = (t) => {
3162
+ this.onSort(t, rs), this.props.onCloseMenu && this.props.onCloseMenu();
3156
3163
  }, this.onSort = (t, s) => {
3157
3164
  if (t.preventDefault(), !this.props.onSortChange)
3158
3165
  return;
3159
- const { column: o, sortable: e, sort: i } = this.props, { allowUnsort: n, mode: a } = Wt(e || !1, !1), h = (i || []).filter((g) => g.field === o.field)[0], c = Fr[n][h && h.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3166
+ const { column: o, sortable: e, sort: i } = this.props, { allowUnsort: n, mode: a } = Vt(e || !1, !1), h = (i || []).filter((g) => g.field === o.field)[0], c = Dr[n][h && h.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3160
3167
  c !== "" && o.field && d.push({ field: o.field, dir: c }), this.props.onSortChange(d, t);
3161
3168
  };
3162
3169
  }
@@ -3164,35 +3171,35 @@ class je extends l.Component {
3164
3171
  * @hidden
3165
3172
  */
3166
3173
  render() {
3167
- const { sort: t, column: s } = this.props, o = rs(s.field, t), e = T(this);
3168
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3169
- he,
3174
+ const { sort: t, column: s } = this.props, o = is(s.field, t), e = G(this);
3175
+ return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3176
+ ae,
3170
3177
  {
3171
- title: e.toLanguageString(Me, v[Me]),
3178
+ title: e.toLanguageString(De, v[De]),
3172
3179
  iconClass: "k-i-sort-asc-sm",
3173
- svgIcon: We,
3174
- selected: is(o, t),
3180
+ svgIcon: Be,
3181
+ selected: os(o, t),
3175
3182
  onClick: this.onAscClick
3176
3183
  }
3177
3184
  ), /* @__PURE__ */ l.createElement(
3178
- he,
3185
+ ae,
3179
3186
  {
3180
3187
  title: e.toLanguageString(Te, v[Te]),
3181
3188
  iconClass: "k-i-sort-desc-sm",
3182
- svgIcon: Ve,
3183
- selected: os(o, t),
3189
+ svgIcon: We,
3190
+ selected: ls(o, t),
3184
3191
  onClick: this.onDescClick
3185
3192
  }
3186
3193
  ));
3187
3194
  }
3188
3195
  }
3189
- je.active = (r, t) => {
3190
- const s = rs(r, t);
3191
- return os(s, t) || is(s, t);
3196
+ $e.active = (r, t) => {
3197
+ const s = is(r, t);
3198
+ return ls(s, t) || os(s, t);
3192
3199
  };
3193
- Nt(je);
3194
- G(je);
3195
- class ls extends l.Component {
3200
+ Dt($e);
3201
+ M($e);
3202
+ class ns extends l.Component {
3196
3203
  /**
3197
3204
  * @hidden
3198
3205
  */
@@ -3204,18 +3211,18 @@ class ls extends l.Component {
3204
3211
  className: y("k-columnmenu-item-content", this.props.className),
3205
3212
  style: this.props.style
3206
3213
  },
3207
- /* @__PURE__ */ l.createElement(As, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3214
+ /* @__PURE__ */ l.createElement(Bs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3208
3215
  );
3209
3216
  }
3210
3217
  }
3211
- class It extends l.Component {
3218
+ class Et extends l.Component {
3212
3219
  constructor(t) {
3213
3220
  super(t), this.renderOperatorEditor = () => {
3214
3221
  if (this.props.filterType === "boolean")
3215
3222
  return;
3216
3223
  const s = this.props.operators.find((o) => o.operator === this.props.operator) || null;
3217
3224
  return /* @__PURE__ */ l.createElement(
3218
- le,
3225
+ oe,
3219
3226
  {
3220
3227
  value: s,
3221
3228
  onChange: this.operatorChange,
@@ -3232,19 +3239,19 @@ class It extends l.Component {
3232
3239
  return /* @__PURE__ */ l.createElement(l.Fragment, null, this.renderOperatorEditor(), this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues));
3233
3240
  }
3234
3241
  inputChange(t, s) {
3235
- qt(t, s, this.props);
3242
+ $t(t, s, this.props);
3236
3243
  }
3237
3244
  operatorChange(t) {
3238
- Xt(t, this.props.value, this.props.onChange);
3245
+ Yt(t, this.props.value, this.props.onChange);
3239
3246
  }
3240
3247
  boolDropdownChange(t) {
3241
- jt(t, this.props.onChange);
3248
+ Xt(t, this.props.onChange);
3242
3249
  }
3243
3250
  filterComponent(t, s, o) {
3244
3251
  switch (t) {
3245
3252
  case "numeric":
3246
3253
  return /* @__PURE__ */ l.createElement(
3247
- Ue,
3254
+ Ke,
3248
3255
  {
3249
3256
  value: s,
3250
3257
  onChange: (e) => {
@@ -3255,7 +3262,7 @@ class It extends l.Component {
3255
3262
  );
3256
3263
  case "date":
3257
3264
  return /* @__PURE__ */ l.createElement(
3258
- qe,
3265
+ Ue,
3259
3266
  {
3260
3267
  value: s,
3261
3268
  onChange: (e) => {
@@ -3266,7 +3273,7 @@ class It extends l.Component {
3266
3273
  case "boolean": {
3267
3274
  const e = (i) => i == null;
3268
3275
  return /* @__PURE__ */ l.createElement(
3269
- le,
3276
+ oe,
3270
3277
  {
3271
3278
  onChange: this.boolDropdownChange,
3272
3279
  value: o.find((i) => i.operator === (e(s) ? "" : s)),
@@ -3277,7 +3284,7 @@ class It extends l.Component {
3277
3284
  }
3278
3285
  default:
3279
3286
  return /* @__PURE__ */ l.createElement(
3280
- Tt,
3287
+ Mt,
3281
3288
  {
3282
3289
  value: s || "",
3283
3290
  onChange: (e) => {
@@ -3288,7 +3295,7 @@ class It extends l.Component {
3288
3295
  }
3289
3296
  }
3290
3297
  }
3291
- class Nr extends l.Component {
3298
+ class Tr extends l.Component {
3292
3299
  render() {
3293
3300
  const {
3294
3301
  firstFilterProps: t,
@@ -3298,8 +3305,8 @@ class Nr extends l.Component {
3298
3305
  logicValue: i,
3299
3306
  onLogicChange: n
3300
3307
  } = this.props;
3301
- return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(It, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3302
- le,
3308
+ return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Et, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3309
+ oe,
3303
3310
  {
3304
3311
  data: e,
3305
3312
  value: i,
@@ -3307,11 +3314,11 @@ class Nr extends l.Component {
3307
3314
  className: "k-filter-and",
3308
3315
  textField: "text"
3309
3316
  }
3310
- ), /* @__PURE__ */ l.createElement(It, { ...o })));
3317
+ ), /* @__PURE__ */ l.createElement(Et, { ...o })));
3311
3318
  }
3312
3319
  }
3313
- const Be = (r) => r || { filters: [], logic: "and" }, ge = (r, t) => Be(t).filters.filter((e) => ft(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((i) => ft(i) || i.field !== r) : !1)[0] || null;
3314
- class ns extends l.Component {
3320
+ const Ae = (r) => r || { filters: [], logic: "and" }, ge = (r, t) => Ae(t).filters.filter((e) => gt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((i) => gt(i) || i.field !== r) : !1)[0] || null;
3321
+ class as extends l.Component {
3315
3322
  constructor(t) {
3316
3323
  super(t), this.removeGroup = (o, e) => {
3317
3324
  const i = [...e.filters], n = i.findIndex((a) => a === o);
@@ -3356,7 +3363,7 @@ class ns extends l.Component {
3356
3363
  }, this.clear = (o) => {
3357
3364
  if (o.preventDefault(), !this.props.onFilterChange)
3358
3365
  return;
3359
- const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = i.filters.filter((h) => h !== n);
3366
+ const e = this.props.column.field, i = Ae(this.props.filter), n = ge(e, this.props.filter), a = i.filters.filter((h) => h !== n);
3360
3367
  a.length ? this.props.onFilterChange({ ...i, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
3361
3368
  }, this.currentFilterGroup = () => ({
3362
3369
  ...this.state.filterGroup,
@@ -3364,7 +3371,7 @@ class ns extends l.Component {
3364
3371
  }), this.submit = (o) => {
3365
3372
  if (o.preventDefault(), !this.props.onFilterChange)
3366
3373
  return;
3367
- const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3374
+ const e = this.props.column.field, i = Ae(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3368
3375
  let h = null;
3369
3376
  if (n && a.filters.length > 0) {
3370
3377
  const c = i.filters.map((d) => d === n ? a : d);
@@ -3387,7 +3394,7 @@ class ns extends l.Component {
3387
3394
  };
3388
3395
  let s;
3389
3396
  if (t.column && t.column.field) {
3390
- const o = Ae(t.column.filter), e = $t(t.filterOperators, o);
3397
+ const o = Pe(t.column.filter), e = jt(t.filterOperators, o);
3391
3398
  s = ge(t.column.field, t.filter), s = s ? {
3392
3399
  ...s,
3393
3400
  filters: s.filters.map((i) => ({ ...i }))
@@ -3411,7 +3418,7 @@ class ns extends l.Component {
3411
3418
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3412
3419
  if (!t || !t.field)
3413
3420
  return /* @__PURE__ */ l.createElement("div", null);
3414
- const i = Ae(t.filter), n = o !== void 0 ? o : pr[i], a = T(this), h = this.state.filterGroup.filters, c = ie(e[i], a), d = ie(Ut, a), g = {
3421
+ const i = Pe(t.filter), n = o !== void 0 ? o : ur[i], a = G(this), h = this.state.filterGroup.filters, c = ie(e[i], a), d = ie(qt, a), g = {
3415
3422
  field: t.field,
3416
3423
  value: h[0].value,
3417
3424
  operator: h[0].operator,
@@ -3427,7 +3434,7 @@ class ns extends l.Component {
3427
3434
  booleanValues: d,
3428
3435
  onChange: this.secondFilterChange,
3429
3436
  filterType: i
3430
- }, u = this.state.filterGroup.logic, b = ie(cr, a), E = {
3437
+ }, u = this.state.filterGroup.logic, b = ie(dr, a), E = {
3431
3438
  value: b.find((D) => D.operator === (u === null ? "" : u)),
3432
3439
  onChange: this.logicChange,
3433
3440
  data: b
@@ -3439,15 +3446,15 @@ class ns extends l.Component {
3439
3446
  onLogicChange: E.onChange,
3440
3447
  hideSecondFilter: n
3441
3448
  }, I = this.currentFilterGroup().filters.length !== 0 || L(h[0].operator) || L(h[1].operator), k = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3442
- return /* @__PURE__ */ l.createElement(xe, null, !_ && /* @__PURE__ */ l.createElement(
3443
- he,
3449
+ return /* @__PURE__ */ l.createElement(be, null, !_ && /* @__PURE__ */ l.createElement(
3450
+ ae,
3444
3451
  {
3445
- title: a.toLanguageString(ae, v[ae]),
3452
+ title: a.toLanguageString(ne, v[ne]),
3446
3453
  iconClass: "k-i-filter",
3447
- svgIcon: Ke,
3454
+ svgIcon: Ve,
3448
3455
  onClick: this.onFilterExpand
3449
3456
  }
3450
- ), /* @__PURE__ */ l.createElement(ls, { show: _ || !!k }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3457
+ ), /* @__PURE__ */ l.createElement(ns, { show: _ || !!k }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3451
3458
  "form",
3452
3459
  {
3453
3460
  className: "k-filter-menu k-group k-reset k-state-border-up",
@@ -3455,13 +3462,13 @@ class ns extends l.Component {
3455
3462
  onReset: this.clear,
3456
3463
  onKeyDown: (D) => D.stopPropagation()
3457
3464
  },
3458
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Nr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3465
+ /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Tr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3459
3466
  W,
3460
3467
  {
3461
3468
  themeColor: "primary",
3462
3469
  disabled: !I
3463
3470
  },
3464
- a.toLanguageString(ne, v[ne])
3471
+ a.toLanguageString(le, v[le])
3465
3472
  ), /* @__PURE__ */ l.createElement(
3466
3473
  W,
3467
3474
  {
@@ -3472,13 +3479,13 @@ class ns extends l.Component {
3472
3479
  ))));
3473
3480
  }
3474
3481
  }
3475
- ns.active = (r, t) => !!ge(r, t);
3476
- G(ns);
3477
- const Dr = (r, t) => r.length !== t.length ? !1 : r.every((s, o) => s === t[o]);
3478
- class as extends l.Component {
3482
+ as.active = (r, t) => !!ge(r, t);
3483
+ M(as);
3484
+ const Gr = (r, t) => r.length !== t.length ? !1 : r.every((s, o) => s === t[o]);
3485
+ class hs extends l.Component {
3479
3486
  constructor(t) {
3480
- super(t), this.defaultFilter = () => this.props.filter ? Cs(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3481
- let e = this.props.column.field || "", i = s.map((n) => M(e, n));
3487
+ super(t), this.defaultFilter = () => this.props.filter ? bs(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3488
+ let e = this.props.column.field || "", i = s.map((n) => T(e, n));
3482
3489
  return o ? i.filter((n, a) => i.indexOf(n) === a) : i;
3483
3490
  }, this.getFilterIndex = () => {
3484
3491
  let s = this.props.column.field;
@@ -3497,7 +3504,7 @@ class as extends l.Component {
3497
3504
  };
3498
3505
  this.setState({
3499
3506
  value: s.target.value,
3500
- data: this.parseData(mt(this.props.data || [], e), this.props.uniqueData)
3507
+ data: this.parseData(ft(this.props.data || [], e), this.props.uniqueData)
3501
3508
  });
3502
3509
  }, this.handleClear = () => {
3503
3510
  let s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
@@ -3508,7 +3515,7 @@ class as extends l.Component {
3508
3515
  };
3509
3516
  this.setState({
3510
3517
  value: "",
3511
- data: this.parseData(mt(this.props.data || [], o), this.props.uniqueData)
3518
+ data: this.parseData(ft(this.props.data || [], o), this.props.uniqueData)
3512
3519
  });
3513
3520
  }, this.clear = (s) => {
3514
3521
  if (s.preventDefault(), !this.props.onFilterChange)
@@ -3559,8 +3566,8 @@ class as extends l.Component {
3559
3566
  * @hidden
3560
3567
  */
3561
3568
  componentDidUpdate() {
3562
- let t = this.props.column.field || "", s = this.props.data.map((o) => M(t, o));
3563
- Dr(s, this.state.dataFromProps) || this.setState({
3569
+ let t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3570
+ Gr(s, this.state.dataFromProps) || this.setState({
3564
3571
  data: s,
3565
3572
  dataFromProps: s
3566
3573
  });
@@ -3572,7 +3579,7 @@ class as extends l.Component {
3572
3579
  const { column: t } = this.props;
3573
3580
  if (!t || !t.field)
3574
3581
  return /* @__PURE__ */ l.createElement("div", null);
3575
- const s = T(this), o = this.isControlled() ? this.props.expanded : this.state.expanded;
3582
+ const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded;
3576
3583
  let e = [];
3577
3584
  if (this.state.currentFilter) {
3578
3585
  const a = [...this.state.currentFilter.filters];
@@ -3580,8 +3587,8 @@ class as extends l.Component {
3580
3587
  h.field === this.props.column.field && e.push(h.value);
3581
3588
  });
3582
3589
  }
3583
- const i = this.props.searchBox ? /* @__PURE__ */ l.createElement(this.props.searchBox, { value: this.state.value, onChange: this.handleSearchChange }) : /* @__PURE__ */ l.createElement("div", { className: "k-searchbox k-textbox k-input k-input-md k-input-solid" }, /* @__PURE__ */ l.createElement(O, { className: "k-input-icon", name: "search", icon: Dt }), /* @__PURE__ */ l.createElement(
3584
- Tt,
3590
+ const i = this.props.searchBox ? /* @__PURE__ */ l.createElement(this.props.searchBox, { value: this.state.value, onChange: this.handleSearchChange }) : /* @__PURE__ */ l.createElement("div", { className: "k-searchbox k-textbox k-input k-input-md k-input-solid" }, /* @__PURE__ */ l.createElement(O, { className: "k-input-icon", name: "search", icon: Tt }), /* @__PURE__ */ l.createElement(
3591
+ Mt,
3585
3592
  {
3586
3593
  className: "k-input-inner",
3587
3594
  type: "text",
@@ -3597,18 +3604,18 @@ class as extends l.Component {
3597
3604
  className: "k-input-button",
3598
3605
  onClick: this.handleClear,
3599
3606
  icon: "x",
3600
- svgIcon: Os
3607
+ svgIcon: _s
3601
3608
  }
3602
3609
  )), n = e.filter((a, h) => e.indexOf(a) === h);
3603
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3604
- he,
3610
+ return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3611
+ ae,
3605
3612
  {
3606
- title: s.toLanguageString(ae, v[ae]),
3613
+ title: s.toLanguageString(ne, v[ne]),
3607
3614
  iconClass: "k-i-filter",
3608
- svgIcon: Ke,
3615
+ svgIcon: Ve,
3609
3616
  onClick: this.onFilterExpand
3610
3617
  }
3611
- ), /* @__PURE__ */ l.createElement(ls, { show: !!o }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3618
+ ), /* @__PURE__ */ l.createElement(ns, { show: !!o }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3612
3619
  "form",
3613
3620
  {
3614
3621
  className: "k-filter-menu k-group k-reset k-state-border-up",
@@ -3618,7 +3625,7 @@ class as extends l.Component {
3618
3625
  /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, i, /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3619
3626
  fe,
3620
3627
  {
3621
- label: s.toLanguageString(He, v[He]),
3628
+ label: s.toLanguageString(Me, v[Me]),
3622
3629
  onChange: (a) => this.handleCheckBoxChange(a, "all"),
3623
3630
  checked: this.isAllSelected()
3624
3631
  }
@@ -3629,13 +3636,13 @@ class as extends l.Component {
3629
3636
  onChange: (c) => this.handleCheckBoxChange(c, a),
3630
3637
  checked: n.includes(a)
3631
3638
  }
3632
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(Le, v[Le])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3639
+ )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(ze, v[ze])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3633
3640
  W,
3634
3641
  {
3635
3642
  themeColor: "primary",
3636
3643
  type: "submit"
3637
3644
  },
3638
- s.toLanguageString(ne, v[ne])
3645
+ s.toLanguageString(le, v[le])
3639
3646
  ), /* @__PURE__ */ l.createElement(
3640
3647
  W,
3641
3648
  {
@@ -3647,10 +3654,10 @@ class as extends l.Component {
3647
3654
  ))));
3648
3655
  }
3649
3656
  }
3650
- as.defaultProps = {
3657
+ hs.defaultProps = {
3651
3658
  uniqueData: !0
3652
3659
  };
3653
- G(as);
3660
+ M(hs);
3654
3661
  const Mr = (r) => {
3655
3662
  const [t, s] = l.useState(""), o = l.useMemo(() => new Set(r.columnsState.map((u) => u.id)), [r.columnsState]), e = l.useMemo(() => r.columns.filter((u) => {
3656
3663
  var b;
@@ -3667,12 +3674,12 @@ const Mr = (r) => {
3667
3674
  E[b] = u, n(E);
3668
3675
  }, [i]);
3669
3676
  return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu k-group k-reset" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3670
- Mt,
3677
+ Gt,
3671
3678
  {
3672
3679
  className: "k-searchbox",
3673
3680
  value: t,
3674
3681
  onChange: (u) => s(String(u.target.value)),
3675
- prefix: () => /* @__PURE__ */ l.createElement(_s, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Dt }))
3682
+ prefix: () => /* @__PURE__ */ l.createElement(Ps, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Tt }))
3676
3683
  }
3677
3684
  ), /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, !t && /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3678
3685
  fe,
@@ -3695,7 +3702,7 @@ const Mr = (r) => {
3695
3702
  )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, c, " selected items"), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ l.createElement(W, { type: "button", themeColor: "primary", onClick: a }, "Apply"), /* @__PURE__ */ l.createElement(W, { type: "button", onClick: h }, "Reset"))));
3696
3703
  };
3697
3704
  Mr.displayName = "GridColumnMenuColumnsList";
3698
- class qr extends l.Component {
3705
+ class Yr extends l.Component {
3699
3706
  /**
3700
3707
  * @hidden
3701
3708
  */
@@ -3703,7 +3710,7 @@ class qr extends l.Component {
3703
3710
  return null;
3704
3711
  }
3705
3712
  }
3706
- class Tr extends l.Component {
3713
+ class Hr extends l.Component {
3707
3714
  /**
3708
3715
  * @hidden
3709
3716
  */
@@ -3727,21 +3734,21 @@ class Tr extends l.Component {
3727
3734
  );
3728
3735
  }
3729
3736
  }
3730
- Tr.displayName = "KendoReactGridToolbar";
3731
- const Gr = (r) => {
3737
+ Hr.displayName = "KendoReactGridToolbar";
3738
+ const zr = (r) => {
3732
3739
  const { data: t = [] } = r;
3733
3740
  return /* @__PURE__ */ l.createElement("div", { className: "k-selection-aggregates k-grid-selection-aggregates" }, t.map((s, o) => /* @__PURE__ */ l.createElement("div", { key: o }, /* @__PURE__ */ l.createElement("span", { className: "k-selection-aggregates-item-text" }, s.type, ": "), /* @__PURE__ */ l.createElement("span", { className: "k-selection-aggregates-item-value" }, s.formattedValue))));
3734
3741
  };
3735
- Gr.displayName = "KendoReactGridStatusBar";
3736
- const Hr = (r) => {
3742
+ zr.displayName = "KendoReactGridStatusBar";
3743
+ const Lr = (r) => {
3737
3744
  var s;
3738
3745
  const t = r.slice();
3739
3746
  for (let o = 0; o < t.length; o++)
3740
3747
  for (; t[o] && ((s = t[o].children) != null && s.length); )
3741
3748
  t.splice(o, 1, ...t[o].children);
3742
3749
  return t;
3743
- }, $r = (r) => {
3744
- const { dataItems: t, target: s, selectedField: o } = r, i = Hr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => ye(C)), n = ye(o), a = { dates: [], numbers: [], booleans: [], others: [] }, h = (C) => {
3750
+ }, Jr = (r) => {
3751
+ const { dataItems: t, target: s, selectedField: o } = r, i = Lr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Se(C)), n = Se(o), a = { dates: [], numbers: [], booleans: [], others: [] }, h = (C) => {
3745
3752
  typeof C == "number" ? a.numbers.push(C) : typeof C == "boolean" ? a.booleans.push(C) : C instanceof Date ? a.dates.push(C) : a.others.push(C);
3746
3753
  };
3747
3754
  t.forEach((C) => {
@@ -3765,50 +3772,52 @@ const Hr = (r) => {
3765
3772
  const x = C, I = u[x];
3766
3773
  I !== void 0 && E.push({ type: x, value: I, formattedValue: b(I, x) });
3767
3774
  }), E;
3768
- };
3775
+ }, Or = wt(ce);
3776
+ Or.displayName = "KendoReactGrid";
3769
3777
  export {
3770
3778
  re as GRID_COL_INDEX_ATTRIBUTE,
3771
- rr as GRID_ROW_INDEX_ATTRIBUTE,
3772
- be as Grid,
3773
- kr as GridCell,
3774
- ce as GridColumn,
3775
- as as GridColumnMenuCheckboxFilter,
3779
+ ir as GRID_ROW_INDEX_ATTRIBUTE,
3780
+ Or as Grid,
3781
+ vr as GridCell,
3782
+ ce as GridClassComponent,
3783
+ he as GridColumn,
3784
+ hs as GridColumnMenuCheckboxFilter,
3776
3785
  Mr as GridColumnMenuColumnsList,
3777
- ns as GridColumnMenuFilter,
3778
- It as GridColumnMenuFilterCell,
3779
- Nr as GridColumnMenuFilterUI,
3780
- es as GridColumnMenuGroup,
3781
- he as GridColumnMenuItem,
3782
- ls as GridColumnMenuItemContent,
3783
- xe as GridColumnMenuItemGroup,
3784
- je as GridColumnMenuSort,
3785
- Vt as GridColumnMenuWrapper,
3786
- xr as GridCommonDragLogic,
3787
- qr as GridDetailRow,
3788
- ir as GridEditCell,
3789
- Yt as GridFilterCell,
3790
- vt as GridGroupCell,
3791
- nr as GridHeaderCell,
3792
- sr as GridHierarchyCell,
3793
- $e as GridNoRecords,
3794
- vr as GridRow,
3795
- Ks as GridSelectionCell,
3796
- Tr as GridToolbar,
3797
- Gr as StatusBar,
3798
- Ut as booleanFilterValues,
3786
+ as as GridColumnMenuFilter,
3787
+ Et as GridColumnMenuFilterCell,
3788
+ Tr as GridColumnMenuFilterUI,
3789
+ ts as GridColumnMenuGroup,
3790
+ ae as GridColumnMenuItem,
3791
+ ns as GridColumnMenuItemContent,
3792
+ be as GridColumnMenuItemGroup,
3793
+ $e as GridColumnMenuSort,
3794
+ Kt as GridColumnMenuWrapper,
3795
+ kr as GridCommonDragLogic,
3796
+ Yr as GridDetailRow,
3797
+ or as GridEditCell,
3798
+ Jt as GridFilterCell,
3799
+ kt as GridGroupCell,
3800
+ ar as GridHeaderCell,
3801
+ rr as GridHierarchyCell,
3802
+ qe as GridNoRecords,
3803
+ Er as GridRow,
3804
+ Us as GridSelectionCell,
3805
+ Hr as GridToolbar,
3806
+ zr as StatusBar,
3807
+ qt as booleanFilterValues,
3799
3808
  ge as filterGroupByField,
3800
- Yr as getSelectedState,
3801
- Jr as getSelectedStateFromKeyDown,
3802
- $r as getStatusData,
3809
+ ei as getSelectedState,
3810
+ ti as getSelectedStateFromKeyDown,
3811
+ Jr as getStatusData,
3803
3812
  v as gridMessages,
3804
- Hr as leafColumns,
3805
- bt as operators,
3806
- qs as pagerFirstPage,
3807
- Us as pagerInfo,
3808
- Ys as pagerItemPerPage,
3809
- Xs as pagerLastPage,
3810
- js as pagerNextPage,
3811
- $s as pagerPreviousPage,
3812
- Be as rootFilterOrDefault,
3813
- Qr as setSelectedState
3813
+ Lr as leafColumns,
3814
+ Ct as operators,
3815
+ $s as pagerFirstPage,
3816
+ qs as pagerInfo,
3817
+ Js as pagerItemPerPage,
3818
+ Ys as pagerLastPage,
3819
+ Xs as pagerNextPage,
3820
+ js as pagerPreviousPage,
3821
+ Ae as rootFilterOrDefault,
3822
+ si as setSelectedState
3814
3823
  };