@editora/ui-react 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/dist/Accordion.cjs.js +1 -1
  2. package/dist/Accordion.esm.js +48 -50
  3. package/dist/Alert.cjs.js +1 -1
  4. package/dist/Alert.esm.js +18 -18
  5. package/dist/AlertDialog.cjs.js +1 -1
  6. package/dist/AlertDialog.esm.js +53 -54
  7. package/dist/AlertDialogProvider.cjs.js +1 -1
  8. package/dist/AlertDialogProvider.esm.js +33 -47
  9. package/dist/AnimatedBeam.cjs.js +1 -1
  10. package/dist/AnimatedBeam.esm.js +4 -7
  11. package/dist/AnimatedList.cjs.js +1 -1
  12. package/dist/AnimatedList.esm.js +4 -7
  13. package/dist/AnimatedNumber.cjs.js +1 -1
  14. package/dist/AnimatedNumber.esm.js +81 -80
  15. package/dist/AnimatedText.cjs.js +1 -1
  16. package/dist/AnimatedText.esm.js +4 -7
  17. package/dist/AppHeader.esm.js +2 -4
  18. package/dist/AspectRatio.esm.js +1 -2
  19. package/dist/Avatar.cjs.js +1 -1
  20. package/dist/Avatar.esm.js +53 -53
  21. package/dist/Badge.cjs.js +1 -1
  22. package/dist/Badge.esm.js +23 -23
  23. package/dist/BlockControls.cjs.js +1 -1
  24. package/dist/BlockControls.esm.js +2 -3
  25. package/dist/Breadcrumb.cjs.js +1 -1
  26. package/dist/Breadcrumb.esm.js +34 -34
  27. package/dist/Button.cjs.js +1 -1
  28. package/dist/Button.esm.js +3 -5
  29. package/dist/Calendar.cjs.js +1 -1
  30. package/dist/Calendar.esm.js +84 -84
  31. package/dist/Card.cjs.js +1 -1
  32. package/dist/Card.esm.js +2 -3
  33. package/dist/Carousel.cjs.js +1 -1
  34. package/dist/Carousel.esm.js +172 -186
  35. package/dist/Chart.cjs.js +1 -1
  36. package/dist/Chart.esm.js +3 -5
  37. package/dist/Checkbox.cjs.js +1 -1
  38. package/dist/Checkbox.esm.js +48 -48
  39. package/dist/Collapsible.cjs.js +1 -1
  40. package/dist/Collapsible.esm.js +71 -71
  41. package/dist/Collection.cjs.js +1 -1
  42. package/dist/Collection.esm.js +13 -14
  43. package/dist/ColorPicker.cjs.js +1 -1
  44. package/dist/ColorPicker.esm.js +73 -73
  45. package/dist/Combobox.cjs.js +1 -1
  46. package/dist/Combobox.esm.js +95 -100
  47. package/dist/Command.cjs.js +1 -1
  48. package/dist/Command.esm.js +38 -40
  49. package/dist/CommandPalette.cjs.js +1 -1
  50. package/dist/CommandPalette.esm.js +47 -50
  51. package/dist/ContextMenu.cjs.js +1 -1
  52. package/dist/ContextMenu.esm.js +109 -117
  53. package/dist/CopyButton.cjs.js +1 -1
  54. package/dist/CopyButton.esm.js +30 -35
  55. package/dist/DataTable.cjs.js +1 -1
  56. package/dist/DataTable.esm.js +105 -106
  57. package/dist/DataViewToolbar.cjs.js +1 -1
  58. package/dist/DataViewToolbar.esm.js +7 -14
  59. package/dist/DateField.cjs.js +1 -1
  60. package/dist/DateField.esm.js +23 -23
  61. package/dist/DatePicker.cjs.js +1 -1
  62. package/dist/DatePicker.esm.js +89 -89
  63. package/dist/DateRangePicker.cjs.js +1 -1
  64. package/dist/DateRangePicker.esm.js +79 -79
  65. package/dist/DateRangeTimePicker.cjs.js +1 -1
  66. package/dist/DateRangeTimePicker.esm.js +76 -76
  67. package/dist/DateTimePicker.cjs.js +1 -1
  68. package/dist/DateTimePicker.esm.js +77 -77
  69. package/dist/Dialog.cjs.js +1 -1
  70. package/dist/Dialog.esm.js +85 -85
  71. package/dist/DialogProvider.cjs.js +1 -1
  72. package/dist/DialogProvider.esm.js +27 -37
  73. package/dist/DismissableLayer.cjs.js +1 -1
  74. package/dist/DismissableLayer.esm.js +30 -31
  75. package/dist/Dock.cjs.js +1 -1
  76. package/dist/Dock.esm.js +4 -7
  77. package/dist/Drawer.cjs.js +1 -1
  78. package/dist/Drawer.esm.js +71 -73
  79. package/dist/Dropdown.cjs.js +1 -1
  80. package/dist/Dropdown.esm.js +83 -85
  81. package/dist/EmptyState.cjs.js +1 -1
  82. package/dist/EmptyState.esm.js +15 -15
  83. package/dist/FieldSemantics.esm.js +2 -4
  84. package/dist/FileUpload.cjs.js +1 -1
  85. package/dist/FileUpload.esm.js +46 -48
  86. package/dist/FiltersBar.cjs.js +1 -1
  87. package/dist/FiltersBar.esm.js +47 -51
  88. package/dist/FloatingToolbar.cjs.js +1 -1
  89. package/dist/FloatingToolbar.esm.js +74 -77
  90. package/dist/FocusScope.cjs.js +1 -1
  91. package/dist/FocusScope.esm.js +13 -14
  92. package/dist/Form.cjs.js +1 -1
  93. package/dist/Form.esm.js +81 -82
  94. package/dist/Gantt.cjs.js +1 -1
  95. package/dist/Gantt.esm.js +65 -70
  96. package/dist/HoverCard.cjs.js +1 -1
  97. package/dist/HoverCard.esm.js +43 -44
  98. package/dist/IconCloud.cjs.js +1 -1
  99. package/dist/IconCloud.esm.js +4 -7
  100. package/dist/InlineEdit.cjs.js +1 -1
  101. package/dist/InlineEdit.esm.js +22 -24
  102. package/dist/Input.cjs.js +1 -1
  103. package/dist/Input.esm.js +71 -71
  104. package/dist/Kbd.cjs.js +1 -1
  105. package/dist/Kbd.esm.js +14 -14
  106. package/dist/Layout.cjs.js +1 -1
  107. package/dist/Layout.esm.js +22 -23
  108. package/dist/Listbox.cjs.js +1 -1
  109. package/dist/Listbox.esm.js +13 -14
  110. package/dist/Marquee.cjs.js +1 -1
  111. package/dist/Marquee.esm.js +2 -3
  112. package/dist/MasonryGrid.cjs.js +1 -1
  113. package/dist/MasonryGrid.esm.js +1 -1
  114. package/dist/Menu.cjs.js +1 -1
  115. package/dist/Menu.esm.js +74 -76
  116. package/dist/Menubar.cjs.js +1 -1
  117. package/dist/Menubar.esm.js +63 -63
  118. package/dist/Meter.cjs.js +1 -1
  119. package/dist/Meter.esm.js +28 -28
  120. package/dist/MultiSelect.cjs.js +1 -1
  121. package/dist/MultiSelect.esm.js +67 -69
  122. package/dist/NavigationMenu.cjs.js +1 -1
  123. package/dist/NavigationMenu.esm.js +56 -58
  124. package/dist/NumberField.cjs.js +1 -1
  125. package/dist/NumberField.esm.js +65 -65
  126. package/dist/NumberTicker.cjs.js +1 -1
  127. package/dist/NumberTicker.esm.js +4 -7
  128. package/dist/Orbiter.cjs.js +1 -1
  129. package/dist/Orbiter.esm.js +4 -7
  130. package/dist/PageHeader.cjs.js +1 -1
  131. package/dist/PageHeader.esm.js +9 -12
  132. package/dist/PageToolbar.cjs.js +1 -1
  133. package/dist/PageToolbar.esm.js +21 -26
  134. package/dist/Pagination.cjs.js +1 -1
  135. package/dist/Pagination.esm.js +52 -54
  136. package/dist/PanelGroup.cjs.js +1 -1
  137. package/dist/PanelGroup.esm.js +36 -38
  138. package/dist/PasswordField.cjs.js +1 -1
  139. package/dist/PasswordField.esm.js +89 -89
  140. package/dist/PinInput.cjs.js +1 -1
  141. package/dist/PinInput.esm.js +41 -43
  142. package/dist/PlacementGrid.cjs.js +1 -1
  143. package/dist/PlacementGrid.esm.js +1 -1
  144. package/dist/PluginPanel.cjs.js +1 -1
  145. package/dist/PluginPanel.esm.js +27 -30
  146. package/dist/Popover.cjs.js +1 -1
  147. package/dist/Popover.esm.js +36 -39
  148. package/dist/Portal.cjs.js +1 -1
  149. package/dist/Portal.esm.js +16 -17
  150. package/dist/Positioner.cjs.js +1 -1
  151. package/dist/Positioner.esm.js +25 -26
  152. package/dist/Presence.cjs.js +1 -1
  153. package/dist/Presence.esm.js +33 -37
  154. package/dist/Progress.cjs.js +1 -1
  155. package/dist/Progress.esm.js +34 -34
  156. package/dist/QuickActions.cjs.js +1 -1
  157. package/dist/QuickActions.esm.js +45 -47
  158. package/dist/Radio.cjs.js +1 -1
  159. package/dist/Radio.esm.js +50 -50
  160. package/dist/RadioGroup.cjs.js +1 -1
  161. package/dist/RadioGroup.esm.js +24 -24
  162. package/dist/Rating.cjs.js +1 -1
  163. package/dist/Rating.esm.js +52 -54
  164. package/dist/RecordHeader.cjs.js +1 -1
  165. package/dist/RecordHeader.esm.js +14 -19
  166. package/dist/RovingFocusGroup.cjs.js +1 -1
  167. package/dist/RovingFocusGroup.esm.js +18 -19
  168. package/dist/ScrollArea.cjs.js +1 -1
  169. package/dist/ScrollArea.esm.js +40 -42
  170. package/dist/Select.cjs.js +1 -1
  171. package/dist/Select.esm.js +99 -102
  172. package/dist/SelectionPopup.cjs.js +1 -1
  173. package/dist/SelectionPopup.esm.js +59 -62
  174. package/dist/Sidebar.cjs.js +1 -1
  175. package/dist/Sidebar.esm.js +198 -216
  176. package/dist/Skeleton.cjs.js +1 -1
  177. package/dist/Skeleton.esm.js +1 -1
  178. package/dist/Slider.cjs.js +1 -1
  179. package/dist/Slider.esm.js +63 -63
  180. package/dist/Slot.cjs.js +1 -1
  181. package/dist/Slot.esm.js +40 -42
  182. package/dist/Sortable.cjs.js +1 -1
  183. package/dist/Sortable.esm.js +152 -167
  184. package/dist/SpinningText.cjs.js +1 -1
  185. package/dist/SpinningText.esm.js +4 -7
  186. package/dist/SplitButton.cjs.js +2 -2
  187. package/dist/SplitButton.esm.js +144 -156
  188. package/dist/Stepper.cjs.js +1 -1
  189. package/dist/Stepper.esm.js +32 -32
  190. package/dist/Switch.cjs.js +1 -1
  191. package/dist/Switch.esm.js +42 -42
  192. package/dist/Table.cjs.js +1 -1
  193. package/dist/Table.esm.js +36 -37
  194. package/dist/Tabs.cjs.js +1 -1
  195. package/dist/Tabs.esm.js +59 -61
  196. package/dist/TagsInput.cjs.js +1 -1
  197. package/dist/TagsInput.esm.js +45 -45
  198. package/dist/Textarea.cjs.js +1 -1
  199. package/dist/Textarea.esm.js +87 -87
  200. package/dist/ThemeProvider.cjs.js +1 -1
  201. package/dist/ThemeProvider.esm.js +61 -63
  202. package/dist/TimePicker.cjs.js +1 -1
  203. package/dist/TimePicker.esm.js +70 -70
  204. package/dist/Timeline.esm.js +1 -2
  205. package/dist/Toast.cjs.js +1 -1
  206. package/dist/Toast.esm.js +37 -40
  207. package/dist/ToastAPI.esm.js +1 -2
  208. package/dist/Toggle.cjs.js +1 -1
  209. package/dist/Toggle.esm.js +39 -39
  210. package/dist/ToggleGroup.cjs.js +1 -1
  211. package/dist/ToggleGroup.esm.js +53 -57
  212. package/dist/Toolbar.esm.js +1 -2
  213. package/dist/Tooltip.cjs.js +1 -1
  214. package/dist/Tooltip.esm.js +48 -50
  215. package/dist/TransferList.cjs.js +1 -1
  216. package/dist/TransferList.esm.js +67 -69
  217. package/dist/Tree.cjs.js +1 -1
  218. package/dist/Tree.esm.js +36 -37
  219. package/dist/Wizard.cjs.js +1 -1
  220. package/dist/Wizard.esm.js +104 -109
  221. package/dist/{_internals-68620b0c.mjs → _internals-pNJ1oPIS.mjs} +7 -13
  222. package/dist/client.cjs.js +1 -1
  223. package/dist/client.esm.js +127 -172
  224. package/dist/components/Accordion.cjs.js +1 -1
  225. package/dist/components/Accordion.esm.js +1 -1
  226. package/dist/components/Alert.cjs.js +1 -1
  227. package/dist/components/Alert.esm.js +1 -1
  228. package/dist/components/AnimatedBeam.cjs.js +1 -1
  229. package/dist/components/AnimatedBeam.esm.js +1 -1
  230. package/dist/components/AnimatedList.cjs.js +1 -1
  231. package/dist/components/AnimatedList.esm.js +1 -1
  232. package/dist/components/AnimatedNumber.cjs.js +1 -1
  233. package/dist/components/AnimatedNumber.d.ts +1 -0
  234. package/dist/components/AnimatedNumber.d.ts.map +1 -1
  235. package/dist/components/AnimatedNumber.esm.js +7 -6
  236. package/dist/components/AnimatedText.cjs.js +1 -1
  237. package/dist/components/AnimatedText.esm.js +1 -1
  238. package/dist/components/Avatar.cjs.js +1 -1
  239. package/dist/components/Avatar.esm.js +1 -1
  240. package/dist/components/Badge.cjs.js +1 -1
  241. package/dist/components/Badge.esm.js +1 -1
  242. package/dist/components/BlockControls.cjs.js +1 -1
  243. package/dist/components/BlockControls.esm.js +1 -1
  244. package/dist/components/Breadcrumb.cjs.js +1 -1
  245. package/dist/components/Breadcrumb.esm.js +1 -1
  246. package/dist/components/Button.cjs.js +1 -1
  247. package/dist/components/Button.esm.js +1 -1
  248. package/dist/components/Calendar.cjs.js +1 -1
  249. package/dist/components/Calendar.esm.js +1 -1
  250. package/dist/components/Card.cjs.js +1 -1
  251. package/dist/components/Card.esm.js +1 -1
  252. package/dist/components/Carousel.cjs.js +1 -1
  253. package/dist/components/Carousel.esm.js +3 -5
  254. package/dist/components/Chart.cjs.js +1 -1
  255. package/dist/components/Chart.esm.js +1 -1
  256. package/dist/components/Checkbox.cjs.js +1 -1
  257. package/dist/components/Checkbox.esm.js +1 -1
  258. package/dist/components/Collapsible.cjs.js +1 -1
  259. package/dist/components/Collapsible.esm.js +1 -1
  260. package/dist/components/ColorPicker.cjs.js +1 -1
  261. package/dist/components/ColorPicker.esm.js +1 -1
  262. package/dist/components/Command.cjs.js +1 -1
  263. package/dist/components/Command.esm.js +1 -1
  264. package/dist/components/CommandPalette.cjs.js +1 -1
  265. package/dist/components/CommandPalette.esm.js +1 -1
  266. package/dist/components/CopyButton.cjs.js +1 -1
  267. package/dist/components/CopyButton.esm.js +3 -5
  268. package/dist/components/DataViewToolbar.cjs.js +1 -1
  269. package/dist/components/DataViewToolbar.esm.js +3 -10
  270. package/dist/components/DateField.cjs.js +1 -1
  271. package/dist/components/DateField.esm.js +1 -1
  272. package/dist/components/DatePicker.cjs.js +1 -1
  273. package/dist/components/DatePicker.esm.js +1 -1
  274. package/dist/components/DateRangePicker.cjs.js +1 -1
  275. package/dist/components/DateRangePicker.esm.js +1 -1
  276. package/dist/components/DateRangeTimePicker.cjs.js +1 -1
  277. package/dist/components/DateRangeTimePicker.esm.js +1 -1
  278. package/dist/components/DateTimePicker.cjs.js +1 -1
  279. package/dist/components/DateTimePicker.esm.js +1 -1
  280. package/dist/components/Dialog.cjs.js +1 -1
  281. package/dist/components/Dialog.esm.js +1 -1
  282. package/dist/components/Dock.cjs.js +1 -1
  283. package/dist/components/Dock.esm.js +1 -1
  284. package/dist/components/EmptyState.cjs.js +1 -1
  285. package/dist/components/EmptyState.esm.js +1 -1
  286. package/dist/components/FiltersBar.cjs.js +1 -1
  287. package/dist/components/FiltersBar.esm.js +3 -7
  288. package/dist/components/FloatingToolbar.cjs.js +1 -1
  289. package/dist/components/FloatingToolbar.esm.js +1 -1
  290. package/dist/components/HoverCard.cjs.js +1 -1
  291. package/dist/components/HoverCard.esm.js +1 -1
  292. package/dist/components/IconCloud.cjs.js +1 -1
  293. package/dist/components/IconCloud.esm.js +1 -1
  294. package/dist/components/Input.cjs.js +1 -1
  295. package/dist/components/Input.esm.js +1 -1
  296. package/dist/components/Marquee.cjs.js +1 -1
  297. package/dist/components/Marquee.esm.js +1 -1
  298. package/dist/components/MasonryGrid.cjs.js +1 -1
  299. package/dist/components/MasonryGrid.esm.js +1 -1
  300. package/dist/components/Menubar.cjs.js +1 -1
  301. package/dist/components/Menubar.esm.js +1 -1
  302. package/dist/components/Meter.cjs.js +1 -1
  303. package/dist/components/Meter.esm.js +1 -1
  304. package/dist/components/NumberField.cjs.js +1 -1
  305. package/dist/components/NumberField.esm.js +1 -1
  306. package/dist/components/NumberTicker.cjs.js +1 -1
  307. package/dist/components/NumberTicker.esm.js +1 -1
  308. package/dist/components/Orbiter.cjs.js +1 -1
  309. package/dist/components/Orbiter.esm.js +1 -1
  310. package/dist/components/PageHeader.cjs.js +1 -1
  311. package/dist/components/PageHeader.esm.js +3 -6
  312. package/dist/components/PageToolbar.cjs.js +1 -1
  313. package/dist/components/PageToolbar.esm.js +3 -8
  314. package/dist/components/PasswordField.cjs.js +1 -1
  315. package/dist/components/PasswordField.esm.js +1 -1
  316. package/dist/components/PinInput.cjs.js +1 -1
  317. package/dist/components/PinInput.esm.js +1 -1
  318. package/dist/components/PlacementGrid.cjs.js +1 -1
  319. package/dist/components/PlacementGrid.esm.js +1 -1
  320. package/dist/components/PluginPanel.cjs.js +1 -1
  321. package/dist/components/PluginPanel.esm.js +1 -1
  322. package/dist/components/Popover.cjs.js +1 -1
  323. package/dist/components/Popover.esm.js +1 -1
  324. package/dist/components/Progress.cjs.js +1 -1
  325. package/dist/components/Progress.esm.js +1 -1
  326. package/dist/components/QuickActions.cjs.js +1 -1
  327. package/dist/components/QuickActions.esm.js +1 -1
  328. package/dist/components/Radio.cjs.js +1 -1
  329. package/dist/components/Radio.esm.js +1 -1
  330. package/dist/components/RadioGroup.cjs.js +1 -1
  331. package/dist/components/RadioGroup.esm.js +1 -1
  332. package/dist/components/RecordHeader.cjs.js +1 -1
  333. package/dist/components/RecordHeader.esm.js +3 -8
  334. package/dist/components/Select.cjs.js +1 -1
  335. package/dist/components/Select.esm.js +1 -1
  336. package/dist/components/SelectionPopup.cjs.js +1 -1
  337. package/dist/components/SelectionPopup.esm.js +1 -1
  338. package/dist/components/Skeleton.cjs.js +1 -1
  339. package/dist/components/Skeleton.esm.js +1 -1
  340. package/dist/components/Slider.cjs.js +1 -1
  341. package/dist/components/Slider.esm.js +1 -1
  342. package/dist/components/Sortable.cjs.js +1 -1
  343. package/dist/components/Sortable.esm.js +1 -1
  344. package/dist/components/SpinningText.cjs.js +1 -1
  345. package/dist/components/SpinningText.esm.js +1 -1
  346. package/dist/components/Stepper.cjs.js +1 -1
  347. package/dist/components/Stepper.esm.js +1 -1
  348. package/dist/components/Switch.cjs.js +1 -1
  349. package/dist/components/Switch.esm.js +1 -1
  350. package/dist/components/TagsInput.cjs.js +1 -1
  351. package/dist/components/TagsInput.esm.js +1 -1
  352. package/dist/components/Textarea.cjs.js +1 -1
  353. package/dist/components/Textarea.esm.js +1 -1
  354. package/dist/components/TimePicker.cjs.js +1 -1
  355. package/dist/components/TimePicker.esm.js +1 -1
  356. package/dist/components/Toggle.cjs.js +1 -1
  357. package/dist/components/Toggle.esm.js +1 -1
  358. package/dist/components/ToggleGroup.cjs.js +1 -1
  359. package/dist/components/ToggleGroup.esm.js +2 -4
  360. package/dist/components/TransferList.cjs.js +1 -1
  361. package/dist/components/TransferList.esm.js +1 -1
  362. package/dist/index.cjs.js +1 -1
  363. package/dist/index.esm.js +1109 -1286
  364. package/dist/server.cjs.js +1 -1
  365. package/dist/server.esm.js +38 -52
  366. package/dist/ui-react.css +1 -0
  367. package/package.json +3 -3
  368. package/dist/style.css +0 -1
  369. /package/dist/{_internals-a238f8ce.js → _internals-C0zzLj8J.js} +0 -0
package/dist/index.esm.js CHANGED
@@ -1,607 +1,477 @@
1
1
  'use client';
2
2
  import "@editora/ui-core";
3
- import { Button as No } from "./Button.esm.js";
4
- import { Tooltip as $o } from "./Tooltip.esm.js";
5
- import { Alert as Bo, AlertActions as Vo, AlertDescription as Ho, AlertIcon as zo, AlertTitle as qo } from "./Alert.esm.js";
6
- import { Dropdown as Uo, DropdownContent as jo, DropdownItem as _o, DropdownSectionLabel as Qo, DropdownSeparator as Xo, DropdownTrigger as Yo } from "./Dropdown.esm.js";
7
- import { Input as Jo } from "./Input.esm.js";
8
- import { PasswordField as en } from "./PasswordField.esm.js";
9
- import { TagsInput as rn } from "./TagsInput.esm.js";
10
- import { OTPInput as nn, PinInput as sn } from "./PinInput.esm.js";
11
- import { Dropzone as ln, FileUpload as an } from "./FileUpload.esm.js";
12
- import { Textarea as cn } from "./Textarea.esm.js";
13
- import { Field as pn } from "./Field.esm.js";
14
- import { ControlGroup as gn, Description as yn, FieldError as xn, Fieldset as wn } from "./FieldSemantics.esm.js";
15
- import { FiltersBar as bn } from "./FiltersBar.esm.js";
16
- import { Combobox as vn } from "./Combobox.esm.js";
17
- import { Badge as An } from "./Badge.esm.js";
18
- import { EmptyState as In } from "./EmptyState.esm.js";
19
- import { Table as Mn } from "./Table.esm.js";
20
- import { DataTable as Tn } from "./DataTable.esm.js";
21
- import { Chart as Cn } from "./Chart.esm.js";
22
- import { Timeline as kn } from "./Timeline.esm.js";
23
- import { Carousel as On } from "./Carousel.esm.js";
24
- import { CodeBlock as Kn } from "./CodeBlock.esm.js";
25
- import { CodeSnippet as Vn } from "./CodeSnippet.esm.js";
26
- import { CopyButton as zn } from "./CopyButton.esm.js";
27
- import { DataViewToolbar as Gn } from "./DataViewToolbar.esm.js";
28
- import { Stat as jn } from "./Stat.esm.js";
29
- import { MetricCard as Qn } from "./MetricCard.esm.js";
30
- import { Calendar as Yn } from "./Calendar.esm.js";
31
- import { ColorPicker as Jn } from "./ColorPicker.esm.js";
32
- import { DatePicker as ei } from "./DatePicker.esm.js";
33
- import { DateRangePicker as ri } from "./DateRangePicker.esm.js";
34
- import { DateField as ni, TimeField as ii } from "./DateField.esm.js";
35
- import { NumberField as ui } from "./NumberField.esm.js";
36
- import { MultiSelect as ai } from "./MultiSelect.esm.js";
37
- import { SplitButton as ci } from "./SplitButton.esm.js";
38
- import { TransferList as pi } from "./TransferList.esm.js";
39
- import { Sortable as gi } from "./Sortable.esm.js";
40
- import { InlineEdit as xi } from "./InlineEdit.esm.js";
41
- import { TimePicker as Pi } from "./TimePicker.esm.js";
42
- import { DateTimePicker as Di } from "./DateTimePicker.esm.js";
43
- import { DateRangeTimePicker as hi } from "./DateRangeTimePicker.esm.js";
44
- import { Gantt as Ei } from "./Gantt.esm.js";
45
- import { Stepper as Ri } from "./Stepper.esm.js";
46
- import { Wizard as Fi } from "./Wizard.esm.js";
47
- import { Rating as Li } from "./Rating.esm.js";
48
- import { QuickActions as Si } from "./QuickActions.esm.js";
49
- import { NavigationMenu as Ni, NavigationMenuContent as Oi, NavigationMenuIndicator as $i, NavigationMenuItem as Ki, NavigationMenuLink as Bi, NavigationMenuList as Vi, NavigationMenuRoot as Hi, NavigationMenuTrigger as zi, NavigationMenuViewport as qi } from "./NavigationMenu.esm.js";
50
- import { Menubar as Ui } from "./Menubar.esm.js";
51
- import { Dialog as _i } from "./Dialog.esm.js";
52
- import { DialogProvider as Xi, useDialog as Yi } from "./DialogProvider.esm.js";
53
- import { Popover as Ji } from "./Popover.esm.js";
54
- import { Tabs as es } from "./Tabs.esm.js";
55
- import { Menu as rs, MenuItem as os, MenuSectionLabel as ns, MenuSeparator as is } from "./Menu.esm.js";
56
- import { Icon as us } from "./Icon.esm.js";
57
- import { ToastAPI as as, ToastProvider as fs, toast as cs, toastApi as ms, useToast as ps } from "./ToastAPI.esm.js";
58
- import { Toast as gs } from "./Toast.esm.js";
59
- import { FloatingToolbar as xs } from "./FloatingToolbar.esm.js";
60
- import { BlockControls as Ps } from "./BlockControls.esm.js";
61
- import { Kbd as Ds } from "./Kbd.esm.js";
62
- import { Shortcut as hs } from "./Shortcut.esm.js";
63
- import { Command as Es, CommandItem as Is } from "./Command.esm.js";
64
- import { CommandPalette as Ms, CommandPaletteItem as Fs } from "./CommandPalette.esm.js";
65
- import { ContextMenu as Ls } from "./ContextMenu.esm.js";
66
- import { SelectionPopup as Ss } from "./SelectionPopup.esm.js";
67
- import { PluginPanel as Ns } from "./PluginPanel.esm.js";
68
- import { Form as $s } from "./Form.esm.js";
69
- import S, { useRef as R, useCallback as D, useState as H, useLayoutEffect as Le, useEffect as K, createContext as ae, useMemo as V, useContext as re } from "react";
70
- import { createPositioner as Ue, createVirtualPoint as je } from "@editora/ui-core/runtime";
71
- import { createPortal as _e } from "react-dom";
72
- import { Box as Bs } from "./Box.esm.js";
73
- import { Flex as Hs } from "./Flex.esm.js";
74
- import { Grid as qs } from "./Grid.esm.js";
75
- import { PlacementGrid as Us } from "./PlacementGrid.esm.js";
76
- import { MasonryGrid as _s } from "./MasonryGrid.esm.js";
77
- import { Section as Xs } from "./Section.esm.js";
78
- import { Container as Zs } from "./Container.esm.js";
79
- import { Sidebar as Ws } from "./Sidebar.esm.js";
80
- import { Panel as tu, PanelGroup as ru, Splitter as ou } from "./PanelGroup.esm.js";
81
- import { Tree as iu } from "./Tree.esm.js";
82
- import { Breadcrumb as uu } from "./Breadcrumb.esm.js";
83
- import { AppHeader as au, AppHeaderCenter as fu, AppHeaderEnd as cu, AppHeaderStart as mu, AppHeaderSubtitle as pu, AppHeaderTitle as du } from "./AppHeader.esm.js";
84
- import { PageHeader as yu } from "./PageHeader.esm.js";
85
- import { PageToolbar as wu } from "./PageToolbar.esm.js";
86
- import { RecordHeader as bu } from "./RecordHeader.esm.js";
87
- import { Drawer as vu } from "./Drawer.esm.js";
88
- import { Layout as Au } from "./Layout.esm.js";
89
- import { ThemeProvider as Iu, useTheme as Ru } from "./ThemeProvider.esm.js";
90
- import { Collection as Fu } from "./Collection.esm.js";
91
- import { Listbox as Lu } from "./Listbox.esm.js";
92
- import { RovingFocusGroup as Su } from "./RovingFocusGroup.esm.js";
93
- import { DismissableLayer as Nu } from "./DismissableLayer.esm.js";
94
- import { FocusScope as $u } from "./FocusScope.esm.js";
95
- import { Positioner as Bu } from "./Positioner.esm.js";
96
- import { Anchor as Hu } from "./Anchor.esm.js";
97
- import { Checkbox as qu } from "./Checkbox.esm.js";
98
- import { Radio as Uu } from "./Radio.esm.js";
99
- import { RadioGroup as _u } from "./RadioGroup.esm.js";
100
- import { Switch as Xu } from "./Switch.esm.js";
101
- import { Toggle as Zu } from "./Toggle.esm.js";
102
- import { ToggleGroup as Wu } from "./ToggleGroup.esm.js";
103
- import { AspectRatio as tl } from "./AspectRatio.esm.js";
104
- import { Avatar as ol } from "./Avatar.esm.js";
105
- import { Presence as il } from "./Presence.esm.js";
106
- import { Progress as ul } from "./Progress.esm.js";
107
- import { Meter as al } from "./Meter.esm.js";
108
- import { Portal as cl } from "./Portal.esm.js";
109
- import { ScrollArea as pl } from "./ScrollArea.esm.js";
110
- import { Separator as gl } from "./Separator.esm.js";
111
- import { Slot as xl } from "./Slot.esm.js";
112
- import { Toolbar as Pl } from "./Toolbar.esm.js";
113
- import { VisuallyHidden as Dl } from "./VisuallyHidden.esm.js";
114
- import { Collapsible as hl } from "./Collapsible.esm.js";
115
- import { Pagination as El } from "./Pagination.esm.js";
116
- import { Accordion as Rl } from "./Accordion.esm.js";
117
- import { DirectionProvider as Fl } from "./DirectionProvider.esm.js";
118
- import { HoverCard as Ll } from "./HoverCard.esm.js";
119
- import { Card as Sl } from "./Card.esm.js";
120
- import { Label as Nl } from "./Label.esm.js";
121
- import { AlertDialog as $l, AlertDialogActions as Kl, AlertDialogContent as Bl, AlertDialogDescription as Vl, AlertDialogIcon as Hl, AlertDialogTitle as zl } from "./AlertDialog.esm.js";
122
- import { AlertDialogProvider as Gl, useAlertDialog as Ul } from "./AlertDialogProvider.esm.js";
123
- import { AnimatedText as _l } from "./AnimatedText.esm.js";
124
- import { SpinningText as Xl } from "./SpinningText.esm.js";
125
- import { NumberTicker as Zl } from "./NumberTicker.esm.js";
126
- import { AnimatedList as Wl } from "./AnimatedList.esm.js";
127
- import { AnimatedBeam as ta } from "./AnimatedBeam.esm.js";
128
- import { IconCloud as oa } from "./IconCloud.esm.js";
129
- import { Dock as ia } from "./Dock.esm.js";
130
- import { Orbiter as ua } from "./Orbiter.esm.js";
131
- import { Marquee as aa } from "./Marquee.esm.js";
132
- import { Select as ca } from "./Select.esm.js";
133
- import { Slider as pa } from "./Slider.esm.js";
134
- import { Skeleton as ga } from "./Skeleton.esm.js";
135
- import { AnimatedNumber as xa, useAnimatedNumber as wa, useAnimatedNumberValue as Pa } from "./AnimatedNumber.esm.js";
136
- import { toastAdvanced as Da, default as va, toastPro as ha } from "@editora/toast";
137
- import "@editora/ui-core/button";
138
- import "./_internals-68620b0c.mjs";
139
- import "@editora/ui-core/tooltip";
140
- import "@editora/ui-core/alert";
141
- import "@editora/ui-core/dropdown";
142
- import "@editora/ui-core/input";
143
- import "@editora/ui-core/password-field";
144
- import "@editora/ui-core/tags-input";
145
- import "@editora/ui-core/pin-input";
146
- import "@editora/ui-core/file-upload";
147
- import "@editora/ui-core/textarea";
148
- import "@editora/ui-core/field";
149
- import "@editora/ui-core/select";
150
- import "@editora/ui-core/combobox";
151
- import "@editora/ui-core/badge";
152
- import "@editora/ui-core/empty-state";
153
- import "@editora/ui-core/table";
154
- import "@editora/ui-core/data-table";
155
- import "@editora/ui-core/chart";
156
- import "@editora/ui-core/timeline";
157
- import "@editora/ui-core/calendar";
158
- import "@editora/ui-core/color-picker";
159
- import "@editora/ui-core/date-picker";
160
- import "@editora/ui-core/date-range-picker";
161
- import "@editora/ui-core/date-field";
162
- import "@editora/ui-core/number-field";
163
- import "@editora/ui-core/multi-select";
164
- import "@editora/ui-core/split-button";
165
- import "@editora/ui-core/transfer-list";
166
- import "@editora/ui-core/inline-edit";
167
- import "@editora/ui-core/time-picker";
168
- import "@editora/ui-core/date-time-picker";
169
- import "@editora/ui-core/date-range-time-picker";
170
- import "@editora/ui-core/gantt";
171
- import "@editora/ui-core/stepper";
172
- import "@editora/ui-core/wizard";
173
- import "@editora/ui-core/rating";
174
- import "@editora/ui-core/quick-actions";
175
- import "@editora/ui-core/navigation-menu";
176
- import "@editora/ui-core/menubar";
177
- import "@editora/ui-core/dialog";
178
- import "@editora/ui-core/popover";
179
- import "@editora/ui-core/tabs";
180
- import "@editora/ui-core/menu";
181
- import "@editora/ui-core/icon";
182
- import "@editora/ui-core/toast";
183
- import "@editora/ui-core/floating-toolbar";
184
- import "@editora/ui-core/block-controls";
185
- import "@editora/ui-core/command";
186
- import "@editora/ui-core/command-palette";
187
- import "@editora/ui-core/context-menu";
188
- import "@editora/ui-core/selection-popup";
189
- import "@editora/ui-core/plugin-panel";
190
- import "@editora/ui-core/form";
191
- import "@editora/ui-core/box";
192
- import "@editora/ui-core/flex";
193
- import "@editora/ui-core/grid";
194
- import "@editora/ui-core/placement-grid";
195
- import "@editora/ui-core/masonry-grid";
196
- import "@editora/ui-core/section";
197
- import "@editora/ui-core/container";
198
- import "@editora/ui-core/sidebar";
199
- import "react-dom/server";
200
- import "@editora/ui-core/panel-group";
201
- import "@editora/ui-core/tree";
202
- import "@editora/ui-core/breadcrumb";
203
- import "@editora/ui-core/app-header";
204
- import "@editora/ui-core/drawer";
205
- import "@editora/ui-core/layout";
206
- import "@editora/ui-core/collection";
207
- import "@editora/ui-core/listbox";
208
- import "@editora/ui-core/roving-focus-group";
209
- import "@editora/ui-core/dismissable-layer";
210
- import "@editora/ui-core/focus-scope";
211
- import "@editora/ui-core/positioner";
212
- import "@editora/ui-core/anchor";
213
- import "@editora/ui-core/checkbox";
214
- import "@editora/ui-core/radio";
215
- import "@editora/ui-core/radio-group";
216
- import "@editora/ui-core/switch";
217
- import "@editora/ui-core/toggle";
218
- import "@editora/ui-core/toggle-group";
219
- import "@editora/ui-core/aspect-ratio";
220
- import "@editora/ui-core/avatar";
221
- import "@editora/ui-core/presence";
222
- import "@editora/ui-core/progress";
223
- import "@editora/ui-core/meter";
224
- import "@editora/ui-core/portal";
225
- import "@editora/ui-core/scroll-area";
226
- import "@editora/ui-core/separator";
227
- import "@editora/ui-core/slot";
228
- import "@editora/ui-core/toolbar";
229
- import "@editora/ui-core/visually-hidden";
230
- import "@editora/ui-core/collapsible";
231
- import "@editora/ui-core/pagination";
232
- import "@editora/ui-core/accordion";
233
- import "@editora/ui-core/direction-provider";
234
- import "@editora/ui-core/hover-card";
235
- import "@editora/ui-core/card";
236
- import "@editora/ui-core/label";
237
- import "@editora/ui-core/alert-dialog";
238
- import "@editora/ui-core/animated-text";
239
- import "@editora/ui-core/spinning-text";
240
- import "@editora/ui-core/number-ticker";
241
- import "@editora/ui-core/animated-list";
242
- import "@editora/ui-core/animated-beam";
243
- import "@editora/ui-core/icon-cloud";
244
- import "@editora/ui-core/dock";
245
- import "@editora/ui-core/orbiter";
246
- import "@editora/ui-core/marquee";
247
- import "@editora/ui-core/slider";
248
- import "@editora/ui-core/skeleton";
249
- function ao() {
250
- const e = R(null), o = D(async () => {
251
- const c = e.current;
252
- return c ? await c.submit() : !1;
253
- }, []), r = D(async () => {
254
- const c = e.current;
255
- return c ? await c.validate() : { valid: !0, errors: {} };
256
- }, []), t = D(() => {
257
- var i;
258
- const c = e.current;
259
- return c ? (i = c.getValues) == null ? void 0 : i.call(c) : {};
260
- }, []), n = D((c) => {
261
- var u;
262
- const i = e.current;
263
- return (u = i == null ? void 0 : i.reset) == null ? void 0 : u.call(i, c);
264
- }, []), f = D(() => {
265
- var i;
266
- const c = e.current;
267
- return c ? typeof c.isDirty == "function" ? !!c.isDirty() : ((i = c.hasAttribute) == null ? void 0 : i.call(c, "dirty")) || !1 : !1;
268
- }, []), s = D((c) => {
269
- var u;
270
- const i = e.current;
271
- return (u = i == null ? void 0 : i.markClean) == null ? void 0 : u.call(i, c);
272
- }, []);
273
- return { ref: e, submit: o, validate: r, getValues: t, reset: n, isDirty: f, markClean: s };
3
+ import { Button as Mt } from "./Button.esm.js";
4
+ import { Tooltip as Ct } from "./Tooltip.esm.js";
5
+ import { Alert as Lt, AlertActions as St, AlertDescription as Ot, AlertIcon as kt, AlertTitle as Nt } from "./Alert.esm.js";
6
+ import { Dropdown as $t, DropdownContent as Bt, DropdownItem as Ht, DropdownSectionLabel as Gt, DropdownSeparator as Vt, DropdownTrigger as zt } from "./Dropdown.esm.js";
7
+ import { Input as Ut } from "./Input.esm.js";
8
+ import { PasswordField as _t } from "./PasswordField.esm.js";
9
+ import { TagsInput as Xt } from "./TagsInput.esm.js";
10
+ import { OTPInput as Zt, PinInput as Jt } from "./PinInput.esm.js";
11
+ import { Dropzone as er, FileUpload as tr } from "./FileUpload.esm.js";
12
+ import { Textarea as nr } from "./Textarea.esm.js";
13
+ import { Field as ir } from "./Field.esm.js";
14
+ import { ControlGroup as ur, Description as ar, FieldError as lr, Fieldset as fr } from "./FieldSemantics.esm.js";
15
+ import { FiltersBar as mr } from "./FiltersBar.esm.js";
16
+ import { Combobox as pr } from "./Combobox.esm.js";
17
+ import { Badge as yr } from "./Badge.esm.js";
18
+ import { EmptyState as xr } from "./EmptyState.esm.js";
19
+ import { Table as Dr } from "./Table.esm.js";
20
+ import { DataTable as hr } from "./DataTable.esm.js";
21
+ import { Chart as Ar } from "./Chart.esm.js";
22
+ import { Timeline as Er } from "./Timeline.esm.js";
23
+ import { Carousel as Mr } from "./Carousel.esm.js";
24
+ import { CodeBlock as Cr } from "./CodeBlock.esm.js";
25
+ import { CodeSnippet as Lr } from "./CodeSnippet.esm.js";
26
+ import { CopyButton as Or } from "./CopyButton.esm.js";
27
+ import { DataViewToolbar as Nr } from "./DataViewToolbar.esm.js";
28
+ import { Stat as $r } from "./Stat.esm.js";
29
+ import { MetricCard as Hr } from "./MetricCard.esm.js";
30
+ import { Calendar as Vr } from "./Calendar.esm.js";
31
+ import { ColorPicker as qr } from "./ColorPicker.esm.js";
32
+ import { DatePicker as jr } from "./DatePicker.esm.js";
33
+ import { DateRangePicker as Qr } from "./DateRangePicker.esm.js";
34
+ import { DateField as Yr, TimeField as Zr } from "./DateField.esm.js";
35
+ import { NumberField as Wr } from "./NumberField.esm.js";
36
+ import { MultiSelect as tn } from "./MultiSelect.esm.js";
37
+ import { SplitButton as nn } from "./SplitButton.esm.js";
38
+ import { TransferList as sn } from "./TransferList.esm.js";
39
+ import { Sortable as an } from "./Sortable.esm.js";
40
+ import { InlineEdit as fn } from "./InlineEdit.esm.js";
41
+ import { TimePicker as mn } from "./TimePicker.esm.js";
42
+ import { DateTimePicker as pn } from "./DateTimePicker.esm.js";
43
+ import { DateRangeTimePicker as yn } from "./DateRangeTimePicker.esm.js";
44
+ import { Gantt as xn } from "./Gantt.esm.js";
45
+ import { Stepper as Dn } from "./Stepper.esm.js";
46
+ import { Wizard as hn } from "./Wizard.esm.js";
47
+ import { Rating as An } from "./Rating.esm.js";
48
+ import { QuickActions as En } from "./QuickActions.esm.js";
49
+ import { NavigationMenu as Mn, NavigationMenuContent as Tn, NavigationMenuIndicator as Cn, NavigationMenuItem as Fn, NavigationMenuLink as Ln, NavigationMenuList as Sn, NavigationMenuRoot as On, NavigationMenuTrigger as kn, NavigationMenuViewport as Nn } from "./NavigationMenu.esm.js";
50
+ import { Menubar as $n } from "./Menubar.esm.js";
51
+ import { Dialog as Hn } from "./Dialog.esm.js";
52
+ import { DialogProvider as Vn, useDialog as zn } from "./DialogProvider.esm.js";
53
+ import { Popover as Un } from "./Popover.esm.js";
54
+ import { Tabs as _n } from "./Tabs.esm.js";
55
+ import { Menu as Xn, MenuItem as Yn, MenuSectionLabel as Zn, MenuSeparator as Jn } from "./Menu.esm.js";
56
+ import { Icon as eo } from "./Icon.esm.js";
57
+ import { ToastAPI as ro, ToastProvider as no, toast as oo, toastApi as io, useToast as so } from "./ToastAPI.esm.js";
58
+ import { Toast as ao } from "./Toast.esm.js";
59
+ import { FloatingToolbar as fo } from "./FloatingToolbar.esm.js";
60
+ import { BlockControls as mo } from "./BlockControls.esm.js";
61
+ import { Kbd as go } from "./Kbd.esm.js";
62
+ import { Shortcut as wo } from "./Shortcut.esm.js";
63
+ import { Command as bo, CommandItem as Do } from "./Command.esm.js";
64
+ import { CommandPalette as ho, CommandPaletteItem as vo } from "./CommandPalette.esm.js";
65
+ import { ContextMenu as Io } from "./ContextMenu.esm.js";
66
+ import { SelectionPopup as Ro } from "./SelectionPopup.esm.js";
67
+ import { PluginPanel as To } from "./PluginPanel.esm.js";
68
+ import { Form as Fo } from "./Form.esm.js";
69
+ import F, { useRef as A, useCallback as b, useState as H, useLayoutEffect as Te, useEffect as N, createContext as ue, useMemo as $, useContext as ee } from "react";
70
+ import { createPositioner as ze, createVirtualPoint as qe } from "@editora/ui-core/runtime";
71
+ import { createPortal as Ue } from "react-dom";
72
+ import { Box as So } from "./Box.esm.js";
73
+ import { Flex as ko } from "./Flex.esm.js";
74
+ import { Grid as Ko } from "./Grid.esm.js";
75
+ import { PlacementGrid as Bo } from "./PlacementGrid.esm.js";
76
+ import { MasonryGrid as Go } from "./MasonryGrid.esm.js";
77
+ import { Section as zo } from "./Section.esm.js";
78
+ import { Container as Uo } from "./Container.esm.js";
79
+ import { Sidebar as _o } from "./Sidebar.esm.js";
80
+ import { Panel as Xo, PanelGroup as Yo, Splitter as Zo } from "./PanelGroup.esm.js";
81
+ import { Tree as Wo } from "./Tree.esm.js";
82
+ import { Breadcrumb as ti } from "./Breadcrumb.esm.js";
83
+ import { AppHeader as ni, AppHeaderCenter as oi, AppHeaderEnd as ii, AppHeaderStart as si, AppHeaderSubtitle as ui, AppHeaderTitle as ai } from "./AppHeader.esm.js";
84
+ import { PageHeader as fi } from "./PageHeader.esm.js";
85
+ import { PageToolbar as mi } from "./PageToolbar.esm.js";
86
+ import { RecordHeader as pi } from "./RecordHeader.esm.js";
87
+ import { Drawer as yi } from "./Drawer.esm.js";
88
+ import { Layout as xi } from "./Layout.esm.js";
89
+ import { ThemeProvider as Di, useTheme as Pi } from "./ThemeProvider.esm.js";
90
+ import { Collection as vi } from "./Collection.esm.js";
91
+ import { Listbox as Ii } from "./Listbox.esm.js";
92
+ import { RovingFocusGroup as Ri } from "./RovingFocusGroup.esm.js";
93
+ import { DismissableLayer as Ti } from "./DismissableLayer.esm.js";
94
+ import { FocusScope as Fi } from "./FocusScope.esm.js";
95
+ import { Positioner as Si } from "./Positioner.esm.js";
96
+ import { Anchor as ki } from "./Anchor.esm.js";
97
+ import { Checkbox as Ki } from "./Checkbox.esm.js";
98
+ import { Radio as Bi } from "./Radio.esm.js";
99
+ import { RadioGroup as Gi } from "./RadioGroup.esm.js";
100
+ import { Switch as zi } from "./Switch.esm.js";
101
+ import { Toggle as Ui } from "./Toggle.esm.js";
102
+ import { ToggleGroup as _i } from "./ToggleGroup.esm.js";
103
+ import { AspectRatio as Xi } from "./AspectRatio.esm.js";
104
+ import { Avatar as Zi } from "./Avatar.esm.js";
105
+ import { Presence as Wi } from "./Presence.esm.js";
106
+ import { Progress as ts } from "./Progress.esm.js";
107
+ import { Meter as ns } from "./Meter.esm.js";
108
+ import { Portal as is } from "./Portal.esm.js";
109
+ import { ScrollArea as us } from "./ScrollArea.esm.js";
110
+ import { Separator as ls } from "./Separator.esm.js";
111
+ import { Slot as cs } from "./Slot.esm.js";
112
+ import { Toolbar as ds } from "./Toolbar.esm.js";
113
+ import { VisuallyHidden as gs } from "./VisuallyHidden.esm.js";
114
+ import { Collapsible as ws } from "./Collapsible.esm.js";
115
+ import { Pagination as bs } from "./Pagination.esm.js";
116
+ import { Accordion as Ps } from "./Accordion.esm.js";
117
+ import { DirectionProvider as vs } from "./DirectionProvider.esm.js";
118
+ import { HoverCard as Is } from "./HoverCard.esm.js";
119
+ import { Card as Rs } from "./Card.esm.js";
120
+ import { Label as Ts } from "./Label.esm.js";
121
+ import { AlertDialog as Fs, AlertDialogActions as Ls, AlertDialogContent as Ss, AlertDialogDescription as Os, AlertDialogIcon as ks, AlertDialogTitle as Ns } from "./AlertDialog.esm.js";
122
+ import { AlertDialogProvider as $s, useAlertDialog as Bs } from "./AlertDialogProvider.esm.js";
123
+ import { AnimatedText as Gs } from "./AnimatedText.esm.js";
124
+ import { SpinningText as zs } from "./SpinningText.esm.js";
125
+ import { NumberTicker as Us } from "./NumberTicker.esm.js";
126
+ import { AnimatedList as _s } from "./AnimatedList.esm.js";
127
+ import { AnimatedBeam as Xs } from "./AnimatedBeam.esm.js";
128
+ import { IconCloud as Zs } from "./IconCloud.esm.js";
129
+ import { Dock as Ws } from "./Dock.esm.js";
130
+ import { Orbiter as tu } from "./Orbiter.esm.js";
131
+ import { Marquee as nu } from "./Marquee.esm.js";
132
+ import { Select as iu } from "./Select.esm.js";
133
+ import { Slider as uu } from "./Slider.esm.js";
134
+ import { Skeleton as lu } from "./Skeleton.esm.js";
135
+ import { AnimatedNumber as cu, useAnimatedNumber as mu, useAnimatedNumberValue as du } from "./AnimatedNumber.esm.js";
136
+ import { toastAdvanced as gu, default as yu, toastPro as wu } from "@editora/toast";
137
+ function nt() {
138
+ const e = A(null), n = b(async () => {
139
+ const l = e.current;
140
+ return l ? await l.submit() : !1;
141
+ }, []), t = b(async () => {
142
+ const l = e.current;
143
+ return l ? await l.validate() : { valid: !0, errors: {} };
144
+ }, []), r = b(() => {
145
+ const l = e.current;
146
+ return l ? l.getValues?.() : {};
147
+ }, []), o = b((l) => e.current?.reset?.(l), []), u = b(() => {
148
+ const l = e.current;
149
+ return l ? typeof l.isDirty == "function" ? !!l.isDirty() : l.hasAttribute?.("dirty") || !1 : !1;
150
+ }, []), i = b((l) => e.current?.markClean?.(l), []);
151
+ return { ref: e, submit: n, validate: t, getValues: r, reset: o, isDirty: u, markClean: i };
274
152
  }
275
- const Te = typeof window < "u" ? Le : K;
276
- function ye(e, o) {
153
+ const Me = typeof window < "u" ? Te : N;
154
+ function ge(e, n) {
277
155
  if (e) {
278
156
  if (typeof e == "function") {
279
- e(o);
157
+ e(n);
280
158
  return;
281
159
  }
282
- e.current = o;
160
+ e.current = n;
283
161
  }
284
162
  }
285
- function xe(...e) {
286
- return (o) => {
287
- e.forEach((r) => ye(r, o));
163
+ function ye(...e) {
164
+ return (n) => {
165
+ e.forEach((t) => ge(t, n));
288
166
  };
289
167
  }
290
- function Qe(...e) {
291
- return (...o) => {
292
- e.forEach((r) => r == null ? void 0 : r(...o));
168
+ function je(...e) {
169
+ return (...n) => {
170
+ e.forEach((t) => t?.(...n));
293
171
  };
294
172
  }
295
- function k(e, o, r = {}) {
296
- return (t) => {
297
- e == null || e(t), !((r.checkDefaultPrevented ?? !0) && t.defaultPrevented) && o(t);
173
+ function S(e, n, t = {}) {
174
+ return (r) => {
175
+ e?.(r), !((t.checkDefaultPrevented ?? !0) && r.defaultPrevented) && n(r);
298
176
  };
299
177
  }
300
- function fo(e) {
178
+ function ot(e) {
301
179
  const {
302
- placement: o = "bottom",
303
- offset: r = 8,
304
- open: t,
305
- onOpen: n,
306
- onClose: f,
307
- onOpenChange: s,
308
- role: c = "menu",
309
- flip: i = !0,
310
- shift: u = !0,
311
- matchWidth: a = !1,
312
- fitViewport: m = !1,
180
+ placement: n = "bottom",
181
+ offset: t = 8,
182
+ open: r,
183
+ onOpen: o,
184
+ onClose: u,
185
+ onOpenChange: i,
186
+ role: l = "menu",
187
+ flip: p = !0,
188
+ shift: a = !0,
189
+ matchWidth: m = !1,
190
+ fitViewport: f = !1,
313
191
  strategy: d = "absolute",
314
- arrowPadding: l = 8,
315
- dir: p,
316
- boundary: y = null,
317
- boundaryPadding: P,
318
- autoPlacement: F = !1,
192
+ arrowPadding: s = 8,
193
+ dir: c,
194
+ boundary: g = null,
195
+ boundaryPadding: h,
196
+ autoPlacement: O = !1,
319
197
  allowedPlacements: E,
320
- fallbackPlacements: M,
198
+ fallbackPlacements: T,
321
199
  inline: I = !1,
322
- hideWhenDetached: L = !1,
323
- observeWindowResize: B,
324
- observeScroll: T,
325
- observeAncestorScroll: N,
326
- observeAncestorResize: U,
327
- observeLayoutShift: j,
328
- observeAnchorResize: g,
329
- observeFloatingResize: b,
330
- animationFrame: A,
331
- middleware: C
332
- } = e || {}, O = R(null), v = R(null), z = R(null), Y = R(null), te = R(null), oe = R(`floating-${Math.random().toString(36).slice(2, 9)}`), [$e, be] = H(0), [De, Ke] = H(null), [Z, Be] = H(null), [ve, Ve] = H(null), [J, He] = H({ top: 0, left: 0, placement: o }), fe = typeof t < "u", [ze, qe] = H(!!t), q = fe ? !!t : ze, he = D(() => {
333
- var x;
334
- (x = te.current) == null || x.update();
335
- }, []), _ = D(
336
- (x, w = "manual") => {
337
- fe || qe(x), s == null || s(x, w), x ? n == null || n(w) : f == null || f(w);
200
+ hideWhenDetached: R = !1,
201
+ observeWindowResize: L,
202
+ observeScroll: k,
203
+ observeAncestorScroll: z,
204
+ observeAncestorResize: V,
205
+ observeLayoutShift: Q,
206
+ observeAnchorResize: y,
207
+ observeFloatingResize: D,
208
+ animationFrame: v,
209
+ middleware: M
210
+ } = e || {}, B = A(null), C = A(null), q = A(null), ae = A(null), W = A(null), te = A(`floating-${Math.random().toString(36).slice(2, 9)}`), [ke, be] = H(0), [De, Ne] = H(null), [X, Ke] = H(null), [Pe, $e] = H(null), [Y, Be] = H({ top: 0, left: 0, placement: n }), le = typeof r < "u", [He, Ge] = H(!!r), G = le ? !!r : He, he = b(() => {
211
+ W.current?.update();
212
+ }, []), U = b(
213
+ (w, x = "manual") => {
214
+ le || Ge(w), i?.(w, x), w ? o?.(x) : u?.(x);
338
215
  },
339
- [fe, n, f, s]
340
- ), ce = D((x = "manual") => _(!q, x), [q, _]), Ae = D((x = "manual") => _(!0, x), [_]), Ee = D((x = "manual") => _(!1, x), [_]);
341
- Te(() => {
342
- var h;
343
- if (!q)
344
- return;
345
- const x = De, w = Z;
346
- if (!x || !w)
347
- return;
348
- const $ = w.style.visibility, X = w.style.pointerEvents, W = !w.offsetWidth && !w.offsetHeight;
349
- return W && (w.style.visibility = "hidden", w.style.pointerEvents = "none"), (h = te.current) == null || h.destroy(), te.current = Ue({
350
- anchor: Y.current || x,
351
- floating: w,
352
- placement: o,
216
+ [le, o, u, i]
217
+ ), fe = b((w = "manual") => U(!G, w), [G, U]), ve = b((w = "manual") => U(!0, w), [U]), Ae = b((w = "manual") => U(!1, w), [U]);
218
+ Me(() => {
219
+ if (!G) return;
220
+ const w = De, x = X;
221
+ if (!w || !x) return;
222
+ const K = x.style.visibility, _ = x.style.pointerEvents, Z = !x.offsetWidth && !x.offsetHeight;
223
+ return Z && (x.style.visibility = "hidden", x.style.pointerEvents = "none"), W.current?.destroy(), W.current = ze({
224
+ anchor: ae.current || w,
225
+ floating: x,
226
+ placement: n,
353
227
  strategy: d,
354
- offset: r,
355
- flip: i,
356
- shift: u,
357
- matchWidth: a,
358
- fitViewport: m,
359
- arrow: ve,
360
- arrowPadding: l,
361
- dir: p,
362
- boundary: y,
363
- boundaryPadding: P,
364
- autoPlacement: F,
228
+ offset: t,
229
+ flip: p,
230
+ shift: a,
231
+ matchWidth: m,
232
+ fitViewport: f,
233
+ arrow: Pe,
234
+ arrowPadding: s,
235
+ dir: c,
236
+ boundary: g,
237
+ boundaryPadding: h,
238
+ autoPlacement: O,
365
239
  allowedPlacements: E,
366
- fallbackPlacements: M,
240
+ fallbackPlacements: T,
367
241
  inline: I,
368
- hideWhenDetached: L,
369
- observeWindowResize: B,
370
- observeScroll: T,
371
- observeAncestorScroll: N,
372
- observeAncestorResize: U,
373
- observeLayoutShift: j,
374
- observeAnchorResize: g,
375
- observeFloatingResize: b,
376
- animationFrame: A,
377
- middleware: C,
378
- onUpdate: (G) => {
379
- var Fe;
380
- He({
381
- top: Math.round(G.y),
382
- left: Math.round(G.x),
383
- placement: G.placement,
384
- arrow: (Fe = G.middlewareData) != null && Fe.arrow ? {
385
- x: G.middlewareData.arrow.x,
386
- y: G.middlewareData.arrow.y,
387
- centerOffset: G.middlewareData.arrow.centerOffset
242
+ hideWhenDetached: R,
243
+ observeWindowResize: L,
244
+ observeScroll: k,
245
+ observeAncestorScroll: z,
246
+ observeAncestorResize: V,
247
+ observeLayoutShift: Q,
248
+ observeAnchorResize: y,
249
+ observeFloatingResize: D,
250
+ animationFrame: v,
251
+ middleware: M,
252
+ onUpdate: (P) => {
253
+ Be({
254
+ top: Math.round(P.y),
255
+ left: Math.round(P.x),
256
+ placement: P.placement,
257
+ arrow: P.middlewareData?.arrow ? {
258
+ x: P.middlewareData.arrow.x,
259
+ y: P.middlewareData.arrow.y,
260
+ centerOffset: P.middlewareData.arrow.centerOffset
388
261
  } : void 0
389
262
  });
390
263
  }
391
264
  }), () => {
392
- var G;
393
- W && (w.style.visibility = $, w.style.pointerEvents = X), (G = te.current) == null || G.destroy(), te.current = null;
265
+ Z && (x.style.visibility = K, x.style.pointerEvents = _), W.current?.destroy(), W.current = null;
394
266
  };
395
267
  }, [
396
- q,
397
- o,
268
+ G,
269
+ n,
398
270
  d,
399
- r,
400
- i,
401
- u,
271
+ t,
272
+ p,
402
273
  a,
403
274
  m,
404
- $e,
275
+ f,
276
+ ke,
405
277
  De,
406
- Z,
407
- ve,
408
- l,
409
- p,
410
- y,
411
- P,
412
- F,
278
+ X,
279
+ Pe,
280
+ s,
281
+ c,
282
+ g,
283
+ h,
284
+ O,
413
285
  E,
414
- M,
286
+ T,
415
287
  I,
288
+ R,
416
289
  L,
417
- B,
418
- T,
419
- N,
420
- U,
421
- j,
422
- g,
423
- b,
424
- A,
425
- C
426
- ]), Te(() => {
427
- !q || !Z || (Z.style.visibility = "", Z.style.pointerEvents = "");
428
- }, [J.left, J.top, q, Z]);
429
- const ne = D((x) => {
430
- O.current = x, Ke((w) => w === x ? w : x);
431
- }, []), ie = D((x) => {
432
- v.current = x, Be((w) => w === x ? w : x);
433
- }, []), me = D((x) => {
434
- z.current = x, Ve((w) => w === x ? w : x);
435
- }, []), pe = D((x) => {
436
- Y.current = x, be((w) => w + 1);
437
- }, []), Ge = D((x, w) => {
438
- const $ = O.current || v.current || void 0;
439
- Y.current = je(x, w, $), be((X) => X + 1);
440
- }, []), se = () => v.current ? Array.from(
441
- v.current.querySelectorAll('[role="menuitem"], .item, [data-menu-item]')
442
- ).filter(Boolean) : [], ue = (x) => {
443
- const w = se();
444
- if (!w.length)
445
- return;
446
- const $ = Math.max(0, Math.min(w.length - 1, x));
290
+ k,
291
+ z,
292
+ V,
293
+ Q,
294
+ y,
295
+ D,
296
+ v,
297
+ M
298
+ ]), Me(() => {
299
+ !G || !X || (X.style.visibility = "", X.style.pointerEvents = "");
300
+ }, [Y.left, Y.top, G, X]);
301
+ const re = b((w) => {
302
+ B.current = w, Ne((x) => x === w ? x : w);
303
+ }, []), ne = b((w) => {
304
+ C.current = w, Ke((x) => x === w ? x : w);
305
+ }, []), ce = b((w) => {
306
+ q.current = w, $e((x) => x === w ? x : w);
307
+ }, []), me = b((w) => {
308
+ ae.current = w, be((x) => x + 1);
309
+ }, []), Ve = b((w, x) => {
310
+ const K = B.current || C.current || void 0;
311
+ ae.current = qe(w, x, K), be((_) => _ + 1);
312
+ }, []), oe = () => C.current ? Array.from(
313
+ C.current.querySelectorAll('[role="menuitem"], .item, [data-menu-item]')
314
+ ).filter(Boolean) : [], ie = (w) => {
315
+ const x = oe();
316
+ if (!x.length) return;
317
+ const K = Math.max(0, Math.min(x.length - 1, w));
447
318
  try {
448
- w[$].focus();
319
+ x[K].focus();
449
320
  } catch {
450
321
  }
451
- }, de = () => ue(0), Ie = () => {
452
- const x = se();
453
- x.length && ue(x.length - 1);
322
+ }, de = () => ie(0), Ie = () => {
323
+ const w = oe();
324
+ w.length && ie(w.length - 1);
325
+ }, Ee = () => {
326
+ const w = oe(), x = w.findIndex((K) => K === document.activeElement);
327
+ ie(x < 0 ? 0 : (x + 1) % w.length);
454
328
  }, Re = () => {
455
- const x = se(), w = x.findIndex(($) => $ === document.activeElement);
456
- ue(w < 0 ? 0 : (w + 1) % x.length);
457
- }, Me = () => {
458
- const x = se(), w = x.findIndex(($) => $ === document.activeElement);
459
- ue(w <= 0 ? x.length - 1 : w - 1);
329
+ const w = oe(), x = w.findIndex((K) => K === document.activeElement);
330
+ ie(x <= 0 ? w.length - 1 : x - 1);
460
331
  };
461
332
  return {
462
- referenceRef: ne,
463
- floatingRef: ie,
464
- arrowRef: me,
465
- setPositionReference: pe,
466
- setClientPoint: Ge,
467
- coords: J,
333
+ referenceRef: re,
334
+ floatingRef: ne,
335
+ arrowRef: ce,
336
+ setPositionReference: me,
337
+ setClientPoint: Ve,
338
+ coords: Y,
468
339
  update: he,
469
- open: q,
470
- setOpen: _,
471
- toggle: ce,
472
- openPopup: Ae,
473
- closePopup: Ee,
474
- getReferenceProps: (x = {}) => {
475
- const { onClick: w, onKeyDown: $, ref: X, ...W } = x;
340
+ open: G,
341
+ setOpen: U,
342
+ toggle: fe,
343
+ openPopup: ve,
344
+ closePopup: Ae,
345
+ getReferenceProps: (w = {}) => {
346
+ const { onClick: x, onKeyDown: K, ref: _, ...Z } = w;
476
347
  return {
477
- ...W,
478
- ref: (h) => {
479
- ne(h), ye(X, h);
348
+ ...Z,
349
+ ref: (P) => {
350
+ re(P), ge(_, P);
480
351
  },
481
- "aria-haspopup": c,
482
- "aria-controls": oe.current,
483
- "aria-expanded": q ? "true" : "false",
484
- onClick: (h) => {
485
- w == null || w(h), !h.defaultPrevented && ce();
352
+ "aria-haspopup": l,
353
+ "aria-controls": te.current,
354
+ "aria-expanded": G ? "true" : "false",
355
+ onClick: (P) => {
356
+ x?.(P), !P.defaultPrevented && fe();
486
357
  },
487
- onKeyDown: (h) => {
488
- $ == null || $(h), !h.defaultPrevented && h.key === "ArrowDown" && (h.preventDefault(), Ae("list-navigation"), setTimeout(() => de(), 0));
358
+ onKeyDown: (P) => {
359
+ K?.(P), !P.defaultPrevented && P.key === "ArrowDown" && (P.preventDefault(), ve("list-navigation"), setTimeout(() => de(), 0));
489
360
  }
490
361
  };
491
362
  },
492
- getFloatingProps: (x = {}) => {
493
- const { onKeyDown: w, style: $, ref: X, ...W } = x;
363
+ getFloatingProps: (w = {}) => {
364
+ const { onKeyDown: x, style: K, ref: _, ...Z } = w;
494
365
  return {
495
- ...W,
496
- id: oe.current,
497
- ref: (h) => {
498
- ie(h), ye(X, h);
366
+ ...Z,
367
+ id: te.current,
368
+ ref: (P) => {
369
+ ne(P), ge(_, P);
499
370
  },
500
- role: c,
371
+ role: l,
501
372
  tabIndex: -1,
502
373
  style: {
503
- ...$ || {},
374
+ ...K || {},
504
375
  position: d,
505
- top: J.top,
506
- left: J.left
376
+ top: Y.top,
377
+ left: Y.left
507
378
  },
508
- hidden: !q,
509
- onKeyDown: (h) => {
510
- w == null || w(h), !h.defaultPrevented && (h.key === "Escape" ? (h.preventDefault(), Ee("dismiss")) : h.key === "ArrowDown" ? (h.preventDefault(), Re()) : h.key === "ArrowUp" ? (h.preventDefault(), Me()) : h.key === "Home" ? (h.preventDefault(), de()) : h.key === "End" && (h.preventDefault(), Ie()));
379
+ hidden: !G,
380
+ onKeyDown: (P) => {
381
+ x?.(P), !P.defaultPrevented && (P.key === "Escape" ? (P.preventDefault(), Ae("dismiss")) : P.key === "ArrowDown" ? (P.preventDefault(), Ee()) : P.key === "ArrowUp" ? (P.preventDefault(), Re()) : P.key === "Home" ? (P.preventDefault(), de()) : P.key === "End" && (P.preventDefault(), Ie()));
511
382
  }
512
383
  };
513
384
  },
514
385
  focusFirstItem: de,
515
386
  focusLastItem: Ie,
516
- focusNext: Re,
517
- focusPrev: Me,
387
+ focusNext: Ee,
388
+ focusPrev: Re,
518
389
  refs: {
519
- reference: O,
520
- floating: v,
521
- arrow: z,
522
- setReference: ne,
523
- setFloating: ie,
524
- setArrow: me,
525
- setPositionReference: pe
390
+ reference: B,
391
+ floating: C,
392
+ arrow: q,
393
+ setReference: re,
394
+ setFloating: ne,
395
+ setArrow: ce,
396
+ setPositionReference: me
526
397
  },
527
398
  elements: {
528
399
  get reference() {
529
- return O.current;
400
+ return B.current;
530
401
  },
531
402
  get floating() {
532
- return v.current;
403
+ return C.current;
533
404
  },
534
405
  get arrow() {
535
- return z.current;
406
+ return q.current;
536
407
  }
537
408
  },
538
- floatingId: oe.current,
539
- role: c,
540
- placement: o,
409
+ floatingId: te.current,
410
+ role: l,
411
+ placement: n,
541
412
  context: {
542
- open: q,
543
- setOpen: _,
544
- toggle: ce,
413
+ open: G,
414
+ setOpen: U,
415
+ toggle: fe,
545
416
  refs: {
546
- reference: O,
547
- floating: v,
548
- arrow: z,
549
- setReference: ne,
550
- setFloating: ie,
551
- setArrow: me,
552
- setPositionReference: pe
417
+ reference: B,
418
+ floating: C,
419
+ arrow: q,
420
+ setReference: re,
421
+ setFloating: ne,
422
+ setArrow: ce,
423
+ setPositionReference: me
553
424
  },
554
425
  elements: {
555
426
  get reference() {
556
- return O.current;
427
+ return B.current;
557
428
  },
558
429
  get floating() {
559
- return v.current;
430
+ return C.current;
560
431
  },
561
432
  get arrow() {
562
- return z.current;
433
+ return q.current;
563
434
  }
564
435
  },
565
- coords: J,
436
+ coords: Y,
566
437
  update: he,
567
- floatingId: oe.current,
568
- role: c,
569
- placement: o,
438
+ floatingId: te.current,
439
+ role: l,
440
+ placement: n,
570
441
  strategy: d
571
442
  }
572
443
  };
573
444
  }
574
- function ge(e, o = {}) {
575
- return e.reduce((r, t) => {
576
- const n = (t == null ? void 0 : t(r)) || r;
577
- return Xe(r, n);
578
- }, o);
445
+ function pe(e, n = {}) {
446
+ return e.reduce((t, r) => {
447
+ const o = r?.(t) || t;
448
+ return _e(t, o);
449
+ }, n);
579
450
  }
580
- function Xe(e, o) {
581
- const r = { ...e, ...o };
582
- return Object.keys(e).forEach((t) => {
583
- /^on[A-Z]/.test(t) && typeof e[t] == "function" && typeof o[t] == "function" && (r[t] = Qe(e[t], o[t]));
584
- }), (e.ref || o.ref) && (r.ref = xe(e.ref, o.ref)), (e.style || o.style) && (r.style = { ...e.style || {}, ...o.style || {} }), r;
451
+ function _e(e, n) {
452
+ const t = { ...e, ...n };
453
+ return Object.keys(e).forEach((r) => {
454
+ /^on[A-Z]/.test(r) && typeof e[r] == "function" && typeof n[r] == "function" && (t[r] = je(e[r], n[r]));
455
+ }), (e.ref || n.ref) && (t.ref = ye(e.ref, n.ref)), (e.style || n.style) && (t.style = { ...e.style || {}, ...n.style || {} }), t;
585
456
  }
586
- function Q(e, o) {
587
- return !!e && !!o && e.contains(o);
457
+ function j(e, n) {
458
+ return !!e && !!n && e.contains(n);
588
459
  }
589
- function ee(e, o) {
590
- return typeof e == "number" ? e : (e == null ? void 0 : e[o]) ?? 0;
460
+ function J(e, n) {
461
+ return typeof e == "number" ? e : e?.[n] ?? 0;
591
462
  }
592
- function le(e) {
463
+ function se(e) {
593
464
  return Array.from(
594
- (e == null ? void 0 : e.querySelectorAll(
465
+ e?.querySelectorAll(
595
466
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
596
- )) || []
597
- ).filter((o) => !o.hasAttribute("disabled") && o.getAttribute("aria-hidden") !== "true");
467
+ ) || []
468
+ ).filter((n) => !n.hasAttribute("disabled") && n.getAttribute("aria-hidden") !== "true");
598
469
  }
599
- function Ye(e) {
600
- const o = e.target;
601
- if (!o)
602
- return !0;
470
+ function Qe(e) {
471
+ const n = e.target;
472
+ if (!n) return !0;
603
473
  try {
604
- return typeof o.matches != "function" || o.matches(":focus-visible");
474
+ return typeof n.matches != "function" || n.matches(":focus-visible");
605
475
  } catch {
606
476
  return !0;
607
477
  }
@@ -609,627 +479,585 @@ function Ye(e) {
609
479
  function Ce(e) {
610
480
  return typeof e == "object" && e !== null && "current" in e;
611
481
  }
612
- function Se(e) {
613
- if (!(e instanceof Element))
614
- return null;
615
- const o = e.closest("[data-floating-node-id], [data-floating-reference-id]");
616
- return o && (o.dataset.floatingNodeId || o.dataset.floatingReferenceId) || null;
482
+ function Fe(e) {
483
+ if (!(e instanceof Element)) return null;
484
+ const n = e.closest("[data-floating-node-id], [data-floating-reference-id]");
485
+ return n && (n.dataset.floatingNodeId || n.dataset.floatingReferenceId) || null;
617
486
  }
618
- function ke(e, o, r) {
619
- if (!e || o === r)
620
- return !1;
621
- let t = e.getNode(o);
622
- for (; t != null && t.parentId; ) {
623
- if (t.parentId === r)
624
- return !0;
625
- t = e.getNode(t.parentId);
487
+ function Le(e, n, t) {
488
+ if (!e || n === t) return !1;
489
+ let r = e.getNode(n);
490
+ for (; r?.parentId; ) {
491
+ if (r.parentId === t) return !0;
492
+ r = e.getNode(r.parentId);
626
493
  }
627
494
  return !1;
628
495
  }
629
- function co(e) {
630
- const o = e.filter(Boolean);
631
- return V(() => ({
632
- getReferenceProps: (r = {}) => ge(o.map((t) => t.getReferenceProps), r),
633
- getFloatingProps: (r = {}) => ge(o.map((t) => t.getFloatingProps), r),
634
- getItemProps: (r = {}) => ge(o.map((t) => t.getItemProps), r)
635
- }), [o]);
496
+ function it(e) {
497
+ const n = e.filter(Boolean);
498
+ return $(() => ({
499
+ getReferenceProps: (t = {}) => pe(n.map((r) => r.getReferenceProps), t),
500
+ getFloatingProps: (t = {}) => pe(n.map((r) => r.getFloatingProps), t),
501
+ getItemProps: (t = {}) => pe(n.map((r) => r.getItemProps), t)
502
+ }), [n]);
636
503
  }
637
- function mo(e, o = {}) {
504
+ function st(e, n = {}) {
638
505
  const {
639
- enabled: r = !0,
640
- toggle: t = !0,
641
- event: n = "click",
642
- ignoreMouse: f = !1,
643
- keyboardHandlers: s = !0,
644
- stickIfOpen: c = !1
645
- } = o;
646
- return V(() => ({
647
- getReferenceProps(i = {}) {
648
- if (!r)
649
- return i;
650
- const u = n === "mousedown" ? "onMouseDown" : "onClick", a = (m = "click") => {
651
- e.open && c || (t ? e.toggle(m) : e.setOpen(!0, m));
506
+ enabled: t = !0,
507
+ toggle: r = !0,
508
+ event: o = "click",
509
+ ignoreMouse: u = !1,
510
+ keyboardHandlers: i = !0,
511
+ stickIfOpen: l = !1
512
+ } = n;
513
+ return $(() => ({
514
+ getReferenceProps(p = {}) {
515
+ if (!t) return p;
516
+ const a = o === "mousedown" ? "onMouseDown" : "onClick", m = (f = "click") => {
517
+ e.open && l || (r ? e.toggle(f) : e.setOpen(!0, f));
652
518
  };
653
519
  return {
654
- ...i,
655
- [u]: k(i[u], (m) => {
656
- f && (m.detail ?? 0) !== 0 || a("click");
520
+ ...p,
521
+ [a]: S(p[a], (f) => {
522
+ u && (f.detail ?? 0) !== 0 || m("click");
657
523
  }),
658
- onKeyDown: k(i.onKeyDown, (m) => {
659
- s && (m.key !== "Enter" && m.key !== " " || (m.preventDefault(), !(e.open && c) && (t ? e.toggle("click") : e.setOpen(!0, "click"))));
524
+ onKeyDown: S(p.onKeyDown, (f) => {
525
+ i && (f.key !== "Enter" && f.key !== " " || (f.preventDefault(), !(e.open && l) && (r ? e.toggle("click") : e.setOpen(!0, "click"))));
660
526
  })
661
527
  };
662
528
  }
663
- }), [e, r, n, f, s, c, t]);
529
+ }), [e, t, o, u, i, l, r]);
664
530
  }
665
- function po(e, o = {}) {
666
- const { enabled: r = !0, delay: t = 0, closeDelay: n, mouseOnly: f = !1, move: s = !0, restMs: c = 0 } = o, i = re(Pe), u = R(`delay-group-${Math.random().toString(36).slice(2, 9)}`), a = R(null), m = R(null), d = D(() => {
667
- a.current && window.clearTimeout(a.current), a.current = null, m.current && window.clearTimeout(m.current), m.current = null;
668
- }, []), l = D((p) => {
531
+ function ut(e, n = {}) {
532
+ const { enabled: t = !0, delay: r = 0, closeDelay: o, mouseOnly: u = !1, move: i = !0, restMs: l = 0 } = n, p = ee(xe), a = A(`delay-group-${Math.random().toString(36).slice(2, 9)}`), m = A(null), f = A(null), d = b(() => {
533
+ m.current && window.clearTimeout(m.current), m.current = null, f.current && window.clearTimeout(f.current), f.current = null;
534
+ }, []), s = b((c) => {
669
535
  d();
670
- const y = n ?? ee(t, "close"), P = p ? i != null && i.instantPhase || i != null && i.currentId && i.currentId !== u.current ? 1 : ee(t, "open") : y;
671
- a.current = window.setTimeout(() => {
672
- p ? i == null || i.beginInstantPhase(u.current) : (i == null ? void 0 : i.currentIdRef.current) === u.current && (i.setCurrentId(null), i.scheduleInstantPhaseReset(u.current)), e.setOpen(p, "hover");
673
- }, P);
674
- }, [d, n, e, t, i]);
675
- return K(() => d, [d]), V(() => ({
676
- getReferenceProps(p = {}) {
677
- return r ? {
678
- ...p,
679
- onMouseEnter: k(p.onMouseEnter, (y) => {
680
- if (!(f && y.pointerType && y.pointerType !== "mouse")) {
681
- if (c > 0) {
682
- d(), m.current = window.setTimeout(() => l(!0), c);
536
+ const g = o ?? J(r, "close"), h = c ? p?.instantPhase || p?.currentId && p.currentId !== a.current ? 1 : J(r, "open") : g;
537
+ m.current = window.setTimeout(() => {
538
+ c ? p?.beginInstantPhase(a.current) : p?.currentIdRef.current === a.current && (p.setCurrentId(null), p.scheduleInstantPhaseReset(a.current)), e.setOpen(c, "hover");
539
+ }, h);
540
+ }, [d, o, e, r, p]);
541
+ return N(() => d, [d]), $(() => ({
542
+ getReferenceProps(c = {}) {
543
+ return t ? {
544
+ ...c,
545
+ onMouseEnter: S(c.onMouseEnter, (g) => {
546
+ if (!(u && g.pointerType && g.pointerType !== "mouse")) {
547
+ if (l > 0) {
548
+ d(), f.current = window.setTimeout(() => s(!0), l);
683
549
  return;
684
550
  }
685
- l(!0);
551
+ s(!0);
686
552
  }
687
553
  }),
688
- onMouseLeave: k(p.onMouseLeave, () => l(!1))
689
- } : p;
554
+ onMouseLeave: S(c.onMouseLeave, () => s(!1))
555
+ } : c;
690
556
  },
691
- getFloatingProps(p = {}) {
692
- return r ? {
693
- ...p,
694
- onMouseEnter: k(p.onMouseEnter, () => {
695
- s && l(!0);
557
+ getFloatingProps(c = {}) {
558
+ return t ? {
559
+ ...c,
560
+ onMouseEnter: S(c.onMouseEnter, () => {
561
+ i && s(!0);
696
562
  }),
697
- onMouseLeave: k(p.onMouseLeave, () => l(!1))
698
- } : p;
563
+ onMouseLeave: S(c.onMouseLeave, () => s(!1))
564
+ } : c;
699
565
  }
700
- }), [d, r, f, s, c, l]);
566
+ }), [d, t, u, i, l, s]);
701
567
  }
702
- function go(e, o = {}) {
703
- const { enabled: r = !0, visibleOnly: t = !0 } = o;
704
- return V(() => ({
705
- getReferenceProps(n = {}) {
706
- return r ? {
707
- ...n,
708
- onFocus: k(n.onFocus, (f) => {
709
- t && !Ye(f) || e.setOpen(!0, "focus");
568
+ function at(e, n = {}) {
569
+ const { enabled: t = !0, visibleOnly: r = !0 } = n;
570
+ return $(() => ({
571
+ getReferenceProps(o = {}) {
572
+ return t ? {
573
+ ...o,
574
+ onFocus: S(o.onFocus, (u) => {
575
+ r && !Qe(u) || e.setOpen(!0, "focus");
710
576
  }),
711
- onBlur: k(n.onBlur, (f) => {
712
- const s = f.relatedTarget;
713
- Q(e.elements.floating, s) || e.setOpen(!1, "focus");
577
+ onBlur: S(o.onBlur, (u) => {
578
+ const i = u.relatedTarget;
579
+ j(e.elements.floating, i) || e.setOpen(!1, "focus");
714
580
  })
715
- } : n;
581
+ } : o;
716
582
  },
717
- getFloatingProps(n = {}) {
718
- return r ? {
719
- ...n,
720
- onBlur: k(n.onBlur, (f) => {
721
- const s = f.relatedTarget;
722
- Q(e.elements.reference, s) || Q(e.elements.floating, s) || e.setOpen(!1, "focus");
583
+ getFloatingProps(o = {}) {
584
+ return t ? {
585
+ ...o,
586
+ onBlur: S(o.onBlur, (u) => {
587
+ const i = u.relatedTarget;
588
+ j(e.elements.reference, i) || j(e.elements.floating, i) || e.setOpen(!1, "focus");
723
589
  })
724
- } : n;
590
+ } : o;
725
591
  }
726
- }), [e, r, t]);
592
+ }), [e, t, r]);
727
593
  }
728
- function yo(e, o = {}) {
729
- const { role: r = e.role, enabled: t = !0 } = o;
730
- return V(() => ({
731
- getReferenceProps(n = {}) {
732
- return t ? {
733
- ...n,
734
- "aria-haspopup": r,
594
+ function lt(e, n = {}) {
595
+ const { role: t = e.role, enabled: r = !0 } = n;
596
+ return $(() => ({
597
+ getReferenceProps(o = {}) {
598
+ return r ? {
599
+ ...o,
600
+ "aria-haspopup": t,
735
601
  "aria-expanded": e.open ? "true" : "false",
736
602
  "aria-controls": e.floatingId
737
- } : n;
603
+ } : o;
738
604
  },
739
- getFloatingProps(n = {}) {
740
- return t ? {
741
- ...n,
605
+ getFloatingProps(o = {}) {
606
+ return r ? {
607
+ ...o,
742
608
  id: e.floatingId,
743
- role: r
744
- } : n;
609
+ role: t
610
+ } : o;
745
611
  }
746
- }), [e.floatingId, e.open, t, r]);
612
+ }), [e.floatingId, e.open, r, t]);
747
613
  }
748
- function xo(e, o = {}) {
614
+ function ft(e, n = {}) {
749
615
  const {
750
- enabled: r = !0,
751
- escapeKey: t = !0,
752
- outsidePress: n = !0,
753
- outsidePressEvent: f = "pointerdown",
754
- ancestorScroll: s = !1,
755
- referencePress: c = !1,
756
- referencePressEvent: i = "pointerdown",
757
- nodeId: u = null
758
- } = o, a = we(), m = D((l) => {
759
- if (!a || !u)
760
- return !1;
761
- const p = Se(l);
762
- return !p || p === u ? !1 : ke(a, p, u);
763
- }, [u, a]), d = D((l = "dismiss") => {
764
- u && (a == null || a.closeDescendants(u, l)), e.setOpen(!1, l);
765
- }, [e, u, a]);
766
- return K(() => {
767
- if (!r || !e.open)
768
- return;
769
- const l = (P) => {
770
- n && (Q(e.elements.reference, P.target) || Q(e.elements.floating, P.target) || m(P.target) || typeof n == "function" && !n(P) || d("dismiss"));
771
- }, p = (P) => {
772
- !t || P.key !== "Escape" || P.defaultPrevented || m(P.target) || (P.preventDefault(), d("dismiss"));
773
- }, y = () => {
774
- s && d("dismiss");
616
+ enabled: t = !0,
617
+ escapeKey: r = !0,
618
+ outsidePress: o = !0,
619
+ outsidePressEvent: u = "pointerdown",
620
+ ancestorScroll: i = !1,
621
+ referencePress: l = !1,
622
+ referencePressEvent: p = "pointerdown",
623
+ nodeId: a = null
624
+ } = n, m = we(), f = b((s) => {
625
+ if (!m || !a) return !1;
626
+ const c = Fe(s);
627
+ return !c || c === a ? !1 : Le(m, c, a);
628
+ }, [a, m]), d = b((s = "dismiss") => {
629
+ a && m?.closeDescendants(a, s), e.setOpen(!1, s);
630
+ }, [e, a, m]);
631
+ return N(() => {
632
+ if (!t || !e.open) return;
633
+ const s = (h) => {
634
+ o && (j(e.elements.reference, h.target) || j(e.elements.floating, h.target) || f(h.target) || typeof o == "function" && !o(h) || d("dismiss"));
635
+ }, c = (h) => {
636
+ !r || h.key !== "Escape" || h.defaultPrevented || f(h.target) || (h.preventDefault(), d("dismiss"));
637
+ }, g = () => {
638
+ i && d("dismiss");
775
639
  };
776
- return document.addEventListener(f, l, !0), document.addEventListener("keydown", p), window.addEventListener("scroll", y, !0), () => {
777
- document.removeEventListener(f, l, !0), document.removeEventListener("keydown", p), window.removeEventListener("scroll", y, !0);
640
+ return document.addEventListener(u, s, !0), document.addEventListener("keydown", c), window.addEventListener("scroll", g, !0), () => {
641
+ document.removeEventListener(u, s, !0), document.removeEventListener("keydown", c), window.removeEventListener("scroll", g, !0);
778
642
  };
779
643
  }, [
780
- s,
644
+ i,
781
645
  d,
782
646
  e,
783
- r,
784
647
  t,
785
- m,
786
- n,
787
- f
788
- ]), V(() => ({
789
- getReferenceProps(l = {}) {
790
- if (!r && !u)
791
- return l;
792
- const p = i === "click" ? "onClick" : i === "mousedown" ? "onMouseDown" : "onPointerDown", y = {
793
- ...l,
794
- "data-floating-reference-id": u ?? l["data-floating-reference-id"]
648
+ r,
649
+ f,
650
+ o,
651
+ u
652
+ ]), $(() => ({
653
+ getReferenceProps(s = {}) {
654
+ if (!t && !a) return s;
655
+ const c = p === "click" ? "onClick" : p === "mousedown" ? "onMouseDown" : "onPointerDown", g = {
656
+ ...s,
657
+ "data-floating-reference-id": a ?? s["data-floating-reference-id"]
795
658
  };
796
- return c ? {
797
- ...y,
798
- [p]: k(l[p], () => {
659
+ return l ? {
660
+ ...g,
661
+ [c]: S(s[c], () => {
799
662
  e.open && d("dismiss");
800
663
  })
801
- } : y;
664
+ } : g;
802
665
  },
803
- getFloatingProps(l = {}) {
804
- if (!r && !u)
805
- return l;
806
- const p = {
807
- ...l,
808
- "data-floating-node-id": u ?? l["data-floating-node-id"]
666
+ getFloatingProps(s = {}) {
667
+ if (!t && !a) return s;
668
+ const c = {
669
+ ...s,
670
+ "data-floating-node-id": a ?? s["data-floating-node-id"]
809
671
  };
810
- return r ? {
811
- ...p,
812
- onKeyDown: k(l.onKeyDown, (y) => {
813
- t && y.key === "Escape" && (y.preventDefault(), d("dismiss"));
672
+ return t ? {
673
+ ...c,
674
+ onKeyDown: S(s.onKeyDown, (g) => {
675
+ r && g.key === "Escape" && (g.preventDefault(), d("dismiss"));
814
676
  })
815
- } : p;
677
+ } : c;
816
678
  }
817
- }), [d, e, r, t, u, c, i]);
679
+ }), [d, e, t, r, a, l, p]);
818
680
  }
819
- function wo(e, o) {
681
+ function ct(e, n) {
820
682
  const {
821
- enabled: r = !0,
822
- listRef: t,
823
- activeIndex: n,
824
- onNavigate: f,
825
- loop: s = !0,
826
- orientation: c = "vertical",
827
- cols: i = 1,
828
- rtl: u = !1,
829
- focusItemOnOpen: a = !1,
830
- openOnArrowKeyDown: m = !1,
683
+ enabled: t = !0,
684
+ listRef: r,
685
+ activeIndex: o,
686
+ onNavigate: u,
687
+ loop: i = !0,
688
+ orientation: l = "vertical",
689
+ cols: p = 1,
690
+ rtl: a = !1,
691
+ focusItemOnOpen: m = !1,
692
+ openOnArrowKeyDown: f = !1,
831
693
  nested: d = !1,
832
- nodeId: l = null,
833
- getItemHasSubmenu: p,
834
- getItemExpanded: y,
835
- onOpenSubmenu: P,
836
- onCloseSubmenu: F,
837
- openSubmenuKey: E = u ? "ArrowLeft" : "ArrowRight",
838
- closeSubmenuKey: M = u ? "ArrowRight" : "ArrowLeft",
694
+ nodeId: s = null,
695
+ getItemHasSubmenu: c,
696
+ getItemExpanded: g,
697
+ onOpenSubmenu: h,
698
+ onCloseSubmenu: O,
699
+ openSubmenuKey: E = a ? "ArrowLeft" : "ArrowRight",
700
+ closeSubmenuKey: T = a ? "ArrowRight" : "ArrowLeft",
839
701
  restoreFocusOnClose: I = d
840
- } = o, L = D(() => {
841
- var g;
842
- return (g = t == null ? void 0 : t.current) == null ? void 0 : g.filter(Boolean);
843
- }, [t]), B = D((g) => {
844
- if (!(g instanceof Element))
845
- return null;
846
- const b = g.closest("[data-index]");
847
- if (!b)
848
- return null;
849
- const A = Number(b.dataset.index);
850
- return Number.isFinite(A) ? A : null;
851
- }, []), T = D(() => {
852
- const g = I && Ce(I) ? I.current : e.elements.reference;
853
- !I || !g || requestAnimationFrame(() => g.focus());
854
- }, [e.elements, I]), N = D((g, b) => {
855
- var z;
856
- const A = L();
857
- if (!(A != null && A.length))
858
- return;
859
- const C = A.indexOf(document.activeElement);
860
- let v = (b ?? n ?? (C >= 0 ? C : -1)) + g;
861
- s ? v = (v + A.length) % A.length : v = Math.max(0, Math.min(A.length - 1, v)), f(v), (z = A[v]) == null || z.focus();
862
- }, [n, L, s, f]);
863
- K(() => {
864
- if (!r || !e.open || !(a === !0 || a === "auto"))
865
- return;
866
- const g = n ?? 0;
867
- let b = 0, A = !1, C = 0;
868
- const O = () => {
869
- var Y;
870
- if (A)
871
- return;
872
- const v = L();
873
- if (!(v != null && v.length)) {
874
- C < 4 && (C += 1, b = requestAnimationFrame(O));
702
+ } = n, R = b(() => r?.current?.filter(Boolean), [r]), L = b((y) => {
703
+ if (!(y instanceof Element)) return null;
704
+ const D = y.closest("[data-index]");
705
+ if (!D) return null;
706
+ const v = Number(D.dataset.index);
707
+ return Number.isFinite(v) ? v : null;
708
+ }, []), k = b(() => {
709
+ const y = I && Ce(I) ? I.current : e.elements.reference;
710
+ !I || !y || requestAnimationFrame(() => y.focus());
711
+ }, [e.elements, I]), z = b((y, D) => {
712
+ const v = R();
713
+ if (!v?.length) return;
714
+ const M = v.indexOf(document.activeElement);
715
+ let C = (D ?? o ?? (M >= 0 ? M : -1)) + y;
716
+ i ? C = (C + v.length) % v.length : C = Math.max(0, Math.min(v.length - 1, C)), u(C), v[C]?.focus();
717
+ }, [o, R, i, u]);
718
+ N(() => {
719
+ if (!t || !e.open || !(m === !0 || m === "auto")) return;
720
+ const y = o ?? 0;
721
+ let D = 0, v = !1, M = 0;
722
+ const B = () => {
723
+ if (v) return;
724
+ const C = R();
725
+ if (!C?.length) {
726
+ M < 4 && (M += 1, D = requestAnimationFrame(B));
875
727
  return;
876
728
  }
877
- const z = v.indexOf(document.activeElement);
878
- if (z >= 0) {
879
- f(z);
729
+ const q = C.indexOf(document.activeElement);
730
+ if (q >= 0) {
731
+ u(q);
880
732
  return;
881
733
  }
882
- f(g), (Y = v[g]) == null || Y.focus();
734
+ u(y), C[y]?.focus();
883
735
  };
884
- return b = requestAnimationFrame(O), () => {
885
- A = !0, cancelAnimationFrame(b);
736
+ return D = requestAnimationFrame(B), () => {
737
+ v = !0, cancelAnimationFrame(D);
886
738
  };
887
- }, [n, e.open, r, a, L, f]);
888
- const U = D((g) => {
889
- const b = c === "vertical" || c === "both", A = c === "horizontal" || c === "both";
890
- return b && g === "ArrowDown" ? i : b && g === "ArrowUp" ? -i : A && g === (u ? "ArrowLeft" : "ArrowRight") ? 1 : A && g === (u ? "ArrowRight" : "ArrowLeft") ? -1 : 0;
891
- }, [i, c, u]), j = D((g) => {
892
- var C, O;
893
- const b = B(g.target) ?? n;
894
- if (d && g.key === E && b != null && (p != null && p(b))) {
895
- g.preventDefault(), f(b), P == null || P(b);
739
+ }, [o, e.open, t, m, R, u]);
740
+ const V = b((y) => {
741
+ const D = l === "vertical" || l === "both", v = l === "horizontal" || l === "both";
742
+ return D && y === "ArrowDown" ? p : D && y === "ArrowUp" ? -p : v && y === (a ? "ArrowLeft" : "ArrowRight") ? 1 : v && y === (a ? "ArrowRight" : "ArrowLeft") ? -1 : 0;
743
+ }, [p, l, a]), Q = b((y) => {
744
+ const D = L(y.target) ?? o;
745
+ if (d && y.key === E && D != null && c?.(D)) {
746
+ y.preventDefault(), u(D), h?.(D);
896
747
  return;
897
748
  }
898
- if (d && F && g.key === M) {
899
- g.preventDefault(), F == null || F(), T();
749
+ if (d && O && y.key === T) {
750
+ y.preventDefault(), O?.(), k();
900
751
  return;
901
752
  }
902
- const A = U(g.key);
903
- if (A)
904
- g.preventDefault(), N(A, b);
905
- else if (g.key === "Home") {
906
- const v = L();
907
- if (!(v != null && v.length))
908
- return;
909
- g.preventDefault(), f(0), (C = v[0]) == null || C.focus();
910
- } else if (g.key === "End") {
911
- const v = L();
912
- if (!(v != null && v.length))
913
- return;
914
- g.preventDefault(), f(v.length - 1), (O = v[v.length - 1]) == null || O.focus();
753
+ const v = V(y.key);
754
+ if (v)
755
+ y.preventDefault(), z(v, D);
756
+ else if (y.key === "Home") {
757
+ const M = R();
758
+ if (!M?.length) return;
759
+ y.preventDefault(), u(0), M[0]?.focus();
760
+ } else if (y.key === "End") {
761
+ const M = R();
762
+ if (!M?.length) return;
763
+ y.preventDefault(), u(M.length - 1), M[M.length - 1]?.focus();
915
764
  }
916
765
  }, [
917
- n,
918
- M,
766
+ o,
919
767
  T,
920
- U,
921
- p,
922
- B,
768
+ k,
769
+ V,
770
+ c,
923
771
  L,
924
- N,
772
+ R,
773
+ z,
925
774
  d,
926
- F,
927
- f,
928
- P,
775
+ O,
776
+ u,
777
+ h,
929
778
  E
930
779
  ]);
931
- return V(() => ({
932
- getReferenceProps(g = {}) {
933
- return !r || !m ? g : {
934
- ...g,
935
- onKeyDown: k(g.onKeyDown, (b) => {
936
- if (e.open || !U(b.key))
937
- return;
938
- const C = L();
939
- if (b.preventDefault(), C != null && C.length) {
940
- const O = b.key === "ArrowUp" || b.key === (u ? "ArrowRight" : "ArrowLeft") ? C.length - 1 : 0;
941
- f(O);
942
- } else
943
- b.key !== "ArrowUp" && b.key !== (u ? "ArrowRight" : "ArrowLeft") && f(0);
780
+ return $(() => ({
781
+ getReferenceProps(y = {}) {
782
+ return !t || !f ? y : {
783
+ ...y,
784
+ onKeyDown: S(y.onKeyDown, (D) => {
785
+ if (e.open || !V(D.key)) return;
786
+ const M = R();
787
+ if (D.preventDefault(), M?.length) {
788
+ const B = D.key === "ArrowUp" || D.key === (a ? "ArrowRight" : "ArrowLeft") ? M.length - 1 : 0;
789
+ u(B);
790
+ } else D.key !== "ArrowUp" && D.key !== (a ? "ArrowRight" : "ArrowLeft") && u(0);
944
791
  e.setOpen(!0, "list-navigation");
945
792
  })
946
793
  };
947
794
  },
948
- getFloatingProps(g = {}) {
949
- return r ? {
950
- ...g,
951
- "data-floating-node-id": l ?? g["data-floating-node-id"],
952
- "aria-activedescendant": n != null ? `floating-item-${n}` : void 0,
953
- onKeyDown: k(g.onKeyDown, j)
954
- } : g;
795
+ getFloatingProps(y = {}) {
796
+ return t ? {
797
+ ...y,
798
+ "data-floating-node-id": s ?? y["data-floating-node-id"],
799
+ "aria-activedescendant": o != null ? `floating-item-${o}` : void 0,
800
+ onKeyDown: S(y.onKeyDown, Q)
801
+ } : y;
955
802
  },
956
- getItemProps(g = {}) {
957
- const b = g["data-index"], A = typeof b == "number" ? b : Number(b), C = Number.isFinite(A) ? p == null ? void 0 : p(A) : !1;
803
+ getItemProps(y = {}) {
804
+ const D = y["data-index"], v = typeof D == "number" ? D : Number(D), M = Number.isFinite(v) ? c?.(v) : !1;
958
805
  return {
959
- ...g,
960
- id: typeof b == "number" ? `floating-item-${b}` : g.id,
961
- tabIndex: b === n ? 0 : -1,
962
- "data-active": b === n ? "" : void 0,
963
- "aria-haspopup": C ? "menu" : g["aria-haspopup"],
964
- "aria-expanded": C ? String((y == null ? void 0 : y(A)) ?? !1) : g["aria-expanded"],
965
- onKeyDown: k(g.onKeyDown, j)
806
+ ...y,
807
+ id: typeof D == "number" ? `floating-item-${D}` : y.id,
808
+ tabIndex: D === o ? 0 : -1,
809
+ "data-active": D === o ? "" : void 0,
810
+ "aria-haspopup": M ? "menu" : y["aria-haspopup"],
811
+ "aria-expanded": M ? String(g?.(v) ?? !1) : y["aria-expanded"],
812
+ onKeyDown: S(y.onKeyDown, Q)
966
813
  };
967
814
  }
968
815
  }), [
969
- n,
816
+ o,
970
817
  e,
971
- r,
972
- y,
973
- p,
974
- j,
975
- U,
976
- L,
977
- l,
818
+ t,
819
+ g,
820
+ c,
821
+ Q,
822
+ V,
823
+ R,
824
+ s,
825
+ u,
978
826
  f,
979
- m,
980
- u
827
+ a
981
828
  ]);
982
829
  }
983
- function Po(e, o) {
830
+ function mt(e, n) {
984
831
  const {
985
- enabled: r = !0,
986
- labelsRef: t,
987
- listRef: n,
988
- activeIndex: f,
989
- onMatch: s,
990
- resetMs: c = 750,
991
- selectedIndex: i = null,
992
- onTypingChange: u,
993
- findMatch: a
994
- } = o, m = R(""), d = R(null);
995
- return K(() => () => {
832
+ enabled: t = !0,
833
+ labelsRef: r,
834
+ listRef: o,
835
+ activeIndex: u,
836
+ onMatch: i,
837
+ resetMs: l = 750,
838
+ selectedIndex: p = null,
839
+ onTypingChange: a,
840
+ findMatch: m
841
+ } = n, f = A(""), d = A(null);
842
+ return N(() => () => {
996
843
  d.current && window.clearTimeout(d.current);
997
- }, []), V(() => ({
998
- getFloatingProps(l = {}) {
999
- return r ? {
1000
- ...l,
1001
- onKeyDown: k(l.onKeyDown, (p) => {
1002
- var E, M;
1003
- if (p.key.length !== 1 || p.altKey || p.ctrlKey || p.metaKey)
1004
- return;
1005
- m.current += p.key.toLocaleLowerCase(), u == null || u(!0), d.current && window.clearTimeout(d.current), d.current = window.setTimeout(() => {
1006
- m.current = "", u == null || u(!1);
1007
- }, c);
1008
- const y = t.current.map((I) => I.toLocaleLowerCase()), P = a ? a(y, m.current, f) : (() => {
1009
- const I = (f ?? i) == null ? 0 : (f ?? i) + 1;
1010
- return y.map((B, T) => (I + T) % y.length).find((B) => {
1011
- var T;
1012
- return (T = y[B]) == null ? void 0 : T.startsWith(m.current);
1013
- }) ?? null;
1014
- })(), F = P == null || P < 0 ? null : P;
1015
- F != null && (p.preventDefault(), s(F), (M = (E = n == null ? void 0 : n.current) == null ? void 0 : E[F]) == null || M.focus(), e.setOpen(!0, "typeahead"));
844
+ }, []), $(() => ({
845
+ getFloatingProps(s = {}) {
846
+ return t ? {
847
+ ...s,
848
+ onKeyDown: S(s.onKeyDown, (c) => {
849
+ if (c.key.length !== 1 || c.altKey || c.ctrlKey || c.metaKey) return;
850
+ f.current += c.key.toLocaleLowerCase(), a?.(!0), d.current && window.clearTimeout(d.current), d.current = window.setTimeout(() => {
851
+ f.current = "", a?.(!1);
852
+ }, l);
853
+ const g = r.current.map((E) => E.toLocaleLowerCase()), h = m ? m(g, f.current, u) : (() => {
854
+ const E = (u ?? p) == null ? 0 : (u ?? p) + 1;
855
+ return g.map((I, R) => (E + R) % g.length).find((I) => g[I]?.startsWith(f.current)) ?? null;
856
+ })(), O = h == null || h < 0 ? null : h;
857
+ O != null && (c.preventDefault(), i(O), o?.current?.[O]?.focus(), e.setOpen(!0, "typeahead"));
1016
858
  })
1017
- } : l;
859
+ } : s;
1018
860
  }
1019
- }), [f, e, r, a, t, n, s, u, c, i]);
861
+ }), [u, e, t, m, r, o, i, a, l, p]);
1020
862
  }
1021
- function bo(e, o = {}) {
1022
- const { duration: r = 160, initial: t, open: n, close: f } = o, [s, c] = H(e.open), [i, u] = H(e.open ? "open" : "unmounted"), a = ee(r, "open"), m = ee(r, "close");
1023
- return K(() => {
863
+ function dt(e, n = {}) {
864
+ const { duration: t = 160, initial: r, open: o, close: u } = n, [i, l] = H(e.open), [p, a] = H(e.open ? "open" : "unmounted"), m = J(t, "open"), f = J(t, "close");
865
+ return N(() => {
1024
866
  if (e.open) {
1025
- c(!0), u("initial");
1026
- const l = requestAnimationFrame(() => u("open"));
1027
- return () => cancelAnimationFrame(l);
867
+ l(!0), a("initial");
868
+ const s = requestAnimationFrame(() => a("open"));
869
+ return () => cancelAnimationFrame(s);
1028
870
  }
1029
- if (!s)
1030
- return;
1031
- u("close");
871
+ if (!i) return;
872
+ a("close");
1032
873
  const d = window.setTimeout(() => {
1033
- c(!1), u("unmounted");
1034
- }, m);
874
+ l(!1), a("unmounted");
875
+ }, f);
1035
876
  return () => window.clearTimeout(d);
1036
- }, [m, e.open, s]), {
1037
- isMounted: s,
1038
- status: i,
877
+ }, [f, e.open, i]), {
878
+ isMounted: i,
879
+ status: p,
1039
880
  styles: {
1040
- transition: `opacity ${i === "close" ? m : a}ms ease, transform ${i === "close" ? m : a}ms ease`,
1041
- ...i === "initial" ? { opacity: 0, transform: "scale(0.98)", ...t } : null,
1042
- ...i === "open" ? { opacity: 1, transform: "scale(1)", ...n } : null,
1043
- ...i === "close" ? { opacity: 0, transform: "scale(0.98)", ...f } : null
881
+ transition: `opacity ${p === "close" ? f : m}ms ease, transform ${p === "close" ? f : m}ms ease`,
882
+ ...p === "initial" ? { opacity: 0, transform: "scale(0.98)", ...r } : null,
883
+ ...p === "open" ? { opacity: 1, transform: "scale(1)", ...o } : null,
884
+ ...p === "close" ? { opacity: 0, transform: "scale(0.98)", ...u } : null
1044
885
  }
1045
886
  };
1046
887
  }
1047
- function Do(e, o = {}) {
1048
- const { enabled: r = !0, axis: t = "both" } = o, n = R({ x: 0, y: 0 });
1049
- return V(() => ({
1050
- getReferenceProps(f = {}) {
1051
- return r ? {
1052
- ...f,
1053
- onPointerMove: k(f.onPointerMove, (s) => {
1054
- n.current = {
1055
- x: t === "y" ? n.current.x : s.clientX,
1056
- y: t === "x" ? n.current.y : s.clientY
888
+ function pt(e, n = {}) {
889
+ const { enabled: t = !0, axis: r = "both" } = n, o = A({ x: 0, y: 0 });
890
+ return $(() => ({
891
+ getReferenceProps(u = {}) {
892
+ return t ? {
893
+ ...u,
894
+ onPointerMove: S(u.onPointerMove, (i) => {
895
+ o.current = {
896
+ x: r === "y" ? o.current.x : i.clientX,
897
+ y: r === "x" ? o.current.y : i.clientY
1057
898
  }, e.refs.setPositionReference({
1058
899
  contextElement: e.elements.reference || void 0,
1059
- getBoundingClientRect: () => new DOMRect(n.current.x, n.current.y, 0, 0)
900
+ getBoundingClientRect: () => new DOMRect(o.current.x, o.current.y, 0, 0)
1060
901
  }), e.update();
1061
902
  })
1062
- } : f;
903
+ } : u;
1063
904
  }
1064
- }), [t, e, r]);
905
+ }), [r, e, t]);
1065
906
  }
1066
- const Ne = ae(null);
1067
- function vo({ children: e, elementsRef: o, labelsRef: r }) {
1068
- const t = R([]), n = R([]), f = V(() => ({
1069
- elementsRef: o || t,
1070
- labelsRef: r || n
1071
- }), [o, r]);
1072
- return /* @__PURE__ */ S.createElement(Ne.Provider, { value: f }, e);
907
+ const Se = ue(null);
908
+ function gt({ children: e, elementsRef: n, labelsRef: t }) {
909
+ const r = A([]), o = A([]), u = $(() => ({
910
+ elementsRef: n || r,
911
+ labelsRef: t || o
912
+ }), [n, t]);
913
+ return /* @__PURE__ */ F.createElement(Se.Provider, { value: u }, e);
1073
914
  }
1074
- function ho() {
1075
- return re(Ne);
915
+ function yt() {
916
+ return ee(Se);
1076
917
  }
1077
- const Ao = S.forwardRef(function({
1078
- context: o,
1079
- width: r = 14,
1080
- height: t = 8,
1081
- fill: n = "currentColor",
1082
- stroke: f,
1083
- strokeWidth: s = 1,
1084
- style: c,
1085
- ...i
1086
- }, u) {
1087
- const a = o.coords.arrow, m = o.coords.placement.split("-")[0], d = {
1088
- top: `M0 ${s / 2} L${r / 2} ${t - s / 2} L${r} ${s / 2}`,
1089
- bottom: `M0 ${t - s / 2} L${r / 2} ${s / 2} L${r} ${t - s / 2}`,
1090
- left: `M${s / 2} ${s / 2} L${r - s / 2} ${t / 2} L${s / 2} ${t - s / 2}`,
1091
- right: `M${r - s / 2} ${s / 2} L${s / 2} ${t / 2} L${r - s / 2} ${t - s / 2}`
1092
- }, l = {
918
+ const wt = F.forwardRef(function({
919
+ context: n,
920
+ width: t = 14,
921
+ height: r = 8,
922
+ fill: o = "currentColor",
923
+ stroke: u,
924
+ strokeWidth: i = 1,
925
+ style: l,
926
+ ...p
927
+ }, a) {
928
+ const m = n.coords.arrow, f = n.coords.placement.split("-")[0], d = {
929
+ top: `M0 ${i / 2} L${t / 2} ${r - i / 2} L${t} ${i / 2}`,
930
+ bottom: `M0 ${r - i / 2} L${t / 2} ${i / 2} L${t} ${r - i / 2}`,
931
+ left: `M${i / 2} ${i / 2} L${t - i / 2} ${r / 2} L${i / 2} ${r - i / 2}`,
932
+ right: `M${t - i / 2} ${i / 2} L${i / 2} ${r / 2} L${t - i / 2} ${r - i / 2}`
933
+ }, s = {
1093
934
  position: "absolute",
1094
- width: r,
1095
- height: t,
935
+ width: t,
936
+ height: r,
1096
937
  pointerEvents: "none",
1097
938
  overflow: "visible",
1098
- left: typeof (a == null ? void 0 : a.x) == "number" ? Math.round(a.x) : void 0,
1099
- top: typeof (a == null ? void 0 : a.y) == "number" ? Math.round(a.y) : void 0,
1100
- transform: a != null && a.centerOffset ? `translate(${Math.round(a.centerOffset * (m === "top" || m === "bottom" ? 0.15 : 0))}px, ${Math.round(a.centerOffset * (m === "left" || m === "right" ? 0.15 : 0))}px)` : void 0
939
+ left: typeof m?.x == "number" ? Math.round(m.x) : void 0,
940
+ top: typeof m?.y == "number" ? Math.round(m.y) : void 0,
941
+ transform: m?.centerOffset ? `translate(${Math.round(m.centerOffset * (f === "top" || f === "bottom" ? 0.15 : 0))}px, ${Math.round(m.centerOffset * (f === "left" || f === "right" ? 0.15 : 0))}px)` : void 0
1101
942
  };
1102
- return m === "top" && (l.top = void 0, l.bottom = -t + s), m === "bottom" && (l.top = -t + s), m === "left" && (l.left = void 0, l.right = -r + s), m === "right" && (l.left = -r + s, l.top = typeof (a == null ? void 0 : a.y) == "number" ? Math.round(a.y) : void 0), /* @__PURE__ */ S.createElement(
943
+ return f === "top" && (s.top = void 0, s.bottom = -r + i), f === "bottom" && (s.top = -r + i), f === "left" && (s.left = void 0, s.right = -t + i), f === "right" && (s.left = -t + i, s.top = typeof m?.y == "number" ? Math.round(m.y) : void 0), /* @__PURE__ */ F.createElement(
1103
944
  "div",
1104
945
  {
1105
- ...i,
1106
- ref: xe(o.refs.setArrow, u),
946
+ ...p,
947
+ ref: ye(n.refs.setArrow, a),
1107
948
  "aria-hidden": "true",
1108
- "data-side": m,
1109
- "data-center-offset": typeof (a == null ? void 0 : a.centerOffset) == "number" ? String(Math.round(a.centerOffset)) : void 0,
1110
- style: { ...l, ...c }
949
+ "data-side": f,
950
+ "data-center-offset": typeof m?.centerOffset == "number" ? String(Math.round(m.centerOffset)) : void 0,
951
+ style: { ...s, ...l }
1111
952
  },
1112
- /* @__PURE__ */ S.createElement(
953
+ /* @__PURE__ */ F.createElement(
1113
954
  "svg",
1114
955
  {
1115
- width: r,
1116
- height: t,
1117
- viewBox: `0 0 ${r} ${t}`,
956
+ width: t,
957
+ height: r,
958
+ viewBox: `0 0 ${t} ${r}`,
1118
959
  style: { display: "block", overflow: "visible" }
1119
960
  },
1120
- /* @__PURE__ */ S.createElement(
961
+ /* @__PURE__ */ F.createElement(
1121
962
  "path",
1122
963
  {
1123
- d: d[m] || d.bottom,
1124
- fill: n,
1125
- stroke: f,
1126
- strokeWidth: f ? s : 0,
964
+ d: d[f] || d.bottom,
965
+ fill: o,
966
+ stroke: u,
967
+ strokeWidth: u ? i : 0,
1127
968
  strokeLinejoin: "round"
1128
969
  }
1129
970
  )
1130
971
  )
1131
972
  );
1132
973
  });
1133
- function Eo({ children: e, root: o }) {
1134
- const [r, t] = H(!1);
1135
- return K(() => t(!0), []), r ? _e(e, o || document.body) : null;
974
+ function xt({ children: e, root: n }) {
975
+ const [t, r] = H(!1);
976
+ return N(() => r(!0), []), t ? Ue(e, n || document.body) : null;
1136
977
  }
1137
- function Io({ lockScroll: e = !1, style: o, ...r }) {
1138
- return K(() => {
1139
- if (!e)
1140
- return;
1141
- const t = document.body.style.overflow;
978
+ function bt({ lockScroll: e = !1, style: n, ...t }) {
979
+ return N(() => {
980
+ if (!e) return;
981
+ const r = document.body.style.overflow;
1142
982
  return document.body.style.overflow = "hidden", () => {
1143
- document.body.style.overflow = t;
983
+ document.body.style.overflow = r;
1144
984
  };
1145
- }, [e]), /* @__PURE__ */ S.createElement("div", { ...r, style: { position: "fixed", inset: 0, ...o } });
985
+ }, [e]), /* @__PURE__ */ F.createElement("div", { ...t, style: { position: "fixed", inset: 0, ...n } });
1146
986
  }
1147
- function Ro({
987
+ function Dt({
1148
988
  context: e,
1149
- children: o,
1150
- modal: r = !1,
1151
- initialFocus: t = !0,
1152
- returnFocus: n = !0,
1153
- guards: f = !0,
1154
- disabled: s = !1,
1155
- closeOnFocusOut: c = !r,
1156
- outsideElementsInert: i = !1,
1157
- visuallyHiddenDismiss: u = !1
989
+ children: n,
990
+ modal: t = !1,
991
+ initialFocus: r = !0,
992
+ returnFocus: o = !0,
993
+ guards: u = !0,
994
+ disabled: i = !1,
995
+ closeOnFocusOut: l = !t,
996
+ outsideElementsInert: p = !1,
997
+ visuallyHiddenDismiss: a = !1
1158
998
  }) {
1159
- const a = we(), m = R(null), d = R(null), l = R(null), p = R(null), y = R(!1), P = D(() => {
1160
- var E;
1161
- return typeof t == "number" ? le(e.elements.floating)[t] || null : typeof t == "object" && t && "current" in t ? t.current : ((E = e.elements.floating) == null ? void 0 : E.querySelector("[autofocus]")) || le(e.elements.floating)[0] || null;
1162
- }, [e.elements.floating, t]), F = D((E = !1) => {
1163
- const M = le(e.elements.floating), I = E ? M[M.length - 1] : M[0];
1164
- I == null || I.focus();
999
+ const m = we(), f = A(null), d = A(null), s = A(null), c = A(null), g = A(!1), h = b(() => typeof r == "number" ? se(e.elements.floating)[r] || null : typeof r == "object" && r && "current" in r ? r.current : e.elements.floating?.querySelector("[autofocus]") || se(e.elements.floating)[0] || null, [e.elements.floating, r]), O = b((E = !1) => {
1000
+ const T = se(e.elements.floating);
1001
+ (E ? T[T.length - 1] : T[0])?.focus();
1165
1002
  }, [e.elements.floating]);
1166
- return Le(() => {
1167
- var E;
1168
- if (!(!e.open || s))
1169
- return y.current = !1, p.current = document.activeElement, t && (y.current = !0, (E = P()) == null || E.focus()), () => {
1170
- var M;
1171
- y.current = !1, n && (Ce(n) ? (M = n.current) == null || M.focus() : p.current instanceof HTMLElement && p.current.focus());
1003
+ return Te(() => {
1004
+ if (!(!e.open || i))
1005
+ return g.current = !1, c.current = document.activeElement, r && (g.current = !0, h()?.focus()), () => {
1006
+ g.current = !1, o && (Ce(o) ? o.current?.focus() : c.current instanceof HTMLElement && c.current.focus());
1172
1007
  };
1173
- }, [e.open, s, t, P, n]), K(() => {
1174
- if (s || !e.open)
1175
- return;
1176
- const E = (M) => {
1177
- var j, g, b;
1178
- const I = M.target;
1179
- if (!I)
1180
- return;
1181
- const L = Q(m.current, I) || Q(e.elements.floating, I), B = Q(e.elements.reference, I), T = ((j = e.elements.floating) == null ? void 0 : j.dataset.floatingNodeId) || ((g = e.elements.reference) == null ? void 0 : g.dataset.floatingReferenceId) || null, N = Se(I), U = !!T && !!N && ke(a, N, T);
1182
- if (!(L || B || U)) {
1183
- if (r) {
1184
- if (!y.current && t) {
1185
- y.current = !0, (b = P()) == null || b.focus();
1008
+ }, [e.open, i, r, h, o]), N(() => {
1009
+ if (i || !e.open) return;
1010
+ const E = (T) => {
1011
+ const I = T.target;
1012
+ if (!I) return;
1013
+ const R = j(f.current, I) || j(e.elements.floating, I), L = j(e.elements.reference, I), k = e.elements.floating?.dataset.floatingNodeId || e.elements.reference?.dataset.floatingReferenceId || null, z = Fe(I), V = !!k && !!z && Le(m, z, k);
1014
+ if (!(R || L || V)) {
1015
+ if (t) {
1016
+ if (!g.current && r) {
1017
+ g.current = !0, h()?.focus();
1186
1018
  return;
1187
1019
  }
1188
- F();
1020
+ O();
1189
1021
  return;
1190
1022
  }
1191
- c && e.setOpen(!1, "dismiss");
1023
+ l && e.setOpen(!1, "dismiss");
1192
1024
  }
1193
1025
  };
1194
1026
  return document.addEventListener("focusin", E), () => {
1195
1027
  document.removeEventListener("focusin", E);
1196
1028
  };
1197
- }, [c, e, e.open, s, F, t, r, P, a]), K(() => {
1198
- var B;
1199
- if (!i || !r || !e.open || s)
1200
- return;
1201
- const E = ((B = m.current) == null ? void 0 : B.parentElement) || document.body, M = Array.from(E.children), I = new Set(
1029
+ }, [l, e, e.open, i, O, r, t, h, m]), N(() => {
1030
+ if (!p || !t || !e.open || i) return;
1031
+ const E = f.current?.parentElement || document.body, T = Array.from(E.children), I = new Set(
1202
1032
  [
1203
- m.current,
1033
+ f.current,
1204
1034
  e.elements.floating,
1205
1035
  d.current,
1206
- l.current
1036
+ s.current
1207
1037
  ].filter(Boolean)
1208
- ), L = /* @__PURE__ */ new Map();
1209
- return M.forEach((T) => {
1210
- Array.from(I).some((N) => N === T || N.contains(T) || T.contains(N)) || (L.set(T, T.getAttribute("aria-hidden")), T.setAttribute("aria-hidden", "true"));
1038
+ ), R = /* @__PURE__ */ new Map();
1039
+ return T.forEach((L) => {
1040
+ Array.from(I).some((k) => k === L || k.contains(L) || L.contains(k)) || (R.set(L, L.getAttribute("aria-hidden")), L.setAttribute("aria-hidden", "true"));
1211
1041
  }), () => {
1212
- L.forEach((T, N) => {
1213
- T == null ? N.removeAttribute("aria-hidden") : N.setAttribute("aria-hidden", T);
1042
+ R.forEach((L, k) => {
1043
+ L == null ? k.removeAttribute("aria-hidden") : k.setAttribute("aria-hidden", L);
1214
1044
  });
1215
1045
  };
1216
- }, [e.elements.floating, e.open, s, r, i]), s ? /* @__PURE__ */ S.createElement(S.Fragment, null, o) : /* @__PURE__ */ S.createElement(S.Fragment, null, r && f ? /* @__PURE__ */ S.createElement("span", { ref: d, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => F(!0) }) : null, /* @__PURE__ */ S.createElement(
1046
+ }, [e.elements.floating, e.open, i, t, p]), i ? /* @__PURE__ */ F.createElement(F.Fragment, null, n) : /* @__PURE__ */ F.createElement(F.Fragment, null, t && u ? /* @__PURE__ */ F.createElement("span", { ref: d, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => O(!0) }) : null, /* @__PURE__ */ F.createElement(
1217
1047
  "div",
1218
1048
  {
1219
- ref: m,
1220
- role: r ? "dialog" : void 0,
1221
- "aria-modal": r ? "true" : void 0,
1049
+ ref: f,
1050
+ role: t ? "dialog" : void 0,
1051
+ "aria-modal": t ? "true" : void 0,
1222
1052
  onKeyDown: (E) => {
1223
- if (!r || E.key !== "Tab")
1224
- return;
1225
- const M = le(e.elements.floating);
1226
- if (!M.length)
1227
- return;
1228
- const I = M[0], L = M[M.length - 1];
1229
- E.shiftKey && document.activeElement === I ? (E.preventDefault(), L.focus()) : !E.shiftKey && document.activeElement === L && (E.preventDefault(), I.focus());
1053
+ if (!t || E.key !== "Tab") return;
1054
+ const T = se(e.elements.floating);
1055
+ if (!T.length) return;
1056
+ const I = T[0], R = T[T.length - 1];
1057
+ E.shiftKey && document.activeElement === I ? (E.preventDefault(), R.focus()) : !E.shiftKey && document.activeElement === R && (E.preventDefault(), I.focus());
1230
1058
  }
1231
1059
  },
1232
- u ? /* @__PURE__ */ S.createElement(
1060
+ a ? /* @__PURE__ */ F.createElement(
1233
1061
  "button",
1234
1062
  {
1235
1063
  type: "button",
@@ -1246,341 +1074,336 @@ function Ro({
1246
1074
  },
1247
1075
  onClick: () => e.setOpen(!1, "dismiss")
1248
1076
  },
1249
- typeof u == "string" ? u : "Dismiss"
1077
+ typeof a == "string" ? a : "Dismiss"
1250
1078
  ) : null,
1251
- o
1252
- ), r && f ? /* @__PURE__ */ S.createElement("span", { ref: l, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => F(!1) }) : null);
1079
+ n
1080
+ ), t && u ? /* @__PURE__ */ F.createElement("span", { ref: s, tabIndex: 0, "data-floating-focus-guard": "", "aria-hidden": "true", onFocus: () => O(!1) }) : null);
1253
1081
  }
1254
- const Oe = ae(null), Ze = ae(null);
1255
- function Mo({ children: e }) {
1256
- const o = R([]), [r, t] = H(0), n = V(() => new EventTarget(), []), f = D((d) => (o.current = [...o.current.filter((l) => l.id !== d.id), d], t((l) => l + 1), () => {
1257
- o.current = o.current.filter((l) => l.id !== d.id), t((l) => l + 1);
1258
- }), []), s = D((d, l = {}) => {
1259
- n.dispatchEvent(new CustomEvent(d, { detail: l }));
1260
- }, [n]), c = D((d, l) => {
1261
- const p = l;
1262
- return n.addEventListener(d, p), () => {
1263
- n.removeEventListener(d, p);
1082
+ const Oe = ue(null), Xe = ue(null);
1083
+ function Pt({ children: e }) {
1084
+ const n = A([]), [t, r] = H(0), o = $(() => new EventTarget(), []), u = b((d) => (n.current = [...n.current.filter((s) => s.id !== d.id), d], r((s) => s + 1), () => {
1085
+ n.current = n.current.filter((s) => s.id !== d.id), r((s) => s + 1);
1086
+ }), []), i = b((d, s = {}) => {
1087
+ o.dispatchEvent(new CustomEvent(d, { detail: s }));
1088
+ }, [o]), l = b((d, s) => {
1089
+ const c = s;
1090
+ return o.addEventListener(d, c), () => {
1091
+ o.removeEventListener(d, c);
1264
1092
  };
1265
- }, [n]), i = D((d) => o.current.find((l) => l.id === d) || null, []), u = D((d) => o.current.filter((l) => (l.parentId ?? null) === (d ?? null)), []), a = D((d, l = "dismiss") => {
1266
- const p = (y) => {
1267
- o.current.filter((P) => P.parentId === y).forEach((P) => {
1268
- var F;
1269
- (F = P.setOpen) == null || F.call(P, !1, l), p(P.id);
1093
+ }, [o]), p = b((d) => n.current.find((s) => s.id === d) || null, []), a = b((d) => n.current.filter((s) => (s.parentId ?? null) === (d ?? null)), []), m = b((d, s = "dismiss") => {
1094
+ const c = (g) => {
1095
+ n.current.filter((h) => h.parentId === g).forEach((h) => {
1096
+ h.setOpen?.(!1, s), c(h.id);
1270
1097
  });
1271
1098
  };
1272
- p(d);
1273
- }, []), m = V(() => ({
1274
- nodes: o,
1275
- register: f,
1276
- events: n,
1277
- emit: s,
1278
- on: c,
1279
- getNode: i,
1280
- getChildren: u,
1281
- closeDescendants: a
1282
- }), [a, s, n, u, i, c, f, r]);
1283
- return /* @__PURE__ */ S.createElement(Oe.Provider, { value: m }, e);
1099
+ c(d);
1100
+ }, []), f = $(() => ({
1101
+ nodes: n,
1102
+ register: u,
1103
+ events: o,
1104
+ emit: i,
1105
+ on: l,
1106
+ getNode: p,
1107
+ getChildren: a,
1108
+ closeDescendants: m
1109
+ }), [m, i, o, a, p, l, u, t]);
1110
+ return /* @__PURE__ */ F.createElement(Oe.Provider, { value: f }, e);
1284
1111
  }
1285
1112
  function we() {
1286
- return re(Oe);
1113
+ return ee(Oe);
1287
1114
  }
1288
- function Je() {
1289
- return re(Ze);
1115
+ function Ye() {
1116
+ return ee(Xe);
1290
1117
  }
1291
- function Fo(e) {
1292
- const o = we(), r = Je(), t = R(`floating-node-${Math.random().toString(36).slice(2, 9)}`), n = R(void 0);
1293
- let f, s;
1294
- typeof e == "string" || e == null ? f = e ?? r : (f = e.parentId ?? r, s = e.setOpen), K(() => {
1295
- n.current = s;
1296
- }, [s]);
1297
- const c = D((u, a) => {
1298
- var m;
1299
- (m = n.current) == null || m.call(n, u, a);
1300
- }, []), i = o == null ? void 0 : o.register;
1301
- return K(() => i == null ? void 0 : i({ id: t.current, parentId: f, setOpen: c }), [c, f, i]), t.current;
1118
+ function ht(e) {
1119
+ const n = we(), t = Ye(), r = A(`floating-node-${Math.random().toString(36).slice(2, 9)}`), o = A(void 0);
1120
+ let u, i;
1121
+ typeof e == "string" || e == null ? u = e ?? t : (u = e.parentId ?? t, i = e.setOpen), N(() => {
1122
+ o.current = i;
1123
+ }, [i]);
1124
+ const l = b((a, m) => {
1125
+ o.current?.(a, m);
1126
+ }, []), p = n?.register;
1127
+ return N(() => p?.({ id: r.current, parentId: u, setOpen: l }), [l, u, p]), r.current;
1302
1128
  }
1303
- const Pe = ae(null);
1304
- function To({ children: e, delay: o = 250, closeDelay: r }) {
1305
- const t = R(null), [n, f] = H(null), [s, c] = H(!1), i = R(null), u = ee(o, "open"), a = r ?? (ee(o, "close") || 120), m = D(() => {
1306
- t.current && (window.clearTimeout(t.current), t.current = null);
1129
+ const xe = ue(null);
1130
+ function vt({ children: e, delay: n = 250, closeDelay: t }) {
1131
+ const r = A(null), [o, u] = H(null), [i, l] = H(!1), p = A(null), a = J(n, "open"), m = t ?? (J(n, "close") || 120), f = b(() => {
1132
+ r.current && (window.clearTimeout(r.current), r.current = null);
1307
1133
  }, []);
1308
- K(() => {
1309
- i.current = n;
1310
- }, [n]);
1311
- const d = D((y) => {
1312
- m(), i.current = y, f(y), c(!0);
1313
- }, [m]), l = D((y) => {
1314
- m(), t.current = window.setTimeout(() => {
1315
- (i.current === y || i.current == null) && (i.current = null, f(null), c(!1)), t.current = null;
1316
- }, a);
1317
- }, [m, a]);
1318
- K(() => m, [m]);
1319
- const p = V(() => ({
1320
- delay: u,
1321
- closeDelay: a,
1322
- timeoutRef: t,
1323
- currentId: n,
1324
- currentIdRef: i,
1325
- setCurrentId: f,
1326
- instantPhase: s,
1327
- setInstantPhase: c,
1134
+ N(() => {
1135
+ p.current = o;
1136
+ }, [o]);
1137
+ const d = b((g) => {
1138
+ f(), p.current = g, u(g), l(!0);
1139
+ }, [f]), s = b((g) => {
1140
+ f(), r.current = window.setTimeout(() => {
1141
+ (p.current === g || p.current == null) && (p.current = null, u(null), l(!1)), r.current = null;
1142
+ }, m);
1143
+ }, [f, m]);
1144
+ N(() => f, [f]);
1145
+ const c = $(() => ({
1146
+ delay: a,
1147
+ closeDelay: m,
1148
+ timeoutRef: r,
1149
+ currentId: o,
1150
+ currentIdRef: p,
1151
+ setCurrentId: u,
1152
+ instantPhase: i,
1153
+ setInstantPhase: l,
1328
1154
  beginInstantPhase: d,
1329
- scheduleInstantPhaseReset: l,
1330
- cancelInstantPhaseReset: m
1155
+ scheduleInstantPhaseReset: s,
1156
+ cancelInstantPhaseReset: f
1331
1157
  }), [
1332
1158
  d,
1333
- m,
1334
- n,
1335
- s,
1336
- u,
1159
+ f,
1160
+ o,
1161
+ i,
1337
1162
  a,
1338
- l
1163
+ m,
1164
+ s
1339
1165
  ]);
1340
- return /* @__PURE__ */ S.createElement(Pe.Provider, { value: p }, e);
1166
+ return /* @__PURE__ */ F.createElement(xe.Provider, { value: c }, e);
1341
1167
  }
1342
- function Lo() {
1343
- const e = re(Pe);
1168
+ function At() {
1169
+ const e = ee(xe);
1344
1170
  return e ? {
1345
1171
  ...e,
1346
1172
  isInstantPhase: e.instantPhase
1347
1173
  } : null;
1348
1174
  }
1349
- const Co = S.forwardRef(function({ children: o, orientation: r = "vertical", loop: t = !0, cols: n = 1, rtl: f = !1, ...s }, c) {
1350
- const i = R(null);
1351
- return /* @__PURE__ */ S.createElement(
1175
+ const It = F.forwardRef(function({ children: n, orientation: t = "vertical", loop: r = !0, cols: o = 1, rtl: u = !1, ...i }, l) {
1176
+ const p = A(null);
1177
+ return /* @__PURE__ */ F.createElement(
1352
1178
  "div",
1353
1179
  {
1354
- ...s,
1355
- ref: xe(i, c),
1356
- role: s.role || "group",
1357
- onKeyDown: k(s.onKeyDown, (u) => {
1358
- var P, F;
1359
- const a = Array.from(((P = i.current) == null ? void 0 : P.querySelectorAll("[data-composite-item]")) || []);
1360
- if (!a.length)
1361
- return;
1362
- const m = a.indexOf(document.activeElement), d = r === "vertical" || r === "both", l = r === "horizontal" || r === "both";
1363
- let p = 0;
1364
- if (d && u.key === "ArrowDown" ? p = n : d && u.key === "ArrowUp" ? p = -n : l && u.key === (f ? "ArrowLeft" : "ArrowRight") ? p = 1 : l && u.key === (f ? "ArrowRight" : "ArrowLeft") && (p = -1), !p && u.key !== "Home" && u.key !== "End")
1365
- return;
1366
- u.preventDefault();
1367
- let y = m;
1368
- u.key === "Home" ? y = 0 : u.key === "End" ? y = a.length - 1 : y += p, t && u.key !== "Home" && u.key !== "End" ? y = (y + a.length) % a.length : y = Math.max(0, Math.min(a.length - 1, y)), (F = a[y]) == null || F.focus();
1180
+ ...i,
1181
+ ref: ye(p, l),
1182
+ role: i.role || "group",
1183
+ onKeyDown: S(i.onKeyDown, (a) => {
1184
+ const m = Array.from(p.current?.querySelectorAll("[data-composite-item]") || []);
1185
+ if (!m.length) return;
1186
+ const f = m.indexOf(document.activeElement), d = t === "vertical" || t === "both", s = t === "horizontal" || t === "both";
1187
+ let c = 0;
1188
+ if (d && a.key === "ArrowDown" ? c = o : d && a.key === "ArrowUp" ? c = -o : s && a.key === (u ? "ArrowLeft" : "ArrowRight") ? c = 1 : s && a.key === (u ? "ArrowRight" : "ArrowLeft") && (c = -1), !c && a.key !== "Home" && a.key !== "End") return;
1189
+ a.preventDefault();
1190
+ let g = f;
1191
+ a.key === "Home" ? g = 0 : a.key === "End" ? g = m.length - 1 : g += c, r && a.key !== "Home" && a.key !== "End" ? g = (g + m.length) % m.length : g = Math.max(0, Math.min(m.length - 1, g)), m[g]?.focus();
1369
1192
  })
1370
1193
  },
1371
- o
1194
+ n
1372
1195
  );
1373
1196
  });
1374
1197
  export {
1375
- Rl as Accordion,
1376
- Bo as Alert,
1377
- Vo as AlertActions,
1378
- Ho as AlertDescription,
1379
- $l as AlertDialog,
1380
- Kl as AlertDialogActions,
1381
- Bl as AlertDialogContent,
1382
- Vl as AlertDialogDescription,
1383
- Hl as AlertDialogIcon,
1384
- Gl as AlertDialogProvider,
1385
- zl as AlertDialogTitle,
1386
- zo as AlertIcon,
1387
- qo as AlertTitle,
1388
- Hu as Anchor,
1389
- ta as AnimatedBeam,
1390
- Wl as AnimatedList,
1391
- xa as AnimatedNumber,
1392
- _l as AnimatedText,
1393
- au as AppHeader,
1394
- fu as AppHeaderCenter,
1395
- cu as AppHeaderEnd,
1396
- mu as AppHeaderStart,
1397
- pu as AppHeaderSubtitle,
1398
- du as AppHeaderTitle,
1399
- tl as AspectRatio,
1400
- ol as Avatar,
1401
- An as Badge,
1402
- Ps as BlockControls,
1403
- Bs as Box,
1404
- uu as Breadcrumb,
1405
- No as Button,
1406
- Yn as Calendar,
1407
- Sl as Card,
1408
- On as Carousel,
1409
- Cn as Chart,
1410
- qu as Checkbox,
1411
- Kn as CodeBlock,
1412
- Vn as CodeSnippet,
1413
- hl as Collapsible,
1414
- Fu as Collection,
1415
- Jn as ColorPicker,
1416
- vn as Combobox,
1417
- Es as Command,
1418
- Is as CommandItem,
1419
- Ms as CommandPalette,
1420
- Fs as CommandPaletteItem,
1421
- Co as Composite,
1422
- Zs as Container,
1423
- Ls as ContextMenu,
1424
- gn as ControlGroup,
1425
- zn as CopyButton,
1426
- Tn as DataTable,
1427
- Gn as DataViewToolbar,
1428
- ni as DateField,
1429
- ei as DatePicker,
1430
- ri as DateRangePicker,
1431
- hi as DateRangeTimePicker,
1432
- Di as DateTimePicker,
1433
- yn as Description,
1434
- _i as Dialog,
1435
- Xi as DialogProvider,
1436
- Fl as DirectionProvider,
1437
- Nu as DismissableLayer,
1438
- ia as Dock,
1439
- vu as Drawer,
1440
- Uo as Dropdown,
1441
- jo as DropdownContent,
1442
- _o as DropdownItem,
1443
- Qo as DropdownSectionLabel,
1444
- Xo as DropdownSeparator,
1445
- Yo as DropdownTrigger,
1446
- ln as Dropzone,
1447
- In as EmptyState,
1448
- pn as Field,
1449
- xn as FieldError,
1450
- wn as Fieldset,
1451
- an as FileUpload,
1452
- bn as FiltersBar,
1453
- Hs as Flex,
1454
- Ao as FloatingArrow,
1455
- To as FloatingDelayGroup,
1456
- Ro as FloatingFocusManager,
1457
- vo as FloatingList,
1458
- Ne as FloatingListContext,
1459
- Io as FloatingOverlay,
1460
- Eo as FloatingPortal,
1461
- xs as FloatingToolbar,
1462
- Mo as FloatingTree,
1463
- $u as FocusScope,
1464
- $s as Form,
1465
- Ei as Gantt,
1466
- qs as Grid,
1467
- Ll as HoverCard,
1468
- us as Icon,
1469
- oa as IconCloud,
1470
- xi as InlineEdit,
1471
- Jo as Input,
1472
- Ds as Kbd,
1473
- Nl as Label,
1474
- Au as Layout,
1475
- Lu as Listbox,
1476
- aa as Marquee,
1477
- _s as MasonryGrid,
1478
- rs as Menu,
1479
- os as MenuItem,
1480
- ns as MenuSectionLabel,
1481
- is as MenuSeparator,
1482
- Ui as Menubar,
1483
- al as Meter,
1484
- Qn as MetricCard,
1485
- ai as MultiSelect,
1486
- Ni as NavigationMenu,
1487
- Oi as NavigationMenuContent,
1488
- $i as NavigationMenuIndicator,
1489
- Ki as NavigationMenuItem,
1490
- Bi as NavigationMenuLink,
1491
- Vi as NavigationMenuList,
1492
- Hi as NavigationMenuRoot,
1493
- zi as NavigationMenuTrigger,
1494
- qi as NavigationMenuViewport,
1495
- ui as NumberField,
1496
- Zl as NumberTicker,
1497
- nn as OTPInput,
1498
- ua as Orbiter,
1499
- yu as PageHeader,
1500
- wu as PageToolbar,
1501
- El as Pagination,
1502
- tu as Panel,
1503
- ru as PanelGroup,
1504
- en as PasswordField,
1505
- sn as PinInput,
1506
- Us as PlacementGrid,
1507
- Ns as PluginPanel,
1508
- Ji as Popover,
1509
- cl as Portal,
1510
- Bu as Positioner,
1511
- il as Presence,
1512
- ul as Progress,
1513
- Si as QuickActions,
1514
- Uu as Radio,
1515
- _u as RadioGroup,
1516
- Li as Rating,
1517
- bu as RecordHeader,
1518
- Su as RovingFocusGroup,
1519
- pl as ScrollArea,
1520
- Xs as Section,
1521
- ca as Select,
1522
- Ss as SelectionPopup,
1523
- gl as Separator,
1524
- hs as Shortcut,
1525
- Ws as Sidebar,
1526
- ga as Skeleton,
1527
- pa as Slider,
1528
- xl as Slot,
1529
- gi as Sortable,
1530
- Xl as SpinningText,
1531
- ci as SplitButton,
1532
- ou as Splitter,
1533
- jn as Stat,
1534
- Ri as Stepper,
1535
- Xu as Switch,
1536
- Mn as Table,
1537
- es as Tabs,
1538
- rn as TagsInput,
1539
- cn as Textarea,
1540
- Iu as ThemeProvider,
1541
- ii as TimeField,
1542
- Pi as TimePicker,
1543
- kn as Timeline,
1544
- gs as Toast,
1545
- as as ToastAPI,
1546
- fs as ToastProvider,
1547
- Zu as Toggle,
1548
- Wu as ToggleGroup,
1549
- Pl as Toolbar,
1550
- $o as Tooltip,
1551
- pi as TransferList,
1552
- iu as Tree,
1553
- Dl as VisuallyHidden,
1554
- Fi as Wizard,
1555
- ye as assignRef,
1556
- Qe as callAll,
1557
- k as composeEventHandlers,
1558
- xe as mergeRefs,
1559
- cs as toast,
1560
- Da as toastAdvanced,
1561
- ms as toastApi,
1562
- va as toastLegacy,
1563
- ha as toastPro,
1564
- Ul as useAlertDialog,
1565
- wa as useAnimatedNumber,
1566
- Pa as useAnimatedNumberValue,
1567
- mo as useClick,
1568
- Do as useClientPoint,
1569
- Lo as useDelayGroup,
1570
- Yi as useDialog,
1571
- xo as useDismiss,
1572
- fo as useFloating,
1573
- ho as useFloatingList,
1574
- Fo as useFloatingNodeId,
1198
+ Ps as Accordion,
1199
+ Lt as Alert,
1200
+ St as AlertActions,
1201
+ Ot as AlertDescription,
1202
+ Fs as AlertDialog,
1203
+ Ls as AlertDialogActions,
1204
+ Ss as AlertDialogContent,
1205
+ Os as AlertDialogDescription,
1206
+ ks as AlertDialogIcon,
1207
+ $s as AlertDialogProvider,
1208
+ Ns as AlertDialogTitle,
1209
+ kt as AlertIcon,
1210
+ Nt as AlertTitle,
1211
+ ki as Anchor,
1212
+ Xs as AnimatedBeam,
1213
+ _s as AnimatedList,
1214
+ cu as AnimatedNumber,
1215
+ Gs as AnimatedText,
1216
+ ni as AppHeader,
1217
+ oi as AppHeaderCenter,
1218
+ ii as AppHeaderEnd,
1219
+ si as AppHeaderStart,
1220
+ ui as AppHeaderSubtitle,
1221
+ ai as AppHeaderTitle,
1222
+ Xi as AspectRatio,
1223
+ Zi as Avatar,
1224
+ yr as Badge,
1225
+ mo as BlockControls,
1226
+ So as Box,
1227
+ ti as Breadcrumb,
1228
+ Mt as Button,
1229
+ Vr as Calendar,
1230
+ Rs as Card,
1231
+ Mr as Carousel,
1232
+ Ar as Chart,
1233
+ Ki as Checkbox,
1234
+ Cr as CodeBlock,
1235
+ Lr as CodeSnippet,
1236
+ ws as Collapsible,
1237
+ vi as Collection,
1238
+ qr as ColorPicker,
1239
+ pr as Combobox,
1240
+ bo as Command,
1241
+ Do as CommandItem,
1242
+ ho as CommandPalette,
1243
+ vo as CommandPaletteItem,
1244
+ It as Composite,
1245
+ Uo as Container,
1246
+ Io as ContextMenu,
1247
+ ur as ControlGroup,
1248
+ Or as CopyButton,
1249
+ hr as DataTable,
1250
+ Nr as DataViewToolbar,
1251
+ Yr as DateField,
1252
+ jr as DatePicker,
1253
+ Qr as DateRangePicker,
1254
+ yn as DateRangeTimePicker,
1255
+ pn as DateTimePicker,
1256
+ ar as Description,
1257
+ Hn as Dialog,
1258
+ Vn as DialogProvider,
1259
+ vs as DirectionProvider,
1260
+ Ti as DismissableLayer,
1261
+ Ws as Dock,
1262
+ yi as Drawer,
1263
+ $t as Dropdown,
1264
+ Bt as DropdownContent,
1265
+ Ht as DropdownItem,
1266
+ Gt as DropdownSectionLabel,
1267
+ Vt as DropdownSeparator,
1268
+ zt as DropdownTrigger,
1269
+ er as Dropzone,
1270
+ xr as EmptyState,
1271
+ ir as Field,
1272
+ lr as FieldError,
1273
+ fr as Fieldset,
1274
+ tr as FileUpload,
1275
+ mr as FiltersBar,
1276
+ ko as Flex,
1277
+ wt as FloatingArrow,
1278
+ vt as FloatingDelayGroup,
1279
+ Dt as FloatingFocusManager,
1280
+ gt as FloatingList,
1281
+ Se as FloatingListContext,
1282
+ bt as FloatingOverlay,
1283
+ xt as FloatingPortal,
1284
+ fo as FloatingToolbar,
1285
+ Pt as FloatingTree,
1286
+ Fi as FocusScope,
1287
+ Fo as Form,
1288
+ xn as Gantt,
1289
+ Ko as Grid,
1290
+ Is as HoverCard,
1291
+ eo as Icon,
1292
+ Zs as IconCloud,
1293
+ fn as InlineEdit,
1294
+ Ut as Input,
1295
+ go as Kbd,
1296
+ Ts as Label,
1297
+ xi as Layout,
1298
+ Ii as Listbox,
1299
+ nu as Marquee,
1300
+ Go as MasonryGrid,
1301
+ Xn as Menu,
1302
+ Yn as MenuItem,
1303
+ Zn as MenuSectionLabel,
1304
+ Jn as MenuSeparator,
1305
+ $n as Menubar,
1306
+ ns as Meter,
1307
+ Hr as MetricCard,
1308
+ tn as MultiSelect,
1309
+ Mn as NavigationMenu,
1310
+ Tn as NavigationMenuContent,
1311
+ Cn as NavigationMenuIndicator,
1312
+ Fn as NavigationMenuItem,
1313
+ Ln as NavigationMenuLink,
1314
+ Sn as NavigationMenuList,
1315
+ On as NavigationMenuRoot,
1316
+ kn as NavigationMenuTrigger,
1317
+ Nn as NavigationMenuViewport,
1318
+ Wr as NumberField,
1319
+ Us as NumberTicker,
1320
+ Zt as OTPInput,
1321
+ tu as Orbiter,
1322
+ fi as PageHeader,
1323
+ mi as PageToolbar,
1324
+ bs as Pagination,
1325
+ Xo as Panel,
1326
+ Yo as PanelGroup,
1327
+ _t as PasswordField,
1328
+ Jt as PinInput,
1329
+ Bo as PlacementGrid,
1330
+ To as PluginPanel,
1331
+ Un as Popover,
1332
+ is as Portal,
1333
+ Si as Positioner,
1334
+ Wi as Presence,
1335
+ ts as Progress,
1336
+ En as QuickActions,
1337
+ Bi as Radio,
1338
+ Gi as RadioGroup,
1339
+ An as Rating,
1340
+ pi as RecordHeader,
1341
+ Ri as RovingFocusGroup,
1342
+ us as ScrollArea,
1343
+ zo as Section,
1344
+ iu as Select,
1345
+ Ro as SelectionPopup,
1346
+ ls as Separator,
1347
+ wo as Shortcut,
1348
+ _o as Sidebar,
1349
+ lu as Skeleton,
1350
+ uu as Slider,
1351
+ cs as Slot,
1352
+ an as Sortable,
1353
+ zs as SpinningText,
1354
+ nn as SplitButton,
1355
+ Zo as Splitter,
1356
+ $r as Stat,
1357
+ Dn as Stepper,
1358
+ zi as Switch,
1359
+ Dr as Table,
1360
+ _n as Tabs,
1361
+ Xt as TagsInput,
1362
+ nr as Textarea,
1363
+ Di as ThemeProvider,
1364
+ Zr as TimeField,
1365
+ mn as TimePicker,
1366
+ Er as Timeline,
1367
+ ao as Toast,
1368
+ ro as ToastAPI,
1369
+ no as ToastProvider,
1370
+ Ui as Toggle,
1371
+ _i as ToggleGroup,
1372
+ ds as Toolbar,
1373
+ Ct as Tooltip,
1374
+ sn as TransferList,
1375
+ Wo as Tree,
1376
+ gs as VisuallyHidden,
1377
+ hn as Wizard,
1378
+ ge as assignRef,
1379
+ je as callAll,
1380
+ S as composeEventHandlers,
1381
+ ye as mergeRefs,
1382
+ oo as toast,
1383
+ gu as toastAdvanced,
1384
+ io as toastApi,
1385
+ yu as toastLegacy,
1386
+ wu as toastPro,
1387
+ Bs as useAlertDialog,
1388
+ mu as useAnimatedNumber,
1389
+ du as useAnimatedNumberValue,
1390
+ st as useClick,
1391
+ pt as useClientPoint,
1392
+ At as useDelayGroup,
1393
+ zn as useDialog,
1394
+ ft as useDismiss,
1395
+ ot as useFloating,
1396
+ yt as useFloatingList,
1397
+ ht as useFloatingNodeId,
1575
1398
  we as useFloatingTree,
1576
- go as useFocus,
1577
- ao as useForm,
1578
- po as useHover,
1579
- co as useInteractions,
1580
- wo as useListNavigation,
1581
- yo as useRole,
1582
- Ru as useTheme,
1583
- ps as useToast,
1584
- bo as useTransition,
1585
- Po as useTypeahead
1399
+ at as useFocus,
1400
+ nt as useForm,
1401
+ ut as useHover,
1402
+ it as useInteractions,
1403
+ ct as useListNavigation,
1404
+ lt as useRole,
1405
+ Pi as useTheme,
1406
+ so as useToast,
1407
+ dt as useTransition,
1408
+ mt as useTypeahead
1586
1409
  };