@mkbabb/glass-ui 3.9.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-lTc002u2.js → MetricBadge-idgrkqoP.js} +1 -1
- package/dist/{Notification-BxK8LZMw.js → Notification-Cu0nN17_.js} +3 -3
- 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-LDKLmmgx.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 +4 -4
- package/dist/api.js +1 -1
- package/dist/aurora.js +238 -547
- package/dist/{badge-BvwvT50i.js → badge-NdCQMvvB.js} +2 -2
- 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-8jBjWiJ6.js → color-B65wWyQz.js} +9 -7
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/{compile-DAjIoEy2.js → compile-Ce_V55zi.js} +23 -23
- package/dist/components/custom/aurora/composables/atoms.d.ts +21 -4
- package/dist/components/custom/aurora/composables/runtime.d.ts +0 -9
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -11
- package/dist/components/custom/aurora/constants/renderMode.d.ts +0 -32
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
- package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +85 -1
- 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 +174 -63
- package/dist/components/custom/constellation/constellationInteraction.d.ts +102 -0
- package/dist/components/custom/constellation/index.d.ts +4 -2
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +11 -0
- 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/fourier-field/FourierField.vue.d.ts +6 -0
- package/dist/components/custom/fourier-field/index.d.ts +25 -1
- package/dist/components/custom/fourier-field/math.d.ts +20 -8
- package/dist/components/custom/fourier-field/presets.d.ts +54 -0
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +8 -10
- 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 +16 -21
- package/dist/components/custom/goo-blob/constants.d.ts +52 -0
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/types.d.ts +59 -25
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- 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 +25 -18
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- package/dist/composables/color/index.d.ts +24 -7
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -3
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +1 -6
- 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 +322 -147
- 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 +340 -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 +1 -1
- package/dist/forms.js +2 -2
- package/dist/fourier-field.js +147 -120
- package/dist/fourier-math.d.ts +1 -0
- package/dist/fourier-math.js +2 -0
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +286 -207
- package/dist/goo-blob.js +368 -322
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +5 -5
- package/dist/math-BUU9hHID.js +43 -0
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +2 -2
- package/dist/motion-core.js +4 -4
- 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-DC2mwuoe.js → slider-sfl8gFDD.js} +8 -8
- 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/cards.css +2 -2
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock/layer-group.css +38 -4
- 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 +25 -12
- package/dist/styles/drawer.css +14 -4
- 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 -1052
- 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/theme.css +14 -14
- 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 -2269
- package/dist/styles/transitions.css +20 -2
- 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 -1170
- 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-C5I3wWd8.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/watercolor-dot.js +2 -2
- package/package.json +62 -38
- package/src/styles/cards.css +2 -2
- package/src/styles/dock/layer-group.css +38 -4
- 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 +25 -12
- package/src/styles/drawer.css +12 -4
- 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 -1052
- package/src/styles/index.css +24 -6
- package/src/styles/theme.css +14 -14
- 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 -2269
- package/src/styles/transitions.css +20 -2
- 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 -1170
- package/dist/DeckProgress-Dmk4_AKN.js +0 -23
- package/dist/InstrumentRail-CUJ05YVG.js +0 -44
- package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +0 -16
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -7
- package/dist/components/custom/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/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/glass/createGPUCanvas.d.ts +0 -40
- 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/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-5I0YkI4t.js +0 -69
- package/dist/useSpecularTracking-BVRZsRHA.js +0 -26
- package/dist/useSpringMount-BJSHcLl3.js +0 -113
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-Drow5WkV.js} +0 -0
- /package/dist/{DialogFooter-Gprw8H_A.js → DialogFooter-DufLHi0y.js} +0 -0
- /package/dist/{IconTooltip-yefK7cJc.js → IconTooltip-BrQ5p181.js} +0 -0
- /package/dist/{Input-DWQQIOC4.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/{constants-CS75AWHG.js → constants-C8NMonuo.js} +0 -0
- /package/dist/{presets-BKVyQfbt.js → presets-1OhFpaIC.js} +0 -0
- /package/dist/{prng-wHuHlNHE.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-yhL4Wp-s.js → useGlobalDark-D7R9OypB.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-DAdVPVp4.js} +0 -0
- /package/dist/{useInterval-Dsmqwi03.js → useInterval-D3USn0yc.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-i8tHd5WO.js} +0 -0
- /package/dist/{useScrollProgress-CAH8Ofwt.js → useScrollProgress-CcgmgMQt.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-DnyGXKKY.js} +0 -0
- /package/dist/{useTextHighlight-DON84L8w.js → useTextHighlight-B3b10W6r.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -3,22 +3,21 @@ import { a as t, i as n, n as r, o as i, r as a, t as o } from "./vReveal-CqaCz_
|
|
|
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,40 +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 {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import { cva as X } from "class-variance-authority";
|
|
59
|
-
import { DrawerClose as _r, DrawerContent as vr, DrawerDescription as yr, DrawerOverlay as br, DrawerPortal as xr, DrawerPortal as Sr, DrawerRoot as Cr, DrawerTitle as wr, DrawerTrigger as Tr } from "vaul-vue";
|
|
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";
|
|
60
57
|
//#endregion
|
|
61
58
|
//#region src/components/ui/accordion/Accordion.vue
|
|
62
|
-
var
|
|
59
|
+
var Tr = /* @__PURE__ */ F({
|
|
63
60
|
__name: "Accordion",
|
|
64
61
|
props: {
|
|
65
62
|
collapsible: { type: Boolean },
|
|
@@ -75,13 +72,13 @@ var Er = /* @__PURE__ */ R({
|
|
|
75
72
|
},
|
|
76
73
|
emits: ["update:modelValue"],
|
|
77
74
|
setup(e, { emit: t }) {
|
|
78
|
-
let n =
|
|
79
|
-
return (e, t) => (
|
|
80
|
-
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")]),
|
|
81
78
|
_: 3
|
|
82
79
|
}, 16));
|
|
83
80
|
}
|
|
84
|
-
}),
|
|
81
|
+
}), Er = /* @__PURE__ */ F({
|
|
85
82
|
__name: "AccordionContent",
|
|
86
83
|
props: {
|
|
87
84
|
forceMount: { type: Boolean },
|
|
@@ -96,16 +93,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
96
93
|
] }
|
|
97
94
|
},
|
|
98
95
|
setup(t) {
|
|
99
|
-
let n = t, r =
|
|
96
|
+
let n = t, r = O(() => {
|
|
100
97
|
let { class: e, ...t } = n;
|
|
101
98
|
return t;
|
|
102
99
|
});
|
|
103
|
-
return (t, i) => (
|
|
104
|
-
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)]),
|
|
105
102
|
_: 3
|
|
106
103
|
}, 16));
|
|
107
104
|
}
|
|
108
|
-
}),
|
|
105
|
+
}), Dr = /* @__PURE__ */ F({
|
|
109
106
|
__name: "AccordionItem",
|
|
110
107
|
props: {
|
|
111
108
|
disabled: { type: Boolean },
|
|
@@ -122,16 +119,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
122
119
|
] }
|
|
123
120
|
},
|
|
124
121
|
setup(t) {
|
|
125
|
-
let n = t, r =
|
|
122
|
+
let n = t, r = K(O(() => {
|
|
126
123
|
let { class: e, ...t } = n;
|
|
127
124
|
return t;
|
|
128
125
|
}));
|
|
129
|
-
return (t, i) => (
|
|
130
|
-
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")]),
|
|
131
128
|
_: 3
|
|
132
129
|
}, 16, ["class"]));
|
|
133
130
|
}
|
|
134
|
-
}),
|
|
131
|
+
}), Or = /* @__PURE__ */ F({
|
|
135
132
|
__name: "AccordionTrigger",
|
|
136
133
|
props: {
|
|
137
134
|
asChild: { type: Boolean },
|
|
@@ -145,19 +142,19 @@ var Er = /* @__PURE__ */ R({
|
|
|
145
142
|
] }
|
|
146
143
|
},
|
|
147
144
|
setup(t) {
|
|
148
|
-
let n = t, r =
|
|
145
|
+
let n = t, r = O(() => {
|
|
149
146
|
let { class: e, ...t } = n;
|
|
150
147
|
return t;
|
|
151
148
|
});
|
|
152
|
-
return (t, i) => (
|
|
153
|
-
default:
|
|
154
|
-
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" })])]),
|
|
155
152
|
_: 3
|
|
156
153
|
}, 16, ["class"])]),
|
|
157
154
|
_: 3
|
|
158
155
|
}));
|
|
159
156
|
}
|
|
160
|
-
}),
|
|
157
|
+
}), kr = /* @__PURE__ */ F({
|
|
161
158
|
__name: "Alert",
|
|
162
159
|
props: {
|
|
163
160
|
class: { type: [
|
|
@@ -171,13 +168,13 @@ var Er = /* @__PURE__ */ R({
|
|
|
171
168
|
},
|
|
172
169
|
setup(t) {
|
|
173
170
|
let n = t;
|
|
174
|
-
return (r, i) => (
|
|
171
|
+
return (r, i) => (R(), j("div", {
|
|
175
172
|
"data-slot": "alert",
|
|
176
|
-
class:
|
|
173
|
+
class: L(W(e)(W(Y)({ variant: t.variant }), n.class)),
|
|
177
174
|
role: "alert"
|
|
178
|
-
}, [
|
|
175
|
+
}, [V(r.$slots, "default")], 2));
|
|
179
176
|
}
|
|
180
|
-
}),
|
|
177
|
+
}), Ar = /* @__PURE__ */ F({
|
|
181
178
|
__name: "AlertDescription",
|
|
182
179
|
props: { class: { type: [
|
|
183
180
|
Boolean,
|
|
@@ -188,12 +185,12 @@ var Er = /* @__PURE__ */ R({
|
|
|
188
185
|
] } },
|
|
189
186
|
setup(t) {
|
|
190
187
|
let n = t;
|
|
191
|
-
return (t, r) => (
|
|
188
|
+
return (t, r) => (R(), j("div", {
|
|
192
189
|
"data-slot": "alert-description",
|
|
193
|
-
class:
|
|
194
|
-
}, [
|
|
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));
|
|
195
192
|
}
|
|
196
|
-
}),
|
|
193
|
+
}), jr = /* @__PURE__ */ F({
|
|
197
194
|
__name: "AlertTitle",
|
|
198
195
|
props: { class: { type: [
|
|
199
196
|
Boolean,
|
|
@@ -204,21 +201,21 @@ var Er = /* @__PURE__ */ R({
|
|
|
204
201
|
] } },
|
|
205
202
|
setup(t) {
|
|
206
203
|
let n = t;
|
|
207
|
-
return (t, r) => (
|
|
204
|
+
return (t, r) => (R(), j("div", {
|
|
208
205
|
"data-slot": "alert-title",
|
|
209
|
-
class:
|
|
210
|
-
}, [
|
|
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));
|
|
211
208
|
}
|
|
212
|
-
}),
|
|
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", {
|
|
213
210
|
variants: { variant: {
|
|
214
|
-
default: "bg-
|
|
215
|
-
destructive: "text-destructive bg-
|
|
216
|
-
success: "bg-
|
|
217
|
-
warning: "bg-
|
|
218
|
-
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"
|
|
219
216
|
} },
|
|
220
217
|
defaultVariants: { variant: "default" }
|
|
221
|
-
}),
|
|
218
|
+
}), Mr = /* @__PURE__ */ F({
|
|
222
219
|
__name: "Avatar",
|
|
223
220
|
props: {
|
|
224
221
|
class: { type: [
|
|
@@ -233,18 +230,18 @@ var Er = /* @__PURE__ */ R({
|
|
|
233
230
|
},
|
|
234
231
|
setup(t) {
|
|
235
232
|
let n = t;
|
|
236
|
-
return (r, i) => (
|
|
233
|
+
return (r, i) => (R(), k(W(rr), {
|
|
237
234
|
"data-slot": "avatar",
|
|
238
|
-
class:
|
|
235
|
+
class: L(W(e)(W(X)({
|
|
239
236
|
size: t.size,
|
|
240
237
|
shape: t.shape
|
|
241
238
|
}), n.class))
|
|
242
239
|
}, {
|
|
243
|
-
default:
|
|
240
|
+
default: G(() => [V(r.$slots, "default")]),
|
|
244
241
|
_: 3
|
|
245
242
|
}, 8, ["class"]));
|
|
246
243
|
}
|
|
247
|
-
}),
|
|
244
|
+
}), Nr = /* @__PURE__ */ F({
|
|
248
245
|
__name: "AvatarImage",
|
|
249
246
|
props: {
|
|
250
247
|
src: {},
|
|
@@ -256,9 +253,9 @@ var Er = /* @__PURE__ */ R({
|
|
|
256
253
|
},
|
|
257
254
|
setup(e) {
|
|
258
255
|
let t = e;
|
|
259
|
-
return (e, n) => (
|
|
256
|
+
return (e, n) => (R(), k(W(nr), I(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
260
257
|
}
|
|
261
|
-
}),
|
|
258
|
+
}), Pr = /* @__PURE__ */ F({
|
|
262
259
|
__name: "AvatarFallback",
|
|
263
260
|
props: {
|
|
264
261
|
delayMs: {},
|
|
@@ -267,14 +264,14 @@ var Er = /* @__PURE__ */ R({
|
|
|
267
264
|
},
|
|
268
265
|
setup(e) {
|
|
269
266
|
let t = e;
|
|
270
|
-
return (e, n) => (
|
|
271
|
-
default:
|
|
267
|
+
return (e, n) => (R(), k(W(tr), Wn(Hn(t)), {
|
|
268
|
+
default: G(() => [V(e.$slots, "default")]),
|
|
272
269
|
_: 3
|
|
273
270
|
}, 16));
|
|
274
271
|
}
|
|
275
|
-
}),
|
|
272
|
+
}), X = J("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
276
273
|
size: {
|
|
277
|
-
sm: "h-
|
|
274
|
+
sm: "h-(--control-h-md) w-(--control-h-md) text-xs",
|
|
278
275
|
base: "h-16 w-16 text-2xl",
|
|
279
276
|
lg: "h-32 w-32 text-5xl"
|
|
280
277
|
},
|
|
@@ -282,7 +279,77 @@ var Er = /* @__PURE__ */ R({
|
|
|
282
279
|
circle: "rounded-pill",
|
|
283
280
|
square: "rounded-input"
|
|
284
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
353
|
__name: "Checkbox",
|
|
287
354
|
props: {
|
|
288
355
|
defaultValue: {},
|
|
@@ -306,19 +373,19 @@ var Er = /* @__PURE__ */ R({
|
|
|
306
373
|
},
|
|
307
374
|
emits: ["update:modelValue"],
|
|
308
375
|
setup(t, { emit: n }) {
|
|
309
|
-
let r = t, i = n, a =
|
|
376
|
+
let r = t, i = n, a = q(O(() => {
|
|
310
377
|
let { class: e, ...t } = r;
|
|
311
378
|
return t;
|
|
312
379
|
}), i);
|
|
313
|
-
return (t, n) => (
|
|
314
|
-
default:
|
|
315
|
-
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" })])]),
|
|
316
383
|
_: 3
|
|
317
384
|
})]),
|
|
318
385
|
_: 3
|
|
319
386
|
}, 16, ["class"]));
|
|
320
387
|
}
|
|
321
|
-
}),
|
|
388
|
+
}), Vr = /* @__PURE__ */ F({
|
|
322
389
|
__name: "TableCaption",
|
|
323
390
|
props: { class: { type: [
|
|
324
391
|
Boolean,
|
|
@@ -329,9 +396,9 @@ var Er = /* @__PURE__ */ R({
|
|
|
329
396
|
] } },
|
|
330
397
|
setup(t) {
|
|
331
398
|
let n = t;
|
|
332
|
-
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));
|
|
333
400
|
}
|
|
334
|
-
}),
|
|
401
|
+
}), Hr = /* @__PURE__ */ F({
|
|
335
402
|
__name: "Drawer",
|
|
336
403
|
props: {
|
|
337
404
|
activeSnapPoint: {},
|
|
@@ -348,7 +415,10 @@ var Er = /* @__PURE__ */ R({
|
|
|
348
415
|
type: Boolean,
|
|
349
416
|
default: void 0
|
|
350
417
|
},
|
|
351
|
-
open: {
|
|
418
|
+
open: {
|
|
419
|
+
type: Boolean,
|
|
420
|
+
default: void 0
|
|
421
|
+
},
|
|
352
422
|
defaultOpen: { type: Boolean },
|
|
353
423
|
nested: { type: Boolean },
|
|
354
424
|
direction: {},
|
|
@@ -368,26 +438,35 @@ var Er = /* @__PURE__ */ R({
|
|
|
368
438
|
"animationEnd"
|
|
369
439
|
],
|
|
370
440
|
setup(e, { emit: t }) {
|
|
371
|
-
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 = [
|
|
372
449
|
.12,
|
|
373
450
|
.5,
|
|
374
451
|
1
|
|
375
|
-
],
|
|
376
|
-
let { mode: e,
|
|
452
|
+
], l = O(() => {
|
|
453
|
+
let { mode: e, open: t, ...r } = n, l = e === "live-behind";
|
|
377
454
|
return {
|
|
378
|
-
...
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
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
|
|
383
462
|
};
|
|
384
463
|
});
|
|
385
|
-
return (e, t) => (
|
|
386
|
-
default:
|
|
464
|
+
return (e, t) => (R(), k(W(Sr), I({ "data-slot": "drawer" }, l.value), {
|
|
465
|
+
default: G(() => [V(e.$slots, "default")]),
|
|
387
466
|
_: 3
|
|
388
467
|
}, 16));
|
|
389
468
|
}
|
|
390
|
-
}), $ = /* @__PURE__ */
|
|
469
|
+
}), $ = /* @__PURE__ */ F({
|
|
391
470
|
__name: "DrawerOverlay",
|
|
392
471
|
props: {
|
|
393
472
|
forceMount: { type: Boolean },
|
|
@@ -402,13 +481,13 @@ var Er = /* @__PURE__ */ R({
|
|
|
402
481
|
] }
|
|
403
482
|
},
|
|
404
483
|
setup(t) {
|
|
405
|
-
let n = t, r =
|
|
484
|
+
let n = t, r = O(() => {
|
|
406
485
|
let { class: e, ...t } = n;
|
|
407
486
|
return t;
|
|
408
487
|
});
|
|
409
|
-
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"]));
|
|
410
489
|
}
|
|
411
|
-
}),
|
|
490
|
+
}), Ur = /* @__PURE__ */ F({
|
|
412
491
|
__name: "DrawerContent",
|
|
413
492
|
props: {
|
|
414
493
|
forceMount: { type: Boolean },
|
|
@@ -436,19 +515,19 @@ var Er = /* @__PURE__ */ R({
|
|
|
436
515
|
"closeAutoFocus"
|
|
437
516
|
],
|
|
438
517
|
setup(t, { emit: n }) {
|
|
439
|
-
let r = t, i =
|
|
440
|
-
return (t, n) => (
|
|
441
|
-
default:
|
|
442
|
-
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", {
|
|
443
522
|
class: "glass-drawer-handle",
|
|
444
523
|
"aria-hidden": "true"
|
|
445
|
-
}, [
|
|
524
|
+
}, [M("span", { class: "glass-drawer-grip" })], -1), V(t.$slots, "default")]),
|
|
446
525
|
_: 3
|
|
447
526
|
}, 16, ["class"])]),
|
|
448
527
|
_: 3
|
|
449
528
|
}));
|
|
450
529
|
}
|
|
451
|
-
}),
|
|
530
|
+
}), Wr = /* @__PURE__ */ F({
|
|
452
531
|
__name: "DrawerHeader",
|
|
453
532
|
props: { class: { type: [
|
|
454
533
|
Boolean,
|
|
@@ -459,9 +538,9 @@ var Er = /* @__PURE__ */ R({
|
|
|
459
538
|
] } },
|
|
460
539
|
setup(t) {
|
|
461
540
|
let n = t;
|
|
462
|
-
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));
|
|
463
542
|
}
|
|
464
|
-
}),
|
|
543
|
+
}), Gr = /* @__PURE__ */ F({
|
|
465
544
|
__name: "DrawerFooter",
|
|
466
545
|
props: { class: { type: [
|
|
467
546
|
Boolean,
|
|
@@ -472,9 +551,9 @@ var Er = /* @__PURE__ */ R({
|
|
|
472
551
|
] } },
|
|
473
552
|
setup(t) {
|
|
474
553
|
let n = t;
|
|
475
|
-
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));
|
|
476
555
|
}
|
|
477
|
-
}),
|
|
556
|
+
}), Kr = /* @__PURE__ */ F({
|
|
478
557
|
__name: "DrawerTitle",
|
|
479
558
|
props: {
|
|
480
559
|
asChild: { type: Boolean },
|
|
@@ -488,16 +567,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
488
567
|
] }
|
|
489
568
|
},
|
|
490
569
|
setup(t) {
|
|
491
|
-
let n = t, r =
|
|
570
|
+
let n = t, r = O(() => {
|
|
492
571
|
let { class: e, ...t } = n;
|
|
493
572
|
return t;
|
|
494
573
|
});
|
|
495
|
-
return (t, i) => (
|
|
496
|
-
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")]),
|
|
497
576
|
_: 3
|
|
498
577
|
}, 16, ["class"]));
|
|
499
578
|
}
|
|
500
|
-
}),
|
|
579
|
+
}), qr = /* @__PURE__ */ F({
|
|
501
580
|
__name: "DrawerDescription",
|
|
502
581
|
props: {
|
|
503
582
|
asChild: { type: Boolean },
|
|
@@ -511,16 +590,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
511
590
|
] }
|
|
512
591
|
},
|
|
513
592
|
setup(t) {
|
|
514
|
-
let n = t, r =
|
|
593
|
+
let n = t, r = O(() => {
|
|
515
594
|
let { class: e, ...t } = n;
|
|
516
595
|
return t;
|
|
517
596
|
});
|
|
518
|
-
return (t, i) => (
|
|
519
|
-
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")]),
|
|
520
599
|
_: 3
|
|
521
600
|
}, 16, ["class"]));
|
|
522
601
|
}
|
|
523
|
-
}),
|
|
602
|
+
}), Jr = /* @__PURE__ */ F({
|
|
524
603
|
__name: "MetricPill",
|
|
525
604
|
props: {
|
|
526
605
|
amount: {},
|
|
@@ -541,8 +620,8 @@ var Er = /* @__PURE__ */ R({
|
|
|
541
620
|
] }
|
|
542
621
|
},
|
|
543
622
|
setup(t) {
|
|
544
|
-
let n = t, r =
|
|
545
|
-
return (e, n) => (
|
|
623
|
+
let n = t, r = O(() => e("metric-pill", n.class));
|
|
624
|
+
return (e, n) => (R(), k(zt, {
|
|
546
625
|
"data-slot": "metric-pill",
|
|
547
626
|
amount: t.amount,
|
|
548
627
|
unit: t.unit,
|
|
@@ -552,7 +631,7 @@ var Er = /* @__PURE__ */ R({
|
|
|
552
631
|
placeholder: t.placeholder,
|
|
553
632
|
size: t.size,
|
|
554
633
|
"label-position": t.labelPosition,
|
|
555
|
-
class:
|
|
634
|
+
class: L(r.value),
|
|
556
635
|
"data-density": t.density
|
|
557
636
|
}, null, 8, [
|
|
558
637
|
"amount",
|
|
@@ -567,18 +646,18 @@ var Er = /* @__PURE__ */ R({
|
|
|
567
646
|
"data-density"
|
|
568
647
|
]));
|
|
569
648
|
}
|
|
570
|
-
}),
|
|
649
|
+
}), Yr = { class: "truncate" }, Xr = {
|
|
571
650
|
key: 0,
|
|
572
651
|
class: "mr-2"
|
|
573
|
-
},
|
|
652
|
+
}, Zr = {
|
|
574
653
|
key: 0,
|
|
575
654
|
class: "flex flex-wrap gap-1 mt-2"
|
|
576
|
-
},
|
|
655
|
+
}, Qr = {
|
|
577
656
|
key: 0,
|
|
578
657
|
class: "mr-1"
|
|
579
|
-
},
|
|
658
|
+
}, $r = /* @__PURE__ */ F({
|
|
580
659
|
__name: "MultiSelect",
|
|
581
|
-
props: /* @__PURE__ */
|
|
660
|
+
props: /* @__PURE__ */ Un({
|
|
582
661
|
options: {},
|
|
583
662
|
placeholder: { default: "Select items..." },
|
|
584
663
|
disabled: {
|
|
@@ -592,12 +671,12 @@ var Er = /* @__PURE__ */ R({
|
|
|
592
671
|
}),
|
|
593
672
|
emits: ["update:modelValue"],
|
|
594
673
|
setup(t) {
|
|
595
|
-
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})`);
|
|
596
675
|
function s(e) {
|
|
597
676
|
return typeof e == "string" && e.length > 0;
|
|
598
677
|
}
|
|
599
678
|
function c(e) {
|
|
600
|
-
return !e || s(e) ? null :
|
|
679
|
+
return !e || s(e) ? null : Kn(e);
|
|
601
680
|
}
|
|
602
681
|
function d(e) {
|
|
603
682
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -605,50 +684,50 @@ var Er = /* @__PURE__ */ R({
|
|
|
605
684
|
function f(e) {
|
|
606
685
|
r.value = r.value.filter((t) => t !== e);
|
|
607
686
|
}
|
|
608
|
-
return (n, p) => (
|
|
687
|
+
return (n, p) => (R(), j(D, null, [P(W(w), {
|
|
609
688
|
"data-slot": "multi-select",
|
|
610
689
|
open: i.value,
|
|
611
690
|
"onUpdate:open": p[0] ||= (e) => i.value = e
|
|
612
691
|
}, {
|
|
613
|
-
default:
|
|
614
|
-
default:
|
|
692
|
+
default: G(() => [P(W(C), { "as-child": "" }, {
|
|
693
|
+
default: G(() => [P(W(g), {
|
|
615
694
|
variant: "outline",
|
|
616
695
|
role: "combobox",
|
|
617
696
|
"aria-expanded": i.value,
|
|
618
697
|
disabled: t.disabled,
|
|
619
698
|
class: "w-full justify-between text-left font-normal"
|
|
620
699
|
}, {
|
|
621
|
-
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" })]),
|
|
622
701
|
_: 1
|
|
623
702
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
624
703
|
_: 1
|
|
625
|
-
}),
|
|
704
|
+
}), P(W(T), {
|
|
626
705
|
class: "w-full p-0",
|
|
627
706
|
align: "start"
|
|
628
707
|
}, {
|
|
629
|
-
default:
|
|
630
|
-
default:
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
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)]]),
|
|
634
713
|
_: 1
|
|
635
714
|
}),
|
|
636
|
-
|
|
637
|
-
default:
|
|
638
|
-
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), {
|
|
639
718
|
key: t.value,
|
|
640
719
|
value: t.value,
|
|
641
720
|
onSelect: (e) => d(t.value),
|
|
642
721
|
class: "cursor-pointer"
|
|
643
722
|
}, {
|
|
644
|
-
default:
|
|
645
|
-
|
|
646
|
-
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)), {
|
|
647
726
|
key: 1,
|
|
648
727
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
649
728
|
"aria-hidden": "true"
|
|
650
|
-
})) :
|
|
651
|
-
|
|
729
|
+
})) : A("", !0),
|
|
730
|
+
N(" " + U(t.label), 1)
|
|
652
731
|
]),
|
|
653
732
|
_: 2
|
|
654
733
|
}, 1032, ["value", "onSelect"]))), 128))]),
|
|
@@ -662,32 +741,32 @@ var Er = /* @__PURE__ */ R({
|
|
|
662
741
|
_: 1
|
|
663
742
|
})]),
|
|
664
743
|
_: 1
|
|
665
|
-
}, 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), {
|
|
666
745
|
key: e.value,
|
|
667
746
|
variant: "secondary",
|
|
668
|
-
class: "text-
|
|
747
|
+
class: "text-[length:var(--control-text-sm)] px-2 py-1"
|
|
669
748
|
}, {
|
|
670
|
-
default:
|
|
671
|
-
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)), {
|
|
672
751
|
key: 1,
|
|
673
752
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
674
753
|
"aria-hidden": "true"
|
|
675
|
-
})) :
|
|
676
|
-
|
|
677
|
-
|
|
754
|
+
})) : A("", !0),
|
|
755
|
+
N(" " + U(e.label) + " ", 1),
|
|
756
|
+
P(W(g), {
|
|
678
757
|
variant: "ghost",
|
|
679
758
|
size: "sm",
|
|
680
|
-
class: "ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
681
|
-
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"])
|
|
682
761
|
}, {
|
|
683
|
-
default:
|
|
762
|
+
default: G(() => [P(W(m), { class: "h-2 w-2" })]),
|
|
684
763
|
_: 1
|
|
685
764
|
}, 8, ["onClick"])
|
|
686
765
|
]),
|
|
687
766
|
_: 2
|
|
688
|
-
}, 1024))), 128))])) :
|
|
767
|
+
}, 1024))), 128))])) : A("", !0)], 64));
|
|
689
768
|
}
|
|
690
|
-
}),
|
|
769
|
+
}), ei = /* @__PURE__ */ F({
|
|
691
770
|
__name: "RadioGroup",
|
|
692
771
|
props: {
|
|
693
772
|
modelValue: {},
|
|
@@ -710,19 +789,19 @@ var Er = /* @__PURE__ */ R({
|
|
|
710
789
|
},
|
|
711
790
|
emits: ["update:modelValue"],
|
|
712
791
|
setup(t, { emit: n }) {
|
|
713
|
-
let r = t, i = n, a =
|
|
792
|
+
let r = t, i = n, a = q(O(() => {
|
|
714
793
|
let { class: e, ...t } = r;
|
|
715
794
|
return t;
|
|
716
795
|
}), i);
|
|
717
|
-
return (t, n) => (
|
|
796
|
+
return (t, n) => (R(), k(W(cr), I({
|
|
718
797
|
"data-slot": "radio-group",
|
|
719
|
-
class:
|
|
720
|
-
},
|
|
721
|
-
default:
|
|
798
|
+
class: W(e)("grid gap-2", r.class)
|
|
799
|
+
}, W(a)), {
|
|
800
|
+
default: G(() => [V(t.$slots, "default")]),
|
|
722
801
|
_: 3
|
|
723
802
|
}, 16, ["class"]));
|
|
724
803
|
}
|
|
725
|
-
}),
|
|
804
|
+
}), ti = /* @__PURE__ */ F({
|
|
726
805
|
__name: "RadioGroupItem",
|
|
727
806
|
props: {
|
|
728
807
|
id: {},
|
|
@@ -741,22 +820,22 @@ var Er = /* @__PURE__ */ R({
|
|
|
741
820
|
] }
|
|
742
821
|
},
|
|
743
822
|
setup(t) {
|
|
744
|
-
let n = t, r =
|
|
823
|
+
let n = t, r = K(O(() => {
|
|
745
824
|
let { class: e, ...t } = n;
|
|
746
825
|
return t;
|
|
747
826
|
}));
|
|
748
|
-
return (t, i) => (
|
|
749
|
-
default:
|
|
750
|
-
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" })]),
|
|
751
830
|
_: 1
|
|
752
831
|
})]),
|
|
753
832
|
_: 1
|
|
754
833
|
}, 16, ["class"]));
|
|
755
834
|
}
|
|
756
|
-
}),
|
|
835
|
+
}), ni = {
|
|
757
836
|
key: 1,
|
|
758
837
|
class: "flex flex-col gap-1"
|
|
759
|
-
},
|
|
838
|
+
}, ri = /* @__PURE__ */ F({
|
|
760
839
|
__name: "Section",
|
|
761
840
|
props: {
|
|
762
841
|
title: {},
|
|
@@ -797,22 +876,22 @@ var Er = /* @__PURE__ */ R({
|
|
|
797
876
|
regular: "gap-2",
|
|
798
877
|
loose: "gap-4"
|
|
799
878
|
};
|
|
800
|
-
return (a, o) => (
|
|
879
|
+
return (a, o) => (R(), j("section", {
|
|
801
880
|
"data-slot": "section",
|
|
802
|
-
class:
|
|
881
|
+
class: L(W(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
803
882
|
}, [
|
|
804
|
-
n.backdrop === "paper" ? (
|
|
883
|
+
n.backdrop === "paper" ? (R(), k(W(Gt), {
|
|
805
884
|
key: 0,
|
|
806
885
|
class: "!absolute inset-0"
|
|
807
|
-
})) :
|
|
808
|
-
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", {
|
|
809
888
|
key: 0,
|
|
810
|
-
class:
|
|
811
|
-
}, [
|
|
812
|
-
|
|
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")
|
|
813
892
|
], 2));
|
|
814
893
|
}
|
|
815
|
-
}),
|
|
894
|
+
}), ii = /* @__PURE__ */ F({
|
|
816
895
|
__name: "TabsContent",
|
|
817
896
|
props: {
|
|
818
897
|
value: {},
|
|
@@ -828,16 +907,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
828
907
|
] }
|
|
829
908
|
},
|
|
830
909
|
setup(t) {
|
|
831
|
-
let n = t, r =
|
|
910
|
+
let n = t, r = O(() => {
|
|
832
911
|
let { class: e, ...t } = n;
|
|
833
912
|
return t;
|
|
834
913
|
});
|
|
835
|
-
return (t, i) => (
|
|
836
|
-
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")]),
|
|
837
916
|
_: 3
|
|
838
917
|
}, 16, ["class"]));
|
|
839
918
|
}
|
|
840
|
-
}),
|
|
919
|
+
}), ai = /* @__PURE__ */ F({
|
|
841
920
|
__name: "TagsInput",
|
|
842
921
|
props: {
|
|
843
922
|
modelValue: {},
|
|
@@ -872,16 +951,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
872
951
|
"removeTag"
|
|
873
952
|
],
|
|
874
953
|
setup(t, { emit: n }) {
|
|
875
|
-
let r = t, i = n, a =
|
|
954
|
+
let r = t, i = n, a = q(O(() => {
|
|
876
955
|
let { class: e, ...t } = r;
|
|
877
956
|
return t;
|
|
878
957
|
}), i);
|
|
879
|
-
return (t, n) => (
|
|
880
|
-
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")]),
|
|
881
960
|
_: 3
|
|
882
961
|
}, 16, ["class"]));
|
|
883
962
|
}
|
|
884
|
-
}),
|
|
963
|
+
}), oi = /* @__PURE__ */ F({
|
|
885
964
|
__name: "TagsInputInput",
|
|
886
965
|
props: {
|
|
887
966
|
placeholder: {},
|
|
@@ -898,13 +977,13 @@ var Er = /* @__PURE__ */ R({
|
|
|
898
977
|
] }
|
|
899
978
|
},
|
|
900
979
|
setup(t) {
|
|
901
|
-
let n = t, r =
|
|
980
|
+
let n = t, r = K(O(() => {
|
|
902
981
|
let { class: e, ...t } = n;
|
|
903
982
|
return t;
|
|
904
983
|
}));
|
|
905
|
-
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"]));
|
|
906
985
|
}
|
|
907
|
-
}),
|
|
986
|
+
}), si = /* @__PURE__ */ F({
|
|
908
987
|
__name: "TagsInputItem",
|
|
909
988
|
props: {
|
|
910
989
|
value: {},
|
|
@@ -920,16 +999,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
920
999
|
] }
|
|
921
1000
|
},
|
|
922
1001
|
setup(t) {
|
|
923
|
-
let n = t, r =
|
|
1002
|
+
let n = t, r = K(O(() => {
|
|
924
1003
|
let { class: e, ...t } = n;
|
|
925
1004
|
return t;
|
|
926
1005
|
}));
|
|
927
|
-
return (t, i) => (
|
|
928
|
-
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")]),
|
|
929
1008
|
_: 3
|
|
930
1009
|
}, 16, ["class"]));
|
|
931
1010
|
}
|
|
932
|
-
}),
|
|
1011
|
+
}), ci = /* @__PURE__ */ F({
|
|
933
1012
|
__name: "TagsInputItemDelete",
|
|
934
1013
|
props: {
|
|
935
1014
|
asChild: { type: Boolean },
|
|
@@ -943,16 +1022,16 @@ var Er = /* @__PURE__ */ R({
|
|
|
943
1022
|
] }
|
|
944
1023
|
},
|
|
945
1024
|
setup(t) {
|
|
946
|
-
let n = t, r =
|
|
1025
|
+
let n = t, r = K(O(() => {
|
|
947
1026
|
let { class: e, ...t } = n;
|
|
948
1027
|
return t;
|
|
949
1028
|
}));
|
|
950
|
-
return (t, i) => (
|
|
951
|
-
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" })])]),
|
|
952
1031
|
_: 3
|
|
953
1032
|
}, 16, ["class"]));
|
|
954
1033
|
}
|
|
955
|
-
}),
|
|
1034
|
+
}), li = /* @__PURE__ */ F({
|
|
956
1035
|
__name: "TagsInputItemText",
|
|
957
1036
|
props: {
|
|
958
1037
|
asChild: { type: Boolean },
|
|
@@ -966,12 +1045,12 @@ var Er = /* @__PURE__ */ R({
|
|
|
966
1045
|
] }
|
|
967
1046
|
},
|
|
968
1047
|
setup(t) {
|
|
969
|
-
let n = t, r =
|
|
1048
|
+
let n = t, r = K(O(() => {
|
|
970
1049
|
let { class: e, ...t } = n;
|
|
971
1050
|
return t;
|
|
972
1051
|
}));
|
|
973
|
-
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"]));
|
|
974
1053
|
}
|
|
975
1054
|
});
|
|
976
1055
|
//#endregion
|
|
977
|
-
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 };
|