@onereach/ui-components 26.4.1-beta.5881.0 → 26.4.1-beta.5883.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 ne } from "./OrCheckbox-WPBzlvaV.mjs";
2
2
  import { O as ce } from "./OrPagination-BXzDa-Su.mjs";
3
3
  import { O as ue } from "./OrSearch-CRFuNmg2.mjs";
4
4
  import { O as me } from "./OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs";
5
- import { defineComponent as M, ref as D, computed as o, openBlock as r, createElementBlock as p, normalizeClass as c, renderSlot as d, createCommentVNode as h, resolveComponent as f, normalizeStyle as A, createBlock as y, watch as se, createElementVNode as fe, withModifiers as oe, createVNode as W, mergeProps as ge, withCtx as k, onMounted as he, createSlots as Z, normalizeProps as pe, guardReactiveProps as ve, Fragment as Q, renderList as Y, createTextVNode as _, toDisplayString as x } from "vue";
5
+ import { defineComponent as M, ref as D, computed as o, openBlock as r, createElementBlock as p, normalizeClass as u, renderSlot as c, createCommentVNode as h, resolveComponent as f, normalizeStyle as A, createBlock as y, watch as se, createElementVNode as fe, withModifiers as oe, createVNode as E, mergeProps as ge, withCtx as k, onMounted as he, createSlots as Z, normalizeProps as pe, guardReactiveProps as ve, Fragment as Q, renderList as Y, createTextVNode as _, toDisplayString as x } from "vue";
6
6
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
7
  import { O as ke } from "./OrDatePicker-D-Do0tSf.mjs";
8
8
  import { O as ye } from "./OrDateTimePicker-myqJkQxy.mjs";
@@ -15,8 +15,8 @@ import { O as we } from "./OrSwitch-BtoXDsZx.mjs";
15
15
  import { O as De } from "./OrTagInput-B2U22gXE.mjs";
16
16
  import { O as Se } from "./OrTimePicker-QPUb8olp.mjs";
17
17
  import { O as Te } from "./OrIcon-k8cyvh-D.mjs";
18
- import { useElementSize as Ge } from "@vueuse/core";
19
- import { O as Ce } from "./OrNotification-BkjmRseb.mjs";
18
+ import { useElementSize as Ce } from "@vueuse/core";
19
+ import { O as Ge } from "./OrNotification-BkjmRseb.mjs";
20
20
  const Ve = [
21
21
  // Layout
22
22
  "layout-row",
@@ -54,35 +54,35 @@ const Ve = [
54
54
  }
55
55
  }), Ie = {
56
56
  key: 1,
57
- class: /* @__PURE__ */ c(["grow"])
57
+ class: /* @__PURE__ */ u(["grow"])
58
58
  };
59
- function ze(e, t, n, v, g, u) {
59
+ function ze(e, t, n, v, g, l) {
60
60
  return r(), p("div", {
61
61
  ref: "root",
62
- class: c(e.rootStyles)
62
+ class: u(e.rootStyles)
63
63
  }, [
64
64
  e.$slots.status ? (r(), p("div", {
65
65
  key: 0,
66
- class: c(e.statusStyles)
66
+ class: u(e.statusStyles)
67
67
  }, [
68
- d(e.$slots, "status")
68
+ c(e.$slots, "status")
69
69
  ], 2)) : h("", !0),
70
- d(e.$slots, "actions"),
70
+ c(e.$slots, "actions"),
71
71
  e.$slots.paging ? (r(), p("div", Ie)) : h("", !0),
72
- d(e.$slots, "paging")
72
+ c(e.$slots, "paging")
73
73
  ], 2);
74
74
  }
75
- const He = /* @__PURE__ */ R(Re, [["render", ze]]), Ee = [
75
+ const He = /* @__PURE__ */ R(Re, [["render", ze]]), Fe = [
76
76
  // Layout
77
77
  "layout-row items-start gap-md",
78
78
  // Interactivity
79
79
  "interactivity-default",
80
80
  // Box
81
81
  "h-3xl"
82
- ], Fe = [
82
+ ], We = [
83
83
  // Typography
84
84
  "typography-headline-2"
85
- ], We = M({
85
+ ], Ee = M({
86
86
  name: "OrDataGridHeader",
87
87
  expose: [
88
88
  "root"
@@ -90,9 +90,9 @@ const He = /* @__PURE__ */ R(Re, [["render", ze]]), Ee = [
90
90
  setup() {
91
91
  const e = D(), t = o(() => [
92
92
  "or-data-grid-header-v3",
93
- ...Ee
94
- ]), n = o(() => [
95
93
  ...Fe
94
+ ]), n = o(() => [
95
+ ...We
96
96
  ]);
97
97
  return {
98
98
  root: e,
@@ -102,25 +102,25 @@ const He = /* @__PURE__ */ R(Re, [["render", ze]]), Ee = [
102
102
  }
103
103
  }), Pe = {
104
104
  key: 1,
105
- class: /* @__PURE__ */ c(["grow"])
105
+ class: /* @__PURE__ */ u(["grow"])
106
106
  };
107
- function Ne(e, t, n, v, g, u) {
107
+ function Ne(e, t, n, v, g, l) {
108
108
  return r(), p("div", {
109
109
  ref: "root",
110
- class: c(e.rootStyles)
110
+ class: u(e.rootStyles)
111
111
  }, [
112
112
  e.$slots.title ? (r(), p("div", {
113
113
  key: 0,
114
- class: c(e.titleStyles)
114
+ class: u(e.titleStyles)
115
115
  }, [
116
- d(e.$slots, "title")
116
+ c(e.$slots, "title")
117
117
  ], 2)) : h("", !0),
118
118
  e.$slots.searching || e.$slots.extraActions ? (r(), p("div", Pe)) : h("", !0),
119
- d(e.$slots, "searching"),
120
- e.$slots.extraActions ? d(e.$slots, "extraActions", { key: 2 }) : h("", !0)
119
+ c(e.$slots, "searching"),
120
+ e.$slots.extraActions ? c(e.$slots, "extraActions", { key: 2 }) : h("", !0)
121
121
  ], 2);
122
122
  }
123
- const je = /* @__PURE__ */ R(We, [["render", Ne]]);
123
+ const je = /* @__PURE__ */ R(Ee, [["render", Ne]]);
124
124
  var b = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(b || {});
125
125
  const K = "52px", Ue = [
126
126
  // Layout
@@ -213,12 +213,12 @@ const K = "52px", Ue = [
213
213
  ],
214
214
  setup(e, t) {
215
215
  const n = D(), v = o(() => {
216
- var O, G, I, C;
216
+ var O, C, I, G;
217
217
  return [
218
218
  "or-data-grid-table-content-cell-v3",
219
219
  ...Ue,
220
- ...(O = e.column) != null && O.stickiness ? [`sticky-${e.column.stickiness}`, "overflow-hidden"] : [],
221
- ...(G = e.features) != null && G.resizing && ((I = e.column) != null && I.name) && ((C = e.column) == null ? void 0 : C.resizing) !== !1 ? ["resizable"] : []
220
+ ...(O = e.column) != null && O.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
221
+ ...(C = e.features) != null && C.resizing && ((I = e.column) != null && I.name) && ((G = e.column) == null ? void 0 : G.resizing) !== !1 ? ["resizable"] : []
222
222
  ];
223
223
  }), g = o(() => {
224
224
  if (e.column)
@@ -248,16 +248,16 @@ const K = "52px", Ue = [
248
248
  return {
249
249
  justifyContent: "center"
250
250
  };
251
- }), u = o(() => {
252
- var C, i, w, s, E;
253
- const O = ((C = e.column) == null ? void 0 : C.wrapping) ?? (e.variant === b.Dynamic && !((i = e.column) != null && i.control)), G = !!((w = e.column) != null && w.stickiness), I = ((E = (s = e.column) == null ? void 0 : s.control) == null ? void 0 : E.type) === "tags";
251
+ }), l = o(() => {
252
+ var G, d, w, s, F;
253
+ const O = ((G = e.column) == null ? void 0 : G.wrapping) ?? (e.variant === b.Dynamic && !((d = e.column) != null && d.control)), C = ((s = (w = e.column) == null ? void 0 : w.control) == null ? void 0 : s.type) === "tags", I = (F = e.column) == null ? void 0 : F.fitContent;
254
254
  return [
255
255
  "layout-row items-center w-full min-w-0",
256
- ...G || I ? ["overflow-hidden"] : [],
256
+ ...C ? ["overflow-hidden"] : [],
257
257
  ...Le.filter((P) => P !== "truncate"),
258
- ...O ? ["whitespace-pre-wrap break-words"] : ["truncate"]
258
+ ...O ? ["whitespace-pre-wrap break-words"] : I ? ["overflow-hidden"] : ["truncate"]
259
259
  ];
260
- }), T = o(() => ({
260
+ }), S = o(() => ({
261
261
  minWidth: e.column && e.column.minWidth || K,
262
262
  maxWidth: e.column && e.column.maxWidth
263
263
  })), H = o({
@@ -265,7 +265,7 @@ const K = "52px", Ue = [
265
265
  set: (O) => {
266
266
  t.emit("input", O);
267
267
  }
268
- }), S = o(() => {
268
+ }), T = o(() => {
269
269
  var O;
270
270
  return (O = e.column) == null ? void 0 : O.control;
271
271
  });
@@ -273,34 +273,34 @@ const K = "52px", Ue = [
273
273
  root: n,
274
274
  rootStyles: v,
275
275
  rootInlineStyles: g,
276
- contentStyles: u,
277
- contentInlineStyles: T,
276
+ contentStyles: l,
277
+ contentInlineStyles: S,
278
278
  model: H,
279
- control: S,
279
+ control: T,
280
280
  DATA_GRID_DEFAULT_MIN_WIDTH: K
281
281
  };
282
282
  }
283
283
  });
284
- function qe(e, t, n, v, g, u) {
285
- const T = f("OrInput"), H = f("OrRating"), S = f("OrSelect"), O = f("OrCheckbox"), G = f("OrSwitch"), I = f("OrDatePicker"), C = f("OrTimePicker"), i = f("OrDateTimePicker"), w = f("OrTagInput");
284
+ function qe(e, t, n, v, g, l) {
285
+ const S = f("OrInput"), H = f("OrRating"), T = f("OrSelect"), O = f("OrCheckbox"), C = f("OrSwitch"), I = f("OrDatePicker"), G = f("OrTimePicker"), d = f("OrDateTimePicker"), w = f("OrTagInput");
286
286
  return r(), p("div", {
287
287
  ref: "root",
288
- class: c(e.rootStyles),
288
+ class: u(e.rootStyles),
289
289
  style: A(e.rootInlineStyles)
290
290
  }, [
291
- e.override ? d(e.$slots, "default", { key: 0 }) : e.control ? (r(), p("div", {
291
+ e.override ? c(e.$slots, "default", { key: 0 }) : e.control ? (r(), p("div", {
292
292
  key: 1,
293
- class: c(e.contentStyles),
293
+ class: u(e.contentStyles),
294
294
  style: A(e.contentInlineStyles)
295
295
  }, [
296
- e.control.type === "text" ? (r(), y(T, {
296
+ e.control.type === "text" ? (r(), y(S, {
297
297
  key: 0,
298
298
  modelValue: e.model,
299
299
  "onUpdate:modelValue": t[0] || (t[0] = (s) => e.model = s),
300
300
  type: "text",
301
301
  variant: "embedded"
302
302
  }, null, 8, ["modelValue"])) : h("", !0),
303
- e.control.type === "number" ? (r(), y(T, {
303
+ e.control.type === "number" ? (r(), y(S, {
304
304
  key: 1,
305
305
  modelValue: e.model,
306
306
  "onUpdate:modelValue": t[1] || (t[1] = (s) => e.model = s),
@@ -312,7 +312,7 @@ function qe(e, t, n, v, g, u) {
312
312
  modelValue: e.model,
313
313
  "onUpdate:modelValue": t[2] || (t[2] = (s) => e.model = s)
314
314
  }, null, 8, ["modelValue"])) : h("", !0),
315
- e.control.type === "select" ? (r(), y(S, {
315
+ e.control.type === "select" ? (r(), y(T, {
316
316
  key: 3,
317
317
  modelValue: e.model,
318
318
  "onUpdate:modelValue": t[3] || (t[3] = (s) => e.model = s),
@@ -325,7 +325,7 @@ function qe(e, t, n, v, g, u) {
325
325
  modelValue: e.model,
326
326
  "onUpdate:modelValue": t[4] || (t[4] = (s) => e.model = s)
327
327
  }, null, 8, ["modelValue"])) : h("", !0),
328
- e.control.type === "switch" ? (r(), y(G, {
328
+ e.control.type === "switch" ? (r(), y(C, {
329
329
  key: 5,
330
330
  modelValue: e.model,
331
331
  "onUpdate:modelValue": t[5] || (t[5] = (s) => e.model = s)
@@ -337,14 +337,14 @@ function qe(e, t, n, v, g, u) {
337
337
  variant: "embedded",
338
338
  anchor: e.root
339
339
  }, null, 8, ["modelValue", "anchor"])) : h("", !0),
340
- e.control.type === "time" ? (r(), y(C, {
340
+ e.control.type === "time" ? (r(), y(G, {
341
341
  key: 7,
342
342
  modelValue: e.model,
343
343
  "onUpdate:modelValue": t[7] || (t[7] = (s) => e.model = s),
344
344
  variant: "embedded",
345
345
  anchor: e.root
346
346
  }, null, 8, ["modelValue", "anchor"])) : h("", !0),
347
- e.control.type === "datetime" ? (r(), y(i, {
347
+ e.control.type === "datetime" ? (r(), y(d, {
348
348
  key: 8,
349
349
  modelValue: e.model,
350
350
  "onUpdate:modelValue": t[8] || (t[8] = (s) => e.model = s),
@@ -356,14 +356,14 @@ function qe(e, t, n, v, g, u) {
356
356
  modelValue: e.model,
357
357
  "onUpdate:modelValue": t[9] || (t[9] = (s) => e.model = s),
358
358
  variant: "embedded",
359
- class: c(["grow min-w-0"])
359
+ class: u(["grow min-w-0"])
360
360
  }, null, 8, ["modelValue"])) : h("", !0)
361
361
  ], 6)) : (r(), p("div", {
362
362
  key: 2,
363
- class: c(e.contentStyles),
363
+ class: u(e.contentStyles),
364
364
  style: A(e.contentInlineStyles)
365
365
  }, [
366
- d(e.$slots, "default")
366
+ c(e.$slots, "default")
367
367
  ], 6))
368
368
  ], 6);
369
369
  }
@@ -440,13 +440,13 @@ const Be = /* @__PURE__ */ R(Ae, [["render", qe]]), Ke = [
440
440
  };
441
441
  }
442
442
  }), Qe = ["selected"];
443
- function Ye(e, t, n, v, g, u) {
443
+ function Ye(e, t, n, v, g, l) {
444
444
  return r(), p("div", {
445
445
  ref: "root",
446
- class: c(e.rootStyles),
446
+ class: u(e.rootStyles),
447
447
  selected: e.selected
448
448
  }, [
449
- d(e.$slots, "default")
449
+ c(e.$slots, "default")
450
450
  ], 10, Qe);
451
451
  }
452
452
  const Ze = /* @__PURE__ */ R(Je, [["render", Ye]]), _e = [
@@ -468,12 +468,12 @@ const Ze = /* @__PURE__ */ R(Je, [["render", Ye]]), _e = [
468
468
  };
469
469
  }
470
470
  });
471
- function et(e, t, n, v, g, u) {
471
+ function et(e, t, n, v, g, l) {
472
472
  return r(), p("div", {
473
473
  ref: "root",
474
- class: c(e.rootStyles)
474
+ class: u(e.rootStyles)
475
475
  }, [
476
- d(e.$slots, "default")
476
+ c(e.$slots, "default")
477
477
  ], 2);
478
478
  }
479
479
  const tt = /* @__PURE__ */ R(xe, [["render", et]]), at = [
@@ -502,12 +502,12 @@ const tt = /* @__PURE__ */ R(xe, [["render", et]]), at = [
502
502
  };
503
503
  }
504
504
  });
505
- function ot(e, t, n, v, g, u) {
505
+ function ot(e, t, n, v, g, l) {
506
506
  return r(), p("div", {
507
507
  ref: "root",
508
- class: c(e.rootStyles)
508
+ class: u(e.rootStyles)
509
509
  }, [
510
- d(e.$slots, "default")
510
+ c(e.$slots, "default")
511
511
  ], 2);
512
512
  }
513
513
  const nt = /* @__PURE__ */ R(rt, [["render", ot]]), st = [
@@ -563,12 +563,12 @@ const nt = /* @__PURE__ */ R(rt, [["render", ot]]), st = [
563
563
  };
564
564
  }
565
565
  });
566
- function dt(e, t, n, v, g, u) {
566
+ function dt(e, t, n, v, g, l) {
567
567
  return r(), p("div", {
568
568
  ref: "root",
569
- class: c(e.rootStyles)
569
+ class: u(e.rootStyles)
570
570
  }, [
571
- d(e.$slots, "default")
571
+ c(e.$slots, "default")
572
572
  ], 2);
573
573
  }
574
574
  const ct = /* @__PURE__ */ R(it, [["render", dt]]), ut = [
@@ -590,12 +590,12 @@ const ct = /* @__PURE__ */ R(it, [["render", dt]]), ut = [
590
590
  };
591
591
  }
592
592
  });
593
- function ft(e, t, n, v, g, u) {
593
+ function ft(e, t, n, v, g, l) {
594
594
  return r(), p("div", {
595
595
  ref: "root",
596
- class: c(e.rootStyles)
596
+ class: u(e.rootStyles)
597
597
  }, [
598
- d(e.$slots, "default")
598
+ c(e.$slots, "default")
599
599
  ], 2);
600
600
  }
601
601
  const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
@@ -670,31 +670,32 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
670
670
  ],
671
671
  setup(e, t) {
672
672
  const n = D(), v = o(() => {
673
- var i, w, s;
674
- return !!((i = e.features) != null && i.sorting) && !!((w = e.column) != null && w.name) && ((s = e.column) == null ? void 0 : s.sorting) !== !1;
673
+ var d, w, s;
674
+ return !!((d = e.features) != null && d.sorting) && !!((w = e.column) != null && w.name) && ((s = e.column) == null ? void 0 : s.sorting) !== !1;
675
675
  }), g = o(() => {
676
- var i, w, s;
677
- return !!((i = e.features) != null && i.resizing) && !!((w = e.column) != null && w.name) && ((s = e.column) == null ? void 0 : s.resizing) !== !1;
678
- }), u = o(() => {
679
- var i;
676
+ var d, w, s;
677
+ return !!((d = e.features) != null && d.resizing) && !!((w = e.column) != null && w.name) && ((s = e.column) == null ? void 0 : s.resizing) !== !1;
678
+ }), l = o(() => {
679
+ var d;
680
680
  return [
681
681
  "or-data-grid-table-header-cell-v3",
682
682
  "relative",
683
683
  ...ht,
684
- ...(i = e.column) != null && i.stickiness ? [`sticky-${e.column.stickiness}`, "overflow-hidden"] : [],
684
+ ...(d = e.column) != null && d.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
685
685
  ...g.value ? ["resizable"] : [],
686
686
  ...v.value ? ["interactivity-click"] : []
687
687
  ];
688
- }), T = o(() => [
688
+ }), S = o(() => [
689
689
  "or-data-grid-table-header-cell-resize-handle-v3",
690
690
  ...pt
691
691
  ]), H = o(() => {
692
- var i, w;
692
+ var d, w;
693
693
  return {
694
- minWidth: ((i = e.column) == null ? void 0 : i.minWidth) || K,
695
- maxWidth: (w = e.column) == null ? void 0 : w.maxWidth
694
+ minWidth: ((d = e.column) == null ? void 0 : d.minWidth) || K,
695
+ maxWidth: (w = e.column) == null ? void 0 : w.maxWidth,
696
+ overflow: "hidden"
696
697
  };
697
- }), S = o(() => {
698
+ }), T = o(() => {
698
699
  if (e.column)
699
700
  switch (e.column.stickiness) {
700
701
  case "start":
@@ -724,16 +725,16 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
724
725
  };
725
726
  }), O = o({
726
727
  get: () => {
727
- var i, w;
728
+ var d, w;
728
729
  if (v.value)
729
- return ((i = e.modelValue) == null ? void 0 : i.column) === ((w = e.column) == null ? void 0 : w.name) ? e.modelValue : void 0;
730
+ return ((d = e.modelValue) == null ? void 0 : d.column) === ((w = e.column) == null ? void 0 : w.name) ? e.modelValue : void 0;
730
731
  },
731
- set: (i) => {
732
- t.emit("update:modelValue", i);
732
+ set: (d) => {
733
+ t.emit("update:modelValue", d);
733
734
  }
734
735
  });
735
- function G() {
736
- var i;
736
+ function C() {
737
+ var d;
737
738
  if (v.value)
738
739
  if (O.value)
739
740
  O.value = {
@@ -744,16 +745,16 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
744
745
  if (!e.column)
745
746
  throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
746
747
  O.value = {
747
- column: ((i = e.column) == null ? void 0 : i.name) || "_check",
748
+ column: ((d = e.column) == null ? void 0 : d.name) || "_check",
748
749
  direction: "asc"
749
750
  };
750
751
  }
751
752
  }
752
- function I(i) {
753
+ function I(d) {
753
754
  var V;
754
- const w = i.pageX, s = ((V = n.value) == null ? void 0 : V.offsetWidth) || 0, E = (F) => {
755
+ const w = d.pageX, s = ((V = n.value) == null ? void 0 : V.offsetWidth) || 0, F = (W) => {
755
756
  var q, B;
756
- const X = F.pageX - w;
757
+ const X = W.pageX - w;
757
758
  let j = Math.max(0, s + X);
758
759
  const U = ((q = e.column) == null ? void 0 : q.minWidth) || K;
759
760
  if (U && (U.endsWith("px") || !isNaN(Number(U)))) {
@@ -766,61 +767,61 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
766
767
  }
767
768
  t.emit("update:column-width", j);
768
769
  }, P = () => {
769
- document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", P);
770
+ document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P);
770
771
  };
771
- document.addEventListener("mousemove", E), document.addEventListener("mouseup", P);
772
+ document.addEventListener("mousemove", F), document.addEventListener("mouseup", P);
772
773
  }
773
- const { width: C } = Ge(n, void 0, { box: "border-box" });
774
+ const { width: G } = Ce(n, void 0, { box: "border-box" });
774
775
  return se([
775
776
  n,
776
- C,
777
+ G,
777
778
  () => {
778
- var i;
779
- return (i = e.column) == null ? void 0 : i.stickiness;
779
+ var d;
780
+ return (d = e.column) == null ? void 0 : d.stickiness;
780
781
  }
781
782
  ], ([
782
- i,
783
+ d,
783
784
  w
784
785
  ], [
785
786
  s
786
787
  ]) => {
787
- s && s !== i && t.emit("remove:scrollOffset", s), t.emit("update:scrollOffset", i, w, e.column);
788
+ s && s !== d && t.emit("remove:scrollOffset", s), t.emit("update:scrollOffset", d, w, e.column);
788
789
  }), {
789
790
  root: n,
790
- rootStyles: u,
791
- rootInlineStyles: S,
791
+ rootStyles: l,
792
+ rootInlineStyles: T,
792
793
  wrapInlineStyle: H,
793
- resizeHandleStyles: T,
794
+ resizeHandleStyles: S,
794
795
  isSortable: v,
795
796
  isResizable: g,
796
797
  model: O,
797
- toggleSorting: G,
798
+ toggleSorting: C,
798
799
  onResizeStart: I,
799
800
  DATA_GRID_DEFAULT_MIN_WIDTH: K
800
801
  };
801
802
  }
802
803
  });
803
- function kt(e, t, n, v, g, u) {
804
- const T = f("OrIcon");
804
+ function kt(e, t, n, v, g, l) {
805
+ const S = f("OrIcon");
805
806
  return r(), p("div", {
806
807
  ref: "root",
807
- class: c(e.rootStyles),
808
+ class: u(e.rootStyles),
808
809
  style: A(e.rootInlineStyles),
809
810
  onClick: t[2] || (t[2] = (H) => e.toggleSorting())
810
811
  }, [
811
812
  fe("div", {
812
- class: c(["truncate"]),
813
+ class: u(["truncate"]),
813
814
  style: A(e.wrapInlineStyle)
814
815
  }, [
815
- d(e.$slots, "default")
816
+ c(e.$slots, "default")
816
817
  ], 4),
817
- e.model ? (r(), y(T, {
818
+ e.model ? (r(), y(S, {
818
819
  key: 0,
819
820
  icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
820
821
  }, null, 8, ["icon"])) : h("", !0),
821
822
  e.isResizable ? (r(), p("div", {
822
823
  key: 1,
823
- class: c(e.resizeHandleStyles),
824
+ class: u(e.resizeHandleStyles),
824
825
  onMousedown: t[0] || (t[0] = oe((...H) => e.onResizeStart && e.onResizeStart(...H), ["stop", "prevent"])),
825
826
  onClick: t[1] || (t[1] = oe(() => {
826
827
  }, ["stop"]))
@@ -879,12 +880,12 @@ const yt = /* @__PURE__ */ R(vt, [["render", kt]]), bt = [
879
880
  };
880
881
  }
881
882
  });
882
- function wt(e, t, n, v, g, u) {
883
+ function wt(e, t, n, v, g, l) {
883
884
  return r(), p("div", {
884
885
  ref: "root",
885
- class: c(e.rootStyles)
886
+ class: u(e.rootStyles)
886
887
  }, [
887
- d(e.$slots, "default")
888
+ c(e.$slots, "default")
888
889
  ], 2);
889
890
  }
890
891
  const Dt = /* @__PURE__ */ R($t, [["render", wt]]), St = [
@@ -906,15 +907,15 @@ const Dt = /* @__PURE__ */ R($t, [["render", wt]]), St = [
906
907
  };
907
908
  }
908
909
  });
909
- function Gt(e, t, n, v, g, u) {
910
+ function Ct(e, t, n, v, g, l) {
910
911
  return r(), p("div", {
911
912
  ref: "root",
912
- class: c(e.rootStyles)
913
+ class: u(e.rootStyles)
913
914
  }, [
914
- d(e.$slots, "default")
915
+ c(e.$slots, "default")
915
916
  ], 2);
916
917
  }
917
- const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
918
+ const Gt = /* @__PURE__ */ R(Tt, [["render", Ct]]), Vt = [
918
919
  // Layout
919
920
  "layout-row justify-center items-center",
920
921
  // Spacing
@@ -968,23 +969,23 @@ const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
968
969
  };
969
970
  }
970
971
  });
971
- function It(e, t, n, v, g, u) {
972
+ function It(e, t, n, v, g, l) {
972
973
  return r(), p("div", {
973
974
  ref: "root",
974
- class: c(e.rootStyles)
975
+ class: u(e.rootStyles)
975
976
  }, [
976
- d(e.$slots, "default")
977
+ c(e.$slots, "default")
977
978
  ], 2);
978
979
  }
979
980
  const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
980
981
  // Layout
981
982
  "grid content-start",
982
- "w-full min-w-0",
983
+ "w-full min-w-0 min-h-0",
983
984
  // Overflow
984
985
  "overflow-auto",
985
986
  // Interactivity
986
987
  "interactivity-default"
987
- ], Et = M({
988
+ ], Ft = M({
988
989
  name: "OrDataGridTable",
989
990
  props: {
990
991
  columns: {
@@ -1004,12 +1005,11 @@ const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
1004
1005
  "or-data-grid-table-v3",
1005
1006
  ...Ht
1006
1007
  ]), v = o(() => {
1007
- const g = e.columns.map((u) => {
1008
- if (u.width && (u.width.includes("minmax") || u.width.includes("calc")))
1009
- return u.width;
1010
- const T = u.width ?? "1fr", H = u.minWidth || (u.width ? K : "120px");
1011
- let S = u.maxWidth || T;
1012
- return T.endsWith("px") ? T : `minmax(${H}, ${S})`;
1008
+ const g = e.columns.map((l) => {
1009
+ if (l.width && (l.width.includes("minmax") || l.width.includes("calc")))
1010
+ return l.width;
1011
+ const S = l.width ?? "1fr", H = l.minWidth || (l.width ? K : l.fitContent || l.stickiness ? "max-content" : "120px"), T = l.maxWidth || (l.width ? S === "max-content" ? "max-content" : S : l.fitContent || l.minWidth || l.stickiness ? "max-content" : "1fr");
1012
+ return l.fitContent ? "max-content" : S.endsWith("px") ? S : `minmax(${H}, ${T})`;
1013
1013
  });
1014
1014
  return e.features.selecting ? { gridTemplateColumns: `min-content ${g.join(" ")}` } : { gridTemplateColumns: g.join(" ") };
1015
1015
  });
@@ -1020,16 +1020,16 @@ const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
1020
1020
  };
1021
1021
  }
1022
1022
  });
1023
- function Ft(e, t, n, v, g, u) {
1023
+ function Wt(e, t, n, v, g, l) {
1024
1024
  return r(), p("div", {
1025
1025
  ref: "root",
1026
- class: c(e.rootStyles),
1026
+ class: u(e.rootStyles),
1027
1027
  style: A(e.rootInlineStyles)
1028
1028
  }, [
1029
- d(e.$slots, "default")
1029
+ c(e.$slots, "default")
1030
1030
  ], 6);
1031
1031
  }
1032
- const Wt = /* @__PURE__ */ R(Et, [["render", Ft]]), Pt = [
1032
+ const Et = /* @__PURE__ */ R(Ft, [["render", Wt]]), Pt = [
1033
1033
  // Layout
1034
1034
  "layout-row",
1035
1035
  // Box
@@ -1052,12 +1052,12 @@ const Wt = /* @__PURE__ */ R(Et, [["render", Ft]]), Pt = [
1052
1052
  };
1053
1053
  }
1054
1054
  });
1055
- function jt(e, t, n, v, g, u) {
1055
+ function jt(e, t, n, v, g, l) {
1056
1056
  return r(), p("div", {
1057
1057
  ref: "root",
1058
- class: c(e.rootStyles)
1058
+ class: u(e.rootStyles)
1059
1059
  }, [
1060
- d(e.$slots, "default")
1060
+ c(e.$slots, "default")
1061
1061
  ], 2);
1062
1062
  }
1063
1063
  const Ut = /* @__PURE__ */ R(Nt, [["render", jt]]), Lt = [
@@ -1084,7 +1084,7 @@ const Ut = /* @__PURE__ */ R(Nt, [["render", jt]]), Lt = [
1084
1084
  ]
1085
1085
  }, qt = M({
1086
1086
  components: {
1087
- OrNotification: Ce
1087
+ OrNotification: Ge
1088
1088
  },
1089
1089
  props: {
1090
1090
  notification: {
@@ -1109,17 +1109,17 @@ const Ut = /* @__PURE__ */ R(Nt, [["render", jt]]), Lt = [
1109
1109
  };
1110
1110
  }
1111
1111
  });
1112
- function Bt(e, t, n, v, g, u) {
1113
- const T = f("OrNotification");
1112
+ function Bt(e, t, n, v, g, l) {
1113
+ const S = f("OrNotification");
1114
1114
  return r(), p("div", {
1115
- class: c(e.rootStyles)
1115
+ class: u(e.rootStyles)
1116
1116
  }, [
1117
- W(T, ge(e.notification, {
1117
+ E(S, ge(e.notification, {
1118
1118
  class: "rounded-0 shadow-none",
1119
1119
  onClose: t[0] || (t[0] = (H) => e.$emit("close-notification"))
1120
1120
  }), {
1121
1121
  default: k(() => [
1122
- e.$slots.notification ? d(e.$slots, "notification", { key: 0 }) : h("", !0)
1122
+ e.$slots.notification ? c(e.$slots, "notification", { key: 0 }) : h("", !0)
1123
1123
  ]),
1124
1124
  _: 3
1125
1125
  }, 16)
@@ -1178,24 +1178,24 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1178
1178
  };
1179
1179
  }
1180
1180
  });
1181
- function Yt(e, t, n, v, g, u) {
1181
+ function Yt(e, t, n, v, g, l) {
1182
1182
  return r(), p("div", {
1183
1183
  ref: "root",
1184
- class: c(e.rootStyles)
1184
+ class: u(e.rootStyles)
1185
1185
  }, [
1186
- d(e.$slots, "default")
1186
+ c(e.$slots, "default")
1187
1187
  ], 2);
1188
1188
  }
1189
1189
  const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1190
1190
  // Layout
1191
- "layout-column"
1191
+ "layout-column min-h-0"
1192
1192
  ], xt = M({
1193
1193
  name: "OrDataGrid",
1194
1194
  components: {
1195
1195
  OrCheckbox: ne,
1196
1196
  OrDataGridFooter: He,
1197
1197
  OrDataGridHeader: je,
1198
- OrDataGridTable: Wt,
1198
+ OrDataGridTable: Et,
1199
1199
  OrDataGridTableContent: tt,
1200
1200
  OrDataGridTableContentCell: Be,
1201
1201
  OrDataGridTableContentRow: Ze,
@@ -1203,7 +1203,7 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1203
1203
  OrDataGridTableFooterCell: nt,
1204
1204
  OrDataGridTableFooterRow: ct,
1205
1205
  OrDataGridTableExtraRow: Zt,
1206
- OrDataGridTableHeader: Ct,
1206
+ OrDataGridTableHeader: Gt,
1207
1207
  OrDataGridTableHeaderCell: yt,
1208
1208
  OrDataGridTableHeaderRow: Dt,
1209
1209
  OrDataGridTablePlaceholder: zt,
@@ -1265,23 +1265,23 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1265
1265
  "root"
1266
1266
  ],
1267
1267
  setup(e, t) {
1268
- const n = D(), v = D(), g = D(), u = o(() => [
1268
+ const n = D(), v = D(), g = D(), l = o(() => [
1269
1269
  "or-data-grid-v3",
1270
1270
  ..._t
1271
- ]), T = o(() => ({
1271
+ ]), S = o(() => ({
1272
1272
  scrollPaddingInlineStart: `${[...V.value.values()].reduce((a, $) => a + $, 0)}px`,
1273
- scrollPaddingInlineEnd: `${[...F.value.values()].reduce((a, $) => a + $, 0)}px`
1273
+ scrollPaddingInlineEnd: `${[...W.value.values()].reduce((a, $) => a + $, 0)}px`
1274
1274
  })), H = o({
1275
- get: () => !!e.items.length && e.items.every((a) => S.value.includes(a.id)),
1275
+ get: () => !!e.items.length && e.items.every((a) => T.value.includes(a.id)),
1276
1276
  set: (a) => {
1277
- a ? S.value = [
1277
+ a ? T.value = [
1278
1278
  .../* @__PURE__ */ new Set([
1279
- ...S.value,
1279
+ ...T.value,
1280
1280
  ...e.items.map(($) => $.id)
1281
1281
  ])
1282
- ] : S.value = [];
1282
+ ] : T.value = [];
1283
1283
  }
1284
- }), S = o({
1284
+ }), T = o({
1285
1285
  get: () => {
1286
1286
  var a;
1287
1287
  return ((a = e.modelValue) == null ? void 0 : a.selecting) ?? [];
@@ -1290,9 +1290,9 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1290
1290
  t.emit("update:modelValue", {
1291
1291
  selecting: a,
1292
1292
  filtering: O.value,
1293
- searching: G.value,
1293
+ searching: C.value,
1294
1294
  sorting: I.value,
1295
- paging: C.value
1295
+ paging: G.value
1296
1296
  });
1297
1297
  }
1298
1298
  }), O = o({
@@ -1302,29 +1302,29 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1302
1302
  },
1303
1303
  set: (a) => {
1304
1304
  t.emit("update:modelValue", {
1305
- selecting: S.value,
1305
+ selecting: T.value,
1306
1306
  filtering: a,
1307
- searching: G.value,
1307
+ searching: C.value,
1308
1308
  sorting: I.value,
1309
1309
  paging: {
1310
- ...C.value,
1310
+ ...G.value,
1311
1311
  offset: 0
1312
1312
  }
1313
1313
  });
1314
1314
  }
1315
- }), G = o({
1315
+ }), C = o({
1316
1316
  get: () => {
1317
1317
  var a;
1318
1318
  return (a = e.modelValue) == null ? void 0 : a.searching;
1319
1319
  },
1320
1320
  set: (a) => {
1321
1321
  t.emit("update:modelValue", {
1322
- selecting: S.value,
1322
+ selecting: T.value,
1323
1323
  filtering: O.value,
1324
1324
  searching: a,
1325
1325
  sorting: I.value,
1326
1326
  paging: {
1327
- ...C.value,
1327
+ ...G.value,
1328
1328
  offset: 0
1329
1329
  }
1330
1330
  });
@@ -1336,26 +1336,26 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1336
1336
  },
1337
1337
  set: (a) => {
1338
1338
  t.emit("update:modelValue", {
1339
- selecting: S.value,
1339
+ selecting: T.value,
1340
1340
  filtering: O.value,
1341
- searching: G.value,
1341
+ searching: C.value,
1342
1342
  sorting: a,
1343
1343
  paging: {
1344
- ...C.value,
1344
+ ...G.value,
1345
1345
  offset: 0
1346
1346
  }
1347
1347
  });
1348
1348
  }
1349
- }), C = o({
1349
+ }), G = o({
1350
1350
  get: () => {
1351
1351
  var a;
1352
1352
  return (a = e.modelValue) == null ? void 0 : a.paging;
1353
1353
  },
1354
1354
  set: (a) => {
1355
1355
  t.emit("update:modelValue", {
1356
- selecting: S.value,
1356
+ selecting: T.value,
1357
1357
  filtering: O.value,
1358
- searching: G.value,
1358
+ searching: C.value,
1359
1359
  sorting: I.value,
1360
1360
  paging: a
1361
1361
  });
@@ -1363,7 +1363,7 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1363
1363
  });
1364
1364
  se(() => {
1365
1365
  var a;
1366
- return (a = C.value) == null ? void 0 : a.offset;
1366
+ return (a = G.value) == null ? void 0 : a.offset;
1367
1367
  }, () => {
1368
1368
  var a;
1369
1369
  (a = g.value) != null && a.root && g.value.root.scrollTo({
@@ -1371,13 +1371,13 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1371
1371
  behavior: "smooth"
1372
1372
  });
1373
1373
  });
1374
- const i = o(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), w = o(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), s = o(() => {
1374
+ const d = o(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), w = o(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), s = o(() => {
1375
1375
  var a;
1376
1376
  return ((a = v.value) == null ? void 0 : a.currentLimit) || 10;
1377
- }), E = D({}), P = o(() => e.columns.map((a) => ({
1377
+ }), F = D({}), P = o(() => e.columns.map((a) => ({
1378
1378
  ...a,
1379
- width: E.value[a.name] || a.width
1380
- }))), V = D(/* @__PURE__ */ new Map()), F = D(/* @__PURE__ */ new Map()), X = o(() => {
1379
+ width: F.value[a.name] || a.width
1380
+ }))), V = D(/* @__PURE__ */ new Map()), W = D(/* @__PURE__ */ new Map()), X = o(() => {
1381
1381
  const a = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map(), z = [], te = [];
1382
1382
  e.features.selecting && z.push({
1383
1383
  name: "_check",
@@ -1391,22 +1391,22 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1391
1391
  });
1392
1392
  let re = 0;
1393
1393
  return [...te].reverse().forEach((N) => {
1394
- $.set(N.name, re), re += F.value.get(N.name) || 0;
1394
+ $.set(N.name, re), re += W.value.get(N.name) || 0;
1395
1395
  }), {
1396
1396
  start: a,
1397
1397
  end: $
1398
1398
  };
1399
1399
  });
1400
1400
  function j(a) {
1401
- G.value = a;
1401
+ C.value = a;
1402
1402
  }
1403
1403
  function U(a, $, z) {
1404
1404
  switch (z.stickiness) {
1405
1405
  case "start":
1406
- V.value.set(z.name, $), V.value = new Map(V.value), F.value.delete(z.name), F.value = new Map(F.value);
1406
+ V.value.set(z.name, $), V.value = new Map(V.value), W.value.delete(z.name), W.value = new Map(W.value);
1407
1407
  break;
1408
1408
  case "end":
1409
- V.value.delete(z.name), V.value = new Map(V.value), F.value.set(z.name, $), F.value = new Map(F.value);
1409
+ V.value.delete(z.name), V.value = new Map(V.value), W.value.set(z.name, $), W.value = new Map(W.value);
1410
1410
  break;
1411
1411
  default:
1412
1412
  ee(z.name);
@@ -1426,7 +1426,7 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1426
1426
  value: z
1427
1427
  });
1428
1428
  }
1429
- function l(a, $, z) {
1429
+ function i(a, $, z) {
1430
1430
  e.interactiveRows && t.emit("blur:cell", {
1431
1431
  item: a,
1432
1432
  columnName: $,
@@ -1437,8 +1437,8 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1437
1437
  e.interactiveRows && t.emit("click:row", a);
1438
1438
  }
1439
1439
  function J(a, $) {
1440
- E.value = {
1441
- ...E.value,
1440
+ F.value = {
1441
+ ...F.value,
1442
1442
  [a.name]: `${$}px`
1443
1443
  }, e.features.storageKey && le();
1444
1444
  }
@@ -1455,7 +1455,7 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1455
1455
  const a = localStorage.getItem(`or-data-grid-v3-widths-${e.features.storageKey}`);
1456
1456
  if (a) {
1457
1457
  const $ = JSON.parse(a);
1458
- E.value = $;
1458
+ F.value = $;
1459
1459
  }
1460
1460
  } catch (a) {
1461
1461
  console.error("[OrDataGrid]: Failed to load column widths from localStorage", a);
@@ -1465,32 +1465,32 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1465
1465
  ie();
1466
1466
  });
1467
1467
  function ee(a) {
1468
- V.value.delete(a), V.value = new Map(V.value), F.value.delete(a), F.value = new Map(F.value);
1468
+ V.value.delete(a), V.value = new Map(V.value), W.value.delete(a), W.value = new Map(W.value);
1469
1469
  }
1470
1470
  function de(a) {
1471
1471
  a.currentTarget.scrollIntoView({ block: "nearest" });
1472
1472
  }
1473
1473
  return {
1474
1474
  root: n,
1475
- rootStyles: u,
1475
+ rootStyles: l,
1476
1476
  pagination: v,
1477
- tableInlineStyles: T,
1477
+ tableInlineStyles: S,
1478
1478
  selectingIndicator: H,
1479
- showSelectingCouter: i,
1479
+ showSelectingCouter: d,
1480
1480
  selectingDisabled: w,
1481
1481
  skeletonsLength: s,
1482
1482
  actualColumns: P,
1483
1483
  handleMouseEnterRow: q,
1484
1484
  handleMouseLeaveRow: B,
1485
1485
  handleMouseEnterCell: L,
1486
- handleMouseLeaveCell: l,
1486
+ handleMouseLeaveCell: i,
1487
1487
  handleRowClick: m,
1488
1488
  updateColumnWidth: J,
1489
- selectingModel: S,
1489
+ selectingModel: T,
1490
1490
  filteringModel: O,
1491
- searchingModel: G,
1491
+ searchingModel: C,
1492
1492
  sortingModel: I,
1493
- pagingModel: C,
1493
+ pagingModel: G,
1494
1494
  stickyOffsets: X,
1495
1495
  updateScrollOffset: U,
1496
1496
  removeScrollOffset: ee,
@@ -1509,30 +1509,30 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1509
1509
  };
1510
1510
  }
1511
1511
  });
1512
- function ea(e, t, n, v, g, u) {
1513
- const T = f("OrSearch"), H = f("OrDataGridHeader"), S = f("OrDataGridToolbar"), O = f("OrCheckbox"), G = f("OrDataGridTableHeaderCell"), I = f("OrDataGridTableHeaderRow"), C = f("OrDataGridTableHeader"), i = f("OrDataGridNotification"), w = f("OrDataGridTableExtraRow"), s = f("OrSkeletonText"), E = f("OrDataGridTableContentCell"), P = f("OrDataGridTableContentRow"), V = f("OrDataGridTablePlaceholder"), F = f("OrDataGridTableContent"), X = f("OrDataGridTable"), j = f("OrDataGridTableFooterCell"), U = f("OrDataGridTableFooterRow"), q = f("OrDataGridTableFooter"), B = f("OrPagination"), L = f("OrDataGridFooter");
1512
+ function ea(e, t, n, v, g, l) {
1513
+ const S = f("OrSearch"), H = f("OrDataGridHeader"), T = f("OrDataGridToolbar"), O = f("OrCheckbox"), C = f("OrDataGridTableHeaderCell"), I = f("OrDataGridTableHeaderRow"), G = f("OrDataGridTableHeader"), d = f("OrDataGridNotification"), w = f("OrDataGridTableExtraRow"), s = f("OrSkeletonText"), F = f("OrDataGridTableContentCell"), P = f("OrDataGridTableContentRow"), V = f("OrDataGridTablePlaceholder"), W = f("OrDataGridTableContent"), X = f("OrDataGridTable"), j = f("OrDataGridTableFooterCell"), U = f("OrDataGridTableFooterRow"), q = f("OrDataGridTableFooter"), B = f("OrPagination"), L = f("OrDataGridFooter");
1514
1514
  return r(), p("div", {
1515
1515
  ref: "root",
1516
- class: c(e.rootStyles)
1516
+ class: u(e.rootStyles)
1517
1517
  }, [
1518
1518
  e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (r(), y(H, {
1519
1519
  key: 0,
1520
- class: c(["shrink-0"])
1520
+ class: u(["shrink-0"])
1521
1521
  }, Z({ _: 2 }, [
1522
1522
  e.$slots.title ? {
1523
1523
  name: "title",
1524
1524
  fn: k(() => [
1525
- d(e.$slots, "title")
1525
+ c(e.$slots, "title")
1526
1526
  ]),
1527
1527
  key: "0"
1528
1528
  } : void 0,
1529
1529
  e.features.searching ? {
1530
1530
  name: "searching",
1531
1531
  fn: k(() => [
1532
- d(e.$slots, "search", pe(ve({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1533
- W(T, {
1532
+ c(e.$slots, "search", pe(ve({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1533
+ E(S, {
1534
1534
  modelValue: e.searchingModel,
1535
- "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchingModel = l)
1535
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchingModel = i)
1536
1536
  }, null, 8, ["modelValue"])
1537
1537
  ])
1538
1538
  ]),
@@ -1541,33 +1541,33 @@ function ea(e, t, n, v, g, u) {
1541
1541
  e.$slots.extraActions ? {
1542
1542
  name: "extraActions",
1543
1543
  fn: k(() => [
1544
- d(e.$slots, "extraActions")
1544
+ c(e.$slots, "extraActions")
1545
1545
  ]),
1546
1546
  key: "2"
1547
1547
  } : void 0
1548
1548
  ]), 1024)) : h("", !0),
1549
- e.$slots.toolbar ? (r(), y(S, {
1549
+ e.$slots.toolbar ? (r(), y(T, {
1550
1550
  key: 1,
1551
- class: c(["shrink-0"])
1551
+ class: u(["shrink-0"])
1552
1552
  }, {
1553
1553
  default: k(() => [
1554
- d(e.$slots, "toolbar")
1554
+ c(e.$slots, "toolbar")
1555
1555
  ]),
1556
1556
  _: 3
1557
1557
  })) : h("", !0),
1558
- W(X, {
1558
+ E(X, {
1559
1559
  ref: "table",
1560
- class: c(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1560
+ class: u(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1561
1561
  style: A(e.tableInlineStyles),
1562
1562
  columns: e.actualColumns,
1563
1563
  features: e.features
1564
1564
  }, {
1565
1565
  default: k(() => [
1566
- W(C, null, {
1566
+ E(G, null, {
1567
1567
  default: k(() => [
1568
- W(I, { variant: e.variant }, {
1568
+ E(I, { variant: e.variant }, {
1569
1569
  default: k(() => [
1570
- e.features.selecting ? (r(), y(G, {
1570
+ e.features.selecting ? (r(), y(C, {
1571
1571
  key: 0,
1572
1572
  column: { name: "_check", stickiness: "start" },
1573
1573
  "sticky-offset": e.stickyOffsets.start.get("_check"),
@@ -1576,28 +1576,28 @@ function ea(e, t, n, v, g, u) {
1576
1576
  "onRemove:scrollOffset": e.removeScrollOffset
1577
1577
  }, {
1578
1578
  default: k(() => [
1579
- W(O, {
1579
+ E(O, {
1580
1580
  modelValue: e.selectingIndicator,
1581
- "onUpdate:modelValue": t[1] || (t[1] = (l) => e.selectingIndicator = l),
1581
+ "onUpdate:modelValue": t[1] || (t[1] = (i) => e.selectingIndicator = i),
1582
1582
  indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
1583
1583
  disabled: e.selectingDisabled
1584
1584
  }, null, 8, ["modelValue", "indeterminate", "disabled"])
1585
1585
  ]),
1586
1586
  _: 1
1587
1587
  }, 8, ["sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset"])) : h("", !0),
1588
- (r(!0), p(Q, null, Y(e.actualColumns, (l) => (r(), y(G, {
1589
- key: l.name,
1588
+ (r(!0), p(Q, null, Y(e.actualColumns, (i) => (r(), y(C, {
1589
+ key: i.name,
1590
1590
  modelValue: e.sortingModel,
1591
1591
  "onUpdate:modelValue": t[2] || (t[2] = (m) => e.sortingModel = m),
1592
- column: l,
1592
+ column: i,
1593
1593
  features: e.features,
1594
- "sticky-offset": l.stickiness === "start" ? e.stickyOffsets.start.get(l.name) : l.stickiness === "end" ? e.stickyOffsets.end.get(l.name) : void 0,
1594
+ "sticky-offset": i.stickiness === "start" ? e.stickyOffsets.start.get(i.name) : i.stickiness === "end" ? e.stickyOffsets.end.get(i.name) : void 0,
1595
1595
  "onUpdate:scrollOffset": e.updateScrollOffset,
1596
1596
  "onRemove:scrollOffset": e.removeScrollOffset,
1597
- "onUpdate:columnWidth": (m) => e.updateColumnWidth(l, m)
1597
+ "onUpdate:columnWidth": (m) => e.updateColumnWidth(i, m)
1598
1598
  }, {
1599
1599
  default: k(() => [
1600
- _(x(l.label), 1)
1600
+ _(x(i.label), 1)
1601
1601
  ]),
1602
1602
  _: 2
1603
1603
  }, 1032, ["modelValue", "column", "features", "sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset", "onUpdate:columnWidth"]))), 128))
@@ -1607,21 +1607,21 @@ function ea(e, t, n, v, g, u) {
1607
1607
  ]),
1608
1608
  _: 1
1609
1609
  }),
1610
- e.notification ? (r(), y(i, {
1610
+ e.notification ? (r(), y(d, {
1611
1611
  key: 0,
1612
1612
  notification: e.notification,
1613
1613
  variant: e.variant,
1614
- onCloseNotification: t[3] || (t[3] = (l) => e.$emit("close-notification"))
1614
+ onCloseNotification: t[3] || (t[3] = (i) => e.$emit("close-notification"))
1615
1615
  }, Z({ _: 2 }, [
1616
1616
  e.$slots.notification ? {
1617
1617
  name: "notification",
1618
1618
  fn: k(() => [
1619
- d(e.$slots, "notification")
1619
+ c(e.$slots, "notification")
1620
1620
  ]),
1621
1621
  key: "0"
1622
1622
  } : void 0
1623
1623
  ]), 1032, ["notification", "variant"])) : h("", !0),
1624
- W(F, null, {
1624
+ E(W, null, {
1625
1625
  default: k(() => [
1626
1626
  e.$slots["before-rows"] ? (r(), y(w, {
1627
1627
  key: 0,
@@ -1629,17 +1629,17 @@ function ea(e, t, n, v, g, u) {
1629
1629
  class: "border-b-1"
1630
1630
  }, {
1631
1631
  default: k(() => [
1632
- d(e.$slots, "before-rows")
1632
+ c(e.$slots, "before-rows")
1633
1633
  ]),
1634
1634
  _: 3
1635
1635
  }, 8, ["variant"])) : h("", !0),
1636
- e.loading ? (r(!0), p(Q, { key: 1 }, Y(e.skeletonsLength, (l) => (r(), y(P, {
1637
- key: l,
1636
+ e.loading ? (r(!0), p(Q, { key: 1 }, Y(e.skeletonsLength, (i) => (r(), y(P, {
1637
+ key: i,
1638
1638
  variant: e.variant,
1639
1639
  interactive: e.interactiveRows
1640
1640
  }, {
1641
1641
  default: k(() => [
1642
- e.features.selecting ? (r(), y(E, {
1642
+ e.features.selecting ? (r(), y(F, {
1643
1643
  key: 0,
1644
1644
  column: { name: "_check", stickiness: "start" },
1645
1645
  "sticky-offset": e.stickyOffsets.start.get("_check"),
@@ -1647,11 +1647,11 @@ function ea(e, t, n, v, g, u) {
1647
1647
  override: !0
1648
1648
  }, {
1649
1649
  default: k(() => [
1650
- W(s)
1650
+ E(s)
1651
1651
  ]),
1652
1652
  _: 1
1653
1653
  }, 8, ["sticky-offset", "variant"])) : h("", !0),
1654
- (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(E, {
1654
+ (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(F, {
1655
1655
  key: m.name,
1656
1656
  column: m,
1657
1657
  features: e.features,
@@ -1660,25 +1660,25 @@ function ea(e, t, n, v, g, u) {
1660
1660
  override: !0
1661
1661
  }, {
1662
1662
  default: k(() => [
1663
- d(e.$slots, "column-loading", { column: m }, () => [
1664
- W(s)
1663
+ c(e.$slots, "column-loading", { column: m }, () => [
1664
+ E(s)
1665
1665
  ])
1666
1666
  ]),
1667
1667
  _: 2
1668
1668
  }, 1032, ["column", "features", "sticky-offset", "variant"]))), 128))
1669
1669
  ]),
1670
1670
  _: 2
1671
- }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (r(!0), p(Q, { key: 2 }, Y(e.items, (l) => (r(), y(P, {
1672
- key: l.id,
1671
+ }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (r(!0), p(Q, { key: 2 }, Y(e.items, (i) => (r(), y(P, {
1672
+ key: i.id,
1673
1673
  variant: e.variant,
1674
- selected: e.selectingModel.includes(l.id),
1674
+ selected: e.selectingModel.includes(i.id),
1675
1675
  interactive: e.interactiveRows,
1676
- onMouseenter: () => e.handleMouseEnterRow(l),
1677
- onMouseleave: () => e.handleMouseLeaveRow(l),
1678
- onClick: () => e.handleRowClick(l)
1676
+ onMouseenter: () => e.handleMouseEnterRow(i),
1677
+ onMouseleave: () => e.handleMouseLeaveRow(i),
1678
+ onClick: () => e.handleRowClick(i)
1679
1679
  }, {
1680
1680
  default: k(() => [
1681
- e.features.selecting ? (r(), y(E, {
1681
+ e.features.selecting ? (r(), y(F, {
1682
1682
  key: 0,
1683
1683
  column: { name: "_check", stickiness: "start" },
1684
1684
  "sticky-offset": e.stickyOffsets.start.get("_check"),
@@ -1686,37 +1686,37 @@ function ea(e, t, n, v, g, u) {
1686
1686
  override: !0,
1687
1687
  "force-state": "none",
1688
1688
  class: "md:!py-none",
1689
- onMouseenter: () => e.handleMouseEnterCell(l, "selecting", e.selectingModel.includes(l.id)),
1690
- onMouseleave: () => e.handleMouseLeaveCell(l, "selecting", e.selectingModel.includes(l.id))
1689
+ onMouseenter: () => e.handleMouseEnterCell(i, "selecting", e.selectingModel.includes(i.id)),
1690
+ onMouseleave: () => e.handleMouseLeaveCell(i, "selecting", e.selectingModel.includes(i.id))
1691
1691
  }, {
1692
1692
  default: k(() => [
1693
- W(O, {
1693
+ E(O, {
1694
1694
  modelValue: e.selectingModel,
1695
1695
  "onUpdate:modelValue": t[4] || (t[4] = (m) => e.selectingModel = m),
1696
- value: l.id,
1696
+ value: i.id,
1697
1697
  disabled: e.selectingDisabled
1698
1698
  }, null, 8, ["modelValue", "value", "disabled"])
1699
1699
  ]),
1700
1700
  _: 2
1701
1701
  }, 1032, ["sticky-offset", "variant", "onMouseenter", "onMouseleave"])) : h("", !0),
1702
- (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(E, {
1702
+ (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(F, {
1703
1703
  key: m.name,
1704
- "model-value": l[m.name],
1704
+ "model-value": i[m.name],
1705
1705
  column: m,
1706
1706
  features: e.features,
1707
1707
  "sticky-offset": m.stickiness === "start" ? e.stickyOffsets.start.get(m.name) : m.stickiness === "end" ? e.stickyOffsets.end.get(m.name) : void 0,
1708
1708
  variant: e.variant,
1709
- onInput: (J) => e.onInput(l, m.name, J),
1709
+ onInput: (J) => e.onInput(i, m.name, J),
1710
1710
  onFocusin: t[5] || (t[5] = (J) => e.scrollTo(J)),
1711
- onMouseenter: () => e.handleMouseEnterCell(l, m.name, l[m.name]),
1712
- onMouseleave: () => e.handleMouseLeaveCell(l, m.name, l[m.name])
1711
+ onMouseenter: () => e.handleMouseEnterCell(i, m.name, i[m.name]),
1712
+ onMouseleave: () => e.handleMouseLeaveCell(i, m.name, i[m.name])
1713
1713
  }, {
1714
1714
  default: k(() => [
1715
- d(e.$slots, m.name, {
1715
+ c(e.$slots, m.name, {
1716
1716
  column: m,
1717
- item: l
1717
+ item: i
1718
1718
  }, () => [
1719
- _(x(l[m.name]), 1)
1719
+ _(x(i[m.name]), 1)
1720
1720
  ])
1721
1721
  ]),
1722
1722
  _: 2
@@ -1725,11 +1725,11 @@ function ea(e, t, n, v, g, u) {
1725
1725
  _: 2
1726
1726
  }, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (r(), y(V, {
1727
1727
  key: 3,
1728
- class: c(["col-span-full"]),
1728
+ class: u(["col-span-full"]),
1729
1729
  variant: e.variant
1730
1730
  }, {
1731
1731
  default: k(() => [
1732
- d(e.$slots, "noSearchResults", {
1732
+ c(e.$slots, "noSearchResults", {
1733
1733
  filter: e.filteringModel,
1734
1734
  search: e.searchingModel
1735
1735
  })
@@ -1737,11 +1737,11 @@ function ea(e, t, n, v, g, u) {
1737
1737
  _: 3
1738
1738
  }, 8, ["variant"])) : e.$slots.empty ? (r(), y(V, {
1739
1739
  key: 4,
1740
- class: c(["col-span-full"]),
1740
+ class: u(["col-span-full"]),
1741
1741
  variant: e.variant
1742
1742
  }, {
1743
1743
  default: k(() => [
1744
- d(e.$slots, "empty")
1744
+ c(e.$slots, "empty")
1745
1745
  ]),
1746
1746
  _: 3
1747
1747
  }, 8, ["variant"])) : h("", !0),
@@ -1750,7 +1750,7 @@ function ea(e, t, n, v, g, u) {
1750
1750
  variant: e.variant
1751
1751
  }, {
1752
1752
  default: k(() => [
1753
- d(e.$slots, "after-rows")
1753
+ c(e.$slots, "after-rows")
1754
1754
  ]),
1755
1755
  _: 3
1756
1756
  }, 8, ["variant"])) : h("", !0)
@@ -1762,14 +1762,14 @@ function ea(e, t, n, v, g, u) {
1762
1762
  }, 8, ["class", "style", "columns", "features"]),
1763
1763
  e.$slots["extra-row"] ? (r(), y(q, { key: 2 }, {
1764
1764
  default: k(() => [
1765
- W(U, {
1766
- class: c(["shrink-0"]),
1765
+ E(U, {
1766
+ class: u(["shrink-0"]),
1767
1767
  variant: e.variant
1768
1768
  }, {
1769
1769
  default: k(() => [
1770
- W(j, null, {
1770
+ E(j, null, {
1771
1771
  default: k(() => [
1772
- d(e.$slots, "extra-row")
1772
+ c(e.$slots, "extra-row")
1773
1773
  ]),
1774
1774
  _: 3
1775
1775
  })
@@ -1781,7 +1781,7 @@ function ea(e, t, n, v, g, u) {
1781
1781
  })) : h("", !0),
1782
1782
  e.$slots.actions || e.showSelectingCouter || e.features.paging ? (r(), y(L, {
1783
1783
  key: 3,
1784
- class: c(["shrink-0"])
1784
+ class: u(["shrink-0"])
1785
1785
  }, Z({ _: 2 }, [
1786
1786
  e.features.selecting && e.selectingModel.length > 0 ? {
1787
1787
  name: "status",
@@ -1793,17 +1793,17 @@ function ea(e, t, n, v, g, u) {
1793
1793
  e.$slots.actions ? {
1794
1794
  name: "actions",
1795
1795
  fn: k(() => [
1796
- d(e.$slots, "actions")
1796
+ c(e.$slots, "actions")
1797
1797
  ]),
1798
1798
  key: "1"
1799
1799
  } : void 0,
1800
1800
  e.features.paging ? {
1801
1801
  name: "paging",
1802
1802
  fn: k(() => [
1803
- W(B, {
1803
+ E(B, {
1804
1804
  ref: "pagination",
1805
1805
  modelValue: e.pagingModel,
1806
- "onUpdate:modelValue": t[6] || (t[6] = (l) => e.pagingModel = l),
1806
+ "onUpdate:modelValue": t[6] || (t[6] = (i) => e.pagingModel = i),
1807
1807
  length: e.features.paging.length,
1808
1808
  options: e.features.paging.options
1809
1809
  }, null, 8, ["modelValue", "length", "options"])
@@ -1828,11 +1828,11 @@ export {
1828
1828
  gt as i,
1829
1829
  yt as j,
1830
1830
  Dt as k,
1831
- Ct as l,
1831
+ Gt as l,
1832
1832
  zt as m,
1833
- Wt as n,
1833
+ Et as n,
1834
1834
  Ut as o,
1835
1835
  Kt as p,
1836
1836
  Zt as q
1837
1837
  };
1838
- //# sourceMappingURL=OrDataGrid-DnLT39dk.mjs.map
1838
+ //# sourceMappingURL=OrDataGrid-Bt5O_lK1.mjs.map