@typlog/ui 0.6.0 → 0.7.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/components/addons/index.d.ts +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/{Avatar.d.ts → avatar/Avatar.d.ts} +1 -1
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/{Badge.d.ts → badge/Badge.d.ts} +1 -1
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/{Button.d.ts → button/Button.d.ts} +1 -1
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/{Card.d.ts → card/Card.d.ts} +1 -1
- package/dist/components/{CardHead.d.ts → card/CardHead.d.ts} +1 -1
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/{Checkbox.d.ts → checkbox/Checkbox.d.ts} +1 -1
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/collapsible/CollapsibleChevron.d.ts +6 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/{ComboboxInput.d.ts → combobox/ComboboxInput.d.ts} +1 -1
- package/dist/components/{ComboboxRoot.d.ts → combobox/ComboboxRoot.d.ts} +1 -1
- package/dist/components/combobox/index.d.ts +6 -0
- package/dist/components/dialog/index.d.ts +3 -0
- package/dist/components/{DropdownMenuContent.d.ts → dropdown/DropdownMenuContent.d.ts} +1 -1
- package/dist/components/{DropdownMenuItem.d.ts → dropdown/DropdownMenuItem.d.ts} +1 -1
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/{IconCircle.d.ts → icon/IconCircle.d.ts} +1 -1
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/index.d.ts +28 -60
- package/dist/components/{ColorField.d.ts → inputs/ColorField.d.ts} +1 -1
- package/dist/components/{TextArea.d.ts → inputs/TextArea.d.ts} +1 -1
- package/dist/components/{TextField.d.ts → inputs/TextField.d.ts} +1 -1
- package/dist/components/inputs/index.d.ts +3 -0
- package/dist/components/inset/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +45 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/{Quota.d.ts → quota/Quota.d.ts} +1 -1
- package/dist/components/quota/index.d.ts +1 -0
- package/dist/components/{Radio.d.ts → radio/Radio.d.ts} +1 -1
- package/dist/components/{RadioGroupRoot.d.ts → radio/RadioGroupRoot.d.ts} +1 -1
- package/dist/components/radio/index.d.ts +6 -0
- package/dist/components/{ScrollArea.d.ts → scrollarea/ScrollArea.d.ts} +1 -1
- package/dist/components/scrollarea/index.d.ts +1 -0
- package/dist/components/{SelectRoot.d.ts → select/SelectRoot.d.ts} +1 -1
- package/dist/components/select/index.d.ts +7 -0
- package/dist/components/{Separator.d.ts → separator/Separator.d.ts} +1 -1
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/spinner/SavingIndicator.d.ts +9 -0
- package/dist/components/spinner/Spinner.d.ts +10 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/{Switch.d.ts → switch/Switch.d.ts} +1 -1
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/{TabsList.d.ts → tabs/TabsList.d.ts} +1 -1
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/{Toggle.d.ts → toggle/Toggle.d.ts} +1 -1
- package/dist/components/{ToggleGroupRoot.d.ts → toggle/ToggleGroupRoot.d.ts} +1 -1
- package/dist/components/toggle/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/index.js +1243 -1062
- package/dist/style.css +1 -1
- package/package.json +8 -8
- package/dist/components/SavingIndicator.d.ts +0 -10
- package/dist/components/Spinner.d.ts +0 -2
- /package/dist/components/{Turnstile.d.ts → addons/Turnstile.d.ts} +0 -0
- /package/dist/components/{AlertDialogContent.d.ts → alert/AlertDialogContent.d.ts} +0 -0
- /package/dist/components/{IconButton.d.ts → button/IconButton.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupControl.d.ts → checkbox/CheckboxGroupControl.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupItem.d.ts → checkbox/CheckboxGroupItem.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupRoot.d.ts → checkbox/CheckboxGroupRoot.d.ts} +0 -0
- /package/dist/components/{ComboboxContent.d.ts → combobox/ComboboxContent.d.ts} +0 -0
- /package/dist/components/{ComboboxItem.d.ts → combobox/ComboboxItem.d.ts} +0 -0
- /package/dist/components/{ComboboxLabel.d.ts → combobox/ComboboxLabel.d.ts} +0 -0
- /package/dist/components/{DialogContent.d.ts → dialog/DialogContent.d.ts} +0 -0
- /package/dist/components/{DialogHead.d.ts → dialog/DialogHead.d.ts} +0 -0
- /package/dist/components/{Inset.d.ts → inset/Inset.d.ts} +0 -0
- /package/dist/components/{PopoverContent.d.ts → popover/PopoverContent.d.ts} +0 -0
- /package/dist/components/{RadioCardsItem.d.ts → radio/RadioCardsItem.d.ts} +0 -0
- /package/dist/components/{RadioGroupItem.d.ts → radio/RadioGroupItem.d.ts} +0 -0
- /package/dist/components/{RadioTabsList.d.ts → radio/RadioTabsList.d.ts} +0 -0
- /package/dist/components/{SelectContent.d.ts → select/SelectContent.d.ts} +0 -0
- /package/dist/components/{SelectItem.d.ts → select/SelectItem.d.ts} +0 -0
- /package/dist/components/{SelectLabel.d.ts → select/SelectLabel.d.ts} +0 -0
- /package/dist/components/{SelectSeparator.d.ts → select/SelectSeparator.d.ts} +0 -0
- /package/dist/components/{SelectTrigger.d.ts → select/SelectTrigger.d.ts} +0 -0
- /package/dist/components/{Table.d.ts → table/Table.d.ts} +0 -0
- /package/dist/components/{TabsTrigger.d.ts → tabs/TabsTrigger.d.ts} +0 -0
- /package/dist/components/{ToggleGroupItem.d.ts → toggle/ToggleGroupItem.d.ts} +0 -0
- /package/dist/components/{Tooltip.d.ts → tooltip/Tooltip.d.ts} +0 -0
package/dist/index.js
CHANGED
@@ -1,45 +1,45 @@
|
|
1
|
-
import { computed as
|
2
|
-
import { useForwardProps as
|
3
|
-
import { AlertDialogAction as
|
4
|
-
import { Icon as
|
5
|
-
import { Icon as
|
1
|
+
import { computed as y, defineComponent as f, createBlock as p, openBlock as d, unref as a, normalizeClass as w, withCtx as r, createVNode as c, createTextVNode as H, toDisplayString as A, renderSlot as g, createElementBlock as b, mergeProps as v, createElementVNode as x, createCommentVNode as T, toRefs as W, ref as J, onMounted as de, onBeforeUnmount as ue, withDirectives as Z, isRef as j, vModelDynamic as xe, vModelText as ce, normalizeProps as we, guardReactiveProps as ze, watch as Se, Fragment as pe, renderList as fe, withModifiers as P, vModelRadio as Ve, normalizeStyle as Te } from "vue";
|
2
|
+
import { useForwardProps as S, useEmitAsProps as me, AvatarRoot as ke, AvatarImage as Re, AvatarFallback as Pe, Primitive as M, ScrollAreaRoot as ae, ScrollAreaViewport as oe, ScrollAreaScrollbar as N, ScrollAreaThumb as Q, ScrollAreaCorner as De, AlertDialogPortal as Ae, AlertDialogOverlay as Ie, AlertDialogContent as Oe, DialogPortal as Me, DialogOverlay as Fe, DialogContent as Le, DialogTitle as Ge, DialogClose as He, useForwardExpose as R, createContext as q, DropdownMenuPortal as Ee, DropdownMenuContent as We, DropdownMenuItem as je, PopoverPortal as qe, PopoverContent as Ue, SwitchRoot as Ke, SwitchThumb as Ne, CheckboxRoot as Qe, CheckboxIndicator as Je, Toggle as Ze, ToggleGroupRoot as Xe, ToggleGroupItem as Ye, SelectRoot as et, SelectPortal as tt, SelectContent as at, SelectViewport as ot, SelectTrigger as st, SelectValue as lt, SelectIcon as nt, SelectItem as rt, SelectItemIndicator as it, SelectItemText as dt, SelectLabel as ut, ComboboxRoot as ct, injectComboboxRootContext as pt, useForwardPropsEmits as he, ComboboxAnchor as ft, ComboboxInput as le, ComboboxTrigger as mt, ComboboxPortal as ht, ComboboxContent as _t, ComboboxViewport as gt, ComboboxItem as vt, ComboboxItemIndicator as yt, ComboboxLabel as Ct, RadioGroupRoot as _e, RadioGroupItem as ge, TabsList as bt, TabsTrigger as Bt, CollapsibleTrigger as $t, TooltipProvider as xt, TooltipRoot as wt, TooltipTrigger as zt, TooltipPortal as St, TooltipContent as Vt, TooltipArrow as Tt, ProgressRoot as kt, ProgressIndicator as Rt } from "reka-ui";
|
3
|
+
import { AlertDialogAction as $o, AlertDialogCancel as xo, AlertDialogDescription as wo, AlertDialogRoot as zo, AlertDialogTitle as So, AlertDialogTrigger as Vo, CollapsibleContent as To, CollapsibleRoot as ko, CollapsibleTrigger as Ro, ComboboxEmpty as Po, ComboboxGroup as Do, DialogClose as Ao, DialogDescription as Io, DialogRoot as Oo, DialogTitle as Mo, DialogTrigger as Fo, DropdownMenuRoot as Lo, DropdownMenuTrigger as Go, PopoverClose as Ho, PopoverRoot as Eo, PopoverTrigger as Wo, RadioGroupItem as jo, SelectGroup as qo, TabsContent as Uo, TabsRoot as Ko } from "reka-ui";
|
4
|
+
import { Icon as z } from "@iconify/vue";
|
5
|
+
import { Icon as Qo } from "@iconify/vue";
|
6
6
|
import { useVModel as I } from "@vueuse/core";
|
7
|
-
function
|
8
|
-
const o =
|
9
|
-
return
|
10
|
-
...
|
7
|
+
function O(s, t, e) {
|
8
|
+
const o = S(s), l = me(t);
|
9
|
+
return y(() => ({
|
10
|
+
...ve(o.value, e),
|
11
11
|
...l
|
12
12
|
}));
|
13
13
|
}
|
14
|
-
function
|
15
|
-
const o =
|
16
|
-
...
|
14
|
+
function F(s, t, e) {
|
15
|
+
const o = S(s), l = me(t), u = y(() => ({
|
16
|
+
...ve(o.value, e),
|
17
17
|
...l
|
18
|
-
})), n =
|
19
|
-
return [
|
18
|
+
})), n = y(() => k(o.value, e));
|
19
|
+
return [u, n];
|
20
20
|
}
|
21
|
-
function
|
22
|
-
const
|
21
|
+
function ve(s, t) {
|
22
|
+
const e = {};
|
23
23
|
return Object.keys(s).forEach((o) => {
|
24
|
-
|
25
|
-
}),
|
24
|
+
t.indexOf(o) === -1 && (e[o] = s[o]);
|
25
|
+
}), e;
|
26
26
|
}
|
27
|
-
const
|
28
|
-
const
|
29
|
-
return
|
27
|
+
const k = (s, t) => {
|
28
|
+
const e = [];
|
29
|
+
return t.forEach((o) => {
|
30
30
|
if (o !== "color" && o !== "radius") {
|
31
31
|
const l = s[o];
|
32
|
-
l === !0 ?
|
32
|
+
l === !0 ? e.push(`r-${ne(o)}`) : l && e.push(`r-${ne(o)}-${l}`);
|
33
33
|
}
|
34
|
-
}),
|
34
|
+
}), e;
|
35
35
|
};
|
36
|
-
function
|
37
|
-
return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g,
|
36
|
+
function ne(s) {
|
37
|
+
return s.replace(/[A-Z]+(?![a-z])|[A-Z]/g, Pt);
|
38
38
|
}
|
39
|
-
function
|
40
|
-
return (
|
39
|
+
function Pt(s, t) {
|
40
|
+
return (t ? "-" : "") + s.toLowerCase();
|
41
41
|
}
|
42
|
-
const
|
42
|
+
const Sa = /* @__PURE__ */ f({
|
43
43
|
__name: "Avatar",
|
44
44
|
props: {
|
45
45
|
src: {},
|
@@ -51,22 +51,22 @@ const ba = /* @__PURE__ */ p({
|
|
51
51
|
color: {}
|
52
52
|
},
|
53
53
|
setup(s) {
|
54
|
-
const
|
55
|
-
return (l,
|
56
|
-
class: w(["ui-Avatar",
|
57
|
-
"data-accent-color":
|
58
|
-
"data-radius":
|
54
|
+
const t = s, e = y(() => k(t, ["size", "variant"])), o = y(() => t.fallback ? t.fallback : t.alt.split(/\s+/).map((l) => l[0]).slice(0, 2).join(""));
|
55
|
+
return (l, u) => (d(), p(a(ke), {
|
56
|
+
class: w(["ui-Avatar", e.value]),
|
57
|
+
"data-accent-color": t.color,
|
58
|
+
"data-radius": t.radius
|
59
59
|
}, {
|
60
60
|
default: r(() => [
|
61
|
-
|
62
|
-
alt:
|
63
|
-
src:
|
61
|
+
c(a(Re), {
|
62
|
+
alt: t.alt,
|
63
|
+
src: t.src || ""
|
64
64
|
}, null, 8, ["alt", "src"]),
|
65
|
-
|
65
|
+
c(a(Pe), {
|
66
66
|
class: w(`r-count-${o.value.length}`)
|
67
67
|
}, {
|
68
68
|
default: r(() => [
|
69
|
-
|
69
|
+
H(A(o.value), 1)
|
70
70
|
]),
|
71
71
|
_: 1
|
72
72
|
}, 8, ["class"])
|
@@ -74,7 +74,7 @@ const ba = /* @__PURE__ */ p({
|
|
74
74
|
_: 1
|
75
75
|
}, 8, ["class", "data-accent-color", "data-radius"]));
|
76
76
|
}
|
77
|
-
}),
|
77
|
+
}), Va = /* @__PURE__ */ f({
|
78
78
|
__name: "Badge",
|
79
79
|
props: {
|
80
80
|
variant: { default: "soft" },
|
@@ -86,113 +86,129 @@ const ba = /* @__PURE__ */ p({
|
|
86
86
|
as: { default: "span" }
|
87
87
|
},
|
88
88
|
setup(s) {
|
89
|
-
const
|
90
|
-
return (o, l) => (d(),
|
91
|
-
class: w(["ui-Badge",
|
92
|
-
as:
|
93
|
-
"as-child":
|
94
|
-
"data-accent-color":
|
95
|
-
"data-radius":
|
89
|
+
const t = s, e = y(() => k(t, ["size", "variant", "highContrast"]));
|
90
|
+
return (o, l) => (d(), p(a(M), {
|
91
|
+
class: w(["ui-Badge", e.value]),
|
92
|
+
as: t.as,
|
93
|
+
"as-child": t.asChild,
|
94
|
+
"data-accent-color": t.color,
|
95
|
+
"data-radius": t.radius
|
96
96
|
}, {
|
97
97
|
default: r(() => [
|
98
|
-
|
98
|
+
g(o.$slots, "default")
|
99
99
|
]),
|
100
100
|
_: 3
|
101
101
|
}, 8, ["class", "as", "as-child", "data-accent-color", "data-radius"]));
|
102
102
|
}
|
103
|
-
}),
|
104
|
-
__name: "
|
103
|
+
}), Dt = ["data-side", "data-clip"], At = /* @__PURE__ */ f({
|
104
|
+
__name: "Inset",
|
105
105
|
props: {
|
106
|
-
|
106
|
+
side: { default: "all" },
|
107
|
+
clip: { default: "border-box" }
|
108
|
+
},
|
109
|
+
setup(s) {
|
110
|
+
const t = s;
|
111
|
+
return (e, o) => (d(), b("div", {
|
112
|
+
class: "ui-Inset",
|
113
|
+
"data-side": t.side,
|
114
|
+
"data-clip": t.clip
|
115
|
+
}, [
|
116
|
+
g(e.$slots, "default")
|
117
|
+
], 8, Dt));
|
118
|
+
}
|
119
|
+
}), It = /* @__PURE__ */ f({
|
120
|
+
__name: "Card",
|
121
|
+
props: {
|
122
|
+
variant: { default: "surface" },
|
107
123
|
radius: {},
|
108
|
-
|
109
|
-
size: { default: "2" },
|
110
|
-
highContrast: { type: Boolean, default: !1 },
|
111
|
-
disabled: { type: Boolean },
|
124
|
+
size: { default: "1" },
|
112
125
|
asChild: { type: Boolean },
|
113
|
-
as: { default: "
|
126
|
+
as: { default: "div" }
|
114
127
|
},
|
115
128
|
setup(s) {
|
116
|
-
const
|
117
|
-
return (o, l) => (d(),
|
118
|
-
class: w(["ui-
|
119
|
-
"as-child":
|
120
|
-
as:
|
121
|
-
"data-
|
122
|
-
"data-radius": e.radius,
|
123
|
-
"data-disabled": e.disabled ? !0 : void 0
|
129
|
+
const t = s, e = y(() => k(t, ["size", "variant"]));
|
130
|
+
return (o, l) => (d(), p(a(M), {
|
131
|
+
class: w(["ui-Card", e.value]),
|
132
|
+
"as-child": t.asChild,
|
133
|
+
as: t.as,
|
134
|
+
"data-radius": t.radius
|
124
135
|
}, {
|
125
136
|
default: r(() => [
|
126
|
-
|
137
|
+
g(o.$slots, "default")
|
127
138
|
]),
|
128
139
|
_: 3
|
129
|
-
}, 8, ["class", "as-child", "as", "data-
|
140
|
+
}, 8, ["class", "as-child", "as", "data-radius"]));
|
130
141
|
}
|
131
|
-
}),
|
132
|
-
__name: "
|
142
|
+
}), Ta = /* @__PURE__ */ f({
|
143
|
+
__name: "CardHead",
|
133
144
|
props: {
|
134
145
|
color: {},
|
135
|
-
radius: {},
|
136
|
-
variant: {},
|
137
|
-
size: {},
|
138
|
-
highContrast: { type: Boolean },
|
139
|
-
disabled: { type: Boolean },
|
140
146
|
asChild: { type: Boolean },
|
141
|
-
as: {}
|
147
|
+
as: { default: "div" }
|
142
148
|
},
|
143
149
|
setup(s) {
|
144
|
-
const t =
|
145
|
-
return (
|
150
|
+
const t = s;
|
151
|
+
return (e, o) => (d(), p(a(M), {
|
152
|
+
as: t.as,
|
153
|
+
class: "ui-CardHead",
|
154
|
+
"data-accent-color": t.color
|
155
|
+
}, {
|
146
156
|
default: r(() => [
|
147
|
-
|
157
|
+
g(e.$slots, "default")
|
148
158
|
]),
|
149
159
|
_: 3
|
150
|
-
},
|
160
|
+
}, 8, ["as", "data-accent-color"]));
|
151
161
|
}
|
152
|
-
}),
|
153
|
-
__name: "
|
162
|
+
}), E = /* @__PURE__ */ f({
|
163
|
+
__name: "Button",
|
154
164
|
props: {
|
155
|
-
|
165
|
+
color: {},
|
156
166
|
radius: {},
|
157
|
-
|
167
|
+
variant: { default: "solid" },
|
168
|
+
size: { default: "2" },
|
169
|
+
highContrast: { type: Boolean, default: !1 },
|
170
|
+
disabled: { type: Boolean },
|
158
171
|
asChild: { type: Boolean },
|
159
|
-
as: { default: "
|
172
|
+
as: { default: "button" }
|
160
173
|
},
|
161
174
|
setup(s) {
|
162
|
-
const
|
163
|
-
return (o, l) => (d(),
|
164
|
-
class: w(["ui-
|
165
|
-
"as-child":
|
166
|
-
as:
|
167
|
-
"data-
|
175
|
+
const t = s, e = y(() => k(t, ["size", "variant", "highContrast"]));
|
176
|
+
return (o, l) => (d(), p(a(M), {
|
177
|
+
class: w(["ui-Button", e.value]),
|
178
|
+
"as-child": t.asChild,
|
179
|
+
as: t.as,
|
180
|
+
"data-accent-color": t.color,
|
181
|
+
"data-radius": t.radius,
|
182
|
+
"data-disabled": t.disabled ? !0 : void 0
|
168
183
|
}, {
|
169
184
|
default: r(() => [
|
170
|
-
|
185
|
+
g(o.$slots, "default")
|
171
186
|
]),
|
172
187
|
_: 3
|
173
|
-
}, 8, ["class", "as-child", "as", "data-radius"]));
|
188
|
+
}, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled"]));
|
174
189
|
}
|
175
|
-
}),
|
176
|
-
__name: "
|
190
|
+
}), G = /* @__PURE__ */ f({
|
191
|
+
__name: "IconButton",
|
177
192
|
props: {
|
178
193
|
color: {},
|
194
|
+
radius: {},
|
195
|
+
variant: {},
|
196
|
+
size: {},
|
197
|
+
highContrast: { type: Boolean },
|
198
|
+
disabled: { type: Boolean },
|
179
199
|
asChild: { type: Boolean },
|
180
|
-
as: {
|
200
|
+
as: {}
|
181
201
|
},
|
182
202
|
setup(s) {
|
183
|
-
const e = s;
|
184
|
-
return (
|
185
|
-
as: e.as,
|
186
|
-
class: "ui-CardHead",
|
187
|
-
"data-accent-color": e.color
|
188
|
-
}, {
|
203
|
+
const e = S(s);
|
204
|
+
return (o, l) => (d(), p(E, v({ class: "ui-IconButton" }, a(e)), {
|
189
205
|
default: r(() => [
|
190
|
-
|
206
|
+
g(o.$slots, "default")
|
191
207
|
]),
|
192
208
|
_: 3
|
193
|
-
},
|
209
|
+
}, 16));
|
194
210
|
}
|
195
|
-
}),
|
211
|
+
}), ye = /* @__PURE__ */ f({
|
196
212
|
__name: "ScrollArea",
|
197
213
|
props: {
|
198
214
|
size: { default: "1" },
|
@@ -205,112 +221,54 @@ const ba = /* @__PURE__ */ p({
|
|
205
221
|
as: {}
|
206
222
|
},
|
207
223
|
setup(s) {
|
208
|
-
const
|
209
|
-
return (
|
224
|
+
const t = s;
|
225
|
+
return (e, o) => (d(), p(a(ae), {
|
210
226
|
class: "ui-ScrollArea",
|
211
|
-
"as-child":
|
212
|
-
dir:
|
213
|
-
"scroll-hide-delay":
|
214
|
-
type:
|
215
|
-
"data-radius":
|
227
|
+
"as-child": t.asChild,
|
228
|
+
dir: t.dir,
|
229
|
+
"scroll-hide-delay": t.scrollHideDelay,
|
230
|
+
type: t.type,
|
231
|
+
"data-radius": t.radius
|
216
232
|
}, {
|
217
233
|
default: r(() => [
|
218
|
-
|
234
|
+
c(a(oe), { class: "ui-ScrollAreaViewport" }, {
|
219
235
|
default: r(() => [
|
220
|
-
|
236
|
+
g(e.$slots, "default")
|
221
237
|
]),
|
222
238
|
_: 3
|
223
239
|
}),
|
224
240
|
o[0] || (o[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
225
|
-
|
241
|
+
t.scrollbars !== "horizontal" ? (d(), p(a(N), {
|
226
242
|
key: 0,
|
227
243
|
class: "ui-ScrollAreaScrollbar",
|
228
|
-
"data-size":
|
244
|
+
"data-size": t.size,
|
229
245
|
orientation: "vertical"
|
230
246
|
}, {
|
231
247
|
default: r(() => [
|
232
|
-
|
248
|
+
c(a(Q), { class: "ui-ScrollAreaThumb" })
|
233
249
|
]),
|
234
250
|
_: 1
|
235
|
-
}, 8, ["data-size"])) :
|
236
|
-
|
251
|
+
}, 8, ["data-size"])) : T("", !0),
|
252
|
+
t.scrollbars !== "vertical" ? (d(), p(a(N), {
|
237
253
|
key: 1,
|
238
254
|
class: "ui-ScrollAreaScrollbar",
|
239
|
-
"data-size":
|
255
|
+
"data-size": t.size,
|
240
256
|
orientation: "horizontal"
|
241
257
|
}, {
|
242
258
|
default: r(() => [
|
243
|
-
|
259
|
+
c(a(Q), { class: "ui-ScrollAreaThumb" })
|
244
260
|
]),
|
245
261
|
_: 1
|
246
|
-
}, 8, ["data-size"])) :
|
247
|
-
|
262
|
+
}, 8, ["data-size"])) : T("", !0),
|
263
|
+
t.scrollbars === "both" ? (d(), p(a(De), {
|
248
264
|
key: 2,
|
249
265
|
"class-name": "ui-ScrollAreaCorner"
|
250
|
-
})) :
|
266
|
+
})) : T("", !0)
|
251
267
|
]),
|
252
268
|
_: 3
|
253
269
|
}, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
|
254
270
|
}
|
255
|
-
}),
|
256
|
-
__name: "Separator",
|
257
|
-
props: {
|
258
|
-
as: { default: "span" },
|
259
|
-
orientation: { default: "horizontal" },
|
260
|
-
size: {},
|
261
|
-
color: { default: "gray" }
|
262
|
-
},
|
263
|
-
setup(s) {
|
264
|
-
const e = s;
|
265
|
-
return (t, o) => (d(), f(a(A), {
|
266
|
-
as: e.as,
|
267
|
-
class: w(["ui-Separator", `r-size-${e.size}`]),
|
268
|
-
role: "separator",
|
269
|
-
"data-accent-color": e.color,
|
270
|
-
"aria-orientation": e.orientation
|
271
|
-
}, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
|
272
|
-
}
|
273
|
-
}), Vt = ["data-side", "data-clip"], zt = /* @__PURE__ */ p({
|
274
|
-
__name: "Inset",
|
275
|
-
props: {
|
276
|
-
side: { default: "all" },
|
277
|
-
clip: { default: "border-box" }
|
278
|
-
},
|
279
|
-
setup(s) {
|
280
|
-
const e = s;
|
281
|
-
return (t, o) => (d(), B("div", {
|
282
|
-
class: "ui-Inset",
|
283
|
-
"data-side": e.side,
|
284
|
-
"data-clip": e.clip
|
285
|
-
}, [
|
286
|
-
h(t.$slots, "default")
|
287
|
-
], 8, Vt));
|
288
|
-
}
|
289
|
-
}), Tt = /* @__PURE__ */ p({
|
290
|
-
__name: "Spinner",
|
291
|
-
setup(s) {
|
292
|
-
return (e, t) => (d(), f(a(T), {
|
293
|
-
class: "ui-Spinner",
|
294
|
-
icon: "lucide:loader-circle"
|
295
|
-
}));
|
296
|
-
}
|
297
|
-
}), Sa = /* @__PURE__ */ p({
|
298
|
-
__name: "SavingIndicator",
|
299
|
-
props: {
|
300
|
-
status: {}
|
301
|
-
},
|
302
|
-
setup(s) {
|
303
|
-
const e = s;
|
304
|
-
return (t, o) => e.status === "saving" ? (d(), f(Tt, {
|
305
|
-
key: 0,
|
306
|
-
class: "ui-SavingIndicator _saving"
|
307
|
-
})) : e.status === "saved" ? (d(), f(a(T), {
|
308
|
-
key: 1,
|
309
|
-
class: "ui-SavingIndicator _saved",
|
310
|
-
icon: "lucide:check-circle-2"
|
311
|
-
})) : R("", !0);
|
312
|
-
}
|
313
|
-
}), kt = { class: "ui-DialogScroll" }, Rt = ["data-align"], Va = /* @__PURE__ */ p({
|
271
|
+
}), Ot = { class: "ui-DialogScroll" }, Mt = ["data-align"], ka = /* @__PURE__ */ f({
|
314
272
|
inheritAttrs: !1,
|
315
273
|
__name: "AlertDialogContent",
|
316
274
|
props: {
|
@@ -331,8 +289,8 @@ const ba = /* @__PURE__ */ p({
|
|
331
289
|
as: {}
|
332
290
|
},
|
333
291
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
334
|
-
setup(s, { emit:
|
335
|
-
const
|
292
|
+
setup(s, { emit: t }) {
|
293
|
+
const e = s, l = O(e, t, [
|
336
294
|
"to",
|
337
295
|
"align",
|
338
296
|
"class",
|
@@ -344,39 +302,39 @@ const ba = /* @__PURE__ */ p({
|
|
344
302
|
"minHeight",
|
345
303
|
"maxHeight"
|
346
304
|
]);
|
347
|
-
return (
|
348
|
-
to:
|
305
|
+
return (u, n) => (d(), p(a(Ae), {
|
306
|
+
to: e.to
|
349
307
|
}, {
|
350
308
|
default: r(() => [
|
351
|
-
|
309
|
+
c(a(Ie), { class: "ui-DialogOverlay" }, {
|
352
310
|
default: r(() => [
|
353
|
-
x("div",
|
311
|
+
x("div", Ot, [
|
354
312
|
x("div", {
|
355
313
|
class: "ui-DialogScrollPadding",
|
356
|
-
"data-align":
|
314
|
+
"data-align": e.align
|
357
315
|
}, [
|
358
|
-
|
359
|
-
class: ["ui-DialogContent",
|
360
|
-
"data-size":
|
316
|
+
c(a(Oe), v({
|
317
|
+
class: ["ui-DialogContent", e.class],
|
318
|
+
"data-size": e.size
|
361
319
|
}, {
|
362
|
-
...
|
320
|
+
...u.$attrs,
|
363
321
|
...a(l)
|
364
322
|
}, {
|
365
323
|
style: {
|
366
|
-
width:
|
367
|
-
height:
|
368
|
-
minWidth:
|
369
|
-
maxWidth:
|
370
|
-
minHeight:
|
371
|
-
maxHeight:
|
324
|
+
width: e.width,
|
325
|
+
height: e.height,
|
326
|
+
minWidth: e.minWidth,
|
327
|
+
maxWidth: e.maxWidth,
|
328
|
+
minHeight: e.minHeight,
|
329
|
+
maxHeight: e.maxHeight
|
372
330
|
}
|
373
331
|
}), {
|
374
332
|
default: r(() => [
|
375
|
-
|
333
|
+
g(u.$slots, "default")
|
376
334
|
]),
|
377
335
|
_: 3
|
378
336
|
}, 16, ["class", "data-size", "style"])
|
379
|
-
], 8,
|
337
|
+
], 8, Mt)
|
380
338
|
])
|
381
339
|
]),
|
382
340
|
_: 3
|
@@ -385,7 +343,7 @@ const ba = /* @__PURE__ */ p({
|
|
385
343
|
_: 3
|
386
344
|
}, 8, ["to"]));
|
387
345
|
}
|
388
|
-
}),
|
346
|
+
}), Ft = { class: "ui-DialogScroll" }, Lt = ["data-align"], Ra = /* @__PURE__ */ f({
|
389
347
|
inheritAttrs: !1,
|
390
348
|
__name: "DialogContent",
|
391
349
|
props: {
|
@@ -406,8 +364,8 @@ const ba = /* @__PURE__ */ p({
|
|
406
364
|
as: {}
|
407
365
|
},
|
408
366
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
409
|
-
setup(s, { emit:
|
410
|
-
const
|
367
|
+
setup(s, { emit: t }) {
|
368
|
+
const e = s, l = O(e, t, [
|
411
369
|
"to",
|
412
370
|
"align",
|
413
371
|
"class",
|
@@ -419,39 +377,39 @@ const ba = /* @__PURE__ */ p({
|
|
419
377
|
"minHeight",
|
420
378
|
"maxHeight"
|
421
379
|
]);
|
422
|
-
return (
|
423
|
-
to:
|
380
|
+
return (u, n) => (d(), p(a(Me), {
|
381
|
+
to: e.to
|
424
382
|
}, {
|
425
383
|
default: r(() => [
|
426
|
-
|
384
|
+
c(a(Fe), { class: "ui-DialogOverlay" }, {
|
427
385
|
default: r(() => [
|
428
|
-
x("div",
|
386
|
+
x("div", Ft, [
|
429
387
|
x("div", {
|
430
388
|
class: "ui-DialogScrollPadding",
|
431
|
-
"data-align":
|
389
|
+
"data-align": e.align
|
432
390
|
}, [
|
433
|
-
|
434
|
-
class: ["ui-DialogContent",
|
435
|
-
"data-size":
|
391
|
+
c(a(Le), v({
|
392
|
+
class: ["ui-DialogContent", e.class],
|
393
|
+
"data-size": e.size
|
436
394
|
}, {
|
437
|
-
...
|
395
|
+
...u.$attrs,
|
438
396
|
...a(l)
|
439
397
|
}, {
|
440
398
|
style: {
|
441
|
-
width:
|
442
|
-
height:
|
443
|
-
minWidth:
|
444
|
-
maxWidth:
|
445
|
-
minHeight:
|
446
|
-
maxHeight:
|
399
|
+
width: e.width,
|
400
|
+
height: e.height,
|
401
|
+
minWidth: e.minWidth,
|
402
|
+
maxWidth: e.maxWidth,
|
403
|
+
minHeight: e.minHeight,
|
404
|
+
maxHeight: e.maxHeight
|
447
405
|
}
|
448
406
|
}), {
|
449
407
|
default: r(() => [
|
450
|
-
|
408
|
+
g(u.$slots, "default")
|
451
409
|
]),
|
452
410
|
_: 3
|
453
411
|
}, 16, ["class", "data-size", "style"])
|
454
|
-
], 8,
|
412
|
+
], 8, Lt)
|
455
413
|
])
|
456
414
|
]),
|
457
415
|
_: 3
|
@@ -460,34 +418,35 @@ const ba = /* @__PURE__ */ p({
|
|
460
418
|
_: 3
|
461
419
|
}, 8, ["to"]));
|
462
420
|
}
|
463
|
-
}),
|
421
|
+
}), Pa = /* @__PURE__ */ f({
|
464
422
|
__name: "DialogHead",
|
465
423
|
props: {
|
466
424
|
title: {}
|
467
425
|
},
|
468
426
|
setup(s) {
|
469
|
-
const
|
470
|
-
return (
|
427
|
+
const t = s;
|
428
|
+
return (e, o) => (d(), p(At, {
|
471
429
|
class: "ui-DialogHead",
|
472
430
|
side: "x"
|
473
431
|
}, {
|
474
432
|
default: r(() => [
|
475
|
-
|
433
|
+
c(a(Ge), { class: "font-semibold" }, {
|
476
434
|
default: r(() => [
|
477
|
-
|
435
|
+
H(A(t.title), 1)
|
478
436
|
]),
|
479
437
|
_: 1
|
480
438
|
}),
|
481
|
-
|
482
|
-
as: a(
|
439
|
+
c(E, {
|
440
|
+
as: a(He),
|
483
441
|
type: "button",
|
484
442
|
variant: "ghost",
|
485
443
|
color: "gray",
|
486
444
|
radius: "full",
|
487
|
-
style: { "--button-ghost-padding-x": "var(--space-1)" }
|
445
|
+
style: { "--button-ghost-padding-x": "var(--space-1)" },
|
446
|
+
"aria-label": "Close"
|
488
447
|
}, {
|
489
448
|
default: r(() => [
|
490
|
-
|
449
|
+
c(a(z), { icon: "lucide:x" })
|
491
450
|
]),
|
492
451
|
_: 1
|
493
452
|
}, 8, ["as"])
|
@@ -495,54 +454,7 @@ const ba = /* @__PURE__ */ p({
|
|
495
454
|
_: 1
|
496
455
|
}));
|
497
456
|
}
|
498
|
-
}),
|
499
|
-
inheritAttrs: !1,
|
500
|
-
__name: "PopoverContent",
|
501
|
-
props: {
|
502
|
-
to: {},
|
503
|
-
size: { default: "2" },
|
504
|
-
forceMount: { type: Boolean },
|
505
|
-
trapFocus: { type: Boolean },
|
506
|
-
side: {},
|
507
|
-
sideOffset: {},
|
508
|
-
align: {},
|
509
|
-
alignOffset: {},
|
510
|
-
avoidCollisions: { type: Boolean },
|
511
|
-
collisionBoundary: {},
|
512
|
-
collisionPadding: {},
|
513
|
-
arrowPadding: {},
|
514
|
-
sticky: {},
|
515
|
-
hideWhenDetached: { type: Boolean },
|
516
|
-
positionStrategy: {},
|
517
|
-
updatePositionStrategy: {},
|
518
|
-
disableUpdateOnLayoutShift: { type: Boolean },
|
519
|
-
prioritizePosition: { type: Boolean },
|
520
|
-
reference: {},
|
521
|
-
asChild: { type: Boolean },
|
522
|
-
as: {},
|
523
|
-
disableOutsidePointerEvents: { type: Boolean }
|
524
|
-
},
|
525
|
-
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
526
|
-
setup(s, { emit: e }) {
|
527
|
-
const t = s, l = D(t, e, ["to", "size"]);
|
528
|
-
return (i, n) => (d(), f(a(Oe), {
|
529
|
-
to: t.to
|
530
|
-
}, {
|
531
|
-
default: r(() => [
|
532
|
-
u(a(Fe), g({ ...i.$attrs, ...a(l) }, {
|
533
|
-
"data-size": t.size,
|
534
|
-
class: "ui-PopoverContent"
|
535
|
-
}), {
|
536
|
-
default: r(() => [
|
537
|
-
h(i.$slots, "default")
|
538
|
-
]),
|
539
|
-
_: 3
|
540
|
-
}, 16, ["data-size"])
|
541
|
-
]),
|
542
|
-
_: 3
|
543
|
-
}, 8, ["to"]));
|
544
|
-
}
|
545
|
-
}), It = { class: "ui-MenuViewport" }, [Pt, Ot] = G("ui_DropdownMenuContent"), Ra = /* @__PURE__ */ p({
|
457
|
+
}), Gt = { class: "ui-MenuViewport" }, [Ht, Et] = q("ui_DropdownMenuContent"), Da = /* @__PURE__ */ f({
|
546
458
|
inheritAttrs: !1,
|
547
459
|
__name: "DropdownMenuContent",
|
548
460
|
props: {
|
@@ -572,32 +484,32 @@ const ba = /* @__PURE__ */ p({
|
|
572
484
|
as: {}
|
573
485
|
},
|
574
486
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
575
|
-
setup(s, { emit:
|
576
|
-
const
|
487
|
+
setup(s, { emit: t }) {
|
488
|
+
const e = s, l = O(e, t, [
|
577
489
|
"to",
|
578
490
|
"size",
|
579
491
|
"variant",
|
580
492
|
"color",
|
581
493
|
"highContrast"
|
582
|
-
]), { forwardRef:
|
583
|
-
return
|
584
|
-
to:
|
494
|
+
]), { forwardRef: u } = R(), { size: n, variant: i, color: m, highContrast: C } = W(e);
|
495
|
+
return Et({ size: n, variant: i, color: m, highContrast: C }), (B, _) => (d(), p(a(Ee), {
|
496
|
+
to: e.to
|
585
497
|
}, {
|
586
498
|
default: r(() => [
|
587
|
-
|
588
|
-
...
|
499
|
+
c(a(We), v({
|
500
|
+
...B.$attrs,
|
589
501
|
...a(l)
|
590
502
|
}, {
|
591
|
-
ref: a(
|
503
|
+
ref: a(u),
|
592
504
|
class: "ui-PopperContent ui-MenuContent",
|
593
|
-
"data-accent-color":
|
594
|
-
"data-size":
|
505
|
+
"data-accent-color": e.color,
|
506
|
+
"data-size": e.size
|
595
507
|
}), {
|
596
508
|
default: r(() => [
|
597
|
-
|
509
|
+
c(ye, { type: "auto" }, {
|
598
510
|
default: r(() => [
|
599
|
-
x("div",
|
600
|
-
|
511
|
+
x("div", Gt, [
|
512
|
+
g(B.$slots, "default")
|
601
513
|
])
|
602
514
|
]),
|
603
515
|
_: 3
|
@@ -609,7 +521,7 @@ const ba = /* @__PURE__ */ p({
|
|
609
521
|
_: 3
|
610
522
|
}, 8, ["to"]));
|
611
523
|
}
|
612
|
-
}),
|
524
|
+
}), Wt = ["textContent"], Aa = /* @__PURE__ */ f({
|
613
525
|
__name: "DropdownMenuItem",
|
614
526
|
props: {
|
615
527
|
color: {},
|
@@ -620,32 +532,78 @@ const ba = /* @__PURE__ */ p({
|
|
620
532
|
as: {}
|
621
533
|
},
|
622
534
|
emits: ["select"],
|
623
|
-
setup(s, { emit:
|
624
|
-
const
|
625
|
-
|
626
|
-
const
|
627
|
-
return (n,
|
535
|
+
setup(s, { emit: t }) {
|
536
|
+
const e = s, l = O(e, t, ["color", "shortcut"]);
|
537
|
+
R();
|
538
|
+
const u = Ht();
|
539
|
+
return (n, i) => {
|
628
540
|
var m;
|
629
|
-
return d(),
|
541
|
+
return d(), p(a(je), v({
|
630
542
|
class: "ui-MenuItem",
|
631
|
-
"data-accent-color":
|
632
|
-
"data-size": a(
|
633
|
-
"data-variant": a(
|
634
|
-
"data-high-contrast": ((m = a(
|
543
|
+
"data-accent-color": e.color,
|
544
|
+
"data-size": a(u).size.value,
|
545
|
+
"data-variant": a(u).variant.value,
|
546
|
+
"data-high-contrast": ((m = a(u).highContrast) == null ? void 0 : m.value) || void 0
|
635
547
|
}, a(l)), {
|
636
548
|
default: r(() => [
|
637
|
-
|
638
|
-
|
549
|
+
g(n.$slots, "default"),
|
550
|
+
e.shortcut ? (d(), b("div", {
|
639
551
|
key: 0,
|
640
552
|
class: "ui-MenuShortcut",
|
641
|
-
textContent:
|
642
|
-
}, null, 8,
|
553
|
+
textContent: A(e.shortcut)
|
554
|
+
}, null, 8, Wt)) : T("", !0)
|
643
555
|
]),
|
644
556
|
_: 3
|
645
557
|
}, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
|
646
558
|
};
|
647
559
|
}
|
648
|
-
}),
|
560
|
+
}), Ia = /* @__PURE__ */ f({
|
561
|
+
inheritAttrs: !1,
|
562
|
+
__name: "PopoverContent",
|
563
|
+
props: {
|
564
|
+
to: {},
|
565
|
+
size: { default: "2" },
|
566
|
+
forceMount: { type: Boolean },
|
567
|
+
side: {},
|
568
|
+
sideOffset: {},
|
569
|
+
align: {},
|
570
|
+
alignOffset: {},
|
571
|
+
avoidCollisions: { type: Boolean },
|
572
|
+
collisionBoundary: {},
|
573
|
+
collisionPadding: {},
|
574
|
+
arrowPadding: {},
|
575
|
+
sticky: {},
|
576
|
+
hideWhenDetached: { type: Boolean },
|
577
|
+
positionStrategy: {},
|
578
|
+
updatePositionStrategy: {},
|
579
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
580
|
+
prioritizePosition: { type: Boolean },
|
581
|
+
reference: {},
|
582
|
+
asChild: { type: Boolean },
|
583
|
+
as: {},
|
584
|
+
disableOutsidePointerEvents: { type: Boolean }
|
585
|
+
},
|
586
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
|
587
|
+
setup(s, { emit: t }) {
|
588
|
+
const e = s, l = O(e, t, ["to", "size"]);
|
589
|
+
return (u, n) => (d(), p(a(qe), {
|
590
|
+
to: e.to
|
591
|
+
}, {
|
592
|
+
default: r(() => [
|
593
|
+
c(a(Ue), v({ ...u.$attrs, ...a(l) }, {
|
594
|
+
"data-size": e.size,
|
595
|
+
class: "ui-PopoverContent"
|
596
|
+
}), {
|
597
|
+
default: r(() => [
|
598
|
+
g(u.$slots, "default")
|
599
|
+
]),
|
600
|
+
_: 3
|
601
|
+
}, 16, ["data-size"])
|
602
|
+
]),
|
603
|
+
_: 3
|
604
|
+
}, 8, ["to"]));
|
605
|
+
}
|
606
|
+
}), Oa = /* @__PURE__ */ f({
|
649
607
|
__name: "Switch",
|
650
608
|
props: {
|
651
609
|
color: {},
|
@@ -664,202 +622,81 @@ const ba = /* @__PURE__ */ p({
|
|
664
622
|
required: { type: Boolean }
|
665
623
|
},
|
666
624
|
emits: ["update:modelValue"],
|
667
|
-
setup(s, { emit:
|
668
|
-
const
|
625
|
+
setup(s, { emit: t }) {
|
626
|
+
const e = t, o = s, [l, u] = F(o, e, [
|
669
627
|
"color",
|
670
628
|
"size",
|
671
629
|
"variant",
|
672
630
|
"highContrast",
|
673
631
|
"radius"
|
674
632
|
]);
|
675
|
-
return (n,
|
676
|
-
class: ["ui-Switch", a(
|
633
|
+
return (n, i) => (d(), p(a(Ke), v(a(l), {
|
634
|
+
class: ["ui-Switch", a(u)],
|
677
635
|
"data-accent-color": o.color,
|
678
636
|
"data-radius": o.radius
|
679
637
|
}), {
|
680
638
|
default: r(() => [
|
681
|
-
|
639
|
+
c(a(Ne), { class: "ui-SwitchThumb" })
|
682
640
|
]),
|
683
641
|
_: 1
|
684
642
|
}, 16, ["class", "data-accent-color", "data-radius"]));
|
685
643
|
}
|
686
|
-
}),
|
687
|
-
|
644
|
+
}), jt = {
|
645
|
+
key: 0,
|
646
|
+
xmlns: "http://www.w3.org/2000/svg",
|
647
|
+
viewBox: "0 0 24 24",
|
648
|
+
fill: "none",
|
649
|
+
stroke: "currentColor",
|
650
|
+
"stroke-width": "4",
|
651
|
+
"stroke-linecap": "round",
|
652
|
+
"stroke-linejoin": "round"
|
653
|
+
}, qt = {
|
654
|
+
key: 0,
|
655
|
+
d: "M5 12h14"
|
656
|
+
}, Ut = {
|
657
|
+
key: 1,
|
658
|
+
d: "M20 6 9 17l-5-5"
|
659
|
+
}, Ce = /* @__PURE__ */ f({
|
660
|
+
__name: "Checkbox",
|
688
661
|
props: {
|
689
|
-
modelValue: {},
|
690
662
|
color: {},
|
691
|
-
size: { default: "2" },
|
692
663
|
variant: { default: "surface" },
|
693
|
-
highContrast: { type: Boolean }
|
694
|
-
},
|
695
|
-
emits: ["update:modelValue"],
|
696
|
-
setup(s, { emit: e }) {
|
697
|
-
const t = s, l = I(t, "modelValue", e, {
|
698
|
-
defaultValue: t.modelValue,
|
699
|
-
passive: t.modelValue === void 0
|
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),
|
703
|
-
class: w(["ui-Radio", i.value]),
|
704
|
-
type: "radio",
|
705
|
-
"data-accent-color": t.color
|
706
|
-
}, null, 10, Mt)), [
|
707
|
-
[he, a(l)]
|
708
|
-
]);
|
709
|
-
}
|
710
|
-
}), [ue, Gt] = G("ui_RadioGroupRoot"), Pa = /* @__PURE__ */ p({
|
711
|
-
__name: "RadioGroupRoot",
|
712
|
-
props: {
|
713
|
-
color: {},
|
714
664
|
size: { default: "2" },
|
715
|
-
variant: { default: "surface" },
|
716
665
|
highContrast: { type: Boolean },
|
717
|
-
|
718
|
-
|
666
|
+
defaultValue: { type: [Boolean, String] },
|
667
|
+
modelValue: { type: [Boolean, String, null] },
|
719
668
|
disabled: { type: Boolean },
|
720
|
-
|
721
|
-
|
722
|
-
loop: { type: Boolean },
|
669
|
+
value: {},
|
670
|
+
id: {},
|
723
671
|
asChild: { type: Boolean },
|
724
672
|
as: {},
|
725
673
|
name: {},
|
726
674
|
required: { type: Boolean }
|
727
675
|
},
|
728
676
|
emits: ["update:modelValue"],
|
729
|
-
setup(s, { emit:
|
730
|
-
const
|
731
|
-
return
|
677
|
+
setup(s, { emit: t }) {
|
678
|
+
const e = t, o = s, [l, u] = F(o, e, ["color", "size", "variant", "highContrast"]);
|
679
|
+
return (n, i) => (d(), p(a(Qe), v(a(l), {
|
680
|
+
class: ["ui-Checkbox", a(u)],
|
681
|
+
"data-accent-color": o.color
|
682
|
+
}), {
|
732
683
|
default: r(() => [
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
asChild: { type: Boolean },
|
745
|
-
as: {},
|
746
|
-
name: {},
|
747
|
-
required: { type: Boolean }
|
748
|
-
},
|
749
|
-
setup(s) {
|
750
|
-
const t = $(s), o = ue(), l = v(() => {
|
751
|
-
var n;
|
752
|
-
const i = [
|
753
|
-
`r-size-${o.size.value}`,
|
754
|
-
`r-variant-${o.variant.value}`
|
755
|
-
];
|
756
|
-
return (n = o.highContrast) != null && n.value && i.push("r-high-contrast"), i;
|
757
|
-
});
|
758
|
-
return (i, n) => {
|
759
|
-
var c;
|
760
|
-
return d(), B("label", Lt, [
|
761
|
-
u(a(ne), g({
|
762
|
-
class: ["ui-Radio", l.value],
|
763
|
-
"data-accent-color": (c = a(o).color) == null ? void 0 : c.value
|
764
|
-
}, a(t)), null, 16, ["class", "data-accent-color"]),
|
765
|
-
h(i.$slots, "default")
|
766
|
-
]);
|
767
|
-
};
|
768
|
-
}
|
769
|
-
}), Fa = /* @__PURE__ */ p({
|
770
|
-
__name: "RadioCardsItem",
|
771
|
-
props: {
|
772
|
-
id: {},
|
773
|
-
value: {},
|
774
|
-
disabled: { type: Boolean },
|
775
|
-
asChild: { type: Boolean },
|
776
|
-
as: {},
|
777
|
-
name: {},
|
778
|
-
required: { type: Boolean }
|
779
|
-
},
|
780
|
-
setup(s) {
|
781
|
-
const t = $(s);
|
782
|
-
S();
|
783
|
-
const o = ue();
|
784
|
-
return (l, i) => {
|
785
|
-
var n, c;
|
786
|
-
return d(), f(a(ne), g({
|
787
|
-
class: "ui-RadioCardsItem",
|
788
|
-
"data-accent-color": (n = a(o).color) == null ? void 0 : n.value,
|
789
|
-
"data-size": a(o).size.value,
|
790
|
-
"data-variant": a(o).variant.value,
|
791
|
-
"data-high-contrast": (c = a(o).highContrast) == null ? void 0 : c.value
|
792
|
-
}, { ...a(t), asChild: !1 }), {
|
793
|
-
default: r(() => [
|
794
|
-
u(St, {
|
795
|
-
"as-child": a(t).asChild
|
796
|
-
}, {
|
797
|
-
default: r(() => [
|
798
|
-
h(l.$slots, "default")
|
799
|
-
]),
|
800
|
-
_: 3
|
801
|
-
}, 8, ["as-child"])
|
802
|
-
]),
|
803
|
-
_: 3
|
804
|
-
}, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
|
805
|
-
};
|
806
|
-
}
|
807
|
-
}), Ht = {
|
808
|
-
key: 0,
|
809
|
-
xmlns: "http://www.w3.org/2000/svg",
|
810
|
-
viewBox: "0 0 24 24",
|
811
|
-
fill: "none",
|
812
|
-
stroke: "currentColor",
|
813
|
-
"stroke-width": "4",
|
814
|
-
"stroke-linecap": "round",
|
815
|
-
"stroke-linejoin": "round"
|
816
|
-
}, Wt = {
|
817
|
-
key: 0,
|
818
|
-
d: "M5 12h14"
|
819
|
-
}, jt = {
|
820
|
-
key: 1,
|
821
|
-
d: "M20 6 9 17l-5-5"
|
822
|
-
}, pe = /* @__PURE__ */ p({
|
823
|
-
__name: "Checkbox",
|
824
|
-
props: {
|
825
|
-
color: {},
|
826
|
-
variant: { default: "surface" },
|
827
|
-
size: { default: "2" },
|
828
|
-
highContrast: { type: Boolean },
|
829
|
-
defaultValue: { type: [Boolean, String] },
|
830
|
-
modelValue: { type: [Boolean, String, null] },
|
831
|
-
disabled: { type: Boolean },
|
832
|
-
value: {},
|
833
|
-
id: {},
|
834
|
-
asChild: { type: Boolean },
|
835
|
-
as: {},
|
836
|
-
name: {},
|
837
|
-
required: { type: Boolean }
|
838
|
-
},
|
839
|
-
emits: ["update:modelValue"],
|
840
|
-
setup(s, { emit: e }) {
|
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), {
|
843
|
-
class: ["ui-Checkbox", a(i)],
|
844
|
-
"data-accent-color": o.color
|
845
|
-
}), {
|
846
|
-
default: r(() => [
|
847
|
-
u(a(Ee), {
|
848
|
-
class: "ui-CheckboxIndicator",
|
849
|
-
"as-child": ""
|
850
|
-
}, {
|
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)
|
855
|
-
]),
|
856
|
-
_: 1
|
857
|
-
})
|
684
|
+
c(a(Je), {
|
685
|
+
class: "ui-CheckboxIndicator",
|
686
|
+
"as-child": ""
|
687
|
+
}, {
|
688
|
+
default: r(() => [
|
689
|
+
a(l).checked !== !1 ? (d(), b("svg", jt, [
|
690
|
+
a(l).checked === "indeterminate" ? (d(), b("path", qt)) : (d(), b("path", Ut))
|
691
|
+
])) : T("", !0)
|
692
|
+
]),
|
693
|
+
_: 1
|
694
|
+
})
|
858
695
|
]),
|
859
696
|
_: 1
|
860
697
|
}, 16, ["class", "data-accent-color"]));
|
861
698
|
}
|
862
|
-
}), [
|
699
|
+
}), [be, Kt] = q("ui_CheckboxGroupRoot"), Ma = /* @__PURE__ */ f({
|
863
700
|
__name: "CheckboxGroupRoot",
|
864
701
|
props: {
|
865
702
|
modelValue: {},
|
@@ -870,48 +707,48 @@ const ba = /* @__PURE__ */ p({
|
|
870
707
|
as: {}
|
871
708
|
},
|
872
709
|
emits: ["update:modelValue"],
|
873
|
-
setup(s, { emit:
|
874
|
-
const
|
875
|
-
defaultValue:
|
876
|
-
passive:
|
877
|
-
}), m =
|
878
|
-
var
|
879
|
-
return n.value.length ? ((
|
880
|
-
}),
|
881
|
-
var
|
882
|
-
const
|
883
|
-
|
710
|
+
setup(s, { emit: t }) {
|
711
|
+
const e = s, o = t, { disabled: l, name: u } = W(e), n = J([]), i = I(e, "modelValue", o, {
|
712
|
+
defaultValue: e.defaultValue,
|
713
|
+
passive: e.modelValue === void 0
|
714
|
+
}), m = y(() => i.value || []), C = y(() => {
|
715
|
+
var _, h;
|
716
|
+
return n.value.length ? ((_ = i.value) == null ? void 0 : _.length) === n.value.length ? !0 : (h = i.value) != null && h.length ? "indeterminate" : !1 : !1;
|
717
|
+
}), B = (_) => {
|
718
|
+
var $, V;
|
719
|
+
const h = ($ = i.value) == null ? void 0 : $.indexOf(_);
|
720
|
+
h !== -1 && h !== void 0 && ((V = i.value) == null || V.splice(h, 1));
|
884
721
|
};
|
885
|
-
return
|
722
|
+
return Kt({
|
886
723
|
selected: m,
|
887
|
-
checked:
|
888
|
-
addModelValue: (
|
889
|
-
var
|
890
|
-
((
|
724
|
+
checked: C,
|
725
|
+
addModelValue: (_) => {
|
726
|
+
var h, $;
|
727
|
+
((h = i.value) == null ? void 0 : h.indexOf(_)) === -1 && (($ = i.value) == null || $.push(_));
|
891
728
|
},
|
892
|
-
removeModelValue:
|
893
|
-
toggleModelValue: (
|
894
|
-
|
729
|
+
removeModelValue: B,
|
730
|
+
toggleModelValue: (_) => {
|
731
|
+
_ ? i.value = [...n.value] : i.value = [];
|
895
732
|
},
|
896
|
-
initAllValue: (
|
897
|
-
n.value.push(
|
733
|
+
initAllValue: (_) => {
|
734
|
+
n.value.push(_);
|
898
735
|
},
|
899
|
-
removeAllValue: (
|
900
|
-
n.value.splice(n.value.indexOf(
|
736
|
+
removeAllValue: (_) => {
|
737
|
+
n.value.splice(n.value.indexOf(_), 1), B(_);
|
901
738
|
},
|
902
739
|
disabled: l,
|
903
|
-
name:
|
904
|
-
}), (
|
905
|
-
as:
|
906
|
-
"as-child":
|
740
|
+
name: u == null ? void 0 : u.value
|
741
|
+
}), (_, h) => (d(), p(a(M), {
|
742
|
+
as: e.as,
|
743
|
+
"as-child": e.asChild
|
907
744
|
}, {
|
908
745
|
default: r(() => [
|
909
|
-
|
746
|
+
g(_.$slots, "default")
|
910
747
|
]),
|
911
748
|
_: 3
|
912
749
|
}, 8, ["as", "as-child"]));
|
913
750
|
}
|
914
|
-
}),
|
751
|
+
}), Fa = /* @__PURE__ */ f({
|
915
752
|
__name: "CheckboxGroupItem",
|
916
753
|
props: {
|
917
754
|
value: {},
|
@@ -929,26 +766,26 @@ const ba = /* @__PURE__ */ p({
|
|
929
766
|
required: { type: Boolean }
|
930
767
|
},
|
931
768
|
setup(s) {
|
932
|
-
const
|
933
|
-
|
934
|
-
const o =
|
935
|
-
var
|
936
|
-
return ((
|
937
|
-
}),
|
938
|
-
|
769
|
+
const t = s, e = S(t);
|
770
|
+
R();
|
771
|
+
const o = be(), l = y(() => {
|
772
|
+
var i;
|
773
|
+
return ((i = o.disabled) == null ? void 0 : i.value) || t.disabled;
|
774
|
+
}), u = y(() => o.selected.value.indexOf(t.value) !== -1), n = (i) => {
|
775
|
+
i ? o.addModelValue(t.value) : o.removeModelValue(t.value);
|
939
776
|
};
|
940
|
-
return
|
941
|
-
o.initAllValue(
|
942
|
-
}),
|
943
|
-
o.removeAllValue(
|
944
|
-
}), (
|
945
|
-
...a(
|
946
|
-
name:
|
947
|
-
checked:
|
777
|
+
return de(() => {
|
778
|
+
o.initAllValue(t.value);
|
779
|
+
}), ue(() => {
|
780
|
+
o.removeAllValue(t.value);
|
781
|
+
}), (i, m) => (d(), p(Ce, v({
|
782
|
+
...a(e),
|
783
|
+
name: t.name || a(o).name,
|
784
|
+
checked: u.value,
|
948
785
|
disabled: l.value
|
949
786
|
}, { "onUpdate:checked": n }), null, 16));
|
950
787
|
}
|
951
|
-
}), La = /* @__PURE__ */
|
788
|
+
}), La = /* @__PURE__ */ f({
|
952
789
|
__name: "CheckboxGroupControl",
|
953
790
|
props: {
|
954
791
|
color: {},
|
@@ -966,145 +803,22 @@ const ba = /* @__PURE__ */ p({
|
|
966
803
|
required: { type: Boolean }
|
967
804
|
},
|
968
805
|
setup(s) {
|
969
|
-
const
|
970
|
-
|
971
|
-
const o =
|
806
|
+
const t = s, e = S(t);
|
807
|
+
R();
|
808
|
+
const o = be(), l = y(() => {
|
972
809
|
var n;
|
973
|
-
return ((n = o.disabled) == null ? void 0 : n.value) ||
|
974
|
-
}),
|
975
|
-
return (n,
|
976
|
-
...a(
|
977
|
-
name:
|
978
|
-
checked:
|
810
|
+
return ((n = o.disabled) == null ? void 0 : n.value) || t.disabled;
|
811
|
+
}), u = y(() => o.checked.value);
|
812
|
+
return (n, i) => (d(), p(Ce, v({
|
813
|
+
...a(e),
|
814
|
+
name: t.name || a(o).name,
|
815
|
+
checked: u.value,
|
979
816
|
disabled: l.value
|
980
817
|
}, {
|
981
818
|
"onUpdate:checked": a(o).toggleModelValue
|
982
819
|
}), null, 16, ["onUpdate:checked"]));
|
983
820
|
}
|
984
|
-
}),
|
985
|
-
key: 0,
|
986
|
-
class: "ui-TextFieldSlot",
|
987
|
-
"data-side": "left"
|
988
|
-
}, Nt = {
|
989
|
-
key: 1,
|
990
|
-
class: "ui-TextFieldSlot",
|
991
|
-
"data-side": "right"
|
992
|
-
}, Ha = /* @__PURE__ */ p({
|
993
|
-
inheritAttrs: !1,
|
994
|
-
__name: "TextField",
|
995
|
-
props: {
|
996
|
-
id: {},
|
997
|
-
class: {},
|
998
|
-
modelValue: {},
|
999
|
-
size: { default: "2" },
|
1000
|
-
variant: { default: "surface" },
|
1001
|
-
color: {},
|
1002
|
-
radius: {},
|
1003
|
-
type: { default: "text" }
|
1004
|
-
},
|
1005
|
-
emits: ["update:modelValue"],
|
1006
|
-
setup(s, { emit: e }) {
|
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;
|
1013
|
-
requestAnimationFrame(() => {
|
1014
|
-
b.setSelectionRange(_, _), b.focus();
|
1015
|
-
});
|
1016
|
-
}, n = I(t, "modelValue", e, {
|
1017
|
-
defaultValue: t.modelValue,
|
1018
|
-
passive: t.modelValue === void 0
|
1019
|
-
}), c = v(() => {
|
1020
|
-
const m = V(t, ["size", "variant"]);
|
1021
|
-
return t.class && m.push(t.class), m;
|
1022
|
-
});
|
1023
|
-
return (m, y) => (d(), B("div", {
|
1024
|
-
class: w(["ui-TextField", c.value]),
|
1025
|
-
"data-radius": t.radius,
|
1026
|
-
"data-accent-color": t.color,
|
1027
|
-
onPointerdown: l
|
1028
|
-
}, [
|
1029
|
-
E(x("input", g({
|
1030
|
-
id: t.id,
|
1031
|
-
ref_key: "inputRef",
|
1032
|
-
ref: o,
|
1033
|
-
"onUpdate:modelValue": y[0] || (y[0] = (b) => M(n) ? n.value = b : null),
|
1034
|
-
type: t.type
|
1035
|
-
}, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Ut), [
|
1036
|
-
[_e, a(n)]
|
1037
|
-
]),
|
1038
|
-
m.$slots.left ? (d(), B("div", Kt, [
|
1039
|
-
h(m.$slots, "left")
|
1040
|
-
])) : R("", !0),
|
1041
|
-
m.$slots.right ? (d(), B("div", Nt, [
|
1042
|
-
h(m.$slots, "right")
|
1043
|
-
])) : R("", !0)
|
1044
|
-
], 42, qt));
|
1045
|
-
}
|
1046
|
-
}), Qt = ["data-accent-color"], Wa = /* @__PURE__ */ p({
|
1047
|
-
inheritAttrs: !1,
|
1048
|
-
__name: "TextArea",
|
1049
|
-
props: {
|
1050
|
-
class: {},
|
1051
|
-
modelValue: {},
|
1052
|
-
size: { default: "2" },
|
1053
|
-
variant: { default: "surface" },
|
1054
|
-
resize: {},
|
1055
|
-
color: {},
|
1056
|
-
radius: {}
|
1057
|
-
},
|
1058
|
-
emits: ["update:modelValue"],
|
1059
|
-
setup(s, { emit: e }) {
|
1060
|
-
const t = s, l = I(t, "modelValue", e, {
|
1061
|
-
defaultValue: t.modelValue,
|
1062
|
-
passive: t.modelValue === void 0
|
1063
|
-
}), i = v(() => {
|
1064
|
-
const n = V(t, ["size", "variant", "resize"]);
|
1065
|
-
return t.class && n.push(t.class), n;
|
1066
|
-
});
|
1067
|
-
return (n, c) => (d(), B("div", {
|
1068
|
-
class: w(["ui-TextArea", i.value]),
|
1069
|
-
"data-accent-color": t.color
|
1070
|
-
}, [
|
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)]
|
1075
|
-
])
|
1076
|
-
], 10, Qt));
|
1077
|
-
}
|
1078
|
-
}), Jt = ["data-radius"], Zt = ["id"], ja = /* @__PURE__ */ p({
|
1079
|
-
__name: "ColorField",
|
1080
|
-
props: {
|
1081
|
-
id: {},
|
1082
|
-
modelValue: {},
|
1083
|
-
variant: { default: "solid" },
|
1084
|
-
size: { default: "2" },
|
1085
|
-
radius: {}
|
1086
|
-
},
|
1087
|
-
emits: ["update:modelValue"],
|
1088
|
-
setup(s, { emit: e }) {
|
1089
|
-
const t = s, l = I(t, "modelValue", e, {
|
1090
|
-
defaultValue: t.modelValue || "#000000",
|
1091
|
-
passive: t.modelValue === void 0
|
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
|
-
}, [
|
1097
|
-
E(x("input", {
|
1098
|
-
id: t.id,
|
1099
|
-
"onUpdate:modelValue": c[0] || (c[0] = (m) => M(l) ? l.value = m : null),
|
1100
|
-
class: "ui-ColorFieldInput",
|
1101
|
-
type: "color"
|
1102
|
-
}, null, 8, Zt), [
|
1103
|
-
[oe, a(l)]
|
1104
|
-
])
|
1105
|
-
], 10, Jt));
|
1106
|
-
}
|
1107
|
-
}), Ea = /* @__PURE__ */ p({
|
821
|
+
}), Ga = /* @__PURE__ */ f({
|
1108
822
|
__name: "Toggle",
|
1109
823
|
props: {
|
1110
824
|
color: {},
|
@@ -1121,26 +835,26 @@ const ba = /* @__PURE__ */ p({
|
|
1121
835
|
required: { type: Boolean }
|
1122
836
|
},
|
1123
837
|
emits: ["update:modelValue"],
|
1124
|
-
setup(s, { emit:
|
1125
|
-
const
|
838
|
+
setup(s, { emit: t }) {
|
839
|
+
const e = t, o = s, [l, u] = F(o, e, [
|
1126
840
|
"color",
|
1127
841
|
"size",
|
1128
842
|
"variant",
|
1129
843
|
"highContrast",
|
1130
844
|
"radius"
|
1131
845
|
]);
|
1132
|
-
return (n,
|
1133
|
-
class: ["ui-Toggle", a(
|
846
|
+
return (n, i) => (d(), p(a(Ze), v(a(l), {
|
847
|
+
class: ["ui-Toggle", a(u)],
|
1134
848
|
"data-accent-color": o.color,
|
1135
849
|
"data-radius": o.radius
|
1136
850
|
}), {
|
1137
851
|
default: r(() => [
|
1138
|
-
|
852
|
+
g(n.$slots, "default")
|
1139
853
|
]),
|
1140
854
|
_: 3
|
1141
855
|
}, 16, ["class", "data-accent-color", "data-radius"]));
|
1142
856
|
}
|
1143
|
-
}),
|
857
|
+
}), Ha = /* @__PURE__ */ f({
|
1144
858
|
__name: "ToggleGroupRoot",
|
1145
859
|
props: {
|
1146
860
|
color: {},
|
@@ -1162,26 +876,26 @@ const ba = /* @__PURE__ */ p({
|
|
1162
876
|
defaultValue: {}
|
1163
877
|
},
|
1164
878
|
emits: ["update:modelValue"],
|
1165
|
-
setup(s, { emit:
|
1166
|
-
const
|
879
|
+
setup(s, { emit: t }) {
|
880
|
+
const e = t, o = s, [l, u] = F(o, e, [
|
1167
881
|
"color",
|
1168
882
|
"size",
|
1169
883
|
"variant",
|
1170
884
|
"highContrast",
|
1171
885
|
"radius"
|
1172
886
|
]);
|
1173
|
-
return (n,
|
1174
|
-
class: ["ui-ToggleGroupRoot", a(
|
887
|
+
return (n, i) => (d(), p(a(Xe), v(a(l), {
|
888
|
+
class: ["ui-ToggleGroupRoot", a(u)],
|
1175
889
|
"data-accent-color": o.color,
|
1176
890
|
"data-radius": o.radius
|
1177
891
|
}), {
|
1178
892
|
default: r(() => [
|
1179
|
-
|
893
|
+
g(n.$slots, "default")
|
1180
894
|
]),
|
1181
895
|
_: 3
|
1182
896
|
}, 16, ["class", "data-accent-color", "data-radius"]));
|
1183
897
|
}
|
1184
|
-
}),
|
898
|
+
}), Ea = /* @__PURE__ */ f({
|
1185
899
|
__name: "ToggleGroupItem",
|
1186
900
|
props: {
|
1187
901
|
value: {},
|
@@ -1192,15 +906,138 @@ const ba = /* @__PURE__ */ p({
|
|
1192
906
|
as: {}
|
1193
907
|
},
|
1194
908
|
setup(s) {
|
1195
|
-
const
|
1196
|
-
return (o, l) => (d(),
|
909
|
+
const e = S(s);
|
910
|
+
return (o, l) => (d(), p(a(Ye), v(a(e), { class: "ui-ToggleGroupItem" }), {
|
1197
911
|
default: r(() => [
|
1198
|
-
|
912
|
+
g(o.$slots, "default")
|
1199
913
|
]),
|
1200
914
|
_: 3
|
1201
915
|
}, 16));
|
1202
916
|
}
|
1203
|
-
}), [
|
917
|
+
}), Nt = ["data-radius", "data-accent-color"], Qt = ["id", "type"], Jt = {
|
918
|
+
key: 0,
|
919
|
+
class: "ui-TextFieldSlot",
|
920
|
+
"data-side": "left"
|
921
|
+
}, Zt = {
|
922
|
+
key: 1,
|
923
|
+
class: "ui-TextFieldSlot",
|
924
|
+
"data-side": "right"
|
925
|
+
}, Wa = /* @__PURE__ */ f({
|
926
|
+
inheritAttrs: !1,
|
927
|
+
__name: "TextField",
|
928
|
+
props: {
|
929
|
+
id: {},
|
930
|
+
class: {},
|
931
|
+
modelValue: {},
|
932
|
+
size: { default: "2" },
|
933
|
+
variant: { default: "surface" },
|
934
|
+
color: {},
|
935
|
+
radius: {},
|
936
|
+
type: { default: "text" }
|
937
|
+
},
|
938
|
+
emits: ["update:modelValue"],
|
939
|
+
setup(s, { emit: t }) {
|
940
|
+
const e = s, o = J(), l = (m) => {
|
941
|
+
const C = m.target;
|
942
|
+
if (C.closest("input, button, a")) return;
|
943
|
+
const B = o.value;
|
944
|
+
if (!B) return;
|
945
|
+
const h = C.closest("[data-side=right]") ? B.value.length : 0;
|
946
|
+
requestAnimationFrame(() => {
|
947
|
+
B.setSelectionRange(h, h), B.focus();
|
948
|
+
});
|
949
|
+
}, n = I(e, "modelValue", t, {
|
950
|
+
defaultValue: e.modelValue,
|
951
|
+
passive: e.modelValue === void 0
|
952
|
+
}), i = y(() => {
|
953
|
+
const m = k(e, ["size", "variant"]);
|
954
|
+
return e.class && m.push(e.class), m;
|
955
|
+
});
|
956
|
+
return (m, C) => (d(), b("div", {
|
957
|
+
class: w(["ui-TextField", i.value]),
|
958
|
+
"data-radius": e.radius,
|
959
|
+
"data-accent-color": e.color,
|
960
|
+
onPointerdown: l
|
961
|
+
}, [
|
962
|
+
Z(x("input", v({
|
963
|
+
id: e.id,
|
964
|
+
ref_key: "inputRef",
|
965
|
+
ref: o,
|
966
|
+
"onUpdate:modelValue": C[0] || (C[0] = (B) => j(n) ? n.value = B : null),
|
967
|
+
type: e.type
|
968
|
+
}, m.$attrs, { class: "ui-TextFieldInput" }), null, 16, Qt), [
|
969
|
+
[xe, a(n)]
|
970
|
+
]),
|
971
|
+
m.$slots.left ? (d(), b("div", Jt, [
|
972
|
+
g(m.$slots, "left")
|
973
|
+
])) : T("", !0),
|
974
|
+
m.$slots.right ? (d(), b("div", Zt, [
|
975
|
+
g(m.$slots, "right")
|
976
|
+
])) : T("", !0)
|
977
|
+
], 42, Nt));
|
978
|
+
}
|
979
|
+
}), Xt = ["data-accent-color"], ja = /* @__PURE__ */ f({
|
980
|
+
inheritAttrs: !1,
|
981
|
+
__name: "TextArea",
|
982
|
+
props: {
|
983
|
+
class: {},
|
984
|
+
modelValue: {},
|
985
|
+
size: { default: "2" },
|
986
|
+
variant: { default: "surface" },
|
987
|
+
resize: {},
|
988
|
+
color: {},
|
989
|
+
radius: {}
|
990
|
+
},
|
991
|
+
emits: ["update:modelValue"],
|
992
|
+
setup(s, { emit: t }) {
|
993
|
+
const e = s, l = I(e, "modelValue", t, {
|
994
|
+
defaultValue: e.modelValue,
|
995
|
+
passive: e.modelValue === void 0
|
996
|
+
}), u = y(() => {
|
997
|
+
const n = k(e, ["size", "variant", "resize"]);
|
998
|
+
return e.class && n.push(e.class), n;
|
999
|
+
});
|
1000
|
+
return (n, i) => (d(), b("div", {
|
1001
|
+
class: w(["ui-TextArea", u.value]),
|
1002
|
+
"data-accent-color": e.color
|
1003
|
+
}, [
|
1004
|
+
Z(x("textarea", v({
|
1005
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => j(l) ? l.value = m : null)
|
1006
|
+
}, n.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
|
1007
|
+
[ce, a(l)]
|
1008
|
+
])
|
1009
|
+
], 10, Xt));
|
1010
|
+
}
|
1011
|
+
}), Yt = ["data-radius"], ea = ["id"], qa = /* @__PURE__ */ f({
|
1012
|
+
__name: "ColorField",
|
1013
|
+
props: {
|
1014
|
+
id: {},
|
1015
|
+
modelValue: {},
|
1016
|
+
variant: { default: "solid" },
|
1017
|
+
size: { default: "2" },
|
1018
|
+
radius: {}
|
1019
|
+
},
|
1020
|
+
emits: ["update:modelValue"],
|
1021
|
+
setup(s, { emit: t }) {
|
1022
|
+
const e = s, l = I(e, "modelValue", t, {
|
1023
|
+
defaultValue: e.modelValue || "#000000",
|
1024
|
+
passive: e.modelValue === void 0
|
1025
|
+
}), u = y(() => k(e, ["size", "variant"]));
|
1026
|
+
return (n, i) => (d(), b("div", {
|
1027
|
+
class: w(["ui-ColorField", u.value]),
|
1028
|
+
"data-radius": e.radius
|
1029
|
+
}, [
|
1030
|
+
Z(x("input", {
|
1031
|
+
id: e.id,
|
1032
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => j(l) ? l.value = m : null),
|
1033
|
+
class: "ui-ColorFieldInput",
|
1034
|
+
type: "color"
|
1035
|
+
}, null, 8, ea), [
|
1036
|
+
[ce, a(l)]
|
1037
|
+
])
|
1038
|
+
], 10, Yt));
|
1039
|
+
}
|
1040
|
+
}), [Be, ta] = q("ui_SelectRoot"), Ua = /* @__PURE__ */ f({
|
1204
1041
|
__name: "SelectRoot",
|
1205
1042
|
props: {
|
1206
1043
|
size: { default: "2" },
|
@@ -1219,20 +1056,20 @@ const ba = /* @__PURE__ */ p({
|
|
1219
1056
|
required: { type: Boolean }
|
1220
1057
|
},
|
1221
1058
|
emits: ["update:modelValue", "update:open"],
|
1222
|
-
setup(s, { emit:
|
1223
|
-
const
|
1224
|
-
return
|
1059
|
+
setup(s, { emit: t }) {
|
1060
|
+
const e = s, o = t, { size: l, color: u, highContrast: n } = W(e), i = O(e, o, ["size", "color", "highContrast"]);
|
1061
|
+
return ta({
|
1225
1062
|
size: l,
|
1226
|
-
color:
|
1063
|
+
color: u,
|
1227
1064
|
highContrast: n
|
1228
|
-
}), (m,
|
1065
|
+
}), (m, C) => (d(), p(a(et), we(ze(a(i))), {
|
1229
1066
|
default: r(() => [
|
1230
|
-
|
1067
|
+
g(m.$slots, "default")
|
1231
1068
|
]),
|
1232
1069
|
_: 3
|
1233
1070
|
}, 16));
|
1234
1071
|
}
|
1235
|
-
}),
|
1072
|
+
}), Ka = /* @__PURE__ */ f({
|
1236
1073
|
inheritAttrs: !1,
|
1237
1074
|
__name: "SelectContent",
|
1238
1075
|
props: {
|
@@ -1260,48 +1097,48 @@ const ba = /* @__PURE__ */ p({
|
|
1260
1097
|
as: {}
|
1261
1098
|
},
|
1262
1099
|
setup(s) {
|
1263
|
-
const
|
1264
|
-
const n = ["r-size-" + l.size.value, "r-variant-" +
|
1265
|
-
return l.highContrast.value && n.push("r-high-contrast"),
|
1100
|
+
const t = s, e = S(t), { forwardRef: o } = R(), l = Be(), u = y(() => {
|
1101
|
+
const n = ["r-size-" + l.size.value, "r-variant-" + t.variant];
|
1102
|
+
return l.highContrast.value && n.push("r-high-contrast"), t.position === "popper" && n.push("ui-PopperContent"), n;
|
1266
1103
|
});
|
1267
|
-
return (n,
|
1268
|
-
to:
|
1104
|
+
return (n, i) => (d(), p(a(tt), {
|
1105
|
+
to: t.to
|
1269
1106
|
}, {
|
1270
1107
|
default: r(() => [
|
1271
|
-
|
1108
|
+
c(a(at), v({ ref: a(o) }, {
|
1272
1109
|
...n.$attrs,
|
1273
|
-
...a(
|
1110
|
+
...a(e),
|
1274
1111
|
to: void 0,
|
1275
1112
|
variant: void 0
|
1276
1113
|
}, {
|
1277
|
-
class: ["ui-SelectContent",
|
1114
|
+
class: ["ui-SelectContent", u.value],
|
1278
1115
|
"data-accent-color": a(l).color.value
|
1279
1116
|
}), {
|
1280
1117
|
default: r(() => [
|
1281
|
-
|
1118
|
+
c(a(ae), {
|
1282
1119
|
type: "auto",
|
1283
1120
|
class: "ui-ScrollArea"
|
1284
1121
|
}, {
|
1285
1122
|
default: r(() => [
|
1286
|
-
|
1123
|
+
c(a(ot), {
|
1287
1124
|
class: "ui-SelectViewport",
|
1288
1125
|
"as-child": ""
|
1289
1126
|
}, {
|
1290
1127
|
default: r(() => [
|
1291
|
-
|
1128
|
+
c(a(oe), { class: "ui-ScrollAreaViewport" }, {
|
1292
1129
|
default: r(() => [
|
1293
|
-
|
1130
|
+
g(n.$slots, "default")
|
1294
1131
|
]),
|
1295
1132
|
_: 3
|
1296
1133
|
}),
|
1297
|
-
|
1298
|
-
|
1134
|
+
i[0] || (i[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
1135
|
+
c(a(N), {
|
1299
1136
|
class: "ui-ScrollAreaScrollbar",
|
1300
1137
|
"data-size": 1,
|
1301
1138
|
orientation: "vertical"
|
1302
1139
|
}, {
|
1303
1140
|
default: r(() => [
|
1304
|
-
|
1141
|
+
c(a(Q), { class: "ui-ScrollAreaThumb" })
|
1305
1142
|
]),
|
1306
1143
|
_: 1
|
1307
1144
|
})
|
@@ -1318,7 +1155,7 @@ const ba = /* @__PURE__ */ p({
|
|
1318
1155
|
_: 3
|
1319
1156
|
}, 8, ["to"]));
|
1320
1157
|
}
|
1321
|
-
}),
|
1158
|
+
}), aa = { class: "ui-SelectTriggerInner" }, Na = /* @__PURE__ */ f({
|
1322
1159
|
__name: "SelectTrigger",
|
1323
1160
|
props: {
|
1324
1161
|
variant: { default: "surface" },
|
@@ -1330,22 +1167,22 @@ const ba = /* @__PURE__ */ p({
|
|
1330
1167
|
as: {}
|
1331
1168
|
},
|
1332
1169
|
setup(s) {
|
1333
|
-
const
|
1334
|
-
return (l,
|
1170
|
+
const t = s, e = Be(), o = y(() => [`r-variant-${t.variant}`, `r-size-${e.size.value}`]);
|
1171
|
+
return (l, u) => (d(), p(a(st), {
|
1335
1172
|
class: w(["ui-SelectTrigger", o.value]),
|
1336
|
-
disabled:
|
1337
|
-
"data-accent-color": a(
|
1338
|
-
"data-radius":
|
1173
|
+
disabled: t.disabled,
|
1174
|
+
"data-accent-color": a(e).color,
|
1175
|
+
"data-radius": t.radius
|
1339
1176
|
}, {
|
1340
1177
|
default: r(() => [
|
1341
|
-
x("span",
|
1342
|
-
|
1343
|
-
placeholder:
|
1178
|
+
x("span", aa, [
|
1179
|
+
c(a(lt), {
|
1180
|
+
placeholder: t.placeholder
|
1344
1181
|
}, null, 8, ["placeholder"])
|
1345
1182
|
]),
|
1346
|
-
|
1183
|
+
c(a(nt), { "as-child": "" }, {
|
1347
1184
|
default: r(() => [
|
1348
|
-
|
1185
|
+
c(a(z), {
|
1349
1186
|
class: "ui-SelectIcon",
|
1350
1187
|
icon: "radix-icons:chevron-down"
|
1351
1188
|
})
|
@@ -1356,7 +1193,7 @@ const ba = /* @__PURE__ */ p({
|
|
1356
1193
|
_: 1
|
1357
1194
|
}, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
|
1358
1195
|
}
|
1359
|
-
}),
|
1196
|
+
}), Qa = /* @__PURE__ */ f({
|
1360
1197
|
__name: "SelectItem",
|
1361
1198
|
props: {
|
1362
1199
|
value: {},
|
@@ -1366,18 +1203,18 @@ const ba = /* @__PURE__ */ p({
|
|
1366
1203
|
as: {}
|
1367
1204
|
},
|
1368
1205
|
setup(s) {
|
1369
|
-
const
|
1370
|
-
return
|
1206
|
+
const e = S(s);
|
1207
|
+
return R(), (o, l) => (d(), p(a(rt), v({ class: "ui-SelectItem" }, a(e)), {
|
1371
1208
|
default: r(() => [
|
1372
|
-
|
1209
|
+
c(a(it), { class: "ui-SelectItemIndicator" }, {
|
1373
1210
|
default: r(() => [
|
1374
|
-
|
1211
|
+
c(a(z), { icon: "radix-icons:check" })
|
1375
1212
|
]),
|
1376
1213
|
_: 1
|
1377
1214
|
}),
|
1378
|
-
|
1215
|
+
c(a(dt), null, {
|
1379
1216
|
default: r(() => [
|
1380
|
-
|
1217
|
+
g(o.$slots, "default")
|
1381
1218
|
]),
|
1382
1219
|
_: 3
|
1383
1220
|
})
|
@@ -1385,7 +1222,7 @@ const ba = /* @__PURE__ */ p({
|
|
1385
1222
|
_: 3
|
1386
1223
|
}, 16));
|
1387
1224
|
}
|
1388
|
-
}),
|
1225
|
+
}), Ja = /* @__PURE__ */ f({
|
1389
1226
|
__name: "SelectLabel",
|
1390
1227
|
props: {
|
1391
1228
|
for: {},
|
@@ -1393,27 +1230,27 @@ const ba = /* @__PURE__ */ p({
|
|
1393
1230
|
as: {}
|
1394
1231
|
},
|
1395
1232
|
setup(s) {
|
1396
|
-
const
|
1397
|
-
return
|
1233
|
+
const e = S(s);
|
1234
|
+
return R(), (o, l) => (d(), p(a(ut), v({ class: "ui-SelectLabel" }, a(e)), {
|
1398
1235
|
default: r(() => [
|
1399
|
-
|
1236
|
+
g(o.$slots, "default")
|
1400
1237
|
]),
|
1401
1238
|
_: 3
|
1402
1239
|
}, 16));
|
1403
1240
|
}
|
1404
|
-
}),
|
1405
|
-
const
|
1406
|
-
for (const [o, l] of
|
1407
|
-
|
1408
|
-
return
|
1409
|
-
},
|
1241
|
+
}), oa = (s, t) => {
|
1242
|
+
const e = s.__vccOpts || s;
|
1243
|
+
for (const [o, l] of t)
|
1244
|
+
e[o] = l;
|
1245
|
+
return e;
|
1246
|
+
}, sa = {}, la = {
|
1410
1247
|
class: "ui-SelectSeparator",
|
1411
1248
|
"aria-hidden": "true"
|
1412
1249
|
};
|
1413
|
-
function
|
1414
|
-
return d(),
|
1250
|
+
function na(s, t) {
|
1251
|
+
return d(), b("div", la);
|
1415
1252
|
}
|
1416
|
-
const
|
1253
|
+
const Za = /* @__PURE__ */ oa(sa, [["render", na]]), [ra, ia] = q("ui_ComboboxRoot"), Xa = /* @__PURE__ */ f({
|
1417
1254
|
__name: "ComboboxRoot",
|
1418
1255
|
props: {
|
1419
1256
|
size: { default: "2" },
|
@@ -1422,6 +1259,7 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1422
1259
|
open: { type: Boolean },
|
1423
1260
|
defaultOpen: { type: Boolean },
|
1424
1261
|
resetSearchTermOnBlur: { type: Boolean },
|
1262
|
+
resetSearchTermOnSelect: { type: Boolean },
|
1425
1263
|
ignoreFilter: { type: Boolean },
|
1426
1264
|
modelValue: {},
|
1427
1265
|
defaultValue: {},
|
@@ -1436,25 +1274,25 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1436
1274
|
required: { type: Boolean }
|
1437
1275
|
},
|
1438
1276
|
emits: ["update:modelValue", "highlight", "update:open"],
|
1439
|
-
setup(s, { emit:
|
1440
|
-
const
|
1441
|
-
return
|
1277
|
+
setup(s, { emit: t }) {
|
1278
|
+
const e = s, o = t, { size: l, color: u, highContrast: n } = W(e), [i, m] = F(e, o, ["size", "color", "highContrast"]);
|
1279
|
+
return ia({
|
1442
1280
|
size: l,
|
1443
|
-
color:
|
1281
|
+
color: u,
|
1444
1282
|
highContrast: n
|
1445
|
-
}), (
|
1283
|
+
}), (C, B) => (d(), p(a(ct), v({
|
1446
1284
|
class: ["ui-ComboboxRoot", a(m)]
|
1447
|
-
}, a(
|
1285
|
+
}, a(i)), {
|
1448
1286
|
default: r(() => [
|
1449
|
-
|
1287
|
+
g(C.$slots, "default")
|
1450
1288
|
]),
|
1451
1289
|
_: 3
|
1452
1290
|
}, 16, ["class"]));
|
1453
1291
|
}
|
1454
|
-
}),
|
1292
|
+
}), da = {
|
1455
1293
|
key: 0,
|
1456
1294
|
class: "ui-ComboboxValues"
|
1457
|
-
},
|
1295
|
+
}, ua = ["aria-current", "value"], ca = ["onClick"], Ya = /* @__PURE__ */ f({
|
1458
1296
|
inheritAttrs: !1,
|
1459
1297
|
__name: "ComboboxInput",
|
1460
1298
|
props: {
|
@@ -1469,65 +1307,65 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1469
1307
|
as: {}
|
1470
1308
|
},
|
1471
1309
|
emits: ["update:modelValue"],
|
1472
|
-
setup(s, { emit:
|
1473
|
-
const
|
1310
|
+
setup(s, { emit: t }) {
|
1311
|
+
const e = pt(), o = s, l = t, u = he(o, l), n = I(o, "modelValue", l, {
|
1474
1312
|
passive: o.modelValue === void 0
|
1475
|
-
}),
|
1476
|
-
|
1477
|
-
},
|
1478
|
-
!n.value && (
|
1479
|
-
|
1313
|
+
}), i = J(-1), m = y(() => e.modelValue.value), C = (h) => typeof h == "object" ? JSON.stringify(h) : h.toString(), B = (h) => {
|
1314
|
+
i.value = h, e.modelValue.value.splice(h, 1), i.value = -1;
|
1315
|
+
}, _ = (h) => {
|
1316
|
+
!n.value && (h.key === "Delete" || h.key === "Backspace") && (i.value !== -1 ? B(i.value) : (i.value = m.value.length - 1, setTimeout(() => {
|
1317
|
+
i.value = -1;
|
1480
1318
|
}, 500)));
|
1481
1319
|
};
|
1482
|
-
return
|
1483
|
-
n.value = "",
|
1484
|
-
}, { deep: !0 }), (
|
1485
|
-
class: w(["ui-ComboboxField", `r-variant-${
|
1486
|
-
"data-radius":
|
1487
|
-
"data-multiple": a(
|
1320
|
+
return Se(m, () => {
|
1321
|
+
n.value = "", e.filterState.search = "";
|
1322
|
+
}, { deep: !0 }), (h, $) => (d(), p(a(ft), {
|
1323
|
+
class: w(["ui-ComboboxField", `r-variant-${h.variant}`]),
|
1324
|
+
"data-radius": h.radius,
|
1325
|
+
"data-multiple": a(e).multiple.value || void 0
|
1488
1326
|
}, {
|
1489
1327
|
default: r(() => [
|
1490
|
-
a(
|
1491
|
-
(d(!0),
|
1328
|
+
a(e).multiple.value ? (d(), b("div", da, [
|
1329
|
+
(d(!0), b(pe, null, fe(m.value, (V, D) => (d(), b("div", {
|
1330
|
+
key: C(V),
|
1492
1331
|
class: "ui-ComboboxValuesItem",
|
1493
|
-
"aria-current":
|
1494
|
-
|
1495
|
-
value: z
|
1332
|
+
"aria-current": D === i.value,
|
1333
|
+
value: V
|
1496
1334
|
}, [
|
1497
|
-
h
|
1498
|
-
x("span", null,
|
1335
|
+
g(h.$slots, "item", { value: V }, () => [
|
1336
|
+
x("span", null, A(C(V)), 1)
|
1499
1337
|
]),
|
1500
1338
|
x("button", {
|
1501
1339
|
type: "button",
|
1502
1340
|
tabindex: "-1",
|
1503
|
-
onClick:
|
1341
|
+
onClick: P((L) => B(D), ["prevent"])
|
1504
1342
|
}, [
|
1505
|
-
|
1506
|
-
], 8,
|
1507
|
-
], 8,
|
1508
|
-
|
1509
|
-
...
|
1510
|
-
...a(
|
1343
|
+
c(a(z), { icon: "lucide:x" })
|
1344
|
+
], 8, ca)
|
1345
|
+
], 8, ua))), 128)),
|
1346
|
+
c(a(le), v({
|
1347
|
+
...h.$attrs,
|
1348
|
+
...a(u),
|
1511
1349
|
variant: void 0,
|
1512
1350
|
radius: void 0
|
1513
1351
|
}, {
|
1514
1352
|
modelValue: a(n),
|
1515
|
-
"onUpdate:modelValue":
|
1353
|
+
"onUpdate:modelValue": $[0] || ($[0] = (V) => j(n) ? n.value = V : null),
|
1516
1354
|
class: "ui-ComboboxInput",
|
1517
|
-
onKeydown:
|
1355
|
+
onKeydown: _
|
1518
1356
|
}), null, 16, ["modelValue"])
|
1519
|
-
])) : (d(),
|
1357
|
+
])) : (d(), p(a(le), v({
|
1520
1358
|
key: 1,
|
1521
1359
|
class: "ui-ComboboxInput"
|
1522
1360
|
}, {
|
1523
|
-
...
|
1524
|
-
...a(
|
1361
|
+
...h.$attrs,
|
1362
|
+
...a(u),
|
1525
1363
|
variant: void 0,
|
1526
1364
|
radius: void 0
|
1527
1365
|
}), null, 16)),
|
1528
|
-
|
1366
|
+
c(a(mt), { class: "ui-ComboboxTrigger" }, {
|
1529
1367
|
default: r(() => [
|
1530
|
-
|
1368
|
+
c(a(z), { icon: "radix-icons:chevron-down" })
|
1531
1369
|
]),
|
1532
1370
|
_: 1
|
1533
1371
|
})
|
@@ -1535,7 +1373,7 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1535
1373
|
_: 3
|
1536
1374
|
}, 8, ["class", "data-radius", "data-multiple"]));
|
1537
1375
|
}
|
1538
|
-
}),
|
1376
|
+
}), eo = /* @__PURE__ */ f({
|
1539
1377
|
inheritAttrs: !1,
|
1540
1378
|
__name: "ComboboxContent",
|
1541
1379
|
props: {
|
@@ -1564,53 +1402,53 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1564
1402
|
disableOutsidePointerEvents: { type: Boolean }
|
1565
1403
|
},
|
1566
1404
|
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
|
1567
|
-
setup(s, { emit:
|
1568
|
-
const { forwardRef:
|
1405
|
+
setup(s, { emit: t }) {
|
1406
|
+
const { forwardRef: e } = R(), o = s, u = he(o, t), n = ra(), i = y(() => {
|
1569
1407
|
const m = ["r-size-" + n.size.value, "r-variant-" + o.variant];
|
1570
1408
|
return n.highContrast.value && m.push("r-high-contrast"), m;
|
1571
1409
|
});
|
1572
|
-
return (m,
|
1410
|
+
return (m, C) => (d(), p(a(ht), {
|
1573
1411
|
to: o.to
|
1574
1412
|
}, {
|
1575
1413
|
default: r(() => [
|
1576
|
-
|
1414
|
+
c(a(_t), v({ ref: a(e) }, {
|
1577
1415
|
...m.$attrs,
|
1578
|
-
...a(
|
1416
|
+
...a(u),
|
1579
1417
|
position: "popper",
|
1580
1418
|
to: void 0,
|
1581
1419
|
variant: void 0
|
1582
1420
|
}, {
|
1583
|
-
class: ["ui-ComboboxContent",
|
1421
|
+
class: ["ui-ComboboxContent", i.value],
|
1584
1422
|
"data-accent-color": a(n).color.value
|
1585
1423
|
}), {
|
1586
1424
|
default: r(() => [
|
1587
|
-
|
1425
|
+
c(a(ae), {
|
1588
1426
|
type: "auto",
|
1589
1427
|
class: "ui-ScrollArea"
|
1590
1428
|
}, {
|
1591
1429
|
default: r(() => [
|
1592
|
-
|
1430
|
+
c(a(gt), {
|
1593
1431
|
class: "ui-ComboboxViewport",
|
1594
1432
|
"as-child": ""
|
1595
1433
|
}, {
|
1596
1434
|
default: r(() => [
|
1597
|
-
|
1435
|
+
c(a(oe), { class: "ui-ScrollAreaViewport" }, {
|
1598
1436
|
default: r(() => [
|
1599
|
-
|
1437
|
+
g(m.$slots, "default")
|
1600
1438
|
]),
|
1601
1439
|
_: 3
|
1602
1440
|
})
|
1603
1441
|
]),
|
1604
1442
|
_: 3
|
1605
1443
|
}),
|
1606
|
-
|
1607
|
-
|
1444
|
+
C[0] || (C[0] = x("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
|
1445
|
+
c(a(N), {
|
1608
1446
|
class: "ui-ScrollAreaScrollbar",
|
1609
1447
|
"data-size": 1,
|
1610
1448
|
orientation: "vertical"
|
1611
1449
|
}, {
|
1612
1450
|
default: r(() => [
|
1613
|
-
|
1451
|
+
c(a(Q), { class: "ui-ScrollAreaThumb" })
|
1614
1452
|
]),
|
1615
1453
|
_: 1
|
1616
1454
|
})
|
@@ -1624,7 +1462,7 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1624
1462
|
_: 3
|
1625
1463
|
}, 8, ["to"]));
|
1626
1464
|
}
|
1627
|
-
}),
|
1465
|
+
}), to = /* @__PURE__ */ f({
|
1628
1466
|
__name: "ComboboxItem",
|
1629
1467
|
props: {
|
1630
1468
|
textValue: {},
|
@@ -1634,21 +1472,21 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1634
1472
|
as: {}
|
1635
1473
|
},
|
1636
1474
|
setup(s) {
|
1637
|
-
const
|
1638
|
-
return (o, l) => (d(),
|
1475
|
+
const e = S(s);
|
1476
|
+
return (o, l) => (d(), p(a(vt), v({ class: "ui-ComboboxItem" }, a(e)), {
|
1639
1477
|
default: r(() => [
|
1640
|
-
|
1478
|
+
c(a(yt), { class: "ui-ComboboxItemIndicator" }, {
|
1641
1479
|
default: r(() => [
|
1642
|
-
|
1480
|
+
c(a(z), { icon: "radix-icons:check" })
|
1643
1481
|
]),
|
1644
1482
|
_: 1
|
1645
1483
|
}),
|
1646
|
-
|
1484
|
+
g(o.$slots, "default")
|
1647
1485
|
]),
|
1648
1486
|
_: 3
|
1649
1487
|
}, 16));
|
1650
1488
|
}
|
1651
|
-
}),
|
1489
|
+
}), ao = /* @__PURE__ */ f({
|
1652
1490
|
__name: "ComboboxLabel",
|
1653
1491
|
props: {
|
1654
1492
|
for: {},
|
@@ -1656,52 +1494,428 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1656
1494
|
as: {}
|
1657
1495
|
},
|
1658
1496
|
setup(s) {
|
1659
|
-
const
|
1660
|
-
return
|
1497
|
+
const e = S(s);
|
1498
|
+
return R(), (o, l) => (d(), p(a(Ct), v({ class: "ui-ComboboxLabel" }, a(e)), {
|
1661
1499
|
default: r(() => [
|
1662
|
-
|
1500
|
+
g(o.$slots, "default")
|
1663
1501
|
]),
|
1664
1502
|
_: 3
|
1665
1503
|
}, 16));
|
1666
1504
|
}
|
1667
|
-
}),
|
1668
|
-
__name: "
|
1505
|
+
}), pa = ["data-accent-color"], oo = /* @__PURE__ */ f({
|
1506
|
+
__name: "Radio",
|
1669
1507
|
props: {
|
1508
|
+
modelValue: {},
|
1509
|
+
color: {},
|
1670
1510
|
size: { default: "2" },
|
1671
|
-
variant: { default: "
|
1672
|
-
|
1511
|
+
variant: { default: "surface" },
|
1512
|
+
highContrast: { type: Boolean }
|
1673
1513
|
},
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
], 8, ca)
|
1689
|
-
]),
|
1690
|
-
_: 3
|
1691
|
-
})
|
1692
|
-
], 8, da));
|
1514
|
+
emits: ["update:modelValue"],
|
1515
|
+
setup(s, { emit: t }) {
|
1516
|
+
const e = s, l = I(e, "modelValue", t, {
|
1517
|
+
defaultValue: e.modelValue,
|
1518
|
+
passive: e.modelValue === void 0
|
1519
|
+
}), u = y(() => k(e, ["size", "variant", "highContrast"]));
|
1520
|
+
return (n, i) => Z((d(), b("input", {
|
1521
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => j(l) ? l.value = m : null),
|
1522
|
+
class: w(["ui-Radio", u.value]),
|
1523
|
+
type: "radio",
|
1524
|
+
"data-accent-color": e.color
|
1525
|
+
}, null, 10, pa)), [
|
1526
|
+
[Ve, a(l)]
|
1527
|
+
]);
|
1693
1528
|
}
|
1694
|
-
}),
|
1695
|
-
__name: "
|
1529
|
+
}), [$e, fa] = q("ui_RadioGroupRoot"), so = /* @__PURE__ */ f({
|
1530
|
+
__name: "RadioGroupRoot",
|
1696
1531
|
props: {
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1532
|
+
color: {},
|
1533
|
+
size: { default: "2" },
|
1534
|
+
variant: { default: "surface" },
|
1535
|
+
highContrast: { type: Boolean },
|
1536
|
+
modelValue: {},
|
1537
|
+
defaultValue: {},
|
1703
1538
|
disabled: { type: Boolean },
|
1704
|
-
|
1539
|
+
orientation: {},
|
1540
|
+
dir: {},
|
1541
|
+
loop: { type: Boolean },
|
1542
|
+
asChild: { type: Boolean },
|
1543
|
+
as: {},
|
1544
|
+
name: {},
|
1545
|
+
required: { type: Boolean }
|
1546
|
+
},
|
1547
|
+
emits: ["update:modelValue"],
|
1548
|
+
setup(s, { emit: t }) {
|
1549
|
+
const e = t, o = s, l = O(o, e, ["color", "size", "variant", "highContrast"]), { size: u, variant: n, color: i, highContrast: m } = W(o);
|
1550
|
+
return fa({ size: u, variant: n, color: i, highContrast: m }), (C, B) => (d(), p(a(_e), v({ class: "ui-RadioGroupRoot" }, a(l)), {
|
1551
|
+
default: r(() => [
|
1552
|
+
g(C.$slots, "default")
|
1553
|
+
]),
|
1554
|
+
_: 3
|
1555
|
+
}, 16));
|
1556
|
+
}
|
1557
|
+
}), ma = { class: "ui-RadioGroupItem" }, lo = /* @__PURE__ */ f({
|
1558
|
+
__name: "RadioGroupItem",
|
1559
|
+
props: {
|
1560
|
+
id: {},
|
1561
|
+
value: {},
|
1562
|
+
disabled: { type: Boolean },
|
1563
|
+
asChild: { type: Boolean },
|
1564
|
+
as: {},
|
1565
|
+
name: {},
|
1566
|
+
required: { type: Boolean }
|
1567
|
+
},
|
1568
|
+
setup(s) {
|
1569
|
+
const e = S(s), o = $e(), l = y(() => {
|
1570
|
+
var n;
|
1571
|
+
const u = [
|
1572
|
+
`r-size-${o.size.value}`,
|
1573
|
+
`r-variant-${o.variant.value}`
|
1574
|
+
];
|
1575
|
+
return (n = o.highContrast) != null && n.value && u.push("r-high-contrast"), u;
|
1576
|
+
});
|
1577
|
+
return (u, n) => {
|
1578
|
+
var i;
|
1579
|
+
return d(), b("label", ma, [
|
1580
|
+
c(a(ge), v({
|
1581
|
+
class: ["ui-Radio", l.value],
|
1582
|
+
"data-accent-color": (i = a(o).color) == null ? void 0 : i.value
|
1583
|
+
}, a(e)), null, 16, ["class", "data-accent-color"]),
|
1584
|
+
g(u.$slots, "default")
|
1585
|
+
]);
|
1586
|
+
};
|
1587
|
+
}
|
1588
|
+
}), no = /* @__PURE__ */ f({
|
1589
|
+
__name: "RadioCardsItem",
|
1590
|
+
props: {
|
1591
|
+
id: {},
|
1592
|
+
value: {},
|
1593
|
+
disabled: { type: Boolean },
|
1594
|
+
asChild: { type: Boolean },
|
1595
|
+
as: {},
|
1596
|
+
name: {},
|
1597
|
+
required: { type: Boolean }
|
1598
|
+
},
|
1599
|
+
setup(s) {
|
1600
|
+
const e = S(s);
|
1601
|
+
R();
|
1602
|
+
const o = $e();
|
1603
|
+
return (l, u) => {
|
1604
|
+
var n, i;
|
1605
|
+
return d(), p(a(ge), v({
|
1606
|
+
class: "ui-RadioCardsItem",
|
1607
|
+
"data-accent-color": (n = a(o).color) == null ? void 0 : n.value,
|
1608
|
+
"data-size": a(o).size.value,
|
1609
|
+
"data-variant": a(o).variant.value,
|
1610
|
+
"data-high-contrast": (i = a(o).highContrast) == null ? void 0 : i.value
|
1611
|
+
}, { ...a(e), asChild: !1 }), {
|
1612
|
+
default: r(() => [
|
1613
|
+
c(It, {
|
1614
|
+
"as-child": a(e).asChild
|
1615
|
+
}, {
|
1616
|
+
default: r(() => [
|
1617
|
+
g(l.$slots, "default")
|
1618
|
+
]),
|
1619
|
+
_: 3
|
1620
|
+
}, 8, ["as-child"])
|
1621
|
+
]),
|
1622
|
+
_: 3
|
1623
|
+
}, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
|
1624
|
+
};
|
1625
|
+
}
|
1626
|
+
}), ro = /* @__PURE__ */ f({
|
1627
|
+
__name: "RadioTabsList",
|
1628
|
+
props: {
|
1629
|
+
size: { default: "2" },
|
1630
|
+
modelValue: {},
|
1631
|
+
defaultValue: {},
|
1632
|
+
disabled: { type: Boolean },
|
1633
|
+
orientation: {},
|
1634
|
+
dir: {},
|
1635
|
+
loop: { type: Boolean },
|
1636
|
+
asChild: { type: Boolean },
|
1637
|
+
as: {},
|
1638
|
+
name: {},
|
1639
|
+
required: { type: Boolean }
|
1640
|
+
},
|
1641
|
+
emits: ["update:modelValue"],
|
1642
|
+
setup(s, { emit: t }) {
|
1643
|
+
const e = t, o = s, [l, u] = F(o, e, ["size"]);
|
1644
|
+
return (n, i) => (d(), p(a(_e), v(a(l), {
|
1645
|
+
class: ["ui-RadioTabsList", a(u)]
|
1646
|
+
}), {
|
1647
|
+
default: r(() => [
|
1648
|
+
g(n.$slots, "default")
|
1649
|
+
]),
|
1650
|
+
_: 3
|
1651
|
+
}, 16, ["class"]));
|
1652
|
+
}
|
1653
|
+
}), io = /* @__PURE__ */ f({
|
1654
|
+
__name: "TabsList",
|
1655
|
+
props: {
|
1656
|
+
size: { default: "2" },
|
1657
|
+
wrap: {},
|
1658
|
+
justify: {},
|
1659
|
+
color: {},
|
1660
|
+
highContrast: { type: Boolean }
|
1661
|
+
},
|
1662
|
+
setup(s) {
|
1663
|
+
const t = s;
|
1664
|
+
return (e, o) => (d(), p(a(bt), {
|
1665
|
+
class: "ui-TabList",
|
1666
|
+
"data-accent-color": t.color,
|
1667
|
+
"data-size": t.size,
|
1668
|
+
"data-wrap": t.wrap,
|
1669
|
+
"data-justify": t.justify,
|
1670
|
+
"data-high-contrast": t.highContrast
|
1671
|
+
}, {
|
1672
|
+
default: r(() => [
|
1673
|
+
g(e.$slots, "default")
|
1674
|
+
]),
|
1675
|
+
_: 3
|
1676
|
+
}, 8, ["data-accent-color", "data-size", "data-wrap", "data-justify", "data-high-contrast"]));
|
1677
|
+
}
|
1678
|
+
}), ha = { class: "ui-TabTriggerInner" }, _a = { class: "ui-TabTriggerInnerHidden" }, uo = /* @__PURE__ */ f({
|
1679
|
+
__name: "TabsTrigger",
|
1680
|
+
props: {
|
1681
|
+
value: {},
|
1682
|
+
disabled: { type: Boolean },
|
1683
|
+
asChild: { type: Boolean },
|
1684
|
+
as: {}
|
1685
|
+
},
|
1686
|
+
setup(s) {
|
1687
|
+
const e = S(s);
|
1688
|
+
return (o, l) => (d(), p(a(Bt), v(a(e), { class: "ui-TabTrigger" }), {
|
1689
|
+
default: r(() => [
|
1690
|
+
x("span", ha, [
|
1691
|
+
g(o.$slots, "default")
|
1692
|
+
]),
|
1693
|
+
x("span", _a, [
|
1694
|
+
g(o.$slots, "default")
|
1695
|
+
])
|
1696
|
+
]),
|
1697
|
+
_: 3
|
1698
|
+
}, 16));
|
1699
|
+
}
|
1700
|
+
}), co = /* @__PURE__ */ f({
|
1701
|
+
__name: "CollapsibleChevron",
|
1702
|
+
props: {
|
1703
|
+
color: { default: "gray" },
|
1704
|
+
radius: {},
|
1705
|
+
variant: { default: "ghost" },
|
1706
|
+
size: {},
|
1707
|
+
highContrast: { type: Boolean },
|
1708
|
+
disabled: { type: Boolean },
|
1709
|
+
asChild: { type: Boolean },
|
1710
|
+
as: {}
|
1711
|
+
},
|
1712
|
+
setup(s) {
|
1713
|
+
const t = s;
|
1714
|
+
return (e, o) => (d(), p(G, v({ class: "ui-CollapsibleChevron" }, t, { as: a($t) }), {
|
1715
|
+
default: r(() => [
|
1716
|
+
c(a(z), { icon: "lucide:chevron-right" })
|
1717
|
+
]),
|
1718
|
+
_: 1
|
1719
|
+
}, 16, ["as"]));
|
1720
|
+
}
|
1721
|
+
}), po = /* @__PURE__ */ f({
|
1722
|
+
__name: "Pagination",
|
1723
|
+
props: {
|
1724
|
+
total: {},
|
1725
|
+
page: {},
|
1726
|
+
perpage: { default: 10 },
|
1727
|
+
edge: { default: 2 },
|
1728
|
+
color: {},
|
1729
|
+
radius: {},
|
1730
|
+
variant: { default: "ghost" },
|
1731
|
+
size: { default: "1" },
|
1732
|
+
highContrast: { type: Boolean },
|
1733
|
+
disabled: { type: Boolean },
|
1734
|
+
asChild: { type: Boolean },
|
1735
|
+
as: {}
|
1736
|
+
},
|
1737
|
+
emits: ["update:page"],
|
1738
|
+
setup(s, { emit: t }) {
|
1739
|
+
const e = s, l = I(e, "page", t), u = y(() => k(e, ["size", "variant"])), n = y(() => ({
|
1740
|
+
color: e.color,
|
1741
|
+
radius: e.radius,
|
1742
|
+
variant: e.variant,
|
1743
|
+
size: e.size,
|
1744
|
+
highContrast: e.highContrast,
|
1745
|
+
disabled: e.disabled
|
1746
|
+
})), i = y(() => {
|
1747
|
+
const _ = Math.ceil(e.total / e.perpage), h = l.value > 1 ? l.value - 1 : null, $ = l.value < _ ? l.value + 1 : null, V = 5 + e.edge * 2, D = _ > V && l.value > e.edge + 3, L = _ > V && l.value + e.edge + 2 < _, se = [];
|
1748
|
+
let X = 2, Y = _ - 1;
|
1749
|
+
D && !L ? X = Math.max(4, _ - 2 * e.edge - 2) : !D && L ? Y = Math.min(2 * e.edge + 3, _ - 1) : D && L && (X = l.value - e.edge, Y = l.value + e.edge);
|
1750
|
+
for (let ee = X; ee <= Y; ee++)
|
1751
|
+
se.push(ee);
|
1752
|
+
return {
|
1753
|
+
totalPages: _,
|
1754
|
+
prev: h,
|
1755
|
+
next: $,
|
1756
|
+
hasLeftEdge: D,
|
1757
|
+
hasRightEdge: L,
|
1758
|
+
pageList: se
|
1759
|
+
};
|
1760
|
+
}), m = (_) => {
|
1761
|
+
l.value = _;
|
1762
|
+
}, C = () => {
|
1763
|
+
m(e.page - e.edge);
|
1764
|
+
}, B = () => {
|
1765
|
+
m(e.page + e.edge);
|
1766
|
+
};
|
1767
|
+
return (_, h) => (d(), b("div", {
|
1768
|
+
class: w(["ui-Pagination", u.value])
|
1769
|
+
}, [
|
1770
|
+
i.value.prev ? (d(), p(G, v({ key: 0 }, n.value, {
|
1771
|
+
"aria-label": "Previous",
|
1772
|
+
onClick: h[0] || (h[0] = P(($) => m(i.value.prev), ["prevent"]))
|
1773
|
+
}), {
|
1774
|
+
default: r(() => [
|
1775
|
+
g(_.$slots, "prev-page", {
|
1776
|
+
page: i.value.prev
|
1777
|
+
}, () => [
|
1778
|
+
c(a(z), { icon: "lucide:chevron-left" })
|
1779
|
+
])
|
1780
|
+
]),
|
1781
|
+
_: 3
|
1782
|
+
}, 16)) : T("", !0),
|
1783
|
+
c(E, v(n.value, {
|
1784
|
+
disabled: a(l) === 1,
|
1785
|
+
"aria-current": "page",
|
1786
|
+
onClick: h[1] || (h[1] = P(($) => m(1), ["prevent"]))
|
1787
|
+
}), {
|
1788
|
+
default: r(() => [
|
1789
|
+
g(_.$slots, "page", { page: 1 }, () => [
|
1790
|
+
h[4] || (h[4] = H("1"))
|
1791
|
+
])
|
1792
|
+
]),
|
1793
|
+
_: 3
|
1794
|
+
}, 16, ["disabled"]),
|
1795
|
+
i.value.hasLeftEdge ? (d(), p(G, v({ key: 1 }, n.value, {
|
1796
|
+
onClick: P(C, ["prevent"])
|
1797
|
+
}), {
|
1798
|
+
default: r(() => [
|
1799
|
+
g(_.$slots, "prev-edge", {
|
1800
|
+
page: a(l) - _.edge
|
1801
|
+
}, () => [
|
1802
|
+
c(a(z), { icon: "lucide:ellipsis" })
|
1803
|
+
])
|
1804
|
+
]),
|
1805
|
+
_: 3
|
1806
|
+
}, 16)) : T("", !0),
|
1807
|
+
(d(!0), b(pe, null, fe(i.value.pageList, ($) => (d(), p(E, v({
|
1808
|
+
key: $,
|
1809
|
+
ref_for: !0
|
1810
|
+
}, n.value, {
|
1811
|
+
disabled: $ === a(l),
|
1812
|
+
"aria-current": "page",
|
1813
|
+
onClick: P((V) => m($), ["prevent"])
|
1814
|
+
}), {
|
1815
|
+
default: r(() => [
|
1816
|
+
g(_.$slots, "page", { page: $ }, () => [
|
1817
|
+
H(A($), 1)
|
1818
|
+
])
|
1819
|
+
]),
|
1820
|
+
_: 2
|
1821
|
+
}, 1040, ["disabled", "onClick"]))), 128)),
|
1822
|
+
i.value.hasRightEdge ? (d(), p(G, v({ key: 2 }, n.value, {
|
1823
|
+
onClick: P(B, ["prevent"])
|
1824
|
+
}), {
|
1825
|
+
default: r(() => [
|
1826
|
+
g(_.$slots, "next-edge", {
|
1827
|
+
page: a(l) + _.edge
|
1828
|
+
}, () => [
|
1829
|
+
c(a(z), { icon: "lucide:ellipsis" })
|
1830
|
+
])
|
1831
|
+
]),
|
1832
|
+
_: 3
|
1833
|
+
}, 16)) : T("", !0),
|
1834
|
+
i.value.totalPages > 1 ? (d(), p(E, v({ key: 3 }, n.value, {
|
1835
|
+
disabled: i.value.totalPages === a(l),
|
1836
|
+
"aria-current": "page",
|
1837
|
+
onClick: h[2] || (h[2] = P(($) => m(i.value.totalPages), ["prevent"]))
|
1838
|
+
}), {
|
1839
|
+
default: r(() => [
|
1840
|
+
g(_.$slots, "page", {
|
1841
|
+
page: i.value.totalPages
|
1842
|
+
}, () => [
|
1843
|
+
H(A(i.value.totalPages), 1)
|
1844
|
+
])
|
1845
|
+
]),
|
1846
|
+
_: 3
|
1847
|
+
}, 16, ["disabled"])) : T("", !0),
|
1848
|
+
i.value.next ? (d(), p(G, v({ key: 4 }, n.value, {
|
1849
|
+
"aria-label": "Next",
|
1850
|
+
onClick: h[3] || (h[3] = P(($) => m(i.value.next), ["prevent"]))
|
1851
|
+
}), {
|
1852
|
+
default: r(() => [
|
1853
|
+
g(_.$slots, "next-page", {
|
1854
|
+
page: i.value.next
|
1855
|
+
}, () => [
|
1856
|
+
c(a(z), { icon: "lucide:chevron-right" })
|
1857
|
+
])
|
1858
|
+
]),
|
1859
|
+
_: 3
|
1860
|
+
}, 16)) : T("", !0)
|
1861
|
+
], 2));
|
1862
|
+
}
|
1863
|
+
}), ga = ["data-size", "data-variant"], va = ["data-layout"], fo = /* @__PURE__ */ f({
|
1864
|
+
__name: "Table",
|
1865
|
+
props: {
|
1866
|
+
size: { default: "2" },
|
1867
|
+
variant: { default: "ghost" },
|
1868
|
+
layout: {}
|
1869
|
+
},
|
1870
|
+
setup(s) {
|
1871
|
+
const t = s;
|
1872
|
+
return (e, o) => (d(), b("div", {
|
1873
|
+
class: "ui-Table",
|
1874
|
+
"data-size": t.size,
|
1875
|
+
"data-variant": t.variant
|
1876
|
+
}, [
|
1877
|
+
c(ye, null, {
|
1878
|
+
default: r(() => [
|
1879
|
+
x("table", {
|
1880
|
+
class: "ui-TableContent",
|
1881
|
+
"data-layout": t.layout
|
1882
|
+
}, [
|
1883
|
+
g(e.$slots, "default")
|
1884
|
+
], 8, va)
|
1885
|
+
]),
|
1886
|
+
_: 3
|
1887
|
+
})
|
1888
|
+
], 8, ga));
|
1889
|
+
}
|
1890
|
+
}), mo = /* @__PURE__ */ f({
|
1891
|
+
__name: "Separator",
|
1892
|
+
props: {
|
1893
|
+
as: { default: "span" },
|
1894
|
+
orientation: { default: "horizontal" },
|
1895
|
+
size: {},
|
1896
|
+
color: { default: "gray" }
|
1897
|
+
},
|
1898
|
+
setup(s) {
|
1899
|
+
const t = s;
|
1900
|
+
return (e, o) => (d(), p(a(M), {
|
1901
|
+
as: t.as,
|
1902
|
+
class: w(["ui-Separator", `r-size-${t.size}`]),
|
1903
|
+
role: "separator",
|
1904
|
+
"data-accent-color": t.color,
|
1905
|
+
"aria-orientation": t.orientation
|
1906
|
+
}, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
|
1907
|
+
}
|
1908
|
+
}), ya = ["textContent"], ho = /* @__PURE__ */ f({
|
1909
|
+
__name: "Tooltip",
|
1910
|
+
props: {
|
1911
|
+
to: {},
|
1912
|
+
content: {},
|
1913
|
+
delayDuration: {},
|
1914
|
+
skipDelayDuration: {},
|
1915
|
+
disableHoverableContent: { type: Boolean },
|
1916
|
+
disableClosingTrigger: { type: Boolean },
|
1917
|
+
disabled: { type: Boolean },
|
1918
|
+
ignoreNonKeyboardFocus: { type: Boolean },
|
1705
1919
|
forceMount: { type: Boolean },
|
1706
1920
|
ariaLabel: {},
|
1707
1921
|
asChild: { type: Boolean },
|
@@ -1715,56 +1929,58 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1715
1929
|
collisionPadding: { default: 10 },
|
1716
1930
|
arrowPadding: {},
|
1717
1931
|
sticky: {},
|
1718
|
-
hideWhenDetached: { type: Boolean }
|
1932
|
+
hideWhenDetached: { type: Boolean },
|
1933
|
+
positionStrategy: {},
|
1934
|
+
updatePositionStrategy: {}
|
1719
1935
|
},
|
1720
1936
|
setup(s) {
|
1721
|
-
const
|
1722
|
-
return (
|
1723
|
-
"delay-duration":
|
1724
|
-
"disable-closing-trigger":
|
1725
|
-
"disable-hoverable-content":
|
1726
|
-
disabled:
|
1727
|
-
"ignore-non-keyboard-focus":
|
1728
|
-
"skip-delay-duration":
|
1937
|
+
const t = s;
|
1938
|
+
return (e, o) => (d(), p(a(xt), {
|
1939
|
+
"delay-duration": t.delayDuration,
|
1940
|
+
"disable-closing-trigger": t.disableClosingTrigger,
|
1941
|
+
"disable-hoverable-content": t.disableHoverableContent,
|
1942
|
+
disabled: t.disabled,
|
1943
|
+
"ignore-non-keyboard-focus": t.ignoreNonKeyboardFocus,
|
1944
|
+
"skip-delay-duration": t.skipDelayDuration
|
1729
1945
|
}, {
|
1730
1946
|
default: r(() => [
|
1731
|
-
|
1947
|
+
c(a(wt), null, {
|
1732
1948
|
default: r(() => [
|
1733
|
-
|
1734
|
-
as:
|
1735
|
-
"as-child":
|
1949
|
+
c(a(zt), {
|
1950
|
+
as: t.as,
|
1951
|
+
"as-child": t.asChild
|
1736
1952
|
}, {
|
1737
1953
|
default: r(() => [
|
1738
|
-
|
1954
|
+
g(e.$slots, "default")
|
1739
1955
|
]),
|
1740
1956
|
_: 3
|
1741
1957
|
}, 8, ["as", "as-child"]),
|
1742
|
-
|
1743
|
-
to:
|
1958
|
+
c(a(St), {
|
1959
|
+
to: t.to
|
1744
1960
|
}, {
|
1745
1961
|
default: r(() => [
|
1746
|
-
|
1962
|
+
c(a(Vt), {
|
1747
1963
|
class: "ui-Tooltip",
|
1748
|
-
align:
|
1749
|
-
"align-offset":
|
1750
|
-
"aria-label":
|
1751
|
-
"arrow-padding":
|
1752
|
-
"avoid-collisions":
|
1753
|
-
"collision-boundary":
|
1754
|
-
"collision-padding":
|
1755
|
-
"hide-when-detached":
|
1756
|
-
side:
|
1757
|
-
"side-offset":
|
1758
|
-
sticky:
|
1964
|
+
align: t.align,
|
1965
|
+
"align-offset": t.alignOffset,
|
1966
|
+
"aria-label": t.ariaLabel,
|
1967
|
+
"arrow-padding": t.arrowPadding,
|
1968
|
+
"avoid-collisions": t.avoidCollisions,
|
1969
|
+
"collision-boundary": t.collisionBoundary,
|
1970
|
+
"collision-padding": t.collisionPadding,
|
1971
|
+
"hide-when-detached": t.hideWhenDetached,
|
1972
|
+
side: t.side,
|
1973
|
+
"side-offset": t.sideOffset,
|
1974
|
+
sticky: t.sticky
|
1759
1975
|
}, {
|
1760
1976
|
default: r(() => [
|
1761
|
-
|
1977
|
+
g(e.$slots, "content", {}, () => [
|
1762
1978
|
x("p", {
|
1763
1979
|
class: "ui-TooltipText",
|
1764
|
-
textContent:
|
1765
|
-
}, null, 8,
|
1980
|
+
textContent: A(t.content)
|
1981
|
+
}, null, 8, ya)
|
1766
1982
|
]),
|
1767
|
-
|
1983
|
+
c(a(Tt), { class: "ui-TooltipArrow" })
|
1768
1984
|
]),
|
1769
1985
|
_: 3
|
1770
1986
|
}, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky"])
|
@@ -1778,83 +1994,91 @@ const Xa = /* @__PURE__ */ ea(ta, [["render", oa]]), [sa, la] = G("ui_ComboboxRo
|
|
1778
1994
|
_: 3
|
1779
1995
|
}, 8, ["delay-duration", "disable-closing-trigger", "disable-hoverable-content", "disabled", "ignore-non-keyboard-focus", "skip-delay-duration"]));
|
1780
1996
|
}
|
1781
|
-
}),
|
1782
|
-
__name: "
|
1997
|
+
}), _o = /* @__PURE__ */ f({
|
1998
|
+
__name: "Quota",
|
1783
1999
|
props: {
|
1784
|
-
|
1785
|
-
|
1786
|
-
justify: {},
|
1787
|
-
color: {},
|
1788
|
-
highContrast: { type: Boolean }
|
2000
|
+
percent: {},
|
2001
|
+
color: {}
|
1789
2002
|
},
|
1790
2003
|
setup(s) {
|
1791
|
-
const e =
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
"
|
1796
|
-
"
|
1797
|
-
|
1798
|
-
|
2004
|
+
const t = s, e = y(() => {
|
2005
|
+
const l = `translateX(-${100 - t.percent}%)`;
|
2006
|
+
if (t.percent > 100)
|
2007
|
+
return { transform: l, "background-color": "var(--red-a10)" };
|
2008
|
+
let u = "a4";
|
2009
|
+
return t.percent > 90 ? u = "a11" : t.percent > 66 ? u = "a9" : t.percent > 33 && (u = "a6"), { transform: l, "background-color": `var(--blue-${u})` };
|
2010
|
+
}), o = y(() => t.percent > 100 ? 100 : t.percent < 0 ? 0 : t.percent);
|
2011
|
+
return (l, u) => (d(), p(a(kt), {
|
2012
|
+
class: "ui-Quota",
|
2013
|
+
"model-value": o.value,
|
2014
|
+
"data-accent-color": t.color
|
1799
2015
|
}, {
|
1800
2016
|
default: r(() => [
|
1801
|
-
|
2017
|
+
c(a(Rt), {
|
2018
|
+
class: "ui-QuotaValue",
|
2019
|
+
style: Te(e.value)
|
2020
|
+
}, null, 8, ["style"])
|
1802
2021
|
]),
|
1803
|
-
_:
|
1804
|
-
}, 8, ["
|
2022
|
+
_: 1
|
2023
|
+
}, 8, ["model-value", "data-accent-color"]));
|
1805
2024
|
}
|
1806
|
-
}),
|
1807
|
-
__name: "
|
2025
|
+
}), go = /* @__PURE__ */ f({
|
2026
|
+
__name: "Spinner",
|
1808
2027
|
props: {
|
1809
|
-
|
1810
|
-
|
1811
|
-
asChild: { type: Boolean },
|
1812
|
-
as: {}
|
2028
|
+
icon: { default: "180-ring" },
|
2029
|
+
size: { default: "2" }
|
1813
2030
|
},
|
1814
2031
|
setup(s) {
|
1815
|
-
const t =
|
1816
|
-
return (o, l) => (d(),
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
]),
|
1821
|
-
x("span", fa, [
|
1822
|
-
h(o.$slots, "default")
|
1823
|
-
])
|
1824
|
-
]),
|
1825
|
-
_: 3
|
1826
|
-
}, 16));
|
2032
|
+
const t = s, e = y(() => `svg-spinners:${t.icon}`);
|
2033
|
+
return (o, l) => (d(), p(a(z), {
|
2034
|
+
class: w(["ui-Spinner", `r-size-${o.size}`]),
|
2035
|
+
icon: e.value
|
2036
|
+
}, null, 8, ["class", "icon"]));
|
1827
2037
|
}
|
1828
|
-
}),
|
1829
|
-
__name: "
|
2038
|
+
}), Ca = ["data-status"], vo = /* @__PURE__ */ f({
|
2039
|
+
__name: "SavingIndicator",
|
1830
2040
|
props: {
|
1831
|
-
|
1832
|
-
|
1833
|
-
defaultValue: {},
|
1834
|
-
disabled: { type: Boolean },
|
1835
|
-
orientation: {},
|
1836
|
-
dir: {},
|
1837
|
-
loop: { type: Boolean },
|
1838
|
-
asChild: { type: Boolean },
|
1839
|
-
as: {},
|
1840
|
-
name: {},
|
1841
|
-
required: { type: Boolean }
|
2041
|
+
status: {},
|
2042
|
+
size: { default: "2" }
|
1842
2043
|
},
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
}
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
2044
|
+
setup(s) {
|
2045
|
+
const t = s;
|
2046
|
+
return (e, o) => (d(), b("div", {
|
2047
|
+
class: w(["ui-SavingIndicator", `r-size-${e.size}`]),
|
2048
|
+
"data-status": t.status
|
2049
|
+
}, [
|
2050
|
+
t.status === "saving" ? (d(), p(a(z), {
|
2051
|
+
key: 0,
|
2052
|
+
icon: "svg-spinners:180-ring"
|
2053
|
+
})) : t.status === "saved" ? (d(), p(a(z), {
|
2054
|
+
key: 1,
|
2055
|
+
icon: "lucide:check-circle-2"
|
2056
|
+
})) : T("", !0)
|
2057
|
+
], 10, Ca));
|
1854
2058
|
}
|
1855
|
-
}),
|
1856
|
-
|
1857
|
-
|
2059
|
+
}), ba = ["data-accent-color"], yo = /* @__PURE__ */ f({
|
2060
|
+
__name: "IconCircle",
|
2061
|
+
props: {
|
2062
|
+
color: {},
|
2063
|
+
size: { default: 1 },
|
2064
|
+
variant: { default: "soft" },
|
2065
|
+
icon: {}
|
2066
|
+
},
|
2067
|
+
setup(s) {
|
2068
|
+
const t = s, e = y(() => k(t, ["size", "variant"]));
|
2069
|
+
return (o, l) => (d(), b("span", {
|
2070
|
+
class: w(["ui-IconCircle", e.value]),
|
2071
|
+
"data-radius": "full",
|
2072
|
+
"data-accent-color": t.color
|
2073
|
+
}, [
|
2074
|
+
c(a(z), {
|
2075
|
+
icon: t.icon
|
2076
|
+
}, null, 8, ["icon"])
|
2077
|
+
], 10, ba));
|
2078
|
+
}
|
2079
|
+
}), Ba = "https://challenges.cloudflare.com/turnstile/v0/api.js", re = "cfTurnstileOnLoad";
|
2080
|
+
let U = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", te, K, ie;
|
2081
|
+
const Co = /* @__PURE__ */ f({
|
1858
2082
|
__name: "Turnstile",
|
1859
2083
|
props: {
|
1860
2084
|
sitekey: {},
|
@@ -1867,171 +2091,128 @@ const co = /* @__PURE__ */ p({
|
|
1867
2091
|
renderOnMount: { type: Boolean, default: !0 }
|
1868
2092
|
},
|
1869
2093
|
emits: ["update:modelValue"],
|
1870
|
-
setup(s, { emit:
|
1871
|
-
const
|
2094
|
+
setup(s, { emit: t }) {
|
2095
|
+
const e = s, o = t, l = J(), u = () => {
|
1872
2096
|
window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
|
1873
2097
|
}, n = () => {
|
1874
|
-
|
1875
|
-
},
|
1876
|
-
o("update:modelValue",
|
1877
|
-
|
1878
|
-
},
|
2098
|
+
K && (window.turnstile.remove(K), K = void 0);
|
2099
|
+
}, i = (C) => {
|
2100
|
+
o("update:modelValue", C), ie = setTimeout(() => {
|
2101
|
+
u();
|
2102
|
+
}, e.resetInterval);
|
1879
2103
|
}, m = () => {
|
1880
|
-
|
1881
|
-
sitekey:
|
1882
|
-
theme:
|
1883
|
-
size:
|
1884
|
-
callback:
|
1885
|
-
action:
|
1886
|
-
appearance:
|
2104
|
+
K = window.turnstile.render(l.value, {
|
2105
|
+
sitekey: e.sitekey,
|
2106
|
+
theme: e.theme,
|
2107
|
+
size: e.size,
|
2108
|
+
callback: i,
|
2109
|
+
action: e.action,
|
2110
|
+
appearance: e.appearance
|
1887
2111
|
});
|
1888
2112
|
};
|
1889
|
-
return
|
1890
|
-
const
|
1891
|
-
|
2113
|
+
return de(async () => {
|
2114
|
+
const C = new Promise((_, h) => {
|
2115
|
+
te = { resolve: _, reject: h }, U === "ready" && _(void 0);
|
1892
2116
|
});
|
1893
|
-
window[
|
1894
|
-
|
2117
|
+
window[re] = () => {
|
2118
|
+
te.resolve(), U = "ready";
|
1895
2119
|
}, await (() => {
|
1896
|
-
if (
|
1897
|
-
|
1898
|
-
const
|
1899
|
-
|
1900
|
-
|
1901
|
-
}), document.head.appendChild(
|
2120
|
+
if (U === "unloaded") {
|
2121
|
+
U = "loading";
|
2122
|
+
const _ = `${Ba}?onload=${re}&render=explicit`, h = document.createElement("script");
|
2123
|
+
h.src = _, h.async = !0, h.addEventListener("error", () => {
|
2124
|
+
te.reject("Failed to load Turnstile.");
|
2125
|
+
}), document.head.appendChild(h);
|
1902
2126
|
}
|
1903
|
-
return
|
1904
|
-
})(),
|
1905
|
-
}),
|
1906
|
-
n(), clearTimeout(
|
1907
|
-
}), (
|
2127
|
+
return C;
|
2128
|
+
})(), e.renderOnMount && m();
|
2129
|
+
}), ue(() => {
|
2130
|
+
n(), clearTimeout(ie);
|
2131
|
+
}), (C, B) => (d(), b("div", {
|
1908
2132
|
ref_key: "element",
|
1909
2133
|
ref: l
|
1910
2134
|
}, null, 512));
|
1911
2135
|
}
|
1912
|
-
}), uo = /* @__PURE__ */ p({
|
1913
|
-
__name: "Quota",
|
1914
|
-
props: {
|
1915
|
-
percent: {},
|
1916
|
-
color: {}
|
1917
|
-
},
|
1918
|
-
setup(s) {
|
1919
|
-
const e = s, t = v(() => {
|
1920
|
-
const l = `translateX(-${100 - e.percent}%)`;
|
1921
|
-
if (e.percent > 100)
|
1922
|
-
return { transform: l, "background-color": "var(--red-a10)" };
|
1923
|
-
let i = "a4";
|
1924
|
-
return e.percent > 90 ? i = "a11" : e.percent > 66 ? i = "a9" : e.percent > 33 && (i = "a6"), { transform: l, "background-color": `var(--blue-${i})` };
|
1925
|
-
}), o = v(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
|
1926
|
-
return (l, i) => (d(), f(a(xt), {
|
1927
|
-
class: "ui-Quota",
|
1928
|
-
"model-value": o.value,
|
1929
|
-
"data-accent-color": e.color
|
1930
|
-
}, {
|
1931
|
-
default: r(() => [
|
1932
|
-
u(a($t), {
|
1933
|
-
class: "ui-QuotaValue",
|
1934
|
-
style: xe(t.value)
|
1935
|
-
}, null, 8, ["style"])
|
1936
|
-
]),
|
1937
|
-
_: 1
|
1938
|
-
}, 8, ["model-value", "data-accent-color"]));
|
1939
|
-
}
|
1940
|
-
}), ha = ["data-accent-color"], po = /* @__PURE__ */ p({
|
1941
|
-
__name: "IconCircle",
|
1942
|
-
props: {
|
1943
|
-
color: {},
|
1944
|
-
size: { default: 1 },
|
1945
|
-
variant: { default: "soft" },
|
1946
|
-
icon: {}
|
1947
|
-
},
|
1948
|
-
setup(s) {
|
1949
|
-
const e = s, t = v(() => V(e, ["size", "variant"]));
|
1950
|
-
return (o, l) => (d(), B("span", {
|
1951
|
-
class: w(["ui-IconCircle", t.value]),
|
1952
|
-
"data-radius": "full",
|
1953
|
-
"data-accent-color": e.color
|
1954
|
-
}, [
|
1955
|
-
u(a(T), {
|
1956
|
-
icon: e.icon
|
1957
|
-
}, null, 8, ["icon"])
|
1958
|
-
], 10, ha));
|
1959
|
-
}
|
1960
2136
|
});
|
1961
2137
|
export {
|
1962
|
-
|
1963
|
-
|
1964
|
-
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
2138
|
+
$o as AlertDialogAction,
|
2139
|
+
xo as AlertDialogCancel,
|
2140
|
+
ka as AlertDialogContent,
|
2141
|
+
wo as AlertDialogDescription,
|
2142
|
+
zo as AlertDialogRoot,
|
2143
|
+
So as AlertDialogTitle,
|
2144
|
+
Vo as AlertDialogTrigger,
|
2145
|
+
Sa as Avatar,
|
2146
|
+
Va as Badge,
|
2147
|
+
E as Button,
|
2148
|
+
It as Card,
|
2149
|
+
Ta as CardHead,
|
2150
|
+
Ce as Checkbox,
|
1975
2151
|
La as CheckboxGroupControl,
|
1976
|
-
|
2152
|
+
Fa as CheckboxGroupItem,
|
1977
2153
|
Ma as CheckboxGroupRoot,
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
|
2024
|
-
|
2025
|
-
|
2026
|
-
|
2027
|
-
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2031
|
-
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2035
|
-
|
2036
|
-
|
2154
|
+
co as CollapsibleChevron,
|
2155
|
+
To as CollapsibleContent,
|
2156
|
+
ko as CollapsibleRoot,
|
2157
|
+
Ro as CollapsibleTrigger,
|
2158
|
+
qa as ColorField,
|
2159
|
+
eo as ComboboxContent,
|
2160
|
+
Po as ComboboxEmpty,
|
2161
|
+
Do as ComboboxGroup,
|
2162
|
+
Ya as ComboboxInput,
|
2163
|
+
to as ComboboxItem,
|
2164
|
+
ao as ComboboxLabel,
|
2165
|
+
Xa as ComboboxRoot,
|
2166
|
+
Ao as DialogClose,
|
2167
|
+
Ra as DialogContent,
|
2168
|
+
Io as DialogDescription,
|
2169
|
+
Pa as DialogHead,
|
2170
|
+
Oo as DialogRoot,
|
2171
|
+
Mo as DialogTitle,
|
2172
|
+
Fo as DialogTrigger,
|
2173
|
+
Da as DropdownMenuContent,
|
2174
|
+
Aa as DropdownMenuItem,
|
2175
|
+
Lo as DropdownMenuRoot,
|
2176
|
+
Go as DropdownMenuTrigger,
|
2177
|
+
Qo as Icon,
|
2178
|
+
G as IconButton,
|
2179
|
+
yo as IconCircle,
|
2180
|
+
At as Inset,
|
2181
|
+
po as Pagination,
|
2182
|
+
Ho as PopoverClose,
|
2183
|
+
Ia as PopoverContent,
|
2184
|
+
Eo as PopoverRoot,
|
2185
|
+
Wo as PopoverTrigger,
|
2186
|
+
_o as Quota,
|
2187
|
+
oo as Radio,
|
2188
|
+
no as RadioCardsItem,
|
2189
|
+
so as RadioCardsRoot,
|
2190
|
+
lo as RadioGroupItem,
|
2191
|
+
so as RadioGroupRoot,
|
2192
|
+
jo as RadioTabsItem,
|
2193
|
+
ro as RadioTabsList,
|
2194
|
+
vo as SavingIndicator,
|
2195
|
+
ye as ScrollArea,
|
2196
|
+
Ka as SelectContent,
|
2197
|
+
qo as SelectGroup,
|
2198
|
+
Qa as SelectItem,
|
2199
|
+
Ja as SelectLabel,
|
2200
|
+
Ua as SelectRoot,
|
2201
|
+
Za as SelectSeparator,
|
2202
|
+
Na as SelectTrigger,
|
2203
|
+
mo as Separator,
|
2204
|
+
go as Spinner,
|
2205
|
+
Oa as Switch,
|
2206
|
+
fo as Table,
|
2207
|
+
Uo as TabsContent,
|
2208
|
+
io as TabsList,
|
2209
|
+
Ko as TabsRoot,
|
2210
|
+
uo as TabsTrigger,
|
2211
|
+
ja as TextArea,
|
2212
|
+
Wa as TextField,
|
2213
|
+
Ga as Toggle,
|
2214
|
+
Ea as ToggleGroupItem,
|
2215
|
+
Ha as ToggleGroupRoot,
|
2216
|
+
ho as Tooltip,
|
2217
|
+
Co as Turnstile
|
2037
2218
|
};
|