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

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
@@ -3,23 +3,23 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  "use client";
6
- import * as l from "react";
6
+ import * as n from "react";
7
7
  import p from "prop-types";
8
- import { useId as yt, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as wt, kendoThemeMaps as V, Draggable as Rt, withIdHOC as Ft, dispatchEvent as fs, canUseDOM as ye, getActiveElement as ms, memoizeOne as B, validatePackage as Cs, shouldShowValidationUI as bs, setScrollbarWidth as nt, getter as Re, WatermarkOverlay as xs, toIconName as vs, clone as ks } from "@progress/kendo-react-common";
9
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as Es, TABLE_COL_INDEX_ATTRIBUTE as Is, isRtl as Nt, tableKeyboardNavigationHeaderAttributes as at, ColumnResizer as Ss, HeaderThElement as Dt, getIndex as ct, tableKeyboardNavigation as X, getSelectionOptions as ht, mapColumns as ys, ClipboardService as ws, tableColumnsVirtualization as Rs, Pager as Fs, TableKeyboardNavigationContext as Fe, tableKeyboardNavigationScopeAttributes as dt, TableSelection as pt, tableKeyboardNavigationBodyAttributes as ut, DropClue as gt, DragClue as ft, updateLeft as Ns, updateRight as Ds } from "@progress/kendo-react-data-tools";
10
- import { getSelectedState as ii, getSelectedStateFromKeyDown as oi, setSelectedState as li } from "@progress/kendo-react-data-tools";
11
- import { useLocalization as Tt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Ts, registerForIntl as Gt } from "@progress/kendo-react-intl";
12
- import { minusIcon as Gs, plusIcon as Ms, filterIcon as Ce, sortAscSmallIcon as Ve, sortDescSmallIcon as Ue, filterClearIcon as Hs, xCircleIcon as zs, caretAltDownIcon as Ls, caretAltLeftIcon as Os, caretAltRightIcon as _s, groupIcon as Ps, ungroupIcon as As, searchIcon as Mt, xIcon as Bs } from "@progress/kendo-svg-icons";
13
- import { NumericTextBox as qe, TextBox as Ht, Input as zt, Checkbox as fe, InputPrefix as Ws } from "@progress/kendo-react-inputs";
14
- import { DatePicker as $e } from "@progress/kendo-react-dateinputs";
15
- import { Popup as Ks } from "@progress/kendo-react-popup";
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";
14
+ import { DatePicker as Xe } from "@progress/kendo-react-dateinputs";
15
+ import { Popup as Us } 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
- import { isCompositeFilterDescriptor as mt, filterBy as Ct } from "@progress/kendo-data-query";
19
- import { Reveal as Vs } from "@progress/kendo-react-animation";
20
- const ae = (i) => null;
21
- ae.displayName = "KendoReactGridColumn";
22
- ae.defaultProps = {
18
+ import { isCompositeFilterDescriptor as bt, filterBy as xt } from "@progress/kendo-data-query";
19
+ import { Reveal as qs } from "@progress/kendo-react-animation";
20
+ const ce = (i) => null;
21
+ ce.displayName = "KendoReactGridColumn";
22
+ ce.defaultProps = {
23
23
  filterable: !0,
24
24
  editable: !0,
25
25
  sortable: !0,
@@ -27,7 +27,7 @@ ae.defaultProps = {
27
27
  reorderable: !0,
28
28
  groupable: !0
29
29
  };
30
- ae.propTypes = {
30
+ ce.propTypes = {
31
31
  field: p.string,
32
32
  title: p.string,
33
33
  editable: p.bool,
@@ -58,63 +58,63 @@ ae.propTypes = {
58
58
  columnMenu: p.any,
59
59
  locked: p.bool
60
60
  };
61
- function T(i, t) {
61
+ function G(i, t) {
62
62
  const s = (i || "").split(".");
63
63
  let o = t;
64
64
  return s.forEach((e) => {
65
65
  o = o ? o[e] : void 0;
66
66
  }), o;
67
67
  }
68
- function Lt(i, t, s, o, e, r, n = 0) {
69
- let a = n;
68
+ function Ot(i, t, s, o, e, r, l = 0) {
69
+ let a = l;
70
70
  for (let c = 0; c < t.length; c++) {
71
71
  if (!e || t[c].value === void 0 || t[c].items === void 0) {
72
72
  i[i.length] = {
73
73
  dataIndex: o.index,
74
74
  dataItem: t[c],
75
75
  rowType: "data",
76
- level: n,
77
- expanded: r === void 0 || T(r, t[c])
76
+ level: l,
77
+ expanded: r === void 0 || G(r, t[c])
78
78
  }, o.index++;
79
79
  continue;
80
80
  }
81
- a = Math.max(a, n + 1);
82
- const h = r === void 0 || T(r, t[c]) === void 0 || T(r, t[c]);
81
+ a = Math.max(a, l + 1);
82
+ const h = r === void 0 || G(r, t[c]) === void 0 || G(r, t[c]);
83
83
  i[i.length] = {
84
84
  dataIndex: -1,
85
85
  dataItem: t[c],
86
- level: n,
86
+ level: l,
87
87
  rowType: "groupHeader",
88
88
  expanded: h
89
89
  }, h && (a = Math.max(
90
- Lt(i, t[c].items, s, o, e, r, n + 1),
90
+ Ot(i, t[c].items, s, o, e, r, l + 1),
91
91
  a
92
92
  )), (s === "always" || h && s === "visible") && (i[i.length] = {
93
93
  dataIndex: -1,
94
94
  dataItem: t[c],
95
95
  rowType: "groupFooter",
96
- level: n,
96
+ level: l,
97
97
  expanded: h
98
98
  });
99
99
  }
100
100
  return a;
101
101
  }
102
- function Ot(i, t, s, o = 0) {
102
+ function _t(i, t, s, o = 0) {
103
103
  let e = [];
104
104
  if (!i)
105
105
  return [];
106
- i && i.length === void 0 && (i = [i]), i.forEach((n, a) => {
107
- n = n.props ? n.props : n;
108
- const c = t[a] || null, h = Ot(n.children, c && c.children || [], s, o + 1);
106
+ i && i.length === void 0 && (i = [i]), i.forEach((l, a) => {
107
+ l = l.props ? l.props : l;
108
+ const c = t[a] || null, h = _t(l.children, c && c.children || [], s, o + 1);
109
109
  e.push(
110
110
  Object.assign(
111
111
  { depth: o },
112
- ae.defaultProps,
112
+ ce.defaultProps,
113
113
  h.length ? { cell: () => null, filterCell: () => null } : {},
114
114
  c ? { width: c.width, orderIndex: c.orderIndex } : {},
115
- n,
115
+ l,
116
116
  {
117
- id: n.id ? n.id : z.generateNavigatableId(`${s.prevId++}`, s.idPrefix, "column"),
117
+ id: l.id ? l.id : z.generateNavigatableId(`${s.prevId++}`, s.idPrefix, "column"),
118
118
  declarationIndex: e.length,
119
119
  children: h,
120
120
  rowSpan: 0,
@@ -126,26 +126,26 @@ function Ot(i, t, s, o = 0) {
126
126
  )
127
127
  );
128
128
  });
129
- const r = (n, a) => n.orderIndex === a.orderIndex ? n.declarationIndex - a.declarationIndex : (n.orderIndex || 0) - (a.orderIndex || 0);
129
+ const r = (l, a) => l.orderIndex === a.orderIndex ? l.declarationIndex - a.declarationIndex : (l.orderIndex || 0) - (a.orderIndex || 0);
130
130
  if (e.sort(r), o === 0) {
131
- let n = [];
131
+ let l = [];
132
132
  const a = (c, h) => c.forEach((d) => {
133
- d.parentIndex = h, a(d.children, n.push(d) - 1);
133
+ d.parentIndex = h, a(d.children, l.push(d) - 1);
134
134
  });
135
- return a(e, -1), n;
135
+ return a(e, -1), l;
136
136
  }
137
137
  return e;
138
138
  }
139
- function Us(i, t, s, o) {
139
+ function $s(i, t, s, o) {
140
140
  let e = [];
141
141
  Array.isArray(i) ? e = i : i && (e = i.data);
142
142
  const r = [];
143
143
  if (e.length > 0) {
144
- let n = e[0];
144
+ let l = e[0];
145
145
  if (t)
146
146
  for (let c = 0; c < t.length; c++)
147
- n = n.items && n.items[0];
148
- Object.getOwnPropertyNames(n).forEach((c) => {
147
+ l = l.items && l.items[0];
148
+ Object.getOwnPropertyNames(l).forEach((c) => {
149
149
  c !== s && r.push(Object.assign(
150
150
  {
151
151
  id: z.generateNavigatableId(`${o.prevId++}`, o.idPrefix, "column"),
@@ -162,14 +162,14 @@ function Us(i, t, s, o) {
162
162
  ariaColumnIndex: 0,
163
163
  isAccessible: !0
164
164
  },
165
- ae.defaultProps,
165
+ ce.defaultProps,
166
166
  { field: c }
167
167
  ));
168
168
  });
169
169
  }
170
170
  return r;
171
171
  }
172
- const qs = (i, t) => {
172
+ const js = (i, t) => {
173
173
  let s = i[t.parentIndex];
174
174
  for (; s; ) {
175
175
  if (s.footerCell)
@@ -177,23 +177,23 @@ const qs = (i, t) => {
177
177
  s = i[s.parentIndex];
178
178
  }
179
179
  return !1;
180
- }, $s = (i) => i.filter((t) => qs(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), we = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, _t = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
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) => {
181
181
  const {
182
182
  declarationIndex: s,
183
183
  parentIndex: o,
184
184
  depth: e,
185
185
  colSpan: r,
186
- rowSpan: n,
186
+ rowSpan: l,
187
187
  index: a,
188
188
  kFirst: c,
189
189
  children: h,
190
190
  ...d
191
191
  } = t;
192
192
  return h.length ? {
193
- children: _t(h),
193
+ children: Pt(h),
194
194
  ...d
195
195
  } : d;
196
- })), Ne = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), bt = 17895697, be = (i, t) => {
196
+ })), De = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), vt = 17895697, xe = (i, t) => {
197
197
  if (!(!i && !t))
198
198
  return t ? i ? {
199
199
  ...i,
@@ -215,75 +215,39 @@ const qs = (i, t) => {
215
215
  ...t.edit || {}
216
216
  }
217
217
  } : t : i;
218
- }, js = (i) => {
219
- const t = l.useCallback(
220
- (d) => {
221
- i.selectionChange && i.selectionChange({ syntheticEvent: d });
222
- },
223
- [i.selectionChange]
224
- ), s = yt(), o = T(i.field, i.dataItem), e = q(i.id), r = {
225
- colSpan: i.colSpan,
226
- style: i.style,
227
- className: i.className,
228
- "aria-colindex": i.ariaColumnIndex,
229
- role: "gridcell",
230
- ...e
231
- }, n = [
232
- /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
233
- "input",
234
- {
235
- checked: typeof o == "boolean" && o,
236
- id: s,
237
- type: "checkbox",
238
- className: "k-checkbox k-checkbox-md k-rounded-md",
239
- onChange: t
240
- }
241
- )),
242
- /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: s, key: 2 })
243
- ], a = i.rowType !== "groupHeader" ? /* @__PURE__ */ l.createElement(
244
- "td",
245
- {
246
- ...r
247
- },
248
- n
249
- ) : null, c = i.rowType || "data", h = i.cells;
250
- if (h && h.select && h.select[c]) {
251
- const d = h.select[c];
252
- return /* @__PURE__ */ l.createElement(d, { ...i, tdProps: r }, n);
253
- }
254
- return i.render ? i.render.call(void 0, a, i) : a;
255
- }, De = "grid.noRecords", Xs = "grid.pagerInfo", Ys = "grid.pagerFirstPage", Js = "grid.pagerPreviousPage", Qs = "grid.pagerNextPage", Zs = "grid.pagerLastPage", er = "grid.pagerItemsPerPage", tr = "grid.pagerPage", sr = "grid.pagerPageSizeAriaLabel", rr = "grid.pagerOf", ir = "grid.pagerTotalPages", Te = "grid.groupPanelEmpty", Pt = "grid.groupColumn", At = "grid.ungroupColumn", Ge = "grid.columnMenu", U = "grid.filterClearButton", oe = "grid.filterSubmitButton", le = "grid.filterTitle", Me = "grid.sortAscending", He = "grid.sortDescending", ze = "grid.searchPlaceholder", Le = "grid.filterCheckAll", Oe = "grid.filterChooseOperator", _e = "grid.filterSelectedItems", Pe = "grid.sortAriaLabel", Ae = "grid.filterAriaLabel", Be = "grid.groupPanelAriaLabel", Bt = "grid.groupExpand", Wt = "grid.groupCollapse", Kt = "grid.detailExpand", Vt = "grid.detailCollapse", k = {
256
- [Kt]: "Expand detail row",
257
- [Vt]: "Collapse detail row",
258
- [Bt]: "Expand group",
259
- [Wt]: "Collapse Group",
260
- [De]: "No records available",
261
- [Te]: "Drag a column header and drop it here to group by that column",
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",
220
+ [Ut]: "Collapse detail row",
221
+ [Wt]: "Expand group",
222
+ [Kt]: "Collapse Group",
223
+ [Te]: "No records available",
224
+ [Ge]: "Drag a column header and drop it here to group by that column",
262
225
  [U]: "Clear",
263
226
  [oe]: "Filter",
264
- [le]: "Filter",
265
- [Me]: "Sort Ascending",
266
- [He]: "Sort Descending",
267
- [Pe]: "Sortable",
268
- [Pt]: "Group Column",
269
- [At]: "Ungroup Column",
270
- [Ge]: "Column menu",
271
- [er]: "items per page",
272
- [Xs]: "{0} - {1} of {2} items",
273
- [Ys]: "Go to the first page",
274
- [Js]: "Go to the previous page",
275
- [Qs]: "Go to the next page",
276
- [Zs]: "Go to the last page",
277
- [tr]: "Page",
278
- [sr]: "Page size",
279
- [rr]: "of",
280
- [ir]: "{0}",
281
- [ze]: "Search",
282
- [Le]: "Check All",
283
- [Oe]: "Choose Operator",
284
- [_e]: "selected items",
285
- [Ae]: "Filter",
286
- [Be]: "Group panel",
227
+ [ne]: "Filter",
228
+ [He]: "Sort Ascending",
229
+ [ze]: "Sort Descending",
230
+ [Ae]: "Sortable",
231
+ [At]: "Group Column",
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}",
244
+ [Le]: "Search",
245
+ [Oe]: "Check All",
246
+ [_e]: "Choose Operator",
247
+ [Pe]: "selected items",
248
+ [Be]: "Filter",
249
+ [We]: "Group panel",
250
+ [le]: "Select Row",
287
251
  "grid.filterEqOperator": "Is equal to",
288
252
  "grid.filterNotEqOperator": "Is not equal to",
289
253
  "grid.filterIsNullOperator": "Is null",
@@ -308,15 +272,50 @@ const qs = (i, t) => {
308
272
  "grid.filterAndLogic": "And",
309
273
  "grid.filterOrLogic": "Or"
310
274
  };
311
- function or(i) {
275
+ function nr(i) {
312
276
  const t = i.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
313
277
  return { messageKey: t, defaultMessage: k[t] };
314
278
  }
315
279
  const lr = (i) => {
280
+ const t = Ue(), s = n.useCallback(
281
+ (g) => {
282
+ i.selectionChange && i.selectionChange({ syntheticEvent: g });
283
+ },
284
+ [i.selectionChange]
285
+ ), o = Rt(), e = G(i.field, i.dataItem), r = q(i.id), l = {
286
+ colSpan: i.colSpan,
287
+ style: i.style,
288
+ className: i.className,
289
+ "aria-colindex": i.ariaColumnIndex,
290
+ role: "gridcell",
291
+ ...r
292
+ }, a = /* @__PURE__ */ n.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ n.createElement(
293
+ "input",
294
+ {
295
+ id: o,
296
+ type: "checkbox",
297
+ className: "k-checkbox k-checkbox-md k-rounded-md",
298
+ "aria-label": t.toLanguageString(le, k[le]),
299
+ "aria-checked": typeof e == "boolean" && e,
300
+ onChange: s
301
+ }
302
+ )), c = i.rowType !== "groupHeader" ? /* @__PURE__ */ n.createElement(
303
+ "td",
304
+ {
305
+ ...l
306
+ },
307
+ a
308
+ ) : null, h = i.rowType || "data", d = i.cells;
309
+ if (d && d.select && d.select[h]) {
310
+ const g = d.select[h];
311
+ return /* @__PURE__ */ n.createElement(g, { ...i, tdProps: l }, a);
312
+ }
313
+ return i.render ? i.render.call(void 0, c, i) : c;
314
+ }, ar = (i) => {
316
315
  let t = null, s = null, o = null;
317
- const e = T(i.field, i.dataItem), r = q(i.id), n = Tt(), a = l.useCallback(
316
+ const e = G(i.field, i.dataItem), r = q(i.id), l = Ue(), a = n.useCallback(
318
317
  (d) => {
319
- d.isDefaultPrevented() || d.keyCode === me.enter && i.onChange && (d.preventDefault(), i.onChange({
318
+ d.isDefaultPrevented() || d.keyCode === Ce.enter && i.onChange && (d.preventDefault(), i.onChange({
320
319
  dataItem: i.dataItem,
321
320
  dataIndex: i.dataIndex,
322
321
  syntheticEvent: d,
@@ -331,14 +330,14 @@ const lr = (i) => {
331
330
  className: "k-table-td k-hierarchy-cell",
332
331
  role: "gridcell",
333
332
  ...r
334
- }, t = /* @__PURE__ */ l.createElement(
333
+ }, t = /* @__PURE__ */ n.createElement(
335
334
  "td",
336
335
  {
337
336
  ...s
338
337
  }
339
338
  );
340
339
  else if (i.rowType !== "groupHeader") {
341
- const d = e ? Vt : Kt, g = n.toLanguageString(d, k[d]);
340
+ const d = e ? Ut : Vt, g = l.toLanguageString(d, k[d]);
342
341
  s = {
343
342
  className: "k-table-td k-hierarchy-cell",
344
343
  onKeyDown: a,
@@ -346,7 +345,7 @@ const lr = (i) => {
346
345
  role: "gridcell",
347
346
  "aria-colindex": i.ariaColumnIndex,
348
347
  ...r
349
- }, o = /* @__PURE__ */ l.createElement(
348
+ }, o = /* @__PURE__ */ n.createElement(
350
349
  "a",
351
350
  {
352
351
  onClick: (m) => {
@@ -362,8 +361,8 @@ const lr = (i) => {
362
361
  href: "#",
363
362
  tabIndex: -1
364
363
  },
365
- /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Gs : Ms })
366
- ), t = /* @__PURE__ */ l.createElement(
364
+ /* @__PURE__ */ n.createElement(O, { name: e ? "minus" : "plus", icon: e ? Hs : zs })
365
+ ), t = /* @__PURE__ */ n.createElement(
367
366
  "td",
368
367
  {
369
368
  ...s
@@ -374,17 +373,17 @@ const lr = (i) => {
374
373
  const c = i.rowType || "data", h = i.cells;
375
374
  if (h && h.hierarchy && h.hierarchy[c]) {
376
375
  const d = h.hierarchy[c];
377
- return /* @__PURE__ */ l.createElement(d, { ...i, tdProps: s }, o);
376
+ return /* @__PURE__ */ n.createElement(d, { ...i, tdProps: s }, o);
378
377
  }
379
378
  return i.render ? i.render.call(void 0, t, i) : t;
380
- }, nr = Es, se = Is, ar = (i) => {
381
- const t = T(i.field, i.dataItem);
379
+ }, cr = Is, se = ys, hr = (i) => {
380
+ const t = G(i.field, i.dataItem);
382
381
  let s = null;
383
382
  const o = y("k-table-td", "k-grid-edit-cell", {
384
383
  ["k-selected"]: i.isSelected
385
- }, i.className), e = yt(), r = q(i.id);
386
- let n = null, a = null;
387
- const c = l.useCallback(
384
+ }, i.className), e = Rt(), r = q(i.id);
385
+ let l = null, a = null;
386
+ const c = n.useCallback(
388
387
  (u) => {
389
388
  if (i.onChange) {
390
389
  const b = u.target.type === "checkbox" ? u.target.checked : u.target.value;
@@ -398,9 +397,9 @@ const lr = (i) => {
398
397
  }
399
398
  },
400
399
  [i.onChange, i.dataItem, i.dataIndex, i.field]
401
- ), h = l.useCallback((u) => {
400
+ ), h = n.useCallback((u) => {
402
401
  i.onContextMenu && i.onContextMenu.call(void 0, u, i.dataItem, i.field);
403
- }, [i.onContextMenu, i.dataItem, i.field]), d = l.useCallback(
402
+ }, [i.onContextMenu, i.dataItem, i.field]), d = n.useCallback(
404
403
  (u) => {
405
404
  i.onChange && i.onChange({
406
405
  dataItem: i.dataItem,
@@ -414,7 +413,7 @@ const lr = (i) => {
414
413
  );
415
414
  switch (i.editor) {
416
415
  case "numeric": {
417
- n = {
416
+ l = {
418
417
  onContextMenu: h,
419
418
  colSpan: i.colSpan,
420
419
  style: i.style,
@@ -424,24 +423,24 @@ const lr = (i) => {
424
423
  [se]: i.columnIndex,
425
424
  role: "gridcell",
426
425
  ...r
427
- }, a = /* @__PURE__ */ l.createElement(
428
- qe,
426
+ }, a = /* @__PURE__ */ n.createElement(
427
+ je,
429
428
  {
430
429
  width: "100%",
431
430
  value: t === void 0 ? null : t,
432
431
  onChange: d
433
432
  }
434
- ), s = /* @__PURE__ */ l.createElement(
433
+ ), s = /* @__PURE__ */ n.createElement(
435
434
  "td",
436
435
  {
437
- ...n
436
+ ...l
438
437
  },
439
438
  a
440
439
  );
441
440
  break;
442
441
  }
443
442
  case "date":
444
- n = {
443
+ l = {
445
444
  onContextMenu: h,
446
445
  colSpan: i.colSpan,
447
446
  style: i.style,
@@ -451,23 +450,23 @@ const lr = (i) => {
451
450
  [se]: i.columnIndex,
452
451
  role: "gridcell",
453
452
  ...r
454
- }, a = /* @__PURE__ */ l.createElement(
455
- $e,
453
+ }, a = /* @__PURE__ */ n.createElement(
454
+ Xe,
456
455
  {
457
456
  width: "100%",
458
457
  value: t,
459
458
  onChange: d
460
459
  }
461
- ), s = /* @__PURE__ */ l.createElement(
460
+ ), s = /* @__PURE__ */ n.createElement(
462
461
  "td",
463
462
  {
464
- ...n
463
+ ...l
465
464
  },
466
465
  a
467
466
  );
468
467
  break;
469
468
  case "boolean":
470
- n = {
469
+ l = {
471
470
  onContextMenu: h,
472
471
  colSpan: i.colSpan,
473
472
  style: i.style,
@@ -478,7 +477,7 @@ const lr = (i) => {
478
477
  role: "gridcell",
479
478
  ...r
480
479
  }, a = [
481
- /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
480
+ /* @__PURE__ */ n.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ n.createElement(
482
481
  "input",
483
482
  {
484
483
  checked: t || !1,
@@ -488,17 +487,17 @@ const lr = (i) => {
488
487
  onChange: c
489
488
  }
490
489
  )),
491
- /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: e, key: 2 })
492
- ], s = /* @__PURE__ */ l.createElement(
490
+ /* @__PURE__ */ n.createElement("label", { className: "k-checkbox-label", htmlFor: e, key: 2 })
491
+ ], s = /* @__PURE__ */ n.createElement(
493
492
  "td",
494
493
  {
495
- ...n
494
+ ...l
496
495
  },
497
496
  a
498
497
  );
499
498
  break;
500
499
  default:
501
- n = {
500
+ l = {
502
501
  onContextMenu: h,
503
502
  colSpan: i.colSpan,
504
503
  style: i.style,
@@ -508,7 +507,7 @@ const lr = (i) => {
508
507
  [se]: i.columnIndex,
509
508
  role: "gridcell",
510
509
  ...r
511
- }, a = /* @__PURE__ */ l.createElement(
510
+ }, a = /* @__PURE__ */ n.createElement(
512
511
  "input",
513
512
  {
514
513
  style: { width: "100%" },
@@ -516,10 +515,10 @@ const lr = (i) => {
516
515
  value: t || "",
517
516
  onChange: c
518
517
  }
519
- ), s = /* @__PURE__ */ l.createElement(
518
+ ), s = /* @__PURE__ */ n.createElement(
520
519
  "td",
521
520
  {
522
- ...n
521
+ ...l
523
522
  },
524
523
  a
525
524
  );
@@ -527,13 +526,13 @@ const lr = (i) => {
527
526
  const g = i.editor || "text", m = i.cells;
528
527
  if (m && m.edit && m.edit[g]) {
529
528
  const u = m.edit[g];
530
- return /* @__PURE__ */ l.createElement(u, { ...i, tdProps: n }, a);
529
+ return /* @__PURE__ */ n.createElement(u, { ...i, tdProps: l }, a);
531
530
  }
532
531
  return i.render ? i.render.call(void 0, s, i) : s;
533
532
  };
534
- class cr extends l.Component {
533
+ class dr extends n.Component {
535
534
  constructor() {
536
- super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = wt(), this.onScroll = (t) => {
535
+ super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = Ft(), this.onScroll = (t) => {
537
536
  if (this.syncScroll) {
538
537
  this.syncScroll = !1;
539
538
  return;
@@ -548,7 +547,7 @@ class cr extends l.Component {
548
547
  return this.props.elemRef.current;
549
548
  }
550
549
  componentDidMount() {
551
- const t = Nt(this.element);
550
+ const t = Tt(this.element);
552
551
  this.props.columnResize && this.props.columnResize.setIsRtl(t), this.forceUpdate();
553
552
  }
554
553
  /**
@@ -566,7 +565,7 @@ class cr extends l.Component {
566
565
  this.table && (this.table.style.width = t + "px");
567
566
  }
568
567
  render() {
569
- return this.props.staticHeaders ? /* @__PURE__ */ l.createElement(
568
+ return this.props.staticHeaders ? /* @__PURE__ */ n.createElement(
570
569
  "div",
571
570
  {
572
571
  ref: this.props.elemRef,
@@ -576,7 +575,7 @@ class cr extends l.Component {
576
575
  ),
577
576
  role: "presentation"
578
577
  },
579
- /* @__PURE__ */ l.createElement(
578
+ /* @__PURE__ */ n.createElement(
580
579
  "div",
581
580
  {
582
581
  ref: (t) => {
@@ -587,7 +586,7 @@ class cr extends l.Component {
587
586
  onScroll: this.onScroll,
588
587
  role: "presentation"
589
588
  },
590
- /* @__PURE__ */ l.createElement(
589
+ /* @__PURE__ */ n.createElement(
591
590
  "table",
592
591
  {
593
592
  ref: (t) => {
@@ -603,13 +602,13 @@ class cr extends l.Component {
603
602
  ),
604
603
  role: "presentation"
605
604
  },
606
- /* @__PURE__ */ l.createElement("colgroup", { ref: (t) => {
605
+ /* @__PURE__ */ n.createElement("colgroup", { ref: (t) => {
607
606
  this.props.columnResize.colGroupHeader = t;
608
607
  } }, this.props.cols),
609
- /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...at }, this.props.headerRow, this.props.filterRow)
608
+ /* @__PURE__ */ n.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...ht }, this.props.headerRow, this.props.filterRow)
610
609
  )
611
610
  )
612
- ) : /* @__PURE__ */ l.createElement(
611
+ ) : /* @__PURE__ */ n.createElement(
613
612
  "thead",
614
613
  {
615
614
  role: "presentation",
@@ -617,15 +616,15 @@ class cr extends l.Component {
617
616
  "k-table-thead",
618
617
  { "k-grid-draggable-header": this.props.draggable }
619
618
  ),
620
- ...at
619
+ ...ht
621
620
  },
622
621
  this.props.headerRow,
623
622
  this.props.filterRow
624
623
  );
625
624
  }
626
625
  }
627
- const Ut = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
628
- class hr extends l.PureComponent {
626
+ const qt = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
627
+ class pr extends n.PureComponent {
629
628
  constructor() {
630
629
  super(...arguments), this.draggable = null, this.onPress = (t) => {
631
630
  const s = this.draggable && this.draggable.element;
@@ -638,8 +637,8 @@ class hr extends l.PureComponent {
638
637
  };
639
638
  }
640
639
  render() {
641
- return /* @__PURE__ */ l.createElement(
642
- Rt,
640
+ return /* @__PURE__ */ n.createElement(
641
+ Nt,
643
642
  {
644
643
  onPress: this.onPress,
645
644
  onDrag: this.onDrag,
@@ -651,11 +650,11 @@ class hr extends l.PureComponent {
651
650
  this.draggable = t;
652
651
  }
653
652
  },
654
- /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", style: { touchAction: "none" }, role: "row", "aria-rowindex": this.props.ariaRowIndex }, this.props.children)
653
+ /* @__PURE__ */ n.createElement("tr", { className: "k-table-row", style: { touchAction: "none" }, role: "row", "aria-rowindex": this.props.ariaRowIndex }, this.props.children)
655
654
  );
656
655
  }
657
656
  }
658
- class qt extends l.Component {
657
+ class $t extends n.Component {
659
658
  constructor() {
660
659
  super(...arguments), this.state = {
661
660
  show: !1
@@ -682,15 +681,15 @@ class qt extends l.Component {
682
681
  this.willBlur = this.state.show && t.currentTarget === this._anchor;
683
682
  }, this.onAnchorKeyDown = (t) => {
684
683
  var s;
685
- if (t.keyCode === me.tab) {
684
+ if (t.keyCode === Ce.tab) {
686
685
  const o = t.target, e = o && ((s = o.closest(".k-grid")) == null ? void 0 : s.getElementsByClassName("k-grid-content")[0]);
687
686
  e && e.scrollWidth > e.clientWidth && o.scrollIntoView({ inline: "center" });
688
687
  }
689
688
  };
690
689
  }
691
690
  render() {
692
- const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = G(this), r = o.title || o.field, n = r ? `${r} ` : "";
693
- return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
691
+ const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = D(this), r = o.title || o.field, l = r ? `${r} ` : "";
692
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
694
693
  "a",
695
694
  {
696
695
  className: "k-grid-header-menu k-grid-column-menu",
@@ -699,17 +698,17 @@ class qt extends l.Component {
699
698
  onMouseDown: this.onAnchorMouseDown,
700
699
  onKeyDown: this.onAnchorKeyDown,
701
700
  href: "#",
702
- "aria-label": `${n}${e.toLanguageString(Ge, k[Ge])}`
701
+ "aria-label": `${l}${e.toLanguageString(Me, k[Me])}`
703
702
  },
704
- /* @__PURE__ */ l.createElement(O, { name: "filter", icon: Ce })
705
- ), /* @__PURE__ */ l.createElement(
706
- Ks,
703
+ /* @__PURE__ */ n.createElement(O, { name: "filter", icon: be })
704
+ ), /* @__PURE__ */ n.createElement(
705
+ Us,
707
706
  {
708
707
  anchor: this._anchor,
709
708
  show: this.state.show,
710
709
  popupClass: "k-column-menu k-column-menu-popup k-grid-columnmenu-popup"
711
710
  },
712
- /* @__PURE__ */ l.createElement(
711
+ /* @__PURE__ */ n.createElement(
713
712
  "div",
714
713
  {
715
714
  ref: (a) => this._content = a,
@@ -718,7 +717,7 @@ class qt extends l.Component {
718
717
  onFocus: this.focus,
719
718
  style: { outline: "none" }
720
719
  },
721
- t && /* @__PURE__ */ l.createElement(
720
+ t && /* @__PURE__ */ n.createElement(
722
721
  t,
723
722
  {
724
723
  ...s,
@@ -729,14 +728,14 @@ class qt extends l.Component {
729
728
  ));
730
729
  }
731
730
  }
732
- class dr extends l.Component {
731
+ class ur extends n.Component {
733
732
  /**
734
733
  * @hidden
735
734
  */
736
735
  render() {
737
736
  const { columnMenuWrapperProps: t } = this.props, s = this.props.onClick ? {
738
737
  onClick: this.props.onClick
739
- } : {}, o = /* @__PURE__ */ l.createElement("span", { className: "k-cell-inner" }, /* @__PURE__ */ l.createElement(
738
+ } : {}, o = /* @__PURE__ */ n.createElement("span", { className: "k-cell-inner" }, /* @__PURE__ */ n.createElement(
740
739
  "span",
741
740
  {
742
741
  className: y(
@@ -747,35 +746,35 @@ class dr extends l.Component {
747
746
  ),
748
747
  ...s
749
748
  },
750
- /* @__PURE__ */ l.createElement("span", { className: "k-column-title" }, this.props.title || this.props.field || " "),
749
+ /* @__PURE__ */ n.createElement("span", { className: "k-column-title" }, this.props.title || this.props.field || " "),
751
750
  this.props.children
752
- ), t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t }));
751
+ ), t.columnMenu && /* @__PURE__ */ n.createElement($t, { ...t }));
753
752
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
754
753
  }
755
754
  }
756
- const pr = {
755
+ const gr = {
757
756
  true: { asc: "desc", desc: "", "": "asc" },
758
757
  false: { asc: "desc", desc: "asc", "": "asc" }
759
- }, ur = {
758
+ }, fr = {
760
759
  none: "none",
761
760
  asc: "ascending",
762
761
  desc: "descending"
763
762
  };
764
- class $t extends l.Component {
763
+ class jt extends n.Component {
765
764
  constructor(t) {
766
765
  super(t), this.serviceIndex = 0, this.index = -1, this.cellKeyDown = (s, o) => {
767
- s.isDefaultPrevented() || s.keyCode === me.enter && this.cellClick(s, o);
766
+ s.isDefaultPrevented() || s.keyCode === Ce.enter && this.cellClick(s, o);
768
767
  }, this.cells = (s) => s.map((o) => {
769
- const e = this.props.columns[o], r = this.props.sortable && e.sortable, n = this.props.sort ? this.props.sort.findIndex((v) => v.field === e.field) : -1, a = n >= 0 && this.props.sort[n].dir || "none", c = e.columnMenu === null ? null : e.columnMenu || this.props.columnMenu, h = y({
768
+ const e = this.props.columns[o], r = this.props.sortable && e.sortable, l = this.props.sort ? this.props.sort.findIndex((v) => v.field === e.field) : -1, a = l >= 0 && this.props.sort[l].dir || "none", c = e.columnMenu === null ? null : e.columnMenu || this.props.columnMenu, h = y({
770
769
  "k-first": e.kFirst,
771
770
  "k-filterable": !!c,
772
771
  "k-table-th": !0,
773
772
  "k-header": !0,
774
773
  "k-grid-header-sticky": e.locked,
775
774
  "k-sorted": this.props.sort && this.props.sort.some((v) => v.field === e.field)
776
- }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = G(this).toLanguageString(Pe, k[Pe]);
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]);
777
776
  let m = e.isAccessible ? {
778
- ariaSort: ur[a],
777
+ ariaSort: fr[a],
779
778
  role: "columnheader",
780
779
  ariaColumnIndex: e.ariaColumnIndex,
781
780
  ariaSelected: !1,
@@ -783,7 +782,7 @@ class $t extends l.Component {
783
782
  } : {
784
783
  role: "presentation"
785
784
  };
786
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : dr, E = /* @__PURE__ */ l.createElement(
785
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : ur, E = /* @__PURE__ */ n.createElement(
787
786
  b,
788
787
  {
789
788
  key: 1,
@@ -793,7 +792,7 @@ class $t extends l.Component {
793
792
  title: e.title,
794
793
  selectionValue: e.headerSelectionValue,
795
794
  render: this.props.cellRender,
796
- children: this.sortIcon(n),
795
+ children: this.sortIcon(l),
797
796
  columnMenuWrapperProps: {
798
797
  column: {
799
798
  field: e.field,
@@ -828,21 +827,21 @@ class $t extends l.Component {
828
827
  role: "columnheader"
829
828
  }, x = [
830
829
  E,
831
- this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ l.createElement(
832
- Ss,
830
+ this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ n.createElement(
831
+ ws,
833
832
  {
834
833
  key: 2,
835
- resize: (v, _, D) => this.props.columnResize && this.props.columnResize.dragHandler(v, e, _, D),
834
+ resize: (v, _, T) => this.props.columnResize && this.props.columnResize.dragHandler(v, e, _, T),
836
835
  autofit: (v) => this.props.columnResize && this.props.columnResize.dblClickHandler(v, [e.id])
837
836
  }
838
837
  )
839
- ], I = be(this.props.cells, e.cells);
840
- if (I && I.headerCell) {
841
- const v = I.headerCell;
842
- return /* @__PURE__ */ l.createElement(v, { key: u, thProps: C, index: o }, x);
838
+ ], S = xe(this.props.cells, e.cells);
839
+ if (S && S.headerCell) {
840
+ const v = S.headerCell;
841
+ return /* @__PURE__ */ n.createElement(v, { key: u, thProps: C, index: o }, x);
843
842
  }
844
- return /* @__PURE__ */ l.createElement(
845
- Dt,
843
+ return /* @__PURE__ */ n.createElement(
844
+ Gt,
846
845
  {
847
846
  ...C,
848
847
  key: u
@@ -854,24 +853,24 @@ class $t extends l.Component {
854
853
  cellClick(t, s) {
855
854
  if (t.preventDefault(), !this.props.sortChange)
856
855
  return;
857
- const { allowUnsort: o, mode: e } = Ut(this.props.sortable || !1, s.sortable || !1), r = (this.props.sort || []).filter((c) => c.field === s.field)[0], n = pr[o][r && r.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((c) => c.field !== s.field);
858
- n !== "" && s.field && a.push({ field: s.field, dir: n }), this.props.sortChange(a, t);
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);
857
+ l !== "" && s.field && a.push({ field: s.field, dir: l }), this.props.sortChange(a, t);
859
858
  }
860
859
  sortIcon(t) {
861
860
  return this.props.sort ? t >= 0 && [
862
- /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-sort-icon" }, /* @__PURE__ */ l.createElement(
861
+ /* @__PURE__ */ n.createElement("span", { key: 1, className: "k-sort-icon" }, /* @__PURE__ */ n.createElement(
863
862
  O,
864
863
  {
865
864
  name: "sort-" + this.props.sort[t].dir + "-small",
866
- icon: this.props.sort[t].dir === "asc" ? Ve : Ue
865
+ icon: this.props.sort[t].dir === "asc" ? qe : $e
867
866
  }
868
867
  )),
869
- 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))
868
+ this.props.sort.length > 1 && /* @__PURE__ */ n.createElement("span", { key: 2, className: "k-sort-icon" }, /* @__PURE__ */ n.createElement("span", { className: "k-sort-order" }, t + 1))
870
869
  ] : null;
871
870
  }
872
871
  render() {
873
- return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ l.createElement(
874
- hr,
872
+ return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ n.createElement(
873
+ pr,
875
874
  {
876
875
  key: s,
877
876
  pressHandler: this.props.pressHandler,
@@ -883,14 +882,14 @@ class $t extends l.Component {
883
882
  containerRef: this.props.containerRef
884
883
  },
885
884
  this.cells(t)
886
- ) || /* @__PURE__ */ l.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
885
+ ) || /* @__PURE__ */ n.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
887
886
  }
888
887
  }
889
- M($t);
890
- const gr = [
888
+ M(jt);
889
+ const mr = [
891
890
  { text: "grid.filterAndLogic", operator: "and" },
892
891
  { text: "grid.filterOrLogic", operator: "or" }
893
- ], xt = {
892
+ ], kt = {
894
893
  text: [
895
894
  { text: "grid.filterContainsOperator", operator: "contains" },
896
895
  { text: "grid.filterNotContainsOperator", operator: "doesnotcontain" },
@@ -929,17 +928,17 @@ const gr = [
929
928
  }, L = (i) => i === "isnull" || i === "isnotnull" || i === "isempty" || i === "isnotempty", re = (i, t) => i.map((s) => ({
930
929
  text: t.toLanguageString(s.text, k[s.text]),
931
930
  operator: s.operator
932
- })), fr = "eq", jt = [
931
+ })), Cr = "eq", Xt = [
933
932
  { text: "grid.filterBooleanAll", operator: "" },
934
933
  { text: "grid.filterIsTrue", operator: !0 },
935
934
  { text: "grid.filterIsFalse", operator: !1 }
936
- ], mr = {
935
+ ], br = {
937
936
  text: !1,
938
937
  numeric: !1,
939
938
  date: !1,
940
939
  boolean: !0
941
- }, Xt = (i, t, s) => {
942
- const o = Yt(s.operators);
940
+ }, Yt = (i, t, s) => {
941
+ const o = Jt(s.operators);
943
942
  let e = s.operator;
944
943
  switch (s.filterType) {
945
944
  case "numeric":
@@ -955,25 +954,25 @@ const gr = [
955
954
  return;
956
955
  }
957
956
  s.onChange({ value: i, operator: e, syntheticEvent: t });
958
- }, Yt = (i, t) => t ? i[t][0].operator : i[0].operator, We = (i) => i || "text", Jt = (i, t) => {
957
+ }, Jt = (i, t) => t ? i[t][0].operator : i[0].operator, Ke = (i) => i || "text", Qt = (i, t) => {
959
958
  const s = i.target.value;
960
959
  t({
961
960
  value: s.operator,
962
- operator: s.operator === "" ? "" : fr,
961
+ operator: s.operator === "" ? "" : Cr,
963
962
  syntheticEvent: i.syntheticEvent
964
963
  });
965
- }, Qt = (i, t, s) => {
964
+ }, Zt = (i, t, s) => {
966
965
  let o = t;
967
966
  const e = i.target.value;
968
967
  i.target.state.opened && (L(e.operator) && (o = null), t === null && !L(e.operator) && (o = void 0), s({ value: o, operator: e.operator, syntheticEvent: i.syntheticEvent }));
969
968
  };
970
- class Zt extends l.Component {
969
+ class es extends n.Component {
971
970
  constructor(t) {
972
- super(t), this._inputRef = l.createRef(), this.renderOperatorEditor = (s) => {
971
+ super(t), this._inputRef = n.createRef(), this.renderOperatorEditor = (s) => {
973
972
  if (this.props.filterType === "boolean")
974
973
  return;
975
974
  const o = this.props.operators.find((e) => e.operator === this.props.operator) || null;
976
- return /* @__PURE__ */ l.createElement(
975
+ return /* @__PURE__ */ n.createElement(
977
976
  ie,
978
977
  {
979
978
  size: this.props.size,
@@ -981,10 +980,10 @@ class Zt extends l.Component {
981
980
  onChange: this.operatorChange,
982
981
  className: "k-dropdown-operator",
983
982
  iconClassName: "k-i-filter k-icon",
984
- svgIcon: Ce,
983
+ svgIcon: be,
985
984
  data: this.props.operators,
986
985
  textField: "text",
987
- title: s.toLanguageString(Oe, k[Oe]),
986
+ title: s.toLanguageString(_e, k[_e]),
988
987
  popupSettings: {
989
988
  width: ""
990
989
  }
@@ -996,12 +995,12 @@ class Zt extends l.Component {
996
995
  * @hidden
997
996
  */
998
997
  render() {
999
- const t = G(this), s = /* @__PURE__ */ l.createElement("div", { className: "k-filtercell" }, /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-wrapper" }, this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues), /* @__PURE__ */ l.createElement("div", { className: "k-filtercell-operator" }, this.renderOperatorEditor(t), " ", /* @__PURE__ */ l.createElement(
998
+ const t = D(this), s = /* @__PURE__ */ n.createElement("div", { className: "k-filtercell" }, /* @__PURE__ */ n.createElement("div", { className: "k-filtercell-wrapper" }, this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues), /* @__PURE__ */ n.createElement("div", { className: "k-filtercell-operator" }, this.renderOperatorEditor(t), " ", /* @__PURE__ */ n.createElement(
1000
999
  W,
1001
1000
  {
1002
1001
  size: this.props.size,
1003
1002
  icon: "filter-clear",
1004
- svgIcon: Hs,
1003
+ svgIcon: Ls,
1005
1004
  className: y({
1006
1005
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1007
1006
  }),
@@ -1014,13 +1013,13 @@ class Zt extends l.Component {
1014
1013
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1015
1014
  }
1016
1015
  inputChange(t, s) {
1017
- Xt(t, s, this.props);
1016
+ Yt(t, s, this.props);
1018
1017
  }
1019
1018
  operatorChange(t) {
1020
- Qt(t, this.props.value, this.props.onChange);
1019
+ Zt(t, this.props.value, this.props.onChange);
1021
1020
  }
1022
1021
  boolDropdownChange(t) {
1023
- Jt(t, this.props.onChange);
1022
+ Qt(t, this.props.onChange);
1024
1023
  }
1025
1024
  clear(t) {
1026
1025
  t.preventDefault(), this.props.onChange({ value: "", operator: "", syntheticEvent: t }), this._inputRef.current && (this._inputRef.current.element.value = "", setTimeout(() => {
@@ -1030,8 +1029,8 @@ class Zt extends l.Component {
1030
1029
  filterComponent(t, s, o) {
1031
1030
  switch (t) {
1032
1031
  case "numeric":
1033
- return /* @__PURE__ */ l.createElement(
1034
- qe,
1032
+ return /* @__PURE__ */ n.createElement(
1033
+ je,
1035
1034
  {
1036
1035
  ref: this._inputRef,
1037
1036
  size: this.props.size,
@@ -1044,8 +1043,8 @@ class Zt extends l.Component {
1044
1043
  }
1045
1044
  );
1046
1045
  case "date":
1047
- return /* @__PURE__ */ l.createElement(
1048
- $e,
1046
+ return /* @__PURE__ */ n.createElement(
1047
+ Xe,
1049
1048
  {
1050
1049
  ref: this._inputRef,
1051
1050
  size: this.props.size,
@@ -1059,7 +1058,7 @@ class Zt extends l.Component {
1059
1058
  );
1060
1059
  case "boolean": {
1061
1060
  const e = (r) => r == null;
1062
- return /* @__PURE__ */ l.createElement(
1061
+ return /* @__PURE__ */ n.createElement(
1063
1062
  ie,
1064
1063
  {
1065
1064
  ref: this._inputRef,
@@ -1074,8 +1073,8 @@ class Zt extends l.Component {
1074
1073
  );
1075
1074
  }
1076
1075
  default:
1077
- return /* @__PURE__ */ l.createElement(
1078
- Ht,
1076
+ return /* @__PURE__ */ n.createElement(
1077
+ zt,
1079
1078
  {
1080
1079
  ref: this._inputRef,
1081
1080
  size: this.props.size,
@@ -1090,9 +1089,9 @@ class Zt extends l.Component {
1090
1089
  }
1091
1090
  }
1092
1091
  }
1093
- M(Zt);
1094
- const Cr = "k-table-row k-filter-row";
1095
- class es extends l.Component {
1092
+ M(es);
1093
+ const xr = "k-table-row k-filter-row";
1094
+ class ts extends n.Component {
1096
1095
  headerCellClassName(t, s) {
1097
1096
  let o = `${s ? "k-grid-header-sticky" : ""}`;
1098
1097
  return this.props.sort && this.props.sort.filter((e) => e.field === t).length > 0 && (o += " k-sorted"), o;
@@ -1109,20 +1108,20 @@ class es extends l.Component {
1109
1108
  const h = c;
1110
1109
  h && h.field !== o && r.push(h);
1111
1110
  });
1112
- const n = this.props.filter && this.props.filter.logic ? this.props.filter.logic : "and";
1113
- this.props.filterChange(r.length > 0 ? { logic: n, filters: r } : null, e);
1111
+ const l = this.props.filter && this.props.filter.logic ? this.props.filter.logic : "and";
1112
+ this.props.filterChange(r.length > 0 ? { logic: l, filters: r } : null, e);
1114
1113
  }
1115
1114
  render() {
1116
- const t = G(this), s = this.props.filter && this.props.filter.filters || [], o = (a) => {
1115
+ const t = D(this), s = this.props.filter && this.props.filter.filters || [], o = (a) => {
1117
1116
  if (a === void 0)
1118
1117
  return;
1119
1118
  const c = s.filter((h) => h.field === a);
1120
1119
  return c.length ? c[0] : void 0;
1121
1120
  };
1122
1121
  let e = 0, r = -1;
1123
- const n = this.props.columns.filter((a) => a.children.length === 0).map(
1122
+ const l = this.props.columns.filter((a) => a.children.length === 0).map(
1124
1123
  (a) => {
1125
- const c = We(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Ae, k[Ae]) : void 0;
1124
+ const c = Ke(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Be, k[Be]) : void 0;
1126
1125
  let g = h && h.value;
1127
1126
  g === void 0 && (g = c === "text" ? "" : null);
1128
1127
  const m = a.filterable && {
@@ -1132,7 +1131,7 @@ class es extends l.Component {
1132
1131
  value: g,
1133
1132
  operator: h && h.operator,
1134
1133
  operators: re(this.props.filterOperators[c] || [], t),
1135
- booleanValues: re(jt, t),
1134
+ booleanValues: re(Xt, t),
1136
1135
  filterType: c,
1137
1136
  ariaLabel: d,
1138
1137
  onChange: (v) => {
@@ -1148,13 +1147,13 @@ class es extends l.Component {
1148
1147
  className: y("k-table-th", this.headerCellClassName(a.field, a.locked) || void 0),
1149
1148
  role: "columnheader",
1150
1149
  ...b
1151
- }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Zt, { size: this.props.size, ...m })), I = be(this.props.cells, a.cells);
1152
- if (I && I.filterCell) {
1153
- const v = I.filterCell;
1154
- return /* @__PURE__ */ l.createElement(v, { key: u, ...m, thProps: C, index: r }, x);
1150
+ }, x = m && (a.filterCell ? /* @__PURE__ */ n.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ n.createElement(es, { size: this.props.size, ...m })), S = xe(this.props.cells, a.cells);
1151
+ if (S && S.filterCell) {
1152
+ const v = S.filterCell;
1153
+ return /* @__PURE__ */ n.createElement(v, { key: u, ...m, thProps: C, index: r }, x);
1155
1154
  }
1156
- return /* @__PURE__ */ l.createElement(
1157
- Dt,
1155
+ return /* @__PURE__ */ n.createElement(
1156
+ Gt,
1158
1157
  {
1159
1158
  key: u,
1160
1159
  ...C
@@ -1163,11 +1162,11 @@ class es extends l.Component {
1163
1162
  );
1164
1163
  }
1165
1164
  );
1166
- return /* @__PURE__ */ l.createElement("tr", { className: Cr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1165
+ return /* @__PURE__ */ n.createElement("tr", { className: xr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, l);
1167
1166
  }
1168
1167
  }
1169
- M(es);
1170
- class ts extends l.Component {
1168
+ M(ts);
1169
+ class ss extends n.Component {
1171
1170
  constructor() {
1172
1171
  super(...arguments), this.draggable = null, this.onPress = (t) => {
1173
1172
  const s = this.draggable && this.draggable.element;
@@ -1195,8 +1194,8 @@ class ts extends l.Component {
1195
1194
  }
1196
1195
  render() {
1197
1196
  const { dir: t } = this.props;
1198
- return /* @__PURE__ */ l.createElement(
1199
- Rt,
1197
+ return /* @__PURE__ */ n.createElement(
1198
+ Nt,
1200
1199
  {
1201
1200
  onPress: this.onPress,
1202
1201
  onDrag: this.onDrag,
@@ -1205,7 +1204,7 @@ class ts extends l.Component {
1205
1204
  this.draggable = s;
1206
1205
  }
1207
1206
  },
1208
- /* @__PURE__ */ l.createElement(
1207
+ /* @__PURE__ */ n.createElement(
1209
1208
  "div",
1210
1209
  {
1211
1210
  className: "k-chip k-chip-md k-chip-solid k-chip-solid-base k-rounded-md",
@@ -1214,26 +1213,26 @@ class ts extends l.Component {
1214
1213
  role: "button",
1215
1214
  style: { touchAction: "none" }
1216
1215
  },
1217
- /* @__PURE__ */ l.createElement("span", null, /* @__PURE__ */ l.createElement(
1216
+ /* @__PURE__ */ n.createElement("span", null, /* @__PURE__ */ n.createElement(
1218
1217
  O,
1219
1218
  {
1220
1219
  name: "sort-" + t + "-small",
1221
- icon: t === "asc" ? Ve : Ue,
1220
+ icon: t === "asc" ? qe : $e,
1222
1221
  size: "small"
1223
1222
  }
1224
1223
  )),
1225
- /* @__PURE__ */ l.createElement("span", { className: "k-chip-content" }, this.props.title),
1226
- /* @__PURE__ */ l.createElement("span", { className: "k-chip-actions" }, /* @__PURE__ */ l.createElement(
1224
+ /* @__PURE__ */ n.createElement("span", { className: "k-chip-content" }, this.props.title),
1225
+ /* @__PURE__ */ n.createElement("span", { className: "k-chip-actions" }, /* @__PURE__ */ n.createElement(
1227
1226
  "span",
1228
1227
  {
1229
1228
  className: "k-chip-action k-chip-remove-action",
1230
1229
  onClick: this.groupRemove
1231
1230
  },
1232
- /* @__PURE__ */ l.createElement(
1231
+ /* @__PURE__ */ n.createElement(
1233
1232
  O,
1234
1233
  {
1235
1234
  name: "x-circle",
1236
- icon: zs,
1235
+ icon: Os,
1237
1236
  size: "small"
1238
1237
  }
1239
1238
  )
@@ -1242,20 +1241,20 @@ class ts extends l.Component {
1242
1241
  );
1243
1242
  }
1244
1243
  }
1245
- M(ts);
1246
- class ss extends l.Component {
1244
+ M(ss);
1245
+ class rs extends n.Component {
1247
1246
  constructor() {
1248
1247
  super(...arguments), this.onGroupRemove = (t, s) => {
1249
1248
  const o = this.props.group.slice();
1250
1249
  o.splice(s, 1), this.props.groupChange(o, t);
1251
1250
  }, this.onGroupSortChange = (t, s, o, e) => {
1252
- const r = Object.assign({}, o, { dir: e }), n = this.props.group.slice();
1253
- n.splice(s, 1, r), this.props.groupChange(n, t);
1251
+ const r = Object.assign({}, o, { dir: e }), l = this.props.group.slice();
1252
+ l.splice(s, 1, r), this.props.groupChange(l, t);
1254
1253
  };
1255
1254
  }
1256
1255
  render() {
1257
- const s = (this.props.group || []).map((o, e) => /* @__PURE__ */ l.createElement(
1258
- ts,
1256
+ const s = (this.props.group || []).map((o, e) => /* @__PURE__ */ n.createElement(
1257
+ ss,
1259
1258
  {
1260
1259
  key: e,
1261
1260
  index: e,
@@ -1264,8 +1263,8 @@ class ss extends l.Component {
1264
1263
  onRemove: (r) => {
1265
1264
  this.onGroupRemove(r, e);
1266
1265
  },
1267
- onSortChange: (r, n) => {
1268
- this.onGroupSortChange(r, e, o, n);
1266
+ onSortChange: (r, l) => {
1267
+ this.onGroupSortChange(r, e, o, l);
1269
1268
  },
1270
1269
  onPress: this.props.pressHandler,
1271
1270
  onDrag: this.props.dragHandler,
@@ -1273,24 +1272,24 @@ class ss extends l.Component {
1273
1272
  onContextMenu: this.props.onContextMenu
1274
1273
  }
1275
1274
  ));
1276
- return /* @__PURE__ */ l.createElement(
1275
+ return /* @__PURE__ */ n.createElement(
1277
1276
  "div",
1278
1277
  {
1279
1278
  ref: this.props.refCallback,
1280
1279
  className: "k-grouping-header",
1281
1280
  role: "toolbar",
1282
- "aria-label": G(this).toLanguageString(Be, k[Be]),
1281
+ "aria-label": D(this).toLanguageString(We, k[We]),
1283
1282
  "aria-controls": this.props.ariaControls || ""
1284
1283
  },
1285
- /* @__PURE__ */ l.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1286
- /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Te, k[Te]), " ")
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]), " ")
1287
1286
  );
1288
1287
  }
1289
1288
  }
1290
- M(ss);
1291
- class br extends l.Component {
1289
+ M(rs);
1290
+ class vr extends n.Component {
1292
1291
  constructor() {
1293
- super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = wt();
1292
+ super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = Ft();
1294
1293
  }
1295
1294
  componentDidMount() {
1296
1295
  this.setState({});
@@ -1310,13 +1309,13 @@ class br extends l.Component {
1310
1309
  this.table && (this.table.style.width = t + "px");
1311
1310
  }
1312
1311
  render() {
1313
- return this.props.staticHeaders ? /* @__PURE__ */ l.createElement(
1312
+ return this.props.staticHeaders ? /* @__PURE__ */ n.createElement(
1314
1313
  "div",
1315
1314
  {
1316
1315
  className: "k-grid-footer",
1317
1316
  role: "presentation"
1318
1317
  },
1319
- /* @__PURE__ */ l.createElement(
1318
+ /* @__PURE__ */ n.createElement(
1320
1319
  "div",
1321
1320
  {
1322
1321
  ref: (t) => {
@@ -1326,7 +1325,7 @@ class br extends l.Component {
1326
1325
  style: this.scrollbarWidth ? {} : { borderWidth: 0 },
1327
1326
  role: "presentation"
1328
1327
  },
1329
- /* @__PURE__ */ l.createElement(
1328
+ /* @__PURE__ */ n.createElement(
1330
1329
  "table",
1331
1330
  {
1332
1331
  ref: (t) => {
@@ -1342,26 +1341,26 @@ class br extends l.Component {
1342
1341
  ),
1343
1342
  role: "presentation"
1344
1343
  },
1345
- /* @__PURE__ */ l.createElement("colgroup", { ref: (t) => {
1344
+ /* @__PURE__ */ n.createElement("colgroup", { ref: (t) => {
1346
1345
  this.props.columnResize.colGroupFooter = t;
1347
1346
  }, role: "presentation" }, this.props.cols),
1348
- /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot", role: "presentation" }, this.props.row)
1347
+ /* @__PURE__ */ n.createElement("tfoot", { className: "k-table-tfoot", role: "presentation" }, this.props.row)
1349
1348
  )
1350
1349
  )
1351
- ) : /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1350
+ ) : /* @__PURE__ */ n.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1352
1351
  }
1353
1352
  }
1354
- class xr {
1353
+ class kr {
1355
1354
  constructor(t) {
1356
- 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) => {
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) => {
1357
1356
  if (!this.container || o)
1358
1357
  return { topItemsCount: 0, topItemsHeight: 0 };
1359
- const e = this.container.clientHeight, r = Math.ceil(e / s[0].line), n = Math.ceil((s.length - r) / 2);
1358
+ const e = this.container.clientHeight, r = Math.ceil(e / s[0].line), l = Math.ceil((s.length - r) / 2);
1360
1359
  let a = 0;
1361
- for (let c = 0; c < n; c++)
1360
+ for (let c = 0; c < l; c++)
1362
1361
  a += s[c].line + s[c].acc;
1363
1362
  return {
1364
- topItemsCount: n,
1363
+ topItemsCount: l,
1365
1364
  topItemsHeight: a,
1366
1365
  itemsNeededOnScreen: r + r / 2
1367
1366
  };
@@ -1409,12 +1408,12 @@ class xr {
1409
1408
  const s = this.rowHeights, o = this.container.scrollTop;
1410
1409
  let e = this.tableTranslate, r = 0;
1411
1410
  const {
1412
- topItemsCount: n,
1411
+ topItemsCount: l,
1413
1412
  topItemsHeight: a,
1414
1413
  itemsNeededOnScreen: c
1415
1414
  } = this.topItems(s, !!this.topCacheCount), h = o - e;
1416
1415
  if (!(h > a || s.length <= c)) {
1417
- for (; r < this.topCacheCount + this.attendedSkip - this.realSkip + n && this.propsSkip - r > 0 && !(e + (s[s.length - 1 - r].line + s[s.length - 1 - r].acc) + h <= o); )
1416
+ for (; r < this.topCacheCount + this.attendedSkip - this.realSkip + l && this.propsSkip - r > 0 && !(e + (s[s.length - 1 - r].line + s[s.length - 1 - r].acc) + h <= o); )
1418
1417
  e -= s[s.length - 1 - r].line + s[s.length - 1 - r].acc, r++;
1419
1418
  if (r === 0 && this.topCacheCount === 0 && this.attendedSkip > 0 && (e = Math.max(e - s[0].line, 0), r = 1), this.propsSkip - r <= 0 && e > o) {
1420
1419
  this.translate(0), this.changePage(0, t), this.container.scrollTop = 0;
@@ -1422,7 +1421,7 @@ class xr {
1422
1421
  }
1423
1422
  if (e > o && (e = o), e !== this.tableTranslate) {
1424
1423
  this.translate(Math.max(0, e - a));
1425
- const d = Math.max(0, this.propsSkip - r - n);
1424
+ const d = Math.max(0, this.propsSkip - r - l);
1426
1425
  this.changePage(d, t);
1427
1426
  }
1428
1427
  }
@@ -1433,13 +1432,13 @@ class xr {
1433
1432
  const s = this.rowHeights, o = this.container.scrollTop;
1434
1433
  let e = this.tableTranslate, r = 0;
1435
1434
  const {
1436
- topItemsCount: n,
1435
+ topItemsCount: l,
1437
1436
  topItemsHeight: a,
1438
1437
  itemsNeededOnScreen: c
1439
1438
  } = this.topItems(s, !!this.topCacheCount);
1440
1439
  for (; r < s.length - this.topCacheCount && !(e + s[r].line + s[r].acc > o); )
1441
1440
  e += s[r].line + s[r].acc, r++;
1442
- n > this.propsSkip + r || s.length <= c || (r >= s.length - this.topCacheCount && this.propsSkip + r >= this.total ? (this.translate(e - a), this.changePage(this.total - 1 - n, t)) : e !== this.tableTranslate && this.propsSkip + r - n !== this.propsSkip && (this.translate(e - a), this.changePage(this.propsSkip + r - n, t)));
1441
+ l > this.propsSkip + r || s.length <= c || (r >= s.length - this.topCacheCount && this.propsSkip + r >= this.total ? (this.translate(e - a), this.changePage(this.total - 1 - l, t)) : e !== this.tableTranslate && this.propsSkip + r - l !== this.propsSkip && (this.translate(e - a), this.changePage(this.propsSkip + r - l, t)));
1443
1442
  }
1444
1443
  scrollNonStrict(t) {
1445
1444
  const s = this.total * this.prevScrollPos / this.containerHeight;
@@ -1447,8 +1446,8 @@ class xr {
1447
1446
  o >= this.total && (o = this.total - 1);
1448
1447
  const e = Math.min(s - o, 1);
1449
1448
  let r = 0;
1450
- const n = o - this.propsSkip, a = this.rowHeights;
1451
- n >= 0 && n <= 1 ? r = -((a[0].line + a[0].acc) * e) : n === -1 && (r = -((a[a.length - 1].line + a[a.length - 1].acc) * e));
1449
+ const l = o - this.propsSkip, a = this.rowHeights;
1450
+ l >= 0 && l <= 1 ? r = -((a[0].line + a[0].acc) * e) : l === -1 && (r = -((a[a.length - 1].line + a[a.length - 1].acc) * e));
1452
1451
  const { topItemsCount: c, topItemsHeight: h } = this.topItems(a, !!this.topCacheCount);
1453
1452
  this.translate(Math.max(0, r - h - this.horizontalScrollbarHeight() + this.containerHeight * s / this.total)), this.changePage(o - c, t);
1454
1453
  }
@@ -1467,13 +1466,13 @@ class xr {
1467
1466
  s - o < 0 && s > this.tableTranslate - this.table.scrollHeight / 10 ? this.localScrollUp(t) : s - o > 0 && s < this.tableTranslate + this.table.scrollHeight * 2 / 3 ? this.localScrollDown(t) : this.scrollNonStrict(t), this.prevScrollPos = s;
1468
1467
  }
1469
1468
  }
1470
- class vt {
1469
+ class Et {
1471
1470
  constructor(t = 0, s, o, e) {
1472
1471
  this.total = t, this.offsets = [], this.heights = [];
1473
1472
  let r = 0;
1474
- for (let n = 0; n < t; n++) {
1473
+ for (let l = 0; l < t; l++) {
1475
1474
  this.offsets.push(r);
1476
- const a = e && e[n].expanded && e[n].rowType === "data" ? o : s;
1475
+ const a = e && e[l].expanded && e[l].rowType === "data" ? o : s;
1477
1476
  r += a, this.heights.push(a);
1478
1477
  }
1479
1478
  }
@@ -1501,15 +1500,15 @@ class vt {
1501
1500
  return t + s;
1502
1501
  }
1503
1502
  }
1504
- class kt {
1503
+ class St {
1505
1504
  constructor(t) {
1506
- this.table = null, this.containerHeight = 0, this.topCacheCount = 0, this.attendedSkip = 0, this.propsSkip = 0, this.total = 0, this.scrollableVirtual = !1, this.realSkip = 0, this.pageSize = 0, this.PageChange = null, this.tableBodyRef = l.createRef(), this.fixedScroll = !1, this.askedSkip = void 0, this.containerRef = l.createRef(), this.tableTransform = "", this.scrollSyncing = !1, this.lastLoaded = 0, this.firstLoaded = 0, this.lastScrollTop = 0, this.reactVersion = Number.parseFloat(l.version), this.firstLoaded = this.pageSize, this.lastLoaded = this.realSkip + this.pageSize, this.scrollHandler = this.scrollHandler.bind(this);
1505
+ 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.scrollSyncing = !1, this.lastLoaded = 0, this.firstLoaded = 0, this.lastScrollTop = 0, this.reactVersion = Number.parseFloat(n.version), this.firstLoaded = this.pageSize, this.lastLoaded = this.realSkip + this.pageSize, this.scrollHandler = this.scrollHandler.bind(this);
1507
1506
  }
1508
1507
  get container() {
1509
1508
  return this.containerRef.current;
1510
1509
  }
1511
1510
  translate(t, s) {
1512
- this.scrollableVirtual && this.table && (Ne || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1511
+ this.scrollableVirtual && this.table && (De || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1513
1512
  }
1514
1513
  changePage(t, s) {
1515
1514
  this.PageChange && this.PageChange({ skip: Math.max(0, t), take: this.pageSize }, s);
@@ -1526,11 +1525,11 @@ class kt {
1526
1525
  }
1527
1526
  const s = this.container.scrollTop, o = this.lastScrollTop >= s, e = !o;
1528
1527
  this.lastScrollTop = s;
1529
- let r = this.rowHeightService.index(s), n = this.rowHeightService.offset(r);
1528
+ let r = this.rowHeightService.index(s), l = this.rowHeightService.offset(r);
1530
1529
  const { offsetHeight: a } = this.containerRef.current, c = this.rowHeightService.index(s + a);
1531
1530
  if (e && c >= this.lastLoaded && this.lastLoaded < this.total) {
1532
1531
  const h = r + this.pageSize - this.total;
1533
- h > 0 && (r = r - h, n = this.rowHeightService.offset(r)), this.firstLoaded = r, this.translate(n);
1532
+ h > 0 && (r = r - h, l = this.rowHeightService.offset(r)), this.firstLoaded = r, this.translate(l);
1534
1533
  let d = this.firstLoaded + this.pageSize;
1535
1534
  this.lastLoaded = Math.min(d, this.total), this.changePage(this.firstLoaded, t);
1536
1535
  } else if (o && r < this.firstLoaded) {
@@ -1539,14 +1538,14 @@ class kt {
1539
1538
  }
1540
1539
  }
1541
1540
  }
1542
- const vr = 1, kr = 20;
1543
- class Er {
1541
+ const Er = 1, Sr = 20;
1542
+ class Ir {
1544
1543
  constructor(t) {
1545
1544
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1546
1545
  this.isRtl = s;
1547
1546
  }, this.dragHandler = (s, o, e, r) => {
1548
- const n = s.originalEvent;
1549
- r || (n.preventDefault(), n.stopPropagation(), n.stopImmediatePropagation());
1547
+ const l = s.originalEvent;
1548
+ r || (l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation());
1550
1549
  const a = e.closest("th");
1551
1550
  if (!a || !a)
1552
1551
  return;
@@ -1556,17 +1555,17 @@ class Er {
1556
1555
  return;
1557
1556
  this.fixateInitialWidths(a.parentElement.clientWidth), this.setWidths(o, Math.floor(h) / c);
1558
1557
  const d = this.columns.filter((g) => !g.children.length).findIndex((g) => g.id === o.id);
1559
- this.onResize(d, c, h, n, r, o.id);
1558
+ this.onResize(d, c, h, l, r, o.id);
1560
1559
  }, this.dblClickHandler = (s, o) => {
1561
1560
  const e = this.columns.filter((m) => o.indexOf(m.id) > -1);
1562
1561
  if (!this.colGroupMain || !e.length)
1563
1562
  return;
1564
- const r = {}, n = e;
1565
- for (; n.length > 0; ) {
1566
- const m = n.pop();
1563
+ const r = {}, l = e;
1564
+ for (; l.length > 0; ) {
1565
+ const m = l.pop();
1567
1566
  if (!m)
1568
1567
  break;
1569
- m.children.length ? n.push(...m.children) : r[m.id] = m;
1568
+ m.children.length ? l.push(...m.children) : r[m.id] = m;
1570
1569
  }
1571
1570
  const a = this.columns.filter((m) => !m.children.length), c = [];
1572
1571
  a.forEach((m, u) => {
@@ -1577,7 +1576,7 @@ class Er {
1577
1576
  let g = [];
1578
1577
  d.forEach((m) => {
1579
1578
  c.forEach((u) => {
1580
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + vr));
1579
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + Er));
1581
1580
  });
1582
1581
  }), d.forEach((m) => {
1583
1582
  c.forEach((u) => {
@@ -1588,14 +1587,14 @@ class Er {
1588
1587
  const o = this.columns.filter((r) => !r.children.length);
1589
1588
  let e = 1e-10;
1590
1589
  for (let r = 0; r < s.length; r++) {
1591
- const n = s[r], a = o.findIndex((g) => g.id === n.id), c = parseFloat((n.width || 0).toString()), h = Math.floor(c);
1590
+ const l = s[r], a = o.findIndex((g) => g.id === l.id), c = parseFloat((l.width || 0).toString()), h = Math.floor(c);
1592
1591
  e += c - h;
1593
1592
  const d = h + Math.floor(e);
1594
1593
  if (e -= Math.floor(e), this.colGroupMain && this.colGroupMain.children[a]) {
1595
1594
  const g = parseInt(this.colGroupMain.children[a].width, 10);
1596
1595
  this.colGroupMain.children[a].width = d + "px", this.updateNextLockedCol(
1597
1596
  this.colGroupMain.parentElement,
1598
- n,
1597
+ l,
1599
1598
  g - d
1600
1599
  );
1601
1600
  }
@@ -1603,7 +1602,7 @@ class Er {
1603
1602
  const g = parseInt(this.colGroupHeader.children[a].width, 10);
1604
1603
  this.colGroupHeader.children[a].width = d + "px", this.updateNextLockedCol(
1605
1604
  this.colGroupHeader.parentElement,
1606
- n,
1605
+ l,
1607
1606
  g - d
1608
1607
  );
1609
1608
  }
@@ -1611,7 +1610,7 @@ class Er {
1611
1610
  const g = parseInt(this.colGroupFooter.children[a].width, 10);
1612
1611
  this.colGroupFooter.children[a].width = d + "px", this.updateNextLockedCol(
1613
1612
  this.colGroupFooter.parentElement,
1614
- n,
1613
+ l,
1615
1614
  g - d
1616
1615
  );
1617
1616
  }
@@ -1619,34 +1618,34 @@ class Er {
1619
1618
  }, this.onResize = t;
1620
1619
  }
1621
1620
  fixateInitialWidths(t) {
1622
- const s = this.columns.filter((n) => !n.children.length);
1621
+ const s = this.columns.filter((l) => !l.children.length);
1623
1622
  let o = 0, e = this.colGroupMain ? this.colGroupMain.children : [];
1624
- for (let n = 0; n < e.length; n++)
1625
- e[n].width ? t -= parseFloat(e[n].width) : o++;
1623
+ for (let l = 0; l < e.length; l++)
1624
+ e[l].width ? t -= parseFloat(e[l].width) : o++;
1626
1625
  if (o === 0)
1627
1626
  return;
1628
1627
  const r = Math.floor(t / o);
1629
- for (let n = 0; n < e.length; n++) {
1630
- const a = e[n];
1631
- a.width || (a.width = r, s[n].width = r.toString(), this.colGroupHeader && (this.colGroupHeader.children[n].width = r), this.colGroupFooter && (this.colGroupFooter.children[n].width = r));
1628
+ for (let l = 0; l < e.length; l++) {
1629
+ const a = e[l];
1630
+ a.width || (a.width = r, s[l].width = r.toString(), this.colGroupHeader && (this.colGroupHeader.children[l].width = r), this.colGroupFooter && (this.colGroupFooter.children[l].width = r));
1632
1631
  }
1633
1632
  }
1634
1633
  setWidths(t, s) {
1635
- const o = this.columns.findIndex((n) => n.id === t.id), e = [];
1634
+ const o = this.columns.findIndex((l) => l.id === t.id), e = [];
1636
1635
  let r = t.children.length;
1637
- for (let n = o + 1; r > 0 && n < this.columns.length; n++, r--) {
1638
- const a = this.columns[n];
1636
+ for (let l = o + 1; r > 0 && l < this.columns.length; l++, r--) {
1637
+ const a = this.columns[l];
1639
1638
  a.children.length ? r += a.children.length : e.push(a);
1640
1639
  }
1641
- return e.length === 0 && e.push(t), e.forEach((n) => {
1642
- let a = n.width ? parseFloat(n.width.toString()) * s : 0;
1643
- const c = n.minResizableWidth === void 0 ? 10 : n.minResizableWidth;
1644
- a < c && (a = c), n.width = a;
1640
+ return e.length === 0 && e.push(t), e.forEach((l) => {
1641
+ let a = l.width ? parseFloat(l.width.toString()) * s : 0;
1642
+ const c = l.minResizableWidth === void 0 ? 10 : l.minResizableWidth;
1643
+ a < c && (a = c), l.width = a;
1645
1644
  }), this.updateColElements(e), e;
1646
1645
  }
1647
1646
  updateNextLockedCol(t, s, o) {
1648
- const e = s.index, r = this.colGroupMain.parentElement.closest(".k-grid"), n = r == null ? void 0 : r.clientWidth, a = this.columns.filter((c) => c.locked).map((c) => parseInt(c.width + "", 10)).reduce((c, h) => c + h, 0);
1649
- !s.locked || n <= a + kr || this.columns.forEach((c) => {
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) => {
1650
1649
  if (c != null && c.locked && o) {
1651
1650
  const h = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + c.ariaColumnIndex + '"]');
1652
1651
  h == null || h.forEach((d) => {
@@ -1657,31 +1656,31 @@ class Er {
1657
1656
  });
1658
1657
  }
1659
1658
  }
1660
- class Ir {
1659
+ class yr {
1661
1660
  constructor(t, s, o) {
1662
- 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) => {
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) => {
1663
1662
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
1664
1663
  }, this.pressHandler = (e, r) => {
1665
- const n = this.getColumnIndex(e, r);
1666
- if (this.startGroup = this.getGroupIndex(e), n >= 0) {
1667
- const a = this.columns[n];
1668
- (a.reorderable && this.reorderable || a.groupable && this.groupable) && (this.startColumn = n);
1664
+ const l = this.getColumnIndex(e, r);
1665
+ if (this.startGroup = this.getGroupIndex(e), l >= 0) {
1666
+ const a = this.columns[l];
1667
+ (a.reorderable && this.reorderable || a.groupable && this.groupable) && (this.startColumn = l);
1669
1668
  }
1670
1669
  }, this.dragHandler = (e, r) => {
1671
1670
  if (e.isTouch || e.originalEvent.preventDefault(), e.originalEvent.stopPropagation(), this.startColumn === -1 && this.startGroup === -1)
1672
1671
  return;
1673
1672
  this.currentColumn = this.getColumnIndex(e, r);
1674
- const n = this.groupPanelDivElement && this.groupPanelDivElement.children;
1675
- this.currentGroup = this.isTargetGroupingContainer(e) ? n && n.length ? n.length : 0 : this.getGroupIndex(e);
1673
+ const l = this.groupPanelDivElement && this.groupPanelDivElement.children;
1674
+ this.currentGroup = this.isTargetGroupingContainer(e) ? l && l.length ? l.length : 0 : this.getGroupIndex(e);
1676
1675
  const a = !this.isValid();
1677
1676
  a && (this.currentColumn = -1, this.currentGroup = -1);
1678
1677
  const c = this.currentColumn >= 0 ? r.children[this.columns[this.currentColumn].index] : this.isTargetGroupingContainer(e) ? e.originalEvent.target : this.groupPanelDivElement && this.groupPanelDivElement.children[this.currentGroup];
1679
1678
  this.updateDragElementClue(e, r, c, a), this.updateDropElementClue(e, r, c, a);
1680
1679
  }, this.releaseHandler = (e) => {
1681
- const r = this.startColumn, n = this.currentColumn, a = this.startGroup, c = this.currentGroup;
1680
+ const r = this.startColumn, l = this.currentColumn, a = this.startGroup, c = this.currentGroup;
1682
1681
  e.originalEvent.preventDefault(), this.dropElementClue && this.dropElementClue.setState({ visible: !1 }), this.dragElementClue && this.dragElementClue.setState({ visible: !1 });
1683
1682
  const h = this.isValid();
1684
- this.startColumn = this.startGroup = this.currentColumn = this.currentGroup = -1, h && (r >= 0 && n >= 0 ? this.columnReorder(r, n, e.originalEvent) : a >= 0 && c >= 0 ? this.groupReorder(a, c, e.originalEvent) : r >= 0 && c >= 0 && this.columnToGroup(r, c, e.originalEvent));
1683
+ this.startColumn = this.startGroup = this.currentColumn = this.currentGroup = -1, h && (r >= 0 && l >= 0 ? this.columnReorder(r, l, e.originalEvent) : a >= 0 && c >= 0 ? this.groupReorder(a, c, e.originalEvent) : r >= 0 && c >= 0 && this.columnToGroup(r, c, e.originalEvent));
1685
1684
  }, this.columnReorder = t, this.groupReorder = s, this.columnToGroup = o;
1686
1685
  }
1687
1686
  get dragClueRef() {
@@ -1699,7 +1698,7 @@ class Ir {
1699
1698
  getColumnIndex(t, s) {
1700
1699
  if (!s || s.parentElement === this.groupPanelDivElement)
1701
1700
  return -1;
1702
- const o = ct(t, s);
1701
+ const o = dt(t, s);
1703
1702
  if (o === -1)
1704
1703
  return -1;
1705
1704
  for (let e = 0; e < s.parentNode.children.length; e++)
@@ -1712,7 +1711,7 @@ class Ir {
1712
1711
  return s.className.indexOf ? s.className.indexOf("k-grouping-drop-container") !== -1 : !1;
1713
1712
  }
1714
1713
  getGroupIndex(t) {
1715
- return ct(t, this.groupPanelDivElement);
1714
+ return dt(t, this.groupPanelDivElement);
1716
1715
  }
1717
1716
  isValid() {
1718
1717
  return this.startGroup >= 0 ? this.currentGroup >= 0 && this.currentGroup !== this.startGroup : this.startColumn === -1 ? !1 : this.currentGroup >= 0 ? this.columns[this.startColumn].groupable === !0 && this.groupable === !0 : this.reorderable === !0 && this.currentColumn >= 0 && this.currentColumn !== this.startColumn && this.columns[this.startColumn].reorderable === !0 && this.columns[this.currentColumn].parentIndex === this.columns[this.startColumn].parentIndex;
@@ -1748,21 +1747,21 @@ class Ir {
1748
1747
  });
1749
1748
  }
1750
1749
  }
1751
- const Sr = (i) => {
1750
+ const wr = (i) => {
1752
1751
  let t = null;
1753
- const s = Ts(), o = q(i.id), e = l.useCallback((h) => {
1752
+ const s = Ms(), o = q(i.id), e = n.useCallback((h) => {
1754
1753
  i.onContextMenu && i.onContextMenu.call(void 0, h, i.dataItem, i.field);
1755
1754
  }, [i.onContextMenu, i.dataItem, i.field]);
1756
- let r = null, n = null;
1755
+ let r = null, l = null;
1757
1756
  if (i.rowType === "groupFooter")
1758
1757
  r = {
1759
1758
  onContextMenu: e,
1760
1759
  className: i.className
1761
- }, t = /* @__PURE__ */ l.createElement("td", { ...r });
1760
+ }, t = /* @__PURE__ */ n.createElement("td", { ...r });
1762
1761
  else if (i.rowType !== "groupHeader") {
1763
1762
  if (i.field !== void 0) {
1764
- const d = T(i.field, i.dataItem);
1765
- d != null && (n = i.format ? s.format(i.format, d) : d.toString());
1763
+ const d = G(i.field, i.dataItem);
1764
+ d != null && (l = i.format ? s.format(i.format, d) : d.toString());
1766
1765
  }
1767
1766
  const h = y(
1768
1767
  "k-table-td",
@@ -1779,36 +1778,36 @@ const Sr = (i) => {
1779
1778
  "aria-selected": i.isSelected,
1780
1779
  [se]: i.columnIndex,
1781
1780
  ...o
1782
- }, t = /* @__PURE__ */ l.createElement("td", { ...r }, n);
1781
+ }, t = /* @__PURE__ */ n.createElement("td", { ...r }, l);
1783
1782
  }
1784
1783
  const a = i.rowType || "data", c = i.cells;
1785
1784
  if (c && c[a]) {
1786
1785
  const h = c[a];
1787
- return /* @__PURE__ */ l.createElement(h, { ...i, tdProps: r }, n);
1786
+ return /* @__PURE__ */ n.createElement(h, { ...i, tdProps: r }, l);
1788
1787
  }
1789
1788
  return i.render ? i.render.call(void 0, t, i) : t;
1790
- }, Et = (i) => {
1789
+ }, It = (i) => {
1791
1790
  let t = null;
1792
- const { columnIndex: s, level: o, columnsCount: e, rowType: r, dataItem: n, field: a, onChange: c, expanded: h, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = i, b = a || "", E = q(i.id), C = Tt();
1793
- let x = null, I = null, v = null;
1794
- const _ = l.useCallback(
1791
+ const { columnIndex: s, level: o, columnsCount: e, rowType: r, dataItem: l, field: a, onChange: c, expanded: h, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = i, b = a || "", E = q(i.id), C = Ue();
1792
+ let x = null, S = null, v = null;
1793
+ const _ = n.useCallback(
1795
1794
  (F) => {
1796
- F.isDefaultPrevented() || F.keyCode === me.enter && c && (F.preventDefault(), c({
1797
- dataItem: n,
1795
+ F.isDefaultPrevented() || F.keyCode === Ce.enter && c && (F.preventDefault(), c({
1796
+ dataItem: l,
1798
1797
  dataIndex: g,
1799
1798
  syntheticEvent: F,
1800
1799
  field: void 0,
1801
1800
  value: !h
1802
1801
  }));
1803
1802
  },
1804
- [h, c, n, g]
1805
- ), D = l.useCallback((F) => {
1803
+ [h, c, l, g]
1804
+ ), T = n.useCallback((F) => {
1806
1805
  i.onContextMenu && i.onContextMenu.call(void 0, F, i.dataItem, i.field);
1807
- }, [i.onContextMenu, i.dataItem, i.field]), he = (F, ve) => {
1808
- const de = h ? Wt : Bt, ke = C.toLanguageString(de, k[de]);
1806
+ }, [i.onContextMenu, i.dataItem, i.field]), de = (F, ke) => {
1807
+ const pe = h ? Kt : Wt, Ee = C.toLanguageString(pe, k[pe]);
1809
1808
  return x = {
1810
1809
  className: "k-table-td",
1811
- style: { ...i.style, ...ve },
1810
+ style: { ...i.style, ...ke },
1812
1811
  colSpan: F,
1813
1812
  key: "g-colspan",
1814
1813
  role: "gridcell",
@@ -1816,14 +1815,14 @@ const Sr = (i) => {
1816
1815
  ["aria-expanded"]: h,
1817
1816
  ["aria-colindex"]: m,
1818
1817
  onKeyDown: _,
1819
- onContextMenu: D,
1818
+ onContextMenu: T,
1820
1819
  ...E
1821
- }, v = /* @__PURE__ */ l.createElement("p", { className: "k-reset" }, /* @__PURE__ */ l.createElement(
1820
+ }, v = /* @__PURE__ */ n.createElement("p", { className: "k-reset" }, /* @__PURE__ */ n.createElement(
1822
1821
  "a",
1823
1822
  {
1824
1823
  onClick: (J) => {
1825
1824
  J.preventDefault(), c && c({
1826
- dataItem: n,
1825
+ dataItem: l,
1827
1826
  dataIndex: g,
1828
1827
  syntheticEvent: J,
1829
1828
  field: void 0,
@@ -1832,16 +1831,16 @@ const Sr = (i) => {
1832
1831
  },
1833
1832
  href: "#",
1834
1833
  tabIndex: -1,
1835
- "aria-label": ke
1834
+ "aria-label": Ee
1836
1835
  },
1837
- /* @__PURE__ */ l.createElement(
1836
+ /* @__PURE__ */ n.createElement(
1838
1837
  O,
1839
1838
  {
1840
1839
  name: h ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1841
- icon: h ? Ls : u ? Os : _s
1840
+ icon: h ? _s : u ? Ps : As
1842
1841
  }
1843
1842
  )
1844
- ), n[b] instanceof Date && n[b].toString ? n[b].toString() : n[b]), /* @__PURE__ */ l.createElement(
1843
+ ), l[b] instanceof Date && l[b].toString ? l[b].toString() : l[b]), /* @__PURE__ */ n.createElement(
1845
1844
  "td",
1846
1845
  {
1847
1846
  ...x,
@@ -1850,7 +1849,7 @@ const Sr = (i) => {
1850
1849
  v
1851
1850
  );
1852
1851
  };
1853
- s === void 0 || o === void 0 || s < o || e === void 0 || r !== "groupHeader" || n[b] === void 0 ? (x = {
1852
+ s === void 0 || o === void 0 || s < o || e === void 0 || r !== "groupHeader" || l[b] === void 0 ? (x = {
1854
1853
  style: i.style,
1855
1854
  key: "g" + s,
1856
1855
  className: y(
@@ -1859,33 +1858,33 @@ const Sr = (i) => {
1859
1858
  { "k-grid-content-sticky": i.locked }
1860
1859
  ),
1861
1860
  role: "gridcell",
1862
- onContextMenu: D
1863
- }, t = /* @__PURE__ */ l.createElement(
1861
+ onContextMenu: T
1862
+ }, t = /* @__PURE__ */ n.createElement(
1864
1863
  "td",
1865
1864
  {
1866
1865
  ...x,
1867
1866
  key: x.key
1868
1867
  }
1869
- )) : s <= o && !i.locked ? t = he(e - s, {}) : s <= o && i.locked && (I = {
1868
+ )) : s <= o && !i.locked ? t = de(e - s, {}) : s <= o && i.locked && (S = {
1870
1869
  className: "k-table-td",
1871
1870
  role: "gridcell",
1872
1871
  colSpan: e - s,
1873
1872
  style: { borderLeftWidth: 0, borderRightWidth: 0 },
1874
- onContextMenu: D
1875
- }, t = /* @__PURE__ */ l.createElement(l.Fragment, null, he(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ l.createElement(
1873
+ onContextMenu: T
1874
+ }, t = /* @__PURE__ */ n.createElement(n.Fragment, null, de(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ n.createElement(
1876
1875
  "td",
1877
1876
  {
1878
- ...I
1877
+ ...S
1879
1878
  }
1880
1879
  )));
1881
1880
  const Y = i.rowType || "data", $ = i.cells;
1882
1881
  if ($ && $.group && $.group[Y]) {
1883
1882
  const F = $.group[Y];
1884
- return /* @__PURE__ */ l.createElement(F, { ...i, tdProps: x, td2Props: I }, v);
1883
+ return /* @__PURE__ */ n.createElement(F, { ...i, tdProps: x, td2Props: S }, v);
1885
1884
  }
1886
1885
  return d ? d.call(void 0, t, i) : t;
1887
1886
  };
1888
- class yr extends l.Component {
1887
+ class Rr extends n.Component {
1889
1888
  /**
1890
1889
  * @hidden
1891
1890
  */
@@ -1900,7 +1899,7 @@ class yr extends l.Component {
1900
1899
  "k-selected": this.props.isSelected,
1901
1900
  "k-grid-edit-row": this.props.isInEdit
1902
1901
  }
1903
- ), s = /* @__PURE__ */ l.createElement(
1902
+ ), s = /* @__PURE__ */ n.createElement(
1904
1903
  "tr",
1905
1904
  {
1906
1905
  id: this.props.id,
@@ -1915,50 +1914,51 @@ class yr extends l.Component {
1915
1914
  "aria-rowindex": this.props.ariaRowIndex,
1916
1915
  "absolute-row-index": this.props.absoluteRowIndex,
1917
1916
  key: this.props.absoluteRowIndex,
1918
- [nr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1917
+ [cr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1919
1918
  },
1920
1919
  this.props.children
1921
1920
  );
1922
1921
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1923
1922
  }
1924
1923
  }
1925
- class wr extends l.Component {
1924
+ class is extends n.Component {
1926
1925
  get _inputId() {
1927
1926
  return this.props.id;
1928
1927
  }
1929
1928
  render() {
1930
- const { columnMenuWrapperProps: t } = this.props, s = [
1931
- /* @__PURE__ */ l.createElement("span", { key: 0, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
1929
+ const t = D(this), { columnMenuWrapperProps: s } = this.props, o = [
1930
+ /* @__PURE__ */ n.createElement("span", { key: 0, className: "k-checkbox-wrap" }, /* @__PURE__ */ n.createElement(
1932
1931
  "input",
1933
1932
  {
1934
- checked: this.props.selectionValue,
1935
1933
  id: this._inputId,
1936
1934
  type: "checkbox",
1937
1935
  className: "k-checkbox k-checkbox-md k-rounded-md",
1938
- onChange: (o) => this.props.selectionChange({
1936
+ "aria-label": t.toLanguageString(le, k[le]),
1937
+ "aria-checked": this.props.selectionValue,
1938
+ onChange: (e) => this.props.selectionChange({
1939
1939
  field: this.props.field,
1940
- syntheticEvent: o
1940
+ syntheticEvent: e
1941
1941
  })
1942
1942
  }
1943
1943
  )),
1944
- /* @__PURE__ */ l.createElement("label", { key: 1, className: "k-checkbox-label", htmlFor: this._inputId }),
1945
- t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t })
1944
+ s.columnMenu && /* @__PURE__ */ n.createElement($t, { ...s })
1946
1945
  ];
1947
- return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1946
+ return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
1948
1947
  }
1949
1948
  }
1950
- const Rr = Ft(wr);
1951
- class je extends l.Component {
1949
+ M(is);
1950
+ const Fr = Dt(is);
1951
+ class Ye extends n.Component {
1952
1952
  /**
1953
1953
  * @hidden
1954
1954
  */
1955
1955
  render() {
1956
- return this.props.children || G(this).toLanguageString(De, k[De]);
1956
+ return this.props.children || D(this).toLanguageString(Te, k[Te]);
1957
1957
  }
1958
1958
  }
1959
- je.displayName = "KendoReactGridNoRecords";
1960
- M(je);
1961
- class Fr extends l.Component {
1959
+ Ye.displayName = "KendoReactGridNoRecords";
1960
+ M(Ye);
1961
+ class Nr extends n.Component {
1962
1962
  constructor() {
1963
1963
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1964
1964
  const o = {
@@ -1975,29 +1975,29 @@ class Fr extends l.Component {
1975
1975
  field: t.field,
1976
1976
  ariaColumnIndex: t.ariaColumnIndex,
1977
1977
  ...o
1978
- }, r = be(this.props.cells, t.cells);
1978
+ }, r = xe(this.props.cells, t.cells);
1979
1979
  if (r && r.footerCell) {
1980
- const n = r.footerCell;
1981
- return /* @__PURE__ */ l.createElement(n, { ...e, tdProps: o, index: s });
1980
+ const l = r.footerCell;
1981
+ return /* @__PURE__ */ n.createElement(l, { ...e, tdProps: o, index: s });
1982
1982
  }
1983
- return t.footerCell && /* @__PURE__ */ l.createElement(t.footerCell, { ...e, key: s }) || /* @__PURE__ */ l.createElement("td", { ...o });
1983
+ return t.footerCell && /* @__PURE__ */ n.createElement(t.footerCell, { ...e, key: s }) || /* @__PURE__ */ n.createElement("td", { ...o });
1984
1984
  };
1985
1985
  }
1986
1986
  get element() {
1987
1987
  return this._element;
1988
1988
  }
1989
1989
  render() {
1990
- return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, $s(this.props.columns).map(this.renderCell));
1990
+ return /* @__PURE__ */ n.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Xs(this.props.columns).map(this.renderCell));
1991
1991
  }
1992
1992
  }
1993
- const Nr = ({
1993
+ const Dr = ({
1994
1994
  buttonCount: i = 10,
1995
1995
  info: t = !0,
1996
1996
  type: s = "numeric",
1997
1997
  pageSizes: o = void 0,
1998
1998
  previousNext: e = !0,
1999
1999
  responsive: r = void 0,
2000
- pageSizeValue: n = void 0
2000
+ pageSizeValue: l = void 0
2001
2001
  }) => ({
2002
2002
  buttonCount: i,
2003
2003
  info: t,
@@ -2005,19 +2005,19 @@ const Nr = ({
2005
2005
  previousNext: e,
2006
2006
  responsive: r !== !1,
2007
2007
  type: s,
2008
- pageSizeValue: n
2009
- }), Dr = (i) => Nr(i === !0 ? {} : i), It = {
2008
+ pageSizeValue: l
2009
+ }), Tr = (i) => Dr(i === !0 ? {} : i), yt = {
2010
2010
  name: "@progress/kendo-react-grid",
2011
2011
  productName: "KendoReact",
2012
2012
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2013
- publishDate: 1707742872,
2013
+ publishDate: 1707763473,
2014
2014
  version: "",
2015
2015
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2016
- }, Tr = (i) => {
2017
- const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: r } = i, n = q(r), a = l.useCallback((c) => {
2016
+ }, Gr = (i) => {
2017
+ const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: r } = i, l = q(r), a = n.useCallback((c) => {
2018
2018
  i.onContextMenu && i.onContextMenu.call(void 0, c, i.dataItem);
2019
2019
  }, [i.onContextMenu, i.dataItem]);
2020
- return /* @__PURE__ */ l.createElement(
2020
+ return /* @__PURE__ */ n.createElement(
2021
2021
  "td",
2022
2022
  {
2023
2023
  onContextMenu: a,
@@ -2025,20 +2025,20 @@ const Nr = ({
2025
2025
  colSpan: t,
2026
2026
  "aria-colindex": s,
2027
2027
  role: "gridcell",
2028
- ...n
2028
+ ...l
2029
2029
  },
2030
- /* @__PURE__ */ l.createElement(i.detail, { dataItem: o, dataIndex: e })
2030
+ /* @__PURE__ */ n.createElement(i.detail, { dataItem: o, dataIndex: e })
2031
2031
  );
2032
- }, Gr = (i) => {
2032
+ }, Mr = (i) => {
2033
2033
  const t = q(i.id);
2034
- return /* @__PURE__ */ l.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2034
+ return /* @__PURE__ */ n.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2035
2035
  };
2036
- let ce = class extends l.Component {
2036
+ let he = class extends n.Component {
2037
2037
  constructor(t) {
2038
- super(t), this._columns = [], this._columnsMap = [[]], this._columnsMutations = 0, this._resized = !1, this._shouldUpdateLeftRight = !0, this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this._data = [], this._slicedData = void 0, this.wrapperScrollTop = 0, this.showLicenseWatermark = !1, this.headerRef = l.createRef(), this.headerElementRef = l.createRef(), this._element = null, this.tableElement = null, this.containerRef = l.createRef(), this.tableBodyRef = l.createRef(), this._footer = null, this.forceUpdateTimeout = void 0, this.isRtl = !1, this.observer = null, this.handleIntersection = (e) => {
2038
+ super(t), this._columns = [], this._columnsMap = [[]], this._columnsMutations = 0, this._resized = !1, this._shouldUpdateLeftRight = !0, this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this._data = [], this._slicedData = void 0, this.wrapperScrollTop = 0, this.showLicenseWatermark = !1, this.headerRef = n.createRef(), this.headerElementRef = n.createRef(), this._element = null, this.tableElement = null, this.containerRef = n.createRef(), this.tableBodyRef = n.createRef(), this._footer = null, this.forceUpdateTimeout = void 0, this.isRtl = !1, this.observer = null, this.handleIntersection = (e) => {
2039
2039
  const r = { rowIndex: this.rowIndex };
2040
- e.forEach((n) => {
2041
- n.isIntersecting || this.setCurrentOnTop(r);
2040
+ e.forEach((l) => {
2041
+ l.isIntersecting || this.setCurrentOnTop(r);
2042
2042
  });
2043
2043
  }, this.setCurrentOnTop = (e) => {
2044
2044
  if (!this.vs.container || this.props.scrollable === "none")
@@ -2048,35 +2048,35 @@ let ce = class extends l.Component {
2048
2048
  if (this.props.scrollable === "virtual")
2049
2049
  this.vs.askedSkip = r, this.vs.container.scroll(0, Math.round(this.vs.askedSkip / this.vs.total * this.vs.container.scrollHeight));
2050
2050
  else if (this.element) {
2051
- const n = r < 1 ? this.element.querySelector("tbody > tr:nth-child(1)") : this.element.querySelector(`tbody > tr:nth-child(${r + 1})`);
2052
- n && this.containerRef.current && (this.containerRef.current.scrollTop = n.offsetTop);
2051
+ const l = r < 1 ? this.element.querySelector("tbody > tr:nth-child(1)") : this.element.querySelector(`tbody > tr:nth-child(${r + 1})`);
2052
+ l && this.containerRef.current && (this.containerRef.current.scrollTop = l.offsetTop);
2053
2053
  }
2054
2054
  }, this.scrollIntoView = (e) => {
2055
2055
  if (!this.vs.container || this.props.scrollable === "none")
2056
2056
  return;
2057
2057
  this.rowIndex = e.rowIndex;
2058
- const { rowIndex: r } = e, n = this.element;
2059
- if (this.observer && n) {
2058
+ const { rowIndex: r } = e, l = this.element;
2059
+ if (this.observer && l) {
2060
2060
  this.observer.disconnect();
2061
- const a = n.querySelector(`[absolute-row-index="${r}"]`);
2061
+ const a = l.querySelector(`[absolute-row-index="${r}"]`);
2062
2062
  a ? this.observer.observe(a) : this.setCurrentOnTop(e);
2063
2063
  }
2064
2064
  }, this.fitColumns = (e) => {
2065
2065
  this.columnResize.dblClickHandler(null, e);
2066
- }, this.onContextMenu = (e, r, n) => {
2066
+ }, this.onContextMenu = (e, r, l) => {
2067
2067
  if (this.props.onContextMenu) {
2068
2068
  const a = {
2069
2069
  target: this,
2070
2070
  syntheticEvent: e,
2071
2071
  nativeEvent: e.nativeEvent,
2072
2072
  dataItem: r,
2073
- field: n
2073
+ field: l
2074
2074
  };
2075
2075
  this.props.onContextMenu.call(void 0, a);
2076
2076
  }
2077
2077
  }, this.getVirtualScroll = (e) => {
2078
- const { rowHeight: r, detailRowHeight: n, detail: a, expandField: c, groupable: h } = e, d = this.isAllData(), g = r !== void 0 && r > 0, m = n !== void 0 && n > 0, u = h === !0 || typeof h == "object" && h.enabled !== !1;
2079
- return !g || u && !d || !!(a && c) && (!m || !d) ? xr : kt;
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;
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;
@@ -2089,35 +2089,35 @@ let ce = class extends l.Component {
2089
2089
  this.props.sort,
2090
2090
  r || this.props.rowHeight === void 0 || this.props.rowHeight === 0
2091
2091
  ), this.vs.fixedScroll = this.props.fixedScroll || !1, this.vs.PageChange = this.pageChange, this.vs.realSkip = this.props.skip || 0, this.vs.pageSize = (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 0, this.vs.scrollableVirtual = this.props.scrollable === "virtual", this.vs.total = e, this.vs.propsSkip = (this.props.skip || 0) + (this.props.scrollable === "virtual" ? this.vs.topCacheCount + (this.vs.attendedSkip - (this.props.skip || 0)) : 0), this.props.rowHeight !== void 0 && this.props.rowHeight > 0 && !r) {
2092
- const n = this.props.rowHeight * e;
2093
- this.vs.containerHeight = Ne ? Math.min(bt, n) : n;
2092
+ const l = this.props.rowHeight * e;
2093
+ this.vs.containerHeight = De ? Math.min(vt, l) : l;
2094
2094
  } else
2095
2095
  this.vs.containerHeight = 1533915;
2096
- if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof kt) {
2097
- const { rowHeight: n = 0, detail: a, expandField: c } = this.props;
2096
+ if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof St) {
2097
+ const { rowHeight: l = 0, detail: a, expandField: c } = this.props;
2098
2098
  let { detailRowHeight: h = 0 } = this.props;
2099
- h = a && c ? h : n, this.isAllData() ? (this.vs.total = this._data.length, this._slicedData = this._data.slice(this.vs.realSkip, this.vs.realSkip + this.vs.pageSize), this.vs.rowHeightService = this.rowHeightService(this.vs, this._data.length, n, h, this._data)) : this.vs.rowHeightService = new vt(e, n, h);
2099
+ h = a && c ? h : l, 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, l, h, this._data)) : this.vs.rowHeightService = new Et(e, l, h);
2100
2100
  const d = this.vs.rowHeightService.totalHeight();
2101
- this.vs.containerHeight = Ne ? Math.min(bt, d) : d;
2101
+ this.vs.containerHeight = De ? Math.min(vt, d) : d;
2102
2102
  }
2103
2103
  }, this.scrollHandler = (e) => {
2104
2104
  if (e.target !== e.currentTarget)
2105
2105
  return;
2106
2106
  clearTimeout(this.forceUpdateTimeout), this.vs.table = this.tableElement;
2107
- const r = e.currentTarget.scrollLeft, n = e.currentTarget.scrollTop;
2108
- this.props.columnVirtualization && (!this.vs.scrollableVirtual || n === this.wrapperScrollTop) && (this.forceUpdateTimeout = window.setTimeout(() => {
2107
+ const r = e.currentTarget.scrollLeft, l = e.currentTarget.scrollTop;
2108
+ this.props.columnVirtualization && (!this.vs.scrollableVirtual || l === this.wrapperScrollTop) && (this.forceUpdateTimeout = window.setTimeout(() => {
2109
2109
  this.forceUpdate();
2110
- }, 0)), this._header && this._header.setScrollLeft(r), this._footer && this._footer.setScrollLeft(r), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), fs(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
2110
+ }, 0)), this._header && this._header.setScrollLeft(r), this._footer && this._footer.setScrollLeft(r), this.vs && l !== this.wrapperScrollTop && this.vs.scrollHandler(e), Cs(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = l;
2111
2111
  }, this.onKeyDown = (e) => {
2112
2112
  if (X.onKeyDown(e, {
2113
2113
  contextStateRef: this.contextStateRef,
2114
2114
  navigationStateRef: this.navigationStateRef,
2115
2115
  onNavigationAction: this.onNavigationAction
2116
2116
  }), this.props.onKeyDown) {
2117
- const { mode: r, cell: n } = ht(this.props.selectable), a = {
2117
+ const { mode: r, cell: l } = pt(this.props.selectable), a = {
2118
2118
  dataItems: this.getLeafDataItems(),
2119
2119
  mode: r,
2120
- cell: n,
2120
+ cell: l,
2121
2121
  componentId: this._gridId,
2122
2122
  selectedField: this.props.selectedField,
2123
2123
  ...this.getArguments(e)
@@ -2155,8 +2155,8 @@ let ce = class extends l.Component {
2155
2155
  }, this.itemChange = (e) => {
2156
2156
  const r = this.props.onItemChange;
2157
2157
  if (e.field === this.props.expandField || this.props.group && e.field === void 0) {
2158
- const n = this.props.onExpandChange;
2159
- n && n.call(
2158
+ const l = this.props.onExpandChange;
2159
+ l && l.call(
2160
2160
  void 0,
2161
2161
  {
2162
2162
  ...this.getArguments(e.syntheticEvent),
@@ -2201,13 +2201,13 @@ let ce = class extends l.Component {
2201
2201
  };
2202
2202
  this.props.onSelectionChange.call(void 0, r);
2203
2203
  }
2204
- }, this.pageChange = (e, r, n) => {
2204
+ }, this.pageChange = (e, r, l) => {
2205
2205
  this.raiseDataEvent(
2206
2206
  this.props.onPageChange,
2207
2207
  { page: e },
2208
2208
  { skip: e.skip, take: e.take },
2209
2209
  r,
2210
- n
2210
+ l
2211
2211
  );
2212
2212
  }, this.pagerPageChange = (e) => {
2213
2213
  this.pageChange({ skip: e.skip, take: e.take }, e.syntheticEvent, e.targetEvent);
@@ -2226,12 +2226,12 @@ let ce = class extends l.Component {
2226
2226
  r
2227
2227
  );
2228
2228
  }, this.groupChange = (e, r) => {
2229
- const n = r.nativeEvent ? r : { nativeEvent: r.nativeEvent || r.originalEvent };
2229
+ const l = r.nativeEvent ? r : { nativeEvent: r.nativeEvent || r.originalEvent };
2230
2230
  this.raiseDataEvent(
2231
2231
  this.props.onGroupChange,
2232
2232
  { group: e },
2233
2233
  { group: e, skip: 0 },
2234
- n
2234
+ l
2235
2235
  );
2236
2236
  }, this.onClipboard = (e, r) => {
2237
2237
  if (this.props.onClipboard) {
@@ -2250,11 +2250,11 @@ let ce = class extends l.Component {
2250
2250
  }
2251
2251
  }, this.inActiveElement = () => {
2252
2252
  var c, h, d;
2253
- if (!ye)
2253
+ if (!we)
2254
2254
  return !1;
2255
- const e = ms(this.document), r = e ? e.matches(".k-table-td") ? e : (c = this.document) == null ? void 0 : c.body : (h = this.document) == null ? void 0 : h.body, n = r.closest(".k-grid-container"), a = r && ((d = this._element) == null ? void 0 : d.contains(r));
2256
- return !!(r && a && n);
2257
- }, this.onResize = (e, r, n, a, c, h) => {
2255
+ const e = bs(this.document), r = e ? e.matches(".k-table-td") ? e : (c = this.document) == null ? void 0 : c.body : (h = this.document) == null ? void 0 : h.body, l = r.closest(".k-grid-container"), a = r && ((d = this._element) == null ? void 0 : d.contains(r));
2256
+ return !!(r && a && l);
2257
+ }, this.onResize = (e, r, l, a, c, h) => {
2258
2258
  this.resetTableWidth(), this._shouldUpdateLeftRight = !0, this._resized = !0, this._columnsMutations++, this.props.onColumnResize && this.props.onColumnResize.call(
2259
2259
  void 0,
2260
2260
  {
@@ -2263,35 +2263,35 @@ let ce = class extends l.Component {
2263
2263
  targetColumnId: h,
2264
2264
  index: e,
2265
2265
  newWidth: r,
2266
- oldWidth: n,
2266
+ oldWidth: l,
2267
2267
  end: c,
2268
2268
  target: this
2269
2269
  }
2270
2270
  );
2271
- }, this.reInitVirtualization = B((e, r, n, a, c, h) => {
2271
+ }, this.reInitVirtualization = B((e, r, l, a, c, h) => {
2272
2272
  this.vs.reset();
2273
2273
  const d = this.getVirtualScroll(this.props);
2274
2274
  this.vs = new d(h);
2275
- }), this.flatData = B((e, r, n, a, c, h, d) => {
2276
- const g = [], m = Lt(
2275
+ }), this.flatData = B((e, r, l, a, c, h, d) => {
2276
+ const g = [], m = Ot(
2277
2277
  g,
2278
2278
  e,
2279
2279
  r,
2280
- { index: n },
2280
+ { index: l },
2281
2281
  a !== void 0,
2282
2282
  c
2283
2283
  );
2284
2284
  return { flattedData: g, resolvedGroupsCount: m };
2285
- }), this.rowHeightService = B((e, r, n, a, c) => new vt(r, n, a, c)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2286
- (e, r, n) => {
2285
+ }), this.rowHeightService = B((e, r, l, a, c) => new Et(r, l, a, c)), this.childrenToArray = B((e) => n.Children.toArray(e)), this.readColumns = B(
2286
+ (e, r, l) => {
2287
2287
  const a = e.filter((c) => c && c.type && c.type.displayName === "KendoReactGridColumn");
2288
- return Ot(a, this.columns, { prevId: 0, idPrefix: r });
2288
+ return _t(a, this.columns, { prevId: 0, idPrefix: r });
2289
2289
  }
2290
2290
  ), this.mapColumns = B(
2291
- (e) => ys(e)
2292
- ), this.configureColumns = B((e, r, n) => {
2291
+ (e) => Rs(e)
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 || js, h.headerCell = h.headerCell || Rr;
2294
+ h.width = h.width || "50px", h.cell = h.cell || lr, h.headerCell = h.headerCell || Fr;
2295
2295
  });
2296
2296
  const a = {
2297
2297
  id: "",
@@ -2315,28 +2315,28 @@ let ce = class extends l.Component {
2315
2315
  let c = 0;
2316
2316
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2317
2317
  ...a,
2318
- cell: lr,
2318
+ cell: ar,
2319
2319
  field: this.props.expandField,
2320
2320
  headerClassName: "k-hierarchy-cell k-header",
2321
- id: z.generateNavigatableId(`${this._columns.length}`, n, "column")
2321
+ id: z.generateNavigatableId(`${this._columns.length}`, l, "column")
2322
2322
  }), c++);
2323
2323
  for (let h = 0; h < r; h++)
2324
2324
  e.unshift({
2325
2325
  ...a,
2326
2326
  isAccessible: !1,
2327
- cell: Et,
2327
+ cell: It,
2328
2328
  field: "value",
2329
2329
  locked: this.props.lockGroups
2330
2330
  }), c++;
2331
2331
  e.slice(c).forEach((h) => h.parentIndex >= 0 && (h.parentIndex += c));
2332
- }), this.getHeaderRow = B((e, r, n, a, c, h, d, g, m, u, b, E) => /* @__PURE__ */ l.createElement(
2333
- $t,
2332
+ }), this.getHeaderRow = B((e, r, l, a, c, h, d, g, m, u, b, E) => /* @__PURE__ */ n.createElement(
2333
+ jt,
2334
2334
  {
2335
2335
  cells: this.props.cells,
2336
2336
  sort: e,
2337
2337
  sortable: r,
2338
2338
  sortChange: this.sortChange,
2339
- group: n || [],
2339
+ group: l || [],
2340
2340
  groupable: a,
2341
2341
  groupChange: this.groupChange,
2342
2342
  filter: c,
@@ -2358,15 +2358,15 @@ let ce = class extends l.Component {
2358
2358
  containerRef: this.containerRef
2359
2359
  }
2360
2360
  )), this.resolveTitle = (e) => {
2361
- const r = this._columns.find((a) => a.field === e), n = r && (r.title || r.field);
2362
- return n === void 0 ? e : n;
2363
- }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), Cs(It), this.showLicenseWatermark = bs(It);
2361
+ const r = this._columns.find((a) => a.field === e), l = r && (r.title || r.field);
2362
+ return l === void 0 ? e : l;
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 Ir(
2365
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new yr(
2366
2366
  this.columnReorder.bind(this),
2367
2367
  this.groupReorder.bind(this),
2368
2368
  this.columnToGroup.bind(this)
2369
- ), this.columnResize = new Er(this.onResize), this.props.clipboard && (this.clipboardService = new ws(this.onClipboard)), X.onConstructor({
2369
+ ), this.columnResize = new Ir(this.onResize), this.props.clipboard && (this.clipboardService = new Fs(this.onClipboard)), X.onConstructor({
2370
2370
  navigatable: !!t.navigatable,
2371
2371
  contextStateRef: this.contextStateRef,
2372
2372
  navigationStateRef: this.navigationStateRef,
@@ -2415,7 +2415,7 @@ let ce = class extends l.Component {
2415
2415
  // tslint:enable:max-line-length
2416
2416
  get columns() {
2417
2417
  const t = this._columns.filter((s) => s.declarationIndex >= 0 && s.parentIndex === -1);
2418
- return _t(t);
2418
+ return Pt(t);
2419
2419
  }
2420
2420
  /**
2421
2421
  * Returns the HTML element of the Grid component.
@@ -2424,7 +2424,7 @@ let ce = class extends l.Component {
2424
2424
  return this._element;
2425
2425
  }
2426
2426
  get document() {
2427
- if (ye)
2427
+ if (we)
2428
2428
  return this.element && this.element.ownerDocument || document;
2429
2429
  }
2430
2430
  get _header() {
@@ -2437,8 +2437,8 @@ let ce = class extends l.Component {
2437
2437
  * @hidden
2438
2438
  */
2439
2439
  componentDidMount() {
2440
- this.resetTableWidth(), nt();
2441
- const t = Nt(this.element);
2440
+ this.resetTableWidth(), ct();
2441
+ const t = Tt(this.element);
2442
2442
  this.isRtl = t, X.onComponentDidMount({
2443
2443
  scope: this.element || void 0,
2444
2444
  contextStateRef: this.contextStateRef,
@@ -2448,7 +2448,7 @@ let ce = class extends l.Component {
2448
2448
  rootMargin: "0px",
2449
2449
  threshold: 0.9
2450
2450
  };
2451
- this.clipboardService && this.clipboardService.addEventListeners(this.document), this.observer = ye && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2451
+ this.clipboardService && this.clipboardService.addEventListeners(this.document), this.observer = we && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2452
2452
  }
2453
2453
  /**
2454
2454
  * @hidden
@@ -2464,7 +2464,7 @@ let ce = class extends l.Component {
2464
2464
  * @hidden
2465
2465
  */
2466
2466
  componentDidUpdate() {
2467
- this.resetTableWidth(), nt(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2467
+ this.resetTableWidth(), ct(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2468
2468
  scope: this.element || void 0,
2469
2469
  contextStateRef: this.contextStateRef,
2470
2470
  navigationStateRef: this.navigationStateRef
@@ -2480,12 +2480,12 @@ let ce = class extends l.Component {
2480
2480
  * @hidden
2481
2481
  */
2482
2482
  render() {
2483
- var ot;
2483
+ var lt;
2484
2484
  let t = this.props.total || 0;
2485
2485
  const s = z.getIdPrefix(this.navigationStateRef);
2486
2486
  let o = [];
2487
2487
  Array.isArray(this.props.data) ? (o = this.props.data, t = t || this.props.data.length) : this.props.data && (o = this.props.data.data, t = t || this.props.data.total);
2488
- const e = typeof this.props.groupable == "object" && this.props.groupable.footer || "none", { resolvedGroupsCount: r, flattedData: n } = this.flatData(
2488
+ const e = typeof this.props.groupable == "object" && this.props.groupable.footer || "none", { resolvedGroupsCount: r, flattedData: l } = this.flatData(
2489
2489
  o,
2490
2490
  e,
2491
2491
  this.props.skip || 0,
@@ -2494,15 +2494,15 @@ let ce = class extends l.Component {
2494
2494
  this.props.filter,
2495
2495
  this.props.sort
2496
2496
  );
2497
- this._data = n;
2497
+ this._data = l;
2498
2498
  const a = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1;
2499
2499
  this.columnResize.resizable = this.props.resizable || !1, this.dragLogic.reorderable = this.props.reorderable || !1, this.dragLogic.groupable = a;
2500
2500
  const c = this.props.selectable && this.props.selectable.drag ? "none" : void 0;
2501
2501
  this.initializeVirtualization(t, a);
2502
2502
  const h = this.childrenToArray(this.props.children);
2503
2503
  this.initColumns(h, r);
2504
- const d = h.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(f, { ...f.props, ariaControls: this._gridId }) : null), g = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ l.createElement(
2505
- ss,
2504
+ const d = h.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? n.cloneElement(f, { ...f.props, ariaControls: this._gridId }) : null), g = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = h.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ n.createElement(
2505
+ rs,
2506
2506
  {
2507
2507
  group: this.props.group || [],
2508
2508
  groupChange: this.groupChange,
@@ -2514,8 +2514,8 @@ let ce = class extends l.Component {
2514
2514
  ariaControls: this._gridId,
2515
2515
  onContextMenu: this.onContextMenu
2516
2516
  }
2517
- ), { sort: E, sortable: C, group: x, filter: I, filterable: v, filterOperators: _ = xt, headerCellRender: D, columnMenu: he } = this.props, Y = /* @__PURE__ */ l.createElement(
2518
- cr,
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,
2519
2519
  {
2520
2520
  size: this.props.size,
2521
2521
  columnResize: this.columnResize,
@@ -2529,23 +2529,23 @@ let ce = class extends l.Component {
2529
2529
  C,
2530
2530
  x,
2531
2531
  a,
2532
- I,
2532
+ S,
2533
2533
  v,
2534
2534
  _,
2535
- D,
2536
- he,
2535
+ T,
2536
+ de,
2537
2537
  this._columns,
2538
2538
  this._columnsMap,
2539
2539
  this.isRtl
2540
2540
  ),
2541
- filterRow: this.props.filterable && /* @__PURE__ */ l.createElement(
2542
- es,
2541
+ filterRow: this.props.filterable && /* @__PURE__ */ n.createElement(
2542
+ ts,
2543
2543
  {
2544
2544
  cells: this.props.cells,
2545
2545
  size: this.props.size,
2546
2546
  columns: this._columns,
2547
2547
  filter: this.props.filter,
2548
- filterOperators: this.props.filterOperators || xt,
2548
+ filterOperators: this.props.filterOperators || kt,
2549
2549
  filterChange: this.filterChange,
2550
2550
  sort: this.props.sort,
2551
2551
  cellRender: this.props.filterCellRender,
@@ -2553,48 +2553,48 @@ let ce = class extends l.Component {
2553
2553
  ariaRowIndex: this._columnsMap.length + 1
2554
2554
  }
2555
2555
  ) || void 0,
2556
- cols: u.map((f, w) => /* @__PURE__ */ l.createElement(
2556
+ cols: u.map((f, w) => /* @__PURE__ */ n.createElement(
2557
2557
  "col",
2558
2558
  {
2559
2559
  key: w.toString(),
2560
- width: we(f)
2560
+ width: Re(f)
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: ve, hiddenColumns: de } = Rs({
2564
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Ns({
2565
2565
  enabled: this.props.columnVirtualization,
2566
2566
  columns: u,
2567
2567
  tableViewPortWidth: F,
2568
2568
  scrollLeft: $
2569
- }), ke = (f, w, R) => {
2569
+ }), Ee = (f, w, R) => {
2570
2570
  let j = !1;
2571
- const K = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2571
+ const K = this.props.selectedField ? G(this.props.selectedField, f.dataItem) : void 0;
2572
2572
  return {
2573
- row: u.map((S, N) => {
2574
- if (de[N])
2573
+ row: u.map((I, N) => {
2574
+ if (pe[N])
2575
2575
  return null;
2576
- const Z = S.id ? S.id : N, ee = `${S.className ? S.className + " " : ""}${S.locked ? "k-grid-content-sticky" : ""}`, P = S.left !== void 0 ? this.isRtl ? { left: S.right, right: S.left } : { left: S.left, right: S.right } : {};
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
- if (S.editable && this.props.editField) {
2579
- const H = T(this.props.editField, f.dataItem);
2580
- H && (H === !0 || H === S.field) && (j = !0, A = !0);
2578
+ if (I.editable && this.props.editField) {
2579
+ const H = G(this.props.editField, f.dataItem);
2580
+ H && (H === !0 || H === I.field) && (j = !0, A = !0);
2581
2581
  }
2582
- const Se = S.cell || A && ar || Sr;
2583
- return /* @__PURE__ */ l.createElement(
2584
- Se,
2582
+ const ye = I.cell || A && hr || wr;
2583
+ return /* @__PURE__ */ n.createElement(
2584
+ ye,
2585
2585
  {
2586
2586
  onContextMenu: this.onContextMenu,
2587
2587
  key: Z,
2588
2588
  locked: this.props.lockGroups,
2589
2589
  id: z.generateNavigatableId(`${w}-${String(N)}`, s),
2590
- colSpan: ve[N],
2590
+ colSpan: ke[N],
2591
2591
  dataItem: f.dataItem,
2592
- field: S.field,
2593
- editor: S.editor,
2594
- format: S.format,
2592
+ field: I.field,
2593
+ editor: I.editor,
2594
+ format: I.format,
2595
2595
  className: ee,
2596
2596
  render: this.props.cellRender,
2597
- cells: be(this.props.cells, S.cells),
2597
+ cells: xe(this.props.cells, I.cells),
2598
2598
  onChange: this.itemChange,
2599
2599
  selectionChange: this.props.onSelectionChange ? (H) => {
2600
2600
  this.selectionChange({ event: H, dataItem: f.dataItem, dataIndex: R, columnIndex: N });
@@ -2606,7 +2606,7 @@ let ce = class extends l.Component {
2606
2606
  expanded: f.expanded,
2607
2607
  dataIndex: f.dataIndex,
2608
2608
  style: P,
2609
- ariaColumnIndex: S.ariaColumnIndex,
2609
+ ariaColumnIndex: I.ariaColumnIndex,
2610
2610
  isSelected: Array.isArray(K) && K.indexOf(N) > -1
2611
2611
  }
2612
2612
  );
@@ -2624,26 +2624,26 @@ let ce = class extends l.Component {
2624
2624
  else
2625
2625
  break;
2626
2626
  }
2627
- const Ye = (f) => f >= this._data.length - J;
2628
- let Je = this.vs.realSkip || 0;
2629
- const pe = [];
2630
- let Ee = !1;
2631
- const Ie = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1, Qe = /* @__PURE__ */ l.createElement("div", { key: "no-records", className: "k-grid-norecords", "aria-rowindex": Ie }, /* @__PURE__ */ l.createElement("div", { className: "k-grid-norecords-template" }, g.length ? g : /* @__PURE__ */ l.createElement(je, null)));
2627
+ const Qe = (f) => f >= this._data.length - J;
2628
+ let Ze = this.vs.realSkip || 0;
2629
+ const ue = [];
2630
+ let Se = !1;
2631
+ const Ie = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1, et = /* @__PURE__ */ n.createElement("div", { key: "no-records", className: "k-grid-norecords", "aria-rowindex": Ie }, /* @__PURE__ */ n.createElement("div", { className: "k-grid-norecords-template" }, g.length ? g : /* @__PURE__ */ n.createElement(Ye, null)));
2632
2632
  let Q = 0;
2633
2633
  if (this._data.length) {
2634
2634
  let f = -1, w = 0;
2635
2635
  (this._slicedData || this._data).forEach((R, j) => {
2636
- R.rowType === "data" && (Je++, f++);
2637
- const K = Je % 2 === 0, S = this.props.dataItemKey && Re(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), Z = S || "ai" + N, ee = Z + "_1", P = ke(R, Z, f);
2638
- if (Q = N + Ie + w, pe.push(/* @__PURE__ */ l.createElement(
2639
- yr,
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);
2638
+ if (Q = N + Ie + w, ue.push(/* @__PURE__ */ n.createElement(
2639
+ Rr,
2640
2640
  {
2641
2641
  key: Z,
2642
2642
  dataItem: R.dataItem,
2643
2643
  isAltRow: K,
2644
2644
  isInEdit: P.isInEdit,
2645
2645
  rowType: R.rowType,
2646
- isHidden: Ye(j),
2646
+ isHidden: Qe(j),
2647
2647
  onClick: (A) => this.rowClick(A, R),
2648
2648
  onDoubleClick: (A) => this.rowDblClick(A, R),
2649
2649
  selectedField: this.props.selectedField,
@@ -2657,7 +2657,7 @@ let ce = class extends l.Component {
2657
2657
  P.row
2658
2658
  )), this.props.detail && R.rowType === "data" && R.expanded) {
2659
2659
  const A = u.length - (this.props.expandField ? 1 : 0) - (this.props.group ? this.props.group.length : 0) || 1;
2660
- w++, Q = N + Ie + w, pe.push(/* @__PURE__ */ l.createElement(
2660
+ w++, Q = N + Ie + w, ue.push(/* @__PURE__ */ n.createElement(
2661
2661
  "tr",
2662
2662
  {
2663
2663
  key: ee,
@@ -2665,22 +2665,22 @@ let ce = class extends l.Component {
2665
2665
  "k-table-row",
2666
2666
  K ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2667
2667
  ),
2668
- style: { visibility: Ye(j) ? "hidden" : "", height: this.props.detailRowHeight },
2668
+ style: { visibility: Qe(j) ? "hidden" : "", height: this.props.detailRowHeight },
2669
2669
  role: "row",
2670
2670
  "aria-rowindex": Q
2671
2671
  },
2672
- this.props.group && this.props.group.map((Se, H) => {
2673
- var lt;
2674
- const te = (lt = P == null ? void 0 : P.row[H]) == null ? void 0 : lt.props.style, gs = te ? this.isRtl ? { left: te.right, right: te.left } : { left: te.left, right: te.right } : {};
2675
- return /* @__PURE__ */ l.createElement(
2676
- Et,
2672
+ this.props.group && this.props.group.map((ye, H) => {
2673
+ var at;
2674
+ const te = (at = P == null ? void 0 : P.row[H]) == null ? void 0 : at.props.style, ms = te ? this.isRtl ? { left: te.right, right: te.left } : { left: te.left, right: te.right } : {};
2675
+ return /* @__PURE__ */ n.createElement(
2676
+ It,
2677
2677
  {
2678
2678
  id: "",
2679
2679
  dataIndex: R.dataIndex,
2680
- field: Se.field,
2680
+ field: ye.field,
2681
2681
  dataItem: R.dataItem,
2682
2682
  key: H,
2683
- style: gs,
2683
+ style: ms,
2684
2684
  ariaColumnIndex: 1 + H,
2685
2685
  isSelected: !1,
2686
2686
  locked: this.props.lockGroups,
@@ -2689,14 +2689,14 @@ let ce = class extends l.Component {
2689
2689
  }
2690
2690
  );
2691
2691
  }),
2692
- this.props.expandField && /* @__PURE__ */ l.createElement(
2693
- Gr,
2692
+ this.props.expandField && /* @__PURE__ */ n.createElement(
2693
+ Mr,
2694
2694
  {
2695
2695
  id: z.generateNavigatableId(`${ee}-dhcell`, s)
2696
2696
  }
2697
2697
  ),
2698
- /* @__PURE__ */ l.createElement(
2699
- Tr,
2698
+ /* @__PURE__ */ n.createElement(
2699
+ Gr,
2700
2700
  {
2701
2701
  onContextMenu: this.onContextMenu,
2702
2702
  dataItem: R.dataItem,
@@ -2711,36 +2711,36 @@ let ce = class extends l.Component {
2711
2711
  }
2712
2712
  });
2713
2713
  } else
2714
- Ee = !0;
2715
- const Ze = {
2714
+ Se = !0;
2715
+ const tt = {
2716
2716
  size: this.props.size,
2717
2717
  onPageChange: this.pagerPageChange,
2718
2718
  total: t,
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: or,
2723
- ...Dr(this.props.pageable || {})
2724
- }, et = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Ze }) : /* @__PURE__ */ l.createElement(Fs, { className: "k-grid-pager", ...Ze }), ps = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, us = (f, w) => /* @__PURE__ */ l.createElement(
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(
2725
2725
  "col",
2726
2726
  {
2727
2727
  key: w.toString(),
2728
- width: we(f)
2728
+ width: Re(f)
2729
2729
  }
2730
- ), tt = (ot = this.props.cells) != null && ot.footerCell || this._columns.some(
2730
+ ), rt = (lt = this.props.cells) != null && lt.footerCell || this._columns.some(
2731
2731
  (f) => {
2732
2732
  var w;
2733
2733
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2734
2734
  }
2735
- ) ? /* @__PURE__ */ l.createElement(
2736
- br,
2735
+ ) ? /* @__PURE__ */ n.createElement(
2736
+ vr,
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
- row: /* @__PURE__ */ l.createElement(
2743
- Fr,
2742
+ row: /* @__PURE__ */ n.createElement(
2743
+ Nr,
2744
2744
  {
2745
2745
  cells: this.props.cells,
2746
2746
  columns: this._columns,
@@ -2748,9 +2748,9 @@ let ce = class extends l.Component {
2748
2748
  ariaRowIndex: Q + 1
2749
2749
  }
2750
2750
  ),
2751
- cols: u.map(us)
2751
+ cols: u.map(fs)
2752
2752
  }
2753
- ) : null, st = /* @__PURE__ */ l.createElement(
2753
+ ) : null, it = /* @__PURE__ */ n.createElement(
2754
2754
  "colgroup",
2755
2755
  {
2756
2756
  ref: (f) => {
@@ -2758,18 +2758,18 @@ let ce = class extends l.Component {
2758
2758
  }
2759
2759
  },
2760
2760
  u.map(
2761
- (f, w) => /* @__PURE__ */ l.createElement(
2761
+ (f, w) => /* @__PURE__ */ n.createElement(
2762
2762
  "col",
2763
2763
  {
2764
2764
  key: w.toString(),
2765
- className: ps(f.field) ? "k-sorted" : void 0,
2766
- width: we(f)
2765
+ className: gs(f.field) ? "k-sorted" : void 0,
2766
+ width: Re(f)
2767
2767
  }
2768
2768
  )
2769
2769
  )
2770
- ), rt = this.dragLogic.reorderable || this.dragLogic.groupable, it = this.props.columnVirtualization ? "block" : "table";
2770
+ ), ot = this.dragLogic.reorderable || this.dragLogic.groupable, nt = this.props.columnVirtualization ? "block" : "table";
2771
2771
  if (this.props.scrollable === "none")
2772
- return /* @__PURE__ */ l.createElement(Fe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2772
+ return /* @__PURE__ */ n.createElement(Ne.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ n.createElement(
2773
2773
  "div",
2774
2774
  {
2775
2775
  id: this.props.id,
@@ -2788,12 +2788,12 @@ let ce = class extends l.Component {
2788
2788
  "aria-label": this.props.ariaLabel,
2789
2789
  onKeyDown: this.onKeyDown,
2790
2790
  onFocus: this.onFocus,
2791
- ...dt
2791
+ ...ut
2792
2792
  },
2793
2793
  d,
2794
2794
  b,
2795
- /* @__PURE__ */ l.createElement(
2796
- pt,
2795
+ /* @__PURE__ */ n.createElement(
2796
+ gt,
2797
2797
  {
2798
2798
  selectable: this.props.selectable,
2799
2799
  onRelease: this.selectionRelease,
@@ -2801,30 +2801,30 @@ let ce = class extends l.Component {
2801
2801
  this.tableElement = f;
2802
2802
  }
2803
2803
  },
2804
- /* @__PURE__ */ l.createElement(
2804
+ /* @__PURE__ */ n.createElement(
2805
2805
  "table",
2806
2806
  {
2807
2807
  className: y(
2808
2808
  "k-table k-grid-table",
2809
2809
  { [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2810
2810
  ),
2811
- style: { userSelect: c, display: it }
2811
+ style: { userSelect: c, display: nt }
2812
2812
  },
2813
- st,
2813
+ it,
2814
2814
  Y,
2815
- /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...ut }, pe),
2816
- tt
2815
+ /* @__PURE__ */ n.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...ft }, ue),
2816
+ rt
2817
2817
  )
2818
2818
  ),
2819
- Ee && Qe,
2820
- rt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ft, { ref: this.dragLogic.refDragElementClue }))
2821
- ), m, this.props.pageable && et);
2822
- let ue = this.props.style || {};
2823
- return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(Fe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2819
+ Se && et,
2820
+ ot && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(mt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ n.createElement(Ct, { ref: this.dragLogic.refDragElementClue }))
2821
+ ), m, this.props.pageable && st);
2822
+ let ge = this.props.style || {};
2823
+ return this.props.scrollable === "virtual" && (ge.height || (ge = Object.assign({}, ge, { height: "450px" }))), /* @__PURE__ */ n.createElement(Ne.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ n.createElement(
2824
2824
  "div",
2825
2825
  {
2826
2826
  id: this.props.id,
2827
- style: ue,
2827
+ style: ge,
2828
2828
  className: y(
2829
2829
  "k-grid",
2830
2830
  {
@@ -2840,11 +2840,11 @@ let ce = class extends l.Component {
2840
2840
  "aria-label": this.props.ariaLabel,
2841
2841
  onKeyDown: this.onKeyDown,
2842
2842
  onFocus: this.onFocus,
2843
- ...dt
2843
+ ...ut
2844
2844
  },
2845
2845
  d,
2846
2846
  b,
2847
- /* @__PURE__ */ l.createElement(
2847
+ /* @__PURE__ */ n.createElement(
2848
2848
  "div",
2849
2849
  {
2850
2850
  className: "k-grid-aria-root",
@@ -2854,7 +2854,7 @@ let ce = class extends l.Component {
2854
2854
  id: this._gridId
2855
2855
  },
2856
2856
  Y,
2857
- /* @__PURE__ */ l.createElement("div", { className: "k-grid-container", role: "presentation" }, /* @__PURE__ */ l.createElement(
2857
+ /* @__PURE__ */ n.createElement("div", { className: "k-grid-container", role: "presentation" }, /* @__PURE__ */ n.createElement(
2858
2858
  "div",
2859
2859
  {
2860
2860
  ref: this.containerRef,
@@ -2862,8 +2862,8 @@ let ce = class extends l.Component {
2862
2862
  onScroll: this.scrollHandler,
2863
2863
  role: "presentation"
2864
2864
  },
2865
- /* @__PURE__ */ l.createElement("div", { className: "k-grid-table-wrap", role: "presentation" }, /* @__PURE__ */ l.createElement(
2866
- pt,
2865
+ /* @__PURE__ */ n.createElement("div", { className: "k-grid-table-wrap", role: "presentation" }, /* @__PURE__ */ n.createElement(
2866
+ gt,
2867
2867
  {
2868
2868
  selectable: this.props.selectable,
2869
2869
  onRelease: this.selectionRelease,
@@ -2871,7 +2871,7 @@ let ce = class extends l.Component {
2871
2871
  this.tableElement = f;
2872
2872
  }
2873
2873
  },
2874
- /* @__PURE__ */ l.createElement(
2874
+ /* @__PURE__ */ n.createElement(
2875
2875
  "table",
2876
2876
  {
2877
2877
  className: y(
@@ -2882,39 +2882,39 @@ let ce = class extends l.Component {
2882
2882
  }
2883
2883
  ),
2884
2884
  role: "presentation",
2885
- style: { userSelect: c, display: it }
2885
+ style: { userSelect: c, display: nt }
2886
2886
  },
2887
- st,
2888
- /* @__PURE__ */ l.createElement(
2887
+ it,
2888
+ /* @__PURE__ */ n.createElement(
2889
2889
  "tbody",
2890
2890
  {
2891
2891
  className: "k-table-tbody",
2892
2892
  ref: this.tableBodyRef,
2893
2893
  role: "rowgroup",
2894
- ...ut
2894
+ ...ft
2895
2895
  },
2896
- pe
2896
+ ue
2897
2897
  )
2898
2898
  )
2899
- ), Ee && Qe),
2900
- /* @__PURE__ */ l.createElement("div", { className: "k-height-container", role: "presentation" }, /* @__PURE__ */ l.createElement(
2899
+ ), Se && et),
2900
+ /* @__PURE__ */ n.createElement("div", { className: "k-height-container", role: "presentation" }, /* @__PURE__ */ n.createElement(
2901
2901
  "div",
2902
2902
  {
2903
2903
  style: this.props.scrollable === "virtual" ? { height: this.vs.containerHeight + "px" } : {}
2904
2904
  }
2905
2905
  ))
2906
2906
  )),
2907
- tt,
2908
- rt && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(gt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ft, { ref: this.dragLogic.refDragElementClue })),
2909
- this.showLicenseWatermark && /* @__PURE__ */ l.createElement(xs, null)
2907
+ rt,
2908
+ ot && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(mt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ n.createElement(Ct, { ref: this.dragLogic.refDragElementClue })),
2909
+ this.showLicenseWatermark && /* @__PURE__ */ n.createElement(ks, null)
2910
2910
  ),
2911
2911
  m,
2912
- this.props.pageable && et
2912
+ this.props.pageable && st
2913
2913
  ));
2914
2914
  }
2915
2915
  selectionChange(t) {
2916
2916
  if (this.props.onSelectionChange) {
2917
- const { event: s, dataItem: o, dataIndex: e, columnIndex: r } = t, { mode: n, cell: a } = ht(this.props.selectable), c = {
2917
+ const { event: s, dataItem: o, dataIndex: e, columnIndex: r } = t, { mode: l, cell: a } = pt(this.props.selectable), c = {
2918
2918
  ...this.getArguments(s.syntheticEvent),
2919
2919
  dataItem: o,
2920
2920
  startColIndex: r,
@@ -2926,7 +2926,7 @@ let ce = class extends l.Component {
2926
2926
  ctrlKey: !1,
2927
2927
  shiftKey: !1,
2928
2928
  metaKey: !1,
2929
- mode: n,
2929
+ mode: l,
2930
2930
  cell: a,
2931
2931
  isDrag: !1,
2932
2932
  componentId: this._gridId,
@@ -2936,12 +2936,12 @@ let ce = class extends l.Component {
2936
2936
  }
2937
2937
  }
2938
2938
  raiseDataEvent(t, s, o, e, r) {
2939
- const n = this.props.onDataStateChange;
2939
+ const l = this.props.onDataStateChange;
2940
2940
  if (t) {
2941
2941
  const a = { ...this.getArguments(e), ...s, targetEvent: r };
2942
2942
  t.call(void 0, a);
2943
2943
  } else
2944
- n && n.call(
2944
+ l && l.call(
2945
2945
  void 0,
2946
2946
  {
2947
2947
  ...this.getArguments(e),
@@ -2954,15 +2954,15 @@ let ce = class extends l.Component {
2954
2954
  );
2955
2955
  }
2956
2956
  columnReorder(t, s, o) {
2957
- const e = this._columns[t], r = e.depth, n = (d) => {
2957
+ const e = this._columns[t], r = e.depth, l = (d) => {
2958
2958
  do
2959
2959
  d++;
2960
2960
  while (d < this._columns.length && this._columns[d].depth > r);
2961
2961
  return d;
2962
- }, a = this._columns.splice(t, n(t) - t);
2963
- this._columns.splice(t < s ? n(s - a.length) : s, 0, ...a), this._columns.filter((d) => d.declarationIndex >= 0).forEach((d, g) => d.orderIndex = g), this._columnsMutations++;
2962
+ }, a = this._columns.splice(t, l(t) - t);
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
- Ns(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), Ds(this._columnsMap, this._columns, c || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2965
+ Ts(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 ce = class extends l.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 = Us(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
3005
+ 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;
3006
3006
  }
3007
3007
  getDataState() {
3008
3008
  return {
@@ -3021,11 +3021,11 @@ let ce = class extends l.Component {
3021
3021
  };
3022
3022
  }
3023
3023
  };
3024
- ce.displayName = "KendoReactGrid";
3025
- ce.defaultProps = {
3024
+ he.displayName = "KendoReactGrid";
3025
+ he.defaultProps = {
3026
3026
  // never use this
3027
3027
  };
3028
- ce.propTypes = {
3028
+ he.propTypes = {
3029
3029
  data: p.oneOfType([
3030
3030
  p.array,
3031
3031
  p.shape({
@@ -3102,14 +3102,14 @@ ce.propTypes = {
3102
3102
  navigatable: p.bool,
3103
3103
  size: p.oneOf(["small", "medium"])
3104
3104
  };
3105
- ce.contextType = Fe;
3106
- class xe extends l.Component {
3105
+ he.contextType = Ne;
3106
+ class ve extends n.Component {
3107
3107
  /**
3108
3108
  * @hidden
3109
3109
  */
3110
3110
  render() {
3111
3111
  const { children: t } = this.props;
3112
- return /* @__PURE__ */ l.createElement(
3112
+ return /* @__PURE__ */ n.createElement(
3113
3113
  "div",
3114
3114
  {
3115
3115
  id: this.props.id,
@@ -3120,16 +3120,16 @@ class xe extends l.Component {
3120
3120
  );
3121
3121
  }
3122
3122
  }
3123
- class ne extends l.Component {
3123
+ class ae extends n.Component {
3124
3124
  /**
3125
3125
  * @hidden
3126
3126
  */
3127
3127
  render() {
3128
3128
  const { title: t, iconClass: s, svgIcon: o, selected: e } = this.props;
3129
- return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && vs(s), icon: o }), t);
3129
+ return /* @__PURE__ */ n.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ n.createElement(O, { name: s && Es(s), icon: o }), t);
3130
3130
  }
3131
3131
  }
3132
- class rs extends l.Component {
3132
+ class os extends n.Component {
3133
3133
  constructor() {
3134
3134
  super(...arguments), this.onGroupClick = (t) => {
3135
3135
  if (t.preventDefault(), this.props.onGroupChange) {
@@ -3148,21 +3148,21 @@ class rs extends l.Component {
3148
3148
  * @hidden
3149
3149
  */
3150
3150
  render() {
3151
- const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), r = e ? At : Pt;
3152
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3153
- ne,
3151
+ const { group: t, column: s } = this.props, o = D(this), e = !!(t && s.field && t.find((l) => l.field === s.field)), r = e ? Bt : At;
3152
+ return /* @__PURE__ */ n.createElement(ve, null, /* @__PURE__ */ n.createElement(
3153
+ ae,
3154
3154
  {
3155
3155
  title: o.toLanguageString(r, k[r]),
3156
3156
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3157
- svgIcon: e ? As : Ps,
3157
+ svgIcon: e ? Ws : Bs,
3158
3158
  onClick: this.onGroupClick
3159
3159
  }
3160
3160
  ));
3161
3161
  }
3162
3162
  }
3163
- Gt(rs);
3164
- M(rs);
3165
- const is = "asc", os = "desc", Mr = {
3163
+ Mt(os);
3164
+ M(os);
3165
+ const ns = "asc", ls = "desc", Hr = {
3166
3166
  true: {
3167
3167
  asc: { asc: "", desc: "desc" },
3168
3168
  desc: { asc: "asc", desc: "" },
@@ -3173,17 +3173,17 @@ const is = "asc", os = "desc", Mr = {
3173
3173
  desc: { asc: "asc", desc: "desc" },
3174
3174
  "": { asc: "asc", desc: "desc" }
3175
3175
  }
3176
- }, ls = (i, t) => t ? t.findIndex((s) => s.field === i) : -1, ns = (i, t) => !!(t && i > -1 && t[i].dir === is), as = (i, t) => !!(t && i > -1 && t[i].dir === os);
3177
- class Xe extends l.Component {
3176
+ }, as = (i, t) => t ? t.findIndex((s) => s.field === i) : -1, cs = (i, t) => !!(t && i > -1 && t[i].dir === ns), hs = (i, t) => !!(t && i > -1 && t[i].dir === ls);
3177
+ class Je extends n.Component {
3178
3178
  constructor() {
3179
3179
  super(...arguments), this.onAscClick = (t) => {
3180
- this.onSort(t, is), this.props.onCloseMenu && this.props.onCloseMenu();
3180
+ this.onSort(t, ns), this.props.onCloseMenu && this.props.onCloseMenu();
3181
3181
  }, this.onDescClick = (t) => {
3182
- this.onSort(t, os), this.props.onCloseMenu && this.props.onCloseMenu();
3182
+ this.onSort(t, ls), this.props.onCloseMenu && this.props.onCloseMenu();
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: n, mode: a } = Ut(e || !1, !1), c = (r || []).filter((g) => g.field === o.field)[0], h = Mr[n][c && c.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3186
+ 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);
3187
3187
  h !== "" && o.field && d.push({ field: o.field, dir: h }), this.props.onSortChange(d, t);
3188
3188
  };
3189
3189
  }
@@ -3191,57 +3191,57 @@ class Xe extends l.Component {
3191
3191
  * @hidden
3192
3192
  */
3193
3193
  render() {
3194
- const { sort: t, column: s } = this.props, o = ls(s.field, t), e = G(this);
3195
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3196
- ne,
3194
+ const { sort: t, column: s } = this.props, o = as(s.field, t), e = D(this);
3195
+ return /* @__PURE__ */ n.createElement(ve, null, /* @__PURE__ */ n.createElement(
3196
+ ae,
3197
3197
  {
3198
- title: e.toLanguageString(Me, k[Me]),
3198
+ title: e.toLanguageString(He, k[He]),
3199
3199
  iconClass: "k-i-sort-asc-sm",
3200
- svgIcon: Ve,
3201
- selected: ns(o, t),
3200
+ svgIcon: qe,
3201
+ selected: cs(o, t),
3202
3202
  onClick: this.onAscClick
3203
3203
  }
3204
- ), /* @__PURE__ */ l.createElement(
3205
- ne,
3204
+ ), /* @__PURE__ */ n.createElement(
3205
+ ae,
3206
3206
  {
3207
- title: e.toLanguageString(He, k[He]),
3207
+ title: e.toLanguageString(ze, k[ze]),
3208
3208
  iconClass: "k-i-sort-desc-sm",
3209
- svgIcon: Ue,
3210
- selected: as(o, t),
3209
+ svgIcon: $e,
3210
+ selected: hs(o, t),
3211
3211
  onClick: this.onDescClick
3212
3212
  }
3213
3213
  ));
3214
3214
  }
3215
3215
  }
3216
- Xe.active = (i, t) => {
3217
- const s = ls(i, t);
3218
- return as(s, t) || ns(s, t);
3216
+ Je.active = (i, t) => {
3217
+ const s = as(i, t);
3218
+ return hs(s, t) || cs(s, t);
3219
3219
  };
3220
- Gt(Xe);
3221
- M(Xe);
3222
- class cs extends l.Component {
3220
+ Mt(Je);
3221
+ M(Je);
3222
+ class ds extends n.Component {
3223
3223
  /**
3224
3224
  * @hidden
3225
3225
  */
3226
3226
  render() {
3227
- return /* @__PURE__ */ l.createElement(
3227
+ return /* @__PURE__ */ n.createElement(
3228
3228
  "div",
3229
3229
  {
3230
3230
  id: this.props.id,
3231
3231
  className: y("k-columnmenu-item-content", this.props.className),
3232
3232
  style: this.props.style
3233
3233
  },
3234
- /* @__PURE__ */ l.createElement(Vs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3234
+ /* @__PURE__ */ n.createElement(qs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3235
3235
  );
3236
3236
  }
3237
3237
  }
3238
- class St extends l.Component {
3238
+ class wt extends n.Component {
3239
3239
  constructor(t) {
3240
3240
  super(t), this.renderOperatorEditor = () => {
3241
3241
  if (this.props.filterType === "boolean")
3242
3242
  return;
3243
3243
  const s = this.props.operators.find((o) => o.operator === this.props.operator) || null;
3244
- return /* @__PURE__ */ l.createElement(
3244
+ return /* @__PURE__ */ n.createElement(
3245
3245
  ie,
3246
3246
  {
3247
3247
  value: s,
@@ -3256,22 +3256,22 @@ class St extends l.Component {
3256
3256
  * @hidden
3257
3257
  */
3258
3258
  render() {
3259
- return /* @__PURE__ */ l.createElement(l.Fragment, null, this.renderOperatorEditor(), this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues));
3259
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, this.renderOperatorEditor(), this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues));
3260
3260
  }
3261
3261
  inputChange(t, s) {
3262
- Xt(t, s, this.props);
3262
+ Yt(t, s, this.props);
3263
3263
  }
3264
3264
  operatorChange(t) {
3265
- Qt(t, this.props.value, this.props.onChange);
3265
+ Zt(t, this.props.value, this.props.onChange);
3266
3266
  }
3267
3267
  boolDropdownChange(t) {
3268
- Jt(t, this.props.onChange);
3268
+ Qt(t, this.props.onChange);
3269
3269
  }
3270
3270
  filterComponent(t, s, o) {
3271
3271
  switch (t) {
3272
3272
  case "numeric":
3273
- return /* @__PURE__ */ l.createElement(
3274
- qe,
3273
+ return /* @__PURE__ */ n.createElement(
3274
+ je,
3275
3275
  {
3276
3276
  value: s,
3277
3277
  onChange: (e) => {
@@ -3281,8 +3281,8 @@ class St extends l.Component {
3281
3281
  }
3282
3282
  );
3283
3283
  case "date":
3284
- return /* @__PURE__ */ l.createElement(
3285
- $e,
3284
+ return /* @__PURE__ */ n.createElement(
3285
+ Xe,
3286
3286
  {
3287
3287
  value: s,
3288
3288
  onChange: (e) => {
@@ -3292,7 +3292,7 @@ class St extends l.Component {
3292
3292
  );
3293
3293
  case "boolean": {
3294
3294
  const e = (r) => r == null;
3295
- return /* @__PURE__ */ l.createElement(
3295
+ return /* @__PURE__ */ n.createElement(
3296
3296
  ie,
3297
3297
  {
3298
3298
  onChange: this.boolDropdownChange,
@@ -3303,8 +3303,8 @@ class St extends l.Component {
3303
3303
  );
3304
3304
  }
3305
3305
  default:
3306
- return /* @__PURE__ */ l.createElement(
3307
- zt,
3306
+ return /* @__PURE__ */ n.createElement(
3307
+ Lt,
3308
3308
  {
3309
3309
  value: s || "",
3310
3310
  onChange: (e) => {
@@ -3315,7 +3315,7 @@ class St extends l.Component {
3315
3315
  }
3316
3316
  }
3317
3317
  }
3318
- class Hr extends l.Component {
3318
+ class zr extends n.Component {
3319
3319
  render() {
3320
3320
  const {
3321
3321
  firstFilterProps: t,
@@ -3323,26 +3323,26 @@ class Hr extends l.Component {
3323
3323
  secondFilterProps: o,
3324
3324
  logicData: e,
3325
3325
  logicValue: r,
3326
- onLogicChange: n
3326
+ onLogicChange: l
3327
3327
  } = this.props;
3328
- return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(St, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3328
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(wt, { ...t }), !s && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
3329
3329
  ie,
3330
3330
  {
3331
3331
  data: e,
3332
3332
  value: r,
3333
- onChange: n,
3333
+ onChange: l,
3334
3334
  className: "k-filter-and",
3335
3335
  textField: "text"
3336
3336
  }
3337
- ), /* @__PURE__ */ l.createElement(St, { ...o })));
3337
+ ), /* @__PURE__ */ n.createElement(wt, { ...o })));
3338
3338
  }
3339
3339
  }
3340
- const Ke = (i) => i || { filters: [], logic: "and" }, ge = (i, t) => Ke(t).filters.filter((e) => mt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((r) => mt(r) || r.field !== i) : !1)[0] || null;
3341
- class hs extends l.Component {
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;
3341
+ class ps extends n.Component {
3342
3342
  constructor(t) {
3343
3343
  super(t), this.removeGroup = (o, e) => {
3344
- const r = [...e.filters], n = r.findIndex((a) => a === o);
3345
- return n > -1 && r.splice(n, 1), {
3344
+ const r = [...e.filters], l = r.findIndex((a) => a === o);
3345
+ return l > -1 && r.splice(l, 1), {
3346
3346
  ...e,
3347
3347
  filters: r
3348
3348
  };
@@ -3362,11 +3362,11 @@ class hs extends l.Component {
3362
3362
  }, this.secondFilterChange = (o) => {
3363
3363
  this.filterChange(1, o);
3364
3364
  }, this.filterChange = (o, e) => {
3365
- const r = this.state.filterGroup.filters.map((n, a) => a === o ? {
3366
- ...n,
3365
+ const r = this.state.filterGroup.filters.map((l, a) => a === o ? {
3366
+ ...l,
3367
3367
  value: e.value,
3368
3368
  operator: e.operator
3369
- } : n);
3369
+ } : l);
3370
3370
  this.setState({
3371
3371
  filterGroup: {
3372
3372
  ...this.state.filterGroup,
@@ -3383,7 +3383,7 @@ class hs extends l.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 = Ke(this.props.filter), n = ge(e, this.props.filter), a = r.filters.filter((c) => c !== n);
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);
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,16 +3391,16 @@ class hs extends l.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 = Ke(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3394
+ const e = this.props.column.field, r = Ve(this.props.filter), l = fe(e, this.props.filter), a = this.currentFilterGroup();
3395
3395
  let c = null;
3396
- if (n && a.filters.length > 0) {
3397
- const h = r.filters.map((d) => d === n ? a : d);
3396
+ if (l && a.filters.length > 0) {
3397
+ const h = r.filters.map((d) => d === l ? a : d);
3398
3398
  c = {
3399
3399
  ...r,
3400
3400
  filters: h
3401
3401
  };
3402
3402
  } else if (a.filters.length === 0) {
3403
- const h = r.filters.filter((d) => d !== n);
3403
+ const h = r.filters.filter((d) => d !== l);
3404
3404
  h.length && (c = {
3405
3405
  ...r,
3406
3406
  filters: h
@@ -3414,8 +3414,8 @@ class hs extends l.Component {
3414
3414
  };
3415
3415
  let s;
3416
3416
  if (t.column && t.column.field) {
3417
- const o = We(t.column.filter), e = Yt(t.filterOperators, o);
3418
- s = ge(t.column.field, t.filter), s = s ? {
3417
+ const o = Ke(t.column.filter), e = Jt(t.filterOperators, o);
3418
+ s = fe(t.column.field, t.filter), s = s ? {
3419
3419
  ...s,
3420
3420
  filters: s.filters.map((r) => ({ ...r }))
3421
3421
  } : {
@@ -3437,8 +3437,8 @@ class hs extends l.Component {
3437
3437
  render() {
3438
3438
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3439
3439
  if (!t || !t.field)
3440
- return /* @__PURE__ */ l.createElement("div", null);
3441
- const r = We(t.filter), n = o !== void 0 ? o : mr[r], a = G(this), c = this.state.filterGroup.filters, h = re(e[r], a), d = re(jt, a), g = {
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 = {
3442
3442
  field: t.field,
3443
3443
  value: c[0].value,
3444
3444
  operator: c[0].operator,
@@ -3454,8 +3454,8 @@ class hs extends l.Component {
3454
3454
  booleanValues: d,
3455
3455
  onChange: this.secondFilterChange,
3456
3456
  filterType: r
3457
- }, u = this.state.filterGroup.logic, b = re(gr, a), E = {
3458
- value: b.find((D) => D.operator === (u === null ? "" : u)),
3457
+ }, u = this.state.filterGroup.logic, b = re(mr, a), E = {
3458
+ value: b.find((T) => T.operator === (u === null ? "" : u)),
3459
3459
  onChange: this.logicChange,
3460
3460
  data: b
3461
3461
  }, C = s, x = {
@@ -3464,32 +3464,32 @@ class hs extends l.Component {
3464
3464
  logicData: E.data,
3465
3465
  logicValue: E.value,
3466
3466
  onLogicChange: E.onChange,
3467
- hideSecondFilter: n
3468
- }, I = this.currentFilterGroup().filters.length !== 0 || L(c[0].operator) || L(c[1].operator), v = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3469
- return /* @__PURE__ */ l.createElement(xe, null, !_ && /* @__PURE__ */ l.createElement(
3470
- ne,
3467
+ hideSecondFilter: l
3468
+ }, S = this.currentFilterGroup().filters.length !== 0 || L(c[0].operator) || L(c[1].operator), v = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
3469
+ return /* @__PURE__ */ n.createElement(ve, null, !_ && /* @__PURE__ */ n.createElement(
3470
+ ae,
3471
3471
  {
3472
- title: a.toLanguageString(le, k[le]),
3472
+ title: a.toLanguageString(ne, k[ne]),
3473
3473
  iconClass: "k-i-filter",
3474
- svgIcon: Ce,
3474
+ svgIcon: be,
3475
3475
  onClick: this.onFilterExpand
3476
3476
  }
3477
- ), /* @__PURE__ */ l.createElement(cs, { show: _ || !!v }, /* @__PURE__ */ l.createElement(
3477
+ ), /* @__PURE__ */ n.createElement(ds, { show: _ || !!v }, /* @__PURE__ */ n.createElement(
3478
3478
  "form",
3479
3479
  {
3480
3480
  className: "k-filter-menu",
3481
3481
  onSubmit: this.submit,
3482
3482
  onReset: this.clear,
3483
- onKeyDown: (D) => D.stopPropagation()
3483
+ onKeyDown: (T) => T.stopPropagation()
3484
3484
  },
3485
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Hr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
3485
+ /* @__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(
3486
3486
  W,
3487
3487
  {
3488
3488
  themeColor: "primary",
3489
- disabled: !I
3489
+ disabled: !S
3490
3490
  },
3491
3491
  a.toLanguageString(oe, k[oe])
3492
- ), /* @__PURE__ */ l.createElement(
3492
+ ), /* @__PURE__ */ n.createElement(
3493
3493
  W,
3494
3494
  {
3495
3495
  type: "reset"
@@ -3499,14 +3499,14 @@ class hs extends l.Component {
3499
3499
  )));
3500
3500
  }
3501
3501
  }
3502
- hs.active = (i, t) => !!ge(i, t);
3503
- M(hs);
3504
- const zr = (i, t) => i.length !== t.length ? !1 : i.every((s, o) => s === t[o]);
3505
- class ds extends l.Component {
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]);
3505
+ class us extends n.Component {
3506
3506
  constructor(t) {
3507
- super(t), this.defaultFilter = () => this.props.filter ? ks(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3508
- const e = this.props.column.field || "", r = s.map((n) => T(e, n));
3509
- return o ? r.filter((n, a) => r.indexOf(n) === a) : r;
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));
3509
+ return o ? r.filter((l, a) => r.indexOf(l) === a) : r;
3510
3510
  }, this.getFilterIndex = () => {
3511
3511
  const s = this.props.column.field;
3512
3512
  return this.defaultFilter().filters.findIndex((r) => r.filters && r.filters.length > 0 && r.filters[0].field === s);
@@ -3524,7 +3524,7 @@ class ds extends l.Component {
3524
3524
  };
3525
3525
  this.setState({
3526
3526
  value: s.target.value,
3527
- data: this.parseData(Ct(this.props.data || [], e), this.props.uniqueData)
3527
+ data: this.parseData(xt(this.props.data || [], e), this.props.uniqueData)
3528
3528
  });
3529
3529
  }, this.handleClear = () => {
3530
3530
  const s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
@@ -3535,7 +3535,7 @@ class ds extends l.Component {
3535
3535
  };
3536
3536
  this.setState({
3537
3537
  value: "",
3538
- data: this.parseData(Ct(this.props.data || [], o), this.props.uniqueData)
3538
+ data: this.parseData(xt(this.props.data || [], o), this.props.uniqueData)
3539
3539
  });
3540
3540
  }, this.clear = (s) => {
3541
3541
  if (s.preventDefault(), !this.props.onFilterChange)
@@ -3548,7 +3548,7 @@ class ds extends l.Component {
3548
3548
  const o = this.state.currentFilter || null;
3549
3549
  this.props.onFilterChange(o, s), this.props.onCloseMenu && this.props.onCloseMenu();
3550
3550
  }, this.handleCheckBoxChange = (s, o) => {
3551
- const e = this.props.column.field || "", r = { ...this.state.currentFilter }, n = [...this.state.currentFilter.filters];
3551
+ const e = this.props.column.field || "", r = { ...this.state.currentFilter }, l = [...this.state.currentFilter.filters];
3552
3552
  let a = [];
3553
3553
  if (this.compositeFilterIndex !== -1 && r.filters[this.compositeFilterIndex].filters && o !== "all" && (a = r.filters[this.compositeFilterIndex].filters), s.value && o === "all")
3554
3554
  this.state.data.forEach((c) => {
@@ -3560,18 +3560,18 @@ class ds extends l.Component {
3560
3560
  const c = a.findIndex((h) => h.value === o);
3561
3561
  a.splice(c, 1);
3562
3562
  }
3563
- r.logic = "and", this.compositeFilterIndex !== -1 ? n[this.compositeFilterIndex] = {
3563
+ r.logic = "and", this.compositeFilterIndex !== -1 ? l[this.compositeFilterIndex] = {
3564
3564
  logic: "or",
3565
3565
  filters: a
3566
- } : n.push({
3566
+ } : l.push({
3567
3567
  logic: "or",
3568
3568
  filters: a
3569
- }), (!s.value && o === "all" || a.length === 0) && n.splice(this.compositeFilterIndex, 1), r.filters = n, this.setState({ currentFilter: r });
3569
+ }), (!s.value && o === "all" || a.length === 0) && l.splice(this.compositeFilterIndex, 1), r.filters = l, this.setState({ currentFilter: r });
3570
3570
  }, this.isAllSelected = () => {
3571
3571
  let s = !1;
3572
3572
  if (this.state.currentFilter) {
3573
3573
  const o = [...this.state.currentFilter.filters];
3574
- return this.compositeFilterIndex === -1 ? !1 : (s = this.state.data.every((e) => this.compositeFilterIndex !== -1 && o[this.compositeFilterIndex].filters ? o[this.compositeFilterIndex].filters.findIndex((n) => n.value === e) >= 0 : !1), s);
3574
+ return this.compositeFilterIndex === -1 ? !1 : (s = this.state.data.every((e) => this.compositeFilterIndex !== -1 && o[this.compositeFilterIndex].filters ? o[this.compositeFilterIndex].filters.findIndex((l) => l.value === e) >= 0 : !1), s);
3575
3575
  }
3576
3576
  return s;
3577
3577
  }, this.compositeFilterIndex = this.getFilterIndex(), this.state = {
@@ -3586,8 +3586,8 @@ class ds extends l.Component {
3586
3586
  * @hidden
3587
3587
  */
3588
3588
  componentDidUpdate() {
3589
- const t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3590
- zr(s, this.state.dataFromProps) || this.setState({
3589
+ const t = this.props.column.field || "", s = this.props.data.map((o) => G(t, o));
3590
+ Lr(s, this.state.dataFromProps) || this.setState({
3591
3591
  data: s,
3592
3592
  dataFromProps: s
3593
3593
  });
@@ -3598,24 +3598,24 @@ class ds extends l.Component {
3598
3598
  render() {
3599
3599
  const { column: t } = this.props;
3600
3600
  if (!t || !t.field)
3601
- return /* @__PURE__ */ l.createElement("div", null);
3602
- const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded, e = [];
3601
+ return /* @__PURE__ */ n.createElement("div", null);
3602
+ const s = D(this), o = this.isControlled() ? this.props.expanded : this.state.expanded, e = [];
3603
3603
  if (this.state.currentFilter) {
3604
3604
  const a = [...this.state.currentFilter.filters];
3605
3605
  this.compositeFilterIndex = a.findIndex((c) => c.filters && c.filters.length > 0 ? c.filters[0].field === t.field : !1), this.compositeFilterIndex !== -1 && a[this.compositeFilterIndex].filters.length > 0 && a[this.compositeFilterIndex].filters.forEach((c) => {
3606
3606
  c.field === this.props.column.field && e.push(c.value);
3607
3607
  });
3608
3608
  }
3609
- const r = this.props.searchBox ? /* @__PURE__ */ l.createElement(this.props.searchBox, { value: this.state.value, onChange: this.handleSearchChange }) : /* @__PURE__ */ l.createElement("div", { className: "k-searchbox k-textbox k-input k-input-md k-input-solid" }, /* @__PURE__ */ l.createElement(O, { className: "k-input-icon", name: "search", icon: Mt }), /* @__PURE__ */ l.createElement(
3610
- zt,
3609
+ const r = this.props.searchBox ? /* @__PURE__ */ n.createElement(this.props.searchBox, { value: this.state.value, onChange: this.handleSearchChange }) : /* @__PURE__ */ n.createElement("div", { className: "k-searchbox k-textbox k-input k-input-md k-input-solid" }, /* @__PURE__ */ n.createElement(O, { className: "k-input-icon", name: "search", icon: Ht }), /* @__PURE__ */ n.createElement(
3610
+ Lt,
3611
3611
  {
3612
3612
  className: "k-input-inner",
3613
3613
  type: "text",
3614
- placeholder: s.toLanguageString(ze, k[ze]),
3614
+ placeholder: s.toLanguageString(Le, k[Le]),
3615
3615
  value: this.state.value,
3616
3616
  onChange: (a) => this.handleSearchChange(a.nativeEvent)
3617
3617
  }
3618
- ), /* @__PURE__ */ l.createElement(
3618
+ ), /* @__PURE__ */ n.createElement(
3619
3619
  W,
3620
3620
  {
3621
3621
  type: "button",
@@ -3623,46 +3623,46 @@ class ds extends l.Component {
3623
3623
  className: "k-input-button",
3624
3624
  onClick: this.handleClear,
3625
3625
  icon: "x",
3626
- svgIcon: Bs
3626
+ svgIcon: Ks
3627
3627
  }
3628
- )), n = e.filter((a, c) => e.indexOf(a) === c);
3629
- return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3630
- ne,
3628
+ )), l = e.filter((a, c) => e.indexOf(a) === c);
3629
+ return /* @__PURE__ */ n.createElement(ve, null, /* @__PURE__ */ n.createElement(
3630
+ ae,
3631
3631
  {
3632
- title: s.toLanguageString(le, k[le]),
3632
+ title: s.toLanguageString(ne, k[ne]),
3633
3633
  iconClass: "k-i-filter",
3634
- svgIcon: Ce,
3634
+ svgIcon: be,
3635
3635
  onClick: this.onFilterExpand
3636
3636
  }
3637
- ), /* @__PURE__ */ l.createElement(cs, { show: !!o }, /* @__PURE__ */ l.createElement(
3637
+ ), /* @__PURE__ */ n.createElement(ds, { show: !!o }, /* @__PURE__ */ n.createElement(
3638
3638
  "form",
3639
3639
  {
3640
3640
  className: "k-filter-menu",
3641
3641
  onSubmit: this.submit,
3642
3642
  onReset: this.clear
3643
3643
  },
3644
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, r, /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3645
- fe,
3644
+ /* @__PURE__ */ n.createElement("div", { className: "k-filter-menu-container" }, r, /* @__PURE__ */ n.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ n.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ n.createElement(
3645
+ me,
3646
3646
  {
3647
- label: s.toLanguageString(Le, k[Le]),
3647
+ label: s.toLanguageString(Oe, k[Oe]),
3648
3648
  onChange: (a) => this.handleCheckBoxChange(a, "all"),
3649
3649
  checked: this.isAllSelected()
3650
3650
  }
3651
- )), this.state.data.map((a, c) => /* @__PURE__ */ l.createElement("li", { className: "k-item", key: c }, /* @__PURE__ */ l.createElement(
3652
- fe,
3651
+ )), this.state.data.map((a, c) => /* @__PURE__ */ n.createElement("li", { className: "k-item", key: c }, /* @__PURE__ */ n.createElement(
3652
+ me,
3653
3653
  {
3654
3654
  label: String(a),
3655
3655
  onChange: (h) => this.handleCheckBoxChange(h, a),
3656
- checked: n.includes(a)
3656
+ checked: l.includes(a)
3657
3657
  }
3658
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(_e, k[_e])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
3658
+ )))), /* @__PURE__ */ n.createElement("div", { className: "k-filter-selected-items" }, l.length + " " + s.toLanguageString(Pe, k[Pe])), /* @__PURE__ */ n.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ n.createElement(
3659
3659
  W,
3660
3660
  {
3661
3661
  themeColor: "primary",
3662
3662
  type: "submit"
3663
3663
  },
3664
3664
  s.toLanguageString(oe, k[oe])
3665
- ), /* @__PURE__ */ l.createElement(
3665
+ ), /* @__PURE__ */ n.createElement(
3666
3666
  W,
3667
3667
  {
3668
3668
  className: "k-button",
@@ -3673,42 +3673,42 @@ class ds extends l.Component {
3673
3673
  )));
3674
3674
  }
3675
3675
  }
3676
- ds.defaultProps = {
3676
+ us.defaultProps = {
3677
3677
  uniqueData: !0
3678
3678
  };
3679
- M(ds);
3680
- const Lr = (i) => {
3681
- const [t, s] = l.useState(""), o = l.useMemo(() => new Set(i.columnsState.map((u) => u.id)), [i.columnsState]), e = l.useMemo(() => i.columns.filter((u) => {
3679
+ M(us);
3680
+ const Or = (i) => {
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());
3684
- }), [i.columns, t]), [r, n] = l.useState(i.columns.map((u) => o.has(u.id))), a = l.useCallback(() => {
3684
+ }), [i.columns, t]), [r, l] = n.useState(i.columns.map((u) => o.has(u.id))), a = n.useCallback(() => {
3685
3685
  const u = i.columns.filter((b, E) => r[E]);
3686
3686
  i.onColumnsChange.call(void 0, u), i.onCloseMenu.call(void 0);
3687
- }, [r, i.columns, i.onColumnsChange, i.onCloseMenu]), c = l.useCallback(() => {
3688
- n(i.columns.map((u) => o.has(u.id)));
3689
- }, [o, i.columns]), h = r.filter((u) => u).length, d = h === r.length, g = l.useCallback(() => {
3690
- n(i.columns.map((u, b) => d && b === 0 ? !0 : !d));
3691
- }, [i.columns, d]), m = l.useCallback((u, b) => {
3687
+ }, [r, i.columns, i.onColumnsChange, i.onCloseMenu]), c = n.useCallback(() => {
3688
+ l(i.columns.map((u) => o.has(u.id)));
3689
+ }, [o, i.columns]), h = r.filter((u) => u).length, d = h === r.length, g = n.useCallback(() => {
3690
+ l(i.columns.map((u, b) => d && b === 0 ? !0 : !d));
3691
+ }, [i.columns, d]), m = n.useCallback((u, b) => {
3692
3692
  const E = r.slice();
3693
- E[b] = u, n(E);
3693
+ E[b] = u, l(E);
3694
3694
  }, [r]);
3695
- return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3696
- Ht,
3695
+ return /* @__PURE__ */ n.createElement("form", { className: "k-filter-menu" }, /* @__PURE__ */ n.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ n.createElement(
3696
+ zt,
3697
3697
  {
3698
3698
  className: "k-searchbox",
3699
3699
  value: t,
3700
3700
  onChange: (u) => s(String(u.target.value)),
3701
- prefix: () => /* @__PURE__ */ l.createElement(Ws, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Mt }))
3701
+ prefix: () => /* @__PURE__ */ n.createElement(Vs, null, /* @__PURE__ */ n.createElement(O, { name: "search", icon: Ht }))
3702
3702
  }
3703
- ), /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, !t && /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
3704
- fe,
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
+ me,
3705
3705
  {
3706
3706
  checked: d,
3707
3707
  onChange: g,
3708
3708
  label: "(Select all)"
3709
3709
  }
3710
- )), e.map((u, b) => /* @__PURE__ */ l.createElement("li", { key: u.id, className: "k-item" }, /* @__PURE__ */ l.createElement(
3711
- fe,
3710
+ )), e.map((u, b) => /* @__PURE__ */ n.createElement("li", { key: u.id, className: "k-item" }, /* @__PURE__ */ n.createElement(
3711
+ me,
3712
3712
  {
3713
3713
  disabled: r[b] && h === 1,
3714
3714
  checked: r[b],
@@ -3718,10 +3718,10 @@ const Lr = (i) => {
3718
3718
  },
3719
3719
  label: u.title || u.field
3720
3720
  }
3721
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, h, " selected items"), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ l.createElement(W, { type: "button", themeColor: "primary", onClick: a }, "Apply"), /* @__PURE__ */ l.createElement(W, { type: "button", onClick: c }, "Reset"))));
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
- Lr.displayName = "GridColumnMenuColumnsList";
3724
- class ei extends l.Component {
3723
+ Or.displayName = "GridColumnMenuColumnsList";
3724
+ class ti extends n.Component {
3725
3725
  /**
3726
3726
  * @hidden
3727
3727
  */
@@ -3729,12 +3729,12 @@ class ei extends l.Component {
3729
3729
  return null;
3730
3730
  }
3731
3731
  }
3732
- class Or extends l.Component {
3732
+ class _r extends n.Component {
3733
3733
  /**
3734
3734
  * @hidden
3735
3735
  */
3736
3736
  render() {
3737
- return /* @__PURE__ */ l.createElement(
3737
+ return /* @__PURE__ */ n.createElement(
3738
3738
  "div",
3739
3739
  {
3740
3740
  className: y(
@@ -3753,27 +3753,27 @@ class Or extends l.Component {
3753
3753
  );
3754
3754
  }
3755
3755
  }
3756
- Or.displayName = "KendoReactGridToolbar";
3757
- const _r = (i) => {
3756
+ _r.displayName = "KendoReactGridToolbar";
3757
+ const Pr = (i) => {
3758
3758
  const { data: t = [] } = i;
3759
- 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))));
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
- _r.displayName = "KendoReactGridStatusBar";
3762
- const Pr = (i) => {
3761
+ Pr.displayName = "KendoReactGridStatusBar";
3762
+ const Ar = (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
- }, ti = (i) => {
3770
- const { dataItems: t, target: s, selectedField: o } = i, r = Pr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => Re(C)), n = Re(o), a = { dates: [], numbers: [], booleans: [], others: [] }, c = (C) => {
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) => {
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) => {
3774
- const x = n(C);
3775
- x && x.forEach((I) => {
3776
- c(r[I](C));
3774
+ const x = l(C);
3775
+ x && x.forEach((S) => {
3776
+ c(r[S](C));
3777
3777
  });
3778
3778
  });
3779
3779
  const h = a.dates.map((C) => C.getTime()), d = a.booleans.filter((C) => C).length, g = a.booleans.filter((C) => !C).length, m = a.numbers.length ? a.numbers.reduce((C, x) => C += x, 0) : void 0, u = {
@@ -3788,58 +3788,58 @@ const Pr = (i) => {
3788
3788
  latest: a.dates.length ? new Date(Math.max(...h)) : void 0
3789
3789
  }, b = (C, x) => (x === "sum" || x === "average") && typeof C == "number" ? C.toFixed(2) : (x === "earliest" || x === "latest") && C instanceof Date ? C.toLocaleDateString() : String(C), E = [];
3790
3790
  return Object.keys(u).forEach((C) => {
3791
- const x = C, I = u[x];
3792
- I !== void 0 && E.push({ type: x, value: I, formattedValue: b(I, x) });
3791
+ const x = C, S = u[x];
3792
+ S !== void 0 && E.push({ type: x, value: S, formattedValue: b(S, x) });
3793
3793
  }), E;
3794
- }, Ar = Ft(ce);
3795
- Ar.displayName = "KendoReactGrid";
3794
+ }, Br = Dt(he);
3795
+ Br.displayName = "KendoReactGrid";
3796
3796
  export {
3797
3797
  se as GRID_COL_INDEX_ATTRIBUTE,
3798
- nr as GRID_ROW_INDEX_ATTRIBUTE,
3799
- Ar as Grid,
3800
- Sr as GridCell,
3801
- ce as GridClassComponent,
3802
- ae as GridColumn,
3803
- ds as GridColumnMenuCheckboxFilter,
3804
- Lr as GridColumnMenuColumnsList,
3805
- hs as GridColumnMenuFilter,
3806
- St as GridColumnMenuFilterCell,
3807
- Hr as GridColumnMenuFilterUI,
3808
- rs as GridColumnMenuGroup,
3809
- ne as GridColumnMenuItem,
3810
- cs as GridColumnMenuItemContent,
3811
- xe as GridColumnMenuItemGroup,
3812
- Xe as GridColumnMenuSort,
3813
- qt as GridColumnMenuWrapper,
3814
- Ir as GridCommonDragLogic,
3815
- ei as GridDetailRow,
3816
- ar as GridEditCell,
3817
- Zt as GridFilterCell,
3818
- Et as GridGroupCell,
3819
- dr as GridHeaderCell,
3820
- lr as GridHierarchyCell,
3821
- je as GridNoRecords,
3822
- yr as GridRow,
3823
- js as GridSelectionCell,
3824
- Or as GridToolbar,
3825
- _r as StatusBar,
3826
- jt as booleanFilterValues,
3827
- Jt as cellBoolDropdownChange,
3828
- Xt as cellInputChange,
3829
- Qt as cellOperatorChange,
3830
- ge as filterGroupByField,
3831
- ii as getSelectedState,
3832
- oi as getSelectedStateFromKeyDown,
3833
- ti as getStatusData,
3798
+ cr as GRID_ROW_INDEX_ATTRIBUTE,
3799
+ Br as Grid,
3800
+ wr as GridCell,
3801
+ he as GridClassComponent,
3802
+ ce as GridColumn,
3803
+ us as GridColumnMenuCheckboxFilter,
3804
+ Or as GridColumnMenuColumnsList,
3805
+ ps as GridColumnMenuFilter,
3806
+ wt as GridColumnMenuFilterCell,
3807
+ zr as GridColumnMenuFilterUI,
3808
+ os as GridColumnMenuGroup,
3809
+ ae as GridColumnMenuItem,
3810
+ ds as GridColumnMenuItemContent,
3811
+ ve as GridColumnMenuItemGroup,
3812
+ Je as GridColumnMenuSort,
3813
+ $t as GridColumnMenuWrapper,
3814
+ yr as GridCommonDragLogic,
3815
+ ti as GridDetailRow,
3816
+ hr as GridEditCell,
3817
+ es as GridFilterCell,
3818
+ It as GridGroupCell,
3819
+ ur as GridHeaderCell,
3820
+ ar as GridHierarchyCell,
3821
+ Ye as GridNoRecords,
3822
+ Rr as GridRow,
3823
+ lr as GridSelectionCell,
3824
+ _r as GridToolbar,
3825
+ Pr as StatusBar,
3826
+ Xt as booleanFilterValues,
3827
+ Qt as cellBoolDropdownChange,
3828
+ Yt as cellInputChange,
3829
+ Zt as cellOperatorChange,
3830
+ fe as filterGroupByField,
3831
+ oi as getSelectedState,
3832
+ ni as getSelectedStateFromKeyDown,
3833
+ si as getStatusData,
3834
3834
  k as gridMessages,
3835
- Pr as leafColumns,
3836
- xt as operators,
3837
- Ys as pagerFirstPage,
3838
- Xs as pagerInfo,
3839
- er as pagerItemPerPage,
3840
- Zs as pagerLastPage,
3841
- Qs as pagerNextPage,
3842
- Js as pagerPreviousPage,
3843
- Ke as rootFilterOrDefault,
3835
+ Ar as leafColumns,
3836
+ 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
3844
  li as setSelectedState
3845
3845
  };