@onereach/ui-components 26.3.2 → 26.3.3-beta.5867.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.
@@ -2,8 +2,8 @@ import { O as X } from "./OrCheckbox-WPBzlvaV.mjs";
2
2
  import { O as Y } from "./OrPagination-BXzDa-Su.mjs";
3
3
  import { O as Z } from "./OrSearch-CRFuNmg2.mjs";
4
4
  import { O as _ } from "./OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs";
5
- import { defineComponent as G, ref as D, computed as n, openBlock as a, createElementBlock as g, normalizeClass as u, renderSlot as s, createCommentVNode as p, resolveComponent as d, normalizeStyle as N, Fragment as H, createBlock as f, watch as x, createElementVNode as ee, createVNode as M, mergeProps as te, withCtx as m, createSlots as K, normalizeProps as oe, guardReactiveProps as ae, renderList as P, createTextVNode as Q, toDisplayString as W } from "vue";
6
- import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
5
+ import { defineComponent as T, ref as G, computed as n, openBlock as o, createElementBlock as v, normalizeClass as u, renderSlot as i, createCommentVNode as g, resolveComponent as d, normalizeStyle as N, Fragment as H, createBlock as p, watch as x, createElementVNode as ee, createVNode as M, mergeProps as te, withCtx as f, createSlots as K, normalizeProps as ae, guardReactiveProps as oe, renderList as P, createTextVNode as Q, toDisplayString as W } from "vue";
6
+ import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  import { O as re } from "./OrDatePicker-D-Do0tSf.mjs";
8
8
  import { O as ne } from "./OrDateTimePicker-myqJkQxy.mjs";
9
9
  import "./OrDateTimePicker.vue_vue_type_script_lang-xnGNoSUB.mjs";
@@ -34,13 +34,13 @@ const ge = [
34
34
  ], ve = [
35
35
  // Typography
36
36
  "typography-body-2-semibold"
37
- ], be = G({
37
+ ], he = T({
38
38
  name: "OrDataGridFooter",
39
39
  expose: [
40
40
  "root"
41
41
  ],
42
42
  setup() {
43
- const e = D(), t = n(() => [
43
+ const e = G(), t = n(() => [
44
44
  "or-data-grid-footer-v3",
45
45
  ...ge
46
46
  ]), r = n(() => [
@@ -52,27 +52,27 @@ const ge = [
52
52
  statusStyles: r
53
53
  };
54
54
  }
55
- }), he = {
55
+ }), be = {
56
56
  key: 1,
57
57
  class: /* @__PURE__ */ u(["grow"])
58
58
  };
59
- function ye(e, t, r, c, v, b) {
60
- return a(), g("div", {
59
+ function ye(e, t, r, m, h, b) {
60
+ return o(), v("div", {
61
61
  ref: "root",
62
62
  class: u(e.rootStyles)
63
63
  }, [
64
- e.$slots.status ? (a(), g("div", {
64
+ e.$slots.status ? (o(), v("div", {
65
65
  key: 0,
66
66
  class: u(e.statusStyles)
67
67
  }, [
68
- s(e.$slots, "status")
69
- ], 2)) : p("", !0),
70
- s(e.$slots, "actions"),
71
- e.$slots.paging ? (a(), g("div", he)) : p("", !0),
72
- s(e.$slots, "paging")
68
+ i(e.$slots, "status")
69
+ ], 2)) : g("", !0),
70
+ i(e.$slots, "actions"),
71
+ e.$slots.paging ? (o(), v("div", be)) : g("", !0),
72
+ i(e.$slots, "paging")
73
73
  ], 2);
74
74
  }
75
- const ke = /* @__PURE__ */ T(be, [["render", ye]]), Oe = [
75
+ const ke = /* @__PURE__ */ C(he, [["render", ye]]), Oe = [
76
76
  // Layout
77
77
  "layout-row items-start gap-md",
78
78
  // Interactivity
@@ -82,13 +82,13 @@ const ke = /* @__PURE__ */ T(be, [["render", ye]]), Oe = [
82
82
  ], $e = [
83
83
  // Typography
84
84
  "typography-headline-2"
85
- ], De = G({
85
+ ], De = T({
86
86
  name: "OrDataGridHeader",
87
87
  expose: [
88
88
  "root"
89
89
  ],
90
90
  setup() {
91
- const e = D(), t = n(() => [
91
+ const e = G(), t = n(() => [
92
92
  "or-data-grid-header-v3",
93
93
  ...Oe
94
94
  ]), r = n(() => [
@@ -104,25 +104,27 @@ const ke = /* @__PURE__ */ T(be, [["render", ye]]), Oe = [
104
104
  key: 1,
105
105
  class: /* @__PURE__ */ u(["grow"])
106
106
  };
107
- function Ge(e, t, r, c, v, b) {
108
- return a(), g("div", {
107
+ function Ge(e, t, r, m, h, b) {
108
+ return o(), v("div", {
109
109
  ref: "root",
110
110
  class: u(e.rootStyles)
111
111
  }, [
112
- e.$slots.title ? (a(), g("div", {
112
+ e.$slots.title ? (o(), v("div", {
113
113
  key: 0,
114
114
  class: u(e.titleStyles)
115
115
  }, [
116
- s(e.$slots, "title")
117
- ], 2)) : p("", !0),
118
- e.$slots.searching || e.$slots.extraActions ? (a(), g("div", we)) : p("", !0),
119
- s(e.$slots, "searching"),
120
- e.$slots.extraActions ? s(e.$slots, "extraActions", { key: 2 }) : p("", !0)
116
+ i(e.$slots, "title")
117
+ ], 2)) : g("", !0),
118
+ e.$slots.searching || e.$slots.extraActions ? (o(), v("div", we)) : g("", !0),
119
+ i(e.$slots, "searching"),
120
+ e.$slots.extraActions ? i(e.$slots, "extraActions", { key: 2 }) : g("", !0)
121
121
  ], 2);
122
122
  }
123
- const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
123
+ const Se = /* @__PURE__ */ C(De, [["render", Ge]]);
124
+ var c = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(c || {});
125
+ const Te = [
124
126
  // Layout
125
- "layout-row",
127
+ "layout-row items-center",
126
128
  // Spacing
127
129
  "px-sm+",
128
130
  "py-0",
@@ -148,7 +150,7 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
148
150
  "interactivity-select",
149
151
  // Typography
150
152
  "truncate"
151
- ], Ve = G({
153
+ ], Ve = T({
152
154
  name: "OrDataGridTableContentCell",
153
155
  components: {
154
156
  OrCheckbox: X,
@@ -167,6 +169,7 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
167
169
  },
168
170
  props: {
169
171
  modelValue: {
172
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
170
173
  type: void 0,
171
174
  default: void 0
172
175
  },
@@ -178,9 +181,9 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
178
181
  type: Object,
179
182
  default: void 0
180
183
  },
181
- override: {
182
- type: Boolean,
183
- default: !1
184
+ variant: {
185
+ type: String,
186
+ default: c.Standard
184
187
  }
185
188
  },
186
189
  emits: [
@@ -190,14 +193,15 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
190
193
  "root"
191
194
  ],
192
195
  setup(e, t) {
193
- const r = D(), c = n(() => {
194
- var $;
196
+ const r = G(), m = n(() => {
197
+ var k;
195
198
  return [
196
199
  "or-data-grid-table-content-cell-v3",
197
- ...Se,
198
- ...($ = e.column) != null && $.stickiness ? [`sticky-${e.column.stickiness}`] : []
200
+ ...Te,
201
+ ...(k = e.column) != null && k.stickiness ? [`sticky-${e.column.stickiness}`] : [],
202
+ ...e.variant === c.Dynamic ? ["!py-xs"] : []
199
203
  ];
200
- }), v = n(() => {
204
+ }), h = n(() => {
201
205
  if (e.column)
202
206
  switch (e.column.stickiness) {
203
207
  case "start":
@@ -223,110 +227,113 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
223
227
  return {
224
228
  justifyContent: "center"
225
229
  };
226
- }), b = n(() => [
227
- ...Ce
228
- ]), k = n({
230
+ }), b = n(() => {
231
+ var k, l, O, w, S;
232
+ return [
233
+ ...Ce,
234
+ ...((l = (k = e.column) == null ? void 0 : k.control) == null ? void 0 : l.type) !== "text" && ((w = (O = e.column) == null ? void 0 : O.control) == null ? void 0 : w.type) !== "number" ? [] : ["grow"],
235
+ ...e.variant === c.Dynamic && !((S = e.column) != null && S.control) ? ["whitespace-pre-wrap break-words"] : ["truncate"]
236
+ ];
237
+ }), $ = n({
229
238
  get: () => e.modelValue,
230
- set: ($) => {
231
- t.emit("input", $);
239
+ set: (k) => {
240
+ t.emit("input", k);
232
241
  }
233
- }), O = n(() => {
234
- var $;
235
- return ($ = e.column) == null ? void 0 : $.control;
242
+ }), D = n(() => {
243
+ var k;
244
+ return (k = e.column) == null ? void 0 : k.control;
236
245
  });
237
246
  return {
238
247
  root: r,
239
- rootStyles: c,
240
- rootInlineStyles: v,
248
+ rootStyles: m,
249
+ rootInlineStyles: h,
241
250
  contentStyles: b,
242
- model: k,
243
- control: O
251
+ model: $,
252
+ control: D
244
253
  };
245
254
  }
246
255
  });
247
- function Me(e, t, r, c, v, b) {
248
- const k = d("OrInput"), O = d("OrRating"), $ = d("OrSelect"), i = d("OrCheckbox"), w = d("OrSwitch"), S = d("OrDatePicker"), C = d("OrTimePicker"), V = d("OrDateTimePicker"), I = d("OrTagInput");
249
- return a(), g("div", {
256
+ function Me(e, t, r, m, h, b) {
257
+ const $ = d("OrInput"), D = d("OrRating"), k = d("OrSelect"), l = d("OrCheckbox"), O = d("OrSwitch"), w = d("OrDatePicker"), S = d("OrTimePicker"), V = d("OrDateTimePicker"), I = d("OrTagInput");
258
+ return o(), v("div", {
250
259
  ref: "root",
251
260
  class: u(e.rootStyles),
252
261
  style: N(e.rootInlineStyles)
253
262
  }, [
254
- e.override ? s(e.$slots, "default", { key: 0 }) : e.control ? (a(), g(H, { key: 1 }, [
255
- e.control.type === "text" ? (a(), f(k, {
263
+ e.override ? i(e.$slots, "default", { key: 0 }) : e.control ? (o(), v(H, { key: 1 }, [
264
+ e.control.type === "text" ? (o(), p($, {
256
265
  key: 0,
257
266
  modelValue: e.model,
258
- "onUpdate:modelValue": t[0] || (t[0] = (h) => e.model = h),
267
+ "onUpdate:modelValue": t[0] || (t[0] = (y) => e.model = y),
259
268
  type: "text",
260
269
  variant: "embedded"
261
- }, null, 8, ["modelValue"])) : p("", !0),
262
- e.control.type === "number" ? (a(), f(k, {
270
+ }, null, 8, ["modelValue"])) : g("", !0),
271
+ e.control.type === "number" ? (o(), p($, {
263
272
  key: 1,
264
273
  modelValue: e.model,
265
- "onUpdate:modelValue": t[1] || (t[1] = (h) => e.model = h),
274
+ "onUpdate:modelValue": t[1] || (t[1] = (y) => e.model = y),
266
275
  type: "number",
267
276
  variant: "embedded"
268
- }, null, 8, ["modelValue"])) : p("", !0),
269
- e.control.type === "rating" ? (a(), f(O, {
277
+ }, null, 8, ["modelValue"])) : g("", !0),
278
+ e.control.type === "rating" ? (o(), p(D, {
270
279
  key: 2,
271
280
  modelValue: e.model,
272
- "onUpdate:modelValue": t[2] || (t[2] = (h) => e.model = h)
273
- }, null, 8, ["modelValue"])) : p("", !0),
274
- e.control.type === "select" ? (a(), f($, {
281
+ "onUpdate:modelValue": t[2] || (t[2] = (y) => e.model = y)
282
+ }, null, 8, ["modelValue"])) : g("", !0),
283
+ e.control.type === "select" ? (o(), p(k, {
275
284
  key: 3,
276
285
  modelValue: e.model,
277
- "onUpdate:modelValue": t[3] || (t[3] = (h) => e.model = h),
286
+ "onUpdate:modelValue": t[3] || (t[3] = (y) => e.model = y),
278
287
  options: e.control.options,
279
288
  variant: "embedded",
280
289
  anchor: e.root
281
- }, null, 8, ["modelValue", "options", "anchor"])) : p("", !0),
282
- e.control.type === "checkbox" ? (a(), f(i, {
290
+ }, null, 8, ["modelValue", "options", "anchor"])) : g("", !0),
291
+ e.control.type === "checkbox" ? (o(), p(l, {
283
292
  key: 4,
284
293
  modelValue: e.model,
285
- "onUpdate:modelValue": t[4] || (t[4] = (h) => e.model = h)
286
- }, null, 8, ["modelValue"])) : p("", !0),
287
- e.control.type === "switch" ? (a(), f(w, {
294
+ "onUpdate:modelValue": t[4] || (t[4] = (y) => e.model = y)
295
+ }, null, 8, ["modelValue"])) : g("", !0),
296
+ e.control.type === "switch" ? (o(), p(O, {
288
297
  key: 5,
289
298
  modelValue: e.model,
290
- "onUpdate:modelValue": t[5] || (t[5] = (h) => e.model = h)
291
- }, null, 8, ["modelValue"])) : p("", !0),
292
- e.control.type === "date" ? (a(), f(S, {
299
+ "onUpdate:modelValue": t[5] || (t[5] = (y) => e.model = y)
300
+ }, null, 8, ["modelValue"])) : g("", !0),
301
+ e.control.type === "date" ? (o(), p(w, {
293
302
  key: 6,
294
303
  modelValue: e.model,
295
- "onUpdate:modelValue": t[6] || (t[6] = (h) => e.model = h),
304
+ "onUpdate:modelValue": t[6] || (t[6] = (y) => e.model = y),
296
305
  variant: "embedded",
297
306
  anchor: e.root
298
- }, null, 8, ["modelValue", "anchor"])) : p("", !0),
299
- e.control.type === "time" ? (a(), f(C, {
307
+ }, null, 8, ["modelValue", "anchor"])) : g("", !0),
308
+ e.control.type === "time" ? (o(), p(S, {
300
309
  key: 7,
301
310
  modelValue: e.model,
302
- "onUpdate:modelValue": t[7] || (t[7] = (h) => e.model = h),
311
+ "onUpdate:modelValue": t[7] || (t[7] = (y) => e.model = y),
303
312
  variant: "embedded",
304
313
  anchor: e.root
305
- }, null, 8, ["modelValue", "anchor"])) : p("", !0),
306
- e.control.type === "datetime" ? (a(), f(V, {
314
+ }, null, 8, ["modelValue", "anchor"])) : g("", !0),
315
+ e.control.type === "datetime" ? (o(), p(V, {
307
316
  key: 8,
308
317
  modelValue: e.model,
309
- "onUpdate:modelValue": t[8] || (t[8] = (h) => e.model = h),
318
+ "onUpdate:modelValue": t[8] || (t[8] = (y) => e.model = y),
310
319
  variant: "embedded",
311
320
  anchor: e.root
312
- }, null, 8, ["modelValue", "anchor"])) : p("", !0),
313
- e.control.type === "tags" ? (a(), f(I, {
321
+ }, null, 8, ["modelValue", "anchor"])) : g("", !0),
322
+ e.control.type === "tags" ? (o(), p(I, {
314
323
  key: 9,
315
324
  modelValue: e.model,
316
- "onUpdate:modelValue": t[9] || (t[9] = (h) => e.model = h),
325
+ "onUpdate:modelValue": t[9] || (t[9] = (y) => e.model = y),
317
326
  variant: "embedded"
318
- }, null, 8, ["modelValue"])) : p("", !0)
319
- ], 64)) : (a(), g("div", {
327
+ }, null, 8, ["modelValue"])) : g("", !0)
328
+ ], 64)) : (o(), v("div", {
320
329
  key: 2,
321
330
  class: u(e.contentStyles)
322
331
  }, [
323
- s(e.$slots, "default")
332
+ i(e.$slots, "default")
324
333
  ], 2))
325
334
  ], 6);
326
335
  }
327
- const Re = /* @__PURE__ */ T(Ve, [["render", Me]]);
328
- var y = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e))(y || {});
329
- const Ie = [
336
+ const Re = /* @__PURE__ */ C(Ve, [["render", Me]]), Ie = [
330
337
  // Layout
331
338
  "grid grid-cols-[subgrid] col-span-full",
332
339
  // Typography
@@ -349,19 +356,23 @@ const Ie = [
349
356
  "children:hover:selected:theme-background-surface-3",
350
357
  "dark:children:hover:selected:theme-background-surface-3-dark"
351
358
  ], Fe = {
352
- [y.Standard]: [
359
+ [c.Standard]: [
353
360
  // Box
354
361
  "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
355
362
  ],
356
- [y.Comfortable]: [
363
+ [c.Comfortable]: [
357
364
  // Box
358
365
  "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
359
366
  ],
360
- [y.Compact]: [
367
+ [c.Compact]: [
361
368
  // Box
362
369
  "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
370
+ ],
371
+ [c.Dynamic]: [
372
+ // Box
373
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
363
374
  ]
364
- }, He = G({
375
+ }, He = T({
365
376
  name: "OrDataGridTableContentRow",
366
377
  props: {
367
378
  variant: {
@@ -381,7 +392,7 @@ const Ie = [
381
392
  "root"
382
393
  ],
383
394
  setup(e) {
384
- const t = D(), r = n(() => [
395
+ const t = G(), r = n(() => [
385
396
  "or-data-grid-table-content-row-v3",
386
397
  ...Ie,
387
398
  ...Fe[e.variant],
@@ -393,25 +404,25 @@ const Ie = [
393
404
  };
394
405
  }
395
406
  }), Pe = ["selected"];
396
- function je(e, t, r, c, v, b) {
397
- return a(), g("div", {
407
+ function je(e, t, r, m, h, b) {
408
+ return o(), v("div", {
398
409
  ref: "root",
399
410
  class: u(e.rootStyles),
400
411
  selected: e.selected
401
412
  }, [
402
- s(e.$slots, "default")
413
+ i(e.$slots, "default")
403
414
  ], 10, Pe);
404
415
  }
405
- const Ee = /* @__PURE__ */ T(He, [["render", je]]), Ue = [
416
+ const Ee = /* @__PURE__ */ C(He, [["render", je]]), Ue = [
406
417
  // Layout
407
418
  "contents"
408
- ], Ne = G({
419
+ ], Ne = T({
409
420
  name: "OrDataGridTableContent",
410
421
  expose: [
411
422
  "root"
412
423
  ],
413
424
  setup() {
414
- const e = D(), t = n(() => [
425
+ const e = G(), t = n(() => [
415
426
  "or-data-grid-table-content-v3",
416
427
  ...Ue
417
428
  ]);
@@ -421,15 +432,15 @@ const Ee = /* @__PURE__ */ T(He, [["render", je]]), Ue = [
421
432
  };
422
433
  }
423
434
  });
424
- function qe(e, t, r, c, v, b) {
425
- return a(), g("div", {
435
+ function qe(e, t, r, m, h, b) {
436
+ return o(), v("div", {
426
437
  ref: "root",
427
438
  class: u(e.rootStyles)
428
439
  }, [
429
- s(e.$slots, "default")
440
+ i(e.$slots, "default")
430
441
  ], 2);
431
442
  }
432
- const Ae = /* @__PURE__ */ T(Ne, [["render", qe]]), Le = [
443
+ const Ae = /* @__PURE__ */ C(Ne, [["render", qe]]), Le = [
433
444
  // Layout
434
445
  "layout-row",
435
446
  // Spacing
@@ -439,13 +450,13 @@ const Ae = /* @__PURE__ */ T(Ne, [["render", qe]]), Le = [
439
450
  // Theme
440
451
  "theme-border-transparent border-1",
441
452
  "dark:theme-border-transparent-dark"
442
- ], Be = G({
453
+ ], Be = T({
443
454
  name: "OrDataGridTableFooterCell",
444
455
  expose: [
445
456
  "root"
446
457
  ],
447
458
  setup() {
448
- const e = D(), t = n(() => [
459
+ const e = G(), t = n(() => [
449
460
  "or-data-grid-table-footer-cell-v3",
450
461
  ...Le
451
462
  ]);
@@ -455,15 +466,15 @@ const Ae = /* @__PURE__ */ T(Ne, [["render", qe]]), Le = [
455
466
  };
456
467
  }
457
468
  });
458
- function ze(e, t, r, c, v, b) {
459
- return a(), g("div", {
469
+ function ze(e, t, r, m, h, b) {
470
+ return o(), v("div", {
460
471
  ref: "root",
461
472
  class: u(e.rootStyles)
462
473
  }, [
463
- s(e.$slots, "default")
474
+ i(e.$slots, "default")
464
475
  ], 2);
465
476
  }
466
- const Je = /* @__PURE__ */ T(Be, [["render", ze]]), Ke = [
477
+ const Je = /* @__PURE__ */ C(Be, [["render", ze]]), Ke = [
467
478
  // Layout
468
479
  "grid grid-cols-1",
469
480
  // Typography
@@ -477,19 +488,23 @@ const Je = /* @__PURE__ */ T(Be, [["render", ze]]), Ke = [
477
488
  "children:theme-background-default",
478
489
  "dark:children:theme-background-default-dark"
479
490
  ], Qe = {
480
- [y.Standard]: [
491
+ [c.Standard]: [
481
492
  // Box
482
493
  "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
483
494
  ],
484
- [y.Comfortable]: [
495
+ [c.Comfortable]: [
485
496
  // Box
486
497
  "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
487
498
  ],
488
- [y.Compact]: [
499
+ [c.Compact]: [
489
500
  // Box
490
501
  "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
502
+ ],
503
+ [c.Dynamic]: [
504
+ // Box
505
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
491
506
  ]
492
- }, We = G({
507
+ }, We = T({
493
508
  name: "OrDataGridTableFooterRow",
494
509
  props: {
495
510
  variant: {
@@ -501,7 +516,7 @@ const Je = /* @__PURE__ */ T(Be, [["render", ze]]), Ke = [
501
516
  "root"
502
517
  ],
503
518
  setup(e) {
504
- const t = D(), r = n(() => [
519
+ const t = G(), r = n(() => [
505
520
  "or-data-grid-table-footer-row-v3",
506
521
  ...Ke,
507
522
  ...Qe[e.variant]
@@ -512,24 +527,24 @@ const Je = /* @__PURE__ */ T(Be, [["render", ze]]), Ke = [
512
527
  };
513
528
  }
514
529
  });
515
- function Xe(e, t, r, c, v, b) {
516
- return a(), g("div", {
530
+ function Xe(e, t, r, m, h, b) {
531
+ return o(), v("div", {
517
532
  ref: "root",
518
533
  class: u(e.rootStyles)
519
534
  }, [
520
- s(e.$slots, "default")
535
+ i(e.$slots, "default")
521
536
  ], 2);
522
537
  }
523
- const Ye = /* @__PURE__ */ T(We, [["render", Xe]]), Ze = [
538
+ const Ye = /* @__PURE__ */ C(We, [["render", Xe]]), Ze = [
524
539
  // Layout
525
540
  "contents"
526
- ], _e = G({
541
+ ], _e = T({
527
542
  name: "OrDataGridTableFooter",
528
543
  expose: [
529
544
  "root"
530
545
  ],
531
546
  setup() {
532
- const e = D(), t = n(() => [
547
+ const e = G(), t = n(() => [
533
548
  "or-data-grid-table-footer-v3",
534
549
  ...Ze
535
550
  ]);
@@ -539,15 +554,15 @@ const Ye = /* @__PURE__ */ T(We, [["render", Xe]]), Ze = [
539
554
  };
540
555
  }
541
556
  });
542
- function xe(e, t, r, c, v, b) {
543
- return a(), g("div", {
557
+ function xe(e, t, r, m, h, b) {
558
+ return o(), v("div", {
544
559
  ref: "root",
545
560
  class: u(e.rootStyles)
546
561
  }, [
547
- s(e.$slots, "default")
562
+ i(e.$slots, "default")
548
563
  ], 2);
549
564
  }
550
- const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
565
+ const et = /* @__PURE__ */ C(_e, [["render", xe]]), tt = [
551
566
  // Layout
552
567
  "layout-row",
553
568
  // Spacing
@@ -563,7 +578,7 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
563
578
  // Theme (.sticky-end)
564
579
  "[&.sticky-end]:border-s-disabled",
565
580
  "dark:[&.sticky-end]:border-s-disabled-dark"
566
- ], ot = G({
581
+ ], at = T({
567
582
  name: "OrDataGridTableHeaderCell",
568
583
  components: {
569
584
  OrIcon: me
@@ -595,16 +610,16 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
595
610
  "root"
596
611
  ],
597
612
  setup(e, t) {
598
- const r = D(), c = n(() => {
599
- var i, w, S;
600
- return !!((i = e.features) != null && i.sorting) && !!((w = e.column) != null && w.name) && ((S = e.column) == null ? void 0 : S.sorting) !== !1;
601
- }), v = n(() => {
602
- var i;
613
+ const r = G(), m = n(() => {
614
+ var l, O, w;
615
+ return !!((l = e.features) != null && l.sorting) && !!((O = e.column) != null && O.name) && ((w = e.column) == null ? void 0 : w.sorting) !== !1;
616
+ }), h = n(() => {
617
+ var l;
603
618
  return [
604
619
  "or-data-grid-table-header-cell-v3",
605
620
  ...tt,
606
- ...(i = e.column) != null && i.stickiness ? [`sticky-${e.column.stickiness}`] : [],
607
- ...c.value ? ["interactivity-click"] : []
621
+ ...(l = e.column) != null && l.stickiness ? [`sticky-${e.column.stickiness}`] : [],
622
+ ...m.value ? ["interactivity-click"] : []
608
623
  ];
609
624
  }), b = n(() => {
610
625
  if (e.column)
@@ -632,78 +647,78 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
632
647
  return {
633
648
  justifyContent: "center"
634
649
  };
635
- }), k = n({
650
+ }), $ = n({
636
651
  get: () => {
637
- var i, w;
638
- if (c.value)
639
- return ((i = e.modelValue) == null ? void 0 : i.column) === ((w = e.column) == null ? void 0 : w.name) ? e.modelValue : void 0;
652
+ var l, O;
653
+ if (m.value)
654
+ return ((l = e.modelValue) == null ? void 0 : l.column) === ((O = e.column) == null ? void 0 : O.name) ? e.modelValue : void 0;
640
655
  },
641
- set: (i) => {
642
- t.emit("update:modelValue", i);
656
+ set: (l) => {
657
+ t.emit("update:modelValue", l);
643
658
  }
644
659
  });
645
- function O() {
646
- var i;
647
- if (c.value)
648
- if (k.value)
649
- k.value = {
650
- ...k.value,
651
- direction: k.value.direction === "asc" ? "desc" : "asc"
660
+ function D() {
661
+ var l;
662
+ if (m.value)
663
+ if ($.value)
664
+ $.value = {
665
+ ...$.value,
666
+ direction: $.value.direction === "asc" ? "desc" : "asc"
652
667
  };
653
668
  else {
654
669
  if (!e.column)
655
670
  throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
656
- k.value = {
657
- column: ((i = e.column) == null ? void 0 : i.name) || "_check",
671
+ $.value = {
672
+ column: ((l = e.column) == null ? void 0 : l.name) || "_check",
658
673
  direction: "asc"
659
674
  };
660
675
  }
661
676
  }
662
- const { width: $ } = fe(r, void 0, { box: "border-box" });
677
+ const { width: k } = fe(r, void 0, { box: "border-box" });
663
678
  return x([
664
679
  r,
665
- $,
680
+ k,
666
681
  () => {
667
- var i;
668
- return (i = e.column) == null ? void 0 : i.stickiness;
682
+ var l;
683
+ return (l = e.column) == null ? void 0 : l.stickiness;
669
684
  }
670
685
  ], ([
671
- i,
672
- w
686
+ l,
687
+ O
673
688
  ], [
674
- S
689
+ w
675
690
  ]) => {
676
- S && S !== i && t.emit("remove:scrollOffset", S), t.emit("update:scrollOffset", i, w, e.column);
691
+ w && w !== l && t.emit("remove:scrollOffset", w), t.emit("update:scrollOffset", l, O, e.column);
677
692
  }), {
678
693
  root: r,
679
- rootStyles: v,
694
+ rootStyles: h,
680
695
  rootInlineStyles: b,
681
- isSortable: c,
682
- model: k,
683
- toggleSorting: O
696
+ isSortable: m,
697
+ model: $,
698
+ toggleSorting: D
684
699
  };
685
700
  }
686
- }), at = {
701
+ }), ot = {
687
702
  class: /* @__PURE__ */ u(["truncate"])
688
703
  };
689
- function rt(e, t, r, c, v, b) {
690
- const k = d("OrIcon");
691
- return a(), g("div", {
704
+ function rt(e, t, r, m, h, b) {
705
+ const $ = d("OrIcon");
706
+ return o(), v("div", {
692
707
  ref: "root",
693
708
  class: u(e.rootStyles),
694
709
  style: N(e.rootInlineStyles),
695
- onClick: t[0] || (t[0] = (O) => e.toggleSorting())
710
+ onClick: t[0] || (t[0] = (D) => e.toggleSorting())
696
711
  }, [
697
- ee("div", at, [
698
- s(e.$slots, "default")
712
+ ee("div", ot, [
713
+ i(e.$slots, "default")
699
714
  ]),
700
- e.model ? (a(), f(k, {
715
+ e.model ? (o(), p($, {
701
716
  key: 0,
702
717
  icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
703
- }, null, 8, ["icon"])) : p("", !0)
718
+ }, null, 8, ["icon"])) : g("", !0)
704
719
  ], 6);
705
720
  }
706
- const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
721
+ const nt = /* @__PURE__ */ C(at, [["render", rt]]), lt = [
707
722
  // Position
708
723
  "sticky top-0 z-10",
709
724
  // Layout
@@ -716,19 +731,23 @@ const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
716
731
  "children:theme-background-surface-variant-1",
717
732
  "dark:children:theme-background-surface-variant-1-dark"
718
733
  ], st = {
719
- [y.Standard]: [
734
+ [c.Standard]: [
720
735
  // Box
721
736
  "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
722
737
  ],
723
- [y.Comfortable]: [
738
+ [c.Comfortable]: [
724
739
  // Box
725
740
  "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
726
741
  ],
727
- [y.Compact]: [
742
+ [c.Compact]: [
728
743
  // Box
729
744
  "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
745
+ ],
746
+ [c.Dynamic]: [
747
+ // Box
748
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
730
749
  ]
731
- }, it = G({
750
+ }, it = T({
732
751
  name: "OrDataGridTableHeaderRow",
733
752
  props: {
734
753
  variant: {
@@ -740,7 +759,7 @@ const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
740
759
  "root"
741
760
  ],
742
761
  setup(e) {
743
- const t = D(), r = n(() => [
762
+ const t = G(), r = n(() => [
744
763
  "or-data-grid-table-header-row-v3",
745
764
  ...lt,
746
765
  ...st[e.variant]
@@ -751,24 +770,24 @@ const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
751
770
  };
752
771
  }
753
772
  });
754
- function dt(e, t, r, c, v, b) {
755
- return a(), g("div", {
773
+ function dt(e, t, r, m, h, b) {
774
+ return o(), v("div", {
756
775
  ref: "root",
757
776
  class: u(e.rootStyles)
758
777
  }, [
759
- s(e.$slots, "default")
778
+ i(e.$slots, "default")
760
779
  ], 2);
761
780
  }
762
- const ut = /* @__PURE__ */ T(it, [["render", dt]]), ct = [
781
+ const ut = /* @__PURE__ */ C(it, [["render", dt]]), ct = [
763
782
  // Layout
764
783
  "contents"
765
- ], mt = G({
784
+ ], mt = T({
766
785
  name: "OrDataGridTableHeader",
767
786
  expose: [
768
787
  "root"
769
788
  ],
770
789
  setup() {
771
- const e = D(), t = n(() => [
790
+ const e = G(), t = n(() => [
772
791
  "or-data-grid-table-header-v3",
773
792
  ...ct
774
793
  ]);
@@ -778,15 +797,15 @@ const ut = /* @__PURE__ */ T(it, [["render", dt]]), ct = [
778
797
  };
779
798
  }
780
799
  });
781
- function ft(e, t, r, c, v, b) {
782
- return a(), g("div", {
800
+ function ft(e, t, r, m, h, b) {
801
+ return o(), v("div", {
783
802
  ref: "root",
784
803
  class: u(e.rootStyles)
785
804
  }, [
786
- s(e.$slots, "default")
805
+ i(e.$slots, "default")
787
806
  ], 2);
788
807
  }
789
- const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
808
+ const pt = /* @__PURE__ */ C(mt, [["render", ft]]), gt = [
790
809
  // Layout
791
810
  "layout-row justify-center",
792
811
  // Spacing
@@ -801,19 +820,23 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
801
820
  "theme-background-default",
802
821
  "dark:theme-background-default-dark"
803
822
  ], vt = {
804
- [y.Standard]: [
823
+ [c.Standard]: [
805
824
  // Box
806
825
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
807
826
  ],
808
- [y.Comfortable]: [
827
+ [c.Comfortable]: [
809
828
  // Box
810
829
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
811
830
  ],
812
- [y.Compact]: [
831
+ [c.Compact]: [
813
832
  // Box
814
833
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
834
+ ],
835
+ [c.Dynamic]: [
836
+ // Box
837
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
815
838
  ]
816
- }, bt = G({
839
+ }, ht = T({
817
840
  name: "OrDataGridTablePlaceholder",
818
841
  props: {
819
842
  variant: {
@@ -825,7 +848,7 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
825
848
  "root"
826
849
  ],
827
850
  setup(e) {
828
- const t = D(), r = n(() => [
851
+ const t = G(), r = n(() => [
829
852
  "or-data-grid-table-placeholder-v3",
830
853
  ...gt,
831
854
  ...vt[e.variant]
@@ -836,22 +859,22 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
836
859
  };
837
860
  }
838
861
  });
839
- function ht(e, t, r, c, v, b) {
840
- return a(), g("div", {
862
+ function bt(e, t, r, m, h, b) {
863
+ return o(), v("div", {
841
864
  ref: "root",
842
865
  class: u(e.rootStyles)
843
866
  }, [
844
- s(e.$slots, "default")
867
+ i(e.$slots, "default")
845
868
  ], 2);
846
869
  }
847
- const yt = /* @__PURE__ */ T(bt, [["render", ht]]), kt = [
870
+ const yt = /* @__PURE__ */ C(ht, [["render", bt]]), kt = [
848
871
  // Layout
849
872
  "grid content-start",
850
873
  // Overflow
851
874
  "overflow-auto",
852
875
  // Interactivity
853
876
  "interactivity-default"
854
- ], Ot = G({
877
+ ], Ot = T({
855
878
  name: "OrDataGridTable",
856
879
  props: {
857
880
  columns: {
@@ -867,43 +890,43 @@ const yt = /* @__PURE__ */ T(bt, [["render", ht]]), kt = [
867
890
  "root"
868
891
  ],
869
892
  setup(e) {
870
- const t = D(), r = n(() => [
893
+ const t = G(), r = n(() => [
871
894
  "or-data-grid-table-v3",
872
895
  ...kt
873
- ]), c = n(() => {
874
- const v = e.columns.map((b) => b.width ?? "auto");
875
- return e.features.selecting ? { gridTemplateColumns: `0fr ${v.join(" ")}` } : { gridTemplateColumns: v.join(" ") };
896
+ ]), m = n(() => {
897
+ const h = e.columns.map((b) => b.width ?? "auto");
898
+ return e.features.selecting ? { gridTemplateColumns: `0fr ${h.join(" ")}` } : { gridTemplateColumns: h.join(" ") };
876
899
  });
877
900
  return {
878
901
  root: t,
879
902
  rootStyles: r,
880
- rootInlineStyles: c
903
+ rootInlineStyles: m
881
904
  };
882
905
  }
883
906
  });
884
- function $t(e, t, r, c, v, b) {
885
- return a(), g("div", {
907
+ function $t(e, t, r, m, h, b) {
908
+ return o(), v("div", {
886
909
  ref: "root",
887
910
  class: u(e.rootStyles),
888
911
  style: N(e.rootInlineStyles)
889
912
  }, [
890
- s(e.$slots, "default")
913
+ i(e.$slots, "default")
891
914
  ], 6);
892
915
  }
893
- const Dt = /* @__PURE__ */ T(Ot, [["render", $t]]), wt = [
916
+ const Dt = /* @__PURE__ */ C(Ot, [["render", $t]]), wt = [
894
917
  // Layout
895
918
  "layout-row",
896
919
  // Box
897
920
  "h-2xl",
898
921
  // Spacing
899
922
  "gap-xl"
900
- ], Gt = G({
923
+ ], Gt = T({
901
924
  name: "OrDataGridToolbar",
902
925
  expose: [
903
926
  "root"
904
927
  ],
905
928
  setup() {
906
- const e = D(), t = n(() => [
929
+ const e = G(), t = n(() => [
907
930
  "or-data-grid-toolbar-v3",
908
931
  ...wt
909
932
  ]);
@@ -913,33 +936,37 @@ const Dt = /* @__PURE__ */ T(Ot, [["render", $t]]), wt = [
913
936
  };
914
937
  }
915
938
  });
916
- function Tt(e, t, r, c, v, b) {
917
- return a(), g("div", {
939
+ function St(e, t, r, m, h, b) {
940
+ return o(), v("div", {
918
941
  ref: "root",
919
942
  class: u(e.rootStyles)
920
943
  }, [
921
- s(e.$slots, "default")
944
+ i(e.$slots, "default")
922
945
  ], 2);
923
946
  }
924
- const St = /* @__PURE__ */ T(Gt, [["render", Tt]]), Ct = [
947
+ const Tt = /* @__PURE__ */ C(Gt, [["render", St]]), Ct = [
925
948
  // Position
926
949
  "grid sticky z-10",
927
950
  // Layout
928
951
  "col-span-full"
929
952
  ], Vt = {
930
- [y.Standard]: [
953
+ [c.Standard]: [
931
954
  // Position
932
955
  "top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
933
956
  ],
934
- [y.Comfortable]: [
957
+ [c.Comfortable]: [
935
958
  // Position
936
959
  "top-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
937
960
  ],
938
- [y.Compact]: [
961
+ [c.Compact]: [
939
962
  // Position
940
963
  "top-[calc(theme(spacing.xl)+theme(spacing.xs))]"
964
+ ],
965
+ [c.Dynamic]: [
966
+ // Position
967
+ "top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
941
968
  ]
942
- }, Mt = G({
969
+ }, Mt = T({
943
970
  components: {
944
971
  OrNotification: pe
945
972
  },
@@ -966,23 +993,23 @@ const St = /* @__PURE__ */ T(Gt, [["render", Tt]]), Ct = [
966
993
  };
967
994
  }
968
995
  });
969
- function Rt(e, t, r, c, v, b) {
970
- const k = d("OrNotification");
971
- return a(), g("div", {
996
+ function Rt(e, t, r, m, h, b) {
997
+ const $ = d("OrNotification");
998
+ return o(), v("div", {
972
999
  class: u(e.rootStyles)
973
1000
  }, [
974
- M(k, te(e.notification, {
1001
+ M($, te(e.notification, {
975
1002
  class: "rounded-0 shadow-none",
976
- onClose: t[0] || (t[0] = (O) => e.$emit("close-notification"))
1003
+ onClose: t[0] || (t[0] = (D) => e.$emit("close-notification"))
977
1004
  }), {
978
- default: m(() => [
979
- e.$slots.notification ? s(e.$slots, "notification", { key: 0 }) : p("", !0)
1005
+ default: f(() => [
1006
+ e.$slots.notification ? i(e.$slots, "notification", { key: 0 }) : g("", !0)
980
1007
  ]),
981
1008
  _: 3
982
1009
  }, 16)
983
1010
  ], 2);
984
1011
  }
985
- const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
1012
+ const It = /* @__PURE__ */ C(Mt, [["render", Rt]]), Ft = [
986
1013
  // Layout
987
1014
  "grid col-span-full grid-cols-[subgrid]",
988
1015
  // Typography
@@ -996,19 +1023,23 @@ const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
996
1023
  "children:theme-background-default",
997
1024
  "dark:children:theme-background-default-dark"
998
1025
  ], Ht = {
999
- [y.Standard]: [
1026
+ [c.Standard]: [
1000
1027
  // Box
1001
1028
  "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1002
1029
  ],
1003
- [y.Comfortable]: [
1030
+ [c.Comfortable]: [
1004
1031
  // Box
1005
1032
  "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
1006
1033
  ],
1007
- [y.Compact]: [
1034
+ [c.Compact]: [
1008
1035
  // Box
1009
1036
  "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
1037
+ ],
1038
+ [c.Dynamic]: [
1039
+ // Box
1040
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1010
1041
  ]
1011
- }, Pt = G({
1042
+ }, Pt = T({
1012
1043
  name: "OrDataGridTableExtraRow",
1013
1044
  props: {
1014
1045
  variant: {
@@ -1020,7 +1051,7 @@ const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
1020
1051
  "root"
1021
1052
  ],
1022
1053
  setup(e) {
1023
- const t = D(), r = n(() => [
1054
+ const t = G(), r = n(() => [
1024
1055
  "or-data-grid-table-extra-row-v3",
1025
1056
  ...Ft,
1026
1057
  ...Ht[e.variant]
@@ -1031,23 +1062,23 @@ const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
1031
1062
  };
1032
1063
  }
1033
1064
  });
1034
- function jt(e, t, r, c, v, b) {
1035
- return a(), g("div", {
1065
+ function jt(e, t, r, m, h, b) {
1066
+ return o(), v("div", {
1036
1067
  ref: "root",
1037
1068
  class: u(e.rootStyles)
1038
1069
  }, [
1039
- s(e.$slots, "default")
1070
+ i(e.$slots, "default")
1040
1071
  ], 2);
1041
1072
  }
1042
- const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1073
+ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1043
1074
  // Layout
1044
1075
  "layout-column"
1045
- ], Nt = G({
1076
+ ], Nt = T({
1046
1077
  name: "OrDataGrid",
1047
1078
  components: {
1048
1079
  OrCheckbox: X,
1049
1080
  OrDataGridFooter: ke,
1050
- OrDataGridHeader: Te,
1081
+ OrDataGridHeader: Se,
1051
1082
  OrDataGridTable: Dt,
1052
1083
  OrDataGridTableContent: Ae,
1053
1084
  OrDataGridTableContentCell: Re,
@@ -1060,7 +1091,7 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1060
1091
  OrDataGridTableHeaderCell: nt,
1061
1092
  OrDataGridTableHeaderRow: ut,
1062
1093
  OrDataGridTablePlaceholder: yt,
1063
- OrDataGridToolbar: St,
1094
+ OrDataGridToolbar: Tt,
1064
1095
  OrDataGridNotification: It,
1065
1096
  OrPagination: Y,
1066
1097
  OrSearch: Z,
@@ -1085,7 +1116,7 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1085
1116
  },
1086
1117
  variant: {
1087
1118
  type: String,
1088
- default: () => y.Standard
1119
+ default: () => c.Standard
1089
1120
  },
1090
1121
  features: {
1091
1122
  type: Object,
@@ -1118,203 +1149,203 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1118
1149
  "root"
1119
1150
  ],
1120
1151
  setup(e, t) {
1121
- const r = D(), c = D(), v = n(() => [
1152
+ const r = G(), m = G(), h = n(() => [
1122
1153
  "or-data-grid-v3",
1123
1154
  ...Ut
1124
1155
  ]), b = n(() => ({
1125
- scrollPaddingInlineStart: `${[...C.value.values()].reduce((o, l) => o + l, 0)}px`,
1126
- scrollPaddingInlineEnd: `${[...V.value.values()].reduce((o, l) => o + l, 0)}px`
1127
- })), k = n({
1128
- get: () => !!e.items.length && e.items.every((o) => O.value.includes(o.id)),
1129
- set: (o) => {
1130
- o ? O.value = [
1156
+ scrollPaddingInlineStart: `${[...S.value.values()].reduce((a, s) => a + s, 0)}px`,
1157
+ scrollPaddingInlineEnd: `${[...V.value.values()].reduce((a, s) => a + s, 0)}px`
1158
+ })), $ = n({
1159
+ get: () => !!e.items.length && e.items.every((a) => D.value.includes(a.id)),
1160
+ set: (a) => {
1161
+ a ? D.value = [
1131
1162
  .../* @__PURE__ */ new Set([
1132
- ...O.value,
1133
- ...e.items.map((l) => l.id)
1163
+ ...D.value,
1164
+ ...e.items.map((s) => s.id)
1134
1165
  ])
1135
- ] : O.value = [];
1166
+ ] : D.value = [];
1136
1167
  }
1137
- }), O = n({
1168
+ }), D = n({
1138
1169
  get: () => {
1139
- var o;
1140
- return ((o = e.modelValue) == null ? void 0 : o.selecting) ?? [];
1170
+ var a;
1171
+ return ((a = e.modelValue) == null ? void 0 : a.selecting) ?? [];
1141
1172
  },
1142
- set: (o) => {
1173
+ set: (a) => {
1143
1174
  t.emit("update:modelValue", {
1144
- selecting: o,
1145
- filtering: $.value,
1146
- searching: i.value,
1147
- sorting: w.value,
1148
- paging: S.value
1175
+ selecting: a,
1176
+ filtering: k.value,
1177
+ searching: l.value,
1178
+ sorting: O.value,
1179
+ paging: w.value
1149
1180
  });
1150
1181
  }
1151
- }), $ = n({
1182
+ }), k = n({
1152
1183
  get: () => {
1153
- var o;
1154
- return (o = e.modelValue) == null ? void 0 : o.filtering;
1184
+ var a;
1185
+ return (a = e.modelValue) == null ? void 0 : a.filtering;
1155
1186
  },
1156
- set: (o) => {
1187
+ set: (a) => {
1157
1188
  t.emit("update:modelValue", {
1158
- selecting: O.value,
1159
- filtering: o,
1160
- searching: i.value,
1161
- sorting: w.value,
1189
+ selecting: D.value,
1190
+ filtering: a,
1191
+ searching: l.value,
1192
+ sorting: O.value,
1162
1193
  paging: {
1163
- ...S.value,
1194
+ ...w.value,
1164
1195
  offset: 0
1165
1196
  }
1166
1197
  });
1167
1198
  }
1168
- }), i = n({
1199
+ }), l = n({
1169
1200
  get: () => {
1170
- var o;
1171
- return (o = e.modelValue) == null ? void 0 : o.searching;
1201
+ var a;
1202
+ return (a = e.modelValue) == null ? void 0 : a.searching;
1172
1203
  },
1173
- set: (o) => {
1204
+ set: (a) => {
1174
1205
  t.emit("update:modelValue", {
1175
- selecting: O.value,
1176
- filtering: $.value,
1177
- searching: o,
1178
- sorting: w.value,
1206
+ selecting: D.value,
1207
+ filtering: k.value,
1208
+ searching: a,
1209
+ sorting: O.value,
1179
1210
  paging: {
1180
- ...S.value,
1211
+ ...w.value,
1181
1212
  offset: 0
1182
1213
  }
1183
1214
  });
1184
1215
  }
1185
- }), w = n({
1216
+ }), O = n({
1186
1217
  get: () => {
1187
- var o;
1188
- return (o = e.modelValue) == null ? void 0 : o.sorting;
1218
+ var a;
1219
+ return (a = e.modelValue) == null ? void 0 : a.sorting;
1189
1220
  },
1190
- set: (o) => {
1221
+ set: (a) => {
1191
1222
  t.emit("update:modelValue", {
1192
- selecting: O.value,
1193
- filtering: $.value,
1194
- searching: i.value,
1195
- sorting: o,
1223
+ selecting: D.value,
1224
+ filtering: k.value,
1225
+ searching: l.value,
1226
+ sorting: a,
1196
1227
  paging: {
1197
- ...S.value,
1228
+ ...w.value,
1198
1229
  offset: 0
1199
1230
  }
1200
1231
  });
1201
1232
  }
1202
- }), S = n({
1233
+ }), w = n({
1203
1234
  get: () => {
1204
- var o;
1205
- return (o = e.modelValue) == null ? void 0 : o.paging;
1235
+ var a;
1236
+ return (a = e.modelValue) == null ? void 0 : a.paging;
1206
1237
  },
1207
- set: (o) => {
1238
+ set: (a) => {
1208
1239
  t.emit("update:modelValue", {
1209
- selecting: O.value,
1210
- filtering: $.value,
1211
- searching: i.value,
1212
- sorting: w.value,
1213
- paging: o
1240
+ selecting: D.value,
1241
+ filtering: k.value,
1242
+ searching: l.value,
1243
+ sorting: O.value,
1244
+ paging: a
1214
1245
  });
1215
1246
  }
1216
- }), C = D(/* @__PURE__ */ new Map()), V = D(/* @__PURE__ */ new Map()), I = n(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), h = n(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), F = n(() => {
1217
- var o;
1218
- return ((o = c.value) == null ? void 0 : o.currentLimit) || 10;
1247
+ }), S = G(/* @__PURE__ */ new Map()), V = G(/* @__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(() => {
1248
+ var a;
1249
+ return ((a = m.value) == null ? void 0 : a.currentLimit) || 10;
1219
1250
  });
1220
- function j(o) {
1221
- i.value = o;
1251
+ function j(a) {
1252
+ l.value = a;
1222
1253
  }
1223
- function E(o, l, R) {
1254
+ function E(a, s, R) {
1224
1255
  switch (R.stickiness) {
1225
1256
  case "start":
1226
- C.value.set(o, l), C.value = new Map(C.value), V.value.delete(o), V.value = new Map(V.value);
1257
+ S.value.set(a, s), S.value = new Map(S.value), V.value.delete(a), V.value = new Map(V.value);
1227
1258
  break;
1228
1259
  case "end":
1229
- C.value.delete(o), C.value = new Map(C.value), V.value.set(o, l), V.value = new Map(V.value);
1260
+ S.value.delete(a), S.value = new Map(S.value), V.value.set(a, s), V.value = new Map(V.value);
1230
1261
  break;
1231
1262
  default:
1232
- U(o);
1263
+ U(a);
1233
1264
  break;
1234
1265
  }
1235
1266
  }
1236
- function q(o) {
1237
- e.interactiveRows && t.emit("hover:row", o);
1267
+ function q(a) {
1268
+ e.interactiveRows && t.emit("hover:row", a);
1238
1269
  }
1239
- function A(o) {
1240
- e.interactiveRows && t.emit("blur:row", o);
1270
+ function A(a) {
1271
+ e.interactiveRows && t.emit("blur:row", a);
1241
1272
  }
1242
- function L(o, l, R) {
1273
+ function L(a, s, R) {
1243
1274
  e.interactiveRows && t.emit("hover:cell", {
1244
- item: o,
1245
- columnName: l,
1275
+ item: a,
1276
+ columnName: s,
1246
1277
  value: R
1247
1278
  });
1248
1279
  }
1249
- function B(o, l, R) {
1280
+ function B(a, s, R) {
1250
1281
  e.interactiveRows && t.emit("blur:cell", {
1251
- item: o,
1252
- columnName: l,
1282
+ item: a,
1283
+ columnName: s,
1253
1284
  value: R
1254
1285
  });
1255
1286
  }
1256
- function z(o) {
1257
- e.interactiveRows && t.emit("click:row", o);
1287
+ function z(a) {
1288
+ e.interactiveRows && t.emit("click:row", a);
1258
1289
  }
1259
- function U(o) {
1260
- C.value.delete(o), C.value = new Map(C.value), V.value.delete(o), V.value = new Map(V.value);
1290
+ function U(a) {
1291
+ S.value.delete(a), S.value = new Map(S.value), V.value.delete(a), V.value = new Map(V.value);
1261
1292
  }
1262
- function J(o) {
1263
- o.currentTarget.scrollIntoView({ block: "nearest" });
1293
+ function J(a) {
1294
+ a.currentTarget.scrollIntoView({ block: "nearest" });
1264
1295
  }
1265
1296
  return {
1266
1297
  root: r,
1267
- rootStyles: v,
1268
- pagination: c,
1298
+ rootStyles: h,
1299
+ pagination: m,
1269
1300
  tableInlineStyles: b,
1270
- selectingIndicator: k,
1301
+ selectingIndicator: $,
1271
1302
  showSelectingCouter: I,
1272
- selectingDisabled: h,
1303
+ selectingDisabled: y,
1273
1304
  skeletonsLength: F,
1274
1305
  handleMouseEnterRow: q,
1275
1306
  handleMouseLeaveRow: A,
1276
1307
  handleMouseEnterCell: L,
1277
1308
  handleMouseLeaveCell: B,
1278
1309
  handleRowClick: z,
1279
- selectingModel: O,
1280
- filteringModel: $,
1281
- searchingModel: i,
1282
- sortingModel: w,
1283
- pagingModel: S,
1310
+ selectingModel: D,
1311
+ filteringModel: k,
1312
+ searchingModel: l,
1313
+ sortingModel: O,
1314
+ pagingModel: w,
1284
1315
  updateScrollOffset: E,
1285
1316
  removeScrollOffset: U,
1286
1317
  updateSearchingModel: j,
1287
1318
  scrollTo: J,
1288
- onInput: (o, l, R) => {
1289
- o[l] = R, t.emit("update:item", o);
1319
+ onInput: (a, s, R) => {
1320
+ a[s] = R, t.emit("update:item", a);
1290
1321
  }
1291
1322
  };
1292
1323
  }
1293
1324
  });
1294
- function qt(e, t, r, c, v, b) {
1295
- const k = d("OrSearch"), O = d("OrDataGridHeader"), $ = d("OrDataGridToolbar"), i = d("OrCheckbox"), w = d("OrDataGridTableHeaderCell"), S = d("OrDataGridTableHeaderRow"), C = d("OrDataGridTableHeader"), V = d("OrDataGridNotification"), I = d("OrDataGridTableExtraRow"), h = d("OrSkeletonText"), F = d("OrDataGridTableContentCell"), j = d("OrDataGridTableContentRow"), E = d("OrDataGridTablePlaceholder"), q = d("OrDataGridTableContent"), A = d("OrDataGridTable"), L = d("OrDataGridTableFooterCell"), B = d("OrDataGridTableFooterRow"), z = d("OrDataGridTableFooter"), U = d("OrPagination"), J = d("OrDataGridFooter");
1296
- return a(), g("div", {
1325
+ function qt(e, t, r, m, h, b) {
1326
+ const $ = d("OrSearch"), D = d("OrDataGridHeader"), k = d("OrDataGridToolbar"), l = d("OrCheckbox"), O = d("OrDataGridTableHeaderCell"), w = d("OrDataGridTableHeaderRow"), S = d("OrDataGridTableHeader"), V = d("OrDataGridNotification"), I = d("OrDataGridTableExtraRow"), y = d("OrSkeletonText"), F = d("OrDataGridTableContentCell"), j = d("OrDataGridTableContentRow"), E = d("OrDataGridTablePlaceholder"), q = d("OrDataGridTableContent"), A = d("OrDataGridTable"), L = d("OrDataGridTableFooterCell"), B = d("OrDataGridTableFooterRow"), z = d("OrDataGridTableFooter"), U = d("OrPagination"), J = d("OrDataGridFooter");
1327
+ return o(), v("div", {
1297
1328
  ref: "root",
1298
1329
  class: u(e.rootStyles)
1299
1330
  }, [
1300
- e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (a(), f(O, {
1331
+ e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (o(), p(D, {
1301
1332
  key: 0,
1302
1333
  class: u(["shrink-0"])
1303
1334
  }, K({ _: 2 }, [
1304
1335
  e.$slots.title ? {
1305
1336
  name: "title",
1306
- fn: m(() => [
1307
- s(e.$slots, "title")
1337
+ fn: f(() => [
1338
+ i(e.$slots, "title")
1308
1339
  ]),
1309
1340
  key: "0"
1310
1341
  } : void 0,
1311
1342
  e.features.searching ? {
1312
1343
  name: "searching",
1313
- fn: m(() => [
1314
- s(e.$slots, "search", oe(ae({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1315
- M(k, {
1344
+ fn: f(() => [
1345
+ i(e.$slots, "search", ae(oe({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1346
+ M($, {
1316
1347
  modelValue: e.searchingModel,
1317
- "onUpdate:modelValue": t[0] || (t[0] = (o) => e.searchingModel = o)
1348
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => e.searchingModel = a)
1318
1349
  }, null, 8, ["modelValue"])
1319
1350
  ])
1320
1351
  ]),
@@ -1322,60 +1353,60 @@ function qt(e, t, r, c, v, b) {
1322
1353
  } : void 0,
1323
1354
  e.$slots.extraActions ? {
1324
1355
  name: "extraActions",
1325
- fn: m(() => [
1326
- s(e.$slots, "extraActions")
1356
+ fn: f(() => [
1357
+ i(e.$slots, "extraActions")
1327
1358
  ]),
1328
1359
  key: "2"
1329
1360
  } : void 0
1330
- ]), 1024)) : p("", !0),
1331
- e.$slots.toolbar ? (a(), f($, {
1361
+ ]), 1024)) : g("", !0),
1362
+ e.$slots.toolbar ? (o(), p(k, {
1332
1363
  key: 1,
1333
1364
  class: u(["shrink-0"])
1334
1365
  }, {
1335
- default: m(() => [
1336
- s(e.$slots, "toolbar")
1366
+ default: f(() => [
1367
+ i(e.$slots, "toolbar")
1337
1368
  ]),
1338
1369
  _: 3
1339
- })) : p("", !0),
1370
+ })) : g("", !0),
1340
1371
  M(A, {
1341
1372
  class: u(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1342
1373
  style: N(e.tableInlineStyles),
1343
1374
  columns: e.columns,
1344
1375
  features: e.features
1345
1376
  }, {
1346
- default: m(() => [
1347
- M(C, null, {
1348
- default: m(() => [
1349
- M(S, { variant: e.variant }, {
1350
- default: m(() => [
1351
- e.features.selecting ? (a(), f(w, {
1377
+ default: f(() => [
1378
+ M(S, null, {
1379
+ default: f(() => [
1380
+ M(w, { variant: e.variant }, {
1381
+ default: f(() => [
1382
+ e.features.selecting ? (o(), p(O, {
1352
1383
  key: 0,
1353
1384
  column: { stickiness: "start" },
1354
1385
  class: "!py-xs !px-xs md:!py-none md:!px-sm+",
1355
1386
  "onUpdate:scrollOffset": e.updateScrollOffset,
1356
1387
  "onRemove:scrollOffset": e.removeScrollOffset
1357
1388
  }, {
1358
- default: m(() => [
1359
- M(i, {
1389
+ default: f(() => [
1390
+ M(l, {
1360
1391
  modelValue: e.selectingIndicator,
1361
- "onUpdate:modelValue": t[1] || (t[1] = (o) => e.selectingIndicator = o),
1392
+ "onUpdate:modelValue": t[1] || (t[1] = (a) => e.selectingIndicator = a),
1362
1393
  indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
1363
1394
  disabled: e.selectingDisabled
1364
1395
  }, null, 8, ["modelValue", "indeterminate", "disabled"])
1365
1396
  ]),
1366
1397
  _: 1
1367
- }, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) : p("", !0),
1368
- (a(!0), g(H, null, P(e.columns, (o) => (a(), f(w, {
1369
- key: o.name,
1398
+ }, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) : g("", !0),
1399
+ (o(!0), v(H, null, P(e.columns, (a) => (o(), p(O, {
1400
+ key: a.name,
1370
1401
  modelValue: e.sortingModel,
1371
- "onUpdate:modelValue": t[2] || (t[2] = (l) => e.sortingModel = l),
1372
- column: o,
1402
+ "onUpdate:modelValue": t[2] || (t[2] = (s) => e.sortingModel = s),
1403
+ column: a,
1373
1404
  features: e.features,
1374
1405
  "onUpdate:scrollOffset": e.updateScrollOffset,
1375
1406
  "onRemove:scrollOffset": e.removeScrollOffset
1376
1407
  }, {
1377
- default: m(() => [
1378
- Q(W(o.label), 1)
1408
+ default: f(() => [
1409
+ Q(W(a.label), 1)
1379
1410
  ]),
1380
1411
  _: 2
1381
1412
  }, 1032, ["modelValue", "column", "features", "onUpdate:scrollOffset", "onRemove:scrollOffset"]))), 128))
@@ -1385,160 +1416,164 @@ function qt(e, t, r, c, v, b) {
1385
1416
  ]),
1386
1417
  _: 1
1387
1418
  }),
1388
- e.notification ? (a(), f(V, {
1419
+ e.notification ? (o(), p(V, {
1389
1420
  key: 0,
1390
1421
  notification: e.notification,
1391
1422
  variant: e.variant,
1392
- onCloseNotification: t[3] || (t[3] = (o) => e.$emit("close-notification"))
1423
+ onCloseNotification: t[3] || (t[3] = (a) => e.$emit("close-notification"))
1393
1424
  }, K({ _: 2 }, [
1394
1425
  e.$slots.notification ? {
1395
1426
  name: "notification",
1396
- fn: m(() => [
1397
- s(e.$slots, "notification")
1427
+ fn: f(() => [
1428
+ i(e.$slots, "notification")
1398
1429
  ]),
1399
1430
  key: "0"
1400
1431
  } : void 0
1401
- ]), 1032, ["notification", "variant"])) : p("", !0),
1432
+ ]), 1032, ["notification", "variant"])) : g("", !0),
1402
1433
  M(q, null, {
1403
- default: m(() => [
1404
- e.$slots["before-rows"] ? (a(), f(I, {
1434
+ default: f(() => [
1435
+ e.$slots["before-rows"] ? (o(), p(I, {
1405
1436
  key: 0,
1406
1437
  variant: e.variant,
1407
1438
  class: "border-b-1"
1408
1439
  }, {
1409
- default: m(() => [
1410
- s(e.$slots, "before-rows")
1440
+ default: f(() => [
1441
+ i(e.$slots, "before-rows")
1411
1442
  ]),
1412
1443
  _: 3
1413
- }, 8, ["variant"])) : p("", !0),
1414
- e.loading ? (a(!0), g(H, { key: 1 }, P(e.skeletonsLength, (o) => (a(), f(j, {
1415
- key: o,
1444
+ }, 8, ["variant"])) : g("", !0),
1445
+ e.loading ? (o(!0), v(H, { key: 1 }, P(e.skeletonsLength, (a) => (o(), p(j, {
1446
+ key: a,
1416
1447
  variant: e.variant,
1417
1448
  interactive: e.interactiveRows
1418
1449
  }, {
1419
- default: m(() => [
1420
- e.features.selecting ? (a(), f(F, {
1450
+ default: f(() => [
1451
+ e.features.selecting ? (o(), p(F, {
1421
1452
  key: 0,
1422
1453
  column: { stickiness: "start" },
1454
+ variant: e.variant,
1423
1455
  override: !0
1424
1456
  }, {
1425
- default: m(() => [
1426
- M(h)
1457
+ default: f(() => [
1458
+ M(y)
1427
1459
  ]),
1428
1460
  _: 1
1429
- })) : p("", !0),
1430
- (a(!0), g(H, null, P(e.columns, (l) => (a(), f(F, {
1431
- key: l.name,
1432
- column: l,
1461
+ }, 8, ["variant"])) : g("", !0),
1462
+ (o(!0), v(H, null, P(e.columns, (s) => (o(), p(F, {
1463
+ key: s.name,
1464
+ column: s,
1433
1465
  features: e.features,
1466
+ variant: e.variant,
1434
1467
  override: !0
1435
1468
  }, {
1436
- default: m(() => [
1437
- s(e.$slots, "column-loading", { column: l }, () => [
1438
- M(h)
1469
+ default: f(() => [
1470
+ i(e.$slots, "column-loading", { column: s }, () => [
1471
+ M(y)
1439
1472
  ])
1440
1473
  ]),
1441
1474
  _: 2
1442
- }, 1032, ["column", "features"]))), 128))
1475
+ }, 1032, ["column", "features", "variant"]))), 128))
1443
1476
  ]),
1444
1477
  _: 2
1445
- }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (a(!0), g(H, { key: 2 }, P(e.items, (o) => (a(), f(j, {
1446
- key: o.id,
1478
+ }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (o(!0), v(H, { key: 2 }, P(e.items, (a) => (o(), p(j, {
1479
+ key: a.id,
1447
1480
  variant: e.variant,
1448
- selected: e.selectingModel.includes(o.id),
1481
+ selected: e.selectingModel.includes(a.id),
1449
1482
  interactive: e.interactiveRows,
1450
- onMouseenter: () => e.handleMouseEnterRow(o),
1451
- onMouseleave: () => e.handleMouseLeaveRow(o),
1452
- onClick: () => e.handleRowClick(o)
1483
+ onMouseenter: () => e.handleMouseEnterRow(a),
1484
+ onMouseleave: () => e.handleMouseLeaveRow(a),
1485
+ onClick: () => e.handleRowClick(a)
1453
1486
  }, {
1454
- default: m(() => [
1455
- e.features.selecting ? (a(), f(F, {
1487
+ default: f(() => [
1488
+ e.features.selecting ? (o(), p(F, {
1456
1489
  key: 0,
1457
1490
  column: { stickiness: "start" },
1491
+ variant: e.variant,
1458
1492
  "force-state": "none",
1459
1493
  class: "!py-xs !px-xs md:!py-none md:!px-sm+",
1460
- onMouseenter: () => e.handleMouseEnterCell(o, "selecting", e.selectingModel.includes(o.id)),
1461
- onMouseleave: () => e.handleMouseLeaveCell(o, "selecting", e.selectingModel.includes(o.id))
1494
+ onMouseenter: () => e.handleMouseEnterCell(a, "selecting", e.selectingModel.includes(a.id)),
1495
+ onMouseleave: () => e.handleMouseLeaveCell(a, "selecting", e.selectingModel.includes(a.id))
1462
1496
  }, {
1463
- default: m(() => [
1464
- M(i, {
1497
+ default: f(() => [
1498
+ M(l, {
1465
1499
  modelValue: e.selectingModel,
1466
- "onUpdate:modelValue": t[4] || (t[4] = (l) => e.selectingModel = l),
1467
- value: o.id,
1500
+ "onUpdate:modelValue": t[4] || (t[4] = (s) => e.selectingModel = s),
1501
+ value: a.id,
1468
1502
  disabled: e.selectingDisabled
1469
1503
  }, null, 8, ["modelValue", "value", "disabled"])
1470
1504
  ]),
1471
1505
  _: 2
1472
- }, 1032, ["onMouseenter", "onMouseleave"])) : p("", !0),
1473
- (a(!0), g(H, null, P(e.columns, (l) => (a(), f(F, {
1474
- key: l.name,
1475
- "model-value": o[l.name],
1476
- column: l,
1506
+ }, 1032, ["variant", "onMouseenter", "onMouseleave"])) : g("", !0),
1507
+ (o(!0), v(H, null, P(e.columns, (s) => (o(), p(F, {
1508
+ key: s.name,
1509
+ "model-value": a[s.name],
1510
+ column: s,
1477
1511
  features: e.features,
1478
- onInput: (R) => e.onInput(o, l.name, R),
1512
+ variant: e.variant,
1513
+ onInput: (R) => e.onInput(a, s.name, R),
1479
1514
  onFocusin: t[5] || (t[5] = (R) => e.scrollTo(R)),
1480
- onMouseenter: () => e.handleMouseEnterCell(o, l.name, o[l.name]),
1481
- onMouseleave: () => e.handleMouseLeaveCell(o, l.name, o[l.name])
1515
+ onMouseenter: () => e.handleMouseEnterCell(a, s.name, a[s.name]),
1516
+ onMouseleave: () => e.handleMouseLeaveCell(a, s.name, a[s.name])
1482
1517
  }, {
1483
- default: m(() => [
1484
- s(e.$slots, l.name, {
1485
- column: l,
1486
- item: o
1518
+ default: f(() => [
1519
+ i(e.$slots, s.name, {
1520
+ column: s,
1521
+ item: a
1487
1522
  }, () => [
1488
- Q(W(o[l.name]), 1)
1523
+ Q(W(a[s.name]), 1)
1489
1524
  ])
1490
1525
  ]),
1491
1526
  _: 2
1492
- }, 1032, ["model-value", "column", "features", "onInput", "onMouseenter", "onMouseleave"]))), 128))
1527
+ }, 1032, ["model-value", "column", "features", "variant", "onInput", "onMouseenter", "onMouseleave"]))), 128))
1493
1528
  ]),
1494
1529
  _: 2
1495
- }, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (a(), f(E, {
1530
+ }, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (o(), p(E, {
1496
1531
  key: 3,
1497
1532
  class: u(["col-span-full"]),
1498
1533
  variant: e.variant
1499
1534
  }, {
1500
- default: m(() => [
1501
- s(e.$slots, "noSearchResults", {
1535
+ default: f(() => [
1536
+ i(e.$slots, "noSearchResults", {
1502
1537
  filter: e.filteringModel,
1503
1538
  search: e.searchingModel
1504
1539
  })
1505
1540
  ]),
1506
1541
  _: 3
1507
- }, 8, ["variant"])) : e.$slots.empty ? (a(), f(E, {
1542
+ }, 8, ["variant"])) : e.$slots.empty ? (o(), p(E, {
1508
1543
  key: 4,
1509
1544
  class: u(["col-span-full"]),
1510
1545
  variant: e.variant
1511
1546
  }, {
1512
- default: m(() => [
1513
- s(e.$slots, "empty")
1547
+ default: f(() => [
1548
+ i(e.$slots, "empty")
1514
1549
  ]),
1515
1550
  _: 3
1516
- }, 8, ["variant"])) : p("", !0),
1517
- e.$slots["after-rows"] ? (a(), f(I, {
1551
+ }, 8, ["variant"])) : g("", !0),
1552
+ e.$slots["after-rows"] ? (o(), p(I, {
1518
1553
  key: 5,
1519
1554
  variant: e.variant
1520
1555
  }, {
1521
- default: m(() => [
1522
- s(e.$slots, "after-rows")
1556
+ default: f(() => [
1557
+ i(e.$slots, "after-rows")
1523
1558
  ]),
1524
1559
  _: 3
1525
- }, 8, ["variant"])) : p("", !0)
1560
+ }, 8, ["variant"])) : g("", !0)
1526
1561
  ]),
1527
1562
  _: 3
1528
1563
  })
1529
1564
  ]),
1530
1565
  _: 3
1531
1566
  }, 8, ["class", "style", "columns", "features"]),
1532
- e.$slots["extra-row"] ? (a(), f(z, { key: 2 }, {
1533
- default: m(() => [
1567
+ e.$slots["extra-row"] ? (o(), p(z, { key: 2 }, {
1568
+ default: f(() => [
1534
1569
  M(B, {
1535
1570
  class: u(["shrink-0"]),
1536
1571
  variant: e.variant
1537
1572
  }, {
1538
- default: m(() => [
1573
+ default: f(() => [
1539
1574
  M(L, null, {
1540
- default: m(() => [
1541
- s(e.$slots, "extra-row")
1575
+ default: f(() => [
1576
+ i(e.$slots, "extra-row")
1542
1577
  ]),
1543
1578
  _: 3
1544
1579
  })
@@ -1547,47 +1582,47 @@ function qt(e, t, r, c, v, b) {
1547
1582
  }, 8, ["variant"])
1548
1583
  ]),
1549
1584
  _: 3
1550
- })) : p("", !0),
1551
- e.$slots.actions || e.showSelectingCouter || e.features.paging ? (a(), f(J, {
1585
+ })) : g("", !0),
1586
+ e.$slots.actions || e.showSelectingCouter || e.features.paging ? (o(), p(J, {
1552
1587
  key: 3,
1553
1588
  class: u(["shrink-0"])
1554
1589
  }, K({ _: 2 }, [
1555
1590
  e.features.selecting && e.selectingModel.length > 0 ? {
1556
1591
  name: "status",
1557
- fn: m(() => [
1592
+ fn: f(() => [
1558
1593
  Q(W(e.selectingModel.length) + " row(s) selected ", 1)
1559
1594
  ]),
1560
1595
  key: "0"
1561
1596
  } : void 0,
1562
1597
  e.$slots.actions ? {
1563
1598
  name: "actions",
1564
- fn: m(() => [
1565
- s(e.$slots, "actions")
1599
+ fn: f(() => [
1600
+ i(e.$slots, "actions")
1566
1601
  ]),
1567
1602
  key: "1"
1568
1603
  } : void 0,
1569
1604
  e.features.paging ? {
1570
1605
  name: "paging",
1571
- fn: m(() => [
1606
+ fn: f(() => [
1572
1607
  M(U, {
1573
1608
  ref: "pagination",
1574
1609
  modelValue: e.pagingModel,
1575
- "onUpdate:modelValue": t[6] || (t[6] = (o) => e.pagingModel = o),
1610
+ "onUpdate:modelValue": t[6] || (t[6] = (a) => e.pagingModel = a),
1576
1611
  length: e.features.paging.length,
1577
1612
  options: e.features.paging.options
1578
1613
  }, null, 8, ["modelValue", "length", "options"])
1579
1614
  ]),
1580
1615
  key: "2"
1581
1616
  } : void 0
1582
- ]), 1024)) : p("", !0)
1617
+ ]), 1024)) : g("", !0)
1583
1618
  ], 2);
1584
1619
  }
1585
- const lo = /* @__PURE__ */ T(Nt, [["render", qt]]);
1620
+ const la = /* @__PURE__ */ C(Nt, [["render", qt]]);
1586
1621
  export {
1587
- y as D,
1588
- lo as O,
1622
+ c as D,
1623
+ la as O,
1589
1624
  ke as a,
1590
- Te as b,
1625
+ Se as b,
1591
1626
  Re as c,
1592
1627
  Ee as d,
1593
1628
  Ae as e,
@@ -1599,8 +1634,8 @@ export {
1599
1634
  pt as k,
1600
1635
  yt as l,
1601
1636
  Dt as m,
1602
- St as n,
1637
+ Tt as n,
1603
1638
  It as o,
1604
1639
  Et as p
1605
1640
  };
1606
- //# sourceMappingURL=OrDataGrid-MuOX0_U6.mjs.map
1641
+ //# sourceMappingURL=OrDataGrid-CCz56Bn1.mjs.map