@youcan/celeste 0.6.102 → 0.7.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 (715) hide show
  1. package/dist/celeste.css +1460 -1458
  2. package/dist/cjs/chunks/BubbleSelect.cjs +332 -0
  3. package/dist/cjs/chunks/CollapsibleRoot.cjs +90 -0
  4. package/dist/cjs/chunks/Collection.cjs +79 -0
  5. package/dist/cjs/chunks/ComboboxContent.cjs +442 -0
  6. package/dist/cjs/chunks/ComboboxGroup.cjs +90 -0
  7. package/dist/cjs/chunks/ComboboxInput.cjs +266 -0
  8. package/dist/cjs/chunks/ComboboxItem.cjs +195 -0
  9. package/dist/cjs/chunks/ComboboxLabel.cjs +47 -0
  10. package/dist/cjs/chunks/ComboboxRoot.cjs +695 -0
  11. package/dist/cjs/chunks/ComboboxSeparator.cjs +35 -0
  12. package/dist/cjs/chunks/ConfigProvider.cjs +11 -0
  13. package/dist/cjs/chunks/DialogClose.cjs +41 -0
  14. package/dist/cjs/chunks/DialogDescription.cjs +38 -0
  15. package/dist/cjs/chunks/DialogPortal.cjs +521 -0
  16. package/dist/cjs/chunks/DialogRoot.cjs +81 -0
  17. package/dist/cjs/chunks/DialogTitle.cjs +38 -0
  18. package/dist/cjs/chunks/DialogTrigger.cjs +57 -0
  19. package/dist/cjs/chunks/DismissableLayer.cjs +292 -0
  20. package/dist/cjs/chunks/DropdownMenuPortal.cjs +73 -0
  21. package/dist/cjs/chunks/DropdownMenuRoot.cjs +87 -0
  22. package/dist/cjs/chunks/FocusScope.cjs +368 -0
  23. package/dist/cjs/chunks/Label.cjs +42 -0
  24. package/dist/cjs/chunks/MenuAnchor.cjs +37 -0
  25. package/dist/cjs/chunks/MenuContentImpl.cjs +371 -0
  26. package/dist/cjs/chunks/MenuGroup.cjs +44 -0
  27. package/dist/cjs/chunks/MenuItemImpl.cjs +100 -0
  28. package/dist/cjs/chunks/MenuRoot.cjs +108 -0
  29. package/dist/cjs/chunks/MenuSub.cjs +68 -0
  30. package/dist/cjs/chunks/PaginationRoot.cjs +101 -0
  31. package/dist/cjs/chunks/PinInputRoot.cjs +153 -0
  32. package/dist/cjs/chunks/PopoverRoot.cjs +73 -0
  33. package/dist/cjs/chunks/PopperAnchor.cjs +48 -0
  34. package/dist/cjs/chunks/PopperArrow.cjs +152 -0
  35. package/dist/cjs/chunks/PopperContent.cjs +2134 -0
  36. package/dist/cjs/chunks/PopperRoot.cjs +32 -0
  37. package/dist/cjs/chunks/Presence.cjs +194 -0
  38. package/dist/cjs/chunks/Primitive.cjs +80 -0
  39. package/dist/cjs/chunks/ProgressIndicator.cjs +161 -0
  40. package/dist/cjs/chunks/RadioGroupRoot.cjs +143 -0
  41. package/dist/cjs/chunks/RovingFocusGroup.cjs +146 -0
  42. package/dist/cjs/chunks/RovingFocusItem.cjs +114 -0
  43. package/dist/cjs/chunks/SelectGroup.cjs +44 -0
  44. package/dist/cjs/chunks/SelectItemAlignedPosition.cjs +593 -0
  45. package/dist/cjs/chunks/TabsRoot.cjs +114 -0
  46. package/dist/cjs/chunks/Teleport.cjs +51 -0
  47. package/dist/cjs/chunks/ToggleGroupRoot.cjs +188 -0
  48. package/dist/cjs/chunks/TooltipProvider.cjs +87 -0
  49. package/dist/cjs/chunks/TooltipRoot.cjs +145 -0
  50. package/dist/cjs/chunks/VisuallyHidden.cjs +65 -0
  51. package/dist/cjs/chunks/VisuallyHiddenInput.cjs +146 -0
  52. package/dist/cjs/chunks/alert.cjs +2 -2
  53. package/dist/cjs/chunks/alpha-slider.cjs +1 -1
  54. package/dist/cjs/chunks/badge.cjs +2 -2
  55. package/dist/cjs/chunks/button.cjs +4 -3
  56. package/dist/cjs/chunks/checkbox-card.cjs +10 -8
  57. package/dist/cjs/chunks/checkbox-label.cjs +11 -9
  58. package/dist/cjs/chunks/checkbox.cjs +234 -9
  59. package/dist/cjs/chunks/chunk.cjs +50 -0
  60. package/dist/cjs/chunks/clamp.cjs +75 -0
  61. package/dist/cjs/chunks/collapsible-content.cjs +105 -2
  62. package/dist/cjs/chunks/collapsible-trigger.cjs +51 -2
  63. package/dist/cjs/chunks/collapsible.cjs +6 -3
  64. package/dist/cjs/chunks/color-area.cjs +4 -4
  65. package/dist/cjs/chunks/color-picker.cjs +14 -13
  66. package/dist/cjs/chunks/color-swatch.cjs +3 -3
  67. package/dist/cjs/chunks/combobox-anchor.cjs +45 -3
  68. package/dist/cjs/chunks/combobox-empty.cjs +31 -3
  69. package/dist/cjs/chunks/combobox-group.cjs +6 -4
  70. package/dist/cjs/chunks/combobox-input.cjs +7 -5
  71. package/dist/cjs/chunks/combobox-item.cjs +8 -6
  72. package/dist/cjs/chunks/combobox-list.cjs +105 -7
  73. package/dist/cjs/chunks/combobox-root.cjs +22 -18
  74. package/dist/cjs/chunks/combobox-separator.cjs +4 -3
  75. package/dist/cjs/chunks/combobox-trigger.cjs +64 -4
  76. package/dist/cjs/chunks/combobox.cjs +38 -30
  77. package/dist/cjs/chunks/compact-button.cjs +4 -3
  78. package/dist/cjs/chunks/components.cjs +47 -47
  79. package/dist/cjs/chunks/content-divider.cjs +87 -2
  80. package/dist/cjs/chunks/core.cjs +3 -3
  81. package/dist/cjs/chunks/counter-input.cjs +884 -8
  82. package/dist/cjs/chunks/createContext.cjs +38 -0
  83. package/dist/cjs/chunks/digit-input-group.cjs +6 -4
  84. package/dist/cjs/chunks/digit-input-slot.cjs +243 -4
  85. package/dist/cjs/chunks/digit-input.cjs +8 -6
  86. package/dist/cjs/chunks/dist.cjs +524 -12084
  87. package/dist/cjs/chunks/dropdown-menu-content.cjs +542 -5
  88. package/dist/cjs/chunks/dropdown-menu-group.cjs +30 -3
  89. package/dist/cjs/chunks/dropdown-menu-item.cjs +125 -4
  90. package/dist/cjs/chunks/dropdown-menu-label.cjs +59 -4
  91. package/dist/cjs/chunks/dropdown-menu-separator.cjs +57 -3
  92. package/dist/cjs/chunks/dropdown-menu-sub-content.cjs +295 -5
  93. package/dist/cjs/chunks/dropdown-menu-sub-trigger.cjs +192 -4
  94. package/dist/cjs/chunks/dropdown-menu-sub.cjs +39 -2
  95. package/dist/cjs/chunks/dropdown-menu-trigger.cjs +91 -4
  96. package/dist/cjs/chunks/dropdown-menu.cjs +6 -4
  97. package/dist/cjs/chunks/extra-settings.cjs +5 -5
  98. package/dist/cjs/chunks/fancy-button.cjs +4 -3
  99. package/dist/cjs/chunks/file-upload-area.cjs +2 -2
  100. package/dist/cjs/chunks/getActiveElement.cjs +14 -0
  101. package/dist/cjs/chunks/handleAndDispatchCustomEvent.cjs +18 -0
  102. package/dist/cjs/chunks/hint-text.cjs +2 -2
  103. package/dist/cjs/chunks/hue-slider.cjs +1 -1
  104. package/dist/cjs/chunks/isValueEqualOrExist.cjs +24 -0
  105. package/dist/cjs/chunks/{label.cjs → label2.cjs} +6 -4
  106. package/dist/cjs/chunks/link-bubble.cjs +7 -7
  107. package/dist/cjs/chunks/link-button.cjs +4 -3
  108. package/dist/cjs/chunks/menus.cjs +53 -52
  109. package/dist/cjs/chunks/modal-body.cjs +1 -1
  110. package/dist/cjs/chunks/modal-close.cjs +3 -2
  111. package/dist/cjs/chunks/modal-content.cjs +8 -7
  112. package/dist/cjs/chunks/modal-footer.cjs +1 -1
  113. package/dist/cjs/chunks/modal-header.cjs +8 -5
  114. package/dist/cjs/chunks/modal-trigger.cjs +3 -2
  115. package/dist/cjs/chunks/modal.cjs +7 -4
  116. package/dist/cjs/chunks/nullish.cjs +11 -0
  117. package/dist/cjs/chunks/ohash.D__AXeF1.cjs +114 -0
  118. package/dist/cjs/chunks/pagination-content.cjs +86 -3
  119. package/dist/cjs/chunks/pagination-ellipsis.cjs +30 -3
  120. package/dist/cjs/chunks/pagination-first.cjs +39 -3
  121. package/dist/cjs/chunks/pagination-item.cjs +51 -2
  122. package/dist/cjs/chunks/pagination-last.cjs +39 -3
  123. package/dist/cjs/chunks/pagination-next.cjs +39 -3
  124. package/dist/cjs/chunks/pagination-previous.cjs +39 -3
  125. package/dist/cjs/chunks/pagination.cjs +6 -4
  126. package/dist/cjs/chunks/popover-content.cjs +704 -7
  127. package/dist/cjs/chunks/popover-trigger.cjs +62 -3
  128. package/dist/cjs/chunks/popover.cjs +5 -3
  129. package/dist/cjs/chunks/progress-bar.cjs +7 -5
  130. package/dist/cjs/chunks/progress-circle.cjs +7 -5
  131. package/dist/cjs/chunks/radio-group-card.cjs +10 -8
  132. package/dist/cjs/chunks/radio-group-item.cjs +304 -6
  133. package/dist/cjs/chunks/radio-group-label.cjs +11 -9
  134. package/dist/cjs/chunks/radio-group.cjs +7 -5
  135. package/dist/cjs/chunks/rich-editor.cjs +162 -162
  136. package/dist/cjs/chunks/scroll-area.cjs +142 -6
  137. package/dist/cjs/chunks/scroll-bar.cjs +895 -4
  138. package/dist/cjs/chunks/segmented-control-item.cjs +163 -3
  139. package/dist/cjs/chunks/segmented-control.cjs +8 -4
  140. package/dist/cjs/chunks/select-content.cjs +320 -6
  141. package/dist/cjs/chunks/select-group.cjs +3 -2
  142. package/dist/cjs/chunks/select-icon.cjs +1 -1
  143. package/dist/cjs/chunks/select-item.cjs +227 -5
  144. package/dist/cjs/chunks/select-label.cjs +35 -3
  145. package/dist/cjs/chunks/select-separator.cjs +28 -3
  146. package/dist/cjs/chunks/select-trigger.cjs +165 -4
  147. package/dist/cjs/chunks/select-value.cjs +65 -3
  148. package/dist/cjs/chunks/select.cjs +9 -4
  149. package/dist/cjs/chunks/sheet-close.cjs +4 -3
  150. package/dist/cjs/chunks/sheet-content.cjs +9 -7
  151. package/dist/cjs/chunks/sheet-description.cjs +4 -3
  152. package/dist/cjs/chunks/sheet-footer.cjs +2 -2
  153. package/dist/cjs/chunks/sheet-header.cjs +2 -2
  154. package/dist/cjs/chunks/sheet-title.cjs +4 -3
  155. package/dist/cjs/chunks/sheet-trigger.cjs +3 -2
  156. package/dist/cjs/chunks/sheet.cjs +7 -4
  157. package/dist/cjs/chunks/sidebar-content.cjs +1 -1
  158. package/dist/cjs/chunks/sidebar-element.cjs +3 -2
  159. package/dist/cjs/chunks/sidebar-footer.cjs +1 -1
  160. package/dist/cjs/chunks/sidebar-group-content.cjs +1 -1
  161. package/dist/cjs/chunks/sidebar-group-label.cjs +3 -2
  162. package/dist/cjs/chunks/sidebar-group.cjs +1 -1
  163. package/dist/cjs/chunks/sidebar-header.cjs +1 -1
  164. package/dist/cjs/chunks/sidebar-menu-action.cjs +3 -2
  165. package/dist/cjs/chunks/sidebar-menu-badge.cjs +1 -1
  166. package/dist/cjs/chunks/sidebar-menu-button.cjs +3 -2
  167. package/dist/cjs/chunks/sidebar-menu-item.cjs +1 -1
  168. package/dist/cjs/chunks/sidebar-menu-sub-button.cjs +3 -2
  169. package/dist/cjs/chunks/sidebar-menu-sub-item.cjs +1 -1
  170. package/dist/cjs/chunks/sidebar-menu-sub.cjs +1 -1
  171. package/dist/cjs/chunks/sidebar-menu.cjs +1 -1
  172. package/dist/cjs/chunks/sidebar-provider.cjs +1 -1
  173. package/dist/cjs/chunks/sidebar-trigger.cjs +1 -1
  174. package/dist/cjs/chunks/sidebar.cjs +1 -1
  175. package/dist/cjs/chunks/slider.cjs +751 -7
  176. package/dist/cjs/chunks/social-button.cjs +4 -3
  177. package/dist/cjs/chunks/sonner-alert.cjs +2 -2
  178. package/dist/cjs/chunks/sonner.cjs +1 -1
  179. package/dist/cjs/chunks/status-badge.cjs +2 -2
  180. package/dist/cjs/chunks/switch.cjs +192 -9
  181. package/dist/cjs/chunks/tab-menu-content.cjs +82 -3
  182. package/dist/cjs/chunks/tab-menu-item.cjs +89 -4
  183. package/dist/cjs/chunks/tab-menu-list.cjs +61 -3
  184. package/dist/cjs/chunks/tab-menu.cjs +7 -4
  185. package/dist/cjs/chunks/table-body.cjs +2 -2
  186. package/dist/cjs/chunks/table-caption.cjs +2 -2
  187. package/dist/cjs/chunks/table-cell.cjs +2 -2
  188. package/dist/cjs/chunks/table-footer.cjs +2 -2
  189. package/dist/cjs/chunks/table-head.cjs +2 -2
  190. package/dist/cjs/chunks/table-header.cjs +1 -1
  191. package/dist/cjs/chunks/table-row.cjs +2 -2
  192. package/dist/cjs/chunks/table.cjs +2 -2
  193. package/dist/cjs/chunks/table2.cjs +2 -2
  194. package/dist/cjs/chunks/tag.cjs +4 -3
  195. package/dist/cjs/chunks/text-input-affix.cjs +1 -1
  196. package/dist/cjs/chunks/text-input-button.cjs +12 -6
  197. package/dist/cjs/chunks/text-input.cjs +9 -8
  198. package/dist/cjs/chunks/textarea.cjs +2 -2
  199. package/dist/cjs/chunks/tooltip-content.cjs +589 -7
  200. package/dist/cjs/chunks/tooltip-provider.cjs +5 -3
  201. package/dist/cjs/chunks/tooltip-root.cjs +5 -3
  202. package/dist/cjs/chunks/tooltip-trigger.cjs +109 -3
  203. package/dist/cjs/chunks/tooltip.cjs +8 -5
  204. package/dist/cjs/chunks/use-color-model.cjs +1 -1
  205. package/dist/cjs/chunks/useArrowNavigation.cjs +65 -0
  206. package/dist/cjs/chunks/useComposing.cjs +27 -0
  207. package/dist/cjs/chunks/useDirection.cjs +20 -0
  208. package/dist/cjs/chunks/useEmitAsProps.cjs +34 -0
  209. package/dist/cjs/chunks/useFocusGuards.cjs +40 -0
  210. package/dist/cjs/chunks/useFormControl.cjs +14 -0
  211. package/dist/cjs/chunks/useForwardExpose.cjs +64 -0
  212. package/dist/cjs/chunks/useForwardProps.cjs +40 -0
  213. package/dist/cjs/chunks/useForwardPropsEmits.cjs +20 -0
  214. package/dist/cjs/chunks/useForwardScopeId.cjs +31 -0
  215. package/dist/cjs/chunks/useHideOthers.cjs +138 -0
  216. package/dist/cjs/chunks/useId.cjs +30 -0
  217. package/dist/cjs/chunks/useKbd.cjs +46 -0
  218. package/dist/cjs/chunks/useNonce.cjs +15 -0
  219. package/dist/cjs/chunks/usePrimitiveElement.cjs +18 -0
  220. package/dist/cjs/chunks/useSize.cjs +55 -0
  221. package/dist/cjs/chunks/useTypeahead.cjs +69 -0
  222. package/dist/cjs/chunks/utils.cjs +117 -0
  223. package/dist/cjs/chunks/utils2.cjs +73 -0
  224. package/dist/cjs/chunks/utils3.cjs +20 -0
  225. package/dist/cjs/command-group.cjs +6 -4
  226. package/dist/cjs/command-input.cjs +9 -6
  227. package/dist/cjs/command-item.cjs +6 -3
  228. package/dist/cjs/command-list.cjs +14 -7
  229. package/dist/cjs/command-root.cjs +20 -16
  230. package/dist/cjs/command-separator.cjs +4 -3
  231. package/dist/cjs/config.cjs +2 -2
  232. package/dist/cjs/index.cjs +47 -47
  233. package/dist/cjs/label.cjs +1 -1
  234. package/dist/cjs/use-delegated-props.cjs +1 -1
  235. package/dist/cjs/use-sidebar.cjs +2 -2
  236. package/dist/cjs/use-user-select.cjs +1 -1
  237. package/dist/components/alert/alert.d.ts +17 -14
  238. package/dist/components/badge/badge.d.ts +2 -2
  239. package/dist/components/badge/status-badge.d.ts +2 -2
  240. package/dist/components/button/button.d.ts +11 -8
  241. package/dist/components/button/compact-button.d.ts +4 -4
  242. package/dist/components/button/fancy-button.d.ts +11 -8
  243. package/dist/components/button/link-button.d.ts +11 -8
  244. package/dist/components/button/social-button.d.ts +2 -2
  245. package/dist/components/checkbox/checkbox-card.d.ts +1 -1
  246. package/dist/components/checkbox/checkbox-label.d.ts +1 -1
  247. package/dist/components/checkbox/checkbox.d.ts +3 -3
  248. package/dist/components/collapsible/collapsible-content.d.ts +7 -4
  249. package/dist/components/collapsible/collapsible-trigger.d.ts +7 -4
  250. package/dist/components/collapsible/collapsible.d.ts +12 -9
  251. package/dist/components/color-picker/alpha-slider.d.ts +2 -2
  252. package/dist/components/color-picker/color-area.d.ts +1 -1
  253. package/dist/components/color-picker/color-picker.d.ts +11 -8
  254. package/dist/components/color-picker/color-swatch.d.ts +2 -2
  255. package/dist/components/color-picker/composable/use-color-model.d.ts +1 -1
  256. package/dist/components/combobox/combobox-anchor.d.ts +1 -1
  257. package/dist/components/combobox/combobox-empty.d.ts +1 -1
  258. package/dist/components/combobox/combobox-group.d.ts +1 -1
  259. package/dist/components/combobox/combobox-input.d.ts +1 -1
  260. package/dist/components/combobox/combobox-item.d.ts +13 -10
  261. package/dist/components/combobox/combobox-list.d.ts +8 -8
  262. package/dist/components/combobox/combobox-root.d.ts +11 -7
  263. package/dist/components/combobox/combobox-separator.d.ts +1 -1
  264. package/dist/components/combobox/combobox-trigger.d.ts +9 -6
  265. package/dist/components/combobox/combobox.d.ts +26 -19
  266. package/dist/components/content-divider/content-divider.d.ts +3 -3
  267. package/dist/components/counter-input/counter-input.d.ts +2 -2
  268. package/dist/components/digit-input/digit-input-group.d.ts +1 -1
  269. package/dist/components/digit-input/digit-input-slot.d.ts +1 -1
  270. package/dist/components/digit-input/digit-input.d.ts +25 -24
  271. package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +7 -7
  272. package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +1 -1
  273. package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +1 -1
  274. package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +1 -1
  275. package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
  276. package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -7
  277. package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -1
  278. package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +1 -1
  279. package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
  280. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -1
  281. package/dist/components/file-upload/file-upload-area.d.ts +8 -7
  282. package/dist/components/hint-text/hint-text.d.ts +2 -2
  283. package/dist/components/label/label.d.ts +1 -1
  284. package/dist/components/modal/modal-close.d.ts +1 -1
  285. package/dist/components/modal/modal-content.d.ts +7 -7
  286. package/dist/components/modal/modal-trigger.d.ts +1 -1
  287. package/dist/components/modal/modal.d.ts +1 -1
  288. package/dist/components/pagination/pagination-content.d.ts +14 -11
  289. package/dist/components/pagination/pagination-ellipsis.d.ts +7 -4
  290. package/dist/components/pagination/pagination-first.d.ts +7 -4
  291. package/dist/components/pagination/pagination-item.d.ts +7 -4
  292. package/dist/components/pagination/pagination-last.d.ts +7 -4
  293. package/dist/components/pagination/pagination-next.d.ts +7 -4
  294. package/dist/components/pagination/pagination-previous.d.ts +7 -4
  295. package/dist/components/pagination/pagination.d.ts +24 -21
  296. package/dist/components/popover/popover-content.d.ts +22 -19
  297. package/dist/components/popover/popover-trigger.d.ts +1 -1
  298. package/dist/components/popover/popover.d.ts +1 -1
  299. package/dist/components/progress/progress-bar.d.ts +1 -1
  300. package/dist/components/progress/progress-circle.d.ts +1 -1
  301. package/dist/components/radio-group/radio-group-card.d.ts +1 -1
  302. package/dist/components/radio-group/radio-group-item.d.ts +1 -1
  303. package/dist/components/radio-group/radio-group-label.d.ts +1 -1
  304. package/dist/components/radio-group/radio-group.d.ts +3 -3
  305. package/dist/components/scroll-area/scroll-area.d.ts +1 -1
  306. package/dist/components/scroll-area/scroll-bar.d.ts +1 -1
  307. package/dist/components/segmented-control/segmented-control-item.d.ts +1 -1
  308. package/dist/components/segmented-control/segmented-control.d.ts +3 -3
  309. package/dist/components/select/select-content.d.ts +3 -3
  310. package/dist/components/select/select-group.d.ts +1 -1
  311. package/dist/components/select/select-item.d.ts +1 -1
  312. package/dist/components/select/select-label.d.ts +1 -1
  313. package/dist/components/select/select-separator.d.ts +1 -1
  314. package/dist/components/select/select-trigger.d.ts +1 -1
  315. package/dist/components/select/select-value.d.ts +1 -1
  316. package/dist/components/select/select.d.ts +3 -3
  317. package/dist/components/sheet/sheet-close.d.ts +7 -4
  318. package/dist/components/sheet/sheet-content.d.ts +16 -13
  319. package/dist/components/sheet/sheet-description.d.ts +7 -4
  320. package/dist/components/sheet/sheet-footer.d.ts +6 -3
  321. package/dist/components/sheet/sheet-header.d.ts +6 -3
  322. package/dist/components/sheet/sheet-title.d.ts +7 -4
  323. package/dist/components/sheet/sheet-trigger.d.ts +7 -4
  324. package/dist/components/sheet/sheet.d.ts +1 -1
  325. package/dist/components/sidebar/sidebar-element.d.ts +9 -6
  326. package/dist/components/sidebar/sidebar-footer.d.ts +6 -3
  327. package/dist/components/sidebar/sidebar-group-label.d.ts +1 -1
  328. package/dist/components/sidebar/sidebar-header.d.ts +6 -3
  329. package/dist/components/sidebar/sidebar-menu-action.d.ts +9 -6
  330. package/dist/components/sidebar/sidebar-menu-badge.d.ts +2 -2
  331. package/dist/components/sidebar/sidebar-menu-button.d.ts +2 -2
  332. package/dist/components/sidebar/sidebar-menu-sub-button.d.ts +11 -8
  333. package/dist/components/sidebar/sidebar-separator.d.ts +1 -1
  334. package/dist/components/sidebar/sidebar.d.ts +11 -8
  335. package/dist/components/slider/slider.d.ts +1 -1
  336. package/dist/components/sonner/sonner.d.ts +1 -1
  337. package/dist/components/switch/switch.d.ts +3 -3
  338. package/dist/components/tab-menu/tab-menu-content.d.ts +1 -1
  339. package/dist/components/tab-menu/tab-menu-item.d.ts +1 -1
  340. package/dist/components/tab-menu/tab-menu-list.d.ts +1 -1
  341. package/dist/components/tab-menu/tab-menu.d.ts +3 -3
  342. package/dist/components/table/table-body.d.ts +6 -3
  343. package/dist/components/table/table-caption.d.ts +6 -3
  344. package/dist/components/table/table-cell.d.ts +8 -5
  345. package/dist/components/table/table-empty.d.ts +8 -5
  346. package/dist/components/table/table-footer.d.ts +6 -3
  347. package/dist/components/table/table-head.d.ts +8 -5
  348. package/dist/components/table/table-header.d.ts +6 -3
  349. package/dist/components/table/table-row.d.ts +8 -5
  350. package/dist/components/table/table.d.ts +6 -3
  351. package/dist/components/tag/tag.d.ts +11 -8
  352. package/dist/components/text-input/text-input-button.d.ts +1 -1
  353. package/dist/components/text-input/text-input.d.ts +24 -20
  354. package/dist/components/textarea/textarea.d.ts +9 -8
  355. package/dist/components/tooltip/tooltip-content.d.ts +10 -7
  356. package/dist/components/tooltip/tooltip-provider.d.ts +9 -6
  357. package/dist/components/tooltip/tooltip-root.d.ts +10 -7
  358. package/dist/components/tooltip/tooltip-trigger.d.ts +7 -4
  359. package/dist/components/tooltip/tooltip.d.ts +10 -7
  360. package/dist/es/chunks/BubbleSelect.js +290 -0
  361. package/dist/es/chunks/CollapsibleRoot.js +78 -0
  362. package/dist/es/chunks/Collection.js +73 -0
  363. package/dist/es/chunks/ComboboxContent.js +436 -0
  364. package/dist/es/chunks/ComboboxGroup.js +78 -0
  365. package/dist/es/chunks/ComboboxInput.js +260 -0
  366. package/dist/es/chunks/ComboboxItem.js +189 -0
  367. package/dist/es/chunks/ComboboxLabel.js +41 -0
  368. package/dist/es/chunks/ComboboxRoot.js +671 -0
  369. package/dist/es/chunks/ComboboxSeparator.js +29 -0
  370. package/dist/es/chunks/ConfigProvider.js +6 -0
  371. package/dist/es/chunks/DialogClose.js +35 -0
  372. package/dist/es/chunks/DialogDescription.js +32 -0
  373. package/dist/es/chunks/DialogPortal.js +503 -0
  374. package/dist/es/chunks/DialogRoot.js +69 -0
  375. package/dist/es/chunks/DialogTitle.js +32 -0
  376. package/dist/es/chunks/DialogTrigger.js +51 -0
  377. package/dist/es/chunks/DismissableLayer.js +280 -0
  378. package/dist/es/chunks/DropdownMenuPortal.js +67 -0
  379. package/dist/es/chunks/DropdownMenuRoot.js +75 -0
  380. package/dist/es/chunks/FocusScope.js +356 -0
  381. package/dist/es/chunks/Label.js +36 -0
  382. package/dist/es/chunks/MenuAnchor.js +31 -0
  383. package/dist/es/chunks/MenuContentImpl.js +359 -0
  384. package/dist/es/chunks/MenuGroup.js +32 -0
  385. package/dist/es/chunks/MenuItemImpl.js +94 -0
  386. package/dist/es/chunks/MenuRoot.js +84 -0
  387. package/dist/es/chunks/MenuSub.js +56 -0
  388. package/dist/es/chunks/PaginationRoot.js +89 -0
  389. package/dist/es/chunks/PinInputRoot.js +141 -0
  390. package/dist/es/chunks/PopoverRoot.js +61 -0
  391. package/dist/es/chunks/PopperAnchor.js +42 -0
  392. package/dist/es/chunks/PopperArrow.js +146 -0
  393. package/dist/es/chunks/PopperContent.js +2089 -0
  394. package/dist/es/chunks/PopperRoot.js +20 -0
  395. package/dist/es/chunks/Presence.js +182 -0
  396. package/dist/es/chunks/Primitive.js +62 -0
  397. package/dist/es/chunks/ProgressIndicator.js +149 -0
  398. package/dist/es/chunks/RadioGroupRoot.js +131 -0
  399. package/dist/es/chunks/RovingFocusGroup.js +134 -0
  400. package/dist/es/chunks/RovingFocusItem.js +108 -0
  401. package/dist/es/chunks/SelectGroup.js +32 -0
  402. package/dist/es/chunks/SelectItemAlignedPosition.js +563 -0
  403. package/dist/es/chunks/TabsRoot.js +102 -0
  404. package/dist/es/chunks/Teleport.js +45 -0
  405. package/dist/es/chunks/ToggleGroupRoot.js +176 -0
  406. package/dist/es/chunks/TooltipProvider.js +75 -0
  407. package/dist/es/chunks/TooltipRoot.js +127 -0
  408. package/dist/es/chunks/VisuallyHidden.js +59 -0
  409. package/dist/es/chunks/VisuallyHiddenInput.js +140 -0
  410. package/dist/es/chunks/alert.js +1 -1
  411. package/dist/es/chunks/badge.js +1 -1
  412. package/dist/es/chunks/button.js +3 -3
  413. package/dist/es/chunks/checkbox-card.js +9 -8
  414. package/dist/es/chunks/checkbox-label.js +10 -9
  415. package/dist/es/chunks/checkbox.js +234 -10
  416. package/dist/es/chunks/clamp.js +64 -0
  417. package/dist/es/chunks/collapsible-content.js +105 -3
  418. package/dist/es/chunks/collapsible-trigger.js +50 -2
  419. package/dist/es/chunks/collapsible.js +5 -3
  420. package/dist/es/chunks/color-area.js +3 -3
  421. package/dist/es/chunks/color-picker.js +13 -13
  422. package/dist/es/chunks/color-swatch.js +2 -2
  423. package/dist/es/chunks/combobox-anchor.js +45 -4
  424. package/dist/es/chunks/combobox-empty.js +30 -4
  425. package/dist/es/chunks/combobox-group.js +5 -4
  426. package/dist/es/chunks/combobox-input.js +6 -5
  427. package/dist/es/chunks/combobox-item.js +7 -6
  428. package/dist/es/chunks/combobox-list.js +104 -8
  429. package/dist/es/chunks/combobox-root.js +21 -18
  430. package/dist/es/chunks/combobox-separator.js +3 -3
  431. package/dist/es/chunks/combobox-trigger.js +63 -5
  432. package/dist/es/chunks/combobox.js +38 -31
  433. package/dist/es/chunks/compact-button.js +3 -3
  434. package/dist/es/chunks/components.js +46 -46
  435. package/dist/es/chunks/content-divider.js +87 -3
  436. package/dist/es/chunks/core.js +2 -2
  437. package/dist/es/chunks/counter-input.js +884 -9
  438. package/dist/es/chunks/createContext.js +32 -0
  439. package/dist/es/chunks/digit-input-group.js +5 -4
  440. package/dist/es/chunks/digit-input-slot.js +242 -5
  441. package/dist/es/chunks/digit-input.js +7 -6
  442. package/dist/es/chunks/dist.js +486 -11478
  443. package/dist/es/chunks/dropdown-menu-content.js +541 -6
  444. package/dist/es/chunks/dropdown-menu-group.js +29 -4
  445. package/dist/es/chunks/dropdown-menu-item.js +125 -5
  446. package/dist/es/chunks/dropdown-menu-label.js +58 -5
  447. package/dist/es/chunks/dropdown-menu-separator.js +56 -4
  448. package/dist/es/chunks/dropdown-menu-sub-content.js +294 -6
  449. package/dist/es/chunks/dropdown-menu-sub-trigger.js +192 -5
  450. package/dist/es/chunks/dropdown-menu-sub.js +40 -4
  451. package/dist/es/chunks/dropdown-menu-trigger.js +90 -5
  452. package/dist/es/chunks/dropdown-menu.js +5 -4
  453. package/dist/es/chunks/extra-settings.js +4 -4
  454. package/dist/es/chunks/fancy-button.js +3 -3
  455. package/dist/es/chunks/file-upload-area.js +1 -1
  456. package/dist/es/chunks/getActiveElement.js +9 -0
  457. package/dist/es/chunks/handleAndDispatchCustomEvent.js +13 -0
  458. package/dist/es/chunks/hint-text.js +1 -1
  459. package/dist/es/chunks/isValueEqualOrExist.js +19 -0
  460. package/dist/es/chunks/{label.js → label2.js} +5 -4
  461. package/dist/es/chunks/link-bubble.js +6 -6
  462. package/dist/es/chunks/link-button.js +3 -3
  463. package/dist/es/chunks/menus.js +2 -2
  464. package/dist/es/chunks/modal-close.js +2 -2
  465. package/dist/es/chunks/modal-content.js +7 -7
  466. package/dist/es/chunks/modal-header.js +7 -5
  467. package/dist/es/chunks/modal-trigger.js +2 -2
  468. package/dist/es/chunks/modal.js +6 -4
  469. package/dist/es/chunks/nullish.js +6 -0
  470. package/dist/es/chunks/ohash.D__AXeF1.js +109 -0
  471. package/dist/es/chunks/pagination-content.js +85 -4
  472. package/dist/es/chunks/pagination-ellipsis.js +29 -4
  473. package/dist/es/chunks/pagination-first.js +39 -4
  474. package/dist/es/chunks/pagination-item.js +51 -3
  475. package/dist/es/chunks/pagination-last.js +39 -4
  476. package/dist/es/chunks/pagination-next.js +39 -4
  477. package/dist/es/chunks/pagination-previous.js +39 -4
  478. package/dist/es/chunks/pagination.js +5 -4
  479. package/dist/es/chunks/popover-content.js +704 -8
  480. package/dist/es/chunks/popover-trigger.js +61 -4
  481. package/dist/es/chunks/popover.js +4 -3
  482. package/dist/es/chunks/progress-bar.js +6 -5
  483. package/dist/es/chunks/progress-circle.js +6 -5
  484. package/dist/es/chunks/radio-group-card.js +9 -8
  485. package/dist/es/chunks/radio-group-item.js +304 -7
  486. package/dist/es/chunks/radio-group-label.js +10 -9
  487. package/dist/es/chunks/radio-group.js +6 -5
  488. package/dist/es/chunks/rich-editor.js +5 -5
  489. package/dist/es/chunks/scroll-area.js +141 -7
  490. package/dist/es/chunks/scroll-bar.js +883 -6
  491. package/dist/es/chunks/segmented-control-item.js +162 -4
  492. package/dist/es/chunks/segmented-control.js +7 -4
  493. package/dist/es/chunks/select-content.js +319 -7
  494. package/dist/es/chunks/select-group.js +2 -2
  495. package/dist/es/chunks/select-item.js +226 -6
  496. package/dist/es/chunks/select-label.js +33 -3
  497. package/dist/es/chunks/select-separator.js +27 -4
  498. package/dist/es/chunks/select-trigger.js +164 -5
  499. package/dist/es/chunks/select-value.js +64 -4
  500. package/dist/es/chunks/select.js +8 -4
  501. package/dist/es/chunks/sheet-close.js +3 -3
  502. package/dist/es/chunks/sheet-content.js +8 -7
  503. package/dist/es/chunks/sheet-description.js +3 -3
  504. package/dist/es/chunks/sheet-footer.js +1 -1
  505. package/dist/es/chunks/sheet-header.js +1 -1
  506. package/dist/es/chunks/sheet-title.js +3 -3
  507. package/dist/es/chunks/sheet-trigger.js +2 -2
  508. package/dist/es/chunks/sheet.js +6 -4
  509. package/dist/es/chunks/sidebar-element.js +2 -2
  510. package/dist/es/chunks/sidebar-group-label.js +2 -2
  511. package/dist/es/chunks/sidebar-menu-action.js +2 -2
  512. package/dist/es/chunks/sidebar-menu-button.js +2 -2
  513. package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
  514. package/dist/es/chunks/slider.js +751 -8
  515. package/dist/es/chunks/social-button.js +3 -3
  516. package/dist/es/chunks/sonner-alert.js +1 -1
  517. package/dist/es/chunks/status-badge.js +1 -1
  518. package/dist/es/chunks/switch.js +192 -10
  519. package/dist/es/chunks/tab-menu-content.js +81 -4
  520. package/dist/es/chunks/tab-menu-item.js +89 -5
  521. package/dist/es/chunks/tab-menu-list.js +60 -4
  522. package/dist/es/chunks/tab-menu.js +6 -4
  523. package/dist/es/chunks/table-body.js +1 -1
  524. package/dist/es/chunks/table-caption.js +1 -1
  525. package/dist/es/chunks/table-cell.js +1 -1
  526. package/dist/es/chunks/table-footer.js +1 -1
  527. package/dist/es/chunks/table-head.js +1 -1
  528. package/dist/es/chunks/table-row.js +1 -1
  529. package/dist/es/chunks/table.js +1 -1
  530. package/dist/es/chunks/table2.js +1 -1
  531. package/dist/es/chunks/tag.js +3 -3
  532. package/dist/es/chunks/text-input-button.js +11 -5
  533. package/dist/es/chunks/text-input.js +8 -8
  534. package/dist/es/chunks/textarea.js +1 -1
  535. package/dist/es/chunks/tooltip-content.js +589 -8
  536. package/dist/es/chunks/tooltip-provider.js +4 -3
  537. package/dist/es/chunks/tooltip-root.js +4 -3
  538. package/dist/es/chunks/tooltip-trigger.js +109 -4
  539. package/dist/es/chunks/tooltip.js +7 -5
  540. package/dist/es/chunks/useArrowNavigation.js +60 -0
  541. package/dist/es/chunks/useComposing.js +21 -0
  542. package/dist/es/chunks/useDirection.js +14 -0
  543. package/dist/es/chunks/useEmitAsProps.js +28 -0
  544. package/dist/es/chunks/useFocusGuards.js +34 -0
  545. package/dist/es/chunks/useFormControl.js +8 -0
  546. package/dist/es/chunks/useForwardExpose.js +58 -0
  547. package/dist/es/chunks/useForwardProps.js +34 -0
  548. package/dist/es/chunks/useForwardPropsEmits.js +14 -0
  549. package/dist/es/chunks/useForwardScopeId.js +25 -0
  550. package/dist/es/chunks/useHideOthers.js +132 -0
  551. package/dist/es/chunks/useId.js +23 -0
  552. package/dist/es/chunks/useKbd.js +41 -0
  553. package/dist/es/chunks/useNonce.js +9 -0
  554. package/dist/es/chunks/usePrimitiveElement.js +12 -0
  555. package/dist/es/chunks/useSize.js +49 -0
  556. package/dist/es/chunks/useTypeahead.js +64 -0
  557. package/dist/es/chunks/utils.js +58 -0
  558. package/dist/es/chunks/utils2.js +44 -0
  559. package/dist/es/chunks/utils3.js +9 -0
  560. package/dist/es/command-group.js +5 -4
  561. package/dist/es/command-input.js +8 -6
  562. package/dist/es/command-item.js +5 -3
  563. package/dist/es/command-list.js +13 -7
  564. package/dist/es/command-root.js +19 -16
  565. package/dist/es/command-separator.js +3 -3
  566. package/dist/es/config.js +1 -1
  567. package/dist/es/index.js +46 -46
  568. package/dist/es/label.js +1 -1
  569. package/dist/es/use-sidebar.js +2 -2
  570. package/dist/utils/sonner.d.ts +1 -1
  571. package/package.json +11 -11
  572. package/src/components/alert/alert.vue +8 -10
  573. package/src/components/badge/badge.vue +7 -9
  574. package/src/components/badge/status-badge.vue +10 -11
  575. package/src/components/button/button.vue +9 -10
  576. package/src/components/button/compact-button.vue +8 -9
  577. package/src/components/button/fancy-button.vue +10 -11
  578. package/src/components/button/link-button.vue +8 -9
  579. package/src/components/button/social-button.vue +5 -7
  580. package/src/components/checkbox/checkbox-card.vue +2 -2
  581. package/src/components/checkbox/checkbox-label.vue +2 -1
  582. package/src/components/checkbox/checkbox.vue +2 -2
  583. package/src/components/checkbox/stories/checkbox.stories.ts +4 -5
  584. package/src/components/collapsible/collapsible-content.vue +4 -6
  585. package/src/components/collapsible/collapsible-trigger.vue +4 -6
  586. package/src/components/collapsible/collapsible.vue +4 -6
  587. package/src/components/color-picker/alpha-slider.vue +8 -10
  588. package/src/components/color-picker/color-area.vue +8 -10
  589. package/src/components/color-picker/color-picker.vue +43 -43
  590. package/src/components/color-picker/color-swatch.vue +11 -13
  591. package/src/components/color-picker/composable/use-color-model.ts +2 -1
  592. package/src/components/color-picker/composable/use-user-select.ts +2 -1
  593. package/src/components/combobox/combobox-anchor.vue +4 -3
  594. package/src/components/combobox/combobox-empty.vue +4 -3
  595. package/src/components/combobox/combobox-group.vue +5 -4
  596. package/src/components/combobox/combobox-input.vue +6 -3
  597. package/src/components/combobox/combobox-item.vue +19 -20
  598. package/src/components/combobox/combobox-list.vue +7 -6
  599. package/src/components/combobox/combobox-root.vue +2 -1
  600. package/src/components/combobox/combobox-separator.vue +4 -3
  601. package/src/components/combobox/combobox-trigger.vue +25 -23
  602. package/src/components/combobox/combobox.vue +38 -32
  603. package/src/components/command/command-group.vue +4 -3
  604. package/src/components/command/command-input.vue +4 -2
  605. package/src/components/command/command-item.vue +4 -3
  606. package/src/components/command/command-list.vue +5 -6
  607. package/src/components/command/command-root.vue +4 -3
  608. package/src/components/command/command-separator.vue +4 -3
  609. package/src/components/content-divider/content-divider.vue +7 -9
  610. package/src/components/counter-input/counter-input.vue +2 -1
  611. package/src/components/digit-input/digit-input-group.vue +2 -1
  612. package/src/components/digit-input/digit-input-slot.vue +2 -1
  613. package/src/components/digit-input/digit-input.vue +8 -5
  614. package/src/components/digit-input/stories/digit-input.stories.ts +13 -3
  615. package/src/components/dropdown-menu/dropdown-menu-content.vue +4 -4
  616. package/src/components/dropdown-menu/dropdown-menu-group.vue +2 -1
  617. package/src/components/dropdown-menu/dropdown-menu-item.vue +2 -1
  618. package/src/components/dropdown-menu/dropdown-menu-label.vue +2 -1
  619. package/src/components/dropdown-menu/dropdown-menu-separator.vue +3 -2
  620. package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +4 -4
  621. package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +3 -2
  622. package/src/components/dropdown-menu/dropdown-menu-sub.vue +3 -3
  623. package/src/components/dropdown-menu/dropdown-menu-trigger.vue +2 -1
  624. package/src/components/dropdown-menu/dropdown-menu.vue +2 -2
  625. package/src/components/file-upload/file-upload-area.vue +26 -27
  626. package/src/components/file-upload/stories/file-upload-area.stories.ts +2 -1
  627. package/src/components/hint-text/hint-text.vue +4 -6
  628. package/src/components/label/label.vue +2 -1
  629. package/src/components/modal/modal-close.vue +2 -1
  630. package/src/components/modal/modal-content.vue +2 -2
  631. package/src/components/modal/modal-header.vue +1 -1
  632. package/src/components/modal/modal-trigger.vue +2 -2
  633. package/src/components/modal/modal.vue +2 -2
  634. package/src/components/pagination/pagination-content.vue +6 -7
  635. package/src/components/pagination/pagination-ellipsis.vue +6 -7
  636. package/src/components/pagination/pagination-first.vue +6 -7
  637. package/src/components/pagination/pagination-item.vue +6 -7
  638. package/src/components/pagination/pagination-last.vue +6 -7
  639. package/src/components/pagination/pagination-next.vue +6 -7
  640. package/src/components/pagination/pagination-previous.vue +7 -8
  641. package/src/components/pagination/pagination.vue +7 -8
  642. package/src/components/popover/popover-content.vue +19 -20
  643. package/src/components/popover/popover-trigger.vue +2 -1
  644. package/src/components/popover/popover.vue +2 -2
  645. package/src/components/popover/stories/popover.stories.ts +1 -1
  646. package/src/components/progress/progress-bar.vue +5 -3
  647. package/src/components/progress/progress-circle.vue +3 -2
  648. package/src/components/radio-group/radio-group-card.vue +2 -2
  649. package/src/components/radio-group/radio-group-item.vue +2 -1
  650. package/src/components/radio-group/radio-group-label.vue +2 -1
  651. package/src/components/radio-group/radio-group.vue +2 -1
  652. package/src/components/rich-editor/config.ts +1 -1
  653. package/src/components/rich-editor/extra-settings.vue +1 -1
  654. package/src/components/rich-editor/link-bubble.vue +1 -1
  655. package/src/components/rich-editor/rich-editor.vue +3 -2
  656. package/src/components/scroll-area/scroll-area.vue +3 -2
  657. package/src/components/scroll-area/scroll-bar.vue +2 -1
  658. package/src/components/segmented-control/segmented-control-item.vue +2 -1
  659. package/src/components/segmented-control/segmented-control.vue +2 -1
  660. package/src/components/select/select-content.vue +4 -3
  661. package/src/components/select/select-group.vue +2 -1
  662. package/src/components/select/select-item.vue +2 -1
  663. package/src/components/select/select-label.vue +2 -1
  664. package/src/components/select/select-separator.vue +2 -1
  665. package/src/components/select/select-trigger.vue +2 -1
  666. package/src/components/select/select-value.vue +2 -1
  667. package/src/components/select/select.vue +2 -1
  668. package/src/components/sheet/sheet-close.vue +4 -6
  669. package/src/components/sheet/sheet-content.vue +7 -9
  670. package/src/components/sheet/sheet-description.vue +6 -8
  671. package/src/components/sheet/sheet-footer.vue +2 -4
  672. package/src/components/sheet/sheet-header.vue +2 -4
  673. package/src/components/sheet/sheet-title.vue +6 -8
  674. package/src/components/sheet/sheet-trigger.vue +4 -6
  675. package/src/components/sheet/sheet.vue +2 -2
  676. package/src/components/sidebar/sidebar-element.vue +6 -8
  677. package/src/components/sidebar/sidebar-footer.vue +2 -4
  678. package/src/components/sidebar/sidebar-group-label.vue +2 -2
  679. package/src/components/sidebar/sidebar-header.vue +2 -4
  680. package/src/components/sidebar/sidebar-menu-action.vue +6 -8
  681. package/src/components/sidebar/sidebar-menu-badge.vue +6 -8
  682. package/src/components/sidebar/sidebar-menu-button.vue +2 -2
  683. package/src/components/sidebar/sidebar-menu-sub-button.vue +8 -10
  684. package/src/components/sidebar/sidebar-separator.vue +2 -4
  685. package/src/components/sidebar/sidebar.vue +6 -8
  686. package/src/components/slider/slider.vue +2 -1
  687. package/src/components/sonner/sonner-alert.vue +2 -1
  688. package/src/components/sonner/sonner.vue +4 -5
  689. package/src/components/switch/stories/switch.stories.ts +3 -3
  690. package/src/components/switch/switch.vue +2 -1
  691. package/src/components/tab-menu/tab-menu-content.vue +2 -1
  692. package/src/components/tab-menu/tab-menu-item.vue +2 -1
  693. package/src/components/tab-menu/tab-menu-list.vue +2 -1
  694. package/src/components/tab-menu/tab-menu.vue +2 -2
  695. package/src/components/table/table-body.vue +2 -4
  696. package/src/components/table/table-caption.vue +2 -4
  697. package/src/components/table/table-cell.vue +5 -7
  698. package/src/components/table/table-empty.vue +5 -7
  699. package/src/components/table/table-footer.vue +2 -4
  700. package/src/components/table/table-head.vue +5 -7
  701. package/src/components/table/table-header.vue +2 -4
  702. package/src/components/table/table-row.vue +5 -7
  703. package/src/components/table/table.vue +2 -4
  704. package/src/components/tag/tag.vue +10 -11
  705. package/src/components/text-input/text-input-button.vue +3 -2
  706. package/src/components/text-input/text-input.vue +9 -10
  707. package/src/components/textarea/textarea.vue +8 -10
  708. package/src/components/tooltip/tooltip-content.vue +14 -15
  709. package/src/components/tooltip/tooltip-provider.vue +4 -5
  710. package/src/components/tooltip/tooltip-root.vue +4 -5
  711. package/src/components/tooltip/tooltip-trigger.vue +4 -5
  712. package/src/components/tooltip/tooltip.vue +12 -14
  713. package/src/composables/use-delegated-props.ts +2 -1
  714. package/src/composables/use-sidebar.ts +1 -1
  715. package/src/utils/sonner.ts +2 -1
@@ -0,0 +1,2134 @@
1
+ const require_chunk = require("./chunk.cjs");
2
+ const require_createContext = require("./createContext.cjs");
3
+ const require_Primitive = require("./Primitive.cjs");
4
+ const require_useDirection = require("./useDirection.cjs");
5
+ const require_useForwardExpose = require("./useForwardExpose.cjs");
6
+ const require_useSize = require("./useSize.cjs");
7
+ const require_PopperRoot = require("./PopperRoot.cjs");
8
+ let vue = require("vue");
9
+ vue = require_chunk.__toESM(vue, 1);
10
+ //#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/utils.js
11
+ function isNotNull(value) {
12
+ return value !== null;
13
+ }
14
+ function transformOrigin(options) {
15
+ return {
16
+ name: "transformOrigin",
17
+ options,
18
+ fn(data) {
19
+ const { placement, rects, middlewareData } = data;
20
+ const isArrowHidden = middlewareData.arrow?.centerOffset !== 0;
21
+ const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
22
+ const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
23
+ const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
24
+ const noArrowAlignX = {
25
+ start: options.dir === "rtl" ? "100%" : "0%",
26
+ center: "50%",
27
+ end: options.dir === "rtl" ? "0%" : "100%"
28
+ }[placedAlign];
29
+ const noArrowAlignY = {
30
+ start: "0%",
31
+ center: "50%",
32
+ end: "100%"
33
+ }[placedAlign];
34
+ const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
35
+ const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
36
+ let x = "";
37
+ let y = "";
38
+ if (placedSide === "bottom") {
39
+ x = isArrowHidden ? noArrowAlignX : `${arrowXCenter}px`;
40
+ y = `${-arrowHeight}px`;
41
+ } else if (placedSide === "top") {
42
+ x = isArrowHidden ? noArrowAlignX : `${arrowXCenter}px`;
43
+ y = `${rects.floating.height + arrowHeight}px`;
44
+ } else if (placedSide === "right") {
45
+ x = `${-arrowHeight}px`;
46
+ y = isArrowHidden ? noArrowAlignY : `${arrowYCenter}px`;
47
+ } else if (placedSide === "left") {
48
+ x = `${rects.floating.width + arrowHeight}px`;
49
+ y = isArrowHidden ? noArrowAlignY : `${arrowYCenter}px`;
50
+ }
51
+ return { data: {
52
+ x,
53
+ y
54
+ } };
55
+ }
56
+ };
57
+ }
58
+ function getSideAndAlignFromPlacement(placement) {
59
+ const [side, align = "center"] = placement.split("-");
60
+ return [side, align];
61
+ }
62
+ //#endregion
63
+ //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
64
+ /**
65
+ * Custom positioning reference element.
66
+ * @see https://floating-ui.com/docs/virtual-elements
67
+ */
68
+ var sides = [
69
+ "top",
70
+ "right",
71
+ "bottom",
72
+ "left"
73
+ ];
74
+ var alignments = ["start", "end"];
75
+ var placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
76
+ var min = Math.min;
77
+ var max = Math.max;
78
+ var round = Math.round;
79
+ var floor = Math.floor;
80
+ var createCoords = (v) => ({
81
+ x: v,
82
+ y: v
83
+ });
84
+ var oppositeSideMap = {
85
+ left: "right",
86
+ right: "left",
87
+ bottom: "top",
88
+ top: "bottom"
89
+ };
90
+ var oppositeAlignmentMap = {
91
+ start: "end",
92
+ end: "start"
93
+ };
94
+ function clamp(start, value, end) {
95
+ return max(start, min(value, end));
96
+ }
97
+ function evaluate(value, param) {
98
+ return typeof value === "function" ? value(param) : value;
99
+ }
100
+ function getSide(placement) {
101
+ return placement.split("-")[0];
102
+ }
103
+ function getAlignment(placement) {
104
+ return placement.split("-")[1];
105
+ }
106
+ function getOppositeAxis(axis) {
107
+ return axis === "x" ? "y" : "x";
108
+ }
109
+ function getAxisLength(axis) {
110
+ return axis === "y" ? "height" : "width";
111
+ }
112
+ function getSideAxis(placement) {
113
+ return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
114
+ }
115
+ function getAlignmentAxis(placement) {
116
+ return getOppositeAxis(getSideAxis(placement));
117
+ }
118
+ function getAlignmentSides(placement, rects, rtl) {
119
+ if (rtl === void 0) rtl = false;
120
+ const alignment = getAlignment(placement);
121
+ const alignmentAxis = getAlignmentAxis(placement);
122
+ const length = getAxisLength(alignmentAxis);
123
+ let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
124
+ if (rects.reference[length] > rects.floating[length]) mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
125
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
126
+ }
127
+ function getExpandedPlacements(placement) {
128
+ const oppositePlacement = getOppositePlacement(placement);
129
+ return [
130
+ getOppositeAlignmentPlacement(placement),
131
+ oppositePlacement,
132
+ getOppositeAlignmentPlacement(oppositePlacement)
133
+ ];
134
+ }
135
+ function getOppositeAlignmentPlacement(placement) {
136
+ return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
137
+ }
138
+ function getSideList(side, isStart, rtl) {
139
+ const lr = ["left", "right"];
140
+ const rl = ["right", "left"];
141
+ const tb = ["top", "bottom"];
142
+ const bt = ["bottom", "top"];
143
+ switch (side) {
144
+ case "top":
145
+ case "bottom":
146
+ if (rtl) return isStart ? rl : lr;
147
+ return isStart ? lr : rl;
148
+ case "left":
149
+ case "right": return isStart ? tb : bt;
150
+ default: return [];
151
+ }
152
+ }
153
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
154
+ const alignment = getAlignment(placement);
155
+ let list = getSideList(getSide(placement), direction === "start", rtl);
156
+ if (alignment) {
157
+ list = list.map((side) => side + "-" + alignment);
158
+ if (flipAlignment) list = list.concat(list.map(getOppositeAlignmentPlacement));
159
+ }
160
+ return list;
161
+ }
162
+ function getOppositePlacement(placement) {
163
+ return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
164
+ }
165
+ function expandPaddingObject(padding) {
166
+ return {
167
+ top: 0,
168
+ right: 0,
169
+ bottom: 0,
170
+ left: 0,
171
+ ...padding
172
+ };
173
+ }
174
+ function getPaddingObject(padding) {
175
+ return typeof padding !== "number" ? expandPaddingObject(padding) : {
176
+ top: padding,
177
+ right: padding,
178
+ bottom: padding,
179
+ left: padding
180
+ };
181
+ }
182
+ function rectToClientRect(rect) {
183
+ const { x, y, width, height } = rect;
184
+ return {
185
+ width,
186
+ height,
187
+ top: y,
188
+ left: x,
189
+ right: x + width,
190
+ bottom: y + height,
191
+ x,
192
+ y
193
+ };
194
+ }
195
+ //#endregion
196
+ //#region ../../node_modules/.pnpm/@floating-ui+core@1.6.9/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
197
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
198
+ let { reference, floating } = _ref;
199
+ const sideAxis = getSideAxis(placement);
200
+ const alignmentAxis = getAlignmentAxis(placement);
201
+ const alignLength = getAxisLength(alignmentAxis);
202
+ const side = getSide(placement);
203
+ const isVertical = sideAxis === "y";
204
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
205
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
206
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
207
+ let coords;
208
+ switch (side) {
209
+ case "top":
210
+ coords = {
211
+ x: commonX,
212
+ y: reference.y - floating.height
213
+ };
214
+ break;
215
+ case "bottom":
216
+ coords = {
217
+ x: commonX,
218
+ y: reference.y + reference.height
219
+ };
220
+ break;
221
+ case "right":
222
+ coords = {
223
+ x: reference.x + reference.width,
224
+ y: commonY
225
+ };
226
+ break;
227
+ case "left":
228
+ coords = {
229
+ x: reference.x - floating.width,
230
+ y: commonY
231
+ };
232
+ break;
233
+ default: coords = {
234
+ x: reference.x,
235
+ y: reference.y
236
+ };
237
+ }
238
+ switch (getAlignment(placement)) {
239
+ case "start":
240
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
241
+ break;
242
+ case "end":
243
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
244
+ break;
245
+ }
246
+ return coords;
247
+ }
248
+ /**
249
+ * Computes the `x` and `y` coordinates that will place the floating element
250
+ * next to a given reference element.
251
+ *
252
+ * This export does not have any `platform` interface logic. You will need to
253
+ * write one for the platform you are using Floating UI with.
254
+ */
255
+ var computePosition$1 = async (reference, floating, config) => {
256
+ const { placement = "bottom", strategy = "absolute", middleware = [], platform } = config;
257
+ const validMiddleware = middleware.filter(Boolean);
258
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
259
+ let rects = await platform.getElementRects({
260
+ reference,
261
+ floating,
262
+ strategy
263
+ });
264
+ let { x, y } = computeCoordsFromPlacement(rects, placement, rtl);
265
+ let statefulPlacement = placement;
266
+ let middlewareData = {};
267
+ let resetCount = 0;
268
+ for (let i = 0; i < validMiddleware.length; i++) {
269
+ const { name, fn } = validMiddleware[i];
270
+ const { x: nextX, y: nextY, data, reset } = await fn({
271
+ x,
272
+ y,
273
+ initialPlacement: placement,
274
+ placement: statefulPlacement,
275
+ strategy,
276
+ middlewareData,
277
+ rects,
278
+ platform,
279
+ elements: {
280
+ reference,
281
+ floating
282
+ }
283
+ });
284
+ x = nextX != null ? nextX : x;
285
+ y = nextY != null ? nextY : y;
286
+ middlewareData = {
287
+ ...middlewareData,
288
+ [name]: {
289
+ ...middlewareData[name],
290
+ ...data
291
+ }
292
+ };
293
+ if (reset && resetCount <= 50) {
294
+ resetCount++;
295
+ if (typeof reset === "object") {
296
+ if (reset.placement) statefulPlacement = reset.placement;
297
+ if (reset.rects) rects = reset.rects === true ? await platform.getElementRects({
298
+ reference,
299
+ floating,
300
+ strategy
301
+ }) : reset.rects;
302
+ ({x, y} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
303
+ }
304
+ i = -1;
305
+ }
306
+ }
307
+ return {
308
+ x,
309
+ y,
310
+ placement: statefulPlacement,
311
+ strategy,
312
+ middlewareData
313
+ };
314
+ };
315
+ /**
316
+ * Resolves with an object of overflow side offsets that determine how much the
317
+ * element is overflowing a given clipping boundary on each side.
318
+ * - positive = overflowing the boundary by that number of pixels
319
+ * - negative = how many pixels left before it will overflow
320
+ * - 0 = lies flush with the boundary
321
+ * @see https://floating-ui.com/docs/detectOverflow
322
+ */
323
+ async function detectOverflow(state, options) {
324
+ var _await$platform$isEle;
325
+ if (options === void 0) options = {};
326
+ const { x, y, platform, rects, elements, strategy } = state;
327
+ const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
328
+ const paddingObject = getPaddingObject(padding);
329
+ const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
330
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
331
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
332
+ boundary,
333
+ rootBoundary,
334
+ strategy
335
+ }));
336
+ const rect = elementContext === "floating" ? {
337
+ x,
338
+ y,
339
+ width: rects.floating.width,
340
+ height: rects.floating.height
341
+ } : rects.reference;
342
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
343
+ const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) ? await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
344
+ x: 1,
345
+ y: 1
346
+ } : {
347
+ x: 1,
348
+ y: 1
349
+ };
350
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
351
+ elements,
352
+ rect,
353
+ offsetParent,
354
+ strategy
355
+ }) : rect);
356
+ return {
357
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
358
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
359
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
360
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
361
+ };
362
+ }
363
+ /**
364
+ * Provides data to position an inner element of the floating element so that it
365
+ * appears centered to the reference element.
366
+ * @see https://floating-ui.com/docs/arrow
367
+ */
368
+ var arrow$2 = (options) => ({
369
+ name: "arrow",
370
+ options,
371
+ async fn(state) {
372
+ const { x, y, placement, rects, platform, elements, middlewareData } = state;
373
+ const { element, padding = 0 } = evaluate(options, state) || {};
374
+ if (element == null) return {};
375
+ const paddingObject = getPaddingObject(padding);
376
+ const coords = {
377
+ x,
378
+ y
379
+ };
380
+ const axis = getAlignmentAxis(placement);
381
+ const length = getAxisLength(axis);
382
+ const arrowDimensions = await platform.getDimensions(element);
383
+ const isYAxis = axis === "y";
384
+ const minProp = isYAxis ? "top" : "left";
385
+ const maxProp = isYAxis ? "bottom" : "right";
386
+ const clientProp = isYAxis ? "clientHeight" : "clientWidth";
387
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
388
+ const startDiff = coords[axis] - rects.reference[axis];
389
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
390
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
391
+ if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
392
+ const centerToReference = endDiff / 2 - startDiff / 2;
393
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
394
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
395
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
396
+ const min$1 = minPadding;
397
+ const max = clientSize - arrowDimensions[length] - maxPadding;
398
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
399
+ const offset = clamp(min$1, center, max);
400
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
401
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
402
+ return {
403
+ [axis]: coords[axis] + alignmentOffset,
404
+ data: {
405
+ [axis]: offset,
406
+ centerOffset: center - offset - alignmentOffset,
407
+ ...shouldAddOffset && { alignmentOffset }
408
+ },
409
+ reset: shouldAddOffset
410
+ };
411
+ }
412
+ });
413
+ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
414
+ return (alignment ? [...allowedPlacements.filter((placement) => getAlignment(placement) === alignment), ...allowedPlacements.filter((placement) => getAlignment(placement) !== alignment)] : allowedPlacements.filter((placement) => getSide(placement) === placement)).filter((placement) => {
415
+ if (alignment) return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
416
+ return true;
417
+ });
418
+ }
419
+ /**
420
+ * Optimizes the visibility of the floating element by choosing the placement
421
+ * that has the most space available automatically, without needing to specify a
422
+ * preferred placement. Alternative to `flip`.
423
+ * @see https://floating-ui.com/docs/autoPlacement
424
+ */
425
+ var autoPlacement$1 = function(options) {
426
+ if (options === void 0) options = {};
427
+ return {
428
+ name: "autoPlacement",
429
+ options,
430
+ async fn(state) {
431
+ var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
432
+ const { rects, middlewareData, placement, platform, elements } = state;
433
+ const { crossAxis = false, alignment, allowedPlacements = placements, autoAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
434
+ const placements$1 = alignment !== void 0 || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
435
+ const overflow = await detectOverflow(state, detectOverflowOptions);
436
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
437
+ const currentPlacement = placements$1[currentIndex];
438
+ if (currentPlacement == null) return {};
439
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
440
+ if (placement !== currentPlacement) return { reset: { placement: placements$1[0] } };
441
+ const currentOverflows = [
442
+ overflow[getSide(currentPlacement)],
443
+ overflow[alignmentSides[0]],
444
+ overflow[alignmentSides[1]]
445
+ ];
446
+ const allOverflows = [...((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || [], {
447
+ placement: currentPlacement,
448
+ overflows: currentOverflows
449
+ }];
450
+ const nextPlacement = placements$1[currentIndex + 1];
451
+ if (nextPlacement) return {
452
+ data: {
453
+ index: currentIndex + 1,
454
+ overflows: allOverflows
455
+ },
456
+ reset: { placement: nextPlacement }
457
+ };
458
+ const placementsSortedByMostSpace = allOverflows.map((d) => {
459
+ const alignment = getAlignment(d.placement);
460
+ return [
461
+ d.placement,
462
+ alignment && crossAxis ? d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) : d.overflows[0],
463
+ d.overflows
464
+ ];
465
+ }).sort((a, b) => a[1] - b[1]);
466
+ const resetPlacement = ((_placementsThatFitOnE = placementsSortedByMostSpace.filter((d) => d[2].slice(0, getAlignment(d[0]) ? 2 : 3).every((v) => v <= 0))[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
467
+ if (resetPlacement !== placement) return {
468
+ data: {
469
+ index: currentIndex + 1,
470
+ overflows: allOverflows
471
+ },
472
+ reset: { placement: resetPlacement }
473
+ };
474
+ return {};
475
+ }
476
+ };
477
+ };
478
+ /**
479
+ * Optimizes the visibility of the floating element by flipping the `placement`
480
+ * in order to keep it in view when the preferred placement(s) will overflow the
481
+ * clipping boundary. Alternative to `autoPlacement`.
482
+ * @see https://floating-ui.com/docs/flip
483
+ */
484
+ var flip$1 = function(options) {
485
+ if (options === void 0) options = {};
486
+ return {
487
+ name: "flip",
488
+ options,
489
+ async fn(state) {
490
+ var _middlewareData$arrow, _middlewareData$flip;
491
+ const { placement, middlewareData, rects, initialPlacement, platform, elements } = state;
492
+ const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true, fallbackPlacements: specifiedFallbackPlacements, fallbackStrategy = "bestFit", fallbackAxisSideDirection = "none", flipAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
493
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
494
+ const side = getSide(placement);
495
+ const initialSideAxis = getSideAxis(initialPlacement);
496
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
497
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
498
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
499
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
500
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
501
+ const placements = [initialPlacement, ...fallbackPlacements];
502
+ const overflow = await detectOverflow(state, detectOverflowOptions);
503
+ const overflows = [];
504
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
505
+ if (checkMainAxis) overflows.push(overflow[side]);
506
+ if (checkCrossAxis) {
507
+ const sides = getAlignmentSides(placement, rects, rtl);
508
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
509
+ }
510
+ overflowsData = [...overflowsData, {
511
+ placement,
512
+ overflows
513
+ }];
514
+ if (!overflows.every((side) => side <= 0)) {
515
+ var _middlewareData$flip2, _overflowsData$filter;
516
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
517
+ const nextPlacement = placements[nextIndex];
518
+ if (nextPlacement) return {
519
+ data: {
520
+ index: nextIndex,
521
+ overflows: overflowsData
522
+ },
523
+ reset: { placement: nextPlacement }
524
+ };
525
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
526
+ if (!resetPlacement) switch (fallbackStrategy) {
527
+ case "bestFit": {
528
+ var _overflowsData$filter2;
529
+ const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
530
+ if (hasFallbackAxisSideDirection) {
531
+ const currentSideAxis = getSideAxis(d.placement);
532
+ return currentSideAxis === initialSideAxis || currentSideAxis === "y";
533
+ }
534
+ return true;
535
+ }).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
536
+ if (placement) resetPlacement = placement;
537
+ break;
538
+ }
539
+ case "initialPlacement":
540
+ resetPlacement = initialPlacement;
541
+ break;
542
+ }
543
+ if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
544
+ }
545
+ return {};
546
+ }
547
+ };
548
+ };
549
+ function getSideOffsets(overflow, rect) {
550
+ return {
551
+ top: overflow.top - rect.height,
552
+ right: overflow.right - rect.width,
553
+ bottom: overflow.bottom - rect.height,
554
+ left: overflow.left - rect.width
555
+ };
556
+ }
557
+ function isAnySideFullyClipped(overflow) {
558
+ return sides.some((side) => overflow[side] >= 0);
559
+ }
560
+ /**
561
+ * Provides data to hide the floating element in applicable situations, such as
562
+ * when it is not in the same clipping context as the reference element.
563
+ * @see https://floating-ui.com/docs/hide
564
+ */
565
+ var hide$1 = function(options) {
566
+ if (options === void 0) options = {};
567
+ return {
568
+ name: "hide",
569
+ options,
570
+ async fn(state) {
571
+ const { rects } = state;
572
+ const { strategy = "referenceHidden", ...detectOverflowOptions } = evaluate(options, state);
573
+ switch (strategy) {
574
+ case "referenceHidden": {
575
+ const offsets = getSideOffsets(await detectOverflow(state, {
576
+ ...detectOverflowOptions,
577
+ elementContext: "reference"
578
+ }), rects.reference);
579
+ return { data: {
580
+ referenceHiddenOffsets: offsets,
581
+ referenceHidden: isAnySideFullyClipped(offsets)
582
+ } };
583
+ }
584
+ case "escaped": {
585
+ const offsets = getSideOffsets(await detectOverflow(state, {
586
+ ...detectOverflowOptions,
587
+ altBoundary: true
588
+ }), rects.floating);
589
+ return { data: {
590
+ escapedOffsets: offsets,
591
+ escaped: isAnySideFullyClipped(offsets)
592
+ } };
593
+ }
594
+ default: return {};
595
+ }
596
+ }
597
+ };
598
+ };
599
+ function getBoundingRect(rects) {
600
+ const minX = min(...rects.map((rect) => rect.left));
601
+ const minY = min(...rects.map((rect) => rect.top));
602
+ const maxX = max(...rects.map((rect) => rect.right));
603
+ const maxY = max(...rects.map((rect) => rect.bottom));
604
+ return {
605
+ x: minX,
606
+ y: minY,
607
+ width: maxX - minX,
608
+ height: maxY - minY
609
+ };
610
+ }
611
+ function getRectsByLine(rects) {
612
+ const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
613
+ const groups = [];
614
+ let prevRect = null;
615
+ for (let i = 0; i < sortedRects.length; i++) {
616
+ const rect = sortedRects[i];
617
+ if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) groups.push([rect]);
618
+ else groups[groups.length - 1].push(rect);
619
+ prevRect = rect;
620
+ }
621
+ return groups.map((rect) => rectToClientRect(getBoundingRect(rect)));
622
+ }
623
+ /**
624
+ * Provides improved positioning for inline reference elements that can span
625
+ * over multiple lines, such as hyperlinks or range selections.
626
+ * @see https://floating-ui.com/docs/inline
627
+ */
628
+ var inline$1 = function(options) {
629
+ if (options === void 0) options = {};
630
+ return {
631
+ name: "inline",
632
+ options,
633
+ async fn(state) {
634
+ const { placement, elements, rects, platform, strategy } = state;
635
+ const { padding = 2, x, y } = evaluate(options, state);
636
+ const nativeClientRects = Array.from(await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference)) || []);
637
+ const clientRects = getRectsByLine(nativeClientRects);
638
+ const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
639
+ const paddingObject = getPaddingObject(padding);
640
+ function getBoundingClientRect() {
641
+ if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) return clientRects.find((rect) => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
642
+ if (clientRects.length >= 2) {
643
+ if (getSideAxis(placement) === "y") {
644
+ const firstRect = clientRects[0];
645
+ const lastRect = clientRects[clientRects.length - 1];
646
+ const isTop = getSide(placement) === "top";
647
+ const top = firstRect.top;
648
+ const bottom = lastRect.bottom;
649
+ const left = isTop ? firstRect.left : lastRect.left;
650
+ const right = isTop ? firstRect.right : lastRect.right;
651
+ return {
652
+ top,
653
+ bottom,
654
+ left,
655
+ right,
656
+ width: right - left,
657
+ height: bottom - top,
658
+ x: left,
659
+ y: top
660
+ };
661
+ }
662
+ const isLeftSide = getSide(placement) === "left";
663
+ const maxRight = max(...clientRects.map((rect) => rect.right));
664
+ const minLeft = min(...clientRects.map((rect) => rect.left));
665
+ const measureRects = clientRects.filter((rect) => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
666
+ const top = measureRects[0].top;
667
+ const bottom = measureRects[measureRects.length - 1].bottom;
668
+ const left = minLeft;
669
+ const right = maxRight;
670
+ return {
671
+ top,
672
+ bottom,
673
+ left,
674
+ right,
675
+ width: right - left,
676
+ height: bottom - top,
677
+ x: left,
678
+ y: top
679
+ };
680
+ }
681
+ return fallback;
682
+ }
683
+ const resetRects = await platform.getElementRects({
684
+ reference: { getBoundingClientRect },
685
+ floating: elements.floating,
686
+ strategy
687
+ });
688
+ if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) return { reset: { rects: resetRects } };
689
+ return {};
690
+ }
691
+ };
692
+ };
693
+ async function convertValueToCoords(state, options) {
694
+ const { placement, platform, elements } = state;
695
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
696
+ const side = getSide(placement);
697
+ const alignment = getAlignment(placement);
698
+ const isVertical = getSideAxis(placement) === "y";
699
+ const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
700
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
701
+ const rawValue = evaluate(options, state);
702
+ let { mainAxis, crossAxis, alignmentAxis } = typeof rawValue === "number" ? {
703
+ mainAxis: rawValue,
704
+ crossAxis: 0,
705
+ alignmentAxis: null
706
+ } : {
707
+ mainAxis: rawValue.mainAxis || 0,
708
+ crossAxis: rawValue.crossAxis || 0,
709
+ alignmentAxis: rawValue.alignmentAxis
710
+ };
711
+ if (alignment && typeof alignmentAxis === "number") crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
712
+ return isVertical ? {
713
+ x: crossAxis * crossAxisMulti,
714
+ y: mainAxis * mainAxisMulti
715
+ } : {
716
+ x: mainAxis * mainAxisMulti,
717
+ y: crossAxis * crossAxisMulti
718
+ };
719
+ }
720
+ /**
721
+ * Modifies the placement by translating the floating element along the
722
+ * specified axes.
723
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
724
+ * object may be passed.
725
+ * @see https://floating-ui.com/docs/offset
726
+ */
727
+ var offset$1 = function(options) {
728
+ if (options === void 0) options = 0;
729
+ return {
730
+ name: "offset",
731
+ options,
732
+ async fn(state) {
733
+ var _middlewareData$offse, _middlewareData$arrow;
734
+ const { x, y, placement, middlewareData } = state;
735
+ const diffCoords = await convertValueToCoords(state, options);
736
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
737
+ return {
738
+ x: x + diffCoords.x,
739
+ y: y + diffCoords.y,
740
+ data: {
741
+ ...diffCoords,
742
+ placement
743
+ }
744
+ };
745
+ }
746
+ };
747
+ };
748
+ /**
749
+ * Optimizes the visibility of the floating element by shifting it in order to
750
+ * keep it in view when it will overflow the clipping boundary.
751
+ * @see https://floating-ui.com/docs/shift
752
+ */
753
+ var shift$1 = function(options) {
754
+ if (options === void 0) options = {};
755
+ return {
756
+ name: "shift",
757
+ options,
758
+ async fn(state) {
759
+ const { x, y, placement } = state;
760
+ const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
761
+ let { x, y } = _ref;
762
+ return {
763
+ x,
764
+ y
765
+ };
766
+ } }, ...detectOverflowOptions } = evaluate(options, state);
767
+ const coords = {
768
+ x,
769
+ y
770
+ };
771
+ const overflow = await detectOverflow(state, detectOverflowOptions);
772
+ const crossAxis = getSideAxis(getSide(placement));
773
+ const mainAxis = getOppositeAxis(crossAxis);
774
+ let mainAxisCoord = coords[mainAxis];
775
+ let crossAxisCoord = coords[crossAxis];
776
+ if (checkMainAxis) {
777
+ const minSide = mainAxis === "y" ? "top" : "left";
778
+ const maxSide = mainAxis === "y" ? "bottom" : "right";
779
+ const min = mainAxisCoord + overflow[minSide];
780
+ const max = mainAxisCoord - overflow[maxSide];
781
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
782
+ }
783
+ if (checkCrossAxis) {
784
+ const minSide = crossAxis === "y" ? "top" : "left";
785
+ const maxSide = crossAxis === "y" ? "bottom" : "right";
786
+ const min = crossAxisCoord + overflow[minSide];
787
+ const max = crossAxisCoord - overflow[maxSide];
788
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
789
+ }
790
+ const limitedCoords = limiter.fn({
791
+ ...state,
792
+ [mainAxis]: mainAxisCoord,
793
+ [crossAxis]: crossAxisCoord
794
+ });
795
+ return {
796
+ ...limitedCoords,
797
+ data: {
798
+ x: limitedCoords.x - x,
799
+ y: limitedCoords.y - y,
800
+ enabled: {
801
+ [mainAxis]: checkMainAxis,
802
+ [crossAxis]: checkCrossAxis
803
+ }
804
+ }
805
+ };
806
+ }
807
+ };
808
+ };
809
+ /**
810
+ * Built-in `limiter` that will stop `shift()` at a certain point.
811
+ */
812
+ var limitShift$1 = function(options) {
813
+ if (options === void 0) options = {};
814
+ return {
815
+ options,
816
+ fn(state) {
817
+ const { x, y, placement, rects, middlewareData } = state;
818
+ const { offset = 0, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true } = evaluate(options, state);
819
+ const coords = {
820
+ x,
821
+ y
822
+ };
823
+ const crossAxis = getSideAxis(placement);
824
+ const mainAxis = getOppositeAxis(crossAxis);
825
+ let mainAxisCoord = coords[mainAxis];
826
+ let crossAxisCoord = coords[crossAxis];
827
+ const rawOffset = evaluate(offset, state);
828
+ const computedOffset = typeof rawOffset === "number" ? {
829
+ mainAxis: rawOffset,
830
+ crossAxis: 0
831
+ } : {
832
+ mainAxis: 0,
833
+ crossAxis: 0,
834
+ ...rawOffset
835
+ };
836
+ if (checkMainAxis) {
837
+ const len = mainAxis === "y" ? "height" : "width";
838
+ const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
839
+ const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
840
+ if (mainAxisCoord < limitMin) mainAxisCoord = limitMin;
841
+ else if (mainAxisCoord > limitMax) mainAxisCoord = limitMax;
842
+ }
843
+ if (checkCrossAxis) {
844
+ var _middlewareData$offse, _middlewareData$offse2;
845
+ const len = mainAxis === "y" ? "width" : "height";
846
+ const isOriginSide = ["top", "left"].includes(getSide(placement));
847
+ const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
848
+ const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
849
+ if (crossAxisCoord < limitMin) crossAxisCoord = limitMin;
850
+ else if (crossAxisCoord > limitMax) crossAxisCoord = limitMax;
851
+ }
852
+ return {
853
+ [mainAxis]: mainAxisCoord,
854
+ [crossAxis]: crossAxisCoord
855
+ };
856
+ }
857
+ };
858
+ };
859
+ /**
860
+ * Provides data that allows you to change the size of the floating element —
861
+ * for instance, prevent it from overflowing the clipping boundary or match the
862
+ * width of the reference element.
863
+ * @see https://floating-ui.com/docs/size
864
+ */
865
+ var size$1 = function(options) {
866
+ if (options === void 0) options = {};
867
+ return {
868
+ name: "size",
869
+ options,
870
+ async fn(state) {
871
+ var _state$middlewareData, _state$middlewareData2;
872
+ const { placement, rects, platform, elements } = state;
873
+ const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
874
+ const overflow = await detectOverflow(state, detectOverflowOptions);
875
+ const side = getSide(placement);
876
+ const alignment = getAlignment(placement);
877
+ const isYAxis = getSideAxis(placement) === "y";
878
+ const { width, height } = rects.floating;
879
+ let heightSide;
880
+ let widthSide;
881
+ if (side === "top" || side === "bottom") {
882
+ heightSide = side;
883
+ widthSide = alignment === (await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
884
+ } else {
885
+ widthSide = side;
886
+ heightSide = alignment === "end" ? "top" : "bottom";
887
+ }
888
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
889
+ const maximumClippingWidth = width - overflow.left - overflow.right;
890
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
891
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
892
+ const noShift = !state.middlewareData.shift;
893
+ let availableHeight = overflowAvailableHeight;
894
+ let availableWidth = overflowAvailableWidth;
895
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) availableWidth = maximumClippingWidth;
896
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) availableHeight = maximumClippingHeight;
897
+ if (noShift && !alignment) {
898
+ const xMin = max(overflow.left, 0);
899
+ const xMax = max(overflow.right, 0);
900
+ const yMin = max(overflow.top, 0);
901
+ const yMax = max(overflow.bottom, 0);
902
+ if (isYAxis) availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
903
+ else availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
904
+ }
905
+ await apply({
906
+ ...state,
907
+ availableWidth,
908
+ availableHeight
909
+ });
910
+ const nextDimensions = await platform.getDimensions(elements.floating);
911
+ if (width !== nextDimensions.width || height !== nextDimensions.height) return { reset: { rects: true } };
912
+ return {};
913
+ }
914
+ };
915
+ };
916
+ //#endregion
917
+ //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
918
+ function hasWindow() {
919
+ return typeof window !== "undefined";
920
+ }
921
+ function getNodeName(node) {
922
+ if (isNode(node)) return (node.nodeName || "").toLowerCase();
923
+ return "#document";
924
+ }
925
+ function getWindow(node) {
926
+ var _node$ownerDocument;
927
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
928
+ }
929
+ function getDocumentElement(node) {
930
+ var _ref;
931
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
932
+ }
933
+ function isNode(value) {
934
+ if (!hasWindow()) return false;
935
+ return value instanceof Node || value instanceof getWindow(value).Node;
936
+ }
937
+ function isElement(value) {
938
+ if (!hasWindow()) return false;
939
+ return value instanceof Element || value instanceof getWindow(value).Element;
940
+ }
941
+ function isHTMLElement(value) {
942
+ if (!hasWindow()) return false;
943
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
944
+ }
945
+ function isShadowRoot(value) {
946
+ if (!hasWindow() || typeof ShadowRoot === "undefined") return false;
947
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
948
+ }
949
+ function isOverflowElement(element) {
950
+ const { overflow, overflowX, overflowY, display } = getComputedStyle(element);
951
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
952
+ }
953
+ function isTableElement(element) {
954
+ return [
955
+ "table",
956
+ "td",
957
+ "th"
958
+ ].includes(getNodeName(element));
959
+ }
960
+ function isTopLayer(element) {
961
+ return [":popover-open", ":modal"].some((selector) => {
962
+ try {
963
+ return element.matches(selector);
964
+ } catch (e) {
965
+ return false;
966
+ }
967
+ });
968
+ }
969
+ function isContainingBlock(elementOrCss) {
970
+ const webkit = isWebKit();
971
+ const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
972
+ return [
973
+ "transform",
974
+ "translate",
975
+ "scale",
976
+ "rotate",
977
+ "perspective"
978
+ ].some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || [
979
+ "transform",
980
+ "translate",
981
+ "scale",
982
+ "rotate",
983
+ "perspective",
984
+ "filter"
985
+ ].some((value) => (css.willChange || "").includes(value)) || [
986
+ "paint",
987
+ "layout",
988
+ "strict",
989
+ "content"
990
+ ].some((value) => (css.contain || "").includes(value));
991
+ }
992
+ function getContainingBlock(element) {
993
+ let currentNode = getParentNode(element);
994
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
995
+ if (isContainingBlock(currentNode)) return currentNode;
996
+ else if (isTopLayer(currentNode)) return null;
997
+ currentNode = getParentNode(currentNode);
998
+ }
999
+ return null;
1000
+ }
1001
+ function isWebKit() {
1002
+ if (typeof CSS === "undefined" || !CSS.supports) return false;
1003
+ return CSS.supports("-webkit-backdrop-filter", "none");
1004
+ }
1005
+ function isLastTraversableNode(node) {
1006
+ return [
1007
+ "html",
1008
+ "body",
1009
+ "#document"
1010
+ ].includes(getNodeName(node));
1011
+ }
1012
+ function getComputedStyle(element) {
1013
+ return getWindow(element).getComputedStyle(element);
1014
+ }
1015
+ function getNodeScroll(element) {
1016
+ if (isElement(element)) return {
1017
+ scrollLeft: element.scrollLeft,
1018
+ scrollTop: element.scrollTop
1019
+ };
1020
+ return {
1021
+ scrollLeft: element.scrollX,
1022
+ scrollTop: element.scrollY
1023
+ };
1024
+ }
1025
+ function getParentNode(node) {
1026
+ if (getNodeName(node) === "html") return node;
1027
+ const result = node.assignedSlot || node.parentNode || isShadowRoot(node) && node.host || getDocumentElement(node);
1028
+ return isShadowRoot(result) ? result.host : result;
1029
+ }
1030
+ function getNearestOverflowAncestor(node) {
1031
+ const parentNode = getParentNode(node);
1032
+ if (isLastTraversableNode(parentNode)) return node.ownerDocument ? node.ownerDocument.body : node.body;
1033
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) return parentNode;
1034
+ return getNearestOverflowAncestor(parentNode);
1035
+ }
1036
+ function getOverflowAncestors(node, list, traverseIframes) {
1037
+ var _node$ownerDocument2;
1038
+ if (list === void 0) list = [];
1039
+ if (traverseIframes === void 0) traverseIframes = true;
1040
+ const scrollableAncestor = getNearestOverflowAncestor(node);
1041
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1042
+ const win = getWindow(scrollableAncestor);
1043
+ if (isBody) {
1044
+ const frameElement = getFrameElement(win);
1045
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
1046
+ }
1047
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1048
+ }
1049
+ function getFrameElement(win) {
1050
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
1051
+ }
1052
+ //#endregion
1053
+ //#region ../../node_modules/.pnpm/@floating-ui+dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
1054
+ function getCssDimensions(element) {
1055
+ const css = getComputedStyle(element);
1056
+ let width = parseFloat(css.width) || 0;
1057
+ let height = parseFloat(css.height) || 0;
1058
+ const hasOffset = isHTMLElement(element);
1059
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
1060
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
1061
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
1062
+ if (shouldFallback) {
1063
+ width = offsetWidth;
1064
+ height = offsetHeight;
1065
+ }
1066
+ return {
1067
+ width,
1068
+ height,
1069
+ $: shouldFallback
1070
+ };
1071
+ }
1072
+ function unwrapElement$1(element) {
1073
+ return !isElement(element) ? element.contextElement : element;
1074
+ }
1075
+ function getScale(element) {
1076
+ const domElement = unwrapElement$1(element);
1077
+ if (!isHTMLElement(domElement)) return createCoords(1);
1078
+ const rect = domElement.getBoundingClientRect();
1079
+ const { width, height, $ } = getCssDimensions(domElement);
1080
+ let x = ($ ? round(rect.width) : rect.width) / width;
1081
+ let y = ($ ? round(rect.height) : rect.height) / height;
1082
+ if (!x || !Number.isFinite(x)) x = 1;
1083
+ if (!y || !Number.isFinite(y)) y = 1;
1084
+ return {
1085
+ x,
1086
+ y
1087
+ };
1088
+ }
1089
+ var noOffsets = /* @__PURE__ */ createCoords(0);
1090
+ function getVisualOffsets(element) {
1091
+ const win = getWindow(element);
1092
+ if (!isWebKit() || !win.visualViewport) return noOffsets;
1093
+ return {
1094
+ x: win.visualViewport.offsetLeft,
1095
+ y: win.visualViewport.offsetTop
1096
+ };
1097
+ }
1098
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1099
+ if (isFixed === void 0) isFixed = false;
1100
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) return false;
1101
+ return isFixed;
1102
+ }
1103
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1104
+ if (includeScale === void 0) includeScale = false;
1105
+ if (isFixedStrategy === void 0) isFixedStrategy = false;
1106
+ const clientRect = element.getBoundingClientRect();
1107
+ const domElement = unwrapElement$1(element);
1108
+ let scale = createCoords(1);
1109
+ if (includeScale) if (offsetParent) {
1110
+ if (isElement(offsetParent)) scale = getScale(offsetParent);
1111
+ } else scale = getScale(element);
1112
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1113
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1114
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1115
+ let width = clientRect.width / scale.x;
1116
+ let height = clientRect.height / scale.y;
1117
+ if (domElement) {
1118
+ const win = getWindow(domElement);
1119
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1120
+ let currentWin = win;
1121
+ let currentIFrame = getFrameElement(currentWin);
1122
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1123
+ const iframeScale = getScale(currentIFrame);
1124
+ const iframeRect = currentIFrame.getBoundingClientRect();
1125
+ const css = getComputedStyle(currentIFrame);
1126
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1127
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1128
+ x *= iframeScale.x;
1129
+ y *= iframeScale.y;
1130
+ width *= iframeScale.x;
1131
+ height *= iframeScale.y;
1132
+ x += left;
1133
+ y += top;
1134
+ currentWin = getWindow(currentIFrame);
1135
+ currentIFrame = getFrameElement(currentWin);
1136
+ }
1137
+ }
1138
+ return rectToClientRect({
1139
+ width,
1140
+ height,
1141
+ x,
1142
+ y
1143
+ });
1144
+ }
1145
+ function getWindowScrollBarX(element, rect) {
1146
+ const leftScroll = getNodeScroll(element).scrollLeft;
1147
+ if (!rect) return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1148
+ return rect.left + leftScroll;
1149
+ }
1150
+ function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
1151
+ if (ignoreScrollbarX === void 0) ignoreScrollbarX = false;
1152
+ const htmlRect = documentElement.getBoundingClientRect();
1153
+ return {
1154
+ x: htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : getWindowScrollBarX(documentElement, htmlRect)),
1155
+ y: htmlRect.top + scroll.scrollTop
1156
+ };
1157
+ }
1158
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1159
+ let { elements, rect, offsetParent, strategy } = _ref;
1160
+ const isFixed = strategy === "fixed";
1161
+ const documentElement = getDocumentElement(offsetParent);
1162
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1163
+ if (offsetParent === documentElement || topLayer && isFixed) return rect;
1164
+ let scroll = {
1165
+ scrollLeft: 0,
1166
+ scrollTop: 0
1167
+ };
1168
+ let scale = createCoords(1);
1169
+ const offsets = createCoords(0);
1170
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1171
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1172
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
1173
+ if (isHTMLElement(offsetParent)) {
1174
+ const offsetRect = getBoundingClientRect(offsetParent);
1175
+ scale = getScale(offsetParent);
1176
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1177
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1178
+ }
1179
+ }
1180
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
1181
+ return {
1182
+ width: rect.width * scale.x,
1183
+ height: rect.height * scale.y,
1184
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1185
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1186
+ };
1187
+ }
1188
+ function getClientRects(element) {
1189
+ return Array.from(element.getClientRects());
1190
+ }
1191
+ function getDocumentRect(element) {
1192
+ const html = getDocumentElement(element);
1193
+ const scroll = getNodeScroll(element);
1194
+ const body = element.ownerDocument.body;
1195
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1196
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1197
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1198
+ const y = -scroll.scrollTop;
1199
+ if (getComputedStyle(body).direction === "rtl") x += max(html.clientWidth, body.clientWidth) - width;
1200
+ return {
1201
+ width,
1202
+ height,
1203
+ x,
1204
+ y
1205
+ };
1206
+ }
1207
+ function getViewportRect(element, strategy) {
1208
+ const win = getWindow(element);
1209
+ const html = getDocumentElement(element);
1210
+ const visualViewport = win.visualViewport;
1211
+ let width = html.clientWidth;
1212
+ let height = html.clientHeight;
1213
+ let x = 0;
1214
+ let y = 0;
1215
+ if (visualViewport) {
1216
+ width = visualViewport.width;
1217
+ height = visualViewport.height;
1218
+ const visualViewportBased = isWebKit();
1219
+ if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1220
+ x = visualViewport.offsetLeft;
1221
+ y = visualViewport.offsetTop;
1222
+ }
1223
+ }
1224
+ return {
1225
+ width,
1226
+ height,
1227
+ x,
1228
+ y
1229
+ };
1230
+ }
1231
+ function getInnerBoundingClientRect(element, strategy) {
1232
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1233
+ const top = clientRect.top + element.clientTop;
1234
+ const left = clientRect.left + element.clientLeft;
1235
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1236
+ return {
1237
+ width: element.clientWidth * scale.x,
1238
+ height: element.clientHeight * scale.y,
1239
+ x: left * scale.x,
1240
+ y: top * scale.y
1241
+ };
1242
+ }
1243
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1244
+ let rect;
1245
+ if (clippingAncestor === "viewport") rect = getViewportRect(element, strategy);
1246
+ else if (clippingAncestor === "document") rect = getDocumentRect(getDocumentElement(element));
1247
+ else if (isElement(clippingAncestor)) rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1248
+ else {
1249
+ const visualOffsets = getVisualOffsets(element);
1250
+ rect = {
1251
+ x: clippingAncestor.x - visualOffsets.x,
1252
+ y: clippingAncestor.y - visualOffsets.y,
1253
+ width: clippingAncestor.width,
1254
+ height: clippingAncestor.height
1255
+ };
1256
+ }
1257
+ return rectToClientRect(rect);
1258
+ }
1259
+ function hasFixedPositionAncestor(element, stopNode) {
1260
+ const parentNode = getParentNode(element);
1261
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) return false;
1262
+ return getComputedStyle(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1263
+ }
1264
+ function getClippingElementAncestors(element, cache) {
1265
+ const cachedResult = cache.get(element);
1266
+ if (cachedResult) return cachedResult;
1267
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1268
+ let currentContainingBlockComputedStyle = null;
1269
+ const elementIsFixed = getComputedStyle(element).position === "fixed";
1270
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1271
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1272
+ const computedStyle = getComputedStyle(currentNode);
1273
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1274
+ if (!currentNodeIsContaining && computedStyle.position === "fixed") currentContainingBlockComputedStyle = null;
1275
+ if (elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode)) result = result.filter((ancestor) => ancestor !== currentNode);
1276
+ else currentContainingBlockComputedStyle = computedStyle;
1277
+ currentNode = getParentNode(currentNode);
1278
+ }
1279
+ cache.set(element, result);
1280
+ return result;
1281
+ }
1282
+ function getClippingRect(_ref) {
1283
+ let { element, boundary, rootBoundary, strategy } = _ref;
1284
+ const clippingAncestors = [...boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary), rootBoundary];
1285
+ const firstClippingAncestor = clippingAncestors[0];
1286
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1287
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1288
+ accRect.top = max(rect.top, accRect.top);
1289
+ accRect.right = min(rect.right, accRect.right);
1290
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1291
+ accRect.left = max(rect.left, accRect.left);
1292
+ return accRect;
1293
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1294
+ return {
1295
+ width: clippingRect.right - clippingRect.left,
1296
+ height: clippingRect.bottom - clippingRect.top,
1297
+ x: clippingRect.left,
1298
+ y: clippingRect.top
1299
+ };
1300
+ }
1301
+ function getDimensions(element) {
1302
+ const { width, height } = getCssDimensions(element);
1303
+ return {
1304
+ width,
1305
+ height
1306
+ };
1307
+ }
1308
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1309
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1310
+ const documentElement = getDocumentElement(offsetParent);
1311
+ const isFixed = strategy === "fixed";
1312
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1313
+ let scroll = {
1314
+ scrollLeft: 0,
1315
+ scrollTop: 0
1316
+ };
1317
+ const offsets = createCoords(0);
1318
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1319
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) scroll = getNodeScroll(offsetParent);
1320
+ if (isOffsetParentAnElement) {
1321
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1322
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1323
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1324
+ } else if (documentElement) offsets.x = getWindowScrollBarX(documentElement);
1325
+ }
1326
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1327
+ return {
1328
+ x: rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x,
1329
+ y: rect.top + scroll.scrollTop - offsets.y - htmlOffset.y,
1330
+ width: rect.width,
1331
+ height: rect.height
1332
+ };
1333
+ }
1334
+ function isStaticPositioned(element) {
1335
+ return getComputedStyle(element).position === "static";
1336
+ }
1337
+ function getTrueOffsetParent(element, polyfill) {
1338
+ if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") return null;
1339
+ if (polyfill) return polyfill(element);
1340
+ let rawOffsetParent = element.offsetParent;
1341
+ if (getDocumentElement(element) === rawOffsetParent) rawOffsetParent = rawOffsetParent.ownerDocument.body;
1342
+ return rawOffsetParent;
1343
+ }
1344
+ function getOffsetParent(element, polyfill) {
1345
+ const win = getWindow(element);
1346
+ if (isTopLayer(element)) return win;
1347
+ if (!isHTMLElement(element)) {
1348
+ let svgOffsetParent = getParentNode(element);
1349
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1350
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) return svgOffsetParent;
1351
+ svgOffsetParent = getParentNode(svgOffsetParent);
1352
+ }
1353
+ return win;
1354
+ }
1355
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1356
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1357
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) return win;
1358
+ return offsetParent || getContainingBlock(element) || win;
1359
+ }
1360
+ var getElementRects = async function(data) {
1361
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1362
+ const getDimensionsFn = this.getDimensions;
1363
+ const floatingDimensions = await getDimensionsFn(data.floating);
1364
+ return {
1365
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1366
+ floating: {
1367
+ x: 0,
1368
+ y: 0,
1369
+ width: floatingDimensions.width,
1370
+ height: floatingDimensions.height
1371
+ }
1372
+ };
1373
+ };
1374
+ function isRTL(element) {
1375
+ return getComputedStyle(element).direction === "rtl";
1376
+ }
1377
+ var platform = {
1378
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1379
+ getDocumentElement,
1380
+ getClippingRect,
1381
+ getOffsetParent,
1382
+ getElementRects,
1383
+ getClientRects,
1384
+ getDimensions,
1385
+ getScale,
1386
+ isElement,
1387
+ isRTL
1388
+ };
1389
+ function rectsAreEqual(a, b) {
1390
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
1391
+ }
1392
+ function observeMove(element, onMove) {
1393
+ let io = null;
1394
+ let timeoutId;
1395
+ const root = getDocumentElement(element);
1396
+ function cleanup() {
1397
+ var _io;
1398
+ clearTimeout(timeoutId);
1399
+ (_io = io) == null || _io.disconnect();
1400
+ io = null;
1401
+ }
1402
+ function refresh(skip, threshold) {
1403
+ if (skip === void 0) skip = false;
1404
+ if (threshold === void 0) threshold = 1;
1405
+ cleanup();
1406
+ const elementRectForRootMargin = element.getBoundingClientRect();
1407
+ const { left, top, width, height } = elementRectForRootMargin;
1408
+ if (!skip) onMove();
1409
+ if (!width || !height) return;
1410
+ const insetTop = floor(top);
1411
+ const insetRight = floor(root.clientWidth - (left + width));
1412
+ const insetBottom = floor(root.clientHeight - (top + height));
1413
+ const insetLeft = floor(left);
1414
+ const options = {
1415
+ rootMargin: -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px",
1416
+ threshold: max(0, min(1, threshold)) || 1
1417
+ };
1418
+ let isFirstUpdate = true;
1419
+ function handleObserve(entries) {
1420
+ const ratio = entries[0].intersectionRatio;
1421
+ if (ratio !== threshold) {
1422
+ if (!isFirstUpdate) return refresh();
1423
+ if (!ratio) timeoutId = setTimeout(() => {
1424
+ refresh(false, 1e-7);
1425
+ }, 1e3);
1426
+ else refresh(false, ratio);
1427
+ }
1428
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) refresh();
1429
+ isFirstUpdate = false;
1430
+ }
1431
+ try {
1432
+ io = new IntersectionObserver(handleObserve, {
1433
+ ...options,
1434
+ root: root.ownerDocument
1435
+ });
1436
+ } catch (e) {
1437
+ io = new IntersectionObserver(handleObserve, options);
1438
+ }
1439
+ io.observe(element);
1440
+ }
1441
+ refresh(true);
1442
+ return cleanup;
1443
+ }
1444
+ /**
1445
+ * Automatically updates the position of the floating element when necessary.
1446
+ * Should only be called when the floating element is mounted on the DOM or
1447
+ * visible on the screen.
1448
+ * @returns cleanup function that should be invoked when the floating element is
1449
+ * removed from the DOM or hidden from the screen.
1450
+ * @see https://floating-ui.com/docs/autoUpdate
1451
+ */
1452
+ function autoUpdate(reference, floating, update, options) {
1453
+ if (options === void 0) options = {};
1454
+ const { ancestorScroll = true, ancestorResize = true, elementResize = typeof ResizeObserver === "function", layoutShift = typeof IntersectionObserver === "function", animationFrame = false } = options;
1455
+ const referenceEl = unwrapElement$1(reference);
1456
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
1457
+ ancestors.forEach((ancestor) => {
1458
+ ancestorScroll && ancestor.addEventListener("scroll", update, { passive: true });
1459
+ ancestorResize && ancestor.addEventListener("resize", update);
1460
+ });
1461
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1462
+ let reobserveFrame = -1;
1463
+ let resizeObserver = null;
1464
+ if (elementResize) {
1465
+ resizeObserver = new ResizeObserver((_ref) => {
1466
+ let [firstEntry] = _ref;
1467
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1468
+ resizeObserver.unobserve(floating);
1469
+ cancelAnimationFrame(reobserveFrame);
1470
+ reobserveFrame = requestAnimationFrame(() => {
1471
+ var _resizeObserver;
1472
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1473
+ });
1474
+ }
1475
+ update();
1476
+ });
1477
+ if (referenceEl && !animationFrame) resizeObserver.observe(referenceEl);
1478
+ resizeObserver.observe(floating);
1479
+ }
1480
+ let frameId;
1481
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1482
+ if (animationFrame) frameLoop();
1483
+ function frameLoop() {
1484
+ const nextRefRect = getBoundingClientRect(reference);
1485
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) update();
1486
+ prevRefRect = nextRefRect;
1487
+ frameId = requestAnimationFrame(frameLoop);
1488
+ }
1489
+ update();
1490
+ return () => {
1491
+ var _resizeObserver2;
1492
+ ancestors.forEach((ancestor) => {
1493
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
1494
+ ancestorResize && ancestor.removeEventListener("resize", update);
1495
+ });
1496
+ cleanupIo?.();
1497
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1498
+ resizeObserver = null;
1499
+ if (animationFrame) cancelAnimationFrame(frameId);
1500
+ };
1501
+ }
1502
+ /**
1503
+ * Modifies the placement by translating the floating element along the
1504
+ * specified axes.
1505
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1506
+ * object may be passed.
1507
+ * @see https://floating-ui.com/docs/offset
1508
+ */
1509
+ var offset = offset$1;
1510
+ /**
1511
+ * Optimizes the visibility of the floating element by choosing the placement
1512
+ * that has the most space available automatically, without needing to specify a
1513
+ * preferred placement. Alternative to `flip`.
1514
+ * @see https://floating-ui.com/docs/autoPlacement
1515
+ */
1516
+ var autoPlacement = autoPlacement$1;
1517
+ /**
1518
+ * Optimizes the visibility of the floating element by shifting it in order to
1519
+ * keep it in view when it will overflow the clipping boundary.
1520
+ * @see https://floating-ui.com/docs/shift
1521
+ */
1522
+ var shift = shift$1;
1523
+ /**
1524
+ * Optimizes the visibility of the floating element by flipping the `placement`
1525
+ * in order to keep it in view when the preferred placement(s) will overflow the
1526
+ * clipping boundary. Alternative to `autoPlacement`.
1527
+ * @see https://floating-ui.com/docs/flip
1528
+ */
1529
+ var flip = flip$1;
1530
+ /**
1531
+ * Provides data that allows you to change the size of the floating element —
1532
+ * for instance, prevent it from overflowing the clipping boundary or match the
1533
+ * width of the reference element.
1534
+ * @see https://floating-ui.com/docs/size
1535
+ */
1536
+ var size = size$1;
1537
+ /**
1538
+ * Provides data to hide the floating element in applicable situations, such as
1539
+ * when it is not in the same clipping context as the reference element.
1540
+ * @see https://floating-ui.com/docs/hide
1541
+ */
1542
+ var hide = hide$1;
1543
+ /**
1544
+ * Provides data to position an inner element of the floating element so that it
1545
+ * appears centered to the reference element.
1546
+ * @see https://floating-ui.com/docs/arrow
1547
+ */
1548
+ var arrow$1 = arrow$2;
1549
+ /**
1550
+ * Provides improved positioning for inline reference elements that can span
1551
+ * over multiple lines, such as hyperlinks or range selections.
1552
+ * @see https://floating-ui.com/docs/inline
1553
+ */
1554
+ var inline = inline$1;
1555
+ /**
1556
+ * Built-in `limiter` that will stop `shift()` at a certain point.
1557
+ */
1558
+ var limitShift = limitShift$1;
1559
+ /**
1560
+ * Computes the `x` and `y` coordinates that will place the floating element
1561
+ * next to a given reference element.
1562
+ */
1563
+ var computePosition = (reference, floating, options) => {
1564
+ const cache = /* @__PURE__ */ new Map();
1565
+ const mergedOptions = {
1566
+ platform,
1567
+ ...options
1568
+ };
1569
+ const platformWithCache = {
1570
+ ...mergedOptions.platform,
1571
+ _c: cache
1572
+ };
1573
+ return computePosition$1(reference, floating, {
1574
+ ...mergedOptions,
1575
+ platform: platformWithCache
1576
+ });
1577
+ };
1578
+ //#endregion
1579
+ //#region ../../node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.13_typescript@5.9.3_/node_modules/vue-demi/lib/index.mjs
1580
+ var lib_exports = /* @__PURE__ */ require_chunk.__exportAll({
1581
+ Vue: () => vue,
1582
+ Vue2: () => void 0,
1583
+ del: () => del,
1584
+ install: () => install,
1585
+ isVue2: () => false,
1586
+ isVue3: () => true,
1587
+ set: () => set
1588
+ });
1589
+ require_chunk.__reExport(lib_exports, require("vue"));
1590
+ function install() {}
1591
+ function set(target, key, val) {
1592
+ if (Array.isArray(target)) {
1593
+ target.length = Math.max(target.length, key);
1594
+ target.splice(key, 1, val);
1595
+ return val;
1596
+ }
1597
+ target[key] = val;
1598
+ return val;
1599
+ }
1600
+ function del(target, key) {
1601
+ if (Array.isArray(target)) {
1602
+ target.splice(key, 1);
1603
+ return;
1604
+ }
1605
+ delete target[key];
1606
+ }
1607
+ //#endregion
1608
+ //#region ../../node_modules/.pnpm/@floating-ui+vue@1.1.6_vue@3.5.13_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
1609
+ function isComponentPublicInstance(target) {
1610
+ return target != null && typeof target === "object" && "$el" in target;
1611
+ }
1612
+ function unwrapElement(target) {
1613
+ if (isComponentPublicInstance(target)) {
1614
+ const element = target.$el;
1615
+ return isNode(element) && getNodeName(element) === "#comment" ? null : element;
1616
+ }
1617
+ return target;
1618
+ }
1619
+ function toValue(source) {
1620
+ return typeof source === "function" ? source() : (0, lib_exports.unref)(source);
1621
+ }
1622
+ /**
1623
+ * Positions an inner element of the floating element such that it is centered to the reference element.
1624
+ * @param options The arrow options.
1625
+ * @see https://floating-ui.com/docs/arrow
1626
+ */
1627
+ function arrow(options) {
1628
+ return {
1629
+ name: "arrow",
1630
+ options,
1631
+ fn(args) {
1632
+ const element = unwrapElement(toValue(options.element));
1633
+ if (element == null) return {};
1634
+ return arrow$1({
1635
+ element,
1636
+ padding: options.padding
1637
+ }).fn(args);
1638
+ }
1639
+ };
1640
+ }
1641
+ function getDPR(element) {
1642
+ if (typeof window === "undefined") return 1;
1643
+ return (element.ownerDocument.defaultView || window).devicePixelRatio || 1;
1644
+ }
1645
+ function roundByDPR(element, value) {
1646
+ const dpr = getDPR(element);
1647
+ return Math.round(value * dpr) / dpr;
1648
+ }
1649
+ /**
1650
+ * Computes the `x` and `y` coordinates that will place the floating element next to a reference element when it is given a certain CSS positioning strategy.
1651
+ * @param reference The reference template ref.
1652
+ * @param floating The floating template ref.
1653
+ * @param options The floating options.
1654
+ * @see https://floating-ui.com/docs/vue
1655
+ */
1656
+ function useFloating(reference, floating, options) {
1657
+ if (options === void 0) options = {};
1658
+ const whileElementsMountedOption = options.whileElementsMounted;
1659
+ const openOption = (0, lib_exports.computed)(() => {
1660
+ var _toValue;
1661
+ return (_toValue = toValue(options.open)) != null ? _toValue : true;
1662
+ });
1663
+ const middlewareOption = (0, lib_exports.computed)(() => toValue(options.middleware));
1664
+ const placementOption = (0, lib_exports.computed)(() => {
1665
+ var _toValue2;
1666
+ return (_toValue2 = toValue(options.placement)) != null ? _toValue2 : "bottom";
1667
+ });
1668
+ const strategyOption = (0, lib_exports.computed)(() => {
1669
+ var _toValue3;
1670
+ return (_toValue3 = toValue(options.strategy)) != null ? _toValue3 : "absolute";
1671
+ });
1672
+ const transformOption = (0, lib_exports.computed)(() => {
1673
+ var _toValue4;
1674
+ return (_toValue4 = toValue(options.transform)) != null ? _toValue4 : true;
1675
+ });
1676
+ const referenceElement = (0, lib_exports.computed)(() => unwrapElement(reference.value));
1677
+ const floatingElement = (0, lib_exports.computed)(() => unwrapElement(floating.value));
1678
+ const x = (0, lib_exports.ref)(0);
1679
+ const y = (0, lib_exports.ref)(0);
1680
+ const strategy = (0, lib_exports.ref)(strategyOption.value);
1681
+ const placement = (0, lib_exports.ref)(placementOption.value);
1682
+ const middlewareData = (0, lib_exports.shallowRef)({});
1683
+ const isPositioned = (0, lib_exports.ref)(false);
1684
+ const floatingStyles = (0, lib_exports.computed)(() => {
1685
+ const initialStyles = {
1686
+ position: strategy.value,
1687
+ left: "0",
1688
+ top: "0"
1689
+ };
1690
+ if (!floatingElement.value) return initialStyles;
1691
+ const xVal = roundByDPR(floatingElement.value, x.value);
1692
+ const yVal = roundByDPR(floatingElement.value, y.value);
1693
+ if (transformOption.value) return {
1694
+ ...initialStyles,
1695
+ transform: "translate(" + xVal + "px, " + yVal + "px)",
1696
+ ...getDPR(floatingElement.value) >= 1.5 && { willChange: "transform" }
1697
+ };
1698
+ return {
1699
+ position: strategy.value,
1700
+ left: xVal + "px",
1701
+ top: yVal + "px"
1702
+ };
1703
+ });
1704
+ let whileElementsMountedCleanup;
1705
+ function update() {
1706
+ if (referenceElement.value == null || floatingElement.value == null) return;
1707
+ const open = openOption.value;
1708
+ computePosition(referenceElement.value, floatingElement.value, {
1709
+ middleware: middlewareOption.value,
1710
+ placement: placementOption.value,
1711
+ strategy: strategyOption.value
1712
+ }).then((position) => {
1713
+ x.value = position.x;
1714
+ y.value = position.y;
1715
+ strategy.value = position.strategy;
1716
+ placement.value = position.placement;
1717
+ middlewareData.value = position.middlewareData;
1718
+ /**
1719
+ * The floating element's position may be recomputed while it's closed
1720
+ * but still mounted (such as when transitioning out). To ensure
1721
+ * `isPositioned` will be `false` initially on the next open, avoid
1722
+ * setting it to `true` when `open === false` (must be specified).
1723
+ */
1724
+ isPositioned.value = open !== false;
1725
+ });
1726
+ }
1727
+ function cleanup() {
1728
+ if (typeof whileElementsMountedCleanup === "function") {
1729
+ whileElementsMountedCleanup();
1730
+ whileElementsMountedCleanup = void 0;
1731
+ }
1732
+ }
1733
+ function attach() {
1734
+ cleanup();
1735
+ if (whileElementsMountedOption === void 0) {
1736
+ update();
1737
+ return;
1738
+ }
1739
+ if (referenceElement.value != null && floatingElement.value != null) {
1740
+ whileElementsMountedCleanup = whileElementsMountedOption(referenceElement.value, floatingElement.value, update);
1741
+ return;
1742
+ }
1743
+ }
1744
+ function reset() {
1745
+ if (!openOption.value) isPositioned.value = false;
1746
+ }
1747
+ (0, lib_exports.watch)([
1748
+ middlewareOption,
1749
+ placementOption,
1750
+ strategyOption,
1751
+ openOption
1752
+ ], update, { flush: "sync" });
1753
+ (0, lib_exports.watch)([referenceElement, floatingElement], attach, { flush: "sync" });
1754
+ (0, lib_exports.watch)(openOption, reset, { flush: "sync" });
1755
+ if ((0, lib_exports.getCurrentScope)()) (0, lib_exports.onScopeDispose)(cleanup);
1756
+ return {
1757
+ x: (0, lib_exports.shallowReadonly)(x),
1758
+ y: (0, lib_exports.shallowReadonly)(y),
1759
+ strategy: (0, lib_exports.shallowReadonly)(strategy),
1760
+ placement: (0, lib_exports.shallowReadonly)(placement),
1761
+ middlewareData: (0, lib_exports.shallowReadonly)(middlewareData),
1762
+ isPositioned: (0, lib_exports.shallowReadonly)(isPositioned),
1763
+ floatingStyles,
1764
+ update
1765
+ };
1766
+ }
1767
+ //#endregion
1768
+ //#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@5.9.3_/node_modules/reka-ui/dist/Popper/PopperContent.js
1769
+ var _hoisted_1 = ["dir"];
1770
+ var PopperContentPropsDefaultValue = {
1771
+ side: "bottom",
1772
+ sideOffset: 0,
1773
+ sideFlip: true,
1774
+ align: "center",
1775
+ alignOffset: 0,
1776
+ alignFlip: true,
1777
+ arrowPadding: 0,
1778
+ hideShiftedArrow: true,
1779
+ avoidCollisions: true,
1780
+ collisionBoundary: () => [],
1781
+ collisionPadding: 0,
1782
+ sticky: "partial",
1783
+ hideWhenDetached: false,
1784
+ positionStrategy: "fixed",
1785
+ updatePositionStrategy: "optimized",
1786
+ prioritizePosition: false
1787
+ };
1788
+ var [injectPopperContentContext, providePopperContentContext] = /* @__PURE__ */ require_createContext.createContext("PopperContent");
1789
+ var PopperContent_default = /* @__PURE__ */ (0, vue.defineComponent)({
1790
+ inheritAttrs: false,
1791
+ __name: "PopperContent",
1792
+ props: /* @__PURE__ */ (0, vue.mergeDefaults)({
1793
+ memoDependencies: {
1794
+ type: Array,
1795
+ required: false
1796
+ },
1797
+ side: {
1798
+ type: null,
1799
+ required: false
1800
+ },
1801
+ sideOffset: {
1802
+ type: Number,
1803
+ required: false
1804
+ },
1805
+ sideFlip: {
1806
+ type: Boolean,
1807
+ required: false
1808
+ },
1809
+ align: {
1810
+ type: null,
1811
+ required: false
1812
+ },
1813
+ alignOffset: {
1814
+ type: Number,
1815
+ required: false
1816
+ },
1817
+ alignFlip: {
1818
+ type: Boolean,
1819
+ required: false
1820
+ },
1821
+ avoidCollisions: {
1822
+ type: Boolean,
1823
+ required: false
1824
+ },
1825
+ collisionBoundary: {
1826
+ type: null,
1827
+ required: false
1828
+ },
1829
+ collisionPadding: {
1830
+ type: [Number, Object],
1831
+ required: false
1832
+ },
1833
+ arrowPadding: {
1834
+ type: Number,
1835
+ required: false
1836
+ },
1837
+ hideShiftedArrow: {
1838
+ type: Boolean,
1839
+ required: false
1840
+ },
1841
+ sticky: {
1842
+ type: String,
1843
+ required: false
1844
+ },
1845
+ hideWhenDetached: {
1846
+ type: Boolean,
1847
+ required: false
1848
+ },
1849
+ positionStrategy: {
1850
+ type: String,
1851
+ required: false
1852
+ },
1853
+ updatePositionStrategy: {
1854
+ type: String,
1855
+ required: false
1856
+ },
1857
+ disableUpdateOnLayoutShift: {
1858
+ type: Boolean,
1859
+ required: false
1860
+ },
1861
+ prioritizePosition: {
1862
+ type: Boolean,
1863
+ required: false
1864
+ },
1865
+ reference: {
1866
+ type: null,
1867
+ required: false
1868
+ },
1869
+ dir: {
1870
+ type: String,
1871
+ required: false
1872
+ },
1873
+ asChild: {
1874
+ type: Boolean,
1875
+ required: false
1876
+ },
1877
+ as: {
1878
+ type: null,
1879
+ required: false
1880
+ }
1881
+ }, { ...PopperContentPropsDefaultValue }),
1882
+ emits: ["placed"],
1883
+ setup(__props, { emit: __emit }) {
1884
+ const props = __props;
1885
+ const emits = __emit;
1886
+ const rootContext = require_PopperRoot.injectPopperRootContext();
1887
+ const { forwardRef, currentElement: contentElement } = require_useForwardExpose.useForwardExpose();
1888
+ const dir = require_useDirection.useDirection((0, vue.computed)(() => props.dir));
1889
+ const floatingRef = (0, vue.ref)();
1890
+ const arrow$1 = (0, vue.ref)();
1891
+ const { width: arrowWidth, height: arrowHeight } = require_useSize.useSize(arrow$1);
1892
+ const desiredPlacement = (0, vue.computed)(() => props.side + (props.align !== "center" ? `-${props.align}` : ""));
1893
+ const collisionPadding = (0, vue.computed)(() => {
1894
+ return typeof props.collisionPadding === "number" ? props.collisionPadding : {
1895
+ top: 0,
1896
+ right: 0,
1897
+ bottom: 0,
1898
+ left: 0,
1899
+ ...props.collisionPadding
1900
+ };
1901
+ });
1902
+ const boundary = (0, vue.computed)(() => {
1903
+ return Array.isArray(props.collisionBoundary) ? props.collisionBoundary : [props.collisionBoundary];
1904
+ });
1905
+ const detectOverflowOptions = (0, vue.computed)(() => {
1906
+ return {
1907
+ padding: collisionPadding.value,
1908
+ boundary: boundary.value.filter(isNotNull),
1909
+ altBoundary: boundary.value.length > 0
1910
+ };
1911
+ });
1912
+ const flipOptions = (0, vue.computed)(() => {
1913
+ return {
1914
+ mainAxis: props.sideFlip,
1915
+ crossAxis: props.alignFlip
1916
+ };
1917
+ });
1918
+ const computedMiddleware = (0, vue.computed)(() => {
1919
+ return [
1920
+ offset({
1921
+ mainAxis: props.sideOffset + arrowHeight.value,
1922
+ alignmentAxis: props.alignOffset
1923
+ }),
1924
+ props.prioritizePosition && props.avoidCollisions && flip({
1925
+ ...detectOverflowOptions.value,
1926
+ ...flipOptions.value
1927
+ }),
1928
+ props.avoidCollisions && shift({
1929
+ mainAxis: true,
1930
+ crossAxis: !!props.prioritizePosition,
1931
+ limiter: props.sticky === "partial" ? limitShift() : void 0,
1932
+ ...detectOverflowOptions.value
1933
+ }),
1934
+ !props.prioritizePosition && props.avoidCollisions && flip({
1935
+ ...detectOverflowOptions.value,
1936
+ ...flipOptions.value
1937
+ }),
1938
+ size({
1939
+ ...detectOverflowOptions.value,
1940
+ apply: ({ elements, rects, availableWidth, availableHeight }) => {
1941
+ const { width: anchorWidth, height: anchorHeight } = rects.reference;
1942
+ const contentStyle = elements.floating.style;
1943
+ contentStyle.setProperty("--reka-popper-available-width", `${availableWidth}px`);
1944
+ contentStyle.setProperty("--reka-popper-available-height", `${availableHeight}px`);
1945
+ contentStyle.setProperty("--reka-popper-anchor-width", `${anchorWidth}px`);
1946
+ contentStyle.setProperty("--reka-popper-anchor-height", `${anchorHeight}px`);
1947
+ }
1948
+ }),
1949
+ arrow$1.value && arrow({
1950
+ element: arrow$1.value,
1951
+ padding: props.arrowPadding
1952
+ }),
1953
+ transformOrigin({
1954
+ arrowWidth: arrowWidth.value,
1955
+ arrowHeight: arrowHeight.value,
1956
+ dir: dir.value
1957
+ }),
1958
+ props.hideWhenDetached && hide({
1959
+ strategy: "referenceHidden",
1960
+ ...detectOverflowOptions.value
1961
+ })
1962
+ ];
1963
+ });
1964
+ const { floatingStyles, placement, isPositioned, middlewareData, update } = useFloating((0, vue.computed)(() => props.reference ?? rootContext.anchor.value), floatingRef, {
1965
+ strategy: props.positionStrategy,
1966
+ placement: desiredPlacement,
1967
+ whileElementsMounted: (...args) => {
1968
+ return autoUpdate(...args, {
1969
+ layoutShift: !props.disableUpdateOnLayoutShift,
1970
+ animationFrame: props.updatePositionStrategy === "always"
1971
+ });
1972
+ },
1973
+ middleware: computedMiddleware
1974
+ });
1975
+ const placedSide = (0, vue.computed)(() => getSideAndAlignFromPlacement(placement.value)[0]);
1976
+ const placedAlign = (0, vue.computed)(() => getSideAndAlignFromPlacement(placement.value)[1]);
1977
+ (0, vue.watchPostEffect)(() => {
1978
+ if (isPositioned.value) emits("placed");
1979
+ });
1980
+ const shouldHideArrow = (0, vue.computed)(() => {
1981
+ const cannotCenterArrow = middlewareData.value.arrow?.centerOffset !== 0;
1982
+ return props.hideShiftedArrow && cannotCenterArrow;
1983
+ });
1984
+ const contentZIndex = (0, vue.ref)("");
1985
+ (0, vue.watchEffect)(() => {
1986
+ if (contentElement.value) contentZIndex.value = window.getComputedStyle(contentElement.value).zIndex;
1987
+ });
1988
+ providePopperContentContext({
1989
+ placedSide,
1990
+ onArrowChange: (element) => arrow$1.value = element,
1991
+ arrowX: (0, vue.computed)(() => middlewareData.value.arrow?.x ?? 0),
1992
+ arrowY: (0, vue.computed)(() => middlewareData.value.arrow?.y ?? 0),
1993
+ shouldHideArrow
1994
+ });
1995
+ return (_ctx, _cache) => {
1996
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1997
+ ref_key: "floatingRef",
1998
+ ref: floatingRef,
1999
+ "data-reka-popper-content-wrapper": "",
2000
+ dir: (0, vue.unref)(dir),
2001
+ style: (0, vue.normalizeStyle)({
2002
+ ...(0, vue.unref)(floatingStyles),
2003
+ transform: (0, vue.unref)(isPositioned) ? (0, vue.unref)(floatingStyles).transform : "translate(0, -200%)",
2004
+ minWidth: "max-content",
2005
+ zIndex: contentZIndex.value,
2006
+ ["--reka-popper-transform-origin"]: [(0, vue.unref)(middlewareData).transformOrigin?.x, (0, vue.unref)(middlewareData).transformOrigin?.y].join(" "),
2007
+ ...(0, vue.unref)(middlewareData).hide?.referenceHidden && {
2008
+ visibility: "hidden",
2009
+ pointerEvents: "none"
2010
+ }
2011
+ })
2012
+ }, [props.memoDependencies ? (0, vue.withMemo)([
2013
+ props.asChild,
2014
+ props.as,
2015
+ placedSide.value,
2016
+ placedAlign.value,
2017
+ (0, vue.unref)(isPositioned),
2018
+ ...Object.values(_ctx.$attrs),
2019
+ ...props.memoDependencies
2020
+ ], () => ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_Primitive.Primitive), (0, vue.mergeProps)({
2021
+ key: 0,
2022
+ ref: (0, vue.unref)(forwardRef)
2023
+ }, _ctx.$attrs, {
2024
+ "as-child": props.asChild,
2025
+ as: props.as,
2026
+ "data-side": placedSide.value,
2027
+ "data-align": placedAlign.value,
2028
+ style: { animation: !(0, vue.unref)(isPositioned) ? "none" : void 0 }
2029
+ }), {
2030
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
2031
+ _: 3
2032
+ }, 16, [
2033
+ "as-child",
2034
+ "as",
2035
+ "data-side",
2036
+ "data-align",
2037
+ "style"
2038
+ ])), _cache, 0) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_Primitive.Primitive), (0, vue.mergeProps)({
2039
+ key: 1,
2040
+ ref: (0, vue.unref)(forwardRef)
2041
+ }, _ctx.$attrs, {
2042
+ "as-child": props.asChild,
2043
+ as: props.as,
2044
+ "data-side": placedSide.value,
2045
+ "data-align": placedAlign.value,
2046
+ dir: (0, vue.unref)(dir),
2047
+ style: { animation: !(0, vue.unref)(isPositioned) ? "none" : void 0 }
2048
+ }), {
2049
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
2050
+ _: 3
2051
+ }, 16, [
2052
+ "as-child",
2053
+ "as",
2054
+ "data-side",
2055
+ "data-align",
2056
+ "dir",
2057
+ "style"
2058
+ ]))], 12, _hoisted_1);
2059
+ };
2060
+ }
2061
+ });
2062
+ //#endregion
2063
+ Object.defineProperty(exports, "PopperContentPropsDefaultValue", {
2064
+ enumerable: true,
2065
+ get: function() {
2066
+ return PopperContentPropsDefaultValue;
2067
+ }
2068
+ });
2069
+ Object.defineProperty(exports, "PopperContent_default", {
2070
+ enumerable: true,
2071
+ get: function() {
2072
+ return PopperContent_default;
2073
+ }
2074
+ });
2075
+ Object.defineProperty(exports, "arrow", {
2076
+ enumerable: true,
2077
+ get: function() {
2078
+ return arrow$1;
2079
+ }
2080
+ });
2081
+ Object.defineProperty(exports, "autoPlacement", {
2082
+ enumerable: true,
2083
+ get: function() {
2084
+ return autoPlacement;
2085
+ }
2086
+ });
2087
+ Object.defineProperty(exports, "computePosition", {
2088
+ enumerable: true,
2089
+ get: function() {
2090
+ return computePosition;
2091
+ }
2092
+ });
2093
+ Object.defineProperty(exports, "flip", {
2094
+ enumerable: true,
2095
+ get: function() {
2096
+ return flip;
2097
+ }
2098
+ });
2099
+ Object.defineProperty(exports, "hide", {
2100
+ enumerable: true,
2101
+ get: function() {
2102
+ return hide;
2103
+ }
2104
+ });
2105
+ Object.defineProperty(exports, "injectPopperContentContext", {
2106
+ enumerable: true,
2107
+ get: function() {
2108
+ return injectPopperContentContext;
2109
+ }
2110
+ });
2111
+ Object.defineProperty(exports, "inline", {
2112
+ enumerable: true,
2113
+ get: function() {
2114
+ return inline;
2115
+ }
2116
+ });
2117
+ Object.defineProperty(exports, "offset", {
2118
+ enumerable: true,
2119
+ get: function() {
2120
+ return offset;
2121
+ }
2122
+ });
2123
+ Object.defineProperty(exports, "shift", {
2124
+ enumerable: true,
2125
+ get: function() {
2126
+ return shift;
2127
+ }
2128
+ });
2129
+ Object.defineProperty(exports, "size", {
2130
+ enumerable: true,
2131
+ get: function() {
2132
+ return size;
2133
+ }
2134
+ });