@progress/kendo-react-grid 7.1.0-develop.9 → 7.1.1-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -5,21 +5,21 @@
5
5
  "use client";
6
6
  import * as l from "react";
7
7
  import p from "prop-types";
8
- import { useId as It, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as St, kendoThemeMaps as K, Draggable as yt, withIdHOC as wt, dispatchEvent as us, memoizeOne as B, validatePackage as gs, shouldShowValidationUI as fs, canUseDOM as it, setScrollbarWidth as ot, getter as ye, WatermarkOverlay as ms, toIconName as Cs, clone as bs } from "@progress/kendo-react-common";
9
- import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as xs, TABLE_COL_INDEX_ATTRIBUTE as ks, isRtl as Rt, tableKeyboardNavigationHeaderAttributes as lt, ColumnResizer as vs, HeaderThElement as Ft, getIndex as nt, tableKeyboardNavigation as X, getSelectionOptions as at, mapColumns as Es, tableColumnsVirtualization as Is, Pager as Ss, TableKeyboardNavigationContext as we, tableKeyboardNavigationScopeAttributes as ht, TableSelection as ct, tableKeyboardNavigationBodyAttributes as dt, DropClue as pt, DragClue as ut, updateLeft as ys, updateRight as ws } from "@progress/kendo-react-data-tools";
10
- import { getSelectedState as ei, getSelectedStateFromKeyDown as ti, setSelectedState as si } from "@progress/kendo-react-data-tools";
11
- import { useLocalization as Nt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Rs, registerForIntl as Dt } from "@progress/kendo-react-intl";
12
- import { minusIcon as Fs, plusIcon as Ns, filterIcon as Ce, sortAscSmallIcon as We, sortDescSmallIcon as Ve, filterClearIcon as Ds, xCircleIcon as Ts, caretAltDownIcon as Gs, caretAltLeftIcon as Ms, caretAltRightIcon as Hs, groupIcon as zs, ungroupIcon as Ls, searchIcon as Tt, xIcon as Os } from "@progress/kendo-svg-icons";
13
- import { NumericTextBox as Ke, TextBox as Gt, Input as Mt, Checkbox as fe, InputPrefix as _s } from "@progress/kendo-react-inputs";
14
- import { DatePicker as Ue } from "@progress/kendo-react-dateinputs";
15
- import { Popup as Ps } from "@progress/kendo-react-popup";
8
+ import { useId as yt, Keys as me, IconWrap as O, classNames as y, getScrollbarWidth as wt, kendoThemeMaps as V, Draggable as Rt, withIdHOC as Ft, dispatchEvent as fs, canUseDOM as ye, getActiveElement as ms, memoizeOne as B, validatePackage as Cs, shouldShowValidationUI as bs, setScrollbarWidth as nt, getter as Re, WatermarkOverlay as xs, toIconName as vs, clone as ks } from "@progress/kendo-react-common";
9
+ import { tableKeyboardNavigationTools as z, useTableKeyboardNavigation as q, TABLE_ROW_INDEX_ATTRIBUTE as Es, TABLE_COL_INDEX_ATTRIBUTE as Is, isRtl as Nt, tableKeyboardNavigationHeaderAttributes as at, ColumnResizer as Ss, HeaderThElement as Dt, getIndex as ct, tableKeyboardNavigation as X, getSelectionOptions as ht, mapColumns as ys, ClipboardService as ws, tableColumnsVirtualization as Rs, Pager as Fs, TableKeyboardNavigationContext as Fe, tableKeyboardNavigationScopeAttributes as dt, TableSelection as pt, tableKeyboardNavigationBodyAttributes as ut, DropClue as gt, DragClue as ft, updateLeft as Ns, updateRight as Ds } from "@progress/kendo-react-data-tools";
10
+ import { getSelectedState as ii, getSelectedStateFromKeyDown as oi, setSelectedState as li } from "@progress/kendo-react-data-tools";
11
+ import { useLocalization as Tt, provideLocalizationService as G, registerForLocalization as M, useInternationalization as Ts, registerForIntl as Gt } from "@progress/kendo-react-intl";
12
+ import { minusIcon as Gs, plusIcon as Ms, filterIcon as Ce, sortAscSmallIcon as Ve, sortDescSmallIcon as Ue, filterClearIcon as Hs, xCircleIcon as zs, caretAltDownIcon as Ls, caretAltLeftIcon as Os, caretAltRightIcon as _s, groupIcon as Ps, ungroupIcon as As, searchIcon as Mt, xIcon as Bs } from "@progress/kendo-svg-icons";
13
+ import { NumericTextBox as qe, TextBox as Ht, Input as zt, Checkbox as fe, InputPrefix as Ws } from "@progress/kendo-react-inputs";
14
+ import { DatePicker as $e } from "@progress/kendo-react-dateinputs";
15
+ import { Popup as Ks } from "@progress/kendo-react-popup";
16
16
  import { Button as W } from "@progress/kendo-react-buttons";
17
- import { DropDownList as oe } from "@progress/kendo-react-dropdowns";
18
- import { isCompositeFilterDescriptor as gt, filterBy as ft } from "@progress/kendo-data-query";
19
- import { Reveal as As } from "@progress/kendo-react-animation";
20
- const he = (r) => null;
21
- he.displayName = "KendoReactGridColumn";
22
- he.defaultProps = {
17
+ import { DropDownList as ie } from "@progress/kendo-react-dropdowns";
18
+ import { isCompositeFilterDescriptor as mt, filterBy as Ct } from "@progress/kendo-data-query";
19
+ import { Reveal as Vs } from "@progress/kendo-react-animation";
20
+ const ae = (i) => null;
21
+ ae.displayName = "KendoReactGridColumn";
22
+ ae.defaultProps = {
23
23
  filterable: !0,
24
24
  editable: !0,
25
25
  sortable: !0,
@@ -27,7 +27,7 @@ he.defaultProps = {
27
27
  reorderable: !0,
28
28
  groupable: !0
29
29
  };
30
- he.propTypes = {
30
+ ae.propTypes = {
31
31
  field: p.string,
32
32
  title: p.string,
33
33
  editable: p.bool,
@@ -58,95 +58,95 @@ he.propTypes = {
58
58
  columnMenu: p.any,
59
59
  locked: p.bool
60
60
  };
61
- function T(r, t) {
62
- const s = (r || "").split(".");
61
+ function T(i, t) {
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 Ht(r, t, s, o, e, i, n = 0) {
68
+ function Lt(i, t, s, o, e, r, n = 0) {
69
69
  let a = n;
70
- for (let h = 0; h < t.length; h++) {
71
- if (!e || t[h].value === void 0 || t[h].items === void 0) {
72
- r[r.length] = {
70
+ for (let c = 0; c < t.length; c++) {
71
+ if (!e || t[c].value === void 0 || t[c].items === void 0) {
72
+ i[i.length] = {
73
73
  dataIndex: o.index,
74
- dataItem: t[h],
74
+ dataItem: t[c],
75
75
  rowType: "data",
76
76
  level: n,
77
- expanded: i === void 0 || T(i, t[h])
77
+ expanded: r === void 0 || T(r, t[c])
78
78
  }, o.index++;
79
79
  continue;
80
80
  }
81
81
  a = Math.max(a, n + 1);
82
- const c = i === void 0 || T(i, t[h]) === void 0 || T(i, t[h]);
83
- r[r.length] = {
82
+ const h = r === void 0 || T(r, t[c]) === void 0 || T(r, t[c]);
83
+ i[i.length] = {
84
84
  dataIndex: -1,
85
- dataItem: t[h],
85
+ dataItem: t[c],
86
86
  level: n,
87
87
  rowType: "groupHeader",
88
- expanded: c
89
- }, c && (a = Math.max(
90
- Ht(r, t[h].items, s, o, e, i, n + 1),
88
+ expanded: h
89
+ }, h && (a = Math.max(
90
+ Lt(i, t[c].items, s, o, e, r, n + 1),
91
91
  a
92
- )), (s === "always" || c && s === "visible") && (r[r.length] = {
92
+ )), (s === "always" || h && s === "visible") && (i[i.length] = {
93
93
  dataIndex: -1,
94
- dataItem: t[h],
94
+ dataItem: t[c],
95
95
  rowType: "groupFooter",
96
96
  level: n,
97
- expanded: c
97
+ expanded: h
98
98
  });
99
99
  }
100
100
  return a;
101
101
  }
102
- function zt(r, t, s, o = 0) {
102
+ function Ot(i, t, s, o = 0) {
103
103
  let e = [];
104
- if (!r)
104
+ if (!i)
105
105
  return [];
106
- r && r.length === void 0 && (r = [r]), r.forEach((n, a) => {
106
+ i && i.length === void 0 && (i = [i]), i.forEach((n, a) => {
107
107
  n = n.props ? n.props : n;
108
- const h = t[a] || null, c = zt(n.children, h && h.children || [], s, o + 1);
108
+ const c = t[a] || null, h = Ot(n.children, c && c.children || [], s, o + 1);
109
109
  e.push(
110
110
  Object.assign(
111
111
  { depth: o },
112
- he.defaultProps,
113
- c.length ? { cell: () => null, filterCell: () => null } : {},
114
- h ? { width: h.width, orderIndex: h.orderIndex } : {},
112
+ ae.defaultProps,
113
+ h.length ? { cell: () => null, filterCell: () => null } : {},
114
+ c ? { width: c.width, orderIndex: c.orderIndex } : {},
115
115
  n,
116
116
  {
117
117
  id: n.id ? n.id : z.generateNavigatableId(`${s.prevId++}`, s.idPrefix, "column"),
118
118
  declarationIndex: e.length,
119
- children: c,
119
+ children: h,
120
120
  rowSpan: 0,
121
121
  colSpan: 0,
122
122
  isAccessible: !0,
123
- left: h && Math.floor(h.left),
124
- right: h && Math.floor(h.right)
123
+ left: c && Math.floor(c.left),
124
+ right: c && Math.floor(c.right)
125
125
  }
126
126
  )
127
127
  );
128
128
  });
129
- const i = (n, a) => n.orderIndex === a.orderIndex ? n.declarationIndex - a.declarationIndex : (n.orderIndex || 0) - (a.orderIndex || 0);
130
- if (e.sort(i), o === 0) {
129
+ const r = (n, a) => n.orderIndex === a.orderIndex ? n.declarationIndex - a.declarationIndex : (n.orderIndex || 0) - (a.orderIndex || 0);
130
+ if (e.sort(r), o === 0) {
131
131
  let n = [];
132
- const a = (h, c) => h.forEach((d) => {
133
- d.parentIndex = c, a(d.children, n.push(d) - 1);
132
+ const a = (c, h) => c.forEach((d) => {
133
+ d.parentIndex = h, a(d.children, n.push(d) - 1);
134
134
  });
135
135
  return a(e, -1), n;
136
136
  }
137
137
  return e;
138
138
  }
139
- function Bs(r, t, s, o) {
139
+ function Us(i, t, s, o) {
140
140
  let e = [];
141
- Array.isArray(r) ? e = r : r && (e = r.data);
142
- const i = [];
141
+ Array.isArray(i) ? e = i : i && (e = i.data);
142
+ const r = [];
143
143
  if (e.length > 0) {
144
144
  let n = e[0];
145
145
  if (t)
146
- for (let h = 0; h < t.length; h++)
146
+ for (let c = 0; c < t.length; c++)
147
147
  n = n.items && n.items[0];
148
- Object.getOwnPropertyNames(n).forEach((h) => {
149
- h !== s && i.push(Object.assign(
148
+ Object.getOwnPropertyNames(n).forEach((c) => {
149
+ c !== s && r.push(Object.assign(
150
150
  {
151
151
  id: z.generateNavigatableId(`${o.prevId++}`, o.idPrefix, "column"),
152
152
  declarationIndex: -1,
@@ -162,71 +162,70 @@ function Bs(r, t, s, o) {
162
162
  ariaColumnIndex: 0,
163
163
  isAccessible: !0
164
164
  },
165
- he.defaultProps,
166
- { field: h }
165
+ ae.defaultProps,
166
+ { field: c }
167
167
  ));
168
168
  });
169
169
  }
170
- return i;
170
+ return r;
171
171
  }
172
- const Ws = (r, t) => {
173
- let s = r[t.parentIndex];
172
+ const qs = (i, t) => {
173
+ let s = i[t.parentIndex];
174
174
  for (; s; ) {
175
175
  if (s.footerCell)
176
176
  return !0;
177
- s = r[s.parentIndex];
177
+ s = i[s.parentIndex];
178
178
  }
179
179
  return !1;
180
- }, Vs = (r) => r.filter((t) => Ws(r, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), Se = (r) => r.width !== void 0 ? Math.floor(parseFloat(r.width.toString())) + "px" : void 0, Lt = (r) => (r.sort((t, s) => t.declarationIndex - s.declarationIndex), r.map((t) => {
180
+ }, $s = (i) => i.filter((t) => qs(i, t) ? !1 : !!t.footerCell || !(t.children && t.children.length > 0)), we = (i) => i.width !== void 0 ? Math.floor(parseFloat(i.width.toString())) + "px" : void 0, _t = (i) => (i.sort((t, s) => t.declarationIndex - s.declarationIndex), i.map((t) => {
181
181
  const {
182
182
  declarationIndex: s,
183
183
  parentIndex: o,
184
184
  depth: e,
185
- colSpan: i,
185
+ colSpan: r,
186
186
  rowSpan: n,
187
187
  index: a,
188
- kFirst: h,
189
- children: c,
188
+ kFirst: c,
189
+ children: h,
190
190
  ...d
191
191
  } = t;
192
- return c.length ? {
193
- children: Lt(c),
192
+ return h.length ? {
193
+ children: _t(h),
194
194
  ...d
195
195
  } : d;
196
- })), Re = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), mt = 17895697, be = (r, t) => {
197
- if (!(!r && !t))
198
- return t ? r ? {
199
- ...r,
196
+ })), Ne = typeof window != "undefined" && /Firefox/.test(window.navigator.userAgent), bt = 17895697, be = (i, t) => {
197
+ if (!(!i && !t))
198
+ return t ? i ? {
199
+ ...i,
200
200
  ...t,
201
201
  select: {
202
- ...r.select || {},
202
+ ...i.select || {},
203
203
  ...t.select || {}
204
204
  },
205
205
  hierarchy: {
206
- ...r.hierarchy || {},
206
+ ...i.hierarchy || {},
207
207
  ...t.hierarchy || {}
208
208
  },
209
209
  group: {
210
- ...r.group || {},
210
+ ...i.group || {},
211
211
  ...t.group || {}
212
212
  },
213
213
  edit: {
214
- ...r.edit || {},
214
+ ...i.edit || {},
215
215
  ...t.edit || {}
216
216
  }
217
- } : t : r;
218
- }, Ks = (r) => {
217
+ } : t : i;
218
+ }, js = (i) => {
219
219
  const t = l.useCallback(
220
220
  (d) => {
221
- r.selectionChange && r.selectionChange({ syntheticEvent: d });
221
+ i.selectionChange && i.selectionChange({ syntheticEvent: d });
222
222
  },
223
- [r.selectionChange]
224
- ), s = It(), o = T(r.field, r.dataItem), e = q(r.id);
225
- let i = {
226
- colSpan: r.colSpan,
227
- style: r.style,
228
- className: r.className,
229
- ["aria-colindex"]: r.ariaColumnIndex,
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,
230
229
  role: "gridcell",
231
230
  ...e
232
231
  }, n = [
@@ -241,51 +240,50 @@ const Ws = (r, t) => {
241
240
  }
242
241
  )),
243
242
  /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: s, key: 2 })
244
- ];
245
- const a = r.rowType !== "groupHeader" ? /* @__PURE__ */ l.createElement(
243
+ ], a = i.rowType !== "groupHeader" ? /* @__PURE__ */ l.createElement(
246
244
  "td",
247
245
  {
248
- ...i
246
+ ...r
249
247
  },
250
248
  n
251
- ) : null, h = r.rowType || "data", c = r.cells;
252
- if (c && c.select && c.select[h]) {
253
- const d = c.select[h];
254
- return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: i }, n);
255
- }
256
- return r.render ? r.render.call(void 0, a, r) : a;
257
- }, Fe = "grid.noRecords", Us = "grid.pagerInfo", qs = "grid.pagerFirstPage", $s = "grid.pagerPreviousPage", js = "grid.pagerNextPage", Xs = "grid.pagerLastPage", Ys = "grid.pagerItemsPerPage", Js = "grid.pagerPage", Qs = "grid.pagerPageSizeAriaLabel", Zs = "grid.pagerOf", er = "grid.pagerTotalPages", Ne = "grid.groupPanelEmpty", Ot = "grid.groupColumn", _t = "grid.ungroupColumn", De = "grid.columnMenu", U = "grid.filterClearButton", le = "grid.filterSubmitButton", ne = "grid.filterTitle", Te = "grid.sortAscending", Ge = "grid.sortDescending", Me = "grid.searchPlaceholder", He = "grid.filterCheckAll", ze = "grid.filterChooseOperator", Le = "grid.filterSelectedItems", Oe = "grid.sortAriaLabel", _e = "grid.filterAriaLabel", Pe = "grid.groupPanelAriaLabel", Pt = "grid.groupExpand", At = "grid.groupCollapse", Bt = "grid.detailExpand", Wt = "grid.detailCollapse", v = {
258
- [Bt]: "Expand detail row",
259
- [Wt]: "Collapse detail row",
260
- [Pt]: "Expand group",
261
- [At]: "Collapse Group",
262
- [Fe]: "No records available",
263
- [Ne]: "Drag a column header and drop it here to group by that column",
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",
264
262
  [U]: "Clear",
263
+ [oe]: "Filter",
265
264
  [le]: "Filter",
266
- [ne]: "Filter",
267
- [Te]: "Sort Ascending",
268
- [Ge]: "Sort Descending",
269
- [Oe]: "Sortable",
270
- [Ot]: "Group Column",
271
- [_t]: "Ungroup Column",
272
- [De]: "Column menu",
273
- [Ys]: "items per page",
274
- [Us]: "{0} - {1} of {2} items",
275
- [qs]: "Go to the first page",
276
- [$s]: "Go to the previous page",
277
- [js]: "Go to the next page",
278
- [Xs]: "Go to the last page",
279
- [Js]: "Page",
280
- [Qs]: "Page size",
281
- [Zs]: "of",
282
- [er]: "{0}",
283
- [Me]: "Search",
284
- [He]: "Check All",
285
- [ze]: "Choose Operator",
286
- [Le]: "selected items",
287
- [_e]: "Filter",
288
- [Pe]: "Group panel",
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",
289
287
  "grid.filterEqOperator": "Is equal to",
290
288
  "grid.filterNotEqOperator": "Is not equal to",
291
289
  "grid.filterIsNullOperator": "Is null",
@@ -310,53 +308,53 @@ const Ws = (r, t) => {
310
308
  "grid.filterAndLogic": "And",
311
309
  "grid.filterOrLogic": "Or"
312
310
  };
313
- function tr(r) {
314
- const t = r.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
315
- return { messageKey: t, defaultMessage: v[t] };
311
+ function or(i) {
312
+ const t = i.replace(/^pager\.([a-z])/, (s, o) => "grid.pager" + o.toUpperCase());
313
+ return { messageKey: t, defaultMessage: k[t] };
316
314
  }
317
- const sr = (r) => {
315
+ const lr = (i) => {
318
316
  let t = null, s = null, o = null;
319
- const e = T(r.field, r.dataItem), i = q(r.id), n = Nt(), a = l.useCallback(
317
+ const e = T(i.field, i.dataItem), r = q(i.id), n = Tt(), a = l.useCallback(
320
318
  (d) => {
321
- d.isDefaultPrevented() || d.keyCode === me.enter && r.onChange && (d.preventDefault(), r.onChange({
322
- dataItem: r.dataItem,
323
- dataIndex: r.dataIndex,
319
+ d.isDefaultPrevented() || d.keyCode === me.enter && i.onChange && (d.preventDefault(), i.onChange({
320
+ dataItem: i.dataItem,
321
+ dataIndex: i.dataIndex,
324
322
  syntheticEvent: d,
325
- field: r.field,
323
+ field: i.field,
326
324
  value: !e
327
325
  }));
328
326
  },
329
- [r.dataItem, r.dataIndex, r.field, r.onChange, e]
327
+ [i.dataItem, i.dataIndex, i.field, i.onChange, e]
330
328
  );
331
- if (r.rowType === "groupFooter")
329
+ if (i.rowType === "groupFooter")
332
330
  s = {
333
331
  className: "k-table-td k-hierarchy-cell",
334
332
  role: "gridcell",
335
- ...i
333
+ ...r
336
334
  }, t = /* @__PURE__ */ l.createElement(
337
335
  "td",
338
336
  {
339
337
  ...s
340
338
  }
341
339
  );
342
- else if (r.rowType !== "groupHeader") {
343
- const d = e ? Wt : Bt, g = n.toLanguageString(d, v[d]);
340
+ else if (i.rowType !== "groupHeader") {
341
+ const d = e ? Vt : Kt, g = n.toLanguageString(d, k[d]);
344
342
  s = {
345
343
  className: "k-table-td k-hierarchy-cell",
346
344
  onKeyDown: a,
347
345
  "aria-expanded": !!e,
348
346
  role: "gridcell",
349
- "aria-colindex": r.ariaColumnIndex,
350
- ...i
347
+ "aria-colindex": i.ariaColumnIndex,
348
+ ...r
351
349
  }, o = /* @__PURE__ */ l.createElement(
352
350
  "a",
353
351
  {
354
352
  onClick: (m) => {
355
- m.preventDefault(), r.onChange && r.onChange({
356
- dataItem: r.dataItem,
357
- dataIndex: r.dataIndex,
353
+ m.preventDefault(), i.onChange && i.onChange({
354
+ dataItem: i.dataItem,
355
+ dataIndex: i.dataIndex,
358
356
  syntheticEvent: m,
359
- field: r.field,
357
+ field: i.field,
360
358
  value: !e
361
359
  });
362
360
  },
@@ -364,7 +362,7 @@ const sr = (r) => {
364
362
  href: "#",
365
363
  tabIndex: -1
366
364
  },
367
- /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Fs : Ns })
365
+ /* @__PURE__ */ l.createElement(O, { name: e ? "minus" : "plus", icon: e ? Gs : Ms })
368
366
  ), t = /* @__PURE__ */ l.createElement(
369
367
  "td",
370
368
  {
@@ -373,61 +371,61 @@ const sr = (r) => {
373
371
  o
374
372
  );
375
373
  }
376
- const h = r.rowType || "data", c = r.cells;
377
- if (c && c.hierarchy && c.hierarchy[h]) {
378
- const d = c.hierarchy[h];
379
- return /* @__PURE__ */ l.createElement(d, { ...r, tdProps: s }, o);
374
+ const c = i.rowType || "data", h = i.cells;
375
+ if (h && h.hierarchy && h.hierarchy[c]) {
376
+ const d = h.hierarchy[c];
377
+ return /* @__PURE__ */ l.createElement(d, { ...i, tdProps: s }, o);
380
378
  }
381
- return r.render ? r.render.call(void 0, t, r) : t;
382
- }, rr = xs, re = ks, ir = (r) => {
383
- const t = T(r.field, r.dataItem);
379
+ 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);
384
382
  let s = null;
385
383
  const o = y("k-table-td", "k-grid-edit-cell", {
386
- ["k-selected"]: r.isSelected
387
- }, r.className), e = It(), i = q(r.id);
384
+ ["k-selected"]: i.isSelected
385
+ }, i.className), e = yt(), r = q(i.id);
388
386
  let n = null, a = null;
389
- const h = l.useCallback(
387
+ const c = l.useCallback(
390
388
  (u) => {
391
- if (r.onChange) {
389
+ if (i.onChange) {
392
390
  const b = u.target.type === "checkbox" ? u.target.checked : u.target.value;
393
- r.onChange({
394
- dataItem: r.dataItem,
395
- dataIndex: r.dataIndex,
396
- field: r.field,
391
+ i.onChange({
392
+ dataItem: i.dataItem,
393
+ dataIndex: i.dataIndex,
394
+ field: i.field,
397
395
  syntheticEvent: u,
398
396
  value: b
399
397
  });
400
398
  }
401
399
  },
402
- [r.onChange, r.dataItem, r.dataIndex, r.field]
403
- ), c = l.useCallback((u) => {
404
- r.onContextMenu && r.onContextMenu.call(void 0, u, r.dataItem, r.field);
405
- }, [r.onContextMenu, r.dataItem, r.field]), d = l.useCallback(
400
+ [i.onChange, i.dataItem, i.dataIndex, i.field]
401
+ ), h = l.useCallback((u) => {
402
+ i.onContextMenu && i.onContextMenu.call(void 0, u, i.dataItem, i.field);
403
+ }, [i.onContextMenu, i.dataItem, i.field]), d = l.useCallback(
406
404
  (u) => {
407
- r.onChange && r.onChange({
408
- dataItem: r.dataItem,
409
- dataIndex: r.dataIndex,
410
- field: r.field,
405
+ i.onChange && i.onChange({
406
+ dataItem: i.dataItem,
407
+ dataIndex: i.dataIndex,
408
+ field: i.field,
411
409
  syntheticEvent: u.syntheticEvent,
412
410
  value: u.value
413
411
  });
414
412
  },
415
- [r.onChange, r.dataItem, r.dataIndex, r.field]
413
+ [i.onChange, i.dataItem, i.dataIndex, i.field]
416
414
  );
417
- switch (r.editor) {
415
+ switch (i.editor) {
418
416
  case "numeric": {
419
417
  n = {
420
- onContextMenu: c,
421
- colSpan: r.colSpan,
422
- style: r.style,
418
+ onContextMenu: h,
419
+ colSpan: i.colSpan,
420
+ style: i.style,
423
421
  className: o,
424
- ["aria-colindex"]: r.ariaColumnIndex,
425
- ["aria-selected"]: r.isSelected,
426
- [re]: r.columnIndex,
422
+ ["aria-colindex"]: i.ariaColumnIndex,
423
+ ["aria-selected"]: i.isSelected,
424
+ [se]: i.columnIndex,
427
425
  role: "gridcell",
428
- ...i
426
+ ...r
429
427
  }, a = /* @__PURE__ */ l.createElement(
430
- Ke,
428
+ qe,
431
429
  {
432
430
  width: "100%",
433
431
  value: t === void 0 ? null : t,
@@ -444,17 +442,17 @@ const sr = (r) => {
444
442
  }
445
443
  case "date":
446
444
  n = {
447
- onContextMenu: c,
448
- colSpan: r.colSpan,
449
- style: r.style,
445
+ onContextMenu: h,
446
+ colSpan: i.colSpan,
447
+ style: i.style,
450
448
  className: o,
451
- ["aria-colindex"]: r.ariaColumnIndex,
452
- ["aria-selected"]: r.isSelected,
453
- [re]: r.columnIndex,
449
+ ["aria-colindex"]: i.ariaColumnIndex,
450
+ ["aria-selected"]: i.isSelected,
451
+ [se]: i.columnIndex,
454
452
  role: "gridcell",
455
- ...i
453
+ ...r
456
454
  }, a = /* @__PURE__ */ l.createElement(
457
- Ue,
455
+ $e,
458
456
  {
459
457
  width: "100%",
460
458
  value: t,
@@ -470,15 +468,15 @@ const sr = (r) => {
470
468
  break;
471
469
  case "boolean":
472
470
  n = {
473
- onContextMenu: c,
474
- colSpan: r.colSpan,
475
- style: r.style,
471
+ onContextMenu: h,
472
+ colSpan: i.colSpan,
473
+ style: i.style,
476
474
  className: o,
477
- ["aria-colindex"]: r.ariaColumnIndex,
478
- ["aria-selected"]: r.isSelected,
479
- [re]: r.columnIndex,
475
+ ["aria-colindex"]: i.ariaColumnIndex,
476
+ ["aria-selected"]: i.isSelected,
477
+ [se]: i.columnIndex,
480
478
  role: "gridcell",
481
- ...i
479
+ ...r
482
480
  }, a = [
483
481
  /* @__PURE__ */ l.createElement("span", { key: 1, className: "k-checkbox-wrap" }, /* @__PURE__ */ l.createElement(
484
482
  "input",
@@ -487,7 +485,7 @@ const sr = (r) => {
487
485
  id: e,
488
486
  type: "checkbox",
489
487
  className: "k-checkbox k-checkbox-md k-rounded-md",
490
- onChange: h
488
+ onChange: c
491
489
  }
492
490
  )),
493
491
  /* @__PURE__ */ l.createElement("label", { className: "k-checkbox-label", htmlFor: e, key: 2 })
@@ -501,22 +499,22 @@ const sr = (r) => {
501
499
  break;
502
500
  default:
503
501
  n = {
504
- onContextMenu: c,
505
- colSpan: r.colSpan,
506
- style: r.style,
502
+ onContextMenu: h,
503
+ colSpan: i.colSpan,
504
+ style: i.style,
507
505
  className: o,
508
- ["aria-colindex"]: r.ariaColumnIndex,
509
- ["aria-selected"]: r.isSelected,
510
- [re]: r.columnIndex,
506
+ ["aria-colindex"]: i.ariaColumnIndex,
507
+ ["aria-selected"]: i.isSelected,
508
+ [se]: i.columnIndex,
511
509
  role: "gridcell",
512
- ...i
510
+ ...r
513
511
  }, a = /* @__PURE__ */ l.createElement(
514
512
  "input",
515
513
  {
516
514
  style: { width: "100%" },
517
515
  className: "k-input",
518
516
  value: t || "",
519
- onChange: h
517
+ onChange: c
520
518
  }
521
519
  ), s = /* @__PURE__ */ l.createElement(
522
520
  "td",
@@ -526,16 +524,16 @@ const sr = (r) => {
526
524
  a
527
525
  );
528
526
  }
529
- const g = r.editor || "text", m = r.cells;
527
+ const g = i.editor || "text", m = i.cells;
530
528
  if (m && m.edit && m.edit[g]) {
531
529
  const u = m.edit[g];
532
- return /* @__PURE__ */ l.createElement(u, { ...r, tdProps: n }, a);
530
+ return /* @__PURE__ */ l.createElement(u, { ...i, tdProps: n }, a);
533
531
  }
534
- return r.render ? r.render.call(void 0, s, r) : s;
532
+ return i.render ? i.render.call(void 0, s, i) : s;
535
533
  };
536
- class or extends l.Component {
534
+ class cr extends l.Component {
537
535
  constructor() {
538
- super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = St(), this.onScroll = (t) => {
536
+ super(...arguments), this.headerWrap = null, this.table = null, this.syncScroll = !1, this.scrollbarWidth = wt(), this.onScroll = (t) => {
539
537
  if (this.syncScroll) {
540
538
  this.syncScroll = !1;
541
539
  return;
@@ -550,7 +548,7 @@ class or extends l.Component {
550
548
  return this.props.elemRef.current;
551
549
  }
552
550
  componentDidMount() {
553
- const t = Rt(this.element);
551
+ const t = Nt(this.element);
554
552
  this.props.columnResize && this.props.columnResize.setIsRtl(t), this.forceUpdate();
555
553
  }
556
554
  /**
@@ -599,7 +597,7 @@ class or extends l.Component {
599
597
  "k-table k-grid-header-table",
600
598
  {
601
599
  "k-table-md": !this.props.size,
602
- [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
600
+ [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
603
601
  },
604
602
  this.props.className
605
603
  ),
@@ -608,7 +606,7 @@ class or extends l.Component {
608
606
  /* @__PURE__ */ l.createElement("colgroup", { ref: (t) => {
609
607
  this.props.columnResize.colGroupHeader = t;
610
608
  } }, this.props.cols),
611
- /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...lt }, this.props.headerRow, this.props.filterRow)
609
+ /* @__PURE__ */ l.createElement("thead", { className: "k-table-thead", role: "rowgroup", ...at }, this.props.headerRow, this.props.filterRow)
612
610
  )
613
611
  )
614
612
  ) : /* @__PURE__ */ l.createElement(
@@ -619,15 +617,15 @@ class or extends l.Component {
619
617
  "k-table-thead",
620
618
  { "k-grid-draggable-header": this.props.draggable }
621
619
  ),
622
- ...lt
620
+ ...at
623
621
  },
624
622
  this.props.headerRow,
625
623
  this.props.filterRow
626
624
  );
627
625
  }
628
626
  }
629
- const Vt = (...r) => Object.assign({ allowUnsort: !0, mode: "single" }, ...r);
630
- class lr extends l.PureComponent {
627
+ const Ut = (...i) => Object.assign({ allowUnsort: !0, mode: "single" }, ...i);
628
+ class hr extends l.PureComponent {
631
629
  constructor() {
632
630
  super(...arguments), this.draggable = null, this.onPress = (t) => {
633
631
  const s = this.draggable && this.draggable.element;
@@ -641,7 +639,7 @@ class lr extends l.PureComponent {
641
639
  }
642
640
  render() {
643
641
  return /* @__PURE__ */ l.createElement(
644
- yt,
642
+ Rt,
645
643
  {
646
644
  onPress: this.onPress,
647
645
  onDrag: this.onDrag,
@@ -657,7 +655,7 @@ class lr extends l.PureComponent {
657
655
  );
658
656
  }
659
657
  }
660
- class Kt extends l.Component {
658
+ class qt extends l.Component {
661
659
  constructor() {
662
660
  super(...arguments), this.state = {
663
661
  show: !1
@@ -691,7 +689,7 @@ class Kt extends l.Component {
691
689
  };
692
690
  }
693
691
  render() {
694
- const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = G(this), i = o.title || o.field, n = i ? `${i} ` : "";
692
+ const { columnMenu: t, ...s } = this.props, { column: o } = this.props, e = G(this), r = o.title || o.field, n = r ? `${r} ` : "";
695
693
  return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
696
694
  "a",
697
695
  {
@@ -701,11 +699,11 @@ class Kt extends l.Component {
701
699
  onMouseDown: this.onAnchorMouseDown,
702
700
  onKeyDown: this.onAnchorKeyDown,
703
701
  href: "#",
704
- "aria-label": `${n}${e.toLanguageString(De, v[De])}`
702
+ "aria-label": `${n}${e.toLanguageString(Ge, k[Ge])}`
705
703
  },
706
704
  /* @__PURE__ */ l.createElement(O, { name: "filter", icon: Ce })
707
705
  ), /* @__PURE__ */ l.createElement(
708
- Ps,
706
+ Ks,
709
707
  {
710
708
  anchor: this._anchor,
711
709
  show: this.state.show,
@@ -731,7 +729,7 @@ class Kt extends l.Component {
731
729
  ));
732
730
  }
733
731
  }
734
- class nr extends l.Component {
732
+ class dr extends l.Component {
735
733
  /**
736
734
  * @hidden
737
735
  */
@@ -751,46 +749,46 @@ class nr extends l.Component {
751
749
  },
752
750
  /* @__PURE__ */ l.createElement("span", { className: "k-column-title" }, this.props.title || this.props.field || " "),
753
751
  this.props.children
754
- ), t.columnMenu && /* @__PURE__ */ l.createElement(Kt, { ...t }));
752
+ ), t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t }));
755
753
  return this.props.render ? this.props.render.call(void 0, o, this.props) : o;
756
754
  }
757
755
  }
758
- const ar = {
756
+ const pr = {
759
757
  true: { asc: "desc", desc: "", "": "asc" },
760
758
  false: { asc: "desc", desc: "asc", "": "asc" }
761
- }, hr = {
759
+ }, ur = {
762
760
  none: "none",
763
761
  asc: "ascending",
764
762
  desc: "descending"
765
763
  };
766
- class Ut extends l.Component {
764
+ class $t extends l.Component {
767
765
  constructor(t) {
768
766
  super(t), this.serviceIndex = 0, this.index = -1, this.cellKeyDown = (s, o) => {
769
767
  s.isDefaultPrevented() || s.keyCode === me.enter && this.cellClick(s, o);
770
768
  }, this.cells = (s) => s.map((o) => {
771
- const e = this.props.columns[o], i = this.props.sortable && e.sortable, n = this.props.sort ? this.props.sort.findIndex((k) => k.field === e.field) : -1, a = n >= 0 && this.props.sort[n].dir || "none", h = e.columnMenu === null ? null : e.columnMenu || this.props.columnMenu, c = y({
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({
772
770
  "k-first": e.kFirst,
773
- "k-filterable": !!h,
771
+ "k-filterable": !!c,
774
772
  "k-table-th": !0,
775
773
  "k-header": !0,
776
774
  "k-grid-header-sticky": e.locked,
777
- "k-sorted": this.props.sort && this.props.sort.some((k) => k.field === e.field)
778
- }, e.headerClassName), d = e.left !== void 0 ? this.props.isRtl ? { left: e.right, right: e.left } : { left: e.left, right: e.right } : {}, g = G(this).toLanguageString(Oe, v[Oe]);
775
+ "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]);
779
777
  let m = e.isAccessible ? {
780
- ariaSort: hr[a],
778
+ ariaSort: ur[a],
781
779
  role: "columnheader",
782
780
  ariaColumnIndex: e.ariaColumnIndex,
783
781
  ariaSelected: !1,
784
- ariaDescription: i ? g : ""
782
+ ariaDescription: r ? g : ""
785
783
  } : {
786
784
  role: "presentation"
787
785
  };
788
- const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : nr, E = /* @__PURE__ */ l.createElement(
786
+ const u = e.declarationIndex >= 0 ? ++this.index : --this.serviceIndex, b = e.headerCell ? e.headerCell : dr, E = /* @__PURE__ */ l.createElement(
789
787
  b,
790
788
  {
791
789
  key: 1,
792
790
  field: e.field,
793
- onClick: i && ((k) => this.cellClick(k, e)) || void 0,
791
+ onClick: r && ((v) => this.cellClick(v, e)) || void 0,
794
792
  selectionChange: this.props.selectionChange,
795
793
  title: e.title,
796
794
  selectionValue: e.headerSelectionValue,
@@ -804,7 +802,7 @@ class Ut extends l.Component {
804
802
  filter: e.filter,
805
803
  id: e.id
806
804
  },
807
- sortable: i && this.props.sortable,
805
+ sortable: r && this.props.sortable,
808
806
  sort: this.props.sort,
809
807
  onSortChange: this.props.sortChange,
810
808
  filter: this.props.filter,
@@ -814,7 +812,7 @@ class Ut extends l.Component {
814
812
  group: this.props.group,
815
813
  groupable: this.props.groupable,
816
814
  onGroupChange: this.props.groupChange,
817
- columnMenu: h
815
+ columnMenu: c
818
816
  }
819
817
  }
820
818
  ), C = {
@@ -822,29 +820,29 @@ class Ut extends l.Component {
822
820
  key: u,
823
821
  colSpan: e.colSpan,
824
822
  rowSpan: e.rowSpan,
825
- className: c,
823
+ className: h,
826
824
  style: d,
827
825
  columnId: e.id,
828
826
  navigatable: e.navigatable,
829
- onKeyDown: i && ((k) => this.cellKeyDown(k, e)) || void 0,
827
+ onKeyDown: r && ((v) => this.cellKeyDown(v, e)) || void 0,
830
828
  role: "columnheader"
831
829
  }, x = [
832
830
  E,
833
831
  this.props.columnResize && this.props.columnResize.resizable && e.resizable && /* @__PURE__ */ l.createElement(
834
- vs,
832
+ Ss,
835
833
  {
836
834
  key: 2,
837
- resize: (k, _, D) => this.props.columnResize && this.props.columnResize.dragHandler(k, e, _, D),
838
- autofit: (k) => this.props.columnResize && this.props.columnResize.dblClickHandler(k, [e.id])
835
+ resize: (v, _, D) => this.props.columnResize && this.props.columnResize.dragHandler(v, e, _, D),
836
+ autofit: (v) => this.props.columnResize && this.props.columnResize.dblClickHandler(v, [e.id])
839
837
  }
840
838
  )
841
839
  ], I = be(this.props.cells, e.cells);
842
840
  if (I && I.headerCell) {
843
- const k = I.headerCell;
844
- return /* @__PURE__ */ l.createElement(k, { key: u, thProps: C, index: o }, x);
841
+ const v = I.headerCell;
842
+ return /* @__PURE__ */ l.createElement(v, { key: u, thProps: C, index: o }, x);
845
843
  }
846
844
  return /* @__PURE__ */ l.createElement(
847
- Ft,
845
+ Dt,
848
846
  {
849
847
  ...C,
850
848
  key: u
@@ -856,7 +854,7 @@ class Ut extends l.Component {
856
854
  cellClick(t, s) {
857
855
  if (t.preventDefault(), !this.props.sortChange)
858
856
  return;
859
- const { allowUnsort: o, mode: e } = Vt(this.props.sortable || !1, s.sortable || !1), i = (this.props.sort || []).filter((h) => h.field === s.field)[0], n = ar[o][i && i.dir || ""], a = e === "single" ? [] : (this.props.sort || []).filter((h) => h.field !== s.field);
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);
860
858
  n !== "" && s.field && a.push({ field: s.field, dir: n }), this.props.sortChange(a, t);
861
859
  }
862
860
  sortIcon(t) {
@@ -865,7 +863,7 @@ class Ut extends l.Component {
865
863
  O,
866
864
  {
867
865
  name: "sort-" + this.props.sort[t].dir + "-small",
868
- icon: this.props.sort[t].dir === "asc" ? We : Ve
866
+ icon: this.props.sort[t].dir === "asc" ? Ve : Ue
869
867
  }
870
868
  )),
871
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))
@@ -873,7 +871,7 @@ class Ut extends l.Component {
873
871
  }
874
872
  render() {
875
873
  return this.serviceIndex = 0, this.index = -1, this.props.columnsMap.map((t, s) => this.props.pressHandler && /* @__PURE__ */ l.createElement(
876
- lr,
874
+ hr,
877
875
  {
878
876
  key: s,
879
877
  pressHandler: this.props.pressHandler,
@@ -888,11 +886,11 @@ class Ut extends l.Component {
888
886
  ) || /* @__PURE__ */ l.createElement("tr", { key: s, className: "k-table-row", role: "row", "aria-rowindex": s + 1 }, this.cells(t)));
889
887
  }
890
888
  }
891
- M(Ut);
892
- const cr = [
889
+ M($t);
890
+ const gr = [
893
891
  { text: "grid.filterAndLogic", operator: "and" },
894
892
  { text: "grid.filterOrLogic", operator: "or" }
895
- ], Ct = {
893
+ ], xt = {
896
894
  text: [
897
895
  { text: "grid.filterContainsOperator", operator: "contains" },
898
896
  { text: "grid.filterNotContainsOperator", operator: "doesnotcontain" },
@@ -928,55 +926,55 @@ const cr = [
928
926
  boolean: [
929
927
  { text: "grid.filterEqOperator", operator: "eq" }
930
928
  ]
931
- }, L = (r) => r === "isnull" || r === "isnotnull" || r === "isempty" || r === "isnotempty", ie = (r, t) => r.map((s) => ({
932
- text: t.toLanguageString(s.text, v[s.text]),
929
+ }, L = (i) => i === "isnull" || i === "isnotnull" || i === "isempty" || i === "isnotempty", re = (i, t) => i.map((s) => ({
930
+ text: t.toLanguageString(s.text, k[s.text]),
933
931
  operator: s.operator
934
- })), dr = "eq", qt = [
932
+ })), fr = "eq", jt = [
935
933
  { text: "grid.filterBooleanAll", operator: "" },
936
934
  { text: "grid.filterIsTrue", operator: !0 },
937
935
  { text: "grid.filterIsFalse", operator: !1 }
938
- ], pr = {
936
+ ], mr = {
939
937
  text: !1,
940
938
  numeric: !1,
941
939
  date: !1,
942
940
  boolean: !0
943
- }, $t = (r, t, s) => {
944
- const o = jt(s.operators);
941
+ }, Xt = (i, t, s) => {
942
+ const o = Yt(s.operators);
945
943
  let e = s.operator;
946
944
  switch (s.filterType) {
947
945
  case "numeric":
948
- (!e || L(e)) && (e = o), r === null && e === o && (e = "");
946
+ (!e || L(e)) && (e = o), i === null && e === o && (e = "");
949
947
  break;
950
948
  case "date":
951
- (!e || L(e)) && (e = o), r === null && e === o && (e = "");
949
+ (!e || L(e)) && (e = o), i === null && e === o && (e = "");
952
950
  break;
953
951
  case "text":
954
- (!e || L(e)) && (e = o), !r && e === o && (e = "");
952
+ (!e || L(e)) && (e = o), !i && e === o && (e = "");
955
953
  break;
956
954
  default:
957
955
  return;
958
956
  }
959
- s.onChange({ value: r, operator: e, syntheticEvent: t });
960
- }, jt = (r, t) => t ? r[t][0].operator : r[0].operator, Ae = (r) => r || "text", Xt = (r, t) => {
961
- const s = r.target.value;
957
+ 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) => {
959
+ const s = i.target.value;
962
960
  t({
963
961
  value: s.operator,
964
- operator: s.operator === "" ? "" : dr,
965
- syntheticEvent: r.syntheticEvent
962
+ operator: s.operator === "" ? "" : fr,
963
+ syntheticEvent: i.syntheticEvent
966
964
  });
967
- }, Yt = (r, t, s) => {
965
+ }, Qt = (i, t, s) => {
968
966
  let o = t;
969
- const e = r.target.value;
970
- r.target.state.opened && (L(e.operator) && (o = null), t === null && !L(e.operator) && (o = void 0), s({ value: o, operator: e.operator, syntheticEvent: r.syntheticEvent }));
967
+ const e = i.target.value;
968
+ i.target.state.opened && (L(e.operator) && (o = null), t === null && !L(e.operator) && (o = void 0), s({ value: o, operator: e.operator, syntheticEvent: i.syntheticEvent }));
971
969
  };
972
- class Jt extends l.Component {
970
+ class Zt extends l.Component {
973
971
  constructor(t) {
974
972
  super(t), this._inputRef = l.createRef(), this.renderOperatorEditor = (s) => {
975
973
  if (this.props.filterType === "boolean")
976
974
  return;
977
975
  const o = this.props.operators.find((e) => e.operator === this.props.operator) || null;
978
976
  return /* @__PURE__ */ l.createElement(
979
- oe,
977
+ ie,
980
978
  {
981
979
  size: this.props.size,
982
980
  value: o,
@@ -986,7 +984,7 @@ class Jt extends l.Component {
986
984
  svgIcon: Ce,
987
985
  data: this.props.operators,
988
986
  textField: "text",
989
- title: s.toLanguageString(ze, v[ze]),
987
+ title: s.toLanguageString(Oe, k[Oe]),
990
988
  popupSettings: {
991
989
  width: ""
992
990
  }
@@ -1003,11 +1001,11 @@ class Jt extends l.Component {
1003
1001
  {
1004
1002
  size: this.props.size,
1005
1003
  icon: "filter-clear",
1006
- svgIcon: Ds,
1004
+ svgIcon: Hs,
1007
1005
  className: y({
1008
1006
  "k-clear-button-visible": !!(!(this.props.value === null || this.props.value === "") || this.props.operator)
1009
1007
  }),
1010
- title: t.toLanguageString(U, v[U]),
1008
+ title: t.toLanguageString(U, k[U]),
1011
1009
  type: "button",
1012
1010
  onClick: this.clear,
1013
1011
  disabled: !(!(this.props.value === null || this.props.value === "") || this.props.operator)
@@ -1016,13 +1014,13 @@ class Jt extends l.Component {
1016
1014
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1017
1015
  }
1018
1016
  inputChange(t, s) {
1019
- $t(t, s, this.props);
1017
+ Xt(t, s, this.props);
1020
1018
  }
1021
1019
  operatorChange(t) {
1022
- Yt(t, this.props.value, this.props.onChange);
1020
+ Qt(t, this.props.value, this.props.onChange);
1023
1021
  }
1024
1022
  boolDropdownChange(t) {
1025
- Xt(t, this.props.onChange);
1023
+ Jt(t, this.props.onChange);
1026
1024
  }
1027
1025
  clear(t) {
1028
1026
  t.preventDefault(), this.props.onChange({ value: "", operator: "", syntheticEvent: t }), this._inputRef.current && (this._inputRef.current.element.value = "", setTimeout(() => {
@@ -1033,7 +1031,7 @@ class Jt extends l.Component {
1033
1031
  switch (t) {
1034
1032
  case "numeric":
1035
1033
  return /* @__PURE__ */ l.createElement(
1036
- Ke,
1034
+ qe,
1037
1035
  {
1038
1036
  ref: this._inputRef,
1039
1037
  size: this.props.size,
@@ -1047,7 +1045,7 @@ class Jt extends l.Component {
1047
1045
  );
1048
1046
  case "date":
1049
1047
  return /* @__PURE__ */ l.createElement(
1050
- Ue,
1048
+ $e,
1051
1049
  {
1052
1050
  ref: this._inputRef,
1053
1051
  size: this.props.size,
@@ -1060,14 +1058,14 @@ class Jt extends l.Component {
1060
1058
  }
1061
1059
  );
1062
1060
  case "boolean": {
1063
- const e = (i) => i == null;
1061
+ const e = (r) => r == null;
1064
1062
  return /* @__PURE__ */ l.createElement(
1065
- oe,
1063
+ ie,
1066
1064
  {
1067
1065
  ref: this._inputRef,
1068
1066
  size: this.props.size,
1069
1067
  onChange: this.boolDropdownChange,
1070
- value: o.find((i) => i.operator === (e(s) ? "" : s)),
1068
+ value: o.find((r) => r.operator === (e(s) ? "" : s)),
1071
1069
  data: o,
1072
1070
  textField: "text",
1073
1071
  title: this.props.title,
@@ -1077,7 +1075,7 @@ class Jt extends l.Component {
1077
1075
  }
1078
1076
  default:
1079
1077
  return /* @__PURE__ */ l.createElement(
1080
- Gt,
1078
+ Ht,
1081
1079
  {
1082
1080
  ref: this._inputRef,
1083
1081
  size: this.props.size,
@@ -1092,9 +1090,9 @@ class Jt extends l.Component {
1092
1090
  }
1093
1091
  }
1094
1092
  }
1095
- M(Jt);
1096
- const ur = "k-table-row k-filter-row";
1097
- class Qt extends l.Component {
1093
+ M(Zt);
1094
+ const Cr = "k-table-row k-filter-row";
1095
+ class es extends l.Component {
1098
1096
  headerCellClassName(t, s) {
1099
1097
  let o = `${s ? "k-grid-header-sticky" : ""}`;
1100
1098
  return this.props.sort && this.props.sort.filter((e) => e.field === t).length > 0 && (o += " k-sorted"), o;
@@ -1102,45 +1100,45 @@ class Qt extends l.Component {
1102
1100
  setFilter(t, s, o, e) {
1103
1101
  if (!this.props.filterChange)
1104
1102
  return;
1105
- const i = [];
1106
- (t !== "" && t !== null || s !== "") && i.push({
1103
+ const r = [];
1104
+ (t !== "" && t !== null || s !== "") && r.push({
1107
1105
  field: o,
1108
1106
  operator: s,
1109
1107
  value: t
1110
- }), this.props.filter && this.props.filter.filters && (this.props.filter.filters || []).forEach((h) => {
1111
- const c = h;
1112
- c && c.field !== o && i.push(c);
1108
+ }), this.props.filter && this.props.filter.filters && (this.props.filter.filters || []).forEach((c) => {
1109
+ const h = c;
1110
+ h && h.field !== o && r.push(h);
1113
1111
  });
1114
1112
  const n = this.props.filter && this.props.filter.logic ? this.props.filter.logic : "and";
1115
- this.props.filterChange(i.length > 0 ? { logic: n, filters: i } : null, e);
1113
+ this.props.filterChange(r.length > 0 ? { logic: n, filters: r } : null, e);
1116
1114
  }
1117
1115
  render() {
1118
1116
  const t = G(this), s = this.props.filter && this.props.filter.filters || [], o = (a) => {
1119
1117
  if (a === void 0)
1120
1118
  return;
1121
- const h = s.filter((c) => c.field === a);
1122
- return h.length ? h[0] : void 0;
1119
+ const c = s.filter((h) => h.field === a);
1120
+ return c.length ? c[0] : void 0;
1123
1121
  };
1124
- let e = 0, i = -1;
1122
+ let e = 0, r = -1;
1125
1123
  const n = this.props.columns.filter((a) => a.children.length === 0).map(
1126
1124
  (a) => {
1127
- const h = Ae(a.filter), c = o(a.field), d = a.filterable ? t.toLanguageString(_e, v[_e]) : void 0;
1128
- let g = c && c.value;
1129
- g === void 0 && (g = h === "text" ? "" : null);
1125
+ const c = We(a.filter), h = o(a.field), d = a.filterable ? t.toLanguageString(Ae, k[Ae]) : void 0;
1126
+ let g = h && h.value;
1127
+ g === void 0 && (g = c === "text" ? "" : null);
1130
1128
  const m = a.filterable && {
1131
1129
  render: this.props.cellRender,
1132
1130
  field: a.field,
1133
1131
  title: a.filterTitle,
1134
1132
  value: g,
1135
- operator: c && c.operator,
1136
- operators: ie(this.props.filterOperators[h] || [], t),
1137
- booleanValues: ie(qt, t),
1138
- filterType: h,
1133
+ operator: h && h.operator,
1134
+ operators: re(this.props.filterOperators[c] || [], t),
1135
+ booleanValues: re(jt, t),
1136
+ filterType: c,
1139
1137
  ariaLabel: d,
1140
- onChange: (k) => {
1141
- this.setFilter(k.value, k.operator, a.field, k.syntheticEvent);
1138
+ onChange: (v) => {
1139
+ this.setFilter(v.value, v.operator, a.field, v.syntheticEvent);
1142
1140
  }
1143
- }, u = a.declarationIndex >= 0 ? ++i : --e, b = {
1141
+ }, u = a.declarationIndex >= 0 ? ++r : --e, b = {
1144
1142
  ariaLabel: d,
1145
1143
  ariaColumnIndex: a.ariaColumnIndex
1146
1144
  }, E = a.left !== void 0 ? this.props.isRtl ? { left: a.right, right: a.left } : { left: a.left, right: a.right } : {}, C = {
@@ -1150,13 +1148,13 @@ class Qt extends l.Component {
1150
1148
  className: y("k-table-th", this.headerCellClassName(a.field, a.locked) || void 0),
1151
1149
  role: "columnheader",
1152
1150
  ...b
1153
- }, x = m && (a.filterCell ? /* @__PURE__ */ l.createElement(a.filterCell, { ...m }) : /* @__PURE__ */ l.createElement(Jt, { size: this.props.size, ...m })), I = be(this.props.cells, a.cells);
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);
1154
1152
  if (I && I.filterCell) {
1155
- const k = I.filterCell;
1156
- return /* @__PURE__ */ l.createElement(k, { key: u, ...m, thProps: C, index: i }, x);
1153
+ const v = I.filterCell;
1154
+ return /* @__PURE__ */ l.createElement(v, { key: u, ...m, thProps: C, index: r }, x);
1157
1155
  }
1158
1156
  return /* @__PURE__ */ l.createElement(
1159
- Ft,
1157
+ Dt,
1160
1158
  {
1161
1159
  key: u,
1162
1160
  ...C
@@ -1165,11 +1163,11 @@ class Qt extends l.Component {
1165
1163
  );
1166
1164
  }
1167
1165
  );
1168
- return /* @__PURE__ */ l.createElement("tr", { className: ur, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1166
+ return /* @__PURE__ */ l.createElement("tr", { className: Cr, "aria-rowindex": this.props.ariaRowIndex, role: "row" }, n);
1169
1167
  }
1170
1168
  }
1171
- M(Qt);
1172
- class Zt extends l.Component {
1169
+ M(es);
1170
+ class ts extends l.Component {
1173
1171
  constructor() {
1174
1172
  super(...arguments), this.draggable = null, this.onPress = (t) => {
1175
1173
  const s = this.draggable && this.draggable.element;
@@ -1198,7 +1196,7 @@ class Zt extends l.Component {
1198
1196
  render() {
1199
1197
  const { dir: t } = this.props;
1200
1198
  return /* @__PURE__ */ l.createElement(
1201
- yt,
1199
+ Rt,
1202
1200
  {
1203
1201
  onPress: this.onPress,
1204
1202
  onDrag: this.onDrag,
@@ -1220,7 +1218,7 @@ class Zt extends l.Component {
1220
1218
  O,
1221
1219
  {
1222
1220
  name: "sort-" + t + "-small",
1223
- icon: t === "asc" ? We : Ve,
1221
+ icon: t === "asc" ? Ve : Ue,
1224
1222
  size: "small"
1225
1223
  }
1226
1224
  )),
@@ -1235,7 +1233,7 @@ class Zt extends l.Component {
1235
1233
  O,
1236
1234
  {
1237
1235
  name: "x-circle",
1238
- icon: Ts,
1236
+ icon: zs,
1239
1237
  size: "small"
1240
1238
  }
1241
1239
  )
@@ -1244,30 +1242,30 @@ class Zt extends l.Component {
1244
1242
  );
1245
1243
  }
1246
1244
  }
1247
- M(Zt);
1248
- class es extends l.Component {
1245
+ M(ts);
1246
+ class ss extends l.Component {
1249
1247
  constructor() {
1250
1248
  super(...arguments), this.onGroupRemove = (t, s) => {
1251
1249
  const o = this.props.group.slice();
1252
1250
  o.splice(s, 1), this.props.groupChange(o, t);
1253
1251
  }, this.onGroupSortChange = (t, s, o, e) => {
1254
- const i = Object.assign({}, o, { dir: e }), n = this.props.group.slice();
1255
- n.splice(s, 1, i), this.props.groupChange(n, t);
1252
+ const r = Object.assign({}, o, { dir: e }), n = this.props.group.slice();
1253
+ n.splice(s, 1, r), this.props.groupChange(n, t);
1256
1254
  };
1257
1255
  }
1258
1256
  render() {
1259
1257
  const s = (this.props.group || []).map((o, e) => /* @__PURE__ */ l.createElement(
1260
- Zt,
1258
+ ts,
1261
1259
  {
1262
1260
  key: e,
1263
1261
  index: e,
1264
1262
  dir: o.dir || "asc",
1265
1263
  title: this.props.resolveTitle(o.field),
1266
- onRemove: (i) => {
1267
- this.onGroupRemove(i, e);
1264
+ onRemove: (r) => {
1265
+ this.onGroupRemove(r, e);
1268
1266
  },
1269
- onSortChange: (i, n) => {
1270
- this.onGroupSortChange(i, e, o, n);
1267
+ onSortChange: (r, n) => {
1268
+ this.onGroupSortChange(r, e, o, n);
1271
1269
  },
1272
1270
  onPress: this.props.pressHandler,
1273
1271
  onDrag: this.props.dragHandler,
@@ -1281,18 +1279,18 @@ class es extends l.Component {
1281
1279
  ref: this.props.refCallback,
1282
1280
  className: "k-grouping-header",
1283
1281
  role: "toolbar",
1284
- "aria-label": G(this).toLanguageString(Pe, v[Pe]),
1282
+ "aria-label": G(this).toLanguageString(Be, k[Be]),
1285
1283
  "aria-controls": this.props.ariaControls || ""
1286
1284
  },
1287
1285
  /* @__PURE__ */ l.createElement("div", { className: "k-chip-list k-chip-list-md", role: "none" }, s),
1288
- /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Ne, v[Ne]), " ")
1286
+ /* @__PURE__ */ l.createElement("div", { className: "k-grouping-drop-container" }, !s.length && G(this).toLanguageString(Te, k[Te]), " ")
1289
1287
  );
1290
1288
  }
1291
1289
  }
1292
- M(es);
1293
- class gr extends l.Component {
1290
+ M(ss);
1291
+ class br extends l.Component {
1294
1292
  constructor() {
1295
- super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = St();
1293
+ super(...arguments), this.footerWrap = null, this.table = null, this.scrollbarWidth = wt();
1296
1294
  }
1297
1295
  componentDidMount() {
1298
1296
  this.setState({});
@@ -1338,7 +1336,7 @@ class gr extends l.Component {
1338
1336
  "k-table k-grid-footer-table",
1339
1337
  {
1340
1338
  "k-table-md": !this.props.size,
1341
- [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
1339
+ [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
1342
1340
  },
1343
1341
  this.props.className
1344
1342
  ),
@@ -1353,19 +1351,19 @@ class gr extends l.Component {
1353
1351
  ) : /* @__PURE__ */ l.createElement("tfoot", { className: "k-table-tfoot" }, this.props.row);
1354
1352
  }
1355
1353
  }
1356
- class fr {
1354
+ class xr {
1357
1355
  constructor(t) {
1358
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) => {
1359
1357
  if (!this.container || o)
1360
1358
  return { topItemsCount: 0, topItemsHeight: 0 };
1361
- const e = this.container.clientHeight, i = Math.ceil(e / s[0].line), n = Math.ceil((s.length - i) / 2);
1359
+ const e = this.container.clientHeight, r = Math.ceil(e / s[0].line), n = Math.ceil((s.length - r) / 2);
1362
1360
  let a = 0;
1363
- for (let h = 0; h < n; h++)
1364
- a += s[h].line + s[h].acc;
1361
+ for (let c = 0; c < n; c++)
1362
+ a += s[c].line + s[c].acc;
1365
1363
  return {
1366
1364
  topItemsCount: n,
1367
1365
  topItemsHeight: a,
1368
- itemsNeededOnScreen: i + i / 2
1366
+ itemsNeededOnScreen: r + r / 2
1369
1367
  };
1370
1368
  }, this.horizontalScrollbarHeight = () => this.container ? this.container.offsetHeight - this.container.clientHeight : 0, t && (this.topCacheCount = 4, this.attendedSkip = -this.topCacheCount), this.scrollHandler = this.scrollHandler.bind(this);
1371
1369
  }
@@ -1409,22 +1407,22 @@ class fr {
1409
1407
  if (!this.container)
1410
1408
  return;
1411
1409
  const s = this.rowHeights, o = this.container.scrollTop;
1412
- let e = this.tableTranslate, i = 0;
1410
+ let e = this.tableTranslate, r = 0;
1413
1411
  const {
1414
1412
  topItemsCount: n,
1415
1413
  topItemsHeight: a,
1416
- itemsNeededOnScreen: h
1417
- } = this.topItems(s, !!this.topCacheCount), c = o - e;
1418
- if (!(c > a || s.length <= h)) {
1419
- for (; i < this.topCacheCount + this.attendedSkip - this.realSkip + n && this.propsSkip - i > 0 && !(e + (s[s.length - 1 - i].line + s[s.length - 1 - i].acc) + c <= o); )
1420
- e -= s[s.length - 1 - i].line + s[s.length - 1 - i].acc, i++;
1421
- if (i === 0 && this.topCacheCount === 0 && this.attendedSkip > 0 && (e = Math.max(e - s[0].line, 0), i = 1), this.propsSkip - i <= 0 && e > o) {
1414
+ itemsNeededOnScreen: c
1415
+ } = this.topItems(s, !!this.topCacheCount), h = o - e;
1416
+ 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); )
1418
+ e -= s[s.length - 1 - r].line + s[s.length - 1 - r].acc, r++;
1419
+ 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) {
1422
1420
  this.translate(0), this.changePage(0, t), this.container.scrollTop = 0;
1423
1421
  return;
1424
1422
  }
1425
1423
  if (e > o && (e = o), e !== this.tableTranslate) {
1426
1424
  this.translate(Math.max(0, e - a));
1427
- const d = Math.max(0, this.propsSkip - i - n);
1425
+ const d = Math.max(0, this.propsSkip - r - n);
1428
1426
  this.changePage(d, t);
1429
1427
  }
1430
1428
  }
@@ -1433,26 +1431,26 @@ class fr {
1433
1431
  if (!this.container)
1434
1432
  return;
1435
1433
  const s = this.rowHeights, o = this.container.scrollTop;
1436
- let e = this.tableTranslate, i = 0;
1434
+ let e = this.tableTranslate, r = 0;
1437
1435
  const {
1438
1436
  topItemsCount: n,
1439
1437
  topItemsHeight: a,
1440
- itemsNeededOnScreen: h
1438
+ itemsNeededOnScreen: c
1441
1439
  } = this.topItems(s, !!this.topCacheCount);
1442
- for (; i < s.length - this.topCacheCount && !(e + s[i].line + s[i].acc > o); )
1443
- e += s[i].line + s[i].acc, i++;
1444
- n > this.propsSkip + i || s.length <= h || (i >= s.length - this.topCacheCount && this.propsSkip + i >= this.total ? (this.translate(e - a), this.changePage(this.total - 1 - n, t)) : e !== this.tableTranslate && this.propsSkip + i - n !== this.propsSkip && (this.translate(e - a), this.changePage(this.propsSkip + i - n, t)));
1440
+ for (; r < s.length - this.topCacheCount && !(e + s[r].line + s[r].acc > o); )
1441
+ 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)));
1445
1443
  }
1446
1444
  scrollNonStrict(t) {
1447
1445
  const s = this.total * this.prevScrollPos / this.containerHeight;
1448
1446
  let o = Math.floor(s);
1449
1447
  o >= this.total && (o = this.total - 1);
1450
1448
  const e = Math.min(s - o, 1);
1451
- let i = 0;
1449
+ let r = 0;
1452
1450
  const n = o - this.propsSkip, a = this.rowHeights;
1453
- n >= 0 && n <= 1 ? i = -((a[0].line + a[0].acc) * e) : n === -1 && (i = -((a[a.length - 1].line + a[a.length - 1].acc) * e));
1454
- const { topItemsCount: h, topItemsHeight: c } = this.topItems(a, !!this.topCacheCount);
1455
- this.translate(Math.max(0, i - c - this.horizontalScrollbarHeight() + this.containerHeight * s / this.total)), this.changePage(o - h, t);
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));
1452
+ const { topItemsCount: c, topItemsHeight: h } = this.topItems(a, !!this.topCacheCount);
1453
+ this.translate(Math.max(0, r - h - this.horizontalScrollbarHeight() + this.containerHeight * s / this.total)), this.changePage(o - c, t);
1456
1454
  }
1457
1455
  scrollHandler(t) {
1458
1456
  if (!this.scrollableVirtual)
@@ -1469,14 +1467,14 @@ class fr {
1469
1467
  s - o < 0 && s > this.tableTranslate - this.table.scrollHeight / 10 ? this.localScrollUp(t) : s - o > 0 && s < this.tableTranslate + this.table.scrollHeight * 2 / 3 ? this.localScrollDown(t) : this.scrollNonStrict(t), this.prevScrollPos = s;
1470
1468
  }
1471
1469
  }
1472
- class bt {
1470
+ class vt {
1473
1471
  constructor(t = 0, s, o, e) {
1474
1472
  this.total = t, this.offsets = [], this.heights = [];
1475
- let i = 0;
1473
+ let r = 0;
1476
1474
  for (let n = 0; n < t; n++) {
1477
- this.offsets.push(i);
1475
+ this.offsets.push(r);
1478
1476
  const a = e && e[n].expanded && e[n].rowType === "data" ? o : s;
1479
- i += a, this.heights.push(a);
1477
+ r += a, this.heights.push(a);
1480
1478
  }
1481
1479
  }
1482
1480
  height(t) {
@@ -1485,13 +1483,13 @@ class bt {
1485
1483
  index(t) {
1486
1484
  if (t < 0)
1487
1485
  return;
1488
- const s = this.offsets.reduce((o, e, i) => {
1486
+ const s = this.offsets.reduce((o, e, r) => {
1489
1487
  if (o !== void 0)
1490
1488
  return o;
1491
1489
  if (e === t)
1492
- return i;
1490
+ return r;
1493
1491
  if (e > t)
1494
- return i - 1;
1492
+ return r - 1;
1495
1493
  }, void 0);
1496
1494
  return s === void 0 ? this.total - 1 : s;
1497
1495
  }
@@ -1503,7 +1501,7 @@ class bt {
1503
1501
  return t + s;
1504
1502
  }
1505
1503
  }
1506
- class xt {
1504
+ class kt {
1507
1505
  constructor(t) {
1508
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);
1509
1507
  }
@@ -1511,7 +1509,7 @@ class xt {
1511
1509
  return this.containerRef.current;
1512
1510
  }
1513
1511
  translate(t, s) {
1514
- this.scrollableVirtual && this.table && (Re || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1512
+ this.scrollableVirtual && this.table && (Ne || this.reactVersion <= 17 || s ? this.table.style.transform = "translateY(" + t + "px)" : this.tableTransform = "translateY(" + t + "px)");
1515
1513
  }
1516
1514
  changePage(t, s) {
1517
1515
  this.PageChange && this.PageChange({ skip: Math.max(0, t), take: this.pageSize }, s);
@@ -1528,71 +1526,71 @@ class xt {
1528
1526
  }
1529
1527
  const s = this.container.scrollTop, o = this.lastScrollTop >= s, e = !o;
1530
1528
  this.lastScrollTop = s;
1531
- let i = this.rowHeightService.index(s), n = this.rowHeightService.offset(i);
1532
- const { offsetHeight: a } = this.containerRef.current, h = this.rowHeightService.index(s + a);
1533
- if (e && h >= this.lastLoaded && this.lastLoaded < this.total) {
1534
- const c = i + this.pageSize - this.total;
1535
- c > 0 && (i = i - c, n = this.rowHeightService.offset(i)), this.firstLoaded = i, this.translate(n);
1529
+ let r = this.rowHeightService.index(s), n = this.rowHeightService.offset(r);
1530
+ const { offsetHeight: a } = this.containerRef.current, c = this.rowHeightService.index(s + a);
1531
+ if (e && c >= this.lastLoaded && this.lastLoaded < this.total) {
1532
+ const h = r + this.pageSize - this.total;
1533
+ h > 0 && (r = r - h, n = this.rowHeightService.offset(r)), this.firstLoaded = r, this.translate(n);
1536
1534
  let d = this.firstLoaded + this.pageSize;
1537
1535
  this.lastLoaded = Math.min(d, this.total), this.changePage(this.firstLoaded, t);
1538
- } else if (o && i < this.firstLoaded) {
1539
- const c = Math.floor(this.pageSize * 0.3);
1540
- this.firstLoaded = Math.max(i - c, 0), this.translate(this.rowHeightService.offset(this.firstLoaded)), this.lastLoaded = Math.min(this.firstLoaded + this.pageSize, this.total), this.changePage(this.firstLoaded, t);
1536
+ } else if (o && r < this.firstLoaded) {
1537
+ const h = Math.floor(this.pageSize * 0.3);
1538
+ this.firstLoaded = Math.max(r - h, 0), this.translate(this.rowHeightService.offset(this.firstLoaded)), this.lastLoaded = Math.min(this.firstLoaded + this.pageSize, this.total), this.changePage(this.firstLoaded, t);
1541
1539
  }
1542
1540
  }
1543
1541
  }
1544
- const mr = 1, Cr = 20;
1545
- class br {
1542
+ const vr = 1, kr = 20;
1543
+ class Er {
1546
1544
  constructor(t) {
1547
1545
  this.columns = [], this.resizable = !1, this.isRtl = !1, this.setIsRtl = (s) => {
1548
1546
  this.isRtl = s;
1549
- }, this.dragHandler = (s, o, e, i) => {
1547
+ }, this.dragHandler = (s, o, e, r) => {
1550
1548
  const n = s.originalEvent;
1551
- i || (n.preventDefault(), n.stopPropagation(), n.stopImmediatePropagation());
1549
+ r || (n.preventDefault(), n.stopPropagation(), n.stopImmediatePropagation());
1552
1550
  const a = e.closest("th");
1553
1551
  if (!a || !a)
1554
1552
  return;
1555
- const h = a.clientWidth;
1556
- let c = h;
1557
- if (this.isRtl ? c += e.getBoundingClientRect().right - e.offsetWidth / 2 - s.clientX : c += s.clientX - e.getBoundingClientRect().left - e.offsetWidth / 2, !i && Math.abs(c - h) < 1)
1553
+ const c = a.clientWidth;
1554
+ let h = c;
1555
+ if (this.isRtl ? h += e.getBoundingClientRect().right - e.offsetWidth / 2 - s.clientX : h += s.clientX - e.getBoundingClientRect().left - e.offsetWidth / 2, !r && Math.abs(h - c) < 1)
1558
1556
  return;
1559
- this.fixateInitialWidths(a.parentElement.clientWidth), this.setWidths(o, Math.floor(c) / h);
1557
+ this.fixateInitialWidths(a.parentElement.clientWidth), this.setWidths(o, Math.floor(h) / c);
1560
1558
  const d = this.columns.filter((g) => !g.children.length).findIndex((g) => g.id === o.id);
1561
- this.onResize(d, h, c, n, i, o.id);
1559
+ this.onResize(d, c, h, n, r, o.id);
1562
1560
  }, this.dblClickHandler = (s, o) => {
1563
1561
  const e = this.columns.filter((m) => o.indexOf(m.id) > -1);
1564
1562
  if (!this.colGroupMain || !e.length)
1565
1563
  return;
1566
- const i = {}, n = e;
1564
+ const r = {}, n = e;
1567
1565
  for (; n.length > 0; ) {
1568
1566
  const m = n.pop();
1569
1567
  if (!m)
1570
1568
  break;
1571
- m.children.length ? n.push(...m.children) : i[m.id] = m;
1569
+ m.children.length ? n.push(...m.children) : r[m.id] = m;
1572
1570
  }
1573
- const a = this.columns.filter((m) => !m.children.length), h = [];
1571
+ const a = this.columns.filter((m) => !m.children.length), c = [];
1574
1572
  a.forEach((m, u) => {
1575
- i[m.id] && h.push(u);
1573
+ r[m.id] && c.push(u);
1576
1574
  });
1577
- const c = [this.colGroupMain.parentElement], d = [this.colGroupMain];
1578
- this.colGroupHeader && (c.push(this.colGroupHeader.parentElement), d.push(this.colGroupHeader)), this.colGroupFooter && (c.push(this.colGroupFooter.parentElement), d.push(this.colGroupFooter)), c.forEach((m) => m.classList.add("k-autofitting"));
1575
+ const h = [this.colGroupMain.parentElement], d = [this.colGroupMain];
1576
+ this.colGroupHeader && (h.push(this.colGroupHeader.parentElement), d.push(this.colGroupHeader)), this.colGroupFooter && (h.push(this.colGroupFooter.parentElement), d.push(this.colGroupFooter)), h.forEach((m) => m.classList.add("k-autofitting"));
1579
1577
  let g = [];
1580
1578
  d.forEach((m) => {
1581
- h.forEach((u) => {
1582
- m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + mr));
1579
+ c.forEach((u) => {
1580
+ m.children[u] && (m.children[u].width = "", g[u] = Math.max(g[u] || 0, m.children[u].offsetWidth + vr));
1583
1581
  });
1584
1582
  }), d.forEach((m) => {
1585
- h.forEach((u) => {
1583
+ c.forEach((u) => {
1586
1584
  m.children[u] && (m.children[u].width = g[u] + "px", a[u].width = g[u]);
1587
1585
  });
1588
- }), c.forEach((m) => m.classList.remove("k-autofitting")), this.onResize(h[0], 0, 0, s, !0, o[0]);
1586
+ }), h.forEach((m) => m.classList.remove("k-autofitting")), this.onResize(c[0], 0, 0, s, !0, o[0]);
1589
1587
  }, this.updateColElements = (s) => {
1590
- const o = this.columns.filter((i) => !i.children.length);
1588
+ const o = this.columns.filter((r) => !r.children.length);
1591
1589
  let e = 1e-10;
1592
- for (let i = 0; i < s.length; i++) {
1593
- const n = s[i], a = o.findIndex((g) => g.id === n.id), h = parseFloat((n.width || 0).toString()), c = Math.floor(h);
1594
- e += h - c;
1595
- const d = c + Math.floor(e);
1590
+ 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);
1592
+ e += c - h;
1593
+ const d = h + Math.floor(e);
1596
1594
  if (e -= Math.floor(e), this.colGroupMain && this.colGroupMain.children[a]) {
1597
1595
  const g = parseInt(this.colGroupMain.children[a].width, 10);
1598
1596
  this.colGroupMain.children[a].width = d + "px", this.updateNextLockedCol(
@@ -1627,63 +1625,63 @@ class br {
1627
1625
  e[n].width ? t -= parseFloat(e[n].width) : o++;
1628
1626
  if (o === 0)
1629
1627
  return;
1630
- const i = Math.floor(t / o);
1628
+ const r = Math.floor(t / o);
1631
1629
  for (let n = 0; n < e.length; n++) {
1632
1630
  const a = e[n];
1633
- a.width || (a.width = i, s[n].width = i.toString(), this.colGroupHeader && (this.colGroupHeader.children[n].width = i), this.colGroupFooter && (this.colGroupFooter.children[n].width = i));
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));
1634
1632
  }
1635
1633
  }
1636
1634
  setWidths(t, s) {
1637
1635
  const o = this.columns.findIndex((n) => n.id === t.id), e = [];
1638
- let i = t.children.length;
1639
- for (let n = o + 1; i > 0 && n < this.columns.length; n++, i--) {
1636
+ let r = t.children.length;
1637
+ for (let n = o + 1; r > 0 && n < this.columns.length; n++, r--) {
1640
1638
  const a = this.columns[n];
1641
- a.children.length ? i += a.children.length : e.push(a);
1639
+ a.children.length ? r += a.children.length : e.push(a);
1642
1640
  }
1643
1641
  return e.length === 0 && e.push(t), e.forEach((n) => {
1644
1642
  let a = n.width ? parseFloat(n.width.toString()) * s : 0;
1645
- const h = n.minResizableWidth === void 0 ? 10 : n.minResizableWidth;
1646
- a < h && (a = h), n.width = a;
1643
+ const c = n.minResizableWidth === void 0 ? 10 : n.minResizableWidth;
1644
+ a < c && (a = c), n.width = a;
1647
1645
  }), this.updateColElements(e), e;
1648
1646
  }
1649
1647
  updateNextLockedCol(t, s, o) {
1650
- const e = s.index, i = this.colGroupMain.parentElement.closest(".k-grid"), n = i == null ? void 0 : i.clientWidth, a = this.columns.filter((h) => h.locked).map((h) => parseInt(h.width + "", 10)).reduce((h, c) => h + c, 0);
1651
- !s.locked || n <= a + Cr || this.columns.forEach((h) => {
1652
- if (h != null && h.locked && o) {
1653
- const c = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + h.ariaColumnIndex + '"]');
1654
- c == null || c.forEach((d) => {
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) => {
1650
+ if (c != null && c.locked && o) {
1651
+ const h = t == null ? void 0 : t.querySelectorAll('[aria-colindex="' + c.ariaColumnIndex + '"]');
1652
+ h == null || h.forEach((d) => {
1655
1653
  const g = d.style;
1656
- this.isRtl ? (h.index > e && g && g.right && (g.right = parseInt(g.right, 10) - o + "px"), h.index < e && g && g.left && (g.left = parseInt(g.left, 10) - o + "px")) : (h.index > e && g && g.left && (g.left = parseInt(g.left, 10) - o + "px"), h.index < e && g && g.right && (g.right = parseInt(g.right, 10) - o + "px"));
1654
+ this.isRtl ? (c.index > e && g && g.right && (g.right = parseInt(g.right, 10) - o + "px"), c.index < e && g && g.left && (g.left = parseInt(g.left, 10) - o + "px")) : (c.index > e && g && g.left && (g.left = parseInt(g.left, 10) - o + "px"), c.index < e && g && g.right && (g.right = parseInt(g.right, 10) - o + "px"));
1657
1655
  });
1658
1656
  }
1659
1657
  });
1660
1658
  }
1661
1659
  }
1662
- class xr {
1660
+ class Ir {
1663
1661
  constructor(t, s, o) {
1664
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) => {
1665
1663
  this.groupPanelDivElement = e && e.children ? e.children[0] : e;
1666
- }, this.pressHandler = (e, i) => {
1667
- const n = this.getColumnIndex(e, i);
1664
+ }, this.pressHandler = (e, r) => {
1665
+ const n = this.getColumnIndex(e, r);
1668
1666
  if (this.startGroup = this.getGroupIndex(e), n >= 0) {
1669
1667
  const a = this.columns[n];
1670
1668
  (a.reorderable && this.reorderable || a.groupable && this.groupable) && (this.startColumn = n);
1671
1669
  }
1672
- }, this.dragHandler = (e, i) => {
1670
+ }, this.dragHandler = (e, r) => {
1673
1671
  if (e.isTouch || e.originalEvent.preventDefault(), e.originalEvent.stopPropagation(), this.startColumn === -1 && this.startGroup === -1)
1674
1672
  return;
1675
- this.currentColumn = this.getColumnIndex(e, i);
1673
+ this.currentColumn = this.getColumnIndex(e, r);
1676
1674
  const n = this.groupPanelDivElement && this.groupPanelDivElement.children;
1677
1675
  this.currentGroup = this.isTargetGroupingContainer(e) ? n && n.length ? n.length : 0 : this.getGroupIndex(e);
1678
1676
  const a = !this.isValid();
1679
1677
  a && (this.currentColumn = -1, this.currentGroup = -1);
1680
- const h = this.currentColumn >= 0 ? i.children[this.columns[this.currentColumn].index] : this.isTargetGroupingContainer(e) ? e.originalEvent.target : this.groupPanelDivElement && this.groupPanelDivElement.children[this.currentGroup];
1681
- this.updateDragElementClue(e, i, h, a), this.updateDropElementClue(e, i, h, a);
1678
+ 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
+ this.updateDragElementClue(e, r, c, a), this.updateDropElementClue(e, r, c, a);
1682
1680
  }, this.releaseHandler = (e) => {
1683
- const i = this.startColumn, n = this.currentColumn, a = this.startGroup, h = this.currentGroup;
1681
+ const r = this.startColumn, n = this.currentColumn, a = this.startGroup, c = this.currentGroup;
1684
1682
  e.originalEvent.preventDefault(), this.dropElementClue && this.dropElementClue.setState({ visible: !1 }), this.dragElementClue && this.dragElementClue.setState({ visible: !1 });
1685
- const c = this.isValid();
1686
- this.startColumn = this.startGroup = this.currentColumn = this.currentGroup = -1, c && (i >= 0 && n >= 0 ? this.columnReorder(i, n, e.originalEvent) : a >= 0 && h >= 0 ? this.groupReorder(a, h, e.originalEvent) : i >= 0 && h >= 0 && this.columnToGroup(i, h, e.originalEvent));
1683
+ 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));
1687
1685
  }, this.columnReorder = t, this.groupReorder = s, this.columnToGroup = o;
1688
1686
  }
1689
1687
  get dragClueRef() {
@@ -1701,12 +1699,12 @@ class xr {
1701
1699
  getColumnIndex(t, s) {
1702
1700
  if (!s || s.parentElement === this.groupPanelDivElement)
1703
1701
  return -1;
1704
- const o = nt(t, s);
1702
+ const o = ct(t, s);
1705
1703
  if (o === -1)
1706
1704
  return -1;
1707
1705
  for (let e = 0; e < s.parentNode.children.length; e++)
1708
1706
  if (s.parentNode.children[e] === s)
1709
- return this.columns.findIndex((i) => i.index === o && i.depth === e);
1707
+ return this.columns.findIndex((r) => r.index === o && r.depth === e);
1710
1708
  return -1;
1711
1709
  }
1712
1710
  isTargetGroupingContainer(t) {
@@ -1714,7 +1712,7 @@ class xr {
1714
1712
  return s.className.indexOf ? s.className.indexOf("k-grouping-drop-container") !== -1 : !1;
1715
1713
  }
1716
1714
  getGroupIndex(t) {
1717
- return nt(t, this.groupPanelDivElement);
1715
+ return ct(t, this.groupPanelDivElement);
1718
1716
  }
1719
1717
  isValid() {
1720
1718
  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;
@@ -1722,12 +1720,12 @@ class xr {
1722
1720
  updateDragElementClue(t, s, o, e) {
1723
1721
  if (!this.dragElementClue)
1724
1722
  return;
1725
- const i = this.startColumn >= 0 ? s.children[this.columns[this.startColumn].index].innerText : s.innerText;
1723
+ const r = this.startColumn >= 0 ? s.children[this.columns[this.startColumn].index].innerText : s.innerText;
1726
1724
  this.dragElementClue.setState({
1727
1725
  visible: !0,
1728
1726
  top: t.pageY + 10,
1729
1727
  left: t.pageX,
1730
- innerText: i,
1728
+ innerText: r,
1731
1729
  status: e || !o ? "k-i-cancel" : "k-i-plus"
1732
1730
  });
1733
1731
  }
@@ -1738,109 +1736,109 @@ class xr {
1738
1736
  this.dropElementClue.setState({ visible: !1 });
1739
1737
  return;
1740
1738
  }
1741
- const i = o.getBoundingClientRect(), a = (o.closest(".k-grouping-header") || o).getBoundingClientRect();
1742
- let h = i.left + t.pageX - t.clientX - 6;
1743
- !this.isTargetGroupingContainer(t) && (this.currentColumn > this.startColumn || this.currentGroup > this.startGroup && this.startGroup !== -1) && (h += i.width);
1744
- const c = a.top + t.pageY - t.clientY;
1739
+ const r = o.getBoundingClientRect(), a = (o.closest(".k-grouping-header") || o).getBoundingClientRect();
1740
+ let c = r.left + t.pageX - t.clientX - 6;
1741
+ !this.isTargetGroupingContainer(t) && (this.currentColumn > this.startColumn || this.currentGroup > this.startGroup && this.startGroup !== -1) && (c += r.width);
1742
+ const h = a.top + t.pageY - t.clientY;
1745
1743
  this.dropElementClue.setState({
1746
1744
  visible: !0,
1747
- top: c,
1748
- left: h,
1745
+ top: h,
1746
+ left: c,
1749
1747
  height: this.currentColumn >= 0 ? s.clientHeight : a.height
1750
1748
  });
1751
1749
  }
1752
1750
  }
1753
- const kr = (r) => {
1751
+ const Sr = (i) => {
1754
1752
  let t = null;
1755
- const s = Rs(), o = q(r.id), e = l.useCallback((c) => {
1756
- r.onContextMenu && r.onContextMenu.call(void 0, c, r.dataItem, r.field);
1757
- }, [r.onContextMenu, r.dataItem, r.field]);
1758
- let i = null, n = null;
1759
- if (r.rowType === "groupFooter")
1760
- i = {
1753
+ const s = Ts(), o = q(i.id), e = l.useCallback((h) => {
1754
+ i.onContextMenu && i.onContextMenu.call(void 0, h, i.dataItem, i.field);
1755
+ }, [i.onContextMenu, i.dataItem, i.field]);
1756
+ let r = null, n = null;
1757
+ if (i.rowType === "groupFooter")
1758
+ r = {
1761
1759
  onContextMenu: e,
1762
- className: r.className
1763
- }, t = /* @__PURE__ */ l.createElement("td", { ...i });
1764
- else if (r.rowType !== "groupHeader") {
1765
- if (r.field !== void 0) {
1766
- const d = T(r.field, r.dataItem);
1767
- d != null && (n = r.format ? s.format(r.format, d) : d.toString());
1760
+ className: i.className
1761
+ }, t = /* @__PURE__ */ l.createElement("td", { ...r });
1762
+ else if (i.rowType !== "groupHeader") {
1763
+ 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());
1768
1766
  }
1769
- const c = y(
1767
+ const h = y(
1770
1768
  "k-table-td",
1771
- r.className,
1772
- { "k-selected": r.isSelected }
1769
+ i.className,
1770
+ { "k-selected": i.isSelected }
1773
1771
  );
1774
- i = {
1772
+ r = {
1775
1773
  onContextMenu: e,
1776
- colSpan: r.colSpan,
1777
- style: r.style,
1778
- className: c,
1774
+ colSpan: i.colSpan,
1775
+ style: i.style,
1776
+ className: h,
1779
1777
  role: "gridcell",
1780
- "aria-colindex": r.ariaColumnIndex,
1781
- "aria-selected": r.isSelected,
1782
- [re]: r.columnIndex,
1778
+ "aria-colindex": i.ariaColumnIndex,
1779
+ "aria-selected": i.isSelected,
1780
+ [se]: i.columnIndex,
1783
1781
  ...o
1784
- }, t = /* @__PURE__ */ l.createElement("td", { ...i }, n);
1782
+ }, t = /* @__PURE__ */ l.createElement("td", { ...r }, n);
1785
1783
  }
1786
- const a = r.rowType || "data", h = r.cells;
1787
- if (h && h[a]) {
1788
- const c = h[a];
1789
- return /* @__PURE__ */ l.createElement(c, { ...r, tdProps: i }, n);
1784
+ const a = i.rowType || "data", c = i.cells;
1785
+ if (c && c[a]) {
1786
+ const h = c[a];
1787
+ return /* @__PURE__ */ l.createElement(h, { ...i, tdProps: r }, n);
1790
1788
  }
1791
- return r.render ? r.render.call(void 0, t, r) : t;
1792
- }, kt = (r) => {
1789
+ return i.render ? i.render.call(void 0, t, i) : t;
1790
+ }, Et = (i) => {
1793
1791
  let t = null;
1794
- const { columnIndex: s, level: o, columnsCount: e, rowType: i, dataItem: n, field: a, onChange: h, expanded: c, render: d, dataIndex: g, ariaColumnIndex: m, isRtl: u } = r, b = a || "", E = q(r.id), C = Nt();
1795
- let x = null, I = null, k = 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;
1796
1794
  const _ = l.useCallback(
1797
1795
  (F) => {
1798
- F.isDefaultPrevented() || F.keyCode === me.enter && h && (F.preventDefault(), h({
1796
+ F.isDefaultPrevented() || F.keyCode === me.enter && c && (F.preventDefault(), c({
1799
1797
  dataItem: n,
1800
1798
  dataIndex: g,
1801
1799
  syntheticEvent: F,
1802
1800
  field: void 0,
1803
- value: !c
1801
+ value: !h
1804
1802
  }));
1805
1803
  },
1806
- [c, h, n, g]
1804
+ [h, c, n, g]
1807
1805
  ), D = l.useCallback((F) => {
1808
- r.onContextMenu && r.onContextMenu.call(void 0, F, r.dataItem, r.field);
1809
- }, [r.onContextMenu, r.dataItem, r.field]), de = (F, ke) => {
1810
- const pe = c ? At : Pt, ve = C.toLanguageString(pe, v[pe]);
1806
+ 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]);
1811
1809
  return x = {
1812
1810
  className: "k-table-td",
1813
- style: { ...r.style, ...ke },
1811
+ style: { ...i.style, ...ve },
1814
1812
  colSpan: F,
1815
1813
  key: "g-colspan",
1816
1814
  role: "gridcell",
1817
1815
  ["aria-selected"]: !1,
1818
- ["aria-expanded"]: c,
1816
+ ["aria-expanded"]: h,
1819
1817
  ["aria-colindex"]: m,
1820
1818
  onKeyDown: _,
1821
1819
  onContextMenu: D,
1822
1820
  ...E
1823
- }, k = /* @__PURE__ */ l.createElement("p", { className: "k-reset" }, /* @__PURE__ */ l.createElement(
1821
+ }, v = /* @__PURE__ */ l.createElement("p", { className: "k-reset" }, /* @__PURE__ */ l.createElement(
1824
1822
  "a",
1825
1823
  {
1826
1824
  onClick: (J) => {
1827
- J.preventDefault(), h && h({
1825
+ J.preventDefault(), c && c({
1828
1826
  dataItem: n,
1829
1827
  dataIndex: g,
1830
1828
  syntheticEvent: J,
1831
1829
  field: void 0,
1832
- value: !c
1830
+ value: !h
1833
1831
  });
1834
1832
  },
1835
1833
  href: "#",
1836
1834
  tabIndex: -1,
1837
- "aria-label": ve
1835
+ "aria-label": ke
1838
1836
  },
1839
1837
  /* @__PURE__ */ l.createElement(
1840
1838
  O,
1841
1839
  {
1842
- name: c ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1843
- icon: c ? Gs : u ? Ms : Hs
1840
+ name: h ? "caret-alt-down" : u ? "caret-alt-left" : "caret-alt-right",
1841
+ icon: h ? Ls : u ? Os : _s
1844
1842
  }
1845
1843
  )
1846
1844
  ), n[b] instanceof Date && n[b].toString ? n[b].toString() : n[b]), /* @__PURE__ */ l.createElement(
@@ -1849,16 +1847,16 @@ const kr = (r) => {
1849
1847
  ...x,
1850
1848
  key: x.key
1851
1849
  },
1852
- k
1850
+ v
1853
1851
  );
1854
1852
  };
1855
- s === void 0 || o === void 0 || s < o || e === void 0 || i !== "groupHeader" || n[b] === void 0 ? (x = {
1856
- style: r.style,
1853
+ s === void 0 || o === void 0 || s < o || e === void 0 || r !== "groupHeader" || n[b] === void 0 ? (x = {
1854
+ style: i.style,
1857
1855
  key: "g" + s,
1858
1856
  className: y(
1859
1857
  "k-table-td",
1860
1858
  "k-group-cell",
1861
- { "k-grid-content-sticky": r.locked }
1859
+ { "k-grid-content-sticky": i.locked }
1862
1860
  ),
1863
1861
  role: "gridcell",
1864
1862
  onContextMenu: D
@@ -1868,26 +1866,26 @@ const kr = (r) => {
1868
1866
  ...x,
1869
1867
  key: x.key
1870
1868
  }
1871
- )) : s <= o && !r.locked ? t = de(e - s, {}) : s <= o && r.locked && (I = {
1869
+ )) : s <= o && !i.locked ? t = he(e - s, {}) : s <= o && i.locked && (I = {
1872
1870
  className: "k-table-td",
1873
1871
  role: "gridcell",
1874
1872
  colSpan: e - s,
1875
1873
  style: { borderLeftWidth: 0, borderRightWidth: 0 },
1876
1874
  onContextMenu: D
1877
- }, t = /* @__PURE__ */ l.createElement(l.Fragment, null, de(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ l.createElement(
1875
+ }, t = /* @__PURE__ */ l.createElement(l.Fragment, null, he(0, { position: "sticky", zIndex: 2 }), /* @__PURE__ */ l.createElement(
1878
1876
  "td",
1879
1877
  {
1880
1878
  ...I
1881
1879
  }
1882
1880
  )));
1883
- const Y = r.rowType || "data", $ = r.cells;
1881
+ const Y = i.rowType || "data", $ = i.cells;
1884
1882
  if ($ && $.group && $.group[Y]) {
1885
1883
  const F = $.group[Y];
1886
- return /* @__PURE__ */ l.createElement(F, { ...r, tdProps: x, td2Props: I }, k);
1884
+ return /* @__PURE__ */ l.createElement(F, { ...i, tdProps: x, td2Props: I }, v);
1887
1885
  }
1888
- return d ? d.call(void 0, t, r) : t;
1886
+ return d ? d.call(void 0, t, i) : t;
1889
1887
  };
1890
- class vr extends l.Component {
1888
+ class yr extends l.Component {
1891
1889
  /**
1892
1890
  * @hidden
1893
1891
  */
@@ -1917,14 +1915,14 @@ class vr extends l.Component {
1917
1915
  "aria-rowindex": this.props.ariaRowIndex,
1918
1916
  "absolute-row-index": this.props.absoluteRowIndex,
1919
1917
  key: this.props.absoluteRowIndex,
1920
- [rr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1918
+ [nr]: this.props.rowType === "data" ? this.props.dataIndex : void 0
1921
1919
  },
1922
1920
  this.props.children
1923
1921
  );
1924
1922
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1925
1923
  }
1926
1924
  }
1927
- class Er extends l.Component {
1925
+ class wr extends l.Component {
1928
1926
  get _inputId() {
1929
1927
  return this.props.id;
1930
1928
  }
@@ -1944,23 +1942,23 @@ class Er extends l.Component {
1944
1942
  }
1945
1943
  )),
1946
1944
  /* @__PURE__ */ l.createElement("label", { key: 1, className: "k-checkbox-label", htmlFor: this._inputId }),
1947
- t.columnMenu && /* @__PURE__ */ l.createElement(Kt, { ...t })
1945
+ t.columnMenu && /* @__PURE__ */ l.createElement(qt, { ...t })
1948
1946
  ];
1949
1947
  return this.props.render ? this.props.render.call(void 0, s, this.props) : s;
1950
1948
  }
1951
1949
  }
1952
- const Ir = wt(Er);
1953
- class qe extends l.Component {
1950
+ const Rr = Ft(wr);
1951
+ class je extends l.Component {
1954
1952
  /**
1955
1953
  * @hidden
1956
1954
  */
1957
1955
  render() {
1958
- return this.props.children || G(this).toLanguageString(Fe, v[Fe]);
1956
+ return this.props.children || G(this).toLanguageString(De, k[De]);
1959
1957
  }
1960
1958
  }
1961
- qe.displayName = "KendoReactGridNoRecords";
1962
- M(qe);
1963
- class Sr extends l.Component {
1959
+ je.displayName = "KendoReactGridNoRecords";
1960
+ M(je);
1961
+ class Fr extends l.Component {
1964
1962
  constructor() {
1965
1963
  super(...arguments), this._element = null, this.renderCell = (t, s) => {
1966
1964
  const o = {
@@ -1977,9 +1975,9 @@ class Sr extends l.Component {
1977
1975
  field: t.field,
1978
1976
  ariaColumnIndex: t.ariaColumnIndex,
1979
1977
  ...o
1980
- }, i = be(this.props.cells, t.cells);
1981
- if (i && i.footerCell) {
1982
- const n = i.footerCell;
1978
+ }, r = be(this.props.cells, t.cells);
1979
+ if (r && r.footerCell) {
1980
+ const n = r.footerCell;
1983
1981
  return /* @__PURE__ */ l.createElement(n, { ...e, tdProps: o, index: s });
1984
1982
  }
1985
1983
  return t.footerCell && /* @__PURE__ */ l.createElement(t.footerCell, { ...e, key: s }) || /* @__PURE__ */ l.createElement("td", { ...o });
@@ -1989,36 +1987,36 @@ class Sr extends l.Component {
1989
1987
  return this._element;
1990
1988
  }
1991
1989
  render() {
1992
- return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, Vs(this.props.columns).map(this.renderCell));
1990
+ return /* @__PURE__ */ l.createElement("tr", { className: "k-table-row", role: "row", "aria-rowindex": this.props.ariaRowIndex }, $s(this.props.columns).map(this.renderCell));
1993
1991
  }
1994
1992
  }
1995
- const yr = ({
1996
- buttonCount: r = 10,
1993
+ const Nr = ({
1994
+ buttonCount: i = 10,
1997
1995
  info: t = !0,
1998
1996
  type: s = "numeric",
1999
1997
  pageSizes: o = void 0,
2000
1998
  previousNext: e = !0,
2001
- responsive: i = void 0,
1999
+ responsive: r = void 0,
2002
2000
  pageSizeValue: n = void 0
2003
2001
  }) => ({
2004
- buttonCount: r,
2002
+ buttonCount: i,
2005
2003
  info: t,
2006
2004
  pageSizes: o === !0 ? [5, 10, 20] : o || void 0,
2007
2005
  previousNext: e,
2008
- responsive: i !== !1,
2006
+ responsive: r !== !1,
2009
2007
  type: s,
2010
2008
  pageSizeValue: n
2011
- }), wr = (r) => yr(r === !0 ? {} : r), vt = {
2009
+ }), Dr = (i) => Nr(i === !0 ? {} : i), It = {
2012
2010
  name: "@progress/kendo-react-grid",
2013
2011
  productName: "KendoReact",
2014
2012
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
2015
- publishDate: 1706027106,
2013
+ publishDate: 1706772467,
2016
2014
  version: "",
2017
2015
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
2018
- }, Rr = (r) => {
2019
- const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: i } = r, n = q(i), a = l.useCallback((h) => {
2020
- r.onContextMenu && r.onContextMenu.call(void 0, h, r.dataItem);
2021
- }, [r.onContextMenu, r.dataItem]);
2016
+ }, Tr = (i) => {
2017
+ const { colSpan: t, ariaColIndex: s, dataItem: o, dataIndex: e, id: r } = i, n = q(r), a = l.useCallback((c) => {
2018
+ i.onContextMenu && i.onContextMenu.call(void 0, c, i.dataItem);
2019
+ }, [i.onContextMenu, i.dataItem]);
2022
2020
  return /* @__PURE__ */ l.createElement(
2023
2021
  "td",
2024
2022
  {
@@ -2029,96 +2027,96 @@ const yr = ({
2029
2027
  role: "gridcell",
2030
2028
  ...n
2031
2029
  },
2032
- /* @__PURE__ */ l.createElement(r.detail, { dataItem: o, dataIndex: e })
2030
+ /* @__PURE__ */ l.createElement(i.detail, { dataItem: o, dataIndex: e })
2033
2031
  );
2034
- }, Fr = (r) => {
2035
- const t = q(r.id);
2032
+ }, Gr = (i) => {
2033
+ const t = q(i.id);
2036
2034
  return /* @__PURE__ */ l.createElement("td", { className: "k-table-td k-hierarchy-cell", ...t, role: "gridcell" });
2037
2035
  };
2038
2036
  let ce = class extends l.Component {
2039
2037
  constructor(t) {
2040
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) => {
2041
- const i = { rowIndex: this.rowIndex };
2039
+ const r = { rowIndex: this.rowIndex };
2042
2040
  e.forEach((n) => {
2043
- n.isIntersecting || this.setCurrentOnTop(i);
2041
+ n.isIntersecting || this.setCurrentOnTop(r);
2044
2042
  });
2045
2043
  }, this.setCurrentOnTop = (e) => {
2046
2044
  if (!this.vs.container || this.props.scrollable === "none")
2047
2045
  return;
2048
2046
  this.observer && this.observer.disconnect();
2049
- const { rowIndex: i } = e;
2047
+ const { rowIndex: r } = e;
2050
2048
  if (this.props.scrollable === "virtual")
2051
- this.vs.askedSkip = i, this.vs.container.scroll(0, Math.round(this.vs.askedSkip / this.vs.total * this.vs.container.scrollHeight));
2049
+ this.vs.askedSkip = r, this.vs.container.scroll(0, Math.round(this.vs.askedSkip / this.vs.total * this.vs.container.scrollHeight));
2052
2050
  else if (this.element) {
2053
- const n = i < 1 ? this.element.querySelector("tbody > tr:nth-child(1)") : this.element.querySelector(`tbody > tr:nth-child(${i + 1})`);
2051
+ const n = r < 1 ? this.element.querySelector("tbody > tr:nth-child(1)") : this.element.querySelector(`tbody > tr:nth-child(${r + 1})`);
2054
2052
  n && this.containerRef.current && (this.containerRef.current.scrollTop = n.offsetTop);
2055
2053
  }
2056
2054
  }, this.scrollIntoView = (e) => {
2057
2055
  if (!this.vs.container || this.props.scrollable === "none")
2058
2056
  return;
2059
2057
  this.rowIndex = e.rowIndex;
2060
- const { rowIndex: i } = e, n = this.element;
2058
+ const { rowIndex: r } = e, n = this.element;
2061
2059
  if (this.observer && n) {
2062
2060
  this.observer.disconnect();
2063
- const a = n.querySelector(`[absolute-row-index="${i}"]`);
2061
+ const a = n.querySelector(`[absolute-row-index="${r}"]`);
2064
2062
  a ? this.observer.observe(a) : this.setCurrentOnTop(e);
2065
2063
  }
2066
2064
  }, this.fitColumns = (e) => {
2067
2065
  this.columnResize.dblClickHandler(null, e);
2068
- }, this.onContextMenu = (e, i, n) => {
2066
+ }, this.onContextMenu = (e, r, n) => {
2069
2067
  if (this.props.onContextMenu) {
2070
2068
  const a = {
2071
2069
  target: this,
2072
2070
  syntheticEvent: e,
2073
2071
  nativeEvent: e.nativeEvent,
2074
- dataItem: i,
2072
+ dataItem: r,
2075
2073
  field: n
2076
2074
  };
2077
2075
  this.props.onContextMenu.call(void 0, a);
2078
2076
  }
2079
2077
  }, this.getVirtualScroll = (e) => {
2080
- const { rowHeight: i, detailRowHeight: n, detail: a, expandField: h, groupable: c } = e, d = this.isAllData(), g = i !== void 0 && i > 0, m = n !== void 0 && n > 0, u = c === !0 || typeof c == "object" && c.enabled !== !1;
2081
- return !g || u && !d || !!(a && h) && (!m || !d) ? fr : xt;
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;
2082
2080
  }, this.isAllData = () => {
2083
- const { data: e, total: i } = this.props;
2084
- return Array.isArray(e) ? e.length === i : e ? i === e.total : !1;
2085
- }, this.initializeVirtualization = (e, i) => {
2081
+ const { data: e, total: r } = this.props;
2082
+ return Array.isArray(e) ? e.length === r : e ? r === e.total : !1;
2083
+ }, this.initializeVirtualization = (e, r) => {
2086
2084
  if (this.reInitVirtualization(
2087
2085
  this.props.scrollable === "virtual",
2088
2086
  this.props.total,
2089
2087
  this.props.filter,
2090
2088
  this.props.group,
2091
2089
  this.props.sort,
2092
- i || this.props.rowHeight === void 0 || this.props.rowHeight === 0
2093
- ), this.vs.fixedScroll = this.props.fixedScroll || !1, this.vs.PageChange = this.pageChange, this.vs.realSkip = this.props.skip || 0, this.vs.pageSize = (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 0, this.vs.scrollableVirtual = this.props.scrollable === "virtual", this.vs.total = e, this.vs.propsSkip = (this.props.skip || 0) + (this.props.scrollable === "virtual" ? this.vs.topCacheCount + (this.vs.attendedSkip - (this.props.skip || 0)) : 0), this.props.rowHeight !== void 0 && this.props.rowHeight > 0 && !i) {
2090
+ r || this.props.rowHeight === void 0 || this.props.rowHeight === 0
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) {
2094
2092
  const n = this.props.rowHeight * e;
2095
- this.vs.containerHeight = Re ? Math.min(mt, n) : n;
2093
+ this.vs.containerHeight = Ne ? Math.min(bt, n) : n;
2096
2094
  } else
2097
2095
  this.vs.containerHeight = 1533915;
2098
- if (this.vs.containerRef = this.containerRef, this.vs.tableBodyRef = this.tableBodyRef, this.vs.table = this.tableElement, this._slicedData = void 0, this.vs instanceof xt) {
2099
- const { rowHeight: n = 0, detail: a, expandField: h } = this.props;
2100
- let { detailRowHeight: c = 0 } = this.props;
2101
- c = a && h ? c : n, this.isAllData() ? (this.vs.total = this._data.length, this._slicedData = this._data.slice(this.vs.realSkip, this.vs.realSkip + this.vs.pageSize), this.vs.rowHeightService = this.rowHeightService(this.vs, this._data.length, n, c, this._data)) : this.vs.rowHeightService = new bt(e, n, c);
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;
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);
2102
2100
  const d = this.vs.rowHeightService.totalHeight();
2103
- this.vs.containerHeight = Re ? Math.min(mt, d) : d;
2101
+ this.vs.containerHeight = Ne ? Math.min(bt, d) : d;
2104
2102
  }
2105
2103
  }, this.scrollHandler = (e) => {
2106
2104
  if (e.target !== e.currentTarget)
2107
2105
  return;
2108
2106
  clearTimeout(this.forceUpdateTimeout), this.vs.table = this.tableElement;
2109
- const i = e.currentTarget.scrollLeft, n = e.currentTarget.scrollTop;
2107
+ const r = e.currentTarget.scrollLeft, n = e.currentTarget.scrollTop;
2110
2108
  this.props.columnVirtualization && (!this.vs.scrollableVirtual || n === this.wrapperScrollTop) && (this.forceUpdateTimeout = window.setTimeout(() => {
2111
2109
  this.forceUpdate();
2112
- }, 0)), this._header && this._header.setScrollLeft(i), this._footer && this._footer.setScrollLeft(i), this.vs && n !== this.wrapperScrollTop && this.vs.scrollHandler(e), us(this.props.onScroll, e, this, void 0), this.wrapperScrollTop = n;
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;
2113
2111
  }, this.onKeyDown = (e) => {
2114
2112
  if (X.onKeyDown(e, {
2115
2113
  contextStateRef: this.contextStateRef,
2116
2114
  navigationStateRef: this.navigationStateRef,
2117
2115
  onNavigationAction: this.onNavigationAction
2118
2116
  }), this.props.onKeyDown) {
2119
- const { mode: i, cell: n } = at(this.props.selectable), a = {
2117
+ const { mode: r, cell: n } = ht(this.props.selectable), a = {
2120
2118
  dataItems: this.getLeafDataItems(),
2121
- mode: i,
2119
+ mode: r,
2122
2120
  cell: n,
2123
2121
  componentId: this._gridId,
2124
2122
  selectedField: this.props.selectedField,
@@ -2132,30 +2130,30 @@ let ce = class extends l.Component {
2132
2130
  });
2133
2131
  }, this.onNavigationAction = (e) => {
2134
2132
  if (this.props.onNavigationAction) {
2135
- const i = {
2133
+ const r = {
2136
2134
  focusElement: e.focusElement,
2137
2135
  ...this.getArguments(e.event)
2138
2136
  };
2139
- this.props.onNavigationAction.call(void 0, i);
2137
+ this.props.onNavigationAction.call(void 0, r);
2140
2138
  }
2141
- }, this.rowClick = (e, i) => {
2139
+ }, this.rowClick = (e, r) => {
2142
2140
  this.props.onRowClick && e.target.nodeName === "TD" && this.props.onRowClick.call(
2143
2141
  void 0,
2144
2142
  {
2145
- dataItem: i.dataItem,
2143
+ dataItem: r.dataItem,
2146
2144
  ...this.getArguments(e)
2147
2145
  }
2148
2146
  );
2149
- }, this.rowDblClick = (e, i) => {
2147
+ }, this.rowDblClick = (e, r) => {
2150
2148
  this.props.onRowDoubleClick && e.target.nodeName === "TD" && this.props.onRowDoubleClick.call(
2151
2149
  void 0,
2152
2150
  {
2153
- dataItem: i.dataItem,
2151
+ dataItem: r.dataItem,
2154
2152
  ...this.getArguments(e)
2155
2153
  }
2156
2154
  );
2157
2155
  }, this.itemChange = (e) => {
2158
- const i = this.props.onItemChange;
2156
+ const r = this.props.onItemChange;
2159
2157
  if (e.field === this.props.expandField || this.props.group && e.field === void 0) {
2160
2158
  const n = this.props.onExpandChange;
2161
2159
  n && n.call(
@@ -2169,7 +2167,7 @@ let ce = class extends l.Component {
2169
2167
  );
2170
2168
  return;
2171
2169
  }
2172
- i && i.call(
2170
+ r && r.call(
2173
2171
  void 0,
2174
2172
  {
2175
2173
  ...this.getArguments(e.syntheticEvent),
@@ -2192,7 +2190,7 @@ let ce = class extends l.Component {
2192
2190
  );
2193
2191
  }, this.selectionRelease = (e) => {
2194
2192
  if (this.props.onSelectionChange) {
2195
- const i = {
2193
+ const r = {
2196
2194
  syntheticEvent: void 0,
2197
2195
  target: this,
2198
2196
  selectedField: this.props.selectedField || "",
@@ -2201,78 +2199,99 @@ let ce = class extends l.Component {
2201
2199
  dataItem: null,
2202
2200
  ...e
2203
2201
  };
2204
- this.props.onSelectionChange.call(void 0, i);
2202
+ this.props.onSelectionChange.call(void 0, r);
2205
2203
  }
2206
- }, this.pageChange = (e, i, n) => {
2204
+ }, this.pageChange = (e, r, n) => {
2207
2205
  this.raiseDataEvent(
2208
2206
  this.props.onPageChange,
2209
2207
  { page: e },
2210
2208
  { skip: e.skip, take: e.take },
2211
- i,
2209
+ r,
2212
2210
  n
2213
2211
  );
2214
2212
  }, this.pagerPageChange = (e) => {
2215
2213
  this.pageChange({ skip: e.skip, take: e.take }, e.syntheticEvent, e.targetEvent);
2216
- }, this.sortChange = (e, i) => {
2214
+ }, this.sortChange = (e, r) => {
2217
2215
  this.raiseDataEvent(
2218
2216
  this.props.onSortChange,
2219
2217
  { sort: e },
2220
2218
  { sort: e, ...this.props.scrollable === "virtual" ? { skip: 0 } : {} },
2221
- i
2219
+ r
2222
2220
  );
2223
- }, this.filterChange = (e, i) => {
2221
+ }, this.filterChange = (e, r) => {
2224
2222
  this.raiseDataEvent(
2225
2223
  this.props.onFilterChange,
2226
2224
  { filter: e },
2227
2225
  { filter: e || void 0, skip: 0 },
2228
- i
2226
+ r
2229
2227
  );
2230
- }, this.groupChange = (e, i) => {
2231
- const n = i.nativeEvent ? i : { nativeEvent: i.nativeEvent || i.originalEvent };
2228
+ }, this.groupChange = (e, r) => {
2229
+ const n = r.nativeEvent ? r : { nativeEvent: r.nativeEvent || r.originalEvent };
2232
2230
  this.raiseDataEvent(
2233
2231
  this.props.onGroupChange,
2234
2232
  { group: e },
2235
2233
  { group: e, skip: 0 },
2236
2234
  n
2237
2235
  );
2238
- }, this.onResize = (e, i, n, a, h, c) => {
2236
+ }, this.onClipboard = (e, r) => {
2237
+ if (this.props.onClipboard) {
2238
+ if (!this.inActiveElement() || !e)
2239
+ return;
2240
+ this.props.onClipboard.call(
2241
+ void 0,
2242
+ {
2243
+ type: e,
2244
+ nativeEvent: r,
2245
+ columns: this._columns,
2246
+ dataItemKey: this.props.dataItemKey || "",
2247
+ ...typeof this.props.clipboard != "boolean" ? this.props.clipboard : {}
2248
+ }
2249
+ );
2250
+ }
2251
+ }, this.inActiveElement = () => {
2252
+ var c, h, d;
2253
+ if (!ye)
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) => {
2239
2258
  this.resetTableWidth(), this._shouldUpdateLeftRight = !0, this._resized = !0, this._columnsMutations++, this.props.onColumnResize && this.props.onColumnResize.call(
2240
2259
  void 0,
2241
2260
  {
2242
2261
  columns: this.columns,
2243
2262
  nativeEvent: a,
2244
- targetColumnId: c,
2263
+ targetColumnId: h,
2245
2264
  index: e,
2246
- newWidth: i,
2265
+ newWidth: r,
2247
2266
  oldWidth: n,
2248
- end: h,
2267
+ end: c,
2249
2268
  target: this
2250
2269
  }
2251
2270
  );
2252
- }, this.reInitVirtualization = B((e, i, n, a, h, c) => {
2271
+ }, this.reInitVirtualization = B((e, r, n, a, c, h) => {
2253
2272
  this.vs.reset();
2254
2273
  const d = this.getVirtualScroll(this.props);
2255
- this.vs = new d(c);
2256
- }), this.flatData = B((e, i, n, a, h, c, d) => {
2257
- const g = [], m = Ht(
2274
+ this.vs = new d(h);
2275
+ }), this.flatData = B((e, r, n, a, c, h, d) => {
2276
+ const g = [], m = Lt(
2258
2277
  g,
2259
2278
  e,
2260
- i,
2279
+ r,
2261
2280
  { index: n },
2262
2281
  a !== void 0,
2263
- h
2282
+ c
2264
2283
  );
2265
2284
  return { flattedData: g, resolvedGroupsCount: m };
2266
- }), this.rowHeightService = B((e, i, n, a, h) => new bt(i, n, a, h)), this.childrenToArray = B((e) => l.Children.toArray(e)), this.readColumns = B(
2267
- (e, i, n) => {
2268
- const a = e.filter((h) => h && h.type && h.type.displayName === "KendoReactGridColumn");
2269
- return zt(a, this.columns, { prevId: 0, idPrefix: i });
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) => {
2287
+ const a = e.filter((c) => c && c.type && c.type.displayName === "KendoReactGridColumn");
2288
+ return Ot(a, this.columns, { prevId: 0, idPrefix: r });
2270
2289
  }
2271
2290
  ), this.mapColumns = B(
2272
- (e) => Es(e)
2273
- ), this.configureColumns = B((e, i, n) => {
2274
- this.props.selectedField && e.filter((c) => c.field === this.props.selectedField).forEach((c) => {
2275
- c.width = c.width || "50px", c.cell = c.cell || Ks, c.headerCell = c.headerCell || Ir;
2291
+ (e) => ys(e)
2292
+ ), this.configureColumns = B((e, r, n) => {
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;
2276
2295
  });
2277
2296
  const a = {
2278
2297
  id: "",
@@ -2293,35 +2312,35 @@ let ce = class extends l.Component {
2293
2312
  ariaColumnIndex: 0,
2294
2313
  isAccessible: !0
2295
2314
  };
2296
- let h = 0;
2315
+ let c = 0;
2297
2316
  this.props.expandField && this.props.onExpandChange && this.props.detail && (e.unshift({
2298
2317
  ...a,
2299
- cell: sr,
2318
+ cell: lr,
2300
2319
  field: this.props.expandField,
2301
2320
  headerClassName: "k-hierarchy-cell k-header",
2302
2321
  id: z.generateNavigatableId(`${this._columns.length}`, n, "column")
2303
- }), h++);
2304
- for (let c = 0; c < i; c++)
2322
+ }), c++);
2323
+ for (let h = 0; h < r; h++)
2305
2324
  e.unshift({
2306
2325
  ...a,
2307
2326
  isAccessible: !1,
2308
- cell: kt,
2327
+ cell: Et,
2309
2328
  field: "value",
2310
2329
  locked: this.props.lockGroups
2311
- }), h++;
2312
- e.slice(h).forEach((c) => c.parentIndex >= 0 && (c.parentIndex += h));
2313
- }), this.getHeaderRow = B((e, i, n, a, h, c, d, g, m, u, b, E) => /* @__PURE__ */ l.createElement(
2314
- Ut,
2330
+ }), c++;
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,
2315
2334
  {
2316
2335
  cells: this.props.cells,
2317
2336
  sort: e,
2318
- sortable: i,
2337
+ sortable: r,
2319
2338
  sortChange: this.sortChange,
2320
2339
  group: n || [],
2321
2340
  groupable: a,
2322
2341
  groupChange: this.groupChange,
2323
- filter: h,
2324
- filterable: c,
2342
+ filter: c,
2343
+ filterable: h,
2325
2344
  filterOperators: d,
2326
2345
  filterChange: this.filterChange,
2327
2346
  columnMenu: m,
@@ -2339,15 +2358,15 @@ let ce = class extends l.Component {
2339
2358
  containerRef: this.containerRef
2340
2359
  }
2341
2360
  )), this.resolveTitle = (e) => {
2342
- const i = this._columns.find((a) => a.field === e), n = i && (i.title || i.field);
2361
+ const r = this._columns.find((a) => a.field === e), n = r && (r.title || r.field);
2343
2362
  return n === void 0 ? e : n;
2344
- }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), gs(vt), this.showLicenseWatermark = fs(vt);
2363
+ }, this.getLeafDataItems = () => this._data.filter((e) => e.rowType === "data").map((e) => e.dataItem), Cs(It), this.showLicenseWatermark = bs(It);
2345
2364
  const s = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1, o = this.getVirtualScroll(t);
2346
- this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new xr(
2365
+ this.vs = new o(s || t.rowHeight === void 0 || t.rowHeight === 0), this.dragLogic = new Ir(
2347
2366
  this.columnReorder.bind(this),
2348
2367
  this.groupReorder.bind(this),
2349
2368
  this.columnToGroup.bind(this)
2350
- ), this.columnResize = new br(this.onResize), X.onConstructor({
2369
+ ), this.columnResize = new Er(this.onResize), this.props.clipboard && (this.clipboardService = new ws(this.onClipboard)), X.onConstructor({
2351
2370
  navigatable: !!t.navigatable,
2352
2371
  contextStateRef: this.contextStateRef,
2353
2372
  navigationStateRef: this.navigationStateRef,
@@ -2396,7 +2415,7 @@ let ce = class extends l.Component {
2396
2415
  // tslint:enable:max-line-length
2397
2416
  get columns() {
2398
2417
  const t = this._columns.filter((s) => s.declarationIndex >= 0 && s.parentIndex === -1);
2399
- return Lt(t);
2418
+ return _t(t);
2400
2419
  }
2401
2420
  /**
2402
2421
  * Returns the HTML element of the Grid component.
@@ -2405,7 +2424,7 @@ let ce = class extends l.Component {
2405
2424
  return this._element;
2406
2425
  }
2407
2426
  get document() {
2408
- if (it)
2427
+ if (ye)
2409
2428
  return this.element && this.element.ownerDocument || document;
2410
2429
  }
2411
2430
  get _header() {
@@ -2418,8 +2437,8 @@ let ce = class extends l.Component {
2418
2437
  * @hidden
2419
2438
  */
2420
2439
  componentDidMount() {
2421
- this.resetTableWidth(), ot();
2422
- const t = Rt(this.element);
2440
+ this.resetTableWidth(), nt();
2441
+ const t = Nt(this.element);
2423
2442
  this.isRtl = t, X.onComponentDidMount({
2424
2443
  scope: this.element || void 0,
2425
2444
  contextStateRef: this.contextStateRef,
@@ -2429,7 +2448,7 @@ let ce = class extends l.Component {
2429
2448
  rootMargin: "0px",
2430
2449
  threshold: 0.9
2431
2450
  };
2432
- this.observer = it && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2451
+ this.clipboardService && this.clipboardService.addEventListeners(this.document), this.observer = ye && window.IntersectionObserver && new window.IntersectionObserver(this.handleIntersection, s) || null;
2433
2452
  }
2434
2453
  /**
2435
2454
  * @hidden
@@ -2445,7 +2464,7 @@ let ce = class extends l.Component {
2445
2464
  * @hidden
2446
2465
  */
2447
2466
  componentDidUpdate() {
2448
- this.resetTableWidth(), ot(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2467
+ this.resetTableWidth(), nt(), this.vs.tableTransform && this.vs.table && (this.vs.table.style.transform = this.vs.tableTransform, this.vs.tableTransform = ""), X.onComponentDidUpdate({
2449
2468
  scope: this.element || void 0,
2450
2469
  contextStateRef: this.contextStateRef,
2451
2470
  navigationStateRef: this.navigationStateRef
@@ -2455,18 +2474,18 @@ let ce = class extends l.Component {
2455
2474
  * @hidden
2456
2475
  */
2457
2476
  componentWillUnmount() {
2458
- clearTimeout(this.forceUpdateTimeout);
2477
+ clearTimeout(this.forceUpdateTimeout), this.clipboardService && this.clipboardService.removeEventListeners(this.document);
2459
2478
  }
2460
2479
  /**
2461
2480
  * @hidden
2462
2481
  */
2463
2482
  render() {
2464
- var st;
2483
+ var ot;
2465
2484
  let t = this.props.total || 0;
2466
2485
  const s = z.getIdPrefix(this.navigationStateRef);
2467
2486
  let o = [];
2468
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);
2469
- const e = typeof this.props.groupable == "object" && this.props.groupable.footer || "none", { resolvedGroupsCount: i, flattedData: n } = this.flatData(
2488
+ const e = typeof this.props.groupable == "object" && this.props.groupable.footer || "none", { resolvedGroupsCount: r, flattedData: n } = this.flatData(
2470
2489
  o,
2471
2490
  e,
2472
2491
  this.props.skip || 0,
@@ -2478,12 +2497,12 @@ let ce = class extends l.Component {
2478
2497
  this._data = n;
2479
2498
  const a = this.props.groupable === !0 || typeof this.props.groupable == "object" && this.props.groupable.enabled !== !1;
2480
2499
  this.columnResize.resizable = this.props.resizable || !1, this.dragLogic.reorderable = this.props.reorderable || !1, this.dragLogic.groupable = a;
2481
- const h = this.props.selectable && this.props.selectable.drag ? "none" : void 0;
2500
+ const c = this.props.selectable && this.props.selectable.drag ? "none" : void 0;
2482
2501
  this.initializeVirtualization(t, a);
2483
- const c = this.childrenToArray(this.props.children);
2484
- this.initColumns(c, i);
2485
- const d = c.map((f) => f && f.type && f.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(f, { ...f.props, ariaControls: this._gridId }) : null), g = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridNoRecords"), m = c.filter((f) => f && f.type && f.type.displayName === "KendoReactGridStatusBar"), u = this._columns.filter((f) => f.children.length === 0), b = a && /* @__PURE__ */ l.createElement(
2486
- es,
2502
+ const h = this.childrenToArray(this.props.children);
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,
2487
2506
  {
2488
2507
  group: this.props.group || [],
2489
2508
  groupChange: this.groupChange,
@@ -2495,8 +2514,8 @@ let ce = class extends l.Component {
2495
2514
  ariaControls: this._gridId,
2496
2515
  onContextMenu: this.onContextMenu
2497
2516
  }
2498
- ), { sort: E, sortable: C, group: x, filter: I, filterable: k, filterOperators: _ = Ct, headerCellRender: D, columnMenu: de } = this.props, Y = /* @__PURE__ */ l.createElement(
2499
- or,
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,
2500
2519
  {
2501
2520
  size: this.props.size,
2502
2521
  columnResize: this.columnResize,
@@ -2511,22 +2530,22 @@ let ce = class extends l.Component {
2511
2530
  x,
2512
2531
  a,
2513
2532
  I,
2514
- k,
2533
+ v,
2515
2534
  _,
2516
2535
  D,
2517
- de,
2536
+ he,
2518
2537
  this._columns,
2519
2538
  this._columnsMap,
2520
2539
  this.isRtl
2521
2540
  ),
2522
2541
  filterRow: this.props.filterable && /* @__PURE__ */ l.createElement(
2523
- Qt,
2542
+ es,
2524
2543
  {
2525
2544
  cells: this.props.cells,
2526
2545
  size: this.props.size,
2527
2546
  columns: this._columns,
2528
2547
  filter: this.props.filter,
2529
- filterOperators: this.props.filterOperators || Ct,
2548
+ filterOperators: this.props.filterOperators || xt,
2530
2549
  filterChange: this.filterChange,
2531
2550
  sort: this.props.sort,
2532
2551
  cellRender: this.props.filterCellRender,
@@ -2538,42 +2557,42 @@ let ce = class extends l.Component {
2538
2557
  "col",
2539
2558
  {
2540
2559
  key: w.toString(),
2541
- width: Se(f)
2560
+ width: we(f)
2542
2561
  }
2543
2562
  ))
2544
2563
  }
2545
- ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ke, hiddenColumns: pe } = Is({
2564
+ ), $ = this.vs && this.vs.container && this.vs.container.scrollLeft || 0, F = parseFloat(((this.props.style || {}).width || "").toString()), { colSpans: ve, hiddenColumns: de } = Rs({
2546
2565
  enabled: this.props.columnVirtualization,
2547
2566
  columns: u,
2548
2567
  tableViewPortWidth: F,
2549
2568
  scrollLeft: $
2550
- }), ve = (f, w, R) => {
2569
+ }), ke = (f, w, R) => {
2551
2570
  let j = !1;
2552
- const V = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2571
+ const K = this.props.selectedField ? T(this.props.selectedField, f.dataItem) : void 0;
2553
2572
  return {
2554
2573
  row: u.map((S, N) => {
2555
- if (pe[N])
2574
+ if (de[N])
2556
2575
  return null;
2557
- const ee = S.id ? S.id : N, te = `${S.className ? S.className + " " : ""}${S.locked ? "k-grid-content-sticky" : ""}`, P = S.left !== void 0 ? this.isRtl ? { left: S.right, right: S.left } : { left: S.left, right: S.right } : {};
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 } : {};
2558
2577
  let A = !1;
2559
2578
  if (S.editable && this.props.editField) {
2560
2579
  const H = T(this.props.editField, f.dataItem);
2561
2580
  H && (H === !0 || H === S.field) && (j = !0, A = !0);
2562
2581
  }
2563
- let Ie = S.cell || A && ir || kr;
2582
+ const Se = S.cell || A && ar || Sr;
2564
2583
  return /* @__PURE__ */ l.createElement(
2565
- Ie,
2584
+ Se,
2566
2585
  {
2567
2586
  onContextMenu: this.onContextMenu,
2568
- key: ee,
2587
+ key: Z,
2569
2588
  locked: this.props.lockGroups,
2570
2589
  id: z.generateNavigatableId(`${w}-${String(N)}`, s),
2571
- colSpan: ke[N],
2590
+ colSpan: ve[N],
2572
2591
  dataItem: f.dataItem,
2573
2592
  field: S.field,
2574
2593
  editor: S.editor,
2575
2594
  format: S.format,
2576
- className: te,
2595
+ className: ee,
2577
2596
  render: this.props.cellRender,
2578
2597
  cells: be(this.props.cells, S.cells),
2579
2598
  onChange: this.itemChange,
@@ -2588,12 +2607,12 @@ let ce = class extends l.Component {
2588
2607
  dataIndex: f.dataIndex,
2589
2608
  style: P,
2590
2609
  ariaColumnIndex: S.ariaColumnIndex,
2591
- isSelected: Array.isArray(V) && V.indexOf(N) > -1
2610
+ isSelected: Array.isArray(K) && K.indexOf(N) > -1
2592
2611
  }
2593
2612
  );
2594
2613
  }),
2595
2614
  isInEdit: j,
2596
- isSelected: typeof V == "boolean" && V
2615
+ isSelected: typeof K == "boolean" && K
2597
2616
  };
2598
2617
  };
2599
2618
  let J = 0;
@@ -2605,30 +2624,32 @@ let ce = class extends l.Component {
2605
2624
  else
2606
2625
  break;
2607
2626
  }
2608
- const je = (f) => f >= this._data.length - J;
2609
- let Xe = this.vs.realSkip || 0;
2610
- const Q = [], Ee = this._columnsMap.length + (this.props.filterable ? 1 : 0) + 1;
2611
- let Z = 0;
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)));
2632
+ let Q = 0;
2612
2633
  if (this._data.length) {
2613
2634
  let f = -1, w = 0;
2614
2635
  (this._slicedData || this._data).forEach((R, j) => {
2615
- R.rowType === "data" && (Xe++, f++);
2616
- const V = Xe % 2 === 0, S = this.props.dataItemKey && ye(this.props.dataItemKey)(R.dataItem), N = j + (this.vs.realSkip || 0), ee = S || "ai" + N, te = ee + "_1", P = ve(R, ee, f);
2617
- if (Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2618
- vr,
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,
2619
2640
  {
2620
- key: ee,
2641
+ key: Z,
2621
2642
  dataItem: R.dataItem,
2622
- isAltRow: V,
2643
+ isAltRow: K,
2623
2644
  isInEdit: P.isInEdit,
2624
2645
  rowType: R.rowType,
2625
- isHidden: je(j),
2646
+ isHidden: Ye(j),
2626
2647
  onClick: (A) => this.rowClick(A, R),
2627
2648
  onDoubleClick: (A) => this.rowDblClick(A, R),
2628
2649
  selectedField: this.props.selectedField,
2629
2650
  rowHeight: this.props.rowHeight,
2630
2651
  render: this.props.rowRender,
2631
- ariaRowIndex: Z,
2652
+ ariaRowIndex: Q,
2632
2653
  absoluteRowIndex: N,
2633
2654
  dataIndex: f,
2634
2655
  isSelected: P.isSelected
@@ -2636,30 +2657,30 @@ let ce = class extends l.Component {
2636
2657
  P.row
2637
2658
  )), this.props.detail && R.rowType === "data" && R.expanded) {
2638
2659
  const A = u.length - (this.props.expandField ? 1 : 0) - (this.props.group ? this.props.group.length : 0) || 1;
2639
- w++, Z = N + Ee + w, Q.push(/* @__PURE__ */ l.createElement(
2660
+ w++, Q = N + Ie + w, pe.push(/* @__PURE__ */ l.createElement(
2640
2661
  "tr",
2641
2662
  {
2642
- key: te,
2663
+ key: ee,
2643
2664
  className: y(
2644
2665
  "k-table-row",
2645
- V ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2666
+ K ? "k-detail-row k-table-alt-row k-alt" : "k-detail-row"
2646
2667
  ),
2647
- style: { visibility: je(j) ? "hidden" : "", height: this.props.detailRowHeight },
2668
+ style: { visibility: Ye(j) ? "hidden" : "", height: this.props.detailRowHeight },
2648
2669
  role: "row",
2649
- "aria-rowindex": Z
2670
+ "aria-rowindex": Q
2650
2671
  },
2651
- this.props.group && this.props.group.map((Ie, H) => {
2652
- var rt;
2653
- const se = (rt = P == null ? void 0 : P.row[H]) == null ? void 0 : rt.props.style, ps = se ? this.isRtl ? { left: se.right, right: se.left } : { left: se.left, right: se.right } : {};
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 } : {};
2654
2675
  return /* @__PURE__ */ l.createElement(
2655
- kt,
2676
+ Et,
2656
2677
  {
2657
2678
  id: "",
2658
2679
  dataIndex: R.dataIndex,
2659
- field: Ie.field,
2680
+ field: Se.field,
2660
2681
  dataItem: R.dataItem,
2661
2682
  key: H,
2662
- style: ps,
2683
+ style: gs,
2663
2684
  ariaColumnIndex: 1 + H,
2664
2685
  isSelected: !1,
2665
2686
  locked: this.props.lockGroups,
@@ -2669,13 +2690,13 @@ let ce = class extends l.Component {
2669
2690
  );
2670
2691
  }),
2671
2692
  this.props.expandField && /* @__PURE__ */ l.createElement(
2672
- Fr,
2693
+ Gr,
2673
2694
  {
2674
- id: z.generateNavigatableId(`${te}-dhcell`, s)
2695
+ id: z.generateNavigatableId(`${ee}-dhcell`, s)
2675
2696
  }
2676
2697
  ),
2677
2698
  /* @__PURE__ */ l.createElement(
2678
- Rr,
2699
+ Tr,
2679
2700
  {
2680
2701
  onContextMenu: this.onContextMenu,
2681
2702
  dataItem: R.dataItem,
@@ -2683,53 +2704,53 @@ let ce = class extends l.Component {
2683
2704
  colSpan: A,
2684
2705
  ariaColIndex: 2 + (this.props.group ? this.props.group.length : 0),
2685
2706
  detail: this.props.detail,
2686
- id: z.generateNavigatableId(`${te}-dcell`, s)
2707
+ id: z.generateNavigatableId(`${ee}-dcell`, s)
2687
2708
  }
2688
2709
  )
2689
2710
  ));
2690
2711
  }
2691
2712
  });
2692
2713
  } else
2693
- Q.push(/* @__PURE__ */ l.createElement("tr", { key: "no-records", className: "k-table-row k-grid-norecords", role: "row", "aria-rowindex": Ee }, /* @__PURE__ */ l.createElement("td", { className: "k-table-td", colSpan: u.length, role: "gridcell" }, g.length ? g : /* @__PURE__ */ l.createElement(qe, null))));
2694
- const Ye = {
2714
+ Ee = !0;
2715
+ const Ze = {
2695
2716
  size: this.props.size,
2696
2717
  onPageChange: this.pagerPageChange,
2697
2718
  total: t,
2698
2719
  dir: this.isRtl ? "rtl" : void 0,
2699
2720
  skip: this.vs.propsSkip || 0,
2700
2721
  take: (this.props.take !== void 0 ? this.props.take : this.props.pageSize) || 10,
2701
- messagesMap: tr,
2702
- ...wr(this.props.pageable || {})
2703
- }, Je = this.props.pager ? /* @__PURE__ */ l.createElement(this.props.pager, { ...Ye }) : /* @__PURE__ */ l.createElement(Ss, { className: "k-grid-pager", ...Ye }), cs = (f) => this.props.sort && this.props.sort.filter((w) => w.field === f).length > 0, ds = (f, w) => /* @__PURE__ */ l.createElement(
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(
2704
2725
  "col",
2705
2726
  {
2706
2727
  key: w.toString(),
2707
- width: Se(f)
2728
+ width: we(f)
2708
2729
  }
2709
- ), Qe = (st = this.props.cells) != null && st.footerCell || this._columns.some(
2730
+ ), tt = (ot = this.props.cells) != null && ot.footerCell || this._columns.some(
2710
2731
  (f) => {
2711
2732
  var w;
2712
2733
  return !!(f.footerCell || (w = f.cells) != null && w.footerCell);
2713
2734
  }
2714
2735
  ) ? /* @__PURE__ */ l.createElement(
2715
- gr,
2736
+ br,
2716
2737
  {
2717
2738
  size: this.props.size,
2718
2739
  columnResize: this.columnResize,
2719
2740
  staticHeaders: this.props.scrollable !== "none",
2720
2741
  ref: (f) => this._footer = f,
2721
2742
  row: /* @__PURE__ */ l.createElement(
2722
- Sr,
2743
+ Fr,
2723
2744
  {
2724
2745
  cells: this.props.cells,
2725
2746
  columns: this._columns,
2726
2747
  isRtl: this.isRtl,
2727
- ariaRowIndex: Z + 1
2748
+ ariaRowIndex: Q + 1
2728
2749
  }
2729
2750
  ),
2730
- cols: u.map(ds)
2751
+ cols: u.map(us)
2731
2752
  }
2732
- ) : null, Ze = /* @__PURE__ */ l.createElement(
2753
+ ) : null, st = /* @__PURE__ */ l.createElement(
2733
2754
  "colgroup",
2734
2755
  {
2735
2756
  ref: (f) => {
@@ -2741,14 +2762,14 @@ let ce = class extends l.Component {
2741
2762
  "col",
2742
2763
  {
2743
2764
  key: w.toString(),
2744
- className: cs(f.field) ? "k-sorted" : void 0,
2745
- width: Se(f)
2765
+ className: ps(f.field) ? "k-sorted" : void 0,
2766
+ width: we(f)
2746
2767
  }
2747
2768
  )
2748
2769
  )
2749
- ), et = this.dragLogic.reorderable || this.dragLogic.groupable, tt = this.props.columnVirtualization ? "block" : "table";
2770
+ ), rt = this.dragLogic.reorderable || this.dragLogic.groupable, it = this.props.columnVirtualization ? "block" : "table";
2750
2771
  if (this.props.scrollable === "none")
2751
- return /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2772
+ return /* @__PURE__ */ l.createElement(Fe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
2752
2773
  "div",
2753
2774
  {
2754
2775
  id: this.props.id,
@@ -2757,7 +2778,7 @@ let ce = class extends l.Component {
2757
2778
  "k-grid",
2758
2779
  {
2759
2780
  "k-grid-md": !this.props.size,
2760
- [`k-grid-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2781
+ [`k-grid-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2761
2782
  },
2762
2783
  this.props.className
2763
2784
  ),
@@ -2767,12 +2788,12 @@ let ce = class extends l.Component {
2767
2788
  "aria-label": this.props.ariaLabel,
2768
2789
  onKeyDown: this.onKeyDown,
2769
2790
  onFocus: this.onFocus,
2770
- ...ht
2791
+ ...dt
2771
2792
  },
2772
2793
  d,
2773
2794
  b,
2774
2795
  /* @__PURE__ */ l.createElement(
2775
- ct,
2796
+ pt,
2776
2797
  {
2777
2798
  selectable: this.props.selectable,
2778
2799
  onRelease: this.selectionRelease,
@@ -2785,20 +2806,21 @@ let ce = class extends l.Component {
2785
2806
  {
2786
2807
  className: y(
2787
2808
  "k-table k-grid-table",
2788
- { [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2809
+ { [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size }
2789
2810
  ),
2790
- style: { userSelect: h, display: tt }
2811
+ style: { userSelect: c, display: it }
2791
2812
  },
2792
- Ze,
2813
+ st,
2793
2814
  Y,
2794
- /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...dt }, Q),
2795
- Qe
2815
+ /* @__PURE__ */ l.createElement("tbody", { role: "rowgroup", className: "k-table-tbody", ...ut }, pe),
2816
+ tt
2796
2817
  )
2797
2818
  ),
2798
- et && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue }))
2799
- ), m, this.props.pageable && Je);
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);
2800
2822
  let ue = this.props.style || {};
2801
- return this.props.scrollable === "virtual" && (ue.height || (ue = Object.assign({}, ue, { height: "450px" }))), /* @__PURE__ */ l.createElement(we.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
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(
2802
2824
  "div",
2803
2825
  {
2804
2826
  id: this.props.id,
@@ -2807,7 +2829,7 @@ let ce = class extends l.Component {
2807
2829
  "k-grid",
2808
2830
  {
2809
2831
  "k-grid-md": !this.props.size,
2810
- [`k-grid-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size,
2832
+ [`k-grid-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size,
2811
2833
  "k-grid-virtual": this.props.scrollable === "virtual"
2812
2834
  },
2813
2835
  this.props.className
@@ -2818,7 +2840,7 @@ let ce = class extends l.Component {
2818
2840
  "aria-label": this.props.ariaLabel,
2819
2841
  onKeyDown: this.onKeyDown,
2820
2842
  onFocus: this.onFocus,
2821
- ...ht
2843
+ ...dt
2822
2844
  },
2823
2845
  d,
2824
2846
  b,
@@ -2841,7 +2863,7 @@ let ce = class extends l.Component {
2841
2863
  role: "presentation"
2842
2864
  },
2843
2865
  /* @__PURE__ */ l.createElement("div", { className: "k-grid-table-wrap", role: "presentation" }, /* @__PURE__ */ l.createElement(
2844
- ct,
2866
+ pt,
2845
2867
  {
2846
2868
  selectable: this.props.selectable,
2847
2869
  onRelease: this.selectionRelease,
@@ -2856,25 +2878,25 @@ let ce = class extends l.Component {
2856
2878
  "k-table k-grid-table",
2857
2879
  {
2858
2880
  "k-table-md": !this.props.size,
2859
- [`k-table-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2881
+ [`k-table-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
2860
2882
  }
2861
2883
  ),
2862
2884
  role: "presentation",
2863
- style: { userSelect: h, display: tt }
2885
+ style: { userSelect: c, display: it }
2864
2886
  },
2865
- Ze,
2887
+ st,
2866
2888
  /* @__PURE__ */ l.createElement(
2867
2889
  "tbody",
2868
2890
  {
2869
2891
  className: "k-table-tbody",
2870
2892
  ref: this.tableBodyRef,
2871
2893
  role: "rowgroup",
2872
- ...dt
2894
+ ...ut
2873
2895
  },
2874
- Q
2896
+ pe
2875
2897
  )
2876
2898
  )
2877
- )),
2899
+ ), Ee && Qe),
2878
2900
  /* @__PURE__ */ l.createElement("div", { className: "k-height-container", role: "presentation" }, /* @__PURE__ */ l.createElement(
2879
2901
  "div",
2880
2902
  {
@@ -2882,21 +2904,21 @@ let ce = class extends l.Component {
2882
2904
  }
2883
2905
  ))
2884
2906
  )),
2885
- Qe,
2886
- et && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(pt, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(ut, { ref: this.dragLogic.refDragElementClue })),
2887
- this.showLicenseWatermark && /* @__PURE__ */ l.createElement(ms, null)
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)
2888
2910
  ),
2889
2911
  m,
2890
- this.props.pageable && Je
2912
+ this.props.pageable && et
2891
2913
  ));
2892
2914
  }
2893
2915
  selectionChange(t) {
2894
2916
  if (this.props.onSelectionChange) {
2895
- const { event: s, dataItem: o, dataIndex: e, columnIndex: i } = t, { mode: n, cell: a } = at(this.props.selectable), h = {
2917
+ const { event: s, dataItem: o, dataIndex: e, columnIndex: r } = t, { mode: n, cell: a } = ht(this.props.selectable), c = {
2896
2918
  ...this.getArguments(s.syntheticEvent),
2897
2919
  dataItem: o,
2898
- startColIndex: i,
2899
- endColIndex: i,
2920
+ startColIndex: r,
2921
+ endColIndex: r,
2900
2922
  startRowIndex: e,
2901
2923
  endRowIndex: e,
2902
2924
  dataItems: this.getLeafDataItems(),
@@ -2910,20 +2932,20 @@ let ce = class extends l.Component {
2910
2932
  componentId: this._gridId,
2911
2933
  selectedField: this.props.selectedField || ""
2912
2934
  };
2913
- this.props.onSelectionChange.call(void 0, h);
2935
+ this.props.onSelectionChange.call(void 0, c);
2914
2936
  }
2915
2937
  }
2916
- raiseDataEvent(t, s, o, e, i) {
2938
+ raiseDataEvent(t, s, o, e, r) {
2917
2939
  const n = this.props.onDataStateChange;
2918
2940
  if (t) {
2919
- const a = { ...this.getArguments(e), ...s, targetEvent: i };
2941
+ const a = { ...this.getArguments(e), ...s, targetEvent: r };
2920
2942
  t.call(void 0, a);
2921
2943
  } else
2922
2944
  n && n.call(
2923
2945
  void 0,
2924
2946
  {
2925
2947
  ...this.getArguments(e),
2926
- targetEvent: i || {},
2948
+ targetEvent: r || {},
2927
2949
  dataState: {
2928
2950
  ...this.getDataState(),
2929
2951
  ...o
@@ -2932,20 +2954,20 @@ let ce = class extends l.Component {
2932
2954
  );
2933
2955
  }
2934
2956
  columnReorder(t, s, o) {
2935
- const e = this._columns[t], i = e.depth, n = (d) => {
2957
+ const e = this._columns[t], r = e.depth, n = (d) => {
2936
2958
  do
2937
2959
  d++;
2938
- while (d < this._columns.length && this._columns[d].depth > i);
2960
+ while (d < this._columns.length && this._columns[d].depth > r);
2939
2961
  return d;
2940
2962
  }, a = this._columns.splice(t, n(t) - t);
2941
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++;
2942
- const h = this._columns[t].locked && this._columns[s].locked;
2943
- ys(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), ws(this._columnsMap, this._columns, h || this._shouldUpdateLeftRight), this._resized && (this._shouldUpdateLeftRight = !1, this._resized = !1);
2944
- const c = this.columns;
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);
2966
+ const h = this.columns;
2945
2967
  if (this.forceUpdate(), this.props.onColumnReorder) {
2946
2968
  const d = {
2947
2969
  target: this,
2948
- columns: c,
2970
+ columns: h,
2949
2971
  columnId: e.id,
2950
2972
  nativeEvent: o
2951
2973
  };
@@ -2962,8 +2984,8 @@ let ce = class extends l.Component {
2962
2984
  const e = this._columns[t].field;
2963
2985
  if (!e)
2964
2986
  return;
2965
- const i = (this.props.group || []).slice();
2966
- i.splice(s, 0, { field: e }), this.groupChange(i, o);
2987
+ const r = (this.props.group || []).slice();
2988
+ r.splice(s, 0, { field: e }), this.groupChange(r, o);
2967
2989
  }
2968
2990
  resetTableWidth() {
2969
2991
  let t = 0;
@@ -2980,7 +3002,7 @@ let ce = class extends l.Component {
2980
3002
  }
2981
3003
  initColumns(t, s) {
2982
3004
  const o = z.getIdPrefix(this.navigationStateRef);
2983
- this._columns = this.readColumns(t, o, this._columnsMutations), this._columns.length === 0 && (this._columns = Bs(this.props.data, this.props.group, this.props.expandField, { prevId: 0, idPrefix: o })), this.configureColumns(this._columns, s, o), this._columnsMap = this.mapColumns(this._columns), this.columnResize.columns = this._columns, this.dragLogic.columns = this._columns;
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;
2984
3006
  }
2985
3007
  getDataState() {
2986
3008
  return {
@@ -3080,7 +3102,7 @@ ce.propTypes = {
3080
3102
  navigatable: p.bool,
3081
3103
  size: p.oneOf(["small", "medium"])
3082
3104
  };
3083
- ce.contextType = we;
3105
+ ce.contextType = Fe;
3084
3106
  class xe extends l.Component {
3085
3107
  /**
3086
3108
  * @hidden
@@ -3098,23 +3120,23 @@ class xe extends l.Component {
3098
3120
  );
3099
3121
  }
3100
3122
  }
3101
- class ae extends l.Component {
3123
+ class ne extends l.Component {
3102
3124
  /**
3103
3125
  * @hidden
3104
3126
  */
3105
3127
  render() {
3106
3128
  const { title: t, iconClass: s, svgIcon: o, selected: e } = this.props;
3107
- return /* @__PURE__ */ l.createElement("div", { onClick: this.props.onClick, className: `k-columnmenu-item ${e ? "k-selected" : ""}` }, (s || o) && /* @__PURE__ */ l.createElement(O, { name: s && Cs(s), icon: o }), t);
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);
3108
3130
  }
3109
3131
  }
3110
- class ts extends l.Component {
3132
+ class rs extends l.Component {
3111
3133
  constructor() {
3112
3134
  super(...arguments), this.onGroupClick = (t) => {
3113
3135
  if (t.preventDefault(), this.props.onGroupChange) {
3114
3136
  const { column: s } = this.props;
3115
3137
  if (!s.field)
3116
3138
  return;
3117
- const o = (this.props.group || []).slice(), e = o.findIndex((i) => i.field === s.field);
3139
+ const o = (this.props.group || []).slice(), e = o.findIndex((r) => r.field === s.field);
3118
3140
  e > -1 ? o.splice(e, 1) : o.push({
3119
3141
  field: s.field
3120
3142
  }), this.props.onGroupChange(o, t);
@@ -3126,21 +3148,21 @@ class ts extends l.Component {
3126
3148
  * @hidden
3127
3149
  */
3128
3150
  render() {
3129
- const { group: t, column: s } = this.props, o = G(this), e = !!(t && s.field && t.find((n) => n.field === s.field)), i = e ? _t : Ot;
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;
3130
3152
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3131
- ae,
3153
+ ne,
3132
3154
  {
3133
- title: o.toLanguageString(i, v[i]),
3155
+ title: o.toLanguageString(r, k[r]),
3134
3156
  iconClass: e ? "k-i-ungroup" : "k-i-group",
3135
- svgIcon: e ? Ls : zs,
3157
+ svgIcon: e ? As : Ps,
3136
3158
  onClick: this.onGroupClick
3137
3159
  }
3138
3160
  ));
3139
3161
  }
3140
3162
  }
3141
- Dt(ts);
3142
- M(ts);
3143
- const ss = "asc", rs = "desc", Nr = {
3163
+ Gt(rs);
3164
+ M(rs);
3165
+ const is = "asc", os = "desc", Mr = {
3144
3166
  true: {
3145
3167
  asc: { asc: "", desc: "desc" },
3146
3168
  desc: { asc: "asc", desc: "" },
@@ -3151,53 +3173,53 @@ const ss = "asc", rs = "desc", Nr = {
3151
3173
  desc: { asc: "asc", desc: "desc" },
3152
3174
  "": { asc: "asc", desc: "desc" }
3153
3175
  }
3154
- }, is = (r, t) => t ? t.findIndex((s) => s.field === r) : -1, os = (r, t) => !!(t && r > -1 && t[r].dir === ss), ls = (r, t) => !!(t && r > -1 && t[r].dir === rs);
3155
- class $e extends l.Component {
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 {
3156
3178
  constructor() {
3157
3179
  super(...arguments), this.onAscClick = (t) => {
3158
- this.onSort(t, ss), this.props.onCloseMenu && this.props.onCloseMenu();
3180
+ this.onSort(t, is), this.props.onCloseMenu && this.props.onCloseMenu();
3159
3181
  }, this.onDescClick = (t) => {
3160
- this.onSort(t, rs), this.props.onCloseMenu && this.props.onCloseMenu();
3182
+ this.onSort(t, os), this.props.onCloseMenu && this.props.onCloseMenu();
3161
3183
  }, this.onSort = (t, s) => {
3162
3184
  if (t.preventDefault(), !this.props.onSortChange)
3163
3185
  return;
3164
- const { column: o, sortable: e, sort: i } = this.props, { allowUnsort: n, mode: a } = Vt(e || !1, !1), h = (i || []).filter((g) => g.field === o.field)[0], c = Nr[n][h && h.dir || ""][s], d = a === "single" ? [] : (this.props.sort || []).filter((g) => g.field !== o.field);
3165
- c !== "" && o.field && d.push({ field: o.field, dir: c }), this.props.onSortChange(d, t);
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);
3187
+ h !== "" && o.field && d.push({ field: o.field, dir: h }), this.props.onSortChange(d, t);
3166
3188
  };
3167
3189
  }
3168
3190
  /**
3169
3191
  * @hidden
3170
3192
  */
3171
3193
  render() {
3172
- const { sort: t, column: s } = this.props, o = is(s.field, t), e = G(this);
3194
+ const { sort: t, column: s } = this.props, o = ls(s.field, t), e = G(this);
3173
3195
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3174
- ae,
3196
+ ne,
3175
3197
  {
3176
- title: e.toLanguageString(Te, v[Te]),
3198
+ title: e.toLanguageString(Me, k[Me]),
3177
3199
  iconClass: "k-i-sort-asc-sm",
3178
- svgIcon: We,
3179
- selected: os(o, t),
3200
+ svgIcon: Ve,
3201
+ selected: ns(o, t),
3180
3202
  onClick: this.onAscClick
3181
3203
  }
3182
3204
  ), /* @__PURE__ */ l.createElement(
3183
- ae,
3205
+ ne,
3184
3206
  {
3185
- title: e.toLanguageString(Ge, v[Ge]),
3207
+ title: e.toLanguageString(He, k[He]),
3186
3208
  iconClass: "k-i-sort-desc-sm",
3187
- svgIcon: Ve,
3188
- selected: ls(o, t),
3209
+ svgIcon: Ue,
3210
+ selected: as(o, t),
3189
3211
  onClick: this.onDescClick
3190
3212
  }
3191
3213
  ));
3192
3214
  }
3193
3215
  }
3194
- $e.active = (r, t) => {
3195
- const s = is(r, t);
3196
- return ls(s, t) || os(s, t);
3216
+ Xe.active = (i, t) => {
3217
+ const s = ls(i, t);
3218
+ return as(s, t) || ns(s, t);
3197
3219
  };
3198
- Dt($e);
3199
- M($e);
3200
- class ns extends l.Component {
3220
+ Gt(Xe);
3221
+ M(Xe);
3222
+ class cs extends l.Component {
3201
3223
  /**
3202
3224
  * @hidden
3203
3225
  */
@@ -3209,18 +3231,18 @@ class ns extends l.Component {
3209
3231
  className: y("k-columnmenu-item-content", this.props.className),
3210
3232
  style: this.props.style
3211
3233
  },
3212
- /* @__PURE__ */ l.createElement(As, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3234
+ /* @__PURE__ */ l.createElement(Vs, { style: { position: "relative", display: "block" } }, this.props.show ? this.props.children : null)
3213
3235
  );
3214
3236
  }
3215
3237
  }
3216
- class Et extends l.Component {
3238
+ class St extends l.Component {
3217
3239
  constructor(t) {
3218
3240
  super(t), this.renderOperatorEditor = () => {
3219
3241
  if (this.props.filterType === "boolean")
3220
3242
  return;
3221
3243
  const s = this.props.operators.find((o) => o.operator === this.props.operator) || null;
3222
3244
  return /* @__PURE__ */ l.createElement(
3223
- oe,
3245
+ ie,
3224
3246
  {
3225
3247
  value: s,
3226
3248
  onChange: this.operatorChange,
@@ -3237,19 +3259,19 @@ class Et extends l.Component {
3237
3259
  return /* @__PURE__ */ l.createElement(l.Fragment, null, this.renderOperatorEditor(), this.filterComponent(this.props.filterType, this.props.value, this.props.booleanValues));
3238
3260
  }
3239
3261
  inputChange(t, s) {
3240
- $t(t, s, this.props);
3262
+ Xt(t, s, this.props);
3241
3263
  }
3242
3264
  operatorChange(t) {
3243
- Yt(t, this.props.value, this.props.onChange);
3265
+ Qt(t, this.props.value, this.props.onChange);
3244
3266
  }
3245
3267
  boolDropdownChange(t) {
3246
- Xt(t, this.props.onChange);
3268
+ Jt(t, this.props.onChange);
3247
3269
  }
3248
3270
  filterComponent(t, s, o) {
3249
3271
  switch (t) {
3250
3272
  case "numeric":
3251
3273
  return /* @__PURE__ */ l.createElement(
3252
- Ke,
3274
+ qe,
3253
3275
  {
3254
3276
  value: s,
3255
3277
  onChange: (e) => {
@@ -3260,7 +3282,7 @@ class Et extends l.Component {
3260
3282
  );
3261
3283
  case "date":
3262
3284
  return /* @__PURE__ */ l.createElement(
3263
- Ue,
3285
+ $e,
3264
3286
  {
3265
3287
  value: s,
3266
3288
  onChange: (e) => {
@@ -3269,12 +3291,12 @@ class Et extends l.Component {
3269
3291
  }
3270
3292
  );
3271
3293
  case "boolean": {
3272
- const e = (i) => i == null;
3294
+ const e = (r) => r == null;
3273
3295
  return /* @__PURE__ */ l.createElement(
3274
- oe,
3296
+ ie,
3275
3297
  {
3276
3298
  onChange: this.boolDropdownChange,
3277
- value: o.find((i) => i.operator === (e(s) ? "" : s)),
3299
+ value: o.find((r) => r.operator === (e(s) ? "" : s)),
3278
3300
  data: o,
3279
3301
  textField: "text"
3280
3302
  }
@@ -3282,7 +3304,7 @@ class Et extends l.Component {
3282
3304
  }
3283
3305
  default:
3284
3306
  return /* @__PURE__ */ l.createElement(
3285
- Mt,
3307
+ zt,
3286
3308
  {
3287
3309
  value: s || "",
3288
3310
  onChange: (e) => {
@@ -3293,36 +3315,36 @@ class Et extends l.Component {
3293
3315
  }
3294
3316
  }
3295
3317
  }
3296
- class Dr extends l.Component {
3318
+ class Hr extends l.Component {
3297
3319
  render() {
3298
3320
  const {
3299
3321
  firstFilterProps: t,
3300
3322
  hideSecondFilter: s,
3301
3323
  secondFilterProps: o,
3302
3324
  logicData: e,
3303
- logicValue: i,
3325
+ logicValue: r,
3304
3326
  onLogicChange: n
3305
3327
  } = this.props;
3306
- return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Et, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3307
- oe,
3328
+ return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(St, { ...t }), !s && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
3329
+ ie,
3308
3330
  {
3309
3331
  data: e,
3310
- value: i,
3332
+ value: r,
3311
3333
  onChange: n,
3312
3334
  className: "k-filter-and",
3313
3335
  textField: "text"
3314
3336
  }
3315
- ), /* @__PURE__ */ l.createElement(Et, { ...o })));
3337
+ ), /* @__PURE__ */ l.createElement(St, { ...o })));
3316
3338
  }
3317
3339
  }
3318
- const Be = (r) => r || { filters: [], logic: "and" }, ge = (r, t) => Be(t).filters.filter((e) => gt(e) ? e.filters && e.filters.length && e.filters.length <= 2 && !e.filters.find((i) => gt(i) || i.field !== r) : !1)[0] || null;
3319
- class as extends l.Component {
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 {
3320
3342
  constructor(t) {
3321
3343
  super(t), this.removeGroup = (o, e) => {
3322
- const i = [...e.filters], n = i.findIndex((a) => a === o);
3323
- return n > -1 && i.splice(n, 1), {
3344
+ const r = [...e.filters], n = r.findIndex((a) => a === o);
3345
+ return n > -1 && r.splice(n, 1), {
3324
3346
  ...e,
3325
- filters: i
3347
+ filters: r
3326
3348
  };
3327
3349
  }, this.insertGroup = (o, e) => ({
3328
3350
  ...e,
@@ -3340,7 +3362,7 @@ class as extends l.Component {
3340
3362
  }, this.secondFilterChange = (o) => {
3341
3363
  this.filterChange(1, o);
3342
3364
  }, this.filterChange = (o, e) => {
3343
- const i = this.state.filterGroup.filters.map((n, a) => a === o ? {
3365
+ const r = this.state.filterGroup.filters.map((n, a) => a === o ? {
3344
3366
  ...n,
3345
3367
  value: e.value,
3346
3368
  operator: e.operator
@@ -3348,7 +3370,7 @@ class as extends l.Component {
3348
3370
  this.setState({
3349
3371
  filterGroup: {
3350
3372
  ...this.state.filterGroup,
3351
- filters: i
3373
+ filters: r
3352
3374
  }
3353
3375
  });
3354
3376
  }, this.logicChange = (o) => {
@@ -3361,48 +3383,48 @@ class as extends l.Component {
3361
3383
  }, this.clear = (o) => {
3362
3384
  if (o.preventDefault(), !this.props.onFilterChange)
3363
3385
  return;
3364
- const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = i.filters.filter((h) => h !== n);
3365
- a.length ? this.props.onFilterChange({ ...i, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
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);
3387
+ a.length ? this.props.onFilterChange({ ...r, filters: a }, o) : this.props.onFilterChange(null, o), this.props.onCloseMenu && this.props.onCloseMenu();
3366
3388
  }, this.currentFilterGroup = () => ({
3367
3389
  ...this.state.filterGroup,
3368
3390
  filters: this.state.filterGroup.filters.filter((o) => o.value !== void 0 && o.value !== null && o.value !== "" || o.value === null && o.operator)
3369
3391
  }), this.submit = (o) => {
3370
3392
  if (o.preventDefault(), !this.props.onFilterChange)
3371
3393
  return;
3372
- const e = this.props.column.field, i = Be(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3373
- let h = null;
3394
+ const e = this.props.column.field, r = Ke(this.props.filter), n = ge(e, this.props.filter), a = this.currentFilterGroup();
3395
+ let c = null;
3374
3396
  if (n && a.filters.length > 0) {
3375
- const c = i.filters.map((d) => d === n ? a : d);
3376
- h = {
3377
- ...i,
3378
- filters: c
3397
+ const h = r.filters.map((d) => d === n ? a : d);
3398
+ c = {
3399
+ ...r,
3400
+ filters: h
3379
3401
  };
3380
3402
  } else if (a.filters.length === 0) {
3381
- const c = i.filters.filter((d) => d !== n);
3382
- c.length && (h = {
3383
- ...i,
3384
- filters: c
3403
+ const h = r.filters.filter((d) => d !== n);
3404
+ h.length && (c = {
3405
+ ...r,
3406
+ filters: h
3385
3407
  });
3386
3408
  } else
3387
- h = {
3388
- ...i,
3389
- filters: [...i.filters, a]
3409
+ c = {
3410
+ ...r,
3411
+ filters: [...r.filters, a]
3390
3412
  };
3391
- this.props.onFilterChange(h, o), this.props.onCloseMenu && this.props.onCloseMenu();
3413
+ this.props.onFilterChange(c, o), this.props.onCloseMenu && this.props.onCloseMenu();
3392
3414
  };
3393
3415
  let s;
3394
3416
  if (t.column && t.column.field) {
3395
- const o = Ae(t.column.filter), e = jt(t.filterOperators, o);
3417
+ const o = We(t.column.filter), e = Yt(t.filterOperators, o);
3396
3418
  s = ge(t.column.field, t.filter), s = s ? {
3397
3419
  ...s,
3398
- filters: s.filters.map((i) => ({ ...i }))
3420
+ filters: s.filters.map((r) => ({ ...r }))
3399
3421
  } : {
3400
3422
  logic: "and",
3401
3423
  filters: [
3402
3424
  { field: t.column.field, operator: e, value: L(e) ? null : void 0 },
3403
3425
  { field: t.column.field, operator: e, value: L(e) ? null : void 0 }
3404
3426
  ]
3405
- }, s.filters.filter((i) => i.field === t.column.field).length === 1 && s.filters.splice(1, 0, { field: t.column.field, operator: e });
3427
+ }, s.filters.filter((r) => r.field === t.column.field).length === 1 && s.filters.splice(1, 0, { field: t.column.field, operator: e });
3406
3428
  }
3407
3429
  this.state = {
3408
3430
  expanded: t.expanded || !1,
@@ -3416,23 +3438,23 @@ class as extends l.Component {
3416
3438
  const { column: t, filterUI: s, hideSecondFilter: o, filterOperators: e } = this.props;
3417
3439
  if (!t || !t.field)
3418
3440
  return /* @__PURE__ */ l.createElement("div", null);
3419
- const i = Ae(t.filter), n = o !== void 0 ? o : pr[i], a = G(this), h = this.state.filterGroup.filters, c = ie(e[i], a), d = ie(qt, a), g = {
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 = {
3420
3442
  field: t.field,
3421
- value: h[0].value,
3422
- operator: h[0].operator,
3423
- operators: c,
3443
+ value: c[0].value,
3444
+ operator: c[0].operator,
3445
+ operators: h,
3424
3446
  booleanValues: d,
3425
3447
  onChange: this.firstFilterChange,
3426
- filterType: i
3448
+ filterType: r
3427
3449
  }, m = {
3428
3450
  field: t.field,
3429
- value: h[1].value,
3430
- operator: h[1].operator,
3431
- operators: c,
3451
+ value: c[1].value,
3452
+ operator: c[1].operator,
3453
+ operators: h,
3432
3454
  booleanValues: d,
3433
3455
  onChange: this.secondFilterChange,
3434
- filterType: i
3435
- }, u = this.state.filterGroup.logic, b = ie(cr, a), E = {
3456
+ filterType: r
3457
+ }, u = this.state.filterGroup.logic, b = re(gr, a), E = {
3436
3458
  value: b.find((D) => D.operator === (u === null ? "" : u)),
3437
3459
  onChange: this.logicChange,
3438
3460
  data: b
@@ -3443,16 +3465,16 @@ class as extends l.Component {
3443
3465
  logicValue: E.value,
3444
3466
  onLogicChange: E.onChange,
3445
3467
  hideSecondFilter: n
3446
- }, I = this.currentFilterGroup().filters.length !== 0 || L(h[0].operator) || L(h[1].operator), k = this.isControlled() ? this.props.expanded : this.state.expanded, _ = this.props.alwaysExpand;
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;
3447
3469
  return /* @__PURE__ */ l.createElement(xe, null, !_ && /* @__PURE__ */ l.createElement(
3448
- ae,
3470
+ ne,
3449
3471
  {
3450
- title: a.toLanguageString(ne, v[ne]),
3472
+ title: a.toLanguageString(le, k[le]),
3451
3473
  iconClass: "k-i-filter",
3452
3474
  svgIcon: Ce,
3453
3475
  onClick: this.onFilterExpand
3454
3476
  }
3455
- ), /* @__PURE__ */ l.createElement(ns, { show: _ || !!k }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3477
+ ), /* @__PURE__ */ l.createElement(cs, { show: _ || !!v }, /* @__PURE__ */ l.createElement(
3456
3478
  "form",
3457
3479
  {
3458
3480
  className: "k-filter-menu",
@@ -3460,41 +3482,41 @@ class as extends l.Component {
3460
3482
  onReset: this.clear,
3461
3483
  onKeyDown: (D) => D.stopPropagation()
3462
3484
  },
3463
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, C ? /* @__PURE__ */ l.createElement(C, { ...x }) : /* @__PURE__ */ l.createElement(Dr, { ...x }), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-stretched" }, /* @__PURE__ */ l.createElement(
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(
3464
3486
  W,
3465
3487
  {
3466
3488
  themeColor: "primary",
3467
3489
  disabled: !I
3468
3490
  },
3469
- a.toLanguageString(le, v[le])
3491
+ a.toLanguageString(oe, k[oe])
3470
3492
  ), /* @__PURE__ */ l.createElement(
3471
3493
  W,
3472
3494
  {
3473
3495
  type: "reset"
3474
3496
  },
3475
- a.toLanguageString(U, v[U])
3497
+ a.toLanguageString(U, k[U])
3476
3498
  )))
3477
- ))));
3499
+ )));
3478
3500
  }
3479
3501
  }
3480
- as.active = (r, t) => !!ge(r, t);
3481
- M(as);
3482
- const Tr = (r, t) => r.length !== t.length ? !1 : r.every((s, o) => s === t[o]);
3483
- class hs extends l.Component {
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 {
3484
3506
  constructor(t) {
3485
- super(t), this.defaultFilter = () => this.props.filter ? bs(this.props.filter) : { filters: [], logic: "and" }, this.isControlled = () => this.props.expanded !== void 0, this.parseData = (s, o) => {
3486
- let e = this.props.column.field || "", i = s.map((n) => T(e, n));
3487
- return o ? i.filter((n, a) => i.indexOf(n) === a) : i;
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;
3488
3510
  }, this.getFilterIndex = () => {
3489
- let s = this.props.column.field;
3490
- return this.defaultFilter().filters.findIndex((i) => i.filters && i.filters.length > 0 && i.filters[0].field === s);
3511
+ const s = this.props.column.field;
3512
+ return this.defaultFilter().filters.findIndex((r) => r.filters && r.filters.length > 0 && r.filters[0].field === s);
3491
3513
  }, this.onFilterExpand = () => {
3492
3514
  const s = this.isControlled(), o = !(s ? this.props.expanded : this.state.expanded);
3493
3515
  this.props.onExpandChange && this.props.onExpandChange(o), s || this.setState({
3494
3516
  expanded: o
3495
3517
  });
3496
3518
  }, this.handleSearchChange = (s) => {
3497
- let o = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", e = {
3519
+ const o = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", e = {
3498
3520
  logic: "and",
3499
3521
  filters: [
3500
3522
  { field: this.props.column.field, operator: o, value: s.target.value, ignoreCase: !0 }
@@ -3502,10 +3524,10 @@ class hs extends l.Component {
3502
3524
  };
3503
3525
  this.setState({
3504
3526
  value: s.target.value,
3505
- data: this.parseData(ft(this.props.data || [], e), this.props.uniqueData)
3527
+ data: this.parseData(Ct(this.props.data || [], e), this.props.uniqueData)
3506
3528
  });
3507
3529
  }, this.handleClear = () => {
3508
- let s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
3530
+ const s = this.props.searchBoxFilterOperator ? this.props.searchBoxFilterOperator : "startswith", o = {
3509
3531
  logic: "and",
3510
3532
  filters: [
3511
3533
  { field: this.props.column.field, operator: s, value: "", ignoreCase: !0 }
@@ -3513,42 +3535,42 @@ class hs extends l.Component {
3513
3535
  };
3514
3536
  this.setState({
3515
3537
  value: "",
3516
- data: this.parseData(ft(this.props.data || [], o), this.props.uniqueData)
3538
+ data: this.parseData(Ct(this.props.data || [], o), this.props.uniqueData)
3517
3539
  });
3518
3540
  }, this.clear = (s) => {
3519
3541
  if (s.preventDefault(), !this.props.onFilterChange)
3520
3542
  return;
3521
- let o = this.state.currentFilter || null;
3543
+ const o = this.state.currentFilter || null;
3522
3544
  o !== null && o.filters.length > 0 ? (this.compositeFilterIndex >= 0 && o.filters.splice(this.compositeFilterIndex, 1), this.props.onFilterChange(o, s)) : this.props.onFilterChange(null, s), this.props.onCloseMenu && this.props.onCloseMenu();
3523
3545
  }, this.submit = (s) => {
3524
3546
  if (s.preventDefault(), !this.props.onFilterChange)
3525
3547
  return;
3526
- let o = this.state.currentFilter || null;
3548
+ const o = this.state.currentFilter || null;
3527
3549
  this.props.onFilterChange(o, s), this.props.onCloseMenu && this.props.onCloseMenu();
3528
3550
  }, this.handleCheckBoxChange = (s, o) => {
3529
- const e = this.props.column.field || "";
3530
- let i = { ...this.state.currentFilter }, n = [...this.state.currentFilter.filters], a = [];
3531
- if (this.compositeFilterIndex !== -1 && i.filters[this.compositeFilterIndex].filters && o !== "all" && (a = i.filters[this.compositeFilterIndex].filters), s.value && o === "all")
3532
- this.state.data.forEach((h) => {
3533
- a.push({ field: e, operator: "eq", value: h });
3551
+ const e = this.props.column.field || "", r = { ...this.state.currentFilter }, n = [...this.state.currentFilter.filters];
3552
+ let a = [];
3553
+ if (this.compositeFilterIndex !== -1 && r.filters[this.compositeFilterIndex].filters && o !== "all" && (a = r.filters[this.compositeFilterIndex].filters), s.value && o === "all")
3554
+ this.state.data.forEach((c) => {
3555
+ a.push({ field: e, operator: "eq", value: c });
3534
3556
  });
3535
3557
  else if (s.value)
3536
3558
  a.push({ field: e, operator: "eq", value: o });
3537
3559
  else if (this.state.currentFilter) {
3538
- let h = a.findIndex((c) => c.value === o);
3539
- a.splice(h, 1);
3560
+ const c = a.findIndex((h) => h.value === o);
3561
+ a.splice(c, 1);
3540
3562
  }
3541
- i.logic = "and", this.compositeFilterIndex !== -1 ? n[this.compositeFilterIndex] = {
3563
+ r.logic = "and", this.compositeFilterIndex !== -1 ? n[this.compositeFilterIndex] = {
3542
3564
  logic: "or",
3543
3565
  filters: a
3544
3566
  } : n.push({
3545
3567
  logic: "or",
3546
3568
  filters: a
3547
- }), (!s.value && o === "all" || a.length === 0) && n.splice(this.compositeFilterIndex, 1), i.filters = n, this.setState({ currentFilter: i });
3569
+ }), (!s.value && o === "all" || a.length === 0) && n.splice(this.compositeFilterIndex, 1), r.filters = n, this.setState({ currentFilter: r });
3548
3570
  }, this.isAllSelected = () => {
3549
3571
  let s = !1;
3550
3572
  if (this.state.currentFilter) {
3551
- let o = [...this.state.currentFilter.filters];
3573
+ const o = [...this.state.currentFilter.filters];
3552
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);
3553
3575
  }
3554
3576
  return s;
@@ -3564,8 +3586,8 @@ class hs extends l.Component {
3564
3586
  * @hidden
3565
3587
  */
3566
3588
  componentDidUpdate() {
3567
- let t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3568
- Tr(s, this.state.dataFromProps) || this.setState({
3589
+ const t = this.props.column.field || "", s = this.props.data.map((o) => T(t, o));
3590
+ zr(s, this.state.dataFromProps) || this.setState({
3569
3591
  data: s,
3570
3592
  dataFromProps: s
3571
3593
  });
@@ -3577,20 +3599,19 @@ class hs extends l.Component {
3577
3599
  const { column: t } = this.props;
3578
3600
  if (!t || !t.field)
3579
3601
  return /* @__PURE__ */ l.createElement("div", null);
3580
- const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded;
3581
- let e = [];
3602
+ const s = G(this), o = this.isControlled() ? this.props.expanded : this.state.expanded, e = [];
3582
3603
  if (this.state.currentFilter) {
3583
3604
  const a = [...this.state.currentFilter.filters];
3584
- this.compositeFilterIndex = a.findIndex((h) => h.filters && h.filters.length > 0 ? h.filters[0].field === t.field : !1), this.compositeFilterIndex !== -1 && a[this.compositeFilterIndex].filters.length > 0 && a[this.compositeFilterIndex].filters.forEach((h) => {
3585
- h.field === this.props.column.field && e.push(h.value);
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
+ c.field === this.props.column.field && e.push(c.value);
3586
3607
  });
3587
3608
  }
3588
- const i = this.props.searchBox ? /* @__PURE__ */ l.createElement(this.props.searchBox, { value: this.state.value, onChange: this.handleSearchChange }) : /* @__PURE__ */ l.createElement("div", { className: "k-searchbox k-textbox k-input k-input-md k-input-solid" }, /* @__PURE__ */ l.createElement(O, { className: "k-input-icon", name: "search", icon: Tt }), /* @__PURE__ */ l.createElement(
3589
- Mt,
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,
3590
3611
  {
3591
3612
  className: "k-input-inner",
3592
3613
  type: "text",
3593
- placeholder: s.toLanguageString(Me, v[Me]),
3614
+ placeholder: s.toLanguageString(ze, k[ze]),
3594
3615
  value: this.state.value,
3595
3616
  onChange: (a) => this.handleSearchChange(a.nativeEvent)
3596
3617
  }
@@ -3602,82 +3623,82 @@ class hs extends l.Component {
3602
3623
  className: "k-input-button",
3603
3624
  onClick: this.handleClear,
3604
3625
  icon: "x",
3605
- svgIcon: Os
3626
+ svgIcon: Bs
3606
3627
  }
3607
- )), n = e.filter((a, h) => e.indexOf(a) === h);
3628
+ )), n = e.filter((a, c) => e.indexOf(a) === c);
3608
3629
  return /* @__PURE__ */ l.createElement(xe, null, /* @__PURE__ */ l.createElement(
3609
- ae,
3630
+ ne,
3610
3631
  {
3611
- title: s.toLanguageString(ne, v[ne]),
3632
+ title: s.toLanguageString(le, k[le]),
3612
3633
  iconClass: "k-i-filter",
3613
3634
  svgIcon: Ce,
3614
3635
  onClick: this.onFilterExpand
3615
3636
  }
3616
- ), /* @__PURE__ */ l.createElement(ns, { show: !!o }, /* @__PURE__ */ l.createElement("div", { className: "kendo-grid-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3637
+ ), /* @__PURE__ */ l.createElement(cs, { show: !!o }, /* @__PURE__ */ l.createElement(
3617
3638
  "form",
3618
3639
  {
3619
3640
  className: "k-filter-menu",
3620
3641
  onSubmit: this.submit,
3621
3642
  onReset: this.clear
3622
3643
  },
3623
- /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, i, /* @__PURE__ */ l.createElement("ul", { className: "k-reset k-multicheck-wrap" }, /* @__PURE__ */ l.createElement("li", { className: "k-item k-check-all-wrap" }, /* @__PURE__ */ l.createElement(
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(
3624
3645
  fe,
3625
3646
  {
3626
- label: s.toLanguageString(He, v[He]),
3647
+ label: s.toLanguageString(Le, k[Le]),
3627
3648
  onChange: (a) => this.handleCheckBoxChange(a, "all"),
3628
3649
  checked: this.isAllSelected()
3629
3650
  }
3630
- )), this.state.data.map((a, h) => /* @__PURE__ */ l.createElement("li", { className: "k-item", key: h }, /* @__PURE__ */ l.createElement(
3651
+ )), this.state.data.map((a, c) => /* @__PURE__ */ l.createElement("li", { className: "k-item", key: c }, /* @__PURE__ */ l.createElement(
3631
3652
  fe,
3632
3653
  {
3633
3654
  label: String(a),
3634
- onChange: (c) => this.handleCheckBoxChange(c, a),
3655
+ onChange: (h) => this.handleCheckBoxChange(h, a),
3635
3656
  checked: n.includes(a)
3636
3657
  }
3637
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, n.length + " " + s.toLanguageString(Le, v[Le])), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-hstack k-justify-content-stretch" }, /* @__PURE__ */ l.createElement(
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(
3638
3659
  W,
3639
3660
  {
3640
3661
  themeColor: "primary",
3641
3662
  type: "submit"
3642
3663
  },
3643
- s.toLanguageString(le, v[le])
3664
+ s.toLanguageString(oe, k[oe])
3644
3665
  ), /* @__PURE__ */ l.createElement(
3645
3666
  W,
3646
3667
  {
3647
3668
  className: "k-button",
3648
3669
  type: "reset"
3649
3670
  },
3650
- s.toLanguageString(U, v[U])
3671
+ s.toLanguageString(U, k[U])
3651
3672
  )))
3652
- ))));
3673
+ )));
3653
3674
  }
3654
3675
  }
3655
- hs.defaultProps = {
3676
+ ds.defaultProps = {
3656
3677
  uniqueData: !0
3657
3678
  };
3658
- M(hs);
3659
- const Gr = (r) => {
3660
- const [t, s] = l.useState(""), o = l.useMemo(() => new Set(r.columnsState.map((u) => u.id)), [r.columnsState]), e = l.useMemo(() => r.columns.filter((u) => {
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) => {
3661
3682
  var b;
3662
3683
  return (b = u.title || u.field) == null ? void 0 : b.toLowerCase().includes(t.toLowerCase());
3663
- }), [r.columns, t]), [i, n] = l.useState(r.columns.map((u) => o.has(u.id))), a = l.useCallback(() => {
3664
- const u = r.columns.filter((b, E) => i[E]);
3665
- r.onColumnsChange.call(void 0, u), r.onCloseMenu.call(void 0);
3666
- }, [i, r.columns, r.onColumnsChange, r.onCloseMenu]), h = l.useCallback(() => {
3667
- n(r.columns.map((u) => o.has(u.id)));
3668
- }, [o, r.columns]), c = i.filter((u) => u).length, d = c === i.length, g = l.useCallback(() => {
3669
- n(r.columns.map((u, b) => d && b === 0 ? !0 : !d));
3670
- }, [r.columns, d]), m = l.useCallback((u, b) => {
3671
- const E = i.slice();
3684
+ }), [i.columns, t]), [r, n] = l.useState(i.columns.map((u) => o.has(u.id))), a = l.useCallback(() => {
3685
+ const u = i.columns.filter((b, E) => r[E]);
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) => {
3692
+ const E = r.slice();
3672
3693
  E[b] = u, n(E);
3673
- }, [i]);
3694
+ }, [r]);
3674
3695
  return /* @__PURE__ */ l.createElement("form", { className: "k-filter-menu" }, /* @__PURE__ */ l.createElement("div", { className: "k-filter-menu-container" }, /* @__PURE__ */ l.createElement(
3675
- Gt,
3696
+ Ht,
3676
3697
  {
3677
3698
  className: "k-searchbox",
3678
3699
  value: t,
3679
3700
  onChange: (u) => s(String(u.target.value)),
3680
- prefix: () => /* @__PURE__ */ l.createElement(_s, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Tt }))
3701
+ prefix: () => /* @__PURE__ */ l.createElement(Ws, null, /* @__PURE__ */ l.createElement(O, { name: "search", icon: Mt }))
3681
3702
  }
3682
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(
3683
3704
  fe,
@@ -3689,18 +3710,18 @@ const Gr = (r) => {
3689
3710
  )), e.map((u, b) => /* @__PURE__ */ l.createElement("li", { key: u.id, className: "k-item" }, /* @__PURE__ */ l.createElement(
3690
3711
  fe,
3691
3712
  {
3692
- disabled: i[b] && c === 1,
3693
- checked: i[b],
3713
+ disabled: r[b] && h === 1,
3714
+ checked: r[b],
3694
3715
  onChange: (E) => {
3695
3716
  var C;
3696
3717
  return m(!!((C = E.target.element) != null && C.checked), b);
3697
3718
  },
3698
3719
  label: u.title || u.field
3699
3720
  }
3700
- )))), /* @__PURE__ */ l.createElement("div", { className: "k-filter-selected-items" }, c, " selected items"), /* @__PURE__ */ l.createElement("div", { className: "k-actions k-actions-start k-actions-horizontal" }, /* @__PURE__ */ l.createElement(W, { type: "button", themeColor: "primary", onClick: a }, "Apply"), /* @__PURE__ */ l.createElement(W, { type: "button", onClick: h }, "Reset"))));
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"))));
3701
3722
  };
3702
- Gr.displayName = "GridColumnMenuColumnsList";
3703
- class Yr extends l.Component {
3723
+ Lr.displayName = "GridColumnMenuColumnsList";
3724
+ class ei extends l.Component {
3704
3725
  /**
3705
3726
  * @hidden
3706
3727
  */
@@ -3708,7 +3729,7 @@ class Yr extends l.Component {
3708
3729
  return null;
3709
3730
  }
3710
3731
  }
3711
- class Mr extends l.Component {
3732
+ class Or extends l.Component {
3712
3733
  /**
3713
3734
  * @hidden
3714
3735
  */
@@ -3720,7 +3741,7 @@ class Mr extends l.Component {
3720
3741
  "k-toolbar k-grid-toolbar",
3721
3742
  {
3722
3743
  "k-toolbar-md": !this.props.size,
3723
- [`k-toolbar-${K.sizeMap[this.props.size] || this.props.size}`]: this.props.size
3744
+ [`k-toolbar-${V.sizeMap[this.props.size] || this.props.size}`]: this.props.size
3724
3745
  },
3725
3746
  this.props.className
3726
3747
  ),
@@ -3732,30 +3753,30 @@ class Mr extends l.Component {
3732
3753
  );
3733
3754
  }
3734
3755
  }
3735
- Mr.displayName = "KendoReactGridToolbar";
3736
- const Hr = (r) => {
3737
- const { data: t = [] } = r;
3756
+ Or.displayName = "KendoReactGridToolbar";
3757
+ const _r = (i) => {
3758
+ const { data: t = [] } = i;
3738
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))));
3739
3760
  };
3740
- Hr.displayName = "KendoReactGridStatusBar";
3741
- const zr = (r) => {
3761
+ _r.displayName = "KendoReactGridStatusBar";
3762
+ const Pr = (i) => {
3742
3763
  var s;
3743
- const t = r.slice();
3764
+ const t = i.slice();
3744
3765
  for (let o = 0; o < t.length; o++)
3745
3766
  for (; t[o] && ((s = t[o].children) != null && s.length); )
3746
3767
  t.splice(o, 1, ...t[o].children);
3747
3768
  return t;
3748
- }, Jr = (r) => {
3749
- const { dataItems: t, target: s, selectedField: o } = r, i = zr(s.columns).map((C) => C.field).filter((C) => C && typeof C == "string").map((C) => ye(C)), n = ye(o), a = { dates: [], numbers: [], booleans: [], others: [] }, h = (C) => {
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) => {
3750
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);
3751
3772
  };
3752
3773
  t.forEach((C) => {
3753
3774
  const x = n(C);
3754
3775
  x && x.forEach((I) => {
3755
- h(i[I](C));
3776
+ c(r[I](C));
3756
3777
  });
3757
3778
  });
3758
- const c = 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 = {
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 = {
3759
3780
  sum: m,
3760
3781
  average: typeof m == "number" ? m / a.numbers.length : void 0,
3761
3782
  min: a.numbers.length ? Math.min(...a.numbers) : void 0,
@@ -3763,59 +3784,59 @@ const zr = (r) => {
3763
3784
  count: a.numbers.length + a.booleans.length + a.dates.length + a.others.length,
3764
3785
  isTrue: d > 0 ? d : void 0,
3765
3786
  isFalse: g > 0 ? g : void 0,
3766
- earliest: a.dates.length ? new Date(Math.min(...c)) : void 0,
3767
- latest: a.dates.length ? new Date(Math.max(...c)) : void 0
3787
+ earliest: a.dates.length ? new Date(Math.min(...h)) : void 0,
3788
+ latest: a.dates.length ? new Date(Math.max(...h)) : void 0
3768
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 = [];
3769
3790
  return Object.keys(u).forEach((C) => {
3770
3791
  const x = C, I = u[x];
3771
3792
  I !== void 0 && E.push({ type: x, value: I, formattedValue: b(I, x) });
3772
3793
  }), E;
3773
- }, Lr = wt(ce);
3774
- Lr.displayName = "KendoReactGrid";
3794
+ }, Ar = Ft(ce);
3795
+ Ar.displayName = "KendoReactGrid";
3775
3796
  export {
3776
- re as GRID_COL_INDEX_ATTRIBUTE,
3777
- rr as GRID_ROW_INDEX_ATTRIBUTE,
3778
- Lr as Grid,
3779
- kr as GridCell,
3797
+ se as GRID_COL_INDEX_ATTRIBUTE,
3798
+ nr as GRID_ROW_INDEX_ATTRIBUTE,
3799
+ Ar as Grid,
3800
+ Sr as GridCell,
3780
3801
  ce as GridClassComponent,
3781
- he as GridColumn,
3782
- hs as GridColumnMenuCheckboxFilter,
3783
- Gr as GridColumnMenuColumnsList,
3784
- as as GridColumnMenuFilter,
3785
- Et as GridColumnMenuFilterCell,
3786
- Dr as GridColumnMenuFilterUI,
3787
- ts as GridColumnMenuGroup,
3788
- ae as GridColumnMenuItem,
3789
- ns as GridColumnMenuItemContent,
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,
3790
3811
  xe as GridColumnMenuItemGroup,
3791
- $e as GridColumnMenuSort,
3792
- Kt as GridColumnMenuWrapper,
3793
- xr as GridCommonDragLogic,
3794
- Yr as GridDetailRow,
3795
- ir as GridEditCell,
3796
- Jt as GridFilterCell,
3797
- kt as GridGroupCell,
3798
- nr as GridHeaderCell,
3799
- sr as GridHierarchyCell,
3800
- qe as GridNoRecords,
3801
- vr as GridRow,
3802
- Ks as GridSelectionCell,
3803
- Mr as GridToolbar,
3804
- Hr as StatusBar,
3805
- qt as booleanFilterValues,
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,
3806
3827
  ge as filterGroupByField,
3807
- ei as getSelectedState,
3808
- ti as getSelectedStateFromKeyDown,
3809
- Jr as getStatusData,
3810
- v as gridMessages,
3811
- zr as leafColumns,
3812
- Ct as operators,
3813
- qs as pagerFirstPage,
3814
- Us as pagerInfo,
3815
- Ys as pagerItemPerPage,
3816
- Xs as pagerLastPage,
3817
- js as pagerNextPage,
3818
- $s as pagerPreviousPage,
3819
- Be as rootFilterOrDefault,
3820
- si as setSelectedState
3828
+ ii as getSelectedState,
3829
+ oi as getSelectedStateFromKeyDown,
3830
+ ti as getStatusData,
3831
+ k as gridMessages,
3832
+ Pr as leafColumns,
3833
+ xt as operators,
3834
+ Ys as pagerFirstPage,
3835
+ Xs as pagerInfo,
3836
+ er as pagerItemPerPage,
3837
+ Zs as pagerLastPage,
3838
+ Qs as pagerNextPage,
3839
+ Js as pagerPreviousPage,
3840
+ Ke as rootFilterOrDefault,
3841
+ li as setSelectedState
3821
3842
  };