@mkbabb/glass-ui 3.13.0 → 4.0.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/README.md +3 -1
- package/dist/CardAction-CW7a0m8M.js +253 -0
- package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DvZNQ_HF.js} +58 -53
- package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
- package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-uWnVxDab.js} +1 -1
- package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
- package/dist/{DataTable-BCddn3T3.js → DataTable-CuKwF7wr.js} +99 -97
- package/dist/DialogContent-DcKK8k9i.js +103 -0
- package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-BZNX5aVr.js} +3 -3
- package/dist/FadingScroll-DI6hQhT9.js +76 -0
- package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-b2uaAMRR.js} +1 -1
- package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-CbqbNwgU.js} +2 -2
- package/dist/IconChip-BTD-nay5.js +55 -0
- package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-Bl8gFZ8d.js} +1 -1
- package/dist/{Input-DWQQIOC4.js → Input-h9v5LeXf.js} +1 -1
- package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-RHdBP72w.js} +1 -1
- package/dist/Notification-VUwexFUf.js +43 -0
- package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
- package/dist/PopoverContent-DL7E6vJP.js +127 -0
- package/dist/{Progress-DwlUKGbr.js → Progress-DctG61iZ.js} +98 -78
- package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-yOpBzFYq.js} +2 -2
- package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-CrA8F0iV.js} +35 -20
- package/dist/{Switch-CsIuYP_e.js → Switch-CwYNf8bo.js} +1 -1
- package/dist/Toaster-Bw4xR8xV.js +274 -0
- package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-pEM9vIhs.js} +50 -37
- package/dist/{TooltipProvider-B3MkB_8P.js → TooltipProvider-rzvnXz60.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +16 -8
- package/dist/api/types-extra.d.ts +6 -0
- package/dist/api.js +2 -2
- package/dist/aurora.js +888 -230
- package/dist/badge.js +1 -1
- package/dist/border-progress.d.ts +1 -0
- package/dist/border-progress.js +106 -0
- package/dist/button-DYCUa-tH.js +126 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +90 -151
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -0
- package/dist/color-swatch.js +47 -0
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/compile-CQEFRTmx.js +19 -0
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +39 -0
- package/dist/components/custom/aurora/composables/auroraFallbackGround.d.ts +108 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +19 -0
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +5 -1
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +51 -0
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +29 -0
- package/dist/components/custom/aurora/constants/budget.d.ts +21 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +30 -2
- package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -10
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/procedural-color.wgsl.d.ts +4 -0
- package/dist/components/custom/aurora/index.d.ts +3 -2
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +46 -0
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +22 -0
- package/dist/components/custom/border-progress/constants.d.ts +59 -0
- package/dist/components/custom/border-progress/index.d.ts +4 -0
- package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/components/custom/color-swatch/index.d.ts +1 -0
- package/dist/components/custom/concentric/Concentric.vue.d.ts +39 -0
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +11 -0
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
- package/dist/components/custom/concentric/composables/ringField.d.ts +44 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +13 -0
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +35 -0
- package/dist/components/custom/concentric/constants.d.ts +43 -0
- package/dist/components/custom/concentric/index.d.ts +5 -0
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +4 -0
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -0
- package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
- package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/custom/constellation/constellationField.d.ts +2 -369
- package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
- package/dist/components/custom/constellation/index.d.ts +1 -1
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +13 -4
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +10 -2
- package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
- package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +75 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -0
- package/dist/components/custom/dock/constants.d.ts +35 -0
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +38 -0
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +41 -0
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +34 -0
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -0
- package/dist/components/custom/dot-flow-field/constants.d.ts +48 -0
- package/dist/components/custom/dot-flow-field/index.d.ts +5 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +20 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -0
- package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +33 -0
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +49 -0
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +75 -0
- package/dist/components/custom/easing/constants.d.ts +28 -0
- package/dist/components/custom/easing/index.d.ts +3 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
- package/dist/components/custom/fading-scroll/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +19 -2
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +39 -0
- package/dist/components/custom/fourier-field/constants.d.ts +7 -0
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +9 -1
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +4 -2
- package/dist/components/custom/goo-blob/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +29 -12
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/custom/goo-blob/constants.d.ts +6 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +269 -0
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
- package/dist/components/custom/handmark/constants.d.ts +39 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +52 -0
- package/dist/components/custom/handmark/index.d.ts +27 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +62 -0
- package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
- package/dist/components/custom/icon-chip/index.d.ts +2 -0
- package/dist/components/custom/icon-chip/types.d.ts +82 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +17 -2
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/spa-view/SpaView.vue.d.ts +50 -0
- package/dist/components/custom/spa-view/index.d.ts +2 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +29 -24
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
- package/dist/components/custom/tabs/constants.d.ts +9 -3
- package/dist/components/custom/tabs/index.d.ts +1 -1
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +15 -1
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/button/Button.vue.d.ts +5 -2
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/card/Card.vue.d.ts +34 -4
- package/dist/components/ui/card/CardHeader.vue.d.ts +42 -16
- package/dist/components/ui/card/ScrollCard.vue.d.ts +33 -0
- package/dist/components/ui/card/ScrollCardHeader.vue.d.ts +17 -0
- package/dist/components/ui/card/index.d.ts +2 -0
- 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/carousel/GlassCarouselPager.vue.d.ts +2 -2
- package/dist/components/ui/carousel/index.d.ts +0 -1
- package/dist/components/ui/command/Command.vue.d.ts +4 -1
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +12 -8
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +2 -2
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +1 -1
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +2 -2
- package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +26 -0
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +17 -0
- package/dist/components/ui/drawer/constants.d.ts +45 -0
- package/dist/components/ui/drawer/index.d.ts +23 -15
- package/dist/components/ui/focus-scope/FocusScope.vue.d.ts +20 -0
- package/dist/components/ui/focus-scope/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/ui/toast/Toast.vue.d.ts +5 -2
- package/dist/components/ui/toast/use-toast.d.ts +14 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +23 -1
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +13 -6
- package/dist/composables/glass/index.d.ts +5 -2
- package/dist/composables/glass/useSpecularPointer.d.ts +33 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +20 -0
- package/dist/composables/glass/vSpecular.d.ts +2 -0
- package/dist/composables/glass/webgl/shaders/flow.glsl.d.ts +1 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -0
- package/dist/composables/glass/webgpu/index.d.ts +2 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +54 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +84 -0
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/index.d.ts +4 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +59 -0
- package/dist/composables/motion/useDragMorph.d.ts +77 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +11 -0
- package/dist/composables/motion/useLiquidPress.d.ts +71 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +51 -0
- package/dist/composables/motion/useNumericTransition.d.ts +3 -3
- package/dist/composables/motion/usePointerVelocityField.d.ts +98 -0
- package/dist/composables/motion/useViewTransition.d.ts +36 -1
- package/dist/concentric.d.ts +1 -0
- package/dist/concentric.js +562 -0
- package/dist/configurator.js +3 -2
- package/dist/confirm-dialog.js +22 -24
- package/dist/constellation.js +93 -95
- package/dist/context-menu.js +3 -3
- package/dist/controls.js +10 -4
- package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +738 -442
- package/dist/{dockContext-BegmJVmx.js → dockContext-BNfyPLe9.js} +1 -1
- package/dist/dom.js +5 -5
- package/dist/dot-flow-field.d.ts +1 -0
- package/dist/dot-flow-field.js +604 -0
- package/dist/drawer.d.ts +1 -0
- package/dist/drawer.js +380 -0
- package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-CofSZuk8.js} +14 -15
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.d.ts +1 -0
- package/dist/easing.js +463 -0
- package/dist/expandable-container.js +45 -38
- package/dist/fading-scroll.d.ts +1 -0
- package/dist/fading-scroll.js +2 -0
- package/dist/focus-scope.d.ts +1 -0
- package/dist/focus-scope.js +23 -0
- package/dist/forms.js +7 -7
- package/dist/fourier-field.js +135 -122
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +39 -36
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +154 -362
- package/dist/goo-blob.js +838 -227
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +707 -0
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.d.ts +1 -0
- package/dist/icon-chip.js +2 -0
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/{math-U6-RrLmV.js → math-BINYmg5z.js} +11 -3
- package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-D8VNHq22.js} +10 -4
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -22
- package/dist/metric-stack.js +4 -8
- package/dist/motion-core.js +36 -35
- package/dist/motion-curves.js +1 -1
- package/dist/motion.js +157 -55
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -0
- package/dist/pager-dots.js +91 -0
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
- package/dist/{compile-B7NGOBcP.js → procedural-color.glsl-CIFsJhwI.js} +1 -155
- package/dist/procedural-color.wgsl-CToRHugY.js +224 -0
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +10 -12
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/sheet-tZMg0E0w.js +218 -0
- package/dist/sheet.js +1 -1
- package/dist/{slider-B-JP2JlI.js → slider-DVb4HXU-.js} +7 -7
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/spa-view.d.ts +1 -0
- package/dist/spa-view.js +46 -0
- package/dist/styles/animations.css +40 -31
- package/dist/styles/border-progress.css +109 -0
- package/dist/styles/cards.css +76 -0
- package/dist/styles/components.css +1 -1
- package/dist/styles/configurator.css +35 -0
- package/dist/styles/critical-partition.mjs +140 -0
- package/dist/styles/critical.css +12 -0
- package/dist/styles/deferred.css +31 -0
- package/dist/styles/dock/density.css +64 -0
- package/dist/styles/dock/layers.css +54 -30
- package/dist/styles/dock/morph.css +124 -7
- package/dist/styles/dock/overflow.css +31 -2
- package/dist/styles/dock/rail-extend.css +168 -71
- package/dist/styles/dock/section.css +59 -0
- package/dist/styles/dock/shell.css +83 -16
- package/dist/styles/dock-controls/icon-button.css +11 -1
- package/dist/styles/dock-controls/tab-button.css +24 -83
- package/dist/styles/dock-controls/triggers.css +7 -0
- package/dist/styles/dock.css +38 -3
- package/dist/styles/drawer.css +127 -35
- package/dist/styles/feedback-tone.css +104 -0
- package/dist/styles/glass/deep.css +44 -0
- package/dist/styles/glass/ladder.css +154 -52
- package/dist/styles/glass/material.css +78 -15
- package/dist/styles/glass/reveal.css +136 -0
- package/dist/styles/glass/rim.css +100 -0
- package/dist/styles/glass/surface-axis.css +113 -0
- package/dist/styles/glass/surfaces.css +189 -15
- package/dist/styles/glass-refract.css +96 -44
- package/dist/styles/glass-specular-track.css +7 -0
- package/dist/styles/glass.css +8 -2
- package/dist/styles/hover-popover.css +7 -6
- package/dist/styles/icon-chip.css +211 -0
- package/dist/styles/index.css +78 -4
- package/dist/styles/instrument-chassis.css +107 -2
- package/dist/styles/menu.css +127 -0
- package/dist/styles/scroll-choreography.css +300 -0
- package/dist/styles/segmented-tabs.css +188 -86
- package/dist/styles/select.css +50 -0
- package/dist/styles/theme/bridges.css +22 -1
- package/dist/styles/theme/literals.css +11 -2
- package/dist/styles/theme/radius.css +6 -1
- package/dist/styles/tokens/color-radius.css +40 -13
- package/dist/styles/tokens/dark-arm.css +200 -20
- package/dist/styles/tokens/glass-deep.css +75 -0
- package/dist/styles/tokens/glass-fx.css +333 -0
- package/dist/styles/tokens/glass.css +95 -315
- package/dist/styles/tokens/light-dark.css +64 -22
- package/dist/styles/tokens/offsets.css +116 -0
- package/dist/styles/tokens/on-glass-fg.css +39 -0
- package/dist/styles/tokens/property-regs.css +130 -10
- package/dist/styles/tokens/scale-paper.css +155 -84
- package/dist/styles/tokens/scheme-motion.css +102 -46
- package/dist/styles/tokens/scroll-tokens.css +123 -0
- package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/dist/styles/tokens.css +9 -3
- package/dist/styles/transitions.css +7 -7
- package/dist/styles/typography/scale.css +153 -0
- package/dist/styles/typography/semantic.css +220 -0
- package/dist/styles/typography/utilities.css +174 -0
- package/dist/styles/typography.css +23 -507
- package/dist/styles/utilities/a11y-overrides.css +33 -4
- package/dist/styles/utilities/animate.css +27 -24
- package/dist/styles/utilities/base-misc.css +255 -0
- package/dist/styles/utilities/base.css +100 -138
- package/dist/styles/utilities/btn.css +21 -202
- package/dist/styles/utilities/metal.css +189 -0
- package/dist/styles/utilities.css +14 -7
- package/dist/styles/view-transition.css +4 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +275 -191
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +3 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-BfUq2bUM.js} +1 -1
- package/dist/useCanvas2D-B8w_E3Rr.js +83 -0
- package/dist/useConfiguratorState-DNlOh6c8.js +161 -0
- package/dist/useDragMorph-DgxnsVJz.js +102 -0
- package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
- package/dist/useLiquidPress-kfb4KX79.js +39 -0
- package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
- package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-UYa4zoiN.js} +1 -1
- package/dist/useSpring-C0jyvEJB.js +40 -0
- package/dist/useSpringMount-q1amq1SJ.js +71 -0
- package/dist/useSpringPress-BsqPr7FJ.js +34 -0
- package/dist/useSurfaceAxis-g0NloYEF.js +7 -0
- package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-CBZTD4SD.js} +1 -1
- package/dist/vReveal-Czsb7zQC.js +10 -0
- package/dist/vSpecular-CQFmLNzA.js +68 -0
- package/dist/vendor-CKmzio-i.js +226 -0
- package/dist/watercolor-dot.js +12 -5
- package/package.json +193 -25
- package/src/styles/animations.css +40 -31
- package/src/styles/border-progress.css +109 -0
- package/src/styles/cards.css +76 -0
- package/src/styles/configurator.css +35 -0
- package/src/styles/critical-partition.mjs +140 -0
- package/src/styles/dock/density.css +64 -0
- package/src/styles/dock/layers.css +54 -30
- package/src/styles/dock/morph.css +124 -7
- package/src/styles/dock/overflow.css +31 -2
- package/src/styles/dock/rail-extend.css +168 -71
- package/src/styles/dock/section.css +59 -0
- package/src/styles/dock/shell.css +83 -16
- package/src/styles/dock-controls/icon-button.css +11 -1
- package/src/styles/dock-controls/tab-button.css +24 -83
- package/src/styles/dock-controls/triggers.css +7 -0
- package/src/styles/dock.css +38 -3
- package/src/styles/drawer.css +123 -35
- package/src/styles/feedback-tone.css +104 -0
- package/src/styles/glass/deep.css +44 -0
- package/src/styles/glass/ladder.css +154 -52
- package/src/styles/glass/material.css +78 -15
- package/src/styles/glass/reveal.css +136 -0
- package/src/styles/glass/rim.css +100 -0
- package/src/styles/glass/surface-axis.css +113 -0
- package/src/styles/glass/surfaces.css +189 -15
- package/src/styles/glass-refract.css +96 -44
- package/src/styles/glass-specular-track.css +7 -0
- package/src/styles/glass.css +8 -2
- package/src/styles/hover-popover.css +7 -6
- package/src/styles/icon-chip.css +211 -0
- package/src/styles/index.css +78 -4
- package/src/styles/instrument-chassis.css +107 -2
- package/src/styles/menu.css +127 -0
- package/src/styles/scroll-choreography.css +300 -0
- package/src/styles/segmented-tabs.css +184 -84
- package/src/styles/select.css +50 -0
- package/src/styles/theme/bridges.css +22 -1
- package/src/styles/theme/literals.css +11 -2
- package/src/styles/theme/radius.css +6 -1
- package/src/styles/tokens/color-radius.css +40 -13
- package/src/styles/tokens/dark-arm.css +200 -20
- package/src/styles/tokens/glass-deep.css +75 -0
- package/src/styles/tokens/glass-fx.css +333 -0
- package/src/styles/tokens/glass.css +95 -315
- package/src/styles/tokens/light-dark.css +64 -22
- package/src/styles/tokens/offsets.css +116 -0
- package/src/styles/tokens/on-glass-fg.css +39 -0
- package/src/styles/tokens/property-regs.css +130 -10
- package/src/styles/tokens/scale-paper.css +155 -84
- package/src/styles/tokens/scheme-motion.css +102 -46
- package/src/styles/tokens/scroll-tokens.css +123 -0
- package/src/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/src/styles/tokens.css +9 -3
- package/src/styles/transitions.css +7 -7
- package/src/styles/typography/scale.css +153 -0
- package/src/styles/typography/semantic.css +220 -0
- package/src/styles/typography/utilities.css +174 -0
- package/src/styles/typography.css +23 -507
- package/src/styles/utilities/a11y-overrides.css +33 -4
- package/src/styles/utilities/animate.css +27 -24
- package/src/styles/utilities/base-misc.css +255 -0
- package/src/styles/utilities/base.css +100 -138
- package/src/styles/utilities/btn.css +21 -202
- package/src/styles/utilities/metal.css +189 -0
- package/src/styles/utilities.css +14 -7
- package/src/styles/view-transition.css +4 -1
- package/dist/CardAction-Cj2eycQ2.js +0 -157
- package/dist/DialogContent-Dl9WkAoS.js +0 -100
- package/dist/Notification-DdwNxIrI.js +0 -100
- package/dist/NumberFieldContent-CqaN-SvN.js +0 -145
- package/dist/PopoverContent-BYwt2-4x.js +0 -121
- package/dist/TabsList-Dttss653.js +0 -105
- package/dist/Toaster-D6q4HtXu.js +0 -263
- package/dist/button-ChXMfsud.js +0 -81
- package/dist/check-njhk-vfu.js +0 -7
- package/dist/chevron-down-DKkxb4VV.js +0 -7
- package/dist/chevron-right-CPXbqQQz.js +0 -7
- package/dist/chevron-up-n_24SqI-.js +0 -7
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
- package/dist/createLucideIcon-DydS2qgk.js +0 -43
- package/dist/minimize-2-BV31Ob_h.js +0 -38
- package/dist/search-BSGrf2Sk.js +0 -12
- package/dist/sheet-1fChZjtw.js +0 -214
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useCanvas2D-ClrQuZtp.js +0 -96
- package/dist/useConfiguratorState-DAoeHVue.js +0 -287
- package/dist/useSpecularTracking-Bo5su68i.js +0 -32
- package/dist/useSpringMount-CI2jOstM.js +0 -108
- package/dist/vReveal-CqaCz_mC.js +0 -44
- package/dist/x-BUwTKe50.js +0 -10
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-68dEXIAl.js} +0 -0
- /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
- /package/dist/{Label-r3WzWrsj.js → Label-C2ejNWeC.js} +0 -0
- /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-D1VrWyoi.js} +0 -0
- /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
- /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-DwwjicPY.js} +0 -0
- /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DXswVdRz.js} +0 -0
- /package/dist/{Separator-0JE6LtNu.js → Separator-pKF0oA4M.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
- /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-BM46COQ-.js → createContext-CpBNTRMI.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-Za0Rmgag.js} +0 -0
- /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
- /package/dist/{springPresets--YdWTHtm.js → springPresets-CFQGQfdl.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-iHludrxk.js → useInterval-CvK1mL92.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-mZPMiNXh.js} +0 -0
- /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-Bpoi7tRE.js} +0 -0
- /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
- /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-DHjtZSEd.js} +0 -0
- /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-CWEi25hf.js} +0 -0
- /package/dist/{useTimer-Dzarvzuk.js → useTimer-BHJOKr35.js} +0 -0
- /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-y5namzeE.js} +0 -0
- /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-anbac3m6.js} +0 -0
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as r } from "./chevron-right-CPXbqQQz.js";
|
|
5
|
-
import { t as i } from "./menuItemVariants-DPiEarb0.js";
|
|
2
|
+
import { p as t, v as n, x as r } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as i } from "./menuItemVariants-D8VNHq22.js";
|
|
6
4
|
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, unref as _, withCtx as v } from "vue";
|
|
7
5
|
import { ContextMenuCheckboxItem as y, ContextMenuItem as b, ContextMenuItemIndicator as x, ContextMenuLabel as S, ContextMenuRadioGroup as C, ContextMenuRadioItem as w, ContextMenuSeparator as T, ContextMenuSubContent as E, ContextMenuSubTrigger as D, useForwardProps as O, useForwardPropsEmits as k } from "reka-ui";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
r: "10",
|
|
12
|
-
key: "1mglay"
|
|
13
|
-
}]]), j = /* @__PURE__ */ u({
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/ui/context-menu/ContextMenuRadioGroup.vue
|
|
8
|
+
var A = /* @__PURE__ */ u({
|
|
14
9
|
__name: "ContextMenuRadioGroup",
|
|
15
10
|
props: {
|
|
16
11
|
modelValue: {},
|
|
@@ -25,7 +20,7 @@ var A = t("circle", [["circle", {
|
|
|
25
20
|
_: 3
|
|
26
21
|
}, 16));
|
|
27
22
|
}
|
|
28
|
-
}),
|
|
23
|
+
}), j = /* @__PURE__ */ u({
|
|
29
24
|
__name: "ContextMenuItem",
|
|
30
25
|
props: {
|
|
31
26
|
disabled: { type: Boolean },
|
|
@@ -52,7 +47,7 @@ var A = t("circle", [["circle", {
|
|
|
52
47
|
_: 3
|
|
53
48
|
}, 16, ["class"]));
|
|
54
49
|
}
|
|
55
|
-
}),
|
|
50
|
+
}), M = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, N = /* @__PURE__ */ u({
|
|
56
51
|
__name: "ContextMenuCheckboxItem",
|
|
57
52
|
props: {
|
|
58
53
|
modelValue: { type: [Boolean, String] },
|
|
@@ -69,20 +64,20 @@ var A = t("circle", [["circle", {
|
|
|
69
64
|
] }
|
|
70
65
|
},
|
|
71
66
|
emits: ["select", "update:modelValue"],
|
|
72
|
-
setup(t, { emit:
|
|
73
|
-
let s = t, u =
|
|
67
|
+
setup(t, { emit: n }) {
|
|
68
|
+
let s = t, u = n, d = k(a(() => {
|
|
74
69
|
let { class: e, ...t } = s;
|
|
75
70
|
return t;
|
|
76
71
|
}), u);
|
|
77
|
-
return (t,
|
|
78
|
-
default: v(() => [c("span",
|
|
79
|
-
default: v(() => [l(_(
|
|
72
|
+
return (t, n) => (h(), o(_(y), f(_(d), { class: _(e)(_(i)({ indicator: "start-wide" }), s.class) }), {
|
|
73
|
+
default: v(() => [c("span", M, [l(_(x), null, {
|
|
74
|
+
default: v(() => [l(_(r), { class: "h-4 w-4" })]),
|
|
80
75
|
_: 1
|
|
81
76
|
})]), g(t.$slots, "default")]),
|
|
82
77
|
_: 3
|
|
83
78
|
}, 16, ["class"]));
|
|
84
79
|
}
|
|
85
|
-
}),
|
|
80
|
+
}), P = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, F = /* @__PURE__ */ u({
|
|
86
81
|
__name: "ContextMenuRadioItem",
|
|
87
82
|
props: {
|
|
88
83
|
value: {},
|
|
@@ -99,20 +94,20 @@ var A = t("circle", [["circle", {
|
|
|
99
94
|
] }
|
|
100
95
|
},
|
|
101
96
|
emits: ["select"],
|
|
102
|
-
setup(
|
|
103
|
-
let
|
|
104
|
-
let { class: e, ...t } =
|
|
97
|
+
setup(n, { emit: r }) {
|
|
98
|
+
let s = n, u = r, d = k(a(() => {
|
|
99
|
+
let { class: e, ...t } = s;
|
|
105
100
|
return t;
|
|
106
|
-
}),
|
|
107
|
-
return (
|
|
108
|
-
default: v(() => [c("span",
|
|
109
|
-
default: v(() => [l(_(
|
|
101
|
+
}), u);
|
|
102
|
+
return (n, r) => (h(), o(_(w), f(_(d), { class: _(e)(_(i)({ indicator: "start-wide" }), s.class) }), {
|
|
103
|
+
default: v(() => [c("span", P, [l(_(x), null, {
|
|
104
|
+
default: v(() => [l(_(t), { class: "h-2 w-2 fill-current" })]),
|
|
110
105
|
_: 1
|
|
111
|
-
})]), g(
|
|
106
|
+
})]), g(n.$slots, "default")]),
|
|
112
107
|
_: 3
|
|
113
108
|
}, 16, ["class"]));
|
|
114
109
|
}
|
|
115
|
-
}),
|
|
110
|
+
}), I = /* @__PURE__ */ u({
|
|
116
111
|
__name: "ContextMenuShortcut",
|
|
117
112
|
props: { class: { type: [
|
|
118
113
|
Boolean,
|
|
@@ -125,7 +120,7 @@ var A = t("circle", [["circle", {
|
|
|
125
120
|
let n = t;
|
|
126
121
|
return (t, r) => (h(), s("span", { class: p(_(e)("ml-auto text-dropdown-secondary tracking-widest text-muted-foreground", n.class)) }, [g(t.$slots, "default")], 2));
|
|
127
122
|
}
|
|
128
|
-
}),
|
|
123
|
+
}), L = /* @__PURE__ */ u({
|
|
129
124
|
__name: "ContextMenuSeparator",
|
|
130
125
|
props: {
|
|
131
126
|
asChild: { type: Boolean },
|
|
@@ -145,7 +140,7 @@ var A = t("circle", [["circle", {
|
|
|
145
140
|
});
|
|
146
141
|
return (t, i) => (h(), o(_(T), f(r.value, { class: _(e)("-mx-1 my-1 h-px bg-border", n.class) }), null, 16, ["class"]));
|
|
147
142
|
}
|
|
148
|
-
}),
|
|
143
|
+
}), R = /* @__PURE__ */ u({
|
|
149
144
|
__name: "ContextMenuLabel",
|
|
150
145
|
props: {
|
|
151
146
|
asChild: { type: Boolean },
|
|
@@ -169,7 +164,7 @@ var A = t("circle", [["circle", {
|
|
|
169
164
|
_: 3
|
|
170
165
|
}, 16, ["class"]));
|
|
171
166
|
}
|
|
172
|
-
}),
|
|
167
|
+
}), z = /* @__PURE__ */ u({
|
|
173
168
|
__name: "ContextMenuSubTrigger",
|
|
174
169
|
props: {
|
|
175
170
|
disabled: { type: Boolean },
|
|
@@ -186,16 +181,16 @@ var A = t("circle", [["circle", {
|
|
|
186
181
|
inset: { type: Boolean }
|
|
187
182
|
},
|
|
188
183
|
setup(t) {
|
|
189
|
-
let
|
|
190
|
-
let { class: e, ...t } =
|
|
184
|
+
let r = t, s = O(a(() => {
|
|
185
|
+
let { class: e, ...t } = r;
|
|
191
186
|
return t;
|
|
192
187
|
}));
|
|
193
|
-
return (a, c) => (h(), o(_(D), f(_(s), { class: _(e)(_(i)({ indicator: t.inset ? "start-wide" : "none" }),
|
|
194
|
-
default: v(() => [g(a.$slots, "default"), l(_(
|
|
188
|
+
return (a, c) => (h(), o(_(D), f(_(s), { class: _(e)(_(i)({ indicator: t.inset ? "start-wide" : "none" }), r.class) }), {
|
|
189
|
+
default: v(() => [g(a.$slots, "default"), l(_(n), { class: "ml-auto h-4 w-4" })]),
|
|
195
190
|
_: 3
|
|
196
191
|
}, 16, ["class"]));
|
|
197
192
|
}
|
|
198
|
-
}),
|
|
193
|
+
}), B = /* @__PURE__ */ u({
|
|
199
194
|
__name: "ContextMenuSubContent",
|
|
200
195
|
props: {
|
|
201
196
|
forceMount: { type: Boolean },
|
|
@@ -240,11 +235,11 @@ var A = t("circle", [["circle", {
|
|
|
240
235
|
let { class: e, ...t } = r;
|
|
241
236
|
return t;
|
|
242
237
|
}), i);
|
|
243
|
-
return (t, n) => (h(), o(_(E), f(_(s), { class: _(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground
|
|
238
|
+
return (t, n) => (h(), o(_(E), f(_(s), { class: _(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground glass-reveal", r.class) }), {
|
|
244
239
|
default: v(() => [g(t.$slots, "default")]),
|
|
245
240
|
_: 3
|
|
246
241
|
}, 16, ["class"]));
|
|
247
242
|
}
|
|
248
243
|
});
|
|
249
244
|
//#endregion
|
|
250
|
-
export {
|
|
245
|
+
export { I as a, j as c, L as i, A as l, z as n, F as o, R as r, N as s, B as t };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
4
|
-
import { n as r, r as i, t as a } from "./ContextMenuContent-
|
|
5
|
-
import { t as o } from "./useResizeObserver-
|
|
6
|
-
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, mergeProps as _, normalizeClass as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, toDisplayString as w, toValue as T, unref as E, useModel as
|
|
2
|
+
import { n as t } from "./button-DYCUa-tH.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "./ContextMenuContent-uWnVxDab.js";
|
|
5
|
+
import { t as o } from "./useResizeObserver-Bpoi7tRE.js";
|
|
6
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, mergeProps as _, normalizeClass as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, toDisplayString as w, toValue as T, unref as E, useModel as D, useSlots as ee, withCtx as O, withModifiers as k } from "vue";
|
|
7
7
|
//#region src/components/ui/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
8
|
+
var A = {
|
|
9
9
|
"data-slot": "table",
|
|
10
10
|
class: "relative w-full overflow-auto"
|
|
11
|
-
},
|
|
11
|
+
}, j = /* @__PURE__ */ h({
|
|
12
12
|
__name: "Table",
|
|
13
13
|
props: { class: { type: [
|
|
14
14
|
Boolean,
|
|
@@ -19,9 +19,9 @@ var k = {
|
|
|
19
19
|
] } },
|
|
20
20
|
setup(t) {
|
|
21
21
|
let n = t;
|
|
22
|
-
return (t, r) => (y(), d("div",
|
|
22
|
+
return (t, r) => (y(), d("div", A, [f("table", { class: v(E(e)("w-full caption-bottom text-sm", n.class)) }, [S(t.$slots, "default")], 2)]));
|
|
23
23
|
}
|
|
24
|
-
}),
|
|
24
|
+
}), M = /* @__PURE__ */ h({
|
|
25
25
|
__name: "TableBody",
|
|
26
26
|
props: { class: { type: [
|
|
27
27
|
Boolean,
|
|
@@ -34,7 +34,7 @@ var k = {
|
|
|
34
34
|
let n = t;
|
|
35
35
|
return (t, r) => (y(), d("tbody", { class: v(E(e)("[&_tr:last-child]:border-0", n.class)) }, [S(t.$slots, "default")], 2));
|
|
36
36
|
}
|
|
37
|
-
}),
|
|
37
|
+
}), N = /* @__PURE__ */ h({
|
|
38
38
|
__name: "TableCell",
|
|
39
39
|
props: { class: { type: [
|
|
40
40
|
Boolean,
|
|
@@ -47,7 +47,7 @@ var k = {
|
|
|
47
47
|
let n = t;
|
|
48
48
|
return (t, r) => (y(), d("td", { class: v(E(e)("table-cell align-middle [&:has([role=checkbox])]:pr-0", n.class)) }, [S(t.$slots, "default")], 2));
|
|
49
49
|
}
|
|
50
|
-
}),
|
|
50
|
+
}), P = /* @__PURE__ */ h({
|
|
51
51
|
__name: "TableHead",
|
|
52
52
|
props: { class: { type: [
|
|
53
53
|
Boolean,
|
|
@@ -60,7 +60,7 @@ var k = {
|
|
|
60
60
|
let n = t;
|
|
61
61
|
return (t, r) => (y(), d("th", { class: v(E(e)("table-head text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", n.class)) }, [S(t.$slots, "default")], 2));
|
|
62
62
|
}
|
|
63
|
-
}),
|
|
63
|
+
}), F = /* @__PURE__ */ h({
|
|
64
64
|
__name: "TableHeader",
|
|
65
65
|
props: { class: { type: [
|
|
66
66
|
Boolean,
|
|
@@ -73,7 +73,7 @@ var k = {
|
|
|
73
73
|
let n = t;
|
|
74
74
|
return (t, r) => (y(), d("thead", { class: v(E(e)("[&_tr]:border-b", n.class)) }, [S(t.$slots, "default")], 2));
|
|
75
75
|
}
|
|
76
|
-
}),
|
|
76
|
+
}), I = /* @__PURE__ */ h({
|
|
77
77
|
__name: "TableRow",
|
|
78
78
|
props: { class: { type: [
|
|
79
79
|
Boolean,
|
|
@@ -86,7 +86,7 @@ var k = {
|
|
|
86
86
|
let n = t;
|
|
87
87
|
return (t, r) => (y(), d("tr", { class: v(E(e)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", n.class)) }, [S(t.$slots, "default")], 2));
|
|
88
88
|
}
|
|
89
|
-
}),
|
|
89
|
+
}), L = { class: "flex items-center justify-center py-10" }, R = /* @__PURE__ */ h({
|
|
90
90
|
__name: "TableEmpty",
|
|
91
91
|
props: {
|
|
92
92
|
class: { type: [
|
|
@@ -103,18 +103,19 @@ var k = {
|
|
|
103
103
|
let { class: e, ...t } = n;
|
|
104
104
|
return t;
|
|
105
105
|
});
|
|
106
|
-
return (t, i) => (y(), l(
|
|
107
|
-
default:
|
|
108
|
-
default:
|
|
106
|
+
return (t, i) => (y(), l(I, null, {
|
|
107
|
+
default: O(() => [m(N, _({ class: E(e)("p-4 whitespace-nowrap align-middle text-sm text-foreground", n.class) }, r.value), {
|
|
108
|
+
default: O(() => [f("div", L, [S(t.$slots, "default")])]),
|
|
109
109
|
_: 3
|
|
110
110
|
}, 16, ["class"])]),
|
|
111
111
|
_: 3
|
|
112
112
|
}));
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
114
|
+
}), z = ["data-surface"], B = /* @__PURE__ */ n(/* @__PURE__ */ h({
|
|
115
115
|
__name: "Skeleton",
|
|
116
116
|
props: {
|
|
117
117
|
variant: { default: "pulse" },
|
|
118
|
+
surface: { default: "opaque" },
|
|
118
119
|
class: { type: [
|
|
119
120
|
Boolean,
|
|
120
121
|
null,
|
|
@@ -127,13 +128,14 @@ var k = {
|
|
|
127
128
|
let n = t;
|
|
128
129
|
return (r, i) => (y(), d("div", {
|
|
129
130
|
"data-slot": "skeleton",
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
"data-surface": t.surface,
|
|
132
|
+
class: v(E(e)("rounded-input", t.surface === "opaque" && "bg-muted", t.surface === "glass" && "skeleton-over-glass", t.variant === "pulse" && "animate-pulse", t.variant === "shimmer" && "skeleton-shimmer", t.variant === "breath" && "skeleton-breath", n.class))
|
|
133
|
+
}, null, 10, z));
|
|
132
134
|
}
|
|
133
|
-
}), [["__scopeId", "data-v-
|
|
135
|
+
}), [["__scopeId", "data-v-e270610f"]]), V = { class: "tabular-nums" }, H = { class: "flex items-center gap-1" }, U = {
|
|
134
136
|
key: 0,
|
|
135
137
|
class: "px-1 select-none"
|
|
136
|
-
},
|
|
138
|
+
}, W = /* @__PURE__ */ h({
|
|
137
139
|
__name: "DataTablePagination",
|
|
138
140
|
props: {
|
|
139
141
|
page: {},
|
|
@@ -156,7 +158,7 @@ var k = {
|
|
|
156
158
|
let t = Math.min(Math.max(1, e), o.value);
|
|
157
159
|
t !== i.page && a("update:page", t);
|
|
158
160
|
}
|
|
159
|
-
return (r, a) => (y(), d("div", { class: v(E(e)("flex items-center justify-between border-t border-border px-4 py-2 text-sm text-muted-foreground", i.class)) }, [f("span",
|
|
161
|
+
return (r, a) => (y(), d("div", { class: v(E(e)("flex items-center justify-between border-t border-border px-4 py-2 text-sm text-muted-foreground", i.class)) }, [f("span", V, w(n.total.toLocaleString()) + " result" + w(n.total === 1 ? "" : "s"), 1), f("div", H, [
|
|
160
162
|
m(E(t), {
|
|
161
163
|
variant: "ghost",
|
|
162
164
|
size: "icon",
|
|
@@ -164,7 +166,7 @@ var k = {
|
|
|
164
166
|
onClick: a[0] ||= (e) => g(1),
|
|
165
167
|
"aria-label": "First page"
|
|
166
168
|
}, {
|
|
167
|
-
default:
|
|
169
|
+
default: O(() => [...a[4] ||= [p(" ⟨⟨ ", -1)]]),
|
|
168
170
|
_: 1
|
|
169
171
|
}, 8, ["disabled"]),
|
|
170
172
|
m(E(t), {
|
|
@@ -174,17 +176,17 @@ var k = {
|
|
|
174
176
|
onClick: a[1] ||= (e) => g(u.value - 1),
|
|
175
177
|
"aria-label": "Previous page"
|
|
176
178
|
}, {
|
|
177
|
-
default:
|
|
179
|
+
default: O(() => [...a[5] ||= [p(" ⟨ ", -1)]]),
|
|
178
180
|
_: 1
|
|
179
181
|
}, 8, ["disabled"]),
|
|
180
|
-
(y(!0), d(s, null, x(h.value, (e, n) => (y(), d(s, { key: n }, [e === null ? (y(), d("span",
|
|
182
|
+
(y(!0), d(s, null, x(h.value, (e, n) => (y(), d(s, { key: n }, [e === null ? (y(), d("span", U, "...")) : (y(), l(E(t), {
|
|
181
183
|
key: 1,
|
|
182
184
|
variant: e === u.value ? "default" : "ghost",
|
|
183
185
|
size: "icon",
|
|
184
186
|
class: "tabular-nums",
|
|
185
187
|
onClick: (t) => g(e)
|
|
186
188
|
}, {
|
|
187
|
-
default:
|
|
189
|
+
default: O(() => [p(w(e), 1)]),
|
|
188
190
|
_: 2
|
|
189
191
|
}, 1032, ["variant", "onClick"]))], 64))), 128)),
|
|
190
192
|
m(E(t), {
|
|
@@ -194,7 +196,7 @@ var k = {
|
|
|
194
196
|
onClick: a[2] ||= (e) => g(u.value + 1),
|
|
195
197
|
"aria-label": "Next page"
|
|
196
198
|
}, {
|
|
197
|
-
default:
|
|
199
|
+
default: O(() => [...a[6] ||= [p(" ⟩ ", -1)]]),
|
|
198
200
|
_: 1
|
|
199
201
|
}, 8, ["disabled"]),
|
|
200
202
|
m(E(t), {
|
|
@@ -204,7 +206,7 @@ var k = {
|
|
|
204
206
|
onClick: a[3] ||= (e) => g(o.value),
|
|
205
207
|
"aria-label": "Last page"
|
|
206
208
|
}, {
|
|
207
|
-
default:
|
|
209
|
+
default: O(() => [...a[7] ||= [p(" ⟩⟩ ", -1)]]),
|
|
208
210
|
_: 1
|
|
209
211
|
}, 8, ["disabled"])
|
|
210
212
|
])], 2));
|
|
@@ -212,25 +214,25 @@ var k = {
|
|
|
212
214
|
});
|
|
213
215
|
//#endregion
|
|
214
216
|
//#region src/components/ui/data-table/composables/useDataTableRowIdentity.ts
|
|
215
|
-
function
|
|
217
|
+
function G(e) {
|
|
216
218
|
if (e) return e.length === 0 ? e() : e;
|
|
217
219
|
}
|
|
218
|
-
function
|
|
220
|
+
function K(e, t) {
|
|
219
221
|
return t.split(".").reduce((e, t) => {
|
|
220
222
|
if (!(typeof e != "object" || !e)) return e[t];
|
|
221
223
|
}, e);
|
|
222
224
|
}
|
|
223
|
-
function
|
|
225
|
+
function q(e) {
|
|
224
226
|
return typeof e == "string" || typeof e == "number" || typeof e == "symbol";
|
|
225
227
|
}
|
|
226
|
-
function
|
|
228
|
+
function J(e) {
|
|
227
229
|
return typeof e == "symbol" ? e.toString() : JSON.stringify(e);
|
|
228
230
|
}
|
|
229
|
-
function
|
|
231
|
+
function Y(e) {
|
|
230
232
|
let { rows: t, rowKey: n, getRowId: r } = e, i = /* @__PURE__ */ new WeakMap(), a = 0;
|
|
231
233
|
function o(e) {
|
|
232
|
-
let t =
|
|
233
|
-
return t ? t(e) :
|
|
234
|
+
let t = G(r);
|
|
235
|
+
return t ? t(e) : K(e, T(n));
|
|
234
236
|
}
|
|
235
237
|
function s(e) {
|
|
236
238
|
let t = e, n = i.get(t);
|
|
@@ -240,22 +242,22 @@ function q(e) {
|
|
|
240
242
|
}
|
|
241
243
|
return { rowEntries: c(() => {
|
|
242
244
|
let e = T(t), n = e.map((e) => o(e)), r = /* @__PURE__ */ new Map();
|
|
243
|
-
for (let e of n)
|
|
244
|
-
let i = n.filter((e) => !
|
|
245
|
+
for (let e of n) q(e) && r.set(e, (r.get(e) ?? 0) + 1);
|
|
246
|
+
let i = n.filter((e) => !q(e)).length;
|
|
245
247
|
i > 0 && `${i}`;
|
|
246
|
-
let a = Array.from(r).filter(([, e]) => e > 1).map(([e]) =>
|
|
248
|
+
let a = Array.from(r).filter(([, e]) => e > 1).map(([e]) => J(e));
|
|
247
249
|
return a.length > 0 && (`${a.join(",")}`, `${a.join(", ")}`), e.map((e, t) => {
|
|
248
250
|
let i = n[t];
|
|
249
251
|
return {
|
|
250
252
|
row: e,
|
|
251
|
-
key:
|
|
253
|
+
key: q(i) && r.get(i) === 1 ? i : s(e)
|
|
252
254
|
};
|
|
253
255
|
});
|
|
254
256
|
}) };
|
|
255
257
|
}
|
|
256
258
|
//#endregion
|
|
257
259
|
//#region src/components/ui/data-table/composables/useDataTableResponsive.ts
|
|
258
|
-
function
|
|
260
|
+
function X(e) {
|
|
259
261
|
let { columns: t, responsive: n, cardBreakpoint: r, containerWidth: i } = e;
|
|
260
262
|
return {
|
|
261
263
|
isCard: c(() => {
|
|
@@ -268,10 +270,10 @@ function J(e) {
|
|
|
268
270
|
}
|
|
269
271
|
//#endregion
|
|
270
272
|
//#region src/components/ui/data-table/DataTable.vue?vue&type=script&setup=true&lang.ts
|
|
271
|
-
var
|
|
273
|
+
var Z = {
|
|
272
274
|
key: 0,
|
|
273
275
|
class: "flex flex-col gap-2"
|
|
274
|
-
},
|
|
276
|
+
}, te = {
|
|
275
277
|
key: 1,
|
|
276
278
|
class: "flex flex-col gap-2"
|
|
277
279
|
}, ne = ["onClick"], re = { class: "flex items-start justify-between gap-2" }, ie = { class: "min-w-0 font-medium" }, ae = {
|
|
@@ -280,7 +282,7 @@ var Y = {
|
|
|
280
282
|
}, oe = { class: "text-muted-foreground" }, se = {
|
|
281
283
|
key: 2,
|
|
282
284
|
class: "rounded-lg border border-border p-6 text-center text-muted-foreground"
|
|
283
|
-
},
|
|
285
|
+
}, Q = /* @__PURE__ */ h({
|
|
284
286
|
__name: "DataTable",
|
|
285
287
|
props: /* @__PURE__ */ g({
|
|
286
288
|
columns: {},
|
|
@@ -318,27 +320,27 @@ var Y = {
|
|
|
318
320
|
"load-more"
|
|
319
321
|
], ["update:page"]),
|
|
320
322
|
setup(t, { emit: n }) {
|
|
321
|
-
let h = t, g =
|
|
323
|
+
let h = t, g = D(t, "page"), _ = n, T = ee(), A = c(() => !!T["row-actions"]), L = c(() => !!T["row-context-menu"]), z = b(null), V = b(0);
|
|
322
324
|
o(z, (e) => {
|
|
323
|
-
|
|
325
|
+
V.value = e.width;
|
|
324
326
|
});
|
|
325
|
-
let { isCard:
|
|
327
|
+
let { isCard: H, headerColumn: U, bodyColumns: G } = X({
|
|
326
328
|
columns: () => h.columns,
|
|
327
329
|
responsive: () => h.responsive,
|
|
328
330
|
cardBreakpoint: () => h.cardBreakpoint,
|
|
329
|
-
containerWidth:
|
|
330
|
-
}), { rowEntries:
|
|
331
|
+
containerWidth: V
|
|
332
|
+
}), { rowEntries: K } = Y({
|
|
331
333
|
rows: () => h.rows,
|
|
332
334
|
rowKey: () => h.rowKey,
|
|
333
335
|
getRowId: () => h.getRowId
|
|
334
|
-
}),
|
|
335
|
-
function
|
|
336
|
+
}), q = c(() => Array.from({ length: Math.min(h.pageSize, 5) }, (e, t) => t));
|
|
337
|
+
function J(e, t) {
|
|
336
338
|
return t.split(".").reduce((e, t) => {
|
|
337
339
|
if (!(typeof e != "object" || !e)) return e[t];
|
|
338
340
|
}, e);
|
|
339
341
|
}
|
|
340
342
|
function Q(e, t) {
|
|
341
|
-
let n =
|
|
343
|
+
let n = J(e, t.key);
|
|
342
344
|
return t.formatter ? t.formatter(n, e) : n == null ? "—" : String(n);
|
|
343
345
|
}
|
|
344
346
|
function $(e) {
|
|
@@ -364,127 +366,127 @@ var Y = {
|
|
|
364
366
|
ref: z,
|
|
365
367
|
class: v(E(e)("overflow-hidden", h.class))
|
|
366
368
|
}, [
|
|
367
|
-
E(
|
|
369
|
+
E(H) ? (y(), d(s, { key: 0 }, [t.isLoading && t.rows.length === 0 ? (y(), d("div", Z, [(y(!0), d(s, null, x(q.value, (e) => (y(), d("div", {
|
|
368
370
|
key: "skel-card-" + e,
|
|
369
371
|
class: "rounded-lg border border-border p-3"
|
|
370
|
-
}, [m(E(
|
|
371
|
-
default:
|
|
372
|
-
default:
|
|
372
|
+
}, [m(E(B), { class: "mb-2 h-4 w-1/2" }), m(E(B), { class: "h-3 w-3/4" })]))), 128))])) : t.rows.length > 0 ? (y(), d("div", te, [(y(!0), d(s, null, x(E(K), (t) => (y(), l(C(L.value ? E(i) : "div"), { key: t.key }, {
|
|
373
|
+
default: O(() => [(y(), l(C(L.value ? E(r) : "div"), { "as-child": L.value ? !0 : void 0 }, {
|
|
374
|
+
default: O(() => [f("div", {
|
|
373
375
|
class: "cursor-pointer rounded-lg border border-border p-3 transition-colors hover:bg-muted/40",
|
|
374
376
|
onClick: (e) => _("select", t.row)
|
|
375
377
|
}, [f("div", re, [f("div", ie, [E(U)?.component ? (y(), l(C(E(U).component), {
|
|
376
378
|
key: 0,
|
|
377
|
-
value:
|
|
379
|
+
value: J(t.row, E(U).key),
|
|
378
380
|
row: t.row
|
|
379
|
-
}, null, 8, ["value", "row"])) : E(U) ? (y(), d(s, { key: 1 }, [p(w(Q(t.row, E(U))), 1)], 64)) : u("", !0)]),
|
|
381
|
+
}, null, 8, ["value", "row"])) : E(U) ? (y(), d(s, { key: 1 }, [p(w(Q(t.row, E(U))), 1)], 64)) : u("", !0)]), A.value ? (y(), d("div", {
|
|
380
382
|
key: 0,
|
|
381
383
|
class: "shrink-0",
|
|
382
|
-
onClick: o[0] ||=
|
|
383
|
-
}, [S(n.$slots, "row-actions", { row: t.row })])) : u("", !0)]), E(
|
|
384
|
+
onClick: o[0] ||= k(() => {}, ["stop"])
|
|
385
|
+
}, [S(n.$slots, "row-actions", { row: t.row })])) : u("", !0)]), E(G).length > 0 ? (y(), d("dl", ae, [(y(!0), d(s, null, x(E(G), (n) => (y(), d(s, { key: n.key }, [f("dt", oe, w(n.label), 1), f("dd", { class: v(E(e)("min-w-0 break-words", n.align === "right" && "text-right", n.class)) }, [n.component ? (y(), l(C(n.component), {
|
|
384
386
|
key: 0,
|
|
385
|
-
value:
|
|
387
|
+
value: J(t.row, n.key),
|
|
386
388
|
row: t.row
|
|
387
389
|
}, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(Q(t.row, n)), 1)], 64))], 2)], 64))), 128))])) : u("", !0)], 8, ne)]),
|
|
388
390
|
_: 2
|
|
389
|
-
}, 1032, ["as-child"])),
|
|
390
|
-
default:
|
|
391
|
+
}, 1032, ["as-child"])), L.value ? (y(), l(E(a), { key: 0 }, {
|
|
392
|
+
default: O(() => [S(n.$slots, "row-context-menu", { row: t.row })]),
|
|
391
393
|
_: 2
|
|
392
394
|
}, 1024)) : u("", !0)]),
|
|
393
395
|
_: 2
|
|
394
|
-
}, 1024))), 128))])) : (y(), d("div", se, [S(n.$slots, "empty", {}, () => [o[4] ||= p("No results found", -1)])]))], 64)) : (y(), l(E(
|
|
395
|
-
default:
|
|
396
|
-
default:
|
|
397
|
-
default:
|
|
396
|
+
}, 1024))), 128))])) : (y(), d("div", se, [S(n.$slots, "empty", {}, () => [o[4] ||= p("No results found", -1)])]))], 64)) : (y(), l(E(j), { key: 1 }, {
|
|
397
|
+
default: O(() => [m(E(F), null, {
|
|
398
|
+
default: O(() => [m(E(I), { class: "text-muted-foreground" }, {
|
|
399
|
+
default: O(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(E(P), {
|
|
398
400
|
key: t.key,
|
|
399
401
|
class: v(E(e)($(t.align), t.sortable && "cursor-pointer select-none", t.headerClass)),
|
|
400
402
|
onClick: (e) => ce(t)
|
|
401
403
|
}, {
|
|
402
|
-
default:
|
|
404
|
+
default: O(() => [p(w(t.label) + w(le(t)), 1)]),
|
|
403
405
|
_: 2
|
|
404
|
-
}, 1032, ["class", "onClick"]))), 128)),
|
|
406
|
+
}, 1032, ["class", "onClick"]))), 128)), A.value ? (y(), l(E(P), {
|
|
405
407
|
key: 0,
|
|
406
408
|
class: "w-10"
|
|
407
409
|
})) : u("", !0)]),
|
|
408
410
|
_: 1
|
|
409
411
|
})]),
|
|
410
412
|
_: 1
|
|
411
|
-
}), m(E(
|
|
412
|
-
default:
|
|
413
|
-
default:
|
|
413
|
+
}), m(E(M), null, {
|
|
414
|
+
default: O(() => [t.isLoading && t.rows.length === 0 ? (y(!0), d(s, { key: 0 }, x(q.value, (e) => (y(), l(E(I), { key: "skel-" + e }, {
|
|
415
|
+
default: O(() => [(y(!0), d(s, null, x(t.columns, (e) => (y(), l(E(N), {
|
|
414
416
|
key: e.key,
|
|
415
417
|
class: v($(e.align))
|
|
416
418
|
}, {
|
|
417
|
-
default:
|
|
419
|
+
default: O(() => [m(E(B), { class: "h-4 w-3/4" })]),
|
|
418
420
|
_: 1
|
|
419
|
-
}, 8, ["class"]))), 128)),
|
|
421
|
+
}, 8, ["class"]))), 128)), A.value ? (y(), l(E(N), {
|
|
420
422
|
key: 0,
|
|
421
423
|
class: "w-10"
|
|
422
424
|
}, {
|
|
423
|
-
default:
|
|
425
|
+
default: O(() => [m(E(B), { class: "h-4 w-6" })]),
|
|
424
426
|
_: 1
|
|
425
427
|
})) : u("", !0)]),
|
|
426
428
|
_: 1
|
|
427
|
-
}))), 128)) : t.rows.length > 0 ? (y(!0), d(s, { key: 1 }, x(E(
|
|
428
|
-
default:
|
|
429
|
-
default:
|
|
429
|
+
}))), 128)) : t.rows.length > 0 ? (y(!0), d(s, { key: 1 }, x(E(K), (c) => (y(), d(s, { key: c.key }, [L.value ? (y(), l(E(i), { key: 0 }, {
|
|
430
|
+
default: O(() => [m(E(r), { "as-child": "" }, {
|
|
431
|
+
default: O(() => [m(E(I), {
|
|
430
432
|
class: "cursor-pointer",
|
|
431
433
|
onClick: (e) => _("select", c.row)
|
|
432
434
|
}, {
|
|
433
|
-
default:
|
|
435
|
+
default: O(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(E(N), {
|
|
434
436
|
key: t.key,
|
|
435
437
|
class: v(E(e)($(t.align), t.class))
|
|
436
438
|
}, {
|
|
437
|
-
default:
|
|
439
|
+
default: O(() => [t.component ? (y(), l(C(t.component), {
|
|
438
440
|
key: 0,
|
|
439
|
-
value:
|
|
441
|
+
value: J(c.row, t.key),
|
|
440
442
|
row: c.row
|
|
441
443
|
}, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(Q(c.row, t)), 1)], 64))]),
|
|
442
444
|
_: 2
|
|
443
|
-
}, 1032, ["class"]))), 128)),
|
|
445
|
+
}, 1032, ["class"]))), 128)), A.value ? (y(), l(E(N), {
|
|
444
446
|
key: 0,
|
|
445
447
|
class: "w-10",
|
|
446
|
-
onClick: o[1] ||=
|
|
448
|
+
onClick: o[1] ||= k(() => {}, ["stop"])
|
|
447
449
|
}, {
|
|
448
|
-
default:
|
|
450
|
+
default: O(() => [S(n.$slots, "row-actions", { row: c.row })]),
|
|
449
451
|
_: 2
|
|
450
452
|
}, 1024)) : u("", !0)]),
|
|
451
453
|
_: 2
|
|
452
454
|
}, 1032, ["onClick"])]),
|
|
453
455
|
_: 2
|
|
454
456
|
}, 1024), m(E(a), null, {
|
|
455
|
-
default:
|
|
457
|
+
default: O(() => [S(n.$slots, "row-context-menu", { row: c.row })]),
|
|
456
458
|
_: 2
|
|
457
459
|
}, 1024)]),
|
|
458
460
|
_: 2
|
|
459
|
-
}, 1024)) : (y(), l(E(
|
|
461
|
+
}, 1024)) : (y(), l(E(I), {
|
|
460
462
|
key: 1,
|
|
461
463
|
class: "cursor-pointer",
|
|
462
464
|
onClick: (e) => _("select", c.row)
|
|
463
465
|
}, {
|
|
464
|
-
default:
|
|
466
|
+
default: O(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(E(N), {
|
|
465
467
|
key: t.key,
|
|
466
468
|
class: v(E(e)($(t.align), t.class))
|
|
467
469
|
}, {
|
|
468
|
-
default:
|
|
470
|
+
default: O(() => [t.component ? (y(), l(C(t.component), {
|
|
469
471
|
key: 0,
|
|
470
|
-
value:
|
|
472
|
+
value: J(c.row, t.key),
|
|
471
473
|
row: c.row
|
|
472
474
|
}, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(Q(c.row, t)), 1)], 64))]),
|
|
473
475
|
_: 2
|
|
474
|
-
}, 1032, ["class"]))), 128)),
|
|
476
|
+
}, 1032, ["class"]))), 128)), A.value ? (y(), l(E(N), {
|
|
475
477
|
key: 0,
|
|
476
478
|
class: "w-10",
|
|
477
|
-
onClick: o[2] ||=
|
|
479
|
+
onClick: o[2] ||= k(() => {}, ["stop"])
|
|
478
480
|
}, {
|
|
479
|
-
default:
|
|
481
|
+
default: O(() => [S(n.$slots, "row-actions", { row: c.row })]),
|
|
480
482
|
_: 2
|
|
481
483
|
}, 1024)) : u("", !0)]),
|
|
482
484
|
_: 2
|
|
483
|
-
}, 1032, ["onClick"]))], 64))), 128)) : (y(), l(E(
|
|
485
|
+
}, 1032, ["onClick"]))], 64))), 128)) : (y(), l(E(R), {
|
|
484
486
|
key: 2,
|
|
485
|
-
colspan: t.columns.length + +!!
|
|
487
|
+
colspan: t.columns.length + +!!A.value
|
|
486
488
|
}, {
|
|
487
|
-
default:
|
|
489
|
+
default: O(() => [S(n.$slots, "empty", {}, () => [o[5] ||= p("No results found", -1)])]),
|
|
488
490
|
_: 3
|
|
489
491
|
}, 8, ["colspan"]))]),
|
|
490
492
|
_: 3
|
|
@@ -492,7 +494,7 @@ var Y = {
|
|
|
492
494
|
_: 3
|
|
493
495
|
})),
|
|
494
496
|
t.infinite ? S(n.$slots, "sentinel", { key: 2 }) : u("", !0),
|
|
495
|
-
!t.infinite && t.total > 0 ? (y(), l(
|
|
497
|
+
!t.infinite && t.total > 0 ? (y(), l(W, {
|
|
496
498
|
key: 3,
|
|
497
499
|
page: g.value,
|
|
498
500
|
"page-size": t.pageSize,
|
|
@@ -507,4 +509,4 @@ var Y = {
|
|
|
507
509
|
}
|
|
508
510
|
});
|
|
509
511
|
//#endregion
|
|
510
|
-
export {
|
|
512
|
+
export { I as a, N as c, R as i, M as l, W as n, F as o, B as r, P as s, Q as t, j as u };
|