@onereach/ui-components 26.1.0 → 26.1.1-beta.5840.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,7 +2,7 @@ import { O as X } from "./OrCheckbox-WPBzlvaV.mjs";
2
2
  import { O as Y } from "./OrPagination-pcDCKc9g.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 f, normalizeClass as u, renderSlot as s, createCommentVNode as g, resolveComponent as d, normalizeStyle as N, Fragment as H, createBlock as m, watch as x, createElementVNode as ee, createVNode as M, mergeProps as te, withCtx as p, createSlots as K, normalizeProps as oe, guardReactiveProps as ae, renderList as P, createTextVNode as Q, toDisplayString as W } from "vue";
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
6
  import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  import { O as re } from "./OrDatePicker-B_N24Q-T.mjs";
8
8
  import { O as ne } from "./OrDateTimePicker-CNt_o1Js.mjs";
@@ -31,10 +31,10 @@ const ge = [
31
31
  // Theme
32
32
  "theme-border-disabled border-t-1",
33
33
  "dark:theme-border-disabled-dark"
34
- ], be = [
34
+ ], ve = [
35
35
  // Typography
36
36
  "typography-body-2-semibold"
37
- ], ve = G({
37
+ ], be = G({
38
38
  name: "OrDataGridFooter",
39
39
  expose: [
40
40
  "root"
@@ -44,7 +44,7 @@ const ge = [
44
44
  "or-data-grid-footer-v3",
45
45
  ...ge
46
46
  ]), r = n(() => [
47
- ...be
47
+ ...ve
48
48
  ]);
49
49
  return {
50
50
  root: e,
@@ -56,25 +56,25 @@ const ge = [
56
56
  key: 1,
57
57
  class: /* @__PURE__ */ u(["grow"])
58
58
  };
59
- function ye(e, t, r, c, b, v) {
60
- return a(), f("div", {
59
+ function ye(e, t, r, c, v, b) {
60
+ return a(), g("div", {
61
61
  ref: "root",
62
62
  class: u(e.rootStyles)
63
63
  }, [
64
- e.$slots.status ? (a(), f("div", {
64
+ e.$slots.status ? (a(), g("div", {
65
65
  key: 0,
66
66
  class: u(e.statusStyles)
67
67
  }, [
68
68
  s(e.$slots, "status")
69
- ], 2)) : g("", !0),
69
+ ], 2)) : p("", !0),
70
70
  s(e.$slots, "actions"),
71
- e.$slots.paging ? (a(), f("div", he)) : g("", !0),
71
+ e.$slots.paging ? (a(), g("div", he)) : p("", !0),
72
72
  s(e.$slots, "paging")
73
73
  ], 2);
74
74
  }
75
- const ke = /* @__PURE__ */ T(ve, [["render", ye]]), Oe = [
75
+ const ke = /* @__PURE__ */ T(be, [["render", ye]]), Oe = [
76
76
  // Layout
77
- "layout-row items-start",
77
+ "layout-row items-start gap-md",
78
78
  // Interactivity
79
79
  "interactivity-default",
80
80
  // Box
@@ -104,19 +104,20 @@ const ke = /* @__PURE__ */ T(ve, [["render", ye]]), Oe = [
104
104
  key: 1,
105
105
  class: /* @__PURE__ */ u(["grow"])
106
106
  };
107
- function Ge(e, t, r, c, b, v) {
108
- return a(), f("div", {
107
+ function Ge(e, t, r, c, v, b) {
108
+ return a(), g("div", {
109
109
  ref: "root",
110
110
  class: u(e.rootStyles)
111
111
  }, [
112
- e.$slots.title ? (a(), f("div", {
112
+ e.$slots.title ? (a(), g("div", {
113
113
  key: 0,
114
114
  class: u(e.titleStyles)
115
115
  }, [
116
116
  s(e.$slots, "title")
117
- ], 2)) : g("", !0),
118
- e.$slots.searching ? (a(), f("div", we)) : g("", !0),
119
- s(e.$slots, "searching")
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)
120
121
  ], 2);
121
122
  }
122
123
  const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
@@ -196,7 +197,7 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
196
197
  ...Se,
197
198
  ...($ = e.column) != null && $.stickiness ? [`sticky-${e.column.stickiness}`] : []
198
199
  ];
199
- }), b = n(() => {
200
+ }), v = n(() => {
200
201
  if (e.column)
201
202
  switch (e.column.stickiness) {
202
203
  case "start":
@@ -222,7 +223,7 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
222
223
  return {
223
224
  justifyContent: "center"
224
225
  };
225
- }), v = n(() => [
226
+ }), b = n(() => [
226
227
  ...Ce
227
228
  ]), k = n({
228
229
  get: () => e.modelValue,
@@ -236,86 +237,86 @@ const Te = /* @__PURE__ */ T(De, [["render", Ge]]), Se = [
236
237
  return {
237
238
  root: r,
238
239
  rootStyles: c,
239
- rootInlineStyles: b,
240
- contentStyles: v,
240
+ rootInlineStyles: v,
241
+ contentStyles: b,
241
242
  model: k,
242
243
  control: O
243
244
  };
244
245
  }
245
246
  });
246
- function Me(e, t, r, c, b, v) {
247
+ function Me(e, t, r, c, v, b) {
247
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");
248
- return a(), f("div", {
249
+ return a(), g("div", {
249
250
  ref: "root",
250
251
  class: u(e.rootStyles),
251
252
  style: N(e.rootInlineStyles)
252
253
  }, [
253
- e.override ? s(e.$slots, "default", { key: 0 }) : e.control ? (a(), f(H, { key: 1 }, [
254
- e.control.type === "text" ? (a(), m(k, {
254
+ e.override ? s(e.$slots, "default", { key: 0 }) : e.control ? (a(), g(H, { key: 1 }, [
255
+ e.control.type === "text" ? (a(), f(k, {
255
256
  key: 0,
256
257
  modelValue: e.model,
257
258
  "onUpdate:modelValue": t[0] || (t[0] = (h) => e.model = h),
258
259
  type: "text",
259
260
  variant: "embedded"
260
- }, null, 8, ["modelValue"])) : g("", !0),
261
- e.control.type === "number" ? (a(), m(k, {
261
+ }, null, 8, ["modelValue"])) : p("", !0),
262
+ e.control.type === "number" ? (a(), f(k, {
262
263
  key: 1,
263
264
  modelValue: e.model,
264
265
  "onUpdate:modelValue": t[1] || (t[1] = (h) => e.model = h),
265
266
  type: "number",
266
267
  variant: "embedded"
267
- }, null, 8, ["modelValue"])) : g("", !0),
268
- e.control.type === "rating" ? (a(), m(O, {
268
+ }, null, 8, ["modelValue"])) : p("", !0),
269
+ e.control.type === "rating" ? (a(), f(O, {
269
270
  key: 2,
270
271
  modelValue: e.model,
271
272
  "onUpdate:modelValue": t[2] || (t[2] = (h) => e.model = h)
272
- }, null, 8, ["modelValue"])) : g("", !0),
273
- e.control.type === "select" ? (a(), m($, {
273
+ }, null, 8, ["modelValue"])) : p("", !0),
274
+ e.control.type === "select" ? (a(), f($, {
274
275
  key: 3,
275
276
  modelValue: e.model,
276
277
  "onUpdate:modelValue": t[3] || (t[3] = (h) => e.model = h),
277
278
  options: e.control.options,
278
279
  variant: "embedded",
279
280
  anchor: e.root
280
- }, null, 8, ["modelValue", "options", "anchor"])) : g("", !0),
281
- e.control.type === "checkbox" ? (a(), m(i, {
281
+ }, null, 8, ["modelValue", "options", "anchor"])) : p("", !0),
282
+ e.control.type === "checkbox" ? (a(), f(i, {
282
283
  key: 4,
283
284
  modelValue: e.model,
284
285
  "onUpdate:modelValue": t[4] || (t[4] = (h) => e.model = h)
285
- }, null, 8, ["modelValue"])) : g("", !0),
286
- e.control.type === "switch" ? (a(), m(w, {
286
+ }, null, 8, ["modelValue"])) : p("", !0),
287
+ e.control.type === "switch" ? (a(), f(w, {
287
288
  key: 5,
288
289
  modelValue: e.model,
289
290
  "onUpdate:modelValue": t[5] || (t[5] = (h) => e.model = h)
290
- }, null, 8, ["modelValue"])) : g("", !0),
291
- e.control.type === "date" ? (a(), m(S, {
291
+ }, null, 8, ["modelValue"])) : p("", !0),
292
+ e.control.type === "date" ? (a(), f(S, {
292
293
  key: 6,
293
294
  modelValue: e.model,
294
295
  "onUpdate:modelValue": t[6] || (t[6] = (h) => e.model = h),
295
296
  variant: "embedded",
296
297
  anchor: e.root
297
- }, null, 8, ["modelValue", "anchor"])) : g("", !0),
298
- e.control.type === "time" ? (a(), m(C, {
298
+ }, null, 8, ["modelValue", "anchor"])) : p("", !0),
299
+ e.control.type === "time" ? (a(), f(C, {
299
300
  key: 7,
300
301
  modelValue: e.model,
301
302
  "onUpdate:modelValue": t[7] || (t[7] = (h) => e.model = h),
302
303
  variant: "embedded",
303
304
  anchor: e.root
304
- }, null, 8, ["modelValue", "anchor"])) : g("", !0),
305
- e.control.type === "datetime" ? (a(), m(V, {
305
+ }, null, 8, ["modelValue", "anchor"])) : p("", !0),
306
+ e.control.type === "datetime" ? (a(), f(V, {
306
307
  key: 8,
307
308
  modelValue: e.model,
308
309
  "onUpdate:modelValue": t[8] || (t[8] = (h) => e.model = h),
309
310
  variant: "embedded",
310
311
  anchor: e.root
311
- }, null, 8, ["modelValue", "anchor"])) : g("", !0),
312
- e.control.type === "tags" ? (a(), m(I, {
312
+ }, null, 8, ["modelValue", "anchor"])) : p("", !0),
313
+ e.control.type === "tags" ? (a(), f(I, {
313
314
  key: 9,
314
315
  modelValue: e.model,
315
316
  "onUpdate:modelValue": t[9] || (t[9] = (h) => e.model = h),
316
317
  variant: "embedded"
317
- }, null, 8, ["modelValue"])) : g("", !0)
318
- ], 64)) : (a(), f("div", {
318
+ }, null, 8, ["modelValue"])) : p("", !0)
319
+ ], 64)) : (a(), g("div", {
319
320
  key: 2,
320
321
  class: u(e.contentStyles)
321
322
  }, [
@@ -392,8 +393,8 @@ const Ie = [
392
393
  };
393
394
  }
394
395
  }), Pe = ["selected"];
395
- function je(e, t, r, c, b, v) {
396
- return a(), f("div", {
396
+ function je(e, t, r, c, v, b) {
397
+ return a(), g("div", {
397
398
  ref: "root",
398
399
  class: u(e.rootStyles),
399
400
  selected: e.selected
@@ -420,15 +421,15 @@ const Ee = /* @__PURE__ */ T(He, [["render", je]]), Ue = [
420
421
  };
421
422
  }
422
423
  });
423
- function qe(e, t, r, c, b, v) {
424
- return a(), f("div", {
424
+ function qe(e, t, r, c, v, b) {
425
+ return a(), g("div", {
425
426
  ref: "root",
426
427
  class: u(e.rootStyles)
427
428
  }, [
428
429
  s(e.$slots, "default")
429
430
  ], 2);
430
431
  }
431
- const Le = /* @__PURE__ */ T(Ne, [["render", qe]]), Be = [
432
+ const Ae = /* @__PURE__ */ T(Ne, [["render", qe]]), Le = [
432
433
  // Layout
433
434
  "layout-row",
434
435
  // Spacing
@@ -438,7 +439,7 @@ const Le = /* @__PURE__ */ T(Ne, [["render", qe]]), Be = [
438
439
  // Theme
439
440
  "theme-border-transparent border-1",
440
441
  "dark:theme-border-transparent-dark"
441
- ], ze = G({
442
+ ], Be = G({
442
443
  name: "OrDataGridTableFooterCell",
443
444
  expose: [
444
445
  "root"
@@ -446,7 +447,7 @@ const Le = /* @__PURE__ */ T(Ne, [["render", qe]]), Be = [
446
447
  setup() {
447
448
  const e = D(), t = n(() => [
448
449
  "or-data-grid-table-footer-cell-v3",
449
- ...Be
450
+ ...Le
450
451
  ]);
451
452
  return {
452
453
  root: e,
@@ -454,15 +455,15 @@ const Le = /* @__PURE__ */ T(Ne, [["render", qe]]), Be = [
454
455
  };
455
456
  }
456
457
  });
457
- function Ae(e, t, r, c, b, v) {
458
- return a(), f("div", {
458
+ function ze(e, t, r, c, v, b) {
459
+ return a(), g("div", {
459
460
  ref: "root",
460
461
  class: u(e.rootStyles)
461
462
  }, [
462
463
  s(e.$slots, "default")
463
464
  ], 2);
464
465
  }
465
- const Je = /* @__PURE__ */ T(ze, [["render", Ae]]), Ke = [
466
+ const Je = /* @__PURE__ */ T(Be, [["render", ze]]), Ke = [
466
467
  // Layout
467
468
  "grid grid-cols-1",
468
469
  // Typography
@@ -511,8 +512,8 @@ const Je = /* @__PURE__ */ T(ze, [["render", Ae]]), Ke = [
511
512
  };
512
513
  }
513
514
  });
514
- function Xe(e, t, r, c, b, v) {
515
- return a(), f("div", {
515
+ function Xe(e, t, r, c, v, b) {
516
+ return a(), g("div", {
516
517
  ref: "root",
517
518
  class: u(e.rootStyles)
518
519
  }, [
@@ -538,8 +539,8 @@ const Ye = /* @__PURE__ */ T(We, [["render", Xe]]), Ze = [
538
539
  };
539
540
  }
540
541
  });
541
- function xe(e, t, r, c, b, v) {
542
- return a(), f("div", {
542
+ function xe(e, t, r, c, v, b) {
543
+ return a(), g("div", {
543
544
  ref: "root",
544
545
  class: u(e.rootStyles)
545
546
  }, [
@@ -597,7 +598,7 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
597
598
  const r = D(), c = n(() => {
598
599
  var i, w, S;
599
600
  return !!((i = e.features) != null && i.sorting) && !!((w = e.column) != null && w.name) && ((S = e.column) == null ? void 0 : S.sorting) !== !1;
600
- }), b = n(() => {
601
+ }), v = n(() => {
601
602
  var i;
602
603
  return [
603
604
  "or-data-grid-table-header-cell-v3",
@@ -605,7 +606,7 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
605
606
  ...(i = e.column) != null && i.stickiness ? [`sticky-${e.column.stickiness}`] : [],
606
607
  ...c.value ? ["interactivity-click"] : []
607
608
  ];
608
- }), v = n(() => {
609
+ }), b = n(() => {
609
610
  if (e.column)
610
611
  switch (e.column.stickiness) {
611
612
  case "start":
@@ -675,8 +676,8 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
675
676
  S && S !== i && t.emit("remove:scrollOffset", S), t.emit("update:scrollOffset", i, w, e.column);
676
677
  }), {
677
678
  root: r,
678
- rootStyles: b,
679
- rootInlineStyles: v,
679
+ rootStyles: v,
680
+ rootInlineStyles: b,
680
681
  isSortable: c,
681
682
  model: k,
682
683
  toggleSorting: O
@@ -685,9 +686,9 @@ const et = /* @__PURE__ */ T(_e, [["render", xe]]), tt = [
685
686
  }), at = {
686
687
  class: /* @__PURE__ */ u(["truncate"])
687
688
  };
688
- function rt(e, t, r, c, b, v) {
689
+ function rt(e, t, r, c, v, b) {
689
690
  const k = d("OrIcon");
690
- return a(), f("div", {
691
+ return a(), g("div", {
691
692
  ref: "root",
692
693
  class: u(e.rootStyles),
693
694
  style: N(e.rootInlineStyles),
@@ -696,10 +697,10 @@ function rt(e, t, r, c, b, v) {
696
697
  ee("div", at, [
697
698
  s(e.$slots, "default")
698
699
  ]),
699
- e.model ? (a(), m(k, {
700
+ e.model ? (a(), f(k, {
700
701
  key: 0,
701
702
  icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
702
- }, null, 8, ["icon"])) : g("", !0)
703
+ }, null, 8, ["icon"])) : p("", !0)
703
704
  ], 6);
704
705
  }
705
706
  const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
@@ -750,8 +751,8 @@ const nt = /* @__PURE__ */ T(ot, [["render", rt]]), lt = [
750
751
  };
751
752
  }
752
753
  });
753
- function dt(e, t, r, c, b, v) {
754
- return a(), f("div", {
754
+ function dt(e, t, r, c, v, b) {
755
+ return a(), g("div", {
755
756
  ref: "root",
756
757
  class: u(e.rootStyles)
757
758
  }, [
@@ -777,8 +778,8 @@ const ut = /* @__PURE__ */ T(it, [["render", dt]]), ct = [
777
778
  };
778
779
  }
779
780
  });
780
- function ft(e, t, r, c, b, v) {
781
- return a(), f("div", {
781
+ function ft(e, t, r, c, v, b) {
782
+ return a(), g("div", {
782
783
  ref: "root",
783
784
  class: u(e.rootStyles)
784
785
  }, [
@@ -799,7 +800,7 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
799
800
  "dark:theme-foreground-default-dark",
800
801
  "theme-background-default",
801
802
  "dark:theme-background-default-dark"
802
- ], bt = {
803
+ ], vt = {
803
804
  [y.Standard]: [
804
805
  // Box
805
806
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
@@ -812,7 +813,7 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
812
813
  // Box
813
814
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
814
815
  ]
815
- }, vt = G({
816
+ }, bt = G({
816
817
  name: "OrDataGridTablePlaceholder",
817
818
  props: {
818
819
  variant: {
@@ -827,7 +828,7 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
827
828
  const t = D(), r = n(() => [
828
829
  "or-data-grid-table-placeholder-v3",
829
830
  ...gt,
830
- ...bt[e.variant]
831
+ ...vt[e.variant]
831
832
  ]);
832
833
  return {
833
834
  root: t,
@@ -835,15 +836,15 @@ const pt = /* @__PURE__ */ T(mt, [["render", ft]]), gt = [
835
836
  };
836
837
  }
837
838
  });
838
- function ht(e, t, r, c, b, v) {
839
- return a(), f("div", {
839
+ function ht(e, t, r, c, v, b) {
840
+ return a(), g("div", {
840
841
  ref: "root",
841
842
  class: u(e.rootStyles)
842
843
  }, [
843
844
  s(e.$slots, "default")
844
845
  ], 2);
845
846
  }
846
- const yt = /* @__PURE__ */ T(vt, [["render", ht]]), kt = [
847
+ const yt = /* @__PURE__ */ T(bt, [["render", ht]]), kt = [
847
848
  // Layout
848
849
  "grid content-start",
849
850
  // Overflow
@@ -870,8 +871,8 @@ const yt = /* @__PURE__ */ T(vt, [["render", ht]]), kt = [
870
871
  "or-data-grid-table-v3",
871
872
  ...kt
872
873
  ]), c = n(() => {
873
- const b = e.columns.map((v) => v.width ?? "auto");
874
- return e.features.selecting ? { gridTemplateColumns: `0fr ${b.join(" ")}` } : { gridTemplateColumns: b.join(" ") };
874
+ const v = e.columns.map((b) => b.width ?? "auto");
875
+ return e.features.selecting ? { gridTemplateColumns: `0fr ${v.join(" ")}` } : { gridTemplateColumns: v.join(" ") };
875
876
  });
876
877
  return {
877
878
  root: t,
@@ -880,8 +881,8 @@ const yt = /* @__PURE__ */ T(vt, [["render", ht]]), kt = [
880
881
  };
881
882
  }
882
883
  });
883
- function $t(e, t, r, c, b, v) {
884
- return a(), f("div", {
884
+ function $t(e, t, r, c, v, b) {
885
+ return a(), g("div", {
885
886
  ref: "root",
886
887
  class: u(e.rootStyles),
887
888
  style: N(e.rootInlineStyles)
@@ -912,8 +913,8 @@ const Dt = /* @__PURE__ */ T(Ot, [["render", $t]]), wt = [
912
913
  };
913
914
  }
914
915
  });
915
- function Tt(e, t, r, c, b, v) {
916
- return a(), f("div", {
916
+ function Tt(e, t, r, c, v, b) {
917
+ return a(), g("div", {
917
918
  ref: "root",
918
919
  class: u(e.rootStyles)
919
920
  }, [
@@ -965,17 +966,17 @@ const St = /* @__PURE__ */ T(Gt, [["render", Tt]]), Ct = [
965
966
  };
966
967
  }
967
968
  });
968
- function Rt(e, t, r, c, b, v) {
969
+ function Rt(e, t, r, c, v, b) {
969
970
  const k = d("OrNotification");
970
- return a(), f("div", {
971
+ return a(), g("div", {
971
972
  class: u(e.rootStyles)
972
973
  }, [
973
974
  M(k, te(e.notification, {
974
975
  class: "rounded-0 shadow-none",
975
976
  onClose: t[0] || (t[0] = (O) => e.$emit("close-notification"))
976
977
  }), {
977
- default: p(() => [
978
- e.$slots.notification ? s(e.$slots, "notification", { key: 0 }) : g("", !0)
978
+ default: m(() => [
979
+ e.$slots.notification ? s(e.$slots, "notification", { key: 0 }) : p("", !0)
979
980
  ]),
980
981
  _: 3
981
982
  }, 16)
@@ -1030,8 +1031,8 @@ const It = /* @__PURE__ */ T(Mt, [["render", Rt]]), Ft = [
1030
1031
  };
1031
1032
  }
1032
1033
  });
1033
- function jt(e, t, r, c, b, v) {
1034
- return a(), f("div", {
1034
+ function jt(e, t, r, c, v, b) {
1035
+ return a(), g("div", {
1035
1036
  ref: "root",
1036
1037
  class: u(e.rootStyles)
1037
1038
  }, [
@@ -1048,7 +1049,7 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1048
1049
  OrDataGridFooter: ke,
1049
1050
  OrDataGridHeader: Te,
1050
1051
  OrDataGridTable: Dt,
1051
- OrDataGridTableContent: Le,
1052
+ OrDataGridTableContent: Ae,
1052
1053
  OrDataGridTableContentCell: Re,
1053
1054
  OrDataGridTableContentRow: Ee,
1054
1055
  OrDataGridTableFooter: et,
@@ -1117,10 +1118,10 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1117
1118
  "root"
1118
1119
  ],
1119
1120
  setup(e, t) {
1120
- const r = D(), c = D(), b = n(() => [
1121
+ const r = D(), c = D(), v = n(() => [
1121
1122
  "or-data-grid-v3",
1122
1123
  ...Ut
1123
- ]), v = n(() => ({
1124
+ ]), b = n(() => ({
1124
1125
  scrollPaddingInlineStart: `${[...C.value.values()].reduce((o, l) => o + l, 0)}px`,
1125
1126
  scrollPaddingInlineEnd: `${[...V.value.values()].reduce((o, l) => o + l, 0)}px`
1126
1127
  })), k = n({
@@ -1235,24 +1236,24 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1235
1236
  function q(o) {
1236
1237
  e.interactiveRows && t.emit("hover:row", o);
1237
1238
  }
1238
- function L(o) {
1239
+ function A(o) {
1239
1240
  e.interactiveRows && t.emit("blur:row", o);
1240
1241
  }
1241
- function B(o, l, R) {
1242
+ function L(o, l, R) {
1242
1243
  e.interactiveRows && t.emit("hover:cell", {
1243
1244
  item: o,
1244
1245
  columnName: l,
1245
1246
  value: R
1246
1247
  });
1247
1248
  }
1248
- function z(o, l, R) {
1249
+ function B(o, l, R) {
1249
1250
  e.interactiveRows && t.emit("blur:cell", {
1250
1251
  item: o,
1251
1252
  columnName: l,
1252
1253
  value: R
1253
1254
  });
1254
1255
  }
1255
- function A(o) {
1256
+ function z(o) {
1256
1257
  e.interactiveRows && t.emit("click:row", o);
1257
1258
  }
1258
1259
  function U(o) {
@@ -1263,18 +1264,18 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1263
1264
  }
1264
1265
  return {
1265
1266
  root: r,
1266
- rootStyles: b,
1267
+ rootStyles: v,
1267
1268
  pagination: c,
1268
- tableInlineStyles: v,
1269
+ tableInlineStyles: b,
1269
1270
  selectingIndicator: k,
1270
1271
  showSelectingCouter: I,
1271
1272
  selectingDisabled: h,
1272
1273
  skeletonsLength: F,
1273
1274
  handleMouseEnterRow: q,
1274
- handleMouseLeaveRow: L,
1275
- handleMouseEnterCell: B,
1276
- handleMouseLeaveCell: z,
1277
- handleRowClick: A,
1275
+ handleMouseLeaveRow: A,
1276
+ handleMouseEnterCell: L,
1277
+ handleMouseLeaveCell: B,
1278
+ handleRowClick: z,
1278
1279
  selectingModel: O,
1279
1280
  filteringModel: $,
1280
1281
  searchingModel: i,
@@ -1290,26 +1291,26 @@ const Et = /* @__PURE__ */ T(Pt, [["render", jt]]), Ut = [
1290
1291
  };
1291
1292
  }
1292
1293
  });
1293
- function qt(e, t, r, c, b, v) {
1294
- 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"), L = d("OrDataGridTable"), B = d("OrDataGridTableFooterCell"), z = d("OrDataGridTableFooterRow"), A = d("OrDataGridTableFooter"), U = d("OrPagination"), J = d("OrDataGridFooter");
1295
- return a(), f("div", {
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", {
1296
1297
  ref: "root",
1297
1298
  class: u(e.rootStyles)
1298
1299
  }, [
1299
- e.$slots.title || e.features.searching || e.$slots.search ? (a(), m(O, {
1300
+ e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (a(), f(O, {
1300
1301
  key: 0,
1301
1302
  class: u(["shrink-0"])
1302
1303
  }, K({ _: 2 }, [
1303
1304
  e.$slots.title ? {
1304
1305
  name: "title",
1305
- fn: p(() => [
1306
+ fn: m(() => [
1306
1307
  s(e.$slots, "title")
1307
1308
  ]),
1308
1309
  key: "0"
1309
1310
  } : void 0,
1310
1311
  e.features.searching ? {
1311
1312
  name: "searching",
1312
- fn: p(() => [
1313
+ fn: m(() => [
1313
1314
  s(e.$slots, "search", oe(ae({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1314
1315
  M(k, {
1315
1316
  modelValue: e.searchingModel,
@@ -1318,36 +1319,43 @@ function qt(e, t, r, c, b, v) {
1318
1319
  ])
1319
1320
  ]),
1320
1321
  key: "1"
1322
+ } : void 0,
1323
+ e.$slots.extraActions ? {
1324
+ name: "extraActions",
1325
+ fn: m(() => [
1326
+ s(e.$slots, "extraActions")
1327
+ ]),
1328
+ key: "2"
1321
1329
  } : void 0
1322
- ]), 1024)) : g("", !0),
1323
- e.$slots.toolbar ? (a(), m($, {
1330
+ ]), 1024)) : p("", !0),
1331
+ e.$slots.toolbar ? (a(), f($, {
1324
1332
  key: 1,
1325
1333
  class: u(["shrink-0"])
1326
1334
  }, {
1327
- default: p(() => [
1335
+ default: m(() => [
1328
1336
  s(e.$slots, "toolbar")
1329
1337
  ]),
1330
1338
  _: 3
1331
- })) : g("", !0),
1332
- M(L, {
1339
+ })) : p("", !0),
1340
+ M(A, {
1333
1341
  class: u(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1334
1342
  style: N(e.tableInlineStyles),
1335
1343
  columns: e.columns,
1336
1344
  features: e.features
1337
1345
  }, {
1338
- default: p(() => [
1346
+ default: m(() => [
1339
1347
  M(C, null, {
1340
- default: p(() => [
1348
+ default: m(() => [
1341
1349
  M(S, { variant: e.variant }, {
1342
- default: p(() => [
1343
- e.features.selecting ? (a(), m(w, {
1350
+ default: m(() => [
1351
+ e.features.selecting ? (a(), f(w, {
1344
1352
  key: 0,
1345
1353
  column: { stickiness: "start" },
1346
1354
  class: "!py-xs !px-xs md:!py-none md:!px-sm+",
1347
1355
  "onUpdate:scrollOffset": e.updateScrollOffset,
1348
1356
  "onRemove:scrollOffset": e.removeScrollOffset
1349
1357
  }, {
1350
- default: p(() => [
1358
+ default: m(() => [
1351
1359
  M(i, {
1352
1360
  modelValue: e.selectingIndicator,
1353
1361
  "onUpdate:modelValue": t[1] || (t[1] = (o) => e.selectingIndicator = o),
@@ -1356,8 +1364,8 @@ function qt(e, t, r, c, b, v) {
1356
1364
  }, null, 8, ["modelValue", "indeterminate", "disabled"])
1357
1365
  ]),
1358
1366
  _: 1
1359
- }, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) : g("", !0),
1360
- (a(!0), f(H, null, P(e.columns, (o) => (a(), m(w, {
1367
+ }, 8, ["onUpdate:scrollOffset", "onRemove:scrollOffset"])) : p("", !0),
1368
+ (a(!0), g(H, null, P(e.columns, (o) => (a(), f(w, {
1361
1369
  key: o.name,
1362
1370
  modelValue: e.sortingModel,
1363
1371
  "onUpdate:modelValue": t[2] || (t[2] = (l) => e.sortingModel = l),
@@ -1366,7 +1374,7 @@ function qt(e, t, r, c, b, v) {
1366
1374
  "onUpdate:scrollOffset": e.updateScrollOffset,
1367
1375
  "onRemove:scrollOffset": e.removeScrollOffset
1368
1376
  }, {
1369
- default: p(() => [
1377
+ default: m(() => [
1370
1378
  Q(W(o.label), 1)
1371
1379
  ]),
1372
1380
  _: 2
@@ -1377,7 +1385,7 @@ function qt(e, t, r, c, b, v) {
1377
1385
  ]),
1378
1386
  _: 1
1379
1387
  }),
1380
- e.notification ? (a(), m(V, {
1388
+ e.notification ? (a(), f(V, {
1381
1389
  key: 0,
1382
1390
  notification: e.notification,
1383
1391
  variant: e.variant,
@@ -1385,47 +1393,47 @@ function qt(e, t, r, c, b, v) {
1385
1393
  }, K({ _: 2 }, [
1386
1394
  e.$slots.notification ? {
1387
1395
  name: "notification",
1388
- fn: p(() => [
1396
+ fn: m(() => [
1389
1397
  s(e.$slots, "notification")
1390
1398
  ]),
1391
1399
  key: "0"
1392
1400
  } : void 0
1393
- ]), 1032, ["notification", "variant"])) : g("", !0),
1401
+ ]), 1032, ["notification", "variant"])) : p("", !0),
1394
1402
  M(q, null, {
1395
- default: p(() => [
1396
- e.$slots["before-rows"] ? (a(), m(I, {
1403
+ default: m(() => [
1404
+ e.$slots["before-rows"] ? (a(), f(I, {
1397
1405
  key: 0,
1398
1406
  variant: e.variant,
1399
1407
  class: "border-b-1"
1400
1408
  }, {
1401
- default: p(() => [
1409
+ default: m(() => [
1402
1410
  s(e.$slots, "before-rows")
1403
1411
  ]),
1404
1412
  _: 3
1405
- }, 8, ["variant"])) : g("", !0),
1406
- e.loading ? (a(!0), f(H, { key: 1 }, P(e.skeletonsLength, (o) => (a(), m(j, {
1413
+ }, 8, ["variant"])) : p("", !0),
1414
+ e.loading ? (a(!0), g(H, { key: 1 }, P(e.skeletonsLength, (o) => (a(), f(j, {
1407
1415
  key: o,
1408
1416
  variant: e.variant,
1409
1417
  interactive: e.interactiveRows
1410
1418
  }, {
1411
- default: p(() => [
1412
- e.features.selecting ? (a(), m(F, {
1419
+ default: m(() => [
1420
+ e.features.selecting ? (a(), f(F, {
1413
1421
  key: 0,
1414
1422
  column: { stickiness: "start" },
1415
1423
  override: !0
1416
1424
  }, {
1417
- default: p(() => [
1425
+ default: m(() => [
1418
1426
  M(h)
1419
1427
  ]),
1420
1428
  _: 1
1421
- })) : g("", !0),
1422
- (a(!0), f(H, null, P(e.columns, (l) => (a(), m(F, {
1429
+ })) : p("", !0),
1430
+ (a(!0), g(H, null, P(e.columns, (l) => (a(), f(F, {
1423
1431
  key: l.name,
1424
1432
  column: l,
1425
1433
  features: e.features,
1426
1434
  override: !0
1427
1435
  }, {
1428
- default: p(() => [
1436
+ default: m(() => [
1429
1437
  s(e.$slots, "column-loading", { column: l }, () => [
1430
1438
  M(h)
1431
1439
  ])
@@ -1434,7 +1442,7 @@ function qt(e, t, r, c, b, v) {
1434
1442
  }, 1032, ["column", "features"]))), 128))
1435
1443
  ]),
1436
1444
  _: 2
1437
- }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (a(!0), f(H, { key: 2 }, P(e.items, (o) => (a(), m(j, {
1445
+ }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (a(!0), g(H, { key: 2 }, P(e.items, (o) => (a(), f(j, {
1438
1446
  key: o.id,
1439
1447
  variant: e.variant,
1440
1448
  selected: e.selectingModel.includes(o.id),
@@ -1443,8 +1451,8 @@ function qt(e, t, r, c, b, v) {
1443
1451
  onMouseleave: () => e.handleMouseLeaveRow(o),
1444
1452
  onClick: () => e.handleRowClick(o)
1445
1453
  }, {
1446
- default: p(() => [
1447
- e.features.selecting ? (a(), m(F, {
1454
+ default: m(() => [
1455
+ e.features.selecting ? (a(), f(F, {
1448
1456
  key: 0,
1449
1457
  column: { stickiness: "start" },
1450
1458
  "force-state": "none",
@@ -1452,7 +1460,7 @@ function qt(e, t, r, c, b, v) {
1452
1460
  onMouseenter: () => e.handleMouseEnterCell(o, "selecting", e.selectingModel.includes(o.id)),
1453
1461
  onMouseleave: () => e.handleMouseLeaveCell(o, "selecting", e.selectingModel.includes(o.id))
1454
1462
  }, {
1455
- default: p(() => [
1463
+ default: m(() => [
1456
1464
  M(i, {
1457
1465
  modelValue: e.selectingModel,
1458
1466
  "onUpdate:modelValue": t[4] || (t[4] = (l) => e.selectingModel = l),
@@ -1461,8 +1469,8 @@ function qt(e, t, r, c, b, v) {
1461
1469
  }, null, 8, ["modelValue", "value", "disabled"])
1462
1470
  ]),
1463
1471
  _: 2
1464
- }, 1032, ["onMouseenter", "onMouseleave"])) : g("", !0),
1465
- (a(!0), f(H, null, P(e.columns, (l) => (a(), m(F, {
1472
+ }, 1032, ["onMouseenter", "onMouseleave"])) : p("", !0),
1473
+ (a(!0), g(H, null, P(e.columns, (l) => (a(), f(F, {
1466
1474
  key: l.name,
1467
1475
  "model-value": o[l.name],
1468
1476
  column: l,
@@ -1472,7 +1480,7 @@ function qt(e, t, r, c, b, v) {
1472
1480
  onMouseenter: () => e.handleMouseEnterCell(o, l.name, o[l.name]),
1473
1481
  onMouseleave: () => e.handleMouseLeaveCell(o, l.name, o[l.name])
1474
1482
  }, {
1475
- default: p(() => [
1483
+ default: m(() => [
1476
1484
  s(e.$slots, l.name, {
1477
1485
  column: l,
1478
1486
  item: o
@@ -1484,52 +1492,52 @@ function qt(e, t, r, c, b, v) {
1484
1492
  }, 1032, ["model-value", "column", "features", "onInput", "onMouseenter", "onMouseleave"]))), 128))
1485
1493
  ]),
1486
1494
  _: 2
1487
- }, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (a(), m(E, {
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, {
1488
1496
  key: 3,
1489
1497
  class: u(["col-span-full"]),
1490
1498
  variant: e.variant
1491
1499
  }, {
1492
- default: p(() => [
1500
+ default: m(() => [
1493
1501
  s(e.$slots, "noSearchResults", {
1494
1502
  filter: e.filteringModel,
1495
1503
  search: e.searchingModel
1496
1504
  })
1497
1505
  ]),
1498
1506
  _: 3
1499
- }, 8, ["variant"])) : e.$slots.empty ? (a(), m(E, {
1507
+ }, 8, ["variant"])) : e.$slots.empty ? (a(), f(E, {
1500
1508
  key: 4,
1501
1509
  class: u(["col-span-full"]),
1502
1510
  variant: e.variant
1503
1511
  }, {
1504
- default: p(() => [
1512
+ default: m(() => [
1505
1513
  s(e.$slots, "empty")
1506
1514
  ]),
1507
1515
  _: 3
1508
- }, 8, ["variant"])) : g("", !0),
1509
- e.$slots["after-rows"] ? (a(), m(I, {
1516
+ }, 8, ["variant"])) : p("", !0),
1517
+ e.$slots["after-rows"] ? (a(), f(I, {
1510
1518
  key: 5,
1511
1519
  variant: e.variant
1512
1520
  }, {
1513
- default: p(() => [
1521
+ default: m(() => [
1514
1522
  s(e.$slots, "after-rows")
1515
1523
  ]),
1516
1524
  _: 3
1517
- }, 8, ["variant"])) : g("", !0)
1525
+ }, 8, ["variant"])) : p("", !0)
1518
1526
  ]),
1519
1527
  _: 3
1520
1528
  })
1521
1529
  ]),
1522
1530
  _: 3
1523
1531
  }, 8, ["class", "style", "columns", "features"]),
1524
- e.$slots["extra-row"] ? (a(), m(A, { key: 2 }, {
1525
- default: p(() => [
1526
- M(z, {
1532
+ e.$slots["extra-row"] ? (a(), f(z, { key: 2 }, {
1533
+ default: m(() => [
1534
+ M(B, {
1527
1535
  class: u(["shrink-0"]),
1528
1536
  variant: e.variant
1529
1537
  }, {
1530
- default: p(() => [
1531
- M(B, null, {
1532
- default: p(() => [
1538
+ default: m(() => [
1539
+ M(L, null, {
1540
+ default: m(() => [
1533
1541
  s(e.$slots, "extra-row")
1534
1542
  ]),
1535
1543
  _: 3
@@ -1539,28 +1547,28 @@ function qt(e, t, r, c, b, v) {
1539
1547
  }, 8, ["variant"])
1540
1548
  ]),
1541
1549
  _: 3
1542
- })) : g("", !0),
1543
- e.$slots.actions || e.showSelectingCouter || e.features.paging ? (a(), m(J, {
1550
+ })) : p("", !0),
1551
+ e.$slots.actions || e.showSelectingCouter || e.features.paging ? (a(), f(J, {
1544
1552
  key: 3,
1545
1553
  class: u(["shrink-0"])
1546
1554
  }, K({ _: 2 }, [
1547
1555
  e.features.selecting && e.selectingModel.length > 0 ? {
1548
1556
  name: "status",
1549
- fn: p(() => [
1557
+ fn: m(() => [
1550
1558
  Q(W(e.selectingModel.length) + " row(s) selected ", 1)
1551
1559
  ]),
1552
1560
  key: "0"
1553
1561
  } : void 0,
1554
1562
  e.$slots.actions ? {
1555
1563
  name: "actions",
1556
- fn: p(() => [
1564
+ fn: m(() => [
1557
1565
  s(e.$slots, "actions")
1558
1566
  ]),
1559
1567
  key: "1"
1560
1568
  } : void 0,
1561
1569
  e.features.paging ? {
1562
1570
  name: "paging",
1563
- fn: p(() => [
1571
+ fn: m(() => [
1564
1572
  M(U, {
1565
1573
  ref: "pagination",
1566
1574
  modelValue: e.pagingModel,
@@ -1571,7 +1579,7 @@ function qt(e, t, r, c, b, v) {
1571
1579
  ]),
1572
1580
  key: "2"
1573
1581
  } : void 0
1574
- ]), 1024)) : g("", !0)
1582
+ ]), 1024)) : p("", !0)
1575
1583
  ], 2);
1576
1584
  }
1577
1585
  const lo = /* @__PURE__ */ T(Nt, [["render", qt]]);
@@ -1582,7 +1590,7 @@ export {
1582
1590
  Te as b,
1583
1591
  Re as c,
1584
1592
  Ee as d,
1585
- Le as e,
1593
+ Ae as e,
1586
1594
  Je as f,
1587
1595
  Ye as g,
1588
1596
  et as h,
@@ -1595,4 +1603,4 @@ export {
1595
1603
  It as o,
1596
1604
  Et as p
1597
1605
  };
1598
- //# sourceMappingURL=OrDataGrid-BAfTYVHn.mjs.map
1606
+ //# sourceMappingURL=OrDataGrid-DilQSW6Y.mjs.map