@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,303 @@
|
|
|
1
|
+
import { Z as A, $ as V, M as Z, a0 as G, O as J, Q as j, K as U, a1 as X, P as x, u as Y, T as ee } from "./generateUtilityClasses-DotvgSDH.js";
|
|
2
|
+
import * as I from "react";
|
|
3
|
+
import { jsx as te } from "react/jsx-runtime";
|
|
4
|
+
function Pe(e, n, t = void 0) {
|
|
5
|
+
const o = {};
|
|
6
|
+
for (const r in e) {
|
|
7
|
+
const a = e[r];
|
|
8
|
+
let i = "", s = !0;
|
|
9
|
+
for (let d = 0; d < a.length; d += 1) {
|
|
10
|
+
const u = a[d];
|
|
11
|
+
u && (i += (s === !0 ? "" : " ") + n(u), s = !1, t && t[u] && (i += " " + t[u]));
|
|
12
|
+
}
|
|
13
|
+
o[r] = i;
|
|
14
|
+
}
|
|
15
|
+
return o;
|
|
16
|
+
}
|
|
17
|
+
function M(e, n = "") {
|
|
18
|
+
return e.displayName || e.name || n;
|
|
19
|
+
}
|
|
20
|
+
function k(e, n, t) {
|
|
21
|
+
const o = M(n);
|
|
22
|
+
return e.displayName || (o !== "" ? `${t}(${o})` : t);
|
|
23
|
+
}
|
|
24
|
+
function ne(e) {
|
|
25
|
+
if (e != null) {
|
|
26
|
+
if (typeof e == "string")
|
|
27
|
+
return e;
|
|
28
|
+
if (typeof e == "function")
|
|
29
|
+
return M(e, "Component");
|
|
30
|
+
if (typeof e == "object")
|
|
31
|
+
switch (e.$$typeof) {
|
|
32
|
+
case A.ForwardRef:
|
|
33
|
+
return k(e, e.render, "ForwardRef");
|
|
34
|
+
case A.Memo:
|
|
35
|
+
return k(e, e.type, "memo");
|
|
36
|
+
default:
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function re(e) {
|
|
42
|
+
const {
|
|
43
|
+
variants: n,
|
|
44
|
+
...t
|
|
45
|
+
} = e, o = {
|
|
46
|
+
variants: n,
|
|
47
|
+
style: V(t),
|
|
48
|
+
isProcessed: !0
|
|
49
|
+
};
|
|
50
|
+
return o.style === t || n && n.forEach((r) => {
|
|
51
|
+
typeof r.style != "function" && (r.style = V(r.style));
|
|
52
|
+
}), o;
|
|
53
|
+
}
|
|
54
|
+
const oe = Z();
|
|
55
|
+
function b(e) {
|
|
56
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
57
|
+
}
|
|
58
|
+
function se(e) {
|
|
59
|
+
return e ? (n, t) => t[e] : null;
|
|
60
|
+
}
|
|
61
|
+
function ie(e, n, t) {
|
|
62
|
+
e.theme = fe(e.theme) ? t : e.theme[n] || e.theme;
|
|
63
|
+
}
|
|
64
|
+
function O(e, n) {
|
|
65
|
+
const t = typeof n == "function" ? n(e) : n;
|
|
66
|
+
if (Array.isArray(t))
|
|
67
|
+
return t.flatMap((o) => O(e, o));
|
|
68
|
+
if (Array.isArray(t == null ? void 0 : t.variants)) {
|
|
69
|
+
let o;
|
|
70
|
+
if (t.isProcessed)
|
|
71
|
+
o = t.style;
|
|
72
|
+
else {
|
|
73
|
+
const {
|
|
74
|
+
variants: r,
|
|
75
|
+
...a
|
|
76
|
+
} = t;
|
|
77
|
+
o = a;
|
|
78
|
+
}
|
|
79
|
+
return z(e, t.variants, [o]);
|
|
80
|
+
}
|
|
81
|
+
return t != null && t.isProcessed ? t.style : t;
|
|
82
|
+
}
|
|
83
|
+
function z(e, n, t = []) {
|
|
84
|
+
var r;
|
|
85
|
+
let o;
|
|
86
|
+
e: for (let a = 0; a < n.length; a += 1) {
|
|
87
|
+
const i = n[a];
|
|
88
|
+
if (typeof i.props == "function") {
|
|
89
|
+
if (o ?? (o = {
|
|
90
|
+
...e,
|
|
91
|
+
...e.ownerState,
|
|
92
|
+
ownerState: e.ownerState
|
|
93
|
+
}), !i.props(o))
|
|
94
|
+
continue;
|
|
95
|
+
} else
|
|
96
|
+
for (const s in i.props)
|
|
97
|
+
if (e[s] !== i.props[s] && ((r = e.ownerState) == null ? void 0 : r[s]) !== i.props[s])
|
|
98
|
+
continue e;
|
|
99
|
+
typeof i.style == "function" ? (o ?? (o = {
|
|
100
|
+
...e,
|
|
101
|
+
...e.ownerState,
|
|
102
|
+
ownerState: e.ownerState
|
|
103
|
+
}), t.push(i.style(o))) : t.push(i.style);
|
|
104
|
+
}
|
|
105
|
+
return t;
|
|
106
|
+
}
|
|
107
|
+
function ae(e = {}) {
|
|
108
|
+
const {
|
|
109
|
+
themeId: n,
|
|
110
|
+
defaultTheme: t = oe,
|
|
111
|
+
rootShouldForwardProp: o = b,
|
|
112
|
+
slotShouldForwardProp: r = b
|
|
113
|
+
} = e;
|
|
114
|
+
function a(s) {
|
|
115
|
+
ie(s, n, t);
|
|
116
|
+
}
|
|
117
|
+
return (s, d = {}) => {
|
|
118
|
+
G(s, (c) => c.filter((f) => f !== j));
|
|
119
|
+
const {
|
|
120
|
+
name: u,
|
|
121
|
+
slot: y,
|
|
122
|
+
skipVariantsResolver: F,
|
|
123
|
+
skipSx: L,
|
|
124
|
+
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
125
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
126
|
+
overridesResolver: $ = se(H(y)),
|
|
127
|
+
...q
|
|
128
|
+
} = d, B = F !== void 0 ? F : (
|
|
129
|
+
// TODO v6: remove `Root` in the next major release
|
|
130
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
131
|
+
y && y !== "Root" && y !== "root" || !1
|
|
132
|
+
), C = L || !1;
|
|
133
|
+
let P = b;
|
|
134
|
+
y === "Root" || y === "root" ? P = o : y ? P = r : le(s) && (P = void 0);
|
|
135
|
+
const T = J(s, {
|
|
136
|
+
shouldForwardProp: P,
|
|
137
|
+
label: ce(u, y),
|
|
138
|
+
...q
|
|
139
|
+
}), Q = (c) => {
|
|
140
|
+
if (typeof c == "function" && c.__emotion_real !== c)
|
|
141
|
+
return function(S) {
|
|
142
|
+
return O(S, c);
|
|
143
|
+
};
|
|
144
|
+
if (U(c)) {
|
|
145
|
+
const f = re(c);
|
|
146
|
+
return f.variants ? function(h) {
|
|
147
|
+
return O(h, f);
|
|
148
|
+
} : f.style;
|
|
149
|
+
}
|
|
150
|
+
return c;
|
|
151
|
+
}, g = (...c) => {
|
|
152
|
+
const f = [], S = c.map(Q), h = [];
|
|
153
|
+
if (f.push(a), u && $ && h.push(function(p) {
|
|
154
|
+
var w, D;
|
|
155
|
+
const l = (D = (w = p.theme.components) == null ? void 0 : w[u]) == null ? void 0 : D.styleOverrides;
|
|
156
|
+
if (!l)
|
|
157
|
+
return null;
|
|
158
|
+
const v = {};
|
|
159
|
+
for (const _ in l)
|
|
160
|
+
v[_] = O(p, l[_]);
|
|
161
|
+
return $(p, v);
|
|
162
|
+
}), u && !B && h.push(function(p) {
|
|
163
|
+
var v, w;
|
|
164
|
+
const m = p.theme, l = (w = (v = m == null ? void 0 : m.components) == null ? void 0 : v[u]) == null ? void 0 : w.variants;
|
|
165
|
+
return l ? z(p, l) : null;
|
|
166
|
+
}), C || h.push(j), Array.isArray(S[0])) {
|
|
167
|
+
const N = S.shift(), p = new Array(f.length).fill(""), m = new Array(h.length).fill("");
|
|
168
|
+
let l;
|
|
169
|
+
l = [...p, ...N, ...m], l.raw = [...p, ...N.raw, ...m], f.unshift(l);
|
|
170
|
+
}
|
|
171
|
+
const W = [...f, ...S, ...h], R = T(...W);
|
|
172
|
+
return s.muiName && (R.muiName = s.muiName), process.env.NODE_ENV !== "production" && (R.displayName = ue(u, y, s)), R;
|
|
173
|
+
};
|
|
174
|
+
return T.withConfig && (g.withConfig = T.withConfig), g;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function ue(e, n, t) {
|
|
178
|
+
return e ? `${e}${X(n || "")}` : `Styled(${ne(t)})`;
|
|
179
|
+
}
|
|
180
|
+
function ce(e, n) {
|
|
181
|
+
let t;
|
|
182
|
+
return process.env.NODE_ENV !== "production" && e && (t = `${e}-${H(n || "Root")}`), t;
|
|
183
|
+
}
|
|
184
|
+
function fe(e) {
|
|
185
|
+
for (const n in e)
|
|
186
|
+
return !1;
|
|
187
|
+
return !0;
|
|
188
|
+
}
|
|
189
|
+
function le(e) {
|
|
190
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
191
|
+
// for "a" so this is checking that
|
|
192
|
+
// it's a lowercase character
|
|
193
|
+
e.charCodeAt(0) > 96;
|
|
194
|
+
}
|
|
195
|
+
function H(e) {
|
|
196
|
+
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
197
|
+
}
|
|
198
|
+
function E(e, n) {
|
|
199
|
+
const t = {
|
|
200
|
+
...n
|
|
201
|
+
};
|
|
202
|
+
for (const o in e)
|
|
203
|
+
if (Object.prototype.hasOwnProperty.call(e, o)) {
|
|
204
|
+
const r = o;
|
|
205
|
+
if (r === "components" || r === "slots")
|
|
206
|
+
t[r] = {
|
|
207
|
+
...e[r],
|
|
208
|
+
...t[r]
|
|
209
|
+
};
|
|
210
|
+
else if (r === "componentsProps" || r === "slotProps") {
|
|
211
|
+
const a = e[r], i = n[r];
|
|
212
|
+
if (!i)
|
|
213
|
+
t[r] = a || {};
|
|
214
|
+
else if (!a)
|
|
215
|
+
t[r] = i;
|
|
216
|
+
else {
|
|
217
|
+
t[r] = {
|
|
218
|
+
...i
|
|
219
|
+
};
|
|
220
|
+
for (const s in a)
|
|
221
|
+
if (Object.prototype.hasOwnProperty.call(a, s)) {
|
|
222
|
+
const d = s;
|
|
223
|
+
t[r][d] = E(a[d], i[d]);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
} else t[r] === void 0 && (t[r] = e[r]);
|
|
227
|
+
}
|
|
228
|
+
return t;
|
|
229
|
+
}
|
|
230
|
+
const K = /* @__PURE__ */ I.createContext(void 0);
|
|
231
|
+
function de({
|
|
232
|
+
value: e,
|
|
233
|
+
children: n
|
|
234
|
+
}) {
|
|
235
|
+
return /* @__PURE__ */ te(K.Provider, {
|
|
236
|
+
value: e,
|
|
237
|
+
children: n
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
241
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
242
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
243
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
244
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
245
|
+
/**
|
|
246
|
+
* @ignore
|
|
247
|
+
*/
|
|
248
|
+
children: x.node,
|
|
249
|
+
/**
|
|
250
|
+
* @ignore
|
|
251
|
+
*/
|
|
252
|
+
value: x.object
|
|
253
|
+
});
|
|
254
|
+
function ye(e) {
|
|
255
|
+
const {
|
|
256
|
+
theme: n,
|
|
257
|
+
name: t,
|
|
258
|
+
props: o
|
|
259
|
+
} = e;
|
|
260
|
+
if (!n || !n.components || !n.components[t])
|
|
261
|
+
return o;
|
|
262
|
+
const r = n.components[t];
|
|
263
|
+
return r.defaultProps ? E(r.defaultProps, o) : !r.styleOverrides && !r.variants ? E(r, o) : o;
|
|
264
|
+
}
|
|
265
|
+
function pe({
|
|
266
|
+
props: e,
|
|
267
|
+
name: n
|
|
268
|
+
}) {
|
|
269
|
+
const t = I.useContext(K);
|
|
270
|
+
return ye({
|
|
271
|
+
props: e,
|
|
272
|
+
name: n,
|
|
273
|
+
theme: {
|
|
274
|
+
components: t
|
|
275
|
+
}
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
const he = Y();
|
|
279
|
+
function me(e) {
|
|
280
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
281
|
+
}
|
|
282
|
+
const Se = (e) => me(e) && e !== "classes", Ne = ae({
|
|
283
|
+
themeId: ee,
|
|
284
|
+
defaultTheme: he,
|
|
285
|
+
rootShouldForwardProp: Se
|
|
286
|
+
});
|
|
287
|
+
process.env.NODE_ENV !== "production" && (x.node, x.object.isRequired);
|
|
288
|
+
function Oe(e) {
|
|
289
|
+
return pe(e);
|
|
290
|
+
}
|
|
291
|
+
export {
|
|
292
|
+
de as D,
|
|
293
|
+
E as a,
|
|
294
|
+
ae as b,
|
|
295
|
+
Pe as c,
|
|
296
|
+
he as d,
|
|
297
|
+
me as e,
|
|
298
|
+
b as f,
|
|
299
|
+
re as p,
|
|
300
|
+
Se as r,
|
|
301
|
+
Ne as s,
|
|
302
|
+
Oe as u
|
|
303
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./generateUtilityClasses-De8NU9_E.cjs"),X=require("react"),Y=require("react/jsx-runtime");function Z(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const $=Z(X);function ee(e,r,t=void 0){const o={};for(const n in e){const c=e[n];let i="",s=!0;for(let p=0;p<c.length;p+=1){const l=c[p];l&&(i+=(s===!0?"":" ")+r(l),s=!1,t&&t[l]&&(i+=" "+t[l]))}o[n]=i}return o}function V(e,r=""){return e.displayName||e.name||r}function A(e,r,t){const o=V(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function te(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return V(e,"Component");if(typeof e=="object")switch(e.$$typeof){case u.reactIsExports.ForwardRef:return A(e,e.render,"ForwardRef");case u.reactIsExports.Memo:return A(e,e.type,"memo");default:return}}}function k(e){const{variants:r,...t}=e,o={variants:r,style:u.internal_serializeStyles(t),isProcessed:!0};return o.style===t||r&&r.forEach(n=>{typeof n.style!="function"&&(n.style=u.internal_serializeStyles(n.style))}),o}const re=u.createTheme$1();function T(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ne(e){return e?(r,t)=>t[e]:null}function oe(e,r,t){e.theme=ue(e.theme)?t:e.theme[r]||e.theme}function x(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(o=>x(e,o));if(Array.isArray(t==null?void 0:t.variants)){let o;if(t.isProcessed)o=t.style;else{const{variants:n,...c}=t;o=c}return z(e,t.variants,[o])}return t!=null&&t.isProcessed?t.style:t}function z(e,r,t=[]){var n;let o;e:for(let c=0;c<r.length;c+=1){const i=r[c];if(typeof i.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(o))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((n=e.ownerState)==null?void 0:n[s])!==i.props[s])continue e;typeof i.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(o))):t.push(i.style)}return t}function I(e={}){const{themeId:r,defaultTheme:t=re,rootShouldForwardProp:o=T,slotShouldForwardProp:n=T}=e;function c(s){oe(s,r,t)}return(s,p={})=>{u.internal_mutateStyles(s,a=>a.filter(f=>f!==u.styleFunctionSx));const{name:l,slot:y,skipVariantsResolver:R,skipSx:B,overridesResolver:_=ne(q(y)),...U}=p,W=R!==void 0?R:y&&y!=="Root"&&y!=="root"||!1,G=B||!1;let O=T;y==="Root"||y==="root"?O=o:y?O=n:ce(s)&&(O=void 0);const g=u.styled(s,{shouldForwardProp:O,label:ie(l,y),...U}),J=a=>{if(typeof a=="function"&&a.__emotion_real!==a)return function(P){return x(P,a)};if(u.isPlainObject(a)){const f=k(a);return f.variants?function(m){return x(m,f)}:f.style}return a},D=(...a)=>{const f=[],P=a.map(J),m=[];if(f.push(c),l&&_&&m.push(function(h){var w,j;const d=(j=(w=h.theme.components)==null?void 0:w[l])==null?void 0:j.styleOverrides;if(!d)return null;const v={};for(const E in d)v[E]=x(h,d[E]);return _(h,v)}),l&&!W&&m.push(function(h){var v,w;const S=h.theme,d=(w=(v=S==null?void 0:S.components)==null?void 0:v[l])==null?void 0:w.variants;return d?z(h,d):null}),G||m.push(u.styleFunctionSx),Array.isArray(P[0])){const N=P.shift(),h=new Array(f.length).fill(""),S=new Array(m.length).fill("");let d;d=[...h,...N,...S],d.raw=[...h,...N.raw,...S],f.unshift(d)}const Q=[...f,...P,...m],F=g(...Q);return s.muiName&&(F.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(F.displayName=se(l,y,s)),F};return g.withConfig&&(D.withConfig=g.withConfig),D}}function se(e,r,t){return e?`${e}${u.capitalize(r||"")}`:`Styled(${te(t)})`}function ie(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${q(r||"Root")}`),t}function ue(e){for(const r in e)return!1;return!0}function ce(e){return typeof e=="string"&&e.charCodeAt(0)>96}function q(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function b(e,r){const t={...r};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const n=o;if(n==="components"||n==="slots")t[n]={...e[n],...t[n]};else if(n==="componentsProps"||n==="slotProps"){const c=e[n],i=r[n];if(!i)t[n]=c||{};else if(!c)t[n]=i;else{t[n]={...i};for(const s in c)if(Object.prototype.hasOwnProperty.call(c,s)){const p=s;t[n][p]=b(c[p],i[p])}}}else t[n]===void 0&&(t[n]=e[n])}return t}const M=$.createContext(void 0);function C({value:e,children:r}){return Y.jsx(M.Provider,{value:e,children:r})}process.env.NODE_ENV!=="production"&&(C.propTypes={children:u.PropTypes.node,value:u.PropTypes.object});function le(e){const{theme:r,name:t,props:o}=e;if(!r||!r.components||!r.components[t])return o;const n=r.components[t];return n.defaultProps?b(n.defaultProps,o):!n.styleOverrides&&!n.variants?b(n,o):o}function ae({props:e,name:r}){const t=$.useContext(M);return le({props:e,name:r,theme:{components:t}})}const H=u.createTheme();function L(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const K=e=>L(e)&&e!=="classes",fe=I({themeId:u.THEME_ID,defaultTheme:H,rootShouldForwardProp:K});process.env.NODE_ENV!=="production"&&(u.PropTypes.node,u.PropTypes.object.isRequired);function de(e){return ae(e)}exports.DefaultPropsProvider=C;exports.composeClasses=ee;exports.createStyled=I;exports.defaultTheme=H;exports.preprocessStyles=k;exports.resolveProps=b;exports.rootShouldForwardProp=K;exports.shouldForwardProp=T;exports.slotShouldForwardProp=L;exports.styled=fe;exports.useDefaultProps=de;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const le=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),ie=require("./useTheme-CIf2b2wK.cjs"),c=require("react/jsx-runtime"),l=require("./DefaultPropsProvider-wpBXjN8r.cjs"),ce=require("./memoTheme-DrjvJtTP.cjs"),d=require("./useSlot-CC2AaOjN.cjs"),j=require("./Paper-EvOTlB_Q.cjs"),x=require("./Backdrop-DWp3AktL.cjs"),de=require("./useId-DNXtOFeX.cjs"),n=require("./capitalize-CEByPz9F.cjs"),ue=require("./Modal-u82Ss4h_.cjs");function ye(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const p in r)if(p!=="default"){const t=Object.getOwnPropertyDescriptor(r,p);Object.defineProperty(o,p,t.get?t:{enumerable:!0,get:()=>r[p]})}}return o.default=r,Object.freeze(o)}const y=ye(le),k=y.createContext({});process.env.NODE_ENV!=="production"&&(k.displayName="DialogContext");function Pe(r){return e.generateUtilityClass("MuiDialog",r)}const P=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Te=l.styled(x.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(r,o)=>o.backdrop})({zIndex:-1}),be=r=>{const{classes:o,scroll:p,maxWidth:t,fullWidth:u,fullScreen:T}=r,b={root:["root"],container:["container",`scroll${n.capitalize(p)}`],paper:["paper",`paperScroll${n.capitalize(p)}`,`paperWidth${n.capitalize(String(t))}`,u&&"paperFullWidth",T&&"paperFullScreen"]};return l.composeClasses(b,Pe,o)},me=l.styled(ue.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(r,o)=>o.root})({"@media print":{position:"absolute !important"}}),fe=l.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(r,o)=>{const{ownerState:p}=r;return[o.container,o[`scroll${n.capitalize(p.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),ge=l.styled(j.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(r,o)=>{const{ownerState:p}=r;return[o.paper,o[`scrollPaper${n.capitalize(p.scroll)}`],o[`paperWidth${n.capitalize(String(p.maxWidth))}`],p.fullWidth&&o.paperFullWidth,p.fullScreen&&o.paperFullScreen]}})(ce.memoTheme(({theme:r})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:o})=>!o.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:r.breakpoints.unit==="px"?Math.max(r.breakpoints.values.xs,444):`max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,[`&.${P.paperScrollBody}`]:{[r.breakpoints.down(Math.max(r.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(r.breakpoints.values).filter(o=>o!=="xs").map(o=>({props:{maxWidth:o},style:{maxWidth:`${r.breakpoints.values[o]}${r.breakpoints.unit}`,[`&.${P.paperScrollBody}`]:{[r.breakpoints.down(r.breakpoints.values[o]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:o})=>o.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:o})=>o.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${P.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),O=y.forwardRef(function(o,p){const t=l.useDefaultProps({props:o,name:"MuiDialog"}),u=ie.useTheme(),T={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{"aria-describedby":b,"aria-labelledby":B,"aria-modal":M=!0,BackdropComponent:q,BackdropProps:F,children:R,className:$,disableEscapeKeyDown:S=!1,fullScreen:N=!1,fullWidth:z=!1,maxWidth:E="sm",onBackdropClick:C,onClick:D,onClose:m,open:v,PaperComponent:A=j.Paper,PaperProps:W={},scroll:I="paper",slots:U={},slotProps:_={},TransitionComponent:K=x.Fade,transitionDuration:w=T,TransitionProps:L,...V}=t,s={...t,disableEscapeKeyDown:S,fullScreen:N,fullWidth:z,maxWidth:E,scroll:I},f=be(s),g=y.useRef(),X=a=>{g.current=a.target===a.currentTarget},Y=a=>{D&&D(a),g.current&&(g.current=null,C&&C(a),m&&m(a,"backdropClick"))},h=de.useId(B),H=y.useMemo(()=>({titleId:h}),[h]),G={transition:K,...U},J={transition:L,paper:W,backdrop:F,..._},i={slots:G,slotProps:J},[Q,Z]=d.useSlot("root",{elementType:me,shouldForwardComponentProp:!0,externalForwardedProps:i,ownerState:s,className:e.clsx(f.root,$),ref:p}),[ee,oe]=d.useSlot("backdrop",{elementType:Te,shouldForwardComponentProp:!0,externalForwardedProps:i,ownerState:s}),[re,pe]=d.useSlot("paper",{elementType:ge,shouldForwardComponentProp:!0,externalForwardedProps:i,ownerState:s,className:e.clsx(f.paper,W.className)}),[te,se]=d.useSlot("container",{elementType:fe,externalForwardedProps:i,ownerState:s,className:e.clsx(f.container)}),[ae,ne]=d.useSlot("transition",{elementType:x.Fade,externalForwardedProps:i,ownerState:s,additionalProps:{appear:!0,in:v,timeout:w,role:"presentation"}});return c.jsx(Q,{closeAfterTransition:!0,slots:{backdrop:ee},slotProps:{backdrop:{transitionDuration:w,as:q,...oe}},disableEscapeKeyDown:S,onClose:m,open:v,onClick:Y,...Z,...V,children:c.jsx(ae,{...ne,children:c.jsx(te,{onMouseDown:X,...se,children:c.jsx(re,{as:A,elevation:24,role:"dialog","aria-describedby":b,"aria-labelledby":h,"aria-modal":M,...pe,children:c.jsx(k.Provider,{value:H,children:R})})})})})});process.env.NODE_ENV!=="production"&&(O.propTypes={"aria-describedby":e.PropTypes.string,"aria-labelledby":e.PropTypes.string,"aria-modal":e.PropTypes.oneOfType([e.PropTypes.oneOf(["false","true"]),e.PropTypes.bool]),BackdropComponent:e.PropTypes.elementType,BackdropProps:e.PropTypes.object,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableEscapeKeyDown:e.PropTypes.bool,fullScreen:e.PropTypes.bool,fullWidth:e.PropTypes.bool,maxWidth:e.PropTypes.oneOfType([e.PropTypes.oneOf(["xs","sm","md","lg","xl",!1]),e.PropTypes.string]),onBackdropClick:e.PropTypes.func,onClick:e.PropTypes.func,onClose:e.PropTypes.func,open:e.PropTypes.bool.isRequired,PaperComponent:e.PropTypes.elementType,PaperProps:e.PropTypes.object,scroll:e.PropTypes.oneOf(["body","paper"]),slotProps:e.PropTypes.shape({backdrop:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),container:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),paper:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({backdrop:e.PropTypes.elementType,container:e.PropTypes.elementType,paper:e.PropTypes.elementType,root:e.PropTypes.elementType,transition: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]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})]),TransitionProps:e.PropTypes.object});exports.Dialog=O;exports.DialogContext=k;exports.dialogClasses=P;
|