@mkbabb/glass-ui 3.1.1 → 3.3.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.
Files changed (337) hide show
  1. package/dist/{CardFooter-CSGcJkqa.js → CardFooter-C390imy7.js} +3 -3
  2. package/dist/{CollapsibleContent-CVMOcYlV.js → CollapsibleContent-cauTbZEM.js} +1 -1
  3. package/dist/{CommandShortcut-DWT19a2Y.js → CommandShortcut-BiVyqipe.js} +7 -6
  4. package/dist/{ContextMenuSubContent-gAFxJ-qi.js → ContextMenuSubContent-DrWkXKQP.js} +4 -4
  5. package/dist/DataTable-FfkaAg2z.js +465 -0
  6. package/dist/DialogContent-IQ8_BRrC.js +100 -0
  7. package/dist/{DialogFooter-ClrNEOVU.js → DialogFooter-Er0wA3K6.js} +2 -2
  8. package/dist/{DiscoGlyph-C3JfMnRV.js → DiscoGlyph-BaZ8OawK.js} +1 -1
  9. package/dist/{GlyphFace-BRS8vUb7.js → GlyphFace-B_7vOmYn.js} +1 -1
  10. package/dist/HoverPopover-DTSYkJtw.js +96 -0
  11. package/dist/{IconTooltip-BkaA7tZ2.js → IconTooltip-BTyYn4mr.js} +1 -1
  12. package/dist/Input-CU9CNKmo.js +52 -0
  13. package/dist/{MetricBadge-DmAihkXd.js → MetricBadge-BlrdbOGN.js} +2 -2
  14. package/dist/{Notification-OqIpADml.js → Notification-DP_ApJLo.js} +3 -3
  15. package/dist/{NumberFieldContent-DTH9gb_N.js → NumberFieldContent-iOTQ5rGO.js} +9 -5
  16. package/dist/{PopoverContent-EiklFrna.js → PopoverContent-B8WtJECb.js} +1 -1
  17. package/dist/Progress-DjM86vfb.js +254 -0
  18. package/dist/{ScrollingText-BFd0i2zJ.js → ScrollingText-P9o_DuMn.js} +2 -2
  19. package/dist/{SelectScrollDownButton-Dth8-wXQ.js → SelectScrollDownButton-BGn3rjs9.js} +12 -11
  20. package/dist/TabsIndicator-DA0x9gPr.js +97 -0
  21. package/dist/{Toaster-Bjlunvq4.js → Toaster-DdhMKfus.js} +1 -1
  22. package/dist/{ToggleGroupItem-OesUouE7.js → ToggleGroupItem-gyXj998A.js} +37 -40
  23. package/dist/UnderlineTabs-Cq_AD03t.js +39 -0
  24. package/dist/animated-digit.js +3 -3
  25. package/dist/api/index.d.ts +2 -0
  26. package/dist/api.js +1 -1
  27. package/dist/aurora.js +471 -320
  28. package/dist/badge.js +1 -1
  29. package/dist/{button-C0aHmBbt.js → button-Ckn3eDfB.js} +27 -22
  30. package/dist/button.js +1 -1
  31. package/dist/card.js +1 -1
  32. package/dist/carousel.js +6 -6
  33. package/dist/{check-dwgetki8.js → check-CdkxGxXJ.js} +1 -1
  34. package/dist/{chevron-down-DILQA1t6.js → chevron-down-pBY8sYfV.js} +1 -1
  35. package/dist/{chevron-right-fS7fal2t.js → chevron-right-BjeKC22V.js} +1 -1
  36. package/dist/{chevron-up-BtYjYQOS.js → chevron-up-DBeNHUm1.js} +1 -1
  37. package/dist/collapsible.js +1 -1
  38. package/dist/color-rkK4RMx2.js +33 -0
  39. package/dist/color.d.ts +1 -0
  40. package/dist/color.js +2 -0
  41. package/dist/command.js +1 -1
  42. package/dist/compile-DVgAxagk.js +106 -0
  43. package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +7 -7
  44. package/dist/components/custom/aurora/Aurora.vue.d.ts +3 -3
  45. package/dist/components/custom/aurora/composables/color.d.ts +42 -16
  46. package/dist/components/custom/aurora/composables/cursorModel.d.ts +45 -0
  47. package/dist/components/custom/aurora/composables/frameLoop.d.ts +30 -0
  48. package/dist/components/custom/aurora/composables/glSetup.d.ts +29 -0
  49. package/dist/components/custom/aurora/composables/runtime.d.ts +45 -35
  50. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +67 -0
  51. package/dist/components/custom/aurora/composables/useAurora.d.ts +14 -1
  52. package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +1 -1
  53. package/dist/components/custom/aurora/constants/budget.d.ts +50 -0
  54. package/dist/components/custom/aurora/{presets.d.ts → constants/presets.d.ts} +3 -6
  55. package/dist/components/custom/aurora/constants/shaders/aurora.frag.d.ts +1 -0
  56. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -0
  57. package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -0
  58. package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -0
  59. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
  60. package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -0
  61. package/dist/components/custom/aurora/index.d.ts +4 -3
  62. package/dist/components/custom/configurator/Configurator.vue.d.ts +26 -0
  63. package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +14 -7
  64. package/dist/components/custom/configurator/density.d.ts +3 -8
  65. package/dist/components/custom/configurator/index.d.ts +1 -1
  66. package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +46 -0
  67. package/dist/components/custom/dock/DockIconButton.vue.d.ts +15 -4
  68. package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +2 -2
  69. package/dist/components/custom/dock/GlassDock.vue.d.ts +34 -13
  70. package/dist/components/custom/dock/composables/dockContext.d.ts +4 -4
  71. package/dist/components/custom/dock/composables/dockLayerContext.d.ts +13 -6
  72. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +32 -8
  73. package/dist/components/custom/dock/index.d.ts +1 -0
  74. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
  75. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
  76. package/dist/components/custom/glyph-face/keys.d.ts +3 -29
  77. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +48 -0
  78. package/dist/components/custom/goo-blob/composables/easing.d.ts +6 -0
  79. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +14 -0
  80. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +18 -0
  81. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +13 -0
  82. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +42 -0
  83. package/dist/components/custom/goo-blob/index.d.ts +7 -0
  84. package/dist/components/custom/goo-blob/shaders/metaball.frag.d.ts +1 -0
  85. package/dist/components/custom/goo-blob/shaders/metaball.vert.d.ts +1 -0
  86. package/dist/components/custom/goo-blob/shaders/oklch-perturb.glsl.d.ts +1 -0
  87. package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -0
  88. package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -0
  89. package/dist/components/custom/goo-blob/types.d.ts +77 -0
  90. package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +48 -9
  91. package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +2 -0
  92. package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +2 -2
  93. package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +2 -2
  94. package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +13 -7
  95. package/dist/components/custom/search/FuzzySearch.vue.d.ts +1 -1
  96. package/dist/components/custom/search/SearchBar.vue.d.ts +1 -1
  97. package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +7 -1
  98. package/dist/components/custom/sortable-list/context.d.ts +2 -3
  99. package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +6 -3
  100. package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +7 -3
  101. package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +6 -3
  102. package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +39 -0
  103. package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +49 -0
  104. package/dist/components/custom/timeline/ContinuousRail.vue.d.ts +26 -0
  105. package/dist/components/custom/timeline/ContinuousTimeline.vue.d.ts +4 -4
  106. package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +2 -2
  107. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +45 -0
  108. package/dist/components/custom/watercolor-dot/index.d.ts +3 -0
  109. package/dist/components/custom/watercolor-dot/prng.d.ts +5 -0
  110. package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +24 -0
  111. package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
  112. package/dist/components/ui/avatar/Avatar.vue.d.ts +1 -1
  113. package/dist/components/ui/avatar/AvatarImage.vue.d.ts +5 -1
  114. package/dist/components/ui/avatar/index.d.ts +1 -1
  115. package/dist/components/ui/badge/index.d.ts +2 -2
  116. package/dist/components/ui/button/Button.vue.d.ts +3 -1
  117. package/dist/components/ui/button/index.d.ts +2 -2
  118. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
  119. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
  120. package/dist/components/ui/combobox/Combobox.vue.d.ts +2 -2
  121. package/dist/components/ui/combobox/ComboboxInput.vue.d.ts +2 -1
  122. package/dist/components/ui/command/Command.vue.d.ts +3 -3
  123. package/dist/components/ui/command/CommandInput.vue.d.ts +2 -1
  124. package/dist/components/ui/data-table/DataTable.vue.d.ts +5 -4
  125. package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -0
  126. package/dist/components/ui/drawer/Drawer.vue.d.ts +4 -4
  127. package/dist/components/ui/input/Input.vue.d.ts +19 -1
  128. package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +8 -4
  129. package/dist/components/ui/progress/Progress.vue.d.ts +26 -88
  130. package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -0
  131. package/dist/components/ui/progress/ProgressGradient.vue.d.ts +25 -0
  132. package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +36 -0
  133. package/dist/components/ui/progress/index.d.ts +5 -2
  134. package/dist/components/ui/progress/useProgressGeometry.d.ts +60 -0
  135. package/dist/components/ui/select/Select.vue.d.ts +2 -2
  136. package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
  137. package/dist/components/ui/select/SelectTrigger.vue.d.ts +3 -0
  138. package/dist/components/ui/sheet/index.d.ts +1 -1
  139. package/dist/components/ui/slider/index.d.ts +12 -11
  140. package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
  141. package/dist/components/ui/textarea/Textarea.vue.d.ts +5 -1
  142. package/dist/components/ui/toast/Toast.vue.d.ts +4 -4
  143. package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
  144. package/dist/components/ui/toggle/index.d.ts +1 -1
  145. package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +2 -3
  146. package/dist/composables/color/index.d.ts +49 -0
  147. package/dist/composables/context/createContext.d.ts +56 -0
  148. package/dist/composables/context/index.d.ts +1 -0
  149. package/dist/composables/dark/darkModeSyncScript.d.ts +23 -0
  150. package/dist/composables/dark/index.d.ts +3 -0
  151. package/dist/composables/dark/useGlobalDark.d.ts +19 -2
  152. package/dist/composables/dom/index.d.ts +1 -3
  153. package/dist/composables/dom/useClipboard.d.ts +35 -12
  154. package/dist/composables/dom/useDocumentVisibility.d.ts +20 -0
  155. package/dist/composables/dom/useTextHighlight.d.ts +40 -0
  156. package/dist/composables/glass/webgl/compile.d.ts +15 -0
  157. package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +3 -0
  158. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +55 -0
  159. package/dist/composables/motion/core/index.d.ts +2 -1
  160. package/dist/composables/motion/index.d.ts +1 -1
  161. package/dist/composables/motion/useCountup.d.ts +29 -0
  162. package/dist/composables/motion/usePrioritizedTask.d.ts +41 -0
  163. package/dist/composables/motion/vReveal.d.ts +2 -0
  164. package/dist/composables/sidebar/useSidebarState.d.ts +2 -2
  165. package/dist/composables/sortable/dragController.d.ts +44 -0
  166. package/dist/composables/sortable/dropResolver.d.ts +34 -0
  167. package/dist/composables/sortable/ghostRenderer.d.ts +44 -0
  168. package/dist/composables/sortable/index.d.ts +1 -1
  169. package/dist/composables/sortable/touchGate.d.ts +26 -0
  170. package/dist/composables/sortable/transitionTiming.d.ts +50 -0
  171. package/dist/composables/sortable/types.d.ts +133 -0
  172. package/dist/composables/sortable/useSortable.d.ts +25 -140
  173. package/dist/configurator.js +1 -1
  174. package/dist/confirm-dialog.js +3 -3
  175. package/dist/context-menu.js +2 -2
  176. package/dist/controls.js +5 -5
  177. package/dist/createContext-DBMGRlx4.js +25 -0
  178. package/dist/dark.d.ts +2 -1
  179. package/dist/dark.js +9 -2
  180. package/dist/data-table.js +1 -1
  181. package/dist/dialog.js +2 -2
  182. package/dist/disco-glyph.js +1 -1
  183. package/dist/dock.js +410 -254
  184. package/dist/dockContext-spUj_-E5.js +9 -0
  185. package/dist/dom.js +6 -5
  186. package/dist/{dropdown-menu-BvRUamNs.js → dropdown-menu-EFjl5iKo.js} +4 -4
  187. package/dist/dropdown-menu.js +1 -1
  188. package/dist/expandable-container.js +28 -22
  189. package/dist/fonts/README.md +21 -0
  190. package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
  191. package/dist/forms.js +70 -61
  192. package/dist/glass-carousel.js +59 -52
  193. package/dist/glass-panel.js +2 -2
  194. package/dist/glass-ui.css +1 -1
  195. package/dist/glass-ui.js +159 -254
  196. package/dist/glyph-face.js +2 -2
  197. package/dist/goo-blob.d.ts +1 -0
  198. package/dist/goo-blob.js +538 -0
  199. package/dist/header-ribbon.js +3 -3
  200. package/dist/hover-card.js +1 -1
  201. package/dist/hover-popover.js +1 -1
  202. package/dist/icon-tooltip.js +1 -1
  203. package/dist/index.d.ts +1 -0
  204. package/dist/instrument-chassis.js +1 -1
  205. package/dist/instrument-rail.js +1 -1
  206. package/dist/keyboard.js +1 -1
  207. package/dist/keys-BFoma9vm.js +9 -0
  208. package/dist/label.js +1 -1
  209. package/dist/labeled-field.js +57 -39
  210. package/dist/metric-badge.js +1 -1
  211. package/dist/metric-stack.js +1 -1
  212. package/dist/{minimize-2-LsCJ_eNt.js → minimize-2-BP27-qBY.js} +1 -1
  213. package/dist/motion-core.js +154 -135
  214. package/dist/motion.js +63 -15
  215. package/dist/notification.js +1 -1
  216. package/dist/number-field.js +1 -1
  217. package/dist/paper-backdrop.js +1 -1
  218. package/dist/popover.js +1 -1
  219. package/dist/{presets-a-D93K1S.js → presets-1OhFpaIC.js} +5 -5
  220. package/dist/prng-Bz_1Tydc.js +15 -0
  221. package/dist/progress.js +2 -2
  222. package/dist/pulse.js +1 -1
  223. package/dist/reactive.js +2 -2
  224. package/dist/responsive-tabs.js +38 -32
  225. package/dist/scrolling-text.js +1 -1
  226. package/dist/{search-DBAiUABx.js → search-DBG8qaRs.js} +1 -1
  227. package/dist/search.js +153 -149
  228. package/dist/select.js +3 -3
  229. package/dist/separator.js +1 -1
  230. package/dist/{sheet-CukNDezz.js → sheet-CQYYrkr9.js} +3 -3
  231. package/dist/sheet.js +1 -1
  232. package/dist/{slider-DJvHkTRe.js → slider-BOh8ycfZ.js} +8 -12
  233. package/dist/slider.js +1 -1
  234. package/dist/sortable-list.js +37 -39
  235. package/dist/stacked-icons.js +2 -2
  236. package/dist/styles/animations.css +1 -1
  237. package/dist/styles/cards.css +1 -1
  238. package/dist/styles/components.css +45 -0
  239. package/dist/styles/dock-controls.css +486 -0
  240. package/dist/styles/dock.css +325 -431
  241. package/dist/styles/fonts.css +25 -0
  242. package/dist/styles/glass-specular-track.css +154 -0
  243. package/dist/styles/glass.css +74 -2
  244. package/dist/styles/index.css +25 -2
  245. package/dist/styles/instrument-chassis.css +11 -4
  246. package/dist/styles/theme.css +73 -21
  247. package/dist/styles/tokens.css +282 -140
  248. package/dist/styles/typography.css +14 -8
  249. package/dist/styles/utilities.css +92 -8
  250. package/dist/styles/view-transition.css +10 -4
  251. package/dist/switch.js +1 -1
  252. package/dist/tabs.js +148 -106
  253. package/dist/timeline.js +220 -159
  254. package/dist/toast.js +1 -1
  255. package/dist/toggle-group.js +1 -1
  256. package/dist/tokens.d.ts +1 -1
  257. package/dist/tooltip.js +1 -1
  258. package/dist/typewriter.js +1 -1
  259. package/dist/{useAnimatedNumber-DKQYVB7s.js → useAnimatedNumber-BF6r64lA.js} +1 -1
  260. package/dist/useClipboard-D8vFyRCa.js +97 -0
  261. package/dist/useConfiguratorState-DUtC1jxr.js +276 -0
  262. package/dist/useGlobalDark-CWiaCoEw.js +34 -0
  263. package/dist/useIntersectionPause-DAdVPVp4.js +53 -0
  264. package/dist/useSortable-DnyGXKKY.js +246 -0
  265. package/dist/useTextHighlight-Dmtofpk2.js +72 -0
  266. package/dist/{useTouchGate-D9Zvrzyc.js → useTouchGate-CS5Csc2h.js} +1 -1
  267. package/dist/{useViewTransition-DYIK6Gzb.js → useViewTransition-D4ssvnXZ.js} +5 -3
  268. package/dist/utils/index.d.ts +2 -1
  269. package/dist/utils/platformSupport.d.ts +8 -0
  270. package/dist/utils/prng.d.ts +4 -0
  271. package/dist/vReveal-u2wSG2El.js +35 -0
  272. package/dist/watercolor-dot.d.ts +1 -0
  273. package/dist/watercolor-dot.js +129 -0
  274. package/dist/{x-q7pJa83X.js → x-C4pz9nbD.js} +1 -1
  275. package/package.json +110 -16
  276. package/src/fonts/README.md +21 -0
  277. package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
  278. package/src/styles/animations.css +1 -1
  279. package/src/styles/cards.css +1 -1
  280. package/src/styles/dock-controls.css +486 -0
  281. package/src/styles/dock.css +325 -431
  282. package/src/styles/fonts.css +25 -0
  283. package/src/styles/glass-specular-track.css +154 -0
  284. package/src/styles/glass.css +74 -2
  285. package/src/styles/index.css +21 -2
  286. package/src/styles/instrument-chassis.css +11 -4
  287. package/src/styles/theme.css +73 -21
  288. package/src/styles/tokens.css +282 -140
  289. package/src/styles/typography.css +14 -8
  290. package/src/styles/utilities.css +92 -8
  291. package/src/styles/view-transition.css +10 -4
  292. package/dist/DataTable-R8-Zidms.js +0 -460
  293. package/dist/DialogContent-2fALDSvc.js +0 -93
  294. package/dist/HoverPopover-CWFCfLx3.js +0 -96
  295. package/dist/Input-DDpFn568.js +0 -30
  296. package/dist/Progress-FApA9fm_.js +0 -126
  297. package/dist/UnderlineTabs-DAWMLmJG.js +0 -37
  298. package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +0 -1
  299. package/dist/composables/dom/useBreakpoint.d.ts +0 -38
  300. package/dist/composables/dom/useIdleReady.d.ts +0 -63
  301. package/dist/composables/dom/useViewportReady.d.ts +0 -87
  302. package/dist/composables/glass/webgl/frostShader.d.ts +0 -27
  303. package/dist/composables/motion/useAnimatedNumberMap.d.ts +0 -29
  304. package/dist/composables/motion/useStagger.d.ts +0 -50
  305. package/dist/dockContext-D5NZCWJs.js +0 -16
  306. package/dist/keys-CaTQS-vx.js +0 -11
  307. package/dist/useConfiguratorState-CtRBE0m_.js +0 -268
  308. package/dist/useGlobalDark-B0WvLJE3.js +0 -24
  309. package/dist/useIdleReady-Cmkhm03v.js +0 -162
  310. package/dist/useIntersectionPause-IY2CwPQb.js +0 -39
  311. package/dist/useSortable-Cq2Y1JLO.js +0 -175
  312. /package/dist/{ContextMenuContent-otjFIu8v.js → ContextMenuContent-De01_83g.js} +0 -0
  313. /package/dist/{HoverCardContent-DaGrgJBO.js → HoverCardContent-ICfIMZX1.js} +0 -0
  314. /package/dist/{InstrumentChassis-CnHTMxds.js → InstrumentChassis-DaHIZCqy.js} +0 -0
  315. /package/dist/{InstrumentRail-C6dEbi8E.js → InstrumentRail-B0qqLFN0.js} +0 -0
  316. /package/dist/{Label-DJty89bp.js → Label-CZk-3nTc.js} +0 -0
  317. /package/dist/{ModalOverlay-iWiAgbYH.js → ModalOverlay-B_CBtqcE.js} +0 -0
  318. /package/dist/{PaperBackdrop-CeZ-w0R0.js → PaperBackdrop-D_YZW47j.js} +0 -0
  319. /package/dist/{SelectGroup-DdR4tdDY.js → SelectGroup-CMdoCjRE.js} +0 -0
  320. /package/dist/{SelectSeparator-CXm_hlqA.js → SelectSeparator-CaJnPF3_.js} +0 -0
  321. /package/dist/{Separator-D8AUMhxY.js → Separator-C2XtAXRp.js} +0 -0
  322. /package/dist/{Switch-Cr1t_F_U.js → Switch-x8n6husW.js} +0 -0
  323. /package/dist/{TooltipProvider-DE78vbEP.js → TooltipProvider-D-JrSqDu.js} +0 -0
  324. /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
  325. /package/dist/{badge-x46my_Fo.js → badge-Cl6JZ1B7.js} +0 -0
  326. /package/dist/components/custom/aurora/{renderMode.d.ts → constants/renderMode.d.ts} +0 -0
  327. /package/dist/components/custom/aurora/{shaders → constants/shaders}/aurora.vert.d.ts +0 -0
  328. /package/dist/{constants-DwBwnG8N.js → constants-DsCdlK9I.js} +0 -0
  329. /package/dist/{createLucideIcon-Bn9a1b70.js → createLucideIcon-DuDoe_ra.js} +0 -0
  330. /package/dist/{menuItemVariants-BsbGNq9C.js → menuItemVariants-C2QlXqT3.js} +0 -0
  331. /package/dist/{useGlassRenderer-Ds-nmrGz.js → useGlassRenderer-Dn3WpfG-.js} +0 -0
  332. /package/dist/{useInterval-DVgGUf_y.js → useInterval-CHVYFpXV.js} +0 -0
  333. /package/dist/{useKeyboardShortcuts-Dpw_RUcB.js → useKeyboardShortcuts-BQfnAHHW.js} +0 -0
  334. /package/dist/{useResizeObserver-Cg9npuM3.js → useResizeObserver-DX-STszm.js} +0 -0
  335. /package/dist/{useSpringMount-Cfk1XK1R.js → useSpringMount-CnizvZGm.js} +0 -0
  336. /package/dist/{useTimer-NAaj9zNq.js → useTimer-DGgoxTXL.js} +0 -0
  337. /package/dist/{useUserInvalidAria-DVu1eTXG.js → useUserInvalidAria-DmvZ_6Dx.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./_plugin-vue_export-helper-Dq1MygBL.js";
2
+ import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
3
3
  import { createBlock as n, createElementBlock as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
4
4
  import { Primitive as u } from "reka-ui";
5
5
  var d = /* @__PURE__ */ i({
@@ -34,7 +34,7 @@ var d = /* @__PURE__ */ i({
34
34
  "data-grain": t.grain,
35
35
  as: t.as,
36
36
  "as-child": t.asChild,
37
- class: a(c(e)("rounded-card text-card-foreground scrollbar-hidden", `glass-${t.tier}`, t.surface === "cartoon" && "cartoon-surface", t.shadow && t.surface === "glass" && "shadow-[var(--shadow-card)]", !t.grain && "[&::after]:hidden", r.class))
37
+ class: a(c(e)("rounded-card text-card-foreground scrollbar-hidden", `glass-${t.tier}`, t.surface === "glass" && "glass-specular-track", t.surface === "cartoon" && "cartoon-surface", t.shadow && t.surface === "glass" && "shadow-card", !t.grain && "[&::after]:hidden", r.class))
38
38
  }, {
39
39
  default: l(() => [s(i.$slots, "default")]),
40
40
  _: 3
@@ -95,7 +95,7 @@ var d = /* @__PURE__ */ i({
95
95
  let n = t;
96
96
  return (t, i) => (o(), r("p", {
97
97
  "data-slot": "card-description",
98
- class: a(c(e)("text-sm text-[var(--muted-foreground-strong)]", n.class))
98
+ class: a(c(e)("text-sm text-muted-foreground-strong", n.class))
99
99
  }, [s(t.$slots, "default")], 2));
100
100
  }
101
101
  }), h = /* @__PURE__ */ i({
@@ -42,7 +42,7 @@ var p = /* @__PURE__ */ t({
42
42
  },
43
43
  setup(t) {
44
44
  let n = t;
45
- return (t, i) => (a(), e(s(l), r(n, { class: "overflow-hidden transition-[height,opacity] data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down" }), {
45
+ return (t, i) => (a(), e(s(l), r(n, { class: "overflow-hidden transition-collapse data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down" }), {
46
46
  default: c(() => [o(t.$slots, "default")]),
47
47
  _: 3
48
48
  }, 16));
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./search-DBAiUABx.js";
3
- import { n, t as r } from "./DialogContent-2fALDSvc.js";
4
- import { t as i } from "./menuItemVariants-BsbGNq9C.js";
2
+ import { t } from "./search-DBG8qaRs.js";
3
+ import { n, t as r } from "./DialogContent-IQ8_BRrC.js";
4
+ import { t as i } from "./menuItemVariants-C2QlXqT3.js";
5
5
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
6
6
  import { ComboboxContent as S, ComboboxEmpty as C, ComboboxGroup as w, ComboboxInput as T, ComboboxItem as E, ComboboxLabel as D, ComboboxRoot as O, ComboboxSeparator as k, useForwardProps as A, useForwardPropsEmits as j } from "reka-ui";
7
7
  //#endregion
@@ -66,7 +66,7 @@ var M = /* @__PURE__ */ f({
66
66
  let i = j(e, t);
67
67
  return (e, t) => (_(), o(b(n), g(p(b(i))), {
68
68
  default: x(() => [d(b(r), { class: "overflow-hidden p-0" }, {
69
- default: x(() => [d(M, { class: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5" }, {
69
+ default: x(() => [d(M, { class: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[data-cmdk-input-wrapper]_svg]:h-5 [&_[data-cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5" }, {
70
70
  default: x(() => [v(e.$slots, "default")]),
71
71
  _: 3
72
72
  })]),
@@ -130,7 +130,7 @@ var M = /* @__PURE__ */ f({
130
130
  }
131
131
  }), I = {
132
132
  class: "flex items-center border-b px-3",
133
- "cmdk-input-wrapper": ""
133
+ "data-cmdk-input-wrapper": ""
134
134
  }, L = /* @__PURE__ */ f({
135
135
  inheritAttrs: !1,
136
136
  __name: "CommandInput",
@@ -147,7 +147,8 @@ var M = /* @__PURE__ */ f({
147
147
  String,
148
148
  Object,
149
149
  Array
150
- ] }
150
+ ] },
151
+ placeholder: {}
151
152
  },
152
153
  setup(n) {
153
154
  let r = n, i = A(a(() => {
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./createLucideIcon-Bn9a1b70.js";
3
- import { t as n } from "./check-dwgetki8.js";
4
- import { t as r } from "./chevron-right-fS7fal2t.js";
5
- import { t as i } from "./menuItemVariants-BsbGNq9C.js";
2
+ import { t } from "./createLucideIcon-DuDoe_ra.js";
3
+ import { t as n } from "./check-CdkxGxXJ.js";
4
+ import { t as r } from "./chevron-right-BjeKC22V.js";
5
+ import { t as i } from "./menuItemVariants-C2QlXqT3.js";
6
6
  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
7
  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
8
  var A = t("circle", [["circle", {
@@ -0,0 +1,465 @@
1
+ import { t as e } from "./cn-DJXf4yaB.js";
2
+ import { n as t } from "./button-Ckn3eDfB.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-De01_83g.js";
5
+ import { t as o } from "./useResizeObserver-DX-STszm.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, unref as T, useModel as E, useSlots as ee, withCtx as D, withModifiers as O } from "vue";
7
+ //#region src/components/ui/table/Table.vue?vue&type=script&setup=true&lang.ts
8
+ var k = { class: "relative w-full overflow-auto" }, A = /* @__PURE__ */ h({
9
+ __name: "Table",
10
+ props: { class: { type: [
11
+ Boolean,
12
+ null,
13
+ String,
14
+ Object,
15
+ Array
16
+ ] } },
17
+ setup(t) {
18
+ let n = t;
19
+ return (t, r) => (y(), d("div", k, [f("table", { class: v(T(e)("w-full caption-bottom text-sm", n.class)) }, [S(t.$slots, "default")], 2)]));
20
+ }
21
+ }), j = /* @__PURE__ */ h({
22
+ __name: "TableBody",
23
+ props: { class: { type: [
24
+ Boolean,
25
+ null,
26
+ String,
27
+ Object,
28
+ Array
29
+ ] } },
30
+ setup(t) {
31
+ let n = t;
32
+ return (t, r) => (y(), d("tbody", { class: v(T(e)("[&_tr:last-child]:border-0", n.class)) }, [S(t.$slots, "default")], 2));
33
+ }
34
+ }), M = /* @__PURE__ */ h({
35
+ __name: "TableCell",
36
+ props: { class: { type: [
37
+ Boolean,
38
+ null,
39
+ String,
40
+ Object,
41
+ Array
42
+ ] } },
43
+ setup(t) {
44
+ let n = t;
45
+ return (t, r) => (y(), d("td", { class: v(T(e)("table-cell align-middle [&:has([role=checkbox])]:pr-0", n.class)) }, [S(t.$slots, "default")], 2));
46
+ }
47
+ }), N = /* @__PURE__ */ h({
48
+ __name: "TableHead",
49
+ props: { class: { type: [
50
+ Boolean,
51
+ null,
52
+ String,
53
+ Object,
54
+ Array
55
+ ] } },
56
+ setup(t) {
57
+ let n = t;
58
+ return (t, r) => (y(), d("th", { class: v(T(e)("table-head text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", n.class)) }, [S(t.$slots, "default")], 2));
59
+ }
60
+ }), P = /* @__PURE__ */ h({
61
+ __name: "TableHeader",
62
+ props: { class: { type: [
63
+ Boolean,
64
+ null,
65
+ String,
66
+ Object,
67
+ Array
68
+ ] } },
69
+ setup(t) {
70
+ let n = t;
71
+ return (t, r) => (y(), d("thead", { class: v(T(e)("[&_tr]:border-b", n.class)) }, [S(t.$slots, "default")], 2));
72
+ }
73
+ }), F = /* @__PURE__ */ h({
74
+ __name: "TableRow",
75
+ props: { class: { type: [
76
+ Boolean,
77
+ null,
78
+ String,
79
+ Object,
80
+ Array
81
+ ] } },
82
+ setup(t) {
83
+ let n = t;
84
+ return (t, r) => (y(), d("tr", { class: v(T(e)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", n.class)) }, [S(t.$slots, "default")], 2));
85
+ }
86
+ }), I = { class: "flex items-center justify-center py-10" }, L = /* @__PURE__ */ h({
87
+ __name: "TableEmpty",
88
+ props: {
89
+ class: { type: [
90
+ Boolean,
91
+ null,
92
+ String,
93
+ Object,
94
+ Array
95
+ ] },
96
+ colspan: { default: 1 }
97
+ },
98
+ setup(t) {
99
+ let n = t, r = c(() => {
100
+ let { class: e, ...t } = n;
101
+ return t;
102
+ });
103
+ return (t, i) => (y(), l(F, null, {
104
+ default: D(() => [m(M, _({ class: T(e)("p-4 whitespace-nowrap align-middle text-sm text-foreground", n.class) }, r.value), {
105
+ default: D(() => [f("div", I, [S(t.$slots, "default")])]),
106
+ _: 3
107
+ }, 16, ["class"])]),
108
+ _: 3
109
+ }));
110
+ }
111
+ }), R = /* @__PURE__ */ n(/* @__PURE__ */ h({
112
+ __name: "Skeleton",
113
+ props: {
114
+ variant: { default: "pulse" },
115
+ class: { type: [
116
+ Boolean,
117
+ null,
118
+ String,
119
+ Object,
120
+ Array
121
+ ] }
122
+ },
123
+ setup(t) {
124
+ let n = t;
125
+ return (r, i) => (y(), d("div", { class: v(T(e)("rounded-input bg-muted", t.variant === "pulse" && "animate-pulse", t.variant === "shimmer" && "skeleton-shimmer", t.variant === "breath" && "skeleton-breath", n.class)) }, null, 2));
126
+ }
127
+ }), [["__scopeId", "data-v-bb7e255e"]]), z = { class: "tabular-nums" }, B = { class: "flex items-center gap-1" }, V = {
128
+ key: 0,
129
+ class: "px-1 select-none"
130
+ }, H = /* @__PURE__ */ h({
131
+ __name: "DataTablePagination",
132
+ props: {
133
+ page: {},
134
+ pageSize: {},
135
+ total: {},
136
+ class: {}
137
+ },
138
+ emits: ["update:page"],
139
+ setup(n, { emit: r }) {
140
+ let i = n, a = r, o = c(() => Math.max(1, Math.ceil(i.total / i.pageSize))), u = c(() => Math.min(Math.max(1, i.page), o.value)), h = c(() => {
141
+ let e = o.value, t = u.value;
142
+ if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
143
+ let n = [1];
144
+ t > 3 && n.push(null);
145
+ let r = Math.max(2, t - 1), i = Math.min(e - 1, t + 1);
146
+ for (let e = r; e <= i; e++) n.push(e);
147
+ return t < e - 2 && n.push(null), n.push(e), n;
148
+ });
149
+ function g(e) {
150
+ let t = Math.min(Math.max(1, e), o.value);
151
+ t !== i.page && a("update:page", t);
152
+ }
153
+ return (r, a) => (y(), d("div", { class: v(T(e)("flex items-center justify-between border-t border-border px-4 py-2 text-sm text-muted-foreground", i.class)) }, [f("span", z, w(n.total.toLocaleString()) + " result" + w(n.total === 1 ? "" : "s"), 1), f("div", B, [
154
+ m(T(t), {
155
+ variant: "ghost",
156
+ size: "icon",
157
+ disabled: u.value <= 1,
158
+ onClick: a[0] ||= (e) => g(1),
159
+ "aria-label": "First page"
160
+ }, {
161
+ default: D(() => [...a[4] ||= [p(" ⟨⟨ ", -1)]]),
162
+ _: 1
163
+ }, 8, ["disabled"]),
164
+ m(T(t), {
165
+ variant: "ghost",
166
+ size: "icon",
167
+ disabled: u.value <= 1,
168
+ onClick: a[1] ||= (e) => g(u.value - 1),
169
+ "aria-label": "Previous page"
170
+ }, {
171
+ default: D(() => [...a[5] ||= [p(" ⟨ ", -1)]]),
172
+ _: 1
173
+ }, 8, ["disabled"]),
174
+ (y(!0), d(s, null, x(h.value, (e, n) => (y(), d(s, { key: n }, [e === null ? (y(), d("span", V, "...")) : (y(), l(T(t), {
175
+ key: 1,
176
+ variant: e === u.value ? "default" : "ghost",
177
+ size: "icon",
178
+ class: "tabular-nums",
179
+ onClick: (t) => g(e)
180
+ }, {
181
+ default: D(() => [p(w(e), 1)]),
182
+ _: 2
183
+ }, 1032, ["variant", "onClick"]))], 64))), 128)),
184
+ m(T(t), {
185
+ variant: "ghost",
186
+ size: "icon",
187
+ disabled: u.value >= o.value,
188
+ onClick: a[2] ||= (e) => g(u.value + 1),
189
+ "aria-label": "Next page"
190
+ }, {
191
+ default: D(() => [...a[6] ||= [p(" ⟩ ", -1)]]),
192
+ _: 1
193
+ }, 8, ["disabled"]),
194
+ m(T(t), {
195
+ variant: "ghost",
196
+ size: "icon",
197
+ disabled: u.value >= o.value,
198
+ onClick: a[3] ||= (e) => g(o.value),
199
+ "aria-label": "Last page"
200
+ }, {
201
+ default: D(() => [...a[7] ||= [p(" ⟩⟩ ", -1)]]),
202
+ _: 1
203
+ }, 8, ["disabled"])
204
+ ])], 2));
205
+ }
206
+ }), te = {
207
+ key: 0,
208
+ class: "flex flex-col gap-2"
209
+ }, ne = {
210
+ key: 1,
211
+ class: "flex flex-col gap-2"
212
+ }, re = ["onClick"], ie = { class: "flex items-start justify-between gap-2" }, ae = { class: "min-w-0 font-medium" }, oe = {
213
+ key: 0,
214
+ class: "mt-2 grid grid-cols-[auto_1fr] gap-x-3 gap-y-1"
215
+ }, se = { class: "text-muted-foreground" }, ce = {
216
+ key: 2,
217
+ class: "rounded-lg border border-border p-6 text-center text-muted-foreground"
218
+ }, U = /* @__PURE__ */ h({
219
+ __name: "DataTable",
220
+ props: /* @__PURE__ */ g({
221
+ columns: {},
222
+ rows: {},
223
+ total: {},
224
+ pageSize: {},
225
+ isLoading: {
226
+ type: Boolean,
227
+ default: !1
228
+ },
229
+ rowKey: { default: "_id" },
230
+ getRowId: {},
231
+ sort: {},
232
+ infinite: {
233
+ type: Boolean,
234
+ default: !1
235
+ },
236
+ hasMore: {
237
+ type: Boolean,
238
+ default: !1
239
+ },
240
+ responsive: {
241
+ type: Boolean,
242
+ default: !1
243
+ },
244
+ cardBreakpoint: { default: 640 },
245
+ class: {}
246
+ }, {
247
+ page: { required: !0 },
248
+ pageModifiers: {}
249
+ }),
250
+ emits: /* @__PURE__ */ g([
251
+ "update:sort",
252
+ "select",
253
+ "load-more"
254
+ ], ["update:page"]),
255
+ setup(t, { emit: n }) {
256
+ let h = t, g = E(t, "page"), _ = n, k = ee(), I = c(() => !!k["row-actions"]), z = c(() => !!k["row-context-menu"]), B = b(null), V = b(0);
257
+ o(B, (e) => {
258
+ V.value = e.width;
259
+ });
260
+ let U = c(() => h.responsive && V.value > 0 && V.value < h.cardBreakpoint), W = c(() => Array.from({ length: Math.min(h.pageSize, 5) }, (e, t) => t)), G = /* @__PURE__ */ new WeakMap(), le = 0;
261
+ function K(e, t) {
262
+ return t.split(".").reduce((e, t) => {
263
+ if (!(typeof e != "object" || !e)) return e[t];
264
+ }, e);
265
+ }
266
+ function q(e) {
267
+ return typeof e == "string" || typeof e == "number" || typeof e == "symbol";
268
+ }
269
+ function ue(e) {
270
+ return typeof e == "symbol" ? e.toString() : JSON.stringify(e);
271
+ }
272
+ function de(e) {
273
+ return h.getRowId ? h.getRowId(e) : K(e, h.rowKey);
274
+ }
275
+ function J(e) {
276
+ let t = e, n = G.get(t);
277
+ if (n) return n;
278
+ let r = Symbol(`DataTable row ${le++}`);
279
+ return G.set(t, r), r;
280
+ }
281
+ let Y = c(() => {
282
+ let e = h.rows.map((e) => de(e)), t = /* @__PURE__ */ new Map();
283
+ for (let n of e) q(n) && t.set(n, (t.get(n) ?? 0) + 1);
284
+ let n = e.filter((e) => !q(e)).length;
285
+ n > 0 && `${n}`;
286
+ let r = Array.from(t).filter(([, e]) => e > 1).map(([e]) => ue(e));
287
+ return r.length > 0 && (`${r.join(",")}`, `${r.join(", ")}`), h.rows.map((n, r) => {
288
+ let i = e[r];
289
+ return {
290
+ row: n,
291
+ key: q(i) && t.get(i) === 1 ? i : J(n)
292
+ };
293
+ });
294
+ });
295
+ function X(e, t) {
296
+ let n = K(e, t.key);
297
+ return t.formatter ? t.formatter(n, e) : n == null ? "—" : String(n);
298
+ }
299
+ function Z(e) {
300
+ return e === "right" ? "text-right" : e === "center" ? "text-center" : "text-left";
301
+ }
302
+ function fe(e) {
303
+ if (!e.sortable) return;
304
+ let t = h.sort;
305
+ t?.key === e.key ? _("update:sort", {
306
+ key: e.key,
307
+ direction: t.direction === "asc" ? "desc" : "asc"
308
+ }) : _("update:sort", {
309
+ key: e.key,
310
+ direction: "asc"
311
+ });
312
+ }
313
+ function pe(e) {
314
+ return e.sortable ? h.sort?.key === e.key ? h.sort.direction === "asc" ? " ↑" : " ↓" : " ↕" : "";
315
+ }
316
+ let Q = c(() => h.columns[0]), $ = c(() => h.columns.slice(1));
317
+ return (n, o) => (y(), d("div", {
318
+ ref_key: "rootRef",
319
+ ref: B,
320
+ class: v(T(e)("overflow-hidden", h.class))
321
+ }, [
322
+ U.value ? (y(), d(s, { key: 0 }, [t.isLoading && t.rows.length === 0 ? (y(), d("div", te, [(y(!0), d(s, null, x(W.value, (e) => (y(), d("div", {
323
+ key: "skel-card-" + e,
324
+ class: "rounded-lg border border-border p-3"
325
+ }, [m(T(R), { class: "mb-2 h-4 w-1/2" }), m(T(R), { class: "h-3 w-3/4" })]))), 128))])) : t.rows.length > 0 ? (y(), d("div", ne, [(y(!0), d(s, null, x(Y.value, (t) => (y(), l(C(z.value ? T(i) : "div"), { key: t.key }, {
326
+ default: D(() => [(y(), l(C(z.value ? T(r) : "div"), { "as-child": z.value ? !0 : void 0 }, {
327
+ default: D(() => [f("div", {
328
+ class: "cursor-pointer rounded-lg border border-border p-3 transition-colors hover:bg-muted/40",
329
+ onClick: (e) => _("select", t.row)
330
+ }, [f("div", ie, [f("div", ae, [Q.value?.component ? (y(), l(C(Q.value.component), {
331
+ key: 0,
332
+ value: K(t.row, Q.value.key),
333
+ row: t.row
334
+ }, null, 8, ["value", "row"])) : Q.value ? (y(), d(s, { key: 1 }, [p(w(X(t.row, Q.value)), 1)], 64)) : u("", !0)]), I.value ? (y(), d("div", {
335
+ key: 0,
336
+ class: "shrink-0",
337
+ onClick: o[0] ||= O(() => {}, ["stop"])
338
+ }, [S(n.$slots, "row-actions", { row: t.row })])) : u("", !0)]), $.value.length > 0 ? (y(), d("dl", oe, [(y(!0), d(s, null, x($.value, (n) => (y(), d(s, { key: n.key }, [f("dt", se, w(n.label), 1), f("dd", { class: v(T(e)("min-w-0 break-words", n.align === "right" && "text-right", n.class)) }, [n.component ? (y(), l(C(n.component), {
339
+ key: 0,
340
+ value: K(t.row, n.key),
341
+ row: t.row
342
+ }, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(X(t.row, n)), 1)], 64))], 2)], 64))), 128))])) : u("", !0)], 8, re)]),
343
+ _: 2
344
+ }, 1032, ["as-child"])), z.value ? (y(), l(T(a), { key: 0 }, {
345
+ default: D(() => [S(n.$slots, "row-context-menu", { row: t.row })]),
346
+ _: 2
347
+ }, 1024)) : u("", !0)]),
348
+ _: 2
349
+ }, 1024))), 128))])) : (y(), d("div", ce, [S(n.$slots, "empty", {}, () => [o[4] ||= p("No results found", -1)])]))], 64)) : (y(), l(T(A), { key: 1 }, {
350
+ default: D(() => [m(T(P), null, {
351
+ default: D(() => [m(T(F), { class: "text-muted-foreground" }, {
352
+ default: D(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(T(N), {
353
+ key: t.key,
354
+ class: v(T(e)(Z(t.align), t.sortable && "cursor-pointer select-none", t.headerClass)),
355
+ onClick: (e) => fe(t)
356
+ }, {
357
+ default: D(() => [p(w(t.label) + w(pe(t)), 1)]),
358
+ _: 2
359
+ }, 1032, ["class", "onClick"]))), 128)), I.value ? (y(), l(T(N), {
360
+ key: 0,
361
+ class: "w-10"
362
+ })) : u("", !0)]),
363
+ _: 1
364
+ })]),
365
+ _: 1
366
+ }), m(T(j), null, {
367
+ default: D(() => [t.isLoading && t.rows.length === 0 ? (y(!0), d(s, { key: 0 }, x(W.value, (e) => (y(), l(T(F), { key: "skel-" + e }, {
368
+ default: D(() => [(y(!0), d(s, null, x(t.columns, (e) => (y(), l(T(M), {
369
+ key: e.key,
370
+ class: v(Z(e.align))
371
+ }, {
372
+ default: D(() => [m(T(R), { class: "h-4 w-3/4" })]),
373
+ _: 1
374
+ }, 8, ["class"]))), 128)), I.value ? (y(), l(T(M), {
375
+ key: 0,
376
+ class: "w-10"
377
+ }, {
378
+ default: D(() => [m(T(R), { class: "h-4 w-6" })]),
379
+ _: 1
380
+ })) : u("", !0)]),
381
+ _: 1
382
+ }))), 128)) : t.rows.length > 0 ? (y(!0), d(s, { key: 1 }, x(Y.value, (c) => (y(), d(s, { key: c.key }, [z.value ? (y(), l(T(i), { key: 0 }, {
383
+ default: D(() => [m(T(r), { "as-child": "" }, {
384
+ default: D(() => [m(T(F), {
385
+ class: "cursor-pointer",
386
+ onClick: (e) => _("select", c.row)
387
+ }, {
388
+ default: D(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(T(M), {
389
+ key: t.key,
390
+ class: v(T(e)(Z(t.align), t.class))
391
+ }, {
392
+ default: D(() => [t.component ? (y(), l(C(t.component), {
393
+ key: 0,
394
+ value: K(c.row, t.key),
395
+ row: c.row
396
+ }, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(X(c.row, t)), 1)], 64))]),
397
+ _: 2
398
+ }, 1032, ["class"]))), 128)), I.value ? (y(), l(T(M), {
399
+ key: 0,
400
+ class: "w-10",
401
+ onClick: o[1] ||= O(() => {}, ["stop"])
402
+ }, {
403
+ default: D(() => [S(n.$slots, "row-actions", { row: c.row })]),
404
+ _: 2
405
+ }, 1024)) : u("", !0)]),
406
+ _: 2
407
+ }, 1032, ["onClick"])]),
408
+ _: 2
409
+ }, 1024), m(T(a), null, {
410
+ default: D(() => [S(n.$slots, "row-context-menu", { row: c.row })]),
411
+ _: 2
412
+ }, 1024)]),
413
+ _: 2
414
+ }, 1024)) : (y(), l(T(F), {
415
+ key: 1,
416
+ class: "cursor-pointer",
417
+ onClick: (e) => _("select", c.row)
418
+ }, {
419
+ default: D(() => [(y(!0), d(s, null, x(t.columns, (t) => (y(), l(T(M), {
420
+ key: t.key,
421
+ class: v(T(e)(Z(t.align), t.class))
422
+ }, {
423
+ default: D(() => [t.component ? (y(), l(C(t.component), {
424
+ key: 0,
425
+ value: K(c.row, t.key),
426
+ row: c.row
427
+ }, null, 8, ["value", "row"])) : (y(), d(s, { key: 1 }, [p(w(X(c.row, t)), 1)], 64))]),
428
+ _: 2
429
+ }, 1032, ["class"]))), 128)), I.value ? (y(), l(T(M), {
430
+ key: 0,
431
+ class: "w-10",
432
+ onClick: o[2] ||= O(() => {}, ["stop"])
433
+ }, {
434
+ default: D(() => [S(n.$slots, "row-actions", { row: c.row })]),
435
+ _: 2
436
+ }, 1024)) : u("", !0)]),
437
+ _: 2
438
+ }, 1032, ["onClick"]))], 64))), 128)) : (y(), l(T(L), {
439
+ key: 2,
440
+ colspan: t.columns.length + +!!I.value
441
+ }, {
442
+ default: D(() => [S(n.$slots, "empty", {}, () => [o[5] ||= p("No results found", -1)])]),
443
+ _: 3
444
+ }, 8, ["colspan"]))]),
445
+ _: 3
446
+ })]),
447
+ _: 3
448
+ })),
449
+ t.infinite ? S(n.$slots, "sentinel", { key: 2 }) : u("", !0),
450
+ !t.infinite && t.total > 0 ? (y(), l(H, {
451
+ key: 3,
452
+ page: g.value,
453
+ "page-size": t.pageSize,
454
+ total: t.total,
455
+ "onUpdate:page": o[3] ||= (e) => g.value = e
456
+ }, null, 8, [
457
+ "page",
458
+ "page-size",
459
+ "total"
460
+ ])) : u("", !0)
461
+ ], 2));
462
+ }
463
+ });
464
+ //#endregion
465
+ export { F as a, M as c, L as i, j as l, H as n, P as o, R as r, N as s, U as t, A as u };
@@ -0,0 +1,100 @@
1
+ import { t as e } from "./cn-DJXf4yaB.js";
2
+ import { t } from "./x-C4pz9nbD.js";
3
+ import { t as n } from "./useSpringMount-CnizvZGm.js";
4
+ import { t as r } from "./ModalOverlay-B_CBtqcE.js";
5
+ import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, mergeProps as d, normalizeProps as f, openBlock as p, renderSlot as m, unref as h, withCtx as g } from "vue";
6
+ import { DialogClose as _, DialogContent as v, DialogPortal as y, DialogRoot as b, injectDialogRootContext as x, useForwardPropsEmits as S } from "reka-ui";
7
+ //#endregion
8
+ //#region src/components/ui/dialog/Dialog.vue
9
+ var C = /* @__PURE__ */ l({
10
+ __name: "Dialog",
11
+ props: {
12
+ open: { type: Boolean },
13
+ defaultOpen: { type: Boolean },
14
+ modal: { type: Boolean }
15
+ },
16
+ emits: ["update:open"],
17
+ setup(e, { emit: t }) {
18
+ let n = S(e, t);
19
+ return (e, t) => (p(), a(h(b), f(u(h(n))), {
20
+ default: g(() => [m(e.$slots, "default")]),
21
+ _: 3
22
+ }, 16));
23
+ }
24
+ }), w = "fixed left-1/2 top-1/2 z-modal grid w-full max-w-lg gap-4 p-6", T = "-translate-x-1/2 -translate-y-1/2 duration-normal popover-animate", E = /* @__PURE__ */ l({
25
+ __name: "DialogContent",
26
+ props: {
27
+ forceMount: { type: Boolean },
28
+ disableOutsidePointerEvents: { type: Boolean },
29
+ asChild: { type: Boolean },
30
+ as: {},
31
+ class: { type: [
32
+ Boolean,
33
+ null,
34
+ String,
35
+ Object,
36
+ Array
37
+ ] },
38
+ variant: { default: "glass" },
39
+ scrimAnimation: {},
40
+ spring: { type: [Boolean, String] },
41
+ showClose: {
42
+ type: Boolean,
43
+ default: !0
44
+ }
45
+ },
46
+ emits: [
47
+ "escapeKeyDown",
48
+ "pointerDownOutside",
49
+ "focusOutside",
50
+ "interactOutside",
51
+ "openAutoFocus",
52
+ "closeAutoFocus"
53
+ ],
54
+ setup(l, { emit: u }) {
55
+ let f = l, b = u, C = S(i(() => {
56
+ let { class: e, variant: t, scrimAnimation: n, spring: r, showClose: i, ...a } = f;
57
+ return a;
58
+ }), b), E = i(() => f.variant === "opaque" ? "bg-background border sm:rounded-dialog" : "glass-floating rounded-dialog"), D = f.spring ? x() : null, O = f.spring && D ? n({
59
+ open: D.open,
60
+ preset: typeof f.spring == "string" ? f.spring : "smooth"
61
+ }) : null, k = i(() => {
62
+ if (!O) return;
63
+ let e = O.position.value;
64
+ return {
65
+ transform: `translate(-50%, -50%) scale(${1 - .05 * e})`,
66
+ opacity: String(1 - e),
67
+ animation: "none",
68
+ transition: "none"
69
+ };
70
+ });
71
+ return (n, i) => (p(), a(h(y), null, {
72
+ default: g(() => [c(r, {
73
+ scrim: "glass",
74
+ animate: "fade",
75
+ layout: "centered",
76
+ "scrim-animation": f.scrimAnimation
77
+ }, null, 8, ["scrim-animation"]), c(h(v), d(h(C), {
78
+ class: h(e)(w, f.spring ? "" : T, E.value, f.class),
79
+ style: k.value,
80
+ "data-spring": f.spring ? typeof f.spring == "string" ? f.spring : "smooth" : void 0
81
+ }), {
82
+ default: g(() => [m(n.$slots, "default"), f.showClose ? (p(), a(h(_), {
83
+ key: 0,
84
+ class: "focus-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
85
+ }, {
86
+ default: g(() => [c(h(t), { class: "w-4 h-4" }), i[0] ||= s("span", { class: "sr-only" }, "Close", -1)]),
87
+ _: 1
88
+ })) : o("", !0)]),
89
+ _: 3
90
+ }, 16, [
91
+ "class",
92
+ "style",
93
+ "data-spring"
94
+ ])]),
95
+ _: 3
96
+ }));
97
+ }
98
+ });
99
+ //#endregion
100
+ export { C as n, E as t };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./x-q7pJa83X.js";
3
- import { t as n } from "./ModalOverlay-iWiAgbYH.js";
2
+ import { t } from "./x-C4pz9nbD.js";
3
+ import { t as n } from "./ModalOverlay-B_CBtqcE.js";
4
4
  import { computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeClass as d, normalizeProps as f, openBlock as p, renderSlot as m, unref as h, withCtx as g } from "vue";
5
5
  import { DialogClose as _, DialogContent as v, DialogDescription as y, DialogPortal as b, DialogTitle as x, DialogTrigger as S, useForwardProps as C, useForwardPropsEmits as w } from "reka-ui";
6
6
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as e } from "./keys-CaTQS-vx.js";
1
+ import { r as e } from "./keys-BFoma9vm.js";
2
2
  import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, useId as s, watch as c } from "vue";
3
3
  //#region src/components/custom/disco-glyph/DiscoGlyph.vue?vue&type=script&setup=true&lang.ts
4
4
  var l = ["viewBox"], u = [
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { n as t } from "./keys-CaTQS-vx.js";
2
+ import { n as t } from "./keys-BFoma9vm.js";
3
3
  import { computed as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, normalizeStyle as s, openBlock as c, ref as l, renderSlot as u } from "vue";
4
4
  //#region src/components/custom/glyph-face/GlyphFace.vue?vue&type=script&setup=true&lang.ts
5
5
  var d = ["data-active"], f = /* @__PURE__ */ a({