@cgi-learning-hub/ui 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (508) hide show
  1. package/dist/index.cjs.js +63417 -1
  2. package/dist/index.d.ts +773 -1
  3. package/dist/index.es.js +63394 -417
  4. package/dist/ui.css +151 -0
  5. package/package.json +26 -24
  6. package/dist/Alert-BH_3hKCB.cjs +0 -1
  7. package/dist/Alert-BeVYzSS-.js +0 -94
  8. package/dist/Alert-BoYBWOXe.cjs +0 -1
  9. package/dist/Alert-CEu3llDi.js +0 -369
  10. package/dist/Autocomplete-BKpavKFW.cjs +0 -6
  11. package/dist/Autocomplete-DBZYn4YL.js +0 -1881
  12. package/dist/Backdrop-BvL371G3.js +0 -360
  13. package/dist/Backdrop-qOBrabpf.cjs +0 -1
  14. package/dist/Badge-2Kgbx-Cs.js +0 -466
  15. package/dist/Badge-DXl0Da36.cjs +0 -1
  16. package/dist/Box-BaZ7KlAc.js +0 -59
  17. package/dist/Box-CYQlQqRB.cjs +0 -1
  18. package/dist/Button-BP-QmmUu.cjs +0 -1
  19. package/dist/Button-C1mKNW-c.js +0 -698
  20. package/dist/ButtonBase-C2jRC_V7.js +0 -883
  21. package/dist/ButtonBase-DSJojbNE.cjs +0 -74
  22. package/dist/CardContent-DVcUynuH.cjs +0 -1
  23. package/dist/CardContent-kIapWv4T.js +0 -225
  24. package/dist/Checkbox-DhhuvKO5.cjs +0 -1
  25. package/dist/Checkbox-RxHWtafR.js +0 -271
  26. package/dist/Chip-DgGmi9yn.js +0 -574
  27. package/dist/Chip-n1kY-Dsh.cjs +0 -1
  28. package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
  29. package/dist/CircularProgress-CLq0Rl-1.js +0 -253
  30. package/dist/Close-DR9m6hv3.cjs +0 -1
  31. package/dist/Close-vu-MZYNA.js +0 -9
  32. package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
  33. package/dist/CloseRounded-DF05lCUu.js +0 -8
  34. package/dist/CustomTreeItem-AecanDDg.js +0 -2046
  35. package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
  36. package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
  37. package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
  38. package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
  39. package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
  40. package/dist/Delete-C36W48MB.cjs +0 -1
  41. package/dist/Delete-DXUljXzP.js +0 -8
  42. package/dist/Dialog-C2HYr67H.cjs +0 -1
  43. package/dist/Dialog-D__8rwpw.js +0 -469
  44. package/dist/DialogContent-MPwmUJQp.js +0 -195
  45. package/dist/DialogContent-lup2v_ab.cjs +0 -1
  46. package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
  47. package/dist/DialogTitle-Dly5D3Ud.js +0 -134
  48. package/dist/Divider-BN12gMv9.js +0 -297
  49. package/dist/Divider-wisA5Qp_.cjs +0 -1
  50. package/dist/Folder-BSZMyA2L.js +0 -8
  51. package/dist/Folder-aAI_w_uF.cjs +0 -1
  52. package/dist/FormLabel-ByYWZh7M.cjs +0 -2
  53. package/dist/FormLabel-DtxJI2CU.js +0 -408
  54. package/dist/Grid-C0LY-MbT.js +0 -419
  55. package/dist/Grid-CPXE25PR.cjs +0 -2
  56. package/dist/Grow-6zwoqUfO.cjs +0 -1
  57. package/dist/Grow-CeGwnQpw.js +0 -197
  58. package/dist/IconButton-BTN16gZi.cjs +0 -2
  59. package/dist/IconButton-DBjiNqOa.js +0 -299
  60. package/dist/InputAdornment-C1r1YutO.cjs +0 -1
  61. package/dist/InputAdornment-DuR35FtU.js +0 -173
  62. package/dist/InputBase-CxknnWV4.cjs +0 -4
  63. package/dist/InputBase-D5UJOJBu.js +0 -797
  64. package/dist/Link-T11NCxGd.cjs +0 -1
  65. package/dist/Link-hWCqsQiI.js +0 -281
  66. package/dist/List-CmJ1jCss.js +0 -131
  67. package/dist/List-eQ4D0MvJ.cjs +0 -1
  68. package/dist/ListItem-CgWgbZ_g.cjs +0 -1
  69. package/dist/ListItem-onoPfwb4.js +0 -423
  70. package/dist/ListItemText-B-dySXgz.cjs +0 -1
  71. package/dist/ListItemText-BjhXxIIV.js +0 -441
  72. package/dist/Menu-D7B383z4.cjs +0 -7
  73. package/dist/Menu-DGvAkF5F.js +0 -911
  74. package/dist/MenuItem-Cusmy5t2.js +0 -268
  75. package/dist/MenuItem-D-4xzo-S.cjs +0 -1
  76. package/dist/Modal-DB9K8sJI.cjs +0 -2
  77. package/dist/Modal-DtjScKxh.js +0 -744
  78. package/dist/MoreVert-BwfUF9pO.cjs +0 -1
  79. package/dist/MoreVert-woCQ0dNf.js +0 -8
  80. package/dist/Paper-CZXfHfN_.js +0 -158
  81. package/dist/Paper-DcVuAxq3.cjs +0 -2
  82. package/dist/Popper-BwuGO_Si.js +0 -1407
  83. package/dist/Popper-D5Cs38W_.cjs +0 -4
  84. package/dist/Portal-Cmv45gpL.cjs +0 -1
  85. package/dist/Portal-PkRJuFYN.js +0 -85
  86. package/dist/Radio-DiyDpiVL.js +0 -617
  87. package/dist/Radio-DzKwkI68.cjs +0 -1
  88. package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
  89. package/dist/RadioGroup-CjUaFqjJ.js +0 -191
  90. package/dist/Select-BxH16ruJ.js +0 -2648
  91. package/dist/Select-CSQfbogA.cjs +0 -3
  92. package/dist/Stack-ChvZzNqc.cjs +0 -1
  93. package/dist/Stack-pMJEpL7k.js +0 -173
  94. package/dist/Stepper-BsfN7O-W.cjs +0 -1
  95. package/dist/Stepper-DyH4sgY5.js +0 -966
  96. package/dist/Switch-BgZUmsKc.js +0 -392
  97. package/dist/Switch-Dr2jgPGV.cjs +0 -1
  98. package/dist/SwitchBase-BP_I-APE.cjs +0 -1
  99. package/dist/SwitchBase-BWz31Ed6.js +0 -319
  100. package/dist/Tab-Bksf_S4K.js +0 -1454
  101. package/dist/Tab-D2mI5G0L.cjs +0 -4
  102. package/dist/TextField-C9AnzUpZ.cjs +0 -1
  103. package/dist/TextField-Ctx4aW6-.js +0 -560
  104. package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
  105. package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
  106. package/dist/Tooltip-C5AffX17.js +0 -722
  107. package/dist/Tooltip-CUm8vKGq.cjs +0 -4
  108. package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
  109. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
  110. package/dist/Typography-Cr-aIusw.js +0 -261
  111. package/dist/Typography-DHjq4GzQ.cjs +0 -1
  112. package/dist/assets/Loader.css +0 -1
  113. package/dist/assets/LoaderBackdrop.css +0 -1
  114. package/dist/capitalize-3OjkeP9i.cjs +0 -1
  115. package/dist/capitalize-BHEX83JQ.js +0 -9
  116. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  117. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  118. package/dist/client-error-CHkavqXs.cjs +0 -1
  119. package/dist/client-error-D0Ng5oOn.js +0 -393
  120. package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
  121. package/dist/components/ActionBar/ActionBar.d.ts +0 -3
  122. package/dist/components/ActionBar/ActionBar.es.js +0 -63
  123. package/dist/components/ActionBar/index.cjs.js +0 -1
  124. package/dist/components/ActionBar/index.d.ts +0 -2
  125. package/dist/components/ActionBar/index.es.js +0 -4
  126. package/dist/components/ActionBar/style.cjs.js +0 -1
  127. package/dist/components/ActionBar/style.es.js +0 -61
  128. package/dist/components/ActionBar/types.cjs.js +0 -1
  129. package/dist/components/ActionBar/types.d.ts +0 -17
  130. package/dist/components/ActionBar/types.es.js +0 -1
  131. package/dist/components/Alert/Alert.cjs.js +0 -1
  132. package/dist/components/Alert/Alert.d.ts +0 -6
  133. package/dist/components/Alert/Alert.es.js +0 -8
  134. package/dist/components/Alert/index.cjs.js +0 -1
  135. package/dist/components/Alert/index.d.ts +0 -2
  136. package/dist/components/Alert/index.es.js +0 -4
  137. package/dist/components/Button/Button.cjs.js +0 -1
  138. package/dist/components/Button/Button.d.ts +0 -3
  139. package/dist/components/Button/Button.es.js +0 -44
  140. package/dist/components/Button/index.cjs.js +0 -1
  141. package/dist/components/Button/index.d.ts +0 -2
  142. package/dist/components/Button/index.es.js +0 -4
  143. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
  144. package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
  145. package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
  146. package/dist/components/ButtonGroup/index.cjs.js +0 -1
  147. package/dist/components/ButtonGroup/index.d.ts +0 -2
  148. package/dist/components/ButtonGroup/index.es.js +0 -4
  149. package/dist/components/ButtonGroup/style.cjs.js +0 -1
  150. package/dist/components/ButtonGroup/style.es.js +0 -29
  151. package/dist/components/ButtonGroup/types.cjs.js +0 -1
  152. package/dist/components/ButtonGroup/types.d.ts +0 -22
  153. package/dist/components/ButtonGroup/types.es.js +0 -1
  154. package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
  155. package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
  156. package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
  157. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
  158. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
  159. package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
  160. package/dist/components/ColorPicker/index.cjs.js +0 -1
  161. package/dist/components/ColorPicker/index.d.ts +0 -3
  162. package/dist/components/ColorPicker/index.es.js +0 -4
  163. package/dist/components/ColorPicker/styles.cjs.js +0 -1
  164. package/dist/components/ColorPicker/styles.es.js +0 -28
  165. package/dist/components/ColorPicker/types.cjs.js +0 -1
  166. package/dist/components/ColorPicker/types.d.ts +0 -19
  167. package/dist/components/ColorPicker/types.es.js +0 -1
  168. package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
  169. package/dist/components/DatePicker/DatePicker.d.ts +0 -6
  170. package/dist/components/DatePicker/DatePicker.es.js +0 -5
  171. package/dist/components/DatePicker/index.cjs.js +0 -1
  172. package/dist/components/DatePicker/index.d.ts +0 -2
  173. package/dist/components/DatePicker/index.es.js +0 -4
  174. package/dist/components/Dialog/Dialog.cjs.js +0 -1
  175. package/dist/components/Dialog/Dialog.d.ts +0 -6
  176. package/dist/components/Dialog/Dialog.es.js +0 -31
  177. package/dist/components/Dialog/index.cjs.js +0 -1
  178. package/dist/components/Dialog/index.d.ts +0 -2
  179. package/dist/components/Dialog/index.es.js +0 -4
  180. package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
  181. package/dist/components/Dropzone/Dropzone.d.ts +0 -12
  182. package/dist/components/Dropzone/Dropzone.es.js +0 -55
  183. package/dist/components/Dropzone/index.cjs.js +0 -1
  184. package/dist/components/Dropzone/index.d.ts +0 -2
  185. package/dist/components/Dropzone/index.es.js +0 -4
  186. package/dist/components/Dropzone/types.cjs.js +0 -1
  187. package/dist/components/Dropzone/types.d.ts +0 -8
  188. package/dist/components/Dropzone/types.es.js +0 -1
  189. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
  190. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
  191. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
  192. package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
  193. package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
  194. package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
  195. package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
  196. package/dist/components/EmptyState/EmptyState.d.ts +0 -22
  197. package/dist/components/EmptyState/EmptyState.es.js +0 -34
  198. package/dist/components/EmptyState/index.cjs.js +0 -1
  199. package/dist/components/EmptyState/index.d.ts +0 -2
  200. package/dist/components/EmptyState/index.es.js +0 -4
  201. package/dist/components/FileList/FileIcon.cjs.js +0 -1
  202. package/dist/components/FileList/FileIcon.d.ts +0 -3
  203. package/dist/components/FileList/FileIcon.es.js +0 -56
  204. package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
  205. package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
  206. package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
  207. package/dist/components/FileList/FileList.cjs.js +0 -1
  208. package/dist/components/FileList/FileList.d.ts +0 -9
  209. package/dist/components/FileList/FileList.es.js +0 -24
  210. package/dist/components/FileList/FileListItem.cjs.js +0 -1
  211. package/dist/components/FileList/FileListItem.d.ts +0 -16
  212. package/dist/components/FileList/FileListItem.es.js +0 -122
  213. package/dist/components/FileList/index.cjs.js +0 -1
  214. package/dist/components/FileList/index.d.ts +0 -4
  215. package/dist/components/FileList/index.es.js +0 -6
  216. package/dist/components/FileList/utils.cjs.js +0 -1
  217. package/dist/components/FileList/utils.d.ts +0 -2
  218. package/dist/components/FileList/utils.es.js +0 -13
  219. package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
  220. package/dist/components/FolderCard/FolderCard.d.ts +0 -12
  221. package/dist/components/FolderCard/FolderCard.es.js +0 -88
  222. package/dist/components/FolderCard/index.cjs.js +0 -1
  223. package/dist/components/FolderCard/index.d.ts +0 -2
  224. package/dist/components/FolderCard/index.es.js +0 -4
  225. package/dist/components/FolderCard/styles.cjs.js +0 -1
  226. package/dist/components/FolderCard/styles.d.ts +0 -24
  227. package/dist/components/FolderCard/styles.es.js +0 -27
  228. package/dist/components/FolderCard/types.cjs.js +0 -1
  229. package/dist/components/FolderCard/types.d.ts +0 -3
  230. package/dist/components/FolderCard/types.es.js +0 -14
  231. package/dist/components/Heading/Heading.cjs.js +0 -1
  232. package/dist/components/Heading/Heading.d.ts +0 -14
  233. package/dist/components/Heading/Heading.es.js +0 -39
  234. package/dist/components/Heading/index.cjs.js +0 -1
  235. package/dist/components/Heading/index.d.ts +0 -2
  236. package/dist/components/Heading/index.es.js +0 -4
  237. package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
  238. package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
  239. package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
  240. package/dist/components/ImagePicker/index.cjs.js +0 -1
  241. package/dist/components/ImagePicker/index.d.ts +0 -2
  242. package/dist/components/ImagePicker/index.es.js +0 -4
  243. package/dist/components/Loader/Loader.cjs.js +0 -1
  244. package/dist/components/Loader/Loader.d.ts +0 -3
  245. package/dist/components/Loader/Loader.es.js +0 -11
  246. package/dist/components/Loader/index.cjs.js +0 -1
  247. package/dist/components/Loader/index.d.ts +0 -2
  248. package/dist/components/Loader/index.es.js +0 -4
  249. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
  250. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
  251. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
  252. package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
  253. package/dist/components/LoaderBackdrop/index.d.ts +0 -2
  254. package/dist/components/LoaderBackdrop/index.es.js +0 -4
  255. package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
  256. package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
  257. package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
  258. package/dist/components/PasswordInput/index.cjs.js +0 -1
  259. package/dist/components/PasswordInput/index.d.ts +0 -2
  260. package/dist/components/PasswordInput/index.es.js +0 -4
  261. package/dist/components/QueryError/QueryError.cjs.js +0 -1
  262. package/dist/components/QueryError/QueryError.d.ts +0 -8
  263. package/dist/components/QueryError/QueryError.es.js +0 -46
  264. package/dist/components/QueryError/helpers.cjs.js +0 -1
  265. package/dist/components/QueryError/helpers.d.ts +0 -11
  266. package/dist/components/QueryError/helpers.es.js +0 -10
  267. package/dist/components/QueryError/index.cjs.js +0 -1
  268. package/dist/components/QueryError/index.d.ts +0 -2
  269. package/dist/components/QueryError/index.es.js +0 -4
  270. package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
  271. package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
  272. package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
  273. package/dist/components/ResourceCard/index.cjs.js +0 -1
  274. package/dist/components/ResourceCard/index.d.ts +0 -2
  275. package/dist/components/ResourceCard/index.es.js +0 -4
  276. package/dist/components/ResourceCard/style.cjs.js +0 -1
  277. package/dist/components/ResourceCard/style.es.js +0 -130
  278. package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
  279. package/dist/components/SearchInput/SearchInput.d.ts +0 -4
  280. package/dist/components/SearchInput/SearchInput.es.js +0 -38
  281. package/dist/components/SearchInput/index.cjs.js +0 -1
  282. package/dist/components/SearchInput/index.d.ts +0 -2
  283. package/dist/components/SearchInput/index.es.js +0 -4
  284. package/dist/components/TreeView/TreeView.cjs.js +0 -5
  285. package/dist/components/TreeView/TreeView.d.ts +0 -4
  286. package/dist/components/TreeView/TreeView.es.js +0 -1663
  287. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
  288. package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
  289. package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
  290. package/dist/components/TreeView/index.cjs.js +0 -1
  291. package/dist/components/TreeView/index.d.ts +0 -2
  292. package/dist/components/TreeView/index.es.js +0 -6
  293. package/dist/components/TreeView/style.cjs.js +0 -1
  294. package/dist/components/TreeView/style.es.js +0 -35
  295. package/dist/components/TreeView/types.cjs.js +0 -1
  296. package/dist/components/TreeView/types.d.ts +0 -45
  297. package/dist/components/TreeView/types.es.js +0 -4
  298. package/dist/components/TreeView/utils.cjs.js +0 -1
  299. package/dist/components/TreeView/utils.d.ts +0 -6
  300. package/dist/components/TreeView/utils.es.js +0 -50
  301. package/dist/components/index.cjs.js +0 -1
  302. package/dist/components/index.d.ts +0 -197
  303. package/dist/components/index.es.js +0 -419
  304. package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
  305. package/dist/components/stories/ActionBar.stories.d.ts +0 -11
  306. package/dist/components/stories/ActionBar.stories.es.js +0 -206
  307. package/dist/components/stories/Alert.stories.cjs.js +0 -1
  308. package/dist/components/stories/Alert.stories.d.ts +0 -9
  309. package/dist/components/stories/Alert.stories.es.js +0 -32
  310. package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
  311. package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
  312. package/dist/components/stories/Autocomplete.stories.es.js +0 -62
  313. package/dist/components/stories/Badge.stories.cjs.js +0 -1
  314. package/dist/components/stories/Badge.stories.d.ts +0 -17
  315. package/dist/components/stories/Badge.stories.es.js +0 -188
  316. package/dist/components/stories/Button.stories.cjs.js +0 -1
  317. package/dist/components/stories/Button.stories.d.ts +0 -8
  318. package/dist/components/stories/Button.stories.es.js +0 -61
  319. package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
  320. package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
  321. package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
  322. package/dist/components/stories/Card.stories.cjs.js +0 -1
  323. package/dist/components/stories/Card.stories.d.ts +0 -7
  324. package/dist/components/stories/Card.stories.es.js +0 -42
  325. package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
  326. package/dist/components/stories/Checkbox.stories.d.ts +0 -10
  327. package/dist/components/stories/Checkbox.stories.es.js +0 -57
  328. package/dist/components/stories/Chip.stories.cjs.js +0 -1
  329. package/dist/components/stories/Chip.stories.d.ts +0 -10
  330. package/dist/components/stories/Chip.stories.es.js +0 -77
  331. package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
  332. package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
  333. package/dist/components/stories/ColoPicker.stories.es.js +0 -23
  334. package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
  335. package/dist/components/stories/DatePicker.stories.d.ts +0 -6
  336. package/dist/components/stories/DatePicker.stories.es.js +0 -13
  337. package/dist/components/stories/Dialog.stories.cjs.js +0 -1
  338. package/dist/components/stories/Dialog.stories.d.ts +0 -7
  339. package/dist/components/stories/Dialog.stories.es.js +0 -65
  340. package/dist/components/stories/Divider.stories.cjs.js +0 -1
  341. package/dist/components/stories/Divider.stories.d.ts +0 -6
  342. package/dist/components/stories/Divider.stories.es.js +0 -41
  343. package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
  344. package/dist/components/stories/Dropzone.stories.d.ts +0 -6
  345. package/dist/components/stories/Dropzone.stories.es.js +0 -14
  346. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
  347. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
  348. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
  349. package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
  350. package/dist/components/stories/EmptyState.stories.d.ts +0 -6
  351. package/dist/components/stories/EmptyState.stories.es.js +0 -30
  352. package/dist/components/stories/FileList.stories.cjs.js +0 -8
  353. package/dist/components/stories/FileList.stories.d.ts +0 -6
  354. package/dist/components/stories/FileList.stories.es.js +0 -150
  355. package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
  356. package/dist/components/stories/FolderCard.stories.d.ts +0 -7
  357. package/dist/components/stories/FolderCard.stories.es.js +0 -71
  358. package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
  359. package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
  360. package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
  361. package/dist/components/stories/Heading.stories.cjs.js +0 -1
  362. package/dist/components/stories/Heading.stories.d.ts +0 -6
  363. package/dist/components/stories/Heading.stories.es.js +0 -20
  364. package/dist/components/stories/IconButton.stories.cjs.js +0 -1
  365. package/dist/components/stories/IconButton.stories.d.ts +0 -6
  366. package/dist/components/stories/IconButton.stories.es.js +0 -55
  367. package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
  368. package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
  369. package/dist/components/stories/ImagePicker.stories.es.js +0 -57
  370. package/dist/components/stories/Link.stories.cjs.js +0 -1
  371. package/dist/components/stories/Link.stories.d.ts +0 -7
  372. package/dist/components/stories/Link.stories.es.js +0 -43
  373. package/dist/components/stories/Loader.stories.cjs.js +0 -1
  374. package/dist/components/stories/Loader.stories.d.ts +0 -6
  375. package/dist/components/stories/Loader.stories.es.js +0 -11
  376. package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
  377. package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
  378. package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
  379. package/dist/components/stories/Menu.stories.cjs.js +0 -1
  380. package/dist/components/stories/Menu.stories.d.ts +0 -7
  381. package/dist/components/stories/Menu.stories.es.js +0 -51
  382. package/dist/components/stories/Paper.stories.cjs.js +0 -1
  383. package/dist/components/stories/Paper.stories.d.ts +0 -7
  384. package/dist/components/stories/Paper.stories.es.js +0 -28
  385. package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
  386. package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
  387. package/dist/components/stories/PasswordInput.stories.es.js +0 -13
  388. package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
  389. package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
  390. package/dist/components/stories/RadioGroup.stories.es.js +0 -37
  391. package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
  392. package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
  393. package/dist/components/stories/ResourceCard.stories.es.js +0 -141
  394. package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
  395. package/dist/components/stories/SearchInput.stories.d.ts +0 -6
  396. package/dist/components/stories/SearchInput.stories.es.js +0 -13
  397. package/dist/components/stories/Select.stories.cjs.js +0 -1
  398. package/dist/components/stories/Select.stories.d.ts +0 -10
  399. package/dist/components/stories/Select.stories.es.js +0 -52
  400. package/dist/components/stories/Stepper.stories.cjs.js +0 -1
  401. package/dist/components/stories/Stepper.stories.d.ts +0 -7
  402. package/dist/components/stories/Stepper.stories.es.js +0 -161
  403. package/dist/components/stories/TabList.stories.cjs.js +0 -1
  404. package/dist/components/stories/TabList.stories.d.ts +0 -7
  405. package/dist/components/stories/TabList.stories.es.js +0 -73
  406. package/dist/components/stories/TextField.stories.cjs.js +0 -1
  407. package/dist/components/stories/TextField.stories.d.ts +0 -10
  408. package/dist/components/stories/TextField.stories.es.js +0 -69
  409. package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
  410. package/dist/components/stories/Tooltip.stories.d.ts +0 -7
  411. package/dist/components/stories/Tooltip.stories.es.js +0 -46
  412. package/dist/components/stories/TreeView.stories.cjs.js +0 -69
  413. package/dist/components/stories/TreeView.stories.d.ts +0 -15
  414. package/dist/components/stories/TreeView.stories.es.js +0 -1036
  415. package/dist/components/stories/Typography.stories.cjs.js +0 -1
  416. package/dist/components/stories/Typography.stories.d.ts +0 -6
  417. package/dist/components/stories/Typography.stories.es.js +0 -65
  418. package/dist/composeClasses-BskurlZX.js +0 -51
  419. package/dist/composeClasses-vN5Almps.cjs +0 -1
  420. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  421. package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
  422. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  423. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
  424. package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
  425. package/dist/createSvgIcon-DFIM5PqN.js +0 -254
  426. package/dist/debounce-46wSf_lW.js +0 -15
  427. package/dist/debounce-DpCj7ugL.cjs +0 -1
  428. package/dist/dividerClasses-BEzQ_reA.js +0 -9
  429. package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
  430. package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
  431. package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
  432. package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
  433. package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
  434. package/dist/error-CRNeivL7.js +0 -5
  435. package/dist/error-Dk3o6ber.cjs +0 -1
  436. package/dist/extendSxProp-DGsHTtAe.js +0 -37
  437. package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
  438. package/dist/formControlState-CuX6WjAX.cjs +0 -1
  439. package/dist/formControlState-vgaj2ksH.js +0 -10
  440. package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
  441. package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
  442. package/dist/hooks/lazySvgImport.cjs.js +0 -1
  443. package/dist/hooks/lazySvgImport.d.ts +0 -6
  444. package/dist/hooks/lazySvgImport.es.js +0 -34
  445. package/dist/index-B9vkf41S.js +0 -672
  446. package/dist/index-BPpGXp0s.cjs +0 -1
  447. package/dist/index-BS46Ff4t.cjs +0 -5
  448. package/dist/index-Ba4TEBpP.js +0 -22
  449. package/dist/index-CJMnfcQs.js +0 -2152
  450. package/dist/index-CwHv-blH.js +0 -97
  451. package/dist/index-D_kvDIOz.cjs +0 -1
  452. package/dist/index-kjfz41UI.cjs +0 -20
  453. package/dist/integerPropType-BihGt2aU.js +0 -31
  454. package/dist/integerPropType-CR7ytEJG.cjs +0 -1
  455. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  456. package/dist/isFocusVisible-DlSijby6.cjs +0 -2
  457. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  458. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  459. package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
  460. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  461. package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
  462. package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
  463. package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
  464. package/dist/memoTheme-C-PaH-Cy.js +0 -15
  465. package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
  466. package/dist/mergeSlotProps-DVtjofCS.js +0 -62
  467. package/dist/ownerDocument-4MViGo3k.cjs +0 -1
  468. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  469. package/dist/ownerWindow-DDHucZi0.cjs +0 -1
  470. package/dist/ownerWindow-niciwP7I.js +0 -7
  471. package/dist/refType-8hihVLUh.js +0 -5
  472. package/dist/refType-DJyA--UV.cjs +0 -1
  473. package/dist/server-error-CqyYyPLN.cjs +0 -1
  474. package/dist/server-error-CvgIy7ap.js +0 -398
  475. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  476. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  477. package/dist/useControlled-QrrYcKxm.cjs +0 -3
  478. package/dist/useControlled-nm4pBabJ.js +0 -31
  479. package/dist/useEventCallback-BxpcFap0.cjs +0 -1
  480. package/dist/useEventCallback-Y2KwRxBw.js +0 -15
  481. package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
  482. package/dist/useForkRef-u29GSuCu.js +0 -27
  483. package/dist/useFormControl-CatNKXAi.js +0 -10
  484. package/dist/useFormControl-haP0iPhl.cjs +0 -1
  485. package/dist/useId-CK6Kn3Tn.js +0 -21
  486. package/dist/useId-DNXtOFeX.cjs +0 -1
  487. package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
  488. package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
  489. package/dist/useSlot-BSkdRaZr.js +0 -125
  490. package/dist/useSlot-C-aMxEm0.cjs +0 -1
  491. package/dist/useSlotProps-BVVfeURp.cjs +0 -1
  492. package/dist/useSlotProps-CWTjRiRv.js +0 -25
  493. package/dist/useTheme-0AkY41zn.js +0 -11
  494. package/dist/useTheme-BT6SDKkk.cjs +0 -1
  495. package/dist/useTheme-BrGF2Vm0.cjs +0 -1
  496. package/dist/useTheme-DSA6Ir8k.js +0 -18
  497. package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
  498. package/dist/useThemeProps-CAonvyKa.js +0 -27
  499. package/dist/useThemeProps-JozrkyA_.cjs +0 -1
  500. package/dist/useThemeProps-hSh1qhnc.js +0 -17
  501. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  502. package/dist/useTimeout-CrCYVizI.js +0 -42
  503. package/dist/utils-BWx1W_q1.cjs +0 -1
  504. package/dist/utils-B_pVp6UZ.js +0 -363
  505. package/dist/utils-DWqc1kRF.js +0 -13
  506. package/dist/utils-XujN9ndp.cjs +0 -1
  507. package/dist/warning-C8W811fV.js +0 -11
  508. package/dist/warning-DMUNDgRg.cjs +0 -2
@@ -1,1407 +0,0 @@
1
- import { u as xt } from "./index-Ba4TEBpP.js";
2
- import { P as i } from "./index-B9vkf41S.js";
3
- import * as L from "react";
4
- import { G as Pt, F as Et } from "./generateUtilityClasses-B_xKAflz.js";
5
- import { jsx as be } from "react/jsx-runtime";
6
- import { o as ze } from "./ownerDocument-CUrv0DIK.js";
7
- import { P as Rt, H as we } from "./Portal-PkRJuFYN.js";
8
- import { u as Ge } from "./useForkRef-u29GSuCu.js";
9
- import { u as Je } from "./useEventCallback-Y2KwRxBw.js";
10
- import { u as Tt } from "./useSlotProps-CWTjRiRv.js";
11
- import { c as At, u as jt, s as Dt } from "./DefaultPropsProvider-BrmlvPWg.js";
12
- import { r as at } from "./refType-8hihVLUh.js";
13
- import { c as Mt } from "./chainPropTypes-D9lkm76m.js";
14
- var B = "top", N = "bottom", V = "right", $ = "left", Ce = "auto", le = [B, N, V, $], ee = "start", fe = "end", Ct = "clippingParents", it = "viewport", ie = "popper", Bt = "reference", Ke = /* @__PURE__ */ le.reduce(function(e, t) {
15
- return e.concat([t + "-" + ee, t + "-" + fe]);
16
- }, []), st = /* @__PURE__ */ [].concat(le, [Ce]).reduce(function(e, t) {
17
- return e.concat([t, t + "-" + ee, t + "-" + fe]);
18
- }, []), $t = "beforeRead", kt = "read", St = "afterRead", Wt = "beforeMain", Lt = "main", Ht = "afterMain", Nt = "beforeWrite", Vt = "write", Ut = "afterWrite", qt = [$t, kt, St, Wt, Lt, Ht, Nt, Vt, Ut];
19
- function q(e) {
20
- return e ? (e.nodeName || "").toLowerCase() : null;
21
- }
22
- function W(e) {
23
- if (e == null)
24
- return window;
25
- if (e.toString() !== "[object Window]") {
26
- var t = e.ownerDocument;
27
- return t && t.defaultView || window;
28
- }
29
- return e;
30
- }
31
- function Z(e) {
32
- var t = W(e).Element;
33
- return e instanceof t || e instanceof Element;
34
- }
35
- function H(e) {
36
- var t = W(e).HTMLElement;
37
- return e instanceof t || e instanceof HTMLElement;
38
- }
39
- function Be(e) {
40
- if (typeof ShadowRoot > "u")
41
- return !1;
42
- var t = W(e).ShadowRoot;
43
- return e instanceof t || e instanceof ShadowRoot;
44
- }
45
- function Ft(e) {
46
- var t = e.state;
47
- Object.keys(t.elements).forEach(function(r) {
48
- var o = t.styles[r] || {}, n = t.attributes[r] || {}, s = t.elements[r];
49
- !H(s) || !q(s) || (Object.assign(s.style, o), Object.keys(n).forEach(function(c) {
50
- var a = n[c];
51
- a === !1 ? s.removeAttribute(c) : s.setAttribute(c, a === !0 ? "" : a);
52
- }));
53
- });
54
- }
55
- function It(e) {
56
- var t = e.state, r = {
57
- popper: {
58
- position: t.options.strategy,
59
- left: "0",
60
- top: "0",
61
- margin: "0"
62
- },
63
- arrow: {
64
- position: "absolute"
65
- },
66
- reference: {}
67
- };
68
- return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
69
- Object.keys(t.elements).forEach(function(o) {
70
- var n = t.elements[o], s = t.attributes[o] || {}, c = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : r[o]), a = c.reduce(function(p, l) {
71
- return p[l] = "", p;
72
- }, {});
73
- !H(n) || !q(n) || (Object.assign(n.style, a), Object.keys(s).forEach(function(p) {
74
- n.removeAttribute(p);
75
- }));
76
- });
77
- };
78
- }
79
- const Xt = {
80
- name: "applyStyles",
81
- enabled: !0,
82
- phase: "write",
83
- fn: Ft,
84
- effect: It,
85
- requires: ["computeStyles"]
86
- };
87
- function U(e) {
88
- return e.split("-")[0];
89
- }
90
- var Q = Math.max, Oe = Math.min, te = Math.round;
91
- function De() {
92
- var e = navigator.userAgentData;
93
- return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
94
- return t.brand + "/" + t.version;
95
- }).join(" ") : navigator.userAgent;
96
- }
97
- function pt() {
98
- return !/^((?!chrome|android).)*safari/i.test(De());
99
- }
100
- function re(e, t, r) {
101
- t === void 0 && (t = !1), r === void 0 && (r = !1);
102
- var o = e.getBoundingClientRect(), n = 1, s = 1;
103
- t && H(e) && (n = e.offsetWidth > 0 && te(o.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && te(o.height) / e.offsetHeight || 1);
104
- var c = Z(e) ? W(e) : window, a = c.visualViewport, p = !pt() && r, l = (o.left + (p && a ? a.offsetLeft : 0)) / n, f = (o.top + (p && a ? a.offsetTop : 0)) / s, h = o.width / n, b = o.height / s;
105
- return {
106
- width: h,
107
- height: b,
108
- top: f,
109
- right: l + h,
110
- bottom: f + b,
111
- left: l,
112
- x: l,
113
- y: f
114
- };
115
- }
116
- function $e(e) {
117
- var t = re(e), r = e.offsetWidth, o = e.offsetHeight;
118
- return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), {
119
- x: e.offsetLeft,
120
- y: e.offsetTop,
121
- width: r,
122
- height: o
123
- };
124
- }
125
- function ft(e, t) {
126
- var r = t.getRootNode && t.getRootNode();
127
- if (e.contains(t))
128
- return !0;
129
- if (r && Be(r)) {
130
- var o = t;
131
- do {
132
- if (o && e.isSameNode(o))
133
- return !0;
134
- o = o.parentNode || o.host;
135
- } while (o);
136
- }
137
- return !1;
138
- }
139
- function X(e) {
140
- return W(e).getComputedStyle(e);
141
- }
142
- function Yt(e) {
143
- return ["table", "td", "th"].indexOf(q(e)) >= 0;
144
- }
145
- function z(e) {
146
- return ((Z(e) ? e.ownerDocument : (
147
- // $FlowFixMe[prop-missing]
148
- e.document
149
- )) || window.document).documentElement;
150
- }
151
- function Pe(e) {
152
- return q(e) === "html" ? e : (
153
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
154
- // $FlowFixMe[incompatible-return]
155
- // $FlowFixMe[prop-missing]
156
- e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
157
- e.parentNode || // DOM Element detected
158
- (Be(e) ? e.host : null) || // ShadowRoot detected
159
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
160
- z(e)
161
- );
162
- }
163
- function Qe(e) {
164
- return !H(e) || // https://github.com/popperjs/popper-core/issues/837
165
- X(e).position === "fixed" ? null : e.offsetParent;
166
- }
167
- function zt(e) {
168
- var t = /firefox/i.test(De()), r = /Trident/i.test(De());
169
- if (r && H(e)) {
170
- var o = X(e);
171
- if (o.position === "fixed")
172
- return null;
173
- }
174
- var n = Pe(e);
175
- for (Be(n) && (n = n.host); H(n) && ["html", "body"].indexOf(q(n)) < 0; ) {
176
- var s = X(n);
177
- if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
178
- return n;
179
- n = n.parentNode;
180
- }
181
- return null;
182
- }
183
- function ue(e) {
184
- for (var t = W(e), r = Qe(e); r && Yt(r) && X(r).position === "static"; )
185
- r = Qe(r);
186
- return r && (q(r) === "html" || q(r) === "body" && X(r).position === "static") ? t : r || zt(e) || t;
187
- }
188
- function ke(e) {
189
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
190
- }
191
- function se(e, t, r) {
192
- return Q(e, Oe(t, r));
193
- }
194
- function Gt(e, t, r) {
195
- var o = se(e, t, r);
196
- return o > r ? r : o;
197
- }
198
- function ct() {
199
- return {
200
- top: 0,
201
- right: 0,
202
- bottom: 0,
203
- left: 0
204
- };
205
- }
206
- function lt(e) {
207
- return Object.assign({}, ct(), e);
208
- }
209
- function ut(e, t) {
210
- return t.reduce(function(r, o) {
211
- return r[o] = e, r;
212
- }, {});
213
- }
214
- var Jt = function(t, r) {
215
- return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
216
- placement: r.placement
217
- })) : t, lt(typeof t != "number" ? t : ut(t, le));
218
- };
219
- function Kt(e) {
220
- var t, r = e.state, o = e.name, n = e.options, s = r.elements.arrow, c = r.modifiersData.popperOffsets, a = U(r.placement), p = ke(a), l = [$, V].indexOf(a) >= 0, f = l ? "height" : "width";
221
- if (!(!s || !c)) {
222
- var h = Jt(n.padding, r), b = $e(s), u = p === "y" ? B : $, x = p === "y" ? N : V, v = r.rects.reference[f] + r.rects.reference[p] - c[p] - r.rects.popper[f], m = c[p] - r.rects.reference[p], w = ue(s), P = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = v / 2 - m / 2, d = h[u], y = P - b[f] - h[x], g = P / 2 - b[f] / 2 + O, E = se(d, g, y), A = p;
223
- r.modifiersData[o] = (t = {}, t[A] = E, t.centerOffset = E - g, t);
224
- }
225
- }
226
- function Qt(e) {
227
- var t = e.state, r = e.options, o = r.element, n = o === void 0 ? "[data-popper-arrow]" : o;
228
- n != null && (typeof n == "string" && (n = t.elements.popper.querySelector(n), !n) || ft(t.elements.popper, n) && (t.elements.arrow = n));
229
- }
230
- const Zt = {
231
- name: "arrow",
232
- enabled: !0,
233
- phase: "main",
234
- fn: Kt,
235
- effect: Qt,
236
- requires: ["popperOffsets"],
237
- requiresIfExists: ["preventOverflow"]
238
- };
239
- function oe(e) {
240
- return e.split("-")[1];
241
- }
242
- var _t = {
243
- top: "auto",
244
- right: "auto",
245
- bottom: "auto",
246
- left: "auto"
247
- };
248
- function er(e, t) {
249
- var r = e.x, o = e.y, n = t.devicePixelRatio || 1;
250
- return {
251
- x: te(r * n) / n || 0,
252
- y: te(o * n) / n || 0
253
- };
254
- }
255
- function Ze(e) {
256
- var t, r = e.popper, o = e.popperRect, n = e.placement, s = e.variation, c = e.offsets, a = e.position, p = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, h = e.isFixed, b = c.x, u = b === void 0 ? 0 : b, x = c.y, v = x === void 0 ? 0 : x, m = typeof f == "function" ? f({
257
- x: u,
258
- y: v
259
- }) : {
260
- x: u,
261
- y: v
262
- };
263
- u = m.x, v = m.y;
264
- var w = c.hasOwnProperty("x"), P = c.hasOwnProperty("y"), O = $, d = B, y = window;
265
- if (l) {
266
- var g = ue(r), E = "clientHeight", A = "clientWidth";
267
- if (g === W(r) && (g = z(r), X(g).position !== "static" && a === "absolute" && (E = "scrollHeight", A = "scrollWidth")), g = g, n === B || (n === $ || n === V) && s === fe) {
268
- d = N;
269
- var R = h && g === y && y.visualViewport ? y.visualViewport.height : (
270
- // $FlowFixMe[prop-missing]
271
- g[E]
272
- );
273
- v -= R - o.height, v *= p ? 1 : -1;
274
- }
275
- if (n === $ || (n === B || n === N) && s === fe) {
276
- O = V;
277
- var T = h && g === y && y.visualViewport ? y.visualViewport.width : (
278
- // $FlowFixMe[prop-missing]
279
- g[A]
280
- );
281
- u -= T - o.width, u *= p ? 1 : -1;
282
- }
283
- }
284
- var j = Object.assign({
285
- position: a
286
- }, l && _t), k = f === !0 ? er({
287
- x: u,
288
- y: v
289
- }, W(r)) : {
290
- x: u,
291
- y: v
292
- };
293
- if (u = k.x, v = k.y, p) {
294
- var M;
295
- return Object.assign({}, j, (M = {}, M[d] = P ? "0" : "", M[O] = w ? "0" : "", M.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + v + "px)" : "translate3d(" + u + "px, " + v + "px, 0)", M));
296
- }
297
- return Object.assign({}, j, (t = {}, t[d] = P ? v + "px" : "", t[O] = w ? u + "px" : "", t.transform = "", t));
298
- }
299
- function tr(e) {
300
- var t = e.state, r = e.options, o = r.gpuAcceleration, n = o === void 0 ? !0 : o, s = r.adaptive, c = s === void 0 ? !0 : s, a = r.roundOffsets, p = a === void 0 ? !0 : a, l = {
301
- placement: U(t.placement),
302
- variation: oe(t.placement),
303
- popper: t.elements.popper,
304
- popperRect: t.rects.popper,
305
- gpuAcceleration: n,
306
- isFixed: t.options.strategy === "fixed"
307
- };
308
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ze(Object.assign({}, l, {
309
- offsets: t.modifiersData.popperOffsets,
310
- position: t.options.strategy,
311
- adaptive: c,
312
- roundOffsets: p
313
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ze(Object.assign({}, l, {
314
- offsets: t.modifiersData.arrow,
315
- position: "absolute",
316
- adaptive: !1,
317
- roundOffsets: p
318
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
319
- "data-popper-placement": t.placement
320
- });
321
- }
322
- const rr = {
323
- name: "computeStyles",
324
- enabled: !0,
325
- phase: "beforeWrite",
326
- fn: tr,
327
- data: {}
328
- };
329
- var ye = {
330
- passive: !0
331
- };
332
- function or(e) {
333
- var t = e.state, r = e.instance, o = e.options, n = o.scroll, s = n === void 0 ? !0 : n, c = o.resize, a = c === void 0 ? !0 : c, p = W(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
334
- return s && l.forEach(function(f) {
335
- f.addEventListener("scroll", r.update, ye);
336
- }), a && p.addEventListener("resize", r.update, ye), function() {
337
- s && l.forEach(function(f) {
338
- f.removeEventListener("scroll", r.update, ye);
339
- }), a && p.removeEventListener("resize", r.update, ye);
340
- };
341
- }
342
- const nr = {
343
- name: "eventListeners",
344
- enabled: !0,
345
- phase: "write",
346
- fn: function() {
347
- },
348
- effect: or,
349
- data: {}
350
- };
351
- var ar = {
352
- left: "right",
353
- right: "left",
354
- bottom: "top",
355
- top: "bottom"
356
- };
357
- function ge(e) {
358
- return e.replace(/left|right|bottom|top/g, function(t) {
359
- return ar[t];
360
- });
361
- }
362
- var ir = {
363
- start: "end",
364
- end: "start"
365
- };
366
- function _e(e) {
367
- return e.replace(/start|end/g, function(t) {
368
- return ir[t];
369
- });
370
- }
371
- function Se(e) {
372
- var t = W(e), r = t.pageXOffset, o = t.pageYOffset;
373
- return {
374
- scrollLeft: r,
375
- scrollTop: o
376
- };
377
- }
378
- function We(e) {
379
- return re(z(e)).left + Se(e).scrollLeft;
380
- }
381
- function sr(e, t) {
382
- var r = W(e), o = z(e), n = r.visualViewport, s = o.clientWidth, c = o.clientHeight, a = 0, p = 0;
383
- if (n) {
384
- s = n.width, c = n.height;
385
- var l = pt();
386
- (l || !l && t === "fixed") && (a = n.offsetLeft, p = n.offsetTop);
387
- }
388
- return {
389
- width: s,
390
- height: c,
391
- x: a + We(e),
392
- y: p
393
- };
394
- }
395
- function pr(e) {
396
- var t, r = z(e), o = Se(e), n = (t = e.ownerDocument) == null ? void 0 : t.body, s = Q(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), c = Q(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + We(e), p = -o.scrollTop;
397
- return X(n || r).direction === "rtl" && (a += Q(r.clientWidth, n ? n.clientWidth : 0) - s), {
398
- width: s,
399
- height: c,
400
- x: a,
401
- y: p
402
- };
403
- }
404
- function Le(e) {
405
- var t = X(e), r = t.overflow, o = t.overflowX, n = t.overflowY;
406
- return /auto|scroll|overlay|hidden/.test(r + n + o);
407
- }
408
- function dt(e) {
409
- return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : H(e) && Le(e) ? e : dt(Pe(e));
410
- }
411
- function pe(e, t) {
412
- var r;
413
- t === void 0 && (t = []);
414
- var o = dt(e), n = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = W(o), c = n ? [s].concat(s.visualViewport || [], Le(o) ? o : []) : o, a = t.concat(c);
415
- return n ? a : (
416
- // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
417
- a.concat(pe(Pe(c)))
418
- );
419
- }
420
- function Me(e) {
421
- return Object.assign({}, e, {
422
- left: e.x,
423
- top: e.y,
424
- right: e.x + e.width,
425
- bottom: e.y + e.height
426
- });
427
- }
428
- function fr(e, t) {
429
- var r = re(e, !1, t === "fixed");
430
- return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
431
- }
432
- function et(e, t, r) {
433
- return t === it ? Me(sr(e, r)) : Z(t) ? fr(t, r) : Me(pr(z(e)));
434
- }
435
- function cr(e) {
436
- var t = pe(Pe(e)), r = ["absolute", "fixed"].indexOf(X(e).position) >= 0, o = r && H(e) ? ue(e) : e;
437
- return Z(o) ? t.filter(function(n) {
438
- return Z(n) && ft(n, o) && q(n) !== "body";
439
- }) : [];
440
- }
441
- function lr(e, t, r, o) {
442
- var n = t === "clippingParents" ? cr(e) : [].concat(t), s = [].concat(n, [r]), c = s[0], a = s.reduce(function(p, l) {
443
- var f = et(e, l, o);
444
- return p.top = Q(f.top, p.top), p.right = Oe(f.right, p.right), p.bottom = Oe(f.bottom, p.bottom), p.left = Q(f.left, p.left), p;
445
- }, et(e, c, o));
446
- return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
447
- }
448
- function vt(e) {
449
- var t = e.reference, r = e.element, o = e.placement, n = o ? U(o) : null, s = o ? oe(o) : null, c = t.x + t.width / 2 - r.width / 2, a = t.y + t.height / 2 - r.height / 2, p;
450
- switch (n) {
451
- case B:
452
- p = {
453
- x: c,
454
- y: t.y - r.height
455
- };
456
- break;
457
- case N:
458
- p = {
459
- x: c,
460
- y: t.y + t.height
461
- };
462
- break;
463
- case V:
464
- p = {
465
- x: t.x + t.width,
466
- y: a
467
- };
468
- break;
469
- case $:
470
- p = {
471
- x: t.x - r.width,
472
- y: a
473
- };
474
- break;
475
- default:
476
- p = {
477
- x: t.x,
478
- y: t.y
479
- };
480
- }
481
- var l = n ? ke(n) : null;
482
- if (l != null) {
483
- var f = l === "y" ? "height" : "width";
484
- switch (s) {
485
- case ee:
486
- p[l] = p[l] - (t[f] / 2 - r[f] / 2);
487
- break;
488
- case fe:
489
- p[l] = p[l] + (t[f] / 2 - r[f] / 2);
490
- break;
491
- }
492
- }
493
- return p;
494
- }
495
- function ce(e, t) {
496
- t === void 0 && (t = {});
497
- var r = t, o = r.placement, n = o === void 0 ? e.placement : o, s = r.strategy, c = s === void 0 ? e.strategy : s, a = r.boundary, p = a === void 0 ? Ct : a, l = r.rootBoundary, f = l === void 0 ? it : l, h = r.elementContext, b = h === void 0 ? ie : h, u = r.altBoundary, x = u === void 0 ? !1 : u, v = r.padding, m = v === void 0 ? 0 : v, w = lt(typeof m != "number" ? m : ut(m, le)), P = b === ie ? Bt : ie, O = e.rects.popper, d = e.elements[x ? P : b], y = lr(Z(d) ? d : d.contextElement || z(e.elements.popper), p, f, c), g = re(e.elements.reference), E = vt({
498
- reference: g,
499
- element: O,
500
- placement: n
501
- }), A = Me(Object.assign({}, O, E)), R = b === ie ? A : g, T = {
502
- top: y.top - R.top + w.top,
503
- bottom: R.bottom - y.bottom + w.bottom,
504
- left: y.left - R.left + w.left,
505
- right: R.right - y.right + w.right
506
- }, j = e.modifiersData.offset;
507
- if (b === ie && j) {
508
- var k = j[n];
509
- Object.keys(T).forEach(function(M) {
510
- var F = [V, N].indexOf(M) >= 0 ? 1 : -1, I = [B, N].indexOf(M) >= 0 ? "y" : "x";
511
- T[M] += k[I] * F;
512
- });
513
- }
514
- return T;
515
- }
516
- function ur(e, t) {
517
- t === void 0 && (t = {});
518
- var r = t, o = r.placement, n = r.boundary, s = r.rootBoundary, c = r.padding, a = r.flipVariations, p = r.allowedAutoPlacements, l = p === void 0 ? st : p, f = oe(o), h = f ? a ? Ke : Ke.filter(function(x) {
519
- return oe(x) === f;
520
- }) : le, b = h.filter(function(x) {
521
- return l.indexOf(x) >= 0;
522
- });
523
- b.length === 0 && (b = h);
524
- var u = b.reduce(function(x, v) {
525
- return x[v] = ce(e, {
526
- placement: v,
527
- boundary: n,
528
- rootBoundary: s,
529
- padding: c
530
- })[U(v)], x;
531
- }, {});
532
- return Object.keys(u).sort(function(x, v) {
533
- return u[x] - u[v];
534
- });
535
- }
536
- function dr(e) {
537
- if (U(e) === Ce)
538
- return [];
539
- var t = ge(e);
540
- return [_e(e), t, _e(t)];
541
- }
542
- function vr(e) {
543
- var t = e.state, r = e.options, o = e.name;
544
- if (!t.modifiersData[o]._skip) {
545
- for (var n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !0 : c, p = r.fallbackPlacements, l = r.padding, f = r.boundary, h = r.rootBoundary, b = r.altBoundary, u = r.flipVariations, x = u === void 0 ? !0 : u, v = r.allowedAutoPlacements, m = t.options.placement, w = U(m), P = w === m, O = p || (P || !x ? [ge(m)] : dr(m)), d = [m].concat(O).reduce(function(_, Y) {
546
- return _.concat(U(Y) === Ce ? ur(t, {
547
- placement: Y,
548
- boundary: f,
549
- rootBoundary: h,
550
- padding: l,
551
- flipVariations: x,
552
- allowedAutoPlacements: v
553
- }) : Y);
554
- }, []), y = t.rects.reference, g = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, R = d[0], T = 0; T < d.length; T++) {
555
- var j = d[T], k = U(j), M = oe(j) === ee, F = [B, N].indexOf(k) >= 0, I = F ? "width" : "height", D = ce(t, {
556
- placement: j,
557
- boundary: f,
558
- rootBoundary: h,
559
- altBoundary: b,
560
- padding: l
561
- }), C = F ? M ? V : $ : M ? N : B;
562
- y[I] > g[I] && (C = ge(C));
563
- var S = ge(C), G = [];
564
- if (s && G.push(D[k] <= 0), a && G.push(D[C] <= 0, D[S] <= 0), G.every(function(_) {
565
- return _;
566
- })) {
567
- R = j, A = !1;
568
- break;
569
- }
570
- E.set(j, G);
571
- }
572
- if (A)
573
- for (var de = x ? 3 : 1, Re = function(Y) {
574
- var ae = d.find(function(me) {
575
- var J = E.get(me);
576
- if (J)
577
- return J.slice(0, Y).every(function(Te) {
578
- return Te;
579
- });
580
- });
581
- if (ae)
582
- return R = ae, "break";
583
- }, ne = de; ne > 0; ne--) {
584
- var ve = Re(ne);
585
- if (ve === "break") break;
586
- }
587
- t.placement !== R && (t.modifiersData[o]._skip = !0, t.placement = R, t.reset = !0);
588
- }
589
- }
590
- const mr = {
591
- name: "flip",
592
- enabled: !0,
593
- phase: "main",
594
- fn: vr,
595
- requiresIfExists: ["offset"],
596
- data: {
597
- _skip: !1
598
- }
599
- };
600
- function tt(e, t, r) {
601
- return r === void 0 && (r = {
602
- x: 0,
603
- y: 0
604
- }), {
605
- top: e.top - t.height - r.y,
606
- right: e.right - t.width + r.x,
607
- bottom: e.bottom - t.height + r.y,
608
- left: e.left - t.width - r.x
609
- };
610
- }
611
- function rt(e) {
612
- return [B, V, N, $].some(function(t) {
613
- return e[t] >= 0;
614
- });
615
- }
616
- function hr(e) {
617
- var t = e.state, r = e.name, o = t.rects.reference, n = t.rects.popper, s = t.modifiersData.preventOverflow, c = ce(t, {
618
- elementContext: "reference"
619
- }), a = ce(t, {
620
- altBoundary: !0
621
- }), p = tt(c, o), l = tt(a, n, s), f = rt(p), h = rt(l);
622
- t.modifiersData[r] = {
623
- referenceClippingOffsets: p,
624
- popperEscapeOffsets: l,
625
- isReferenceHidden: f,
626
- hasPopperEscaped: h
627
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
628
- "data-popper-reference-hidden": f,
629
- "data-popper-escaped": h
630
- });
631
- }
632
- const yr = {
633
- name: "hide",
634
- enabled: !0,
635
- phase: "main",
636
- requiresIfExists: ["preventOverflow"],
637
- fn: hr
638
- };
639
- function gr(e, t, r) {
640
- var o = U(e), n = [$, B].indexOf(o) >= 0 ? -1 : 1, s = typeof r == "function" ? r(Object.assign({}, t, {
641
- placement: e
642
- })) : r, c = s[0], a = s[1];
643
- return c = c || 0, a = (a || 0) * n, [$, V].indexOf(o) >= 0 ? {
644
- x: a,
645
- y: c
646
- } : {
647
- x: c,
648
- y: a
649
- };
650
- }
651
- function br(e) {
652
- var t = e.state, r = e.options, o = e.name, n = r.offset, s = n === void 0 ? [0, 0] : n, c = st.reduce(function(f, h) {
653
- return f[h] = gr(h, t.rects, s), f;
654
- }, {}), a = c[t.placement], p = a.x, l = a.y;
655
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += p, t.modifiersData.popperOffsets.y += l), t.modifiersData[o] = c;
656
- }
657
- const wr = {
658
- name: "offset",
659
- enabled: !0,
660
- phase: "main",
661
- requires: ["popperOffsets"],
662
- fn: br
663
- };
664
- function Or(e) {
665
- var t = e.state, r = e.name;
666
- t.modifiersData[r] = vt({
667
- reference: t.rects.reference,
668
- element: t.rects.popper,
669
- placement: t.placement
670
- });
671
- }
672
- const xr = {
673
- name: "popperOffsets",
674
- enabled: !0,
675
- phase: "read",
676
- fn: Or,
677
- data: {}
678
- };
679
- function Pr(e) {
680
- return e === "x" ? "y" : "x";
681
- }
682
- function Er(e) {
683
- var t = e.state, r = e.options, o = e.name, n = r.mainAxis, s = n === void 0 ? !0 : n, c = r.altAxis, a = c === void 0 ? !1 : c, p = r.boundary, l = r.rootBoundary, f = r.altBoundary, h = r.padding, b = r.tether, u = b === void 0 ? !0 : b, x = r.tetherOffset, v = x === void 0 ? 0 : x, m = ce(t, {
684
- boundary: p,
685
- rootBoundary: l,
686
- padding: h,
687
- altBoundary: f
688
- }), w = U(t.placement), P = oe(t.placement), O = !P, d = ke(w), y = Pr(d), g = t.modifiersData.popperOffsets, E = t.rects.reference, A = t.rects.popper, R = typeof v == "function" ? v(Object.assign({}, t.rects, {
689
- placement: t.placement
690
- })) : v, T = typeof R == "number" ? {
691
- mainAxis: R,
692
- altAxis: R
693
- } : Object.assign({
694
- mainAxis: 0,
695
- altAxis: 0
696
- }, R), j = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, k = {
697
- x: 0,
698
- y: 0
699
- };
700
- if (g) {
701
- if (s) {
702
- var M, F = d === "y" ? B : $, I = d === "y" ? N : V, D = d === "y" ? "height" : "width", C = g[d], S = C + m[F], G = C - m[I], de = u ? -A[D] / 2 : 0, Re = P === ee ? E[D] : A[D], ne = P === ee ? -A[D] : -E[D], ve = t.elements.arrow, _ = u && ve ? $e(ve) : {
703
- width: 0,
704
- height: 0
705
- }, Y = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ct(), ae = Y[F], me = Y[I], J = se(0, E[D], _[D]), Te = O ? E[D] / 2 - de - J - ae - T.mainAxis : Re - J - ae - T.mainAxis, ht = O ? -E[D] / 2 + de + J + me + T.mainAxis : ne + J + me + T.mainAxis, Ae = t.elements.arrow && ue(t.elements.arrow), yt = Ae ? d === "y" ? Ae.clientTop || 0 : Ae.clientLeft || 0 : 0, He = (M = j == null ? void 0 : j[d]) != null ? M : 0, gt = C + Te - He - yt, bt = C + ht - He, Ne = se(u ? Oe(S, gt) : S, C, u ? Q(G, bt) : G);
706
- g[d] = Ne, k[d] = Ne - C;
707
- }
708
- if (a) {
709
- var Ve, wt = d === "x" ? B : $, Ot = d === "x" ? N : V, K = g[y], he = y === "y" ? "height" : "width", Ue = K + m[wt], qe = K - m[Ot], je = [B, $].indexOf(w) !== -1, Fe = (Ve = j == null ? void 0 : j[y]) != null ? Ve : 0, Ie = je ? Ue : K - E[he] - A[he] - Fe + T.altAxis, Xe = je ? K + E[he] + A[he] - Fe - T.altAxis : qe, Ye = u && je ? Gt(Ie, K, Xe) : se(u ? Ie : Ue, K, u ? Xe : qe);
710
- g[y] = Ye, k[y] = Ye - K;
711
- }
712
- t.modifiersData[o] = k;
713
- }
714
- }
715
- const Rr = {
716
- name: "preventOverflow",
717
- enabled: !0,
718
- phase: "main",
719
- fn: Er,
720
- requiresIfExists: ["offset"]
721
- };
722
- function Tr(e) {
723
- return {
724
- scrollLeft: e.scrollLeft,
725
- scrollTop: e.scrollTop
726
- };
727
- }
728
- function Ar(e) {
729
- return e === W(e) || !H(e) ? Se(e) : Tr(e);
730
- }
731
- function jr(e) {
732
- var t = e.getBoundingClientRect(), r = te(t.width) / e.offsetWidth || 1, o = te(t.height) / e.offsetHeight || 1;
733
- return r !== 1 || o !== 1;
734
- }
735
- function Dr(e, t, r) {
736
- r === void 0 && (r = !1);
737
- var o = H(t), n = H(t) && jr(t), s = z(t), c = re(e, n, r), a = {
738
- scrollLeft: 0,
739
- scrollTop: 0
740
- }, p = {
741
- x: 0,
742
- y: 0
743
- };
744
- return (o || !o && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
745
- Le(s)) && (a = Ar(t)), H(t) ? (p = re(t, !0), p.x += t.clientLeft, p.y += t.clientTop) : s && (p.x = We(s))), {
746
- x: c.left + a.scrollLeft - p.x,
747
- y: c.top + a.scrollTop - p.y,
748
- width: c.width,
749
- height: c.height
750
- };
751
- }
752
- function Mr(e) {
753
- var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), o = [];
754
- e.forEach(function(s) {
755
- t.set(s.name, s);
756
- });
757
- function n(s) {
758
- r.add(s.name);
759
- var c = [].concat(s.requires || [], s.requiresIfExists || []);
760
- c.forEach(function(a) {
761
- if (!r.has(a)) {
762
- var p = t.get(a);
763
- p && n(p);
764
- }
765
- }), o.push(s);
766
- }
767
- return e.forEach(function(s) {
768
- r.has(s.name) || n(s);
769
- }), o;
770
- }
771
- function Cr(e) {
772
- var t = Mr(e);
773
- return qt.reduce(function(r, o) {
774
- return r.concat(t.filter(function(n) {
775
- return n.phase === o;
776
- }));
777
- }, []);
778
- }
779
- function Br(e) {
780
- var t;
781
- return function() {
782
- return t || (t = new Promise(function(r) {
783
- Promise.resolve().then(function() {
784
- t = void 0, r(e());
785
- });
786
- })), t;
787
- };
788
- }
789
- function $r(e) {
790
- var t = e.reduce(function(r, o) {
791
- var n = r[o.name];
792
- return r[o.name] = n ? Object.assign({}, n, o, {
793
- options: Object.assign({}, n.options, o.options),
794
- data: Object.assign({}, n.data, o.data)
795
- }) : o, r;
796
- }, {});
797
- return Object.keys(t).map(function(r) {
798
- return t[r];
799
- });
800
- }
801
- var ot = {
802
- placement: "bottom",
803
- modifiers: [],
804
- strategy: "absolute"
805
- };
806
- function nt() {
807
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
808
- t[r] = arguments[r];
809
- return !t.some(function(o) {
810
- return !(o && typeof o.getBoundingClientRect == "function");
811
- });
812
- }
813
- function kr(e) {
814
- e === void 0 && (e = {});
815
- var t = e, r = t.defaultModifiers, o = r === void 0 ? [] : r, n = t.defaultOptions, s = n === void 0 ? ot : n;
816
- return function(a, p, l) {
817
- l === void 0 && (l = s);
818
- var f = {
819
- placement: "bottom",
820
- orderedModifiers: [],
821
- options: Object.assign({}, ot, s),
822
- modifiersData: {},
823
- elements: {
824
- reference: a,
825
- popper: p
826
- },
827
- attributes: {},
828
- styles: {}
829
- }, h = [], b = !1, u = {
830
- state: f,
831
- setOptions: function(w) {
832
- var P = typeof w == "function" ? w(f.options) : w;
833
- v(), f.options = Object.assign({}, s, f.options, P), f.scrollParents = {
834
- reference: Z(a) ? pe(a) : a.contextElement ? pe(a.contextElement) : [],
835
- popper: pe(p)
836
- };
837
- var O = Cr($r([].concat(o, f.options.modifiers)));
838
- return f.orderedModifiers = O.filter(function(d) {
839
- return d.enabled;
840
- }), x(), u.update();
841
- },
842
- // Sync update – it will always be executed, even if not necessary. This
843
- // is useful for low frequency updates where sync behavior simplifies the
844
- // logic.
845
- // For high frequency updates (e.g. `resize` and `scroll` events), always
846
- // prefer the async Popper#update method
847
- forceUpdate: function() {
848
- if (!b) {
849
- var w = f.elements, P = w.reference, O = w.popper;
850
- if (nt(P, O)) {
851
- f.rects = {
852
- reference: Dr(P, ue(O), f.options.strategy === "fixed"),
853
- popper: $e(O)
854
- }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(T) {
855
- return f.modifiersData[T.name] = Object.assign({}, T.data);
856
- });
857
- for (var d = 0; d < f.orderedModifiers.length; d++) {
858
- if (f.reset === !0) {
859
- f.reset = !1, d = -1;
860
- continue;
861
- }
862
- var y = f.orderedModifiers[d], g = y.fn, E = y.options, A = E === void 0 ? {} : E, R = y.name;
863
- typeof g == "function" && (f = g({
864
- state: f,
865
- options: A,
866
- name: R,
867
- instance: u
868
- }) || f);
869
- }
870
- }
871
- }
872
- },
873
- // Async and optimistically optimized update – it will not be executed if
874
- // not necessary (debounced to run at most once-per-tick)
875
- update: Br(function() {
876
- return new Promise(function(m) {
877
- u.forceUpdate(), m(f);
878
- });
879
- }),
880
- destroy: function() {
881
- v(), b = !0;
882
- }
883
- };
884
- if (!nt(a, p))
885
- return u;
886
- u.setOptions(l).then(function(m) {
887
- !b && l.onFirstUpdate && l.onFirstUpdate(m);
888
- });
889
- function x() {
890
- f.orderedModifiers.forEach(function(m) {
891
- var w = m.name, P = m.options, O = P === void 0 ? {} : P, d = m.effect;
892
- if (typeof d == "function") {
893
- var y = d({
894
- state: f,
895
- name: w,
896
- instance: u,
897
- options: O
898
- }), g = function() {
899
- };
900
- h.push(y || g);
901
- }
902
- });
903
- }
904
- function v() {
905
- h.forEach(function(m) {
906
- return m();
907
- }), h = [];
908
- }
909
- return u;
910
- };
911
- }
912
- var Sr = [nr, xr, rr, Xt, wr, mr, Rr, Zt, yr], Wr = /* @__PURE__ */ kr({
913
- defaultModifiers: Sr
914
- });
915
- function Lr(e) {
916
- return Pt("MuiPopper", e);
917
- }
918
- Et("MuiPopper", ["root"]);
919
- function Hr(e, t) {
920
- if (t === "ltr")
921
- return e;
922
- switch (e) {
923
- case "bottom-end":
924
- return "bottom-start";
925
- case "bottom-start":
926
- return "bottom-end";
927
- case "top-end":
928
- return "top-start";
929
- case "top-start":
930
- return "top-end";
931
- default:
932
- return e;
933
- }
934
- }
935
- function xe(e) {
936
- return typeof e == "function" ? e() : e;
937
- }
938
- function Ee(e) {
939
- return e.nodeType !== void 0;
940
- }
941
- function Nr(e) {
942
- return !Ee(e);
943
- }
944
- const Vr = (e) => {
945
- const {
946
- classes: t
947
- } = e;
948
- return At({
949
- root: ["root"]
950
- }, Lr, t);
951
- }, Ur = {}, qr = /* @__PURE__ */ L.forwardRef(function(t, r) {
952
- const {
953
- anchorEl: o,
954
- children: n,
955
- direction: s,
956
- disablePortal: c,
957
- modifiers: a,
958
- open: p,
959
- placement: l,
960
- popperOptions: f,
961
- popperRef: h,
962
- slotProps: b = {},
963
- slots: u = {},
964
- TransitionProps: x,
965
- // @ts-ignore internal logic
966
- ownerState: v,
967
- // prevent from spreading to DOM, it can come from the parent component e.g. Select.
968
- ...m
969
- } = t, w = L.useRef(null), P = Ge(w, r), O = L.useRef(null), d = Ge(O, h), y = L.useRef(d);
970
- Je(() => {
971
- y.current = d;
972
- }, [d]), L.useImperativeHandle(h, () => O.current, []);
973
- const g = Hr(l, s), [E, A] = L.useState(g), [R, T] = L.useState(xe(o));
974
- L.useEffect(() => {
975
- O.current && O.current.forceUpdate();
976
- }), L.useEffect(() => {
977
- o && T(xe(o));
978
- }, [o]), Je(() => {
979
- if (!R || !p)
980
- return;
981
- const I = (S) => {
982
- A(S.placement);
983
- };
984
- if (process.env.NODE_ENV !== "production" && R && Ee(R) && R.nodeType === 1) {
985
- const S = R.getBoundingClientRect();
986
- process.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
987
- `));
988
- }
989
- let D = [{
990
- name: "preventOverflow",
991
- options: {
992
- altBoundary: c
993
- }
994
- }, {
995
- name: "flip",
996
- options: {
997
- altBoundary: c
998
- }
999
- }, {
1000
- name: "onUpdate",
1001
- enabled: !0,
1002
- phase: "afterWrite",
1003
- fn: ({
1004
- state: S
1005
- }) => {
1006
- I(S);
1007
- }
1008
- }];
1009
- a != null && (D = D.concat(a)), f && f.modifiers != null && (D = D.concat(f.modifiers));
1010
- const C = Wr(R, w.current, {
1011
- placement: g,
1012
- ...f,
1013
- modifiers: D
1014
- });
1015
- return y.current(C), () => {
1016
- C.destroy(), y.current(null);
1017
- };
1018
- }, [R, c, a, p, f, g]);
1019
- const j = {
1020
- placement: E
1021
- };
1022
- x !== null && (j.TransitionProps = x);
1023
- const k = Vr(t), M = u.root ?? "div", F = Tt({
1024
- elementType: M,
1025
- externalSlotProps: b.root,
1026
- externalForwardedProps: m,
1027
- additionalProps: {
1028
- role: "tooltip",
1029
- ref: P
1030
- },
1031
- ownerState: t,
1032
- className: k.root
1033
- });
1034
- return /* @__PURE__ */ be(M, {
1035
- ...F,
1036
- children: typeof n == "function" ? n(j) : n
1037
- });
1038
- }), mt = /* @__PURE__ */ L.forwardRef(function(t, r) {
1039
- const {
1040
- anchorEl: o,
1041
- children: n,
1042
- container: s,
1043
- direction: c = "ltr",
1044
- disablePortal: a = !1,
1045
- keepMounted: p = !1,
1046
- modifiers: l,
1047
- open: f,
1048
- placement: h = "bottom",
1049
- popperOptions: b = Ur,
1050
- popperRef: u,
1051
- style: x,
1052
- transition: v = !1,
1053
- slotProps: m = {},
1054
- slots: w = {},
1055
- ...P
1056
- } = t, [O, d] = L.useState(!0), y = () => {
1057
- d(!1);
1058
- }, g = () => {
1059
- d(!0);
1060
- };
1061
- if (!p && !f && (!v || O))
1062
- return null;
1063
- let E;
1064
- if (s)
1065
- E = s;
1066
- else if (o) {
1067
- const T = xe(o);
1068
- E = T && Ee(T) ? ze(T).body : ze(null).body;
1069
- }
1070
- const A = !f && p && (!v || O) ? "none" : void 0, R = v ? {
1071
- in: f,
1072
- onEnter: y,
1073
- onExited: g
1074
- } : void 0;
1075
- return /* @__PURE__ */ be(Rt, {
1076
- disablePortal: a,
1077
- container: E,
1078
- children: /* @__PURE__ */ be(qr, {
1079
- anchorEl: o,
1080
- direction: c,
1081
- disablePortal: a,
1082
- modifiers: l,
1083
- ref: r,
1084
- open: v ? !O : f,
1085
- placement: h,
1086
- popperOptions: b,
1087
- popperRef: u,
1088
- slotProps: m,
1089
- slots: w,
1090
- ...P,
1091
- style: {
1092
- // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
1093
- position: "fixed",
1094
- // Fix Popper.js display issue
1095
- top: 0,
1096
- left: 0,
1097
- display: A,
1098
- ...x
1099
- },
1100
- TransitionProps: R,
1101
- children: n
1102
- })
1103
- });
1104
- });
1105
- process.env.NODE_ENV !== "production" && (mt.propTypes = {
1106
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1107
- // │ These PropTypes are generated from the TypeScript type definitions. │
1108
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1109
- // └─────────────────────────────────────────────────────────────────────┘
1110
- /**
1111
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1112
- * or a function that returns either.
1113
- * It's used to set the position of the popper.
1114
- * The return value will passed as the reference object of the Popper instance.
1115
- */
1116
- anchorEl: Mt(i.oneOfType([we, i.object, i.func]), (e) => {
1117
- if (e.open) {
1118
- const t = xe(e.anchorEl);
1119
- if (t && Ee(t) && t.nodeType === 1) {
1120
- const r = t.getBoundingClientRect();
1121
- if (process.env.NODE_ENV !== "test" && r.top === 0 && r.left === 0 && r.right === 0 && r.bottom === 0)
1122
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1123
- `));
1124
- } else if (!t || typeof t.getBoundingClientRect != "function" || Nr(t) && t.contextElement != null && t.contextElement.nodeType !== 1)
1125
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
1126
- `));
1127
- }
1128
- return null;
1129
- }),
1130
- /**
1131
- * Popper render function or node.
1132
- */
1133
- children: i.oneOfType([i.node, i.func]),
1134
- /**
1135
- * An HTML element or function that returns one.
1136
- * The `container` will have the portal children appended to it.
1137
- *
1138
- * You can also provide a callback, which is called in a React layout effect.
1139
- * This lets you set the container from a ref, and also makes server-side rendering possible.
1140
- *
1141
- * By default, it uses the body of the top-level document object,
1142
- * so it's simply `document.body` most of the time.
1143
- */
1144
- container: i.oneOfType([we, i.func]),
1145
- /**
1146
- * Direction of the text.
1147
- * @default 'ltr'
1148
- */
1149
- direction: i.oneOf(["ltr", "rtl"]),
1150
- /**
1151
- * The `children` will be under the DOM hierarchy of the parent component.
1152
- * @default false
1153
- */
1154
- disablePortal: i.bool,
1155
- /**
1156
- * Always keep the children in the DOM.
1157
- * This prop can be useful in SEO situation or
1158
- * when you want to maximize the responsiveness of the Popper.
1159
- * @default false
1160
- */
1161
- keepMounted: i.bool,
1162
- /**
1163
- * Popper.js is based on a "plugin-like" architecture,
1164
- * most of its features are fully encapsulated "modifiers".
1165
- *
1166
- * A modifier is a function that is called each time Popper.js needs to
1167
- * compute the position of the popper.
1168
- * For this reason, modifiers should be very performant to avoid bottlenecks.
1169
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1170
- */
1171
- modifiers: i.arrayOf(i.shape({
1172
- data: i.object,
1173
- effect: i.func,
1174
- enabled: i.bool,
1175
- fn: i.func,
1176
- name: i.any,
1177
- options: i.object,
1178
- phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1179
- requires: i.arrayOf(i.string),
1180
- requiresIfExists: i.arrayOf(i.string)
1181
- })),
1182
- /**
1183
- * If `true`, the component is shown.
1184
- */
1185
- open: i.bool.isRequired,
1186
- /**
1187
- * Popper placement.
1188
- * @default 'bottom'
1189
- */
1190
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1191
- /**
1192
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1193
- * @default {}
1194
- */
1195
- popperOptions: i.shape({
1196
- modifiers: i.array,
1197
- onFirstUpdate: i.func,
1198
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1199
- strategy: i.oneOf(["absolute", "fixed"])
1200
- }),
1201
- /**
1202
- * A ref that points to the used popper instance.
1203
- */
1204
- popperRef: at,
1205
- /**
1206
- * The props used for each slot inside the Popper.
1207
- * @default {}
1208
- */
1209
- slotProps: i.shape({
1210
- root: i.oneOfType([i.func, i.object])
1211
- }),
1212
- /**
1213
- * The components used for each slot inside the Popper.
1214
- * Either a string to use a HTML element or a component.
1215
- * @default {}
1216
- */
1217
- slots: i.shape({
1218
- root: i.elementType
1219
- }),
1220
- /**
1221
- * Help supporting a react-transition-group/Transition component.
1222
- * @default false
1223
- */
1224
- transition: i.bool
1225
- });
1226
- const Fr = Dt(mt, {
1227
- name: "MuiPopper",
1228
- slot: "Root"
1229
- })({}), Ir = /* @__PURE__ */ L.forwardRef(function(t, r) {
1230
- const o = xt(), n = jt({
1231
- props: t,
1232
- name: "MuiPopper"
1233
- }), {
1234
- anchorEl: s,
1235
- component: c,
1236
- components: a,
1237
- componentsProps: p,
1238
- container: l,
1239
- disablePortal: f,
1240
- keepMounted: h,
1241
- modifiers: b,
1242
- open: u,
1243
- placement: x,
1244
- popperOptions: v,
1245
- popperRef: m,
1246
- transition: w,
1247
- slots: P,
1248
- slotProps: O,
1249
- ...d
1250
- } = n, y = (P == null ? void 0 : P.root) ?? (a == null ? void 0 : a.Root), g = {
1251
- anchorEl: s,
1252
- container: l,
1253
- disablePortal: f,
1254
- keepMounted: h,
1255
- modifiers: b,
1256
- open: u,
1257
- placement: x,
1258
- popperOptions: v,
1259
- popperRef: m,
1260
- transition: w,
1261
- ...d
1262
- };
1263
- return /* @__PURE__ */ be(Fr, {
1264
- as: c,
1265
- direction: o ? "rtl" : "ltr",
1266
- slots: {
1267
- root: y
1268
- },
1269
- slotProps: O ?? p,
1270
- ...g,
1271
- ref: r
1272
- });
1273
- });
1274
- process.env.NODE_ENV !== "production" && (Ir.propTypes = {
1275
- // ┌────────────────────────────── Warning ──────────────────────────────┐
1276
- // │ These PropTypes are generated from the TypeScript type definitions. │
1277
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1278
- // └─────────────────────────────────────────────────────────────────────┘
1279
- /**
1280
- * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1281
- * or a function that returns either.
1282
- * It's used to set the position of the popper.
1283
- * The return value will passed as the reference object of the Popper instance.
1284
- */
1285
- anchorEl: i.oneOfType([we, i.object, i.func]),
1286
- /**
1287
- * Popper render function or node.
1288
- */
1289
- children: i.oneOfType([i.node, i.func]),
1290
- /**
1291
- * The component used for the root node.
1292
- * Either a string to use a HTML element or a component.
1293
- */
1294
- component: i.elementType,
1295
- /**
1296
- * The components used for each slot inside the Popper.
1297
- * Either a string to use a HTML element or a component.
1298
- *
1299
- * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1300
- * @default {}
1301
- */
1302
- components: i.shape({
1303
- Root: i.elementType
1304
- }),
1305
- /**
1306
- * The props used for each slot inside the Popper.
1307
- *
1308
- * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1309
- * @default {}
1310
- */
1311
- componentsProps: i.shape({
1312
- root: i.oneOfType([i.func, i.object])
1313
- }),
1314
- /**
1315
- * An HTML element or function that returns one.
1316
- * The `container` will have the portal children appended to it.
1317
- *
1318
- * You can also provide a callback, which is called in a React layout effect.
1319
- * This lets you set the container from a ref, and also makes server-side rendering possible.
1320
- *
1321
- * By default, it uses the body of the top-level document object,
1322
- * so it's simply `document.body` most of the time.
1323
- */
1324
- container: i.oneOfType([we, i.func]),
1325
- /**
1326
- * The `children` will be under the DOM hierarchy of the parent component.
1327
- * @default false
1328
- */
1329
- disablePortal: i.bool,
1330
- /**
1331
- * Always keep the children in the DOM.
1332
- * This prop can be useful in SEO situation or
1333
- * when you want to maximize the responsiveness of the Popper.
1334
- * @default false
1335
- */
1336
- keepMounted: i.bool,
1337
- /**
1338
- * Popper.js is based on a "plugin-like" architecture,
1339
- * most of its features are fully encapsulated "modifiers".
1340
- *
1341
- * A modifier is a function that is called each time Popper.js needs to
1342
- * compute the position of the popper.
1343
- * For this reason, modifiers should be very performant to avoid bottlenecks.
1344
- * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1345
- */
1346
- modifiers: i.arrayOf(i.shape({
1347
- data: i.object,
1348
- effect: i.func,
1349
- enabled: i.bool,
1350
- fn: i.func,
1351
- name: i.any,
1352
- options: i.object,
1353
- phase: i.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1354
- requires: i.arrayOf(i.string),
1355
- requiresIfExists: i.arrayOf(i.string)
1356
- })),
1357
- /**
1358
- * If `true`, the component is shown.
1359
- */
1360
- open: i.bool.isRequired,
1361
- /**
1362
- * Popper placement.
1363
- * @default 'bottom'
1364
- */
1365
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1366
- /**
1367
- * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1368
- * @default {}
1369
- */
1370
- popperOptions: i.shape({
1371
- modifiers: i.array,
1372
- onFirstUpdate: i.func,
1373
- placement: i.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1374
- strategy: i.oneOf(["absolute", "fixed"])
1375
- }),
1376
- /**
1377
- * A ref that points to the used popper instance.
1378
- */
1379
- popperRef: at,
1380
- /**
1381
- * The props used for each slot inside the Popper.
1382
- * @default {}
1383
- */
1384
- slotProps: i.shape({
1385
- root: i.oneOfType([i.func, i.object])
1386
- }),
1387
- /**
1388
- * The components used for each slot inside the Popper.
1389
- * Either a string to use a HTML element or a component.
1390
- * @default {}
1391
- */
1392
- slots: i.shape({
1393
- root: i.elementType
1394
- }),
1395
- /**
1396
- * The system prop that allows defining system overrides as well as additional CSS styles.
1397
- */
1398
- sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
1399
- /**
1400
- * Help supporting a react-transition-group/Transition component.
1401
- * @default false
1402
- */
1403
- transition: i.bool
1404
- });
1405
- export {
1406
- Ir as P
1407
- };