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