@mkbabb/glass-ui 3.8.0 → 3.10.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-q2qHCJFG.js → CardAction-DuArVky-.js} +4 -4
- package/dist/{CommandShortcut-SzWRhROC.js → CommandShortcut-CefCj5mt.js} +7 -7
- package/dist/{ContextMenuSubContent-Do977Cbf.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
- package/dist/{DataTable-CvlWXz65.js → DataTable-CUHMukiQ.js} +1 -1
- package/dist/{DialogContent-DjZWT3lK.js → DialogContent-BRkT1cjP.js} +1 -1
- package/dist/{MetricBadge-lTc002u2.js → MetricBadge-BZVWIxNy.js} +6 -4
- package/dist/{Notification-BxK8LZMw.js → Notification-DLMhblXR.js} +2 -2
- package/dist/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
- package/dist/{SelectScrollDownButton-C7TRe-ep.js → SelectScrollDownButton-T32cVFeM.js} +3 -3
- package/dist/{SelectSeparator-L8pPEn4L.js → SelectSeparator-C4Ql0gzV.js} +1 -1
- package/dist/{Switch-LDKLmmgx.js → Switch-Ch-k3Rv-.js} +1 -1
- package/dist/{TabsList-qyHZ2lKY.js → TabsList-B8CVOQPC.js} +2 -2
- package/dist/{Toaster-CabYEEF_.js → Toaster-1rYWrmAm.js} +1 -1
- package/dist/{ToggleGroupItem-CkXUcBlt.js → ToggleGroupItem-Cev4pOVK.js} +4 -4
- package/dist/animated-digit.js +1 -1
- package/dist/api/index.d.ts +2 -1
- package/dist/api.js +1 -1
- package/dist/aurora.js +236 -545
- package/dist/{badge-DHQrc_GQ.js → badge-CaoFJzRb.js} +5 -5
- package/dist/badge.js +1 -1
- package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +1 -1
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/{compile-BBTRjvQS.js → compile-BOXjLUxu.js} +24 -24
- package/dist/components/custom/aurora/composables/atoms.d.ts +21 -4
- package/dist/components/custom/aurora/composables/runtime.d.ts +0 -9
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -11
- package/dist/components/custom/aurora/constants/renderMode.d.ts +0 -32
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
- package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +1 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +73 -1
- package/dist/components/custom/constellation/constellationField.d.ts +255 -3
- 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/DockTabButton.vue.d.ts +4 -3
- package/dist/components/custom/dock/GlassDock.vue.d.ts +45 -63
- package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
- package/dist/components/custom/dock/index.d.ts +2 -1
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +29 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +6 -0
- package/dist/components/custom/fourier-field/index.d.ts +25 -1
- package/dist/components/custom/fourier-field/math.d.ts +3 -8
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +8 -10
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +19 -5
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +6 -14
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/types.d.ts +59 -25
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +219 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +32 -0
- package/dist/components/custom/handmark/index.d.ts +21 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +53 -0
- package/dist/components/custom/handmark/useHandMark.d.ts +66 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.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 +5 -3
- 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/slider/index.d.ts +22 -11
- package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
- package/dist/composables/color/index.d.ts +12 -7
- package/dist/composables/context/createContext.d.ts +1 -1
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +1 -6
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/useRouteTransition.d.ts +42 -0
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +1 -1
- package/dist/constellation.js +212 -72
- package/dist/context-menu.js +1 -1
- package/dist/controls.js +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck-progress.js +1 -1
- package/dist/dialog.js +1 -1
- package/dist/dock.js +257 -243
- package/dist/{dropdown-menu-B_4bWyyG.js → dropdown-menu-D77jX6Df.js} +3 -3
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +61 -38
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +89 -97
- package/dist/fourier-math.d.ts +1 -0
- package/dist/fourier-math.js +2 -0
- package/dist/glass-panel.js +1 -1
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +107 -109
- package/dist/goo-blob.js +316 -297
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +609 -0
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/math-DTpRVC0e.js +27 -0
- package/dist/{menuItemVariants-DKM85SNE.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 +70 -69
- package/dist/motion.js +2 -2
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +4 -4
- package/dist/select.js +2 -2
- package/dist/{slider-D9puf-Ko.js → slider-CyzcxBoh.js} +6 -6
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +1 -1
- package/dist/status-dot.js +17 -16
- package/dist/styles/animations.css +80 -20
- package/dist/styles/cards.css +2 -2
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/density.css +230 -0
- package/dist/styles/dock/layer-group.css +275 -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 +205 -55
- package/dist/styles/dock.css +42 -1349
- package/dist/styles/drawer.css +12 -4
- package/dist/styles/glass.css +535 -78
- package/dist/styles/index.css +12 -11
- package/dist/styles/paper.css +68 -2
- package/dist/styles/theme.css +58 -0
- package/dist/styles/tokens.css +601 -69
- package/dist/styles/transitions.css +20 -2
- package/dist/styles/utilities.css +218 -78
- package/dist/styles/view-transition.css +51 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +182 -151
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-Bcpy5Etf.js} +1 -1
- package/dist/{useConfiguratorState-CMff4GzH.js → useConfiguratorState-DxAqksK6.js} +21 -10
- package/dist/{useGlassRenderer-5I0YkI4t.js → useGlassRenderer-D7YGOYiM.js} +1 -1
- package/dist/useViewTransition-DaN5Zrox.js +21 -0
- package/dist/vReveal-zUIQk-rJ.js +53 -0
- package/dist/watercolor-dot.js +1 -1
- package/package.json +80 -39
- package/src/styles/animations.css +80 -20
- package/src/styles/cards.css +2 -2
- package/src/styles/dock/density.css +230 -0
- package/src/styles/dock/layer-group.css +275 -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 +205 -55
- package/src/styles/dock.css +42 -1349
- package/src/styles/drawer.css +12 -4
- package/src/styles/glass.css +535 -78
- package/src/styles/index.css +12 -11
- package/src/styles/paper.css +68 -2
- package/src/styles/theme.css +58 -0
- package/src/styles/tokens.css +601 -69
- package/src/styles/transitions.css +20 -2
- package/src/styles/utilities.css +218 -78
- package/src/styles/view-transition.css +51 -0
- package/dist/DiscoGlyph-CG0F410s.js +0 -132
- package/dist/GlyphFace-DRjDkB0s.js +0 -51
- package/dist/UnderlineTabs-Uxn-R3MT.js +0 -39
- package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +0 -16
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -7
- 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/composables/glass/createGPUCanvas.d.ts +0 -40
- package/dist/disco-glyph.d.ts +0 -1
- package/dist/disco-glyph.js +0 -2
- package/dist/glass-carousel.d.ts +0 -1
- package/dist/glass-carousel.js +0 -219
- package/dist/glyph-face.d.ts +0 -1
- package/dist/glyph-face.js +0 -3
- package/dist/keys-BsYjEFOW.js +0 -9
- package/dist/responsive-tabs.d.ts +0 -1
- package/dist/responsive-tabs.js +0 -95
- package/dist/styles/disco-glyph.css +0 -26
- package/dist/styles/glyph-face.css +0 -92
- package/dist/vReveal-CqaCz_mC.js +0 -44
- package/src/styles/disco-glyph.css +0 -26
- package/src/styles/glyph-face.css +0 -92
- /package/dist/{DeckProgress-AVgbIULY.js → DeckProgress-Dmk4_AKN.js} +0 -0
- /package/dist/{HoverPopover-D56O6Ylp.js → HoverPopover-2LOIW34a.js} +0 -0
- /package/dist/{IconTooltip-D2T5nYOM.js → IconTooltip-Cus0fvK0.js} +0 -0
- /package/dist/{Input-DVG_J0ne.js → Input-xuDwALQR.js} +0 -0
- /package/dist/{ScrollingText-CVyqxvfv.js → ScrollingText-BPP84wKo.js} +0 -0
- /package/dist/{color-DMLTunJK.js → color-C5ls_QF7.js} +0 -0
- /package/dist/{constants-BPOqYJAm.js → constants-yKeKnE84.js} +0 -0
- /package/dist/{presets-D1XPuTj-.js → presets-Dkdv55Gt.js} +0 -0
- /package/dist/{prng-COGhh02-.js → prng-D27-B3tK.js} +0 -0
- /package/dist/{useGlobalDark-D3EBWzXK.js → useGlobalDark-d6waty-X.js} +0 -0
- /package/dist/{useIntersectionPause-Bj4sPkMh.js → useIntersectionPause-Cck5Uxk8.js} +0 -0
- /package/dist/{useInterval-CcLfq2WU.js → useInterval-Dsmqwi03.js} +0 -0
- /package/dist/{useKeyboardShortcuts-BXWXOZ-9.js → useKeyboardShortcuts-CyIYrndH.js} +0 -0
- /package/dist/{useScrollProgress-C9ysDic5.js → useScrollProgress-CffFGLa5.js} +0 -0
- /package/dist/{useSortable-MGAbCGVJ.js → useSortable-C8ReQ50P.js} +0 -0
- /package/dist/{useTextHighlight-9nMW23Qb.js → useTextHighlight-CWEi25hf.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./vReveal-
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./vReveal-zUIQk-rJ.js";
|
|
3
3
|
import { n as s, t as c } from "./supportsCssTimeline-C5oe0lnD.js";
|
|
4
4
|
import { t as l } from "./check-BBKKKSTf.js";
|
|
5
5
|
import { t as u } from "./chevron-down-BSkTP2aL.js";
|
|
6
|
-
import { t as d } from "./Notification-
|
|
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-
|
|
8
|
-
import { a as ce, i as le, n as ue, o as de, r as fe, t as pe } from "./NumberFieldContent-
|
|
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-
|
|
6
|
+
import { t as d } from "./Notification-DLMhblXR.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
10
|
import { t as m } from "./x-Dfsegz9Y.js";
|
|
11
|
-
import { n as h, t as xe } from "./badge-
|
|
12
|
-
import { n as g, t as Se } from "./button-
|
|
13
|
-
import { n as Ce, r as we, t as Te } from "./useGlassRenderer-
|
|
11
|
+
import { n as h, t as xe } from "./badge-CaoFJzRb.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-D7YGOYiM.js";
|
|
14
14
|
import { t as Ee } from "./useSpecularTracking-BVRZsRHA.js";
|
|
15
15
|
import { n as De, t as Oe } from "./useCanvas2D-ClrQuZtp.js";
|
|
16
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-
|
|
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
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-
|
|
20
|
-
import { n as Be, t as Ve } from "./DialogContent-
|
|
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
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
22
|
import { n as Ye, r as Xe, t as Ze } from "./ContextMenuContent-DDa0v27s.js";
|
|
23
23
|
import { t as Qe } from "./useResizeObserver-CWCbk5Px.js";
|
|
@@ -26,43 +26,41 @@ import { t as et } from "./useTouchGate-WFyJYsth.js";
|
|
|
26
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
27
|
import { n as st, t as ct } from "./useResolveTokenColor-r9pnNjqK.js";
|
|
28
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-
|
|
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-
|
|
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
31
|
import { n as Ft, r as It, t as Lt } from "./HoverCardContent-B6CcQ8He.js";
|
|
32
32
|
import { t as Rt } from "./Label-zRfbQdCn.js";
|
|
33
|
-
import { t as zt } from "./MetricBadge-
|
|
33
|
+
import { t as zt } from "./MetricBadge-BZVWIxNy.js";
|
|
34
34
|
import { n as E, r as D, t as O } from "./PopoverContent-BId6ggf_.js";
|
|
35
35
|
import { a as Bt, i as Vt, n as Ht, r as Ut, t as Wt } from "./Progress-iEuD9pxG.js";
|
|
36
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-
|
|
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
38
|
import { t as $t } from "./SelectGroup-BFiod7X2.js";
|
|
39
|
-
import { n as en, t as tn } from "./SelectSeparator-
|
|
39
|
+
import { n as en, t as tn } from "./SelectSeparator-C4Ql0gzV.js";
|
|
40
40
|
import { t as nn } from "./Separator-D7sD7RKj.js";
|
|
41
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-
|
|
43
|
-
import { t as hn } from "./Switch-
|
|
44
|
-
import { i as
|
|
45
|
-
import { a as
|
|
46
|
-
import { i as Dn, n as On, r as kn, t as An } from "./ToggleGroupItem-
|
|
42
|
+
import { n as pn, t as mn } from "./slider-CyzcxBoh.js";
|
|
43
|
+
import { t as hn } from "./Switch-Ch-k3Rv-.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
47
|
import { i as jn, n as Mn, r as Nn, t as Pn } from "./TooltipProvider-CmZzCuaG.js";
|
|
48
48
|
import { n as Fn, t as In } from "./InstrumentChassis-C2f6cBaQ.js";
|
|
49
49
|
import { t as Ln } from "./InstrumentRail-CUJ05YVG.js";
|
|
50
|
-
import {
|
|
51
|
-
import { t as
|
|
52
|
-
import { t as
|
|
53
|
-
import { t as
|
|
54
|
-
import { t as
|
|
55
|
-
import { t as
|
|
56
|
-
import { t as
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
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";
|
|
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 { n as Un, t as Wn } from "./useViewTransition-DaN5Zrox.js";
|
|
56
|
+
import { t as Gn } from "./useTextHighlight-CWEi25hf.js";
|
|
57
|
+
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 Kn, mergeModels as qn, mergeProps as z, normalizeClass as B, normalizeProps as Jn, openBlock as V, ref as Yn, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as Xn, unref as K, useModel as Zn, withCtx as q, withModifiers as Qn } from "vue";
|
|
58
|
+
import { AccordionContent as $n, AccordionHeader as er, AccordionItem as tr, AccordionRoot as nr, AccordionTrigger as rr, AvatarFallback as ir, AvatarImage as ar, AvatarRoot as or, CheckboxIndicator as sr, CheckboxRoot as cr, RadioGroupIndicator as lr, RadioGroupItem as ur, RadioGroupRoot as dr, TabsContent as fr, TagsInputInput as pr, TagsInputItem as mr, TagsInputItemDelete as hr, TagsInputItemText as gr, TagsInputRoot as _r, useEmitAsProps as vr, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
61
59
|
import { cva as X } from "class-variance-authority";
|
|
62
|
-
import { DrawerClose as
|
|
60
|
+
import { DrawerClose as yr, DrawerContent as br, DrawerDescription as xr, DrawerOverlay as Sr, DrawerPortal as Cr, DrawerPortal as wr, DrawerRoot as Tr, DrawerTitle as Er, DrawerTrigger as Dr } from "vaul-vue";
|
|
63
61
|
//#endregion
|
|
64
62
|
//#region src/components/ui/accordion/Accordion.vue
|
|
65
|
-
var
|
|
63
|
+
var Or = /* @__PURE__ */ R({
|
|
66
64
|
__name: "Accordion",
|
|
67
65
|
props: {
|
|
68
66
|
collapsible: { type: Boolean },
|
|
@@ -79,12 +77,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
79
77
|
emits: ["update:modelValue"],
|
|
80
78
|
setup(e, { emit: t }) {
|
|
81
79
|
let n = Y(e, t);
|
|
82
|
-
return (e, t) => (V(), M(K(
|
|
80
|
+
return (e, t) => (V(), M(K(nr), z({ "data-slot": "accordion" }, K(n)), {
|
|
83
81
|
default: q(() => [U(e.$slots, "default")]),
|
|
84
82
|
_: 3
|
|
85
83
|
}, 16));
|
|
86
84
|
}
|
|
87
|
-
}),
|
|
85
|
+
}), kr = /* @__PURE__ */ R({
|
|
88
86
|
__name: "AccordionContent",
|
|
89
87
|
props: {
|
|
90
88
|
forceMount: { type: Boolean },
|
|
@@ -103,12 +101,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
103
101
|
let { class: e, ...t } = n;
|
|
104
102
|
return t;
|
|
105
103
|
});
|
|
106
|
-
return (t, i) => (V(), M(K(
|
|
104
|
+
return (t, i) => (V(), M(K($n), z(r.value, { class: "overflow-hidden text-sm transition-collapse data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
107
105
|
default: q(() => [F("div", { class: B(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
108
106
|
_: 3
|
|
109
107
|
}, 16));
|
|
110
108
|
}
|
|
111
|
-
}),
|
|
109
|
+
}), Ar = /* @__PURE__ */ R({
|
|
112
110
|
__name: "AccordionItem",
|
|
113
111
|
props: {
|
|
114
112
|
disabled: { type: Boolean },
|
|
@@ -129,12 +127,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
129
127
|
let { class: e, ...t } = n;
|
|
130
128
|
return t;
|
|
131
129
|
}));
|
|
132
|
-
return (t, i) => (V(), M(K(
|
|
130
|
+
return (t, i) => (V(), M(K(tr), z(K(r), { class: K(e)("border-b", n.class) }), {
|
|
133
131
|
default: q(() => [U(t.$slots, "default")]),
|
|
134
132
|
_: 3
|
|
135
133
|
}, 16, ["class"]));
|
|
136
134
|
}
|
|
137
|
-
}),
|
|
135
|
+
}), jr = /* @__PURE__ */ R({
|
|
138
136
|
__name: "AccordionTrigger",
|
|
139
137
|
props: {
|
|
140
138
|
asChild: { type: Boolean },
|
|
@@ -152,15 +150,15 @@ var jr = /* @__PURE__ */ R({
|
|
|
152
150
|
let { class: e, ...t } = n;
|
|
153
151
|
return t;
|
|
154
152
|
});
|
|
155
|
-
return (t, i) => (V(), M(K(
|
|
156
|
-
default: q(() => [L(K(
|
|
153
|
+
return (t, i) => (V(), M(K(er), { class: "flex" }, {
|
|
154
|
+
default: q(() => [L(K(rr), 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
155
|
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [L(K(u), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })])]),
|
|
158
156
|
_: 3
|
|
159
157
|
}, 16, ["class"])]),
|
|
160
158
|
_: 3
|
|
161
159
|
}));
|
|
162
160
|
}
|
|
163
|
-
}),
|
|
161
|
+
}), Mr = /* @__PURE__ */ R({
|
|
164
162
|
__name: "Alert",
|
|
165
163
|
props: {
|
|
166
164
|
class: { type: [
|
|
@@ -180,7 +178,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
180
178
|
role: "alert"
|
|
181
179
|
}, [U(r.$slots, "default")], 2));
|
|
182
180
|
}
|
|
183
|
-
}),
|
|
181
|
+
}), Nr = /* @__PURE__ */ R({
|
|
184
182
|
__name: "AlertDescription",
|
|
185
183
|
props: { class: { type: [
|
|
186
184
|
Boolean,
|
|
@@ -196,7 +194,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
196
194
|
class: B(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
197
195
|
}, [U(t.$slots, "default")], 2));
|
|
198
196
|
}
|
|
199
|
-
}),
|
|
197
|
+
}), Pr = /* @__PURE__ */ R({
|
|
200
198
|
__name: "AlertTitle",
|
|
201
199
|
props: { class: { type: [
|
|
202
200
|
Boolean,
|
|
@@ -212,16 +210,16 @@ var jr = /* @__PURE__ */ R({
|
|
|
212
210
|
class: B(K(e)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", n.class))
|
|
213
211
|
}, [U(t.$slots, "default")], 2));
|
|
214
212
|
}
|
|
215
|
-
}), Z = X("relative w-full rounded-lg border px-4 py-3 text-
|
|
213
|
+
}), 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", {
|
|
216
214
|
variants: { variant: {
|
|
217
|
-
default: "bg-
|
|
218
|
-
destructive: "text-destructive bg-
|
|
219
|
-
success: "bg-
|
|
220
|
-
warning: "bg-
|
|
221
|
-
info: "bg-
|
|
215
|
+
default: "bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground",
|
|
216
|
+
destructive: "text-destructive bg-[var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
|
|
217
|
+
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",
|
|
218
|
+
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",
|
|
219
|
+
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"
|
|
222
220
|
} },
|
|
223
221
|
defaultVariants: { variant: "default" }
|
|
224
|
-
}),
|
|
222
|
+
}), Fr = /* @__PURE__ */ R({
|
|
225
223
|
__name: "Avatar",
|
|
226
224
|
props: {
|
|
227
225
|
class: { type: [
|
|
@@ -236,7 +234,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
236
234
|
},
|
|
237
235
|
setup(t) {
|
|
238
236
|
let n = t;
|
|
239
|
-
return (r, i) => (V(), M(K(
|
|
237
|
+
return (r, i) => (V(), M(K(or), {
|
|
240
238
|
"data-slot": "avatar",
|
|
241
239
|
class: B(K(e)(K(Q)({
|
|
242
240
|
size: t.size,
|
|
@@ -247,7 +245,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
247
245
|
_: 3
|
|
248
246
|
}, 8, ["class"]));
|
|
249
247
|
}
|
|
250
|
-
}),
|
|
248
|
+
}), Ir = /* @__PURE__ */ R({
|
|
251
249
|
__name: "AvatarImage",
|
|
252
250
|
props: {
|
|
253
251
|
src: {},
|
|
@@ -259,9 +257,9 @@ var jr = /* @__PURE__ */ R({
|
|
|
259
257
|
},
|
|
260
258
|
setup(e) {
|
|
261
259
|
let t = e;
|
|
262
|
-
return (e, n) => (V(), M(K(
|
|
260
|
+
return (e, n) => (V(), M(K(ar), z(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
263
261
|
}
|
|
264
|
-
}),
|
|
262
|
+
}), Lr = /* @__PURE__ */ R({
|
|
265
263
|
__name: "AvatarFallback",
|
|
266
264
|
props: {
|
|
267
265
|
delayMs: {},
|
|
@@ -270,14 +268,14 @@ var jr = /* @__PURE__ */ R({
|
|
|
270
268
|
},
|
|
271
269
|
setup(e) {
|
|
272
270
|
let t = e;
|
|
273
|
-
return (e, n) => (V(), M(K(
|
|
271
|
+
return (e, n) => (V(), M(K(ir), Jn(Kn(t)), {
|
|
274
272
|
default: q(() => [U(e.$slots, "default")]),
|
|
275
273
|
_: 3
|
|
276
274
|
}, 16));
|
|
277
275
|
}
|
|
278
276
|
}), Q = X("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
279
277
|
size: {
|
|
280
|
-
sm: "h-
|
|
278
|
+
sm: "h-[var(--control-h-md)] w-[var(--control-h-md)] text-xs",
|
|
281
279
|
base: "h-16 w-16 text-2xl",
|
|
282
280
|
lg: "h-32 w-32 text-5xl"
|
|
283
281
|
},
|
|
@@ -285,7 +283,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
285
283
|
circle: "rounded-pill",
|
|
286
284
|
square: "rounded-input"
|
|
287
285
|
}
|
|
288
|
-
} }),
|
|
286
|
+
} }), Rr = /* @__PURE__ */ R({
|
|
289
287
|
__name: "Checkbox",
|
|
290
288
|
props: {
|
|
291
289
|
defaultValue: {},
|
|
@@ -313,15 +311,15 @@ var jr = /* @__PURE__ */ R({
|
|
|
313
311
|
let { class: e, ...t } = r;
|
|
314
312
|
return t;
|
|
315
313
|
}), i);
|
|
316
|
-
return (t, n) => (V(), M(K(
|
|
317
|
-
default: q(() => [L(K(
|
|
314
|
+
return (t, n) => (V(), M(K(cr), 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) }), {
|
|
315
|
+
default: q(() => [L(K(sr), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
318
316
|
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" })])]),
|
|
319
317
|
_: 3
|
|
320
318
|
})]),
|
|
321
319
|
_: 3
|
|
322
320
|
}, 16, ["class"]));
|
|
323
321
|
}
|
|
324
|
-
}),
|
|
322
|
+
}), zr = /* @__PURE__ */ R({
|
|
325
323
|
__name: "TableCaption",
|
|
326
324
|
props: { class: { type: [
|
|
327
325
|
Boolean,
|
|
@@ -334,7 +332,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
334
332
|
let n = t;
|
|
335
333
|
return (t, r) => (V(), P("caption", { class: B(K(e)("mt-4 text-sm text-muted-foreground", n.class)) }, [U(t.$slots, "default")], 2));
|
|
336
334
|
}
|
|
337
|
-
}),
|
|
335
|
+
}), Br = /* @__PURE__ */ R({
|
|
338
336
|
__name: "Drawer",
|
|
339
337
|
props: {
|
|
340
338
|
activeSnapPoint: {},
|
|
@@ -371,7 +369,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
371
369
|
"animationEnd"
|
|
372
370
|
],
|
|
373
371
|
setup(e, { emit: t }) {
|
|
374
|
-
let n = e, r =
|
|
372
|
+
let n = e, r = vr(t), i = [
|
|
375
373
|
.12,
|
|
376
374
|
.5,
|
|
377
375
|
1
|
|
@@ -385,7 +383,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
385
383
|
...r
|
|
386
384
|
};
|
|
387
385
|
});
|
|
388
|
-
return (e, t) => (V(), M(K(
|
|
386
|
+
return (e, t) => (V(), M(K(Tr), z({ "data-slot": "drawer" }, a.value), {
|
|
389
387
|
default: q(() => [U(e.$slots, "default")]),
|
|
390
388
|
_: 3
|
|
391
389
|
}, 16));
|
|
@@ -409,9 +407,9 @@ var jr = /* @__PURE__ */ R({
|
|
|
409
407
|
let { class: e, ...t } = n;
|
|
410
408
|
return t;
|
|
411
409
|
});
|
|
412
|
-
return (t, i) => (V(), M(K(
|
|
410
|
+
return (t, i) => (V(), M(K(Sr), 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"]));
|
|
413
411
|
}
|
|
414
|
-
}),
|
|
412
|
+
}), Vr = /* @__PURE__ */ R({
|
|
415
413
|
__name: "DrawerContent",
|
|
416
414
|
props: {
|
|
417
415
|
forceMount: { type: Boolean },
|
|
@@ -440,8 +438,8 @@ var jr = /* @__PURE__ */ R({
|
|
|
440
438
|
],
|
|
441
439
|
setup(t, { emit: n }) {
|
|
442
440
|
let r = t, i = Y(r, n);
|
|
443
|
-
return (t, n) => (V(), M(K(
|
|
444
|
-
default: q(() => [r.showOverlay ? (V(), M($, { key: 0 })) : N("", !0), L(K(
|
|
441
|
+
return (t, n) => (V(), M(K(wr), null, {
|
|
442
|
+
default: q(() => [r.showOverlay ? (V(), M($, { key: 0 })) : N("", !0), L(K(br), z(K(i), { class: K(e)("glass-drawer", r.class) }), {
|
|
445
443
|
default: q(() => [n[0] ||= F("div", {
|
|
446
444
|
class: "glass-drawer-handle",
|
|
447
445
|
"aria-hidden": "true"
|
|
@@ -451,7 +449,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
451
449
|
_: 3
|
|
452
450
|
}));
|
|
453
451
|
}
|
|
454
|
-
}),
|
|
452
|
+
}), Hr = /* @__PURE__ */ R({
|
|
455
453
|
__name: "DrawerHeader",
|
|
456
454
|
props: { class: { type: [
|
|
457
455
|
Boolean,
|
|
@@ -464,7 +462,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
464
462
|
let n = t;
|
|
465
463
|
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));
|
|
466
464
|
}
|
|
467
|
-
}),
|
|
465
|
+
}), Ur = /* @__PURE__ */ R({
|
|
468
466
|
__name: "DrawerFooter",
|
|
469
467
|
props: { class: { type: [
|
|
470
468
|
Boolean,
|
|
@@ -477,7 +475,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
477
475
|
let n = t;
|
|
478
476
|
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));
|
|
479
477
|
}
|
|
480
|
-
}),
|
|
478
|
+
}), Wr = /* @__PURE__ */ R({
|
|
481
479
|
__name: "DrawerTitle",
|
|
482
480
|
props: {
|
|
483
481
|
asChild: { type: Boolean },
|
|
@@ -495,12 +493,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
495
493
|
let { class: e, ...t } = n;
|
|
496
494
|
return t;
|
|
497
495
|
});
|
|
498
|
-
return (t, i) => (V(), M(K(
|
|
496
|
+
return (t, i) => (V(), M(K(Er), z(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
499
497
|
default: q(() => [U(t.$slots, "default")]),
|
|
500
498
|
_: 3
|
|
501
499
|
}, 16, ["class"]));
|
|
502
500
|
}
|
|
503
|
-
}),
|
|
501
|
+
}), Gr = /* @__PURE__ */ R({
|
|
504
502
|
__name: "DrawerDescription",
|
|
505
503
|
props: {
|
|
506
504
|
asChild: { type: Boolean },
|
|
@@ -518,12 +516,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
518
516
|
let { class: e, ...t } = n;
|
|
519
517
|
return t;
|
|
520
518
|
});
|
|
521
|
-
return (t, i) => (V(), M(K(
|
|
519
|
+
return (t, i) => (V(), M(K(xr), z(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
522
520
|
default: q(() => [U(t.$slots, "default")]),
|
|
523
521
|
_: 3
|
|
524
522
|
}, 16, ["class"]));
|
|
525
523
|
}
|
|
526
|
-
}),
|
|
524
|
+
}), Kr = /* @__PURE__ */ R({
|
|
527
525
|
__name: "MetricPill",
|
|
528
526
|
props: {
|
|
529
527
|
amount: {},
|
|
@@ -570,18 +568,18 @@ var jr = /* @__PURE__ */ R({
|
|
|
570
568
|
"data-density"
|
|
571
569
|
]));
|
|
572
570
|
}
|
|
573
|
-
}),
|
|
571
|
+
}), qr = { class: "truncate" }, Jr = {
|
|
574
572
|
key: 0,
|
|
575
573
|
class: "mr-2"
|
|
576
|
-
},
|
|
574
|
+
}, Yr = {
|
|
577
575
|
key: 0,
|
|
578
576
|
class: "flex flex-wrap gap-1 mt-2"
|
|
579
|
-
},
|
|
577
|
+
}, Xr = {
|
|
580
578
|
key: 0,
|
|
581
579
|
class: "mr-1"
|
|
582
|
-
},
|
|
580
|
+
}, Zr = /* @__PURE__ */ R({
|
|
583
581
|
__name: "MultiSelect",
|
|
584
|
-
props: /* @__PURE__ */
|
|
582
|
+
props: /* @__PURE__ */ qn({
|
|
585
583
|
options: {},
|
|
586
584
|
placeholder: { default: "Select items..." },
|
|
587
585
|
disabled: {
|
|
@@ -595,12 +593,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
595
593
|
}),
|
|
596
594
|
emits: ["update:modelValue"],
|
|
597
595
|
setup(t) {
|
|
598
|
-
let n = t, r =
|
|
596
|
+
let n = t, r = Zn(t, "modelValue"), i = Yn(!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
597
|
function s(e) {
|
|
600
598
|
return typeof e == "string" && e.length > 0;
|
|
601
599
|
}
|
|
602
600
|
function c(e) {
|
|
603
|
-
return !e || s(e) ? null :
|
|
601
|
+
return !e || s(e) ? null : Xn(e);
|
|
604
602
|
}
|
|
605
603
|
function d(e) {
|
|
606
604
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -621,7 +619,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
621
619
|
disabled: t.disabled,
|
|
622
620
|
class: "w-full justify-between text-left font-normal"
|
|
623
621
|
}, {
|
|
624
|
-
default: q(() => [F("span",
|
|
622
|
+
default: q(() => [F("span", qr, G(o.value), 1), L(K(u), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
625
623
|
_: 1
|
|
626
624
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
627
625
|
_: 1
|
|
@@ -646,7 +644,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
646
644
|
}, {
|
|
647
645
|
default: q(() => [
|
|
648
646
|
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",
|
|
647
|
+
s(t.icon) ? (V(), P("span", Jr, G(t.icon), 1)) : c(t.icon) ? (V(), M(W(c(t.icon)), {
|
|
650
648
|
key: 1,
|
|
651
649
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
652
650
|
"aria-hidden": "true"
|
|
@@ -665,13 +663,13 @@ var jr = /* @__PURE__ */ R({
|
|
|
665
663
|
_: 1
|
|
666
664
|
})]),
|
|
667
665
|
_: 1
|
|
668
|
-
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div",
|
|
666
|
+
}, 8, ["open"]), a.value.length > 0 ? (V(), P("div", Yr, [(V(!0), P(A, null, H(a.value, (e) => (V(), M(K(h), {
|
|
669
667
|
key: e.value,
|
|
670
668
|
variant: "secondary",
|
|
671
669
|
class: "text-xs px-2 py-1"
|
|
672
670
|
}, {
|
|
673
671
|
default: q(() => [
|
|
674
|
-
s(e.icon) ? (V(), P("span",
|
|
672
|
+
s(e.icon) ? (V(), P("span", Xr, G(e.icon), 1)) : c(e.icon) ? (V(), M(W(c(e.icon)), {
|
|
675
673
|
key: 1,
|
|
676
674
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
677
675
|
"aria-hidden": "true"
|
|
@@ -681,7 +679,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
681
679
|
variant: "ghost",
|
|
682
680
|
size: "sm",
|
|
683
681
|
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
684
|
-
onClick:
|
|
682
|
+
onClick: Qn((t) => f(e.value), ["stop"])
|
|
685
683
|
}, {
|
|
686
684
|
default: q(() => [L(K(m), { class: "h-2 w-2" })]),
|
|
687
685
|
_: 1
|
|
@@ -690,7 +688,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
690
688
|
_: 2
|
|
691
689
|
}, 1024))), 128))])) : N("", !0)], 64));
|
|
692
690
|
}
|
|
693
|
-
}),
|
|
691
|
+
}), Qr = /* @__PURE__ */ R({
|
|
694
692
|
__name: "RadioGroup",
|
|
695
693
|
props: {
|
|
696
694
|
modelValue: {},
|
|
@@ -717,7 +715,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
717
715
|
let { class: e, ...t } = r;
|
|
718
716
|
return t;
|
|
719
717
|
}), i);
|
|
720
|
-
return (t, n) => (V(), M(K(
|
|
718
|
+
return (t, n) => (V(), M(K(dr), z({
|
|
721
719
|
"data-slot": "radio-group",
|
|
722
720
|
class: K(e)("grid gap-2", r.class)
|
|
723
721
|
}, K(a)), {
|
|
@@ -725,7 +723,7 @@ var jr = /* @__PURE__ */ R({
|
|
|
725
723
|
_: 3
|
|
726
724
|
}, 16, ["class"]));
|
|
727
725
|
}
|
|
728
|
-
}),
|
|
726
|
+
}), $r = /* @__PURE__ */ R({
|
|
729
727
|
__name: "RadioGroupItem",
|
|
730
728
|
props: {
|
|
731
729
|
id: {},
|
|
@@ -748,18 +746,18 @@ var jr = /* @__PURE__ */ R({
|
|
|
748
746
|
let { class: e, ...t } = n;
|
|
749
747
|
return t;
|
|
750
748
|
}));
|
|
751
|
-
return (t, i) => (V(), M(K(
|
|
752
|
-
default: q(() => [L(K(
|
|
749
|
+
return (t, i) => (V(), M(K(ur), 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) }), {
|
|
750
|
+
default: q(() => [L(K(lr), { class: "flex items-center justify-center" }, {
|
|
753
751
|
default: q(() => [L(K(se), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
754
752
|
_: 1
|
|
755
753
|
})]),
|
|
756
754
|
_: 1
|
|
757
755
|
}, 16, ["class"]));
|
|
758
756
|
}
|
|
759
|
-
}),
|
|
757
|
+
}), ei = {
|
|
760
758
|
key: 1,
|
|
761
759
|
class: "flex flex-col gap-1"
|
|
762
|
-
},
|
|
760
|
+
}, ti = /* @__PURE__ */ R({
|
|
763
761
|
__name: "Section",
|
|
764
762
|
props: {
|
|
765
763
|
title: {},
|
|
@@ -808,14 +806,14 @@ var jr = /* @__PURE__ */ R({
|
|
|
808
806
|
key: 0,
|
|
809
807
|
class: "!absolute inset-0"
|
|
810
808
|
})) : N("", !0),
|
|
811
|
-
t.title || a.$slots.header ? (V(), P("header",
|
|
809
|
+
t.title || a.$slots.header ? (V(), P("header", ei, [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", {
|
|
812
810
|
key: 0,
|
|
813
811
|
class: B(K(e)("section-description", n.descriptionClass))
|
|
814
812
|
}, [U(a.$slots, "description", {}, () => [I(G(t.description), 1)])], 2)) : N("", !0)])) : N("", !0),
|
|
815
813
|
U(a.$slots, "default")
|
|
816
814
|
], 2));
|
|
817
815
|
}
|
|
818
|
-
}),
|
|
816
|
+
}), ni = /* @__PURE__ */ R({
|
|
819
817
|
__name: "TabsContent",
|
|
820
818
|
props: {
|
|
821
819
|
value: {},
|
|
@@ -835,12 +833,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
835
833
|
let { class: e, ...t } = n;
|
|
836
834
|
return t;
|
|
837
835
|
});
|
|
838
|
-
return (t, i) => (V(), M(K(
|
|
836
|
+
return (t, i) => (V(), M(K(fr), z({ class: K(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
839
837
|
default: q(() => [U(t.$slots, "default")]),
|
|
840
838
|
_: 3
|
|
841
839
|
}, 16, ["class"]));
|
|
842
840
|
}
|
|
843
|
-
}),
|
|
841
|
+
}), ri = /* @__PURE__ */ R({
|
|
844
842
|
__name: "TagsInput",
|
|
845
843
|
props: {
|
|
846
844
|
modelValue: {},
|
|
@@ -879,12 +877,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
879
877
|
let { class: e, ...t } = r;
|
|
880
878
|
return t;
|
|
881
879
|
}), i);
|
|
882
|
-
return (t, n) => (V(), M(K(
|
|
880
|
+
return (t, n) => (V(), M(K(_r), 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) }), {
|
|
883
881
|
default: q(() => [U(t.$slots, "default")]),
|
|
884
882
|
_: 3
|
|
885
883
|
}, 16, ["class"]));
|
|
886
884
|
}
|
|
887
|
-
}),
|
|
885
|
+
}), ii = /* @__PURE__ */ R({
|
|
888
886
|
__name: "TagsInputInput",
|
|
889
887
|
props: {
|
|
890
888
|
placeholder: {},
|
|
@@ -905,9 +903,9 @@ var jr = /* @__PURE__ */ R({
|
|
|
905
903
|
let { class: e, ...t } = n;
|
|
906
904
|
return t;
|
|
907
905
|
}));
|
|
908
|
-
return (t, i) => (V(), M(K(
|
|
906
|
+
return (t, i) => (V(), M(K(pr), 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"]));
|
|
909
907
|
}
|
|
910
|
-
}),
|
|
908
|
+
}), ai = /* @__PURE__ */ R({
|
|
911
909
|
__name: "TagsInputItem",
|
|
912
910
|
props: {
|
|
913
911
|
value: {},
|
|
@@ -927,12 +925,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
927
925
|
let { class: e, ...t } = n;
|
|
928
926
|
return t;
|
|
929
927
|
}));
|
|
930
|
-
return (t, i) => (V(), M(K(
|
|
928
|
+
return (t, i) => (V(), M(K(mr), 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) }), {
|
|
931
929
|
default: q(() => [U(t.$slots, "default")]),
|
|
932
930
|
_: 3
|
|
933
931
|
}, 16, ["class"]));
|
|
934
932
|
}
|
|
935
|
-
}),
|
|
933
|
+
}), oi = /* @__PURE__ */ R({
|
|
936
934
|
__name: "TagsInputItemDelete",
|
|
937
935
|
props: {
|
|
938
936
|
asChild: { type: Boolean },
|
|
@@ -950,12 +948,12 @@ var jr = /* @__PURE__ */ R({
|
|
|
950
948
|
let { class: e, ...t } = n;
|
|
951
949
|
return t;
|
|
952
950
|
}));
|
|
953
|
-
return (t, i) => (V(), M(K(
|
|
951
|
+
return (t, i) => (V(), M(K(hr), z(K(r), { class: K(e)("flex rounded bg-transparent mr-1", n.class) }), {
|
|
954
952
|
default: q(() => [U(t.$slots, "default", {}, () => [L(K(m), { class: "w-4 h-4" })])]),
|
|
955
953
|
_: 3
|
|
956
954
|
}, 16, ["class"]));
|
|
957
955
|
}
|
|
958
|
-
}),
|
|
956
|
+
}), si = /* @__PURE__ */ R({
|
|
959
957
|
__name: "TagsInputItemText",
|
|
960
958
|
props: {
|
|
961
959
|
asChild: { type: Boolean },
|
|
@@ -973,8 +971,8 @@ var jr = /* @__PURE__ */ R({
|
|
|
973
971
|
let { class: e, ...t } = n;
|
|
974
972
|
return t;
|
|
975
973
|
}));
|
|
976
|
-
return (t, i) => (V(), M(K(
|
|
974
|
+
return (t, i) => (V(), M(K(gr), z(K(r), { class: K(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
977
975
|
}
|
|
978
976
|
});
|
|
979
977
|
//#endregion
|
|
980
|
-
export {
|
|
978
|
+
export { Or as Accordion, kr as AccordionContent, Ar as AccordionItem, jr as AccordionTrigger, Mr as Alert, Nr as AlertDescription, Pr as AlertTitle, Fr as Avatar, Lr as AvatarFallback, Ir 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, Rr 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, Br as Drawer, yr as DrawerClose, Vr as DrawerContent, Gr as DrawerDescription, Ur as DrawerFooter, Hr as DrawerHeader, $ as DrawerOverlay, Cr as DrawerPortal, Wr as DrawerTitle, Dr 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, Kr as MetricPill, Zr 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, Qr as RadioGroup, $r as RadioGroupItem, zn as ScrollingText, ti 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, zr as TableCaption, dt as TableCell, ft as TableEmpty, _t as TableHead, ht as TableHeader, ut as TableRow, k as Tabs, ni as TabsContent, gn as TabsIndicator, vn as TabsList, _n as TabsTrigger, ri as TagsInput, ii as TagsInputInput, ai as TagsInputItem, oi as TagsInputItemDelete, si 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, Wn as startViewTransition, i as supportsMoveBefore, n as supportsPostTask, r as supportsRouteTransitions, c as supportsScrollTimeline, s as supportsViewTimeline, Un 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, a as useRouteTransition, Hn as useSortable, Ee as useSpecularTracking, Gn as useTextHighlight, $e as useTimer, wn as useToast, it as useTokenColor, et as useTouchGate, lt as useUserInvalidAria, ot as useViewportReady, o as vReveal };
|