@cgi-learning-hub/ui 1.5.0 → 1.5.1
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-D7eKsj1P.js → Alert-BfMYnyZX.js} +11 -11
- package/dist/{Alert-CvizDCvx.cjs → Alert-Dg5u5Z7d.cjs} +1 -1
- package/dist/{Autocomplete-DjU6i3zL.cjs → Autocomplete-3xshJ4m_.cjs} +1 -1
- package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DQyr97ya.js} +12 -12
- package/dist/{Backdrop-COiz4sPF.js → Backdrop-B200pms1.js} +6 -6
- package/dist/{Backdrop-BM-OE2Q_.cjs → Backdrop-BrTs3LxC.cjs} +1 -1
- package/dist/{Box-BmfpLwYG.cjs → Box-CFuWIdLg.cjs} +1 -1
- package/dist/{Box-C-j-U8SH.js → Box-D3Pi13ta.js} +3 -3
- package/dist/{Button-BGWvL_UD.cjs → Button-C7tsSPXV.cjs} +1 -1
- package/dist/{Button-CQQdMCSm.js → Button-D1aKdjIh.js} +6 -6
- package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-Bncgzjtp.js} +4 -4
- package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-CBFRgTBs.cjs} +1 -1
- package/dist/{CardContent-GHLuvxgm.cjs → CardContent-BRUkl8hU.cjs} +1 -1
- package/dist/{CardContent-sX9Bw4Ke.js → CardContent-DyggcxBG.js} +3 -3
- package/dist/{Checkbox-BZYoJieY.cjs → Checkbox-C_wSNEHD.cjs} +1 -1
- package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DkrWUPYT.js} +7 -7
- package/dist/{Chip-Cu_SZxrx.cjs → Chip-DUeBMcO4.cjs} +1 -1
- package/dist/{Chip-BsErraqe.js → Chip-Y39z3DS6.js} +6 -6
- package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-BDjnnyuL.js} +4 -4
- package/dist/{CircularProgress-CdS7-HOv.cjs → CircularProgress-DdHpo4Bf.cjs} +1 -1
- package/dist/{Close-ZXg7X3Tz.cjs → Close-DJDhRwj2.cjs} +1 -1
- package/dist/{Close-r-ZUhk0-.js → Close-hx7dlgmZ.js} +1 -1
- package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-DapqosK3.cjs} +1 -1
- package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-aZqv6aS-.js} +1 -1
- package/dist/CustomTreeItem-9kBuTFO8.cjs +4 -0
- package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-CgdZ-hEx.js} +261 -256
- package/dist/{DatePicker-tyDzcyzu.cjs → DatePicker-BYPJypQT.cjs} +1 -1
- package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C2ZobNcJ.js} +31 -31
- package/dist/{DefaultPropsProvider-BTnRBr0O.cjs → DefaultPropsProvider-B6DqRWnX.cjs} +1 -1
- package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Ik4eAJdt.js} +1 -1
- package/dist/{Delete-DKn2lIDB.js → Delete-Cfk3fOW-.js} +1 -1
- package/dist/{Delete-CpTtpM4U.cjs → Delete-DDxv1h6V.cjs} +1 -1
- package/dist/{Dialog-pU1ZAttp.js → Dialog-Ccvug1yq.js} +9 -9
- package/dist/{Dialog-DIHzs0ro.cjs → Dialog-DOXpPT7S.cjs} +1 -1
- package/dist/{DialogContent-B-9ga3Wv.cjs → DialogContent-BoIE95Tg.cjs} +1 -1
- package/dist/{DialogContent-BEgapieO.js → DialogContent-CIMpKm-U.js} +3 -3
- package/dist/{DialogTitle-B_UN_oL2.cjs → DialogTitle-B_am69Lr.cjs} +1 -1
- package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BwTvIaQe.js} +5 -5
- package/dist/{Divider-CT4XaEn6.js → Divider-C2cBikSL.js} +4 -4
- package/dist/{Divider-iYLSpFUc.cjs → Divider-Nyl7rx-c.cjs} +1 -1
- package/dist/{Folder-DoEl37QZ.js → Folder-Bnoqtzc6.js} +1 -1
- package/dist/{Folder-DWD_1Fux.cjs → Folder-DEtB13yM.cjs} +1 -1
- package/dist/{FormLabel-Cp2OFw8d.cjs → FormLabel-D4O160ND.cjs} +1 -1
- package/dist/{FormLabel-BF6m-_uI.js → FormLabel-EkpI8MQr.js} +4 -4
- package/dist/{Grow-Bk7XkPFP.js → Grow-B_clfUP9.js} +4 -4
- package/dist/{Grow-DXY5DOqR.cjs → Grow-DKA2Mfhu.cjs} +1 -1
- package/dist/{IconButton-BLZJne06.cjs → IconButton-CGfKAsNI.cjs} +1 -1
- package/dist/{IconButton-BQW0xjdH.js → IconButton-D1mhTuaI.js} +6 -6
- package/dist/{InputAdornment-C0WI_oQg.cjs → InputAdornment-BOcB8UIi.cjs} +1 -1
- package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-BxB8_tq-.js} +5 -5
- package/dist/{InputBase-B3KOyouT.cjs → InputBase-BIf-xtMJ.cjs} +1 -1
- package/dist/{InputBase-YOnatBxw.js → InputBase-BQnEIwl1.js} +7 -7
- package/dist/{Link-C3rf4gqc.js → Link-8ltXgZj7.js} +7 -7
- package/dist/{Link-lvpmE2yz.cjs → Link-CS0qbKjo.cjs} +1 -1
- package/dist/{List-CFInjv2S.js → List-DJsqHOqv.js} +2 -2
- package/dist/{List-PQXGlDbt.cjs → List-T5dKKWkc.cjs} +1 -1
- package/dist/{ListItem-CWEvdMjN.cjs → ListItem-BN7OXyEP.cjs} +1 -1
- package/dist/{ListItem-BAAZxsu5.js → ListItem-BspNcHM_.js} +5 -5
- package/dist/{ListItemText-BhxrnTkb.cjs → ListItemText-6gXRtF3r.cjs} +1 -1
- package/dist/{ListItemText-CADHegDF.js → ListItemText-afV0BrJL.js} +11 -11
- package/dist/{Menu-DBacrp-P.cjs → Menu-D6dHPVP_.cjs} +1 -1
- package/dist/{Menu-BgO92SV3.js → Menu-DPhreDcS.js} +12 -12
- package/dist/{MenuItem-DkcVAo3U.cjs → MenuItem-DOVsV_vI.cjs} +1 -1
- package/dist/{MenuItem-B8eWAj8E.js → MenuItem-Fb7iU47J.js} +7 -7
- package/dist/{Modal-kUvS-N46.cjs → Modal-B8xPmNJd.cjs} +1 -1
- package/dist/{Modal-CFv4UMTP.js → Modal-dmMiGSAp.js} +8 -8
- package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BCGFGn8f.js} +1 -1
- package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-DNeLf2VB.cjs} +1 -1
- package/dist/{Paper-DeL_n4k9.js → Paper-CEDxpHWv.js} +4 -4
- package/dist/{Paper-ByOgFIEE.cjs → Paper-owda8LtM.cjs} +1 -1
- package/dist/{Popper-BKxRTMsO.js → Popper-D5_YIJX6.js} +6 -6
- package/dist/{Popper-CsQqc5DE.cjs → Popper-DMGJYlm7.cjs} +1 -1
- package/dist/{Portal-7MKUQzjh.js → Portal-BKVc0iys.js} +2 -2
- package/dist/{Portal-DhGy1jKe.cjs → Portal-CgaP8O8B.cjs} +1 -1
- package/dist/{Radio-BVfoGshx.js → Radio-B4sx0387.js} +9 -9
- package/dist/{Radio-DG-k6cXx.cjs → Radio-OUfsD89D.cjs} +1 -1
- package/dist/{RadioGroup-Dd0mX-H2.cjs → RadioGroup-Cr_IFflA.cjs} +1 -1
- package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-UStIK_UX.js} +3 -3
- package/dist/{Select-b6liJFDI.cjs → Select-CUlunaOr.cjs} +1 -1
- package/dist/{Select-Vnsr3NSv.js → Select-CxnCi-3l.js} +10 -10
- package/dist/{Stack-PQFKjbdN.js → Stack-CzKIgmIE.js} +4 -4
- package/dist/{Stack-gtxG2YLo.cjs → Stack-D5_1ZBcn.cjs} +1 -1
- package/dist/{Switch-Bn8zlIOf.js → Switch-D3KweZGQ.js} +6 -6
- package/dist/{Switch-BlwDxL6O.cjs → Switch-DpdnFebj.cjs} +1 -1
- package/dist/{SwitchBase-QwOXoy8f.js → SwitchBase-BsP35Aas.js} +5 -5
- package/dist/{SwitchBase-DtKlxrES.cjs → SwitchBase-DMGf52a3.cjs} +1 -1
- package/dist/{Tab-A0R3g6rB.js → Tab-C1r8JXwz.js} +11 -11
- package/dist/{Tab-Dx7V4E6B.cjs → Tab-DZvAf79O.cjs} +1 -1
- package/dist/{TextField-CB2n4aV8.cjs → TextField-C0KpyS6X.cjs} +1 -1
- package/dist/{TextField-Di6Nfe3O.js → TextField-D-_WjPAW.js} +8 -8
- package/dist/{ToggleButtonGroup-D3bdznCl.cjs → ToggleButtonGroup-UNGSwlQe.cjs} +36 -36
- package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-gxIqbo6a.js} +806 -800
- package/dist/{Tooltip-D0jvnXYu.cjs → Tooltip-BljbhP1z.cjs} +1 -1
- package/dist/{Tooltip-KTkLBRQj.js → Tooltip-D0bof-68.js} +10 -10
- package/dist/{Typography-DZ11k9cZ.js → Typography-DBJqhIhB.js} +5 -5
- package/dist/{Typography-3CpuuLtj.cjs → Typography-yvyJLNFu.cjs} +1 -1
- package/dist/{capitalize-B3tmp8MO.cjs → capitalize-CToVceBw.cjs} +1 -1
- package/dist/{capitalize-Bs7Xs33U.js → capitalize-DSG2FA7x.js} +1 -1
- 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/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 +15 -15
- 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.d.ts +1 -0
- package/dist/components/FolderCard/FolderCard.es.js +26 -17
- package/dist/components/FolderCard/styles.cjs.js +1 -1
- package/dist/components/FolderCard/styles.d.ts +4 -0
- package/dist/components/FolderCard/styles.es.js +9 -5
- 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.d.ts +1 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
- package/dist/components/ResourceCard/style.cjs.js +1 -1
- package/dist/components/ResourceCard/style.es.js +40 -35
- 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 +7 -7
- package/dist/components/TreeView/TreeView.es.js +318 -315
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/style.cjs.js +1 -1
- package/dist/components/TreeView/style.es.js +24 -18
- package/dist/components/TreeView/types.d.ts +5 -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 +41 -41
- 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.d.ts +2 -0
- package/dist/components/stories/TreeView.stories.es.js +517 -268
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CsMK8tGM.js} +4 -4
- package/dist/{createSvgIcon-2wwaxLPT.cjs → createSvgIcon-EiiLl5-A.cjs} +1 -1
- package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-BfxSqqSn.js} +1 -1
- package/dist/{dividerClasses-izm7KFVg.cjs → dividerClasses-BtzbOVqV.cjs} +1 -1
- package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-CW5o2Qxo.js} +1 -1
- package/dist/{elementTypeAcceptingRef-GoqLuvj1.cjs → elementTypeAcceptingRef-D1T31ZXC.cjs} +1 -1
- package/dist/{extendSxProp-Bv3E507G.cjs → extendSxProp-BKP1AeGz.cjs} +1 -1
- package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-DSA-5JvJ.js} +1 -1
- package/dist/{generateUtilityClasses-CqzQXpT_.js → generateUtilityClasses-BpRGbQmY.js} +124 -122
- package/dist/{generateUtilityClasses-KugHyZhN.cjs → generateUtilityClasses-q4qbJjmd.cjs} +9 -9
- package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-CD3_Stk5.js} +1 -1
- package/dist/{getReactElementRef-D7IvykPI.cjs → getReactElementRef-yvpNgSpm.cjs} +1 -1
- package/dist/{index-BomeQRLD.cjs → index-Bt7ukCXi.cjs} +1 -1
- package/dist/{index-C7WfZsMe.js → index-CDLJvERp.js} +1 -1
- package/dist/{index-CFIk4hVM.js → index-CoYVLWJY.js} +4 -4
- package/dist/{index-DS8G_wjP.cjs → index-DCpyECL4.cjs} +1 -1
- package/dist/{index-sDFEVHTg.js → index-JOgYmUF8.js} +1 -1
- package/dist/{index-9hEUqvaJ.cjs → index-baZm35zL.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +41 -41
- package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-Cy10XsJj.js} +1 -1
- package/dist/{listItemTextClasses-CQXcckDA.cjs → listItemTextClasses-DePeZNtZ.cjs} +1 -1
- package/dist/{memoTheme-B0xVysYu.js → memoTheme-44McxcVZ.js} +1 -1
- package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-BhhxAcUJ.cjs} +1 -1
- package/dist/{refType-D-n-tVSl.cjs → refType-DDdajp2p.cjs} +1 -1
- package/dist/{refType-BvSJNaoq.js → refType-DsRJ5_Sj.js} +1 -1
- package/dist/{resolveComponentProps-Byi_59AN.cjs → resolveComponentProps-BTEnlM7q.cjs} +1 -1
- package/dist/{resolveComponentProps-Ctw0-dUN.js → resolveComponentProps-BZQ1jKzF.js} +1 -1
- package/dist/{useSlot-CGbU9jGm.cjs → useSlot-CSTfsYPJ.cjs} +1 -1
- package/dist/{useSlot-CqjfyGd9.js → useSlot-CYOxsM2I.js} +1 -1
- package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-CDJdiQpV.js} +1 -1
- package/dist/{useSlotProps-DfO7r_4Y.cjs → useSlotProps-DTgWZk99.cjs} +1 -1
- package/dist/useTheme-BDL2rp7a.js +11 -0
- package/dist/{useTheme-2JCMQS-E.js → useTheme-C2OE_AnH.js} +1 -1
- package/dist/{useTheme-B6wow4M9.cjs → useTheme-CCi6a5Vl.cjs} +1 -1
- package/dist/{useTheme-MahNaB8C.cjs → useTheme-DpMakc_Y.cjs} +1 -1
- package/dist/useThemeProps-BnN3o4c1.cjs +1 -0
- package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-ClM1OENH.js} +2 -2
- package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-DQFApaJ_.cjs} +1 -1
- package/dist/useThemeProps-DjkGUV8r.js +17 -0
- package/dist/{utils-CUU5fjzL.cjs → utils-Cn6wZNus.cjs} +1 -1
- package/dist/{utils-BVg32WSe.js → utils-DFLaK7Ad.js} +1 -1
- package/package.json +1 -1
- package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
- package/dist/useTheme-DepbBZga.js +0 -11
- package/dist/useThemeProps-BqypsO1h.cjs +0 -1
- package/dist/useThemeProps-Drd5oJEF.js +0 -17
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsx as x, jsxs as ie } from "react/jsx-runtime";
|
|
2
|
-
import { c as ae } from "./createSvgIcon-
|
|
3
|
-
import { B as
|
|
4
|
-
import { _ as f } from "./ButtonBase-
|
|
2
|
+
import { c as ae } from "./createSvgIcon-CsMK8tGM.js";
|
|
3
|
+
import { B as Ke } from "./Box-D3Pi13ta.js";
|
|
4
|
+
import { _ as f } from "./ButtonBase-Bncgzjtp.js";
|
|
5
5
|
import * as R from "react";
|
|
6
6
|
import { u as ce } from "./useForkRef-C_4o__cU.js";
|
|
7
|
-
import { e as
|
|
8
|
-
import { treeContentStyle as
|
|
9
|
-
import { getIconComponent as
|
|
10
|
-
import { G as
|
|
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
|
|
22
|
-
function
|
|
23
|
-
return
|
|
7
|
+
import { e as K, r as be } from "./resolveComponentProps-BZQ1jKzF.js";
|
|
8
|
+
import { treeItemRootStyle as Fe, treeContentStyle as je, iconStyle as Ie, arrowContainerStyle as qe, expandedGroupStyle as _e } from "./components/TreeView/style.es.js";
|
|
9
|
+
import { getIconComponent as Ue } from "./components/TreeView/utils.es.js";
|
|
10
|
+
import { G as we, H as Te, x as We, I as ve, P as i, n as oe } from "./generateUtilityClasses-BpRGbQmY.js";
|
|
11
|
+
import { a as Pe } from "./TransitionGroupContext-DbLioz_6.js";
|
|
12
|
+
import { u as Ge } from "./useThemeProps-DjkGUV8r.js";
|
|
13
|
+
import { u as Xe, s as V, c as Ee, f as le } from "./DefaultPropsProvider-Ik4eAJdt.js";
|
|
14
|
+
import { u as Ye } from "./useTheme-BDL2rp7a.js";
|
|
15
|
+
import { m as Je } from "./memoTheme-44McxcVZ.js";
|
|
16
|
+
import { T as Qe, g as he } from "./utils-DFLaK7Ad.js";
|
|
17
|
+
import { u as Ze } from "./useTimeout-CrCYVizI.js";
|
|
18
|
+
import { e as He } from "./elementTypeAcceptingRef-CW5o2Qxo.js";
|
|
19
|
+
import { C as et } from "./Checkbox-DkrWUPYT.js";
|
|
20
|
+
import { u as tt } from "./unsupportedProp-BuVD30Gh.js";
|
|
21
|
+
import { u as F } from "./useSlotProps-CDJdiQpV.js";
|
|
22
|
+
function ot(e) {
|
|
23
|
+
return Te("MuiCollapse", e);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), nt = (e) => {
|
|
26
26
|
const {
|
|
27
27
|
orientation: t,
|
|
28
28
|
classes: o
|
|
@@ -33,8 +33,8 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
33
33
|
wrapper: ["wrapper", `${t}`],
|
|
34
34
|
wrapperInner: ["wrapperInner", `${t}`]
|
|
35
35
|
};
|
|
36
|
-
return
|
|
37
|
-
},
|
|
36
|
+
return Ee(s, ot, o);
|
|
37
|
+
}, rt = V("div", {
|
|
38
38
|
name: "MuiCollapse",
|
|
39
39
|
slot: "Root",
|
|
40
40
|
overridesResolver: (e, t) => {
|
|
@@ -43,7 +43,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
43
43
|
} = e;
|
|
44
44
|
return [t.root, t[o.orientation], o.state === "entered" && t.entered, o.state === "exited" && !o.in && o.collapsedSize === "0px" && t.hidden];
|
|
45
45
|
}
|
|
46
|
-
})(
|
|
46
|
+
})(Je(({
|
|
47
47
|
theme: e
|
|
48
48
|
}) => ({
|
|
49
49
|
height: 0,
|
|
@@ -82,7 +82,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
82
82
|
visibility: "hidden"
|
|
83
83
|
}
|
|
84
84
|
}]
|
|
85
|
-
}))),
|
|
85
|
+
}))), it = V("div", {
|
|
86
86
|
name: "MuiCollapse",
|
|
87
87
|
slot: "Wrapper",
|
|
88
88
|
overridesResolver: (e, t) => t.wrapper
|
|
@@ -99,7 +99,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
99
99
|
height: "100%"
|
|
100
100
|
}
|
|
101
101
|
}]
|
|
102
|
-
}),
|
|
102
|
+
}), st = V("div", {
|
|
103
103
|
name: "MuiCollapse",
|
|
104
104
|
slot: "WrapperInner",
|
|
105
105
|
overridesResolver: (e, t) => t.wrapperInner
|
|
@@ -115,7 +115,7 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
115
115
|
}
|
|
116
116
|
}]
|
|
117
117
|
}), se = /* @__PURE__ */ R.forwardRef(function(t, o) {
|
|
118
|
-
const s =
|
|
118
|
+
const s = Xe({
|
|
119
119
|
props: t,
|
|
120
120
|
name: "MuiCollapse"
|
|
121
121
|
}), {
|
|
@@ -131,64 +131,64 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
131
131
|
onEntering: r,
|
|
132
132
|
onExit: y,
|
|
133
133
|
onExited: S,
|
|
134
|
-
onExiting:
|
|
135
|
-
orientation:
|
|
136
|
-
style:
|
|
137
|
-
timeout: T =
|
|
134
|
+
onExiting: O,
|
|
135
|
+
orientation: j = "vertical",
|
|
136
|
+
style: U,
|
|
137
|
+
timeout: T = We.standard,
|
|
138
138
|
// eslint-disable-next-line react/prop-types
|
|
139
|
-
TransitionComponent: E =
|
|
139
|
+
TransitionComponent: E = Qe,
|
|
140
140
|
...P
|
|
141
141
|
} = s, w = {
|
|
142
142
|
...s,
|
|
143
|
-
orientation:
|
|
143
|
+
orientation: j,
|
|
144
144
|
collapsedSize: l
|
|
145
|
-
},
|
|
145
|
+
}, D = nt(w), W = Ye(), Y = Ze(), M = R.useRef(null), q = R.useRef(), _ = 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
146
|
if (I) {
|
|
147
|
-
const
|
|
148
|
-
|
|
147
|
+
const N = B.current;
|
|
148
|
+
L === void 0 ? I(N) : I(N, L);
|
|
149
149
|
}
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
}), ee =
|
|
153
|
-
const
|
|
154
|
-
|
|
150
|
+
}, 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] = _, b && b(I, L);
|
|
152
|
+
}), ee = A((I, L) => {
|
|
153
|
+
const N = G();
|
|
154
|
+
M.current && k && (M.current.style.position = "");
|
|
155
155
|
const {
|
|
156
156
|
duration: Z,
|
|
157
157
|
easing: a
|
|
158
|
-
} =
|
|
159
|
-
style:
|
|
158
|
+
} = he({
|
|
159
|
+
style: U,
|
|
160
160
|
timeout: T,
|
|
161
161
|
easing: c
|
|
162
162
|
}, {
|
|
163
163
|
mode: "enter"
|
|
164
164
|
});
|
|
165
165
|
if (T === "auto") {
|
|
166
|
-
const n =
|
|
167
|
-
I.style.transitionDuration = `${n}ms`,
|
|
166
|
+
const n = W.transitions.getAutoHeightDuration(N);
|
|
167
|
+
I.style.transitionDuration = `${n}ms`, q.current = n;
|
|
168
168
|
} else
|
|
169
169
|
I.style.transitionDuration = typeof Z == "string" ? Z : `${Z}ms`;
|
|
170
|
-
I.style[z] = `${
|
|
171
|
-
}), Q =
|
|
172
|
-
I.style[z] = "auto", C && C(I,
|
|
173
|
-
}), re =
|
|
174
|
-
I.style[z] = `${
|
|
175
|
-
}), ue =
|
|
176
|
-
const
|
|
177
|
-
duration:
|
|
170
|
+
I.style[z] = `${N}px`, I.style.transitionTimingFunction = a, r && r(I, L);
|
|
171
|
+
}), Q = A((I, L) => {
|
|
172
|
+
I.style[z] = "auto", C && C(I, L);
|
|
173
|
+
}), re = A((I) => {
|
|
174
|
+
I.style[z] = `${G()}px`, y && y(I);
|
|
175
|
+
}), ue = A(S), ge = A((I) => {
|
|
176
|
+
const L = G(), {
|
|
177
|
+
duration: N,
|
|
178
178
|
easing: Z
|
|
179
|
-
} =
|
|
180
|
-
style:
|
|
179
|
+
} = he({
|
|
180
|
+
style: U,
|
|
181
181
|
timeout: T,
|
|
182
182
|
easing: c
|
|
183
183
|
}, {
|
|
184
184
|
mode: "exit"
|
|
185
185
|
});
|
|
186
186
|
if (T === "auto") {
|
|
187
|
-
const a =
|
|
188
|
-
I.style.transitionDuration = `${a}ms`,
|
|
187
|
+
const a = W.transitions.getAutoHeightDuration(L);
|
|
188
|
+
I.style.transitionDuration = `${a}ms`, q.current = a;
|
|
189
189
|
} else
|
|
190
|
-
I.style.transitionDuration = typeof
|
|
191
|
-
I.style[z] =
|
|
190
|
+
I.style.transitionDuration = typeof N == "string" ? N : `${N}ms`;
|
|
191
|
+
I.style[z] = _, I.style.transitionTimingFunction = Z, O && O(I);
|
|
192
192
|
});
|
|
193
193
|
return /* @__PURE__ */ x(E, {
|
|
194
194
|
in: h,
|
|
@@ -199,43 +199,43 @@ const Xt = Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
|
|
|
199
199
|
onExited: ue,
|
|
200
200
|
onExiting: ge,
|
|
201
201
|
addEndListener: (I) => {
|
|
202
|
-
T === "auto" && Y.start(
|
|
202
|
+
T === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
|
|
203
203
|
},
|
|
204
|
-
nodeRef:
|
|
204
|
+
nodeRef: B,
|
|
205
205
|
timeout: T === "auto" ? null : T,
|
|
206
206
|
...P,
|
|
207
207
|
children: (I, {
|
|
208
|
-
ownerState:
|
|
209
|
-
...
|
|
210
|
-
}) => /* @__PURE__ */ x(
|
|
208
|
+
ownerState: L,
|
|
209
|
+
...N
|
|
210
|
+
}) => /* @__PURE__ */ x(rt, {
|
|
211
211
|
as: m,
|
|
212
|
-
className:
|
|
213
|
-
entered:
|
|
214
|
-
exited: !h &&
|
|
212
|
+
className: ve(D.root, g, {
|
|
213
|
+
entered: D.entered,
|
|
214
|
+
exited: !h && _ === "0px" && D.hidden
|
|
215
215
|
}[I]),
|
|
216
216
|
style: {
|
|
217
|
-
[
|
|
218
|
-
...
|
|
217
|
+
[k ? "minWidth" : "minHeight"]: _,
|
|
218
|
+
...U
|
|
219
219
|
},
|
|
220
220
|
ref: H,
|
|
221
221
|
ownerState: {
|
|
222
222
|
...w,
|
|
223
223
|
state: I
|
|
224
224
|
},
|
|
225
|
-
...
|
|
226
|
-
children: /* @__PURE__ */ x(
|
|
225
|
+
...N,
|
|
226
|
+
children: /* @__PURE__ */ x(it, {
|
|
227
227
|
ownerState: {
|
|
228
228
|
...w,
|
|
229
229
|
state: I
|
|
230
230
|
},
|
|
231
|
-
className:
|
|
232
|
-
ref:
|
|
233
|
-
children: /* @__PURE__ */ x(
|
|
231
|
+
className: D.wrapper,
|
|
232
|
+
ref: M,
|
|
233
|
+
children: /* @__PURE__ */ x(st, {
|
|
234
234
|
ownerState: {
|
|
235
235
|
...w,
|
|
236
236
|
state: I
|
|
237
237
|
},
|
|
238
|
-
className:
|
|
238
|
+
className: D.wrapperInner,
|
|
239
239
|
children: d
|
|
240
240
|
})
|
|
241
241
|
})
|
|
@@ -274,7 +274,7 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
|
274
274
|
* The component used for the root node.
|
|
275
275
|
* Either a string to use a HTML element or a component.
|
|
276
276
|
*/
|
|
277
|
-
component:
|
|
277
|
+
component: He,
|
|
278
278
|
/**
|
|
279
279
|
* The transition timing function.
|
|
280
280
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -338,43 +338,43 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
|
338
338
|
})])
|
|
339
339
|
});
|
|
340
340
|
se && (se.muiSupportAuto = !0);
|
|
341
|
-
const
|
|
341
|
+
const at = ae(/* @__PURE__ */ x("path", {
|
|
342
342
|
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
343
|
-
}), "KeyboardArrowDown"),
|
|
343
|
+
}), "KeyboardArrowDown"), lt = ae(/* @__PURE__ */ x("path", {
|
|
344
344
|
d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
|
|
345
|
-
}), "KeyboardArrowRight"),
|
|
346
|
-
function
|
|
345
|
+
}), "KeyboardArrowRight"), ye = /* @__PURE__ */ new Set();
|
|
346
|
+
function dt(e, t = "warning") {
|
|
347
347
|
if (process.env.NODE_ENV === "production")
|
|
348
348
|
return;
|
|
349
349
|
const o = Array.isArray(e) ? e.join(`
|
|
350
350
|
`) : e;
|
|
351
|
-
|
|
351
|
+
ye.has(o) || (ye.add(o), t === "error" ? console.error(o) : console.warn(o));
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
return
|
|
353
|
+
function ct(e) {
|
|
354
|
+
return Ge;
|
|
355
355
|
}
|
|
356
|
-
let
|
|
357
|
-
const
|
|
356
|
+
let xe = 0;
|
|
357
|
+
const Qt = () => (xe += 1, `mui-tree-view-${xe}`), pt = ({
|
|
358
358
|
id: e,
|
|
359
359
|
treeId: t = "",
|
|
360
360
|
itemId: o
|
|
361
|
-
}) => e ?? `${t}-${o}`,
|
|
362
|
-
process.env.NODE_ENV !== "production" && (
|
|
361
|
+
}) => e ?? `${t}-${o}`, Re = /* @__PURE__ */ R.createContext(null);
|
|
362
|
+
process.env.NODE_ENV !== "production" && (Re.displayName = "TreeViewContext");
|
|
363
363
|
const ne = () => {
|
|
364
|
-
const e = R.useContext(
|
|
364
|
+
const e = R.useContext(Re);
|
|
365
365
|
if (e == null)
|
|
366
366
|
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
367
|
`));
|
|
368
368
|
return e;
|
|
369
|
-
},
|
|
370
|
-
process.env.NODE_ENV !== "production" && (
|
|
371
|
-
const
|
|
369
|
+
}, Se = /* @__PURE__ */ R.createContext(() => -1);
|
|
370
|
+
process.env.NODE_ENV !== "production" && (Se.displayName = "TreeViewItemDepthContext");
|
|
371
|
+
const Oe = (e, t) => {
|
|
372
372
|
let o = t.length - 1;
|
|
373
373
|
for (; o >= 0 && !e.isItemNavigable(t[o]); )
|
|
374
374
|
o -= 1;
|
|
375
375
|
if (o !== -1)
|
|
376
376
|
return t[o];
|
|
377
|
-
},
|
|
377
|
+
}, ut = (e, t) => {
|
|
378
378
|
const o = e.getItemMeta(t), s = e.getItemOrderedChildrenIds(o.parentId), p = e.getItemIndex(t);
|
|
379
379
|
if (p === 0)
|
|
380
380
|
return o.parentId;
|
|
@@ -382,12 +382,12 @@ const Se = (e, t) => {
|
|
|
382
382
|
for (; !e.isItemNavigable(s[d]) && d >= 0; )
|
|
383
383
|
d -= 1;
|
|
384
384
|
if (d === -1)
|
|
385
|
-
return o.parentId == null ? null :
|
|
386
|
-
let g = s[d], l =
|
|
385
|
+
return o.parentId == null ? null : ut(e, o.parentId);
|
|
386
|
+
let g = s[d], l = Oe(e, e.getItemOrderedChildrenIds(g));
|
|
387
387
|
for (; e.isItemExpanded(g) && l != null; )
|
|
388
388
|
g = l, l = e.getItemOrderedChildrenIds(g).find(e.isItemNavigable);
|
|
389
389
|
return g;
|
|
390
|
-
},
|
|
390
|
+
}, gt = (e, t) => {
|
|
391
391
|
if (e.isItemExpanded(t)) {
|
|
392
392
|
const s = e.getItemOrderedChildrenIds(t).find(e.isItemNavigable);
|
|
393
393
|
if (s != null)
|
|
@@ -406,16 +406,16 @@ const Se = (e, t) => {
|
|
|
406
406
|
o = e.getItemMeta(o.parentId);
|
|
407
407
|
}
|
|
408
408
|
return null;
|
|
409
|
-
},
|
|
409
|
+
}, Zt = (e) => {
|
|
410
410
|
let t = null;
|
|
411
411
|
for (; t == null || e.isItemExpanded(t); ) {
|
|
412
|
-
const o = e.getItemOrderedChildrenIds(t), s =
|
|
412
|
+
const o = e.getItemOrderedChildrenIds(t), s = Oe(e, o);
|
|
413
413
|
if (s == null)
|
|
414
414
|
return t;
|
|
415
415
|
t = s;
|
|
416
416
|
}
|
|
417
417
|
return t;
|
|
418
|
-
},
|
|
418
|
+
}, ft = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), mt = (e, t, o) => {
|
|
419
419
|
if (t === o)
|
|
420
420
|
return [t, o];
|
|
421
421
|
const s = e.getItemMeta(t), p = e.getItemMeta(o);
|
|
@@ -425,9 +425,9 @@ const Se = (e, t) => {
|
|
|
425
425
|
let l = s.parentId, m = p.parentId, c = g.indexOf(l) !== -1, h = d.indexOf(m) !== -1, b = !0, C = !0;
|
|
426
426
|
for (; !h && !c; )
|
|
427
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],
|
|
429
|
-
return y.indexOf(S) < y.indexOf(
|
|
430
|
-
},
|
|
428
|
+
const r = c ? l : m, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], O = g[g.indexOf(r) - 1];
|
|
429
|
+
return y.indexOf(S) < y.indexOf(O) ? [t, o] : [o, t];
|
|
430
|
+
}, Ht = (e, t, o) => {
|
|
431
431
|
const s = (m) => {
|
|
432
432
|
if (e.isItemExpandable(m) && e.isItemExpanded(m))
|
|
433
433
|
return e.getItemOrderedChildrenIds(m)[0];
|
|
@@ -439,18 +439,18 @@ const Se = (e, t) => {
|
|
|
439
439
|
c = e.getItemMeta(c.parentId);
|
|
440
440
|
}
|
|
441
441
|
throw new Error("Invalid range");
|
|
442
|
-
}, [p, d] =
|
|
442
|
+
}, [p, d] = mt(e, t, o), g = [p];
|
|
443
443
|
let l = p;
|
|
444
444
|
for (; l !== d; )
|
|
445
445
|
l = s(l), e.isItemDisabled(l) || g.push(l);
|
|
446
446
|
return g;
|
|
447
|
-
},
|
|
448
|
-
let t =
|
|
447
|
+
}, eo = (e) => {
|
|
448
|
+
let t = ft(e);
|
|
449
449
|
const o = [];
|
|
450
450
|
for (; t != null; )
|
|
451
|
-
o.push(t), t =
|
|
451
|
+
o.push(t), t = gt(e, t);
|
|
452
452
|
return o;
|
|
453
|
-
},
|
|
453
|
+
}, Ce = (e, t) => t !== e.closest('*[role="treeitem"]'), de = (e, t) => e.getAvailablePlugins().has(t), bt = ({
|
|
454
454
|
props: e
|
|
455
455
|
}) => {
|
|
456
456
|
const {
|
|
@@ -489,7 +489,7 @@ const Se = (e, t) => {
|
|
|
489
489
|
} : {}
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
|
-
},
|
|
492
|
+
}, X = ({
|
|
493
493
|
instance: e,
|
|
494
494
|
state: t,
|
|
495
495
|
setState: o,
|
|
@@ -535,24 +535,24 @@ const Se = (e, t) => {
|
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
537
|
};
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
X.itemPlugin = bt;
|
|
539
|
+
X.getDefaultizedParams = ({
|
|
540
540
|
params: e,
|
|
541
541
|
experimentalFeatures: t
|
|
542
542
|
}) => {
|
|
543
543
|
const o = t == null ? void 0 : t.labelEditing;
|
|
544
|
-
return process.env.NODE_ENV !== "production" && e.isItemEditable && !o &&
|
|
544
|
+
return process.env.NODE_ENV !== "production" && e.isItemEditable && !o && dt(["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, {
|
|
545
545
|
isItemEditable: o ? e.isItemEditable ?? !1 : !1
|
|
546
546
|
});
|
|
547
547
|
};
|
|
548
|
-
|
|
548
|
+
X.getInitialState = () => ({
|
|
549
549
|
editedItemId: null
|
|
550
550
|
});
|
|
551
|
-
|
|
551
|
+
X.params = {
|
|
552
552
|
onItemLabelChange: !0,
|
|
553
553
|
isItemEditable: !0
|
|
554
554
|
};
|
|
555
|
-
const
|
|
555
|
+
const It = V("div", {
|
|
556
556
|
name: "MuiTreeItem2DragAndDropOverlay",
|
|
557
557
|
slot: "Root",
|
|
558
558
|
overridesResolver: (e, t) => t.root,
|
|
@@ -602,10 +602,10 @@ const mt = A("div", {
|
|
|
602
602
|
}
|
|
603
603
|
}]
|
|
604
604
|
}));
|
|
605
|
-
function
|
|
606
|
-
return e.action == null ? null : /* @__PURE__ */ x(
|
|
605
|
+
function De(e) {
|
|
606
|
+
return e.action == null ? null : /* @__PURE__ */ x(It, f({}, e));
|
|
607
607
|
}
|
|
608
|
-
process.env.NODE_ENV !== "production" && (
|
|
608
|
+
process.env.NODE_ENV !== "production" && (De.propTypes = {
|
|
609
609
|
// ----------------------------- Warning --------------------------------
|
|
610
610
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
611
611
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -613,7 +613,7 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
|
|
|
613
613
|
action: i.oneOf(["make-child", "move-to-parent", "reorder-above", "reorder-below"]),
|
|
614
614
|
style: i.object
|
|
615
615
|
});
|
|
616
|
-
const
|
|
616
|
+
const ht = V("input", {
|
|
617
617
|
name: "MuiTreeItem2",
|
|
618
618
|
slot: "LabelInput",
|
|
619
619
|
overridesResolver: (e, t) => t.labelInput
|
|
@@ -630,12 +630,12 @@ const bt = A("input", {
|
|
|
630
630
|
outline: `1px solid ${e.palette.primary.main}`
|
|
631
631
|
}
|
|
632
632
|
}));
|
|
633
|
-
function
|
|
634
|
-
return
|
|
633
|
+
function yt(e) {
|
|
634
|
+
return Te("MuiTreeItem", e);
|
|
635
635
|
}
|
|
636
|
-
const
|
|
636
|
+
const to = we("MuiTreeItem", ["root", "groupTransition", "content", "expanded", "selected", "focused", "disabled", "iconContainer", "label", "checkbox", "labelInput", "editable", "editing", "dragAndDropOverlay"]), xt = ae(/* @__PURE__ */ x("path", {
|
|
637
637
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
638
|
-
}), "TreeViewExpandIcon"),
|
|
638
|
+
}), "TreeViewExpandIcon"), Ct = ae(/* @__PURE__ */ x("path", {
|
|
639
639
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
640
640
|
}), "TreeViewCollapseIcon");
|
|
641
641
|
function pe(e) {
|
|
@@ -660,7 +660,7 @@ pe.propTypes = {
|
|
|
660
660
|
children: i.node,
|
|
661
661
|
itemId: i.string.isRequired
|
|
662
662
|
};
|
|
663
|
-
const
|
|
663
|
+
const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
664
664
|
itemId: e,
|
|
665
665
|
children: t
|
|
666
666
|
}) => {
|
|
@@ -671,7 +671,7 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
671
671
|
},
|
|
672
672
|
publicAPI: p
|
|
673
673
|
} = ne(), d = {
|
|
674
|
-
expandable:
|
|
674
|
+
expandable: Me(t),
|
|
675
675
|
expanded: o.isItemExpanded(e),
|
|
676
676
|
focused: o.isItemFocused(e),
|
|
677
677
|
selected: o.isItemSelected(e),
|
|
@@ -705,7 +705,7 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
705
705
|
shouldBeSelected: r.target.checked
|
|
706
706
|
});
|
|
707
707
|
}, c = () => {
|
|
708
|
-
de(o,
|
|
708
|
+
de(o, X) && o.isItemEditable(e) && (o.isItemBeingEdited(e) ? o.setEditedItemId(null) : o.setEditedItemId(e));
|
|
709
709
|
};
|
|
710
710
|
return {
|
|
711
711
|
interactions: {
|
|
@@ -714,16 +714,16 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
714
714
|
handleCheckboxSelection: m,
|
|
715
715
|
toggleItemEditing: c,
|
|
716
716
|
handleSaveItemLabel: (r, y) => {
|
|
717
|
-
de(o,
|
|
717
|
+
de(o, X) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
|
|
718
718
|
},
|
|
719
719
|
handleCancelItemLabelEditing: (r) => {
|
|
720
|
-
de(o,
|
|
720
|
+
de(o, X) && o.isItemBeingEditedRef(e) && (c(), o.focusItem(r, e));
|
|
721
721
|
}
|
|
722
722
|
},
|
|
723
723
|
status: d,
|
|
724
724
|
publicAPI: p
|
|
725
725
|
};
|
|
726
|
-
},
|
|
726
|
+
}, Tt = (e) => {
|
|
727
727
|
const {
|
|
728
728
|
runItemPlugins: t,
|
|
729
729
|
items: {
|
|
@@ -741,29 +741,29 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
741
741
|
treeId: m,
|
|
742
742
|
instance: c,
|
|
743
743
|
publicAPI: h
|
|
744
|
-
} = ne(), b = R.useContext(
|
|
744
|
+
} = ne(), b = R.useContext(Se), {
|
|
745
745
|
id: C,
|
|
746
746
|
itemId: r,
|
|
747
747
|
label: y,
|
|
748
748
|
children: S,
|
|
749
|
-
rootRef:
|
|
749
|
+
rootRef: O
|
|
750
750
|
} = e, {
|
|
751
|
-
rootRef:
|
|
752
|
-
contentRef:
|
|
751
|
+
rootRef: j,
|
|
752
|
+
contentRef: U,
|
|
753
753
|
propsEnhancers: T
|
|
754
754
|
} = t(e), {
|
|
755
755
|
interactions: E,
|
|
756
756
|
status: P
|
|
757
|
-
} =
|
|
757
|
+
} = wt({
|
|
758
758
|
itemId: r,
|
|
759
759
|
children: S
|
|
760
|
-
}), w = R.useRef(null),
|
|
760
|
+
}), w = R.useRef(null), D = R.useRef(null), W = ce(O, j, w), Y = ce(U, D), M = R.useRef(null), q = pt({
|
|
761
761
|
itemId: r,
|
|
762
762
|
treeId: m,
|
|
763
763
|
id: C
|
|
764
|
-
}),
|
|
764
|
+
}), _ = c.canItemBeTabbed(r) ? 0 : -1, k = {
|
|
765
765
|
rootRefObject: w,
|
|
766
|
-
contentRefObject:
|
|
766
|
+
contentRefObject: D,
|
|
767
767
|
interactions: E
|
|
768
768
|
}, z = (a) => (n) => {
|
|
769
769
|
var v;
|
|
@@ -771,23 +771,23 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
771
771
|
return;
|
|
772
772
|
const u = !P.disabled || s;
|
|
773
773
|
!P.focused && u && n.currentTarget === n.target && c.focusItem(n, r);
|
|
774
|
-
},
|
|
775
|
-
var v,
|
|
774
|
+
}, B = (a) => (n) => {
|
|
775
|
+
var v, $, te, fe, me;
|
|
776
776
|
if ((v = a.onBlur) == null || v.call(a, n), n.defaultMuiPrevented)
|
|
777
777
|
return;
|
|
778
778
|
const u = c.getItemDOMElement(r);
|
|
779
779
|
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
780
|
// 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 &&
|
|
781
|
+
n.relatedTarget && Ce(n.relatedTarget, u) && (n.target && ((te = ($ = n.target) == null ? void 0 : $.dataset) == null ? void 0 : te.element) === "labelInput" && Ce(n.target, u) || ((me = (fe = n.relatedTarget) == null ? void 0 : fe.dataset) == null ? void 0 : me.element) === "labelInput") || c.removeFocusedItem();
|
|
782
782
|
}, H = (a) => (n) => {
|
|
783
|
-
var u, v,
|
|
784
|
-
(u = a.onKeyDown) == null || u.call(a, n), !(n.defaultMuiPrevented || ((
|
|
785
|
-
},
|
|
783
|
+
var u, v, $;
|
|
784
|
+
(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);
|
|
785
|
+
}, A = (a) => (n) => {
|
|
786
786
|
var u;
|
|
787
787
|
(u = a.onDoubleClick) == null || u.call(a, n), !n.defaultMuiPrevented && E.toggleItemEditing();
|
|
788
|
-
},
|
|
788
|
+
}, G = (a) => (n) => {
|
|
789
789
|
var u, v;
|
|
790
|
-
(u = a.onClick) == null || u.call(a, n), o == null || o(n, r), !(n.defaultMuiPrevented || (v =
|
|
790
|
+
(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
791
|
}, J = (a) => (n) => {
|
|
792
792
|
var u;
|
|
793
793
|
(u = a.onMouseDown) == null || u.call(a, n), !n.defaultMuiPrevented && (n.shiftKey || n.ctrlKey || n.metaKey || P.disabled) && n.preventDefault();
|
|
@@ -801,46 +801,46 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
801
801
|
return {
|
|
802
802
|
getRootProps: (a = {}) => {
|
|
803
803
|
var te;
|
|
804
|
-
const n = f({},
|
|
804
|
+
const n = f({}, K(e), K(a));
|
|
805
805
|
let u;
|
|
806
806
|
P.selected ? u = !0 : d || P.disabled ? u = void 0 : u = !1;
|
|
807
807
|
const v = f({}, n, {
|
|
808
|
-
ref:
|
|
808
|
+
ref: W,
|
|
809
809
|
role: "treeitem",
|
|
810
|
-
tabIndex:
|
|
811
|
-
id:
|
|
810
|
+
tabIndex: _,
|
|
811
|
+
id: q,
|
|
812
812
|
"aria-expanded": P.expandable ? P.expanded : void 0,
|
|
813
813
|
"aria-selected": u,
|
|
814
814
|
"aria-disabled": P.disabled || void 0
|
|
815
815
|
}, a, {
|
|
816
816
|
onFocus: z(n),
|
|
817
|
-
onBlur:
|
|
817
|
+
onBlur: B(n),
|
|
818
818
|
onKeyDown: H(n)
|
|
819
819
|
});
|
|
820
820
|
p && (v.style = {
|
|
821
821
|
"--TreeView-itemDepth": typeof b == "function" ? b(r) : b
|
|
822
822
|
});
|
|
823
|
-
const
|
|
823
|
+
const $ = ((te = T.root) == null ? void 0 : te.call(T, f({}, k, {
|
|
824
824
|
externalEventHandlers: n
|
|
825
825
|
}))) ?? {};
|
|
826
|
-
return f({}, v,
|
|
826
|
+
return f({}, v, $);
|
|
827
827
|
},
|
|
828
828
|
getContentProps: (a = {}) => {
|
|
829
|
-
var
|
|
830
|
-
const n =
|
|
829
|
+
var $;
|
|
830
|
+
const n = K(a), u = f({}, n, a, {
|
|
831
831
|
ref: Y,
|
|
832
|
-
onClick:
|
|
832
|
+
onClick: G(n),
|
|
833
833
|
onMouseDown: J(n),
|
|
834
834
|
status: P
|
|
835
835
|
});
|
|
836
836
|
p && (u.indentationAtItemLevel = !0);
|
|
837
|
-
const v = ((
|
|
837
|
+
const v = (($ = T.content) == null ? void 0 : $.call(T, f({}, k, {
|
|
838
838
|
externalEventHandlers: n
|
|
839
839
|
}))) ?? {};
|
|
840
840
|
return f({}, u, v);
|
|
841
841
|
},
|
|
842
842
|
getGroupTransitionProps: (a = {}) => {
|
|
843
|
-
const n =
|
|
843
|
+
const n = K(a), u = f({}, n, {
|
|
844
844
|
unmountOnExit: !0,
|
|
845
845
|
component: "ul",
|
|
846
846
|
role: "group",
|
|
@@ -850,16 +850,16 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
850
850
|
return p && (u.indentationAtItemLevel = !0), u;
|
|
851
851
|
},
|
|
852
852
|
getIconContainerProps: (a = {}) => {
|
|
853
|
-
const n =
|
|
853
|
+
const n = K(a);
|
|
854
854
|
return f({}, n, a, {
|
|
855
855
|
onClick: Q(n)
|
|
856
856
|
});
|
|
857
857
|
},
|
|
858
858
|
getCheckboxProps: (a = {}) => {
|
|
859
|
-
const n =
|
|
859
|
+
const n = K(a);
|
|
860
860
|
return f({}, n, {
|
|
861
861
|
visible: g,
|
|
862
|
-
ref:
|
|
862
|
+
ref: M,
|
|
863
863
|
checked: P.selected,
|
|
864
864
|
disabled: d || P.disabled,
|
|
865
865
|
tabIndex: -1
|
|
@@ -868,18 +868,18 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
868
868
|
});
|
|
869
869
|
},
|
|
870
870
|
getLabelProps: (a = {}) => {
|
|
871
|
-
const n = f({},
|
|
871
|
+
const n = f({}, K(a)), u = f({}, n, {
|
|
872
872
|
children: y
|
|
873
873
|
}, a, {
|
|
874
|
-
onDoubleClick:
|
|
874
|
+
onDoubleClick: A(n)
|
|
875
875
|
});
|
|
876
876
|
return c.isTreeViewEditable && (u.editable = P.editable), u;
|
|
877
877
|
},
|
|
878
878
|
getLabelInputProps: (a = {}) => {
|
|
879
879
|
var v;
|
|
880
|
-
const n =
|
|
880
|
+
const n = K(a), u = ((v = T.labelInput) == null ? void 0 : v.call(T, {
|
|
881
881
|
rootRefObject: w,
|
|
882
|
-
contentRefObject:
|
|
882
|
+
contentRefObject: D,
|
|
883
883
|
externalEventHandlers: n,
|
|
884
884
|
interactions: E
|
|
885
885
|
})) ?? {};
|
|
@@ -887,28 +887,28 @@ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, xt = ({
|
|
|
887
887
|
},
|
|
888
888
|
getDragAndDropOverlayProps: (a = {}) => {
|
|
889
889
|
var v;
|
|
890
|
-
const n =
|
|
890
|
+
const n = K(a), u = ((v = T.dragAndDropOverlay) == null ? void 0 : v.call(T, f({}, k, {
|
|
891
891
|
externalEventHandlers: n
|
|
892
892
|
}))) ?? {};
|
|
893
893
|
return f({}, a, u);
|
|
894
894
|
},
|
|
895
|
-
rootRef:
|
|
895
|
+
rootRef: W,
|
|
896
896
|
status: P,
|
|
897
897
|
publicAPI: h
|
|
898
898
|
};
|
|
899
|
-
},
|
|
900
|
-
function
|
|
899
|
+
}, ke = Tt;
|
|
900
|
+
function Le(e) {
|
|
901
901
|
const {
|
|
902
902
|
slots: t,
|
|
903
903
|
slotProps: o,
|
|
904
904
|
status: s
|
|
905
905
|
} = e, p = ne(), d = f({}, p.icons.slots, {
|
|
906
|
-
expandIcon: p.icons.slots.expandIcon ??
|
|
907
|
-
collapseIcon: p.icons.slots.collapseIcon ??
|
|
906
|
+
expandIcon: p.icons.slots.expandIcon ?? xt,
|
|
907
|
+
collapseIcon: p.icons.slots.collapseIcon ?? Ct
|
|
908
908
|
}), g = p.icons.slotProps;
|
|
909
909
|
let l;
|
|
910
910
|
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 =
|
|
911
|
+
const m = (t == null ? void 0 : t[l]) ?? d[l], c = F({
|
|
912
912
|
elementType: m,
|
|
913
913
|
externalSlotProps: (h) => f({}, be(g[l], h), be(o == null ? void 0 : o[l], h)),
|
|
914
914
|
// TODO: Add proper ownerState
|
|
@@ -916,7 +916,7 @@ function ke(e) {
|
|
|
916
916
|
});
|
|
917
917
|
return m ? /* @__PURE__ */ x(m, f({}, c)) : null;
|
|
918
918
|
}
|
|
919
|
-
process.env.NODE_ENV !== "production" && (
|
|
919
|
+
process.env.NODE_ENV !== "production" && (Le.propTypes = {
|
|
920
920
|
// ----------------------------- Warning --------------------------------
|
|
921
921
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
922
922
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -941,7 +941,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
941
941
|
selected: i.bool.isRequired
|
|
942
942
|
}).isRequired
|
|
943
943
|
});
|
|
944
|
-
const
|
|
944
|
+
const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], Et = ct(), Ne = V("li", {
|
|
945
945
|
name: "MuiTreeItem2",
|
|
946
946
|
slot: "Root",
|
|
947
947
|
overridesResolver: (e, t) => t.root
|
|
@@ -950,7 +950,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
950
950
|
margin: 0,
|
|
951
951
|
padding: 0,
|
|
952
952
|
outline: 0
|
|
953
|
-
}),
|
|
953
|
+
}), Ae = V("div", {
|
|
954
954
|
name: "MuiTreeItem2",
|
|
955
955
|
slot: "Content",
|
|
956
956
|
overridesResolver: (e, t) => t.content,
|
|
@@ -1020,7 +1020,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1020
1020
|
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
1021
|
}
|
|
1022
1022
|
}]
|
|
1023
|
-
})),
|
|
1023
|
+
})), Ve = V("div", {
|
|
1024
1024
|
name: "MuiTreeItem2",
|
|
1025
1025
|
slot: "Label",
|
|
1026
1026
|
overridesResolver: (e, t) => t.label,
|
|
@@ -1044,7 +1044,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1044
1044
|
paddingLeft: "2px"
|
|
1045
1045
|
}
|
|
1046
1046
|
}]
|
|
1047
|
-
})),
|
|
1047
|
+
})), $e = V("div", {
|
|
1048
1048
|
name: "MuiTreeItem2",
|
|
1049
1049
|
slot: "IconContainer",
|
|
1050
1050
|
overridesResolver: (e, t) => t.iconContainer
|
|
@@ -1056,7 +1056,7 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1056
1056
|
"& svg": {
|
|
1057
1057
|
fontSize: 18
|
|
1058
1058
|
}
|
|
1059
|
-
}), ze =
|
|
1059
|
+
}), ze = V(se, {
|
|
1060
1060
|
name: "MuiTreeItem2",
|
|
1061
1061
|
slot: "GroupTransition",
|
|
1062
1062
|
overridesResolver: (e, t) => t.groupTransition,
|
|
@@ -1073,11 +1073,11 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1073
1073
|
paddingLeft: 0
|
|
1074
1074
|
}
|
|
1075
1075
|
}]
|
|
1076
|
-
}),
|
|
1076
|
+
}), Rt = V(/* @__PURE__ */ R.forwardRef((e, t) => {
|
|
1077
1077
|
const {
|
|
1078
1078
|
visible: o
|
|
1079
|
-
} = e, s =
|
|
1080
|
-
return o ? /* @__PURE__ */ x(
|
|
1079
|
+
} = e, s = Pe(e, vt);
|
|
1080
|
+
return o ? /* @__PURE__ */ x(et, f({}, s, {
|
|
1081
1081
|
ref: t
|
|
1082
1082
|
})) : null;
|
|
1083
1083
|
}), {
|
|
@@ -1086,11 +1086,11 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1086
1086
|
overridesResolver: (e, t) => t.checkbox
|
|
1087
1087
|
})({
|
|
1088
1088
|
padding: 0
|
|
1089
|
-
}),
|
|
1089
|
+
}), St = (e) => {
|
|
1090
1090
|
const {
|
|
1091
1091
|
classes: t
|
|
1092
1092
|
} = e;
|
|
1093
|
-
return
|
|
1093
|
+
return Ee({
|
|
1094
1094
|
root: ["root"],
|
|
1095
1095
|
content: ["content"],
|
|
1096
1096
|
expanded: ["expanded"],
|
|
@@ -1105,9 +1105,9 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1105
1105
|
groupTransition: ["groupTransition"],
|
|
1106
1106
|
labelInput: ["labelInput"],
|
|
1107
1107
|
dragAndDropOverlay: ["dragAndDropOverlay"]
|
|
1108
|
-
},
|
|
1109
|
-
},
|
|
1110
|
-
const s =
|
|
1108
|
+
}, yt, t);
|
|
1109
|
+
}, Ot = /* @__PURE__ */ R.forwardRef(function(t, o) {
|
|
1110
|
+
const s = Et({
|
|
1111
1111
|
props: t,
|
|
1112
1112
|
name: "MuiTreeItem2"
|
|
1113
1113
|
}), {
|
|
@@ -1118,24 +1118,24 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1118
1118
|
children: m,
|
|
1119
1119
|
slots: c = {},
|
|
1120
1120
|
slotProps: h = {}
|
|
1121
|
-
} = s, b =
|
|
1121
|
+
} = s, b = Pe(s, Pt), {
|
|
1122
1122
|
getRootProps: C,
|
|
1123
1123
|
getContentProps: r,
|
|
1124
1124
|
getIconContainerProps: y,
|
|
1125
1125
|
getCheckboxProps: S,
|
|
1126
|
-
getLabelProps:
|
|
1127
|
-
getGroupTransitionProps:
|
|
1128
|
-
getLabelInputProps:
|
|
1126
|
+
getLabelProps: O,
|
|
1127
|
+
getGroupTransitionProps: j,
|
|
1128
|
+
getLabelInputProps: U,
|
|
1129
1129
|
getDragAndDropOverlayProps: T,
|
|
1130
1130
|
status: E
|
|
1131
|
-
} =
|
|
1131
|
+
} = ke({
|
|
1132
1132
|
id: p,
|
|
1133
1133
|
itemId: d,
|
|
1134
1134
|
children: m,
|
|
1135
1135
|
label: g,
|
|
1136
1136
|
disabled: l
|
|
1137
|
-
}), P = f({}, s, E), w =
|
|
1138
|
-
elementType:
|
|
1137
|
+
}), P = f({}, s, E), w = St(P), D = c.root ?? Ne, W = F({
|
|
1138
|
+
elementType: D,
|
|
1139
1139
|
getSlotProps: C,
|
|
1140
1140
|
externalForwardedProps: b,
|
|
1141
1141
|
externalSlotProps: h.root,
|
|
@@ -1144,43 +1144,43 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1144
1144
|
},
|
|
1145
1145
|
ownerState: {},
|
|
1146
1146
|
className: w.root
|
|
1147
|
-
}), Y = c.content ??
|
|
1147
|
+
}), Y = c.content ?? Ae, M = F({
|
|
1148
1148
|
elementType: Y,
|
|
1149
1149
|
getSlotProps: r,
|
|
1150
1150
|
externalSlotProps: h.content,
|
|
1151
1151
|
ownerState: {},
|
|
1152
|
-
className:
|
|
1153
|
-
}),
|
|
1154
|
-
elementType:
|
|
1152
|
+
className: ve(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
|
+
}), q = c.iconContainer ?? $e, _ = F({
|
|
1154
|
+
elementType: q,
|
|
1155
1155
|
getSlotProps: y,
|
|
1156
1156
|
externalSlotProps: h.iconContainer,
|
|
1157
1157
|
ownerState: {},
|
|
1158
1158
|
className: w.iconContainer
|
|
1159
|
-
}),
|
|
1160
|
-
elementType:
|
|
1161
|
-
getSlotProps:
|
|
1159
|
+
}), k = c.label ?? Ve, z = F({
|
|
1160
|
+
elementType: k,
|
|
1161
|
+
getSlotProps: O,
|
|
1162
1162
|
externalSlotProps: h.label,
|
|
1163
1163
|
ownerState: {},
|
|
1164
1164
|
className: w.label
|
|
1165
|
-
}),
|
|
1166
|
-
elementType:
|
|
1165
|
+
}), B = c.checkbox ?? Rt, H = F({
|
|
1166
|
+
elementType: B,
|
|
1167
1167
|
getSlotProps: S,
|
|
1168
1168
|
externalSlotProps: h.checkbox,
|
|
1169
1169
|
ownerState: {},
|
|
1170
1170
|
className: w.checkbox
|
|
1171
|
-
}),
|
|
1172
|
-
elementType:
|
|
1173
|
-
getSlotProps:
|
|
1171
|
+
}), A = c.groupTransition ?? void 0, G = F({
|
|
1172
|
+
elementType: A,
|
|
1173
|
+
getSlotProps: j,
|
|
1174
1174
|
externalSlotProps: h.groupTransition,
|
|
1175
1175
|
ownerState: {},
|
|
1176
1176
|
className: w.groupTransition
|
|
1177
|
-
}), J = c.labelInput ??
|
|
1177
|
+
}), J = c.labelInput ?? ht, ee = F({
|
|
1178
1178
|
elementType: J,
|
|
1179
|
-
getSlotProps:
|
|
1179
|
+
getSlotProps: U,
|
|
1180
1180
|
externalSlotProps: h.labelInput,
|
|
1181
1181
|
ownerState: {},
|
|
1182
1182
|
className: w.labelInput
|
|
1183
|
-
}), Q = c.dragAndDropOverlay ??
|
|
1183
|
+
}), Q = c.dragAndDropOverlay ?? De, re = F({
|
|
1184
1184
|
elementType: Q,
|
|
1185
1185
|
getSlotProps: T,
|
|
1186
1186
|
externalSlotProps: h.dragAndDropOverlay,
|
|
@@ -1189,22 +1189,22 @@ const wt = ["visible"], Tt = ["id", "itemId", "label", "disabled", "children", "
|
|
|
1189
1189
|
});
|
|
1190
1190
|
return /* @__PURE__ */ x(pe, {
|
|
1191
1191
|
itemId: d,
|
|
1192
|
-
children: /* @__PURE__ */ ie(
|
|
1193
|
-
children: [/* @__PURE__ */ ie(Y, f({},
|
|
1194
|
-
children: [/* @__PURE__ */ x(
|
|
1195
|
-
children: /* @__PURE__ */ x(
|
|
1192
|
+
children: /* @__PURE__ */ ie(D, f({}, W, {
|
|
1193
|
+
children: [/* @__PURE__ */ ie(Y, f({}, M, {
|
|
1194
|
+
children: [/* @__PURE__ */ x(q, f({}, _, {
|
|
1195
|
+
children: /* @__PURE__ */ x(Le, {
|
|
1196
1196
|
status: E,
|
|
1197
1197
|
slots: c,
|
|
1198
1198
|
slotProps: h
|
|
1199
1199
|
})
|
|
1200
|
-
})), /* @__PURE__ */ x(
|
|
1200
|
+
})), /* @__PURE__ */ x(B, f({}, H)), E.editing ? /* @__PURE__ */ x(J, f({}, ee)) : /* @__PURE__ */ x(k, f({}, z)), /* @__PURE__ */ x(Q, f({}, re))]
|
|
1201
1201
|
})), m && /* @__PURE__ */ x(ze, f({
|
|
1202
|
-
as:
|
|
1203
|
-
},
|
|
1202
|
+
as: A
|
|
1203
|
+
}, G))]
|
|
1204
1204
|
}))
|
|
1205
1205
|
});
|
|
1206
1206
|
});
|
|
1207
|
-
process.env.NODE_ENV !== "production" && (
|
|
1207
|
+
process.env.NODE_ENV !== "production" && (Ot.propTypes = {
|
|
1208
1208
|
// ----------------------------- Warning --------------------------------
|
|
1209
1209
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1210
1210
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1244,7 +1244,7 @@ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
|
1244
1244
|
* This prop isn't supported.
|
|
1245
1245
|
* Use the `onItemFocus` callback on the tree if you need to monitor an item's focus.
|
|
1246
1246
|
*/
|
|
1247
|
-
onFocus:
|
|
1247
|
+
onFocus: tt,
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Callback fired when a key is pressed on the keyboard and the tree is in focus.
|
|
1250
1250
|
*/
|
|
@@ -1260,7 +1260,7 @@ process.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
|
1260
1260
|
*/
|
|
1261
1261
|
slots: i.object
|
|
1262
1262
|
});
|
|
1263
|
-
function
|
|
1263
|
+
function oo(e) {
|
|
1264
1264
|
const {
|
|
1265
1265
|
id: t,
|
|
1266
1266
|
itemId: o,
|
|
@@ -1269,35 +1269,40 @@ function eo(e) {
|
|
|
1269
1269
|
children: d,
|
|
1270
1270
|
itemData: g,
|
|
1271
1271
|
iconColor: l = "primary",
|
|
1272
|
-
|
|
1273
|
-
|
|
1272
|
+
hasNoIcons: m,
|
|
1273
|
+
ref: c
|
|
1274
|
+
} = e, h = Ue(
|
|
1274
1275
|
g == null ? void 0 : g.iconType,
|
|
1275
1276
|
g == null ? void 0 : g.customIcon
|
|
1276
1277
|
), {
|
|
1277
|
-
getRootProps:
|
|
1278
|
-
getContentProps:
|
|
1279
|
-
getLabelProps:
|
|
1280
|
-
getGroupTransitionProps:
|
|
1281
|
-
getIconContainerProps:
|
|
1282
|
-
status:
|
|
1283
|
-
} =
|
|
1278
|
+
getRootProps: b,
|
|
1279
|
+
getContentProps: C,
|
|
1280
|
+
getLabelProps: r,
|
|
1281
|
+
getGroupTransitionProps: y,
|
|
1282
|
+
getIconContainerProps: S,
|
|
1283
|
+
status: O
|
|
1284
|
+
} = ke({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: c }), j = {
|
|
1285
|
+
...O.selected && { fontWeight: 600 },
|
|
1286
|
+
color: "palette-grey-darker"
|
|
1287
|
+
};
|
|
1284
1288
|
return /* @__PURE__ */ x(pe, { itemId: o, children: /* @__PURE__ */ ie(
|
|
1285
|
-
|
|
1289
|
+
Ne,
|
|
1286
1290
|
{
|
|
1287
|
-
...
|
|
1291
|
+
...b(),
|
|
1288
1292
|
"data-treeview-item": o || "",
|
|
1289
1293
|
"data-treeview-item-label": s || "",
|
|
1294
|
+
sx: Fe,
|
|
1290
1295
|
children: [
|
|
1291
|
-
/* @__PURE__ */ ie(
|
|
1292
|
-
/* @__PURE__ */ x(
|
|
1293
|
-
/* @__PURE__ */ x(
|
|
1294
|
-
/* @__PURE__ */ x(
|
|
1296
|
+
/* @__PURE__ */ ie(Ae, { ...C(), style: je, children: [
|
|
1297
|
+
!m && /* @__PURE__ */ x($e, { ...S(), sx: Ie, children: /* @__PURE__ */ x(h, { color: l, sx: Ie }) }),
|
|
1298
|
+
/* @__PURE__ */ x(Ve, { ...r(), sx: j }),
|
|
1299
|
+
/* @__PURE__ */ x(Ke, { sx: qe, children: O.expandable && (O.expanded ? /* @__PURE__ */ x(at, { fontSize: "small" }) : /* @__PURE__ */ x(lt, { fontSize: "small" })) })
|
|
1295
1300
|
] }),
|
|
1296
1301
|
d && /* @__PURE__ */ x(
|
|
1297
1302
|
ze,
|
|
1298
1303
|
{
|
|
1299
|
-
...
|
|
1300
|
-
style:
|
|
1304
|
+
...y(),
|
|
1305
|
+
style: O.expanded ? _e : void 0
|
|
1301
1306
|
}
|
|
1302
1307
|
)
|
|
1303
1308
|
]
|
|
@@ -1306,31 +1311,31 @@ function eo(e) {
|
|
|
1306
1311
|
}
|
|
1307
1312
|
export {
|
|
1308
1313
|
se as C,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1314
|
+
Re as T,
|
|
1315
|
+
Qt as a,
|
|
1316
|
+
pt as b,
|
|
1317
|
+
Jt as c,
|
|
1318
|
+
Se as d,
|
|
1319
|
+
Zt as e,
|
|
1320
|
+
ft as f,
|
|
1321
|
+
ot as g,
|
|
1322
|
+
mt as h,
|
|
1323
|
+
eo as i,
|
|
1324
|
+
Ht as j,
|
|
1325
|
+
Ce as k,
|
|
1326
|
+
gt as l,
|
|
1327
|
+
ut as m,
|
|
1323
1328
|
de as n,
|
|
1324
1329
|
ne as o,
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1330
|
+
ht as p,
|
|
1331
|
+
De as q,
|
|
1332
|
+
ct as r,
|
|
1333
|
+
Ct as s,
|
|
1334
|
+
xt as t,
|
|
1335
|
+
X as u,
|
|
1331
1336
|
pe as v,
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1337
|
+
dt as w,
|
|
1338
|
+
yt as x,
|
|
1339
|
+
to as y,
|
|
1340
|
+
oo as z
|
|
1336
1341
|
};
|