@mkbabb/glass-ui 3.7.0 → 3.9.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/README.md +1 -6
- package/dist/CardAction-DuArVky-.js +157 -0
- package/dist/{CommandShortcut-CY0aQTz5.js → CommandShortcut-CefCj5mt.js} +7 -7
- package/dist/{ContextMenuSubContent-BeDz7G6f.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
- package/dist/{DataTable-gtPOLZvl.js → DataTable-CUHMukiQ.js} +4 -4
- package/dist/DeckProgress-Dmk4_AKN.js +23 -0
- package/dist/{DialogContent-DG1YMR-P.js → DialogContent-BRkT1cjP.js} +3 -3
- package/dist/{DialogFooter-BCIaDP15.js → DialogFooter-Gprw8H_A.js} +1 -1
- package/dist/{HoverPopover-DXpOEw1P.js → HoverPopover-2LOIW34a.js} +1 -1
- package/dist/{IconTooltip-Cu86JR4e.js → IconTooltip-yefK7cJc.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/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
- 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-BPP84wKo.js} +2 -2
- package/dist/{SelectScrollDownButton-DAo5NmY_.js → SelectScrollDownButton-T32cVFeM.js} +4 -4
- package/dist/{SelectSeparator-COFMJGng.js → SelectSeparator-C4Ql0gzV.js} +1 -1
- package/dist/{TabsList-COqIdW7i.js → TabsList-B8CVOQPC.js} +2 -2
- package/dist/{Toaster-BMaeziJJ.js → Toaster-1rYWrmAm.js} +1 -1
- package/dist/{ToggleGroupItem-C-AIkBUw.js → ToggleGroupItem-Cev4pOVK.js} +5 -5
- package/dist/animated-digit.js +1 -1
- package/dist/api/index.d.ts +5 -3
- package/dist/aurora.js +339 -408
- package/dist/{badge-DHQrc_GQ.js → badge-BvwvT50i.js} +4 -4
- package/dist/badge.js +1 -1
- package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
- package/dist/button.js +1 -1
- package/dist/canvas.d.ts +1 -0
- package/dist/canvas.js +3 -0
- package/dist/card.js +1 -1
- package/dist/carousel.js +106 -105
- package/dist/collapsible.js +1 -1
- package/dist/{color-DjJCAQ6f.js → color-8jBjWiJ6.js} +22 -14
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/compile-DAjIoEy2.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/configurator/ConfiguratorLayer.vue.d.ts +1 -1
- 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/DockSeparator.vue.d.ts +3 -0
- package/dist/components/custom/dock/GlassDock.vue.d.ts +57 -67
- package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
- 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 +4 -1
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +13 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +23 -5
- 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/custom/tabs/SegmentedTabs.vue.d.ts +92 -0
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +49 -0
- package/dist/components/custom/tabs/index.d.ts +2 -5
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/card/Card.vue.d.ts +28 -10
- package/dist/components/ui/card/index.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +3 -4
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -4
- package/dist/components/ui/slider/Slider.vue.d.ts +3 -1
- package/dist/components/ui/slider/index.d.ts +14 -7
- package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
- package/dist/composables/color/index.d.ts +19 -0
- package/dist/composables/context/createContext.d.ts +1 -1
- 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 +2 -2
- package/dist/constellation.js +143 -74
- package/dist/context-menu.js +2 -2
- package/dist/controls.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/dock.js +468 -354
- package/dist/{dockContext-DLgrVWsU.js → dockContext-BKeIMmNk.js} +1 -1
- package/dist/dom.js +6 -6
- package/dist/{dropdown-menu-BWpwutt0.js → dropdown-menu-D77jX6Df.js} +4 -4
- package/dist/dropdown-menu.js +1 -1
- package/dist/fonts/README.md +26 -18
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +35 -35
- package/dist/glass-panel.js +7 -7
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +154 -169
- package/dist/goo-blob.js +361 -274
- 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 -2
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/{menuItemVariants-B4eFR5Ix.js → menuItemVariants-CCoBNkU5.js} +1 -1
- 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 +1 -1
- package/dist/notification.js +1 -1
- package/dist/number-field.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 +2 -2
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-BBiYfp8g.js +11 -0
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +9 -9
- 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-DC2mwuoe.js +142 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/status-dot.js +17 -16
- package/dist/styles/animations.css +6 -2
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/density.css +230 -0
- package/dist/styles/dock/layer-group.css +263 -0
- package/dist/styles/dock/layers.css +355 -0
- package/dist/styles/dock/morph.css +244 -0
- package/dist/styles/dock/overflow.css +201 -0
- package/dist/styles/dock/shell.css +457 -0
- package/dist/styles/dock-controls.css +187 -50
- package/dist/styles/dock.css +65 -1181
- package/dist/styles/fonts.css +0 -25
- package/dist/styles/glass.css +482 -102
- package/dist/styles/index.css +12 -11
- package/dist/styles/theme.css +60 -2
- package/dist/styles/tokens.css +625 -72
- package/dist/styles/typography.css +52 -69
- package/dist/styles/utilities.css +91 -40
- package/dist/styles/view-transition.css +12 -40
- package/dist/switch.js +1 -1
- package/dist/tabs.js +183 -152
- 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/{useCanvas2D-C31yfUGY.js → useCanvas2D-ClrQuZtp.js} +2 -1
- package/dist/{useConfiguratorState-B24TcgIn.js → useConfiguratorState-DxAqksK6.js} +24 -13
- package/dist/useResolveTokenColor-r9pnNjqK.js +24 -0
- package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
- package/dist/{useTextHighlight-aMPdEpkq.js → useTextHighlight-DON84L8w.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 +1 -1
- package/package.json +67 -36
- package/src/fonts/README.md +26 -18
- package/src/styles/animations.css +6 -2
- package/src/styles/dock/density.css +230 -0
- package/src/styles/dock/layer-group.css +263 -0
- package/src/styles/dock/layers.css +355 -0
- package/src/styles/dock/morph.css +244 -0
- package/src/styles/dock/overflow.css +201 -0
- package/src/styles/dock/shell.css +457 -0
- package/src/styles/dock-controls.css +187 -50
- package/src/styles/dock.css +65 -1181
- package/src/styles/fonts.css +0 -25
- package/src/styles/glass.css +482 -102
- package/src/styles/index.css +12 -11
- package/src/styles/theme.css +60 -2
- package/src/styles/tokens.css +625 -72
- package/src/styles/typography.css +52 -69
- package/src/styles/utilities.css +91 -40
- package/src/styles/view-transition.css +12 -40
- package/dist/CardAction-D8nSE62a.js +0 -163
- package/dist/DiscoGlyph-ZoBYpoxI.js +0 -132
- package/dist/GlyphFace-Ce_oe3tM.js +0 -51
- package/dist/UnderlineTabs-D_c1iYo-.js +0 -39
- package/dist/compile-iM4IUB66.js +0 -158
- package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +0 -7
- package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +0 -4
- package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +0 -58
- package/dist/components/custom/disco-glyph/index.d.ts +0 -1
- package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +0 -36
- package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +0 -28
- package/dist/components/custom/glass-carousel/index.d.ts +0 -4
- package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +0 -30
- package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +0 -64
- package/dist/components/custom/glyph-face/index.d.ts +0 -2
- package/dist/components/custom/glyph-face/keys.d.ts +0 -9
- package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +0 -73
- package/dist/components/custom/responsive-tabs/index.d.ts +0 -2
- package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +0 -27
- package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +0 -60
- package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +0 -20
- package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +0 -39
- package/dist/disco-glyph.d.ts +0 -1
- package/dist/disco-glyph.js +0 -2
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/glass-carousel.d.ts +0 -1
- package/dist/glass-carousel.js +0 -214
- package/dist/glyph-face.d.ts +0 -1
- package/dist/glyph-face.js +0 -3
- package/dist/keys-Dyf_uTs5.js +0 -9
- package/dist/responsive-tabs.d.ts +0 -1
- package/dist/responsive-tabs.js +0 -95
- package/dist/slider-BA9wIs5e.js +0 -130
- package/dist/styles/disco-glyph.css +0 -26
- package/dist/styles/glyph-face.css +0 -92
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-BE2TsPoR.js +0 -24
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/src/styles/disco-glyph.css +0 -26
- package/src/styles/glyph-face.css +0 -92
- /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/{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/{Separator-DZyqsCum.js → Separator-D7sD7RKj.js} +0 -0
- /package/dist/{Switch-2rsAtDfA.js → Switch-LDKLmmgx.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/{createContext-CvNyBk4o.js → createContext-B44Sah_H.js} +0 -0
- /package/dist/{useGlassRenderer-HebgSEgN.js → useGlassRenderer-5I0YkI4t.js} +0 -0
- /package/dist/{useInterval-D3USn0yc.js → useInterval-Dsmqwi03.js} +0 -0
- /package/dist/{useResizeObserver-CSyxGxIX.js → useResizeObserver-CWCbk5Px.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,65 @@
|
|
|
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 { 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
|
|
57
|
-
import { AccordionContent as
|
|
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-Bhg4f5jX.js";
|
|
8
|
+
import { a as ce, i as le, n as ue, o as de, r as fe, t as pe } from "./NumberFieldContent-BbLOh8RU.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-DxAqksK6.js";
|
|
10
|
+
import { t as m } from "./x-Dfsegz9Y.js";
|
|
11
|
+
import { n as h, t as xe } from "./badge-BvwvT50i.js";
|
|
12
|
+
import { n as g, t as Se } from "./button-DN39cGqL.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-DuArVky-.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-CefCj5mt.js";
|
|
20
|
+
import { n as Be, t as Ve } from "./DialogContent-BRkT1cjP.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-CUHMukiQ.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-D77jX6Df.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-T32cVFeM.js";
|
|
38
|
+
import { t as $t } from "./SelectGroup-BFiod7X2.js";
|
|
39
|
+
import { n as en, t as tn } from "./SelectSeparator-C4Ql0gzV.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-DC2mwuoe.js";
|
|
43
|
+
import { t as hn } from "./Switch-LDKLmmgx.js";
|
|
44
|
+
import { i as k, n as gn, r as _n, t as vn } from "./TabsList-B8CVOQPC.js";
|
|
45
|
+
import { a as yn, c as bn, i as xn, n as Sn, o as Cn, r as wn, s as Tn, t as En } from "./Toaster-1rYWrmAm.js";
|
|
46
|
+
import { i as Dn, n as On, r as kn, t as An } from "./ToggleGroupItem-Cev4pOVK.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 { t as Rn } from "./HoverPopover-2LOIW34a.js";
|
|
51
|
+
import { t as zn } from "./ScrollingText-BPP84wKo.js";
|
|
52
|
+
import { t as Bn } from "./DeckProgress-Dmk4_AKN.js";
|
|
53
|
+
import { t as Vn } from "./useInterval-Dsmqwi03.js";
|
|
54
|
+
import { t as Hn } from "./useSortable-C8ReQ50P.js";
|
|
55
|
+
import { t as Un } from "./useTextHighlight-DON84L8w.js";
|
|
56
|
+
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 Wn, mergeModels as Gn, mergeProps as z, normalizeClass as B, normalizeProps as Kn, openBlock as V, ref as qn, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as Jn, unref as K, useModel as Yn, withCtx as q, withModifiers as Xn } from "vue";
|
|
57
|
+
import { AccordionContent as Zn, AccordionHeader as Qn, AccordionItem as $n, AccordionRoot as er, AccordionTrigger as tr, AvatarFallback as nr, AvatarImage as rr, AvatarRoot as ir, CheckboxIndicator as ar, CheckboxRoot as or, RadioGroupIndicator as sr, RadioGroupItem as cr, RadioGroupRoot as lr, TabsContent as ur, TagsInputInput as dr, TagsInputItem as fr, TagsInputItemDelete as pr, TagsInputItemText as mr, TagsInputRoot as hr, useEmitAsProps as gr, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
58
58
|
import { cva as X } from "class-variance-authority";
|
|
59
|
-
import { DrawerClose as
|
|
59
|
+
import { DrawerClose as _r, DrawerContent as vr, DrawerDescription as yr, DrawerOverlay as br, DrawerPortal as xr, DrawerPortal as Sr, DrawerRoot as Cr, DrawerTitle as wr, DrawerTrigger as Tr } from "vaul-vue";
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/ui/accordion/Accordion.vue
|
|
62
|
-
var
|
|
62
|
+
var Er = /* @__PURE__ */ R({
|
|
63
63
|
__name: "Accordion",
|
|
64
64
|
props: {
|
|
65
65
|
collapsible: { type: Boolean },
|
|
@@ -76,12 +76,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
76
76
|
emits: ["update:modelValue"],
|
|
77
77
|
setup(e, { emit: t }) {
|
|
78
78
|
let n = Y(e, t);
|
|
79
|
-
return (e, t) => (V(), M(K(
|
|
79
|
+
return (e, t) => (V(), M(K(er), z({ "data-slot": "accordion" }, K(n)), {
|
|
80
80
|
default: q(() => [U(e.$slots, "default")]),
|
|
81
81
|
_: 3
|
|
82
82
|
}, 16));
|
|
83
83
|
}
|
|
84
|
-
}),
|
|
84
|
+
}), Dr = /* @__PURE__ */ R({
|
|
85
85
|
__name: "AccordionContent",
|
|
86
86
|
props: {
|
|
87
87
|
forceMount: { type: Boolean },
|
|
@@ -100,12 +100,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
100
100
|
let { class: e, ...t } = n;
|
|
101
101
|
return t;
|
|
102
102
|
});
|
|
103
|
-
return (t, i) => (V(), M(K(
|
|
103
|
+
return (t, i) => (V(), M(K(Zn), z(r.value, { class: "overflow-hidden text-sm transition-collapse data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
104
104
|
default: q(() => [F("div", { class: B(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
105
105
|
_: 3
|
|
106
106
|
}, 16));
|
|
107
107
|
}
|
|
108
|
-
}),
|
|
108
|
+
}), Or = /* @__PURE__ */ R({
|
|
109
109
|
__name: "AccordionItem",
|
|
110
110
|
props: {
|
|
111
111
|
disabled: { type: Boolean },
|
|
@@ -126,12 +126,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
126
126
|
let { class: e, ...t } = n;
|
|
127
127
|
return t;
|
|
128
128
|
}));
|
|
129
|
-
return (t, i) => (V(), M(K(
|
|
129
|
+
return (t, i) => (V(), M(K($n), z(K(r), { class: K(e)("border-b", n.class) }), {
|
|
130
130
|
default: q(() => [U(t.$slots, "default")]),
|
|
131
131
|
_: 3
|
|
132
132
|
}, 16, ["class"]));
|
|
133
133
|
}
|
|
134
|
-
}),
|
|
134
|
+
}), kr = /* @__PURE__ */ R({
|
|
135
135
|
__name: "AccordionTrigger",
|
|
136
136
|
props: {
|
|
137
137
|
asChild: { type: Boolean },
|
|
@@ -149,15 +149,15 @@ var Tr = /* @__PURE__ */ R({
|
|
|
149
149
|
let { class: e, ...t } = n;
|
|
150
150
|
return t;
|
|
151
151
|
});
|
|
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(
|
|
152
|
+
return (t, i) => (V(), M(K(Qn), { class: "flex" }, {
|
|
153
|
+
default: q(() => [L(K(tr), 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) }), {
|
|
154
|
+
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
155
|
_: 3
|
|
156
156
|
}, 16, ["class"])]),
|
|
157
157
|
_: 3
|
|
158
158
|
}));
|
|
159
159
|
}
|
|
160
|
-
}),
|
|
160
|
+
}), Ar = /* @__PURE__ */ R({
|
|
161
161
|
__name: "Alert",
|
|
162
162
|
props: {
|
|
163
163
|
class: { type: [
|
|
@@ -177,7 +177,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
177
177
|
role: "alert"
|
|
178
178
|
}, [U(r.$slots, "default")], 2));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), jr = /* @__PURE__ */ R({
|
|
181
181
|
__name: "AlertDescription",
|
|
182
182
|
props: { class: { type: [
|
|
183
183
|
Boolean,
|
|
@@ -193,7 +193,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
193
193
|
class: B(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
194
194
|
}, [U(t.$slots, "default")], 2));
|
|
195
195
|
}
|
|
196
|
-
}),
|
|
196
|
+
}), Mr = /* @__PURE__ */ R({
|
|
197
197
|
__name: "AlertTitle",
|
|
198
198
|
props: { class: { type: [
|
|
199
199
|
Boolean,
|
|
@@ -209,16 +209,16 @@ var Tr = /* @__PURE__ */ R({
|
|
|
209
209
|
class: B(K(e)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", n.class))
|
|
210
210
|
}, [U(t.$slots, "default")], 2));
|
|
211
211
|
}
|
|
212
|
-
}), Z = X("relative w-full rounded-lg border px-4 py-3 text-
|
|
212
|
+
}), Z = X("relative w-full rounded-lg border px-4 py-3 text-[length:var(--control-text)] grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-[var(--ui-glyph)] [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
213
213
|
variants: { variant: {
|
|
214
|
-
default: "bg-
|
|
215
|
-
destructive: "text-destructive bg-
|
|
216
|
-
success: "bg-
|
|
217
|
-
warning: "bg-
|
|
218
|
-
info: "bg-
|
|
214
|
+
default: "bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground",
|
|
215
|
+
destructive: "text-destructive bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
|
|
216
|
+
success: "bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground border-success/40 [&>svg]:text-success *:data-[slot=alert-description]:text-card-foreground/90",
|
|
217
|
+
warning: "bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground border-warning/40 [&>svg]:text-warning *:data-[slot=alert-description]:text-card-foreground/90",
|
|
218
|
+
info: "bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground border-info/40 [&>svg]:text-info *:data-[slot=alert-description]:text-card-foreground/90"
|
|
219
219
|
} },
|
|
220
220
|
defaultVariants: { variant: "default" }
|
|
221
|
-
}),
|
|
221
|
+
}), Nr = /* @__PURE__ */ R({
|
|
222
222
|
__name: "Avatar",
|
|
223
223
|
props: {
|
|
224
224
|
class: { type: [
|
|
@@ -233,7 +233,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
233
233
|
},
|
|
234
234
|
setup(t) {
|
|
235
235
|
let n = t;
|
|
236
|
-
return (r, i) => (V(), M(K(
|
|
236
|
+
return (r, i) => (V(), M(K(ir), {
|
|
237
237
|
"data-slot": "avatar",
|
|
238
238
|
class: B(K(e)(K(Q)({
|
|
239
239
|
size: t.size,
|
|
@@ -244,7 +244,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
244
244
|
_: 3
|
|
245
245
|
}, 8, ["class"]));
|
|
246
246
|
}
|
|
247
|
-
}),
|
|
247
|
+
}), Pr = /* @__PURE__ */ R({
|
|
248
248
|
__name: "AvatarImage",
|
|
249
249
|
props: {
|
|
250
250
|
src: {},
|
|
@@ -256,9 +256,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
256
256
|
},
|
|
257
257
|
setup(e) {
|
|
258
258
|
let t = e;
|
|
259
|
-
return (e, n) => (V(), M(K(
|
|
259
|
+
return (e, n) => (V(), M(K(rr), z(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
260
260
|
}
|
|
261
|
-
}),
|
|
261
|
+
}), Fr = /* @__PURE__ */ R({
|
|
262
262
|
__name: "AvatarFallback",
|
|
263
263
|
props: {
|
|
264
264
|
delayMs: {},
|
|
@@ -267,14 +267,14 @@ var Tr = /* @__PURE__ */ R({
|
|
|
267
267
|
},
|
|
268
268
|
setup(e) {
|
|
269
269
|
let t = e;
|
|
270
|
-
return (e, n) => (V(), M(K(
|
|
270
|
+
return (e, n) => (V(), M(K(nr), Kn(Wn(t)), {
|
|
271
271
|
default: q(() => [U(e.$slots, "default")]),
|
|
272
272
|
_: 3
|
|
273
273
|
}, 16));
|
|
274
274
|
}
|
|
275
275
|
}), Q = X("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
276
276
|
size: {
|
|
277
|
-
sm: "h-
|
|
277
|
+
sm: "h-[var(--control-h-md)] w-[var(--control-h-md)] text-xs",
|
|
278
278
|
base: "h-16 w-16 text-2xl",
|
|
279
279
|
lg: "h-32 w-32 text-5xl"
|
|
280
280
|
},
|
|
@@ -282,7 +282,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
282
282
|
circle: "rounded-pill",
|
|
283
283
|
square: "rounded-input"
|
|
284
284
|
}
|
|
285
|
-
} }),
|
|
285
|
+
} }), Ir = /* @__PURE__ */ R({
|
|
286
286
|
__name: "Checkbox",
|
|
287
287
|
props: {
|
|
288
288
|
defaultValue: {},
|
|
@@ -310,15 +310,15 @@ var Tr = /* @__PURE__ */ R({
|
|
|
310
310
|
let { class: e, ...t } = r;
|
|
311
311
|
return t;
|
|
312
312
|
}), i);
|
|
313
|
-
return (t, n) => (V(), M(K(
|
|
314
|
-
default: q(() => [L(K(
|
|
315
|
-
default: q(() => [U(t.$slots, "default", {}, () => [L(K(
|
|
313
|
+
return (t, n) => (V(), M(K(or), 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) }), {
|
|
314
|
+
default: q(() => [L(K(ar), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
315
|
+
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
316
|
_: 3
|
|
317
317
|
})]),
|
|
318
318
|
_: 3
|
|
319
319
|
}, 16, ["class"]));
|
|
320
320
|
}
|
|
321
|
-
}),
|
|
321
|
+
}), Lr = /* @__PURE__ */ R({
|
|
322
322
|
__name: "TableCaption",
|
|
323
323
|
props: { class: { type: [
|
|
324
324
|
Boolean,
|
|
@@ -331,7 +331,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
331
331
|
let n = t;
|
|
332
332
|
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
333
|
}
|
|
334
|
-
}),
|
|
334
|
+
}), Rr = /* @__PURE__ */ R({
|
|
335
335
|
__name: "Drawer",
|
|
336
336
|
props: {
|
|
337
337
|
activeSnapPoint: {},
|
|
@@ -368,7 +368,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
368
368
|
"animationEnd"
|
|
369
369
|
],
|
|
370
370
|
setup(e, { emit: t }) {
|
|
371
|
-
let n = e, r =
|
|
371
|
+
let n = e, r = gr(t), i = [
|
|
372
372
|
.12,
|
|
373
373
|
.5,
|
|
374
374
|
1
|
|
@@ -382,7 +382,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
382
382
|
...r
|
|
383
383
|
};
|
|
384
384
|
});
|
|
385
|
-
return (e, t) => (V(), M(K(
|
|
385
|
+
return (e, t) => (V(), M(K(Cr), z({ "data-slot": "drawer" }, a.value), {
|
|
386
386
|
default: q(() => [U(e.$slots, "default")]),
|
|
387
387
|
_: 3
|
|
388
388
|
}, 16));
|
|
@@ -406,9 +406,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
406
406
|
let { class: e, ...t } = n;
|
|
407
407
|
return t;
|
|
408
408
|
});
|
|
409
|
-
return (t, i) => (V(), M(K(
|
|
409
|
+
return (t, i) => (V(), M(K(br), 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
410
|
}
|
|
411
|
-
}),
|
|
411
|
+
}), zr = /* @__PURE__ */ R({
|
|
412
412
|
__name: "DrawerContent",
|
|
413
413
|
props: {
|
|
414
414
|
forceMount: { type: Boolean },
|
|
@@ -437,8 +437,8 @@ var Tr = /* @__PURE__ */ R({
|
|
|
437
437
|
],
|
|
438
438
|
setup(t, { emit: n }) {
|
|
439
439
|
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(
|
|
440
|
+
return (t, n) => (V(), M(K(Sr), null, {
|
|
441
|
+
default: q(() => [r.showOverlay ? (V(), M($, { key: 0 })) : N("", !0), L(K(vr), z(K(i), { class: K(e)("glass-drawer", r.class) }), {
|
|
442
442
|
default: q(() => [n[0] ||= F("div", {
|
|
443
443
|
class: "glass-drawer-handle",
|
|
444
444
|
"aria-hidden": "true"
|
|
@@ -448,7 +448,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
448
448
|
_: 3
|
|
449
449
|
}));
|
|
450
450
|
}
|
|
451
|
-
}),
|
|
451
|
+
}), Br = /* @__PURE__ */ R({
|
|
452
452
|
__name: "DrawerHeader",
|
|
453
453
|
props: { class: { type: [
|
|
454
454
|
Boolean,
|
|
@@ -461,7 +461,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
461
461
|
let n = t;
|
|
462
462
|
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
463
|
}
|
|
464
|
-
}),
|
|
464
|
+
}), Vr = /* @__PURE__ */ R({
|
|
465
465
|
__name: "DrawerFooter",
|
|
466
466
|
props: { class: { type: [
|
|
467
467
|
Boolean,
|
|
@@ -474,7 +474,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
474
474
|
let n = t;
|
|
475
475
|
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
476
|
}
|
|
477
|
-
}),
|
|
477
|
+
}), Hr = /* @__PURE__ */ R({
|
|
478
478
|
__name: "DrawerTitle",
|
|
479
479
|
props: {
|
|
480
480
|
asChild: { type: Boolean },
|
|
@@ -492,12 +492,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
492
492
|
let { class: e, ...t } = n;
|
|
493
493
|
return t;
|
|
494
494
|
});
|
|
495
|
-
return (t, i) => (V(), M(K(
|
|
495
|
+
return (t, i) => (V(), M(K(wr), z(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
496
496
|
default: q(() => [U(t.$slots, "default")]),
|
|
497
497
|
_: 3
|
|
498
498
|
}, 16, ["class"]));
|
|
499
499
|
}
|
|
500
|
-
}),
|
|
500
|
+
}), Ur = /* @__PURE__ */ R({
|
|
501
501
|
__name: "DrawerDescription",
|
|
502
502
|
props: {
|
|
503
503
|
asChild: { type: Boolean },
|
|
@@ -515,12 +515,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
515
515
|
let { class: e, ...t } = n;
|
|
516
516
|
return t;
|
|
517
517
|
});
|
|
518
|
-
return (t, i) => (V(), M(K(
|
|
518
|
+
return (t, i) => (V(), M(K(yr), z(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
519
519
|
default: q(() => [U(t.$slots, "default")]),
|
|
520
520
|
_: 3
|
|
521
521
|
}, 16, ["class"]));
|
|
522
522
|
}
|
|
523
|
-
}),
|
|
523
|
+
}), Wr = /* @__PURE__ */ R({
|
|
524
524
|
__name: "MetricPill",
|
|
525
525
|
props: {
|
|
526
526
|
amount: {},
|
|
@@ -542,7 +542,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
542
542
|
},
|
|
543
543
|
setup(t) {
|
|
544
544
|
let n = t, r = j(() => e("metric-pill", n.class));
|
|
545
|
-
return (e, n) => (V(), M(
|
|
545
|
+
return (e, n) => (V(), M(zt, {
|
|
546
546
|
"data-slot": "metric-pill",
|
|
547
547
|
amount: t.amount,
|
|
548
548
|
unit: t.unit,
|
|
@@ -567,18 +567,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
567
567
|
"data-density"
|
|
568
568
|
]));
|
|
569
569
|
}
|
|
570
|
-
}),
|
|
570
|
+
}), Gr = { class: "truncate" }, Kr = {
|
|
571
571
|
key: 0,
|
|
572
572
|
class: "mr-2"
|
|
573
|
-
},
|
|
573
|
+
}, qr = {
|
|
574
574
|
key: 0,
|
|
575
575
|
class: "flex flex-wrap gap-1 mt-2"
|
|
576
|
-
},
|
|
576
|
+
}, Jr = {
|
|
577
577
|
key: 0,
|
|
578
578
|
class: "mr-1"
|
|
579
|
-
},
|
|
579
|
+
}, Yr = /* @__PURE__ */ R({
|
|
580
580
|
__name: "MultiSelect",
|
|
581
|
-
props: /* @__PURE__ */
|
|
581
|
+
props: /* @__PURE__ */ Gn({
|
|
582
582
|
options: {},
|
|
583
583
|
placeholder: { default: "Select items..." },
|
|
584
584
|
disabled: {
|
|
@@ -592,12 +592,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
592
592
|
}),
|
|
593
593
|
emits: ["update:modelValue"],
|
|
594
594
|
setup(t) {
|
|
595
|
-
let n = t, r =
|
|
596
|
-
function
|
|
595
|
+
let n = t, r = Yn(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})`);
|
|
596
|
+
function s(e) {
|
|
597
597
|
return typeof e == "string" && e.length > 0;
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return !e ||
|
|
599
|
+
function c(e) {
|
|
600
|
+
return !e || s(e) ? null : Jn(e);
|
|
601
601
|
}
|
|
602
602
|
function d(e) {
|
|
603
603
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -605,45 +605,45 @@ var Tr = /* @__PURE__ */ R({
|
|
|
605
605
|
function f(e) {
|
|
606
606
|
r.value = r.value.filter((t) => t !== e);
|
|
607
607
|
}
|
|
608
|
-
return (n, p) => (V(), P(A, null, [L(K(
|
|
608
|
+
return (n, p) => (V(), P(A, null, [L(K(D), {
|
|
609
609
|
"data-slot": "multi-select",
|
|
610
610
|
open: i.value,
|
|
611
611
|
"onUpdate:open": p[0] ||= (e) => i.value = e
|
|
612
612
|
}, {
|
|
613
|
-
default: q(() => [L(K(
|
|
614
|
-
default: q(() => [L(K(
|
|
613
|
+
default: q(() => [L(K(E), { "as-child": "" }, {
|
|
614
|
+
default: q(() => [L(K(g), {
|
|
615
615
|
variant: "outline",
|
|
616
616
|
role: "combobox",
|
|
617
617
|
"aria-expanded": i.value,
|
|
618
618
|
disabled: t.disabled,
|
|
619
619
|
class: "w-full justify-between text-left font-normal"
|
|
620
620
|
}, {
|
|
621
|
-
default: q(() => [F("span",
|
|
621
|
+
default: q(() => [F("span", Gr, G(o.value), 1), L(K(u), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
622
622
|
_: 1
|
|
623
623
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
624
624
|
_: 1
|
|
625
|
-
}), L(K(
|
|
625
|
+
}), L(K(O), {
|
|
626
626
|
class: "w-full p-0",
|
|
627
627
|
align: "start"
|
|
628
628
|
}, {
|
|
629
|
-
default: q(() => [L(K(
|
|
629
|
+
default: q(() => [L(K(S), null, {
|
|
630
630
|
default: q(() => [
|
|
631
|
-
L(K(
|
|
632
|
-
L(K(
|
|
631
|
+
L(K(b), { placeholder: "Search..." }),
|
|
632
|
+
L(K(T), null, {
|
|
633
633
|
default: q(() => [...p[1] ||= [I("No options found.", -1)]]),
|
|
634
634
|
_: 1
|
|
635
635
|
}),
|
|
636
|
-
L(K(
|
|
637
|
-
default: q(() => [L(K(
|
|
638
|
-
default: q(() => [(V(!0), P(A, null, H(t.options, (t) => (V(), M(K(
|
|
636
|
+
L(K(w), null, {
|
|
637
|
+
default: q(() => [L(K(C), null, {
|
|
638
|
+
default: q(() => [(V(!0), P(A, null, H(t.options, (t) => (V(), M(K(x), {
|
|
639
639
|
key: t.value,
|
|
640
640
|
value: t.value,
|
|
641
641
|
onSelect: (e) => d(t.value),
|
|
642
642
|
class: "cursor-pointer"
|
|
643
643
|
}, {
|
|
644
644
|
default: q(() => [
|
|
645
|
-
L(K(
|
|
646
|
-
|
|
645
|
+
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"]),
|
|
646
|
+
s(t.icon) ? (V(), P("span", Kr, G(t.icon), 1)) : c(t.icon) ? (V(), M(W(c(t.icon)), {
|
|
647
647
|
key: 1,
|
|
648
648
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
649
649
|
"aria-hidden": "true"
|
|
@@ -662,32 +662,32 @@ var Tr = /* @__PURE__ */ R({
|
|
|
662
662
|
_: 1
|
|
663
663
|
})]),
|
|
664
664
|
_: 1
|
|
665
|
-
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div",
|
|
665
|
+
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div", qr, [(V(!0), P(A, null, H(a.value, (e) => (V(), M(K(h), {
|
|
666
666
|
key: e.value,
|
|
667
667
|
variant: "secondary",
|
|
668
668
|
class: "text-xs px-2 py-1"
|
|
669
669
|
}, {
|
|
670
670
|
default: q(() => [
|
|
671
|
-
|
|
671
|
+
s(e.icon) ? (V(), P("span", Jr, G(e.icon), 1)) : c(e.icon) ? (V(), M(W(c(e.icon)), {
|
|
672
672
|
key: 1,
|
|
673
673
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
674
674
|
"aria-hidden": "true"
|
|
675
675
|
})) : N("", !0),
|
|
676
676
|
I(" " + G(e.label) + " ", 1),
|
|
677
|
-
L(K(
|
|
677
|
+
L(K(g), {
|
|
678
678
|
variant: "ghost",
|
|
679
679
|
size: "sm",
|
|
680
680
|
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
681
|
-
onClick:
|
|
681
|
+
onClick: Xn((t) => f(e.value), ["stop"])
|
|
682
682
|
}, {
|
|
683
|
-
default: q(() => [L(K(
|
|
683
|
+
default: q(() => [L(K(m), { class: "h-2 w-2" })]),
|
|
684
684
|
_: 1
|
|
685
685
|
}, 8, ["onClick"])
|
|
686
686
|
]),
|
|
687
687
|
_: 2
|
|
688
688
|
}, 1024))), 128))])) : N("", !0)], 64));
|
|
689
689
|
}
|
|
690
|
-
}),
|
|
690
|
+
}), Xr = /* @__PURE__ */ R({
|
|
691
691
|
__name: "RadioGroup",
|
|
692
692
|
props: {
|
|
693
693
|
modelValue: {},
|
|
@@ -714,7 +714,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
714
714
|
let { class: e, ...t } = r;
|
|
715
715
|
return t;
|
|
716
716
|
}), i);
|
|
717
|
-
return (t, n) => (V(), M(K(
|
|
717
|
+
return (t, n) => (V(), M(K(lr), z({
|
|
718
718
|
"data-slot": "radio-group",
|
|
719
719
|
class: K(e)("grid gap-2", r.class)
|
|
720
720
|
}, K(a)), {
|
|
@@ -722,7 +722,7 @@ var Tr = /* @__PURE__ */ R({
|
|
|
722
722
|
_: 3
|
|
723
723
|
}, 16, ["class"]));
|
|
724
724
|
}
|
|
725
|
-
}),
|
|
725
|
+
}), Zr = /* @__PURE__ */ R({
|
|
726
726
|
__name: "RadioGroupItem",
|
|
727
727
|
props: {
|
|
728
728
|
id: {},
|
|
@@ -745,18 +745,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
745
745
|
let { class: e, ...t } = n;
|
|
746
746
|
return t;
|
|
747
747
|
}));
|
|
748
|
-
return (t, i) => (V(), M(K(
|
|
749
|
-
default: q(() => [L(K(
|
|
750
|
-
default: q(() => [L(K(
|
|
748
|
+
return (t, i) => (V(), M(K(cr), 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) }), {
|
|
749
|
+
default: q(() => [L(K(sr), { class: "flex items-center justify-center" }, {
|
|
750
|
+
default: q(() => [L(K(se), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
751
751
|
_: 1
|
|
752
752
|
})]),
|
|
753
753
|
_: 1
|
|
754
754
|
}, 16, ["class"]));
|
|
755
755
|
}
|
|
756
|
-
}),
|
|
756
|
+
}), Qr = {
|
|
757
757
|
key: 1,
|
|
758
758
|
class: "flex flex-col gap-1"
|
|
759
|
-
},
|
|
759
|
+
}, $r = /* @__PURE__ */ R({
|
|
760
760
|
__name: "Section",
|
|
761
761
|
props: {
|
|
762
762
|
title: {},
|
|
@@ -801,18 +801,18 @@ var Tr = /* @__PURE__ */ R({
|
|
|
801
801
|
"data-slot": "section",
|
|
802
802
|
class: B(K(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
803
803
|
}, [
|
|
804
|
-
n.backdrop === "paper" ? (V(), M(K(
|
|
804
|
+
n.backdrop === "paper" ? (V(), M(K(Gt), {
|
|
805
805
|
key: 0,
|
|
806
806
|
class: "!absolute inset-0"
|
|
807
807
|
})) : N("", !0),
|
|
808
|
-
t.title || a.$slots.header ? (V(), P("header",
|
|
808
|
+
t.title || a.$slots.header ? (V(), P("header", Qr, [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
809
|
key: 0,
|
|
810
810
|
class: B(K(e)("section-description", n.descriptionClass))
|
|
811
811
|
}, [U(a.$slots, "description", {}, () => [I(G(t.description), 1)])], 2)) : N("", !0)])) : N("", !0),
|
|
812
812
|
U(a.$slots, "default")
|
|
813
813
|
], 2));
|
|
814
814
|
}
|
|
815
|
-
}),
|
|
815
|
+
}), ei = /* @__PURE__ */ R({
|
|
816
816
|
__name: "TabsContent",
|
|
817
817
|
props: {
|
|
818
818
|
value: {},
|
|
@@ -832,12 +832,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
832
832
|
let { class: e, ...t } = n;
|
|
833
833
|
return t;
|
|
834
834
|
});
|
|
835
|
-
return (t, i) => (V(), M(K(
|
|
835
|
+
return (t, i) => (V(), M(K(ur), z({ class: K(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
836
836
|
default: q(() => [U(t.$slots, "default")]),
|
|
837
837
|
_: 3
|
|
838
838
|
}, 16, ["class"]));
|
|
839
839
|
}
|
|
840
|
-
}),
|
|
840
|
+
}), ti = /* @__PURE__ */ R({
|
|
841
841
|
__name: "TagsInput",
|
|
842
842
|
props: {
|
|
843
843
|
modelValue: {},
|
|
@@ -876,12 +876,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
876
876
|
let { class: e, ...t } = r;
|
|
877
877
|
return t;
|
|
878
878
|
}), i);
|
|
879
|
-
return (t, n) => (V(), M(K(
|
|
879
|
+
return (t, n) => (V(), M(K(hr), z({ "data-slot": "tags-input" }, K(a), { class: K(e)("flex flex-wrap gap-2 items-center rounded-input border border-input bg-[var(--glass-bg-quiet)] [backdrop-filter:var(--glass-blur-quiet)] px-3 py-2 text-sm", r.class) }), {
|
|
880
880
|
default: q(() => [U(t.$slots, "default")]),
|
|
881
881
|
_: 3
|
|
882
882
|
}, 16, ["class"]));
|
|
883
883
|
}
|
|
884
|
-
}),
|
|
884
|
+
}), ni = /* @__PURE__ */ R({
|
|
885
885
|
__name: "TagsInputInput",
|
|
886
886
|
props: {
|
|
887
887
|
placeholder: {},
|
|
@@ -902,9 +902,9 @@ var Tr = /* @__PURE__ */ R({
|
|
|
902
902
|
let { class: e, ...t } = n;
|
|
903
903
|
return t;
|
|
904
904
|
}));
|
|
905
|
-
return (t, i) => (V(), M(K(
|
|
905
|
+
return (t, i) => (V(), M(K(dr), 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
906
|
}
|
|
907
|
-
}),
|
|
907
|
+
}), ri = /* @__PURE__ */ R({
|
|
908
908
|
__name: "TagsInputItem",
|
|
909
909
|
props: {
|
|
910
910
|
value: {},
|
|
@@ -924,12 +924,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
924
924
|
let { class: e, ...t } = n;
|
|
925
925
|
return t;
|
|
926
926
|
}));
|
|
927
|
-
return (t, i) => (V(), M(K(
|
|
927
|
+
return (t, i) => (V(), M(K(fr), 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
928
|
default: q(() => [U(t.$slots, "default")]),
|
|
929
929
|
_: 3
|
|
930
930
|
}, 16, ["class"]));
|
|
931
931
|
}
|
|
932
|
-
}),
|
|
932
|
+
}), ii = /* @__PURE__ */ R({
|
|
933
933
|
__name: "TagsInputItemDelete",
|
|
934
934
|
props: {
|
|
935
935
|
asChild: { type: Boolean },
|
|
@@ -947,12 +947,12 @@ var Tr = /* @__PURE__ */ R({
|
|
|
947
947
|
let { class: e, ...t } = n;
|
|
948
948
|
return t;
|
|
949
949
|
}));
|
|
950
|
-
return (t, i) => (V(), M(K(
|
|
951
|
-
default: q(() => [U(t.$slots, "default", {}, () => [L(K(
|
|
950
|
+
return (t, i) => (V(), M(K(pr), z(K(r), { class: K(e)("flex rounded bg-transparent mr-1", n.class) }), {
|
|
951
|
+
default: q(() => [U(t.$slots, "default", {}, () => [L(K(m), { class: "w-4 h-4" })])]),
|
|
952
952
|
_: 3
|
|
953
953
|
}, 16, ["class"]));
|
|
954
954
|
}
|
|
955
|
-
}),
|
|
955
|
+
}), ai = /* @__PURE__ */ R({
|
|
956
956
|
__name: "TagsInputItemText",
|
|
957
957
|
props: {
|
|
958
958
|
asChild: { type: Boolean },
|
|
@@ -970,23 +970,8 @@ var Tr = /* @__PURE__ */ R({
|
|
|
970
970
|
let { class: e, ...t } = n;
|
|
971
971
|
return t;
|
|
972
972
|
}));
|
|
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"]));
|
|
973
|
+
return (t, i) => (V(), M(K(mr), z(K(r), { class: K(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
989
974
|
}
|
|
990
975
|
});
|
|
991
976
|
//#endregion
|
|
992
|
-
export {
|
|
977
|
+
export { Er as Accordion, Dr as AccordionContent, Or as AccordionItem, kr as AccordionTrigger, Ar as Alert, jr as AlertDescription, Mr as AlertTitle, Nr as Avatar, Fr as AvatarFallback, Pr 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, Ir 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, Bn 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, Rr as Drawer, _r as DrawerClose, zr as DrawerContent, Ur as DrawerDescription, Vr as DrawerFooter, Br as DrawerHeader, $ as DrawerOverlay, xr as DrawerPortal, Hr as DrawerTitle, Tr 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, It as HoverCard, Lt as HoverCardContent, Ft as HoverCardTrigger, Rn as HoverPopover, In as InstrumentChassis, Ln as InstrumentRail, Rt as Label, Wr as MetricPill, Yr 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, Xr as RadioGroup, Zr as RadioGroupItem, zn as ScrollingText, $r 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, Lr as TableCaption, dt as TableCell, ft as TableEmpty, _t as TableHead, ht as TableHeader, ut as TableRow, k as Tabs, ei as TabsContent, gn as TabsIndicator, vn as TabsList, _n as TabsTrigger, ti as TagsInput, ni as TagsInputInput, ri as TagsInputItem, ii as TagsInputItemDelete, ai as TagsInputItemText, bn as Toast, Tn as ToastAction, Cn as ToastClose, yn 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, 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, Vn as useInterval, ye as useOptionalConfiguratorDensity, Ut as useProgressGeometry, Qe as useResizeObserver, Hn as useSortable, Ee as useSpecularTracking, Un as useTextHighlight, $e as useTimer, wn as useToast, it as useTokenColor, et as useTouchGate, lt as useUserInvalidAria, ot as useViewportReady, o as vReveal };
|