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