@progress/kendo-react-grid 14.5.0-develop.3 → 14.5.0-develop.4

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