@typlog/ui 0.5.1 → 0.5.3

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.
package/dist/index.js CHANGED
@@ -1,24 +1,24 @@
1
- import { computed as y, defineComponent as p, openBlock as d, createBlock as f, unref as a, normalizeClass as w, withCtx as r, createVNode as u, createTextVNode as ae, toDisplayString as F, renderSlot as h, mergeProps as g, createElementVNode as B, createCommentVNode as T, createElementBlock as x, toRefs as M, withDirectives as O, isRef as I, vModelRadio as he, ref as G, onMounted as K, onBeforeUnmount as oe, vModelDynamic as _e, vModelText as U, normalizeProps as ge, guardReactiveProps as ve, watch as ye, Fragment as Ce, renderList as be, withKeys as Be, withModifiers as xe, normalizeStyle as $e } from "vue";
2
- import { useForwardProps as $, useEmitAsProps as se, AvatarRoot as we, AvatarImage as Se, AvatarFallback as Ve, Primitive as k, ScrollAreaRoot as N, ScrollAreaViewport as Q, ScrollAreaScrollbar as E, ScrollAreaThumb as j, ScrollAreaCorner as ze, AlertDialogPortal as Te, AlertDialogOverlay as Re, AlertDialogContent as Ie, DialogPortal as ke, DialogOverlay as Ae, DialogContent as De, DialogTitle as Pe, DialogClose as Oe, PopoverPortal as Fe, PopoverContent as Me, useForwardExpose as S, DropdownMenuPortal as Ge, DropdownMenuContent as Le, createContext as L, DropdownMenuItem as He, SwitchRoot as We, SwitchThumb as Ee, RadioGroupRoot as le, RadioGroupItem as ne, CheckboxRoot as je, CheckboxIndicator as qe, Toggle as Ue, ToggleGroupRoot as Ke, ToggleGroupItem as Ne, SelectRoot as Qe, SelectPortal as Ze, SelectContent as Je, SelectViewport as Xe, SelectTrigger as Ye, SelectValue as et, SelectIcon as tt, SelectItem as at, SelectItemIndicator as ot, SelectItemText as st, SelectLabel as lt, ComboboxRoot as nt, injectComboboxRootContext as rt, useForwardPropsEmits as re, ComboboxAnchor as it, TagsInputRoot as dt, TagsInputItem as ct, TagsInputItemDelete as ut, ComboboxInput as X, TagsInputInput as pt, ComboboxTrigger as ft, ComboboxPortal as mt, ComboboxContent as ht, ComboboxViewport as _t, ComboboxItem as gt, ComboboxItemIndicator as vt, ComboboxLabel as yt, TooltipProvider as Ct, TooltipRoot as bt, TooltipTrigger as Bt, TooltipPortal as xt, TooltipContent as $t, TooltipArrow as wt, TabsList as St, TabsTrigger as Vt, ProgressRoot as zt, ProgressIndicator as Tt } from "reka-ui";
1
+ import { computed as y, defineComponent as p, openBlock as d, createBlock as f, unref as a, normalizeClass as w, withCtx as n, createVNode as u, createTextVNode as ee, toDisplayString as F, renderSlot as h, mergeProps as v, createElementVNode as B, createCommentVNode as T, createElementBlock as x, toRefs as M, withDirectives as O, isRef as I, vModelRadio as me, ref as U, onMounted as te, onBeforeUnmount as ae, vModelDynamic as he, vModelText as q, normalizeProps as _e, guardReactiveProps as ge, watch as ve, Fragment as ye, renderList as Ce, withKeys as be, withModifiers as Be, normalizeStyle as xe } from "vue";
2
+ import { useForwardProps as $, useEmitAsProps as oe, AvatarRoot as $e, AvatarImage as we, AvatarFallback as Se, Primitive as k, ScrollAreaRoot as K, ScrollAreaViewport as N, ScrollAreaScrollbar as W, ScrollAreaThumb as j, ScrollAreaCorner as Ve, AlertDialogPortal as ze, AlertDialogOverlay as Te, AlertDialogContent as Re, DialogPortal as Ie, DialogOverlay as ke, DialogContent as Ae, DialogTitle as De, DialogClose as Pe, PopoverPortal as Oe, PopoverContent as Fe, useForwardExpose as S, DropdownMenuPortal as Me, DropdownMenuContent as Ge, createContext as G, DropdownMenuItem as Le, SwitchRoot as He, SwitchThumb as We, RadioGroupRoot as se, RadioGroupItem as le, CheckboxRoot as je, CheckboxIndicator as Ee, Toggle as qe, ToggleGroupRoot as Ue, ToggleGroupItem as Ke, SelectRoot as Ne, SelectPortal as Qe, SelectContent as Je, SelectViewport as Ze, SelectTrigger as Xe, SelectValue as Ye, SelectIcon as et, SelectItem as tt, SelectItemIndicator as at, SelectItemText as ot, SelectLabel as st, ComboboxRoot as lt, injectComboboxRootContext as nt, useForwardPropsEmits as ne, ComboboxAnchor as rt, TagsInputRoot as it, TagsInputItem as dt, TagsInputItemDelete as ct, ComboboxInput as J, TagsInputInput as ut, ComboboxTrigger as pt, ComboboxPortal as ft, ComboboxContent as mt, ComboboxViewport as ht, ComboboxItem as _t, ComboboxItemIndicator as gt, ComboboxLabel as vt, TooltipProvider as yt, TooltipRoot as Ct, TooltipTrigger as bt, TooltipPortal as Bt, TooltipContent as xt, TooltipArrow as $t, TabsList as wt, TabsTrigger as St, ProgressRoot as Vt, ProgressIndicator as zt } from "reka-ui";
3
3
  import { AlertDialogAction as ho, AlertDialogCancel as _o, AlertDialogDescription as go, AlertDialogRoot as vo, AlertDialogTitle as yo, AlertDialogTrigger as Co, ComboboxEmpty as bo, ComboboxGroup as Bo, DialogClose as xo, DialogDescription as $o, DialogRoot as wo, DialogTitle as So, DialogTrigger as Vo, DropdownMenuRoot as zo, DropdownMenuTrigger as To, PopoverClose as Ro, PopoverRoot as Io, PopoverTrigger as ko, RadioGroupItem as Ao, SelectGroup as Do, TabsContent as Po, TabsRoot as Oo } from "reka-ui";
4
4
  import { Icon as z } from "@iconify/vue";
5
5
  import { Icon as Mo } from "@iconify/vue";
6
6
  import { useVModel as A } from "@vueuse/core";
7
7
  function R(s, e, t) {
8
- const o = $(s), l = se(e);
8
+ const o = $(s), l = oe(e);
9
9
  return y(() => ({
10
- ...ie(o.value, t),
10
+ ...re(o.value, t),
11
11
  ...l
12
12
  }));
13
13
  }
14
14
  function D(s, e, t) {
15
- const o = $(s), l = se(e), i = y(() => ({
16
- ...ie(o.value, t),
15
+ const o = $(s), l = oe(e), i = y(() => ({
16
+ ...re(o.value, t),
17
17
  ...l
18
- })), n = y(() => V(o.value, t));
19
- return [i, n];
18
+ })), r = y(() => V(o.value, t));
19
+ return [i, r];
20
20
  }
21
- function ie(s, e) {
21
+ function re(s, e) {
22
22
  const t = {};
23
23
  return Object.keys(s).forEach((o) => {
24
24
  e.indexOf(o) === -1 && (t[o] = s[o]);
@@ -29,14 +29,14 @@ const V = (s, e) => {
29
29
  return e.forEach((o) => {
30
30
  if (o !== "color" && o !== "radius") {
31
31
  const l = s[o];
32
- l === !0 ? t.push(`r-${Y(o)}`) : l && t.push(`r-${Y(o)}-${l}`);
32
+ l === !0 ? t.push(`r-${Z(o)}`) : l && t.push(`r-${Z(o)}-${l}`);
33
33
  }
34
34
  }), t;
35
35
  };
36
- function Y(s) {
37
- return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, Rt);
36
+ function Z(s) {
37
+ return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, Tt);
38
38
  }
39
- function Rt(s, e) {
39
+ function Tt(s, e) {
40
40
  return (e ? "-" : "") + s.toLowerCase();
41
41
  }
42
42
  const ba = /* @__PURE__ */ p({
@@ -52,21 +52,21 @@ const ba = /* @__PURE__ */ p({
52
52
  },
53
53
  setup(s) {
54
54
  const e = s, t = y(() => V(e, ["size", "variant"])), o = y(() => e.fallback ? e.fallback : e.alt.split(/\s+/).map((l) => l[0]).slice(0, 2).join(""));
55
- return (l, i) => (d(), f(a(we), {
55
+ return (l, i) => (d(), f(a($e), {
56
56
  class: w(["ui-Avatar", t.value]),
57
57
  "data-accent-color": e.color,
58
58
  "data-radius": e.radius
59
59
  }, {
60
- default: r(() => [
61
- u(a(Se), {
60
+ default: n(() => [
61
+ u(a(we), {
62
62
  alt: e.alt,
63
63
  src: e.src || ""
64
64
  }, null, 8, ["alt", "src"]),
65
- u(a(Ve), {
65
+ u(a(Se), {
66
66
  class: w(`r-count-${o.value.length}`)
67
67
  }, {
68
- default: r(() => [
69
- ae(F(o.value), 1)
68
+ default: n(() => [
69
+ ee(F(o.value), 1)
70
70
  ]),
71
71
  _: 1
72
72
  }, 8, ["class"])
@@ -94,13 +94,13 @@ const ba = /* @__PURE__ */ p({
94
94
  "data-accent-color": e.color,
95
95
  "data-radius": e.radius
96
96
  }, {
97
- default: r(() => [
97
+ default: n(() => [
98
98
  h(o.$slots, "default")
99
99
  ]),
100
100
  _: 3
101
101
  }, 8, ["class", "as", "as-child", "data-accent-color", "data-radius"]));
102
102
  }
103
- }), de = /* @__PURE__ */ p({
103
+ }), ie = /* @__PURE__ */ p({
104
104
  __name: "Button",
105
105
  props: {
106
106
  color: {},
@@ -122,7 +122,7 @@ const ba = /* @__PURE__ */ p({
122
122
  "data-radius": e.radius,
123
123
  "data-disabled": e.disabled ? !0 : void 0
124
124
  }, {
125
- default: r(() => [
125
+ default: n(() => [
126
126
  h(o.$slots, "default")
127
127
  ]),
128
128
  _: 3
@@ -142,14 +142,14 @@ const ba = /* @__PURE__ */ p({
142
142
  },
143
143
  setup(s) {
144
144
  const t = $(s);
145
- return (o, l) => (d(), f(de, g({ class: "ui-IconButton" }, a(t)), {
146
- default: r(() => [
145
+ return (o, l) => (d(), f(ie, v({ class: "ui-IconButton" }, a(t)), {
146
+ default: n(() => [
147
147
  h(o.$slots, "default")
148
148
  ]),
149
149
  _: 3
150
150
  }, 16));
151
151
  }
152
- }), It = /* @__PURE__ */ p({
152
+ }), Rt = /* @__PURE__ */ p({
153
153
  __name: "Card",
154
154
  props: {
155
155
  variant: { default: "surface" },
@@ -166,7 +166,7 @@ const ba = /* @__PURE__ */ p({
166
166
  as: e.as,
167
167
  "data-radius": e.radius
168
168
  }, {
169
- default: r(() => [
169
+ default: n(() => [
170
170
  h(o.$slots, "default")
171
171
  ]),
172
172
  _: 3
@@ -186,13 +186,13 @@ const ba = /* @__PURE__ */ p({
186
186
  class: "ui-CardHead",
187
187
  "data-accent-color": e.color
188
188
  }, {
189
- default: r(() => [
189
+ default: n(() => [
190
190
  h(t.$slots, "default")
191
191
  ]),
192
192
  _: 3
193
193
  }, 8, ["as", "data-accent-color"]));
194
194
  }
195
- }), ce = /* @__PURE__ */ p({
195
+ }), de = /* @__PURE__ */ p({
196
196
  __name: "ScrollArea",
197
197
  props: {
198
198
  size: { default: "1" },
@@ -206,7 +206,7 @@ const ba = /* @__PURE__ */ p({
206
206
  },
207
207
  setup(s) {
208
208
  const e = s;
209
- return (t, o) => (d(), f(a(N), {
209
+ return (t, o) => (d(), f(a(K), {
210
210
  class: "ui-ScrollArea",
211
211
  "as-child": e.asChild,
212
212
  dir: e.dir,
@@ -214,37 +214,37 @@ const ba = /* @__PURE__ */ p({
214
214
  type: e.type,
215
215
  "data-radius": e.radius
216
216
  }, {
217
- default: r(() => [
218
- u(a(Q), { class: "ui-ScrollAreaViewport" }, {
219
- default: r(() => [
217
+ default: n(() => [
218
+ u(a(N), { class: "ui-ScrollAreaViewport" }, {
219
+ default: n(() => [
220
220
  h(t.$slots, "default")
221
221
  ]),
222
222
  _: 3
223
223
  }),
224
224
  o[0] || (o[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
225
- e.scrollbars !== "horizontal" ? (d(), f(a(E), {
225
+ e.scrollbars !== "horizontal" ? (d(), f(a(W), {
226
226
  key: 0,
227
227
  class: "ui-ScrollAreaScrollbar",
228
228
  "data-size": e.size,
229
229
  orientation: "vertical"
230
230
  }, {
231
- default: r(() => [
231
+ default: n(() => [
232
232
  u(a(j), { class: "ui-ScrollAreaThumb" })
233
233
  ]),
234
234
  _: 1
235
235
  }, 8, ["data-size"])) : T("", !0),
236
- e.scrollbars !== "vertical" ? (d(), f(a(E), {
236
+ e.scrollbars !== "vertical" ? (d(), f(a(W), {
237
237
  key: 1,
238
238
  class: "ui-ScrollAreaScrollbar",
239
239
  "data-size": e.size,
240
240
  orientation: "horizontal"
241
241
  }, {
242
- default: r(() => [
242
+ default: n(() => [
243
243
  u(a(j), { class: "ui-ScrollAreaThumb" })
244
244
  ]),
245
245
  _: 1
246
246
  }, 8, ["data-size"])) : T("", !0),
247
- e.scrollbars === "both" ? (d(), f(a(ze), {
247
+ e.scrollbars === "both" ? (d(), f(a(Ve), {
248
248
  key: 2,
249
249
  "class-name": "ui-ScrollAreaCorner"
250
250
  })) : T("", !0)
@@ -270,7 +270,7 @@ const ba = /* @__PURE__ */ p({
270
270
  "aria-orientation": e.orientation
271
271
  }, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
272
272
  }
273
- }), kt = ["data-side", "data-clip"], At = /* @__PURE__ */ p({
273
+ }), It = ["data-side", "data-clip"], kt = /* @__PURE__ */ p({
274
274
  __name: "Inset",
275
275
  props: {
276
276
  side: { default: "all" },
@@ -284,9 +284,9 @@ const ba = /* @__PURE__ */ p({
284
284
  "data-clip": e.clip
285
285
  }, [
286
286
  h(t.$slots, "default")
287
- ], 8, kt));
287
+ ], 8, It));
288
288
  }
289
- }), Dt = /* @__PURE__ */ p({
289
+ }), At = /* @__PURE__ */ p({
290
290
  __name: "Spinner",
291
291
  setup(s) {
292
292
  return (e, t) => (d(), f(a(z), {
@@ -301,7 +301,7 @@ const ba = /* @__PURE__ */ p({
301
301
  },
302
302
  setup(s) {
303
303
  const e = s;
304
- return (t, o) => e.status === "saving" ? (d(), f(Dt, {
304
+ return (t, o) => e.status === "saving" ? (d(), f(At, {
305
305
  key: 0,
306
306
  class: "ui-SavingIndicator _saving"
307
307
  })) : e.status === "saved" ? (d(), f(a(z), {
@@ -310,7 +310,7 @@ const ba = /* @__PURE__ */ p({
310
310
  icon: "lucide:check-circle-2"
311
311
  })) : T("", !0);
312
312
  }
313
- }), Pt = { class: "ui-DialogScroll" }, Ot = ["data-align"], Va = /* @__PURE__ */ p({
313
+ }), Dt = { class: "ui-DialogScroll" }, Pt = ["data-align"], Va = /* @__PURE__ */ p({
314
314
  inheritAttrs: !1,
315
315
  __name: "AlertDialogContent",
316
316
  props: {
@@ -344,18 +344,18 @@ const ba = /* @__PURE__ */ p({
344
344
  "minHeight",
345
345
  "maxHeight"
346
346
  ]);
347
- return (i, n) => (d(), f(a(Te), {
347
+ return (i, r) => (d(), f(a(ze), {
348
348
  to: t.to
349
349
  }, {
350
- default: r(() => [
351
- u(a(Re), { class: "ui-DialogOverlay" }, {
352
- default: r(() => [
353
- B("div", Pt, [
350
+ default: n(() => [
351
+ u(a(Te), { class: "ui-DialogOverlay" }, {
352
+ default: n(() => [
353
+ B("div", Dt, [
354
354
  B("div", {
355
355
  class: "ui-DialogScrollPadding",
356
356
  "data-align": t.align
357
357
  }, [
358
- u(a(Ie), g({
358
+ u(a(Re), v({
359
359
  class: ["ui-DialogContent", t.class],
360
360
  "data-size": t.size
361
361
  }, {
@@ -371,12 +371,12 @@ const ba = /* @__PURE__ */ p({
371
371
  maxHeight: t.maxHeight
372
372
  }
373
373
  }), {
374
- default: r(() => [
374
+ default: n(() => [
375
375
  h(i.$slots, "default")
376
376
  ]),
377
377
  _: 3
378
378
  }, 16, ["class", "data-size", "style"])
379
- ], 8, Ot)
379
+ ], 8, Pt)
380
380
  ])
381
381
  ]),
382
382
  _: 3
@@ -385,7 +385,7 @@ const ba = /* @__PURE__ */ p({
385
385
  _: 3
386
386
  }, 8, ["to"]));
387
387
  }
388
- }), Ft = { class: "ui-DialogScroll" }, Mt = ["data-align"], za = /* @__PURE__ */ p({
388
+ }), Ot = { class: "ui-DialogScroll" }, Ft = ["data-align"], za = /* @__PURE__ */ p({
389
389
  inheritAttrs: !1,
390
390
  __name: "DialogContent",
391
391
  props: {
@@ -419,18 +419,18 @@ const ba = /* @__PURE__ */ p({
419
419
  "minHeight",
420
420
  "maxHeight"
421
421
  ]);
422
- return (i, n) => (d(), f(a(ke), {
422
+ return (i, r) => (d(), f(a(Ie), {
423
423
  to: t.to
424
424
  }, {
425
- default: r(() => [
426
- u(a(Ae), { class: "ui-DialogOverlay" }, {
427
- default: r(() => [
428
- B("div", Ft, [
425
+ default: n(() => [
426
+ u(a(ke), { class: "ui-DialogOverlay" }, {
427
+ default: n(() => [
428
+ B("div", Ot, [
429
429
  B("div", {
430
430
  class: "ui-DialogScrollPadding",
431
431
  "data-align": t.align
432
432
  }, [
433
- u(a(De), g({
433
+ u(a(Ae), v({
434
434
  class: ["ui-DialogContent", t.class],
435
435
  "data-size": t.size
436
436
  }, {
@@ -446,12 +446,12 @@ const ba = /* @__PURE__ */ p({
446
446
  maxHeight: t.maxHeight
447
447
  }
448
448
  }), {
449
- default: r(() => [
449
+ default: n(() => [
450
450
  h(i.$slots, "default")
451
451
  ]),
452
452
  _: 3
453
453
  }, 16, ["class", "data-size", "style"])
454
- ], 8, Mt)
454
+ ], 8, Ft)
455
455
  ])
456
456
  ]),
457
457
  _: 3
@@ -467,25 +467,25 @@ const ba = /* @__PURE__ */ p({
467
467
  },
468
468
  setup(s) {
469
469
  const e = s;
470
- return (t, o) => (d(), f(At, {
470
+ return (t, o) => (d(), f(kt, {
471
471
  class: "ui-DialogHead",
472
472
  side: "x"
473
473
  }, {
474
- default: r(() => [
475
- u(a(Pe), { class: "font-semibold" }, {
476
- default: r(() => [
477
- ae(F(e.title), 1)
474
+ default: n(() => [
475
+ u(a(De), { class: "font-semibold" }, {
476
+ default: n(() => [
477
+ ee(F(e.title), 1)
478
478
  ]),
479
479
  _: 1
480
480
  }),
481
- u(de, {
482
- as: a(Oe),
481
+ u(ie, {
482
+ as: a(Pe),
483
483
  variant: "ghost",
484
484
  color: "gray",
485
485
  radius: "full",
486
486
  style: { "--button-ghost-padding-x": "var(--space-1)" }
487
487
  }, {
488
- default: r(() => [
488
+ default: n(() => [
489
489
  u(a(z), { icon: "lucide:x" })
490
490
  ]),
491
491
  _: 1
@@ -524,15 +524,15 @@ const ba = /* @__PURE__ */ p({
524
524
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
525
525
  setup(s, { emit: e }) {
526
526
  const t = s, l = R(t, e, ["to", "size"]);
527
- return (i, n) => (d(), f(a(Fe), {
527
+ return (i, r) => (d(), f(a(Oe), {
528
528
  to: t.to
529
529
  }, {
530
- default: r(() => [
531
- u(a(Me), g({ ...i.$attrs, ...a(l) }, {
530
+ default: n(() => [
531
+ u(a(Fe), v({ ...i.$attrs, ...a(l) }, {
532
532
  "data-size": t.size,
533
533
  class: "ui-PopoverContent"
534
534
  }), {
535
- default: r(() => [
535
+ default: n(() => [
536
536
  h(i.$slots, "default")
537
537
  ]),
538
538
  _: 3
@@ -541,7 +541,7 @@ const ba = /* @__PURE__ */ p({
541
541
  _: 3
542
542
  }, 8, ["to"]));
543
543
  }
544
- }), Gt = { class: "ui-MenuViewport" }, [Lt, Ht] = L("ui_DropdownMenuContent"), Ia = /* @__PURE__ */ p({
544
+ }), Mt = { class: "ui-MenuViewport" }, [Gt, Lt] = G("ui_DropdownMenuContent"), Ia = /* @__PURE__ */ p({
545
545
  inheritAttrs: !1,
546
546
  __name: "DropdownMenuContent",
547
547
  props: {
@@ -578,13 +578,13 @@ const ba = /* @__PURE__ */ p({
578
578
  "variant",
579
579
  "color",
580
580
  "highContrast"
581
- ]), { forwardRef: i } = S(), { size: n, variant: c, color: m, highContrast: C } = M(t);
582
- return Ht({ size: n, variant: c, color: m, highContrast: C }), (b, _) => (d(), f(a(Ge), {
581
+ ]), { forwardRef: i } = S(), { size: r, variant: c, color: m, highContrast: _ } = M(t);
582
+ return Lt({ size: r, variant: c, color: m, highContrast: _ }), (C, g) => (d(), f(a(Me), {
583
583
  to: t.to
584
584
  }, {
585
- default: r(() => [
586
- u(a(Le), g({
587
- ...b.$attrs,
585
+ default: n(() => [
586
+ u(a(Ge), v({
587
+ ...C.$attrs,
588
588
  ...a(l)
589
589
  }, {
590
590
  ref: a(i),
@@ -592,11 +592,11 @@ const ba = /* @__PURE__ */ p({
592
592
  "data-accent-color": t.color,
593
593
  "data-size": t.size
594
594
  }), {
595
- default: r(() => [
596
- u(ce, { type: "auto" }, {
597
- default: r(() => [
598
- B("div", Gt, [
599
- h(b.$slots, "default")
595
+ default: n(() => [
596
+ u(de, { type: "auto" }, {
597
+ default: n(() => [
598
+ B("div", Mt, [
599
+ h(C.$slots, "default")
600
600
  ])
601
601
  ]),
602
602
  _: 3
@@ -608,7 +608,7 @@ const ba = /* @__PURE__ */ p({
608
608
  _: 3
609
609
  }, 8, ["to"]));
610
610
  }
611
- }), Wt = ["textContent"], ka = /* @__PURE__ */ p({
611
+ }), Ht = ["textContent"], ka = /* @__PURE__ */ p({
612
612
  __name: "DropdownMenuItem",
613
613
  props: {
614
614
  color: {},
@@ -622,23 +622,23 @@ const ba = /* @__PURE__ */ p({
622
622
  setup(s, { emit: e }) {
623
623
  const t = s, l = R(t, e, ["color", "shortcut"]);
624
624
  S();
625
- const i = Lt();
626
- return (n, c) => {
625
+ const i = Gt();
626
+ return (r, c) => {
627
627
  var m;
628
- return d(), f(a(He), g({
628
+ return d(), f(a(Le), v({
629
629
  class: "ui-MenuItem",
630
630
  "data-accent-color": t.color,
631
631
  "data-size": a(i).size.value,
632
632
  "data-variant": a(i).variant.value,
633
633
  "data-high-contrast": ((m = a(i).highContrast) == null ? void 0 : m.value) || void 0
634
634
  }, a(l)), {
635
- default: r(() => [
636
- h(n.$slots, "default"),
635
+ default: n(() => [
636
+ h(r.$slots, "default"),
637
637
  t.shortcut ? (d(), x("div", {
638
638
  key: 0,
639
639
  class: "ui-MenuShortcut",
640
640
  textContent: F(t.shortcut)
641
- }, null, 8, Wt)) : T("", !0)
641
+ }, null, 8, Ht)) : T("", !0)
642
642
  ]),
643
643
  _: 3
644
644
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
@@ -671,18 +671,18 @@ const ba = /* @__PURE__ */ p({
671
671
  "highContrast",
672
672
  "radius"
673
673
  ]);
674
- return (n, c) => (d(), f(a(We), g(a(l), {
674
+ return (r, c) => (d(), f(a(He), v(a(l), {
675
675
  class: ["ui-Switch", a(i)],
676
676
  "data-accent-color": o.color,
677
677
  "data-radius": o.radius
678
678
  }), {
679
- default: r(() => [
680
- u(a(Ee), { class: "ui-SwitchThumb" })
679
+ default: n(() => [
680
+ u(a(We), { class: "ui-SwitchThumb" })
681
681
  ]),
682
682
  _: 1
683
683
  }, 16, ["class", "data-accent-color", "data-radius"]));
684
684
  }
685
- }), Et = ["data-accent-color"], Da = /* @__PURE__ */ p({
685
+ }), Wt = ["data-accent-color"], Da = /* @__PURE__ */ p({
686
686
  __name: "Radio",
687
687
  props: {
688
688
  modelValue: {},
@@ -697,16 +697,16 @@ const ba = /* @__PURE__ */ p({
697
697
  defaultValue: t.modelValue,
698
698
  passive: t.modelValue === void 0
699
699
  }), i = y(() => V(t, ["size", "variant", "highContrast"]));
700
- return (n, c) => O((d(), x("input", {
700
+ return (r, c) => O((d(), x("input", {
701
701
  "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
702
702
  class: w(["ui-Radio", i.value]),
703
703
  type: "radio",
704
704
  "data-accent-color": t.color
705
- }, null, 10, Et)), [
706
- [he, a(l)]
705
+ }, null, 10, Wt)), [
706
+ [me, a(l)]
707
707
  ]);
708
708
  }
709
- }), [ue, jt] = L("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
709
+ }), [ce, jt] = G("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
710
710
  __name: "RadioGroupRoot",
711
711
  props: {
712
712
  color: {},
@@ -726,15 +726,15 @@ const ba = /* @__PURE__ */ p({
726
726
  },
727
727
  emits: ["update:modelValue"],
728
728
  setup(s, { emit: e }) {
729
- const t = e, o = s, l = R(o, t, ["color", "size", "variant", "highContrast"]), { size: i, variant: n, color: c, highContrast: m } = M(o);
730
- return jt({ size: i, variant: n, color: c, highContrast: m }), (C, b) => (d(), f(a(le), g({ class: "ui-RadioGroupRoot" }, a(l)), {
731
- default: r(() => [
732
- h(C.$slots, "default")
729
+ const t = e, o = s, l = R(o, t, ["color", "size", "variant", "highContrast"]), { size: i, variant: r, color: c, highContrast: m } = M(o);
730
+ return jt({ size: i, variant: r, color: c, highContrast: m }), (_, C) => (d(), f(a(se), v({ class: "ui-RadioGroupRoot" }, a(l)), {
731
+ default: n(() => [
732
+ h(_.$slots, "default")
733
733
  ]),
734
734
  _: 3
735
735
  }, 16));
736
736
  }
737
- }), qt = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
737
+ }), Et = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
738
738
  __name: "RadioGroupItem",
739
739
  props: {
740
740
  id: {},
@@ -746,18 +746,18 @@ const ba = /* @__PURE__ */ p({
746
746
  required: { type: Boolean }
747
747
  },
748
748
  setup(s) {
749
- const t = $(s), o = ue(), l = y(() => {
750
- var n;
749
+ const t = $(s), o = ce(), l = y(() => {
750
+ var r;
751
751
  const i = [
752
752
  `r-size-${o.size.value}`,
753
753
  `r-variant-${o.variant.value}`
754
754
  ];
755
- return (n = o.highContrast) != null && n.value && i.push("r-high-contrast"), i;
755
+ return (r = o.highContrast) != null && r.value && i.push("r-high-contrast"), i;
756
756
  });
757
- return (i, n) => {
757
+ return (i, r) => {
758
758
  var c;
759
- return d(), x("label", qt, [
760
- u(a(ne), g({
759
+ return d(), x("label", Et, [
760
+ u(a(le), v({
761
761
  class: ["ui-Radio", l.value],
762
762
  "data-accent-color": (c = a(o).color) == null ? void 0 : c.value
763
763
  }, a(t)), null, 16, ["class", "data-accent-color"]),
@@ -779,21 +779,21 @@ const ba = /* @__PURE__ */ p({
779
779
  setup(s) {
780
780
  const t = $(s);
781
781
  S();
782
- const o = ue();
782
+ const o = ce();
783
783
  return (l, i) => {
784
- var n, c;
785
- return d(), f(a(ne), g({
784
+ var r, c;
785
+ return d(), f(a(le), v({
786
786
  class: "ui-RadioCardsItem",
787
- "data-accent-color": (n = a(o).color) == null ? void 0 : n.value,
787
+ "data-accent-color": (r = a(o).color) == null ? void 0 : r.value,
788
788
  "data-size": a(o).size.value,
789
789
  "data-variant": a(o).variant.value,
790
790
  "data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
791
791
  }, { ...a(t), asChild: !1 }), {
792
- default: r(() => [
793
- u(It, {
792
+ default: n(() => [
793
+ u(Rt, {
794
794
  "as-child": a(t).asChild
795
795
  }, {
796
- default: r(() => [
796
+ default: n(() => [
797
797
  h(l.$slots, "default")
798
798
  ]),
799
799
  _: 3
@@ -803,7 +803,7 @@ const ba = /* @__PURE__ */ p({
803
803
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
804
804
  };
805
805
  }
806
- }), Ut = {
806
+ }), qt = {
807
807
  key: 0,
808
808
  xmlns: "http://www.w3.org/2000/svg",
809
809
  viewBox: "0 0 24 24",
@@ -812,13 +812,13 @@ const ba = /* @__PURE__ */ p({
812
812
  "stroke-width": "4",
813
813
  "stroke-linecap": "round",
814
814
  "stroke-linejoin": "round"
815
- }, Kt = {
815
+ }, Ut = {
816
816
  key: 0,
817
817
  d: "M5 12h14"
818
- }, Nt = {
818
+ }, Kt = {
819
819
  key: 1,
820
820
  d: "M20 6 9 17l-5-5"
821
- }, pe = /* @__PURE__ */ p({
821
+ }, ue = /* @__PURE__ */ p({
822
822
  __name: "Checkbox",
823
823
  props: {
824
824
  color: {},
@@ -838,18 +838,18 @@ const ba = /* @__PURE__ */ p({
838
838
  emits: ["update:modelValue"],
839
839
  setup(s, { emit: e }) {
840
840
  const t = e, o = s, [l, i] = D(o, t, ["color", "size", "variant", "highContrast"]);
841
- return (n, c) => (d(), f(a(je), g(a(l), {
841
+ return (r, c) => (d(), f(a(je), v(a(l), {
842
842
  class: ["ui-Checkbox", a(i)],
843
843
  "data-accent-color": o.color
844
844
  }), {
845
- default: r(() => [
846
- u(a(qe), {
845
+ default: n(() => [
846
+ u(a(Ee), {
847
847
  class: "ui-CheckboxIndicator",
848
848
  "as-child": ""
849
849
  }, {
850
- default: r(() => [
851
- a(l).checked !== !1 ? (d(), x("svg", Ut, [
852
- a(l).checked === "indeterminate" ? (d(), x("path", Kt)) : (d(), x("path", Nt))
850
+ default: n(() => [
851
+ a(l).checked !== !1 ? (d(), x("svg", qt, [
852
+ a(l).checked === "indeterminate" ? (d(), x("path", Ut)) : (d(), x("path", Kt))
853
853
  ])) : T("", !0)
854
854
  ]),
855
855
  _: 1
@@ -858,7 +858,7 @@ const ba = /* @__PURE__ */ p({
858
858
  _: 1
859
859
  }, 16, ["class", "data-accent-color"]));
860
860
  }
861
- }), [fe, Qt] = L("ui_CheckboxGroupRoot"), Ma = /* @__PURE__ */ p({
861
+ }), [pe, Nt] = G("ui_CheckboxGroupRoot"), Ma = /* @__PURE__ */ p({
862
862
  __name: "CheckboxGroupRoot",
863
863
  props: {
864
864
  modelValue: {},
@@ -870,42 +870,42 @@ const ba = /* @__PURE__ */ p({
870
870
  },
871
871
  emits: ["update:modelValue"],
872
872
  setup(s, { emit: e }) {
873
- const t = s, o = e, { disabled: l, name: i } = M(t), n = G([]), c = A(t, "modelValue", o, {
873
+ const t = s, o = e, { disabled: l, name: i } = M(t), r = U([]), c = A(t, "modelValue", o, {
874
874
  defaultValue: t.defaultValue,
875
875
  passive: t.modelValue === void 0
876
- }), m = y(() => c.value || []), C = y(() => {
877
- var _, v;
878
- return n.value.length ? ((_ = c.value) == null ? void 0 : _.length) === n.value.length ? !0 : (v = c.value) != null && v.length ? "indeterminate" : !1 : !1;
879
- }), b = (_) => {
880
- var P, J;
881
- const v = (P = c.value) == null ? void 0 : P.indexOf(_);
882
- v !== -1 && v !== void 0 && ((J = c.value) == null || J.splice(v, 1));
876
+ }), m = y(() => c.value || []), _ = y(() => {
877
+ var g, b;
878
+ return r.value.length ? ((g = c.value) == null ? void 0 : g.length) === r.value.length ? !0 : (b = c.value) != null && b.length ? "indeterminate" : !1 : !1;
879
+ }), C = (g) => {
880
+ var P, Q;
881
+ const b = (P = c.value) == null ? void 0 : P.indexOf(g);
882
+ b !== -1 && b !== void 0 && ((Q = c.value) == null || Q.splice(b, 1));
883
883
  };
884
- return Qt({
884
+ return Nt({
885
885
  selected: m,
886
- checked: C,
887
- addModelValue: (_) => {
888
- var v, P;
889
- ((v = c.value) == null ? void 0 : v.indexOf(_)) === -1 && ((P = c.value) == null || P.push(_));
886
+ checked: _,
887
+ addModelValue: (g) => {
888
+ var b, P;
889
+ ((b = c.value) == null ? void 0 : b.indexOf(g)) === -1 && ((P = c.value) == null || P.push(g));
890
890
  },
891
- removeModelValue: b,
892
- toggleModelValue: (_) => {
893
- _ ? c.value = [...n.value] : c.value = [];
891
+ removeModelValue: C,
892
+ toggleModelValue: (g) => {
893
+ g ? c.value = [...r.value] : c.value = [];
894
894
  },
895
- initAllValue: (_) => {
896
- n.value.push(_);
895
+ initAllValue: (g) => {
896
+ r.value.push(g);
897
897
  },
898
- removeAllValue: (_) => {
899
- n.value.splice(n.value.indexOf(_), 1), b(_);
898
+ removeAllValue: (g) => {
899
+ r.value.splice(r.value.indexOf(g), 1), C(g);
900
900
  },
901
901
  disabled: l,
902
902
  name: i == null ? void 0 : i.value
903
- }), (_, v) => (d(), f(a(k), {
903
+ }), (g, b) => (d(), f(a(k), {
904
904
  as: t.as,
905
905
  "as-child": t.asChild
906
906
  }, {
907
- default: r(() => [
908
- h(_.$slots, "default")
907
+ default: n(() => [
908
+ h(g.$slots, "default")
909
909
  ]),
910
910
  _: 3
911
911
  }, 8, ["as", "as-child"]));
@@ -930,22 +930,22 @@ const ba = /* @__PURE__ */ p({
930
930
  setup(s) {
931
931
  const e = s, t = $(e);
932
932
  S();
933
- const o = fe(), l = y(() => {
933
+ const o = pe(), l = y(() => {
934
934
  var c;
935
935
  return ((c = o.disabled) == null ? void 0 : c.value) || e.disabled;
936
- }), i = y(() => o.selected.value.indexOf(e.value) !== -1), n = (c) => {
936
+ }), i = y(() => o.selected.value.indexOf(e.value) !== -1), r = (c) => {
937
937
  c ? o.addModelValue(e.value) : o.removeModelValue(e.value);
938
938
  };
939
- return K(() => {
939
+ return te(() => {
940
940
  o.initAllValue(e.value);
941
- }), oe(() => {
941
+ }), ae(() => {
942
942
  o.removeAllValue(e.value);
943
- }), (c, m) => (d(), f(pe, g({
943
+ }), (c, m) => (d(), f(ue, v({
944
944
  ...a(t),
945
945
  name: e.name || a(o).name,
946
946
  checked: i.value,
947
947
  disabled: l.value
948
- }, { "onUpdate:checked": n }), null, 16));
948
+ }, { "onUpdate:checked": r }), null, 16));
949
949
  }
950
950
  }), La = /* @__PURE__ */ p({
951
951
  __name: "CheckboxGroupControl",
@@ -967,11 +967,11 @@ const ba = /* @__PURE__ */ p({
967
967
  setup(s) {
968
968
  const e = s, t = $(e);
969
969
  S();
970
- const o = fe(), l = y(() => {
971
- var n;
972
- return ((n = o.disabled) == null ? void 0 : n.value) || e.disabled;
970
+ const o = pe(), l = y(() => {
971
+ var r;
972
+ return ((r = o.disabled) == null ? void 0 : r.value) || e.disabled;
973
973
  }), i = y(() => o.checked.value);
974
- return (n, c) => (d(), f(pe, g({
974
+ return (r, c) => (d(), f(ue, v({
975
975
  ...a(t),
976
976
  name: e.name || a(o).name,
977
977
  checked: i.value,
@@ -980,11 +980,11 @@ const ba = /* @__PURE__ */ p({
980
980
  "onUpdate:checked": a(o).toggleModelValue
981
981
  }), null, 16, ["onUpdate:checked"]));
982
982
  }
983
- }), Zt = ["data-radius", "data-accent-color"], Jt = ["id", "type"], Xt = {
983
+ }), Qt = ["data-radius", "data-accent-color"], Jt = ["id", "type"], Zt = {
984
984
  key: 0,
985
985
  class: "ui-TextFieldSlot",
986
986
  "data-side": "left"
987
- }, Yt = {
987
+ }, Xt = {
988
988
  key: 1,
989
989
  class: "ui-TextFieldSlot",
990
990
  "data-side": "right"
@@ -1003,46 +1003,46 @@ const ba = /* @__PURE__ */ p({
1003
1003
  },
1004
1004
  emits: ["update:modelValue"],
1005
1005
  setup(s, { emit: e }) {
1006
- const t = s, o = G(), l = (m) => {
1007
- const C = m.target;
1008
- if (C.closest("input, button, a")) return;
1009
- const b = o.value;
1010
- if (!b) return;
1011
- const v = C.closest("[data-side=right]") ? b.value.length : 0;
1006
+ const t = s, o = U(), l = (m) => {
1007
+ const _ = m.target;
1008
+ if (_.closest("input, button, a")) return;
1009
+ const C = o.value;
1010
+ if (!C) return;
1011
+ const b = _.closest("[data-side=right]") ? C.value.length : 0;
1012
1012
  requestAnimationFrame(() => {
1013
- b.setSelectionRange(v, v), b.focus();
1013
+ C.setSelectionRange(b, b), C.focus();
1014
1014
  });
1015
- }, n = A(t, "modelValue", e, {
1015
+ }, r = A(t, "modelValue", e, {
1016
1016
  defaultValue: t.modelValue,
1017
1017
  passive: t.modelValue === void 0
1018
1018
  }), c = y(() => {
1019
1019
  const m = V(t, ["size", "variant"]);
1020
1020
  return t.class && m.push(t.class), m;
1021
1021
  });
1022
- return (m, C) => (d(), x("div", {
1022
+ return (m, _) => (d(), x("div", {
1023
1023
  class: w(["ui-TextField", c.value]),
1024
1024
  "data-radius": t.radius,
1025
1025
  "data-accent-color": t.color,
1026
1026
  onPointerdown: l
1027
1027
  }, [
1028
- O(B("input", g({
1028
+ O(B("input", v({
1029
1029
  id: t.id,
1030
1030
  ref_key: "inputRef",
1031
1031
  ref: o,
1032
- "onUpdate:modelValue": C[0] || (C[0] = (b) => I(n) ? n.value = b : null),
1032
+ "onUpdate:modelValue": _[0] || (_[0] = (C) => I(r) ? r.value = C : null),
1033
1033
  type: t.type
1034
1034
  }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Jt), [
1035
- [_e, a(n)]
1035
+ [he, a(r)]
1036
1036
  ]),
1037
- m.$slots.left ? (d(), x("div", Xt, [
1037
+ m.$slots.left ? (d(), x("div", Zt, [
1038
1038
  h(m.$slots, "left")
1039
1039
  ])) : T("", !0),
1040
- m.$slots.right ? (d(), x("div", Yt, [
1040
+ m.$slots.right ? (d(), x("div", Xt, [
1041
1041
  h(m.$slots, "right")
1042
1042
  ])) : T("", !0)
1043
- ], 42, Zt));
1043
+ ], 42, Qt));
1044
1044
  }
1045
- }), ea = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1045
+ }), Yt = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1046
1046
  inheritAttrs: !1,
1047
1047
  __name: "TextArea",
1048
1048
  props: {
@@ -1060,21 +1060,21 @@ const ba = /* @__PURE__ */ p({
1060
1060
  defaultValue: t.modelValue,
1061
1061
  passive: t.modelValue === void 0
1062
1062
  }), i = y(() => {
1063
- const n = V(t, ["size", "variant", "resize"]);
1064
- return t.class && n.push(t.class), n;
1063
+ const r = V(t, ["size", "variant", "resize"]);
1064
+ return t.class && r.push(t.class), r;
1065
1065
  });
1066
- return (n, c) => (d(), x("div", {
1066
+ return (r, c) => (d(), x("div", {
1067
1067
  class: w(["ui-TextArea", i.value]),
1068
1068
  "data-accent-color": t.color
1069
1069
  }, [
1070
- O(B("textarea", g({
1070
+ O(B("textarea", v({
1071
1071
  "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null)
1072
- }, n.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1073
- [U, a(l)]
1072
+ }, r.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1073
+ [q, a(l)]
1074
1074
  ])
1075
- ], 10, ea));
1075
+ ], 10, Yt));
1076
1076
  }
1077
- }), ta = ["data-accent-color"], aa = ["id"], Ea = /* @__PURE__ */ p({
1077
+ }), ea = ["data-accent-color"], ta = ["id"], ja = /* @__PURE__ */ p({
1078
1078
  __name: "ColorField",
1079
1079
  props: {
1080
1080
  id: {},
@@ -1090,7 +1090,7 @@ const ba = /* @__PURE__ */ p({
1090
1090
  defaultValue: t.modelValue || "#000000",
1091
1091
  passive: t.modelValue === void 0
1092
1092
  }), i = y(() => V(t, ["size", "variant"]));
1093
- return (n, c) => (d(), x("div", {
1093
+ return (r, c) => (d(), x("div", {
1094
1094
  class: w(["ui-TextField ui-ColorField", i.value]),
1095
1095
  "data-accent-color": t.color
1096
1096
  }, [
@@ -1099,8 +1099,8 @@ const ba = /* @__PURE__ */ p({
1099
1099
  "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
1100
1100
  class: "ui-ColorFieldInput",
1101
1101
  type: "color"
1102
- }, null, 8, aa), [
1103
- [U, a(l)]
1102
+ }, null, 8, ta), [
1103
+ [q, a(l)]
1104
1104
  ]),
1105
1105
  O(B("input", {
1106
1106
  "onUpdate:modelValue": c[1] || (c[1] = (m) => I(l) ? l.value = m : null),
@@ -1108,11 +1108,11 @@ const ba = /* @__PURE__ */ p({
1108
1108
  type: "text",
1109
1109
  pattern: "^#[0-9a-f]{6}$"
1110
1110
  }, null, 512), [
1111
- [U, a(l)]
1111
+ [q, a(l)]
1112
1112
  ])
1113
- ], 10, ta));
1113
+ ], 10, ea));
1114
1114
  }
1115
- }), ja = /* @__PURE__ */ p({
1115
+ }), Ea = /* @__PURE__ */ p({
1116
1116
  __name: "Toggle",
1117
1117
  props: {
1118
1118
  color: {},
@@ -1137,13 +1137,13 @@ const ba = /* @__PURE__ */ p({
1137
1137
  "highContrast",
1138
1138
  "radius"
1139
1139
  ]);
1140
- return (n, c) => (d(), f(a(Ue), g(a(l), {
1140
+ return (r, c) => (d(), f(a(qe), v(a(l), {
1141
1141
  class: ["ui-Toggle", a(i)],
1142
1142
  "data-accent-color": o.color,
1143
1143
  "data-radius": o.radius
1144
1144
  }), {
1145
- default: r(() => [
1146
- h(n.$slots, "default")
1145
+ default: n(() => [
1146
+ h(r.$slots, "default")
1147
1147
  ]),
1148
1148
  _: 3
1149
1149
  }, 16, ["class", "data-accent-color", "data-radius"]));
@@ -1178,13 +1178,13 @@ const ba = /* @__PURE__ */ p({
1178
1178
  "highContrast",
1179
1179
  "radius"
1180
1180
  ]);
1181
- return (n, c) => (d(), f(a(Ke), g(a(l), {
1181
+ return (r, c) => (d(), f(a(Ue), v(a(l), {
1182
1182
  class: ["ui-ToggleGroupRoot", a(i)],
1183
1183
  "data-accent-color": o.color,
1184
1184
  "data-radius": o.radius
1185
1185
  }), {
1186
- default: r(() => [
1187
- h(n.$slots, "default")
1186
+ default: n(() => [
1187
+ h(r.$slots, "default")
1188
1188
  ]),
1189
1189
  _: 3
1190
1190
  }, 16, ["class", "data-accent-color", "data-radius"]));
@@ -1201,14 +1201,14 @@ const ba = /* @__PURE__ */ p({
1201
1201
  },
1202
1202
  setup(s) {
1203
1203
  const t = $(s);
1204
- return (o, l) => (d(), f(a(Ne), g(a(t), { class: "ui-ToggleGroupItem" }), {
1205
- default: r(() => [
1204
+ return (o, l) => (d(), f(a(Ke), v(a(t), { class: "ui-ToggleGroupItem" }), {
1205
+ default: n(() => [
1206
1206
  h(o.$slots, "default")
1207
1207
  ]),
1208
1208
  _: 3
1209
1209
  }, 16));
1210
1210
  }
1211
- }), [me, oa] = L("ui_SelectRoot"), Ka = /* @__PURE__ */ p({
1211
+ }), [fe, aa] = G("ui_SelectRoot"), Ka = /* @__PURE__ */ p({
1212
1212
  __name: "SelectRoot",
1213
1213
  props: {
1214
1214
  size: { default: "2" },
@@ -1228,13 +1228,13 @@ const ba = /* @__PURE__ */ p({
1228
1228
  },
1229
1229
  emits: ["update:modelValue", "update:open"],
1230
1230
  setup(s, { emit: e }) {
1231
- const t = s, o = e, { size: l, color: i, highContrast: n } = M(t), c = R(t, o, ["size", "color", "highContrast"]);
1232
- return oa({
1231
+ const t = s, o = e, { size: l, color: i, highContrast: r } = M(t), c = R(t, o, ["size", "color", "highContrast"]);
1232
+ return aa({
1233
1233
  size: l,
1234
1234
  color: i,
1235
- highContrast: n
1236
- }), (m, C) => (d(), f(a(Qe), ge(ve(a(c))), {
1237
- default: r(() => [
1235
+ highContrast: r
1236
+ }), (m, _) => (d(), f(a(Ne), _e(ge(a(c))), {
1237
+ default: n(() => [
1238
1238
  h(m.$slots, "default")
1239
1239
  ]),
1240
1240
  _: 3
@@ -1268,16 +1268,16 @@ const ba = /* @__PURE__ */ p({
1268
1268
  as: {}
1269
1269
  },
1270
1270
  setup(s) {
1271
- const e = s, t = $(e), { forwardRef: o } = S(), l = me(), i = y(() => {
1272
- const n = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1273
- return l.highContrast.value && n.push("r-high-contrast"), e.position === "popper" && n.push("ui-PopperContent"), n;
1271
+ const e = s, t = $(e), { forwardRef: o } = S(), l = fe(), i = y(() => {
1272
+ const r = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1273
+ return l.highContrast.value && r.push("r-high-contrast"), e.position === "popper" && r.push("ui-PopperContent"), r;
1274
1274
  });
1275
- return (n, c) => (d(), f(a(Ze), {
1275
+ return (r, c) => (d(), f(a(Qe), {
1276
1276
  to: e.to
1277
1277
  }, {
1278
- default: r(() => [
1279
- u(a(Je), g({ ref: a(o) }, {
1280
- ...n.$attrs,
1278
+ default: n(() => [
1279
+ u(a(Je), v({ ref: a(o) }, {
1280
+ ...r.$attrs,
1281
1281
  ...a(t),
1282
1282
  to: void 0,
1283
1283
  variant: void 0
@@ -1285,30 +1285,30 @@ const ba = /* @__PURE__ */ p({
1285
1285
  class: ["ui-SelectContent", i.value],
1286
1286
  "data-accent-color": a(l).color.value
1287
1287
  }), {
1288
- default: r(() => [
1289
- u(a(N), {
1288
+ default: n(() => [
1289
+ u(a(K), {
1290
1290
  type: "auto",
1291
1291
  class: "ui-ScrollArea"
1292
1292
  }, {
1293
- default: r(() => [
1294
- u(a(Xe), {
1293
+ default: n(() => [
1294
+ u(a(Ze), {
1295
1295
  class: "ui-SelectViewport",
1296
1296
  "as-child": ""
1297
1297
  }, {
1298
- default: r(() => [
1299
- u(a(Q), { class: "ui-ScrollAreaViewport" }, {
1300
- default: r(() => [
1301
- h(n.$slots, "default")
1298
+ default: n(() => [
1299
+ u(a(N), { class: "ui-ScrollAreaViewport" }, {
1300
+ default: n(() => [
1301
+ h(r.$slots, "default")
1302
1302
  ]),
1303
1303
  _: 3
1304
1304
  }),
1305
1305
  c[0] || (c[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1306
- u(a(E), {
1306
+ u(a(W), {
1307
1307
  class: "ui-ScrollAreaScrollbar",
1308
1308
  "data-size": 1,
1309
1309
  orientation: "vertical"
1310
1310
  }, {
1311
- default: r(() => [
1311
+ default: n(() => [
1312
1312
  u(a(j), { class: "ui-ScrollAreaThumb" })
1313
1313
  ]),
1314
1314
  _: 1
@@ -1326,7 +1326,7 @@ const ba = /* @__PURE__ */ p({
1326
1326
  _: 3
1327
1327
  }, 8, ["to"]));
1328
1328
  }
1329
- }), sa = { class: "ui-SelectTriggerInner" }, Qa = /* @__PURE__ */ p({
1329
+ }), oa = { class: "ui-SelectTriggerInner" }, Qa = /* @__PURE__ */ p({
1330
1330
  __name: "SelectTrigger",
1331
1331
  props: {
1332
1332
  variant: { default: "surface" },
@@ -1338,21 +1338,21 @@ const ba = /* @__PURE__ */ p({
1338
1338
  as: {}
1339
1339
  },
1340
1340
  setup(s) {
1341
- const e = s, t = me(), o = y(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1342
- return (l, i) => (d(), f(a(Ye), {
1341
+ const e = s, t = fe(), o = y(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1342
+ return (l, i) => (d(), f(a(Xe), {
1343
1343
  class: w(["ui-SelectTrigger", o.value]),
1344
1344
  disabled: e.disabled,
1345
1345
  "data-accent-color": a(t).color,
1346
1346
  "data-radius": e.radius
1347
1347
  }, {
1348
- default: r(() => [
1349
- B("span", sa, [
1350
- u(a(et), {
1348
+ default: n(() => [
1349
+ B("span", oa, [
1350
+ u(a(Ye), {
1351
1351
  placeholder: e.placeholder
1352
1352
  }, null, 8, ["placeholder"])
1353
1353
  ]),
1354
- u(a(tt), { "as-child": "" }, {
1355
- default: r(() => [
1354
+ u(a(et), { "as-child": "" }, {
1355
+ default: n(() => [
1356
1356
  u(a(z), {
1357
1357
  class: "ui-SelectIcon",
1358
1358
  icon: "radix-icons:chevron-down"
@@ -1364,7 +1364,7 @@ const ba = /* @__PURE__ */ p({
1364
1364
  _: 1
1365
1365
  }, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
1366
1366
  }
1367
- }), Za = /* @__PURE__ */ p({
1367
+ }), Ja = /* @__PURE__ */ p({
1368
1368
  __name: "SelectItem",
1369
1369
  props: {
1370
1370
  value: {},
@@ -1375,16 +1375,16 @@ const ba = /* @__PURE__ */ p({
1375
1375
  },
1376
1376
  setup(s) {
1377
1377
  const t = $(s);
1378
- return S(), (o, l) => (d(), f(a(at), g({ class: "ui-SelectItem" }, a(t)), {
1379
- default: r(() => [
1380
- u(a(ot), { class: "ui-SelectItemIndicator" }, {
1381
- default: r(() => [
1378
+ return S(), (o, l) => (d(), f(a(tt), v({ class: "ui-SelectItem" }, a(t)), {
1379
+ default: n(() => [
1380
+ u(a(at), { class: "ui-SelectItemIndicator" }, {
1381
+ default: n(() => [
1382
1382
  u(a(z), { icon: "radix-icons:check" })
1383
1383
  ]),
1384
1384
  _: 1
1385
1385
  }),
1386
- u(a(st), null, {
1387
- default: r(() => [
1386
+ u(a(ot), null, {
1387
+ default: n(() => [
1388
1388
  h(o.$slots, "default")
1389
1389
  ]),
1390
1390
  _: 3
@@ -1393,7 +1393,7 @@ const ba = /* @__PURE__ */ p({
1393
1393
  _: 3
1394
1394
  }, 16));
1395
1395
  }
1396
- }), Ja = /* @__PURE__ */ p({
1396
+ }), Za = /* @__PURE__ */ p({
1397
1397
  __name: "SelectLabel",
1398
1398
  props: {
1399
1399
  for: {},
@@ -1402,26 +1402,26 @@ const ba = /* @__PURE__ */ p({
1402
1402
  },
1403
1403
  setup(s) {
1404
1404
  const t = $(s);
1405
- return S(), (o, l) => (d(), f(a(lt), g({ class: "ui-SelectLabel" }, a(t)), {
1406
- default: r(() => [
1405
+ return S(), (o, l) => (d(), f(a(st), v({ class: "ui-SelectLabel" }, a(t)), {
1406
+ default: n(() => [
1407
1407
  h(o.$slots, "default")
1408
1408
  ]),
1409
1409
  _: 3
1410
1410
  }, 16));
1411
1411
  }
1412
- }), la = (s, e) => {
1412
+ }), sa = (s, e) => {
1413
1413
  const t = s.__vccOpts || s;
1414
1414
  for (const [o, l] of e)
1415
1415
  t[o] = l;
1416
1416
  return t;
1417
- }, na = {}, ra = {
1417
+ }, la = {}, na = {
1418
1418
  class: "ui-SelectSeparator",
1419
1419
  "aria-hidden": "true"
1420
1420
  };
1421
- function ia(s, e) {
1422
- return d(), x("div", ra);
1421
+ function ra(s, e) {
1422
+ return d(), x("div", na);
1423
1423
  }
1424
- const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1424
+ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1425
1425
  __name: "ComboboxRoot",
1426
1426
  props: {
1427
1427
  size: { default: "2" },
@@ -1445,17 +1445,16 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1445
1445
  },
1446
1446
  emits: ["update:modelValue", "highlight", "update:open"],
1447
1447
  setup(s, { emit: e }) {
1448
- const t = s, o = e, { size: l, color: i, highContrast: n } = M(t), c = G(/* @__PURE__ */ new Map()), [m, C] = D(t, o, ["size", "color", "highContrast"]);
1448
+ const t = s, o = e, { size: l, color: i, highContrast: r } = M(t), [c, m] = D(t, o, ["size", "color", "highContrast"]);
1449
1449
  return da({
1450
1450
  size: l,
1451
1451
  color: i,
1452
- highContrast: n,
1453
- items: c
1454
- }), (b, _) => (d(), f(a(nt), g({
1455
- class: ["ui-ComboboxRoot", a(C)]
1456
- }, a(m)), {
1457
- default: r(() => [
1458
- h(b.$slots, "default")
1452
+ highContrast: r
1453
+ }), (_, C) => (d(), f(a(lt), v({
1454
+ class: ["ui-ComboboxRoot", a(m)]
1455
+ }, a(c)), {
1456
+ default: n(() => [
1457
+ h(_.$slots, "default")
1459
1458
  ]),
1460
1459
  _: 3
1461
1460
  }, 16, ["class"]));
@@ -1476,35 +1475,35 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1476
1475
  },
1477
1476
  emits: ["update:modelValue"],
1478
1477
  setup(s, { emit: e }) {
1479
- const t = rt(), o = s, l = e, i = re(o, l), n = A(o, "modelValue", l, {
1478
+ const t = nt(), o = s, l = e, i = ne(o, l), r = A(o, "modelValue", l, {
1480
1479
  passive: !0
1481
- }), c = y(() => t.modelValue.value), m = Z(), C = (b) => m.items.value.get(b);
1482
- return ye(c, () => {
1483
- n.value = "", t.filterState.search = "";
1484
- }, { deep: !0 }), (b, _) => (d(), f(a(it), {
1485
- class: w(["ui-ComboboxField", `r-variant-${b.variant}`]),
1486
- "data-radius": b.radius,
1480
+ }), c = y(() => t.modelValue.value), m = (_) => typeof _ == "object" ? JSON.stringify(_) : _.toString();
1481
+ return ve(c, () => {
1482
+ r.value = "", t.filterState.search = "";
1483
+ }, { deep: !0 }), (_, C) => (d(), f(a(rt), {
1484
+ class: w(["ui-ComboboxField", `r-variant-${_.variant}`]),
1485
+ "data-radius": _.radius,
1487
1486
  "data-multiple": a(t).multiple.value || void 0
1488
1487
  }, {
1489
- default: r(() => [
1490
- a(t).multiple.value ? (d(), f(a(dt), {
1488
+ default: n(() => [
1489
+ a(t).multiple.value ? (d(), f(a(it), {
1491
1490
  key: 0,
1492
1491
  class: "ui-ComboboxTagsRoot",
1493
1492
  "model-value": c.value,
1494
1493
  delimiter: ""
1495
1494
  }, {
1496
- default: r(() => [
1497
- (d(!0), x(Ce, null, be(c.value, (v) => (d(), f(a(ct), {
1498
- key: C(v),
1495
+ default: n(() => [
1496
+ (d(!0), x(ye, null, Ce(c.value, (g) => (d(), f(a(dt), {
1497
+ key: m(g),
1499
1498
  class: "ui-ComboboxTagsItem",
1500
- value: v
1499
+ value: g
1501
1500
  }, {
1502
- default: r(() => [
1503
- h(b.$slots, "item", { item: v }, () => [
1504
- B("span", null, F(C(v)), 1)
1501
+ default: n(() => [
1502
+ h(_.$slots, "item", { value: g }, () => [
1503
+ B("span", null, F(m(g)), 1)
1505
1504
  ]),
1506
- u(a(ut), null, {
1507
- default: r(() => [
1505
+ u(a(ct), null, {
1506
+ default: n(() => [
1508
1507
  u(a(z), { icon: "lucide:x" })
1509
1508
  ]),
1510
1509
  _: 1
@@ -1512,20 +1511,20 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1512
1511
  ]),
1513
1512
  _: 2
1514
1513
  }, 1032, ["value"]))), 128)),
1515
- u(a(X), g({
1516
- ...b.$attrs,
1514
+ u(a(J), v({
1515
+ ..._.$attrs,
1517
1516
  ...a(i),
1518
1517
  variant: void 0,
1519
1518
  radius: void 0
1520
1519
  }, {
1521
- modelValue: a(n),
1522
- "onUpdate:modelValue": _[1] || (_[1] = (v) => I(n) ? n.value = v : null),
1520
+ modelValue: a(r),
1521
+ "onUpdate:modelValue": C[1] || (C[1] = (g) => I(r) ? r.value = g : null),
1523
1522
  class: "ui-ComboboxInput",
1524
1523
  "as-child": ""
1525
1524
  }), {
1526
- default: r(() => [
1527
- u(a(pt), {
1528
- onKeydown: _[0] || (_[0] = Be(xe(() => {
1525
+ default: n(() => [
1526
+ u(a(ut), {
1527
+ onKeydown: C[0] || (C[0] = be(Be(() => {
1529
1528
  }, ["prevent"]), ["enter"]))
1530
1529
  })
1531
1530
  ]),
@@ -1533,17 +1532,17 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1533
1532
  }, 16, ["modelValue"])
1534
1533
  ]),
1535
1534
  _: 3
1536
- }, 8, ["model-value"])) : (d(), f(a(X), g({
1535
+ }, 8, ["model-value"])) : (d(), f(a(J), v({
1537
1536
  key: 1,
1538
1537
  class: "ui-ComboboxInput"
1539
1538
  }, {
1540
- ...b.$attrs,
1539
+ ..._.$attrs,
1541
1540
  ...a(i),
1542
1541
  variant: void 0,
1543
1542
  radius: void 0
1544
1543
  }), null, 16)),
1545
- u(a(ft), { class: "ui-ComboboxTrigger" }, {
1546
- default: r(() => [
1544
+ u(a(pt), { class: "ui-ComboboxTrigger" }, {
1545
+ default: n(() => [
1547
1546
  u(a(z), { icon: "radix-icons:chevron-down" })
1548
1547
  ]),
1549
1548
  _: 1
@@ -1582,15 +1581,15 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1582
1581
  },
1583
1582
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1584
1583
  setup(s, { emit: e }) {
1585
- const { forwardRef: t } = S(), o = s, i = re(o, e), n = Z(), c = y(() => {
1586
- const m = ["r-size-" + n.size.value, "r-variant-" + o.variant];
1587
- return n.highContrast.value && m.push("r-high-contrast"), m;
1584
+ const { forwardRef: t } = S(), o = s, i = ne(o, e), r = ia(), c = y(() => {
1585
+ const m = ["r-size-" + r.size.value, "r-variant-" + o.variant];
1586
+ return r.highContrast.value && m.push("r-high-contrast"), m;
1588
1587
  });
1589
- return (m, C) => (d(), f(a(mt), {
1588
+ return (m, _) => (d(), f(a(ft), {
1590
1589
  to: o.to
1591
1590
  }, {
1592
- default: r(() => [
1593
- u(a(ht), g({ ref: a(t) }, {
1591
+ default: n(() => [
1592
+ u(a(mt), v({ ref: a(t) }, {
1594
1593
  ...m.$attrs,
1595
1594
  ...a(i),
1596
1595
  position: "popper",
@@ -1598,21 +1597,21 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1598
1597
  variant: void 0
1599
1598
  }, {
1600
1599
  class: ["ui-ComboboxContent", c.value],
1601
- "data-accent-color": a(n).color.value
1600
+ "data-accent-color": a(r).color.value
1602
1601
  }), {
1603
- default: r(() => [
1604
- u(a(N), {
1602
+ default: n(() => [
1603
+ u(a(K), {
1605
1604
  type: "auto",
1606
1605
  class: "ui-ScrollArea"
1607
1606
  }, {
1608
- default: r(() => [
1609
- u(a(_t), {
1607
+ default: n(() => [
1608
+ u(a(ht), {
1610
1609
  class: "ui-ComboboxViewport",
1611
1610
  "as-child": ""
1612
1611
  }, {
1613
- default: r(() => [
1614
- u(a(Q), { class: "ui-ScrollAreaViewport" }, {
1615
- default: r(() => [
1612
+ default: n(() => [
1613
+ u(a(N), { class: "ui-ScrollAreaViewport" }, {
1614
+ default: n(() => [
1616
1615
  h(m.$slots, "default")
1617
1616
  ]),
1618
1617
  _: 3
@@ -1620,13 +1619,13 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1620
1619
  ]),
1621
1620
  _: 3
1622
1621
  }),
1623
- C[0] || (C[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1624
- u(a(E), {
1622
+ _[0] || (_[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1623
+ u(a(W), {
1625
1624
  class: "ui-ScrollAreaScrollbar",
1626
1625
  "data-size": 1,
1627
1626
  orientation: "vertical"
1628
1627
  }, {
1629
- default: r(() => [
1628
+ default: n(() => [
1630
1629
  u(a(j), { class: "ui-ScrollAreaThumb" })
1631
1630
  ]),
1632
1631
  _: 1
@@ -1651,24 +1650,16 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1651
1650
  as: {}
1652
1651
  },
1653
1652
  setup(s) {
1654
- const e = s, t = $(e), o = Z(), l = G();
1655
- return K(() => {
1656
- var n;
1657
- const i = (n = l.value) == null ? void 0 : n.$el.textContent;
1658
- o.items.value.set(e.value, i);
1659
- }), (i, n) => (d(), f(a(gt), g({
1660
- ref_key: "primitiveElement",
1661
- ref: l,
1662
- class: "ui-ComboboxItem"
1663
- }, a(t)), {
1664
- default: r(() => [
1665
- u(a(vt), { class: "ui-ComboboxItemIndicator" }, {
1666
- default: r(() => [
1653
+ const t = $(s);
1654
+ return (o, l) => (d(), f(a(_t), v({ class: "ui-ComboboxItem" }, a(t)), {
1655
+ default: n(() => [
1656
+ u(a(gt), { class: "ui-ComboboxItemIndicator" }, {
1657
+ default: n(() => [
1667
1658
  u(a(z), { icon: "radix-icons:check" })
1668
1659
  ]),
1669
1660
  _: 1
1670
1661
  }),
1671
- h(i.$slots, "default")
1662
+ h(o.$slots, "default")
1672
1663
  ]),
1673
1664
  _: 3
1674
1665
  }, 16));
@@ -1682,8 +1673,8 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1682
1673
  },
1683
1674
  setup(s) {
1684
1675
  const t = $(s);
1685
- return S(), (o, l) => (d(), f(a(yt), g({ class: "ui-ComboboxLabel" }, a(t)), {
1686
- default: r(() => [
1676
+ return S(), (o, l) => (d(), f(a(vt), v({ class: "ui-ComboboxLabel" }, a(t)), {
1677
+ default: n(() => [
1687
1678
  h(o.$slots, "default")
1688
1679
  ]),
1689
1680
  _: 3
@@ -1703,8 +1694,8 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1703
1694
  "data-size": e.size,
1704
1695
  "data-variant": e.variant
1705
1696
  }, [
1706
- u(ce, null, {
1707
- default: r(() => [
1697
+ u(de, null, {
1698
+ default: n(() => [
1708
1699
  B("table", {
1709
1700
  class: "ui-TableContent",
1710
1701
  "data-layout": e.layout
@@ -1744,7 +1735,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1744
1735
  },
1745
1736
  setup(s) {
1746
1737
  const e = s;
1747
- return (t, o) => (d(), f(a(Ct), {
1738
+ return (t, o) => (d(), f(a(yt), {
1748
1739
  "delay-duration": e.delayDuration,
1749
1740
  "disable-closing-trigger": e.disableClosingTrigger,
1750
1741
  "disable-hoverable-content": e.disableHoverableContent,
@@ -1752,23 +1743,23 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1752
1743
  "ignore-non-keyboard-focus": e.ignoreNonKeyboardFocus,
1753
1744
  "skip-delay-duration": e.skipDelayDuration
1754
1745
  }, {
1755
- default: r(() => [
1756
- u(a(bt), null, {
1757
- default: r(() => [
1758
- u(a(Bt), {
1746
+ default: n(() => [
1747
+ u(a(Ct), null, {
1748
+ default: n(() => [
1749
+ u(a(bt), {
1759
1750
  as: e.as,
1760
1751
  "as-child": e.asChild
1761
1752
  }, {
1762
- default: r(() => [
1753
+ default: n(() => [
1763
1754
  h(t.$slots, "default")
1764
1755
  ]),
1765
1756
  _: 3
1766
1757
  }, 8, ["as", "as-child"]),
1767
- u(a(xt), {
1758
+ u(a(Bt), {
1768
1759
  to: e.to
1769
1760
  }, {
1770
- default: r(() => [
1771
- u(a($t), {
1761
+ default: n(() => [
1762
+ u(a(xt), {
1772
1763
  class: "ui-Tooltip",
1773
1764
  align: e.align,
1774
1765
  "align-offset": e.alignOffset,
@@ -1782,14 +1773,14 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1782
1773
  "side-offset": e.sideOffset,
1783
1774
  sticky: e.sticky
1784
1775
  }, {
1785
- default: r(() => [
1776
+ default: n(() => [
1786
1777
  h(t.$slots, "content", {}, () => [
1787
1778
  B("p", {
1788
1779
  class: "ui-TooltipText",
1789
1780
  textContent: F(e.content)
1790
1781
  }, null, 8, pa)
1791
1782
  ]),
1792
- u(a(wt), { class: "ui-TooltipArrow" })
1783
+ u(a($t), { class: "ui-TooltipArrow" })
1793
1784
  ]),
1794
1785
  _: 3
1795
1786
  }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
@@ -1814,7 +1805,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1814
1805
  },
1815
1806
  setup(s) {
1816
1807
  const e = s;
1817
- return (t, o) => (d(), f(a(St), {
1808
+ return (t, o) => (d(), f(a(wt), {
1818
1809
  class: "ui-TabList",
1819
1810
  "data-accent-color": e.color,
1820
1811
  "data-size": e.size,
@@ -1822,7 +1813,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1822
1813
  "data-justify": e.justify,
1823
1814
  "data-high-contrast": e.highContrast
1824
1815
  }, {
1825
- default: r(() => [
1816
+ default: n(() => [
1826
1817
  h(t.$slots, "default")
1827
1818
  ]),
1828
1819
  _: 3
@@ -1838,8 +1829,8 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1838
1829
  },
1839
1830
  setup(s) {
1840
1831
  const t = $(s);
1841
- return (o, l) => (d(), f(a(Vt), g(a(t), { class: "ui-TabTrigger" }), {
1842
- default: r(() => [
1832
+ return (o, l) => (d(), f(a(St), v(a(t), { class: "ui-TabTrigger" }), {
1833
+ default: n(() => [
1843
1834
  B("span", fa, [
1844
1835
  h(o.$slots, "default")
1845
1836
  ]),
@@ -1868,17 +1859,17 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1868
1859
  emits: ["update:modelValue"],
1869
1860
  setup(s, { emit: e }) {
1870
1861
  const t = e, o = s, [l, i] = D(o, t, ["size"]);
1871
- return (n, c) => (d(), f(a(le), g(a(l), {
1862
+ return (r, c) => (d(), f(a(se), v(a(l), {
1872
1863
  class: ["ui-RadioTabsList", a(i)]
1873
1864
  }), {
1874
- default: r(() => [
1875
- h(n.$slots, "default")
1865
+ default: n(() => [
1866
+ h(r.$slots, "default")
1876
1867
  ]),
1877
1868
  _: 3
1878
1869
  }, 16, ["class"]));
1879
1870
  }
1880
- }), ha = "https://challenges.cloudflare.com/turnstile/v0/api.js", ee = "cfTurnstileOnLoad";
1881
- let H = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", q, W, te;
1871
+ }), ha = "https://challenges.cloudflare.com/turnstile/v0/api.js", X = "cfTurnstileOnLoad";
1872
+ let L = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", E, H, Y;
1882
1873
  const co = /* @__PURE__ */ p({
1883
1874
  __name: "Turnstile",
1884
1875
  props: {
@@ -1893,16 +1884,16 @@ const co = /* @__PURE__ */ p({
1893
1884
  },
1894
1885
  emits: ["update:modelValue"],
1895
1886
  setup(s, { emit: e }) {
1896
- const t = s, o = e, l = G(), i = () => {
1887
+ const t = s, o = e, l = U(), i = () => {
1897
1888
  window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
1898
- }, n = () => {
1899
- W && (window.turnstile.remove(W), W = void 0);
1900
- }, c = (C) => {
1901
- o("update:modelValue", C), te = setTimeout(() => {
1889
+ }, r = () => {
1890
+ H && (window.turnstile.remove(H), H = void 0);
1891
+ }, c = (_) => {
1892
+ o("update:modelValue", _), Y = setTimeout(() => {
1902
1893
  i();
1903
1894
  }, t.resetInterval);
1904
1895
  }, m = () => {
1905
- W = window.turnstile.render(l.value, {
1896
+ H = window.turnstile.render(l.value, {
1906
1897
  sitekey: t.sitekey,
1907
1898
  theme: t.theme,
1908
1899
  size: t.size,
@@ -1911,25 +1902,25 @@ const co = /* @__PURE__ */ p({
1911
1902
  appearance: t.appearance
1912
1903
  });
1913
1904
  };
1914
- return K(async () => {
1915
- const C = new Promise((_, v) => {
1916
- q = { resolve: _, reject: v }, H === "ready" && _(void 0);
1905
+ return te(async () => {
1906
+ const _ = new Promise((g, b) => {
1907
+ E = { resolve: g, reject: b }, L === "ready" && g(void 0);
1917
1908
  });
1918
- window[ee] = () => {
1919
- q.resolve(), H = "ready";
1909
+ window[X] = () => {
1910
+ E.resolve(), L = "ready";
1920
1911
  }, await (() => {
1921
- if (H === "unloaded") {
1922
- H = "loading";
1923
- const _ = `${ha}?onload=${ee}&render=explicit`, v = document.createElement("script");
1924
- v.src = _, v.async = !0, v.addEventListener("error", () => {
1925
- q.reject("Failed to load Turnstile.");
1926
- }), document.head.appendChild(v);
1912
+ if (L === "unloaded") {
1913
+ L = "loading";
1914
+ const g = `${ha}?onload=${X}&render=explicit`, b = document.createElement("script");
1915
+ b.src = g, b.async = !0, b.addEventListener("error", () => {
1916
+ E.reject("Failed to load Turnstile.");
1917
+ }), document.head.appendChild(b);
1927
1918
  }
1928
- return C;
1919
+ return _;
1929
1920
  })(), t.renderOnMount && m();
1930
- }), oe(() => {
1931
- n(), clearTimeout(te);
1932
- }), (C, b) => (d(), x("div", {
1921
+ }), ae(() => {
1922
+ r(), clearTimeout(Y);
1923
+ }), (_, C) => (d(), x("div", {
1933
1924
  ref_key: "element",
1934
1925
  ref: l
1935
1926
  }, null, 512));
@@ -1948,15 +1939,15 @@ const co = /* @__PURE__ */ p({
1948
1939
  let i = "a4";
1949
1940
  return e.percent > 90 ? i = "a11" : e.percent > 66 ? i = "a9" : e.percent > 33 && (i = "a6"), { transform: l, "background-color": `var(--blue-${i})` };
1950
1941
  }), o = y(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1951
- return (l, i) => (d(), f(a(zt), {
1942
+ return (l, i) => (d(), f(a(Vt), {
1952
1943
  class: "ui-Quota",
1953
1944
  "model-value": o.value,
1954
1945
  "data-accent-color": e.color
1955
1946
  }, {
1956
- default: r(() => [
1957
- u(a(Tt), {
1947
+ default: n(() => [
1948
+ u(a(zt), {
1958
1949
  class: "ui-QuotaValue",
1959
- style: $e(t.value)
1950
+ style: xe(t.value)
1960
1951
  }, null, 8, ["style"])
1961
1952
  ]),
1962
1953
  _: 1
@@ -1993,14 +1984,14 @@ export {
1993
1984
  Co as AlertDialogTrigger,
1994
1985
  ba as Avatar,
1995
1986
  Ba as Badge,
1996
- de as Button,
1997
- It as Card,
1987
+ ie as Button,
1988
+ Rt as Card,
1998
1989
  $a as CardHead,
1999
- pe as Checkbox,
1990
+ ue as Checkbox,
2000
1991
  La as CheckboxGroupControl,
2001
1992
  Ga as CheckboxGroupItem,
2002
1993
  Ma as CheckboxGroupRoot,
2003
- Ea as ColorField,
1994
+ ja as ColorField,
2004
1995
  to as ComboboxContent,
2005
1996
  bo as ComboboxEmpty,
2006
1997
  Bo as ComboboxGroup,
@@ -2022,7 +2013,7 @@ export {
2022
2013
  Mo as Icon,
2023
2014
  xa as IconButton,
2024
2015
  po as IconCircle,
2025
- At as Inset,
2016
+ kt as Inset,
2026
2017
  Ro as PopoverClose,
2027
2018
  Ra as PopoverContent,
2028
2019
  Io as PopoverRoot,
@@ -2036,16 +2027,16 @@ export {
2036
2027
  Ao as RadioTabsItem,
2037
2028
  io as RadioTabsList,
2038
2029
  Sa as SavingIndicator,
2039
- ce as ScrollArea,
2030
+ de as ScrollArea,
2040
2031
  Na as SelectContent,
2041
2032
  Do as SelectGroup,
2042
- Za as SelectItem,
2043
- Ja as SelectLabel,
2033
+ Ja as SelectItem,
2034
+ Za as SelectLabel,
2044
2035
  Ka as SelectRoot,
2045
2036
  Xa as SelectSeparator,
2046
2037
  Qa as SelectTrigger,
2047
2038
  wa as Separator,
2048
- Dt as Spinner,
2039
+ At as Spinner,
2049
2040
  Aa as Switch,
2050
2041
  so as Table,
2051
2042
  Po as TabsContent,
@@ -2054,7 +2045,7 @@ export {
2054
2045
  ro as TabsTrigger,
2055
2046
  Wa as TextArea,
2056
2047
  Ha as TextField,
2057
- ja as Toggle,
2048
+ Ea as Toggle,
2058
2049
  Ua as ToggleGroupItem,
2059
2050
  qa as ToggleGroupRoot,
2060
2051
  lo as Tooltip,