@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431
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/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
- package/dist/Backdrop-DWp3AktL.cjs +1 -0
- package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
- package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
- package/dist/Button-B7kOjNW1.js +696 -0
- package/dist/Button-UmeKHfcL.cjs +1 -0
- package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
- package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
- package/dist/CardContent-5bW4A4d2.cjs +1 -0
- package/dist/CardContent-F4-KcZH8.js +226 -0
- package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
- package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
- package/dist/Chip-BTnuWGEU.cjs +1 -0
- package/dist/Chip-OpRIs-sL.js +522 -0
- package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
- package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
- package/dist/CloseRounded-BMEGLs8y.js +8 -0
- package/dist/CloseRounded-BRXBizmR.cjs +1 -0
- package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
- package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
- package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
- package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
- package/dist/Dialog-B1wnk5BT.cjs +1 -0
- package/dist/Dialog-CKS7yjT5.js +478 -0
- package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
- package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
- package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
- package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
- package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
- package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
- package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
- package/dist/FormLabel-BV7-a0i5.cjs +2 -0
- package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
- package/dist/Grow-Z3KzFaK5.cjs +1 -0
- package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
- package/dist/IconButton-CVOPR4EM.cjs +2 -0
- package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
- package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
- package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
- package/dist/InputBase-Cejvjv1E.cjs +3 -0
- package/dist/Link-2ncpUcIp.cjs +1 -0
- package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
- package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
- package/dist/Menu-Cngt8Va9.cjs +7 -0
- package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
- package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
- package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
- package/dist/Modal-u82Ss4h_.cjs +2 -0
- package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
- package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
- package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
- package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
- package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
- package/dist/Portal-DUHpWdY1.cjs +1 -0
- package/dist/Radio-CSl8GQNk.cjs +1 -0
- package/dist/Radio-DSRS-tjj.js +568 -0
- package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
- package/dist/RadioGroup-cPdOWdYD.js +190 -0
- package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
- package/dist/Select-DZAzJA0y.cjs +3 -0
- package/dist/Stack-B82ckLGm.cjs +1 -0
- package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
- package/dist/Switch-B9uT9-d0.js +330 -0
- package/dist/Switch-DWKHe4z_.cjs +1 -0
- package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
- package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
- package/dist/Tabs-AyJ_tKtV.cjs +4 -0
- package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
- package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
- package/dist/TextField-CwcPgdgD.cjs +1 -0
- package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
- package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
- package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
- package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
- package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
- package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
- package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
- package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
- package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
- package/dist/components/Alert/Alert.es.js +13 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.es.js +12 -325
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- 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 +12 -14
- 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 +22 -19
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileIcon.cjs.js +1 -0
- package/dist/components/FileList/FileIcon.d.ts +3 -0
- package/dist/components/FileList/FileIcon.es.js +56 -0
- package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
- package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
- package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.d.ts +5 -3
- package/dist/components/FileList/FileList.es.js +22 -15
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.d.ts +9 -5
- package/dist/components/FileList/FileListItem.es.js +118 -24
- package/dist/components/FileList/utils.cjs.js +1 -0
- package/dist/components/FileList/utils.d.ts +2 -0
- package/dist/components/FileList/utils.es.js +13 -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 +79 -54
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +1 -2
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
- 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 +12 -10
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.d.ts +2 -2
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
- package/dist/components/ResourceCard/index.cjs.js +1 -0
- package/dist/components/ResourceCard/index.d.ts +2 -0
- package/dist/components/ResourceCard/index.es.js +4 -0
- package/dist/components/ResourceCard/style.cjs.js +1 -0
- package/dist/components/ResourceCard/style.es.js +125 -0
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.es.js +348 -294
- 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 +17 -168
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- package/dist/components/stories/Chip.stories.cjs.js +1 -0
- package/dist/components/stories/Chip.stories.d.ts +10 -0
- package/dist/components/stories/Chip.stories.es.js +77 -0
- 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 +5 -5
- package/dist/components/stories/FileList.stories.cjs.js +8 -1
- package/dist/components/stories/FileList.stories.es.js +144 -20
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
- 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 +16 -16
- 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 +19 -115
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
- package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
- package/dist/components/stories/ResourceCard.stories.es.js +141 -0
- 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 +14 -14
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
- package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
- package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
- package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
- package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
- package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
- package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
- package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
- package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
- package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
- package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
- package/dist/hooks/lazySvgImport.d.ts +1 -1
- package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
- package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
- package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
- package/dist/index-T-RSwkXB.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +348 -294
- package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
- package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
- package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
- package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
- package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
- package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useSlot-CC2AaOjN.cjs +1 -0
- package/dist/useSlot-GZu0V5wJ.js +48 -0
- package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
- package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
- package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
- package/dist/useTheme-BA7tMglY.js +11 -0
- package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
- package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
- package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
- package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
- package/dist/useThemeProps-BTfGtNci.js +17 -0
- package/dist/useThemeProps-DxBEHys5.cjs +1 -0
- package/dist/utils-CFI_-FMV.cjs +1 -0
- package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
- package/package.json +9 -9
- package/dist/Backdrop-CvufxHMY.cjs +0 -1
- package/dist/Button-BH9MUvmz.cjs +0 -1
- package/dist/Button-BnNYfQ3E.js +0 -484
- package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
- package/dist/Card-AJG0TUOx.js +0 -74
- package/dist/Card-NqCXQteq.cjs +0 -1
- package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
- package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
- package/dist/Delete-BkZN7Xu5.js +0 -8
- package/dist/Delete-D1EiKoL5.cjs +0 -1
- package/dist/Dialog-D_lS4J_M.js +0 -415
- package/dist/Dialog-yOrNcHbG.cjs +0 -1
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
- package/dist/FormControlLabel-BmrKQtQA.js +0 -262
- package/dist/FormGroup-CbczEc6e.js +0 -95
- package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
- package/dist/FormLabel-D1uvEhsH.cjs +0 -2
- package/dist/Grow-CUBJs6WD.cjs +0 -1
- package/dist/IconButton-CJfzspZK.cjs +0 -2
- package/dist/InputBase-s1fk8TB4.cjs +0 -3
- package/dist/Link-CWczkFp0.cjs +0 -1
- package/dist/Menu-Bsx8PA-q.cjs +0 -7
- package/dist/Modal-DImrEpYJ.cjs +0 -2
- package/dist/Portal-DF0RKOcD.cjs +0 -1
- package/dist/Radio-CVAEGXKi.cjs +0 -1
- package/dist/Radio-DGhot3Cd.js +0 -313
- package/dist/Select-CwAWNiiv.cjs +0 -3
- package/dist/Stack-Yq6rb7iK.cjs +0 -1
- package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
- package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
- package/dist/Tabs-KG4VWw-1.cjs +0 -4
- package/dist/TextField-BI9KVqjC.cjs +0 -1
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
- package/dist/createSvgIcon--rEClVU7.cjs +0 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
- package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
- package/dist/index-Aa73Kpym.cjs +0 -1
- package/dist/index-Cw0GDedk.cjs +0 -17
- package/dist/index-DXD5J5Eu.js +0 -186
- package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
- package/dist/useSlot-BTpHG6jf.js +0 -50
- package/dist/useSlot-CByalpSD.cjs +0 -1
- package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
- package/dist/useTheme-DyaNKf4e.js +0 -11
- package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
- package/dist/useThemeProps-CwEQ4bv2.js +0 -24
- package/dist/utils-vmyQ2IaS.cjs +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";const je=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),ce=require("./isHostComponent-PydJW4A4.cjs"),Me=require("./formControlState-CuX6WjAX.cjs"),de=require("./useFormControl-haP0iPhl.cjs"),qe=require("./index-T-RSwkXB.cjs"),he=require("./memoTheme-DrjvJtTP.cjs"),He=require("./utils-BWx1W_q1.cjs"),w=require("react/jsx-runtime"),U=require("./DefaultPropsProvider-wpBXjN8r.cjs"),Te=require("./useForkRef-CTI33h-3.cjs"),ee=require("./useEnhancedEffect-BQZ6dtCo.cjs"),fe=require("./ownerWindow-DDHucZi0.cjs"),We=require("./debounce-DpCj7ugL.cjs"),oe=require("./capitalize-CEByPz9F.cjs"),De=require("./refType-BkobP3bK.cjs"),Le=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function Ue(n){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const l=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(o,t,l.get?l:{enumerable:!0,get:()=>n[t]})}}return o.default=n,Object.freeze(o)}const a=Ue(je);function D(n){return parseInt(n,10)||0}const Ve={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _e(n){for(const o in n)return!1;return!0}function $e(n){return _e(n)||n.outerHeightStyle===0&&!n.overflowing}const be=a.forwardRef(function(o,t){const{onChange:l,maxRows:f,minRows:c=1,style:S,value:R,...B}=o,{current:x}=a.useRef(R!=null),d=a.useRef(null),O=Te.useForkRef(t,d),h=a.useRef(null),C=a.useRef(null),P=a.useCallback(()=>{const p=d.current,r=C.current;if(!p||!r)return;const u=fe.ownerWindow(p).getComputedStyle(p);if(u.width==="0px")return{outerHeightStyle:0,overflowing:!1};r.style.width=u.width,r.value=p.value||o.placeholder||"x",r.value.slice(-1)===`
|
|
2
|
+
`&&(r.value+=" ");const F=u.boxSizing,N=D(u.paddingBottom)+D(u.paddingTop),A=D(u.borderBottomWidth)+D(u.borderTopWidth),j=r.scrollHeight;r.value="x";const b=r.scrollHeight;let y=j;c&&(y=Math.max(Number(c)*b,y)),f&&(y=Math.min(Number(f)*b,y)),y=Math.max(y,b);const M=y+(F==="border-box"?N+A:0),q=Math.abs(y-j)<=1;return{outerHeightStyle:M,overflowing:q}},[f,c,o.placeholder]),v=a.useCallback(()=>{const p=d.current,r=P();if(!p||!r||$e(r))return;const T=r.outerHeightStyle;h.current!==T&&(h.current=T,p.style.height=`${T}px`),p.style.overflow=r.overflowing?"hidden":""},[P]),I=a.useRef(-1);ee.useEnhancedEffect(()=>{const p=We.debounce(()=>v()),r=d==null?void 0:d.current;if(!r)return;const T=fe.ownerWindow(r);T.addEventListener("resize",p);let u;return typeof ResizeObserver<"u"&&(u=new ResizeObserver(()=>{u.unobserve(r),cancelAnimationFrame(I.current),v(),I.current=requestAnimationFrame(()=>{u.observe(r)})}),u.observe(r)),()=>{p.clear(),cancelAnimationFrame(I.current),T.removeEventListener("resize",p),u&&u.disconnect()}},[P,v]),ee.useEnhancedEffect(()=>{v()});const V=p=>{x||v(),l&&l(p)};return w.jsxs(a.Fragment,{children:[w.jsx("textarea",{value:R,onChange:V,ref:O,rows:c,style:S,...B}),w.jsx("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:C,tabIndex:-1,style:{...Ve.shadow,...S,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(be.propTypes={className:e.PropTypes.string,maxRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),minRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),onChange:e.PropTypes.func,placeholder:e.PropTypes.string,style:e.PropTypes.object,value:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.number,e.PropTypes.string])});function Ke(n){return e.generateUtilityClass("MuiInputBase",n)}const L=e.generateUtilityClasses("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ye;const ge=(n,o)=>{const{ownerState:t}=n;return[o.root,t.formControl&&o.formControl,t.startAdornment&&o.adornedStart,t.endAdornment&&o.adornedEnd,t.error&&o.error,t.size==="small"&&o.sizeSmall,t.multiline&&o.multiline,t.color&&o[`color${oe.capitalize(t.color)}`],t.fullWidth&&o.fullWidth,t.hiddenLabel&&o.hiddenLabel]},Pe=(n,o)=>{const{ownerState:t}=n;return[o.input,t.size==="small"&&o.inputSizeSmall,t.multiline&&o.inputMultiline,t.type==="search"&&o.inputTypeSearch,t.startAdornment&&o.inputAdornedStart,t.endAdornment&&o.inputAdornedEnd,t.hiddenLabel&&o.inputHiddenLabel]},Ge=n=>{const{classes:o,color:t,disabled:l,error:f,endAdornment:c,focused:S,formControl:R,fullWidth:B,hiddenLabel:x,multiline:d,readOnly:O,size:h,startAdornment:C,type:P}=n,v={root:["root",`color${oe.capitalize(t)}`,l&&"disabled",f&&"error",B&&"fullWidth",S&&"focused",R&&"formControl",h&&h!=="medium"&&`size${oe.capitalize(h)}`,d&&"multiline",C&&"adornedStart",c&&"adornedEnd",x&&"hiddenLabel",O&&"readOnly"],input:["input",l&&"disabled",P==="search"&&"inputTypeSearch",d&&"inputMultiline",h==="small"&&"inputSizeSmall",x&&"inputHiddenLabel",C&&"inputAdornedStart",c&&"inputAdornedEnd",O&&"readOnly"]};return U.composeClasses(v,Ke,o)},ve=U.styled("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ge})(he.memoTheme(({theme:n})=>({...n.typography.body1,color:(n.vars||n).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${L.disabled}`]:{color:(n.vars||n).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:o})=>o.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:o,size:t})=>o.multiline&&t==="small",style:{paddingTop:1}},{props:({ownerState:o})=>o.fullWidth,style:{width:"100%"}}]}))),we=U.styled("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Pe})(he.memoTheme(({theme:n})=>{const o=n.palette.mode==="light",t={color:"currentColor",...n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})},l={opacity:"0 !important"},f=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":t,"&::-moz-placeholder":t,"&::-ms-input-placeholder":t,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${L.formControl} &`]:{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":f,"&:focus::-moz-placeholder":f,"&:focus::-ms-input-placeholder":f},[`&.${L.disabled}`]:{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled},variants:[{props:({ownerState:c})=>!c.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:c})=>c.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),me=qe.globalCss({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),xe=a.forwardRef(function(o,t){const l=U.useDefaultProps({props:o,name:"MuiInputBase"}),{"aria-describedby":f,autoComplete:c,autoFocus:S,className:R,color:B,components:x={},componentsProps:d={},defaultValue:O,disabled:h,disableInjectingGlobalStyles:C,endAdornment:P,error:v,fullWidth:I=!1,id:V,inputComponent:p="input",inputProps:r={},inputRef:T,margin:u,maxRows:F,minRows:N,multiline:A=!1,name:j,onBlur:b,onChange:y,onClick:M,onFocus:q,onKeyDown:Ce,onKeyUp:Se,placeholder:Re,readOnly:_,renderSuffix:ne,rows:H,size:Ye,slotProps:te={},slots:re={},startAdornment:z,type:se="text",value:Oe,...Ee}=l,W=r.value!=null?r.value:Oe,{current:$}=a.useRef(W!=null),E=a.useRef(),Ie=a.useCallback(s=>{process.env.NODE_ENV!=="production"&&s&&s.nodeName!=="INPUT"&&!s.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
3
|
+
`))},[]),ze=Te.useForkRef(E,T,r.ref,Ie),[K,G]=a.useState(!1),i=de.useFormControl();process.env.NODE_ENV!=="production"&&a.useEffect(()=>{if(i)return i.registerEffect()},[i]);const m=Me.formControlState({props:l,muiFormControl:i,states:["color","disabled","error","hiddenLabel","size","required","filled"]});m.focused=i?i.focused:K,a.useEffect(()=>{!i&&h&&K&&(G(!1),b&&b())},[i,h,K,b]);const Y=i&&i.onFilled,Z=i&&i.onEmpty,k=a.useCallback(s=>{He.isFilled(s)?Y&&Y():Z&&Z()},[Y,Z]);ee.useEnhancedEffect(()=>{$&&k({value:W})},[W,k,$]);const ke=s=>{q&&q(s),r.onFocus&&r.onFocus(s),i&&i.onFocus?i.onFocus(s):G(!0)},Be=s=>{b&&b(s),r.onBlur&&r.onBlur(s),i&&i.onBlur?i.onBlur(s):G(!1)},Fe=(s,...pe)=>{if(!$){const ue=s.target||E.current;if(ue==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":e.formatMuiErrorMessage(1));k({value:ue.value})}r.onChange&&r.onChange(s,...pe),y&&y(s,...pe)};a.useEffect(()=>{k(E.current)},[]);const Ne=s=>{E.current&&s.currentTarget===s.target&&E.current.focus(),M&&M(s)};let J=p,g=r;A&&J==="input"&&(H?(process.env.NODE_ENV!=="production"&&(N||F)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),g={type:void 0,minRows:H,maxRows:H,...g}):g={type:void 0,maxRows:F,minRows:N,...g},J=be);const Ae=s=>{k(s.animationName==="mui-auto-fill-cancel"?E.current:{value:"x"})};a.useEffect(()=>{i&&i.setAdornedStart(!!z)},[i,z]);const Q={...l,color:m.color||"primary",disabled:m.disabled,endAdornment:P,error:m.error,focused:m.focused,formControl:i,fullWidth:I,hiddenLabel:m.hiddenLabel,multiline:A,size:m.size,startAdornment:z,type:se},ie=Ge(Q),ae=re.root||x.Root||ve,X=te.root||d.root||{},le=re.input||x.Input||we;return g={...g,...te.input??d.input},w.jsxs(a.Fragment,{children:[!C&&typeof me=="function"&&(ye||(ye=w.jsx(me,{}))),w.jsxs(ae,{...X,ref:t,onClick:Ne,...Ee,...!ce.isHostComponent(ae)&&{ownerState:{...Q,...X.ownerState}},className:e.clsx(ie.root,X.className,R,_&&"MuiInputBase-readOnly"),children:[z,w.jsx(de.FormControlContext.Provider,{value:null,children:w.jsx(le,{"aria-invalid":m.error,"aria-describedby":f,autoComplete:c,autoFocus:S,defaultValue:O,disabled:m.disabled,id:V,onAnimationStart:Ae,name:j,placeholder:Re,readOnly:_,required:m.required,rows:H,value:W,onKeyDown:Ce,onKeyUp:Se,type:se,...g,...!ce.isHostComponent(le)&&{as:J,ownerState:{...Q,...g.ownerState}},ref:ze,className:e.clsx(ie.input,g.className,_&&"MuiInputBase-readOnly"),onBlur:Be,onChange:Fe,onFocus:ke})}),P,ne?ne({...m,startAdornment:z}):null]})]})});process.env.NODE_ENV!=="production"&&(xe.propTypes={"aria-describedby":e.PropTypes.string,autoComplete:e.PropTypes.string,autoFocus:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","error","info","success","warning"]),e.PropTypes.string]),components:e.PropTypes.shape({Input:e.PropTypes.elementType,Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({input:e.PropTypes.object,root:e.PropTypes.object}),defaultValue:e.PropTypes.any,disabled:e.PropTypes.bool,disableInjectingGlobalStyles:e.PropTypes.bool,endAdornment:e.PropTypes.node,error:e.PropTypes.bool,fullWidth:e.PropTypes.bool,id:e.PropTypes.string,inputComponent:Le.elementTypeAcceptingRef,inputProps:e.PropTypes.object,inputRef:De.refType,margin:e.PropTypes.oneOf(["dense","none"]),maxRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),minRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),multiline:e.PropTypes.bool,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onClick:e.PropTypes.func,onFocus:e.PropTypes.func,onInvalid:e.PropTypes.func,onKeyDown:e.PropTypes.func,onKeyUp:e.PropTypes.func,placeholder:e.PropTypes.string,readOnly:e.PropTypes.bool,renderSuffix:e.PropTypes.func,required:e.PropTypes.bool,rows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({input:e.PropTypes.object,root:e.PropTypes.object}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),startAdornment:e.PropTypes.node,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),type:e.PropTypes.string,value:e.PropTypes.any});exports.InputBase=xe;exports.InputBaseInput=we;exports.InputBaseRoot=ve;exports.inputBaseClasses=L;exports.inputOverridesResolver=Pe;exports.rootOverridesResolver=ge;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const V=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),q=require("./useTheme-CIf2b2wK.cjs"),$=require("react/jsx-runtime"),u=require("./DefaultPropsProvider-wpBXjN8r.cjs"),F=require("./memoTheme-DrjvJtTP.cjs"),R=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),x=require("./capitalize-CEByPz9F.cjs"),A=require("./Typography-DPij13XT.cjs"),m=require("./isFocusVisible-DlSijby6.cjs"),N=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs");function z(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const o in r)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>r[o]})}}return t.default=r,Object.freeze(t)}const h=z(V);function v(r){return e.generateUtilityClass("MuiLink",r)}const k=e.generateUtilityClasses("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),M=({theme:r,ownerState:t})=>{const o=t.color,n=e.getPath(r,`palette.${o}.main`,!1)||e.getPath(r,`palette.${o}`,!1)||t.color,s=e.getPath(r,`palette.${o}.mainChannel`)||e.getPath(r,`palette.${o}Channel`);return"vars"in r&&s?`rgba(${s} / 0.4)`:e.alpha(n,.4)},C={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},U=r=>{const{classes:t,component:o,focusVisible:n,underline:s}=r,l={root:["root",`underline${x.capitalize(s)}`,o==="button"&&"button",n&&"focusVisible"]};return u.composeClasses(l,v,t)},B=u.styled(A.Typography,{name:"MuiLink",slot:"Root",overridesResolver:(r,t)=>{const{ownerState:o}=r;return[t.root,t[`underline${x.capitalize(o.underline)}`],o.component==="button"&&t.button]}})(F.memoTheme(({theme:r})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:o})=>t==="always"&&o.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(r.palette).filter(R.createSimplePaletteValueFilter()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette[t].mainChannel} / 0.4)`:e.alpha(r.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.primaryChannel} / 0.4)`:e.alpha(r.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.secondaryChannel} / 0.4)`:e.alpha(r.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(r.vars||r).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.focusVisible}`]:{outline:"auto"}}}]}))),w=h.forwardRef(function(t,o){const n=u.useDefaultProps({props:t,name:"MuiLink"}),s=q.useTheme(),{className:l,color:a="primary",component:y="a",onBlur:d,onFocus:f,TypographyClasses:L,underline:b="always",variant:T="inherit",sx:p,...g}=n,[D,P]=h.useState(!1),O=i=>{m.isFocusVisible(i.target)||P(!1),d&&d(i)},j=i=>{m.isFocusVisible(i.target)&&P(!0),f&&f(i)},c={...n,color:a,component:y,focusVisible:D,underline:b,variant:T},S=U(c);return $.jsx(B,{color:a,className:e.clsx(S.root,l),classes:L,component:y,onBlur:O,onFocus:j,ref:o,ownerState:c,variant:T,...g,sx:[...C[a]===void 0?[{color:a}]:[],...Array.isArray(p)?p:[p]],style:{...g.style,...b==="always"&&a!=="inherit"&&!C[a]&&{"--Link-underlineColor":M({theme:s,ownerState:c})}}})});process.env.NODE_ENV!=="production"&&(w.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),e.PropTypes.string]),component:N.elementTypeAcceptingRef,onBlur:e.PropTypes.func,onFocus:e.PropTypes.func,style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TypographyClasses:e.PropTypes.object,underline:e.PropTypes.oneOf(["always","hover","none"]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),e.PropTypes.string])});exports.Link=w;exports.getLinkUtilityClass=v;exports.linkClasses=k;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { H as
|
|
3
|
-
import { u as j } from "./useTheme-
|
|
1
|
+
import * as v from "react";
|
|
2
|
+
import { H as S, I as V, N as l, n as c, G as P, P as o } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { u as j } from "./useTheme-BA7tMglY.js";
|
|
4
4
|
import { jsx as A } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import { m as M } from "./memoTheme-
|
|
5
|
+
import { u as F, s as N, c as R } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
6
|
+
import { m as M } from "./memoTheme-CqmIydD-.js";
|
|
7
7
|
import { c as B } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { e as z } from "./elementTypeAcceptingRef-D-5kcohU.js";
|
|
8
|
+
import { c as w } from "./capitalize-3KLkrEtk.js";
|
|
9
|
+
import { T as U } from "./Typography-SIQ6eleU.js";
|
|
11
10
|
import { i as h } from "./isFocusVisible-CPZqtjv2.js";
|
|
11
|
+
import { e as z } from "./elementTypeAcceptingRef-5ESWTE79.js";
|
|
12
12
|
function H(e) {
|
|
13
13
|
return V("MuiLink", e);
|
|
14
14
|
}
|
|
15
|
-
const E =
|
|
15
|
+
const E = S("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlways", "button", "focusVisible"]), W = ({
|
|
16
16
|
theme: e,
|
|
17
17
|
ownerState: r
|
|
18
18
|
}) => {
|
|
19
|
-
const n = r.color, t =
|
|
20
|
-
return "vars" in e && s ? `rgba(${s} / 0.4)` :
|
|
19
|
+
const n = r.color, t = l(e, `palette.${n}.main`, !1) || l(e, `palette.${n}`, !1) || r.color, s = l(e, `palette.${n}.mainChannel`) || l(e, `palette.${n}Channel`);
|
|
20
|
+
return "vars" in e && s ? `rgba(${s} / 0.4)` : c(t, 0.4);
|
|
21
21
|
}, k = {
|
|
22
22
|
primary: !0,
|
|
23
23
|
secondary: !0,
|
|
@@ -34,11 +34,11 @@ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
|
|
|
34
34
|
component: n,
|
|
35
35
|
focusVisible: t,
|
|
36
36
|
underline: s
|
|
37
|
-
} = e,
|
|
37
|
+
} = e, u = {
|
|
38
38
|
root: ["root", `underline${w(s)}`, n === "button" && "button", t && "focusVisible"]
|
|
39
39
|
};
|
|
40
|
-
return R(
|
|
41
|
-
}, I =
|
|
40
|
+
return R(u, H, r);
|
|
41
|
+
}, I = N(U, {
|
|
42
42
|
name: "MuiLink",
|
|
43
43
|
slot: "Root",
|
|
44
44
|
overridesResolver: (e, r) => {
|
|
@@ -91,7 +91,7 @@ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
|
|
|
91
91
|
color: r
|
|
92
92
|
},
|
|
93
93
|
style: {
|
|
94
|
-
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette[r].mainChannel} / 0.4)` :
|
|
94
|
+
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette[r].mainChannel} / 0.4)` : c(e.palette[r].main, 0.4)
|
|
95
95
|
}
|
|
96
96
|
})), {
|
|
97
97
|
props: {
|
|
@@ -99,7 +99,7 @@ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
|
|
|
99
99
|
color: "textPrimary"
|
|
100
100
|
},
|
|
101
101
|
style: {
|
|
102
|
-
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.4)` :
|
|
102
|
+
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.4)` : c(e.palette.text.primary, 0.4)
|
|
103
103
|
}
|
|
104
104
|
}, {
|
|
105
105
|
props: {
|
|
@@ -107,7 +107,7 @@ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
|
|
|
107
107
|
color: "textSecondary"
|
|
108
108
|
},
|
|
109
109
|
style: {
|
|
110
|
-
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.secondaryChannel} / 0.4)` :
|
|
110
|
+
"--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.secondaryChannel} / 0.4)` : c(e.palette.text.secondary, 0.4)
|
|
111
111
|
}
|
|
112
112
|
}, {
|
|
113
113
|
props: {
|
|
@@ -150,53 +150,53 @@ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlw
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
}]
|
|
153
|
-
}))), _ = /* @__PURE__ */
|
|
154
|
-
const t =
|
|
153
|
+
}))), _ = /* @__PURE__ */ v.forwardRef(function(r, n) {
|
|
154
|
+
const t = F({
|
|
155
155
|
props: r,
|
|
156
156
|
name: "MuiLink"
|
|
157
157
|
}), s = j(), {
|
|
158
|
-
className:
|
|
158
|
+
className: u,
|
|
159
159
|
color: a = "primary",
|
|
160
|
-
component:
|
|
161
|
-
onBlur:
|
|
162
|
-
onFocus:
|
|
160
|
+
component: y = "a",
|
|
161
|
+
onBlur: f,
|
|
162
|
+
onFocus: m,
|
|
163
163
|
TypographyClasses: L,
|
|
164
|
-
underline:
|
|
165
|
-
variant:
|
|
166
|
-
sx:
|
|
167
|
-
...
|
|
168
|
-
} = t, [T,
|
|
169
|
-
h(i.target) ||
|
|
170
|
-
},
|
|
171
|
-
h(i.target) &&
|
|
172
|
-
},
|
|
164
|
+
underline: b = "always",
|
|
165
|
+
variant: g = "inherit",
|
|
166
|
+
sx: p,
|
|
167
|
+
...x
|
|
168
|
+
} = t, [T, C] = v.useState(!1), D = (i) => {
|
|
169
|
+
h(i.target) || C(!1), f && f(i);
|
|
170
|
+
}, $ = (i) => {
|
|
171
|
+
h(i.target) && C(!0), m && m(i);
|
|
172
|
+
}, d = {
|
|
173
173
|
...t,
|
|
174
174
|
color: a,
|
|
175
|
-
component:
|
|
175
|
+
component: y,
|
|
176
176
|
focusVisible: T,
|
|
177
|
-
underline:
|
|
178
|
-
variant:
|
|
179
|
-
},
|
|
177
|
+
underline: b,
|
|
178
|
+
variant: g
|
|
179
|
+
}, O = G(d);
|
|
180
180
|
return /* @__PURE__ */ A(I, {
|
|
181
181
|
color: a,
|
|
182
|
-
className: P(
|
|
182
|
+
className: P(O.root, u),
|
|
183
183
|
classes: L,
|
|
184
|
-
component:
|
|
184
|
+
component: y,
|
|
185
185
|
onBlur: D,
|
|
186
|
-
onFocus:
|
|
186
|
+
onFocus: $,
|
|
187
187
|
ref: n,
|
|
188
|
-
ownerState:
|
|
189
|
-
variant:
|
|
190
|
-
...
|
|
188
|
+
ownerState: d,
|
|
189
|
+
variant: g,
|
|
190
|
+
...x,
|
|
191
191
|
sx: [...k[a] === void 0 ? [{
|
|
192
192
|
color: a
|
|
193
|
-
}] : [], ...Array.isArray(
|
|
193
|
+
}] : [], ...Array.isArray(p) ? p : [p]],
|
|
194
194
|
style: {
|
|
195
|
-
...
|
|
196
|
-
...
|
|
195
|
+
...x.style,
|
|
196
|
+
...b === "always" && a !== "inherit" && !k[a] && {
|
|
197
197
|
"--Link-underlineColor": W({
|
|
198
198
|
theme: s,
|
|
199
|
-
ownerState:
|
|
199
|
+
ownerState: d
|
|
200
200
|
})
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import { s as V, u as te, c as ne, r as je } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
2
|
+
import { H as ee, I as oe, G as Y, P as e, Z as ye } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { u as Le, a as fe } from "./useSlotProps-C9tsxDNg.js";
|
|
4
|
+
import { u as te, s as V, c as ne, r as je } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
6
5
|
import { jsx as z, jsxs as ke } from "react/jsx-runtime";
|
|
7
6
|
import { i as Fe } from "./isHostComponent-kiaBvYVo.js";
|
|
8
|
-
import { u as de } from "./useSlot-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { o as
|
|
12
|
-
import { o as
|
|
13
|
-
import { d as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
7
|
+
import { u as de } from "./useSlot-GZu0V5wJ.js";
|
|
8
|
+
import { P as ze, i as Ke } from "./Paper-BiZq6EF2.js";
|
|
9
|
+
import { G as He } from "./Grow-DKgYCxiY.js";
|
|
10
|
+
import { o as Z } from "./ownerDocument-CUrv0DIK.js";
|
|
11
|
+
import { o as J } from "./ownerWindow-niciwP7I.js";
|
|
12
|
+
import { d as Ue } from "./debounce-46wSf_lW.js";
|
|
13
|
+
import { u as ve } from "./useForkRef-C_4o__cU.js";
|
|
14
|
+
import { b as Ve, M as _e } from "./Modal-DTJd7JJ6.js";
|
|
16
15
|
import { c as Ae } from "./chainPropTypes-D9lkm76m.js";
|
|
17
|
-
import {
|
|
18
|
-
import { e as
|
|
19
|
-
import {
|
|
16
|
+
import { r as We } from "./refType-C210ipRY.js";
|
|
17
|
+
import { e as $e } from "./elementTypeAcceptingRef-5ESWTE79.js";
|
|
18
|
+
import { H as Q } from "./Portal-BByeByPq.js";
|
|
20
19
|
import { u as qe } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
21
|
-
const
|
|
22
|
-
process.env.NODE_ENV !== "production" && (
|
|
20
|
+
const Pe = /* @__PURE__ */ s.createContext({});
|
|
21
|
+
process.env.NODE_ENV !== "production" && (Pe.displayName = "ListContext");
|
|
23
22
|
function Be(t) {
|
|
24
|
-
return
|
|
23
|
+
return oe("MuiList", t);
|
|
25
24
|
}
|
|
26
|
-
const
|
|
25
|
+
const wo = ee("MuiList", ["root", "padding", "dense", "subheader"]), Ge = (t) => {
|
|
27
26
|
const {
|
|
28
27
|
classes: o,
|
|
29
28
|
disablePadding: n,
|
|
@@ -83,7 +82,7 @@ const Co = oe("MuiList", ["root", "padding", "dense", "subheader"]), Ge = (t) =>
|
|
|
83
82
|
dense: a,
|
|
84
83
|
disablePadding: m
|
|
85
84
|
}, i = Ge(D);
|
|
86
|
-
return /* @__PURE__ */ z(
|
|
85
|
+
return /* @__PURE__ */ z(Pe.Provider, {
|
|
87
86
|
value: S,
|
|
88
87
|
children: /* @__PURE__ */ ke(Ye, {
|
|
89
88
|
as: b,
|
|
@@ -180,7 +179,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
180
179
|
onKeyDown: O,
|
|
181
180
|
variant: S = "selectedMenu",
|
|
182
181
|
...D
|
|
183
|
-
} = o, i = s.useRef(null),
|
|
182
|
+
} = o, i = s.useRef(null), v = s.useRef({
|
|
184
183
|
keys: [],
|
|
185
184
|
repeating: !0,
|
|
186
185
|
previousKeyMatched: !0,
|
|
@@ -194,7 +193,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
194
193
|
}) => {
|
|
195
194
|
const f = !i.current.style.width;
|
|
196
195
|
if (r.clientHeight < i.current.clientHeight && f) {
|
|
197
|
-
const N = `${
|
|
196
|
+
const N = `${Ve(J(r))}px`;
|
|
198
197
|
i.current.style[l === "rtl" ? "paddingLeft" : "paddingRight"] = N, i.current.style.width = `calc(100% + ${N})`;
|
|
199
198
|
}
|
|
200
199
|
return i.current;
|
|
@@ -206,7 +205,7 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
206
205
|
O && O(r);
|
|
207
206
|
return;
|
|
208
207
|
}
|
|
209
|
-
const R =
|
|
208
|
+
const R = Z(l).activeElement;
|
|
210
209
|
if (f === "ArrowDown")
|
|
211
210
|
r.preventDefault(), W(l, R, E, m, X);
|
|
212
211
|
else if (f === "ArrowUp")
|
|
@@ -216,13 +215,13 @@ const Me = /* @__PURE__ */ s.forwardRef(function(o, n) {
|
|
|
216
215
|
else if (f === "End")
|
|
217
216
|
r.preventDefault(), W(l, null, E, m, he);
|
|
218
217
|
else if (f.length === 1) {
|
|
219
|
-
const p =
|
|
218
|
+
const p = v.current, M = f.toLowerCase(), L = performance.now();
|
|
220
219
|
p.keys.length > 0 && (L - p.lastTime > 500 ? (p.keys = [], p.repeating = !0, p.previousKeyMatched = !0) : p.repeating && M !== p.keys[0] && (p.repeating = !1)), p.lastTime = L, p.keys.push(M);
|
|
221
220
|
const x = R && !p.repeating && Ee(R, p);
|
|
222
221
|
p.previousKeyMatched && (x || W(l, R, !1, m, X, p)) ? r.preventDefault() : p.previousKeyMatched = !1;
|
|
223
222
|
}
|
|
224
223
|
O && O(r);
|
|
225
|
-
}, j =
|
|
224
|
+
}, j = ve(i, n);
|
|
226
225
|
let c = -1;
|
|
227
226
|
s.Children.forEach(b, (r, l) => {
|
|
228
227
|
if (!/* @__PURE__ */ s.isValidElement(r)) {
|
|
@@ -295,9 +294,9 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
|
|
|
295
294
|
variant: e.oneOf(["menu", "selectedMenu"])
|
|
296
295
|
});
|
|
297
296
|
function Xe(t) {
|
|
298
|
-
return
|
|
297
|
+
return oe("MuiPopover", t);
|
|
299
298
|
}
|
|
300
|
-
|
|
299
|
+
ee("MuiPopover", ["root", "paper"]);
|
|
301
300
|
function me(t, o) {
|
|
302
301
|
let n = 0;
|
|
303
302
|
return typeof o == "number" ? n = o : o === "center" ? n = t.height / 2 : o === "bottom" && (n = t.height), n;
|
|
@@ -312,7 +311,7 @@ function ge(t) {
|
|
|
312
311
|
function G(t) {
|
|
313
312
|
return typeof t == "function" ? t() : t;
|
|
314
313
|
}
|
|
315
|
-
const
|
|
314
|
+
const Ze = (t) => {
|
|
316
315
|
const {
|
|
317
316
|
classes: o
|
|
318
317
|
} = t;
|
|
@@ -320,11 +319,11 @@ const Je = (t) => {
|
|
|
320
319
|
root: ["root"],
|
|
321
320
|
paper: ["paper"]
|
|
322
321
|
}, Xe, o);
|
|
323
|
-
},
|
|
322
|
+
}, Je = V(_e, {
|
|
324
323
|
name: "MuiPopover",
|
|
325
324
|
slot: "Root",
|
|
326
325
|
overridesResolver: (t, o) => o.root
|
|
327
|
-
})({}), Oe = V(
|
|
326
|
+
})({}), Oe = V(ze, {
|
|
328
327
|
name: "MuiPopover",
|
|
329
328
|
slot: "Paper",
|
|
330
329
|
overridesResolver: (t, o) => o.paper
|
|
@@ -358,7 +357,7 @@ const Je = (t) => {
|
|
|
358
357
|
container: S,
|
|
359
358
|
elevation: D = 8,
|
|
360
359
|
marginThreshold: i = 16,
|
|
361
|
-
open:
|
|
360
|
+
open: v,
|
|
362
361
|
PaperProps: K = {},
|
|
363
362
|
slots: j = {},
|
|
364
363
|
slotProps: c = {},
|
|
@@ -366,7 +365,7 @@ const Je = (t) => {
|
|
|
366
365
|
vertical: "top",
|
|
367
366
|
horizontal: "left"
|
|
368
367
|
},
|
|
369
|
-
TransitionComponent: r =
|
|
368
|
+
TransitionComponent: r = He,
|
|
370
369
|
transitionDuration: l = "auto",
|
|
371
370
|
TransitionProps: {
|
|
372
371
|
onEntering: f,
|
|
@@ -385,10 +384,10 @@ const Je = (t) => {
|
|
|
385
384
|
TransitionComponent: r,
|
|
386
385
|
transitionDuration: l,
|
|
387
386
|
TransitionProps: N
|
|
388
|
-
}, _ =
|
|
387
|
+
}, _ = Ze(x), $ = s.useCallback(() => {
|
|
389
388
|
if (m === "anchorPosition")
|
|
390
389
|
return process.env.NODE_ENV !== "production" && (a || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), a;
|
|
391
|
-
const u = G(h), d = u && u.nodeType === 1 ? u :
|
|
390
|
+
const u = G(h), d = u && u.nodeType === 1 ? u : Z(L.current).body, T = d.getBoundingClientRect();
|
|
392
391
|
if (process.env.NODE_ENV !== "production") {
|
|
393
392
|
const F = d.getBoundingClientRect();
|
|
394
393
|
process.env.NODE_ENV !== "test" && F.top === 0 && F.left === 0 && F.right === 0 && F.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
@@ -414,7 +413,7 @@ const Je = (t) => {
|
|
|
414
413
|
};
|
|
415
414
|
const F = $();
|
|
416
415
|
let H = F.top - T.vertical, U = F.left - T.horizontal;
|
|
417
|
-
const le = H + d.height, ce = U + d.width, pe =
|
|
416
|
+
const le = H + d.height, ce = U + d.width, pe = J(G(h)), A = pe.innerHeight - i, ue = pe.innerWidth - i;
|
|
418
417
|
if (i !== null && H < i) {
|
|
419
418
|
const w = H - i;
|
|
420
419
|
H -= w, T.vertical += w;
|
|
@@ -435,7 +434,7 @@ const Je = (t) => {
|
|
|
435
434
|
left: `${Math.round(U)}px`,
|
|
436
435
|
transformOrigin: ge(T)
|
|
437
436
|
};
|
|
438
|
-
}, [h, m, $, q, i]), [
|
|
437
|
+
}, [h, m, $, q, i]), [P, k] = s.useState(v), I = s.useCallback(() => {
|
|
439
438
|
const u = L.current;
|
|
440
439
|
if (!u)
|
|
441
440
|
return;
|
|
@@ -449,24 +448,24 @@ const Je = (t) => {
|
|
|
449
448
|
k(!1);
|
|
450
449
|
};
|
|
451
450
|
s.useEffect(() => {
|
|
452
|
-
|
|
453
|
-
}), s.useImperativeHandle(g, () =>
|
|
451
|
+
v && I();
|
|
452
|
+
}), s.useImperativeHandle(g, () => v ? {
|
|
454
453
|
updatePosition: () => {
|
|
455
454
|
I();
|
|
456
455
|
}
|
|
457
|
-
} : null, [
|
|
458
|
-
if (!
|
|
456
|
+
} : null, [v, I]), s.useEffect(() => {
|
|
457
|
+
if (!v)
|
|
459
458
|
return;
|
|
460
|
-
const u =
|
|
459
|
+
const u = Ue(() => {
|
|
461
460
|
I();
|
|
462
|
-
}), d =
|
|
461
|
+
}), d = J(h);
|
|
463
462
|
return d.addEventListener("resize", u), () => {
|
|
464
463
|
u.clear(), d.removeEventListener("resize", u);
|
|
465
464
|
};
|
|
466
|
-
}, [h,
|
|
465
|
+
}, [h, v, I]);
|
|
467
466
|
let re = l;
|
|
468
467
|
l === "auto" && !r.muiSupportAuto && (re = void 0);
|
|
469
|
-
const Ne = S || (h ?
|
|
468
|
+
const Ne = S || (h ? Z(G(h)).body : void 0), se = {
|
|
470
469
|
slots: j,
|
|
471
470
|
slotProps: {
|
|
472
471
|
...c,
|
|
@@ -478,7 +477,7 @@ const Je = (t) => {
|
|
|
478
477
|
additionalProps: {
|
|
479
478
|
elevation: D,
|
|
480
479
|
className: Y(_.paper, M == null ? void 0 : M.className),
|
|
481
|
-
style:
|
|
480
|
+
style: P ? M.style : {
|
|
482
481
|
...M.style,
|
|
483
482
|
opacity: 0
|
|
484
483
|
}
|
|
@@ -488,7 +487,7 @@ const Je = (t) => {
|
|
|
488
487
|
slotProps: Se,
|
|
489
488
|
...De
|
|
490
489
|
}] = de("root", {
|
|
491
|
-
elementType:
|
|
490
|
+
elementType: Je,
|
|
492
491
|
externalForwardedProps: se,
|
|
493
492
|
additionalProps: {
|
|
494
493
|
slotProps: {
|
|
@@ -497,11 +496,11 @@ const Je = (t) => {
|
|
|
497
496
|
}
|
|
498
497
|
},
|
|
499
498
|
container: Ne,
|
|
500
|
-
open:
|
|
499
|
+
open: v
|
|
501
500
|
},
|
|
502
501
|
ownerState: x,
|
|
503
502
|
className: Y(_.root, O)
|
|
504
|
-
}), Ie =
|
|
503
|
+
}), Ie = ve(L, ie.ref);
|
|
505
504
|
return /* @__PURE__ */ z(ae, {
|
|
506
505
|
...De,
|
|
507
506
|
...!Fe(ae) && {
|
|
@@ -512,7 +511,7 @@ const Je = (t) => {
|
|
|
512
511
|
ref: n,
|
|
513
512
|
children: /* @__PURE__ */ z(r, {
|
|
514
513
|
appear: !0,
|
|
515
|
-
in:
|
|
514
|
+
in: v,
|
|
516
515
|
onEntering: we,
|
|
517
516
|
onExited: Ce,
|
|
518
517
|
timeout: re,
|
|
@@ -534,13 +533,13 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
534
533
|
* A ref for imperative actions.
|
|
535
534
|
* It currently only supports updatePosition() action.
|
|
536
535
|
*/
|
|
537
|
-
action:
|
|
536
|
+
action: We,
|
|
538
537
|
/**
|
|
539
538
|
* An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
|
|
540
539
|
* or a function that returns either.
|
|
541
540
|
* It's used to set the position of the popover.
|
|
542
541
|
*/
|
|
543
|
-
anchorEl: Ae(e.oneOfType([
|
|
542
|
+
anchorEl: Ae(e.oneOfType([Q, e.func]), (t) => {
|
|
544
543
|
if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
|
|
545
544
|
const o = G(t.anchorEl);
|
|
546
545
|
if (o && o.nodeType === 1) {
|
|
@@ -624,7 +623,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
624
623
|
* By default, it uses the body of the anchorEl's top-level document object,
|
|
625
624
|
* so it's simply `document.body` most of the time.
|
|
626
625
|
*/
|
|
627
|
-
container: e.oneOfType([
|
|
626
|
+
container: e.oneOfType([Q, e.func]),
|
|
628
627
|
/**
|
|
629
628
|
* Disable the scroll lock behavior.
|
|
630
629
|
* @default false
|
|
@@ -634,7 +633,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
634
633
|
* The elevation of the popover.
|
|
635
634
|
* @default 8
|
|
636
635
|
*/
|
|
637
|
-
elevation:
|
|
636
|
+
elevation: Ke,
|
|
638
637
|
/**
|
|
639
638
|
* Specifies how close to the edge of the window the popover can appear.
|
|
640
639
|
* If null, the popover will not be constrained by the window.
|
|
@@ -659,7 +658,7 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
659
658
|
* @default {}
|
|
660
659
|
*/
|
|
661
660
|
PaperProps: e.shape({
|
|
662
|
-
component:
|
|
661
|
+
component: $e
|
|
663
662
|
}),
|
|
664
663
|
/**
|
|
665
664
|
* The props used for each slot inside.
|
|
@@ -719,10 +718,10 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
719
718
|
*/
|
|
720
719
|
TransitionProps: e.object
|
|
721
720
|
});
|
|
722
|
-
function
|
|
723
|
-
return
|
|
721
|
+
function Qe(t) {
|
|
722
|
+
return oe("MuiMenu", t);
|
|
724
723
|
}
|
|
725
|
-
const
|
|
724
|
+
const Co = ee("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
726
725
|
vertical: "top",
|
|
727
726
|
horizontal: "right"
|
|
728
727
|
}, oo = {
|
|
@@ -736,7 +735,7 @@ const No = oe("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
|
736
735
|
root: ["root"],
|
|
737
736
|
paper: ["paper"],
|
|
738
737
|
list: ["list"]
|
|
739
|
-
},
|
|
738
|
+
}, Qe, o);
|
|
740
739
|
}, no = V(Re, {
|
|
741
740
|
shouldForwardProp: (t) => je(t) || t === "classes",
|
|
742
741
|
name: "MuiMenu",
|
|
@@ -776,7 +775,7 @@ const No = oe("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
|
776
775
|
PopoverClasses: D,
|
|
777
776
|
transitionDuration: i = "auto",
|
|
778
777
|
TransitionProps: {
|
|
779
|
-
onEntering:
|
|
778
|
+
onEntering: v,
|
|
780
779
|
...K
|
|
781
780
|
} = {},
|
|
782
781
|
variant: j = "selectedMenu",
|
|
@@ -788,22 +787,22 @@ const No = oe("MuiMenu", ["root", "paper", "list"]), eo = {
|
|
|
788
787
|
autoFocus: g,
|
|
789
788
|
disableAutoFocusItem: a,
|
|
790
789
|
MenuListProps: m,
|
|
791
|
-
onEntering:
|
|
790
|
+
onEntering: v,
|
|
792
791
|
PaperProps: S,
|
|
793
792
|
transitionDuration: i,
|
|
794
793
|
TransitionProps: K,
|
|
795
794
|
variant: j
|
|
796
|
-
}, N = to(f), R = g && !a && O, p = s.useRef(null), M = (
|
|
797
|
-
p.current && p.current.adjustStyleForScrollbar(
|
|
795
|
+
}, N = to(f), R = g && !a && O, p = s.useRef(null), M = (P, k) => {
|
|
796
|
+
p.current && p.current.adjustStyleForScrollbar(P, {
|
|
798
797
|
direction: l ? "rtl" : "ltr"
|
|
799
|
-
}),
|
|
800
|
-
}, L = (
|
|
801
|
-
|
|
798
|
+
}), v && v(P, k);
|
|
799
|
+
}, L = (P) => {
|
|
800
|
+
P.key === "Tab" && (P.preventDefault(), E && E(P, "tabKeyDown"));
|
|
802
801
|
};
|
|
803
802
|
let x = -1;
|
|
804
|
-
s.Children.map(h, (
|
|
805
|
-
/* @__PURE__ */ s.isValidElement(
|
|
806
|
-
`)),
|
|
803
|
+
s.Children.map(h, (P, k) => {
|
|
804
|
+
/* @__PURE__ */ s.isValidElement(P) && (process.env.NODE_ENV !== "production" && ye.isFragment(P) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
805
|
+
`)), P.props.disabled || (j === "selectedMenu" && P.props.selected || x === -1) && (x = k));
|
|
807
806
|
});
|
|
808
807
|
const _ = c.paper ?? ro, $ = C.paper ?? S, q = fe({
|
|
809
808
|
elementType: c.root,
|
|
@@ -862,7 +861,7 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
|
862
861
|
* An HTML element, or a function that returns one.
|
|
863
862
|
* It's used to set the position of the menu.
|
|
864
863
|
*/
|
|
865
|
-
anchorEl: e.oneOfType([
|
|
864
|
+
anchorEl: e.oneOfType([Q, e.func]),
|
|
866
865
|
/**
|
|
867
866
|
* If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
|
|
868
867
|
* children are not focusable. If you set this prop to `false` focus will be placed
|
|
@@ -959,9 +958,9 @@ process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
|
959
958
|
export {
|
|
960
959
|
Te as L,
|
|
961
960
|
io as M,
|
|
962
|
-
|
|
963
|
-
|
|
961
|
+
Qe as a,
|
|
962
|
+
Pe as b,
|
|
964
963
|
Be as g,
|
|
965
|
-
|
|
966
|
-
|
|
964
|
+
wo as l,
|
|
965
|
+
Co as m
|
|
967
966
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";const je=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),Y=require("./useSlotProps-CvOxvhyy.cjs"),E=require("./DefaultPropsProvider-wpBXjN8r.cjs"),k=require("react/jsx-runtime"),Le=require("./isHostComponent-PydJW4A4.cjs"),ce=require("./useSlot-CC2AaOjN.cjs"),Pe=require("./Paper-EvOTlB_Q.cjs"),Ie=require("./Grow-Z3KzFaK5.cjs"),J=require("./ownerDocument-4MViGo3k.cjs"),Q=require("./ownerWindow-DDHucZi0.cjs"),ke=require("./debounce-DpCj7ugL.cjs"),Te=require("./useForkRef-CTI33h-3.cjs"),he=require("./Modal-u82Ss4h_.cjs"),Fe=require("./chainPropTypes-CEUi6Jb4.cjs"),qe=require("./refType-BkobP3bK.cjs"),Ue=require("./elementTypeAcceptingRef-BjgxF5Bq.cjs"),Z=require("./Portal-DUHpWdY1.cjs"),ze=require("./useEnhancedEffect-BQZ6dtCo.cjs");function He(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const h=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,h.get?h:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const n=He(je),ee=n.createContext({});process.env.NODE_ENV!=="production"&&(ee.displayName="ListContext");function me(o){return e.generateUtilityClass("MuiList",o)}const Ke=e.generateUtilityClasses("MuiList",["root","padding","dense","subheader"]),_e=o=>{const{classes:t,disablePadding:r,dense:h,subheader:m}=o,f={root:["root",!r&&"padding",h&&"dense",m&&"subheader"]};return E.composeClasses(f,me,t)},Ve=E.styled("ul",{name:"MuiList",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:o})=>!o.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:o})=>o.subheader,style:{paddingTop:0}}]}),oe=n.forwardRef(function(t,r){const h=E.useDefaultProps({props:t,name:"MuiList"}),{children:m,className:f,component:T="ul",dense:p=!1,disablePadding:P=!1,subheader:O,...w}=h,S=n.useMemo(()=>({dense:p}),[p]),j={...h,component:T,dense:p,disablePadding:P},i=_e(j);return k.jsx(ee.Provider,{value:S,children:k.jsxs(Ve,{as:T,className:e.clsx(i.root,f),ref:r,ownerState:j,...w,children:[O,m]})})});process.env.NODE_ENV!=="production"&&(oe.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,dense:e.PropTypes.bool,disablePadding:e.PropTypes.bool,subheader:e.PropTypes.node,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});function X(o,t,r){return o===t?o.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:o.firstChild}function ue(o,t,r){return o===t?r?o.firstChild:o.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:o.lastChild}function ge(o,t){if(t===void 0)return!0;let r=o.innerText;return r===void 0&&(r=o.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function A(o,t,r,h,m,f){let T=!1,p=m(o,t,t?r:!1);for(;p;){if(p===o.firstChild){if(T)return!1;T=!0}const P=h?!1:p.disabled||p.getAttribute("aria-disabled")==="true";if(!p.hasAttribute("tabindex")||!ge(p,f)||P)p=m(o,p,r);else return p.focus(),!0}return!1}const be=n.forwardRef(function(t,r){const{actions:h,autoFocus:m=!1,autoFocusItem:f=!1,children:T,className:p,disabledItemsFocusable:P=!1,disableListWrap:O=!1,onKeyDown:w,variant:S="selectedMenu",...j}=t,i=n.useRef(null),g=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ze.useEnhancedEffect(()=>{m&&i.current.focus()},[m]),n.useImperativeHandle(h,()=>({adjustStyleForScrollbar:(s,{direction:a})=>{const d=!i.current.style.width;if(s.clientHeight<i.current.clientHeight&&d){const D=`${he.getScrollbarSize(Q.ownerWindow(s))}px`;i.current.style[a==="rtl"?"paddingLeft":"paddingRight"]=D,i.current.style.width=`calc(100% + ${D})`}return i.current}}),[]);const z=s=>{const a=i.current,d=s.key;if(s.ctrlKey||s.metaKey||s.altKey){w&&w(s);return}const R=J.ownerDocument(a).activeElement;if(d==="ArrowDown")s.preventDefault(),A(a,R,O,P,X);else if(d==="ArrowUp")s.preventDefault(),A(a,R,O,P,ue);else if(d==="Home")s.preventDefault(),A(a,null,O,P,X);else if(d==="End")s.preventDefault(),A(a,null,O,P,ue);else if(d.length===1){const c=g.current,M=d.toLowerCase(),I=performance.now();c.keys.length>0&&(I-c.lastTime>500?(c.keys=[],c.repeating=!0,c.previousKeyMatched=!0):c.repeating&&M!==c.keys[0]&&(c.repeating=!1)),c.lastTime=I,c.keys.push(M);const N=R&&!c.repeating&&ge(R,c);c.previousKeyMatched&&(N||A(a,R,!1,P,X,c))?s.preventDefault():c.previousKeyMatched=!1}w&&w(s)},F=Te.useForkRef(i,r);let l=-1;n.Children.forEach(T,(s,a)=>{if(!n.isValidElement(s)){l===a&&(l+=1,l>=T.length&&(l=-1));return}process.env.NODE_ENV!=="production"&&e.reactIsExports.isFragment(s)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
2
|
+
`)),s.props.disabled||(S==="selectedMenu"&&s.props.selected||l===-1)&&(l=a),l===a&&(s.props.disabled||s.props.muiSkipListHighlight||s.type.muiSkipListHighlight)&&(l+=1,l>=T.length&&(l=-1))});const x=n.Children.map(T,(s,a)=>{if(a===l){const d={};return f&&(d.autoFocus=!0),s.props.tabIndex===void 0&&S==="selectedMenu"&&(d.tabIndex=0),n.cloneElement(s,d)}return s});return k.jsx(oe,{role:"menu",ref:F,className:p,onKeyDown:z,tabIndex:m?0:-1,...j,children:x})});process.env.NODE_ENV!=="production"&&(be.propTypes={autoFocus:e.PropTypes.bool,autoFocusItem:e.PropTypes.bool,children:e.PropTypes.node,className:e.PropTypes.string,disabledItemsFocusable:e.PropTypes.bool,disableListWrap:e.PropTypes.bool,onKeyDown:e.PropTypes.func,variant:e.PropTypes.oneOf(["menu","selectedMenu"])});function Ae(o){return e.generateUtilityClass("MuiPopover",o)}e.generateUtilityClasses("MuiPopover",["root","paper"]);function fe(o,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=o.height/2:t==="bottom"&&(r=o.height),r}function de(o,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=o.width/2:t==="right"&&(r=o.width),r}function ye(o){return[o.horizontal,o.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function G(o){return typeof o=="function"?o():o}const We=o=>{const{classes:t}=o,r={root:["root"],paper:["paper"]};return E.composeClasses(r,Ae,t)},$e=E.styled(he.Modal,{name:"MuiPopover",slot:"Root",overridesResolver:(o,t)=>t.root})({}),ve=E.styled(Pe.Paper,{name:"MuiPopover",slot:"Paper",overridesResolver:(o,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ee=n.forwardRef(function(t,r){const h=E.useDefaultProps({props:t,name:"MuiPopover"}),{action:m,anchorEl:f,anchorOrigin:T={vertical:"top",horizontal:"left"},anchorPosition:p,anchorReference:P="anchorEl",children:O,className:w,container:S,elevation:j=8,marginThreshold:i=16,open:g,PaperProps:z={},slots:F={},slotProps:l={},transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:s=Ie.Grow,transitionDuration:a="auto",TransitionProps:{onEntering:d,...D}={},disableScrollLock:R=!1,...c}=h,M=(l==null?void 0:l.paper)??z,I=n.useRef(),N={...h,anchorOrigin:T,anchorReference:P,elevation:j,marginThreshold:i,externalPaperSlotProps:M,transformOrigin:x,TransitionComponent:s,transitionDuration:a,TransitionProps:D},_=We(N),W=n.useCallback(()=>{if(P==="anchorPosition")return process.env.NODE_ENV!=="production"&&(p||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),p;const u=G(f),y=u&&u.nodeType===1?u:J.ownerDocument(I.current).body,v=y.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const U=y.getBoundingClientRect();process.env.NODE_ENV!=="test"&&U.top===0&&U.left===0&&U.right===0&&U.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
3
|
+
`))}return{top:v.top+fe(v,T.vertical),left:v.left+de(v,T.horizontal)}},[f,T.horizontal,T.vertical,p,P]),$=n.useCallback(u=>({vertical:fe(u,x.vertical),horizontal:de(u,x.horizontal)}),[x.horizontal,x.vertical]),B=n.useCallback(u=>{const y={width:u.offsetWidth,height:u.offsetHeight},v=$(y);if(P==="none")return{top:null,left:null,transformOrigin:ye(v)};const U=W();let H=U.top-v.vertical,K=U.left-v.horizontal;const ie=H+y.height,pe=K+y.width,ae=Q.ownerWindow(G(f)),V=ae.innerHeight-i,le=ae.innerWidth-i;if(i!==null&&H<i){const C=H-i;H-=C,v.vertical+=C}else if(i!==null&&ie>V){const C=ie-V;H-=C,v.vertical+=C}if(process.env.NODE_ENV!=="production"&&y.height>V&&y.height&&V&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${y.height-V}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
4
|
+
`)),i!==null&&K<i){const C=K-i;K-=C,v.horizontal+=C}else if(pe>le){const C=pe-le;K-=C,v.horizontal+=C}return{top:`${Math.round(H)}px`,left:`${Math.round(K)}px`,transformOrigin:ye(v)}},[f,P,W,$,i]),[b,q]=n.useState(g),L=n.useCallback(()=>{const u=I.current;if(!u)return;const y=B(u);y.top!==null&&u.style.setProperty("top",y.top),y.left!==null&&(u.style.left=y.left),u.style.transformOrigin=y.transformOrigin,q(!0)},[B]);n.useEffect(()=>(R&&window.addEventListener("scroll",L),()=>window.removeEventListener("scroll",L)),[f,R,L]);const we=(u,y)=>{d&&d(u,y),L()},Re=()=>{q(!1)};n.useEffect(()=>{g&&L()}),n.useImperativeHandle(m,()=>g?{updatePosition:()=>{L()}}:null,[g,L]),n.useEffect(()=>{if(!g)return;const u=ke.debounce(()=>{L()}),y=Q.ownerWindow(f);return y.addEventListener("resize",u),()=>{u.clear(),y.removeEventListener("resize",u)}},[f,g,L]);let te=a;a==="auto"&&!s.muiSupportAuto&&(te=void 0);const Ce=S||(f?J.ownerDocument(G(f)).body:void 0),re={slots:F,slotProps:{...l,paper:M}},[xe,se]=ce.useSlot("paper",{elementType:ve,externalForwardedProps:re,additionalProps:{elevation:j,className:e.clsx(_.paper,M==null?void 0:M.className),style:b?M.style:{...M.style,opacity:0}},ownerState:N}),[ne,{slotProps:De,...Ne}]=ce.useSlot("root",{elementType:$e,externalForwardedProps:re,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:Ce,open:g},ownerState:N,className:e.clsx(_.root,w)}),Se=Te.useForkRef(I,se.ref);return k.jsx(ne,{...Ne,...!Le.isHostComponent(ne)&&{slotProps:De,disableScrollLock:R},...c,ref:r,children:k.jsx(s,{appear:!0,in:g,onEntering:we,onExited:Re,timeout:te,...D,children:k.jsx(xe,{...se,ref:Se,children:O})})})});process.env.NODE_ENV!=="production"&&(Ee.propTypes={action:qe.refType,anchorEl:Fe.chainPropTypes(e.PropTypes.oneOfType([Z.HTMLElementType,e.PropTypes.func]),o=>{if(o.open&&(!o.anchorReference||o.anchorReference==="anchorEl")){const t=G(o.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
5
|
+
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
|
|
6
|
+
`))}return null}),anchorOrigin:e.PropTypes.shape({horizontal:e.PropTypes.oneOfType([e.PropTypes.oneOf(["center","left","right"]),e.PropTypes.number]).isRequired,vertical:e.PropTypes.oneOfType([e.PropTypes.oneOf(["bottom","center","top"]),e.PropTypes.number]).isRequired}),anchorPosition:e.PropTypes.shape({left:e.PropTypes.number.isRequired,top:e.PropTypes.number.isRequired}),anchorReference:e.PropTypes.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:e.PropTypes.elementType,BackdropProps:e.PropTypes.object,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,container:e.PropTypes.oneOfType([Z.HTMLElementType,e.PropTypes.func]),disableScrollLock:e.PropTypes.bool,elevation:Pe.integerPropType,marginThreshold:e.PropTypes.number,onClose:e.PropTypes.func,open:e.PropTypes.bool.isRequired,PaperProps:e.PropTypes.shape({component:Ue.elementTypeAcceptingRef}),slotProps:e.PropTypes.shape({paper:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({paper:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),transformOrigin:e.PropTypes.shape({horizontal:e.PropTypes.oneOfType([e.PropTypes.oneOf(["center","left","right"]),e.PropTypes.number]).isRequired,vertical:e.PropTypes.oneOfType([e.PropTypes.oneOf(["bottom","center","top"]),e.PropTypes.number]).isRequired}),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.oneOf(["auto"]),e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})]),TransitionProps:e.PropTypes.object});function Oe(o){return e.generateUtilityClass("MuiMenu",o)}const Be=e.generateUtilityClasses("MuiMenu",["root","paper","list"]),Ge={vertical:"top",horizontal:"right"},Ye={vertical:"top",horizontal:"left"},Xe=o=>{const{classes:t}=o,r={root:["root"],paper:["paper"],list:["list"]};return E.composeClasses(r,Oe,t)},Je=E.styled(Ee,{shouldForwardProp:o=>E.rootShouldForwardProp(o)||o==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(o,t)=>t.root})({}),Qe=E.styled(ve,{name:"MuiMenu",slot:"Paper",overridesResolver:(o,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ze=E.styled(be,{name:"MuiMenu",slot:"List",overridesResolver:(o,t)=>t.list})({outline:0}),Me=n.forwardRef(function(t,r){const h=E.useDefaultProps({props:t,name:"MuiMenu"}),{autoFocus:m=!0,children:f,className:T,disableAutoFocusItem:p=!1,MenuListProps:P={},onClose:O,open:w,PaperProps:S={},PopoverClasses:j,transitionDuration:i="auto",TransitionProps:{onEntering:g,...z}={},variant:F="selectedMenu",slots:l={},slotProps:x={},...s}=h,a=Y.useRtl(),d={...h,autoFocus:m,disableAutoFocusItem:p,MenuListProps:P,onEntering:g,PaperProps:S,transitionDuration:i,TransitionProps:z,variant:F},D=Xe(d),R=m&&!p&&w,c=n.useRef(null),M=(b,q)=>{c.current&&c.current.adjustStyleForScrollbar(b,{direction:a?"rtl":"ltr"}),g&&g(b,q)},I=b=>{b.key==="Tab"&&(b.preventDefault(),O&&O(b,"tabKeyDown"))};let N=-1;n.Children.map(f,(b,q)=>{n.isValidElement(b)&&(process.env.NODE_ENV!=="production"&&e.reactIsExports.isFragment(b)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
7
|
+
`)),b.props.disabled||(F==="selectedMenu"&&b.props.selected||N===-1)&&(N=q))});const _=l.paper??Qe,W=x.paper??S,$=Y.useSlotProps({elementType:l.root,externalSlotProps:x.root,ownerState:d,className:[D.root,T]}),B=Y.useSlotProps({elementType:_,externalSlotProps:W,ownerState:d,className:D.paper});return k.jsx(Je,{onClose:O,anchorOrigin:{vertical:"bottom",horizontal:a?"right":"left"},transformOrigin:a?Ge:Ye,slots:{paper:_,root:l.root},slotProps:{root:$,paper:B},open:w,ref:r,transitionDuration:i,TransitionProps:{onEntering:M,...z},ownerState:d,...s,classes:j,children:k.jsx(Ze,{onKeyDown:I,actions:c,autoFocus:m&&(N===-1||p),autoFocusItem:R,variant:F,...P,className:e.clsx(D.list,P.className),children:f})})});process.env.NODE_ENV!=="production"&&(Me.propTypes={anchorEl:e.PropTypes.oneOfType([Z.HTMLElementType,e.PropTypes.func]),autoFocus:e.PropTypes.bool,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableAutoFocusItem:e.PropTypes.bool,MenuListProps:e.PropTypes.object,onClose:e.PropTypes.func,open:e.PropTypes.bool.isRequired,PaperProps:e.PropTypes.object,PopoverClasses:e.PropTypes.object,slotProps:e.PropTypes.shape({paper:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({paper:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),transitionDuration:e.PropTypes.oneOfType([e.PropTypes.oneOf(["auto"]),e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})]),TransitionProps:e.PropTypes.object,variant:e.PropTypes.oneOf(["menu","selectedMenu"])});exports.List=oe;exports.ListContext=ee;exports.Menu=Me;exports.getListUtilityClass=me;exports.getMenuUtilityClass=Oe;exports.listClasses=Ke;exports.menuClasses=Be;
|