@onereach/ui-components 26.4.1-beta.5884.0 → 26.4.1-beta.5886.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.
@@ -1,23 +1,23 @@
1
- import { O as ne } from "./OrCheckbox-WPBzlvaV.mjs";
2
- import { O as ce } from "./OrPagination-BXzDa-Su.mjs";
3
- import { O as ue } from "./OrSearch-CRFuNmg2.mjs";
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 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";
1
+ import { O as le } from "./OrCheckbox-WPBzlvaV.mjs";
2
+ import { O as me } from "./OrPagination-BXzDa-Su.mjs";
3
+ import { O as fe } from "./OrSearch-CRFuNmg2.mjs";
4
+ import { O as ge } from "./OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs";
5
+ import { defineComponent as M, ref as S, computed as n, openBlock as o, createElementBlock as p, normalizeClass as u, renderSlot as c, createCommentVNode as h, resolveComponent as m, normalizeStyle as A, createBlock as y, watch as ie, createElementVNode as ne, withModifiers as se, createVNode as W, mergeProps as he, withCtx as v, onMounted as pe, createSlots as _, normalizeProps as ke, guardReactiveProps as be, Fragment as Q, renderList as Y, createTextVNode as x, toDisplayString as ee } from "vue";
6
6
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- import { O as ke } from "./OrDatePicker-D-Do0tSf.mjs";
7
+ import { O as ve } from "./OrDatePicker-D-Do0tSf.mjs";
8
8
  import { O as ye } from "./OrDateTimePicker-myqJkQxy.mjs";
9
9
  import "./OrDateTimePicker.vue_vue_type_script_lang-xnGNoSUB.mjs";
10
10
  import "@onereach/ui-components-common/types";
11
- import { O as be } from "./OrInput-nExtCSw8.mjs";
12
- import { O as Oe } from "./OrRating-CAwz23JA.mjs";
13
- import { O as $e } from "./OrSelect-BeL73iXu.mjs";
14
- import { O as we } from "./OrSwitch-BtoXDsZx.mjs";
15
- import { O as De } from "./OrTagInput-B2U22gXE.mjs";
16
- import { O as Se } from "./OrTimePicker-QPUb8olp.mjs";
17
- import { O as Te } from "./OrIcon-k8cyvh-D.mjs";
18
- import { useElementSize as Ce } from "@vueuse/core";
19
- import { O as Ge } from "./OrNotification-BkjmRseb.mjs";
20
- const Ve = [
11
+ import { O as Oe } from "./OrInput-nExtCSw8.mjs";
12
+ import { O as $e } from "./OrRating-CAwz23JA.mjs";
13
+ import { O as we } from "./OrSelect-BeL73iXu.mjs";
14
+ import { O as De } from "./OrSwitch-BtoXDsZx.mjs";
15
+ import { O as Se } from "./OrTagInput-B2U22gXE.mjs";
16
+ import { O as Te } from "./OrTimePicker-QPUb8olp.mjs";
17
+ import { O as Ce } from "./OrIcon-k8cyvh-D.mjs";
18
+ import { useElementSize as Ge } from "@vueuse/core";
19
+ import { O as Ve } from "./OrNotification-BkjmRseb.mjs";
20
+ const Me = [
21
21
  // Layout
22
22
  "layout-row",
23
23
  // Interactivity
@@ -31,98 +31,98 @@ const Ve = [
31
31
  // Theme
32
32
  "theme-border-disabled border-t-1",
33
33
  "dark:theme-border-disabled-dark"
34
- ], Me = [
34
+ ], Re = [
35
35
  // Typography
36
36
  "typography-body-2-semibold"
37
- ], Re = M({
37
+ ], Ie = M({
38
38
  name: "OrDataGridFooter",
39
39
  expose: [
40
40
  "root"
41
41
  ],
42
42
  setup() {
43
- const e = D(), t = o(() => [
43
+ const e = S(), t = n(() => [
44
44
  "or-data-grid-footer-v3",
45
- ...Ve
46
- ]), n = o(() => [
47
45
  ...Me
46
+ ]), s = n(() => [
47
+ ...Re
48
48
  ]);
49
49
  return {
50
50
  root: e,
51
51
  rootStyles: t,
52
- statusStyles: n
52
+ statusStyles: s
53
53
  };
54
54
  }
55
- }), Ie = {
55
+ }), ze = {
56
56
  key: 1,
57
57
  class: /* @__PURE__ */ u(["grow"])
58
58
  };
59
- function ze(e, t, n, v, g, l) {
60
- return r(), p("div", {
59
+ function He(e, t, s, k, g, i) {
60
+ return o(), p("div", {
61
61
  ref: "root",
62
62
  class: u(e.rootStyles)
63
63
  }, [
64
- e.$slots.status ? (r(), p("div", {
64
+ e.$slots.status ? (o(), p("div", {
65
65
  key: 0,
66
66
  class: u(e.statusStyles)
67
67
  }, [
68
68
  c(e.$slots, "status")
69
69
  ], 2)) : h("", !0),
70
70
  c(e.$slots, "actions"),
71
- e.$slots.paging ? (r(), p("div", Ie)) : h("", !0),
71
+ e.$slots.paging ? (o(), p("div", ze)) : h("", !0),
72
72
  c(e.$slots, "paging")
73
73
  ], 2);
74
74
  }
75
- const He = /* @__PURE__ */ R(Re, [["render", ze]]), Fe = [
75
+ const Ee = /* @__PURE__ */ R(Ie, [["render", He]]), We = [
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
- ], We = [
82
+ ], Fe = [
83
83
  // Typography
84
84
  "typography-headline-2"
85
- ], Ee = M({
85
+ ], Ne = M({
86
86
  name: "OrDataGridHeader",
87
87
  expose: [
88
88
  "root"
89
89
  ],
90
90
  setup() {
91
- const e = D(), t = o(() => [
91
+ const e = S(), t = n(() => [
92
92
  "or-data-grid-header-v3",
93
- ...Fe
94
- ]), n = o(() => [
95
93
  ...We
94
+ ]), s = n(() => [
95
+ ...Fe
96
96
  ]);
97
97
  return {
98
98
  root: e,
99
99
  rootStyles: t,
100
- titleStyles: n
100
+ titleStyles: s
101
101
  };
102
102
  }
103
103
  }), Pe = {
104
104
  key: 1,
105
105
  class: /* @__PURE__ */ u(["grow"])
106
106
  };
107
- function Ne(e, t, n, v, g, l) {
108
- return r(), p("div", {
107
+ function Ue(e, t, s, k, g, i) {
108
+ return o(), p("div", {
109
109
  ref: "root",
110
110
  class: u(e.rootStyles)
111
111
  }, [
112
- e.$slots.title ? (r(), p("div", {
112
+ e.$slots.title ? (o(), p("div", {
113
113
  key: 0,
114
114
  class: u(e.titleStyles)
115
115
  }, [
116
116
  c(e.$slots, "title")
117
117
  ], 2)) : h("", !0),
118
- e.$slots.searching || e.$slots.extraActions ? (r(), p("div", Pe)) : h("", !0),
118
+ e.$slots.searching || e.$slots.extraActions ? (o(), p("div", Pe)) : h("", !0),
119
119
  c(e.$slots, "searching"),
120
120
  e.$slots.extraActions ? c(e.$slots, "extraActions", { key: 2 }) : h("", !0)
121
121
  ], 2);
122
122
  }
123
- const je = /* @__PURE__ */ R(Ee, [["render", Ne]]);
124
- var b = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(b || {});
125
- const q = "52px", Ue = [
123
+ const je = /* @__PURE__ */ R(Ne, [["render", Ue]]);
124
+ var O = /* @__PURE__ */ ((e) => (e.Standard = "standard", e.Comfortable = "comfortable", e.Compact = "compact", e.Dynamic = "dynamic", e))(O || {});
125
+ const K = "52px", Z = "42px", Le = [
126
126
  // Layout
127
127
  "layout-row items-center",
128
128
  // Spacing
@@ -130,8 +130,11 @@ const q = "52px", Ue = [
130
130
  "py-xs",
131
131
  "gap-xs",
132
132
  // Theme
133
- "theme-border-transparent border-1",
134
- "dark:theme-border-transparent-dark",
133
+ "theme-border-disabled border-b-1 border-e-1 border-solid",
134
+ "dark:theme-border-disabled-dark",
135
+ // Border (conditional override for last row/column)
136
+ "group-last:border-b-0",
137
+ "last:border-e-0",
135
138
  "theme-outline-transparent outline-2 -outline-offset-1",
136
139
  "dark:theme-outline-transparent-dark",
137
140
  // Theme (focus)
@@ -156,23 +159,23 @@ const q = "52px", Ue = [
156
159
  // Theme (.resizable)
157
160
  "[&.resizable]:border-e-disabled [&.resizable]:border-solid",
158
161
  "dark:[&.resizable]:border-e-disabled-dark"
159
- ], Le = [
162
+ ], Ae = [
160
163
  // interactivity
161
164
  "interactivity-select",
162
165
  // Typography
163
166
  "truncate"
164
- ], Ae = M({
167
+ ], qe = M({
165
168
  name: "OrDataGridTableContentCell",
166
169
  components: {
167
- OrCheckbox: ne,
168
- OrDatePicker: ke,
170
+ OrCheckbox: le,
171
+ OrDatePicker: ve,
169
172
  OrDateTimePicker: ye,
170
- OrInput: be,
171
- OrRating: Oe,
172
- OrSelect: $e,
173
- OrSwitch: we,
174
- OrTagInput: De,
175
- OrTimePicker: Se
173
+ OrInput: Oe,
174
+ OrRating: $e,
175
+ OrSelect: we,
176
+ OrSwitch: De,
177
+ OrTagInput: Se,
178
+ OrTimePicker: Te
176
179
  },
177
180
  model: {
178
181
  prop: "modelValue",
@@ -194,7 +197,7 @@ const q = "52px", Ue = [
194
197
  },
195
198
  variant: {
196
199
  type: String,
197
- default: b.Standard
200
+ default: O.Standard
198
201
  },
199
202
  override: {
200
203
  type: Boolean,
@@ -212,153 +215,148 @@ const q = "52px", Ue = [
212
215
  "root"
213
216
  ],
214
217
  setup(e, t) {
215
- const n = D(), v = o(() => {
216
- var O, C, I, G;
218
+ const s = S(), k = n(() => {
219
+ var f, D, I, G;
217
220
  return [
218
221
  "or-data-grid-table-content-cell-v3",
219
- ...Ue,
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
+ ...Le,
223
+ ...(f = e.column) != null && f.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
224
+ ...(D = e.features) != null && D.resizing && ((I = e.column) != null && I.name) && ((G = e.column) == null ? void 0 : G.resizing) !== !1 ? ["resizable"] : []
222
225
  ];
223
- }), g = o(() => {
226
+ }), g = n(() => {
224
227
  if (e.column)
225
228
  switch (e.column.stickiness) {
226
229
  case "start":
227
230
  return {
228
231
  position: "sticky",
229
232
  insetInlineStart: `${e.stickyOffset}px`,
230
- zIndex: "30",
231
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
232
- justifyContent: e.column.alignment
233
+ zIndex: "30"
233
234
  };
234
235
  case "end":
235
236
  return {
236
237
  position: "sticky",
237
238
  insetInlineEnd: `${e.stickyOffset}px`,
238
- zIndex: "30",
239
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
240
- justifyContent: e.column.alignment
239
+ zIndex: "30"
241
240
  };
242
241
  default:
243
- return {
244
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
245
- justifyContent: e.column.alignment
246
- };
242
+ return {};
247
243
  }
248
- return {
249
- justifyContent: "center"
250
- };
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;
244
+ return {};
245
+ }), i = n(() => {
246
+ var G, N, F, r, b;
247
+ const f = ((G = e.column) == null ? void 0 : G.wrapping) ?? (e.variant === O.Dynamic && !((N = e.column) != null && N.control)), D = ((r = (F = e.column) == null ? void 0 : F.control) == null ? void 0 : r.type) === "tags", I = (b = e.column) == null ? void 0 : b.fitContent;
254
248
  return [
255
249
  "layout-row items-center w-full min-w-0",
256
- ...C ? ["overflow-hidden"] : [],
257
- ...Le.filter((P) => P !== "truncate"),
258
- ...O ? ["whitespace-pre-wrap break-words"] : I ? ["overflow-hidden"] : ["truncate"]
250
+ ...D ? ["overflow-hidden"] : [],
251
+ ...Ae.filter((w) => w !== "truncate"),
252
+ ...f ? ["whitespace-pre-wrap break-words"] : I ? ["overflow-hidden"] : ["truncate"]
259
253
  ];
260
- }), S = o(() => ({
261
- minWidth: e.column && e.column.minWidth || q,
262
- maxWidth: e.column && e.column.maxWidth
263
- })), H = o({
254
+ }), T = n(() => {
255
+ var f, D;
256
+ return {
257
+ minWidth: e.column && e.column.minWidth || (((f = e.column) == null ? void 0 : f.name) === "_check" ? Z : K),
258
+ maxWidth: e.column && e.column.maxWidth,
259
+ justifyContent: ((D = e.column) == null ? void 0 : D.alignment) || (e.column ? void 0 : "center")
260
+ };
261
+ }), E = n({
264
262
  get: () => e.modelValue,
265
- set: (O) => {
266
- t.emit("input", O);
263
+ set: (f) => {
264
+ t.emit("input", f);
267
265
  }
268
- }), T = o(() => {
269
- var O;
270
- return (O = e.column) == null ? void 0 : O.control;
266
+ }), C = n(() => {
267
+ var f;
268
+ return (f = e.column) == null ? void 0 : f.control;
271
269
  });
272
270
  return {
273
- root: n,
274
- rootStyles: v,
271
+ root: s,
272
+ rootStyles: k,
275
273
  rootInlineStyles: g,
276
- contentStyles: l,
277
- contentInlineStyles: S,
278
- model: H,
279
- control: T,
280
- DATA_GRID_DEFAULT_MIN_WIDTH: q
274
+ contentStyles: i,
275
+ contentInlineStyles: T,
276
+ model: E,
277
+ control: C,
278
+ DATA_GRID_DEFAULT_MIN_WIDTH: K
281
279
  };
282
280
  }
283
281
  });
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
- return r(), p("div", {
282
+ function Be(e, t, s, k, g, i) {
283
+ const T = m("OrInput"), E = m("OrRating"), C = m("OrSelect"), f = m("OrCheckbox"), D = m("OrSwitch"), I = m("OrDatePicker"), G = m("OrTimePicker"), N = m("OrDateTimePicker"), F = m("OrTagInput");
284
+ return o(), p("div", {
287
285
  ref: "root",
288
286
  class: u(e.rootStyles),
289
287
  style: A(e.rootInlineStyles)
290
288
  }, [
291
- e.override ? c(e.$slots, "default", { key: 0 }) : e.control ? (r(), p("div", {
289
+ e.override ? c(e.$slots, "default", { key: 0 }) : e.control ? (o(), p("div", {
292
290
  key: 1,
293
291
  class: u(e.contentStyles),
294
292
  style: A(e.contentInlineStyles)
295
293
  }, [
296
- e.control.type === "text" ? (r(), y(S, {
294
+ e.control.type === "text" ? (o(), y(T, {
297
295
  key: 0,
298
296
  modelValue: e.model,
299
- "onUpdate:modelValue": t[0] || (t[0] = (s) => e.model = s),
297
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => e.model = r),
300
298
  type: "text",
301
299
  variant: "embedded"
302
300
  }, null, 8, ["modelValue"])) : h("", !0),
303
- e.control.type === "number" ? (r(), y(S, {
301
+ e.control.type === "number" ? (o(), y(T, {
304
302
  key: 1,
305
303
  modelValue: e.model,
306
- "onUpdate:modelValue": t[1] || (t[1] = (s) => e.model = s),
304
+ "onUpdate:modelValue": t[1] || (t[1] = (r) => e.model = r),
307
305
  type: "number",
308
306
  variant: "embedded"
309
307
  }, null, 8, ["modelValue"])) : h("", !0),
310
- e.control.type === "rating" ? (r(), y(H, {
308
+ e.control.type === "rating" ? (o(), y(E, {
311
309
  key: 2,
312
310
  modelValue: e.model,
313
- "onUpdate:modelValue": t[2] || (t[2] = (s) => e.model = s)
311
+ "onUpdate:modelValue": t[2] || (t[2] = (r) => e.model = r)
314
312
  }, null, 8, ["modelValue"])) : h("", !0),
315
- e.control.type === "select" ? (r(), y(T, {
313
+ e.control.type === "select" ? (o(), y(C, {
316
314
  key: 3,
317
315
  modelValue: e.model,
318
- "onUpdate:modelValue": t[3] || (t[3] = (s) => e.model = s),
316
+ "onUpdate:modelValue": t[3] || (t[3] = (r) => e.model = r),
319
317
  options: e.control.options,
320
318
  variant: "embedded",
321
319
  anchor: e.root
322
320
  }, null, 8, ["modelValue", "options", "anchor"])) : h("", !0),
323
- e.control.type === "checkbox" ? (r(), y(O, {
321
+ e.control.type === "checkbox" ? (o(), y(f, {
324
322
  key: 4,
325
323
  modelValue: e.model,
326
- "onUpdate:modelValue": t[4] || (t[4] = (s) => e.model = s)
324
+ "onUpdate:modelValue": t[4] || (t[4] = (r) => e.model = r)
327
325
  }, null, 8, ["modelValue"])) : h("", !0),
328
- e.control.type === "switch" ? (r(), y(C, {
326
+ e.control.type === "switch" ? (o(), y(D, {
329
327
  key: 5,
330
328
  modelValue: e.model,
331
- "onUpdate:modelValue": t[5] || (t[5] = (s) => e.model = s)
329
+ "onUpdate:modelValue": t[5] || (t[5] = (r) => e.model = r)
332
330
  }, null, 8, ["modelValue"])) : h("", !0),
333
- e.control.type === "date" ? (r(), y(I, {
331
+ e.control.type === "date" ? (o(), y(I, {
334
332
  key: 6,
335
333
  modelValue: e.model,
336
- "onUpdate:modelValue": t[6] || (t[6] = (s) => e.model = s),
334
+ "onUpdate:modelValue": t[6] || (t[6] = (r) => e.model = r),
337
335
  variant: "embedded",
338
336
  anchor: e.root
339
337
  }, null, 8, ["modelValue", "anchor"])) : h("", !0),
340
- e.control.type === "time" ? (r(), y(G, {
338
+ e.control.type === "time" ? (o(), y(G, {
341
339
  key: 7,
342
340
  modelValue: e.model,
343
- "onUpdate:modelValue": t[7] || (t[7] = (s) => e.model = s),
341
+ "onUpdate:modelValue": t[7] || (t[7] = (r) => e.model = r),
344
342
  variant: "embedded",
345
343
  anchor: e.root
346
344
  }, null, 8, ["modelValue", "anchor"])) : h("", !0),
347
- e.control.type === "datetime" ? (r(), y(d, {
345
+ e.control.type === "datetime" ? (o(), y(N, {
348
346
  key: 8,
349
347
  modelValue: e.model,
350
- "onUpdate:modelValue": t[8] || (t[8] = (s) => e.model = s),
348
+ "onUpdate:modelValue": t[8] || (t[8] = (r) => e.model = r),
351
349
  variant: "embedded",
352
350
  anchor: e.root
353
351
  }, null, 8, ["modelValue", "anchor"])) : h("", !0),
354
- e.control.type === "tags" ? (r(), y(w, {
352
+ e.control.type === "tags" ? (o(), y(F, {
355
353
  key: 9,
356
354
  modelValue: e.model,
357
- "onUpdate:modelValue": t[9] || (t[9] = (s) => e.model = s),
355
+ "onUpdate:modelValue": t[9] || (t[9] = (r) => e.model = r),
358
356
  variant: "embedded",
359
357
  class: u(["grow min-w-0"])
360
358
  }, null, 8, ["modelValue"])) : h("", !0)
361
- ], 6)) : (r(), p("div", {
359
+ ], 6)) : (o(), p("div", {
362
360
  key: 2,
363
361
  class: u(e.contentStyles),
364
362
  style: A(e.contentInlineStyles)
@@ -367,16 +365,13 @@ function qe(e, t, n, v, g, l) {
367
365
  ], 6))
368
366
  ], 6);
369
367
  }
370
- const Be = /* @__PURE__ */ R(Ae, [["render", qe]]), Ke = [
368
+ const Ke = /* @__PURE__ */ R(qe, [["render", Be]]), Xe = [
371
369
  // Layout
372
370
  "grid grid-cols-[subgrid] col-span-full",
373
371
  // Stacking context
374
372
  "relative z-[1]",
375
373
  // Typography
376
374
  "typography-body-2-regular",
377
- // Theme
378
- "theme-border-disabled [&:not(:last-child)]:border-b-1",
379
- "dark:theme-border-disabled-dark",
380
375
  // Theme (children)
381
376
  "children:theme-foreground-default",
382
377
  "dark:children:theme-foreground-default-dark",
@@ -391,24 +386,24 @@ const Be = /* @__PURE__ */ R(Ae, [["render", qe]]), Ke = [
391
386
  // Theme (selected + hover / children)
392
387
  "children:hover:selected:theme-background-surface-3",
393
388
  "dark:children:hover:selected:theme-background-surface-3-dark"
394
- ], Xe = {
395
- [b.Standard]: [
389
+ ], Je = {
390
+ [O.Standard]: [
396
391
  // Box
397
392
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
398
393
  ],
399
- [b.Comfortable]: [
394
+ [O.Comfortable]: [
400
395
  // Box
401
396
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
402
397
  ],
403
- [b.Compact]: [
398
+ [O.Compact]: [
404
399
  // Box
405
400
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
406
401
  ],
407
- [b.Dynamic]: [
402
+ [O.Dynamic]: [
408
403
  // Box
409
404
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
410
405
  ]
411
- }, Je = M({
406
+ }, Qe = M({
412
407
  name: "OrDataGridTableContentRow",
413
408
  props: {
414
409
  variant: {
@@ -428,39 +423,39 @@ const Be = /* @__PURE__ */ R(Ae, [["render", qe]]), Ke = [
428
423
  "root"
429
424
  ],
430
425
  setup(e) {
431
- const t = D(), n = o(() => [
426
+ const t = S(), s = n(() => [
432
427
  "or-data-grid-table-content-row-v3",
433
- ...Ke,
434
- ...Xe[e.variant],
428
+ ...Xe,
429
+ ...Je[e.variant],
435
430
  ...e.interactive ? ["cursor-pointer"] : []
436
431
  ]);
437
432
  return {
438
433
  root: t,
439
- rootStyles: n
434
+ rootStyles: s
440
435
  };
441
436
  }
442
- }), Qe = ["selected"];
443
- function Ye(e, t, n, v, g, l) {
444
- return r(), p("div", {
437
+ }), Ye = ["selected"];
438
+ function Ze(e, t, s, k, g, i) {
439
+ return o(), p("div", {
445
440
  ref: "root",
446
441
  class: u(e.rootStyles),
447
442
  selected: e.selected
448
443
  }, [
449
444
  c(e.$slots, "default")
450
- ], 10, Qe);
445
+ ], 10, Ye);
451
446
  }
452
- const Ze = /* @__PURE__ */ R(Je, [["render", Ye]]), _e = [
447
+ const _e = /* @__PURE__ */ R(Qe, [["render", Ze]]), xe = [
453
448
  // Layout
454
449
  "contents"
455
- ], xe = M({
450
+ ], et = M({
456
451
  name: "OrDataGridTableContent",
457
452
  expose: [
458
453
  "root"
459
454
  ],
460
455
  setup() {
461
- const e = D(), t = o(() => [
456
+ const e = S(), t = n(() => [
462
457
  "or-data-grid-table-content-v3",
463
- ..._e
458
+ ...xe
464
459
  ]);
465
460
  return {
466
461
  root: e,
@@ -468,15 +463,15 @@ const Ze = /* @__PURE__ */ R(Je, [["render", Ye]]), _e = [
468
463
  };
469
464
  }
470
465
  });
471
- function et(e, t, n, v, g, l) {
472
- return r(), p("div", {
466
+ function tt(e, t, s, k, g, i) {
467
+ return o(), p("div", {
473
468
  ref: "root",
474
469
  class: u(e.rootStyles)
475
470
  }, [
476
471
  c(e.$slots, "default")
477
472
  ], 2);
478
473
  }
479
- const tt = /* @__PURE__ */ R(xe, [["render", et]]), at = [
474
+ const at = /* @__PURE__ */ R(et, [["render", tt]]), rt = [
480
475
  // Layout
481
476
  "layout-row",
482
477
  // Spacing
@@ -486,15 +481,15 @@ const tt = /* @__PURE__ */ R(xe, [["render", et]]), at = [
486
481
  // Theme
487
482
  "theme-border-transparent border-1",
488
483
  "dark:theme-border-transparent-dark"
489
- ], rt = M({
484
+ ], ot = M({
490
485
  name: "OrDataGridTableFooterCell",
491
486
  expose: [
492
487
  "root"
493
488
  ],
494
489
  setup() {
495
- const e = D(), t = o(() => [
490
+ const e = S(), t = n(() => [
496
491
  "or-data-grid-table-footer-cell-v3",
497
- ...at
492
+ ...rt
498
493
  ]);
499
494
  return {
500
495
  root: e,
@@ -502,15 +497,15 @@ const tt = /* @__PURE__ */ R(xe, [["render", et]]), at = [
502
497
  };
503
498
  }
504
499
  });
505
- function ot(e, t, n, v, g, l) {
506
- return r(), p("div", {
500
+ function nt(e, t, s, k, g, i) {
501
+ return o(), p("div", {
507
502
  ref: "root",
508
503
  class: u(e.rootStyles)
509
504
  }, [
510
505
  c(e.$slots, "default")
511
506
  ], 2);
512
507
  }
513
- const nt = /* @__PURE__ */ R(rt, [["render", ot]]), st = [
508
+ const st = /* @__PURE__ */ R(ot, [["render", nt]]), lt = [
514
509
  // Layout
515
510
  "grid grid-cols-1",
516
511
  // Typography
@@ -523,24 +518,24 @@ const nt = /* @__PURE__ */ R(rt, [["render", ot]]), st = [
523
518
  "dark:children:theme-foreground-default-dark",
524
519
  "children:theme-background-default",
525
520
  "dark:children:theme-background-default-dark"
526
- ], lt = {
527
- [b.Standard]: [
521
+ ], it = {
522
+ [O.Standard]: [
528
523
  // Box
529
524
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
530
525
  ],
531
- [b.Comfortable]: [
526
+ [O.Comfortable]: [
532
527
  // Box
533
528
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
534
529
  ],
535
- [b.Compact]: [
530
+ [O.Compact]: [
536
531
  // Box
537
532
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
538
533
  ],
539
- [b.Dynamic]: [
534
+ [O.Dynamic]: [
540
535
  // Box
541
536
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
542
537
  ]
543
- }, it = M({
538
+ }, dt = M({
544
539
  name: "OrDataGridTableFooterRow",
545
540
  props: {
546
541
  variant: {
@@ -552,37 +547,37 @@ const nt = /* @__PURE__ */ R(rt, [["render", ot]]), st = [
552
547
  "root"
553
548
  ],
554
549
  setup(e) {
555
- const t = D(), n = o(() => [
550
+ const t = S(), s = n(() => [
556
551
  "or-data-grid-table-footer-row-v3",
557
- ...st,
558
- ...lt[e.variant]
552
+ ...lt,
553
+ ...it[e.variant]
559
554
  ]);
560
555
  return {
561
556
  root: t,
562
- rootStyles: n
557
+ rootStyles: s
563
558
  };
564
559
  }
565
560
  });
566
- function dt(e, t, n, v, g, l) {
567
- return r(), p("div", {
561
+ function ct(e, t, s, k, g, i) {
562
+ return o(), p("div", {
568
563
  ref: "root",
569
564
  class: u(e.rootStyles)
570
565
  }, [
571
566
  c(e.$slots, "default")
572
567
  ], 2);
573
568
  }
574
- const ct = /* @__PURE__ */ R(it, [["render", dt]]), ut = [
569
+ const ut = /* @__PURE__ */ R(dt, [["render", ct]]), mt = [
575
570
  // Layout
576
571
  "contents"
577
- ], mt = M({
572
+ ], ft = M({
578
573
  name: "OrDataGridTableFooter",
579
574
  expose: [
580
575
  "root"
581
576
  ],
582
577
  setup() {
583
- const e = D(), t = o(() => [
578
+ const e = S(), t = n(() => [
584
579
  "or-data-grid-table-footer-v3",
585
- ...ut
580
+ ...mt
586
581
  ]);
587
582
  return {
588
583
  root: e,
@@ -590,15 +585,15 @@ const ct = /* @__PURE__ */ R(it, [["render", dt]]), ut = [
590
585
  };
591
586
  }
592
587
  });
593
- function ft(e, t, n, v, g, l) {
594
- return r(), p("div", {
588
+ function gt(e, t, s, k, g, i) {
589
+ return o(), p("div", {
595
590
  ref: "root",
596
591
  class: u(e.rootStyles)
597
592
  }, [
598
593
  c(e.$slots, "default")
599
594
  ], 2);
600
595
  }
601
- const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
596
+ const ht = /* @__PURE__ */ R(ft, [["render", gt]]), pt = [
602
597
  // Layout
603
598
  "layout-row items-center",
604
599
  // Spacing
@@ -606,8 +601,10 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
606
601
  "py-xs",
607
602
  "gap-xs",
608
603
  // Theme
609
- "theme-border-transparent border-1",
610
- "dark:theme-border-transparent-dark",
604
+ "theme-border-disabled border-b-1 border-e-1 border-solid",
605
+ "dark:theme-border-disabled-dark",
606
+ // Border (conditional override for last column)
607
+ "last:border-e-0",
611
608
  "theme-outline-transparent outline-2 -outline-offset-1",
612
609
  "dark:theme-outline-transparent-dark",
613
610
  // Theme (Stacking)
@@ -621,7 +618,7 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
621
618
  // Theme (.resizable)
622
619
  "[&.resizable]:border-e-disabled [&.resizable]:border-solid",
623
620
  "dark:[&.resizable]:border-e-disabled-dark"
624
- ], pt = [
621
+ ], kt = [
625
622
  // Position
626
623
  "absolute top-0 bottom-0 end-0 z-50",
627
624
  // Box
@@ -632,10 +629,10 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
632
629
  "dark:hover:theme-background-primary-dark",
633
630
  "active:theme-background-primary",
634
631
  "dark:active:theme-background-primary-dark"
635
- ], vt = M({
632
+ ], bt = M({
636
633
  name: "OrDataGridTableHeaderCell",
637
634
  components: {
638
- OrIcon: Te
635
+ OrIcon: Ce
639
636
  },
640
637
  model: {
641
638
  prop: "modelValue",
@@ -669,166 +666,177 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), ht = [
669
666
  "root"
670
667
  ],
671
668
  setup(e, t) {
672
- const n = D(), v = o(() => {
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
- }), g = o(() => {
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;
669
+ const s = S(), k = n(() => {
670
+ var r, b, w;
671
+ return !!((r = e.features) != null && r.sorting) && !!((b = e.column) != null && b.name) && ((w = e.column) == null ? void 0 : w.sorting) !== !1;
672
+ }), g = n(() => {
673
+ var r, b, w;
674
+ return !!((r = e.features) != null && r.resizing) && !!((b = e.column) != null && b.name) && ((w = e.column) == null ? void 0 : w.resizing) !== !1;
675
+ }), i = n(() => {
676
+ var r;
680
677
  return [
681
678
  "or-data-grid-table-header-cell-v3",
682
679
  "relative",
683
- ...ht,
684
- ...(d = e.column) != null && d.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
680
+ ...pt,
681
+ ...(r = e.column) != null && r.stickiness ? ["overflow-hidden", `sticky-${e.column.stickiness}`] : [],
685
682
  ...g.value ? ["resizable"] : [],
686
- ...v.value ? ["interactivity-click"] : []
683
+ ...k.value ? ["interactivity-click"] : []
687
684
  ];
688
- }), S = o(() => [
685
+ }), T = n(() => [
689
686
  "or-data-grid-table-header-cell-resize-handle-v3",
690
- ...pt
691
- ]), H = o(() => {
692
- var d, w;
687
+ ...kt
688
+ ]), E = n(() => {
689
+ var r, b, w;
693
690
  return {
694
- minWidth: ((d = e.column) == null ? void 0 : d.minWidth) || q,
691
+ minWidth: ((r = e.column) == null ? void 0 : r.minWidth) || (((b = e.column) == null ? void 0 : b.name) === "_check" ? Z : K),
695
692
  maxWidth: (w = e.column) == null ? void 0 : w.maxWidth,
696
693
  overflow: "hidden"
697
694
  };
698
- }), T = o(() => {
695
+ }), C = n(() => {
699
696
  if (e.column)
700
697
  switch (e.column.stickiness) {
701
698
  case "start":
702
699
  return {
703
700
  position: "sticky",
704
701
  insetInlineStart: `${e.stickyOffset}px`,
705
- zIndex: "120",
706
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
707
- justifyContent: e.column.alignment
702
+ zIndex: "120"
708
703
  };
709
704
  case "end":
710
705
  return {
711
706
  position: "sticky",
712
707
  insetInlineEnd: `${e.stickyOffset}px`,
713
- zIndex: "120",
714
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
715
- justifyContent: e.column.alignment
708
+ zIndex: "120"
716
709
  };
717
710
  default:
718
- return {
719
- flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
720
- justifyContent: e.column.alignment
721
- };
711
+ return {};
722
712
  }
723
713
  return {
724
714
  justifyContent: "center"
725
715
  };
726
- }), O = o({
716
+ }), f = n({
727
717
  get: () => {
728
- var d, w;
729
- if (v.value)
730
- return ((d = e.modelValue) == null ? void 0 : d.column) === ((w = e.column) == null ? void 0 : w.name) ? e.modelValue : void 0;
718
+ var r, b;
719
+ if (k.value)
720
+ return ((r = e.modelValue) == null ? void 0 : r.column) === ((b = e.column) == null ? void 0 : b.name) ? e.modelValue : void 0;
731
721
  },
732
- set: (d) => {
733
- t.emit("update:modelValue", d);
722
+ set: (r) => {
723
+ t.emit("update:modelValue", r);
734
724
  }
725
+ }), D = n(() => {
726
+ var r;
727
+ return [
728
+ "layout-row items-center w-full min-w-0",
729
+ ...((r = e.column) == null ? void 0 : r.alignment) === "end" ? ["flex-row-reverse"] : []
730
+ ];
731
+ }), I = n(() => {
732
+ var r;
733
+ return {
734
+ justifyContent: (r = e.column) == null ? void 0 : r.alignment
735
+ };
735
736
  });
736
- function C() {
737
- var d;
738
- if (v.value)
739
- if (O.value)
740
- O.value = {
741
- ...O.value,
742
- direction: O.value.direction === "asc" ? "desc" : "asc"
737
+ function G() {
738
+ var r;
739
+ if (k.value)
740
+ if (f.value)
741
+ f.value = {
742
+ ...f.value,
743
+ direction: f.value.direction === "asc" ? "desc" : "asc"
743
744
  };
744
745
  else {
745
746
  if (!e.column)
746
747
  throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
747
- O.value = {
748
- column: ((d = e.column) == null ? void 0 : d.name) || "_check",
748
+ f.value = {
749
+ column: ((r = e.column) == null ? void 0 : r.name) || "_check",
749
750
  direction: "asc"
750
751
  };
751
752
  }
752
753
  }
753
- function I(d) {
754
- var V;
755
- const w = d.pageX, s = ((V = n.value) == null ? void 0 : V.offsetWidth) || 0, F = (W) => {
756
- var B, K;
757
- const X = W.pageX - w;
758
- let j = Math.max(0, s + X);
759
- const U = ((B = e.column) == null ? void 0 : B.minWidth) || q;
760
- if (U && (U.endsWith("px") || !isNaN(Number(U)))) {
761
- const L = parseInt(U, 10);
762
- j = Math.max(j, L);
754
+ function N(r) {
755
+ var q;
756
+ const b = r.pageX, w = ((q = s.value) == null ? void 0 : q.offsetWidth) || 0, V = (X) => {
757
+ var B, l, d;
758
+ const J = X.pageX - b;
759
+ let U = Math.max(0, w + J);
760
+ const L = ((B = e.column) == null ? void 0 : B.minWidth) || (((l = e.column) == null ? void 0 : l.name) === "_check" ? Z : K);
761
+ if (L && (L.endsWith("px") || !isNaN(Number(L)))) {
762
+ const j = parseInt(L, 10);
763
+ U = Math.max(U, j);
763
764
  }
764
- if ((K = e.column) != null && K.maxWidth && (e.column.maxWidth.endsWith("px") || !isNaN(Number(e.column.maxWidth)))) {
765
- const L = parseInt(e.column.maxWidth, 10);
766
- j = Math.min(j, L);
765
+ if ((d = e.column) != null && d.maxWidth && (e.column.maxWidth.endsWith("px") || !isNaN(Number(e.column.maxWidth)))) {
766
+ const j = parseInt(e.column.maxWidth, 10);
767
+ U = Math.min(U, j);
767
768
  }
768
- t.emit("update:column-width", j);
769
- }, P = () => {
770
- document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P);
769
+ t.emit("update:column-width", U);
770
+ }, z = () => {
771
+ document.removeEventListener("mousemove", V), document.removeEventListener("mouseup", z);
771
772
  };
772
- document.addEventListener("mousemove", F), document.addEventListener("mouseup", P);
773
+ document.addEventListener("mousemove", V), document.addEventListener("mouseup", z);
773
774
  }
774
- const { width: G } = Ce(n, void 0, { box: "border-box" });
775
- return se([
776
- n,
777
- G,
775
+ const { width: F } = Ge(s, void 0, { box: "border-box" });
776
+ return ie([
777
+ s,
778
+ F,
778
779
  () => {
779
- var d;
780
- return (d = e.column) == null ? void 0 : d.stickiness;
780
+ var r;
781
+ return (r = e.column) == null ? void 0 : r.stickiness;
781
782
  }
782
783
  ], ([
783
- d,
784
- w
784
+ r,
785
+ b
785
786
  ], [
786
- s
787
+ w
787
788
  ]) => {
788
- s && s !== d && t.emit("remove:scrollOffset", s), t.emit("update:scrollOffset", d, w, e.column);
789
+ w && w !== r && t.emit("remove:scrollOffset", w), t.emit("update:scrollOffset", r, b, e.column);
789
790
  }), {
790
- root: n,
791
- rootStyles: l,
792
- rootInlineStyles: T,
793
- wrapInlineStyle: H,
794
- resizeHandleStyles: S,
795
- isSortable: v,
791
+ root: s,
792
+ rootStyles: i,
793
+ rootInlineStyles: C,
794
+ headerContentStyles: D,
795
+ headerContentInlineStyles: I,
796
+ wrapInlineStyle: E,
797
+ resizeHandleStyles: T,
798
+ isSortable: k,
796
799
  isResizable: g,
797
- model: O,
798
- toggleSorting: C,
799
- onResizeStart: I,
800
- DATA_GRID_DEFAULT_MIN_WIDTH: q
800
+ model: f,
801
+ toggleSorting: G,
802
+ onResizeStart: N,
803
+ DATA_GRID_DEFAULT_MIN_WIDTH: K
801
804
  };
802
805
  }
803
806
  });
804
- function kt(e, t, n, v, g, l) {
805
- const S = f("OrIcon");
806
- return r(), p("div", {
807
+ function vt(e, t, s, k, g, i) {
808
+ const T = m("OrIcon");
809
+ return o(), p("div", {
807
810
  ref: "root",
808
811
  class: u(e.rootStyles),
809
812
  style: A(e.rootInlineStyles),
810
- onClick: t[2] || (t[2] = (H) => e.toggleSorting())
813
+ onClick: t[2] || (t[2] = (E) => e.toggleSorting())
811
814
  }, [
812
- fe("div", {
813
- class: u(["truncate"]),
814
- style: A(e.wrapInlineStyle)
815
+ ne("div", {
816
+ class: u(e.headerContentStyles),
817
+ style: A(e.headerContentInlineStyles)
815
818
  }, [
816
- c(e.$slots, "default")
817
- ], 4),
818
- e.model ? (r(), y(S, {
819
+ ne("div", {
820
+ class: u(["truncate"]),
821
+ style: A(e.wrapInlineStyle)
822
+ }, [
823
+ c(e.$slots, "default")
824
+ ], 4),
825
+ e.model ? (o(), y(T, {
826
+ key: 0,
827
+ icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
828
+ }, null, 8, ["icon"])) : h("", !0)
829
+ ], 6),
830
+ e.isResizable ? (o(), p("div", {
819
831
  key: 0,
820
- icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
821
- }, null, 8, ["icon"])) : h("", !0),
822
- e.isResizable ? (r(), p("div", {
823
- key: 1,
824
832
  class: u(e.resizeHandleStyles),
825
- onMousedown: t[0] || (t[0] = oe((...H) => e.onResizeStart && e.onResizeStart(...H), ["stop", "prevent"])),
826
- onClick: t[1] || (t[1] = oe(() => {
833
+ onMousedown: t[0] || (t[0] = se((...E) => e.onResizeStart && e.onResizeStart(...E), ["stop", "prevent"])),
834
+ onClick: t[1] || (t[1] = se(() => {
827
835
  }, ["stop"]))
828
836
  }, null, 34)) : h("", !0)
829
837
  ], 6);
830
838
  }
831
- const yt = /* @__PURE__ */ R(vt, [["render", kt]]), bt = [
839
+ const yt = /* @__PURE__ */ R(bt, [["render", vt]]), Ot = [
832
840
  // Position
833
841
  "sticky top-0 z-[110]",
834
842
  // Layout
@@ -840,24 +848,24 @@ const yt = /* @__PURE__ */ R(vt, [["render", kt]]), bt = [
840
848
  "dark:children:theme-foreground-default-dark",
841
849
  "children:theme-background-surface-variant-1",
842
850
  "dark:children:theme-background-surface-variant-1-dark"
843
- ], Ot = {
844
- [b.Standard]: [
851
+ ], $t = {
852
+ [O.Standard]: [
845
853
  // Box
846
854
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
847
855
  ],
848
- [b.Comfortable]: [
856
+ [O.Comfortable]: [
849
857
  // Box
850
858
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
851
859
  ],
852
- [b.Compact]: [
860
+ [O.Compact]: [
853
861
  // Box
854
862
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
855
863
  ],
856
- [b.Dynamic]: [
864
+ [O.Dynamic]: [
857
865
  // Box
858
866
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
859
867
  ]
860
- }, $t = M({
868
+ }, wt = M({
861
869
  name: "OrDataGridTableHeaderRow",
862
870
  props: {
863
871
  variant: {
@@ -869,37 +877,37 @@ const yt = /* @__PURE__ */ R(vt, [["render", kt]]), bt = [
869
877
  "root"
870
878
  ],
871
879
  setup(e) {
872
- const t = D(), n = o(() => [
880
+ const t = S(), s = n(() => [
873
881
  "or-data-grid-table-header-row-v3",
874
- ...bt,
875
- ...Ot[e.variant]
882
+ ...Ot,
883
+ ...$t[e.variant]
876
884
  ]);
877
885
  return {
878
886
  root: t,
879
- rootStyles: n
887
+ rootStyles: s
880
888
  };
881
889
  }
882
890
  });
883
- function wt(e, t, n, v, g, l) {
884
- return r(), p("div", {
891
+ function Dt(e, t, s, k, g, i) {
892
+ return o(), p("div", {
885
893
  ref: "root",
886
894
  class: u(e.rootStyles)
887
895
  }, [
888
896
  c(e.$slots, "default")
889
897
  ], 2);
890
898
  }
891
- const Dt = /* @__PURE__ */ R($t, [["render", wt]]), St = [
899
+ const St = /* @__PURE__ */ R(wt, [["render", Dt]]), Tt = [
892
900
  // Layout
893
901
  "contents"
894
- ], Tt = M({
902
+ ], Ct = M({
895
903
  name: "OrDataGridTableHeader",
896
904
  expose: [
897
905
  "root"
898
906
  ],
899
907
  setup() {
900
- const e = D(), t = o(() => [
908
+ const e = S(), t = n(() => [
901
909
  "or-data-grid-table-header-v3",
902
- ...St
910
+ ...Tt
903
911
  ]);
904
912
  return {
905
913
  root: e,
@@ -907,15 +915,15 @@ const Dt = /* @__PURE__ */ R($t, [["render", wt]]), St = [
907
915
  };
908
916
  }
909
917
  });
910
- function Ct(e, t, n, v, g, l) {
911
- return r(), p("div", {
918
+ function Gt(e, t, s, k, g, i) {
919
+ return o(), p("div", {
912
920
  ref: "root",
913
921
  class: u(e.rootStyles)
914
922
  }, [
915
923
  c(e.$slots, "default")
916
924
  ], 2);
917
925
  }
918
- const Gt = /* @__PURE__ */ R(Tt, [["render", Ct]]), Vt = [
926
+ const Vt = /* @__PURE__ */ R(Ct, [["render", Gt]]), Mt = [
919
927
  // Layout
920
928
  "layout-row justify-center items-center",
921
929
  // Spacing
@@ -929,24 +937,24 @@ const Gt = /* @__PURE__ */ R(Tt, [["render", Ct]]), Vt = [
929
937
  "dark:theme-foreground-default-dark",
930
938
  "theme-background-default",
931
939
  "dark:theme-background-default-dark"
932
- ], Mt = {
933
- [b.Standard]: [
940
+ ], Rt = {
941
+ [O.Standard]: [
934
942
  // Box
935
943
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
936
944
  ],
937
- [b.Comfortable]: [
945
+ [O.Comfortable]: [
938
946
  // Box
939
947
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
940
948
  ],
941
- [b.Compact]: [
949
+ [O.Compact]: [
942
950
  // Box
943
951
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
944
952
  ],
945
- [b.Dynamic]: [
953
+ [O.Dynamic]: [
946
954
  // Box
947
955
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
948
956
  ]
949
- }, Rt = M({
957
+ }, It = M({
950
958
  name: "OrDataGridTablePlaceholder",
951
959
  props: {
952
960
  variant: {
@@ -958,26 +966,26 @@ const Gt = /* @__PURE__ */ R(Tt, [["render", Ct]]), Vt = [
958
966
  "root"
959
967
  ],
960
968
  setup(e) {
961
- const t = D(), n = o(() => [
969
+ const t = S(), s = n(() => [
962
970
  "or-data-grid-table-placeholder-v3",
963
- ...Vt,
964
- ...Mt[e.variant]
971
+ ...Mt,
972
+ ...Rt[e.variant]
965
973
  ]);
966
974
  return {
967
975
  root: t,
968
- rootStyles: n
976
+ rootStyles: s
969
977
  };
970
978
  }
971
979
  });
972
- function It(e, t, n, v, g, l) {
973
- return r(), p("div", {
980
+ function zt(e, t, s, k, g, i) {
981
+ return o(), p("div", {
974
982
  ref: "root",
975
983
  class: u(e.rootStyles)
976
984
  }, [
977
985
  c(e.$slots, "default")
978
986
  ], 2);
979
987
  }
980
- const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
988
+ const Ht = /* @__PURE__ */ R(It, [["render", zt]]), Et = [
981
989
  // Layout
982
990
  "grid content-start",
983
991
  "w-full min-w-0 min-h-0",
@@ -985,7 +993,7 @@ const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
985
993
  "overflow-auto",
986
994
  // Interactivity
987
995
  "interactivity-default"
988
- ], Ft = M({
996
+ ], Wt = M({
989
997
  name: "OrDataGridTable",
990
998
  props: {
991
999
  columns: {
@@ -1001,27 +1009,27 @@ const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
1001
1009
  "root"
1002
1010
  ],
1003
1011
  setup(e) {
1004
- const t = D(), n = o(() => [
1012
+ const t = S(), s = n(() => [
1005
1013
  "or-data-grid-table-v3",
1006
- ...Ht
1007
- ]), v = o(() => {
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 ? q : 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})`;
1014
+ ...Et
1015
+ ]), k = n(() => {
1016
+ const g = e.columns.map((i) => {
1017
+ if (i.width && (i.width.includes("minmax") || i.width.includes("calc")))
1018
+ return i.width;
1019
+ const T = i.width ?? "1fr", E = i.minWidth || (i.width ? K : i.fitContent || i.stickiness ? "max-content" : "120px"), C = i.maxWidth || (i.width ? T === "max-content" ? "max-content" : T : i.fitContent || i.minWidth || i.stickiness ? "max-content" : "1fr");
1020
+ return i.fitContent ? "max-content" : T.endsWith("px") ? T : `minmax(${E}, ${C})`;
1013
1021
  });
1014
- return e.features.selecting ? { gridTemplateColumns: `${q} ${g.join(" ")}` } : { gridTemplateColumns: g.join(" ") };
1022
+ return e.features.selecting ? { gridTemplateColumns: `${Z} ${g.join(" ")}` } : { gridTemplateColumns: g.join(" ") };
1015
1023
  });
1016
1024
  return {
1017
1025
  root: t,
1018
- rootStyles: n,
1019
- rootInlineStyles: v
1026
+ rootStyles: s,
1027
+ rootInlineStyles: k
1020
1028
  };
1021
1029
  }
1022
1030
  });
1023
- function Wt(e, t, n, v, g, l) {
1024
- return r(), p("div", {
1031
+ function Ft(e, t, s, k, g, i) {
1032
+ return o(), p("div", {
1025
1033
  ref: "root",
1026
1034
  class: u(e.rootStyles),
1027
1035
  style: A(e.rootInlineStyles)
@@ -1029,20 +1037,20 @@ function Wt(e, t, n, v, g, l) {
1029
1037
  c(e.$slots, "default")
1030
1038
  ], 6);
1031
1039
  }
1032
- const Et = /* @__PURE__ */ R(Ft, [["render", Wt]]), Pt = [
1040
+ const Nt = /* @__PURE__ */ R(Wt, [["render", Ft]]), Pt = [
1033
1041
  // Layout
1034
1042
  "layout-row",
1035
1043
  // Box
1036
1044
  "h-2xl",
1037
1045
  // Spacing
1038
1046
  "gap-xl"
1039
- ], Nt = M({
1047
+ ], Ut = M({
1040
1048
  name: "OrDataGridToolbar",
1041
1049
  expose: [
1042
1050
  "root"
1043
1051
  ],
1044
1052
  setup() {
1045
- const e = D(), t = o(() => [
1053
+ const e = S(), t = n(() => [
1046
1054
  "or-data-grid-toolbar-v3",
1047
1055
  ...Pt
1048
1056
  ]);
@@ -1052,39 +1060,39 @@ const Et = /* @__PURE__ */ R(Ft, [["render", Wt]]), Pt = [
1052
1060
  };
1053
1061
  }
1054
1062
  });
1055
- function jt(e, t, n, v, g, l) {
1056
- return r(), p("div", {
1063
+ function jt(e, t, s, k, g, i) {
1064
+ return o(), p("div", {
1057
1065
  ref: "root",
1058
1066
  class: u(e.rootStyles)
1059
1067
  }, [
1060
1068
  c(e.$slots, "default")
1061
1069
  ], 2);
1062
1070
  }
1063
- const Ut = /* @__PURE__ */ R(Nt, [["render", jt]]), Lt = [
1071
+ const Lt = /* @__PURE__ */ R(Ut, [["render", jt]]), At = [
1064
1072
  // Position
1065
1073
  "grid sticky z-10",
1066
1074
  // Layout
1067
1075
  "col-span-full"
1068
- ], At = {
1069
- [b.Standard]: [
1076
+ ], qt = {
1077
+ [O.Standard]: [
1070
1078
  // Position
1071
1079
  "top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1072
1080
  ],
1073
- [b.Comfortable]: [
1081
+ [O.Comfortable]: [
1074
1082
  // Position
1075
1083
  "top-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
1076
1084
  ],
1077
- [b.Compact]: [
1085
+ [O.Compact]: [
1078
1086
  // Position
1079
1087
  "top-[calc(theme(spacing.xl)+theme(spacing.xs))]"
1080
1088
  ],
1081
- [b.Dynamic]: [
1089
+ [O.Dynamic]: [
1082
1090
  // Position
1083
1091
  "top-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1084
1092
  ]
1085
- }, qt = M({
1093
+ }, Bt = M({
1086
1094
  components: {
1087
- OrNotification: Ge
1095
+ OrNotification: Ve
1088
1096
  },
1089
1097
  props: {
1090
1098
  notification: {
@@ -1101,31 +1109,31 @@ const Ut = /* @__PURE__ */ R(Nt, [["render", jt]]), Lt = [
1101
1109
  ],
1102
1110
  setup(e) {
1103
1111
  return {
1104
- rootStyles: o(() => [
1112
+ rootStyles: n(() => [
1105
1113
  "or-data-grid-notification-v3",
1106
- ...Lt,
1107
- ...At[e.variant]
1114
+ ...At,
1115
+ ...qt[e.variant]
1108
1116
  ])
1109
1117
  };
1110
1118
  }
1111
1119
  });
1112
- function Bt(e, t, n, v, g, l) {
1113
- const S = f("OrNotification");
1114
- return r(), p("div", {
1120
+ function Kt(e, t, s, k, g, i) {
1121
+ const T = m("OrNotification");
1122
+ return o(), p("div", {
1115
1123
  class: u(e.rootStyles)
1116
1124
  }, [
1117
- E(S, ge(e.notification, {
1125
+ W(T, he(e.notification, {
1118
1126
  class: "rounded-0 shadow-none",
1119
- onClose: t[0] || (t[0] = (H) => e.$emit("close-notification"))
1127
+ onClose: t[0] || (t[0] = (E) => e.$emit("close-notification"))
1120
1128
  }), {
1121
- default: k(() => [
1129
+ default: v(() => [
1122
1130
  e.$slots.notification ? c(e.$slots, "notification", { key: 0 }) : h("", !0)
1123
1131
  ]),
1124
1132
  _: 3
1125
1133
  }, 16)
1126
1134
  ], 2);
1127
1135
  }
1128
- const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1136
+ const Xt = /* @__PURE__ */ R(Bt, [["render", Kt]]), Jt = [
1129
1137
  // Layout
1130
1138
  "grid col-span-full grid-cols-[subgrid]",
1131
1139
  // Typography
@@ -1138,24 +1146,24 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1138
1146
  "dark:children:theme-foreground-default-dark",
1139
1147
  "children:theme-background-default",
1140
1148
  "dark:children:theme-background-default-dark"
1141
- ], Jt = {
1142
- [b.Standard]: [
1149
+ ], Qt = {
1150
+ [O.Standard]: [
1143
1151
  // Box
1144
1152
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1145
1153
  ],
1146
- [b.Comfortable]: [
1154
+ [O.Comfortable]: [
1147
1155
  // Box
1148
1156
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
1149
1157
  ],
1150
- [b.Compact]: [
1158
+ [O.Compact]: [
1151
1159
  // Box
1152
1160
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
1153
1161
  ],
1154
- [b.Dynamic]: [
1162
+ [O.Dynamic]: [
1155
1163
  // Box
1156
1164
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
1157
1165
  ]
1158
- }, Qt = M({
1166
+ }, Yt = M({
1159
1167
  name: "OrDataGridTableExtraRow",
1160
1168
  props: {
1161
1169
  variant: {
@@ -1167,51 +1175,51 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1167
1175
  "root"
1168
1176
  ],
1169
1177
  setup(e) {
1170
- const t = D(), n = o(() => [
1178
+ const t = S(), s = n(() => [
1171
1179
  "or-data-grid-table-extra-row-v3",
1172
- ...Xt,
1173
- ...Jt[e.variant]
1180
+ ...Jt,
1181
+ ...Qt[e.variant]
1174
1182
  ]);
1175
1183
  return {
1176
1184
  root: t,
1177
- rootStyles: n
1185
+ rootStyles: s
1178
1186
  };
1179
1187
  }
1180
1188
  });
1181
- function Yt(e, t, n, v, g, l) {
1182
- return r(), p("div", {
1189
+ function Zt(e, t, s, k, g, i) {
1190
+ return o(), p("div", {
1183
1191
  ref: "root",
1184
1192
  class: u(e.rootStyles)
1185
1193
  }, [
1186
1194
  c(e.$slots, "default")
1187
1195
  ], 2);
1188
1196
  }
1189
- const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1197
+ const _t = /* @__PURE__ */ R(Yt, [["render", Zt]]), xt = [
1190
1198
  // Layout
1191
1199
  "layout-column min-h-0"
1192
- ], xt = M({
1200
+ ], ea = M({
1193
1201
  name: "OrDataGrid",
1194
1202
  components: {
1195
- OrCheckbox: ne,
1196
- OrDataGridFooter: He,
1203
+ OrCheckbox: le,
1204
+ OrDataGridFooter: Ee,
1197
1205
  OrDataGridHeader: je,
1198
- OrDataGridTable: Et,
1199
- OrDataGridTableContent: tt,
1200
- OrDataGridTableContentCell: Be,
1201
- OrDataGridTableContentRow: Ze,
1202
- OrDataGridTableFooter: gt,
1203
- OrDataGridTableFooterCell: nt,
1204
- OrDataGridTableFooterRow: ct,
1205
- OrDataGridTableExtraRow: Zt,
1206
- OrDataGridTableHeader: Gt,
1206
+ OrDataGridTable: Nt,
1207
+ OrDataGridTableContent: at,
1208
+ OrDataGridTableContentCell: Ke,
1209
+ OrDataGridTableContentRow: _e,
1210
+ OrDataGridTableFooter: ht,
1211
+ OrDataGridTableFooterCell: st,
1212
+ OrDataGridTableFooterRow: ut,
1213
+ OrDataGridTableExtraRow: _t,
1214
+ OrDataGridTableHeader: Vt,
1207
1215
  OrDataGridTableHeaderCell: yt,
1208
- OrDataGridTableHeaderRow: Dt,
1209
- OrDataGridTablePlaceholder: zt,
1210
- OrDataGridToolbar: Ut,
1211
- OrDataGridNotification: Kt,
1212
- OrPagination: ce,
1213
- OrSearch: ue,
1214
- OrSkeletonText: me
1216
+ OrDataGridTableHeaderRow: St,
1217
+ OrDataGridTablePlaceholder: Ht,
1218
+ OrDataGridToolbar: Lt,
1219
+ OrDataGridNotification: Xt,
1220
+ OrPagination: me,
1221
+ OrSearch: fe,
1222
+ OrSkeletonText: ge
1215
1223
  },
1216
1224
  model: {
1217
1225
  prop: "modelValue",
@@ -1232,7 +1240,7 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1232
1240
  },
1233
1241
  variant: {
1234
1242
  type: String,
1235
- default: () => b.Standard
1243
+ default: () => O.Standard
1236
1244
  },
1237
1245
  features: {
1238
1246
  type: Object,
@@ -1265,23 +1273,23 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1265
1273
  "root"
1266
1274
  ],
1267
1275
  setup(e, t) {
1268
- const n = D(), v = D(), g = D(), l = o(() => [
1276
+ const s = S(), k = S(), g = S(), i = n(() => [
1269
1277
  "or-data-grid-v3",
1270
- ..._t
1271
- ]), S = o(() => ({
1278
+ ...xt
1279
+ ]), T = n(() => ({
1272
1280
  scrollPaddingInlineStart: `${[...V.value.values()].reduce((a, $) => a + $, 0)}px`,
1273
- scrollPaddingInlineEnd: `${[...W.value.values()].reduce((a, $) => a + $, 0)}px`
1274
- })), H = o({
1275
- get: () => !!e.items.length && e.items.every((a) => T.value.includes(a.id)),
1281
+ scrollPaddingInlineEnd: `${[...z.value.values()].reduce((a, $) => a + $, 0)}px`
1282
+ })), E = n({
1283
+ get: () => !!e.items.length && e.items.every((a) => C.value.includes(a.id)),
1276
1284
  set: (a) => {
1277
- a ? T.value = [
1285
+ a ? C.value = [
1278
1286
  .../* @__PURE__ */ new Set([
1279
- ...T.value,
1287
+ ...C.value,
1280
1288
  ...e.items.map(($) => $.id)
1281
1289
  ])
1282
- ] : T.value = [];
1290
+ ] : C.value = [];
1283
1291
  }
1284
- }), T = o({
1292
+ }), C = n({
1285
1293
  get: () => {
1286
1294
  var a;
1287
1295
  return ((a = e.modelValue) == null ? void 0 : a.selecting) ?? [];
@@ -1289,22 +1297,22 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1289
1297
  set: (a) => {
1290
1298
  t.emit("update:modelValue", {
1291
1299
  selecting: a,
1292
- filtering: O.value,
1293
- searching: C.value,
1300
+ filtering: f.value,
1301
+ searching: D.value,
1294
1302
  sorting: I.value,
1295
1303
  paging: G.value
1296
1304
  });
1297
1305
  }
1298
- }), O = o({
1306
+ }), f = n({
1299
1307
  get: () => {
1300
1308
  var a;
1301
1309
  return (a = e.modelValue) == null ? void 0 : a.filtering;
1302
1310
  },
1303
1311
  set: (a) => {
1304
1312
  t.emit("update:modelValue", {
1305
- selecting: T.value,
1313
+ selecting: C.value,
1306
1314
  filtering: a,
1307
- searching: C.value,
1315
+ searching: D.value,
1308
1316
  sorting: I.value,
1309
1317
  paging: {
1310
1318
  ...G.value,
@@ -1312,15 +1320,15 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1312
1320
  }
1313
1321
  });
1314
1322
  }
1315
- }), C = o({
1323
+ }), D = n({
1316
1324
  get: () => {
1317
1325
  var a;
1318
1326
  return (a = e.modelValue) == null ? void 0 : a.searching;
1319
1327
  },
1320
1328
  set: (a) => {
1321
1329
  t.emit("update:modelValue", {
1322
- selecting: T.value,
1323
- filtering: O.value,
1330
+ selecting: C.value,
1331
+ filtering: f.value,
1324
1332
  searching: a,
1325
1333
  sorting: I.value,
1326
1334
  paging: {
@@ -1329,16 +1337,16 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1329
1337
  }
1330
1338
  });
1331
1339
  }
1332
- }), I = o({
1340
+ }), I = n({
1333
1341
  get: () => {
1334
1342
  var a;
1335
1343
  return (a = e.modelValue) == null ? void 0 : a.sorting;
1336
1344
  },
1337
1345
  set: (a) => {
1338
1346
  t.emit("update:modelValue", {
1339
- selecting: T.value,
1340
- filtering: O.value,
1341
- searching: C.value,
1347
+ selecting: C.value,
1348
+ filtering: f.value,
1349
+ searching: D.value,
1342
1350
  sorting: a,
1343
1351
  paging: {
1344
1352
  ...G.value,
@@ -1346,22 +1354,22 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1346
1354
  }
1347
1355
  });
1348
1356
  }
1349
- }), G = o({
1357
+ }), G = n({
1350
1358
  get: () => {
1351
1359
  var a;
1352
1360
  return (a = e.modelValue) == null ? void 0 : a.paging;
1353
1361
  },
1354
1362
  set: (a) => {
1355
1363
  t.emit("update:modelValue", {
1356
- selecting: T.value,
1357
- filtering: O.value,
1358
- searching: C.value,
1364
+ selecting: C.value,
1365
+ filtering: f.value,
1366
+ searching: D.value,
1359
1367
  sorting: I.value,
1360
1368
  paging: a
1361
1369
  });
1362
1370
  }
1363
1371
  });
1364
- se(() => {
1372
+ ie(() => {
1365
1373
  var a;
1366
1374
  return (a = G.value) == null ? void 0 : a.offset;
1367
1375
  }, () => {
@@ -1371,130 +1379,130 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1371
1379
  behavior: "smooth"
1372
1380
  });
1373
1381
  });
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(() => {
1382
+ const N = n(() => e.features.selecting && (typeof e.features.selecting == "object" ? e.features.selecting.showCounter !== !1 : !0)), F = n(() => e.items.length === 0 || e.loading || typeof e.features.selecting == "object" && e.features.selecting.disabled), r = n(() => {
1375
1383
  var a;
1376
- return ((a = v.value) == null ? void 0 : a.currentLimit) || 10;
1377
- }), F = D({}), P = o(() => e.columns.map((a) => ({
1384
+ return ((a = k.value) == null ? void 0 : a.currentLimit) || 10;
1385
+ }), b = S({}), w = n(() => e.columns.map((a) => ({
1378
1386
  ...a,
1379
- width: F.value[a.name] || a.width
1380
- }))), V = D(/* @__PURE__ */ new Map()), W = D(/* @__PURE__ */ new Map()), X = o(() => {
1381
- const a = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map(), z = [], te = [];
1382
- e.features.selecting && z.push({
1387
+ width: b.value[a.name] || a.width
1388
+ }))), V = S(/* @__PURE__ */ new Map()), z = S(/* @__PURE__ */ new Map()), q = n(() => {
1389
+ const a = /* @__PURE__ */ new Map(), $ = /* @__PURE__ */ new Map(), H = [], ae = [];
1390
+ e.features.selecting && H.push({
1383
1391
  name: "_check",
1384
1392
  stickiness: "start"
1385
- }), P.value.forEach((N) => {
1386
- N.stickiness === "start" ? z.push(N) : N.stickiness === "end" && te.push(N);
1387
- });
1388
- let ae = 0;
1389
- z.forEach((N) => {
1390
- a.set(N.name, ae), ae += V.value.get(N.name) || 0;
1393
+ }), w.value.forEach((P) => {
1394
+ P.stickiness === "start" ? H.push(P) : P.stickiness === "end" && ae.push(P);
1391
1395
  });
1392
1396
  let re = 0;
1393
- return [...te].reverse().forEach((N) => {
1394
- $.set(N.name, re), re += W.value.get(N.name) || 0;
1397
+ H.forEach((P) => {
1398
+ a.set(P.name, re), re += V.value.get(P.name) || 0;
1399
+ });
1400
+ let oe = 0;
1401
+ return [...ae].reverse().forEach((P) => {
1402
+ $.set(P.name, oe), oe += z.value.get(P.name) || 0;
1395
1403
  }), {
1396
1404
  start: a,
1397
1405
  end: $
1398
1406
  };
1399
1407
  });
1400
- function j(a) {
1401
- C.value = a;
1408
+ function X(a) {
1409
+ D.value = a;
1402
1410
  }
1403
- function U(a, $, z) {
1404
- switch (z.stickiness) {
1411
+ function J(a, $, H) {
1412
+ switch (H.stickiness) {
1405
1413
  case "start":
1406
- V.value.set(z.name, $), V.value = new Map(V.value), W.value.delete(z.name), W.value = new Map(W.value);
1414
+ V.value.set(H.name, $), V.value = new Map(V.value), z.value.delete(H.name), z.value = new Map(z.value);
1407
1415
  break;
1408
1416
  case "end":
1409
- V.value.delete(z.name), V.value = new Map(V.value), W.value.set(z.name, $), W.value = new Map(W.value);
1417
+ V.value.delete(H.name), V.value = new Map(V.value), z.value.set(H.name, $), z.value = new Map(z.value);
1410
1418
  break;
1411
1419
  default:
1412
- ee(z.name);
1420
+ te(H.name);
1413
1421
  break;
1414
1422
  }
1415
1423
  }
1416
- function B(a) {
1424
+ function U(a) {
1417
1425
  e.interactiveRows && t.emit("hover:row", a);
1418
1426
  }
1419
- function K(a) {
1427
+ function L(a) {
1420
1428
  e.interactiveRows && t.emit("blur:row", a);
1421
1429
  }
1422
- function L(a, $, z) {
1430
+ function B(a, $, H) {
1423
1431
  e.interactiveRows && t.emit("hover:cell", {
1424
1432
  item: a,
1425
1433
  columnName: $,
1426
- value: z
1434
+ value: H
1427
1435
  });
1428
1436
  }
1429
- function i(a, $, z) {
1437
+ function l(a, $, H) {
1430
1438
  e.interactiveRows && t.emit("blur:cell", {
1431
1439
  item: a,
1432
1440
  columnName: $,
1433
- value: z
1441
+ value: H
1434
1442
  });
1435
1443
  }
1436
- function m(a) {
1444
+ function d(a) {
1437
1445
  e.interactiveRows && t.emit("click:row", a);
1438
1446
  }
1439
- function J(a, $) {
1440
- F.value = {
1441
- ...F.value,
1447
+ function j(a, $) {
1448
+ b.value = {
1449
+ ...b.value,
1442
1450
  [a.name]: `${$}px`
1443
- }, e.features.storageKey && le();
1451
+ }, e.features.storageKey && de();
1444
1452
  }
1445
- function le() {
1453
+ function de() {
1446
1454
  if (typeof window > "u" || !e.features.storageKey) return;
1447
1455
  const a = {};
1448
- P.value.forEach(($) => {
1456
+ w.value.forEach(($) => {
1449
1457
  $.name && $.width && (a[$.name] = $.width);
1450
1458
  }), localStorage.setItem(`or-data-grid-v3-widths-${e.features.storageKey}`, JSON.stringify(a));
1451
1459
  }
1452
- function ie() {
1460
+ function ce() {
1453
1461
  if (!(typeof window > "u" || !e.features.storageKey))
1454
1462
  try {
1455
1463
  const a = localStorage.getItem(`or-data-grid-v3-widths-${e.features.storageKey}`);
1456
1464
  if (a) {
1457
1465
  const $ = JSON.parse(a);
1458
- F.value = $;
1466
+ b.value = $;
1459
1467
  }
1460
1468
  } catch (a) {
1461
1469
  console.error("[OrDataGrid]: Failed to load column widths from localStorage", a);
1462
1470
  }
1463
1471
  }
1464
- he(() => {
1465
- ie();
1472
+ pe(() => {
1473
+ ce();
1466
1474
  });
1467
- function ee(a) {
1468
- V.value.delete(a), V.value = new Map(V.value), W.value.delete(a), W.value = new Map(W.value);
1475
+ function te(a) {
1476
+ V.value.delete(a), V.value = new Map(V.value), z.value.delete(a), z.value = new Map(z.value);
1469
1477
  }
1470
- function de(a) {
1478
+ function ue(a) {
1471
1479
  a.currentTarget.scrollIntoView({ block: "nearest" });
1472
1480
  }
1473
1481
  return {
1474
- root: n,
1475
- rootStyles: l,
1476
- pagination: v,
1477
- tableInlineStyles: S,
1478
- selectingIndicator: H,
1479
- showSelectingCouter: d,
1480
- selectingDisabled: w,
1481
- skeletonsLength: s,
1482
- actualColumns: P,
1483
- handleMouseEnterRow: B,
1484
- handleMouseLeaveRow: K,
1485
- handleMouseEnterCell: L,
1486
- handleMouseLeaveCell: i,
1487
- handleRowClick: m,
1488
- updateColumnWidth: J,
1489
- selectingModel: T,
1490
- filteringModel: O,
1491
- searchingModel: C,
1482
+ root: s,
1483
+ rootStyles: i,
1484
+ pagination: k,
1485
+ tableInlineStyles: T,
1486
+ selectingIndicator: E,
1487
+ showSelectingCouter: N,
1488
+ selectingDisabled: F,
1489
+ skeletonsLength: r,
1490
+ actualColumns: w,
1491
+ handleMouseEnterRow: U,
1492
+ handleMouseLeaveRow: L,
1493
+ handleMouseEnterCell: B,
1494
+ handleMouseLeaveCell: l,
1495
+ handleRowClick: d,
1496
+ updateColumnWidth: j,
1497
+ selectingModel: C,
1498
+ filteringModel: f,
1499
+ searchingModel: D,
1492
1500
  sortingModel: I,
1493
1501
  pagingModel: G,
1494
- stickyOffsets: X,
1495
- updateScrollOffset: U,
1496
- removeScrollOffset: ee,
1497
- updateSearchingModel: j,
1502
+ stickyOffsets: q,
1503
+ updateScrollOffset: J,
1504
+ removeScrollOffset: te,
1505
+ updateSearchingModel: X,
1498
1506
  scrollToTop: () => {
1499
1507
  var a;
1500
1508
  (a = g.value) != null && a.root && g.value.root.scrollTo({
@@ -1502,37 +1510,37 @@ const Zt = /* @__PURE__ */ R(Qt, [["render", Yt]]), _t = [
1502
1510
  behavior: "smooth"
1503
1511
  });
1504
1512
  },
1505
- scrollTo: de,
1506
- onInput: (a, $, z) => {
1507
- a[$] = z, t.emit("update:item", a);
1513
+ scrollTo: ue,
1514
+ onInput: (a, $, H) => {
1515
+ a[$] = H, t.emit("update:item", a);
1508
1516
  }
1509
1517
  };
1510
1518
  }
1511
1519
  });
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"), B = f("OrDataGridTableFooter"), K = f("OrPagination"), L = f("OrDataGridFooter");
1514
- return r(), p("div", {
1520
+ function ta(e, t, s, k, g, i) {
1521
+ const T = m("OrSearch"), E = m("OrDataGridHeader"), C = m("OrDataGridToolbar"), f = m("OrCheckbox"), D = m("OrDataGridTableHeaderCell"), I = m("OrDataGridTableHeaderRow"), G = m("OrDataGridTableHeader"), N = m("OrDataGridNotification"), F = m("OrDataGridTableExtraRow"), r = m("OrSkeletonText"), b = m("OrDataGridTableContentCell"), w = m("OrDataGridTableContentRow"), V = m("OrDataGridTablePlaceholder"), z = m("OrDataGridTableContent"), q = m("OrDataGridTable"), X = m("OrDataGridTableFooterCell"), J = m("OrDataGridTableFooterRow"), U = m("OrDataGridTableFooter"), L = m("OrPagination"), B = m("OrDataGridFooter");
1522
+ return o(), p("div", {
1515
1523
  ref: "root",
1516
1524
  class: u(e.rootStyles)
1517
1525
  }, [
1518
- e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (r(), y(H, {
1526
+ e.$slots.title || e.features.searching || e.$slots.search || e.$slots.extraActions ? (o(), y(E, {
1519
1527
  key: 0,
1520
1528
  class: u(["shrink-0"])
1521
- }, Z({ _: 2 }, [
1529
+ }, _({ _: 2 }, [
1522
1530
  e.$slots.title ? {
1523
1531
  name: "title",
1524
- fn: k(() => [
1532
+ fn: v(() => [
1525
1533
  c(e.$slots, "title")
1526
1534
  ]),
1527
1535
  key: "0"
1528
1536
  } : void 0,
1529
1537
  e.features.searching ? {
1530
1538
  name: "searching",
1531
- fn: k(() => [
1532
- c(e.$slots, "search", pe(ve({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1533
- E(S, {
1539
+ fn: v(() => [
1540
+ c(e.$slots, "search", ke(be({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1541
+ W(T, {
1534
1542
  modelValue: e.searchingModel,
1535
- "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchingModel = i)
1543
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchingModel = l)
1536
1544
  }, null, 8, ["modelValue"])
1537
1545
  ])
1538
1546
  ]),
@@ -1540,34 +1548,34 @@ function ea(e, t, n, v, g, l) {
1540
1548
  } : void 0,
1541
1549
  e.$slots.extraActions ? {
1542
1550
  name: "extraActions",
1543
- fn: k(() => [
1551
+ fn: v(() => [
1544
1552
  c(e.$slots, "extraActions")
1545
1553
  ]),
1546
1554
  key: "2"
1547
1555
  } : void 0
1548
1556
  ]), 1024)) : h("", !0),
1549
- e.$slots.toolbar ? (r(), y(T, {
1557
+ e.$slots.toolbar ? (o(), y(C, {
1550
1558
  key: 1,
1551
1559
  class: u(["shrink-0"])
1552
1560
  }, {
1553
- default: k(() => [
1561
+ default: v(() => [
1554
1562
  c(e.$slots, "toolbar")
1555
1563
  ]),
1556
1564
  _: 3
1557
1565
  })) : h("", !0),
1558
- E(X, {
1566
+ W(q, {
1559
1567
  ref: "table",
1560
1568
  class: u(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1561
1569
  style: A(e.tableInlineStyles),
1562
1570
  columns: e.actualColumns,
1563
1571
  features: e.features
1564
1572
  }, {
1565
- default: k(() => [
1566
- E(G, null, {
1567
- default: k(() => [
1568
- E(I, { variant: e.variant }, {
1569
- default: k(() => [
1570
- e.features.selecting ? (r(), y(C, {
1573
+ default: v(() => [
1574
+ W(G, null, {
1575
+ default: v(() => [
1576
+ W(I, { variant: e.variant }, {
1577
+ default: v(() => [
1578
+ e.features.selecting ? (o(), y(D, {
1571
1579
  key: 0,
1572
1580
  column: { name: "_check", stickiness: "start" },
1573
1581
  "sticky-offset": e.stickyOffsets.start.get("_check"),
@@ -1575,29 +1583,29 @@ function ea(e, t, n, v, g, l) {
1575
1583
  "onUpdate:scrollOffset": e.updateScrollOffset,
1576
1584
  "onRemove:scrollOffset": e.removeScrollOffset
1577
1585
  }, {
1578
- default: k(() => [
1579
- E(O, {
1586
+ default: v(() => [
1587
+ W(f, {
1580
1588
  modelValue: e.selectingIndicator,
1581
- "onUpdate:modelValue": t[1] || (t[1] = (i) => e.selectingIndicator = i),
1589
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => e.selectingIndicator = l),
1582
1590
  indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
1583
1591
  disabled: e.selectingDisabled
1584
1592
  }, null, 8, ["modelValue", "indeterminate", "disabled"])
1585
1593
  ]),
1586
1594
  _: 1
1587
1595
  }, 8, ["sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset"])) : h("", !0),
1588
- (r(!0), p(Q, null, Y(e.actualColumns, (i) => (r(), y(C, {
1589
- key: i.name,
1596
+ (o(!0), p(Q, null, Y(e.actualColumns, (l) => (o(), y(D, {
1597
+ key: l.name,
1590
1598
  modelValue: e.sortingModel,
1591
- "onUpdate:modelValue": t[2] || (t[2] = (m) => e.sortingModel = m),
1592
- column: i,
1599
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => e.sortingModel = d),
1600
+ column: l,
1593
1601
  features: e.features,
1594
- "sticky-offset": i.stickiness === "start" ? e.stickyOffsets.start.get(i.name) : i.stickiness === "end" ? e.stickyOffsets.end.get(i.name) : void 0,
1602
+ "sticky-offset": l.stickiness === "start" ? e.stickyOffsets.start.get(l.name) : l.stickiness === "end" ? e.stickyOffsets.end.get(l.name) : void 0,
1595
1603
  "onUpdate:scrollOffset": e.updateScrollOffset,
1596
1604
  "onRemove:scrollOffset": e.removeScrollOffset,
1597
- "onUpdate:columnWidth": (m) => e.updateColumnWidth(i, m)
1605
+ "onUpdate:columnWidth": (d) => e.updateColumnWidth(l, d)
1598
1606
  }, {
1599
- default: k(() => [
1600
- _(x(i.label), 1)
1607
+ default: v(() => [
1608
+ x(ee(l.label), 1)
1601
1609
  ]),
1602
1610
  _: 2
1603
1611
  }, 1032, ["modelValue", "column", "features", "sticky-offset", "onUpdate:scrollOffset", "onRemove:scrollOffset", "onUpdate:columnWidth"]))), 128))
@@ -1607,78 +1615,78 @@ function ea(e, t, n, v, g, l) {
1607
1615
  ]),
1608
1616
  _: 1
1609
1617
  }),
1610
- e.notification ? (r(), y(d, {
1618
+ e.notification ? (o(), y(N, {
1611
1619
  key: 0,
1612
1620
  notification: e.notification,
1613
1621
  variant: e.variant,
1614
- onCloseNotification: t[3] || (t[3] = (i) => e.$emit("close-notification"))
1615
- }, Z({ _: 2 }, [
1622
+ onCloseNotification: t[3] || (t[3] = (l) => e.$emit("close-notification"))
1623
+ }, _({ _: 2 }, [
1616
1624
  e.$slots.notification ? {
1617
1625
  name: "notification",
1618
- fn: k(() => [
1626
+ fn: v(() => [
1619
1627
  c(e.$slots, "notification")
1620
1628
  ]),
1621
1629
  key: "0"
1622
1630
  } : void 0
1623
1631
  ]), 1032, ["notification", "variant"])) : h("", !0),
1624
- E(W, null, {
1625
- default: k(() => [
1626
- e.$slots["before-rows"] ? (r(), y(w, {
1632
+ W(z, null, {
1633
+ default: v(() => [
1634
+ e.$slots["before-rows"] ? (o(), y(F, {
1627
1635
  key: 0,
1628
1636
  variant: e.variant,
1629
1637
  class: "border-b-1"
1630
1638
  }, {
1631
- default: k(() => [
1639
+ default: v(() => [
1632
1640
  c(e.$slots, "before-rows")
1633
1641
  ]),
1634
1642
  _: 3
1635
1643
  }, 8, ["variant"])) : h("", !0),
1636
- e.loading ? (r(!0), p(Q, { key: 1 }, Y(e.skeletonsLength, (i) => (r(), y(P, {
1637
- key: i,
1644
+ e.loading ? (o(!0), p(Q, { key: 1 }, Y(e.skeletonsLength, (l) => (o(), y(w, {
1645
+ key: l,
1638
1646
  variant: e.variant,
1639
1647
  interactive: e.interactiveRows
1640
1648
  }, {
1641
- default: k(() => [
1642
- e.features.selecting ? (r(), y(F, {
1649
+ default: v(() => [
1650
+ e.features.selecting ? (o(), y(b, {
1643
1651
  key: 0,
1644
1652
  column: { name: "_check", stickiness: "start" },
1645
1653
  "sticky-offset": e.stickyOffsets.start.get("_check"),
1646
1654
  variant: e.variant,
1647
1655
  override: !0
1648
1656
  }, {
1649
- default: k(() => [
1650
- E(s)
1657
+ default: v(() => [
1658
+ W(r)
1651
1659
  ]),
1652
1660
  _: 1
1653
1661
  }, 8, ["sticky-offset", "variant"])) : h("", !0),
1654
- (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(F, {
1655
- key: m.name,
1656
- column: m,
1662
+ (o(!0), p(Q, null, Y(e.actualColumns, (d) => (o(), y(b, {
1663
+ key: d.name,
1664
+ column: d,
1657
1665
  features: e.features,
1658
- "sticky-offset": m.stickiness === "start" ? e.stickyOffsets.start.get(m.name) : m.stickiness === "end" ? e.stickyOffsets.end.get(m.name) : void 0,
1666
+ "sticky-offset": d.stickiness === "start" ? e.stickyOffsets.start.get(d.name) : d.stickiness === "end" ? e.stickyOffsets.end.get(d.name) : void 0,
1659
1667
  variant: e.variant,
1660
1668
  override: !0
1661
1669
  }, {
1662
- default: k(() => [
1663
- c(e.$slots, "column-loading", { column: m }, () => [
1664
- E(s)
1670
+ default: v(() => [
1671
+ c(e.$slots, "column-loading", { column: d }, () => [
1672
+ W(r)
1665
1673
  ])
1666
1674
  ]),
1667
1675
  _: 2
1668
1676
  }, 1032, ["column", "features", "sticky-offset", "variant"]))), 128))
1669
1677
  ]),
1670
1678
  _: 2
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,
1679
+ }, 1032, ["variant", "interactive"]))), 128)) : e.items.length > 0 ? (o(!0), p(Q, { key: 2 }, Y(e.items, (l) => (o(), y(w, {
1680
+ key: l.id,
1673
1681
  variant: e.variant,
1674
- selected: e.selectingModel.includes(i.id),
1682
+ selected: e.selectingModel.includes(l.id),
1675
1683
  interactive: e.interactiveRows,
1676
- onMouseenter: () => e.handleMouseEnterRow(i),
1677
- onMouseleave: () => e.handleMouseLeaveRow(i),
1678
- onClick: () => e.handleRowClick(i)
1684
+ onMouseenter: () => e.handleMouseEnterRow(l),
1685
+ onMouseleave: () => e.handleMouseLeaveRow(l),
1686
+ onClick: () => e.handleRowClick(l)
1679
1687
  }, {
1680
- default: k(() => [
1681
- e.features.selecting ? (r(), y(F, {
1688
+ default: v(() => [
1689
+ e.features.selecting ? (o(), y(b, {
1682
1690
  key: 0,
1683
1691
  column: { name: "_check", stickiness: "start" },
1684
1692
  "sticky-offset": e.stickyOffsets.start.get("_check"),
@@ -1686,70 +1694,70 @@ function ea(e, t, n, v, g, l) {
1686
1694
  override: !0,
1687
1695
  "force-state": "none",
1688
1696
  class: "md:!py-none",
1689
- onMouseenter: () => e.handleMouseEnterCell(i, "selecting", e.selectingModel.includes(i.id)),
1690
- onMouseleave: () => e.handleMouseLeaveCell(i, "selecting", e.selectingModel.includes(i.id))
1697
+ onMouseenter: () => e.handleMouseEnterCell(l, "selecting", e.selectingModel.includes(l.id)),
1698
+ onMouseleave: () => e.handleMouseLeaveCell(l, "selecting", e.selectingModel.includes(l.id))
1691
1699
  }, {
1692
- default: k(() => [
1693
- E(O, {
1700
+ default: v(() => [
1701
+ W(f, {
1694
1702
  modelValue: e.selectingModel,
1695
- "onUpdate:modelValue": t[4] || (t[4] = (m) => e.selectingModel = m),
1696
- value: i.id,
1703
+ "onUpdate:modelValue": t[4] || (t[4] = (d) => e.selectingModel = d),
1704
+ value: l.id,
1697
1705
  disabled: e.selectingDisabled
1698
1706
  }, null, 8, ["modelValue", "value", "disabled"])
1699
1707
  ]),
1700
1708
  _: 2
1701
1709
  }, 1032, ["sticky-offset", "variant", "onMouseenter", "onMouseleave"])) : h("", !0),
1702
- (r(!0), p(Q, null, Y(e.actualColumns, (m) => (r(), y(F, {
1703
- key: m.name,
1704
- "model-value": i[m.name],
1705
- column: m,
1710
+ (o(!0), p(Q, null, Y(e.actualColumns, (d) => (o(), y(b, {
1711
+ key: d.name,
1712
+ "model-value": l[d.name],
1713
+ column: d,
1706
1714
  features: e.features,
1707
- "sticky-offset": m.stickiness === "start" ? e.stickyOffsets.start.get(m.name) : m.stickiness === "end" ? e.stickyOffsets.end.get(m.name) : void 0,
1715
+ "sticky-offset": d.stickiness === "start" ? e.stickyOffsets.start.get(d.name) : d.stickiness === "end" ? e.stickyOffsets.end.get(d.name) : void 0,
1708
1716
  variant: e.variant,
1709
- onInput: (J) => e.onInput(i, m.name, J),
1710
- onFocusin: t[5] || (t[5] = (J) => e.scrollTo(J)),
1711
- onMouseenter: () => e.handleMouseEnterCell(i, m.name, i[m.name]),
1712
- onMouseleave: () => e.handleMouseLeaveCell(i, m.name, i[m.name])
1717
+ onInput: (j) => e.onInput(l, d.name, j),
1718
+ onFocusin: t[5] || (t[5] = (j) => e.scrollTo(j)),
1719
+ onMouseenter: () => e.handleMouseEnterCell(l, d.name, l[d.name]),
1720
+ onMouseleave: () => e.handleMouseLeaveCell(l, d.name, l[d.name])
1713
1721
  }, {
1714
- default: k(() => [
1715
- c(e.$slots, m.name, {
1716
- column: m,
1717
- item: i
1722
+ default: v(() => [
1723
+ c(e.$slots, d.name, {
1724
+ column: d,
1725
+ item: l
1718
1726
  }, () => [
1719
- _(x(i[m.name]), 1)
1727
+ x(ee(l[d.name]), 1)
1720
1728
  ])
1721
1729
  ]),
1722
1730
  _: 2
1723
1731
  }, 1032, ["model-value", "column", "features", "sticky-offset", "variant", "onInput", "onMouseenter", "onMouseleave"]))), 128))
1724
1732
  ]),
1725
1733
  _: 2
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, {
1734
+ }, 1032, ["variant", "selected", "interactive", "onMouseenter", "onMouseleave", "onClick"]))), 128)) : e.$slots.noSearchResults && (e.features.filtering && e.filteringModel || e.features.searching && e.searchingModel) ? (o(), y(V, {
1727
1735
  key: 3,
1728
1736
  class: u(["col-span-full"]),
1729
1737
  variant: e.variant
1730
1738
  }, {
1731
- default: k(() => [
1739
+ default: v(() => [
1732
1740
  c(e.$slots, "noSearchResults", {
1733
1741
  filter: e.filteringModel,
1734
1742
  search: e.searchingModel
1735
1743
  })
1736
1744
  ]),
1737
1745
  _: 3
1738
- }, 8, ["variant"])) : e.$slots.empty ? (r(), y(V, {
1746
+ }, 8, ["variant"])) : e.$slots.empty ? (o(), y(V, {
1739
1747
  key: 4,
1740
1748
  class: u(["col-span-full"]),
1741
1749
  variant: e.variant
1742
1750
  }, {
1743
- default: k(() => [
1751
+ default: v(() => [
1744
1752
  c(e.$slots, "empty")
1745
1753
  ]),
1746
1754
  _: 3
1747
1755
  }, 8, ["variant"])) : h("", !0),
1748
- e.$slots["after-rows"] ? (r(), y(w, {
1756
+ e.$slots["after-rows"] ? (o(), y(F, {
1749
1757
  key: 5,
1750
1758
  variant: e.variant
1751
1759
  }, {
1752
- default: k(() => [
1760
+ default: v(() => [
1753
1761
  c(e.$slots, "after-rows")
1754
1762
  ]),
1755
1763
  _: 3
@@ -1760,15 +1768,15 @@ function ea(e, t, n, v, g, l) {
1760
1768
  ]),
1761
1769
  _: 3
1762
1770
  }, 8, ["class", "style", "columns", "features"]),
1763
- e.$slots["extra-row"] ? (r(), y(B, { key: 2 }, {
1764
- default: k(() => [
1765
- E(U, {
1771
+ e.$slots["extra-row"] ? (o(), y(U, { key: 2 }, {
1772
+ default: v(() => [
1773
+ W(J, {
1766
1774
  class: u(["shrink-0"]),
1767
1775
  variant: e.variant
1768
1776
  }, {
1769
- default: k(() => [
1770
- E(j, null, {
1771
- default: k(() => [
1777
+ default: v(() => [
1778
+ W(X, null, {
1779
+ default: v(() => [
1772
1780
  c(e.$slots, "extra-row")
1773
1781
  ]),
1774
1782
  _: 3
@@ -1779,31 +1787,31 @@ function ea(e, t, n, v, g, l) {
1779
1787
  ]),
1780
1788
  _: 3
1781
1789
  })) : h("", !0),
1782
- e.$slots.actions || e.showSelectingCouter || e.features.paging ? (r(), y(L, {
1790
+ e.$slots.actions || e.showSelectingCouter || e.features.paging ? (o(), y(B, {
1783
1791
  key: 3,
1784
1792
  class: u(["shrink-0"])
1785
- }, Z({ _: 2 }, [
1793
+ }, _({ _: 2 }, [
1786
1794
  e.features.selecting && e.selectingModel.length > 0 ? {
1787
1795
  name: "status",
1788
- fn: k(() => [
1789
- _(x(e.selectingModel.length) + " row(s) selected ", 1)
1796
+ fn: v(() => [
1797
+ x(ee(e.selectingModel.length) + " row(s) selected ", 1)
1790
1798
  ]),
1791
1799
  key: "0"
1792
1800
  } : void 0,
1793
1801
  e.$slots.actions ? {
1794
1802
  name: "actions",
1795
- fn: k(() => [
1803
+ fn: v(() => [
1796
1804
  c(e.$slots, "actions")
1797
1805
  ]),
1798
1806
  key: "1"
1799
1807
  } : void 0,
1800
1808
  e.features.paging ? {
1801
1809
  name: "paging",
1802
- fn: k(() => [
1803
- E(K, {
1810
+ fn: v(() => [
1811
+ W(L, {
1804
1812
  ref: "pagination",
1805
1813
  modelValue: e.pagingModel,
1806
- "onUpdate:modelValue": t[6] || (t[6] = (i) => e.pagingModel = i),
1814
+ "onUpdate:modelValue": t[6] || (t[6] = (l) => e.pagingModel = l),
1807
1815
  length: e.features.paging.length,
1808
1816
  options: e.features.paging.options
1809
1817
  }, null, 8, ["modelValue", "length", "options"])
@@ -1813,26 +1821,27 @@ function ea(e, t, n, v, g, l) {
1813
1821
  ]), 1024)) : h("", !0)
1814
1822
  ], 2);
1815
1823
  }
1816
- const ba = /* @__PURE__ */ R(xt, [["render", ea]]);
1824
+ const Oa = /* @__PURE__ */ R(ea, [["render", ta]]);
1817
1825
  export {
1818
- b as D,
1819
- ba as O,
1820
- q as a,
1821
- He as b,
1822
- je as c,
1823
- Be as d,
1824
- Ze as e,
1825
- tt as f,
1826
- nt as g,
1827
- ct as h,
1828
- gt as i,
1829
- yt as j,
1830
- Dt as k,
1831
- Gt as l,
1832
- zt as m,
1833
- Et as n,
1834
- Ut as o,
1835
- Kt as p,
1836
- Zt as q
1826
+ O as D,
1827
+ Oa as O,
1828
+ K as a,
1829
+ Z as b,
1830
+ Ee as c,
1831
+ je as d,
1832
+ Ke as e,
1833
+ _e as f,
1834
+ at as g,
1835
+ st as h,
1836
+ ut as i,
1837
+ ht as j,
1838
+ yt as k,
1839
+ St as l,
1840
+ Vt as m,
1841
+ Ht as n,
1842
+ Nt as o,
1843
+ Lt as p,
1844
+ Xt as q,
1845
+ _t as r
1837
1846
  };
1838
- //# sourceMappingURL=OrDataGrid-DO5dWT5H.mjs.map
1847
+ //# sourceMappingURL=OrDataGrid-Ci188YMU.mjs.map