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