@midas-ds/components 14.0.0 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/AccordionItem-DTbu3lqx.js +343 -0
  2. package/AccordionItem-tWS22wDv.cjs +1 -0
  3. package/{Breadcrumbs-DpUPChG9.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
  4. package/{Breadcrumbs-CV3rVTjR.js → Breadcrumbs-BenPNv8Z.js} +4 -4
  5. package/Button-1sEX8jKn.cjs +1 -0
  6. package/{Button-xc8A29pm.cjs → Button-BEWKXjlP.cjs} +1 -1
  7. package/{Button-B6lxIKPk.js → Button-BbfVT9Yl.js} +122 -116
  8. package/{Button-CRIYvCRM.js → Button-DdXFHfXw.js} +1 -1
  9. package/CHANGELOG.md +49 -0
  10. package/{Card-CfosvMF5.js → Card-CdqGFff2.js} +3 -3
  11. package/{Card-D2E3gviQ.cjs → Card-Db9xdzJ0.cjs} +1 -1
  12. package/{CharacterCounter-C-PFKoGg.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
  13. package/{CharacterCounter-DpFONstE.js → CharacterCounter-gbDGfize.js} +2 -2
  14. package/Checkbox-BgrLxY6P.cjs +1 -0
  15. package/{Checkbox-Cr3MmHPE.js → Checkbox-CdN1D5pD.js} +94 -90
  16. package/{CheckboxGroup-DEY3JDEL.js → CheckboxGroup-CtJJqk_q.js} +7 -7
  17. package/{CheckboxGroup-f9Oa1MhQ.cjs → CheckboxGroup-thvsvOqD.cjs} +1 -1
  18. package/{Collection-j_iWeuZo.js → Collection-BkxwF21i.js} +205 -213
  19. package/Collection-vGO6v3_U.cjs +1 -0
  20. package/{ColorSchemeSwitch-Cur7zN5_.cjs → ColorSchemeSwitch-Ckna0otR.cjs} +1 -1
  21. package/{ColorSchemeSwitch-ChFSNntp.js → ColorSchemeSwitch-aF2UxI20.js} +2 -2
  22. package/{ComboBox-D7eKe-M5.js → ComboBox-BDX4BYWJ.js} +244 -229
  23. package/ComboBox-DFPrJUoV.cjs +1 -0
  24. package/{DateField-BszKZodr.cjs → DateField-B92Cqf9K.cjs} +1 -1
  25. package/{DateField-xyhyDy7u.js → DateField-BPRWrVcu.js} +4 -4
  26. package/DateInputDivider-CCrXjsUB.cjs +1 -0
  27. package/{DateInputDivider-2Wf2hlXA.js → DateInputDivider-DOHpVaNE.js} +191 -188
  28. package/DateRangePicker-COSTCOt8.cjs +6 -0
  29. package/{DateRangePicker-YwKi0ukr.js → DateRangePicker-Cmt9NC35.js} +119 -115
  30. package/Dialog-CPuJA2fm.js +256 -0
  31. package/{Dialog-DOyFzvUa.js → Dialog-D4Py85wi.js} +712 -694
  32. package/Dialog-DtOf0vWx.cjs +1 -0
  33. package/Dialog-DycTLpdr.cjs +6 -0
  34. package/{DragAndDrop-DQ_6tl6K.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
  35. package/{DragAndDrop-DPRU3Y0Y.js → DragAndDrop-DF0VoPJw.js} +1 -1
  36. package/{Dropdown-uC9wc8vd.js → Dropdown-B4lwe0Hn.js} +2 -2
  37. package/{Dropdown-5rmvcHD_.cjs → Dropdown-_g9l5k07.cjs} +1 -1
  38. package/{FieldError-C4kD4yJZ.js → FieldError-CIxlNQCM.js} +13 -13
  39. package/{FieldError-C4WBoCRc.cjs → FieldError-JWxR_EqN.cjs} +1 -1
  40. package/{FileUpload-CTbh7Gic.cjs → FileUpload-C0TjNkuh.cjs} +2 -2
  41. package/{FileUpload-01wGpykv.js → FileUpload-DLBP3VPp.js} +260 -534
  42. package/Group-B0Wj9pI8.cjs +1 -0
  43. package/Group-BAd7alBM.js +46 -0
  44. package/{Heading-CEx2LJyM.js → Heading-CCoGfKQ8.js} +9 -9
  45. package/{Heading-CUShN98j.cjs → Heading-x7y3xadc.cjs} +1 -1
  46. package/{InfoBanner-CRSz8DK2.js → InfoBanner-D7Ta-7PI.js} +1 -1
  47. package/{InfoBanner-D_pNj1J2.cjs → InfoBanner-_M_rGQiu.cjs} +1 -1
  48. package/{Input-CCuE9Sc5.cjs → Input-Bda0PCu5.cjs} +1 -1
  49. package/{Input-CkTOajNJ.js → Input-CQzv-D9g.js} +3 -3
  50. package/{Label-CkIRTC0_.cjs → Label-DpY2SZdQ.cjs} +1 -1
  51. package/{Label-CV9p0K2n.js → Label-FfEnd4ai.js} +4 -4
  52. package/Layout-BrEuHajQ.cjs +16 -0
  53. package/{Layout-IeVrHpT0.js → Layout-Hd1e_MEA.js} +62 -63
  54. package/{Link-BFvUN5Sq.js → Link-BudFjYrw.js} +1 -1
  55. package/{Link-D2K7bDd3.cjs → Link-BvUSTIip.cjs} +1 -1
  56. package/{Link-a3Ymcnoa.cjs → Link-DRU6Qzia.cjs} +1 -1
  57. package/{Link-B9CQXWzE.js → Link-l-nMP-Zd.js} +5 -5
  58. package/{LinkButton-BCn5gR10.cjs → LinkButton-DGdnbTgR.cjs} +1 -1
  59. package/{LinkButton-DN3J1Agu.js → LinkButton-DP9W-E32.js} +1 -1
  60. package/{ListBox-2eEa1l0M.js → ListBox-5GK4ZRj1.js} +189 -178
  61. package/ListBox-FD30iELk.cjs +1 -0
  62. package/{ListBoxSection-dksiACMZ.js → ListBox-LJ3VgZMr.js} +230 -266
  63. package/ListBox-u6ZXp5Yi.cjs +1 -0
  64. package/{ListBoxLoadMoreItem-IcGb_XwN.js → ListBoxLoadMoreItem-B4GFbdYf.js} +3 -3
  65. package/ListBoxLoadMoreItem-DMUOzVtt.cjs +1 -0
  66. package/ListBoxSection-CBlpg0AG.cjs +1 -0
  67. package/ListBoxSection-DjGs1ndn.js +51 -0
  68. package/ListKeyboardDelegate-8zuIfwQ7.cjs +1 -0
  69. package/{ListKeyboardDelegate-Dyu4eFtP.js → ListKeyboardDelegate-BBmpJ-2O.js} +36 -40
  70. package/{OverlayArrow-Bh_G2tJ3.js → OverlayArrow-CjGslX2c.js} +2 -2
  71. package/{OverlayArrow-DJ4nNscD.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
  72. package/Popover-CS8Yyfrq.js +39 -0
  73. package/Popover-DpB0XDBp.cjs +1 -0
  74. package/{PressResponder-DUhG97jJ.js → PressResponder-BMj6Zvbn.js} +3 -3
  75. package/{PressResponder-AXK2I_yx.cjs → PressResponder-ChvCuOue.cjs} +1 -1
  76. package/{ProgressBar-B-TOuoAC.cjs → ProgressBar-BZqAQTV3.cjs} +1 -1
  77. package/{ProgressBar-B0WEQkyq.js → ProgressBar-BpsvPCKk.js} +12 -12
  78. package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
  79. package/RSPContexts-XUvspq3j.cjs +1 -0
  80. package/Radio-B3FBTn4F.cjs +1 -0
  81. package/Radio-LevFYAg4.js +340 -0
  82. package/{RangeCalendar-B6zKSDju.cjs → RangeCalendar-CH0CyBui.cjs} +2 -2
  83. package/{RangeCalendar-D5TMu8GI.js → RangeCalendar-DT_KVd80.js} +58 -58
  84. package/{SearchField-DnBBlPT7.cjs → SearchField-BX7P7BgV.cjs} +1 -1
  85. package/{SearchField-wojUSY2S.js → SearchField-C-TFzcJF.js} +3 -3
  86. package/Select-C-ykeY_T.js +773 -0
  87. package/Select-CiCng7ZP.js +678 -0
  88. package/Select-D4wi-0Jw.cjs +1 -0
  89. package/Select-JIDW2mN8.cjs +1 -0
  90. package/{FocusScope-8ILtcq9W.js → SelectionIndicator-C2E23-zO.js} +270 -174
  91. package/SelectionIndicator-ClG0GpJu.cjs +1 -0
  92. package/SelectionManager-CNJmHeCF.cjs +1 -0
  93. package/SelectionManager-DoNLJm8c.js +1063 -0
  94. package/{Separator-COlhRmJF.js → Separator-CQfDz_zr.js} +10 -10
  95. package/{Separator-DcbM84B8.cjs → Separator-CSyYDGNE.cjs} +1 -1
  96. package/{Separator-BQkxEZC9.cjs → Separator-DCi4bnBr.cjs} +1 -1
  97. package/{Separator--4b7vckr.js → Separator-DLr4kUJD.js} +2 -2
  98. package/Spinner-D6Fcu_Dp.js +54 -0
  99. package/Spinner-DIapnvIz.cjs +6 -0
  100. package/TabList-BBmBumm6.js +394 -0
  101. package/TabList-DVzXuGXA.cjs +1 -0
  102. package/Table-B1nxmW14.cjs +16 -0
  103. package/{Table-cCSOrPkK.js → Table-DxqKDp7N.js} +707 -703
  104. package/Tag-BL-_PONN.cjs +1 -0
  105. package/Tag-DX1X_NZE.js +774 -0
  106. package/{Text-CkhG15SU.cjs → Text-0wXj3J8E.cjs} +1 -1
  107. package/{Text-BQe1I4-r.js → Text-BBFWBNAH.js} +1 -1
  108. package/{Text-CkhZTTV5.cjs → Text-D5OSv6Uv.cjs} +1 -1
  109. package/{Text-BpERRete.js → Text-bqP9NeVg.js} +1 -1
  110. package/{TextArea-B5TsyJxa.cjs → TextArea-Bjf8CBp0.cjs} +1 -1
  111. package/{TextArea-Cado2arG.js → TextArea-CJPBvogq.js} +8 -8
  112. package/TextField-DtD9-arA.cjs +1 -0
  113. package/{TextField-5AI6T1ol.js → TextField-DyR61bjZ.js} +10 -10
  114. package/{Toast-CgXRE33Y.js → Toast-B99bLWnh.js} +12 -12
  115. package/{Toast-Cs-Uvf1p.cjs → Toast-DUZ5jfG1.cjs} +1 -1
  116. package/{ToggleButtonGroup-SKGgfFs4.js → ToggleButtonGroup-CFRutAZ4.js} +82 -78
  117. package/ToggleButtonGroup-dnvnzkaD.cjs +1 -0
  118. package/{Tooltip-txk48Qof.js → Tooltip-CUdmOznK.js} +4 -4
  119. package/{Tooltip-BrupFzaI.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
  120. package/{VisuallyHidden-Awup6QxT.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
  121. package/{VisuallyHidden-D2ZXHTJs.js → VisuallyHidden-DuW70K-5.js} +1 -1
  122. package/accordion/index.cjs +1 -1
  123. package/accordion/index.js +1 -1
  124. package/assets/AccordionItem.css +1 -1
  125. package/assets/FieldError.css +1 -1
  126. package/assets/ListBox.css +1 -0
  127. package/assets/Popover.css +1 -1
  128. package/assets/RangeCalendar.css +1 -1
  129. package/assets/Select.css +1 -1
  130. package/assets/Select2.css +1 -0
  131. package/assets/Spinner.css +1 -1
  132. package/assets/TabList.css +1 -1
  133. package/assets/Tag.css +1 -1
  134. package/assets/default.css +1 -1
  135. package/breadcrumbs/index.cjs +1 -1
  136. package/breadcrumbs/index.js +1 -1
  137. package/button/index.cjs +1 -1
  138. package/button/index.js +1 -1
  139. package/calendar/index.cjs +1 -1
  140. package/calendar/index.js +1 -1
  141. package/card/index.cjs +1 -1
  142. package/card/index.js +1 -1
  143. package/character-counter/index.cjs +1 -1
  144. package/character-counter/index.js +1 -1
  145. package/checkbox/index.cjs +1 -1
  146. package/checkbox/index.js +2 -2
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/combobox/index.cjs +1 -1
  150. package/combobox/index.js +1 -1
  151. package/date-field/index.cjs +1 -1
  152. package/date-field/index.js +2 -2
  153. package/date-picker/index.cjs +1 -1
  154. package/date-picker/index.js +1 -1
  155. package/dropdown/index.cjs +1 -1
  156. package/dropdown/index.js +1 -1
  157. package/field-error/index.cjs +1 -1
  158. package/field-error/index.js +1 -1
  159. package/file-upload/index.cjs +1 -1
  160. package/file-upload/index.js +1 -1
  161. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
  162. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
  163. package/heading/index.cjs +1 -1
  164. package/heading/index.js +1 -1
  165. package/index.cjs +1 -1
  166. package/index.d.ts +1 -0
  167. package/index.js +99 -95
  168. package/info-banner/index.cjs +1 -1
  169. package/info-banner/index.js +1 -1
  170. package/intlStrings-Cd44R5hT.js +278 -0
  171. package/intlStrings-ClBuC6xN.cjs +1 -0
  172. package/label/index.cjs +1 -1
  173. package/label/index.js +1 -1
  174. package/layout/index.cjs +1 -1
  175. package/layout/index.js +1 -1
  176. package/legacy-select/Select.d.ts +8 -0
  177. package/legacy-select/SelectTrigger.d.ts +10 -0
  178. package/legacy-select/index.cjs +1 -0
  179. package/legacy-select/index.d.ts +2 -0
  180. package/legacy-select/index.js +4 -0
  181. package/legacy-select/intl/translations.json.d.ts +17 -0
  182. package/{select → legacy-select}/types.d.ts +2 -2
  183. package/legacy-select/useMultiSelect.d.ts +5 -0
  184. package/link/index.cjs +1 -1
  185. package/link/index.js +2 -2
  186. package/link-button/index.cjs +1 -1
  187. package/link-button/index.js +2 -2
  188. package/list-box/ListBox.d.ts +1 -2
  189. package/list-box/ListBoxHeader.d.ts +3 -0
  190. package/list-box/ListBoxItem.d.ts +9 -3
  191. package/list-box/ListBoxSection.d.ts +1 -1
  192. package/list-box/index.cjs +1 -1
  193. package/list-box/index.d.ts +1 -0
  194. package/list-box/index.js +9 -7
  195. package/menu/index.cjs +1 -1
  196. package/menu/index.js +2 -2
  197. package/modal/index.cjs +1 -1
  198. package/modal/index.js +2 -2
  199. package/package.json +4 -4
  200. package/popover/Popover.d.ts +2 -1
  201. package/popover/index.cjs +1 -1
  202. package/popover/index.js +1 -1
  203. package/progress-bar/index.cjs +1 -1
  204. package/progress-bar/index.js +1 -1
  205. package/radio/index.cjs +1 -1
  206. package/radio/index.js +1 -1
  207. package/scrollIntoView-BVI21Y4-.js +65 -0
  208. package/scrollIntoView-BueMOyGp.cjs +1 -0
  209. package/search-field/index.cjs +1 -1
  210. package/search-field/index.js +1 -1
  211. package/select/Select.d.ts +33 -4
  212. package/select/SelectAll.d.ts +1 -0
  213. package/select/SelectTags.d.ts +4 -0
  214. package/select/SelectTrigger.d.ts +4 -8
  215. package/select/SelectValueTag.d.ts +5 -0
  216. package/select/index.cjs +1 -1
  217. package/select/index.d.ts +1 -2
  218. package/select/index.js +1 -1
  219. package/select/intl/translations.json.d.ts +2 -2
  220. package/spinner/Spinner.d.ts +5 -1
  221. package/spinner/index.cjs +1 -1
  222. package/spinner/index.js +1 -1
  223. package/table/index.cjs +1 -1
  224. package/table/index.js +1 -1
  225. package/tabs/Tabs.d.ts +2 -9
  226. package/tabs/index.cjs +1 -1
  227. package/tabs/index.d.ts +0 -1
  228. package/tabs/index.js +1 -1
  229. package/tag/index.cjs +1 -1
  230. package/tag/index.js +1 -1
  231. package/text/index.cjs +1 -1
  232. package/text/index.js +1 -1
  233. package/textfield/TextArea.d.ts +3 -2
  234. package/textfield/TextField.d.ts +3 -2
  235. package/textfield/index.cjs +1 -1
  236. package/textfield/index.js +1 -1
  237. package/toast/index.cjs +1 -1
  238. package/toast/index.js +1 -1
  239. package/toggle-button/index.cjs +1 -1
  240. package/toggle-button/index.js +1 -1
  241. package/tooltip/index.cjs +1 -1
  242. package/tooltip/index.js +1 -1
  243. package/{useButton-Bh3duhYL.cjs → useButton-C0r5nrqs.cjs} +1 -1
  244. package/{useButton-A-VOfwuT.js → useButton-CRgN6aZf.js} +2 -2
  245. package/useDateFormatter-BrrFo4nY.cjs +1 -0
  246. package/{useDateFormatter-CxlJTAki.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
  247. package/{useField-sSWPm-He.js → useField-Bx76iuoW.js} +1 -1
  248. package/{useField-CY4OYE5a.cjs → useField-DvszkIMx.cjs} +1 -1
  249. package/{useFilter-DHcouDzv.js → useFilter-Dn4vTT3G.js} +1 -1
  250. package/{useFilter-DlZLqsJD.cjs → useFilter-eOgdlVLd.cjs} +1 -1
  251. package/{useFocusRing-Cig5Y0l-.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
  252. package/{useFocusRing-Copf_tx8.js → useFocusRing-CcxI7nbg.js} +2 -2
  253. package/{useFocusWithin-BKopz9sr.js → useFocusWithin-DhXBuB2O.js} +1 -1
  254. package/{useFocusWithin-TryC2Kkw.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
  255. package/{useFocusable-CCh54GIw.js → useFocusable-BJj-Bkig.js} +3 -3
  256. package/{useFocusable-DhdAtEw8.cjs → useFocusable-M4se1KJt.cjs} +1 -1
  257. package/{useFormValidation-DdIIVZ5j.js → useFormValidation-By7G-T7y.js} +1 -1
  258. package/{useFormValidation-BJNizNDf.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
  259. package/useHasTabbableChild-BJ_VejL5.cjs +1 -0
  260. package/{useHasTabbableChild-BbgOpdGQ.js → useHasTabbableChild-DpISgPsS.js} +1 -1
  261. package/{useHighlightSelectionDescription-D6F-YO6b.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
  262. package/{useHighlightSelectionDescription-BL_02EKv.js → useHighlightSelectionDescription-Zvo5KTxM.js} +2 -2
  263. package/{useHover-eU40luVI.cjs → useHover-DULSfLuK.cjs} +1 -1
  264. package/{useHover-zCCNtF6g.js → useHover-DkC5FyNd.js} +4 -4
  265. package/{useListState-D2yPZrFZ.js → useListState-CP7AKhOX.js} +1 -1
  266. package/{useListState-BdC308Sq.cjs → useListState-DZFWpD-x.cjs} +1 -1
  267. package/{usePress-4yZ5a87p.js → usePress-BqQIhkNY.js} +43 -43
  268. package/usePress-DmU79HEg.cjs +7 -0
  269. package/{useSingleSelectListState-lyai-bC_.js → useSingleSelectListState-GSY0f4qW.js} +1 -1
  270. package/{useSingleSelectListState-b_SPhYG4.cjs → useSingleSelectListState-JCvbhUVI.cjs} +1 -1
  271. package/{useTextField-DUEQl6sr.cjs → useTextField-CiWV3eeD.cjs} +1 -1
  272. package/{useTextField-DjxrmW7d.js → useTextField-I3QVGvyX.js} +4 -4
  273. package/utils/types.d.ts +5 -0
  274. package/utils-CtICjCYt.cjs +1 -0
  275. package/{utils-BMBoiyL7.js → utils-D2iKpxcZ.js} +43 -39
  276. package/utils-DRIRjPUS.cjs +1 -0
  277. package/{utils-CrT5PVBA.js → utils-Dxh86KaB.js} +19 -17
  278. package/AccordionItem-BJw5IKe0.js +0 -334
  279. package/AccordionItem-DhMimhYo.cjs +0 -1
  280. package/Button-BTX5G3le.cjs +0 -1
  281. package/Checkbox-D-CFY6QF.cjs +0 -1
  282. package/Collection-DaZzboRu.cjs +0 -1
  283. package/ComboBox-C4NybZ32.cjs +0 -1
  284. package/DateInputDivider-BgXKFwB0.cjs +0 -1
  285. package/DateRangePicker-DTPkr3hX.cjs +0 -6
  286. package/Dialog-DLnopN3Z.js +0 -237
  287. package/Dialog-DNu42oLH.cjs +0 -1
  288. package/Dialog-w6EBWT__.cjs +0 -1
  289. package/FocusScope-Dv0F-mG2.cjs +0 -1
  290. package/Group-C2hEIsGV.js +0 -45
  291. package/Group-cuyk9Hsy.cjs +0 -1
  292. package/Layout-CVnlO10z.cjs +0 -16
  293. package/ListBox-Bx9M5vqb.cjs +0 -1
  294. package/ListBoxLoadMoreItem-BBE3OF4J.cjs +0 -1
  295. package/ListBoxSection-kujY2gUl.cjs +0 -1
  296. package/ListKeyboardDelegate-DJDPir-w.cjs +0 -1
  297. package/Popover-BI2Koco0.cjs +0 -1
  298. package/Popover-D7_IfJ3o.js +0 -38
  299. package/RSPContexts-D8hmBfGm.cjs +0 -1
  300. package/Radio-D6KNkSA2.js +0 -333
  301. package/Radio-DsVsutMH.cjs +0 -1
  302. package/Select-D9h_RQ2k.cjs +0 -1
  303. package/Select-Dc6y8gPR.js +0 -654
  304. package/SelectionManager-D-4ThfPZ.js +0 -1043
  305. package/SelectionManager-FYrDfe5v.cjs +0 -1
  306. package/Spinner-CTha503N.js +0 -47
  307. package/Spinner-DKQ9_SQB.cjs +0 -6
  308. package/TabList-BhC96APe.cjs +0 -1
  309. package/TabList-P5HnizZt.js +0 -393
  310. package/Table-BB8Ag5_3.cjs +0 -16
  311. package/Tag-D2vh0KRD.js +0 -765
  312. package/Tag-D32MGLjS.cjs +0 -1
  313. package/TextField-4xfAzdBI.cjs +0 -1
  314. package/ToggleButtonGroup-CiX2eXB8.cjs +0 -1
  315. package/assets/ListBoxSection.css +0 -1
  316. package/scrollIntoView-ClEACHUk.js +0 -57
  317. package/scrollIntoView-DRSoJp89.cjs +0 -1
  318. package/select/useMultiSelect.d.ts +0 -4
  319. package/useDateFormatter-D0bVjgIb.cjs +0 -1
  320. package/useHasTabbableChild-wH3RCjTd.cjs +0 -1
  321. package/useObserveElement-BdI4zgd7.js +0 -27
  322. package/useObserveElement-BzEr5D32.cjs +0 -1
  323. package/usePress-Dj3t18Pf.cjs +0 -7
  324. package/utils-I-LGXGYH.cjs +0 -1
  325. package/utils-cBvgilDa.cjs +0 -1
  326. package/variables-B3KEYyhW.cjs +0 -1
  327. package/variables-DzXcMW2k.js +0 -5
  328. /package/{select → legacy-select}/HiddenMultiSelect.d.ts +0 -0
  329. /package/{select → legacy-select}/MultiSelectValueTag.d.ts +0 -0
  330. /package/{select → legacy-select}/SelectFieldError.d.ts +0 -0
  331. /package/{select → legacy-select}/SelectListBox.d.ts +0 -0
  332. /package/{select → legacy-select}/useMultiSelectListState.d.ts +0 -0
  333. /package/{select → legacy-select}/useMultiSelectState.d.ts +0 -0
  334. /package/{select → legacy-select}/utils.d.ts +0 -0
@@ -1,20 +1,21 @@
1
- import { jsx as Y } from "react/jsx-runtime";
2
- import { $ as Ae, b as X, a as fe, f as he } from "./utils-BMBoiyL7.js";
3
- import { $ as Fe } from "./Text-BpERRete.js";
4
- import { d as b, $ as ve, e as ye, b as Te, a as N } from "./mergeProps-Ct8m5-xW.js";
5
- import { $ as W } from "./filterDOMProps-wsa9OcNI.js";
6
- import { $ as ze } from "./useLabels-D24on06F.js";
7
- import { k as Se } from "./utils-CrT5PVBA.js";
8
- import k, { useState as J, useEffect as Q, useRef as O, forwardRef as _, createContext as Pe } from "react";
9
- import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-zCCNtF6g.js";
10
- import { $ as Le } from "./useDescription-BFwQx7Rp.js";
1
+ import { jsx as X } from "react/jsx-runtime";
2
+ import { $ as Uu, b as Y, a as qu, f as Zu } from "./utils-D2iKpxcZ.js";
3
+ import { $ as Hu } from "./intlStrings-Cd44R5hT.js";
4
+ import { $ as Mu } from "./Text-bqP9NeVg.js";
5
+ import { d as m, $ as Gu, e as Xu, b as Yu, a as R } from "./mergeProps-Ct8m5-xW.js";
6
+ import { $ as J } from "./filterDOMProps-wsa9OcNI.js";
7
+ import { $ as Ju } from "./useLabels-D24on06F.js";
8
+ import { k as Wu } from "./utils-Dxh86KaB.js";
9
+ import k, { useState as W, useEffect as Q, useRef as N, forwardRef as _, createContext as Qu } from "react";
10
+ import { p as _u, h as ue, k as ee, c as te, $ as re } from "./useHover-DkC5FyNd.js";
11
+ import { $ as ne } from "./useDescription-BFwQx7Rp.js";
11
12
  import { $ as uu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
12
- import { $ as Re } from "./useButton-A-VOfwuT.js";
13
- import { $ as Oe } from "./useFocusRing-Copf_tx8.js";
14
- import { $ as Ne } from "./VisuallyHidden-D2ZXHTJs.js";
15
- import { a as Ze } from "./Input-CkTOajNJ.js";
16
- import { $ as Ue } from "./PressResponder-DUhG97jJ.js";
17
- import { c as qe } from "./clsx-jbLnTBqA.js";
13
+ import { $ as ae } from "./useButton-CRgN6aZf.js";
14
+ import { $ as oe } from "./useFocusRing-CcxI7nbg.js";
15
+ import { $ as ie } from "./VisuallyHidden-DuW70K-5.js";
16
+ import { a as de } from "./Input-CQzv-D9g.js";
17
+ import { $ as le } from "./PressResponder-BMj6Zvbn.js";
18
+ import { c as ce } from "./clsx-jbLnTBqA.js";
18
19
  import './assets/FileUpload.css';var B = /* @__PURE__ */ function(u) {
19
20
  return u[u.none = 0] = "none", u[u.cancel = 0] = "cancel", u[u.move = 1] = "move", u[u.copy = 2] = "copy", u[u.link = 4] = "link", u[u.all = 7] = "all", u;
20
21
  }({});
@@ -25,8 +26,8 @@ const eu = {
25
26
  linkMove: 5,
26
27
  all: 7,
27
28
  uninitialized: 7
28
- }, He = ru(eu);
29
- He[7] = "all";
29
+ }, pe = ru(eu);
30
+ pe[7] = "all";
30
31
  const tu = {
31
32
  none: "cancel",
32
33
  link: "link",
@@ -35,149 +36,149 @@ const tu = {
35
36
  }, V = ru(tu);
36
37
  function ru(u) {
37
38
  let e = {};
38
- for (let a in u) e[u[a]] = a;
39
+ for (let n in u) e[u[n]] = n;
39
40
  return e;
40
41
  }
41
- const Me = /* @__PURE__ */ new Set([
42
+ const se = /* @__PURE__ */ new Set([
42
43
  "text/plain",
43
44
  "text/uri-list",
44
45
  "text/html"
45
- ]), K = "application/vnd.react-aria.items+json", I = "application/octet-stream", Ge = Symbol();
46
- function Ye(u) {
46
+ ]), I = "application/vnd.react-aria.items+json", P = "application/octet-stream", De = Symbol();
47
+ function Be(u) {
47
48
  return u || (u = "virtual"), u === "pointer" && (u = "virtual"), u === "virtual" && typeof window < "u" && "ontouchstart" in window && (u = "touch"), u;
48
49
  }
49
- function Xe() {
50
- return Ye(Ke());
50
+ function Ee() {
51
+ return Be(_u());
51
52
  }
52
- function Z(u, e) {
53
- let a = /* @__PURE__ */ new Map(), n = !1, o = [];
53
+ function U(u, e) {
54
+ let n = /* @__PURE__ */ new Map(), a = !1, o = [];
54
55
  for (let t of e) {
55
- let d = Object.keys(t);
56
- d.length > 1 && (n = !0);
56
+ let l = Object.keys(t);
57
+ l.length > 1 && (a = !0);
57
58
  let s = {};
58
- for (let D of d) {
59
- let C = a.get(D);
60
- C ? n = !0 : (C = [], a.set(D, C));
59
+ for (let D of l) {
60
+ let E = n.get(D);
61
+ E ? a = !0 : (E = [], n.set(D, E));
61
62
  let i = t[D];
62
- s[D] = i, C.push(i);
63
+ s[D] = i, E.push(i);
63
64
  }
64
65
  o.push(s);
65
66
  }
66
- for (let [t, d] of a) if (Me.has(t)) {
67
- let s = d.join(`
67
+ for (let [t, l] of n) if (se.has(t)) {
68
+ let s = l.join(`
68
69
  `);
69
70
  u.items.add(s, t);
70
71
  } else
71
- u.items.add(d[0], t);
72
- if (n) {
72
+ u.items.add(l[0], t);
73
+ if (a) {
73
74
  let t = JSON.stringify(o);
74
- u.items.add(t, K);
75
+ u.items.add(t, I);
75
76
  }
76
77
  }
77
78
  class S {
78
79
  has(e) {
79
- return this.includesUnknownTypes || e === Ge && this.types.has(I) ? !0 : typeof e == "string" && this.types.has(e);
80
+ return this.includesUnknownTypes || e === De && this.types.has(P) ? !0 : typeof e == "string" && this.types.has(e);
80
81
  }
81
82
  constructor(e) {
82
83
  this.types = /* @__PURE__ */ new Set();
83
- let a = !1;
84
- for (let n of e.items) n.type !== K && (n.kind === "file" && (a = !0), n.type ? this.types.add(n.type) : this.types.add(I));
85
- this.includesUnknownTypes = !a && e.types.includes("Files");
84
+ let n = !1;
85
+ for (let a of e.items) a.type !== I && (a.kind === "file" && (n = !0), a.type ? this.types.add(a.type) : this.types.add(P));
86
+ this.includesUnknownTypes = !n && e.types.includes("Files");
86
87
  }
87
88
  }
88
- function au(u) {
89
+ function nu(u) {
89
90
  let e = [];
90
91
  if (!u) return e;
91
- let a = !1;
92
- if (u.types.includes(K)) try {
93
- let n = u.getData(K), o = JSON.parse(n);
92
+ let n = !1;
93
+ if (u.types.includes(I)) try {
94
+ let a = u.getData(I), o = JSON.parse(a);
94
95
  for (let t of o) e.push({
95
96
  kind: "text",
96
97
  types: new Set(Object.keys(t)),
97
- getText: (d) => Promise.resolve(t[d])
98
+ getText: (l) => Promise.resolve(t[l])
98
99
  });
99
- a = !0;
100
+ n = !0;
100
101
  } catch {
101
102
  }
102
- if (!a) {
103
- let n = /* @__PURE__ */ new Map();
103
+ if (!n) {
104
+ let a = /* @__PURE__ */ new Map();
104
105
  for (let o of u.items)
105
106
  if (o.kind === "string")
106
- n.set(o.type || I, u.getData(o.type));
107
+ a.set(o.type || P, u.getData(o.type));
107
108
  else if (o.kind === "file")
108
109
  if (typeof o.webkitGetAsEntry == "function") {
109
110
  let t = o.webkitGetAsEntry();
110
111
  if (!t) continue;
111
- t.isFile ? e.push(R(o.getAsFile())) : t.isDirectory && e.push(nu(t));
112
+ t.isFile ? e.push(O(o.getAsFile())) : t.isDirectory && e.push(au(t));
112
113
  } else
113
- e.push(R(o.getAsFile()));
114
- n.size > 0 && e.push({
114
+ e.push(O(o.getAsFile()));
115
+ a.size > 0 && e.push({
115
116
  kind: "text",
116
- types: new Set(n.keys()),
117
- getText: (o) => Promise.resolve(n.get(o))
117
+ types: new Set(a.keys()),
118
+ getText: (o) => Promise.resolve(a.get(o))
118
119
  });
119
120
  }
120
121
  return e;
121
122
  }
122
- function We(u) {
123
- return typeof u.text == "function" ? u.text() : new Promise((e, a) => {
124
- let n = new FileReader();
125
- n.onload = () => {
126
- e(n.result);
127
- }, n.onerror = a, n.readAsText(u);
123
+ function Ce(u) {
124
+ return typeof u.text == "function" ? u.text() : new Promise((e, n) => {
125
+ let a = new FileReader();
126
+ a.onload = () => {
127
+ e(a.result);
128
+ }, a.onerror = n, a.readAsText(u);
128
129
  });
129
130
  }
130
- function R(u) {
131
+ function O(u) {
131
132
  if (!u) throw new Error("No file provided");
132
133
  return {
133
134
  kind: "file",
134
- type: u.type || I,
135
+ type: u.type || P,
135
136
  name: u.name,
136
- getText: () => We(u),
137
+ getText: () => Ce(u),
137
138
  getFile: () => Promise.resolve(u)
138
139
  };
139
140
  }
140
- function nu(u) {
141
+ function au(u) {
141
142
  return {
142
143
  kind: "directory",
143
144
  name: u.name,
144
- getEntries: () => Je(u)
145
+ getEntries: () => xe(u)
145
146
  };
146
147
  }
147
- async function* Je(u) {
148
- let e = u.createReader(), a;
148
+ async function* xe(u) {
149
+ let e = u.createReader(), n;
149
150
  do {
150
- a = await new Promise((n, o) => {
151
- e.readEntries(n, o);
151
+ n = await new Promise((a, o) => {
152
+ e.readEntries(a, o);
152
153
  });
153
- for (let n of a)
154
- if (n.isFile) {
155
- let o = await Qe(n);
156
- yield R(o);
157
- } else n.isDirectory && (yield nu(n));
158
- } while (a.length > 0);
154
+ for (let a of n)
155
+ if (a.isFile) {
156
+ let o = await me(a);
157
+ yield O(o);
158
+ } else a.isDirectory && (yield au(a));
159
+ } while (n.length > 0);
159
160
  }
160
- function Qe(u) {
161
- return new Promise((e, a) => u.file(e, a));
161
+ function me(u) {
162
+ return new Promise((e, n) => u.file(e, n));
162
163
  }
163
164
  let ou = {
164
165
  draggingKeys: /* @__PURE__ */ new Set()
165
166
  };
166
- function _e(u) {
167
+ function be(u) {
167
168
  ou = u;
168
169
  }
169
- let U = B.none, q = /* @__PURE__ */ new Map(), H = null, M = /* @__PURE__ */ new Set();
170
- function u4(u) {
171
- return q.set(u.element, u), () => {
172
- q.delete(u.element);
170
+ let q = B.none, Z = /* @__PURE__ */ new Map(), H = null, M = /* @__PURE__ */ new Set();
171
+ function $e(u) {
172
+ return Z.set(u.element, u), () => {
173
+ Z.delete(u.element);
173
174
  };
174
175
  }
175
- function e4() {
176
- let [u, e] = J(H);
176
+ function ge() {
177
+ let [u, e] = W(H);
177
178
  return Q(() => {
178
- let a = () => e(H);
179
- return M.add(a), () => {
180
- M.delete(a);
179
+ let n = () => e(H);
180
+ return M.add(n), () => {
181
+ M.delete(n);
181
182
  };
182
183
  }, []), u;
183
184
  }
@@ -223,8 +224,8 @@ iu = {
223
224
  insertBefore: (u) => `أدخل قبل ${u.itemText}`,
224
225
  insertBetween: (u) => `أدخل بين ${u.beforeItemText} و ${u.afterItemText}`
225
226
  };
226
- var lu = {};
227
- lu = {
227
+ var du = {};
228
+ du = {
228
229
  dragDescriptionKeyboard: "Натиснете „Enter“, за да започнете да плъзгате.",
229
230
  dragDescriptionKeyboardAlt: "Натиснете Alt + Enter, за да започнете да плъзгате.",
230
231
  dragDescriptionLongPress: "Натиснете продължително, за да започнете да плъзгате.",
@@ -265,8 +266,8 @@ lu = {
265
266
  insertBefore: (u) => `Вмъкни преди ${u.itemText}`,
266
267
  insertBetween: (u) => `Вмъкни между ${u.beforeItemText} и ${u.afterItemText}`
267
268
  };
268
- var du = {};
269
- du = {
269
+ var lu = {};
270
+ lu = {
270
271
  dragDescriptionKeyboard: "Stisknutím klávesy Enter začnete s přetahováním.",
271
272
  dragDescriptionKeyboardAlt: "Stisknutím Alt + Enter zahájíte přetahování.",
272
273
  dragDescriptionLongPress: "Dlouhým stisknutím zahájíte přetahování.",
@@ -518,8 +519,8 @@ Bu = {
518
519
  insertBefore: (u) => `Insertar antes de ${u.itemText}`,
519
520
  insertBetween: (u) => `Insertar entre ${u.beforeItemText} y ${u.afterItemText}`
520
521
  };
521
- var Cu = {};
522
- Cu = {
522
+ var Eu = {};
523
+ Eu = {
523
524
  dragDescriptionKeyboard: "Lohistamise alustamiseks vajutage klahvi Enter.",
524
525
  dragDescriptionKeyboardAlt: "Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",
525
526
  dragDescriptionLongPress: "Vajutage pikalt lohistamise alustamiseks.",
@@ -560,8 +561,8 @@ Cu = {
560
561
  insertBefore: (u) => `Sisesta ${u.itemText} ette`,
561
562
  insertBetween: (u) => `Sisesta ${u.beforeItemText} ja ${u.afterItemText} vahele`
562
563
  };
563
- var Eu = {};
564
- Eu = {
564
+ var Cu = {};
565
+ Cu = {
565
566
  dragDescriptionKeyboard: "Aloita vetäminen painamalla Enter-näppäintä.",
566
567
  dragDescriptionKeyboardAlt: "Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",
567
568
  dragDescriptionLongPress: "Aloita vetäminen pitämällä painettuna.",
@@ -644,8 +645,8 @@ xu = {
644
645
  insertBefore: (u) => `Insérer avant ${u.itemText}`,
645
646
  insertBetween: (u) => `Insérer entre ${u.beforeItemText} et ${u.afterItemText}`
646
647
  };
647
- var bu = {};
648
- bu = {
648
+ var mu = {};
649
+ mu = {
649
650
  dragDescriptionKeyboard: "הקש על Enter כדי להתחיל לגרור.",
650
651
  dragDescriptionKeyboardAlt: "הקש Alt + Enter כדי להתחיל לגרור.",
651
652
  dragDescriptionLongPress: "לחץ לחיצה ארוכה כדי להתחיל לגרור.",
@@ -686,8 +687,8 @@ bu = {
686
687
  insertBefore: (u) => `הוסף לפני ${u.itemText}`,
687
688
  insertBetween: (u) => `הוסף בין ${u.beforeItemText} לבין ${u.afterItemText}`
688
689
  };
689
- var mu = {};
690
- mu = {
690
+ var bu = {};
691
+ bu = {
691
692
  dragDescriptionKeyboard: "Pritisnite Enter da biste počeli povlačiti.",
692
693
  dragDescriptionKeyboardAlt: "Pritisnite Alt + Enter za početak povlačenja.",
693
694
  dragDescriptionLongPress: "Dugo pritisnite za početak povlačenja.",
@@ -938,8 +939,8 @@ fu = {
938
939
  insertBefore: (u) => `Įterpti prieš ${u.itemText}`,
939
940
  insertBetween: (u) => `Įterpti tarp ${u.beforeItemText} ir ${u.afterItemText}`
940
941
  };
941
- var hu = {};
942
- hu = {
942
+ var yu = {};
943
+ yu = {
943
944
  dragDescriptionKeyboard: "Nospiediet Enter, lai sāktu vilkšanu.",
944
945
  dragDescriptionKeyboardAlt: "Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",
945
946
  dragDescriptionLongPress: "Turiet nospiestu, lai sāktu vilkšanu.",
@@ -1064,8 +1065,8 @@ vu = {
1064
1065
  insertBefore: (u) => `Plaatsen vóór ${u.itemText}`,
1065
1066
  insertBetween: (u) => `Plaatsen tussen ${u.beforeItemText} en ${u.afterItemText}`
1066
1067
  };
1067
- var yu = {};
1068
- yu = {
1068
+ var hu = {};
1069
+ hu = {
1069
1070
  dragDescriptionKeyboard: "Naciśnij Enter, aby rozpocząć przeciąganie.",
1070
1071
  dragDescriptionKeyboardAlt: "Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",
1071
1072
  dragDescriptionLongPress: "Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",
@@ -1232,8 +1233,8 @@ Su = {
1232
1233
  insertBefore: (u) => `Inserați înainte de ${u.itemText}`,
1233
1234
  insertBetween: (u) => `Inserați între ${u.beforeItemText} și ${u.afterItemText}`
1234
1235
  };
1235
- var Pu = {};
1236
- Pu = {
1236
+ var Ku = {};
1237
+ Ku = {
1237
1238
  dragDescriptionKeyboard: "Нажмите клавишу Enter для начала перетаскивания.",
1238
1239
  dragDescriptionKeyboardAlt: "Нажмите Alt + Enter, чтобы начать перетаскивать.",
1239
1240
  dragDescriptionLongPress: "Нажмите и удерживайте, чтобы начать перетаскивать.",
@@ -1274,8 +1275,8 @@ Pu = {
1274
1275
  insertBefore: (u) => `Вставить перед ${u.itemText}`,
1275
1276
  insertBetween: (u) => `Вставить между ${u.beforeItemText} и ${u.afterItemText}`
1276
1277
  };
1277
- var Ku = {};
1278
- Ku = {
1278
+ var Iu = {};
1279
+ Iu = {
1279
1280
  dragDescriptionKeyboard: "Stlačením klávesu Enter začnete presúvanie.",
1280
1281
  dragDescriptionKeyboardAlt: "Stlačením klávesov Alt + Enter začnete presúvanie.",
1281
1282
  dragDescriptionLongPress: "Dlhým stlačením začnete presúvanie.",
@@ -1316,8 +1317,8 @@ Ku = {
1316
1317
  insertBefore: (u) => `Vložiť pred položku ${u.itemText}`,
1317
1318
  insertBetween: (u) => `Vložiť medzi položky ${u.beforeItemText} a ${u.afterItemText}`
1318
1319
  };
1319
- var Iu = {};
1320
- Iu = {
1320
+ var Pu = {};
1321
+ Pu = {
1321
1322
  dragDescriptionKeyboard: "Pritisnite tipko Enter za začetek vlečenja.",
1322
1323
  dragDescriptionKeyboardAlt: "Pritisnite tipki Alt + Enter za začetek vlečenja.",
1323
1324
  dragDescriptionLongPress: "Pritisnite in zadržite za začetek vlečenja.",
@@ -1526,8 +1527,8 @@ Lu = {
1526
1527
  insertBefore: (u) => `Вставити перед ${u.itemText}`,
1527
1528
  insertBetween: (u) => `Вставити між ${u.beforeItemText} і ${u.afterItemText}`
1528
1529
  };
1529
- var Ru = {};
1530
- Ru = {
1530
+ var Ou = {};
1531
+ Ou = {
1531
1532
  dragDescriptionKeyboard: "按 Enter 开始拖动。",
1532
1533
  dragDescriptionKeyboardAlt: "按 Alt + Enter 开始拖动。",
1533
1534
  dragDescriptionLongPress: "长按以开始拖动。",
@@ -1568,8 +1569,8 @@ Ru = {
1568
1569
  insertBefore: (u) => `插入到 ${u.itemText} 之前`,
1569
1570
  insertBetween: (u) => `插入到 ${u.beforeItemText} 和 ${u.afterItemText} 之间`
1570
1571
  };
1571
- var Ou = {};
1572
- Ou = {
1572
+ var Nu = {};
1573
+ Nu = {
1573
1574
  dragDescriptionKeyboard: "按 Enter 鍵以開始拖曳。",
1574
1575
  dragDescriptionKeyboardAlt: "按 Alt+Enter 鍵以開始拖曳。",
1575
1576
  dragDescriptionLongPress: "長按以開始拖曳。",
@@ -1610,56 +1611,56 @@ Ou = {
1610
1611
  insertBefore: (u) => `插入至「${u.itemText}」之前`,
1611
1612
  insertBetween: (u) => `插入至「${u.beforeItemText}」和「${u.afterItemText}」之間`
1612
1613
  };
1613
- var Nu = {};
1614
- Nu = {
1614
+ var Ru = {};
1615
+ Ru = {
1615
1616
  "ar-AE": iu,
1616
- "bg-BG": lu,
1617
- "cs-CZ": du,
1617
+ "bg-BG": du,
1618
+ "cs-CZ": lu,
1618
1619
  "da-DK": cu,
1619
1620
  "de-DE": pu,
1620
1621
  "el-GR": su,
1621
1622
  "en-US": Du,
1622
1623
  "es-ES": Bu,
1623
- "et-EE": Cu,
1624
- "fi-FI": Eu,
1624
+ "et-EE": Eu,
1625
+ "fi-FI": Cu,
1625
1626
  "fr-FR": xu,
1626
- "he-IL": bu,
1627
- "hr-HR": mu,
1627
+ "he-IL": mu,
1628
+ "hr-HR": bu,
1628
1629
  "hu-HU": $u,
1629
1630
  "it-IT": gu,
1630
1631
  "ja-JP": ku,
1631
1632
  "ko-KR": Au,
1632
1633
  "lt-LT": fu,
1633
- "lv-LV": hu,
1634
+ "lv-LV": yu,
1634
1635
  "nb-NO": Fu,
1635
1636
  "nl-NL": vu,
1636
- "pl-PL": yu,
1637
+ "pl-PL": hu,
1637
1638
  "pt-BR": Tu,
1638
1639
  "pt-PT": zu,
1639
1640
  "ro-RO": Su,
1640
- "ru-RU": Pu,
1641
- "sk-SK": Ku,
1642
- "sl-SI": Iu,
1641
+ "ru-RU": Ku,
1642
+ "sk-SK": Iu,
1643
+ "sl-SI": Pu,
1643
1644
  "sr-SP": ju,
1644
1645
  "sv-SE": Vu,
1645
1646
  "tr-TR": wu,
1646
1647
  "uk-UA": Lu,
1647
- "zh-CN": Ru,
1648
- "zh-TW": Ou
1648
+ "zh-CN": Ou,
1649
+ "zh-TW": Nu
1649
1650
  };
1650
- function t4(u) {
1651
+ function ke(u) {
1651
1652
  return u && u.__esModule ? u.default : u;
1652
1653
  }
1653
- const r4 = {
1654
+ const Ae = {
1654
1655
  keyboard: "dropDescriptionKeyboard",
1655
1656
  touch: "dropDescriptionTouch",
1656
1657
  virtual: "dropDescriptionVirtual"
1657
1658
  };
1658
- function a4() {
1659
- let u = uu(t4(Nu), "@react-aria/dnd"), e = Xe(), a = e4();
1659
+ function fe() {
1660
+ let u = uu(ke(Ru), "@react-aria/dnd"), e = Ee(), n = ge();
1660
1661
  return {
1661
1662
  dropProps: {
1662
- ...Le(a ? u.format(r4[e]) : ""),
1663
+ ...ne(n ? u.format(Ae[e]) : ""),
1663
1664
  // Mobile Safari does not properly bubble click events on elements except links or inputs
1664
1665
  // unless there is an onclick handler bound directly to the element itself. By adding this
1665
1666
  // handler, React will take care of adding that for us, and we are able to handle document
@@ -1670,55 +1671,55 @@ function a4() {
1670
1671
  }
1671
1672
  };
1672
1673
  }
1673
- const n4 = 800;
1674
- function o4(u) {
1675
- let { hasDropButton: e, isDisabled: a } = u, [n, o] = J(!1), t = O({
1674
+ const ye = 800;
1675
+ function Fe(u) {
1676
+ let { hasDropButton: e, isDisabled: n } = u, [a, o] = W(!1), t = N({
1676
1677
  x: 0,
1677
1678
  y: 0,
1678
1679
  dragOverElements: /* @__PURE__ */ new Set(),
1679
1680
  dropEffect: "none",
1680
1681
  allowedOperations: B.all,
1681
1682
  dropActivateTimer: void 0
1682
- }).current, d = (r) => {
1683
+ }).current, l = (r) => {
1683
1684
  if (o(!0), typeof u.onDropEnter == "function") {
1684
- let l = r.currentTarget.getBoundingClientRect();
1685
+ let d = r.currentTarget.getBoundingClientRect();
1685
1686
  u.onDropEnter({
1686
1687
  type: "dropenter",
1687
- x: r.clientX - l.x,
1688
- y: r.clientY - l.y
1688
+ x: r.clientX - d.x,
1689
+ y: r.clientY - d.y
1689
1690
  });
1690
1691
  }
1691
1692
  }, s = (r) => {
1692
1693
  if (o(!1), typeof u.onDropExit == "function") {
1693
- let l = r.currentTarget.getBoundingClientRect();
1694
+ let d = r.currentTarget.getBoundingClientRect();
1694
1695
  u.onDropExit({
1695
1696
  type: "dropexit",
1696
- x: r.clientX - l.x,
1697
- y: r.clientY - l.y
1697
+ x: r.clientX - d.x,
1698
+ y: r.clientY - d.y
1698
1699
  });
1699
1700
  }
1700
1701
  }, D = (r) => {
1701
1702
  r.preventDefault(), r.stopPropagation();
1702
- let l = G(r);
1703
- if (r.clientX === t.x && r.clientY === t.y && l === t.allowedOperations) {
1703
+ let d = G(r);
1704
+ if (r.clientX === t.x && r.clientY === t.y && d === t.allowedOperations) {
1704
1705
  r.dataTransfer.dropEffect = t.dropEffect;
1705
1706
  return;
1706
1707
  }
1707
1708
  t.x = r.clientX, t.y = r.clientY;
1708
1709
  let $ = t.dropEffect;
1709
- if (l !== t.allowedOperations) {
1710
- let c = w(l), p = c[0];
1710
+ if (d !== t.allowedOperations) {
1711
+ let c = w(d), p = c[0];
1711
1712
  if (typeof u.getDropOperation == "function") {
1712
1713
  let x = new S(r.dataTransfer);
1713
- p = P(l, u.getDropOperation(x, c));
1714
+ p = K(d, u.getDropOperation(x, c));
1714
1715
  }
1715
1716
  t.dropEffect = V[p] || "none";
1716
1717
  }
1717
1718
  if (typeof u.getDropOperationForPoint == "function") {
1718
- let c = new S(r.dataTransfer), p = r.currentTarget.getBoundingClientRect(), x = P(l, u.getDropOperationForPoint(c, w(l), t.x - p.x, t.y - p.y));
1719
+ let c = new S(r.dataTransfer), p = r.currentTarget.getBoundingClientRect(), x = K(d, u.getDropOperationForPoint(c, w(d), t.x - p.x, t.y - p.y));
1719
1720
  t.dropEffect = V[x] || "none";
1720
1721
  }
1721
- if (t.allowedOperations = l, r.dataTransfer.dropEffect = t.dropEffect, t.dropEffect === "none" && $ !== "none" ? s(r) : t.dropEffect !== "none" && $ === "none" && d(r), typeof u.onDropMove == "function" && t.dropEffect !== "none") {
1722
+ if (t.allowedOperations = d, r.dataTransfer.dropEffect = t.dropEffect, t.dropEffect === "none" && $ !== "none" ? s(r) : t.dropEffect !== "none" && $ === "none" && l(r), typeof u.onDropMove == "function" && t.dropEffect !== "none") {
1722
1723
  let c = r.currentTarget.getBoundingClientRect();
1723
1724
  u.onDropMove({
1724
1725
  type: "dropmove",
@@ -1734,27 +1735,27 @@ function o4(u) {
1734
1735
  x: t.x - p.x,
1735
1736
  y: t.y - p.y
1736
1737
  });
1737
- }, n4);
1738
+ }, ye);
1738
1739
  }
1739
- }, C = (r) => {
1740
+ }, E = (r) => {
1740
1741
  if (r.preventDefault(), r.stopPropagation(), t.dragOverElements.add(r.target), t.dragOverElements.size > 1) return;
1741
- let l = G(r), $ = w(l), c = $[0];
1742
+ let d = G(r), $ = w(d), c = $[0];
1742
1743
  if (typeof u.getDropOperation == "function") {
1743
1744
  let p = new S(r.dataTransfer);
1744
- c = P(l, u.getDropOperation(p, $));
1745
+ c = K(d, u.getDropOperation(p, $));
1745
1746
  }
1746
1747
  if (typeof u.getDropOperationForPoint == "function") {
1747
1748
  let p = new S(r.dataTransfer), x = r.currentTarget.getBoundingClientRect();
1748
- c = P(l, u.getDropOperationForPoint(p, $, r.clientX - x.x, r.clientY - x.y));
1749
+ c = K(d, u.getDropOperationForPoint(p, $, r.clientX - x.x, r.clientY - x.y));
1749
1750
  }
1750
- t.x = r.clientX, t.y = r.clientY, t.allowedOperations = l, t.dropEffect = V[c] || "none", r.dataTransfer.dropEffect = t.dropEffect, c !== "cancel" && d(r);
1751
+ t.x = r.clientX, t.y = r.clientY, t.allowedOperations = d, t.dropEffect = V[c] || "none", r.dataTransfer.dropEffect = t.dropEffect, c !== "cancel" && l(r);
1751
1752
  }, i = (r) => {
1752
1753
  r.preventDefault(), r.stopPropagation(), t.dragOverElements.delete(r.target);
1753
- for (let l of t.dragOverElements) r.currentTarget.contains(l) || t.dragOverElements.delete(l);
1754
+ for (let d of t.dragOverElements) r.currentTarget.contains(d) || t.dragOverElements.delete(d);
1754
1755
  t.dragOverElements.size > 0 || (t.dropEffect !== "none" && s(r), clearTimeout(t.dropActivateTimer));
1755
- }, E = (r) => {
1756
+ }, C = (r) => {
1756
1757
  if (r.preventDefault(), r.stopPropagation(), t.dropEffect, typeof u.onDrop == "function") {
1757
- let $ = tu[t.dropEffect], c = au(r.dataTransfer), p = r.currentTarget.getBoundingClientRect(), x = {
1758
+ let $ = tu[t.dropEffect], c = nu(r.dataTransfer), p = r.currentTarget.getBoundingClientRect(), x = {
1758
1759
  type: "drop",
1759
1760
  x: r.clientX - p.x,
1760
1761
  y: r.clientY - p.y,
@@ -1763,26 +1764,26 @@ function o4(u) {
1763
1764
  };
1764
1765
  u.onDrop(x);
1765
1766
  }
1766
- let l = {
1767
+ let d = {
1767
1768
  ...ou
1768
1769
  };
1769
- t.dragOverElements.clear(), s(r), clearTimeout(t.dropActivateTimer), l.draggingCollectionRef == null || _e(l);
1770
- }, m = b((r) => {
1770
+ t.dragOverElements.clear(), s(r), clearTimeout(t.dropActivateTimer), d.draggingCollectionRef == null || be(d);
1771
+ }, b = m((r) => {
1771
1772
  typeof u.onDropEnter == "function" && u.onDropEnter(r);
1772
- }), g = b((r) => {
1773
+ }), g = m((r) => {
1773
1774
  typeof u.onDropExit == "function" && u.onDropExit(r);
1774
- }), F = b((r) => {
1775
+ }), F = m((r) => {
1775
1776
  typeof u.onDropActivate == "function" && u.onDropActivate(r);
1776
- }), T = b((r) => {
1777
+ }), T = m((r) => {
1777
1778
  typeof u.onDrop == "function" && u.onDrop(r);
1778
- }), v = b((r, l) => u.getDropOperation ? u.getDropOperation(r, l) : l[0]), { ref: y } = u;
1779
- ve(() => {
1780
- if (!(a || !y.current))
1781
- return u4({
1782
- element: y.current,
1779
+ }), v = m((r, d) => u.getDropOperation ? u.getDropOperation(r, d) : d[0]), { ref: h } = u;
1780
+ Gu(() => {
1781
+ if (!(n || !h.current))
1782
+ return $e({
1783
+ element: h.current,
1783
1784
  getDropOperation: v,
1784
1785
  onDropEnter(r) {
1785
- o(!0), m(r);
1786
+ o(!0), b(r);
1786
1787
  },
1787
1788
  onDropExit(r) {
1788
1789
  o(!1), g(r);
@@ -1791,16 +1792,16 @@ function o4(u) {
1791
1792
  onDropActivate: F
1792
1793
  });
1793
1794
  }, [
1794
- a,
1795
- y,
1795
+ n,
1796
+ h,
1796
1797
  v,
1797
- m,
1798
+ b,
1798
1799
  g,
1799
1800
  T,
1800
1801
  F
1801
1802
  ]);
1802
- let { dropProps: z } = a4();
1803
- return a ? {
1803
+ let { dropProps: z } = fe();
1804
+ return n ? {
1804
1805
  dropProps: {},
1805
1806
  dropButtonProps: {
1806
1807
  isDisabled: !0
@@ -1809,383 +1810,108 @@ function o4(u) {
1809
1810
  } : {
1810
1811
  dropProps: {
1811
1812
  ...!e && z,
1812
- onDragEnter: C,
1813
+ onDragEnter: E,
1813
1814
  onDragOver: D,
1814
1815
  onDragLeave: i,
1815
- onDrop: E
1816
+ onDrop: C
1816
1817
  },
1817
1818
  dropButtonProps: {
1818
1819
  ...e && z
1819
1820
  },
1820
- isDropTarget: n
1821
+ isDropTarget: a
1821
1822
  };
1822
1823
  }
1823
1824
  function G(u) {
1824
1825
  let e = eu[u.dataTransfer.effectAllowed];
1825
- U && (e &= U);
1826
- let a = B.none;
1827
- return Ie() ? (u.altKey && (a |= B.copy), u.ctrlKey && !je() && (a |= B.link), u.metaKey && (a |= B.move)) : (u.altKey && (a |= B.link), u.shiftKey && (a |= B.move), u.ctrlKey && (a |= B.copy)), a ? e & a : e;
1826
+ q && (e &= q);
1827
+ let n = B.none;
1828
+ return ue() ? (u.altKey && (n |= B.copy), u.ctrlKey && !ee() && (n |= B.link), u.metaKey && (n |= B.move)) : (u.altKey && (n |= B.link), u.shiftKey && (n |= B.move), u.ctrlKey && (n |= B.copy)), n ? e & n : e;
1828
1829
  }
1829
1830
  function w(u) {
1830
1831
  let e = [];
1831
1832
  return u & B.move && e.push("move"), u & B.copy && e.push("copy"), u & B.link && e.push("link"), e;
1832
1833
  }
1833
- function P(u, e) {
1834
- let a = B[e];
1835
- return u & a ? e : "cancel";
1834
+ function K(u, e) {
1835
+ let n = B[e];
1836
+ return u & n ? e : "cancel";
1836
1837
  }
1837
1838
  const L = /* @__PURE__ */ new Map();
1838
- function h(u, e) {
1839
- let a = L.get(u);
1840
- if (!a) {
1841
- let n = /* @__PURE__ */ new Set(), o = (t) => {
1842
- for (let d of n) d(t);
1839
+ function y(u, e) {
1840
+ let n = L.get(u);
1841
+ if (!n) {
1842
+ let a = /* @__PURE__ */ new Set(), o = (t) => {
1843
+ for (let l of a) l(t);
1843
1844
  };
1844
- a = {
1845
+ n = {
1845
1846
  listener: o,
1846
- handlers: n
1847
- }, L.set(u, a), document.addEventListener(u, o);
1847
+ handlers: a
1848
+ }, L.set(u, n), document.addEventListener(u, o);
1848
1849
  }
1849
- return a.handlers.add(e), () => {
1850
- a.handlers.delete(e), a.handlers.size === 0 && (document.removeEventListener(u, a.listener), L.delete(u));
1850
+ return n.handlers.add(e), () => {
1851
+ n.handlers.delete(e), n.handlers.size === 0 && (document.removeEventListener(u, n.listener), L.delete(u));
1851
1852
  };
1852
1853
  }
1853
- function i4(u) {
1854
- let { isDisabled: e } = u, a = O(!1), { focusProps: n } = Ve({
1854
+ function ve(u) {
1855
+ let { isDisabled: e } = u, n = N(!1), { focusProps: a } = te({
1855
1856
  onFocusChange: (i) => {
1856
- a.current = i;
1857
+ n.current = i;
1857
1858
  }
1858
- }), o = b((i) => {
1859
- a.current && u.getItems && i.preventDefault();
1860
- }), t = b((i) => {
1861
- if (!(!a.current || !u.getItems) && (i.preventDefault(), i.clipboardData)) {
1862
- var E;
1863
- Z(i.clipboardData, u.getItems({
1859
+ }), o = m((i) => {
1860
+ n.current && u.getItems && i.preventDefault();
1861
+ }), t = m((i) => {
1862
+ if (!(!n.current || !u.getItems) && (i.preventDefault(), i.clipboardData)) {
1863
+ var C;
1864
+ U(i.clipboardData, u.getItems({
1864
1865
  action: "copy"
1865
- })), (E = u.onCopy) === null || E === void 0 || E.call(u);
1866
+ })), (C = u.onCopy) === null || C === void 0 || C.call(u);
1866
1867
  }
1867
- }), d = b((i) => {
1868
- a.current && u.onCut && u.getItems && i.preventDefault();
1869
- }), s = b((i) => {
1870
- !a.current || !u.onCut || !u.getItems || (i.preventDefault(), i.clipboardData && (Z(i.clipboardData, u.getItems({
1868
+ }), l = m((i) => {
1869
+ n.current && u.onCut && u.getItems && i.preventDefault();
1870
+ }), s = m((i) => {
1871
+ !n.current || !u.onCut || !u.getItems || (i.preventDefault(), i.clipboardData && (U(i.clipboardData, u.getItems({
1871
1872
  action: "cut"
1872
1873
  })), u.onCut()));
1873
- }), D = b((i) => {
1874
- a.current && u.onPaste && i.preventDefault();
1875
- }), C = b((i) => {
1876
- if (!(!a.current || !u.onPaste) && (i.preventDefault(), i.clipboardData)) {
1877
- let E = au(i.clipboardData);
1878
- u.onPaste(E);
1874
+ }), D = m((i) => {
1875
+ n.current && u.onPaste && i.preventDefault();
1876
+ }), E = m((i) => {
1877
+ if (!(!n.current || !u.onPaste) && (i.preventDefault(), i.clipboardData)) {
1878
+ let C = nu(i.clipboardData);
1879
+ u.onPaste(C);
1879
1880
  }
1880
1881
  });
1881
1882
  return Q(() => {
1882
1883
  if (!e)
1883
- return ye(h("beforecopy", o), h("copy", t), h("beforecut", d), h("cut", s), h("beforepaste", D), h("paste", C));
1884
+ return Xu(y("beforecopy", o), y("copy", t), y("beforecut", l), y("cut", s), y("beforepaste", D), y("paste", E));
1884
1885
  }, [
1885
1886
  e,
1886
1887
  o,
1887
1888
  t,
1888
- d,
1889
+ l,
1889
1890
  s,
1890
1891
  D,
1891
- C
1892
+ E
1892
1893
  ]), {
1893
- clipboardProps: n
1894
+ clipboardProps: a
1894
1895
  };
1895
1896
  }
1896
- var Zu = {};
1897
- Zu = {
1898
- colorSwatchPicker: "تغييرات الألوان",
1899
- dropzoneLabel: "DropZone",
1900
- selectPlaceholder: "حدد عنصرًا",
1901
- tableResizer: "أداة تغيير الحجم"
1902
- };
1903
- var Uu = {};
1904
- Uu = {
1905
- colorSwatchPicker: "Цветови мостри",
1906
- dropzoneLabel: "DropZone",
1907
- selectPlaceholder: "Изберете предмет",
1908
- tableResizer: "Преоразмерител"
1909
- };
1910
- var qu = {};
1911
- qu = {
1912
- colorSwatchPicker: "Vzorky barev",
1913
- dropzoneLabel: "Místo pro přetažení",
1914
- selectPlaceholder: "Vyberte položku",
1915
- tableResizer: "Změna velikosti"
1916
- };
1917
- var Hu = {};
1918
- Hu = {
1919
- colorSwatchPicker: "Farveprøver",
1920
- dropzoneLabel: "DropZone",
1921
- selectPlaceholder: "Vælg et element",
1922
- tableResizer: "Størrelsesændring"
1923
- };
1924
- var Mu = {};
1925
- Mu = {
1926
- colorSwatchPicker: "Farbfelder",
1927
- dropzoneLabel: "Ablegebereich",
1928
- selectPlaceholder: "Element wählen",
1929
- tableResizer: "Größenanpassung"
1930
- };
1931
- var Gu = {};
1932
- Gu = {
1933
- colorSwatchPicker: "Χρωματικά δείγματα",
1934
- dropzoneLabel: "DropZone",
1935
- selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
1936
- tableResizer: "Αλλαγή μεγέθους"
1937
- };
1938
- var Yu = {};
1939
- Yu = {
1940
- selectPlaceholder: "Select an item",
1941
- tableResizer: "Resizer",
1942
- dropzoneLabel: "DropZone",
1943
- colorSwatchPicker: "Color swatches"
1944
- };
1945
- var Xu = {};
1946
- Xu = {
1947
- colorSwatchPicker: "Muestras de colores",
1948
- dropzoneLabel: "DropZone",
1949
- selectPlaceholder: "Seleccionar un artículo",
1950
- tableResizer: "Cambiador de tamaño"
1951
- };
1952
- var Wu = {};
1953
- Wu = {
1954
- colorSwatchPicker: "Värvinäidised",
1955
- dropzoneLabel: "DropZone",
1956
- selectPlaceholder: "Valige üksus",
1957
- tableResizer: "Suuruse muutja"
1958
- };
1959
- var Ju = {};
1960
- Ju = {
1961
- colorSwatchPicker: "Värimallit",
1962
- dropzoneLabel: "DropZone",
1963
- selectPlaceholder: "Valitse kohde",
1964
- tableResizer: "Koon muuttaja"
1965
- };
1966
- var Qu = {};
1967
- Qu = {
1968
- colorSwatchPicker: "Échantillons de couleurs",
1969
- dropzoneLabel: "DropZone",
1970
- selectPlaceholder: "Sélectionner un élément",
1971
- tableResizer: "Redimensionneur"
1972
- };
1973
- var _u = {};
1974
- _u = {
1975
- colorSwatchPicker: "דוגמיות צבע",
1976
- dropzoneLabel: "DropZone",
1977
- selectPlaceholder: "בחר פריט",
1978
- tableResizer: "שינוי גודל"
1979
- };
1980
- var ue = {};
1981
- ue = {
1982
- colorSwatchPicker: "Uzorci boja",
1983
- dropzoneLabel: "Zona spuštanja",
1984
- selectPlaceholder: "Odaberite stavku",
1985
- tableResizer: "Promjena veličine"
1986
- };
1987
- var ee = {};
1988
- ee = {
1989
- colorSwatchPicker: "Színtárak",
1990
- dropzoneLabel: "DropZone",
1991
- selectPlaceholder: "Válasszon ki egy elemet",
1992
- tableResizer: "Átméretező"
1993
- };
1994
- var te = {};
1995
- te = {
1996
- colorSwatchPicker: "Campioni di colore",
1997
- dropzoneLabel: "Zona di rilascio",
1998
- selectPlaceholder: "Seleziona un elemento",
1999
- tableResizer: "Ridimensionamento"
2000
- };
2001
- var re = {};
2002
- re = {
2003
- colorSwatchPicker: "カラースウォッチ",
2004
- dropzoneLabel: "ドロップゾーン",
2005
- selectPlaceholder: "項目を選択",
2006
- tableResizer: "サイズ変更ツール"
2007
- };
2008
- var ae = {};
2009
- ae = {
2010
- colorSwatchPicker: "색상 견본",
2011
- dropzoneLabel: "드롭 영역",
2012
- selectPlaceholder: "항목 선택",
2013
- tableResizer: "크기 조정기"
2014
- };
2015
- var ne = {};
2016
- ne = {
2017
- colorSwatchPicker: "Spalvų pavyzdžiai",
2018
- dropzoneLabel: "„DropZone“",
2019
- selectPlaceholder: "Pasirinkite elementą",
2020
- tableResizer: "Dydžio keitiklis"
2021
- };
2022
- var oe = {};
2023
- oe = {
2024
- colorSwatchPicker: "Krāsu paraugi",
2025
- dropzoneLabel: "DropZone",
2026
- selectPlaceholder: "Izvēlēties vienumu",
2027
- tableResizer: "Izmēra mainītājs"
2028
- };
2029
- var ie = {};
2030
- ie = {
2031
- colorSwatchPicker: "Fargekart",
2032
- dropzoneLabel: "Droppsone",
2033
- selectPlaceholder: "Velg et element",
2034
- tableResizer: "Størrelsesendrer"
2035
- };
2036
- var le = {};
2037
- le = {
2038
- colorSwatchPicker: "kleurstalen",
2039
- dropzoneLabel: "DropZone",
2040
- selectPlaceholder: "Selecteer een item",
2041
- tableResizer: "Resizer"
2042
- };
2043
- var de = {};
2044
- de = {
2045
- colorSwatchPicker: "Próbki kolorów",
2046
- dropzoneLabel: "Strefa upuszczania",
2047
- selectPlaceholder: "Wybierz element",
2048
- tableResizer: "Zmiana rozmiaru"
2049
- };
2050
- var ce = {};
2051
- ce = {
2052
- colorSwatchPicker: "Amostras de cores",
2053
- dropzoneLabel: "DropZone",
2054
- selectPlaceholder: "Selecione um item",
2055
- tableResizer: "Redimensionador"
2056
- };
2057
- var pe = {};
2058
- pe = {
2059
- colorSwatchPicker: "Amostras de cores",
2060
- dropzoneLabel: "DropZone",
2061
- selectPlaceholder: "Selecione um item",
2062
- tableResizer: "Redimensionador"
2063
- };
2064
- var se = {};
2065
- se = {
2066
- colorSwatchPicker: "Specimene de culoare",
2067
- dropzoneLabel: "Zonă de plasare",
2068
- selectPlaceholder: "Selectați un element",
2069
- tableResizer: "Instrument de redimensionare"
2070
- };
2071
- var De = {};
2072
- De = {
2073
- colorSwatchPicker: "Цветовые образцы",
2074
- dropzoneLabel: "DropZone",
2075
- selectPlaceholder: "Выберите элемент",
2076
- tableResizer: "Средство изменения размера"
2077
- };
2078
- var Be = {};
2079
- Be = {
2080
- colorSwatchPicker: "Vzorkovníky farieb",
2081
- dropzoneLabel: "DropZone",
2082
- selectPlaceholder: "Vyberte položku",
2083
- tableResizer: "Nástroj na zmenu veľkosti"
2084
- };
2085
- var Ce = {};
2086
- Ce = {
2087
- colorSwatchPicker: "Barvne palete",
2088
- dropzoneLabel: "DropZone",
2089
- selectPlaceholder: "Izberite element",
2090
- tableResizer: "Spreminjanje velikosti"
2091
- };
2092
- var Ee = {};
2093
- Ee = {
2094
- colorSwatchPicker: "Uzorci boje",
2095
- dropzoneLabel: "DropZone",
2096
- selectPlaceholder: "Izaberite stavku",
2097
- tableResizer: "Promena veličine"
2098
- };
2099
- var xe = {};
2100
- xe = {
2101
- colorSwatchPicker: "Färgrutor",
2102
- dropzoneLabel: "DropZone",
2103
- selectPlaceholder: "Välj en artikel",
2104
- tableResizer: "Storleksändrare"
2105
- };
2106
- var be = {};
2107
- be = {
2108
- colorSwatchPicker: "Renk örnekleri",
2109
- dropzoneLabel: "Bırakma Bölgesi",
2110
- selectPlaceholder: "Bir öğe seçin",
2111
- tableResizer: "Yeniden boyutlandırıcı"
2112
- };
2113
- var me = {};
2114
- me = {
2115
- colorSwatchPicker: "Зразки кольорів",
2116
- dropzoneLabel: "DropZone",
2117
- selectPlaceholder: "Виберіть елемент",
2118
- tableResizer: "Засіб змінення розміру"
2119
- };
2120
- var $e = {};
2121
- $e = {
2122
- colorSwatchPicker: "颜色色板",
2123
- dropzoneLabel: "放置区域",
2124
- selectPlaceholder: "选择一个项目",
2125
- tableResizer: "尺寸调整器"
2126
- };
2127
- var ge = {};
2128
- ge = {
2129
- colorSwatchPicker: "色票",
2130
- dropzoneLabel: "放置區",
2131
- selectPlaceholder: "選取項目",
2132
- tableResizer: "大小調整器"
2133
- };
2134
- var ke = {};
2135
- ke = {
2136
- "ar-AE": Zu,
2137
- "bg-BG": Uu,
2138
- "cs-CZ": qu,
2139
- "da-DK": Hu,
2140
- "de-DE": Mu,
2141
- "el-GR": Gu,
2142
- "en-US": Yu,
2143
- "es-ES": Xu,
2144
- "et-EE": Wu,
2145
- "fi-FI": Ju,
2146
- "fr-FR": Qu,
2147
- "he-IL": _u,
2148
- "hr-HR": ue,
2149
- "hu-HU": ee,
2150
- "it-IT": te,
2151
- "ja-JP": re,
2152
- "ko-KR": ae,
2153
- "lt-LT": ne,
2154
- "lv-LV": oe,
2155
- "nb-NO": ie,
2156
- "nl-NL": le,
2157
- "pl-PL": de,
2158
- "pt-BR": ce,
2159
- "pt-PT": pe,
2160
- "ro-RO": se,
2161
- "ru-RU": De,
2162
- "sk-SK": Be,
2163
- "sl-SI": Ce,
2164
- "sr-SP": Ee,
2165
- "sv-SE": xe,
2166
- "tr-TR": be,
2167
- "uk-UA": me,
2168
- "zh-CN": $e,
2169
- "zh-TW": ge
2170
- };
2171
- function l4(u) {
1897
+ function he(u) {
2172
1898
  return u && u.__esModule ? u.default : u;
2173
1899
  }
2174
- const d4 = /* @__PURE__ */ Pe(null), c4 = /* @__PURE__ */ _(function(e, a) {
2175
- let { isDisabled: n = !1 } = e;
2176
- [e, a] = Ae(e, a, d4);
2177
- let o = X(a), t = O(null), { dropProps: d, dropButtonProps: s, isDropTarget: D } = o4({
1900
+ const Te = /* @__PURE__ */ Qu(null), ze = /* @__PURE__ */ _(function(e, n) {
1901
+ let { isDisabled: a = !1 } = e;
1902
+ [e, n] = Uu(e, n, Te);
1903
+ let o = Y(n), t = N(null), { dropProps: l, dropButtonProps: s, isDropTarget: D } = Fe({
2178
1904
  ...e,
2179
1905
  ref: t,
2180
1906
  hasDropButton: !0
2181
- }), { buttonProps: C } = Re(s || {}, t), { hoverProps: i, isHovered: E } = we(e), { focusProps: m, isFocused: g, isFocusVisible: F } = Oe(), T = uu(l4(ke), "react-aria-components"), v = Te(), y = e["aria-label"] || T.format("dropzoneLabel"), z = e["aria-labelledby"], r = [
1907
+ }), { buttonProps: E } = ae(s || {}, t), { hoverProps: i, isHovered: C } = re(e), { focusProps: b, isFocused: g, isFocusVisible: F } = oe(), T = uu(he(Hu), "react-aria-components"), v = Yu(), h = e["aria-label"] || T.format("dropzoneLabel"), z = e["aria-labelledby"], r = [
2182
1908
  v,
2183
1909
  z
2184
- ].filter(Boolean).join(" "), l = ze({
2185
- "aria-label": y,
1910
+ ].filter(Boolean).join(" "), d = Ju({
1911
+ "aria-label": h,
2186
1912
  "aria-labelledby": r
2187
- }), { clipboardProps: $ } = i4({
2188
- isDisabled: n,
1913
+ }), { clipboardProps: $ } = ve({
1914
+ isDisabled: a,
2189
1915
  onPaste: (x) => {
2190
1916
  var A;
2191
1917
  return (A = e.onDrop) === null || A === void 0 ? void 0 : A.call(e, {
@@ -2196,23 +1922,23 @@ const d4 = /* @__PURE__ */ Pe(null), c4 = /* @__PURE__ */ _(function(e, a) {
2196
1922
  dropOperation: "copy"
2197
1923
  });
2198
1924
  }
2199
- }), c = fe({
1925
+ }), c = qu({
2200
1926
  ...e,
2201
1927
  values: {
2202
- isHovered: E,
1928
+ isHovered: C,
2203
1929
  isFocused: g,
2204
1930
  isFocusVisible: F,
2205
1931
  isDropTarget: D,
2206
- isDisabled: n
1932
+ isDisabled: a
2207
1933
  },
2208
1934
  defaultClassName: "react-aria-DropZone"
2209
- }), p = W(e, {
1935
+ }), p = J(e, {
2210
1936
  global: !0
2211
1937
  });
2212
- return delete p.id, /* @__PURE__ */ k.createElement(he, {
1938
+ return delete p.id, /* @__PURE__ */ k.createElement(Zu, {
2213
1939
  values: [
2214
1940
  [
2215
- Fe,
1941
+ Mu,
2216
1942
  {
2217
1943
  id: v,
2218
1944
  slot: "label"
@@ -2220,13 +1946,13 @@ const d4 = /* @__PURE__ */ Pe(null), c4 = /* @__PURE__ */ _(function(e, a) {
2220
1946
  ]
2221
1947
  ]
2222
1948
  }, /* @__PURE__ */ k.createElement("div", {
2223
- ...N(p, c, d, i),
1949
+ ...R(p, c, l, i),
2224
1950
  slot: e.slot || void 0,
2225
1951
  ref: o,
2226
1952
  onClick: (x) => {
2227
1953
  var A;
2228
1954
  let f = x.target;
2229
- for (; f && (!((A = o.current) === null || A === void 0) && A.contains(f)) && !Se(f); ) {
1955
+ for (; f && (!((A = o.current) === null || A === void 0) && A.contains(f)) && !Wu(f); ) {
2230
1956
  if (f === o.current) {
2231
1957
  var j;
2232
1958
  (j = t.current) === null || j === void 0 || j.focus();
@@ -2235,48 +1961,48 @@ const d4 = /* @__PURE__ */ Pe(null), c4 = /* @__PURE__ */ _(function(e, a) {
2235
1961
  f = f.parentElement;
2236
1962
  }
2237
1963
  },
2238
- "data-hovered": E || void 0,
1964
+ "data-hovered": C || void 0,
2239
1965
  "data-focused": g || void 0,
2240
1966
  "data-focus-visible": F || void 0,
2241
1967
  "data-drop-target": D || void 0,
2242
- "data-disabled": n || void 0
2243
- }, /* @__PURE__ */ k.createElement(Ne, null, /* @__PURE__ */ k.createElement("button", {
2244
- ...N(C, m, $, l),
1968
+ "data-disabled": a || void 0
1969
+ }, /* @__PURE__ */ k.createElement(ie, null, /* @__PURE__ */ k.createElement("button", {
1970
+ ...R(E, b, $, d),
2245
1971
  ref: t
2246
1972
  })), c.children));
2247
- }), p4 = /* @__PURE__ */ _(function(e, a) {
2248
- let { onSelect: n, acceptedFileTypes: o, allowsMultiple: t, defaultCamera: d, children: s, acceptDirectory: D, ...C } = e, i = X(a), E = W(C, {
1973
+ }), Se = /* @__PURE__ */ _(function(e, n) {
1974
+ let { onSelect: a, acceptedFileTypes: o, allowsMultiple: t, defaultCamera: l, children: s, acceptDirectory: D, ...E } = e, i = Y(n), C = J(E, {
2249
1975
  global: !0
2250
1976
  });
2251
- return /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement(Ue, {
1977
+ return /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement(le, {
2252
1978
  onPress: () => {
2253
- var m, g;
2254
- !((m = i.current) === null || m === void 0) && m.value && (i.current.value = ""), (g = i.current) === null || g === void 0 || g.click();
1979
+ var b, g;
1980
+ !((b = i.current) === null || b === void 0) && b.value && (i.current.value = ""), (g = i.current) === null || g === void 0 || g.click();
2255
1981
  }
2256
- }, s), /* @__PURE__ */ k.createElement(Ze, {
2257
- ...E,
1982
+ }, s), /* @__PURE__ */ k.createElement(de, {
1983
+ ...C,
2258
1984
  type: "file",
2259
1985
  ref: i,
2260
1986
  style: {
2261
1987
  display: "none"
2262
1988
  },
2263
1989
  accept: o == null ? void 0 : o.toString(),
2264
- onChange: (m) => n == null ? void 0 : n(m.target.files),
2265
- capture: d,
1990
+ onChange: (b) => a == null ? void 0 : a(b.target.files),
1991
+ capture: l,
2266
1992
  multiple: t,
2267
1993
  // @ts-expect-error
2268
1994
  webkitdirectory: D ? "" : void 0
2269
1995
  }));
2270
- }), s4 = "_dropzone_ffm4g_1", D4 = {
2271
- dropzone: s4
2272
- }, S4 = ({ className: u, ...e }) => /* @__PURE__ */ Y(
2273
- c4,
1996
+ }), Ke = "_dropzone_ffm4g_1", Ie = {
1997
+ dropzone: Ke
1998
+ }, Qe = ({ className: u, ...e }) => /* @__PURE__ */ X(
1999
+ ze,
2274
2000
  {
2275
2001
  ...e,
2276
- className: qe(D4.dropzone, u)
2002
+ className: ce(Ie.dropzone, u)
2277
2003
  }
2278
- ), P4 = (u) => /* @__PURE__ */ Y(p4, { ...u });
2004
+ ), _e = (u) => /* @__PURE__ */ X(Se, { ...u });
2279
2005
  export {
2280
- S4 as D,
2281
- P4 as F
2006
+ Qe as D,
2007
+ _e as F
2282
2008
  };