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