mimir-ui-kit 1.38.34 → 1.38.36

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 (1005) hide show
  1. package/package.json +1 -1
  2. package/dist/Input-DAmc_HxO.js +0 -227
  3. package/dist/ProgressBar-DEFs1tWq.js +0 -55
  4. package/dist/assets/Accordion.css +0 -1
  5. package/dist/assets/AccordionItem.css +0 -1
  6. package/dist/assets/Avatar.css +0 -1
  7. package/dist/assets/Button.css +0 -1
  8. package/dist/assets/CheckboxMimir.css +0 -1
  9. package/dist/assets/Chip.css +0 -1
  10. package/dist/assets/Drawer.css +0 -1
  11. package/dist/assets/Dropdown.css +0 -1
  12. package/dist/assets/GosZnak.css +0 -1
  13. package/dist/assets/Image.css +0 -1
  14. package/dist/assets/Input.css +0 -1
  15. package/dist/assets/InputPassword.css +0 -1
  16. package/dist/assets/InputRangeSlider.css +0 -1
  17. package/dist/assets/Link.css +0 -1
  18. package/dist/assets/ListFiles.css +0 -1
  19. package/dist/assets/ListPhotos.css +0 -1
  20. package/dist/assets/Loader.css +0 -1
  21. package/dist/assets/MergedButton.css +0 -1
  22. package/dist/assets/MessageShortReply.css +0 -1
  23. package/dist/assets/MultiSelectSearch.css +0 -1
  24. package/dist/assets/NotificationBadge.css +0 -1
  25. package/dist/assets/OtpInput.css +0 -1
  26. package/dist/assets/Pagination.css +0 -1
  27. package/dist/assets/ProgressBar.css +0 -1
  28. package/dist/assets/RadioGroup.css +0 -1
  29. package/dist/assets/SelectSearch.css +0 -1
  30. package/dist/assets/SkeletonCircle.css +0 -1
  31. package/dist/assets/SkeletonText.css +0 -1
  32. package/dist/assets/Slider.css +0 -1
  33. package/dist/assets/Steps.css +0 -1
  34. package/dist/assets/Switcher.css +0 -1
  35. package/dist/assets/TabTrail.css +0 -1
  36. package/dist/assets/Tag.css +0 -1
  37. package/dist/assets/TextArea.css +0 -1
  38. package/dist/assets/Timer.css +0 -1
  39. package/dist/assets/TwinSwitcher.css +0 -1
  40. package/dist/assets/Uploader.css +0 -1
  41. package/dist/assets/UploaderFiles.css +0 -1
  42. package/dist/assets/UploaderPhotos.css +0 -1
  43. package/dist/assets/Vote.css +0 -1
  44. package/dist/assets/index.css +0 -1
  45. package/dist/assets/styles.css +0 -1
  46. package/dist/assets/variant.css +0 -1
  47. package/dist/bugs-diTMAGNw.js +0 -18
  48. package/dist/close-provider-CEutdhG8.js +0 -9
  49. package/dist/combobox-CVtJDVoZ.js +0 -980
  50. package/dist/components/Accordion/Accordion.d.ts +0 -45
  51. package/dist/components/Accordion/Accordion.js +0 -267
  52. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
  53. package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -10
  54. package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
  55. package/dist/components/Accordion/AccordionItem/index.js +0 -4
  56. package/dist/components/Accordion/constants.d.ts +0 -24
  57. package/dist/components/Accordion/constants.js +0 -9
  58. package/dist/components/Accordion/index.d.ts +0 -3
  59. package/dist/components/Accordion/index.js +0 -8
  60. package/dist/components/AnchorLink/Link.d.ts +0 -17
  61. package/dist/components/AnchorLink/Link.js +0 -52
  62. package/dist/components/AnchorLink/constants.d.ts +0 -10
  63. package/dist/components/AnchorLink/constants.js +0 -5
  64. package/dist/components/AnchorLink/index.d.ts +0 -2
  65. package/dist/components/AnchorLink/index.js +0 -7
  66. package/dist/components/Avatar/Avatar.d.ts +0 -3
  67. package/dist/components/Avatar/Avatar.js +0 -58
  68. package/dist/components/Avatar/constants.d.ts +0 -5
  69. package/dist/components/Avatar/constants.js +0 -4
  70. package/dist/components/Avatar/index.d.ts +0 -3
  71. package/dist/components/Avatar/index.js +0 -6
  72. package/dist/components/Avatar/types.d.ts +0 -10
  73. package/dist/components/Button/Button.d.ts +0 -310
  74. package/dist/components/Button/Button.js +0 -100
  75. package/dist/components/Button/constants.d.ts +0 -40
  76. package/dist/components/Button/constants.js +0 -9
  77. package/dist/components/Button/index.d.ts +0 -2
  78. package/dist/components/Button/index.js +0 -11
  79. package/dist/components/Button/types.d.ts +0 -38
  80. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +0 -301
  81. package/dist/components/CheckboxMimir/CheckboxMimir.js +0 -63
  82. package/dist/components/CheckboxMimir/index.d.ts +0 -2
  83. package/dist/components/CheckboxMimir/index.js +0 -4
  84. package/dist/components/Chip/Chip.d.ts +0 -30
  85. package/dist/components/Chip/Chip.js +0 -44
  86. package/dist/components/Chip/constants.d.ts +0 -13
  87. package/dist/components/Chip/constants.js +0 -5
  88. package/dist/components/Chip/index.d.ts +0 -2
  89. package/dist/components/Chip/index.js +0 -7
  90. package/dist/components/DatePicker/DatePicker.d.ts +0 -110
  91. package/dist/components/DatePicker/DatePicker.js +0 -166
  92. package/dist/components/DatePicker/DatePickerModal.d.ts +0 -9
  93. package/dist/components/DatePicker/DatePickerModal.js +0 -147
  94. package/dist/components/DatePicker/MonthPickerModal.d.ts +0 -8
  95. package/dist/components/DatePicker/MonthPickerModal.js +0 -94
  96. package/dist/components/DatePicker/YearPickerModal.d.ts +0 -8
  97. package/dist/components/DatePicker/YearPickerModal.js +0 -89
  98. package/dist/components/DatePicker/constants.d.ts +0 -17
  99. package/dist/components/DatePicker/constants.js +0 -28
  100. package/dist/components/DatePicker/hooks.d.ts +0 -3
  101. package/dist/components/DatePicker/hooks.js +0 -20
  102. package/dist/components/DatePicker/index.d.ts +0 -2
  103. package/dist/components/DatePicker/index.js +0 -4
  104. package/dist/components/DatePicker/utils.d.ts +0 -6
  105. package/dist/components/DatePicker/utils.js +0 -9
  106. package/dist/components/Drawer/Drawer.d.ts +0 -87
  107. package/dist/components/Drawer/Drawer.js +0 -166
  108. package/dist/components/Drawer/constants.d.ts +0 -6
  109. package/dist/components/Drawer/constants.js +0 -4
  110. package/dist/components/Drawer/index.d.ts +0 -2
  111. package/dist/components/Drawer/index.js +0 -6
  112. package/dist/components/Dropdown/Dropdown.d.ts +0 -45
  113. package/dist/components/Dropdown/Dropdown.js +0 -333
  114. package/dist/components/Dropdown/index.d.ts +0 -1
  115. package/dist/components/Dropdown/index.js +0 -4
  116. package/dist/components/GosZnak/GosZnak.d.ts +0 -4
  117. package/dist/components/GosZnak/GosZnak.js +0 -63
  118. package/dist/components/GosZnak/constants.d.ts +0 -11
  119. package/dist/components/GosZnak/constants.js +0 -5
  120. package/dist/components/GosZnak/index.d.ts +0 -3
  121. package/dist/components/GosZnak/index.js +0 -7
  122. package/dist/components/GosZnak/types.d.ts +0 -26
  123. package/dist/components/Image/Image.d.ts +0 -33
  124. package/dist/components/Image/Image.js +0 -60
  125. package/dist/components/Image/index.d.ts +0 -1
  126. package/dist/components/Image/index.js +0 -4
  127. package/dist/components/Input/Input.d.ts +0 -71
  128. package/dist/components/Input/Input.js +0 -11
  129. package/dist/components/Input/constants.d.ts +0 -14
  130. package/dist/components/Input/constants.js +0 -6
  131. package/dist/components/Input/index.d.ts +0 -3
  132. package/dist/components/Input/index.js +0 -8
  133. package/dist/components/Input/types.d.ts +0 -22
  134. package/dist/components/InputPassword/InputPassword.d.ts +0 -4
  135. package/dist/components/InputPassword/InputPassword.js +0 -58
  136. package/dist/components/InputPassword/index.d.ts +0 -2
  137. package/dist/components/InputPassword/index.js +0 -4
  138. package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +0 -4
  139. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +0 -35
  140. package/dist/components/InputPhoneNumber/index.d.ts +0 -2
  141. package/dist/components/InputPhoneNumber/index.js +0 -7
  142. package/dist/components/InputPhoneNumber/utils.d.ts +0 -2
  143. package/dist/components/InputPhoneNumber/utils.js +0 -9
  144. package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +0 -3
  145. package/dist/components/InputRangeSlider/InputRangeSlider.js +0 -171
  146. package/dist/components/InputRangeSlider/constants.d.ts +0 -10
  147. package/dist/components/InputRangeSlider/constants.js +0 -8
  148. package/dist/components/InputRangeSlider/index.d.ts +0 -3
  149. package/dist/components/InputRangeSlider/index.js +0 -7
  150. package/dist/components/InputRangeSlider/types.d.ts +0 -33
  151. package/dist/components/ListFiles/ListFiles.d.ts +0 -40
  152. package/dist/components/ListFiles/ListFiles.js +0 -66
  153. package/dist/components/ListFiles/constants.d.ts +0 -7
  154. package/dist/components/ListFiles/constants.js +0 -35
  155. package/dist/components/ListFiles/index.d.ts +0 -3
  156. package/dist/components/ListFiles/index.js +0 -6
  157. package/dist/components/ListPhotos/ListPhotos.d.ts +0 -28
  158. package/dist/components/ListPhotos/ListPhotos.js +0 -44
  159. package/dist/components/ListPhotos/constants.d.ts +0 -3
  160. package/dist/components/ListPhotos/constants.js +0 -21
  161. package/dist/components/ListPhotos/index.d.ts +0 -2
  162. package/dist/components/ListPhotos/index.js +0 -4
  163. package/dist/components/Loader/Loader.d.ts +0 -7
  164. package/dist/components/Loader/Loader.js +0 -16
  165. package/dist/components/Loader/constants.d.ts +0 -4
  166. package/dist/components/Loader/constants.js +0 -4
  167. package/dist/components/Loader/index.d.ts +0 -2
  168. package/dist/components/Loader/index.js +0 -6
  169. package/dist/components/MergedButton/MergedButton.d.ts +0 -17
  170. package/dist/components/MergedButton/MergedButton.js +0 -48
  171. package/dist/components/MergedButton/constants.d.ts +0 -5
  172. package/dist/components/MergedButton/constants.js +0 -4
  173. package/dist/components/MergedButton/index.d.ts +0 -2
  174. package/dist/components/MergedButton/index.js +0 -6
  175. package/dist/components/MessageShortReply/MessageShortReply.d.ts +0 -30
  176. package/dist/components/MessageShortReply/MessageShortReply.js +0 -51
  177. package/dist/components/MessageShortReply/constants.d.ts +0 -9
  178. package/dist/components/MessageShortReply/constants.js +0 -4
  179. package/dist/components/MessageShortReply/index.d.ts +0 -2
  180. package/dist/components/MessageShortReply/index.js +0 -6
  181. package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +0 -26
  182. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +0 -375
  183. package/dist/components/MultiSelectSearch/constants.d.ts +0 -7
  184. package/dist/components/MultiSelectSearch/constants.js +0 -8
  185. package/dist/components/MultiSelectSearch/index.d.ts +0 -3
  186. package/dist/components/MultiSelectSearch/index.js +0 -6
  187. package/dist/components/MultiSelectSearch/types.d.ts +0 -72
  188. package/dist/components/MultiSelectSearch/utils.d.ts +0 -11
  189. package/dist/components/MultiSelectSearch/utils.js +0 -28
  190. package/dist/components/NotificationBadge/NotificationBadge.d.ts +0 -3
  191. package/dist/components/NotificationBadge/NotificationBadge.js +0 -36
  192. package/dist/components/NotificationBadge/constants.d.ts +0 -5
  193. package/dist/components/NotificationBadge/constants.js +0 -4
  194. package/dist/components/NotificationBadge/index.d.ts +0 -3
  195. package/dist/components/NotificationBadge/index.js +0 -6
  196. package/dist/components/NotificationBadge/types.d.ts +0 -25
  197. package/dist/components/OtpInput/OtpInput.d.ts +0 -23
  198. package/dist/components/OtpInput/OtpInput.js +0 -70
  199. package/dist/components/OtpInput/constants.d.ts +0 -3
  200. package/dist/components/OtpInput/constants.js +0 -6
  201. package/dist/components/OtpInput/hooks.d.ts +0 -20
  202. package/dist/components/OtpInput/hooks.js +0 -102
  203. package/dist/components/OtpInput/index.d.ts +0 -1
  204. package/dist/components/OtpInput/index.js +0 -4
  205. package/dist/components/Pagination/Pagination.d.ts +0 -40
  206. package/dist/components/Pagination/Pagination.js +0 -176
  207. package/dist/components/Pagination/constants.d.ts +0 -2
  208. package/dist/components/Pagination/constants.js +0 -5
  209. package/dist/components/Pagination/index.d.ts +0 -1
  210. package/dist/components/Pagination/index.js +0 -4
  211. package/dist/components/Pagination/types.d.ts +0 -0
  212. package/dist/components/Portal/Portal.d.ts +0 -7
  213. package/dist/components/Portal/Portal.js +0 -8
  214. package/dist/components/Portal/index.d.ts +0 -1
  215. package/dist/components/Portal/index.js +0 -4
  216. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -71
  217. package/dist/components/RadioGroup/RadioGroup.js +0 -195
  218. package/dist/components/RadioGroup/index.d.ts +0 -2
  219. package/dist/components/RadioGroup/index.js +0 -4
  220. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -22
  221. package/dist/components/SelectSearch/SelectSearch.js +0 -263
  222. package/dist/components/SelectSearch/constants.d.ts +0 -4
  223. package/dist/components/SelectSearch/constants.js +0 -4
  224. package/dist/components/SelectSearch/index.d.ts +0 -3
  225. package/dist/components/SelectSearch/index.js +0 -6
  226. package/dist/components/SelectSearch/types.d.ts +0 -59
  227. package/dist/components/SelectSearch/utils.d.ts +0 -5
  228. package/dist/components/SelectSearch/utils.js +0 -17
  229. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +0 -12
  230. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +0 -33
  231. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +0 -9
  232. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +0 -29
  233. package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +0 -10
  234. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +0 -52
  235. package/dist/components/Skeleton/constants.d.ts +0 -5
  236. package/dist/components/Skeleton/constants.js +0 -4
  237. package/dist/components/Skeleton/index.d.ts +0 -4
  238. package/dist/components/Skeleton/index.js +0 -10
  239. package/dist/components/Slider/Slider.d.ts +0 -75
  240. package/dist/components/Slider/Slider.js +0 -3075
  241. package/dist/components/Slider/constants.d.ts +0 -4
  242. package/dist/components/Slider/constants.js +0 -4
  243. package/dist/components/Slider/index.d.ts +0 -3
  244. package/dist/components/Slider/index.js +0 -9
  245. package/dist/components/Steps/Steps.d.ts +0 -78
  246. package/dist/components/Steps/Steps.js +0 -123
  247. package/dist/components/Steps/constants.d.ts +0 -49
  248. package/dist/components/Steps/constants.js +0 -57
  249. package/dist/components/Steps/index.d.ts +0 -3
  250. package/dist/components/Steps/index.js +0 -7
  251. package/dist/components/Steps/types.d.ts +0 -10
  252. package/dist/components/Switcher/Switcher.d.ts +0 -3
  253. package/dist/components/Switcher/Switcher.js +0 -107
  254. package/dist/components/Switcher/constants.d.ts +0 -4
  255. package/dist/components/Switcher/constants.js +0 -4
  256. package/dist/components/Switcher/index.d.ts +0 -3
  257. package/dist/components/Switcher/index.js +0 -6
  258. package/dist/components/Switcher/types.d.ts +0 -30
  259. package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -10
  260. package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -33
  261. package/dist/components/TabTrail/TabButtons/constants.d.ts +0 -8
  262. package/dist/components/TabTrail/TabButtons/constants.js +0 -5
  263. package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
  264. package/dist/components/TabTrail/TabButtons/index.js +0 -4
  265. package/dist/components/TabTrail/TabTrail.d.ts +0 -68
  266. package/dist/components/TabTrail/TabTrail.js +0 -313
  267. package/dist/components/TabTrail/constants.d.ts +0 -4
  268. package/dist/components/TabTrail/constants.js +0 -4
  269. package/dist/components/TabTrail/index.d.ts +0 -2
  270. package/dist/components/TabTrail/index.js +0 -6
  271. package/dist/components/Tag/Tag.d.ts +0 -42
  272. package/dist/components/Tag/Tag.js +0 -46
  273. package/dist/components/Tag/constants.d.ts +0 -9
  274. package/dist/components/Tag/constants.js +0 -5
  275. package/dist/components/Tag/index.d.ts +0 -2
  276. package/dist/components/Tag/index.js +0 -7
  277. package/dist/components/Tag/types.d.ts +0 -0
  278. package/dist/components/TextArea/TextArea.d.ts +0 -7
  279. package/dist/components/TextArea/TextArea.js +0 -224
  280. package/dist/components/TextArea/constants.d.ts +0 -5
  281. package/dist/components/TextArea/constants.js +0 -4
  282. package/dist/components/TextArea/hooks.d.ts +0 -3
  283. package/dist/components/TextArea/hooks.js +0 -15
  284. package/dist/components/TextArea/index.d.ts +0 -2
  285. package/dist/components/TextArea/index.js +0 -6
  286. package/dist/components/TextArea/types.d.ts +0 -6
  287. package/dist/components/Timer/Timer.d.ts +0 -24
  288. package/dist/components/Timer/Timer.js +0 -23
  289. package/dist/components/Timer/index.d.ts +0 -1
  290. package/dist/components/Timer/index.js +0 -4
  291. package/dist/components/Toasts/ProgressBar.d.ts +0 -5
  292. package/dist/components/Toasts/ProgressBar.js +0 -8
  293. package/dist/components/Toasts/Toast.d.ts +0 -54
  294. package/dist/components/Toasts/Toast.js +0 -72
  295. package/dist/components/Toasts/ToastList.d.ts +0 -10
  296. package/dist/components/Toasts/ToastList.js +0 -41
  297. package/dist/components/Toasts/ToastsProvider.d.ts +0 -3
  298. package/dist/components/Toasts/ToastsProvider.js +0 -42
  299. package/dist/components/Toasts/constants.d.ts +0 -23
  300. package/dist/components/Toasts/constants.js +0 -15
  301. package/dist/components/Toasts/hooks.d.ts +0 -2
  302. package/dist/components/Toasts/hooks.js +0 -15
  303. package/dist/components/Toasts/index.d.ts +0 -3
  304. package/dist/components/Toasts/index.js +0 -9
  305. package/dist/components/Toasts/store.d.ts +0 -29
  306. package/dist/components/Toasts/store.js +0 -40
  307. package/dist/components/Toasts/types.d.ts +0 -5
  308. package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +0 -10
  309. package/dist/components/TwinSwitcher/TwinSwitcher.js +0 -61
  310. package/dist/components/TwinSwitcher/index.d.ts +0 -1
  311. package/dist/components/TwinSwitcher/index.js +0 -4
  312. package/dist/components/UniversalUploader/UniversalUploader.d.ts +0 -10
  313. package/dist/components/UniversalUploader/UniversalUploader.js +0 -114
  314. package/dist/components/UniversalUploader/constants.d.ts +0 -6
  315. package/dist/components/UniversalUploader/constants.js +0 -13
  316. package/dist/components/UniversalUploader/index.d.ts +0 -3
  317. package/dist/components/UniversalUploader/index.js +0 -6
  318. package/dist/components/UniversalUploader/types.d.ts +0 -21
  319. package/dist/components/Uploader/Uploader.d.ts +0 -77
  320. package/dist/components/Uploader/Uploader.js +0 -116
  321. package/dist/components/Uploader/constants.d.ts +0 -8
  322. package/dist/components/Uploader/constants.js +0 -37
  323. package/dist/components/Uploader/index.d.ts +0 -4
  324. package/dist/components/Uploader/index.js +0 -6
  325. package/dist/components/UploaderFiles/UploaderFiles.d.ts +0 -3
  326. package/dist/components/UploaderFiles/UploaderFiles.js +0 -92
  327. package/dist/components/UploaderFiles/constants.d.ts +0 -4
  328. package/dist/components/UploaderFiles/constants.js +0 -4
  329. package/dist/components/UploaderFiles/index.d.ts +0 -3
  330. package/dist/components/UploaderFiles/index.js +0 -6
  331. package/dist/components/UploaderFiles/types.d.ts +0 -75
  332. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +0 -60
  333. package/dist/components/UploaderPhotos/UploaderPhotos.js +0 -72
  334. package/dist/components/UploaderPhotos/index.d.ts +0 -2
  335. package/dist/components/UploaderPhotos/index.js +0 -4
  336. package/dist/components/Vote/Vote.d.ts +0 -171
  337. package/dist/components/Vote/Vote.js +0 -95
  338. package/dist/components/Vote/constants.d.ts +0 -7
  339. package/dist/components/Vote/constants.js +0 -9
  340. package/dist/components/Vote/index.d.ts +0 -3
  341. package/dist/components/Vote/index.js +0 -6
  342. package/dist/components/Vote/types.d.ts +0 -6
  343. package/dist/components/index.d.ts +0 -70
  344. package/dist/components/index.js +0 -165
  345. package/dist/field-FJ34aSs4.js +0 -12
  346. package/dist/focus-management-DE4t_lW3.js +0 -78
  347. package/dist/hidden-DbgtYPOH.js +0 -13
  348. package/dist/hooks/index.d.ts +0 -7
  349. package/dist/hooks/index.js +0 -19
  350. package/dist/hooks/useClickOutside/index.d.ts +0 -1
  351. package/dist/hooks/useClickOutside/index.js +0 -4
  352. package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -7
  353. package/dist/hooks/useClickOutside/useClickOutside.js +0 -16
  354. package/dist/hooks/useCopyToClipboard/index.d.ts +0 -1
  355. package/dist/hooks/useCopyToClipboard/index.js +0 -4
  356. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -4
  357. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -16
  358. package/dist/hooks/useInterval/index.d.ts +0 -1
  359. package/dist/hooks/useInterval/index.js +0 -4
  360. package/dist/hooks/useInterval/useInterval.d.ts +0 -1
  361. package/dist/hooks/useInterval/useInterval.js +0 -15
  362. package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
  363. package/dist/hooks/useLockBodyScroll/index.js +0 -4
  364. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
  365. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -16
  366. package/dist/hooks/useMediaQuery/constants.d.ts +0 -20
  367. package/dist/hooks/useMediaQuery/constants.js +0 -5
  368. package/dist/hooks/useMediaQuery/index.d.ts +0 -2
  369. package/dist/hooks/useMediaQuery/index.js +0 -7
  370. package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +0 -14
  371. package/dist/hooks/useMediaQuery/useMediaQuery.js +0 -16
  372. package/dist/hooks/useMergeRefs/index.d.ts +0 -1
  373. package/dist/hooks/useMergeRefs/index.js +0 -4
  374. package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +0 -4
  375. package/dist/hooks/useMergeRefs/useMergeRefs.js +0 -29
  376. package/dist/hooks/useResizeObserver/getElement.d.ts +0 -4
  377. package/dist/hooks/useResizeObserver/getElement.js +0 -4
  378. package/dist/hooks/useResizeObserver/index.d.ts +0 -1
  379. package/dist/hooks/useResizeObserver/index.js +0 -4
  380. package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +0 -17
  381. package/dist/hooks/useResizeObserver/useResizeObserver.js +0 -36
  382. package/dist/hooks/useTimer/index.d.ts +0 -18
  383. package/dist/hooks/useTimer/index.js +0 -57
  384. package/dist/hooks/useTimer/useTimer.d.ts +0 -18
  385. package/dist/hooks/useTimer/useTimer.js +0 -58
  386. package/dist/hooks/useTimer/utils.d.ts +0 -24
  387. package/dist/hooks/useTimer/utils.js +0 -71
  388. package/dist/hooks/useWindowSize/index.d.ts +0 -4
  389. package/dist/hooks/useWindowSize/index.js +0 -20
  390. package/dist/icons/Icon.d.ts +0 -7
  391. package/dist/icons/Icon.js +0 -10
  392. package/dist/icons/components/12px/Close12px.js +0 -16
  393. package/dist/icons/components/12px/MessageRead12px.js +0 -35
  394. package/dist/icons/components/16px/Accept16px.js +0 -25
  395. package/dist/icons/components/16px/Acts16px.js +0 -38
  396. package/dist/icons/components/16px/Acts16pxF.js +0 -33
  397. package/dist/icons/components/16px/AdditionalServicess16px.js +0 -31
  398. package/dist/icons/components/16px/AdditionalServicess16pxF.js +0 -20
  399. package/dist/icons/components/16px/Agents16px.js +0 -22
  400. package/dist/icons/components/16px/Agents16pxF.js +0 -20
  401. package/dist/icons/components/16px/Alarm16px.js +0 -23
  402. package/dist/icons/components/16px/ArrowDown16px.js +0 -22
  403. package/dist/icons/components/16px/ArrowLeft16px.js +0 -22
  404. package/dist/icons/components/16px/ArrowRight16px.js +0 -22
  405. package/dist/icons/components/16px/ArrowUp16px.js +0 -22
  406. package/dist/icons/components/16px/ArrowUpright16px.js +0 -22
  407. package/dist/icons/components/16px/AttachFile16px.js +0 -22
  408. package/dist/icons/components/16px/Bell16px.js +0 -42
  409. package/dist/icons/components/16px/Bell16pxF.js +0 -32
  410. package/dist/icons/components/16px/Calculator16px.js +0 -22
  411. package/dist/icons/components/16px/CalculatorLkk16px.js +0 -33
  412. package/dist/icons/components/16px/CalculatorLkk16pxF.js +0 -22
  413. package/dist/icons/components/16px/Calendar16px.js +0 -22
  414. package/dist/icons/components/16px/Camera16px.js +0 -34
  415. package/dist/icons/components/16px/Car16px.js +0 -33
  416. package/dist/icons/components/16px/Car16pxF.js +0 -22
  417. package/dist/icons/components/16px/Catalog16px.js +0 -22
  418. package/dist/icons/components/16px/Certs16px.js +0 -31
  419. package/dist/icons/components/16px/Certs16pxF.js +0 -31
  420. package/dist/icons/components/16px/Change16px.js +0 -20
  421. package/dist/icons/components/16px/Chat16px.js +0 -31
  422. package/dist/icons/components/16px/Chat16pxF.js +0 -22
  423. package/dist/icons/components/16px/Chatbot16px.js +0 -262
  424. package/dist/icons/components/16px/Close16px.js +0 -22
  425. package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +0 -20
  426. package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +0 -20
  427. package/dist/icons/components/16px/Coin16px.js +0 -33
  428. package/dist/icons/components/16px/Coin16pxF.js +0 -40
  429. package/dist/icons/components/16px/Contracts16px.js +0 -33
  430. package/dist/icons/components/16px/Contracts16pxF.js +0 -31
  431. package/dist/icons/components/16px/CopyClipboard16px.js +0 -25
  432. package/dist/icons/components/16px/Done16px.js +0 -22
  433. package/dist/icons/components/16px/Download16px.js +0 -29
  434. package/dist/icons/components/16px/DragHandle16px.js +0 -20
  435. package/dist/icons/components/16px/DragHandleHorizontal16px.js +0 -20
  436. package/dist/icons/components/16px/DragHandleVertical16px.js +0 -20
  437. package/dist/icons/components/16px/DropdownArrowBottom16px.js +0 -22
  438. package/dist/icons/components/16px/DropdownArrowLeft16px.js +0 -22
  439. package/dist/icons/components/16px/DropdownArrowRight16px.js +0 -22
  440. package/dist/icons/components/16px/DropdownArrowUp16px.js +0 -22
  441. package/dist/icons/components/16px/Dzen16px.js +0 -20
  442. package/dist/icons/components/16px/Euro16px.js +0 -23
  443. package/dist/icons/components/16px/Eye16px.js +0 -33
  444. package/dist/icons/components/16px/Failure16px.js +0 -25
  445. package/dist/icons/components/16px/Favorite16px.js +0 -22
  446. package/dist/icons/components/16px/Favorite16pxF.js +0 -20
  447. package/dist/icons/components/16px/Filter16px.js +0 -22
  448. package/dist/icons/components/16px/Flag16pxF.js +0 -14
  449. package/dist/icons/components/16px/Folder16px.js +0 -22
  450. package/dist/icons/components/16px/Fullscreen16px.js +0 -22
  451. package/dist/icons/components/16px/Galery16px.js +0 -25
  452. package/dist/icons/components/16px/Gear16px.js +0 -33
  453. package/dist/icons/components/16px/Gift16px.js +0 -31
  454. package/dist/icons/components/16px/Hint16px.js +0 -23
  455. package/dist/icons/components/16px/Home16px.js +0 -31
  456. package/dist/icons/components/16px/Home16pxF.js +0 -22
  457. package/dist/icons/components/16px/Hot16pxF.js +0 -20
  458. package/dist/icons/components/16px/Kebab16px.js +0 -14
  459. package/dist/icons/components/16px/List16px.js +0 -20
  460. package/dist/icons/components/16px/Location16px.js +0 -33
  461. package/dist/icons/components/16px/Map16px.js +0 -22
  462. package/dist/icons/components/16px/Menu16px.js +0 -20
  463. package/dist/icons/components/16px/MenuMobile16px.js +0 -22
  464. package/dist/icons/components/16px/Minus16px.js +0 -14
  465. package/dist/icons/components/16px/Navigation16px.js +0 -22
  466. package/dist/icons/components/16px/News16px.js +0 -31
  467. package/dist/icons/components/16px/News16pxF.js +0 -22
  468. package/dist/icons/components/16px/Number16px.js +0 -31
  469. package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +0 -20
  470. package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +0 -20
  471. package/dist/icons/components/16px/Orders16px.js +0 -31
  472. package/dist/icons/components/16px/Orders16pxF.js +0 -25
  473. package/dist/icons/components/16px/Pause16px.js +0 -14
  474. package/dist/icons/components/16px/Pen16px.js +0 -33
  475. package/dist/icons/components/16px/Pen16pxF.js +0 -22
  476. package/dist/icons/components/16px/Phone16px.js +0 -22
  477. package/dist/icons/components/16px/Play16pxF.js +0 -20
  478. package/dist/icons/components/16px/Plus16px.js +0 -22
  479. package/dist/icons/components/16px/Pound16px.js +0 -23
  480. package/dist/icons/components/16px/PriceDown16px.js +0 -33
  481. package/dist/icons/components/16px/PriceUp16px.js +0 -33
  482. package/dist/icons/components/16px/Question16px.js +0 -22
  483. package/dist/icons/components/16px/Question16pxF.js +0 -22
  484. package/dist/icons/components/16px/Rutube16px.js +0 -20
  485. package/dist/icons/components/16px/Scan16px.js +0 -20
  486. package/dist/icons/components/16px/Search16px.js +0 -22
  487. package/dist/icons/components/16px/Share16pxF.js +0 -20
  488. package/dist/icons/components/16px/ShopingCard16px.js +0 -22
  489. package/dist/icons/components/16px/Sort16px.js +0 -22
  490. package/dist/icons/components/16px/Star16px.js +0 -22
  491. package/dist/icons/components/16px/Star16pxF.js +0 -20
  492. package/dist/icons/components/16px/StarHalf16pxF.js +0 -22
  493. package/dist/icons/components/16px/Telegram16pxF.js +0 -20
  494. package/dist/icons/components/16px/TelegramPlane16pxF.js +0 -20
  495. package/dist/icons/components/16px/Timer16px.js +0 -38
  496. package/dist/icons/components/16px/Trash16px.js +0 -22
  497. package/dist/icons/components/16px/TwinArrowLeft16px.js +0 -20
  498. package/dist/icons/components/16px/TwinArrowRight16px.js +0 -20
  499. package/dist/icons/components/16px/USDollar16px.js +0 -23
  500. package/dist/icons/components/16px/Umbrella16px.js +0 -22
  501. package/dist/icons/components/16px/Umbrella16pxF.js +0 -20
  502. package/dist/icons/components/16px/UnionIcon16px.js +0 -22
  503. package/dist/icons/components/16px/User16px.js +0 -31
  504. package/dist/icons/components/16px/User16pxF.js +0 -20
  505. package/dist/icons/components/16px/Users16px.js +0 -31
  506. package/dist/icons/components/16px/Users16pxF.js +0 -20
  507. package/dist/icons/components/16px/VK16pxF.js +0 -22
  508. package/dist/icons/components/16px/Waiting16px.js +0 -22
  509. package/dist/icons/components/16px/Whatsapp16px.js +0 -31
  510. package/dist/icons/components/16px/WriteUs16px.js +0 -25
  511. package/dist/icons/components/16px/Youtube16pxF.js +0 -20
  512. package/dist/icons/components/16px/Yuan16px.js +0 -23
  513. package/dist/icons/components/24px/Accept24px.js +0 -27
  514. package/dist/icons/components/24px/Acts24px.js +0 -39
  515. package/dist/icons/components/24px/Acts24pxF.js +0 -32
  516. package/dist/icons/components/24px/AdditionalServicess24px.js +0 -32
  517. package/dist/icons/components/24px/AdditionalServicess24pxF.js +0 -21
  518. package/dist/icons/components/24px/Agents24px.js +0 -23
  519. package/dist/icons/components/24px/Agents24pxF.js +0 -30
  520. package/dist/icons/components/24px/Alarm24px.js +0 -24
  521. package/dist/icons/components/24px/ArrowDown24px.js +0 -23
  522. package/dist/icons/components/24px/ArrowLeft24px.js +0 -23
  523. package/dist/icons/components/24px/ArrowRight24px.js +0 -23
  524. package/dist/icons/components/24px/ArrowUp24px.js +0 -23
  525. package/dist/icons/components/24px/ArrowUpright24px.js +0 -23
  526. package/dist/icons/components/24px/AttachFile24px.js +0 -23
  527. package/dist/icons/components/24px/Bell24px.js +0 -43
  528. package/dist/icons/components/24px/Bell24pxF.js +0 -26
  529. package/dist/icons/components/24px/Calculator24px.js +0 -23
  530. package/dist/icons/components/24px/CalculatorLkk24px.js +0 -32
  531. package/dist/icons/components/24px/CalculatorLkk24pxF.js +0 -23
  532. package/dist/icons/components/24px/Calendar24px.js +0 -23
  533. package/dist/icons/components/24px/Camera24px.js +0 -23
  534. package/dist/icons/components/24px/Car24px.js +0 -34
  535. package/dist/icons/components/24px/Car24pxF.js +0 -32
  536. package/dist/icons/components/24px/Catalog24px.js +0 -23
  537. package/dist/icons/components/24px/Certs24px.js +0 -32
  538. package/dist/icons/components/24px/Certs24pxF.js +0 -32
  539. package/dist/icons/components/24px/Change24px.js +0 -23
  540. package/dist/icons/components/24px/Chat24px.js +0 -28
  541. package/dist/icons/components/24px/Chat24pxF.js +0 -23
  542. package/dist/icons/components/24px/Chatbot24px.js +0 -263
  543. package/dist/icons/components/24px/Close24px.js +0 -23
  544. package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +0 -23
  545. package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +0 -21
  546. package/dist/icons/components/24px/Coin24px.js +0 -24
  547. package/dist/icons/components/24px/Coin24pxF.js +0 -41
  548. package/dist/icons/components/24px/Contracts24px.js +0 -34
  549. package/dist/icons/components/24px/Contracts24pxF.js +0 -32
  550. package/dist/icons/components/24px/CopyClipboard24px.js +0 -26
  551. package/dist/icons/components/24px/Done24px.js +0 -23
  552. package/dist/icons/components/24px/Download24px.js +0 -30
  553. package/dist/icons/components/24px/DragHandle24px.js +0 -21
  554. package/dist/icons/components/24px/DragHandleHorizontal24px.js +0 -21
  555. package/dist/icons/components/24px/DragHandleVertical24px.js +0 -21
  556. package/dist/icons/components/24px/DropdownArrowDown24px.js +0 -23
  557. package/dist/icons/components/24px/DropdownArrowLeft24px.js +0 -23
  558. package/dist/icons/components/24px/DropdownArrowRight24px.js +0 -23
  559. package/dist/icons/components/24px/DropdownArrowUp24px.js +0 -23
  560. package/dist/icons/components/24px/Dzen24px.js +0 -21
  561. package/dist/icons/components/24px/Euro24px.js +0 -24
  562. package/dist/icons/components/24px/Eye24px.js +0 -34
  563. package/dist/icons/components/24px/Failure24px.js +0 -26
  564. package/dist/icons/components/24px/Favorite24px.js +0 -23
  565. package/dist/icons/components/24px/Favorite24pxF.js +0 -21
  566. package/dist/icons/components/24px/Filter24px.js +0 -21
  567. package/dist/icons/components/24px/Flag24pxF.js +0 -15
  568. package/dist/icons/components/24px/Folder24px.js +0 -23
  569. package/dist/icons/components/24px/Fullscreen24px.js +0 -23
  570. package/dist/icons/components/24px/Galery24px.js +0 -26
  571. package/dist/icons/components/24px/Gear24px.js +0 -34
  572. package/dist/icons/components/24px/Gift24px.js +0 -23
  573. package/dist/icons/components/24px/Hint24px.js +0 -26
  574. package/dist/icons/components/24px/Home24px.js +0 -34
  575. package/dist/icons/components/24px/Home24pxF.js +0 -23
  576. package/dist/icons/components/24px/Hot24pxF.js +0 -21
  577. package/dist/icons/components/24px/Improvements24px.js +0 -41
  578. package/dist/icons/components/24px/Improvements24pxF.js +0 -35
  579. package/dist/icons/components/24px/Kebab24px.js +0 -21
  580. package/dist/icons/components/24px/List24px.js +0 -21
  581. package/dist/icons/components/24px/Location24px.js +0 -34
  582. package/dist/icons/components/24px/Map24px.js +0 -23
  583. package/dist/icons/components/24px/Menu24px.js +0 -21
  584. package/dist/icons/components/24px/MenuMobile24px.js +0 -23
  585. package/dist/icons/components/24px/Minus24px.js +0 -23
  586. package/dist/icons/components/24px/Navigation24px.js +0 -23
  587. package/dist/icons/components/24px/News24px.js +0 -32
  588. package/dist/icons/components/24px/News24pxF.js +0 -23
  589. package/dist/icons/components/24px/Number24px.js +0 -32
  590. package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +0 -21
  591. package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +0 -23
  592. package/dist/icons/components/24px/Orders24px.js +0 -32
  593. package/dist/icons/components/24px/Orders24pxF.js +0 -26
  594. package/dist/icons/components/24px/Pause24px.js +0 -15
  595. package/dist/icons/components/24px/Pen24px.js +0 -34
  596. package/dist/icons/components/24px/Pen24pxF.js +0 -23
  597. package/dist/icons/components/24px/Phone24px.js +0 -23
  598. package/dist/icons/components/24px/Play24px.js +0 -21
  599. package/dist/icons/components/24px/Plus24px.js +0 -23
  600. package/dist/icons/components/24px/Pound24px.js +0 -24
  601. package/dist/icons/components/24px/PriceDown24px.js +0 -32
  602. package/dist/icons/components/24px/PriceUp24px.js +0 -32
  603. package/dist/icons/components/24px/Question24px.js +0 -32
  604. package/dist/icons/components/24px/Question24pxF.js +0 -23
  605. package/dist/icons/components/24px/Rutube24px.js +0 -21
  606. package/dist/icons/components/24px/Scan24px.js +0 -21
  607. package/dist/icons/components/24px/Search24px.js +0 -23
  608. package/dist/icons/components/24px/Share24pxF.js +0 -21
  609. package/dist/icons/components/24px/ShopingCard24px.js +0 -23
  610. package/dist/icons/components/24px/Sort24px.js +0 -21
  611. package/dist/icons/components/24px/Star24px.js +0 -23
  612. package/dist/icons/components/24px/Star24pxF.js +0 -21
  613. package/dist/icons/components/24px/StarHalf24pxF.js +0 -23
  614. package/dist/icons/components/24px/Telegram24pxF.js +0 -21
  615. package/dist/icons/components/24px/TelegramPlane24pxF.js +0 -21
  616. package/dist/icons/components/24px/Timer24px.js +0 -39
  617. package/dist/icons/components/24px/Trash24px.js +0 -43
  618. package/dist/icons/components/24px/TwinArrowLeft24px.js +0 -21
  619. package/dist/icons/components/24px/TwinArrowRight24px.js +0 -23
  620. package/dist/icons/components/24px/USDollar24px.js +0 -24
  621. package/dist/icons/components/24px/Umbrella24px.js +0 -23
  622. package/dist/icons/components/24px/Umbrella24pxF.js +0 -21
  623. package/dist/icons/components/24px/UnionIcon24px.js +0 -23
  624. package/dist/icons/components/24px/User24px.js +0 -32
  625. package/dist/icons/components/24px/User24pxF.js +0 -21
  626. package/dist/icons/components/24px/Users24px.js +0 -23
  627. package/dist/icons/components/24px/Users24pxF.js +0 -30
  628. package/dist/icons/components/24px/VK24pxF.js +0 -23
  629. package/dist/icons/components/24px/Waiting24px.js +0 -23
  630. package/dist/icons/components/24px/Whatsapp24px.js +0 -32
  631. package/dist/icons/components/24px/WriteUs24px.js +0 -26
  632. package/dist/icons/components/24px/Youtube24pxF.js +0 -21
  633. package/dist/icons/components/24px/Yuan24px.js +0 -24
  634. package/dist/icons/components/32px/Accept32px.js +0 -26
  635. package/dist/icons/components/32px/Acts32px.js +0 -39
  636. package/dist/icons/components/32px/AdditionalServicess32px.js +0 -23
  637. package/dist/icons/components/32px/AdditionalServicess32pxF.js +0 -21
  638. package/dist/icons/components/32px/Agents32px.js +0 -35
  639. package/dist/icons/components/32px/Alarm32px.js +0 -24
  640. package/dist/icons/components/32px/ArrowDown32px.js +0 -23
  641. package/dist/icons/components/32px/ArrowLeft32px.js +0 -23
  642. package/dist/icons/components/32px/ArrowRight32px.js +0 -23
  643. package/dist/icons/components/32px/ArrowUp32px.js +0 -23
  644. package/dist/icons/components/32px/ArrowUpright32px.js +0 -23
  645. package/dist/icons/components/32px/AttachFile32px.js +0 -23
  646. package/dist/icons/components/32px/Bell32px.js +0 -43
  647. package/dist/icons/components/32px/Bell32pxF.js +0 -26
  648. package/dist/icons/components/32px/Calculator32px.js +0 -23
  649. package/dist/icons/components/32px/CalculatorLkk32px.js +0 -32
  650. package/dist/icons/components/32px/CalculatorLkk32pxF.js +0 -23
  651. package/dist/icons/components/32px/Calendar32px.js +0 -23
  652. package/dist/icons/components/32px/Camera32px.js +0 -35
  653. package/dist/icons/components/32px/Car32px.js +0 -34
  654. package/dist/icons/components/32px/Car32pxF.js +0 -26
  655. package/dist/icons/components/32px/Catalog32px.js +0 -23
  656. package/dist/icons/components/32px/Certs32px.js +0 -32
  657. package/dist/icons/components/32px/Certs32pxF.js +0 -32
  658. package/dist/icons/components/32px/Change32px.js +0 -23
  659. package/dist/icons/components/32px/Chat32px.js +0 -32
  660. package/dist/icons/components/32px/Chat32pxF.js +0 -23
  661. package/dist/icons/components/32px/Chatbot32px.js +0 -263
  662. package/dist/icons/components/32px/Close32px.js +0 -23
  663. package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +0 -21
  664. package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +0 -21
  665. package/dist/icons/components/32px/Coin32px.js +0 -34
  666. package/dist/icons/components/32px/Coin32pxF.js +0 -32
  667. package/dist/icons/components/32px/Contracts32px.js +0 -34
  668. package/dist/icons/components/32px/Contracts32pxF.js +0 -32
  669. package/dist/icons/components/32px/CopyClipboard32px.js +0 -32
  670. package/dist/icons/components/32px/Done32px.js +0 -23
  671. package/dist/icons/components/32px/Download32px.js +0 -30
  672. package/dist/icons/components/32px/DragHandle32px.js +0 -21
  673. package/dist/icons/components/32px/DragHandleHorizontal32px.js +0 -21
  674. package/dist/icons/components/32px/DragHandleVertical32px.js +0 -21
  675. package/dist/icons/components/32px/DropdownArrowDown32px.js +0 -23
  676. package/dist/icons/components/32px/DropdownArrowLeft32px.js +0 -23
  677. package/dist/icons/components/32px/DropdownArrowRight32px.js +0 -23
  678. package/dist/icons/components/32px/DropdownArrowUp32px.js +0 -15
  679. package/dist/icons/components/32px/Dzen32px.js +0 -21
  680. package/dist/icons/components/32px/Euro32px.js +0 -24
  681. package/dist/icons/components/32px/Eye32px.js +0 -34
  682. package/dist/icons/components/32px/Failure32px.js +0 -26
  683. package/dist/icons/components/32px/Favorite32px.js +0 -23
  684. package/dist/icons/components/32px/Favorite32pxF.js +0 -21
  685. package/dist/icons/components/32px/Filter32px.js +0 -21
  686. package/dist/icons/components/32px/Flag32pxF.js +0 -15
  687. package/dist/icons/components/32px/Folder32px.js +0 -23
  688. package/dist/icons/components/32px/Fullscreen32px.js +0 -23
  689. package/dist/icons/components/32px/Galery32px.js +0 -26
  690. package/dist/icons/components/32px/Gear32px.js +0 -34
  691. package/dist/icons/components/32px/Gift32px.js +0 -23
  692. package/dist/icons/components/32px/Hint32px.js +0 -26
  693. package/dist/icons/components/32px/Home32px.js +0 -26
  694. package/dist/icons/components/32px/Home32pxF.js +0 -23
  695. package/dist/icons/components/32px/Hot32pxF.js +0 -21
  696. package/dist/icons/components/32px/Kebab32px.js +0 -15
  697. package/dist/icons/components/32px/List32px.js +0 -21
  698. package/dist/icons/components/32px/Location32px.js +0 -34
  699. package/dist/icons/components/32px/Map32px.js +0 -23
  700. package/dist/icons/components/32px/Menu32px.js +0 -21
  701. package/dist/icons/components/32px/MenuMobile32px.js +0 -23
  702. package/dist/icons/components/32px/Minus32px.js +0 -23
  703. package/dist/icons/components/32px/Navigation32px.js +0 -23
  704. package/dist/icons/components/32px/News32px.js +0 -32
  705. package/dist/icons/components/32px/News32pxF.js +0 -23
  706. package/dist/icons/components/32px/Number32px.js +0 -32
  707. package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +0 -21
  708. package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +0 -23
  709. package/dist/icons/components/32px/Orders32px.js +0 -41
  710. package/dist/icons/components/32px/Orders32pxF.js +0 -32
  711. package/dist/icons/components/32px/Pause32px.js +0 -15
  712. package/dist/icons/components/32px/Pen32px.js +0 -22
  713. package/dist/icons/components/32px/Pen32pxF.js +0 -23
  714. package/dist/icons/components/32px/PersonalManager32px.js +0 -110
  715. package/dist/icons/components/32px/Phone32px.js +0 -21
  716. package/dist/icons/components/32px/Play32px.js +0 -21
  717. package/dist/icons/components/32px/Plus32px.js +0 -23
  718. package/dist/icons/components/32px/Pound32px.js +0 -24
  719. package/dist/icons/components/32px/PriceDown32px.js +0 -43
  720. package/dist/icons/components/32px/PriceUp32px.js +0 -34
  721. package/dist/icons/components/32px/Question32px.js +0 -32
  722. package/dist/icons/components/32px/Question32pxF.js +0 -23
  723. package/dist/icons/components/32px/Rutube32px.js +0 -21
  724. package/dist/icons/components/32px/Scan32px.js +0 -21
  725. package/dist/icons/components/32px/Search32px.js +0 -23
  726. package/dist/icons/components/32px/Share32pxF.js +0 -21
  727. package/dist/icons/components/32px/ShopimgCard32px.js +0 -23
  728. package/dist/icons/components/32px/Sort32px.js +0 -21
  729. package/dist/icons/components/32px/Star32px.js +0 -23
  730. package/dist/icons/components/32px/Star32pxF.js +0 -21
  731. package/dist/icons/components/32px/StarHalf32pxF.js +0 -23
  732. package/dist/icons/components/32px/Telegram32pxF.js +0 -21
  733. package/dist/icons/components/32px/TelegramPlane32pxF.js +0 -21
  734. package/dist/icons/components/32px/Timer32px.js +0 -33
  735. package/dist/icons/components/32px/Trash32px.js +0 -43
  736. package/dist/icons/components/32px/TwinArrowLeft32px.js +0 -21
  737. package/dist/icons/components/32px/TwinArrowRight32px.js +0 -21
  738. package/dist/icons/components/32px/USDollar32px.js +0 -24
  739. package/dist/icons/components/32px/Umbrella32px.js +0 -23
  740. package/dist/icons/components/32px/Umbrella32pxF.js +0 -23
  741. package/dist/icons/components/32px/UnionIcon32px.js +0 -23
  742. package/dist/icons/components/32px/User32px.js +0 -32
  743. package/dist/icons/components/32px/User32pxF.js +0 -21
  744. package/dist/icons/components/32px/Users32px.js +0 -23
  745. package/dist/icons/components/32px/Users32pxF.js +0 -24
  746. package/dist/icons/components/32px/VK32pxF.js +0 -23
  747. package/dist/icons/components/32px/Waiting32px.js +0 -23
  748. package/dist/icons/components/32px/Whatsapp32px.js +0 -32
  749. package/dist/icons/components/32px/WriteUs32px.js +0 -26
  750. package/dist/icons/components/32px/Youtube32pxF.js +0 -21
  751. package/dist/icons/components/32px/Yuan32px.js +0 -24
  752. package/dist/icons/components/Mans.js +0 -21
  753. package/dist/icons/components/Step.js +0 -22
  754. package/dist/icons/components/StepXL.js +0 -32
  755. package/dist/icons/components/auto-logo/ACE.js +0 -21
  756. package/dist/icons/components/auto-logo/Alim.js +0 -23
  757. package/dist/icons/components/auto-logo/Amur.js +0 -23
  758. package/dist/icons/components/auto-logo/Ankai.js +0 -23
  759. package/dist/icons/components/auto-logo/ArrowLength.js +0 -21
  760. package/dist/icons/components/auto-logo/Audi.js +0 -20
  761. package/dist/icons/components/auto-logo/BMW.js +0 -41
  762. package/dist/icons/components/auto-logo/BRP.js +0 -32
  763. package/dist/icons/components/auto-logo/Bomag.js +0 -32
  764. package/dist/icons/components/auto-logo/Case.js +0 -23
  765. package/dist/icons/components/auto-logo/Caterpillar.js +0 -37
  766. package/dist/icons/components/auto-logo/ChMZAP.js +0 -46
  767. package/dist/icons/components/auto-logo/ChTZ.js +0 -32
  768. package/dist/icons/components/auto-logo/Changan.js +0 -21
  769. package/dist/icons/components/auto-logo/Cherry.js +0 -32
  770. package/dist/icons/components/auto-logo/Citroen.js +0 -23
  771. package/dist/icons/components/auto-logo/DaewooFull.js +0 -58
  772. package/dist/icons/components/auto-logo/DaewooSymbol.js +0 -51
  773. package/dist/icons/components/auto-logo/Daf.js +0 -23
  774. package/dist/icons/components/auto-logo/Dayun.js +0 -23
  775. package/dist/icons/components/auto-logo/DongFeng.js +0 -23
  776. package/dist/icons/components/auto-logo/Ducati.js +0 -32
  777. package/dist/icons/components/auto-logo/Exeed.js +0 -32
  778. package/dist/icons/components/auto-logo/Faw.js +0 -34
  779. package/dist/icons/components/auto-logo/Fenix.js +0 -114
  780. package/dist/icons/components/auto-logo/Fiat.js +0 -37
  781. package/dist/icons/components/auto-logo/Ford.js +0 -41
  782. package/dist/icons/components/auto-logo/Foton.js +0 -32
  783. package/dist/icons/components/auto-logo/Gac.js +0 -21
  784. package/dist/icons/components/auto-logo/Gaz.js +0 -59
  785. package/dist/icons/components/auto-logo/Geely.js +0 -25
  786. package/dist/icons/components/auto-logo/Genesis.js +0 -30
  787. package/dist/icons/components/auto-logo/Gitte.js +0 -23
  788. package/dist/icons/components/auto-logo/Grunwald.js +0 -23
  789. package/dist/icons/components/auto-logo/HartungFull.js +0 -32
  790. package/dist/icons/components/auto-logo/HartungSymbol.js +0 -32
  791. package/dist/icons/components/auto-logo/Haval.js +0 -23
  792. package/dist/icons/components/auto-logo/Higer.js +0 -23
  793. package/dist/icons/components/auto-logo/Hitachi.js +0 -21
  794. package/dist/icons/components/auto-logo/Honda.js +0 -37
  795. package/dist/icons/components/auto-logo/Hongqi.js +0 -30
  796. package/dist/icons/components/auto-logo/Hongyan.js +0 -23
  797. package/dist/icons/components/auto-logo/Howo.js +0 -46
  798. package/dist/icons/components/auto-logo/Hyundai.js +0 -23
  799. package/dist/icons/components/auto-logo/Infiniti.js +0 -21
  800. package/dist/icons/components/auto-logo/Isuzu.js +0 -23
  801. package/dist/icons/components/auto-logo/Iveco.js +0 -23
  802. package/dist/icons/components/auto-logo/JCB.js +0 -32
  803. package/dist/icons/components/auto-logo/Jac.js +0 -21
  804. package/dist/icons/components/auto-logo/Juterborg.js +0 -57
  805. package/dist/icons/components/auto-logo/KIA.js +0 -23
  806. package/dist/icons/components/auto-logo/Kaiyi.js +0 -23
  807. package/dist/icons/components/auto-logo/Kamaz.js +0 -35
  808. package/dist/icons/components/auto-logo/Kassbohrer.js +0 -23
  809. package/dist/icons/components/auto-logo/Komatsu.js +0 -21
  810. package/dist/icons/components/auto-logo/Ktm.js +0 -21
  811. package/dist/icons/components/auto-logo/LCCE.js +0 -37
  812. package/dist/icons/components/auto-logo/Lada.js +0 -23
  813. package/dist/icons/components/auto-logo/Lexus.js +0 -23
  814. package/dist/icons/components/auto-logo/LiuGong.js +0 -30
  815. package/dist/icons/components/auto-logo/Lonking.js +0 -30
  816. package/dist/icons/components/auto-logo/Lovol.js +0 -21
  817. package/dist/icons/components/auto-logo/MTZBelarus.js +0 -34
  818. package/dist/icons/components/auto-logo/Man.js +0 -21
  819. package/dist/icons/components/auto-logo/Maz.js +0 -32
  820. package/dist/icons/components/auto-logo/MercedesBenz.js +0 -23
  821. package/dist/icons/components/auto-logo/Meusburger.js +0 -23
  822. package/dist/icons/components/auto-logo/Mitsubishi.js +0 -21
  823. package/dist/icons/components/auto-logo/NefAZ.js +0 -30
  824. package/dist/icons/components/auto-logo/NursanTrailer.js +0 -21
  825. package/dist/icons/components/auto-logo/Omoda.js +0 -37
  826. package/dist/icons/components/auto-logo/PSATss.js +0 -37
  827. package/dist/icons/components/auto-logo/Paz.js +0 -23
  828. package/dist/icons/components/auto-logo/Peugeot.js +0 -21
  829. package/dist/icons/components/auto-logo/Raskat.js +0 -37
  830. package/dist/icons/components/auto-logo/Renault.js +0 -30
  831. package/dist/icons/components/auto-logo/RussianCarsEmblem.js +0 -32
  832. package/dist/icons/components/auto-logo/RussianCarsKremlin.js +0 -41
  833. package/dist/icons/components/auto-logo/Sany.js +0 -50
  834. package/dist/icons/components/auto-logo/Scania.js +0 -57
  835. package/dist/icons/components/auto-logo/Schmitz.js +0 -23
  836. package/dist/icons/components/auto-logo/Shacman.js +0 -30
  837. package/dist/icons/components/auto-logo/Shantui.js +0 -21
  838. package/dist/icons/components/auto-logo/Sinanli.js +0 -71
  839. package/dist/icons/components/auto-logo/Sitrak.js +0 -34
  840. package/dist/icons/components/auto-logo/SobolIztechmash.js +0 -60
  841. package/dist/icons/components/auto-logo/Sokol.js +0 -21
  842. package/dist/icons/components/auto-logo/Sollers.js +0 -23
  843. package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +0 -21
  844. package/dist/icons/components/auto-logo/Tonar.js +0 -23
  845. package/dist/icons/components/auto-logo/Toyota.js +0 -21
  846. package/dist/icons/components/auto-logo/Trekol.js +0 -34
  847. package/dist/icons/components/auto-logo/UAT.js +0 -21
  848. package/dist/icons/components/auto-logo/Uaz.js +0 -70
  849. package/dist/icons/components/auto-logo/Ural.js +0 -21
  850. package/dist/icons/components/auto-logo/VIS.js +0 -21
  851. package/dist/icons/components/auto-logo/VKR.js +0 -32
  852. package/dist/icons/components/auto-logo/Volkswagen.js +0 -23
  853. package/dist/icons/components/auto-logo/Volvo.js +0 -21
  854. package/dist/icons/components/auto-logo/Wielton.js +0 -21
  855. package/dist/icons/components/auto-logo/XCMG.js +0 -37
  856. package/dist/icons/components/auto-logo/Yutong.js +0 -72
  857. package/dist/icons/components/auto-logo/Zoomlion.js +0 -21
  858. package/dist/icons/components/car-icons/AllMetal.js +0 -32
  859. package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +0 -32
  860. package/dist/icons/components/car-icons/AsphaltPaver.js +0 -35
  861. package/dist/icons/components/car-icons/Autotower.js +0 -32
  862. package/dist/icons/components/car-icons/Awning.js +0 -33
  863. package/dist/icons/components/car-icons/BackhoeLoader.js +0 -39
  864. package/dist/icons/components/car-icons/Buggy.js +0 -32
  865. package/dist/icons/components/car-icons/Bulldozer.js +0 -34
  866. package/dist/icons/components/car-icons/Bus.js +0 -23
  867. package/dist/icons/components/car-icons/BusBus.js +0 -32
  868. package/dist/icons/components/car-icons/BusMinibus.js +0 -32
  869. package/dist/icons/components/car-icons/BusShiftBuses.js +0 -42
  870. package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +0 -39
  871. package/dist/icons/components/car-icons/CargoAutotower.js +0 -32
  872. package/dist/icons/components/car-icons/CargoAwning.js +0 -39
  873. package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +0 -39
  874. package/dist/icons/components/car-icons/CargoDrillingRig.js +0 -32
  875. package/dist/icons/components/car-icons/CargoDumpTruck.js +0 -39
  876. package/dist/icons/components/car-icons/CargoGarbageTruck.js +0 -39
  877. package/dist/icons/components/car-icons/CargoGrainCarrier.js +0 -39
  878. package/dist/icons/components/car-icons/CargoIsothermal.js +0 -39
  879. package/dist/icons/components/car-icons/CargoOnBoard.js +0 -39
  880. package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +0 -39
  881. package/dist/icons/components/car-icons/CargoPromotionalItem.js +0 -39
  882. package/dist/icons/components/car-icons/CargoSortingTruck.js +0 -39
  883. package/dist/icons/components/car-icons/CargoTankerTruck.js +0 -39
  884. package/dist/icons/components/car-icons/CargoTowTruck.js +0 -32
  885. package/dist/icons/components/car-icons/CargoTruckCrane.js +0 -41
  886. package/dist/icons/components/car-icons/CargoVacuumMachine.js +0 -32
  887. package/dist/icons/components/car-icons/Clearance.js +0 -23
  888. package/dist/icons/components/car-icons/CombineHarvester.js +0 -39
  889. package/dist/icons/components/car-icons/Compartment.js +0 -32
  890. package/dist/icons/components/car-icons/ConcreteMixerTruck.js +0 -39
  891. package/dist/icons/components/car-icons/ConcretePump.js +0 -40
  892. package/dist/icons/components/car-icons/Crossover.js +0 -32
  893. package/dist/icons/components/car-icons/DrillingRigg.js +0 -32
  894. package/dist/icons/components/car-icons/DumpTruck.js +0 -39
  895. package/dist/icons/components/car-icons/Excavator.js +0 -23
  896. package/dist/icons/components/car-icons/ForestPreparationEquipment.js +0 -39
  897. package/dist/icons/components/car-icons/ForkliftTruck.js +0 -32
  898. package/dist/icons/components/car-icons/FrontLoader.js +0 -39
  899. package/dist/icons/components/car-icons/Hatchback.js +0 -32
  900. package/dist/icons/components/car-icons/IceRink.js +0 -34
  901. package/dist/icons/components/car-icons/Isothermal.js +0 -39
  902. package/dist/icons/components/car-icons/Liftback.js +0 -23
  903. package/dist/icons/components/car-icons/MiniEscalator.js +0 -41
  904. package/dist/icons/components/car-icons/MiniLoader.js +0 -32
  905. package/dist/icons/components/car-icons/MiningDumpTruck.js +0 -39
  906. package/dist/icons/components/car-icons/Minitractor.js +0 -32
  907. package/dist/icons/components/car-icons/Minivan.js +0 -32
  908. package/dist/icons/components/car-icons/MotorGrader.js +0 -32
  909. package/dist/icons/components/car-icons/MotorVehiclesBike.js +0 -24
  910. package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +0 -30
  911. package/dist/icons/components/car-icons/OffRoadVehicle.js +0 -32
  912. package/dist/icons/components/car-icons/OnBoard.js +0 -39
  913. package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +0 -39
  914. package/dist/icons/components/car-icons/OnBoardWithCmu.js +0 -39
  915. package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +0 -48
  916. package/dist/icons/components/car-icons/OtherCareerTechniques.js +0 -39
  917. package/dist/icons/components/car-icons/Pickup.js +0 -23
  918. package/dist/icons/components/car-icons/PickupTruck.js +0 -32
  919. package/dist/icons/components/car-icons/PilingInstallation.js +0 -34
  920. package/dist/icons/components/car-icons/PromotionalItem.js +0 -39
  921. package/dist/icons/components/car-icons/PublicUtilityVehicle.js +0 -46
  922. package/dist/icons/components/car-icons/QuarryExcavator.js +0 -26
  923. package/dist/icons/components/car-icons/Scooter.js +0 -30
  924. package/dist/icons/components/car-icons/Sedan.js +0 -32
  925. package/dist/icons/components/car-icons/Snowmobile.js +0 -39
  926. package/dist/icons/components/car-icons/TankerTruck.js +0 -39
  927. package/dist/icons/components/car-icons/TelescopicLoader.js +0 -32
  928. package/dist/icons/components/car-icons/TheLift.js +0 -37
  929. package/dist/icons/components/car-icons/TowTruck.js +0 -32
  930. package/dist/icons/components/car-icons/Tractor.js +0 -32
  931. package/dist/icons/components/car-icons/TractorTruck.js +0 -39
  932. package/dist/icons/components/car-icons/Trailerr.js +0 -23
  933. package/dist/icons/components/car-icons/TrailersCarCarrier.js +0 -41
  934. package/dist/icons/components/car-icons/TrailersCattleTruck.js +0 -32
  935. package/dist/icons/components/car-icons/TrailersContainerShip.js +0 -40
  936. package/dist/icons/components/car-icons/TrailersCurtainSide.js +0 -39
  937. package/dist/icons/components/car-icons/TrailersDumpTruck.js +0 -39
  938. package/dist/icons/components/car-icons/TrailersGrainTruck.js +0 -39
  939. package/dist/icons/components/car-icons/TrailersHeavyTruck.js +0 -39
  940. package/dist/icons/components/car-icons/TrailersIsothermal.js +0 -39
  941. package/dist/icons/components/car-icons/TrailersOther.js +0 -39
  942. package/dist/icons/components/car-icons/TrailersTankerTruck.js +0 -39
  943. package/dist/icons/components/car-icons/TruckCrane.js +0 -41
  944. package/dist/icons/components/car-icons/Universal.js +0 -32
  945. package/dist/icons/components/car-icons/Van.js +0 -23
  946. package/dist/icons/components/car-icons/Ycles.js +0 -42
  947. package/dist/icons/components/car-parameters-icons/Acceleration.js +0 -32
  948. package/dist/icons/components/car-parameters-icons/Berths.js +0 -37
  949. package/dist/icons/components/car-parameters-icons/Bucket.js +0 -21
  950. package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +0 -23
  951. package/dist/icons/components/car-parameters-icons/BucketVolume.js +0 -30
  952. package/dist/icons/components/car-parameters-icons/CabinTurn.js +0 -32
  953. package/dist/icons/components/car-parameters-icons/CarBodySize.js +0 -32
  954. package/dist/icons/components/car-parameters-icons/CarBodyType.js +0 -23
  955. package/dist/icons/components/car-parameters-icons/CarColor.js +0 -32
  956. package/dist/icons/components/car-parameters-icons/Cylinders.js +0 -35
  957. package/dist/icons/components/car-parameters-icons/Dimensions.js +0 -32
  958. package/dist/icons/components/car-parameters-icons/EngineType.js +0 -21
  959. package/dist/icons/components/car-parameters-icons/FuelConsumption.js +0 -21
  960. package/dist/icons/components/car-parameters-icons/GearType.js +0 -24
  961. package/dist/icons/components/car-parameters-icons/LiftingHeight.js +0 -21
  962. package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +0 -23
  963. package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +0 -23
  964. package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +0 -21
  965. package/dist/icons/components/car-parameters-icons/TrailerType.js +0 -30
  966. package/dist/icons/components/car-parameters-icons/UnloadingType.js +0 -30
  967. package/dist/icons/components/car-parameters-icons/Weight.js +0 -34
  968. package/dist/icons/components/car-parameters-icons/WheelDriveType.js +0 -30
  969. package/dist/icons/components/car-parameters-icons/WheelSheme.js +0 -32
  970. package/dist/icons/components/cars-stubus/Bike.js +0 -23
  971. package/dist/icons/components/cars-stubus/Car.js +0 -23
  972. package/dist/icons/components/cars-stubus/Equipment.js +0 -23
  973. package/dist/icons/components/cars-stubus/Truck.js +0 -23
  974. package/dist/icons/components/index.js +0 -584
  975. package/dist/icons/index.d.ts +0 -2
  976. package/dist/icons/index.js +0 -4
  977. package/dist/index-BuVUKy18.js +0 -2658
  978. package/dist/index-DIxK0V-G.js +0 -44
  979. package/dist/index.d.ts +0 -6
  980. package/dist/index.js +0 -188
  981. package/dist/keyboard-B0lm_zyn.js +0 -573
  982. package/dist/label-y3ANLTNC.js +0 -171
  983. package/dist/open-closed-CdldUPoq.js +0 -86
  984. package/dist/portal-WDFNoIMz.js +0 -1908
  985. package/dist/styles.module-BlOA4RBL.js +0 -28
  986. package/dist/types/index.d.ts +0 -1
  987. package/dist/types/index.js +0 -1
  988. package/dist/types/propsWithAs.d.ts +0 -15
  989. package/dist/types/propsWithAs.js +0 -1
  990. package/dist/use-active-press-86hajhdd.js +0 -31
  991. package/dist/use-by-comparator-CVuf9KBq.js +0 -16
  992. package/dist/use-resolve-button-type-DhFdPxnv.js +0 -12
  993. package/dist/utils/UUID4.d.ts +0 -1
  994. package/dist/utils/UUID4.js +0 -9
  995. package/dist/utils/formating/Date.d.ts +0 -2
  996. package/dist/utils/formating/Date.js +0 -24
  997. package/dist/utils/formating/FileSize.d.ts +0 -1
  998. package/dist/utils/formating/FileSize.js +0 -12
  999. package/dist/utils/formating/Month.d.ts +0 -8
  1000. package/dist/utils/formating/Month.js +0 -79
  1001. package/dist/utils/formating/Numbers.d.ts +0 -6
  1002. package/dist/utils/formating/Numbers.js +0 -8
  1003. package/dist/utils/index.d.ts +0 -14
  1004. package/dist/utils/index.js +0 -17
  1005. package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1,980 +0,0 @@
1
- import { n as H, u as Ne, d as xe, o as g, M as _e, W as ue, a as te, H as ce, y as fe, p as Qe, $ as Ve, b as Be, D as Ie, I as Je, s as Ze, c as k } from "./keyboard-B0lm_zyn.js";
2
- import * as se from "react";
3
- import z, { useRef as V, useEffect as We, useState as Te, createContext as ye, useReducer as et, createRef as tt, useCallback as Ee, useMemo as G, useId as he, useContext as Ce, Fragment as He } from "react";
4
- import { flushSync as Z } from "react-dom";
5
- import { w as nt } from "./use-active-press-86hajhdd.js";
6
- import { u as ot } from "./use-by-comparator-CVuf9KBq.js";
7
- import { K as it, a as rt, b as st, T as lt, z as at, j as ut, u as ct, I as we, G as dt } from "./label-y3ANLTNC.js";
8
- import { c as pt, E as mt, R as ft, v as ht, y as vt, n as je, x as bt, a as gt, b as xt, m as Et, f as Ot, d as Pe, t as St, g as It } from "./portal-WDFNoIMz.js";
9
- import { e as Tt } from "./use-resolve-button-type-DhFdPxnv.js";
10
- import { c as yt, i as me, u as Ct, R as wt, H as Mt } from "./open-closed-CdldUPoq.js";
11
- import { f as Rt, _ as $t } from "./focus-management-DE4t_lW3.js";
12
- import { r as _t } from "./bugs-diTMAGNw.js";
13
- function re(e, i, t) {
14
- let n = t.initialDeps ?? [], o;
15
- return () => {
16
- var r, l, s, a;
17
- let c;
18
- t.key && ((r = t.debug) != null && r.call(t)) && (c = Date.now());
19
- const d = e();
20
- if (!(d.length !== n.length || d.some((u, x) => n[x] !== u)))
21
- return o;
22
- n = d;
23
- let b;
24
- if (t.key && ((l = t.debug) != null && l.call(t)) && (b = Date.now()), o = i(...d), t.key && ((s = t.debug) != null && s.call(t))) {
25
- const u = Math.round((Date.now() - c) * 100) / 100, x = Math.round((Date.now() - b) * 100) / 100, O = x / 16, h = (y, $) => {
26
- for (y = String(y); y.length < $; )
27
- y = " " + y;
28
- return y;
29
- };
30
- console.info(
31
- `%c⏱ ${h(x, 5)} /${h(u, 5)} ms`,
32
- `
33
- font-size: .6rem;
34
- font-weight: bold;
35
- color: hsl(${Math.max(
36
- 0,
37
- Math.min(120 - 120 * O, 120)
38
- )}deg 100% 31%);`,
39
- t == null ? void 0 : t.key
40
- );
41
- }
42
- return (a = t == null ? void 0 : t.onChange) == null || a.call(t, o), o;
43
- };
44
- }
45
- function be(e, i) {
46
- if (e === void 0)
47
- throw new Error("Unexpected undefined");
48
- return e;
49
- }
50
- const Pt = (e, i) => Math.abs(e - i) < 1, zt = (e, i, t) => {
51
- let n;
52
- return function(...o) {
53
- e.clearTimeout(n), n = e.setTimeout(() => i.apply(this, o), t);
54
- };
55
- }, Dt = (e) => e, Ft = (e) => {
56
- const i = Math.max(e.startIndex - e.overscan, 0), t = Math.min(e.endIndex + e.overscan, e.count - 1), n = [];
57
- for (let o = i; o <= t; o++)
58
- n.push(o);
59
- return n;
60
- }, kt = (e, i) => {
61
- const t = e.scrollElement;
62
- if (!t)
63
- return;
64
- const n = e.targetWindow;
65
- if (!n)
66
- return;
67
- const o = (l) => {
68
- const { width: s, height: a } = l;
69
- i({ width: Math.round(s), height: Math.round(a) });
70
- };
71
- if (o(t.getBoundingClientRect()), !n.ResizeObserver)
72
- return () => {
73
- };
74
- const r = new n.ResizeObserver((l) => {
75
- const s = l[0];
76
- if (s != null && s.borderBoxSize) {
77
- const a = s.borderBoxSize[0];
78
- if (a) {
79
- o({ width: a.inlineSize, height: a.blockSize });
80
- return;
81
- }
82
- }
83
- o(t.getBoundingClientRect());
84
- });
85
- return r.observe(t, { box: "border-box" }), () => {
86
- r.unobserve(t);
87
- };
88
- }, ze = {
89
- passive: !0
90
- }, At = typeof window > "u" ? !0 : "onscrollend" in window, Lt = (e, i) => {
91
- const t = e.scrollElement;
92
- if (!t)
93
- return;
94
- const n = e.targetWindow;
95
- if (!n)
96
- return;
97
- let o = 0;
98
- const r = At ? () => {
99
- } : zt(
100
- n,
101
- () => {
102
- i(o, !1);
103
- },
104
- e.options.isScrollingResetDelay
105
- ), l = (c) => () => {
106
- o = t[e.options.horizontal ? "scrollLeft" : "scrollTop"], r(), i(o, c);
107
- }, s = l(!0), a = l(!1);
108
- return a(), t.addEventListener("scroll", s, ze), t.addEventListener("scrollend", a, ze), () => {
109
- t.removeEventListener("scroll", s), t.removeEventListener("scrollend", a);
110
- };
111
- }, Nt = (e, i, t) => {
112
- if (i != null && i.borderBoxSize) {
113
- const n = i.borderBoxSize[0];
114
- if (n)
115
- return Math.round(
116
- n[t.options.horizontal ? "inlineSize" : "blockSize"]
117
- );
118
- }
119
- return Math.round(
120
- e.getBoundingClientRect()[t.options.horizontal ? "width" : "height"]
121
- );
122
- }, Vt = (e, {
123
- adjustments: i = 0,
124
- behavior: t
125
- }, n) => {
126
- var o, r;
127
- const l = e + i;
128
- (r = (o = n.scrollElement) == null ? void 0 : o.scrollTo) == null || r.call(o, {
129
- [n.options.horizontal ? "left" : "top"]: l,
130
- behavior: t
131
- });
132
- };
133
- class Bt {
134
- constructor(i) {
135
- this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollToIndexTimeoutId = null, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.observer = /* @__PURE__ */ (() => {
136
- let t = null;
137
- const n = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((o) => {
138
- o.forEach((r) => {
139
- this._measureElement(r.target, r);
140
- });
141
- }));
142
- return {
143
- disconnect: () => {
144
- var o;
145
- return (o = n()) == null ? void 0 : o.disconnect();
146
- },
147
- observe: (o) => {
148
- var r;
149
- return (r = n()) == null ? void 0 : r.observe(o, { box: "border-box" });
150
- },
151
- unobserve: (o) => {
152
- var r;
153
- return (r = n()) == null ? void 0 : r.unobserve(o);
154
- }
155
- };
156
- })(), this.range = null, this.setOptions = (t) => {
157
- Object.entries(t).forEach(([n, o]) => {
158
- typeof o > "u" && delete t[n];
159
- }), this.options = {
160
- debug: !1,
161
- initialOffset: 0,
162
- overscan: 1,
163
- paddingStart: 0,
164
- paddingEnd: 0,
165
- scrollPaddingStart: 0,
166
- scrollPaddingEnd: 0,
167
- horizontal: !1,
168
- getItemKey: Dt,
169
- rangeExtractor: Ft,
170
- onChange: () => {
171
- },
172
- measureElement: Nt,
173
- initialRect: { width: 0, height: 0 },
174
- scrollMargin: 0,
175
- gap: 0,
176
- indexAttribute: "data-index",
177
- initialMeasurementsCache: [],
178
- lanes: 1,
179
- isScrollingResetDelay: 150,
180
- enabled: !0,
181
- ...t
182
- };
183
- }, this.notify = (t, n) => {
184
- var o, r;
185
- const { startIndex: l, endIndex: s } = this.range ?? {
186
- startIndex: void 0,
187
- endIndex: void 0
188
- }, a = this.calculateRange();
189
- (t || l !== (a == null ? void 0 : a.startIndex) || s !== (a == null ? void 0 : a.endIndex)) && ((r = (o = this.options).onChange) == null || r.call(o, this, n));
190
- }, this.cleanup = () => {
191
- this.unsubs.filter(Boolean).forEach((t) => t()), this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.observer.disconnect(), this.elementsCache.clear();
192
- }, this._didMount = () => () => {
193
- this.cleanup();
194
- }, this._willUpdate = () => {
195
- var t;
196
- const n = this.options.enabled ? this.options.getScrollElement() : null;
197
- if (this.scrollElement !== n) {
198
- if (this.cleanup(), !n) {
199
- this.notify(!1, !1);
200
- return;
201
- }
202
- this.scrollElement = n, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((t = this.scrollElement) == null ? void 0 : t.window) ?? null, this._scrollToOffset(this.getScrollOffset(), {
203
- adjustments: void 0,
204
- behavior: void 0
205
- }), this.unsubs.push(
206
- this.options.observeElementRect(this, (o) => {
207
- this.scrollRect = o, this.notify(!1, !1);
208
- })
209
- ), this.unsubs.push(
210
- this.options.observeElementOffset(this, (o, r) => {
211
- this.scrollAdjustments = 0, this.scrollDirection = r ? this.getScrollOffset() < o ? "forward" : "backward" : null, this.scrollOffset = o;
212
- const l = this.isScrolling;
213
- this.isScrolling = r, this.notify(l !== r, r);
214
- })
215
- );
216
- }
217
- }, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getFurthestMeasurement = (t, n) => {
218
- const o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
219
- for (let l = n - 1; l >= 0; l--) {
220
- const s = t[l];
221
- if (o.has(s.lane))
222
- continue;
223
- const a = r.get(
224
- s.lane
225
- );
226
- if (a == null || s.end > a.end ? r.set(s.lane, s) : s.end < a.end && o.set(s.lane, !0), o.size === this.options.lanes)
227
- break;
228
- }
229
- return r.size === this.options.lanes ? Array.from(r.values()).sort((l, s) => l.end === s.end ? l.index - s.index : l.end - s.end)[0] : void 0;
230
- }, this.getMeasurementOptions = re(
231
- () => [
232
- this.options.count,
233
- this.options.paddingStart,
234
- this.options.scrollMargin,
235
- this.options.getItemKey,
236
- this.options.enabled
237
- ],
238
- (t, n, o, r, l) => (this.pendingMeasuredCacheIndexes = [], {
239
- count: t,
240
- paddingStart: n,
241
- scrollMargin: o,
242
- getItemKey: r,
243
- enabled: l
244
- }),
245
- {
246
- key: !1
247
- }
248
- ), this.getMeasurements = re(
249
- () => [this.getMeasurementOptions(), this.itemSizeCache],
250
- ({ count: t, paddingStart: n, scrollMargin: o, getItemKey: r, enabled: l }, s) => {
251
- var a;
252
- if (!l)
253
- return this.measurementsCache = [], this.itemSizeCache.clear(), [];
254
- this.measurementsCache.length === 0 && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((m) => {
255
- this.itemSizeCache.set(m.key, m.size);
256
- }));
257
- const c = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
258
- this.pendingMeasuredCacheIndexes = [];
259
- const d = this.measurementsCache.slice(0, c);
260
- for (let m = c; m < t; m++) {
261
- let b = (a = this.measurementsCache[m]) == null ? void 0 : a.measureElement;
262
- b || (b = (S) => {
263
- const w = r(m), I = this.elementsCache.get(w);
264
- if (!S) {
265
- I && (this.observer.unobserve(I), this.elementsCache.delete(w));
266
- return;
267
- }
268
- I !== S && (I && this.observer.unobserve(I), this.observer.observe(S), this.elementsCache.set(w, S)), S.isConnected && this.resizeItem(
269
- m,
270
- this.options.measureElement(S, void 0, this)
271
- );
272
- });
273
- const u = r(m), x = this.options.lanes === 1 ? d[m - 1] : this.getFurthestMeasurement(d, m), O = x ? x.end + this.options.gap : n + o, h = s.get(u), y = typeof h == "number" ? h : this.options.estimateSize(m), $ = O + y, _ = x ? x.lane : m % this.options.lanes;
274
- d[m] = {
275
- index: m,
276
- start: O,
277
- size: y,
278
- end: $,
279
- key: u,
280
- lane: _,
281
- measureElement: b
282
- };
283
- }
284
- return this.measurementsCache = d, d;
285
- },
286
- {
287
- key: process.env.NODE_ENV !== "production" && "getMeasurements",
288
- debug: () => this.options.debug
289
- }
290
- ), this.calculateRange = re(
291
- () => [this.getMeasurements(), this.getSize(), this.getScrollOffset()],
292
- (t, n, o) => this.range = t.length > 0 && n > 0 ? Wt({
293
- measurements: t,
294
- outerSize: n,
295
- scrollOffset: o
296
- }) : null,
297
- {
298
- key: process.env.NODE_ENV !== "production" && "calculateRange",
299
- debug: () => this.options.debug
300
- }
301
- ), this.getIndexes = re(
302
- () => [
303
- this.options.rangeExtractor,
304
- this.calculateRange(),
305
- this.options.overscan,
306
- this.options.count
307
- ],
308
- (t, n, o, r) => n === null ? [] : t({
309
- startIndex: n.startIndex,
310
- endIndex: n.endIndex,
311
- overscan: o,
312
- count: r
313
- }),
314
- {
315
- key: process.env.NODE_ENV !== "production" && "getIndexes",
316
- debug: () => this.options.debug
317
- }
318
- ), this.indexFromElement = (t) => {
319
- const n = this.options.indexAttribute, o = t.getAttribute(n);
320
- return o ? parseInt(o, 10) : (console.warn(
321
- `Missing attribute name '${n}={index}' on measured element.`
322
- ), -1);
323
- }, this._measureElement = (t, n) => {
324
- const o = this.indexFromElement(t), r = this.getMeasurements()[o];
325
- if (!r || !t.isConnected) {
326
- this.elementsCache.forEach((s, a) => {
327
- s === t && (this.observer.unobserve(t), this.elementsCache.delete(a));
328
- });
329
- return;
330
- }
331
- const l = this.elementsCache.get(r.key);
332
- l !== t && (l && this.observer.unobserve(l), this.observer.observe(t), this.elementsCache.set(r.key, t)), this.resizeItem(o, this.options.measureElement(t, n, this));
333
- }, this.resizeItem = (t, n) => {
334
- const o = this.getMeasurements()[t];
335
- if (!o)
336
- return;
337
- const r = this.itemSizeCache.get(o.key) ?? o.size, l = n - r;
338
- l !== 0 && ((this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(o, l, this) : o.start < this.getScrollOffset() + this.scrollAdjustments) && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", l), this._scrollToOffset(this.getScrollOffset(), {
339
- adjustments: this.scrollAdjustments += l,
340
- behavior: void 0
341
- })), this.pendingMeasuredCacheIndexes.push(o.index), this.itemSizeCache = new Map(this.itemSizeCache.set(o.key, n)), this.notify(!0, !1));
342
- }, this.measureElement = (t) => {
343
- t && this._measureElement(t, void 0);
344
- }, this.getVirtualItems = re(
345
- () => [this.getIndexes(), this.getMeasurements()],
346
- (t, n) => {
347
- const o = [];
348
- for (let r = 0, l = t.length; r < l; r++) {
349
- const s = t[r], a = n[s];
350
- o.push(a);
351
- }
352
- return o;
353
- },
354
- {
355
- key: process.env.NODE_ENV !== "production" && "getIndexes",
356
- debug: () => this.options.debug
357
- }
358
- ), this.getVirtualItemForOffset = (t) => {
359
- const n = this.getMeasurements();
360
- if (n.length !== 0)
361
- return be(
362
- n[Ue(
363
- 0,
364
- n.length - 1,
365
- (o) => be(n[o]).start,
366
- t
367
- )]
368
- );
369
- }, this.getOffsetForAlignment = (t, n) => {
370
- const o = this.getSize(), r = this.getScrollOffset();
371
- n === "auto" && (t <= r ? n = "start" : t >= r + o ? n = "end" : n = "start"), n === "start" ? t = t : n === "end" ? t = t - o : n === "center" && (t = t - o / 2);
372
- const l = this.options.horizontal ? "scrollWidth" : "scrollHeight", a = (this.scrollElement ? "document" in this.scrollElement ? this.scrollElement.document.documentElement[l] : this.scrollElement[l] : 0) - o;
373
- return Math.max(Math.min(a, t), 0);
374
- }, this.getOffsetForIndex = (t, n = "auto") => {
375
- t = Math.max(0, Math.min(t, this.options.count - 1));
376
- const o = this.getMeasurements()[t];
377
- if (!o)
378
- return;
379
- const r = this.getSize(), l = this.getScrollOffset();
380
- if (n === "auto")
381
- if (o.end >= l + r - this.options.scrollPaddingEnd)
382
- n = "end";
383
- else if (o.start <= l + this.options.scrollPaddingStart)
384
- n = "start";
385
- else
386
- return [l, n];
387
- const s = n === "end" ? o.end + this.options.scrollPaddingEnd : o.start - this.options.scrollPaddingStart;
388
- return [this.getOffsetForAlignment(s, n), n];
389
- }, this.isDynamicMode = () => this.elementsCache.size > 0, this.cancelScrollToIndex = () => {
390
- this.scrollToIndexTimeoutId !== null && this.targetWindow && (this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId), this.scrollToIndexTimeoutId = null);
391
- }, this.scrollToOffset = (t, { align: n = "start", behavior: o } = {}) => {
392
- this.cancelScrollToIndex(), o === "smooth" && this.isDynamicMode() && console.warn(
393
- "The `smooth` scroll behavior is not fully supported with dynamic size."
394
- ), this._scrollToOffset(this.getOffsetForAlignment(t, n), {
395
- adjustments: void 0,
396
- behavior: o
397
- });
398
- }, this.scrollToIndex = (t, { align: n = "auto", behavior: o } = {}) => {
399
- t = Math.max(0, Math.min(t, this.options.count - 1)), this.cancelScrollToIndex(), o === "smooth" && this.isDynamicMode() && console.warn(
400
- "The `smooth` scroll behavior is not fully supported with dynamic size."
401
- );
402
- const r = this.getOffsetForIndex(t, n);
403
- if (!r) return;
404
- const [l, s] = r;
405
- this._scrollToOffset(l, { adjustments: void 0, behavior: o }), o !== "smooth" && this.isDynamicMode() && this.targetWindow && (this.scrollToIndexTimeoutId = this.targetWindow.setTimeout(() => {
406
- if (this.scrollToIndexTimeoutId = null, this.elementsCache.has(
407
- this.options.getItemKey(t)
408
- )) {
409
- const [c] = be(
410
- this.getOffsetForIndex(t, s)
411
- );
412
- Pt(c, this.getScrollOffset()) || this.scrollToIndex(t, { align: s, behavior: o });
413
- } else
414
- this.scrollToIndex(t, { align: s, behavior: o });
415
- }));
416
- }, this.scrollBy = (t, { behavior: n } = {}) => {
417
- this.cancelScrollToIndex(), n === "smooth" && this.isDynamicMode() && console.warn(
418
- "The `smooth` scroll behavior is not fully supported with dynamic size."
419
- ), this._scrollToOffset(this.getScrollOffset() + t, {
420
- adjustments: void 0,
421
- behavior: n
422
- });
423
- }, this.getTotalSize = () => {
424
- var t;
425
- const n = this.getMeasurements();
426
- let o;
427
- return n.length === 0 ? o = this.options.paddingStart : o = this.options.lanes === 1 ? ((t = n[n.length - 1]) == null ? void 0 : t.end) ?? 0 : Math.max(
428
- ...n.slice(-this.options.lanes).map((r) => r.end)
429
- ), o - this.options.scrollMargin + this.options.paddingEnd;
430
- }, this._scrollToOffset = (t, {
431
- adjustments: n,
432
- behavior: o
433
- }) => {
434
- this.options.scrollToFn(t, { behavior: o, adjustments: n }, this);
435
- }, this.measure = () => {
436
- var t, n;
437
- this.itemSizeCache = /* @__PURE__ */ new Map(), (n = (t = this.options).onChange) == null || n.call(t, this, !1);
438
- }, this.setOptions(i);
439
- }
440
- }
441
- const Ue = (e, i, t, n) => {
442
- for (; e <= i; ) {
443
- const o = (e + i) / 2 | 0, r = t(o);
444
- if (r < n)
445
- e = o + 1;
446
- else if (r > n)
447
- i = o - 1;
448
- else
449
- return o;
450
- }
451
- return e > 0 ? e - 1 : 0;
452
- };
453
- function Wt({
454
- measurements: e,
455
- outerSize: i,
456
- scrollOffset: t
457
- }) {
458
- const n = e.length - 1, r = Ue(0, n, (s) => e[s].start, t);
459
- let l = r;
460
- for (; l < n && e[l].end < t + i; )
461
- l++;
462
- return { startIndex: r, endIndex: l };
463
- }
464
- const Ht = typeof document < "u" ? se.useLayoutEffect : se.useEffect;
465
- function jt(e) {
466
- const i = se.useReducer(() => ({}), {})[1], t = {
467
- ...e,
468
- onChange: (o, r) => {
469
- var l;
470
- r ? Z(i) : i(), (l = e.onChange) == null || l.call(e, o, r);
471
- }
472
- }, [n] = se.useState(
473
- () => new Bt(t)
474
- );
475
- return n.setOptions(t), se.useEffect(() => n._didMount(), []), Ht(() => n._willUpdate()), n;
476
- }
477
- function Ut(e) {
478
- return jt({
479
- observeElementRect: kt,
480
- observeElementOffset: Lt,
481
- scrollToFn: Vt,
482
- ...e
483
- });
484
- }
485
- let Oe = /* @__PURE__ */ new Map(), le = /* @__PURE__ */ new Map();
486
- function De(e) {
487
- var i;
488
- let t = (i = le.get(e)) != null ? i : 0;
489
- return le.set(e, t + 1), t !== 0 ? () => Fe(e) : (Oe.set(e, { "aria-hidden": e.getAttribute("aria-hidden"), inert: e.inert }), e.setAttribute("aria-hidden", "true"), e.inert = !0, () => Fe(e));
490
- }
491
- function Fe(e) {
492
- var i;
493
- let t = (i = le.get(e)) != null ? i : 1;
494
- if (t === 1 ? le.delete(e) : le.set(e, t - 1), t !== 1) return;
495
- let n = Oe.get(e);
496
- n && (n["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", n["aria-hidden"]), e.inert = n.inert, Oe.delete(e));
497
- }
498
- function Kt(e, { allowed: i, disallowed: t } = {}) {
499
- let n = pt(e, "inert-others");
500
- H(() => {
501
- var o, r;
502
- if (!n) return;
503
- let l = xe();
504
- for (let a of (o = t == null ? void 0 : t()) != null ? o : []) a && l.add(De(a));
505
- let s = (r = i == null ? void 0 : i()) != null ? r : [];
506
- for (let a of s) {
507
- if (!a) continue;
508
- let c = Ne(a);
509
- if (!c) continue;
510
- let d = a.parentElement;
511
- for (; d && d !== c.body; ) {
512
- for (let m of d.children) s.some((b) => m.contains(b)) || l.add(De(m));
513
- d = d.parentElement;
514
- }
515
- }
516
- return l.dispose;
517
- }, [n, i, t]);
518
- }
519
- function Ke(e) {
520
- let i = V({ value: "", selectionStart: null, selectionEnd: null });
521
- return mt(e, "blur", (t) => {
522
- let n = t.target;
523
- n instanceof HTMLInputElement && (i.current = { value: n.value, selectionStart: n.selectionStart, selectionEnd: n.selectionEnd });
524
- }), g(() => {
525
- if (document.activeElement !== e && e instanceof HTMLInputElement && e.isConnected) {
526
- if (e.focus({ preventScroll: !0 }), e.value !== i.current.value) e.setSelectionRange(e.value.length, e.value.length);
527
- else {
528
- let { selectionStart: t, selectionEnd: n } = i.current;
529
- t !== null && n !== null && e.setSelectionRange(t, n);
530
- }
531
- i.current = { value: "", selectionStart: null, selectionEnd: null };
532
- }
533
- });
534
- }
535
- function ke(e) {
536
- return [e.screenX, e.screenY];
537
- }
538
- function Gt() {
539
- let e = V([-1, -1]);
540
- return { wasMoved(i) {
541
- let t = ke(i);
542
- return e.current[0] === t[0] && e.current[1] === t[1] ? !1 : (e.current = t, !0);
543
- }, update(i) {
544
- e.current = ke(i);
545
- } };
546
- }
547
- function qt(e, { container: i, accept: t, walk: n }) {
548
- let o = V(t), r = V(n);
549
- We(() => {
550
- o.current = t, r.current = n;
551
- }, [t, n]), H(() => {
552
- if (!i || !e) return;
553
- let l = Ne(i);
554
- if (!l) return;
555
- let s = o.current, a = r.current, c = Object.assign((m) => s(m), { acceptNode: s }), d = l.createTreeWalker(i, NodeFilter.SHOW_ELEMENT, c, !1);
556
- for (; d.nextNode(); ) a(d.currentNode);
557
- }, [i, e, o, r]);
558
- }
559
- function Ae(e, i) {
560
- let t = V([]), n = g(e);
561
- We(() => {
562
- let o = [...t.current];
563
- for (let [r, l] of i.entries()) if (t.current[r] !== l) {
564
- let s = n(i, o);
565
- return t.current = i, s;
566
- }
567
- }, [n, ...i]);
568
- }
569
- function Yt({ children: e, freeze: i }) {
570
- let t = Se(i, e);
571
- return z.createElement(z.Fragment, null, t);
572
- }
573
- function Se(e, i) {
574
- let [t, n] = Te(i);
575
- return !e && t !== i && n(i), e ? t : i;
576
- }
577
- function Xt(e) {
578
- function i() {
579
- document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", i));
580
- }
581
- typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", i), i());
582
- }
583
- let J = [];
584
- Xt(() => {
585
- function e(i) {
586
- if (!(i.target instanceof HTMLElement) || i.target === document.body || J[0] === i.target) return;
587
- let t = i.target;
588
- t = t.closest(Rt), J.unshift(t ?? i.target), J = J.filter((n) => n != null && n.isConnected), J.splice(10);
589
- }
590
- window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
591
- });
592
- function Qt(e) {
593
- throw new Error("Unexpected object: " + e);
594
- }
595
- var M = ((e) => (e[e.First = 0] = "First", e[e.Previous = 1] = "Previous", e[e.Next = 2] = "Next", e[e.Last = 3] = "Last", e[e.Specific = 4] = "Specific", e[e.Nothing = 5] = "Nothing", e))(M || {});
596
- function Le(e, i) {
597
- let t = i.resolveItems();
598
- if (t.length <= 0) return null;
599
- let n = i.resolveActiveIndex(), o = n ?? -1;
600
- switch (e.focus) {
601
- case 0: {
602
- for (let r = 0; r < t.length; ++r) if (!i.resolveDisabled(t[r], r, t)) return r;
603
- return n;
604
- }
605
- case 1: {
606
- o === -1 && (o = t.length);
607
- for (let r = o - 1; r >= 0; --r) if (!i.resolveDisabled(t[r], r, t)) return r;
608
- return n;
609
- }
610
- case 2: {
611
- for (let r = o + 1; r < t.length; ++r) if (!i.resolveDisabled(t[r], r, t)) return r;
612
- return n;
613
- }
614
- case 3: {
615
- for (let r = t.length - 1; r >= 0; --r) if (!i.resolveDisabled(t[r], r, t)) return r;
616
- return n;
617
- }
618
- case 4: {
619
- for (let r = 0; r < t.length; ++r) if (i.resolveId(t[r], r, t) === e.id) return r;
620
- return n;
621
- }
622
- case 5:
623
- return null;
624
- default:
625
- Qt(e);
626
- }
627
- }
628
- var Me = ((e) => (e[e.Left = 0] = "Left", e[e.Right = 2] = "Right", e))(Me || {}), Jt = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Jt || {}), Zt = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Zt || {}), en = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Focus = 1] = "Focus", e[e.Other = 2] = "Other", e))(en || {}), tn = ((e) => (e[e.OpenCombobox = 0] = "OpenCombobox", e[e.CloseCombobox = 1] = "CloseCombobox", e[e.GoToOption = 2] = "GoToOption", e[e.SetTyping = 3] = "SetTyping", e[e.RegisterOption = 4] = "RegisterOption", e[e.UnregisterOption = 5] = "UnregisterOption", e[e.SetActivationTrigger = 6] = "SetActivationTrigger", e[e.UpdateVirtualConfiguration = 7] = "UpdateVirtualConfiguration", e[e.SetInputElement = 8] = "SetInputElement", e[e.SetButtonElement = 9] = "SetButtonElement", e[e.SetOptionsElement = 10] = "SetOptionsElement", e))(tn || {});
629
- function ge(e, i = (t) => t) {
630
- let t = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = i(e.options.slice()), o = n.length > 0 && n[0].dataRef.current.order !== null ? n.sort((l, s) => l.dataRef.current.order - s.dataRef.current.order) : $t(n, (l) => l.dataRef.current.domRef.current), r = t ? o.indexOf(t) : null;
631
- return r === -1 && (r = null), { options: o, activeOptionIndex: r };
632
- }
633
- let nn = { 1(e) {
634
- var i;
635
- return (i = e.dataRef.current) != null && i.disabled || e.comboboxState === 1 ? e : { ...e, activeOptionIndex: null, comboboxState: 1, isTyping: !1, activationTrigger: 2, __demoMode: !1 };
636
- }, 0(e) {
637
- var i, t;
638
- if ((i = e.dataRef.current) != null && i.disabled || e.comboboxState === 0) return e;
639
- if ((t = e.dataRef.current) != null && t.value) {
640
- let n = e.dataRef.current.calculateIndex(e.dataRef.current.value);
641
- if (n !== -1) return { ...e, activeOptionIndex: n, comboboxState: 0, __demoMode: !1 };
642
- }
643
- return { ...e, comboboxState: 0, __demoMode: !1 };
644
- }, 3(e, i) {
645
- return e.isTyping === i.isTyping ? e : { ...e, isTyping: i.isTyping };
646
- }, 2(e, i) {
647
- var t, n, o, r;
648
- if ((t = e.dataRef.current) != null && t.disabled || e.optionsElement && !((n = e.dataRef.current) != null && n.optionsPropsRef.current.static) && e.comboboxState === 1) return e;
649
- if (e.virtual) {
650
- let { options: c, disabled: d } = e.virtual, m = i.focus === M.Specific ? i.idx : Le(i, { resolveItems: () => c, resolveActiveIndex: () => {
651
- var u, x;
652
- return (x = (u = e.activeOptionIndex) != null ? u : c.findIndex((O) => !d(O))) != null ? x : null;
653
- }, resolveDisabled: d, resolveId() {
654
- throw new Error("Function not implemented.");
655
- } }), b = (o = i.trigger) != null ? o : 2;
656
- return e.activeOptionIndex === m && e.activationTrigger === b ? e : { ...e, activeOptionIndex: m, activationTrigger: b, isTyping: !1, __demoMode: !1 };
657
- }
658
- let l = ge(e);
659
- if (l.activeOptionIndex === null) {
660
- let c = l.options.findIndex((d) => !d.dataRef.current.disabled);
661
- c !== -1 && (l.activeOptionIndex = c);
662
- }
663
- let s = i.focus === M.Specific ? i.idx : Le(i, { resolveItems: () => l.options, resolveActiveIndex: () => l.activeOptionIndex, resolveId: (c) => c.id, resolveDisabled: (c) => c.dataRef.current.disabled }), a = (r = i.trigger) != null ? r : 2;
664
- return e.activeOptionIndex === s && e.activationTrigger === a ? e : { ...e, ...l, isTyping: !1, activeOptionIndex: s, activationTrigger: a, __demoMode: !1 };
665
- }, 4: (e, i) => {
666
- var t, n, o;
667
- if ((t = e.dataRef.current) != null && t.virtual) return { ...e, options: [...e.options, i.payload] };
668
- let r = i.payload, l = ge(e, (a) => (a.push(r), a));
669
- e.activeOptionIndex === null && (n = e.dataRef.current) != null && n.isSelected(i.payload.dataRef.current.value) && (l.activeOptionIndex = l.options.indexOf(r));
670
- let s = { ...e, ...l, activationTrigger: 2 };
671
- return (o = e.dataRef.current) != null && o.__demoMode && e.dataRef.current.value === void 0 && (s.activeOptionIndex = 0), s;
672
- }, 5: (e, i) => {
673
- var t;
674
- if ((t = e.dataRef.current) != null && t.virtual) return { ...e, options: e.options.filter((o) => o.id !== i.id) };
675
- let n = ge(e, (o) => {
676
- let r = o.findIndex((l) => l.id === i.id);
677
- return r !== -1 && o.splice(r, 1), o;
678
- });
679
- return { ...e, ...n, activationTrigger: 2 };
680
- }, 6: (e, i) => e.activationTrigger === i.trigger ? e : { ...e, activationTrigger: i.trigger }, 7: (e, i) => {
681
- var t, n;
682
- if (e.virtual === null) return { ...e, virtual: { options: i.options, disabled: (t = i.disabled) != null ? t : () => !1 } };
683
- if (e.virtual.options === i.options && e.virtual.disabled === i.disabled) return e;
684
- let o = e.activeOptionIndex;
685
- if (e.activeOptionIndex !== null) {
686
- let r = i.options.indexOf(e.virtual.options[e.activeOptionIndex]);
687
- r !== -1 ? o = r : o = null;
688
- }
689
- return { ...e, activeOptionIndex: o, virtual: { options: i.options, disabled: (n = i.disabled) != null ? n : () => !1 } };
690
- }, 8: (e, i) => e.inputElement === i.element ? e : { ...e, inputElement: i.element }, 9: (e, i) => e.buttonElement === i.element ? e : { ...e, buttonElement: i.element }, 10: (e, i) => e.optionsElement === i.element ? e : { ...e, optionsElement: i.element } }, Re = ye(null);
691
- Re.displayName = "ComboboxActionsContext";
692
- function de(e) {
693
- let i = Ce(Re);
694
- if (i === null) {
695
- let t = new Error(`<${e} /> is missing a parent <Combobox /> component.`);
696
- throw Error.captureStackTrace && Error.captureStackTrace(t, de), t;
697
- }
698
- return i;
699
- }
700
- let Ge = ye(null);
701
- function on(e) {
702
- let i = ne("VirtualProvider"), { options: t } = i.virtual, [n, o] = G(() => {
703
- let c = i.optionsElement;
704
- if (!c) return [0, 0];
705
- let d = window.getComputedStyle(c);
706
- return [parseFloat(d.paddingBlockStart || d.paddingTop), parseFloat(d.paddingBlockEnd || d.paddingBottom)];
707
- }, [i.optionsElement]), r = Ut({ enabled: t.length !== 0, scrollPaddingStart: n, scrollPaddingEnd: o, count: t.length, estimateSize() {
708
- return 40;
709
- }, getScrollElement() {
710
- return i.optionsElement;
711
- }, overscan: 12 }), [l, s] = Te(0);
712
- H(() => {
713
- s((c) => c + 1);
714
- }, [t]);
715
- let a = r.getVirtualItems();
716
- return a.length === 0 ? null : z.createElement(Ge.Provider, { value: r }, z.createElement("div", { style: { position: "relative", width: "100%", height: `${r.getTotalSize()}px` }, ref: (c) => {
717
- if (c) {
718
- if (typeof process < "u" && process.env.JEST_WORKER_ID !== void 0 || i.activationTrigger === 0) return;
719
- i.activeOptionIndex !== null && t.length > i.activeOptionIndex && r.scrollToIndex(i.activeOptionIndex);
720
- }
721
- } }, a.map((c) => {
722
- var d;
723
- return z.createElement(He, { key: c.key }, z.cloneElement((d = e.children) == null ? void 0 : d.call(e, { ...e.slot, option: t[c.index] }), { key: `${l}-${c.key}`, "data-index": c.index, "aria-setsize": t.length, "aria-posinset": c.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${c.start}px)`, overflowAnchor: "none" } }));
724
- })));
725
- }
726
- let ae = ye(null);
727
- ae.displayName = "ComboboxDataContext";
728
- function ne(e) {
729
- let i = Ce(ae);
730
- if (i === null) {
731
- let t = new Error(`<${e} /> is missing a parent <Combobox /> component.`);
732
- throw Error.captureStackTrace && Error.captureStackTrace(t, ne), t;
733
- }
734
- return i;
735
- }
736
- function rn(e, i) {
737
- return te(i.type, nn, e, i);
738
- }
739
- let sn = He;
740
- function ln(e, i) {
741
- var t, n;
742
- let o = rt(), { value: r, defaultValue: l, onChange: s, form: a, name: c, by: d, disabled: m = o || !1, onClose: b, __demoMode: u = !1, multiple: x = !1, immediate: O = !1, virtual: h = null, nullable: y, ...$ } = e, _ = st(l), [S = x ? [] : void 0, w] = lt(r, s, _), [I, C] = et(rn, { dataRef: tt(), comboboxState: u ? 0 : 1, isTyping: !1, options: [], virtual: h ? { options: h.options, disabled: (t = h.disabled) != null ? t : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: u }), E = V(!1), j = V({ static: !1, hold: !1 }), A = ot(d), U = g((v) => h ? d === null ? h.options.indexOf(v) : h.options.findIndex((T) => A(T, v)) : I.options.findIndex((T) => A(T.dataRef.current.value, v))), q = Ee((v) => te(p.mode, { 1: () => S.some((T) => A(T, v)), 0: () => A(S, v) }), [S]), K = g((v) => I.activeOptionIndex === U(v)), p = G(() => ({ ...I, immediate: O, optionsPropsRef: j, value: S, defaultValue: _, disabled: m, mode: x ? 1 : 0, virtual: h ? I.virtual : null, get activeOptionIndex() {
743
- if (E.current && I.activeOptionIndex === null && (h ? h.options.length > 0 : I.options.length > 0)) {
744
- if (h) {
745
- let T = h.options.findIndex((W) => {
746
- var pe, $e;
747
- return !(($e = (pe = h.disabled) == null ? void 0 : pe.call(h, W)) != null && $e);
748
- });
749
- if (T !== -1) return T;
750
- }
751
- let v = I.options.findIndex((T) => !T.dataRef.current.disabled);
752
- if (v !== -1) return v;
753
- }
754
- return I.activeOptionIndex;
755
- }, calculateIndex: U, compare: A, isSelected: q, isActive: K }), [S, _, m, x, u, I, h]);
756
- H(() => {
757
- var v;
758
- h && C({ type: 7, options: h.options, disabled: (v = h.disabled) != null ? v : null });
759
- }, [h, h == null ? void 0 : h.options, h == null ? void 0 : h.disabled]), H(() => {
760
- I.dataRef.current = p;
761
- }, [p]);
762
- let B = p.comboboxState === 0;
763
- ft(B, [p.buttonElement, p.inputElement, p.optionsElement], () => F.closeCombobox());
764
- let oe = G(() => {
765
- var v, T, W;
766
- return { open: p.comboboxState === 0, disabled: m, activeIndex: p.activeOptionIndex, activeOption: p.activeOptionIndex === null ? null : p.virtual ? p.virtual.options[(v = p.activeOptionIndex) != null ? v : 0] : (W = (T = p.options[p.activeOptionIndex]) == null ? void 0 : T.dataRef.current.value) != null ? W : null, value: S };
767
- }, [p, m, S]), Y = g(() => {
768
- if (p.activeOptionIndex !== null) {
769
- if (F.setIsTyping(!1), p.virtual) f(p.virtual.options[p.activeOptionIndex]);
770
- else {
771
- let { dataRef: v } = p.options[p.activeOptionIndex];
772
- f(v.current.value);
773
- }
774
- F.goToOption(M.Specific, p.activeOptionIndex);
775
- }
776
- }), X = g(() => {
777
- C({ type: 0 }), E.current = !0;
778
- }), ee = g(() => {
779
- C({ type: 1 }), E.current = !1, b == null || b();
780
- }), ie = g((v) => {
781
- C({ type: 3, isTyping: v });
782
- }), D = g((v, T, W) => (E.current = !1, v === M.Specific ? C({ type: 2, focus: M.Specific, idx: T, trigger: W }) : C({ type: 2, focus: v, trigger: W }))), ve = g((v, T) => (C({ type: 4, payload: { id: v, dataRef: T } }), () => {
783
- p.isActive(T.current.value) && (E.current = !0), C({ type: 5, id: v });
784
- })), f = g((v) => te(p.mode, { 0() {
785
- return w == null ? void 0 : w(v);
786
- }, 1() {
787
- let T = p.value.slice(), W = T.findIndex((pe) => A(pe, v));
788
- return W === -1 ? T.push(v) : T.splice(W, 1), w == null ? void 0 : w(T);
789
- } })), L = g((v) => {
790
- C({ type: 6, trigger: v });
791
- }), P = g((v) => {
792
- C({ type: 8, element: v });
793
- }), N = g((v) => {
794
- C({ type: 9, element: v });
795
- }), R = g((v) => {
796
- C({ type: 10, element: v });
797
- }), F = G(() => ({ onChange: f, registerOption: ve, goToOption: D, setIsTyping: ie, closeCombobox: ee, openCombobox: X, setActivationTrigger: L, selectActiveOption: Y, setInputElement: P, setButtonElement: N, setOptionsElement: R }), []), [Q, qe] = at(), Ye = i === null ? {} : { ref: i }, Xe = Ee(() => {
798
- if (_ !== void 0) return w == null ? void 0 : w(_);
799
- }, [w, _]);
800
- return z.createElement(qe, { value: Q, props: { htmlFor: (n = p.inputElement) == null ? void 0 : n.id }, slot: { open: p.comboboxState === 0, disabled: m } }, z.createElement(ht, null, z.createElement(Re.Provider, { value: F }, z.createElement(ae.Provider, { value: p }, z.createElement(yt, { value: te(p.comboboxState, { 0: me.Open, 1: me.Closed }) }, c != null && z.createElement(ut, { disabled: m, data: S != null ? { [c]: S } : {}, form: a, onReset: Xe }), ce({ ourProps: Ye, theirProps: $, slot: oe, defaultTag: sn, name: "Combobox" }))))));
801
- }
802
- let an = "input";
803
- function un(e, i) {
804
- var t, n, o, r, l;
805
- let s = ne("Combobox.Input"), a = de("Combobox.Input"), c = he(), d = ct(), { id: m = d || `headlessui-combobox-input-${c}`, onChange: b, displayValue: u, disabled: x = s.disabled || !1, autoFocus: O = !1, type: h = "text", ...y } = e, $ = V(null), _ = fe($, i, vt(), a.setInputElement), S = je(s.inputElement), w = Qe(), I = g(() => {
806
- a.onChange(null), s.optionsElement && (s.optionsElement.scrollTop = 0), a.goToOption(M.Nothing);
807
- }), C = G(() => {
808
- var f;
809
- return typeof u == "function" && s.value !== void 0 ? (f = u(s.value)) != null ? f : "" : typeof s.value == "string" ? s.value : "";
810
- }, [s.value, u]);
811
- Ae(([f, L], [P, N]) => {
812
- if (s.isTyping) return;
813
- let R = $.current;
814
- R && ((N === 0 && L === 1 || f !== P) && (R.value = f), requestAnimationFrame(() => {
815
- if (s.isTyping || !R || (S == null ? void 0 : S.activeElement) !== R) return;
816
- let { selectionStart: F, selectionEnd: Q } = R;
817
- Math.abs((Q ?? 0) - (F ?? 0)) === 0 && F === 0 && R.setSelectionRange(R.value.length, R.value.length);
818
- }));
819
- }, [C, s.comboboxState, S, s.isTyping]), Ae(([f], [L]) => {
820
- if (f === 0 && L === 1) {
821
- if (s.isTyping) return;
822
- let P = $.current;
823
- if (!P) return;
824
- let N = P.value, { selectionStart: R, selectionEnd: F, selectionDirection: Q } = P;
825
- P.value = "", P.value = N, Q !== null ? P.setSelectionRange(R, F, Q) : P.setSelectionRange(R, F);
826
- }
827
- }, [s.comboboxState]);
828
- let E = V(!1), j = g(() => {
829
- E.current = !0;
830
- }), A = g(() => {
831
- w.nextFrame(() => {
832
- E.current = !1;
833
- });
834
- }), U = g((f) => {
835
- switch (a.setIsTyping(!0), f.key) {
836
- case k.Enter:
837
- if (s.comboboxState !== 0 || E.current) return;
838
- if (f.preventDefault(), f.stopPropagation(), s.activeOptionIndex === null) {
839
- a.closeCombobox();
840
- return;
841
- }
842
- a.selectActiveOption(), s.mode === 0 && a.closeCombobox();
843
- break;
844
- case k.ArrowDown:
845
- return f.preventDefault(), f.stopPropagation(), te(s.comboboxState, { 0: () => a.goToOption(M.Next), 1: () => a.openCombobox() });
846
- case k.ArrowUp:
847
- return f.preventDefault(), f.stopPropagation(), te(s.comboboxState, { 0: () => a.goToOption(M.Previous), 1: () => {
848
- Z(() => a.openCombobox()), s.value || a.goToOption(M.Last);
849
- } });
850
- case k.Home:
851
- if (f.shiftKey) break;
852
- return f.preventDefault(), f.stopPropagation(), a.goToOption(M.First);
853
- case k.PageUp:
854
- return f.preventDefault(), f.stopPropagation(), a.goToOption(M.First);
855
- case k.End:
856
- if (f.shiftKey) break;
857
- return f.preventDefault(), f.stopPropagation(), a.goToOption(M.Last);
858
- case k.PageDown:
859
- return f.preventDefault(), f.stopPropagation(), a.goToOption(M.Last);
860
- case k.Escape:
861
- return s.comboboxState !== 0 ? void 0 : (f.preventDefault(), s.optionsElement && !s.optionsPropsRef.current.static && f.stopPropagation(), s.mode === 0 && s.value === null && I(), a.closeCombobox());
862
- case k.Tab:
863
- if (s.comboboxState !== 0) return;
864
- s.mode === 0 && s.activationTrigger !== 1 && a.selectActiveOption(), a.closeCombobox();
865
- break;
866
- }
867
- }), q = g((f) => {
868
- b == null || b(f), s.mode === 0 && f.target.value === "" && I(), a.openCombobox();
869
- }), K = g((f) => {
870
- var L, P, N;
871
- let R = (L = f.relatedTarget) != null ? L : J.find((F) => F !== f.currentTarget);
872
- if (!((P = s.optionsElement) != null && P.contains(R)) && !((N = s.buttonElement) != null && N.contains(R)) && s.comboboxState === 0) return f.preventDefault(), s.mode === 0 && s.value === null && I(), a.closeCombobox();
873
- }), p = g((f) => {
874
- var L, P, N;
875
- let R = (L = f.relatedTarget) != null ? L : J.find((F) => F !== f.currentTarget);
876
- (P = s.buttonElement) != null && P.contains(R) || (N = s.optionsElement) != null && N.contains(R) || s.disabled || s.immediate && s.comboboxState !== 0 && w.microTask(() => {
877
- Z(() => a.openCombobox()), a.setActivationTrigger(1);
878
- });
879
- }), B = we(), oe = dt(), { isFocused: Y, focusProps: X } = Ve({ autoFocus: O }), { isHovered: ee, hoverProps: ie } = Be({ isDisabled: x }), D = G(() => ({ open: s.comboboxState === 0, disabled: x, hover: ee, focus: Y, autofocus: O }), [s, ee, Y, O, x]), ve = Ie({ ref: _, id: m, role: "combobox", type: h, "aria-controls": (t = s.optionsElement) == null ? void 0 : t.id, "aria-expanded": s.comboboxState === 0, "aria-activedescendant": s.activeOptionIndex === null ? void 0 : s.virtual ? (n = s.options.find((f) => !f.dataRef.current.disabled && s.compare(f.dataRef.current.value, s.virtual.options[s.activeOptionIndex]))) == null ? void 0 : n.id : (o = s.options[s.activeOptionIndex]) == null ? void 0 : o.id, "aria-labelledby": B, "aria-describedby": oe, "aria-autocomplete": "list", defaultValue: (l = (r = e.defaultValue) != null ? r : s.defaultValue !== void 0 ? u == null ? void 0 : u(s.defaultValue) : null) != null ? l : s.defaultValue, disabled: x || void 0, autoFocus: O, onCompositionStart: j, onCompositionEnd: A, onKeyDown: U, onChange: q, onFocus: p, onBlur: K }, X, ie);
880
- return ce({ ourProps: ve, theirProps: y, slot: D, defaultTag: an, name: "Combobox.Input" });
881
- }
882
- let cn = "button";
883
- function dn(e, i) {
884
- var t;
885
- let n = ne("Combobox.Button"), o = de("Combobox.Button"), r = fe(i, o.setButtonElement), l = Je(), s = he(), { id: a = `headlessui-combobox-button-${s}`, disabled: c = n.disabled || !1, autoFocus: d = !1, ...m } = e, b = Ke(n.inputElement), u = g((E) => {
886
- switch (E.key) {
887
- case k.Space:
888
- case k.Enter:
889
- E.preventDefault(), E.stopPropagation(), n.comboboxState === 1 && Z(() => o.openCombobox()), b();
890
- return;
891
- case k.ArrowDown:
892
- E.preventDefault(), E.stopPropagation(), n.comboboxState === 1 && (Z(() => o.openCombobox()), n.value || o.goToOption(M.First)), b();
893
- return;
894
- case k.ArrowUp:
895
- E.preventDefault(), E.stopPropagation(), n.comboboxState === 1 && (Z(() => o.openCombobox()), n.value || o.goToOption(M.Last)), b();
896
- return;
897
- case k.Escape:
898
- if (n.comboboxState !== 0) return;
899
- E.preventDefault(), n.optionsElement && !n.optionsPropsRef.current.static && E.stopPropagation(), Z(() => o.closeCombobox()), b();
900
- return;
901
- default:
902
- return;
903
- }
904
- }), x = g((E) => {
905
- E.preventDefault(), !_t(E.currentTarget) && (E.button === Me.Left && (n.comboboxState === 0 ? o.closeCombobox() : o.openCombobox()), b());
906
- }), O = we([a]), { isFocusVisible: h, focusProps: y } = Ve({ autoFocus: d }), { isHovered: $, hoverProps: _ } = Be({ isDisabled: c }), { pressed: S, pressProps: w } = nt({ disabled: c }), I = G(() => ({ open: n.comboboxState === 0, active: S || n.comboboxState === 0, disabled: c, value: n.value, hover: $, focus: h }), [n, $, h, S, c]), C = Ie({ ref: r, id: a, type: Tt(e, n.buttonElement), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": (t = n.optionsElement) == null ? void 0 : t.id, "aria-expanded": n.comboboxState === 0, "aria-labelledby": O, disabled: c || void 0, autoFocus: d, onMouseDown: x, onKeyDown: u }, y, _, w);
907
- return ce({ mergeRefs: l, ourProps: C, theirProps: m, slot: I, defaultTag: cn, name: "Combobox.Button" });
908
- }
909
- let pn = "div", mn = _e.RenderStrategy | _e.Static;
910
- function fn(e, i) {
911
- var t, n, o;
912
- let r = he(), { id: l = `headlessui-combobox-options-${r}`, hold: s = !1, anchor: a, portal: c = !1, modal: d = !0, transition: m = !1, ...b } = e, u = ne("Combobox.Options"), x = de("Combobox.Options"), O = bt(a);
913
- O && (c = !0);
914
- let [h, y] = gt(O), [$, _] = Te(null), S = xt(), w = fe(i, O ? h : null, x.setOptionsElement, _), I = je(u.optionsElement), C = Ct(), [E, j] = wt(m, $, C !== null ? (C & me.Open) === me.Open : u.comboboxState === 0);
915
- Et(E, u.inputElement, x.closeCombobox);
916
- let A = u.__demoMode ? !1 : d && u.comboboxState === 0;
917
- Ot(A, I);
918
- let U = u.__demoMode ? !1 : d && u.comboboxState === 0;
919
- Kt(U, { allowed: Ee(() => [u.inputElement, u.buttonElement, u.optionsElement], [u.inputElement, u.buttonElement, u.optionsElement]) }), H(() => {
920
- var D;
921
- u.optionsPropsRef.current.static = (D = e.static) != null ? D : !1;
922
- }, [u.optionsPropsRef, e.static]), H(() => {
923
- u.optionsPropsRef.current.hold = s;
924
- }, [u.optionsPropsRef, s]), qt(u.comboboxState === 0, { container: u.optionsElement, accept(D) {
925
- return D.getAttribute("role") === "option" ? NodeFilter.FILTER_REJECT : D.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
926
- }, walk(D) {
927
- D.setAttribute("role", "none");
928
- } });
929
- let q = we([(t = u.buttonElement) == null ? void 0 : t.id]), K = G(() => ({ open: u.comboboxState === 0, option: void 0 }), [u.comboboxState]), p = g(() => {
930
- x.setActivationTrigger(0);
931
- }), B = g((D) => {
932
- D.preventDefault(), x.setActivationTrigger(0);
933
- }), oe = Ie(O ? S() : {}, { "aria-labelledby": q, role: "listbox", "aria-multiselectable": u.mode === 1 ? !0 : void 0, id: l, ref: w, style: { ...b.style, ...y, "--input-width": Pe(u.inputElement, !0).width, "--button-width": Pe(u.buttonElement, !0).width }, onWheel: u.activationTrigger === 0 ? void 0 : p, onMouseDown: B, ...Mt(j) }), Y = E && u.comboboxState === 1, X = Se(Y, (n = u.virtual) == null ? void 0 : n.options), ee = Se(Y, u.value), ie = g((D) => u.compare(ee, D));
934
- if (u.virtual) {
935
- if (X === void 0) throw new Error("Missing `options` in virtual mode");
936
- Object.assign(b, { children: z.createElement(ae.Provider, { value: X !== u.virtual.options ? { ...u, virtual: { ...u.virtual, options: X } } : u }, z.createElement(on, { slot: K }, b.children)) });
937
- }
938
- return z.createElement(St, { enabled: c ? e.static || E : !1 }, z.createElement(ae.Provider, { value: u.mode === 1 ? u : { ...u, isSelected: ie } }, ce({ ourProps: oe, theirProps: { ...b, children: z.createElement(Yt, { freeze: Y }, typeof b.children == "function" ? (o = b.children) == null ? void 0 : o.call(b, K) : b.children) }, slot: K, defaultTag: pn, features: mn, visible: E, name: "Combobox.Options" })));
939
- }
940
- let hn = "div";
941
- function vn(e, i) {
942
- var t, n, o, r;
943
- let l = ne("Combobox.Option"), s = de("Combobox.Option"), a = he(), { id: c = `headlessui-combobox-option-${a}`, value: d, disabled: m = (o = (n = (t = l.virtual) == null ? void 0 : t.disabled) == null ? void 0 : n.call(t, d)) != null ? o : !1, order: b = null, ...u } = e, x = Ke(l.inputElement), O = l.virtual ? l.activeOptionIndex === l.calculateIndex(d) : l.activeOptionIndex === null ? !1 : ((r = l.options[l.activeOptionIndex]) == null ? void 0 : r.id) === c, h = l.isSelected(d), y = V(null), $ = Ze({ disabled: m, value: d, domRef: y, order: b }), _ = Ce(Ge), S = fe(i, y, _ ? _.measureElement : null), w = g(() => {
944
- s.setIsTyping(!1), s.onChange(d);
945
- });
946
- H(() => s.registerOption(c, $), [$, c]);
947
- let I = V(!(l.virtual || l.__demoMode));
948
- H(() => {
949
- if (!l.virtual && !l.__demoMode) return xe().requestAnimationFrame(() => {
950
- I.current = !0;
951
- });
952
- }, [l.virtual, l.__demoMode]), H(() => {
953
- if (I.current && l.comboboxState === 0 && O && l.activationTrigger !== 0) return xe().requestAnimationFrame(() => {
954
- var p, B;
955
- (B = (p = y.current) == null ? void 0 : p.scrollIntoView) == null || B.call(p, { block: "nearest" });
956
- });
957
- }, [y, O, l.comboboxState, l.activationTrigger, l.activeOptionIndex]);
958
- let C = g((p) => {
959
- p.preventDefault(), p.button === Me.Left && (m || (w(), It() || requestAnimationFrame(() => x()), l.mode === 0 && s.closeCombobox()));
960
- }), E = g(() => {
961
- if (m) return s.goToOption(M.Nothing);
962
- let p = l.calculateIndex(d);
963
- s.goToOption(M.Specific, p);
964
- }), j = Gt(), A = g((p) => j.update(p)), U = g((p) => {
965
- if (!j.wasMoved(p) || m || O) return;
966
- let B = l.calculateIndex(d);
967
- s.goToOption(M.Specific, B, 0);
968
- }), q = g((p) => {
969
- j.wasMoved(p) && (m || O && (l.optionsPropsRef.current.hold || s.goToOption(M.Nothing)));
970
- }), K = G(() => ({ active: O, focus: O, selected: h, disabled: m }), [O, h, m]);
971
- return ce({ ourProps: { id: c, ref: S, role: "option", tabIndex: m === !0 ? void 0 : -1, "aria-disabled": m === !0 ? !0 : void 0, "aria-selected": h, disabled: void 0, onMouseDown: C, onFocus: E, onPointerEnter: A, onMouseEnter: A, onPointerMove: U, onMouseMove: U, onPointerLeave: q, onMouseLeave: q }, theirProps: u, slot: K, defaultTag: hn, name: "Combobox.Option" });
972
- }
973
- let bn = ue(ln), gn = ue(dn), xn = ue(un), En = it, On = ue(fn), Sn = ue(vn), Dn = Object.assign(bn, { Input: xn, Button: gn, Label: En, Options: On, Option: Sn });
974
- export {
975
- xn as G,
976
- Dn as H,
977
- On as K,
978
- gn as U,
979
- Sn as W
980
- };