@progress/kendo-react-grid 12.3.0-develop.1 → 12.3.0-develop.10

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