@cgi-learning-hub/ui 1.4.0-dev.1742227742 → 1.4.0-dev.1742377690

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 (242) hide show
  1. package/dist/{Alert-Bsw5YTuJ.cjs → Alert-7nB8aE0d.cjs} +1 -1
  2. package/dist/{Alert-BCd1tHk0.js → Alert-BjcIurGE.js} +9 -9
  3. package/dist/{Backdrop-DOdBqGqq.cjs → Backdrop-BM-OE2Q_.cjs} +1 -1
  4. package/dist/{Backdrop-CjDitjBW.js → Backdrop-COiz4sPF.js} +6 -6
  5. package/dist/{Box-DYA49L7w.cjs → Box-BmfpLwYG.cjs} +1 -1
  6. package/dist/{Box-GMNejc_m.js → Box-C-j-U8SH.js} +3 -3
  7. package/dist/{Button-UmeKHfcL.cjs → Button-BGWvL_UD.cjs} +1 -1
  8. package/dist/{Button-x5rtZxJN.js → Button-CQQdMCSm.js} +6 -6
  9. package/dist/{ButtonBase-CU1npQuI.js → ButtonBase-CZFKUUHD.js} +4 -4
  10. package/dist/{ButtonBase-D6tfI-8D.cjs → ButtonBase-NqQjeQ4X.cjs} +1 -1
  11. package/dist/{CardContent-5bW4A4d2.cjs → CardContent-GHLuvxgm.cjs} +1 -1
  12. package/dist/{CardContent-CL_61cm-.js → CardContent-sX9Bw4Ke.js} +3 -3
  13. package/dist/{Checkbox-CtRSDqOe.js → Checkbox-1Zr36vDa.js} +7 -7
  14. package/dist/{Checkbox-DQgPXaym.cjs → Checkbox-BZYoJieY.cjs} +1 -1
  15. package/dist/{Chip-ZIBpWC4I.js → Chip-BsErraqe.js} +6 -6
  16. package/dist/{Chip-BTnuWGEU.cjs → Chip-Cu_SZxrx.cjs} +1 -1
  17. package/dist/{CircularProgress-B28FKeiH.js → CircularProgress-BBHGA0JX.js} +4 -4
  18. package/dist/{CircularProgress-cPXhiRlM.cjs → CircularProgress-CdS7-HOv.cjs} +1 -1
  19. package/dist/{CloseRounded-pP8asZiP.js → CloseRounded-B-eaQsyM.js} +1 -1
  20. package/dist/{CloseRounded-BRXBizmR.cjs → CloseRounded-CWmxueMc.cjs} +1 -1
  21. package/dist/CustomTreeItem-BIl2yiro.cjs +4 -0
  22. package/dist/{CustomTreeItem-ca-TgHSV.js → CustomTreeItem-BpAK85gf.js} +245 -238
  23. package/dist/{DatePicker-XdCuICxv.js → DatePicker-CWMXTgRG.js} +641 -635
  24. package/dist/{DatePicker-64gpvkmk.cjs → DatePicker-tyDzcyzu.cjs} +11 -10
  25. package/dist/{DefaultPropsProvider-wpBXjN8r.cjs → DefaultPropsProvider-BTnRBr0O.cjs} +1 -1
  26. package/dist/{DefaultPropsProvider-CQixa6JQ.js → DefaultPropsProvider-CXfMJdg8.js} +1 -1
  27. package/dist/{Delete-DmeDAs0n.cjs → Delete-CpTtpM4U.cjs} +1 -1
  28. package/dist/{Delete-BQA9--_t.js → Delete-DKn2lIDB.js} +1 -1
  29. package/dist/{Dialog-CgEvhrbZ.cjs → Dialog-DIHzs0ro.cjs} +1 -1
  30. package/dist/{Dialog-C-Ptqtq-.js → Dialog-pU1ZAttp.js} +9 -9
  31. package/dist/{DialogContent-DcZz4rBc.cjs → DialogContent-B-9ga3Wv.cjs} +1 -1
  32. package/dist/{DialogContent-1sjO2rQK.js → DialogContent-BEgapieO.js} +3 -3
  33. package/dist/{DialogTitle-F6JD1f_z.cjs → DialogTitle-B_UN_oL2.cjs} +1 -1
  34. package/dist/{DialogTitle-CGpa_QH9.js → DialogTitle-Dcls3mcZ.js} +5 -5
  35. package/dist/{Divider-CNGfzZqD.js → Divider-CT4XaEn6.js} +4 -4
  36. package/dist/{Divider-D3hPb7s4.cjs → Divider-iYLSpFUc.cjs} +1 -1
  37. package/dist/{Folder-DiQqYwXI.cjs → Folder-DWD_1Fux.cjs} +1 -1
  38. package/dist/{Folder-DXybV_jP.js → Folder-DoEl37QZ.js} +1 -1
  39. package/dist/{FormLabel-BlaPVlwX.js → FormLabel-BF6m-_uI.js} +4 -4
  40. package/dist/{FormLabel-XpwTqbs8.cjs → FormLabel-Cp2OFw8d.cjs} +1 -1
  41. package/dist/{Grow-D5UIC41W.js → Grow-Bk7XkPFP.js} +4 -4
  42. package/dist/{Grow-wjlsaPJ-.cjs → Grow-DXY5DOqR.cjs} +1 -1
  43. package/dist/{IconButton-CVOPR4EM.cjs → IconButton-BLZJne06.cjs} +1 -1
  44. package/dist/{IconButton-CFUIddNg.js → IconButton-BQW0xjdH.js} +6 -6
  45. package/dist/{InputAdornment-CwFEJSXv.cjs → InputAdornment-C0WI_oQg.cjs} +1 -1
  46. package/dist/{InputAdornment-GcbiriFv.js → InputAdornment-C6UfLaud.js} +5 -5
  47. package/dist/{InputBase-Cejvjv1E.cjs → InputBase-B3KOyouT.cjs} +1 -1
  48. package/dist/{InputBase-DJuF09Rf.js → InputBase-YOnatBxw.js} +7 -7
  49. package/dist/{Link-DtsZ0d_s.js → Link-C3rf4gqc.js} +7 -7
  50. package/dist/{Link-2ncpUcIp.cjs → Link-lvpmE2yz.cjs} +1 -1
  51. package/dist/{List-BTPrBGqY.js → List-CFInjv2S.js} +2 -2
  52. package/dist/{List-Bo4pzQqG.cjs → List-PQXGlDbt.cjs} +1 -1
  53. package/dist/{ListItem-C9OfYRAP.js → ListItem-BAAZxsu5.js} +5 -5
  54. package/dist/{ListItem-CB4JyjSb.cjs → ListItem-CWEvdMjN.cjs} +1 -1
  55. package/dist/{ListItemText-Bjd08uk4.cjs → ListItemText-BhxrnTkb.cjs} +1 -1
  56. package/dist/{ListItemText-B_hEVsaT.js → ListItemText-CADHegDF.js} +11 -11
  57. package/dist/{Menu-DD_bqi6q.js → Menu-BgO92SV3.js} +12 -12
  58. package/dist/{Menu-XypIRgTl.cjs → Menu-DBacrp-P.cjs} +1 -1
  59. package/dist/{MenuItem-Byj-2QQd.js → MenuItem-B8eWAj8E.js} +7 -7
  60. package/dist/{MenuItem-vb36Ljmd.cjs → MenuItem-DkcVAo3U.cjs} +1 -1
  61. package/dist/{Modal-S2P14Nsp.js → Modal-CFv4UMTP.js} +8 -8
  62. package/dist/{Modal-BG3hPYyH.cjs → Modal-kUvS-N46.cjs} +1 -1
  63. package/dist/{MoreVert-CxgmXooO.cjs → MoreVert-B_Gz5Gfx.cjs} +1 -1
  64. package/dist/{MoreVert-rsN-POLa.js → MoreVert-Dq8BqKg4.js} +1 -1
  65. package/dist/{Paper-EvOTlB_Q.cjs → Paper-ByOgFIEE.cjs} +1 -1
  66. package/dist/{Paper-BrsaeLlu.js → Paper-DeL_n4k9.js} +4 -4
  67. package/dist/{Popper-BNftxeQ5.js → Popper-BKxRTMsO.js} +6 -6
  68. package/dist/{Popper-BaxEpkdE.cjs → Popper-CsQqc5DE.cjs} +1 -1
  69. package/dist/{Portal-BLEnzj1v.js → Portal-7MKUQzjh.js} +2 -2
  70. package/dist/{Portal-Bw9XOIah.cjs → Portal-DhGy1jKe.cjs} +1 -1
  71. package/dist/{Radio-CRTKwNe5.js → Radio-BVfoGshx.js} +9 -9
  72. package/dist/{Radio-CSl8GQNk.cjs → Radio-DG-k6cXx.cjs} +1 -1
  73. package/dist/{RadioGroup-NjI5PlIb.js → RadioGroup-DcqRUtV8.js} +3 -3
  74. package/dist/{RadioGroup-DL4hhZzK.cjs → RadioGroup-Dd0mX-H2.cjs} +1 -1
  75. package/dist/{Select-C0jrZLRg.js → Select-Vnsr3NSv.js} +10 -10
  76. package/dist/{Select-8kBUq_SZ.cjs → Select-b6liJFDI.cjs} +1 -1
  77. package/dist/{Stack-Bm7M81n8.js → Stack-PQFKjbdN.js} +4 -4
  78. package/dist/{Stack-B82ckLGm.cjs → Stack-gtxG2YLo.cjs} +1 -1
  79. package/dist/{Switch-DWKHe4z_.cjs → Switch-BlwDxL6O.cjs} +1 -1
  80. package/dist/{Switch-D5FnE7HW.js → Switch-Bn8zlIOf.js} +6 -6
  81. package/dist/{SwitchBase-CnA6TA2P.cjs → SwitchBase-DtKlxrES.cjs} +1 -1
  82. package/dist/{SwitchBase-91Mand9t.js → SwitchBase-QwOXoy8f.js} +5 -5
  83. package/dist/Tab-A0R3g6rB.js +1394 -0
  84. package/dist/Tab-Dx7V4E6B.cjs +4 -0
  85. package/dist/{TextField-BzqflYRV.cjs → TextField-CB2n4aV8.cjs} +1 -1
  86. package/dist/{TextField-D5jS5WjF.js → TextField-Di6Nfe3O.js} +8 -8
  87. package/dist/ToggleButtonGroup-DrH5Qy6D.cjs +142 -0
  88. package/dist/{ToggleButtonGroup-CipWZLXf.js → ToggleButtonGroup-XrVMrsxz.js} +2499 -2224
  89. package/dist/{Tooltip-DJmbLjU6.cjs → Tooltip-D0jvnXYu.cjs} +1 -1
  90. package/dist/{Tooltip-DgTrUaHJ.js → Tooltip-KTkLBRQj.js} +10 -10
  91. package/dist/{Typography-DPij13XT.cjs → Typography-3CpuuLtj.cjs} +1 -1
  92. package/dist/{Typography-Ct2Sc9KM.js → Typography-DZ11k9cZ.js} +5 -5
  93. package/dist/{capitalize-CEByPz9F.cjs → capitalize-B3tmp8MO.cjs} +1 -1
  94. package/dist/{capitalize-BJ0FEsU7.js → capitalize-Bs7Xs33U.js} +1 -1
  95. package/dist/components/Alert/Alert.cjs.js +1 -1
  96. package/dist/components/Alert/Alert.es.js +1 -1
  97. package/dist/components/Alert/index.cjs.js +1 -1
  98. package/dist/components/Alert/index.es.js +1 -1
  99. package/dist/components/Button/Button.cjs.js +1 -1
  100. package/dist/components/Button/Button.es.js +2 -2
  101. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  102. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  103. package/dist/components/DatePicker/index.cjs.js +1 -1
  104. package/dist/components/DatePicker/index.es.js +1 -1
  105. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  106. package/dist/components/Dialog/Dialog.es.js +2 -2
  107. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  108. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  109. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  110. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  111. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  112. package/dist/components/FileList/FileIcon.es.js +1 -1
  113. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  114. package/dist/components/FileList/FileListItem.es.js +4 -4
  115. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  116. package/dist/components/FolderCard/FolderCard.d.ts +1 -0
  117. package/dist/components/FolderCard/FolderCard.es.js +32 -31
  118. package/dist/components/FolderCard/styles.cjs.js +1 -1
  119. package/dist/components/FolderCard/styles.d.ts +9 -0
  120. package/dist/components/FolderCard/styles.es.js +14 -5
  121. package/dist/components/FolderCard/types.cjs.js +1 -1
  122. package/dist/components/FolderCard/types.d.ts +3 -2
  123. package/dist/components/FolderCard/types.es.js +6 -6
  124. package/dist/components/Heading/Heading.cjs.js +1 -1
  125. package/dist/components/Heading/Heading.es.js +2 -2
  126. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  127. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  128. package/dist/components/Loader/Loader.cjs.js +1 -1
  129. package/dist/components/Loader/Loader.es.js +1 -1
  130. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  131. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  132. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  133. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  134. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  135. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  136. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  137. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  138. package/dist/components/TreeView/TreeView.cjs.js +4 -4
  139. package/dist/components/TreeView/TreeView.es.js +12 -13
  140. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  141. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  142. package/dist/components/TreeView/utils.cjs.js +1 -1
  143. package/dist/components/TreeView/utils.es.js +3 -3
  144. package/dist/components/index.cjs.js +1 -1
  145. package/dist/components/index.d.ts +9 -1
  146. package/dist/components/index.es.js +367 -356
  147. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  148. package/dist/components/stories/Alert.stories.es.js +1 -1
  149. package/dist/components/stories/Button.stories.cjs.js +1 -1
  150. package/dist/components/stories/Button.stories.es.js +1 -1
  151. package/dist/components/stories/Card.stories.cjs.js +1 -1
  152. package/dist/components/stories/Card.stories.es.js +2 -2
  153. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  154. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  155. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  156. package/dist/components/stories/Chip.stories.es.js +1 -1
  157. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  158. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  159. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  160. package/dist/components/stories/Dialog.stories.es.js +2 -2
  161. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  162. package/dist/components/stories/Divider.stories.es.js +1 -1
  163. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  164. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  165. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  166. package/dist/components/stories/Heading.stories.es.js +2 -2
  167. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  168. package/dist/components/stories/IconButton.stories.es.js +2 -2
  169. package/dist/components/stories/Link.stories.cjs.js +1 -1
  170. package/dist/components/stories/Link.stories.es.js +1 -1
  171. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  172. package/dist/components/stories/Menu.stories.es.js +2 -2
  173. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  174. package/dist/components/stories/Paper.stories.es.js +1 -1
  175. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  176. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  177. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  178. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  179. package/dist/components/stories/Select.stories.cjs.js +1 -1
  180. package/dist/components/stories/Select.stories.es.js +3 -3
  181. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  182. package/dist/components/stories/TabList.stories.es.js +21 -184
  183. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  184. package/dist/components/stories/TextField.stories.es.js +1 -1
  185. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  186. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  187. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  188. package/dist/components/stories/TreeView.stories.es.js +9 -9
  189. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  190. package/dist/components/stories/Typography.stories.es.js +1 -1
  191. package/dist/{createSvgIcon-DJMYlO0S.cjs → createSvgIcon-2wwaxLPT.cjs} +1 -1
  192. package/dist/{createSvgIcon-B62eln-G.js → createSvgIcon-BFqOnlgU.js} +4 -4
  193. package/dist/{dividerClasses-DjJZQ2Lt.js → dividerClasses-BYkvalOn.js} +1 -1
  194. package/dist/{dividerClasses-Dq1bCO_s.cjs → dividerClasses-izm7KFVg.cjs} +1 -1
  195. package/dist/{elementTypeAcceptingRef-B04tk6ag.js → elementTypeAcceptingRef-1usJq_B8.js} +1 -1
  196. package/dist/{elementTypeAcceptingRef-BjgxF5Bq.cjs → elementTypeAcceptingRef-GoqLuvj1.cjs} +1 -1
  197. package/dist/{extendSxProp-D-oLUmkR.cjs → extendSxProp-Bv3E507G.cjs} +1 -1
  198. package/dist/{extendSxProp-CgS-3O19.js → extendSxProp-D_IkoDXB.js} +1 -1
  199. package/dist/{generateUtilityClasses-EXBFO7eY.js → generateUtilityClasses-CqzQXpT_.js} +23 -23
  200. package/dist/{generateUtilityClasses-De8NU9_E.cjs → generateUtilityClasses-KugHyZhN.cjs} +5 -5
  201. package/dist/{getReactElementRef-CTRMtaOQ.cjs → getReactElementRef-D7IvykPI.cjs} +1 -1
  202. package/dist/{getReactElementRef-DjLvttrJ.js → getReactElementRef-DtLerx40.js} +1 -1
  203. package/dist/{index-Cr54V0sz.cjs → index-9hEUqvaJ.cjs} +1 -1
  204. package/dist/{index-CVFzneYe.cjs → index-BomeQRLD.cjs} +1 -1
  205. package/dist/{index-DcwdJ8a_.js → index-C7WfZsMe.js} +1 -1
  206. package/dist/{index-BZ7ldAwE.js → index-CFIk4hVM.js} +4 -4
  207. package/dist/{index-T-RSwkXB.cjs → index-DS8G_wjP.cjs} +1 -1
  208. package/dist/{index-D_xl88AE.js → index-sDFEVHTg.js} +1 -1
  209. package/dist/index.cjs.js +1 -1
  210. package/dist/index.es.js +367 -356
  211. package/dist/{listItemTextClasses-Kxu3VILo.js → listItemTextClasses-C0D3xQur.js} +1 -1
  212. package/dist/{listItemTextClasses-BCuJjsDp.cjs → listItemTextClasses-CQXcckDA.cjs} +1 -1
  213. package/dist/{memoTheme-DJWQ754x.js → memoTheme-B0xVysYu.js} +1 -1
  214. package/dist/{memoTheme-DrjvJtTP.cjs → memoTheme-WwIyYqBX.cjs} +1 -1
  215. package/dist/{refType-Bpj8bod6.js → refType-BvSJNaoq.js} +1 -1
  216. package/dist/{refType-BkobP3bK.cjs → refType-D-n-tVSl.cjs} +1 -1
  217. package/dist/{resolveComponentProps-PuUs-PsA.cjs → resolveComponentProps-Byi_59AN.cjs} +1 -1
  218. package/dist/{resolveComponentProps-CIdMNno4.js → resolveComponentProps-Ctw0-dUN.js} +1 -1
  219. package/dist/{useSlot-CC2AaOjN.cjs → useSlot-CGbU9jGm.cjs} +1 -1
  220. package/dist/{useSlot-RbAtahZu.js → useSlot-CqjfyGd9.js} +1 -1
  221. package/dist/{useSlotProps-U2Iu6E0j.js → useSlotProps-Ceyorp-u.js} +1 -1
  222. package/dist/{useSlotProps-BTRhbYwP.cjs → useSlotProps-DfO7r_4Y.cjs} +1 -1
  223. package/dist/{useTheme-CUKf8NYA.js → useTheme-2JCMQS-E.js} +1 -1
  224. package/dist/{useTheme-7RGQRN-h.cjs → useTheme-B6wow4M9.cjs} +1 -1
  225. package/dist/useTheme-DepbBZga.js +11 -0
  226. package/dist/{useTheme-CIf2b2wK.cjs → useTheme-MahNaB8C.cjs} +1 -1
  227. package/dist/useThemeProps-BqypsO1h.cjs +1 -0
  228. package/dist/{useThemeProps-Bxjrhw9q.js → useThemeProps-Cuazh32X.js} +2 -2
  229. package/dist/useThemeProps-Drd5oJEF.js +17 -0
  230. package/dist/{useThemeProps-AnS1uVAy.cjs → useThemeProps-RdxbcMsR.cjs} +1 -1
  231. package/dist/{utils-B2jSugkj.js → utils-BVg32WSe.js} +1 -1
  232. package/dist/{utils-lBmb5bp_.cjs → utils-CUU5fjzL.cjs} +1 -1
  233. package/package.json +1 -1
  234. package/dist/CustomTreeItem-DBgMgvLx.cjs +0 -3
  235. package/dist/Tabs-C5VIdTSp.js +0 -1227
  236. package/dist/Tabs-Csp29aqN.cjs +0 -4
  237. package/dist/ToggleButtonGroup-Bpi3kmko.cjs +0 -140
  238. package/dist/useTheme-Czi7oO55.js +0 -11
  239. package/dist/useThemeProps-DxBEHys5.cjs +0 -1
  240. package/dist/useThemeProps-v-SfXuGn.js +0 -17
  241. package/dist/warning-C8W811fV.js +0 -11
  242. package/dist/warning-DMUNDgRg.cjs +0 -2
@@ -0,0 +1,1394 @@
1
+ import * as s from "react";
2
+ import { P as o, G as re, H as le, I as R, S as so } from "./generateUtilityClasses-CqzQXpT_.js";
3
+ import { jsx as T, jsxs as K } from "react/jsx-runtime";
4
+ import { u as $e } from "./index-sDFEVHTg.js";
5
+ import { u as ao } from "./useTheme-DepbBZga.js";
6
+ import { u as he, s as $, c as se } from "./DefaultPropsProvider-CXfMJdg8.js";
7
+ import { m as me } from "./memoTheme-B0xVysYu.js";
8
+ import { u as io } from "./useEnhancedEffect-CJGo-L3B.js";
9
+ import { d as We } from "./debounce-46wSf_lW.js";
10
+ import { o as De } from "./ownerWindow-niciwP7I.js";
11
+ import { c as je } from "./createSvgIcon-BFqOnlgU.js";
12
+ import { u as ne } from "./useSlotProps-Ceyorp-u.js";
13
+ import { B as ze } from "./ButtonBase-CZFKUUHD.js";
14
+ import { u as fe } from "./useEventCallback-BAQJJ3ye.js";
15
+ import { o as co } from "./ownerDocument-CUrv0DIK.js";
16
+ import { r as uo } from "./refType-BvSJNaoq.js";
17
+ import { u as po } from "./useThemeProps-Drd5oJEF.js";
18
+ import { c as Le } from "./capitalize-Bs7Xs33U.js";
19
+ import { u as fo } from "./unsupportedProp-BuVD30Gh.js";
20
+ const ve = /* @__PURE__ */ s.createContext(null);
21
+ process.env.NODE_ENV !== "production" && (ve.displayName = "TabContext");
22
+ function bo() {
23
+ const [t, e] = s.useState(null);
24
+ return s.useEffect(() => {
25
+ e(`mui-p-${Math.round(Math.random() * 1e5)}`);
26
+ }, []), t;
27
+ }
28
+ function ho(t) {
29
+ const {
30
+ children: e,
31
+ value: n
32
+ } = t, a = bo(), i = s.useMemo(() => ({
33
+ idPrefix: a,
34
+ value: n
35
+ }), [a, n]);
36
+ return /* @__PURE__ */ T(ve.Provider, {
37
+ value: i,
38
+ children: e
39
+ });
40
+ }
41
+ process.env.NODE_ENV !== "production" && (ho.propTypes = {
42
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
43
+ // │ These PropTypes are generated from the TypeScript type definitions. │
44
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
45
+ // └─────────────────────────────────────────────────────────────────────┘
46
+ /**
47
+ * The content of the component.
48
+ */
49
+ children: o.node,
50
+ /**
51
+ * The value of the currently selected `Tab`.
52
+ */
53
+ value: o.oneOfType([o.number, o.string]).isRequired
54
+ });
55
+ function Ae() {
56
+ return s.useContext(ve);
57
+ }
58
+ function Fe(t, e) {
59
+ const {
60
+ idPrefix: n
61
+ } = t;
62
+ return n === null ? null : `${t.idPrefix}-P-${e}`;
63
+ }
64
+ function Ve(t, e) {
65
+ const {
66
+ idPrefix: n
67
+ } = t;
68
+ return n === null ? null : `${t.idPrefix}-T-${e}`;
69
+ }
70
+ function mo(t) {
71
+ return (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2;
72
+ }
73
+ function vo(t, e, n, a = {}, i = () => {
74
+ }) {
75
+ const {
76
+ ease: d = mo,
77
+ duration: p = 300
78
+ // standard
79
+ } = a;
80
+ let f = null;
81
+ const h = e[t];
82
+ let S = !1;
83
+ const y = () => {
84
+ S = !0;
85
+ }, m = (v) => {
86
+ if (S) {
87
+ i(new Error("Animation cancelled"));
88
+ return;
89
+ }
90
+ f === null && (f = v);
91
+ const g = Math.min(1, (v - f) / p);
92
+ if (e[t] = d(g) * (n - h) + h, g >= 1) {
93
+ requestAnimationFrame(() => {
94
+ i(null);
95
+ });
96
+ return;
97
+ }
98
+ requestAnimationFrame(m);
99
+ };
100
+ return h === n ? (i(new Error("Element already at target position")), y) : (requestAnimationFrame(m), y);
101
+ }
102
+ const So = {
103
+ width: 99,
104
+ height: 99,
105
+ position: "absolute",
106
+ top: -9999,
107
+ overflow: "scroll"
108
+ };
109
+ function He(t) {
110
+ const {
111
+ onChange: e,
112
+ ...n
113
+ } = t, a = s.useRef(), i = s.useRef(null), d = () => {
114
+ a.current = i.current.offsetHeight - i.current.clientHeight;
115
+ };
116
+ return io(() => {
117
+ const p = We(() => {
118
+ const h = a.current;
119
+ d(), h !== a.current && e(a.current);
120
+ }), f = De(i.current);
121
+ return f.addEventListener("resize", p), () => {
122
+ p.clear(), f.removeEventListener("resize", p);
123
+ };
124
+ }, [e]), s.useEffect(() => {
125
+ d(), e(a.current);
126
+ }, [e]), /* @__PURE__ */ T("div", {
127
+ style: So,
128
+ ...n,
129
+ ref: i
130
+ });
131
+ }
132
+ process.env.NODE_ENV !== "production" && (He.propTypes = {
133
+ onChange: o.func.isRequired
134
+ });
135
+ const yo = je(/* @__PURE__ */ T("path", {
136
+ d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
137
+ }), "KeyboardArrowLeft"), To = je(/* @__PURE__ */ T("path", {
138
+ d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
139
+ }), "KeyboardArrowRight");
140
+ function go(t) {
141
+ return le("MuiTabScrollButton", t);
142
+ }
143
+ const wo = re("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), xo = (t) => {
144
+ const {
145
+ classes: e,
146
+ orientation: n,
147
+ disabled: a
148
+ } = t;
149
+ return se({
150
+ root: ["root", n, a && "disabled"]
151
+ }, go, e);
152
+ }, Co = $(ze, {
153
+ name: "MuiTabScrollButton",
154
+ slot: "Root",
155
+ overridesResolver: (t, e) => {
156
+ const {
157
+ ownerState: n
158
+ } = t;
159
+ return [e.root, n.orientation && e[n.orientation]];
160
+ }
161
+ })({
162
+ width: 40,
163
+ flexShrink: 0,
164
+ opacity: 0.8,
165
+ [`&.${wo.disabled}`]: {
166
+ opacity: 0
167
+ },
168
+ variants: [{
169
+ props: {
170
+ orientation: "vertical"
171
+ },
172
+ style: {
173
+ width: "100%",
174
+ height: 40,
175
+ "& svg": {
176
+ transform: "var(--TabScrollButton-svgRotate)"
177
+ }
178
+ }
179
+ }]
180
+ }), Ue = /* @__PURE__ */ s.forwardRef(function(e, n) {
181
+ const a = he({
182
+ props: e,
183
+ name: "MuiTabScrollButton"
184
+ }), {
185
+ className: i,
186
+ slots: d = {},
187
+ slotProps: p = {},
188
+ direction: f,
189
+ orientation: h,
190
+ disabled: S,
191
+ ...y
192
+ } = a, m = $e(), v = {
193
+ isRtl: m,
194
+ ...a
195
+ }, g = xo(v), W = d.StartScrollButtonIcon ?? yo, E = d.EndScrollButtonIcon ?? To, w = ne({
196
+ elementType: W,
197
+ externalSlotProps: p.startScrollButtonIcon,
198
+ additionalProps: {
199
+ fontSize: "small"
200
+ },
201
+ ownerState: v
202
+ }), F = ne({
203
+ elementType: E,
204
+ externalSlotProps: p.endScrollButtonIcon,
205
+ additionalProps: {
206
+ fontSize: "small"
207
+ },
208
+ ownerState: v
209
+ });
210
+ return /* @__PURE__ */ T(Co, {
211
+ component: "div",
212
+ className: R(g.root, i),
213
+ ref: n,
214
+ role: null,
215
+ ownerState: v,
216
+ tabIndex: null,
217
+ ...y,
218
+ style: {
219
+ ...y.style,
220
+ ...h === "vertical" && {
221
+ "--TabScrollButton-svgRotate": `rotate(${m ? -90 : 90}deg)`
222
+ }
223
+ },
224
+ children: f === "left" ? /* @__PURE__ */ T(W, {
225
+ ...w
226
+ }) : /* @__PURE__ */ T(E, {
227
+ ...F
228
+ })
229
+ });
230
+ });
231
+ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
232
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
233
+ // │ These PropTypes are generated from the TypeScript type definitions. │
234
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
235
+ // └─────────────────────────────────────────────────────────────────────┘
236
+ /**
237
+ * The content of the component.
238
+ */
239
+ children: o.node,
240
+ /**
241
+ * Override or extend the styles applied to the component.
242
+ */
243
+ classes: o.object,
244
+ /**
245
+ * @ignore
246
+ */
247
+ className: o.string,
248
+ /**
249
+ * The direction the button should indicate.
250
+ */
251
+ direction: o.oneOf(["left", "right"]).isRequired,
252
+ /**
253
+ * If `true`, the component is disabled.
254
+ * @default false
255
+ */
256
+ disabled: o.bool,
257
+ /**
258
+ * The component orientation (layout flow direction).
259
+ */
260
+ orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
261
+ /**
262
+ * The extra props for the slot components.
263
+ * You can override the existing props or add new ones.
264
+ * @default {}
265
+ */
266
+ slotProps: o.shape({
267
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
268
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
269
+ }),
270
+ /**
271
+ * The components used for each slot inside.
272
+ * @default {}
273
+ */
274
+ slots: o.shape({
275
+ EndScrollButtonIcon: o.elementType,
276
+ StartScrollButtonIcon: o.elementType
277
+ }),
278
+ /**
279
+ * @ignore
280
+ */
281
+ style: o.object,
282
+ /**
283
+ * The system prop that allows defining system overrides as well as additional CSS styles.
284
+ */
285
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
286
+ });
287
+ function Bo(t) {
288
+ return le("MuiTabs", t);
289
+ }
290
+ const be = re("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Pe = (t, e) => t === e ? t.firstChild : e && e.nextElementSibling ? e.nextElementSibling : t.firstChild, Re = (t, e) => t === e ? t.lastChild : e && e.previousElementSibling ? e.previousElementSibling : t.lastChild, te = (t, e, n) => {
291
+ let a = !1, i = n(t, e);
292
+ for (; i; ) {
293
+ if (i === t.firstChild) {
294
+ if (a)
295
+ return;
296
+ a = !0;
297
+ }
298
+ const d = i.disabled || i.getAttribute("aria-disabled") === "true";
299
+ if (!i.hasAttribute("tabindex") || d)
300
+ i = n(t, i);
301
+ else {
302
+ i.focus();
303
+ return;
304
+ }
305
+ }
306
+ }, Eo = (t) => {
307
+ const {
308
+ vertical: e,
309
+ fixed: n,
310
+ hideScrollbar: a,
311
+ scrollableX: i,
312
+ scrollableY: d,
313
+ centered: p,
314
+ scrollButtonsHideMobile: f,
315
+ classes: h
316
+ } = t;
317
+ return se({
318
+ root: ["root", e && "vertical"],
319
+ scroller: ["scroller", n && "fixed", a && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
320
+ flexContainer: ["flexContainer", e && "flexContainerVertical", p && "centered"],
321
+ indicator: ["indicator"],
322
+ scrollButtons: ["scrollButtons", f && "scrollButtonsHideMobile"],
323
+ scrollableX: [i && "scrollableX"],
324
+ hideScrollbar: [a && "hideScrollbar"]
325
+ }, Bo, h);
326
+ }, Io = $("div", {
327
+ name: "MuiTabs",
328
+ slot: "Root",
329
+ overridesResolver: (t, e) => {
330
+ const {
331
+ ownerState: n
332
+ } = t;
333
+ return [{
334
+ [`& .${be.scrollButtons}`]: e.scrollButtons
335
+ }, {
336
+ [`& .${be.scrollButtons}`]: n.scrollButtonsHideMobile && e.scrollButtonsHideMobile
337
+ }, e.root, n.vertical && e.vertical];
338
+ }
339
+ })(me(({
340
+ theme: t
341
+ }) => ({
342
+ overflow: "hidden",
343
+ minHeight: 48,
344
+ // Add iOS momentum scrolling for iOS < 13.0
345
+ WebkitOverflowScrolling: "touch",
346
+ display: "flex",
347
+ variants: [{
348
+ props: ({
349
+ ownerState: e
350
+ }) => e.vertical,
351
+ style: {
352
+ flexDirection: "column"
353
+ }
354
+ }, {
355
+ props: ({
356
+ ownerState: e
357
+ }) => e.scrollButtonsHideMobile,
358
+ style: {
359
+ [`& .${be.scrollButtons}`]: {
360
+ [t.breakpoints.down("sm")]: {
361
+ display: "none"
362
+ }
363
+ }
364
+ }
365
+ }]
366
+ }))), Mo = $("div", {
367
+ name: "MuiTabs",
368
+ slot: "Scroller",
369
+ overridesResolver: (t, e) => {
370
+ const {
371
+ ownerState: n
372
+ } = t;
373
+ return [e.scroller, n.fixed && e.fixed, n.hideScrollbar && e.hideScrollbar, n.scrollableX && e.scrollableX, n.scrollableY && e.scrollableY];
374
+ }
375
+ })({
376
+ position: "relative",
377
+ display: "inline-block",
378
+ flex: "1 1 auto",
379
+ whiteSpace: "nowrap",
380
+ variants: [{
381
+ props: ({
382
+ ownerState: t
383
+ }) => t.fixed,
384
+ style: {
385
+ overflowX: "hidden",
386
+ width: "100%"
387
+ }
388
+ }, {
389
+ props: ({
390
+ ownerState: t
391
+ }) => t.hideScrollbar,
392
+ style: {
393
+ // Hide dimensionless scrollbar on macOS
394
+ scrollbarWidth: "none",
395
+ // Firefox
396
+ "&::-webkit-scrollbar": {
397
+ display: "none"
398
+ // Safari + Chrome
399
+ }
400
+ }
401
+ }, {
402
+ props: ({
403
+ ownerState: t
404
+ }) => t.scrollableX,
405
+ style: {
406
+ overflowX: "auto",
407
+ overflowY: "hidden"
408
+ }
409
+ }, {
410
+ props: ({
411
+ ownerState: t
412
+ }) => t.scrollableY,
413
+ style: {
414
+ overflowY: "auto",
415
+ overflowX: "hidden"
416
+ }
417
+ }]
418
+ }), No = $("div", {
419
+ name: "MuiTabs",
420
+ slot: "FlexContainer",
421
+ overridesResolver: (t, e) => {
422
+ const {
423
+ ownerState: n
424
+ } = t;
425
+ return [e.flexContainer, n.vertical && e.flexContainerVertical, n.centered && e.centered];
426
+ }
427
+ })({
428
+ display: "flex",
429
+ variants: [{
430
+ props: ({
431
+ ownerState: t
432
+ }) => t.vertical,
433
+ style: {
434
+ flexDirection: "column"
435
+ }
436
+ }, {
437
+ props: ({
438
+ ownerState: t
439
+ }) => t.centered,
440
+ style: {
441
+ justifyContent: "center"
442
+ }
443
+ }]
444
+ }), Po = $("span", {
445
+ name: "MuiTabs",
446
+ slot: "Indicator",
447
+ overridesResolver: (t, e) => e.indicator
448
+ })(me(({
449
+ theme: t
450
+ }) => ({
451
+ position: "absolute",
452
+ height: 2,
453
+ bottom: 0,
454
+ width: "100%",
455
+ transition: t.transitions.create(),
456
+ variants: [{
457
+ props: {
458
+ indicatorColor: "primary"
459
+ },
460
+ style: {
461
+ backgroundColor: (t.vars || t).palette.primary.main
462
+ }
463
+ }, {
464
+ props: {
465
+ indicatorColor: "secondary"
466
+ },
467
+ style: {
468
+ backgroundColor: (t.vars || t).palette.secondary.main
469
+ }
470
+ }, {
471
+ props: ({
472
+ ownerState: e
473
+ }) => e.vertical,
474
+ style: {
475
+ height: "100%",
476
+ width: 2,
477
+ right: 0
478
+ }
479
+ }]
480
+ }))), Ro = $(He)({
481
+ overflowX: "auto",
482
+ overflowY: "hidden",
483
+ // Hide dimensionless scrollbar on macOS
484
+ scrollbarWidth: "none",
485
+ // Firefox
486
+ "&::-webkit-scrollbar": {
487
+ display: "none"
488
+ // Safari + Chrome
489
+ }
490
+ }), Oe = {};
491
+ let ke = !1;
492
+ const Xe = /* @__PURE__ */ s.forwardRef(function(e, n) {
493
+ const a = he({
494
+ props: e,
495
+ name: "MuiTabs"
496
+ }), i = ao(), d = $e(), {
497
+ "aria-label": p,
498
+ "aria-labelledby": f,
499
+ action: h,
500
+ centered: S = !1,
501
+ children: y,
502
+ className: m,
503
+ component: v = "div",
504
+ allowScrollButtonsMobile: g = !1,
505
+ indicatorColor: W = "primary",
506
+ onChange: E,
507
+ orientation: w = "horizontal",
508
+ ScrollButtonComponent: F = Ue,
509
+ scrollButtons: M = "auto",
510
+ selectionFollowsFocus: ae,
511
+ slots: V = {},
512
+ slotProps: U = {},
513
+ TabIndicatorProps: H = {},
514
+ TabScrollButtonProps: D = {},
515
+ textColor: G = "primary",
516
+ value: O,
517
+ variant: N = "standard",
518
+ visibleScrollbar: ie = !1,
519
+ ..._e
520
+ } = a, C = N === "scrollable", B = w === "vertical", X = B ? "scrollTop" : "scrollLeft", J = B ? "top" : "left", Q = B ? "bottom" : "right", ce = B ? "clientHeight" : "clientWidth", _ = B ? "height" : "width", j = {
521
+ ...a,
522
+ component: v,
523
+ allowScrollButtonsMobile: g,
524
+ indicatorColor: W,
525
+ orientation: w,
526
+ vertical: B,
527
+ scrollButtons: M,
528
+ textColor: G,
529
+ variant: N,
530
+ visibleScrollbar: ie,
531
+ fixed: !C,
532
+ hideScrollbar: C && !ie,
533
+ scrollableX: C && !B,
534
+ scrollableY: C && B,
535
+ centered: S && !C,
536
+ scrollButtonsHideMobile: !g
537
+ }, k = Eo(j), Ye = ne({
538
+ elementType: V.StartScrollButtonIcon,
539
+ externalSlotProps: U.startScrollButtonIcon,
540
+ ownerState: j
541
+ }), qe = ne({
542
+ elementType: V.EndScrollButtonIcon,
543
+ externalSlotProps: U.endScrollButtonIcon,
544
+ ownerState: j
545
+ });
546
+ process.env.NODE_ENV !== "production" && S && C && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
547
+ const [Se, Ke] = s.useState(!1), [z, ye] = s.useState(Oe), [Te, Ge] = s.useState(!1), [ge, Je] = s.useState(!1), [we, Qe] = s.useState(!1), [xe, Ze] = s.useState({
548
+ overflow: "hidden",
549
+ scrollbarWidth: 0
550
+ }), Z = /* @__PURE__ */ new Map(), P = s.useRef(null), L = s.useRef(null), Ce = () => {
551
+ const r = P.current;
552
+ let l;
553
+ if (r) {
554
+ const u = r.getBoundingClientRect();
555
+ l = {
556
+ clientWidth: r.clientWidth,
557
+ scrollLeft: r.scrollLeft,
558
+ scrollTop: r.scrollTop,
559
+ scrollWidth: r.scrollWidth,
560
+ top: u.top,
561
+ bottom: u.bottom,
562
+ left: u.left,
563
+ right: u.right
564
+ };
565
+ }
566
+ let c;
567
+ if (r && O !== !1) {
568
+ const u = L.current.children;
569
+ if (u.length > 0) {
570
+ const b = u[Z.get(O)];
571
+ process.env.NODE_ENV !== "production" && (b || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${O}".`, Z.keys ? `You can provide one of the following values: ${Array.from(Z.keys()).join(", ")}.` : null].join(`
572
+ `))), c = b ? b.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !ke && c && c.width === 0 && c.height === 0 && // if the whole Tabs component is hidden, don't warn
573
+ l.clientWidth !== 0 && (l = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${O}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
574
+ `)), ke = !0);
575
+ }
576
+ }
577
+ return {
578
+ tabsMeta: l,
579
+ tabMeta: c
580
+ };
581
+ }, Y = fe(() => {
582
+ const {
583
+ tabsMeta: r,
584
+ tabMeta: l
585
+ } = Ce();
586
+ let c = 0, u;
587
+ B ? (u = "top", l && r && (c = l.top - r.top + r.scrollTop)) : (u = d ? "right" : "left", l && r && (c = (d ? -1 : 1) * (l[u] - r[u] + r.scrollLeft)));
588
+ const b = {
589
+ [u]: c,
590
+ // May be wrong until the font is loaded.
591
+ [_]: l ? l[_] : 0
592
+ };
593
+ if (typeof z[u] != "number" || typeof z[_] != "number")
594
+ ye(b);
595
+ else {
596
+ const I = Math.abs(z[u] - b[u]), A = Math.abs(z[_] - b[_]);
597
+ (I >= 1 || A >= 1) && ye(b);
598
+ }
599
+ }), de = (r, {
600
+ animation: l = !0
601
+ } = {}) => {
602
+ l ? vo(X, P.current, r, {
603
+ duration: i.transitions.duration.standard
604
+ }) : P.current[X] = r;
605
+ }, Be = (r) => {
606
+ let l = P.current[X];
607
+ B ? l += r : l += r * (d ? -1 : 1), de(l);
608
+ }, Ee = () => {
609
+ const r = P.current[ce];
610
+ let l = 0;
611
+ const c = Array.from(L.current.children);
612
+ for (let u = 0; u < c.length; u += 1) {
613
+ const b = c[u];
614
+ if (l + b[ce] > r) {
615
+ u === 0 && (l = r);
616
+ break;
617
+ }
618
+ l += b[ce];
619
+ }
620
+ return l;
621
+ }, eo = () => {
622
+ Be(-1 * Ee());
623
+ }, oo = () => {
624
+ Be(Ee());
625
+ }, to = s.useCallback((r) => {
626
+ Ze({
627
+ overflow: null,
628
+ scrollbarWidth: r
629
+ });
630
+ }, []), no = () => {
631
+ const r = {};
632
+ r.scrollbarSizeListener = C ? /* @__PURE__ */ T(Ro, {
633
+ onChange: to,
634
+ className: R(k.scrollableX, k.hideScrollbar)
635
+ }) : null;
636
+ const c = C && (M === "auto" && (Te || ge) || M === !0);
637
+ return r.scrollButtonStart = c ? /* @__PURE__ */ T(F, {
638
+ slots: {
639
+ StartScrollButtonIcon: V.StartScrollButtonIcon
640
+ },
641
+ slotProps: {
642
+ startScrollButtonIcon: Ye
643
+ },
644
+ orientation: w,
645
+ direction: d ? "right" : "left",
646
+ onClick: eo,
647
+ disabled: !Te,
648
+ ...D,
649
+ className: R(k.scrollButtons, D.className)
650
+ }) : null, r.scrollButtonEnd = c ? /* @__PURE__ */ T(F, {
651
+ slots: {
652
+ EndScrollButtonIcon: V.EndScrollButtonIcon
653
+ },
654
+ slotProps: {
655
+ endScrollButtonIcon: qe
656
+ },
657
+ orientation: w,
658
+ direction: d ? "left" : "right",
659
+ onClick: oo,
660
+ disabled: !ge,
661
+ ...D,
662
+ className: R(k.scrollButtons, D.className)
663
+ }) : null, r;
664
+ }, Ie = fe((r) => {
665
+ const {
666
+ tabsMeta: l,
667
+ tabMeta: c
668
+ } = Ce();
669
+ if (!(!c || !l)) {
670
+ if (c[J] < l[J]) {
671
+ const u = l[X] + (c[J] - l[J]);
672
+ de(u, {
673
+ animation: r
674
+ });
675
+ } else if (c[Q] > l[Q]) {
676
+ const u = l[X] + (c[Q] - l[Q]);
677
+ de(u, {
678
+ animation: r
679
+ });
680
+ }
681
+ }
682
+ }), ee = fe(() => {
683
+ C && M !== !1 && Qe(!we);
684
+ });
685
+ s.useEffect(() => {
686
+ const r = We(() => {
687
+ P.current && Y();
688
+ });
689
+ let l;
690
+ const c = (I) => {
691
+ I.forEach((A) => {
692
+ A.removedNodes.forEach((q) => {
693
+ l == null || l.unobserve(q);
694
+ }), A.addedNodes.forEach((q) => {
695
+ l == null || l.observe(q);
696
+ });
697
+ }), r(), ee();
698
+ }, u = De(P.current);
699
+ u.addEventListener("resize", r);
700
+ let b;
701
+ return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(L.current.children).forEach((I) => {
702
+ l.observe(I);
703
+ })), typeof MutationObserver < "u" && (b = new MutationObserver(c), b.observe(L.current, {
704
+ childList: !0
705
+ })), () => {
706
+ r.clear(), u.removeEventListener("resize", r), b == null || b.disconnect(), l == null || l.disconnect();
707
+ };
708
+ }, [Y, ee]), s.useEffect(() => {
709
+ const r = Array.from(L.current.children), l = r.length;
710
+ if (typeof IntersectionObserver < "u" && l > 0 && C && M !== !1) {
711
+ const c = r[0], u = r[l - 1], b = {
712
+ root: P.current,
713
+ threshold: 0.99
714
+ }, I = (pe) => {
715
+ Ge(!pe[0].isIntersecting);
716
+ }, A = new IntersectionObserver(I, b);
717
+ A.observe(c);
718
+ const q = (pe) => {
719
+ Je(!pe[0].isIntersecting);
720
+ }, Ne = new IntersectionObserver(q, b);
721
+ return Ne.observe(u), () => {
722
+ A.disconnect(), Ne.disconnect();
723
+ };
724
+ }
725
+ }, [C, M, we, y == null ? void 0 : y.length]), s.useEffect(() => {
726
+ Ke(!0);
727
+ }, []), s.useEffect(() => {
728
+ Y();
729
+ }), s.useEffect(() => {
730
+ Ie(Oe !== z);
731
+ }, [Ie, z]), s.useImperativeHandle(h, () => ({
732
+ updateIndicator: Y,
733
+ updateScrollButtons: ee
734
+ }), [Y, ee]);
735
+ const Me = /* @__PURE__ */ T(Po, {
736
+ ...H,
737
+ className: R(k.indicator, H.className),
738
+ ownerState: j,
739
+ style: {
740
+ ...z,
741
+ ...H.style
742
+ }
743
+ });
744
+ let oe = 0;
745
+ const ro = s.Children.map(y, (r) => {
746
+ if (!/* @__PURE__ */ s.isValidElement(r))
747
+ return null;
748
+ process.env.NODE_ENV !== "production" && so.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
749
+ `));
750
+ const l = r.props.value === void 0 ? oe : r.props.value;
751
+ Z.set(l, oe);
752
+ const c = l === O;
753
+ return oe += 1, /* @__PURE__ */ s.cloneElement(r, {
754
+ fullWidth: N === "fullWidth",
755
+ indicator: c && !Se && Me,
756
+ selected: c,
757
+ selectionFollowsFocus: ae,
758
+ onChange: E,
759
+ textColor: G,
760
+ value: l,
761
+ ...oe === 1 && O === !1 && !r.props.tabIndex ? {
762
+ tabIndex: 0
763
+ } : {}
764
+ });
765
+ }), lo = (r) => {
766
+ const l = L.current, c = co(l).activeElement;
767
+ if (c.getAttribute("role") !== "tab")
768
+ return;
769
+ let b = w === "horizontal" ? "ArrowLeft" : "ArrowUp", I = w === "horizontal" ? "ArrowRight" : "ArrowDown";
770
+ switch (w === "horizontal" && d && (b = "ArrowRight", I = "ArrowLeft"), r.key) {
771
+ case b:
772
+ r.preventDefault(), te(l, c, Re);
773
+ break;
774
+ case I:
775
+ r.preventDefault(), te(l, c, Pe);
776
+ break;
777
+ case "Home":
778
+ r.preventDefault(), te(l, null, Pe);
779
+ break;
780
+ case "End":
781
+ r.preventDefault(), te(l, null, Re);
782
+ break;
783
+ }
784
+ }, ue = no();
785
+ return /* @__PURE__ */ K(Io, {
786
+ className: R(k.root, m),
787
+ ownerState: j,
788
+ ref: n,
789
+ as: v,
790
+ ..._e,
791
+ children: [ue.scrollButtonStart, ue.scrollbarSizeListener, /* @__PURE__ */ K(Mo, {
792
+ className: k.scroller,
793
+ ownerState: j,
794
+ style: {
795
+ overflow: xe.overflow,
796
+ [B ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ie ? void 0 : -xe.scrollbarWidth
797
+ },
798
+ ref: P,
799
+ children: [/* @__PURE__ */ T(No, {
800
+ "aria-label": p,
801
+ "aria-labelledby": f,
802
+ "aria-orientation": w === "vertical" ? "vertical" : null,
803
+ className: k.flexContainer,
804
+ ownerState: j,
805
+ onKeyDown: lo,
806
+ ref: L,
807
+ role: "tablist",
808
+ children: ro
809
+ }), Se && Me]
810
+ }), ue.scrollButtonEnd]
811
+ });
812
+ });
813
+ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
814
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
815
+ // │ These PropTypes are generated from the TypeScript type definitions. │
816
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
817
+ // └─────────────────────────────────────────────────────────────────────┘
818
+ /**
819
+ * Callback fired when the component mounts.
820
+ * This is useful when you want to trigger an action programmatically.
821
+ * It supports two actions: `updateIndicator()` and `updateScrollButtons()`
822
+ *
823
+ * @param {object} actions This object contains all possible actions
824
+ * that can be triggered programmatically.
825
+ */
826
+ action: uo,
827
+ /**
828
+ * If `true`, the scroll buttons aren't forced hidden on mobile.
829
+ * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
830
+ * @default false
831
+ */
832
+ allowScrollButtonsMobile: o.bool,
833
+ /**
834
+ * The label for the Tabs as a string.
835
+ */
836
+ "aria-label": o.string,
837
+ /**
838
+ * An id or list of ids separated by a space that label the Tabs.
839
+ */
840
+ "aria-labelledby": o.string,
841
+ /**
842
+ * If `true`, the tabs are centered.
843
+ * This prop is intended for large views.
844
+ * @default false
845
+ */
846
+ centered: o.bool,
847
+ /**
848
+ * The content of the component.
849
+ */
850
+ children: o.node,
851
+ /**
852
+ * Override or extend the styles applied to the component.
853
+ */
854
+ classes: o.object,
855
+ /**
856
+ * @ignore
857
+ */
858
+ className: o.string,
859
+ /**
860
+ * The component used for the root node.
861
+ * Either a string to use a HTML element or a component.
862
+ */
863
+ component: o.elementType,
864
+ /**
865
+ * Determines the color of the indicator.
866
+ * @default 'primary'
867
+ */
868
+ indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
869
+ /**
870
+ * Callback fired when the value changes.
871
+ *
872
+ * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
873
+ * @param {any} value We default to the index of the child (number)
874
+ */
875
+ onChange: o.func,
876
+ /**
877
+ * The component orientation (layout flow direction).
878
+ * @default 'horizontal'
879
+ */
880
+ orientation: o.oneOf(["horizontal", "vertical"]),
881
+ /**
882
+ * The component used to render the scroll buttons.
883
+ * @default TabScrollButton
884
+ */
885
+ ScrollButtonComponent: o.elementType,
886
+ /**
887
+ * Determine behavior of scroll buttons when tabs are set to scroll:
888
+ *
889
+ * - `auto` will only present them when not all the items are visible.
890
+ * - `true` will always present them.
891
+ * - `false` will never present them.
892
+ *
893
+ * By default the scroll buttons are hidden on mobile.
894
+ * This behavior can be disabled with `allowScrollButtonsMobile`.
895
+ * @default 'auto'
896
+ */
897
+ scrollButtons: o.oneOf(["auto", !1, !0]),
898
+ /**
899
+ * If `true` the selected tab changes on focus. Otherwise it only
900
+ * changes on activation.
901
+ */
902
+ selectionFollowsFocus: o.bool,
903
+ /**
904
+ * The extra props for the slot components.
905
+ * You can override the existing props or add new ones.
906
+ * @default {}
907
+ */
908
+ slotProps: o.shape({
909
+ endScrollButtonIcon: o.oneOfType([o.func, o.object]),
910
+ startScrollButtonIcon: o.oneOfType([o.func, o.object])
911
+ }),
912
+ /**
913
+ * The components used for each slot inside.
914
+ * @default {}
915
+ */
916
+ slots: o.shape({
917
+ EndScrollButtonIcon: o.elementType,
918
+ StartScrollButtonIcon: o.elementType
919
+ }),
920
+ /**
921
+ * The system prop that allows defining system overrides as well as additional CSS styles.
922
+ */
923
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
924
+ /**
925
+ * Props applied to the tab indicator element.
926
+ * @default {}
927
+ */
928
+ TabIndicatorProps: o.object,
929
+ /**
930
+ * Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
931
+ * @default {}
932
+ */
933
+ TabScrollButtonProps: o.object,
934
+ /**
935
+ * Determines the color of the `Tab`.
936
+ * @default 'primary'
937
+ */
938
+ textColor: o.oneOf(["inherit", "primary", "secondary"]),
939
+ /**
940
+ * The value of the currently selected `Tab`.
941
+ * If you don't want any selected `Tab`, you can set this prop to `false`.
942
+ */
943
+ value: o.any,
944
+ /**
945
+ * Determines additional display behavior of the tabs:
946
+ *
947
+ * - `scrollable` will invoke scrolling properties and allow for horizontally
948
+ * scrolling (or swiping) of the tab bar.
949
+ * - `fullWidth` will make the tabs grow to use all the available space,
950
+ * which should be used for small views, like on mobile.
951
+ * - `standard` will render the default state.
952
+ * @default 'standard'
953
+ */
954
+ variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
955
+ /**
956
+ * If `true`, the scrollbar is visible. It can be useful when displaying
957
+ * a long vertical list of tabs.
958
+ * @default false
959
+ */
960
+ visibleScrollbar: o.bool
961
+ });
962
+ const Oo = /* @__PURE__ */ s.forwardRef(function(e, n) {
963
+ const {
964
+ children: a,
965
+ ...i
966
+ } = e, d = Ae();
967
+ if (d === null)
968
+ throw new TypeError("No TabContext provided");
969
+ const p = s.Children.map(a, (f) => /* @__PURE__ */ s.isValidElement(f) ? /* @__PURE__ */ s.cloneElement(f, {
970
+ // SOMEDAY: `Tabs` will set those themselves
971
+ "aria-controls": Fe(d, f.props.value),
972
+ id: Ve(d, f.props.value)
973
+ }) : null);
974
+ return /* @__PURE__ */ T(Xe, {
975
+ ...i,
976
+ ref: n,
977
+ value: d.value,
978
+ children: p
979
+ });
980
+ });
981
+ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
982
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
983
+ // │ These PropTypes are generated from the TypeScript type definitions. │
984
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
985
+ // └─────────────────────────────────────────────────────────────────────┘
986
+ /**
987
+ * A list of `<Tab />` elements.
988
+ */
989
+ children: o.node
990
+ });
991
+ function ko(t) {
992
+ return le("MuiTabPanel", t);
993
+ }
994
+ const lt = re("MuiTabPanel", ["root", "hidden"]), $o = (t) => {
995
+ const {
996
+ classes: e,
997
+ hidden: n
998
+ } = t;
999
+ return se({
1000
+ root: ["root", n && "hidden"]
1001
+ }, ko, e);
1002
+ }, Wo = $("div", {
1003
+ name: "MuiTabPanel",
1004
+ slot: "Root",
1005
+ overridesResolver: (t, e) => e.root
1006
+ })(({
1007
+ theme: t
1008
+ }) => ({
1009
+ padding: t.spacing(3)
1010
+ })), Do = /* @__PURE__ */ s.forwardRef(function(e, n) {
1011
+ const a = po({
1012
+ props: e,
1013
+ name: "MuiTabPanel"
1014
+ }), {
1015
+ children: i,
1016
+ className: d,
1017
+ value: p,
1018
+ keepMounted: f = !1,
1019
+ ...h
1020
+ } = a, S = {
1021
+ ...a
1022
+ }, y = $o(S), m = Ae();
1023
+ if (m === null)
1024
+ throw new TypeError("No TabContext provided");
1025
+ const v = Fe(m, p), g = Ve(m, p);
1026
+ return /* @__PURE__ */ T(Wo, {
1027
+ "aria-labelledby": g,
1028
+ className: R(y.root, d),
1029
+ hidden: p !== m.value,
1030
+ id: v,
1031
+ ref: n,
1032
+ role: "tabpanel",
1033
+ ownerState: S,
1034
+ ...h,
1035
+ children: (f || p === m.value) && i
1036
+ });
1037
+ });
1038
+ process.env.NODE_ENV !== "production" && (Do.propTypes = {
1039
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1040
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1041
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1042
+ // └─────────────────────────────────────────────────────────────────────┘
1043
+ /**
1044
+ * The content of the component.
1045
+ */
1046
+ children: o.node,
1047
+ /**
1048
+ * Override or extend the styles applied to the component.
1049
+ */
1050
+ classes: o.object,
1051
+ /**
1052
+ * @ignore
1053
+ */
1054
+ className: o.string,
1055
+ /**
1056
+ * Always keep the children in the DOM.
1057
+ * @default false
1058
+ */
1059
+ keepMounted: o.bool,
1060
+ /**
1061
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1062
+ */
1063
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1064
+ /**
1065
+ * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
1066
+ * no `value` was passed to `Tab`.
1067
+ */
1068
+ value: o.oneOfType([o.number, o.string]).isRequired
1069
+ });
1070
+ function jo(t) {
1071
+ return le("MuiTab", t);
1072
+ }
1073
+ const x = re("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), zo = (t) => {
1074
+ const {
1075
+ classes: e,
1076
+ textColor: n,
1077
+ fullWidth: a,
1078
+ wrapped: i,
1079
+ icon: d,
1080
+ label: p,
1081
+ selected: f,
1082
+ disabled: h
1083
+ } = t, S = {
1084
+ root: ["root", d && p && "labelIcon", `textColor${Le(n)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
1085
+ icon: ["iconWrapper", "icon"]
1086
+ };
1087
+ return se(S, jo, e);
1088
+ }, Lo = $(ze, {
1089
+ name: "MuiTab",
1090
+ slot: "Root",
1091
+ overridesResolver: (t, e) => {
1092
+ const {
1093
+ ownerState: n
1094
+ } = t;
1095
+ return [e.root, n.label && n.icon && e.labelIcon, e[`textColor${Le(n.textColor)}`], n.fullWidth && e.fullWidth, n.wrapped && e.wrapped, {
1096
+ [`& .${x.iconWrapper}`]: e.iconWrapper
1097
+ }, {
1098
+ [`& .${x.icon}`]: e.icon
1099
+ }];
1100
+ }
1101
+ })(me(({
1102
+ theme: t
1103
+ }) => ({
1104
+ ...t.typography.button,
1105
+ maxWidth: 360,
1106
+ minWidth: 90,
1107
+ position: "relative",
1108
+ minHeight: 48,
1109
+ flexShrink: 0,
1110
+ padding: "12px 16px",
1111
+ overflow: "hidden",
1112
+ whiteSpace: "normal",
1113
+ textAlign: "center",
1114
+ lineHeight: 1.25,
1115
+ variants: [{
1116
+ props: ({
1117
+ ownerState: e
1118
+ }) => e.label && (e.iconPosition === "top" || e.iconPosition === "bottom"),
1119
+ style: {
1120
+ flexDirection: "column"
1121
+ }
1122
+ }, {
1123
+ props: ({
1124
+ ownerState: e
1125
+ }) => e.label && e.iconPosition !== "top" && e.iconPosition !== "bottom",
1126
+ style: {
1127
+ flexDirection: "row"
1128
+ }
1129
+ }, {
1130
+ props: ({
1131
+ ownerState: e
1132
+ }) => e.icon && e.label,
1133
+ style: {
1134
+ minHeight: 72,
1135
+ paddingTop: 9,
1136
+ paddingBottom: 9
1137
+ }
1138
+ }, {
1139
+ props: ({
1140
+ ownerState: e,
1141
+ iconPosition: n
1142
+ }) => e.icon && e.label && n === "top",
1143
+ style: {
1144
+ [`& > .${x.icon}`]: {
1145
+ marginBottom: 6
1146
+ }
1147
+ }
1148
+ }, {
1149
+ props: ({
1150
+ ownerState: e,
1151
+ iconPosition: n
1152
+ }) => e.icon && e.label && n === "bottom",
1153
+ style: {
1154
+ [`& > .${x.icon}`]: {
1155
+ marginTop: 6
1156
+ }
1157
+ }
1158
+ }, {
1159
+ props: ({
1160
+ ownerState: e,
1161
+ iconPosition: n
1162
+ }) => e.icon && e.label && n === "start",
1163
+ style: {
1164
+ [`& > .${x.icon}`]: {
1165
+ marginRight: t.spacing(1)
1166
+ }
1167
+ }
1168
+ }, {
1169
+ props: ({
1170
+ ownerState: e,
1171
+ iconPosition: n
1172
+ }) => e.icon && e.label && n === "end",
1173
+ style: {
1174
+ [`& > .${x.icon}`]: {
1175
+ marginLeft: t.spacing(1)
1176
+ }
1177
+ }
1178
+ }, {
1179
+ props: {
1180
+ textColor: "inherit"
1181
+ },
1182
+ style: {
1183
+ color: "inherit",
1184
+ opacity: 0.6,
1185
+ // same opacity as theme.palette.text.secondary
1186
+ [`&.${x.selected}`]: {
1187
+ opacity: 1
1188
+ },
1189
+ [`&.${x.disabled}`]: {
1190
+ opacity: (t.vars || t).palette.action.disabledOpacity
1191
+ }
1192
+ }
1193
+ }, {
1194
+ props: {
1195
+ textColor: "primary"
1196
+ },
1197
+ style: {
1198
+ color: (t.vars || t).palette.text.secondary,
1199
+ [`&.${x.selected}`]: {
1200
+ color: (t.vars || t).palette.primary.main
1201
+ },
1202
+ [`&.${x.disabled}`]: {
1203
+ color: (t.vars || t).palette.text.disabled
1204
+ }
1205
+ }
1206
+ }, {
1207
+ props: {
1208
+ textColor: "secondary"
1209
+ },
1210
+ style: {
1211
+ color: (t.vars || t).palette.text.secondary,
1212
+ [`&.${x.selected}`]: {
1213
+ color: (t.vars || t).palette.secondary.main
1214
+ },
1215
+ [`&.${x.disabled}`]: {
1216
+ color: (t.vars || t).palette.text.disabled
1217
+ }
1218
+ }
1219
+ }, {
1220
+ props: ({
1221
+ ownerState: e
1222
+ }) => e.fullWidth,
1223
+ style: {
1224
+ flexShrink: 1,
1225
+ flexGrow: 1,
1226
+ flexBasis: 0,
1227
+ maxWidth: "none"
1228
+ }
1229
+ }, {
1230
+ props: ({
1231
+ ownerState: e
1232
+ }) => e.wrapped,
1233
+ style: {
1234
+ fontSize: t.typography.pxToRem(12)
1235
+ }
1236
+ }]
1237
+ }))), Ao = /* @__PURE__ */ s.forwardRef(function(e, n) {
1238
+ const a = he({
1239
+ props: e,
1240
+ name: "MuiTab"
1241
+ }), {
1242
+ className: i,
1243
+ disabled: d = !1,
1244
+ disableFocusRipple: p = !1,
1245
+ // eslint-disable-next-line react/prop-types
1246
+ fullWidth: f,
1247
+ icon: h,
1248
+ iconPosition: S = "top",
1249
+ // eslint-disable-next-line react/prop-types
1250
+ indicator: y,
1251
+ label: m,
1252
+ onChange: v,
1253
+ onClick: g,
1254
+ onFocus: W,
1255
+ // eslint-disable-next-line react/prop-types
1256
+ selected: E,
1257
+ // eslint-disable-next-line react/prop-types
1258
+ selectionFollowsFocus: w,
1259
+ // eslint-disable-next-line react/prop-types
1260
+ textColor: F = "inherit",
1261
+ value: M,
1262
+ wrapped: ae = !1,
1263
+ ...V
1264
+ } = a, U = {
1265
+ ...a,
1266
+ disabled: d,
1267
+ disableFocusRipple: p,
1268
+ selected: E,
1269
+ icon: !!h,
1270
+ iconPosition: S,
1271
+ label: !!m,
1272
+ fullWidth: f,
1273
+ textColor: F,
1274
+ wrapped: ae
1275
+ }, H = zo(U), D = h && m && /* @__PURE__ */ s.isValidElement(h) ? /* @__PURE__ */ s.cloneElement(h, {
1276
+ className: R(H.icon, h.props.className)
1277
+ }) : h, G = (N) => {
1278
+ !E && v && v(N, M), g && g(N);
1279
+ }, O = (N) => {
1280
+ w && !E && v && v(N, M), W && W(N);
1281
+ };
1282
+ return /* @__PURE__ */ K(Lo, {
1283
+ focusRipple: !p,
1284
+ className: R(H.root, i),
1285
+ ref: n,
1286
+ role: "tab",
1287
+ "aria-selected": E,
1288
+ disabled: d,
1289
+ onClick: G,
1290
+ onFocus: O,
1291
+ ownerState: U,
1292
+ tabIndex: E ? 0 : -1,
1293
+ ...V,
1294
+ children: [S === "top" || S === "start" ? /* @__PURE__ */ K(s.Fragment, {
1295
+ children: [D, m]
1296
+ }) : /* @__PURE__ */ K(s.Fragment, {
1297
+ children: [m, D]
1298
+ }), y]
1299
+ });
1300
+ });
1301
+ process.env.NODE_ENV !== "production" && (Ao.propTypes = {
1302
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1303
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1304
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1305
+ // └─────────────────────────────────────────────────────────────────────┘
1306
+ /**
1307
+ * This prop isn't supported.
1308
+ * Use the `component` prop if you need to change the children structure.
1309
+ */
1310
+ children: fo,
1311
+ /**
1312
+ * Override or extend the styles applied to the component.
1313
+ */
1314
+ classes: o.object,
1315
+ /**
1316
+ * @ignore
1317
+ */
1318
+ className: o.string,
1319
+ /**
1320
+ * If `true`, the component is disabled.
1321
+ * @default false
1322
+ */
1323
+ disabled: o.bool,
1324
+ /**
1325
+ * If `true`, the keyboard focus ripple is disabled.
1326
+ * @default false
1327
+ */
1328
+ disableFocusRipple: o.bool,
1329
+ /**
1330
+ * If `true`, the ripple effect is disabled.
1331
+ *
1332
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
1333
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
1334
+ * @default false
1335
+ */
1336
+ disableRipple: o.bool,
1337
+ /**
1338
+ * The icon to display.
1339
+ */
1340
+ icon: o.oneOfType([o.element, o.string]),
1341
+ /**
1342
+ * The position of the icon relative to the label.
1343
+ * @default 'top'
1344
+ */
1345
+ iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
1346
+ /**
1347
+ * The label element.
1348
+ */
1349
+ label: o.node,
1350
+ /**
1351
+ * @ignore
1352
+ */
1353
+ onChange: o.func,
1354
+ /**
1355
+ * @ignore
1356
+ */
1357
+ onClick: o.func,
1358
+ /**
1359
+ * @ignore
1360
+ */
1361
+ onFocus: o.func,
1362
+ /**
1363
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1364
+ */
1365
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
1366
+ /**
1367
+ * You can provide your own value. Otherwise, we fallback to the child position index.
1368
+ */
1369
+ value: o.any,
1370
+ /**
1371
+ * Tab labels appear in a single row.
1372
+ * They can use a second line if needed.
1373
+ * @default false
1374
+ */
1375
+ wrapped: o.bool
1376
+ });
1377
+ export {
1378
+ To as K,
1379
+ ho as T,
1380
+ Oo as a,
1381
+ Do as b,
1382
+ Ao as c,
1383
+ Xe as d,
1384
+ Ve as e,
1385
+ ko as f,
1386
+ Fe as g,
1387
+ x as h,
1388
+ jo as i,
1389
+ be as j,
1390
+ Bo as k,
1391
+ yo as l,
1392
+ lt as t,
1393
+ Ae as u
1394
+ };