@onereach/ui-components 26.3.3-beta.5867.0 → 26.3.3-beta.5869.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 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";
5
+ import { defineComponent as S, ref as w, 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 J, normalizeProps as ae, guardReactiveProps as oe, renderList as P, createTextVNode as K, toDisplayString as Q } from "vue";
6
+ import { _ as T } 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
- ], he = T({
37
+ ], he = S({
38
38
  name: "OrDataGridFooter",
39
39
  expose: [
40
40
  "root"
41
41
  ],
42
42
  setup() {
43
- const e = G(), t = n(() => [
43
+ const e = w(), t = n(() => [
44
44
  "or-data-grid-footer-v3",
45
45
  ...ge
46
46
  ]), r = n(() => [
@@ -72,7 +72,7 @@ function ye(e, t, r, m, h, b) {
72
72
  i(e.$slots, "paging")
73
73
  ], 2);
74
74
  }
75
- const ke = /* @__PURE__ */ C(he, [["render", ye]]), Oe = [
75
+ const ke = /* @__PURE__ */ T(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__ */ C(he, [["render", ye]]), Oe = [
82
82
  ], $e = [
83
83
  // Typography
84
84
  "typography-headline-2"
85
- ], De = T({
85
+ ], De = S({
86
86
  name: "OrDataGridHeader",
87
87
  expose: [
88
88
  "root"
89
89
  ],
90
90
  setup() {
91
- const e = G(), t = n(() => [
91
+ const e = w(), t = n(() => [
92
92
  "or-data-grid-header-v3",
93
93
  ...Oe
94
94
  ]), r = n(() => [
@@ -120,7 +120,7 @@ function Ge(e, t, r, m, h, b) {
120
120
  e.$slots.extraActions ? i(e.$slots, "extraActions", { key: 2 }) : g("", !0)
121
121
  ], 2);
122
122
  }
123
- const Se = /* @__PURE__ */ C(De, [["render", Ge]]);
123
+ const Se = /* @__PURE__ */ T(De, [["render", Ge]]);
124
124
  var c = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(c || {});
125
125
  const Te = [
126
126
  // Layout
@@ -150,7 +150,7 @@ const Te = [
150
150
  "interactivity-select",
151
151
  // Typography
152
152
  "truncate"
153
- ], Ve = T({
153
+ ], Ve = S({
154
154
  name: "OrDataGridTableContentCell",
155
155
  components: {
156
156
  OrCheckbox: X,
@@ -184,6 +184,10 @@ const Te = [
184
184
  variant: {
185
185
  type: String,
186
186
  default: c.Standard
187
+ },
188
+ override: {
189
+ type: Boolean,
190
+ default: !1
187
191
  }
188
192
  },
189
193
  emits: [
@@ -193,7 +197,7 @@ const Te = [
193
197
  "root"
194
198
  ],
195
199
  setup(e, t) {
196
- const r = G(), m = n(() => {
200
+ const r = w(), m = n(() => {
197
201
  var k;
198
202
  return [
199
203
  "or-data-grid-table-content-cell-v3",
@@ -228,11 +232,11 @@ const Te = [
228
232
  justifyContent: "center"
229
233
  };
230
234
  }), b = n(() => {
231
- var k, l, O, w, S;
235
+ var l, O;
236
+ const k = ((l = e.column) == null ? void 0 : l.wrapping) ?? (e.variant === c.Dynamic && !((O = e.column) != null && O.control));
232
237
  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"]
238
+ ...Ce.filter((G) => G !== "truncate"),
239
+ ...k ? ["whitespace-pre-wrap break-words"] : ["truncate"]
236
240
  ];
237
241
  }), $ = n({
238
242
  get: () => e.modelValue,
@@ -254,7 +258,7 @@ const Te = [
254
258
  }
255
259
  });
256
260
  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");
261
+ const $ = d("OrInput"), D = d("OrRating"), k = d("OrSelect"), l = d("OrCheckbox"), O = d("OrSwitch"), G = d("OrDatePicker"), C = d("OrTimePicker"), V = d("OrDateTimePicker"), I = d("OrTagInput");
258
262
  return o(), v("div", {
259
263
  ref: "root",
260
264
  class: u(e.rootStyles),
@@ -298,14 +302,14 @@ function Me(e, t, r, m, h, b) {
298
302
  modelValue: e.model,
299
303
  "onUpdate:modelValue": t[5] || (t[5] = (y) => e.model = y)
300
304
  }, null, 8, ["modelValue"])) : g("", !0),
301
- e.control.type === "date" ? (o(), p(w, {
305
+ e.control.type === "date" ? (o(), p(G, {
302
306
  key: 6,
303
307
  modelValue: e.model,
304
308
  "onUpdate:modelValue": t[6] || (t[6] = (y) => e.model = y),
305
309
  variant: "embedded",
306
310
  anchor: e.root
307
311
  }, null, 8, ["modelValue", "anchor"])) : g("", !0),
308
- e.control.type === "time" ? (o(), p(S, {
312
+ e.control.type === "time" ? (o(), p(C, {
309
313
  key: 7,
310
314
  modelValue: e.model,
311
315
  "onUpdate:modelValue": t[7] || (t[7] = (y) => e.model = y),
@@ -333,7 +337,7 @@ function Me(e, t, r, m, h, b) {
333
337
  ], 2))
334
338
  ], 6);
335
339
  }
336
- const Re = /* @__PURE__ */ C(Ve, [["render", Me]]), Ie = [
340
+ const Re = /* @__PURE__ */ T(Ve, [["render", Me]]), Ie = [
337
341
  // Layout
338
342
  "grid grid-cols-[subgrid] col-span-full",
339
343
  // Typography
@@ -358,21 +362,21 @@ const Re = /* @__PURE__ */ C(Ve, [["render", Me]]), Ie = [
358
362
  ], Fe = {
359
363
  [c.Standard]: [
360
364
  // Box
361
- "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
365
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
362
366
  ],
363
367
  [c.Comfortable]: [
364
368
  // Box
365
- "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
369
+ "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
366
370
  ],
367
371
  [c.Compact]: [
368
372
  // Box
369
- "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
373
+ "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
370
374
  ],
371
375
  [c.Dynamic]: [
372
376
  // Box
373
377
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
374
378
  ]
375
- }, He = T({
379
+ }, He = S({
376
380
  name: "OrDataGridTableContentRow",
377
381
  props: {
378
382
  variant: {
@@ -392,7 +396,7 @@ const Re = /* @__PURE__ */ C(Ve, [["render", Me]]), Ie = [
392
396
  "root"
393
397
  ],
394
398
  setup(e) {
395
- const t = G(), r = n(() => [
399
+ const t = w(), r = n(() => [
396
400
  "or-data-grid-table-content-row-v3",
397
401
  ...Ie,
398
402
  ...Fe[e.variant],
@@ -413,16 +417,16 @@ function je(e, t, r, m, h, b) {
413
417
  i(e.$slots, "default")
414
418
  ], 10, Pe);
415
419
  }
416
- const Ee = /* @__PURE__ */ C(He, [["render", je]]), Ue = [
420
+ const Ee = /* @__PURE__ */ T(He, [["render", je]]), Ue = [
417
421
  // Layout
418
422
  "contents"
419
- ], Ne = T({
423
+ ], Ne = S({
420
424
  name: "OrDataGridTableContent",
421
425
  expose: [
422
426
  "root"
423
427
  ],
424
428
  setup() {
425
- const e = G(), t = n(() => [
429
+ const e = w(), t = n(() => [
426
430
  "or-data-grid-table-content-v3",
427
431
  ...Ue
428
432
  ]);
@@ -440,7 +444,7 @@ function qe(e, t, r, m, h, b) {
440
444
  i(e.$slots, "default")
441
445
  ], 2);
442
446
  }
443
- const Ae = /* @__PURE__ */ C(Ne, [["render", qe]]), Le = [
447
+ const Ae = /* @__PURE__ */ T(Ne, [["render", qe]]), Le = [
444
448
  // Layout
445
449
  "layout-row",
446
450
  // Spacing
@@ -450,13 +454,13 @@ const Ae = /* @__PURE__ */ C(Ne, [["render", qe]]), Le = [
450
454
  // Theme
451
455
  "theme-border-transparent border-1",
452
456
  "dark:theme-border-transparent-dark"
453
- ], Be = T({
457
+ ], Be = S({
454
458
  name: "OrDataGridTableFooterCell",
455
459
  expose: [
456
460
  "root"
457
461
  ],
458
462
  setup() {
459
- const e = G(), t = n(() => [
463
+ const e = w(), t = n(() => [
460
464
  "or-data-grid-table-footer-cell-v3",
461
465
  ...Le
462
466
  ]);
@@ -474,7 +478,7 @@ function ze(e, t, r, m, h, b) {
474
478
  i(e.$slots, "default")
475
479
  ], 2);
476
480
  }
477
- const Je = /* @__PURE__ */ C(Be, [["render", ze]]), Ke = [
481
+ const We = /* @__PURE__ */ T(Be, [["render", ze]]), Je = [
478
482
  // Layout
479
483
  "grid grid-cols-1",
480
484
  // Typography
@@ -487,24 +491,24 @@ const Je = /* @__PURE__ */ C(Be, [["render", ze]]), Ke = [
487
491
  "dark:children:theme-foreground-default-dark",
488
492
  "children:theme-background-default",
489
493
  "dark:children:theme-background-default-dark"
490
- ], Qe = {
494
+ ], Ke = {
491
495
  [c.Standard]: [
492
496
  // Box
493
- "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
497
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
494
498
  ],
495
499
  [c.Comfortable]: [
496
500
  // Box
497
- "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
501
+ "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
498
502
  ],
499
503
  [c.Compact]: [
500
504
  // Box
501
- "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
505
+ "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
502
506
  ],
503
507
  [c.Dynamic]: [
504
508
  // Box
505
509
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
506
510
  ]
507
- }, We = T({
511
+ }, Qe = S({
508
512
  name: "OrDataGridTableFooterRow",
509
513
  props: {
510
514
  variant: {
@@ -516,10 +520,10 @@ const Je = /* @__PURE__ */ C(Be, [["render", ze]]), Ke = [
516
520
  "root"
517
521
  ],
518
522
  setup(e) {
519
- const t = G(), r = n(() => [
523
+ const t = w(), r = n(() => [
520
524
  "or-data-grid-table-footer-row-v3",
521
- ...Ke,
522
- ...Qe[e.variant]
525
+ ...Je,
526
+ ...Ke[e.variant]
523
527
  ]);
524
528
  return {
525
529
  root: t,
@@ -535,16 +539,16 @@ function Xe(e, t, r, m, h, b) {
535
539
  i(e.$slots, "default")
536
540
  ], 2);
537
541
  }
538
- const Ye = /* @__PURE__ */ C(We, [["render", Xe]]), Ze = [
542
+ const Ye = /* @__PURE__ */ T(Qe, [["render", Xe]]), Ze = [
539
543
  // Layout
540
544
  "contents"
541
- ], _e = T({
545
+ ], _e = S({
542
546
  name: "OrDataGridTableFooter",
543
547
  expose: [
544
548
  "root"
545
549
  ],
546
550
  setup() {
547
- const e = G(), t = n(() => [
551
+ const e = w(), t = n(() => [
548
552
  "or-data-grid-table-footer-v3",
549
553
  ...Ze
550
554
  ]);
@@ -562,7 +566,7 @@ function xe(e, t, r, m, h, b) {
562
566
  i(e.$slots, "default")
563
567
  ], 2);
564
568
  }
565
- const et = /* @__PURE__ */ C(_e, [["render", xe]]), tt = [
569
+ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
566
570
  // Layout
567
571
  "layout-row",
568
572
  // Spacing
@@ -578,7 +582,7 @@ const et = /* @__PURE__ */ C(_e, [["render", xe]]), tt = [
578
582
  // Theme (.sticky-end)
579
583
  "[&.sticky-end]:border-s-disabled",
580
584
  "dark:[&.sticky-end]:border-s-disabled-dark"
581
- ], at = T({
585
+ ], at = S({
582
586
  name: "OrDataGridTableHeaderCell",
583
587
  components: {
584
588
  OrIcon: me
@@ -610,9 +614,9 @@ const et = /* @__PURE__ */ C(_e, [["render", xe]]), tt = [
610
614
  "root"
611
615
  ],
612
616
  setup(e, t) {
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;
617
+ const r = w(), m = n(() => {
618
+ var l, O, G;
619
+ return !!((l = e.features) != null && l.sorting) && !!((O = e.column) != null && O.name) && ((G = e.column) == null ? void 0 : G.sorting) !== !1;
616
620
  }), h = n(() => {
617
621
  var l;
618
622
  return [
@@ -686,9 +690,9 @@ const et = /* @__PURE__ */ C(_e, [["render", xe]]), tt = [
686
690
  l,
687
691
  O
688
692
  ], [
689
- w
693
+ G
690
694
  ]) => {
691
- w && w !== l && t.emit("remove:scrollOffset", w), t.emit("update:scrollOffset", l, O, e.column);
695
+ G && G !== l && t.emit("remove:scrollOffset", G), t.emit("update:scrollOffset", l, O, e.column);
692
696
  }), {
693
697
  root: r,
694
698
  rootStyles: h,
@@ -718,7 +722,7 @@ function rt(e, t, r, m, h, b) {
718
722
  }, null, 8, ["icon"])) : g("", !0)
719
723
  ], 6);
720
724
  }
721
- const nt = /* @__PURE__ */ C(at, [["render", rt]]), lt = [
725
+ const nt = /* @__PURE__ */ T(at, [["render", rt]]), lt = [
722
726
  // Position
723
727
  "sticky top-0 z-10",
724
728
  // Layout
@@ -733,21 +737,21 @@ const nt = /* @__PURE__ */ C(at, [["render", rt]]), lt = [
733
737
  ], st = {
734
738
  [c.Standard]: [
735
739
  // Box
736
- "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
740
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
737
741
  ],
738
742
  [c.Comfortable]: [
739
743
  // Box
740
- "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
744
+ "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
741
745
  ],
742
746
  [c.Compact]: [
743
747
  // Box
744
- "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
748
+ "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
745
749
  ],
746
750
  [c.Dynamic]: [
747
751
  // Box
748
752
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
749
753
  ]
750
- }, it = T({
754
+ }, it = S({
751
755
  name: "OrDataGridTableHeaderRow",
752
756
  props: {
753
757
  variant: {
@@ -759,7 +763,7 @@ const nt = /* @__PURE__ */ C(at, [["render", rt]]), lt = [
759
763
  "root"
760
764
  ],
761
765
  setup(e) {
762
- const t = G(), r = n(() => [
766
+ const t = w(), r = n(() => [
763
767
  "or-data-grid-table-header-row-v3",
764
768
  ...lt,
765
769
  ...st[e.variant]
@@ -778,16 +782,16 @@ function dt(e, t, r, m, h, b) {
778
782
  i(e.$slots, "default")
779
783
  ], 2);
780
784
  }
781
- const ut = /* @__PURE__ */ C(it, [["render", dt]]), ct = [
785
+ const ut = /* @__PURE__ */ T(it, [["render", dt]]), ct = [
782
786
  // Layout
783
787
  "contents"
784
- ], mt = T({
788
+ ], mt = S({
785
789
  name: "OrDataGridTableHeader",
786
790
  expose: [
787
791
  "root"
788
792
  ],
789
793
  setup() {
790
- const e = G(), t = n(() => [
794
+ const e = w(), t = n(() => [
791
795
  "or-data-grid-table-header-v3",
792
796
  ...ct
793
797
  ]);
@@ -805,7 +809,7 @@ function ft(e, t, r, m, h, b) {
805
809
  i(e.$slots, "default")
806
810
  ], 2);
807
811
  }
808
- const pt = /* @__PURE__ */ C(mt, [["render", ft]]), gt = [
812
+ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
809
813
  // Layout
810
814
  "layout-row justify-center",
811
815
  // Spacing
@@ -836,7 +840,7 @@ const pt = /* @__PURE__ */ C(mt, [["render", ft]]), gt = [
836
840
  // Box
837
841
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
838
842
  ]
839
- }, ht = T({
843
+ }, ht = S({
840
844
  name: "OrDataGridTablePlaceholder",
841
845
  props: {
842
846
  variant: {
@@ -848,7 +852,7 @@ const pt = /* @__PURE__ */ C(mt, [["render", ft]]), gt = [
848
852
  "root"
849
853
  ],
850
854
  setup(e) {
851
- const t = G(), r = n(() => [
855
+ const t = w(), r = n(() => [
852
856
  "or-data-grid-table-placeholder-v3",
853
857
  ...gt,
854
858
  ...vt[e.variant]
@@ -867,14 +871,14 @@ function bt(e, t, r, m, h, b) {
867
871
  i(e.$slots, "default")
868
872
  ], 2);
869
873
  }
870
- const yt = /* @__PURE__ */ C(ht, [["render", bt]]), kt = [
874
+ const yt = /* @__PURE__ */ T(ht, [["render", bt]]), kt = [
871
875
  // Layout
872
876
  "grid content-start",
873
877
  // Overflow
874
878
  "overflow-auto",
875
879
  // Interactivity
876
880
  "interactivity-default"
877
- ], Ot = T({
881
+ ], Ot = S({
878
882
  name: "OrDataGridTable",
879
883
  props: {
880
884
  columns: {
@@ -890,7 +894,7 @@ const yt = /* @__PURE__ */ C(ht, [["render", bt]]), kt = [
890
894
  "root"
891
895
  ],
892
896
  setup(e) {
893
- const t = G(), r = n(() => [
897
+ const t = w(), r = n(() => [
894
898
  "or-data-grid-table-v3",
895
899
  ...kt
896
900
  ]), m = n(() => {
@@ -913,20 +917,20 @@ function $t(e, t, r, m, h, b) {
913
917
  i(e.$slots, "default")
914
918
  ], 6);
915
919
  }
916
- const Dt = /* @__PURE__ */ C(Ot, [["render", $t]]), wt = [
920
+ const Dt = /* @__PURE__ */ T(Ot, [["render", $t]]), wt = [
917
921
  // Layout
918
922
  "layout-row",
919
923
  // Box
920
924
  "h-2xl",
921
925
  // Spacing
922
926
  "gap-xl"
923
- ], Gt = T({
927
+ ], Gt = S({
924
928
  name: "OrDataGridToolbar",
925
929
  expose: [
926
930
  "root"
927
931
  ],
928
932
  setup() {
929
- const e = G(), t = n(() => [
933
+ const e = w(), t = n(() => [
930
934
  "or-data-grid-toolbar-v3",
931
935
  ...wt
932
936
  ]);
@@ -944,7 +948,7 @@ function St(e, t, r, m, h, b) {
944
948
  i(e.$slots, "default")
945
949
  ], 2);
946
950
  }
947
- const Tt = /* @__PURE__ */ C(Gt, [["render", St]]), Ct = [
951
+ const Tt = /* @__PURE__ */ T(Gt, [["render", St]]), Ct = [
948
952
  // Position
949
953
  "grid sticky z-10",
950
954
  // Layout
@@ -966,7 +970,7 @@ const Tt = /* @__PURE__ */ C(Gt, [["render", St]]), Ct = [
966
970
  // Position
967
971
  "top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
968
972
  ]
969
- }, Mt = T({
973
+ }, Mt = S({
970
974
  components: {
971
975
  OrNotification: pe
972
976
  },
@@ -1009,7 +1013,7 @@ function Rt(e, t, r, m, h, b) {
1009
1013
  }, 16)
1010
1014
  ], 2);
1011
1015
  }
1012
- const It = /* @__PURE__ */ C(Mt, [["render", Rt]]), Ft = [
1016
+ const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
1013
1017
  // Layout
1014
1018
  "grid col-span-full grid-cols-[subgrid]",
1015
1019
  // Typography
@@ -1025,21 +1029,21 @@ const It = /* @__PURE__ */ C(Mt, [["render", Rt]]), Ft = [
1025
1029
  ], Ht = {
1026
1030
  [c.Standard]: [
1027
1031
  // Box
1028
- "h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1032
+ "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1029
1033
  ],
1030
1034
  [c.Comfortable]: [
1031
1035
  // Box
1032
- "h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
1036
+ "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
1033
1037
  ],
1034
1038
  [c.Compact]: [
1035
1039
  // Box
1036
- "h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
1040
+ "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
1037
1041
  ],
1038
1042
  [c.Dynamic]: [
1039
1043
  // Box
1040
1044
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1041
1045
  ]
1042
- }, Pt = T({
1046
+ }, Pt = S({
1043
1047
  name: "OrDataGridTableExtraRow",
1044
1048
  props: {
1045
1049
  variant: {
@@ -1051,7 +1055,7 @@ const It = /* @__PURE__ */ C(Mt, [["render", Rt]]), Ft = [
1051
1055
  "root"
1052
1056
  ],
1053
1057
  setup(e) {
1054
- const t = G(), r = n(() => [
1058
+ const t = w(), r = n(() => [
1055
1059
  "or-data-grid-table-extra-row-v3",
1056
1060
  ...Ft,
1057
1061
  ...Ht[e.variant]
@@ -1070,10 +1074,10 @@ function jt(e, t, r, m, h, b) {
1070
1074
  i(e.$slots, "default")
1071
1075
  ], 2);
1072
1076
  }
1073
- const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1077
+ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1074
1078
  // Layout
1075
1079
  "layout-column"
1076
- ], Nt = T({
1080
+ ], Nt = S({
1077
1081
  name: "OrDataGrid",
1078
1082
  components: {
1079
1083
  OrCheckbox: X,
@@ -1084,7 +1088,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1084
1088
  OrDataGridTableContentCell: Re,
1085
1089
  OrDataGridTableContentRow: Ee,
1086
1090
  OrDataGridTableFooter: et,
1087
- OrDataGridTableFooterCell: Je,
1091
+ OrDataGridTableFooterCell: We,
1088
1092
  OrDataGridTableFooterRow: Ye,
1089
1093
  OrDataGridTableExtraRow: Et,
1090
1094
  OrDataGridTableHeader: pt,
@@ -1149,11 +1153,11 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1149
1153
  "root"
1150
1154
  ],
1151
1155
  setup(e, t) {
1152
- const r = G(), m = G(), h = n(() => [
1156
+ const r = w(), m = w(), h = n(() => [
1153
1157
  "or-data-grid-v3",
1154
1158
  ...Ut
1155
1159
  ]), b = n(() => ({
1156
- scrollPaddingInlineStart: `${[...S.value.values()].reduce((a, s) => a + s, 0)}px`,
1160
+ scrollPaddingInlineStart: `${[...C.value.values()].reduce((a, s) => a + s, 0)}px`,
1157
1161
  scrollPaddingInlineEnd: `${[...V.value.values()].reduce((a, s) => a + s, 0)}px`
1158
1162
  })), $ = n({
1159
1163
  get: () => !!e.items.length && e.items.every((a) => D.value.includes(a.id)),
@@ -1176,7 +1180,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1176
1180
  filtering: k.value,
1177
1181
  searching: l.value,
1178
1182
  sorting: O.value,
1179
- paging: w.value
1183
+ paging: G.value
1180
1184
  });
1181
1185
  }
1182
1186
  }), k = n({
@@ -1191,7 +1195,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1191
1195
  searching: l.value,
1192
1196
  sorting: O.value,
1193
1197
  paging: {
1194
- ...w.value,
1198
+ ...G.value,
1195
1199
  offset: 0
1196
1200
  }
1197
1201
  });
@@ -1208,7 +1212,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1208
1212
  searching: a,
1209
1213
  sorting: O.value,
1210
1214
  paging: {
1211
- ...w.value,
1215
+ ...G.value,
1212
1216
  offset: 0
1213
1217
  }
1214
1218
  });
@@ -1225,12 +1229,12 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1225
1229
  searching: l.value,
1226
1230
  sorting: a,
1227
1231
  paging: {
1228
- ...w.value,
1232
+ ...G.value,
1229
1233
  offset: 0
1230
1234
  }
1231
1235
  });
1232
1236
  }
1233
- }), w = n({
1237
+ }), G = n({
1234
1238
  get: () => {
1235
1239
  var a;
1236
1240
  return (a = e.modelValue) == null ? void 0 : a.paging;
@@ -1244,7 +1248,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1244
1248
  paging: a
1245
1249
  });
1246
1250
  }
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(() => {
1251
+ }), C = w(/* @__PURE__ */ new Map()), V = w(/* @__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
1252
  var a;
1249
1253
  return ((a = m.value) == null ? void 0 : a.currentLimit) || 10;
1250
1254
  });
@@ -1254,10 +1258,10 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1254
1258
  function E(a, s, R) {
1255
1259
  switch (R.stickiness) {
1256
1260
  case "start":
1257
- S.value.set(a, s), S.value = new Map(S.value), V.value.delete(a), V.value = new Map(V.value);
1261
+ C.value.set(a, s), C.value = new Map(C.value), V.value.delete(a), V.value = new Map(V.value);
1258
1262
  break;
1259
1263
  case "end":
1260
- S.value.delete(a), S.value = new Map(S.value), V.value.set(a, s), V.value = new Map(V.value);
1264
+ C.value.delete(a), C.value = new Map(C.value), V.value.set(a, s), V.value = new Map(V.value);
1261
1265
  break;
1262
1266
  default:
1263
1267
  U(a);
@@ -1288,9 +1292,9 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1288
1292
  e.interactiveRows && t.emit("click:row", a);
1289
1293
  }
1290
1294
  function U(a) {
1291
- S.value.delete(a), S.value = new Map(S.value), V.value.delete(a), V.value = new Map(V.value);
1295
+ C.value.delete(a), C.value = new Map(C.value), V.value.delete(a), V.value = new Map(V.value);
1292
1296
  }
1293
- function J(a) {
1297
+ function W(a) {
1294
1298
  a.currentTarget.scrollIntoView({ block: "nearest" });
1295
1299
  }
1296
1300
  return {
@@ -1311,11 +1315,11 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1311
1315
  filteringModel: k,
1312
1316
  searchingModel: l,
1313
1317
  sortingModel: O,
1314
- pagingModel: w,
1318
+ pagingModel: G,
1315
1319
  updateScrollOffset: E,
1316
1320
  removeScrollOffset: U,
1317
1321
  updateSearchingModel: j,
1318
- scrollTo: J,
1322
+ scrollTo: W,
1319
1323
  onInput: (a, s, R) => {
1320
1324
  a[s] = R, t.emit("update:item", a);
1321
1325
  }
@@ -1323,7 +1327,7 @@ const Et = /* @__PURE__ */ C(Pt, [["render", jt]]), Ut = [
1323
1327
  }
1324
1328
  });
1325
1329
  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");
1330
+ const $ = d("OrSearch"), D = d("OrDataGridHeader"), k = d("OrDataGridToolbar"), l = d("OrCheckbox"), O = d("OrDataGridTableHeaderCell"), G = d("OrDataGridTableHeaderRow"), C = 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"), W = d("OrDataGridFooter");
1327
1331
  return o(), v("div", {
1328
1332
  ref: "root",
1329
1333
  class: u(e.rootStyles)
@@ -1331,7 +1335,7 @@ function qt(e, t, r, m, h, b) {
1331
1335
  e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (o(), p(D, {
1332
1336
  key: 0,
1333
1337
  class: u(["shrink-0"])
1334
- }, K({ _: 2 }, [
1338
+ }, J({ _: 2 }, [
1335
1339
  e.$slots.title ? {
1336
1340
  name: "title",
1337
1341
  fn: f(() => [
@@ -1375,9 +1379,9 @@ function qt(e, t, r, m, h, b) {
1375
1379
  features: e.features
1376
1380
  }, {
1377
1381
  default: f(() => [
1378
- M(S, null, {
1382
+ M(C, null, {
1379
1383
  default: f(() => [
1380
- M(w, { variant: e.variant }, {
1384
+ M(G, { variant: e.variant }, {
1381
1385
  default: f(() => [
1382
1386
  e.features.selecting ? (o(), p(O, {
1383
1387
  key: 0,
@@ -1406,7 +1410,7 @@ function qt(e, t, r, m, h, b) {
1406
1410
  "onRemove:scrollOffset": e.removeScrollOffset
1407
1411
  }, {
1408
1412
  default: f(() => [
1409
- Q(W(a.label), 1)
1413
+ K(Q(a.label), 1)
1410
1414
  ]),
1411
1415
  _: 2
1412
1416
  }, 1032, ["modelValue", "column", "features", "onUpdate:scrollOffset", "onRemove:scrollOffset"]))), 128))
@@ -1421,7 +1425,7 @@ function qt(e, t, r, m, h, b) {
1421
1425
  notification: e.notification,
1422
1426
  variant: e.variant,
1423
1427
  onCloseNotification: t[3] || (t[3] = (a) => e.$emit("close-notification"))
1424
- }, K({ _: 2 }, [
1428
+ }, J({ _: 2 }, [
1425
1429
  e.$slots.notification ? {
1426
1430
  name: "notification",
1427
1431
  fn: f(() => [
@@ -1489,6 +1493,7 @@ function qt(e, t, r, m, h, b) {
1489
1493
  key: 0,
1490
1494
  column: { stickiness: "start" },
1491
1495
  variant: e.variant,
1496
+ override: !0,
1492
1497
  "force-state": "none",
1493
1498
  class: "!py-xs !px-xs md:!py-none md:!px-sm+",
1494
1499
  onMouseenter: () => e.handleMouseEnterCell(a, "selecting", e.selectingModel.includes(a.id)),
@@ -1520,7 +1525,7 @@ function qt(e, t, r, m, h, b) {
1520
1525
  column: s,
1521
1526
  item: a
1522
1527
  }, () => [
1523
- Q(W(a[s.name]), 1)
1528
+ K(Q(a[s.name]), 1)
1524
1529
  ])
1525
1530
  ]),
1526
1531
  _: 2
@@ -1583,14 +1588,14 @@ function qt(e, t, r, m, h, b) {
1583
1588
  ]),
1584
1589
  _: 3
1585
1590
  })) : g("", !0),
1586
- e.$slots.actions || e.showSelectingCouter || e.features.paging ? (o(), p(J, {
1591
+ e.$slots.actions || e.showSelectingCouter || e.features.paging ? (o(), p(W, {
1587
1592
  key: 3,
1588
1593
  class: u(["shrink-0"])
1589
- }, K({ _: 2 }, [
1594
+ }, J({ _: 2 }, [
1590
1595
  e.features.selecting && e.selectingModel.length > 0 ? {
1591
1596
  name: "status",
1592
1597
  fn: f(() => [
1593
- Q(W(e.selectingModel.length) + " row(s) selected ", 1)
1598
+ K(Q(e.selectingModel.length) + " row(s) selected ", 1)
1594
1599
  ]),
1595
1600
  key: "0"
1596
1601
  } : void 0,
@@ -1617,7 +1622,7 @@ function qt(e, t, r, m, h, b) {
1617
1622
  ]), 1024)) : g("", !0)
1618
1623
  ], 2);
1619
1624
  }
1620
- const la = /* @__PURE__ */ C(Nt, [["render", qt]]);
1625
+ const la = /* @__PURE__ */ T(Nt, [["render", qt]]);
1621
1626
  export {
1622
1627
  c as D,
1623
1628
  la as O,
@@ -1626,7 +1631,7 @@ export {
1626
1631
  Re as c,
1627
1632
  Ee as d,
1628
1633
  Ae as e,
1629
- Je as f,
1634
+ We as f,
1630
1635
  Ye as g,
1631
1636
  et as h,
1632
1637
  nt as i,
@@ -1638,4 +1643,4 @@ export {
1638
1643
  It as o,
1639
1644
  Et as p
1640
1645
  };
1641
- //# sourceMappingURL=OrDataGrid-CCz56Bn1.mjs.map
1646
+ //# sourceMappingURL=OrDataGrid-Dg_tGOqf.mjs.map