@youcan/celeste 0.6.29 → 0.6.31

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 (369) hide show
  1. package/dist/celeste.css +4244 -0
  2. package/dist/cjs/alert.js +111 -0
  3. package/dist/cjs/alpha-slider.js +3 -0
  4. package/dist/cjs/badge.js +55 -0
  5. package/dist/cjs/button.js +39 -0
  6. package/dist/cjs/checkbox-label.js +112 -0
  7. package/dist/cjs/checkbox.js +3 -0
  8. package/dist/cjs/chunks/_plugin-vue_export-helper.js +9 -0
  9. package/dist/cjs/chunks/alpha-slider.js +127 -0
  10. package/dist/cjs/chunks/checkbox.vue_vue_type_style_index_0_lang.js +38 -0
  11. package/dist/cjs/chunks/clsx.js +15 -0
  12. package/dist/cjs/chunks/combobox-anchor.js +31 -0
  13. package/dist/cjs/chunks/content-divider.vue_vue_type_style_index_0_lang.js +52 -0
  14. package/dist/cjs/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +51 -0
  15. package/dist/cjs/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +49 -0
  16. package/dist/cjs/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +32 -0
  17. package/dist/cjs/chunks/dropdown-menu-sub.js +25 -0
  18. package/dist/cjs/chunks/index.js +9300 -0
  19. package/dist/cjs/chunks/index2.js +1457 -0
  20. package/dist/cjs/chunks/index3.js +16457 -0
  21. package/dist/cjs/chunks/modal-close.js +22 -0
  22. package/dist/cjs/chunks/modal-trigger.js +22 -0
  23. package/dist/cjs/chunks/modal.js +26 -0
  24. package/dist/cjs/chunks/popover.js +26 -0
  25. package/dist/cjs/chunks/scroll-area.js +41 -0
  26. package/dist/cjs/chunks/select-group.js +22 -0
  27. package/dist/cjs/chunks/select.js +38 -0
  28. package/dist/cjs/chunks/slider.vue_vue_type_style_index_0_lang.js +52 -0
  29. package/dist/cjs/chunks/sonner.js +1153 -0
  30. package/dist/cjs/chunks/switch.vue_vue_type_style_index_0_lang.js +38 -0
  31. package/dist/cjs/chunks/use-color-model.js +992 -0
  32. package/dist/cjs/color-area.js +175 -0
  33. package/dist/cjs/color-picker.js +514 -0
  34. package/dist/cjs/color-swatch.js +59 -0
  35. package/dist/cjs/color.js +102 -0
  36. package/dist/cjs/combobox-anchor.js +3 -0
  37. package/dist/cjs/combobox-empty.js +32 -0
  38. package/dist/cjs/combobox-group.js +42 -0
  39. package/dist/cjs/combobox-input.js +63 -0
  40. package/dist/cjs/combobox-item.js +109 -0
  41. package/dist/cjs/combobox-list.js +62 -0
  42. package/dist/cjs/combobox-root.js +40 -0
  43. package/dist/cjs/combobox-separator.js +32 -0
  44. package/dist/cjs/combobox-trigger.js +47 -0
  45. package/dist/cjs/combobox.js +233 -0
  46. package/dist/cjs/command-group.js +41 -0
  47. package/dist/cjs/command-input.js +42 -0
  48. package/dist/cjs/command-item.js +34 -0
  49. package/dist/cjs/command-list.js +52 -0
  50. package/dist/cjs/command-root.js +45 -0
  51. package/dist/cjs/command-separator.js +32 -0
  52. package/dist/cjs/compact-button.js +42 -0
  53. package/dist/cjs/config.js +136 -0
  54. package/dist/cjs/content-divider.js +3 -0
  55. package/dist/cjs/context-menu-item.js +134 -0
  56. package/dist/cjs/crypto.js +8 -0
  57. package/dist/cjs/dropdown-item.js +99 -0
  58. package/dist/cjs/dropdown-menu-content.js +3 -0
  59. package/dist/cjs/dropdown-menu-group.js +24 -0
  60. package/dist/cjs/dropdown-menu-item.js +68 -0
  61. package/dist/cjs/dropdown-menu-label.js +31 -0
  62. package/dist/cjs/dropdown-menu-separator.js +25 -0
  63. package/dist/cjs/dropdown-menu-sub-content.js +3 -0
  64. package/dist/cjs/dropdown-menu-sub-trigger.js +3 -0
  65. package/dist/cjs/dropdown-menu-sub.js +3 -0
  66. package/dist/cjs/dropdown-menu-trigger.js +26 -0
  67. package/dist/cjs/dropdown-menu.js +32 -0
  68. package/dist/cjs/dropdown.js +291 -0
  69. package/dist/cjs/extra-settings.js +155 -0
  70. package/dist/cjs/fancy-button.js +38 -0
  71. package/dist/cjs/hint-text.js +36 -0
  72. package/dist/cjs/hue-slider.js +133 -0
  73. package/dist/cjs/index.js +229 -0
  74. package/dist/cjs/label.js +55 -0
  75. package/dist/cjs/link-bubble.js +228 -0
  76. package/dist/cjs/link-button.js +44 -0
  77. package/dist/cjs/modal-body.js +22 -0
  78. package/dist/cjs/modal-close.js +3 -0
  79. package/dist/cjs/modal-content.js +48 -0
  80. package/dist/cjs/modal-footer.js +22 -0
  81. package/dist/cjs/modal-header.js +81 -0
  82. package/dist/cjs/modal-trigger.js +3 -0
  83. package/dist/cjs/modal.js +3 -0
  84. package/dist/cjs/popover-content.js +104 -0
  85. package/dist/cjs/popover-trigger.js +24 -0
  86. package/dist/cjs/popover.js +3 -0
  87. package/dist/cjs/rich-editor.js +4996 -0
  88. package/dist/cjs/scroll-area.js +3 -0
  89. package/dist/cjs/scroll-bar.js +39 -0
  90. package/dist/cjs/segmented-control-item.js +41 -0
  91. package/dist/cjs/segmented-control.js +40 -0
  92. package/dist/cjs/select-content.js +61 -0
  93. package/dist/cjs/select-group.js +3 -0
  94. package/dist/cjs/select-icon.js +25 -0
  95. package/dist/cjs/select-item.js +44 -0
  96. package/dist/cjs/select-label.js +32 -0
  97. package/dist/cjs/select-separator.js +26 -0
  98. package/dist/cjs/select-trigger.js +40 -0
  99. package/dist/cjs/select-value.js +31 -0
  100. package/dist/cjs/select.js +3 -0
  101. package/dist/cjs/shims.js +1 -0
  102. package/dist/cjs/slider.js +3 -0
  103. package/dist/cjs/social-button.js +45 -0
  104. package/dist/cjs/sonner-alert.js +41 -0
  105. package/dist/cjs/sonner.js +3 -0
  106. package/dist/cjs/status-badge.js +49 -0
  107. package/dist/cjs/switch.js +3 -0
  108. package/dist/cjs/tab-menu-content.js +32 -0
  109. package/dist/cjs/tab-menu-item.js +44 -0
  110. package/dist/cjs/tab-menu-list.js +34 -0
  111. package/dist/cjs/tab-menu.js +32 -0
  112. package/dist/cjs/text-input-affix.js +27 -0
  113. package/dist/cjs/text-input-button.js +31 -0
  114. package/dist/cjs/text-input.js +119 -0
  115. package/dist/cjs/textarea.js +56 -0
  116. package/dist/cjs/tooltip.js +115 -0
  117. package/dist/cjs/types.js +1 -0
  118. package/dist/cjs/use-color-model.js +6 -0
  119. package/dist/cjs/use-delegated-props.js +14 -0
  120. package/dist/cjs/use-user-select.js +39 -0
  121. package/dist/components/alert/alert.d.ts +30 -0
  122. package/dist/components/alert/index.d.ts +2 -0
  123. package/dist/components/badge/badge.d.ts +17 -0
  124. package/dist/components/badge/index.d.ts +4 -0
  125. package/dist/components/badge/status-badge.d.ts +13 -0
  126. package/dist/components/button/button.d.ts +22 -0
  127. package/dist/components/button/compact-button.d.ts +15 -0
  128. package/dist/components/button/fancy-button.d.ts +20 -0
  129. package/dist/components/button/index.d.ts +10 -0
  130. package/dist/components/button/link-button.d.ts +22 -0
  131. package/dist/components/button/social-button.d.ts +10 -0
  132. package/dist/components/checkbox/checkbox-label.d.ts +32 -0
  133. package/dist/components/checkbox/checkbox.d.ts +11 -0
  134. package/dist/components/checkbox/index.d.ts +4 -0
  135. package/dist/components/color-picker/alpha-slider.d.ts +15 -0
  136. package/dist/components/color-picker/color-area.d.ts +9 -0
  137. package/dist/components/color-picker/color-picker.d.ts +47 -0
  138. package/dist/components/color-picker/color-swatch.d.ts +19 -0
  139. package/dist/components/color-picker/composable/use-color-model.d.ts +7 -0
  140. package/dist/components/color-picker/composable/use-user-select.d.ts +8 -0
  141. package/dist/components/color-picker/hue-slider.d.ts +14 -0
  142. package/dist/components/color-picker/index.d.ts +10 -0
  143. package/dist/components/combobox/combobox-anchor.d.ts +22 -0
  144. package/dist/components/combobox/combobox-empty.d.ts +22 -0
  145. package/dist/components/combobox/combobox-group.d.ts +23 -0
  146. package/dist/components/combobox/combobox-input.d.ts +17 -0
  147. package/dist/components/combobox/combobox-item.d.ts +31 -0
  148. package/dist/components/combobox/combobox-list.d.ts +36 -0
  149. package/dist/components/combobox/combobox-root.d.ts +29 -0
  150. package/dist/components/combobox/combobox-separator.d.ts +22 -0
  151. package/dist/components/combobox/combobox-trigger.d.ts +20 -0
  152. package/dist/components/combobox/combobox.d.ts +42 -0
  153. package/dist/components/combobox/index.d.ts +20 -0
  154. package/dist/components/content-divider/content-divider.d.ts +10 -0
  155. package/dist/components/content-divider/index.d.ts +2 -0
  156. package/dist/components/dropdown/context-menu-item.d.ts +39 -0
  157. package/dist/components/dropdown/dropdown-item.d.ts +30 -0
  158. package/dist/components/dropdown/dropdown.d.ts +55 -0
  159. package/dist/components/dropdown/index.d.ts +6 -0
  160. package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +36 -0
  161. package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +18 -0
  162. package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +26 -0
  163. package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +22 -0
  164. package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +7 -0
  165. package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +38 -0
  166. package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +22 -0
  167. package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +22 -0
  168. package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +18 -0
  169. package/dist/components/dropdown-menu/dropdown-menu.d.ts +18 -0
  170. package/dist/components/dropdown-menu/index.d.ts +20 -0
  171. package/dist/components/hint-text/hint-text.d.ts +11 -0
  172. package/dist/components/hint-text/index.d.ts +2 -0
  173. package/dist/components/index.d.ts +23 -0
  174. package/dist/components/label/index.d.ts +2 -0
  175. package/dist/components/label/label.d.ts +29 -0
  176. package/dist/components/modal/index.d.ts +14 -0
  177. package/dist/components/modal/modal-body.d.ts +21 -0
  178. package/dist/components/modal/modal-close.d.ts +18 -0
  179. package/dist/components/modal/modal-content.d.ts +37 -0
  180. package/dist/components/modal/modal-footer.d.ts +21 -0
  181. package/dist/components/modal/modal-header.d.ts +16 -0
  182. package/dist/components/modal/modal-trigger.d.ts +18 -0
  183. package/dist/components/modal/modal.d.ts +22 -0
  184. package/dist/components/popover/index.d.ts +6 -0
  185. package/dist/components/popover/popover-content.d.ts +41 -0
  186. package/dist/components/popover/popover-trigger.d.ts +18 -0
  187. package/dist/components/popover/popover.d.ts +22 -0
  188. package/dist/components/rich-editor/config.d.ts +33 -0
  189. package/dist/components/rich-editor/extra-settings.d.ts +6 -0
  190. package/dist/components/rich-editor/index.d.ts +2 -0
  191. package/dist/components/rich-editor/link-bubble.d.ts +11 -0
  192. package/dist/components/rich-editor/rich-editor.d.ts +55 -0
  193. package/dist/components/rich-editor/types.d.ts +19 -0
  194. package/dist/components/scroll-area/index.d.ts +2 -0
  195. package/dist/components/scroll-area/scroll-area.d.ts +22 -0
  196. package/dist/components/scroll-area/scroll-bar.d.ts +9 -0
  197. package/dist/components/segmented-control/index.d.ts +4 -0
  198. package/dist/components/segmented-control/segmented-control-item.d.ts +22 -0
  199. package/dist/components/segmented-control/segmented-control.d.ts +26 -0
  200. package/dist/components/select/index.d.ts +18 -0
  201. package/dist/components/select/select-content.d.ts +33 -0
  202. package/dist/components/select/select-group.d.ts +18 -0
  203. package/dist/components/select/select-icon.d.ts +21 -0
  204. package/dist/components/select/select-item.d.ts +22 -0
  205. package/dist/components/select/select-label.d.ts +22 -0
  206. package/dist/components/select/select-separator.d.ts +7 -0
  207. package/dist/components/select/select-trigger.d.ts +28 -0
  208. package/dist/components/select/select-value.d.ts +22 -0
  209. package/dist/components/select/select.d.ts +28 -0
  210. package/dist/components/slider/index.d.ts +2 -0
  211. package/dist/components/slider/slider.d.ts +13 -0
  212. package/dist/components/sonner/index.d.ts +4 -0
  213. package/dist/components/sonner/sonner-alert.d.ts +13 -0
  214. package/dist/components/sonner/sonner.d.ts +5 -0
  215. package/dist/components/switch/index.d.ts +2 -0
  216. package/dist/components/switch/switch.d.ts +11 -0
  217. package/dist/components/tab-menu/index.d.ts +8 -0
  218. package/dist/components/tab-menu/tab-menu-content.d.ts +22 -0
  219. package/dist/components/tab-menu/tab-menu-item.d.ts +24 -0
  220. package/dist/components/tab-menu/tab-menu-list.d.ts +22 -0
  221. package/dist/components/tab-menu/tab-menu.d.ts +23 -0
  222. package/dist/components/text-input/index.d.ts +6 -0
  223. package/dist/components/text-input/text-input-affix.d.ts +23 -0
  224. package/dist/components/text-input/text-input-button.d.ts +23 -0
  225. package/dist/components/text-input/text-input.d.ts +32 -0
  226. package/dist/components/textarea/index.d.ts +2 -0
  227. package/dist/components/textarea/textarea.d.ts +22 -0
  228. package/dist/components/tooltip/index.d.ts +2 -0
  229. package/dist/components/tooltip/tooltip.d.ts +29 -0
  230. package/dist/composables/use-delegated-props.d.ts +2 -0
  231. package/dist/es/alert.js +112 -0
  232. package/dist/es/alpha-slider.js +4 -0
  233. package/dist/es/badge.js +56 -0
  234. package/dist/es/button.js +40 -0
  235. package/dist/es/checkbox-label.js +113 -0
  236. package/dist/es/checkbox.js +4 -0
  237. package/dist/es/chunks/_plugin-vue_export-helper.js +10 -0
  238. package/dist/es/chunks/alpha-slider.js +128 -0
  239. package/dist/es/chunks/checkbox.vue_vue_type_style_index_0_lang.js +39 -0
  240. package/dist/es/chunks/clsx.js +16 -0
  241. package/dist/es/chunks/combobox-anchor.js +32 -0
  242. package/dist/es/chunks/content-divider.vue_vue_type_style_index_0_lang.js +53 -0
  243. package/dist/es/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +52 -0
  244. package/dist/es/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +50 -0
  245. package/dist/es/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +33 -0
  246. package/dist/es/chunks/dropdown-menu-sub.js +26 -0
  247. package/dist/es/chunks/index.js +9285 -0
  248. package/dist/es/chunks/index2.js +1457 -0
  249. package/dist/es/chunks/index3.js +16458 -0
  250. package/dist/es/chunks/modal-close.js +23 -0
  251. package/dist/es/chunks/modal-trigger.js +23 -0
  252. package/dist/es/chunks/modal.js +27 -0
  253. package/dist/es/chunks/popover.js +27 -0
  254. package/dist/es/chunks/scroll-area.js +42 -0
  255. package/dist/es/chunks/select-group.js +23 -0
  256. package/dist/es/chunks/select.js +39 -0
  257. package/dist/es/chunks/slider.vue_vue_type_style_index_0_lang.js +53 -0
  258. package/dist/es/chunks/sonner.js +1154 -0
  259. package/dist/es/chunks/switch.vue_vue_type_style_index_0_lang.js +39 -0
  260. package/dist/es/chunks/use-color-model.js +993 -0
  261. package/dist/es/color-area.js +176 -0
  262. package/dist/es/color-picker.js +515 -0
  263. package/dist/es/color-swatch.js +60 -0
  264. package/dist/es/color.js +102 -0
  265. package/dist/es/combobox-anchor.js +4 -0
  266. package/dist/es/combobox-empty.js +33 -0
  267. package/dist/es/combobox-group.js +43 -0
  268. package/dist/es/combobox-input.js +64 -0
  269. package/dist/es/combobox-item.js +110 -0
  270. package/dist/es/combobox-list.js +63 -0
  271. package/dist/es/combobox-root.js +41 -0
  272. package/dist/es/combobox-separator.js +33 -0
  273. package/dist/es/combobox-trigger.js +48 -0
  274. package/dist/es/combobox.js +234 -0
  275. package/dist/es/command-group.js +42 -0
  276. package/dist/es/command-input.js +43 -0
  277. package/dist/es/command-item.js +35 -0
  278. package/dist/es/command-list.js +53 -0
  279. package/dist/es/command-root.js +46 -0
  280. package/dist/es/command-separator.js +33 -0
  281. package/dist/es/compact-button.js +43 -0
  282. package/dist/es/config.js +136 -0
  283. package/dist/es/content-divider.js +4 -0
  284. package/dist/es/context-menu-item.js +135 -0
  285. package/dist/es/crypto.js +8 -0
  286. package/dist/es/dropdown-item.js +100 -0
  287. package/dist/es/dropdown-menu-content.js +4 -0
  288. package/dist/es/dropdown-menu-group.js +25 -0
  289. package/dist/es/dropdown-menu-item.js +69 -0
  290. package/dist/es/dropdown-menu-label.js +32 -0
  291. package/dist/es/dropdown-menu-separator.js +26 -0
  292. package/dist/es/dropdown-menu-sub-content.js +4 -0
  293. package/dist/es/dropdown-menu-sub-trigger.js +4 -0
  294. package/dist/es/dropdown-menu-sub.js +4 -0
  295. package/dist/es/dropdown-menu-trigger.js +27 -0
  296. package/dist/es/dropdown-menu.js +33 -0
  297. package/dist/es/dropdown.js +292 -0
  298. package/dist/es/extra-settings.js +156 -0
  299. package/dist/es/fancy-button.js +39 -0
  300. package/dist/es/hint-text.js +37 -0
  301. package/dist/es/hue-slider.js +134 -0
  302. package/dist/es/index.js +229 -0
  303. package/dist/es/label.js +56 -0
  304. package/dist/es/link-bubble.js +229 -0
  305. package/dist/es/link-button.js +45 -0
  306. package/dist/es/modal-body.js +23 -0
  307. package/dist/es/modal-close.js +4 -0
  308. package/dist/es/modal-content.js +49 -0
  309. package/dist/es/modal-footer.js +23 -0
  310. package/dist/es/modal-header.js +82 -0
  311. package/dist/es/modal-trigger.js +4 -0
  312. package/dist/es/modal.js +4 -0
  313. package/dist/es/popover-content.js +105 -0
  314. package/dist/es/popover-trigger.js +25 -0
  315. package/dist/es/popover.js +4 -0
  316. package/dist/es/rich-editor.js +4997 -0
  317. package/dist/es/scroll-area.js +4 -0
  318. package/dist/es/scroll-bar.js +40 -0
  319. package/dist/es/segmented-control-item.js +42 -0
  320. package/dist/es/segmented-control.js +41 -0
  321. package/dist/es/select-content.js +62 -0
  322. package/dist/es/select-group.js +4 -0
  323. package/dist/es/select-icon.js +26 -0
  324. package/dist/es/select-item.js +45 -0
  325. package/dist/es/select-label.js +33 -0
  326. package/dist/es/select-separator.js +27 -0
  327. package/dist/es/select-trigger.js +41 -0
  328. package/dist/es/select-value.js +32 -0
  329. package/dist/es/select.js +4 -0
  330. package/dist/es/shims.js +1 -0
  331. package/dist/es/slider.js +4 -0
  332. package/dist/es/social-button.js +46 -0
  333. package/dist/es/sonner-alert.js +42 -0
  334. package/dist/es/sonner.js +4 -0
  335. package/dist/es/status-badge.js +50 -0
  336. package/dist/es/switch.js +4 -0
  337. package/dist/es/tab-menu-content.js +33 -0
  338. package/dist/es/tab-menu-item.js +45 -0
  339. package/dist/es/tab-menu-list.js +35 -0
  340. package/dist/es/tab-menu.js +33 -0
  341. package/dist/es/text-input-affix.js +28 -0
  342. package/dist/es/text-input-button.js +32 -0
  343. package/dist/es/text-input.js +120 -0
  344. package/dist/es/textarea.js +57 -0
  345. package/dist/es/tooltip.js +116 -0
  346. package/dist/es/types.js +1 -0
  347. package/dist/es/use-color-model.js +6 -0
  348. package/dist/es/use-delegated-props.js +14 -0
  349. package/dist/es/use-user-select.js +39 -0
  350. package/dist/index.d.ts +5 -0
  351. package/dist/utils/color.d.ts +26 -0
  352. package/dist/utils/crypto.d.ts +1 -0
  353. package/dist/utils/index.d.ts +3 -0
  354. package/dist/utils/sonner.d.ts +19 -0
  355. package/package.json +15 -4
  356. package/src/components/index.ts +2 -0
  357. package/src/components/rich-editor/config.ts +150 -0
  358. package/src/components/rich-editor/extra-settings.vue +151 -0
  359. package/src/components/rich-editor/index.ts +2 -0
  360. package/src/components/rich-editor/link-bubble.vue +288 -0
  361. package/src/components/rich-editor/rich-editor.vue +428 -0
  362. package/src/components/rich-editor/stories/rich-editor.stories.ts +87 -0
  363. package/src/components/rich-editor/types.ts +21 -0
  364. package/src/components/sonner/index.ts +5 -0
  365. package/src/components/sonner/sonner-alert.vue +54 -0
  366. package/src/components/sonner/sonner.vue +13 -0
  367. package/src/components/sonner/stories/sonner.stories.ts +194 -0
  368. package/src/utils/index.ts +3 -0
  369. package/src/utils/sonner.ts +72 -0
@@ -0,0 +1,229 @@
1
+ import { defineComponent, defineAsyncComponent, ref, computed, onMounted, onUnmounted, openBlock, createBlock, unref, withCtx, createElementBlock, createElementVNode, createVNode, withKeys, createTextVNode, toDisplayString, createCommentVNode } from "vue";
2
+ import Button from "./button.js";
3
+ import CompactButton from "./compact-button.js";
4
+ import LinkButton from "./link-button.js";
5
+ import Label from "./label.js";
6
+ import { _ as _sfc_main$1 } from "./chunks/switch.vue_vue_type_style_index_0_lang.js";
7
+ import TextInputAffix from "./text-input-affix.js";
8
+ import TextInput from "./text-input.js";
9
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
10
+ const _hoisted_1 = {
11
+ key: 0,
12
+ class: "set-mode"
13
+ };
14
+ const _hoisted_2 = { class: "set-link" };
15
+ const _hoisted_3 = { class: "switch-button-box" };
16
+ const _hoisted_4 = {
17
+ key: 1,
18
+ class: "edit-mode"
19
+ };
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
21
+ __name: "link-bubble",
22
+ props: {
23
+ editor: {},
24
+ showSetLinkFromToolbar: { type: Boolean }
25
+ },
26
+ emits: ["set-link-closed"],
27
+ setup(__props, { emit: __emit }) {
28
+ const props = __props;
29
+ const emit = __emit;
30
+ const BubbleMenu = defineAsyncComponent(
31
+ () => import("./chunks/index2.js").then((m) => m.BubbleMenu)
32
+ );
33
+ const href = ref("");
34
+ const openInNewTab = ref(false);
35
+ const editing = ref(false);
36
+ const isTextSelected = () => props.editor.state.selection.from !== props.editor.state.selection.to;
37
+ const showBubble = computed(() => {
38
+ return editing.value || props.editor.isActive("link") || props.showSetLinkFromToolbar && isTextSelected();
39
+ });
40
+ function startEdit() {
41
+ editing.value = true;
42
+ const attrs = props.editor.getAttributes("link");
43
+ href.value = attrs.href || "";
44
+ openInNewTab.value = attrs.target === "_blank";
45
+ }
46
+ function removeLink() {
47
+ props.editor.chain().focus().unsetLink().run();
48
+ reset();
49
+ }
50
+ function reset() {
51
+ editing.value = false;
52
+ href.value = "";
53
+ openInNewTab.value = false;
54
+ emit("set-link-closed");
55
+ }
56
+ function truncateMiddleUrl(str) {
57
+ const maxLength = 40;
58
+ if (str.length <= maxLength) {
59
+ return str;
60
+ }
61
+ const startChars = Math.ceil((maxLength - 3) / 2);
62
+ const endChars = Math.floor((maxLength - 3) / 2);
63
+ return `${str.slice(0, startChars)}...${str.slice(-endChars)}`;
64
+ }
65
+ function isAllowedUri() {
66
+ const url = href.value.trim();
67
+ if (!url || url.includes(" ")) {
68
+ return false;
69
+ }
70
+ if (url.startsWith("/")) {
71
+ return true;
72
+ }
73
+ if (url.startsWith("./") || url.startsWith("../")) {
74
+ return false;
75
+ }
76
+ const allowedProtocols = /^(?:https?:|mailto:)/i;
77
+ const disallowedProtocols = /^(?:javascript:|data:)/i;
78
+ if (disallowedProtocols.test(url)) {
79
+ return false;
80
+ }
81
+ if (allowedProtocols.test(url)) {
82
+ return true;
83
+ }
84
+ return false;
85
+ }
86
+ const isValidUrl = computed(() => isAllowedUri());
87
+ function applyLink() {
88
+ if (!href.value || !isValidUrl.value) {
89
+ return;
90
+ }
91
+ props.editor.chain().focus().extendMarkRange("link").setLink({
92
+ href: href.value,
93
+ target: openInNewTab.value ? "_blank" : null
94
+ }).run();
95
+ reset();
96
+ }
97
+ const bubbleRef = ref(null);
98
+ function handleClickOutside(event) {
99
+ const target = event.target;
100
+ if (!bubbleRef.value) {
101
+ return;
102
+ }
103
+ if (bubbleRef.value && bubbleRef.value.contains(target)) {
104
+ return;
105
+ }
106
+ if (target.closest(".i-celeste-link")) {
107
+ return;
108
+ }
109
+ emit("set-link-closed");
110
+ }
111
+ onMounted(() => {
112
+ props.editor.on("selectionUpdate", () => {
113
+ if (props.editor.isActive("link") || props.showSetLinkFromToolbar) {
114
+ const attrs = props.editor.getAttributes("link");
115
+ href.value = attrs.href || "";
116
+ openInNewTab.value = attrs.target === "_blank";
117
+ } else {
118
+ reset();
119
+ }
120
+ });
121
+ document.addEventListener("click", handleClickOutside);
122
+ });
123
+ onUnmounted(() => {
124
+ document.removeEventListener("click", handleClickOutside);
125
+ });
126
+ return (_ctx, _cache) => {
127
+ return openBlock(), createBlock(unref(BubbleMenu), {
128
+ "should-show": () => true,
129
+ editor: _ctx.editor,
130
+ options: {
131
+ placement: "bottom",
132
+ offset: {
133
+ mainAxis: 0,
134
+ crossAxis: 12
135
+ }
136
+ }
137
+ }, {
138
+ default: withCtx(() => [
139
+ showBubble.value ? (openBlock(), createElementBlock("div", {
140
+ key: 0,
141
+ ref_key: "bubbleRef",
142
+ ref: bubbleRef,
143
+ class: "link-bubble"
144
+ }, [
145
+ editing.value || props.showSetLinkFromToolbar && isTextSelected() ? (openBlock(), createElementBlock("div", _hoisted_1, [
146
+ createElementVNode("div", _hoisted_2, [
147
+ createVNode(TextInput, {
148
+ modelValue: href.value,
149
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => href.value = $event),
150
+ type: "url",
151
+ size: "xs",
152
+ placeholder: "Paste or type a link",
153
+ class: "link-input",
154
+ onKeydown: [
155
+ withKeys(applyLink, ["enter"]),
156
+ withKeys(reset, ["esc"])
157
+ ]
158
+ }, {
159
+ leadingNode: withCtx(() => [
160
+ createVNode(TextInputAffix, null, {
161
+ default: withCtx(() => _cache[2] || (_cache[2] = [
162
+ createElementVNode("i", { class: "i-celeste-link" }, null, -1)
163
+ ])),
164
+ _: 1
165
+ })
166
+ ]),
167
+ _: 1
168
+ }, 8, ["modelValue"]),
169
+ createVNode(Button, {
170
+ intent: "neutral",
171
+ size: "xs",
172
+ variant: "stroke",
173
+ disabled: !isValidUrl.value,
174
+ onClick: applyLink
175
+ }, {
176
+ default: withCtx(() => _cache[3] || (_cache[3] = [
177
+ createTextVNode(" Set link ")
178
+ ])),
179
+ _: 1
180
+ }, 8, ["disabled"])
181
+ ]),
182
+ createElementVNode("div", _hoisted_3, [
183
+ createVNode(Label, { for: "open-in-new-tab" }, {
184
+ default: withCtx(() => _cache[4] || (_cache[4] = [
185
+ createTextVNode(" Open in new tab ")
186
+ ])),
187
+ _: 1
188
+ }),
189
+ createVNode(_sfc_main$1, {
190
+ id: "open-in-new-tab",
191
+ checked: openInNewTab.value,
192
+ "onUpdate:checked": _cache[1] || (_cache[1] = ($event) => openInNewTab.value = $event)
193
+ }, null, 8, ["checked"])
194
+ ])
195
+ ])) : props.editor.isActive("link") ? (openBlock(), createElementBlock("div", _hoisted_4, [
196
+ createVNode(LinkButton, {
197
+ href: _ctx.editor.getAttributes("link").href,
198
+ target: _ctx.editor.getAttributes("link").target
199
+ }, {
200
+ default: withCtx(() => [
201
+ createTextVNode(toDisplayString(truncateMiddleUrl(_ctx.editor.getAttributes("link").href)), 1)
202
+ ]),
203
+ _: 1
204
+ }, 8, ["href", "target"]),
205
+ _cache[5] || (_cache[5] = createElementVNode("div", { class: "divider" }, null, -1)),
206
+ createVNode(CompactButton, {
207
+ icon: "i-celeste-edit-line",
208
+ size: "lg",
209
+ variant: "ghost",
210
+ onClick: startEdit
211
+ }),
212
+ createVNode(CompactButton, {
213
+ icon: "i-celeste-delete-bin-line",
214
+ size: "lg",
215
+ variant: "ghost",
216
+ onClick: removeLink
217
+ })
218
+ ])) : createCommentVNode("", true)
219
+ ], 512)) : createCommentVNode("", true)
220
+ ]),
221
+ _: 1
222
+ }, 8, ["editor"]);
223
+ };
224
+ }
225
+ });
226
+ const LinkBubble = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c63c1d92"]]);
227
+ export {
228
+ LinkBubble as default
229
+ };
@@ -0,0 +1,45 @@
1
+ import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot } from "vue";
2
+ import { c as clsx } from "./chunks/clsx.js";
3
+ import { f as O } from "./chunks/index.js";
4
+ /* empty css */
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "link-button",
8
+ props: {
9
+ class: {},
10
+ size: { default: "md" },
11
+ intent: { default: "primary" },
12
+ underline: { type: Boolean },
13
+ disabled: { type: Boolean },
14
+ asChild: { type: Boolean },
15
+ as: { default: "a" }
16
+ },
17
+ setup(__props) {
18
+ const props = __props;
19
+ return (_ctx, _cache) => {
20
+ return openBlock(), createBlock(unref(O), {
21
+ as: _ctx.as,
22
+ disabled: _ctx.disabled,
23
+ "as-child": _ctx.asChild,
24
+ class: normalizeClass(unref(clsx)(
25
+ "celeste-link-button",
26
+ `celeste-link-button-${_ctx.intent}`,
27
+ `celeste-link-button-${_ctx.size}`,
28
+ _ctx.disabled && "celeste-link-button-disabled",
29
+ _ctx.underline && "celeste-link-button-underline",
30
+ props.class
31
+ )),
32
+ role: _ctx.as === "a" ? "link" : "button"
33
+ }, {
34
+ default: withCtx(() => [
35
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
36
+ ]),
37
+ _: 3
38
+ }, 8, ["as", "disabled", "as-child", "class", "role"]);
39
+ };
40
+ }
41
+ });
42
+ const LinkButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82b3b1ab"]]);
43
+ export {
44
+ LinkButton as default
45
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
+ import { c as clsx } from "./chunks/clsx.js";
3
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "modal-body",
6
+ props: {
7
+ class: {}
8
+ },
9
+ setup(__props) {
10
+ const props = __props;
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock("div", {
13
+ class: normalizeClass(unref(clsx)("celeste-modal-body", props.class))
14
+ }, [
15
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16
+ ], 2);
17
+ };
18
+ }
19
+ });
20
+ const modalBody = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8872ed90"]]);
21
+ export {
22
+ modalBody as default
23
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/modal-close.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,49 @@
1
+ import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, Transition, mergeProps, renderSlot } from "vue";
2
+ import { useDelegatedProps } from "./use-delegated-props.js";
3
+ import { c as clsx } from "./chunks/clsx.js";
4
+ import { x as xe, aa as Dv, ab as Eu, ac as xu } from "./chunks/index.js";
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "modal-content",
8
+ props: {
9
+ forceMount: { type: Boolean },
10
+ trapFocus: { type: Boolean },
11
+ disableOutsidePointerEvents: { type: Boolean },
12
+ asChild: { type: Boolean },
13
+ as: {},
14
+ class: {},
15
+ style: {}
16
+ },
17
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
18
+ setup(__props, { emit: __emit }) {
19
+ const props = __props;
20
+ const emits = __emit;
21
+ const delegatedProps = useDelegatedProps(props, "class");
22
+ const forwarded = xe(delegatedProps, emits);
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(Dv), null, {
25
+ default: withCtx(() => [
26
+ createVNode(unref(Eu), { class: "celeste-modal-overlay" }),
27
+ createVNode(Transition, { name: "fade" }, {
28
+ default: withCtx(() => [
29
+ createVNode(unref(xu), mergeProps(unref(forwarded), {
30
+ class: unref(clsx)("celeste-modal-content", props.class)
31
+ }), {
32
+ default: withCtx(() => [
33
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
34
+ ]),
35
+ _: 3
36
+ }, 16, ["class"])
37
+ ]),
38
+ _: 3
39
+ })
40
+ ]),
41
+ _: 3
42
+ });
43
+ };
44
+ }
45
+ });
46
+ const modalContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bdcae06b"]]);
47
+ export {
48
+ modalContent as default
49
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from "vue";
2
+ import { c as clsx } from "./chunks/clsx.js";
3
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "modal-footer",
6
+ props: {
7
+ class: {}
8
+ },
9
+ setup(__props) {
10
+ const props = __props;
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock("div", {
13
+ class: normalizeClass(unref(clsx)("celeste-modal-footer", props.class))
14
+ }, [
15
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16
+ ], 2);
17
+ };
18
+ }
19
+ });
20
+ const modalFooter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3331df1"]]);
21
+ export {
22
+ modalFooter as default
23
+ };
@@ -0,0 +1,82 @@
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, toDisplayString, createVNode } from "vue";
2
+ import CompactButton from "./compact-button.js";
3
+ import { c as clsx } from "./chunks/clsx.js";
4
+ import { ad as Pu, ae as Du, a as Gl } from "./chunks/index.js";
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _hoisted_1 = ["data-dismissible", "data-alignment", "data-type"];
7
+ const _hoisted_2 = {
8
+ key: 0,
9
+ class: "icon"
10
+ };
11
+ const _hoisted_3 = {
12
+ key: 1,
13
+ class: "content"
14
+ };
15
+ const _hoisted_4 = { class: "title" };
16
+ const _hoisted_5 = { class: "description" };
17
+ const _sfc_main = /* @__PURE__ */ defineComponent({
18
+ __name: "modal-header",
19
+ props: {
20
+ title: {},
21
+ icon: {},
22
+ description: {},
23
+ dismissible: { type: Boolean, default: true },
24
+ alignment: { default: "horizontal" },
25
+ type: { default: "default" },
26
+ class: {}
27
+ },
28
+ setup(__props) {
29
+ const props = __props;
30
+ return (_ctx, _cache) => {
31
+ return openBlock(), createElementBlock("div", {
32
+ class: normalizeClass(unref(clsx)("celeste-modal-header", props.class)),
33
+ "data-dismissible": _ctx.dismissible,
34
+ "data-alignment": _ctx.alignment,
35
+ "data-type": _ctx.type
36
+ }, [
37
+ _ctx.icon ? (openBlock(), createElementBlock("div", _hoisted_2, [
38
+ createElementVNode("i", {
39
+ class: normalizeClass(_ctx.icon)
40
+ }, null, 2)
41
+ ])) : createCommentVNode("", true),
42
+ _ctx.title || _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
43
+ _ctx.title ? (openBlock(), createBlock(unref(Pu), {
44
+ key: 0,
45
+ "as-child": ""
46
+ }, {
47
+ default: withCtx(() => [
48
+ createElementVNode("h2", _hoisted_4, toDisplayString(_ctx.title), 1)
49
+ ]),
50
+ _: 1
51
+ })) : createCommentVNode("", true),
52
+ _ctx.description ? (openBlock(), createBlock(unref(Du), {
53
+ key: 1,
54
+ "as-child": ""
55
+ }, {
56
+ default: withCtx(() => [
57
+ createElementVNode("p", _hoisted_5, toDisplayString(_ctx.description), 1)
58
+ ]),
59
+ _: 1
60
+ })) : createCommentVNode("", true)
61
+ ])) : createCommentVNode("", true),
62
+ _ctx.dismissible ? (openBlock(), createBlock(unref(Gl), {
63
+ key: 2,
64
+ "as-child": ""
65
+ }, {
66
+ default: withCtx(() => [
67
+ createVNode(CompactButton, {
68
+ class: "close",
69
+ icon: "i-celeste-close-line",
70
+ variant: "ghost"
71
+ })
72
+ ]),
73
+ _: 1
74
+ })) : createCommentVNode("", true)
75
+ ], 10, _hoisted_1);
76
+ };
77
+ }
78
+ });
79
+ const modalHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a655071e"]]);
80
+ export {
81
+ modalHeader as default
82
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/modal-trigger.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/modal.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,105 @@
1
+ import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, createElementVNode, normalizeStyle, createElementBlock, Fragment, normalizeClass, createCommentVNode, toDisplayString, renderSlot } from "vue";
2
+ import CompactButton from "./compact-button.js";
3
+ import { useDelegatedProps } from "./use-delegated-props.js";
4
+ import { c as clsx } from "./chunks/clsx.js";
5
+ import { x as xe, af as bs, ag as ws, ah as _s, ai as xs } from "./chunks/index.js";
6
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
+ const _hoisted_1 = ["data-icon-size"];
8
+ const _hoisted_2 = { class: "celeste-popover-title" };
9
+ const _hoisted_3 = { class: "celeste-popover-description" };
10
+ const _hoisted_4 = {
11
+ key: 2,
12
+ class: "celeste-popover-footer"
13
+ };
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ ...{
16
+ inheritAttrs: false
17
+ },
18
+ __name: "popover-content",
19
+ props: {
20
+ class: {},
21
+ side: { default: "bottom" },
22
+ title: {},
23
+ description: {},
24
+ showTail: { type: Boolean, default: true },
25
+ dismissible: { type: Boolean, default: true },
26
+ icon: {},
27
+ iconSize: { default: "lg" }
28
+ },
29
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
30
+ setup(__props, { emit: __emit }) {
31
+ const props = __props;
32
+ const emits = __emit;
33
+ const delegatedProps = useDelegatedProps(props, ["class", "title"]);
34
+ const forwarded = xe(delegatedProps, emits);
35
+ return (_ctx, _cache) => {
36
+ return openBlock(), createBlock(unref(bs), null, {
37
+ default: withCtx(() => [
38
+ createVNode(unref(ws), mergeProps({ ...unref(forwarded), ..._ctx.$attrs }, {
39
+ "side-offset": _ctx.showTail ? 0 : 8,
40
+ class: unref(clsx)(
41
+ "celeste-popover-content-wrapper",
42
+ props.class
43
+ )
44
+ }), {
45
+ default: withCtx(() => [
46
+ createElementVNode("div", {
47
+ class: "celeste-popover-content",
48
+ style: normalizeStyle({ padding: !_ctx.$slots.default ? "var(--spacing-16)" : "" })
49
+ }, [
50
+ !_ctx.$slots.default ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
51
+ _ctx.icon ? (openBlock(), createElementBlock("span", {
52
+ key: 0,
53
+ class: "celeste-popover-icon",
54
+ "data-icon-size": _ctx.iconSize
55
+ }, [
56
+ createElementVNode("i", {
57
+ class: normalizeClass(_ctx.icon)
58
+ }, null, 2)
59
+ ], 8, _hoisted_1)) : createCommentVNode("", true),
60
+ createElementVNode("p", _hoisted_2, toDisplayString(_ctx.title), 1),
61
+ createElementVNode("p", _hoisted_3, toDisplayString(_ctx.description), 1)
62
+ ], 64)) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true)
63
+ ], 4),
64
+ _ctx.showTail ? (openBlock(), createBlock(unref(_s), {
65
+ key: 0,
66
+ "as-child": "",
67
+ width: 16,
68
+ height: 8
69
+ }, {
70
+ default: withCtx(() => _cache[0] || (_cache[0] = [
71
+ createElementVNode("span", { class: "celeste-popover-arrow" }, null, -1)
72
+ ])),
73
+ _: 1
74
+ })) : createCommentVNode("", true),
75
+ _ctx.dismissible ? (openBlock(), createBlock(unref(xs), {
76
+ key: 1,
77
+ "as-child": "",
78
+ class: "PopoverClose",
79
+ "aria-label": "Close"
80
+ }, {
81
+ default: withCtx(() => [
82
+ createVNode(CompactButton, {
83
+ variant: "ghost",
84
+ icon: "i-celeste-close-line",
85
+ class: "celeste-popover-close-button"
86
+ })
87
+ ]),
88
+ _: 1
89
+ })) : createCommentVNode("", true),
90
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_4, [
91
+ renderSlot(_ctx.$slots, "footer", {}, void 0, true)
92
+ ])) : createCommentVNode("", true)
93
+ ]),
94
+ _: 3
95
+ }, 16, ["side-offset", "class"])
96
+ ]),
97
+ _: 3
98
+ });
99
+ };
100
+ }
101
+ });
102
+ const PopoverContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fae157b1"]]);
103
+ export {
104
+ PopoverContent as default
105
+ };
@@ -0,0 +1,25 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
+ import { aj as gs } from "./chunks/index.js";
3
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "popover-trigger",
6
+ props: {
7
+ asChild: { type: Boolean },
8
+ as: {}
9
+ },
10
+ setup(__props) {
11
+ const props = __props;
12
+ return (_ctx, _cache) => {
13
+ return openBlock(), createBlock(unref(gs), mergeProps({ class: "celeste-popover-trigger" }, props, { as: "div" }), {
14
+ default: withCtx(() => [
15
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
16
+ ]),
17
+ _: 3
18
+ }, 16);
19
+ };
20
+ }
21
+ });
22
+ const PopoverTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2664c4cb"]]);
23
+ export {
24
+ PopoverTrigger as default
25
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/popover.js";
2
+ export {
3
+ _sfc_main as default
4
+ };