@progress/kendo-react-grid 7.1.0-develop.2 → 7.1.0-develop.5

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 l from "react";
7
7
  import p from "prop-types";
8
- import { useId as It, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as St, kendoThemeMaps as K, Draggable as yt, withIdHOC as wt, dispatchEvent as us, memoizeOne as B, validatePackage as gs, shouldShowValidationUI as fs, canUseDOM as it, setScrollbarWidth as ot, getter as Se, WatermarkOverlay as ms, toIconName as Cs, clone as bs } from "@progress/kendo-react-common";
9
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as xs, TABLE_COL_INDEX_ATTRIBUTE as ks, isRtl as Rt, tableKeyboardNavigationHeaderAttributes as lt, ColumnResizer as vs, HeaderThElement as Ft, getIndex as nt, tableKeyboardNavigation as X, getSelectionOptions as at, mapColumns as Es, tableColumnsVirtualization as Is, Pager as Ss, TableKeyboardNavigationContext as ye, tableKeyboardNavigationScopeAttributes as ht, TableSelection as ct, tableKeyboardNavigationBodyAttributes as dt, DropClue as pt, DragClue as ut, updateLeft as ys, updateRight as ws } from "@progress/kendo-react-data-tools";
10
- import { getSelectedState as ti, getSelectedStateFromKeyDown as si, setSelectedState as ri } from "@progress/kendo-react-data-tools";
8
+ import { useId as It, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as St, kendoThemeMaps as K, Draggable as yt, withIdHOC as wt, dispatchEvent as us, memoizeOne as B, validatePackage as gs, shouldShowValidationUI as fs, canUseDOM as it, setScrollbarWidth as ot, getter as ye, WatermarkOverlay as ms, toIconName as Cs, clone as bs } from "@progress/kendo-react-common";
9
+ import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as xs, TABLE_COL_INDEX_ATTRIBUTE as ks, isRtl as Rt, tableKeyboardNavigationHeaderAttributes as lt, ColumnResizer as vs, HeaderThElement as Ft, getIndex as nt, tableKeyboardNavigation as X, getSelectionOptions as at, mapColumns as Es, tableColumnsVirtualization as Is, Pager as Ss, TableKeyboardNavigationContext as we, tableKeyboardNavigationScopeAttributes as ht, TableSelection as ct, tableKeyboardNavigationBodyAttributes as dt, DropClue as pt, DragClue as ut, updateLeft as ys, updateRight as ws } from "@progress/kendo-react-data-tools";
10
+ import { getSelectedState as ei, getSelectedStateFromKeyDown as ti, setSelectedState as si } from "@progress/kendo-react-data-tools";
11
11
  import { useLocalization as Nt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Rs, registerForIntl as Dt } from "@progress/kendo-react-intl";
12
- import { minusIcon as Fs, plusIcon as Ns, moreVerticalIcon as Ds, sortAscSmallIcon as Be, sortDescSmallIcon as We, filterIcon as Ve, filterClearIcon as Ts, xCircleIcon as Gs, caretAltDownIcon as Ms, caretAltLeftIcon as Hs, caretAltRightIcon as zs, groupIcon as Ls, ungroupIcon as Os, searchIcon as Tt, xIcon as _s } from "@progress/kendo-svg-icons";
13
- import { NumericTextBox as Ke, TextBox as Gt, Input as Mt, Checkbox as fe, InputPrefix as Ps } from "@progress/kendo-react-inputs";
12
+ import { minusIcon as Fs, plusIcon as Ns, filterIcon as Ce, sortAscSmallIcon as We, sortDescSmallIcon as Ve, filterClearIcon as Ds, xCircleIcon as Ts, caretAltDownIcon as Gs, caretAltLeftIcon as Ms, caretAltRightIcon as Hs, groupIcon as zs, ungroupIcon as Ls, searchIcon as Tt, xIcon as Os } from "@progress/kendo-svg-icons";
13
+ import { NumericTextBox as Ke, TextBox as Gt, Input as Mt, Checkbox as fe, InputPrefix as _s } from "@progress/kendo-react-inputs";
14
14
  import { DatePicker as Ue } from "@progress/kendo-react-dateinputs";
15
- import { Popup as As } from "@progress/kendo-react-popup";
15
+ import { Popup as Ps } from "@progress/kendo-react-popup";
16
16
  import { Button as W } from "@progress/kendo-react-buttons";
17
17
  import { DropDownList as oe } from "@progress/kendo-react-dropdowns";
18
18
  import { isCompositeFilterDescriptor as gt, filterBy as ft } from "@progress/kendo-data-query";
19
- import { Reveal as Bs } from "@progress/kendo-react-animation";
19
+ import { Reveal as As } from "@progress/kendo-react-animation";
20
20
  const he = (r) => null;
21
21
  he.displayName = "KendoReactGridColumn";
22
22
  he.defaultProps = {
@@ -136,7 +136,7 @@ function zt(r, t, s, o = 0) {
136
136
  }
137
137
  return e;
138
138
  }
139
- function Ws(r, t, s, o) {
139
+ function Bs(r, t, s, o) {
140
140
  let e = [];
141
141
  Array.isArray(r) ? e = r : r && (e = r.data);
142
142
  const i = [];
@@ -169,7 +169,7 @@ function Ws(r, t, s, o) {
169
169
  }
170
170
  return i;
171
171
  }
172
- const Vs = (r, t) => {
172
+ const Ws = (r, t) => {
173
173
  let s = r[t.parentIndex];
174
174
  for (; s; ) {
175
175
  if (s.footerCell)
@@ -177,7 +177,7 @@ const Vs = (r, t) => {
177
177
  s = r[s.parentIndex];
178
178
  }
179
179
  return !1;
180
- }, Ks = (r) => r.filter((t) => Vs(r, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Ie = (r) => r.width !== void 0 ? Math.floor(parseFloat(r.width.toString())) + "px" : void 0, Lt = (r) => (r.sort((t, s) => t.declarationIndex - s.declarationIndex), r.map((t) => {
180
+ }, Vs = (r) => r.filter((t) => Ws(r, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Se = (r) => r.width !== void 0 ? Math.floor(parseFloat(r.width.toString())) + "px" : void 0, Lt = (r) => (r.sort((t, s) => t.declarationIndex - s.declarationIndex), r.map((t) => {
181
181
  const {
182
182
  declarationIndex: s,
183
183
  parentIndex: o,
@@ -193,7 +193,7 @@ const Vs = (r, t) => {
193
193
  children: Lt(c),
194
194
  ...d
195
195
  } : d;
196
- })), we = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), mt = 17895697, Ce = (r, t) => {
196
+ })), Re = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), mt = 17895697, be = (r, t) => {
197
197
  if (!(!r && !t))
198
198
  return t ? r ? {
199
199
  ...r,
@@ -215,7 +215,7 @@ const Vs = (r, t) => {
215
215
  ...t.edit || {}
216
216
  }
217
217
  } : t : r;
218
- }, Us = (r) => {
218
+ }, Ks = (r) => {
219
219
  const t = l.useCallback(
220
220
  (d) => {
221
221
  r.selectionChange && r.selectionChange({ syntheticEvent: d });
@@ -230,18 +230,17 @@ const Vs = (r, t) => {
230
230
  role: "gridcell",
231
231
  ...e
232
232
  }, n = [
233
- /* @__PURE__ */ l.createElement(
233
+ /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
234
234
  "input",
235
235
  {
236
- key: "1",
237
236
  checked: typeof o == "boolean" && o,
238
237
  id: s,
239
238
  type: "checkbox",
240
239
  className: "k-checkbox k-checkbox-md k-rounded-md",
241
240
  onChange: t
242
241
  }
243
- ),
244
- /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: s, key: "2" })
242
+ )),
243
+ /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: s, key: 2 })
245
244
  ];
246
245
  const a = r.rowType !== "groupHeader" ? /* @__PURE__ */ l.createElement(
247
246
  "td",
@@ -255,38 +254,38 @@ const Vs = (r, t) => {
255
254
  return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: i }, n);
256
255
  }
257
256
  return r.render ? r.render.call(void 0, a, r) : a;
258
- }, Re = "grid.noRecords", qs = "grid.pagerInfo", $s = "grid.pagerFirstPage", js = "grid.pagerPreviousPage", Xs = "grid.pagerNextPage", Ys = "grid.pagerLastPage", Js = "grid.pagerItemsPerPage", Qs = "grid.pagerPage", Zs = "grid.pagerPageSizeAriaLabel", er = "grid.pagerOf", tr = "grid.pagerTotalPages", Fe = "grid.groupPanelEmpty", Ot = "grid.groupColumn", _t = "grid.ungroupColumn", Ne = "grid.columnMenu", U = "grid.filterClearButton", le = "grid.filterSubmitButton", ne = "grid.filterTitle", De = "grid.sortAscending", Te = "grid.sortDescending", Ge = "grid.searchPlaceholder", Me = "grid.filterCheckAll", He = "grid.filterChooseOperator", ze = "grid.filterSelectedItems", Le = "grid.sortAriaLabel", Oe = "grid.filterAriaLabel", _e = "grid.groupPanelAriaLabel", Pt = "grid.groupExpand", At = "grid.groupCollapse", Bt = "grid.detailExpand", Wt = "grid.detailCollapse", v = {
257
+ }, Fe = "grid.noRecords", Us = "grid.pagerInfo", qs = "grid.pagerFirstPage", $s = "grid.pagerPreviousPage", js = "grid.pagerNextPage", Xs = "grid.pagerLastPage", Ys = "grid.pagerItemsPerPage", Js = "grid.pagerPage", Qs = "grid.pagerPageSizeAriaLabel", Zs = "grid.pagerOf", er = "grid.pagerTotalPages", Ne = "grid.groupPanelEmpty", Ot = "grid.groupColumn", _t = "grid.ungroupColumn", De = "grid.columnMenu", U = "grid.filterClearButton", le = "grid.filterSubmitButton", ne = "grid.filterTitle", Te = "grid.sortAscending", Ge = "grid.sortDescending", Me = "grid.searchPlaceholder", He = "grid.filterCheckAll", ze = "grid.filterChooseOperator", Le = "grid.filterSelectedItems", Oe = "grid.sortAriaLabel", _e = "grid.filterAriaLabel", Pe = "grid.groupPanelAriaLabel", Pt = "grid.groupExpand", At = "grid.groupCollapse", Bt = "grid.detailExpand", Wt = "grid.detailCollapse", v = {
259
258
  [Bt]: "Expand detail row",
260
259
  [Wt]: "Collapse detail row",
261
260
  [Pt]: "Expand group",
262
261
  [At]: "Collapse Group",
263
- [Re]: "No records available",
264
- [Fe]: "Drag a column header and drop it here to group by that column",
262
+ [Fe]: "No records available",
263
+ [Ne]: "Drag a column header and drop it here to group by that column",
265
264
  [U]: "Clear",
266
265
  [le]: "Filter",
267
266
  [ne]: "Filter",
268
- [De]: "Sort Ascending",
269
- [Te]: "Sort Descending",
270
- [Le]: "Sortable",
267
+ [Te]: "Sort Ascending",
268
+ [Ge]: "Sort Descending",
269
+ [Oe]: "Sortable",
271
270
  [Ot]: "Group Column",
272
271
  [_t]: "Ungroup Column",
273
- [Ne]: "Column menu",
274
- [Js]: "items per page",
275
- [qs]: "{0} - {1} of {2} items",
276
- [$s]: "Go to the first page",
277
- [js]: "Go to the previous page",
278
- [Xs]: "Go to the next page",
279
- [Ys]: "Go to the last page",
280
- [Qs]: "Page",
281
- [Zs]: "Page size",
282
- [er]: "of",
283
- [tr]: "{0}",
284
- [Ge]: "Search",
285
- [Me]: "Check All",
286
- [He]: "Choose Operator",
287
- [ze]: "selected items",
288
- [Oe]: "Filter",
289
- [_e]: "Group panel",
272
+ [De]: "Column menu",
273
+ [Ys]: "items per page",
274
+ [Us]: "{0} - {1} of {2} items",
275
+ [qs]: "Go to the first page",
276
+ [$s]: "Go to the previous page",
277
+ [js]: "Go to the next page",
278
+ [Xs]: "Go to the last page",
279
+ [Js]: "Page",
280
+ [Qs]: "Page size",
281
+ [Zs]: "of",
282
+ [er]: "{0}",
283
+ [Me]: "Search",
284
+ [He]: "Check All",
285
+ [ze]: "Choose Operator",
286
+ [Le]: "selected items",
287
+ [_e]: "Filter",
288
+ [Pe]: "Group panel",
290
289
  "grid.filterEqOperator": "Is equal to",
291
290
  "grid.filterNotEqOperator": "Is not equal to",
292
291
  "grid.filterIsNullOperator": "Is null",
@@ -311,11 +310,11 @@ const Vs = (r, t) => {
311
310
  "grid.filterAndLogic": "And",
312
311
  "grid.filterOrLogic": "Or"
313
312
  };
314
- function sr(r) {
313
+ function tr(r) {
315
314
  const t = r.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
316
315
  return { messageKey: t, defaultMessage: v[t] };
317
316
  }
318
- const rr = (r) => {
317
+ const sr = (r) => {
319
318
  let t = null, s = null, o = null;
320
319
  const e = T(r.field, r.dataItem), i = q(r.id), n = Nt(), a = l.useCallback(
321
320
  (d) => {
@@ -380,7 +379,7 @@ const rr = (r) => {
380
379
  return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: s }, o);
381
380
  }
382
381
  return r.render ? r.render.call(void 0, t, r) : t;
383
- }, ir = xs, re = ks, or = (r) => {
382
+ }, rr = xs, re = ks, ir = (r) => {
384
383
  const t = T(r.field, r.dataItem);
385
384
  let s = null;
386
385
  const o = y("k-table-td", "k-grid-edit-cell", {
@@ -481,17 +480,16 @@ const rr = (r) => {
481
480
  role: "gridcell",
482
481
  ...i
483
482
  }, a = [
484
- /* @__PURE__ */ l.createElement(
483
+ /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
485
484
  "input",
486
485
  {
487
486
  checked: t || !1,
488
487
  id: e,
489
488
  type: "checkbox",
490
489
  className: "k-checkbox k-checkbox-md k-rounded-md",
491
- onChange: h,
492
- key: 1
490
+ onChange: h
493
491
  }
494
- ),
492
+ )),
495
493
  /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: e, key: 2 })
496
494
  ], s = /* @__PURE__ */ l.createElement(
497
495
  "td",
@@ -535,7 +533,7 @@ const rr = (r) => {
535
533
  }
536
534
  return r.render ? r.render.call(void 0, s, r) : s;
537
535
  };
538
- class lr extends l.Component {
536
+ class or extends l.Component {
539
537
  constructor() {
540
538
  super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = St(), this.onScroll = (t) => {
541
539
  if (this.syncScroll) {
@@ -629,7 +627,7 @@ class lr extends l.Component {
629
627
  }
630
628
  }
631
629
  const Vt = (...r) => Object.assign({ allowUnsort: !0, mode: "single" }, ...r);
632
- class nr extends l.PureComponent {
630
+ class lr extends l.PureComponent {
633
631
  constructor() {
634
632
  super(...arguments), this.draggable = null, this.onPress = (t) => {
635
633
  const s = this.draggable && this.draggable.element;
@@ -703,20 +701,20 @@ class Kt extends l.Component {
703
701
  onMouseDown: this.onAnchorMouseDown,
704
702
  onKeyDown: this.onAnchorKeyDown,
705
703
  href: "#",
706
- "aria-label": `${n}${e.toLanguageString(Ne, v[Ne])}`
704
+ "aria-label": `${n}${e.toLanguageString(De, v[De])}`
707
705
  },
708
- /* @__PURE__ */ l.createElement(O, { name: "more-vertical", icon: Ds })
706
+ /* @__PURE__ */ l.createElement(O, { name: "filter", icon: Ce })
709
707
  ), /* @__PURE__ */ l.createElement(
710
- As,
708
+ Ps,
711
709
  {
712
710
  anchor: this._anchor,
713
- show: this.state.show
711
+ show: this.state.show,
712
+ popupClass: "k-column-menu k-column-menu-popup k-grid-columnmenu-popup"
714
713
  },
715
714
  /* @__PURE__ */ l.createElement(
716
715
  "div",
717
716
  {
718
717
  ref: (a) => this._content = a,
719
- className: "k-grid-columnmenu-popup",
720
718
  tabIndex: 0,
721
719
  onBlur: this.blur,
722
720
  onFocus: this.focus,
@@ -733,7 +731,7 @@ class Kt extends l.Component {
733
731
  ));
734
732
  }
735
733
  }
736
- class ar extends l.Component {
734
+ class nr extends l.Component {
737
735
  /**
738
736
  * @hidden
739
737
  */
@@ -757,10 +755,10 @@ class ar extends l.Component {
757
755
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
758
756
  }
759
757
  }
760
- const hr = {
758
+ const ar = {
761
759
  true: { asc: "desc", desc: "", "": "asc" },
762
760
  false: { asc: "desc", desc: "asc", "": "asc" }
763
- }, cr = {
761
+ }, hr = {
764
762
  none: "none",
765
763
  asc: "ascending",
766
764
  desc: "descending"
@@ -777,9 +775,9 @@ class Ut extends l.Component {
777
775
  "k-header": !0,
778
776
  "k-grid-header-sticky": e.locked,
779
777
  "k-sorted": this.props.sort && this.props.sort.some((k) => k.field === e.field)
780
- }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = G(this).toLanguageString(Le, v[Le]);
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(Oe, v[Oe]);
781
779
  let m = e.isAccessible ? {
782
- ariaSort: cr[a],
780
+ ariaSort: hr[a],
783
781
  role: "columnheader",
784
782
  ariaColumnIndex: e.ariaColumnIndex,
785
783
  ariaSelected: !1,
@@ -787,7 +785,7 @@ class Ut extends l.Component {
787
785
  } : {
788
786
  role: "presentation"
789
787
  };
790
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : ar, E = /* @__PURE__ */ l.createElement(
788
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : nr, E = /* @__PURE__ */ l.createElement(
791
789
  b,
792
790
  {
793
791
  key: 1,
@@ -840,7 +838,7 @@ class Ut extends l.Component {
840
838
  autofit: (k) => this.props.columnResize && this.props.columnResize.dblClickHandler(k, [e.id])
841
839
  }
842
840
  )
843
- ], I = Ce(this.props.cells, e.cells);
841
+ ], I = be(this.props.cells, e.cells);
844
842
  if (I && I.headerCell) {
845
843
  const k = I.headerCell;
846
844
  return /* @__PURE__ */ l.createElement(k, { key: u, thProps: C, index: o }, x);
@@ -858,7 +856,7 @@ class Ut extends l.Component {
858
856
  cellClick(t, s) {
859
857
  if (t.preventDefault(), !this.props.sortChange)
860
858
  return;
861
- const { allowUnsort: o, mode: e } = Vt(this.props.sortable || !1, s.sortable || !1), i = (this.props.sort || []).filter((h) => h.field === s.field)[0], n = hr[o][i && i.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((h) => h.field !== s.field);
859
+ const { allowUnsort: o, mode: e } = Vt(this.props.sortable || !1, s.sortable || !1), i = (this.props.sort || []).filter((h) => h.field === s.field)[0], n = ar[o][i && i.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((h) => h.field !== s.field);
862
860
  n !== "" && s.field && a.push({ field: s.field, dir: n }), this.props.sortChange(a, t);
863
861
  }
864
862
  sortIcon(t) {
@@ -867,7 +865,7 @@ class Ut extends l.Component {
867
865
  O,
868
866
  {
869
867
  name: "sort-" + this.props.sort[t].dir + "-small",
870
- icon: this.props.sort[t].dir === "asc" ? Be : We
868
+ icon: this.props.sort[t].dir === "asc" ? We : Ve
871
869
  }
872
870
  )),
873
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))
@@ -875,7 +873,7 @@ class Ut extends l.Component {
875
873
  }
876
874
  render() {
877
875
  return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ l.createElement(
878
- nr,
876
+ lr,
879
877
  {
880
878
  key: s,
881
879
  pressHandler: this.props.pressHandler,
@@ -891,7 +889,7 @@ class Ut extends l.Component {
891
889
  }
892
890
  }
893
891
  M(Ut);
894
- const dr = [
892
+ const cr = [
895
893
  { text: "grid.filterAndLogic", operator: "and" },
896
894
  { text: "grid.filterOrLogic", operator: "or" }
897
895
  ], Ct = {
@@ -933,11 +931,11 @@ const dr = [
933
931
  }, L = (r) => r === "isnull" || r === "isnotnull" || r === "isempty" || r === "isnotempty", ie = (r, t) => r.map((s) => ({
934
932
  text: t.toLanguageString(s.text, v[s.text]),
935
933
  operator: s.operator
936
- })), pr = "eq", qt = [
934
+ })), dr = "eq", qt = [
937
935
  { text: "grid.filterBooleanAll", operator: "" },
938
936
  { text: "grid.filterIsTrue", operator: !0 },
939
937
  { text: "grid.filterIsFalse", operator: !1 }
940
- ], ur = {
938
+ ], pr = {
941
939
  text: !1,
942
940
  numeric: !1,
943
941
  date: !1,
@@ -959,11 +957,11 @@ const dr = [
959
957
  return;
960
958
  }
961
959
  s.onChange({ value: r, operator: e, syntheticEvent: t });
962
- }, jt = (r, t) => t ? r[t][0].operator : r[0].operator, Pe = (r) => r || "text", Xt = (r, t) => {
960
+ }, jt = (r, t) => t ? r[t][0].operator : r[0].operator, Ae = (r) => r || "text", Xt = (r, t) => {
963
961
  const s = r.target.value;
964
962
  t({
965
963
  value: s.operator,
966
- operator: s.operator === "" ? "" : pr,
964
+ operator: s.operator === "" ? "" : dr,
967
965
  syntheticEvent: r.syntheticEvent
968
966
  });
969
967
  }, Yt = (r, t, s) => {
@@ -985,10 +983,10 @@ class Jt extends l.Component {
985
983
  onChange: this.operatorChange,
986
984
  className: "k-dropdown-operator",
987
985
  iconClassName: "k-i-filter k-icon",
988
- svgIcon: Ve,
986
+ svgIcon: Ce,
989
987
  data: this.props.operators,
990
988
  textField: "text",
991
- title: s.toLanguageString(He, v[He]),
989
+ title: s.toLanguageString(ze, v[ze]),
992
990
  popupSettings: {
993
991
  width: ""
994
992
  }
@@ -1005,7 +1003,7 @@ class Jt extends l.Component {
1005
1003
  {
1006
1004
  size: this.props.size,
1007
1005
  icon: "filter-clear",
1008
- svgIcon: Ts,
1006
+ svgIcon: Ds,
1009
1007
  className: y({
1010
1008
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1011
1009
  }),
@@ -1095,7 +1093,7 @@ class Jt extends l.Component {
1095
1093
  }
1096
1094
  }
1097
1095
  M(Jt);
1098
- const gr = "k-table-row k-filter-row";
1096
+ const ur = "k-table-row k-filter-row";
1099
1097
  class Qt extends l.Component {
1100
1098
  headerCellClassName(t, s) {
1101
1099
  let o = `${s ? "k-grid-header-sticky" : ""}`;
@@ -1126,7 +1124,7 @@ class Qt extends l.Component {
1126
1124
  let e = 0, i = -1;
1127
1125
  const n = this.props.columns.filter((a) => a.children.length === 0).map(
1128
1126
  (a) => {
1129
- const h = Pe(a.filter), c = o(a.field), d = a.filterable ? t.toLanguageString(Oe, v[Oe]) : void 0;
1127
+ const h = Ae(a.filter), c = o(a.field), d = a.filterable ? t.toLanguageString(_e, v[_e]) : void 0;
1130
1128
  let g = c && c.value;
1131
1129
  g === void 0 && (g = h === "text" ? "" : null);
1132
1130
  const m = a.filterable && {
@@ -1152,7 +1150,7 @@ class Qt extends l.Component {
1152
1150
  className: y("k-table-th", this.headerCellClassName(a.field, a.locked) || void 0),
1153
1151
  role: "columnheader",
1154
1152
  ...b
1155
- }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Jt, { size: this.props.size, ...m })), I = Ce(this.props.cells, a.cells);
1153
+ }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Jt, { size: this.props.size, ...m })), I = be(this.props.cells, a.cells);
1156
1154
  if (I && I.filterCell) {
1157
1155
  const k = I.filterCell;
1158
1156
  return /* @__PURE__ */ l.createElement(k, { key: u, ...m, thProps: C, index: i }, x);
@@ -1167,7 +1165,7 @@ class Qt extends l.Component {
1167
1165
  );
1168
1166
  }
1169
1167
  );
1170
- return /* @__PURE__ */ l.createElement("tr", { className: gr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1168
+ return /* @__PURE__ */ l.createElement("tr", { className: ur, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1171
1169
  }
1172
1170
  }
1173
1171
  M(Qt);
@@ -1222,7 +1220,7 @@ class Zt extends l.Component {
1222
1220
  O,
1223
1221
  {
1224
1222
  name: "sort-" + t + "-small",
1225
- icon: t === "asc" ? Be : We,
1223
+ icon: t === "asc" ? We : Ve,
1226
1224
  size: "small"
1227
1225
  }
1228
1226
  )),
@@ -1237,7 +1235,7 @@ class Zt extends l.Component {
1237
1235
  O,
1238
1236
  {
1239
1237
  name: "x-circle",
1240
- icon: Gs,
1238
+ icon: Ts,
1241
1239
  size: "small"
1242
1240
  }
1243
1241
  )
@@ -1283,16 +1281,16 @@ class es extends l.Component {
1283
1281
  ref: this.props.refCallback,
1284
1282
  className: "k-grouping-header",
1285
1283
  role: "toolbar",
1286
- "aria-label": G(this).toLanguageString(_e, v[_e]),
1284
+ "aria-label": G(this).toLanguageString(Pe, v[Pe]),
1287
1285
  "aria-controls": this.props.ariaControls || ""
1288
1286
  },
1289
1287
  /* @__PURE__ */ l.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1290
- /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Fe, v[Fe]), " ")
1288
+ /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Ne, v[Ne]), " ")
1291
1289
  );
1292
1290
  }
1293
1291
  }
1294
1292
  M(es);
1295
- class fr extends l.Component {
1293
+ class gr extends l.Component {
1296
1294
  constructor() {
1297
1295
  super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = St();
1298
1296
  }
@@ -1355,7 +1353,7 @@ class fr extends l.Component {
1355
1353
  ) : /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1356
1354
  }
1357
1355
  }
1358
- class mr {
1356
+ class fr {
1359
1357
  constructor(t) {
1360
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) => {
1361
1359
  if (!this.container || o)
@@ -1513,7 +1511,7 @@ class xt {
1513
1511
  return this.containerRef.current;
1514
1512
  }
1515
1513
  translate(t, s) {
1516
- this.scrollableVirtual && this.table && (we || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1514
+ this.scrollableVirtual && this.table && (Re || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1517
1515
  }
1518
1516
  changePage(t, s) {
1519
1517
  this.PageChange && this.PageChange({ skip: Math.max(0, t), take: this.pageSize }, s);
@@ -1543,8 +1541,8 @@ class xt {
1543
1541
  }
1544
1542
  }
1545
1543
  }
1546
- const Cr = 1, br = 20;
1547
- class xr {
1544
+ const mr = 1, Cr = 20;
1545
+ class br {
1548
1546
  constructor(t) {
1549
1547
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1550
1548
  this.isRtl = s;
@@ -1581,7 +1579,7 @@ class xr {
1581
1579
  let g = [];
1582
1580
  d.forEach((m) => {
1583
1581
  h.forEach((u) => {
1584
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + Cr));
1582
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + mr));
1585
1583
  });
1586
1584
  }), d.forEach((m) => {
1587
1585
  h.forEach((u) => {
@@ -1650,7 +1648,7 @@ class xr {
1650
1648
  }
1651
1649
  updateNextLockedCol(t, s, o) {
1652
1650
  const e = s.index, i = this.colGroupMain.parentElement.closest(".k-grid"), n = i == null ? void 0 : i.clientWidth, a = this.columns.filter((h) => h.locked).map((h) => parseInt(h.width + "", 10)).reduce((h, c) => h + c, 0);
1653
- !s.locked || n <= a + br || this.columns.forEach((h) => {
1651
+ !s.locked || n <= a + Cr || this.columns.forEach((h) => {
1654
1652
  if (h != null && h.locked && o) {
1655
1653
  const c = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + h.ariaColumnIndex + '"]');
1656
1654
  c == null || c.forEach((d) => {
@@ -1661,7 +1659,7 @@ class xr {
1661
1659
  });
1662
1660
  }
1663
1661
  }
1664
- class kr {
1662
+ class xr {
1665
1663
  constructor(t, s, o) {
1666
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) => {
1667
1665
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
@@ -1752,7 +1750,7 @@ class kr {
1752
1750
  });
1753
1751
  }
1754
1752
  }
1755
- const vr = (r) => {
1753
+ const kr = (r) => {
1756
1754
  let t = null;
1757
1755
  const s = Rs(), o = q(r.id), e = l.useCallback((c) => {
1758
1756
  r.onContextMenu && r.onContextMenu.call(void 0, c, r.dataItem, r.field);
@@ -1808,11 +1806,11 @@ const vr = (r) => {
1808
1806
  [c, h, n, g]
1809
1807
  ), D = l.useCallback((F) => {
1810
1808
  r.onContextMenu && r.onContextMenu.call(void 0, F, r.dataItem, r.field);
1811
- }, [r.onContextMenu, r.dataItem, r.field]), de = (F, xe) => {
1812
- const pe = c ? At : Pt, ke = C.toLanguageString(pe, v[pe]);
1809
+ }, [r.onContextMenu, r.dataItem, r.field]), de = (F, ke) => {
1810
+ const pe = c ? At : Pt, ve = C.toLanguageString(pe, v[pe]);
1813
1811
  return x = {
1814
1812
  className: "k-table-td",
1815
- style: { ...r.style, ...xe },
1813
+ style: { ...r.style, ...ke },
1816
1814
  colSpan: F,
1817
1815
  key: "g-colspan",
1818
1816
  role: "gridcell",
@@ -1836,13 +1834,13 @@ const vr = (r) => {
1836
1834
  },
1837
1835
  href: "#",
1838
1836
  tabIndex: -1,
1839
- "aria-label": ke
1837
+ "aria-label": ve
1840
1838
  },
1841
1839
  /* @__PURE__ */ l.createElement(
1842
1840
  O,
1843
1841
  {
1844
1842
  name: c ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1845
- icon: c ? Ms : u ? Hs : zs
1843
+ icon: c ? Gs : u ? Ms : Hs
1846
1844
  }
1847
1845
  )
1848
1846
  ), n[b] instanceof Date && n[b].toString ? n[b].toString() : n[b]), /* @__PURE__ */ l.createElement(
@@ -1889,7 +1887,7 @@ const vr = (r) => {
1889
1887
  }
1890
1888
  return d ? d.call(void 0, t, r) : t;
1891
1889
  };
1892
- class Er extends l.Component {
1890
+ class vr extends l.Component {
1893
1891
  /**
1894
1892
  * @hidden
1895
1893
  */
@@ -1897,7 +1895,7 @@ class Er extends l.Component {
1897
1895
  const t = y(
1898
1896
  "k-table-row",
1899
1897
  {
1900
- "k-grouping-row": this.props.rowType === "groupHeader",
1898
+ "k-table-group-row k-grouping-row": this.props.rowType === "groupHeader",
1901
1899
  "k-group-footer": this.props.rowType === "groupFooter",
1902
1900
  "k-master-row": this.props.rowType !== "groupHeader" && this.props.rowType !== "groupFooter",
1903
1901
  "k-table-alt-row k-alt": this.props.rowType !== "groupHeader" && this.props.rowType !== "groupFooter" && this.props.isAltRow,
@@ -1919,23 +1917,22 @@ class Er extends l.Component {
1919
1917
  "aria-rowindex": this.props.ariaRowIndex,
1920
1918
  "absolute-row-index": this.props.absoluteRowIndex,
1921
1919
  key: this.props.absoluteRowIndex,
1922
- [ir]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1920
+ [rr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1923
1921
  },
1924
1922
  this.props.children
1925
1923
  );
1926
1924
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1927
1925
  }
1928
1926
  }
1929
- class Ir extends l.Component {
1927
+ class Er extends l.Component {
1930
1928
  get _inputId() {
1931
1929
  return this.props.id;
1932
1930
  }
1933
1931
  render() {
1934
1932
  const { columnMenuWrapperProps: t } = this.props, s = [
1935
- /* @__PURE__ */ l.createElement(
1933
+ /* @__PURE__ */ l.createElement("span", { key: 0, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
1936
1934
  "input",
1937
1935
  {
1938
- key: 0,
1939
1936
  checked: this.props.selectionValue,
1940
1937
  id: this._inputId,
1941
1938
  type: "checkbox",
@@ -1945,25 +1942,25 @@ class Ir extends l.Component {
1945
1942
  syntheticEvent: o
1946
1943
  })
1947
1944
  }
1948
- ),
1945
+ )),
1949
1946
  /* @__PURE__ */ l.createElement("label", { key: 1, className: "k-checkbox-label", htmlFor: this._inputId }),
1950
1947
  t.columnMenu && /* @__PURE__ */ l.createElement(Kt, { ...t })
1951
1948
  ];
1952
1949
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1953
1950
  }
1954
1951
  }
1955
- const Sr = wt(Ir);
1952
+ const Ir = wt(Er);
1956
1953
  class qe extends l.Component {
1957
1954
  /**
1958
1955
  * @hidden
1959
1956
  */
1960
1957
  render() {
1961
- return this.props.children || G(this).toLanguageString(Re, v[Re]);
1958
+ return this.props.children || G(this).toLanguageString(Fe, v[Fe]);
1962
1959
  }
1963
1960
  }
1964
1961
  qe.displayName = "KendoReactGridNoRecords";
1965
1962
  M(qe);
1966
- class yr extends l.Component {
1963
+ class Sr extends l.Component {
1967
1964
  constructor() {
1968
1965
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1969
1966
  const o = {
@@ -1980,7 +1977,7 @@ class yr extends l.Component {
1980
1977
  field: t.field,
1981
1978
  ariaColumnIndex: t.ariaColumnIndex,
1982
1979
  ...o
1983
- }, i = Ce(this.props.cells, t.cells);
1980
+ }, i = be(this.props.cells, t.cells);
1984
1981
  if (i && i.footerCell) {
1985
1982
  const n = i.footerCell;
1986
1983
  return /* @__PURE__ */ l.createElement(n, { ...e, tdProps: o, index: s });
@@ -1992,10 +1989,10 @@ class yr extends l.Component {
1992
1989
  return this._element;
1993
1990
  }
1994
1991
  render() {
1995
- return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Ks(this.props.columns).map(this.renderCell));
1992
+ return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Vs(this.props.columns).map(this.renderCell));
1996
1993
  }
1997
1994
  }
1998
- const wr = ({
1995
+ const yr = ({
1999
1996
  buttonCount: r = 10,
2000
1997
  info: t = !0,
2001
1998
  type: s = "numeric",
@@ -2011,14 +2008,14 @@ const wr = ({
2011
2008
  responsive: i !== !1,
2012
2009
  type: s,
2013
2010
  pageSizeValue: n
2014
- }), Rr = (r) => wr(r === !0 ? {} : r), vt = {
2011
+ }), wr = (r) => yr(r === !0 ? {} : r), vt = {
2015
2012
  name: "@progress/kendo-react-grid",
2016
2013
  productName: "KendoReact",
2017
2014
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2018
- publishDate: 1705399050,
2015
+ publishDate: 1705499817,
2019
2016
  version: "",
2020
2017
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2021
- }, Fr = (r) => {
2018
+ }, Rr = (r) => {
2022
2019
  const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: i } = r, n = q(i), a = l.useCallback((h) => {
2023
2020
  r.onContextMenu && r.onContextMenu.call(void 0, h, r.dataItem);
2024
2021
  }, [r.onContextMenu, r.dataItem]);
@@ -2034,7 +2031,7 @@ const wr = ({
2034
2031
  },
2035
2032
  /* @__PURE__ */ l.createElement(r.detail, { dataItem: o, dataIndex: e })
2036
2033
  );
2037
- }, Nr = (r) => {
2034
+ }, Fr = (r) => {
2038
2035
  const t = q(r.id);
2039
2036
  return /* @__PURE__ */ l.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2040
2037
  };
@@ -2081,7 +2078,7 @@ let ce = class extends l.Component {
2081
2078
  }
2082
2079
  }, this.getVirtualScroll = (e) => {
2083
2080
  const { rowHeight: i, detailRowHeight: n, detail: a, expandField: h, groupable: c } = e, d = this.isAllData(), g = i !== void 0 && i > 0, m = n !== void 0 && n > 0, u = c === !0 || typeof c == "object" && c.enabled !== !1;
2084
- return !g || u && !d || !!(a && h) && (!m || !d) ? mr : xt;
2081
+ return !g || u && !d || !!(a && h) && (!m || !d) ? fr : xt;
2085
2082
  }, this.isAllData = () => {
2086
2083
  const { data: e, total: i } = this.props;
2087
2084
  return Array.isArray(e) ? e.length === i : e ? i === e.total : !1;
@@ -2095,7 +2092,7 @@ let ce = class extends l.Component {
2095
2092
  i || this.props.rowHeight === void 0 || this.props.rowHeight === 0
2096
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 && !i) {
2097
2094
  const n = this.props.rowHeight * e;
2098
- this.vs.containerHeight = we ? Math.min(mt, n) : n;
2095
+ this.vs.containerHeight = Re ? Math.min(mt, n) : n;
2099
2096
  } else
2100
2097
  this.vs.containerHeight = 1533915;
2101
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) {
@@ -2103,7 +2100,7 @@ let ce = class extends l.Component {
2103
2100
  let { detailRowHeight: c = 0 } = this.props;
2104
2101
  c = a && h ? c : n, this.isAllData() ? (this.vs.total = this._data.length, this._slicedData = this._data.slice(this.vs.realSkip, this.vs.realSkip + this.vs.pageSize), this.vs.rowHeightService = this.rowHeightService(this.vs, this._data.length, n, c, this._data)) : this.vs.rowHeightService = new bt(e, n, c);
2105
2102
  const d = this.vs.rowHeightService.totalHeight();
2106
- this.vs.containerHeight = we ? Math.min(mt, d) : d;
2103
+ this.vs.containerHeight = Re ? Math.min(mt, d) : d;
2107
2104
  }
2108
2105
  }, this.scrollHandler = (e) => {
2109
2106
  if (e.target !== e.currentTarget)
@@ -2275,7 +2272,7 @@ let ce = class extends l.Component {
2275
2272
  (e) => Es(e)
2276
2273
  ), this.configureColumns = B((e, i, n) => {
2277
2274
  this.props.selectedField && e.filter((c) => c.field === this.props.selectedField).forEach((c) => {
2278
- c.width = c.width || "50px", c.cell = c.cell || Us, c.headerCell = c.headerCell || Sr;
2275
+ c.width = c.width || "50px", c.cell = c.cell || Ks, c.headerCell = c.headerCell || Ir;
2279
2276
  });
2280
2277
  const a = {
2281
2278
  id: "",
@@ -2299,7 +2296,7 @@ let ce = class extends l.Component {
2299
2296
  let h = 0;
2300
2297
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2301
2298
  ...a,
2302
- cell: rr,
2299
+ cell: sr,
2303
2300
  field: this.props.expandField,
2304
2301
  headerClassName: "k-hierarchy-cell k-header",
2305
2302
  id: z.generateNavigatableId(`${this._columns.length}`, n, "column")
@@ -2346,11 +2343,11 @@ let ce = class extends l.Component {
2346
2343
  return n === void 0 ? e : n;
2347
2344
  }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), gs(vt), this.showLicenseWatermark = fs(vt);
2348
2345
  const s = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1, o = this.getVirtualScroll(t);
2349
- this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new kr(
2346
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new xr(
2350
2347
  this.columnReorder.bind(this),
2351
2348
  this.groupReorder.bind(this),
2352
2349
  this.columnToGroup.bind(this)
2353
- ), this.columnResize = new xr(this.onResize), X.onConstructor({
2350
+ ), this.columnResize = new br(this.onResize), X.onConstructor({
2354
2351
  navigatable: !!t.navigatable,
2355
2352
  contextStateRef: this.contextStateRef,
2356
2353
  navigationStateRef: this.navigationStateRef,
@@ -2499,7 +2496,7 @@ let ce = class extends l.Component {
2499
2496
  onContextMenu: this.onContextMenu
2500
2497
  }
2501
2498
  ), { sort: E, sortable: C, group: x, filter: I, filterable: k, filterOperators: _ = Ct, headerCellRender: D, columnMenu: de } = this.props, Y = /* @__PURE__ */ l.createElement(
2502
- lr,
2499
+ or,
2503
2500
  {
2504
2501
  size: this.props.size,
2505
2502
  columnResize: this.columnResize,
@@ -2541,16 +2538,16 @@ let ce = class extends l.Component {
2541
2538
  "col",
2542
2539
  {
2543
2540
  key: w.toString(),
2544
- width: Ie(f)
2541
+ width: Se(f)
2545
2542
  }
2546
2543
  ))
2547
2544
  }
2548
- ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: xe, hiddenColumns: pe } = Is({
2545
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Is({
2549
2546
  enabled: this.props.columnVirtualization,
2550
2547
  columns: u,
2551
2548
  tableViewPortWidth: F,
2552
2549
  scrollLeft: $
2553
- }), ke = (f, w, R) => {
2550
+ }), ve = (f, w, R) => {
2554
2551
  let j = !1;
2555
2552
  const V = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2556
2553
  return {
@@ -2563,22 +2560,22 @@ let ce = class extends l.Component {
2563
2560
  const H = T(this.props.editField, f.dataItem);
2564
2561
  H && (H === !0 || H === S.field) && (j = !0, A = !0);
2565
2562
  }
2566
- let Ee = S.cell || A && or || vr;
2563
+ let Ie = S.cell || A && ir || kr;
2567
2564
  return /* @__PURE__ */ l.createElement(
2568
- Ee,
2565
+ Ie,
2569
2566
  {
2570
2567
  onContextMenu: this.onContextMenu,
2571
2568
  key: ee,
2572
2569
  locked: this.props.lockGroups,
2573
2570
  id: z.generateNavigatableId(`${w}-${String(N)}`, s),
2574
- colSpan: xe[N],
2571
+ colSpan: ke[N],
2575
2572
  dataItem: f.dataItem,
2576
2573
  field: S.field,
2577
2574
  editor: S.editor,
2578
2575
  format: S.format,
2579
2576
  className: te,
2580
2577
  render: this.props.cellRender,
2581
- cells: Ce(this.props.cells, S.cells),
2578
+ cells: be(this.props.cells, S.cells),
2582
2579
  onChange: this.itemChange,
2583
2580
  selectionChange: this.props.onSelectionChange ? (H) => {
2584
2581
  this.selectionChange({ event: H, dataItem: f.dataItem, dataIndex: R, columnIndex: N });
@@ -2610,15 +2607,15 @@ let ce = class extends l.Component {
2610
2607
  }
2611
2608
  const je = (f) => f >= this._data.length - J;
2612
2609
  let Xe = this.vs.realSkip || 0;
2613
- const Q = [], ve = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2610
+ const Q = [], Ee = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2614
2611
  let Z = 0;
2615
2612
  if (this._data.length) {
2616
2613
  let f = -1, w = 0;
2617
2614
  (this._slicedData || this._data).forEach((R, j) => {
2618
2615
  R.rowType === "data" && (Xe++, f++);
2619
- const V = Xe % 2 === 0, S = this.props.dataItemKey && Se(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = S || "ai" + N, te = ee + "_1", P = ke(R, ee, f);
2620
- if (Z = N + ve + w, Q.push(/* @__PURE__ */ l.createElement(
2621
- Er,
2616
+ const V = Xe % 2 === 0, S = this.props.dataItemKey && ye(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = S || "ai" + N, te = ee + "_1", P = ve(R, ee, f);
2617
+ if (Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2618
+ vr,
2622
2619
  {
2623
2620
  key: ee,
2624
2621
  dataItem: R.dataItem,
@@ -2639,7 +2636,7 @@ let ce = class extends l.Component {
2639
2636
  P.row
2640
2637
  )), this.props.detail && R.rowType === "data" && R.expanded) {
2641
2638
  const A = u.length - (this.props.expandField ? 1 : 0) - (this.props.group ? this.props.group.length : 0) || 1;
2642
- w++, Z = N + ve + w, Q.push(/* @__PURE__ */ l.createElement(
2639
+ w++, Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2643
2640
  "tr",
2644
2641
  {
2645
2642
  key: te,
@@ -2651,7 +2648,7 @@ let ce = class extends l.Component {
2651
2648
  role: "row",
2652
2649
  "aria-rowindex": Z
2653
2650
  },
2654
- this.props.group && this.props.group.map((Ee, H) => {
2651
+ this.props.group && this.props.group.map((Ie, H) => {
2655
2652
  var rt;
2656
2653
  const se = (rt = P == null ? void 0 : P.row[H]) == null ? void 0 : rt.props.style, ps = se ? this.isRtl ? { left: se.right, right: se.left } : { left: se.left, right: se.right } : {};
2657
2654
  return /* @__PURE__ */ l.createElement(
@@ -2659,7 +2656,7 @@ let ce = class extends l.Component {
2659
2656
  {
2660
2657
  id: "",
2661
2658
  dataIndex: R.dataIndex,
2662
- field: Ee.field,
2659
+ field: Ie.field,
2663
2660
  dataItem: R.dataItem,
2664
2661
  key: H,
2665
2662
  style: ps,
@@ -2672,13 +2669,13 @@ let ce = class extends l.Component {
2672
2669
  );
2673
2670
  }),
2674
2671
  this.props.expandField && /* @__PURE__ */ l.createElement(
2675
- Nr,
2672
+ Fr,
2676
2673
  {
2677
2674
  id: z.generateNavigatableId(`${te}-dhcell`, s)
2678
2675
  }
2679
2676
  ),
2680
2677
  /* @__PURE__ */ l.createElement(
2681
- Fr,
2678
+ Rr,
2682
2679
  {
2683
2680
  onContextMenu: this.onContextMenu,
2684
2681
  dataItem: R.dataItem,
@@ -2693,7 +2690,7 @@ let ce = class extends l.Component {
2693
2690
  }
2694
2691
  });
2695
2692
  } else
2696
- Q.push(/* @__PURE__ */ l.createElement("tr", { key: "no-records", className: "k-table-row k-grid-norecords", role: "row", "aria-rowindex": ve }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: u.length, role: "gridcell" }, g.length ? g : /* @__PURE__ */ l.createElement(qe, null))));
2693
+ 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(qe, null))));
2697
2694
  const Ye = {
2698
2695
  size: this.props.size,
2699
2696
  onPageChange: this.pagerPageChange,
@@ -2701,13 +2698,13 @@ let ce = class extends l.Component {
2701
2698
  dir: this.isRtl ? "rtl" : void 0,
2702
2699
  skip: this.vs.propsSkip || 0,
2703
2700
  take: (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 10,
2704
- messagesMap: sr,
2705
- ...Rr(this.props.pageable || {})
2701
+ messagesMap: tr,
2702
+ ...wr(this.props.pageable || {})
2706
2703
  }, Je = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Ye }) : /* @__PURE__ */ l.createElement(Ss, { className: "k-grid-pager", ...Ye }), cs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, ds = (f, w) => /* @__PURE__ */ l.createElement(
2707
2704
  "col",
2708
2705
  {
2709
2706
  key: w.toString(),
2710
- width: Ie(f)
2707
+ width: Se(f)
2711
2708
  }
2712
2709
  ), Qe = (st = this.props.cells) != null && st.footerCell || this._columns.some(
2713
2710
  (f) => {
@@ -2715,14 +2712,14 @@ let ce = class extends l.Component {
2715
2712
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2716
2713
  }
2717
2714
  ) ? /* @__PURE__ */ l.createElement(
2718
- fr,
2715
+ gr,
2719
2716
  {
2720
2717
  size: this.props.size,
2721
2718
  columnResize: this.columnResize,
2722
2719
  staticHeaders: this.props.scrollable !== "none",
2723
2720
  ref: (f) => this._footer = f,
2724
2721
  row: /* @__PURE__ */ l.createElement(
2725
- yr,
2722
+ Sr,
2726
2723
  {
2727
2724
  cells: this.props.cells,
2728
2725
  columns: this._columns,
@@ -2745,13 +2742,13 @@ let ce = class extends l.Component {
2745
2742
  {
2746
2743
  key: w.toString(),
2747
2744
  className: cs(f.field) ? "k-sorted" : void 0,
2748
- width: Ie(f)
2745
+ width: Se(f)
2749
2746
  }
2750
2747
  )
2751
2748
  )
2752
2749
  ), et = this.dragLogic.reorderable || this.dragLogic.groupable, tt = this.props.columnVirtualization ? "block" : "table";
2753
2750
  if (this.props.scrollable === "none")
2754
- return /* @__PURE__ */ l.createElement(ye.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2751
+ return /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2755
2752
  "div",
2756
2753
  {
2757
2754
  id: this.props.id,
@@ -2801,7 +2798,7 @@ let ce = class extends l.Component {
2801
2798
  et && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue }))
2802
2799
  ), m, this.props.pageable && Je);
2803
2800
  let ue = this.props.style || {};
2804
- return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(ye.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2801
+ return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2805
2802
  "div",
2806
2803
  {
2807
2804
  id: this.props.id,
@@ -2983,7 +2980,7 @@ let ce = class extends l.Component {
2983
2980
  }
2984
2981
  initColumns(t, s) {
2985
2982
  const o = z.getIdPrefix(this.navigationStateRef);
2986
- this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Ws(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
2983
+ this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Bs(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
2987
2984
  }
2988
2985
  getDataState() {
2989
2986
  return {
@@ -3082,8 +3079,8 @@ ce.propTypes = {
3082
3079
  navigatable: p.bool,
3083
3080
  size: p.oneOf(["small", "medium"])
3084
3081
  };
3085
- ce.contextType = ye;
3086
- class be extends l.Component {
3082
+ ce.contextType = we;
3083
+ class xe extends l.Component {
3087
3084
  /**
3088
3085
  * @hidden
3089
3086
  */
@@ -3129,12 +3126,12 @@ class ts extends l.Component {
3129
3126
  */
3130
3127
  render() {
3131
3128
  const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), i = e ? _t : Ot;
3132
- return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3129
+ return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3133
3130
  ae,
3134
3131
  {
3135
3132
  title: o.toLanguageString(i, v[i]),
3136
3133
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3137
- svgIcon: e ? Os : Ls,
3134
+ svgIcon: e ? Ls : zs,
3138
3135
  onClick: this.onGroupClick
3139
3136
  }
3140
3137
  ));
@@ -3142,7 +3139,7 @@ class ts extends l.Component {
3142
3139
  }
3143
3140
  Dt(ts);
3144
3141
  M(ts);
3145
- const ss = "asc", rs = "desc", Dr = {
3142
+ const ss = "asc", rs = "desc", Nr = {
3146
3143
  true: {
3147
3144
  asc: { asc: "", desc: "desc" },
3148
3145
  desc: { asc: "asc", desc: "" },
@@ -3163,7 +3160,7 @@ class $e extends l.Component {
3163
3160
  }, this.onSort = (t, s) => {
3164
3161
  if (t.preventDefault(), !this.props.onSortChange)
3165
3162
  return;
3166
- const { column: o, sortable: e, sort: i } = this.props, { allowUnsort: n, mode: a } = Vt(e || !1, !1), h = (i || []).filter((g) => g.field === o.field)[0], c = Dr[n][h && h.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3163
+ const { column: o, sortable: e, sort: i } = this.props, { allowUnsort: n, mode: a } = Vt(e || !1, !1), h = (i || []).filter((g) => g.field === o.field)[0], c = Nr[n][h && h.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3167
3164
  c !== "" && o.field && d.push({ field: o.field, dir: c }), this.props.onSortChange(d, t);
3168
3165
  };
3169
3166
  }
@@ -3172,21 +3169,21 @@ class $e extends l.Component {
3172
3169
  */
3173
3170
  render() {
3174
3171
  const { sort: t, column: s } = this.props, o = is(s.field, t), e = G(this);
3175
- return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3172
+ return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3176
3173
  ae,
3177
3174
  {
3178
- title: e.toLanguageString(De, v[De]),
3175
+ title: e.toLanguageString(Te, v[Te]),
3179
3176
  iconClass: "k-i-sort-asc-sm",
3180
- svgIcon: Be,
3177
+ svgIcon: We,
3181
3178
  selected: os(o, t),
3182
3179
  onClick: this.onAscClick
3183
3180
  }
3184
3181
  ), /* @__PURE__ */ l.createElement(
3185
3182
  ae,
3186
3183
  {
3187
- title: e.toLanguageString(Te, v[Te]),
3184
+ title: e.toLanguageString(Ge, v[Ge]),
3188
3185
  iconClass: "k-i-sort-desc-sm",
3189
- svgIcon: We,
3186
+ svgIcon: Ve,
3190
3187
  selected: ls(o, t),
3191
3188
  onClick: this.onDescClick
3192
3189
  }
@@ -3211,7 +3208,7 @@ class ns extends l.Component {
3211
3208
  className: y("k-columnmenu-item-content", this.props.className),
3212
3209
  style: this.props.style
3213
3210
  },
3214
- /* @__PURE__ */ l.createElement(Bs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3211
+ /* @__PURE__ */ l.createElement(As, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3215
3212
  );
3216
3213
  }
3217
3214
  }
@@ -3295,7 +3292,7 @@ class Et extends l.Component {
3295
3292
  }
3296
3293
  }
3297
3294
  }
3298
- class Tr extends l.Component {
3295
+ class Dr extends l.Component {
3299
3296
  render() {
3300
3297
  const {
3301
3298
  firstFilterProps: t,
@@ -3317,7 +3314,7 @@ class Tr extends l.Component {
3317
3314
  ), /* @__PURE__ */ l.createElement(Et, { ...o })));
3318
3315
  }
3319
3316
  }
3320
- const Ae = (r) => r || { filters: [], logic: "and" }, ge = (r, t) => Ae(t).filters.filter((e) => gt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((i) => gt(i) || i.field !== r) : !1)[0] || null;
3317
+ const Be = (r) => r || { filters: [], logic: "and" }, ge = (r, t) => Be(t).filters.filter((e) => gt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((i) => gt(i) || i.field !== r) : !1)[0] || null;
3321
3318
  class as extends l.Component {
3322
3319
  constructor(t) {
3323
3320
  super(t), this.removeGroup = (o, e) => {
@@ -3363,7 +3360,7 @@ class as extends l.Component {
3363
3360
  }, this.clear = (o) => {
3364
3361
  if (o.preventDefault(), !this.props.onFilterChange)
3365
3362
  return;
3366
- const e = this.props.column.field, i = Ae(this.props.filter), n = ge(e, this.props.filter), a = i.filters.filter((h) => h !== n);
3363
+ const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = i.filters.filter((h) => h !== n);
3367
3364
  a.length ? this.props.onFilterChange({ ...i, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
3368
3365
  }, this.currentFilterGroup = () => ({
3369
3366
  ...this.state.filterGroup,
@@ -3371,7 +3368,7 @@ class as extends l.Component {
3371
3368
  }), this.submit = (o) => {
3372
3369
  if (o.preventDefault(), !this.props.onFilterChange)
3373
3370
  return;
3374
- const e = this.props.column.field, i = Ae(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3371
+ const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3375
3372
  let h = null;
3376
3373
  if (n && a.filters.length > 0) {
3377
3374
  const c = i.filters.map((d) => d === n ? a : d);
@@ -3394,7 +3391,7 @@ class as extends l.Component {
3394
3391
  };
3395
3392
  let s;
3396
3393
  if (t.column && t.column.field) {
3397
- const o = Pe(t.column.filter), e = jt(t.filterOperators, o);
3394
+ const o = Ae(t.column.filter), e = jt(t.filterOperators, o);
3398
3395
  s = ge(t.column.field, t.filter), s = s ? {
3399
3396
  ...s,
3400
3397
  filters: s.filters.map((i) => ({ ...i }))
@@ -3418,7 +3415,7 @@ class as extends l.Component {
3418
3415
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3419
3416
  if (!t || !t.field)
3420
3417
  return /* @__PURE__ */ l.createElement("div", null);
3421
- const i = Pe(t.filter), n = o !== void 0 ? o : ur[i], a = G(this), h = this.state.filterGroup.filters, c = ie(e[i], a), d = ie(qt, a), g = {
3418
+ const i = Ae(t.filter), n = o !== void 0 ? o : pr[i], a = G(this), h = this.state.filterGroup.filters, c = ie(e[i], a), d = ie(qt, a), g = {
3422
3419
  field: t.field,
3423
3420
  value: h[0].value,
3424
3421
  operator: h[0].operator,
@@ -3434,7 +3431,7 @@ class as extends l.Component {
3434
3431
  booleanValues: d,
3435
3432
  onChange: this.secondFilterChange,
3436
3433
  filterType: i
3437
- }, u = this.state.filterGroup.logic, b = ie(dr, a), E = {
3434
+ }, u = this.state.filterGroup.logic, b = ie(cr, a), E = {
3438
3435
  value: b.find((D) => D.operator === (u === null ? "" : u)),
3439
3436
  onChange: this.logicChange,
3440
3437
  data: b
@@ -3446,23 +3443,23 @@ class as extends l.Component {
3446
3443
  onLogicChange: E.onChange,
3447
3444
  hideSecondFilter: n
3448
3445
  }, I = this.currentFilterGroup().filters.length !== 0 || L(h[0].operator) || L(h[1].operator), k = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3449
- return /* @__PURE__ */ l.createElement(be, null, !_ && /* @__PURE__ */ l.createElement(
3446
+ return /* @__PURE__ */ l.createElement(xe, null, !_ && /* @__PURE__ */ l.createElement(
3450
3447
  ae,
3451
3448
  {
3452
3449
  title: a.toLanguageString(ne, v[ne]),
3453
3450
  iconClass: "k-i-filter",
3454
- svgIcon: Ve,
3451
+ svgIcon: Ce,
3455
3452
  onClick: this.onFilterExpand
3456
3453
  }
3457
3454
  ), /* @__PURE__ */ l.createElement(ns, { show: _ || !!k }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3458
3455
  "form",
3459
3456
  {
3460
- className: "k-filter-menu k-group k-reset k-state-border-up",
3457
+ className: "k-filter-menu",
3461
3458
  onSubmit: this.submit,
3462
3459
  onReset: this.clear,
3463
3460
  onKeyDown: (D) => D.stopPropagation()
3464
3461
  },
3465
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Tr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3462
+ /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Dr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3466
3463
  W,
3467
3464
  {
3468
3465
  themeColor: "primary",
@@ -3481,7 +3478,7 @@ class as extends l.Component {
3481
3478
  }
3482
3479
  as.active = (r, t) => !!ge(r, t);
3483
3480
  M(as);
3484
- const Gr = (r, t) => r.length !== t.length ? !1 : r.every((s, o) => s === t[o]);
3481
+ const Tr = (r, t) => r.length !== t.length ? !1 : r.every((s, o) => s === t[o]);
3485
3482
  class hs extends l.Component {
3486
3483
  constructor(t) {
3487
3484
  super(t), this.defaultFilter = () => this.props.filter ? bs(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
@@ -3567,7 +3564,7 @@ class hs extends l.Component {
3567
3564
  */
3568
3565
  componentDidUpdate() {
3569
3566
  let t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3570
- Gr(s, this.state.dataFromProps) || this.setState({
3567
+ Tr(s, this.state.dataFromProps) || this.setState({
3571
3568
  data: s,
3572
3569
  dataFromProps: s
3573
3570
  });
@@ -3592,7 +3589,7 @@ class hs extends l.Component {
3592
3589
  {
3593
3590
  className: "k-input-inner",
3594
3591
  type: "text",
3595
- placeholder: s.toLanguageString(Ge, v[Ge]),
3592
+ placeholder: s.toLanguageString(Me, v[Me]),
3596
3593
  value: this.state.value,
3597
3594
  onChange: (a) => this.handleSearchChange(a.nativeEvent)
3598
3595
  }
@@ -3604,28 +3601,28 @@ class hs extends l.Component {
3604
3601
  className: "k-input-button",
3605
3602
  onClick: this.handleClear,
3606
3603
  icon: "x",
3607
- svgIcon: _s
3604
+ svgIcon: Os
3608
3605
  }
3609
3606
  )), n = e.filter((a, h) => e.indexOf(a) === h);
3610
- return /* @__PURE__ */ l.createElement(be, null, /* @__PURE__ */ l.createElement(
3607
+ return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3611
3608
  ae,
3612
3609
  {
3613
3610
  title: s.toLanguageString(ne, v[ne]),
3614
3611
  iconClass: "k-i-filter",
3615
- svgIcon: Ve,
3612
+ svgIcon: Ce,
3616
3613
  onClick: this.onFilterExpand
3617
3614
  }
3618
3615
  ), /* @__PURE__ */ l.createElement(ns, { show: !!o }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3619
3616
  "form",
3620
3617
  {
3621
- className: "k-filter-menu k-group k-reset k-state-border-up",
3618
+ className: "k-filter-menu",
3622
3619
  onSubmit: this.submit,
3623
3620
  onReset: this.clear
3624
3621
  },
3625
3622
  /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, i, /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3626
3623
  fe,
3627
3624
  {
3628
- label: s.toLanguageString(Me, v[Me]),
3625
+ label: s.toLanguageString(He, v[He]),
3629
3626
  onChange: (a) => this.handleCheckBoxChange(a, "all"),
3630
3627
  checked: this.isAllSelected()
3631
3628
  }
@@ -3636,7 +3633,7 @@ class hs extends l.Component {
3636
3633
  onChange: (c) => this.handleCheckBoxChange(c, a),
3637
3634
  checked: n.includes(a)
3638
3635
  }
3639
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(ze, v[ze])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3636
+ )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(Le, v[Le])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3640
3637
  W,
3641
3638
  {
3642
3639
  themeColor: "primary",
@@ -3658,7 +3655,7 @@ hs.defaultProps = {
3658
3655
  uniqueData: !0
3659
3656
  };
3660
3657
  M(hs);
3661
- const Mr = (r) => {
3658
+ const Gr = (r) => {
3662
3659
  const [t, s] = l.useState(""), o = l.useMemo(() => new Set(r.columnsState.map((u) => u.id)), [r.columnsState]), e = l.useMemo(() => r.columns.filter((u) => {
3663
3660
  var b;
3664
3661
  return (b = u.title || u.field) == null ? void 0 : b.toLowerCase().includes(t.toLowerCase());
@@ -3673,13 +3670,13 @@ const Mr = (r) => {
3673
3670
  const E = i.slice();
3674
3671
  E[b] = u, n(E);
3675
3672
  }, [i]);
3676
- return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu k-group k-reset" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3673
+ return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3677
3674
  Gt,
3678
3675
  {
3679
3676
  className: "k-searchbox",
3680
3677
  value: t,
3681
3678
  onChange: (u) => s(String(u.target.value)),
3682
- prefix: () => /* @__PURE__ */ l.createElement(Ps, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Tt }))
3679
+ prefix: () => /* @__PURE__ */ l.createElement(_s, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Tt }))
3683
3680
  }
3684
3681
  ), /* @__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(
3685
3682
  fe,
@@ -3701,8 +3698,8 @@ const Mr = (r) => {
3701
3698
  }
3702
3699
  )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, c, " selected items"), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ l.createElement(W, { type: "button", themeColor: "primary", onClick: a }, "Apply"), /* @__PURE__ */ l.createElement(W, { type: "button", onClick: h }, "Reset"))));
3703
3700
  };
3704
- Mr.displayName = "GridColumnMenuColumnsList";
3705
- class Jr extends l.Component {
3701
+ Gr.displayName = "GridColumnMenuColumnsList";
3702
+ class Yr extends l.Component {
3706
3703
  /**
3707
3704
  * @hidden
3708
3705
  */
@@ -3710,7 +3707,7 @@ class Jr extends l.Component {
3710
3707
  return null;
3711
3708
  }
3712
3709
  }
3713
- class Hr extends l.Component {
3710
+ class Mr extends l.Component {
3714
3711
  /**
3715
3712
  * @hidden
3716
3713
  */
@@ -3734,21 +3731,21 @@ class Hr extends l.Component {
3734
3731
  );
3735
3732
  }
3736
3733
  }
3737
- Hr.displayName = "KendoReactGridToolbar";
3738
- const zr = (r) => {
3734
+ Mr.displayName = "KendoReactGridToolbar";
3735
+ const Hr = (r) => {
3739
3736
  const { data: t = [] } = r;
3740
3737
  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))));
3741
3738
  };
3742
- zr.displayName = "KendoReactGridStatusBar";
3743
- const Lr = (r) => {
3739
+ Hr.displayName = "KendoReactGridStatusBar";
3740
+ const zr = (r) => {
3744
3741
  var s;
3745
3742
  const t = r.slice();
3746
3743
  for (let o = 0; o < t.length; o++)
3747
3744
  for (; t[o] && ((s = t[o].children) != null && s.length); )
3748
3745
  t.splice(o, 1, ...t[o].children);
3749
3746
  return t;
3750
- }, Qr = (r) => {
3751
- const { dataItems: t, target: s, selectedField: o } = r, i = Lr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Se(C)), n = Se(o), a = { dates: [], numbers: [], booleans: [], others: [] }, h = (C) => {
3747
+ }, Jr = (r) => {
3748
+ const { dataItems: t, target: s, selectedField: o } = r, i = zr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => ye(C)), n = ye(o), a = { dates: [], numbers: [], booleans: [], others: [] }, h = (C) => {
3752
3749
  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);
3753
3750
  };
3754
3751
  t.forEach((C) => {
@@ -3772,52 +3769,52 @@ const Lr = (r) => {
3772
3769
  const x = C, I = u[x];
3773
3770
  I !== void 0 && E.push({ type: x, value: I, formattedValue: b(I, x) });
3774
3771
  }), E;
3775
- }, Or = wt(ce);
3776
- Or.displayName = "KendoReactGrid";
3772
+ }, Lr = wt(ce);
3773
+ Lr.displayName = "KendoReactGrid";
3777
3774
  export {
3778
3775
  re as GRID_COL_INDEX_ATTRIBUTE,
3779
- ir as GRID_ROW_INDEX_ATTRIBUTE,
3780
- Or as Grid,
3781
- vr as GridCell,
3776
+ rr as GRID_ROW_INDEX_ATTRIBUTE,
3777
+ Lr as Grid,
3778
+ kr as GridCell,
3782
3779
  ce as GridClassComponent,
3783
3780
  he as GridColumn,
3784
3781
  hs as GridColumnMenuCheckboxFilter,
3785
- Mr as GridColumnMenuColumnsList,
3782
+ Gr as GridColumnMenuColumnsList,
3786
3783
  as as GridColumnMenuFilter,
3787
3784
  Et as GridColumnMenuFilterCell,
3788
- Tr as GridColumnMenuFilterUI,
3785
+ Dr as GridColumnMenuFilterUI,
3789
3786
  ts as GridColumnMenuGroup,
3790
3787
  ae as GridColumnMenuItem,
3791
3788
  ns as GridColumnMenuItemContent,
3792
- be as GridColumnMenuItemGroup,
3789
+ xe as GridColumnMenuItemGroup,
3793
3790
  $e as GridColumnMenuSort,
3794
3791
  Kt as GridColumnMenuWrapper,
3795
- kr as GridCommonDragLogic,
3796
- Jr as GridDetailRow,
3797
- or as GridEditCell,
3792
+ xr as GridCommonDragLogic,
3793
+ Yr as GridDetailRow,
3794
+ ir as GridEditCell,
3798
3795
  Jt as GridFilterCell,
3799
3796
  kt as GridGroupCell,
3800
- ar as GridHeaderCell,
3801
- rr as GridHierarchyCell,
3797
+ nr as GridHeaderCell,
3798
+ sr as GridHierarchyCell,
3802
3799
  qe as GridNoRecords,
3803
- Er as GridRow,
3804
- Us as GridSelectionCell,
3805
- Hr as GridToolbar,
3806
- zr as StatusBar,
3800
+ vr as GridRow,
3801
+ Ks as GridSelectionCell,
3802
+ Mr as GridToolbar,
3803
+ Hr as StatusBar,
3807
3804
  qt as booleanFilterValues,
3808
3805
  ge as filterGroupByField,
3809
- ti as getSelectedState,
3810
- si as getSelectedStateFromKeyDown,
3811
- Qr as getStatusData,
3806
+ ei as getSelectedState,
3807
+ ti as getSelectedStateFromKeyDown,
3808
+ Jr as getStatusData,
3812
3809
  v as gridMessages,
3813
- Lr as leafColumns,
3810
+ zr as leafColumns,
3814
3811
  Ct as operators,
3815
- $s as pagerFirstPage,
3816
- qs as pagerInfo,
3817
- Js as pagerItemPerPage,
3818
- Ys as pagerLastPage,
3819
- Xs as pagerNextPage,
3820
- js as pagerPreviousPage,
3821
- Ae as rootFilterOrDefault,
3822
- ri as setSelectedState
3812
+ qs as pagerFirstPage,
3813
+ Us as pagerInfo,
3814
+ Ys as pagerItemPerPage,
3815
+ Xs as pagerLastPage,
3816
+ js as pagerNextPage,
3817
+ $s as pagerPreviousPage,
3818
+ Be as rootFilterOrDefault,
3819
+ si as setSelectedState
3823
3820
  };