@typlog/ui 0.2.0 → 0.4.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,10 +1,45 @@
1
- import { defineComponent as u, computed as z, openBlock as d, createBlock as h, unref as a, withCtx as l, createVNode as p, createTextVNode as K, toDisplayString as O, renderSlot as f, useAttrs as ne, mergeProps as _, createElementBlock as b, createCommentVNode as T, toRefs as W, ref as L, onMounted as N, onBeforeUnmount as Q, withDirectives as V, createElementVNode as C, isRef as D, vModelText as F, vModelRadio as re, normalizeProps as de, guardReactiveProps as ce, normalizeClass as X, vModelDynamic as ue, provide as pe, inject as J, normalizeStyle as he } from "vue";
2
- import { AvatarRoot as fe, AvatarImage as me, AvatarFallback as _e, Primitive as k, useForwardProps as $, useEmitAsProps as ve, CheckboxRoot as ge, CheckboxIndicator as ye, createContext as j, useForwardExpose as B, AlertDialogPortal as Ce, AlertDialogOverlay as be, AlertDialogContent as ze, DialogPortal as Be, DialogOverlay as $e, DialogContent as we, DialogTitle as Se, DialogClose as Te, PopoverPortal as ke, PopoverContent as Ae, ScrollAreaRoot as Y, ScrollAreaViewport as Z, ScrollAreaScrollbar as H, ScrollAreaThumb as G, ScrollAreaCorner as xe, DropdownMenuPortal as Ve, DropdownMenuContent as De, DropdownMenuItem as Re, SwitchRoot as Pe, SwitchThumb as Ie, RadioGroupRoot as ee, RadioGroupItem as te, SelectRoot as Oe, SelectPortal as Me, SelectContent as Fe, SelectViewport as He, SelectTrigger as Ge, SelectValue as We, SelectIcon as Le, SelectItem as je, SelectItemIndicator as Ee, SelectItemText as qe, SelectLabel as Ue, TooltipProvider as Ke, TooltipRoot as Ne, TooltipTrigger as Qe, TooltipPortal as Xe, TooltipContent as Je, TooltipArrow as Ye, TabsList as Ze, TabsTrigger as et, ProgressRoot as tt, ProgressIndicator as at } from "radix-vue";
3
- import { AlertDialogAction as Va, AlertDialogCancel as Da, AlertDialogDescription as Ra, AlertDialogRoot as Pa, AlertDialogTitle as Ia, AlertDialogTrigger as Oa, DialogClose as Ma, DialogDescription as Fa, DialogRoot as Ha, DialogTitle as Ga, DialogTrigger as Wa, DropdownMenuRoot as La, DropdownMenuTrigger as ja, PopoverAnchor as Ea, PopoverArrow as qa, PopoverClose as Ua, PopoverRoot as Ka, PopoverTrigger as Na, RadioGroupItem as Qa, SelectGroup as Xa, TabsContent as Ja, TabsRoot as Ya } from "radix-vue";
4
- import { useVModel as R } from "@vueuse/core";
5
- import { Icon as A } from "@iconify/vue";
6
- import { Icon as eo } from "@iconify/vue";
7
- const Ut = /* @__PURE__ */ u({
1
+ import { computed as _, defineComponent as u, openBlock as i, createBlock as p, unref as a, normalizeClass as w, withCtx as r, createVNode as f, createTextVNode as J, toDisplayString as G, renderSlot as h, mergeProps as g, createElementBlock as b, createCommentVNode as V, toRefs as E, ref as q, onMounted as X, onBeforeUnmount as Y, withDirectives as R, createElementVNode as B, isRef as I, vModelText as L, vModelRadio as pe, vModelDynamic as fe, provide as he, inject as ee, normalizeStyle as me } from "vue";
2
+ import { useForwardProps as z, useEmitAsProps as te, AvatarRoot as _e, AvatarImage as ge, AvatarFallback as ve, Primitive as D, CheckboxRoot as ye, CheckboxIndicator as Ce, createContext as U, useForwardExpose as x, AlertDialogPortal as be, AlertDialogOverlay as Be, AlertDialogContent as $e, DialogPortal as we, DialogOverlay as ze, DialogContent as Se, DialogTitle as xe, DialogClose as Ve, PopoverPortal as Te, PopoverContent as De, ScrollAreaRoot as ae, ScrollAreaViewport as oe, ScrollAreaScrollbar as W, ScrollAreaThumb as j, ScrollAreaCorner as ke, DropdownMenuPortal as Ae, DropdownMenuContent as Re, DropdownMenuItem as Ie, SwitchRoot as Pe, SwitchThumb as Oe, RadioGroupRoot as se, RadioGroupItem as le, SelectRoot as Fe, SelectPortal as Me, SelectContent as Ge, SelectViewport as He, SelectTrigger as Le, SelectValue as We, SelectIcon as je, SelectItem as Ee, SelectItemIndicator as qe, SelectItemText as Ue, SelectLabel as Ke, TooltipProvider as Ne, TooltipRoot as Qe, TooltipTrigger as Ze, TooltipPortal as Je, TooltipContent as Xe, TooltipArrow as Ye, TabsList as et, TabsTrigger as tt, ProgressRoot as at, ProgressIndicator as ot, Toggle as st, ToggleGroupRoot as lt, ToggleGroupItem as nt } from "reka-ui";
3
+ import { AlertDialogAction as Ma, AlertDialogCancel as Ga, AlertDialogDescription as Ha, AlertDialogRoot as La, AlertDialogTitle as Wa, AlertDialogTrigger as ja, DialogClose as Ea, DialogDescription as qa, DialogRoot as Ua, DialogTitle as Ka, DialogTrigger as Na, DropdownMenuRoot as Qa, DropdownMenuTrigger as Za, PopoverAnchor as Ja, PopoverArrow as Xa, PopoverClose as Ya, PopoverRoot as eo, PopoverTrigger as to, RadioGroupItem as ao, SelectGroup as oo, TabsContent as so, TabsRoot as lo } from "reka-ui";
4
+ import { useVModel as P } from "@vueuse/core";
5
+ import { Icon as k } from "@iconify/vue";
6
+ import { Icon as ro } from "@iconify/vue";
7
+ function T(s, e, t) {
8
+ const o = z(s), l = te(e);
9
+ return _(() => ({
10
+ ...ne(o.value, t),
11
+ ...l
12
+ }));
13
+ }
14
+ function O(s, e, t) {
15
+ const o = z(s), l = te(e), n = _(() => ({
16
+ ...ne(o.value, t),
17
+ ...l
18
+ })), d = _(() => S(o.value, t));
19
+ return [n, d];
20
+ }
21
+ function ne(s, e) {
22
+ const t = {};
23
+ return Object.keys(s).forEach((o) => {
24
+ e.indexOf(o) === -1 && (t[o] = s[o]);
25
+ }), t;
26
+ }
27
+ const S = (s, e) => {
28
+ const t = [];
29
+ return e.forEach((o) => {
30
+ if (o !== "color" && o !== "radius") {
31
+ const l = s[o];
32
+ l === !0 ? t.push(`r-${N(o)}`) : l && t.push(`r-${N(o)}-${l}`);
33
+ }
34
+ }), t;
35
+ };
36
+ function N(s) {
37
+ return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, rt);
38
+ }
39
+ function rt(s, e) {
40
+ return (e ? "-" : "") + s.toLowerCase();
41
+ }
42
+ const Zt = /* @__PURE__ */ u({
8
43
  __name: "Avatar",
9
44
  props: {
10
45
  src: {},
@@ -16,32 +51,30 @@ const Ut = /* @__PURE__ */ u({
16
51
  color: {}
17
52
  },
18
53
  setup(s) {
19
- const e = s, t = z(() => e.fallback ? e.fallback : e.alt.split(/\s+/).map((o) => o[0]).slice(0, 2).join(""));
20
- return (o, i) => (d(), h(a(fe), {
21
- class: "ui-Avatar",
22
- "data-radius": e.radius,
23
- "data-size": e.size,
24
- "data-variant": e.variant,
25
- "data-accent-color": e.color
54
+ const e = s, t = _(() => S(e, ["size", "variant"])), o = _(() => e.fallback ? e.fallback : e.alt.split(/\s+/).map((l) => l[0]).slice(0, 2).join(""));
55
+ return (l, n) => (i(), p(a(_e), {
56
+ class: w(["ui-Avatar", t.value]),
57
+ "data-accent-color": e.color,
58
+ "data-radius": e.radius
26
59
  }, {
27
- default: l(() => [
28
- p(a(me), {
60
+ default: r(() => [
61
+ f(a(ge), {
29
62
  alt: e.alt,
30
63
  src: e.src || ""
31
64
  }, null, 8, ["alt", "src"]),
32
- p(a(_e), {
33
- "data-count": t.value.length
65
+ f(a(ve), {
66
+ class: w(`r-count-${o.value.length}`)
34
67
  }, {
35
- default: l(() => [
36
- K(O(t.value), 1)
68
+ default: r(() => [
69
+ J(G(o.value), 1)
37
70
  ]),
38
71
  _: 1
39
- }, 8, ["data-count"])
72
+ }, 8, ["class"])
40
73
  ]),
41
74
  _: 1
42
- }, 8, ["data-radius", "data-size", "data-variant", "data-accent-color"]));
75
+ }, 8, ["class", "data-accent-color", "data-radius"]));
43
76
  }
44
- }), Kt = /* @__PURE__ */ u({
77
+ }), Jt = /* @__PURE__ */ u({
45
78
  __name: "Badge",
46
79
  props: {
47
80
  variant: { default: "soft" },
@@ -53,24 +86,21 @@ const Ut = /* @__PURE__ */ u({
53
86
  as: { default: "span" }
54
87
  },
55
88
  setup(s) {
56
- const e = s;
57
- return (t, o) => (d(), h(a(k), {
58
- class: "ui-Badge",
89
+ const e = s, t = _(() => S(e, ["size", "variant", "highContrast"]));
90
+ return (o, l) => (i(), p(a(D), {
91
+ class: w(["ui-Badge", t.value]),
59
92
  as: e.as,
60
93
  "as-child": e.asChild,
61
- "data-variant": e.variant,
62
94
  "data-accent-color": e.color,
63
- "data-radius": e.radius,
64
- "data-size": e.size,
65
- "data-high-contrast": e.highContrast
95
+ "data-radius": e.radius
66
96
  }, {
67
- default: l(() => [
68
- f(t.$slots, "default")
97
+ default: r(() => [
98
+ h(o.$slots, "default")
69
99
  ]),
70
100
  _: 3
71
- }, 8, ["as", "as-child", "data-variant", "data-accent-color", "data-radius", "data-size", "data-high-contrast"]));
101
+ }, 8, ["class", "as", "as-child", "data-accent-color", "data-radius"]));
72
102
  }
73
- }), ae = /* @__PURE__ */ u({
103
+ }), re = /* @__PURE__ */ u({
74
104
  __name: "Button",
75
105
  props: {
76
106
  color: {},
@@ -83,27 +113,22 @@ const Ut = /* @__PURE__ */ u({
83
113
  as: { default: "button" }
84
114
  },
85
115
  setup(s) {
86
- const e = s, t = ne(), o = z(() => {
87
- const i = {
88
- "data-accent-color": e.color,
89
- "data-variant": e.variant,
90
- "data-radius": e.radius,
91
- "data-size": e.size
92
- };
93
- return e.highContrast && (i["data-high-contrast"] = !0), e.disabled ? { ...t, ...i, disabled: !0, "data-disabled": !0 } : { ...t, ...i };
94
- });
95
- return (i, n) => (d(), h(a(k), _({
96
- class: "ui-Button",
116
+ const e = s, t = _(() => S(e, ["size", "variant", "highContrast"]));
117
+ return (o, l) => (i(), p(a(D), {
118
+ class: w(["ui-Button", t.value]),
97
119
  "as-child": e.asChild,
98
- as: e.as
99
- }, o.value), {
100
- default: l(() => [
101
- f(i.$slots, "default")
120
+ as: e.as,
121
+ "data-accent-color": e.color,
122
+ "data-radius": e.radius,
123
+ "data-disabled": e.disabled ? !0 : void 0
124
+ }, {
125
+ default: r(() => [
126
+ h(o.$slots, "default")
102
127
  ]),
103
128
  _: 3
104
- }, 16, ["as-child", "as"]));
129
+ }, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled"]));
105
130
  }
106
- }), Nt = /* @__PURE__ */ u({
131
+ }), Xt = /* @__PURE__ */ u({
107
132
  __name: "IconButton",
108
133
  props: {
109
134
  color: {},
@@ -116,29 +141,15 @@ const Ut = /* @__PURE__ */ u({
116
141
  as: {}
117
142
  },
118
143
  setup(s) {
119
- const t = $(s);
120
- return (o, i) => (d(), h(ae, _({ class: "ui-IconButton" }, a(t)), {
121
- default: l(() => [
122
- f(o.$slots, "default")
144
+ const t = z(s);
145
+ return (o, l) => (i(), p(re, g({ class: "ui-IconButton" }, a(t)), {
146
+ default: r(() => [
147
+ h(o.$slots, "default")
123
148
  ]),
124
149
  _: 3
125
150
  }, 16));
126
151
  }
127
- });
128
- function w(s, e, t) {
129
- const o = $(s), i = ve(e);
130
- return z(() => ({
131
- ...ot(o.value, t),
132
- ...i
133
- }));
134
- }
135
- function ot(s, e) {
136
- const t = {};
137
- return Object.keys(s).forEach((o) => {
138
- e.indexOf(o) === -1 && (t[o] = s[o]);
139
- }), t;
140
- }
141
- const st = {
152
+ }), it = {
142
153
  key: 0,
143
154
  xmlns: "http://www.w3.org/2000/svg",
144
155
  viewBox: "0 0 24 24",
@@ -147,60 +158,53 @@ const st = {
147
158
  "stroke-width": "4",
148
159
  "stroke-linecap": "round",
149
160
  "stroke-linejoin": "round"
150
- }, it = {
161
+ }, dt = {
151
162
  key: 0,
152
163
  d: "M5 12h14"
153
- }, lt = {
164
+ }, ct = {
154
165
  key: 1,
155
166
  d: "M20 6 9 17l-5-5"
156
- }, oe = /* @__PURE__ */ u({
157
- inheritAttrs: !1,
167
+ }, ie = /* @__PURE__ */ u({
158
168
  __name: "Checkbox",
159
169
  props: {
160
170
  color: {},
161
171
  variant: { default: "surface" },
162
172
  size: { default: "2" },
163
173
  highContrast: { type: Boolean },
164
- defaultChecked: { type: Boolean },
165
- checked: { type: [Boolean, String] },
174
+ defaultValue: { type: [Boolean, String] },
175
+ modelValue: { type: [Boolean, String] },
166
176
  disabled: { type: Boolean },
167
- required: { type: Boolean },
168
- name: {},
169
177
  value: {},
170
178
  id: {},
171
179
  asChild: { type: Boolean },
172
- as: {}
180
+ as: {},
181
+ name: {},
182
+ required: { type: Boolean }
173
183
  },
174
- emits: ["update:checked"],
184
+ emits: ["update:modelValue"],
175
185
  setup(s, { emit: e }) {
176
- const t = e, o = s, i = w(o, t, ["color", "size", "variant", "highContrast"]);
177
- return (n, r) => (d(), h(a(ge), _({
178
- ...n.$attrs,
179
- ...a(i)
180
- }, {
181
- class: "ui-Checkbox",
182
- "data-variant": o.variant,
183
- "data-size": o.size,
184
- "data-accent-color": o.color,
185
- "data-high-contrast": o.highContrast
186
+ const t = e, o = s, [l, n] = O(o, t, ["color", "size", "variant", "highContrast"]);
187
+ return (d, c) => (i(), p(a(ye), g(a(l), {
188
+ class: ["ui-Checkbox", a(n)],
189
+ "data-accent-color": o.color
186
190
  }), {
187
- default: l(() => [
188
- p(a(ye), {
191
+ default: r(() => [
192
+ f(a(Ce), {
189
193
  class: "ui-CheckboxIndicator",
190
194
  "as-child": ""
191
195
  }, {
192
- default: l(() => [
193
- a(i).checked !== !1 ? (d(), b("svg", st, [
194
- a(i).checked === "indeterminate" ? (d(), b("path", it)) : (d(), b("path", lt))
195
- ])) : T("", !0)
196
+ default: r(() => [
197
+ a(l).checked !== !1 ? (i(), b("svg", it, [
198
+ a(l).checked === "indeterminate" ? (i(), b("path", dt)) : (i(), b("path", ct))
199
+ ])) : V("", !0)
196
200
  ]),
197
201
  _: 1
198
202
  })
199
203
  ]),
200
204
  _: 1
201
- }, 16, ["data-variant", "data-size", "data-accent-color", "data-high-contrast"]));
205
+ }, 16, ["class", "data-accent-color"]));
202
206
  }
203
- }), [se, nt] = j("ui_CheckboxGroupRoot"), Qt = /* @__PURE__ */ u({
207
+ }), [de, ut] = U("ui_CheckboxGroupRoot"), Yt = /* @__PURE__ */ u({
204
208
  __name: "CheckboxGroupRoot",
205
209
  props: {
206
210
  modelValue: {},
@@ -212,48 +216,47 @@ const st = {
212
216
  },
213
217
  emits: ["update:modelValue"],
214
218
  setup(s, { emit: e }) {
215
- const t = s, o = e, { disabled: i, name: n } = W(t), r = L([]), c = R(t, "modelValue", o, {
219
+ const t = s, o = e, { disabled: l, name: n } = E(t), d = q([]), c = P(t, "modelValue", o, {
216
220
  defaultValue: t.defaultValue,
217
221
  passive: t.modelValue === void 0
218
- }), g = z(() => c.value || []), v = z(() => {
219
- var m, y;
220
- return r.value.length ? ((m = c.value) == null ? void 0 : m.length) === r.value.length ? !0 : (y = c.value) != null && y.length ? "indeterminate" : !1 : !1;
221
- }), S = (m) => {
222
- var x, E;
223
- const y = (x = c.value) == null ? void 0 : x.indexOf(m);
224
- y !== -1 && y !== void 0 && ((E = c.value) == null || E.splice(y, 1));
222
+ }), m = _(() => c.value || []), C = _(() => {
223
+ var v, y;
224
+ return d.value.length ? ((v = c.value) == null ? void 0 : v.length) === d.value.length ? !0 : (y = c.value) != null && y.length ? "indeterminate" : !1 : !1;
225
+ }), $ = (v) => {
226
+ var A, K;
227
+ const y = (A = c.value) == null ? void 0 : A.indexOf(v);
228
+ y !== -1 && y !== void 0 && ((K = c.value) == null || K.splice(y, 1));
225
229
  };
226
- return nt({
227
- selected: g,
228
- checked: v,
229
- addModelValue: (m) => {
230
- var y, x;
231
- ((y = c.value) == null ? void 0 : y.indexOf(m)) === -1 && ((x = c.value) == null || x.push(m));
230
+ return ut({
231
+ selected: m,
232
+ checked: C,
233
+ addModelValue: (v) => {
234
+ var y, A;
235
+ ((y = c.value) == null ? void 0 : y.indexOf(v)) === -1 && ((A = c.value) == null || A.push(v));
232
236
  },
233
- removeModelValue: S,
234
- toggleModelValue: (m) => {
235
- m ? c.value = [...r.value] : c.value = [];
237
+ removeModelValue: $,
238
+ toggleModelValue: (v) => {
239
+ v ? c.value = [...d.value] : c.value = [];
236
240
  },
237
- initAllValue: (m) => {
238
- r.value.push(m);
241
+ initAllValue: (v) => {
242
+ d.value.push(v);
239
243
  },
240
- removeAllValue: (m) => {
241
- r.value.splice(r.value.indexOf(m), 1), S(m);
244
+ removeAllValue: (v) => {
245
+ d.value.splice(d.value.indexOf(v), 1), $(v);
242
246
  },
243
- disabled: i,
247
+ disabled: l,
244
248
  name: n == null ? void 0 : n.value
245
- }), (m, y) => (d(), h(a(k), {
249
+ }), (v, y) => (i(), p(a(D), {
246
250
  as: t.as,
247
251
  "as-child": t.asChild
248
252
  }, {
249
- default: l(() => [
250
- f(m.$slots, "default")
253
+ default: r(() => [
254
+ h(v.$slots, "default")
251
255
  ]),
252
256
  _: 3
253
257
  }, 8, ["as", "as-child"]));
254
258
  }
255
- }), Xt = /* @__PURE__ */ u({
256
- inheritAttrs: !1,
259
+ }), ea = /* @__PURE__ */ u({
257
260
  __name: "CheckboxGroupItem",
258
261
  props: {
259
262
  value: {},
@@ -261,72 +264,69 @@ const st = {
261
264
  variant: {},
262
265
  size: {},
263
266
  highContrast: { type: Boolean },
264
- defaultChecked: { type: Boolean },
265
- checked: { type: [Boolean, String] },
267
+ defaultValue: { type: [Boolean, String] },
268
+ modelValue: { type: [Boolean, String] },
266
269
  disabled: { type: Boolean },
267
- required: { type: Boolean },
268
- name: {},
269
270
  id: {},
270
271
  asChild: { type: Boolean },
271
- as: {}
272
+ as: {},
273
+ name: {},
274
+ required: { type: Boolean }
272
275
  },
273
276
  setup(s) {
274
- const e = s, t = $(e);
275
- B();
276
- const o = se(), i = z(() => {
277
+ const e = s, t = z(e);
278
+ x();
279
+ const o = de(), l = _(() => {
277
280
  var c;
278
281
  return ((c = o.disabled) == null ? void 0 : c.value) || e.disabled;
279
- }), n = z(() => o.selected.value.indexOf(e.value) !== -1), r = (c) => {
282
+ }), n = _(() => o.selected.value.indexOf(e.value) !== -1), d = (c) => {
280
283
  c ? o.addModelValue(e.value) : o.removeModelValue(e.value);
281
284
  };
282
- return N(() => {
285
+ return X(() => {
283
286
  o.initAllValue(e.value);
284
- }), Q(() => {
287
+ }), Y(() => {
285
288
  o.removeAllValue(e.value);
286
- }), (c, g) => (d(), h(oe, _({
287
- ...c.$attrs,
289
+ }), (c, m) => (i(), p(ie, g({
288
290
  ...a(t),
289
291
  name: e.name || a(o).name,
290
292
  checked: n.value,
291
- disabled: i.value
292
- }, { "onUpdate:checked": r }), null, 16));
293
+ disabled: l.value
294
+ }, { "onUpdate:checked": d }), null, 16));
293
295
  }
294
- }), Jt = /* @__PURE__ */ u({
295
- inheritAttrs: !1,
296
+ }), ta = /* @__PURE__ */ u({
296
297
  __name: "CheckboxGroupControl",
297
298
  props: {
298
299
  color: {},
299
300
  variant: {},
300
301
  size: {},
301
302
  highContrast: { type: Boolean },
302
- defaultChecked: { type: Boolean },
303
- checked: { type: [Boolean, String] },
303
+ defaultValue: { type: [Boolean, String] },
304
+ modelValue: { type: [Boolean, String] },
304
305
  disabled: { type: Boolean },
305
- required: { type: Boolean },
306
- name: {},
307
306
  value: {},
308
307
  id: {},
309
308
  asChild: { type: Boolean },
310
- as: {}
309
+ as: {},
310
+ name: {},
311
+ required: { type: Boolean }
311
312
  },
312
313
  setup(s) {
313
- const e = s, t = $(e);
314
- B();
315
- const o = se(), i = z(() => {
316
- var r;
317
- return ((r = o.disabled) == null ? void 0 : r.value) || e.disabled;
318
- }), n = z(() => o.checked.value);
319
- return (r, c) => (d(), h(oe, _({
320
- ...r.$attrs,
314
+ const e = s, t = z(e);
315
+ x();
316
+ const o = de(), l = _(() => {
317
+ var d;
318
+ return ((d = o.disabled) == null ? void 0 : d.value) || e.disabled;
319
+ }), n = _(() => o.checked.value);
320
+ return (d, c) => (i(), p(ie, g({
321
321
  ...a(t),
322
322
  name: e.name || a(o).name,
323
323
  checked: n.value,
324
- disabled: i.value
324
+ disabled: l.value
325
325
  }, {
326
326
  "onUpdate:checked": a(o).toggleModelValue
327
327
  }), null, 16, ["onUpdate:checked"]));
328
328
  }
329
- }), rt = /* @__PURE__ */ u({
329
+ }), pt = /* @__PURE__ */ u({
330
330
  __name: "Card",
331
331
  props: {
332
332
  variant: { default: "surface" },
@@ -336,22 +336,20 @@ const st = {
336
336
  as: { default: "div" }
337
337
  },
338
338
  setup(s) {
339
- const e = s;
340
- return (t, o) => (d(), h(a(k), {
341
- class: "ui-Card",
339
+ const e = s, t = _(() => S(e, ["size", "variant"]));
340
+ return (o, l) => (i(), p(a(D), {
341
+ class: w(["ui-Card", t.value]),
342
342
  "as-child": e.asChild,
343
343
  as: e.as,
344
- "data-variant": e.variant,
345
- "data-radius": e.radius,
346
- "data-size": e.size
344
+ "data-radius": e.radius
347
345
  }, {
348
- default: l(() => [
349
- f(t.$slots, "default")
346
+ default: r(() => [
347
+ h(o.$slots, "default")
350
348
  ]),
351
349
  _: 3
352
- }, 8, ["as-child", "as", "data-variant", "data-radius", "data-size"]));
350
+ }, 8, ["class", "as-child", "as", "data-radius"]));
353
351
  }
354
- }), Yt = /* @__PURE__ */ u({
352
+ }), aa = /* @__PURE__ */ u({
355
353
  __name: "CardHead",
356
354
  props: {
357
355
  color: {},
@@ -360,18 +358,18 @@ const st = {
360
358
  },
361
359
  setup(s) {
362
360
  const e = s;
363
- return (t, o) => (d(), h(a(k), {
361
+ return (t, o) => (i(), p(a(D), {
364
362
  as: e.as,
365
363
  class: "ui-CardHead",
366
364
  "data-accent-color": e.color
367
365
  }, {
368
- default: l(() => [
369
- f(t.$slots, "default")
366
+ default: r(() => [
367
+ h(t.$slots, "default")
370
368
  ]),
371
369
  _: 3
372
370
  }, 8, ["as", "data-accent-color"]));
373
371
  }
374
- }), dt = ["data-accent-color", "data-variant", "data-size"], ct = ["id"], Zt = /* @__PURE__ */ u({
372
+ }), ft = ["data-accent-color"], ht = ["id"], oa = /* @__PURE__ */ u({
375
373
  __name: "ColorField",
376
374
  props: {
377
375
  id: {},
@@ -383,35 +381,34 @@ const st = {
383
381
  },
384
382
  emits: ["update:modelValue"],
385
383
  setup(s, { emit: e }) {
386
- const t = s, i = R(t, "modelValue", e, {
384
+ const t = s, l = P(t, "modelValue", e, {
387
385
  defaultValue: t.modelValue || "#000000",
388
386
  passive: t.modelValue === void 0
389
- });
390
- return (n, r) => (d(), b("div", {
391
- class: "ui-TextField ui-ColorField",
392
- "data-accent-color": t.color,
393
- "data-variant": t.variant,
394
- "data-size": t.size
387
+ }), n = _(() => S(t, ["size", "variant"]));
388
+ return (d, c) => (i(), b("div", {
389
+ class: w(["ui-TextField ui-ColorField", n.value]),
390
+ "data-accent-color": t.color
395
391
  }, [
396
- V(C("input", {
392
+ R(B("input", {
397
393
  id: t.id,
398
- "onUpdate:modelValue": r[0] || (r[0] = (c) => D(i) ? i.value = c : null),
394
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
399
395
  class: "ui-ColorFieldInput",
400
396
  type: "color"
401
- }, null, 8, ct), [
402
- [F, a(i)]
397
+ }, null, 8, ht), [
398
+ [L, a(l)]
403
399
  ]),
404
- V(C("input", {
405
- "onUpdate:modelValue": r[1] || (r[1] = (c) => D(i) ? i.value = c : null),
400
+ R(B("input", {
401
+ "onUpdate:modelValue": c[1] || (c[1] = (m) => I(l) ? l.value = m : null),
406
402
  class: "ui-TextFieldInput",
407
403
  type: "text",
408
404
  pattern: "^#[0-9a-f]{6}$"
409
405
  }, null, 512), [
410
- [F, a(i)]
406
+ [L, a(l)]
411
407
  ])
412
- ], 8, dt));
408
+ ], 10, ft));
413
409
  }
414
- }), ut = { class: "ui-DialogScroll" }, pt = ["data-align"], ea = /* @__PURE__ */ u({
410
+ }), mt = { class: "ui-DialogScroll" }, _t = ["data-align"], sa = /* @__PURE__ */ u({
411
+ inheritAttrs: !1,
415
412
  __name: "AlertDialogContent",
416
413
  props: {
417
414
  to: {},
@@ -432,7 +429,7 @@ const st = {
432
429
  },
433
430
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
434
431
  setup(s, { emit: e }) {
435
- const t = s, i = w(t, e, [
432
+ const t = s, l = T(t, e, [
436
433
  "to",
437
434
  "align",
438
435
  "class",
@@ -444,23 +441,23 @@ const st = {
444
441
  "minHeight",
445
442
  "maxHeight"
446
443
  ]);
447
- return (n, r) => (d(), h(a(Ce), {
444
+ return (n, d) => (i(), p(a(be), {
448
445
  to: t.to
449
446
  }, {
450
- default: l(() => [
451
- p(a(be), { class: "ui-DialogOverlay" }, {
452
- default: l(() => [
453
- C("div", ut, [
454
- C("div", {
447
+ default: r(() => [
448
+ f(a(Be), { class: "ui-DialogOverlay" }, {
449
+ default: r(() => [
450
+ B("div", mt, [
451
+ B("div", {
455
452
  class: "ui-DialogScrollPadding",
456
453
  "data-align": t.align
457
454
  }, [
458
- p(a(ze), _({
455
+ f(a($e), g({
459
456
  class: ["ui-DialogContent", t.class],
460
457
  "data-size": t.size
461
458
  }, {
462
459
  ...n.$attrs,
463
- ...a(i)
460
+ ...a(l)
464
461
  }, {
465
462
  style: {
466
463
  width: t.width,
@@ -471,12 +468,12 @@ const st = {
471
468
  maxHeight: t.maxHeight
472
469
  }
473
470
  }), {
474
- default: l(() => [
475
- f(n.$slots, "default")
471
+ default: r(() => [
472
+ h(n.$slots, "default")
476
473
  ]),
477
474
  _: 3
478
475
  }, 16, ["class", "data-size", "style"])
479
- ], 8, pt)
476
+ ], 8, _t)
480
477
  ])
481
478
  ]),
482
479
  _: 3
@@ -485,7 +482,7 @@ const st = {
485
482
  _: 3
486
483
  }, 8, ["to"]));
487
484
  }
488
- }), ht = { class: "ui-DialogScroll" }, ft = ["data-align"], ta = /* @__PURE__ */ u({
485
+ }), gt = { class: "ui-DialogScroll" }, vt = ["data-align"], la = /* @__PURE__ */ u({
489
486
  inheritAttrs: !1,
490
487
  __name: "DialogContent",
491
488
  props: {
@@ -507,7 +504,7 @@ const st = {
507
504
  },
508
505
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
509
506
  setup(s, { emit: e }) {
510
- const t = s, i = w(t, e, [
507
+ const t = s, l = T(t, e, [
511
508
  "to",
512
509
  "align",
513
510
  "class",
@@ -519,23 +516,23 @@ const st = {
519
516
  "minHeight",
520
517
  "maxHeight"
521
518
  ]);
522
- return (n, r) => (d(), h(a(Be), {
519
+ return (n, d) => (i(), p(a(we), {
523
520
  to: t.to
524
521
  }, {
525
- default: l(() => [
526
- p(a($e), { class: "ui-DialogOverlay" }, {
527
- default: l(() => [
528
- C("div", ht, [
529
- C("div", {
522
+ default: r(() => [
523
+ f(a(ze), { class: "ui-DialogOverlay" }, {
524
+ default: r(() => [
525
+ B("div", gt, [
526
+ B("div", {
530
527
  class: "ui-DialogScrollPadding",
531
528
  "data-align": t.align
532
529
  }, [
533
- p(a(we), _({
530
+ f(a(Se), g({
534
531
  class: ["ui-DialogContent", t.class],
535
532
  "data-size": t.size
536
533
  }, {
537
534
  ...n.$attrs,
538
- ...a(i)
535
+ ...a(l)
539
536
  }, {
540
537
  style: {
541
538
  width: t.width,
@@ -546,12 +543,12 @@ const st = {
546
543
  maxHeight: t.maxHeight
547
544
  }
548
545
  }), {
549
- default: l(() => [
550
- f(n.$slots, "default")
546
+ default: r(() => [
547
+ h(n.$slots, "default")
551
548
  ]),
552
549
  _: 3
553
550
  }, 16, ["class", "data-size", "style"])
554
- ], 8, ft)
551
+ ], 8, vt)
555
552
  ])
556
553
  ]),
557
554
  _: 3
@@ -560,7 +557,7 @@ const st = {
560
557
  _: 3
561
558
  }, 8, ["to"]));
562
559
  }
563
- }), mt = ["data-side", "data-clip"], _t = /* @__PURE__ */ u({
560
+ }), yt = ["data-side", "data-clip"], Ct = /* @__PURE__ */ u({
564
561
  __name: "Inset",
565
562
  props: {
566
563
  side: { default: "all" },
@@ -568,41 +565,41 @@ const st = {
568
565
  },
569
566
  setup(s) {
570
567
  const e = s;
571
- return (t, o) => (d(), b("div", {
568
+ return (t, o) => (i(), b("div", {
572
569
  class: "ui-Inset",
573
570
  "data-side": e.side,
574
571
  "data-clip": e.clip
575
572
  }, [
576
- f(t.$slots, "default")
577
- ], 8, mt));
573
+ h(t.$slots, "default")
574
+ ], 8, yt));
578
575
  }
579
- }), aa = /* @__PURE__ */ u({
576
+ }), na = /* @__PURE__ */ u({
580
577
  __name: "DialogHead",
581
578
  props: {
582
579
  title: {}
583
580
  },
584
581
  setup(s) {
585
582
  const e = s;
586
- return (t, o) => (d(), h(_t, {
583
+ return (t, o) => (i(), p(Ct, {
587
584
  class: "ui-DialogHead",
588
585
  side: "x"
589
586
  }, {
590
- default: l(() => [
591
- p(a(Se), { class: "font-semibold" }, {
592
- default: l(() => [
593
- K(O(e.title), 1)
587
+ default: r(() => [
588
+ f(a(xe), { class: "font-semibold" }, {
589
+ default: r(() => [
590
+ J(G(e.title), 1)
594
591
  ]),
595
592
  _: 1
596
593
  }),
597
- p(ae, {
598
- as: a(Te),
594
+ f(re, {
595
+ as: a(Ve),
599
596
  variant: "ghost",
600
597
  color: "gray",
601
598
  radius: "full",
602
599
  style: { "--button-ghost-padding-x": "var(--space-1)" }
603
600
  }, {
604
- default: l(() => [
605
- p(a(A), { icon: "lucide:x" })
601
+ default: r(() => [
602
+ f(a(k), { icon: "lucide:x" })
606
603
  ]),
607
604
  _: 1
608
605
  }, 8, ["as"])
@@ -610,7 +607,7 @@ const st = {
610
607
  _: 1
611
608
  }));
612
609
  }
613
- }), oa = /* @__PURE__ */ u({
610
+ }), ra = /* @__PURE__ */ u({
614
611
  inheritAttrs: !1,
615
612
  __name: "PopoverContent",
616
613
  props: {
@@ -628,25 +625,28 @@ const st = {
628
625
  arrowPadding: {},
629
626
  sticky: {},
630
627
  hideWhenDetached: { type: Boolean },
628
+ positionStrategy: {},
631
629
  updatePositionStrategy: {},
630
+ disableUpdateOnLayoutShift: { type: Boolean },
632
631
  prioritizePosition: { type: Boolean },
632
+ reference: {},
633
633
  asChild: { type: Boolean },
634
634
  as: {},
635
635
  disableOutsidePointerEvents: { type: Boolean }
636
636
  },
637
637
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
638
638
  setup(s, { emit: e }) {
639
- const t = s, i = w(t, e, ["to", "size"]);
640
- return (n, r) => (d(), h(a(ke), {
639
+ const t = s, l = T(t, e, ["to", "size"]);
640
+ return (n, d) => (i(), p(a(Te), {
641
641
  to: t.to
642
642
  }, {
643
- default: l(() => [
644
- p(a(Ae), _({ ...n.$attrs, ...a(i) }, {
643
+ default: r(() => [
644
+ f(a(De), g({ ...n.$attrs, ...a(l) }, {
645
645
  "data-size": t.size,
646
646
  class: "ui-PopoverContent"
647
647
  }), {
648
- default: l(() => [
649
- f(n.$slots, "default")
648
+ default: r(() => [
649
+ h(n.$slots, "default")
650
650
  ]),
651
651
  _: 3
652
652
  }, 16, ["data-size"])
@@ -654,7 +654,7 @@ const st = {
654
654
  _: 3
655
655
  }, 8, ["to"]));
656
656
  }
657
- }), ie = /* @__PURE__ */ u({
657
+ }), ce = /* @__PURE__ */ u({
658
658
  __name: "ScrollArea",
659
659
  props: {
660
660
  size: { default: "1" },
@@ -668,7 +668,7 @@ const st = {
668
668
  },
669
669
  setup(s) {
670
670
  const e = s;
671
- return (t, o) => (d(), h(a(Y), {
671
+ return (t, o) => (i(), p(a(ae), {
672
672
  class: "ui-ScrollArea",
673
673
  "as-child": e.asChild,
674
674
  dir: e.dir,
@@ -676,45 +676,45 @@ const st = {
676
676
  type: e.type,
677
677
  "data-radius": e.radius
678
678
  }, {
679
- default: l(() => [
680
- p(a(Z), { class: "ui-ScrollAreaViewport" }, {
681
- default: l(() => [
682
- f(t.$slots, "default")
679
+ default: r(() => [
680
+ f(a(oe), { class: "ui-ScrollAreaViewport" }, {
681
+ default: r(() => [
682
+ h(t.$slots, "default")
683
683
  ]),
684
684
  _: 3
685
685
  }),
686
- o[0] || (o[0] = C("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
687
- e.scrollbars !== "horizontal" ? (d(), h(a(H), {
686
+ o[0] || (o[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
687
+ e.scrollbars !== "horizontal" ? (i(), p(a(W), {
688
688
  key: 0,
689
689
  class: "ui-ScrollAreaScrollbar",
690
690
  "data-size": e.size,
691
691
  orientation: "vertical"
692
692
  }, {
693
- default: l(() => [
694
- p(a(G), { class: "ui-ScrollAreaThumb" })
693
+ default: r(() => [
694
+ f(a(j), { class: "ui-ScrollAreaThumb" })
695
695
  ]),
696
696
  _: 1
697
- }, 8, ["data-size"])) : T("", !0),
698
- e.scrollbars !== "vertical" ? (d(), h(a(H), {
697
+ }, 8, ["data-size"])) : V("", !0),
698
+ e.scrollbars !== "vertical" ? (i(), p(a(W), {
699
699
  key: 1,
700
700
  class: "ui-ScrollAreaScrollbar",
701
701
  "data-size": e.size,
702
702
  orientation: "horizontal"
703
703
  }, {
704
- default: l(() => [
705
- p(a(G), { class: "ui-ScrollAreaThumb" })
704
+ default: r(() => [
705
+ f(a(j), { class: "ui-ScrollAreaThumb" })
706
706
  ]),
707
707
  _: 1
708
- }, 8, ["data-size"])) : T("", !0),
709
- e.scrollbars === "both" ? (d(), h(a(xe), {
708
+ }, 8, ["data-size"])) : V("", !0),
709
+ e.scrollbars === "both" ? (i(), p(a(ke), {
710
710
  key: 2,
711
711
  "class-name": "ui-ScrollAreaCorner"
712
- })) : T("", !0)
712
+ })) : V("", !0)
713
713
  ]),
714
714
  _: 3
715
715
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
716
716
  }
717
- }), vt = { class: "ui-MenuViewport" }, [gt, yt] = j("ui_DropdownMenuContent"), sa = /* @__PURE__ */ u({
717
+ }), bt = { class: "ui-MenuViewport" }, [Bt, $t] = U("ui_DropdownMenuContent"), ia = /* @__PURE__ */ u({
718
718
  inheritAttrs: !1,
719
719
  __name: "DropdownMenuContent",
720
720
  props: {
@@ -735,38 +735,41 @@ const st = {
735
735
  arrowPadding: {},
736
736
  sticky: {},
737
737
  hideWhenDetached: { type: Boolean },
738
+ positionStrategy: {},
738
739
  updatePositionStrategy: {},
740
+ disableUpdateOnLayoutShift: { type: Boolean },
739
741
  prioritizePosition: { type: Boolean },
742
+ reference: {},
740
743
  asChild: { type: Boolean },
741
744
  as: {}
742
745
  },
743
746
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
744
747
  setup(s, { emit: e }) {
745
- const t = s, i = w(t, e, [
748
+ const t = s, l = T(t, e, [
746
749
  "to",
747
750
  "size",
748
751
  "variant",
749
752
  "color",
750
753
  "highContrast"
751
- ]), { forwardRef: n } = B(), { size: r, variant: c, color: g, highContrast: v } = W(t);
752
- return yt({ size: r, variant: c, color: g, highContrast: v }), (S, m) => (d(), h(a(Ve), {
754
+ ]), { forwardRef: n } = x(), { size: d, variant: c, color: m, highContrast: C } = E(t);
755
+ return $t({ size: d, variant: c, color: m, highContrast: C }), ($, v) => (i(), p(a(Ae), {
753
756
  to: t.to
754
757
  }, {
755
- default: l(() => [
756
- p(a(De), _({
757
- ...S.$attrs,
758
- ...a(i)
758
+ default: r(() => [
759
+ f(a(Re), g({
760
+ ...$.$attrs,
761
+ ...a(l)
759
762
  }, {
760
763
  ref: a(n),
761
764
  class: "ui-PopperContent ui-MenuContent",
762
765
  "data-accent-color": t.color,
763
766
  "data-size": t.size
764
767
  }), {
765
- default: l(() => [
766
- p(ie, { type: "auto" }, {
767
- default: l(() => [
768
- C("div", vt, [
769
- f(S.$slots, "default")
768
+ default: r(() => [
769
+ f(ce, { type: "auto" }, {
770
+ default: r(() => [
771
+ B("div", bt, [
772
+ h($.$slots, "default")
770
773
  ])
771
774
  ]),
772
775
  _: 3
@@ -778,8 +781,7 @@ const st = {
778
781
  _: 3
779
782
  }, 8, ["to"]));
780
783
  }
781
- }), Ct = ["textContent"], ia = /* @__PURE__ */ u({
782
- inheritAttrs: !1,
784
+ }), wt = ["textContent"], da = /* @__PURE__ */ u({
783
785
  __name: "DropdownMenuItem",
784
786
  props: {
785
787
  color: {},
@@ -791,31 +793,31 @@ const st = {
791
793
  },
792
794
  emits: ["select"],
793
795
  setup(s, { emit: e }) {
794
- const t = s, i = w(t, e, ["color", "shortcut"]);
795
- B();
796
- const n = gt();
797
- return (r, c) => {
798
- var g;
799
- return d(), h(a(Re), _({
796
+ const t = s, l = T(t, e, ["color", "shortcut"]);
797
+ x();
798
+ const n = Bt();
799
+ return (d, c) => {
800
+ var m;
801
+ return i(), p(a(Ie), g({
800
802
  class: "ui-MenuItem",
801
803
  "data-accent-color": t.color,
802
804
  "data-size": a(n).size.value,
803
805
  "data-variant": a(n).variant.value,
804
- "data-high-contrast": ((g = a(n).highContrast) == null ? void 0 : g.value) || void 0
805
- }, { ...r.$attrs, ...a(i) }), {
806
- default: l(() => [
807
- f(r.$slots, "default"),
808
- t.shortcut ? (d(), b("div", {
806
+ "data-high-contrast": ((m = a(n).highContrast) == null ? void 0 : m.value) || void 0
807
+ }, a(l)), {
808
+ default: r(() => [
809
+ h(d.$slots, "default"),
810
+ t.shortcut ? (i(), b("div", {
809
811
  key: 0,
810
812
  class: "ui-MenuShortcut",
811
- textContent: O(t.shortcut)
812
- }, null, 8, Ct)) : T("", !0)
813
+ textContent: G(t.shortcut)
814
+ }, null, 8, wt)) : V("", !0)
813
815
  ]),
814
816
  _: 3
815
817
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
816
818
  };
817
819
  }
818
- }), la = /* @__PURE__ */ u({
820
+ }), ca = /* @__PURE__ */ u({
819
821
  __name: "Separator",
820
822
  props: {
821
823
  as: { default: "span" },
@@ -825,41 +827,39 @@ const st = {
825
827
  },
826
828
  setup(s) {
827
829
  const e = s;
828
- return (t, o) => (d(), h(a(k), {
830
+ return (t, o) => (i(), p(a(D), {
829
831
  as: e.as,
830
- class: "ui-Separator",
832
+ class: w(["ui-Separator", `r-size-${e.size}`]),
831
833
  role: "separator",
832
834
  "data-accent-color": e.color,
833
- "data-size": e.size,
834
835
  "aria-orientation": e.orientation
835
- }, null, 8, ["as", "data-accent-color", "data-size", "aria-orientation"]));
836
+ }, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
836
837
  }
837
- }), bt = /* @__PURE__ */ u({
838
+ }), zt = /* @__PURE__ */ u({
838
839
  __name: "Spinner",
839
840
  setup(s) {
840
- return (e, t) => (d(), h(a(A), {
841
+ return (e, t) => (i(), p(a(k), {
841
842
  class: "ui-Spinner",
842
843
  icon: "lucide:loader-circle"
843
844
  }));
844
845
  }
845
- }), na = /* @__PURE__ */ u({
846
+ }), ua = /* @__PURE__ */ u({
846
847
  __name: "SavingIndicator",
847
848
  props: {
848
849
  status: {}
849
850
  },
850
851
  setup(s) {
851
852
  const e = s;
852
- return (t, o) => e.status === "saving" ? (d(), h(bt, {
853
+ return (t, o) => e.status === "saving" ? (i(), p(zt, {
853
854
  key: 0,
854
855
  class: "ui-SavingIndicator _saving"
855
- })) : e.status === "saved" ? (d(), h(a(A), {
856
+ })) : e.status === "saved" ? (i(), p(a(k), {
856
857
  key: 1,
857
858
  class: "ui-SavingIndicator _saved",
858
859
  icon: "lucide:check-circle-2"
859
- })) : T("", !0);
860
+ })) : V("", !0);
860
861
  }
861
- }), ra = /* @__PURE__ */ u({
862
- inheritAttrs: !1,
862
+ }), pa = /* @__PURE__ */ u({
863
863
  __name: "Switch",
864
864
  props: {
865
865
  color: {},
@@ -867,44 +867,37 @@ const st = {
867
867
  size: { default: "2" },
868
868
  highContrast: { type: Boolean },
869
869
  radius: {},
870
- defaultChecked: { type: Boolean },
871
- checked: { type: Boolean },
870
+ defaultValue: { type: Boolean },
871
+ modelValue: { type: Boolean },
872
872
  disabled: { type: Boolean },
873
- required: { type: Boolean },
874
- name: {},
875
873
  id: {},
876
874
  value: {},
877
875
  asChild: { type: Boolean },
878
- as: {}
876
+ as: {},
877
+ name: {},
878
+ required: { type: Boolean }
879
879
  },
880
- emits: ["update:checked"],
880
+ emits: ["update:modelValue"],
881
881
  setup(s, { emit: e }) {
882
- const t = e, o = s, i = w(o, t, [
882
+ const t = e, o = s, [l, n] = O(o, t, [
883
883
  "color",
884
884
  "size",
885
885
  "variant",
886
886
  "highContrast",
887
887
  "radius"
888
888
  ]);
889
- return (n, r) => (d(), h(a(Pe), _({
890
- ...n.$attrs,
891
- ...a(i)
892
- }, {
893
- class: "ui-Switch",
894
- "data-variant": o.variant,
895
- "data-size": o.size,
889
+ return (d, c) => (i(), p(a(Pe), g(a(l), {
890
+ class: ["ui-Switch", a(n)],
896
891
  "data-accent-color": o.color,
897
- "data-radius": o.radius,
898
- "data-high-contrast": o.highContrast
892
+ "data-radius": o.radius
899
893
  }), {
900
- default: l(() => [
901
- p(a(Ie), { class: "ui-SwitchThumb" })
894
+ default: r(() => [
895
+ f(a(Oe), { class: "ui-SwitchThumb" })
902
896
  ]),
903
897
  _: 1
904
- }, 16, ["data-variant", "data-size", "data-accent-color", "data-radius", "data-high-contrast"]));
898
+ }, 16, ["class", "data-accent-color", "data-radius"]));
905
899
  }
906
- }), zt = ["data-accent-color", "data-variant", "data-size", "data-high-contrast"], da = /* @__PURE__ */ u({
907
- inheritAttrs: !1,
900
+ }), St = ["data-accent-color"], fa = /* @__PURE__ */ u({
908
901
  __name: "Radio",
909
902
  props: {
910
903
  modelValue: {},
@@ -915,25 +908,20 @@ const st = {
915
908
  },
916
909
  emits: ["update:modelValue"],
917
910
  setup(s, { emit: e }) {
918
- const t = s, i = R(t, "modelValue", e, {
911
+ const t = s, l = P(t, "modelValue", e, {
919
912
  defaultValue: t.modelValue,
920
913
  passive: t.modelValue === void 0
921
- });
922
- return (n, r) => V((d(), b("input", _({
923
- "onUpdate:modelValue": r[0] || (r[0] = (c) => D(i) ? i.value = c : null),
924
- class: "ui-Radio",
925
- type: "radio"
926
- }, n.$attrs, {
927
- "data-accent-color": t.color,
928
- "data-variant": t.variant,
929
- "data-size": t.size,
930
- "data-high-contrast": t.highContrast
931
- }), null, 16, zt)), [
932
- [re, a(i)]
914
+ }), n = _(() => S(t, ["size", "variant", "highContrast"]));
915
+ return (d, c) => R((i(), b("input", {
916
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null),
917
+ class: w(["ui-Radio", n.value]),
918
+ type: "radio",
919
+ "data-accent-color": t.color
920
+ }, null, 10, St)), [
921
+ [pe, a(l)]
933
922
  ]);
934
923
  }
935
- }), [le, Bt] = j("ui_RadioGroupRoot"), ca = /* @__PURE__ */ u({
936
- inheritAttrs: !1,
924
+ }), [ue, xt] = U("ui_RadioGroupRoot"), ha = /* @__PURE__ */ u({
937
925
  __name: "RadioGroupRoot",
938
926
  props: {
939
927
  color: {},
@@ -943,90 +931,85 @@ const st = {
943
931
  modelValue: {},
944
932
  defaultValue: {},
945
933
  disabled: { type: Boolean },
946
- name: {},
947
- required: { type: Boolean },
948
934
  orientation: {},
949
935
  dir: {},
950
936
  loop: { type: Boolean },
951
937
  asChild: { type: Boolean },
952
- as: {}
938
+ as: {},
939
+ name: {},
940
+ required: { type: Boolean }
953
941
  },
954
942
  emits: ["update:modelValue"],
955
943
  setup(s, { emit: e }) {
956
- const t = e, o = s, i = w(o, t, ["color", "size", "variant", "highContrast"]), { size: n, variant: r, color: c, highContrast: g } = W(o);
957
- return Bt({ size: n, variant: r, color: c, highContrast: g }), (v, S) => (d(), h(a(ee), de(ce({
958
- ...v.$attrs,
959
- ...a(i)
960
- })), {
961
- default: l(() => [
962
- f(v.$slots, "default")
944
+ const t = e, o = s, l = T(o, t, ["color", "size", "variant", "highContrast"]), { size: n, variant: d, color: c, highContrast: m } = E(o);
945
+ return xt({ size: n, variant: d, color: c, highContrast: m }), (C, $) => (i(), p(a(se), g({ class: "ui-RadioGroupRoot" }, a(l)), {
946
+ default: r(() => [
947
+ h(C.$slots, "default")
963
948
  ]),
964
949
  _: 3
965
950
  }, 16));
966
951
  }
967
- }), ua = /* @__PURE__ */ u({
968
- inheritAttrs: !1,
952
+ }), Vt = { class: "ui-RadioGroupItem" }, ma = /* @__PURE__ */ u({
969
953
  __name: "RadioGroupItem",
970
954
  props: {
971
955
  id: {},
972
956
  value: {},
973
957
  disabled: { type: Boolean },
974
- required: { type: Boolean },
975
- name: {},
976
958
  asChild: { type: Boolean },
977
- as: {}
959
+ as: {},
960
+ name: {},
961
+ required: { type: Boolean }
978
962
  },
979
963
  setup(s) {
980
- const t = $(s);
981
- B();
982
- const o = le();
983
- return (i, n) => {
984
- var r, c;
985
- return d(), h(a(te), _({
986
- class: "ui-Radio",
987
- "data-accent-color": (r = a(o).color) == null ? void 0 : r.value,
988
- "data-size": a(o).size.value,
989
- "data-variant": a(o).variant.value,
990
- "data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
991
- }, { ...i.$attrs, ...a(t) }), {
992
- default: l(() => [
993
- f(i.$slots, "default")
994
- ]),
995
- _: 3
996
- }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
964
+ const t = z(s), o = ue(), l = _(() => {
965
+ var d;
966
+ const n = [
967
+ `r-size-${o.size.value}`,
968
+ `r-variant-${o.variant.value}`
969
+ ];
970
+ return (d = o.highContrast) != null && d.value && n.push("r-high-contrast"), n;
971
+ });
972
+ return (n, d) => {
973
+ var c;
974
+ return i(), b("label", Vt, [
975
+ f(a(le), g({
976
+ class: ["ui-Radio", l.value],
977
+ "data-accent-color": (c = a(o).color) == null ? void 0 : c.value
978
+ }, a(t)), null, 16, ["class", "data-accent-color"]),
979
+ h(n.$slots, "default")
980
+ ]);
997
981
  };
998
982
  }
999
- }), pa = /* @__PURE__ */ u({
1000
- inheritAttrs: !1,
983
+ }), _a = /* @__PURE__ */ u({
1001
984
  __name: "RadioCardsItem",
1002
985
  props: {
1003
986
  id: {},
1004
987
  value: {},
1005
988
  disabled: { type: Boolean },
1006
- required: { type: Boolean },
1007
- name: {},
1008
989
  asChild: { type: Boolean },
1009
- as: {}
990
+ as: {},
991
+ name: {},
992
+ required: { type: Boolean }
1010
993
  },
1011
994
  setup(s) {
1012
- const t = $(s);
1013
- B();
1014
- const o = le();
1015
- return (i, n) => {
1016
- var r, c;
1017
- return d(), h(a(te), _({
995
+ const t = z(s);
996
+ x();
997
+ const o = ue();
998
+ return (l, n) => {
999
+ var d, c;
1000
+ return i(), p(a(le), g({
1018
1001
  class: "ui-RadioCardsItem",
1019
- "data-accent-color": (r = a(o).color) == null ? void 0 : r.value,
1002
+ "data-accent-color": (d = a(o).color) == null ? void 0 : d.value,
1020
1003
  "data-size": a(o).size.value,
1021
1004
  "data-variant": a(o).variant.value,
1022
1005
  "data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
1023
- }, { ...i.$attrs, ...a(t), asChild: !1 }), {
1024
- default: l(() => [
1025
- p(rt, {
1006
+ }, { ...a(t), asChild: !1 }), {
1007
+ default: r(() => [
1008
+ f(pt, {
1026
1009
  "as-child": a(t).asChild
1027
1010
  }, {
1028
- default: l(() => [
1029
- f(i.$slots, "default")
1011
+ default: r(() => [
1012
+ h(l.$slots, "default")
1030
1013
  ]),
1031
1014
  _: 3
1032
1015
  }, 8, ["as-child"])
@@ -1035,15 +1018,15 @@ const st = {
1035
1018
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
1036
1019
  };
1037
1020
  }
1038
- }), $t = ["data-accent-color", "data-variant", "data-size"], wt = ["id", "type"], St = {
1021
+ }), Tt = ["data-accent-color"], Dt = ["id", "type"], kt = {
1039
1022
  key: 0,
1040
1023
  class: "ui-TextFieldSlot",
1041
1024
  "data-side": "left"
1042
- }, Tt = {
1025
+ }, At = {
1043
1026
  key: 1,
1044
1027
  class: "ui-TextFieldSlot",
1045
1028
  "data-side": "right"
1046
- }, ha = /* @__PURE__ */ u({
1029
+ }, ga = /* @__PURE__ */ u({
1047
1030
  inheritAttrs: !1,
1048
1031
  __name: "TextField",
1049
1032
  props: {
@@ -1058,44 +1041,45 @@ const st = {
1058
1041
  },
1059
1042
  emits: ["update:modelValue"],
1060
1043
  setup(s, { emit: e }) {
1061
- const t = s, o = L(), i = (c) => {
1062
- const g = c.target;
1063
- if (g.closest("input, button, a")) return;
1064
- const v = o.value;
1065
- if (!v) return;
1066
- const m = g.closest("[data-side=right]") ? v.value.length : 0;
1044
+ const t = s, o = q(), l = (m) => {
1045
+ const C = m.target;
1046
+ if (C.closest("input, button, a")) return;
1047
+ const $ = o.value;
1048
+ if (!$) return;
1049
+ const y = C.closest("[data-side=right]") ? $.value.length : 0;
1067
1050
  requestAnimationFrame(() => {
1068
- v.setSelectionRange(m, m), v.focus();
1051
+ $.setSelectionRange(y, y), $.focus();
1069
1052
  });
1070
- }, r = R(t, "modelValue", e, {
1053
+ }, d = P(t, "modelValue", e, {
1071
1054
  defaultValue: t.modelValue,
1072
1055
  passive: t.modelValue === void 0
1056
+ }), c = _(() => {
1057
+ const m = S(t, ["size", "variant"]);
1058
+ return t.class && m.push(t.class), m;
1073
1059
  });
1074
- return (c, g) => (d(), b("div", {
1075
- class: X(["ui-TextField", t.class]),
1060
+ return (m, C) => (i(), b("div", {
1061
+ class: w(["ui-TextField", c.value]),
1076
1062
  "data-accent-color": t.color,
1077
- "data-variant": t.variant,
1078
- "data-size": t.size,
1079
- onPointerdown: i
1063
+ onPointerdown: l
1080
1064
  }, [
1081
- V(C("input", _({
1065
+ R(B("input", g({
1082
1066
  id: t.id,
1083
1067
  ref_key: "inputRef",
1084
1068
  ref: o,
1085
- "onUpdate:modelValue": g[0] || (g[0] = (v) => D(r) ? r.value = v : null),
1069
+ "onUpdate:modelValue": C[0] || (C[0] = ($) => I(d) ? d.value = $ : null),
1086
1070
  type: t.type
1087
- }, c.$attrs, { class: "ui-TextFieldInput" }), null, 16, wt), [
1088
- [ue, a(r)]
1071
+ }, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Dt), [
1072
+ [fe, a(d)]
1089
1073
  ]),
1090
- c.$slots.left ? (d(), b("div", St, [
1091
- f(c.$slots, "left")
1092
- ])) : T("", !0),
1093
- c.$slots.right ? (d(), b("div", Tt, [
1094
- f(c.$slots, "right")
1095
- ])) : T("", !0)
1096
- ], 42, $t));
1074
+ m.$slots.left ? (i(), b("div", kt, [
1075
+ h(m.$slots, "left")
1076
+ ])) : V("", !0),
1077
+ m.$slots.right ? (i(), b("div", At, [
1078
+ h(m.$slots, "right")
1079
+ ])) : V("", !0)
1080
+ ], 42, Tt));
1097
1081
  }
1098
- }), kt = ["data-accent-color", "data-variant", "data-size", "data-resize"], fa = /* @__PURE__ */ u({
1082
+ }), Rt = ["data-accent-color"], va = /* @__PURE__ */ u({
1099
1083
  inheritAttrs: !1,
1100
1084
  __name: "TextArea",
1101
1085
  props: {
@@ -1109,26 +1093,25 @@ const st = {
1109
1093
  },
1110
1094
  emits: ["update:modelValue"],
1111
1095
  setup(s, { emit: e }) {
1112
- const t = s, i = R(t, "modelValue", e, {
1096
+ const t = s, l = P(t, "modelValue", e, {
1113
1097
  defaultValue: t.modelValue,
1114
1098
  passive: t.modelValue === void 0
1099
+ }), n = _(() => {
1100
+ const d = S(t, ["size", "variant", "resize"]);
1101
+ return t.class && d.push(t.class), d;
1115
1102
  });
1116
- return (n, r) => (d(), b("div", {
1117
- class: X(["ui-TextArea", t.class]),
1118
- "data-accent-color": t.color,
1119
- "data-variant": t.variant,
1120
- "data-size": t.size,
1121
- "data-resize": t.resize
1103
+ return (d, c) => (i(), b("div", {
1104
+ class: w(["ui-TextArea", n.value]),
1105
+ "data-accent-color": t.color
1122
1106
  }, [
1123
- V(C("textarea", _({
1124
- "onUpdate:modelValue": r[0] || (r[0] = (c) => D(i) ? i.value = c : null)
1125
- }, n.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1126
- [F, a(i)]
1107
+ R(B("textarea", g({
1108
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => I(l) ? l.value = m : null)
1109
+ }, d.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1110
+ [L, a(l)]
1127
1111
  ])
1128
- ], 10, kt));
1112
+ ], 10, Rt));
1129
1113
  }
1130
- }), ma = /* @__PURE__ */ u({
1131
- inheritAttrs: !1,
1114
+ }), ya = /* @__PURE__ */ u({
1132
1115
  __name: "SelectRoot",
1133
1116
  props: {
1134
1117
  size: { default: "2" },
@@ -1136,23 +1119,25 @@ const st = {
1136
1119
  defaultOpen: { type: Boolean },
1137
1120
  defaultValue: {},
1138
1121
  modelValue: {},
1122
+ by: {},
1139
1123
  dir: {},
1140
- name: {},
1124
+ multiple: { type: Boolean },
1141
1125
  autocomplete: {},
1142
1126
  disabled: { type: Boolean },
1127
+ name: {},
1143
1128
  required: { type: Boolean }
1144
1129
  },
1145
1130
  emits: ["update:modelValue", "update:open"],
1146
1131
  setup(s, { emit: e }) {
1147
- const t = s, i = w(t, e, ["size"]);
1148
- return pe("SelectRoot.size", z(() => t.size)), B(), (n, r) => (d(), h(a(Oe), _({ ...n.$attrs, ...a(i) }, { class: "ui-SelectItem" }), {
1149
- default: l(() => [
1150
- f(n.$slots, "default")
1132
+ const t = s, l = T(t, e, ["size"]);
1133
+ return he("SelectRoot.size", _(() => t.size)), x(), (n, d) => (i(), p(a(Fe), g(a(l), { class: "ui-SelectItem" }), {
1134
+ default: r(() => [
1135
+ h(n.$slots, "default")
1151
1136
  ]),
1152
1137
  _: 3
1153
1138
  }, 16));
1154
1139
  }
1155
- }), _a = /* @__PURE__ */ u({
1140
+ }), Ca = /* @__PURE__ */ u({
1156
1141
  inheritAttrs: !1,
1157
1142
  __name: "SelectContent",
1158
1143
  props: {
@@ -1172,54 +1157,57 @@ const st = {
1172
1157
  arrowPadding: {},
1173
1158
  sticky: {},
1174
1159
  hideWhenDetached: { type: Boolean },
1160
+ positionStrategy: {},
1175
1161
  updatePositionStrategy: {},
1162
+ disableUpdateOnLayoutShift: { type: Boolean },
1176
1163
  prioritizePosition: { type: Boolean },
1164
+ reference: {},
1177
1165
  asChild: { type: Boolean },
1178
1166
  as: {}
1179
1167
  },
1180
1168
  setup(s) {
1181
- const e = s, t = $(e), o = J("SelectRoot.size"), { forwardRef: i } = B();
1182
- return (n, r) => (d(), h(a(Me), null, {
1183
- default: l(() => [
1184
- p(a(Fe), _({
1169
+ const e = s, t = z(e), o = ee("SelectRoot.size"), { forwardRef: l } = x();
1170
+ return (n, d) => (i(), p(a(Me), null, {
1171
+ default: r(() => [
1172
+ f(a(Ge), g({
1185
1173
  ...n.$attrs,
1186
1174
  ...a(t),
1187
1175
  color: void 0,
1188
1176
  variant: void 0,
1189
1177
  highContrast: void 0
1190
1178
  }, {
1191
- ref: a(i),
1179
+ ref: a(l),
1192
1180
  class: ["ui-SelectContent", { "ui-PopperContent": e.position === "popper" }],
1193
1181
  "data-variant": e.variant,
1194
1182
  "data-size": a(o),
1195
1183
  "data-accent-color": e.color,
1196
1184
  "data-high-contrast": e.highContrast
1197
1185
  }), {
1198
- default: l(() => [
1199
- p(a(Y), {
1186
+ default: r(() => [
1187
+ f(a(ae), {
1200
1188
  type: "auto",
1201
1189
  class: "ui-ScrollArea"
1202
1190
  }, {
1203
- default: l(() => [
1204
- p(a(He), {
1191
+ default: r(() => [
1192
+ f(a(He), {
1205
1193
  class: "ui-SelectViewport",
1206
1194
  "as-child": ""
1207
1195
  }, {
1208
- default: l(() => [
1209
- p(a(Z), { class: "ui-ScrollAreaViewport" }, {
1210
- default: l(() => [
1211
- f(n.$slots, "default")
1196
+ default: r(() => [
1197
+ f(a(oe), { class: "ui-ScrollAreaViewport" }, {
1198
+ default: r(() => [
1199
+ h(n.$slots, "default")
1212
1200
  ]),
1213
1201
  _: 3
1214
1202
  }),
1215
- r[0] || (r[0] = C("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1216
- p(a(H), {
1203
+ d[0] || (d[0] = B("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1204
+ f(a(W), {
1217
1205
  class: "ui-ScrollAreaScrollbar",
1218
1206
  "data-size": 1,
1219
1207
  orientation: "vertical"
1220
1208
  }, {
1221
- default: l(() => [
1222
- p(a(G), { class: "ui-ScrollAreaThumb" })
1209
+ default: r(() => [
1210
+ f(a(j), { class: "ui-ScrollAreaThumb" })
1223
1211
  ]),
1224
1212
  _: 1
1225
1213
  })
@@ -1236,8 +1224,7 @@ const st = {
1236
1224
  _: 3
1237
1225
  }));
1238
1226
  }
1239
- }), At = ["disabled", "data-variant", "data-accent-color", "data-radius", "data-size"], xt = { class: "ui-SelectTriggerInner" }, va = /* @__PURE__ */ u({
1240
- inheritAttrs: !1,
1227
+ }), It = { class: "ui-SelectTriggerInner" }, ba = /* @__PURE__ */ u({
1241
1228
  __name: "SelectTrigger",
1242
1229
  props: {
1243
1230
  variant: { default: "surface" },
@@ -1245,41 +1232,38 @@ const st = {
1245
1232
  radius: {},
1246
1233
  placeholder: {},
1247
1234
  disabled: { type: Boolean },
1235
+ reference: {},
1248
1236
  asChild: { type: Boolean },
1249
1237
  as: {}
1250
1238
  },
1251
1239
  setup(s) {
1252
- const e = s, t = J("SelectRoot.size");
1253
- return B(), (o, i) => (d(), h(a(Ge), { "as-child": "" }, {
1254
- default: l(() => [
1255
- C("button", _({ class: "ui-SelectTrigger" }, o.$attrs, {
1256
- disabled: e.disabled,
1257
- "data-variant": e.variant,
1258
- "data-accent-color": e.color,
1259
- "data-radius": e.radius,
1260
- "data-size": a(t)
1261
- }), [
1262
- C("span", xt, [
1263
- p(a(We), {
1264
- placeholder: e.placeholder
1265
- }, null, 8, ["placeholder"])
1240
+ const e = s, t = ee("SelectRoot.size"), o = _(() => [`r-variant-${e.variant}`, `r-size-${t.value}`]);
1241
+ return (l, n) => (i(), p(a(Le), {
1242
+ class: w(["ui-SelectTrigger", o.value]),
1243
+ disabled: e.disabled,
1244
+ "data-accent-color": e.color,
1245
+ "data-radius": e.radius
1246
+ }, {
1247
+ default: r(() => [
1248
+ B("span", It, [
1249
+ f(a(We), {
1250
+ placeholder: e.placeholder
1251
+ }, null, 8, ["placeholder"])
1252
+ ]),
1253
+ f(a(je), { "as-child": "" }, {
1254
+ default: r(() => [
1255
+ f(a(k), {
1256
+ class: "ui-SelectIcon",
1257
+ icon: "radix-icons:chevron-down"
1258
+ })
1266
1259
  ]),
1267
- p(a(Le), { "as-child": "" }, {
1268
- default: l(() => [
1269
- p(a(A), {
1270
- class: "ui-SelectIcon",
1271
- icon: "radix-icons:chevron-down"
1272
- })
1273
- ]),
1274
- _: 1
1275
- })
1276
- ], 16, At)
1260
+ _: 1
1261
+ })
1277
1262
  ]),
1278
1263
  _: 1
1279
- }));
1264
+ }, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
1280
1265
  }
1281
- }), ga = /* @__PURE__ */ u({
1282
- inheritAttrs: !1,
1266
+ }), Ba = /* @__PURE__ */ u({
1283
1267
  __name: "SelectItem",
1284
1268
  props: {
1285
1269
  value: {},
@@ -1289,18 +1273,18 @@ const st = {
1289
1273
  as: {}
1290
1274
  },
1291
1275
  setup(s) {
1292
- const t = $(s);
1293
- return B(), (o, i) => (d(), h(a(je), _({ class: "ui-SelectItem" }, { ...o.$attrs, ...a(t) }), {
1294
- default: l(() => [
1295
- p(a(Ee), { class: "ui-SelectItemIndicator" }, {
1296
- default: l(() => [
1297
- p(a(A), { icon: "radix-icons:check" })
1276
+ const t = z(s);
1277
+ return x(), (o, l) => (i(), p(a(Ee), g({ class: "ui-SelectItem" }, a(t)), {
1278
+ default: r(() => [
1279
+ f(a(qe), { class: "ui-SelectItemIndicator" }, {
1280
+ default: r(() => [
1281
+ f(a(k), { icon: "radix-icons:check" })
1298
1282
  ]),
1299
1283
  _: 1
1300
1284
  }),
1301
- p(a(qe), null, {
1302
- default: l(() => [
1303
- f(o.$slots, "default")
1285
+ f(a(Ue), null, {
1286
+ default: r(() => [
1287
+ h(o.$slots, "default")
1304
1288
  ]),
1305
1289
  _: 3
1306
1290
  })
@@ -1308,8 +1292,7 @@ const st = {
1308
1292
  _: 3
1309
1293
  }, 16));
1310
1294
  }
1311
- }), ya = /* @__PURE__ */ u({
1312
- inheritAttrs: !1,
1295
+ }), $a = /* @__PURE__ */ u({
1313
1296
  __name: "SelectLabel",
1314
1297
  props: {
1315
1298
  for: {},
@@ -1317,27 +1300,27 @@ const st = {
1317
1300
  as: {}
1318
1301
  },
1319
1302
  setup(s) {
1320
- const t = $(s);
1321
- return B(), (o, i) => (d(), h(a(Ue), _({ class: "ui-SelectLabel" }, { ...o.$attrs, ...a(t) }), {
1322
- default: l(() => [
1323
- f(o.$slots, "default")
1303
+ const t = z(s);
1304
+ return x(), (o, l) => (i(), p(a(Ke), g({ class: "ui-SelectLabel" }, a(t)), {
1305
+ default: r(() => [
1306
+ h(o.$slots, "default")
1324
1307
  ]),
1325
1308
  _: 3
1326
1309
  }, 16));
1327
1310
  }
1328
- }), Vt = (s, e) => {
1311
+ }), Pt = (s, e) => {
1329
1312
  const t = s.__vccOpts || s;
1330
- for (const [o, i] of e)
1331
- t[o] = i;
1313
+ for (const [o, l] of e)
1314
+ t[o] = l;
1332
1315
  return t;
1333
- }, Dt = {}, Rt = {
1316
+ }, Ot = {}, Ft = {
1334
1317
  class: "ui-SelectSeparator",
1335
1318
  "aria-hidden": "true"
1336
1319
  };
1337
- function Pt(s, e) {
1338
- return d(), b("div", Rt);
1320
+ function Mt(s, e) {
1321
+ return i(), b("div", Ft);
1339
1322
  }
1340
- const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-variant"], Ot = ["data-layout"], ba = /* @__PURE__ */ u({
1323
+ const wa = /* @__PURE__ */ Pt(Ot, [["render", Mt]]), Gt = ["data-size", "data-variant"], Ht = ["data-layout"], za = /* @__PURE__ */ u({
1341
1324
  __name: "Table",
1342
1325
  props: {
1343
1326
  size: { default: "2" },
@@ -1346,25 +1329,25 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1346
1329
  },
1347
1330
  setup(s) {
1348
1331
  const e = s;
1349
- return (t, o) => (d(), b("div", {
1332
+ return (t, o) => (i(), b("div", {
1350
1333
  class: "ui-Table",
1351
1334
  "data-size": e.size,
1352
1335
  "data-variant": e.variant
1353
1336
  }, [
1354
- p(ie, null, {
1355
- default: l(() => [
1356
- C("table", {
1337
+ f(ce, null, {
1338
+ default: r(() => [
1339
+ B("table", {
1357
1340
  class: "ui-TableContent",
1358
1341
  "data-layout": e.layout
1359
1342
  }, [
1360
- f(t.$slots, "default")
1361
- ], 8, Ot)
1343
+ h(t.$slots, "default")
1344
+ ], 8, Ht)
1362
1345
  ]),
1363
1346
  _: 3
1364
1347
  })
1365
- ], 8, It));
1348
+ ], 8, Gt));
1366
1349
  }
1367
- }), Mt = ["textContent"], za = /* @__PURE__ */ u({
1350
+ }), Lt = ["textContent"], Sa = /* @__PURE__ */ u({
1368
1351
  __name: "Tooltip",
1369
1352
  props: {
1370
1353
  to: {},
@@ -1392,7 +1375,7 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1392
1375
  },
1393
1376
  setup(s) {
1394
1377
  const e = s;
1395
- return (t, o) => (d(), h(a(Ke), {
1378
+ return (t, o) => (i(), p(a(Ne), {
1396
1379
  "delay-duration": e.delayDuration,
1397
1380
  "disable-closing-trigger": e.disableClosingTrigger,
1398
1381
  "disable-hoverable-content": e.disableHoverableContent,
@@ -1400,23 +1383,23 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1400
1383
  "ignore-non-keyboard-focus": e.ignoreNonKeyboardFocus,
1401
1384
  "skip-delay-duration": e.skipDelayDuration
1402
1385
  }, {
1403
- default: l(() => [
1404
- p(a(Ne), null, {
1405
- default: l(() => [
1406
- p(a(Qe), {
1386
+ default: r(() => [
1387
+ f(a(Qe), null, {
1388
+ default: r(() => [
1389
+ f(a(Ze), {
1407
1390
  as: e.as,
1408
1391
  "as-child": e.asChild
1409
1392
  }, {
1410
- default: l(() => [
1411
- f(t.$slots, "default")
1393
+ default: r(() => [
1394
+ h(t.$slots, "default")
1412
1395
  ]),
1413
1396
  _: 3
1414
1397
  }, 8, ["as", "as-child"]),
1415
- p(a(Xe), {
1398
+ f(a(Je), {
1416
1399
  to: e.to
1417
1400
  }, {
1418
- default: l(() => [
1419
- p(a(Je), {
1401
+ default: r(() => [
1402
+ f(a(Xe), {
1420
1403
  class: "ui-Tooltip",
1421
1404
  align: e.align,
1422
1405
  "align-offset": e.alignOffset,
@@ -1430,14 +1413,14 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1430
1413
  "side-offset": e.sideOffset,
1431
1414
  sticky: e.sticky
1432
1415
  }, {
1433
- default: l(() => [
1434
- f(t.$slots, "content", {}, () => [
1435
- C("p", {
1416
+ default: r(() => [
1417
+ h(t.$slots, "content", {}, () => [
1418
+ B("p", {
1436
1419
  class: "ui-TooltipText",
1437
- textContent: O(e.content)
1438
- }, null, 8, Mt)
1420
+ textContent: G(e.content)
1421
+ }, null, 8, Lt)
1439
1422
  ]),
1440
- p(a(Ye), { class: "ui-TooltipArrow" })
1423
+ f(a(Ye), { class: "ui-TooltipArrow" })
1441
1424
  ]),
1442
1425
  _: 3
1443
1426
  }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
@@ -1451,7 +1434,7 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1451
1434
  _: 3
1452
1435
  }, 8, ["delay-duration", "disable-closing-trigger", "disable-hoverable-content", "disabled", "ignore-non-keyboard-focus", "skip-delay-duration"]));
1453
1436
  }
1454
- }), Ba = /* @__PURE__ */ u({
1437
+ }), xa = /* @__PURE__ */ u({
1455
1438
  __name: "TabsList",
1456
1439
  props: {
1457
1440
  size: { default: "2" },
@@ -1462,7 +1445,7 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1462
1445
  },
1463
1446
  setup(s) {
1464
1447
  const e = s;
1465
- return (t, o) => (d(), h(a(Ze), {
1448
+ return (t, o) => (i(), p(a(et), {
1466
1449
  class: "ui-TabList",
1467
1450
  "data-accent-color": e.color,
1468
1451
  "data-size": e.size,
@@ -1470,14 +1453,13 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1470
1453
  "data-justify": e.justify,
1471
1454
  "data-high-contrast": e.highContrast
1472
1455
  }, {
1473
- default: l(() => [
1474
- f(t.$slots, "default")
1456
+ default: r(() => [
1457
+ h(t.$slots, "default")
1475
1458
  ]),
1476
1459
  _: 3
1477
1460
  }, 8, ["data-accent-color", "data-size", "data-wrap", "data-justify", "data-high-contrast"]));
1478
1461
  }
1479
- }), Ft = { class: "ui-TabTriggerInner" }, Ht = { class: "ui-TabTriggerInnerHidden" }, $a = /* @__PURE__ */ u({
1480
- inheritAttrs: !1,
1462
+ }), Wt = { class: "ui-TabTriggerInner" }, jt = { class: "ui-TabTriggerInnerHidden" }, Va = /* @__PURE__ */ u({
1481
1463
  __name: "TabsTrigger",
1482
1464
  props: {
1483
1465
  value: {},
@@ -1486,55 +1468,49 @@ const Ca = /* @__PURE__ */ Vt(Dt, [["render", Pt]]), It = ["data-size", "data-va
1486
1468
  as: {}
1487
1469
  },
1488
1470
  setup(s) {
1489
- const t = $(s);
1490
- return (o, i) => (d(), h(a(et), _({ ...o.$attrs, ...a(t) }, { class: "ui-TabTrigger" }), {
1491
- default: l(() => [
1492
- C("span", Ft, [
1493
- f(o.$slots, "default")
1471
+ const t = z(s);
1472
+ return (o, l) => (i(), p(a(tt), g(a(t), { class: "ui-TabTrigger" }), {
1473
+ default: r(() => [
1474
+ B("span", Wt, [
1475
+ h(o.$slots, "default")
1494
1476
  ]),
1495
- C("span", Ht, [
1496
- f(o.$slots, "default")
1477
+ B("span", jt, [
1478
+ h(o.$slots, "default")
1497
1479
  ])
1498
1480
  ]),
1499
1481
  _: 3
1500
1482
  }, 16));
1501
1483
  }
1502
- }), wa = /* @__PURE__ */ u({
1503
- inheritAttrs: !1,
1484
+ }), Ta = /* @__PURE__ */ u({
1504
1485
  __name: "RadioTabsList",
1505
1486
  props: {
1506
1487
  size: { default: "2" },
1507
1488
  modelValue: {},
1508
1489
  defaultValue: {},
1509
1490
  disabled: { type: Boolean },
1510
- name: {},
1511
- required: { type: Boolean },
1512
1491
  orientation: {},
1513
1492
  dir: {},
1514
1493
  loop: { type: Boolean },
1515
1494
  asChild: { type: Boolean },
1516
- as: {}
1495
+ as: {},
1496
+ name: {},
1497
+ required: { type: Boolean }
1517
1498
  },
1518
1499
  emits: ["update:modelValue"],
1519
1500
  setup(s, { emit: e }) {
1520
- const t = e, o = s, i = w(o, t, ["size"]);
1521
- return (n, r) => (d(), h(a(ee), _({
1522
- ...n.$attrs,
1523
- ...a(i),
1524
- size: void 0
1525
- }, {
1526
- class: "ui-RadioTabsList",
1527
- "data-size": o.size
1501
+ const t = e, o = s, [l, n] = O(o, t, ["size"]);
1502
+ return (d, c) => (i(), p(a(se), g(a(l), {
1503
+ class: ["ui-RadioTabsList", a(n)]
1528
1504
  }), {
1529
- default: l(() => [
1530
- f(n.$slots, "default")
1505
+ default: r(() => [
1506
+ h(d.$slots, "default")
1531
1507
  ]),
1532
1508
  _: 3
1533
- }, 16, ["data-size"]));
1509
+ }, 16, ["class"]));
1534
1510
  }
1535
- }), Gt = "https://challenges.cloudflare.com/turnstile/v0/api.js", q = "cfTurnstileOnLoad";
1536
- let P = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", M, I, U;
1537
- const Sa = /* @__PURE__ */ u({
1511
+ }), Et = "https://challenges.cloudflare.com/turnstile/v0/api.js", Q = "cfTurnstileOnLoad";
1512
+ let F = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", H, M, Z;
1513
+ const Da = /* @__PURE__ */ u({
1538
1514
  __name: "Turnstile",
1539
1515
  props: {
1540
1516
  sitekey: {},
@@ -1548,16 +1524,16 @@ const Sa = /* @__PURE__ */ u({
1548
1524
  },
1549
1525
  emits: ["update:modelValue"],
1550
1526
  setup(s, { emit: e }) {
1551
- const t = s, o = e, i = L(), n = () => {
1527
+ const t = s, o = e, l = q(), n = () => {
1552
1528
  window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
1553
- }, r = () => {
1554
- I && (window.turnstile.remove(I), I = void 0);
1555
- }, c = (v) => {
1556
- o("update:modelValue", v), U = setTimeout(() => {
1529
+ }, d = () => {
1530
+ M && (window.turnstile.remove(M), M = void 0);
1531
+ }, c = (C) => {
1532
+ o("update:modelValue", C), Z = setTimeout(() => {
1557
1533
  n();
1558
1534
  }, t.resetInterval);
1559
- }, g = () => {
1560
- I = window.turnstile.render(i.value, {
1535
+ }, m = () => {
1536
+ M = window.turnstile.render(l.value, {
1561
1537
  sitekey: t.sitekey,
1562
1538
  theme: t.theme,
1563
1539
  size: t.size,
@@ -1566,58 +1542,58 @@ const Sa = /* @__PURE__ */ u({
1566
1542
  appearance: t.appearance
1567
1543
  });
1568
1544
  };
1569
- return N(async () => {
1570
- const v = new Promise((m, y) => {
1571
- M = { resolve: m, reject: y }, P === "ready" && m(void 0);
1545
+ return X(async () => {
1546
+ const C = new Promise((v, y) => {
1547
+ H = { resolve: v, reject: y }, F === "ready" && v(void 0);
1572
1548
  });
1573
- window[q] = () => {
1574
- M.resolve(), P = "ready";
1549
+ window[Q] = () => {
1550
+ H.resolve(), F = "ready";
1575
1551
  }, await (() => {
1576
- if (P === "unloaded") {
1577
- P = "loading";
1578
- const m = `${Gt}?onload=${q}&render=explicit`, y = document.createElement("script");
1579
- y.src = m, y.async = !0, y.addEventListener("error", () => {
1580
- M.reject("Failed to load Turnstile.");
1552
+ if (F === "unloaded") {
1553
+ F = "loading";
1554
+ const v = `${Et}?onload=${Q}&render=explicit`, y = document.createElement("script");
1555
+ y.src = v, y.async = !0, y.addEventListener("error", () => {
1556
+ H.reject("Failed to load Turnstile.");
1581
1557
  }), document.head.appendChild(y);
1582
1558
  }
1583
- return v;
1584
- })(), t.renderOnMount && g();
1585
- }), Q(() => {
1586
- r(), clearTimeout(U);
1587
- }), (v, S) => (d(), b("div", {
1559
+ return C;
1560
+ })(), t.renderOnMount && m();
1561
+ }), Y(() => {
1562
+ d(), clearTimeout(Z);
1563
+ }), (C, $) => (i(), b("div", {
1588
1564
  ref_key: "element",
1589
- ref: i
1565
+ ref: l
1590
1566
  }, null, 512));
1591
1567
  }
1592
- }), Ta = /* @__PURE__ */ u({
1568
+ }), ka = /* @__PURE__ */ u({
1593
1569
  __name: "Quota",
1594
1570
  props: {
1595
1571
  percent: {},
1596
1572
  color: {}
1597
1573
  },
1598
1574
  setup(s) {
1599
- const e = s, t = z(() => {
1600
- const i = `translateX(-${100 - e.percent}%)`;
1575
+ const e = s, t = _(() => {
1576
+ const l = `translateX(-${100 - e.percent}%)`;
1601
1577
  if (e.percent > 100)
1602
- return { transform: i, "background-color": "var(--red-a10)" };
1578
+ return { transform: l, "background-color": "var(--red-a10)" };
1603
1579
  let n = "a4";
1604
- return e.percent > 90 ? n = "a11" : e.percent > 66 ? n = "a9" : e.percent > 33 && (n = "a6"), { transform: i, "background-color": `var(--blue-${n})` };
1605
- }), o = z(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1606
- return (i, n) => (d(), h(a(tt), {
1580
+ return e.percent > 90 ? n = "a11" : e.percent > 66 ? n = "a9" : e.percent > 33 && (n = "a6"), { transform: l, "background-color": `var(--blue-${n})` };
1581
+ }), o = _(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
1582
+ return (l, n) => (i(), p(a(at), {
1607
1583
  class: "ui-Quota",
1608
1584
  "model-value": o.value,
1609
1585
  "data-accent-color": e.color
1610
1586
  }, {
1611
- default: l(() => [
1612
- p(a(at), {
1587
+ default: r(() => [
1588
+ f(a(ot), {
1613
1589
  class: "ui-QuotaValue",
1614
- style: he(t.value)
1590
+ style: me(t.value)
1615
1591
  }, null, 8, ["style"])
1616
1592
  ]),
1617
1593
  _: 1
1618
1594
  }, 8, ["model-value", "data-accent-color"]));
1619
1595
  }
1620
- }), Wt = ["data-variant", "data-size", "data-accent-color"], ka = /* @__PURE__ */ u({
1596
+ }), qt = ["data-accent-color"], Aa = /* @__PURE__ */ u({
1621
1597
  __name: "IconCircle",
1622
1598
  props: {
1623
1599
  color: {},
@@ -1626,86 +1602,183 @@ const Sa = /* @__PURE__ */ u({
1626
1602
  icon: {}
1627
1603
  },
1628
1604
  setup(s) {
1629
- const e = s;
1630
- return (t, o) => (d(), b("span", {
1631
- class: "ui-IconCircle",
1605
+ const e = s, t = _(() => S(e, ["size", "variant"]));
1606
+ return (o, l) => (i(), b("span", {
1607
+ class: w(["ui-IconCircle", t.value]),
1632
1608
  "data-radius": "full",
1633
- "data-variant": e.variant,
1634
- "data-size": e.size,
1635
1609
  "data-accent-color": e.color
1636
1610
  }, [
1637
- p(a(A), {
1611
+ f(a(k), {
1638
1612
  icon: e.icon
1639
1613
  }, null, 8, ["icon"])
1640
- ], 8, Wt));
1614
+ ], 10, qt));
1615
+ }
1616
+ }), Ra = /* @__PURE__ */ u({
1617
+ __name: "Toggle",
1618
+ props: {
1619
+ color: {},
1620
+ variant: { default: "soft" },
1621
+ size: { default: "2" },
1622
+ highContrast: { type: Boolean },
1623
+ radius: {},
1624
+ defaultValue: { type: Boolean },
1625
+ modelValue: { type: Boolean },
1626
+ disabled: { type: Boolean },
1627
+ asChild: { type: Boolean },
1628
+ as: {},
1629
+ name: {},
1630
+ required: { type: Boolean }
1631
+ },
1632
+ emits: ["update:modelValue"],
1633
+ setup(s, { emit: e }) {
1634
+ const t = e, o = s, [l, n] = O(o, t, [
1635
+ "color",
1636
+ "size",
1637
+ "variant",
1638
+ "highContrast",
1639
+ "radius"
1640
+ ]);
1641
+ return (d, c) => (i(), p(a(st), g(a(l), {
1642
+ class: ["ui-Toggle", a(n)],
1643
+ "data-accent-color": o.color,
1644
+ "data-radius": o.radius
1645
+ }), {
1646
+ default: r(() => [
1647
+ h(d.$slots, "default")
1648
+ ]),
1649
+ _: 3
1650
+ }, 16, ["class", "data-accent-color", "data-radius"]));
1651
+ }
1652
+ }), Ia = /* @__PURE__ */ u({
1653
+ __name: "ToggleGroupRoot",
1654
+ props: {
1655
+ color: {},
1656
+ variant: { default: "soft" },
1657
+ size: { default: "2" },
1658
+ highContrast: { type: Boolean },
1659
+ radius: {},
1660
+ rovingFocus: { type: Boolean },
1661
+ disabled: { type: Boolean },
1662
+ orientation: {},
1663
+ dir: {},
1664
+ loop: { type: Boolean },
1665
+ asChild: { type: Boolean },
1666
+ as: {},
1667
+ name: {},
1668
+ required: { type: Boolean },
1669
+ type: {},
1670
+ modelValue: {},
1671
+ defaultValue: {}
1672
+ },
1673
+ emits: ["update:modelValue"],
1674
+ setup(s, { emit: e }) {
1675
+ const t = e, o = s, [l, n] = O(o, t, [
1676
+ "color",
1677
+ "size",
1678
+ "variant",
1679
+ "highContrast",
1680
+ "radius"
1681
+ ]);
1682
+ return (d, c) => (i(), p(a(lt), g(a(l), {
1683
+ class: ["ui-ToggleGroupRoot", a(n)],
1684
+ "data-accent-color": o.color,
1685
+ "data-radius": o.radius
1686
+ }), {
1687
+ default: r(() => [
1688
+ h(d.$slots, "default")
1689
+ ]),
1690
+ _: 3
1691
+ }, 16, ["class", "data-accent-color", "data-radius"]));
1692
+ }
1693
+ }), Pa = /* @__PURE__ */ u({
1694
+ __name: "ToggleGroupItem",
1695
+ props: {
1696
+ value: {},
1697
+ defaultValue: { type: Boolean },
1698
+ modelValue: { type: Boolean },
1699
+ disabled: { type: Boolean },
1700
+ asChild: { type: Boolean },
1701
+ as: {}
1702
+ },
1703
+ setup(s) {
1704
+ const t = z(s);
1705
+ return (o, l) => (i(), p(a(nt), g(a(t), { class: "ui-ToggleGroupItem" }), {
1706
+ default: r(() => [
1707
+ h(o.$slots, "default")
1708
+ ]),
1709
+ _: 3
1710
+ }, 16));
1641
1711
  }
1642
1712
  });
1643
1713
  export {
1644
- Va as AlertDialogAction,
1645
- Da as AlertDialogCancel,
1646
- ea as AlertDialogContent,
1647
- Ra as AlertDialogDescription,
1648
- Pa as AlertDialogRoot,
1649
- Ia as AlertDialogTitle,
1650
- Oa as AlertDialogTrigger,
1651
- Ut as Avatar,
1652
- Kt as Badge,
1653
- ae as Button,
1654
- rt as Card,
1655
- Yt as CardHead,
1656
- oe as Checkbox,
1657
- Jt as CheckboxGroupControl,
1658
- Xt as CheckboxGroupItem,
1659
- Qt as CheckboxGroupRoot,
1660
- Zt as ColorField,
1661
- Ma as DialogClose,
1662
- ta as DialogContent,
1663
- Fa as DialogDescription,
1664
- aa as DialogHead,
1665
- Ha as DialogRoot,
1666
- Ga as DialogTitle,
1667
- Wa as DialogTrigger,
1668
- sa as DropdownMenuContent,
1669
- ia as DropdownMenuItem,
1670
- La as DropdownMenuRoot,
1671
- ja as DropdownMenuTrigger,
1672
- eo as Icon,
1673
- Nt as IconButton,
1674
- ka as IconCircle,
1675
- _t as Inset,
1676
- Ea as PopoverAnchor,
1677
- qa as PopoverArrow,
1678
- Ua as PopoverClose,
1679
- oa as PopoverContent,
1680
- Ka as PopoverRoot,
1681
- Na as PopoverTrigger,
1682
- Ta as Quota,
1683
- da as Radio,
1684
- pa as RadioCardsItem,
1685
- ca as RadioCardsRoot,
1686
- ua as RadioGroupItem,
1687
- ca as RadioGroupRoot,
1688
- Qa as RadioTabsItem,
1689
- wa as RadioTabsList,
1690
- na as SavingIndicator,
1691
- ie as ScrollArea,
1692
- _a as SelectContent,
1693
- Xa as SelectGroup,
1694
- ga as SelectItem,
1695
- ya as SelectLabel,
1696
- ma as SelectRoot,
1697
- Ca as SelectSeparator,
1698
- va as SelectTrigger,
1699
- la as Separator,
1700
- bt as Spinner,
1701
- ra as Switch,
1702
- ba as Table,
1703
- Ja as TabsContent,
1704
- Ba as TabsList,
1705
- Ya as TabsRoot,
1706
- $a as TabsTrigger,
1707
- fa as TextArea,
1708
- ha as TextField,
1709
- za as Tooltip,
1710
- Sa as Turnstile
1714
+ Ma as AlertDialogAction,
1715
+ Ga as AlertDialogCancel,
1716
+ sa as AlertDialogContent,
1717
+ Ha as AlertDialogDescription,
1718
+ La as AlertDialogRoot,
1719
+ Wa as AlertDialogTitle,
1720
+ ja as AlertDialogTrigger,
1721
+ Zt as Avatar,
1722
+ Jt as Badge,
1723
+ re as Button,
1724
+ pt as Card,
1725
+ aa as CardHead,
1726
+ ie as Checkbox,
1727
+ ta as CheckboxGroupControl,
1728
+ ea as CheckboxGroupItem,
1729
+ Yt as CheckboxGroupRoot,
1730
+ oa as ColorField,
1731
+ Ea as DialogClose,
1732
+ la as DialogContent,
1733
+ qa as DialogDescription,
1734
+ na as DialogHead,
1735
+ Ua as DialogRoot,
1736
+ Ka as DialogTitle,
1737
+ Na as DialogTrigger,
1738
+ ia as DropdownMenuContent,
1739
+ da as DropdownMenuItem,
1740
+ Qa as DropdownMenuRoot,
1741
+ Za as DropdownMenuTrigger,
1742
+ ro as Icon,
1743
+ Xt as IconButton,
1744
+ Aa as IconCircle,
1745
+ Ct as Inset,
1746
+ Ja as PopoverAnchor,
1747
+ Xa as PopoverArrow,
1748
+ Ya as PopoverClose,
1749
+ ra as PopoverContent,
1750
+ eo as PopoverRoot,
1751
+ to as PopoverTrigger,
1752
+ ka as Quota,
1753
+ fa as Radio,
1754
+ _a as RadioCardsItem,
1755
+ ha as RadioCardsRoot,
1756
+ ma as RadioGroupItem,
1757
+ ha as RadioGroupRoot,
1758
+ ao as RadioTabsItem,
1759
+ Ta as RadioTabsList,
1760
+ ua as SavingIndicator,
1761
+ ce as ScrollArea,
1762
+ Ca as SelectContent,
1763
+ oo as SelectGroup,
1764
+ Ba as SelectItem,
1765
+ $a as SelectLabel,
1766
+ ya as SelectRoot,
1767
+ wa as SelectSeparator,
1768
+ ba as SelectTrigger,
1769
+ ca as Separator,
1770
+ zt as Spinner,
1771
+ pa as Switch,
1772
+ za as Table,
1773
+ so as TabsContent,
1774
+ xa as TabsList,
1775
+ lo as TabsRoot,
1776
+ Va as TabsTrigger,
1777
+ va as TextArea,
1778
+ ga as TextField,
1779
+ Ra as Toggle,
1780
+ Pa as ToggleGroupItem,
1781
+ Ia as ToggleGroupRoot,
1782
+ Sa as Tooltip,
1783
+ Da as Turnstile
1711
1784
  };