@typlog/ui 0.5.2 → 0.5.4

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,21 +1,21 @@
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";
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
- import { Icon as z } from "@iconify/vue";
1
+ import { computed as v, defineComponent as p, openBlock as d, createBlock as f, unref as a, normalizeClass as w, withCtx as r, createVNode as u, createTextVNode as te, toDisplayString as M, renderSlot as h, mergeProps as g, createElementVNode as x, createCommentVNode as R, createElementBlock as B, toRefs as G, withDirectives as F, isRef as A, vModelRadio as he, ref as q, onMounted as ae, onBeforeUnmount as oe, vModelDynamic as _e, vModelText as K, normalizeProps as ge, guardReactiveProps as ve, watch as ye, Fragment as Ce, renderList as be, withModifiers as Be, normalizeStyle as xe } from "vue";
2
+ import { useForwardProps as $, useEmitAsProps as se, AvatarRoot as $e, AvatarImage as we, AvatarFallback as Se, Primitive as I, ScrollAreaRoot as N, ScrollAreaViewport as Q, ScrollAreaScrollbar as j, ScrollAreaThumb as E, ScrollAreaCorner as Ve, AlertDialogPortal as ze, AlertDialogOverlay as Te, AlertDialogContent as ke, DialogPortal as Re, DialogOverlay as De, DialogContent as Ae, DialogTitle as Ie, DialogClose as Pe, PopoverPortal as Oe, PopoverContent as Fe, useForwardExpose as S, DropdownMenuPortal as Me, DropdownMenuContent as Ge, createContext as L, DropdownMenuItem as Le, SwitchRoot as He, SwitchThumb as We, RadioGroupRoot as le, RadioGroupItem as ne, 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 re, ComboboxAnchor as rt, ComboboxInput as Z, ComboboxTrigger as it, ComboboxPortal as dt, ComboboxContent as ct, ComboboxViewport as ut, ComboboxItem as pt, ComboboxItemIndicator as ft, ComboboxLabel as mt, TooltipProvider as ht, TooltipRoot as _t, TooltipTrigger as gt, TooltipPortal as vt, TooltipContent as yt, TooltipArrow as Ct, TabsList as bt, TabsTrigger as Bt, ProgressRoot as xt, ProgressIndicator as $t } from "reka-ui";
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 ko, PopoverRoot as Ro, PopoverTrigger as Do, RadioGroupItem as Ao, SelectGroup as Io, TabsContent as Po, TabsRoot as Oo } from "reka-ui";
4
+ import { Icon as T } from "@iconify/vue";
5
5
  import { Icon as Mo } from "@iconify/vue";
6
- import { useVModel as A } from "@vueuse/core";
7
- function R(s, e, t) {
6
+ import { useVModel as P } from "@vueuse/core";
7
+ function D(s, e, t) {
8
8
  const o = $(s), l = se(e);
9
- return y(() => ({
9
+ return v(() => ({
10
10
  ...ie(o.value, t),
11
11
  ...l
12
12
  }));
13
13
  }
14
- function D(s, e, t) {
15
- const o = $(s), l = se(e), i = y(() => ({
14
+ function O(s, e, t) {
15
+ const o = $(s), l = se(e), i = v(() => ({
16
16
  ...ie(o.value, t),
17
17
  ...l
18
- })), n = y(() => V(o.value, t));
18
+ })), n = v(() => V(o.value, t));
19
19
  return [i, n];
20
20
  }
21
21
  function ie(s, e) {
@@ -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-${X(o)}`) : l && t.push(`r-${X(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 X(s) {
37
+ return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, wt);
38
38
  }
39
- function Rt(s, e) {
39
+ function wt(s, e) {
40
40
  return (e ? "-" : "") + s.toLowerCase();
41
41
  }
42
42
  const ba = /* @__PURE__ */ p({
@@ -51,22 +51,22 @@ const ba = /* @__PURE__ */ p({
51
51
  color: {}
52
52
  },
53
53
  setup(s) {
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), {
54
+ const e = s, t = v(() => V(e, ["size", "variant"])), o = v(() => e.fallback ? e.fallback : e.alt.split(/\s+/).map((l) => l[0]).slice(0, 2).join(""));
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
60
  default: r(() => [
61
- u(a(Se), {
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
68
  default: r(() => [
69
- ae(F(o.value), 1)
69
+ te(M(o.value), 1)
70
70
  ]),
71
71
  _: 1
72
72
  }, 8, ["class"])
@@ -86,8 +86,8 @@ const ba = /* @__PURE__ */ p({
86
86
  as: { default: "span" }
87
87
  },
88
88
  setup(s) {
89
- const e = s, t = y(() => V(e, ["size", "variant", "highContrast"]));
90
- return (o, l) => (d(), f(a(k), {
89
+ const e = s, t = v(() => V(e, ["size", "variant", "highContrast"]));
90
+ return (o, l) => (d(), f(a(I), {
91
91
  class: w(["ui-Badge", t.value]),
92
92
  as: e.as,
93
93
  "as-child": e.asChild,
@@ -113,8 +113,8 @@ const ba = /* @__PURE__ */ p({
113
113
  as: { default: "button" }
114
114
  },
115
115
  setup(s) {
116
- const e = s, t = y(() => V(e, ["size", "variant", "highContrast"]));
117
- return (o, l) => (d(), f(a(k), {
116
+ const e = s, t = v(() => V(e, ["size", "variant", "highContrast"]));
117
+ return (o, l) => (d(), f(a(I), {
118
118
  class: w(["ui-Button", t.value]),
119
119
  "as-child": e.asChild,
120
120
  as: e.as,
@@ -149,7 +149,7 @@ const ba = /* @__PURE__ */ p({
149
149
  _: 3
150
150
  }, 16));
151
151
  }
152
- }), It = /* @__PURE__ */ p({
152
+ }), St = /* @__PURE__ */ p({
153
153
  __name: "Card",
154
154
  props: {
155
155
  variant: { default: "surface" },
@@ -159,8 +159,8 @@ const ba = /* @__PURE__ */ p({
159
159
  as: { default: "div" }
160
160
  },
161
161
  setup(s) {
162
- const e = s, t = y(() => V(e, ["size", "variant"]));
163
- return (o, l) => (d(), f(a(k), {
162
+ const e = s, t = v(() => V(e, ["size", "variant"]));
163
+ return (o, l) => (d(), f(a(I), {
164
164
  class: w(["ui-Card", t.value]),
165
165
  "as-child": e.asChild,
166
166
  as: e.as,
@@ -181,7 +181,7 @@ const ba = /* @__PURE__ */ p({
181
181
  },
182
182
  setup(s) {
183
183
  const e = s;
184
- return (t, o) => (d(), f(a(k), {
184
+ return (t, o) => (d(), f(a(I), {
185
185
  as: e.as,
186
186
  class: "ui-CardHead",
187
187
  "data-accent-color": e.color
@@ -221,33 +221,33 @@ const ba = /* @__PURE__ */ p({
221
221
  ]),
222
222
  _: 3
223
223
  }),
224
- o[0] || (o[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
225
- e.scrollbars !== "horizontal" ? (d(), f(a(E), {
224
+ o[0] || (o[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
225
+ e.scrollbars !== "horizontal" ? (d(), f(a(j), {
226
226
  key: 0,
227
227
  class: "ui-ScrollAreaScrollbar",
228
228
  "data-size": e.size,
229
229
  orientation: "vertical"
230
230
  }, {
231
231
  default: r(() => [
232
- u(a(j), { class: "ui-ScrollAreaThumb" })
232
+ u(a(E), { class: "ui-ScrollAreaThumb" })
233
233
  ]),
234
234
  _: 1
235
- }, 8, ["data-size"])) : T("", !0),
236
- e.scrollbars !== "vertical" ? (d(), f(a(E), {
235
+ }, 8, ["data-size"])) : R("", !0),
236
+ e.scrollbars !== "vertical" ? (d(), f(a(j), {
237
237
  key: 1,
238
238
  class: "ui-ScrollAreaScrollbar",
239
239
  "data-size": e.size,
240
240
  orientation: "horizontal"
241
241
  }, {
242
242
  default: r(() => [
243
- u(a(j), { class: "ui-ScrollAreaThumb" })
243
+ u(a(E), { class: "ui-ScrollAreaThumb" })
244
244
  ]),
245
245
  _: 1
246
- }, 8, ["data-size"])) : T("", !0),
247
- e.scrollbars === "both" ? (d(), f(a(ze), {
246
+ }, 8, ["data-size"])) : R("", !0),
247
+ e.scrollbars === "both" ? (d(), f(a(Ve), {
248
248
  key: 2,
249
249
  "class-name": "ui-ScrollAreaCorner"
250
- })) : T("", !0)
250
+ })) : R("", !0)
251
251
  ]),
252
252
  _: 3
253
253
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
@@ -262,7 +262,7 @@ const ba = /* @__PURE__ */ p({
262
262
  },
263
263
  setup(s) {
264
264
  const e = s;
265
- return (t, o) => (d(), f(a(k), {
265
+ return (t, o) => (d(), f(a(I), {
266
266
  as: e.as,
267
267
  class: w(["ui-Separator", `r-size-${e.size}`]),
268
268
  role: "separator",
@@ -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
+ }), Vt = ["data-side", "data-clip"], zt = /* @__PURE__ */ p({
274
274
  __name: "Inset",
275
275
  props: {
276
276
  side: { default: "all" },
@@ -278,18 +278,18 @@ const ba = /* @__PURE__ */ p({
278
278
  },
279
279
  setup(s) {
280
280
  const e = s;
281
- return (t, o) => (d(), x("div", {
281
+ return (t, o) => (d(), B("div", {
282
282
  class: "ui-Inset",
283
283
  "data-side": e.side,
284
284
  "data-clip": e.clip
285
285
  }, [
286
286
  h(t.$slots, "default")
287
- ], 8, kt));
287
+ ], 8, Vt));
288
288
  }
289
- }), Dt = /* @__PURE__ */ p({
289
+ }), Tt = /* @__PURE__ */ p({
290
290
  __name: "Spinner",
291
291
  setup(s) {
292
- return (e, t) => (d(), f(a(z), {
292
+ return (e, t) => (d(), f(a(T), {
293
293
  class: "ui-Spinner",
294
294
  icon: "lucide:loader-circle"
295
295
  }));
@@ -301,16 +301,16 @@ 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(Tt, {
305
305
  key: 0,
306
306
  class: "ui-SavingIndicator _saving"
307
- })) : e.status === "saved" ? (d(), f(a(z), {
307
+ })) : e.status === "saved" ? (d(), f(a(T), {
308
308
  key: 1,
309
309
  class: "ui-SavingIndicator _saved",
310
310
  icon: "lucide:check-circle-2"
311
- })) : T("", !0);
311
+ })) : R("", !0);
312
312
  }
313
- }), Pt = { class: "ui-DialogScroll" }, Ot = ["data-align"], Va = /* @__PURE__ */ p({
313
+ }), kt = { class: "ui-DialogScroll" }, Rt = ["data-align"], Va = /* @__PURE__ */ p({
314
314
  inheritAttrs: !1,
315
315
  __name: "AlertDialogContent",
316
316
  props: {
@@ -332,7 +332,7 @@ const ba = /* @__PURE__ */ p({
332
332
  },
333
333
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
334
334
  setup(s, { emit: e }) {
335
- const t = s, l = R(t, e, [
335
+ const t = s, l = D(t, e, [
336
336
  "to",
337
337
  "align",
338
338
  "class",
@@ -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, n) => (d(), f(a(ze), {
348
348
  to: t.to
349
349
  }, {
350
350
  default: r(() => [
351
- u(a(Re), { class: "ui-DialogOverlay" }, {
351
+ u(a(Te), { class: "ui-DialogOverlay" }, {
352
352
  default: r(() => [
353
- B("div", Pt, [
354
- B("div", {
353
+ x("div", kt, [
354
+ x("div", {
355
355
  class: "ui-DialogScrollPadding",
356
356
  "data-align": t.align
357
357
  }, [
358
- u(a(Ie), g({
358
+ u(a(ke), g({
359
359
  class: ["ui-DialogContent", t.class],
360
360
  "data-size": t.size
361
361
  }, {
@@ -376,7 +376,7 @@ const ba = /* @__PURE__ */ p({
376
376
  ]),
377
377
  _: 3
378
378
  }, 16, ["class", "data-size", "style"])
379
- ], 8, Ot)
379
+ ], 8, Rt)
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
+ }), Dt = { class: "ui-DialogScroll" }, At = ["data-align"], za = /* @__PURE__ */ p({
389
389
  inheritAttrs: !1,
390
390
  __name: "DialogContent",
391
391
  props: {
@@ -407,7 +407,7 @@ const ba = /* @__PURE__ */ p({
407
407
  },
408
408
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
409
409
  setup(s, { emit: e }) {
410
- const t = s, l = R(t, e, [
410
+ const t = s, l = D(t, e, [
411
411
  "to",
412
412
  "align",
413
413
  "class",
@@ -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, n) => (d(), f(a(Re), {
423
423
  to: t.to
424
424
  }, {
425
425
  default: r(() => [
426
- u(a(Ae), { class: "ui-DialogOverlay" }, {
426
+ u(a(De), { class: "ui-DialogOverlay" }, {
427
427
  default: r(() => [
428
- B("div", Ft, [
429
- B("div", {
428
+ x("div", Dt, [
429
+ x("div", {
430
430
  class: "ui-DialogScrollPadding",
431
431
  "data-align": t.align
432
432
  }, [
433
- u(a(De), g({
433
+ u(a(Ae), g({
434
434
  class: ["ui-DialogContent", t.class],
435
435
  "data-size": t.size
436
436
  }, {
@@ -451,7 +451,7 @@ const ba = /* @__PURE__ */ p({
451
451
  ]),
452
452
  _: 3
453
453
  }, 16, ["class", "data-size", "style"])
454
- ], 8, Mt)
454
+ ], 8, At)
455
455
  ])
456
456
  ]),
457
457
  _: 3
@@ -467,26 +467,26 @@ 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(zt, {
471
471
  class: "ui-DialogHead",
472
472
  side: "x"
473
473
  }, {
474
474
  default: r(() => [
475
- u(a(Pe), { class: "font-semibold" }, {
475
+ u(a(Ie), { class: "font-semibold" }, {
476
476
  default: r(() => [
477
- ae(F(e.title), 1)
477
+ te(M(e.title), 1)
478
478
  ]),
479
479
  _: 1
480
480
  }),
481
481
  u(de, {
482
- as: a(Oe),
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
488
  default: r(() => [
489
- u(a(z), { icon: "lucide:x" })
489
+ u(a(T), { icon: "lucide:x" })
490
490
  ]),
491
491
  _: 1
492
492
  }, 8, ["as"])
@@ -494,7 +494,7 @@ const ba = /* @__PURE__ */ p({
494
494
  _: 1
495
495
  }));
496
496
  }
497
- }), Ra = /* @__PURE__ */ p({
497
+ }), ka = /* @__PURE__ */ p({
498
498
  inheritAttrs: !1,
499
499
  __name: "PopoverContent",
500
500
  props: {
@@ -523,12 +523,12 @@ const ba = /* @__PURE__ */ p({
523
523
  },
524
524
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
525
525
  setup(s, { emit: e }) {
526
- const t = s, l = R(t, e, ["to", "size"]);
527
- return (i, n) => (d(), f(a(Fe), {
526
+ const t = s, l = D(t, e, ["to", "size"]);
527
+ return (i, n) => (d(), f(a(Oe), {
528
528
  to: t.to
529
529
  }, {
530
530
  default: r(() => [
531
- u(a(Me), g({ ...i.$attrs, ...a(l) }, {
531
+ u(a(Fe), g({ ...i.$attrs, ...a(l) }, {
532
532
  "data-size": t.size,
533
533
  class: "ui-PopoverContent"
534
534
  }), {
@@ -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
+ }), It = { class: "ui-MenuViewport" }, [Pt, Ot] = L("ui_DropdownMenuContent"), Ra = /* @__PURE__ */ p({
545
545
  inheritAttrs: !1,
546
546
  __name: "DropdownMenuContent",
547
547
  props: {
@@ -572,18 +572,18 @@ const ba = /* @__PURE__ */ p({
572
572
  },
573
573
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
574
574
  setup(s, { emit: e }) {
575
- const t = s, l = R(t, e, [
575
+ const t = s, l = D(t, e, [
576
576
  "to",
577
577
  "size",
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: n, variant: c, color: m, highContrast: y } = G(t);
582
+ return Ot({ size: n, variant: c, color: m, highContrast: y }), (b, C) => (d(), f(a(Me), {
583
583
  to: t.to
584
584
  }, {
585
585
  default: r(() => [
586
- u(a(Le), g({
586
+ u(a(Ge), g({
587
587
  ...b.$attrs,
588
588
  ...a(l)
589
589
  }, {
@@ -595,7 +595,7 @@ const ba = /* @__PURE__ */ p({
595
595
  default: r(() => [
596
596
  u(ce, { type: "auto" }, {
597
597
  default: r(() => [
598
- B("div", Gt, [
598
+ x("div", It, [
599
599
  h(b.$slots, "default")
600
600
  ])
601
601
  ]),
@@ -608,7 +608,7 @@ const ba = /* @__PURE__ */ p({
608
608
  _: 3
609
609
  }, 8, ["to"]));
610
610
  }
611
- }), Wt = ["textContent"], ka = /* @__PURE__ */ p({
611
+ }), Ft = ["textContent"], Da = /* @__PURE__ */ p({
612
612
  __name: "DropdownMenuItem",
613
613
  props: {
614
614
  color: {},
@@ -620,12 +620,12 @@ const ba = /* @__PURE__ */ p({
620
620
  },
621
621
  emits: ["select"],
622
622
  setup(s, { emit: e }) {
623
- const t = s, l = R(t, e, ["color", "shortcut"]);
623
+ const t = s, l = D(t, e, ["color", "shortcut"]);
624
624
  S();
625
- const i = Lt();
625
+ const i = Pt();
626
626
  return (n, c) => {
627
627
  var m;
628
- return d(), f(a(He), g({
628
+ return d(), f(a(Le), g({
629
629
  class: "ui-MenuItem",
630
630
  "data-accent-color": t.color,
631
631
  "data-size": a(i).size.value,
@@ -634,11 +634,11 @@ const ba = /* @__PURE__ */ p({
634
634
  }, a(l)), {
635
635
  default: r(() => [
636
636
  h(n.$slots, "default"),
637
- t.shortcut ? (d(), x("div", {
637
+ t.shortcut ? (d(), B("div", {
638
638
  key: 0,
639
639
  class: "ui-MenuShortcut",
640
- textContent: F(t.shortcut)
641
- }, null, 8, Wt)) : T("", !0)
640
+ textContent: M(t.shortcut)
641
+ }, null, 8, Ft)) : R("", !0)
642
642
  ]),
643
643
  _: 3
644
644
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
@@ -664,25 +664,25 @@ const ba = /* @__PURE__ */ p({
664
664
  },
665
665
  emits: ["update:modelValue"],
666
666
  setup(s, { emit: e }) {
667
- const t = e, o = s, [l, i] = D(o, t, [
667
+ const t = e, o = s, [l, i] = O(o, t, [
668
668
  "color",
669
669
  "size",
670
670
  "variant",
671
671
  "highContrast",
672
672
  "radius"
673
673
  ]);
674
- return (n, c) => (d(), f(a(We), g(a(l), {
674
+ return (n, c) => (d(), f(a(He), g(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
679
  default: r(() => [
680
- u(a(Ee), { class: "ui-SwitchThumb" })
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
+ }), Mt = ["data-accent-color"], Ia = /* @__PURE__ */ p({
686
686
  __name: "Radio",
687
687
  props: {
688
688
  modelValue: {},
@@ -693,20 +693,20 @@ const ba = /* @__PURE__ */ p({
693
693
  },
694
694
  emits: ["update:modelValue"],
695
695
  setup(s, { emit: e }) {
696
- const t = s, l = A(t, "modelValue", e, {
696
+ const t = s, l = P(t, "modelValue", e, {
697
697
  defaultValue: t.modelValue,
698
698
  passive: t.modelValue === void 0
699
- }), i = y(() => V(t, ["size", "variant", "highContrast"]));
700
- return (n, c) => O((d(), x("input", {
701
- "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
699
+ }), i = v(() => V(t, ["size", "variant", "highContrast"]));
700
+ return (n, c) => F((d(), B("input", {
701
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => A(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)), [
705
+ }, null, 10, Mt)), [
706
706
  [he, a(l)]
707
707
  ]);
708
708
  }
709
- }), [ue, jt] = L("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
709
+ }), [ue, Gt] = L("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)), {
729
+ const t = e, o = s, l = D(o, t, ["color", "size", "variant", "highContrast"]), { size: i, variant: n, color: c, highContrast: m } = G(o);
730
+ return Gt({ size: i, variant: n, color: c, highContrast: m }), (y, b) => (d(), f(a(le), g({ class: "ui-RadioGroupRoot" }, a(l)), {
731
731
  default: r(() => [
732
- h(C.$slots, "default")
732
+ h(y.$slots, "default")
733
733
  ]),
734
734
  _: 3
735
735
  }, 16));
736
736
  }
737
- }), qt = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
737
+ }), Lt = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
738
738
  __name: "RadioGroupItem",
739
739
  props: {
740
740
  id: {},
@@ -746,7 +746,7 @@ const ba = /* @__PURE__ */ p({
746
746
  required: { type: Boolean }
747
747
  },
748
748
  setup(s) {
749
- const t = $(s), o = ue(), l = y(() => {
749
+ const t = $(s), o = ue(), l = v(() => {
750
750
  var n;
751
751
  const i = [
752
752
  `r-size-${o.size.value}`,
@@ -756,7 +756,7 @@ const ba = /* @__PURE__ */ p({
756
756
  });
757
757
  return (i, n) => {
758
758
  var c;
759
- return d(), x("label", qt, [
759
+ return d(), B("label", Lt, [
760
760
  u(a(ne), g({
761
761
  class: ["ui-Radio", l.value],
762
762
  "data-accent-color": (c = a(o).color) == null ? void 0 : c.value
@@ -790,7 +790,7 @@ const ba = /* @__PURE__ */ p({
790
790
  "data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
791
791
  }, { ...a(t), asChild: !1 }), {
792
792
  default: r(() => [
793
- u(It, {
793
+ u(St, {
794
794
  "as-child": a(t).asChild
795
795
  }, {
796
796
  default: r(() => [
@@ -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
+ }), Ht = {
807
807
  key: 0,
808
808
  xmlns: "http://www.w3.org/2000/svg",
809
809
  viewBox: "0 0 24 24",
@@ -812,10 +812,10 @@ const ba = /* @__PURE__ */ p({
812
812
  "stroke-width": "4",
813
813
  "stroke-linecap": "round",
814
814
  "stroke-linejoin": "round"
815
- }, Kt = {
815
+ }, Wt = {
816
816
  key: 0,
817
817
  d: "M5 12h14"
818
- }, Nt = {
818
+ }, jt = {
819
819
  key: 1,
820
820
  d: "M20 6 9 17l-5-5"
821
821
  }, pe = /* @__PURE__ */ p({
@@ -837,20 +837,20 @@ const ba = /* @__PURE__ */ p({
837
837
  },
838
838
  emits: ["update:modelValue"],
839
839
  setup(s, { emit: e }) {
840
- const t = e, o = s, [l, i] = D(o, t, ["color", "size", "variant", "highContrast"]);
840
+ const t = e, o = s, [l, i] = O(o, t, ["color", "size", "variant", "highContrast"]);
841
841
  return (n, c) => (d(), f(a(je), g(a(l), {
842
842
  class: ["ui-Checkbox", a(i)],
843
843
  "data-accent-color": o.color
844
844
  }), {
845
845
  default: r(() => [
846
- u(a(qe), {
846
+ u(a(Ee), {
847
847
  class: "ui-CheckboxIndicator",
848
848
  "as-child": ""
849
849
  }, {
850
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))
853
- ])) : T("", !0)
851
+ a(l).checked !== !1 ? (d(), B("svg", Ht, [
852
+ a(l).checked === "indeterminate" ? (d(), B("path", Wt)) : (d(), B("path", jt))
853
+ ])) : R("", !0)
854
854
  ]),
855
855
  _: 1
856
856
  })
@@ -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
+ }), [fe, Et] = L("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 } = G(t), n = q([]), c = P(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 = v(() => c.value || []), y = v(() => {
877
+ var C, _;
878
+ return n.value.length ? ((C = c.value) == null ? void 0 : C.length) === n.value.length ? !0 : (_ = c.value) != null && _.length ? "indeterminate" : !1 : !1;
879
+ }), b = (C) => {
880
+ var k, z;
881
+ const _ = (k = c.value) == null ? void 0 : k.indexOf(C);
882
+ _ !== -1 && _ !== void 0 && ((z = c.value) == null || z.splice(_, 1));
883
883
  };
884
- return Qt({
884
+ return Et({
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: y,
887
+ addModelValue: (C) => {
888
+ var _, k;
889
+ ((_ = c.value) == null ? void 0 : _.indexOf(C)) === -1 && ((k = c.value) == null || k.push(C));
890
890
  },
891
891
  removeModelValue: b,
892
- toggleModelValue: (_) => {
893
- _ ? c.value = [...n.value] : c.value = [];
892
+ toggleModelValue: (C) => {
893
+ C ? c.value = [...n.value] : c.value = [];
894
894
  },
895
- initAllValue: (_) => {
896
- n.value.push(_);
895
+ initAllValue: (C) => {
896
+ n.value.push(C);
897
897
  },
898
- removeAllValue: (_) => {
899
- n.value.splice(n.value.indexOf(_), 1), b(_);
898
+ removeAllValue: (C) => {
899
+ n.value.splice(n.value.indexOf(C), 1), b(C);
900
900
  },
901
901
  disabled: l,
902
902
  name: i == null ? void 0 : i.value
903
- }), (_, v) => (d(), f(a(k), {
903
+ }), (C, _) => (d(), f(a(I), {
904
904
  as: t.as,
905
905
  "as-child": t.asChild
906
906
  }, {
907
907
  default: r(() => [
908
- h(_.$slots, "default")
908
+ h(C.$slots, "default")
909
909
  ]),
910
910
  _: 3
911
911
  }, 8, ["as", "as-child"]));
@@ -930,13 +930,13 @@ 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 = fe(), l = v(() => {
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 = v(() => o.selected.value.indexOf(e.value) !== -1), n = (c) => {
937
937
  c ? o.addModelValue(e.value) : o.removeModelValue(e.value);
938
938
  };
939
- return K(() => {
939
+ return ae(() => {
940
940
  o.initAllValue(e.value);
941
941
  }), oe(() => {
942
942
  o.removeAllValue(e.value);
@@ -967,10 +967,10 @@ const ba = /* @__PURE__ */ p({
967
967
  setup(s) {
968
968
  const e = s, t = $(e);
969
969
  S();
970
- const o = fe(), l = y(() => {
970
+ const o = fe(), l = v(() => {
971
971
  var n;
972
972
  return ((n = o.disabled) == null ? void 0 : n.value) || e.disabled;
973
- }), i = y(() => o.checked.value);
973
+ }), i = v(() => o.checked.value);
974
974
  return (n, c) => (d(), f(pe, g({
975
975
  ...a(t),
976
976
  name: e.name || a(o).name,
@@ -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"], Ut = ["id", "type"], Kt = {
984
984
  key: 0,
985
985
  class: "ui-TextFieldSlot",
986
986
  "data-side": "left"
987
- }, Yt = {
987
+ }, Nt = {
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;
1006
+ const t = s, o = q(), l = (m) => {
1007
+ const y = m.target;
1008
+ if (y.closest("input, button, a")) return;
1009
1009
  const b = o.value;
1010
1010
  if (!b) return;
1011
- const v = C.closest("[data-side=right]") ? b.value.length : 0;
1011
+ const _ = y.closest("[data-side=right]") ? b.value.length : 0;
1012
1012
  requestAnimationFrame(() => {
1013
- b.setSelectionRange(v, v), b.focus();
1013
+ b.setSelectionRange(_, _), b.focus();
1014
1014
  });
1015
- }, n = A(t, "modelValue", e, {
1015
+ }, n = P(t, "modelValue", e, {
1016
1016
  defaultValue: t.modelValue,
1017
1017
  passive: t.modelValue === void 0
1018
- }), c = y(() => {
1018
+ }), c = v(() => {
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, y) => (d(), B("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
+ F(x("input", g({
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": y[0] || (y[0] = (b) => A(n) ? n.value = b : null),
1033
1033
  type: t.type
1034
- }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Jt), [
1034
+ }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Ut), [
1035
1035
  [_e, a(n)]
1036
1036
  ]),
1037
- m.$slots.left ? (d(), x("div", Xt, [
1037
+ m.$slots.left ? (d(), B("div", Kt, [
1038
1038
  h(m.$slots, "left")
1039
- ])) : T("", !0),
1040
- m.$slots.right ? (d(), x("div", Yt, [
1039
+ ])) : R("", !0),
1040
+ m.$slots.right ? (d(), B("div", Nt, [
1041
1041
  h(m.$slots, "right")
1042
- ])) : T("", !0)
1043
- ], 42, Zt));
1042
+ ])) : R("", !0)
1043
+ ], 42, qt));
1044
1044
  }
1045
- }), ea = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1045
+ }), Qt = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1046
1046
  inheritAttrs: !1,
1047
1047
  __name: "TextArea",
1048
1048
  props: {
@@ -1056,25 +1056,25 @@ const ba = /* @__PURE__ */ p({
1056
1056
  },
1057
1057
  emits: ["update:modelValue"],
1058
1058
  setup(s, { emit: e }) {
1059
- const t = s, l = A(t, "modelValue", e, {
1059
+ const t = s, l = P(t, "modelValue", e, {
1060
1060
  defaultValue: t.modelValue,
1061
1061
  passive: t.modelValue === void 0
1062
- }), i = y(() => {
1062
+ }), i = v(() => {
1063
1063
  const n = V(t, ["size", "variant", "resize"]);
1064
1064
  return t.class && n.push(t.class), n;
1065
1065
  });
1066
- return (n, c) => (d(), x("div", {
1066
+ return (n, c) => (d(), B("div", {
1067
1067
  class: w(["ui-TextArea", i.value]),
1068
1068
  "data-accent-color": t.color
1069
1069
  }, [
1070
- O(B("textarea", g({
1071
- "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null)
1070
+ F(x("textarea", g({
1071
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => A(l) ? l.value = m : null)
1072
1072
  }, n.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1073
- [U, a(l)]
1073
+ [K, a(l)]
1074
1074
  ])
1075
- ], 10, ea));
1075
+ ], 10, Qt));
1076
1076
  }
1077
- }), ta = ["data-accent-color"], aa = ["id"], Ea = /* @__PURE__ */ p({
1077
+ }), Jt = ["data-accent-color"], Zt = ["id"], ja = /* @__PURE__ */ p({
1078
1078
  __name: "ColorField",
1079
1079
  props: {
1080
1080
  id: {},
@@ -1086,33 +1086,33 @@ const ba = /* @__PURE__ */ p({
1086
1086
  },
1087
1087
  emits: ["update:modelValue"],
1088
1088
  setup(s, { emit: e }) {
1089
- const t = s, l = A(t, "modelValue", e, {
1089
+ const t = s, l = P(t, "modelValue", e, {
1090
1090
  defaultValue: t.modelValue || "#000000",
1091
1091
  passive: t.modelValue === void 0
1092
- }), i = y(() => V(t, ["size", "variant"]));
1093
- return (n, c) => (d(), x("div", {
1092
+ }), i = v(() => V(t, ["size", "variant"]));
1093
+ return (n, c) => (d(), B("div", {
1094
1094
  class: w(["ui-TextField ui-ColorField", i.value]),
1095
1095
  "data-accent-color": t.color
1096
1096
  }, [
1097
- O(B("input", {
1097
+ F(x("input", {
1098
1098
  id: t.id,
1099
- "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
1099
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => A(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, Zt), [
1103
+ [K, a(l)]
1104
1104
  ]),
1105
- O(B("input", {
1106
- "onUpdate:modelValue": c[1] || (c[1] = (m) => I(l) ? l.value = m : null),
1105
+ F(x("input", {
1106
+ "onUpdate:modelValue": c[1] || (c[1] = (m) => A(l) ? l.value = m : null),
1107
1107
  class: "ui-TextFieldInput",
1108
1108
  type: "text",
1109
1109
  pattern: "^#[0-9a-f]{6}$"
1110
1110
  }, null, 512), [
1111
- [U, a(l)]
1111
+ [K, a(l)]
1112
1112
  ])
1113
- ], 10, ta));
1113
+ ], 10, Jt));
1114
1114
  }
1115
- }), ja = /* @__PURE__ */ p({
1115
+ }), Ea = /* @__PURE__ */ p({
1116
1116
  __name: "Toggle",
1117
1117
  props: {
1118
1118
  color: {},
@@ -1130,14 +1130,14 @@ const ba = /* @__PURE__ */ p({
1130
1130
  },
1131
1131
  emits: ["update:modelValue"],
1132
1132
  setup(s, { emit: e }) {
1133
- const t = e, o = s, [l, i] = D(o, t, [
1133
+ const t = e, o = s, [l, i] = O(o, t, [
1134
1134
  "color",
1135
1135
  "size",
1136
1136
  "variant",
1137
1137
  "highContrast",
1138
1138
  "radius"
1139
1139
  ]);
1140
- return (n, c) => (d(), f(a(Ue), g(a(l), {
1140
+ return (n, c) => (d(), f(a(qe), g(a(l), {
1141
1141
  class: ["ui-Toggle", a(i)],
1142
1142
  "data-accent-color": o.color,
1143
1143
  "data-radius": o.radius
@@ -1171,14 +1171,14 @@ const ba = /* @__PURE__ */ p({
1171
1171
  },
1172
1172
  emits: ["update:modelValue"],
1173
1173
  setup(s, { emit: e }) {
1174
- const t = e, o = s, [l, i] = D(o, t, [
1174
+ const t = e, o = s, [l, i] = O(o, t, [
1175
1175
  "color",
1176
1176
  "size",
1177
1177
  "variant",
1178
1178
  "highContrast",
1179
1179
  "radius"
1180
1180
  ]);
1181
- return (n, c) => (d(), f(a(Ke), g(a(l), {
1181
+ return (n, c) => (d(), f(a(Ue), g(a(l), {
1182
1182
  class: ["ui-ToggleGroupRoot", a(i)],
1183
1183
  "data-accent-color": o.color,
1184
1184
  "data-radius": o.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" }), {
1204
+ return (o, l) => (d(), f(a(Ke), g(a(t), { class: "ui-ToggleGroupItem" }), {
1205
1205
  default: r(() => [
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
+ }), [me, Xt] = L("ui_SelectRoot"), Ka = /* @__PURE__ */ p({
1212
1212
  __name: "SelectRoot",
1213
1213
  props: {
1214
1214
  size: { default: "2" },
@@ -1228,12 +1228,12 @@ 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: n } = G(t), c = D(t, o, ["size", "color", "highContrast"]);
1232
+ return Xt({
1233
1233
  size: l,
1234
1234
  color: i,
1235
1235
  highContrast: n
1236
- }), (m, C) => (d(), f(a(Qe), ge(ve(a(c))), {
1236
+ }), (m, y) => (d(), f(a(Ne), ge(ve(a(c))), {
1237
1237
  default: r(() => [
1238
1238
  h(m.$slots, "default")
1239
1239
  ]),
@@ -1268,11 +1268,11 @@ 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(() => {
1271
+ const e = s, t = $(e), { forwardRef: o } = S(), l = me(), i = v(() => {
1272
1272
  const n = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1273
1273
  return l.highContrast.value && n.push("r-high-contrast"), e.position === "popper" && n.push("ui-PopperContent"), n;
1274
1274
  });
1275
- return (n, c) => (d(), f(a(Ze), {
1275
+ return (n, c) => (d(), f(a(Qe), {
1276
1276
  to: e.to
1277
1277
  }, {
1278
1278
  default: r(() => [
@@ -1291,7 +1291,7 @@ const ba = /* @__PURE__ */ p({
1291
1291
  class: "ui-ScrollArea"
1292
1292
  }, {
1293
1293
  default: r(() => [
1294
- u(a(Xe), {
1294
+ u(a(Ze), {
1295
1295
  class: "ui-SelectViewport",
1296
1296
  "as-child": ""
1297
1297
  }, {
@@ -1302,14 +1302,14 @@ const ba = /* @__PURE__ */ p({
1302
1302
  ]),
1303
1303
  _: 3
1304
1304
  }),
1305
- c[0] || (c[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1306
- u(a(E), {
1305
+ c[0] || (c[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1306
+ u(a(j), {
1307
1307
  class: "ui-ScrollAreaScrollbar",
1308
1308
  "data-size": 1,
1309
1309
  orientation: "vertical"
1310
1310
  }, {
1311
1311
  default: r(() => [
1312
- u(a(j), { class: "ui-ScrollAreaThumb" })
1312
+ u(a(E), { class: "ui-ScrollAreaThumb" })
1313
1313
  ]),
1314
1314
  _: 1
1315
1315
  })
@@ -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
+ }), Yt = { class: "ui-SelectTriggerInner" }, Qa = /* @__PURE__ */ p({
1330
1330
  __name: "SelectTrigger",
1331
1331
  props: {
1332
1332
  variant: { default: "surface" },
@@ -1338,22 +1338,22 @@ 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 = me(), o = v(() => [`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
1348
  default: r(() => [
1349
- B("span", sa, [
1350
- u(a(et), {
1349
+ x("span", Yt, [
1350
+ u(a(Ye), {
1351
1351
  placeholder: e.placeholder
1352
1352
  }, null, 8, ["placeholder"])
1353
1353
  ]),
1354
- u(a(tt), { "as-child": "" }, {
1354
+ u(a(et), { "as-child": "" }, {
1355
1355
  default: r(() => [
1356
- u(a(z), {
1356
+ u(a(T), {
1357
1357
  class: "ui-SelectIcon",
1358
1358
  icon: "radix-icons:chevron-down"
1359
1359
  })
@@ -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,15 +1375,15 @@ 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)), {
1378
+ return S(), (o, l) => (d(), f(a(tt), g({ class: "ui-SelectItem" }, a(t)), {
1379
1379
  default: r(() => [
1380
- u(a(ot), { class: "ui-SelectItemIndicator" }, {
1380
+ u(a(at), { class: "ui-SelectItemIndicator" }, {
1381
1381
  default: r(() => [
1382
- u(a(z), { icon: "radix-icons:check" })
1382
+ u(a(T), { icon: "radix-icons:check" })
1383
1383
  ]),
1384
1384
  _: 1
1385
1385
  }),
1386
- u(a(st), null, {
1386
+ u(a(ot), null, {
1387
1387
  default: r(() => [
1388
1388
  h(o.$slots, "default")
1389
1389
  ]),
@@ -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)), {
1405
+ return S(), (o, l) => (d(), f(a(st), g({ class: "ui-SelectLabel" }, a(t)), {
1406
1406
  default: r(() => [
1407
1407
  h(o.$slots, "default")
1408
1408
  ]),
1409
1409
  _: 3
1410
1410
  }, 16));
1411
1411
  }
1412
- }), la = (s, e) => {
1412
+ }), ea = (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
+ }, ta = {}, aa = {
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 oa(s, e) {
1422
+ return d(), B("div", aa);
1423
1423
  }
1424
- const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1424
+ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = L("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1425
1425
  __name: "ComboboxRoot",
1426
1426
  props: {
1427
1427
  size: { default: "2" },
@@ -1445,22 +1445,24 @@ 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"]);
1449
- return da({
1448
+ const t = s, o = e, { size: l, color: i, highContrast: n } = G(t), [c, m] = O(t, o, ["size", "color", "highContrast"]);
1449
+ return la({
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)), {
1452
+ highContrast: n
1453
+ }), (y, b) => (d(), f(a(lt), g({
1454
+ class: ["ui-ComboboxRoot", a(m)]
1455
+ }, a(c)), {
1457
1456
  default: r(() => [
1458
- h(b.$slots, "default")
1457
+ h(y.$slots, "default")
1459
1458
  ]),
1460
1459
  _: 3
1461
1460
  }, 16, ["class"]));
1462
1461
  }
1463
- }), eo = /* @__PURE__ */ p({
1462
+ }), na = {
1463
+ key: 0,
1464
+ class: "ui-ComboboxValues"
1465
+ }, ra = ["aria-current", "value"], ia = ["onClick"], eo = /* @__PURE__ */ p({
1464
1466
  inheritAttrs: !1,
1465
1467
  __name: "ComboboxInput",
1466
1468
  props: {
@@ -1476,75 +1478,64 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1476
1478
  },
1477
1479
  emits: ["update:modelValue"],
1478
1480
  setup(s, { emit: e }) {
1479
- const t = rt(), o = s, l = e, i = re(o, l), n = A(o, "modelValue", l, {
1481
+ const t = nt(), o = s, l = e, i = re(o, l), n = P(o, "modelValue", l, {
1480
1482
  passive: !0
1481
- }), c = y(() => t.modelValue.value), m = Z(), C = (b) => m.items.value.get(b);
1482
- return ye(c, () => {
1483
+ }), c = q(-1), m = v(() => t.modelValue.value), y = (_) => typeof _ == "object" ? JSON.stringify(_) : _.toString(), b = (_) => {
1484
+ c.value = _, t.modelValue.value.splice(_, 1), c.value = -1;
1485
+ }, C = (_) => {
1486
+ !n.value && (_.key === "Delete" || _.key === "Backspace") && (c.value !== -1 ? b(c.value) : (c.value = m.value.length - 1, setTimeout(() => {
1487
+ c.value = -1;
1488
+ }, 500)));
1489
+ };
1490
+ return ye(m, () => {
1483
1491
  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,
1492
+ }, { deep: !0 }), (_, k) => (d(), f(a(rt), {
1493
+ class: w(["ui-ComboboxField", `r-variant-${_.variant}`]),
1494
+ "data-radius": _.radius,
1487
1495
  "data-multiple": a(t).multiple.value || void 0
1488
1496
  }, {
1489
1497
  default: r(() => [
1490
- a(t).multiple.value ? (d(), f(a(dt), {
1491
- key: 0,
1492
- class: "ui-ComboboxTagsRoot",
1493
- "model-value": c.value,
1494
- delimiter: ""
1495
- }, {
1496
- default: r(() => [
1497
- (d(!0), x(Ce, null, be(c.value, (v) => (d(), f(a(ct), {
1498
- key: C(v),
1499
- class: "ui-ComboboxTagsItem",
1500
- value: v
1501
- }, {
1502
- default: r(() => [
1503
- h(b.$slots, "item", { item: v }, () => [
1504
- B("span", null, F(C(v)), 1)
1505
- ]),
1506
- u(a(ut), null, {
1507
- default: r(() => [
1508
- u(a(z), { icon: "lucide:x" })
1509
- ]),
1510
- _: 1
1511
- })
1512
- ]),
1513
- _: 2
1514
- }, 1032, ["value"]))), 128)),
1515
- u(a(X), g({
1516
- ...b.$attrs,
1517
- ...a(i),
1518
- variant: void 0,
1519
- radius: void 0
1520
- }, {
1521
- modelValue: a(n),
1522
- "onUpdate:modelValue": _[1] || (_[1] = (v) => I(n) ? n.value = v : null),
1523
- class: "ui-ComboboxInput",
1524
- "as-child": ""
1525
- }), {
1526
- default: r(() => [
1527
- u(a(pt), {
1528
- onKeydown: _[0] || (_[0] = Be(xe(() => {
1529
- }, ["prevent"]), ["enter"]))
1530
- })
1531
- ]),
1532
- _: 1
1533
- }, 16, ["modelValue"])
1534
- ]),
1535
- _: 3
1536
- }, 8, ["model-value"])) : (d(), f(a(X), g({
1498
+ a(t).multiple.value ? (d(), B("div", na, [
1499
+ (d(!0), B(Ce, null, be(m.value, (z, J) => (d(), B("div", {
1500
+ class: "ui-ComboboxValuesItem",
1501
+ "aria-current": J === c.value,
1502
+ key: y(z),
1503
+ value: z
1504
+ }, [
1505
+ h(_.$slots, "item", { value: z }, () => [
1506
+ x("span", null, M(y(z)), 1)
1507
+ ]),
1508
+ x("button", {
1509
+ type: "button",
1510
+ tabindex: "-1",
1511
+ onClick: Be((_a) => b(J), ["prevent"])
1512
+ }, [
1513
+ u(a(T), { icon: "lucide:x" })
1514
+ ], 8, ia)
1515
+ ], 8, ra))), 128)),
1516
+ u(a(Z), g({
1517
+ ..._.$attrs,
1518
+ ...a(i),
1519
+ variant: void 0,
1520
+ radius: void 0
1521
+ }, {
1522
+ modelValue: a(n),
1523
+ "onUpdate:modelValue": k[0] || (k[0] = (z) => A(n) ? n.value = z : null),
1524
+ class: "ui-ComboboxInput",
1525
+ onKeydown: C
1526
+ }), null, 16, ["modelValue"])
1527
+ ])) : (d(), f(a(Z), g({
1537
1528
  key: 1,
1538
1529
  class: "ui-ComboboxInput"
1539
1530
  }, {
1540
- ...b.$attrs,
1531
+ ..._.$attrs,
1541
1532
  ...a(i),
1542
1533
  variant: void 0,
1543
1534
  radius: void 0
1544
1535
  }), null, 16)),
1545
- u(a(ft), { class: "ui-ComboboxTrigger" }, {
1536
+ u(a(it), { class: "ui-ComboboxTrigger" }, {
1546
1537
  default: r(() => [
1547
- u(a(z), { icon: "radix-icons:chevron-down" })
1538
+ u(a(T), { icon: "radix-icons:chevron-down" })
1548
1539
  ]),
1549
1540
  _: 1
1550
1541
  })
@@ -1582,15 +1573,15 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1582
1573
  },
1583
1574
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1584
1575
  setup(s, { emit: e }) {
1585
- const { forwardRef: t } = S(), o = s, i = re(o, e), n = Z(), c = y(() => {
1576
+ const { forwardRef: t } = S(), o = s, i = re(o, e), n = sa(), c = v(() => {
1586
1577
  const m = ["r-size-" + n.size.value, "r-variant-" + o.variant];
1587
1578
  return n.highContrast.value && m.push("r-high-contrast"), m;
1588
1579
  });
1589
- return (m, C) => (d(), f(a(mt), {
1580
+ return (m, y) => (d(), f(a(dt), {
1590
1581
  to: o.to
1591
1582
  }, {
1592
1583
  default: r(() => [
1593
- u(a(ht), g({ ref: a(t) }, {
1584
+ u(a(ct), g({ ref: a(t) }, {
1594
1585
  ...m.$attrs,
1595
1586
  ...a(i),
1596
1587
  position: "popper",
@@ -1606,7 +1597,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1606
1597
  class: "ui-ScrollArea"
1607
1598
  }, {
1608
1599
  default: r(() => [
1609
- u(a(_t), {
1600
+ u(a(ut), {
1610
1601
  class: "ui-ComboboxViewport",
1611
1602
  "as-child": ""
1612
1603
  }, {
@@ -1620,14 +1611,14 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1620
1611
  ]),
1621
1612
  _: 3
1622
1613
  }),
1623
- C[0] || (C[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1624
- u(a(E), {
1614
+ y[0] || (y[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1615
+ u(a(j), {
1625
1616
  class: "ui-ScrollAreaScrollbar",
1626
1617
  "data-size": 1,
1627
1618
  orientation: "vertical"
1628
1619
  }, {
1629
1620
  default: r(() => [
1630
- u(a(j), { class: "ui-ScrollAreaThumb" })
1621
+ u(a(E), { class: "ui-ScrollAreaThumb" })
1631
1622
  ]),
1632
1623
  _: 1
1633
1624
  })
@@ -1651,24 +1642,16 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1651
1642
  as: {}
1652
1643
  },
1653
1644
  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)), {
1645
+ const t = $(s);
1646
+ return (o, l) => (d(), f(a(pt), g({ class: "ui-ComboboxItem" }, a(t)), {
1664
1647
  default: r(() => [
1665
- u(a(vt), { class: "ui-ComboboxItemIndicator" }, {
1648
+ u(a(ft), { class: "ui-ComboboxItemIndicator" }, {
1666
1649
  default: r(() => [
1667
- u(a(z), { icon: "radix-icons:check" })
1650
+ u(a(T), { icon: "radix-icons:check" })
1668
1651
  ]),
1669
1652
  _: 1
1670
1653
  }),
1671
- h(i.$slots, "default")
1654
+ h(o.$slots, "default")
1672
1655
  ]),
1673
1656
  _: 3
1674
1657
  }, 16));
@@ -1682,14 +1665,14 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1682
1665
  },
1683
1666
  setup(s) {
1684
1667
  const t = $(s);
1685
- return S(), (o, l) => (d(), f(a(yt), g({ class: "ui-ComboboxLabel" }, a(t)), {
1668
+ return S(), (o, l) => (d(), f(a(mt), g({ class: "ui-ComboboxLabel" }, a(t)), {
1686
1669
  default: r(() => [
1687
1670
  h(o.$slots, "default")
1688
1671
  ]),
1689
1672
  _: 3
1690
1673
  }, 16));
1691
1674
  }
1692
- }), ca = ["data-size", "data-variant"], ua = ["data-layout"], so = /* @__PURE__ */ p({
1675
+ }), da = ["data-size", "data-variant"], ca = ["data-layout"], so = /* @__PURE__ */ p({
1693
1676
  __name: "Table",
1694
1677
  props: {
1695
1678
  size: { default: "2" },
@@ -1698,25 +1681,25 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1698
1681
  },
1699
1682
  setup(s) {
1700
1683
  const e = s;
1701
- return (t, o) => (d(), x("div", {
1684
+ return (t, o) => (d(), B("div", {
1702
1685
  class: "ui-Table",
1703
1686
  "data-size": e.size,
1704
1687
  "data-variant": e.variant
1705
1688
  }, [
1706
1689
  u(ce, null, {
1707
1690
  default: r(() => [
1708
- B("table", {
1691
+ x("table", {
1709
1692
  class: "ui-TableContent",
1710
1693
  "data-layout": e.layout
1711
1694
  }, [
1712
1695
  h(t.$slots, "default")
1713
- ], 8, ua)
1696
+ ], 8, ca)
1714
1697
  ]),
1715
1698
  _: 3
1716
1699
  })
1717
- ], 8, ca));
1700
+ ], 8, da));
1718
1701
  }
1719
- }), pa = ["textContent"], lo = /* @__PURE__ */ p({
1702
+ }), ua = ["textContent"], lo = /* @__PURE__ */ p({
1720
1703
  __name: "Tooltip",
1721
1704
  props: {
1722
1705
  to: {},
@@ -1744,7 +1727,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1744
1727
  },
1745
1728
  setup(s) {
1746
1729
  const e = s;
1747
- return (t, o) => (d(), f(a(Ct), {
1730
+ return (t, o) => (d(), f(a(ht), {
1748
1731
  "delay-duration": e.delayDuration,
1749
1732
  "disable-closing-trigger": e.disableClosingTrigger,
1750
1733
  "disable-hoverable-content": e.disableHoverableContent,
@@ -1753,9 +1736,9 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1753
1736
  "skip-delay-duration": e.skipDelayDuration
1754
1737
  }, {
1755
1738
  default: r(() => [
1756
- u(a(bt), null, {
1739
+ u(a(_t), null, {
1757
1740
  default: r(() => [
1758
- u(a(Bt), {
1741
+ u(a(gt), {
1759
1742
  as: e.as,
1760
1743
  "as-child": e.asChild
1761
1744
  }, {
@@ -1764,11 +1747,11 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1764
1747
  ]),
1765
1748
  _: 3
1766
1749
  }, 8, ["as", "as-child"]),
1767
- u(a(xt), {
1750
+ u(a(vt), {
1768
1751
  to: e.to
1769
1752
  }, {
1770
1753
  default: r(() => [
1771
- u(a($t), {
1754
+ u(a(yt), {
1772
1755
  class: "ui-Tooltip",
1773
1756
  align: e.align,
1774
1757
  "align-offset": e.alignOffset,
@@ -1784,12 +1767,12 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1784
1767
  }, {
1785
1768
  default: r(() => [
1786
1769
  h(t.$slots, "content", {}, () => [
1787
- B("p", {
1770
+ x("p", {
1788
1771
  class: "ui-TooltipText",
1789
- textContent: F(e.content)
1790
- }, null, 8, pa)
1772
+ textContent: M(e.content)
1773
+ }, null, 8, ua)
1791
1774
  ]),
1792
- u(a(wt), { class: "ui-TooltipArrow" })
1775
+ u(a(Ct), { class: "ui-TooltipArrow" })
1793
1776
  ]),
1794
1777
  _: 3
1795
1778
  }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
@@ -1814,7 +1797,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1814
1797
  },
1815
1798
  setup(s) {
1816
1799
  const e = s;
1817
- return (t, o) => (d(), f(a(St), {
1800
+ return (t, o) => (d(), f(a(bt), {
1818
1801
  class: "ui-TabList",
1819
1802
  "data-accent-color": e.color,
1820
1803
  "data-size": e.size,
@@ -1828,7 +1811,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1828
1811
  _: 3
1829
1812
  }, 8, ["data-accent-color", "data-size", "data-wrap", "data-justify", "data-high-contrast"]));
1830
1813
  }
1831
- }), fa = { class: "ui-TabTriggerInner" }, ma = { class: "ui-TabTriggerInnerHidden" }, ro = /* @__PURE__ */ p({
1814
+ }), pa = { class: "ui-TabTriggerInner" }, fa = { class: "ui-TabTriggerInnerHidden" }, ro = /* @__PURE__ */ p({
1832
1815
  __name: "TabsTrigger",
1833
1816
  props: {
1834
1817
  value: {},
@@ -1838,12 +1821,12 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1838
1821
  },
1839
1822
  setup(s) {
1840
1823
  const t = $(s);
1841
- return (o, l) => (d(), f(a(Vt), g(a(t), { class: "ui-TabTrigger" }), {
1824
+ return (o, l) => (d(), f(a(Bt), g(a(t), { class: "ui-TabTrigger" }), {
1842
1825
  default: r(() => [
1843
- B("span", fa, [
1826
+ x("span", pa, [
1844
1827
  h(o.$slots, "default")
1845
1828
  ]),
1846
- B("span", ma, [
1829
+ x("span", fa, [
1847
1830
  h(o.$slots, "default")
1848
1831
  ])
1849
1832
  ]),
@@ -1867,7 +1850,7 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1867
1850
  },
1868
1851
  emits: ["update:modelValue"],
1869
1852
  setup(s, { emit: e }) {
1870
- const t = e, o = s, [l, i] = D(o, t, ["size"]);
1853
+ const t = e, o = s, [l, i] = O(o, t, ["size"]);
1871
1854
  return (n, c) => (d(), f(a(le), g(a(l), {
1872
1855
  class: ["ui-RadioTabsList", a(i)]
1873
1856
  }), {
@@ -1877,8 +1860,8 @@ const Xa = /* @__PURE__ */ la(na, [["render", ia]]), [Z, da] = L("ui_ComboboxRoo
1877
1860
  _: 3
1878
1861
  }, 16, ["class"]));
1879
1862
  }
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;
1863
+ }), ma = "https://challenges.cloudflare.com/turnstile/v0/api.js", Y = "cfTurnstileOnLoad";
1864
+ let H = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", U, W, ee;
1882
1865
  const co = /* @__PURE__ */ p({
1883
1866
  __name: "Turnstile",
1884
1867
  props: {
@@ -1893,12 +1876,12 @@ const co = /* @__PURE__ */ p({
1893
1876
  },
1894
1877
  emits: ["update:modelValue"],
1895
1878
  setup(s, { emit: e }) {
1896
- const t = s, o = e, l = G(), i = () => {
1879
+ const t = s, o = e, l = q(), i = () => {
1897
1880
  window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
1898
1881
  }, n = () => {
1899
1882
  W && (window.turnstile.remove(W), W = void 0);
1900
- }, c = (C) => {
1901
- o("update:modelValue", C), te = setTimeout(() => {
1883
+ }, c = (y) => {
1884
+ o("update:modelValue", y), ee = setTimeout(() => {
1902
1885
  i();
1903
1886
  }, t.resetInterval);
1904
1887
  }, m = () => {
@@ -1911,25 +1894,25 @@ const co = /* @__PURE__ */ p({
1911
1894
  appearance: t.appearance
1912
1895
  });
1913
1896
  };
1914
- return K(async () => {
1915
- const C = new Promise((_, v) => {
1916
- q = { resolve: _, reject: v }, H === "ready" && _(void 0);
1897
+ return ae(async () => {
1898
+ const y = new Promise((C, _) => {
1899
+ U = { resolve: C, reject: _ }, H === "ready" && C(void 0);
1917
1900
  });
1918
- window[ee] = () => {
1919
- q.resolve(), H = "ready";
1901
+ window[Y] = () => {
1902
+ U.resolve(), H = "ready";
1920
1903
  }, await (() => {
1921
1904
  if (H === "unloaded") {
1922
1905
  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);
1906
+ const C = `${ma}?onload=${Y}&render=explicit`, _ = document.createElement("script");
1907
+ _.src = C, _.async = !0, _.addEventListener("error", () => {
1908
+ U.reject("Failed to load Turnstile.");
1909
+ }), document.head.appendChild(_);
1927
1910
  }
1928
- return C;
1911
+ return y;
1929
1912
  })(), t.renderOnMount && m();
1930
1913
  }), oe(() => {
1931
- n(), clearTimeout(te);
1932
- }), (C, b) => (d(), x("div", {
1914
+ n(), clearTimeout(ee);
1915
+ }), (y, b) => (d(), B("div", {
1933
1916
  ref_key: "element",
1934
1917
  ref: l
1935
1918
  }, null, 512));
@@ -1941,28 +1924,28 @@ const co = /* @__PURE__ */ p({
1941
1924
  color: {}
1942
1925
  },
1943
1926
  setup(s) {
1944
- const e = s, t = y(() => {
1927
+ const e = s, t = v(() => {
1945
1928
  const l = `translateX(-${100 - e.percent}%)`;
1946
1929
  if (e.percent > 100)
1947
1930
  return { transform: l, "background-color": "var(--red-a10)" };
1948
1931
  let i = "a4";
1949
1932
  return e.percent > 90 ? i = "a11" : e.percent > 66 ? i = "a9" : e.percent > 33 && (i = "a6"), { transform: l, "background-color": `var(--blue-${i})` };
1950
- }), o = y(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1951
- return (l, i) => (d(), f(a(zt), {
1933
+ }), o = v(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1934
+ return (l, i) => (d(), f(a(xt), {
1952
1935
  class: "ui-Quota",
1953
1936
  "model-value": o.value,
1954
1937
  "data-accent-color": e.color
1955
1938
  }, {
1956
1939
  default: r(() => [
1957
- u(a(Tt), {
1940
+ u(a($t), {
1958
1941
  class: "ui-QuotaValue",
1959
- style: $e(t.value)
1942
+ style: xe(t.value)
1960
1943
  }, null, 8, ["style"])
1961
1944
  ]),
1962
1945
  _: 1
1963
1946
  }, 8, ["model-value", "data-accent-color"]));
1964
1947
  }
1965
- }), _a = ["data-accent-color"], po = /* @__PURE__ */ p({
1948
+ }), ha = ["data-accent-color"], po = /* @__PURE__ */ p({
1966
1949
  __name: "IconCircle",
1967
1950
  props: {
1968
1951
  color: {},
@@ -1971,16 +1954,16 @@ const co = /* @__PURE__ */ p({
1971
1954
  icon: {}
1972
1955
  },
1973
1956
  setup(s) {
1974
- const e = s, t = y(() => V(e, ["size", "variant"]));
1975
- return (o, l) => (d(), x("span", {
1957
+ const e = s, t = v(() => V(e, ["size", "variant"]));
1958
+ return (o, l) => (d(), B("span", {
1976
1959
  class: w(["ui-IconCircle", t.value]),
1977
1960
  "data-radius": "full",
1978
1961
  "data-accent-color": e.color
1979
1962
  }, [
1980
- u(a(z), {
1963
+ u(a(T), {
1981
1964
  icon: e.icon
1982
1965
  }, null, 8, ["icon"])
1983
- ], 10, _a));
1966
+ ], 10, ha));
1984
1967
  }
1985
1968
  });
1986
1969
  export {
@@ -1994,13 +1977,13 @@ export {
1994
1977
  ba as Avatar,
1995
1978
  Ba as Badge,
1996
1979
  de as Button,
1997
- It as Card,
1980
+ St as Card,
1998
1981
  $a as CardHead,
1999
1982
  pe as Checkbox,
2000
1983
  La as CheckboxGroupControl,
2001
1984
  Ga as CheckboxGroupItem,
2002
1985
  Ma as CheckboxGroupRoot,
2003
- Ea as ColorField,
1986
+ ja as ColorField,
2004
1987
  to as ComboboxContent,
2005
1988
  bo as ComboboxEmpty,
2006
1989
  Bo as ComboboxGroup,
@@ -2015,20 +1998,20 @@ export {
2015
1998
  wo as DialogRoot,
2016
1999
  So as DialogTitle,
2017
2000
  Vo as DialogTrigger,
2018
- Ia as DropdownMenuContent,
2019
- ka as DropdownMenuItem,
2001
+ Ra as DropdownMenuContent,
2002
+ Da as DropdownMenuItem,
2020
2003
  zo as DropdownMenuRoot,
2021
2004
  To as DropdownMenuTrigger,
2022
2005
  Mo as Icon,
2023
2006
  xa as IconButton,
2024
2007
  po as IconCircle,
2025
- At as Inset,
2026
- Ro as PopoverClose,
2027
- Ra as PopoverContent,
2028
- Io as PopoverRoot,
2029
- ko as PopoverTrigger,
2008
+ zt as Inset,
2009
+ ko as PopoverClose,
2010
+ ka as PopoverContent,
2011
+ Ro as PopoverRoot,
2012
+ Do as PopoverTrigger,
2030
2013
  uo as Quota,
2031
- Da as Radio,
2014
+ Ia as Radio,
2032
2015
  Fa as RadioCardsItem,
2033
2016
  Pa as RadioCardsRoot,
2034
2017
  Oa as RadioGroupItem,
@@ -2038,14 +2021,14 @@ export {
2038
2021
  Sa as SavingIndicator,
2039
2022
  ce as ScrollArea,
2040
2023
  Na as SelectContent,
2041
- Do as SelectGroup,
2042
- Za as SelectItem,
2043
- Ja as SelectLabel,
2024
+ Io as SelectGroup,
2025
+ Ja as SelectItem,
2026
+ Za as SelectLabel,
2044
2027
  Ka as SelectRoot,
2045
2028
  Xa as SelectSeparator,
2046
2029
  Qa as SelectTrigger,
2047
2030
  wa as Separator,
2048
- Dt as Spinner,
2031
+ Tt as Spinner,
2049
2032
  Aa as Switch,
2050
2033
  so as Table,
2051
2034
  Po as TabsContent,
@@ -2054,7 +2037,7 @@ export {
2054
2037
  ro as TabsTrigger,
2055
2038
  Wa as TextArea,
2056
2039
  Ha as TextField,
2057
- ja as Toggle,
2040
+ Ea as Toggle,
2058
2041
  Ua as ToggleGroupItem,
2059
2042
  qa as ToggleGroupRoot,
2060
2043
  lo as Tooltip,