@progress/kendo-react-grid 7.2.0-develop.5 → 7.2.0-develop.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -5,18 +5,18 @@
5
5
  "use client";
6
6
  import * as n from "react";
7
7
  import p from "prop-types";
8
- import { useId as Rt, Keys as Ce, IconWrap as O, classNames as y, getScrollbarWidth as Ft, kendoThemeMaps as V, Draggable as Nt, withIdHOC as Dt, dispatchEvent as Cs, canUseDOM as we, getActiveElement as bs, memoizeOne as B, validatePackage as xs, shouldShowValidationUI as vs, setScrollbarWidth as ct, getter as Fe, WatermarkOverlay as ks, toIconName as Es, clone as Ss } from "@progress/kendo-react-common";
9
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as Is, TABLE_COL_INDEX_ATTRIBUTE as ys, isRtl as Tt, tableKeyboardNavigationHeaderAttributes as ht, ColumnResizer as ws, HeaderThElement as Gt, getIndex as dt, tableKeyboardNavigation as X, getSelectionOptions as pt, mapColumns as Rs, ClipboardService as Fs, tableColumnsVirtualization as Ns, Pager as Ds, TableKeyboardNavigationContext as Ne, tableKeyboardNavigationScopeAttributes as ut, TableSelection as gt, tableKeyboardNavigationBodyAttributes as ft, DropClue as mt, DragClue as Ct, updateLeft as Ts, updateRight as Gs } from "@progress/kendo-react-data-tools";
10
- import { getSelectedState as oi, getSelectedStateFromKeyDown as ni, setSelectedState as li } from "@progress/kendo-react-data-tools";
11
- import { useLocalization as Ue, provideLocalizationService as D, registerForLocalization as M, useInternationalization as Ms, registerForIntl as Mt } from "@progress/kendo-react-intl";
12
- import { minusIcon as Hs, plusIcon as zs, filterIcon as be, sortAscSmallIcon as qe, sortDescSmallIcon as $e, filterClearIcon as Ls, xCircleIcon as Os, caretAltDownIcon as _s, caretAltLeftIcon as Ps, caretAltRightIcon as As, groupIcon as Bs, ungroupIcon as Ws, searchIcon as Ht, xIcon as Ks } from "@progress/kendo-svg-icons";
13
- import { NumericTextBox as je, TextBox as zt, Input as Lt, Checkbox as me, InputPrefix as Vs } from "@progress/kendo-react-inputs";
8
+ import { useId as Rt, Keys as Ce, IconWrap as O, classNames as y, getScrollbarWidth as Ft, kendoThemeMaps as K, Draggable as Nt, withIdHOC as Dt, dispatchEvent as Cs, canUseDOM as we, getActiveElement as bs, memoizeOne as B, validatePackage as xs, shouldShowValidationUI as vs, setScrollbarWidth as ct, getter as Fe, WatermarkOverlay as ks, toIconName as Es, clone as Ss } from "@progress/kendo-react-common";
9
+ import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as Is, TABLE_COL_INDEX_ATTRIBUTE as ys, TABLE_PREVENT_SELECTION_ELEMENT as ws, isRtl as Tt, tableKeyboardNavigationHeaderAttributes as ht, ColumnResizer as Rs, HeaderThElement as Mt, getIndex as dt, tableKeyboardNavigation as X, getSelectionOptions as pt, mapColumns as Fs, ClipboardService as Ns, tableColumnsVirtualization as Ds, Pager as Ts, TableKeyboardNavigationContext as Ne, tableKeyboardNavigationScopeAttributes as ut, TableSelection as gt, tableKeyboardNavigationBodyAttributes as ft, DropClue as mt, DragClue as Ct, updateLeft as Ms, updateRight as Gs } from "@progress/kendo-react-data-tools";
10
+ import { getSelectedState as li, getSelectedStateFromKeyDown as ai, setSelectedState as ci } from "@progress/kendo-react-data-tools";
11
+ import { useLocalization as Ue, provideLocalizationService as D, registerForLocalization as G, useInternationalization as Hs, registerForIntl as Gt } from "@progress/kendo-react-intl";
12
+ import { minusIcon as zs, plusIcon as Ls, filterIcon as be, sortAscSmallIcon as qe, sortDescSmallIcon as $e, filterClearIcon as Os, xCircleIcon as _s, caretAltDownIcon as Ps, caretAltLeftIcon as As, caretAltRightIcon as Bs, groupIcon as Ws, ungroupIcon as Vs, searchIcon as Ht, xIcon as Ks } from "@progress/kendo-svg-icons";
13
+ import { NumericTextBox as je, TextBox as zt, Input as Lt, Checkbox as me, InputPrefix as Us } from "@progress/kendo-react-inputs";
14
14
  import { DatePicker as Xe } from "@progress/kendo-react-dateinputs";
15
- import { Popup as Us } from "@progress/kendo-react-popup";
15
+ import { Popup as qs } from "@progress/kendo-react-popup";
16
16
  import { Button as W } from "@progress/kendo-react-buttons";
17
17
  import { DropDownList as ie } from "@progress/kendo-react-dropdowns";
18
18
  import { isCompositeFilterDescriptor as bt, filterBy as xt } from "@progress/kendo-data-query";
19
- import { Reveal as qs } from "@progress/kendo-react-animation";
19
+ import { Reveal as $s } from "@progress/kendo-react-animation";
20
20
  const ce = (i) => null;
21
21
  ce.displayName = "KendoReactGridColumn";
22
22
  ce.defaultProps = {
@@ -58,7 +58,7 @@ ce.propTypes = {
58
58
  columnMenu: p.any,
59
59
  locked: p.bool
60
60
  };
61
- function G(i, t) {
61
+ function M(i, t) {
62
62
  const s = (i || "").split(".");
63
63
  let o = t;
64
64
  return s.forEach((e) => {
@@ -74,12 +74,12 @@ function Ot(i, t, s, o, e, r, l = 0) {
74
74
  dataItem: t[c],
75
75
  rowType: "data",
76
76
  level: l,
77
- expanded: r === void 0 || G(r, t[c])
77
+ expanded: r === void 0 || M(r, t[c])
78
78
  }, o.index++;
79
79
  continue;
80
80
  }
81
81
  a = Math.max(a, l + 1);
82
- const h = r === void 0 || G(r, t[c]) === void 0 || G(r, t[c]);
82
+ const h = r === void 0 || M(r, t[c]) === void 0 || M(r, t[c]);
83
83
  i[i.length] = {
84
84
  dataIndex: -1,
85
85
  dataItem: t[c],
@@ -136,7 +136,7 @@ function _t(i, t, s, o = 0) {
136
136
  }
137
137
  return e;
138
138
  }
139
- function $s(i, t, s, o) {
139
+ function js(i, t, s, o) {
140
140
  let e = [];
141
141
  Array.isArray(i) ? e = i : i && (e = i.data);
142
142
  const r = [];
@@ -169,7 +169,7 @@ function $s(i, t, s, o) {
169
169
  }
170
170
  return r;
171
171
  }
172
- const js = (i, t) => {
172
+ const Xs = (i, t) => {
173
173
  let s = i[t.parentIndex];
174
174
  for (; s; ) {
175
175
  if (s.footerCell)
@@ -177,7 +177,7 @@ const js = (i, t) => {
177
177
  s = i[s.parentIndex];
178
178
  }
179
179
  return !1;
180
- }, Xs = (i) => i.filter((t) => js(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Re = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, Pt = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
180
+ }, Ys = (i) => i.filter((t) => Xs(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Re = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, Pt = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
181
181
  const {
182
182
  declarationIndex: s,
183
183
  parentIndex: o,
@@ -215,13 +215,13 @@ const js = (i, t) => {
215
215
  ...t.edit || {}
216
216
  }
217
217
  } : t : i;
218
- }, Te = "grid.noRecords", Ys = "grid.pagerInfo", Js = "grid.pagerFirstPage", Qs = "grid.pagerPreviousPage", Zs = "grid.pagerNextPage", er = "grid.pagerLastPage", tr = "grid.pagerItemsPerPage", sr = "grid.pagerPage", rr = "grid.pagerPageSizeAriaLabel", ir = "grid.pagerOf", or = "grid.pagerTotalPages", Ge = "grid.groupPanelEmpty", At = "grid.groupColumn", Bt = "grid.ungroupColumn", Me = "grid.columnMenu", U = "grid.filterClearButton", oe = "grid.filterSubmitButton", ne = "grid.filterTitle", He = "grid.sortAscending", ze = "grid.sortDescending", Le = "grid.searchPlaceholder", Oe = "grid.filterCheckAll", _e = "grid.filterChooseOperator", Pe = "grid.filterSelectedItems", Ae = "grid.sortAriaLabel", Be = "grid.filterAriaLabel", We = "grid.groupPanelAriaLabel", Wt = "grid.groupExpand", Kt = "grid.groupCollapse", Vt = "grid.detailExpand", Ut = "grid.detailCollapse", le = "grid.selectRow", k = {
219
- [Vt]: "Expand detail row",
218
+ }, Te = "grid.noRecords", Js = "grid.pagerInfo", Qs = "grid.pagerFirstPage", Zs = "grid.pagerPreviousPage", er = "grid.pagerNextPage", tr = "grid.pagerLastPage", sr = "grid.pagerItemsPerPage", rr = "grid.pagerPage", ir = "grid.pagerPageSizeAriaLabel", or = "grid.pagerOf", nr = "grid.pagerTotalPages", Me = "grid.groupPanelEmpty", At = "grid.groupColumn", Bt = "grid.ungroupColumn", Ge = "grid.columnMenu", U = "grid.filterClearButton", oe = "grid.filterSubmitButton", ne = "grid.filterTitle", He = "grid.sortAscending", ze = "grid.sortDescending", Le = "grid.searchPlaceholder", Oe = "grid.filterCheckAll", _e = "grid.filterChooseOperator", Pe = "grid.filterSelectedItems", Ae = "grid.sortAriaLabel", Be = "grid.filterAriaLabel", We = "grid.groupPanelAriaLabel", Wt = "grid.groupExpand", Vt = "grid.groupCollapse", Kt = "grid.detailExpand", Ut = "grid.detailCollapse", le = "grid.selectRow", k = {
219
+ [Kt]: "Expand detail row",
220
220
  [Ut]: "Collapse detail row",
221
221
  [Wt]: "Expand group",
222
- [Kt]: "Collapse Group",
222
+ [Vt]: "Collapse Group",
223
223
  [Te]: "No records available",
224
- [Ge]: "Drag a column header and drop it here to group by that column",
224
+ [Me]: "Drag a column header and drop it here to group by that column",
225
225
  [U]: "Clear",
226
226
  [oe]: "Filter",
227
227
  [ne]: "Filter",
@@ -230,17 +230,17 @@ const js = (i, t) => {
230
230
  [Ae]: "Sortable",
231
231
  [At]: "Group Column",
232
232
  [Bt]: "Ungroup Column",
233
- [Me]: "Column menu",
234
- [tr]: "items per page",
235
- [Ys]: "{0} - {1} of {2} items",
236
- [Js]: "Go to the first page",
237
- [Qs]: "Go to the previous page",
238
- [Zs]: "Go to the next page",
239
- [er]: "Go to the last page",
240
- [sr]: "Page",
241
- [rr]: "Page size",
242
- [ir]: "of",
243
- [or]: "{0}",
233
+ [Ge]: "Column menu",
234
+ [sr]: "items per page",
235
+ [Js]: "{0} - {1} of {2} items",
236
+ [Qs]: "Go to the first page",
237
+ [Zs]: "Go to the previous page",
238
+ [er]: "Go to the next page",
239
+ [tr]: "Go to the last page",
240
+ [rr]: "Page",
241
+ [ir]: "Page size",
242
+ [or]: "of",
243
+ [nr]: "{0}",
244
244
  [Le]: "Search",
245
245
  [Oe]: "Check All",
246
246
  [_e]: "Choose Operator",
@@ -272,17 +272,17 @@ const js = (i, t) => {
272
272
  "grid.filterAndLogic": "And",
273
273
  "grid.filterOrLogic": "Or"
274
274
  };
275
- function nr(i) {
275
+ function lr(i) {
276
276
  const t = i.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
277
277
  return { messageKey: t, defaultMessage: k[t] };
278
278
  }
279
- const lr = (i) => {
279
+ const ar = (i) => {
280
280
  const t = Ue(), s = n.useCallback(
281
281
  (g) => {
282
282
  i.selectionChange && i.selectionChange({ syntheticEvent: g });
283
283
  },
284
284
  [i.selectionChange]
285
- ), o = Rt(), e = G(i.field, i.dataItem), r = q(i.id), l = {
285
+ ), o = Rt(), e = M(i.field, i.dataItem), r = q(i.id), l = {
286
286
  colSpan: i.colSpan,
287
287
  style: i.style,
288
288
  className: i.className,
@@ -311,9 +311,9 @@ const lr = (i) => {
311
311
  return /* @__PURE__ */ n.createElement(g, { ...i, tdProps: l }, a);
312
312
  }
313
313
  return i.render ? i.render.call(void 0, c, i) : c;
314
- }, ar = (i) => {
314
+ }, cr = (i) => {
315
315
  let t = null, s = null, o = null;
316
- const e = G(i.field, i.dataItem), r = q(i.id), l = Ue(), a = n.useCallback(
316
+ const e = M(i.field, i.dataItem), r = q(i.id), l = Ue(), a = n.useCallback(
317
317
  (d) => {
318
318
  d.isDefaultPrevented() || d.keyCode === Ce.enter && i.onChange && (d.preventDefault(), i.onChange({
319
319
  dataItem: i.dataItem,
@@ -337,7 +337,7 @@ const lr = (i) => {
337
337
  }
338
338
  );
339
339
  else if (i.rowType !== "groupHeader") {
340
- const d = e ? Ut : Vt, g = l.toLanguageString(d, k[d]);
340
+ const d = e ? Ut : Kt, g = l.toLanguageString(d, k[d]);
341
341
  s = {
342
342
  className: "k-table-td k-hierarchy-cell",
343
343
  onKeyDown: a,
@@ -361,7 +361,7 @@ const lr = (i) => {
361
361
  href: "#",
362
362
  tabIndex: -1
363
363
  },
364
- /* @__PURE__ */ n.createElement(O, { name: e ? "minus" : "plus", icon: e ? Hs : zs })
364
+ /* @__PURE__ */ n.createElement(O, { name: e ? "minus" : "plus", icon: e ? zs : Ls })
365
365
  ), t = /* @__PURE__ */ n.createElement(
366
366
  "td",
367
367
  {
@@ -376,8 +376,8 @@ const lr = (i) => {
376
376
  return /* @__PURE__ */ n.createElement(d, { ...i, tdProps: s }, o);
377
377
  }
378
378
  return i.render ? i.render.call(void 0, t, i) : t;
379
- }, cr = Is, se = ys, hr = (i) => {
380
- const t = G(i.field, i.dataItem);
379
+ }, hr = Is, se = ys, ti = ws, dr = (i) => {
380
+ const t = M(i.field, i.dataItem);
381
381
  let s = null;
382
382
  const o = y("k-table-td", "k-grid-edit-cell", {
383
383
  ["k-selected"]: i.isSelected
@@ -530,7 +530,7 @@ const lr = (i) => {
530
530
  }
531
531
  return i.render ? i.render.call(void 0, s, i) : s;
532
532
  };
533
- class dr extends n.Component {
533
+ class pr extends n.Component {
534
534
  constructor() {
535
535
  super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = Ft(), this.onScroll = (t) => {
536
536
  if (this.syncScroll) {
@@ -596,7 +596,7 @@ class dr extends n.Component {
596
596
  "k-table k-grid-header-table",
597
597
  {
598
598
  "k-table-md": !this.props.size,
599
- [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
599
+ [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
600
600
  },
601
601
  this.props.className
602
602
  ),
@@ -624,7 +624,7 @@ class dr extends n.Component {
624
624
  }
625
625
  }
626
626
  const qt = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
627
- class pr extends n.PureComponent {
627
+ class ur extends n.PureComponent {
628
628
  constructor() {
629
629
  super(...arguments), this.draggable = null, this.onPress = (t) => {
630
630
  const s = this.draggable && this.draggable.element;
@@ -698,11 +698,11 @@ class $t extends n.Component {
698
698
  onMouseDown: this.onAnchorMouseDown,
699
699
  onKeyDown: this.onAnchorKeyDown,
700
700
  href: "#",
701
- "aria-label": `${l}${e.toLanguageString(Me, k[Me])}`
701
+ "aria-label": `${l}${e.toLanguageString(Ge, k[Ge])}`
702
702
  },
703
703
  /* @__PURE__ */ n.createElement(O, { name: "filter", icon: be })
704
704
  ), /* @__PURE__ */ n.createElement(
705
- Us,
705
+ qs,
706
706
  {
707
707
  anchor: this._anchor,
708
708
  show: this.state.show,
@@ -728,7 +728,7 @@ class $t extends n.Component {
728
728
  ));
729
729
  }
730
730
  }
731
- class ur extends n.Component {
731
+ class gr extends n.Component {
732
732
  /**
733
733
  * @hidden
734
734
  */
@@ -752,10 +752,10 @@ class ur extends n.Component {
752
752
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
753
753
  }
754
754
  }
755
- const gr = {
755
+ const fr = {
756
756
  true: { asc: "desc", desc: "", "": "asc" },
757
757
  false: { asc: "desc", desc: "asc", "": "asc" }
758
- }, fr = {
758
+ }, mr = {
759
759
  none: "none",
760
760
  asc: "ascending",
761
761
  desc: "descending"
@@ -774,7 +774,7 @@ class jt extends n.Component {
774
774
  "k-sorted": this.props.sort && this.props.sort.some((v) => v.field === e.field)
775
775
  }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = D(this).toLanguageString(Ae, k[Ae]);
776
776
  let m = e.isAccessible ? {
777
- ariaSort: fr[a],
777
+ ariaSort: mr[a],
778
778
  role: "columnheader",
779
779
  ariaColumnIndex: e.ariaColumnIndex,
780
780
  ariaSelected: !1,
@@ -782,7 +782,7 @@ class jt extends n.Component {
782
782
  } : {
783
783
  role: "presentation"
784
784
  };
785
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : ur, E = /* @__PURE__ */ n.createElement(
785
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : gr, E = /* @__PURE__ */ n.createElement(
786
786
  b,
787
787
  {
788
788
  key: 1,
@@ -828,7 +828,7 @@ class jt extends n.Component {
828
828
  }, x = [
829
829
  E,
830
830
  this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ n.createElement(
831
- ws,
831
+ Rs,
832
832
  {
833
833
  key: 2,
834
834
  resize: (v, _, T) => this.props.columnResize && this.props.columnResize.dragHandler(v, e, _, T),
@@ -841,7 +841,7 @@ class jt extends n.Component {
841
841
  return /* @__PURE__ */ n.createElement(v, { key: u, thProps: C, index: o }, x);
842
842
  }
843
843
  return /* @__PURE__ */ n.createElement(
844
- Gt,
844
+ Mt,
845
845
  {
846
846
  ...C,
847
847
  key: u
@@ -853,7 +853,7 @@ class jt extends n.Component {
853
853
  cellClick(t, s) {
854
854
  if (t.preventDefault(), !this.props.sortChange)
855
855
  return;
856
- const { allowUnsort: o, mode: e } = qt(this.props.sortable || !1, s.sortable || !1), r = (this.props.sort || []).filter((c) => c.field === s.field)[0], l = gr[o][r && r.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((c) => c.field !== s.field);
856
+ const { allowUnsort: o, mode: e } = qt(this.props.sortable || !1, s.sortable || !1), r = (this.props.sort || []).filter((c) => c.field === s.field)[0], l = fr[o][r && r.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((c) => c.field !== s.field);
857
857
  l !== "" && s.field && a.push({ field: s.field, dir: l }), this.props.sortChange(a, t);
858
858
  }
859
859
  sortIcon(t) {
@@ -870,7 +870,7 @@ class jt extends n.Component {
870
870
  }
871
871
  render() {
872
872
  return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ n.createElement(
873
- pr,
873
+ ur,
874
874
  {
875
875
  key: s,
876
876
  pressHandler: this.props.pressHandler,
@@ -885,8 +885,8 @@ class jt extends n.Component {
885
885
  ) || /* @__PURE__ */ n.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
886
886
  }
887
887
  }
888
- M(jt);
889
- const mr = [
888
+ G(jt);
889
+ const Cr = [
890
890
  { text: "grid.filterAndLogic", operator: "and" },
891
891
  { text: "grid.filterOrLogic", operator: "or" }
892
892
  ], kt = {
@@ -928,11 +928,11 @@ const mr = [
928
928
  }, L = (i) => i === "isnull" || i === "isnotnull" || i === "isempty" || i === "isnotempty", re = (i, t) => i.map((s) => ({
929
929
  text: t.toLanguageString(s.text, k[s.text]),
930
930
  operator: s.operator
931
- })), Cr = "eq", Xt = [
931
+ })), br = "eq", Xt = [
932
932
  { text: "grid.filterBooleanAll", operator: "" },
933
933
  { text: "grid.filterIsTrue", operator: !0 },
934
934
  { text: "grid.filterIsFalse", operator: !1 }
935
- ], br = {
935
+ ], xr = {
936
936
  text: !1,
937
937
  numeric: !1,
938
938
  date: !1,
@@ -954,11 +954,11 @@ const mr = [
954
954
  return;
955
955
  }
956
956
  s.onChange({ value: i, operator: e, syntheticEvent: t });
957
- }, Jt = (i, t) => t ? i[t][0].operator : i[0].operator, Ke = (i) => i || "text", Qt = (i, t) => {
957
+ }, Jt = (i, t) => t ? i[t][0].operator : i[0].operator, Ve = (i) => i || "text", Qt = (i, t) => {
958
958
  const s = i.target.value;
959
959
  t({
960
960
  value: s.operator,
961
- operator: s.operator === "" ? "" : Cr,
961
+ operator: s.operator === "" ? "" : br,
962
962
  syntheticEvent: i.syntheticEvent
963
963
  });
964
964
  }, Zt = (i, t, s) => {
@@ -1000,7 +1000,7 @@ class es extends n.Component {
1000
1000
  {
1001
1001
  size: this.props.size,
1002
1002
  icon: "filter-clear",
1003
- svgIcon: Ls,
1003
+ svgIcon: Os,
1004
1004
  className: y({
1005
1005
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1006
1006
  }),
@@ -1089,8 +1089,8 @@ class es extends n.Component {
1089
1089
  }
1090
1090
  }
1091
1091
  }
1092
- M(es);
1093
- const xr = "k-table-row k-filter-row";
1092
+ G(es);
1093
+ const vr = "k-table-row k-filter-row";
1094
1094
  class ts extends n.Component {
1095
1095
  headerCellClassName(t, s) {
1096
1096
  let o = `${s ? "k-grid-header-sticky" : ""}`;
@@ -1121,7 +1121,7 @@ class ts extends n.Component {
1121
1121
  let e = 0, r = -1;
1122
1122
  const l = this.props.columns.filter((a) => a.children.length === 0).map(
1123
1123
  (a) => {
1124
- const c = Ke(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Be, k[Be]) : void 0;
1124
+ const c = Ve(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Be, k[Be]) : void 0;
1125
1125
  let g = h && h.value;
1126
1126
  g === void 0 && (g = c === "text" ? "" : null);
1127
1127
  const m = a.filterable && {
@@ -1153,7 +1153,7 @@ class ts extends n.Component {
1153
1153
  return /* @__PURE__ */ n.createElement(v, { key: u, ...m, thProps: C, index: r }, x);
1154
1154
  }
1155
1155
  return /* @__PURE__ */ n.createElement(
1156
- Gt,
1156
+ Mt,
1157
1157
  {
1158
1158
  key: u,
1159
1159
  ...C
@@ -1162,10 +1162,10 @@ class ts extends n.Component {
1162
1162
  );
1163
1163
  }
1164
1164
  );
1165
- return /* @__PURE__ */ n.createElement("tr", { className: xr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, l);
1165
+ return /* @__PURE__ */ n.createElement("tr", { className: vr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, l);
1166
1166
  }
1167
1167
  }
1168
- M(ts);
1168
+ G(ts);
1169
1169
  class ss extends n.Component {
1170
1170
  constructor() {
1171
1171
  super(...arguments), this.draggable = null, this.onPress = (t) => {
@@ -1232,7 +1232,7 @@ class ss extends n.Component {
1232
1232
  O,
1233
1233
  {
1234
1234
  name: "x-circle",
1235
- icon: Os,
1235
+ icon: _s,
1236
1236
  size: "small"
1237
1237
  }
1238
1238
  )
@@ -1241,7 +1241,7 @@ class ss extends n.Component {
1241
1241
  );
1242
1242
  }
1243
1243
  }
1244
- M(ss);
1244
+ G(ss);
1245
1245
  class rs extends n.Component {
1246
1246
  constructor() {
1247
1247
  super(...arguments), this.onGroupRemove = (t, s) => {
@@ -1282,12 +1282,12 @@ class rs extends n.Component {
1282
1282
  "aria-controls": this.props.ariaControls || ""
1283
1283
  },
1284
1284
  /* @__PURE__ */ n.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1285
- /* @__PURE__ */ n.createElement("div", { className: "k-grouping-drop-container" }, !s.length && D(this).toLanguageString(Ge, k[Ge]), " ")
1285
+ /* @__PURE__ */ n.createElement("div", { className: "k-grouping-drop-container" }, !s.length && D(this).toLanguageString(Me, k[Me]), " ")
1286
1286
  );
1287
1287
  }
1288
1288
  }
1289
- M(rs);
1290
- class vr extends n.Component {
1289
+ G(rs);
1290
+ class kr extends n.Component {
1291
1291
  constructor() {
1292
1292
  super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = Ft();
1293
1293
  }
@@ -1335,7 +1335,7 @@ class vr extends n.Component {
1335
1335
  "k-table k-grid-footer-table",
1336
1336
  {
1337
1337
  "k-table-md": !this.props.size,
1338
- [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
1338
+ [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
1339
1339
  },
1340
1340
  this.props.className
1341
1341
  ),
@@ -1350,7 +1350,7 @@ class vr extends n.Component {
1350
1350
  ) : /* @__PURE__ */ n.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1351
1351
  }
1352
1352
  }
1353
- class kr {
1353
+ class Er {
1354
1354
  constructor(t) {
1355
1355
  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 = n.createRef(), this.fixedScroll = !1, this.askedSkip = void 0, this.containerRef = n.createRef(), this.tableTransform = "", this.prevScrollPos = 0, this.tableTranslate = 0, this.scrollSyncing = !1, this.reactVersion = Number.parseFloat(n.version), this.topItems = (s, o) => {
1356
1356
  if (!this.container || o)
@@ -1538,8 +1538,8 @@ class St {
1538
1538
  }
1539
1539
  }
1540
1540
  }
1541
- const Er = 1, Sr = 20;
1542
- class Ir {
1541
+ const Sr = 1, Ir = 20;
1542
+ class yr {
1543
1543
  constructor(t) {
1544
1544
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1545
1545
  this.isRtl = s;
@@ -1576,7 +1576,7 @@ class Ir {
1576
1576
  let g = [];
1577
1577
  d.forEach((m) => {
1578
1578
  c.forEach((u) => {
1579
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + Er));
1579
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + Sr));
1580
1580
  });
1581
1581
  }), d.forEach((m) => {
1582
1582
  c.forEach((u) => {
@@ -1645,7 +1645,7 @@ class Ir {
1645
1645
  }
1646
1646
  updateNextLockedCol(t, s, o) {
1647
1647
  const e = s.index, r = this.colGroupMain.parentElement.closest(".k-grid"), l = 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);
1648
- !s.locked || l <= a + Sr || this.columns.forEach((c) => {
1648
+ !s.locked || l <= a + Ir || this.columns.forEach((c) => {
1649
1649
  if (c != null && c.locked && o) {
1650
1650
  const h = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + c.ariaColumnIndex + '"]');
1651
1651
  h == null || h.forEach((d) => {
@@ -1656,7 +1656,7 @@ class Ir {
1656
1656
  });
1657
1657
  }
1658
1658
  }
1659
- class yr {
1659
+ class wr {
1660
1660
  constructor(t, s, o) {
1661
1661
  this.refDragElementClue = n.createRef(), this.refDropElementClue = n.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) => {
1662
1662
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
@@ -1747,9 +1747,9 @@ class yr {
1747
1747
  });
1748
1748
  }
1749
1749
  }
1750
- const wr = (i) => {
1750
+ const Rr = (i) => {
1751
1751
  let t = null;
1752
- const s = Ms(), o = q(i.id), e = n.useCallback((h) => {
1752
+ const s = Hs(), o = q(i.id), e = n.useCallback((h) => {
1753
1753
  i.onContextMenu && i.onContextMenu.call(void 0, h, i.dataItem, i.field);
1754
1754
  }, [i.onContextMenu, i.dataItem, i.field]);
1755
1755
  let r = null, l = null;
@@ -1760,7 +1760,7 @@ const wr = (i) => {
1760
1760
  }, t = /* @__PURE__ */ n.createElement("td", { ...r });
1761
1761
  else if (i.rowType !== "groupHeader") {
1762
1762
  if (i.field !== void 0) {
1763
- const d = G(i.field, i.dataItem);
1763
+ const d = M(i.field, i.dataItem);
1764
1764
  d != null && (l = i.format ? s.format(i.format, d) : d.toString());
1765
1765
  }
1766
1766
  const h = y(
@@ -1804,7 +1804,7 @@ const wr = (i) => {
1804
1804
  ), T = n.useCallback((F) => {
1805
1805
  i.onContextMenu && i.onContextMenu.call(void 0, F, i.dataItem, i.field);
1806
1806
  }, [i.onContextMenu, i.dataItem, i.field]), de = (F, ke) => {
1807
- const pe = h ? Kt : Wt, Ee = C.toLanguageString(pe, k[pe]);
1807
+ const pe = h ? Vt : Wt, Ee = C.toLanguageString(pe, k[pe]);
1808
1808
  return x = {
1809
1809
  className: "k-table-td",
1810
1810
  style: { ...i.style, ...ke },
@@ -1837,7 +1837,7 @@ const wr = (i) => {
1837
1837
  O,
1838
1838
  {
1839
1839
  name: h ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1840
- icon: h ? _s : u ? Ps : As
1840
+ icon: h ? Ps : u ? As : Bs
1841
1841
  }
1842
1842
  )
1843
1843
  ), l[b] instanceof Date && l[b].toString ? l[b].toString() : l[b]), /* @__PURE__ */ n.createElement(
@@ -1884,7 +1884,7 @@ const wr = (i) => {
1884
1884
  }
1885
1885
  return d ? d.call(void 0, t, i) : t;
1886
1886
  };
1887
- class Rr extends n.Component {
1887
+ class Fr extends n.Component {
1888
1888
  /**
1889
1889
  * @hidden
1890
1890
  */
@@ -1914,7 +1914,7 @@ class Rr extends n.Component {
1914
1914
  "aria-rowindex": this.props.ariaRowIndex,
1915
1915
  "absolute-row-index": this.props.absoluteRowIndex,
1916
1916
  key: this.props.absoluteRowIndex,
1917
- [cr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1917
+ [hr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1918
1918
  },
1919
1919
  this.props.children
1920
1920
  );
@@ -1946,8 +1946,8 @@ class is extends n.Component {
1946
1946
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
1947
1947
  }
1948
1948
  }
1949
- M(is);
1950
- const Fr = Dt(is);
1949
+ G(is);
1950
+ const Nr = Dt(is);
1951
1951
  class Ye extends n.Component {
1952
1952
  /**
1953
1953
  * @hidden
@@ -1957,8 +1957,8 @@ class Ye extends n.Component {
1957
1957
  }
1958
1958
  }
1959
1959
  Ye.displayName = "KendoReactGridNoRecords";
1960
- M(Ye);
1961
- class Nr extends n.Component {
1960
+ G(Ye);
1961
+ class Dr extends n.Component {
1962
1962
  constructor() {
1963
1963
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1964
1964
  const o = {
@@ -1987,10 +1987,10 @@ class Nr extends n.Component {
1987
1987
  return this._element;
1988
1988
  }
1989
1989
  render() {
1990
- return /* @__PURE__ */ n.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Xs(this.props.columns).map(this.renderCell));
1990
+ return /* @__PURE__ */ n.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Ys(this.props.columns).map(this.renderCell));
1991
1991
  }
1992
1992
  }
1993
- const Dr = ({
1993
+ const Tr = ({
1994
1994
  buttonCount: i = 10,
1995
1995
  info: t = !0,
1996
1996
  type: s = "numeric",
@@ -2006,11 +2006,11 @@ const Dr = ({
2006
2006
  responsive: r !== !1,
2007
2007
  type: s,
2008
2008
  pageSizeValue: l
2009
- }), Tr = (i) => Dr(i === !0 ? {} : i), yt = {
2009
+ }), Mr = (i) => Tr(i === !0 ? {} : i), yt = {
2010
2010
  name: "@progress/kendo-react-grid",
2011
2011
  productName: "KendoReact",
2012
2012
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2013
- publishDate: 1708101792,
2013
+ publishDate: 1708335355,
2014
2014
  version: "",
2015
2015
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2016
2016
  }, Gr = (i) => {
@@ -2029,7 +2029,7 @@ const Dr = ({
2029
2029
  },
2030
2030
  /* @__PURE__ */ n.createElement(i.detail, { dataItem: o, dataIndex: e })
2031
2031
  );
2032
- }, Mr = (i) => {
2032
+ }, Hr = (i) => {
2033
2033
  const t = q(i.id);
2034
2034
  return /* @__PURE__ */ n.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2035
2035
  };
@@ -2076,7 +2076,7 @@ let he = class extends n.Component {
2076
2076
  }
2077
2077
  }, this.getVirtualScroll = (e) => {
2078
2078
  const { rowHeight: r, detailRowHeight: l, detail: a, expandField: c, groupable: h } = e, d = this.isAllData(), g = r !== void 0 && r > 0, m = l !== void 0 && l > 0, u = h === !0 || typeof h == "object" && h.enabled !== !1;
2079
- return !g || u && !d || !!(a && c) && (!m || !d) ? kr : St;
2079
+ return !g || u && !d || !!(a && c) && (!m || !d) ? Er : St;
2080
2080
  }, this.isAllData = () => {
2081
2081
  const { data: e, total: r } = this.props;
2082
2082
  return Array.isArray(e) ? e.length === r : e ? r === e.total : !1;
@@ -2288,10 +2288,10 @@ let he = class extends n.Component {
2288
2288
  return _t(a, this.columns, { prevId: 0, idPrefix: r });
2289
2289
  }
2290
2290
  ), this.mapColumns = B(
2291
- (e) => Rs(e)
2291
+ (e) => Fs(e)
2292
2292
  ), this.configureColumns = B((e, r, l) => {
2293
2293
  this.props.selectedField && e.filter((h) => h.field === this.props.selectedField).forEach((h) => {
2294
- h.width = h.width || "50px", h.cell = h.cell || lr, h.headerCell = h.headerCell || Fr;
2294
+ h.width = h.width || "50px", h.cell = h.cell || ar, h.headerCell = h.headerCell || Nr;
2295
2295
  });
2296
2296
  const a = {
2297
2297
  id: "",
@@ -2315,7 +2315,7 @@ let he = class extends n.Component {
2315
2315
  let c = 0;
2316
2316
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2317
2317
  ...a,
2318
- cell: ar,
2318
+ cell: cr,
2319
2319
  field: this.props.expandField,
2320
2320
  headerClassName: "k-hierarchy-cell k-header",
2321
2321
  id: z.generateNavigatableId(`${this._columns.length}`, l, "column")
@@ -2362,11 +2362,11 @@ let he = class extends n.Component {
2362
2362
  return l === void 0 ? e : l;
2363
2363
  }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), xs(yt), this.showLicenseWatermark = vs(yt);
2364
2364
  const s = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1, o = this.getVirtualScroll(t);
2365
- this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new yr(
2365
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new wr(
2366
2366
  this.columnReorder.bind(this),
2367
2367
  this.groupReorder.bind(this),
2368
2368
  this.columnToGroup.bind(this)
2369
- ), this.columnResize = new Ir(this.onResize), this.props.clipboard && (this.clipboardService = new Fs(this.onClipboard)), X.onConstructor({
2369
+ ), this.columnResize = new yr(this.onResize), this.props.clipboard && (this.clipboardService = new Ns(this.onClipboard)), X.onConstructor({
2370
2370
  navigatable: !!t.navigatable,
2371
2371
  contextStateRef: this.contextStateRef,
2372
2372
  navigationStateRef: this.navigationStateRef,
@@ -2515,7 +2515,7 @@ let he = class extends n.Component {
2515
2515
  onContextMenu: this.onContextMenu
2516
2516
  }
2517
2517
  ), { sort: E, sortable: C, group: x, filter: S, filterable: v, filterOperators: _ = kt, headerCellRender: T, columnMenu: de } = this.props, Y = /* @__PURE__ */ n.createElement(
2518
- dr,
2518
+ pr,
2519
2519
  {
2520
2520
  size: this.props.size,
2521
2521
  columnResize: this.columnResize,
@@ -2561,14 +2561,14 @@ let he = class extends n.Component {
2561
2561
  }
2562
2562
  ))
2563
2563
  }
2564
- ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Ns({
2564
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Ds({
2565
2565
  enabled: this.props.columnVirtualization,
2566
2566
  columns: u,
2567
2567
  tableViewPortWidth: F,
2568
2568
  scrollLeft: $
2569
2569
  }), Ee = (f, w, R) => {
2570
2570
  let j = !1;
2571
- const K = this.props.selectedField ? G(this.props.selectedField, f.dataItem) : void 0;
2571
+ const V = this.props.selectedField ? M(this.props.selectedField, f.dataItem) : void 0;
2572
2572
  return {
2573
2573
  row: u.map((I, N) => {
2574
2574
  if (pe[N])
@@ -2576,10 +2576,10 @@ let he = class extends n.Component {
2576
2576
  const Z = I.id ? I.id : N, ee = `${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 } : {};
2577
2577
  let A = !1;
2578
2578
  if (I.editable && this.props.editField) {
2579
- const H = G(this.props.editField, f.dataItem);
2579
+ const H = M(this.props.editField, f.dataItem);
2580
2580
  H && (H === !0 || H === I.field) && (j = !0, A = !0);
2581
2581
  }
2582
- const ye = I.cell || A && hr || wr;
2582
+ const ye = I.cell || A && dr || Rr;
2583
2583
  return /* @__PURE__ */ n.createElement(
2584
2584
  ye,
2585
2585
  {
@@ -2607,12 +2607,12 @@ let he = class extends n.Component {
2607
2607
  dataIndex: f.dataIndex,
2608
2608
  style: P,
2609
2609
  ariaColumnIndex: I.ariaColumnIndex,
2610
- isSelected: Array.isArray(K) && K.indexOf(N) > -1
2610
+ isSelected: Array.isArray(V) && V.indexOf(N) > -1
2611
2611
  }
2612
2612
  );
2613
2613
  }),
2614
2614
  isInEdit: j,
2615
- isSelected: typeof K == "boolean" && K
2615
+ isSelected: typeof V == "boolean" && V
2616
2616
  };
2617
2617
  };
2618
2618
  let J = 0;
@@ -2634,13 +2634,13 @@ let he = class extends n.Component {
2634
2634
  let f = -1, w = 0;
2635
2635
  (this._slicedData || this._data).forEach((R, j) => {
2636
2636
  R.rowType === "data" && (Ze++, f++);
2637
- const K = Ze % 2 === 0, I = this.props.dataItemKey && Fe(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), Z = I || "ai" + N, ee = Z + "_1", P = Ee(R, Z, f);
2637
+ const V = Ze % 2 === 0, I = this.props.dataItemKey && Fe(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), Z = I || "ai" + N, ee = Z + "_1", P = Ee(R, Z, f);
2638
2638
  if (Q = N + Ie + w, ue.push(/* @__PURE__ */ n.createElement(
2639
- Rr,
2639
+ Fr,
2640
2640
  {
2641
2641
  key: Z,
2642
2642
  dataItem: R.dataItem,
2643
- isAltRow: K,
2643
+ isAltRow: V,
2644
2644
  isInEdit: P.isInEdit,
2645
2645
  rowType: R.rowType,
2646
2646
  isHidden: Qe(j),
@@ -2663,7 +2663,7 @@ let he = class extends n.Component {
2663
2663
  key: ee,
2664
2664
  className: y(
2665
2665
  "k-table-row",
2666
- K ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2666
+ V ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2667
2667
  ),
2668
2668
  style: { visibility: Qe(j) ? "hidden" : "", height: this.props.detailRowHeight },
2669
2669
  role: "row",
@@ -2690,7 +2690,7 @@ let he = class extends n.Component {
2690
2690
  );
2691
2691
  }),
2692
2692
  this.props.expandField && /* @__PURE__ */ n.createElement(
2693
- Mr,
2693
+ Hr,
2694
2694
  {
2695
2695
  id: z.generateNavigatableId(`${ee}-dhcell`, s)
2696
2696
  }
@@ -2719,9 +2719,9 @@ let he = class extends n.Component {
2719
2719
  dir: this.isRtl ? "rtl" : void 0,
2720
2720
  skip: this.vs.propsSkip || 0,
2721
2721
  take: (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 10,
2722
- messagesMap: nr,
2723
- ...Tr(this.props.pageable || {})
2724
- }, st = this.props.pager ? /* @__PURE__ */ n.createElement(this.props.pager, { ...tt }) : /* @__PURE__ */ n.createElement(Ds, { className: "k-grid-pager", ...tt }), gs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, fs = (f, w) => /* @__PURE__ */ n.createElement(
2722
+ messagesMap: lr,
2723
+ ...Mr(this.props.pageable || {})
2724
+ }, st = this.props.pager ? /* @__PURE__ */ n.createElement(this.props.pager, { ...tt }) : /* @__PURE__ */ n.createElement(Ts, { className: "k-grid-pager", ...tt }), gs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, fs = (f, w) => /* @__PURE__ */ n.createElement(
2725
2725
  "col",
2726
2726
  {
2727
2727
  key: w.toString(),
@@ -2733,14 +2733,14 @@ let he = class extends n.Component {
2733
2733
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2734
2734
  }
2735
2735
  ) ? /* @__PURE__ */ n.createElement(
2736
- vr,
2736
+ kr,
2737
2737
  {
2738
2738
  size: this.props.size,
2739
2739
  columnResize: this.columnResize,
2740
2740
  staticHeaders: this.props.scrollable !== "none",
2741
2741
  ref: (f) => this._footer = f,
2742
2742
  row: /* @__PURE__ */ n.createElement(
2743
- Nr,
2743
+ Dr,
2744
2744
  {
2745
2745
  cells: this.props.cells,
2746
2746
  columns: this._columns,
@@ -2778,7 +2778,7 @@ let he = class extends n.Component {
2778
2778
  "k-grid",
2779
2779
  {
2780
2780
  "k-grid-md": !this.props.size,
2781
- [`k-grid-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2781
+ [`k-grid-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2782
2782
  },
2783
2783
  this.props.className
2784
2784
  ),
@@ -2806,7 +2806,7 @@ let he = class extends n.Component {
2806
2806
  {
2807
2807
  className: y(
2808
2808
  "k-table k-grid-table",
2809
- { [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2809
+ { [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2810
2810
  ),
2811
2811
  style: { userSelect: c, display: nt }
2812
2812
  },
@@ -2829,7 +2829,7 @@ let he = class extends n.Component {
2829
2829
  "k-grid",
2830
2830
  {
2831
2831
  "k-grid-md": !this.props.size,
2832
- [`k-grid-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size,
2832
+ [`k-grid-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size,
2833
2833
  "k-grid-virtual": this.props.scrollable === "virtual"
2834
2834
  },
2835
2835
  this.props.className
@@ -2878,7 +2878,7 @@ let he = class extends n.Component {
2878
2878
  "k-table k-grid-table",
2879
2879
  {
2880
2880
  "k-table-md": !this.props.size,
2881
- [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2881
+ [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2882
2882
  }
2883
2883
  ),
2884
2884
  role: "presentation",
@@ -2962,7 +2962,7 @@ let he = class extends n.Component {
2962
2962
  }, a = this._columns.splice(t, l(t) - t);
2963
2963
  this._columns.splice(t < s ? l(s - a.length) : s, 0, ...a), this._columns.filter((d) => d.declarationIndex >= 0).forEach((d, g) => d.orderIndex = g), this._columnsMutations++;
2964
2964
  const c = this._columns[t].locked && this._columns[s].locked;
2965
- Ts(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), Gs(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2965
+ Ms(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), Gs(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2966
2966
  const h = this.columns;
2967
2967
  if (this.forceUpdate(), this.props.onColumnReorder) {
2968
2968
  const d = {
@@ -3002,7 +3002,7 @@ let he = class extends n.Component {
3002
3002
  }
3003
3003
  initColumns(t, s) {
3004
3004
  const o = z.getIdPrefix(this.navigationStateRef);
3005
- this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = $s(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
+ this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = js(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;
3006
3006
  }
3007
3007
  getDataState() {
3008
3008
  return {
@@ -3154,15 +3154,15 @@ class os extends n.Component {
3154
3154
  {
3155
3155
  title: o.toLanguageString(r, k[r]),
3156
3156
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3157
- svgIcon: e ? Ws : Bs,
3157
+ svgIcon: e ? Vs : Ws,
3158
3158
  onClick: this.onGroupClick
3159
3159
  }
3160
3160
  ));
3161
3161
  }
3162
3162
  }
3163
- Mt(os);
3164
- M(os);
3165
- const ns = "asc", ls = "desc", Hr = {
3163
+ Gt(os);
3164
+ G(os);
3165
+ const ns = "asc", ls = "desc", zr = {
3166
3166
  true: {
3167
3167
  asc: { asc: "", desc: "desc" },
3168
3168
  desc: { asc: "asc", desc: "" },
@@ -3183,7 +3183,7 @@ class Je extends n.Component {
3183
3183
  }, this.onSort = (t, s) => {
3184
3184
  if (t.preventDefault(), !this.props.onSortChange)
3185
3185
  return;
3186
- const { column: o, sortable: e, sort: r } = this.props, { allowUnsort: l, mode: a } = qt(e || !1, !1), c = (r || []).filter((g) => g.field === o.field)[0], h = Hr[l][c && c.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3186
+ const { column: o, sortable: e, sort: r } = this.props, { allowUnsort: l, mode: a } = qt(e || !1, !1), c = (r || []).filter((g) => g.field === o.field)[0], h = zr[l][c && c.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3187
3187
  h !== "" && o.field && d.push({ field: o.field, dir: h }), this.props.onSortChange(d, t);
3188
3188
  };
3189
3189
  }
@@ -3217,8 +3217,8 @@ Je.active = (i, t) => {
3217
3217
  const s = as(i, t);
3218
3218
  return hs(s, t) || cs(s, t);
3219
3219
  };
3220
- Mt(Je);
3221
- M(Je);
3220
+ Gt(Je);
3221
+ G(Je);
3222
3222
  class ds extends n.Component {
3223
3223
  /**
3224
3224
  * @hidden
@@ -3231,7 +3231,7 @@ class ds extends n.Component {
3231
3231
  className: y("k-columnmenu-item-content", this.props.className),
3232
3232
  style: this.props.style
3233
3233
  },
3234
- /* @__PURE__ */ n.createElement(qs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3234
+ /* @__PURE__ */ n.createElement($s, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3235
3235
  );
3236
3236
  }
3237
3237
  }
@@ -3315,7 +3315,7 @@ class wt extends n.Component {
3315
3315
  }
3316
3316
  }
3317
3317
  }
3318
- class zr extends n.Component {
3318
+ class Lr extends n.Component {
3319
3319
  render() {
3320
3320
  const {
3321
3321
  firstFilterProps: t,
@@ -3337,7 +3337,7 @@ class zr extends n.Component {
3337
3337
  ), /* @__PURE__ */ n.createElement(wt, { ...o })));
3338
3338
  }
3339
3339
  }
3340
- const Ve = (i) => i || { filters: [], logic: "and" }, fe = (i, t) => Ve(t).filters.filter((e) => bt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((r) => bt(r) || r.field !== i) : !1)[0] || null;
3340
+ const Ke = (i) => i || { filters: [], logic: "and" }, fe = (i, t) => Ke(t).filters.filter((e) => bt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((r) => bt(r) || r.field !== i) : !1)[0] || null;
3341
3341
  class ps extends n.Component {
3342
3342
  constructor(t) {
3343
3343
  super(t), this.removeGroup = (o, e) => {
@@ -3383,7 +3383,7 @@ class ps extends n.Component {
3383
3383
  }, this.clear = (o) => {
3384
3384
  if (o.preventDefault(), !this.props.onFilterChange)
3385
3385
  return;
3386
- const e = this.props.column.field, r = Ve(this.props.filter), l = fe(e, this.props.filter), a = r.filters.filter((c) => c !== l);
3386
+ const e = this.props.column.field, r = Ke(this.props.filter), l = fe(e, this.props.filter), a = r.filters.filter((c) => c !== l);
3387
3387
  a.length ? this.props.onFilterChange({ ...r, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
3388
3388
  }, this.currentFilterGroup = () => ({
3389
3389
  ...this.state.filterGroup,
@@ -3391,7 +3391,7 @@ class ps extends n.Component {
3391
3391
  }), this.submit = (o) => {
3392
3392
  if (o.preventDefault(), !this.props.onFilterChange)
3393
3393
  return;
3394
- const e = this.props.column.field, r = Ve(this.props.filter), l = fe(e, this.props.filter), a = this.currentFilterGroup();
3394
+ const e = this.props.column.field, r = Ke(this.props.filter), l = fe(e, this.props.filter), a = this.currentFilterGroup();
3395
3395
  let c = null;
3396
3396
  if (l && a.filters.length > 0) {
3397
3397
  const h = r.filters.map((d) => d === l ? a : d);
@@ -3414,7 +3414,7 @@ class ps extends n.Component {
3414
3414
  };
3415
3415
  let s;
3416
3416
  if (t.column && t.column.field) {
3417
- const o = Ke(t.column.filter), e = Jt(t.filterOperators, o);
3417
+ const o = Ve(t.column.filter), e = Jt(t.filterOperators, o);
3418
3418
  s = fe(t.column.field, t.filter), s = s ? {
3419
3419
  ...s,
3420
3420
  filters: s.filters.map((r) => ({ ...r }))
@@ -3438,7 +3438,7 @@ class ps extends n.Component {
3438
3438
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3439
3439
  if (!t || !t.field)
3440
3440
  return /* @__PURE__ */ n.createElement("div", null);
3441
- const r = Ke(t.filter), l = o !== void 0 ? o : br[r], a = D(this), c = this.state.filterGroup.filters, h = re(e[r], a), d = re(Xt, a), g = {
3441
+ const r = Ve(t.filter), l = o !== void 0 ? o : xr[r], a = D(this), c = this.state.filterGroup.filters, h = re(e[r], a), d = re(Xt, a), g = {
3442
3442
  field: t.field,
3443
3443
  value: c[0].value,
3444
3444
  operator: c[0].operator,
@@ -3454,7 +3454,7 @@ class ps extends n.Component {
3454
3454
  booleanValues: d,
3455
3455
  onChange: this.secondFilterChange,
3456
3456
  filterType: r
3457
- }, u = this.state.filterGroup.logic, b = re(mr, a), E = {
3457
+ }, u = this.state.filterGroup.logic, b = re(Cr, a), E = {
3458
3458
  value: b.find((T) => T.operator === (u === null ? "" : u)),
3459
3459
  onChange: this.logicChange,
3460
3460
  data: b
@@ -3482,7 +3482,7 @@ class ps extends n.Component {
3482
3482
  onReset: this.clear,
3483
3483
  onKeyDown: (T) => T.stopPropagation()
3484
3484
  },
3485
- /* @__PURE__ */ n.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ n.createElement(C, { ...x }) : /* @__PURE__ */ n.createElement(zr, { ...x }), /* @__PURE__ */ n.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ n.createElement(
3485
+ /* @__PURE__ */ n.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ n.createElement(C, { ...x }) : /* @__PURE__ */ n.createElement(Lr, { ...x }), /* @__PURE__ */ n.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ n.createElement(
3486
3486
  W,
3487
3487
  {
3488
3488
  themeColor: "primary",
@@ -3500,12 +3500,12 @@ class ps extends n.Component {
3500
3500
  }
3501
3501
  }
3502
3502
  ps.active = (i, t) => !!fe(i, t);
3503
- M(ps);
3504
- const Lr = (i, t) => i.length !== t.length ? !1 : i.every((s, o) => s === t[o]);
3503
+ G(ps);
3504
+ const Or = (i, t) => i.length !== t.length ? !1 : i.every((s, o) => s === t[o]);
3505
3505
  class us extends n.Component {
3506
3506
  constructor(t) {
3507
3507
  super(t), this.defaultFilter = () => this.props.filter ? Ss(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3508
- const e = this.props.column.field || "", r = s.map((l) => G(e, l));
3508
+ const e = this.props.column.field || "", r = s.map((l) => M(e, l));
3509
3509
  return o ? r.filter((l, a) => r.indexOf(l) === a) : r;
3510
3510
  }, this.getFilterIndex = () => {
3511
3511
  const s = this.props.column.field;
@@ -3586,8 +3586,8 @@ class us extends n.Component {
3586
3586
  * @hidden
3587
3587
  */
3588
3588
  componentDidUpdate() {
3589
- const t = this.props.column.field || "", s = this.props.data.map((o) => G(t, o));
3590
- Lr(s, this.state.dataFromProps) || this.setState({
3589
+ const t = this.props.column.field || "", s = this.props.data.map((o) => M(t, o));
3590
+ Or(s, this.state.dataFromProps) || this.setState({
3591
3591
  data: s,
3592
3592
  dataFromProps: s
3593
3593
  });
@@ -3676,8 +3676,8 @@ class us extends n.Component {
3676
3676
  us.defaultProps = {
3677
3677
  uniqueData: !0
3678
3678
  };
3679
- M(us);
3680
- const Or = (i) => {
3679
+ G(us);
3680
+ const _r = (i) => {
3681
3681
  const [t, s] = n.useState(""), o = n.useMemo(() => new Set(i.columnsState.map((u) => u.id)), [i.columnsState]), e = n.useMemo(() => i.columns.filter((u) => {
3682
3682
  var b;
3683
3683
  return (b = u.title || u.field) == null ? void 0 : b.toLowerCase().includes(t.toLowerCase());
@@ -3698,7 +3698,7 @@ const Or = (i) => {
3698
3698
  className: "k-searchbox",
3699
3699
  value: t,
3700
3700
  onChange: (u) => s(String(u.target.value)),
3701
- prefix: () => /* @__PURE__ */ n.createElement(Vs, null, /* @__PURE__ */ n.createElement(O, { name: "search", icon: Ht }))
3701
+ prefix: () => /* @__PURE__ */ n.createElement(Us, null, /* @__PURE__ */ n.createElement(O, { name: "search", icon: Ht }))
3702
3702
  }
3703
3703
  ), /* @__PURE__ */ n.createElement("ul", { className: "k-reset k-multicheck-wrap" }, !t && /* @__PURE__ */ n.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ n.createElement(
3704
3704
  me,
@@ -3720,8 +3720,8 @@ const Or = (i) => {
3720
3720
  }
3721
3721
  )))), /* @__PURE__ */ n.createElement("div", { className: "k-filter-selected-items" }, h, " selected items"), /* @__PURE__ */ n.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ n.createElement(W, { type: "button", themeColor: "primary", onClick: a }, "Apply"), /* @__PURE__ */ n.createElement(W, { type: "button", onClick: c }, "Reset"))));
3722
3722
  };
3723
- Or.displayName = "GridColumnMenuColumnsList";
3724
- class ti extends n.Component {
3723
+ _r.displayName = "GridColumnMenuColumnsList";
3724
+ class ri extends n.Component {
3725
3725
  /**
3726
3726
  * @hidden
3727
3727
  */
@@ -3729,7 +3729,7 @@ class ti extends n.Component {
3729
3729
  return null;
3730
3730
  }
3731
3731
  }
3732
- class _r extends n.Component {
3732
+ class Pr extends n.Component {
3733
3733
  /**
3734
3734
  * @hidden
3735
3735
  */
@@ -3741,7 +3741,7 @@ class _r extends n.Component {
3741
3741
  "k-toolbar k-grid-toolbar",
3742
3742
  {
3743
3743
  "k-toolbar-md": !this.props.size,
3744
- [`k-toolbar-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
3744
+ [`k-toolbar-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
3745
3745
  },
3746
3746
  this.props.className
3747
3747
  ),
@@ -3753,21 +3753,21 @@ class _r extends n.Component {
3753
3753
  );
3754
3754
  }
3755
3755
  }
3756
- _r.displayName = "KendoReactGridToolbar";
3757
- const Pr = (i) => {
3756
+ Pr.displayName = "KendoReactGridToolbar";
3757
+ const Ar = (i) => {
3758
3758
  const { data: t = [] } = i;
3759
3759
  return /* @__PURE__ */ n.createElement("div", { className: "k-selection-aggregates k-grid-selection-aggregates" }, t.map((s, o) => /* @__PURE__ */ n.createElement("div", { key: o }, /* @__PURE__ */ n.createElement("span", { className: "k-selection-aggregates-item-text" }, s.type, ": "), /* @__PURE__ */ n.createElement("span", { className: "k-selection-aggregates-item-value" }, s.formattedValue))));
3760
3760
  };
3761
- Pr.displayName = "KendoReactGridStatusBar";
3762
- const Ar = (i) => {
3761
+ Ar.displayName = "KendoReactGridStatusBar";
3762
+ const Br = (i) => {
3763
3763
  var s;
3764
3764
  const t = i.slice();
3765
3765
  for (let o = 0; o < t.length; o++)
3766
3766
  for (; t[o] && ((s = t[o].children) != null && s.length); )
3767
3767
  t.splice(o, 1, ...t[o].children);
3768
3768
  return t;
3769
- }, si = (i) => {
3770
- const { dataItems: t, target: s, selectedField: o } = i, r = Ar(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Fe(C)), l = Fe(o), a = { dates: [], numbers: [], booleans: [], others: [] }, c = (C) => {
3769
+ }, ii = (i) => {
3770
+ const { dataItems: t, target: s, selectedField: o } = i, r = Br(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Fe(C)), l = Fe(o), a = { dates: [], numbers: [], booleans: [], others: [] }, c = (C) => {
3771
3771
  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
3772
  };
3773
3773
  t.forEach((C) => {
@@ -3791,55 +3791,56 @@ const Ar = (i) => {
3791
3791
  const x = C, S = u[x];
3792
3792
  S !== void 0 && E.push({ type: x, value: S, formattedValue: b(S, x) });
3793
3793
  }), E;
3794
- }, Br = Dt(he);
3795
- Br.displayName = "KendoReactGrid";
3794
+ }, Wr = Dt(he);
3795
+ Wr.displayName = "KendoReactGrid";
3796
3796
  export {
3797
3797
  se as GRID_COL_INDEX_ATTRIBUTE,
3798
- cr as GRID_ROW_INDEX_ATTRIBUTE,
3799
- Br as Grid,
3800
- wr as GridCell,
3798
+ ti as GRID_PREVENT_SELECTION_ELEMENT,
3799
+ hr as GRID_ROW_INDEX_ATTRIBUTE,
3800
+ Wr as Grid,
3801
+ Rr as GridCell,
3801
3802
  he as GridClassComponent,
3802
3803
  ce as GridColumn,
3803
3804
  us as GridColumnMenuCheckboxFilter,
3804
- Or as GridColumnMenuColumnsList,
3805
+ _r as GridColumnMenuColumnsList,
3805
3806
  ps as GridColumnMenuFilter,
3806
3807
  wt as GridColumnMenuFilterCell,
3807
- zr as GridColumnMenuFilterUI,
3808
+ Lr as GridColumnMenuFilterUI,
3808
3809
  os as GridColumnMenuGroup,
3809
3810
  ae as GridColumnMenuItem,
3810
3811
  ds as GridColumnMenuItemContent,
3811
3812
  ve as GridColumnMenuItemGroup,
3812
3813
  Je as GridColumnMenuSort,
3813
3814
  $t as GridColumnMenuWrapper,
3814
- yr as GridCommonDragLogic,
3815
- ti as GridDetailRow,
3816
- hr as GridEditCell,
3815
+ wr as GridCommonDragLogic,
3816
+ ri as GridDetailRow,
3817
+ dr as GridEditCell,
3817
3818
  es as GridFilterCell,
3818
3819
  It as GridGroupCell,
3819
- ur as GridHeaderCell,
3820
- ar as GridHierarchyCell,
3820
+ gr as GridHeaderCell,
3821
+ cr as GridHierarchyCell,
3821
3822
  Ye as GridNoRecords,
3822
- Rr as GridRow,
3823
- lr as GridSelectionCell,
3824
- _r as GridToolbar,
3825
- Pr as StatusBar,
3823
+ Fr as GridRow,
3824
+ ar as GridSelectionCell,
3825
+ Pr as GridToolbar,
3826
+ Ar as StatusBar,
3826
3827
  Xt as booleanFilterValues,
3827
3828
  Qt as cellBoolDropdownChange,
3828
3829
  Yt as cellInputChange,
3829
3830
  Zt as cellOperatorChange,
3830
3831
  fe as filterGroupByField,
3831
- oi as getSelectedState,
3832
- ni as getSelectedStateFromKeyDown,
3833
- si as getStatusData,
3832
+ li as getSelectedState,
3833
+ ai as getSelectedStateFromKeyDown,
3834
+ ii as getStatusData,
3834
3835
  k as gridMessages,
3835
- Ar as leafColumns,
3836
+ Br as leafColumns,
3836
3837
  kt as operators,
3837
- Js as pagerFirstPage,
3838
- Ys as pagerInfo,
3839
- tr as pagerItemPerPage,
3840
- er as pagerLastPage,
3841
- Zs as pagerNextPage,
3842
- Qs as pagerPreviousPage,
3843
- Ve as rootFilterOrDefault,
3844
- li as setSelectedState
3838
+ Qs as pagerFirstPage,
3839
+ Js as pagerInfo,
3840
+ sr as pagerItemPerPage,
3841
+ tr as pagerLastPage,
3842
+ er as pagerNextPage,
3843
+ Zs as pagerPreviousPage,
3844
+ Ke as rootFilterOrDefault,
3845
+ ci as setSelectedState
3845
3846
  };