@typlog/ui 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 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
- 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 ee, toDisplayString as O, renderSlot as h, mergeProps as g, createElementVNode as x, createCommentVNode as R, createElementBlock as B, toRefs as F, withDirectives as E, isRef as M, vModelRadio as he, ref as q, onMounted as te, onBeforeUnmount as ae, vModelDynamic as _e, vModelText as oe, 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 A, ScrollAreaRoot as K, ScrollAreaViewport as N, ScrollAreaScrollbar as W, ScrollAreaThumb as j, 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 G, 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 J, 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) {
8
- const o = $(s), l = oe(e);
9
- return y(() => ({
10
- ...re(o.value, t),
6
+ import { useVModel as I } from "@vueuse/core";
7
+ function D(s, e, t) {
8
+ const o = $(s), l = se(e);
9
+ return v(() => ({
10
+ ...ie(o.value, t),
11
11
  ...l
12
12
  }));
13
13
  }
14
- function D(s, e, t) {
15
- const o = $(s), l = oe(e), i = y(() => ({
16
- ...re(o.value, t),
14
+ function P(s, e, t) {
15
+ const o = $(s), l = se(e), i = v(() => ({
16
+ ...ie(o.value, t),
17
17
  ...l
18
- })), r = y(() => V(o.value, t));
19
- return [i, r];
18
+ })), n = v(() => V(o.value, t));
19
+ return [i, n];
20
20
  }
21
- function re(s, e) {
21
+ function ie(s, e) {
22
22
  const t = {};
23
23
  return Object.keys(s).forEach((o) => {
24
24
  e.indexOf(o) === -1 && (t[o] = s[o]);
@@ -34,9 +34,9 @@ const V = (s, e) => {
34
34
  }), t;
35
35
  };
36
36
  function Z(s) {
37
- return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, Tt);
37
+ return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, wt);
38
38
  }
39
- function Tt(s, e) {
39
+ function wt(s, e) {
40
40
  return (e ? "-" : "") + s.toLowerCase();
41
41
  }
42
42
  const ba = /* @__PURE__ */ p({
@@ -51,13 +51,13 @@ 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(""));
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
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: n(() => [
60
+ default: r(() => [
61
61
  u(a(we), {
62
62
  alt: e.alt,
63
63
  src: e.src || ""
@@ -65,8 +65,8 @@ const ba = /* @__PURE__ */ p({
65
65
  u(a(Se), {
66
66
  class: w(`r-count-${o.value.length}`)
67
67
  }, {
68
- default: n(() => [
69
- ee(F(o.value), 1)
68
+ default: r(() => [
69
+ ee(O(o.value), 1)
70
70
  ]),
71
71
  _: 1
72
72
  }, 8, ["class"])
@@ -86,21 +86,21 @@ 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(A), {
91
91
  class: w(["ui-Badge", t.value]),
92
92
  as: e.as,
93
93
  "as-child": e.asChild,
94
94
  "data-accent-color": e.color,
95
95
  "data-radius": e.radius
96
96
  }, {
97
- default: n(() => [
97
+ default: r(() => [
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
- }), ie = /* @__PURE__ */ p({
103
+ }), de = /* @__PURE__ */ p({
104
104
  __name: "Button",
105
105
  props: {
106
106
  color: {},
@@ -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(A), {
118
118
  class: w(["ui-Button", t.value]),
119
119
  "as-child": e.asChild,
120
120
  as: e.as,
@@ -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: n(() => [
125
+ default: r(() => [
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(ie, v({ class: "ui-IconButton" }, a(t)), {
146
- default: n(() => [
145
+ return (o, l) => (d(), f(de, g({ class: "ui-IconButton" }, a(t)), {
146
+ default: r(() => [
147
147
  h(o.$slots, "default")
148
148
  ]),
149
149
  _: 3
150
150
  }, 16));
151
151
  }
152
- }), Rt = /* @__PURE__ */ p({
152
+ }), St = /* @__PURE__ */ p({
153
153
  __name: "Card",
154
154
  props: {
155
155
  variant: { default: "surface" },
@@ -159,14 +159,14 @@ 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(A), {
164
164
  class: w(["ui-Card", t.value]),
165
165
  "as-child": e.asChild,
166
166
  as: e.as,
167
167
  "data-radius": e.radius
168
168
  }, {
169
- default: n(() => [
169
+ default: r(() => [
170
170
  h(o.$slots, "default")
171
171
  ]),
172
172
  _: 3
@@ -181,18 +181,18 @@ 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(A), {
185
185
  as: e.as,
186
186
  class: "ui-CardHead",
187
187
  "data-accent-color": e.color
188
188
  }, {
189
- default: n(() => [
189
+ default: r(() => [
190
190
  h(t.$slots, "default")
191
191
  ]),
192
192
  _: 3
193
193
  }, 8, ["as", "data-accent-color"]));
194
194
  }
195
- }), de = /* @__PURE__ */ p({
195
+ }), ce = /* @__PURE__ */ p({
196
196
  __name: "ScrollArea",
197
197
  props: {
198
198
  size: { default: "1" },
@@ -214,40 +214,40 @@ const ba = /* @__PURE__ */ p({
214
214
  type: e.type,
215
215
  "data-radius": e.radius
216
216
  }, {
217
- default: n(() => [
217
+ default: r(() => [
218
218
  u(a(N), { class: "ui-ScrollAreaViewport" }, {
219
- default: n(() => [
219
+ default: r(() => [
220
220
  h(t.$slots, "default")
221
221
  ]),
222
222
  _: 3
223
223
  }),
224
- o[0] || (o[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
224
+ o[0] || (o[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
225
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: n(() => [
231
+ default: r(() => [
232
232
  u(a(j), { class: "ui-ScrollAreaThumb" })
233
233
  ]),
234
234
  _: 1
235
- }, 8, ["data-size"])) : T("", !0),
235
+ }, 8, ["data-size"])) : R("", !0),
236
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: n(() => [
242
+ default: r(() => [
243
243
  u(a(j), { class: "ui-ScrollAreaThumb" })
244
244
  ]),
245
245
  _: 1
246
- }, 8, ["data-size"])) : T("", !0),
246
+ }, 8, ["data-size"])) : R("", !0),
247
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(A), {
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
- }), It = ["data-side", "data-clip"], kt = /* @__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, It));
287
+ ], 8, Vt));
288
288
  }
289
- }), At = /* @__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(At, {
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
- }), Dt = { class: "ui-DialogScroll" }, Pt = ["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, r) => (d(), f(a(ze), {
347
+ return (i, n) => (d(), f(a(ze), {
348
348
  to: t.to
349
349
  }, {
350
- default: n(() => [
350
+ default: r(() => [
351
351
  u(a(Te), { class: "ui-DialogOverlay" }, {
352
- default: n(() => [
353
- B("div", Dt, [
354
- B("div", {
352
+ default: r(() => [
353
+ x("div", kt, [
354
+ x("div", {
355
355
  class: "ui-DialogScrollPadding",
356
356
  "data-align": t.align
357
357
  }, [
358
- u(a(Re), v({
358
+ u(a(ke), g({
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: n(() => [
374
+ default: r(() => [
375
375
  h(i.$slots, "default")
376
376
  ]),
377
377
  _: 3
378
378
  }, 16, ["class", "data-size", "style"])
379
- ], 8, Pt)
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
- }), Ot = { class: "ui-DialogScroll" }, Ft = ["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, r) => (d(), f(a(Ie), {
422
+ return (i, n) => (d(), f(a(Re), {
423
423
  to: t.to
424
424
  }, {
425
- default: n(() => [
426
- u(a(ke), { class: "ui-DialogOverlay" }, {
427
- default: n(() => [
428
- B("div", Ot, [
429
- B("div", {
425
+ default: r(() => [
426
+ u(a(De), { class: "ui-DialogOverlay" }, {
427
+ default: r(() => [
428
+ x("div", Dt, [
429
+ x("div", {
430
430
  class: "ui-DialogScrollPadding",
431
431
  "data-align": t.align
432
432
  }, [
433
- u(a(Ae), v({
433
+ u(a(Ae), g({
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: n(() => [
449
+ default: r(() => [
450
450
  h(i.$slots, "default")
451
451
  ]),
452
452
  _: 3
453
453
  }, 16, ["class", "data-size", "style"])
454
- ], 8, Ft)
454
+ ], 8, At)
455
455
  ])
456
456
  ]),
457
457
  _: 3
@@ -467,26 +467,27 @@ const ba = /* @__PURE__ */ p({
467
467
  },
468
468
  setup(s) {
469
469
  const e = s;
470
- return (t, o) => (d(), f(kt, {
470
+ return (t, o) => (d(), f(zt, {
471
471
  class: "ui-DialogHead",
472
472
  side: "x"
473
473
  }, {
474
- default: n(() => [
475
- u(a(De), { class: "font-semibold" }, {
476
- default: n(() => [
477
- ee(F(e.title), 1)
474
+ default: r(() => [
475
+ u(a(Ie), { class: "font-semibold" }, {
476
+ default: r(() => [
477
+ ee(O(e.title), 1)
478
478
  ]),
479
479
  _: 1
480
480
  }),
481
- u(ie, {
481
+ u(de, {
482
482
  as: a(Pe),
483
+ type: "button",
483
484
  variant: "ghost",
484
485
  color: "gray",
485
486
  radius: "full",
486
487
  style: { "--button-ghost-padding-x": "var(--space-1)" }
487
488
  }, {
488
- default: n(() => [
489
- u(a(z), { icon: "lucide:x" })
489
+ default: r(() => [
490
+ u(a(T), { icon: "lucide:x" })
490
491
  ]),
491
492
  _: 1
492
493
  }, 8, ["as"])
@@ -494,7 +495,7 @@ const ba = /* @__PURE__ */ p({
494
495
  _: 1
495
496
  }));
496
497
  }
497
- }), Ra = /* @__PURE__ */ p({
498
+ }), ka = /* @__PURE__ */ p({
498
499
  inheritAttrs: !1,
499
500
  __name: "PopoverContent",
500
501
  props: {
@@ -523,16 +524,16 @@ const ba = /* @__PURE__ */ p({
523
524
  },
524
525
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
525
526
  setup(s, { emit: e }) {
526
- const t = s, l = R(t, e, ["to", "size"]);
527
- return (i, r) => (d(), f(a(Oe), {
527
+ const t = s, l = D(t, e, ["to", "size"]);
528
+ return (i, n) => (d(), f(a(Oe), {
528
529
  to: t.to
529
530
  }, {
530
- default: n(() => [
531
- u(a(Fe), v({ ...i.$attrs, ...a(l) }, {
531
+ default: r(() => [
532
+ u(a(Fe), g({ ...i.$attrs, ...a(l) }, {
532
533
  "data-size": t.size,
533
534
  class: "ui-PopoverContent"
534
535
  }), {
535
- default: n(() => [
536
+ default: r(() => [
536
537
  h(i.$slots, "default")
537
538
  ]),
538
539
  _: 3
@@ -541,7 +542,7 @@ const ba = /* @__PURE__ */ p({
541
542
  _: 3
542
543
  }, 8, ["to"]));
543
544
  }
544
- }), Mt = { class: "ui-MenuViewport" }, [Gt, Lt] = G("ui_DropdownMenuContent"), Ia = /* @__PURE__ */ p({
545
+ }), It = { class: "ui-MenuViewport" }, [Pt, Ot] = G("ui_DropdownMenuContent"), Ra = /* @__PURE__ */ p({
545
546
  inheritAttrs: !1,
546
547
  __name: "DropdownMenuContent",
547
548
  props: {
@@ -572,19 +573,19 @@ const ba = /* @__PURE__ */ p({
572
573
  },
573
574
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
574
575
  setup(s, { emit: e }) {
575
- const t = s, l = R(t, e, [
576
+ const t = s, l = D(t, e, [
576
577
  "to",
577
578
  "size",
578
579
  "variant",
579
580
  "color",
580
581
  "highContrast"
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), {
582
+ ]), { forwardRef: i } = S(), { size: n, variant: c, color: m, highContrast: y } = F(t);
583
+ return Ot({ size: n, variant: c, color: m, highContrast: y }), (b, C) => (d(), f(a(Me), {
583
584
  to: t.to
584
585
  }, {
585
- default: n(() => [
586
- u(a(Ge), v({
587
- ...C.$attrs,
586
+ default: r(() => [
587
+ u(a(Ge), g({
588
+ ...b.$attrs,
588
589
  ...a(l)
589
590
  }, {
590
591
  ref: a(i),
@@ -592,11 +593,11 @@ const ba = /* @__PURE__ */ p({
592
593
  "data-accent-color": t.color,
593
594
  "data-size": t.size
594
595
  }), {
595
- default: n(() => [
596
- u(de, { type: "auto" }, {
597
- default: n(() => [
598
- B("div", Mt, [
599
- h(C.$slots, "default")
596
+ default: r(() => [
597
+ u(ce, { type: "auto" }, {
598
+ default: r(() => [
599
+ x("div", It, [
600
+ h(b.$slots, "default")
600
601
  ])
601
602
  ]),
602
603
  _: 3
@@ -608,7 +609,7 @@ const ba = /* @__PURE__ */ p({
608
609
  _: 3
609
610
  }, 8, ["to"]));
610
611
  }
611
- }), Ht = ["textContent"], ka = /* @__PURE__ */ p({
612
+ }), Ft = ["textContent"], Da = /* @__PURE__ */ p({
612
613
  __name: "DropdownMenuItem",
613
614
  props: {
614
615
  color: {},
@@ -620,25 +621,25 @@ const ba = /* @__PURE__ */ p({
620
621
  },
621
622
  emits: ["select"],
622
623
  setup(s, { emit: e }) {
623
- const t = s, l = R(t, e, ["color", "shortcut"]);
624
+ const t = s, l = D(t, e, ["color", "shortcut"]);
624
625
  S();
625
- const i = Gt();
626
- return (r, c) => {
626
+ const i = Pt();
627
+ return (n, c) => {
627
628
  var m;
628
- return d(), f(a(Le), v({
629
+ return d(), f(a(Le), g({
629
630
  class: "ui-MenuItem",
630
631
  "data-accent-color": t.color,
631
632
  "data-size": a(i).size.value,
632
633
  "data-variant": a(i).variant.value,
633
634
  "data-high-contrast": ((m = a(i).highContrast) == null ? void 0 : m.value) || void 0
634
635
  }, a(l)), {
635
- default: n(() => [
636
- h(r.$slots, "default"),
637
- t.shortcut ? (d(), x("div", {
636
+ default: r(() => [
637
+ h(n.$slots, "default"),
638
+ t.shortcut ? (d(), B("div", {
638
639
  key: 0,
639
640
  class: "ui-MenuShortcut",
640
- textContent: F(t.shortcut)
641
- }, null, 8, Ht)) : T("", !0)
641
+ textContent: O(t.shortcut)
642
+ }, null, 8, Ft)) : R("", !0)
642
643
  ]),
643
644
  _: 3
644
645
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
@@ -664,25 +665,25 @@ const ba = /* @__PURE__ */ p({
664
665
  },
665
666
  emits: ["update:modelValue"],
666
667
  setup(s, { emit: e }) {
667
- const t = e, o = s, [l, i] = D(o, t, [
668
+ const t = e, o = s, [l, i] = P(o, t, [
668
669
  "color",
669
670
  "size",
670
671
  "variant",
671
672
  "highContrast",
672
673
  "radius"
673
674
  ]);
674
- return (r, c) => (d(), f(a(He), v(a(l), {
675
+ return (n, c) => (d(), f(a(He), g(a(l), {
675
676
  class: ["ui-Switch", a(i)],
676
677
  "data-accent-color": o.color,
677
678
  "data-radius": o.radius
678
679
  }), {
679
- default: n(() => [
680
+ default: r(() => [
680
681
  u(a(We), { class: "ui-SwitchThumb" })
681
682
  ]),
682
683
  _: 1
683
684
  }, 16, ["class", "data-accent-color", "data-radius"]));
684
685
  }
685
- }), Wt = ["data-accent-color"], Da = /* @__PURE__ */ p({
686
+ }), Mt = ["data-accent-color"], Ia = /* @__PURE__ */ p({
686
687
  __name: "Radio",
687
688
  props: {
688
689
  modelValue: {},
@@ -693,20 +694,20 @@ const ba = /* @__PURE__ */ p({
693
694
  },
694
695
  emits: ["update:modelValue"],
695
696
  setup(s, { emit: e }) {
696
- const t = s, l = A(t, "modelValue", e, {
697
+ const t = s, l = I(t, "modelValue", e, {
697
698
  defaultValue: t.modelValue,
698
699
  passive: t.modelValue === void 0
699
- }), i = y(() => V(t, ["size", "variant", "highContrast"]));
700
- return (r, c) => O((d(), x("input", {
701
- "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
700
+ }), i = v(() => V(t, ["size", "variant", "highContrast"]));
701
+ return (n, c) => E((d(), B("input", {
702
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => M(l) ? l.value = m : null),
702
703
  class: w(["ui-Radio", i.value]),
703
704
  type: "radio",
704
705
  "data-accent-color": t.color
705
- }, null, 10, Wt)), [
706
- [me, a(l)]
706
+ }, null, 10, Mt)), [
707
+ [he, a(l)]
707
708
  ]);
708
709
  }
709
- }), [ce, jt] = G("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
710
+ }), [ue, Gt] = G("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
710
711
  __name: "RadioGroupRoot",
711
712
  props: {
712
713
  color: {},
@@ -726,15 +727,15 @@ const ba = /* @__PURE__ */ p({
726
727
  },
727
728
  emits: ["update:modelValue"],
728
729
  setup(s, { emit: e }) {
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")
730
+ const t = e, o = s, l = D(o, t, ["color", "size", "variant", "highContrast"]), { size: i, variant: n, color: c, highContrast: m } = F(o);
731
+ return Gt({ size: i, variant: n, color: c, highContrast: m }), (y, b) => (d(), f(a(le), g({ class: "ui-RadioGroupRoot" }, a(l)), {
732
+ default: r(() => [
733
+ h(y.$slots, "default")
733
734
  ]),
734
735
  _: 3
735
736
  }, 16));
736
737
  }
737
- }), Et = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
738
+ }), Lt = { class: "ui-RadioGroupItem" }, Oa = /* @__PURE__ */ p({
738
739
  __name: "RadioGroupItem",
739
740
  props: {
740
741
  id: {},
@@ -746,18 +747,18 @@ const ba = /* @__PURE__ */ p({
746
747
  required: { type: Boolean }
747
748
  },
748
749
  setup(s) {
749
- const t = $(s), o = ce(), l = y(() => {
750
- var r;
750
+ const t = $(s), o = ue(), l = v(() => {
751
+ var n;
751
752
  const i = [
752
753
  `r-size-${o.size.value}`,
753
754
  `r-variant-${o.variant.value}`
754
755
  ];
755
- return (r = o.highContrast) != null && r.value && i.push("r-high-contrast"), i;
756
+ return (n = o.highContrast) != null && n.value && i.push("r-high-contrast"), i;
756
757
  });
757
- return (i, r) => {
758
+ return (i, n) => {
758
759
  var c;
759
- return d(), x("label", Et, [
760
- u(a(le), v({
760
+ return d(), B("label", Lt, [
761
+ u(a(ne), g({
761
762
  class: ["ui-Radio", l.value],
762
763
  "data-accent-color": (c = a(o).color) == null ? void 0 : c.value
763
764
  }, a(t)), null, 16, ["class", "data-accent-color"]),
@@ -779,21 +780,21 @@ const ba = /* @__PURE__ */ p({
779
780
  setup(s) {
780
781
  const t = $(s);
781
782
  S();
782
- const o = ce();
783
+ const o = ue();
783
784
  return (l, i) => {
784
- var r, c;
785
- return d(), f(a(le), v({
785
+ var n, c;
786
+ return d(), f(a(ne), g({
786
787
  class: "ui-RadioCardsItem",
787
- "data-accent-color": (r = a(o).color) == null ? void 0 : r.value,
788
+ "data-accent-color": (n = a(o).color) == null ? void 0 : n.value,
788
789
  "data-size": a(o).size.value,
789
790
  "data-variant": a(o).variant.value,
790
791
  "data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
791
792
  }, { ...a(t), asChild: !1 }), {
792
- default: n(() => [
793
- u(Rt, {
793
+ default: r(() => [
794
+ u(St, {
794
795
  "as-child": a(t).asChild
795
796
  }, {
796
- default: n(() => [
797
+ default: r(() => [
797
798
  h(l.$slots, "default")
798
799
  ]),
799
800
  _: 3
@@ -803,7 +804,7 @@ const ba = /* @__PURE__ */ p({
803
804
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
804
805
  };
805
806
  }
806
- }), qt = {
807
+ }), Ht = {
807
808
  key: 0,
808
809
  xmlns: "http://www.w3.org/2000/svg",
809
810
  viewBox: "0 0 24 24",
@@ -812,13 +813,13 @@ const ba = /* @__PURE__ */ p({
812
813
  "stroke-width": "4",
813
814
  "stroke-linecap": "round",
814
815
  "stroke-linejoin": "round"
815
- }, Ut = {
816
+ }, Wt = {
816
817
  key: 0,
817
818
  d: "M5 12h14"
818
- }, Kt = {
819
+ }, jt = {
819
820
  key: 1,
820
821
  d: "M20 6 9 17l-5-5"
821
- }, ue = /* @__PURE__ */ p({
822
+ }, pe = /* @__PURE__ */ p({
822
823
  __name: "Checkbox",
823
824
  props: {
824
825
  color: {},
@@ -837,20 +838,20 @@ const ba = /* @__PURE__ */ p({
837
838
  },
838
839
  emits: ["update:modelValue"],
839
840
  setup(s, { emit: e }) {
840
- const t = e, o = s, [l, i] = D(o, t, ["color", "size", "variant", "highContrast"]);
841
- return (r, c) => (d(), f(a(je), v(a(l), {
841
+ const t = e, o = s, [l, i] = P(o, t, ["color", "size", "variant", "highContrast"]);
842
+ return (n, c) => (d(), f(a(je), g(a(l), {
842
843
  class: ["ui-Checkbox", a(i)],
843
844
  "data-accent-color": o.color
844
845
  }), {
845
- default: n(() => [
846
+ default: r(() => [
846
847
  u(a(Ee), {
847
848
  class: "ui-CheckboxIndicator",
848
849
  "as-child": ""
849
850
  }, {
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
- ])) : T("", !0)
851
+ default: r(() => [
852
+ a(l).checked !== !1 ? (d(), B("svg", Ht, [
853
+ a(l).checked === "indeterminate" ? (d(), B("path", Wt)) : (d(), B("path", jt))
854
+ ])) : R("", !0)
854
855
  ]),
855
856
  _: 1
856
857
  })
@@ -858,7 +859,7 @@ const ba = /* @__PURE__ */ p({
858
859
  _: 1
859
860
  }, 16, ["class", "data-accent-color"]));
860
861
  }
861
- }), [pe, Nt] = G("ui_CheckboxGroupRoot"), Ma = /* @__PURE__ */ p({
862
+ }), [fe, Et] = G("ui_CheckboxGroupRoot"), Ma = /* @__PURE__ */ p({
862
863
  __name: "CheckboxGroupRoot",
863
864
  props: {
864
865
  modelValue: {},
@@ -870,42 +871,42 @@ const ba = /* @__PURE__ */ p({
870
871
  },
871
872
  emits: ["update:modelValue"],
872
873
  setup(s, { emit: e }) {
873
- const t = s, o = e, { disabled: l, name: i } = M(t), r = U([]), c = A(t, "modelValue", o, {
874
+ const t = s, o = e, { disabled: l, name: i } = F(t), n = q([]), c = I(t, "modelValue", o, {
874
875
  defaultValue: t.defaultValue,
875
876
  passive: t.modelValue === void 0
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));
877
+ }), m = v(() => c.value || []), y = v(() => {
878
+ var C, _;
879
+ return n.value.length ? ((C = c.value) == null ? void 0 : C.length) === n.value.length ? !0 : (_ = c.value) != null && _.length ? "indeterminate" : !1 : !1;
880
+ }), b = (C) => {
881
+ var k, z;
882
+ const _ = (k = c.value) == null ? void 0 : k.indexOf(C);
883
+ _ !== -1 && _ !== void 0 && ((z = c.value) == null || z.splice(_, 1));
883
884
  };
884
- return Nt({
885
+ return Et({
885
886
  selected: m,
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));
887
+ checked: y,
888
+ addModelValue: (C) => {
889
+ var _, k;
890
+ ((_ = c.value) == null ? void 0 : _.indexOf(C)) === -1 && ((k = c.value) == null || k.push(C));
890
891
  },
891
- removeModelValue: C,
892
- toggleModelValue: (g) => {
893
- g ? c.value = [...r.value] : c.value = [];
892
+ removeModelValue: b,
893
+ toggleModelValue: (C) => {
894
+ C ? c.value = [...n.value] : c.value = [];
894
895
  },
895
- initAllValue: (g) => {
896
- r.value.push(g);
896
+ initAllValue: (C) => {
897
+ n.value.push(C);
897
898
  },
898
- removeAllValue: (g) => {
899
- r.value.splice(r.value.indexOf(g), 1), C(g);
899
+ removeAllValue: (C) => {
900
+ n.value.splice(n.value.indexOf(C), 1), b(C);
900
901
  },
901
902
  disabled: l,
902
903
  name: i == null ? void 0 : i.value
903
- }), (g, b) => (d(), f(a(k), {
904
+ }), (C, _) => (d(), f(a(A), {
904
905
  as: t.as,
905
906
  "as-child": t.asChild
906
907
  }, {
907
- default: n(() => [
908
- h(g.$slots, "default")
908
+ default: r(() => [
909
+ h(C.$slots, "default")
909
910
  ]),
910
911
  _: 3
911
912
  }, 8, ["as", "as-child"]));
@@ -930,22 +931,22 @@ const ba = /* @__PURE__ */ p({
930
931
  setup(s) {
931
932
  const e = s, t = $(e);
932
933
  S();
933
- const o = pe(), l = y(() => {
934
+ const o = fe(), l = v(() => {
934
935
  var c;
935
936
  return ((c = o.disabled) == null ? void 0 : c.value) || e.disabled;
936
- }), i = y(() => o.selected.value.indexOf(e.value) !== -1), r = (c) => {
937
+ }), i = v(() => o.selected.value.indexOf(e.value) !== -1), n = (c) => {
937
938
  c ? o.addModelValue(e.value) : o.removeModelValue(e.value);
938
939
  };
939
940
  return te(() => {
940
941
  o.initAllValue(e.value);
941
942
  }), ae(() => {
942
943
  o.removeAllValue(e.value);
943
- }), (c, m) => (d(), f(ue, v({
944
+ }), (c, m) => (d(), f(pe, g({
944
945
  ...a(t),
945
946
  name: e.name || a(o).name,
946
947
  checked: i.value,
947
948
  disabled: l.value
948
- }, { "onUpdate:checked": r }), null, 16));
949
+ }, { "onUpdate:checked": n }), null, 16));
949
950
  }
950
951
  }), La = /* @__PURE__ */ p({
951
952
  __name: "CheckboxGroupControl",
@@ -967,11 +968,11 @@ const ba = /* @__PURE__ */ p({
967
968
  setup(s) {
968
969
  const e = s, t = $(e);
969
970
  S();
970
- const o = pe(), l = y(() => {
971
- var r;
972
- return ((r = o.disabled) == null ? void 0 : r.value) || e.disabled;
973
- }), i = y(() => o.checked.value);
974
- return (r, c) => (d(), f(ue, v({
971
+ const o = fe(), l = v(() => {
972
+ var n;
973
+ return ((n = o.disabled) == null ? void 0 : n.value) || e.disabled;
974
+ }), i = v(() => o.checked.value);
975
+ return (n, c) => (d(), f(pe, g({
975
976
  ...a(t),
976
977
  name: e.name || a(o).name,
977
978
  checked: i.value,
@@ -980,11 +981,11 @@ const ba = /* @__PURE__ */ p({
980
981
  "onUpdate:checked": a(o).toggleModelValue
981
982
  }), null, 16, ["onUpdate:checked"]));
982
983
  }
983
- }), Qt = ["data-radius", "data-accent-color"], Jt = ["id", "type"], Zt = {
984
+ }), qt = ["data-radius", "data-accent-color"], Ut = ["id", "type"], Kt = {
984
985
  key: 0,
985
986
  class: "ui-TextFieldSlot",
986
987
  "data-side": "left"
987
- }, Xt = {
988
+ }, Nt = {
988
989
  key: 1,
989
990
  class: "ui-TextFieldSlot",
990
991
  "data-side": "right"
@@ -1003,46 +1004,46 @@ const ba = /* @__PURE__ */ p({
1003
1004
  },
1004
1005
  emits: ["update:modelValue"],
1005
1006
  setup(s, { emit: e }) {
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;
1007
+ const t = s, o = q(), l = (m) => {
1008
+ const y = m.target;
1009
+ if (y.closest("input, button, a")) return;
1010
+ const b = o.value;
1011
+ if (!b) return;
1012
+ const _ = y.closest("[data-side=right]") ? b.value.length : 0;
1012
1013
  requestAnimationFrame(() => {
1013
- C.setSelectionRange(b, b), C.focus();
1014
+ b.setSelectionRange(_, _), b.focus();
1014
1015
  });
1015
- }, r = A(t, "modelValue", e, {
1016
+ }, n = I(t, "modelValue", e, {
1016
1017
  defaultValue: t.modelValue,
1017
1018
  passive: t.modelValue === void 0
1018
- }), c = y(() => {
1019
+ }), c = v(() => {
1019
1020
  const m = V(t, ["size", "variant"]);
1020
1021
  return t.class && m.push(t.class), m;
1021
1022
  });
1022
- return (m, _) => (d(), x("div", {
1023
+ return (m, y) => (d(), B("div", {
1023
1024
  class: w(["ui-TextField", c.value]),
1024
1025
  "data-radius": t.radius,
1025
1026
  "data-accent-color": t.color,
1026
1027
  onPointerdown: l
1027
1028
  }, [
1028
- O(B("input", v({
1029
+ E(x("input", g({
1029
1030
  id: t.id,
1030
1031
  ref_key: "inputRef",
1031
1032
  ref: o,
1032
- "onUpdate:modelValue": _[0] || (_[0] = (C) => I(r) ? r.value = C : null),
1033
+ "onUpdate:modelValue": y[0] || (y[0] = (b) => M(n) ? n.value = b : null),
1033
1034
  type: t.type
1034
- }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Jt), [
1035
- [he, a(r)]
1035
+ }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Ut), [
1036
+ [_e, a(n)]
1036
1037
  ]),
1037
- m.$slots.left ? (d(), x("div", Zt, [
1038
+ m.$slots.left ? (d(), B("div", Kt, [
1038
1039
  h(m.$slots, "left")
1039
- ])) : T("", !0),
1040
- m.$slots.right ? (d(), x("div", Xt, [
1040
+ ])) : R("", !0),
1041
+ m.$slots.right ? (d(), B("div", Nt, [
1041
1042
  h(m.$slots, "right")
1042
- ])) : T("", !0)
1043
- ], 42, Qt));
1043
+ ])) : R("", !0)
1044
+ ], 42, qt));
1044
1045
  }
1045
- }), Yt = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1046
+ }), Qt = ["data-accent-color"], Wa = /* @__PURE__ */ p({
1046
1047
  inheritAttrs: !1,
1047
1048
  __name: "TextArea",
1048
1049
  props: {
@@ -1056,61 +1057,52 @@ const ba = /* @__PURE__ */ p({
1056
1057
  },
1057
1058
  emits: ["update:modelValue"],
1058
1059
  setup(s, { emit: e }) {
1059
- const t = s, l = A(t, "modelValue", e, {
1060
+ const t = s, l = I(t, "modelValue", e, {
1060
1061
  defaultValue: t.modelValue,
1061
1062
  passive: t.modelValue === void 0
1062
- }), i = y(() => {
1063
- const r = V(t, ["size", "variant", "resize"]);
1064
- return t.class && r.push(t.class), r;
1063
+ }), i = v(() => {
1064
+ const n = V(t, ["size", "variant", "resize"]);
1065
+ return t.class && n.push(t.class), n;
1065
1066
  });
1066
- return (r, c) => (d(), x("div", {
1067
+ return (n, c) => (d(), B("div", {
1067
1068
  class: w(["ui-TextArea", i.value]),
1068
1069
  "data-accent-color": t.color
1069
1070
  }, [
1070
- O(B("textarea", v({
1071
- "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null)
1072
- }, r.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1073
- [q, a(l)]
1071
+ E(x("textarea", g({
1072
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => M(l) ? l.value = m : null)
1073
+ }, n.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1074
+ [oe, a(l)]
1074
1075
  ])
1075
- ], 10, Yt));
1076
+ ], 10, Qt));
1076
1077
  }
1077
- }), ea = ["data-accent-color"], ta = ["id"], ja = /* @__PURE__ */ p({
1078
+ }), Jt = ["data-radius"], Zt = ["id"], ja = /* @__PURE__ */ p({
1078
1079
  __name: "ColorField",
1079
1080
  props: {
1080
1081
  id: {},
1081
1082
  modelValue: {},
1083
+ variant: { default: "solid" },
1082
1084
  size: { default: "2" },
1083
- variant: { default: "surface" },
1084
- color: {},
1085
1085
  radius: {}
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 = I(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 (r, c) => (d(), x("div", {
1094
- class: w(["ui-TextField ui-ColorField", i.value]),
1095
- "data-accent-color": t.color
1092
+ }), i = v(() => V(t, ["size", "variant"]));
1093
+ return (n, c) => (d(), B("div", {
1094
+ class: w(["ui-ColorField", i.value]),
1095
+ "data-radius": t.radius
1096
1096
  }, [
1097
- O(B("input", {
1097
+ E(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) => M(l) ? l.value = m : null),
1100
1100
  class: "ui-ColorFieldInput",
1101
1101
  type: "color"
1102
- }, null, 8, ta), [
1103
- [q, a(l)]
1104
- ]),
1105
- O(B("input", {
1106
- "onUpdate:modelValue": c[1] || (c[1] = (m) => I(l) ? l.value = m : null),
1107
- class: "ui-TextFieldInput",
1108
- type: "text",
1109
- pattern: "^#[0-9a-f]{6}$"
1110
- }, null, 512), [
1111
- [q, a(l)]
1102
+ }, null, 8, Zt), [
1103
+ [oe, a(l)]
1112
1104
  ])
1113
- ], 10, ea));
1105
+ ], 10, Jt));
1114
1106
  }
1115
1107
  }), Ea = /* @__PURE__ */ p({
1116
1108
  __name: "Toggle",
@@ -1130,20 +1122,20 @@ const ba = /* @__PURE__ */ p({
1130
1122
  },
1131
1123
  emits: ["update:modelValue"],
1132
1124
  setup(s, { emit: e }) {
1133
- const t = e, o = s, [l, i] = D(o, t, [
1125
+ const t = e, o = s, [l, i] = P(o, t, [
1134
1126
  "color",
1135
1127
  "size",
1136
1128
  "variant",
1137
1129
  "highContrast",
1138
1130
  "radius"
1139
1131
  ]);
1140
- return (r, c) => (d(), f(a(qe), v(a(l), {
1132
+ return (n, c) => (d(), f(a(qe), g(a(l), {
1141
1133
  class: ["ui-Toggle", a(i)],
1142
1134
  "data-accent-color": o.color,
1143
1135
  "data-radius": o.radius
1144
1136
  }), {
1145
- default: n(() => [
1146
- h(r.$slots, "default")
1137
+ default: r(() => [
1138
+ h(n.$slots, "default")
1147
1139
  ]),
1148
1140
  _: 3
1149
1141
  }, 16, ["class", "data-accent-color", "data-radius"]));
@@ -1171,20 +1163,20 @@ const ba = /* @__PURE__ */ p({
1171
1163
  },
1172
1164
  emits: ["update:modelValue"],
1173
1165
  setup(s, { emit: e }) {
1174
- const t = e, o = s, [l, i] = D(o, t, [
1166
+ const t = e, o = s, [l, i] = P(o, t, [
1175
1167
  "color",
1176
1168
  "size",
1177
1169
  "variant",
1178
1170
  "highContrast",
1179
1171
  "radius"
1180
1172
  ]);
1181
- return (r, c) => (d(), f(a(Ue), v(a(l), {
1173
+ return (n, c) => (d(), f(a(Ue), g(a(l), {
1182
1174
  class: ["ui-ToggleGroupRoot", a(i)],
1183
1175
  "data-accent-color": o.color,
1184
1176
  "data-radius": o.radius
1185
1177
  }), {
1186
- default: n(() => [
1187
- h(r.$slots, "default")
1178
+ default: r(() => [
1179
+ h(n.$slots, "default")
1188
1180
  ]),
1189
1181
  _: 3
1190
1182
  }, 16, ["class", "data-accent-color", "data-radius"]));
@@ -1201,14 +1193,14 @@ const ba = /* @__PURE__ */ p({
1201
1193
  },
1202
1194
  setup(s) {
1203
1195
  const t = $(s);
1204
- return (o, l) => (d(), f(a(Ke), v(a(t), { class: "ui-ToggleGroupItem" }), {
1205
- default: n(() => [
1196
+ return (o, l) => (d(), f(a(Ke), g(a(t), { class: "ui-ToggleGroupItem" }), {
1197
+ default: r(() => [
1206
1198
  h(o.$slots, "default")
1207
1199
  ]),
1208
1200
  _: 3
1209
1201
  }, 16));
1210
1202
  }
1211
- }), [fe, aa] = G("ui_SelectRoot"), Ka = /* @__PURE__ */ p({
1203
+ }), [me, Xt] = G("ui_SelectRoot"), Ka = /* @__PURE__ */ p({
1212
1204
  __name: "SelectRoot",
1213
1205
  props: {
1214
1206
  size: { default: "2" },
@@ -1228,13 +1220,13 @@ const ba = /* @__PURE__ */ p({
1228
1220
  },
1229
1221
  emits: ["update:modelValue", "update:open"],
1230
1222
  setup(s, { emit: e }) {
1231
- const t = s, o = e, { size: l, color: i, highContrast: r } = M(t), c = R(t, o, ["size", "color", "highContrast"]);
1232
- return aa({
1223
+ const t = s, o = e, { size: l, color: i, highContrast: n } = F(t), c = D(t, o, ["size", "color", "highContrast"]);
1224
+ return Xt({
1233
1225
  size: l,
1234
1226
  color: i,
1235
- highContrast: r
1236
- }), (m, _) => (d(), f(a(Ne), _e(ge(a(c))), {
1237
- default: n(() => [
1227
+ highContrast: n
1228
+ }), (m, y) => (d(), f(a(Ne), ge(ve(a(c))), {
1229
+ default: r(() => [
1238
1230
  h(m.$slots, "default")
1239
1231
  ]),
1240
1232
  _: 3
@@ -1268,16 +1260,16 @@ const ba = /* @__PURE__ */ p({
1268
1260
  as: {}
1269
1261
  },
1270
1262
  setup(s) {
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;
1263
+ const e = s, t = $(e), { forwardRef: o } = S(), l = me(), i = v(() => {
1264
+ const n = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1265
+ return l.highContrast.value && n.push("r-high-contrast"), e.position === "popper" && n.push("ui-PopperContent"), n;
1274
1266
  });
1275
- return (r, c) => (d(), f(a(Qe), {
1267
+ return (n, c) => (d(), f(a(Qe), {
1276
1268
  to: e.to
1277
1269
  }, {
1278
- default: n(() => [
1279
- u(a(Je), v({ ref: a(o) }, {
1280
- ...r.$attrs,
1270
+ default: r(() => [
1271
+ u(a(Je), g({ ref: a(o) }, {
1272
+ ...n.$attrs,
1281
1273
  ...a(t),
1282
1274
  to: void 0,
1283
1275
  variant: void 0
@@ -1285,30 +1277,30 @@ const ba = /* @__PURE__ */ p({
1285
1277
  class: ["ui-SelectContent", i.value],
1286
1278
  "data-accent-color": a(l).color.value
1287
1279
  }), {
1288
- default: n(() => [
1280
+ default: r(() => [
1289
1281
  u(a(K), {
1290
1282
  type: "auto",
1291
1283
  class: "ui-ScrollArea"
1292
1284
  }, {
1293
- default: n(() => [
1285
+ default: r(() => [
1294
1286
  u(a(Ze), {
1295
1287
  class: "ui-SelectViewport",
1296
1288
  "as-child": ""
1297
1289
  }, {
1298
- default: n(() => [
1290
+ default: r(() => [
1299
1291
  u(a(N), { class: "ui-ScrollAreaViewport" }, {
1300
- default: n(() => [
1301
- h(r.$slots, "default")
1292
+ default: r(() => [
1293
+ h(n.$slots, "default")
1302
1294
  ]),
1303
1295
  _: 3
1304
1296
  }),
1305
- c[0] || (c[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1297
+ c[0] || (c[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1306
1298
  u(a(W), {
1307
1299
  class: "ui-ScrollAreaScrollbar",
1308
1300
  "data-size": 1,
1309
1301
  orientation: "vertical"
1310
1302
  }, {
1311
- default: n(() => [
1303
+ default: r(() => [
1312
1304
  u(a(j), { class: "ui-ScrollAreaThumb" })
1313
1305
  ]),
1314
1306
  _: 1
@@ -1326,7 +1318,7 @@ const ba = /* @__PURE__ */ p({
1326
1318
  _: 3
1327
1319
  }, 8, ["to"]));
1328
1320
  }
1329
- }), oa = { class: "ui-SelectTriggerInner" }, Qa = /* @__PURE__ */ p({
1321
+ }), Yt = { class: "ui-SelectTriggerInner" }, Qa = /* @__PURE__ */ p({
1330
1322
  __name: "SelectTrigger",
1331
1323
  props: {
1332
1324
  variant: { default: "surface" },
@@ -1338,22 +1330,22 @@ const ba = /* @__PURE__ */ p({
1338
1330
  as: {}
1339
1331
  },
1340
1332
  setup(s) {
1341
- const e = s, t = fe(), o = y(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1333
+ const e = s, t = me(), o = v(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1342
1334
  return (l, i) => (d(), f(a(Xe), {
1343
1335
  class: w(["ui-SelectTrigger", o.value]),
1344
1336
  disabled: e.disabled,
1345
1337
  "data-accent-color": a(t).color,
1346
1338
  "data-radius": e.radius
1347
1339
  }, {
1348
- default: n(() => [
1349
- B("span", oa, [
1340
+ default: r(() => [
1341
+ x("span", Yt, [
1350
1342
  u(a(Ye), {
1351
1343
  placeholder: e.placeholder
1352
1344
  }, null, 8, ["placeholder"])
1353
1345
  ]),
1354
1346
  u(a(et), { "as-child": "" }, {
1355
- default: n(() => [
1356
- u(a(z), {
1347
+ default: r(() => [
1348
+ u(a(T), {
1357
1349
  class: "ui-SelectIcon",
1358
1350
  icon: "radix-icons:chevron-down"
1359
1351
  })
@@ -1375,16 +1367,16 @@ const ba = /* @__PURE__ */ p({
1375
1367
  },
1376
1368
  setup(s) {
1377
1369
  const t = $(s);
1378
- return S(), (o, l) => (d(), f(a(tt), v({ class: "ui-SelectItem" }, a(t)), {
1379
- default: n(() => [
1370
+ return S(), (o, l) => (d(), f(a(tt), g({ class: "ui-SelectItem" }, a(t)), {
1371
+ default: r(() => [
1380
1372
  u(a(at), { class: "ui-SelectItemIndicator" }, {
1381
- default: n(() => [
1382
- u(a(z), { icon: "radix-icons:check" })
1373
+ default: r(() => [
1374
+ u(a(T), { icon: "radix-icons:check" })
1383
1375
  ]),
1384
1376
  _: 1
1385
1377
  }),
1386
1378
  u(a(ot), null, {
1387
- default: n(() => [
1379
+ default: r(() => [
1388
1380
  h(o.$slots, "default")
1389
1381
  ]),
1390
1382
  _: 3
@@ -1402,26 +1394,26 @@ const ba = /* @__PURE__ */ p({
1402
1394
  },
1403
1395
  setup(s) {
1404
1396
  const t = $(s);
1405
- return S(), (o, l) => (d(), f(a(st), v({ class: "ui-SelectLabel" }, a(t)), {
1406
- default: n(() => [
1397
+ return S(), (o, l) => (d(), f(a(st), g({ class: "ui-SelectLabel" }, a(t)), {
1398
+ default: r(() => [
1407
1399
  h(o.$slots, "default")
1408
1400
  ]),
1409
1401
  _: 3
1410
1402
  }, 16));
1411
1403
  }
1412
- }), sa = (s, e) => {
1404
+ }), ea = (s, e) => {
1413
1405
  const t = s.__vccOpts || s;
1414
1406
  for (const [o, l] of e)
1415
1407
  t[o] = l;
1416
1408
  return t;
1417
- }, la = {}, na = {
1409
+ }, ta = {}, aa = {
1418
1410
  class: "ui-SelectSeparator",
1419
1411
  "aria-hidden": "true"
1420
1412
  };
1421
- function ra(s, e) {
1422
- return d(), x("div", na);
1413
+ function oa(s, e) {
1414
+ return d(), B("div", aa);
1423
1415
  }
1424
- const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1416
+ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRoot"), Ya = /* @__PURE__ */ p({
1425
1417
  __name: "ComboboxRoot",
1426
1418
  props: {
1427
1419
  size: { default: "2" },
@@ -1445,21 +1437,24 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1445
1437
  },
1446
1438
  emits: ["update:modelValue", "highlight", "update:open"],
1447
1439
  setup(s, { emit: e }) {
1448
- const t = s, o = e, { size: l, color: i, highContrast: r } = M(t), [c, m] = D(t, o, ["size", "color", "highContrast"]);
1449
- return da({
1440
+ const t = s, o = e, { size: l, color: i, highContrast: n } = F(t), [c, m] = P(t, o, ["size", "color", "highContrast"]);
1441
+ return la({
1450
1442
  size: l,
1451
1443
  color: i,
1452
- highContrast: r
1453
- }), (_, C) => (d(), f(a(lt), v({
1444
+ highContrast: n
1445
+ }), (y, b) => (d(), f(a(lt), g({
1454
1446
  class: ["ui-ComboboxRoot", a(m)]
1455
1447
  }, a(c)), {
1456
- default: n(() => [
1457
- h(_.$slots, "default")
1448
+ default: r(() => [
1449
+ h(y.$slots, "default")
1458
1450
  ]),
1459
1451
  _: 3
1460
1452
  }, 16, ["class"]));
1461
1453
  }
1462
- }), eo = /* @__PURE__ */ p({
1454
+ }), na = {
1455
+ key: 0,
1456
+ class: "ui-ComboboxValues"
1457
+ }, ra = ["aria-current", "value"], ia = ["onClick"], eo = /* @__PURE__ */ p({
1463
1458
  inheritAttrs: !1,
1464
1459
  __name: "ComboboxInput",
1465
1460
  props: {
@@ -1475,64 +1470,53 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1475
1470
  },
1476
1471
  emits: ["update:modelValue"],
1477
1472
  setup(s, { emit: e }) {
1478
- const t = nt(), o = s, l = e, i = ne(o, l), r = A(o, "modelValue", l, {
1479
- passive: !0
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), {
1473
+ const t = nt(), o = s, l = e, i = re(o, l), n = I(o, "modelValue", l, {
1474
+ passive: o.modelValue === void 0
1475
+ }), c = q(-1), m = v(() => t.modelValue.value), y = (_) => typeof _ == "object" ? JSON.stringify(_) : _.toString(), b = (_) => {
1476
+ c.value = _, t.modelValue.value.splice(_, 1), c.value = -1;
1477
+ }, C = (_) => {
1478
+ !n.value && (_.key === "Delete" || _.key === "Backspace") && (c.value !== -1 ? b(c.value) : (c.value = m.value.length - 1, setTimeout(() => {
1479
+ c.value = -1;
1480
+ }, 500)));
1481
+ };
1482
+ return ye(m, () => {
1483
+ n.value = "", t.filterState.search = "";
1484
+ }, { deep: !0 }), (_, k) => (d(), f(a(rt), {
1484
1485
  class: w(["ui-ComboboxField", `r-variant-${_.variant}`]),
1485
1486
  "data-radius": _.radius,
1486
1487
  "data-multiple": a(t).multiple.value || void 0
1487
1488
  }, {
1488
- default: n(() => [
1489
- a(t).multiple.value ? (d(), f(a(it), {
1490
- key: 0,
1491
- class: "ui-ComboboxTagsRoot",
1492
- "model-value": c.value,
1493
- delimiter: ""
1494
- }, {
1495
- default: n(() => [
1496
- (d(!0), x(ye, null, Ce(c.value, (g) => (d(), f(a(dt), {
1497
- key: m(g),
1498
- class: "ui-ComboboxTagsItem",
1499
- value: g
1500
- }, {
1501
- default: n(() => [
1502
- h(_.$slots, "item", { value: g }, () => [
1503
- B("span", null, F(m(g)), 1)
1504
- ]),
1505
- u(a(ct), null, {
1506
- default: n(() => [
1507
- u(a(z), { icon: "lucide:x" })
1508
- ]),
1509
- _: 1
1510
- })
1511
- ]),
1512
- _: 2
1513
- }, 1032, ["value"]))), 128)),
1514
- u(a(J), v({
1515
- ..._.$attrs,
1516
- ...a(i),
1517
- variant: void 0,
1518
- radius: void 0
1519
- }, {
1520
- modelValue: a(r),
1521
- "onUpdate:modelValue": C[1] || (C[1] = (g) => I(r) ? r.value = g : null),
1522
- class: "ui-ComboboxInput",
1523
- "as-child": ""
1524
- }), {
1525
- default: n(() => [
1526
- u(a(ut), {
1527
- onKeydown: C[0] || (C[0] = be(Be(() => {
1528
- }, ["prevent"]), ["enter"]))
1529
- })
1530
- ]),
1531
- _: 1
1532
- }, 16, ["modelValue"])
1533
- ]),
1534
- _: 3
1535
- }, 8, ["model-value"])) : (d(), f(a(J), v({
1489
+ default: r(() => [
1490
+ a(t).multiple.value ? (d(), B("div", na, [
1491
+ (d(!0), B(Ce, null, be(m.value, (z, Q) => (d(), B("div", {
1492
+ class: "ui-ComboboxValuesItem",
1493
+ "aria-current": Q === c.value,
1494
+ key: y(z),
1495
+ value: z
1496
+ }, [
1497
+ h(_.$slots, "item", { value: z }, () => [
1498
+ x("span", null, O(y(z)), 1)
1499
+ ]),
1500
+ x("button", {
1501
+ type: "button",
1502
+ tabindex: "-1",
1503
+ onClick: Be((_a) => b(Q), ["prevent"])
1504
+ }, [
1505
+ u(a(T), { icon: "lucide:x" })
1506
+ ], 8, ia)
1507
+ ], 8, ra))), 128)),
1508
+ u(a(J), g({
1509
+ ..._.$attrs,
1510
+ ...a(i),
1511
+ variant: void 0,
1512
+ radius: void 0
1513
+ }, {
1514
+ modelValue: a(n),
1515
+ "onUpdate:modelValue": k[0] || (k[0] = (z) => M(n) ? n.value = z : null),
1516
+ class: "ui-ComboboxInput",
1517
+ onKeydown: C
1518
+ }), null, 16, ["modelValue"])
1519
+ ])) : (d(), f(a(J), g({
1536
1520
  key: 1,
1537
1521
  class: "ui-ComboboxInput"
1538
1522
  }, {
@@ -1541,9 +1525,9 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1541
1525
  variant: void 0,
1542
1526
  radius: void 0
1543
1527
  }), null, 16)),
1544
- u(a(pt), { class: "ui-ComboboxTrigger" }, {
1545
- default: n(() => [
1546
- u(a(z), { icon: "radix-icons:chevron-down" })
1528
+ u(a(it), { class: "ui-ComboboxTrigger" }, {
1529
+ default: r(() => [
1530
+ u(a(T), { icon: "radix-icons:chevron-down" })
1547
1531
  ]),
1548
1532
  _: 1
1549
1533
  })
@@ -1581,15 +1565,15 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1581
1565
  },
1582
1566
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1583
1567
  setup(s, { emit: e }) {
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;
1568
+ const { forwardRef: t } = S(), o = s, i = re(o, e), n = sa(), c = v(() => {
1569
+ const m = ["r-size-" + n.size.value, "r-variant-" + o.variant];
1570
+ return n.highContrast.value && m.push("r-high-contrast"), m;
1587
1571
  });
1588
- return (m, _) => (d(), f(a(ft), {
1572
+ return (m, y) => (d(), f(a(dt), {
1589
1573
  to: o.to
1590
1574
  }, {
1591
- default: n(() => [
1592
- u(a(mt), v({ ref: a(t) }, {
1575
+ default: r(() => [
1576
+ u(a(ct), g({ ref: a(t) }, {
1593
1577
  ...m.$attrs,
1594
1578
  ...a(i),
1595
1579
  position: "popper",
@@ -1597,21 +1581,21 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1597
1581
  variant: void 0
1598
1582
  }, {
1599
1583
  class: ["ui-ComboboxContent", c.value],
1600
- "data-accent-color": a(r).color.value
1584
+ "data-accent-color": a(n).color.value
1601
1585
  }), {
1602
- default: n(() => [
1586
+ default: r(() => [
1603
1587
  u(a(K), {
1604
1588
  type: "auto",
1605
1589
  class: "ui-ScrollArea"
1606
1590
  }, {
1607
- default: n(() => [
1608
- u(a(ht), {
1591
+ default: r(() => [
1592
+ u(a(ut), {
1609
1593
  class: "ui-ComboboxViewport",
1610
1594
  "as-child": ""
1611
1595
  }, {
1612
- default: n(() => [
1596
+ default: r(() => [
1613
1597
  u(a(N), { class: "ui-ScrollAreaViewport" }, {
1614
- default: n(() => [
1598
+ default: r(() => [
1615
1599
  h(m.$slots, "default")
1616
1600
  ]),
1617
1601
  _: 3
@@ -1619,13 +1603,13 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1619
1603
  ]),
1620
1604
  _: 3
1621
1605
  }),
1622
- _[0] || (_[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1606
+ y[0] || (y[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1623
1607
  u(a(W), {
1624
1608
  class: "ui-ScrollAreaScrollbar",
1625
1609
  "data-size": 1,
1626
1610
  orientation: "vertical"
1627
1611
  }, {
1628
- default: n(() => [
1612
+ default: r(() => [
1629
1613
  u(a(j), { class: "ui-ScrollAreaThumb" })
1630
1614
  ]),
1631
1615
  _: 1
@@ -1651,11 +1635,11 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1651
1635
  },
1652
1636
  setup(s) {
1653
1637
  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(() => [
1658
- u(a(z), { icon: "radix-icons:check" })
1638
+ return (o, l) => (d(), f(a(pt), g({ class: "ui-ComboboxItem" }, a(t)), {
1639
+ default: r(() => [
1640
+ u(a(ft), { class: "ui-ComboboxItemIndicator" }, {
1641
+ default: r(() => [
1642
+ u(a(T), { icon: "radix-icons:check" })
1659
1643
  ]),
1660
1644
  _: 1
1661
1645
  }),
@@ -1673,14 +1657,14 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1673
1657
  },
1674
1658
  setup(s) {
1675
1659
  const t = $(s);
1676
- return S(), (o, l) => (d(), f(a(vt), v({ class: "ui-ComboboxLabel" }, a(t)), {
1677
- default: n(() => [
1660
+ return S(), (o, l) => (d(), f(a(mt), g({ class: "ui-ComboboxLabel" }, a(t)), {
1661
+ default: r(() => [
1678
1662
  h(o.$slots, "default")
1679
1663
  ]),
1680
1664
  _: 3
1681
1665
  }, 16));
1682
1666
  }
1683
- }), ca = ["data-size", "data-variant"], ua = ["data-layout"], so = /* @__PURE__ */ p({
1667
+ }), da = ["data-size", "data-variant"], ca = ["data-layout"], so = /* @__PURE__ */ p({
1684
1668
  __name: "Table",
1685
1669
  props: {
1686
1670
  size: { default: "2" },
@@ -1689,25 +1673,25 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1689
1673
  },
1690
1674
  setup(s) {
1691
1675
  const e = s;
1692
- return (t, o) => (d(), x("div", {
1676
+ return (t, o) => (d(), B("div", {
1693
1677
  class: "ui-Table",
1694
1678
  "data-size": e.size,
1695
1679
  "data-variant": e.variant
1696
1680
  }, [
1697
- u(de, null, {
1698
- default: n(() => [
1699
- B("table", {
1681
+ u(ce, null, {
1682
+ default: r(() => [
1683
+ x("table", {
1700
1684
  class: "ui-TableContent",
1701
1685
  "data-layout": e.layout
1702
1686
  }, [
1703
1687
  h(t.$slots, "default")
1704
- ], 8, ua)
1688
+ ], 8, ca)
1705
1689
  ]),
1706
1690
  _: 3
1707
1691
  })
1708
- ], 8, ca));
1692
+ ], 8, da));
1709
1693
  }
1710
- }), pa = ["textContent"], lo = /* @__PURE__ */ p({
1694
+ }), ua = ["textContent"], lo = /* @__PURE__ */ p({
1711
1695
  __name: "Tooltip",
1712
1696
  props: {
1713
1697
  to: {},
@@ -1735,7 +1719,7 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1735
1719
  },
1736
1720
  setup(s) {
1737
1721
  const e = s;
1738
- return (t, o) => (d(), f(a(yt), {
1722
+ return (t, o) => (d(), f(a(ht), {
1739
1723
  "delay-duration": e.delayDuration,
1740
1724
  "disable-closing-trigger": e.disableClosingTrigger,
1741
1725
  "disable-hoverable-content": e.disableHoverableContent,
@@ -1743,23 +1727,23 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1743
1727
  "ignore-non-keyboard-focus": e.ignoreNonKeyboardFocus,
1744
1728
  "skip-delay-duration": e.skipDelayDuration
1745
1729
  }, {
1746
- default: n(() => [
1747
- u(a(Ct), null, {
1748
- default: n(() => [
1749
- u(a(bt), {
1730
+ default: r(() => [
1731
+ u(a(_t), null, {
1732
+ default: r(() => [
1733
+ u(a(gt), {
1750
1734
  as: e.as,
1751
1735
  "as-child": e.asChild
1752
1736
  }, {
1753
- default: n(() => [
1737
+ default: r(() => [
1754
1738
  h(t.$slots, "default")
1755
1739
  ]),
1756
1740
  _: 3
1757
1741
  }, 8, ["as", "as-child"]),
1758
- u(a(Bt), {
1742
+ u(a(vt), {
1759
1743
  to: e.to
1760
1744
  }, {
1761
- default: n(() => [
1762
- u(a(xt), {
1745
+ default: r(() => [
1746
+ u(a(yt), {
1763
1747
  class: "ui-Tooltip",
1764
1748
  align: e.align,
1765
1749
  "align-offset": e.alignOffset,
@@ -1773,14 +1757,14 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1773
1757
  "side-offset": e.sideOffset,
1774
1758
  sticky: e.sticky
1775
1759
  }, {
1776
- default: n(() => [
1760
+ default: r(() => [
1777
1761
  h(t.$slots, "content", {}, () => [
1778
- B("p", {
1762
+ x("p", {
1779
1763
  class: "ui-TooltipText",
1780
- textContent: F(e.content)
1781
- }, null, 8, pa)
1764
+ textContent: O(e.content)
1765
+ }, null, 8, ua)
1782
1766
  ]),
1783
- u(a($t), { class: "ui-TooltipArrow" })
1767
+ u(a(Ct), { class: "ui-TooltipArrow" })
1784
1768
  ]),
1785
1769
  _: 3
1786
1770
  }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
@@ -1805,7 +1789,7 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1805
1789
  },
1806
1790
  setup(s) {
1807
1791
  const e = s;
1808
- return (t, o) => (d(), f(a(wt), {
1792
+ return (t, o) => (d(), f(a(bt), {
1809
1793
  class: "ui-TabList",
1810
1794
  "data-accent-color": e.color,
1811
1795
  "data-size": e.size,
@@ -1813,13 +1797,13 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1813
1797
  "data-justify": e.justify,
1814
1798
  "data-high-contrast": e.highContrast
1815
1799
  }, {
1816
- default: n(() => [
1800
+ default: r(() => [
1817
1801
  h(t.$slots, "default")
1818
1802
  ]),
1819
1803
  _: 3
1820
1804
  }, 8, ["data-accent-color", "data-size", "data-wrap", "data-justify", "data-high-contrast"]));
1821
1805
  }
1822
- }), fa = { class: "ui-TabTriggerInner" }, ma = { class: "ui-TabTriggerInnerHidden" }, ro = /* @__PURE__ */ p({
1806
+ }), pa = { class: "ui-TabTriggerInner" }, fa = { class: "ui-TabTriggerInnerHidden" }, ro = /* @__PURE__ */ p({
1823
1807
  __name: "TabsTrigger",
1824
1808
  props: {
1825
1809
  value: {},
@@ -1829,12 +1813,12 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1829
1813
  },
1830
1814
  setup(s) {
1831
1815
  const t = $(s);
1832
- return (o, l) => (d(), f(a(St), v(a(t), { class: "ui-TabTrigger" }), {
1833
- default: n(() => [
1834
- B("span", fa, [
1816
+ return (o, l) => (d(), f(a(Bt), g(a(t), { class: "ui-TabTrigger" }), {
1817
+ default: r(() => [
1818
+ x("span", pa, [
1835
1819
  h(o.$slots, "default")
1836
1820
  ]),
1837
- B("span", ma, [
1821
+ x("span", fa, [
1838
1822
  h(o.$slots, "default")
1839
1823
  ])
1840
1824
  ]),
@@ -1858,18 +1842,18 @@ const Xa = /* @__PURE__ */ sa(la, [["render", ra]]), [ia, da] = G("ui_ComboboxRo
1858
1842
  },
1859
1843
  emits: ["update:modelValue"],
1860
1844
  setup(s, { emit: e }) {
1861
- const t = e, o = s, [l, i] = D(o, t, ["size"]);
1862
- return (r, c) => (d(), f(a(se), v(a(l), {
1845
+ const t = e, o = s, [l, i] = P(o, t, ["size"]);
1846
+ return (n, c) => (d(), f(a(le), g(a(l), {
1863
1847
  class: ["ui-RadioTabsList", a(i)]
1864
1848
  }), {
1865
- default: n(() => [
1866
- h(r.$slots, "default")
1849
+ default: r(() => [
1850
+ h(n.$slots, "default")
1867
1851
  ]),
1868
1852
  _: 3
1869
1853
  }, 16, ["class"]));
1870
1854
  }
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;
1855
+ }), ma = "https://challenges.cloudflare.com/turnstile/v0/api.js", X = "cfTurnstileOnLoad";
1856
+ let L = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", U, H, Y;
1873
1857
  const co = /* @__PURE__ */ p({
1874
1858
  __name: "Turnstile",
1875
1859
  props: {
@@ -1884,12 +1868,12 @@ const co = /* @__PURE__ */ p({
1884
1868
  },
1885
1869
  emits: ["update:modelValue"],
1886
1870
  setup(s, { emit: e }) {
1887
- const t = s, o = e, l = U(), i = () => {
1871
+ const t = s, o = e, l = q(), i = () => {
1888
1872
  window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
1889
- }, r = () => {
1873
+ }, n = () => {
1890
1874
  H && (window.turnstile.remove(H), H = void 0);
1891
- }, c = (_) => {
1892
- o("update:modelValue", _), Y = setTimeout(() => {
1875
+ }, c = (y) => {
1876
+ o("update:modelValue", y), Y = setTimeout(() => {
1893
1877
  i();
1894
1878
  }, t.resetInterval);
1895
1879
  }, m = () => {
@@ -1903,24 +1887,24 @@ const co = /* @__PURE__ */ p({
1903
1887
  });
1904
1888
  };
1905
1889
  return te(async () => {
1906
- const _ = new Promise((g, b) => {
1907
- E = { resolve: g, reject: b }, L === "ready" && g(void 0);
1890
+ const y = new Promise((C, _) => {
1891
+ U = { resolve: C, reject: _ }, L === "ready" && C(void 0);
1908
1892
  });
1909
1893
  window[X] = () => {
1910
- E.resolve(), L = "ready";
1894
+ U.resolve(), L = "ready";
1911
1895
  }, await (() => {
1912
1896
  if (L === "unloaded") {
1913
1897
  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);
1898
+ const C = `${ma}?onload=${X}&render=explicit`, _ = document.createElement("script");
1899
+ _.src = C, _.async = !0, _.addEventListener("error", () => {
1900
+ U.reject("Failed to load Turnstile.");
1901
+ }), document.head.appendChild(_);
1918
1902
  }
1919
- return _;
1903
+ return y;
1920
1904
  })(), t.renderOnMount && m();
1921
1905
  }), ae(() => {
1922
- r(), clearTimeout(Y);
1923
- }), (_, C) => (d(), x("div", {
1906
+ n(), clearTimeout(Y);
1907
+ }), (y, b) => (d(), B("div", {
1924
1908
  ref_key: "element",
1925
1909
  ref: l
1926
1910
  }, null, 512));
@@ -1932,20 +1916,20 @@ const co = /* @__PURE__ */ p({
1932
1916
  color: {}
1933
1917
  },
1934
1918
  setup(s) {
1935
- const e = s, t = y(() => {
1919
+ const e = s, t = v(() => {
1936
1920
  const l = `translateX(-${100 - e.percent}%)`;
1937
1921
  if (e.percent > 100)
1938
1922
  return { transform: l, "background-color": "var(--red-a10)" };
1939
1923
  let i = "a4";
1940
1924
  return e.percent > 90 ? i = "a11" : e.percent > 66 ? i = "a9" : e.percent > 33 && (i = "a6"), { transform: l, "background-color": `var(--blue-${i})` };
1941
- }), o = y(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1942
- return (l, i) => (d(), f(a(Vt), {
1925
+ }), o = v(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1926
+ return (l, i) => (d(), f(a(xt), {
1943
1927
  class: "ui-Quota",
1944
1928
  "model-value": o.value,
1945
1929
  "data-accent-color": e.color
1946
1930
  }, {
1947
- default: n(() => [
1948
- u(a(zt), {
1931
+ default: r(() => [
1932
+ u(a($t), {
1949
1933
  class: "ui-QuotaValue",
1950
1934
  style: xe(t.value)
1951
1935
  }, null, 8, ["style"])
@@ -1953,7 +1937,7 @@ const co = /* @__PURE__ */ p({
1953
1937
  _: 1
1954
1938
  }, 8, ["model-value", "data-accent-color"]));
1955
1939
  }
1956
- }), _a = ["data-accent-color"], po = /* @__PURE__ */ p({
1940
+ }), ha = ["data-accent-color"], po = /* @__PURE__ */ p({
1957
1941
  __name: "IconCircle",
1958
1942
  props: {
1959
1943
  color: {},
@@ -1962,16 +1946,16 @@ const co = /* @__PURE__ */ p({
1962
1946
  icon: {}
1963
1947
  },
1964
1948
  setup(s) {
1965
- const e = s, t = y(() => V(e, ["size", "variant"]));
1966
- return (o, l) => (d(), x("span", {
1949
+ const e = s, t = v(() => V(e, ["size", "variant"]));
1950
+ return (o, l) => (d(), B("span", {
1967
1951
  class: w(["ui-IconCircle", t.value]),
1968
1952
  "data-radius": "full",
1969
1953
  "data-accent-color": e.color
1970
1954
  }, [
1971
- u(a(z), {
1955
+ u(a(T), {
1972
1956
  icon: e.icon
1973
1957
  }, null, 8, ["icon"])
1974
- ], 10, _a));
1958
+ ], 10, ha));
1975
1959
  }
1976
1960
  });
1977
1961
  export {
@@ -1984,10 +1968,10 @@ export {
1984
1968
  Co as AlertDialogTrigger,
1985
1969
  ba as Avatar,
1986
1970
  Ba as Badge,
1987
- ie as Button,
1988
- Rt as Card,
1971
+ de as Button,
1972
+ St as Card,
1989
1973
  $a as CardHead,
1990
- ue as Checkbox,
1974
+ pe as Checkbox,
1991
1975
  La as CheckboxGroupControl,
1992
1976
  Ga as CheckboxGroupItem,
1993
1977
  Ma as CheckboxGroupRoot,
@@ -2006,20 +1990,20 @@ export {
2006
1990
  wo as DialogRoot,
2007
1991
  So as DialogTitle,
2008
1992
  Vo as DialogTrigger,
2009
- Ia as DropdownMenuContent,
2010
- ka as DropdownMenuItem,
1993
+ Ra as DropdownMenuContent,
1994
+ Da as DropdownMenuItem,
2011
1995
  zo as DropdownMenuRoot,
2012
1996
  To as DropdownMenuTrigger,
2013
1997
  Mo as Icon,
2014
1998
  xa as IconButton,
2015
1999
  po as IconCircle,
2016
- kt as Inset,
2017
- Ro as PopoverClose,
2018
- Ra as PopoverContent,
2019
- Io as PopoverRoot,
2020
- ko as PopoverTrigger,
2000
+ zt as Inset,
2001
+ ko as PopoverClose,
2002
+ ka as PopoverContent,
2003
+ Ro as PopoverRoot,
2004
+ Do as PopoverTrigger,
2021
2005
  uo as Quota,
2022
- Da as Radio,
2006
+ Ia as Radio,
2023
2007
  Fa as RadioCardsItem,
2024
2008
  Pa as RadioCardsRoot,
2025
2009
  Oa as RadioGroupItem,
@@ -2027,16 +2011,16 @@ export {
2027
2011
  Ao as RadioTabsItem,
2028
2012
  io as RadioTabsList,
2029
2013
  Sa as SavingIndicator,
2030
- de as ScrollArea,
2014
+ ce as ScrollArea,
2031
2015
  Na as SelectContent,
2032
- Do as SelectGroup,
2016
+ Io as SelectGroup,
2033
2017
  Ja as SelectItem,
2034
2018
  Za as SelectLabel,
2035
2019
  Ka as SelectRoot,
2036
2020
  Xa as SelectSeparator,
2037
2021
  Qa as SelectTrigger,
2038
2022
  wa as Separator,
2039
- At as Spinner,
2023
+ Tt as Spinner,
2040
2024
  Aa as Switch,
2041
2025
  so as Table,
2042
2026
  Po as TabsContent,