@progress/kendo-react-grid 13.4.0-develop.5 → 14.0.0-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/GridComponent.mjs CHANGED
@@ -6,64 +6,64 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import * as i from "react";
9
- import { uGrid as Wt, hasValidLicense as zt, getLicenseMessage as Ft, validatePackage as Ot, getter as G, classNames as f, WatermarkOverlay as Qe } from "@progress/kendo-react-common";
10
- import { process as _t } from "@progress/kendo-data-query";
11
- import { combineFilters as Vt, getDetailExpandableOptions as $t, getGroupExpandableOptions as jt, getSelectionOptions as Ut, tableKeyboardNavigationTools as B, Pager as qt, tableKeyboardNavigationBodyAttributes as Jt, tableKeyboardNavigationScopeAttributes as Xe } from "@progress/kendo-react-data-tools";
12
- import { GridHierarchyCell as Qt } from "./cells/hierarchycell/GridHierarchyCell.mjs";
13
- import { GridEditCell as Xt } from "./cells/editcell/GridEditCell.mjs";
14
- import { Header as Yt } from "./header/Header.mjs";
15
- import { HeaderRow as Zt } from "./header/HeaderRow.mjs";
16
- import { FilterRow as pt } from "./header/FilterRow.mjs";
17
- import { GroupPanel as ea } from "./header/GroupPanel.mjs";
18
- import { Footer as ta } from "./footer/Footer.mjs";
19
- import { isRowReorderEnabled as aa, getRowSpanOptions as Ye, getColumnWidth as ae, isSorted as Ze, flatData as la, autoGenerateColumns as ia, mapColumns as na, clientColumn as ra, getColSpan as oa, resolveCells as da, readColumns as sa, getFlatColumnsState as ma, getColumnState as le } from "./utils/index.mjs";
20
- import { GridCell as ca } from "./cells/datacell/GridCell.mjs";
21
- import { GridGroupCell as ua } from "./cells/groupcell/GridGroupCell.mjs";
22
- import { GridHeaderSelectionCell as fa } from "./header/GridHeaderSelectionCell.mjs";
23
- import { GridNoRecords as pe } from "./components/noRecords/GridNoRecords.mjs";
24
- import { operators as et } from "./filterCommon.mjs";
25
- import { FooterRow as ga } from "./footer/FooterRow.mjs";
26
- import { normalize as ba } from "./paging/GridPagerSettings.mjs";
27
- import { packageMetadata as ie } from "./package-metadata.mjs";
28
- import { GridDetailCell as ha } from "./cells/detailcell/GridDetailCell.mjs";
29
- import { GridNoRecordsContainer as tt } from "./components/noRecords/GridNoRecordsContainer.mjs";
30
- import { GridClientWrapper as at } from "./GridClientWrapper.mjs";
31
- import { GridColGroup as Ca } from "./components/colGroup/GridColGroup.mjs";
32
- import { GridTable as ya } from "./components/table/GridTable.mjs";
33
- import { GridDropClue as lt } from "./components/GridDropClue.mjs";
34
- import { GridDragClue as it } from "./components/GridDragClue.mjs";
35
- import { GridTableBody as nt } from "./components/table/GridTableBody.mjs";
36
- import { PagerContainer as wa } from "./components/PagerContainer.mjs";
37
- import { GridTableScrollable as Ea } from "./components/table/GridTableScrollable.mjs";
38
- import { GridElementContainer as rt } from "./components/GridElementContainer.mjs";
39
- import { GridContainerElementContainer as va } from "./components/GridContainerElementContainer.mjs";
9
+ import { uGrid as Bt, hasValidLicense as zt, getLicenseMessage as Wt, validatePackage as Ft, getter as G, classNames as f, WatermarkOverlay as Je } from "@progress/kendo-react-common";
10
+ import { getDetailExpandableOptions as Ot, getGroupExpandableOptions as _t, getSelectionOptions as Vt, tableKeyboardNavigationTools as M, Pager as $t, tableKeyboardNavigationBodyAttributes as jt, tableKeyboardNavigationScopeAttributes as Qe } from "@progress/kendo-react-data-tools";
11
+ import { GridHierarchyCell as Ut } from "./cells/hierarchycell/GridHierarchyCell.mjs";
12
+ import { GridEditCell as qt } from "./cells/editcell/GridEditCell.mjs";
13
+ import { Header as Jt } from "./header/Header.mjs";
14
+ import { HeaderRow as Qt } from "./header/HeaderRow.mjs";
15
+ import { FilterRow as Xt } from "./header/FilterRow.mjs";
16
+ import { GroupPanel as Yt } from "./header/GroupPanel.mjs";
17
+ import { Footer as Zt } from "./footer/Footer.mjs";
18
+ import { isRowReorderEnabled as pt, getRowSpanOptions as Xe, getColumnWidth as te, isSorted as Ye, flatData as ea, autoGenerateColumns as ta, mapColumns as aa, clientColumn as la, getColSpan as ia, resolveCells as na, readColumns as ra, getFlatColumnsState as oa, getColumnState as ae } from "./utils/index.mjs";
19
+ import { normalizeAutoProcessData as da, processData as ma } from "./utils/dataProcessing.mjs";
20
+ import { GridCell as sa } from "./cells/datacell/GridCell.mjs";
21
+ import { GridGroupCell as ca } from "./cells/groupcell/GridGroupCell.mjs";
22
+ import { GridHeaderSelectionCell as ua } from "./header/GridHeaderSelectionCell.mjs";
23
+ import { GridNoRecords as Ze } from "./components/noRecords/GridNoRecords.mjs";
24
+ import { operators as pe } from "./filterCommon.mjs";
25
+ import { FooterRow as fa } from "./footer/FooterRow.mjs";
26
+ import { normalize as ga } from "./paging/GridPagerSettings.mjs";
27
+ import { packageMetadata as le } from "./package-metadata.mjs";
28
+ import { GridDetailCell as ba } from "./cells/detailcell/GridDetailCell.mjs";
29
+ import { GridNoRecordsContainer as et } from "./components/noRecords/GridNoRecordsContainer.mjs";
30
+ import { GridClientWrapper as tt } from "./GridClientWrapper.mjs";
31
+ import { GridColGroup as ha } from "./components/colGroup/GridColGroup.mjs";
32
+ import { GridTable as Ca } from "./components/table/GridTable.mjs";
33
+ import { GridDropClue as at } from "./components/GridDropClue.mjs";
34
+ import { GridDragClue as lt } from "./components/GridDragClue.mjs";
35
+ import { GridTableBody as it } from "./components/table/GridTableBody.mjs";
36
+ import { PagerContainer as ya } from "./components/PagerContainer.mjs";
37
+ import { GridTableScrollable as wa } from "./components/table/GridTableScrollable.mjs";
38
+ import { GridElementContainer as nt } from "./components/GridElementContainer.mjs";
39
+ import { GridContainerElementContainer as Ea } from "./components/GridContainerElementContainer.mjs";
40
40
  import { VirtualScrollHeightContainer as Sa } from "./components/VirtualScrollHeightContainer.mjs";
41
- import { gridAriaLabel as ot, messages as Ra } from "./messages/index.mjs";
42
- import { GridReorderableRowsContainer as Ia } from "./components/GridDraggableRowsContainer.mjs";
43
- import { GridRowReorderCell as Ga } from "./cells/rowreordercell/GridRowReorderCell.mjs";
44
- import { GridHeaderRowReorderCell as xa } from "./header/client/GridHeaderRowReorderCell.mjs";
45
- import { GridLoader as dt } from "./components/GridLoader.mjs";
46
- import { gridPremiumFeatures as ka } from "./utils/premium.mjs";
47
- import { LocalizationService as Na, IntlService as Da } from "@progress/kendo-react-intl";
48
- import { getVirtualCellsToRender as Ha } from "./utils/virtualColumns.mjs";
49
- import { GridEditDialog as Ta } from "./components/GridEditDialog.mjs";
50
- import { GridCellServer as Ka } from "./cells/datacell/GridCellServer.mjs";
51
- import { GridEditCellServer as La } from "./cells/editcell/GridEditCellServer.mjs";
52
- import { GridSelectionCellServer as Pa } from "./cells/selectioncell/GridSelectionCellServer.mjs";
53
- import { GridSelectionCell as Aa } from "./cells/selectioncell/GridSelectionCell.mjs";
54
- import { GridHierarchyCellServer as Ma } from "./cells/hierarchycell/GridHierarchyCellServer.mjs";
55
- import { GridRowReorderCellServer as Ba } from "./cells/rowreordercell/GridRowReorderCellServer.mjs";
56
- import { GridDetailCellServer as Wa } from "./cells/detailcell/GridDetailCellServer.mjs";
41
+ import { gridAriaLabel as rt, messages as va } from "./messages/index.mjs";
42
+ import { GridReorderableRowsContainer as Ra } from "./components/GridDraggableRowsContainer.mjs";
43
+ import { GridRowReorderCell as Ia } from "./cells/rowreordercell/GridRowReorderCell.mjs";
44
+ import { GridHeaderRowReorderCell as Ga } from "./header/client/GridHeaderRowReorderCell.mjs";
45
+ import { GridLoader as ot } from "./components/GridLoader.mjs";
46
+ import { gridPremiumFeatures as xa } from "./utils/premium.mjs";
47
+ import { LocalizationService as ka, IntlService as Na } from "@progress/kendo-react-intl";
48
+ import { getVirtualCellsToRender as Da } from "./utils/virtualColumns.mjs";
49
+ import { GridEditDialog as Ha } from "./components/GridEditDialog.mjs";
50
+ import { GridCellServer as Ta } from "./cells/datacell/GridCellServer.mjs";
51
+ import { GridEditCellServer as Ka } from "./cells/editcell/GridEditCellServer.mjs";
52
+ import { GridSelectionCellServer as La } from "./cells/selectioncell/GridSelectionCellServer.mjs";
53
+ import { GridSelectionCell as Pa } from "./cells/selectioncell/GridSelectionCell.mjs";
54
+ import { GridHierarchyCellServer as Aa } from "./cells/hierarchycell/GridHierarchyCellServer.mjs";
55
+ import { GridRowReorderCellServer as Ma } from "./cells/rowreordercell/GridRowReorderCellServer.mjs";
56
+ import { GridDetailCellServer as Ba } from "./cells/detailcell/GridDetailCellServer.mjs";
57
57
  import { GridGroupCellServer as za } from "./cells/groupcell/GridGroupCellServer.mjs";
58
- import { StackedModeColGroup as Fa } from "./stacked/StackedModeComponents.mjs";
59
- import { GridRowRenderer as Oa } from "./rows/GridRowRenderer.mjs";
60
- import { GridDetailRowRenderer as _a } from "./rows/GridDetailRowRenderer.mjs";
61
- const Va = i.forwardRef((e, st) => {
62
- var He, Te, Ke, Le, Pe, Ae, Me, Be, We, ze, Fe, Oe, _e;
63
- const P = e.id + "-role-element-id", x = e.navigatable ? P : "";
58
+ import { StackedModeColGroup as Wa } from "./stacked/StackedModeComponents.mjs";
59
+ import { GridRowRenderer as Fa } from "./rows/GridRowRenderer.mjs";
60
+ import { GridDetailRowRenderer as Oa } from "./rows/GridDetailRowRenderer.mjs";
61
+ const _a = i.forwardRef((e, dt) => {
62
+ var He, Te, Ke, Le, Pe, Ae, Me, Be, ze, We, Fe, Oe;
63
+ const L = e.id + "-role-element-id", x = e.navigatable ? L : "";
64
64
  let C = e.columnsState || [];
65
- const mt = (t, o, r, d, a, l, s) => {
66
- const c = [], h = la(
65
+ const mt = (t, o, r, d, a, l, m) => {
66
+ const c = [], h = ea(
67
67
  c,
68
68
  t,
69
69
  o,
@@ -71,16 +71,16 @@ const Va = i.forwardRef((e, st) => {
71
71
  d !== void 0,
72
72
  a,
73
73
  l,
74
- It.defaultExpand,
75
- s
74
+ Rt.defaultExpand,
75
+ m
76
76
  );
77
77
  return { flattedData: c, resolvedGroupsCount: h };
78
- }, ct = (t) => {
78
+ }, st = (t) => {
79
79
  const o = t.filter(
80
80
  (r) => r && r.type && r.type.displayName === "KendoReactGridColumn"
81
81
  );
82
- return sa(o, C, { prevId: 0, idPrefix: x });
83
- }, ut = () => {
82
+ return ra(o, C, { prevId: 0, idPrefix: x });
83
+ }, ct = () => {
84
84
  const t = [], o = (r, d) => r == null ? void 0 : r.forEach((a) => {
85
85
  const l = a.hidden || d;
86
86
  t.push({
@@ -89,8 +89,8 @@ const Va = i.forwardRef((e, st) => {
89
89
  }), o(a.children, l);
90
90
  });
91
91
  return o(C, !1), t;
92
- }, ft = (t) => {
93
- const o = ut();
92
+ }, ut = (t) => {
93
+ const o = ct();
94
94
  return [
95
95
  t.filter((r) => {
96
96
  var d;
@@ -101,8 +101,8 @@ const Va = i.forwardRef((e, st) => {
101
101
  return r.hidden || ((d = o.find((a) => a.id === r.id)) == null ? void 0 : d.hidden);
102
102
  })
103
103
  ];
104
- }, gt = (t, o) => {
105
- m = ct(t), m.filter((a) => !a.hidden).length === 0 && (m = ia(
104
+ }, ft = (t, o) => {
105
+ s = st(t), s.filter((a) => !a.hidden).length === 0 && (s = ta(
106
106
  y,
107
107
  e.group,
108
108
  {
@@ -112,28 +112,28 @@ const Va = i.forwardRef((e, st) => {
112
112
  prevId: 0,
113
113
  idPrefix: x
114
114
  }
115
- )), ht(m, o);
116
- const [r, d] = ft(m);
117
- m = r, oe = d, A = na(m, C, !0), de = m.map(ra);
118
- }, bt = (t, o) => {
115
+ )), bt(s, o);
116
+ const [r, d] = ut(s);
117
+ s = r, re = d, P = aa(s, C, !0), oe = s.map(la);
118
+ }, gt = (t, o) => {
119
119
  const r = (d) => {
120
120
  var l;
121
- const a = o.find((s) => s.id === d.id);
121
+ const a = o.find((m) => m.id === d.id);
122
122
  if (a) {
123
- const s = { ...a };
124
- return s.children = (l = d.children) == null ? void 0 : l.map(r), s;
123
+ const m = { ...a };
124
+ return m.children = (l = d.children) == null ? void 0 : l.map(r), m;
125
125
  }
126
- return le(d);
126
+ return ae(d);
127
127
  };
128
128
  C = t.filter((d) => d.parentIndex === -1).map(r);
129
- }, ht = (t, o) => {
129
+ }, bt = (t, o) => {
130
130
  t.filter((l) => l.columnType === "checkbox").forEach((l) => {
131
- l.width = l.width || "50px", l.defaultCell = e.isClient ? Aa : Pa, l.defaultHeaderCell = fa, l._type = "edit";
131
+ l.width = l.width || "50px", l.defaultCell = e.isClient ? Pa : La, l.defaultHeaderCell = ua, l._type = "edit";
132
132
  }), T !== void 0 && t.filter((l) => l.columnType === "reorder").forEach((l) => {
133
- l.width = l.width || "50px", l.defaultCell = e.isClient ? Ga : Ba, l.defaultHeaderCell = xa, l.sortable = !1, l.filterable = !1, l.editable = !1;
133
+ l.width = l.width || "50px", l.defaultCell = e.isClient ? Ia : Ma, l.defaultHeaderCell = Ga, l.sortable = !1, l.filterable = !1, l.editable = !1;
134
134
  });
135
- const r = ma(C);
136
- bt(t, r);
135
+ const r = oa(C);
136
+ gt(t, r);
137
137
  const d = {
138
138
  id: "",
139
139
  resizable: !0,
@@ -159,45 +159,45 @@ const Va = i.forwardRef((e, st) => {
159
159
  const l = {
160
160
  ...d,
161
161
  _type: "expand",
162
- id: B.generateNavigatableId(`${a++}`, "expand", "column"),
163
- defaultCell: e.isClient ? Qt : Ma,
162
+ id: M.generateNavigatableId(`${a++}`, "expand", "column"),
163
+ defaultCell: e.isClient ? Ut : Aa,
164
164
  field: D.column,
165
165
  headerClassName: f(u.hierarchyCell({}))
166
166
  };
167
- t.unshift(l), C.unshift(r.find((s) => s.id === l.id) || le(l));
167
+ t.unshift(l), C.unshift(r.find((m) => m.id === l.id) || ae(l));
168
168
  }
169
169
  for (let l = 0; l < o; l++) {
170
- const s = {
170
+ const m = {
171
171
  ...d,
172
172
  isAccessible: !1,
173
- defaultCell: e.isClient ? ua : za,
174
- id: B.generateNavigatableId(`${a++}`, "group", "column"),
173
+ defaultCell: e.isClient ? ca : za,
174
+ id: M.generateNavigatableId(`${a++}`, "group", "column"),
175
175
  field: "value",
176
176
  locked: e.lockGroups
177
177
  };
178
- t.unshift(s), C.unshift(r.find((c) => c.id === s.id) || le(s));
178
+ t.unshift(m), C.unshift(r.find((c) => c.id === m.id) || ae(m));
179
179
  }
180
180
  t.slice(a).forEach((l) => {
181
- l.parentIndex >= 0 && (l.parentIndex += a), l.rowSpannable = l.rowSpannable !== void 0 ? Ye(l.rowSpannable) : fe;
181
+ l.parentIndex >= 0 && (l.parentIndex += a), l.rowSpannable = l.rowSpannable !== void 0 ? Xe(l.rowSpannable) : fe;
182
182
  });
183
- }, ne = () => e.isClient ? m : de, re = (t) => {
183
+ }, ie = () => e.isClient ? s : oe, ne = (t) => {
184
184
  const o = [];
185
185
  let r = null, d = 0;
186
186
  if (g.forEach((a, l) => {
187
- let s = parseFloat((a.width || "").toString()) || 10;
188
- if (typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minResizableWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minResizableWidth) && (s = a == null ? void 0 : a.minResizableWidth), typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minWidth) ? s = a == null ? void 0 : a.minWidth : typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.maxWidth) && (a == null ? void 0 : a.width) > (a == null ? void 0 : a.maxWidth) && (s = a == null ? void 0 : a.maxWidth), d) {
189
- d--, r && (r.width += s);
187
+ let m = parseFloat((a.width || "").toString()) || 10;
188
+ if (typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minResizableWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minResizableWidth) && (m = a == null ? void 0 : a.minResizableWidth), typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minWidth) ? m = a == null ? void 0 : a.minWidth : typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.maxWidth) && (a == null ? void 0 : a.width) > (a == null ? void 0 : a.maxWidth) && (m = a == null ? void 0 : a.maxWidth), d) {
189
+ d--, r && (r.width += m);
190
190
  return;
191
191
  }
192
- const c = Math.min(oa(a, t), g.length - l);
192
+ const c = Math.min(ia(a, t), g.length - l);
193
193
  d = c - 1, r = {
194
- width: s,
194
+ width: m,
195
195
  colSpan: c,
196
196
  columnIndex: l
197
197
  }, o.push(r);
198
198
  }), e.columnVirtualization) {
199
- const a = yt.current || 0, l = wt.current || parseFloat(((e.style || {}).width || "").toString());
200
- return Ha({
199
+ const a = Ct.current || 0, l = yt.current || parseFloat(((e.style || {}).width || "").toString());
200
+ return Da({
201
201
  cellModels: o,
202
202
  columns: g,
203
203
  tableViewPortWidth: l,
@@ -205,7 +205,7 @@ const Va = i.forwardRef((e, st) => {
205
205
  });
206
206
  }
207
207
  return o;
208
- }, Ct = () => {
208
+ }, ht = () => {
209
209
  const { pageable: t, take: o, pageSize: r } = e;
210
210
  if (!w)
211
211
  return 0;
@@ -215,89 +215,84 @@ const Va = i.forwardRef((e, st) => {
215
215
  if (r)
216
216
  return r;
217
217
  }
218
- const d = e.rowHeight || vt.current, a = Et.current;
218
+ const d = e.rowHeight || Et.current, a = wt.current;
219
219
  return a && d ? Math.ceil(a / d * 1.5) : 0;
220
220
  };
221
- let b = [], V, m = [], oe = [], de = [], A = [[]];
222
- const yt = e.scrollLeftRef || { current: 0 }, wt = e.widthRef || { current: 0 }, Et = e.containerHeightRef || { current: 0 }, vt = e.minRowHeightRef || { current: 0 }, W = e.localization || new Na(e.language), St = e.intl || new Da((He = e.locale) != null ? He : "en"), H = e.unstyled, u = H && H.uGrid ? H.uGrid : Wt, T = aa(e.rowReorderable), w = e.scrollable === "virtual" || e.scrollable === void 0 && e.isClient && zt(ie) || !1, k = e.dataLayoutMode === "stacked", $ = ((Te = e.group) == null ? void 0 : Te.length) || 0, se = Ft(ie), K = e.autoProcessData === !0 ? {
223
- group: !0,
224
- sort: !0,
225
- filter: !0,
226
- search: !0,
227
- page: !0
228
- } : e.autoProcessData;
221
+ let b = [], _, s = [], re = [], oe = [], P = [[]];
222
+ const Ct = e.scrollLeftRef || { current: 0 }, yt = e.widthRef || { current: 0 }, wt = e.containerHeightRef || { current: 0 }, Et = e.minRowHeightRef || { current: 0 }, B = e.localization || new ka(e.language), St = e.intl || new Na((He = e.locale) != null ? He : "en"), H = e.unstyled, u = H && H.uGrid ? H.uGrid : Bt, T = pt(e.rowReorderable), w = e.scrollable === "virtual" || e.scrollable === void 0 && e.isClient && zt(le) || !1, k = e.dataLayoutMode === "stacked", V = ((Te = e.group) == null ? void 0 : Te.length) || 0, de = Wt(le), me = da(e.autoProcessData);
229
223
  let y, N;
230
- if (Array.isArray(e.data) ? (y = e.data, N = (Ke = e.total) != null ? Ke : y.length) : (y = ((Le = e.data) == null ? void 0 : Le.data) || [], N = (Me = (Ae = e.total) != null ? Ae : (Pe = e.data) == null ? void 0 : Pe.total) != null ? Me : y.length), K) {
231
- const t = K.page && !(w && !e.pageable), { data: o, total: r } = _t(y, {
232
- group: K.group ? e.group : void 0,
233
- sort: K.sort ? e.sort : void 0,
234
- filter: Vt(
235
- K.filter ? e.filter : void 0,
236
- K.search ? e.search : void 0
237
- ),
238
- ...t ? {
239
- take: e.pageable ? e.take || 10 : e.take,
240
- skip: e.skip || 0
241
- } : {}
224
+ if (Array.isArray(e.data) ? (y = e.data, N = (Ke = e.total) != null ? Ke : y.length) : (y = ((Le = e.data) == null ? void 0 : Le.data) || [], N = (Me = (Ae = e.total) != null ? Ae : (Pe = e.data) == null ? void 0 : Pe.total) != null ? Me : y.length), me) {
225
+ const t = ma(y, {
226
+ autoProcessData: me,
227
+ group: e.group,
228
+ sort: e.sort,
229
+ filter: e.filter,
230
+ search: e.search,
231
+ pageable: e.pageable,
232
+ take: e.take,
233
+ skip: e.skip,
234
+ total: e.total,
235
+ isVirtualScroll: w,
236
+ includePaging: !0
242
237
  });
243
- y = o, N = (Be = e.total) != null ? Be : r;
238
+ y = t.data, N = t.total;
244
239
  }
245
- const z = y.length === N, { size: E } = e, Rt = typeof e.groupable == "object" && e.groupable.footer || "none", F = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, D = $t(!!e.detail), It = jt(
240
+ const z = y.length === N, { size: E } = e, vt = typeof e.groupable == "object" && e.groupable.footer || "none", W = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, D = Ot(!!e.detail), Rt = _t(
246
241
  typeof e.groupable == "object" && e.groupable.enabled !== !1 ? e.groupable.expandable : e.groupable
247
- ), me = !!((We = e.group) != null && We.length), { resolvedGroupsCount: Gt, flattedData: xt } = mt(
242
+ ), se = !!((Be = e.group) != null && Be.length), { resolvedGroupsCount: It, flattedData: Gt } = mt(
248
243
  y,
249
- Rt,
244
+ vt,
250
245
  z ? 0 : e.skip || 0,
251
246
  e.group,
252
247
  e.detailExpand,
253
248
  e.groupExpand,
254
249
  e.dataItemKey
255
250
  );
256
- b = xt;
257
- const j = Ct(), U = ((ze = e.virtualSkipRef) == null ? void 0 : ze.current) || 0;
251
+ b = Gt;
252
+ const $ = ht(), j = ((ze = e.virtualSkipRef) == null ? void 0 : ze.current) || 0;
258
253
  let ce = N;
259
254
  if (w) {
260
255
  let t = e.skip || 0;
261
- if ((me || e.pageable) && (t = U, ce = b.length), z || me || e.pageable)
262
- if (j === 0) {
256
+ if ((se || e.pageable) && (t = j, ce = b.length), z || se || e.pageable)
257
+ if ($ === 0) {
263
258
  const o = Math.min(e.take || e.pageSize || 20, b.length);
264
- V = b.slice(t, t + o);
259
+ _ = b.slice(t, t + o);
265
260
  } else
266
- V = b.slice(t, t + j);
261
+ _ = b.slice(t, t + $);
267
262
  }
268
- const ue = Ut(e.selectable), fe = Ye(e.rowSpannable), kt = ue && ue.drag ? "none" : void 0, O = i.useMemo(() => i.Children.toArray(e.children), [e.children]);
269
- gt(O, Gt);
270
- const q = i.useMemo(() => {
271
- const t = ka(e, m);
263
+ const ue = Vt(e.selectable), fe = Xe(e.rowSpannable), xt = ue && ue.drag ? "none" : void 0, F = i.useMemo(() => i.Children.toArray(e.children), [e.children]);
264
+ ft(F, It);
265
+ const U = i.useMemo(() => {
266
+ const t = xa(e, s);
272
267
  return {
273
268
  premium: t.length > 0,
274
269
  features: t
275
270
  };
276
- }, [e, m]), ge = i.useMemo(() => q.premium ? !Ot(ie, { component: "Grid", features: q.features }) : !1, [q.premium]), be = O.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? i.cloneElement(t, { ...t.props, _ariaControls: P, ariaLabel: "Top toolbar" }) : null), _ = O.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), he = O.filter(
271
+ }, [e, s]), ge = i.useMemo(() => U.premium ? !Ft(le, { component: "Grid", features: U.features }) : !1, [U.premium]), be = F.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? i.cloneElement(t, { ...t.props, _ariaControls: L, ariaLabel: "Top toolbar" }) : null), O = F.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), he = F.filter(
277
272
  (t) => t && t.type && t.type.displayName === "KendoReactGridStatusBar"
278
- ), g = m.filter((t) => t.children.length === 0), Ce = F && !k && /* @__PURE__ */ i.createElement(ea, { columns: ne(), group: e.group || [], ariaControls: P }), ye = k ? null : /* @__PURE__ */ i.createElement(
279
- Yt,
273
+ ), g = s.filter((t) => t.children.length === 0), Ce = W && !k && /* @__PURE__ */ i.createElement(Yt, { columns: ie(), group: e.group || [], ariaControls: L }), ye = k ? null : /* @__PURE__ */ i.createElement(
274
+ Jt,
280
275
  {
281
276
  size: E,
282
277
  staticHeaders: e.scrollable !== "none",
283
- draggable: e.reorderable || F,
278
+ draggable: e.reorderable || W,
284
279
  headerRow: /* @__PURE__ */ i.createElement(
285
- Zt,
280
+ Qt,
286
281
  {
287
282
  cells: e.cells,
288
283
  sort: e.sort,
289
284
  sortable: e.sortable,
290
285
  group: e.group || [],
291
- groupable: F,
286
+ groupable: W,
292
287
  filter: e.filter,
293
288
  filterable: e.filterable,
294
- filterOperators: e.filterOperators || et,
289
+ filterOperators: e.filterOperators || pe,
295
290
  columnMenu: e.columnMenu,
296
291
  columnMenuIcon: e.columnMenuIcon,
297
- columns: m,
298
- columnsMap: A,
292
+ columns: s,
293
+ columnsMap: P,
299
294
  navigatable: !!e.navigatable,
300
- localization: W,
295
+ localization: B,
301
296
  unstyled: H,
302
297
  columnsState: C,
303
298
  headerSelectionValue: !!(e.select && b.filter((t) => t.rowType === "data").every(
@@ -306,58 +301,58 @@ const Va = i.forwardRef((e, st) => {
306
301
  }
307
302
  ),
308
303
  filterRow: e.filterable && /* @__PURE__ */ i.createElement(
309
- pt,
304
+ Xt,
310
305
  {
311
306
  cells: e.cells,
312
307
  size: E,
313
- columns: m,
308
+ columns: s,
314
309
  filter: e.filter,
315
- filterOperators: e.filterOperators || et,
310
+ filterOperators: e.filterOperators || pe,
316
311
  sort: e.sort,
317
312
  navigatable: !!e.navigatable,
318
- ariaRowIndex: A.length + 1,
319
- localization: W
313
+ ariaRowIndex: P.length + 1,
314
+ localization: B
320
315
  }
321
316
  ) || void 0,
322
- cols: g.map((t, o) => /* @__PURE__ */ i.createElement("col", { key: o.toString(), width: ae(t) }))
317
+ cols: g.map((t, o) => /* @__PURE__ */ i.createElement("col", { key: o.toString(), width: te(t) }))
323
318
  }
324
319
  ), we = g.findIndex((t) => typeof t.colSpan == "function") > -1;
325
- let J;
326
- we || (J = re(null));
327
- const Q = ((Fe = e.editable) == null ? void 0 : Fe.mode) === "dialog", Nt = (Oe = e.editable) == null ? void 0 : Oe.enabled, Dt = (t, o, r, d, a) => {
320
+ let q;
321
+ we || (q = ne(null));
322
+ const J = ((We = e.editable) == null ? void 0 : We.mode) === "dialog", kt = (Fe = e.editable) == null ? void 0 : Fe.enabled, Nt = (t, o, r, d, a) => {
328
323
  let l = !1;
329
- const s = e.select && e.dataItemKey && G(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[G(e.dataItemKey)(t.dataItem)] : void 0, c = e.highlight && e.dataItemKey && G(e.dataItemKey)(t.dataItem) !== void 0 ? e.highlight[G(e.dataItemKey)(t.dataItem)] : void 0;
330
- return we && (J = re(t.dataItem)), {
331
- row: J.map(({ columnIndex: h, colSpan: L }) => {
332
- var Ve, $e, je, Ue, qe, Je;
333
- const n = g[h], v = C[h], S = ($e = (Ve = n.locked) != null ? Ve : v == null ? void 0 : v.locked) != null ? $e : !1;
324
+ const m = e.select && e.dataItemKey && G(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[G(e.dataItemKey)(t.dataItem)] : void 0, c = e.highlight && e.dataItemKey && G(e.dataItemKey)(t.dataItem) !== void 0 ? e.highlight[G(e.dataItemKey)(t.dataItem)] : void 0;
325
+ return we && (q = ne(t.dataItem)), {
326
+ row: q.map(({ columnIndex: h, colSpan: K }) => {
327
+ var _e, Ve, $e, je, Ue, qe;
328
+ const n = g[h], S = C[h], v = (Ve = (_e = n.locked) != null ? _e : S == null ? void 0 : S.locked) != null ? Ve : !1;
334
329
  let R;
335
- if ((je = n.rowSpannable) != null && je.enabled && t.rowType === "data" && n.field && a) {
336
- const I = n.field ? (qe = (Ue = n.rowSpannable).valueGetter) == null ? void 0 : qe.call(Ue, t.dataItem, n.field) : null;
337
- R = { value: I, count: 1 }, a[n.field] && ((Je = a[n.field]) == null ? void 0 : Je.value) === I && a[n.field] !== null ? (a[n.field].count++, R.count = null) : a[n.field] = R;
330
+ if (($e = n.rowSpannable) != null && $e.enabled && t.rowType === "data" && n.field && a) {
331
+ const I = n.field ? (Ue = (je = n.rowSpannable).valueGetter) == null ? void 0 : Ue.call(je, t.dataItem, n.field) : null;
332
+ R = { value: I, count: 1 }, a[n.field] && ((qe = a[n.field]) == null ? void 0 : qe.value) === I && a[n.field] !== null ? (a[n.field].count++, R.count = null) : a[n.field] = R;
338
333
  }
339
- const p = n.id ? n.id : h, Lt = f(u.contentSticky({ locked: S }), n.className), Pt = n.left !== void 0 ? { left: n.left, right: n.right } : {};
340
- let ee = !1;
334
+ const Z = n.id ? n.id : h, Kt = f(u.contentSticky({ locked: v }), n.className), Lt = n.left !== void 0 ? { left: n.left, right: n.right } : {};
335
+ let p = !1;
341
336
  if (n.editable && e.editable) {
342
- const I = e.edit && e.dataItemKey ? e.edit[G(e.dataItemKey)(t.dataItem)] : void 0, te = typeof I == "boolean" ? I : Array.isArray(I) ? n.field && I.indexOf(n.field) > -1 : n.field !== void 0 && I === n.field;
343
- te && n.columnType === "data" && (te === !0 || te === n.field) && (l = !0, Q || (ee = !0));
337
+ const I = e.edit && e.dataItemKey ? e.edit[G(e.dataItemKey)(t.dataItem)] : void 0, ee = typeof I == "boolean" ? I : Array.isArray(I) ? n.field && I.indexOf(n.field) > -1 : n.field !== void 0 && I === n.field;
338
+ ee && n.columnType === "data" && (ee === !0 || ee === n.field) && (l = !0, J || (p = !0));
344
339
  }
345
- const At = n._type === "expand", Mt = {
340
+ const Pt = n._type === "expand", At = {
346
341
  locked: e.lockGroups,
347
- id: B.generateNavigatableId(
342
+ id: M.generateNavigatableId(
348
343
  `${o}-${String(h)}`,
349
344
  x,
350
- At || t.rowType === "groupHeader" || t.rowType === "groupFooter" || n.field === "value" ? "nodata" : "cell"
345
+ Pt || t.rowType === "groupHeader" || t.rowType === "groupFooter" || n.field === "value" ? "nodata" : "cell"
351
346
  ),
352
- colSpan: L,
347
+ colSpan: K,
353
348
  dataItem: t.dataItem,
354
349
  field: n.field,
355
350
  editor: n.editor,
356
351
  format: n.format,
357
352
  columnType: n.columnType,
358
353
  rowReorderable: T,
359
- className: Lt,
360
- cells: da(e.cells, n.cells),
354
+ className: Kt,
355
+ cells: na(e.cells, n.cells),
361
356
  columnIndex: h,
362
357
  columnsCount: g.length,
363
358
  rowType: t.rowType,
@@ -365,48 +360,48 @@ const Va = i.forwardRef((e, st) => {
365
360
  expanded: t.expanded,
366
361
  dataIndex: t.dataIndex,
367
362
  rowDataIndex: r,
368
- columnPosition: Pt,
363
+ columnPosition: Lt,
369
364
  style: {},
370
365
  ariaColumnIndex: n.ariaColumnIndex,
371
- isSelected: !!((n == null ? void 0 : n._type) === "edit" ? s : Array.isArray(s) && s.indexOf(h) > -1),
366
+ isSelected: !!((n == null ? void 0 : n._type) === "edit" ? m : Array.isArray(m) && m.indexOf(h) > -1),
372
367
  isHighlighted: !!((n == null ? void 0 : n._type) === "edit" ? c : Array.isArray(c) && c.indexOf(h) > -1),
373
- isSorted: !!Ze(n.field, e.sort),
374
- isInEdit: ee,
368
+ isSorted: !!Ye(n.field, e.sort),
369
+ isInEdit: p,
375
370
  isAlt: d,
376
371
  unstyled: H,
377
372
  group: t.group,
378
- localization: W,
373
+ localization: B,
379
374
  intl: St,
380
375
  _rowSpan: R
381
- }, Bt = n.defaultCell || ee && (e.isClient ? Xt : La) || (e.isClient ? ca : Ka);
382
- return /* @__PURE__ */ i.createElement(Bt, { key: p, cellProps: Mt });
376
+ }, Mt = n.defaultCell || p && (e.isClient ? qt : Ka) || (e.isClient ? sa : Ta);
377
+ return /* @__PURE__ */ i.createElement(Mt, { key: Z, cellProps: At });
383
378
  }),
384
379
  isInEdit: l,
385
- isSelected: typeof s == "boolean" && s,
380
+ isSelected: typeof m == "boolean" && m,
386
381
  isHighlighted: typeof c == "boolean" && c
387
382
  };
388
- }, Ht = 0;
389
- let X = null;
390
- const Ee = (t) => t >= b.length - Ht, Y = [], ve = !b.length;
391
- let M = 0;
383
+ }, Dt = 0;
384
+ let Q = null;
385
+ const Ee = (t) => t >= b.length - Dt, X = [], Se = !b.length;
386
+ let A = 0;
392
387
  if (b.length) {
393
- const t = A.length + (e.filterable ? 1 : 0) + 1;
388
+ const t = P.length + (e.filterable ? 1 : 0) + 1;
394
389
  let o = e.skip || 0, r = -1, d = 0;
395
390
  const a = fe.enabled ? {} : void 0;
396
391
  if (w) {
397
- if (U > 0) {
398
- const l = b.slice(0, U).filter((s) => s.rowType === "data").length;
392
+ if (j > 0) {
393
+ const l = b.slice(0, j).filter((m) => m.rowType === "data").length;
399
394
  r += l, o += l;
400
395
  }
401
396
  !e.pageable && z && (r += e.skip || 0);
402
397
  }
403
- (V || b).forEach((l, s) => {
398
+ (_ || b).forEach((l, m) => {
404
399
  var R;
405
400
  l.rowType === "data" && r++;
406
- const c = l.dataIndex % 2 !== 0, h = e.dataItemKey && G(e.dataItemKey)(l.dataItem), L = s + o, n = h || "ai" + L, v = n + "_1", S = Dt(l, n, r, c, a);
407
- if (M = L + t + d, Q && Nt && S.isInEdit && (X = l.dataItem), Y.push(
401
+ const c = l.dataIndex % 2 !== 0, h = e.dataItemKey && G(e.dataItemKey)(l.dataItem), K = m + o, n = h || "ai" + K, S = n + "_1", v = Nt(l, n, r, c, a);
402
+ if (A = K + t + d, J && kt && v.isInEdit && (Q = l.dataItem), X.push(
408
403
  /* @__PURE__ */ i.createElement(
409
- Oa,
404
+ Fa,
410
405
  {
411
406
  key: n,
412
407
  isStackedMode: k,
@@ -414,52 +409,52 @@ const Va = i.forwardRef((e, st) => {
414
409
  rowId: n,
415
410
  dataIndex: r,
416
411
  idPrefix: x,
417
- ariaRowIndex: M,
418
- absoluteRowIndex: L,
412
+ ariaRowIndex: A,
413
+ absoluteRowIndex: K,
419
414
  isAltRow: c,
420
- isHidden: Ee(s),
415
+ isHidden: Ee(m),
421
416
  isRowReorderable: T,
422
417
  rowHeight: e.rowHeight,
423
418
  rows: e.rows,
424
419
  leafColumns: g,
425
- groupLevelCount: $,
420
+ groupLevelCount: V,
426
421
  stackedLayoutSettings: e.stackedLayoutSettings,
427
422
  cells: e.cells,
428
423
  editMode: (R = e.editable) == null ? void 0 : R.mode,
429
- isSelected: S.isSelected,
430
- isHighlighted: S.isHighlighted,
431
- isInEdit: S.isInEdit && !Q,
432
- preparedCells: S.row,
424
+ isSelected: v.isSelected,
425
+ isHighlighted: v.isHighlighted,
426
+ isInEdit: v.isInEdit && !J,
427
+ preparedCells: v.row,
433
428
  showDetailToggle: !!e.detail && !!D.enabled,
434
429
  isDetailExpanded: !!l.expanded,
435
430
  detailExpandField: D.column
436
431
  }
437
432
  )
438
433
  ), e.detail && l.rowType === "data" && l.expanded) {
439
- d++, M = L + t + d;
440
- const p = e.isClient ? ha : Wa;
441
- Y.push(
434
+ d++, A = K + t + d;
435
+ const Z = e.isClient ? ba : Ba;
436
+ X.push(
442
437
  /* @__PURE__ */ i.createElement(
443
- _a,
438
+ Oa,
444
439
  {
445
- key: v,
440
+ key: S,
446
441
  isStackedMode: k,
447
- detailRowId: v,
448
- isHidden: Ee(s),
442
+ detailRowId: S,
443
+ isHidden: Ee(m),
449
444
  detailRowHeight: e.detailRowHeight,
450
- ariaRowIndex: M,
445
+ ariaRowIndex: A,
451
446
  item: l,
452
- groupLevelCount: $,
447
+ groupLevelCount: V,
453
448
  groupDescriptors: e.group,
454
449
  lockGroups: e.lockGroups,
455
450
  cells: e.cells,
456
451
  leafColumns: g,
457
452
  detailExpandableEnabled: !!D.enabled,
458
- preparedCells: S.row,
459
- DetailCell: p,
453
+ preparedCells: v.row,
454
+ DetailCell: Z,
460
455
  detail: e.detail,
461
- detailCellId: B.generateNavigatableId(`${v}-dcell`, x),
462
- detailHierarchyCellId: D.enabled ? B.generateNavigatableId(`${v}-dhcell`, x) : void 0,
456
+ detailCellId: M.generateNavigatableId(`${S}-dcell`, x),
457
+ detailHierarchyCellId: D.enabled ? M.generateNavigatableId(`${S}-dhcell`, x) : void 0,
463
458
  detailTrClassName: f(u.detailTr({ isAlt: c })),
464
459
  unstyled: H
465
460
  }
@@ -468,97 +463,97 @@ const Va = i.forwardRef((e, st) => {
468
463
  }
469
464
  });
470
465
  }
471
- const Se = {
466
+ const ve = {
472
467
  size: E,
473
468
  total: N,
474
469
  skip: e.skip || 0,
475
470
  take: (e.take !== void 0 ? e.take : e.pageSize) || 10,
476
- ...ba(e.pageable || {})
477
- }, Re = /* @__PURE__ */ i.createElement(wa, null, e.pager ? /* @__PURE__ */ i.createElement(e.pager, { ...Se }) : /* @__PURE__ */ i.createElement(qt, { className: f(u.pager({})), ...Se })), Tt = (t, o) => /* @__PURE__ */ i.createElement("col", { key: o.toString(), width: ae(t) }), Ie = (_e = e.cells) != null && _e.footerCell || m.some((t) => {
471
+ ...ga(e.pageable || {})
472
+ }, Re = /* @__PURE__ */ i.createElement(ya, null, e.pager ? /* @__PURE__ */ i.createElement(e.pager, { ...ve }) : /* @__PURE__ */ i.createElement($t, { className: f(u.pager({})), ...ve })), Ht = (t, o) => /* @__PURE__ */ i.createElement("col", { key: o.toString(), width: te(t) }), Ie = (Oe = e.cells) != null && Oe.footerCell || s.some((t) => {
478
473
  var o;
479
474
  return !!((o = t.cells) != null && o.footerCell);
480
475
  }) ? /* @__PURE__ */ i.createElement(
481
- ta,
476
+ Zt,
482
477
  {
483
478
  size: E,
484
479
  staticHeaders: e.scrollable !== "none",
485
480
  row: /* @__PURE__ */ i.createElement(
486
- ga,
481
+ fa,
487
482
  {
488
483
  cells: e.cells,
489
484
  idPrefix: x,
490
- columns: m,
491
- ariaRowIndex: M + 1
485
+ columns: s,
486
+ ariaRowIndex: A + 1
492
487
  }
493
488
  ),
494
- cols: g.map(Tt)
489
+ cols: g.map(Ht)
495
490
  }
496
- ) : null, Ge = k ? /* @__PURE__ */ i.createElement(Fa, { groupLevelCount: $ }) : /* @__PURE__ */ i.createElement(Ca, null, g.map((t, o) => /* @__PURE__ */ i.createElement(
491
+ ) : null, Ge = k ? /* @__PURE__ */ i.createElement(Wa, { groupLevelCount: V }) : /* @__PURE__ */ i.createElement(ha, null, g.map((t, o) => /* @__PURE__ */ i.createElement(
497
492
  "col",
498
493
  {
499
494
  key: o.toString(),
500
- className: Ze(t.field, e.sort) ? f(u.sorted({})) : void 0,
501
- width: ae(t)
495
+ className: Ye(t.field, e.sort) ? f(u.sorted({})) : void 0,
496
+ width: te(t)
502
497
  }
503
- ))), xe = e.reorderable || F, { detail: $a, cells: ja, rows: Ua, ...Kt } = e, ke = /* @__PURE__ */ i.createElement(
498
+ ))), xe = e.reorderable || W, { detail: Va, cells: $a, rows: ja, ...Tt } = e, ke = /* @__PURE__ */ i.createElement(
504
499
  "tbody",
505
500
  {
506
501
  role: "rowgroup",
507
502
  className: f(u.tbody({})),
508
- ...Jt
503
+ ...jt
509
504
  },
510
- Y
511
- ), Ne = X ? /* @__PURE__ */ i.createElement(Ta, { columns: g, customEditDialog: e.editDialog, dataItem: X }) : null;
512
- let Z = ke;
513
- T && (Z = /* @__PURE__ */ i.createElement(
514
- Ia,
505
+ X
506
+ ), Ne = Q ? /* @__PURE__ */ i.createElement(Ha, { columns: g, customEditDialog: e.editDialog, dataItem: Q }) : null;
507
+ let Y = ke;
508
+ T && (Y = /* @__PURE__ */ i.createElement(
509
+ Ra,
515
510
  {
516
511
  unstyled: u,
517
- columns: m,
512
+ columns: s,
518
513
  rowReorderSettings: e.rowReorderable
519
514
  },
520
515
  ke
521
516
  ));
522
517
  const De = {
523
- gridRef: st,
518
+ gridRef: dt,
524
519
  innerGrid: e.innerGrid,
525
- gridProps: Kt,
526
- columnsRef: ne(),
527
- hiddenColumnsRef: oe,
528
- columnsMapRef: A,
520
+ gridProps: Tt,
521
+ columnsRef: ie(),
522
+ hiddenColumnsRef: re,
523
+ columnsMapRef: P,
529
524
  columnsState: C,
530
525
  dataRef: b,
531
- id: P,
526
+ id: L,
532
527
  virtualTotal: ce,
533
528
  isAllData: z,
534
- virtualPageSize: j,
529
+ virtualPageSize: $,
535
530
  isVirtualScroll: w,
536
531
  detailExpandable: !!e.detail
537
532
  };
538
- return e.scrollable === "none" ? /* @__PURE__ */ i.createElement(at, { ...De }, /* @__PURE__ */ i.createElement(rt, null, /* @__PURE__ */ i.createElement(
533
+ return e.scrollable === "none" ? /* @__PURE__ */ i.createElement(tt, { ...De }, /* @__PURE__ */ i.createElement(nt, null, /* @__PURE__ */ i.createElement(
539
534
  "div",
540
535
  {
541
536
  id: e.id,
542
537
  style: e.style,
543
538
  className: f(u.wrapper({ size: E, isStackedMode: k }), e.className),
544
- ...Xe
539
+ ...Qe
545
540
  },
546
541
  be,
547
542
  Ce,
548
543
  /* @__PURE__ */ i.createElement(
549
- ya,
544
+ Ca,
550
545
  {
551
546
  selectable: e.selectable,
552
547
  className: f(u.table({ size: E }))
553
548
  },
554
549
  Ge,
555
550
  ye,
556
- /* @__PURE__ */ i.createElement(nt, { rowReorderable: T }, Z),
551
+ /* @__PURE__ */ i.createElement(it, { rowReorderable: T }, Y),
557
552
  Ie
558
553
  ),
559
- ve && /* @__PURE__ */ i.createElement(tt, null, _.length ? _ : /* @__PURE__ */ i.createElement(pe, null)),
560
- xe && /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(lt, null), /* @__PURE__ */ i.createElement(it, null))
561
- )), he, e.pageable && Re, /* @__PURE__ */ i.createElement(dt, { loader: e.loader, showLoader: e.showLoader }), Ne, ge && /* @__PURE__ */ i.createElement(Qe, { message: se })) : /* @__PURE__ */ i.createElement(at, { ...De }, /* @__PURE__ */ i.createElement(rt, null, /* @__PURE__ */ i.createElement(
554
+ Se && /* @__PURE__ */ i.createElement(et, null, O.length ? O : /* @__PURE__ */ i.createElement(Ze, null)),
555
+ xe && /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(at, null), /* @__PURE__ */ i.createElement(lt, null))
556
+ )), he, e.pageable && Re, /* @__PURE__ */ i.createElement(ot, { loader: e.loader, showLoader: e.showLoader }), Ne, ge && /* @__PURE__ */ i.createElement(Je, { message: de })) : /* @__PURE__ */ i.createElement(tt, { ...De }, /* @__PURE__ */ i.createElement(nt, null, /* @__PURE__ */ i.createElement(
562
557
  "div",
563
558
  {
564
559
  id: e.id,
@@ -571,7 +566,7 @@ const Va = i.forwardRef((e, st) => {
571
566
  }),
572
567
  e.className
573
568
  ),
574
- ...Xe
569
+ ...Qe
575
570
  },
576
571
  be,
577
572
  Ce,
@@ -582,12 +577,12 @@ const Va = i.forwardRef((e, st) => {
582
577
  role: "grid",
583
578
  "aria-colcount": g.length,
584
579
  "aria-rowcount": N,
585
- id: P,
586
- "aria-label": W.toLanguageString(ot, Ra[ot])
580
+ id: L,
581
+ "aria-label": B.toLanguageString(rt, va[rt])
587
582
  },
588
583
  ye,
589
- /* @__PURE__ */ i.createElement("div", { className: f(u.container({})), role: "presentation" }, /* @__PURE__ */ i.createElement(va, null, /* @__PURE__ */ i.createElement("div", { className: f(u.content({})), role: "presentation" }, /* @__PURE__ */ i.createElement("div", { className: f(u.tableWrap({})), role: "presentation" }, /* @__PURE__ */ i.createElement(
590
- Ea,
584
+ /* @__PURE__ */ i.createElement("div", { className: f(u.container({})), role: "presentation" }, /* @__PURE__ */ i.createElement(Ea, null, /* @__PURE__ */ i.createElement("div", { className: f(u.content({})), role: "presentation" }, /* @__PURE__ */ i.createElement("div", { className: f(u.tableWrap({})), role: "presentation" }, /* @__PURE__ */ i.createElement(
585
+ wa,
591
586
  {
592
587
  selectable: e.selectable,
593
588
  tableClassName: f(
@@ -595,11 +590,11 @@ const Va = i.forwardRef((e, st) => {
595
590
  size: E
596
591
  })
597
592
  ),
598
- tableStyle: { userSelect: kt }
593
+ tableStyle: { userSelect: xt }
599
594
  },
600
595
  Ge,
601
- /* @__PURE__ */ i.createElement(nt, { rowReorderable: T }, Z)
602
- ), ve && /* @__PURE__ */ i.createElement(tt, null, _.length ? _ : /* @__PURE__ */ i.createElement(pe, null))), w && /* @__PURE__ */ i.createElement(
596
+ /* @__PURE__ */ i.createElement(it, { rowReorderable: T }, Y)
597
+ ), Se && /* @__PURE__ */ i.createElement(et, null, O.length ? O : /* @__PURE__ */ i.createElement(Ze, null))), w && /* @__PURE__ */ i.createElement(
603
598
  "div",
604
599
  {
605
600
  className: f(u.heightContainer({})),
@@ -608,16 +603,16 @@ const Va = i.forwardRef((e, st) => {
608
603
  /* @__PURE__ */ i.createElement(Sa, { isVirtualScroll: w })
609
604
  )))),
610
605
  Ie,
611
- xe && /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(lt, null), /* @__PURE__ */ i.createElement(it, null)),
612
- ge && /* @__PURE__ */ i.createElement(Qe, { message: se })
606
+ xe && /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement(at, null), /* @__PURE__ */ i.createElement(lt, null)),
607
+ ge && /* @__PURE__ */ i.createElement(Je, { message: de })
613
608
  ),
614
609
  he,
615
610
  e.pageable && Re,
616
- /* @__PURE__ */ i.createElement(dt, { loader: e.loader, showLoader: e.showLoader }),
611
+ /* @__PURE__ */ i.createElement(ot, { loader: e.loader, showLoader: e.showLoader }),
617
612
  Ne
618
613
  )));
619
614
  });
620
- Va.displayName = "KendoReactGridComponent";
615
+ _a.displayName = "KendoReactGridComponent";
621
616
  export {
622
- Va as GridComponent
617
+ _a as GridComponent
623
618
  };