@mkbabb/glass-ui 3.2.0 → 3.4.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/{CardFooter-3-VGho1J.js → CardFooter-C390imy7.js} +2 -2
- package/dist/{CollapsibleContent-wlmlDujU.js → CollapsibleContent-cauTbZEM.js} +1 -1
- package/dist/{CommandShortcut-C6lsz3pG.js → CommandShortcut-BiVyqipe.js} +5 -4
- package/dist/DataTable-FfkaAg2z.js +465 -0
- package/dist/DialogContent-IQ8_BRrC.js +100 -0
- package/dist/{DiscoGlyph-B7YooI2-.js → DiscoGlyph-BaZ8OawK.js} +1 -1
- package/dist/{GlyphFace-Bvk6OIas.js → GlyphFace-B_7vOmYn.js} +1 -1
- package/dist/HoverPopover-DTSYkJtw.js +96 -0
- package/dist/{IconTooltip-DXveGjx7.js → IconTooltip-BTyYn4mr.js} +1 -1
- package/dist/Input-CU9CNKmo.js +52 -0
- package/dist/{MetricBadge-J_GBCb8e.js → MetricBadge-BlrdbOGN.js} +1 -1
- package/dist/{NumberFieldContent-B6L6YrQz.js → NumberFieldContent-iOTQ5rGO.js} +8 -4
- package/dist/{PopoverContent-CxEEUL7Y.js → PopoverContent-B8WtJECb.js} +1 -1
- package/dist/Progress-DjM86vfb.js +254 -0
- package/dist/{ScrollingText-1Qjnwz6H.js → ScrollingText-P9o_DuMn.js} +1 -1
- package/dist/{SelectScrollDownButton-BvvvAbuh.js → SelectScrollDownButton-BGn3rjs9.js} +9 -8
- package/dist/TabsIndicator-DA0x9gPr.js +97 -0
- package/dist/{ToggleGroupItem-Cy7xHFEo.js → ToggleGroupItem-gyXj998A.js} +37 -40
- package/dist/UnderlineTabs-Cq_AD03t.js +39 -0
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +2 -0
- package/dist/api.js +1 -1
- package/dist/aurora.js +454 -271
- package/dist/{button-DS3ULf5i.js → button-Ckn3eDfB.js} +27 -22
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +2 -2
- package/dist/collapsible.js +1 -1
- package/dist/color-rkK4RMx2.js +33 -0
- package/dist/color.d.ts +1 -0
- package/dist/color.js +2 -0
- package/dist/command.js +1 -1
- package/dist/compile-DVgAxagk.js +106 -0
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +7 -7
- package/dist/components/custom/aurora/Aurora.vue.d.ts +3 -3
- package/dist/components/custom/aurora/composables/color.d.ts +3 -25
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +45 -0
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +30 -0
- package/dist/components/custom/aurora/composables/glSetup.d.ts +29 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +45 -35
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +67 -0
- package/dist/components/custom/aurora/composables/useAurora.d.ts +14 -1
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +1 -1
- package/dist/components/custom/aurora/constants/budget.d.ts +50 -0
- package/dist/components/custom/aurora/{presets.d.ts → constants/presets.d.ts} +2 -5
- package/dist/components/custom/aurora/constants/shaders/aurora.frag.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
- package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +2 -2
- package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +14 -7
- package/dist/components/custom/configurator/density.d.ts +3 -8
- package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +46 -0
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +3 -3
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +2 -2
- package/dist/components/custom/dock/GlassDock.vue.d.ts +22 -18
- package/dist/components/custom/dock/composables/dockContext.d.ts +4 -4
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +13 -6
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +32 -8
- package/dist/components/custom/dock/index.d.ts +1 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
- package/dist/components/custom/glyph-face/keys.d.ts +3 -29
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +48 -0
- package/dist/components/custom/goo-blob/composables/easing.d.ts +6 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +14 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +13 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +42 -0
- package/dist/components/custom/goo-blob/index.d.ts +7 -0
- package/dist/components/custom/goo-blob/shaders/metaball.frag.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/metaball.vert.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/oklch-perturb.glsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -0
- package/dist/components/custom/goo-blob/types.d.ts +77 -0
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +48 -9
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +2 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +2 -2
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +2 -2
- package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +13 -7
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +1 -1
- package/dist/components/custom/search/SearchBar.vue.d.ts +1 -1
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +7 -1
- package/dist/components/custom/sortable-list/context.d.ts +2 -3
- package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +6 -3
- package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +7 -3
- package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +6 -3
- package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +39 -0
- package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +49 -0
- package/dist/components/custom/timeline/ContinuousRail.vue.d.ts +26 -0
- package/dist/components/custom/timeline/ContinuousTimeline.vue.d.ts +4 -4
- package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +2 -2
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +45 -0
- package/dist/components/custom/watercolor-dot/index.d.ts +3 -0
- package/dist/components/custom/watercolor-dot/prng.d.ts +5 -0
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +24 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
- package/dist/components/ui/avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +5 -1
- package/dist/components/ui/avatar/index.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts +2 -2
- package/dist/components/ui/button/Button.vue.d.ts +3 -1
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/components/ui/combobox/Combobox.vue.d.ts +2 -2
- package/dist/components/ui/combobox/ComboboxInput.vue.d.ts +2 -1
- package/dist/components/ui/command/Command.vue.d.ts +3 -3
- package/dist/components/ui/command/CommandInput.vue.d.ts +2 -1
- package/dist/components/ui/data-table/DataTable.vue.d.ts +5 -4
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +4 -4
- package/dist/components/ui/input/Input.vue.d.ts +19 -1
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +8 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +26 -88
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -0
- package/dist/components/ui/progress/ProgressGradient.vue.d.ts +25 -0
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +36 -0
- package/dist/components/ui/progress/index.d.ts +5 -2
- package/dist/components/ui/progress/useProgressGeometry.d.ts +60 -0
- package/dist/components/ui/select/Select.vue.d.ts +2 -2
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +3 -0
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/slider/index.d.ts +12 -11
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/ui/textarea/Textarea.vue.d.ts +5 -1
- package/dist/components/ui/toast/Toast.vue.d.ts +4 -4
- 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/toggleGroupContext.d.ts +2 -3
- package/dist/composables/color/index.d.ts +49 -0
- package/dist/composables/context/createContext.d.ts +56 -0
- package/dist/composables/context/index.d.ts +1 -0
- package/dist/composables/dark/darkModeSyncScript.d.ts +23 -0
- package/dist/composables/dark/index.d.ts +3 -0
- package/dist/composables/dark/useGlobalDark.d.ts +19 -2
- package/dist/composables/dom/index.d.ts +0 -3
- package/dist/composables/dom/useClipboard.d.ts +35 -12
- package/dist/composables/dom/useDocumentVisibility.d.ts +20 -0
- package/dist/composables/glass/webgl/compile.d.ts +15 -0
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +3 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +55 -0
- package/dist/composables/motion/core/index.d.ts +1 -1
- package/dist/composables/motion/index.d.ts +1 -1
- package/dist/composables/motion/useCountup.d.ts +29 -0
- package/dist/composables/motion/useNumericTransition.d.ts +14 -3
- package/dist/composables/motion/vReveal.d.ts +2 -0
- package/dist/composables/sidebar/useSidebarState.d.ts +2 -2
- package/dist/composables/sortable/dragController.d.ts +44 -0
- package/dist/composables/sortable/dropResolver.d.ts +34 -0
- package/dist/composables/sortable/ghostRenderer.d.ts +44 -0
- package/dist/composables/sortable/index.d.ts +1 -1
- package/dist/composables/sortable/touchGate.d.ts +26 -0
- package/dist/composables/sortable/transitionTiming.d.ts +50 -0
- package/dist/composables/sortable/types.d.ts +133 -0
- package/dist/composables/sortable/useSortable.d.ts +25 -153
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +1 -1
- package/dist/controls.js +4 -4
- package/dist/createContext-DBMGRlx4.js +25 -0
- package/dist/dark.d.ts +2 -1
- package/dist/dark.js +9 -2
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +1 -1
- package/dist/disco-glyph.js +1 -1
- package/dist/dock.js +400 -261
- package/dist/dockContext-spUj_-E5.js +9 -0
- package/dist/dom.js +6 -6
- package/dist/{dropdown-menu-naE0skDg.js → dropdown-menu-EFjl5iKo.js} +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +26 -20
- package/dist/fonts/README.md +21 -0
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/forms.js +68 -59
- package/dist/glass-panel.js +1 -1
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +226 -328
- package/dist/glyph-face.js +2 -2
- package/dist/goo-blob.d.ts +1 -0
- package/dist/goo-blob.js +538 -0
- package/dist/header-ribbon.js +2 -2
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/keys-BFoma9vm.js +9 -0
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +57 -39
- package/dist/metric-badge.js +1 -1
- package/dist/motion-core.js +82 -123
- package/dist/motion.js +62 -14
- package/dist/number-field.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BpTf63Hp.js → presets-1OhFpaIC.js} +1 -1
- package/dist/prng-Bz_1Tydc.js +15 -0
- package/dist/progress.js +2 -2
- package/dist/reactive.js +2 -2
- package/dist/responsive-tabs.js +38 -32
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +8 -8
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-wx8ifVFB.js → slider-BOh8ycfZ.js} +7 -11
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +36 -38
- package/dist/stacked-icons.js +2 -2
- package/dist/styles/animations.css +1 -1
- package/dist/styles/cards.css +1 -1
- package/dist/styles/components.css +1 -1
- package/dist/styles/dock-controls.css +486 -0
- package/dist/styles/dock.css +284 -450
- package/dist/styles/fonts.css +25 -0
- package/dist/styles/glass-specular-track.css +154 -0
- package/dist/styles/glass.css +74 -2
- package/dist/styles/index.css +21 -2
- package/dist/styles/instrument-chassis.css +11 -4
- package/dist/styles/theme.css +73 -21
- package/dist/styles/tokens.css +271 -140
- package/dist/styles/typography.css +14 -8
- package/dist/styles/utilities.css +36 -8
- package/dist/styles/view-transition.css +10 -4
- package/dist/switch.js +1 -1
- package/dist/tabs.js +139 -112
- package/dist/timeline.js +219 -158
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{useAnimatedNumber-BOxrS3a6.js → useAnimatedNumber-BF6r64lA.js} +1 -1
- package/dist/useClipboard-D8vFyRCa.js +97 -0
- package/dist/{useConfiguratorState-Dq2gNv4A.js → useConfiguratorState-DUtC1jxr.js} +82 -86
- package/dist/useGlobalDark-CWiaCoEw.js +34 -0
- package/dist/useIntersectionPause-DAdVPVp4.js +53 -0
- package/dist/useSortable-DnyGXKKY.js +246 -0
- package/dist/{useTouchGate-XX8gHfay.js → useTouchGate-CS5Csc2h.js} +1 -1
- package/dist/utils/prng.d.ts +4 -0
- package/dist/vReveal-u2wSG2El.js +35 -0
- package/dist/watercolor-dot.d.ts +1 -0
- package/dist/watercolor-dot.js +129 -0
- package/package.json +101 -16
- package/src/fonts/README.md +21 -0
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/src/styles/animations.css +1 -1
- package/src/styles/cards.css +1 -1
- package/src/styles/dock-controls.css +486 -0
- package/src/styles/dock.css +284 -450
- package/src/styles/fonts.css +25 -0
- package/src/styles/glass-specular-track.css +154 -0
- package/src/styles/glass.css +74 -2
- package/src/styles/index.css +21 -2
- package/src/styles/instrument-chassis.css +11 -4
- package/src/styles/theme.css +73 -21
- package/src/styles/tokens.css +271 -140
- package/src/styles/typography.css +14 -8
- package/src/styles/utilities.css +36 -8
- package/src/styles/view-transition.css +10 -4
- package/dist/DataTable-BsrDYdoE.js +0 -460
- package/dist/DialogContent-B61rP8lj.js +0 -93
- package/dist/HoverPopover-BlEwqG7S.js +0 -96
- package/dist/Input-IFsIzId2.js +0 -30
- package/dist/Progress-Bs44qWEM.js +0 -126
- package/dist/UnderlineTabs-B4FV2zi_.js +0 -37
- package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +0 -1
- package/dist/composables/dom/useBreakpoint.d.ts +0 -38
- package/dist/composables/dom/useIdleReady.d.ts +0 -63
- package/dist/composables/dom/useViewportReady.d.ts +0 -87
- package/dist/composables/glass/webgl/frostShader.d.ts +0 -27
- package/dist/composables/motion/useAnimatedNumberMap.d.ts +0 -29
- package/dist/composables/motion/useStagger.d.ts +0 -50
- package/dist/dockContext-DM58L1Jt.js +0 -16
- package/dist/keys-SIKQYNx1.js +0 -11
- package/dist/supportsCssTimeline-IQY3gfKD.js +0 -12
- package/dist/useGlobalDark-BUUTZvkU.js +0 -24
- package/dist/useIdleReady-sLhGo6CL.js +0 -162
- package/dist/useIntersectionPause-CUmANkoc.js +0 -39
- package/dist/useSortable-DLK9kwZp.js +0 -189
- /package/dist/{HoverCardContent-DGUhpRVt.js → HoverCardContent-ICfIMZX1.js} +0 -0
- /package/dist/{InstrumentChassis-CqKPBNqp.js → InstrumentChassis-DaHIZCqy.js} +0 -0
- /package/dist/{InstrumentRail-CCjvKkpB.js → InstrumentRail-B0qqLFN0.js} +0 -0
- /package/dist/{Label-D53EOwLE.js → Label-CZk-3nTc.js} +0 -0
- /package/dist/{PaperBackdrop-Ds-wDsKf.js → PaperBackdrop-D_YZW47j.js} +0 -0
- /package/dist/{SelectGroup-DAgcsfFw.js → SelectGroup-CMdoCjRE.js} +0 -0
- /package/dist/{SelectSeparator-DN1jzLaI.js → SelectSeparator-CaJnPF3_.js} +0 -0
- /package/dist/{Separator-DXxac0j8.js → Separator-C2XtAXRp.js} +0 -0
- /package/dist/{Switch-imA0Hdjs.js → Switch-x8n6husW.js} +0 -0
- /package/dist/{Toaster-Brs6QjBU.js → Toaster-DdhMKfus.js} +0 -0
- /package/dist/{TooltipProvider-MZFRxOvT.js → TooltipProvider-D-JrSqDu.js} +0 -0
- /package/dist/components/custom/aurora/{renderMode.d.ts → constants/renderMode.d.ts} +0 -0
- /package/dist/components/custom/aurora/{shaders → constants/shaders}/aurora.vert.d.ts +0 -0
- /package/dist/{constants-DfWPi8kh.js → constants-DsCdlK9I.js} +0 -0
- /package/dist/{sheet-BnvZRXPq.js → sheet-CQYYrkr9.js} +0 -0
- /package/dist/{useGlassRenderer-C98tZnJ7.js → useGlassRenderer-Dn3WpfG-.js} +0 -0
- /package/dist/{useInterval-B58LmYth.js → useInterval-CHVYFpXV.js} +0 -0
- /package/dist/{useResizeObserver-C_7GjpRn.js → useResizeObserver-DX-STszm.js} +0 -0
- /package/dist/{useTextHighlight-CLST6an0.js → useTextHighlight-Dmtofpk2.js} +0 -0
- /package/dist/{useTimer-6FoosoDY.js → useTimer-DGgoxTXL.js} +0 -0
- /package/dist/{useUserInvalidAria-BW5iyqWR.js → useUserInvalidAria-DmvZ_6Dx.js} +0 -0
- /package/dist/{useViewTransition-CUJM7fXT.js → useViewTransition-D4ssvnXZ.js} +0 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { i as t } from "./dockContext-spUj_-E5.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useId as h, useModel as g, watch as _, withCtx as v } from "vue";
|
|
4
|
+
import { HoverCardContent as y, HoverCardPortal as b, HoverCardRoot as x, HoverCardTrigger as S } from "reka-ui";
|
|
5
|
+
//#region src/components/custom/hover-popover/HoverPopover.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var C = { class: "hover-popover-label" }, w = { class: "hover-popover-label" }, T = /* @__PURE__ */ c({
|
|
7
|
+
__name: "HoverPopover",
|
|
8
|
+
props: /* @__PURE__ */ l({
|
|
9
|
+
content: {},
|
|
10
|
+
side: { default: "top" },
|
|
11
|
+
align: { default: "center" },
|
|
12
|
+
hoverOpenDelay: { default: 250 },
|
|
13
|
+
closeDelay: { default: 150 },
|
|
14
|
+
sideOffset: { default: 6 },
|
|
15
|
+
class: { type: [
|
|
16
|
+
Boolean,
|
|
17
|
+
null,
|
|
18
|
+
String,
|
|
19
|
+
Object,
|
|
20
|
+
Array
|
|
21
|
+
] },
|
|
22
|
+
keepDockOpen: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
native: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
}
|
|
30
|
+
}, {
|
|
31
|
+
open: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !1
|
|
34
|
+
},
|
|
35
|
+
openModifiers: {}
|
|
36
|
+
}),
|
|
37
|
+
emits: ["update:open"],
|
|
38
|
+
setup(c) {
|
|
39
|
+
let l = c, T = g(c, "open"), E = r(() => e("z-popover hover-popover-panel popover-animate", l.class)), D = typeof HTMLButtonElement < "u" && "interestForElement" in HTMLButtonElement.prototype, O = r(() => l.native && D), k = `gl-hover-popover-${h() ?? "0"}`;
|
|
40
|
+
function A(e) {
|
|
41
|
+
let t = e.newState === "open";
|
|
42
|
+
t !== T.value && (T.value = t);
|
|
43
|
+
}
|
|
44
|
+
let j = t(), M = !1;
|
|
45
|
+
_(T, (e) => {
|
|
46
|
+
l.keepDockOpen && (e && !M ? (j?.keepOpen(), M = !0) : !e && M && (j?.release(), M = !1));
|
|
47
|
+
});
|
|
48
|
+
let N = r(() => l.keepDockOpen && j?.id ? {
|
|
49
|
+
"data-glass-dock-portal": "",
|
|
50
|
+
"data-glass-dock-owner": j.id
|
|
51
|
+
} : {});
|
|
52
|
+
return (t, r) => O.value ? (d(), a(n, { key: 0 }, [o("span", {
|
|
53
|
+
class: "hover-popover-native-trigger",
|
|
54
|
+
interestfor: k
|
|
55
|
+
}, [f(t.$slots, "trigger", {}, () => [f(t.$slots, "default")])]), o("div", u({
|
|
56
|
+
id: k,
|
|
57
|
+
popover: "hint",
|
|
58
|
+
class: m(e)("glass-top-layer hover-popover-panel", l.class)
|
|
59
|
+
}, N.value, { onToggle: A }), [f(t.$slots, "content", {}, () => [o("span", C, p(c.content), 1)])], 16)], 64)) : (d(), i(m(x), {
|
|
60
|
+
key: 1,
|
|
61
|
+
open: T.value,
|
|
62
|
+
"onUpdate:open": r[0] ||= (e) => T.value = e,
|
|
63
|
+
"open-delay": c.hoverOpenDelay,
|
|
64
|
+
"close-delay": c.closeDelay
|
|
65
|
+
}, {
|
|
66
|
+
default: v(() => [s(m(S), { "as-child": "" }, {
|
|
67
|
+
default: v(() => [f(t.$slots, "trigger", {}, () => [f(t.$slots, "default")])]),
|
|
68
|
+
_: 3
|
|
69
|
+
}), s(m(b), null, {
|
|
70
|
+
default: v(() => [s(m(y), u({
|
|
71
|
+
side: c.side,
|
|
72
|
+
align: c.align,
|
|
73
|
+
"side-offset": c.sideOffset,
|
|
74
|
+
"avoid-collisions": !0,
|
|
75
|
+
class: E.value
|
|
76
|
+
}, N.value), {
|
|
77
|
+
default: v(() => [f(t.$slots, "content", {}, () => [o("span", w, p(c.content), 1)])]),
|
|
78
|
+
_: 3
|
|
79
|
+
}, 16, [
|
|
80
|
+
"side",
|
|
81
|
+
"align",
|
|
82
|
+
"side-offset",
|
|
83
|
+
"class"
|
|
84
|
+
])]),
|
|
85
|
+
_: 3
|
|
86
|
+
})]),
|
|
87
|
+
_: 3
|
|
88
|
+
}, 8, [
|
|
89
|
+
"open",
|
|
90
|
+
"open-delay",
|
|
91
|
+
"close-delay"
|
|
92
|
+
]));
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
//#endregion
|
|
96
|
+
export { T as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./TooltipProvider-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./TooltipProvider-D-JrSqDu.js";
|
|
2
2
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, renderSlot as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/custom/icon-tooltip/IconTooltip.vue
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { computed as t, createElementBlock as n, defineComponent as r, isRef as i, mergeProps as a, openBlock as o, unref as s, vModelDynamic as c, withDirectives as l } from "vue";
|
|
3
|
+
import { useVModel as u } from "@vueuse/core";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/ui/input/Input.vue
|
|
6
|
+
var d = /* @__PURE__ */ r({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "Input",
|
|
9
|
+
props: {
|
|
10
|
+
defaultValue: {},
|
|
11
|
+
modelValue: {},
|
|
12
|
+
class: { type: [
|
|
13
|
+
Boolean,
|
|
14
|
+
null,
|
|
15
|
+
String,
|
|
16
|
+
Object,
|
|
17
|
+
Array
|
|
18
|
+
] },
|
|
19
|
+
type: {},
|
|
20
|
+
placeholder: {},
|
|
21
|
+
disabled: { type: [Boolean, String] },
|
|
22
|
+
required: { type: [Boolean, String] },
|
|
23
|
+
inputmode: {},
|
|
24
|
+
autocomplete: {},
|
|
25
|
+
pattern: {},
|
|
26
|
+
name: {},
|
|
27
|
+
readonly: { type: [Boolean, String] }
|
|
28
|
+
},
|
|
29
|
+
emits: ["update:modelValue"],
|
|
30
|
+
setup(r, { emit: d }) {
|
|
31
|
+
let f = r, p = u(f, "modelValue", d, {
|
|
32
|
+
passive: !0,
|
|
33
|
+
defaultValue: f.defaultValue
|
|
34
|
+
}), m = t(() => ({
|
|
35
|
+
type: f.type,
|
|
36
|
+
placeholder: f.placeholder,
|
|
37
|
+
disabled: f.disabled,
|
|
38
|
+
required: f.required,
|
|
39
|
+
inputmode: f.inputmode,
|
|
40
|
+
autocomplete: f.autocomplete,
|
|
41
|
+
pattern: f.pattern,
|
|
42
|
+
name: f.name,
|
|
43
|
+
readonly: f.readonly
|
|
44
|
+
}));
|
|
45
|
+
return (t, r) => l((o(), n("input", a({ "onUpdate:modelValue": r[0] ||= (e) => i(p) ? p.value = e : null }, {
|
|
46
|
+
...t.$attrs,
|
|
47
|
+
...m.value
|
|
48
|
+
}, { class: s(e)("input-pill text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium", f.class) }), null, 16)), [[c, s(p)]]);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
export { d as t };
|
|
@@ -73,6 +73,6 @@ var p = ["data-size"], m = {
|
|
|
73
73
|
class: c(["metric-badge__unit font-mono text-muted-foreground shrink-0", g.value])
|
|
74
74
|
}, d(t.unit), 3)) : i("", !0)], 64))], 10, p));
|
|
75
75
|
}
|
|
76
|
-
}), [["__scopeId", "data-v-
|
|
76
|
+
}), [["__scopeId", "data-v-8f68fd6d"]]);
|
|
77
77
|
//#endregion
|
|
78
78
|
export { h as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./createLucideIcon-DuDoe_ra.js";
|
|
3
|
-
import { n } from "./button-
|
|
3
|
+
import { n } from "./button-Ckn3eDfB.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, createVNode as o, defineComponent as s, mergeProps as c, normalizeClass as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
import { NumberFieldDecrement as m, NumberFieldIncrement as h, NumberFieldInput as g, NumberFieldRoot as _, useForwardProps as v, useForwardPropsEmits as y } from "reka-ui";
|
|
6
6
|
var b = t("minus", [["path", {
|
|
@@ -56,7 +56,11 @@ var b = t("minus", [["path", {
|
|
|
56
56
|
inheritAttrs: !1,
|
|
57
57
|
__name: "NumberFieldInput",
|
|
58
58
|
setup(t) {
|
|
59
|
-
|
|
59
|
+
let n = { inputmode: "decimal" };
|
|
60
|
+
return (t, r) => (u(), i(f(g), c({
|
|
61
|
+
...n,
|
|
62
|
+
...t.$attrs
|
|
63
|
+
}, {
|
|
60
64
|
"data-slot": "input",
|
|
61
65
|
class: f(e)("focus-ring flex h-10 w-full rounded-input border border-input bg-background py-2 text-sm text-center placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled")
|
|
62
66
|
}), null, 16, ["class"]));
|
|
@@ -86,7 +90,7 @@ var b = t("minus", [["path", {
|
|
|
86
90
|
size: "icon",
|
|
87
91
|
class: l(f(e)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20", a.class))
|
|
88
92
|
}, {
|
|
89
|
-
default: p(() => [d(t.$slots, "default", {}, () => [o(f(x), { class: "size-
|
|
93
|
+
default: p(() => [d(t.$slots, "default", {}, () => [o(f(x), { class: "size-icon-sm" })])]),
|
|
90
94
|
_: 3
|
|
91
95
|
}, 8, ["class"])]),
|
|
92
96
|
_: 3
|
|
@@ -117,7 +121,7 @@ var b = t("minus", [["path", {
|
|
|
117
121
|
size: "icon",
|
|
118
122
|
class: l(f(e)("absolute top-1/2 -translate-y-1/2 left-0 disabled:cursor-not-allowed disabled:opacity-20", a.class))
|
|
119
123
|
}, {
|
|
120
|
-
default: p(() => [d(t.$slots, "default", {}, () => [o(f(b), { class: "size-
|
|
124
|
+
default: p(() => [d(t.$slots, "default", {}, () => [o(f(b), { class: "size-icon-sm" })])]),
|
|
121
125
|
_: 3
|
|
122
126
|
}, 8, ["class"])]),
|
|
123
127
|
_: 3
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { i as t } from "./dockContext-
|
|
2
|
+
import { i as t } from "./dockContext-spUj_-E5.js";
|
|
3
3
|
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, renderSlot as u, unref as d, withCtx as f } from "vue";
|
|
4
4
|
import { PopoverContent as p, PopoverPortal as m, PopoverRoot as h, PopoverTrigger as g, useForwardPropsEmits as _ } from "reka-ui";
|
|
5
5
|
//#endregion
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
3
|
+
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderList as m, toRef as h, unref as g, watchEffect as _, withCtx as v } from "vue";
|
|
4
|
+
import { ProgressIndicator as y, ProgressRoot as b } from "reka-ui";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/ui/progress/ProgressDefault.vue
|
|
7
|
+
var x = /* @__PURE__ */ l({
|
|
8
|
+
__name: "ProgressDefault",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: {},
|
|
11
|
+
max: {},
|
|
12
|
+
getValueLabel: { type: Function },
|
|
13
|
+
getValueText: { type: Function },
|
|
14
|
+
asChild: { type: Boolean },
|
|
15
|
+
as: {},
|
|
16
|
+
class: { type: [
|
|
17
|
+
Boolean,
|
|
18
|
+
null,
|
|
19
|
+
String,
|
|
20
|
+
Object,
|
|
21
|
+
Array
|
|
22
|
+
] }
|
|
23
|
+
},
|
|
24
|
+
setup(t) {
|
|
25
|
+
let n = t, a = r(() => {
|
|
26
|
+
let { class: e, ...t } = n;
|
|
27
|
+
return t;
|
|
28
|
+
});
|
|
29
|
+
return (t, r) => (p(), i(g(b), u(a.value, { class: g(e)("relative h-4 w-full overflow-hidden rounded-pill bg-secondary", n.class) }), {
|
|
30
|
+
default: v(() => [c(g(y), {
|
|
31
|
+
class: "h-full w-full flex-1 rounded-pill bg-primary transition-transform",
|
|
32
|
+
style: f({ transform: `translateX(-${100 - (n.modelValue ?? 0)}%)` })
|
|
33
|
+
}, null, 8, ["style"])]),
|
|
34
|
+
_: 1
|
|
35
|
+
}, 16, ["class"]));
|
|
36
|
+
}
|
|
37
|
+
}), S = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
38
|
+
__name: "ProgressGradient",
|
|
39
|
+
props: {
|
|
40
|
+
modelValue: {},
|
|
41
|
+
max: {},
|
|
42
|
+
getValueLabel: { type: Function },
|
|
43
|
+
getValueText: { type: Function },
|
|
44
|
+
asChild: { type: Boolean },
|
|
45
|
+
as: {},
|
|
46
|
+
class: { type: [
|
|
47
|
+
Boolean,
|
|
48
|
+
null,
|
|
49
|
+
String,
|
|
50
|
+
Object,
|
|
51
|
+
Array
|
|
52
|
+
] },
|
|
53
|
+
indeterminate: { type: Boolean }
|
|
54
|
+
},
|
|
55
|
+
setup(t) {
|
|
56
|
+
let n = t, a = r(() => {
|
|
57
|
+
let { class: e, indeterminate: t, ...r } = n;
|
|
58
|
+
return r;
|
|
59
|
+
}), o = r(() => {
|
|
60
|
+
if (n.indeterminate) return "idle";
|
|
61
|
+
let e = n.modelValue ?? 0;
|
|
62
|
+
return e <= 0 ? "idle" : e >= 100 ? "complete" : e < 5 ? "loading" : "progressing";
|
|
63
|
+
}), s = r(() => {
|
|
64
|
+
if (n.indeterminate) return;
|
|
65
|
+
let e = n.modelValue ?? 0;
|
|
66
|
+
if (e < 85) return { "--progress-crescendo": "0%" };
|
|
67
|
+
let t = (e - 85) / 15 * 100;
|
|
68
|
+
return { "--progress-crescendo": `${Math.min(100, Math.max(0, t))}%` };
|
|
69
|
+
});
|
|
70
|
+
return (r, l) => (p(), i(g(b), u(a.value, {
|
|
71
|
+
class: g(e)("relative h-4 w-full overflow-hidden rounded-pill bg-[var(--progress-track,var(--secondary))] progress-gradient-rail", n.class),
|
|
72
|
+
"data-lifecycle": o.value,
|
|
73
|
+
"data-indeterminate": t.indeterminate || void 0
|
|
74
|
+
}), {
|
|
75
|
+
default: v(() => [c(g(y), {
|
|
76
|
+
class: "h-full w-full flex-1 rounded-pill [background:var(--progress-fill,var(--primary))] transition-transform",
|
|
77
|
+
style: f({
|
|
78
|
+
transform: `translateX(-${100 - (n.modelValue ?? 0)}%)`,
|
|
79
|
+
...s.value ?? {}
|
|
80
|
+
})
|
|
81
|
+
}, null, 8, ["style"])]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 16, [
|
|
84
|
+
"class",
|
|
85
|
+
"data-lifecycle",
|
|
86
|
+
"data-indeterminate"
|
|
87
|
+
]));
|
|
88
|
+
}
|
|
89
|
+
}), [["__scopeId", "data-v-f67eced2"]]);
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/components/ui/progress/useProgressGeometry.ts
|
|
92
|
+
function C(e) {
|
|
93
|
+
let t = r(() => {
|
|
94
|
+
let t = e.segments.value;
|
|
95
|
+
if (t.length === 0) return [];
|
|
96
|
+
let n = t.map((e) => e.weight ?? 1), r = n.reduce((e, t) => e + t, 0) || 1, i = t.findIndex((t) => t.key === e.currentSegmentKey.value), a = 0;
|
|
97
|
+
return t.map((t, o) => {
|
|
98
|
+
let s = n[o] / r * 100, c = a, l = a + s;
|
|
99
|
+
a = l;
|
|
100
|
+
let u;
|
|
101
|
+
u = t.state ? t.state : i < 0 ? "pending" : o < i ? "completed" : o === i ? "active" : "pending";
|
|
102
|
+
let d = u === "completed" ? 1 : u === "active" ? Math.max(0, Math.min(1, e.activeProgress.value)) : 0;
|
|
103
|
+
return {
|
|
104
|
+
...t,
|
|
105
|
+
startPct: c,
|
|
106
|
+
endPct: l,
|
|
107
|
+
widthPct: s,
|
|
108
|
+
resolvedState: u,
|
|
109
|
+
fill: d
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
return {
|
|
114
|
+
cells: t,
|
|
115
|
+
aggregateValue: r(() => {
|
|
116
|
+
if (t.value.length === 0) return 0;
|
|
117
|
+
let e = 0;
|
|
118
|
+
for (let n of t.value) e += n.fill * n.widthPct;
|
|
119
|
+
return Math.max(0, Math.min(100, e));
|
|
120
|
+
})
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/components/ui/progress/ProgressSectioned.vue?vue&type=script&setup=true&lang.ts
|
|
125
|
+
var w = ["data-state", "data-index"], T = {
|
|
126
|
+
key: 0,
|
|
127
|
+
class: "progress-sectioned-sweep",
|
|
128
|
+
"aria-hidden": "true"
|
|
129
|
+
}, E = /* @__PURE__ */ t(/* @__PURE__ */ l({
|
|
130
|
+
__name: "ProgressSectioned",
|
|
131
|
+
props: {
|
|
132
|
+
max: {},
|
|
133
|
+
getValueLabel: {},
|
|
134
|
+
getValueText: {},
|
|
135
|
+
asChild: { type: Boolean },
|
|
136
|
+
as: {},
|
|
137
|
+
class: { type: [
|
|
138
|
+
Boolean,
|
|
139
|
+
null,
|
|
140
|
+
String,
|
|
141
|
+
Object,
|
|
142
|
+
Array
|
|
143
|
+
] },
|
|
144
|
+
segments: { default: () => [] },
|
|
145
|
+
currentSegmentKey: { default: null },
|
|
146
|
+
activeProgress: { default: 0 }
|
|
147
|
+
},
|
|
148
|
+
setup(t) {
|
|
149
|
+
let l = t, d = r(() => {
|
|
150
|
+
let { class: e, segments: t, currentSegmentKey: n, activeProgress: r, ...i } = l;
|
|
151
|
+
return i;
|
|
152
|
+
}), { cells: _, aggregateValue: x } = C({
|
|
153
|
+
segments: h(l, "segments"),
|
|
154
|
+
currentSegmentKey: h(l, "currentSegmentKey"),
|
|
155
|
+
activeProgress: h(l, "activeProgress")
|
|
156
|
+
});
|
|
157
|
+
return (t, r) => (p(), i(g(b), u(d.value, {
|
|
158
|
+
"model-value": g(x),
|
|
159
|
+
class: g(e)("relative h-[var(--progress-sectioned-height,0.875rem)] w-full overflow-hidden rounded-pill progress-sectioned-rail", l.class)
|
|
160
|
+
}), {
|
|
161
|
+
default: v(() => [
|
|
162
|
+
c(g(y), { class: "absolute inset-0 pointer-events-none opacity-0" }),
|
|
163
|
+
(p(!0), o(n, null, m(g(_), (e, t) => (p(), o("div", {
|
|
164
|
+
key: e.key,
|
|
165
|
+
class: "progress-sectioned-cell",
|
|
166
|
+
"data-state": e.resolvedState,
|
|
167
|
+
"data-index": t,
|
|
168
|
+
style: f({
|
|
169
|
+
left: e.startPct + "%",
|
|
170
|
+
width: e.widthPct + "%",
|
|
171
|
+
"--cell-color": e.color,
|
|
172
|
+
"--cell-fill": e.fill
|
|
173
|
+
})
|
|
174
|
+
}, [s("span", {
|
|
175
|
+
class: "progress-sectioned-fill",
|
|
176
|
+
style: f({ width: e.fill * 100 + "%" })
|
|
177
|
+
}, null, 4), e.resolvedState === "active" ? (p(), o("span", T)) : a("", !0)], 12, w))), 128)),
|
|
178
|
+
(p(!0), o(n, null, m(g(_), (e, t) => (p(), o(n, { key: `seam-${e.key}` }, [t < g(_).length - 1 ? (p(), o("span", {
|
|
179
|
+
key: 0,
|
|
180
|
+
class: "progress-sectioned-seam",
|
|
181
|
+
style: f({
|
|
182
|
+
left: e.endPct + "%",
|
|
183
|
+
"--seam-from": e.color,
|
|
184
|
+
"--seam-to": g(_)[t + 1].color
|
|
185
|
+
}),
|
|
186
|
+
"aria-hidden": "true"
|
|
187
|
+
}, null, 4)) : a("", !0)], 64))), 128))
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 16, ["model-value", "class"]));
|
|
191
|
+
}
|
|
192
|
+
}), [["__scopeId", "data-v-52179597"]]), D = /* @__PURE__ */ l({
|
|
193
|
+
__name: "Progress",
|
|
194
|
+
props: {
|
|
195
|
+
modelValue: { default: 0 },
|
|
196
|
+
max: {},
|
|
197
|
+
getValueLabel: {},
|
|
198
|
+
getValueText: {},
|
|
199
|
+
asChild: { type: Boolean },
|
|
200
|
+
as: {},
|
|
201
|
+
class: { type: [
|
|
202
|
+
Boolean,
|
|
203
|
+
null,
|
|
204
|
+
String,
|
|
205
|
+
Object,
|
|
206
|
+
Array
|
|
207
|
+
] },
|
|
208
|
+
variant: { default: "default" },
|
|
209
|
+
segments: { default: () => [] },
|
|
210
|
+
currentSegmentKey: { default: null },
|
|
211
|
+
activeProgress: { default: 0 },
|
|
212
|
+
indeterminate: {
|
|
213
|
+
type: Boolean,
|
|
214
|
+
default: !1
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
setup(e) {
|
|
218
|
+
let t = e;
|
|
219
|
+
function n(e) {
|
|
220
|
+
let t = `[glass-ui] Progress: ${e}`;
|
|
221
|
+
console.error(t);
|
|
222
|
+
}
|
|
223
|
+
return _(() => {
|
|
224
|
+
let e = t.variant === "sectioned";
|
|
225
|
+
!e && t.segments.length > 0 && n(`\`segments\` is only valid on variant="sectioned" (got variant="${t.variant}"). The default/gradient variants are driven by \`modelValue\`.`), e && (t.modelValue ?? 0) !== 0 && n("variant=\"sectioned\" ignores `modelValue` — its value derives from the per-cell state map (segments + currentSegmentKey + activeProgress). Drive the fill via `activeProgress`/`currentSegmentKey`, not `modelValue`."), e && t.indeterminate && n("`indeterminate` is not compatible with variant=\"sectioned\". The sectioned variant's living motion is the active-cell sweep.");
|
|
226
|
+
}), (e, n) => t.variant === "sectioned" ? (p(), i(E, {
|
|
227
|
+
key: 0,
|
|
228
|
+
segments: t.segments,
|
|
229
|
+
"current-segment-key": t.currentSegmentKey,
|
|
230
|
+
"active-progress": t.activeProgress,
|
|
231
|
+
class: d(t.class)
|
|
232
|
+
}, null, 8, [
|
|
233
|
+
"segments",
|
|
234
|
+
"current-segment-key",
|
|
235
|
+
"active-progress",
|
|
236
|
+
"class"
|
|
237
|
+
])) : t.variant === "gradient" ? (p(), i(S, {
|
|
238
|
+
key: 1,
|
|
239
|
+
"model-value": t.modelValue,
|
|
240
|
+
indeterminate: t.indeterminate,
|
|
241
|
+
class: d(t.class)
|
|
242
|
+
}, null, 8, [
|
|
243
|
+
"model-value",
|
|
244
|
+
"indeterminate",
|
|
245
|
+
"class"
|
|
246
|
+
])) : (p(), i(x, {
|
|
247
|
+
key: 2,
|
|
248
|
+
"model-value": t.modelValue,
|
|
249
|
+
class: d(t.class)
|
|
250
|
+
}, null, 8, ["model-value", "class"]));
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
//#endregion
|
|
254
|
+
export { x as a, S as i, E as n, C as r, D as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
3
|
-
import { t as n } from "./useResizeObserver-
|
|
3
|
+
import { t as n } from "./useResizeObserver-DX-STszm.js";
|
|
4
4
|
import { createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, ref as l, renderSlot as u, toDisplayString as d, unref as f, useTemplateRef as p, watchEffect as m } from "vue";
|
|
5
5
|
//#region src/components/custom/scrolling-text/ScrollingText.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var h = ["data-overflows"], g = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
@@ -2,7 +2,7 @@ import { t as e } from "./cn-DJXf4yaB.js";
|
|
|
2
2
|
import { t } from "./chevron-down-pBY8sYfV.js";
|
|
3
3
|
import { t as n } from "./chevron-up-DBeNHUm1.js";
|
|
4
4
|
import { t as r } from "./menuItemVariants-C2QlXqT3.js";
|
|
5
|
-
import { i } from "./dockContext-
|
|
5
|
+
import { i } from "./dockContext-spUj_-E5.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeClass as m, normalizeProps as h, openBlock as g, renderSlot as _, unref as v, withCtx as y } from "vue";
|
|
7
7
|
import { SelectContent as b, SelectIcon as x, SelectItem as S, SelectItemIndicator as C, SelectItemText as w, SelectPortal as T, SelectRoot as E, SelectScrollDownButton as D, SelectScrollUpButton as O, SelectTrigger as k, SelectValue as A, SelectViewport as j, useForwardProps as M, useForwardPropsEmits as N } from "reka-ui";
|
|
8
8
|
//#endregion
|
|
@@ -58,16 +58,17 @@ var P = /* @__PURE__ */ d({
|
|
|
58
58
|
Object,
|
|
59
59
|
Array
|
|
60
60
|
] },
|
|
61
|
-
variant: { default: "default" }
|
|
61
|
+
variant: { default: "default" },
|
|
62
|
+
size: { default: "default" }
|
|
62
63
|
},
|
|
63
64
|
setup(n) {
|
|
64
65
|
let r = n, i = M(a(() => {
|
|
65
|
-
let { class: e, variant: t,
|
|
66
|
-
return
|
|
67
|
-
})), s = a(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "glass-wash");
|
|
68
|
-
return (n, a) => (g(), o(v(k), p(v(i), { class: v(e)(s.value, "focus-ring flex
|
|
66
|
+
let { class: e, variant: t, size: n, ...i } = r;
|
|
67
|
+
return i;
|
|
68
|
+
})), s = a(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "glass-wash"), c = a(() => r.size === "sm" ? "h-9" : "h-10");
|
|
69
|
+
return (n, a) => (g(), o(v(k), p(v(i), { class: v(e)(s.value, c.value, "focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-sm placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control", r.class) }), {
|
|
69
70
|
default: y(() => [_(n.$slots, "default"), u(v(x), { "as-child": "" }, {
|
|
70
|
-
default: y(() => [u(v(t), { class: "transition-transform duration-200 ease-
|
|
71
|
+
default: y(() => [u(v(t), { class: "transition-transform duration-200 ease-standard [&[data-state=open]]:rotate-180 h-4 w-4 shrink-0 opacity-50" })]),
|
|
71
72
|
_: 1
|
|
72
73
|
})]),
|
|
73
74
|
_: 3
|
|
@@ -130,7 +131,7 @@ var P = /* @__PURE__ */ d({
|
|
|
130
131
|
}), {
|
|
131
132
|
default: y(() => [
|
|
132
133
|
u(v(V)),
|
|
133
|
-
u(v(j), { class: m(v(e)("p-1 overflow-y-auto", t.position === "popper" && "h-
|
|
134
|
+
u(v(j), { class: m(v(e)("p-1 overflow-y-auto", t.position === "popper" && "h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width)")) }, {
|
|
134
135
|
default: y(() => [_(n.$slots, "default")]),
|
|
135
136
|
_: 3
|
|
136
137
|
}, 8, ["class"]),
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { computed as t, createBlock as n, defineComponent as r, guardReactiveProps as i, mergeProps as a, normalizeProps as o, openBlock as s, renderSlot as c, unref as l, withCtx as u } from "vue";
|
|
3
|
+
import { TabsIndicator as d, TabsList as f, TabsRoot as p, TabsTrigger as m, useForwardProps as h, useForwardPropsEmits as g } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/ui/tabs/Tabs.vue
|
|
6
|
+
var _ = /* @__PURE__ */ r({
|
|
7
|
+
__name: "Tabs",
|
|
8
|
+
props: {
|
|
9
|
+
defaultValue: {},
|
|
10
|
+
orientation: {},
|
|
11
|
+
dir: {},
|
|
12
|
+
activationMode: {},
|
|
13
|
+
modelValue: {},
|
|
14
|
+
unmountOnHide: { type: Boolean },
|
|
15
|
+
asChild: { type: Boolean },
|
|
16
|
+
as: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(e, { emit: t }) {
|
|
20
|
+
let r = g(e, t);
|
|
21
|
+
return (e, t) => (s(), n(l(p), o(i(l(r))), {
|
|
22
|
+
default: u(() => [c(e.$slots, "default")]),
|
|
23
|
+
_: 3
|
|
24
|
+
}, 16));
|
|
25
|
+
}
|
|
26
|
+
}), v = /* @__PURE__ */ r({
|
|
27
|
+
__name: "TabsTrigger",
|
|
28
|
+
props: {
|
|
29
|
+
value: {},
|
|
30
|
+
disabled: { type: Boolean },
|
|
31
|
+
asChild: { type: Boolean },
|
|
32
|
+
as: {},
|
|
33
|
+
class: { type: [
|
|
34
|
+
Boolean,
|
|
35
|
+
null,
|
|
36
|
+
String,
|
|
37
|
+
Object,
|
|
38
|
+
Array
|
|
39
|
+
] }
|
|
40
|
+
},
|
|
41
|
+
setup(r) {
|
|
42
|
+
let i = r, o = h(t(() => {
|
|
43
|
+
let { class: e, ...t } = i;
|
|
44
|
+
return t;
|
|
45
|
+
}));
|
|
46
|
+
return (t, r) => (s(), n(l(m), a(l(o), { class: l(e)("focus-ring inline-flex items-center justify-center whitespace-nowrap rounded-sm p-1 px-3 text-sm font-medium transition-control disabled:pointer-events-none disabled:opacity-disabled data-[state=active]:text-[var(--active-tab-color,var(--foreground))] hover:text-foreground/70", i.class) }), {
|
|
47
|
+
default: u(() => [c(t.$slots, "default")]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 16, ["class"]));
|
|
50
|
+
}
|
|
51
|
+
}), y = /* @__PURE__ */ r({
|
|
52
|
+
__name: "TabsList",
|
|
53
|
+
props: {
|
|
54
|
+
loop: { type: Boolean },
|
|
55
|
+
asChild: { type: Boolean },
|
|
56
|
+
as: {},
|
|
57
|
+
class: { type: [
|
|
58
|
+
Boolean,
|
|
59
|
+
null,
|
|
60
|
+
String,
|
|
61
|
+
Object,
|
|
62
|
+
Array
|
|
63
|
+
] }
|
|
64
|
+
},
|
|
65
|
+
setup(r) {
|
|
66
|
+
let i = r, o = t(() => {
|
|
67
|
+
let { class: e, ...t } = i;
|
|
68
|
+
return t;
|
|
69
|
+
});
|
|
70
|
+
return (t, r) => (s(), n(l(f), a(o.value, { class: l(e)("inline-flex h-10 items-center justify-center rounded-input p-1 text-muted-foreground", i.class) }), {
|
|
71
|
+
default: u(() => [c(t.$slots, "default")]),
|
|
72
|
+
_: 3
|
|
73
|
+
}, 16, ["class"]));
|
|
74
|
+
}
|
|
75
|
+
}), b = /* @__PURE__ */ r({
|
|
76
|
+
__name: "TabsIndicator",
|
|
77
|
+
props: {
|
|
78
|
+
asChild: { type: Boolean },
|
|
79
|
+
as: {},
|
|
80
|
+
class: { type: [
|
|
81
|
+
Boolean,
|
|
82
|
+
null,
|
|
83
|
+
String,
|
|
84
|
+
Object,
|
|
85
|
+
Array
|
|
86
|
+
] }
|
|
87
|
+
},
|
|
88
|
+
setup(r) {
|
|
89
|
+
let i = r, o = t(() => {
|
|
90
|
+
let { class: e, ...t } = i;
|
|
91
|
+
return t;
|
|
92
|
+
});
|
|
93
|
+
return (t, r) => (s(), n(l(d), a(o.value, { class: l(e)("absolute left-0 h-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded-pill bg-secondary/80 transition-[width,transform] duration-normal ease-spring-snappy", i.class) }), null, 16, ["class"]));
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
//#endregion
|
|
97
|
+
export { _ as i, y as n, v as r, b as t };
|