@mkbabb/glass-ui 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardAction-DuArVky-.js → CardAction-DrAcAV4d.js} +2 -2
- package/dist/{CommandShortcut-CefCj5mt.js → CommandShortcut-mV2e1aG6.js} +2 -2
- package/dist/{DataTable-CUHMukiQ.js → DataTable-C3E6jZ5B.js} +2 -2
- package/dist/{DialogContent-BRkT1cjP.js → DialogContent-BxaaafFi.js} +1 -1
- package/dist/{HoverPopover-2LOIW34a.js → HoverPopover-CDA_SaCe.js} +1 -1
- package/dist/{MetricBadge-BZVWIxNy.js → MetricBadge-idgrkqoP.js} +5 -7
- package/dist/{Notification-DLMhblXR.js → Notification-Cu0nN17_.js} +1 -1
- package/dist/{NumberFieldContent-BbLOh8RU.js → NumberFieldContent-CHEWghnY.js} +2 -2
- package/dist/{PopoverContent-BId6ggf_.js → PopoverContent-DpUvdYY-.js} +1 -1
- package/dist/{Progress-iEuD9pxG.js → Progress-BW-StFw2.js} +1 -1
- package/dist/{ScrollingText-BPP84wKo.js → ScrollingText-DruYCni_.js} +1 -1
- package/dist/{SelectScrollDownButton-T32cVFeM.js → SelectScrollDownButton-pirzjm--.js} +3 -3
- package/dist/{Switch-Ch-k3Rv-.js → Switch-DeAqg6pi.js} +1 -1
- package/dist/{TabsList-B8CVOQPC.js → TabsList-BAVzOZpg.js} +2 -2
- package/dist/{Toaster-1rYWrmAm.js → Toaster-CvuuW_y9.js} +49 -46
- package/dist/{ToggleGroupItem-Cev4pOVK.js → ToggleGroupItem-DtD37b4G.js} +4 -4
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +3 -4
- package/dist/api.js +1 -1
- package/dist/aurora.js +66 -66
- package/dist/{badge-CaoFJzRb.js → badge-NdCQMvvB.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-DN39cGqL.js → button-DyiWFAOE.js} +12 -12
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +1 -1
- package/dist/carousel.js +5 -5
- package/dist/collapsible.js +1 -1
- package/dist/{color-C5ls_QF7.js → color-B65wWyQz.js} +9 -7
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -0
- package/dist/components/custom/constellation/Constellation.vue.d.ts +12 -0
- package/dist/components/custom/constellation/composables/createConstellationField.d.ts +35 -0
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +35 -0
- package/dist/components/custom/constellation/constants.d.ts +36 -0
- package/dist/components/custom/constellation/constellationDraw.d.ts +18 -0
- package/dist/components/custom/constellation/constellationField.d.ts +10 -151
- package/dist/components/custom/constellation/constellationInteraction.d.ts +102 -0
- package/dist/components/custom/constellation/index.d.ts +3 -1
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +11 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +3 -4
- package/dist/components/custom/dock/GlassDock.vue.d.ts +2 -110
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +36 -0
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +15 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +131 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +44 -0
- package/dist/components/custom/dock/constants.d.ts +23 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -29
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/fourier-field/presets.d.ts +54 -0
- package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +41 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +4 -3
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -8
- package/dist/components/custom/goo-blob/constants.d.ts +52 -0
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -8
- package/dist/components/custom/tabs/constants.d.ts +12 -0
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +84 -0
- package/dist/components/custom/underline/index.d.ts +2 -0
- package/dist/components/custom/underline/types.d.ts +56 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/components/ui/slider/index.d.ts +22 -19
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- package/dist/composables/color/index.d.ts +12 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -3
- package/dist/composables/motion/core/index.d.ts +0 -1
- package/dist/composables/motion/curves.d.ts +48 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +33 -0
- package/dist/composables/motion/suite.d.ts +2 -0
- package/dist/composables/motion/useSpringMount.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +260 -225
- package/dist/controls.js +48 -14
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +339 -327
- package/dist/dockContext-bho8B1A4.js +17 -0
- package/dist/{dropdown-menu-D77jX6Df.js → dropdown-menu-DVnQcA0E.js} +7 -4
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +38 -61
- package/dist/forms.js +2 -2
- package/dist/fourier-field.js +137 -102
- package/dist/fourier-math.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +287 -209
- package/dist/goo-blob.js +243 -212
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/{math-DTpRVC0e.js → math-BUU9hHID.js} +18 -2
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +69 -70
- package/dist/motion-curves.d.ts +1 -0
- package/dist/motion-curves.js +130 -0
- package/dist/motion.js +38 -37
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +6 -6
- package/dist/select.js +1 -1
- package/dist/{sheet-VZEtNFvO.js → sheet-ChSXcJpU.js} +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-CyzcxBoh.js → slider-sfl8gFDD.js} +4 -4
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/springPresets-aRSm-4_k.js +40 -0
- package/dist/stacked-icons.js +6 -6
- package/dist/styles/animations.css +18 -74
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/layer-group.css +22 -0
- package/dist/styles/dock/layers.css +11 -1
- package/dist/styles/dock/morph.css +95 -19
- package/dist/styles/dock/shell.css +12 -0
- package/dist/styles/dock-controls.css +28 -31
- package/dist/styles/drawer.css +2 -0
- package/dist/styles/floating-panel.css +2 -0
- package/dist/styles/glass/a11y-fallback.css +245 -0
- package/dist/styles/glass/ladder.css +304 -0
- package/dist/styles/glass/material.css +238 -0
- package/dist/styles/glass/progress-rail.css +78 -0
- package/dist/styles/glass/squircle.css +66 -0
- package/dist/styles/glass/surfaces.css +306 -0
- package/dist/styles/glass-refract.css +2 -0
- package/dist/styles/glass.css +31 -1188
- package/dist/styles/hover-popover.css +2 -0
- package/dist/styles/index.css +24 -6
- package/dist/styles/instrument-chassis.css +4 -0
- package/dist/styles/paper.css +2 -68
- package/dist/styles/theme.css +13 -20
- package/dist/styles/tokens/color-radius.css +250 -0
- package/dist/styles/tokens/dark-arm.css +194 -0
- package/dist/styles/tokens/glass.css +413 -0
- package/dist/styles/tokens/light-dark.css +158 -0
- package/dist/styles/tokens/offsets-sizing.css +406 -0
- package/dist/styles/tokens/property-regs.css +169 -0
- package/dist/styles/tokens/scale-paper.css +361 -0
- package/dist/styles/tokens/scheme-motion.css +334 -0
- package/dist/styles/tokens/shadow.css +132 -0
- package/dist/styles/tokens.css +22 -2355
- package/dist/styles/typography.css +18 -6
- package/dist/styles/utilities/a11y-overrides.css +140 -0
- package/dist/styles/utilities/animate.css +26 -0
- package/dist/styles/utilities/base.css +365 -0
- package/dist/styles/utilities/btn.css +399 -0
- package/dist/styles/utilities/components.css +317 -0
- package/dist/styles/utilities.css +19 -1260
- package/dist/styles/view-transition.css +0 -51
- package/dist/switch.js +1 -1
- package/dist/tabs.js +98 -98
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/underline.d.ts +1 -0
- package/dist/underline.js +85 -0
- package/dist/{useAnimatedNumber-Bcpy5Etf.js → useAnimatedNumber-DfVgP4te.js} +1 -1
- package/dist/{useConfiguratorState-DxAqksK6.js → useConfiguratorState-BdQXh9ie.js} +1 -1
- package/dist/useSpecularTracking-DFK_fhpG.js +32 -0
- package/dist/useSpringMount-DXUzxBjV.js +108 -0
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +2 -2
- package/package.json +34 -52
- package/src/styles/animations.css +18 -74
- package/src/styles/dock/layer-group.css +22 -0
- package/src/styles/dock/layers.css +11 -1
- package/src/styles/dock/morph.css +95 -19
- package/src/styles/dock/shell.css +12 -0
- package/src/styles/dock-controls.css +28 -31
- package/src/styles/glass/a11y-fallback.css +245 -0
- package/src/styles/glass/ladder.css +304 -0
- package/src/styles/glass/material.css +238 -0
- package/src/styles/glass/progress-rail.css +78 -0
- package/src/styles/glass/squircle.css +66 -0
- package/src/styles/glass/surfaces.css +306 -0
- package/src/styles/glass.css +31 -1188
- package/src/styles/index.css +24 -6
- package/src/styles/paper.css +2 -68
- package/src/styles/theme.css +13 -20
- package/src/styles/tokens/color-radius.css +250 -0
- package/src/styles/tokens/dark-arm.css +194 -0
- package/src/styles/tokens/glass.css +413 -0
- package/src/styles/tokens/light-dark.css +158 -0
- package/src/styles/tokens/offsets-sizing.css +406 -0
- package/src/styles/tokens/property-regs.css +169 -0
- package/src/styles/tokens/scale-paper.css +361 -0
- package/src/styles/tokens/scheme-motion.css +334 -0
- package/src/styles/tokens/shadow.css +132 -0
- package/src/styles/tokens.css +22 -2355
- package/src/styles/typography.css +18 -6
- package/src/styles/utilities/a11y-overrides.css +140 -0
- package/src/styles/utilities/animate.css +26 -0
- package/src/styles/utilities/base.css +365 -0
- package/src/styles/utilities/btn.css +399 -0
- package/src/styles/utilities/components.css +317 -0
- package/src/styles/utilities.css +19 -1260
- package/src/styles/view-transition.css +0 -51
- package/dist/DeckProgress-Dmk4_AKN.js +0 -23
- package/dist/InstrumentRail-CUJ05YVG.js +0 -44
- package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +0 -27
- package/dist/components/custom/deck-progress/index.d.ts +0 -2
- package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +0 -57
- package/dist/components/custom/dialog-native/index.d.ts +0 -1
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -41
- package/dist/components/custom/glass-panel/index.d.ts +0 -2
- package/dist/components/custom/handmark/HandMark.vue.d.ts +0 -29
- package/dist/components/custom/handmark/brush.d.ts +0 -219
- package/dist/components/custom/handmark/freehand.d.ts +0 -69
- package/dist/components/custom/handmark/geometry.d.ts +0 -32
- package/dist/components/custom/handmark/index.d.ts +0 -21
- package/dist/components/custom/handmark/ink.d.ts +0 -11
- package/dist/components/custom/handmark/texture.d.ts +0 -39
- package/dist/components/custom/handmark/types.d.ts +0 -53
- package/dist/components/custom/handmark/useHandMark.d.ts +0 -66
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
- package/dist/components/custom/header-ribbon/index.d.ts +0 -2
- package/dist/components/custom/header-ribbon/types.d.ts +0 -7
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +0 -91
- package/dist/components/custom/instrument-rail/index.d.ts +0 -2
- package/dist/composables/motion/useRouteTransition.d.ts +0 -42
- package/dist/deck-progress.d.ts +0 -1
- package/dist/deck-progress.js +0 -2
- package/dist/dockContext-BKeIMmNk.js +0 -9
- package/dist/glass-panel.d.ts +0 -1
- package/dist/glass-panel.js +0 -44
- package/dist/handmark.d.ts +0 -1
- package/dist/handmark.js +0 -609
- package/dist/header-ribbon.d.ts +0 -1
- package/dist/header-ribbon.js +0 -63
- package/dist/instrument-rail.d.ts +0 -1
- package/dist/instrument-rail.js +0 -2
- package/dist/useGlassRenderer-D7YGOYiM.js +0 -69
- package/dist/useSpecularTracking-BVRZsRHA.js +0 -26
- package/dist/useSpringMount-BJSHcLl3.js +0 -113
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-zUIQk-rJ.js +0 -53
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-Drow5WkV.js} +0 -0
- /package/dist/{DialogFooter-Gprw8H_A.js → DialogFooter-DufLHi0y.js} +0 -0
- /package/dist/{IconTooltip-Cus0fvK0.js → IconTooltip-BrQ5p181.js} +0 -0
- /package/dist/{Input-xuDwALQR.js → Input-B-F818RU.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-DWghtRt7.js} +0 -0
- /package/dist/{compile-BOXjLUxu.js → compile-Ce_V55zi.js} +0 -0
- /package/dist/{constants-yKeKnE84.js → constants-C8NMonuo.js} +0 -0
- /package/dist/{presets-Dkdv55Gt.js → presets-1OhFpaIC.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-CjVgzjQT.js} +0 -0
- /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CRvVzOvP.js} +0 -0
- /package/dist/{useCanvas2D-ClrQuZtp.js → useCanvas2D-CSeH8h16.js} +0 -0
- /package/dist/{useGlobalDark-d6waty-X.js → useGlobalDark-D7R9OypB.js} +0 -0
- /package/dist/{useIntersectionPause-Cck5Uxk8.js → useIntersectionPause-DAdVPVp4.js} +0 -0
- /package/dist/{useInterval-Dsmqwi03.js → useInterval-D3USn0yc.js} +0 -0
- /package/dist/{useKeyboardShortcuts-CyIYrndH.js → useKeyboardShortcuts-i8tHd5WO.js} +0 -0
- /package/dist/{useScrollProgress-CffFGLa5.js → useScrollProgress-CcgmgMQt.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-DnyGXKKY.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.js → useTextHighlight-B3b10W6r.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -1,24 +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-CqaCz_mC.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-
|
|
6
|
+
import { t as d } from "./Notification-Cu0nN17_.js";
|
|
7
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-
|
|
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-
|
|
8
|
+
import { a as ce, i as le, n as ue, o as de, r as fe, t as pe } from "./NumberFieldContent-CHEWghnY.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-BdQXh9ie.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 {
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
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";
|
|
11
|
+
import { n as h, t as xe } from "./badge-NdCQMvvB.js";
|
|
12
|
+
import { n as g, t as Se } from "./button-DyiWFAOE.js";
|
|
13
|
+
import { t as Ce } from "./useSpecularTracking-DFK_fhpG.js";
|
|
14
|
+
import { n as we, t as Te } from "./useCanvas2D-CSeH8h16.js";
|
|
15
|
+
import { t as Ee } from "./resolveCanvasColor-CRvVzOvP.js";
|
|
16
|
+
import { a as De, i as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne } from "./CardAction-DrAcAV4d.js";
|
|
17
|
+
import { n as Pe, r as Fe, t as Ie } from "./CollapsibleContent-Drow5WkV.js";
|
|
18
|
+
import { a as _, c as Le, i as v, l as y, n as Re, o as b, r as x, s as S, t as ze } from "./CommandShortcut-mV2e1aG6.js";
|
|
19
|
+
import { n as Be, t as Ve } from "./DialogContent-BxaaafFi.js";
|
|
20
|
+
import { a as He, i as Ue, n as We, o as Ge, r as Ke, s as qe, t as Je } from "./DialogFooter-DufLHi0y.js";
|
|
22
21
|
import { n as Ye, r as Xe, t as Ze } from "./ContextMenuContent-DDa0v27s.js";
|
|
23
22
|
import { t as Qe } from "./useResizeObserver-CWCbk5Px.js";
|
|
24
23
|
import { t as $e } from "./useTimer-3xqf_54b.js";
|
|
@@ -26,41 +25,38 @@ import { t as et } from "./useTouchGate-WFyJYsth.js";
|
|
|
26
25
|
import { a as tt, i as nt, n as rt, o as it, r as at, t as ot } from "./useViewportReady-RIr5Wgkh.js";
|
|
27
26
|
import { n as st, t as ct } from "./useResolveTokenColor-r9pnNjqK.js";
|
|
28
27
|
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-
|
|
28
|
+
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-C3E6jZ5B.js";
|
|
29
|
+
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-DVnQcA0E.js";
|
|
31
30
|
import { n as Ft, r as It, t as Lt } from "./HoverCardContent-B6CcQ8He.js";
|
|
32
31
|
import { t as Rt } from "./Label-zRfbQdCn.js";
|
|
33
|
-
import { t as zt } from "./MetricBadge-
|
|
34
|
-
import { n as
|
|
35
|
-
import { a as Bt, i as Vt, n as Ht, r as Ut, t as Wt } from "./Progress-
|
|
32
|
+
import { t as zt } from "./MetricBadge-idgrkqoP.js";
|
|
33
|
+
import { n as C, r as w, t as T } from "./PopoverContent-DpUvdYY-.js";
|
|
34
|
+
import { a as Bt, i as Vt, n as Ht, r as Ut, t as Wt } from "./Progress-BW-StFw2.js";
|
|
36
35
|
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-
|
|
36
|
+
import { a as Kt, i as qt, n as Jt, o as Yt, r as Xt, s as Zt, t as Qt } from "./SelectScrollDownButton-pirzjm--.js";
|
|
38
37
|
import { t as $t } from "./SelectGroup-BFiod7X2.js";
|
|
39
38
|
import { n as en, t as tn } from "./SelectSeparator-C4Ql0gzV.js";
|
|
40
39
|
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-
|
|
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 yn, c as bn, i as xn, n as Sn, o as Cn, r as wn, s as Tn, t as En } from "./Toaster-
|
|
46
|
-
import { i as Dn, n as On, r as kn, t as An } from "./ToggleGroupItem-
|
|
40
|
+
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-ChSXcJpU.js";
|
|
41
|
+
import { n as pn, t as mn } from "./slider-sfl8gFDD.js";
|
|
42
|
+
import { t as hn } from "./Switch-DeAqg6pi.js";
|
|
43
|
+
import { i as gn, n as _n, r as vn, t as E } from "./TabsList-BAVzOZpg.js";
|
|
44
|
+
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-CvuuW_y9.js";
|
|
45
|
+
import { i as Dn, n as On, r as kn, t as An } from "./ToggleGroupItem-DtD37b4G.js";
|
|
47
46
|
import { i as jn, n as Mn, r as Nn, t as Pn } from "./TooltipProvider-CmZzCuaG.js";
|
|
48
47
|
import { n as Fn, t as In } from "./InstrumentChassis-C2f6cBaQ.js";
|
|
49
|
-
import { t as Ln } from "./
|
|
50
|
-
import { t as Rn } from "./
|
|
51
|
-
import { t as zn } from "./
|
|
52
|
-
import { t as Bn } from "./
|
|
53
|
-
import { t as Vn } from "./
|
|
54
|
-
import {
|
|
55
|
-
import { n as
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
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";
|
|
59
|
-
import { cva as X } from "class-variance-authority";
|
|
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";
|
|
48
|
+
import { t as Ln } from "./HoverPopover-CDA_SaCe.js";
|
|
49
|
+
import { t as Rn } from "./ScrollingText-DruYCni_.js";
|
|
50
|
+
import { t as zn } from "./useInterval-D3USn0yc.js";
|
|
51
|
+
import { t as Bn } from "./useSortable-DnyGXKKY.js";
|
|
52
|
+
import { t as Vn } from "./useTextHighlight-B3b10W6r.js";
|
|
53
|
+
import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createTextVNode as N, createVNode as P, defineComponent as F, guardReactiveProps as Hn, mergeModels as Un, mergeProps as I, normalizeClass as L, normalizeProps as Wn, onMounted as Gn, openBlock as R, ref as z, renderList as B, renderSlot as V, resolveDynamicComponent as H, toDisplayString as U, toRaw as Kn, unref as W, useModel as qn, watch as Jn, withCtx as G, withModifiers as Yn } from "vue";
|
|
54
|
+
import { AccordionContent as Xn, AccordionHeader as Zn, AccordionItem as Qn, AccordionRoot as $n, AccordionTrigger as er, AvatarFallback as tr, AvatarImage as nr, AvatarRoot as rr, CheckboxIndicator as ir, CheckboxRoot as ar, RadioGroupIndicator as or, RadioGroupItem as sr, RadioGroupRoot as cr, TabsContent as lr, TagsInputInput as ur, TagsInputItem as dr, TagsInputItemDelete as fr, TagsInputItemText as pr, TagsInputRoot as mr, useEmitAsProps as hr, useForwardProps as K, useForwardPropsEmits as q } from "reka-ui";
|
|
55
|
+
import { cva as J } from "class-variance-authority";
|
|
56
|
+
import { DrawerClose as gr, DrawerContent as _r, DrawerDescription as vr, DrawerOverlay as yr, DrawerPortal as br, DrawerPortal as xr, DrawerRoot as Sr, DrawerTitle as Cr, DrawerTrigger as wr } from "vaul-vue";
|
|
61
57
|
//#endregion
|
|
62
58
|
//#region src/components/ui/accordion/Accordion.vue
|
|
63
|
-
var
|
|
59
|
+
var Tr = /* @__PURE__ */ F({
|
|
64
60
|
__name: "Accordion",
|
|
65
61
|
props: {
|
|
66
62
|
collapsible: { type: Boolean },
|
|
@@ -76,13 +72,13 @@ var Or = /* @__PURE__ */ R({
|
|
|
76
72
|
},
|
|
77
73
|
emits: ["update:modelValue"],
|
|
78
74
|
setup(e, { emit: t }) {
|
|
79
|
-
let n =
|
|
80
|
-
return (e, t) => (
|
|
81
|
-
default:
|
|
75
|
+
let n = q(e, t);
|
|
76
|
+
return (e, t) => (R(), k(W($n), I({ "data-slot": "accordion" }, W(n)), {
|
|
77
|
+
default: G(() => [V(e.$slots, "default")]),
|
|
82
78
|
_: 3
|
|
83
79
|
}, 16));
|
|
84
80
|
}
|
|
85
|
-
}),
|
|
81
|
+
}), Er = /* @__PURE__ */ F({
|
|
86
82
|
__name: "AccordionContent",
|
|
87
83
|
props: {
|
|
88
84
|
forceMount: { type: Boolean },
|
|
@@ -97,16 +93,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
97
93
|
] }
|
|
98
94
|
},
|
|
99
95
|
setup(t) {
|
|
100
|
-
let n = t, r =
|
|
96
|
+
let n = t, r = O(() => {
|
|
101
97
|
let { class: e, ...t } = n;
|
|
102
98
|
return t;
|
|
103
99
|
});
|
|
104
|
-
return (t, i) => (
|
|
105
|
-
default:
|
|
100
|
+
return (t, i) => (R(), k(W(Xn), I(r.value, { class: "overflow-hidden text-sm transition-collapse data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
101
|
+
default: G(() => [M("div", { class: L(W(e)("pb-4 pt-0", n.class)) }, [V(t.$slots, "default")], 2)]),
|
|
106
102
|
_: 3
|
|
107
103
|
}, 16));
|
|
108
104
|
}
|
|
109
|
-
}),
|
|
105
|
+
}), Dr = /* @__PURE__ */ F({
|
|
110
106
|
__name: "AccordionItem",
|
|
111
107
|
props: {
|
|
112
108
|
disabled: { type: Boolean },
|
|
@@ -123,16 +119,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
123
119
|
] }
|
|
124
120
|
},
|
|
125
121
|
setup(t) {
|
|
126
|
-
let n = t, r =
|
|
122
|
+
let n = t, r = K(O(() => {
|
|
127
123
|
let { class: e, ...t } = n;
|
|
128
124
|
return t;
|
|
129
125
|
}));
|
|
130
|
-
return (t, i) => (
|
|
131
|
-
default:
|
|
126
|
+
return (t, i) => (R(), k(W(Qn), I(W(r), { class: W(e)("border-b", n.class) }), {
|
|
127
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
132
128
|
_: 3
|
|
133
129
|
}, 16, ["class"]));
|
|
134
130
|
}
|
|
135
|
-
}),
|
|
131
|
+
}), Or = /* @__PURE__ */ F({
|
|
136
132
|
__name: "AccordionTrigger",
|
|
137
133
|
props: {
|
|
138
134
|
asChild: { type: Boolean },
|
|
@@ -146,19 +142,19 @@ var Or = /* @__PURE__ */ R({
|
|
|
146
142
|
] }
|
|
147
143
|
},
|
|
148
144
|
setup(t) {
|
|
149
|
-
let n = t, r =
|
|
145
|
+
let n = t, r = O(() => {
|
|
150
146
|
let { class: e, ...t } = n;
|
|
151
147
|
return t;
|
|
152
148
|
});
|
|
153
|
-
return (t, i) => (
|
|
154
|
-
default:
|
|
155
|
-
default:
|
|
149
|
+
return (t, i) => (R(), k(W(Zn), { class: "flex" }, {
|
|
150
|
+
default: G(() => [P(W(er), I({ "data-slot": "accordion-trigger" }, r.value, { class: W(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) }), {
|
|
151
|
+
default: G(() => [V(t.$slots, "default"), V(t.$slots, "icon", {}, () => [P(W(u), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })])]),
|
|
156
152
|
_: 3
|
|
157
153
|
}, 16, ["class"])]),
|
|
158
154
|
_: 3
|
|
159
155
|
}));
|
|
160
156
|
}
|
|
161
|
-
}),
|
|
157
|
+
}), kr = /* @__PURE__ */ F({
|
|
162
158
|
__name: "Alert",
|
|
163
159
|
props: {
|
|
164
160
|
class: { type: [
|
|
@@ -172,13 +168,13 @@ var Or = /* @__PURE__ */ R({
|
|
|
172
168
|
},
|
|
173
169
|
setup(t) {
|
|
174
170
|
let n = t;
|
|
175
|
-
return (r, i) => (
|
|
171
|
+
return (r, i) => (R(), j("div", {
|
|
176
172
|
"data-slot": "alert",
|
|
177
|
-
class:
|
|
173
|
+
class: L(W(e)(W(Y)({ variant: t.variant }), n.class)),
|
|
178
174
|
role: "alert"
|
|
179
|
-
}, [
|
|
175
|
+
}, [V(r.$slots, "default")], 2));
|
|
180
176
|
}
|
|
181
|
-
}),
|
|
177
|
+
}), Ar = /* @__PURE__ */ F({
|
|
182
178
|
__name: "AlertDescription",
|
|
183
179
|
props: { class: { type: [
|
|
184
180
|
Boolean,
|
|
@@ -189,12 +185,12 @@ var Or = /* @__PURE__ */ R({
|
|
|
189
185
|
] } },
|
|
190
186
|
setup(t) {
|
|
191
187
|
let n = t;
|
|
192
|
-
return (t, r) => (
|
|
188
|
+
return (t, r) => (R(), j("div", {
|
|
193
189
|
"data-slot": "alert-description",
|
|
194
|
-
class:
|
|
195
|
-
}, [
|
|
190
|
+
class: L(W(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
191
|
+
}, [V(t.$slots, "default")], 2));
|
|
196
192
|
}
|
|
197
|
-
}),
|
|
193
|
+
}), jr = /* @__PURE__ */ F({
|
|
198
194
|
__name: "AlertTitle",
|
|
199
195
|
props: { class: { type: [
|
|
200
196
|
Boolean,
|
|
@@ -205,21 +201,21 @@ var Or = /* @__PURE__ */ R({
|
|
|
205
201
|
] } },
|
|
206
202
|
setup(t) {
|
|
207
203
|
let n = t;
|
|
208
|
-
return (t, r) => (
|
|
204
|
+
return (t, r) => (R(), j("div", {
|
|
209
205
|
"data-slot": "alert-title",
|
|
210
|
-
class:
|
|
211
|
-
}, [
|
|
206
|
+
class: L(W(e)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight", n.class))
|
|
207
|
+
}, [V(t.$slots, "default")], 2));
|
|
212
208
|
}
|
|
213
|
-
}),
|
|
209
|
+
}), Y = J("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-(--ui-glyph) [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
214
210
|
variants: { variant: {
|
|
215
|
-
default: "bg-
|
|
216
|
-
destructive: "text-destructive bg-
|
|
217
|
-
success: "bg-
|
|
218
|
-
warning: "bg-
|
|
219
|
-
info: "bg-
|
|
211
|
+
default: "bg-(--glass-bg-wash) [backdrop-filter:var(--glass-blur-wash)] text-card-foreground",
|
|
212
|
+
destructive: "text-destructive bg-(--glass-bg-wash) [backdrop-filter:var(--glass-blur-wash)] [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90",
|
|
213
|
+
success: "bg-(--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",
|
|
214
|
+
warning: "bg-(--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",
|
|
215
|
+
info: "bg-(--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"
|
|
220
216
|
} },
|
|
221
217
|
defaultVariants: { variant: "default" }
|
|
222
|
-
}),
|
|
218
|
+
}), Mr = /* @__PURE__ */ F({
|
|
223
219
|
__name: "Avatar",
|
|
224
220
|
props: {
|
|
225
221
|
class: { type: [
|
|
@@ -234,18 +230,18 @@ var Or = /* @__PURE__ */ R({
|
|
|
234
230
|
},
|
|
235
231
|
setup(t) {
|
|
236
232
|
let n = t;
|
|
237
|
-
return (r, i) => (
|
|
233
|
+
return (r, i) => (R(), k(W(rr), {
|
|
238
234
|
"data-slot": "avatar",
|
|
239
|
-
class:
|
|
235
|
+
class: L(W(e)(W(X)({
|
|
240
236
|
size: t.size,
|
|
241
237
|
shape: t.shape
|
|
242
238
|
}), n.class))
|
|
243
239
|
}, {
|
|
244
|
-
default:
|
|
240
|
+
default: G(() => [V(r.$slots, "default")]),
|
|
245
241
|
_: 3
|
|
246
242
|
}, 8, ["class"]));
|
|
247
243
|
}
|
|
248
|
-
}),
|
|
244
|
+
}), Nr = /* @__PURE__ */ F({
|
|
249
245
|
__name: "AvatarImage",
|
|
250
246
|
props: {
|
|
251
247
|
src: {},
|
|
@@ -257,9 +253,9 @@ var Or = /* @__PURE__ */ R({
|
|
|
257
253
|
},
|
|
258
254
|
setup(e) {
|
|
259
255
|
let t = e;
|
|
260
|
-
return (e, n) => (
|
|
256
|
+
return (e, n) => (R(), k(W(nr), I(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
261
257
|
}
|
|
262
|
-
}),
|
|
258
|
+
}), Pr = /* @__PURE__ */ F({
|
|
263
259
|
__name: "AvatarFallback",
|
|
264
260
|
props: {
|
|
265
261
|
delayMs: {},
|
|
@@ -268,14 +264,14 @@ var Or = /* @__PURE__ */ R({
|
|
|
268
264
|
},
|
|
269
265
|
setup(e) {
|
|
270
266
|
let t = e;
|
|
271
|
-
return (e, n) => (
|
|
272
|
-
default:
|
|
267
|
+
return (e, n) => (R(), k(W(tr), Wn(Hn(t)), {
|
|
268
|
+
default: G(() => [V(e.$slots, "default")]),
|
|
273
269
|
_: 3
|
|
274
270
|
}, 16));
|
|
275
271
|
}
|
|
276
|
-
}),
|
|
272
|
+
}), X = J("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
277
273
|
size: {
|
|
278
|
-
sm: "h-
|
|
274
|
+
sm: "h-(--control-h-md) w-(--control-h-md) text-xs",
|
|
279
275
|
base: "h-16 w-16 text-2xl",
|
|
280
276
|
lg: "h-32 w-32 text-5xl"
|
|
281
277
|
},
|
|
@@ -283,7 +279,77 @@ var Or = /* @__PURE__ */ R({
|
|
|
283
279
|
circle: "rounded-pill",
|
|
284
280
|
square: "rounded-input"
|
|
285
281
|
}
|
|
286
|
-
} })
|
|
282
|
+
} });
|
|
283
|
+
//#endregion
|
|
284
|
+
//#region src/composables/glass/useGlassRenderer.ts
|
|
285
|
+
function Fr() {
|
|
286
|
+
return window.chrome && CSS.supports("backdrop-filter", "url(#x) blur(1px)") ? "svg-filter" : CSS.supports("backdrop-filter", "blur(1px)") || CSS.supports("-webkit-backdrop-filter", "blur(1px)") ? "css" : "fallback";
|
|
287
|
+
}
|
|
288
|
+
function Z(e, t, n, r) {
|
|
289
|
+
e.width = t, e.height = n;
|
|
290
|
+
let i = e.getContext("2d"), a = i.createImageData(t, n), o = a.data, s = t / 2, c = n / 2;
|
|
291
|
+
for (let e = 0; e < n; e++) for (let n = 0; n < t; n++) {
|
|
292
|
+
let i = (n - s) / s, a = (e - c) / c, l = Math.sqrt(i * i + a * a), u = l * (1 - l * .3) * r, d = -i * u, f = -a * u, p = (e * t + n) * 4;
|
|
293
|
+
o[p] = Math.round(128 + d * 127), o[p + 1] = Math.round(128 + f * 127), o[p + 2] = 128, o[p + 3] = 255;
|
|
294
|
+
}
|
|
295
|
+
i.putImageData(a, 0, 0);
|
|
296
|
+
}
|
|
297
|
+
function Q(e, t, n) {
|
|
298
|
+
e.width = t, e.height = n;
|
|
299
|
+
let r = e.getContext("2d"), i = t / 2, a = n / 2, o = Math.max(i, a), s = r.createRadialGradient(i, a, 0, i, a, o);
|
|
300
|
+
s.addColorStop(0, "rgba(255,255,255,0)"), s.addColorStop(.5, "rgba(255,255,255,0.02)"), s.addColorStop(.8, "rgba(255,255,255,0.06)"), s.addColorStop(1, "rgba(255,255,255,0.12)"), r.fillStyle = s, r.fillRect(0, 0, t, n);
|
|
301
|
+
let c = r.createLinearGradient(0, 0, t, 0);
|
|
302
|
+
c.addColorStop(0, "rgba(255,255,255,0)"), c.addColorStop(.3, "rgba(255,255,255,0.15)"), c.addColorStop(.5, "rgba(255,255,255,0.25)"), c.addColorStop(.7, "rgba(255,255,255,0.15)"), c.addColorStop(1, "rgba(255,255,255,0)"), r.fillStyle = c, r.fillRect(0, 0, t, 2);
|
|
303
|
+
}
|
|
304
|
+
var Ir = 0;
|
|
305
|
+
function Lr(e, t = {}) {
|
|
306
|
+
let n = `glass-refract-${Ir++}`, r = t.blur ?? 16, i = t.refraction ?? .3, a = document.createElement("canvas");
|
|
307
|
+
a.style.display = "none", document.body.appendChild(a);
|
|
308
|
+
let o = document.createElement("canvas");
|
|
309
|
+
o.style.display = "none", document.body.appendChild(o);
|
|
310
|
+
let s = e.getBoundingClientRect(), c = Math.max(Math.ceil(s.width / 4), 32), l = Math.max(Math.ceil(s.height / 4), 32);
|
|
311
|
+
Z(a, c, l, i), Q(o, c, l);
|
|
312
|
+
let u = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
313
|
+
u.setAttribute("width", "0"), u.setAttribute("height", "0"), u.style.position = "absolute", u.style.pointerEvents = "none";
|
|
314
|
+
let d = i * 30;
|
|
315
|
+
u.innerHTML = `
|
|
316
|
+
<filter id="${n}" x="0%" y="0%" width="100%" height="100%" color-interpolation-filters="sRGB">
|
|
317
|
+
<feImage href="${a.toDataURL()}" result="dispMap"
|
|
318
|
+
preserveAspectRatio="none" x="0%" y="0%" width="100%" height="100%" />
|
|
319
|
+
<feDisplacementMap in="SourceGraphic" in2="dispMap" result="refracted"
|
|
320
|
+
scale="${d}" xChannelSelector="R" yChannelSelector="G" />
|
|
321
|
+
<feGaussianBlur in="refracted" stdDeviation="${r * .3}" result="blurred" />
|
|
322
|
+
<feImage href="${o.toDataURL()}" result="specular"
|
|
323
|
+
preserveAspectRatio="none" x="0%" y="0%" width="100%" height="100%" />
|
|
324
|
+
<feBlend in="blurred" in2="specular" mode="screen" result="final" />
|
|
325
|
+
</filter>
|
|
326
|
+
`, document.body.appendChild(u), e.style.backdropFilter = `url(#${n}) blur(${r * .15}px) saturate(1.6) brightness(1.05)`, e.style.setProperty("-webkit-backdrop-filter", e.style.backdropFilter), e.style.border = "1px solid rgba(255,255,255,0.25)", e.style.boxShadow = "\n inset 0 0.5px 0 0 rgba(255,255,255,0.3),\n inset 0 -0.5px 0 0 rgba(0,0,0,0.05),\n 0 4px 16px rgba(0,0,0,0.08)\n ";
|
|
327
|
+
let f = new ResizeObserver(() => {
|
|
328
|
+
let t = e.getBoundingClientRect(), n = Math.max(Math.ceil(t.width / 4), 32), r = Math.max(Math.ceil(t.height / 4), 32);
|
|
329
|
+
Z(a, n, r, i), Q(o, n, r);
|
|
330
|
+
let s = u.querySelectorAll("feImage");
|
|
331
|
+
s[0] && s[0].setAttribute("href", a.toDataURL()), s[1] && s[1].setAttribute("href", o.toDataURL());
|
|
332
|
+
});
|
|
333
|
+
return f.observe(e), {
|
|
334
|
+
filterId: n,
|
|
335
|
+
svgEl: u,
|
|
336
|
+
dispCanvas: a,
|
|
337
|
+
specCanvas: o,
|
|
338
|
+
observer: f
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
function Rr(e) {
|
|
342
|
+
e.observer?.disconnect(), e.svgEl.remove(), e.dispCanvas.remove(), e.specCanvas.remove();
|
|
343
|
+
}
|
|
344
|
+
function zr(e) {
|
|
345
|
+
let t = z(e?.preferredTier ?? "css");
|
|
346
|
+
return Gn(() => {
|
|
347
|
+
e?.preferredTier || (t.value = Fr());
|
|
348
|
+
}), { tier: t };
|
|
349
|
+
}
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region src/components/ui/checkbox/Checkbox.vue
|
|
352
|
+
var Br = /* @__PURE__ */ F({
|
|
287
353
|
__name: "Checkbox",
|
|
288
354
|
props: {
|
|
289
355
|
defaultValue: {},
|
|
@@ -307,19 +373,19 @@ var Or = /* @__PURE__ */ R({
|
|
|
307
373
|
},
|
|
308
374
|
emits: ["update:modelValue"],
|
|
309
375
|
setup(t, { emit: n }) {
|
|
310
|
-
let r = t, i = n, a =
|
|
376
|
+
let r = t, i = n, a = q(O(() => {
|
|
311
377
|
let { class: e, ...t } = r;
|
|
312
378
|
return t;
|
|
313
379
|
}), i);
|
|
314
|
-
return (t, n) => (
|
|
315
|
-
default:
|
|
316
|
-
default:
|
|
380
|
+
return (t, n) => (R(), k(W(ar), I({ "data-slot": "checkbox" }, W(a), { class: W(e)("group tap-squish focus-ring peer relative touch-hit-area 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) }), {
|
|
381
|
+
default: G(() => [P(W(ir), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
382
|
+
default: G(() => [V(t.$slots, "default", {}, () => [P(W(de), { class: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }), P(W(l), { class: "h-4 w-4 group-data-[state=indeterminate]:hidden" })])]),
|
|
317
383
|
_: 3
|
|
318
384
|
})]),
|
|
319
385
|
_: 3
|
|
320
386
|
}, 16, ["class"]));
|
|
321
387
|
}
|
|
322
|
-
}),
|
|
388
|
+
}), Vr = /* @__PURE__ */ F({
|
|
323
389
|
__name: "TableCaption",
|
|
324
390
|
props: { class: { type: [
|
|
325
391
|
Boolean,
|
|
@@ -330,9 +396,9 @@ var Or = /* @__PURE__ */ R({
|
|
|
330
396
|
] } },
|
|
331
397
|
setup(t) {
|
|
332
398
|
let n = t;
|
|
333
|
-
return (t, r) => (
|
|
399
|
+
return (t, r) => (R(), j("caption", { class: L(W(e)("mt-4 text-sm text-muted-foreground", n.class)) }, [V(t.$slots, "default")], 2));
|
|
334
400
|
}
|
|
335
|
-
}),
|
|
401
|
+
}), Hr = /* @__PURE__ */ F({
|
|
336
402
|
__name: "Drawer",
|
|
337
403
|
props: {
|
|
338
404
|
activeSnapPoint: {},
|
|
@@ -349,7 +415,10 @@ var Or = /* @__PURE__ */ R({
|
|
|
349
415
|
type: Boolean,
|
|
350
416
|
default: void 0
|
|
351
417
|
},
|
|
352
|
-
open: {
|
|
418
|
+
open: {
|
|
419
|
+
type: Boolean,
|
|
420
|
+
default: void 0
|
|
421
|
+
},
|
|
353
422
|
defaultOpen: { type: Boolean },
|
|
354
423
|
nested: { type: Boolean },
|
|
355
424
|
direction: {},
|
|
@@ -369,26 +438,35 @@ var Or = /* @__PURE__ */ R({
|
|
|
369
438
|
"animationEnd"
|
|
370
439
|
],
|
|
371
440
|
setup(e, { emit: t }) {
|
|
372
|
-
let n = e, r =
|
|
441
|
+
let n = e, r = t, i = hr(r), a = O(() => n.open !== void 0), o = z(n.open ?? !1);
|
|
442
|
+
Jn(() => n.open, (e) => {
|
|
443
|
+
e !== void 0 && (o.value = e);
|
|
444
|
+
});
|
|
445
|
+
function s(e) {
|
|
446
|
+
o.value = e, r("update:open", e);
|
|
447
|
+
}
|
|
448
|
+
let c = [
|
|
373
449
|
.12,
|
|
374
450
|
.5,
|
|
375
451
|
1
|
|
376
|
-
],
|
|
377
|
-
let { mode: e,
|
|
452
|
+
], l = O(() => {
|
|
453
|
+
let { mode: e, open: t, ...r } = n, l = e === "live-behind";
|
|
378
454
|
return {
|
|
379
|
-
...
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
455
|
+
...r,
|
|
456
|
+
open: a.value ? n.open : o.value,
|
|
457
|
+
modal: n.modal ?? !l,
|
|
458
|
+
shouldScaleBackground: n.shouldScaleBackground ?? !l,
|
|
459
|
+
snapPoints: n.snapPoints ?? (l ? c : void 0),
|
|
460
|
+
...i,
|
|
461
|
+
"onUpdate:open": s
|
|
384
462
|
};
|
|
385
463
|
});
|
|
386
|
-
return (e, t) => (
|
|
387
|
-
default:
|
|
464
|
+
return (e, t) => (R(), k(W(Sr), I({ "data-slot": "drawer" }, l.value), {
|
|
465
|
+
default: G(() => [V(e.$slots, "default")]),
|
|
388
466
|
_: 3
|
|
389
467
|
}, 16));
|
|
390
468
|
}
|
|
391
|
-
}), $ = /* @__PURE__ */
|
|
469
|
+
}), $ = /* @__PURE__ */ F({
|
|
392
470
|
__name: "DrawerOverlay",
|
|
393
471
|
props: {
|
|
394
472
|
forceMount: { type: Boolean },
|
|
@@ -403,13 +481,13 @@ var Or = /* @__PURE__ */ R({
|
|
|
403
481
|
] }
|
|
404
482
|
},
|
|
405
483
|
setup(t) {
|
|
406
|
-
let n = t, r =
|
|
484
|
+
let n = t, r = O(() => {
|
|
407
485
|
let { class: e, ...t } = n;
|
|
408
486
|
return t;
|
|
409
487
|
});
|
|
410
|
-
return (t, i) => (
|
|
488
|
+
return (t, i) => (R(), k(W(yr), I(r.value, { class: W(e)("fixed inset-0 z-overlay bg-overlay-scrim-strong [backdrop-filter:var(--glass-blur-wash)]", n.class) }), null, 16, ["class"]));
|
|
411
489
|
}
|
|
412
|
-
}),
|
|
490
|
+
}), Ur = /* @__PURE__ */ F({
|
|
413
491
|
__name: "DrawerContent",
|
|
414
492
|
props: {
|
|
415
493
|
forceMount: { type: Boolean },
|
|
@@ -437,19 +515,19 @@ var Or = /* @__PURE__ */ R({
|
|
|
437
515
|
"closeAutoFocus"
|
|
438
516
|
],
|
|
439
517
|
setup(t, { emit: n }) {
|
|
440
|
-
let r = t, i =
|
|
441
|
-
return (t, n) => (
|
|
442
|
-
default:
|
|
443
|
-
default:
|
|
518
|
+
let r = t, i = q(r, n);
|
|
519
|
+
return (t, n) => (R(), k(W(xr), null, {
|
|
520
|
+
default: G(() => [r.showOverlay ? (R(), k($, { key: 0 })) : A("", !0), P(W(_r), I(W(i), { class: W(e)("glass-drawer", r.class) }), {
|
|
521
|
+
default: G(() => [n[0] ||= M("div", {
|
|
444
522
|
class: "glass-drawer-handle",
|
|
445
523
|
"aria-hidden": "true"
|
|
446
|
-
}, [
|
|
524
|
+
}, [M("span", { class: "glass-drawer-grip" })], -1), V(t.$slots, "default")]),
|
|
447
525
|
_: 3
|
|
448
526
|
}, 16, ["class"])]),
|
|
449
527
|
_: 3
|
|
450
528
|
}));
|
|
451
529
|
}
|
|
452
|
-
}),
|
|
530
|
+
}), Wr = /* @__PURE__ */ F({
|
|
453
531
|
__name: "DrawerHeader",
|
|
454
532
|
props: { class: { type: [
|
|
455
533
|
Boolean,
|
|
@@ -460,9 +538,9 @@ var Or = /* @__PURE__ */ R({
|
|
|
460
538
|
] } },
|
|
461
539
|
setup(t) {
|
|
462
540
|
let n = t;
|
|
463
|
-
return (t, r) => (
|
|
541
|
+
return (t, r) => (R(), j("div", { class: L(W(e)("grid gap-1.5 p-4 text-center sm:text-left", n.class)) }, [V(t.$slots, "default")], 2));
|
|
464
542
|
}
|
|
465
|
-
}),
|
|
543
|
+
}), Gr = /* @__PURE__ */ F({
|
|
466
544
|
__name: "DrawerFooter",
|
|
467
545
|
props: { class: { type: [
|
|
468
546
|
Boolean,
|
|
@@ -473,9 +551,9 @@ var Or = /* @__PURE__ */ R({
|
|
|
473
551
|
] } },
|
|
474
552
|
setup(t) {
|
|
475
553
|
let n = t;
|
|
476
|
-
return (t, r) => (
|
|
554
|
+
return (t, r) => (R(), j("div", { class: L(W(e)("mt-auto flex flex-col gap-2 p-4", n.class)) }, [V(t.$slots, "default")], 2));
|
|
477
555
|
}
|
|
478
|
-
}),
|
|
556
|
+
}), Kr = /* @__PURE__ */ F({
|
|
479
557
|
__name: "DrawerTitle",
|
|
480
558
|
props: {
|
|
481
559
|
asChild: { type: Boolean },
|
|
@@ -489,16 +567,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
489
567
|
] }
|
|
490
568
|
},
|
|
491
569
|
setup(t) {
|
|
492
|
-
let n = t, r =
|
|
570
|
+
let n = t, r = O(() => {
|
|
493
571
|
let { class: e, ...t } = n;
|
|
494
572
|
return t;
|
|
495
573
|
});
|
|
496
|
-
return (t, i) => (
|
|
497
|
-
default:
|
|
574
|
+
return (t, i) => (R(), k(W(Cr), I(r.value, { class: W(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
575
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
498
576
|
_: 3
|
|
499
577
|
}, 16, ["class"]));
|
|
500
578
|
}
|
|
501
|
-
}),
|
|
579
|
+
}), qr = /* @__PURE__ */ F({
|
|
502
580
|
__name: "DrawerDescription",
|
|
503
581
|
props: {
|
|
504
582
|
asChild: { type: Boolean },
|
|
@@ -512,16 +590,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
512
590
|
] }
|
|
513
591
|
},
|
|
514
592
|
setup(t) {
|
|
515
|
-
let n = t, r =
|
|
593
|
+
let n = t, r = O(() => {
|
|
516
594
|
let { class: e, ...t } = n;
|
|
517
595
|
return t;
|
|
518
596
|
});
|
|
519
|
-
return (t, i) => (
|
|
520
|
-
default:
|
|
597
|
+
return (t, i) => (R(), k(W(vr), I(r.value, { class: W(e)("text-sm text-muted-foreground", n.class) }), {
|
|
598
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
521
599
|
_: 3
|
|
522
600
|
}, 16, ["class"]));
|
|
523
601
|
}
|
|
524
|
-
}),
|
|
602
|
+
}), Jr = /* @__PURE__ */ F({
|
|
525
603
|
__name: "MetricPill",
|
|
526
604
|
props: {
|
|
527
605
|
amount: {},
|
|
@@ -542,8 +620,8 @@ var Or = /* @__PURE__ */ R({
|
|
|
542
620
|
] }
|
|
543
621
|
},
|
|
544
622
|
setup(t) {
|
|
545
|
-
let n = t, r =
|
|
546
|
-
return (e, n) => (
|
|
623
|
+
let n = t, r = O(() => e("metric-pill", n.class));
|
|
624
|
+
return (e, n) => (R(), k(zt, {
|
|
547
625
|
"data-slot": "metric-pill",
|
|
548
626
|
amount: t.amount,
|
|
549
627
|
unit: t.unit,
|
|
@@ -553,7 +631,7 @@ var Or = /* @__PURE__ */ R({
|
|
|
553
631
|
placeholder: t.placeholder,
|
|
554
632
|
size: t.size,
|
|
555
633
|
"label-position": t.labelPosition,
|
|
556
|
-
class:
|
|
634
|
+
class: L(r.value),
|
|
557
635
|
"data-density": t.density
|
|
558
636
|
}, null, 8, [
|
|
559
637
|
"amount",
|
|
@@ -568,18 +646,18 @@ var Or = /* @__PURE__ */ R({
|
|
|
568
646
|
"data-density"
|
|
569
647
|
]));
|
|
570
648
|
}
|
|
571
|
-
}),
|
|
649
|
+
}), Yr = { class: "truncate" }, Xr = {
|
|
572
650
|
key: 0,
|
|
573
651
|
class: "mr-2"
|
|
574
|
-
},
|
|
652
|
+
}, Zr = {
|
|
575
653
|
key: 0,
|
|
576
654
|
class: "flex flex-wrap gap-1 mt-2"
|
|
577
|
-
},
|
|
655
|
+
}, Qr = {
|
|
578
656
|
key: 0,
|
|
579
657
|
class: "mr-1"
|
|
580
|
-
},
|
|
658
|
+
}, $r = /* @__PURE__ */ F({
|
|
581
659
|
__name: "MultiSelect",
|
|
582
|
-
props: /* @__PURE__ */
|
|
660
|
+
props: /* @__PURE__ */ Un({
|
|
583
661
|
options: {},
|
|
584
662
|
placeholder: { default: "Select items..." },
|
|
585
663
|
disabled: {
|
|
@@ -593,12 +671,12 @@ var Or = /* @__PURE__ */ R({
|
|
|
593
671
|
}),
|
|
594
672
|
emits: ["update:modelValue"],
|
|
595
673
|
setup(t) {
|
|
596
|
-
let n = t, r =
|
|
674
|
+
let n = t, r = qn(t, "modelValue"), i = z(!1), a = O(() => n.options.filter((e) => r.value.includes(e.value))), o = O(() => 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})`);
|
|
597
675
|
function s(e) {
|
|
598
676
|
return typeof e == "string" && e.length > 0;
|
|
599
677
|
}
|
|
600
678
|
function c(e) {
|
|
601
|
-
return !e || s(e) ? null :
|
|
679
|
+
return !e || s(e) ? null : Kn(e);
|
|
602
680
|
}
|
|
603
681
|
function d(e) {
|
|
604
682
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -606,50 +684,50 @@ var Or = /* @__PURE__ */ R({
|
|
|
606
684
|
function f(e) {
|
|
607
685
|
r.value = r.value.filter((t) => t !== e);
|
|
608
686
|
}
|
|
609
|
-
return (n, p) => (
|
|
687
|
+
return (n, p) => (R(), j(D, null, [P(W(w), {
|
|
610
688
|
"data-slot": "multi-select",
|
|
611
689
|
open: i.value,
|
|
612
690
|
"onUpdate:open": p[0] ||= (e) => i.value = e
|
|
613
691
|
}, {
|
|
614
|
-
default:
|
|
615
|
-
default:
|
|
692
|
+
default: G(() => [P(W(C), { "as-child": "" }, {
|
|
693
|
+
default: G(() => [P(W(g), {
|
|
616
694
|
variant: "outline",
|
|
617
695
|
role: "combobox",
|
|
618
696
|
"aria-expanded": i.value,
|
|
619
697
|
disabled: t.disabled,
|
|
620
698
|
class: "w-full justify-between text-left font-normal"
|
|
621
699
|
}, {
|
|
622
|
-
default:
|
|
700
|
+
default: G(() => [M("span", Yr, U(o.value), 1), P(W(u), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
623
701
|
_: 1
|
|
624
702
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
625
703
|
_: 1
|
|
626
|
-
}),
|
|
704
|
+
}), P(W(T), {
|
|
627
705
|
class: "w-full p-0",
|
|
628
706
|
align: "start"
|
|
629
707
|
}, {
|
|
630
|
-
default:
|
|
631
|
-
default:
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
default:
|
|
708
|
+
default: G(() => [P(W(y), null, {
|
|
709
|
+
default: G(() => [
|
|
710
|
+
P(W(_), { placeholder: "Search..." }),
|
|
711
|
+
P(W(S), null, {
|
|
712
|
+
default: G(() => [...p[1] ||= [N("No options found.", -1)]]),
|
|
635
713
|
_: 1
|
|
636
714
|
}),
|
|
637
|
-
|
|
638
|
-
default:
|
|
639
|
-
default:
|
|
715
|
+
P(W(x), null, {
|
|
716
|
+
default: G(() => [P(W(b), null, {
|
|
717
|
+
default: G(() => [(R(!0), j(D, null, B(t.options, (t) => (R(), k(W(v), {
|
|
640
718
|
key: t.value,
|
|
641
719
|
value: t.value,
|
|
642
720
|
onSelect: (e) => d(t.value),
|
|
643
721
|
class: "cursor-pointer"
|
|
644
722
|
}, {
|
|
645
|
-
default:
|
|
646
|
-
|
|
647
|
-
s(t.icon) ? (
|
|
723
|
+
default: G(() => [
|
|
724
|
+
P(W(l), { class: L(W(e)("mr-2 h-4 w-4", r.value.includes(t.value) ? "opacity-100" : "opacity-0")) }, null, 8, ["class"]),
|
|
725
|
+
s(t.icon) ? (R(), j("span", Xr, U(t.icon), 1)) : c(t.icon) ? (R(), k(H(c(t.icon)), {
|
|
648
726
|
key: 1,
|
|
649
727
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
650
728
|
"aria-hidden": "true"
|
|
651
|
-
})) :
|
|
652
|
-
|
|
729
|
+
})) : A("", !0),
|
|
730
|
+
N(" " + U(t.label), 1)
|
|
653
731
|
]),
|
|
654
732
|
_: 2
|
|
655
733
|
}, 1032, ["value", "onSelect"]))), 128))]),
|
|
@@ -663,32 +741,32 @@ var Or = /* @__PURE__ */ R({
|
|
|
663
741
|
_: 1
|
|
664
742
|
})]),
|
|
665
743
|
_: 1
|
|
666
|
-
}, 8, ["open"]), a.value.length > 0 ? (
|
|
744
|
+
}, 8, ["open"]), a.value.length > 0 ? (R(), j("div", Zr, [(R(!0), j(D, null, B(a.value, (e) => (R(), k(W(h), {
|
|
667
745
|
key: e.value,
|
|
668
746
|
variant: "secondary",
|
|
669
|
-
class: "text-
|
|
747
|
+
class: "text-[length:var(--control-text-sm)] px-2 py-1"
|
|
670
748
|
}, {
|
|
671
|
-
default:
|
|
672
|
-
s(e.icon) ? (
|
|
749
|
+
default: G(() => [
|
|
750
|
+
s(e.icon) ? (R(), j("span", Qr, U(e.icon), 1)) : c(e.icon) ? (R(), k(H(c(e.icon)), {
|
|
673
751
|
key: 1,
|
|
674
752
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
675
753
|
"aria-hidden": "true"
|
|
676
|
-
})) :
|
|
677
|
-
|
|
678
|
-
|
|
754
|
+
})) : A("", !0),
|
|
755
|
+
N(" " + U(e.label) + " ", 1),
|
|
756
|
+
P(W(g), {
|
|
679
757
|
variant: "ghost",
|
|
680
758
|
size: "sm",
|
|
681
|
-
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
682
|
-
onClick:
|
|
759
|
+
class: "relative touch-hit-area ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
760
|
+
onClick: Yn((t) => f(e.value), ["stop"])
|
|
683
761
|
}, {
|
|
684
|
-
default:
|
|
762
|
+
default: G(() => [P(W(m), { class: "h-2 w-2" })]),
|
|
685
763
|
_: 1
|
|
686
764
|
}, 8, ["onClick"])
|
|
687
765
|
]),
|
|
688
766
|
_: 2
|
|
689
|
-
}, 1024))), 128))])) :
|
|
767
|
+
}, 1024))), 128))])) : A("", !0)], 64));
|
|
690
768
|
}
|
|
691
|
-
}),
|
|
769
|
+
}), ei = /* @__PURE__ */ F({
|
|
692
770
|
__name: "RadioGroup",
|
|
693
771
|
props: {
|
|
694
772
|
modelValue: {},
|
|
@@ -711,19 +789,19 @@ var Or = /* @__PURE__ */ R({
|
|
|
711
789
|
},
|
|
712
790
|
emits: ["update:modelValue"],
|
|
713
791
|
setup(t, { emit: n }) {
|
|
714
|
-
let r = t, i = n, a =
|
|
792
|
+
let r = t, i = n, a = q(O(() => {
|
|
715
793
|
let { class: e, ...t } = r;
|
|
716
794
|
return t;
|
|
717
795
|
}), i);
|
|
718
|
-
return (t, n) => (
|
|
796
|
+
return (t, n) => (R(), k(W(cr), I({
|
|
719
797
|
"data-slot": "radio-group",
|
|
720
|
-
class:
|
|
721
|
-
},
|
|
722
|
-
default:
|
|
798
|
+
class: W(e)("grid gap-2", r.class)
|
|
799
|
+
}, W(a)), {
|
|
800
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
723
801
|
_: 3
|
|
724
802
|
}, 16, ["class"]));
|
|
725
803
|
}
|
|
726
|
-
}),
|
|
804
|
+
}), ti = /* @__PURE__ */ F({
|
|
727
805
|
__name: "RadioGroupItem",
|
|
728
806
|
props: {
|
|
729
807
|
id: {},
|
|
@@ -742,22 +820,22 @@ var Or = /* @__PURE__ */ R({
|
|
|
742
820
|
] }
|
|
743
821
|
},
|
|
744
822
|
setup(t) {
|
|
745
|
-
let n = t, r =
|
|
823
|
+
let n = t, r = K(O(() => {
|
|
746
824
|
let { class: e, ...t } = n;
|
|
747
825
|
return t;
|
|
748
826
|
}));
|
|
749
|
-
return (t, i) => (
|
|
750
|
-
default:
|
|
751
|
-
default:
|
|
827
|
+
return (t, i) => (R(), k(W(sr), I({ "data-slot": "radio-group-item" }, W(r), { class: W(e)("tap-squish focus-ring relative touch-hit-area aspect-square h-4 w-4 rounded-pill border border-primary text-primary transition-control disabled:cursor-not-allowed disabled:opacity-disabled", n.class) }), {
|
|
828
|
+
default: G(() => [P(W(or), { class: "flex items-center justify-center" }, {
|
|
829
|
+
default: G(() => [P(W(se), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
752
830
|
_: 1
|
|
753
831
|
})]),
|
|
754
832
|
_: 1
|
|
755
833
|
}, 16, ["class"]));
|
|
756
834
|
}
|
|
757
|
-
}),
|
|
835
|
+
}), ni = {
|
|
758
836
|
key: 1,
|
|
759
837
|
class: "flex flex-col gap-1"
|
|
760
|
-
},
|
|
838
|
+
}, ri = /* @__PURE__ */ F({
|
|
761
839
|
__name: "Section",
|
|
762
840
|
props: {
|
|
763
841
|
title: {},
|
|
@@ -798,22 +876,22 @@ var Or = /* @__PURE__ */ R({
|
|
|
798
876
|
regular: "gap-2",
|
|
799
877
|
loose: "gap-4"
|
|
800
878
|
};
|
|
801
|
-
return (a, o) => (
|
|
879
|
+
return (a, o) => (R(), j("section", {
|
|
802
880
|
"data-slot": "section",
|
|
803
|
-
class:
|
|
881
|
+
class: L(W(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
804
882
|
}, [
|
|
805
|
-
n.backdrop === "paper" ? (
|
|
883
|
+
n.backdrop === "paper" ? (R(), k(W(Gt), {
|
|
806
884
|
key: 0,
|
|
807
885
|
class: "!absolute inset-0"
|
|
808
|
-
})) :
|
|
809
|
-
t.title || a.$slots.header ? (
|
|
886
|
+
})) : A("", !0),
|
|
887
|
+
t.title || a.$slots.header ? (R(), j("header", ni, [V(a.$slots, "header", {}, () => [M("h2", { class: L(W(e)(r[n.tone], n.titleClass)) }, U(t.title), 3)]), t.description || a.$slots.description ? (R(), j("p", {
|
|
810
888
|
key: 0,
|
|
811
|
-
class:
|
|
812
|
-
}, [
|
|
813
|
-
|
|
889
|
+
class: L(W(e)("section-description", n.descriptionClass))
|
|
890
|
+
}, [V(a.$slots, "description", {}, () => [N(U(t.description), 1)])], 2)) : A("", !0)])) : A("", !0),
|
|
891
|
+
V(a.$slots, "default")
|
|
814
892
|
], 2));
|
|
815
893
|
}
|
|
816
|
-
}),
|
|
894
|
+
}), ii = /* @__PURE__ */ F({
|
|
817
895
|
__name: "TabsContent",
|
|
818
896
|
props: {
|
|
819
897
|
value: {},
|
|
@@ -829,16 +907,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
829
907
|
] }
|
|
830
908
|
},
|
|
831
909
|
setup(t) {
|
|
832
|
-
let n = t, r =
|
|
910
|
+
let n = t, r = O(() => {
|
|
833
911
|
let { class: e, ...t } = n;
|
|
834
912
|
return t;
|
|
835
913
|
});
|
|
836
|
-
return (t, i) => (
|
|
837
|
-
default:
|
|
914
|
+
return (t, i) => (R(), k(W(lr), I({ class: W(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
915
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
838
916
|
_: 3
|
|
839
917
|
}, 16, ["class"]));
|
|
840
918
|
}
|
|
841
|
-
}),
|
|
919
|
+
}), ai = /* @__PURE__ */ F({
|
|
842
920
|
__name: "TagsInput",
|
|
843
921
|
props: {
|
|
844
922
|
modelValue: {},
|
|
@@ -873,16 +951,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
873
951
|
"removeTag"
|
|
874
952
|
],
|
|
875
953
|
setup(t, { emit: n }) {
|
|
876
|
-
let r = t, i = n, a =
|
|
954
|
+
let r = t, i = n, a = q(O(() => {
|
|
877
955
|
let { class: e, ...t } = r;
|
|
878
956
|
return t;
|
|
879
957
|
}), i);
|
|
880
|
-
return (t, n) => (
|
|
881
|
-
default:
|
|
958
|
+
return (t, n) => (R(), k(W(mr), I({ "data-slot": "tags-input" }, W(a), { class: W(e)("flex flex-wrap gap-2 items-center rounded-input border border-input bg-(--glass-bg-quiet) [backdrop-filter:var(--glass-blur-quiet)] px-3 py-2 text-sm", r.class) }), {
|
|
959
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
882
960
|
_: 3
|
|
883
961
|
}, 16, ["class"]));
|
|
884
962
|
}
|
|
885
|
-
}),
|
|
963
|
+
}), oi = /* @__PURE__ */ F({
|
|
886
964
|
__name: "TagsInputInput",
|
|
887
965
|
props: {
|
|
888
966
|
placeholder: {},
|
|
@@ -899,13 +977,13 @@ var Or = /* @__PURE__ */ R({
|
|
|
899
977
|
] }
|
|
900
978
|
},
|
|
901
979
|
setup(t) {
|
|
902
|
-
let n = t, r =
|
|
980
|
+
let n = t, r = K(O(() => {
|
|
903
981
|
let { class: e, ...t } = n;
|
|
904
982
|
return t;
|
|
905
983
|
}));
|
|
906
|
-
return (t, i) => (
|
|
984
|
+
return (t, i) => (R(), k(W(ur), I(W(r), { class: W(e)("text-sm min-h-6 focus:outline-none flex-1 bg-transparent px-1", n.class) }), null, 16, ["class"]));
|
|
907
985
|
}
|
|
908
|
-
}),
|
|
986
|
+
}), si = /* @__PURE__ */ F({
|
|
909
987
|
__name: "TagsInputItem",
|
|
910
988
|
props: {
|
|
911
989
|
value: {},
|
|
@@ -921,16 +999,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
921
999
|
] }
|
|
922
1000
|
},
|
|
923
1001
|
setup(t) {
|
|
924
|
-
let n = t, r =
|
|
1002
|
+
let n = t, r = K(O(() => {
|
|
925
1003
|
let { class: e, ...t } = n;
|
|
926
1004
|
return t;
|
|
927
1005
|
}));
|
|
928
|
-
return (t, i) => (
|
|
929
|
-
default:
|
|
1006
|
+
return (t, i) => (R(), k(W(dr), I(W(r), { class: W(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) }), {
|
|
1007
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
930
1008
|
_: 3
|
|
931
1009
|
}, 16, ["class"]));
|
|
932
1010
|
}
|
|
933
|
-
}),
|
|
1011
|
+
}), ci = /* @__PURE__ */ F({
|
|
934
1012
|
__name: "TagsInputItemDelete",
|
|
935
1013
|
props: {
|
|
936
1014
|
asChild: { type: Boolean },
|
|
@@ -944,16 +1022,16 @@ var Or = /* @__PURE__ */ R({
|
|
|
944
1022
|
] }
|
|
945
1023
|
},
|
|
946
1024
|
setup(t) {
|
|
947
|
-
let n = t, r =
|
|
1025
|
+
let n = t, r = K(O(() => {
|
|
948
1026
|
let { class: e, ...t } = n;
|
|
949
1027
|
return t;
|
|
950
1028
|
}));
|
|
951
|
-
return (t, i) => (
|
|
952
|
-
default:
|
|
1029
|
+
return (t, i) => (R(), k(W(fr), I(W(r), { class: W(e)("relative touch-hit-area flex rounded bg-transparent mr-1", n.class) }), {
|
|
1030
|
+
default: G(() => [V(t.$slots, "default", {}, () => [P(W(m), { class: "w-4 h-4" })])]),
|
|
953
1031
|
_: 3
|
|
954
1032
|
}, 16, ["class"]));
|
|
955
1033
|
}
|
|
956
|
-
}),
|
|
1034
|
+
}), li = /* @__PURE__ */ F({
|
|
957
1035
|
__name: "TagsInputItemText",
|
|
958
1036
|
props: {
|
|
959
1037
|
asChild: { type: Boolean },
|
|
@@ -967,12 +1045,12 @@ var Or = /* @__PURE__ */ R({
|
|
|
967
1045
|
] }
|
|
968
1046
|
},
|
|
969
1047
|
setup(t) {
|
|
970
|
-
let n = t, r =
|
|
1048
|
+
let n = t, r = K(O(() => {
|
|
971
1049
|
let { class: e, ...t } = n;
|
|
972
1050
|
return t;
|
|
973
1051
|
}));
|
|
974
|
-
return (t, i) => (
|
|
1052
|
+
return (t, i) => (R(), k(W(pr), I(W(r), { class: W(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
975
1053
|
}
|
|
976
1054
|
});
|
|
977
1055
|
//#endregion
|
|
978
|
-
export {
|
|
1056
|
+
export { Tr as Accordion, Er as AccordionContent, Dr as AccordionItem, Or as AccordionTrigger, kr as Alert, Ar as AlertDescription, jr as AlertTitle, Mr as Avatar, Pr as AvatarFallback, Nr as AvatarImage, h as Badge, g as Button, me as CONFIGURATOR_DENSITY_KEY, Me as Card, Ne as CardAction, je as CardContent, Oe as CardDescription, ke as CardFooter, Ae as CardHeader, De as CardTitle, Fn as ChassisDivider, Br as Checkbox, Fe as Collapsible, Ie as CollapsibleContent, Pe as CollapsibleTrigger, y as Command, Le as CommandDialog, S as CommandEmpty, b as CommandGroup, _ as CommandInput, v as CommandItem, x 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, 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, Hr as Drawer, gr as DrawerClose, Ur as DrawerContent, qr as DrawerDescription, Gr as DrawerFooter, Wr as DrawerHeader, $ as DrawerOverlay, br as DrawerPortal, Kr as DrawerTitle, wr 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, Ln as HoverPopover, In as InstrumentChassis, Rt as Label, Jr as MetricPill, $r as MultiSelect, d as Notification, ce as NumberField, pe as NumberFieldContent, ue as NumberFieldDecrement, fe as NumberFieldIncrement, le as NumberFieldInput, w as Popover, T as PopoverContent, C as PopoverTrigger, Wt as Progress, Bt as ProgressDefault, Vt as ProgressGradient, Ht as ProgressSectioned, ei as RadioGroup, ti as RadioGroupItem, Rn as ScrollingText, ri 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, Vr as TableCaption, dt as TableCell, ft as TableEmpty, _t as TableHead, ht as TableHeader, ut as TableRow, gn as Tabs, ii as TabsContent, _n as TabsIndicator, E as TabsList, vn as TabsTrigger, ai as TagsInput, oi as TagsInputInput, si as TagsInputItem, ci as TagsInputItemDelete, li 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, Y as alertVariants, X as avatarVariants, xe as badgeVariants, Se as buttonVariants, e as cn, nt as copyToClipboard, Lr as createGlassFilter, ct as createTokenColorCache, Rr as destroyGlassFilter, t as moveBeforeSafe, _e as provideConfiguratorDensity, Ee 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, Te as useCanvas2D, we as useCanvasLifecycle, tt as useClipboard, be as useConfiguratorState, zr as useGlassRenderer, rt as useIdleReady, zn as useInterval, ye as useOptionalConfiguratorDensity, Ut as useProgressGeometry, Qe as useResizeObserver, Bn as useSortable, Ce as useSpecularTracking, Vn as useTextHighlight, $e as useTimer, wn as useToast, it as useTokenColor, et as useTouchGate, lt as useUserInvalidAria, ot as useViewportReady, o as vReveal };
|