@cgi-learning-hub/ui 1.4.0 → 1.5.0-dev.1743511847
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-BoWYecXr.cjs +1 -0
- package/dist/Alert-D31xXLY_.js +452 -0
- package/dist/Autocomplete-C4BeJqHd.js +1829 -0
- package/dist/Autocomplete-QNC3IpEu.cjs +6 -0
- package/dist/Backdrop-A963bP01.cjs +1 -0
- package/dist/{Backdrop-DdA12b-5.js → Backdrop-Cwv7IqH8.js} +20 -19
- package/dist/{Box-DbRInJ2-.js → Box--MaxIKbn.js} +7 -7
- package/dist/Box-ge7hyt34.cjs +1 -0
- package/dist/Button-BkHaHEAp.cjs +1 -0
- package/dist/{Button-rxIER0bL.js → Button-kOBqHwsO.js} +147 -113
- package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-DIunRlDS.cjs} +1 -1
- package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-DYKChljK.js} +4 -4
- package/dist/{CardContent-u1MKaFvP.js → CardContent-BHHejD6b.js} +3 -3
- package/dist/CardContent-VzvauMnh.cjs +1 -0
- package/dist/Checkbox-CMW4C-5f.cjs +1 -0
- package/dist/{Checkbox-BI77q7eR.js → Checkbox-Vfd8tExZ.js} +23 -22
- package/dist/{Chip-6-zATjcr.js → Chip-CVtoGCpW.js} +50 -49
- package/dist/Chip-DnYryF72.cjs +1 -0
- package/dist/CircularProgress-4dhoIFaN.cjs +28 -0
- package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CAuw8noH.js} +14 -13
- package/dist/Close-D88q8bP4.js +9 -0
- package/dist/Close-gPyOHzhk.cjs +1 -0
- package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-D4Rf4Yq-.cjs} +1 -1
- package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-DXBTbQ8P.js} +1 -1
- package/dist/CustomTreeItem-DhiQBmjt.js +1341 -0
- package/dist/CustomTreeItem-DvuxaLU3.cjs +4 -0
- package/dist/DatePicker-BoM1keBS.cjs +14 -0
- package/dist/{DatePicker-BTTLIBm9.js → DatePicker-Cy18dRtr.js} +3032 -3133
- package/dist/DefaultPropsProvider-DhsUT47i.cjs +1 -0
- package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-ZFZfNXyN.js} +24 -24
- package/dist/Delete-abpyrxF4.cjs +1 -0
- package/dist/Delete-p7eKZ0Bk.js +8 -0
- package/dist/{Dialog-CgBiKk8B.js → Dialog-BdWhnP_F.js} +17 -16
- package/dist/Dialog-LbgQSeqb.cjs +1 -0
- package/dist/{DialogContent-SYCCu1VD.js → DialogContent-CazuB6uB.js} +3 -3
- package/dist/DialogContent-DBuTlPHe.cjs +1 -0
- package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-B98lWCsF.js} +5 -5
- package/dist/DialogTitle-DTwr1uD3.cjs +1 -0
- package/dist/{Divider-Doy31VS6.js → Divider-Bw612Jal.js} +8 -8
- package/dist/Divider-D3QqAaaL.cjs +1 -0
- package/dist/Folder-DbtkTNEB.js +8 -0
- package/dist/Folder-NcfJgwuN.cjs +1 -0
- package/dist/FormLabel-C_MIE5B5.cjs +2 -0
- package/dist/{FormLabel-DjkS3S9h.js → FormLabel-Sb7RO6Cr.js} +68 -76
- package/dist/Grow-B05P--4W.cjs +1 -0
- package/dist/{Grow-DPD-iBAX.js → Grow-CYTfRVAz.js} +14 -13
- package/dist/{IconButton-B4bt0Hp2.js → IconButton-BfOmPY_b.js} +27 -26
- package/dist/IconButton-Czd8uNt8.cjs +2 -0
- package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-Bq0xmUe9.js} +9 -8
- package/dist/InputAdornment-OOctzn5p.cjs +1 -0
- package/dist/InputBase-B7ajOn6r.cjs +3 -0
- package/dist/{InputBase-CF5oNEfh.js → InputBase-BemCmQtU.js} +41 -40
- package/dist/{Link-CnahHTmK.js → Link-Dlyo6tWB.js} +11 -10
- package/dist/Link-Dq7AP0Tt.cjs +1 -0
- package/dist/List-CBdWJkIa.cjs +1 -0
- package/dist/List-CV_4VCwT.js +130 -0
- package/dist/ListItem--Hj6zz4n.js +423 -0
- package/dist/ListItem-B2M8rFxh.cjs +1 -0
- package/dist/ListItemText-BeWOS4WA.js +928 -0
- package/dist/ListItemText-Yjh9Zoqh.cjs +1 -0
- package/dist/{Menu-DzBX10ev.js → Menu-BCmTJEi8.js} +302 -424
- package/dist/Menu-BHYjNOvv.cjs +7 -0
- package/dist/MenuItem-CpMKEsli.cjs +1 -0
- package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-CyARn9vd.js} +72 -77
- package/dist/{Modal-B8JRJWm0.js → Modal-4sDxsZsm.js} +8 -8
- package/dist/{Modal-D8lS9C1l.cjs → Modal-BvhfWPvw.cjs} +2 -2
- package/dist/MoreVert-RHtym60m.cjs +1 -0
- package/dist/MoreVert-WFvQcAf-.js +8 -0
- package/dist/Paper-CRHSfFG5.cjs +2 -0
- package/dist/{Paper-CbgkVQVx.js → Paper-D9hEGUDL.js} +4 -4
- package/dist/Popper-9z2UJQ7R.cjs +4 -0
- package/dist/{Popper-1-DDNRPD.js → Popper-BxJaaK-J.js} +31 -30
- package/dist/Portal-BkkZn65J.cjs +1 -0
- package/dist/{Portal-T-1Qk77D.js → Portal-jqIJ9-dR.js} +2 -2
- package/dist/Radio-Cj3mKEAT.cjs +1 -0
- package/dist/{Radio-BxMxeQa-.js → Radio-Dm7GnmRB.js} +9 -8
- package/dist/RadioGroup-D-aGM7xY.cjs +1 -0
- package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-b8jmEUAw.js} +3 -3
- package/dist/Select--p-t3vFP.cjs +3 -0
- package/dist/{Select-B6mYfJPA.js → Select-B9udggeF.js} +49 -48
- package/dist/{Stack-aCUdCw1A.js → Stack-Ba2nYyYI.js} +104 -59
- package/dist/Stack-DVHYuvhX.cjs +1 -0
- package/dist/Switch--DHfiMMI.cjs +1 -0
- package/dist/{Switch-BOpqo-TS.js → Switch-D9wihGbW.js} +11 -10
- package/dist/SwitchBase-D6Hcty5-.cjs +1 -0
- package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-hLPPZJfx.js} +21 -20
- package/dist/Tab-CoQ2exTs.cjs +4 -0
- package/dist/Tab-qZjEW6Cy.js +1394 -0
- package/dist/TextField-1N_cJeHB.cjs +1 -0
- package/dist/{TextField-CAmc1Qpg.js → TextField-B6qm5aBz.js} +18 -17
- package/dist/ToggleButtonGroup-Bz445DUg.cjs +137 -0
- package/dist/ToggleButtonGroup-DB7FU2Sy.js +7716 -0
- package/dist/{Tooltip-BvVFPsVR.js → Tooltip-UBiscQPm.js} +30 -29
- package/dist/Tooltip-arPEgWU6.cjs +4 -0
- package/dist/{Typography-CE8fQQ8B.js → Typography-BJPk_mTw.js} +13 -12
- package/dist/Typography-Daq_a9_t.cjs +1 -0
- package/dist/capitalize-CzyXIc5e.cjs +1 -0
- package/dist/capitalize-R3VbHRUv.js +9 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/Alert.es.js +5 -20
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +2 -2
- 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 +2 -3
- 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.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +33 -30
- package/dist/components/Dropzone/types.cjs.js +1 -0
- package/dist/components/Dropzone/types.d.ts +8 -0
- package/dist/components/Dropzone/types.es.js +1 -0
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +10 -2
- package/dist/components/EmptyState/EmptyState.es.js +26 -26
- 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 +14 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -0
- package/dist/components/FolderCard/FolderCard.d.ts +11 -0
- package/dist/components/FolderCard/FolderCard.es.js +79 -0
- package/dist/components/FolderCard/index.cjs.js +1 -0
- package/dist/components/FolderCard/index.d.ts +2 -0
- package/dist/components/FolderCard/index.es.js +4 -0
- package/dist/components/FolderCard/styles.cjs.js +1 -0
- package/dist/components/FolderCard/styles.d.ts +20 -0
- package/dist/components/FolderCard/styles.es.js +23 -0
- package/dist/components/FolderCard/types.cjs.js +1 -0
- package/dist/components/FolderCard/types.d.ts +3 -0
- package/dist/components/FolderCard/types.es.js +14 -0
- 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 +54 -51
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +8 -9
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +4 -5
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInput.es.js +28 -37
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +23 -20
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +21 -23
- 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 -0
- package/dist/components/TreeView/TreeView.d.ts +4 -0
- package/dist/components/TreeView/TreeView.es.js +1892 -0
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -0
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +6 -0
- package/dist/components/TreeView/components/CustomTreeItem.es.js +8 -0
- package/dist/components/TreeView/index.cjs.js +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.es.js +6 -0
- package/dist/components/TreeView/style.cjs.js +1 -0
- package/dist/components/TreeView/style.es.js +35 -0
- package/dist/components/TreeView/types.cjs.js +1 -0
- package/dist/components/TreeView/types.d.ts +43 -0
- package/dist/components/TreeView/types.es.js +4 -0
- package/dist/components/TreeView/utils.cjs.js +1 -0
- package/dist/components/TreeView/utils.d.ts +6 -0
- package/dist/components/TreeView/utils.es.js +50 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +12 -1
- package/dist/components/index.es.js +368 -344
- 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 +3 -0
- package/dist/components/stories/Autocomplete.stories.d.ts +6 -0
- package/dist/components/stories/Autocomplete.stories.es.js +62 -0
- 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/EmptyState.stories.cjs.js +1 -1
- package/dist/components/stories/EmptyState.stories.es.js +23 -7
- package/dist/components/stories/FolderCard.stories.cjs.js +1 -0
- package/dist/components/stories/FolderCard.stories.d.ts +7 -0
- package/dist/components/stories/FolderCard.stories.es.js +71 -0
- 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 +21 -184
- 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 +69 -0
- package/dist/components/stories/TreeView.stories.d.ts +14 -0
- package/dist/components/stories/TreeView.stories.es.js +857 -0
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DjTQ6UHI.cjs +1 -0
- package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-Dk3n_NBz.js} +19 -18
- package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-BbwdfVtE.js} +1 -1
- package/dist/dividerClasses-sb3FZiiC.cjs +1 -0
- package/dist/elementTypeAcceptingRef-CFAbKDTa.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-Cqa8qLE7.js} +1 -1
- package/dist/extendSxProp-DG37PMfH.cjs +1 -0
- package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-u_I5DXAE.js} +1 -1
- package/dist/generateUtilityClasses-B90hrzv4.cjs +75 -0
- package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-SJ1QPUag.js} +867 -835
- package/dist/getReactElementRef-Blb86d4n.cjs +1 -0
- package/dist/getReactElementRef-DMv8jOEv.js +31 -0
- package/dist/{index-BGS2uu2L.js → index-8ZjeXGh4.js} +1 -1
- package/dist/index-C4sHlmg5.cjs +1 -0
- package/dist/index-D5we-BQd.cjs +1 -0
- package/dist/{index-ClXCinr6.js → index-DBDGMwpZ.js} +4 -4
- package/dist/index-DzunNw1H.cjs +5 -0
- package/dist/index-uoOKg_7A.js +22 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +368 -344
- package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/listItemTextClasses-Bh3BazNw.cjs +1 -0
- package/dist/listItemTextClasses-v8jRy934.js +9 -0
- package/dist/{memoTheme-DyiN-Awd.js → memoTheme-C9GnPENe.js} +1 -1
- package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-D8ch-Aus.cjs} +1 -1
- package/dist/refType-B7SJEv5t.cjs +1 -0
- package/dist/{refType-B86yTZra.js → refType-D-xpF9tL.js} +1 -1
- package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-BFteOhbz.js} +1 -1
- package/dist/resolveComponentProps-ZXhc99MU.cjs +1 -0
- package/dist/{useSlot-CZNcsPv1.js → useSlot-C73TTXlD.js} +1 -1
- package/dist/{useSlot-CyXLaLc2.cjs → useSlot-bB9P8y2N.cjs} +1 -1
- package/dist/useSlotProps-CuY7blPC.cjs +1 -0
- package/dist/useSlotProps-Cz_jXqU-.js +25 -0
- package/dist/useTheme-BI9bHTEJ.cjs +1 -0
- package/dist/{useTheme-DxxkErdZ.js → useTheme-C0OFZcd4.js} +1 -1
- package/dist/useTheme-C9d_IgK4.cjs +1 -0
- package/dist/useTheme-EvTdEPuY.js +11 -0
- package/dist/useThemeProps-DUEuJR3m.cjs +1 -0
- package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-ch-ZdCsr.js} +2 -2
- package/dist/useThemeProps-jdOTP9Fb.js +17 -0
- package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-qlNnBrri.cjs} +1 -1
- package/dist/utils-BODEd0eo.cjs +1 -0
- package/dist/{utils-SrEVp7Pm.js → utils-_bodXh-n.js} +76 -104
- package/package.json +2 -1
- package/dist/Backdrop-COarwgJj.cjs +0 -1
- package/dist/Box-C0mEbUoK.cjs +0 -1
- package/dist/Button-1tZRtOeG.cjs +0 -1
- package/dist/CardContent-BXjX98Jd.cjs +0 -1
- package/dist/Checkbox-C6CIGK27.cjs +0 -1
- package/dist/Chip-CAPnyZyW.cjs +0 -1
- package/dist/CircularProgress-DTVP6gln.cjs +0 -28
- package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
- package/dist/Dialog-Cmv58WoN.cjs +0 -1
- package/dist/DialogContent-CGEdCDYk.cjs +0 -1
- package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
- package/dist/Divider-D_LVNUqS.cjs +0 -1
- package/dist/FormLabel-D0gSgwnj.cjs +0 -2
- package/dist/Grow-D7scX77o.cjs +0 -1
- package/dist/IconButton-Edo5JMfQ.cjs +0 -2
- package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
- package/dist/InputBase-CgOQ0M4_.cjs +0 -3
- package/dist/Link-CAbb9OCV.cjs +0 -1
- package/dist/Menu-C-R0FVOB.cjs +0 -7
- package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
- package/dist/Paper-C-oPGpbI.cjs +0 -2
- package/dist/Popper-uw9PkkLY.cjs +0 -4
- package/dist/Portal-bIKnnWR4.cjs +0 -1
- package/dist/Radio-CvCkmq8g.cjs +0 -1
- package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
- package/dist/Select-KMdcuol6.cjs +0 -3
- package/dist/Stack-C6v70ALA.cjs +0 -1
- package/dist/Switch-DF4bSjED.cjs +0 -1
- package/dist/SwitchBase-7zONZyYP.cjs +0 -1
- package/dist/Tabs-CrWcC5nJ.js +0 -1225
- package/dist/Tabs-Dploq_37.cjs +0 -4
- package/dist/TextField-BC7GvvHh.cjs +0 -1
- package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
- package/dist/ToggleButtonGroup-ekxVeQCc.js +0 -10461
- package/dist/Tooltip-CWA-GKdK.cjs +0 -4
- package/dist/Typography-DEAE8-8u.cjs +0 -1
- package/dist/components/TextInput/TextInput.cjs.js +0 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -4
- package/dist/components/TextInput/TextInput.es.js +0 -6
- package/dist/components/TextInput/index.cjs.js +0 -1
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/index.es.js +0 -4
- package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
- package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
- package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
- package/dist/fr-B3qrCNcK.js +0 -312
- package/dist/fr-JE-1WKP6.cjs +0 -1
- package/dist/identifier-5n4d7br9.cjs +0 -75
- package/dist/index-5BAFzrXD.cjs +0 -1
- package/dist/index-CFm-oAsb.cjs +0 -1
- package/dist/index-CJW5gB6d.cjs +0 -5
- package/dist/index-DwHI-aa0.js +0 -45
- package/dist/refType-CjW6JOBA.cjs +0 -1
- package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
- package/dist/useTheme-Bi8B4Op1.cjs +0 -1
- package/dist/useTheme-C_2IF7CS.cjs +0 -1
- package/dist/useTheme-Clhsq4HW.js +0 -11
- package/dist/useThemeProps-C6qniHmV.js +0 -17
- package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
- package/dist/utils-D4if93Yl.cjs +0 -1
- /package/dist/assets/{styles.css → Loader.css} +0 -0
- /package/dist/assets/{styles2.css → LoaderBackdrop.css} +0 -0
|
@@ -0,0 +1,1341 @@
|
|
|
1
|
+
import { jsx as x, jsxs as ie } from "react/jsx-runtime";
|
|
2
|
+
import { c as ae } from "./createSvgIcon-Dk3n_NBz.js";
|
|
3
|
+
import { B as Ke } from "./Box--MaxIKbn.js";
|
|
4
|
+
import { _ as f } from "./ButtonBase-DYKChljK.js";
|
|
5
|
+
import * as R from "react";
|
|
6
|
+
import { u as ce } from "./useForkRef-C_4o__cU.js";
|
|
7
|
+
import { e as K, r as be } from "./resolveComponentProps-BFteOhbz.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-SJ1QPUag.js";
|
|
11
|
+
import { a as Pe } from "./TransitionGroupContext-DbLioz_6.js";
|
|
12
|
+
import { u as Ge } from "./useThemeProps-jdOTP9Fb.js";
|
|
13
|
+
import { u as Xe, s as V, c as Ee, f as le } from "./DefaultPropsProvider-ZFZfNXyN.js";
|
|
14
|
+
import { u as Ye } from "./useTheme-EvTdEPuY.js";
|
|
15
|
+
import { m as Je } from "./memoTheme-C9GnPENe.js";
|
|
16
|
+
import { T as Qe, g as he } from "./utils-_bodXh-n.js";
|
|
17
|
+
import { u as Ze } from "./useTimeout-CrCYVizI.js";
|
|
18
|
+
import { e as He } from "./elementTypeAcceptingRef-Cqa8qLE7.js";
|
|
19
|
+
import { C as et } from "./Checkbox-Vfd8tExZ.js";
|
|
20
|
+
import { u as tt } from "./unsupportedProp-BuVD30Gh.js";
|
|
21
|
+
import { u as F } from "./useSlotProps-Cz_jXqU-.js";
|
|
22
|
+
function ot(e) {
|
|
23
|
+
return Te("MuiCollapse", e);
|
|
24
|
+
}
|
|
25
|
+
const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), nt = (e) => {
|
|
26
|
+
const {
|
|
27
|
+
orientation: t,
|
|
28
|
+
classes: o
|
|
29
|
+
} = e, s = {
|
|
30
|
+
root: ["root", `${t}`],
|
|
31
|
+
entered: ["entered"],
|
|
32
|
+
hidden: ["hidden"],
|
|
33
|
+
wrapper: ["wrapper", `${t}`],
|
|
34
|
+
wrapperInner: ["wrapperInner", `${t}`]
|
|
35
|
+
};
|
|
36
|
+
return Ee(s, ot, o);
|
|
37
|
+
}, rt = V("div", {
|
|
38
|
+
name: "MuiCollapse",
|
|
39
|
+
slot: "Root",
|
|
40
|
+
overridesResolver: (e, t) => {
|
|
41
|
+
const {
|
|
42
|
+
ownerState: o
|
|
43
|
+
} = e;
|
|
44
|
+
return [t.root, t[o.orientation], o.state === "entered" && t.entered, o.state === "exited" && !o.in && o.collapsedSize === "0px" && t.hidden];
|
|
45
|
+
}
|
|
46
|
+
})(Je(({
|
|
47
|
+
theme: e
|
|
48
|
+
}) => ({
|
|
49
|
+
height: 0,
|
|
50
|
+
overflow: "hidden",
|
|
51
|
+
transition: e.transitions.create("height"),
|
|
52
|
+
variants: [{
|
|
53
|
+
props: {
|
|
54
|
+
orientation: "horizontal"
|
|
55
|
+
},
|
|
56
|
+
style: {
|
|
57
|
+
height: "auto",
|
|
58
|
+
width: 0,
|
|
59
|
+
transition: e.transitions.create("width")
|
|
60
|
+
}
|
|
61
|
+
}, {
|
|
62
|
+
props: {
|
|
63
|
+
state: "entered"
|
|
64
|
+
},
|
|
65
|
+
style: {
|
|
66
|
+
height: "auto",
|
|
67
|
+
overflow: "visible"
|
|
68
|
+
}
|
|
69
|
+
}, {
|
|
70
|
+
props: {
|
|
71
|
+
state: "entered",
|
|
72
|
+
orientation: "horizontal"
|
|
73
|
+
},
|
|
74
|
+
style: {
|
|
75
|
+
width: "auto"
|
|
76
|
+
}
|
|
77
|
+
}, {
|
|
78
|
+
props: ({
|
|
79
|
+
ownerState: t
|
|
80
|
+
}) => t.state === "exited" && !t.in && t.collapsedSize === "0px",
|
|
81
|
+
style: {
|
|
82
|
+
visibility: "hidden"
|
|
83
|
+
}
|
|
84
|
+
}]
|
|
85
|
+
}))), it = V("div", {
|
|
86
|
+
name: "MuiCollapse",
|
|
87
|
+
slot: "Wrapper",
|
|
88
|
+
overridesResolver: (e, t) => t.wrapper
|
|
89
|
+
})({
|
|
90
|
+
// Hack to get children with a negative margin to not falsify the height computation.
|
|
91
|
+
display: "flex",
|
|
92
|
+
width: "100%",
|
|
93
|
+
variants: [{
|
|
94
|
+
props: {
|
|
95
|
+
orientation: "horizontal"
|
|
96
|
+
},
|
|
97
|
+
style: {
|
|
98
|
+
width: "auto",
|
|
99
|
+
height: "100%"
|
|
100
|
+
}
|
|
101
|
+
}]
|
|
102
|
+
}), st = V("div", {
|
|
103
|
+
name: "MuiCollapse",
|
|
104
|
+
slot: "WrapperInner",
|
|
105
|
+
overridesResolver: (e, t) => t.wrapperInner
|
|
106
|
+
})({
|
|
107
|
+
width: "100%",
|
|
108
|
+
variants: [{
|
|
109
|
+
props: {
|
|
110
|
+
orientation: "horizontal"
|
|
111
|
+
},
|
|
112
|
+
style: {
|
|
113
|
+
width: "auto",
|
|
114
|
+
height: "100%"
|
|
115
|
+
}
|
|
116
|
+
}]
|
|
117
|
+
}), se = /* @__PURE__ */ R.forwardRef(function(t, o) {
|
|
118
|
+
const s = Xe({
|
|
119
|
+
props: t,
|
|
120
|
+
name: "MuiCollapse"
|
|
121
|
+
}), {
|
|
122
|
+
addEndListener: p,
|
|
123
|
+
children: d,
|
|
124
|
+
className: g,
|
|
125
|
+
collapsedSize: l = "0px",
|
|
126
|
+
component: m,
|
|
127
|
+
easing: c,
|
|
128
|
+
in: h,
|
|
129
|
+
onEnter: b,
|
|
130
|
+
onEntered: C,
|
|
131
|
+
onEntering: r,
|
|
132
|
+
onExit: y,
|
|
133
|
+
onExited: S,
|
|
134
|
+
onExiting: O,
|
|
135
|
+
orientation: j = "vertical",
|
|
136
|
+
style: U,
|
|
137
|
+
timeout: T = We.standard,
|
|
138
|
+
// eslint-disable-next-line react/prop-types
|
|
139
|
+
TransitionComponent: E = Qe,
|
|
140
|
+
...P
|
|
141
|
+
} = s, w = {
|
|
142
|
+
...s,
|
|
143
|
+
orientation: j,
|
|
144
|
+
collapsedSize: l
|
|
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
|
+
if (I) {
|
|
147
|
+
const N = B.current;
|
|
148
|
+
L === void 0 ? I(N) : I(N, L);
|
|
149
|
+
}
|
|
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
|
+
const {
|
|
156
|
+
duration: Z,
|
|
157
|
+
easing: a
|
|
158
|
+
} = he({
|
|
159
|
+
style: U,
|
|
160
|
+
timeout: T,
|
|
161
|
+
easing: c
|
|
162
|
+
}, {
|
|
163
|
+
mode: "enter"
|
|
164
|
+
});
|
|
165
|
+
if (T === "auto") {
|
|
166
|
+
const n = W.transitions.getAutoHeightDuration(N);
|
|
167
|
+
I.style.transitionDuration = `${n}ms`, q.current = n;
|
|
168
|
+
} else
|
|
169
|
+
I.style.transitionDuration = typeof Z == "string" ? Z : `${Z}ms`;
|
|
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
|
+
easing: Z
|
|
179
|
+
} = he({
|
|
180
|
+
style: U,
|
|
181
|
+
timeout: T,
|
|
182
|
+
easing: c
|
|
183
|
+
}, {
|
|
184
|
+
mode: "exit"
|
|
185
|
+
});
|
|
186
|
+
if (T === "auto") {
|
|
187
|
+
const a = W.transitions.getAutoHeightDuration(L);
|
|
188
|
+
I.style.transitionDuration = `${a}ms`, q.current = a;
|
|
189
|
+
} else
|
|
190
|
+
I.style.transitionDuration = typeof N == "string" ? N : `${N}ms`;
|
|
191
|
+
I.style[z] = _, I.style.transitionTimingFunction = Z, O && O(I);
|
|
192
|
+
});
|
|
193
|
+
return /* @__PURE__ */ x(E, {
|
|
194
|
+
in: h,
|
|
195
|
+
onEnter: J,
|
|
196
|
+
onEntered: Q,
|
|
197
|
+
onEntering: ee,
|
|
198
|
+
onExit: re,
|
|
199
|
+
onExited: ue,
|
|
200
|
+
onExiting: ge,
|
|
201
|
+
addEndListener: (I) => {
|
|
202
|
+
T === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
|
|
203
|
+
},
|
|
204
|
+
nodeRef: B,
|
|
205
|
+
timeout: T === "auto" ? null : T,
|
|
206
|
+
...P,
|
|
207
|
+
children: (I, {
|
|
208
|
+
ownerState: L,
|
|
209
|
+
...N
|
|
210
|
+
}) => /* @__PURE__ */ x(rt, {
|
|
211
|
+
as: m,
|
|
212
|
+
className: ve(D.root, g, {
|
|
213
|
+
entered: D.entered,
|
|
214
|
+
exited: !h && _ === "0px" && D.hidden
|
|
215
|
+
}[I]),
|
|
216
|
+
style: {
|
|
217
|
+
[k ? "minWidth" : "minHeight"]: _,
|
|
218
|
+
...U
|
|
219
|
+
},
|
|
220
|
+
ref: H,
|
|
221
|
+
ownerState: {
|
|
222
|
+
...w,
|
|
223
|
+
state: I
|
|
224
|
+
},
|
|
225
|
+
...N,
|
|
226
|
+
children: /* @__PURE__ */ x(it, {
|
|
227
|
+
ownerState: {
|
|
228
|
+
...w,
|
|
229
|
+
state: I
|
|
230
|
+
},
|
|
231
|
+
className: D.wrapper,
|
|
232
|
+
ref: M,
|
|
233
|
+
children: /* @__PURE__ */ x(st, {
|
|
234
|
+
ownerState: {
|
|
235
|
+
...w,
|
|
236
|
+
state: I
|
|
237
|
+
},
|
|
238
|
+
className: D.wrapperInner,
|
|
239
|
+
children: d
|
|
240
|
+
})
|
|
241
|
+
})
|
|
242
|
+
})
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
246
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
247
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
248
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
249
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
250
|
+
/**
|
|
251
|
+
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
252
|
+
* node and a done callback. Allows for more fine grained transition end
|
|
253
|
+
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
254
|
+
*/
|
|
255
|
+
addEndListener: i.func,
|
|
256
|
+
/**
|
|
257
|
+
* The content node to be collapsed.
|
|
258
|
+
*/
|
|
259
|
+
children: i.node,
|
|
260
|
+
/**
|
|
261
|
+
* Override or extend the styles applied to the component.
|
|
262
|
+
*/
|
|
263
|
+
classes: i.object,
|
|
264
|
+
/**
|
|
265
|
+
* @ignore
|
|
266
|
+
*/
|
|
267
|
+
className: i.string,
|
|
268
|
+
/**
|
|
269
|
+
* The width (horizontal) or height (vertical) of the container when collapsed.
|
|
270
|
+
* @default '0px'
|
|
271
|
+
*/
|
|
272
|
+
collapsedSize: i.oneOfType([i.number, i.string]),
|
|
273
|
+
/**
|
|
274
|
+
* The component used for the root node.
|
|
275
|
+
* Either a string to use a HTML element or a component.
|
|
276
|
+
*/
|
|
277
|
+
component: He,
|
|
278
|
+
/**
|
|
279
|
+
* The transition timing function.
|
|
280
|
+
* You may specify a single easing or a object containing enter and exit values.
|
|
281
|
+
*/
|
|
282
|
+
easing: i.oneOfType([i.shape({
|
|
283
|
+
enter: i.string,
|
|
284
|
+
exit: i.string
|
|
285
|
+
}), i.string]),
|
|
286
|
+
/**
|
|
287
|
+
* If `true`, the component will transition in.
|
|
288
|
+
*/
|
|
289
|
+
in: i.bool,
|
|
290
|
+
/**
|
|
291
|
+
* @ignore
|
|
292
|
+
*/
|
|
293
|
+
onEnter: i.func,
|
|
294
|
+
/**
|
|
295
|
+
* @ignore
|
|
296
|
+
*/
|
|
297
|
+
onEntered: i.func,
|
|
298
|
+
/**
|
|
299
|
+
* @ignore
|
|
300
|
+
*/
|
|
301
|
+
onEntering: i.func,
|
|
302
|
+
/**
|
|
303
|
+
* @ignore
|
|
304
|
+
*/
|
|
305
|
+
onExit: i.func,
|
|
306
|
+
/**
|
|
307
|
+
* @ignore
|
|
308
|
+
*/
|
|
309
|
+
onExited: i.func,
|
|
310
|
+
/**
|
|
311
|
+
* @ignore
|
|
312
|
+
*/
|
|
313
|
+
onExiting: i.func,
|
|
314
|
+
/**
|
|
315
|
+
* The transition orientation.
|
|
316
|
+
* @default 'vertical'
|
|
317
|
+
*/
|
|
318
|
+
orientation: i.oneOf(["horizontal", "vertical"]),
|
|
319
|
+
/**
|
|
320
|
+
* @ignore
|
|
321
|
+
*/
|
|
322
|
+
style: i.object,
|
|
323
|
+
/**
|
|
324
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
325
|
+
*/
|
|
326
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
|
327
|
+
/**
|
|
328
|
+
* The duration for the transition, in milliseconds.
|
|
329
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
330
|
+
*
|
|
331
|
+
* Set to 'auto' to automatically calculate transition time based on height.
|
|
332
|
+
* @default duration.standard
|
|
333
|
+
*/
|
|
334
|
+
timeout: i.oneOfType([i.oneOf(["auto"]), i.number, i.shape({
|
|
335
|
+
appear: i.number,
|
|
336
|
+
enter: i.number,
|
|
337
|
+
exit: i.number
|
|
338
|
+
})])
|
|
339
|
+
});
|
|
340
|
+
se && (se.muiSupportAuto = !0);
|
|
341
|
+
const at = ae(/* @__PURE__ */ x("path", {
|
|
342
|
+
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
343
|
+
}), "KeyboardArrowDown"), lt = ae(/* @__PURE__ */ x("path", {
|
|
344
|
+
d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
|
|
345
|
+
}), "KeyboardArrowRight"), ye = /* @__PURE__ */ new Set();
|
|
346
|
+
function dt(e, t = "warning") {
|
|
347
|
+
if (process.env.NODE_ENV === "production")
|
|
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));
|
|
352
|
+
}
|
|
353
|
+
function ct(e) {
|
|
354
|
+
return Ge;
|
|
355
|
+
}
|
|
356
|
+
let xe = 0;
|
|
357
|
+
const Qt = () => (xe += 1, `mui-tree-view-${xe}`), pt = ({
|
|
358
|
+
id: e,
|
|
359
|
+
treeId: t = "",
|
|
360
|
+
itemId: o
|
|
361
|
+
}) => e ?? `${t}-${o}`, Re = /* @__PURE__ */ R.createContext(null);
|
|
362
|
+
process.env.NODE_ENV !== "production" && (Re.displayName = "TreeViewContext");
|
|
363
|
+
const ne = () => {
|
|
364
|
+
const e = R.useContext(Re);
|
|
365
|
+
if (e == null)
|
|
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
|
+
`));
|
|
368
|
+
return e;
|
|
369
|
+
}, Se = /* @__PURE__ */ R.createContext(() => -1);
|
|
370
|
+
process.env.NODE_ENV !== "production" && (Se.displayName = "TreeViewItemDepthContext");
|
|
371
|
+
const Oe = (e, t) => {
|
|
372
|
+
let o = t.length - 1;
|
|
373
|
+
for (; o >= 0 && !e.isItemNavigable(t[o]); )
|
|
374
|
+
o -= 1;
|
|
375
|
+
if (o !== -1)
|
|
376
|
+
return t[o];
|
|
377
|
+
}, ut = (e, t) => {
|
|
378
|
+
const o = e.getItemMeta(t), s = e.getItemOrderedChildrenIds(o.parentId), p = e.getItemIndex(t);
|
|
379
|
+
if (p === 0)
|
|
380
|
+
return o.parentId;
|
|
381
|
+
let d = p - 1;
|
|
382
|
+
for (; !e.isItemNavigable(s[d]) && d >= 0; )
|
|
383
|
+
d -= 1;
|
|
384
|
+
if (d === -1)
|
|
385
|
+
return o.parentId == null ? null : ut(e, o.parentId);
|
|
386
|
+
let g = s[d], l = Oe(e, e.getItemOrderedChildrenIds(g));
|
|
387
|
+
for (; e.isItemExpanded(g) && l != null; )
|
|
388
|
+
g = l, l = e.getItemOrderedChildrenIds(g).find(e.isItemNavigable);
|
|
389
|
+
return g;
|
|
390
|
+
}, gt = (e, t) => {
|
|
391
|
+
if (e.isItemExpanded(t)) {
|
|
392
|
+
const s = e.getItemOrderedChildrenIds(t).find(e.isItemNavigable);
|
|
393
|
+
if (s != null)
|
|
394
|
+
return s;
|
|
395
|
+
}
|
|
396
|
+
let o = e.getItemMeta(t);
|
|
397
|
+
for (; o != null; ) {
|
|
398
|
+
const s = e.getItemOrderedChildrenIds(o.parentId), p = e.getItemIndex(o.id);
|
|
399
|
+
if (p < s.length - 1) {
|
|
400
|
+
let d = p + 1;
|
|
401
|
+
for (; !e.isItemNavigable(s[d]) && d < s.length - 1; )
|
|
402
|
+
d += 1;
|
|
403
|
+
if (e.isItemNavigable(s[d]))
|
|
404
|
+
return s[d];
|
|
405
|
+
}
|
|
406
|
+
o = e.getItemMeta(o.parentId);
|
|
407
|
+
}
|
|
408
|
+
return null;
|
|
409
|
+
}, Zt = (e) => {
|
|
410
|
+
let t = null;
|
|
411
|
+
for (; t == null || e.isItemExpanded(t); ) {
|
|
412
|
+
const o = e.getItemOrderedChildrenIds(t), s = Oe(e, o);
|
|
413
|
+
if (s == null)
|
|
414
|
+
return t;
|
|
415
|
+
t = s;
|
|
416
|
+
}
|
|
417
|
+
return t;
|
|
418
|
+
}, ft = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), mt = (e, t, o) => {
|
|
419
|
+
if (t === o)
|
|
420
|
+
return [t, o];
|
|
421
|
+
const s = e.getItemMeta(t), p = e.getItemMeta(o);
|
|
422
|
+
if (s.parentId === p.id || p.parentId === s.id)
|
|
423
|
+
return p.parentId === s.id ? [s.id, p.id] : [p.id, s.id];
|
|
424
|
+
const d = [s.id], g = [p.id];
|
|
425
|
+
let l = s.parentId, m = p.parentId, c = g.indexOf(l) !== -1, h = d.indexOf(m) !== -1, b = !0, C = !0;
|
|
426
|
+
for (; !h && !c; )
|
|
427
|
+
b && (d.push(l), c = g.indexOf(l) !== -1, b = l !== null, !c && b && (l = e.getItemMeta(l).parentId)), C && !c && (g.push(m), h = d.indexOf(m) !== -1, C = m !== null, !h && C && (m = e.getItemMeta(m).parentId));
|
|
428
|
+
const r = c ? l : m, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], O = g[g.indexOf(r) - 1];
|
|
429
|
+
return y.indexOf(S) < y.indexOf(O) ? [t, o] : [o, t];
|
|
430
|
+
}, Ht = (e, t, o) => {
|
|
431
|
+
const s = (m) => {
|
|
432
|
+
if (e.isItemExpandable(m) && e.isItemExpanded(m))
|
|
433
|
+
return e.getItemOrderedChildrenIds(m)[0];
|
|
434
|
+
let c = e.getItemMeta(m);
|
|
435
|
+
for (; c != null; ) {
|
|
436
|
+
const h = e.getItemOrderedChildrenIds(c.parentId), b = e.getItemIndex(c.id);
|
|
437
|
+
if (b < h.length - 1)
|
|
438
|
+
return h[b + 1];
|
|
439
|
+
c = e.getItemMeta(c.parentId);
|
|
440
|
+
}
|
|
441
|
+
throw new Error("Invalid range");
|
|
442
|
+
}, [p, d] = mt(e, t, o), g = [p];
|
|
443
|
+
let l = p;
|
|
444
|
+
for (; l !== d; )
|
|
445
|
+
l = s(l), e.isItemDisabled(l) || g.push(l);
|
|
446
|
+
return g;
|
|
447
|
+
}, eo = (e) => {
|
|
448
|
+
let t = ft(e);
|
|
449
|
+
const o = [];
|
|
450
|
+
for (; t != null; )
|
|
451
|
+
o.push(t), t = gt(e, t);
|
|
452
|
+
return o;
|
|
453
|
+
}, Ce = (e, t) => t !== e.closest('*[role="treeitem"]'), de = (e, t) => e.getAvailablePlugins().has(t), bt = ({
|
|
454
|
+
props: e
|
|
455
|
+
}) => {
|
|
456
|
+
const {
|
|
457
|
+
instance: t
|
|
458
|
+
} = ne(), {
|
|
459
|
+
label: o,
|
|
460
|
+
itemId: s
|
|
461
|
+
} = e, [p, d] = R.useState(o), g = t.isItemBeingEdited(s);
|
|
462
|
+
return R.useEffect(() => {
|
|
463
|
+
g || d(o);
|
|
464
|
+
}, [g, o]), {
|
|
465
|
+
propsEnhancers: {
|
|
466
|
+
labelInput: ({
|
|
467
|
+
externalEventHandlers: l,
|
|
468
|
+
interactions: m
|
|
469
|
+
}) => t.isItemEditable(s) ? {
|
|
470
|
+
value: p ?? "",
|
|
471
|
+
"data-element": "labelInput",
|
|
472
|
+
onChange: (r) => {
|
|
473
|
+
var y;
|
|
474
|
+
(y = l.onChange) == null || y.call(l, r), d(r.target.value);
|
|
475
|
+
},
|
|
476
|
+
onKeyDown: (r) => {
|
|
477
|
+
var S;
|
|
478
|
+
if ((S = l.onKeyDown) == null || S.call(l, r), r.defaultMuiPrevented)
|
|
479
|
+
return;
|
|
480
|
+
const y = r.target;
|
|
481
|
+
r.key === "Enter" && y.value ? m.handleSaveItemLabel(r, y.value) : r.key === "Escape" && m.handleCancelItemLabelEditing(r);
|
|
482
|
+
},
|
|
483
|
+
onBlur: (r) => {
|
|
484
|
+
var y;
|
|
485
|
+
(y = l.onBlur) == null || y.call(l, r), !r.defaultMuiPrevented && r.target.value && m.handleSaveItemLabel(r, r.target.value);
|
|
486
|
+
},
|
|
487
|
+
autoFocus: !0,
|
|
488
|
+
type: "text"
|
|
489
|
+
} : {}
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
}, X = ({
|
|
493
|
+
instance: e,
|
|
494
|
+
state: t,
|
|
495
|
+
setState: o,
|
|
496
|
+
params: s
|
|
497
|
+
}) => {
|
|
498
|
+
const p = R.useRef(t.editedItemId), d = (b) => p.current === b, g = (b) => {
|
|
499
|
+
o((C) => f({}, C, {
|
|
500
|
+
editedItemId: b
|
|
501
|
+
})), p.current = b;
|
|
502
|
+
}, l = (b) => b === t.editedItemId, m = !!s.isItemEditable, c = (b) => {
|
|
503
|
+
if (b == null || !m)
|
|
504
|
+
return !1;
|
|
505
|
+
const C = e.getItem(b);
|
|
506
|
+
return C ? typeof s.isItemEditable == "function" ? s.isItemEditable(C) : !!s.isItemEditable : !1;
|
|
507
|
+
}, h = (b, C) => {
|
|
508
|
+
if (!C)
|
|
509
|
+
throw new Error(["MUI X: The Tree View component requires all items to have a `label` property.", "The label of an item cannot be empty.", b].join(`
|
|
510
|
+
`));
|
|
511
|
+
o((r) => {
|
|
512
|
+
const y = r.items.itemMetaMap[b];
|
|
513
|
+
return y.label !== C ? f({}, r, {
|
|
514
|
+
items: f({}, r.items, {
|
|
515
|
+
itemMetaMap: f({}, r.items.itemMetaMap, {
|
|
516
|
+
[b]: f({}, y, {
|
|
517
|
+
label: C
|
|
518
|
+
})
|
|
519
|
+
})
|
|
520
|
+
})
|
|
521
|
+
}) : r;
|
|
522
|
+
}), s.onItemLabelChange && s.onItemLabelChange(b, C);
|
|
523
|
+
};
|
|
524
|
+
return {
|
|
525
|
+
instance: {
|
|
526
|
+
setEditedItemId: g,
|
|
527
|
+
isItemBeingEdited: l,
|
|
528
|
+
updateItemLabel: h,
|
|
529
|
+
isItemEditable: c,
|
|
530
|
+
isTreeViewEditable: m,
|
|
531
|
+
isItemBeingEditedRef: d
|
|
532
|
+
},
|
|
533
|
+
publicAPI: {
|
|
534
|
+
updateItemLabel: h
|
|
535
|
+
}
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
X.itemPlugin = bt;
|
|
539
|
+
X.getDefaultizedParams = ({
|
|
540
|
+
params: e,
|
|
541
|
+
experimentalFeatures: t
|
|
542
|
+
}) => {
|
|
543
|
+
const o = t == null ? void 0 : t.labelEditing;
|
|
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
|
+
isItemEditable: o ? e.isItemEditable ?? !1 : !1
|
|
546
|
+
});
|
|
547
|
+
};
|
|
548
|
+
X.getInitialState = () => ({
|
|
549
|
+
editedItemId: null
|
|
550
|
+
});
|
|
551
|
+
X.params = {
|
|
552
|
+
onItemLabelChange: !0,
|
|
553
|
+
isItemEditable: !0
|
|
554
|
+
};
|
|
555
|
+
const It = V("div", {
|
|
556
|
+
name: "MuiTreeItem2DragAndDropOverlay",
|
|
557
|
+
slot: "Root",
|
|
558
|
+
overridesResolver: (e, t) => t.root,
|
|
559
|
+
shouldForwardProp: (e) => le(e) && e !== "action"
|
|
560
|
+
})(({
|
|
561
|
+
theme: e
|
|
562
|
+
}) => ({
|
|
563
|
+
position: "absolute",
|
|
564
|
+
left: 0,
|
|
565
|
+
display: "flex",
|
|
566
|
+
top: 0,
|
|
567
|
+
bottom: 0,
|
|
568
|
+
right: 0,
|
|
569
|
+
pointerEvents: "none",
|
|
570
|
+
variants: [{
|
|
571
|
+
props: {
|
|
572
|
+
action: "make-child"
|
|
573
|
+
},
|
|
574
|
+
style: {
|
|
575
|
+
marginLeft: "calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))",
|
|
576
|
+
borderRadius: e.shape.borderRadius,
|
|
577
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.darkChannel} / ${e.vars.palette.action.focusOpacity})` : oe(e.palette.primary.dark, e.palette.action.focusOpacity)
|
|
578
|
+
}
|
|
579
|
+
}, {
|
|
580
|
+
props: {
|
|
581
|
+
action: "reorder-above"
|
|
582
|
+
},
|
|
583
|
+
style: {
|
|
584
|
+
marginLeft: "calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))",
|
|
585
|
+
borderTop: `1px solid ${(e.vars || e).palette.action.active}`
|
|
586
|
+
}
|
|
587
|
+
}, {
|
|
588
|
+
props: {
|
|
589
|
+
action: "reorder-below"
|
|
590
|
+
},
|
|
591
|
+
style: {
|
|
592
|
+
marginLeft: "calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))",
|
|
593
|
+
borderBottom: `1px solid ${(e.vars || e).palette.action.active}`
|
|
594
|
+
}
|
|
595
|
+
}, {
|
|
596
|
+
props: {
|
|
597
|
+
action: "move-to-parent"
|
|
598
|
+
},
|
|
599
|
+
style: {
|
|
600
|
+
marginLeft: "calc(var(--TreeView-indentMultiplier) * calc(var(--TreeView-itemDepth) - 1))",
|
|
601
|
+
borderBottom: `1px solid ${(e.vars || e).palette.action.active}`
|
|
602
|
+
}
|
|
603
|
+
}]
|
|
604
|
+
}));
|
|
605
|
+
function De(e) {
|
|
606
|
+
return e.action == null ? null : /* @__PURE__ */ x(It, f({}, e));
|
|
607
|
+
}
|
|
608
|
+
process.env.NODE_ENV !== "production" && (De.propTypes = {
|
|
609
|
+
// ----------------------------- Warning --------------------------------
|
|
610
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
611
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
612
|
+
// ----------------------------------------------------------------------
|
|
613
|
+
action: i.oneOf(["make-child", "move-to-parent", "reorder-above", "reorder-below"]),
|
|
614
|
+
style: i.object
|
|
615
|
+
});
|
|
616
|
+
const ht = V("input", {
|
|
617
|
+
name: "MuiTreeItem2",
|
|
618
|
+
slot: "LabelInput",
|
|
619
|
+
overridesResolver: (e, t) => t.labelInput
|
|
620
|
+
})(({
|
|
621
|
+
theme: e
|
|
622
|
+
}) => f({}, e.typography.body1, {
|
|
623
|
+
width: "100%",
|
|
624
|
+
backgroundColor: e.palette.background.paper,
|
|
625
|
+
borderRadius: e.shape.borderRadius,
|
|
626
|
+
border: "none",
|
|
627
|
+
padding: "0 2px",
|
|
628
|
+
boxSizing: "border-box",
|
|
629
|
+
"&:focus": {
|
|
630
|
+
outline: `1px solid ${e.palette.primary.main}`
|
|
631
|
+
}
|
|
632
|
+
}));
|
|
633
|
+
function yt(e) {
|
|
634
|
+
return Te("MuiTreeItem", e);
|
|
635
|
+
}
|
|
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
|
+
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
638
|
+
}), "TreeViewExpandIcon"), Ct = ae(/* @__PURE__ */ x("path", {
|
|
639
|
+
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
640
|
+
}), "TreeViewCollapseIcon");
|
|
641
|
+
function pe(e) {
|
|
642
|
+
const {
|
|
643
|
+
children: t,
|
|
644
|
+
itemId: o
|
|
645
|
+
} = e, {
|
|
646
|
+
wrapItem: s,
|
|
647
|
+
instance: p
|
|
648
|
+
} = ne();
|
|
649
|
+
return s({
|
|
650
|
+
children: t,
|
|
651
|
+
itemId: o,
|
|
652
|
+
instance: p
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
pe.propTypes = {
|
|
656
|
+
// ----------------------------- Warning --------------------------------
|
|
657
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
658
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
659
|
+
// ----------------------------------------------------------------------
|
|
660
|
+
children: i.node,
|
|
661
|
+
itemId: i.string.isRequired
|
|
662
|
+
};
|
|
663
|
+
const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
|
|
664
|
+
itemId: e,
|
|
665
|
+
children: t
|
|
666
|
+
}) => {
|
|
667
|
+
const {
|
|
668
|
+
instance: o,
|
|
669
|
+
selection: {
|
|
670
|
+
multiSelect: s
|
|
671
|
+
},
|
|
672
|
+
publicAPI: p
|
|
673
|
+
} = ne(), d = {
|
|
674
|
+
expandable: Me(t),
|
|
675
|
+
expanded: o.isItemExpanded(e),
|
|
676
|
+
focused: o.isItemFocused(e),
|
|
677
|
+
selected: o.isItemSelected(e),
|
|
678
|
+
disabled: o.isItemDisabled(e),
|
|
679
|
+
editing: o != null && o.isItemBeingEdited ? o == null ? void 0 : o.isItemBeingEdited(e) : !1,
|
|
680
|
+
editable: o.isItemEditable ? o.isItemEditable(e) : !1
|
|
681
|
+
}, g = (r) => {
|
|
682
|
+
if (d.disabled)
|
|
683
|
+
return;
|
|
684
|
+
d.focused || o.focusItem(r, e);
|
|
685
|
+
const y = s && (r.shiftKey || r.ctrlKey || r.metaKey);
|
|
686
|
+
d.expandable && !(y && o.isItemExpanded(e)) && o.toggleItemExpansion(r, e);
|
|
687
|
+
}, l = (r) => {
|
|
688
|
+
if (d.disabled)
|
|
689
|
+
return;
|
|
690
|
+
d.focused || o.focusItem(r, e), s && (r.shiftKey || r.ctrlKey || r.metaKey) ? r.shiftKey ? o.expandSelectionRange(r, e) : o.selectItem({
|
|
691
|
+
event: r,
|
|
692
|
+
itemId: e,
|
|
693
|
+
keepExistingSelection: !0
|
|
694
|
+
}) : o.selectItem({
|
|
695
|
+
event: r,
|
|
696
|
+
itemId: e,
|
|
697
|
+
shouldBeSelected: !0
|
|
698
|
+
});
|
|
699
|
+
}, m = (r) => {
|
|
700
|
+
const y = r.nativeEvent.shiftKey;
|
|
701
|
+
s && y ? o.expandSelectionRange(r, e) : o.selectItem({
|
|
702
|
+
event: r,
|
|
703
|
+
itemId: e,
|
|
704
|
+
keepExistingSelection: s,
|
|
705
|
+
shouldBeSelected: r.target.checked
|
|
706
|
+
});
|
|
707
|
+
}, c = () => {
|
|
708
|
+
de(o, X) && o.isItemEditable(e) && (o.isItemBeingEdited(e) ? o.setEditedItemId(null) : o.setEditedItemId(e));
|
|
709
|
+
};
|
|
710
|
+
return {
|
|
711
|
+
interactions: {
|
|
712
|
+
handleExpansion: g,
|
|
713
|
+
handleSelection: l,
|
|
714
|
+
handleCheckboxSelection: m,
|
|
715
|
+
toggleItemEditing: c,
|
|
716
|
+
handleSaveItemLabel: (r, y) => {
|
|
717
|
+
de(o, X) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
|
|
718
|
+
},
|
|
719
|
+
handleCancelItemLabelEditing: (r) => {
|
|
720
|
+
de(o, X) && o.isItemBeingEditedRef(e) && (c(), o.focusItem(r, e));
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
status: d,
|
|
724
|
+
publicAPI: p
|
|
725
|
+
};
|
|
726
|
+
}, Tt = (e) => {
|
|
727
|
+
const {
|
|
728
|
+
runItemPlugins: t,
|
|
729
|
+
items: {
|
|
730
|
+
onItemClick: o,
|
|
731
|
+
disabledItemsFocusable: s,
|
|
732
|
+
indentationAtItemLevel: p
|
|
733
|
+
},
|
|
734
|
+
selection: {
|
|
735
|
+
disableSelection: d,
|
|
736
|
+
checkboxSelection: g
|
|
737
|
+
},
|
|
738
|
+
expansion: {
|
|
739
|
+
expansionTrigger: l
|
|
740
|
+
},
|
|
741
|
+
treeId: m,
|
|
742
|
+
instance: c,
|
|
743
|
+
publicAPI: h
|
|
744
|
+
} = ne(), b = R.useContext(Se), {
|
|
745
|
+
id: C,
|
|
746
|
+
itemId: r,
|
|
747
|
+
label: y,
|
|
748
|
+
children: S,
|
|
749
|
+
rootRef: O
|
|
750
|
+
} = e, {
|
|
751
|
+
rootRef: j,
|
|
752
|
+
contentRef: U,
|
|
753
|
+
propsEnhancers: T
|
|
754
|
+
} = t(e), {
|
|
755
|
+
interactions: E,
|
|
756
|
+
status: P
|
|
757
|
+
} = wt({
|
|
758
|
+
itemId: r,
|
|
759
|
+
children: S
|
|
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
|
+
itemId: r,
|
|
762
|
+
treeId: m,
|
|
763
|
+
id: C
|
|
764
|
+
}), _ = c.canItemBeTabbed(r) ? 0 : -1, k = {
|
|
765
|
+
rootRefObject: w,
|
|
766
|
+
contentRefObject: D,
|
|
767
|
+
interactions: E
|
|
768
|
+
}, z = (a) => (n) => {
|
|
769
|
+
var v;
|
|
770
|
+
if ((v = a.onFocus) == null || v.call(a, n), n.defaultMuiPrevented)
|
|
771
|
+
return;
|
|
772
|
+
const u = !P.disabled || s;
|
|
773
|
+
!P.focused && u && n.currentTarget === n.target && c.focusItem(n, r);
|
|
774
|
+
}, B = (a) => (n) => {
|
|
775
|
+
var v, $, te, fe, me;
|
|
776
|
+
if ((v = a.onBlur) == null || v.call(a, n), n.defaultMuiPrevented)
|
|
777
|
+
return;
|
|
778
|
+
const u = c.getItemDOMElement(r);
|
|
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
|
+
// 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 && 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
|
+
}, H = (a) => (n) => {
|
|
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
|
+
var u;
|
|
787
|
+
(u = a.onDoubleClick) == null || u.call(a, n), !n.defaultMuiPrevented && E.toggleItemEditing();
|
|
788
|
+
}, G = (a) => (n) => {
|
|
789
|
+
var u, 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
|
+
}, J = (a) => (n) => {
|
|
792
|
+
var u;
|
|
793
|
+
(u = a.onMouseDown) == null || u.call(a, n), !n.defaultMuiPrevented && (n.shiftKey || n.ctrlKey || n.metaKey || P.disabled) && n.preventDefault();
|
|
794
|
+
}, ee = (a) => (n) => {
|
|
795
|
+
var u;
|
|
796
|
+
(u = a.onChange) == null || u.call(a, n), !n.defaultMuiPrevented && (d || P.disabled || E.handleCheckboxSelection(n));
|
|
797
|
+
}, Q = (a) => (n) => {
|
|
798
|
+
var u;
|
|
799
|
+
(u = a.onClick) == null || u.call(a, n), !n.defaultMuiPrevented && l === "iconContainer" && E.handleExpansion(n);
|
|
800
|
+
};
|
|
801
|
+
return {
|
|
802
|
+
getRootProps: (a = {}) => {
|
|
803
|
+
var te;
|
|
804
|
+
const n = f({}, K(e), K(a));
|
|
805
|
+
let u;
|
|
806
|
+
P.selected ? u = !0 : d || P.disabled ? u = void 0 : u = !1;
|
|
807
|
+
const v = f({}, n, {
|
|
808
|
+
ref: W,
|
|
809
|
+
role: "treeitem",
|
|
810
|
+
tabIndex: _,
|
|
811
|
+
id: q,
|
|
812
|
+
"aria-expanded": P.expandable ? P.expanded : void 0,
|
|
813
|
+
"aria-selected": u,
|
|
814
|
+
"aria-disabled": P.disabled || void 0
|
|
815
|
+
}, a, {
|
|
816
|
+
onFocus: z(n),
|
|
817
|
+
onBlur: B(n),
|
|
818
|
+
onKeyDown: H(n)
|
|
819
|
+
});
|
|
820
|
+
p && (v.style = {
|
|
821
|
+
"--TreeView-itemDepth": typeof b == "function" ? b(r) : b
|
|
822
|
+
});
|
|
823
|
+
const $ = ((te = T.root) == null ? void 0 : te.call(T, f({}, k, {
|
|
824
|
+
externalEventHandlers: n
|
|
825
|
+
}))) ?? {};
|
|
826
|
+
return f({}, v, $);
|
|
827
|
+
},
|
|
828
|
+
getContentProps: (a = {}) => {
|
|
829
|
+
var $;
|
|
830
|
+
const n = K(a), u = f({}, n, a, {
|
|
831
|
+
ref: Y,
|
|
832
|
+
onClick: G(n),
|
|
833
|
+
onMouseDown: J(n),
|
|
834
|
+
status: P
|
|
835
|
+
});
|
|
836
|
+
p && (u.indentationAtItemLevel = !0);
|
|
837
|
+
const v = (($ = T.content) == null ? void 0 : $.call(T, f({}, k, {
|
|
838
|
+
externalEventHandlers: n
|
|
839
|
+
}))) ?? {};
|
|
840
|
+
return f({}, u, v);
|
|
841
|
+
},
|
|
842
|
+
getGroupTransitionProps: (a = {}) => {
|
|
843
|
+
const n = K(a), u = f({}, n, {
|
|
844
|
+
unmountOnExit: !0,
|
|
845
|
+
component: "ul",
|
|
846
|
+
role: "group",
|
|
847
|
+
in: P.expanded,
|
|
848
|
+
children: S
|
|
849
|
+
}, a);
|
|
850
|
+
return p && (u.indentationAtItemLevel = !0), u;
|
|
851
|
+
},
|
|
852
|
+
getIconContainerProps: (a = {}) => {
|
|
853
|
+
const n = K(a);
|
|
854
|
+
return f({}, n, a, {
|
|
855
|
+
onClick: Q(n)
|
|
856
|
+
});
|
|
857
|
+
},
|
|
858
|
+
getCheckboxProps: (a = {}) => {
|
|
859
|
+
const n = K(a);
|
|
860
|
+
return f({}, n, {
|
|
861
|
+
visible: g,
|
|
862
|
+
ref: M,
|
|
863
|
+
checked: P.selected,
|
|
864
|
+
disabled: d || P.disabled,
|
|
865
|
+
tabIndex: -1
|
|
866
|
+
}, a, {
|
|
867
|
+
onChange: ee(n)
|
|
868
|
+
});
|
|
869
|
+
},
|
|
870
|
+
getLabelProps: (a = {}) => {
|
|
871
|
+
const n = f({}, K(a)), u = f({}, n, {
|
|
872
|
+
children: y
|
|
873
|
+
}, a, {
|
|
874
|
+
onDoubleClick: A(n)
|
|
875
|
+
});
|
|
876
|
+
return c.isTreeViewEditable && (u.editable = P.editable), u;
|
|
877
|
+
},
|
|
878
|
+
getLabelInputProps: (a = {}) => {
|
|
879
|
+
var v;
|
|
880
|
+
const n = K(a), u = ((v = T.labelInput) == null ? void 0 : v.call(T, {
|
|
881
|
+
rootRefObject: w,
|
|
882
|
+
contentRefObject: D,
|
|
883
|
+
externalEventHandlers: n,
|
|
884
|
+
interactions: E
|
|
885
|
+
})) ?? {};
|
|
886
|
+
return f({}, a, u);
|
|
887
|
+
},
|
|
888
|
+
getDragAndDropOverlayProps: (a = {}) => {
|
|
889
|
+
var v;
|
|
890
|
+
const n = K(a), u = ((v = T.dragAndDropOverlay) == null ? void 0 : v.call(T, f({}, k, {
|
|
891
|
+
externalEventHandlers: n
|
|
892
|
+
}))) ?? {};
|
|
893
|
+
return f({}, a, u);
|
|
894
|
+
},
|
|
895
|
+
rootRef: W,
|
|
896
|
+
status: P,
|
|
897
|
+
publicAPI: h
|
|
898
|
+
};
|
|
899
|
+
}, ke = Tt;
|
|
900
|
+
function Le(e) {
|
|
901
|
+
const {
|
|
902
|
+
slots: t,
|
|
903
|
+
slotProps: o,
|
|
904
|
+
status: s
|
|
905
|
+
} = e, p = ne(), d = f({}, p.icons.slots, {
|
|
906
|
+
expandIcon: p.icons.slots.expandIcon ?? xt,
|
|
907
|
+
collapseIcon: p.icons.slots.collapseIcon ?? Ct
|
|
908
|
+
}), g = p.icons.slotProps;
|
|
909
|
+
let l;
|
|
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 = F({
|
|
912
|
+
elementType: m,
|
|
913
|
+
externalSlotProps: (h) => f({}, be(g[l], h), be(o == null ? void 0 : o[l], h)),
|
|
914
|
+
// TODO: Add proper ownerState
|
|
915
|
+
ownerState: {}
|
|
916
|
+
});
|
|
917
|
+
return m ? /* @__PURE__ */ x(m, f({}, c)) : null;
|
|
918
|
+
}
|
|
919
|
+
process.env.NODE_ENV !== "production" && (Le.propTypes = {
|
|
920
|
+
// ----------------------------- Warning --------------------------------
|
|
921
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
922
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
923
|
+
// ----------------------------------------------------------------------
|
|
924
|
+
/**
|
|
925
|
+
* The props used for each component slot.
|
|
926
|
+
* @default {}
|
|
927
|
+
*/
|
|
928
|
+
slotProps: i.object,
|
|
929
|
+
/**
|
|
930
|
+
* Overridable component slots.
|
|
931
|
+
* @default {}
|
|
932
|
+
*/
|
|
933
|
+
slots: i.object,
|
|
934
|
+
status: i.shape({
|
|
935
|
+
disabled: i.bool.isRequired,
|
|
936
|
+
editable: i.bool.isRequired,
|
|
937
|
+
editing: i.bool.isRequired,
|
|
938
|
+
expandable: i.bool.isRequired,
|
|
939
|
+
expanded: i.bool.isRequired,
|
|
940
|
+
focused: i.bool.isRequired,
|
|
941
|
+
selected: i.bool.isRequired
|
|
942
|
+
}).isRequired
|
|
943
|
+
});
|
|
944
|
+
const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], Et = ct(), Ne = V("li", {
|
|
945
|
+
name: "MuiTreeItem2",
|
|
946
|
+
slot: "Root",
|
|
947
|
+
overridesResolver: (e, t) => t.root
|
|
948
|
+
})({
|
|
949
|
+
listStyle: "none",
|
|
950
|
+
margin: 0,
|
|
951
|
+
padding: 0,
|
|
952
|
+
outline: 0
|
|
953
|
+
}), Ae = V("div", {
|
|
954
|
+
name: "MuiTreeItem2",
|
|
955
|
+
slot: "Content",
|
|
956
|
+
overridesResolver: (e, t) => t.content,
|
|
957
|
+
shouldForwardProp: (e) => le(e) && e !== "status" && e !== "indentationAtItemLevel"
|
|
958
|
+
})(({
|
|
959
|
+
theme: e
|
|
960
|
+
}) => ({
|
|
961
|
+
padding: e.spacing(0.5, 1),
|
|
962
|
+
borderRadius: e.shape.borderRadius,
|
|
963
|
+
width: "100%",
|
|
964
|
+
boxSizing: "border-box",
|
|
965
|
+
// prevent width + padding to overflow
|
|
966
|
+
position: "relative",
|
|
967
|
+
display: "flex",
|
|
968
|
+
alignItems: "center",
|
|
969
|
+
gap: e.spacing(1),
|
|
970
|
+
cursor: "pointer",
|
|
971
|
+
WebkitTapHighlightColor: "transparent",
|
|
972
|
+
"&:hover": {
|
|
973
|
+
backgroundColor: (e.vars || e).palette.action.hover,
|
|
974
|
+
// Reset on touch devices, it doesn't add specificity
|
|
975
|
+
"@media (hover: none)": {
|
|
976
|
+
backgroundColor: "transparent"
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
variants: [{
|
|
980
|
+
props: {
|
|
981
|
+
indentationAtItemLevel: !0
|
|
982
|
+
},
|
|
983
|
+
style: {
|
|
984
|
+
paddingLeft: `calc(${e.spacing(1)} + var(--TreeView-itemChildrenIndentation) * var(--TreeView-itemDepth))`
|
|
985
|
+
}
|
|
986
|
+
}, {
|
|
987
|
+
props: ({
|
|
988
|
+
status: t
|
|
989
|
+
}) => t.disabled,
|
|
990
|
+
style: {
|
|
991
|
+
opacity: (e.vars || e).palette.action.disabledOpacity,
|
|
992
|
+
backgroundColor: "transparent"
|
|
993
|
+
}
|
|
994
|
+
}, {
|
|
995
|
+
props: ({
|
|
996
|
+
status: t
|
|
997
|
+
}) => t.focused,
|
|
998
|
+
style: {
|
|
999
|
+
backgroundColor: (e.vars || e).palette.action.focus
|
|
1000
|
+
}
|
|
1001
|
+
}, {
|
|
1002
|
+
props: ({
|
|
1003
|
+
status: t
|
|
1004
|
+
}) => t.selected,
|
|
1005
|
+
style: {
|
|
1006
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : oe(e.palette.primary.main, e.palette.action.selectedOpacity),
|
|
1007
|
+
"&:hover": {
|
|
1008
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : oe(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
|
|
1009
|
+
// Reset on touch devices, it doesn't add specificity
|
|
1010
|
+
"@media (hover: none)": {
|
|
1011
|
+
backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})` : oe(e.palette.primary.main, e.palette.action.selectedOpacity)
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}, {
|
|
1016
|
+
props: ({
|
|
1017
|
+
status: t
|
|
1018
|
+
}) => t.selected && t.focused,
|
|
1019
|
+
style: {
|
|
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
|
+
}
|
|
1022
|
+
}]
|
|
1023
|
+
})), Ve = V("div", {
|
|
1024
|
+
name: "MuiTreeItem2",
|
|
1025
|
+
slot: "Label",
|
|
1026
|
+
overridesResolver: (e, t) => t.label,
|
|
1027
|
+
shouldForwardProp: (e) => le(e) && e !== "editable"
|
|
1028
|
+
})(({
|
|
1029
|
+
theme: e
|
|
1030
|
+
}) => f({
|
|
1031
|
+
width: "100%",
|
|
1032
|
+
boxSizing: "border-box",
|
|
1033
|
+
// prevent width + padding to overflow
|
|
1034
|
+
// fixes overflow - see https://github.com/mui/material-ui/issues/27372
|
|
1035
|
+
minWidth: 0,
|
|
1036
|
+
position: "relative",
|
|
1037
|
+
overflow: "hidden"
|
|
1038
|
+
}, e.typography.body1, {
|
|
1039
|
+
variants: [{
|
|
1040
|
+
props: ({
|
|
1041
|
+
editable: t
|
|
1042
|
+
}) => t,
|
|
1043
|
+
style: {
|
|
1044
|
+
paddingLeft: "2px"
|
|
1045
|
+
}
|
|
1046
|
+
}]
|
|
1047
|
+
})), $e = V("div", {
|
|
1048
|
+
name: "MuiTreeItem2",
|
|
1049
|
+
slot: "IconContainer",
|
|
1050
|
+
overridesResolver: (e, t) => t.iconContainer
|
|
1051
|
+
})({
|
|
1052
|
+
width: 16,
|
|
1053
|
+
display: "flex",
|
|
1054
|
+
flexShrink: 0,
|
|
1055
|
+
justifyContent: "center",
|
|
1056
|
+
"& svg": {
|
|
1057
|
+
fontSize: 18
|
|
1058
|
+
}
|
|
1059
|
+
}), ze = V(se, {
|
|
1060
|
+
name: "MuiTreeItem2",
|
|
1061
|
+
slot: "GroupTransition",
|
|
1062
|
+
overridesResolver: (e, t) => t.groupTransition,
|
|
1063
|
+
shouldForwardProp: (e) => le(e) && e !== "indentationAtItemLevel"
|
|
1064
|
+
})({
|
|
1065
|
+
margin: 0,
|
|
1066
|
+
padding: 0,
|
|
1067
|
+
paddingLeft: "var(--TreeView-itemChildrenIndentation)",
|
|
1068
|
+
variants: [{
|
|
1069
|
+
props: {
|
|
1070
|
+
indentationAtItemLevel: !0
|
|
1071
|
+
},
|
|
1072
|
+
style: {
|
|
1073
|
+
paddingLeft: 0
|
|
1074
|
+
}
|
|
1075
|
+
}]
|
|
1076
|
+
}), Rt = V(/* @__PURE__ */ R.forwardRef((e, t) => {
|
|
1077
|
+
const {
|
|
1078
|
+
visible: o
|
|
1079
|
+
} = e, s = Pe(e, vt);
|
|
1080
|
+
return o ? /* @__PURE__ */ x(et, f({}, s, {
|
|
1081
|
+
ref: t
|
|
1082
|
+
})) : null;
|
|
1083
|
+
}), {
|
|
1084
|
+
name: "MuiTreeItem2",
|
|
1085
|
+
slot: "Checkbox",
|
|
1086
|
+
overridesResolver: (e, t) => t.checkbox
|
|
1087
|
+
})({
|
|
1088
|
+
padding: 0
|
|
1089
|
+
}), St = (e) => {
|
|
1090
|
+
const {
|
|
1091
|
+
classes: t
|
|
1092
|
+
} = e;
|
|
1093
|
+
return Ee({
|
|
1094
|
+
root: ["root"],
|
|
1095
|
+
content: ["content"],
|
|
1096
|
+
expanded: ["expanded"],
|
|
1097
|
+
editing: ["editing"],
|
|
1098
|
+
editable: ["editable"],
|
|
1099
|
+
selected: ["selected"],
|
|
1100
|
+
focused: ["focused"],
|
|
1101
|
+
disabled: ["disabled"],
|
|
1102
|
+
iconContainer: ["iconContainer"],
|
|
1103
|
+
checkbox: ["checkbox"],
|
|
1104
|
+
label: ["label"],
|
|
1105
|
+
groupTransition: ["groupTransition"],
|
|
1106
|
+
labelInput: ["labelInput"],
|
|
1107
|
+
dragAndDropOverlay: ["dragAndDropOverlay"]
|
|
1108
|
+
}, yt, t);
|
|
1109
|
+
}, Ot = /* @__PURE__ */ R.forwardRef(function(t, o) {
|
|
1110
|
+
const s = Et({
|
|
1111
|
+
props: t,
|
|
1112
|
+
name: "MuiTreeItem2"
|
|
1113
|
+
}), {
|
|
1114
|
+
id: p,
|
|
1115
|
+
itemId: d,
|
|
1116
|
+
label: g,
|
|
1117
|
+
disabled: l,
|
|
1118
|
+
children: m,
|
|
1119
|
+
slots: c = {},
|
|
1120
|
+
slotProps: h = {}
|
|
1121
|
+
} = s, b = Pe(s, Pt), {
|
|
1122
|
+
getRootProps: C,
|
|
1123
|
+
getContentProps: r,
|
|
1124
|
+
getIconContainerProps: y,
|
|
1125
|
+
getCheckboxProps: S,
|
|
1126
|
+
getLabelProps: O,
|
|
1127
|
+
getGroupTransitionProps: j,
|
|
1128
|
+
getLabelInputProps: U,
|
|
1129
|
+
getDragAndDropOverlayProps: T,
|
|
1130
|
+
status: E
|
|
1131
|
+
} = ke({
|
|
1132
|
+
id: p,
|
|
1133
|
+
itemId: d,
|
|
1134
|
+
children: m,
|
|
1135
|
+
label: g,
|
|
1136
|
+
disabled: l
|
|
1137
|
+
}), P = f({}, s, E), w = St(P), D = c.root ?? Ne, W = F({
|
|
1138
|
+
elementType: D,
|
|
1139
|
+
getSlotProps: C,
|
|
1140
|
+
externalForwardedProps: b,
|
|
1141
|
+
externalSlotProps: h.root,
|
|
1142
|
+
additionalProps: {
|
|
1143
|
+
ref: o
|
|
1144
|
+
},
|
|
1145
|
+
ownerState: {},
|
|
1146
|
+
className: w.root
|
|
1147
|
+
}), Y = c.content ?? Ae, M = F({
|
|
1148
|
+
elementType: Y,
|
|
1149
|
+
getSlotProps: r,
|
|
1150
|
+
externalSlotProps: h.content,
|
|
1151
|
+
ownerState: {},
|
|
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
|
+
getSlotProps: y,
|
|
1156
|
+
externalSlotProps: h.iconContainer,
|
|
1157
|
+
ownerState: {},
|
|
1158
|
+
className: w.iconContainer
|
|
1159
|
+
}), k = c.label ?? Ve, z = F({
|
|
1160
|
+
elementType: k,
|
|
1161
|
+
getSlotProps: O,
|
|
1162
|
+
externalSlotProps: h.label,
|
|
1163
|
+
ownerState: {},
|
|
1164
|
+
className: w.label
|
|
1165
|
+
}), B = c.checkbox ?? Rt, H = F({
|
|
1166
|
+
elementType: B,
|
|
1167
|
+
getSlotProps: S,
|
|
1168
|
+
externalSlotProps: h.checkbox,
|
|
1169
|
+
ownerState: {},
|
|
1170
|
+
className: w.checkbox
|
|
1171
|
+
}), A = c.groupTransition ?? void 0, G = F({
|
|
1172
|
+
elementType: A,
|
|
1173
|
+
getSlotProps: j,
|
|
1174
|
+
externalSlotProps: h.groupTransition,
|
|
1175
|
+
ownerState: {},
|
|
1176
|
+
className: w.groupTransition
|
|
1177
|
+
}), J = c.labelInput ?? ht, ee = F({
|
|
1178
|
+
elementType: J,
|
|
1179
|
+
getSlotProps: U,
|
|
1180
|
+
externalSlotProps: h.labelInput,
|
|
1181
|
+
ownerState: {},
|
|
1182
|
+
className: w.labelInput
|
|
1183
|
+
}), Q = c.dragAndDropOverlay ?? De, re = F({
|
|
1184
|
+
elementType: Q,
|
|
1185
|
+
getSlotProps: T,
|
|
1186
|
+
externalSlotProps: h.dragAndDropOverlay,
|
|
1187
|
+
ownerState: {},
|
|
1188
|
+
className: w.dragAndDropOverlay
|
|
1189
|
+
});
|
|
1190
|
+
return /* @__PURE__ */ x(pe, {
|
|
1191
|
+
itemId: d,
|
|
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
|
+
status: E,
|
|
1197
|
+
slots: c,
|
|
1198
|
+
slotProps: h
|
|
1199
|
+
})
|
|
1200
|
+
})), /* @__PURE__ */ x(B, f({}, H)), E.editing ? /* @__PURE__ */ x(J, f({}, ee)) : /* @__PURE__ */ x(k, f({}, z)), /* @__PURE__ */ x(Q, f({}, re))]
|
|
1201
|
+
})), m && /* @__PURE__ */ x(ze, f({
|
|
1202
|
+
as: A
|
|
1203
|
+
}, G))]
|
|
1204
|
+
}))
|
|
1205
|
+
});
|
|
1206
|
+
});
|
|
1207
|
+
process.env.NODE_ENV !== "production" && (Ot.propTypes = {
|
|
1208
|
+
// ----------------------------- Warning --------------------------------
|
|
1209
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1210
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
1211
|
+
// ----------------------------------------------------------------------
|
|
1212
|
+
/**
|
|
1213
|
+
* The content of the component.
|
|
1214
|
+
*/
|
|
1215
|
+
children: i.node,
|
|
1216
|
+
/**
|
|
1217
|
+
* Override or extend the styles applied to the component.
|
|
1218
|
+
*/
|
|
1219
|
+
classes: i.object,
|
|
1220
|
+
className: i.string,
|
|
1221
|
+
/**
|
|
1222
|
+
* If `true`, the item is disabled.
|
|
1223
|
+
* @default false
|
|
1224
|
+
*/
|
|
1225
|
+
disabled: i.bool,
|
|
1226
|
+
/**
|
|
1227
|
+
* The id attribute of the item. If not provided, it will be generated.
|
|
1228
|
+
*/
|
|
1229
|
+
id: i.string,
|
|
1230
|
+
/**
|
|
1231
|
+
* The id of the item.
|
|
1232
|
+
* Must be unique.
|
|
1233
|
+
*/
|
|
1234
|
+
itemId: i.string.isRequired,
|
|
1235
|
+
/**
|
|
1236
|
+
* The label of the item.
|
|
1237
|
+
*/
|
|
1238
|
+
label: i.node,
|
|
1239
|
+
/**
|
|
1240
|
+
* Callback fired when the item root is blurred.
|
|
1241
|
+
*/
|
|
1242
|
+
onBlur: i.func,
|
|
1243
|
+
/**
|
|
1244
|
+
* This prop isn't supported.
|
|
1245
|
+
* Use the `onItemFocus` callback on the tree if you need to monitor an item's focus.
|
|
1246
|
+
*/
|
|
1247
|
+
onFocus: tt,
|
|
1248
|
+
/**
|
|
1249
|
+
* Callback fired when a key is pressed on the keyboard and the tree is in focus.
|
|
1250
|
+
*/
|
|
1251
|
+
onKeyDown: i.func,
|
|
1252
|
+
/**
|
|
1253
|
+
* The props used for each component slot.
|
|
1254
|
+
* @default {}
|
|
1255
|
+
*/
|
|
1256
|
+
slotProps: i.object,
|
|
1257
|
+
/**
|
|
1258
|
+
* Overridable component slots.
|
|
1259
|
+
* @default {}
|
|
1260
|
+
*/
|
|
1261
|
+
slots: i.object
|
|
1262
|
+
});
|
|
1263
|
+
function oo(e) {
|
|
1264
|
+
const {
|
|
1265
|
+
id: t,
|
|
1266
|
+
itemId: o,
|
|
1267
|
+
label: s,
|
|
1268
|
+
disabled: p,
|
|
1269
|
+
children: d,
|
|
1270
|
+
itemData: g,
|
|
1271
|
+
iconColor: l = "primary",
|
|
1272
|
+
hasNoIcons: m,
|
|
1273
|
+
ref: c
|
|
1274
|
+
} = e, h = Ue(
|
|
1275
|
+
g == null ? void 0 : g.iconType,
|
|
1276
|
+
g == null ? void 0 : g.customIcon
|
|
1277
|
+
), {
|
|
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
|
+
};
|
|
1288
|
+
return /* @__PURE__ */ x(pe, { itemId: o, children: /* @__PURE__ */ ie(
|
|
1289
|
+
Ne,
|
|
1290
|
+
{
|
|
1291
|
+
...b(),
|
|
1292
|
+
"data-treeview-item": o || "",
|
|
1293
|
+
"data-treeview-item-label": s || "",
|
|
1294
|
+
sx: Fe,
|
|
1295
|
+
children: [
|
|
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" })) })
|
|
1300
|
+
] }),
|
|
1301
|
+
d && /* @__PURE__ */ x(
|
|
1302
|
+
ze,
|
|
1303
|
+
{
|
|
1304
|
+
...y(),
|
|
1305
|
+
style: O.expanded ? _e : void 0
|
|
1306
|
+
}
|
|
1307
|
+
)
|
|
1308
|
+
]
|
|
1309
|
+
}
|
|
1310
|
+
) });
|
|
1311
|
+
}
|
|
1312
|
+
export {
|
|
1313
|
+
se as C,
|
|
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,
|
|
1328
|
+
de as n,
|
|
1329
|
+
ne as o,
|
|
1330
|
+
ht as p,
|
|
1331
|
+
De as q,
|
|
1332
|
+
ct as r,
|
|
1333
|
+
Ct as s,
|
|
1334
|
+
xt as t,
|
|
1335
|
+
X as u,
|
|
1336
|
+
pe as v,
|
|
1337
|
+
dt as w,
|
|
1338
|
+
yt as x,
|
|
1339
|
+
to as y,
|
|
1340
|
+
oo as z
|
|
1341
|
+
};
|