@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,478 @@
|
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
import { H as io, I as po, G as k, P as o } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { u as co } from "./useTheme-BA7tMglY.js";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
import { u as uo, s as m, c as mo } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
6
|
+
import { m as bo } from "./memoTheme-CqmIydD-.js";
|
|
7
|
+
import { u as p } from "./useSlot-GZu0V5wJ.js";
|
|
8
|
+
import { P as B } from "./Paper-BiZq6EF2.js";
|
|
9
|
+
import { F as w, B as fo } from "./Backdrop-BctCVgLy.js";
|
|
10
|
+
import { u as yo } from "./useId-CK6Kn3Tn.js";
|
|
11
|
+
import { c as l } from "./capitalize-3KLkrEtk.js";
|
|
12
|
+
import { M as ho } from "./Modal-DTJd7JJ6.js";
|
|
13
|
+
const O = /* @__PURE__ */ u.createContext({});
|
|
14
|
+
process.env.NODE_ENV !== "production" && (O.displayName = "DialogContext");
|
|
15
|
+
function go(r) {
|
|
16
|
+
return po("MuiDialog", r);
|
|
17
|
+
}
|
|
18
|
+
const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), xo = m(fo, {
|
|
19
|
+
name: "MuiDialog",
|
|
20
|
+
slot: "Backdrop",
|
|
21
|
+
overrides: (r, e) => e.backdrop
|
|
22
|
+
})({
|
|
23
|
+
// Improve scrollable dialog support.
|
|
24
|
+
zIndex: -1
|
|
25
|
+
}), ko = (r) => {
|
|
26
|
+
const {
|
|
27
|
+
classes: e,
|
|
28
|
+
scroll: a,
|
|
29
|
+
maxWidth: c,
|
|
30
|
+
fullWidth: d,
|
|
31
|
+
fullScreen: b
|
|
32
|
+
} = r, f = {
|
|
33
|
+
root: ["root"],
|
|
34
|
+
container: ["container", `scroll${l(a)}`],
|
|
35
|
+
paper: ["paper", `paperScroll${l(a)}`, `paperWidth${l(String(c))}`, d && "paperFullWidth", b && "paperFullScreen"]
|
|
36
|
+
};
|
|
37
|
+
return mo(f, go, e);
|
|
38
|
+
}, Po = m(ho, {
|
|
39
|
+
name: "MuiDialog",
|
|
40
|
+
slot: "Root",
|
|
41
|
+
overridesResolver: (r, e) => e.root
|
|
42
|
+
})({
|
|
43
|
+
"@media print": {
|
|
44
|
+
// Use !important to override the Modal inline-style.
|
|
45
|
+
position: "absolute !important"
|
|
46
|
+
}
|
|
47
|
+
}), Co = m("div", {
|
|
48
|
+
name: "MuiDialog",
|
|
49
|
+
slot: "Container",
|
|
50
|
+
overridesResolver: (r, e) => {
|
|
51
|
+
const {
|
|
52
|
+
ownerState: a
|
|
53
|
+
} = r;
|
|
54
|
+
return [e.container, e[`scroll${l(a.scroll)}`]];
|
|
55
|
+
}
|
|
56
|
+
})({
|
|
57
|
+
height: "100%",
|
|
58
|
+
"@media print": {
|
|
59
|
+
height: "auto"
|
|
60
|
+
},
|
|
61
|
+
// We disable the focus ring for mouse, touch and keyboard users.
|
|
62
|
+
outline: 0,
|
|
63
|
+
variants: [{
|
|
64
|
+
props: {
|
|
65
|
+
scroll: "paper"
|
|
66
|
+
},
|
|
67
|
+
style: {
|
|
68
|
+
display: "flex",
|
|
69
|
+
justifyContent: "center",
|
|
70
|
+
alignItems: "center"
|
|
71
|
+
}
|
|
72
|
+
}, {
|
|
73
|
+
props: {
|
|
74
|
+
scroll: "body"
|
|
75
|
+
},
|
|
76
|
+
style: {
|
|
77
|
+
overflowY: "auto",
|
|
78
|
+
overflowX: "hidden",
|
|
79
|
+
textAlign: "center",
|
|
80
|
+
"&::after": {
|
|
81
|
+
content: '""',
|
|
82
|
+
display: "inline-block",
|
|
83
|
+
verticalAlign: "middle",
|
|
84
|
+
height: "100%",
|
|
85
|
+
width: "0"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}]
|
|
89
|
+
}), So = m(B, {
|
|
90
|
+
name: "MuiDialog",
|
|
91
|
+
slot: "Paper",
|
|
92
|
+
overridesResolver: (r, e) => {
|
|
93
|
+
const {
|
|
94
|
+
ownerState: a
|
|
95
|
+
} = r;
|
|
96
|
+
return [e.paper, e[`scrollPaper${l(a.scroll)}`], e[`paperWidth${l(String(a.maxWidth))}`], a.fullWidth && e.paperFullWidth, a.fullScreen && e.paperFullScreen];
|
|
97
|
+
}
|
|
98
|
+
})(bo(({
|
|
99
|
+
theme: r
|
|
100
|
+
}) => ({
|
|
101
|
+
margin: 32,
|
|
102
|
+
position: "relative",
|
|
103
|
+
overflowY: "auto",
|
|
104
|
+
"@media print": {
|
|
105
|
+
overflowY: "visible",
|
|
106
|
+
boxShadow: "none"
|
|
107
|
+
},
|
|
108
|
+
variants: [{
|
|
109
|
+
props: {
|
|
110
|
+
scroll: "paper"
|
|
111
|
+
},
|
|
112
|
+
style: {
|
|
113
|
+
display: "flex",
|
|
114
|
+
flexDirection: "column",
|
|
115
|
+
maxHeight: "calc(100% - 64px)"
|
|
116
|
+
}
|
|
117
|
+
}, {
|
|
118
|
+
props: {
|
|
119
|
+
scroll: "body"
|
|
120
|
+
},
|
|
121
|
+
style: {
|
|
122
|
+
display: "inline-block",
|
|
123
|
+
verticalAlign: "middle",
|
|
124
|
+
textAlign: "initial"
|
|
125
|
+
}
|
|
126
|
+
}, {
|
|
127
|
+
props: ({
|
|
128
|
+
ownerState: e
|
|
129
|
+
}) => !e.maxWidth,
|
|
130
|
+
style: {
|
|
131
|
+
maxWidth: "calc(100% - 64px)"
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
props: {
|
|
135
|
+
maxWidth: "xs"
|
|
136
|
+
},
|
|
137
|
+
style: {
|
|
138
|
+
maxWidth: r.breakpoints.unit === "px" ? Math.max(r.breakpoints.values.xs, 444) : `max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,
|
|
139
|
+
[`&.${P.paperScrollBody}`]: {
|
|
140
|
+
[r.breakpoints.down(Math.max(r.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
141
|
+
maxWidth: "calc(100% - 64px)"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}, ...Object.keys(r.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
|
|
146
|
+
props: {
|
|
147
|
+
maxWidth: e
|
|
148
|
+
},
|
|
149
|
+
style: {
|
|
150
|
+
maxWidth: `${r.breakpoints.values[e]}${r.breakpoints.unit}`,
|
|
151
|
+
[`&.${P.paperScrollBody}`]: {
|
|
152
|
+
[r.breakpoints.down(r.breakpoints.values[e] + 32 * 2)]: {
|
|
153
|
+
maxWidth: "calc(100% - 64px)"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
})), {
|
|
158
|
+
props: ({
|
|
159
|
+
ownerState: e
|
|
160
|
+
}) => e.fullWidth,
|
|
161
|
+
style: {
|
|
162
|
+
width: "calc(100% - 64px)"
|
|
163
|
+
}
|
|
164
|
+
}, {
|
|
165
|
+
props: ({
|
|
166
|
+
ownerState: e
|
|
167
|
+
}) => e.fullScreen,
|
|
168
|
+
style: {
|
|
169
|
+
margin: 0,
|
|
170
|
+
width: "100%",
|
|
171
|
+
maxWidth: "100%",
|
|
172
|
+
height: "100%",
|
|
173
|
+
maxHeight: "none",
|
|
174
|
+
borderRadius: 0,
|
|
175
|
+
[`&.${P.paperScrollBody}`]: {
|
|
176
|
+
margin: 0,
|
|
177
|
+
maxWidth: "100%"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}]
|
|
181
|
+
}))), To = /* @__PURE__ */ u.forwardRef(function(e, a) {
|
|
182
|
+
const c = uo({
|
|
183
|
+
props: e,
|
|
184
|
+
name: "MuiDialog"
|
|
185
|
+
}), d = co(), b = {
|
|
186
|
+
enter: d.transitions.duration.enteringScreen,
|
|
187
|
+
exit: d.transitions.duration.leavingScreen
|
|
188
|
+
}, {
|
|
189
|
+
"aria-describedby": f,
|
|
190
|
+
"aria-labelledby": M,
|
|
191
|
+
"aria-modal": j = !0,
|
|
192
|
+
BackdropComponent: F,
|
|
193
|
+
BackdropProps: $,
|
|
194
|
+
children: N,
|
|
195
|
+
className: R,
|
|
196
|
+
disableEscapeKeyDown: C = !1,
|
|
197
|
+
fullScreen: E = !1,
|
|
198
|
+
fullWidth: A = !1,
|
|
199
|
+
maxWidth: I = "sm",
|
|
200
|
+
onBackdropClick: S,
|
|
201
|
+
onClick: T,
|
|
202
|
+
onClose: y,
|
|
203
|
+
open: D,
|
|
204
|
+
PaperComponent: U = B,
|
|
205
|
+
PaperProps: v = {},
|
|
206
|
+
scroll: H = "paper",
|
|
207
|
+
slots: K = {},
|
|
208
|
+
slotProps: L = {},
|
|
209
|
+
TransitionComponent: V = w,
|
|
210
|
+
transitionDuration: W = b,
|
|
211
|
+
TransitionProps: X,
|
|
212
|
+
...Y
|
|
213
|
+
} = c, t = {
|
|
214
|
+
...c,
|
|
215
|
+
disableEscapeKeyDown: C,
|
|
216
|
+
fullScreen: E,
|
|
217
|
+
fullWidth: A,
|
|
218
|
+
maxWidth: I,
|
|
219
|
+
scroll: H
|
|
220
|
+
}, h = ko(t), g = u.useRef(), z = (n) => {
|
|
221
|
+
g.current = n.target === n.currentTarget;
|
|
222
|
+
}, _ = (n) => {
|
|
223
|
+
T && T(n), g.current && (g.current = null, S && S(n), y && y(n, "backdropClick"));
|
|
224
|
+
}, x = yo(M), q = u.useMemo(() => ({
|
|
225
|
+
titleId: x
|
|
226
|
+
}), [x]), G = {
|
|
227
|
+
transition: V,
|
|
228
|
+
...K
|
|
229
|
+
}, J = {
|
|
230
|
+
transition: X,
|
|
231
|
+
paper: v,
|
|
232
|
+
backdrop: $,
|
|
233
|
+
...L
|
|
234
|
+
}, s = {
|
|
235
|
+
slots: G,
|
|
236
|
+
slotProps: J
|
|
237
|
+
}, [Q, Z] = p("root", {
|
|
238
|
+
elementType: Po,
|
|
239
|
+
shouldForwardComponentProp: !0,
|
|
240
|
+
externalForwardedProps: s,
|
|
241
|
+
ownerState: t,
|
|
242
|
+
className: k(h.root, R),
|
|
243
|
+
ref: a
|
|
244
|
+
}), [oo, eo] = p("backdrop", {
|
|
245
|
+
elementType: xo,
|
|
246
|
+
shouldForwardComponentProp: !0,
|
|
247
|
+
externalForwardedProps: s,
|
|
248
|
+
ownerState: t
|
|
249
|
+
}), [ro, ao] = p("paper", {
|
|
250
|
+
elementType: So,
|
|
251
|
+
shouldForwardComponentProp: !0,
|
|
252
|
+
externalForwardedProps: s,
|
|
253
|
+
ownerState: t,
|
|
254
|
+
className: k(h.paper, v.className)
|
|
255
|
+
}), [to, no] = p("container", {
|
|
256
|
+
elementType: Co,
|
|
257
|
+
externalForwardedProps: s,
|
|
258
|
+
ownerState: t,
|
|
259
|
+
className: k(h.container)
|
|
260
|
+
}), [lo, so] = p("transition", {
|
|
261
|
+
elementType: w,
|
|
262
|
+
externalForwardedProps: s,
|
|
263
|
+
ownerState: t,
|
|
264
|
+
additionalProps: {
|
|
265
|
+
appear: !0,
|
|
266
|
+
in: D,
|
|
267
|
+
timeout: W,
|
|
268
|
+
role: "presentation"
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
return /* @__PURE__ */ i(Q, {
|
|
272
|
+
closeAfterTransition: !0,
|
|
273
|
+
slots: {
|
|
274
|
+
backdrop: oo
|
|
275
|
+
},
|
|
276
|
+
slotProps: {
|
|
277
|
+
backdrop: {
|
|
278
|
+
transitionDuration: W,
|
|
279
|
+
as: F,
|
|
280
|
+
...eo
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
disableEscapeKeyDown: C,
|
|
284
|
+
onClose: y,
|
|
285
|
+
open: D,
|
|
286
|
+
onClick: _,
|
|
287
|
+
...Z,
|
|
288
|
+
...Y,
|
|
289
|
+
children: /* @__PURE__ */ i(lo, {
|
|
290
|
+
...so,
|
|
291
|
+
children: /* @__PURE__ */ i(to, {
|
|
292
|
+
onMouseDown: z,
|
|
293
|
+
...no,
|
|
294
|
+
children: /* @__PURE__ */ i(ro, {
|
|
295
|
+
as: U,
|
|
296
|
+
elevation: 24,
|
|
297
|
+
role: "dialog",
|
|
298
|
+
"aria-describedby": f,
|
|
299
|
+
"aria-labelledby": x,
|
|
300
|
+
"aria-modal": j,
|
|
301
|
+
...ao,
|
|
302
|
+
children: /* @__PURE__ */ i(O.Provider, {
|
|
303
|
+
value: q,
|
|
304
|
+
children: N
|
|
305
|
+
})
|
|
306
|
+
})
|
|
307
|
+
})
|
|
308
|
+
})
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
312
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
313
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
314
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
315
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
316
|
+
/**
|
|
317
|
+
* The id(s) of the element(s) that describe the dialog.
|
|
318
|
+
*/
|
|
319
|
+
"aria-describedby": o.string,
|
|
320
|
+
/**
|
|
321
|
+
* The id(s) of the element(s) that label the dialog.
|
|
322
|
+
*/
|
|
323
|
+
"aria-labelledby": o.string,
|
|
324
|
+
/**
|
|
325
|
+
* Informs assistive technologies that the element is modal.
|
|
326
|
+
* It's added on the element with role="dialog".
|
|
327
|
+
* @default true
|
|
328
|
+
*/
|
|
329
|
+
"aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
|
|
330
|
+
/**
|
|
331
|
+
* A backdrop component. This prop enables custom backdrop rendering.
|
|
332
|
+
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
333
|
+
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
|
|
334
|
+
* @default styled(Backdrop, {
|
|
335
|
+
* name: 'MuiModal',
|
|
336
|
+
* slot: 'Backdrop',
|
|
337
|
+
* overridesResolver: (props, styles) => {
|
|
338
|
+
* return styles.backdrop;
|
|
339
|
+
* },
|
|
340
|
+
* })({
|
|
341
|
+
* zIndex: -1,
|
|
342
|
+
* })
|
|
343
|
+
*/
|
|
344
|
+
BackdropComponent: o.elementType,
|
|
345
|
+
/**
|
|
346
|
+
* @ignore
|
|
347
|
+
*/
|
|
348
|
+
BackdropProps: o.object,
|
|
349
|
+
/**
|
|
350
|
+
* Dialog children, usually the included sub-components.
|
|
351
|
+
*/
|
|
352
|
+
children: o.node,
|
|
353
|
+
/**
|
|
354
|
+
* Override or extend the styles applied to the component.
|
|
355
|
+
*/
|
|
356
|
+
classes: o.object,
|
|
357
|
+
/**
|
|
358
|
+
* @ignore
|
|
359
|
+
*/
|
|
360
|
+
className: o.string,
|
|
361
|
+
/**
|
|
362
|
+
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
363
|
+
* @default false
|
|
364
|
+
*/
|
|
365
|
+
disableEscapeKeyDown: o.bool,
|
|
366
|
+
/**
|
|
367
|
+
* If `true`, the dialog is full-screen.
|
|
368
|
+
* @default false
|
|
369
|
+
*/
|
|
370
|
+
fullScreen: o.bool,
|
|
371
|
+
/**
|
|
372
|
+
* If `true`, the dialog stretches to `maxWidth`.
|
|
373
|
+
*
|
|
374
|
+
* Notice that the dialog width grow is limited by the default margin.
|
|
375
|
+
* @default false
|
|
376
|
+
*/
|
|
377
|
+
fullWidth: o.bool,
|
|
378
|
+
/**
|
|
379
|
+
* Determine the max-width of the dialog.
|
|
380
|
+
* The dialog width grows with the size of the screen.
|
|
381
|
+
* Set to `false` to disable `maxWidth`.
|
|
382
|
+
* @default 'sm'
|
|
383
|
+
*/
|
|
384
|
+
maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
|
|
385
|
+
/**
|
|
386
|
+
* Callback fired when the backdrop is clicked.
|
|
387
|
+
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
388
|
+
*/
|
|
389
|
+
onBackdropClick: o.func,
|
|
390
|
+
/**
|
|
391
|
+
* @ignore
|
|
392
|
+
*/
|
|
393
|
+
onClick: o.func,
|
|
394
|
+
/**
|
|
395
|
+
* Callback fired when the component requests to be closed.
|
|
396
|
+
*
|
|
397
|
+
* @param {object} event The event source of the callback.
|
|
398
|
+
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
399
|
+
*/
|
|
400
|
+
onClose: o.func,
|
|
401
|
+
/**
|
|
402
|
+
* If `true`, the component is shown.
|
|
403
|
+
*/
|
|
404
|
+
open: o.bool.isRequired,
|
|
405
|
+
/**
|
|
406
|
+
* The component used to render the body of the dialog.
|
|
407
|
+
* @default Paper
|
|
408
|
+
*/
|
|
409
|
+
PaperComponent: o.elementType,
|
|
410
|
+
/**
|
|
411
|
+
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
412
|
+
* @default {}
|
|
413
|
+
* @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
414
|
+
*/
|
|
415
|
+
PaperProps: o.object,
|
|
416
|
+
/**
|
|
417
|
+
* Determine the container for scrolling the dialog.
|
|
418
|
+
* @default 'paper'
|
|
419
|
+
*/
|
|
420
|
+
scroll: o.oneOf(["body", "paper"]),
|
|
421
|
+
/**
|
|
422
|
+
* The props used for each slot inside.
|
|
423
|
+
* @default {}
|
|
424
|
+
*/
|
|
425
|
+
slotProps: o.shape({
|
|
426
|
+
backdrop: o.oneOfType([o.func, o.object]),
|
|
427
|
+
container: o.oneOfType([o.func, o.object]),
|
|
428
|
+
paper: o.oneOfType([o.func, o.object]),
|
|
429
|
+
root: o.oneOfType([o.func, o.object]),
|
|
430
|
+
transition: o.oneOfType([o.func, o.object])
|
|
431
|
+
}),
|
|
432
|
+
/**
|
|
433
|
+
* The components used for each slot inside.
|
|
434
|
+
* @default {}
|
|
435
|
+
*/
|
|
436
|
+
slots: o.shape({
|
|
437
|
+
backdrop: o.elementType,
|
|
438
|
+
container: o.elementType,
|
|
439
|
+
paper: o.elementType,
|
|
440
|
+
root: o.elementType,
|
|
441
|
+
transition: o.elementType
|
|
442
|
+
}),
|
|
443
|
+
/**
|
|
444
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
445
|
+
*/
|
|
446
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
447
|
+
/**
|
|
448
|
+
* The component used for the transition.
|
|
449
|
+
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
450
|
+
* @default Fade
|
|
451
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
452
|
+
*/
|
|
453
|
+
TransitionComponent: o.elementType,
|
|
454
|
+
/**
|
|
455
|
+
* The duration for the transition, in milliseconds.
|
|
456
|
+
* You may specify a single timeout for all transitions, or individually with an object.
|
|
457
|
+
* @default {
|
|
458
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
459
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
460
|
+
* }
|
|
461
|
+
*/
|
|
462
|
+
transitionDuration: o.oneOfType([o.number, o.shape({
|
|
463
|
+
appear: o.number,
|
|
464
|
+
enter: o.number,
|
|
465
|
+
exit: o.number
|
|
466
|
+
})]),
|
|
467
|
+
/**
|
|
468
|
+
* Props applied to the transition element.
|
|
469
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
470
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
471
|
+
*/
|
|
472
|
+
TransitionProps: o.object
|
|
473
|
+
});
|
|
474
|
+
export {
|
|
475
|
+
To as D,
|
|
476
|
+
O as a,
|
|
477
|
+
P as d
|
|
478
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as g from "react";
|
|
2
|
-
import { H as
|
|
2
|
+
import { H as p, I as d, G as u, P as o } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
3
|
import { jsx as f } from "react/jsx-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import { m as y } from "./memoTheme-
|
|
4
|
+
import { u as v, s as m, c as D } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
5
|
+
import { m as y } from "./memoTheme-CqmIydD-.js";
|
|
6
6
|
function C(s) {
|
|
7
7
|
return d("MuiDialogActions", s);
|
|
8
8
|
}
|
|
@@ -44,16 +44,16 @@ const E = p("MuiDialogActions", ["root", "spacing"]), b = (s) => {
|
|
|
44
44
|
props: t,
|
|
45
45
|
name: "MuiDialogActions"
|
|
46
46
|
}), {
|
|
47
|
-
className:
|
|
47
|
+
className: n,
|
|
48
48
|
disableSpacing: r = !1,
|
|
49
49
|
...l
|
|
50
|
-
} = i,
|
|
50
|
+
} = i, a = {
|
|
51
51
|
...i,
|
|
52
52
|
disableSpacing: r
|
|
53
|
-
}, c = b(
|
|
53
|
+
}, c = b(a);
|
|
54
54
|
return /* @__PURE__ */ f(x, {
|
|
55
|
-
className: u(c.root,
|
|
56
|
-
ownerState:
|
|
55
|
+
className: u(c.root, n),
|
|
56
|
+
ownerState: a,
|
|
57
57
|
ref: e,
|
|
58
58
|
...l
|
|
59
59
|
});
|
|
@@ -141,16 +141,16 @@ const w = p("MuiDialogTitle", ["root"]), M = (s) => {
|
|
|
141
141
|
props: t,
|
|
142
142
|
name: "MuiDialogContent"
|
|
143
143
|
}), {
|
|
144
|
-
className:
|
|
144
|
+
className: n,
|
|
145
145
|
dividers: r = !1,
|
|
146
146
|
...l
|
|
147
|
-
} = i,
|
|
147
|
+
} = i, a = {
|
|
148
148
|
...i,
|
|
149
149
|
dividers: r
|
|
150
|
-
}, c = M(
|
|
150
|
+
}, c = M(a);
|
|
151
151
|
return /* @__PURE__ */ f(N, {
|
|
152
|
-
className: u(c.root,
|
|
153
|
-
ownerState:
|
|
152
|
+
className: u(c.root, n),
|
|
153
|
+
ownerState: a,
|
|
154
154
|
ref: e,
|
|
155
155
|
...l
|
|
156
156
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const D=require("react"),e=require("./generateUtilityClasses-
|
|
1
|
+
"use strict";const D=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),d=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-wpBXjN8r.cjs"),P=require("./memoTheme-DrjvJtTP.cjs");function v(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,i.get?i:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const g=v(D);function u(o){return e.generateUtilityClass("MuiDialogActions",o)}const b=e.generateUtilityClasses("MuiDialogActions",["root","spacing"]),m=o=>{const{classes:s,disableSpacing:t}=o,i={root:["root",!t&&"spacing"]};return n.composeClasses(i,u,s)},x=n.styled("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,!t.disableSpacing&&s.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:o})=>!o.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),y=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogActions"}),{className:a,disableSpacing:l=!1,...p}=i,r={...i,disableSpacing:l},c=m(r);return d.jsx(x,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(y.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,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 f(o){return e.generateUtilityClass("MuiDialogContent",o)}const U=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function j(o){return e.generateUtilityClass("MuiDialogTitle",o)}const T=e.generateUtilityClasses("MuiDialogTitle",["root"]),O=o=>{const{classes:s,dividers:t}=o,i={root:["root",t&&"dividers"]};return n.composeClasses(i,f,s)},S=n.styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,t.dividers&&s.dividers]}})(P.memoTheme(({theme:o})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:s})=>s.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(o.vars||o).palette.divider}`,borderBottom:`1px solid ${(o.vars||o).palette.divider}`}},{props:({ownerState:s})=>!s.dividers,style:{[`.${T.root} + &`]:{paddingTop:0}}}]}))),C=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogContent"}),{className:a,dividers:l=!1,...p}=i,r={...i,dividers:l},c=O(r);return d.jsx(S,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(C.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,dividers:e.PropTypes.bool,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])});exports.DialogActions=y;exports.DialogContent=C;exports.dialogActionsClasses=b;exports.dialogContentClasses=U;exports.dialogTitleClasses=T;exports.getDialogActionsUtilityClass=u;exports.getDialogContentUtilityClass=f;exports.getDialogTitleUtilityClass=j;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { H as y, I as C, G as p, P as o } from "./generateUtilityClasses-
|
|
3
|
-
import {
|
|
2
|
+
import { H as y, I as C, G as p, P as o } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { u as d, s as f, c as u, r as D } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
4
4
|
import { jsx as m } from "react/jsx-runtime";
|
|
5
|
-
import { T as g } from "./Typography-
|
|
6
|
-
import { f as
|
|
7
|
-
import { a as
|
|
8
|
-
function
|
|
9
|
-
return
|
|
5
|
+
import { T as g } from "./Typography-SIQ6eleU.js";
|
|
6
|
+
import { f as v } from "./DialogContent-BzPaz5G8.js";
|
|
7
|
+
import { a as N } from "./Dialog-CKS7yjT5.js";
|
|
8
|
+
function b(t) {
|
|
9
|
+
return C("MuiDialogContentText", t);
|
|
10
10
|
}
|
|
11
|
-
const V =
|
|
11
|
+
const V = y("MuiDialogContentText", ["root"]), h = (t) => {
|
|
12
12
|
const {
|
|
13
13
|
classes: s
|
|
14
14
|
} = t, e = u({
|
|
15
15
|
root: ["root"]
|
|
16
|
-
},
|
|
16
|
+
}, b, s);
|
|
17
17
|
return {
|
|
18
18
|
...s,
|
|
19
19
|
// forward classes to the Typography
|
|
20
20
|
...e
|
|
21
21
|
};
|
|
22
|
-
},
|
|
22
|
+
}, R = f(g, {
|
|
23
23
|
shouldForwardProp: (t) => D(t) || t === "classes",
|
|
24
24
|
name: "MuiDialogContentText",
|
|
25
25
|
slot: "Root",
|
|
26
26
|
overridesResolver: (t, s) => s.root
|
|
27
|
-
})({}), w = /* @__PURE__ */ i.forwardRef(function(s,
|
|
28
|
-
const e =
|
|
27
|
+
})({}), w = /* @__PURE__ */ i.forwardRef(function(s, a) {
|
|
28
|
+
const e = d({
|
|
29
29
|
props: s,
|
|
30
30
|
name: "MuiDialogContentText"
|
|
31
31
|
}), {
|
|
32
32
|
children: c,
|
|
33
|
-
className:
|
|
33
|
+
className: n,
|
|
34
34
|
...l
|
|
35
|
-
} = e,
|
|
36
|
-
return /* @__PURE__ */ m(
|
|
35
|
+
} = e, r = h(l);
|
|
36
|
+
return /* @__PURE__ */ m(R, {
|
|
37
37
|
component: "p",
|
|
38
38
|
variant: "body1",
|
|
39
39
|
color: "textSecondary",
|
|
40
|
-
ref:
|
|
40
|
+
ref: a,
|
|
41
41
|
ownerState: l,
|
|
42
|
-
className: p(
|
|
42
|
+
className: p(r.root, n),
|
|
43
43
|
...e,
|
|
44
|
-
classes:
|
|
44
|
+
classes: r
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
@@ -72,32 +72,32 @@ const O = (t) => {
|
|
|
72
72
|
} = t;
|
|
73
73
|
return u({
|
|
74
74
|
root: ["root"]
|
|
75
|
-
},
|
|
76
|
-
}, j =
|
|
75
|
+
}, v, s);
|
|
76
|
+
}, j = f(g, {
|
|
77
77
|
name: "MuiDialogTitle",
|
|
78
78
|
slot: "Root",
|
|
79
79
|
overridesResolver: (t, s) => s.root
|
|
80
80
|
})({
|
|
81
81
|
padding: "16px 24px",
|
|
82
82
|
flex: "0 0 auto"
|
|
83
|
-
}), M = /* @__PURE__ */ i.forwardRef(function(s,
|
|
84
|
-
const e =
|
|
83
|
+
}), M = /* @__PURE__ */ i.forwardRef(function(s, a) {
|
|
84
|
+
const e = d({
|
|
85
85
|
props: s,
|
|
86
86
|
name: "MuiDialogTitle"
|
|
87
87
|
}), {
|
|
88
88
|
className: c,
|
|
89
|
-
id:
|
|
89
|
+
id: n,
|
|
90
90
|
...l
|
|
91
|
-
} = e,
|
|
92
|
-
titleId: x =
|
|
93
|
-
} = i.useContext(
|
|
91
|
+
} = e, r = e, T = O(r), {
|
|
92
|
+
titleId: x = n
|
|
93
|
+
} = i.useContext(N);
|
|
94
94
|
return /* @__PURE__ */ m(j, {
|
|
95
95
|
component: "h2",
|
|
96
96
|
className: p(T.root, c),
|
|
97
|
-
ownerState:
|
|
98
|
-
ref:
|
|
97
|
+
ownerState: r,
|
|
98
|
+
ref: a,
|
|
99
99
|
variant: "h6",
|
|
100
|
-
id:
|
|
100
|
+
id: n ?? x,
|
|
101
101
|
...l
|
|
102
102
|
});
|
|
103
103
|
});
|
|
@@ -131,5 +131,5 @@ export {
|
|
|
131
131
|
w as D,
|
|
132
132
|
M as a,
|
|
133
133
|
V as d,
|
|
134
|
-
|
|
134
|
+
b as g
|
|
135
135
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const C=require("react"),e=require("./generateUtilityClasses-
|
|
1
|
+
"use strict";const C=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),n=require("./DefaultPropsProvider-wpBXjN8r.cjs"),y=require("react/jsx-runtime"),T=require("./Typography-DPij13XT.cjs"),D=require("./DialogContent-DcZz4rBc.cjs"),x=require("./Dialog-B1wnk5BT.cjs");function m(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const i=m(C);function u(o){return e.generateUtilityClass("MuiDialogContentText",o)}const b=e.generateUtilityClasses("MuiDialogContentText",["root"]),j=o=>{const{classes:t}=o,s={root:["root"]},r=n.composeClasses(s,u,t);return{...t,...r}},O=n.styled(T.Typography,{shouldForwardProp:o=>n.rootShouldForwardProp(o)||o==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(o,t)=>t.root})({}),g=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogContentText"}),{children:c,className:p,...l}=r,a=j(l);return y.jsx(O,{component:"p",variant:"body1",color:"textSecondary",ref:s,ownerState:l,className:e.clsx(a.root,p),...r,classes:a})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,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])});const v=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,D.getDialogTitleUtilityClass,t)},h=n.styled(T.Typography,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(o,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),d=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogTitle"}),{className:c,id:p,...l}=r,a=r,f=v(a),{titleId:P=p}=i.useContext(x.DialogContext);return y.jsx(h,{component:"h2",className:e.clsx(f.root,c),ownerState:a,ref:s,variant:"h6",id:p??P,...l})});process.env.NODE_ENV!=="production"&&(d.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,id:e.PropTypes.string,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])});exports.DialogContentText=g;exports.DialogTitle=d;exports.dialogContentTextClasses=b;exports.getDialogContentTextUtilityClass=u;
|