@mkbabb/glass-ui 2.0.0 → 3.0.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/LICENSE +21 -0
- package/README.md +9 -0
- package/dist/{CommandShortcut-_INFUMu6.js → CommandShortcut-BNDzfFnB.js} +2 -2
- package/dist/{ContextMenuSubContent-DCkweFW9.js → ContextMenuSubContent-DLEyeqbh.js} +3 -3
- package/dist/{DialogContent-CmCijgX9.js → DialogContent-DSo7PKlU.js} +1 -1
- package/dist/{DialogFooter-DRdaCok0.js → DialogFooter-D5KY6sCX.js} +1 -1
- package/dist/{Notification-DrI1DT2v.js → Notification-D97JO0fK.js} +2 -2
- package/dist/{SelectScrollDownButton-yu8EYUnu.js → SelectScrollDownButton-BwTexKeY.js} +2 -2
- package/dist/{Toaster-DY8_jtHv.js → Toaster-CY8gJu9E.js} +69 -58
- package/dist/animated-digit.js +1 -1
- package/dist/aurora.js +100 -87
- package/dist/carousel.js +4 -4
- package/dist/{check-dwgetki8.js → check-Nuw7H9Yh.js} +1 -1
- package/dist/{chevron-down-DILQA1t6.js → chevron-down-Du2b9vY_.js} +1 -1
- package/dist/{chevron-right-fS7fal2t.js → chevron-right-CtDxpE3w.js} +1 -1
- package/dist/{chevron-up-BtYjYQOS.js → chevron-up-CenYokvI.js} +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/composables/runtime.d.ts +24 -1
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +1 -1
- package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +6 -4
- package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +1 -1
- package/dist/components/ui/drawer/Drawer.vue.d.ts +25 -2
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +12 -1
- package/dist/components/ui/drawer/index.d.ts +9 -0
- package/dist/components/ui/toast/Toaster.vue.d.ts +7 -1
- package/dist/components/ui/toast/index.d.ts +1 -0
- package/dist/components/ui/toast/use-toast.d.ts +14 -1
- package/dist/composables/dark/index.d.ts +1 -0
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useIdleReady.d.ts +63 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/motion/core/index.d.ts +6 -0
- package/dist/composables/motion/index.d.ts +0 -7
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +1 -1
- package/dist/constants-D-8FN28s.js +13 -0
- package/dist/context-menu.js +1 -1
- package/dist/{createLucideIcon-Bn9a1b70.js → createLucideIcon-rHu18UQW.js} +2 -2
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +12 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +1 -1
- package/dist/dom.js +2 -2
- package/dist/{dropdown-menu-2K-SGkZU.js → dropdown-menu-gHSkffW7.js} +2 -2
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +2 -2
- package/dist/forms.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +139 -115
- package/dist/icon-tooltip.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +3 -3
- package/dist/{minimize-2-LsCJ_eNt.js → minimize-2-C_oyKVwZ.js} +1 -1
- package/dist/motion-core.d.ts +1 -0
- package/dist/motion-core.js +192 -0
- package/dist/motion.js +25 -227
- package/dist/notification.js +1 -1
- package/dist/responsive-tabs.js +1 -1
- package/dist/{search-ocd8tmL9.js → search-7XEx_6hq.js} +1 -1
- package/dist/search.js +4 -4
- package/dist/select.js +1 -1
- package/dist/{sheet-CLVkb3AO.js → sheet-BsBdO5jq.js} +1 -1
- package/dist/sheet.js +1 -1
- package/dist/sortable-list.js +6 -3
- package/dist/status-dot.js +16 -13
- package/dist/styles/dock.css +72 -95
- package/dist/styles/drawer.css +138 -0
- package/dist/styles/index.css +18 -2
- package/dist/styles/instrument-chassis.css +28 -1
- package/dist/styles/theme.css +3 -0
- package/dist/styles/tokens.css +109 -266
- package/dist/styles/typography.css +44 -131
- package/dist/styles/utilities.css +23 -58
- package/dist/toast.js +1 -1
- package/dist/{useAnimatedNumber-DcvTR9B4.js → useAnimatedNumber-2l13GibX.js} +9 -20
- package/dist/{useConfiguratorState-BlaevW0S.js → useConfiguratorState-BpZi8QJu.js} +5 -5
- package/dist/{useBreakpoint-BHlX-MhR.js → useIdleReady-DlzJicQH.js} +29 -1
- package/dist/{x-cdWAmO-q.js → x-Cb3NE2Ne.js} +1 -1
- package/package.json +12 -5
- package/src/styles/dock.css +72 -95
- package/src/styles/drawer.css +138 -0
- package/src/styles/index.css +14 -2
- package/src/styles/instrument-chassis.css +28 -1
- package/src/styles/theme.css +3 -0
- package/src/styles/tokens.css +109 -266
- package/src/styles/typography.css +44 -131
- package/src/styles/utilities.css +23 -58
- package/dist/composables/motion/useSpringOrchestrator.d.ts +0 -15
- /package/dist/{IconTooltip-ge_mBSWR.js → IconTooltip-GIeWdo64.js} +0 -0
- /package/dist/{Input-CbakTe3B.js → Input-CBvqW8kZ.js} +0 -0
- /package/dist/composables/{motion → dark}/installDarkModeSync.d.ts +0 -0
- /package/dist/{useKeyboardShortcuts-B1ev1YEC.js → useKeyboardShortcuts-CPO4AhLx.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./createLucideIcon-
|
|
3
|
-
import { t as n } from "./check-
|
|
4
|
-
import { t as r } from "./chevron-down-
|
|
5
|
-
import { t as i } from "./Notification-
|
|
6
|
-
import { a, c as o, i as s, l as c, n as l, o as u, r as d, s as f, t as p, u as ee } from "./ContextMenuSubContent-
|
|
7
|
-
import { a as te, i as ne, n as re, o as ie, r as ae, s as oe, t as se } from "./useConfiguratorState-
|
|
8
|
-
import { t as m } from "./x-
|
|
2
|
+
import { t } from "./createLucideIcon-rHu18UQW.js";
|
|
3
|
+
import { t as n } from "./check-Nuw7H9Yh.js";
|
|
4
|
+
import { t as r } from "./chevron-down-Du2b9vY_.js";
|
|
5
|
+
import { t as i } from "./Notification-D97JO0fK.js";
|
|
6
|
+
import { a, c as o, i as s, l as c, n as l, o as u, r as d, s as f, t as p, u as ee } from "./ContextMenuSubContent-DLEyeqbh.js";
|
|
7
|
+
import { a as te, i as ne, n as re, o as ie, r as ae, s as oe, t as se } from "./useConfiguratorState-BpZi8QJu.js";
|
|
8
|
+
import { t as m } from "./x-Cb3NE2Ne.js";
|
|
9
9
|
import { n as h, t as ce } from "./badge-BbxVKZfw.js";
|
|
10
10
|
import { n as g, t as le } from "./button-BlOW34DT.js";
|
|
11
11
|
import { a as ue, i as de, n as fe, o as pe, r as me, t as he } from "./CardFooter-Yi0xtLLd.js";
|
|
12
12
|
import { n as ge, r as _e, t as ve } from "./CollapsibleContent-DHRuXE3P.js";
|
|
13
|
-
import { a as _, c as ye, i as v, l as y, n as be, o as b, r as x, s as S, t as xe } from "./CommandShortcut-
|
|
14
|
-
import { n as Se, t as Ce } from "./DialogContent-
|
|
15
|
-
import { a as we, i as Te, n as Ee, o as De, r as Oe, s as ke, t as Ae } from "./DialogFooter-
|
|
13
|
+
import { a as _, c as ye, i as v, l as y, n as be, o as b, r as x, s as S, t as xe } from "./CommandShortcut-BNDzfFnB.js";
|
|
14
|
+
import { n as Se, t as Ce } from "./DialogContent-DSo7PKlU.js";
|
|
15
|
+
import { a as we, i as Te, n as Ee, o as De, r as Oe, s as ke, t as Ae } from "./DialogFooter-D5KY6sCX.js";
|
|
16
16
|
import { n as C, r as je, t as Me } from "./ContextMenuContent-CvXfU5qz.js";
|
|
17
17
|
import { a as Ne, c as Pe, i as Fe, l as Ie, n as Le, o as Re, r as ze, s as Be, t as Ve, u as He } from "./DataTable-Ce00dbHD.js";
|
|
18
|
-
import { a as Ue, c as We, d as Ge, f as Ke, h as qe, i as Je, l as Ye, m as Xe, n as Ze, o as Qe, p as $e, r as et, s as tt, t as nt, u as rt } from "./dropdown-menu-
|
|
18
|
+
import { a as Ue, c as We, d as Ge, f as Ke, h as qe, i as Je, l as Ye, m as Xe, n as Ze, o as Qe, p as $e, r as et, s as tt, t as nt, u as rt } from "./dropdown-menu-gHSkffW7.js";
|
|
19
19
|
import { n as it, r as at, t as ot } from "./HoverCardContent-4nN5-5bz.js";
|
|
20
20
|
import { t as st } from "./Label-C8QMJSsf.js";
|
|
21
21
|
import { t as ct } from "./MetricBadge-DRBB18Xq.js";
|
|
22
22
|
import { n as w, r as T, t as E } from "./PopoverContent-BCH4eYs8.js";
|
|
23
23
|
import { t as lt } from "./Progress-CCH-2UBR.js";
|
|
24
24
|
import { t as ut } from "./PaperBackdrop-Bc2drCqJ.js";
|
|
25
|
-
import { a as dt, i as ft, n as pt, o as mt, r as ht, s as gt, t as _t } from "./SelectScrollDownButton-
|
|
25
|
+
import { a as dt, i as ft, n as pt, o as mt, r as ht, s as gt, t as _t } from "./SelectScrollDownButton-BwTexKeY.js";
|
|
26
26
|
import { t as vt } from "./SelectGroup-O69GTQ77.js";
|
|
27
27
|
import { n as yt, t as bt } from "./SelectSeparator-GTHxKO0a.js";
|
|
28
28
|
import { t as xt } from "./Separator-_NCypg_C.js";
|
|
29
|
-
import { a as St, c as Ct, i as wt, l as Tt, n as Et, o as Dt, r as Ot, s as kt, t as At } from "./sheet-
|
|
29
|
+
import { a as St, c as Ct, i as wt, l as Tt, n as Et, o as Dt, r as Ot, s as kt, t as At } from "./sheet-BsBdO5jq.js";
|
|
30
30
|
import { t as jt } from "./useTimer-lp5NlH4w.js";
|
|
31
31
|
import { t as Mt } from "./useTouchGate-BhhEMlwJ.js";
|
|
32
32
|
import { n as Nt, t as Pt } from "./slider-BQaLYFLh.js";
|
|
33
33
|
import { t as Ft } from "./Switch-CL0uxu8F.js";
|
|
34
|
-
import { a as It, c as Lt, i as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut } from "./Toaster-
|
|
34
|
+
import { a as It, c as Lt, i as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut } from "./Toaster-CY8gJu9E.js";
|
|
35
35
|
import { i as Wt, n as Gt, r as Kt, t as qt } from "./ToggleGroupItem-BYG_8M9M.js";
|
|
36
36
|
import { i as Jt, n as Yt, r as Xt, t as Zt } from "./TooltipProvider-C5QLSPto.js";
|
|
37
37
|
import { n as Qt, t as $t } from "./InstrumentChassis-DOaVYyWq.js";
|
|
@@ -43,16 +43,16 @@ import { t as sn } from "./HoverPopover-Btv4RQfv.js";
|
|
|
43
43
|
import { t as cn } from "./useResizeObserver-F4aRR4Cj.js";
|
|
44
44
|
import { t as ln } from "./ScrollingText-7P8skg5W.js";
|
|
45
45
|
import { t as un } from "./useInterval-COlTCeVa.js";
|
|
46
|
-
import { a as dn, i as fn, n as pn,
|
|
47
|
-
import { n as
|
|
48
|
-
import { t as
|
|
49
|
-
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, guardReactiveProps as L, mergeProps as R, normalizeClass as z, normalizeProps as B, openBlock as V, ref as
|
|
50
|
-
import { AccordionContent as
|
|
46
|
+
import { a as dn, i as fn, n as pn, o as D, r as mn, t as hn } from "./useIdleReady-DlzJicQH.js";
|
|
47
|
+
import { n as gn, r as _n, t as vn } from "./useGlassRenderer-DMDdMH55.js";
|
|
48
|
+
import { t as yn } from "./useSortable-Ck0rBJ4g.js";
|
|
49
|
+
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as P, createVNode as F, defineComponent as I, guardReactiveProps as L, mergeProps as R, normalizeClass as z, normalizeProps as B, openBlock as V, ref as bn, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as xn, unref as K, withCtx as q, withModifiers as Sn } from "vue";
|
|
50
|
+
import { AccordionContent as Cn, AccordionHeader as wn, AccordionItem as Tn, AccordionRoot as En, AccordionTrigger as Dn, AvatarFallback as On, AvatarImage as kn, AvatarRoot as An, CheckboxIndicator as jn, CheckboxRoot as Mn, NumberFieldDecrement as Nn, NumberFieldIncrement as Pn, NumberFieldInput as Fn, NumberFieldRoot as In, RadioGroupIndicator as Ln, RadioGroupItem as Rn, RadioGroupRoot as zn, TabsContent as Bn, TabsIndicator as Vn, TabsList as Hn, TabsRoot as Un, TabsTrigger as Wn, TagsInputInput as Gn, TagsInputItem as Kn, TagsInputItemDelete as qn, TagsInputItemText as Jn, TagsInputRoot as Yn, useEmitAsProps as Xn, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
51
51
|
import { cva as X } from "class-variance-authority";
|
|
52
|
-
import { DrawerClose as
|
|
52
|
+
import { DrawerClose as Zn, DrawerContent as Qn, DrawerDescription as $n, DrawerOverlay as er, DrawerPortal as tr, DrawerPortal as nr, DrawerRoot as rr, DrawerTitle as ir, DrawerTrigger as ar } from "vaul-vue";
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/components/ui/accordion/Accordion.vue
|
|
55
|
-
var
|
|
55
|
+
var or = /* @__PURE__ */ I({
|
|
56
56
|
__name: "Accordion",
|
|
57
57
|
props: {
|
|
58
58
|
collapsible: { type: Boolean },
|
|
@@ -69,12 +69,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
69
69
|
emits: ["update:modelValue"],
|
|
70
70
|
setup(e, { emit: t }) {
|
|
71
71
|
let n = Y(e, t);
|
|
72
|
-
return (e, t) => (V(), A(K(
|
|
72
|
+
return (e, t) => (V(), A(K(En), B(L(K(n))), {
|
|
73
73
|
default: q(() => [U(e.$slots, "default")]),
|
|
74
74
|
_: 3
|
|
75
75
|
}, 16));
|
|
76
76
|
}
|
|
77
|
-
}),
|
|
77
|
+
}), sr = /* @__PURE__ */ I({
|
|
78
78
|
__name: "AccordionContent",
|
|
79
79
|
props: {
|
|
80
80
|
forceMount: { type: Boolean },
|
|
@@ -93,12 +93,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
93
93
|
let { class: e, ...t } = n;
|
|
94
94
|
return t;
|
|
95
95
|
});
|
|
96
|
-
return (t, i) => (V(), A(K(
|
|
96
|
+
return (t, i) => (V(), A(K(Cn), R(r.value, { class: "overflow-hidden text-sm transition-[height,opacity] data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
97
97
|
default: q(() => [N("div", { class: z(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
98
98
|
_: 3
|
|
99
99
|
}, 16));
|
|
100
100
|
}
|
|
101
|
-
}),
|
|
101
|
+
}), cr = /* @__PURE__ */ I({
|
|
102
102
|
__name: "AccordionItem",
|
|
103
103
|
props: {
|
|
104
104
|
disabled: { type: Boolean },
|
|
@@ -119,21 +119,21 @@ var ir = /* @__PURE__ */ I({
|
|
|
119
119
|
let { class: e, ...t } = n;
|
|
120
120
|
return t;
|
|
121
121
|
}));
|
|
122
|
-
return (t, i) => (V(), A(K(
|
|
122
|
+
return (t, i) => (V(), A(K(Tn), R(K(r), { class: K(e)("border-b", n.class) }), {
|
|
123
123
|
default: q(() => [U(t.$slots, "default")]),
|
|
124
124
|
_: 3
|
|
125
125
|
}, 16, ["class"]));
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
127
|
+
}), lr = t("minus", [["path", {
|
|
128
128
|
d: "M5 12h14",
|
|
129
129
|
key: "1ays0h"
|
|
130
|
-
}]]),
|
|
130
|
+
}]]), ur = t("plus", [["path", {
|
|
131
131
|
d: "M5 12h14",
|
|
132
132
|
key: "1ays0h"
|
|
133
133
|
}], ["path", {
|
|
134
134
|
d: "M12 5v14",
|
|
135
135
|
key: "s699le"
|
|
136
|
-
}]]),
|
|
136
|
+
}]]), dr = /* @__PURE__ */ I({
|
|
137
137
|
__name: "AccordionTrigger",
|
|
138
138
|
props: {
|
|
139
139
|
asChild: { type: Boolean },
|
|
@@ -151,15 +151,15 @@ var ir = /* @__PURE__ */ I({
|
|
|
151
151
|
let { class: e, ...t } = n;
|
|
152
152
|
return t;
|
|
153
153
|
});
|
|
154
|
-
return (t, a) => (V(), A(K(
|
|
155
|
-
default: q(() => [F(K(
|
|
154
|
+
return (t, a) => (V(), A(K(wn), { class: "flex" }, {
|
|
155
|
+
default: q(() => [F(K(Dn), R(i.value, { class: K(e)("flex flex-1 items-center justify-between py-4 font-medium transition-[color,text-decoration-color,background-color] hover:underline [&[data-state=open]>svg]:rotate-180", n.class) }), {
|
|
156
156
|
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [F(K(r), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })])]),
|
|
157
157
|
_: 3
|
|
158
158
|
}, 16, ["class"])]),
|
|
159
159
|
_: 3
|
|
160
160
|
}));
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
162
|
+
}), fr = /* @__PURE__ */ I({
|
|
163
163
|
__name: "Alert",
|
|
164
164
|
props: {
|
|
165
165
|
class: { type: [
|
|
@@ -179,7 +179,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
179
179
|
role: "alert"
|
|
180
180
|
}, [U(r.$slots, "default")], 2));
|
|
181
181
|
}
|
|
182
|
-
}),
|
|
182
|
+
}), pr = /* @__PURE__ */ I({
|
|
183
183
|
__name: "AlertDescription",
|
|
184
184
|
props: { class: { type: [
|
|
185
185
|
Boolean,
|
|
@@ -195,7 +195,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
195
195
|
class: z(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
196
196
|
}, [U(t.$slots, "default")], 2));
|
|
197
197
|
}
|
|
198
|
-
}),
|
|
198
|
+
}), mr = /* @__PURE__ */ I({
|
|
199
199
|
__name: "AlertTitle",
|
|
200
200
|
props: { class: { type: [
|
|
201
201
|
Boolean,
|
|
@@ -217,7 +217,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
217
217
|
destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
|
|
218
218
|
} },
|
|
219
219
|
defaultVariants: { variant: "default" }
|
|
220
|
-
}),
|
|
220
|
+
}), hr = /* @__PURE__ */ I({
|
|
221
221
|
__name: "Avatar",
|
|
222
222
|
props: {
|
|
223
223
|
class: { type: [
|
|
@@ -232,7 +232,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
232
232
|
},
|
|
233
233
|
setup(t) {
|
|
234
234
|
let n = t;
|
|
235
|
-
return (r, i) => (V(), A(K(
|
|
235
|
+
return (r, i) => (V(), A(K(An), { class: z(K(e)(K(Q)({
|
|
236
236
|
size: t.size,
|
|
237
237
|
shape: t.shape
|
|
238
238
|
}), n.class)) }, {
|
|
@@ -240,7 +240,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
240
240
|
_: 3
|
|
241
241
|
}, 8, ["class"]));
|
|
242
242
|
}
|
|
243
|
-
}),
|
|
243
|
+
}), gr = /* @__PURE__ */ I({
|
|
244
244
|
__name: "AvatarImage",
|
|
245
245
|
props: {
|
|
246
246
|
src: {},
|
|
@@ -251,9 +251,9 @@ var ir = /* @__PURE__ */ I({
|
|
|
251
251
|
},
|
|
252
252
|
setup(e) {
|
|
253
253
|
let t = e;
|
|
254
|
-
return (e, n) => (V(), A(K(
|
|
254
|
+
return (e, n) => (V(), A(K(kn), R(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
255
255
|
}
|
|
256
|
-
}),
|
|
256
|
+
}), _r = /* @__PURE__ */ I({
|
|
257
257
|
__name: "AvatarFallback",
|
|
258
258
|
props: {
|
|
259
259
|
delayMs: {},
|
|
@@ -262,7 +262,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
262
262
|
},
|
|
263
263
|
setup(e) {
|
|
264
264
|
let t = e;
|
|
265
|
-
return (e, n) => (V(), A(K(
|
|
265
|
+
return (e, n) => (V(), A(K(On), B(L(t)), {
|
|
266
266
|
default: q(() => [U(e.$slots, "default")]),
|
|
267
267
|
_: 3
|
|
268
268
|
}, 16));
|
|
@@ -277,7 +277,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
277
277
|
circle: "rounded-pill",
|
|
278
278
|
square: "rounded-input"
|
|
279
279
|
}
|
|
280
|
-
} }),
|
|
280
|
+
} }), vr = /* @__PURE__ */ I({
|
|
281
281
|
__name: "Checkbox",
|
|
282
282
|
props: {
|
|
283
283
|
defaultValue: {},
|
|
@@ -305,15 +305,15 @@ var ir = /* @__PURE__ */ I({
|
|
|
305
305
|
let { class: e, ...t } = i;
|
|
306
306
|
return t;
|
|
307
307
|
}), a);
|
|
308
|
-
return (t, r) => (V(), A(K(
|
|
309
|
-
default: q(() => [F(K(
|
|
308
|
+
return (t, r) => (V(), A(K(Mn), R(K(o), { class: K(e)("focus-ring peer h-4 w-4 shrink-0 rounded-sm border border-primary disabled:cursor-not-allowed disabled:opacity-disabled data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", i.class) }), {
|
|
309
|
+
default: q(() => [F(K(jn), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
310
310
|
default: q(() => [U(t.$slots, "default", {}, () => [F(K(n), { class: "h-4 w-4" })])]),
|
|
311
311
|
_: 3
|
|
312
312
|
})]),
|
|
313
313
|
_: 3
|
|
314
314
|
}, 16, ["class"]));
|
|
315
315
|
}
|
|
316
|
-
}),
|
|
316
|
+
}), yr = /* @__PURE__ */ I({
|
|
317
317
|
__name: "TableCaption",
|
|
318
318
|
props: { class: { type: [
|
|
319
319
|
Boolean,
|
|
@@ -326,20 +326,23 @@ var ir = /* @__PURE__ */ I({
|
|
|
326
326
|
let n = t;
|
|
327
327
|
return (t, r) => (V(), M("caption", { class: z(K(e)("mt-4 text-sm text-muted-foreground", n.class)) }, [U(t.$slots, "default")], 2));
|
|
328
328
|
}
|
|
329
|
-
}),
|
|
329
|
+
}), br = /* @__PURE__ */ I({
|
|
330
330
|
__name: "Drawer",
|
|
331
331
|
props: {
|
|
332
332
|
activeSnapPoint: {},
|
|
333
333
|
closeThreshold: {},
|
|
334
334
|
shouldScaleBackground: {
|
|
335
335
|
type: Boolean,
|
|
336
|
-
default:
|
|
336
|
+
default: void 0
|
|
337
337
|
},
|
|
338
338
|
setBackgroundColorOnScale: { type: Boolean },
|
|
339
339
|
scrollLockTimeout: {},
|
|
340
340
|
fixed: { type: Boolean },
|
|
341
341
|
dismissible: { type: Boolean },
|
|
342
|
-
modal: {
|
|
342
|
+
modal: {
|
|
343
|
+
type: Boolean,
|
|
344
|
+
default: void 0
|
|
345
|
+
},
|
|
343
346
|
open: { type: Boolean },
|
|
344
347
|
defaultOpen: { type: Boolean },
|
|
345
348
|
nested: { type: Boolean },
|
|
@@ -347,8 +350,9 @@ var ir = /* @__PURE__ */ I({
|
|
|
347
350
|
noBodyStyles: { type: Boolean },
|
|
348
351
|
handleOnly: { type: Boolean },
|
|
349
352
|
preventScrollRestoration: { type: Boolean },
|
|
350
|
-
snapPoints: {},
|
|
351
|
-
fadeFromIndex: {}
|
|
353
|
+
snapPoints: { default: void 0 },
|
|
354
|
+
fadeFromIndex: {},
|
|
355
|
+
mode: { default: "modal" }
|
|
352
356
|
},
|
|
353
357
|
emits: [
|
|
354
358
|
"drag",
|
|
@@ -359,8 +363,21 @@ var ir = /* @__PURE__ */ I({
|
|
|
359
363
|
"animationEnd"
|
|
360
364
|
],
|
|
361
365
|
setup(e, { emit: t }) {
|
|
362
|
-
let n =
|
|
363
|
-
|
|
366
|
+
let n = e, r = Xn(t), i = [
|
|
367
|
+
.12,
|
|
368
|
+
.5,
|
|
369
|
+
1
|
|
370
|
+
], a = k(() => {
|
|
371
|
+
let { mode: e, ...t } = n, a = e === "live-behind";
|
|
372
|
+
return {
|
|
373
|
+
...t,
|
|
374
|
+
modal: n.modal ?? !a,
|
|
375
|
+
shouldScaleBackground: n.shouldScaleBackground ?? !a,
|
|
376
|
+
snapPoints: n.snapPoints ?? (a ? i : void 0),
|
|
377
|
+
...r
|
|
378
|
+
};
|
|
379
|
+
});
|
|
380
|
+
return (e, t) => (V(), A(K(rr), B(L(a.value)), {
|
|
364
381
|
default: q(() => [U(e.$slots, "default")]),
|
|
365
382
|
_: 3
|
|
366
383
|
}, 16));
|
|
@@ -384,9 +401,9 @@ var ir = /* @__PURE__ */ I({
|
|
|
384
401
|
let { class: e, ...t } = n;
|
|
385
402
|
return t;
|
|
386
403
|
});
|
|
387
|
-
return (t, i) => (V(), A(K(
|
|
404
|
+
return (t, i) => (V(), A(K(er), R(r.value, { class: K(e)("fixed inset-0 z-overlay bg-overlay-scrim-strong [backdrop-filter:var(--glass-blur-wash)]", n.class) }), null, 16, ["class"]));
|
|
388
405
|
}
|
|
389
|
-
}),
|
|
406
|
+
}), xr = /* @__PURE__ */ I({
|
|
390
407
|
__name: "DrawerContent",
|
|
391
408
|
props: {
|
|
392
409
|
forceMount: { type: Boolean },
|
|
@@ -399,7 +416,11 @@ var ir = /* @__PURE__ */ I({
|
|
|
399
416
|
String,
|
|
400
417
|
Object,
|
|
401
418
|
Array
|
|
402
|
-
] }
|
|
419
|
+
] },
|
|
420
|
+
showOverlay: {
|
|
421
|
+
type: Boolean,
|
|
422
|
+
default: !0
|
|
423
|
+
}
|
|
403
424
|
},
|
|
404
425
|
emits: [
|
|
405
426
|
"escapeKeyDown",
|
|
@@ -411,15 +432,18 @@ var ir = /* @__PURE__ */ I({
|
|
|
411
432
|
],
|
|
412
433
|
setup(t, { emit: n }) {
|
|
413
434
|
let r = t, i = Y(r, n);
|
|
414
|
-
return (t, n) => (V(), A(K(
|
|
415
|
-
default: q(() => [
|
|
416
|
-
default: q(() => [n[0] ||= N("div", {
|
|
435
|
+
return (t, n) => (V(), A(K(nr), null, {
|
|
436
|
+
default: q(() => [r.showOverlay ? (V(), A($, { key: 0 })) : j("", !0), F(K(Qn), R(K(i), { class: K(e)("glass-drawer", r.class) }), {
|
|
437
|
+
default: q(() => [n[0] ||= N("div", {
|
|
438
|
+
class: "glass-drawer-handle",
|
|
439
|
+
"aria-hidden": "true"
|
|
440
|
+
}, [N("span", { class: "glass-drawer-grip" })], -1), U(t.$slots, "default")]),
|
|
417
441
|
_: 3
|
|
418
442
|
}, 16, ["class"])]),
|
|
419
443
|
_: 3
|
|
420
444
|
}));
|
|
421
445
|
}
|
|
422
|
-
}),
|
|
446
|
+
}), Sr = /* @__PURE__ */ I({
|
|
423
447
|
__name: "DrawerHeader",
|
|
424
448
|
props: { class: { type: [
|
|
425
449
|
Boolean,
|
|
@@ -432,7 +456,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
432
456
|
let n = t;
|
|
433
457
|
return (t, r) => (V(), M("div", { class: z(K(e)("grid gap-1.5 p-4 text-center sm:text-left", n.class)) }, [U(t.$slots, "default")], 2));
|
|
434
458
|
}
|
|
435
|
-
}),
|
|
459
|
+
}), Cr = /* @__PURE__ */ I({
|
|
436
460
|
__name: "DrawerFooter",
|
|
437
461
|
props: { class: { type: [
|
|
438
462
|
Boolean,
|
|
@@ -445,7 +469,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
445
469
|
let n = t;
|
|
446
470
|
return (t, r) => (V(), M("div", { class: z(K(e)("mt-auto flex flex-col gap-2 p-4", n.class)) }, [U(t.$slots, "default")], 2));
|
|
447
471
|
}
|
|
448
|
-
}),
|
|
472
|
+
}), wr = /* @__PURE__ */ I({
|
|
449
473
|
__name: "DrawerTitle",
|
|
450
474
|
props: {
|
|
451
475
|
asChild: { type: Boolean },
|
|
@@ -463,12 +487,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
463
487
|
let { class: e, ...t } = n;
|
|
464
488
|
return t;
|
|
465
489
|
});
|
|
466
|
-
return (t, i) => (V(), A(K(
|
|
490
|
+
return (t, i) => (V(), A(K(ir), R(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
467
491
|
default: q(() => [U(t.$slots, "default")]),
|
|
468
492
|
_: 3
|
|
469
493
|
}, 16, ["class"]));
|
|
470
494
|
}
|
|
471
|
-
}),
|
|
495
|
+
}), Tr = /* @__PURE__ */ I({
|
|
472
496
|
__name: "DrawerDescription",
|
|
473
497
|
props: {
|
|
474
498
|
asChild: { type: Boolean },
|
|
@@ -486,12 +510,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
486
510
|
let { class: e, ...t } = n;
|
|
487
511
|
return t;
|
|
488
512
|
});
|
|
489
|
-
return (t, i) => (V(), A(K(
|
|
513
|
+
return (t, i) => (V(), A(K($n), R(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
490
514
|
default: q(() => [U(t.$slots, "default")]),
|
|
491
515
|
_: 3
|
|
492
516
|
}, 16, ["class"]));
|
|
493
517
|
}
|
|
494
|
-
}),
|
|
518
|
+
}), Er = /* @__PURE__ */ I({
|
|
495
519
|
__name: "MetricPill",
|
|
496
520
|
props: {
|
|
497
521
|
amount: {},
|
|
@@ -537,16 +561,16 @@ var ir = /* @__PURE__ */ I({
|
|
|
537
561
|
"data-density"
|
|
538
562
|
]));
|
|
539
563
|
}
|
|
540
|
-
}),
|
|
564
|
+
}), Dr = { class: "truncate" }, Or = {
|
|
541
565
|
key: 0,
|
|
542
566
|
class: "mr-2"
|
|
543
|
-
},
|
|
567
|
+
}, kr = {
|
|
544
568
|
key: 0,
|
|
545
569
|
class: "flex flex-wrap gap-1 mt-2"
|
|
546
|
-
},
|
|
570
|
+
}, Ar = {
|
|
547
571
|
key: 0,
|
|
548
572
|
class: "mr-1"
|
|
549
|
-
},
|
|
573
|
+
}, jr = /* @__PURE__ */ I({
|
|
550
574
|
__name: "MultiSelect",
|
|
551
575
|
props: {
|
|
552
576
|
options: {},
|
|
@@ -560,12 +584,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
560
584
|
},
|
|
561
585
|
emits: ["update:modelValue"],
|
|
562
586
|
setup(t, { emit: i }) {
|
|
563
|
-
let a = t, o = i, s =
|
|
587
|
+
let a = t, o = i, s = bn(!1), c = k(() => a.options.filter((e) => a.modelValue.includes(e.value))), l = k(() => c.value.length === 0 ? a.placeholder : c.value.length <= a.maxDisplay ? c.value.map((e) => e.label).join(", ") : `${c.value.slice(0, a.maxDisplay).map((e) => e.label).join(", ")}... (+${c.value.length - a.maxDisplay})`);
|
|
564
588
|
function u(e) {
|
|
565
589
|
return typeof e == "string" && e.length > 0;
|
|
566
590
|
}
|
|
567
591
|
function d(e) {
|
|
568
|
-
return !e || u(e) ? null :
|
|
592
|
+
return !e || u(e) ? null : xn(e);
|
|
569
593
|
}
|
|
570
594
|
function f(e) {
|
|
571
595
|
o("update:modelValue", a.modelValue.includes(e) ? a.modelValue.filter((t) => t !== e) : [...a.modelValue, e]);
|
|
@@ -585,7 +609,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
585
609
|
disabled: t.disabled,
|
|
586
610
|
class: "w-full justify-between text-left font-normal"
|
|
587
611
|
}, {
|
|
588
|
-
default: q(() => [N("span",
|
|
612
|
+
default: q(() => [N("span", Dr, G(l.value), 1), F(K(r), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
589
613
|
_: 1
|
|
590
614
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
591
615
|
_: 1
|
|
@@ -610,7 +634,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
610
634
|
}, {
|
|
611
635
|
default: q(() => [
|
|
612
636
|
F(K(n), { class: z(K(e)("mr-2 h-4 w-4", t.modelValue.includes(r.value) ? "opacity-100" : "opacity-0")) }, null, 8, ["class"]),
|
|
613
|
-
u(r.icon) ? (V(), M("span",
|
|
637
|
+
u(r.icon) ? (V(), M("span", Or, G(r.icon), 1)) : d(r.icon) ? (V(), A(W(d(r.icon)), {
|
|
614
638
|
key: 1,
|
|
615
639
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
616
640
|
"aria-hidden": "true"
|
|
@@ -629,13 +653,13 @@ var ir = /* @__PURE__ */ I({
|
|
|
629
653
|
_: 1
|
|
630
654
|
})]),
|
|
631
655
|
_: 1
|
|
632
|
-
}, 8, ["open"]), c.value.length > 0 ? (V(), M("div",
|
|
656
|
+
}, 8, ["open"]), c.value.length > 0 ? (V(), M("div", kr, [(V(!0), M(O, null, H(c.value, (e) => (V(), A(K(h), {
|
|
633
657
|
key: e.value,
|
|
634
658
|
variant: "secondary",
|
|
635
659
|
class: "text-xs px-2 py-1"
|
|
636
660
|
}, {
|
|
637
661
|
default: q(() => [
|
|
638
|
-
u(e.icon) ? (V(), M("span",
|
|
662
|
+
u(e.icon) ? (V(), M("span", Ar, G(e.icon), 1)) : d(e.icon) ? (V(), A(W(d(e.icon)), {
|
|
639
663
|
key: 1,
|
|
640
664
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
641
665
|
"aria-hidden": "true"
|
|
@@ -645,7 +669,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
645
669
|
variant: "ghost",
|
|
646
670
|
size: "sm",
|
|
647
671
|
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
648
|
-
onClick:
|
|
672
|
+
onClick: Sn((t) => p(e.value), ["stop"])
|
|
649
673
|
}, {
|
|
650
674
|
default: q(() => [F(K(m), { class: "h-2 w-2" })]),
|
|
651
675
|
_: 1
|
|
@@ -654,7 +678,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
654
678
|
_: 2
|
|
655
679
|
}, 1024))), 128))])) : j("", !0)], 64));
|
|
656
680
|
}
|
|
657
|
-
}),
|
|
681
|
+
}), Mr = /* @__PURE__ */ I({
|
|
658
682
|
__name: "NumberField",
|
|
659
683
|
props: {
|
|
660
684
|
defaultValue: {},
|
|
@@ -689,21 +713,21 @@ var ir = /* @__PURE__ */ I({
|
|
|
689
713
|
let { class: e, ...t } = r;
|
|
690
714
|
return t;
|
|
691
715
|
}), i);
|
|
692
|
-
return (t, n) => (V(), A(K(
|
|
716
|
+
return (t, n) => (V(), A(K(In), R(K(a), { class: K(e)("grid gap-1.5", r.class) }), {
|
|
693
717
|
default: q(() => [U(t.$slots, "default")]),
|
|
694
718
|
_: 3
|
|
695
719
|
}, 16, ["class"]));
|
|
696
720
|
}
|
|
697
|
-
}),
|
|
721
|
+
}), Nr = /* @__PURE__ */ I({
|
|
698
722
|
inheritAttrs: !1,
|
|
699
723
|
__name: "NumberFieldInput",
|
|
700
724
|
setup(t) {
|
|
701
|
-
return (t, n) => (V(), A(K(
|
|
725
|
+
return (t, n) => (V(), A(K(Fn), R(t.$attrs, {
|
|
702
726
|
"data-slot": "input",
|
|
703
727
|
class: K(e)("focus-ring flex h-10 w-full rounded-input border border-input bg-background py-2 text-sm text-center placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled")
|
|
704
728
|
}), null, 16, ["class"]));
|
|
705
729
|
}
|
|
706
|
-
}),
|
|
730
|
+
}), Pr = /* @__PURE__ */ I({
|
|
707
731
|
__name: "NumberFieldIncrement",
|
|
708
732
|
props: {
|
|
709
733
|
disabled: { type: Boolean },
|
|
@@ -722,19 +746,19 @@ var ir = /* @__PURE__ */ I({
|
|
|
722
746
|
let { class: e, ...t } = n;
|
|
723
747
|
return t;
|
|
724
748
|
}));
|
|
725
|
-
return (t, i) => (V(), A(K(
|
|
749
|
+
return (t, i) => (V(), A(K(Pn), R({ "data-slot": "increment" }, K(r), { "as-child": "" }), {
|
|
726
750
|
default: q(() => [F(K(g), {
|
|
727
751
|
variant: "ghost",
|
|
728
752
|
size: "icon",
|
|
729
753
|
class: z(K(e)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20", n.class))
|
|
730
754
|
}, {
|
|
731
|
-
default: q(() => [U(t.$slots, "default", {}, () => [F(K(
|
|
755
|
+
default: q(() => [U(t.$slots, "default", {}, () => [F(K(ur), { class: "size-[var(--icon-sm)]" })])]),
|
|
732
756
|
_: 3
|
|
733
757
|
}, 8, ["class"])]),
|
|
734
758
|
_: 3
|
|
735
759
|
}, 16));
|
|
736
760
|
}
|
|
737
|
-
}),
|
|
761
|
+
}), Fr = /* @__PURE__ */ I({
|
|
738
762
|
__name: "NumberFieldDecrement",
|
|
739
763
|
props: {
|
|
740
764
|
disabled: { type: Boolean },
|
|
@@ -753,19 +777,19 @@ var ir = /* @__PURE__ */ I({
|
|
|
753
777
|
let { class: e, ...t } = n;
|
|
754
778
|
return t;
|
|
755
779
|
}));
|
|
756
|
-
return (t, i) => (V(), A(K(
|
|
780
|
+
return (t, i) => (V(), A(K(Nn), R({ "data-slot": "decrement" }, K(r), { "as-child": "" }), {
|
|
757
781
|
default: q(() => [F(K(g), {
|
|
758
782
|
variant: "ghost",
|
|
759
783
|
size: "icon",
|
|
760
784
|
class: z(K(e)("absolute top-1/2 -translate-y-1/2 left-0 disabled:cursor-not-allowed disabled:opacity-20", n.class))
|
|
761
785
|
}, {
|
|
762
|
-
default: q(() => [U(t.$slots, "default", {}, () => [F(K(
|
|
786
|
+
default: q(() => [U(t.$slots, "default", {}, () => [F(K(lr), { class: "size-[var(--icon-sm)]" })])]),
|
|
763
787
|
_: 3
|
|
764
788
|
}, 8, ["class"])]),
|
|
765
789
|
_: 3
|
|
766
790
|
}, 16));
|
|
767
791
|
}
|
|
768
|
-
}),
|
|
792
|
+
}), Ir = /* @__PURE__ */ I({
|
|
769
793
|
__name: "NumberFieldContent",
|
|
770
794
|
props: { class: { type: [
|
|
771
795
|
Boolean,
|
|
@@ -778,7 +802,7 @@ var ir = /* @__PURE__ */ I({
|
|
|
778
802
|
let n = t;
|
|
779
803
|
return (t, r) => (V(), M("div", { class: z(K(e)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5", n.class)) }, [U(t.$slots, "default")], 2));
|
|
780
804
|
}
|
|
781
|
-
}),
|
|
805
|
+
}), Lr = /* @__PURE__ */ I({
|
|
782
806
|
__name: "RadioGroup",
|
|
783
807
|
props: {
|
|
784
808
|
modelValue: {},
|
|
@@ -805,12 +829,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
805
829
|
let { class: e, ...t } = r;
|
|
806
830
|
return t;
|
|
807
831
|
}), i);
|
|
808
|
-
return (t, n) => (V(), A(K(
|
|
832
|
+
return (t, n) => (V(), A(K(zn), R({ class: K(e)("grid gap-2", r.class) }, K(a)), {
|
|
809
833
|
default: q(() => [U(t.$slots, "default")]),
|
|
810
834
|
_: 3
|
|
811
835
|
}, 16, ["class"]));
|
|
812
836
|
}
|
|
813
|
-
}),
|
|
837
|
+
}), Rr = /* @__PURE__ */ I({
|
|
814
838
|
__name: "RadioGroupItem",
|
|
815
839
|
props: {
|
|
816
840
|
id: {},
|
|
@@ -833,18 +857,18 @@ var ir = /* @__PURE__ */ I({
|
|
|
833
857
|
let { class: e, ...t } = n;
|
|
834
858
|
return t;
|
|
835
859
|
}));
|
|
836
|
-
return (t, i) => (V(), A(K(
|
|
837
|
-
default: q(() => [F(K(
|
|
860
|
+
return (t, i) => (V(), A(K(Rn), R(K(r), { class: K(e)("focus-ring aspect-square h-4 w-4 rounded-pill border border-primary text-primary disabled:cursor-not-allowed disabled:opacity-disabled", n.class) }), {
|
|
861
|
+
default: q(() => [F(K(Ln), { class: "flex items-center justify-center" }, {
|
|
838
862
|
default: q(() => [F(K(ee), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
839
863
|
_: 1
|
|
840
864
|
})]),
|
|
841
865
|
_: 1
|
|
842
866
|
}, 16, ["class"]));
|
|
843
867
|
}
|
|
844
|
-
}),
|
|
868
|
+
}), zr = {
|
|
845
869
|
key: 1,
|
|
846
870
|
class: "flex flex-col gap-1"
|
|
847
|
-
},
|
|
871
|
+
}, Br = /* @__PURE__ */ I({
|
|
848
872
|
__name: "Section",
|
|
849
873
|
props: {
|
|
850
874
|
title: {},
|
|
@@ -890,14 +914,14 @@ var ir = /* @__PURE__ */ I({
|
|
|
890
914
|
key: 0,
|
|
891
915
|
class: "!absolute inset-0"
|
|
892
916
|
})) : j("", !0),
|
|
893
|
-
t.title || a.$slots.header ? (V(), M("header",
|
|
917
|
+
t.title || a.$slots.header ? (V(), M("header", zr, [U(a.$slots, "header", {}, () => [N("h2", { class: z(K(e)(r[n.tone], n.titleClass)) }, G(t.title), 3)]), t.description || a.$slots.description ? (V(), M("p", {
|
|
894
918
|
key: 0,
|
|
895
919
|
class: z(K(e)("section-description", n.descriptionClass))
|
|
896
920
|
}, [U(a.$slots, "description", {}, () => [P(G(t.description), 1)])], 2)) : j("", !0)])) : j("", !0),
|
|
897
921
|
U(a.$slots, "default")
|
|
898
922
|
], 2));
|
|
899
923
|
}
|
|
900
|
-
}),
|
|
924
|
+
}), Vr = /* @__PURE__ */ I({
|
|
901
925
|
__name: "Tabs",
|
|
902
926
|
props: {
|
|
903
927
|
defaultValue: {},
|
|
@@ -912,12 +936,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
912
936
|
emits: ["update:modelValue"],
|
|
913
937
|
setup(e, { emit: t }) {
|
|
914
938
|
let n = Y(e, t);
|
|
915
|
-
return (e, t) => (V(), A(K(
|
|
939
|
+
return (e, t) => (V(), A(K(Un), B(L(K(n))), {
|
|
916
940
|
default: q(() => [U(e.$slots, "default")]),
|
|
917
941
|
_: 3
|
|
918
942
|
}, 16));
|
|
919
943
|
}
|
|
920
|
-
}),
|
|
944
|
+
}), Hr = /* @__PURE__ */ I({
|
|
921
945
|
__name: "TabsTrigger",
|
|
922
946
|
props: {
|
|
923
947
|
value: {},
|
|
@@ -937,12 +961,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
937
961
|
let { class: e, ...t } = n;
|
|
938
962
|
return t;
|
|
939
963
|
}));
|
|
940
|
-
return (t, i) => (V(), A(K(
|
|
964
|
+
return (t, i) => (V(), A(K(Wn), R(K(r), { class: K(e)("focus-ring inline-flex items-center justify-center whitespace-nowrap rounded-sm p-1 px-3 text-sm font-medium transition-[background-color,color,box-shadow,border-color] duration-[var(--duration-fast)] ease-[var(--ease-standard)] disabled:pointer-events-none disabled:opacity-disabled data-[state=active]:text-[var(--active-tab-color,var(--foreground))] hover:text-foreground/70", n.class) }), {
|
|
941
965
|
default: q(() => [U(t.$slots, "default")]),
|
|
942
966
|
_: 3
|
|
943
967
|
}, 16, ["class"]));
|
|
944
968
|
}
|
|
945
|
-
}),
|
|
969
|
+
}), Ur = /* @__PURE__ */ I({
|
|
946
970
|
__name: "TabsList",
|
|
947
971
|
props: {
|
|
948
972
|
loop: { type: Boolean },
|
|
@@ -961,12 +985,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
961
985
|
let { class: e, ...t } = n;
|
|
962
986
|
return t;
|
|
963
987
|
});
|
|
964
|
-
return (t, i) => (V(), A(K(
|
|
988
|
+
return (t, i) => (V(), A(K(Hn), R(r.value, { class: K(e)("inline-flex h-10 items-center justify-center rounded-input p-1 text-muted-foreground", n.class) }), {
|
|
965
989
|
default: q(() => [U(t.$slots, "default")]),
|
|
966
990
|
_: 3
|
|
967
991
|
}, 16, ["class"]));
|
|
968
992
|
}
|
|
969
|
-
}),
|
|
993
|
+
}), Wr = /* @__PURE__ */ I({
|
|
970
994
|
__name: "TabsContent",
|
|
971
995
|
props: {
|
|
972
996
|
value: {},
|
|
@@ -986,12 +1010,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
986
1010
|
let { class: e, ...t } = n;
|
|
987
1011
|
return t;
|
|
988
1012
|
});
|
|
989
|
-
return (t, i) => (V(), A(K(
|
|
1013
|
+
return (t, i) => (V(), A(K(Bn), R({ class: K(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
990
1014
|
default: q(() => [U(t.$slots, "default")]),
|
|
991
1015
|
_: 3
|
|
992
1016
|
}, 16, ["class"]));
|
|
993
1017
|
}
|
|
994
|
-
}),
|
|
1018
|
+
}), Gr = /* @__PURE__ */ I({
|
|
995
1019
|
__name: "TabsIndicator",
|
|
996
1020
|
props: {
|
|
997
1021
|
asChild: { type: Boolean },
|
|
@@ -1009,9 +1033,9 @@ var ir = /* @__PURE__ */ I({
|
|
|
1009
1033
|
let { class: e, ...t } = n;
|
|
1010
1034
|
return t;
|
|
1011
1035
|
});
|
|
1012
|
-
return (t, i) => (V(), A(K(
|
|
1036
|
+
return (t, i) => (V(), A(K(Vn), R(r.value, { class: K(e)("absolute left-0 h-[--reka-tabs-indicator-size] translate-x-[--reka-tabs-indicator-position] rounded-pill bg-secondary/80 transition-[width,transform] duration-[var(--duration-normal)] ease-[var(--spring-snappy)]", n.class) }), null, 16, ["class"]));
|
|
1013
1037
|
}
|
|
1014
|
-
}),
|
|
1038
|
+
}), Kr = /* @__PURE__ */ I({
|
|
1015
1039
|
__name: "TagsInput",
|
|
1016
1040
|
props: {
|
|
1017
1041
|
modelValue: {},
|
|
@@ -1050,12 +1074,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
1050
1074
|
let { class: e, ...t } = r;
|
|
1051
1075
|
return t;
|
|
1052
1076
|
}), i);
|
|
1053
|
-
return (t, n) => (V(), A(K(
|
|
1077
|
+
return (t, n) => (V(), A(K(Yn), R(K(a), { class: K(e)("flex flex-wrap gap-2 items-center rounded-input border border-input bg-background px-3 py-2 text-sm", r.class) }), {
|
|
1054
1078
|
default: q(() => [U(t.$slots, "default")]),
|
|
1055
1079
|
_: 3
|
|
1056
1080
|
}, 16, ["class"]));
|
|
1057
1081
|
}
|
|
1058
|
-
}),
|
|
1082
|
+
}), qr = /* @__PURE__ */ I({
|
|
1059
1083
|
__name: "TagsInputInput",
|
|
1060
1084
|
props: {
|
|
1061
1085
|
placeholder: {},
|
|
@@ -1076,9 +1100,9 @@ var ir = /* @__PURE__ */ I({
|
|
|
1076
1100
|
let { class: e, ...t } = n;
|
|
1077
1101
|
return t;
|
|
1078
1102
|
}));
|
|
1079
|
-
return (t, i) => (V(), A(K(
|
|
1103
|
+
return (t, i) => (V(), A(K(Gn), R(K(r), { class: K(e)("text-sm min-h-6 focus:outline-none flex-1 bg-transparent px-1", n.class) }), null, 16, ["class"]));
|
|
1080
1104
|
}
|
|
1081
|
-
}),
|
|
1105
|
+
}), Jr = /* @__PURE__ */ I({
|
|
1082
1106
|
__name: "TagsInputItem",
|
|
1083
1107
|
props: {
|
|
1084
1108
|
value: {},
|
|
@@ -1098,12 +1122,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
1098
1122
|
let { class: e, ...t } = n;
|
|
1099
1123
|
return t;
|
|
1100
1124
|
}));
|
|
1101
|
-
return (t, i) => (V(), A(K(
|
|
1125
|
+
return (t, i) => (V(), A(K(Kn), R(K(r), { class: K(e)("flex h-6 items-center rounded bg-secondary data-[state=active]:ring-ring data-[state=active]:ring-2 data-[state=active]:ring-offset-2 ring-offset-background", n.class) }), {
|
|
1102
1126
|
default: q(() => [U(t.$slots, "default")]),
|
|
1103
1127
|
_: 3
|
|
1104
1128
|
}, 16, ["class"]));
|
|
1105
1129
|
}
|
|
1106
|
-
}),
|
|
1130
|
+
}), Yr = /* @__PURE__ */ I({
|
|
1107
1131
|
__name: "TagsInputItemDelete",
|
|
1108
1132
|
props: {
|
|
1109
1133
|
asChild: { type: Boolean },
|
|
@@ -1121,12 +1145,12 @@ var ir = /* @__PURE__ */ I({
|
|
|
1121
1145
|
let { class: e, ...t } = n;
|
|
1122
1146
|
return t;
|
|
1123
1147
|
}));
|
|
1124
|
-
return (t, i) => (V(), A(K(
|
|
1148
|
+
return (t, i) => (V(), A(K(qn), R(K(r), { class: K(e)("flex rounded bg-transparent mr-1", n.class) }), {
|
|
1125
1149
|
default: q(() => [U(t.$slots, "default", {}, () => [F(K(m), { class: "w-4 h-4" })])]),
|
|
1126
1150
|
_: 3
|
|
1127
1151
|
}, 16, ["class"]));
|
|
1128
1152
|
}
|
|
1129
|
-
}),
|
|
1153
|
+
}), Xr = /* @__PURE__ */ I({
|
|
1130
1154
|
__name: "TagsInputItemText",
|
|
1131
1155
|
props: {
|
|
1132
1156
|
asChild: { type: Boolean },
|
|
@@ -1144,8 +1168,8 @@ var ir = /* @__PURE__ */ I({
|
|
|
1144
1168
|
let { class: e, ...t } = n;
|
|
1145
1169
|
return t;
|
|
1146
1170
|
}));
|
|
1147
|
-
return (t, i) => (V(), A(K(
|
|
1171
|
+
return (t, i) => (V(), A(K(Jn), R(K(r), { class: K(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
1148
1172
|
}
|
|
1149
1173
|
});
|
|
1150
1174
|
//#endregion
|
|
1151
|
-
export {
|
|
1175
|
+
export { or as Accordion, sr as AccordionContent, cr as AccordionItem, dr as AccordionTrigger, fr as Alert, pr as AlertDescription, mr as AlertTitle, hr as Avatar, _r as AvatarFallback, gr as AvatarImage, h as Badge, g as Button, te as CONFIGURATOR_DENSITY_KEY, pe as Card, fe as CardContent, me as CardDescription, he as CardFooter, ue as CardHeader, de as CardTitle, Qt as ChassisDivider, vr as Checkbox, _e as Collapsible, ve as CollapsibleContent, ge as CollapsibleTrigger, y as Command, ye as CommandDialog, S as CommandEmpty, b as CommandGroup, _ as CommandInput, v as CommandItem, x as CommandList, be as CommandSeparator, xe as CommandShortcut, ne as Configurator, ae as ConfiguratorLayer, re as ConfiguratorRow, je as ContextMenu, f as ContextMenuCheckboxItem, Me as ContextMenuContent, o as ContextMenuItem, d as ContextMenuLabel, c as ContextMenuRadioGroup, u as ContextMenuRadioItem, s as ContextMenuSeparator, a as ContextMenuShortcut, p as ContextMenuSubContent, l as ContextMenuSubTrigger, C as ContextMenuTrigger, Ve as DataTable, Le as DataTablePagination, Se as Dialog, ke as DialogClose, Ce as DialogContent, Oe as DialogDescription, Ae as DialogFooter, we as DialogHeader, Ee as DialogScrollContent, Te as DialogTitle, De as DialogTrigger, on as DiscoGlyph, br as Drawer, Zn as DrawerClose, xr as DrawerContent, Tr as DrawerDescription, Cr as DrawerFooter, Sr as DrawerHeader, $ as DrawerOverlay, tr as DrawerPortal, wr as DrawerTitle, ar as DrawerTrigger, qe as DropdownMenu, Ye as DropdownMenuCheckboxItem, $e as DropdownMenuContent, Ke as DropdownMenuGroup, rt as DropdownMenuItem, Ue as DropdownMenuLabel, nt as DropdownMenuPortal, Ge as DropdownMenuRadioGroup, We as DropdownMenuRadioItem, Qe as DropdownMenuSeparator, tt as DropdownMenuShortcut, Je as DropdownMenuSub, Ze as DropdownMenuSubContent, et as DropdownMenuSubTrigger, Xe as DropdownMenuTrigger, rn as GLYPH_FACE_SILHOUETTE_KEY, an as GlyphFace, at as HoverCard, ot as HoverCardContent, it as HoverCardTrigger, sn as HoverPopover, $t as InstrumentChassis, en as InstrumentRail, st as Label, Er as MetricPill, jr as MultiSelect, i as Notification, Mr as NumberField, Ir as NumberFieldContent, Fr as NumberFieldDecrement, Pr as NumberFieldIncrement, Nr as NumberFieldInput, T as Popover, E as PopoverContent, w as PopoverTrigger, lt as Progress, Lr as RadioGroup, Rr as RadioGroupItem, ln as ScrollingText, Br as Section, gt as Select, ft as SelectContent, vt as SelectGroup, ht as SelectItem, yt as SelectLabel, _t as SelectScrollDownButton, pt as SelectScrollUpButton, bt as SelectSeparator, dt as SelectTrigger, mt as SelectValue, xt as Separator, Tt as Sheet, kt as SheetClose, Dt as SheetContent, Ot as SheetDescription, Et as SheetFooter, St as SheetHeader, wt as SheetTitle, Ct as SheetTrigger, ze as Skeleton, Nt as Slider, Ft as Switch, He as Table, Ie as TableBody, yr as TableCaption, Pe as TableCell, Fe as TableEmpty, Be as TableHead, Re as TableHeader, Ne as TableRow, Vr as Tabs, Wr as TabsContent, Gr as TabsIndicator, Ur as TabsList, Hr as TabsTrigger, Kr as TagsInput, qr as TagsInputInput, Jr as TagsInputItem, Yr as TagsInputItemDelete, Xr as TagsInputItemText, Lt as Toast, Ht as ToastAction, Bt as ToastClose, It as ToastDescription, Rt as ToastTitle, Ut as Toaster, Wt as Toggle, Gt as ToggleGroup, qt as ToggleGroupItem, Jt as Tooltip, Xt as TooltipContent, Zt as TooltipProvider, Yt as TooltipTrigger, Z as alertVariants, Q as avatarVariants, ce as badgeVariants, le as buttonVariants, e as cn, fn as copyToClipboard, vn as createGlassFilter, gn as destroyGlassFilter, ie as provideConfiguratorDensity, tn as provideGlyphFaceSilhouette, At as sheetVariants, Pt as sliderVariants, zt as toast, Kt as toggleVariants, pn as useBreakpoint, dn as useClipboard, se as useConfiguratorState, _n as useGlassRenderer, hn as useIdleReady, un as useInterval, oe as useOptionalConfiguratorDensity, nn as useOptionalGlyphFaceSilhouette, cn as useResizeObserver, yn as useSortable, jt as useTimer, Vt as useToast, D as useTokenColor, Mt as useTouchGate, mn as useViewportReady };
|