@cgi-learning-hub/ui 1.5.0 → 1.5.1-dev.1744639457

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 (323) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-D7eKsj1P.js → Alert-CDbAJ9jP.js} +27 -28
  3. package/dist/Autocomplete-2DWwLqO5.cjs +6 -0
  4. package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DO8kdiDn.js} +704 -665
  5. package/dist/Backdrop-Be5Hv5U8.cjs +1 -0
  6. package/dist/{Backdrop-COiz4sPF.js → Backdrop-CRrNkGxU.js} +18 -18
  7. package/dist/{Box-C-j-U8SH.js → Box-2IEW8Uij.js} +12 -12
  8. package/dist/Box-Bl24J58B.cjs +1 -0
  9. package/dist/Button-CZTPCtLu.cjs +1 -0
  10. package/dist/{Button-CQQdMCSm.js → Button-DYWfAsGe.js} +114 -148
  11. package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-BZXGvriS.js} +24 -24
  12. package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  13. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  14. package/dist/{CardContent-sX9Bw4Ke.js → CardContent-oRdx06Ln.js} +5 -5
  15. package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DMnS1qrF.js} +95 -68
  16. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  17. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  18. package/dist/{Chip-BsErraqe.js → Chip-CacnC2L1.js} +53 -54
  19. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  20. package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-_VZwmayK.js} +28 -29
  21. package/dist/{Close-r-ZUhk0-.js → Close-CSvE0tu1.js} +1 -1
  22. package/dist/{Close-ZXg7X3Tz.cjs → Close-Czm0dlR9.cjs} +1 -1
  23. package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  24. package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-CEX-NsA7.js} +1 -1
  25. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  26. package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-DTV3xokL.js} +287 -289
  27. package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C-toYUpc.js} +995 -1002
  28. package/dist/DatePicker-DbH5IN_w.cjs +13 -0
  29. package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Bg-6nX-u.js} +53 -53
  30. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  31. package/dist/{Delete-CpTtpM4U.cjs → Delete-C0hR-twe.cjs} +1 -1
  32. package/dist/{Delete-DKn2lIDB.js → Delete-Pl5O0eBK.js} +1 -1
  33. package/dist/{Dialog-pU1ZAttp.js → Dialog-BGrQDZXr.js} +162 -169
  34. package/dist/Dialog-D1VJ5jXx.cjs +1 -0
  35. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  36. package/dist/{DialogContent-BEgapieO.js → DialogContent-ZiO3fkfO.js} +3 -3
  37. package/dist/DialogTitle-B3MlGamo.cjs +1 -0
  38. package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BiZ7zHp-.js} +7 -7
  39. package/dist/{Divider-CT4XaEn6.js → Divider-BDN4OyrO.js} +8 -8
  40. package/dist/Divider-I7KOokm8.cjs +1 -0
  41. package/dist/{Folder-DoEl37QZ.js → Folder-CF7SX2AD.js} +1 -1
  42. package/dist/{Folder-DWD_1Fux.cjs → Folder-ExV_xCn6.cjs} +1 -1
  43. package/dist/{FormLabel-BF6m-_uI.js → FormLabel-DNsUciXe.js} +24 -25
  44. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  45. package/dist/{Grow-Bk7XkPFP.js → Grow-CLBgYoz_.js} +5 -5
  46. package/dist/Grow-DrEdqZgX.cjs +1 -0
  47. package/dist/IconButton-C1I_233O.cjs +2 -0
  48. package/dist/{IconButton-BQW0xjdH.js → IconButton-CT0Plyy5.js} +26 -27
  49. package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-Ci0BnJ_e.js} +10 -11
  50. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  51. package/dist/InputBase-C-ES3FPH.cjs +3 -0
  52. package/dist/{InputBase-YOnatBxw.js → InputBase-CJvM-WXJ.js} +261 -256
  53. package/dist/{Link-C3rf4gqc.js → Link-B6LNMjac.js} +15 -16
  54. package/dist/Link-BQrFDQ-K.cjs +1 -0
  55. package/dist/{List-CFInjv2S.js → List-22h7byk_.js} +2 -2
  56. package/dist/List-Bii833np.cjs +1 -0
  57. package/dist/{ListItem-BAAZxsu5.js → ListItem-B0syBgS7.js} +17 -17
  58. package/dist/ListItem-BtjE87R1.cjs +1 -0
  59. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  60. package/dist/ListItemText-zFoA_mgx.js +845 -0
  61. package/dist/Menu-4e60iiMU.cjs +7 -0
  62. package/dist/{Menu-BgO92SV3.js → Menu-B6t_52q7.js} +405 -335
  63. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  64. package/dist/{MenuItem-B8eWAj8E.js → MenuItem-KNXRjnwO.js} +14 -14
  65. package/dist/{Modal-CFv4UMTP.js → Modal-BpJ9BCOo.js} +239 -245
  66. package/dist/Modal-JAWJUstF.cjs +2 -0
  67. package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BtC5XWOR.js} +1 -1
  68. package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  69. package/dist/{Paper-DeL_n4k9.js → Paper-BTFv1nzl.js} +9 -9
  70. package/dist/Paper-CKG165jt.cjs +2 -0
  71. package/dist/Popper-CyH7Z-lN.cjs +4 -0
  72. package/dist/{Popper-BKxRTMsO.js → Popper-YJsxmJsm.js} +10 -10
  73. package/dist/Portal-CtsVKOQ9.js +85 -0
  74. package/dist/Portal-LP7SUKpU.cjs +1 -0
  75. package/dist/Radio-BEfQuau1.cjs +1 -0
  76. package/dist/{Radio-BVfoGshx.js → Radio-Dg73Pnqf.js} +226 -183
  77. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  78. package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-jev5E2xJ.js} +20 -20
  79. package/dist/{Select-Vnsr3NSv.js → Select-21Pm-BzJ.js} +164 -165
  80. package/dist/Select-CxofSqZJ.cjs +3 -0
  81. package/dist/{Stack-PQFKjbdN.js → Stack-D2Plrf1_.js} +60 -104
  82. package/dist/Stack-DpH56CPw.cjs +1 -0
  83. package/dist/Switch-BIGFww3p.cjs +1 -0
  84. package/dist/{Switch-Bn8zlIOf.js → Switch-CNfK1N1c.js} +167 -108
  85. package/dist/SwitchBase-BHC3uchj.js +314 -0
  86. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  87. package/dist/{Tab-A0R3g6rB.js → Tab-BbWlzMyp.js} +597 -537
  88. package/dist/Tab-BsIC620i.cjs +4 -0
  89. package/dist/{TextField-Di6Nfe3O.js → TextField-BjzDdsW_.js} +133 -124
  90. package/dist/TextField-DFr8lsXU.cjs +1 -0
  91. package/dist/ToggleButtonGroup-BEvrUL8a.cjs +138 -0
  92. package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-C_O-zqof.js} +1995 -1818
  93. package/dist/{Tooltip-KTkLBRQj.js → Tooltip-Bf5VDDeG.js} +34 -35
  94. package/dist/Tooltip-DJC7nrsk.cjs +4 -0
  95. package/dist/{Typography-DZ11k9cZ.js → Typography-BNt9mZKm.js} +13 -14
  96. package/dist/Typography-DOpE-TJz.cjs +1 -0
  97. package/dist/components/Alert/Alert.cjs.js +1 -1
  98. package/dist/components/Alert/Alert.es.js +3 -3
  99. package/dist/components/Alert/index.cjs.js +1 -1
  100. package/dist/components/Alert/index.es.js +1 -1
  101. package/dist/components/Button/Button.cjs.js +1 -1
  102. package/dist/components/Button/Button.es.js +2 -2
  103. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  104. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  105. package/dist/components/DatePicker/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/index.es.js +1 -1
  107. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  108. package/dist/components/Dialog/Dialog.es.js +15 -15
  109. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  110. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  111. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  112. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  113. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  114. package/dist/components/FileList/FileIcon.es.js +1 -1
  115. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  116. package/dist/components/FileList/FileListItem.es.js +4 -4
  117. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  118. package/dist/components/FolderCard/FolderCard.d.ts +1 -0
  119. package/dist/components/FolderCard/FolderCard.es.js +26 -17
  120. package/dist/components/FolderCard/styles.cjs.js +1 -1
  121. package/dist/components/FolderCard/styles.d.ts +4 -0
  122. package/dist/components/FolderCard/styles.es.js +9 -5
  123. package/dist/components/Heading/Heading.cjs.js +1 -1
  124. package/dist/components/Heading/Heading.es.js +2 -2
  125. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  126. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  127. package/dist/components/Loader/Loader.cjs.js +1 -1
  128. package/dist/components/Loader/Loader.es.js +1 -1
  129. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  130. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  131. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  132. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  133. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  134. package/dist/components/ResourceCard/ResourceCard.d.ts +1 -0
  135. package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
  136. package/dist/components/ResourceCard/style.cjs.js +1 -1
  137. package/dist/components/ResourceCard/style.es.js +49 -44
  138. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  139. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  140. package/dist/components/TreeView/TreeView.cjs.js +7 -7
  141. package/dist/components/TreeView/TreeView.es.js +323 -319
  142. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  143. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  144. package/dist/components/TreeView/style.cjs.js +1 -1
  145. package/dist/components/TreeView/style.es.js +24 -18
  146. package/dist/components/TreeView/types.d.ts +5 -2
  147. package/dist/components/TreeView/utils.cjs.js +1 -1
  148. package/dist/components/TreeView/utils.es.js +3 -3
  149. package/dist/components/index.cjs.js +1 -1
  150. package/dist/components/index.es.js +264 -266
  151. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  152. package/dist/components/stories/Alert.stories.es.js +1 -1
  153. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  154. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  155. package/dist/components/stories/Button.stories.cjs.js +1 -1
  156. package/dist/components/stories/Button.stories.es.js +1 -1
  157. package/dist/components/stories/Card.stories.cjs.js +1 -1
  158. package/dist/components/stories/Card.stories.es.js +2 -2
  159. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  160. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  161. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Chip.stories.es.js +1 -1
  163. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  164. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  165. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  166. package/dist/components/stories/Dialog.stories.es.js +2 -2
  167. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  168. package/dist/components/stories/Divider.stories.es.js +1 -1
  169. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  170. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  171. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  172. package/dist/components/stories/Heading.stories.es.js +2 -2
  173. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  174. package/dist/components/stories/IconButton.stories.es.js +2 -2
  175. package/dist/components/stories/Link.stories.cjs.js +1 -1
  176. package/dist/components/stories/Link.stories.es.js +1 -1
  177. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  178. package/dist/components/stories/Menu.stories.es.js +2 -2
  179. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  180. package/dist/components/stories/Paper.stories.es.js +1 -1
  181. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  182. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  183. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  184. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  185. package/dist/components/stories/Select.stories.cjs.js +1 -1
  186. package/dist/components/stories/Select.stories.es.js +3 -3
  187. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  188. package/dist/components/stories/TabList.stories.es.js +1 -1
  189. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  190. package/dist/components/stories/TextField.stories.es.js +1 -1
  191. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  192. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  193. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  194. package/dist/components/stories/TreeView.stories.d.ts +2 -0
  195. package/dist/components/stories/TreeView.stories.es.js +517 -268
  196. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  197. package/dist/components/stories/Typography.stories.es.js +1 -1
  198. package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CCutbgLb.js} +54 -55
  199. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  200. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  201. package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-hlXEfEZK.js} +1 -1
  202. package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-COpcDx5q.js} +1 -1
  203. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  204. package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-0G38SSpC.js} +1 -1
  205. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  206. package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-C6oFed6n.js} +1 -1
  207. package/dist/getReactElementRef-EDbO4rJt.cjs +1 -0
  208. package/dist/{generateUtilityClasses-CqzQXpT_.js → identifier-BJqC6EXa.js} +833 -865
  209. package/dist/identifier-gJdGmHeC.cjs +74 -0
  210. package/dist/{index-CFIk4hVM.js → index-BOAF-ZZq.js} +4 -4
  211. package/dist/index-Cfd-LNZn.cjs +1 -0
  212. package/dist/index-D14TzUgK.cjs +1 -0
  213. package/dist/{index-sDFEVHTg.js → index-DP697UN9.js} +1 -1
  214. package/dist/index-Dmu1HrwE.cjs +5 -0
  215. package/dist/{index-C7WfZsMe.js → index-gxOBDuBW.js} +2 -2
  216. package/dist/index.cjs.js +1 -1
  217. package/dist/index.es.js +264 -266
  218. package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-DBxyCmso.js} +1 -1
  219. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  220. package/dist/{memoTheme-B0xVysYu.js → memoTheme-D_Qap2ZW.js} +1 -1
  221. package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  222. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  223. package/dist/mergeSlotProps-BSFlgsYC.js +62 -0
  224. package/dist/refType-53jD7LEO.cjs +1 -0
  225. package/dist/{refType-BvSJNaoq.js → refType-DRBJ18fO.js} +1 -1
  226. package/dist/styled-C7OKoThH.cjs +1 -0
  227. package/dist/styled-DpPa0vDp.js +5 -0
  228. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  229. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  230. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  231. package/dist/useForkRef-u29GSuCu.js +27 -0
  232. package/dist/useSlot-DhC6EPU2.js +125 -0
  233. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  234. package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-Bos9nSja.js} +2 -2
  235. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  236. package/dist/{useTheme-2JCMQS-E.js → useTheme-B1xvds8x.js} +1 -1
  237. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  238. package/dist/useTheme-Dt-VOIyT.js +11 -0
  239. package/dist/useTheme-NQRIebh0.cjs +1 -0
  240. package/dist/useThemeProps-CxMYNgfp.js +17 -0
  241. package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-DSVFwH3A.js} +4 -4
  242. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  243. package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  244. package/dist/utils-B2EQZFZP.cjs +1 -0
  245. package/dist/{utils-BVg32WSe.js → utils-qwVZGgXz.js} +1 -1
  246. package/dist/warning-C8W811fV.js +11 -0
  247. package/dist/warning-DMUNDgRg.cjs +2 -0
  248. package/package.json +10 -10
  249. package/dist/Alert-CvizDCvx.cjs +0 -1
  250. package/dist/Autocomplete-DjU6i3zL.cjs +0 -6
  251. package/dist/Backdrop-BM-OE2Q_.cjs +0 -1
  252. package/dist/Box-BmfpLwYG.cjs +0 -1
  253. package/dist/Button-BGWvL_UD.cjs +0 -1
  254. package/dist/CardContent-GHLuvxgm.cjs +0 -1
  255. package/dist/Checkbox-BZYoJieY.cjs +0 -1
  256. package/dist/Chip-Cu_SZxrx.cjs +0 -1
  257. package/dist/CircularProgress-CdS7-HOv.cjs +0 -28
  258. package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
  259. package/dist/DatePicker-tyDzcyzu.cjs +0 -14
  260. package/dist/DefaultPropsProvider-BTnRBr0O.cjs +0 -1
  261. package/dist/Dialog-DIHzs0ro.cjs +0 -1
  262. package/dist/DialogContent-B-9ga3Wv.cjs +0 -1
  263. package/dist/DialogTitle-B_UN_oL2.cjs +0 -1
  264. package/dist/Divider-iYLSpFUc.cjs +0 -1
  265. package/dist/FormLabel-Cp2OFw8d.cjs +0 -2
  266. package/dist/Grow-DXY5DOqR.cjs +0 -1
  267. package/dist/IconButton-BLZJne06.cjs +0 -2
  268. package/dist/InputAdornment-C0WI_oQg.cjs +0 -1
  269. package/dist/InputBase-B3KOyouT.cjs +0 -3
  270. package/dist/Link-lvpmE2yz.cjs +0 -1
  271. package/dist/List-PQXGlDbt.cjs +0 -1
  272. package/dist/ListItem-CWEvdMjN.cjs +0 -1
  273. package/dist/ListItemText-BhxrnTkb.cjs +0 -1
  274. package/dist/ListItemText-CADHegDF.js +0 -928
  275. package/dist/Menu-DBacrp-P.cjs +0 -7
  276. package/dist/MenuItem-DkcVAo3U.cjs +0 -1
  277. package/dist/Modal-kUvS-N46.cjs +0 -2
  278. package/dist/Paper-ByOgFIEE.cjs +0 -2
  279. package/dist/Popper-CsQqc5DE.cjs +0 -4
  280. package/dist/Portal-7MKUQzjh.js +0 -81
  281. package/dist/Portal-DhGy1jKe.cjs +0 -1
  282. package/dist/Radio-DG-k6cXx.cjs +0 -1
  283. package/dist/RadioGroup-Dd0mX-H2.cjs +0 -1
  284. package/dist/Select-b6liJFDI.cjs +0 -3
  285. package/dist/Stack-gtxG2YLo.cjs +0 -1
  286. package/dist/Switch-BlwDxL6O.cjs +0 -1
  287. package/dist/SwitchBase-DtKlxrES.cjs +0 -1
  288. package/dist/SwitchBase-QwOXoy8f.js +0 -262
  289. package/dist/Tab-Dx7V4E6B.cjs +0 -4
  290. package/dist/TextField-CB2n4aV8.cjs +0 -1
  291. package/dist/ToggleButtonGroup-D3bdznCl.cjs +0 -137
  292. package/dist/Tooltip-D0jvnXYu.cjs +0 -4
  293. package/dist/Typography-3CpuuLtj.cjs +0 -1
  294. package/dist/capitalize-B3tmp8MO.cjs +0 -1
  295. package/dist/capitalize-Bs7Xs33U.js +0 -9
  296. package/dist/createSvgIcon-2wwaxLPT.cjs +0 -1
  297. package/dist/dividerClasses-izm7KFVg.cjs +0 -1
  298. package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +0 -1
  299. package/dist/extendSxProp-Bv3E507G.cjs +0 -1
  300. package/dist/generateUtilityClasses-KugHyZhN.cjs +0 -75
  301. package/dist/getReactElementRef-D7IvykPI.cjs +0 -1
  302. package/dist/index-9hEUqvaJ.cjs +0 -1
  303. package/dist/index-BomeQRLD.cjs +0 -5
  304. package/dist/index-DS8G_wjP.cjs +0 -1
  305. package/dist/listItemTextClasses-CQXcckDA.cjs +0 -1
  306. package/dist/refType-D-n-tVSl.cjs +0 -1
  307. package/dist/resolveComponentProps-Byi_59AN.cjs +0 -1
  308. package/dist/resolveComponentProps-Ctw0-dUN.js +0 -80
  309. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  310. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  311. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  312. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  313. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  314. package/dist/useForkRef-C_4o__cU.js +0 -15
  315. package/dist/useSlot-CGbU9jGm.cjs +0 -1
  316. package/dist/useSlot-CqjfyGd9.js +0 -48
  317. package/dist/useSlotProps-DfO7r_4Y.cjs +0 -1
  318. package/dist/useTheme-B6wow4M9.cjs +0 -1
  319. package/dist/useTheme-DepbBZga.js +0 -11
  320. package/dist/useTheme-MahNaB8C.cjs +0 -1
  321. package/dist/useThemeProps-BqypsO1h.cjs +0 -1
  322. package/dist/useThemeProps-Drd5oJEF.js +0 -17
  323. package/dist/utils-CUU5fjzL.cjs +0 -1
@@ -1,28 +1,29 @@
1
1
  import { jsx as x, jsxs as ie } from "react/jsx-runtime";
2
- import { c as ae } from "./createSvgIcon-BFqOnlgU.js";
3
- import { B as Be } from "./Box-C-j-U8SH.js";
4
- import { _ as f } from "./ButtonBase-CZFKUUHD.js";
2
+ import { c as ae } from "./createSvgIcon-CCutbgLb.js";
3
+ import { _ as m } from "./ButtonBase-BZXGvriS.js";
5
4
  import * as R from "react";
6
- import { u as ce } from "./useForkRef-C_4o__cU.js";
7
- import { e as B, r as be } from "./resolveComponentProps-Ctw0-dUN.js";
8
- import { treeContentStyle as Ke, arrowContainerStyle as Fe, expandedGroupStyle as je } from "./components/TreeView/style.es.js";
9
- import { getIconComponent as qe } from "./components/TreeView/utils.es.js";
10
- import { G as Ce, H as we, x as _e, I as Te, P as i, n as oe } from "./generateUtilityClasses-CqzQXpT_.js";
5
+ import { w as Be } from "./warning-C8W811fV.js";
6
+ import { u as ce } from "./useForkRef-u29GSuCu.js";
7
+ import { e as K, r as be } from "./useSlot-DhC6EPU2.js";
8
+ import { treeItemRootStyle as Ke, treeContentStyle as Fe, iconStyle as Ie, arrowContainerStyle as je, expandedGroupStyle as qe } from "./components/TreeView/style.es.js";
9
+ import { getIconComponent as Ue } from "./components/TreeView/utils.es.js";
10
+ import { F as Ce, G as Te, w as _e, H as we, P as i, n as oe } from "./identifier-BJqC6EXa.js";
11
11
  import { a as ve } from "./TransitionGroupContext-DbLioz_6.js";
12
- import { u as Ue } from "./useThemeProps-Drd5oJEF.js";
13
- import { u as We, s as A, c as Pe, f as le } from "./DefaultPropsProvider-CXfMJdg8.js";
14
- import { u as Ge } from "./useTheme-DepbBZga.js";
15
- import { m as Xe } from "./memoTheme-B0xVysYu.js";
16
- import { T as Ye, g as Ie } from "./utils-BVg32WSe.js";
17
- import { u as Je } from "./useTimeout-CrCYVizI.js";
18
- import { e as Qe } from "./elementTypeAcceptingRef-1usJq_B8.js";
19
- import { C as Ze } from "./Checkbox-1Zr36vDa.js";
20
- import { u as He } from "./unsupportedProp-BuVD30Gh.js";
21
- import { u as K } from "./useSlotProps-Ceyorp-u.js";
22
- function et(e) {
23
- return we("MuiCollapse", e);
12
+ import { u as We } from "./useThemeProps-CxMYNgfp.js";
13
+ import { u as Ge, s as V, c as Pe, f as le } from "./DefaultPropsProvider-Bg-6nX-u.js";
14
+ import { u as Xe } from "./useTheme-Dt-VOIyT.js";
15
+ import { m as Ye } from "./memoTheme-D_Qap2ZW.js";
16
+ import { T as Je, g as he } from "./utils-qwVZGgXz.js";
17
+ import { u as Qe } from "./useTimeout-CrCYVizI.js";
18
+ import { e as Ze } from "./elementTypeAcceptingRef-COpcDx5q.js";
19
+ import { C as He } from "./Checkbox-DMnS1qrF.js";
20
+ import { u as et } from "./unsupportedProp-BuVD30Gh.js";
21
+ import { u as F } from "./useSlotProps-Bos9nSja.js";
22
+ import { B as tt } from "./Box-2IEW8Uij.js";
23
+ function ot(e) {
24
+ return Te("MuiCollapse", e);
24
25
  }
25
- const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), tt = (e) => {
26
+ const Jt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), nt = (e) => {
26
27
  const {
27
28
  orientation: t,
28
29
  classes: o
@@ -33,8 +34,8 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
33
34
  wrapper: ["wrapper", `${t}`],
34
35
  wrapperInner: ["wrapperInner", `${t}`]
35
36
  };
36
- return Pe(s, et, o);
37
- }, ot = A("div", {
37
+ return Pe(s, ot, o);
38
+ }, rt = V("div", {
38
39
  name: "MuiCollapse",
39
40
  slot: "Root",
40
41
  overridesResolver: (e, t) => {
@@ -43,7 +44,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
43
44
  } = e;
44
45
  return [t.root, t[o.orientation], o.state === "entered" && t.entered, o.state === "exited" && !o.in && o.collapsedSize === "0px" && t.hidden];
45
46
  }
46
- })(Xe(({
47
+ })(Ye(({
47
48
  theme: e
48
49
  }) => ({
49
50
  height: 0,
@@ -82,7 +83,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
82
83
  visibility: "hidden"
83
84
  }
84
85
  }]
85
- }))), nt = A("div", {
86
+ }))), it = V("div", {
86
87
  name: "MuiCollapse",
87
88
  slot: "Wrapper",
88
89
  overridesResolver: (e, t) => t.wrapper
@@ -99,7 +100,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
99
100
  height: "100%"
100
101
  }
101
102
  }]
102
- }), rt = A("div", {
103
+ }), st = V("div", {
103
104
  name: "MuiCollapse",
104
105
  slot: "WrapperInner",
105
106
  overridesResolver: (e, t) => t.wrapperInner
@@ -115,7 +116,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
115
116
  }
116
117
  }]
117
118
  }), se = /* @__PURE__ */ R.forwardRef(function(t, o) {
118
- const s = We({
119
+ const s = Ge({
119
120
  props: t,
120
121
  name: "MuiCollapse"
121
122
  }), {
@@ -123,7 +124,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
123
124
  children: d,
124
125
  className: g,
125
126
  collapsedSize: l = "0px",
126
- component: m,
127
+ component: f,
127
128
  easing: c,
128
129
  in: h,
129
130
  onEnter: b,
@@ -131,64 +132,64 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
131
132
  onEntering: r,
132
133
  onExit: y,
133
134
  onExited: S,
134
- onExiting: F,
135
- orientation: X = "vertical",
135
+ onExiting: O,
136
+ orientation: j = "vertical",
136
137
  style: _,
137
- timeout: T = _e.standard,
138
+ timeout: w = _e.standard,
138
139
  // eslint-disable-next-line react/prop-types
139
- TransitionComponent: E = Ye,
140
+ TransitionComponent: E = Je,
140
141
  ...P
141
- } = s, w = {
142
+ } = s, T = {
142
143
  ...s,
143
- orientation: X,
144
+ orientation: j,
144
145
  collapsedSize: l
145
- }, O = tt(w), U = Ge(), Y = Je(), D = R.useRef(null), j = R.useRef(), q = typeof l == "number" ? `${l}px` : l, M = X === "horizontal", z = M ? "width" : "height", $ = R.useRef(null), H = ce(o, $), N = (I) => (k) => {
146
+ }, D = nt(T), W = Xe(), Y = Qe(), M = R.useRef(null), q = R.useRef(), U = typeof l == "number" ? `${l}px` : l, k = j === "horizontal", z = k ? "width" : "height", B = R.useRef(null), H = ce(o, B), A = (I) => (L) => {
146
147
  if (I) {
147
- const L = $.current;
148
- k === void 0 ? I(L) : I(L, k);
148
+ const N = B.current;
149
+ L === void 0 ? I(N) : I(N, L);
149
150
  }
150
- }, W = () => D.current ? D.current[M ? "clientWidth" : "clientHeight"] : 0, J = N((I, k) => {
151
- D.current && M && (D.current.style.position = "absolute"), I.style[z] = q, b && b(I, k);
152
- }), ee = N((I, k) => {
153
- const L = W();
154
- D.current && M && (D.current.style.position = "");
151
+ }, G = () => M.current ? M.current[k ? "clientWidth" : "clientHeight"] : 0, J = A((I, L) => {
152
+ M.current && k && (M.current.style.position = "absolute"), I.style[z] = U, b && b(I, L);
153
+ }), ee = A((I, L) => {
154
+ const N = G();
155
+ M.current && k && (M.current.style.position = "");
155
156
  const {
156
157
  duration: Z,
157
158
  easing: a
158
- } = Ie({
159
+ } = he({
159
160
  style: _,
160
- timeout: T,
161
+ timeout: w,
161
162
  easing: c
162
163
  }, {
163
164
  mode: "enter"
164
165
  });
165
- if (T === "auto") {
166
- const n = U.transitions.getAutoHeightDuration(L);
167
- I.style.transitionDuration = `${n}ms`, j.current = n;
166
+ if (w === "auto") {
167
+ const n = W.transitions.getAutoHeightDuration(N);
168
+ I.style.transitionDuration = `${n}ms`, q.current = n;
168
169
  } else
169
170
  I.style.transitionDuration = typeof Z == "string" ? Z : `${Z}ms`;
170
- I.style[z] = `${L}px`, I.style.transitionTimingFunction = a, r && r(I, k);
171
- }), Q = N((I, k) => {
172
- I.style[z] = "auto", C && C(I, k);
173
- }), re = N((I) => {
174
- I.style[z] = `${W()}px`, y && y(I);
175
- }), ue = N(S), ge = N((I) => {
176
- const k = W(), {
177
- duration: L,
171
+ I.style[z] = `${N}px`, I.style.transitionTimingFunction = a, r && r(I, L);
172
+ }), Q = A((I, L) => {
173
+ I.style[z] = "auto", C && C(I, L);
174
+ }), re = A((I) => {
175
+ I.style[z] = `${G()}px`, y && y(I);
176
+ }), ue = A(S), ge = A((I) => {
177
+ const L = G(), {
178
+ duration: N,
178
179
  easing: Z
179
- } = Ie({
180
+ } = he({
180
181
  style: _,
181
- timeout: T,
182
+ timeout: w,
182
183
  easing: c
183
184
  }, {
184
185
  mode: "exit"
185
186
  });
186
- if (T === "auto") {
187
- const a = U.transitions.getAutoHeightDuration(k);
188
- I.style.transitionDuration = `${a}ms`, j.current = a;
187
+ if (w === "auto") {
188
+ const a = W.transitions.getAutoHeightDuration(L);
189
+ I.style.transitionDuration = `${a}ms`, q.current = a;
189
190
  } else
190
- I.style.transitionDuration = typeof L == "string" ? L : `${L}ms`;
191
- I.style[z] = q, I.style.transitionTimingFunction = Z, F && F(I);
191
+ I.style.transitionDuration = typeof N == "string" ? N : `${N}ms`;
192
+ I.style[z] = U, I.style.transitionTimingFunction = Z, O && O(I);
192
193
  });
193
194
  return /* @__PURE__ */ x(E, {
194
195
  in: h,
@@ -199,43 +200,43 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
199
200
  onExited: ue,
200
201
  onExiting: ge,
201
202
  addEndListener: (I) => {
202
- T === "auto" && Y.start(j.current || 0, I), p && p($.current, I);
203
+ w === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
203
204
  },
204
- nodeRef: $,
205
- timeout: T === "auto" ? null : T,
205
+ nodeRef: B,
206
+ timeout: w === "auto" ? null : w,
206
207
  ...P,
207
208
  children: (I, {
208
- ownerState: k,
209
- ...L
210
- }) => /* @__PURE__ */ x(ot, {
211
- as: m,
212
- className: Te(O.root, g, {
213
- entered: O.entered,
214
- exited: !h && q === "0px" && O.hidden
209
+ ownerState: L,
210
+ ...N
211
+ }) => /* @__PURE__ */ x(rt, {
212
+ as: f,
213
+ className: we(D.root, g, {
214
+ entered: D.entered,
215
+ exited: !h && U === "0px" && D.hidden
215
216
  }[I]),
216
217
  style: {
217
- [M ? "minWidth" : "minHeight"]: q,
218
+ [k ? "minWidth" : "minHeight"]: U,
218
219
  ..._
219
220
  },
220
221
  ref: H,
221
222
  ownerState: {
222
- ...w,
223
+ ...T,
223
224
  state: I
224
225
  },
225
- ...L,
226
- children: /* @__PURE__ */ x(nt, {
226
+ ...N,
227
+ children: /* @__PURE__ */ x(it, {
227
228
  ownerState: {
228
- ...w,
229
+ ...T,
229
230
  state: I
230
231
  },
231
- className: O.wrapper,
232
- ref: D,
233
- children: /* @__PURE__ */ x(rt, {
232
+ className: D.wrapper,
233
+ ref: M,
234
+ children: /* @__PURE__ */ x(st, {
234
235
  ownerState: {
235
- ...w,
236
+ ...T,
236
237
  state: I
237
238
  },
238
- className: O.wrapperInner,
239
+ className: D.wrapperInner,
239
240
  children: d
240
241
  })
241
242
  })
@@ -274,7 +275,7 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
274
275
  * The component used for the root node.
275
276
  * Either a string to use a HTML element or a component.
276
277
  */
277
- component: Qe,
278
+ component: Ze,
278
279
  /**
279
280
  * The transition timing function.
280
281
  * You may specify a single easing or a object containing enter and exit values.
@@ -338,23 +339,16 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
338
339
  })])
339
340
  });
340
341
  se && (se.muiSupportAuto = !0);
341
- const it = ae(/* @__PURE__ */ x("path", {
342
+ const at = ae(/* @__PURE__ */ x("path", {
342
343
  d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
343
- }), "KeyboardArrowDown"), st = ae(/* @__PURE__ */ x("path", {
344
+ }), "KeyboardArrowDown"), lt = ae(/* @__PURE__ */ x("path", {
344
345
  d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
345
- }), "KeyboardArrowRight"), he = /* @__PURE__ */ new Set();
346
- function at(e, t = "warning") {
347
- if (process.env.NODE_ENV === "production")
348
- return;
349
- const o = Array.isArray(e) ? e.join(`
350
- `) : e;
351
- he.has(o) || (he.add(o), t === "error" ? console.error(o) : console.warn(o));
352
- }
353
- function lt(e) {
354
- return Ue;
346
+ }), "KeyboardArrowRight");
347
+ function dt(e) {
348
+ return We;
355
349
  }
356
350
  let ye = 0;
357
- const Yt = () => (ye += 1, `mui-tree-view-${ye}`), dt = ({
351
+ const Qt = () => (ye += 1, `mui-tree-view-${ye}`), ct = ({
358
352
  id: e,
359
353
  treeId: t = "",
360
354
  itemId: o
@@ -374,7 +368,7 @@ const Se = (e, t) => {
374
368
  o -= 1;
375
369
  if (o !== -1)
376
370
  return t[o];
377
- }, ct = (e, t) => {
371
+ }, pt = (e, t) => {
378
372
  const o = e.getItemMeta(t), s = e.getItemOrderedChildrenIds(o.parentId), p = e.getItemIndex(t);
379
373
  if (p === 0)
380
374
  return o.parentId;
@@ -382,12 +376,12 @@ const Se = (e, t) => {
382
376
  for (; !e.isItemNavigable(s[d]) && d >= 0; )
383
377
  d -= 1;
384
378
  if (d === -1)
385
- return o.parentId == null ? null : ct(e, o.parentId);
379
+ return o.parentId == null ? null : pt(e, o.parentId);
386
380
  let g = s[d], l = Se(e, e.getItemOrderedChildrenIds(g));
387
381
  for (; e.isItemExpanded(g) && l != null; )
388
382
  g = l, l = e.getItemOrderedChildrenIds(g).find(e.isItemNavigable);
389
383
  return g;
390
- }, pt = (e, t) => {
384
+ }, ut = (e, t) => {
391
385
  if (e.isItemExpanded(t)) {
392
386
  const s = e.getItemOrderedChildrenIds(t).find(e.isItemNavigable);
393
387
  if (s != null)
@@ -406,7 +400,7 @@ const Se = (e, t) => {
406
400
  o = e.getItemMeta(o.parentId);
407
401
  }
408
402
  return null;
409
- }, Jt = (e) => {
403
+ }, Zt = (e) => {
410
404
  let t = null;
411
405
  for (; t == null || e.isItemExpanded(t); ) {
412
406
  const o = e.getItemOrderedChildrenIds(t), s = Se(e, o);
@@ -415,23 +409,23 @@ const Se = (e, t) => {
415
409
  t = s;
416
410
  }
417
411
  return t;
418
- }, ut = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), gt = (e, t, o) => {
412
+ }, gt = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), mt = (e, t, o) => {
419
413
  if (t === o)
420
414
  return [t, o];
421
415
  const s = e.getItemMeta(t), p = e.getItemMeta(o);
422
416
  if (s.parentId === p.id || p.parentId === s.id)
423
417
  return p.parentId === s.id ? [s.id, p.id] : [p.id, s.id];
424
418
  const d = [s.id], g = [p.id];
425
- let l = s.parentId, m = p.parentId, c = g.indexOf(l) !== -1, h = d.indexOf(m) !== -1, b = !0, C = !0;
419
+ let l = s.parentId, f = p.parentId, c = g.indexOf(l) !== -1, h = d.indexOf(f) !== -1, b = !0, C = !0;
426
420
  for (; !h && !c; )
427
- b && (d.push(l), c = g.indexOf(l) !== -1, b = l !== null, !c && b && (l = e.getItemMeta(l).parentId)), C && !c && (g.push(m), h = d.indexOf(m) !== -1, C = m !== null, !h && C && (m = e.getItemMeta(m).parentId));
428
- const r = c ? l : m, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], F = g[g.indexOf(r) - 1];
429
- return y.indexOf(S) < y.indexOf(F) ? [t, o] : [o, t];
430
- }, Qt = (e, t, o) => {
431
- const s = (m) => {
432
- if (e.isItemExpandable(m) && e.isItemExpanded(m))
433
- return e.getItemOrderedChildrenIds(m)[0];
434
- let c = e.getItemMeta(m);
421
+ b && (d.push(l), c = g.indexOf(l) !== -1, b = l !== null, !c && b && (l = e.getItemMeta(l).parentId)), C && !c && (g.push(f), h = d.indexOf(f) !== -1, C = f !== null, !h && C && (f = e.getItemMeta(f).parentId));
422
+ const r = c ? l : f, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], O = g[g.indexOf(r) - 1];
423
+ return y.indexOf(S) < y.indexOf(O) ? [t, o] : [o, t];
424
+ }, Ht = (e, t, o) => {
425
+ const s = (f) => {
426
+ if (e.isItemExpandable(f) && e.isItemExpanded(f))
427
+ return e.getItemOrderedChildrenIds(f)[0];
428
+ let c = e.getItemMeta(f);
435
429
  for (; c != null; ) {
436
430
  const h = e.getItemOrderedChildrenIds(c.parentId), b = e.getItemIndex(c.id);
437
431
  if (b < h.length - 1)
@@ -439,16 +433,16 @@ const Se = (e, t) => {
439
433
  c = e.getItemMeta(c.parentId);
440
434
  }
441
435
  throw new Error("Invalid range");
442
- }, [p, d] = gt(e, t, o), g = [p];
436
+ }, [p, d] = mt(e, t, o), g = [p];
443
437
  let l = p;
444
438
  for (; l !== d; )
445
439
  l = s(l), e.isItemDisabled(l) || g.push(l);
446
440
  return g;
447
- }, Zt = (e) => {
448
- let t = ut(e);
441
+ }, eo = (e) => {
442
+ let t = gt(e);
449
443
  const o = [];
450
444
  for (; t != null; )
451
- o.push(t), t = pt(e, t);
445
+ o.push(t), t = ut(e, t);
452
446
  return o;
453
447
  }, xe = (e, t) => t !== e.closest('*[role="treeitem"]'), de = (e, t) => e.getAvailablePlugins().has(t), ft = ({
454
448
  props: e
@@ -465,7 +459,7 @@ const Se = (e, t) => {
465
459
  propsEnhancers: {
466
460
  labelInput: ({
467
461
  externalEventHandlers: l,
468
- interactions: m
462
+ interactions: f
469
463
  }) => t.isItemEditable(s) ? {
470
464
  value: p ?? "",
471
465
  "data-element": "labelInput",
@@ -478,29 +472,29 @@ const Se = (e, t) => {
478
472
  if ((S = l.onKeyDown) == null || S.call(l, r), r.defaultMuiPrevented)
479
473
  return;
480
474
  const y = r.target;
481
- r.key === "Enter" && y.value ? m.handleSaveItemLabel(r, y.value) : r.key === "Escape" && m.handleCancelItemLabelEditing(r);
475
+ r.key === "Enter" && y.value ? f.handleSaveItemLabel(r, y.value) : r.key === "Escape" && f.handleCancelItemLabelEditing(r);
482
476
  },
483
477
  onBlur: (r) => {
484
478
  var y;
485
- (y = l.onBlur) == null || y.call(l, r), !r.defaultMuiPrevented && r.target.value && m.handleSaveItemLabel(r, r.target.value);
479
+ (y = l.onBlur) == null || y.call(l, r), !r.defaultMuiPrevented && r.target.value && f.handleSaveItemLabel(r, r.target.value);
486
480
  },
487
481
  autoFocus: !0,
488
482
  type: "text"
489
483
  } : {}
490
484
  }
491
485
  };
492
- }, G = ({
486
+ }, X = ({
493
487
  instance: e,
494
488
  state: t,
495
489
  setState: o,
496
490
  params: s
497
491
  }) => {
498
492
  const p = R.useRef(t.editedItemId), d = (b) => p.current === b, g = (b) => {
499
- o((C) => f({}, C, {
493
+ o((C) => m({}, C, {
500
494
  editedItemId: b
501
495
  })), p.current = b;
502
- }, l = (b) => b === t.editedItemId, m = !!s.isItemEditable, c = (b) => {
503
- if (b == null || !m)
496
+ }, l = (b) => b === t.editedItemId, f = !!s.isItemEditable, c = (b) => {
497
+ if (b == null || !f)
504
498
  return !1;
505
499
  const C = e.getItem(b);
506
500
  return C ? typeof s.isItemEditable == "function" ? s.isItemEditable(C) : !!s.isItemEditable : !1;
@@ -510,10 +504,10 @@ const Se = (e, t) => {
510
504
  `));
511
505
  o((r) => {
512
506
  const y = r.items.itemMetaMap[b];
513
- return y.label !== C ? f({}, r, {
514
- items: f({}, r.items, {
515
- itemMetaMap: f({}, r.items.itemMetaMap, {
516
- [b]: f({}, y, {
507
+ return y.label !== C ? m({}, r, {
508
+ items: m({}, r.items, {
509
+ itemMetaMap: m({}, r.items.itemMetaMap, {
510
+ [b]: m({}, y, {
517
511
  label: C
518
512
  })
519
513
  })
@@ -527,7 +521,7 @@ const Se = (e, t) => {
527
521
  isItemBeingEdited: l,
528
522
  updateItemLabel: h,
529
523
  isItemEditable: c,
530
- isTreeViewEditable: m,
524
+ isTreeViewEditable: f,
531
525
  isItemBeingEditedRef: d
532
526
  },
533
527
  publicAPI: {
@@ -535,24 +529,24 @@ const Se = (e, t) => {
535
529
  }
536
530
  };
537
531
  };
538
- G.itemPlugin = ft;
539
- G.getDefaultizedParams = ({
532
+ X.itemPlugin = ft;
533
+ X.getDefaultizedParams = ({
540
534
  params: e,
541
535
  experimentalFeatures: t
542
536
  }) => {
543
537
  const o = t == null ? void 0 : t.labelEditing;
544
- return process.env.NODE_ENV !== "production" && e.isItemEditable && !o && at(["MUI X: The label editing feature requires the `labelEditing` experimental feature to be enabled.", "You can do it by passing `experimentalFeatures={{ labelEditing: true}}` to the Rich Tree View Pro component.", "Check the documentation for more details: https://mui.com/x/react-tree-view/rich-tree-view/editing/"]), f({}, e, {
538
+ return process.env.NODE_ENV !== "production" && e.isItemEditable && !o && Be(["MUI X: The label editing feature requires the `labelEditing` experimental feature to be enabled.", "You can do it by passing `experimentalFeatures={{ labelEditing: true}}` to the Rich Tree View Pro component.", "Check the documentation for more details: https://mui.com/x/react-tree-view/rich-tree-view/editing/"]), m({}, e, {
545
539
  isItemEditable: o ? e.isItemEditable ?? !1 : !1
546
540
  });
547
541
  };
548
- G.getInitialState = () => ({
542
+ X.getInitialState = () => ({
549
543
  editedItemId: null
550
544
  });
551
- G.params = {
545
+ X.params = {
552
546
  onItemLabelChange: !0,
553
547
  isItemEditable: !0
554
548
  };
555
- const mt = A("div", {
549
+ const bt = V("div", {
556
550
  name: "MuiTreeItem2DragAndDropOverlay",
557
551
  slot: "Root",
558
552
  overridesResolver: (e, t) => t.root,
@@ -603,7 +597,7 @@ const mt = A("div", {
603
597
  }]
604
598
  }));
605
599
  function Oe(e) {
606
- return e.action == null ? null : /* @__PURE__ */ x(mt, f({}, e));
600
+ return e.action == null ? null : /* @__PURE__ */ x(bt, m({}, e));
607
601
  }
608
602
  process.env.NODE_ENV !== "production" && (Oe.propTypes = {
609
603
  // ----------------------------- Warning --------------------------------
@@ -613,13 +607,13 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
613
607
  action: i.oneOf(["make-child", "move-to-parent", "reorder-above", "reorder-below"]),
614
608
  style: i.object
615
609
  });
616
- const bt = A("input", {
610
+ const It = V("input", {
617
611
  name: "MuiTreeItem2",
618
612
  slot: "LabelInput",
619
613
  overridesResolver: (e, t) => t.labelInput
620
614
  })(({
621
615
  theme: e
622
- }) => f({}, e.typography.body1, {
616
+ }) => m({}, e.typography.body1, {
623
617
  width: "100%",
624
618
  backgroundColor: e.palette.background.paper,
625
619
  borderRadius: e.shape.borderRadius,
@@ -630,12 +624,12 @@ const bt = A("input", {
630
624
  outline: `1px solid ${e.palette.primary.main}`
631
625
  }
632
626
  }));
633
- function It(e) {
634
- return we("MuiTreeItem", e);
627
+ function ht(e) {
628
+ return Te("MuiTreeItem", e);
635
629
  }
636
- const Ht = Ce("MuiTreeItem", ["root", "groupTransition", "content", "expanded", "selected", "focused", "disabled", "iconContainer", "label", "checkbox", "labelInput", "editable", "editing", "dragAndDropOverlay"]), ht = ae(/* @__PURE__ */ x("path", {
630
+ const to = Ce("MuiTreeItem", ["root", "groupTransition", "content", "expanded", "selected", "focused", "disabled", "iconContainer", "label", "checkbox", "labelInput", "editable", "editing", "dragAndDropOverlay"]), yt = ae(/* @__PURE__ */ x("path", {
637
631
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
638
- }), "TreeViewExpandIcon"), yt = ae(/* @__PURE__ */ x("path", {
632
+ }), "TreeViewExpandIcon"), xt = ae(/* @__PURE__ */ x("path", {
639
633
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
640
634
  }), "TreeViewCollapseIcon");
641
635
  function pe(e) {
@@ -660,7 +654,7 @@ pe.propTypes = {
660
654
  children: i.node,
661
655
  itemId: i.string.isRequired
662
656
  };
663
- const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
657
+ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, Ct = ({
664
658
  itemId: e,
665
659
  children: t
666
660
  }) => {
@@ -696,7 +690,7 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
696
690
  itemId: e,
697
691
  shouldBeSelected: !0
698
692
  });
699
- }, m = (r) => {
693
+ }, f = (r) => {
700
694
  const y = r.nativeEvent.shiftKey;
701
695
  s && y ? o.expandSelectionRange(r, e) : o.selectItem({
702
696
  event: r,
@@ -705,25 +699,25 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
705
699
  shouldBeSelected: r.target.checked
706
700
  });
707
701
  }, c = () => {
708
- de(o, G) && o.isItemEditable(e) && (o.isItemBeingEdited(e) ? o.setEditedItemId(null) : o.setEditedItemId(e));
702
+ de(o, X) && o.isItemEditable(e) && (o.isItemBeingEdited(e) ? o.setEditedItemId(null) : o.setEditedItemId(e));
709
703
  };
710
704
  return {
711
705
  interactions: {
712
706
  handleExpansion: g,
713
707
  handleSelection: l,
714
- handleCheckboxSelection: m,
708
+ handleCheckboxSelection: f,
715
709
  toggleItemEditing: c,
716
710
  handleSaveItemLabel: (r, y) => {
717
- de(o, G) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
711
+ de(o, X) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
718
712
  },
719
713
  handleCancelItemLabelEditing: (r) => {
720
- de(o, G) && o.isItemBeingEditedRef(e) && (c(), o.focusItem(r, e));
714
+ de(o, X) && o.isItemBeingEditedRef(e) && (c(), o.focusItem(r, e));
721
715
  }
722
716
  },
723
717
  status: d,
724
718
  publicAPI: p
725
719
  };
726
- }, Ct = (e) => {
720
+ }, Tt = (e) => {
727
721
  const {
728
722
  runItemPlugins: t,
729
723
  items: {
@@ -738,7 +732,7 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
738
732
  expansion: {
739
733
  expansionTrigger: l
740
734
  },
741
- treeId: m,
735
+ treeId: f,
742
736
  instance: c,
743
737
  publicAPI: h
744
738
  } = ne(), b = R.useContext(Re), {
@@ -746,24 +740,24 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
746
740
  itemId: r,
747
741
  label: y,
748
742
  children: S,
749
- rootRef: F
743
+ rootRef: O
750
744
  } = e, {
751
- rootRef: X,
745
+ rootRef: j,
752
746
  contentRef: _,
753
- propsEnhancers: T
747
+ propsEnhancers: w
754
748
  } = t(e), {
755
749
  interactions: E,
756
750
  status: P
757
- } = xt({
751
+ } = Ct({
758
752
  itemId: r,
759
753
  children: S
760
- }), w = R.useRef(null), O = R.useRef(null), U = ce(F, X, w), Y = ce(_, O), D = R.useRef(null), j = dt({
754
+ }), T = R.useRef(null), D = R.useRef(null), W = ce(O, j, T), Y = ce(_, D), M = R.useRef(null), q = ct({
761
755
  itemId: r,
762
- treeId: m,
756
+ treeId: f,
763
757
  id: C
764
- }), q = c.canItemBeTabbed(r) ? 0 : -1, M = {
765
- rootRefObject: w,
766
- contentRefObject: O,
758
+ }), U = c.canItemBeTabbed(r) ? 0 : -1, k = {
759
+ rootRefObject: T,
760
+ contentRefObject: D,
767
761
  interactions: E
768
762
  }, z = (a) => (n) => {
769
763
  var v;
@@ -771,23 +765,23 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
771
765
  return;
772
766
  const u = !P.disabled || s;
773
767
  !P.focused && u && n.currentTarget === n.target && c.focusItem(n, r);
774
- }, $ = (a) => (n) => {
775
- var v, V, te, fe, me;
768
+ }, B = (a) => (n) => {
769
+ var v, $, te, me, fe;
776
770
  if ((v = a.onBlur) == null || v.call(a, n), n.defaultMuiPrevented)
777
771
  return;
778
772
  const u = c.getItemDOMElement(r);
779
773
  P.editing || // we can exit the editing state by clicking outside the input (within the Tree Item) or by pressing Enter or Escape -> we don't want to remove the focused item from the state in these cases
780
774
  // we can also exit the editing state by clicking on the root itself -> want to remove the focused item from the state in this case
781
- n.relatedTarget && xe(n.relatedTarget, u) && (n.target && ((te = (V = n.target) == null ? void 0 : V.dataset) == null ? void 0 : te.element) === "labelInput" && xe(n.target, u) || ((me = (fe = n.relatedTarget) == null ? void 0 : fe.dataset) == null ? void 0 : me.element) === "labelInput") || c.removeFocusedItem();
775
+ n.relatedTarget && xe(n.relatedTarget, u) && (n.target && ((te = ($ = n.target) == null ? void 0 : $.dataset) == null ? void 0 : te.element) === "labelInput" && xe(n.target, u) || ((fe = (me = n.relatedTarget) == null ? void 0 : me.dataset) == null ? void 0 : fe.element) === "labelInput") || c.removeFocusedItem();
782
776
  }, H = (a) => (n) => {
783
- var u, v, V;
784
- (u = a.onKeyDown) == null || u.call(a, n), !(n.defaultMuiPrevented || ((V = (v = n.target) == null ? void 0 : v.dataset) == null ? void 0 : V.element) === "labelInput") && c.handleItemKeyDown(n, r);
785
- }, N = (a) => (n) => {
777
+ var u, v, $;
778
+ (u = a.onKeyDown) == null || u.call(a, n), !(n.defaultMuiPrevented || (($ = (v = n.target) == null ? void 0 : v.dataset) == null ? void 0 : $.element) === "labelInput") && c.handleItemKeyDown(n, r);
779
+ }, A = (a) => (n) => {
786
780
  var u;
787
781
  (u = a.onDoubleClick) == null || u.call(a, n), !n.defaultMuiPrevented && E.toggleItemEditing();
788
- }, W = (a) => (n) => {
782
+ }, G = (a) => (n) => {
789
783
  var u, v;
790
- (u = a.onClick) == null || u.call(a, n), o == null || o(n, r), !(n.defaultMuiPrevented || (v = D.current) != null && v.contains(n.target)) && (l === "content" && E.handleExpansion(n), g || E.handleSelection(n));
784
+ (u = a.onClick) == null || u.call(a, n), o == null || o(n, r), !(n.defaultMuiPrevented || (v = M.current) != null && v.contains(n.target)) && (l === "content" && E.handleExpansion(n), g || E.handleSelection(n));
791
785
  }, J = (a) => (n) => {
792
786
  var u;
793
787
  (u = a.onMouseDown) == null || u.call(a, n), !n.defaultMuiPrevented && (n.shiftKey || n.ctrlKey || n.metaKey || P.disabled) && n.preventDefault();
@@ -801,46 +795,46 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
801
795
  return {
802
796
  getRootProps: (a = {}) => {
803
797
  var te;
804
- const n = f({}, B(e), B(a));
798
+ const n = m({}, K(e), K(a));
805
799
  let u;
806
800
  P.selected ? u = !0 : d || P.disabled ? u = void 0 : u = !1;
807
- const v = f({}, n, {
808
- ref: U,
801
+ const v = m({}, n, {
802
+ ref: W,
809
803
  role: "treeitem",
810
- tabIndex: q,
811
- id: j,
804
+ tabIndex: U,
805
+ id: q,
812
806
  "aria-expanded": P.expandable ? P.expanded : void 0,
813
807
  "aria-selected": u,
814
808
  "aria-disabled": P.disabled || void 0
815
809
  }, a, {
816
810
  onFocus: z(n),
817
- onBlur: $(n),
811
+ onBlur: B(n),
818
812
  onKeyDown: H(n)
819
813
  });
820
814
  p && (v.style = {
821
815
  "--TreeView-itemDepth": typeof b == "function" ? b(r) : b
822
816
  });
823
- const V = ((te = T.root) == null ? void 0 : te.call(T, f({}, M, {
817
+ const $ = ((te = w.root) == null ? void 0 : te.call(w, m({}, k, {
824
818
  externalEventHandlers: n
825
819
  }))) ?? {};
826
- return f({}, v, V);
820
+ return m({}, v, $);
827
821
  },
828
822
  getContentProps: (a = {}) => {
829
- var V;
830
- const n = B(a), u = f({}, n, a, {
823
+ var $;
824
+ const n = K(a), u = m({}, n, a, {
831
825
  ref: Y,
832
- onClick: W(n),
826
+ onClick: G(n),
833
827
  onMouseDown: J(n),
834
828
  status: P
835
829
  });
836
830
  p && (u.indentationAtItemLevel = !0);
837
- const v = ((V = T.content) == null ? void 0 : V.call(T, f({}, M, {
831
+ const v = (($ = w.content) == null ? void 0 : $.call(w, m({}, k, {
838
832
  externalEventHandlers: n
839
833
  }))) ?? {};
840
- return f({}, u, v);
834
+ return m({}, u, v);
841
835
  },
842
836
  getGroupTransitionProps: (a = {}) => {
843
- const n = B(a), u = f({}, n, {
837
+ const n = K(a), u = m({}, n, {
844
838
  unmountOnExit: !0,
845
839
  component: "ul",
846
840
  role: "group",
@@ -850,16 +844,16 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
850
844
  return p && (u.indentationAtItemLevel = !0), u;
851
845
  },
852
846
  getIconContainerProps: (a = {}) => {
853
- const n = B(a);
854
- return f({}, n, a, {
847
+ const n = K(a);
848
+ return m({}, n, a, {
855
849
  onClick: Q(n)
856
850
  });
857
851
  },
858
852
  getCheckboxProps: (a = {}) => {
859
- const n = B(a);
860
- return f({}, n, {
853
+ const n = K(a);
854
+ return m({}, n, {
861
855
  visible: g,
862
- ref: D,
856
+ ref: M,
863
857
  checked: P.selected,
864
858
  disabled: d || P.disabled,
865
859
  tabIndex: -1
@@ -868,53 +862,53 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
868
862
  });
869
863
  },
870
864
  getLabelProps: (a = {}) => {
871
- const n = f({}, B(a)), u = f({}, n, {
865
+ const n = m({}, K(a)), u = m({}, n, {
872
866
  children: y
873
867
  }, a, {
874
- onDoubleClick: N(n)
868
+ onDoubleClick: A(n)
875
869
  });
876
870
  return c.isTreeViewEditable && (u.editable = P.editable), u;
877
871
  },
878
872
  getLabelInputProps: (a = {}) => {
879
873
  var v;
880
- const n = B(a), u = ((v = T.labelInput) == null ? void 0 : v.call(T, {
881
- rootRefObject: w,
882
- contentRefObject: O,
874
+ const n = K(a), u = ((v = w.labelInput) == null ? void 0 : v.call(w, {
875
+ rootRefObject: T,
876
+ contentRefObject: D,
883
877
  externalEventHandlers: n,
884
878
  interactions: E
885
879
  })) ?? {};
886
- return f({}, a, u);
880
+ return m({}, a, u);
887
881
  },
888
882
  getDragAndDropOverlayProps: (a = {}) => {
889
883
  var v;
890
- const n = B(a), u = ((v = T.dragAndDropOverlay) == null ? void 0 : v.call(T, f({}, M, {
884
+ const n = K(a), u = ((v = w.dragAndDropOverlay) == null ? void 0 : v.call(w, m({}, k, {
891
885
  externalEventHandlers: n
892
886
  }))) ?? {};
893
- return f({}, a, u);
887
+ return m({}, a, u);
894
888
  },
895
- rootRef: U,
889
+ rootRef: W,
896
890
  status: P,
897
891
  publicAPI: h
898
892
  };
899
- }, Me = Ct;
893
+ }, Me = Tt;
900
894
  function ke(e) {
901
895
  const {
902
896
  slots: t,
903
897
  slotProps: o,
904
898
  status: s
905
- } = e, p = ne(), d = f({}, p.icons.slots, {
906
- expandIcon: p.icons.slots.expandIcon ?? ht,
907
- collapseIcon: p.icons.slots.collapseIcon ?? yt
899
+ } = e, p = ne(), d = m({}, p.icons.slots, {
900
+ expandIcon: p.icons.slots.expandIcon ?? yt,
901
+ collapseIcon: p.icons.slots.collapseIcon ?? xt
908
902
  }), g = p.icons.slotProps;
909
903
  let l;
910
904
  t != null && t.icon ? l = "icon" : s.expandable ? s.expanded ? l = "collapseIcon" : l = "expandIcon" : l = "endIcon";
911
- const m = (t == null ? void 0 : t[l]) ?? d[l], c = K({
912
- elementType: m,
913
- externalSlotProps: (h) => f({}, be(g[l], h), be(o == null ? void 0 : o[l], h)),
905
+ const f = (t == null ? void 0 : t[l]) ?? d[l], c = F({
906
+ elementType: f,
907
+ externalSlotProps: (h) => m({}, be(g[l], h), be(o == null ? void 0 : o[l], h)),
914
908
  // TODO: Add proper ownerState
915
909
  ownerState: {}
916
910
  });
917
- return m ? /* @__PURE__ */ x(m, f({}, c)) : null;
911
+ return f ? /* @__PURE__ */ x(f, m({}, c)) : null;
918
912
  }
919
913
  process.env.NODE_ENV !== "production" && (ke.propTypes = {
920
914
  // ----------------------------- Warning --------------------------------
@@ -941,7 +935,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
941
935
  selected: i.bool.isRequired
942
936
  }).isRequired
943
937
  });
944
- const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], vt = lt(), Le = A("li", {
938
+ const wt = ["visible"], vt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], Pt = dt(), Le = V("li", {
945
939
  name: "MuiTreeItem2",
946
940
  slot: "Root",
947
941
  overridesResolver: (e, t) => t.root
@@ -950,7 +944,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
950
944
  margin: 0,
951
945
  padding: 0,
952
946
  outline: 0
953
- }), Ne = A("div", {
947
+ }), Ne = V("div", {
954
948
  name: "MuiTreeItem2",
955
949
  slot: "Content",
956
950
  overridesResolver: (e, t) => t.content,
@@ -1020,14 +1014,14 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1020
1014
  backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : oe(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1021
1015
  }
1022
1016
  }]
1023
- })), Ae = A("div", {
1017
+ })), Ae = V("div", {
1024
1018
  name: "MuiTreeItem2",
1025
1019
  slot: "Label",
1026
1020
  overridesResolver: (e, t) => t.label,
1027
1021
  shouldForwardProp: (e) => le(e) && e !== "editable"
1028
1022
  })(({
1029
1023
  theme: e
1030
- }) => f({
1024
+ }) => m({
1031
1025
  width: "100%",
1032
1026
  boxSizing: "border-box",
1033
1027
  // prevent width + padding to overflow
@@ -1044,7 +1038,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1044
1038
  paddingLeft: "2px"
1045
1039
  }
1046
1040
  }]
1047
- })), Ve = A("div", {
1041
+ })), Ve = V("div", {
1048
1042
  name: "MuiTreeItem2",
1049
1043
  slot: "IconContainer",
1050
1044
  overridesResolver: (e, t) => t.iconContainer
@@ -1056,7 +1050,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1056
1050
  "& svg": {
1057
1051
  fontSize: 18
1058
1052
  }
1059
- }), ze = A(se, {
1053
+ }), $e = V(se, {
1060
1054
  name: "MuiTreeItem2",
1061
1055
  slot: "GroupTransition",
1062
1056
  overridesResolver: (e, t) => t.groupTransition,
@@ -1073,11 +1067,11 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1073
1067
  paddingLeft: 0
1074
1068
  }
1075
1069
  }]
1076
- }), Pt = A(/* @__PURE__ */ R.forwardRef((e, t) => {
1070
+ }), Et = V(/* @__PURE__ */ R.forwardRef((e, t) => {
1077
1071
  const {
1078
1072
  visible: o
1079
1073
  } = e, s = ve(e, wt);
1080
- return o ? /* @__PURE__ */ x(Ze, f({}, s, {
1074
+ return o ? /* @__PURE__ */ x(He, m({}, s, {
1081
1075
  ref: t
1082
1076
  })) : null;
1083
1077
  }), {
@@ -1086,7 +1080,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1086
1080
  overridesResolver: (e, t) => t.checkbox
1087
1081
  })({
1088
1082
  padding: 0
1089
- }), Et = (e) => {
1083
+ }), Rt = (e) => {
1090
1084
  const {
1091
1085
  classes: t
1092
1086
  } = e;
@@ -1105,9 +1099,9 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1105
1099
  groupTransition: ["groupTransition"],
1106
1100
  labelInput: ["labelInput"],
1107
1101
  dragAndDropOverlay: ["dragAndDropOverlay"]
1108
- }, It, t);
1109
- }, Rt = /* @__PURE__ */ R.forwardRef(function(t, o) {
1110
- const s = vt({
1102
+ }, ht, t);
1103
+ }, St = /* @__PURE__ */ R.forwardRef(function(t, o) {
1104
+ const s = Pt({
1111
1105
  props: t,
1112
1106
  name: "MuiTreeItem2"
1113
1107
  }), {
@@ -1115,27 +1109,27 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1115
1109
  itemId: d,
1116
1110
  label: g,
1117
1111
  disabled: l,
1118
- children: m,
1112
+ children: f,
1119
1113
  slots: c = {},
1120
1114
  slotProps: h = {}
1121
- } = s, b = ve(s, Tt), {
1115
+ } = s, b = ve(s, vt), {
1122
1116
  getRootProps: C,
1123
1117
  getContentProps: r,
1124
1118
  getIconContainerProps: y,
1125
1119
  getCheckboxProps: S,
1126
- getLabelProps: F,
1127
- getGroupTransitionProps: X,
1120
+ getLabelProps: O,
1121
+ getGroupTransitionProps: j,
1128
1122
  getLabelInputProps: _,
1129
- getDragAndDropOverlayProps: T,
1123
+ getDragAndDropOverlayProps: w,
1130
1124
  status: E
1131
1125
  } = Me({
1132
1126
  id: p,
1133
1127
  itemId: d,
1134
- children: m,
1128
+ children: f,
1135
1129
  label: g,
1136
1130
  disabled: l
1137
- }), P = f({}, s, E), w = Et(P), O = c.root ?? Le, U = K({
1138
- elementType: O,
1131
+ }), P = m({}, s, E), T = Rt(P), D = c.root ?? Le, W = F({
1132
+ elementType: D,
1139
1133
  getSlotProps: C,
1140
1134
  externalForwardedProps: b,
1141
1135
  externalSlotProps: h.root,
@@ -1143,68 +1137,68 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
1143
1137
  ref: o
1144
1138
  },
1145
1139
  ownerState: {},
1146
- className: w.root
1147
- }), Y = c.content ?? Ne, D = K({
1140
+ className: T.root
1141
+ }), Y = c.content ?? Ne, M = F({
1148
1142
  elementType: Y,
1149
1143
  getSlotProps: r,
1150
1144
  externalSlotProps: h.content,
1151
1145
  ownerState: {},
1152
- className: Te(w.content, E.expanded && w.expanded, E.selected && w.selected, E.focused && w.focused, E.disabled && w.disabled, E.editing && w.editing, E.editable && w.editable)
1153
- }), j = c.iconContainer ?? Ve, q = K({
1154
- elementType: j,
1146
+ className: we(T.content, E.expanded && T.expanded, E.selected && T.selected, E.focused && T.focused, E.disabled && T.disabled, E.editing && T.editing, E.editable && T.editable)
1147
+ }), q = c.iconContainer ?? Ve, U = F({
1148
+ elementType: q,
1155
1149
  getSlotProps: y,
1156
1150
  externalSlotProps: h.iconContainer,
1157
1151
  ownerState: {},
1158
- className: w.iconContainer
1159
- }), M = c.label ?? Ae, z = K({
1160
- elementType: M,
1161
- getSlotProps: F,
1152
+ className: T.iconContainer
1153
+ }), k = c.label ?? Ae, z = F({
1154
+ elementType: k,
1155
+ getSlotProps: O,
1162
1156
  externalSlotProps: h.label,
1163
1157
  ownerState: {},
1164
- className: w.label
1165
- }), $ = c.checkbox ?? Pt, H = K({
1166
- elementType: $,
1158
+ className: T.label
1159
+ }), B = c.checkbox ?? Et, H = F({
1160
+ elementType: B,
1167
1161
  getSlotProps: S,
1168
1162
  externalSlotProps: h.checkbox,
1169
1163
  ownerState: {},
1170
- className: w.checkbox
1171
- }), N = c.groupTransition ?? void 0, W = K({
1172
- elementType: N,
1173
- getSlotProps: X,
1164
+ className: T.checkbox
1165
+ }), A = c.groupTransition ?? void 0, G = F({
1166
+ elementType: A,
1167
+ getSlotProps: j,
1174
1168
  externalSlotProps: h.groupTransition,
1175
1169
  ownerState: {},
1176
- className: w.groupTransition
1177
- }), J = c.labelInput ?? bt, ee = K({
1170
+ className: T.groupTransition
1171
+ }), J = c.labelInput ?? It, ee = F({
1178
1172
  elementType: J,
1179
1173
  getSlotProps: _,
1180
1174
  externalSlotProps: h.labelInput,
1181
1175
  ownerState: {},
1182
- className: w.labelInput
1183
- }), Q = c.dragAndDropOverlay ?? Oe, re = K({
1176
+ className: T.labelInput
1177
+ }), Q = c.dragAndDropOverlay ?? Oe, re = F({
1184
1178
  elementType: Q,
1185
- getSlotProps: T,
1179
+ getSlotProps: w,
1186
1180
  externalSlotProps: h.dragAndDropOverlay,
1187
1181
  ownerState: {},
1188
- className: w.dragAndDropOverlay
1182
+ className: T.dragAndDropOverlay
1189
1183
  });
1190
1184
  return /* @__PURE__ */ x(pe, {
1191
1185
  itemId: d,
1192
- children: /* @__PURE__ */ ie(O, f({}, U, {
1193
- children: [/* @__PURE__ */ ie(Y, f({}, D, {
1194
- children: [/* @__PURE__ */ x(j, f({}, q, {
1186
+ children: /* @__PURE__ */ ie(D, m({}, W, {
1187
+ children: [/* @__PURE__ */ ie(Y, m({}, M, {
1188
+ children: [/* @__PURE__ */ x(q, m({}, U, {
1195
1189
  children: /* @__PURE__ */ x(ke, {
1196
1190
  status: E,
1197
1191
  slots: c,
1198
1192
  slotProps: h
1199
1193
  })
1200
- })), /* @__PURE__ */ x($, f({}, H)), E.editing ? /* @__PURE__ */ x(J, f({}, ee)) : /* @__PURE__ */ x(M, f({}, z)), /* @__PURE__ */ x(Q, f({}, re))]
1201
- })), m && /* @__PURE__ */ x(ze, f({
1202
- as: N
1203
- }, W))]
1194
+ })), /* @__PURE__ */ x(B, m({}, H)), E.editing ? /* @__PURE__ */ x(J, m({}, ee)) : /* @__PURE__ */ x(k, m({}, z)), /* @__PURE__ */ x(Q, m({}, re))]
1195
+ })), f && /* @__PURE__ */ x($e, m({
1196
+ as: A
1197
+ }, G))]
1204
1198
  }))
1205
1199
  });
1206
1200
  });
1207
- process.env.NODE_ENV !== "production" && (Rt.propTypes = {
1201
+ process.env.NODE_ENV !== "production" && (St.propTypes = {
1208
1202
  // ----------------------------- Warning --------------------------------
1209
1203
  // | These PropTypes are generated from the TypeScript type definitions |
1210
1204
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1244,7 +1238,7 @@ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
1244
1238
  * This prop isn't supported.
1245
1239
  * Use the `onItemFocus` callback on the tree if you need to monitor an item's focus.
1246
1240
  */
1247
- onFocus: He,
1241
+ onFocus: et,
1248
1242
  /**
1249
1243
  * Callback fired when a key is pressed on the keyboard and the tree is in focus.
1250
1244
  */
@@ -1260,7 +1254,7 @@ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
1260
1254
  */
1261
1255
  slots: i.object
1262
1256
  });
1263
- function eo(e) {
1257
+ function oo(e) {
1264
1258
  const {
1265
1259
  id: t,
1266
1260
  itemId: o,
@@ -1269,35 +1263,40 @@ function eo(e) {
1269
1263
  children: d,
1270
1264
  itemData: g,
1271
1265
  iconColor: l = "primary",
1272
- ref: m
1273
- } = e, c = qe(
1266
+ hasNoIcons: f,
1267
+ ref: c
1268
+ } = e, h = Ue(
1274
1269
  g == null ? void 0 : g.iconType,
1275
1270
  g == null ? void 0 : g.customIcon
1276
1271
  ), {
1277
- getRootProps: h,
1278
- getContentProps: b,
1279
- getLabelProps: C,
1280
- getGroupTransitionProps: r,
1281
- getIconContainerProps: y,
1282
- status: S
1283
- } = Me({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: m });
1272
+ getRootProps: b,
1273
+ getContentProps: C,
1274
+ getLabelProps: r,
1275
+ getGroupTransitionProps: y,
1276
+ getIconContainerProps: S,
1277
+ status: O
1278
+ } = Me({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: c }), j = {
1279
+ ...O.selected && { fontWeight: 600 },
1280
+ color: "palette-grey-darker"
1281
+ };
1284
1282
  return /* @__PURE__ */ x(pe, { itemId: o, children: /* @__PURE__ */ ie(
1285
1283
  Le,
1286
1284
  {
1287
- ...h(),
1285
+ ...b(),
1288
1286
  "data-treeview-item": o || "",
1289
1287
  "data-treeview-item-label": s || "",
1288
+ sx: Ke,
1290
1289
  children: [
1291
- /* @__PURE__ */ ie(Ne, { ...b(), style: Ke, children: [
1292
- /* @__PURE__ */ x(Ve, { ...y(), children: /* @__PURE__ */ x(c, { fontSize: "small", color: l }) }),
1293
- /* @__PURE__ */ x(Ae, { ...C() }),
1294
- /* @__PURE__ */ x(Be, { sx: Fe, children: S.expandable && (S.expanded ? /* @__PURE__ */ x(it, { fontSize: "small" }) : /* @__PURE__ */ x(st, { fontSize: "small" })) })
1290
+ /* @__PURE__ */ ie(Ne, { ...C(), style: Fe, children: [
1291
+ !f && /* @__PURE__ */ x(Ve, { ...S(), sx: Ie, children: /* @__PURE__ */ x(h, { color: l, sx: Ie }) }),
1292
+ /* @__PURE__ */ x(Ae, { ...r(), sx: j }),
1293
+ /* @__PURE__ */ x(tt, { sx: je, children: O.expandable && (O.expanded ? /* @__PURE__ */ x(at, { fontSize: "small" }) : /* @__PURE__ */ x(lt, { fontSize: "small" })) })
1295
1294
  ] }),
1296
1295
  d && /* @__PURE__ */ x(
1297
- ze,
1296
+ $e,
1298
1297
  {
1299
- ...r(),
1300
- style: S.expanded ? je : void 0
1298
+ ...y(),
1299
+ style: O.expanded ? qe : void 0
1301
1300
  }
1302
1301
  )
1303
1302
  ]
@@ -1307,30 +1306,29 @@ function eo(e) {
1307
1306
  export {
1308
1307
  se as C,
1309
1308
  Ee as T,
1310
- Yt as a,
1311
- dt as b,
1312
- Xt as c,
1309
+ Qt as a,
1310
+ ct as b,
1311
+ Jt as c,
1313
1312
  Re as d,
1314
- Jt as e,
1315
- ut as f,
1316
- et as g,
1317
- gt as h,
1318
- Zt as i,
1319
- Qt as j,
1313
+ Zt as e,
1314
+ gt as f,
1315
+ ot as g,
1316
+ mt as h,
1317
+ eo as i,
1318
+ Ht as j,
1320
1319
  xe as k,
1321
- pt as l,
1322
- ct as m,
1320
+ ut as l,
1321
+ pt as m,
1323
1322
  de as n,
1324
1323
  ne as o,
1325
- bt as p,
1324
+ It as p,
1326
1325
  Oe as q,
1327
- lt as r,
1328
- yt as s,
1329
- ht as t,
1330
- G as u,
1326
+ dt as r,
1327
+ xt as s,
1328
+ yt as t,
1329
+ X as u,
1331
1330
  pe as v,
1332
- at as w,
1333
- It as x,
1334
- Ht as y,
1335
- eo as z
1331
+ ht as w,
1332
+ to as x,
1333
+ oo as y
1336
1334
  };