@onereach/ui-components 23.3.3 → 23.3.4-beta.5643.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-SmBxul-o.mjs → OrDataGrid-rR9MOj2g.mjs} +307 -303
- package/dist/esm/OrDataGrid-rR9MOj2g.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/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue.d.ts +1 -0
- package/dist/types/components/or-data-grid-v3/types.d.ts +1 -0
- package/package.json +4 -5
- package/dist/esm/OrDataGrid-SmBxul-o.mjs.map +0 -1
|
@@ -2,7 +2,7 @@ import { O as X } from "./OrCheckbox-XS2Evsl3.mjs";
|
|
|
2
2
|
import { O as Y } from "./OrPagination-BFUGGyGy.mjs";
|
|
3
3
|
import { O as Z } from "./OrSearch-1OFONLHk.mjs";
|
|
4
4
|
import { O as _ } from "./OrSkeletonText-Dm8s1o0l.mjs";
|
|
5
|
-
import { defineComponent as w, ref as
|
|
5
|
+
import { defineComponent as w, ref as $, computed as n, openBlock as a, createElementBlock as f, normalizeClass as u, renderSlot as s, createCommentVNode as g, resolveComponent as d, normalizeStyle as N, Fragment as H, createBlock as m, watch as x, createElementVNode as ee, createVNode as V, mergeProps as te, withCtx as p, createSlots as K, normalizeProps as oe, guardReactiveProps as ae, renderList as P, createTextVNode as Q, toDisplayString as W } from "vue";
|
|
6
6
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
7
|
import { O as re } from "./OrDatePicker-B8f7IXss.mjs";
|
|
8
8
|
import { O as ne } from "./OrDateTimePicker-BjUIRfEc.mjs";
|
|
@@ -14,8 +14,8 @@ import { O as ie } from "./OrSelect-B_u1cgIv.mjs";
|
|
|
14
14
|
import { O as de } from "./OrSwitch-Cmi57-QB.mjs";
|
|
15
15
|
import { O as ue } from "./OrTagInput-CjYmyfIU.mjs";
|
|
16
16
|
import { O as ce } from "./OrTimePicker-CQJesQKa.mjs";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { O as me } from "./OrIcon-k8cyvh-D.mjs";
|
|
18
|
+
import { useElementSize as fe } from "@vueuse/core";
|
|
19
19
|
import { O as pe } from "./OrNotification-Dz3Tr1wI.mjs";
|
|
20
20
|
const ge = [
|
|
21
21
|
// Layout
|
|
@@ -40,7 +40,7 @@ const ge = [
|
|
|
40
40
|
"root"
|
|
41
41
|
],
|
|
42
42
|
setup() {
|
|
43
|
-
const e =
|
|
43
|
+
const e = $(), t = n(() => [
|
|
44
44
|
"or-data-grid-footer-v3",
|
|
45
45
|
...ge
|
|
46
46
|
]), r = n(() => [
|
|
@@ -54,21 +54,21 @@ const ge = [
|
|
|
54
54
|
}
|
|
55
55
|
}), he = {
|
|
56
56
|
key: 1,
|
|
57
|
-
class: /* @__PURE__ */
|
|
57
|
+
class: /* @__PURE__ */ u(["grow"])
|
|
58
58
|
};
|
|
59
|
-
function ye(e, t, r,
|
|
60
|
-
return a(),
|
|
59
|
+
function ye(e, t, r, c, b, h) {
|
|
60
|
+
return a(), f("div", {
|
|
61
61
|
ref: "root",
|
|
62
|
-
class:
|
|
62
|
+
class: u(e.rootStyles)
|
|
63
63
|
}, [
|
|
64
|
-
e.$slots.status ? (a(),
|
|
64
|
+
e.$slots.status ? (a(), f("div", {
|
|
65
65
|
key: 0,
|
|
66
|
-
class:
|
|
66
|
+
class: u(e.statusStyles)
|
|
67
67
|
}, [
|
|
68
68
|
s(e.$slots, "status")
|
|
69
|
-
], 2)) :
|
|
69
|
+
], 2)) : g("", !0),
|
|
70
70
|
s(e.$slots, "actions"),
|
|
71
|
-
e.$slots.paging ? (a(),
|
|
71
|
+
e.$slots.paging ? (a(), f("div", he)) : g("", !0),
|
|
72
72
|
s(e.$slots, "paging")
|
|
73
73
|
], 2);
|
|
74
74
|
}
|
|
@@ -88,7 +88,7 @@ const ke = /* @__PURE__ */ G(ve, [["render", ye]]), Oe = [
|
|
|
88
88
|
"root"
|
|
89
89
|
],
|
|
90
90
|
setup() {
|
|
91
|
-
const e =
|
|
91
|
+
const e = $(), t = n(() => [
|
|
92
92
|
"or-data-grid-header-v3",
|
|
93
93
|
...Oe
|
|
94
94
|
]), r = n(() => [
|
|
@@ -102,20 +102,20 @@ const ke = /* @__PURE__ */ G(ve, [["render", ye]]), Oe = [
|
|
|
102
102
|
}
|
|
103
103
|
}), we = {
|
|
104
104
|
key: 1,
|
|
105
|
-
class: /* @__PURE__ */
|
|
105
|
+
class: /* @__PURE__ */ u(["grow"])
|
|
106
106
|
};
|
|
107
|
-
function Ge(e, t, r,
|
|
108
|
-
return a(),
|
|
107
|
+
function Ge(e, t, r, c, b, h) {
|
|
108
|
+
return a(), f("div", {
|
|
109
109
|
ref: "root",
|
|
110
|
-
class:
|
|
110
|
+
class: u(e.rootStyles)
|
|
111
111
|
}, [
|
|
112
|
-
e.$slots.title ? (a(),
|
|
112
|
+
e.$slots.title ? (a(), f("div", {
|
|
113
113
|
key: 0,
|
|
114
|
-
class:
|
|
114
|
+
class: u(e.titleStyles)
|
|
115
115
|
}, [
|
|
116
116
|
s(e.$slots, "title")
|
|
117
|
-
], 2)) :
|
|
118
|
-
e.$slots.searching ? (a(),
|
|
117
|
+
], 2)) : g("", !0),
|
|
118
|
+
e.$slots.searching ? (a(), f("div", we)) : g("", !0),
|
|
119
119
|
s(e.$slots, "searching")
|
|
120
120
|
], 2);
|
|
121
121
|
}
|
|
@@ -184,14 +184,14 @@ const Te = /* @__PURE__ */ G(De, [["render", Ge]]), Se = [
|
|
|
184
184
|
"root"
|
|
185
185
|
],
|
|
186
186
|
setup(e, t) {
|
|
187
|
-
const r =
|
|
188
|
-
var
|
|
187
|
+
const r = $(), c = n(() => {
|
|
188
|
+
var v;
|
|
189
189
|
return [
|
|
190
190
|
"or-data-grid-table-content-cell-v3",
|
|
191
191
|
...Se,
|
|
192
|
-
...(
|
|
192
|
+
...(v = e.column) != null && v.stickiness ? [`sticky-${e.column.stickiness}`] : []
|
|
193
193
|
];
|
|
194
|
-
}),
|
|
194
|
+
}), b = n(() => {
|
|
195
195
|
if (e.column)
|
|
196
196
|
switch (e.column.stickiness) {
|
|
197
197
|
case "start":
|
|
@@ -217,106 +217,106 @@ const Te = /* @__PURE__ */ G(De, [["render", Ge]]), Se = [
|
|
|
217
217
|
return {
|
|
218
218
|
justifyContent: "center"
|
|
219
219
|
};
|
|
220
|
-
}),
|
|
220
|
+
}), h = n({
|
|
221
221
|
get: () => e.modelValue,
|
|
222
|
-
set: (
|
|
223
|
-
t.emit("input",
|
|
222
|
+
set: (v) => {
|
|
223
|
+
t.emit("input", v);
|
|
224
224
|
}
|
|
225
|
-
}),
|
|
226
|
-
var
|
|
227
|
-
return (
|
|
225
|
+
}), O = n(() => {
|
|
226
|
+
var v;
|
|
227
|
+
return (v = e.column) == null ? void 0 : v.control;
|
|
228
228
|
});
|
|
229
229
|
return {
|
|
230
230
|
root: r,
|
|
231
|
-
rootStyles:
|
|
232
|
-
rootInlineStyles:
|
|
233
|
-
model:
|
|
234
|
-
control:
|
|
231
|
+
rootStyles: c,
|
|
232
|
+
rootInlineStyles: b,
|
|
233
|
+
model: h,
|
|
234
|
+
control: O
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
}), Ve = {
|
|
238
238
|
key: 2,
|
|
239
|
-
class: /* @__PURE__ */
|
|
239
|
+
class: /* @__PURE__ */ u(["truncate"])
|
|
240
240
|
};
|
|
241
|
-
function Me(e, t, r,
|
|
242
|
-
const
|
|
243
|
-
return a(),
|
|
241
|
+
function Me(e, t, r, c, b, h) {
|
|
242
|
+
const O = d("OrInput"), v = d("OrRating"), M = d("OrSelect"), i = d("OrCheckbox"), D = d("OrSwitch"), T = d("OrDatePicker"), S = d("OrTimePicker"), C = d("OrDateTimePicker"), I = d("OrTagInput");
|
|
243
|
+
return a(), f("div", {
|
|
244
244
|
ref: "root",
|
|
245
|
-
class:
|
|
245
|
+
class: u(e.rootStyles),
|
|
246
246
|
style: N(e.rootInlineStyles)
|
|
247
247
|
}, [
|
|
248
|
-
e.override ? s(e.$slots, "default", { key: 0 }) : e.control ? (a(),
|
|
249
|
-
e.control.type === "text" ? (a(),
|
|
248
|
+
e.override ? s(e.$slots, "default", { key: 0 }) : e.control ? (a(), f(H, { key: 1 }, [
|
|
249
|
+
e.control.type === "text" ? (a(), m(O, {
|
|
250
250
|
key: 0,
|
|
251
251
|
modelValue: e.model,
|
|
252
252
|
"onUpdate:modelValue": t[0] || (t[0] = (y) => e.model = y),
|
|
253
253
|
type: "text",
|
|
254
254
|
variant: "embedded"
|
|
255
|
-
}, null, 8, ["modelValue"])) :
|
|
256
|
-
e.control.type === "number" ? (a(),
|
|
255
|
+
}, null, 8, ["modelValue"])) : g("", !0),
|
|
256
|
+
e.control.type === "number" ? (a(), m(O, {
|
|
257
257
|
key: 1,
|
|
258
258
|
modelValue: e.model,
|
|
259
259
|
"onUpdate:modelValue": t[1] || (t[1] = (y) => e.model = y),
|
|
260
260
|
type: "number",
|
|
261
261
|
variant: "embedded"
|
|
262
|
-
}, null, 8, ["modelValue"])) :
|
|
263
|
-
e.control.type === "rating" ? (a(),
|
|
262
|
+
}, null, 8, ["modelValue"])) : g("", !0),
|
|
263
|
+
e.control.type === "rating" ? (a(), m(v, {
|
|
264
264
|
key: 2,
|
|
265
265
|
modelValue: e.model,
|
|
266
266
|
"onUpdate:modelValue": t[2] || (t[2] = (y) => e.model = y)
|
|
267
|
-
}, null, 8, ["modelValue"])) :
|
|
268
|
-
e.control.type === "select" ? (a(),
|
|
267
|
+
}, null, 8, ["modelValue"])) : g("", !0),
|
|
268
|
+
e.control.type === "select" ? (a(), m(M, {
|
|
269
269
|
key: 3,
|
|
270
270
|
modelValue: e.model,
|
|
271
271
|
"onUpdate:modelValue": t[3] || (t[3] = (y) => e.model = y),
|
|
272
272
|
options: e.control.options,
|
|
273
273
|
variant: "embedded",
|
|
274
274
|
anchor: e.root
|
|
275
|
-
}, null, 8, ["modelValue", "options", "anchor"])) :
|
|
276
|
-
e.control.type === "checkbox" ? (a(),
|
|
275
|
+
}, null, 8, ["modelValue", "options", "anchor"])) : g("", !0),
|
|
276
|
+
e.control.type === "checkbox" ? (a(), m(i, {
|
|
277
277
|
key: 4,
|
|
278
278
|
modelValue: e.model,
|
|
279
279
|
"onUpdate:modelValue": t[4] || (t[4] = (y) => e.model = y)
|
|
280
|
-
}, null, 8, ["modelValue"])) :
|
|
281
|
-
e.control.type === "switch" ? (a(),
|
|
280
|
+
}, null, 8, ["modelValue"])) : g("", !0),
|
|
281
|
+
e.control.type === "switch" ? (a(), m(D, {
|
|
282
282
|
key: 5,
|
|
283
283
|
modelValue: e.model,
|
|
284
284
|
"onUpdate:modelValue": t[5] || (t[5] = (y) => e.model = y)
|
|
285
|
-
}, null, 8, ["modelValue"])) :
|
|
286
|
-
e.control.type === "date" ? (a(),
|
|
285
|
+
}, null, 8, ["modelValue"])) : g("", !0),
|
|
286
|
+
e.control.type === "date" ? (a(), m(T, {
|
|
287
287
|
key: 6,
|
|
288
288
|
modelValue: e.model,
|
|
289
289
|
"onUpdate:modelValue": t[6] || (t[6] = (y) => e.model = y),
|
|
290
290
|
variant: "embedded",
|
|
291
291
|
anchor: e.root
|
|
292
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
293
|
-
e.control.type === "time" ? (a(),
|
|
292
|
+
}, null, 8, ["modelValue", "anchor"])) : g("", !0),
|
|
293
|
+
e.control.type === "time" ? (a(), m(S, {
|
|
294
294
|
key: 7,
|
|
295
295
|
modelValue: e.model,
|
|
296
296
|
"onUpdate:modelValue": t[7] || (t[7] = (y) => e.model = y),
|
|
297
297
|
variant: "embedded",
|
|
298
298
|
anchor: e.root
|
|
299
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
300
|
-
e.control.type === "datetime" ? (a(),
|
|
299
|
+
}, null, 8, ["modelValue", "anchor"])) : g("", !0),
|
|
300
|
+
e.control.type === "datetime" ? (a(), m(C, {
|
|
301
301
|
key: 8,
|
|
302
302
|
modelValue: e.model,
|
|
303
303
|
"onUpdate:modelValue": t[8] || (t[8] = (y) => e.model = y),
|
|
304
304
|
variant: "embedded",
|
|
305
305
|
anchor: e.root
|
|
306
|
-
}, null, 8, ["modelValue", "anchor"])) :
|
|
307
|
-
e.control.type === "tags" ? (a(),
|
|
306
|
+
}, null, 8, ["modelValue", "anchor"])) : g("", !0),
|
|
307
|
+
e.control.type === "tags" ? (a(), m(I, {
|
|
308
308
|
key: 9,
|
|
309
309
|
modelValue: e.model,
|
|
310
310
|
"onUpdate:modelValue": t[9] || (t[9] = (y) => e.model = y),
|
|
311
311
|
variant: "embedded"
|
|
312
|
-
}, null, 8, ["modelValue"])) :
|
|
313
|
-
], 64)) : (a(),
|
|
312
|
+
}, null, 8, ["modelValue"])) : g("", !0)
|
|
313
|
+
], 64)) : (a(), f("div", Ve, [
|
|
314
314
|
s(e.$slots, "default")
|
|
315
315
|
]))
|
|
316
316
|
], 6);
|
|
317
317
|
}
|
|
318
318
|
const Re = /* @__PURE__ */ G(Ce, [["render", Me]]);
|
|
319
|
-
var
|
|
319
|
+
var k = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e))(k || {});
|
|
320
320
|
const Ie = [
|
|
321
321
|
// Layout
|
|
322
322
|
"grid grid-cols-[subgrid] col-span-full",
|
|
@@ -340,15 +340,15 @@ const Ie = [
|
|
|
340
340
|
"children:hover:selected:theme-background-surface-3",
|
|
341
341
|
"dark:children:hover:selected:theme-background-surface-3-dark"
|
|
342
342
|
], Fe = {
|
|
343
|
-
[
|
|
343
|
+
[k.Standard]: [
|
|
344
344
|
// Box
|
|
345
345
|
"h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
346
346
|
],
|
|
347
|
-
[
|
|
347
|
+
[k.Comfortable]: [
|
|
348
348
|
// Box
|
|
349
349
|
"h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
350
350
|
],
|
|
351
|
-
[
|
|
351
|
+
[k.Compact]: [
|
|
352
352
|
// Box
|
|
353
353
|
"h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
354
354
|
]
|
|
@@ -372,7 +372,7 @@ const Ie = [
|
|
|
372
372
|
"root"
|
|
373
373
|
],
|
|
374
374
|
setup(e) {
|
|
375
|
-
const t =
|
|
375
|
+
const t = $(), r = n(() => [
|
|
376
376
|
"or-data-grid-table-content-row-v3",
|
|
377
377
|
...Ie,
|
|
378
378
|
...Fe[e.variant],
|
|
@@ -384,10 +384,10 @@ const Ie = [
|
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
}), Pe = ["selected"];
|
|
387
|
-
function je(e, t, r,
|
|
388
|
-
return a(),
|
|
387
|
+
function je(e, t, r, c, b, h) {
|
|
388
|
+
return a(), f("div", {
|
|
389
389
|
ref: "root",
|
|
390
|
-
class:
|
|
390
|
+
class: u(e.rootStyles),
|
|
391
391
|
selected: e.selected
|
|
392
392
|
}, [
|
|
393
393
|
s(e.$slots, "default")
|
|
@@ -402,7 +402,7 @@ const Ee = /* @__PURE__ */ G(He, [["render", je]]), Ue = [
|
|
|
402
402
|
"root"
|
|
403
403
|
],
|
|
404
404
|
setup() {
|
|
405
|
-
const e =
|
|
405
|
+
const e = $(), t = n(() => [
|
|
406
406
|
"or-data-grid-table-content-v3",
|
|
407
407
|
...Ue
|
|
408
408
|
]);
|
|
@@ -412,10 +412,10 @@ const Ee = /* @__PURE__ */ G(He, [["render", je]]), Ue = [
|
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
function qe(e, t, r,
|
|
416
|
-
return a(),
|
|
415
|
+
function qe(e, t, r, c, b, h) {
|
|
416
|
+
return a(), f("div", {
|
|
417
417
|
ref: "root",
|
|
418
|
-
class:
|
|
418
|
+
class: u(e.rootStyles)
|
|
419
419
|
}, [
|
|
420
420
|
s(e.$slots, "default")
|
|
421
421
|
], 2);
|
|
@@ -436,7 +436,7 @@ const Le = /* @__PURE__ */ G(Ne, [["render", qe]]), Be = [
|
|
|
436
436
|
"root"
|
|
437
437
|
],
|
|
438
438
|
setup() {
|
|
439
|
-
const e =
|
|
439
|
+
const e = $(), t = n(() => [
|
|
440
440
|
"or-data-grid-table-footer-cell-v3",
|
|
441
441
|
...Be
|
|
442
442
|
]);
|
|
@@ -446,10 +446,10 @@ const Le = /* @__PURE__ */ G(Ne, [["render", qe]]), Be = [
|
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
448
|
});
|
|
449
|
-
function Ae(e, t, r,
|
|
450
|
-
return a(),
|
|
449
|
+
function Ae(e, t, r, c, b, h) {
|
|
450
|
+
return a(), f("div", {
|
|
451
451
|
ref: "root",
|
|
452
|
-
class:
|
|
452
|
+
class: u(e.rootStyles)
|
|
453
453
|
}, [
|
|
454
454
|
s(e.$slots, "default")
|
|
455
455
|
], 2);
|
|
@@ -468,15 +468,15 @@ const Je = /* @__PURE__ */ G(ze, [["render", Ae]]), Ke = [
|
|
|
468
468
|
"children:theme-background-default",
|
|
469
469
|
"dark:children:theme-background-default-dark"
|
|
470
470
|
], Qe = {
|
|
471
|
-
[
|
|
471
|
+
[k.Standard]: [
|
|
472
472
|
// Box
|
|
473
473
|
"h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
474
474
|
],
|
|
475
|
-
[
|
|
475
|
+
[k.Comfortable]: [
|
|
476
476
|
// Box
|
|
477
477
|
"h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
478
478
|
],
|
|
479
|
-
[
|
|
479
|
+
[k.Compact]: [
|
|
480
480
|
// Box
|
|
481
481
|
"h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
482
482
|
]
|
|
@@ -492,7 +492,7 @@ const Je = /* @__PURE__ */ G(ze, [["render", Ae]]), Ke = [
|
|
|
492
492
|
"root"
|
|
493
493
|
],
|
|
494
494
|
setup(e) {
|
|
495
|
-
const t =
|
|
495
|
+
const t = $(), r = n(() => [
|
|
496
496
|
"or-data-grid-table-footer-row-v3",
|
|
497
497
|
...Ke,
|
|
498
498
|
...Qe[e.variant]
|
|
@@ -503,10 +503,10 @@ const Je = /* @__PURE__ */ G(ze, [["render", Ae]]), Ke = [
|
|
|
503
503
|
};
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
|
-
function Xe(e, t, r,
|
|
507
|
-
return a(),
|
|
506
|
+
function Xe(e, t, r, c, b, h) {
|
|
507
|
+
return a(), f("div", {
|
|
508
508
|
ref: "root",
|
|
509
|
-
class:
|
|
509
|
+
class: u(e.rootStyles)
|
|
510
510
|
}, [
|
|
511
511
|
s(e.$slots, "default")
|
|
512
512
|
], 2);
|
|
@@ -520,7 +520,7 @@ const Ye = /* @__PURE__ */ G(We, [["render", Xe]]), Ze = [
|
|
|
520
520
|
"root"
|
|
521
521
|
],
|
|
522
522
|
setup() {
|
|
523
|
-
const e =
|
|
523
|
+
const e = $(), t = n(() => [
|
|
524
524
|
"or-data-grid-table-footer-v3",
|
|
525
525
|
...Ze
|
|
526
526
|
]);
|
|
@@ -530,10 +530,10 @@ const Ye = /* @__PURE__ */ G(We, [["render", Xe]]), Ze = [
|
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
532
|
});
|
|
533
|
-
function xe(e, t, r,
|
|
534
|
-
return a(),
|
|
533
|
+
function xe(e, t, r, c, b, h) {
|
|
534
|
+
return a(), f("div", {
|
|
535
535
|
ref: "root",
|
|
536
|
-
class:
|
|
536
|
+
class: u(e.rootStyles)
|
|
537
537
|
}, [
|
|
538
538
|
s(e.$slots, "default")
|
|
539
539
|
], 2);
|
|
@@ -557,7 +557,7 @@ const et = /* @__PURE__ */ G(_e, [["render", xe]]), tt = [
|
|
|
557
557
|
], ot = w({
|
|
558
558
|
name: "OrDataGridTableHeaderCell",
|
|
559
559
|
components: {
|
|
560
|
-
OrIcon:
|
|
560
|
+
OrIcon: me
|
|
561
561
|
},
|
|
562
562
|
model: {
|
|
563
563
|
prop: "modelValue",
|
|
@@ -586,15 +586,18 @@ const et = /* @__PURE__ */ G(_e, [["render", xe]]), tt = [
|
|
|
586
586
|
"root"
|
|
587
587
|
],
|
|
588
588
|
setup(e, t) {
|
|
589
|
-
const r =
|
|
590
|
-
var
|
|
589
|
+
const r = $(), c = n(() => {
|
|
590
|
+
var i, D, T;
|
|
591
|
+
return !!((i = e.features) != null && i.sorting) && !!((D = e.column) != null && D.name) && ((T = e.column) == null ? void 0 : T.sorting) !== !1;
|
|
592
|
+
}), b = n(() => {
|
|
593
|
+
var i;
|
|
591
594
|
return [
|
|
592
595
|
"or-data-grid-table-header-cell-v3",
|
|
593
596
|
...tt,
|
|
594
|
-
...(
|
|
595
|
-
...
|
|
597
|
+
...(i = e.column) != null && i.stickiness ? [`sticky-${e.column.stickiness}`] : [],
|
|
598
|
+
...c.value ? ["interactivity-click"] : []
|
|
596
599
|
];
|
|
597
|
-
}),
|
|
600
|
+
}), h = n(() => {
|
|
598
601
|
if (e.column)
|
|
599
602
|
switch (e.column.stickiness) {
|
|
600
603
|
case "start":
|
|
@@ -620,74 +623,75 @@ const et = /* @__PURE__ */ G(_e, [["render", xe]]), tt = [
|
|
|
620
623
|
return {
|
|
621
624
|
justifyContent: "center"
|
|
622
625
|
};
|
|
623
|
-
}),
|
|
626
|
+
}), O = n({
|
|
624
627
|
get: () => {
|
|
625
|
-
var
|
|
626
|
-
if (
|
|
627
|
-
return ((
|
|
628
|
+
var i, D;
|
|
629
|
+
if (c.value)
|
|
630
|
+
return ((i = e.modelValue) == null ? void 0 : i.column) === ((D = e.column) == null ? void 0 : D.name) ? e.modelValue : void 0;
|
|
628
631
|
},
|
|
629
|
-
set: (
|
|
630
|
-
t.emit("update:modelValue",
|
|
632
|
+
set: (i) => {
|
|
633
|
+
t.emit("update:modelValue", i);
|
|
631
634
|
}
|
|
632
635
|
});
|
|
633
|
-
function
|
|
634
|
-
var
|
|
635
|
-
if (
|
|
636
|
-
if (
|
|
637
|
-
|
|
638
|
-
...
|
|
639
|
-
direction:
|
|
636
|
+
function v() {
|
|
637
|
+
var i;
|
|
638
|
+
if (c.value)
|
|
639
|
+
if (O.value)
|
|
640
|
+
O.value = {
|
|
641
|
+
...O.value,
|
|
642
|
+
direction: O.value.direction === "asc" ? "desc" : "asc"
|
|
640
643
|
};
|
|
641
644
|
else {
|
|
642
645
|
if (!e.column)
|
|
643
646
|
throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
|
|
644
|
-
|
|
645
|
-
column: ((
|
|
647
|
+
O.value = {
|
|
648
|
+
column: ((i = e.column) == null ? void 0 : i.name) || "_check",
|
|
646
649
|
direction: "asc"
|
|
647
650
|
};
|
|
648
651
|
}
|
|
649
652
|
}
|
|
650
|
-
const { width:
|
|
653
|
+
const { width: M } = fe(r, void 0, { box: "border-box" });
|
|
651
654
|
return x([
|
|
652
655
|
r,
|
|
653
|
-
|
|
656
|
+
M,
|
|
654
657
|
() => {
|
|
655
|
-
var
|
|
656
|
-
return (
|
|
658
|
+
var i;
|
|
659
|
+
return (i = e.column) == null ? void 0 : i.stickiness;
|
|
657
660
|
}
|
|
658
661
|
], ([
|
|
659
|
-
|
|
660
|
-
|
|
662
|
+
i,
|
|
663
|
+
D
|
|
661
664
|
], [
|
|
662
|
-
|
|
665
|
+
T
|
|
663
666
|
]) => {
|
|
664
|
-
|
|
667
|
+
T && T !== i && t.emit("remove:scrollOffset", T), t.emit("update:scrollOffset", i, D, e.column);
|
|
665
668
|
}), {
|
|
666
669
|
root: r,
|
|
667
670
|
rootStyles: b,
|
|
668
|
-
rootInlineStyles:
|
|
669
|
-
|
|
670
|
-
|
|
671
|
+
rootInlineStyles: h,
|
|
672
|
+
isSortable: c,
|
|
673
|
+
model: O,
|
|
674
|
+
toggleSorting: v
|
|
671
675
|
};
|
|
672
676
|
}
|
|
673
677
|
}), at = {
|
|
674
|
-
class: /* @__PURE__ */
|
|
678
|
+
class: /* @__PURE__ */ u(["truncate"])
|
|
675
679
|
};
|
|
676
|
-
function rt(e, t, r,
|
|
677
|
-
const
|
|
678
|
-
return a(),
|
|
680
|
+
function rt(e, t, r, c, b, h) {
|
|
681
|
+
const O = d("OrIcon");
|
|
682
|
+
return a(), f("div", {
|
|
679
683
|
ref: "root",
|
|
680
|
-
class:
|
|
684
|
+
class: u(e.rootStyles),
|
|
681
685
|
style: N(e.rootInlineStyles),
|
|
682
|
-
onClick: t[0] || (t[0] = (
|
|
686
|
+
onClick: t[0] || (t[0] = (v) => e.toggleSorting())
|
|
683
687
|
}, [
|
|
684
688
|
ee("div", at, [
|
|
685
689
|
s(e.$slots, "default")
|
|
686
690
|
]),
|
|
687
|
-
e.model ? (a(),
|
|
691
|
+
e.model ? (a(), m(O, {
|
|
688
692
|
key: 0,
|
|
689
693
|
icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
|
|
690
|
-
}, null, 8, ["icon"])) :
|
|
694
|
+
}, null, 8, ["icon"])) : g("", !0)
|
|
691
695
|
], 6);
|
|
692
696
|
}
|
|
693
697
|
const nt = /* @__PURE__ */ G(ot, [["render", rt]]), lt = [
|
|
@@ -703,15 +707,15 @@ const nt = /* @__PURE__ */ G(ot, [["render", rt]]), lt = [
|
|
|
703
707
|
"children:theme-background-surface-variant-1",
|
|
704
708
|
"dark:children:theme-background-surface-variant-1-dark"
|
|
705
709
|
], st = {
|
|
706
|
-
[
|
|
710
|
+
[k.Standard]: [
|
|
707
711
|
// Box
|
|
708
712
|
"h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
709
713
|
],
|
|
710
|
-
[
|
|
714
|
+
[k.Comfortable]: [
|
|
711
715
|
// Box
|
|
712
716
|
"h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
713
717
|
],
|
|
714
|
-
[
|
|
718
|
+
[k.Compact]: [
|
|
715
719
|
// Box
|
|
716
720
|
"h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
717
721
|
]
|
|
@@ -727,7 +731,7 @@ const nt = /* @__PURE__ */ G(ot, [["render", rt]]), lt = [
|
|
|
727
731
|
"root"
|
|
728
732
|
],
|
|
729
733
|
setup(e) {
|
|
730
|
-
const t =
|
|
734
|
+
const t = $(), r = n(() => [
|
|
731
735
|
"or-data-grid-table-header-row-v3",
|
|
732
736
|
...lt,
|
|
733
737
|
...st[e.variant]
|
|
@@ -738,10 +742,10 @@ const nt = /* @__PURE__ */ G(ot, [["render", rt]]), lt = [
|
|
|
738
742
|
};
|
|
739
743
|
}
|
|
740
744
|
});
|
|
741
|
-
function dt(e, t, r,
|
|
742
|
-
return a(),
|
|
745
|
+
function dt(e, t, r, c, b, h) {
|
|
746
|
+
return a(), f("div", {
|
|
743
747
|
ref: "root",
|
|
744
|
-
class:
|
|
748
|
+
class: u(e.rootStyles)
|
|
745
749
|
}, [
|
|
746
750
|
s(e.$slots, "default")
|
|
747
751
|
], 2);
|
|
@@ -755,7 +759,7 @@ const ut = /* @__PURE__ */ G(it, [["render", dt]]), ct = [
|
|
|
755
759
|
"root"
|
|
756
760
|
],
|
|
757
761
|
setup() {
|
|
758
|
-
const e =
|
|
762
|
+
const e = $(), t = n(() => [
|
|
759
763
|
"or-data-grid-table-header-v3",
|
|
760
764
|
...ct
|
|
761
765
|
]);
|
|
@@ -765,10 +769,10 @@ const ut = /* @__PURE__ */ G(it, [["render", dt]]), ct = [
|
|
|
765
769
|
};
|
|
766
770
|
}
|
|
767
771
|
});
|
|
768
|
-
function ft(e, t, r,
|
|
769
|
-
return a(),
|
|
772
|
+
function ft(e, t, r, c, b, h) {
|
|
773
|
+
return a(), f("div", {
|
|
770
774
|
ref: "root",
|
|
771
|
-
class:
|
|
775
|
+
class: u(e.rootStyles)
|
|
772
776
|
}, [
|
|
773
777
|
s(e.$slots, "default")
|
|
774
778
|
], 2);
|
|
@@ -788,15 +792,15 @@ const pt = /* @__PURE__ */ G(mt, [["render", ft]]), gt = [
|
|
|
788
792
|
"theme-background-default",
|
|
789
793
|
"dark:theme-background-default-dark"
|
|
790
794
|
], bt = {
|
|
791
|
-
[
|
|
795
|
+
[k.Standard]: [
|
|
792
796
|
// Box
|
|
793
797
|
"min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
794
798
|
],
|
|
795
|
-
[
|
|
799
|
+
[k.Comfortable]: [
|
|
796
800
|
// Box
|
|
797
801
|
"min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
798
802
|
],
|
|
799
|
-
[
|
|
803
|
+
[k.Compact]: [
|
|
800
804
|
// Box
|
|
801
805
|
"min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
802
806
|
]
|
|
@@ -812,7 +816,7 @@ const pt = /* @__PURE__ */ G(mt, [["render", ft]]), gt = [
|
|
|
812
816
|
"root"
|
|
813
817
|
],
|
|
814
818
|
setup(e) {
|
|
815
|
-
const t =
|
|
819
|
+
const t = $(), r = n(() => [
|
|
816
820
|
"or-data-grid-table-placeholder-v3",
|
|
817
821
|
...gt,
|
|
818
822
|
...bt[e.variant]
|
|
@@ -823,10 +827,10 @@ const pt = /* @__PURE__ */ G(mt, [["render", ft]]), gt = [
|
|
|
823
827
|
};
|
|
824
828
|
}
|
|
825
829
|
});
|
|
826
|
-
function ht(e, t, r,
|
|
827
|
-
return a(),
|
|
830
|
+
function ht(e, t, r, c, b, h) {
|
|
831
|
+
return a(), f("div", {
|
|
828
832
|
ref: "root",
|
|
829
|
-
class:
|
|
833
|
+
class: u(e.rootStyles)
|
|
830
834
|
}, [
|
|
831
835
|
s(e.$slots, "default")
|
|
832
836
|
], 2);
|
|
@@ -854,24 +858,24 @@ const yt = /* @__PURE__ */ G(vt, [["render", ht]]), kt = [
|
|
|
854
858
|
"root"
|
|
855
859
|
],
|
|
856
860
|
setup(e) {
|
|
857
|
-
const t =
|
|
861
|
+
const t = $(), r = n(() => [
|
|
858
862
|
"or-data-grid-table-v3",
|
|
859
863
|
...kt
|
|
860
|
-
]),
|
|
861
|
-
const
|
|
862
|
-
return e.features.selecting ? { gridTemplateColumns: `0fr ${
|
|
864
|
+
]), c = n(() => {
|
|
865
|
+
const b = e.columns.map((h) => h.width ?? "auto");
|
|
866
|
+
return e.features.selecting ? { gridTemplateColumns: `0fr ${b.join(" ")}` } : { gridTemplateColumns: b.join(" ") };
|
|
863
867
|
});
|
|
864
868
|
return {
|
|
865
869
|
root: t,
|
|
866
870
|
rootStyles: r,
|
|
867
|
-
rootInlineStyles:
|
|
871
|
+
rootInlineStyles: c
|
|
868
872
|
};
|
|
869
873
|
}
|
|
870
874
|
});
|
|
871
|
-
function $t(e, t, r,
|
|
872
|
-
return a(),
|
|
875
|
+
function $t(e, t, r, c, b, h) {
|
|
876
|
+
return a(), f("div", {
|
|
873
877
|
ref: "root",
|
|
874
|
-
class:
|
|
878
|
+
class: u(e.rootStyles),
|
|
875
879
|
style: N(e.rootInlineStyles)
|
|
876
880
|
}, [
|
|
877
881
|
s(e.$slots, "default")
|
|
@@ -890,7 +894,7 @@ const Dt = /* @__PURE__ */ G(Ot, [["render", $t]]), wt = [
|
|
|
890
894
|
"root"
|
|
891
895
|
],
|
|
892
896
|
setup() {
|
|
893
|
-
const e =
|
|
897
|
+
const e = $(), t = n(() => [
|
|
894
898
|
"or-data-grid-toolbar-v3",
|
|
895
899
|
...wt
|
|
896
900
|
]);
|
|
@@ -900,10 +904,10 @@ const Dt = /* @__PURE__ */ G(Ot, [["render", $t]]), wt = [
|
|
|
900
904
|
};
|
|
901
905
|
}
|
|
902
906
|
});
|
|
903
|
-
function Tt(e, t, r,
|
|
904
|
-
return a(),
|
|
907
|
+
function Tt(e, t, r, c, b, h) {
|
|
908
|
+
return a(), f("div", {
|
|
905
909
|
ref: "root",
|
|
906
|
-
class:
|
|
910
|
+
class: u(e.rootStyles)
|
|
907
911
|
}, [
|
|
908
912
|
s(e.$slots, "default")
|
|
909
913
|
], 2);
|
|
@@ -914,15 +918,15 @@ const St = /* @__PURE__ */ G(Gt, [["render", Tt]]), Ct = [
|
|
|
914
918
|
// Layout
|
|
915
919
|
"col-span-full"
|
|
916
920
|
], Vt = {
|
|
917
|
-
[
|
|
921
|
+
[k.Standard]: [
|
|
918
922
|
// Position
|
|
919
923
|
"top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
920
924
|
],
|
|
921
|
-
[
|
|
925
|
+
[k.Comfortable]: [
|
|
922
926
|
// Position
|
|
923
927
|
"top-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
924
928
|
],
|
|
925
|
-
[
|
|
929
|
+
[k.Compact]: [
|
|
926
930
|
// Position
|
|
927
931
|
"top-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
928
932
|
]
|
|
@@ -953,17 +957,17 @@ const St = /* @__PURE__ */ G(Gt, [["render", Tt]]), Ct = [
|
|
|
953
957
|
};
|
|
954
958
|
}
|
|
955
959
|
});
|
|
956
|
-
function Rt(e, t, r,
|
|
957
|
-
const
|
|
958
|
-
return a(),
|
|
959
|
-
class:
|
|
960
|
+
function Rt(e, t, r, c, b, h) {
|
|
961
|
+
const O = d("OrNotification");
|
|
962
|
+
return a(), f("div", {
|
|
963
|
+
class: u(e.rootStyles)
|
|
960
964
|
}, [
|
|
961
|
-
V(
|
|
965
|
+
V(O, te(e.notification, {
|
|
962
966
|
class: "rounded-0 shadow-none",
|
|
963
|
-
onClose: t[0] || (t[0] = (
|
|
967
|
+
onClose: t[0] || (t[0] = (v) => e.$emit("close-notification"))
|
|
964
968
|
}), {
|
|
965
|
-
default:
|
|
966
|
-
e.$slots.notification ? s(e.$slots, "notification", { key: 0 }) :
|
|
969
|
+
default: p(() => [
|
|
970
|
+
e.$slots.notification ? s(e.$slots, "notification", { key: 0 }) : g("", !0)
|
|
967
971
|
]),
|
|
968
972
|
_: 3
|
|
969
973
|
}, 16)
|
|
@@ -983,15 +987,15 @@ const It = /* @__PURE__ */ G(Mt, [["render", Rt]]), Ft = [
|
|
|
983
987
|
"children:theme-background-default",
|
|
984
988
|
"dark:children:theme-background-default-dark"
|
|
985
989
|
], Ht = {
|
|
986
|
-
[
|
|
990
|
+
[k.Standard]: [
|
|
987
991
|
// Box
|
|
988
992
|
"h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
|
|
989
993
|
],
|
|
990
|
-
[
|
|
994
|
+
[k.Comfortable]: [
|
|
991
995
|
// Box
|
|
992
996
|
"h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
|
|
993
997
|
],
|
|
994
|
-
[
|
|
998
|
+
[k.Compact]: [
|
|
995
999
|
// Box
|
|
996
1000
|
"h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
|
|
997
1001
|
]
|
|
@@ -1007,7 +1011,7 @@ const It = /* @__PURE__ */ G(Mt, [["render", Rt]]), Ft = [
|
|
|
1007
1011
|
"root"
|
|
1008
1012
|
],
|
|
1009
1013
|
setup(e) {
|
|
1010
|
-
const t =
|
|
1014
|
+
const t = $(), r = n(() => [
|
|
1011
1015
|
"or-data-grid-table-extra-row-v3",
|
|
1012
1016
|
...Ft,
|
|
1013
1017
|
...Ht[e.variant]
|
|
@@ -1018,10 +1022,10 @@ const It = /* @__PURE__ */ G(Mt, [["render", Rt]]), Ft = [
|
|
|
1018
1022
|
};
|
|
1019
1023
|
}
|
|
1020
1024
|
});
|
|
1021
|
-
function jt(e, t, r,
|
|
1022
|
-
return a(),
|
|
1025
|
+
function jt(e, t, r, c, b, h) {
|
|
1026
|
+
return a(), f("div", {
|
|
1023
1027
|
ref: "root",
|
|
1024
|
-
class:
|
|
1028
|
+
class: u(e.rootStyles)
|
|
1025
1029
|
}, [
|
|
1026
1030
|
s(e.$slots, "default")
|
|
1027
1031
|
], 2);
|
|
@@ -1072,7 +1076,7 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1072
1076
|
},
|
|
1073
1077
|
variant: {
|
|
1074
1078
|
type: String,
|
|
1075
|
-
default: () =>
|
|
1079
|
+
default: () => k.Standard
|
|
1076
1080
|
},
|
|
1077
1081
|
features: {
|
|
1078
1082
|
type: Object,
|
|
@@ -1105,23 +1109,23 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1105
1109
|
"root"
|
|
1106
1110
|
],
|
|
1107
1111
|
setup(e, t) {
|
|
1108
|
-
const r =
|
|
1112
|
+
const r = $(), c = $(), b = n(() => [
|
|
1109
1113
|
"or-data-grid-v3",
|
|
1110
1114
|
...Ut
|
|
1111
|
-
]),
|
|
1115
|
+
]), h = n(() => ({
|
|
1112
1116
|
scrollPaddingInlineStart: `${[...S.value.values()].reduce((o, l) => o + l, 0)}px`,
|
|
1113
1117
|
scrollPaddingInlineEnd: `${[...C.value.values()].reduce((o, l) => o + l, 0)}px`
|
|
1114
|
-
})),
|
|
1115
|
-
get: () => !!e.items.length && e.items.every((o) =>
|
|
1118
|
+
})), O = n({
|
|
1119
|
+
get: () => !!e.items.length && e.items.every((o) => v.value.includes(o.id)),
|
|
1116
1120
|
set: (o) => {
|
|
1117
|
-
o ?
|
|
1121
|
+
o ? v.value = [
|
|
1118
1122
|
.../* @__PURE__ */ new Set([
|
|
1119
|
-
...
|
|
1123
|
+
...v.value,
|
|
1120
1124
|
...e.items.map((l) => l.id)
|
|
1121
1125
|
])
|
|
1122
|
-
] :
|
|
1126
|
+
] : v.value = [];
|
|
1123
1127
|
}
|
|
1124
|
-
}),
|
|
1128
|
+
}), v = n({
|
|
1125
1129
|
get: () => {
|
|
1126
1130
|
var o;
|
|
1127
1131
|
return ((o = e.modelValue) == null ? void 0 : o.selecting) ?? [];
|
|
@@ -1129,86 +1133,86 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1129
1133
|
set: (o) => {
|
|
1130
1134
|
t.emit("update:modelValue", {
|
|
1131
1135
|
selecting: o,
|
|
1132
|
-
filtering:
|
|
1133
|
-
searching:
|
|
1134
|
-
sorting:
|
|
1135
|
-
paging:
|
|
1136
|
+
filtering: M.value,
|
|
1137
|
+
searching: i.value,
|
|
1138
|
+
sorting: D.value,
|
|
1139
|
+
paging: T.value
|
|
1136
1140
|
});
|
|
1137
1141
|
}
|
|
1138
|
-
}),
|
|
1142
|
+
}), M = n({
|
|
1139
1143
|
get: () => {
|
|
1140
1144
|
var o;
|
|
1141
1145
|
return (o = e.modelValue) == null ? void 0 : o.filtering;
|
|
1142
1146
|
},
|
|
1143
1147
|
set: (o) => {
|
|
1144
1148
|
t.emit("update:modelValue", {
|
|
1145
|
-
selecting:
|
|
1149
|
+
selecting: v.value,
|
|
1146
1150
|
filtering: o,
|
|
1147
|
-
searching:
|
|
1148
|
-
sorting:
|
|
1151
|
+
searching: i.value,
|
|
1152
|
+
sorting: D.value,
|
|
1149
1153
|
paging: {
|
|
1150
|
-
...
|
|
1154
|
+
...T.value,
|
|
1151
1155
|
offset: 0
|
|
1152
1156
|
}
|
|
1153
1157
|
});
|
|
1154
1158
|
}
|
|
1155
|
-
}),
|
|
1159
|
+
}), i = n({
|
|
1156
1160
|
get: () => {
|
|
1157
1161
|
var o;
|
|
1158
1162
|
return (o = e.modelValue) == null ? void 0 : o.searching;
|
|
1159
1163
|
},
|
|
1160
1164
|
set: (o) => {
|
|
1161
1165
|
t.emit("update:modelValue", {
|
|
1162
|
-
selecting:
|
|
1163
|
-
filtering:
|
|
1166
|
+
selecting: v.value,
|
|
1167
|
+
filtering: M.value,
|
|
1164
1168
|
searching: o,
|
|
1165
|
-
sorting:
|
|
1169
|
+
sorting: D.value,
|
|
1166
1170
|
paging: {
|
|
1167
|
-
...
|
|
1171
|
+
...T.value,
|
|
1168
1172
|
offset: 0
|
|
1169
1173
|
}
|
|
1170
1174
|
});
|
|
1171
1175
|
}
|
|
1172
|
-
}),
|
|
1176
|
+
}), D = n({
|
|
1173
1177
|
get: () => {
|
|
1174
1178
|
var o;
|
|
1175
1179
|
return (o = e.modelValue) == null ? void 0 : o.sorting;
|
|
1176
1180
|
},
|
|
1177
1181
|
set: (o) => {
|
|
1178
1182
|
t.emit("update:modelValue", {
|
|
1179
|
-
selecting:
|
|
1180
|
-
filtering:
|
|
1181
|
-
searching:
|
|
1183
|
+
selecting: v.value,
|
|
1184
|
+
filtering: M.value,
|
|
1185
|
+
searching: i.value,
|
|
1182
1186
|
sorting: o,
|
|
1183
1187
|
paging: {
|
|
1184
|
-
...
|
|
1188
|
+
...T.value,
|
|
1185
1189
|
offset: 0
|
|
1186
1190
|
}
|
|
1187
1191
|
});
|
|
1188
1192
|
}
|
|
1189
|
-
}),
|
|
1193
|
+
}), T = n({
|
|
1190
1194
|
get: () => {
|
|
1191
1195
|
var o;
|
|
1192
1196
|
return (o = e.modelValue) == null ? void 0 : o.paging;
|
|
1193
1197
|
},
|
|
1194
1198
|
set: (o) => {
|
|
1195
1199
|
t.emit("update:modelValue", {
|
|
1196
|
-
selecting:
|
|
1197
|
-
filtering:
|
|
1198
|
-
searching:
|
|
1199
|
-
sorting:
|
|
1200
|
+
selecting: v.value,
|
|
1201
|
+
filtering: M.value,
|
|
1202
|
+
searching: i.value,
|
|
1203
|
+
sorting: D.value,
|
|
1200
1204
|
paging: o
|
|
1201
1205
|
});
|
|
1202
1206
|
}
|
|
1203
|
-
}), S =
|
|
1207
|
+
}), S = $(/* @__PURE__ */ new Map()), C = $(/* @__PURE__ */ new Map()), I = n(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), y = n(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), F = n(() => {
|
|
1204
1208
|
var o;
|
|
1205
|
-
return ((o =
|
|
1209
|
+
return ((o = c.value) == null ? void 0 : o.currentLimit) || 10;
|
|
1206
1210
|
});
|
|
1207
1211
|
function j(o) {
|
|
1208
|
-
|
|
1212
|
+
i.value = o;
|
|
1209
1213
|
}
|
|
1210
|
-
function E(o, l,
|
|
1211
|
-
switch (
|
|
1214
|
+
function E(o, l, R) {
|
|
1215
|
+
switch (R.stickiness) {
|
|
1212
1216
|
case "start":
|
|
1213
1217
|
S.value.set(o, l), S.value = new Map(S.value), C.value.delete(o), C.value = new Map(C.value);
|
|
1214
1218
|
break;
|
|
@@ -1226,18 +1230,18 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1226
1230
|
function L(o) {
|
|
1227
1231
|
e.interactiveRows && t.emit("blur:row", o);
|
|
1228
1232
|
}
|
|
1229
|
-
function B(o, l,
|
|
1233
|
+
function B(o, l, R) {
|
|
1230
1234
|
e.interactiveRows && t.emit("hover:cell", {
|
|
1231
1235
|
item: o,
|
|
1232
1236
|
columnName: l,
|
|
1233
|
-
value:
|
|
1237
|
+
value: R
|
|
1234
1238
|
});
|
|
1235
1239
|
}
|
|
1236
|
-
function z(o, l,
|
|
1240
|
+
function z(o, l, R) {
|
|
1237
1241
|
e.interactiveRows && t.emit("blur:cell", {
|
|
1238
1242
|
item: o,
|
|
1239
1243
|
columnName: l,
|
|
1240
|
-
value:
|
|
1244
|
+
value: R
|
|
1241
1245
|
});
|
|
1242
1246
|
}
|
|
1243
1247
|
function A(o) {
|
|
@@ -1251,10 +1255,10 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1251
1255
|
}
|
|
1252
1256
|
return {
|
|
1253
1257
|
root: r,
|
|
1254
|
-
rootStyles:
|
|
1255
|
-
pagination:
|
|
1256
|
-
tableInlineStyles:
|
|
1257
|
-
selectingIndicator:
|
|
1258
|
+
rootStyles: b,
|
|
1259
|
+
pagination: c,
|
|
1260
|
+
tableInlineStyles: h,
|
|
1261
|
+
selectingIndicator: O,
|
|
1258
1262
|
showSelectingCouter: I,
|
|
1259
1263
|
selectingDisabled: y,
|
|
1260
1264
|
skeletonsLength: F,
|
|
@@ -1263,43 +1267,43 @@ const Et = /* @__PURE__ */ G(Pt, [["render", jt]]), Ut = [
|
|
|
1263
1267
|
handleMouseEnterCell: B,
|
|
1264
1268
|
handleMouseLeaveCell: z,
|
|
1265
1269
|
handleRowClick: A,
|
|
1266
|
-
selectingModel:
|
|
1267
|
-
filteringModel:
|
|
1268
|
-
searchingModel:
|
|
1269
|
-
sortingModel:
|
|
1270
|
-
pagingModel:
|
|
1270
|
+
selectingModel: v,
|
|
1271
|
+
filteringModel: M,
|
|
1272
|
+
searchingModel: i,
|
|
1273
|
+
sortingModel: D,
|
|
1274
|
+
pagingModel: T,
|
|
1271
1275
|
updateScrollOffset: E,
|
|
1272
1276
|
removeScrollOffset: U,
|
|
1273
1277
|
updateSearchingModel: j,
|
|
1274
1278
|
scrollTo: J,
|
|
1275
|
-
onInput: (o, l,
|
|
1276
|
-
o[l] =
|
|
1279
|
+
onInput: (o, l, R) => {
|
|
1280
|
+
o[l] = R, t.emit("update:item", o);
|
|
1277
1281
|
}
|
|
1278
1282
|
};
|
|
1279
1283
|
}
|
|
1280
1284
|
});
|
|
1281
|
-
function qt(e, t, r,
|
|
1282
|
-
const
|
|
1283
|
-
return a(),
|
|
1285
|
+
function qt(e, t, r, c, b, h) {
|
|
1286
|
+
const O = d("OrSearch"), v = d("OrDataGridHeader"), M = d("OrDataGridToolbar"), i = d("OrCheckbox"), D = d("OrDataGridTableHeaderCell"), T = d("OrDataGridTableHeaderRow"), S = d("OrDataGridTableHeader"), C = d("OrDataGridNotification"), I = d("OrDataGridTableExtraRow"), y = d("OrSkeletonText"), F = d("OrDataGridTableContentCell"), j = d("OrDataGridTableContentRow"), E = d("OrDataGridTablePlaceholder"), q = d("OrDataGridTableContent"), L = d("OrDataGridTable"), B = d("OrDataGridTableFooterCell"), z = d("OrDataGridTableFooterRow"), A = d("OrDataGridTableFooter"), U = d("OrPagination"), J = d("OrDataGridFooter");
|
|
1287
|
+
return a(), f("div", {
|
|
1284
1288
|
ref: "root",
|
|
1285
|
-
class:
|
|
1289
|
+
class: u(e.rootStyles)
|
|
1286
1290
|
}, [
|
|
1287
|
-
e.$slots.title || e.features.searching || e.$slots.search ? (a(),
|
|
1291
|
+
e.$slots.title || e.features.searching || e.$slots.search ? (a(), m(v, {
|
|
1288
1292
|
key: 0,
|
|
1289
|
-
class:
|
|
1293
|
+
class: u(["shrink-0"])
|
|
1290
1294
|
}, K({ _: 2 }, [
|
|
1291
1295
|
e.$slots.title ? {
|
|
1292
1296
|
name: "title",
|
|
1293
|
-
fn:
|
|
1297
|
+
fn: p(() => [
|
|
1294
1298
|
s(e.$slots, "title")
|
|
1295
1299
|
]),
|
|
1296
1300
|
key: "0"
|
|
1297
1301
|
} : void 0,
|
|
1298
1302
|
e.features.searching ? {
|
|
1299
1303
|
name: "searching",
|
|
1300
|
-
fn:
|
|
1304
|
+
fn: p(() => [
|
|
1301
1305
|
s(e.$slots, "search", oe(ae({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
|
|
1302
|
-
V(
|
|
1306
|
+
V(O, {
|
|
1303
1307
|
modelValue: e.searchingModel,
|
|
1304
1308
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.searchingModel = o)
|
|
1305
1309
|
}, null, 8, ["modelValue"])
|
|
@@ -1307,36 +1311,36 @@ function qt(e, t, r, b, v, u) {
|
|
|
1307
1311
|
]),
|
|
1308
1312
|
key: "1"
|
|
1309
1313
|
} : void 0
|
|
1310
|
-
]), 1024)) :
|
|
1311
|
-
e.$slots.toolbar ? (a(),
|
|
1314
|
+
]), 1024)) : g("", !0),
|
|
1315
|
+
e.$slots.toolbar ? (a(), m(M, {
|
|
1312
1316
|
key: 1,
|
|
1313
|
-
class:
|
|
1317
|
+
class: u(["shrink-0"])
|
|
1314
1318
|
}, {
|
|
1315
|
-
default:
|
|
1319
|
+
default: p(() => [
|
|
1316
1320
|
s(e.$slots, "toolbar")
|
|
1317
1321
|
]),
|
|
1318
1322
|
_: 3
|
|
1319
|
-
})) :
|
|
1323
|
+
})) : g("", !0),
|
|
1320
1324
|
V(L, {
|
|
1321
|
-
class:
|
|
1325
|
+
class: u(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
|
|
1322
1326
|
style: N(e.tableInlineStyles),
|
|
1323
1327
|
columns: e.columns,
|
|
1324
1328
|
features: e.features
|
|
1325
1329
|
}, {
|
|
1326
|
-
default:
|
|
1330
|
+
default: p(() => [
|
|
1327
1331
|
V(S, null, {
|
|
1328
|
-
default:
|
|
1329
|
-
V(
|
|
1330
|
-
default:
|
|
1331
|
-
e.features.selecting ? (a(),
|
|
1332
|
+
default: p(() => [
|
|
1333
|
+
V(T, { variant: e.variant }, {
|
|
1334
|
+
default: p(() => [
|
|
1335
|
+
e.features.selecting ? (a(), m(D, {
|
|
1332
1336
|
key: 0,
|
|
1333
1337
|
column: { stickiness: "start" },
|
|
1334
1338
|
class: "!py-xs !px-xs md:!py-none md:!px-sm+",
|
|
1335
1339
|
"onUpdate:scrollOffset": e.updateScrollOffset,
|
|
1336
1340
|
"onRemove:scrollOffset": e.removeScrollOffset
|
|
1337
1341
|
}, {
|
|
1338
|
-
default:
|
|
1339
|
-
V(
|
|
1342
|
+
default: p(() => [
|
|
1343
|
+
V(i, {
|
|
1340
1344
|
modelValue: e.selectingIndicator,
|
|
1341
1345
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => e.selectingIndicator = o),
|
|
1342
1346
|
indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
|
|
@@ -1344,8 +1348,8 @@ function qt(e, t, r, b, v, u) {
|
|
|
1344
1348
|
}, null, 8, ["modelValue", "indeterminate", "disabled"])
|
|
1345
1349
|
]),
|
|
1346
1350
|
_: 1
|
|
1347
|
-
}, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) :
|
|
1348
|
-
(a(!0),
|
|
1351
|
+
}, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) : g("", !0),
|
|
1352
|
+
(a(!0), f(H, null, P(e.columns, (o) => (a(), m(D, {
|
|
1349
1353
|
key: o.name,
|
|
1350
1354
|
modelValue: e.sortingModel,
|
|
1351
1355
|
"onUpdate:modelValue": t[2] || (t[2] = (l) => e.sortingModel = l),
|
|
@@ -1354,7 +1358,7 @@ function qt(e, t, r, b, v, u) {
|
|
|
1354
1358
|
"onUpdate:scrollOffset": e.updateScrollOffset,
|
|
1355
1359
|
"onRemove:scrollOffset": e.removeScrollOffset
|
|
1356
1360
|
}, {
|
|
1357
|
-
default:
|
|
1361
|
+
default: p(() => [
|
|
1358
1362
|
Q(W(o.label), 1)
|
|
1359
1363
|
]),
|
|
1360
1364
|
_: 2
|
|
@@ -1365,7 +1369,7 @@ function qt(e, t, r, b, v, u) {
|
|
|
1365
1369
|
]),
|
|
1366
1370
|
_: 1
|
|
1367
1371
|
}),
|
|
1368
|
-
e.notification ? (a(),
|
|
1372
|
+
e.notification ? (a(), m(C, {
|
|
1369
1373
|
key: 0,
|
|
1370
1374
|
notification: e.notification,
|
|
1371
1375
|
variant: e.variant,
|
|
@@ -1373,47 +1377,47 @@ function qt(e, t, r, b, v, u) {
|
|
|
1373
1377
|
}, K({ _: 2 }, [
|
|
1374
1378
|
e.$slots.notification ? {
|
|
1375
1379
|
name: "notification",
|
|
1376
|
-
fn:
|
|
1380
|
+
fn: p(() => [
|
|
1377
1381
|
s(e.$slots, "notification")
|
|
1378
1382
|
]),
|
|
1379
1383
|
key: "0"
|
|
1380
1384
|
} : void 0
|
|
1381
|
-
]), 1032, ["notification", "variant"])) :
|
|
1385
|
+
]), 1032, ["notification", "variant"])) : g("", !0),
|
|
1382
1386
|
V(q, null, {
|
|
1383
|
-
default:
|
|
1384
|
-
e.$slots["before-rows"] ? (a(),
|
|
1387
|
+
default: p(() => [
|
|
1388
|
+
e.$slots["before-rows"] ? (a(), m(I, {
|
|
1385
1389
|
key: 0,
|
|
1386
1390
|
variant: e.variant,
|
|
1387
1391
|
class: "border-b-1"
|
|
1388
1392
|
}, {
|
|
1389
|
-
default:
|
|
1393
|
+
default: p(() => [
|
|
1390
1394
|
s(e.$slots, "before-rows")
|
|
1391
1395
|
]),
|
|
1392
1396
|
_: 3
|
|
1393
|
-
}, 8, ["variant"])) :
|
|
1394
|
-
e.loading ? (a(!0),
|
|
1397
|
+
}, 8, ["variant"])) : g("", !0),
|
|
1398
|
+
e.loading ? (a(!0), f(H, { key: 1 }, P(e.skeletonsLength, (o) => (a(), m(j, {
|
|
1395
1399
|
key: o,
|
|
1396
1400
|
variant: e.variant,
|
|
1397
1401
|
interactive: e.interactiveRows
|
|
1398
1402
|
}, {
|
|
1399
|
-
default:
|
|
1400
|
-
e.features.selecting ? (a(),
|
|
1403
|
+
default: p(() => [
|
|
1404
|
+
e.features.selecting ? (a(), m(F, {
|
|
1401
1405
|
key: 0,
|
|
1402
1406
|
column: { stickiness: "start" },
|
|
1403
1407
|
override: !0
|
|
1404
1408
|
}, {
|
|
1405
|
-
default:
|
|
1409
|
+
default: p(() => [
|
|
1406
1410
|
V(y)
|
|
1407
1411
|
]),
|
|
1408
1412
|
_: 1
|
|
1409
|
-
})) :
|
|
1410
|
-
(a(!0),
|
|
1413
|
+
})) : g("", !0),
|
|
1414
|
+
(a(!0), f(H, null, P(e.columns, (l) => (a(), m(F, {
|
|
1411
1415
|
key: l.name,
|
|
1412
1416
|
column: l,
|
|
1413
1417
|
features: e.features,
|
|
1414
1418
|
override: !0
|
|
1415
1419
|
}, {
|
|
1416
|
-
default:
|
|
1420
|
+
default: p(() => [
|
|
1417
1421
|
s(e.$slots, "column-loading", { column: l }, () => [
|
|
1418
1422
|
V(y)
|
|
1419
1423
|
])
|
|
@@ -1422,7 +1426,7 @@ function qt(e, t, r, b, v, u) {
|
|
|
1422
1426
|
}, 1032, ["column", "features"]))), 128))
|
|
1423
1427
|
]),
|
|
1424
1428
|
_: 2
|
|
1425
|
-
}, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (a(!0),
|
|
1429
|
+
}, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (a(!0), f(H, { key: 2 }, P(e.items, (o) => (a(), m(j, {
|
|
1426
1430
|
key: o.id,
|
|
1427
1431
|
variant: e.variant,
|
|
1428
1432
|
selected: e.selectingModel.includes(o.id),
|
|
@@ -1431,8 +1435,8 @@ function qt(e, t, r, b, v, u) {
|
|
|
1431
1435
|
onMouseleave: () => e.handleMouseLeaveRow(o),
|
|
1432
1436
|
onClick: () => e.handleRowClick(o)
|
|
1433
1437
|
}, {
|
|
1434
|
-
default:
|
|
1435
|
-
e.features.selecting ? (a(),
|
|
1438
|
+
default: p(() => [
|
|
1439
|
+
e.features.selecting ? (a(), m(F, {
|
|
1436
1440
|
key: 0,
|
|
1437
1441
|
column: { stickiness: "start" },
|
|
1438
1442
|
"force-state": "none",
|
|
@@ -1440,8 +1444,8 @@ function qt(e, t, r, b, v, u) {
|
|
|
1440
1444
|
onMouseenter: () => e.handleMouseEnterCell(o, "selecting", e.selectingModel.includes(o.id)),
|
|
1441
1445
|
onMouseleave: () => e.handleMouseLeaveCell(o, "selecting", e.selectingModel.includes(o.id))
|
|
1442
1446
|
}, {
|
|
1443
|
-
default:
|
|
1444
|
-
V(
|
|
1447
|
+
default: p(() => [
|
|
1448
|
+
V(i, {
|
|
1445
1449
|
modelValue: e.selectingModel,
|
|
1446
1450
|
"onUpdate:modelValue": t[4] || (t[4] = (l) => e.selectingModel = l),
|
|
1447
1451
|
value: o.id,
|
|
@@ -1449,18 +1453,18 @@ function qt(e, t, r, b, v, u) {
|
|
|
1449
1453
|
}, null, 8, ["modelValue", "value", "disabled"])
|
|
1450
1454
|
]),
|
|
1451
1455
|
_: 2
|
|
1452
|
-
}, 1032, ["onMouseenter", "onMouseleave"])) :
|
|
1453
|
-
(a(!0),
|
|
1456
|
+
}, 1032, ["onMouseenter", "onMouseleave"])) : g("", !0),
|
|
1457
|
+
(a(!0), f(H, null, P(e.columns, (l) => (a(), m(F, {
|
|
1454
1458
|
key: l.name,
|
|
1455
1459
|
"model-value": o[l.name],
|
|
1456
1460
|
column: l,
|
|
1457
1461
|
features: e.features,
|
|
1458
|
-
onInput: (
|
|
1459
|
-
onFocusin: t[5] || (t[5] = (
|
|
1462
|
+
onInput: (R) => e.onInput(o, l.name, R),
|
|
1463
|
+
onFocusin: t[5] || (t[5] = (R) => e.scrollTo(R)),
|
|
1460
1464
|
onMouseenter: () => e.handleMouseEnterCell(o, l.name, o[l.name]),
|
|
1461
1465
|
onMouseleave: () => e.handleMouseLeaveCell(o, l.name, o[l.name])
|
|
1462
1466
|
}, {
|
|
1463
|
-
default:
|
|
1467
|
+
default: p(() => [
|
|
1464
1468
|
s(e.$slots, l.name, {
|
|
1465
1469
|
column: l,
|
|
1466
1470
|
item: o
|
|
@@ -1472,52 +1476,52 @@ function qt(e, t, r, b, v, u) {
|
|
|
1472
1476
|
}, 1032, ["model-value", "column", "features", "onInput", "onMouseenter", "onMouseleave"]))), 128))
|
|
1473
1477
|
]),
|
|
1474
1478
|
_: 2
|
|
1475
|
-
}, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (a(),
|
|
1479
|
+
}, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (a(), m(E, {
|
|
1476
1480
|
key: 3,
|
|
1477
|
-
class:
|
|
1481
|
+
class: u(["col-span-full"]),
|
|
1478
1482
|
variant: e.variant
|
|
1479
1483
|
}, {
|
|
1480
|
-
default:
|
|
1484
|
+
default: p(() => [
|
|
1481
1485
|
s(e.$slots, "noSearchResults", {
|
|
1482
1486
|
filter: e.filteringModel,
|
|
1483
1487
|
search: e.searchingModel
|
|
1484
1488
|
})
|
|
1485
1489
|
]),
|
|
1486
1490
|
_: 3
|
|
1487
|
-
}, 8, ["variant"])) : e.$slots.empty ? (a(),
|
|
1491
|
+
}, 8, ["variant"])) : e.$slots.empty ? (a(), m(E, {
|
|
1488
1492
|
key: 4,
|
|
1489
|
-
class:
|
|
1493
|
+
class: u(["col-span-full"]),
|
|
1490
1494
|
variant: e.variant
|
|
1491
1495
|
}, {
|
|
1492
|
-
default:
|
|
1496
|
+
default: p(() => [
|
|
1493
1497
|
s(e.$slots, "empty")
|
|
1494
1498
|
]),
|
|
1495
1499
|
_: 3
|
|
1496
|
-
}, 8, ["variant"])) :
|
|
1497
|
-
e.$slots["after-rows"] ? (a(),
|
|
1500
|
+
}, 8, ["variant"])) : g("", !0),
|
|
1501
|
+
e.$slots["after-rows"] ? (a(), m(I, {
|
|
1498
1502
|
key: 5,
|
|
1499
1503
|
variant: e.variant
|
|
1500
1504
|
}, {
|
|
1501
|
-
default:
|
|
1505
|
+
default: p(() => [
|
|
1502
1506
|
s(e.$slots, "after-rows")
|
|
1503
1507
|
]),
|
|
1504
1508
|
_: 3
|
|
1505
|
-
}, 8, ["variant"])) :
|
|
1509
|
+
}, 8, ["variant"])) : g("", !0)
|
|
1506
1510
|
]),
|
|
1507
1511
|
_: 3
|
|
1508
1512
|
})
|
|
1509
1513
|
]),
|
|
1510
1514
|
_: 3
|
|
1511
1515
|
}, 8, ["class", "style", "columns", "features"]),
|
|
1512
|
-
e.$slots["extra-row"] ? (a(),
|
|
1513
|
-
default:
|
|
1516
|
+
e.$slots["extra-row"] ? (a(), m(A, { key: 2 }, {
|
|
1517
|
+
default: p(() => [
|
|
1514
1518
|
V(z, {
|
|
1515
|
-
class:
|
|
1519
|
+
class: u(["shrink-0"]),
|
|
1516
1520
|
variant: e.variant
|
|
1517
1521
|
}, {
|
|
1518
|
-
default:
|
|
1522
|
+
default: p(() => [
|
|
1519
1523
|
V(B, null, {
|
|
1520
|
-
default:
|
|
1524
|
+
default: p(() => [
|
|
1521
1525
|
s(e.$slots, "extra-row")
|
|
1522
1526
|
]),
|
|
1523
1527
|
_: 3
|
|
@@ -1527,28 +1531,28 @@ function qt(e, t, r, b, v, u) {
|
|
|
1527
1531
|
}, 8, ["variant"])
|
|
1528
1532
|
]),
|
|
1529
1533
|
_: 3
|
|
1530
|
-
})) :
|
|
1531
|
-
e.$slots.actions || e.showSelectingCouter || e.features.paging ? (a(),
|
|
1534
|
+
})) : g("", !0),
|
|
1535
|
+
e.$slots.actions || e.showSelectingCouter || e.features.paging ? (a(), m(J, {
|
|
1532
1536
|
key: 3,
|
|
1533
|
-
class:
|
|
1537
|
+
class: u(["shrink-0"])
|
|
1534
1538
|
}, K({ _: 2 }, [
|
|
1535
1539
|
e.features.selecting && e.selectingModel.length > 0 ? {
|
|
1536
1540
|
name: "status",
|
|
1537
|
-
fn:
|
|
1541
|
+
fn: p(() => [
|
|
1538
1542
|
Q(W(e.selectingModel.length) + " row(s) selected ", 1)
|
|
1539
1543
|
]),
|
|
1540
1544
|
key: "0"
|
|
1541
1545
|
} : void 0,
|
|
1542
1546
|
e.$slots.actions ? {
|
|
1543
1547
|
name: "actions",
|
|
1544
|
-
fn:
|
|
1548
|
+
fn: p(() => [
|
|
1545
1549
|
s(e.$slots, "actions")
|
|
1546
1550
|
]),
|
|
1547
1551
|
key: "1"
|
|
1548
1552
|
} : void 0,
|
|
1549
1553
|
e.features.paging ? {
|
|
1550
1554
|
name: "paging",
|
|
1551
|
-
fn:
|
|
1555
|
+
fn: p(() => [
|
|
1552
1556
|
V(U, {
|
|
1553
1557
|
ref: "pagination",
|
|
1554
1558
|
modelValue: e.pagingModel,
|
|
@@ -1559,12 +1563,12 @@ function qt(e, t, r, b, v, u) {
|
|
|
1559
1563
|
]),
|
|
1560
1564
|
key: "2"
|
|
1561
1565
|
} : void 0
|
|
1562
|
-
]), 1024)) :
|
|
1566
|
+
]), 1024)) : g("", !0)
|
|
1563
1567
|
], 2);
|
|
1564
1568
|
}
|
|
1565
1569
|
const lo = /* @__PURE__ */ G(Nt, [["render", qt]]);
|
|
1566
1570
|
export {
|
|
1567
|
-
|
|
1571
|
+
k as D,
|
|
1568
1572
|
lo as O,
|
|
1569
1573
|
ke as a,
|
|
1570
1574
|
Te as b,
|
|
@@ -1583,4 +1587,4 @@ export {
|
|
|
1583
1587
|
It as o,
|
|
1584
1588
|
Et as p
|
|
1585
1589
|
};
|
|
1586
|
-
//# sourceMappingURL=OrDataGrid-
|
|
1590
|
+
//# sourceMappingURL=OrDataGrid-rR9MOj2g.mjs.map
|