@mkbabb/glass-ui 3.7.0 → 3.8.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/CardAction-q2qHCJFG.js +157 -0
- package/dist/{CommandShortcut-CY0aQTz5.js → CommandShortcut-SzWRhROC.js} +2 -2
- package/dist/{ContextMenuSubContent-BeDz7G6f.js → ContextMenuSubContent-Do977Cbf.js} +1 -1
- package/dist/{DataTable-gtPOLZvl.js → DataTable-CvlWXz65.js} +3 -3
- package/dist/DeckProgress-AVgbIULY.js +23 -0
- package/dist/{DialogContent-DG1YMR-P.js → DialogContent-DjZWT3lK.js} +2 -2
- package/dist/{DialogFooter-BCIaDP15.js → DialogFooter-Gprw8H_A.js} +1 -1
- package/dist/{DiscoGlyph-ZoBYpoxI.js → DiscoGlyph-CG0F410s.js} +1 -1
- package/dist/{GlyphFace-Ce_oe3tM.js → GlyphFace-DRjDkB0s.js} +1 -1
- package/dist/{HoverPopover-DXpOEw1P.js → HoverPopover-D56O6Ylp.js} +1 -1
- package/dist/{IconTooltip-Cu86JR4e.js → IconTooltip-D2T5nYOM.js} +1 -1
- package/dist/{MetricBadge-D-bRaQUD.js → MetricBadge-lTc002u2.js} +1 -1
- package/dist/{Notification-B5WHP3_1.js → Notification-BxK8LZMw.js} +1 -1
- package/dist/{PopoverContent-F1bWnYoh.js → PopoverContent-BId6ggf_.js} +1 -1
- package/dist/{Progress-c4vo4ALi.js → Progress-iEuD9pxG.js} +4 -4
- package/dist/{ScrollingText-BEp377U5.js → ScrollingText-CVyqxvfv.js} +2 -2
- package/dist/{SelectScrollDownButton-DAo5NmY_.js → SelectScrollDownButton-C7TRe-ep.js} +2 -2
- package/dist/{ToggleGroupItem-C-AIkBUw.js → ToggleGroupItem-CkXUcBlt.js} +1 -1
- package/dist/{UnderlineTabs-D_c1iYo-.js → UnderlineTabs-Uxn-R3MT.js} +2 -2
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +4 -2
- package/dist/api.js +1 -1
- package/dist/aurora.js +336 -405
- package/dist/canvas.d.ts +1 -0
- package/dist/canvas.js +3 -0
- package/dist/card.js +1 -1
- package/dist/carousel.js +105 -104
- package/dist/collapsible.js +1 -1
- package/dist/{color-DjJCAQ6f.js → color-DMLTunJK.js} +22 -14
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/compile-BBTRjvQS.js +158 -0
- package/dist/components/custom/aurora/composables/atoms.d.ts +90 -25
- package/dist/components/custom/aurora/composables/color.d.ts +0 -12
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +34 -23
- package/dist/components/custom/aurora/constants/presets.d.ts +10 -7
- package/dist/components/custom/aurora/constants/renderMode.d.ts +22 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +3 -3
- package/dist/components/custom/constellation/Constellation.vue.d.ts +40 -5
- package/dist/components/custom/constellation/constellationField.d.ts +110 -5
- package/dist/components/custom/constellation/index.d.ts +2 -2
- package/dist/components/custom/dock/GlassDock.vue.d.ts +12 -4
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +57 -0
- package/dist/components/custom/dock/composables/index.d.ts +3 -0
- package/dist/components/custom/dock/composables/useDockHold.d.ts +61 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -59
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +13 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +4 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +2 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +20 -5
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -2
- package/dist/components/custom/goo-blob/types.d.ts +8 -0
- package/dist/components/ui/card/Card.vue.d.ts +23 -7
- package/dist/components/ui/card/index.d.ts +1 -1
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
- package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
- package/dist/composables/color/index.d.ts +19 -0
- package/dist/composables/dom/index.d.ts +1 -1
- package/dist/composables/dom/useResolveTokenColor.d.ts +27 -0
- package/dist/composables/glass/canvas2d/index.d.ts +2 -1
- package/dist/composables/glass/canvas2d/resolveCanvasColor.d.ts +20 -0
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +15 -1
- package/dist/composables/glass/index.d.ts +3 -1
- package/dist/composables/glass/useSpecularTracking.d.ts +33 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +1 -1
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +4 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +1 -1
- package/dist/constellation.js +144 -75
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +2 -2
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck-progress.d.ts +1 -0
- package/dist/deck-progress.js +2 -0
- package/dist/dialog.js +2 -2
- package/dist/disco-glyph.js +1 -1
- package/dist/dock.js +386 -285
- package/dist/{dockContext-DLgrVWsU.js → dockContext-BKeIMmNk.js} +1 -1
- package/dist/dom.js +6 -6
- package/dist/{dropdown-menu-BWpwutt0.js → dropdown-menu-B_4bWyyG.js} +2 -2
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +1 -1
- package/dist/fonts/README.md +26 -18
- package/dist/forms.js +3 -3
- package/dist/fourier-field.js +37 -37
- package/dist/glass-carousel.js +12 -7
- package/dist/glass-panel.js +7 -7
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +150 -162
- package/dist/glyph-face.js +2 -2
- package/dist/goo-blob.js +353 -270
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/{keys-Dyf_uTs5.js → keys-BsYjEFOW.js} +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +65 -65
- package/dist/motion.js +3 -3
- package/dist/notification.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
- package/dist/responsive-tabs.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +7 -7
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-Cv1uO-Gq.js → sheet-VZEtNFvO.js} +2 -2
- package/dist/sheet.js +1 -1
- package/dist/slider-D9puf-Ko.js +142 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock-controls.css +21 -18
- package/dist/styles/dock.css +415 -224
- package/dist/styles/fonts.css +0 -25
- package/dist/styles/glass.css +100 -41
- package/dist/styles/theme.css +9 -2
- package/dist/styles/tokens.css +139 -32
- package/dist/styles/typography.css +52 -69
- package/dist/styles/utilities.css +2 -1
- package/dist/styles/view-transition.css +12 -40
- package/dist/switch.js +1 -1
- package/dist/tabs.js +5 -5
- package/dist/timeline.js +3 -3
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
- package/dist/{useCanvas2D-C31yfUGY.js → useCanvas2D-ClrQuZtp.js} +2 -1
- package/dist/{useConfiguratorState-B24TcgIn.js → useConfiguratorState-CMff4GzH.js} +3 -3
- package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
- package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
- package/dist/{useTextHighlight-aMPdEpkq.js → useTextHighlight-9nMW23Qb.js} +1 -1
- package/dist/{useTouchGate-YQRwyUGU.js → useTouchGate-WFyJYsth.js} +1 -1
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +2 -2
- package/package.json +36 -4
- package/src/fonts/README.md +26 -18
- package/src/styles/dock-controls.css +21 -18
- package/src/styles/dock.css +415 -224
- package/src/styles/fonts.css +0 -25
- package/src/styles/glass.css +100 -41
- package/src/styles/theme.css +9 -2
- package/src/styles/tokens.css +139 -32
- package/src/styles/typography.css +52 -69
- package/src/styles/utilities.css +2 -1
- package/src/styles/view-transition.css +12 -40
- package/dist/CardAction-D8nSE62a.js +0 -163
- package/dist/compile-iM4IUB66.js +0 -158
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/slider-BA9wIs5e.js +0 -130
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-BE2TsPoR.js +0 -24
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- /package/dist/{CollapsibleContent-D7UNsXQr.js → CollapsibleContent-CP9qF1v4.js} +0 -0
- /package/dist/{ContextMenuContent-DGKZX1Du.js → ContextMenuContent-DDa0v27s.js} +0 -0
- /package/dist/{HoverCardContent-Bn0UBMY9.js → HoverCardContent-B6CcQ8He.js} +0 -0
- /package/dist/{Input-DWQQIOC4.js → Input-DVG_J0ne.js} +0 -0
- /package/dist/{InstrumentChassis-BLJBl1BW.js → InstrumentChassis-C2f6cBaQ.js} +0 -0
- /package/dist/{InstrumentRail-BElFwKyt.js → InstrumentRail-CUJ05YVG.js} +0 -0
- /package/dist/{Label-DBc7bKzZ.js → Label-zRfbQdCn.js} +0 -0
- /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-B1GkAjNb.js} +0 -0
- /package/dist/{PaperBackdrop-DCGoGatv.js → PaperBackdrop-CqwjnfLv.js} +0 -0
- /package/dist/{SelectGroup-BcaFjvP4.js → SelectGroup-BFiod7X2.js} +0 -0
- /package/dist/{SelectSeparator-COFMJGng.js → SelectSeparator-L8pPEn4L.js} +0 -0
- /package/dist/{Separator-DZyqsCum.js → Separator-D7sD7RKj.js} +0 -0
- /package/dist/{Switch-2rsAtDfA.js → Switch-LDKLmmgx.js} +0 -0
- /package/dist/{TabsList-COqIdW7i.js → TabsList-qyHZ2lKY.js} +0 -0
- /package/dist/{Toaster-BMaeziJJ.js → Toaster-CabYEEF_.js} +0 -0
- /package/dist/{TooltipProvider-CD2IXfRv.js → TooltipProvider-CmZzCuaG.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
- /package/dist/composables/{dom → motion}/useTextHighlight.d.ts +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-CvNyBk4o.js → createContext-B44Sah_H.js} +0 -0
- /package/dist/{menuItemVariants-B4eFR5Ix.js → menuItemVariants-DKM85SNE.js} +0 -0
- /package/dist/{presets-BKVyQfbt.js → presets-D1XPuTj-.js} +0 -0
- /package/dist/{prng-wHuHlNHE.js → prng-COGhh02-.js} +0 -0
- /package/dist/{useGlassRenderer-HebgSEgN.js → useGlassRenderer-5I0YkI4t.js} +0 -0
- /package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-D3EBWzXK.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-D3USn0yc.js → useInterval-CcLfq2WU.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useResizeObserver-CSyxGxIX.js → useResizeObserver-CWCbk5Px.js} +0 -0
- /package/dist/{useScrollProgress-CAH8Ofwt.js → useScrollProgress-C9ysDic5.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-MGAbCGVJ.js} +0 -0
- /package/dist/{useSpringMount-LRZqJTaF.js → useSpringMount-BJSHcLl3.js} +0 -0
- /package/dist/{useTimer-DEJonOZa.js → useTimer-3xqf_54b.js} +0 -0
- /package/dist/{useUserInvalidAria-CQKjEfwP.js → useUserInvalidAria-DoJKMZ3s.js} +0 -0
- /package/dist/{useViewportReady-K96m-Mdv.js → useViewportReady-RIr5Wgkh.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -1,65 +1,68 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as
|
|
9
|
-
import { a as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import { n as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import {
|
|
26
|
-
import { a as
|
|
27
|
-
import { n as
|
|
28
|
-
import { t as
|
|
29
|
-
import { t as
|
|
30
|
-
import { n as
|
|
31
|
-
import {
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import { n as
|
|
36
|
-
import { t as
|
|
37
|
-
import { a as
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import { a as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { n as
|
|
45
|
-
import { t as
|
|
46
|
-
import { n as On, r as kn, t as An } from "./
|
|
47
|
-
import {
|
|
48
|
-
import { t as
|
|
49
|
-
import { t as
|
|
50
|
-
import { t as
|
|
51
|
-
import { t as
|
|
52
|
-
import {
|
|
53
|
-
import { t as
|
|
54
|
-
import { t as
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./vReveal-CqaCz_mC.js";
|
|
3
|
+
import { n as s, t as c } from "./supportsCssTimeline-C5oe0lnD.js";
|
|
4
|
+
import { t as l } from "./check-BBKKKSTf.js";
|
|
5
|
+
import { t as u } from "./chevron-down-BSkTP2aL.js";
|
|
6
|
+
import { t as d } from "./Notification-BxK8LZMw.js";
|
|
7
|
+
import { a as f, c as p, i as ee, l as te, n as ne, o as re, r as ie, s as ae, t as oe, u as se } from "./ContextMenuSubContent-Do977Cbf.js";
|
|
8
|
+
import { a as ce, i as le, n as ue, o as de, r as fe, t as pe } from "./NumberFieldContent-CLNVR1iY.js";
|
|
9
|
+
import { a as me, i as he, n as ge, o as _e, r as ve, s as ye, t as be } from "./useConfiguratorState-CMff4GzH.js";
|
|
10
|
+
import { t as m } from "./x-Dfsegz9Y.js";
|
|
11
|
+
import { n as h, t as xe } from "./badge-DHQrc_GQ.js";
|
|
12
|
+
import { n as g, t as Se } from "./button-CAywcrhO.js";
|
|
13
|
+
import { n as Ce, r as we, t as Te } from "./useGlassRenderer-5I0YkI4t.js";
|
|
14
|
+
import { t as Ee } from "./useSpecularTracking-BVRZsRHA.js";
|
|
15
|
+
import { n as De, t as Oe } from "./useCanvas2D-ClrQuZtp.js";
|
|
16
|
+
import { t as ke } from "./resolveCanvasColor-BBiYfp8g.js";
|
|
17
|
+
import { a as Ae, i as je, n as Me, o as Ne, r as Pe, s as _, t as v } from "./CardAction-q2qHCJFG.js";
|
|
18
|
+
import { n as y, r as Fe, t as Ie } from "./CollapsibleContent-CP9qF1v4.js";
|
|
19
|
+
import { a as b, c as Le, i as x, l as S, n as Re, o as C, r as w, s as T, t as ze } from "./CommandShortcut-SzWRhROC.js";
|
|
20
|
+
import { n as Be, t as Ve } from "./DialogContent-DjZWT3lK.js";
|
|
21
|
+
import { a as He, i as Ue, n as We, o as Ge, r as Ke, s as qe, t as Je } from "./DialogFooter-Gprw8H_A.js";
|
|
22
|
+
import { n as Ye, r as Xe, t as Ze } from "./ContextMenuContent-DDa0v27s.js";
|
|
23
|
+
import { t as Qe } from "./useResizeObserver-CWCbk5Px.js";
|
|
24
|
+
import { t as $e } from "./useTimer-3xqf_54b.js";
|
|
25
|
+
import { t as et } from "./useTouchGate-WFyJYsth.js";
|
|
26
|
+
import { a as tt, i as nt, n as rt, o as it, r as at, t as ot } from "./useViewportReady-RIr5Wgkh.js";
|
|
27
|
+
import { n as st, t as ct } from "./useResolveTokenColor-r9pnNjqK.js";
|
|
28
|
+
import { t as lt } from "./useUserInvalidAria-DoJKMZ3s.js";
|
|
29
|
+
import { a as ut, c as dt, i as ft, l as pt, n as mt, o as ht, r as gt, s as _t, t as vt, u as yt } from "./DataTable-CvlWXz65.js";
|
|
30
|
+
import { a as bt, c as xt, d as St, f as Ct, h as wt, i as Tt, l as Et, m as Dt, n as Ot, o as kt, p as At, r as jt, s as Mt, t as Nt, u as Pt } from "./dropdown-menu-B_4bWyyG.js";
|
|
31
|
+
import { n as Ft, r as It, t as Lt } from "./HoverCardContent-B6CcQ8He.js";
|
|
32
|
+
import { t as Rt } from "./Label-zRfbQdCn.js";
|
|
33
|
+
import { t as zt } from "./MetricBadge-lTc002u2.js";
|
|
34
|
+
import { n as E, r as D, t as O } from "./PopoverContent-BId6ggf_.js";
|
|
35
|
+
import { a as Bt, i as Vt, n as Ht, r as Ut, t as Wt } from "./Progress-iEuD9pxG.js";
|
|
36
|
+
import { t as Gt } from "./PaperBackdrop-CqwjnfLv.js";
|
|
37
|
+
import { a as Kt, i as qt, n as Jt, o as Yt, r as Xt, s as Zt, t as Qt } from "./SelectScrollDownButton-C7TRe-ep.js";
|
|
38
|
+
import { t as $t } from "./SelectGroup-BFiod7X2.js";
|
|
39
|
+
import { n as en, t as tn } from "./SelectSeparator-L8pPEn4L.js";
|
|
40
|
+
import { t as nn } from "./Separator-D7sD7RKj.js";
|
|
41
|
+
import { a as rn, c as an, i as on, l as sn, n as cn, o as ln, r as un, s as dn, t as fn } from "./sheet-VZEtNFvO.js";
|
|
42
|
+
import { n as pn, t as mn } from "./slider-D9puf-Ko.js";
|
|
43
|
+
import { t as hn } from "./Switch-LDKLmmgx.js";
|
|
44
|
+
import { i as gn, n as _n, r as vn, t as yn } from "./TabsList-qyHZ2lKY.js";
|
|
45
|
+
import { a as k, c as bn, i as xn, n as Sn, o as Cn, r as wn, s as Tn, t as En } from "./Toaster-CabYEEF_.js";
|
|
46
|
+
import { i as Dn, n as On, r as kn, t as An } from "./ToggleGroupItem-CkXUcBlt.js";
|
|
47
|
+
import { i as jn, n as Mn, r as Nn, t as Pn } from "./TooltipProvider-CmZzCuaG.js";
|
|
48
|
+
import { n as Fn, t as In } from "./InstrumentChassis-C2f6cBaQ.js";
|
|
49
|
+
import { t as Ln } from "./InstrumentRail-CUJ05YVG.js";
|
|
50
|
+
import { n as Rn, r as zn, t as Bn } from "./keys-BsYjEFOW.js";
|
|
51
|
+
import { t as Vn } from "./GlyphFace-DRjDkB0s.js";
|
|
52
|
+
import { t as Hn } from "./DiscoGlyph-CG0F410s.js";
|
|
53
|
+
import { t as Un } from "./HoverPopover-D56O6Ylp.js";
|
|
54
|
+
import { t as Wn } from "./ScrollingText-CVyqxvfv.js";
|
|
55
|
+
import { t as Gn } from "./DeckProgress-AVgbIULY.js";
|
|
56
|
+
import { t as Kn } from "./useInterval-CcLfq2WU.js";
|
|
57
|
+
import { t as qn } from "./useSortable-MGAbCGVJ.js";
|
|
58
|
+
import { t as Jn } from "./useTextHighlight-9nMW23Qb.js";
|
|
59
|
+
import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, defineComponent as R, guardReactiveProps as Yn, mergeModels as Xn, mergeProps as z, normalizeClass as B, normalizeProps as Zn, openBlock as V, ref as Qn, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as $n, unref as K, useModel as er, withCtx as q, withModifiers as tr } from "vue";
|
|
60
|
+
import { AccordionContent as nr, AccordionHeader as rr, AccordionItem as ir, AccordionRoot as ar, AccordionTrigger as or, AvatarFallback as sr, AvatarImage as cr, AvatarRoot as lr, CheckboxIndicator as ur, CheckboxRoot as dr, RadioGroupIndicator as fr, RadioGroupItem as pr, RadioGroupRoot as mr, TabsContent as hr, TagsInputInput as gr, TagsInputItem as _r, TagsInputItemDelete as vr, TagsInputItemText as yr, TagsInputRoot as br, useEmitAsProps as xr, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
58
61
|
import { cva as X } from "class-variance-authority";
|
|
59
|
-
import { DrawerClose as
|
|
62
|
+
import { DrawerClose as Sr, DrawerContent as Cr, DrawerDescription as wr, DrawerOverlay as Tr, DrawerPortal as Er, DrawerPortal as Dr, DrawerRoot as Or, DrawerTitle as kr, DrawerTrigger as Ar } from "vaul-vue";
|
|
60
63
|
//#endregion
|
|
61
64
|
//#region src/components/ui/accordion/Accordion.vue
|
|
62
|
-
var
|
|
65
|
+
var jr = /* @__PURE__ */ R({
|
|
63
66
|
__name: "Accordion",
|
|
64
67
|
props: {
|
|
65
68
|
collapsible: { type: Boolean },
|
|
@@ -76,12 +79,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
76
79
|
emits: ["update:modelValue"],
|
|
77
80
|
setup(e, { emit: t }) {
|
|
78
81
|
let n = Y(e, t);
|
|
79
|
-
return (e, t) => (V(), M(K(
|
|
82
|
+
return (e, t) => (V(), M(K(ar), z({ "data-slot": "accordion" }, K(n)), {
|
|
80
83
|
default: q(() => [U(e.$slots, "default")]),
|
|
81
84
|
_: 3
|
|
82
85
|
}, 16));
|
|
83
86
|
}
|
|
84
|
-
}),
|
|
87
|
+
}), Mr = /* @__PURE__ */ R({
|
|
85
88
|
__name: "AccordionContent",
|
|
86
89
|
props: {
|
|
87
90
|
forceMount: { type: Boolean },
|
|
@@ -100,12 +103,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
100
103
|
let { class: e, ...t } = n;
|
|
101
104
|
return t;
|
|
102
105
|
});
|
|
103
|
-
return (t, i) => (V(), M(K(
|
|
106
|
+
return (t, i) => (V(), M(K(nr), z(r.value, { class: "overflow-hidden text-sm transition-collapse data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
104
107
|
default: q(() => [F("div", { class: B(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
105
108
|
_: 3
|
|
106
109
|
}, 16));
|
|
107
110
|
}
|
|
108
|
-
}),
|
|
111
|
+
}), Nr = /* @__PURE__ */ R({
|
|
109
112
|
__name: "AccordionItem",
|
|
110
113
|
props: {
|
|
111
114
|
disabled: { type: Boolean },
|
|
@@ -126,12 +129,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
126
129
|
let { class: e, ...t } = n;
|
|
127
130
|
return t;
|
|
128
131
|
}));
|
|
129
|
-
return (t, i) => (V(), M(K(
|
|
132
|
+
return (t, i) => (V(), M(K(ir), z(K(r), { class: K(e)("border-b", n.class) }), {
|
|
130
133
|
default: q(() => [U(t.$slots, "default")]),
|
|
131
134
|
_: 3
|
|
132
135
|
}, 16, ["class"]));
|
|
133
136
|
}
|
|
134
|
-
}),
|
|
137
|
+
}), Pr = /* @__PURE__ */ R({
|
|
135
138
|
__name: "AccordionTrigger",
|
|
136
139
|
props: {
|
|
137
140
|
asChild: { type: Boolean },
|
|
@@ -149,15 +152,15 @@ var Tr = /* @__PURE__ */ R({
|
|
|
149
152
|
let { class: e, ...t } = n;
|
|
150
153
|
return t;
|
|
151
154
|
});
|
|
152
|
-
return (t, i) => (V(), M(K(
|
|
153
|
-
default: q(() => [L(K(
|
|
154
|
-
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [L(K(
|
|
155
|
+
return (t, i) => (V(), M(K(rr), { class: "flex" }, {
|
|
156
|
+
default: q(() => [L(K(or), z({ "data-slot": "accordion-trigger" }, r.value, { class: K(e)("tap-squish focus-ring flex flex-1 items-center justify-between rounded-control px-1 py-4 font-medium transition-control hover:underline disabled:pointer-events-none disabled:opacity-disabled [&[data-state=open]>svg]:rotate-180", n.class) }), {
|
|
157
|
+
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [L(K(u), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })])]),
|
|
155
158
|
_: 3
|
|
156
159
|
}, 16, ["class"])]),
|
|
157
160
|
_: 3
|
|
158
161
|
}));
|
|
159
162
|
}
|
|
160
|
-
}),
|
|
163
|
+
}), Fr = /* @__PURE__ */ R({
|
|
161
164
|
__name: "Alert",
|
|
162
165
|
props: {
|
|
163
166
|
class: { type: [
|
|
@@ -177,7 +180,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
177
180
|
role: "alert"
|
|
178
181
|
}, [U(r.$slots, "default")], 2));
|
|
179
182
|
}
|
|
180
|
-
}),
|
|
183
|
+
}), Ir = /* @__PURE__ */ R({
|
|
181
184
|
__name: "AlertDescription",
|
|
182
185
|
props: { class: { type: [
|
|
183
186
|
Boolean,
|
|
@@ -193,7 +196,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
193
196
|
class: B(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
194
197
|
}, [U(t.$slots, "default")], 2));
|
|
195
198
|
}
|
|
196
|
-
}),
|
|
199
|
+
}), Lr = /* @__PURE__ */ R({
|
|
197
200
|
__name: "AlertTitle",
|
|
198
201
|
props: { class: { type: [
|
|
199
202
|
Boolean,
|
|
@@ -218,7 +221,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
218
221
|
info: "bg-card text-card-foreground border-info/40 [&>svg]:text-info *:data-[slot=alert-description]:text-card-foreground/90"
|
|
219
222
|
} },
|
|
220
223
|
defaultVariants: { variant: "default" }
|
|
221
|
-
}),
|
|
224
|
+
}), Rr = /* @__PURE__ */ R({
|
|
222
225
|
__name: "Avatar",
|
|
223
226
|
props: {
|
|
224
227
|
class: { type: [
|
|
@@ -233,7 +236,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
233
236
|
},
|
|
234
237
|
setup(t) {
|
|
235
238
|
let n = t;
|
|
236
|
-
return (r, i) => (V(), M(K(
|
|
239
|
+
return (r, i) => (V(), M(K(lr), {
|
|
237
240
|
"data-slot": "avatar",
|
|
238
241
|
class: B(K(e)(K(Q)({
|
|
239
242
|
size: t.size,
|
|
@@ -244,7 +247,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
244
247
|
_: 3
|
|
245
248
|
}, 8, ["class"]));
|
|
246
249
|
}
|
|
247
|
-
}),
|
|
250
|
+
}), zr = /* @__PURE__ */ R({
|
|
248
251
|
__name: "AvatarImage",
|
|
249
252
|
props: {
|
|
250
253
|
src: {},
|
|
@@ -256,9 +259,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
256
259
|
},
|
|
257
260
|
setup(e) {
|
|
258
261
|
let t = e;
|
|
259
|
-
return (e, n) => (V(), M(K(
|
|
262
|
+
return (e, n) => (V(), M(K(cr), z(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
260
263
|
}
|
|
261
|
-
}),
|
|
264
|
+
}), Br = /* @__PURE__ */ R({
|
|
262
265
|
__name: "AvatarFallback",
|
|
263
266
|
props: {
|
|
264
267
|
delayMs: {},
|
|
@@ -267,7 +270,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
267
270
|
},
|
|
268
271
|
setup(e) {
|
|
269
272
|
let t = e;
|
|
270
|
-
return (e, n) => (V(), M(K(
|
|
273
|
+
return (e, n) => (V(), M(K(sr), Zn(Yn(t)), {
|
|
271
274
|
default: q(() => [U(e.$slots, "default")]),
|
|
272
275
|
_: 3
|
|
273
276
|
}, 16));
|
|
@@ -282,7 +285,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
282
285
|
circle: "rounded-pill",
|
|
283
286
|
square: "rounded-input"
|
|
284
287
|
}
|
|
285
|
-
} }),
|
|
288
|
+
} }), Vr = /* @__PURE__ */ R({
|
|
286
289
|
__name: "Checkbox",
|
|
287
290
|
props: {
|
|
288
291
|
defaultValue: {},
|
|
@@ -310,15 +313,15 @@ var Tr = /* @__PURE__ */ R({
|
|
|
310
313
|
let { class: e, ...t } = r;
|
|
311
314
|
return t;
|
|
312
315
|
}), i);
|
|
313
|
-
return (t, n) => (V(), M(K(
|
|
314
|
-
default: q(() => [L(K(
|
|
315
|
-
default: q(() => [U(t.$slots, "default", {}, () => [L(K(
|
|
316
|
+
return (t, n) => (V(), M(K(dr), z({ "data-slot": "checkbox" }, K(a), { class: K(e)("group tap-squish focus-ring peer h-4 w-4 shrink-0 rounded-control border border-primary transition-control disabled:cursor-not-allowed disabled:opacity-disabled data-[state=checked]:bg-[color-mix(in_srgb,var(--primary)_88%,var(--glass-bg-floating))] data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-[color-mix(in_srgb,var(--primary)_88%,var(--glass-bg-floating))] data-[state=indeterminate]:text-primary-foreground", r.class) }), {
|
|
317
|
+
default: q(() => [L(K(ur), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
318
|
+
default: q(() => [U(t.$slots, "default", {}, () => [L(K(de), { class: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }), L(K(l), { class: "h-4 w-4 group-data-[state=indeterminate]:hidden" })])]),
|
|
316
319
|
_: 3
|
|
317
320
|
})]),
|
|
318
321
|
_: 3
|
|
319
322
|
}, 16, ["class"]));
|
|
320
323
|
}
|
|
321
|
-
}),
|
|
324
|
+
}), Hr = /* @__PURE__ */ R({
|
|
322
325
|
__name: "TableCaption",
|
|
323
326
|
props: { class: { type: [
|
|
324
327
|
Boolean,
|
|
@@ -331,7 +334,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
331
334
|
let n = t;
|
|
332
335
|
return (t, r) => (V(), P("caption", { class: B(K(e)("mt-4 text-sm text-muted-foreground", n.class)) }, [U(t.$slots, "default")], 2));
|
|
333
336
|
}
|
|
334
|
-
}),
|
|
337
|
+
}), Ur = /* @__PURE__ */ R({
|
|
335
338
|
__name: "Drawer",
|
|
336
339
|
props: {
|
|
337
340
|
activeSnapPoint: {},
|
|
@@ -368,7 +371,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
368
371
|
"animationEnd"
|
|
369
372
|
],
|
|
370
373
|
setup(e, { emit: t }) {
|
|
371
|
-
let n = e, r =
|
|
374
|
+
let n = e, r = xr(t), i = [
|
|
372
375
|
.12,
|
|
373
376
|
.5,
|
|
374
377
|
1
|
|
@@ -382,7 +385,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
382
385
|
...r
|
|
383
386
|
};
|
|
384
387
|
});
|
|
385
|
-
return (e, t) => (V(), M(K(
|
|
388
|
+
return (e, t) => (V(), M(K(Or), z({ "data-slot": "drawer" }, a.value), {
|
|
386
389
|
default: q(() => [U(e.$slots, "default")]),
|
|
387
390
|
_: 3
|
|
388
391
|
}, 16));
|
|
@@ -406,9 +409,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
406
409
|
let { class: e, ...t } = n;
|
|
407
410
|
return t;
|
|
408
411
|
});
|
|
409
|
-
return (t, i) => (V(), M(K(
|
|
412
|
+
return (t, i) => (V(), M(K(Tr), z(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"]));
|
|
410
413
|
}
|
|
411
|
-
}),
|
|
414
|
+
}), Wr = /* @__PURE__ */ R({
|
|
412
415
|
__name: "DrawerContent",
|
|
413
416
|
props: {
|
|
414
417
|
forceMount: { type: Boolean },
|
|
@@ -437,8 +440,8 @@ var Tr = /* @__PURE__ */ R({
|
|
|
437
440
|
],
|
|
438
441
|
setup(t, { emit: n }) {
|
|
439
442
|
let r = t, i = Y(r, n);
|
|
440
|
-
return (t, n) => (V(), M(K(
|
|
441
|
-
default: q(() => [r.showOverlay ? (V(), M($, { key: 0 })) : N("", !0), L(K(
|
|
443
|
+
return (t, n) => (V(), M(K(Dr), null, {
|
|
444
|
+
default: q(() => [r.showOverlay ? (V(), M($, { key: 0 })) : N("", !0), L(K(Cr), z(K(i), { class: K(e)("glass-drawer", r.class) }), {
|
|
442
445
|
default: q(() => [n[0] ||= F("div", {
|
|
443
446
|
class: "glass-drawer-handle",
|
|
444
447
|
"aria-hidden": "true"
|
|
@@ -448,7 +451,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
448
451
|
_: 3
|
|
449
452
|
}));
|
|
450
453
|
}
|
|
451
|
-
}),
|
|
454
|
+
}), Gr = /* @__PURE__ */ R({
|
|
452
455
|
__name: "DrawerHeader",
|
|
453
456
|
props: { class: { type: [
|
|
454
457
|
Boolean,
|
|
@@ -461,7 +464,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
461
464
|
let n = t;
|
|
462
465
|
return (t, r) => (V(), P("div", { class: B(K(e)("grid gap-1.5 p-4 text-center sm:text-left", n.class)) }, [U(t.$slots, "default")], 2));
|
|
463
466
|
}
|
|
464
|
-
}),
|
|
467
|
+
}), Kr = /* @__PURE__ */ R({
|
|
465
468
|
__name: "DrawerFooter",
|
|
466
469
|
props: { class: { type: [
|
|
467
470
|
Boolean,
|
|
@@ -474,7 +477,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
474
477
|
let n = t;
|
|
475
478
|
return (t, r) => (V(), P("div", { class: B(K(e)("mt-auto flex flex-col gap-2 p-4", n.class)) }, [U(t.$slots, "default")], 2));
|
|
476
479
|
}
|
|
477
|
-
}),
|
|
480
|
+
}), qr = /* @__PURE__ */ R({
|
|
478
481
|
__name: "DrawerTitle",
|
|
479
482
|
props: {
|
|
480
483
|
asChild: { type: Boolean },
|
|
@@ -492,12 +495,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
492
495
|
let { class: e, ...t } = n;
|
|
493
496
|
return t;
|
|
494
497
|
});
|
|
495
|
-
return (t, i) => (V(), M(K(
|
|
498
|
+
return (t, i) => (V(), M(K(kr), z(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
496
499
|
default: q(() => [U(t.$slots, "default")]),
|
|
497
500
|
_: 3
|
|
498
501
|
}, 16, ["class"]));
|
|
499
502
|
}
|
|
500
|
-
}),
|
|
503
|
+
}), Jr = /* @__PURE__ */ R({
|
|
501
504
|
__name: "DrawerDescription",
|
|
502
505
|
props: {
|
|
503
506
|
asChild: { type: Boolean },
|
|
@@ -515,12 +518,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
515
518
|
let { class: e, ...t } = n;
|
|
516
519
|
return t;
|
|
517
520
|
});
|
|
518
|
-
return (t, i) => (V(), M(K(
|
|
521
|
+
return (t, i) => (V(), M(K(wr), z(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
519
522
|
default: q(() => [U(t.$slots, "default")]),
|
|
520
523
|
_: 3
|
|
521
524
|
}, 16, ["class"]));
|
|
522
525
|
}
|
|
523
|
-
}),
|
|
526
|
+
}), Yr = /* @__PURE__ */ R({
|
|
524
527
|
__name: "MetricPill",
|
|
525
528
|
props: {
|
|
526
529
|
amount: {},
|
|
@@ -542,7 +545,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
542
545
|
},
|
|
543
546
|
setup(t) {
|
|
544
547
|
let n = t, r = j(() => e("metric-pill", n.class));
|
|
545
|
-
return (e, n) => (V(), M(
|
|
548
|
+
return (e, n) => (V(), M(zt, {
|
|
546
549
|
"data-slot": "metric-pill",
|
|
547
550
|
amount: t.amount,
|
|
548
551
|
unit: t.unit,
|
|
@@ -567,18 +570,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
567
570
|
"data-density"
|
|
568
571
|
]));
|
|
569
572
|
}
|
|
570
|
-
}),
|
|
573
|
+
}), Xr = { class: "truncate" }, Zr = {
|
|
571
574
|
key: 0,
|
|
572
575
|
class: "mr-2"
|
|
573
|
-
},
|
|
576
|
+
}, Qr = {
|
|
574
577
|
key: 0,
|
|
575
578
|
class: "flex flex-wrap gap-1 mt-2"
|
|
576
|
-
},
|
|
579
|
+
}, $r = {
|
|
577
580
|
key: 0,
|
|
578
581
|
class: "mr-1"
|
|
579
|
-
},
|
|
582
|
+
}, ei = /* @__PURE__ */ R({
|
|
580
583
|
__name: "MultiSelect",
|
|
581
|
-
props: /* @__PURE__ */
|
|
584
|
+
props: /* @__PURE__ */ Xn({
|
|
582
585
|
options: {},
|
|
583
586
|
placeholder: { default: "Select items..." },
|
|
584
587
|
disabled: {
|
|
@@ -592,12 +595,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
592
595
|
}),
|
|
593
596
|
emits: ["update:modelValue"],
|
|
594
597
|
setup(t) {
|
|
595
|
-
let n = t, r =
|
|
596
|
-
function
|
|
598
|
+
let n = t, r = er(t, "modelValue"), i = Qn(!1), a = j(() => n.options.filter((e) => r.value.includes(e.value))), o = j(() => a.value.length === 0 ? n.placeholder : a.value.length <= n.maxDisplay ? a.value.map((e) => e.label).join(", ") : `${a.value.slice(0, n.maxDisplay).map((e) => e.label).join(", ")}... (+${a.value.length - n.maxDisplay})`);
|
|
599
|
+
function s(e) {
|
|
597
600
|
return typeof e == "string" && e.length > 0;
|
|
598
601
|
}
|
|
599
|
-
function
|
|
600
|
-
return !e ||
|
|
602
|
+
function c(e) {
|
|
603
|
+
return !e || s(e) ? null : $n(e);
|
|
601
604
|
}
|
|
602
605
|
function d(e) {
|
|
603
606
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -605,45 +608,45 @@ var Tr = /* @__PURE__ */ R({
|
|
|
605
608
|
function f(e) {
|
|
606
609
|
r.value = r.value.filter((t) => t !== e);
|
|
607
610
|
}
|
|
608
|
-
return (n, p) => (V(), P(A, null, [L(K(
|
|
611
|
+
return (n, p) => (V(), P(A, null, [L(K(D), {
|
|
609
612
|
"data-slot": "multi-select",
|
|
610
613
|
open: i.value,
|
|
611
614
|
"onUpdate:open": p[0] ||= (e) => i.value = e
|
|
612
615
|
}, {
|
|
613
|
-
default: q(() => [L(K(
|
|
614
|
-
default: q(() => [L(K(
|
|
616
|
+
default: q(() => [L(K(E), { "as-child": "" }, {
|
|
617
|
+
default: q(() => [L(K(g), {
|
|
615
618
|
variant: "outline",
|
|
616
619
|
role: "combobox",
|
|
617
620
|
"aria-expanded": i.value,
|
|
618
621
|
disabled: t.disabled,
|
|
619
622
|
class: "w-full justify-between text-left font-normal"
|
|
620
623
|
}, {
|
|
621
|
-
default: q(() => [F("span",
|
|
624
|
+
default: q(() => [F("span", Xr, G(o.value), 1), L(K(u), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
622
625
|
_: 1
|
|
623
626
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
624
627
|
_: 1
|
|
625
|
-
}), L(K(
|
|
628
|
+
}), L(K(O), {
|
|
626
629
|
class: "w-full p-0",
|
|
627
630
|
align: "start"
|
|
628
631
|
}, {
|
|
629
|
-
default: q(() => [L(K(
|
|
632
|
+
default: q(() => [L(K(S), null, {
|
|
630
633
|
default: q(() => [
|
|
631
|
-
L(K(
|
|
632
|
-
L(K(
|
|
634
|
+
L(K(b), { placeholder: "Search..." }),
|
|
635
|
+
L(K(T), null, {
|
|
633
636
|
default: q(() => [...p[1] ||= [I("No options found.", -1)]]),
|
|
634
637
|
_: 1
|
|
635
638
|
}),
|
|
636
|
-
L(K(
|
|
637
|
-
default: q(() => [L(K(
|
|
638
|
-
default: q(() => [(V(!0), P(A, null, H(t.options, (t) => (V(), M(K(
|
|
639
|
+
L(K(w), null, {
|
|
640
|
+
default: q(() => [L(K(C), null, {
|
|
641
|
+
default: q(() => [(V(!0), P(A, null, H(t.options, (t) => (V(), M(K(x), {
|
|
639
642
|
key: t.value,
|
|
640
643
|
value: t.value,
|
|
641
644
|
onSelect: (e) => d(t.value),
|
|
642
645
|
class: "cursor-pointer"
|
|
643
646
|
}, {
|
|
644
647
|
default: q(() => [
|
|
645
|
-
L(K(
|
|
646
|
-
|
|
648
|
+
L(K(l), { class: B(K(e)("mr-2 h-4 w-4", r.value.includes(t.value) ? "opacity-100" : "opacity-0")) }, null, 8, ["class"]),
|
|
649
|
+
s(t.icon) ? (V(), P("span", Zr, G(t.icon), 1)) : c(t.icon) ? (V(), M(W(c(t.icon)), {
|
|
647
650
|
key: 1,
|
|
648
651
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
649
652
|
"aria-hidden": "true"
|
|
@@ -662,32 +665,32 @@ var Tr = /* @__PURE__ */ R({
|
|
|
662
665
|
_: 1
|
|
663
666
|
})]),
|
|
664
667
|
_: 1
|
|
665
|
-
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div",
|
|
668
|
+
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div", Qr, [(V(!0), P(A, null, H(a.value, (e) => (V(), M(K(h), {
|
|
666
669
|
key: e.value,
|
|
667
670
|
variant: "secondary",
|
|
668
671
|
class: "text-xs px-2 py-1"
|
|
669
672
|
}, {
|
|
670
673
|
default: q(() => [
|
|
671
|
-
|
|
674
|
+
s(e.icon) ? (V(), P("span", $r, G(e.icon), 1)) : c(e.icon) ? (V(), M(W(c(e.icon)), {
|
|
672
675
|
key: 1,
|
|
673
676
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
674
677
|
"aria-hidden": "true"
|
|
675
678
|
})) : N("", !0),
|
|
676
679
|
I(" " + G(e.label) + " ", 1),
|
|
677
|
-
L(K(
|
|
680
|
+
L(K(g), {
|
|
678
681
|
variant: "ghost",
|
|
679
682
|
size: "sm",
|
|
680
683
|
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
681
|
-
onClick:
|
|
684
|
+
onClick: tr((t) => f(e.value), ["stop"])
|
|
682
685
|
}, {
|
|
683
|
-
default: q(() => [L(K(
|
|
686
|
+
default: q(() => [L(K(m), { class: "h-2 w-2" })]),
|
|
684
687
|
_: 1
|
|
685
688
|
}, 8, ["onClick"])
|
|
686
689
|
]),
|
|
687
690
|
_: 2
|
|
688
691
|
}, 1024))), 128))])) : N("", !0)], 64));
|
|
689
692
|
}
|
|
690
|
-
}),
|
|
693
|
+
}), ti = /* @__PURE__ */ R({
|
|
691
694
|
__name: "RadioGroup",
|
|
692
695
|
props: {
|
|
693
696
|
modelValue: {},
|
|
@@ -714,7 +717,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
714
717
|
let { class: e, ...t } = r;
|
|
715
718
|
return t;
|
|
716
719
|
}), i);
|
|
717
|
-
return (t, n) => (V(), M(K(
|
|
720
|
+
return (t, n) => (V(), M(K(mr), z({
|
|
718
721
|
"data-slot": "radio-group",
|
|
719
722
|
class: K(e)("grid gap-2", r.class)
|
|
720
723
|
}, K(a)), {
|
|
@@ -722,7 +725,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
722
725
|
_: 3
|
|
723
726
|
}, 16, ["class"]));
|
|
724
727
|
}
|
|
725
|
-
}),
|
|
728
|
+
}), ni = /* @__PURE__ */ R({
|
|
726
729
|
__name: "RadioGroupItem",
|
|
727
730
|
props: {
|
|
728
731
|
id: {},
|
|
@@ -745,18 +748,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
745
748
|
let { class: e, ...t } = n;
|
|
746
749
|
return t;
|
|
747
750
|
}));
|
|
748
|
-
return (t, i) => (V(), M(K(
|
|
749
|
-
default: q(() => [L(K(
|
|
750
|
-
default: q(() => [L(K(
|
|
751
|
+
return (t, i) => (V(), M(K(pr), z({ "data-slot": "radio-group-item" }, K(r), { class: K(e)("tap-squish focus-ring aspect-square h-4 w-4 rounded-pill border border-primary text-primary transition-control disabled:cursor-not-allowed disabled:opacity-disabled", n.class) }), {
|
|
752
|
+
default: q(() => [L(K(fr), { class: "flex items-center justify-center" }, {
|
|
753
|
+
default: q(() => [L(K(se), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
751
754
|
_: 1
|
|
752
755
|
})]),
|
|
753
756
|
_: 1
|
|
754
757
|
}, 16, ["class"]));
|
|
755
758
|
}
|
|
756
|
-
}),
|
|
759
|
+
}), ri = {
|
|
757
760
|
key: 1,
|
|
758
761
|
class: "flex flex-col gap-1"
|
|
759
|
-
},
|
|
762
|
+
}, ii = /* @__PURE__ */ R({
|
|
760
763
|
__name: "Section",
|
|
761
764
|
props: {
|
|
762
765
|
title: {},
|
|
@@ -801,18 +804,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
801
804
|
"data-slot": "section",
|
|
802
805
|
class: B(K(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
803
806
|
}, [
|
|
804
|
-
n.backdrop === "paper" ? (V(), M(K(
|
|
807
|
+
n.backdrop === "paper" ? (V(), M(K(Gt), {
|
|
805
808
|
key: 0,
|
|
806
809
|
class: "!absolute inset-0"
|
|
807
810
|
})) : N("", !0),
|
|
808
|
-
t.title || a.$slots.header ? (V(), P("header",
|
|
811
|
+
t.title || a.$slots.header ? (V(), P("header", ri, [U(a.$slots, "header", {}, () => [F("h2", { class: B(K(e)(r[n.tone], n.titleClass)) }, G(t.title), 3)]), t.description || a.$slots.description ? (V(), P("p", {
|
|
809
812
|
key: 0,
|
|
810
813
|
class: B(K(e)("section-description", n.descriptionClass))
|
|
811
814
|
}, [U(a.$slots, "description", {}, () => [I(G(t.description), 1)])], 2)) : N("", !0)])) : N("", !0),
|
|
812
815
|
U(a.$slots, "default")
|
|
813
816
|
], 2));
|
|
814
817
|
}
|
|
815
|
-
}),
|
|
818
|
+
}), ai = /* @__PURE__ */ R({
|
|
816
819
|
__name: "TabsContent",
|
|
817
820
|
props: {
|
|
818
821
|
value: {},
|
|
@@ -832,12 +835,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
832
835
|
let { class: e, ...t } = n;
|
|
833
836
|
return t;
|
|
834
837
|
});
|
|
835
|
-
return (t, i) => (V(), M(K(
|
|
838
|
+
return (t, i) => (V(), M(K(hr), z({ class: K(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
836
839
|
default: q(() => [U(t.$slots, "default")]),
|
|
837
840
|
_: 3
|
|
838
841
|
}, 16, ["class"]));
|
|
839
842
|
}
|
|
840
|
-
}),
|
|
843
|
+
}), oi = /* @__PURE__ */ R({
|
|
841
844
|
__name: "TagsInput",
|
|
842
845
|
props: {
|
|
843
846
|
modelValue: {},
|
|
@@ -876,12 +879,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
876
879
|
let { class: e, ...t } = r;
|
|
877
880
|
return t;
|
|
878
881
|
}), i);
|
|
879
|
-
return (t, n) => (V(), M(K(
|
|
882
|
+
return (t, n) => (V(), M(K(br), z({ "data-slot": "tags-input" }, 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) }), {
|
|
880
883
|
default: q(() => [U(t.$slots, "default")]),
|
|
881
884
|
_: 3
|
|
882
885
|
}, 16, ["class"]));
|
|
883
886
|
}
|
|
884
|
-
}),
|
|
887
|
+
}), si = /* @__PURE__ */ R({
|
|
885
888
|
__name: "TagsInputInput",
|
|
886
889
|
props: {
|
|
887
890
|
placeholder: {},
|
|
@@ -902,9 +905,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
902
905
|
let { class: e, ...t } = n;
|
|
903
906
|
return t;
|
|
904
907
|
}));
|
|
905
|
-
return (t, i) => (V(), M(K(
|
|
908
|
+
return (t, i) => (V(), M(K(gr), z(K(r), { class: K(e)("text-sm min-h-6 focus:outline-none flex-1 bg-transparent px-1", n.class) }), null, 16, ["class"]));
|
|
906
909
|
}
|
|
907
|
-
}),
|
|
910
|
+
}), ci = /* @__PURE__ */ R({
|
|
908
911
|
__name: "TagsInputItem",
|
|
909
912
|
props: {
|
|
910
913
|
value: {},
|
|
@@ -924,12 +927,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
924
927
|
let { class: e, ...t } = n;
|
|
925
928
|
return t;
|
|
926
929
|
}));
|
|
927
|
-
return (t, i) => (V(), M(K(
|
|
930
|
+
return (t, i) => (V(), M(K(_r), z(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) }), {
|
|
928
931
|
default: q(() => [U(t.$slots, "default")]),
|
|
929
932
|
_: 3
|
|
930
933
|
}, 16, ["class"]));
|
|
931
934
|
}
|
|
932
|
-
}),
|
|
935
|
+
}), li = /* @__PURE__ */ R({
|
|
933
936
|
__name: "TagsInputItemDelete",
|
|
934
937
|
props: {
|
|
935
938
|
asChild: { type: Boolean },
|
|
@@ -947,12 +950,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
947
950
|
let { class: e, ...t } = n;
|
|
948
951
|
return t;
|
|
949
952
|
}));
|
|
950
|
-
return (t, i) => (V(), M(K(
|
|
951
|
-
default: q(() => [U(t.$slots, "default", {}, () => [L(K(
|
|
953
|
+
return (t, i) => (V(), M(K(vr), z(K(r), { class: K(e)("flex rounded bg-transparent mr-1", n.class) }), {
|
|
954
|
+
default: q(() => [U(t.$slots, "default", {}, () => [L(K(m), { class: "w-4 h-4" })])]),
|
|
952
955
|
_: 3
|
|
953
956
|
}, 16, ["class"]));
|
|
954
957
|
}
|
|
955
|
-
}),
|
|
958
|
+
}), ui = /* @__PURE__ */ R({
|
|
956
959
|
__name: "TagsInputItemText",
|
|
957
960
|
props: {
|
|
958
961
|
asChild: { type: Boolean },
|
|
@@ -970,23 +973,8 @@ var Tr = /* @__PURE__ */ R({
|
|
|
970
973
|
let { class: e, ...t } = n;
|
|
971
974
|
return t;
|
|
972
975
|
}));
|
|
973
|
-
return (t, i) => (V(), M(K(
|
|
974
|
-
}
|
|
975
|
-
}), ai = /* @__PURE__ */ R({
|
|
976
|
-
__name: "DeckProgress",
|
|
977
|
-
props: {
|
|
978
|
-
value: {},
|
|
979
|
-
class: {}
|
|
980
|
-
},
|
|
981
|
-
setup(t) {
|
|
982
|
-
let n = t;
|
|
983
|
-
return (t, r) => (V(), M(K(O), {
|
|
984
|
-
variant: "default",
|
|
985
|
-
"model-value": n.value,
|
|
986
|
-
class: B(K(e)("glass-progress-rail", n.class)),
|
|
987
|
-
"aria-label": "Deck position"
|
|
988
|
-
}, null, 8, ["model-value", "class"]));
|
|
976
|
+
return (t, i) => (V(), M(K(yr), z(K(r), { class: K(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
989
977
|
}
|
|
990
978
|
});
|
|
991
979
|
//#endregion
|
|
992
|
-
export {
|
|
980
|
+
export { jr as Accordion, Mr as AccordionContent, Nr as AccordionItem, Pr as AccordionTrigger, Fr as Alert, Ir as AlertDescription, Lr as AlertTitle, Rr as Avatar, Br as AvatarFallback, zr as AvatarImage, h as Badge, g as Button, me as CONFIGURATOR_DENSITY_KEY, _ as Card, v as CardAction, Pe as CardContent, je as CardDescription, Me as CardFooter, Ne as CardHeader, Ae as CardTitle, Fn as ChassisDivider, Vr as Checkbox, Fe as Collapsible, Ie as CollapsibleContent, y as CollapsibleTrigger, S as Command, Le as CommandDialog, T as CommandEmpty, C as CommandGroup, b as CommandInput, x as CommandItem, w as CommandList, Re as CommandSeparator, ze as CommandShortcut, he as Configurator, ve as ConfiguratorLayer, ge as ConfiguratorRow, Xe as ContextMenu, ae as ContextMenuCheckboxItem, Ze as ContextMenuContent, p as ContextMenuItem, ie as ContextMenuLabel, te as ContextMenuRadioGroup, re as ContextMenuRadioItem, ee as ContextMenuSeparator, f as ContextMenuShortcut, oe as ContextMenuSubContent, ne as ContextMenuSubTrigger, Ye as ContextMenuTrigger, vt as DataTable, mt as DataTablePagination, Gn as DeckProgress, Be as Dialog, qe as DialogClose, Ve as DialogContent, Ke as DialogDescription, Je as DialogFooter, He as DialogHeader, We as DialogScrollContent, Ue as DialogTitle, Ge as DialogTrigger, Hn as DiscoGlyph, Ur as Drawer, Sr as DrawerClose, Wr as DrawerContent, Jr as DrawerDescription, Kr as DrawerFooter, Gr as DrawerHeader, $ as DrawerOverlay, Er as DrawerPortal, qr as DrawerTitle, Ar as DrawerTrigger, wt as DropdownMenu, Et as DropdownMenuCheckboxItem, At as DropdownMenuContent, Ct as DropdownMenuGroup, Pt as DropdownMenuItem, bt as DropdownMenuLabel, Nt as DropdownMenuPortal, St as DropdownMenuRadioGroup, xt as DropdownMenuRadioItem, kt as DropdownMenuSeparator, Mt as DropdownMenuShortcut, Tt as DropdownMenuSub, Ot as DropdownMenuSubContent, jt as DropdownMenuSubTrigger, Dt as DropdownMenuTrigger, Bn as GLYPH_FACE_SILHOUETTE_KEY, Vn as GlyphFace, It as HoverCard, Lt as HoverCardContent, Ft as HoverCardTrigger, Un as HoverPopover, In as InstrumentChassis, Ln as InstrumentRail, Rt as Label, Yr as MetricPill, ei as MultiSelect, d as Notification, ce as NumberField, pe as NumberFieldContent, ue as NumberFieldDecrement, fe as NumberFieldIncrement, le as NumberFieldInput, D as Popover, O as PopoverContent, E as PopoverTrigger, Wt as Progress, Bt as ProgressDefault, Vt as ProgressGradient, Ht as ProgressSectioned, ti as RadioGroup, ni as RadioGroupItem, Wn as ScrollingText, ii as Section, Zt as Select, qt as SelectContent, $t as SelectGroup, Xt as SelectItem, en as SelectLabel, Qt as SelectScrollDownButton, Jt as SelectScrollUpButton, tn as SelectSeparator, Kt as SelectTrigger, Yt as SelectValue, nn as Separator, sn as Sheet, dn as SheetClose, ln as SheetContent, un as SheetDescription, cn as SheetFooter, rn as SheetHeader, on as SheetTitle, an as SheetTrigger, gt as Skeleton, pn as Slider, hn as Switch, yt as Table, pt as TableBody, Hr as TableCaption, dt as TableCell, ft as TableEmpty, _t as TableHead, ht as TableHeader, ut as TableRow, gn as Tabs, ai as TabsContent, _n as TabsIndicator, yn as TabsList, vn as TabsTrigger, oi as TagsInput, si as TagsInputInput, ci as TagsInputItem, li as TagsInputItemDelete, ui as TagsInputItemText, bn as Toast, Tn as ToastAction, Cn as ToastClose, k as ToastDescription, xn as ToastTitle, En as Toaster, Dn as Toggle, On as ToggleGroup, An as ToggleGroupItem, jn as Tooltip, Nn as TooltipContent, Pn as TooltipProvider, Mn as TooltipTrigger, Z as alertVariants, Q as avatarVariants, xe as badgeVariants, Se as buttonVariants, e as cn, nt as copyToClipboard, Te as createGlassFilter, ct as createTokenColorCache, Ce as destroyGlassFilter, t as moveBeforeSafe, _e as provideConfiguratorDensity, Rn as provideGlyphFaceSilhouette, ke as resolveCanvasColor, st as resolveTokenColor, fn as sheetVariants, mn as sliderVariants, r as startViewTransition, i as supportsMoveBefore, n as supportsPostTask, c as supportsScrollTimeline, s as supportsViewTimeline, a as supportsViewTransitions, Sn as toast, kn as toggleVariants, at as useBreakpoint, Oe as useCanvas2D, De as useCanvasLifecycle, tt as useClipboard, be as useConfiguratorState, we as useGlassRenderer, rt as useIdleReady, Kn as useInterval, ye as useOptionalConfiguratorDensity, zn as useOptionalGlyphFaceSilhouette, Ut as useProgressGeometry, Qe as useResizeObserver, qn as useSortable, Ee as useSpecularTracking, Jn as useTextHighlight, $e as useTimer, wn as useToast, it as useTokenColor, et as useTouchGate, lt as useUserInvalidAria, ot as useViewportReady, o as vReveal };
|