@onereach/ui-components 26.5.0 → 26.5.1-beta.5897.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/dist/esm/{OrDataGrid-CL9IRSow.mjs → OrDataGrid-CKuJloxA.mjs} +644 -616
- package/dist/esm/OrDataGrid-CKuJloxA.mjs.map +1 -0
- package/dist/esm/components/index.mjs +1 -1
- package/dist/esm/components/or-data-grid-v3/index.mjs +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/types/components/or-data-grid-v3/OrDataGrid.vue.d.ts +5 -23
- package/dist/types/components/or-data-grid-v3/partials/or-data-grid-table/OrDataGridTable.vue.d.ts +11 -1
- package/dist/types/components/or-data-grid-v3/partials/or-data-grid-table-content-cell/OrDataGridTableContentCell.vue.d.ts +3 -3
- package/dist/types/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue.d.ts +3 -3
- package/package.json +4 -5
- package/dist/esm/OrDataGrid-CL9IRSow.mjs.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { O as
|
|
2
|
-
import { O as
|
|
3
|
-
import { O as
|
|
4
|
-
import { O as
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { O as
|
|
1
|
+
import { O as ie } from "./OrCheckbox-WPBzlvaV.mjs";
|
|
2
|
+
import { O as fe } from "./OrPagination-BXzDa-Su.mjs";
|
|
3
|
+
import { O as ge } from "./OrSearch-CRFuNmg2.mjs";
|
|
4
|
+
import { O as he } from "./OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs";
|
|
5
|
+
import { defineComponent as I, ref as G, computed as n, openBlock as r, createElementBlock as y, normalizeClass as m, renderSlot as c, createCommentVNode as k, resolveComponent as g, normalizeStyle as L, createBlock as $, watch as de, onUnmounted as pe, createElementVNode as ye, withModifiers as se, createVNode as z, mergeProps as ve, withCtx as O, reactive as le, onMounted as ke, createSlots as te, normalizeProps as be, guardReactiveProps as Oe, Fragment as Y, renderList as Z, createTextVNode as ae, toDisplayString as oe } from "vue";
|
|
6
|
+
import { useElementSize as $e, useDebounceFn as we } from "@vueuse/core";
|
|
7
|
+
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
8
|
+
import { O as De } from "./OrDatePicker-D-Do0tSf.mjs";
|
|
9
|
+
import { O as Se } from "./OrDateTimePicker-myqJkQxy.mjs";
|
|
9
10
|
import "./OrDateTimePicker.vue_vue_type_script_lang-xnGNoSUB.mjs";
|
|
10
11
|
import "@onereach/ui-components-common/types";
|
|
11
|
-
import { O as
|
|
12
|
-
import { O as
|
|
13
|
-
import { O as
|
|
14
|
-
import { O as
|
|
15
|
-
import { O as
|
|
16
|
-
import { O as
|
|
17
|
-
import { O as
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
const Me = [
|
|
12
|
+
import { O as Te } from "./OrInput-nExtCSw8.mjs";
|
|
13
|
+
import { O as Ce } from "./OrRating-CAwz23JA.mjs";
|
|
14
|
+
import { O as Ge } from "./OrSelect-BeL73iXu.mjs";
|
|
15
|
+
import { O as Ve } from "./OrSwitch-BtoXDsZx.mjs";
|
|
16
|
+
import { O as Me } from "./OrTagInput-B2U22gXE.mjs";
|
|
17
|
+
import { O as Re } from "./OrTimePicker-QPUb8olp.mjs";
|
|
18
|
+
import { O as Ie } from "./OrIcon-k8cyvh-D.mjs";
|
|
19
|
+
import { O as We } from "./OrNotification-BkjmRseb.mjs";
|
|
20
|
+
const Ee = [
|
|
21
21
|
// Layout
|
|
22
22
|
"layout-row",
|
|
23
23
|
// Interactivity
|
|
@@ -31,20 +31,20 @@ const Me = [
|
|
|
31
31
|
// Theme
|
|
32
32
|
"theme-border-disabled border-t-1",
|
|
33
33
|
"dark:theme-border-disabled-dark"
|
|
34
|
-
],
|
|
34
|
+
], Fe = [
|
|
35
35
|
// Typography
|
|
36
36
|
"typography-body-2-semibold"
|
|
37
|
-
],
|
|
37
|
+
], He = I({
|
|
38
38
|
name: "OrDataGridFooter",
|
|
39
39
|
expose: [
|
|
40
40
|
"root"
|
|
41
41
|
],
|
|
42
42
|
setup() {
|
|
43
|
-
const e =
|
|
43
|
+
const e = G(), t = n(() => [
|
|
44
44
|
"or-data-grid-footer-v3",
|
|
45
|
-
...
|
|
45
|
+
...Ee
|
|
46
46
|
]), s = n(() => [
|
|
47
|
-
...
|
|
47
|
+
...Fe
|
|
48
48
|
]);
|
|
49
49
|
return {
|
|
50
50
|
root: e,
|
|
@@ -52,47 +52,47 @@ const Me = [
|
|
|
52
52
|
statusStyles: s
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
}),
|
|
55
|
+
}), ze = {
|
|
56
56
|
key: 1,
|
|
57
|
-
class: /* @__PURE__ */
|
|
57
|
+
class: /* @__PURE__ */ m(["grow"])
|
|
58
58
|
};
|
|
59
|
-
function
|
|
60
|
-
return r(),
|
|
59
|
+
function Pe(e, t, s, b, h, f) {
|
|
60
|
+
return r(), y("div", {
|
|
61
61
|
ref: "root",
|
|
62
|
-
class:
|
|
62
|
+
class: m(e.rootStyles)
|
|
63
63
|
}, [
|
|
64
|
-
e.$slots.status ? (r(),
|
|
64
|
+
e.$slots.status ? (r(), y("div", {
|
|
65
65
|
key: 0,
|
|
66
|
-
class:
|
|
66
|
+
class: m(e.statusStyles)
|
|
67
67
|
}, [
|
|
68
68
|
c(e.$slots, "status")
|
|
69
|
-
], 2)) :
|
|
69
|
+
], 2)) : k("", !0),
|
|
70
70
|
c(e.$slots, "actions"),
|
|
71
|
-
e.$slots.paging ? (r(),
|
|
71
|
+
e.$slots.paging ? (r(), y("div", ze)) : k("", !0),
|
|
72
72
|
c(e.$slots, "paging")
|
|
73
73
|
], 2);
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Ne = /* @__PURE__ */ W(He, [["render", Pe]]), Ue = [
|
|
76
76
|
// Layout
|
|
77
77
|
"layout-row items-start gap-md",
|
|
78
78
|
// Interactivity
|
|
79
79
|
"interactivity-default",
|
|
80
80
|
// Box
|
|
81
81
|
"h-3xl"
|
|
82
|
-
],
|
|
82
|
+
], je = [
|
|
83
83
|
// Typography
|
|
84
84
|
"typography-headline-2"
|
|
85
|
-
],
|
|
85
|
+
], Ae = I({
|
|
86
86
|
name: "OrDataGridHeader",
|
|
87
87
|
expose: [
|
|
88
88
|
"root"
|
|
89
89
|
],
|
|
90
90
|
setup() {
|
|
91
|
-
const e =
|
|
91
|
+
const e = G(), t = n(() => [
|
|
92
92
|
"or-data-grid-header-v3",
|
|
93
|
-
...
|
|
93
|
+
...Ue
|
|
94
94
|
]), s = n(() => [
|
|
95
|
-
...
|
|
95
|
+
...je
|
|
96
96
|
]);
|
|
97
97
|
return {
|
|
98
98
|
root: e,
|
|
@@ -100,29 +100,29 @@ const We = /* @__PURE__ */ R(Ie, [["render", Ee]]), ze = [
|
|
|
100
100
|
titleStyles: s
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
}),
|
|
103
|
+
}), Le = {
|
|
104
104
|
key: 1,
|
|
105
|
-
class: /* @__PURE__ */
|
|
105
|
+
class: /* @__PURE__ */ m(["grow"])
|
|
106
106
|
};
|
|
107
|
-
function
|
|
108
|
-
return r(),
|
|
107
|
+
function qe(e, t, s, b, h, f) {
|
|
108
|
+
return r(), y("div", {
|
|
109
109
|
ref: "root",
|
|
110
|
-
class:
|
|
110
|
+
class: m(e.rootStyles)
|
|
111
111
|
}, [
|
|
112
|
-
e.$slots.title ? (r(),
|
|
112
|
+
e.$slots.title ? (r(), y("div", {
|
|
113
113
|
key: 0,
|
|
114
|
-
class:
|
|
114
|
+
class: m(e.titleStyles)
|
|
115
115
|
}, [
|
|
116
116
|
c(e.$slots, "title")
|
|
117
|
-
], 2)) :
|
|
118
|
-
e.$slots.searching || e.$slots.extraActions ? (r(),
|
|
117
|
+
], 2)) : k("", !0),
|
|
118
|
+
e.$slots.searching || e.$slots.extraActions ? (r(), y("div", Le)) : k("", !0),
|
|
119
119
|
c(e.$slots, "searching"),
|
|
120
|
-
e.$slots.extraActions ? c(e.$slots, "extraActions", { key: 2 }) :
|
|
120
|
+
e.$slots.extraActions ? c(e.$slots, "extraActions", { key: 2 }) : k("", !0)
|
|
121
121
|
], 2);
|
|
122
122
|
}
|
|
123
|
-
const
|
|
124
|
-
var
|
|
125
|
-
const K = "52px",
|
|
123
|
+
const Be = /* @__PURE__ */ W(Ae, [["render", qe]]);
|
|
124
|
+
var w = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(w || {});
|
|
125
|
+
const K = "52px", _ = "42px", Ke = [
|
|
126
126
|
// Layout
|
|
127
127
|
"layout-row items-center",
|
|
128
128
|
// Spacing
|
|
@@ -158,23 +158,23 @@ const K = "52px", Z = "42px", Le = [
|
|
|
158
158
|
// Border (conditional override for last row/column)
|
|
159
159
|
"group-last:border-b-0",
|
|
160
160
|
"last:border-r-0"
|
|
161
|
-
],
|
|
161
|
+
], Xe = [
|
|
162
162
|
// interactivity
|
|
163
163
|
"interactivity-select",
|
|
164
164
|
// Typography
|
|
165
165
|
"truncate"
|
|
166
|
-
],
|
|
166
|
+
], Je = I({
|
|
167
167
|
name: "OrDataGridTableContentCell",
|
|
168
168
|
components: {
|
|
169
|
-
OrCheckbox:
|
|
170
|
-
OrDatePicker:
|
|
171
|
-
OrDateTimePicker:
|
|
172
|
-
OrInput:
|
|
173
|
-
OrRating:
|
|
174
|
-
OrSelect:
|
|
175
|
-
OrSwitch:
|
|
176
|
-
OrTagInput:
|
|
177
|
-
OrTimePicker:
|
|
169
|
+
OrCheckbox: ie,
|
|
170
|
+
OrDatePicker: De,
|
|
171
|
+
OrDateTimePicker: Se,
|
|
172
|
+
OrInput: Te,
|
|
173
|
+
OrRating: Ce,
|
|
174
|
+
OrSelect: Ge,
|
|
175
|
+
OrSwitch: Ve,
|
|
176
|
+
OrTagInput: Me,
|
|
177
|
+
OrTimePicker: Re
|
|
178
178
|
},
|
|
179
179
|
model: {
|
|
180
180
|
prop: "modelValue",
|
|
@@ -196,14 +196,14 @@ const K = "52px", Z = "42px", Le = [
|
|
|
196
196
|
},
|
|
197
197
|
variant: {
|
|
198
198
|
type: String,
|
|
199
|
-
default:
|
|
199
|
+
default: w.Standard
|
|
200
200
|
},
|
|
201
201
|
override: {
|
|
202
202
|
type: Boolean,
|
|
203
203
|
default: !1
|
|
204
204
|
},
|
|
205
205
|
stickyOffset: {
|
|
206
|
-
type: Number,
|
|
206
|
+
type: [Number, String],
|
|
207
207
|
default: 0
|
|
208
208
|
}
|
|
209
209
|
},
|
|
@@ -214,164 +214,164 @@ const K = "52px", Z = "42px", Le = [
|
|
|
214
214
|
"root"
|
|
215
215
|
],
|
|
216
216
|
setup(e, t) {
|
|
217
|
-
const s =
|
|
218
|
-
var
|
|
217
|
+
const s = G(), b = n(() => {
|
|
218
|
+
var d, S, E, M, H, F, o, l, v;
|
|
219
219
|
return [
|
|
220
220
|
"or-data-grid-table-content-cell-v3",
|
|
221
|
-
...
|
|
222
|
-
...(
|
|
223
|
-
...(
|
|
224
|
-
...((
|
|
225
|
-
...((
|
|
226
|
-
...(o = e.features) != null && o.resizing && ((
|
|
221
|
+
...Ke,
|
|
222
|
+
...(d = e.column) != null && d.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
|
|
223
|
+
...(S = e.features) != null && S.resizing && ((E = e.column) != null && E.name) && ((M = e.column) == null ? void 0 : M.resizing) !== !1 ? ["resizable"] : [],
|
|
224
|
+
...((H = e.column) == null ? void 0 : H.stickiness) === "start" ? ["border-r-1"] : [],
|
|
225
|
+
...((F = e.column) == null ? void 0 : F.stickiness) === "end" ? ["border-l-1"] : [],
|
|
226
|
+
...(o = e.features) != null && o.resizing && ((l = e.column) != null && l.name) && ((v = e.column) == null ? void 0 : v.resizing) !== !1 ? ["border-r-1"] : []
|
|
227
227
|
];
|
|
228
228
|
}), h = n(() => {
|
|
229
|
-
var
|
|
230
|
-
const
|
|
231
|
-
justifyContent: ((
|
|
229
|
+
var S;
|
|
230
|
+
const d = {
|
|
231
|
+
justifyContent: ((S = e.column) == null ? void 0 : S.alignment) || (e.column ? void 0 : "center")
|
|
232
232
|
};
|
|
233
233
|
if (e.column)
|
|
234
234
|
switch (e.column.stickiness) {
|
|
235
235
|
case "start":
|
|
236
|
-
Object.assign(
|
|
236
|
+
Object.assign(d, {
|
|
237
237
|
position: "sticky",
|
|
238
|
-
insetInlineStart:
|
|
238
|
+
insetInlineStart: e.stickyOffset,
|
|
239
239
|
zIndex: "2"
|
|
240
240
|
});
|
|
241
241
|
break;
|
|
242
242
|
case "end":
|
|
243
|
-
Object.assign(
|
|
243
|
+
Object.assign(d, {
|
|
244
244
|
position: "sticky",
|
|
245
|
-
insetInlineEnd:
|
|
245
|
+
insetInlineEnd: e.stickyOffset,
|
|
246
246
|
zIndex: "2"
|
|
247
247
|
});
|
|
248
248
|
break;
|
|
249
249
|
}
|
|
250
|
-
return
|
|
251
|
-
}),
|
|
252
|
-
var
|
|
253
|
-
const
|
|
250
|
+
return d;
|
|
251
|
+
}), f = n(() => {
|
|
252
|
+
var M, H, F, o, l;
|
|
253
|
+
const d = ((M = e.column) == null ? void 0 : M.wrapping) ?? (e.variant === w.Dynamic && !((H = e.column) != null && H.control)), S = ((o = (F = e.column) == null ? void 0 : F.control) == null ? void 0 : o.type) === "tags", E = (l = e.column) == null ? void 0 : l.fitContent;
|
|
254
254
|
return [
|
|
255
255
|
"layout-row items-center w-full min-w-0",
|
|
256
|
-
...
|
|
257
|
-
...
|
|
258
|
-
...
|
|
256
|
+
...S ? ["overflow-hidden"] : [],
|
|
257
|
+
...Xe.filter((v) => v !== "truncate"),
|
|
258
|
+
...d ? ["whitespace-pre-wrap break-words"] : E ? ["overflow-hidden"] : ["truncate"]
|
|
259
259
|
];
|
|
260
260
|
}), T = n(() => {
|
|
261
|
-
var
|
|
261
|
+
var d, S;
|
|
262
262
|
return {
|
|
263
|
-
minWidth: e.column && e.column.minWidth || (((
|
|
263
|
+
minWidth: e.column && e.column.minWidth || (((d = e.column) == null ? void 0 : d.name) === "_check" ? _ : K),
|
|
264
264
|
maxWidth: e.column && e.column.maxWidth,
|
|
265
|
-
justifyContent: ((
|
|
265
|
+
justifyContent: ((S = e.column) == null ? void 0 : S.alignment) || (e.column ? void 0 : "center")
|
|
266
266
|
};
|
|
267
|
-
}),
|
|
267
|
+
}), V = n({
|
|
268
268
|
get: () => e.modelValue,
|
|
269
|
-
set: (
|
|
270
|
-
t.emit("input",
|
|
269
|
+
set: (d) => {
|
|
270
|
+
t.emit("input", d);
|
|
271
271
|
}
|
|
272
272
|
}), C = n(() => {
|
|
273
|
-
var
|
|
274
|
-
return (
|
|
273
|
+
var d;
|
|
274
|
+
return (d = e.column) == null ? void 0 : d.control;
|
|
275
275
|
});
|
|
276
276
|
return {
|
|
277
277
|
root: s,
|
|
278
|
-
rootStyles:
|
|
278
|
+
rootStyles: b,
|
|
279
279
|
rootInlineStyles: h,
|
|
280
|
-
contentStyles:
|
|
280
|
+
contentStyles: f,
|
|
281
281
|
contentInlineStyles: T,
|
|
282
|
-
model:
|
|
282
|
+
model: V,
|
|
283
283
|
control: C,
|
|
284
284
|
DATA_GRID_DEFAULT_MIN_WIDTH: K
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
|
-
function
|
|
289
|
-
const T = g("OrInput"),
|
|
290
|
-
return r(),
|
|
288
|
+
function Qe(e, t, s, b, h, f) {
|
|
289
|
+
const T = g("OrInput"), V = g("OrRating"), C = g("OrSelect"), d = g("OrCheckbox"), S = g("OrSwitch"), E = g("OrDatePicker"), M = g("OrTimePicker"), H = g("OrDateTimePicker"), F = g("OrTagInput");
|
|
290
|
+
return r(), y("div", {
|
|
291
291
|
ref: "root",
|
|
292
|
-
class:
|
|
293
|
-
style:
|
|
292
|
+
class: m(e.rootStyles),
|
|
293
|
+
style: L(e.rootInlineStyles)
|
|
294
294
|
}, [
|
|
295
|
-
e.override ? c(e.$slots, "default", { key: 0 }) : e.control ? (r(),
|
|
295
|
+
e.override ? c(e.$slots, "default", { key: 0 }) : e.control ? (r(), y("div", {
|
|
296
296
|
key: 1,
|
|
297
|
-
class:
|
|
298
|
-
style:
|
|
297
|
+
class: m(e.contentStyles),
|
|
298
|
+
style: L(e.contentInlineStyles)
|
|
299
299
|
}, [
|
|
300
|
-
e.control.type === "text" ? (r(),
|
|
300
|
+
e.control.type === "text" ? (r(), $(T, {
|
|
301
301
|
key: 0,
|
|
302
302
|
modelValue: e.model,
|
|
303
303
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.model = o),
|
|
304
304
|
type: "text",
|
|
305
305
|
variant: "embedded"
|
|
306
|
-
}, null, 8, ["modelValue"])) :
|
|
307
|
-
e.control.type === "number" ? (r(),
|
|
306
|
+
}, null, 8, ["modelValue"])) : k("", !0),
|
|
307
|
+
e.control.type === "number" ? (r(), $(T, {
|
|
308
308
|
key: 1,
|
|
309
309
|
modelValue: e.model,
|
|
310
310
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => e.model = o),
|
|
311
311
|
type: "number",
|
|
312
312
|
variant: "embedded"
|
|
313
|
-
}, null, 8, ["modelValue"])) :
|
|
314
|
-
e.control.type === "rating" ? (r(),
|
|
313
|
+
}, null, 8, ["modelValue"])) : k("", !0),
|
|
314
|
+
e.control.type === "rating" ? (r(), $(V, {
|
|
315
315
|
key: 2,
|
|
316
316
|
modelValue: e.model,
|
|
317
317
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => e.model = o)
|
|
318
|
-
}, null, 8, ["modelValue"])) :
|
|
319
|
-
e.control.type === "select" ? (r(),
|
|
318
|
+
}, null, 8, ["modelValue"])) : k("", !0),
|
|
319
|
+
e.control.type === "select" ? (r(), $(C, {
|
|
320
320
|
key: 3,
|
|
321
321
|
modelValue: e.model,
|
|
322
322
|
"onUpdate:modelValue": t[3] || (t[3] = (o) => e.model = o),
|
|
323
323
|
options: e.control.options,
|
|
324
324
|
variant: "embedded",
|
|
325
325
|
anchor: e.root
|
|
326
|
-
}, null, 8, ["modelValue", "options", "anchor"])) :
|
|
327
|
-
e.control.type === "checkbox" ? (r(),
|
|
326
|
+
}, null, 8, ["modelValue", "options", "anchor"])) : k("", !0),
|
|
327
|
+
e.control.type === "checkbox" ? (r(), $(d, {
|
|
328
328
|
key: 4,
|
|
329
329
|
modelValue: e.model,
|
|
330
330
|
"onUpdate:modelValue": t[4] || (t[4] = (o) => e.model = o)
|
|
331
|
-
}, null, 8, ["modelValue"])) :
|
|
332
|
-
e.control.type === "switch" ? (r(),
|
|
331
|
+
}, null, 8, ["modelValue"])) : k("", !0),
|
|
332
|
+
e.control.type === "switch" ? (r(), $(S, {
|
|
333
333
|
key: 5,
|
|
334
334
|
modelValue: e.model,
|
|
335
335
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => e.model = o)
|
|
336
|
-
}, null, 8, ["modelValue"])) :
|
|
337
|
-
e.control.type === "date" ? (r(),
|
|
336
|
+
}, null, 8, ["modelValue"])) : k("", !0),
|
|
337
|
+
e.control.type === "date" ? (r(), $(E, {
|
|
338
338
|
key: 6,
|
|
339
339
|
modelValue: e.model,
|
|
340
340
|
"onUpdate:modelValue": t[6] || (t[6] = (o) => e.model = o),
|
|
341
341
|
variant: "embedded",
|
|
342
342
|
anchor: e.root
|
|
343
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
344
|
-
e.control.type === "time" ? (r(),
|
|
343
|
+
}, null, 8, ["modelValue", "anchor"])) : k("", !0),
|
|
344
|
+
e.control.type === "time" ? (r(), $(M, {
|
|
345
345
|
key: 7,
|
|
346
346
|
modelValue: e.model,
|
|
347
347
|
"onUpdate:modelValue": t[7] || (t[7] = (o) => e.model = o),
|
|
348
348
|
variant: "embedded",
|
|
349
349
|
anchor: e.root
|
|
350
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
351
|
-
e.control.type === "datetime" ? (r(),
|
|
350
|
+
}, null, 8, ["modelValue", "anchor"])) : k("", !0),
|
|
351
|
+
e.control.type === "datetime" ? (r(), $(H, {
|
|
352
352
|
key: 8,
|
|
353
353
|
modelValue: e.model,
|
|
354
354
|
"onUpdate:modelValue": t[8] || (t[8] = (o) => e.model = o),
|
|
355
355
|
variant: "embedded",
|
|
356
356
|
anchor: e.root
|
|
357
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
358
|
-
e.control.type === "tags" ? (r(),
|
|
357
|
+
}, null, 8, ["modelValue", "anchor"])) : k("", !0),
|
|
358
|
+
e.control.type === "tags" ? (r(), $(F, {
|
|
359
359
|
key: 9,
|
|
360
360
|
modelValue: e.model,
|
|
361
361
|
"onUpdate:modelValue": t[9] || (t[9] = (o) => e.model = o),
|
|
362
362
|
variant: "embedded",
|
|
363
|
-
class:
|
|
364
|
-
}, null, 8, ["modelValue"])) :
|
|
365
|
-
], 6)) : (r(),
|
|
363
|
+
class: m(["grow min-w-0"])
|
|
364
|
+
}, null, 8, ["modelValue"])) : k("", !0)
|
|
365
|
+
], 6)) : (r(), y("div", {
|
|
366
366
|
key: 2,
|
|
367
|
-
class:
|
|
368
|
-
style:
|
|
367
|
+
class: m(e.contentStyles),
|
|
368
|
+
style: L(e.contentInlineStyles)
|
|
369
369
|
}, [
|
|
370
370
|
c(e.$slots, "default")
|
|
371
371
|
], 6))
|
|
372
372
|
], 6);
|
|
373
373
|
}
|
|
374
|
-
const
|
|
374
|
+
const Ye = /* @__PURE__ */ W(Je, [["render", Qe]]), Ze = [
|
|
375
375
|
// Layout
|
|
376
376
|
"grid grid-cols-[subgrid] col-span-full",
|
|
377
377
|
// Stacking context
|
|
@@ -392,24 +392,24 @@ const Ke = /* @__PURE__ */ R(qe, [["render", Be]]), Xe = [
|
|
|
392
392
|
// Theme (selected + hover / children)
|
|
393
393
|
"children:hover:selected:theme-background-surface-3",
|
|
394
394
|
"dark:children:hover:selected:theme-background-surface-3-dark"
|
|
395
|
-
],
|
|
396
|
-
[
|
|
395
|
+
], _e = {
|
|
396
|
+
[w.Standard]: [
|
|
397
397
|
// Box
|
|
398
398
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
399
399
|
],
|
|
400
|
-
[
|
|
400
|
+
[w.Comfortable]: [
|
|
401
401
|
// Box
|
|
402
402
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
403
403
|
],
|
|
404
|
-
[
|
|
404
|
+
[w.Compact]: [
|
|
405
405
|
// Box
|
|
406
406
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
407
407
|
],
|
|
408
|
-
[
|
|
408
|
+
[w.Dynamic]: [
|
|
409
409
|
// Box
|
|
410
410
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
411
411
|
]
|
|
412
|
-
},
|
|
412
|
+
}, xe = I({
|
|
413
413
|
name: "OrDataGridTableContentRow",
|
|
414
414
|
props: {
|
|
415
415
|
variant: {
|
|
@@ -429,10 +429,10 @@ const Ke = /* @__PURE__ */ R(qe, [["render", Be]]), Xe = [
|
|
|
429
429
|
"root"
|
|
430
430
|
],
|
|
431
431
|
setup(e) {
|
|
432
|
-
const t =
|
|
432
|
+
const t = G(), s = n(() => [
|
|
433
433
|
"or-data-grid-table-content-row-v3",
|
|
434
|
-
...
|
|
435
|
-
...
|
|
434
|
+
...Ze,
|
|
435
|
+
..._e[e.variant],
|
|
436
436
|
...e.interactive ? ["cursor-pointer"] : []
|
|
437
437
|
]);
|
|
438
438
|
return {
|
|
@@ -440,28 +440,28 @@ const Ke = /* @__PURE__ */ R(qe, [["render", Be]]), Xe = [
|
|
|
440
440
|
rootStyles: s
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
|
-
}),
|
|
444
|
-
function
|
|
445
|
-
return r(),
|
|
443
|
+
}), et = ["selected"];
|
|
444
|
+
function tt(e, t, s, b, h, f) {
|
|
445
|
+
return r(), y("div", {
|
|
446
446
|
ref: "root",
|
|
447
|
-
class:
|
|
447
|
+
class: m(e.rootStyles),
|
|
448
448
|
selected: e.selected
|
|
449
449
|
}, [
|
|
450
450
|
c(e.$slots, "default")
|
|
451
|
-
], 10,
|
|
451
|
+
], 10, et);
|
|
452
452
|
}
|
|
453
|
-
const
|
|
453
|
+
const at = /* @__PURE__ */ W(xe, [["render", tt]]), ot = [
|
|
454
454
|
// Layout
|
|
455
455
|
"contents"
|
|
456
|
-
],
|
|
456
|
+
], rt = I({
|
|
457
457
|
name: "OrDataGridTableContent",
|
|
458
458
|
expose: [
|
|
459
459
|
"root"
|
|
460
460
|
],
|
|
461
461
|
setup() {
|
|
462
|
-
const e =
|
|
462
|
+
const e = G(), t = n(() => [
|
|
463
463
|
"or-data-grid-table-content-v3",
|
|
464
|
-
...
|
|
464
|
+
...ot
|
|
465
465
|
]);
|
|
466
466
|
return {
|
|
467
467
|
root: e,
|
|
@@ -469,15 +469,15 @@ const _e = /* @__PURE__ */ R(Qe, [["render", Ze]]), xe = [
|
|
|
469
469
|
};
|
|
470
470
|
}
|
|
471
471
|
});
|
|
472
|
-
function
|
|
473
|
-
return r(),
|
|
472
|
+
function nt(e, t, s, b, h, f) {
|
|
473
|
+
return r(), y("div", {
|
|
474
474
|
ref: "root",
|
|
475
|
-
class:
|
|
475
|
+
class: m(e.rootStyles)
|
|
476
476
|
}, [
|
|
477
477
|
c(e.$slots, "default")
|
|
478
478
|
], 2);
|
|
479
479
|
}
|
|
480
|
-
const
|
|
480
|
+
const st = /* @__PURE__ */ W(rt, [["render", nt]]), lt = [
|
|
481
481
|
// Layout
|
|
482
482
|
"layout-row",
|
|
483
483
|
// Spacing
|
|
@@ -487,15 +487,15 @@ const at = /* @__PURE__ */ R(et, [["render", tt]]), ot = [
|
|
|
487
487
|
// Theme
|
|
488
488
|
"theme-border-transparent border-1",
|
|
489
489
|
"dark:theme-border-transparent-dark"
|
|
490
|
-
],
|
|
490
|
+
], it = I({
|
|
491
491
|
name: "OrDataGridTableFooterCell",
|
|
492
492
|
expose: [
|
|
493
493
|
"root"
|
|
494
494
|
],
|
|
495
495
|
setup() {
|
|
496
|
-
const e =
|
|
496
|
+
const e = G(), t = n(() => [
|
|
497
497
|
"or-data-grid-table-footer-cell-v3",
|
|
498
|
-
...
|
|
498
|
+
...lt
|
|
499
499
|
]);
|
|
500
500
|
return {
|
|
501
501
|
root: e,
|
|
@@ -503,15 +503,15 @@ const at = /* @__PURE__ */ R(et, [["render", tt]]), ot = [
|
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
|
-
function
|
|
507
|
-
return r(),
|
|
506
|
+
function dt(e, t, s, b, h, f) {
|
|
507
|
+
return r(), y("div", {
|
|
508
508
|
ref: "root",
|
|
509
|
-
class:
|
|
509
|
+
class: m(e.rootStyles)
|
|
510
510
|
}, [
|
|
511
511
|
c(e.$slots, "default")
|
|
512
512
|
], 2);
|
|
513
513
|
}
|
|
514
|
-
const
|
|
514
|
+
const ct = /* @__PURE__ */ W(it, [["render", dt]]), ut = [
|
|
515
515
|
// Layout
|
|
516
516
|
"grid grid-cols-1",
|
|
517
517
|
// Typography
|
|
@@ -524,24 +524,24 @@ const st = /* @__PURE__ */ R(rt, [["render", nt]]), lt = [
|
|
|
524
524
|
"dark:children:theme-foreground-default-dark",
|
|
525
525
|
"children:theme-background-default",
|
|
526
526
|
"dark:children:theme-background-default-dark"
|
|
527
|
-
],
|
|
528
|
-
[
|
|
527
|
+
], mt = {
|
|
528
|
+
[w.Standard]: [
|
|
529
529
|
// Box
|
|
530
530
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
531
531
|
],
|
|
532
|
-
[
|
|
532
|
+
[w.Comfortable]: [
|
|
533
533
|
// Box
|
|
534
534
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
535
535
|
],
|
|
536
|
-
[
|
|
536
|
+
[w.Compact]: [
|
|
537
537
|
// Box
|
|
538
538
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
539
539
|
],
|
|
540
|
-
[
|
|
540
|
+
[w.Dynamic]: [
|
|
541
541
|
// Box
|
|
542
542
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
543
543
|
]
|
|
544
|
-
},
|
|
544
|
+
}, ft = I({
|
|
545
545
|
name: "OrDataGridTableFooterRow",
|
|
546
546
|
props: {
|
|
547
547
|
variant: {
|
|
@@ -553,10 +553,10 @@ const st = /* @__PURE__ */ R(rt, [["render", nt]]), lt = [
|
|
|
553
553
|
"root"
|
|
554
554
|
],
|
|
555
555
|
setup(e) {
|
|
556
|
-
const t =
|
|
556
|
+
const t = G(), s = n(() => [
|
|
557
557
|
"or-data-grid-table-footer-row-v3",
|
|
558
|
-
...
|
|
559
|
-
...
|
|
558
|
+
...ut,
|
|
559
|
+
...mt[e.variant]
|
|
560
560
|
]);
|
|
561
561
|
return {
|
|
562
562
|
root: t,
|
|
@@ -564,26 +564,26 @@ const st = /* @__PURE__ */ R(rt, [["render", nt]]), lt = [
|
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
|
-
function
|
|
568
|
-
return r(),
|
|
567
|
+
function gt(e, t, s, b, h, f) {
|
|
568
|
+
return r(), y("div", {
|
|
569
569
|
ref: "root",
|
|
570
|
-
class:
|
|
570
|
+
class: m(e.rootStyles)
|
|
571
571
|
}, [
|
|
572
572
|
c(e.$slots, "default")
|
|
573
573
|
], 2);
|
|
574
574
|
}
|
|
575
|
-
const
|
|
575
|
+
const ht = /* @__PURE__ */ W(ft, [["render", gt]]), pt = [
|
|
576
576
|
// Layout
|
|
577
577
|
"contents"
|
|
578
|
-
],
|
|
578
|
+
], yt = I({
|
|
579
579
|
name: "OrDataGridTableFooter",
|
|
580
580
|
expose: [
|
|
581
581
|
"root"
|
|
582
582
|
],
|
|
583
583
|
setup() {
|
|
584
|
-
const e =
|
|
584
|
+
const e = G(), t = n(() => [
|
|
585
585
|
"or-data-grid-table-footer-v3",
|
|
586
|
-
...
|
|
586
|
+
...pt
|
|
587
587
|
]);
|
|
588
588
|
return {
|
|
589
589
|
root: e,
|
|
@@ -591,15 +591,15 @@ const ut = /* @__PURE__ */ R(dt, [["render", ct]]), mt = [
|
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
|
-
function
|
|
595
|
-
return r(),
|
|
594
|
+
function vt(e, t, s, b, h, f) {
|
|
595
|
+
return r(), y("div", {
|
|
596
596
|
ref: "root",
|
|
597
|
-
class:
|
|
597
|
+
class: m(e.rootStyles)
|
|
598
598
|
}, [
|
|
599
599
|
c(e.$slots, "default")
|
|
600
600
|
], 2);
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const kt = /* @__PURE__ */ W(yt, [["render", vt]]), bt = [
|
|
603
603
|
// Layout
|
|
604
604
|
"layout-row items-center",
|
|
605
605
|
// Spacing
|
|
@@ -623,7 +623,7 @@ const ht = /* @__PURE__ */ R(ft, [["render", gt]]), pt = [
|
|
|
623
623
|
"relative",
|
|
624
624
|
// Border (conditional override for last column)
|
|
625
625
|
"last:border-r-0"
|
|
626
|
-
],
|
|
626
|
+
], Ot = [
|
|
627
627
|
// Position
|
|
628
628
|
"absolute top-0 bottom-0 end-0 z-50",
|
|
629
629
|
// Box
|
|
@@ -634,10 +634,10 @@ const ht = /* @__PURE__ */ R(ft, [["render", gt]]), pt = [
|
|
|
634
634
|
"dark:hover:theme-background-primary-dark",
|
|
635
635
|
"active:theme-background-primary",
|
|
636
636
|
"dark:active:theme-background-primary-dark"
|
|
637
|
-
],
|
|
637
|
+
], $t = I({
|
|
638
638
|
name: "OrDataGridTableHeaderCell",
|
|
639
639
|
components: {
|
|
640
|
-
OrIcon:
|
|
640
|
+
OrIcon: Ie
|
|
641
641
|
},
|
|
642
642
|
model: {
|
|
643
643
|
prop: "modelValue",
|
|
@@ -657,7 +657,7 @@ const ht = /* @__PURE__ */ R(ft, [["render", gt]]), pt = [
|
|
|
657
657
|
default: void 0
|
|
658
658
|
},
|
|
659
659
|
stickyOffset: {
|
|
660
|
-
type: Number,
|
|
660
|
+
type: [Number, String],
|
|
661
661
|
default: 0
|
|
662
662
|
},
|
|
663
663
|
override: {
|
|
@@ -675,183 +675,198 @@ const ht = /* @__PURE__ */ R(ft, [["render", gt]]), pt = [
|
|
|
675
675
|
"root"
|
|
676
676
|
],
|
|
677
677
|
setup(e, t) {
|
|
678
|
-
const s =
|
|
679
|
-
var o,
|
|
680
|
-
return !!((o = e.features) != null && o.sorting) && !!((
|
|
678
|
+
const s = G(), b = n(() => {
|
|
679
|
+
var o, l, v;
|
|
680
|
+
return !!((o = e.features) != null && o.sorting) && !!((l = e.column) != null && l.name) && ((v = e.column) == null ? void 0 : v.sorting) !== !1;
|
|
681
681
|
}), h = n(() => {
|
|
682
|
-
var o,
|
|
683
|
-
return !!((o = e.features) != null && o.resizing) && !!((
|
|
684
|
-
}),
|
|
685
|
-
var o,
|
|
682
|
+
var o, l, v;
|
|
683
|
+
return !!((o = e.features) != null && o.resizing) && !!((l = e.column) != null && l.name) && ((v = e.column) == null ? void 0 : v.resizing) !== !1;
|
|
684
|
+
}), f = n(() => {
|
|
685
|
+
var o, l, v;
|
|
686
686
|
return [
|
|
687
687
|
"or-data-grid-table-header-cell-v3",
|
|
688
688
|
"relative",
|
|
689
|
-
...
|
|
689
|
+
...bt,
|
|
690
690
|
...(o = e.column) != null && o.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
|
|
691
691
|
...h.value ? ["resizable"] : [],
|
|
692
|
-
...
|
|
693
|
-
...((
|
|
692
|
+
...b.value ? ["interactivity-click"] : [],
|
|
693
|
+
...((l = e.column) == null ? void 0 : l.stickiness) === "start" ? ["border-r-1"] : [],
|
|
694
694
|
...((v = e.column) == null ? void 0 : v.stickiness) === "end" ? ["border-l-1"] : [],
|
|
695
695
|
...h.value ? ["border-r-1"] : []
|
|
696
696
|
];
|
|
697
697
|
}), T = n(() => [
|
|
698
698
|
"or-data-grid-table-header-cell-resize-handle-v3",
|
|
699
|
-
...
|
|
700
|
-
]),
|
|
701
|
-
var o,
|
|
699
|
+
...Ot
|
|
700
|
+
]), V = n(() => {
|
|
701
|
+
var o, l, v;
|
|
702
702
|
return {
|
|
703
|
-
minWidth: ((o = e.column) == null ? void 0 : o.minWidth) || (((
|
|
703
|
+
minWidth: ((o = e.column) == null ? void 0 : o.minWidth) || (((l = e.column) == null ? void 0 : l.name) === "_check" ? _ : K),
|
|
704
704
|
maxWidth: (v = e.column) == null ? void 0 : v.maxWidth,
|
|
705
705
|
overflow: "hidden"
|
|
706
706
|
};
|
|
707
707
|
}), C = n(() => {
|
|
708
|
-
var
|
|
708
|
+
var l;
|
|
709
709
|
const o = {
|
|
710
|
-
justifyContent: ((
|
|
710
|
+
justifyContent: ((l = e.column) == null ? void 0 : l.alignment) || (e.column ? void 0 : "center")
|
|
711
711
|
};
|
|
712
712
|
if (e.column)
|
|
713
713
|
switch (e.column.stickiness) {
|
|
714
714
|
case "start":
|
|
715
715
|
Object.assign(o, {
|
|
716
716
|
position: "sticky",
|
|
717
|
-
insetInlineStart:
|
|
717
|
+
insetInlineStart: e.stickyOffset,
|
|
718
718
|
zIndex: "11"
|
|
719
719
|
});
|
|
720
720
|
break;
|
|
721
721
|
case "end":
|
|
722
722
|
Object.assign(o, {
|
|
723
723
|
position: "sticky",
|
|
724
|
-
insetInlineEnd:
|
|
724
|
+
insetInlineEnd: e.stickyOffset,
|
|
725
725
|
zIndex: "11"
|
|
726
726
|
});
|
|
727
727
|
break;
|
|
728
728
|
}
|
|
729
729
|
return o;
|
|
730
|
-
}),
|
|
730
|
+
}), d = n({
|
|
731
731
|
get: () => {
|
|
732
|
-
var o,
|
|
733
|
-
if (
|
|
734
|
-
return ((o = e.modelValue) == null ? void 0 : o.column) === ((
|
|
732
|
+
var o, l;
|
|
733
|
+
if (b.value)
|
|
734
|
+
return ((o = e.modelValue) == null ? void 0 : o.column) === ((l = e.column) == null ? void 0 : l.name) ? e.modelValue : void 0;
|
|
735
735
|
},
|
|
736
736
|
set: (o) => {
|
|
737
737
|
t.emit("update:modelValue", o);
|
|
738
738
|
}
|
|
739
|
-
}),
|
|
739
|
+
}), S = n(() => {
|
|
740
740
|
var o;
|
|
741
741
|
return [
|
|
742
742
|
"layout-row items-center w-full min-w-0",
|
|
743
743
|
...((o = e.column) == null ? void 0 : o.alignment) === "end" ? ["flex-row-reverse"] : []
|
|
744
744
|
];
|
|
745
|
-
}),
|
|
746
|
-
var o,
|
|
745
|
+
}), E = n(() => {
|
|
746
|
+
var o, l;
|
|
747
747
|
return {
|
|
748
|
-
justifyContent: ((o = e.column) == null ? void 0 : o.alignment) === "end" || (
|
|
748
|
+
justifyContent: ((o = e.column) == null ? void 0 : o.alignment) === "end" || (l = e.column) == null ? void 0 : l.alignment
|
|
749
749
|
};
|
|
750
750
|
});
|
|
751
|
-
function
|
|
751
|
+
function M() {
|
|
752
752
|
var o;
|
|
753
|
-
if (
|
|
754
|
-
if (
|
|
755
|
-
|
|
756
|
-
...
|
|
757
|
-
direction:
|
|
753
|
+
if (b.value)
|
|
754
|
+
if (d.value)
|
|
755
|
+
d.value = {
|
|
756
|
+
...d.value,
|
|
757
|
+
direction: d.value.direction === "asc" ? "desc" : "asc"
|
|
758
758
|
};
|
|
759
759
|
else {
|
|
760
760
|
if (!e.column)
|
|
761
761
|
throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
|
|
762
|
-
|
|
762
|
+
d.value = {
|
|
763
763
|
column: ((o = e.column) == null ? void 0 : o.name) || "_check",
|
|
764
764
|
direction: "asc"
|
|
765
765
|
};
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
var
|
|
770
|
-
const
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
768
|
+
function H(o) {
|
|
769
|
+
var B;
|
|
770
|
+
const l = o.pageX, v = ((B = s.value) == null ? void 0 : B.offsetWidth) || 0;
|
|
771
|
+
let R = null;
|
|
772
|
+
const P = (X) => {
|
|
773
|
+
R === null && (R = requestAnimationFrame(() => {
|
|
774
|
+
var i, u, A;
|
|
775
|
+
const J = X.pageX - l;
|
|
776
|
+
let U = Math.max(0, v + J);
|
|
777
|
+
const j = ((i = e.column) == null ? void 0 : i.minWidth) || (((u = e.column) == null ? void 0 : u.name) === "_check" ? _ : K);
|
|
778
|
+
if (j && (j.endsWith("px") || !isNaN(Number(j)))) {
|
|
779
|
+
const Q = parseInt(j, 10);
|
|
780
|
+
U = Math.max(U, Q);
|
|
781
|
+
}
|
|
782
|
+
if ((A = e.column) != null && A.maxWidth && (e.column.maxWidth.endsWith("px") || !isNaN(Number(e.column.maxWidth)))) {
|
|
783
|
+
const Q = parseInt(e.column.maxWidth, 10);
|
|
784
|
+
U = Math.min(U, Q);
|
|
785
|
+
}
|
|
786
|
+
t.emit("update:column-width", U), R = null;
|
|
787
|
+
}));
|
|
788
|
+
}, q = () => {
|
|
789
|
+
R !== null && (cancelAnimationFrame(R), R = null), document.removeEventListener("mousemove", P), document.removeEventListener("mouseup", q);
|
|
786
790
|
};
|
|
787
|
-
document.addEventListener("mousemove",
|
|
791
|
+
document.addEventListener("mousemove", P), document.addEventListener("mouseup", q);
|
|
788
792
|
}
|
|
789
|
-
const { width:
|
|
790
|
-
return
|
|
793
|
+
const { width: F } = $e(s, void 0, { box: "border-box" });
|
|
794
|
+
return de([
|
|
791
795
|
s,
|
|
792
|
-
|
|
796
|
+
F,
|
|
793
797
|
() => {
|
|
794
798
|
var o;
|
|
795
799
|
return (o = e.column) == null ? void 0 : o.stickiness;
|
|
800
|
+
},
|
|
801
|
+
() => {
|
|
802
|
+
var o;
|
|
803
|
+
return (o = e.column) == null ? void 0 : o.name;
|
|
796
804
|
}
|
|
797
805
|
], ([
|
|
798
806
|
o,
|
|
799
|
-
|
|
807
|
+
l
|
|
800
808
|
], [
|
|
809
|
+
,
|
|
810
|
+
,
|
|
811
|
+
,
|
|
801
812
|
v
|
|
802
813
|
]) => {
|
|
803
|
-
|
|
814
|
+
var R;
|
|
815
|
+
v && v !== ((R = e.column) == null ? void 0 : R.name) && t.emit("remove:scrollOffset", v), t.emit("update:scrollOffset", o, l, e.column);
|
|
816
|
+
}), pe(() => {
|
|
817
|
+
var o;
|
|
818
|
+
(o = e.column) != null && o.name && t.emit("remove:scrollOffset", e.column.name);
|
|
804
819
|
}), {
|
|
805
820
|
root: s,
|
|
806
|
-
rootStyles:
|
|
821
|
+
rootStyles: f,
|
|
807
822
|
rootInlineStyles: C,
|
|
808
|
-
headerContentStyles:
|
|
809
|
-
headerContentInlineStyles:
|
|
810
|
-
wrapInlineStyle:
|
|
823
|
+
headerContentStyles: S,
|
|
824
|
+
headerContentInlineStyles: E,
|
|
825
|
+
wrapInlineStyle: V,
|
|
811
826
|
resizeHandleStyles: T,
|
|
812
|
-
isSortable:
|
|
827
|
+
isSortable: b,
|
|
813
828
|
isResizable: h,
|
|
814
|
-
model:
|
|
815
|
-
toggleSorting:
|
|
816
|
-
onResizeStart:
|
|
829
|
+
model: d,
|
|
830
|
+
toggleSorting: M,
|
|
831
|
+
onResizeStart: H,
|
|
817
832
|
DATA_GRID_DEFAULT_MIN_WIDTH: K
|
|
818
833
|
};
|
|
819
834
|
}
|
|
820
835
|
});
|
|
821
|
-
function
|
|
836
|
+
function wt(e, t, s, b, h, f) {
|
|
822
837
|
const T = g("OrIcon");
|
|
823
|
-
return r(),
|
|
838
|
+
return r(), y("div", {
|
|
824
839
|
ref: "root",
|
|
825
|
-
class:
|
|
826
|
-
style:
|
|
827
|
-
onClick: t[2] || (t[2] = (
|
|
840
|
+
class: m(e.rootStyles),
|
|
841
|
+
style: L(e.rootInlineStyles),
|
|
842
|
+
onClick: t[2] || (t[2] = (V) => e.toggleSorting())
|
|
828
843
|
}, [
|
|
829
|
-
e.override ? c(e.$slots, "default", { key: 0 }) : (r(),
|
|
844
|
+
e.override ? c(e.$slots, "default", { key: 0 }) : (r(), y("div", {
|
|
830
845
|
key: 1,
|
|
831
|
-
class:
|
|
832
|
-
style:
|
|
846
|
+
class: m(e.headerContentStyles),
|
|
847
|
+
style: L(e.headerContentInlineStyles)
|
|
833
848
|
}, [
|
|
834
|
-
|
|
835
|
-
class:
|
|
836
|
-
style:
|
|
849
|
+
ye("div", {
|
|
850
|
+
class: m(["truncate"]),
|
|
851
|
+
style: L(e.wrapInlineStyle)
|
|
837
852
|
}, [
|
|
838
853
|
c(e.$slots, "default")
|
|
839
854
|
], 4),
|
|
840
|
-
e.model ? (r(),
|
|
855
|
+
e.model ? (r(), $(T, {
|
|
841
856
|
key: 0,
|
|
842
857
|
icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
|
|
843
|
-
}, null, 8, ["icon"])) :
|
|
858
|
+
}, null, 8, ["icon"])) : k("", !0)
|
|
844
859
|
], 6)),
|
|
845
|
-
e.isResizable ? (r(),
|
|
860
|
+
e.isResizable ? (r(), y("div", {
|
|
846
861
|
key: 2,
|
|
847
|
-
class:
|
|
848
|
-
onMousedown: t[0] || (t[0] =
|
|
849
|
-
onClick: t[1] || (t[1] =
|
|
862
|
+
class: m(e.resizeHandleStyles),
|
|
863
|
+
onMousedown: t[0] || (t[0] = se((...V) => e.onResizeStart && e.onResizeStart(...V), ["stop", "prevent"])),
|
|
864
|
+
onClick: t[1] || (t[1] = se(() => {
|
|
850
865
|
}, ["stop"]))
|
|
851
|
-
}, null, 34)) :
|
|
866
|
+
}, null, 34)) : k("", !0)
|
|
852
867
|
], 6);
|
|
853
868
|
}
|
|
854
|
-
const
|
|
869
|
+
const Dt = /* @__PURE__ */ W($t, [["render", wt]]), St = [
|
|
855
870
|
// Position
|
|
856
871
|
"sticky top-0 z-[10]",
|
|
857
872
|
// Layout
|
|
@@ -863,24 +878,24 @@ const bt = /* @__PURE__ */ R(yt, [["render", kt]]), Ot = [
|
|
|
863
878
|
"dark:children:theme-foreground-default-dark",
|
|
864
879
|
"children:theme-background-surface-variant-1",
|
|
865
880
|
"dark:children:theme-background-surface-variant-1-dark"
|
|
866
|
-
],
|
|
867
|
-
[
|
|
881
|
+
], Tt = {
|
|
882
|
+
[w.Standard]: [
|
|
868
883
|
// Box
|
|
869
884
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
870
885
|
],
|
|
871
|
-
[
|
|
886
|
+
[w.Comfortable]: [
|
|
872
887
|
// Box
|
|
873
888
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
874
889
|
],
|
|
875
|
-
[
|
|
890
|
+
[w.Compact]: [
|
|
876
891
|
// Box
|
|
877
892
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
878
893
|
],
|
|
879
|
-
[
|
|
894
|
+
[w.Dynamic]: [
|
|
880
895
|
// Box
|
|
881
896
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
882
897
|
]
|
|
883
|
-
},
|
|
898
|
+
}, Ct = I({
|
|
884
899
|
name: "OrDataGridTableHeaderRow",
|
|
885
900
|
props: {
|
|
886
901
|
variant: {
|
|
@@ -892,10 +907,10 @@ const bt = /* @__PURE__ */ R(yt, [["render", kt]]), Ot = [
|
|
|
892
907
|
"root"
|
|
893
908
|
],
|
|
894
909
|
setup(e) {
|
|
895
|
-
const t =
|
|
910
|
+
const t = G(), s = n(() => [
|
|
896
911
|
"or-data-grid-table-header-row-v3",
|
|
897
|
-
...
|
|
898
|
-
|
|
912
|
+
...St,
|
|
913
|
+
...Tt[e.variant]
|
|
899
914
|
]);
|
|
900
915
|
return {
|
|
901
916
|
root: t,
|
|
@@ -903,26 +918,26 @@ const bt = /* @__PURE__ */ R(yt, [["render", kt]]), Ot = [
|
|
|
903
918
|
};
|
|
904
919
|
}
|
|
905
920
|
});
|
|
906
|
-
function
|
|
907
|
-
return r(),
|
|
921
|
+
function Gt(e, t, s, b, h, f) {
|
|
922
|
+
return r(), y("div", {
|
|
908
923
|
ref: "root",
|
|
909
|
-
class:
|
|
924
|
+
class: m(e.rootStyles)
|
|
910
925
|
}, [
|
|
911
926
|
c(e.$slots, "default")
|
|
912
927
|
], 2);
|
|
913
928
|
}
|
|
914
|
-
const
|
|
929
|
+
const Vt = /* @__PURE__ */ W(Ct, [["render", Gt]]), Mt = [
|
|
915
930
|
// Layout
|
|
916
931
|
"contents"
|
|
917
|
-
],
|
|
932
|
+
], Rt = I({
|
|
918
933
|
name: "OrDataGridTableHeader",
|
|
919
934
|
expose: [
|
|
920
935
|
"root"
|
|
921
936
|
],
|
|
922
937
|
setup() {
|
|
923
|
-
const e =
|
|
938
|
+
const e = G(), t = n(() => [
|
|
924
939
|
"or-data-grid-table-header-v3",
|
|
925
|
-
...
|
|
940
|
+
...Mt
|
|
926
941
|
]);
|
|
927
942
|
return {
|
|
928
943
|
root: e,
|
|
@@ -930,15 +945,15 @@ const St = /* @__PURE__ */ R(wt, [["render", Dt]]), Tt = [
|
|
|
930
945
|
};
|
|
931
946
|
}
|
|
932
947
|
});
|
|
933
|
-
function
|
|
934
|
-
return r(),
|
|
948
|
+
function It(e, t, s, b, h, f) {
|
|
949
|
+
return r(), y("div", {
|
|
935
950
|
ref: "root",
|
|
936
|
-
class:
|
|
951
|
+
class: m(e.rootStyles)
|
|
937
952
|
}, [
|
|
938
953
|
c(e.$slots, "default")
|
|
939
954
|
], 2);
|
|
940
955
|
}
|
|
941
|
-
const
|
|
956
|
+
const Wt = /* @__PURE__ */ W(Rt, [["render", It]]), Et = [
|
|
942
957
|
// Layout
|
|
943
958
|
"layout-row justify-center items-center",
|
|
944
959
|
// Spacing
|
|
@@ -952,24 +967,24 @@ const Vt = /* @__PURE__ */ R(Ct, [["render", Gt]]), Mt = [
|
|
|
952
967
|
"dark:theme-foreground-default-dark",
|
|
953
968
|
"theme-background-default",
|
|
954
969
|
"dark:theme-background-default-dark"
|
|
955
|
-
],
|
|
956
|
-
[
|
|
970
|
+
], Ft = {
|
|
971
|
+
[w.Standard]: [
|
|
957
972
|
// Box
|
|
958
973
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
959
974
|
],
|
|
960
|
-
[
|
|
975
|
+
[w.Comfortable]: [
|
|
961
976
|
// Box
|
|
962
977
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
963
978
|
],
|
|
964
|
-
[
|
|
979
|
+
[w.Compact]: [
|
|
965
980
|
// Box
|
|
966
981
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
967
982
|
],
|
|
968
|
-
[
|
|
983
|
+
[w.Dynamic]: [
|
|
969
984
|
// Box
|
|
970
985
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
971
986
|
]
|
|
972
|
-
},
|
|
987
|
+
}, Ht = I({
|
|
973
988
|
name: "OrDataGridTablePlaceholder",
|
|
974
989
|
props: {
|
|
975
990
|
variant: {
|
|
@@ -981,10 +996,10 @@ const Vt = /* @__PURE__ */ R(Ct, [["render", Gt]]), Mt = [
|
|
|
981
996
|
"root"
|
|
982
997
|
],
|
|
983
998
|
setup(e) {
|
|
984
|
-
const t =
|
|
999
|
+
const t = G(), s = n(() => [
|
|
985
1000
|
"or-data-grid-table-placeholder-v3",
|
|
986
|
-
...
|
|
987
|
-
...
|
|
1001
|
+
...Et,
|
|
1002
|
+
...Ft[e.variant]
|
|
988
1003
|
]);
|
|
989
1004
|
return {
|
|
990
1005
|
root: t,
|
|
@@ -992,15 +1007,15 @@ const Vt = /* @__PURE__ */ R(Ct, [["render", Gt]]), Mt = [
|
|
|
992
1007
|
};
|
|
993
1008
|
}
|
|
994
1009
|
});
|
|
995
|
-
function
|
|
996
|
-
return r(),
|
|
1010
|
+
function zt(e, t, s, b, h, f) {
|
|
1011
|
+
return r(), y("div", {
|
|
997
1012
|
ref: "root",
|
|
998
|
-
class:
|
|
1013
|
+
class: m(e.rootStyles)
|
|
999
1014
|
}, [
|
|
1000
1015
|
c(e.$slots, "default")
|
|
1001
1016
|
], 2);
|
|
1002
1017
|
}
|
|
1003
|
-
const
|
|
1018
|
+
const Pt = /* @__PURE__ */ W(Ht, [["render", zt]]), Nt = [
|
|
1004
1019
|
// Layout
|
|
1005
1020
|
"grid content-start",
|
|
1006
1021
|
"w-full min-w-0 min-h-0",
|
|
@@ -1008,13 +1023,17 @@ const Et = /* @__PURE__ */ R(It, [["render", Ht]]), Wt = [
|
|
|
1008
1023
|
"overflow-auto",
|
|
1009
1024
|
// Interactivity
|
|
1010
1025
|
"interactivity-default"
|
|
1011
|
-
],
|
|
1026
|
+
], Ut = I({
|
|
1012
1027
|
name: "OrDataGridTable",
|
|
1013
1028
|
props: {
|
|
1014
1029
|
columns: {
|
|
1015
1030
|
type: Array,
|
|
1016
1031
|
required: !0
|
|
1017
1032
|
},
|
|
1033
|
+
columnWidths: {
|
|
1034
|
+
type: Object,
|
|
1035
|
+
default: () => ({})
|
|
1036
|
+
},
|
|
1018
1037
|
features: {
|
|
1019
1038
|
type: Object,
|
|
1020
1039
|
required: !0
|
|
@@ -1024,50 +1043,51 @@ const Et = /* @__PURE__ */ R(It, [["render", Ht]]), Wt = [
|
|
|
1024
1043
|
"root"
|
|
1025
1044
|
],
|
|
1026
1045
|
setup(e) {
|
|
1027
|
-
const t =
|
|
1046
|
+
const t = G(), s = n(() => [
|
|
1028
1047
|
"or-data-grid-table-v3",
|
|
1029
|
-
...
|
|
1030
|
-
]),
|
|
1031
|
-
const h = e.columns.map((
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1048
|
+
...Nt
|
|
1049
|
+
]), b = n(() => {
|
|
1050
|
+
const h = e.columns.map((f) => {
|
|
1051
|
+
const T = e.columnWidths[f.name] || f.width;
|
|
1052
|
+
if (T && (T.includes("minmax") || T.includes("calc")))
|
|
1053
|
+
return T;
|
|
1054
|
+
const V = T ?? "1fr", C = f.minWidth || (T ? K : f.fitContent || f.stickiness ? "max-content" : "120px"), d = f.maxWidth || (T ? V === "max-content" ? "max-content" : V : f.fitContent || f.minWidth || f.stickiness ? "max-content" : "1fr");
|
|
1055
|
+
return f.fitContent ? "max-content" : V.endsWith("px") ? V : `minmax(${C}, ${d})`;
|
|
1036
1056
|
});
|
|
1037
|
-
return e.features.selecting ? { gridTemplateColumns: `${
|
|
1057
|
+
return e.features.selecting ? { gridTemplateColumns: `${_} ${h.join(" ")}` } : { gridTemplateColumns: h.join(" ") };
|
|
1038
1058
|
});
|
|
1039
1059
|
return {
|
|
1040
1060
|
root: t,
|
|
1041
1061
|
rootStyles: s,
|
|
1042
|
-
rootInlineStyles:
|
|
1062
|
+
rootInlineStyles: b
|
|
1043
1063
|
};
|
|
1044
1064
|
}
|
|
1045
1065
|
});
|
|
1046
|
-
function
|
|
1047
|
-
return r(),
|
|
1066
|
+
function jt(e, t, s, b, h, f) {
|
|
1067
|
+
return r(), y("div", {
|
|
1048
1068
|
ref: "root",
|
|
1049
|
-
class:
|
|
1050
|
-
style:
|
|
1069
|
+
class: m(e.rootStyles),
|
|
1070
|
+
style: L(e.rootInlineStyles)
|
|
1051
1071
|
}, [
|
|
1052
1072
|
c(e.$slots, "default")
|
|
1053
1073
|
], 6);
|
|
1054
1074
|
}
|
|
1055
|
-
const
|
|
1075
|
+
const At = /* @__PURE__ */ W(Ut, [["render", jt]]), Lt = [
|
|
1056
1076
|
// Layout
|
|
1057
1077
|
"layout-row",
|
|
1058
1078
|
// Box
|
|
1059
1079
|
"h-2xl",
|
|
1060
1080
|
// Spacing
|
|
1061
1081
|
"gap-xl"
|
|
1062
|
-
],
|
|
1082
|
+
], qt = I({
|
|
1063
1083
|
name: "OrDataGridToolbar",
|
|
1064
1084
|
expose: [
|
|
1065
1085
|
"root"
|
|
1066
1086
|
],
|
|
1067
1087
|
setup() {
|
|
1068
|
-
const e =
|
|
1088
|
+
const e = G(), t = n(() => [
|
|
1069
1089
|
"or-data-grid-toolbar-v3",
|
|
1070
|
-
...
|
|
1090
|
+
...Lt
|
|
1071
1091
|
]);
|
|
1072
1092
|
return {
|
|
1073
1093
|
root: e,
|
|
@@ -1075,39 +1095,39 @@ const Nt = /* @__PURE__ */ R(zt, [["render", Ft]]), Pt = [
|
|
|
1075
1095
|
};
|
|
1076
1096
|
}
|
|
1077
1097
|
});
|
|
1078
|
-
function
|
|
1079
|
-
return r(),
|
|
1098
|
+
function Bt(e, t, s, b, h, f) {
|
|
1099
|
+
return r(), y("div", {
|
|
1080
1100
|
ref: "root",
|
|
1081
|
-
class:
|
|
1101
|
+
class: m(e.rootStyles)
|
|
1082
1102
|
}, [
|
|
1083
1103
|
c(e.$slots, "default")
|
|
1084
1104
|
], 2);
|
|
1085
1105
|
}
|
|
1086
|
-
const
|
|
1106
|
+
const Kt = /* @__PURE__ */ W(qt, [["render", Bt]]), Xt = [
|
|
1087
1107
|
// Position
|
|
1088
1108
|
"grid sticky z-10",
|
|
1089
1109
|
// Layout
|
|
1090
1110
|
"col-span-full"
|
|
1091
|
-
],
|
|
1092
|
-
[
|
|
1111
|
+
], Jt = {
|
|
1112
|
+
[w.Standard]: [
|
|
1093
1113
|
// Position
|
|
1094
1114
|
"top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
1095
1115
|
],
|
|
1096
|
-
[
|
|
1116
|
+
[w.Comfortable]: [
|
|
1097
1117
|
// Position
|
|
1098
1118
|
"top-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
1099
1119
|
],
|
|
1100
|
-
[
|
|
1120
|
+
[w.Compact]: [
|
|
1101
1121
|
// Position
|
|
1102
1122
|
"top-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
1103
1123
|
],
|
|
1104
|
-
[
|
|
1124
|
+
[w.Dynamic]: [
|
|
1105
1125
|
// Position
|
|
1106
1126
|
"top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
1107
1127
|
]
|
|
1108
|
-
},
|
|
1128
|
+
}, Qt = I({
|
|
1109
1129
|
components: {
|
|
1110
|
-
OrNotification:
|
|
1130
|
+
OrNotification: We
|
|
1111
1131
|
},
|
|
1112
1132
|
props: {
|
|
1113
1133
|
notification: {
|
|
@@ -1126,29 +1146,29 @@ const Lt = /* @__PURE__ */ R(Ut, [["render", jt]]), At = [
|
|
|
1126
1146
|
return {
|
|
1127
1147
|
rootStyles: n(() => [
|
|
1128
1148
|
"or-data-grid-notification-v3",
|
|
1129
|
-
...
|
|
1130
|
-
...
|
|
1149
|
+
...Xt,
|
|
1150
|
+
...Jt[e.variant]
|
|
1131
1151
|
])
|
|
1132
1152
|
};
|
|
1133
1153
|
}
|
|
1134
1154
|
});
|
|
1135
|
-
function
|
|
1155
|
+
function Yt(e, t, s, b, h, f) {
|
|
1136
1156
|
const T = g("OrNotification");
|
|
1137
|
-
return r(),
|
|
1138
|
-
class:
|
|
1157
|
+
return r(), y("div", {
|
|
1158
|
+
class: m(e.rootStyles)
|
|
1139
1159
|
}, [
|
|
1140
|
-
|
|
1160
|
+
z(T, ve(e.notification, {
|
|
1141
1161
|
class: "rounded-0 shadow-none",
|
|
1142
|
-
onClose: t[0] || (t[0] = (
|
|
1162
|
+
onClose: t[0] || (t[0] = (V) => e.$emit("close-notification"))
|
|
1143
1163
|
}), {
|
|
1144
|
-
default:
|
|
1145
|
-
e.$slots.notification ? c(e.$slots, "notification", { key: 0 }) :
|
|
1164
|
+
default: O(() => [
|
|
1165
|
+
e.$slots.notification ? c(e.$slots, "notification", { key: 0 }) : k("", !0)
|
|
1146
1166
|
]),
|
|
1147
1167
|
_: 3
|
|
1148
1168
|
}, 16)
|
|
1149
1169
|
], 2);
|
|
1150
1170
|
}
|
|
1151
|
-
const
|
|
1171
|
+
const Zt = /* @__PURE__ */ W(Qt, [["render", Yt]]), _t = [
|
|
1152
1172
|
// Layout
|
|
1153
1173
|
"grid col-span-full grid-cols-[subgrid]",
|
|
1154
1174
|
// Typography
|
|
@@ -1161,24 +1181,24 @@ const Xt = /* @__PURE__ */ R(Bt, [["render", Kt]]), Jt = [
|
|
|
1161
1181
|
"dark:children:theme-foreground-default-dark",
|
|
1162
1182
|
"children:theme-background-default",
|
|
1163
1183
|
"dark:children:theme-background-default-dark"
|
|
1164
|
-
],
|
|
1165
|
-
[
|
|
1184
|
+
], xt = {
|
|
1185
|
+
[w.Standard]: [
|
|
1166
1186
|
// Box
|
|
1167
1187
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
1168
1188
|
],
|
|
1169
|
-
[
|
|
1189
|
+
[w.Comfortable]: [
|
|
1170
1190
|
// Box
|
|
1171
1191
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
1172
1192
|
],
|
|
1173
|
-
[
|
|
1193
|
+
[w.Compact]: [
|
|
1174
1194
|
// Box
|
|
1175
1195
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
1176
1196
|
],
|
|
1177
|
-
[
|
|
1197
|
+
[w.Dynamic]: [
|
|
1178
1198
|
// Box
|
|
1179
1199
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
1180
1200
|
]
|
|
1181
|
-
},
|
|
1201
|
+
}, ea = I({
|
|
1182
1202
|
name: "OrDataGridTableExtraRow",
|
|
1183
1203
|
props: {
|
|
1184
1204
|
variant: {
|
|
@@ -1190,10 +1210,10 @@ const Xt = /* @__PURE__ */ R(Bt, [["render", Kt]]), Jt = [
|
|
|
1190
1210
|
"root"
|
|
1191
1211
|
],
|
|
1192
1212
|
setup(e) {
|
|
1193
|
-
const t =
|
|
1213
|
+
const t = G(), s = n(() => [
|
|
1194
1214
|
"or-data-grid-table-extra-row-v3",
|
|
1195
|
-
...
|
|
1196
|
-
...
|
|
1215
|
+
..._t,
|
|
1216
|
+
...xt[e.variant]
|
|
1197
1217
|
]);
|
|
1198
1218
|
return {
|
|
1199
1219
|
root: t,
|
|
@@ -1201,40 +1221,40 @@ const Xt = /* @__PURE__ */ R(Bt, [["render", Kt]]), Jt = [
|
|
|
1201
1221
|
};
|
|
1202
1222
|
}
|
|
1203
1223
|
});
|
|
1204
|
-
function
|
|
1205
|
-
return r(),
|
|
1224
|
+
function ta(e, t, s, b, h, f) {
|
|
1225
|
+
return r(), y("div", {
|
|
1206
1226
|
ref: "root",
|
|
1207
|
-
class:
|
|
1227
|
+
class: m(e.rootStyles)
|
|
1208
1228
|
}, [
|
|
1209
1229
|
c(e.$slots, "default")
|
|
1210
1230
|
], 2);
|
|
1211
1231
|
}
|
|
1212
|
-
const
|
|
1232
|
+
const aa = /* @__PURE__ */ W(ea, [["render", ta]]), oa = [
|
|
1213
1233
|
// Layout
|
|
1214
1234
|
"layout-column min-h-0"
|
|
1215
|
-
],
|
|
1235
|
+
], ra = I({
|
|
1216
1236
|
name: "OrDataGrid",
|
|
1217
1237
|
components: {
|
|
1218
|
-
OrCheckbox:
|
|
1219
|
-
OrDataGridFooter:
|
|
1220
|
-
OrDataGridHeader:
|
|
1221
|
-
OrDataGridTable:
|
|
1222
|
-
OrDataGridTableContent:
|
|
1223
|
-
OrDataGridTableContentCell:
|
|
1224
|
-
OrDataGridTableContentRow:
|
|
1225
|
-
OrDataGridTableFooter:
|
|
1226
|
-
OrDataGridTableFooterCell:
|
|
1227
|
-
OrDataGridTableFooterRow:
|
|
1228
|
-
OrDataGridTableExtraRow:
|
|
1229
|
-
OrDataGridTableHeader:
|
|
1230
|
-
OrDataGridTableHeaderCell:
|
|
1231
|
-
OrDataGridTableHeaderRow:
|
|
1232
|
-
OrDataGridTablePlaceholder:
|
|
1233
|
-
OrDataGridToolbar:
|
|
1234
|
-
OrDataGridNotification:
|
|
1235
|
-
OrPagination:
|
|
1236
|
-
OrSearch:
|
|
1237
|
-
OrSkeletonText:
|
|
1238
|
+
OrCheckbox: ie,
|
|
1239
|
+
OrDataGridFooter: Ne,
|
|
1240
|
+
OrDataGridHeader: Be,
|
|
1241
|
+
OrDataGridTable: At,
|
|
1242
|
+
OrDataGridTableContent: st,
|
|
1243
|
+
OrDataGridTableContentCell: Ye,
|
|
1244
|
+
OrDataGridTableContentRow: at,
|
|
1245
|
+
OrDataGridTableFooter: kt,
|
|
1246
|
+
OrDataGridTableFooterCell: ct,
|
|
1247
|
+
OrDataGridTableFooterRow: ht,
|
|
1248
|
+
OrDataGridTableExtraRow: aa,
|
|
1249
|
+
OrDataGridTableHeader: Wt,
|
|
1250
|
+
OrDataGridTableHeaderCell: Dt,
|
|
1251
|
+
OrDataGridTableHeaderRow: Vt,
|
|
1252
|
+
OrDataGridTablePlaceholder: Pt,
|
|
1253
|
+
OrDataGridToolbar: Kt,
|
|
1254
|
+
OrDataGridNotification: Zt,
|
|
1255
|
+
OrPagination: fe,
|
|
1256
|
+
OrSearch: ge,
|
|
1257
|
+
OrSkeletonText: he
|
|
1238
1258
|
},
|
|
1239
1259
|
model: {
|
|
1240
1260
|
prop: "modelValue",
|
|
@@ -1255,7 +1275,7 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1255
1275
|
},
|
|
1256
1276
|
variant: {
|
|
1257
1277
|
type: String,
|
|
1258
|
-
default: () =>
|
|
1278
|
+
default: () => w.Standard
|
|
1259
1279
|
},
|
|
1260
1280
|
features: {
|
|
1261
1281
|
type: Object,
|
|
@@ -1288,19 +1308,26 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1288
1308
|
"root"
|
|
1289
1309
|
],
|
|
1290
1310
|
setup(e, t) {
|
|
1291
|
-
const s =
|
|
1311
|
+
const s = G(), b = G(), h = G(), f = n(() => [
|
|
1292
1312
|
"or-data-grid-v3",
|
|
1293
|
-
...
|
|
1294
|
-
]), T = n(() =>
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1313
|
+
...oa
|
|
1314
|
+
]), T = n(() => {
|
|
1315
|
+
const a = {
|
|
1316
|
+
scrollPaddingInlineStart: `${[...R.values()].reduce((p, D) => p + D, 0)}px`,
|
|
1317
|
+
scrollPaddingInlineEnd: `${[...P.values()].reduce((p, D) => p + D, 0)}px`
|
|
1318
|
+
};
|
|
1319
|
+
return R.forEach((p, D) => {
|
|
1320
|
+
a[`--or-dg-col-width-${D}`] = `${p}px`;
|
|
1321
|
+
}), P.forEach((p, D) => {
|
|
1322
|
+
a[`--or-dg-col-width-${D}`] = `${p}px`;
|
|
1323
|
+
}), a;
|
|
1324
|
+
}), V = n({
|
|
1298
1325
|
get: () => !!e.items.length && e.items.every((a) => C.value.includes(a.id)),
|
|
1299
1326
|
set: (a) => {
|
|
1300
1327
|
a ? C.value = [
|
|
1301
1328
|
.../* @__PURE__ */ new Set([
|
|
1302
1329
|
...C.value,
|
|
1303
|
-
...e.items.map((
|
|
1330
|
+
...e.items.map((p) => p.id)
|
|
1304
1331
|
])
|
|
1305
1332
|
] : C.value = [];
|
|
1306
1333
|
}
|
|
@@ -1312,13 +1339,13 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1312
1339
|
set: (a) => {
|
|
1313
1340
|
t.emit("update:modelValue", {
|
|
1314
1341
|
selecting: a,
|
|
1315
|
-
filtering:
|
|
1316
|
-
searching:
|
|
1317
|
-
sorting:
|
|
1318
|
-
paging:
|
|
1342
|
+
filtering: d.value,
|
|
1343
|
+
searching: S.value,
|
|
1344
|
+
sorting: E.value,
|
|
1345
|
+
paging: M.value
|
|
1319
1346
|
});
|
|
1320
1347
|
}
|
|
1321
|
-
}),
|
|
1348
|
+
}), d = n({
|
|
1322
1349
|
get: () => {
|
|
1323
1350
|
var a;
|
|
1324
1351
|
return (a = e.modelValue) == null ? void 0 : a.filtering;
|
|
@@ -1327,15 +1354,15 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1327
1354
|
t.emit("update:modelValue", {
|
|
1328
1355
|
selecting: C.value,
|
|
1329
1356
|
filtering: a,
|
|
1330
|
-
searching:
|
|
1331
|
-
sorting:
|
|
1357
|
+
searching: S.value,
|
|
1358
|
+
sorting: E.value,
|
|
1332
1359
|
paging: {
|
|
1333
|
-
...
|
|
1360
|
+
...M.value,
|
|
1334
1361
|
offset: 0
|
|
1335
1362
|
}
|
|
1336
1363
|
});
|
|
1337
1364
|
}
|
|
1338
|
-
}),
|
|
1365
|
+
}), S = n({
|
|
1339
1366
|
get: () => {
|
|
1340
1367
|
var a;
|
|
1341
1368
|
return (a = e.modelValue) == null ? void 0 : a.searching;
|
|
@@ -1343,16 +1370,16 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1343
1370
|
set: (a) => {
|
|
1344
1371
|
t.emit("update:modelValue", {
|
|
1345
1372
|
selecting: C.value,
|
|
1346
|
-
filtering:
|
|
1373
|
+
filtering: d.value,
|
|
1347
1374
|
searching: a,
|
|
1348
|
-
sorting:
|
|
1375
|
+
sorting: E.value,
|
|
1349
1376
|
paging: {
|
|
1350
|
-
...
|
|
1377
|
+
...M.value,
|
|
1351
1378
|
offset: 0
|
|
1352
1379
|
}
|
|
1353
1380
|
});
|
|
1354
1381
|
}
|
|
1355
|
-
}),
|
|
1382
|
+
}), E = n({
|
|
1356
1383
|
get: () => {
|
|
1357
1384
|
var a;
|
|
1358
1385
|
return (a = e.modelValue) == null ? void 0 : a.sorting;
|
|
@@ -1360,16 +1387,16 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1360
1387
|
set: (a) => {
|
|
1361
1388
|
t.emit("update:modelValue", {
|
|
1362
1389
|
selecting: C.value,
|
|
1363
|
-
filtering:
|
|
1364
|
-
searching:
|
|
1390
|
+
filtering: d.value,
|
|
1391
|
+
searching: S.value,
|
|
1365
1392
|
sorting: a,
|
|
1366
1393
|
paging: {
|
|
1367
|
-
...
|
|
1394
|
+
...M.value,
|
|
1368
1395
|
offset: 0
|
|
1369
1396
|
}
|
|
1370
1397
|
});
|
|
1371
1398
|
}
|
|
1372
|
-
}),
|
|
1399
|
+
}), M = n({
|
|
1373
1400
|
get: () => {
|
|
1374
1401
|
var a;
|
|
1375
1402
|
return (a = e.modelValue) == null ? void 0 : a.paging;
|
|
@@ -1377,16 +1404,16 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1377
1404
|
set: (a) => {
|
|
1378
1405
|
t.emit("update:modelValue", {
|
|
1379
1406
|
selecting: C.value,
|
|
1380
|
-
filtering:
|
|
1381
|
-
searching:
|
|
1382
|
-
sorting:
|
|
1407
|
+
filtering: d.value,
|
|
1408
|
+
searching: S.value,
|
|
1409
|
+
sorting: E.value,
|
|
1383
1410
|
paging: a
|
|
1384
1411
|
});
|
|
1385
1412
|
}
|
|
1386
1413
|
});
|
|
1387
|
-
|
|
1414
|
+
de(() => {
|
|
1388
1415
|
var a;
|
|
1389
|
-
return (a =
|
|
1416
|
+
return (a = M.value) == null ? void 0 : a.offset;
|
|
1390
1417
|
}, () => {
|
|
1391
1418
|
var a;
|
|
1392
1419
|
(a = h.value) != null && a.root && h.value.root.scrollTo({
|
|
@@ -1394,131 +1421,131 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1394
1421
|
behavior: "smooth"
|
|
1395
1422
|
});
|
|
1396
1423
|
});
|
|
1397
|
-
const
|
|
1424
|
+
const H = n(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), F = n(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), o = n(() => {
|
|
1398
1425
|
var a;
|
|
1399
|
-
return ((a =
|
|
1400
|
-
}),
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
}))), V = S(/* @__PURE__ */ new Map()), H = S(/* @__PURE__ */ new Map()), q = n(() => {
|
|
1404
|
-
const a = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), E = [], ae = [];
|
|
1405
|
-
e.features.selecting && E.push({
|
|
1426
|
+
return ((a = b.value) == null ? void 0 : a.currentLimit) || 10;
|
|
1427
|
+
}), l = G({}), v = n(() => e.columns), R = le(/* @__PURE__ */ new Map()), P = le(/* @__PURE__ */ new Map()), q = n(() => {
|
|
1428
|
+
const a = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), D = [], ne = [];
|
|
1429
|
+
e.features.selecting && D.push({
|
|
1406
1430
|
name: "_check",
|
|
1407
1431
|
stickiness: "start",
|
|
1408
1432
|
alignment: "center"
|
|
1409
|
-
}), v.value.forEach((
|
|
1410
|
-
|
|
1433
|
+
}), v.value.forEach((N) => {
|
|
1434
|
+
N.stickiness === "start" ? D.push(N) : N.stickiness === "end" && ne.push(N);
|
|
1411
1435
|
});
|
|
1412
|
-
let
|
|
1413
|
-
|
|
1414
|
-
a.set(
|
|
1436
|
+
let x = "0px";
|
|
1437
|
+
D.forEach((N) => {
|
|
1438
|
+
a.set(N.name, x), x = `calc(${x} + var(--or-dg-col-width-${N.name}, 0px))`;
|
|
1415
1439
|
});
|
|
1416
|
-
let
|
|
1417
|
-
return [...
|
|
1418
|
-
|
|
1440
|
+
let ee = "0px";
|
|
1441
|
+
return [...ne].reverse().forEach((N) => {
|
|
1442
|
+
p.set(N.name, ee), ee = `calc(${ee} + var(--or-dg-col-width-${N.name}, 0px))`;
|
|
1419
1443
|
}), {
|
|
1420
1444
|
start: a,
|
|
1421
|
-
end:
|
|
1445
|
+
end: p
|
|
1422
1446
|
};
|
|
1423
1447
|
});
|
|
1424
|
-
function
|
|
1425
|
-
|
|
1448
|
+
function B(a) {
|
|
1449
|
+
S.value = a;
|
|
1426
1450
|
}
|
|
1427
|
-
function
|
|
1428
|
-
switch (
|
|
1451
|
+
function X(a, p, D) {
|
|
1452
|
+
switch (D.stickiness) {
|
|
1429
1453
|
case "start":
|
|
1430
|
-
|
|
1454
|
+
R.set(D.name, p), P.delete(D.name);
|
|
1431
1455
|
break;
|
|
1432
1456
|
case "end":
|
|
1433
|
-
|
|
1457
|
+
R.delete(D.name), P.set(D.name, p);
|
|
1434
1458
|
break;
|
|
1435
1459
|
default:
|
|
1436
|
-
|
|
1460
|
+
re(D.name);
|
|
1437
1461
|
break;
|
|
1438
1462
|
}
|
|
1439
1463
|
}
|
|
1440
|
-
function
|
|
1464
|
+
function J(a) {
|
|
1441
1465
|
e.interactiveRows && t.emit("hover:row", a);
|
|
1442
1466
|
}
|
|
1443
|
-
function
|
|
1467
|
+
function U(a) {
|
|
1444
1468
|
e.interactiveRows && t.emit("blur:row", a);
|
|
1445
1469
|
}
|
|
1446
|
-
function
|
|
1470
|
+
function j(a, p, D) {
|
|
1447
1471
|
e.interactiveRows && t.emit("hover:cell", {
|
|
1448
1472
|
item: a,
|
|
1449
|
-
columnName:
|
|
1450
|
-
value:
|
|
1473
|
+
columnName: p,
|
|
1474
|
+
value: D
|
|
1451
1475
|
});
|
|
1452
1476
|
}
|
|
1453
|
-
function
|
|
1477
|
+
function i(a, p, D) {
|
|
1454
1478
|
e.interactiveRows && t.emit("blur:cell", {
|
|
1455
1479
|
item: a,
|
|
1456
|
-
columnName:
|
|
1457
|
-
value:
|
|
1480
|
+
columnName: p,
|
|
1481
|
+
value: D
|
|
1458
1482
|
});
|
|
1459
1483
|
}
|
|
1460
|
-
function
|
|
1484
|
+
function u(a) {
|
|
1461
1485
|
e.interactiveRows && t.emit("click:row", a);
|
|
1462
1486
|
}
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1487
|
+
const A = we(ce, 500);
|
|
1488
|
+
function Q(a, p) {
|
|
1489
|
+
l.value = {
|
|
1490
|
+
...l.value,
|
|
1491
|
+
[a.name]: `${p}px`
|
|
1492
|
+
}, e.features.storageKey && A();
|
|
1468
1493
|
}
|
|
1469
|
-
function
|
|
1494
|
+
function ce() {
|
|
1470
1495
|
if (typeof window > "u" || !e.features.storageKey) return;
|
|
1471
1496
|
const a = {};
|
|
1472
|
-
v.value.forEach((
|
|
1473
|
-
|
|
1497
|
+
v.value.forEach((p) => {
|
|
1498
|
+
const D = l.value[p.name] || p.width;
|
|
1499
|
+
p.name && D && (a[p.name] = D);
|
|
1474
1500
|
}), localStorage.setItem(`or-data-grid-v3-widths-${e.features.storageKey}`, JSON.stringify(a));
|
|
1475
1501
|
}
|
|
1476
|
-
function
|
|
1502
|
+
function ue() {
|
|
1477
1503
|
if (!(typeof window > "u" || !e.features.storageKey))
|
|
1478
1504
|
try {
|
|
1479
1505
|
const a = localStorage.getItem(`or-data-grid-v3-widths-${e.features.storageKey}`);
|
|
1480
1506
|
if (a) {
|
|
1481
|
-
const
|
|
1482
|
-
|
|
1507
|
+
const p = JSON.parse(a);
|
|
1508
|
+
l.value = p;
|
|
1483
1509
|
}
|
|
1484
1510
|
} catch (a) {
|
|
1485
1511
|
console.error("[OrDataGrid]: Failed to load column widths from localStorage", a);
|
|
1486
1512
|
}
|
|
1487
1513
|
}
|
|
1488
|
-
|
|
1489
|
-
|
|
1514
|
+
ke(() => {
|
|
1515
|
+
ue();
|
|
1490
1516
|
});
|
|
1491
|
-
function
|
|
1492
|
-
|
|
1517
|
+
function re(a) {
|
|
1518
|
+
R.delete(a), P.delete(a);
|
|
1493
1519
|
}
|
|
1494
|
-
function
|
|
1520
|
+
function me(a) {
|
|
1495
1521
|
a.currentTarget.scrollIntoView({ block: "nearest" });
|
|
1496
1522
|
}
|
|
1497
1523
|
return {
|
|
1498
1524
|
root: s,
|
|
1499
|
-
rootStyles:
|
|
1500
|
-
pagination:
|
|
1525
|
+
rootStyles: f,
|
|
1526
|
+
pagination: b,
|
|
1501
1527
|
tableInlineStyles: T,
|
|
1502
|
-
selectingIndicator:
|
|
1503
|
-
showSelectingCouter:
|
|
1504
|
-
selectingDisabled:
|
|
1528
|
+
selectingIndicator: V,
|
|
1529
|
+
showSelectingCouter: H,
|
|
1530
|
+
selectingDisabled: F,
|
|
1505
1531
|
skeletonsLength: o,
|
|
1506
1532
|
actualColumns: v,
|
|
1507
|
-
handleMouseEnterRow:
|
|
1508
|
-
handleMouseLeaveRow:
|
|
1509
|
-
handleMouseEnterCell:
|
|
1510
|
-
handleMouseLeaveCell:
|
|
1511
|
-
handleRowClick:
|
|
1512
|
-
updateColumnWidth:
|
|
1533
|
+
handleMouseEnterRow: J,
|
|
1534
|
+
handleMouseLeaveRow: U,
|
|
1535
|
+
handleMouseEnterCell: j,
|
|
1536
|
+
handleMouseLeaveCell: i,
|
|
1537
|
+
handleRowClick: u,
|
|
1538
|
+
updateColumnWidth: Q,
|
|
1539
|
+
columnWidths: l,
|
|
1513
1540
|
selectingModel: C,
|
|
1514
|
-
filteringModel:
|
|
1515
|
-
searchingModel:
|
|
1516
|
-
sortingModel:
|
|
1517
|
-
pagingModel:
|
|
1541
|
+
filteringModel: d,
|
|
1542
|
+
searchingModel: S,
|
|
1543
|
+
sortingModel: E,
|
|
1544
|
+
pagingModel: M,
|
|
1518
1545
|
stickyOffsets: q,
|
|
1519
|
-
updateScrollOffset:
|
|
1520
|
-
removeScrollOffset:
|
|
1521
|
-
updateSearchingModel:
|
|
1546
|
+
updateScrollOffset: X,
|
|
1547
|
+
removeScrollOffset: re,
|
|
1548
|
+
updateSearchingModel: B,
|
|
1522
1549
|
scrollToTop: () => {
|
|
1523
1550
|
var a;
|
|
1524
1551
|
(a = h.value) != null && a.root && h.value.root.scrollTo({
|
|
@@ -1526,37 +1553,37 @@ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
|
|
|
1526
1553
|
behavior: "smooth"
|
|
1527
1554
|
});
|
|
1528
1555
|
},
|
|
1529
|
-
scrollTo:
|
|
1530
|
-
onInput: (a,
|
|
1531
|
-
a[
|
|
1556
|
+
scrollTo: me,
|
|
1557
|
+
onInput: (a, p, D) => {
|
|
1558
|
+
a[p] = D, t.emit("update:item", a);
|
|
1532
1559
|
}
|
|
1533
1560
|
};
|
|
1534
1561
|
}
|
|
1535
1562
|
});
|
|
1536
|
-
function
|
|
1537
|
-
const T = g("OrSearch"),
|
|
1538
|
-
return r(),
|
|
1563
|
+
function na(e, t, s, b, h, f) {
|
|
1564
|
+
const T = g("OrSearch"), V = g("OrDataGridHeader"), C = g("OrDataGridToolbar"), d = g("OrCheckbox"), S = g("OrDataGridTableHeaderCell"), E = g("OrDataGridTableHeaderRow"), M = g("OrDataGridTableHeader"), H = g("OrDataGridNotification"), F = g("OrDataGridTableExtraRow"), o = g("OrSkeletonText"), l = g("OrDataGridTableContentCell"), v = g("OrDataGridTableContentRow"), R = g("OrDataGridTablePlaceholder"), P = g("OrDataGridTableContent"), q = g("OrDataGridTable"), B = g("OrDataGridTableFooterCell"), X = g("OrDataGridTableFooterRow"), J = g("OrDataGridTableFooter"), U = g("OrPagination"), j = g("OrDataGridFooter");
|
|
1565
|
+
return r(), y("div", {
|
|
1539
1566
|
ref: "root",
|
|
1540
|
-
class:
|
|
1567
|
+
class: m(e.rootStyles)
|
|
1541
1568
|
}, [
|
|
1542
|
-
e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (r(),
|
|
1569
|
+
e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (r(), $(V, {
|
|
1543
1570
|
key: 0,
|
|
1544
|
-
class:
|
|
1545
|
-
},
|
|
1571
|
+
class: m(["shrink-0"])
|
|
1572
|
+
}, te({ _: 2 }, [
|
|
1546
1573
|
e.$slots.title ? {
|
|
1547
1574
|
name: "title",
|
|
1548
|
-
fn:
|
|
1575
|
+
fn: O(() => [
|
|
1549
1576
|
c(e.$slots, "title")
|
|
1550
1577
|
]),
|
|
1551
1578
|
key: "0"
|
|
1552
1579
|
} : void 0,
|
|
1553
1580
|
e.features.searching ? {
|
|
1554
1581
|
name: "searching",
|
|
1555
|
-
fn:
|
|
1556
|
-
c(e.$slots, "search",
|
|
1557
|
-
|
|
1582
|
+
fn: O(() => [
|
|
1583
|
+
c(e.$slots, "search", be(Oe({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
|
|
1584
|
+
z(T, {
|
|
1558
1585
|
modelValue: e.searchingModel,
|
|
1559
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
1586
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchingModel = i)
|
|
1560
1587
|
}, null, 8, ["modelValue"])
|
|
1561
1588
|
])
|
|
1562
1589
|
]),
|
|
@@ -1564,34 +1591,35 @@ function ta(e, t, s, k, h, d) {
|
|
|
1564
1591
|
} : void 0,
|
|
1565
1592
|
e.$slots.extraActions ? {
|
|
1566
1593
|
name: "extraActions",
|
|
1567
|
-
fn:
|
|
1594
|
+
fn: O(() => [
|
|
1568
1595
|
c(e.$slots, "extraActions")
|
|
1569
1596
|
]),
|
|
1570
1597
|
key: "2"
|
|
1571
1598
|
} : void 0
|
|
1572
|
-
]), 1024)) :
|
|
1573
|
-
e.$slots.toolbar ? (r(),
|
|
1599
|
+
]), 1024)) : k("", !0),
|
|
1600
|
+
e.$slots.toolbar ? (r(), $(C, {
|
|
1574
1601
|
key: 1,
|
|
1575
|
-
class:
|
|
1602
|
+
class: m(["shrink-0"])
|
|
1576
1603
|
}, {
|
|
1577
|
-
default:
|
|
1604
|
+
default: O(() => [
|
|
1578
1605
|
c(e.$slots, "toolbar")
|
|
1579
1606
|
]),
|
|
1580
1607
|
_: 3
|
|
1581
|
-
})) :
|
|
1582
|
-
|
|
1608
|
+
})) : k("", !0),
|
|
1609
|
+
z(q, {
|
|
1583
1610
|
ref: "table",
|
|
1584
|
-
class:
|
|
1585
|
-
style:
|
|
1611
|
+
class: m(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
|
|
1612
|
+
style: L(e.tableInlineStyles),
|
|
1586
1613
|
columns: e.actualColumns,
|
|
1614
|
+
"column-widths": e.columnWidths,
|
|
1587
1615
|
features: e.features
|
|
1588
1616
|
}, {
|
|
1589
|
-
default:
|
|
1590
|
-
|
|
1591
|
-
default:
|
|
1592
|
-
|
|
1593
|
-
default:
|
|
1594
|
-
e.features.selecting ? (r(),
|
|
1617
|
+
default: O(() => [
|
|
1618
|
+
z(M, null, {
|
|
1619
|
+
default: O(() => [
|
|
1620
|
+
z(E, { variant: e.variant }, {
|
|
1621
|
+
default: O(() => [
|
|
1622
|
+
e.features.selecting ? (r(), $(S, {
|
|
1595
1623
|
key: 0,
|
|
1596
1624
|
column: { name: "_check", stickiness: "start", alignment: "center" },
|
|
1597
1625
|
"sticky-offset": e.stickyOffsets.start.get("_check"),
|
|
@@ -1600,29 +1628,29 @@ function ta(e, t, s, k, h, d) {
|
|
|
1600
1628
|
"onUpdate:scrollOffset": e.updateScrollOffset,
|
|
1601
1629
|
"onRemove:scrollOffset": e.removeScrollOffset
|
|
1602
1630
|
}, {
|
|
1603
|
-
default:
|
|
1604
|
-
|
|
1631
|
+
default: O(() => [
|
|
1632
|
+
z(d, {
|
|
1605
1633
|
modelValue: e.selectingIndicator,
|
|
1606
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
1634
|
+
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.selectingIndicator = i),
|
|
1607
1635
|
indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
|
|
1608
1636
|
disabled: e.selectingDisabled
|
|
1609
1637
|
}, null, 8, ["modelValue", "indeterminate", "disabled"])
|
|
1610
1638
|
]),
|
|
1611
1639
|
_: 1
|
|
1612
|
-
}, 8, ["sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset"])) :
|
|
1613
|
-
(r(!0),
|
|
1614
|
-
key:
|
|
1640
|
+
}, 8, ["sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset"])) : k("", !0),
|
|
1641
|
+
(r(!0), y(Y, null, Z(e.actualColumns, (i) => (r(), $(S, {
|
|
1642
|
+
key: i.name,
|
|
1615
1643
|
modelValue: e.sortingModel,
|
|
1616
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
1617
|
-
column:
|
|
1644
|
+
"onUpdate:modelValue": t[2] || (t[2] = (u) => e.sortingModel = u),
|
|
1645
|
+
column: i,
|
|
1618
1646
|
features: e.features,
|
|
1619
|
-
"sticky-offset":
|
|
1647
|
+
"sticky-offset": i.stickiness === "start" ? e.stickyOffsets.start.get(i.name) : i.stickiness === "end" ? e.stickyOffsets.end.get(i.name) : void 0,
|
|
1620
1648
|
"onUpdate:scrollOffset": e.updateScrollOffset,
|
|
1621
1649
|
"onRemove:scrollOffset": e.removeScrollOffset,
|
|
1622
|
-
"onUpdate:columnWidth": (
|
|
1650
|
+
"onUpdate:columnWidth": (u) => e.updateColumnWidth(i, u)
|
|
1623
1651
|
}, {
|
|
1624
|
-
default:
|
|
1625
|
-
|
|
1652
|
+
default: O(() => [
|
|
1653
|
+
ae(oe(i.label), 1)
|
|
1626
1654
|
]),
|
|
1627
1655
|
_: 2
|
|
1628
1656
|
}, 1032, ["modelValue", "column", "features", "sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset", "onUpdate:columnWidth"]))), 128))
|
|
@@ -1632,39 +1660,39 @@ function ta(e, t, s, k, h, d) {
|
|
|
1632
1660
|
]),
|
|
1633
1661
|
_: 1
|
|
1634
1662
|
}),
|
|
1635
|
-
e.notification ? (r(),
|
|
1663
|
+
e.notification ? (r(), $(H, {
|
|
1636
1664
|
key: 0,
|
|
1637
1665
|
notification: e.notification,
|
|
1638
1666
|
variant: e.variant,
|
|
1639
|
-
onCloseNotification: t[3] || (t[3] = (
|
|
1640
|
-
},
|
|
1667
|
+
onCloseNotification: t[3] || (t[3] = (i) => e.$emit("close-notification"))
|
|
1668
|
+
}, te({ _: 2 }, [
|
|
1641
1669
|
e.$slots.notification ? {
|
|
1642
1670
|
name: "notification",
|
|
1643
|
-
fn:
|
|
1671
|
+
fn: O(() => [
|
|
1644
1672
|
c(e.$slots, "notification")
|
|
1645
1673
|
]),
|
|
1646
1674
|
key: "0"
|
|
1647
1675
|
} : void 0
|
|
1648
|
-
]), 1032, ["notification", "variant"])) :
|
|
1649
|
-
|
|
1650
|
-
default:
|
|
1651
|
-
e.$slots["before-rows"] ? (r(),
|
|
1676
|
+
]), 1032, ["notification", "variant"])) : k("", !0),
|
|
1677
|
+
z(P, null, {
|
|
1678
|
+
default: O(() => [
|
|
1679
|
+
e.$slots["before-rows"] ? (r(), $(F, {
|
|
1652
1680
|
key: 0,
|
|
1653
1681
|
variant: e.variant,
|
|
1654
1682
|
class: "border-b-1"
|
|
1655
1683
|
}, {
|
|
1656
|
-
default:
|
|
1684
|
+
default: O(() => [
|
|
1657
1685
|
c(e.$slots, "before-rows")
|
|
1658
1686
|
]),
|
|
1659
1687
|
_: 3
|
|
1660
|
-
}, 8, ["variant"])) :
|
|
1661
|
-
e.loading ? (r(!0),
|
|
1662
|
-
key:
|
|
1688
|
+
}, 8, ["variant"])) : k("", !0),
|
|
1689
|
+
e.loading ? (r(!0), y(Y, { key: 1 }, Z(e.skeletonsLength, (i) => (r(), $(v, {
|
|
1690
|
+
key: i,
|
|
1663
1691
|
variant: e.variant,
|
|
1664
1692
|
interactive: e.interactiveRows
|
|
1665
1693
|
}, {
|
|
1666
|
-
default:
|
|
1667
|
-
e.features.selecting ? (r(),
|
|
1694
|
+
default: O(() => [
|
|
1695
|
+
e.features.selecting ? (r(), $(l, {
|
|
1668
1696
|
key: 0,
|
|
1669
1697
|
column: { name: "_check", stickiness: "start", alignment: "center" },
|
|
1670
1698
|
"sticky-offset": e.stickyOffsets.start.get("_check"),
|
|
@@ -1672,39 +1700,39 @@ function ta(e, t, s, k, h, d) {
|
|
|
1672
1700
|
override: !0,
|
|
1673
1701
|
class: "!px-none"
|
|
1674
1702
|
}, {
|
|
1675
|
-
default:
|
|
1676
|
-
|
|
1703
|
+
default: O(() => [
|
|
1704
|
+
z(o)
|
|
1677
1705
|
]),
|
|
1678
1706
|
_: 1
|
|
1679
|
-
}, 8, ["sticky-offset", "variant"])) :
|
|
1680
|
-
(r(!0),
|
|
1681
|
-
key:
|
|
1682
|
-
column:
|
|
1707
|
+
}, 8, ["sticky-offset", "variant"])) : k("", !0),
|
|
1708
|
+
(r(!0), y(Y, null, Z(e.actualColumns, (u) => (r(), $(l, {
|
|
1709
|
+
key: u.name,
|
|
1710
|
+
column: u,
|
|
1683
1711
|
features: e.features,
|
|
1684
|
-
"sticky-offset":
|
|
1712
|
+
"sticky-offset": u.stickiness === "start" ? e.stickyOffsets.start.get(u.name) : u.stickiness === "end" ? e.stickyOffsets.end.get(u.name) : void 0,
|
|
1685
1713
|
variant: e.variant,
|
|
1686
1714
|
override: !0
|
|
1687
1715
|
}, {
|
|
1688
|
-
default:
|
|
1689
|
-
c(e.$slots, "column-loading", { column:
|
|
1690
|
-
|
|
1716
|
+
default: O(() => [
|
|
1717
|
+
c(e.$slots, "column-loading", { column: u }, () => [
|
|
1718
|
+
z(o)
|
|
1691
1719
|
])
|
|
1692
1720
|
]),
|
|
1693
1721
|
_: 2
|
|
1694
1722
|
}, 1032, ["column", "features", "sticky-offset", "variant"]))), 128))
|
|
1695
1723
|
]),
|
|
1696
1724
|
_: 2
|
|
1697
|
-
}, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (r(!0),
|
|
1698
|
-
key:
|
|
1725
|
+
}, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (r(!0), y(Y, { key: 2 }, Z(e.items, (i) => (r(), $(v, {
|
|
1726
|
+
key: i.id,
|
|
1699
1727
|
variant: e.variant,
|
|
1700
|
-
selected: e.selectingModel.includes(
|
|
1728
|
+
selected: e.selectingModel.includes(i.id),
|
|
1701
1729
|
interactive: e.interactiveRows,
|
|
1702
|
-
onMouseenter: () => e.handleMouseEnterRow(
|
|
1703
|
-
onMouseleave: () => e.handleMouseLeaveRow(
|
|
1704
|
-
onClick: () => e.handleRowClick(
|
|
1730
|
+
onMouseenter: () => e.handleMouseEnterRow(i),
|
|
1731
|
+
onMouseleave: () => e.handleMouseLeaveRow(i),
|
|
1732
|
+
onClick: () => e.handleRowClick(i)
|
|
1705
1733
|
}, {
|
|
1706
|
-
default:
|
|
1707
|
-
e.features.selecting ? (r(),
|
|
1734
|
+
default: O(() => [
|
|
1735
|
+
e.features.selecting ? (r(), $(l, {
|
|
1708
1736
|
key: 0,
|
|
1709
1737
|
column: { name: "_check", stickiness: "start", alignment: "center" },
|
|
1710
1738
|
"sticky-offset": e.stickyOffsets.start.get("_check"),
|
|
@@ -1712,89 +1740,89 @@ function ta(e, t, s, k, h, d) {
|
|
|
1712
1740
|
override: !0,
|
|
1713
1741
|
"force-state": "none",
|
|
1714
1742
|
class: "!px-none",
|
|
1715
|
-
onMouseenter: () => e.handleMouseEnterCell(
|
|
1716
|
-
onMouseleave: () => e.handleMouseLeaveCell(
|
|
1743
|
+
onMouseenter: () => e.handleMouseEnterCell(i, "selecting", e.selectingModel.includes(i.id)),
|
|
1744
|
+
onMouseleave: () => e.handleMouseLeaveCell(i, "selecting", e.selectingModel.includes(i.id))
|
|
1717
1745
|
}, {
|
|
1718
|
-
default:
|
|
1719
|
-
|
|
1746
|
+
default: O(() => [
|
|
1747
|
+
z(d, {
|
|
1720
1748
|
modelValue: e.selectingModel,
|
|
1721
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
1722
|
-
value:
|
|
1749
|
+
"onUpdate:modelValue": t[4] || (t[4] = (u) => e.selectingModel = u),
|
|
1750
|
+
value: i.id,
|
|
1723
1751
|
disabled: e.selectingDisabled
|
|
1724
1752
|
}, null, 8, ["modelValue", "value", "disabled"])
|
|
1725
1753
|
]),
|
|
1726
1754
|
_: 2
|
|
1727
|
-
}, 1032, ["sticky-offset", "variant", "onMouseenter", "onMouseleave"])) :
|
|
1728
|
-
(r(!0),
|
|
1729
|
-
key:
|
|
1730
|
-
"model-value":
|
|
1731
|
-
column:
|
|
1755
|
+
}, 1032, ["sticky-offset", "variant", "onMouseenter", "onMouseleave"])) : k("", !0),
|
|
1756
|
+
(r(!0), y(Y, null, Z(e.actualColumns, (u) => (r(), $(l, {
|
|
1757
|
+
key: u.name,
|
|
1758
|
+
"model-value": i[u.name],
|
|
1759
|
+
column: u,
|
|
1732
1760
|
features: e.features,
|
|
1733
|
-
"sticky-offset":
|
|
1761
|
+
"sticky-offset": u.stickiness === "start" ? e.stickyOffsets.start.get(u.name) : u.stickiness === "end" ? e.stickyOffsets.end.get(u.name) : void 0,
|
|
1734
1762
|
variant: e.variant,
|
|
1735
|
-
onInput: (
|
|
1736
|
-
onFocusin: t[5] || (t[5] = (
|
|
1737
|
-
onMouseenter: () => e.handleMouseEnterCell(
|
|
1738
|
-
onMouseleave: () => e.handleMouseLeaveCell(
|
|
1763
|
+
onInput: (A) => e.onInput(i, u.name, A),
|
|
1764
|
+
onFocusin: t[5] || (t[5] = (A) => e.scrollTo(A)),
|
|
1765
|
+
onMouseenter: () => e.handleMouseEnterCell(i, u.name, i[u.name]),
|
|
1766
|
+
onMouseleave: () => e.handleMouseLeaveCell(i, u.name, i[u.name])
|
|
1739
1767
|
}, {
|
|
1740
|
-
default:
|
|
1741
|
-
c(e.$slots,
|
|
1742
|
-
column:
|
|
1743
|
-
item:
|
|
1768
|
+
default: O(() => [
|
|
1769
|
+
c(e.$slots, u.name, {
|
|
1770
|
+
column: u,
|
|
1771
|
+
item: i
|
|
1744
1772
|
}, () => [
|
|
1745
|
-
|
|
1773
|
+
ae(oe(i[u.name]), 1)
|
|
1746
1774
|
])
|
|
1747
1775
|
]),
|
|
1748
1776
|
_: 2
|
|
1749
1777
|
}, 1032, ["model-value", "column", "features", "sticky-offset", "variant", "onInput", "onMouseenter", "onMouseleave"]))), 128))
|
|
1750
1778
|
]),
|
|
1751
1779
|
_: 2
|
|
1752
|
-
}, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (r(),
|
|
1780
|
+
}, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (r(), $(R, {
|
|
1753
1781
|
key: 3,
|
|
1754
|
-
class:
|
|
1782
|
+
class: m(["col-span-full"]),
|
|
1755
1783
|
variant: e.variant
|
|
1756
1784
|
}, {
|
|
1757
|
-
default:
|
|
1785
|
+
default: O(() => [
|
|
1758
1786
|
c(e.$slots, "noSearchResults", {
|
|
1759
1787
|
filter: e.filteringModel,
|
|
1760
1788
|
search: e.searchingModel
|
|
1761
1789
|
})
|
|
1762
1790
|
]),
|
|
1763
1791
|
_: 3
|
|
1764
|
-
}, 8, ["variant"])) : e.$slots.empty ? (r(),
|
|
1792
|
+
}, 8, ["variant"])) : e.$slots.empty ? (r(), $(R, {
|
|
1765
1793
|
key: 4,
|
|
1766
|
-
class:
|
|
1794
|
+
class: m(["col-span-full"]),
|
|
1767
1795
|
variant: e.variant
|
|
1768
1796
|
}, {
|
|
1769
|
-
default:
|
|
1797
|
+
default: O(() => [
|
|
1770
1798
|
c(e.$slots, "empty")
|
|
1771
1799
|
]),
|
|
1772
1800
|
_: 3
|
|
1773
|
-
}, 8, ["variant"])) :
|
|
1774
|
-
e.$slots["after-rows"] ? (r(),
|
|
1801
|
+
}, 8, ["variant"])) : k("", !0),
|
|
1802
|
+
e.$slots["after-rows"] ? (r(), $(F, {
|
|
1775
1803
|
key: 5,
|
|
1776
1804
|
variant: e.variant
|
|
1777
1805
|
}, {
|
|
1778
|
-
default:
|
|
1806
|
+
default: O(() => [
|
|
1779
1807
|
c(e.$slots, "after-rows")
|
|
1780
1808
|
]),
|
|
1781
1809
|
_: 3
|
|
1782
|
-
}, 8, ["variant"])) :
|
|
1810
|
+
}, 8, ["variant"])) : k("", !0)
|
|
1783
1811
|
]),
|
|
1784
1812
|
_: 3
|
|
1785
1813
|
})
|
|
1786
1814
|
]),
|
|
1787
1815
|
_: 3
|
|
1788
|
-
}, 8, ["class", "style", "columns", "features"]),
|
|
1789
|
-
e.$slots["extra-row"] ? (r(),
|
|
1790
|
-
default:
|
|
1791
|
-
|
|
1792
|
-
class:
|
|
1816
|
+
}, 8, ["class", "style", "columns", "column-widths", "features"]),
|
|
1817
|
+
e.$slots["extra-row"] ? (r(), $(J, { key: 2 }, {
|
|
1818
|
+
default: O(() => [
|
|
1819
|
+
z(X, {
|
|
1820
|
+
class: m(["shrink-0"]),
|
|
1793
1821
|
variant: e.variant
|
|
1794
1822
|
}, {
|
|
1795
|
-
default:
|
|
1796
|
-
|
|
1797
|
-
default:
|
|
1823
|
+
default: O(() => [
|
|
1824
|
+
z(B, null, {
|
|
1825
|
+
default: O(() => [
|
|
1798
1826
|
c(e.$slots, "extra-row")
|
|
1799
1827
|
]),
|
|
1800
1828
|
_: 3
|
|
@@ -1804,62 +1832,62 @@ function ta(e, t, s, k, h, d) {
|
|
|
1804
1832
|
}, 8, ["variant"])
|
|
1805
1833
|
]),
|
|
1806
1834
|
_: 3
|
|
1807
|
-
})) :
|
|
1808
|
-
e.$slots.actions || e.showSelectingCouter || e.features.paging ? (r(),
|
|
1835
|
+
})) : k("", !0),
|
|
1836
|
+
e.$slots.actions || e.showSelectingCouter || e.features.paging ? (r(), $(j, {
|
|
1809
1837
|
key: 3,
|
|
1810
|
-
class:
|
|
1811
|
-
},
|
|
1838
|
+
class: m(["shrink-0"])
|
|
1839
|
+
}, te({ _: 2 }, [
|
|
1812
1840
|
e.features.selecting && e.selectingModel.length > 0 ? {
|
|
1813
1841
|
name: "status",
|
|
1814
|
-
fn:
|
|
1815
|
-
|
|
1842
|
+
fn: O(() => [
|
|
1843
|
+
ae(oe(e.selectingModel.length) + " row(s) selected ", 1)
|
|
1816
1844
|
]),
|
|
1817
1845
|
key: "0"
|
|
1818
1846
|
} : void 0,
|
|
1819
1847
|
e.$slots.actions ? {
|
|
1820
1848
|
name: "actions",
|
|
1821
|
-
fn:
|
|
1849
|
+
fn: O(() => [
|
|
1822
1850
|
c(e.$slots, "actions")
|
|
1823
1851
|
]),
|
|
1824
1852
|
key: "1"
|
|
1825
1853
|
} : void 0,
|
|
1826
1854
|
e.features.paging ? {
|
|
1827
1855
|
name: "paging",
|
|
1828
|
-
fn:
|
|
1829
|
-
|
|
1856
|
+
fn: O(() => [
|
|
1857
|
+
z(U, {
|
|
1830
1858
|
ref: "pagination",
|
|
1831
1859
|
modelValue: e.pagingModel,
|
|
1832
|
-
"onUpdate:modelValue": t[6] || (t[6] = (
|
|
1860
|
+
"onUpdate:modelValue": t[6] || (t[6] = (i) => e.pagingModel = i),
|
|
1833
1861
|
length: e.features.paging.length,
|
|
1834
1862
|
options: e.features.paging.options
|
|
1835
1863
|
}, null, 8, ["modelValue", "length", "options"])
|
|
1836
1864
|
]),
|
|
1837
1865
|
key: "2"
|
|
1838
1866
|
} : void 0
|
|
1839
|
-
]), 1024)) :
|
|
1867
|
+
]), 1024)) : k("", !0)
|
|
1840
1868
|
], 2);
|
|
1841
1869
|
}
|
|
1842
|
-
const
|
|
1870
|
+
const Sa = /* @__PURE__ */ W(ra, [["render", na]]);
|
|
1843
1871
|
export {
|
|
1844
|
-
|
|
1845
|
-
|
|
1872
|
+
w as D,
|
|
1873
|
+
Sa as O,
|
|
1846
1874
|
K as a,
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1875
|
+
_ as b,
|
|
1876
|
+
Ne as c,
|
|
1877
|
+
Be as d,
|
|
1878
|
+
Ye as e,
|
|
1879
|
+
at as f,
|
|
1880
|
+
st as g,
|
|
1881
|
+
ct as h,
|
|
1882
|
+
ht as i,
|
|
1883
|
+
kt as j,
|
|
1884
|
+
Dt as k,
|
|
1885
|
+
Vt as l,
|
|
1886
|
+
Wt as m,
|
|
1887
|
+
Pt as n,
|
|
1888
|
+
At as o,
|
|
1889
|
+
Kt as p,
|
|
1890
|
+
Zt as q,
|
|
1891
|
+
aa as r
|
|
1864
1892
|
};
|
|
1865
|
-
//# sourceMappingURL=OrDataGrid-
|
|
1893
|
+
//# sourceMappingURL=OrDataGrid-CKuJloxA.mjs.map
|