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