@progress/kendo-react-grid 7.1.0-develop.12 → 7.1.0-develop.14

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
@@ -5,21 +5,21 @@
5
5
  "use client";
6
6
  import * as l from "react";
7
7
  import p from "prop-types";
8
- import { useId as St, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as It, kendoThemeMaps as V, Draggable as yt, withIdHOC as wt, dispatchEvent as us, canUseDOM as Ie, getActiveElement as gs, memoizeOne as B, validatePackage as fs, shouldShowValidationUI as ms, setScrollbarWidth as ot, getter as we, WatermarkOverlay as Cs, toIconName as bs, clone as xs } from "@progress/kendo-react-common";
9
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as vs, TABLE_COL_INDEX_ATTRIBUTE as ks, isRtl as Rt, tableKeyboardNavigationHeaderAttributes as lt, ColumnResizer as Es, HeaderThElement as Ft, getIndex as nt, tableKeyboardNavigation as X, getSelectionOptions as at, mapColumns as Ss, ClipboardService as Is, tableColumnsVirtualization as ys, Pager as ws, TableKeyboardNavigationContext as Re, tableKeyboardNavigationScopeAttributes as ct, TableSelection as ht, tableKeyboardNavigationBodyAttributes as dt, DropClue as pt, DragClue as ut, updateLeft as Rs, updateRight as Fs } from "@progress/kendo-react-data-tools";
10
- import { getSelectedState as si, getSelectedStateFromKeyDown as ri, setSelectedState as ii } from "@progress/kendo-react-data-tools";
11
- import { useLocalization as Nt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Ns, registerForIntl as Dt } from "@progress/kendo-react-intl";
12
- import { minusIcon as Ds, plusIcon as Ts, filterIcon as Ce, sortAscSmallIcon as Ke, sortDescSmallIcon as Ve, filterClearIcon as Gs, xCircleIcon as Ms, caretAltDownIcon as Hs, caretAltLeftIcon as zs, caretAltRightIcon as Ls, groupIcon as Os, ungroupIcon as _s, searchIcon as Tt, xIcon as Ps } from "@progress/kendo-svg-icons";
13
- import { NumericTextBox as Ue, TextBox as Gt, Input as Mt, Checkbox as fe, InputPrefix as As } from "@progress/kendo-react-inputs";
14
- import { DatePicker as qe } from "@progress/kendo-react-dateinputs";
15
- import { Popup as Bs } from "@progress/kendo-react-popup";
8
+ import { useId as yt, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as wt, kendoThemeMaps as V, Draggable as Rt, withIdHOC as Ft, dispatchEvent as fs, canUseDOM as ye, getActiveElement as ms, memoizeOne as B, validatePackage as Cs, shouldShowValidationUI as bs, setScrollbarWidth as nt, getter as Re, WatermarkOverlay as xs, toIconName as vs, clone as ks } from "@progress/kendo-react-common";
9
+ import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as Es, TABLE_COL_INDEX_ATTRIBUTE as Is, isRtl as Nt, tableKeyboardNavigationHeaderAttributes as at, ColumnResizer as Ss, HeaderThElement as Dt, getIndex as ct, tableKeyboardNavigation as X, getSelectionOptions as ht, mapColumns as ys, ClipboardService as ws, tableColumnsVirtualization as Rs, Pager as Fs, TableKeyboardNavigationContext as Fe, tableKeyboardNavigationScopeAttributes as dt, TableSelection as pt, tableKeyboardNavigationBodyAttributes as ut, DropClue as gt, DragClue as ft, updateLeft as Ns, updateRight as Ds } from "@progress/kendo-react-data-tools";
10
+ import { getSelectedState as ii, getSelectedStateFromKeyDown as oi, setSelectedState as li } from "@progress/kendo-react-data-tools";
11
+ import { useLocalization as Tt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Ts, registerForIntl as Gt } from "@progress/kendo-react-intl";
12
+ import { minusIcon as Gs, plusIcon as Ms, filterIcon as Ce, sortAscSmallIcon as Ve, sortDescSmallIcon as Ue, filterClearIcon as Hs, xCircleIcon as zs, caretAltDownIcon as Ls, caretAltLeftIcon as Os, caretAltRightIcon as _s, groupIcon as Ps, ungroupIcon as As, searchIcon as Mt, xIcon as Bs } from "@progress/kendo-svg-icons";
13
+ import { NumericTextBox as qe, TextBox as Ht, Input as zt, Checkbox as fe, InputPrefix as Ws } from "@progress/kendo-react-inputs";
14
+ import { DatePicker as $e } from "@progress/kendo-react-dateinputs";
15
+ import { Popup as Ks } from "@progress/kendo-react-popup";
16
16
  import { Button as W } from "@progress/kendo-react-buttons";
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 Ws } from "@progress/kendo-react-animation";
20
- const ce = (i) => null;
21
- ce.displayName = "KendoReactGridColumn";
22
- ce.defaultProps = {
17
+ import { DropDownList as ie } from "@progress/kendo-react-dropdowns";
18
+ import { isCompositeFilterDescriptor as mt, filterBy as Ct } from "@progress/kendo-data-query";
19
+ import { Reveal as Vs } from "@progress/kendo-react-animation";
20
+ const ae = (i) => null;
21
+ ae.displayName = "KendoReactGridColumn";
22
+ ae.defaultProps = {
23
23
  filterable: !0,
24
24
  editable: !0,
25
25
  sortable: !0,
@@ -27,7 +27,7 @@ ce.defaultProps = {
27
27
  reorderable: !0,
28
28
  groupable: !0
29
29
  };
30
- ce.propTypes = {
30
+ ae.propTypes = {
31
31
  field: p.string,
32
32
  title: p.string,
33
33
  editable: p.bool,
@@ -65,7 +65,7 @@ function T(i, t) {
65
65
  o = o ? o[e] : void 0;
66
66
  }), o;
67
67
  }
68
- function Ht(i, t, s, o, e, r, n = 0) {
68
+ function Lt(i, t, s, o, e, r, n = 0) {
69
69
  let a = n;
70
70
  for (let c = 0; c < t.length; c++) {
71
71
  if (!e || t[c].value === void 0 || t[c].items === void 0) {
@@ -87,7 +87,7 @@ function Ht(i, t, s, o, e, r, n = 0) {
87
87
  rowType: "groupHeader",
88
88
  expanded: h
89
89
  }, h && (a = Math.max(
90
- Ht(i, t[c].items, s, o, e, r, n + 1),
90
+ Lt(i, t[c].items, s, o, e, r, n + 1),
91
91
  a
92
92
  )), (s === "always" || h && s === "visible") && (i[i.length] = {
93
93
  dataIndex: -1,
@@ -99,17 +99,17 @@ function Ht(i, t, s, o, e, r, n = 0) {
99
99
  }
100
100
  return a;
101
101
  }
102
- function zt(i, t, s, o = 0) {
102
+ function Ot(i, t, s, o = 0) {
103
103
  let e = [];
104
104
  if (!i)
105
105
  return [];
106
106
  i && i.length === void 0 && (i = [i]), i.forEach((n, a) => {
107
107
  n = n.props ? n.props : n;
108
- const c = t[a] || null, h = zt(n.children, c && c.children || [], s, o + 1);
108
+ const c = t[a] || null, h = Ot(n.children, c && c.children || [], s, o + 1);
109
109
  e.push(
110
110
  Object.assign(
111
111
  { depth: o },
112
- ce.defaultProps,
112
+ ae.defaultProps,
113
113
  h.length ? { cell: () => null, filterCell: () => null } : {},
114
114
  c ? { width: c.width, orderIndex: c.orderIndex } : {},
115
115
  n,
@@ -136,7 +136,7 @@ function zt(i, t, s, o = 0) {
136
136
  }
137
137
  return e;
138
138
  }
139
- function Ks(i, t, s, o) {
139
+ function Us(i, t, s, o) {
140
140
  let e = [];
141
141
  Array.isArray(i) ? e = i : i && (e = i.data);
142
142
  const r = [];
@@ -162,14 +162,14 @@ function Ks(i, t, s, o) {
162
162
  ariaColumnIndex: 0,
163
163
  isAccessible: !0
164
164
  },
165
- ce.defaultProps,
165
+ ae.defaultProps,
166
166
  { field: c }
167
167
  ));
168
168
  });
169
169
  }
170
170
  return r;
171
171
  }
172
- const Vs = (i, t) => {
172
+ const qs = (i, t) => {
173
173
  let s = i[t.parentIndex];
174
174
  for (; s; ) {
175
175
  if (s.footerCell)
@@ -177,7 +177,7 @@ const Vs = (i, t) => {
177
177
  s = i[s.parentIndex];
178
178
  }
179
179
  return !1;
180
- }, Us = (i) => i.filter((t) => Vs(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), ye = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, Lt = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
180
+ }, $s = (i) => i.filter((t) => qs(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), we = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, _t = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
181
181
  const {
182
182
  declarationIndex: s,
183
183
  parentIndex: o,
@@ -190,10 +190,10 @@ const Vs = (i, t) => {
190
190
  ...d
191
191
  } = t;
192
192
  return h.length ? {
193
- children: Lt(h),
193
+ children: _t(h),
194
194
  ...d
195
195
  } : d;
196
- })), Fe = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), mt = 17895697, be = (i, t) => {
196
+ })), Ne = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), bt = 17895697, be = (i, t) => {
197
197
  if (!(!i && !t))
198
198
  return t ? i ? {
199
199
  ...i,
@@ -215,13 +215,13 @@ const Vs = (i, t) => {
215
215
  ...t.edit || {}
216
216
  }
217
217
  } : t : i;
218
- }, qs = (i) => {
218
+ }, js = (i) => {
219
219
  const t = l.useCallback(
220
220
  (d) => {
221
221
  i.selectionChange && i.selectionChange({ syntheticEvent: d });
222
222
  },
223
223
  [i.selectionChange]
224
- ), s = St(), o = T(i.field, i.dataItem), e = q(i.id);
224
+ ), s = yt(), o = T(i.field, i.dataItem), e = q(i.id);
225
225
  let r = {
226
226
  colSpan: i.colSpan,
227
227
  style: i.style,
@@ -254,38 +254,38 @@ const Vs = (i, t) => {
254
254
  return /* @__PURE__ */ l.createElement(d, { ...i, tdProps: r }, n);
255
255
  }
256
256
  return i.render ? i.render.call(void 0, a, i) : a;
257
- }, Ne = "grid.noRecords", $s = "grid.pagerInfo", js = "grid.pagerFirstPage", Xs = "grid.pagerPreviousPage", Ys = "grid.pagerNextPage", Js = "grid.pagerLastPage", Qs = "grid.pagerItemsPerPage", Zs = "grid.pagerPage", er = "grid.pagerPageSizeAriaLabel", tr = "grid.pagerOf", sr = "grid.pagerTotalPages", De = "grid.groupPanelEmpty", Ot = "grid.groupColumn", _t = "grid.ungroupColumn", Te = "grid.columnMenu", U = "grid.filterClearButton", le = "grid.filterSubmitButton", ne = "grid.filterTitle", Ge = "grid.sortAscending", Me = "grid.sortDescending", He = "grid.searchPlaceholder", ze = "grid.filterCheckAll", Le = "grid.filterChooseOperator", Oe = "grid.filterSelectedItems", _e = "grid.sortAriaLabel", Pe = "grid.filterAriaLabel", Ae = "grid.groupPanelAriaLabel", Pt = "grid.groupExpand", At = "grid.groupCollapse", Bt = "grid.detailExpand", Wt = "grid.detailCollapse", k = {
258
- [Bt]: "Expand detail row",
259
- [Wt]: "Collapse detail row",
260
- [Pt]: "Expand group",
261
- [At]: "Collapse Group",
262
- [Ne]: "No records available",
263
- [De]: "Drag a column header and drop it here to group by that column",
257
+ }, De = "grid.noRecords", Xs = "grid.pagerInfo", Ys = "grid.pagerFirstPage", Js = "grid.pagerPreviousPage", Qs = "grid.pagerNextPage", Zs = "grid.pagerLastPage", er = "grid.pagerItemsPerPage", tr = "grid.pagerPage", sr = "grid.pagerPageSizeAriaLabel", rr = "grid.pagerOf", ir = "grid.pagerTotalPages", Te = "grid.groupPanelEmpty", Pt = "grid.groupColumn", At = "grid.ungroupColumn", Ge = "grid.columnMenu", U = "grid.filterClearButton", oe = "grid.filterSubmitButton", le = "grid.filterTitle", Me = "grid.sortAscending", He = "grid.sortDescending", ze = "grid.searchPlaceholder", Le = "grid.filterCheckAll", Oe = "grid.filterChooseOperator", _e = "grid.filterSelectedItems", Pe = "grid.sortAriaLabel", Ae = "grid.filterAriaLabel", Be = "grid.groupPanelAriaLabel", Bt = "grid.groupExpand", Wt = "grid.groupCollapse", Kt = "grid.detailExpand", Vt = "grid.detailCollapse", k = {
258
+ [Kt]: "Expand detail row",
259
+ [Vt]: "Collapse detail row",
260
+ [Bt]: "Expand group",
261
+ [Wt]: "Collapse Group",
262
+ [De]: "No records available",
263
+ [Te]: "Drag a column header and drop it here to group by that column",
264
264
  [U]: "Clear",
265
+ [oe]: "Filter",
265
266
  [le]: "Filter",
266
- [ne]: "Filter",
267
- [Ge]: "Sort Ascending",
268
- [Me]: "Sort Descending",
269
- [_e]: "Sortable",
270
- [Ot]: "Group Column",
271
- [_t]: "Ungroup Column",
272
- [Te]: "Column menu",
273
- [Qs]: "items per page",
274
- [$s]: "{0} - {1} of {2} items",
275
- [js]: "Go to the first page",
276
- [Xs]: "Go to the previous page",
277
- [Ys]: "Go to the next page",
278
- [Js]: "Go to the last page",
279
- [Zs]: "Page",
280
- [er]: "Page size",
281
- [tr]: "of",
282
- [sr]: "{0}",
283
- [He]: "Search",
284
- [ze]: "Check All",
285
- [Le]: "Choose Operator",
286
- [Oe]: "selected items",
287
- [Pe]: "Filter",
288
- [Ae]: "Group panel",
267
+ [Me]: "Sort Ascending",
268
+ [He]: "Sort Descending",
269
+ [Pe]: "Sortable",
270
+ [Pt]: "Group Column",
271
+ [At]: "Ungroup Column",
272
+ [Ge]: "Column menu",
273
+ [er]: "items per page",
274
+ [Xs]: "{0} - {1} of {2} items",
275
+ [Ys]: "Go to the first page",
276
+ [Js]: "Go to the previous page",
277
+ [Qs]: "Go to the next page",
278
+ [Zs]: "Go to the last page",
279
+ [tr]: "Page",
280
+ [sr]: "Page size",
281
+ [rr]: "of",
282
+ [ir]: "{0}",
283
+ [ze]: "Search",
284
+ [Le]: "Check All",
285
+ [Oe]: "Choose Operator",
286
+ [_e]: "selected items",
287
+ [Ae]: "Filter",
288
+ [Be]: "Group panel",
289
289
  "grid.filterEqOperator": "Is equal to",
290
290
  "grid.filterNotEqOperator": "Is not equal to",
291
291
  "grid.filterIsNullOperator": "Is null",
@@ -310,13 +310,13 @@ const Vs = (i, t) => {
310
310
  "grid.filterAndLogic": "And",
311
311
  "grid.filterOrLogic": "Or"
312
312
  };
313
- function rr(i) {
313
+ function or(i) {
314
314
  const t = i.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
315
315
  return { messageKey: t, defaultMessage: k[t] };
316
316
  }
317
- const ir = (i) => {
317
+ const lr = (i) => {
318
318
  let t = null, s = null, o = null;
319
- const e = T(i.field, i.dataItem), r = q(i.id), n = Nt(), a = l.useCallback(
319
+ const e = T(i.field, i.dataItem), r = q(i.id), n = Tt(), a = l.useCallback(
320
320
  (d) => {
321
321
  d.isDefaultPrevented() || d.keyCode === me.enter && i.onChange && (d.preventDefault(), i.onChange({
322
322
  dataItem: i.dataItem,
@@ -340,7 +340,7 @@ const ir = (i) => {
340
340
  }
341
341
  );
342
342
  else if (i.rowType !== "groupHeader") {
343
- const d = e ? Wt : Bt, g = n.toLanguageString(d, k[d]);
343
+ const d = e ? Vt : Kt, g = n.toLanguageString(d, k[d]);
344
344
  s = {
345
345
  className: "k-table-td k-hierarchy-cell",
346
346
  onKeyDown: a,
@@ -364,7 +364,7 @@ const ir = (i) => {
364
364
  href: "#",
365
365
  tabIndex: -1
366
366
  },
367
- /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Ds : Ts })
367
+ /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Gs : Ms })
368
368
  ), t = /* @__PURE__ */ l.createElement(
369
369
  "td",
370
370
  {
@@ -379,12 +379,12 @@ const ir = (i) => {
379
379
  return /* @__PURE__ */ l.createElement(d, { ...i, tdProps: s }, o);
380
380
  }
381
381
  return i.render ? i.render.call(void 0, t, i) : t;
382
- }, or = vs, re = ks, lr = (i) => {
382
+ }, nr = Es, se = Is, ar = (i) => {
383
383
  const t = T(i.field, i.dataItem);
384
384
  let s = null;
385
385
  const o = y("k-table-td", "k-grid-edit-cell", {
386
386
  ["k-selected"]: i.isSelected
387
- }, i.className), e = St(), r = q(i.id);
387
+ }, i.className), e = yt(), r = q(i.id);
388
388
  let n = null, a = null;
389
389
  const c = l.useCallback(
390
390
  (u) => {
@@ -423,11 +423,11 @@ const ir = (i) => {
423
423
  className: o,
424
424
  ["aria-colindex"]: i.ariaColumnIndex,
425
425
  ["aria-selected"]: i.isSelected,
426
- [re]: i.columnIndex,
426
+ [se]: i.columnIndex,
427
427
  role: "gridcell",
428
428
  ...r
429
429
  }, a = /* @__PURE__ */ l.createElement(
430
- Ue,
430
+ qe,
431
431
  {
432
432
  width: "100%",
433
433
  value: t === void 0 ? null : t,
@@ -450,11 +450,11 @@ const ir = (i) => {
450
450
  className: o,
451
451
  ["aria-colindex"]: i.ariaColumnIndex,
452
452
  ["aria-selected"]: i.isSelected,
453
- [re]: i.columnIndex,
453
+ [se]: i.columnIndex,
454
454
  role: "gridcell",
455
455
  ...r
456
456
  }, a = /* @__PURE__ */ l.createElement(
457
- qe,
457
+ $e,
458
458
  {
459
459
  width: "100%",
460
460
  value: t,
@@ -476,7 +476,7 @@ const ir = (i) => {
476
476
  className: o,
477
477
  ["aria-colindex"]: i.ariaColumnIndex,
478
478
  ["aria-selected"]: i.isSelected,
479
- [re]: i.columnIndex,
479
+ [se]: i.columnIndex,
480
480
  role: "gridcell",
481
481
  ...r
482
482
  }, a = [
@@ -507,7 +507,7 @@ const ir = (i) => {
507
507
  className: o,
508
508
  ["aria-colindex"]: i.ariaColumnIndex,
509
509
  ["aria-selected"]: i.isSelected,
510
- [re]: i.columnIndex,
510
+ [se]: i.columnIndex,
511
511
  role: "gridcell",
512
512
  ...r
513
513
  }, a = /* @__PURE__ */ l.createElement(
@@ -533,9 +533,9 @@ const ir = (i) => {
533
533
  }
534
534
  return i.render ? i.render.call(void 0, s, i) : s;
535
535
  };
536
- class nr extends l.Component {
536
+ class cr extends l.Component {
537
537
  constructor() {
538
- super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = It(), this.onScroll = (t) => {
538
+ super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = wt(), this.onScroll = (t) => {
539
539
  if (this.syncScroll) {
540
540
  this.syncScroll = !1;
541
541
  return;
@@ -550,7 +550,7 @@ class nr extends l.Component {
550
550
  return this.props.elemRef.current;
551
551
  }
552
552
  componentDidMount() {
553
- const t = Rt(this.element);
553
+ const t = Nt(this.element);
554
554
  this.props.columnResize && this.props.columnResize.setIsRtl(t), this.forceUpdate();
555
555
  }
556
556
  /**
@@ -608,7 +608,7 @@ class nr extends l.Component {
608
608
  /* @__PURE__ */ l.createElement("colgroup", { ref: (t) => {
609
609
  this.props.columnResize.colGroupHeader = t;
610
610
  } }, this.props.cols),
611
- /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...lt }, this.props.headerRow, this.props.filterRow)
611
+ /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...at }, this.props.headerRow, this.props.filterRow)
612
612
  )
613
613
  )
614
614
  ) : /* @__PURE__ */ l.createElement(
@@ -619,15 +619,15 @@ class nr extends l.Component {
619
619
  "k-table-thead",
620
620
  { "k-grid-draggable-header": this.props.draggable }
621
621
  ),
622
- ...lt
622
+ ...at
623
623
  },
624
624
  this.props.headerRow,
625
625
  this.props.filterRow
626
626
  );
627
627
  }
628
628
  }
629
- const Kt = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
630
- class ar extends l.PureComponent {
629
+ const Ut = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
630
+ class hr extends l.PureComponent {
631
631
  constructor() {
632
632
  super(...arguments), this.draggable = null, this.onPress = (t) => {
633
633
  const s = this.draggable && this.draggable.element;
@@ -641,7 +641,7 @@ class ar extends l.PureComponent {
641
641
  }
642
642
  render() {
643
643
  return /* @__PURE__ */ l.createElement(
644
- yt,
644
+ Rt,
645
645
  {
646
646
  onPress: this.onPress,
647
647
  onDrag: this.onDrag,
@@ -657,7 +657,7 @@ class ar extends l.PureComponent {
657
657
  );
658
658
  }
659
659
  }
660
- class Vt extends l.Component {
660
+ class qt extends l.Component {
661
661
  constructor() {
662
662
  super(...arguments), this.state = {
663
663
  show: !1
@@ -701,11 +701,11 @@ class Vt extends l.Component {
701
701
  onMouseDown: this.onAnchorMouseDown,
702
702
  onKeyDown: this.onAnchorKeyDown,
703
703
  href: "#",
704
- "aria-label": `${n}${e.toLanguageString(Te, k[Te])}`
704
+ "aria-label": `${n}${e.toLanguageString(Ge, k[Ge])}`
705
705
  },
706
706
  /* @__PURE__ */ l.createElement(O, { name: "filter", icon: Ce })
707
707
  ), /* @__PURE__ */ l.createElement(
708
- Bs,
708
+ Ks,
709
709
  {
710
710
  anchor: this._anchor,
711
711
  show: this.state.show,
@@ -731,7 +731,7 @@ class Vt extends l.Component {
731
731
  ));
732
732
  }
733
733
  }
734
- class cr extends l.Component {
734
+ class dr extends l.Component {
735
735
  /**
736
736
  * @hidden
737
737
  */
@@ -751,19 +751,19 @@ class cr extends l.Component {
751
751
  },
752
752
  /* @__PURE__ */ l.createElement("span", { className: "k-column-title" }, this.props.title || this.props.field || " "),
753
753
  this.props.children
754
- ), t.columnMenu && /* @__PURE__ */ l.createElement(Vt, { ...t }));
754
+ ), t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t }));
755
755
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
756
756
  }
757
757
  }
758
- const hr = {
758
+ const pr = {
759
759
  true: { asc: "desc", desc: "", "": "asc" },
760
760
  false: { asc: "desc", desc: "asc", "": "asc" }
761
- }, dr = {
761
+ }, ur = {
762
762
  none: "none",
763
763
  asc: "ascending",
764
764
  desc: "descending"
765
765
  };
766
- class Ut extends l.Component {
766
+ class $t extends l.Component {
767
767
  constructor(t) {
768
768
  super(t), this.serviceIndex = 0, this.index = -1, this.cellKeyDown = (s, o) => {
769
769
  s.isDefaultPrevented() || s.keyCode === me.enter && this.cellClick(s, o);
@@ -775,9 +775,9 @@ class Ut extends l.Component {
775
775
  "k-header": !0,
776
776
  "k-grid-header-sticky": e.locked,
777
777
  "k-sorted": this.props.sort && this.props.sort.some((v) => v.field === e.field)
778
- }, 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(_e, k[_e]);
778
+ }, 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(Pe, k[Pe]);
779
779
  let m = e.isAccessible ? {
780
- ariaSort: dr[a],
780
+ ariaSort: ur[a],
781
781
  role: "columnheader",
782
782
  ariaColumnIndex: e.ariaColumnIndex,
783
783
  ariaSelected: !1,
@@ -785,7 +785,7 @@ class Ut extends l.Component {
785
785
  } : {
786
786
  role: "presentation"
787
787
  };
788
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : cr, E = /* @__PURE__ */ l.createElement(
788
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : dr, E = /* @__PURE__ */ l.createElement(
789
789
  b,
790
790
  {
791
791
  key: 1,
@@ -831,20 +831,20 @@ class Ut extends l.Component {
831
831
  }, x = [
832
832
  E,
833
833
  this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ l.createElement(
834
- Es,
834
+ Ss,
835
835
  {
836
836
  key: 2,
837
837
  resize: (v, _, D) => this.props.columnResize && this.props.columnResize.dragHandler(v, e, _, D),
838
838
  autofit: (v) => this.props.columnResize && this.props.columnResize.dblClickHandler(v, [e.id])
839
839
  }
840
840
  )
841
- ], S = be(this.props.cells, e.cells);
842
- if (S && S.headerCell) {
843
- const v = S.headerCell;
841
+ ], I = be(this.props.cells, e.cells);
842
+ if (I && I.headerCell) {
843
+ const v = I.headerCell;
844
844
  return /* @__PURE__ */ l.createElement(v, { key: u, thProps: C, index: o }, x);
845
845
  }
846
846
  return /* @__PURE__ */ l.createElement(
847
- Ft,
847
+ Dt,
848
848
  {
849
849
  ...C,
850
850
  key: u
@@ -856,7 +856,7 @@ class Ut extends l.Component {
856
856
  cellClick(t, s) {
857
857
  if (t.preventDefault(), !this.props.sortChange)
858
858
  return;
859
- const { allowUnsort: o, mode: e } = Kt(this.props.sortable || !1, s.sortable || !1), r = (this.props.sort || []).filter((c) => c.field === s.field)[0], n = hr[o][r && r.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((c) => c.field !== s.field);
859
+ const { allowUnsort: o, mode: e } = Ut(this.props.sortable || !1, s.sortable || !1), r = (this.props.sort || []).filter((c) => c.field === s.field)[0], n = pr[o][r && r.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((c) => c.field !== s.field);
860
860
  n !== "" && s.field && a.push({ field: s.field, dir: n }), this.props.sortChange(a, t);
861
861
  }
862
862
  sortIcon(t) {
@@ -865,7 +865,7 @@ class Ut extends l.Component {
865
865
  O,
866
866
  {
867
867
  name: "sort-" + this.props.sort[t].dir + "-small",
868
- icon: this.props.sort[t].dir === "asc" ? Ke : Ve
868
+ icon: this.props.sort[t].dir === "asc" ? Ve : Ue
869
869
  }
870
870
  )),
871
871
  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))
@@ -873,7 +873,7 @@ class Ut extends l.Component {
873
873
  }
874
874
  render() {
875
875
  return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ l.createElement(
876
- ar,
876
+ hr,
877
877
  {
878
878
  key: s,
879
879
  pressHandler: this.props.pressHandler,
@@ -888,11 +888,11 @@ class Ut extends l.Component {
888
888
  ) || /* @__PURE__ */ l.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
889
889
  }
890
890
  }
891
- M(Ut);
892
- const pr = [
891
+ M($t);
892
+ const gr = [
893
893
  { text: "grid.filterAndLogic", operator: "and" },
894
894
  { text: "grid.filterOrLogic", operator: "or" }
895
- ], Ct = {
895
+ ], xt = {
896
896
  text: [
897
897
  { text: "grid.filterContainsOperator", operator: "contains" },
898
898
  { text: "grid.filterNotContainsOperator", operator: "doesnotcontain" },
@@ -928,20 +928,20 @@ const pr = [
928
928
  boolean: [
929
929
  { text: "grid.filterEqOperator", operator: "eq" }
930
930
  ]
931
- }, L = (i) => i === "isnull" || i === "isnotnull" || i === "isempty" || i === "isnotempty", ie = (i, t) => i.map((s) => ({
931
+ }, L = (i) => i === "isnull" || i === "isnotnull" || i === "isempty" || i === "isnotempty", re = (i, t) => i.map((s) => ({
932
932
  text: t.toLanguageString(s.text, k[s.text]),
933
933
  operator: s.operator
934
- })), ur = "eq", qt = [
934
+ })), fr = "eq", jt = [
935
935
  { text: "grid.filterBooleanAll", operator: "" },
936
936
  { text: "grid.filterIsTrue", operator: !0 },
937
937
  { text: "grid.filterIsFalse", operator: !1 }
938
- ], gr = {
938
+ ], mr = {
939
939
  text: !1,
940
940
  numeric: !1,
941
941
  date: !1,
942
942
  boolean: !0
943
- }, $t = (i, t, s) => {
944
- const o = jt(s.operators);
943
+ }, Xt = (i, t, s) => {
944
+ const o = Yt(s.operators);
945
945
  let e = s.operator;
946
946
  switch (s.filterType) {
947
947
  case "numeric":
@@ -957,26 +957,26 @@ const pr = [
957
957
  return;
958
958
  }
959
959
  s.onChange({ value: i, operator: e, syntheticEvent: t });
960
- }, jt = (i, t) => t ? i[t][0].operator : i[0].operator, Be = (i) => i || "text", Xt = (i, t) => {
960
+ }, Yt = (i, t) => t ? i[t][0].operator : i[0].operator, We = (i) => i || "text", Jt = (i, t) => {
961
961
  const s = i.target.value;
962
962
  t({
963
963
  value: s.operator,
964
- operator: s.operator === "" ? "" : ur,
964
+ operator: s.operator === "" ? "" : fr,
965
965
  syntheticEvent: i.syntheticEvent
966
966
  });
967
- }, Yt = (i, t, s) => {
967
+ }, Qt = (i, t, s) => {
968
968
  let o = t;
969
969
  const e = i.target.value;
970
970
  i.target.state.opened && (L(e.operator) && (o = null), t === null && !L(e.operator) && (o = void 0), s({ value: o, operator: e.operator, syntheticEvent: i.syntheticEvent }));
971
971
  };
972
- class Jt extends l.Component {
972
+ class Zt extends l.Component {
973
973
  constructor(t) {
974
974
  super(t), this._inputRef = l.createRef(), this.renderOperatorEditor = (s) => {
975
975
  if (this.props.filterType === "boolean")
976
976
  return;
977
977
  const o = this.props.operators.find((e) => e.operator === this.props.operator) || null;
978
978
  return /* @__PURE__ */ l.createElement(
979
- oe,
979
+ ie,
980
980
  {
981
981
  size: this.props.size,
982
982
  value: o,
@@ -986,7 +986,7 @@ class Jt extends l.Component {
986
986
  svgIcon: Ce,
987
987
  data: this.props.operators,
988
988
  textField: "text",
989
- title: s.toLanguageString(Le, k[Le]),
989
+ title: s.toLanguageString(Oe, k[Oe]),
990
990
  popupSettings: {
991
991
  width: ""
992
992
  }
@@ -1003,7 +1003,7 @@ class Jt extends l.Component {
1003
1003
  {
1004
1004
  size: this.props.size,
1005
1005
  icon: "filter-clear",
1006
- svgIcon: Gs,
1006
+ svgIcon: Hs,
1007
1007
  className: y({
1008
1008
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1009
1009
  }),
@@ -1016,13 +1016,13 @@ class Jt extends l.Component {
1016
1016
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1017
1017
  }
1018
1018
  inputChange(t, s) {
1019
- $t(t, s, this.props);
1019
+ Xt(t, s, this.props);
1020
1020
  }
1021
1021
  operatorChange(t) {
1022
- Yt(t, this.props.value, this.props.onChange);
1022
+ Qt(t, this.props.value, this.props.onChange);
1023
1023
  }
1024
1024
  boolDropdownChange(t) {
1025
- Xt(t, this.props.onChange);
1025
+ Jt(t, this.props.onChange);
1026
1026
  }
1027
1027
  clear(t) {
1028
1028
  t.preventDefault(), this.props.onChange({ value: "", operator: "", syntheticEvent: t }), this._inputRef.current && (this._inputRef.current.element.value = "", setTimeout(() => {
@@ -1033,7 +1033,7 @@ class Jt extends l.Component {
1033
1033
  switch (t) {
1034
1034
  case "numeric":
1035
1035
  return /* @__PURE__ */ l.createElement(
1036
- Ue,
1036
+ qe,
1037
1037
  {
1038
1038
  ref: this._inputRef,
1039
1039
  size: this.props.size,
@@ -1047,7 +1047,7 @@ class Jt extends l.Component {
1047
1047
  );
1048
1048
  case "date":
1049
1049
  return /* @__PURE__ */ l.createElement(
1050
- qe,
1050
+ $e,
1051
1051
  {
1052
1052
  ref: this._inputRef,
1053
1053
  size: this.props.size,
@@ -1062,7 +1062,7 @@ class Jt extends l.Component {
1062
1062
  case "boolean": {
1063
1063
  const e = (r) => r == null;
1064
1064
  return /* @__PURE__ */ l.createElement(
1065
- oe,
1065
+ ie,
1066
1066
  {
1067
1067
  ref: this._inputRef,
1068
1068
  size: this.props.size,
@@ -1077,7 +1077,7 @@ class Jt extends l.Component {
1077
1077
  }
1078
1078
  default:
1079
1079
  return /* @__PURE__ */ l.createElement(
1080
- Gt,
1080
+ Ht,
1081
1081
  {
1082
1082
  ref: this._inputRef,
1083
1083
  size: this.props.size,
@@ -1092,9 +1092,9 @@ class Jt extends l.Component {
1092
1092
  }
1093
1093
  }
1094
1094
  }
1095
- M(Jt);
1096
- const fr = "k-table-row k-filter-row";
1097
- class Qt extends l.Component {
1095
+ M(Zt);
1096
+ const Cr = "k-table-row k-filter-row";
1097
+ class es extends l.Component {
1098
1098
  headerCellClassName(t, s) {
1099
1099
  let o = `${s ? "k-grid-header-sticky" : ""}`;
1100
1100
  return this.props.sort && this.props.sort.filter((e) => e.field === t).length > 0 && (o += " k-sorted"), o;
@@ -1124,7 +1124,7 @@ class Qt extends l.Component {
1124
1124
  let e = 0, r = -1;
1125
1125
  const n = this.props.columns.filter((a) => a.children.length === 0).map(
1126
1126
  (a) => {
1127
- const c = Be(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Pe, k[Pe]) : void 0;
1127
+ const c = We(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Ae, k[Ae]) : void 0;
1128
1128
  let g = h && h.value;
1129
1129
  g === void 0 && (g = c === "text" ? "" : null);
1130
1130
  const m = a.filterable && {
@@ -1133,8 +1133,8 @@ class Qt extends l.Component {
1133
1133
  title: a.filterTitle,
1134
1134
  value: g,
1135
1135
  operator: h && h.operator,
1136
- operators: ie(this.props.filterOperators[c] || [], t),
1137
- booleanValues: ie(qt, t),
1136
+ operators: re(this.props.filterOperators[c] || [], t),
1137
+ booleanValues: re(jt, t),
1138
1138
  filterType: c,
1139
1139
  ariaLabel: d,
1140
1140
  onChange: (v) => {
@@ -1150,13 +1150,13 @@ class Qt extends l.Component {
1150
1150
  className: y("k-table-th", this.headerCellClassName(a.field, a.locked) || void 0),
1151
1151
  role: "columnheader",
1152
1152
  ...b
1153
- }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Jt, { size: this.props.size, ...m })), S = be(this.props.cells, a.cells);
1154
- if (S && S.filterCell) {
1155
- const v = S.filterCell;
1153
+ }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Zt, { size: this.props.size, ...m })), I = be(this.props.cells, a.cells);
1154
+ if (I && I.filterCell) {
1155
+ const v = I.filterCell;
1156
1156
  return /* @__PURE__ */ l.createElement(v, { key: u, ...m, thProps: C, index: r }, x);
1157
1157
  }
1158
1158
  return /* @__PURE__ */ l.createElement(
1159
- Ft,
1159
+ Dt,
1160
1160
  {
1161
1161
  key: u,
1162
1162
  ...C
@@ -1165,11 +1165,11 @@ class Qt extends l.Component {
1165
1165
  );
1166
1166
  }
1167
1167
  );
1168
- return /* @__PURE__ */ l.createElement("tr", { className: fr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1168
+ return /* @__PURE__ */ l.createElement("tr", { className: Cr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1169
1169
  }
1170
1170
  }
1171
- M(Qt);
1172
- class Zt extends l.Component {
1171
+ M(es);
1172
+ class ts extends l.Component {
1173
1173
  constructor() {
1174
1174
  super(...arguments), this.draggable = null, this.onPress = (t) => {
1175
1175
  const s = this.draggable && this.draggable.element;
@@ -1198,7 +1198,7 @@ class Zt extends l.Component {
1198
1198
  render() {
1199
1199
  const { dir: t } = this.props;
1200
1200
  return /* @__PURE__ */ l.createElement(
1201
- yt,
1201
+ Rt,
1202
1202
  {
1203
1203
  onPress: this.onPress,
1204
1204
  onDrag: this.onDrag,
@@ -1220,7 +1220,7 @@ class Zt extends l.Component {
1220
1220
  O,
1221
1221
  {
1222
1222
  name: "sort-" + t + "-small",
1223
- icon: t === "asc" ? Ke : Ve,
1223
+ icon: t === "asc" ? Ve : Ue,
1224
1224
  size: "small"
1225
1225
  }
1226
1226
  )),
@@ -1235,7 +1235,7 @@ class Zt extends l.Component {
1235
1235
  O,
1236
1236
  {
1237
1237
  name: "x-circle",
1238
- icon: Ms,
1238
+ icon: zs,
1239
1239
  size: "small"
1240
1240
  }
1241
1241
  )
@@ -1244,8 +1244,8 @@ class Zt extends l.Component {
1244
1244
  );
1245
1245
  }
1246
1246
  }
1247
- M(Zt);
1248
- class es extends l.Component {
1247
+ M(ts);
1248
+ class ss extends l.Component {
1249
1249
  constructor() {
1250
1250
  super(...arguments), this.onGroupRemove = (t, s) => {
1251
1251
  const o = this.props.group.slice();
@@ -1257,7 +1257,7 @@ class es extends l.Component {
1257
1257
  }
1258
1258
  render() {
1259
1259
  const s = (this.props.group || []).map((o, e) => /* @__PURE__ */ l.createElement(
1260
- Zt,
1260
+ ts,
1261
1261
  {
1262
1262
  key: e,
1263
1263
  index: e,
@@ -1281,18 +1281,18 @@ class es extends l.Component {
1281
1281
  ref: this.props.refCallback,
1282
1282
  className: "k-grouping-header",
1283
1283
  role: "toolbar",
1284
- "aria-label": G(this).toLanguageString(Ae, k[Ae]),
1284
+ "aria-label": G(this).toLanguageString(Be, k[Be]),
1285
1285
  "aria-controls": this.props.ariaControls || ""
1286
1286
  },
1287
1287
  /* @__PURE__ */ l.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1288
- /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(De, k[De]), " ")
1288
+ /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Te, k[Te]), " ")
1289
1289
  );
1290
1290
  }
1291
1291
  }
1292
- M(es);
1293
- class mr extends l.Component {
1292
+ M(ss);
1293
+ class br extends l.Component {
1294
1294
  constructor() {
1295
- super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = It();
1295
+ super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = wt();
1296
1296
  }
1297
1297
  componentDidMount() {
1298
1298
  this.setState({});
@@ -1353,7 +1353,7 @@ class mr extends l.Component {
1353
1353
  ) : /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1354
1354
  }
1355
1355
  }
1356
- class Cr {
1356
+ class xr {
1357
1357
  constructor(t) {
1358
1358
  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) => {
1359
1359
  if (!this.container || o)
@@ -1469,7 +1469,7 @@ class Cr {
1469
1469
  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;
1470
1470
  }
1471
1471
  }
1472
- class bt {
1472
+ class vt {
1473
1473
  constructor(t = 0, s, o, e) {
1474
1474
  this.total = t, this.offsets = [], this.heights = [];
1475
1475
  let r = 0;
@@ -1503,7 +1503,7 @@ class bt {
1503
1503
  return t + s;
1504
1504
  }
1505
1505
  }
1506
- class xt {
1506
+ class kt {
1507
1507
  constructor(t) {
1508
1508
  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);
1509
1509
  }
@@ -1511,7 +1511,7 @@ class xt {
1511
1511
  return this.containerRef.current;
1512
1512
  }
1513
1513
  translate(t, s) {
1514
- this.scrollableVirtual && this.table && (Fe || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1514
+ this.scrollableVirtual && this.table && (Ne || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1515
1515
  }
1516
1516
  changePage(t, s) {
1517
1517
  this.PageChange && this.PageChange({ skip: Math.max(0, t), take: this.pageSize }, s);
@@ -1541,8 +1541,8 @@ class xt {
1541
1541
  }
1542
1542
  }
1543
1543
  }
1544
- const br = 1, xr = 20;
1545
- class vr {
1544
+ const vr = 1, kr = 20;
1545
+ class Er {
1546
1546
  constructor(t) {
1547
1547
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1548
1548
  this.isRtl = s;
@@ -1579,7 +1579,7 @@ class vr {
1579
1579
  let g = [];
1580
1580
  d.forEach((m) => {
1581
1581
  c.forEach((u) => {
1582
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + br));
1582
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + vr));
1583
1583
  });
1584
1584
  }), d.forEach((m) => {
1585
1585
  c.forEach((u) => {
@@ -1648,7 +1648,7 @@ class vr {
1648
1648
  }
1649
1649
  updateNextLockedCol(t, s, o) {
1650
1650
  const e = s.index, r = this.colGroupMain.parentElement.closest(".k-grid"), n = r == null ? void 0 : r.clientWidth, a = this.columns.filter((c) => c.locked).map((c) => parseInt(c.width + "", 10)).reduce((c, h) => c + h, 0);
1651
- !s.locked || n <= a + xr || this.columns.forEach((c) => {
1651
+ !s.locked || n <= a + kr || this.columns.forEach((c) => {
1652
1652
  if (c != null && c.locked && o) {
1653
1653
  const h = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + c.ariaColumnIndex + '"]');
1654
1654
  h == null || h.forEach((d) => {
@@ -1659,7 +1659,7 @@ class vr {
1659
1659
  });
1660
1660
  }
1661
1661
  }
1662
- class kr {
1662
+ class Ir {
1663
1663
  constructor(t, s, o) {
1664
1664
  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) => {
1665
1665
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
@@ -1701,7 +1701,7 @@ class kr {
1701
1701
  getColumnIndex(t, s) {
1702
1702
  if (!s || s.parentElement === this.groupPanelDivElement)
1703
1703
  return -1;
1704
- const o = nt(t, s);
1704
+ const o = ct(t, s);
1705
1705
  if (o === -1)
1706
1706
  return -1;
1707
1707
  for (let e = 0; e < s.parentNode.children.length; e++)
@@ -1714,7 +1714,7 @@ class kr {
1714
1714
  return s.className.indexOf ? s.className.indexOf("k-grouping-drop-container") !== -1 : !1;
1715
1715
  }
1716
1716
  getGroupIndex(t) {
1717
- return nt(t, this.groupPanelDivElement);
1717
+ return ct(t, this.groupPanelDivElement);
1718
1718
  }
1719
1719
  isValid() {
1720
1720
  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;
@@ -1750,9 +1750,9 @@ class kr {
1750
1750
  });
1751
1751
  }
1752
1752
  }
1753
- const Er = (i) => {
1753
+ const Sr = (i) => {
1754
1754
  let t = null;
1755
- const s = Ns(), o = q(i.id), e = l.useCallback((h) => {
1755
+ const s = Ts(), o = q(i.id), e = l.useCallback((h) => {
1756
1756
  i.onContextMenu && i.onContextMenu.call(void 0, h, i.dataItem, i.field);
1757
1757
  }, [i.onContextMenu, i.dataItem, i.field]);
1758
1758
  let r = null, n = null;
@@ -1779,7 +1779,7 @@ const Er = (i) => {
1779
1779
  role: "gridcell",
1780
1780
  "aria-colindex": i.ariaColumnIndex,
1781
1781
  "aria-selected": i.isSelected,
1782
- [re]: i.columnIndex,
1782
+ [se]: i.columnIndex,
1783
1783
  ...o
1784
1784
  }, t = /* @__PURE__ */ l.createElement("td", { ...r }, n);
1785
1785
  }
@@ -1789,10 +1789,10 @@ const Er = (i) => {
1789
1789
  return /* @__PURE__ */ l.createElement(h, { ...i, tdProps: r }, n);
1790
1790
  }
1791
1791
  return i.render ? i.render.call(void 0, t, i) : t;
1792
- }, vt = (i) => {
1792
+ }, Et = (i) => {
1793
1793
  let t = null;
1794
- const { columnIndex: s, level: o, columnsCount: e, rowType: r, dataItem: n, field: a, onChange: c, expanded: h, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = i, b = a || "", E = q(i.id), C = Nt();
1795
- let x = null, S = null, v = null;
1794
+ const { columnIndex: s, level: o, columnsCount: e, rowType: r, dataItem: n, field: a, onChange: c, expanded: h, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = i, b = a || "", E = q(i.id), C = Tt();
1795
+ let x = null, I = null, v = null;
1796
1796
  const _ = l.useCallback(
1797
1797
  (F) => {
1798
1798
  F.isDefaultPrevented() || F.keyCode === me.enter && c && (F.preventDefault(), c({
@@ -1806,8 +1806,8 @@ const Er = (i) => {
1806
1806
  [h, c, n, g]
1807
1807
  ), D = l.useCallback((F) => {
1808
1808
  i.onContextMenu && i.onContextMenu.call(void 0, F, i.dataItem, i.field);
1809
- }, [i.onContextMenu, i.dataItem, i.field]), de = (F, ve) => {
1810
- const pe = h ? At : Pt, ke = C.toLanguageString(pe, k[pe]);
1809
+ }, [i.onContextMenu, i.dataItem, i.field]), he = (F, ve) => {
1810
+ const de = h ? Wt : Bt, ke = C.toLanguageString(de, k[de]);
1811
1811
  return x = {
1812
1812
  className: "k-table-td",
1813
1813
  style: { ...i.style, ...ve },
@@ -1840,7 +1840,7 @@ const Er = (i) => {
1840
1840
  O,
1841
1841
  {
1842
1842
  name: h ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1843
- icon: h ? Hs : u ? zs : Ls
1843
+ icon: h ? Ls : u ? Os : _s
1844
1844
  }
1845
1845
  )
1846
1846
  ), n[b] instanceof Date && n[b].toString ? n[b].toString() : n[b]), /* @__PURE__ */ l.createElement(
@@ -1868,26 +1868,26 @@ const Er = (i) => {
1868
1868
  ...x,
1869
1869
  key: x.key
1870
1870
  }
1871
- )) : s <= o && !i.locked ? t = de(e - s, {}) : s <= o && i.locked && (S = {
1871
+ )) : s <= o && !i.locked ? t = he(e - s, {}) : s <= o && i.locked && (I = {
1872
1872
  className: "k-table-td",
1873
1873
  role: "gridcell",
1874
1874
  colSpan: e - s,
1875
1875
  style: { borderLeftWidth: 0, borderRightWidth: 0 },
1876
1876
  onContextMenu: D
1877
- }, t = /* @__PURE__ */ l.createElement(l.Fragment, null, de(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ l.createElement(
1877
+ }, t = /* @__PURE__ */ l.createElement(l.Fragment, null, he(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ l.createElement(
1878
1878
  "td",
1879
1879
  {
1880
- ...S
1880
+ ...I
1881
1881
  }
1882
1882
  )));
1883
1883
  const Y = i.rowType || "data", $ = i.cells;
1884
1884
  if ($ && $.group && $.group[Y]) {
1885
1885
  const F = $.group[Y];
1886
- return /* @__PURE__ */ l.createElement(F, { ...i, tdProps: x, td2Props: S }, v);
1886
+ return /* @__PURE__ */ l.createElement(F, { ...i, tdProps: x, td2Props: I }, v);
1887
1887
  }
1888
1888
  return d ? d.call(void 0, t, i) : t;
1889
1889
  };
1890
- class Sr extends l.Component {
1890
+ class yr extends l.Component {
1891
1891
  /**
1892
1892
  * @hidden
1893
1893
  */
@@ -1917,14 +1917,14 @@ class Sr extends l.Component {
1917
1917
  "aria-rowindex": this.props.ariaRowIndex,
1918
1918
  "absolute-row-index": this.props.absoluteRowIndex,
1919
1919
  key: this.props.absoluteRowIndex,
1920
- [or]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1920
+ [nr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1921
1921
  },
1922
1922
  this.props.children
1923
1923
  );
1924
1924
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1925
1925
  }
1926
1926
  }
1927
- class Ir extends l.Component {
1927
+ class wr extends l.Component {
1928
1928
  get _inputId() {
1929
1929
  return this.props.id;
1930
1930
  }
@@ -1944,23 +1944,23 @@ class Ir extends l.Component {
1944
1944
  }
1945
1945
  )),
1946
1946
  /* @__PURE__ */ l.createElement("label", { key: 1, className: "k-checkbox-label", htmlFor: this._inputId }),
1947
- t.columnMenu && /* @__PURE__ */ l.createElement(Vt, { ...t })
1947
+ t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t })
1948
1948
  ];
1949
1949
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1950
1950
  }
1951
1951
  }
1952
- const yr = wt(Ir);
1953
- class $e extends l.Component {
1952
+ const Rr = Ft(wr);
1953
+ class je extends l.Component {
1954
1954
  /**
1955
1955
  * @hidden
1956
1956
  */
1957
1957
  render() {
1958
- return this.props.children || G(this).toLanguageString(Ne, k[Ne]);
1958
+ return this.props.children || G(this).toLanguageString(De, k[De]);
1959
1959
  }
1960
1960
  }
1961
- $e.displayName = "KendoReactGridNoRecords";
1962
- M($e);
1963
- class wr extends l.Component {
1961
+ je.displayName = "KendoReactGridNoRecords";
1962
+ M(je);
1963
+ class Fr extends l.Component {
1964
1964
  constructor() {
1965
1965
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1966
1966
  const o = {
@@ -1989,10 +1989,10 @@ class wr extends l.Component {
1989
1989
  return this._element;
1990
1990
  }
1991
1991
  render() {
1992
- return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Us(this.props.columns).map(this.renderCell));
1992
+ return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, $s(this.props.columns).map(this.renderCell));
1993
1993
  }
1994
1994
  }
1995
- const Rr = ({
1995
+ const Nr = ({
1996
1996
  buttonCount: i = 10,
1997
1997
  info: t = !0,
1998
1998
  type: s = "numeric",
@@ -2008,14 +2008,14 @@ const Rr = ({
2008
2008
  responsive: r !== !1,
2009
2009
  type: s,
2010
2010
  pageSizeValue: n
2011
- }), Fr = (i) => Rr(i === !0 ? {} : i), kt = {
2011
+ }), Dr = (i) => Nr(i === !0 ? {} : i), It = {
2012
2012
  name: "@progress/kendo-react-grid",
2013
2013
  productName: "KendoReact",
2014
2014
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2015
- publishDate: 1706183511,
2015
+ publishDate: 1706192846,
2016
2016
  version: "",
2017
2017
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2018
- }, Nr = (i) => {
2018
+ }, Tr = (i) => {
2019
2019
  const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: r } = i, n = q(r), a = l.useCallback((c) => {
2020
2020
  i.onContextMenu && i.onContextMenu.call(void 0, c, i.dataItem);
2021
2021
  }, [i.onContextMenu, i.dataItem]);
@@ -2031,11 +2031,11 @@ const Rr = ({
2031
2031
  },
2032
2032
  /* @__PURE__ */ l.createElement(i.detail, { dataItem: o, dataIndex: e })
2033
2033
  );
2034
- }, Dr = (i) => {
2034
+ }, Gr = (i) => {
2035
2035
  const t = q(i.id);
2036
2036
  return /* @__PURE__ */ l.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2037
2037
  };
2038
- let he = class extends l.Component {
2038
+ let ce = class extends l.Component {
2039
2039
  constructor(t) {
2040
2040
  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) => {
2041
2041
  const r = { rowIndex: this.rowIndex };
@@ -2078,7 +2078,7 @@ let he = class extends l.Component {
2078
2078
  }
2079
2079
  }, this.getVirtualScroll = (e) => {
2080
2080
  const { rowHeight: r, detailRowHeight: n, detail: a, expandField: c, groupable: h } = e, d = this.isAllData(), g = r !== void 0 && r > 0, m = n !== void 0 && n > 0, u = h === !0 || typeof h == "object" && h.enabled !== !1;
2081
- return !g || u && !d || !!(a && c) && (!m || !d) ? Cr : xt;
2081
+ return !g || u && !d || !!(a && c) && (!m || !d) ? xr : kt;
2082
2082
  }, this.isAllData = () => {
2083
2083
  const { data: e, total: r } = this.props;
2084
2084
  return Array.isArray(e) ? e.length === r : e ? r === e.total : !1;
@@ -2092,15 +2092,15 @@ let he = class extends l.Component {
2092
2092
  r || this.props.rowHeight === void 0 || this.props.rowHeight === 0
2093
2093
  ), 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 && !r) {
2094
2094
  const n = this.props.rowHeight * e;
2095
- this.vs.containerHeight = Fe ? Math.min(mt, n) : n;
2095
+ this.vs.containerHeight = Ne ? Math.min(bt, n) : n;
2096
2096
  } else
2097
2097
  this.vs.containerHeight = 1533915;
2098
- 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
+ if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof kt) {
2099
2099
  const { rowHeight: n = 0, detail: a, expandField: c } = this.props;
2100
2100
  let { detailRowHeight: h = 0 } = this.props;
2101
- h = a && c ? h : 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, h, this._data)) : this.vs.rowHeightService = new bt(e, n, h);
2101
+ h = a && c ? h : 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, h, this._data)) : this.vs.rowHeightService = new vt(e, n, h);
2102
2102
  const d = this.vs.rowHeightService.totalHeight();
2103
- this.vs.containerHeight = Fe ? Math.min(mt, d) : d;
2103
+ this.vs.containerHeight = Ne ? Math.min(bt, d) : d;
2104
2104
  }
2105
2105
  }, this.scrollHandler = (e) => {
2106
2106
  if (e.target !== e.currentTarget)
@@ -2109,14 +2109,14 @@ let he = class extends l.Component {
2109
2109
  const r = e.currentTarget.scrollLeft, n = e.currentTarget.scrollTop;
2110
2110
  this.props.columnVirtualization && (!this.vs.scrollableVirtual || n === this.wrapperScrollTop) && (this.forceUpdateTimeout = window.setTimeout(() => {
2111
2111
  this.forceUpdate();
2112
- }, 0)), this._header && this._header.setScrollLeft(r), this._footer && this._footer.setScrollLeft(r), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), us(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
2112
+ }, 0)), this._header && this._header.setScrollLeft(r), this._footer && this._footer.setScrollLeft(r), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), fs(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
2113
2113
  }, this.onKeyDown = (e) => {
2114
2114
  if (X.onKeyDown(e, {
2115
2115
  contextStateRef: this.contextStateRef,
2116
2116
  navigationStateRef: this.navigationStateRef,
2117
2117
  onNavigationAction: this.onNavigationAction
2118
2118
  }), this.props.onKeyDown) {
2119
- const { mode: r, cell: n } = at(this.props.selectable), a = {
2119
+ const { mode: r, cell: n } = ht(this.props.selectable), a = {
2120
2120
  dataItems: this.getLeafDataItems(),
2121
2121
  mode: r,
2122
2122
  cell: n,
@@ -2252,9 +2252,9 @@ let he = class extends l.Component {
2252
2252
  }
2253
2253
  }, this.inActiveElement = () => {
2254
2254
  var c, h, d;
2255
- if (!Ie)
2255
+ if (!ye)
2256
2256
  return !1;
2257
- const e = gs(this.document), r = e ? e.matches(".k-table-td") ? e : (c = this.document) == null ? void 0 : c.body : (h = this.document) == null ? void 0 : h.body, n = r.closest(".k-grid-container"), a = r && ((d = this._element) == null ? void 0 : d.contains(r));
2257
+ const e = ms(this.document), r = e ? e.matches(".k-table-td") ? e : (c = this.document) == null ? void 0 : c.body : (h = this.document) == null ? void 0 : h.body, n = r.closest(".k-grid-container"), a = r && ((d = this._element) == null ? void 0 : d.contains(r));
2258
2258
  return !!(r && a && n);
2259
2259
  }, this.onResize = (e, r, n, a, c, h) => {
2260
2260
  this.resetTableWidth(), this._shouldUpdateLeftRight = !0, this._resized = !0, this._columnsMutations++, this.props.onColumnResize && this.props.onColumnResize.call(
@@ -2275,7 +2275,7 @@ let he = class extends l.Component {
2275
2275
  const d = this.getVirtualScroll(this.props);
2276
2276
  this.vs = new d(h);
2277
2277
  }), this.flatData = B((e, r, n, a, c, h, d) => {
2278
- const g = [], m = Ht(
2278
+ const g = [], m = Lt(
2279
2279
  g,
2280
2280
  e,
2281
2281
  r,
@@ -2284,16 +2284,16 @@ let he = class extends l.Component {
2284
2284
  c
2285
2285
  );
2286
2286
  return { flattedData: g, resolvedGroupsCount: m };
2287
- }), this.rowHeightService = B((e, r, n, a, c) => new bt(r, n, a, c)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2287
+ }), this.rowHeightService = B((e, r, n, a, c) => new vt(r, n, a, c)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2288
2288
  (e, r, n) => {
2289
2289
  const a = e.filter((c) => c && c.type && c.type.displayName === "KendoReactGridColumn");
2290
- return zt(a, this.columns, { prevId: 0, idPrefix: r });
2290
+ return Ot(a, this.columns, { prevId: 0, idPrefix: r });
2291
2291
  }
2292
2292
  ), this.mapColumns = B(
2293
- (e) => Ss(e)
2293
+ (e) => ys(e)
2294
2294
  ), this.configureColumns = B((e, r, n) => {
2295
2295
  this.props.selectedField && e.filter((h) => h.field === this.props.selectedField).forEach((h) => {
2296
- h.width = h.width || "50px", h.cell = h.cell || qs, h.headerCell = h.headerCell || yr;
2296
+ h.width = h.width || "50px", h.cell = h.cell || js, h.headerCell = h.headerCell || Rr;
2297
2297
  });
2298
2298
  const a = {
2299
2299
  id: "",
@@ -2317,7 +2317,7 @@ let he = class extends l.Component {
2317
2317
  let c = 0;
2318
2318
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2319
2319
  ...a,
2320
- cell: ir,
2320
+ cell: lr,
2321
2321
  field: this.props.expandField,
2322
2322
  headerClassName: "k-hierarchy-cell k-header",
2323
2323
  id: z.generateNavigatableId(`${this._columns.length}`, n, "column")
@@ -2326,13 +2326,13 @@ let he = class extends l.Component {
2326
2326
  e.unshift({
2327
2327
  ...a,
2328
2328
  isAccessible: !1,
2329
- cell: vt,
2329
+ cell: Et,
2330
2330
  field: "value",
2331
2331
  locked: this.props.lockGroups
2332
2332
  }), c++;
2333
2333
  e.slice(c).forEach((h) => h.parentIndex >= 0 && (h.parentIndex += c));
2334
2334
  }), this.getHeaderRow = B((e, r, n, a, c, h, d, g, m, u, b, E) => /* @__PURE__ */ l.createElement(
2335
- Ut,
2335
+ $t,
2336
2336
  {
2337
2337
  cells: this.props.cells,
2338
2338
  sort: e,
@@ -2362,13 +2362,13 @@ let he = class extends l.Component {
2362
2362
  )), this.resolveTitle = (e) => {
2363
2363
  const r = this._columns.find((a) => a.field === e), n = r && (r.title || r.field);
2364
2364
  return n === void 0 ? e : n;
2365
- }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), fs(kt), this.showLicenseWatermark = ms(kt);
2365
+ }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), Cs(It), this.showLicenseWatermark = bs(It);
2366
2366
  const s = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1, o = this.getVirtualScroll(t);
2367
- this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new kr(
2367
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new Ir(
2368
2368
  this.columnReorder.bind(this),
2369
2369
  this.groupReorder.bind(this),
2370
2370
  this.columnToGroup.bind(this)
2371
- ), this.columnResize = new vr(this.onResize), this.props.clipboard && (this.clipboardService = new Is(this.onClipboard)), X.onConstructor({
2371
+ ), this.columnResize = new Er(this.onResize), this.props.clipboard && (this.clipboardService = new ws(this.onClipboard)), X.onConstructor({
2372
2372
  navigatable: !!t.navigatable,
2373
2373
  contextStateRef: this.contextStateRef,
2374
2374
  navigationStateRef: this.navigationStateRef,
@@ -2417,7 +2417,7 @@ let he = class extends l.Component {
2417
2417
  // tslint:enable:max-line-length
2418
2418
  get columns() {
2419
2419
  const t = this._columns.filter((s) => s.declarationIndex >= 0 && s.parentIndex === -1);
2420
- return Lt(t);
2420
+ return _t(t);
2421
2421
  }
2422
2422
  /**
2423
2423
  * Returns the HTML element of the Grid component.
@@ -2426,7 +2426,7 @@ let he = class extends l.Component {
2426
2426
  return this._element;
2427
2427
  }
2428
2428
  get document() {
2429
- if (Ie)
2429
+ if (ye)
2430
2430
  return this.element && this.element.ownerDocument || document;
2431
2431
  }
2432
2432
  get _header() {
@@ -2439,8 +2439,8 @@ let he = class extends l.Component {
2439
2439
  * @hidden
2440
2440
  */
2441
2441
  componentDidMount() {
2442
- this.resetTableWidth(), ot();
2443
- const t = Rt(this.element);
2442
+ this.resetTableWidth(), nt();
2443
+ const t = Nt(this.element);
2444
2444
  this.isRtl = t, X.onComponentDidMount({
2445
2445
  scope: this.element || void 0,
2446
2446
  contextStateRef: this.contextStateRef,
@@ -2450,7 +2450,7 @@ let he = class extends l.Component {
2450
2450
  rootMargin: "0px",
2451
2451
  threshold: 0.9
2452
2452
  };
2453
- this.clipboardService && this.clipboardService.addEventListeners(this.document), this.observer = Ie && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2453
+ this.clipboardService && this.clipboardService.addEventListeners(this.document), this.observer = ye && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2454
2454
  }
2455
2455
  /**
2456
2456
  * @hidden
@@ -2466,7 +2466,7 @@ let he = class extends l.Component {
2466
2466
  * @hidden
2467
2467
  */
2468
2468
  componentDidUpdate() {
2469
- this.resetTableWidth(), ot(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2469
+ this.resetTableWidth(), nt(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2470
2470
  scope: this.element || void 0,
2471
2471
  contextStateRef: this.contextStateRef,
2472
2472
  navigationStateRef: this.navigationStateRef
@@ -2482,7 +2482,7 @@ let he = class extends l.Component {
2482
2482
  * @hidden
2483
2483
  */
2484
2484
  render() {
2485
- var rt;
2485
+ var ot;
2486
2486
  let t = this.props.total || 0;
2487
2487
  const s = z.getIdPrefix(this.navigationStateRef);
2488
2488
  let o = [];
@@ -2504,7 +2504,7 @@ let he = class extends l.Component {
2504
2504
  const h = this.childrenToArray(this.props.children);
2505
2505
  this.initColumns(h, r);
2506
2506
  const d = h.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(f, { ...f.props, ariaControls: this._gridId }) : null), g = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ l.createElement(
2507
- es,
2507
+ ss,
2508
2508
  {
2509
2509
  group: this.props.group || [],
2510
2510
  groupChange: this.groupChange,
@@ -2516,8 +2516,8 @@ let he = class extends l.Component {
2516
2516
  ariaControls: this._gridId,
2517
2517
  onContextMenu: this.onContextMenu
2518
2518
  }
2519
- ), { sort: E, sortable: C, group: x, filter: S, filterable: v, filterOperators: _ = Ct, headerCellRender: D, columnMenu: de } = this.props, Y = /* @__PURE__ */ l.createElement(
2520
- nr,
2519
+ ), { sort: E, sortable: C, group: x, filter: I, filterable: v, filterOperators: _ = xt, headerCellRender: D, columnMenu: he } = this.props, Y = /* @__PURE__ */ l.createElement(
2520
+ cr,
2521
2521
  {
2522
2522
  size: this.props.size,
2523
2523
  columnResize: this.columnResize,
@@ -2531,23 +2531,23 @@ let he = class extends l.Component {
2531
2531
  C,
2532
2532
  x,
2533
2533
  a,
2534
- S,
2534
+ I,
2535
2535
  v,
2536
2536
  _,
2537
2537
  D,
2538
- de,
2538
+ he,
2539
2539
  this._columns,
2540
2540
  this._columnsMap,
2541
2541
  this.isRtl
2542
2542
  ),
2543
2543
  filterRow: this.props.filterable && /* @__PURE__ */ l.createElement(
2544
- Qt,
2544
+ es,
2545
2545
  {
2546
2546
  cells: this.props.cells,
2547
2547
  size: this.props.size,
2548
2548
  columns: this._columns,
2549
2549
  filter: this.props.filter,
2550
- filterOperators: this.props.filterOperators || Ct,
2550
+ filterOperators: this.props.filterOperators || xt,
2551
2551
  filterChange: this.filterChange,
2552
2552
  sort: this.props.sort,
2553
2553
  cellRender: this.props.filterCellRender,
@@ -2559,11 +2559,11 @@ let he = class extends l.Component {
2559
2559
  "col",
2560
2560
  {
2561
2561
  key: w.toString(),
2562
- width: ye(f)
2562
+ width: we(f)
2563
2563
  }
2564
2564
  ))
2565
2565
  }
2566
- ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ve, hiddenColumns: pe } = ys({
2566
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ve, hiddenColumns: de } = Rs({
2567
2567
  enabled: this.props.columnVirtualization,
2568
2568
  columns: u,
2569
2569
  tableViewPortWidth: F,
@@ -2572,31 +2572,31 @@ let he = class extends l.Component {
2572
2572
  let j = !1;
2573
2573
  const K = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2574
2574
  return {
2575
- row: u.map((I, N) => {
2576
- if (pe[N])
2575
+ row: u.map((S, N) => {
2576
+ if (de[N])
2577
2577
  return null;
2578
- const ee = I.id ? I.id : N, te = `${I.className ? I.className + " " : ""}${I.locked ? "k-grid-content-sticky" : ""}`, P = I.left !== void 0 ? this.isRtl ? { left: I.right, right: I.left } : { left: I.left, right: I.right } : {};
2578
+ const Z = S.id ? S.id : N, ee = `${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 } : {};
2579
2579
  let A = !1;
2580
- if (I.editable && this.props.editField) {
2580
+ if (S.editable && this.props.editField) {
2581
2581
  const H = T(this.props.editField, f.dataItem);
2582
- H && (H === !0 || H === I.field) && (j = !0, A = !0);
2582
+ H && (H === !0 || H === S.field) && (j = !0, A = !0);
2583
2583
  }
2584
- let Se = I.cell || A && lr || Er;
2584
+ const Se = S.cell || A && ar || Sr;
2585
2585
  return /* @__PURE__ */ l.createElement(
2586
2586
  Se,
2587
2587
  {
2588
2588
  onContextMenu: this.onContextMenu,
2589
- key: ee,
2589
+ key: Z,
2590
2590
  locked: this.props.lockGroups,
2591
2591
  id: z.generateNavigatableId(`${w}-${String(N)}`, s),
2592
2592
  colSpan: ve[N],
2593
2593
  dataItem: f.dataItem,
2594
- field: I.field,
2595
- editor: I.editor,
2596
- format: I.format,
2597
- className: te,
2594
+ field: S.field,
2595
+ editor: S.editor,
2596
+ format: S.format,
2597
+ className: ee,
2598
2598
  render: this.props.cellRender,
2599
- cells: be(this.props.cells, I.cells),
2599
+ cells: be(this.props.cells, S.cells),
2600
2600
  onChange: this.itemChange,
2601
2601
  selectionChange: this.props.onSelectionChange ? (H) => {
2602
2602
  this.selectionChange({ event: H, dataItem: f.dataItem, dataIndex: R, columnIndex: N });
@@ -2608,7 +2608,7 @@ let he = class extends l.Component {
2608
2608
  expanded: f.expanded,
2609
2609
  dataIndex: f.dataIndex,
2610
2610
  style: P,
2611
- ariaColumnIndex: I.ariaColumnIndex,
2611
+ ariaColumnIndex: S.ariaColumnIndex,
2612
2612
  isSelected: Array.isArray(K) && K.indexOf(N) > -1
2613
2613
  }
2614
2614
  );
@@ -2626,30 +2626,32 @@ let he = class extends l.Component {
2626
2626
  else
2627
2627
  break;
2628
2628
  }
2629
- const Xe = (f) => f >= this._data.length - J;
2630
- let Ye = this.vs.realSkip || 0;
2631
- const Q = [], Ee = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2632
- let Z = 0;
2629
+ const Ye = (f) => f >= this._data.length - J;
2630
+ let Je = this.vs.realSkip || 0;
2631
+ const pe = [];
2632
+ let Ee = !1;
2633
+ const Ie = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1, Qe = /* @__PURE__ */ l.createElement("div", { key: "no-records", className: "k-grid-norecords", "aria-rowindex": Ie }, /* @__PURE__ */ l.createElement("div", { className: "k-grid-norecords-template" }, g.length ? g : /* @__PURE__ */ l.createElement(je, null)));
2634
+ let Q = 0;
2633
2635
  if (this._data.length) {
2634
2636
  let f = -1, w = 0;
2635
2637
  (this._slicedData || this._data).forEach((R, j) => {
2636
- R.rowType === "data" && (Ye++, f++);
2637
- const K = Ye % 2 === 0, I = this.props.dataItemKey && we(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = I || "ai" + N, te = ee + "_1", P = ke(R, ee, f);
2638
- if (Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2639
- Sr,
2638
+ R.rowType === "data" && (Je++, f++);
2639
+ const K = Je % 2 === 0, S = this.props.dataItemKey && Re(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), Z = S || "ai" + N, ee = Z + "_1", P = ke(R, Z, f);
2640
+ if (Q = N + Ie + w, pe.push(/* @__PURE__ */ l.createElement(
2641
+ yr,
2640
2642
  {
2641
- key: ee,
2643
+ key: Z,
2642
2644
  dataItem: R.dataItem,
2643
2645
  isAltRow: K,
2644
2646
  isInEdit: P.isInEdit,
2645
2647
  rowType: R.rowType,
2646
- isHidden: Xe(j),
2648
+ isHidden: Ye(j),
2647
2649
  onClick: (A) => this.rowClick(A, R),
2648
2650
  onDoubleClick: (A) => this.rowDblClick(A, R),
2649
2651
  selectedField: this.props.selectedField,
2650
2652
  rowHeight: this.props.rowHeight,
2651
2653
  render: this.props.rowRender,
2652
- ariaRowIndex: Z,
2654
+ ariaRowIndex: Q,
2653
2655
  absoluteRowIndex: N,
2654
2656
  dataIndex: f,
2655
2657
  isSelected: P.isSelected
@@ -2657,30 +2659,30 @@ let he = class extends l.Component {
2657
2659
  P.row
2658
2660
  )), this.props.detail && R.rowType === "data" && R.expanded) {
2659
2661
  const A = u.length - (this.props.expandField ? 1 : 0) - (this.props.group ? this.props.group.length : 0) || 1;
2660
- w++, Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2662
+ w++, Q = N + Ie + w, pe.push(/* @__PURE__ */ l.createElement(
2661
2663
  "tr",
2662
2664
  {
2663
- key: te,
2665
+ key: ee,
2664
2666
  className: y(
2665
2667
  "k-table-row",
2666
2668
  K ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2667
2669
  ),
2668
- style: { visibility: Xe(j) ? "hidden" : "", height: this.props.detailRowHeight },
2670
+ style: { visibility: Ye(j) ? "hidden" : "", height: this.props.detailRowHeight },
2669
2671
  role: "row",
2670
- "aria-rowindex": Z
2672
+ "aria-rowindex": Q
2671
2673
  },
2672
2674
  this.props.group && this.props.group.map((Se, H) => {
2673
- var it;
2674
- const se = (it = P == null ? void 0 : P.row[H]) == null ? void 0 : it.props.style, ps = se ? this.isRtl ? { left: se.right, right: se.left } : { left: se.left, right: se.right } : {};
2675
+ var lt;
2676
+ const te = (lt = P == null ? void 0 : P.row[H]) == null ? void 0 : lt.props.style, gs = te ? this.isRtl ? { left: te.right, right: te.left } : { left: te.left, right: te.right } : {};
2675
2677
  return /* @__PURE__ */ l.createElement(
2676
- vt,
2678
+ Et,
2677
2679
  {
2678
2680
  id: "",
2679
2681
  dataIndex: R.dataIndex,
2680
2682
  field: Se.field,
2681
2683
  dataItem: R.dataItem,
2682
2684
  key: H,
2683
- style: ps,
2685
+ style: gs,
2684
2686
  ariaColumnIndex: 1 + H,
2685
2687
  isSelected: !1,
2686
2688
  locked: this.props.lockGroups,
@@ -2690,13 +2692,13 @@ let he = class extends l.Component {
2690
2692
  );
2691
2693
  }),
2692
2694
  this.props.expandField && /* @__PURE__ */ l.createElement(
2693
- Dr,
2695
+ Gr,
2694
2696
  {
2695
- id: z.generateNavigatableId(`${te}-dhcell`, s)
2697
+ id: z.generateNavigatableId(`${ee}-dhcell`, s)
2696
2698
  }
2697
2699
  ),
2698
2700
  /* @__PURE__ */ l.createElement(
2699
- Nr,
2701
+ Tr,
2700
2702
  {
2701
2703
  onContextMenu: this.onContextMenu,
2702
2704
  dataItem: R.dataItem,
@@ -2704,53 +2706,53 @@ let he = class extends l.Component {
2704
2706
  colSpan: A,
2705
2707
  ariaColIndex: 2 + (this.props.group ? this.props.group.length : 0),
2706
2708
  detail: this.props.detail,
2707
- id: z.generateNavigatableId(`${te}-dcell`, s)
2709
+ id: z.generateNavigatableId(`${ee}-dcell`, s)
2708
2710
  }
2709
2711
  )
2710
2712
  ));
2711
2713
  }
2712
2714
  });
2713
2715
  } else
2714
- 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))));
2715
- const Je = {
2716
+ Ee = !0;
2717
+ const Ze = {
2716
2718
  size: this.props.size,
2717
2719
  onPageChange: this.pagerPageChange,
2718
2720
  total: t,
2719
2721
  dir: this.isRtl ? "rtl" : void 0,
2720
2722
  skip: this.vs.propsSkip || 0,
2721
2723
  take: (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 10,
2722
- messagesMap: rr,
2723
- ...Fr(this.props.pageable || {})
2724
- }, Qe = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Je }) : /* @__PURE__ */ l.createElement(ws, { className: "k-grid-pager", ...Je }), hs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, ds = (f, w) => /* @__PURE__ */ l.createElement(
2724
+ messagesMap: or,
2725
+ ...Dr(this.props.pageable || {})
2726
+ }, et = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Ze }) : /* @__PURE__ */ l.createElement(Fs, { className: "k-grid-pager", ...Ze }), ps = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, us = (f, w) => /* @__PURE__ */ l.createElement(
2725
2727
  "col",
2726
2728
  {
2727
2729
  key: w.toString(),
2728
- width: ye(f)
2730
+ width: we(f)
2729
2731
  }
2730
- ), Ze = (rt = this.props.cells) != null && rt.footerCell || this._columns.some(
2732
+ ), tt = (ot = this.props.cells) != null && ot.footerCell || this._columns.some(
2731
2733
  (f) => {
2732
2734
  var w;
2733
2735
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2734
2736
  }
2735
2737
  ) ? /* @__PURE__ */ l.createElement(
2736
- mr,
2738
+ br,
2737
2739
  {
2738
2740
  size: this.props.size,
2739
2741
  columnResize: this.columnResize,
2740
2742
  staticHeaders: this.props.scrollable !== "none",
2741
2743
  ref: (f) => this._footer = f,
2742
2744
  row: /* @__PURE__ */ l.createElement(
2743
- wr,
2745
+ Fr,
2744
2746
  {
2745
2747
  cells: this.props.cells,
2746
2748
  columns: this._columns,
2747
2749
  isRtl: this.isRtl,
2748
- ariaRowIndex: Z + 1
2750
+ ariaRowIndex: Q + 1
2749
2751
  }
2750
2752
  ),
2751
- cols: u.map(ds)
2753
+ cols: u.map(us)
2752
2754
  }
2753
- ) : null, et = /* @__PURE__ */ l.createElement(
2755
+ ) : null, st = /* @__PURE__ */ l.createElement(
2754
2756
  "colgroup",
2755
2757
  {
2756
2758
  ref: (f) => {
@@ -2762,14 +2764,14 @@ let he = class extends l.Component {
2762
2764
  "col",
2763
2765
  {
2764
2766
  key: w.toString(),
2765
- className: hs(f.field) ? "k-sorted" : void 0,
2766
- width: ye(f)
2767
+ className: ps(f.field) ? "k-sorted" : void 0,
2768
+ width: we(f)
2767
2769
  }
2768
2770
  )
2769
2771
  )
2770
- ), tt = this.dragLogic.reorderable || this.dragLogic.groupable, st = this.props.columnVirtualization ? "block" : "table";
2772
+ ), rt = this.dragLogic.reorderable || this.dragLogic.groupable, it = this.props.columnVirtualization ? "block" : "table";
2771
2773
  if (this.props.scrollable === "none")
2772
- return /* @__PURE__ */ l.createElement(Re.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2774
+ return /* @__PURE__ */ l.createElement(Fe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2773
2775
  "div",
2774
2776
  {
2775
2777
  id: this.props.id,
@@ -2788,12 +2790,12 @@ let he = class extends l.Component {
2788
2790
  "aria-label": this.props.ariaLabel,
2789
2791
  onKeyDown: this.onKeyDown,
2790
2792
  onFocus: this.onFocus,
2791
- ...ct
2793
+ ...dt
2792
2794
  },
2793
2795
  d,
2794
2796
  b,
2795
2797
  /* @__PURE__ */ l.createElement(
2796
- ht,
2798
+ pt,
2797
2799
  {
2798
2800
  selectable: this.props.selectable,
2799
2801
  onRelease: this.selectionRelease,
@@ -2808,18 +2810,19 @@ let he = class extends l.Component {
2808
2810
  "k-table k-grid-table",
2809
2811
  { [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2810
2812
  ),
2811
- style: { userSelect: c, display: st }
2813
+ style: { userSelect: c, display: it }
2812
2814
  },
2813
- et,
2815
+ st,
2814
2816
  Y,
2815
- /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...dt }, Q),
2816
- Ze
2817
+ /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...ut }, pe),
2818
+ tt
2817
2819
  )
2818
2820
  ),
2819
- tt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue }))
2820
- ), m, this.props.pageable && Qe);
2821
+ Ee && Qe,
2822
+ rt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ft, { ref: this.dragLogic.refDragElementClue }))
2823
+ ), m, this.props.pageable && et);
2821
2824
  let ue = this.props.style || {};
2822
- return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(Re.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2825
+ return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(Fe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2823
2826
  "div",
2824
2827
  {
2825
2828
  id: this.props.id,
@@ -2839,7 +2842,7 @@ let he = class extends l.Component {
2839
2842
  "aria-label": this.props.ariaLabel,
2840
2843
  onKeyDown: this.onKeyDown,
2841
2844
  onFocus: this.onFocus,
2842
- ...ct
2845
+ ...dt
2843
2846
  },
2844
2847
  d,
2845
2848
  b,
@@ -2862,7 +2865,7 @@ let he = class extends l.Component {
2862
2865
  role: "presentation"
2863
2866
  },
2864
2867
  /* @__PURE__ */ l.createElement("div", { className: "k-grid-table-wrap", role: "presentation" }, /* @__PURE__ */ l.createElement(
2865
- ht,
2868
+ pt,
2866
2869
  {
2867
2870
  selectable: this.props.selectable,
2868
2871
  onRelease: this.selectionRelease,
@@ -2881,21 +2884,21 @@ let he = class extends l.Component {
2881
2884
  }
2882
2885
  ),
2883
2886
  role: "presentation",
2884
- style: { userSelect: c, display: st }
2887
+ style: { userSelect: c, display: it }
2885
2888
  },
2886
- et,
2889
+ st,
2887
2890
  /* @__PURE__ */ l.createElement(
2888
2891
  "tbody",
2889
2892
  {
2890
2893
  className: "k-table-tbody",
2891
2894
  ref: this.tableBodyRef,
2892
2895
  role: "rowgroup",
2893
- ...dt
2896
+ ...ut
2894
2897
  },
2895
- Q
2898
+ pe
2896
2899
  )
2897
2900
  )
2898
- )),
2901
+ ), Ee && Qe),
2899
2902
  /* @__PURE__ */ l.createElement("div", { className: "k-height-container", role: "presentation" }, /* @__PURE__ */ l.createElement(
2900
2903
  "div",
2901
2904
  {
@@ -2903,17 +2906,17 @@ let he = class extends l.Component {
2903
2906
  }
2904
2907
  ))
2905
2908
  )),
2906
- Ze,
2907
- tt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue })),
2908
- this.showLicenseWatermark && /* @__PURE__ */ l.createElement(Cs, null)
2909
+ tt,
2910
+ rt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ft, { ref: this.dragLogic.refDragElementClue })),
2911
+ this.showLicenseWatermark && /* @__PURE__ */ l.createElement(xs, null)
2909
2912
  ),
2910
2913
  m,
2911
- this.props.pageable && Qe
2914
+ this.props.pageable && et
2912
2915
  ));
2913
2916
  }
2914
2917
  selectionChange(t) {
2915
2918
  if (this.props.onSelectionChange) {
2916
- const { event: s, dataItem: o, dataIndex: e, columnIndex: r } = t, { mode: n, cell: a } = at(this.props.selectable), c = {
2919
+ const { event: s, dataItem: o, dataIndex: e, columnIndex: r } = t, { mode: n, cell: a } = ht(this.props.selectable), c = {
2917
2920
  ...this.getArguments(s.syntheticEvent),
2918
2921
  dataItem: o,
2919
2922
  startColIndex: r,
@@ -2961,7 +2964,7 @@ let he = class extends l.Component {
2961
2964
  }, a = this._columns.splice(t, n(t) - t);
2962
2965
  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++;
2963
2966
  const c = this._columns[t].locked && this._columns[s].locked;
2964
- Rs(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), Fs(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2967
+ Ns(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), Ds(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2965
2968
  const h = this.columns;
2966
2969
  if (this.forceUpdate(), this.props.onColumnReorder) {
2967
2970
  const d = {
@@ -3001,7 +3004,7 @@ let he = class extends l.Component {
3001
3004
  }
3002
3005
  initColumns(t, s) {
3003
3006
  const o = z.getIdPrefix(this.navigationStateRef);
3004
- this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Ks(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;
3007
+ this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Us(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;
3005
3008
  }
3006
3009
  getDataState() {
3007
3010
  return {
@@ -3020,11 +3023,11 @@ let he = class extends l.Component {
3020
3023
  };
3021
3024
  }
3022
3025
  };
3023
- he.displayName = "KendoReactGrid";
3024
- he.defaultProps = {
3026
+ ce.displayName = "KendoReactGrid";
3027
+ ce.defaultProps = {
3025
3028
  // never use this
3026
3029
  };
3027
- he.propTypes = {
3030
+ ce.propTypes = {
3028
3031
  data: p.oneOfType([
3029
3032
  p.array,
3030
3033
  p.shape({
@@ -3101,7 +3104,7 @@ he.propTypes = {
3101
3104
  navigatable: p.bool,
3102
3105
  size: p.oneOf(["small", "medium"])
3103
3106
  };
3104
- he.contextType = Re;
3107
+ ce.contextType = Fe;
3105
3108
  class xe extends l.Component {
3106
3109
  /**
3107
3110
  * @hidden
@@ -3119,16 +3122,16 @@ class xe extends l.Component {
3119
3122
  );
3120
3123
  }
3121
3124
  }
3122
- class ae extends l.Component {
3125
+ class ne extends l.Component {
3123
3126
  /**
3124
3127
  * @hidden
3125
3128
  */
3126
3129
  render() {
3127
3130
  const { title: t, iconClass: s, svgIcon: o, selected: e } = this.props;
3128
- return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && bs(s), icon: o }), t);
3131
+ return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && vs(s), icon: o }), t);
3129
3132
  }
3130
3133
  }
3131
- class ts extends l.Component {
3134
+ class rs extends l.Component {
3132
3135
  constructor() {
3133
3136
  super(...arguments), this.onGroupClick = (t) => {
3134
3137
  if (t.preventDefault(), this.props.onGroupChange) {
@@ -3147,21 +3150,21 @@ class ts extends l.Component {
3147
3150
  * @hidden
3148
3151
  */
3149
3152
  render() {
3150
- const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), r = e ? _t : Ot;
3153
+ const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), r = e ? At : Pt;
3151
3154
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3152
- ae,
3155
+ ne,
3153
3156
  {
3154
3157
  title: o.toLanguageString(r, k[r]),
3155
3158
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3156
- svgIcon: e ? _s : Os,
3159
+ svgIcon: e ? As : Ps,
3157
3160
  onClick: this.onGroupClick
3158
3161
  }
3159
3162
  ));
3160
3163
  }
3161
3164
  }
3162
- Dt(ts);
3163
- M(ts);
3164
- const ss = "asc", rs = "desc", Tr = {
3165
+ Gt(rs);
3166
+ M(rs);
3167
+ const is = "asc", os = "desc", Mr = {
3165
3168
  true: {
3166
3169
  asc: { asc: "", desc: "desc" },
3167
3170
  desc: { asc: "asc", desc: "" },
@@ -3172,17 +3175,17 @@ const ss = "asc", rs = "desc", Tr = {
3172
3175
  desc: { asc: "asc", desc: "desc" },
3173
3176
  "": { asc: "asc", desc: "desc" }
3174
3177
  }
3175
- }, is = (i, t) => t ? t.findIndex((s) => s.field === i) : -1, os = (i, t) => !!(t && i > -1 && t[i].dir === ss), ls = (i, t) => !!(t && i > -1 && t[i].dir === rs);
3176
- class je extends l.Component {
3178
+ }, ls = (i, t) => t ? t.findIndex((s) => s.field === i) : -1, ns = (i, t) => !!(t && i > -1 && t[i].dir === is), as = (i, t) => !!(t && i > -1 && t[i].dir === os);
3179
+ class Xe extends l.Component {
3177
3180
  constructor() {
3178
3181
  super(...arguments), this.onAscClick = (t) => {
3179
- this.onSort(t, ss), this.props.onCloseMenu && this.props.onCloseMenu();
3182
+ this.onSort(t, is), this.props.onCloseMenu && this.props.onCloseMenu();
3180
3183
  }, this.onDescClick = (t) => {
3181
- this.onSort(t, rs), this.props.onCloseMenu && this.props.onCloseMenu();
3184
+ this.onSort(t, os), this.props.onCloseMenu && this.props.onCloseMenu();
3182
3185
  }, this.onSort = (t, s) => {
3183
3186
  if (t.preventDefault(), !this.props.onSortChange)
3184
3187
  return;
3185
- const { column: o, sortable: e, sort: r } = this.props, { allowUnsort: n, mode: a } = Kt(e || !1, !1), c = (r || []).filter((g) => g.field === o.field)[0], h = Tr[n][c && c.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3188
+ const { column: o, sortable: e, sort: r } = this.props, { allowUnsort: n, mode: a } = Ut(e || !1, !1), c = (r || []).filter((g) => g.field === o.field)[0], h = Mr[n][c && c.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3186
3189
  h !== "" && o.field && d.push({ field: o.field, dir: h }), this.props.onSortChange(d, t);
3187
3190
  };
3188
3191
  }
@@ -3190,35 +3193,35 @@ class je extends l.Component {
3190
3193
  * @hidden
3191
3194
  */
3192
3195
  render() {
3193
- const { sort: t, column: s } = this.props, o = is(s.field, t), e = G(this);
3196
+ const { sort: t, column: s } = this.props, o = ls(s.field, t), e = G(this);
3194
3197
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3195
- ae,
3198
+ ne,
3196
3199
  {
3197
- title: e.toLanguageString(Ge, k[Ge]),
3200
+ title: e.toLanguageString(Me, k[Me]),
3198
3201
  iconClass: "k-i-sort-asc-sm",
3199
- svgIcon: Ke,
3200
- selected: os(o, t),
3202
+ svgIcon: Ve,
3203
+ selected: ns(o, t),
3201
3204
  onClick: this.onAscClick
3202
3205
  }
3203
3206
  ), /* @__PURE__ */ l.createElement(
3204
- ae,
3207
+ ne,
3205
3208
  {
3206
- title: e.toLanguageString(Me, k[Me]),
3209
+ title: e.toLanguageString(He, k[He]),
3207
3210
  iconClass: "k-i-sort-desc-sm",
3208
- svgIcon: Ve,
3209
- selected: ls(o, t),
3211
+ svgIcon: Ue,
3212
+ selected: as(o, t),
3210
3213
  onClick: this.onDescClick
3211
3214
  }
3212
3215
  ));
3213
3216
  }
3214
3217
  }
3215
- je.active = (i, t) => {
3216
- const s = is(i, t);
3217
- return ls(s, t) || os(s, t);
3218
+ Xe.active = (i, t) => {
3219
+ const s = ls(i, t);
3220
+ return as(s, t) || ns(s, t);
3218
3221
  };
3219
- Dt(je);
3220
- M(je);
3221
- class ns extends l.Component {
3222
+ Gt(Xe);
3223
+ M(Xe);
3224
+ class cs extends l.Component {
3222
3225
  /**
3223
3226
  * @hidden
3224
3227
  */
@@ -3230,18 +3233,18 @@ class ns extends l.Component {
3230
3233
  className: y("k-columnmenu-item-content", this.props.className),
3231
3234
  style: this.props.style
3232
3235
  },
3233
- /* @__PURE__ */ l.createElement(Ws, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3236
+ /* @__PURE__ */ l.createElement(Vs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3234
3237
  );
3235
3238
  }
3236
3239
  }
3237
- class Et extends l.Component {
3240
+ class St extends l.Component {
3238
3241
  constructor(t) {
3239
3242
  super(t), this.renderOperatorEditor = () => {
3240
3243
  if (this.props.filterType === "boolean")
3241
3244
  return;
3242
3245
  const s = this.props.operators.find((o) => o.operator === this.props.operator) || null;
3243
3246
  return /* @__PURE__ */ l.createElement(
3244
- oe,
3247
+ ie,
3245
3248
  {
3246
3249
  value: s,
3247
3250
  onChange: this.operatorChange,
@@ -3258,19 +3261,19 @@ class Et extends l.Component {
3258
3261
  return /* @__PURE__ */ l.createElement(l.Fragment, null, this.renderOperatorEditor(), this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues));
3259
3262
  }
3260
3263
  inputChange(t, s) {
3261
- $t(t, s, this.props);
3264
+ Xt(t, s, this.props);
3262
3265
  }
3263
3266
  operatorChange(t) {
3264
- Yt(t, this.props.value, this.props.onChange);
3267
+ Qt(t, this.props.value, this.props.onChange);
3265
3268
  }
3266
3269
  boolDropdownChange(t) {
3267
- Xt(t, this.props.onChange);
3270
+ Jt(t, this.props.onChange);
3268
3271
  }
3269
3272
  filterComponent(t, s, o) {
3270
3273
  switch (t) {
3271
3274
  case "numeric":
3272
3275
  return /* @__PURE__ */ l.createElement(
3273
- Ue,
3276
+ qe,
3274
3277
  {
3275
3278
  value: s,
3276
3279
  onChange: (e) => {
@@ -3281,7 +3284,7 @@ class Et extends l.Component {
3281
3284
  );
3282
3285
  case "date":
3283
3286
  return /* @__PURE__ */ l.createElement(
3284
- qe,
3287
+ $e,
3285
3288
  {
3286
3289
  value: s,
3287
3290
  onChange: (e) => {
@@ -3292,7 +3295,7 @@ class Et extends l.Component {
3292
3295
  case "boolean": {
3293
3296
  const e = (r) => r == null;
3294
3297
  return /* @__PURE__ */ l.createElement(
3295
- oe,
3298
+ ie,
3296
3299
  {
3297
3300
  onChange: this.boolDropdownChange,
3298
3301
  value: o.find((r) => r.operator === (e(s) ? "" : s)),
@@ -3303,7 +3306,7 @@ class Et extends l.Component {
3303
3306
  }
3304
3307
  default:
3305
3308
  return /* @__PURE__ */ l.createElement(
3306
- Mt,
3309
+ zt,
3307
3310
  {
3308
3311
  value: s || "",
3309
3312
  onChange: (e) => {
@@ -3314,7 +3317,7 @@ class Et extends l.Component {
3314
3317
  }
3315
3318
  }
3316
3319
  }
3317
- class Gr extends l.Component {
3320
+ class Hr extends l.Component {
3318
3321
  render() {
3319
3322
  const {
3320
3323
  firstFilterProps: t,
@@ -3324,8 +3327,8 @@ class Gr extends l.Component {
3324
3327
  logicValue: r,
3325
3328
  onLogicChange: n
3326
3329
  } = this.props;
3327
- return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Et, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3328
- oe,
3330
+ return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(St, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3331
+ ie,
3329
3332
  {
3330
3333
  data: e,
3331
3334
  value: r,
@@ -3333,11 +3336,11 @@ class Gr extends l.Component {
3333
3336
  className: "k-filter-and",
3334
3337
  textField: "text"
3335
3338
  }
3336
- ), /* @__PURE__ */ l.createElement(Et, { ...o })));
3339
+ ), /* @__PURE__ */ l.createElement(St, { ...o })));
3337
3340
  }
3338
3341
  }
3339
- const We = (i) => i || { filters: [], logic: "and" }, ge = (i, t) => We(t).filters.filter((e) => gt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((r) => gt(r) || r.field !== i) : !1)[0] || null;
3340
- class as extends l.Component {
3342
+ const Ke = (i) => i || { filters: [], logic: "and" }, ge = (i, t) => Ke(t).filters.filter((e) => mt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((r) => mt(r) || r.field !== i) : !1)[0] || null;
3343
+ class hs extends l.Component {
3341
3344
  constructor(t) {
3342
3345
  super(t), this.removeGroup = (o, e) => {
3343
3346
  const r = [...e.filters], n = r.findIndex((a) => a === o);
@@ -3382,7 +3385,7 @@ class as extends l.Component {
3382
3385
  }, this.clear = (o) => {
3383
3386
  if (o.preventDefault(), !this.props.onFilterChange)
3384
3387
  return;
3385
- const e = this.props.column.field, r = We(this.props.filter), n = ge(e, this.props.filter), a = r.filters.filter((c) => c !== n);
3388
+ const e = this.props.column.field, r = Ke(this.props.filter), n = ge(e, this.props.filter), a = r.filters.filter((c) => c !== n);
3386
3389
  a.length ? this.props.onFilterChange({ ...r, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
3387
3390
  }, this.currentFilterGroup = () => ({
3388
3391
  ...this.state.filterGroup,
@@ -3390,7 +3393,7 @@ class as extends l.Component {
3390
3393
  }), this.submit = (o) => {
3391
3394
  if (o.preventDefault(), !this.props.onFilterChange)
3392
3395
  return;
3393
- const e = this.props.column.field, r = We(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3396
+ const e = this.props.column.field, r = Ke(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3394
3397
  let c = null;
3395
3398
  if (n && a.filters.length > 0) {
3396
3399
  const h = r.filters.map((d) => d === n ? a : d);
@@ -3413,7 +3416,7 @@ class as extends l.Component {
3413
3416
  };
3414
3417
  let s;
3415
3418
  if (t.column && t.column.field) {
3416
- const o = Be(t.column.filter), e = jt(t.filterOperators, o);
3419
+ const o = We(t.column.filter), e = Yt(t.filterOperators, o);
3417
3420
  s = ge(t.column.field, t.filter), s = s ? {
3418
3421
  ...s,
3419
3422
  filters: s.filters.map((r) => ({ ...r }))
@@ -3437,7 +3440,7 @@ class as extends l.Component {
3437
3440
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3438
3441
  if (!t || !t.field)
3439
3442
  return /* @__PURE__ */ l.createElement("div", null);
3440
- const r = Be(t.filter), n = o !== void 0 ? o : gr[r], a = G(this), c = this.state.filterGroup.filters, h = ie(e[r], a), d = ie(qt, a), g = {
3443
+ const r = We(t.filter), n = o !== void 0 ? o : mr[r], a = G(this), c = this.state.filterGroup.filters, h = re(e[r], a), d = re(jt, a), g = {
3441
3444
  field: t.field,
3442
3445
  value: c[0].value,
3443
3446
  operator: c[0].operator,
@@ -3453,7 +3456,7 @@ class as extends l.Component {
3453
3456
  booleanValues: d,
3454
3457
  onChange: this.secondFilterChange,
3455
3458
  filterType: r
3456
- }, u = this.state.filterGroup.logic, b = ie(pr, a), E = {
3459
+ }, u = this.state.filterGroup.logic, b = re(gr, a), E = {
3457
3460
  value: b.find((D) => D.operator === (u === null ? "" : u)),
3458
3461
  onChange: this.logicChange,
3459
3462
  data: b
@@ -3464,16 +3467,16 @@ class as extends l.Component {
3464
3467
  logicValue: E.value,
3465
3468
  onLogicChange: E.onChange,
3466
3469
  hideSecondFilter: n
3467
- }, S = this.currentFilterGroup().filters.length !== 0 || L(c[0].operator) || L(c[1].operator), v = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3470
+ }, I = this.currentFilterGroup().filters.length !== 0 || L(c[0].operator) || L(c[1].operator), v = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3468
3471
  return /* @__PURE__ */ l.createElement(xe, null, !_ && /* @__PURE__ */ l.createElement(
3469
- ae,
3472
+ ne,
3470
3473
  {
3471
- title: a.toLanguageString(ne, k[ne]),
3474
+ title: a.toLanguageString(le, k[le]),
3472
3475
  iconClass: "k-i-filter",
3473
3476
  svgIcon: Ce,
3474
3477
  onClick: this.onFilterExpand
3475
3478
  }
3476
- ), /* @__PURE__ */ l.createElement(ns, { show: _ || !!v }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3479
+ ), /* @__PURE__ */ l.createElement(cs, { show: _ || !!v }, /* @__PURE__ */ l.createElement(
3477
3480
  "form",
3478
3481
  {
3479
3482
  className: "k-filter-menu",
@@ -3481,13 +3484,13 @@ class as extends l.Component {
3481
3484
  onReset: this.clear,
3482
3485
  onKeyDown: (D) => D.stopPropagation()
3483
3486
  },
3484
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Gr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3487
+ /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Hr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3485
3488
  W,
3486
3489
  {
3487
3490
  themeColor: "primary",
3488
- disabled: !S
3491
+ disabled: !I
3489
3492
  },
3490
- a.toLanguageString(le, k[le])
3493
+ a.toLanguageString(oe, k[oe])
3491
3494
  ), /* @__PURE__ */ l.createElement(
3492
3495
  W,
3493
3496
  {
@@ -3495,19 +3498,19 @@ class as extends l.Component {
3495
3498
  },
3496
3499
  a.toLanguageString(U, k[U])
3497
3500
  )))
3498
- ))));
3501
+ )));
3499
3502
  }
3500
3503
  }
3501
- as.active = (i, t) => !!ge(i, t);
3502
- M(as);
3503
- const Mr = (i, t) => i.length !== t.length ? !1 : i.every((s, o) => s === t[o]);
3504
- class cs extends l.Component {
3504
+ hs.active = (i, t) => !!ge(i, t);
3505
+ M(hs);
3506
+ const zr = (i, t) => i.length !== t.length ? !1 : i.every((s, o) => s === t[o]);
3507
+ class ds extends l.Component {
3505
3508
  constructor(t) {
3506
- super(t), this.defaultFilter = () => this.props.filter ? xs(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3507
- let e = this.props.column.field || "", r = s.map((n) => T(e, n));
3509
+ super(t), this.defaultFilter = () => this.props.filter ? ks(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3510
+ const e = this.props.column.field || "", r = s.map((n) => T(e, n));
3508
3511
  return o ? r.filter((n, a) => r.indexOf(n) === a) : r;
3509
3512
  }, this.getFilterIndex = () => {
3510
- let s = this.props.column.field;
3513
+ const s = this.props.column.field;
3511
3514
  return this.defaultFilter().filters.findIndex((r) => r.filters && r.filters.length > 0 && r.filters[0].field === s);
3512
3515
  }, this.onFilterExpand = () => {
3513
3516
  const s = this.isControlled(), o = !(s ? this.props.expanded : this.state.expanded);
@@ -3515,7 +3518,7 @@ class cs extends l.Component {
3515
3518
  expanded: o
3516
3519
  });
3517
3520
  }, this.handleSearchChange = (s) => {
3518
- let o = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", e = {
3521
+ const o = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", e = {
3519
3522
  logic: "and",
3520
3523
  filters: [
3521
3524
  { field: this.props.column.field, operator: o, value: s.target.value, ignoreCase: !0 }
@@ -3523,10 +3526,10 @@ class cs extends l.Component {
3523
3526
  };
3524
3527
  this.setState({
3525
3528
  value: s.target.value,
3526
- data: this.parseData(ft(this.props.data || [], e), this.props.uniqueData)
3529
+ data: this.parseData(Ct(this.props.data || [], e), this.props.uniqueData)
3527
3530
  });
3528
3531
  }, this.handleClear = () => {
3529
- let s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
3532
+ const s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
3530
3533
  logic: "and",
3531
3534
  filters: [
3532
3535
  { field: this.props.column.field, operator: s, value: "", ignoreCase: !0 }
@@ -3534,21 +3537,21 @@ class cs extends l.Component {
3534
3537
  };
3535
3538
  this.setState({
3536
3539
  value: "",
3537
- data: this.parseData(ft(this.props.data || [], o), this.props.uniqueData)
3540
+ data: this.parseData(Ct(this.props.data || [], o), this.props.uniqueData)
3538
3541
  });
3539
3542
  }, this.clear = (s) => {
3540
3543
  if (s.preventDefault(), !this.props.onFilterChange)
3541
3544
  return;
3542
- let o = this.state.currentFilter || null;
3545
+ const o = this.state.currentFilter || null;
3543
3546
  o !== null && o.filters.length > 0 ? (this.compositeFilterIndex >= 0 && o.filters.splice(this.compositeFilterIndex, 1), this.props.onFilterChange(o, s)) : this.props.onFilterChange(null, s), this.props.onCloseMenu && this.props.onCloseMenu();
3544
3547
  }, this.submit = (s) => {
3545
3548
  if (s.preventDefault(), !this.props.onFilterChange)
3546
3549
  return;
3547
- let o = this.state.currentFilter || null;
3550
+ const o = this.state.currentFilter || null;
3548
3551
  this.props.onFilterChange(o, s), this.props.onCloseMenu && this.props.onCloseMenu();
3549
3552
  }, this.handleCheckBoxChange = (s, o) => {
3550
- const e = this.props.column.field || "";
3551
- let r = { ...this.state.currentFilter }, n = [...this.state.currentFilter.filters], a = [];
3553
+ const e = this.props.column.field || "", r = { ...this.state.currentFilter }, n = [...this.state.currentFilter.filters];
3554
+ let a = [];
3552
3555
  if (this.compositeFilterIndex !== -1 && r.filters[this.compositeFilterIndex].filters && o !== "all" && (a = r.filters[this.compositeFilterIndex].filters), s.value && o === "all")
3553
3556
  this.state.data.forEach((c) => {
3554
3557
  a.push({ field: e, operator: "eq", value: c });
@@ -3556,7 +3559,7 @@ class cs extends l.Component {
3556
3559
  else if (s.value)
3557
3560
  a.push({ field: e, operator: "eq", value: o });
3558
3561
  else if (this.state.currentFilter) {
3559
- let c = a.findIndex((h) => h.value === o);
3562
+ const c = a.findIndex((h) => h.value === o);
3560
3563
  a.splice(c, 1);
3561
3564
  }
3562
3565
  r.logic = "and", this.compositeFilterIndex !== -1 ? n[this.compositeFilterIndex] = {
@@ -3569,7 +3572,7 @@ class cs extends l.Component {
3569
3572
  }, this.isAllSelected = () => {
3570
3573
  let s = !1;
3571
3574
  if (this.state.currentFilter) {
3572
- let o = [...this.state.currentFilter.filters];
3575
+ const o = [...this.state.currentFilter.filters];
3573
3576
  return this.compositeFilterIndex === -1 ? !1 : (s = this.state.data.every((e) => this.compositeFilterIndex !== -1 && o[this.compositeFilterIndex].filters ? o[this.compositeFilterIndex].filters.findIndex((n) => n.value === e) >= 0 : !1), s);
3574
3577
  }
3575
3578
  return s;
@@ -3585,8 +3588,8 @@ class cs extends l.Component {
3585
3588
  * @hidden
3586
3589
  */
3587
3590
  componentDidUpdate() {
3588
- let t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3589
- Mr(s, this.state.dataFromProps) || this.setState({
3591
+ const t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3592
+ zr(s, this.state.dataFromProps) || this.setState({
3590
3593
  data: s,
3591
3594
  dataFromProps: s
3592
3595
  });
@@ -3598,20 +3601,19 @@ class cs extends l.Component {
3598
3601
  const { column: t } = this.props;
3599
3602
  if (!t || !t.field)
3600
3603
  return /* @__PURE__ */ l.createElement("div", null);
3601
- const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded;
3602
- let e = [];
3604
+ const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded, e = [];
3603
3605
  if (this.state.currentFilter) {
3604
3606
  const a = [...this.state.currentFilter.filters];
3605
3607
  this.compositeFilterIndex = a.findIndex((c) => c.filters && c.filters.length > 0 ? c.filters[0].field === t.field : !1), this.compositeFilterIndex !== -1 && a[this.compositeFilterIndex].filters.length > 0 && a[this.compositeFilterIndex].filters.forEach((c) => {
3606
3608
  c.field === this.props.column.field && e.push(c.value);
3607
3609
  });
3608
3610
  }
3609
- const r = 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(
3610
- Mt,
3611
+ const r = 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: Mt }), /* @__PURE__ */ l.createElement(
3612
+ zt,
3611
3613
  {
3612
3614
  className: "k-input-inner",
3613
3615
  type: "text",
3614
- placeholder: s.toLanguageString(He, k[He]),
3616
+ placeholder: s.toLanguageString(ze, k[ze]),
3615
3617
  value: this.state.value,
3616
3618
  onChange: (a) => this.handleSearchChange(a.nativeEvent)
3617
3619
  }
@@ -3623,18 +3625,18 @@ class cs extends l.Component {
3623
3625
  className: "k-input-button",
3624
3626
  onClick: this.handleClear,
3625
3627
  icon: "x",
3626
- svgIcon: Ps
3628
+ svgIcon: Bs
3627
3629
  }
3628
3630
  )), n = e.filter((a, c) => e.indexOf(a) === c);
3629
3631
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3630
- ae,
3632
+ ne,
3631
3633
  {
3632
- title: s.toLanguageString(ne, k[ne]),
3634
+ title: s.toLanguageString(le, k[le]),
3633
3635
  iconClass: "k-i-filter",
3634
3636
  svgIcon: Ce,
3635
3637
  onClick: this.onFilterExpand
3636
3638
  }
3637
- ), /* @__PURE__ */ l.createElement(ns, { show: !!o }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3639
+ ), /* @__PURE__ */ l.createElement(cs, { show: !!o }, /* @__PURE__ */ l.createElement(
3638
3640
  "form",
3639
3641
  {
3640
3642
  className: "k-filter-menu",
@@ -3644,7 +3646,7 @@ class cs extends l.Component {
3644
3646
  /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, r, /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3645
3647
  fe,
3646
3648
  {
3647
- label: s.toLanguageString(ze, k[ze]),
3649
+ label: s.toLanguageString(Le, k[Le]),
3648
3650
  onChange: (a) => this.handleCheckBoxChange(a, "all"),
3649
3651
  checked: this.isAllSelected()
3650
3652
  }
@@ -3655,13 +3657,13 @@ class cs extends l.Component {
3655
3657
  onChange: (h) => this.handleCheckBoxChange(h, a),
3656
3658
  checked: n.includes(a)
3657
3659
  }
3658
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(Oe, k[Oe])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3660
+ )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(_e, k[_e])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3659
3661
  W,
3660
3662
  {
3661
3663
  themeColor: "primary",
3662
3664
  type: "submit"
3663
3665
  },
3664
- s.toLanguageString(le, k[le])
3666
+ s.toLanguageString(oe, k[oe])
3665
3667
  ), /* @__PURE__ */ l.createElement(
3666
3668
  W,
3667
3669
  {
@@ -3670,14 +3672,14 @@ class cs extends l.Component {
3670
3672
  },
3671
3673
  s.toLanguageString(U, k[U])
3672
3674
  )))
3673
- ))));
3675
+ )));
3674
3676
  }
3675
3677
  }
3676
- cs.defaultProps = {
3678
+ ds.defaultProps = {
3677
3679
  uniqueData: !0
3678
3680
  };
3679
- M(cs);
3680
- const Hr = (i) => {
3681
+ M(ds);
3682
+ const Lr = (i) => {
3681
3683
  const [t, s] = l.useState(""), o = l.useMemo(() => new Set(i.columnsState.map((u) => u.id)), [i.columnsState]), e = l.useMemo(() => i.columns.filter((u) => {
3682
3684
  var b;
3683
3685
  return (b = u.title || u.field) == null ? void 0 : b.toLowerCase().includes(t.toLowerCase());
@@ -3693,12 +3695,12 @@ const Hr = (i) => {
3693
3695
  E[b] = u, n(E);
3694
3696
  }, [r]);
3695
3697
  return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3696
- Gt,
3698
+ Ht,
3697
3699
  {
3698
3700
  className: "k-searchbox",
3699
3701
  value: t,
3700
3702
  onChange: (u) => s(String(u.target.value)),
3701
- prefix: () => /* @__PURE__ */ l.createElement(As, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Tt }))
3703
+ prefix: () => /* @__PURE__ */ l.createElement(Ws, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Mt }))
3702
3704
  }
3703
3705
  ), /* @__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(
3704
3706
  fe,
@@ -3720,8 +3722,8 @@ const Hr = (i) => {
3720
3722
  }
3721
3723
  )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, h, " 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: c }, "Reset"))));
3722
3724
  };
3723
- Hr.displayName = "GridColumnMenuColumnsList";
3724
- class Qr extends l.Component {
3725
+ Lr.displayName = "GridColumnMenuColumnsList";
3726
+ class ei extends l.Component {
3725
3727
  /**
3726
3728
  * @hidden
3727
3729
  */
@@ -3729,7 +3731,7 @@ class Qr extends l.Component {
3729
3731
  return null;
3730
3732
  }
3731
3733
  }
3732
- class zr extends l.Component {
3734
+ class Or extends l.Component {
3733
3735
  /**
3734
3736
  * @hidden
3735
3737
  */
@@ -3753,27 +3755,27 @@ class zr extends l.Component {
3753
3755
  );
3754
3756
  }
3755
3757
  }
3756
- zr.displayName = "KendoReactGridToolbar";
3757
- const Lr = (i) => {
3758
+ Or.displayName = "KendoReactGridToolbar";
3759
+ const _r = (i) => {
3758
3760
  const { data: t = [] } = i;
3759
3761
  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))));
3760
3762
  };
3761
- Lr.displayName = "KendoReactGridStatusBar";
3762
- const Or = (i) => {
3763
+ _r.displayName = "KendoReactGridStatusBar";
3764
+ const Pr = (i) => {
3763
3765
  var s;
3764
3766
  const t = i.slice();
3765
3767
  for (let o = 0; o < t.length; o++)
3766
3768
  for (; t[o] && ((s = t[o].children) != null && s.length); )
3767
3769
  t.splice(o, 1, ...t[o].children);
3768
3770
  return t;
3769
- }, Zr = (i) => {
3770
- const { dataItems: t, target: s, selectedField: o } = i, r = Or(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => we(C)), n = we(o), a = { dates: [], numbers: [], booleans: [], others: [] }, c = (C) => {
3771
+ }, ti = (i) => {
3772
+ const { dataItems: t, target: s, selectedField: o } = i, r = Pr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Re(C)), n = Re(o), a = { dates: [], numbers: [], booleans: [], others: [] }, c = (C) => {
3771
3773
  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);
3772
3774
  };
3773
3775
  t.forEach((C) => {
3774
3776
  const x = n(C);
3775
- x && x.forEach((S) => {
3776
- c(r[S](C));
3777
+ x && x.forEach((I) => {
3778
+ c(r[I](C));
3777
3779
  });
3778
3780
  });
3779
3781
  const h = a.dates.map((C) => C.getTime()), d = a.booleans.filter((C) => C).length, g = a.booleans.filter((C) => !C).length, m = a.numbers.length ? a.numbers.reduce((C, x) => C += x, 0) : void 0, u = {
@@ -3788,55 +3790,55 @@ const Or = (i) => {
3788
3790
  latest: a.dates.length ? new Date(Math.max(...h)) : void 0
3789
3791
  }, b = (C, x) => (x === "sum" || x === "average") && typeof C == "number" ? C.toFixed(2) : (x === "earliest" || x === "latest") && C instanceof Date ? C.toLocaleDateString() : String(C), E = [];
3790
3792
  return Object.keys(u).forEach((C) => {
3791
- const x = C, S = u[x];
3792
- S !== void 0 && E.push({ type: x, value: S, formattedValue: b(S, x) });
3793
+ const x = C, I = u[x];
3794
+ I !== void 0 && E.push({ type: x, value: I, formattedValue: b(I, x) });
3793
3795
  }), E;
3794
- }, _r = wt(he);
3795
- _r.displayName = "KendoReactGrid";
3796
+ }, Ar = Ft(ce);
3797
+ Ar.displayName = "KendoReactGrid";
3796
3798
  export {
3797
- re as GRID_COL_INDEX_ATTRIBUTE,
3798
- or as GRID_ROW_INDEX_ATTRIBUTE,
3799
- _r as Grid,
3800
- Er as GridCell,
3801
- he as GridClassComponent,
3802
- ce as GridColumn,
3803
- cs as GridColumnMenuCheckboxFilter,
3804
- Hr as GridColumnMenuColumnsList,
3805
- as as GridColumnMenuFilter,
3806
- Et as GridColumnMenuFilterCell,
3807
- Gr as GridColumnMenuFilterUI,
3808
- ts as GridColumnMenuGroup,
3809
- ae as GridColumnMenuItem,
3810
- ns as GridColumnMenuItemContent,
3799
+ se as GRID_COL_INDEX_ATTRIBUTE,
3800
+ nr as GRID_ROW_INDEX_ATTRIBUTE,
3801
+ Ar as Grid,
3802
+ Sr as GridCell,
3803
+ ce as GridClassComponent,
3804
+ ae as GridColumn,
3805
+ ds as GridColumnMenuCheckboxFilter,
3806
+ Lr as GridColumnMenuColumnsList,
3807
+ hs as GridColumnMenuFilter,
3808
+ St as GridColumnMenuFilterCell,
3809
+ Hr as GridColumnMenuFilterUI,
3810
+ rs as GridColumnMenuGroup,
3811
+ ne as GridColumnMenuItem,
3812
+ cs as GridColumnMenuItemContent,
3811
3813
  xe as GridColumnMenuItemGroup,
3812
- je as GridColumnMenuSort,
3813
- Vt as GridColumnMenuWrapper,
3814
- kr as GridCommonDragLogic,
3815
- Qr as GridDetailRow,
3816
- lr as GridEditCell,
3817
- Jt as GridFilterCell,
3818
- vt as GridGroupCell,
3819
- cr as GridHeaderCell,
3820
- ir as GridHierarchyCell,
3821
- $e as GridNoRecords,
3822
- Sr as GridRow,
3823
- qs as GridSelectionCell,
3824
- zr as GridToolbar,
3825
- Lr as StatusBar,
3826
- qt as booleanFilterValues,
3814
+ Xe as GridColumnMenuSort,
3815
+ qt as GridColumnMenuWrapper,
3816
+ Ir as GridCommonDragLogic,
3817
+ ei as GridDetailRow,
3818
+ ar as GridEditCell,
3819
+ Zt as GridFilterCell,
3820
+ Et as GridGroupCell,
3821
+ dr as GridHeaderCell,
3822
+ lr as GridHierarchyCell,
3823
+ je as GridNoRecords,
3824
+ yr as GridRow,
3825
+ js as GridSelectionCell,
3826
+ Or as GridToolbar,
3827
+ _r as StatusBar,
3828
+ jt as booleanFilterValues,
3827
3829
  ge as filterGroupByField,
3828
- si as getSelectedState,
3829
- ri as getSelectedStateFromKeyDown,
3830
- Zr as getStatusData,
3830
+ ii as getSelectedState,
3831
+ oi as getSelectedStateFromKeyDown,
3832
+ ti as getStatusData,
3831
3833
  k as gridMessages,
3832
- Or as leafColumns,
3833
- Ct as operators,
3834
- js as pagerFirstPage,
3835
- $s as pagerInfo,
3836
- Qs as pagerItemPerPage,
3837
- Js as pagerLastPage,
3838
- Ys as pagerNextPage,
3839
- Xs as pagerPreviousPage,
3840
- We as rootFilterOrDefault,
3841
- ii as setSelectedState
3834
+ Pr as leafColumns,
3835
+ xt as operators,
3836
+ Ys as pagerFirstPage,
3837
+ Xs as pagerInfo,
3838
+ er as pagerItemPerPage,
3839
+ Zs as pagerLastPage,
3840
+ Qs as pagerNextPage,
3841
+ Js as pagerPreviousPage,
3842
+ Ke as rootFilterOrDefault,
3843
+ li as setSelectedState
3842
3844
  };