@cgi-learning-hub/ui 1.3.5 → 1.4.0
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
|
@@ -1,335 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { B as j, a as z, r as O } from "../../Button-BnNYfQ3E.js";
|
|
6
|
-
import { m as h } from "../../memoTheme-D7Fyh_3C.js";
|
|
7
|
-
import { c } from "../../capitalize-CkF8kU4n.js";
|
|
8
|
-
import { u as k } from "../../useId-CK6Kn3Tn.js";
|
|
9
|
-
import { c as U } from "../../chainPropTypes-D9lkm76m.js";
|
|
10
|
-
import { C as W } from "../../CircularProgress-Kwlef5fX.js";
|
|
11
|
-
function N(t) {
|
|
12
|
-
return T("MuiLoadingButton", t);
|
|
13
|
-
}
|
|
14
|
-
const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), D = (t) => {
|
|
15
|
-
const {
|
|
16
|
-
loading: o,
|
|
17
|
-
loadingPosition: i,
|
|
18
|
-
classes: e
|
|
19
|
-
} = t, u = {
|
|
20
|
-
root: ["root", o && "loading"],
|
|
21
|
-
label: ["label"],
|
|
22
|
-
startIcon: [o && `startIconLoading${c(i)}`],
|
|
23
|
-
endIcon: [o && `endIconLoading${c(i)}`],
|
|
24
|
-
loadingIndicator: ["loadingIndicator", o && `loadingIndicator${c(i)}`]
|
|
25
|
-
}, d = S(u, N, e);
|
|
26
|
-
return {
|
|
27
|
-
...e,
|
|
28
|
-
// forward the outlined, color, etc. classes to Button
|
|
29
|
-
...d
|
|
30
|
-
};
|
|
31
|
-
}, F = (t) => t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as" && t !== "classes", H = g(j, {
|
|
32
|
-
shouldForwardProp: (t) => F(t) || t === "classes",
|
|
33
|
-
name: "MuiLoadingButton",
|
|
34
|
-
slot: "Root",
|
|
35
|
-
overridesResolver: (t, o) => [o.root, o.startIconLoadingStart && {
|
|
36
|
-
[`& .${a.startIconLoadingStart}`]: o.startIconLoadingStart
|
|
37
|
-
}, o.endIconLoadingEnd && {
|
|
38
|
-
[`& .${a.endIconLoadingEnd}`]: o.endIconLoadingEnd
|
|
39
|
-
}]
|
|
40
|
-
})(h(({
|
|
41
|
-
theme: t
|
|
42
|
-
}) => ({
|
|
43
|
-
display: "inline-flex",
|
|
44
|
-
[`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
|
|
45
|
-
transition: t.transitions.create(["opacity"], {
|
|
46
|
-
duration: t.transitions.duration.short
|
|
47
|
-
}),
|
|
48
|
-
opacity: 0
|
|
49
|
-
},
|
|
50
|
-
variants: [{
|
|
51
|
-
props: {
|
|
52
|
-
loadingPosition: "center"
|
|
53
|
-
},
|
|
54
|
-
style: {
|
|
55
|
-
transition: t.transitions.create(["background-color", "box-shadow", "border-color"], {
|
|
56
|
-
duration: t.transitions.duration.short
|
|
57
|
-
}),
|
|
58
|
-
[`&.${a.loading}`]: {
|
|
59
|
-
color: "transparent"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
props: ({
|
|
64
|
-
ownerState: o
|
|
65
|
-
}) => o.loadingPosition === "start" && o.fullWidth,
|
|
66
|
-
style: {
|
|
67
|
-
[`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
|
|
68
|
-
transition: t.transitions.create(["opacity"], {
|
|
69
|
-
duration: t.transitions.duration.short
|
|
70
|
-
}),
|
|
71
|
-
opacity: 0,
|
|
72
|
-
marginRight: -8
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}, {
|
|
76
|
-
props: ({
|
|
77
|
-
ownerState: o
|
|
78
|
-
}) => o.loadingPosition === "end" && o.fullWidth,
|
|
79
|
-
style: {
|
|
80
|
-
[`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
|
|
81
|
-
transition: t.transitions.create(["opacity"], {
|
|
82
|
-
duration: t.transitions.duration.short
|
|
83
|
-
}),
|
|
84
|
-
opacity: 0,
|
|
85
|
-
marginLeft: -8
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}]
|
|
89
|
-
}))), G = g("span", {
|
|
90
|
-
name: "MuiLoadingButton",
|
|
91
|
-
slot: "LoadingIndicator",
|
|
92
|
-
overridesResolver: (t, o) => {
|
|
93
|
-
const {
|
|
94
|
-
ownerState: i
|
|
95
|
-
} = t;
|
|
96
|
-
return [o.loadingIndicator, o[`loadingIndicator${c(i.loadingPosition)}`]];
|
|
97
|
-
}
|
|
98
|
-
})(h(({
|
|
99
|
-
theme: t
|
|
100
|
-
}) => ({
|
|
101
|
-
position: "absolute",
|
|
102
|
-
visibility: "visible",
|
|
103
|
-
display: "flex",
|
|
104
|
-
variants: [{
|
|
105
|
-
props: {
|
|
106
|
-
loadingPosition: "start",
|
|
107
|
-
size: "small"
|
|
108
|
-
},
|
|
109
|
-
style: {
|
|
110
|
-
left: 10
|
|
111
|
-
}
|
|
112
|
-
}, {
|
|
113
|
-
props: ({
|
|
114
|
-
loadingPosition: o,
|
|
115
|
-
ownerState: i
|
|
116
|
-
}) => o === "start" && i.size !== "small",
|
|
117
|
-
style: {
|
|
118
|
-
left: 14
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
props: {
|
|
122
|
-
variant: "text",
|
|
123
|
-
loadingPosition: "start"
|
|
124
|
-
},
|
|
125
|
-
style: {
|
|
126
|
-
left: 6
|
|
127
|
-
}
|
|
128
|
-
}, {
|
|
129
|
-
props: {
|
|
130
|
-
loadingPosition: "center"
|
|
131
|
-
},
|
|
132
|
-
style: {
|
|
133
|
-
left: "50%",
|
|
134
|
-
transform: "translate(-50%)",
|
|
135
|
-
color: (t.vars || t).palette.action.disabled
|
|
136
|
-
}
|
|
137
|
-
}, {
|
|
138
|
-
props: {
|
|
139
|
-
loadingPosition: "end",
|
|
140
|
-
size: "small"
|
|
141
|
-
},
|
|
142
|
-
style: {
|
|
143
|
-
right: 10
|
|
144
|
-
}
|
|
145
|
-
}, {
|
|
146
|
-
props: ({
|
|
147
|
-
loadingPosition: o,
|
|
148
|
-
ownerState: i
|
|
149
|
-
}) => o === "end" && i.size !== "small",
|
|
150
|
-
style: {
|
|
151
|
-
right: 14
|
|
152
|
-
}
|
|
153
|
-
}, {
|
|
154
|
-
props: {
|
|
155
|
-
variant: "text",
|
|
156
|
-
loadingPosition: "end"
|
|
157
|
-
},
|
|
158
|
-
style: {
|
|
159
|
-
right: 6
|
|
160
|
-
}
|
|
161
|
-
}, {
|
|
162
|
-
props: ({
|
|
163
|
-
ownerState: o
|
|
164
|
-
}) => o.loadingPosition === "start" && o.fullWidth,
|
|
165
|
-
style: {
|
|
166
|
-
position: "relative",
|
|
167
|
-
left: -10
|
|
168
|
-
}
|
|
169
|
-
}, {
|
|
170
|
-
props: ({
|
|
171
|
-
ownerState: o
|
|
172
|
-
}) => o.loadingPosition === "end" && o.fullWidth,
|
|
173
|
-
style: {
|
|
174
|
-
position: "relative",
|
|
175
|
-
right: -10
|
|
176
|
-
}
|
|
177
|
-
}]
|
|
178
|
-
}))), v = g("span", {
|
|
179
|
-
name: "MuiLoadingButton",
|
|
180
|
-
slot: "Label",
|
|
181
|
-
overridesResolver: (t, o) => [o.label]
|
|
182
|
-
})({
|
|
183
|
-
display: "inherit",
|
|
184
|
-
alignItems: "inherit",
|
|
185
|
-
justifyContent: "inherit"
|
|
186
|
-
}), B = /* @__PURE__ */ P.forwardRef(function(o, i) {
|
|
187
|
-
const e = P.useContext(z), u = O(e, o), d = M({
|
|
188
|
-
props: u,
|
|
189
|
-
name: "MuiLoadingButton"
|
|
190
|
-
}), {
|
|
191
|
-
children: m,
|
|
192
|
-
disabled: f = !1,
|
|
193
|
-
id: C,
|
|
194
|
-
loading: p = !1,
|
|
195
|
-
loadingIndicator: x,
|
|
196
|
-
loadingPosition: $ = "center",
|
|
197
|
-
variant: I = "text",
|
|
198
|
-
...w
|
|
199
|
-
} = d, b = k(C), y = x ?? /* @__PURE__ */ s(W, {
|
|
200
|
-
"aria-labelledby": b,
|
|
201
|
-
color: "inherit",
|
|
202
|
-
size: 16
|
|
203
|
-
}), r = {
|
|
204
|
-
...d,
|
|
205
|
-
disabled: f,
|
|
206
|
-
loading: p,
|
|
207
|
-
loadingIndicator: y,
|
|
208
|
-
loadingPosition: $,
|
|
209
|
-
variant: I
|
|
210
|
-
}, l = D(r), L = p ? /* @__PURE__ */ s(G, {
|
|
211
|
-
className: l.loadingIndicator,
|
|
212
|
-
ownerState: r,
|
|
213
|
-
children: y
|
|
214
|
-
}) : null;
|
|
215
|
-
return /* @__PURE__ */ E(H, {
|
|
216
|
-
disabled: f || p,
|
|
217
|
-
id: b,
|
|
218
|
-
ref: i,
|
|
219
|
-
...w,
|
|
220
|
-
variant: I,
|
|
221
|
-
classes: l,
|
|
222
|
-
ownerState: r,
|
|
223
|
-
children: [r.loadingPosition === "end" ? /* @__PURE__ */ s(v, {
|
|
224
|
-
className: l.label,
|
|
225
|
-
children: m
|
|
226
|
-
}) : L, r.loadingPosition === "end" ? L : /* @__PURE__ */ s(v, {
|
|
227
|
-
className: l.label,
|
|
228
|
-
children: m
|
|
229
|
-
})]
|
|
230
|
-
});
|
|
231
|
-
});
|
|
232
|
-
process.env.NODE_ENV !== "production" && (B.propTypes = {
|
|
233
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
234
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
235
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
236
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
237
|
-
/**
|
|
238
|
-
* The content of the component.
|
|
239
|
-
*/
|
|
240
|
-
children: n.node,
|
|
241
|
-
/**
|
|
242
|
-
* Override or extend the styles applied to the component.
|
|
243
|
-
*/
|
|
244
|
-
classes: n.object,
|
|
245
|
-
/**
|
|
246
|
-
* If `true`, the component is disabled.
|
|
247
|
-
* @default false
|
|
248
|
-
*/
|
|
249
|
-
disabled: n.bool,
|
|
250
|
-
/**
|
|
251
|
-
* @ignore
|
|
252
|
-
*/
|
|
253
|
-
id: n.string,
|
|
254
|
-
/**
|
|
255
|
-
* If `true`, the loading indicator is shown and the button becomes disabled.
|
|
256
|
-
* @default false
|
|
257
|
-
*/
|
|
258
|
-
loading: n.bool,
|
|
259
|
-
/**
|
|
260
|
-
* Element placed before the children if the button is in loading state.
|
|
261
|
-
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
262
|
-
* By default we render a `CircularProgress` that is labelled by the button itself.
|
|
263
|
-
* @default <CircularProgress color="inherit" size={16} />
|
|
264
|
-
*/
|
|
265
|
-
loadingIndicator: n.node,
|
|
266
|
-
/**
|
|
267
|
-
* The loading indicator can be positioned on the start, end, or the center of the button.
|
|
268
|
-
* @default 'center'
|
|
269
|
-
*/
|
|
270
|
-
loadingPosition: U(n.oneOf(["start", "end", "center"]), (t) => t.loadingPosition === "start" && !t.startIcon ? new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.') : t.loadingPosition === "end" && !t.endIcon ? new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.') : null),
|
|
271
|
-
/**
|
|
272
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
273
|
-
*/
|
|
274
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
|
|
275
|
-
/**
|
|
276
|
-
* The variant to use.
|
|
277
|
-
* @default 'text'
|
|
278
|
-
*/
|
|
279
|
-
variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
|
|
280
|
-
});
|
|
281
|
-
const V = g(B)(({ color: t, theme: o }) => ({
|
|
282
|
-
justifyContent: "center",
|
|
283
|
-
alignItems: "center",
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { s as e } from "../../DefaultPropsProvider-BcmyIf2H.js";
|
|
3
|
+
import { B as n } from "../../Button-rxIER0bL.js";
|
|
4
|
+
const i = e(n)(({ color: t, theme: o }) => ({
|
|
284
5
|
minHeight: 38,
|
|
285
6
|
textTransform: "none",
|
|
286
|
-
color: t,
|
|
287
|
-
borderColor: t,
|
|
288
|
-
borderRadius: 5,
|
|
289
|
-
borderWidth: 2,
|
|
290
7
|
transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
|
|
291
|
-
"&.MuiButton-contained": {
|
|
292
|
-
color: o.palette.common.white
|
|
293
|
-
},
|
|
294
8
|
"&.MuiButton-outlined": {
|
|
295
9
|
borderRadius: 5,
|
|
296
|
-
borderWidth: 2
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
},
|
|
302
|
-
"&:hover": {
|
|
303
|
-
backgroundColor: o.palette.primary.dark,
|
|
304
|
-
borderColor: o.palette.primary.dark,
|
|
305
|
-
color: o.palette.common.white
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
"&.MuiButton-colorSecondary": {
|
|
309
|
-
"&:active": {
|
|
310
|
-
borderColor: o.palette.secondary.main,
|
|
311
|
-
color: o.palette.secondary.main
|
|
312
|
-
},
|
|
313
|
-
"&:hover": {
|
|
314
|
-
backgroundColor: o.palette.secondary.main,
|
|
315
|
-
color: o.palette.common.white
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
"&.MuiButton-colorError": {
|
|
319
|
-
"&:active": {
|
|
320
|
-
borderColor: o.palette.error.main,
|
|
321
|
-
color: o.palette.error.main
|
|
322
|
-
},
|
|
323
|
-
"&:hover": {
|
|
324
|
-
backgroundColor: o.palette.error.main,
|
|
325
|
-
color: o.palette.common.white
|
|
326
|
-
}
|
|
327
|
-
}
|
|
10
|
+
borderWidth: 2
|
|
11
|
+
/* "&:hover": {
|
|
12
|
+
//backgroundColor: theme.palette[color].main,
|
|
13
|
+
color: theme.palette.common.white,
|
|
14
|
+
},*/
|
|
328
15
|
}
|
|
329
|
-
})),
|
|
16
|
+
})), d = ({
|
|
330
17
|
variant: t = "outlined",
|
|
331
18
|
...o
|
|
332
|
-
}) => /* @__PURE__ */
|
|
19
|
+
}) => /* @__PURE__ */ r(i, { variant: t, ...o });
|
|
333
20
|
export {
|
|
334
|
-
|
|
21
|
+
d as default
|
|
335
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-CJ5-Udgh.cjs");module.exports=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-CJ5-Udgh.cjs");exports.DatePicker=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),t=require("../../
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-DQWTEbNz.cjs"),c=require("@mui/material"),u=require("../../Dialog-Cmv58WoN.cjs"),a=({children:s,showCloseButton:i=!0,...e})=>{const o=()=>{var l;return(l=e.onClose)==null?void 0:l.call(e,{},"escapeKeyDown")};return n.jsxs(u.Dialog,{...e,children:[i?n.jsx(c.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:24,top:24},children:n.jsx(t.CloseRounded,{})}):null,s]})};module.exports=a;
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { C as s } from "../../CloseRounded-DTpqUeWr.js";
|
|
3
3
|
import { IconButton as t } from "@mui/material";
|
|
4
|
-
import { D as
|
|
5
|
-
const
|
|
6
|
-
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
|
|
7
|
-
}), "CloseRounded"), g = ({
|
|
4
|
+
import { D as c } from "../../Dialog-CgBiKk8B.js";
|
|
5
|
+
const f = ({
|
|
8
6
|
children: e,
|
|
9
7
|
showCloseButton: a = !0,
|
|
10
|
-
...
|
|
11
|
-
}) => /* @__PURE__ */ c
|
|
12
|
-
a ? /* @__PURE__ */
|
|
8
|
+
...l
|
|
9
|
+
}) => /* @__PURE__ */ i(c, { ...l, children: [
|
|
10
|
+
a ? /* @__PURE__ */ n(
|
|
13
11
|
t,
|
|
14
12
|
{
|
|
15
13
|
"aria-label": "close",
|
|
16
14
|
onClick: () => {
|
|
17
|
-
var
|
|
18
|
-
return (
|
|
15
|
+
var o;
|
|
16
|
+
return (o = l.onClose) == null ? void 0 : o.call(l, {}, "escapeKeyDown");
|
|
19
17
|
},
|
|
20
|
-
sx: { position: "absolute", right:
|
|
21
|
-
children: /* @__PURE__ */
|
|
18
|
+
sx: { position: "absolute", right: 24, top: 24 },
|
|
19
|
+
children: /* @__PURE__ */ n(s, {})
|
|
22
20
|
}
|
|
23
21
|
) : null,
|
|
24
22
|
e
|
|
25
23
|
] });
|
|
26
24
|
export {
|
|
27
|
-
|
|
25
|
+
f as default
|
|
28
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-Dn4BBPej.cjs"),h=require("../../index-CJW5gB6d.cjs"),u=require("../../Stack-C6v70ALA.cjs"),r=require("../../Typography-DEAE8-8u.cjs"),g=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),x=s.createSvgIcon(e.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),j=({defaultLabel:c="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:i="Déposer les fichiers ici",information:o,width:n,height:t,...p})=>{const{getRootProps:l,getInputProps:a,isDragActive:d}=h.useDropzone(p);return e.jsxs(u.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:n??"18rem",height:t??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...l(),children:[e.jsx("input",{...a()}),d?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(x,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=j;
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { u
|
|
4
|
-
import { S as
|
|
5
|
-
import { T as o } from "../../Typography-
|
|
6
|
-
const
|
|
2
|
+
import { c as t } from "../../createSvgIcon-CCejzj0C.js";
|
|
3
|
+
import { u } from "../../index-BGS2uu2L.js";
|
|
4
|
+
import { S as g } from "../../Stack-aCUdCw1A.js";
|
|
5
|
+
import { T as o } from "../../Typography-CE8fQQ8B.js";
|
|
6
|
+
const f = t(/* @__PURE__ */ r("path", {
|
|
7
7
|
d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
|
|
8
|
-
}), "FileUpload"),
|
|
8
|
+
}), "FileUpload"), z = t(/* @__PURE__ */ r("path", {
|
|
9
9
|
d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"
|
|
10
|
-
}), "UploadFile"),
|
|
11
|
-
defaultLabel:
|
|
10
|
+
}), "UploadFile"), D = ({
|
|
11
|
+
defaultLabel: s = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
|
|
12
12
|
dragLabel: n = "Déposer les fichiers ici",
|
|
13
13
|
information: i,
|
|
14
|
-
|
|
14
|
+
width: l,
|
|
15
|
+
height: p,
|
|
16
|
+
...d
|
|
15
17
|
}) => {
|
|
16
|
-
const { getRootProps:
|
|
18
|
+
const { getRootProps: a, getInputProps: h, isDragActive: m } = u(d);
|
|
17
19
|
return /* @__PURE__ */ e(
|
|
18
|
-
|
|
20
|
+
g,
|
|
19
21
|
{
|
|
20
22
|
direction: "column",
|
|
21
23
|
justifyContent: "center",
|
|
22
24
|
alignItems: "center",
|
|
23
25
|
spacing: 1,
|
|
24
|
-
width: "18rem",
|
|
26
|
+
width: l ?? "18rem",
|
|
27
|
+
height: p ?? "auto",
|
|
25
28
|
padding: 1,
|
|
26
29
|
border: "1px dashed",
|
|
27
30
|
borderColor: "grey.main",
|
|
@@ -29,15 +32,15 @@ const u = s(/* @__PURE__ */ r("path", {
|
|
|
29
32
|
sx: {
|
|
30
33
|
cursor: "pointer"
|
|
31
34
|
},
|
|
32
|
-
...
|
|
35
|
+
...a(),
|
|
33
36
|
children: [
|
|
34
|
-
/* @__PURE__ */ r("input", { ...
|
|
35
|
-
|
|
36
|
-
/* @__PURE__ */ r(
|
|
37
|
+
/* @__PURE__ */ r("input", { ...h() }),
|
|
38
|
+
m ? /* @__PURE__ */ e(c, { children: [
|
|
39
|
+
/* @__PURE__ */ r(f, { color: "primary" }),
|
|
37
40
|
/* @__PURE__ */ r(o, { children: n })
|
|
38
41
|
] }) : /* @__PURE__ */ e(c, { children: [
|
|
39
|
-
/* @__PURE__ */ r(
|
|
40
|
-
/* @__PURE__ */ r(o, { children:
|
|
42
|
+
/* @__PURE__ */ r(z, { color: "primary" }),
|
|
43
|
+
/* @__PURE__ */ r(o, { children: s }),
|
|
41
44
|
i ? /* @__PURE__ */ r(o, { fontSize: "0.875rem", color: "grey", children: i }) : null
|
|
42
45
|
] })
|
|
43
46
|
]
|
|
@@ -45,5 +48,5 @@ const u = s(/* @__PURE__ */ r("path", {
|
|
|
45
48
|
);
|
|
46
49
|
};
|
|
47
50
|
export {
|
|
48
|
-
|
|
51
|
+
D as default
|
|
49
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),o=require("@mui/material"),t=require("react"),x=({children:r,tooltipProps:l,typographyProps:c})=>{const[u,f]=t.useState(!1),e=t.useRef(null);return t.useEffect(()=>{const s=()=>{if(e.current){const{scrollWidth:p,clientWidth:a}=e.current;f(p>a)}},i=new ResizeObserver(()=>{s()});return e.current&&i.observe(e.current),s(),()=>{e.current&&i.unobserve(e.current)}},[]),n.jsx(o.Tooltip,{disableHoverListener:!u,title:r,...l,children:n.jsx(o.Typography,{ref:e,noWrap:!0,overflow:"hidden",textOverflow:"ellipsis",...c,children:r})})};module.exports=x;
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("@mui/material"),t=require("react"),x=({children:r,tooltipProps:l,typographyProps:c})=>{const[u,f]=t.useState(!1),e=t.useRef(null);return t.useEffect(()=>{const s=()=>{if(e.current){const{scrollWidth:p,clientWidth:a}=e.current;f(p>a)}},i=new ResizeObserver(()=>{s()});return e.current&&i.observe(e.current),s(),()=>{e.current&&i.unobserve(e.current)}},[]),n.jsx(o.Tooltip,{disableHoverListener:!u,title:r,...l,children:n.jsx(o.Typography,{ref:e,noWrap:!0,overflow:"hidden",textOverflow:"ellipsis",...c,maxWidth:"100%",children:r})})};module.exports=x;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as p, Typography as d } from "@mui/material";
|
|
3
|
-
import { useState as a, useRef as
|
|
3
|
+
import { useState as a, useRef as h, useEffect as m } from "react";
|
|
4
4
|
const E = ({
|
|
5
5
|
children: t,
|
|
6
6
|
tooltipProps: o,
|
|
7
7
|
typographyProps: l
|
|
8
8
|
}) => {
|
|
9
|
-
const [n, c] = a(!1), e =
|
|
10
|
-
return
|
|
9
|
+
const [n, c] = a(!1), e = h(null);
|
|
10
|
+
return m(() => {
|
|
11
11
|
const r = () => {
|
|
12
12
|
if (e.current) {
|
|
13
13
|
const { scrollWidth: f, clientWidth: u } = e.current;
|
|
@@ -33,6 +33,7 @@ const E = ({
|
|
|
33
33
|
overflow: "hidden",
|
|
34
34
|
textOverflow: "ellipsis",
|
|
35
35
|
...l,
|
|
36
|
+
maxWidth: "100%",
|
|
36
37
|
children: t
|
|
37
38
|
}
|
|
38
39
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-C6v70ALA.cjs"),i=require("../../Typography-DEAE8-8u.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
|
|
3
|
-
import { S as p } from "../../Stack-
|
|
4
|
-
import { T as i } from "../../Typography-
|
|
3
|
+
import { S as p } from "../../Stack-aCUdCw1A.js";
|
|
4
|
+
import { T as i } from "../../Typography-CE8fQQ8B.js";
|
|
5
5
|
const y = ({
|
|
6
6
|
svgName: o,
|
|
7
7
|
title: n,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-Dn4BBPej.cjs"),s=e.createSvgIcon(c.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"}),"CalendarViewMonthRounded"),n=e.createSvgIcon(c.jsx("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"}),"DescriptionOutlined"),h=e.createSvgIcon(c.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined"),a=e.createSvgIcon(c.jsx("path",{d:"M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"}),"MovieOutlined"),o=e.createSvgIcon(c.jsx("path",{d:"M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"}),"MusicNoteRounded"),r=e.createSvgIcon(c.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"}),"OndemandVideoRounded"),d=e.createSvgIcon(c.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"}),"PhotoOutlined"),v=e.createSvgIcon(c.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"}),"PictureAsPdfOutlined"),i=({extension:t})=>{switch(t.toUpperCase()){case"MP3":case"MIDI":case"WAV":return c.jsx(o,{});case"JPG":case"JPEG":case"PNG":case"SVG":return c.jsx(d,{});case"MP4":case"MOV":case"AVI":return c.jsx(a,{});case"CSV":case"ODS":case"XLS":case"XLSX":return c.jsx(s,{});case"PDF":return c.jsx(v,{});case"ODT":case"DOC":case"DOCX":case"TXT":return c.jsx(n,{});case"ODP":case"PPT":case"PPTX":return c.jsx(r,{});default:return c.jsx(h,{})}};exports.FileIcon=i;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../createSvgIcon-CCejzj0C.js";
|
|
3
|
+
const t = e(/* @__PURE__ */ c("path", {
|
|
4
|
+
d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"
|
|
5
|
+
}), "CalendarViewMonthRounded"), n = e(/* @__PURE__ */ c("path", {
|
|
6
|
+
d: "M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"
|
|
7
|
+
}), "DescriptionOutlined"), s = e(/* @__PURE__ */ c("path", {
|
|
8
|
+
d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"
|
|
9
|
+
}), "InsertDriveFileOutlined"), d = e(/* @__PURE__ */ c("path", {
|
|
10
|
+
d: "M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"
|
|
11
|
+
}), "MovieOutlined"), a = e(/* @__PURE__ */ c("path", {
|
|
12
|
+
d: "M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"
|
|
13
|
+
}), "MusicNoteRounded"), o = e(/* @__PURE__ */ c("path", {
|
|
14
|
+
d: "M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"
|
|
15
|
+
}), "OndemandVideoRounded"), r = e(/* @__PURE__ */ c("path", {
|
|
16
|
+
d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"
|
|
17
|
+
}), "PhotoOutlined"), i = e(/* @__PURE__ */ c("path", {
|
|
18
|
+
d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"
|
|
19
|
+
}), "PictureAsPdfOutlined"), V = ({ extension: h }) => {
|
|
20
|
+
switch (h.toUpperCase()) {
|
|
21
|
+
case "MP3":
|
|
22
|
+
case "MIDI":
|
|
23
|
+
case "WAV":
|
|
24
|
+
return /* @__PURE__ */ c(a, {});
|
|
25
|
+
case "JPG":
|
|
26
|
+
case "JPEG":
|
|
27
|
+
case "PNG":
|
|
28
|
+
case "SVG":
|
|
29
|
+
return /* @__PURE__ */ c(r, {});
|
|
30
|
+
case "MP4":
|
|
31
|
+
case "MOV":
|
|
32
|
+
case "AVI":
|
|
33
|
+
return /* @__PURE__ */ c(d, {});
|
|
34
|
+
case "CSV":
|
|
35
|
+
case "ODS":
|
|
36
|
+
case "XLS":
|
|
37
|
+
case "XLSX":
|
|
38
|
+
return /* @__PURE__ */ c(t, {});
|
|
39
|
+
case "PDF":
|
|
40
|
+
return /* @__PURE__ */ c(i, {});
|
|
41
|
+
case "ODT":
|
|
42
|
+
case "DOC":
|
|
43
|
+
case "DOCX":
|
|
44
|
+
case "TXT":
|
|
45
|
+
return /* @__PURE__ */ c(n, {});
|
|
46
|
+
case "ODP":
|
|
47
|
+
case "PPT":
|
|
48
|
+
case "PPTX":
|
|
49
|
+
return /* @__PURE__ */ c(o, {});
|
|
50
|
+
default:
|
|
51
|
+
return /* @__PURE__ */ c(s, {});
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
V as FileIcon
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@mui/material"),t=()=>e.jsx(r.Stack,{height:"100%",children:e.jsx(r.Stack,{height:"4px",width:"4px",borderRadius:"50%",sx:{backgroundColor:"divider"}})});exports.FileInfosSeparator=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FileInfosSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Stack as o } from "@mui/material";
|
|
3
|
+
const e = () => /* @__PURE__ */ r(o, { height: "100%", children: /* @__PURE__ */ r(
|
|
4
|
+
o,
|
|
5
|
+
{
|
|
6
|
+
height: "4px",
|
|
7
|
+
width: "4px",
|
|
8
|
+
borderRadius: "50%",
|
|
9
|
+
sx: { backgroundColor: "divider" }
|
|
10
|
+
}
|
|
11
|
+
) });
|
|
12
|
+
export {
|
|
13
|
+
e as FileInfosSeparator
|
|
14
|
+
};
|