@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740498210
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-COarwgJj.cjs +1 -0
- package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
- package/dist/Box-C0mEbUoK.cjs +1 -0
- package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
- package/dist/Button-1tZRtOeG.cjs +1 -0
- package/dist/Button-rxIER0bL.js +662 -0
- package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
- package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
- package/dist/CardContent-BXjX98Jd.cjs +1 -0
- package/dist/CardContent-u1MKaFvP.js +226 -0
- package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
- package/dist/Checkbox-C6CIGK27.cjs +1 -0
- package/dist/Chip-6-zATjcr.js +521 -0
- package/dist/Chip-CAPnyZyW.cjs +1 -0
- package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
- package/dist/CircularProgress-DTVP6gln.cjs +28 -0
- package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
- package/dist/CloseRounded-DTpqUeWr.js +8 -0
- package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
- package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
- package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
- package/dist/Dialog-CgBiKk8B.js +477 -0
- package/dist/Dialog-Cmv58WoN.cjs +1 -0
- package/dist/DialogContent-CGEdCDYk.cjs +1 -0
- package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
- package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
- package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
- package/dist/Divider-D_LVNUqS.cjs +1 -0
- package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
- package/dist/FormLabel-D0gSgwnj.cjs +2 -0
- package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
- package/dist/Grow-D7scX77o.cjs +1 -0
- package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
- package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
- package/dist/IconButton-Edo5JMfQ.cjs +2 -0
- package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
- package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
- package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
- package/dist/InputBase-CgOQ0M4_.cjs +3 -0
- package/dist/Link-CAbb9OCV.cjs +1 -0
- package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
- package/dist/Menu-C-R0FVOB.cjs +7 -0
- package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
- package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
- package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
- package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
- package/dist/Modal-D8lS9C1l.cjs +2 -0
- package/dist/Paper-C-oPGpbI.cjs +2 -0
- package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
- package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
- package/dist/Popper-uw9PkkLY.cjs +4 -0
- package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
- package/dist/Portal-bIKnnWR4.cjs +1 -0
- package/dist/Radio-BxMxeQa-.js +567 -0
- package/dist/Radio-CvCkmq8g.cjs +1 -0
- package/dist/RadioGroup-BLrD8_Lp.js +190 -0
- package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
- package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
- package/dist/Select-KMdcuol6.cjs +3 -0
- package/dist/Stack-C6v70ALA.cjs +1 -0
- package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
- package/dist/Switch-BOpqo-TS.js +329 -0
- package/dist/Switch-DF4bSjED.cjs +1 -0
- package/dist/SwitchBase-7zONZyYP.cjs +1 -0
- package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
- package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
- package/dist/Tabs-Dploq_37.cjs +4 -0
- package/dist/TextField-BC7GvvHh.cjs +1 -0
- package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
- package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
- package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
- package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
- package/dist/Tooltip-CWA-GKdK.cjs +4 -0
- package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
- package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
- package/dist/Typography-DEAE8-8u.cjs +1 -0
- 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 +117 -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-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
- package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
- package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
- package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
- package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
- package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
- package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
- package/dist/hooks/lazySvgImport.d.ts +1 -1
- package/dist/identifier-5n4d7br9.cjs +75 -0
- package/dist/identifier-D58rA1gM.js +3267 -0
- package/dist/index-5BAFzrXD.cjs +1 -0
- package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
- package/dist/index-CFm-oAsb.cjs +1 -0
- package/dist/index-CJW5gB6d.cjs +5 -0
- package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
- package/dist/index-DwHI-aa0.js +45 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +348 -294
- package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
- package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
- package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
- package/dist/refType-CjW6JOBA.cjs +1 -0
- package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
- package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useSlot-CZNcsPv1.js +48 -0
- package/dist/useSlot-CyXLaLc2.cjs +1 -0
- package/dist/useTheme-Bi8B4Op1.cjs +1 -0
- package/dist/useTheme-C_2IF7CS.cjs +1 -0
- package/dist/useTheme-Clhsq4HW.js +11 -0
- package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
- package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
- package/dist/useThemeProps-C6qniHmV.js +17 -0
- package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
- package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
- package/dist/utils-D4if93Yl.cjs +1 -0
- package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
- package/package.json +9 -9
- package/dist/Backdrop-CvufxHMY.cjs +0 -1
- package/dist/Box-mP2Th61z.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/Checkbox-DYrDbdy1.cjs +0 -1
- package/dist/CircularProgress-BByrCLjv.cjs +0 -28
- 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/DialogContent-Dj_OjLZ6.cjs +0 -1
- package/dist/DialogTitle-BboPDaoB.cjs +0 -1
- package/dist/Divider-CcrM3lNn.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/InputAdornment-Cq0WhPxF.cjs +0 -1
- package/dist/InputBase-s1fk8TB4.cjs +0 -3
- package/dist/Link-CWczkFp0.cjs +0 -1
- package/dist/Menu-Bsx8PA-q.cjs +0 -7
- package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
- package/dist/Modal-DImrEpYJ.cjs +0 -2
- package/dist/Paper-Cr56xkCr.cjs +0 -2
- package/dist/Popper-YT5WAMV-.cjs +0 -4
- 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/SwitchBase-DjIY_KWB.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/Tooltip-DhDtvULK.cjs +0 -4
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
- package/dist/Typography-DfRMDngd.cjs +0 -1
- package/dist/capitalize-B3GG7Wn6.cjs +0 -1
- package/dist/capitalize-CkF8kU4n.js +0 -9
- package/dist/createSvgIcon--rEClVU7.cjs +0 -1
- package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
- package/dist/extendSxProp-apyK-EBz.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-ChM1Ett8.cjs +0 -5
- package/dist/index-Cw0GDedk.cjs +0 -17
- package/dist/index-DXD5J5Eu.js +0 -186
- package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
- package/dist/refType-CoaxQOPt.cjs +0 -1
- package/dist/useSlot-BTpHG6jf.js +0 -50
- package/dist/useSlot-CByalpSD.cjs +0 -1
- package/dist/useSlotProps-B31YQlzb.js +0 -45
- package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
- package/dist/useTheme-Cy5kyKJF.cjs +0 -1
- package/dist/useTheme-Dukx-__T.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
package/dist/Dialog-D_lS4J_M.js
DELETED
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
import * as c from "react";
|
|
2
|
-
import { I as X, H as Y, G as x, P as e } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
3
|
-
import { u as z } from "./useTheme-DyaNKf4e.js";
|
|
4
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
5
|
-
import { s as d, u as _, c as q } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
6
|
-
import { m as G } from "./memoTheme-D7Fyh_3C.js";
|
|
7
|
-
import { B as J, F as Q } from "./Backdrop-DcDd6WZF.js";
|
|
8
|
-
import { M as Z } from "./Modal-brWBFdK7.js";
|
|
9
|
-
import { c as i } from "./capitalize-CkF8kU4n.js";
|
|
10
|
-
import { P } from "./Paper-BG4Vk_Um.js";
|
|
11
|
-
import { u as ee } from "./useId-CK6Kn3Tn.js";
|
|
12
|
-
const w = /* @__PURE__ */ c.createContext({});
|
|
13
|
-
process.env.NODE_ENV !== "production" && (w.displayName = "DialogContext");
|
|
14
|
-
function oe(r) {
|
|
15
|
-
return Y("MuiDialog", r);
|
|
16
|
-
}
|
|
17
|
-
const y = X("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), re = d(J, {
|
|
18
|
-
name: "MuiDialog",
|
|
19
|
-
slot: "Backdrop",
|
|
20
|
-
overrides: (r, o) => o.backdrop
|
|
21
|
-
})({
|
|
22
|
-
// Improve scrollable dialog support.
|
|
23
|
-
zIndex: -1
|
|
24
|
-
}), ae = (r) => {
|
|
25
|
-
const {
|
|
26
|
-
classes: o,
|
|
27
|
-
scroll: a,
|
|
28
|
-
maxWidth: n,
|
|
29
|
-
fullWidth: s,
|
|
30
|
-
fullScreen: u
|
|
31
|
-
} = r, m = {
|
|
32
|
-
root: ["root"],
|
|
33
|
-
container: ["container", `scroll${i(a)}`],
|
|
34
|
-
paper: ["paper", `paperScroll${i(a)}`, `paperWidth${i(String(n))}`, s && "paperFullWidth", u && "paperFullScreen"]
|
|
35
|
-
};
|
|
36
|
-
return q(m, oe, o);
|
|
37
|
-
}, te = d(Z, {
|
|
38
|
-
name: "MuiDialog",
|
|
39
|
-
slot: "Root",
|
|
40
|
-
overridesResolver: (r, o) => o.root
|
|
41
|
-
})({
|
|
42
|
-
"@media print": {
|
|
43
|
-
// Use !important to override the Modal inline-style.
|
|
44
|
-
position: "absolute !important"
|
|
45
|
-
}
|
|
46
|
-
}), ie = d("div", {
|
|
47
|
-
name: "MuiDialog",
|
|
48
|
-
slot: "Container",
|
|
49
|
-
overridesResolver: (r, o) => {
|
|
50
|
-
const {
|
|
51
|
-
ownerState: a
|
|
52
|
-
} = r;
|
|
53
|
-
return [o.container, o[`scroll${i(a.scroll)}`]];
|
|
54
|
-
}
|
|
55
|
-
})({
|
|
56
|
-
height: "100%",
|
|
57
|
-
"@media print": {
|
|
58
|
-
height: "auto"
|
|
59
|
-
},
|
|
60
|
-
// We disable the focus ring for mouse, touch and keyboard users.
|
|
61
|
-
outline: 0,
|
|
62
|
-
variants: [{
|
|
63
|
-
props: {
|
|
64
|
-
scroll: "paper"
|
|
65
|
-
},
|
|
66
|
-
style: {
|
|
67
|
-
display: "flex",
|
|
68
|
-
justifyContent: "center",
|
|
69
|
-
alignItems: "center"
|
|
70
|
-
}
|
|
71
|
-
}, {
|
|
72
|
-
props: {
|
|
73
|
-
scroll: "body"
|
|
74
|
-
},
|
|
75
|
-
style: {
|
|
76
|
-
overflowY: "auto",
|
|
77
|
-
overflowX: "hidden",
|
|
78
|
-
textAlign: "center",
|
|
79
|
-
"&::after": {
|
|
80
|
-
content: '""',
|
|
81
|
-
display: "inline-block",
|
|
82
|
-
verticalAlign: "middle",
|
|
83
|
-
height: "100%",
|
|
84
|
-
width: "0"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}]
|
|
88
|
-
}), le = d(P, {
|
|
89
|
-
name: "MuiDialog",
|
|
90
|
-
slot: "Paper",
|
|
91
|
-
overridesResolver: (r, o) => {
|
|
92
|
-
const {
|
|
93
|
-
ownerState: a
|
|
94
|
-
} = r;
|
|
95
|
-
return [o.paper, o[`scrollPaper${i(a.scroll)}`], o[`paperWidth${i(String(a.maxWidth))}`], a.fullWidth && o.paperFullWidth, a.fullScreen && o.paperFullScreen];
|
|
96
|
-
}
|
|
97
|
-
})(G(({
|
|
98
|
-
theme: r
|
|
99
|
-
}) => ({
|
|
100
|
-
margin: 32,
|
|
101
|
-
position: "relative",
|
|
102
|
-
overflowY: "auto",
|
|
103
|
-
"@media print": {
|
|
104
|
-
overflowY: "visible",
|
|
105
|
-
boxShadow: "none"
|
|
106
|
-
},
|
|
107
|
-
variants: [{
|
|
108
|
-
props: {
|
|
109
|
-
scroll: "paper"
|
|
110
|
-
},
|
|
111
|
-
style: {
|
|
112
|
-
display: "flex",
|
|
113
|
-
flexDirection: "column",
|
|
114
|
-
maxHeight: "calc(100% - 64px)"
|
|
115
|
-
}
|
|
116
|
-
}, {
|
|
117
|
-
props: {
|
|
118
|
-
scroll: "body"
|
|
119
|
-
},
|
|
120
|
-
style: {
|
|
121
|
-
display: "inline-block",
|
|
122
|
-
verticalAlign: "middle",
|
|
123
|
-
textAlign: "initial"
|
|
124
|
-
}
|
|
125
|
-
}, {
|
|
126
|
-
props: ({
|
|
127
|
-
ownerState: o
|
|
128
|
-
}) => !o.maxWidth,
|
|
129
|
-
style: {
|
|
130
|
-
maxWidth: "calc(100% - 64px)"
|
|
131
|
-
}
|
|
132
|
-
}, {
|
|
133
|
-
props: {
|
|
134
|
-
maxWidth: "xs"
|
|
135
|
-
},
|
|
136
|
-
style: {
|
|
137
|
-
maxWidth: r.breakpoints.unit === "px" ? Math.max(r.breakpoints.values.xs, 444) : `max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,
|
|
138
|
-
[`&.${y.paperScrollBody}`]: {
|
|
139
|
-
[r.breakpoints.down(Math.max(r.breakpoints.values.xs, 444) + 32 * 2)]: {
|
|
140
|
-
maxWidth: "calc(100% - 64px)"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}, ...Object.keys(r.breakpoints.values).filter((o) => o !== "xs").map((o) => ({
|
|
145
|
-
props: {
|
|
146
|
-
maxWidth: o
|
|
147
|
-
},
|
|
148
|
-
style: {
|
|
149
|
-
maxWidth: `${r.breakpoints.values[o]}${r.breakpoints.unit}`,
|
|
150
|
-
[`&.${y.paperScrollBody}`]: {
|
|
151
|
-
[r.breakpoints.down(r.breakpoints.values[o] + 32 * 2)]: {
|
|
152
|
-
maxWidth: "calc(100% - 64px)"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
})), {
|
|
157
|
-
props: ({
|
|
158
|
-
ownerState: o
|
|
159
|
-
}) => o.fullWidth,
|
|
160
|
-
style: {
|
|
161
|
-
width: "calc(100% - 64px)"
|
|
162
|
-
}
|
|
163
|
-
}, {
|
|
164
|
-
props: ({
|
|
165
|
-
ownerState: o
|
|
166
|
-
}) => o.fullScreen,
|
|
167
|
-
style: {
|
|
168
|
-
margin: 0,
|
|
169
|
-
width: "100%",
|
|
170
|
-
maxWidth: "100%",
|
|
171
|
-
height: "100%",
|
|
172
|
-
maxHeight: "none",
|
|
173
|
-
borderRadius: 0,
|
|
174
|
-
[`&.${y.paperScrollBody}`]: {
|
|
175
|
-
margin: 0,
|
|
176
|
-
maxWidth: "100%"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}]
|
|
180
|
-
}))), ne = /* @__PURE__ */ c.forwardRef(function(o, a) {
|
|
181
|
-
const n = _({
|
|
182
|
-
props: o,
|
|
183
|
-
name: "MuiDialog"
|
|
184
|
-
}), s = z(), u = {
|
|
185
|
-
enter: s.transitions.duration.enteringScreen,
|
|
186
|
-
exit: s.transitions.duration.leavingScreen
|
|
187
|
-
}, {
|
|
188
|
-
"aria-describedby": m,
|
|
189
|
-
"aria-labelledby": T,
|
|
190
|
-
"aria-modal": B = !0,
|
|
191
|
-
BackdropComponent: M,
|
|
192
|
-
BackdropProps: $,
|
|
193
|
-
children: O,
|
|
194
|
-
className: N,
|
|
195
|
-
disableEscapeKeyDown: k = !1,
|
|
196
|
-
fullScreen: R = !1,
|
|
197
|
-
fullWidth: j = !1,
|
|
198
|
-
maxWidth: F = "sm",
|
|
199
|
-
onBackdropClick: C,
|
|
200
|
-
onClick: D,
|
|
201
|
-
onClose: f,
|
|
202
|
-
open: v,
|
|
203
|
-
PaperComponent: E = P,
|
|
204
|
-
PaperProps: W = {},
|
|
205
|
-
scroll: A = "paper",
|
|
206
|
-
TransitionComponent: I = Q,
|
|
207
|
-
transitionDuration: S = u,
|
|
208
|
-
TransitionProps: U,
|
|
209
|
-
...H
|
|
210
|
-
} = n, p = {
|
|
211
|
-
...n,
|
|
212
|
-
disableEscapeKeyDown: k,
|
|
213
|
-
fullScreen: R,
|
|
214
|
-
fullWidth: j,
|
|
215
|
-
maxWidth: F,
|
|
216
|
-
scroll: A
|
|
217
|
-
}, b = ae(p), g = c.useRef(), K = (t) => {
|
|
218
|
-
g.current = t.target === t.currentTarget;
|
|
219
|
-
}, L = (t) => {
|
|
220
|
-
D && D(t), g.current && (g.current = null, C && C(t), f && f(t, "backdropClick"));
|
|
221
|
-
}, h = ee(T), V = c.useMemo(() => ({
|
|
222
|
-
titleId: h
|
|
223
|
-
}), [h]);
|
|
224
|
-
return /* @__PURE__ */ l(te, {
|
|
225
|
-
className: x(b.root, N),
|
|
226
|
-
closeAfterTransition: !0,
|
|
227
|
-
components: {
|
|
228
|
-
Backdrop: re
|
|
229
|
-
},
|
|
230
|
-
componentsProps: {
|
|
231
|
-
backdrop: {
|
|
232
|
-
transitionDuration: S,
|
|
233
|
-
as: M,
|
|
234
|
-
...$
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
disableEscapeKeyDown: k,
|
|
238
|
-
onClose: f,
|
|
239
|
-
open: v,
|
|
240
|
-
ref: a,
|
|
241
|
-
onClick: L,
|
|
242
|
-
ownerState: p,
|
|
243
|
-
...H,
|
|
244
|
-
children: /* @__PURE__ */ l(I, {
|
|
245
|
-
appear: !0,
|
|
246
|
-
in: v,
|
|
247
|
-
timeout: S,
|
|
248
|
-
role: "presentation",
|
|
249
|
-
...U,
|
|
250
|
-
children: /* @__PURE__ */ l(ie, {
|
|
251
|
-
className: x(b.container),
|
|
252
|
-
onMouseDown: K,
|
|
253
|
-
ownerState: p,
|
|
254
|
-
children: /* @__PURE__ */ l(le, {
|
|
255
|
-
as: E,
|
|
256
|
-
elevation: 24,
|
|
257
|
-
role: "dialog",
|
|
258
|
-
"aria-describedby": m,
|
|
259
|
-
"aria-labelledby": h,
|
|
260
|
-
"aria-modal": B,
|
|
261
|
-
...W,
|
|
262
|
-
className: x(b.paper, W.className),
|
|
263
|
-
ownerState: p,
|
|
264
|
-
children: /* @__PURE__ */ l(w.Provider, {
|
|
265
|
-
value: V,
|
|
266
|
-
children: O
|
|
267
|
-
})
|
|
268
|
-
})
|
|
269
|
-
})
|
|
270
|
-
})
|
|
271
|
-
});
|
|
272
|
-
});
|
|
273
|
-
process.env.NODE_ENV !== "production" && (ne.propTypes = {
|
|
274
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
275
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
276
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
277
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
278
|
-
/**
|
|
279
|
-
* The id(s) of the element(s) that describe the dialog.
|
|
280
|
-
*/
|
|
281
|
-
"aria-describedby": e.string,
|
|
282
|
-
/**
|
|
283
|
-
* The id(s) of the element(s) that label the dialog.
|
|
284
|
-
*/
|
|
285
|
-
"aria-labelledby": e.string,
|
|
286
|
-
/**
|
|
287
|
-
* Informs assistive technologies that the element is modal.
|
|
288
|
-
* It's added on the element with role="dialog".
|
|
289
|
-
* @default true
|
|
290
|
-
*/
|
|
291
|
-
"aria-modal": e.oneOfType([e.oneOf(["false", "true"]), e.bool]),
|
|
292
|
-
/**
|
|
293
|
-
* A backdrop component. This prop enables custom backdrop rendering.
|
|
294
|
-
* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
295
|
-
* Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
|
|
296
|
-
* @default styled(Backdrop, {
|
|
297
|
-
* name: 'MuiModal',
|
|
298
|
-
* slot: 'Backdrop',
|
|
299
|
-
* overridesResolver: (props, styles) => {
|
|
300
|
-
* return styles.backdrop;
|
|
301
|
-
* },
|
|
302
|
-
* })({
|
|
303
|
-
* zIndex: -1,
|
|
304
|
-
* })
|
|
305
|
-
*/
|
|
306
|
-
BackdropComponent: e.elementType,
|
|
307
|
-
/**
|
|
308
|
-
* @ignore
|
|
309
|
-
*/
|
|
310
|
-
BackdropProps: e.object,
|
|
311
|
-
/**
|
|
312
|
-
* Dialog children, usually the included sub-components.
|
|
313
|
-
*/
|
|
314
|
-
children: e.node,
|
|
315
|
-
/**
|
|
316
|
-
* Override or extend the styles applied to the component.
|
|
317
|
-
*/
|
|
318
|
-
classes: e.object,
|
|
319
|
-
/**
|
|
320
|
-
* @ignore
|
|
321
|
-
*/
|
|
322
|
-
className: e.string,
|
|
323
|
-
/**
|
|
324
|
-
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
325
|
-
* @default false
|
|
326
|
-
*/
|
|
327
|
-
disableEscapeKeyDown: e.bool,
|
|
328
|
-
/**
|
|
329
|
-
* If `true`, the dialog is full-screen.
|
|
330
|
-
* @default false
|
|
331
|
-
*/
|
|
332
|
-
fullScreen: e.bool,
|
|
333
|
-
/**
|
|
334
|
-
* If `true`, the dialog stretches to `maxWidth`.
|
|
335
|
-
*
|
|
336
|
-
* Notice that the dialog width grow is limited by the default margin.
|
|
337
|
-
* @default false
|
|
338
|
-
*/
|
|
339
|
-
fullWidth: e.bool,
|
|
340
|
-
/**
|
|
341
|
-
* Determine the max-width of the dialog.
|
|
342
|
-
* The dialog width grows with the size of the screen.
|
|
343
|
-
* Set to `false` to disable `maxWidth`.
|
|
344
|
-
* @default 'sm'
|
|
345
|
-
*/
|
|
346
|
-
maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
|
|
347
|
-
/**
|
|
348
|
-
* Callback fired when the backdrop is clicked.
|
|
349
|
-
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
350
|
-
*/
|
|
351
|
-
onBackdropClick: e.func,
|
|
352
|
-
/**
|
|
353
|
-
* @ignore
|
|
354
|
-
*/
|
|
355
|
-
onClick: e.func,
|
|
356
|
-
/**
|
|
357
|
-
* Callback fired when the component requests to be closed.
|
|
358
|
-
*
|
|
359
|
-
* @param {object} event The event source of the callback.
|
|
360
|
-
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
361
|
-
*/
|
|
362
|
-
onClose: e.func,
|
|
363
|
-
/**
|
|
364
|
-
* If `true`, the component is shown.
|
|
365
|
-
*/
|
|
366
|
-
open: e.bool.isRequired,
|
|
367
|
-
/**
|
|
368
|
-
* The component used to render the body of the dialog.
|
|
369
|
-
* @default Paper
|
|
370
|
-
*/
|
|
371
|
-
PaperComponent: e.elementType,
|
|
372
|
-
/**
|
|
373
|
-
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
374
|
-
* @default {}
|
|
375
|
-
*/
|
|
376
|
-
PaperProps: e.object,
|
|
377
|
-
/**
|
|
378
|
-
* Determine the container for scrolling the dialog.
|
|
379
|
-
* @default 'paper'
|
|
380
|
-
*/
|
|
381
|
-
scroll: e.oneOf(["body", "paper"]),
|
|
382
|
-
/**
|
|
383
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
384
|
-
*/
|
|
385
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
386
|
-
/**
|
|
387
|
-
* The component used for the transition.
|
|
388
|
-
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
389
|
-
* @default Fade
|
|
390
|
-
*/
|
|
391
|
-
TransitionComponent: e.elementType,
|
|
392
|
-
/**
|
|
393
|
-
* The duration for the transition, in milliseconds.
|
|
394
|
-
* You may specify a single timeout for all transitions, or individually with an object.
|
|
395
|
-
* @default {
|
|
396
|
-
* enter: theme.transitions.duration.enteringScreen,
|
|
397
|
-
* exit: theme.transitions.duration.leavingScreen,
|
|
398
|
-
* }
|
|
399
|
-
*/
|
|
400
|
-
transitionDuration: e.oneOfType([e.number, e.shape({
|
|
401
|
-
appear: e.number,
|
|
402
|
-
enter: e.number,
|
|
403
|
-
exit: e.number
|
|
404
|
-
})]),
|
|
405
|
-
/**
|
|
406
|
-
* Props applied to the transition element.
|
|
407
|
-
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
408
|
-
*/
|
|
409
|
-
TransitionProps: e.object
|
|
410
|
-
});
|
|
411
|
-
export {
|
|
412
|
-
ne as D,
|
|
413
|
-
w as a,
|
|
414
|
-
y as d
|
|
415
|
-
};
|
package/dist/Dialog-yOrNcHbG.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const V=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),X=require("./useTheme-Cy5kyKJF.cjs"),n=require("react/jsx-runtime"),i=require("./DefaultPropsProvider-3KMGupjb.cjs"),Y=require("./memoTheme-Bdg0Y_2O.cjs"),S=require("./Backdrop-CvufxHMY.cjs"),H=require("./Modal-DImrEpYJ.cjs"),p=require("./capitalize-B3GG7Wn6.cjs"),W=require("./Paper-Cr56xkCr.cjs"),G=require("./useId-DNXtOFeX.cjs");function J(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const a in r)if(a!=="default"){const t=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(o,a,t.get?t:{enumerable:!0,get:()=>r[a]})}}return o.default=r,Object.freeze(o)}const d=J(V),g=d.createContext({});process.env.NODE_ENV!=="production"&&(g.displayName="DialogContext");function Q(r){return e.generateUtilityClass("MuiDialog",r)}const u=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Z=i.styled(S.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(r,o)=>o.backdrop})({zIndex:-1}),ee=r=>{const{classes:o,scroll:a,maxWidth:t,fullWidth:l,fullScreen:y}=r,m={root:["root"],container:["container",`scroll${p.capitalize(a)}`],paper:["paper",`paperScroll${p.capitalize(a)}`,`paperWidth${p.capitalize(String(t))}`,l&&"paperFullWidth",y&&"paperFullScreen"]};return i.composeClasses(m,Q,o)},oe=i.styled(H.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(r,o)=>o.root})({"@media print":{position:"absolute !important"}}),re=i.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(r,o)=>{const{ownerState:a}=r;return[o.container,o[`scroll${p.capitalize(a.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"}}}]}),ae=i.styled(W.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(r,o)=>{const{ownerState:a}=r;return[o.paper,o[`scrollPaper${p.capitalize(a.scroll)}`],o[`paperWidth${p.capitalize(String(a.maxWidth))}`],a.fullWidth&&o.paperFullWidth,a.fullScreen&&o.paperFullScreen]}})(Y.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)`,[`&.${u.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}`,[`&.${u.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,[`&.${u.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),w=d.forwardRef(function(o,a){const t=i.useDefaultProps({props:o,name:"MuiDialog"}),l=X.useTheme(),y={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":m,"aria-labelledby":j,"aria-modal":B=!0,BackdropComponent:M,BackdropProps:O,children:$,className:q,disableEscapeKeyDown:x=!1,fullScreen:N=!1,fullWidth:R=!1,maxWidth:z="sm",onBackdropClick:h,onClick:k,onClose:b,open:D,PaperComponent:F=W.Paper,PaperProps:C={},scroll:E="paper",TransitionComponent:A=S.Fade,transitionDuration:v=y,TransitionProps:I,...U}=t,c={...t,disableEscapeKeyDown:x,fullScreen:N,fullWidth:R,maxWidth:z,scroll:E},P=ee(c),f=d.useRef(),_=s=>{f.current=s.target===s.currentTarget},K=s=>{k&&k(s),f.current&&(f.current=null,h&&h(s),b&&b(s,"backdropClick"))},T=G.useId(j),L=d.useMemo(()=>({titleId:T}),[T]);return n.jsx(oe,{className:e.clsx(P.root,q),closeAfterTransition:!0,components:{Backdrop:Z},componentsProps:{backdrop:{transitionDuration:v,as:M,...O}},disableEscapeKeyDown:x,onClose:b,open:D,ref:a,onClick:K,ownerState:c,...U,children:n.jsx(A,{appear:!0,in:D,timeout:v,role:"presentation",...I,children:n.jsx(re,{className:e.clsx(P.container),onMouseDown:_,ownerState:c,children:n.jsx(ae,{as:F,elevation:24,role:"dialog","aria-describedby":m,"aria-labelledby":T,"aria-modal":B,...C,className:e.clsx(P.paper,C.className),ownerState:c,children:n.jsx(g.Provider,{value:L,children:$})})})})})});process.env.NODE_ENV!=="production"&&(w.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"]),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=w;exports.DialogContext=g;exports.dialogClasses=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const D=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),d=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-3KMGupjb.cjs"),P=require("./memoTheme-Bdg0Y_2O.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 +0,0 @@
|
|
|
1
|
-
"use strict";const C=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),n=require("./DefaultPropsProvider-3KMGupjb.cjs"),u=require("react/jsx-runtime"),y=require("./Typography-DfRMDngd.cjs"),D=require("./DialogContent-Dj_OjLZ6.cjs"),x=require("./Dialog-yOrNcHbG.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 T(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,T,t);return{...t,...r}},O=n.styled(y.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 u.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 h=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,D.getDialogTitleUtilityClass,t)},N=n.styled(y.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=h(a),{titleId:P=p}=i.useContext(x.DialogContext);return u.jsx(N,{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=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const P=require("react"),i=require("./generateUtilityClasses-B_H9HEmg.cjs"),y=require("./memoTheme-Bdg0Y_2O.cjs"),w=require("./dividerClasses-CCAY3Pnr.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-3KMGupjb.cjs");function D(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const O=D(P),R=t=>{const{absolute:e,children:r,classes:o,flexItem:d,light:s,orientation:n,textAlign:a,variant:l}=t,f={root:["root",e&&"absolute",l,s&&"light",n==="vertical"&&"vertical",d&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",a==="right"&&n!=="vertical"&&"textAlignRight",a==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]};return c.composeClasses(f,w.getDividerUtilityClass,o)},S=c.styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(y.memoTheme(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:i.alpha(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),A=c.styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(y.memoTheme(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),p=O.forwardRef(function(e,r){const o=c.useDefaultProps({props:e,name:"MuiDivider"}),{absolute:d=!1,children:s,className:n,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:f=!1,light:b=!1,role:g=l!=="hr"?"separator":void 0,textAlign:T="center",variant:m="fullWidth",...x}=o,h={...o,absolute:d,component:l,flexItem:f,light:b,orientation:a,role:g,textAlign:T,variant:m},v=R(h);return u.jsx(S,{as:l,className:i.clsx(v.root,n),role:g,ref:r,ownerState:h,"aria-orientation":g==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...x,children:s?u.jsx(A,{className:v.wrapper,ownerState:h,children:s}):null})});p&&(p.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(p.propTypes={absolute:i.PropTypes.bool,children:i.PropTypes.node,classes:i.PropTypes.object,className:i.PropTypes.string,component:i.PropTypes.elementType,flexItem:i.PropTypes.bool,light:i.PropTypes.bool,orientation:i.PropTypes.oneOf(["horizontal","vertical"]),role:i.PropTypes.string,sx:i.PropTypes.oneOfType([i.PropTypes.arrayOf(i.PropTypes.oneOfType([i.PropTypes.func,i.PropTypes.object,i.PropTypes.bool])),i.PropTypes.func,i.PropTypes.object]),textAlign:i.PropTypes.oneOf(["center","left","right"]),variant:i.PropTypes.oneOfType([i.PropTypes.oneOf(["fullWidth","inset","middle"]),i.PropTypes.string])});exports.Divider=p;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const z=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),v=require("./memoTheme-Bdg0Y_2O.cjs"),E=require("./formControlState-CuX6WjAX.cjs"),_=require("./useSlot-CByalpSD.cjs"),u=require("react/jsx-runtime"),m=require("./DefaultPropsProvider-3KMGupjb.cjs"),L=require("./capitalize-B3GG7Wn6.cjs"),A=require("./useFormControl-haP0iPhl.cjs"),C=require("./Typography-DfRMDngd.cjs"),B=require("./refType-CoaxQOPt.cjs");function H(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>o[t]})}}return r.default=o,Object.freeze(r)}const q=H(z);function j(o){return e.generateUtilityClass("MuiFormControlLabel",o)}const a=e.generateUtilityClasses("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),I=o=>{const{classes:r,disabled:t,labelPlacement:s,error:b,required:y}=o,P={root:["root",t&&"disabled",`labelPlacement${L.capitalize(s)}`,b&&"error",y&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",b&&"error"]};return m.composeClasses(P,j,r)},V=m.styled("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[{[`& .${a.label}`]:r.label},r.root,r[`labelPlacement${L.capitalize(t.labelPlacement)}`]]}})(v.memoTheme(({theme:o})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${a.disabled}`]:{cursor:"default"},[`& .${a.label}`]:{[`&.${a.disabled}`]:{color:(o.vars||o).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:r})=>r==="start"||r==="top"||r==="bottom",style:{marginLeft:16}}]}))),W=m.styled("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(o,r)=>r.asterisk})(v.memoTheme(({theme:o})=>({[`&.${a.error}`]:{color:(o.vars||o).palette.error.main}}))),x=q.forwardRef(function(r,t){const s=m.useDefaultProps({props:r,name:"MuiFormControlLabel"}),{checked:b,className:y,componentsProps:P={},control:n,disabled:R,disableTypography:F,inputRef:G,label:O,labelPlacement:S="end",name:J,onChange:K,required:k,slots:N={},slotProps:w={},value:Q,...D}=s,p=A.useFormControl(),g=R??n.props.disabled??(p==null?void 0:p.disabled),f=k??n.props.required,h={disabled:g,required:f};["checked","name","onChange","value","inputRef"].forEach(d=>{typeof n.props[d]>"u"&&typeof s[d]<"u"&&(h[d]=s[d])});const $=E.formControlState({props:s,muiFormControl:p,states:["error"]}),i={...s,disabled:g,labelPlacement:S,required:f,error:$.error},T=I(i),M={slots:N,slotProps:{...P,...w}},[U,c]=_.useSlot("typography",{elementType:C.Typography,externalForwardedProps:M,ownerState:i});let l=O;return l!=null&&l.type!==C.Typography&&!F&&(l=u.jsx(U,{component:"span",...c,className:e.clsx(T.label,c==null?void 0:c.className),children:l})),u.jsxs(V,{className:e.clsx(T.root,y),ownerState:i,ref:t,...D,children:[q.cloneElement(n,h),f?u.jsxs("div",{children:[l,u.jsxs(W,{ownerState:i,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}):l]})});process.env.NODE_ENV!=="production"&&(x.propTypes={checked:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string,componentsProps:e.PropTypes.shape({typography:e.PropTypes.object}),control:e.PropTypes.element.isRequired,disabled:e.PropTypes.bool,disableTypography:e.PropTypes.bool,inputRef:B.refType,label:e.PropTypes.node,labelPlacement:e.PropTypes.oneOf(["bottom","end","start","top"]),name:e.PropTypes.string,onChange:e.PropTypes.func,required:e.PropTypes.bool,slotProps:e.PropTypes.shape({typography:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({typography: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]),value:e.PropTypes.any});exports.FormControlLabel=x;exports.formControlLabelClasses=a;exports.getFormControlLabelUtilityClasses=j;
|