@toolbox-web/grid-react 1.6.1 → 1.8.0
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/README.md +12 -10
- package/chunks/{grid-detail-panel-CR7YUhdN.js → grid-detail-panel-BZFcujsZ.js} +10 -10
- package/chunks/grid-responsive-card-CSZhDCoN.js +45 -0
- package/chunks/portal-bridge-CvxNt40O.js +68 -0
- package/chunks/post-mount-refresh-hooks-Dt7mPoZC.js +12 -0
- package/chunks/{react-column-config-Dz234dN8.js → react-column-config-BOe_PgL1.js} +28 -28
- package/chunks/{react-grid-adapter-KD5roD6F.js → react-grid-adapter-LBf2Mqhn.js} +108 -69
- package/features/editing.js +1 -1
- package/features/filtering.js +3 -3
- package/features/grouping-columns.js +1 -1
- package/features/grouping-rows.js +1 -1
- package/features/index.d.ts.map +1 -1
- package/features/index.js +1 -0
- package/features/master-detail.js +17 -13
- package/features/pinned-rows.d.ts +46 -0
- package/features/pinned-rows.d.ts.map +1 -1
- package/features/pinned-rows.js +49 -20
- package/features/reorder-rows.d.ts.map +1 -1
- package/features/responsive.js +22 -14
- package/features/row-drag-drop.js +1 -0
- package/features/sticky-rows.d.ts +1 -0
- package/features/sticky-rows.d.ts.map +1 -0
- package/features/sticky-rows.js +1 -0
- package/index.d.ts +5 -1
- package/index.d.ts.map +1 -1
- package/index.js +467 -408
- package/lib/child-feature-detector.d.ts +33 -0
- package/lib/child-feature-detector.d.ts.map +1 -0
- package/lib/data-grid.d.ts.map +1 -1
- package/lib/event-props.d.ts +22 -1
- package/lib/event-props.d.ts.map +1 -1
- package/lib/feature-prop-keys.d.ts +27 -0
- package/lib/feature-prop-keys.d.ts.map +1 -0
- package/lib/feature-props.d.ts +52 -3
- package/lib/feature-props.d.ts.map +1 -1
- package/lib/feature-registry.d.ts +3 -3
- package/lib/feature-registry.d.ts.map +1 -1
- package/lib/grid-header-content.d.ts +41 -0
- package/lib/grid-header-content.d.ts.map +1 -0
- package/lib/grid-toolbar-content.d.ts +44 -0
- package/lib/grid-toolbar-content.d.ts.map +1 -0
- package/lib/post-mount-refresh-hooks.d.ts +49 -0
- package/lib/post-mount-refresh-hooks.d.ts.map +1 -0
- package/lib/react-grid-adapter.d.ts +6 -0
- package/lib/react-grid-adapter.d.ts.map +1 -1
- package/lib/use-grid-overlay.d.ts +1 -1
- package/package.json +1 -1
- package/chunks/grid-responsive-card-BB28Zl2O.js +0 -45
- package/chunks/portal-bridge-BydpO5wl.js +0 -68
package/index.js
CHANGED
|
@@ -1,51 +1,69 @@
|
|
|
1
|
-
import { jsx as S, Fragment as
|
|
2
|
-
import { DataGridElement as
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { g as
|
|
5
|
-
import {
|
|
6
|
-
import { s as
|
|
7
|
-
import { flushSync as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { G as
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsx as S, Fragment as U, jsxs as he } from "react/jsx-runtime";
|
|
2
|
+
import { DataGridElement as ue } from "@toolbox-web/grid";
|
|
3
|
+
import { Children as ve, isValidElement as we, createContext as ae, useContext as T, forwardRef as le, useRef as P, useReducer as Re, useImperativeHandle as fe, useLayoutEffect as de, Component as be, useMemo as F, useEffect as b, createElement as Pe, useCallback as D, useId as ge, useState as O } from "react";
|
|
4
|
+
import { g as te, G as Ge, c as Se, d as xe } from "./chunks/react-grid-adapter-LBf2Mqhn.js";
|
|
5
|
+
import { e as hr, f as vr } from "./chunks/react-grid-adapter-LBf2Mqhn.js";
|
|
6
|
+
import { s as ne, r as pe, a as me } from "./chunks/portal-bridge-CvxNt40O.js";
|
|
7
|
+
import { flushSync as oe, createPortal as Ee } from "react-dom";
|
|
8
|
+
import { n as De } from "./chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
|
|
9
|
+
import { r as Rr } from "./chunks/post-mount-refresh-hooks-Dt7mPoZC.js";
|
|
10
|
+
import { p as Fe } from "./chunks/react-column-config-BOe_PgL1.js";
|
|
11
|
+
import { r as Pr } from "./chunks/react-column-config-BOe_PgL1.js";
|
|
12
|
+
import { createPluginsFromFeatures as Te } from "@toolbox-web/grid/features/registry";
|
|
13
|
+
import { G as N } from "./chunks/grid-element-context-BU3WvNtM.js";
|
|
14
|
+
import { G as Sr } from "./chunks/grid-detail-panel-BZFcujsZ.js";
|
|
15
|
+
import { G as Er } from "./chunks/grid-responsive-card-CSZhDCoN.js";
|
|
16
|
+
const q = /* @__PURE__ */ new Map();
|
|
17
|
+
function Ce(t, r) {
|
|
18
|
+
q.set(t, r);
|
|
16
19
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
20
|
+
function ke(t) {
|
|
21
|
+
const r = {};
|
|
22
|
+
return q.size === 0 || ve.forEach(t, (l) => {
|
|
23
|
+
if (!we(l)) return;
|
|
24
|
+
const n = l.type?.displayName;
|
|
25
|
+
if (typeof n != "string") return;
|
|
26
|
+
const c = q.get(n);
|
|
27
|
+
if (!c) return;
|
|
28
|
+
const f = c(l);
|
|
29
|
+
f && Object.assign(r, f);
|
|
30
|
+
}), r;
|
|
19
31
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
function Ie(t) {
|
|
33
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
34
|
+
}
|
|
35
|
+
function ie(t) {
|
|
36
|
+
return t.toLowerCase() === "id" ? "ID" : t.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/[_-]/g, " ").split(" ").filter(Boolean).map(Ie).join(" ");
|
|
37
|
+
}
|
|
38
|
+
const Le = /* @__PURE__ */ new Set(["string", "number", "boolean", "date", "datetime", "currency"]);
|
|
39
|
+
function Ae(t) {
|
|
40
|
+
const r = t.lastIndexOf(":");
|
|
41
|
+
if (r > 0) {
|
|
42
|
+
const l = t.slice(r + 1).toLowerCase();
|
|
43
|
+
if (Le.has(l)) {
|
|
44
|
+
const n = t.slice(0, r);
|
|
27
45
|
return {
|
|
28
|
-
field:
|
|
29
|
-
header:
|
|
30
|
-
type:
|
|
46
|
+
field: n,
|
|
47
|
+
header: ie(n),
|
|
48
|
+
type: l
|
|
31
49
|
};
|
|
32
50
|
}
|
|
33
51
|
}
|
|
34
52
|
return {
|
|
35
|
-
field:
|
|
36
|
-
header:
|
|
53
|
+
field: t,
|
|
54
|
+
header: ie(t)
|
|
37
55
|
};
|
|
38
56
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
57
|
+
function Me(t) {
|
|
58
|
+
return t.map((r) => typeof r == "string" ? Ae(r) : r);
|
|
41
59
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
60
|
+
function Oe(t, r) {
|
|
61
|
+
return r ? t.map((l) => ({ ...r, ...l })) : t;
|
|
44
62
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
63
|
+
function or(t) {
|
|
64
|
+
return t.some((r) => typeof r == "string");
|
|
47
65
|
}
|
|
48
|
-
const
|
|
66
|
+
const B = {
|
|
49
67
|
onCellClick: "cell-click",
|
|
50
68
|
onRowClick: "row-click",
|
|
51
69
|
onCellActivate: "cell-activate",
|
|
@@ -86,529 +104,570 @@ const $ = {
|
|
|
86
104
|
onExportComplete: "export-complete",
|
|
87
105
|
onPrintStart: "print-start",
|
|
88
106
|
onPrintComplete: "print-complete",
|
|
89
|
-
onTbwScroll: "tbw-scroll"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
107
|
+
onTbwScroll: "tbw-scroll",
|
|
108
|
+
onRender: "render"
|
|
109
|
+
}, W = ae(null), Ne = ({ icons: t, children: r }) => /* @__PURE__ */ S(W.Provider, { value: t, children: r });
|
|
110
|
+
function ir() {
|
|
111
|
+
return T(W);
|
|
93
112
|
}
|
|
94
|
-
const
|
|
95
|
-
function
|
|
96
|
-
return
|
|
113
|
+
const $e = W, $ = ae(null), je = ({ defaults: t, children: r }) => /* @__PURE__ */ S($.Provider, { value: t, children: r });
|
|
114
|
+
function sr() {
|
|
115
|
+
return T($);
|
|
97
116
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
117
|
+
function cr(t) {
|
|
118
|
+
return T($)?.[t];
|
|
100
119
|
}
|
|
101
|
-
const
|
|
102
|
-
class
|
|
120
|
+
const ze = $;
|
|
121
|
+
class He extends be {
|
|
103
122
|
state = { failed: !1 };
|
|
104
123
|
static getDerivedStateFromError() {
|
|
105
124
|
return { failed: !0 };
|
|
106
125
|
}
|
|
107
|
-
componentDidCatch(
|
|
108
|
-
this.props.onError(this.props.portalKey,
|
|
126
|
+
componentDidCatch(r) {
|
|
127
|
+
this.props.onError(this.props.portalKey, r);
|
|
109
128
|
}
|
|
110
129
|
render() {
|
|
111
130
|
return this.state.failed ? null : this.props.children;
|
|
112
131
|
}
|
|
113
132
|
}
|
|
114
|
-
const
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
|
|
133
|
+
const Ke = le(function(r, l) {
|
|
134
|
+
const n = P(/* @__PURE__ */ new Map()), [, c] = Re((C) => C + 1, 0), f = P(!1), d = P(0), u = P(0), h = P(!1), g = P(!1), v = () => {
|
|
135
|
+
f.current || (f.current = !0, queueMicrotask(() => {
|
|
136
|
+
f.current = !1, !g.current && (oe(c), w());
|
|
118
137
|
}));
|
|
119
138
|
}, w = () => {
|
|
120
139
|
d.current || (d.current = requestAnimationFrame(() => {
|
|
121
|
-
d.current = 0, !
|
|
140
|
+
d.current = 0, !g.current && c();
|
|
122
141
|
}));
|
|
123
|
-
},
|
|
124
|
-
console.error(`[grid-react] Portal "${
|
|
142
|
+
}, R = (C, o) => {
|
|
143
|
+
console.error(`[grid-react] Portal "${C}" crashed; dropping.`, o), n.current.delete(C), w();
|
|
125
144
|
};
|
|
126
|
-
|
|
127
|
-
|
|
145
|
+
fe(
|
|
146
|
+
l,
|
|
128
147
|
() => ({
|
|
129
|
-
renderPortal(
|
|
130
|
-
|
|
148
|
+
renderPortal(C, o, m) {
|
|
149
|
+
g.current || (n.current.set(C, { container: o, element: m }), v());
|
|
131
150
|
},
|
|
132
|
-
removePortal(
|
|
133
|
-
if (
|
|
134
|
-
|
|
151
|
+
removePortal(C, o) {
|
|
152
|
+
if (g.current) {
|
|
153
|
+
n.current.delete(C);
|
|
135
154
|
return;
|
|
136
155
|
}
|
|
137
|
-
|
|
156
|
+
n.current.delete(C) && (u.current > 0 ? h.current = !0 : o ? oe(c) : v());
|
|
138
157
|
},
|
|
139
158
|
beginBatch() {
|
|
140
|
-
|
|
159
|
+
u.current++;
|
|
141
160
|
},
|
|
142
161
|
endBatch() {
|
|
143
|
-
|
|
162
|
+
u.current !== 0 && (u.current--, u.current === 0 && h.current && (h.current = !1, c()));
|
|
144
163
|
},
|
|
145
164
|
clear() {
|
|
146
|
-
if (
|
|
147
|
-
|
|
165
|
+
if (g.current) {
|
|
166
|
+
n.current.clear();
|
|
148
167
|
return;
|
|
149
168
|
}
|
|
150
|
-
|
|
169
|
+
n.current.size > 0 && (n.current.clear(), d.current && (cancelAnimationFrame(d.current), d.current = 0), v());
|
|
151
170
|
}
|
|
152
171
|
}),
|
|
153
172
|
// forceRender is stable (useReducer dispatch), refs are stable
|
|
154
173
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
155
174
|
[]
|
|
156
|
-
),
|
|
157
|
-
|
|
158
|
-
const
|
|
175
|
+
), de(() => {
|
|
176
|
+
g.current = !1;
|
|
177
|
+
const C = n.current;
|
|
159
178
|
return () => {
|
|
160
|
-
|
|
179
|
+
g.current = !0, d.current && (cancelAnimationFrame(d.current), d.current = 0), C.clear();
|
|
161
180
|
};
|
|
162
181
|
}, []);
|
|
163
|
-
const
|
|
164
|
-
let
|
|
165
|
-
for (const [
|
|
166
|
-
if (!
|
|
167
|
-
(
|
|
182
|
+
const G = [];
|
|
183
|
+
let x = null;
|
|
184
|
+
for (const [C, { container: o, element: m }] of n.current) {
|
|
185
|
+
if (!o.isConnected) {
|
|
186
|
+
(x ??= []).push(C);
|
|
168
187
|
continue;
|
|
169
188
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */ S(
|
|
173
|
-
|
|
174
|
-
|
|
189
|
+
G.push(
|
|
190
|
+
Ee(
|
|
191
|
+
/* @__PURE__ */ S(He, { portalKey: C, onError: R, children: m }),
|
|
192
|
+
o,
|
|
193
|
+
C
|
|
175
194
|
)
|
|
176
195
|
);
|
|
177
196
|
}
|
|
178
|
-
if (
|
|
179
|
-
const
|
|
197
|
+
if (x) {
|
|
198
|
+
const C = x;
|
|
180
199
|
queueMicrotask(() => {
|
|
181
|
-
for (const
|
|
200
|
+
for (const o of C) n.current.delete(o);
|
|
182
201
|
});
|
|
183
202
|
}
|
|
184
|
-
return /* @__PURE__ */ S(
|
|
185
|
-
}),
|
|
203
|
+
return /* @__PURE__ */ S(U, { children: G });
|
|
204
|
+
}), Be = {
|
|
186
205
|
undoRedo: ["editing"],
|
|
187
206
|
clipboard: ["selection"]
|
|
188
207
|
};
|
|
189
|
-
function
|
|
190
|
-
const
|
|
191
|
-
for (const
|
|
192
|
-
const
|
|
193
|
-
if (
|
|
194
|
-
for (const
|
|
195
|
-
|
|
196
|
-
`[DataGrid] Feature "${
|
|
208
|
+
function _e(t) {
|
|
209
|
+
const r = new Set(t);
|
|
210
|
+
for (const l of t) {
|
|
211
|
+
const n = Be[l];
|
|
212
|
+
if (n)
|
|
213
|
+
for (const c of n)
|
|
214
|
+
r.has(c) || console.warn(
|
|
215
|
+
`[DataGrid] Feature "${l}" requires "${c}" to be enabled. Add the "${c}" prop to your DataGrid.`
|
|
197
216
|
);
|
|
198
217
|
}
|
|
199
218
|
}
|
|
200
|
-
function
|
|
201
|
-
const
|
|
202
|
-
for (const [
|
|
203
|
-
|
|
204
|
-
return
|
|
219
|
+
function qe(t) {
|
|
220
|
+
const r = [];
|
|
221
|
+
for (const [l, n] of Object.entries(t))
|
|
222
|
+
n === void 0 || n === !1 || r.push(l);
|
|
223
|
+
return _e(r), Te(t);
|
|
205
224
|
}
|
|
206
|
-
let
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"editing",
|
|
210
|
-
"filtering",
|
|
211
|
-
"multiSort",
|
|
212
|
-
"clipboard",
|
|
213
|
-
"contextMenu",
|
|
214
|
-
"reorderColumns",
|
|
215
|
-
"reorderRows",
|
|
216
|
-
"rowDragDrop",
|
|
217
|
-
"visibility",
|
|
218
|
-
"undoRedo",
|
|
219
|
-
"tree",
|
|
220
|
-
"groupingRows",
|
|
221
|
-
"groupingColumns",
|
|
222
|
-
"pinnedColumns",
|
|
223
|
-
"pinnedRows",
|
|
224
|
-
"masterDetail",
|
|
225
|
-
"responsive",
|
|
226
|
-
"columnVirtualization",
|
|
227
|
-
"export",
|
|
228
|
-
"print",
|
|
229
|
-
"pivot",
|
|
230
|
-
"serverSide",
|
|
231
|
-
"tooltip"
|
|
232
|
-
];
|
|
233
|
-
function q() {
|
|
234
|
-
return ne || (_ = new Re(), de.registerAdapter(_), ne = !0), _;
|
|
225
|
+
let se = !1, _ = null;
|
|
226
|
+
function V() {
|
|
227
|
+
return se || (_ = new Ge(), ue.registerAdapter(_), se = !0), _;
|
|
235
228
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
229
|
+
V();
|
|
230
|
+
const ce = /* @__PURE__ */ new WeakMap();
|
|
231
|
+
let Ve = 0;
|
|
232
|
+
function Ue(t) {
|
|
233
|
+
let r = ce.get(t);
|
|
234
|
+
return r === void 0 && (r = ++Ve, ce.set(t, r)), r;
|
|
240
235
|
}
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
function Be(r) {
|
|
251
|
-
const t = {};
|
|
252
|
-
return me.forEach(r, (s) => {
|
|
253
|
-
if (Ce(s)) {
|
|
254
|
-
if (s.type && s.type.displayName === "GridDetailPanel") {
|
|
255
|
-
const i = s.props;
|
|
256
|
-
t.masterDetail = {
|
|
257
|
-
// Use props from the child component for configuration
|
|
258
|
-
showExpandColumn: i.showExpandColumn ?? !0,
|
|
259
|
-
animation: i.animation ?? "slide"
|
|
260
|
-
// detailRenderer will be wired up by refreshMasterDetailRenderer after mount
|
|
261
|
-
};
|
|
262
|
-
}
|
|
263
|
-
s.type && s.type.displayName === "GridResponsiveCard" && (t.responsive = !0);
|
|
236
|
+
Ce("GridDetailPanel", (t) => {
|
|
237
|
+
const r = t.props;
|
|
238
|
+
return {
|
|
239
|
+
masterDetail: {
|
|
240
|
+
showExpandColumn: r.showExpandColumn ?? !0,
|
|
241
|
+
animation: r.animation ?? "slide"
|
|
242
|
+
// detailRenderer is wired up by the masterDetail post-mount refresh hook.
|
|
264
243
|
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
Ce("GridResponsiveCard", () => ({
|
|
247
|
+
// GridResponsiveCard only carries cardRowHeight; breakpoint is set via the
|
|
248
|
+
// responsive prop. Enable the plugin with defaults — user can override.
|
|
249
|
+
responsive: !0
|
|
250
|
+
}));
|
|
251
|
+
const ur = le(function(r, l) {
|
|
268
252
|
const {
|
|
269
253
|
// Core props
|
|
270
|
-
rows:
|
|
271
|
-
gridConfig:
|
|
272
|
-
columns:
|
|
254
|
+
rows: n,
|
|
255
|
+
gridConfig: c,
|
|
256
|
+
columns: f,
|
|
273
257
|
columnDefaults: d,
|
|
274
|
-
fitMode:
|
|
275
|
-
sortable:
|
|
276
|
-
filterable:
|
|
277
|
-
selectable:
|
|
258
|
+
fitMode: u,
|
|
259
|
+
sortable: h,
|
|
260
|
+
filterable: g,
|
|
261
|
+
selectable: v,
|
|
278
262
|
loading: w,
|
|
279
|
-
customStyles:
|
|
280
|
-
className:
|
|
281
|
-
style:
|
|
282
|
-
children:
|
|
263
|
+
customStyles: R,
|
|
264
|
+
className: G,
|
|
265
|
+
style: x,
|
|
266
|
+
children: C,
|
|
283
267
|
// Plugin props
|
|
284
|
-
plugins:
|
|
268
|
+
plugins: o,
|
|
285
269
|
// SSR mode (deprecated - see SSRProps)
|
|
286
|
-
ssr:
|
|
270
|
+
ssr: m,
|
|
287
271
|
// Legacy event handlers
|
|
288
|
-
onRowsChange:
|
|
272
|
+
onRowsChange: y,
|
|
289
273
|
// Feature props and event props are in ...rest
|
|
290
|
-
...
|
|
291
|
-
} =
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
274
|
+
...p
|
|
275
|
+
} = r, a = P(null), M = P(null), J = P(!1), Y = T(ze), j = T($e), ye = F(() => te().map((e) => {
|
|
276
|
+
const i = p[e];
|
|
277
|
+
if (i === void 0) return "";
|
|
278
|
+
let s;
|
|
279
|
+
try {
|
|
280
|
+
s = JSON.stringify(i) ?? "undefined";
|
|
281
|
+
} catch {
|
|
282
|
+
s = typeof i == "object" && i !== null ? `ref#${Ue(i)}` : `prim:${String(i)}`;
|
|
283
|
+
}
|
|
284
|
+
return `${e}:${s}`;
|
|
285
|
+
}).filter(Boolean).join("|"), [p]), Z = F(() => {
|
|
286
|
+
const e = {}, i = p;
|
|
287
|
+
for (const s of te()) {
|
|
288
|
+
const E = i[s];
|
|
289
|
+
E !== void 0 && (e[s] = E);
|
|
290
|
+
}
|
|
298
291
|
return e;
|
|
299
|
-
}, [
|
|
300
|
-
const e =
|
|
301
|
-
for (const [
|
|
302
|
-
e &&
|
|
303
|
-
return { ...
|
|
304
|
-
}, [
|
|
305
|
-
if (
|
|
306
|
-
const e = new Set(
|
|
307
|
-
return [...
|
|
292
|
+
}, [ye]), Q = F(() => ke(C), [C]), X = F(() => {
|
|
293
|
+
const e = c?.features, i = {};
|
|
294
|
+
for (const [s, E] of Object.entries(Q))
|
|
295
|
+
e && s in e && e[s] !== void 0 && e[s] !== !1 || (i[s] = E);
|
|
296
|
+
return { ...i, ...Z };
|
|
297
|
+
}, [Z, Q, c]), z = F(() => o || m ? [] : qe(X), [X, o, m]), k = F(() => {
|
|
298
|
+
if (o) {
|
|
299
|
+
const e = new Set(o.map((s) => s.name)), i = z.filter((s) => !e.has(s.name));
|
|
300
|
+
return [...o, ...i];
|
|
308
301
|
}
|
|
309
|
-
return
|
|
310
|
-
}, [
|
|
311
|
-
const e =
|
|
312
|
-
if (
|
|
313
|
-
const
|
|
314
|
-
|
|
302
|
+
return z;
|
|
303
|
+
}, [o, z]), I = F(() => f && Oe(Me(f), d), [f, d]), L = F(() => {
|
|
304
|
+
const e = Fe(c), i = {};
|
|
305
|
+
if (h !== void 0 && (i.sortable = h), g !== void 0 && (i.filterable = g), v !== void 0 && (i.selectable = v), j) {
|
|
306
|
+
const s = e?.icons || c?.icons || {};
|
|
307
|
+
i.icons = { ...j, ...s };
|
|
315
308
|
}
|
|
316
|
-
if (
|
|
317
|
-
const
|
|
309
|
+
if (k.length > 0 && e) {
|
|
310
|
+
const s = e.plugins || [], E = new Set(s.map((A) => A.name)), K = k.filter((A) => !E.has(A.name));
|
|
318
311
|
return {
|
|
319
312
|
...e,
|
|
320
|
-
...
|
|
321
|
-
plugins: [...
|
|
313
|
+
...i,
|
|
314
|
+
plugins: [...s, ...K]
|
|
322
315
|
};
|
|
323
316
|
}
|
|
324
|
-
return
|
|
325
|
-
}, [
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
}, [
|
|
329
|
-
|
|
330
|
-
}, [
|
|
331
|
-
|
|
332
|
-
}, [
|
|
333
|
-
|
|
334
|
-
}, [
|
|
335
|
-
|
|
336
|
-
}, [
|
|
337
|
-
|
|
338
|
-
}, [w]),
|
|
339
|
-
const e =
|
|
317
|
+
return k.length > 0 && !e ? { ...i, plugins: k } : Object.keys(i).length > 0 ? { ...e, ...i } : e;
|
|
318
|
+
}, [c, k, h, g, v, j]);
|
|
319
|
+
b(() => {
|
|
320
|
+
V().setTypeDefaults(Y);
|
|
321
|
+
}, [Y]), b(() => {
|
|
322
|
+
a.current && (a.current.rows = n);
|
|
323
|
+
}, [n]), b(() => {
|
|
324
|
+
a.current && L && (a.current.gridConfig = L);
|
|
325
|
+
}, [L]), b(() => {
|
|
326
|
+
a.current && I && (a.current.columns = I);
|
|
327
|
+
}, [I]), b(() => {
|
|
328
|
+
a.current && u !== void 0 && (a.current.fitMode = u);
|
|
329
|
+
}, [u]), b(() => {
|
|
330
|
+
a.current && w !== void 0 && (a.current.loading = w);
|
|
331
|
+
}, [w]), b(() => {
|
|
332
|
+
const e = a.current;
|
|
340
333
|
if (!e) return;
|
|
341
|
-
const
|
|
342
|
-
e.__frameworkAdapter =
|
|
343
|
-
let
|
|
344
|
-
const
|
|
345
|
-
|
|
334
|
+
const i = V();
|
|
335
|
+
e.__frameworkAdapter = i, De(e);
|
|
336
|
+
let s = !1;
|
|
337
|
+
const E = requestAnimationFrame(() => {
|
|
338
|
+
s || (typeof e.refreshColumns == "function" && e.refreshColumns(), typeof e.refreshShellHeader == "function" && e.refreshShellHeader());
|
|
346
339
|
});
|
|
347
340
|
return () => {
|
|
348
|
-
|
|
341
|
+
s = !0, cancelAnimationFrame(E);
|
|
349
342
|
};
|
|
350
|
-
}, []),
|
|
351
|
-
if (!
|
|
352
|
-
const e =
|
|
353
|
-
let
|
|
343
|
+
}, []), b(() => {
|
|
344
|
+
if (!a.current || !R) return;
|
|
345
|
+
const e = a.current, i = "react-custom-styles";
|
|
346
|
+
let s = !0;
|
|
354
347
|
return e.ready?.().then(() => {
|
|
355
|
-
|
|
348
|
+
s && R && (e.registerStyles?.(i, R), M.current = i);
|
|
356
349
|
}), () => {
|
|
357
|
-
|
|
350
|
+
s = !1, M.current && (e.unregisterStyles?.(M.current), M.current = null);
|
|
358
351
|
};
|
|
359
|
-
}, [
|
|
360
|
-
const e =
|
|
352
|
+
}, [R]), b(() => {
|
|
353
|
+
const e = a.current;
|
|
361
354
|
if (!e) return;
|
|
362
|
-
const
|
|
363
|
-
return
|
|
364
|
-
|
|
355
|
+
const i = [];
|
|
356
|
+
return y && i.push(e.on("rows-change", (s) => y(s.rows))), () => {
|
|
357
|
+
i.forEach((s) => s());
|
|
365
358
|
};
|
|
366
|
-
}, [
|
|
367
|
-
const
|
|
368
|
-
for (const e of Object.keys(
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
const e =
|
|
359
|
+
}, [y]);
|
|
360
|
+
const ee = F(() => Object.keys(B).filter((e) => typeof p[e] == "function").sort().join("|"), [p]), re = P({});
|
|
361
|
+
for (const e of Object.keys(B))
|
|
362
|
+
re.current[e] = p[e];
|
|
363
|
+
b(() => {
|
|
364
|
+
const e = a.current;
|
|
372
365
|
if (!e) return;
|
|
373
|
-
const
|
|
374
|
-
for (const [
|
|
375
|
-
|
|
376
|
-
e.on(
|
|
377
|
-
|
|
366
|
+
const i = [];
|
|
367
|
+
for (const [s, E] of Object.entries(B))
|
|
368
|
+
ee.includes(s) && i.push(
|
|
369
|
+
e.on(E, (K, A) => {
|
|
370
|
+
re.current[s]?.(K, A);
|
|
378
371
|
})
|
|
379
372
|
);
|
|
380
373
|
return () => {
|
|
381
|
-
|
|
374
|
+
i.forEach((s) => s());
|
|
382
375
|
};
|
|
383
|
-
}, [
|
|
384
|
-
|
|
376
|
+
}, [ee]), fe(
|
|
377
|
+
l,
|
|
385
378
|
() => ({
|
|
386
379
|
get element() {
|
|
387
|
-
return
|
|
380
|
+
return a.current;
|
|
388
381
|
},
|
|
389
382
|
async getConfig() {
|
|
390
|
-
return
|
|
383
|
+
return a.current?.getConfig?.() ?? {};
|
|
391
384
|
},
|
|
392
385
|
async ready() {
|
|
393
|
-
return
|
|
386
|
+
return a.current?.ready?.();
|
|
394
387
|
},
|
|
395
388
|
async forceLayout() {
|
|
396
|
-
return
|
|
389
|
+
return a.current?.forceLayout?.();
|
|
397
390
|
},
|
|
398
391
|
async toggleGroup(e) {
|
|
399
|
-
return
|
|
392
|
+
return a.current?.toggleGroup?.(e);
|
|
400
393
|
},
|
|
401
|
-
registerStyles(e,
|
|
402
|
-
|
|
394
|
+
registerStyles(e, i) {
|
|
395
|
+
a.current?.registerStyles?.(e, i);
|
|
403
396
|
},
|
|
404
397
|
unregisterStyles(e) {
|
|
405
|
-
|
|
398
|
+
a.current?.unregisterStyles?.(e);
|
|
406
399
|
},
|
|
407
|
-
setRowLoading(e,
|
|
408
|
-
|
|
400
|
+
setRowLoading(e, i) {
|
|
401
|
+
a.current?.setRowLoading?.(e, i);
|
|
409
402
|
},
|
|
410
|
-
setCellLoading(e,
|
|
411
|
-
|
|
403
|
+
setCellLoading(e, i, s) {
|
|
404
|
+
a.current?.setCellLoading?.(e, i, s);
|
|
412
405
|
},
|
|
413
406
|
isRowLoading(e) {
|
|
414
|
-
return
|
|
407
|
+
return a.current?.isRowLoading?.(e) ?? !1;
|
|
415
408
|
},
|
|
416
|
-
isCellLoading(e,
|
|
417
|
-
return
|
|
409
|
+
isCellLoading(e, i) {
|
|
410
|
+
return a.current?.isCellLoading?.(e, i) ?? !1;
|
|
418
411
|
},
|
|
419
412
|
clearAllLoading() {
|
|
420
|
-
|
|
413
|
+
a.current?.clearAllLoading?.();
|
|
421
414
|
}
|
|
422
415
|
}),
|
|
423
416
|
[]
|
|
424
417
|
);
|
|
425
|
-
const
|
|
426
|
-
return
|
|
427
|
-
const e =
|
|
428
|
-
return e &&
|
|
429
|
-
e &&
|
|
418
|
+
const H = P(null);
|
|
419
|
+
return de(() => {
|
|
420
|
+
const e = a.current;
|
|
421
|
+
return e && H.current && ne(e, H.current), () => {
|
|
422
|
+
e && ne(e, null);
|
|
430
423
|
};
|
|
431
|
-
}, []), /* @__PURE__ */
|
|
432
|
-
/* @__PURE__ */ S(
|
|
433
|
-
|
|
434
|
-
|
|
424
|
+
}, []), /* @__PURE__ */ he(U, { children: [
|
|
425
|
+
/* @__PURE__ */ S(Ke, { ref: H }),
|
|
426
|
+
Pe(
|
|
427
|
+
ue.activeTag,
|
|
435
428
|
{
|
|
436
429
|
ref: (e) => {
|
|
437
|
-
if (
|
|
438
|
-
|
|
439
|
-
const
|
|
440
|
-
|
|
430
|
+
if (a.current = e, e && !J.current) {
|
|
431
|
+
J.current = !0;
|
|
432
|
+
const i = e;
|
|
433
|
+
L && (i.gridConfig = L), n && (i.rows = n), I && (i.columns = I);
|
|
441
434
|
}
|
|
442
435
|
},
|
|
443
|
-
class:
|
|
444
|
-
style:
|
|
445
|
-
|
|
446
|
-
}
|
|
436
|
+
class: G,
|
|
437
|
+
style: x
|
|
438
|
+
},
|
|
439
|
+
/* @__PURE__ */ S(N.Provider, { value: a, children: C })
|
|
447
440
|
)
|
|
448
441
|
] });
|
|
449
442
|
});
|
|
450
|
-
function
|
|
443
|
+
function ar(t) {
|
|
451
444
|
const {
|
|
452
|
-
field:
|
|
453
|
-
header:
|
|
454
|
-
type:
|
|
455
|
-
editable:
|
|
456
|
-
sortable:
|
|
445
|
+
field: r,
|
|
446
|
+
header: l,
|
|
447
|
+
type: n,
|
|
448
|
+
editable: c,
|
|
449
|
+
sortable: f,
|
|
457
450
|
resizable: d,
|
|
458
|
-
width:
|
|
459
|
-
minWidth:
|
|
460
|
-
hidden:
|
|
461
|
-
lockVisible:
|
|
451
|
+
width: u,
|
|
452
|
+
minWidth: h,
|
|
453
|
+
hidden: g,
|
|
454
|
+
lockVisible: v,
|
|
462
455
|
children: w,
|
|
463
|
-
editor:
|
|
464
|
-
options:
|
|
465
|
-
multi:
|
|
466
|
-
format:
|
|
467
|
-
} =
|
|
468
|
-
(
|
|
469
|
-
|
|
456
|
+
editor: R,
|
|
457
|
+
options: G,
|
|
458
|
+
multi: x,
|
|
459
|
+
format: C
|
|
460
|
+
} = t, o = P(null), m = D(
|
|
461
|
+
(a) => {
|
|
462
|
+
o.current = a, a && (w && Se(a, w), R && xe(a, R));
|
|
470
463
|
},
|
|
471
|
-
[w,
|
|
472
|
-
),
|
|
473
|
-
field:
|
|
474
|
-
ref:
|
|
464
|
+
[w, R]
|
|
465
|
+
), y = typeof u == "number" ? `${u}px` : u, p = {
|
|
466
|
+
field: r,
|
|
467
|
+
ref: m
|
|
475
468
|
};
|
|
476
|
-
return
|
|
469
|
+
return l !== void 0 && (p.header = l), n !== void 0 && (p.type = n), c !== void 0 && (p.editable = c), f !== void 0 && (p.sortable = f), d !== void 0 && (p.resizable = d), y !== void 0 && (p.width = y), h !== void 0 && (p["min-width"] = h), g !== void 0 && (p.hidden = g), v !== void 0 && (p["lock-visible"] = v), x !== void 0 && (p.multi = x), C && (p["data-has-format"] = "true"), G && (p["data-has-options"] = "true"), /* @__PURE__ */ S("tbw-grid-column", { ...p });
|
|
470
|
+
}
|
|
471
|
+
function lr({ id: t, order: r = 100, children: l }) {
|
|
472
|
+
const n = ge(), c = t ?? `tbw-header-content-${n}`, f = T(N), [d, u] = O(null), h = P(null);
|
|
473
|
+
return b(() => {
|
|
474
|
+
const g = f?.current;
|
|
475
|
+
if (!g) return;
|
|
476
|
+
const v = h;
|
|
477
|
+
let w = !1;
|
|
478
|
+
return (async () => {
|
|
479
|
+
try {
|
|
480
|
+
await g.ready?.();
|
|
481
|
+
} catch {
|
|
482
|
+
return;
|
|
483
|
+
}
|
|
484
|
+
if (w) return;
|
|
485
|
+
const R = {
|
|
486
|
+
id: c,
|
|
487
|
+
order: r,
|
|
488
|
+
render: (G) => (u(G), () => {
|
|
489
|
+
})
|
|
490
|
+
};
|
|
491
|
+
g.registerHeaderContent?.(R);
|
|
492
|
+
})(), () => {
|
|
493
|
+
w = !0, g.unregisterHeaderContent?.(c), v.current && (pe(v.current, { sync: !0 }), v.current = null), u(null);
|
|
494
|
+
};
|
|
495
|
+
}, [f, c, r]), b(() => {
|
|
496
|
+
if (!d) return;
|
|
497
|
+
const g = f?.current ?? void 0;
|
|
498
|
+
h.current = me(d, l, h.current ?? void 0, g);
|
|
499
|
+
}, [l, d, f]), null;
|
|
500
|
+
}
|
|
501
|
+
function fr({ children: t }) {
|
|
502
|
+
return /* @__PURE__ */ S("tbw-grid-tool-buttons", { children: t });
|
|
477
503
|
}
|
|
478
|
-
function
|
|
479
|
-
|
|
504
|
+
function dr({ id: t, order: r = 100, children: l }) {
|
|
505
|
+
const n = ge(), c = t ?? `tbw-toolbar-content-${n}`, f = T(N), [d, u] = O(null), h = P(null);
|
|
506
|
+
return b(() => {
|
|
507
|
+
const g = f?.current;
|
|
508
|
+
if (!g) return;
|
|
509
|
+
const v = h;
|
|
510
|
+
let w = !1;
|
|
511
|
+
return (async () => {
|
|
512
|
+
try {
|
|
513
|
+
await g.ready?.();
|
|
514
|
+
} catch {
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
if (w) return;
|
|
518
|
+
const R = {
|
|
519
|
+
id: c,
|
|
520
|
+
order: r,
|
|
521
|
+
render: (G) => (u(G), () => {
|
|
522
|
+
})
|
|
523
|
+
};
|
|
524
|
+
g.registerToolbarContent?.(R);
|
|
525
|
+
})(), () => {
|
|
526
|
+
w = !0, g.unregisterToolbarContent?.(c), v.current && (pe(v.current, { sync: !0 }), v.current = null), u(null);
|
|
527
|
+
};
|
|
528
|
+
}, [f, c, r]), b(() => {
|
|
529
|
+
if (!d) return;
|
|
530
|
+
const g = f?.current ?? void 0;
|
|
531
|
+
h.current = me(d, l, h.current ?? void 0, g);
|
|
532
|
+
}, [l, d, f]), null;
|
|
480
533
|
}
|
|
481
|
-
const
|
|
482
|
-
let
|
|
483
|
-
return
|
|
534
|
+
const gr = ({ icons: t, defaults: r, children: l }) => {
|
|
535
|
+
let n = l;
|
|
536
|
+
return r && (n = /* @__PURE__ */ S(je, { defaults: r, children: n })), t && (n = /* @__PURE__ */ S(Ne, { icons: t, children: n })), /* @__PURE__ */ S(U, { children: n });
|
|
484
537
|
};
|
|
485
|
-
function
|
|
486
|
-
const
|
|
487
|
-
|
|
488
|
-
let
|
|
538
|
+
function pr(t) {
|
|
539
|
+
const r = P(null), [l, n] = O(!1), [c, f] = O(null), d = P(null), u = D(() => t ? (d.current ??= document.querySelector(t), d.current) : r.current?.element ?? null, [t]);
|
|
540
|
+
b(() => {
|
|
541
|
+
let o = !0;
|
|
489
542
|
return (async () => {
|
|
490
543
|
try {
|
|
491
|
-
if (
|
|
492
|
-
const
|
|
493
|
-
if (!
|
|
494
|
-
if (d.current =
|
|
495
|
-
|
|
496
|
-
const
|
|
497
|
-
|
|
544
|
+
if (t) {
|
|
545
|
+
const y = document.querySelector(t);
|
|
546
|
+
if (!y) return;
|
|
547
|
+
if (d.current = y, await y.ready?.(), o) {
|
|
548
|
+
n(!0);
|
|
549
|
+
const p = await y.getConfig?.();
|
|
550
|
+
o && p && f(p);
|
|
498
551
|
}
|
|
499
552
|
} else {
|
|
500
|
-
const
|
|
501
|
-
if (!
|
|
502
|
-
if (await
|
|
503
|
-
|
|
504
|
-
const
|
|
505
|
-
|
|
553
|
+
const y = r.current;
|
|
554
|
+
if (!y) return;
|
|
555
|
+
if (await y.ready?.(), o) {
|
|
556
|
+
n(!0);
|
|
557
|
+
const p = await y.getConfig?.();
|
|
558
|
+
o && p && f(p);
|
|
506
559
|
}
|
|
507
560
|
}
|
|
508
561
|
} catch {
|
|
509
562
|
}
|
|
510
563
|
})(), () => {
|
|
511
|
-
|
|
564
|
+
o = !1;
|
|
512
565
|
};
|
|
513
|
-
}, [
|
|
514
|
-
const
|
|
515
|
-
const
|
|
516
|
-
if (
|
|
517
|
-
return await
|
|
518
|
-
const
|
|
519
|
-
return
|
|
520
|
-
}, [
|
|
521
|
-
const
|
|
522
|
-
if (
|
|
523
|
-
await
|
|
566
|
+
}, [t]);
|
|
567
|
+
const h = D(async () => {
|
|
568
|
+
const o = u();
|
|
569
|
+
if (o)
|
|
570
|
+
return await o.getConfig?.() ?? null;
|
|
571
|
+
const m = r.current;
|
|
572
|
+
return m ? await m.getConfig?.() ?? null : null;
|
|
573
|
+
}, [u]), g = D(async () => {
|
|
574
|
+
const o = u();
|
|
575
|
+
if (o) {
|
|
576
|
+
await o.forceLayout?.();
|
|
524
577
|
return;
|
|
525
578
|
}
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
}, [
|
|
529
|
-
async (
|
|
530
|
-
const
|
|
531
|
-
if (
|
|
532
|
-
await
|
|
579
|
+
const m = r.current;
|
|
580
|
+
m && await m.forceLayout?.();
|
|
581
|
+
}, [u]), v = D(
|
|
582
|
+
async (o) => {
|
|
583
|
+
const m = u();
|
|
584
|
+
if (m) {
|
|
585
|
+
await m.toggleGroup?.(o);
|
|
533
586
|
return;
|
|
534
587
|
}
|
|
535
|
-
const
|
|
536
|
-
|
|
588
|
+
const y = r.current;
|
|
589
|
+
y && await y.toggleGroup?.(o);
|
|
537
590
|
},
|
|
538
|
-
[
|
|
539
|
-
), w =
|
|
540
|
-
(
|
|
541
|
-
[
|
|
542
|
-
),
|
|
543
|
-
((
|
|
544
|
-
[
|
|
545
|
-
),
|
|
546
|
-
(
|
|
547
|
-
const
|
|
548
|
-
if (
|
|
549
|
-
|
|
591
|
+
[u]
|
|
592
|
+
), w = D(
|
|
593
|
+
(o) => u()?.getPlugin?.(o),
|
|
594
|
+
[u]
|
|
595
|
+
), R = D(
|
|
596
|
+
((o) => u()?.getPluginByName?.(o)),
|
|
597
|
+
[u]
|
|
598
|
+
), G = D(
|
|
599
|
+
(o, m) => {
|
|
600
|
+
const y = u();
|
|
601
|
+
if (y) {
|
|
602
|
+
y.registerStyles?.(o, m);
|
|
550
603
|
return;
|
|
551
604
|
}
|
|
552
|
-
|
|
605
|
+
r.current?.registerStyles?.(o, m);
|
|
553
606
|
},
|
|
554
|
-
[
|
|
555
|
-
),
|
|
556
|
-
(
|
|
557
|
-
const
|
|
558
|
-
if (
|
|
559
|
-
|
|
607
|
+
[u]
|
|
608
|
+
), x = D(
|
|
609
|
+
(o) => {
|
|
610
|
+
const m = u();
|
|
611
|
+
if (m) {
|
|
612
|
+
m.unregisterStyles?.(o);
|
|
560
613
|
return;
|
|
561
614
|
}
|
|
562
|
-
|
|
615
|
+
r.current?.unregisterStyles?.(o);
|
|
563
616
|
},
|
|
564
|
-
[
|
|
565
|
-
),
|
|
617
|
+
[u]
|
|
618
|
+
), C = D(() => c?.columns ? c.columns.filter((o) => !o.hidden) : [], [c]);
|
|
566
619
|
return {
|
|
567
|
-
ref:
|
|
568
|
-
element:
|
|
569
|
-
isReady:
|
|
570
|
-
config:
|
|
571
|
-
getConfig:
|
|
572
|
-
forceLayout:
|
|
573
|
-
toggleGroup:
|
|
620
|
+
ref: r,
|
|
621
|
+
element: u(),
|
|
622
|
+
isReady: l,
|
|
623
|
+
config: c,
|
|
624
|
+
getConfig: h,
|
|
625
|
+
forceLayout: g,
|
|
626
|
+
toggleGroup: v,
|
|
574
627
|
getPlugin: w,
|
|
575
|
-
getPluginByName:
|
|
576
|
-
registerStyles:
|
|
577
|
-
unregisterStyles:
|
|
578
|
-
getVisibleColumns:
|
|
628
|
+
getPluginByName: R,
|
|
629
|
+
registerStyles: G,
|
|
630
|
+
unregisterStyles: x,
|
|
631
|
+
getVisibleColumns: C
|
|
579
632
|
};
|
|
580
633
|
}
|
|
581
|
-
function
|
|
582
|
-
const { open:
|
|
583
|
-
|
|
584
|
-
if (!
|
|
585
|
-
const
|
|
586
|
-
if (!
|
|
587
|
-
const d =
|
|
634
|
+
function mr(t, r = {}) {
|
|
635
|
+
const { open: l = !0, gridElement: n } = r, c = T(N);
|
|
636
|
+
b(() => {
|
|
637
|
+
if (!l) return;
|
|
638
|
+
const f = t.current;
|
|
639
|
+
if (!f) return;
|
|
640
|
+
const d = n ?? f.closest("tbw-grid, [data-tbw-grid]") ?? c?.current ?? null;
|
|
588
641
|
if (d)
|
|
589
|
-
return d.registerExternalFocusContainer?.(
|
|
590
|
-
d.unregisterExternalFocusContainer?.(
|
|
642
|
+
return d.registerExternalFocusContainer?.(f), () => {
|
|
643
|
+
d.unregisterExternalFocusContainer?.(f);
|
|
591
644
|
};
|
|
592
|
-
}, [
|
|
645
|
+
}, [l, n, c, t]);
|
|
593
646
|
}
|
|
594
647
|
export {
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
fr as
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
648
|
+
ur as DataGrid,
|
|
649
|
+
Ge as GridAdapter,
|
|
650
|
+
ar as GridColumn,
|
|
651
|
+
Sr as GridDetailPanel,
|
|
652
|
+
lr as GridHeaderContent,
|
|
653
|
+
Ne as GridIconProvider,
|
|
654
|
+
gr as GridProvider,
|
|
655
|
+
Er as GridResponsiveCard,
|
|
656
|
+
fr as GridToolButtons,
|
|
657
|
+
hr as GridToolPanel,
|
|
658
|
+
dr as GridToolbarContent,
|
|
659
|
+
je as GridTypeProvider,
|
|
660
|
+
Oe as applyColumnDefaults,
|
|
661
|
+
or as hasColumnShorthands,
|
|
662
|
+
Me as normalizeColumns,
|
|
663
|
+
Ae as parseColumnShorthand,
|
|
664
|
+
Ce as registerChildFeatureDetector,
|
|
665
|
+
Pr as registerEditorMountHook,
|
|
666
|
+
vr as registerFeaturePropKey,
|
|
667
|
+
Rr as registerPostMountRefresh,
|
|
668
|
+
pr as useGrid,
|
|
669
|
+
ir as useGridIcons,
|
|
670
|
+
mr as useGridOverlay,
|
|
671
|
+
sr as useGridTypeDefaults,
|
|
672
|
+
cr as useTypeDefault
|
|
614
673
|
};
|