@cgi-learning-hub/ui 1.5.1-dev.1744637282 → 1.5.1-dev.1744643558
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.
- package/dist/Alert-5zQ9TB22.cjs +1 -0
- package/dist/{Alert-BfMYnyZX.js → Alert-D5C84Q-b.js} +27 -28
- package/dist/ArrowDropDown-Dt89EMyB.cjs +1 -0
- package/dist/ArrowDropDown-DvAbGzWJ.js +37 -0
- package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BjXP0c_4.js} +704 -665
- package/dist/Autocomplete-C6uWQlAq.cjs +6 -0
- package/dist/Backdrop-9ZMM04UV.cjs +1 -0
- package/dist/{Backdrop-B200pms1.js → Backdrop-CFkYB15z.js} +21 -20
- package/dist/Box-Bl24J58B.cjs +1 -0
- package/dist/{Box-D3Pi13ta.js → Box-CXvmZ2dD.js} +12 -12
- package/dist/Button-CZTPCtLu.cjs +1 -0
- package/dist/{Button-D1aKdjIh.js → Button-Dhxe4eYH.js} +114 -148
- package/dist/{ButtonBase-CBFRgTBs.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
- package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-uylSwkXQ.js} +24 -24
- package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
- package/dist/{CardContent-DyggcxBG.js → CardContent-uV5Z3O4p.js} +5 -5
- package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
- package/dist/{Checkbox-DkrWUPYT.js → Checkbox-hXnta6hd.js} +95 -68
- package/dist/Chip-BJSNxQBQ.cjs +1 -0
- package/dist/{Chip-Y39z3DS6.js → Chip-klg9LPzp.js} +53 -54
- package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DcEnE5le.js} +28 -29
- package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
- package/dist/{Close-DJDhRwj2.cjs → Close-Czm0dlR9.cjs} +1 -1
- package/dist/{Close-hx7dlgmZ.js → Close-KuFfPteA.js} +1 -1
- package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
- package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-D9nattPL.js} +1 -1
- package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-BITNDbQ_.js} +209 -216
- package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
- package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-D1YD4uGk.js} +995 -1002
- package/dist/DatePicker-PBy3aYBw.cjs +13 -0
- package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-CojEWOKR.js} +55 -55
- package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
- package/dist/{Delete-Cfk3fOW-.js → Delete-B4Xhz7O1.js} +1 -1
- package/dist/{Delete-DDxv1h6V.cjs → Delete-C0hR-twe.cjs} +1 -1
- package/dist/Dialog-BC20prgn.cjs +1 -0
- package/dist/{Dialog-Ccvug1yq.js → Dialog-Dk2BQsgk.js} +162 -169
- package/dist/{DialogContent-CIMpKm-U.js → DialogContent-C0BzN5yk.js} +3 -3
- package/dist/DialogContent-DqdeAbSs.cjs +1 -0
- package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-7MyBxAkp.js} +7 -7
- package/dist/DialogTitle-DwOXEToV.cjs +1 -0
- package/dist/{Divider-C2cBikSL.js → Divider-BC2Fp1JG.js} +8 -8
- package/dist/Divider-I7KOokm8.cjs +1 -0
- package/dist/{Folder-Bnoqtzc6.js → Folder-DYF788Ow.js} +1 -1
- package/dist/{Folder-DEtB13yM.cjs → Folder-ExV_xCn6.cjs} +1 -1
- package/dist/{FormLabel-EkpI8MQr.js → FormLabel-Dx6hkLPd.js} +24 -25
- package/dist/FormLabel-xZr5oZgx.cjs +2 -0
- package/dist/{Grow-B_clfUP9.js → Grow-C654F4zC.js} +6 -5
- package/dist/Grow-DPejKxV0.cjs +1 -0
- package/dist/{IconButton-D1mhTuaI.js → IconButton-BmspylGQ.js} +26 -27
- package/dist/IconButton-C1I_233O.cjs +2 -0
- package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-BrH8kQg8.js} +10 -11
- package/dist/InputAdornment-_UPzajRP.cjs +1 -0
- package/dist/{InputBase-BQnEIwl1.js → InputBase-B3APXSc_.js} +278 -277
- package/dist/InputBase-CELFJljc.cjs +3 -0
- package/dist/Link-BQrFDQ-K.cjs +1 -0
- package/dist/{Link-8ltXgZj7.js → Link-D3HS1nTr.js} +15 -16
- package/dist/List-Bii833np.cjs +1 -0
- package/dist/{List-DJsqHOqv.js → List-vQ97f0T4.js} +2 -2
- package/dist/ListItem-BtjE87R1.cjs +1 -0
- package/dist/{ListItem-BspNcHM_.js → ListItem-kT8cZ-t_.js} +17 -17
- package/dist/ListItemText-DaUQA10v.js +845 -0
- package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
- package/dist/Menu-BGO4rdUL.cjs +7 -0
- package/dist/{Menu-DPhreDcS.js → Menu-bXn70x2T.js} +405 -335
- package/dist/{MenuItem-Fb7iU47J.js → MenuItem-88KizCxg.js} +14 -14
- package/dist/MenuItem-De2MJkYT.cjs +1 -0
- package/dist/{Modal-dmMiGSAp.js → Modal-BGSxrh8O.js} +240 -245
- package/dist/Modal-CPt1nneG.cjs +2 -0
- package/dist/{MoreVert-BCGFGn8f.js → MoreVert-BLY3HCz9.js} +1 -1
- package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
- package/dist/Paper-CKG165jt.cjs +2 -0
- package/dist/{Paper-CEDxpHWv.js → Paper-D1MPGEsw.js} +9 -9
- package/dist/Popper-C6iJjm-m.cjs +4 -0
- package/dist/{Popper-D5_YIJX6.js → Popper-DbqO1kUk.js} +10 -10
- package/dist/Portal-C2eqRUQp.js +85 -0
- package/dist/Portal-Dm9aDz8_.cjs +1 -0
- package/dist/Radio-BEfQuau1.cjs +1 -0
- package/dist/{Radio-B4sx0387.js → Radio-BlcCOkYY.js} +226 -183
- package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-C1L3hzrF.js} +20 -20
- package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
- package/dist/Select-BTL6ppWW.cjs +3 -0
- package/dist/{Select-CxnCi-3l.js → Select-CWv7tdJU.js} +321 -349
- package/dist/{Stack-CzKIgmIE.js → Stack-Bkppffhe.js} +60 -104
- package/dist/Stack-DpH56CPw.cjs +1 -0
- package/dist/Switch-BIGFww3p.cjs +1 -0
- package/dist/{Switch-D3KweZGQ.js → Switch-CbNrfyJP.js} +167 -108
- package/dist/SwitchBase-BkcX4xzb.js +314 -0
- package/dist/SwitchBase-DA079uiU.cjs +1 -0
- package/dist/Tab-BsIC620i.cjs +4 -0
- package/dist/{Tab-C1r8JXwz.js → Tab-CeMAH2vi.js} +597 -537
- package/dist/{TextField-D-_WjPAW.js → TextField-ChDtIm6f.js} +133 -124
- package/dist/TextField-SGIs7v2v.cjs +1 -0
- package/dist/{ToggleButtonGroup-gxIqbo6a.js → ToggleButtonGroup-B8hGStTV.js} +1956 -1784
- package/dist/ToggleButtonGroup-C64DhY80.cjs +138 -0
- package/dist/{Tooltip-D0bof-68.js → Tooltip-DDiPhklW.js} +37 -37
- package/dist/Tooltip-DcBB_9cg.cjs +4 -0
- package/dist/{Typography-DBJqhIhB.js → Typography-BceX4HUn.js} +13 -14
- package/dist/Typography-DOpE-TJz.cjs +1 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +3 -3
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.cjs.js +1 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
- package/dist/components/Autocomplete/Autocomplete.es.js +52 -0
- package/dist/components/Autocomplete/index.cjs.js +1 -0
- package/dist/components/Autocomplete/index.d.ts +2 -0
- package/dist/components/Autocomplete/index.es.js +4 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/ResourceCard/style.cjs.js +1 -1
- package/dist/components/ResourceCard/style.es.js +25 -25
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +4 -4
- package/dist/components/TreeView/TreeView.es.js +14 -13
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +310 -311
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +3 -3
- package/dist/components/stories/TreeView.stories.es.js +29 -29
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
- package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-Q_5wEReh.js} +54 -55
- package/dist/dividerClasses-B_bu1fey.cjs +1 -0
- package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-CG6GpKdW.js} +1 -1
- package/dist/elementAcceptingRef-BzA19fXF.cjs +1 -0
- package/dist/elementAcceptingRef-De-6sh1C.js +25 -0
- package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DAXsN6bV.js} +1 -1
- package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
- package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BNvofXln.js} +1 -1
- package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
- package/dist/getReactElementRef-B4Mdq17D.js +8 -0
- package/dist/getReactElementRef-BPy0WStw.cjs +1 -0
- package/dist/{generateUtilityClasses-BpRGbQmY.js → identifier-UGP6vjyr.js} +811 -845
- package/dist/identifier-gJdGmHeC.cjs +74 -0
- package/dist/{index-CDLJvERp.js → index-BEwCnUM5.js} +2 -2
- package/dist/index-Cfd-LNZn.cjs +1 -0
- package/dist/index-D14TzUgK.cjs +1 -0
- package/dist/{index-CoYVLWJY.js → index-DF_6gEtu.js} +4 -4
- package/dist/index-Dmu1HrwE.cjs +5 -0
- package/dist/{index-JOgYmUF8.js → index-Q0xeFkEM.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +310 -311
- package/dist/inputBaseClasses-BMcreG7U.cjs +1 -0
- package/dist/inputBaseClasses-BPb0JVKx.js +9 -0
- package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-Ceqh8Tnn.js} +1 -1
- package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
- package/dist/{memoTheme-44McxcVZ.js → memoTheme-D0vyNKLd.js} +1 -1
- package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
- package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
- package/dist/mergeSlotProps-D_CzNhXE.js +62 -0
- package/dist/refType-53jD7LEO.cjs +1 -0
- package/dist/{refType-DsRJ5_Sj.js → refType-BjXePEDa.js} +1 -1
- package/dist/styled-C7OKoThH.cjs +1 -0
- package/dist/styled-blmInu6U.js +5 -0
- package/dist/useEventCallback-BxpcFap0.cjs +1 -0
- package/dist/useEventCallback-Yoj9nCug.js +15 -0
- package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
- package/dist/useForkRef-u29GSuCu.js +27 -0
- package/dist/useSlot-CxlUbTmA.js +125 -0
- package/dist/useSlot-zJFQDOgm.cjs +1 -0
- package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
- package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-DspaNRnE.js} +2 -2
- package/dist/useTheme-9UmqLsq5.js +11 -0
- package/dist/useTheme-BJZcQSBU.cjs +1 -0
- package/dist/{useTheme-C2OE_AnH.js → useTheme-CXUszJGf.js} +1 -1
- package/dist/useTheme-NQRIebh0.cjs +1 -0
- package/dist/useThemeProps-B4kO75RK.js +17 -0
- package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-DGawbBM3.js} +4 -4
- package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
- package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
- package/dist/utils-B2EQZFZP.cjs +1 -0
- package/dist/{utils-DFLaK7Ad.js → utils-CByxilR5.js} +1 -1
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +10 -10
- package/dist/Alert-Dg5u5Z7d.cjs +0 -1
- package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
- package/dist/Backdrop-BrTs3LxC.cjs +0 -1
- package/dist/Box-CFuWIdLg.cjs +0 -1
- package/dist/Button-C7tsSPXV.cjs +0 -1
- package/dist/CardContent-BRUkl8hU.cjs +0 -1
- package/dist/Checkbox-C_wSNEHD.cjs +0 -1
- package/dist/Chip-DUeBMcO4.cjs +0 -1
- package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
- package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
- package/dist/DatePicker-BYPJypQT.cjs +0 -14
- package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
- package/dist/Dialog-DOXpPT7S.cjs +0 -1
- package/dist/DialogContent-BoIE95Tg.cjs +0 -1
- package/dist/DialogTitle-B_am69Lr.cjs +0 -1
- package/dist/Divider-Nyl7rx-c.cjs +0 -1
- package/dist/FormLabel-D4O160ND.cjs +0 -2
- package/dist/Grow-DKA2Mfhu.cjs +0 -1
- package/dist/IconButton-CGfKAsNI.cjs +0 -2
- package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
- package/dist/InputBase-BIf-xtMJ.cjs +0 -3
- package/dist/Link-CS0qbKjo.cjs +0 -1
- package/dist/List-T5dKKWkc.cjs +0 -1
- package/dist/ListItem-BN7OXyEP.cjs +0 -1
- package/dist/ListItemText-6gXRtF3r.cjs +0 -1
- package/dist/ListItemText-afV0BrJL.js +0 -928
- package/dist/Menu-D6dHPVP_.cjs +0 -7
- package/dist/MenuItem-DOVsV_vI.cjs +0 -1
- package/dist/Modal-B8xPmNJd.cjs +0 -2
- package/dist/Paper-owda8LtM.cjs +0 -2
- package/dist/Popper-DMGJYlm7.cjs +0 -4
- package/dist/Portal-BKVc0iys.js +0 -81
- package/dist/Portal-CgaP8O8B.cjs +0 -1
- package/dist/Radio-OUfsD89D.cjs +0 -1
- package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
- package/dist/Select-CUlunaOr.cjs +0 -3
- package/dist/Stack-D5_1ZBcn.cjs +0 -1
- package/dist/Switch-DpdnFebj.cjs +0 -1
- package/dist/SwitchBase-BsP35Aas.js +0 -262
- package/dist/SwitchBase-DMGf52a3.cjs +0 -1
- package/dist/Tab-DZvAf79O.cjs +0 -4
- package/dist/TextField-C0KpyS6X.cjs +0 -1
- package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
- package/dist/Tooltip-BljbhP1z.cjs +0 -4
- package/dist/Typography-yvyJLNFu.cjs +0 -1
- package/dist/capitalize-CToVceBw.cjs +0 -1
- package/dist/capitalize-DSG2FA7x.js +0 -9
- package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
- package/dist/dividerClasses-BtzbOVqV.cjs +0 -1
- package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
- package/dist/extendSxProp-BKP1AeGz.cjs +0 -1
- package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
- package/dist/getReactElementRef-CD3_Stk5.js +0 -31
- package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
- package/dist/index-Bt7ukCXi.cjs +0 -5
- package/dist/index-DCpyECL4.cjs +0 -1
- package/dist/index-baZm35zL.cjs +0 -1
- package/dist/listItemTextClasses-DePeZNtZ.cjs +0 -1
- package/dist/refType-DDdajp2p.cjs +0 -1
- package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
- package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useEventCallback-BAQJJ3ye.js +0 -14
- package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
- package/dist/useForkRef-CTI33h-3.cjs +0 -1
- package/dist/useForkRef-C_4o__cU.js +0 -15
- package/dist/useSlot-CSTfsYPJ.cjs +0 -1
- package/dist/useSlot-CYOxsM2I.js +0 -48
- package/dist/useSlotProps-DTgWZk99.cjs +0 -1
- package/dist/useTheme-BDL2rp7a.js +0 -11
- package/dist/useTheme-CCi6a5Vl.cjs +0 -1
- package/dist/useTheme-DpMakc_Y.cjs +0 -1
- package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
- package/dist/useThemeProps-DjkGUV8r.js +0 -17
- package/dist/utils-Cn6wZNus.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-
|
|
3
|
-
import {
|
|
4
|
-
import { _ as f } from "./ButtonBase-Bncgzjtp.js";
|
|
2
|
+
import { c as ae } from "./createSvgIcon-Q_5wEReh.js";
|
|
3
|
+
import { _ as m } from "./ButtonBase-uylSwkXQ.js";
|
|
5
4
|
import * as R from "react";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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-CxlUbTmA.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
9
|
import { getIconComponent as Ue } from "./components/TreeView/utils.es.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import { m as
|
|
16
|
-
import { T as
|
|
17
|
-
import { u as
|
|
18
|
-
import { e as
|
|
19
|
-
import { C as
|
|
20
|
-
import { u as
|
|
21
|
-
import { u as F } from "./useSlotProps-
|
|
10
|
+
import { F as Ce, G as Te, w as _e, H as we, P as i, n as oe } from "./identifier-UGP6vjyr.js";
|
|
11
|
+
import { a as ve } from "./TransitionGroupContext-DbLioz_6.js";
|
|
12
|
+
import { u as We } from "./useThemeProps-B4kO75RK.js";
|
|
13
|
+
import { u as Ge, s as V, c as Pe, f as le } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
14
|
+
import { u as Xe } from "./useTheme-9UmqLsq5.js";
|
|
15
|
+
import { m as Ye } from "./memoTheme-D0vyNKLd.js";
|
|
16
|
+
import { T as Je, g as he } from "./utils-CByxilR5.js";
|
|
17
|
+
import { u as Qe } from "./useTimeout-CrCYVizI.js";
|
|
18
|
+
import { e as Ze } from "./elementTypeAcceptingRef-DAXsN6bV.js";
|
|
19
|
+
import { C as He } from "./Checkbox-hXnta6hd.js";
|
|
20
|
+
import { u as et } from "./unsupportedProp-BuVD30Gh.js";
|
|
21
|
+
import { u as F } from "./useSlotProps-DspaNRnE.js";
|
|
22
|
+
import { B as tt } from "./Box-CXvmZ2dD.js";
|
|
22
23
|
function ot(e) {
|
|
23
24
|
return Te("MuiCollapse", e);
|
|
24
25
|
}
|
|
25
|
-
const Jt =
|
|
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,7 +34,7 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
33
34
|
wrapper: ["wrapper", `${t}`],
|
|
34
35
|
wrapperInner: ["wrapperInner", `${t}`]
|
|
35
36
|
};
|
|
36
|
-
return
|
|
37
|
+
return Pe(s, ot, o);
|
|
37
38
|
}, rt = V("div", {
|
|
38
39
|
name: "MuiCollapse",
|
|
39
40
|
slot: "Root",
|
|
@@ -43,7 +44,7 @@ const Jt = we("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
|
-
})(
|
|
47
|
+
})(Ye(({
|
|
47
48
|
theme: e
|
|
48
49
|
}) => ({
|
|
49
50
|
height: 0,
|
|
@@ -115,7 +116,7 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
115
116
|
}
|
|
116
117
|
}]
|
|
117
118
|
}), se = /* @__PURE__ */ R.forwardRef(function(t, o) {
|
|
118
|
-
const s =
|
|
119
|
+
const s = Ge({
|
|
119
120
|
props: t,
|
|
120
121
|
name: "MuiCollapse"
|
|
121
122
|
}), {
|
|
@@ -123,7 +124,7 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
123
124
|
children: d,
|
|
124
125
|
className: g,
|
|
125
126
|
collapsedSize: l = "0px",
|
|
126
|
-
component:
|
|
127
|
+
component: f,
|
|
127
128
|
easing: c,
|
|
128
129
|
in: h,
|
|
129
130
|
onEnter: b,
|
|
@@ -133,22 +134,22 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
133
134
|
onExited: S,
|
|
134
135
|
onExiting: O,
|
|
135
136
|
orientation: j = "vertical",
|
|
136
|
-
style:
|
|
137
|
-
timeout:
|
|
137
|
+
style: _,
|
|
138
|
+
timeout: w = _e.standard,
|
|
138
139
|
// eslint-disable-next-line react/prop-types
|
|
139
|
-
TransitionComponent: E =
|
|
140
|
+
TransitionComponent: E = Je,
|
|
140
141
|
...P
|
|
141
|
-
} = s,
|
|
142
|
+
} = s, T = {
|
|
142
143
|
...s,
|
|
143
144
|
orientation: j,
|
|
144
145
|
collapsedSize: l
|
|
145
|
-
}, D = nt(
|
|
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
148
|
const N = B.current;
|
|
148
149
|
L === void 0 ? I(N) : I(N, L);
|
|
149
150
|
}
|
|
150
151
|
}, G = () => M.current ? M.current[k ? "clientWidth" : "clientHeight"] : 0, J = A((I, L) => {
|
|
151
|
-
M.current && k && (M.current.style.position = "absolute"), I.style[z] =
|
|
152
|
+
M.current && k && (M.current.style.position = "absolute"), I.style[z] = U, b && b(I, L);
|
|
152
153
|
}), ee = A((I, L) => {
|
|
153
154
|
const N = G();
|
|
154
155
|
M.current && k && (M.current.style.position = "");
|
|
@@ -156,13 +157,13 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
156
157
|
duration: Z,
|
|
157
158
|
easing: a
|
|
158
159
|
} = he({
|
|
159
|
-
style:
|
|
160
|
-
timeout:
|
|
160
|
+
style: _,
|
|
161
|
+
timeout: w,
|
|
161
162
|
easing: c
|
|
162
163
|
}, {
|
|
163
164
|
mode: "enter"
|
|
164
165
|
});
|
|
165
|
-
if (
|
|
166
|
+
if (w === "auto") {
|
|
166
167
|
const n = W.transitions.getAutoHeightDuration(N);
|
|
167
168
|
I.style.transitionDuration = `${n}ms`, q.current = n;
|
|
168
169
|
} else
|
|
@@ -177,18 +178,18 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
177
178
|
duration: N,
|
|
178
179
|
easing: Z
|
|
179
180
|
} = he({
|
|
180
|
-
style:
|
|
181
|
-
timeout:
|
|
181
|
+
style: _,
|
|
182
|
+
timeout: w,
|
|
182
183
|
easing: c
|
|
183
184
|
}, {
|
|
184
185
|
mode: "exit"
|
|
185
186
|
});
|
|
186
|
-
if (
|
|
187
|
+
if (w === "auto") {
|
|
187
188
|
const a = W.transitions.getAutoHeightDuration(L);
|
|
188
189
|
I.style.transitionDuration = `${a}ms`, q.current = a;
|
|
189
190
|
} else
|
|
190
191
|
I.style.transitionDuration = typeof N == "string" ? N : `${N}ms`;
|
|
191
|
-
I.style[z] =
|
|
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,40 +200,40 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
199
200
|
onExited: ue,
|
|
200
201
|
onExiting: ge,
|
|
201
202
|
addEndListener: (I) => {
|
|
202
|
-
|
|
203
|
+
w === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
|
|
203
204
|
},
|
|
204
205
|
nodeRef: B,
|
|
205
|
-
timeout:
|
|
206
|
+
timeout: w === "auto" ? null : w,
|
|
206
207
|
...P,
|
|
207
208
|
children: (I, {
|
|
208
209
|
ownerState: L,
|
|
209
210
|
...N
|
|
210
211
|
}) => /* @__PURE__ */ x(rt, {
|
|
211
|
-
as:
|
|
212
|
-
className:
|
|
212
|
+
as: f,
|
|
213
|
+
className: we(D.root, g, {
|
|
213
214
|
entered: D.entered,
|
|
214
|
-
exited: !h &&
|
|
215
|
+
exited: !h && U === "0px" && D.hidden
|
|
215
216
|
}[I]),
|
|
216
217
|
style: {
|
|
217
|
-
[k ? "minWidth" : "minHeight"]:
|
|
218
|
-
...
|
|
218
|
+
[k ? "minWidth" : "minHeight"]: U,
|
|
219
|
+
..._
|
|
219
220
|
},
|
|
220
221
|
ref: H,
|
|
221
222
|
ownerState: {
|
|
222
|
-
...
|
|
223
|
+
...T,
|
|
223
224
|
state: I
|
|
224
225
|
},
|
|
225
226
|
...N,
|
|
226
227
|
children: /* @__PURE__ */ x(it, {
|
|
227
228
|
ownerState: {
|
|
228
|
-
...
|
|
229
|
+
...T,
|
|
229
230
|
state: I
|
|
230
231
|
},
|
|
231
232
|
className: D.wrapper,
|
|
232
233
|
ref: M,
|
|
233
234
|
children: /* @__PURE__ */ x(st, {
|
|
234
235
|
ownerState: {
|
|
235
|
-
...
|
|
236
|
+
...T,
|
|
236
237
|
state: I
|
|
237
238
|
},
|
|
238
239
|
className: D.wrapperInner,
|
|
@@ -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:
|
|
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.
|
|
@@ -342,39 +343,32 @@ 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
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")
|
|
346
|
-
function dt(e
|
|
347
|
-
|
|
348
|
-
return;
|
|
349
|
-
const o = Array.isArray(e) ? e.join(`
|
|
350
|
-
`) : e;
|
|
351
|
-
ye.has(o) || (ye.add(o), t === "error" ? console.error(o) : console.warn(o));
|
|
346
|
+
}), "KeyboardArrowRight");
|
|
347
|
+
function dt(e) {
|
|
348
|
+
return We;
|
|
352
349
|
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
let xe = 0;
|
|
357
|
-
const Qt = () => (xe += 1, `mui-tree-view-${xe}`), pt = ({
|
|
350
|
+
let ye = 0;
|
|
351
|
+
const Qt = () => (ye += 1, `mui-tree-view-${ye}`), ct = ({
|
|
358
352
|
id: e,
|
|
359
353
|
treeId: t = "",
|
|
360
354
|
itemId: o
|
|
361
|
-
}) => e ?? `${t}-${o}`,
|
|
362
|
-
process.env.NODE_ENV !== "production" && (
|
|
355
|
+
}) => e ?? `${t}-${o}`, Ee = /* @__PURE__ */ R.createContext(null);
|
|
356
|
+
process.env.NODE_ENV !== "production" && (Ee.displayName = "TreeViewContext");
|
|
363
357
|
const ne = () => {
|
|
364
|
-
const e = R.useContext(
|
|
358
|
+
const e = R.useContext(Ee);
|
|
365
359
|
if (e == null)
|
|
366
360
|
throw new Error(["MUI X: Could not find the Tree View context.", "It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.", "This can also happen if you are bundling multiple versions of the Tree View."].join(`
|
|
367
361
|
`));
|
|
368
362
|
return e;
|
|
369
|
-
},
|
|
370
|
-
process.env.NODE_ENV !== "production" && (
|
|
371
|
-
const
|
|
363
|
+
}, Re = /* @__PURE__ */ R.createContext(() => -1);
|
|
364
|
+
process.env.NODE_ENV !== "production" && (Re.displayName = "TreeViewItemDepthContext");
|
|
365
|
+
const Se = (e, t) => {
|
|
372
366
|
let o = t.length - 1;
|
|
373
367
|
for (; o >= 0 && !e.isItemNavigable(t[o]); )
|
|
374
368
|
o -= 1;
|
|
375
369
|
if (o !== -1)
|
|
376
370
|
return t[o];
|
|
377
|
-
},
|
|
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 Oe = (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 :
|
|
386
|
-
let g = s[d], l =
|
|
379
|
+
return o.parentId == null ? null : pt(e, o.parentId);
|
|
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
|
-
},
|
|
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)
|
|
@@ -409,29 +403,29 @@ const Oe = (e, t) => {
|
|
|
409
403
|
}, Zt = (e) => {
|
|
410
404
|
let t = null;
|
|
411
405
|
for (; t == null || e.isItemExpanded(t); ) {
|
|
412
|
-
const o = e.getItemOrderedChildrenIds(t), s =
|
|
406
|
+
const o = e.getItemOrderedChildrenIds(t), s = Se(e, o);
|
|
413
407
|
if (s == null)
|
|
414
408
|
return t;
|
|
415
409
|
t = s;
|
|
416
410
|
}
|
|
417
411
|
return t;
|
|
418
|
-
},
|
|
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,
|
|
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(
|
|
428
|
-
const r = c ? l :
|
|
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];
|
|
429
423
|
return y.indexOf(S) < y.indexOf(O) ? [t, o] : [o, t];
|
|
430
424
|
}, Ht = (e, t, o) => {
|
|
431
|
-
const s = (
|
|
432
|
-
if (e.isItemExpandable(
|
|
433
|
-
return e.getItemOrderedChildrenIds(
|
|
434
|
-
let c = e.getItemMeta(
|
|
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)
|
|
@@ -445,12 +439,12 @@ const Oe = (e, t) => {
|
|
|
445
439
|
l = s(l), e.isItemDisabled(l) || g.push(l);
|
|
446
440
|
return g;
|
|
447
441
|
}, eo = (e) => {
|
|
448
|
-
let t =
|
|
442
|
+
let t = gt(e);
|
|
449
443
|
const o = [];
|
|
450
444
|
for (; t != null; )
|
|
451
|
-
o.push(t), 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
|
|
455
449
|
}) => {
|
|
456
450
|
const {
|
|
@@ -465,7 +459,7 @@ const Oe = (e, t) => {
|
|
|
465
459
|
propsEnhancers: {
|
|
466
460
|
labelInput: ({
|
|
467
461
|
externalEventHandlers: l,
|
|
468
|
-
interactions:
|
|
462
|
+
interactions: f
|
|
469
463
|
}) => t.isItemEditable(s) ? {
|
|
470
464
|
value: p ?? "",
|
|
471
465
|
"data-element": "labelInput",
|
|
@@ -478,11 +472,11 @@ const Oe = (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 ?
|
|
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 &&
|
|
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"
|
|
@@ -496,11 +490,11 @@ const Oe = (e, t) => {
|
|
|
496
490
|
params: s
|
|
497
491
|
}) => {
|
|
498
492
|
const p = R.useRef(t.editedItemId), d = (b) => p.current === b, g = (b) => {
|
|
499
|
-
o((C) =>
|
|
493
|
+
o((C) => m({}, C, {
|
|
500
494
|
editedItemId: b
|
|
501
495
|
})), p.current = b;
|
|
502
|
-
}, l = (b) => b === t.editedItemId,
|
|
503
|
-
if (b == null || !
|
|
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 Oe = (e, t) => {
|
|
|
510
504
|
`));
|
|
511
505
|
o((r) => {
|
|
512
506
|
const y = r.items.itemMetaMap[b];
|
|
513
|
-
return y.label !== C ?
|
|
514
|
-
items:
|
|
515
|
-
itemMetaMap:
|
|
516
|
-
[b]:
|
|
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 Oe = (e, t) => {
|
|
|
527
521
|
isItemBeingEdited: l,
|
|
528
522
|
updateItemLabel: h,
|
|
529
523
|
isItemEditable: c,
|
|
530
|
-
isTreeViewEditable:
|
|
524
|
+
isTreeViewEditable: f,
|
|
531
525
|
isItemBeingEditedRef: d
|
|
532
526
|
},
|
|
533
527
|
publicAPI: {
|
|
@@ -535,13 +529,13 @@ const Oe = (e, t) => {
|
|
|
535
529
|
}
|
|
536
530
|
};
|
|
537
531
|
};
|
|
538
|
-
X.itemPlugin =
|
|
532
|
+
X.itemPlugin = ft;
|
|
539
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 &&
|
|
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
|
};
|
|
@@ -552,7 +546,7 @@ X.params = {
|
|
|
552
546
|
onItemLabelChange: !0,
|
|
553
547
|
isItemEditable: !0
|
|
554
548
|
};
|
|
555
|
-
const
|
|
549
|
+
const bt = V("div", {
|
|
556
550
|
name: "MuiTreeItem2DragAndDropOverlay",
|
|
557
551
|
slot: "Root",
|
|
558
552
|
overridesResolver: (e, t) => t.root,
|
|
@@ -602,10 +596,10 @@ const It = V("div", {
|
|
|
602
596
|
}
|
|
603
597
|
}]
|
|
604
598
|
}));
|
|
605
|
-
function
|
|
606
|
-
return e.action == null ? null : /* @__PURE__ */ x(
|
|
599
|
+
function Oe(e) {
|
|
600
|
+
return e.action == null ? null : /* @__PURE__ */ x(bt, m({}, e));
|
|
607
601
|
}
|
|
608
|
-
process.env.NODE_ENV !== "production" && (
|
|
602
|
+
process.env.NODE_ENV !== "production" && (Oe.propTypes = {
|
|
609
603
|
// ----------------------------- Warning --------------------------------
|
|
610
604
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
611
605
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -613,13 +607,13 @@ process.env.NODE_ENV !== "production" && (De.propTypes = {
|
|
|
613
607
|
action: i.oneOf(["make-child", "move-to-parent", "reorder-above", "reorder-below"]),
|
|
614
608
|
style: i.object
|
|
615
609
|
});
|
|
616
|
-
const
|
|
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
|
-
}) =>
|
|
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 ht = V("input", {
|
|
|
630
624
|
outline: `1px solid ${e.palette.primary.main}`
|
|
631
625
|
}
|
|
632
626
|
}));
|
|
633
|
-
function
|
|
627
|
+
function ht(e) {
|
|
634
628
|
return Te("MuiTreeItem", e);
|
|
635
629
|
}
|
|
636
|
-
const to =
|
|
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"),
|
|
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
|
|
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
|
}) => {
|
|
@@ -671,7 +665,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
671
665
|
},
|
|
672
666
|
publicAPI: p
|
|
673
667
|
} = ne(), d = {
|
|
674
|
-
expandable:
|
|
668
|
+
expandable: De(t),
|
|
675
669
|
expanded: o.isItemExpanded(e),
|
|
676
670
|
focused: o.isItemFocused(e),
|
|
677
671
|
selected: o.isItemSelected(e),
|
|
@@ -696,7 +690,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
696
690
|
itemId: e,
|
|
697
691
|
shouldBeSelected: !0
|
|
698
692
|
});
|
|
699
|
-
},
|
|
693
|
+
}, f = (r) => {
|
|
700
694
|
const y = r.nativeEvent.shiftKey;
|
|
701
695
|
s && y ? o.expandSelectionRange(r, e) : o.selectItem({
|
|
702
696
|
event: r,
|
|
@@ -711,7 +705,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
711
705
|
interactions: {
|
|
712
706
|
handleExpansion: g,
|
|
713
707
|
handleSelection: l,
|
|
714
|
-
handleCheckboxSelection:
|
|
708
|
+
handleCheckboxSelection: f,
|
|
715
709
|
toggleItemEditing: c,
|
|
716
710
|
handleSaveItemLabel: (r, y) => {
|
|
717
711
|
de(o, X) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
|
|
@@ -738,10 +732,10 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
738
732
|
expansion: {
|
|
739
733
|
expansionTrigger: l
|
|
740
734
|
},
|
|
741
|
-
treeId:
|
|
735
|
+
treeId: f,
|
|
742
736
|
instance: c,
|
|
743
737
|
publicAPI: h
|
|
744
|
-
} = ne(), b = R.useContext(
|
|
738
|
+
} = ne(), b = R.useContext(Re), {
|
|
745
739
|
id: C,
|
|
746
740
|
itemId: r,
|
|
747
741
|
label: y,
|
|
@@ -749,20 +743,20 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
749
743
|
rootRef: O
|
|
750
744
|
} = e, {
|
|
751
745
|
rootRef: j,
|
|
752
|
-
contentRef:
|
|
753
|
-
propsEnhancers:
|
|
746
|
+
contentRef: _,
|
|
747
|
+
propsEnhancers: w
|
|
754
748
|
} = t(e), {
|
|
755
749
|
interactions: E,
|
|
756
750
|
status: P
|
|
757
|
-
} =
|
|
751
|
+
} = Ct({
|
|
758
752
|
itemId: r,
|
|
759
753
|
children: S
|
|
760
|
-
}),
|
|
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:
|
|
756
|
+
treeId: f,
|
|
763
757
|
id: C
|
|
764
|
-
}),
|
|
765
|
-
rootRefObject:
|
|
758
|
+
}), U = c.canItemBeTabbed(r) ? 0 : -1, k = {
|
|
759
|
+
rootRefObject: T,
|
|
766
760
|
contentRefObject: D,
|
|
767
761
|
interactions: E
|
|
768
762
|
}, z = (a) => (n) => {
|
|
@@ -772,13 +766,13 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
772
766
|
const u = !P.disabled || s;
|
|
773
767
|
!P.focused && u && n.currentTarget === n.target && c.focusItem(n, r);
|
|
774
768
|
}, B = (a) => (n) => {
|
|
775
|
-
var v, $, te,
|
|
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 &&
|
|
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
777
|
var u, v, $;
|
|
784
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);
|
|
@@ -801,13 +795,13 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
801
795
|
return {
|
|
802
796
|
getRootProps: (a = {}) => {
|
|
803
797
|
var te;
|
|
804
|
-
const n =
|
|
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 =
|
|
801
|
+
const v = m({}, n, {
|
|
808
802
|
ref: W,
|
|
809
803
|
role: "treeitem",
|
|
810
|
-
tabIndex:
|
|
804
|
+
tabIndex: U,
|
|
811
805
|
id: q,
|
|
812
806
|
"aria-expanded": P.expandable ? P.expanded : void 0,
|
|
813
807
|
"aria-selected": u,
|
|
@@ -820,27 +814,27 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
820
814
|
p && (v.style = {
|
|
821
815
|
"--TreeView-itemDepth": typeof b == "function" ? b(r) : b
|
|
822
816
|
});
|
|
823
|
-
const $ = ((te =
|
|
817
|
+
const $ = ((te = w.root) == null ? void 0 : te.call(w, m({}, k, {
|
|
824
818
|
externalEventHandlers: n
|
|
825
819
|
}))) ?? {};
|
|
826
|
-
return
|
|
820
|
+
return m({}, v, $);
|
|
827
821
|
},
|
|
828
822
|
getContentProps: (a = {}) => {
|
|
829
823
|
var $;
|
|
830
|
-
const n = K(a), u =
|
|
824
|
+
const n = K(a), u = m({}, n, a, {
|
|
831
825
|
ref: Y,
|
|
832
826
|
onClick: G(n),
|
|
833
827
|
onMouseDown: J(n),
|
|
834
828
|
status: P
|
|
835
829
|
});
|
|
836
830
|
p && (u.indentationAtItemLevel = !0);
|
|
837
|
-
const v = (($ =
|
|
831
|
+
const v = (($ = w.content) == null ? void 0 : $.call(w, m({}, k, {
|
|
838
832
|
externalEventHandlers: n
|
|
839
833
|
}))) ?? {};
|
|
840
|
-
return
|
|
834
|
+
return m({}, u, v);
|
|
841
835
|
},
|
|
842
836
|
getGroupTransitionProps: (a = {}) => {
|
|
843
|
-
const n = K(a), u =
|
|
837
|
+
const n = K(a), u = m({}, n, {
|
|
844
838
|
unmountOnExit: !0,
|
|
845
839
|
component: "ul",
|
|
846
840
|
role: "group",
|
|
@@ -851,13 +845,13 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
851
845
|
},
|
|
852
846
|
getIconContainerProps: (a = {}) => {
|
|
853
847
|
const n = K(a);
|
|
854
|
-
return
|
|
848
|
+
return m({}, n, a, {
|
|
855
849
|
onClick: Q(n)
|
|
856
850
|
});
|
|
857
851
|
},
|
|
858
852
|
getCheckboxProps: (a = {}) => {
|
|
859
853
|
const n = K(a);
|
|
860
|
-
return
|
|
854
|
+
return m({}, n, {
|
|
861
855
|
visible: g,
|
|
862
856
|
ref: M,
|
|
863
857
|
checked: P.selected,
|
|
@@ -868,7 +862,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
868
862
|
});
|
|
869
863
|
},
|
|
870
864
|
getLabelProps: (a = {}) => {
|
|
871
|
-
const n =
|
|
865
|
+
const n = m({}, K(a)), u = m({}, n, {
|
|
872
866
|
children: y
|
|
873
867
|
}, a, {
|
|
874
868
|
onDoubleClick: A(n)
|
|
@@ -877,46 +871,46 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
|
877
871
|
},
|
|
878
872
|
getLabelInputProps: (a = {}) => {
|
|
879
873
|
var v;
|
|
880
|
-
const n = K(a), u = ((v =
|
|
881
|
-
rootRefObject:
|
|
874
|
+
const n = K(a), u = ((v = w.labelInput) == null ? void 0 : v.call(w, {
|
|
875
|
+
rootRefObject: T,
|
|
882
876
|
contentRefObject: D,
|
|
883
877
|
externalEventHandlers: n,
|
|
884
878
|
interactions: E
|
|
885
879
|
})) ?? {};
|
|
886
|
-
return
|
|
880
|
+
return m({}, a, u);
|
|
887
881
|
},
|
|
888
882
|
getDragAndDropOverlayProps: (a = {}) => {
|
|
889
883
|
var v;
|
|
890
|
-
const n = K(a), u = ((v =
|
|
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
|
|
887
|
+
return m({}, a, u);
|
|
894
888
|
},
|
|
895
889
|
rootRef: W,
|
|
896
890
|
status: P,
|
|
897
891
|
publicAPI: h
|
|
898
892
|
};
|
|
899
|
-
},
|
|
900
|
-
function
|
|
893
|
+
}, Me = Tt;
|
|
894
|
+
function ke(e) {
|
|
901
895
|
const {
|
|
902
896
|
slots: t,
|
|
903
897
|
slotProps: o,
|
|
904
898
|
status: s
|
|
905
|
-
} = e, p = ne(), d =
|
|
906
|
-
expandIcon: p.icons.slots.expandIcon ??
|
|
907
|
-
collapseIcon: p.icons.slots.collapseIcon ??
|
|
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
|
|
912
|
-
elementType:
|
|
913
|
-
externalSlotProps: (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
|
|
911
|
+
return f ? /* @__PURE__ */ x(f, m({}, c)) : null;
|
|
918
912
|
}
|
|
919
|
-
process.env.NODE_ENV !== "production" && (
|
|
913
|
+
process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
920
914
|
// ----------------------------- Warning --------------------------------
|
|
921
915
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
922
916
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -941,7 +935,7 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
|
|
|
941
935
|
selected: i.bool.isRequired
|
|
942
936
|
}).isRequired
|
|
943
937
|
});
|
|
944
|
-
const
|
|
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 vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
950
944
|
margin: 0,
|
|
951
945
|
padding: 0,
|
|
952
946
|
outline: 0
|
|
953
|
-
}),
|
|
947
|
+
}), Ne = V("div", {
|
|
954
948
|
name: "MuiTreeItem2",
|
|
955
949
|
slot: "Content",
|
|
956
950
|
overridesResolver: (e, t) => t.content,
|
|
@@ -1020,14 +1014,14 @@ const vt = ["visible"], Pt = ["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
|
-
})),
|
|
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
|
-
}) =>
|
|
1024
|
+
}) => m({
|
|
1031
1025
|
width: "100%",
|
|
1032
1026
|
boxSizing: "border-box",
|
|
1033
1027
|
// prevent width + padding to overflow
|
|
@@ -1044,7 +1038,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1044
1038
|
paddingLeft: "2px"
|
|
1045
1039
|
}
|
|
1046
1040
|
}]
|
|
1047
|
-
})),
|
|
1041
|
+
})), Ve = V("div", {
|
|
1048
1042
|
name: "MuiTreeItem2",
|
|
1049
1043
|
slot: "IconContainer",
|
|
1050
1044
|
overridesResolver: (e, t) => t.iconContainer
|
|
@@ -1056,7 +1050,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1056
1050
|
"& svg": {
|
|
1057
1051
|
fontSize: 18
|
|
1058
1052
|
}
|
|
1059
|
-
}),
|
|
1053
|
+
}), $e = V(se, {
|
|
1060
1054
|
name: "MuiTreeItem2",
|
|
1061
1055
|
slot: "GroupTransition",
|
|
1062
1056
|
overridesResolver: (e, t) => t.groupTransition,
|
|
@@ -1073,11 +1067,11 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1073
1067
|
paddingLeft: 0
|
|
1074
1068
|
}
|
|
1075
1069
|
}]
|
|
1076
|
-
}),
|
|
1070
|
+
}), Et = V(/* @__PURE__ */ R.forwardRef((e, t) => {
|
|
1077
1071
|
const {
|
|
1078
1072
|
visible: o
|
|
1079
|
-
} = e, s =
|
|
1080
|
-
return o ? /* @__PURE__ */ x(
|
|
1073
|
+
} = e, s = ve(e, wt);
|
|
1074
|
+
return o ? /* @__PURE__ */ x(He, m({}, s, {
|
|
1081
1075
|
ref: t
|
|
1082
1076
|
})) : null;
|
|
1083
1077
|
}), {
|
|
@@ -1086,11 +1080,11 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1086
1080
|
overridesResolver: (e, t) => t.checkbox
|
|
1087
1081
|
})({
|
|
1088
1082
|
padding: 0
|
|
1089
|
-
}),
|
|
1083
|
+
}), Rt = (e) => {
|
|
1090
1084
|
const {
|
|
1091
1085
|
classes: t
|
|
1092
1086
|
} = e;
|
|
1093
|
-
return
|
|
1087
|
+
return Pe({
|
|
1094
1088
|
root: ["root"],
|
|
1095
1089
|
content: ["content"],
|
|
1096
1090
|
expanded: ["expanded"],
|
|
@@ -1105,9 +1099,9 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1105
1099
|
groupTransition: ["groupTransition"],
|
|
1106
1100
|
labelInput: ["labelInput"],
|
|
1107
1101
|
dragAndDropOverlay: ["dragAndDropOverlay"]
|
|
1108
|
-
},
|
|
1109
|
-
},
|
|
1110
|
-
const s =
|
|
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,26 +1109,26 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1115
1109
|
itemId: d,
|
|
1116
1110
|
label: g,
|
|
1117
1111
|
disabled: l,
|
|
1118
|
-
children:
|
|
1112
|
+
children: f,
|
|
1119
1113
|
slots: c = {},
|
|
1120
1114
|
slotProps: h = {}
|
|
1121
|
-
} = s, b =
|
|
1115
|
+
} = s, b = ve(s, vt), {
|
|
1122
1116
|
getRootProps: C,
|
|
1123
1117
|
getContentProps: r,
|
|
1124
1118
|
getIconContainerProps: y,
|
|
1125
1119
|
getCheckboxProps: S,
|
|
1126
1120
|
getLabelProps: O,
|
|
1127
1121
|
getGroupTransitionProps: j,
|
|
1128
|
-
getLabelInputProps:
|
|
1129
|
-
getDragAndDropOverlayProps:
|
|
1122
|
+
getLabelInputProps: _,
|
|
1123
|
+
getDragAndDropOverlayProps: w,
|
|
1130
1124
|
status: E
|
|
1131
|
-
} =
|
|
1125
|
+
} = Me({
|
|
1132
1126
|
id: p,
|
|
1133
1127
|
itemId: d,
|
|
1134
|
-
children:
|
|
1128
|
+
children: f,
|
|
1135
1129
|
label: g,
|
|
1136
1130
|
disabled: l
|
|
1137
|
-
}), P =
|
|
1131
|
+
}), P = m({}, s, E), T = Rt(P), D = c.root ?? Le, W = F({
|
|
1138
1132
|
elementType: D,
|
|
1139
1133
|
getSlotProps: C,
|
|
1140
1134
|
externalForwardedProps: b,
|
|
@@ -1143,68 +1137,68 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1143
1137
|
ref: o
|
|
1144
1138
|
},
|
|
1145
1139
|
ownerState: {},
|
|
1146
|
-
className:
|
|
1147
|
-
}), Y = c.content ??
|
|
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:
|
|
1153
|
-
}), q = c.iconContainer ??
|
|
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({
|
|
1154
1148
|
elementType: q,
|
|
1155
1149
|
getSlotProps: y,
|
|
1156
1150
|
externalSlotProps: h.iconContainer,
|
|
1157
1151
|
ownerState: {},
|
|
1158
|
-
className:
|
|
1159
|
-
}), k = c.label ??
|
|
1152
|
+
className: T.iconContainer
|
|
1153
|
+
}), k = c.label ?? Ae, z = F({
|
|
1160
1154
|
elementType: k,
|
|
1161
1155
|
getSlotProps: O,
|
|
1162
1156
|
externalSlotProps: h.label,
|
|
1163
1157
|
ownerState: {},
|
|
1164
|
-
className:
|
|
1165
|
-
}), B = c.checkbox ??
|
|
1158
|
+
className: T.label
|
|
1159
|
+
}), B = c.checkbox ?? Et, H = F({
|
|
1166
1160
|
elementType: B,
|
|
1167
1161
|
getSlotProps: S,
|
|
1168
1162
|
externalSlotProps: h.checkbox,
|
|
1169
1163
|
ownerState: {},
|
|
1170
|
-
className:
|
|
1164
|
+
className: T.checkbox
|
|
1171
1165
|
}), A = c.groupTransition ?? void 0, G = F({
|
|
1172
1166
|
elementType: A,
|
|
1173
1167
|
getSlotProps: j,
|
|
1174
1168
|
externalSlotProps: h.groupTransition,
|
|
1175
1169
|
ownerState: {},
|
|
1176
|
-
className:
|
|
1177
|
-
}), J = c.labelInput ??
|
|
1170
|
+
className: T.groupTransition
|
|
1171
|
+
}), J = c.labelInput ?? It, ee = F({
|
|
1178
1172
|
elementType: J,
|
|
1179
|
-
getSlotProps:
|
|
1173
|
+
getSlotProps: _,
|
|
1180
1174
|
externalSlotProps: h.labelInput,
|
|
1181
1175
|
ownerState: {},
|
|
1182
|
-
className:
|
|
1183
|
-
}), Q = c.dragAndDropOverlay ??
|
|
1176
|
+
className: T.labelInput
|
|
1177
|
+
}), Q = c.dragAndDropOverlay ?? Oe, re = F({
|
|
1184
1178
|
elementType: Q,
|
|
1185
|
-
getSlotProps:
|
|
1179
|
+
getSlotProps: w,
|
|
1186
1180
|
externalSlotProps: h.dragAndDropOverlay,
|
|
1187
1181
|
ownerState: {},
|
|
1188
|
-
className:
|
|
1182
|
+
className: T.dragAndDropOverlay
|
|
1189
1183
|
});
|
|
1190
1184
|
return /* @__PURE__ */ x(pe, {
|
|
1191
1185
|
itemId: d,
|
|
1192
|
-
children: /* @__PURE__ */ ie(D,
|
|
1193
|
-
children: [/* @__PURE__ */ ie(Y,
|
|
1194
|
-
children: [/* @__PURE__ */ x(q,
|
|
1195
|
-
children: /* @__PURE__ */ x(
|
|
1186
|
+
children: /* @__PURE__ */ ie(D, m({}, W, {
|
|
1187
|
+
children: [/* @__PURE__ */ ie(Y, m({}, M, {
|
|
1188
|
+
children: [/* @__PURE__ */ x(q, m({}, U, {
|
|
1189
|
+
children: /* @__PURE__ */ x(ke, {
|
|
1196
1190
|
status: E,
|
|
1197
1191
|
slots: c,
|
|
1198
1192
|
slotProps: h
|
|
1199
1193
|
})
|
|
1200
|
-
})), /* @__PURE__ */ x(B,
|
|
1201
|
-
})),
|
|
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({
|
|
1202
1196
|
as: A
|
|
1203
1197
|
}, G))]
|
|
1204
1198
|
}))
|
|
1205
1199
|
});
|
|
1206
1200
|
});
|
|
1207
|
-
process.env.NODE_ENV !== "production" && (
|
|
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" && (Ot.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:
|
|
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
|
*/
|
|
@@ -1269,7 +1263,7 @@ function oo(e) {
|
|
|
1269
1263
|
children: d,
|
|
1270
1264
|
itemData: g,
|
|
1271
1265
|
iconColor: l = "primary",
|
|
1272
|
-
hasNoIcons:
|
|
1266
|
+
hasNoIcons: f,
|
|
1273
1267
|
ref: c
|
|
1274
1268
|
} = e, h = Ue(
|
|
1275
1269
|
g == null ? void 0 : g.iconType,
|
|
@@ -1281,28 +1275,28 @@ function oo(e) {
|
|
|
1281
1275
|
getGroupTransitionProps: y,
|
|
1282
1276
|
getIconContainerProps: S,
|
|
1283
1277
|
status: O
|
|
1284
|
-
} =
|
|
1278
|
+
} = Me({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: c }), j = {
|
|
1285
1279
|
...O.selected && { fontWeight: 600 },
|
|
1286
1280
|
color: "palette-grey-darker"
|
|
1287
1281
|
};
|
|
1288
1282
|
return /* @__PURE__ */ x(pe, { itemId: o, children: /* @__PURE__ */ ie(
|
|
1289
|
-
|
|
1283
|
+
Le,
|
|
1290
1284
|
{
|
|
1291
1285
|
...b(),
|
|
1292
1286
|
"data-treeview-item": o || "",
|
|
1293
1287
|
"data-treeview-item-label": s || "",
|
|
1294
|
-
sx:
|
|
1288
|
+
sx: Ke,
|
|
1295
1289
|
children: [
|
|
1296
|
-
/* @__PURE__ */ ie(
|
|
1297
|
-
!
|
|
1298
|
-
/* @__PURE__ */ x(
|
|
1299
|
-
/* @__PURE__ */ x(
|
|
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" })) })
|
|
1300
1294
|
] }),
|
|
1301
1295
|
d && /* @__PURE__ */ x(
|
|
1302
|
-
|
|
1296
|
+
$e,
|
|
1303
1297
|
{
|
|
1304
1298
|
...y(),
|
|
1305
|
-
style: O.expanded ?
|
|
1299
|
+
style: O.expanded ? qe : void 0
|
|
1306
1300
|
}
|
|
1307
1301
|
)
|
|
1308
1302
|
]
|
|
@@ -1311,31 +1305,30 @@ function oo(e) {
|
|
|
1311
1305
|
}
|
|
1312
1306
|
export {
|
|
1313
1307
|
se as C,
|
|
1314
|
-
|
|
1308
|
+
Ee as T,
|
|
1315
1309
|
Qt as a,
|
|
1316
|
-
|
|
1310
|
+
ct as b,
|
|
1317
1311
|
Jt as c,
|
|
1318
|
-
|
|
1312
|
+
Re as d,
|
|
1319
1313
|
Zt as e,
|
|
1320
|
-
|
|
1314
|
+
gt as f,
|
|
1321
1315
|
ot as g,
|
|
1322
1316
|
mt as h,
|
|
1323
1317
|
eo as i,
|
|
1324
1318
|
Ht as j,
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1319
|
+
xe as k,
|
|
1320
|
+
ut as l,
|
|
1321
|
+
pt as m,
|
|
1328
1322
|
de as n,
|
|
1329
1323
|
ne as o,
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1324
|
+
It as p,
|
|
1325
|
+
Oe as q,
|
|
1326
|
+
dt as r,
|
|
1327
|
+
xt as s,
|
|
1328
|
+
yt as t,
|
|
1335
1329
|
X as u,
|
|
1336
1330
|
pe as v,
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
oo as z
|
|
1331
|
+
ht as w,
|
|
1332
|
+
to as x,
|
|
1333
|
+
oo as y
|
|
1341
1334
|
};
|