@progress/kendo-react-grid 9.4.0-develop.14 → 9.4.0-develop.16

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