@onereach/ui-components 26.4.1-beta.5880.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
@@ -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, G, I, C;
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 ? [`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"] : []
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,64 +248,70 @@ 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
+ }), 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";
250
254
  return [
251
- ...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"),
252
258
  ...O ? ["whitespace-pre-wrap break-words"] : ["truncate"]
253
259
  ];
254
- }), G = n(() => ({
255
- minWidth: e.column && e.column.minWidth || B,
260
+ }), T = 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
+ }), S = 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
276
  contentStyles: u,
271
- contentInlineStyles: G,
272
- model: I,
277
+ contentInlineStyles: T,
278
+ model: H,
273
279
  control: S,
274
- DATA_GRID_DEFAULT_MIN_WIDTH: B
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, 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", {
281
287
  ref: "root",
282
- class: f(e.rootStyles),
283
- style: K(e.rootInlineStyles)
288
+ class: c(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 ? 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, {
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(T, {
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),
314
+ }, null, 8, ["modelValue"])) : h("", !0),
305
315
  e.control.type === "select" ? (r(), y(S, {
306
316
  key: 3,
307
317
  modelValue: e.model,
@@ -309,54 +319,55 @@ function je(e, t, l, v, g, u) {
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(G, {
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(C, {
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(i, {
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: c(["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: c(e.contentStyles),
364
+ style: A(e.contentInlineStyles)
354
365
  }, [
355
366
  d(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, u) {
444
+ return r(), p("div", {
434
445
  ref: "root",
435
- class: f(e.rootStyles),
446
+ class: c(e.rootStyles),
436
447
  selected: e.selected
437
448
  }, [
438
449
  d(e.$slots, "default")
439
- ], 10, qe);
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, u) {
472
+ return r(), p("div", {
462
473
  ref: "root",
463
- class: f(e.rootStyles)
474
+ class: c(e.rootStyles)
464
475
  }, [
465
476
  d(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, u) {
506
+ return r(), p("div", {
496
507
  ref: "root",
497
- class: f(e.rootStyles)
508
+ class: c(e.rootStyles)
498
509
  }, [
499
510
  d(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, u) {
567
+ return r(), p("div", {
557
568
  ref: "root",
558
- class: f(e.rootStyles)
569
+ class: c(e.rootStyles)
559
570
  }, [
560
571
  d(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, u) {
594
+ return r(), p("div", {
584
595
  ref: "root",
585
- class: f(e.rootStyles)
596
+ class: c(e.rootStyles)
586
597
  }, [
587
598
  d(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,38 @@ 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 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;
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
+ ...(i = e.column) != null && i.stickiness ? [`sticky-${e.column.stickiness}`, "overflow-hidden"] : [],
670
685
  ...g.value ? ["resizable"] : [],
671
686
  ...v.value ? ["interactivity-click"] : []
672
687
  ];
673
- }), G = n(() => [
688
+ }), T = 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 i, 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: ((i = e.column) == null ? void 0 : i.minWidth) || K,
695
+ maxWidth: (w = e.column) == null ? void 0 : w.maxWidth
681
696
  };
682
- }), S = n(() => {
697
+ }), S = o(() => {
683
698
  if (e.column)
684
699
  switch (e.column.stickiness) {
685
700
  case "start":
686
701
  return {
687
702
  position: "sticky",
688
- insetInlineStart: "0",
703
+ insetInlineStart: `${e.stickyOffset}px`,
689
704
  zIndex: "120",
690
705
  flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
691
706
  justifyContent: e.column.alignment
@@ -693,7 +708,7 @@ const dt = /* @__PURE__ */ R(st, [["render", it]]), ut = [
693
708
  case "end":
694
709
  return {
695
710
  position: "sticky",
696
- insetInlineEnd: "0",
711
+ insetInlineEnd: `${e.stickyOffset}px`,
697
712
  zIndex: "120",
698
713
  flexDirection: e.column.alignment === "end" ? "row-reverse" : void 0,
699
714
  justifyContent: e.column.alignment
@@ -707,18 +722,18 @@ const dt = /* @__PURE__ */ R(st, [["render", it]]), ut = [
707
722
  return {
708
723
  justifyContent: "center"
709
724
  };
710
- }), O = n({
725
+ }), O = o({
711
726
  get: () => {
712
- var o, c;
727
+ var i, w;
713
728
  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;
729
+ return ((i = e.modelValue) == null ? void 0 : i.column) === ((w = e.column) == null ? void 0 : w.name) ? e.modelValue : void 0;
715
730
  },
716
- set: (o) => {
717
- t.emit("update:modelValue", o);
731
+ set: (i) => {
732
+ t.emit("update:modelValue", i);
718
733
  }
719
734
  });
720
- function T() {
721
- var o;
735
+ function G() {
736
+ var i;
722
737
  if (v.value)
723
738
  if (O.value)
724
739
  O.value = {
@@ -729,90 +744,90 @@ const dt = /* @__PURE__ */ R(st, [["render", it]]), ut = [
729
744
  if (!e.column)
730
745
  throw new Error("[OrDataGridTableHeaderCell]: `column` must be specified.");
731
746
  O.value = {
732
- column: ((o = e.column) == null ? void 0 : o.name) || "_check",
747
+ column: ((i = e.column) == null ? void 0 : i.name) || "_check",
733
748
  direction: "asc"
734
749
  };
735
750
  }
736
751
  }
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);
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);
747
762
  }
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);
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);
751
766
  }
752
- t.emit("update:column-width", W);
753
- }, E = () => {
754
- 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);
755
770
  };
756
- document.addEventListener("mousemove", F), document.addEventListener("mouseup", E);
771
+ document.addEventListener("mousemove", E), document.addEventListener("mouseup", P);
757
772
  }
758
- const { width: V } = $e(l, void 0, { box: "border-box" });
759
- return ae([
760
- l,
761
- V,
773
+ const { width: C } = Ge(n, void 0, { box: "border-box" });
774
+ return se([
775
+ n,
776
+ C,
762
777
  () => {
763
- var o;
764
- return (o = e.column) == null ? void 0 : o.stickiness;
778
+ var i;
779
+ return (i = e.column) == null ? void 0 : i.stickiness;
765
780
  }
766
781
  ], ([
767
- o,
768
- c
782
+ i,
783
+ w
769
784
  ], [
770
785
  s
771
786
  ]) => {
772
- 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);
773
788
  }), {
774
- root: l,
789
+ root: n,
775
790
  rootStyles: u,
776
791
  rootInlineStyles: S,
777
- wrapInlineStyle: I,
778
- resizeHandleStyles: G,
792
+ wrapInlineStyle: H,
793
+ resizeHandleStyles: T,
779
794
  isSortable: v,
780
795
  isResizable: g,
781
796
  model: O,
782
- toggleSorting: T,
783
- onResizeStart: C,
784
- DATA_GRID_DEFAULT_MIN_WIDTH: B
797
+ toggleSorting: G,
798
+ onResizeStart: I,
799
+ DATA_GRID_DEFAULT_MIN_WIDTH: K
785
800
  };
786
801
  }
787
802
  });
788
- function ft(e, t, l, v, g, u) {
789
- const G = m("OrIcon");
790
- return r(), h("div", {
803
+ function kt(e, t, n, v, g, u) {
804
+ const T = f("OrIcon");
805
+ return r(), p("div", {
791
806
  ref: "root",
792
- class: f(e.rootStyles),
793
- style: K(e.rootInlineStyles),
794
- 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())
795
810
  }, [
796
- ie("div", {
797
- class: f(["truncate"]),
798
- style: K(e.wrapInlineStyle)
811
+ fe("div", {
812
+ class: c(["truncate"]),
813
+ style: A(e.wrapInlineStyle)
799
814
  }, [
800
815
  d(e.$slots, "default")
801
816
  ], 4),
802
- e.model ? (r(), y(G, {
817
+ e.model ? (r(), y(T, {
803
818
  key: 0,
804
819
  icon: e.model.direction === "asc" ? "arrow_upward" : "arrow_downward"
805
- }, null, 8, ["icon"])) : p("", !0),
806
- e.isResizable ? (r(), h("div", {
820
+ }, null, 8, ["icon"])) : h("", !0),
821
+ e.isResizable ? (r(), p("div", {
807
822
  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(() => {
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(() => {
811
826
  }, ["stop"]))
812
- }, null, 34)) : p("", !0)
827
+ }, null, 34)) : h("", !0)
813
828
  ], 6);
814
829
  }
815
- const gt = /* @__PURE__ */ R(mt, [["render", ft]]), pt = [
830
+ const yt = /* @__PURE__ */ R(vt, [["render", kt]]), bt = [
816
831
  // Position
817
832
  "sticky top-0 z-[110]",
818
833
  // Layout
@@ -824,24 +839,24 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), pt = [
824
839
  "dark:children:theme-foreground-default-dark",
825
840
  "children:theme-background-surface-variant-1",
826
841
  "dark:children:theme-background-surface-variant-1-dark"
827
- ], ht = {
828
- [k.Standard]: [
842
+ ], Ot = {
843
+ [b.Standard]: [
829
844
  // Box
830
845
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
831
846
  ],
832
- [k.Comfortable]: [
847
+ [b.Comfortable]: [
833
848
  // Box
834
849
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
835
850
  ],
836
- [k.Compact]: [
851
+ [b.Compact]: [
837
852
  // Box
838
853
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
839
854
  ],
840
- [k.Dynamic]: [
855
+ [b.Dynamic]: [
841
856
  // Box
842
857
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
843
858
  ]
844
- }, vt = M({
859
+ }, $t = M({
845
860
  name: "OrDataGridTableHeaderRow",
846
861
  props: {
847
862
  variant: {
@@ -853,37 +868,37 @@ const gt = /* @__PURE__ */ R(mt, [["render", ft]]), pt = [
853
868
  "root"
854
869
  ],
855
870
  setup(e) {
856
- const t = D(), l = n(() => [
871
+ const t = D(), n = o(() => [
857
872
  "or-data-grid-table-header-row-v3",
858
- ...pt,
859
- ...ht[e.variant]
873
+ ...bt,
874
+ ...Ot[e.variant]
860
875
  ]);
861
876
  return {
862
877
  root: t,
863
- rootStyles: l
878
+ rootStyles: n
864
879
  };
865
880
  }
866
881
  });
867
- function bt(e, t, l, v, g, u) {
868
- return r(), h("div", {
882
+ function wt(e, t, n, v, g, u) {
883
+ return r(), p("div", {
869
884
  ref: "root",
870
- class: f(e.rootStyles)
885
+ class: c(e.rootStyles)
871
886
  }, [
872
887
  d(e.$slots, "default")
873
888
  ], 2);
874
889
  }
875
- const yt = /* @__PURE__ */ R(vt, [["render", bt]]), kt = [
890
+ const Dt = /* @__PURE__ */ R($t, [["render", wt]]), St = [
876
891
  // Layout
877
892
  "contents"
878
- ], Ot = M({
893
+ ], Tt = M({
879
894
  name: "OrDataGridTableHeader",
880
895
  expose: [
881
896
  "root"
882
897
  ],
883
898
  setup() {
884
- const e = D(), t = n(() => [
899
+ const e = D(), t = o(() => [
885
900
  "or-data-grid-table-header-v3",
886
- ...kt
901
+ ...St
887
902
  ]);
888
903
  return {
889
904
  root: e,
@@ -891,15 +906,15 @@ const yt = /* @__PURE__ */ R(vt, [["render", bt]]), kt = [
891
906
  };
892
907
  }
893
908
  });
894
- function $t(e, t, l, v, g, u) {
895
- return r(), h("div", {
909
+ function Gt(e, t, n, v, g, u) {
910
+ return r(), p("div", {
896
911
  ref: "root",
897
- class: f(e.rootStyles)
912
+ class: c(e.rootStyles)
898
913
  }, [
899
914
  d(e.$slots, "default")
900
915
  ], 2);
901
916
  }
902
- const wt = /* @__PURE__ */ R(Ot, [["render", $t]]), Dt = [
917
+ const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
903
918
  // Layout
904
919
  "layout-row justify-center items-center",
905
920
  // Spacing
@@ -913,24 +928,24 @@ const wt = /* @__PURE__ */ R(Ot, [["render", $t]]), Dt = [
913
928
  "dark:theme-foreground-default-dark",
914
929
  "theme-background-default",
915
930
  "dark:theme-background-default-dark"
916
- ], St = {
917
- [k.Standard]: [
931
+ ], Mt = {
932
+ [b.Standard]: [
918
933
  // Box
919
934
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
920
935
  ],
921
- [k.Comfortable]: [
936
+ [b.Comfortable]: [
922
937
  // Box
923
938
  "min-h-[calc(theme(spacing.3xl)+theme(spacing.xs))]"
924
939
  ],
925
- [k.Compact]: [
940
+ [b.Compact]: [
926
941
  // Box
927
942
  "min-h-[calc(theme(spacing.xl)+theme(spacing.xs))]"
928
943
  ],
929
- [k.Dynamic]: [
944
+ [b.Dynamic]: [
930
945
  // Box
931
946
  "min-h-[calc(theme(spacing.2xl)+theme(spacing.xs))]"
932
947
  ]
933
- }, Tt = M({
948
+ }, Rt = M({
934
949
  name: "OrDataGridTablePlaceholder",
935
950
  props: {
936
951
  variant: {
@@ -942,26 +957,26 @@ const wt = /* @__PURE__ */ R(Ot, [["render", $t]]), Dt = [
942
957
  "root"
943
958
  ],
944
959
  setup(e) {
945
- const t = D(), l = n(() => [
960
+ const t = D(), n = o(() => [
946
961
  "or-data-grid-table-placeholder-v3",
947
- ...Dt,
948
- ...St[e.variant]
962
+ ...Vt,
963
+ ...Mt[e.variant]
949
964
  ]);
950
965
  return {
951
966
  root: t,
952
- rootStyles: l
967
+ rootStyles: n
953
968
  };
954
969
  }
955
970
  });
956
- function Gt(e, t, l, v, g, u) {
957
- return r(), h("div", {
971
+ function It(e, t, n, v, g, u) {
972
+ return r(), p("div", {
958
973
  ref: "root",
959
- class: f(e.rootStyles)
974
+ class: c(e.rootStyles)
960
975
  }, [
961
976
  d(e.$slots, "default")
962
977
  ], 2);
963
978
  }
964
- const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
979
+ const zt = /* @__PURE__ */ R(Rt, [["render", It]]), Ht = [
965
980
  // Layout
966
981
  "grid content-start",
967
982
  "w-full min-w-0",
@@ -969,7 +984,7 @@ const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
969
984
  "overflow-auto",
970
985
  // Interactivity
971
986
  "interactivity-default"
972
- ], Mt = M({
987
+ ], Et = M({
973
988
  name: "OrDataGridTable",
974
989
  props: {
975
990
  columns: {
@@ -985,51 +1000,51 @@ const Ct = /* @__PURE__ */ R(Tt, [["render", Gt]]), Vt = [
985
1000
  "root"
986
1001
  ],
987
1002
  setup(e) {
988
- const t = D(), l = n(() => [
1003
+ const t = D(), n = o(() => [
989
1004
  "or-data-grid-table-v3",
990
- ...Vt
991
- ]), v = n(() => {
1005
+ ...Ht
1006
+ ]), v = o(() => {
992
1007
  const g = e.columns.map((u) => {
993
1008
  if (u.width && (u.width.includes("minmax") || u.width.includes("calc")))
994
1009
  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})`;
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})`;
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 Ft(e, t, n, v, g, u) {
1024
+ return r(), p("div", {
1010
1025
  ref: "root",
1011
- class: f(e.rootStyles),
1012
- style: K(e.rootInlineStyles)
1026
+ class: c(e.rootStyles),
1027
+ style: A(e.rootInlineStyles)
1013
1028
  }, [
1014
1029
  d(e.$slots, "default")
1015
1030
  ], 6);
1016
1031
  }
1017
- const It = /* @__PURE__ */ R(Mt, [["render", Rt]]), zt = [
1032
+ const Wt = /* @__PURE__ */ R(Et, [["render", Ft]]), 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, u) {
1056
+ return r(), p("div", {
1042
1057
  ref: "root",
1043
- class: f(e.rootStyles)
1058
+ class: c(e.rootStyles)
1044
1059
  }, [
1045
1060
  d(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: Ce
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, u) {
1113
+ const T = f("OrNotification");
1114
+ return r(), p("div", {
1115
+ class: c(e.rootStyles)
1101
1116
  }, [
1102
- z(G, de(e.notification, {
1117
+ W(T, 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 ? d(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, u) {
1182
+ return r(), p("div", {
1168
1183
  ref: "root",
1169
- class: f(e.rootStyles)
1184
+ class: c(e.rootStyles)
1170
1185
  }, [
1171
1186
  d(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: 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
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(), u = 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({
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({
1260
1275
  get: () => !!e.items.length && e.items.every((a) => S.value.includes(a.id)),
1261
1276
  set: (a) => {
1262
1277
  a ? S.value = [
1263
1278
  .../* @__PURE__ */ new Set([
1264
1279
  ...S.value,
1265
- ...e.items.map((w) => w.id)
1280
+ ...e.items.map(($) => $.id)
1266
1281
  ])
1267
1282
  ] : S.value = [];
1268
1283
  }
1269
- }), S = n({
1284
+ }), S = o({
1270
1285
  get: () => {
1271
1286
  var a;
1272
1287
  return ((a = e.modelValue) == null ? void 0 : a.selecting) ?? [];
@@ -1275,12 +1290,12 @@ 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: G.value,
1294
+ sorting: I.value,
1295
+ paging: C.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;
@@ -1289,15 +1304,15 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1289
1304
  t.emit("update:modelValue", {
1290
1305
  selecting: S.value,
1291
1306
  filtering: a,
1292
- searching: T.value,
1293
- sorting: C.value,
1307
+ searching: G.value,
1308
+ sorting: I.value,
1294
1309
  paging: {
1295
- ...V.value,
1310
+ ...C.value,
1296
1311
  offset: 0
1297
1312
  }
1298
1313
  });
1299
1314
  }
1300
- }), T = n({
1315
+ }), G = o({
1301
1316
  get: () => {
1302
1317
  var a;
1303
1318
  return (a = e.modelValue) == null ? void 0 : a.searching;
@@ -1307,14 +1322,14 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1307
1322
  selecting: S.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
+ ...C.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;
@@ -1323,15 +1338,15 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1323
1338
  t.emit("update:modelValue", {
1324
1339
  selecting: S.value,
1325
1340
  filtering: O.value,
1326
- searching: T.value,
1341
+ searching: G.value,
1327
1342
  sorting: a,
1328
1343
  paging: {
1329
- ...V.value,
1344
+ ...C.value,
1330
1345
  offset: 0
1331
1346
  }
1332
1347
  });
1333
1348
  }
1334
- }), V = n({
1349
+ }), C = o({
1335
1350
  get: () => {
1336
1351
  var a;
1337
1352
  return (a = e.modelValue) == null ? void 0 : a.paging;
@@ -1340,15 +1355,15 @@ const Kt = /* @__PURE__ */ R(qt, [["render", Bt]]), Xt = [
1340
1355
  t.emit("update:modelValue", {
1341
1356
  selecting: S.value,
1342
1357
  filtering: O.value,
1343
- searching: T.value,
1344
- sorting: C.value,
1358
+ searching: G.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 = C.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 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(() => {
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
+ }), E = 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: 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;
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), F.value.delete(z.name), F.value = new Map(F.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), F.value.set(z.name, $), F.value = new Map(F.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 l(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
+ E.value = {
1441
+ ...E.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
+ E.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), F.value.delete(a), F.value = new Map(F.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,
1474
+ root: n,
1441
1475
  rootStyles: u,
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: $,
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,
1455
1489
  selectingModel: S,
1456
1490
  filteringModel: O,
1457
- searchingModel: T,
1458
- sortingModel: C,
1459
- pagingModel: V,
1460
- updateScrollOffset: W,
1461
- removeScrollOffset: x,
1462
- updateSearchingModel: X,
1491
+ searchingModel: G,
1492
+ sortingModel: I,
1493
+ pagingModel: C,
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,37 +1502,37 @@ 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, 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", {
1480
1515
  ref: "root",
1481
- class: f(e.rootStyles)
1516
+ class: c(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: c(["shrink-0"])
1521
+ }, Z({ _: 2 }, [
1487
1522
  e.$slots.title ? {
1488
1523
  name: "title",
1489
- fn: b(() => [
1524
+ fn: k(() => [
1490
1525
  d(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
+ d(e.$slots, "search", pe(ve({ updateSearchingModel: e.updateSearchingModel, searchingModel: e.searchingModel })), () => [
1533
+ W(T, {
1499
1534
  modelValue: e.searchingModel,
1500
- "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchingModel = i)
1535
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchingModel = l)
1501
1536
  }, null, 8, ["modelValue"])
1502
1537
  ])
1503
1538
  ]),
@@ -1505,229 +1540,235 @@ function Qt(e, t, l, v, g, u) {
1505
1540
  } : void 0,
1506
1541
  e.$slots.extraActions ? {
1507
1542
  name: "extraActions",
1508
- fn: b(() => [
1543
+ fn: k(() => [
1509
1544
  d(e.$slots, "extraActions")
1510
1545
  ]),
1511
1546
  key: "2"
1512
1547
  } : void 0
1513
- ]), 1024)) : p("", !0),
1548
+ ]), 1024)) : h("", !0),
1514
1549
  e.$slots.toolbar ? (r(), y(S, {
1515
1550
  key: 1,
1516
- class: f(["shrink-0"])
1551
+ class: c(["shrink-0"])
1517
1552
  }, {
1518
- default: b(() => [
1553
+ default: k(() => [
1519
1554
  d(e.$slots, "toolbar")
1520
1555
  ]),
1521
1556
  _: 3
1522
- })) : p("", !0),
1523
- z(X, {
1557
+ })) : h("", !0),
1558
+ W(X, {
1524
1559
  ref: "table",
1525
- class: f(["grow", { "grid-rows-[auto_1fr]": e.items.length === 0 }]),
1526
- style: K(e.tableInlineStyles),
1560
+ class: c(["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
+ W(C, null, {
1567
+ default: k(() => [
1568
+ W(I, { variant: e.variant }, {
1569
+ default: k(() => [
1570
+ e.features.selecting ? (r(), y(G, {
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
+ W(O, {
1544
1580
  modelValue: e.selectingIndicator,
1545
- "onUpdate:modelValue": t[1] || (t[1] = (i) => e.selectingIndicator = i),
1581
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => e.selectingIndicator = l),
1546
1582
  indeterminate: !e.selectingIndicator && e.selectingModel.length > 0,
1547
1583
  disabled: e.selectingDisabled
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, {
1553
- 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,
1554
1590
  modelValue: e.sortingModel,
1555
- "onUpdate:modelValue": t[2] || (t[2] = ($) => e.sortingModel = $),
1556
- column: i,
1591
+ "onUpdate:modelValue": t[2] || (t[2] = (m) => e.sortingModel = m),
1592
+ column: l,
1557
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,
1558
1595
  "onUpdate:scrollOffset": e.updateScrollOffset,
1559
1596
  "onRemove:scrollOffset": e.removeScrollOffset,
1560
- "onUpdate:columnWidth": ($) => e.updateColumnWidth(i, $)
1597
+ "onUpdate:columnWidth": (m) => e.updateColumnWidth(l, m)
1561
1598
  }, {
1562
- default: b(() => [
1563
- Z(_(i.label), 1)
1599
+ default: k(() => [
1600
+ _(x(l.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(i, {
1574
1611
  key: 0,
1575
1612
  notification: e.notification,
1576
1613
  variant: e.variant,
1577
- onCloseNotification: t[3] || (t[3] = (i) => e.$emit("close-notification"))
1578
- }, Y({ _: 2 }, [
1614
+ onCloseNotification: t[3] || (t[3] = (l) => e.$emit("close-notification"))
1615
+ }, Z({ _: 2 }, [
1579
1616
  e.$slots.notification ? {
1580
1617
  name: "notification",
1581
- fn: b(() => [
1618
+ fn: k(() => [
1582
1619
  d(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
+ W(F, 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(() => [
1631
+ default: k(() => [
1595
1632
  d(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, {
1600
- 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,
1601
1638
  variant: e.variant,
1602
1639
  interactive: e.interactiveRows
1603
1640
  }, {
1604
- default: b(() => [
1605
- e.features.selecting ? (r(), y(F, {
1641
+ default: k(() => [
1642
+ e.features.selecting ? (r(), y(E, {
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
+ W(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(E, {
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
+ d(e.$slots, "column-loading", { column: m }, () => [
1664
+ W(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, {
1633
- 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,
1634
1673
  variant: e.variant,
1635
- selected: e.selectingModel.includes(i.id),
1674
+ selected: e.selectingModel.includes(l.id),
1636
1675
  interactive: e.interactiveRows,
1637
- onMouseenter: () => e.handleMouseEnterRow(i),
1638
- onMouseleave: () => e.handleMouseLeaveRow(i),
1639
- onClick: () => e.handleRowClick(i)
1676
+ onMouseenter: () => e.handleMouseEnterRow(l),
1677
+ onMouseleave: () => e.handleMouseLeaveRow(l),
1678
+ onClick: () => e.handleRowClick(l)
1640
1679
  }, {
1641
- default: b(() => [
1642
- e.features.selecting ? (r(), y(F, {
1680
+ default: k(() => [
1681
+ e.features.selecting ? (r(), y(E, {
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",
1648
1688
  class: "md:!py-none",
1649
- onMouseenter: () => e.handleMouseEnterCell(i, "selecting", e.selectingModel.includes(i.id)),
1650
- 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))
1651
1691
  }, {
1652
- default: b(() => [
1653
- z(O, {
1692
+ default: k(() => [
1693
+ W(O, {
1654
1694
  modelValue: e.selectingModel,
1655
- "onUpdate:modelValue": t[4] || (t[4] = ($) => e.selectingModel = $),
1656
- value: i.id,
1695
+ "onUpdate:modelValue": t[4] || (t[4] = (m) => e.selectingModel = m),
1696
+ value: l.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(E, {
1703
+ key: m.name,
1704
+ "model-value": l[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(l, 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(l, m.name, l[m.name]),
1712
+ onMouseleave: () => e.handleMouseLeaveCell(l, m.name, l[m.name])
1672
1713
  }, {
1673
- default: b(() => [
1674
- d(e.$slots, $.name, {
1675
- column: $,
1676
- item: i
1714
+ default: k(() => [
1715
+ d(e.$slots, m.name, {
1716
+ column: m,
1717
+ item: l
1677
1718
  }, () => [
1678
- Z(_(i[$.name]), 1)
1719
+ _(x(l[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: c(["col-span-full"]),
1688
1729
  variant: e.variant
1689
1730
  }, {
1690
- default: b(() => [
1731
+ default: k(() => [
1691
1732
  d(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: c(["col-span-full"]),
1700
1741
  variant: e.variant
1701
1742
  }, {
1702
- default: b(() => [
1743
+ default: k(() => [
1703
1744
  d(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(() => [
1752
+ default: k(() => [
1712
1753
  d(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
+ W(U, {
1766
+ class: c(["shrink-0"]),
1726
1767
  variant: e.variant
1727
1768
  }, {
1728
- default: b(() => [
1729
- z(W, null, {
1730
- default: b(() => [
1769
+ default: k(() => [
1770
+ W(j, null, {
1771
+ default: k(() => [
1731
1772
  d(e.$slots, "extra-row")
1732
1773
  ]),
1733
1774
  _: 3
@@ -1737,61 +1778,61 @@ 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: c(["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(() => [
1795
+ fn: k(() => [
1755
1796
  d(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
+ W(B, {
1763
1804
  ref: "pagination",
1764
1805
  modelValue: e.pagingModel,
1765
- "onUpdate:modelValue": t[6] || (t[6] = (i) => e.pagingModel = i),
1806
+ "onUpdate:modelValue": t[6] || (t[6] = (l) => e.pagingModel = l),
1766
1807
  length: e.features.paging.length,
1767
1808
  options: e.features.paging.options
1768
1809
  }, null, 8, ["modelValue", "length", "options"])
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
+ Ct as l,
1832
+ zt as m,
1833
+ Wt 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-DnLT39dk.mjs.map