@cgi-learning-hub/ui 1.9.0 → 1.10.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/index.cjs.js +63417 -1
- package/dist/index.d.ts +773 -1
- package/dist/index.es.js +63394 -417
- package/dist/ui.css +151 -0
- package/package.json +26 -24
- package/dist/Alert-BH_3hKCB.cjs +0 -1
- package/dist/Alert-BeVYzSS-.js +0 -94
- package/dist/Alert-BoYBWOXe.cjs +0 -1
- package/dist/Alert-CEu3llDi.js +0 -369
- package/dist/Autocomplete-BKpavKFW.cjs +0 -6
- package/dist/Autocomplete-DBZYn4YL.js +0 -1881
- package/dist/Backdrop-BvL371G3.js +0 -360
- package/dist/Backdrop-qOBrabpf.cjs +0 -1
- package/dist/Badge-2Kgbx-Cs.js +0 -466
- package/dist/Badge-DXl0Da36.cjs +0 -1
- package/dist/Box-BaZ7KlAc.js +0 -59
- package/dist/Box-CYQlQqRB.cjs +0 -1
- package/dist/Button-BP-QmmUu.cjs +0 -1
- package/dist/Button-C1mKNW-c.js +0 -698
- package/dist/ButtonBase-C2jRC_V7.js +0 -883
- package/dist/ButtonBase-DSJojbNE.cjs +0 -74
- package/dist/CardContent-DVcUynuH.cjs +0 -1
- package/dist/CardContent-kIapWv4T.js +0 -225
- package/dist/Checkbox-DhhuvKO5.cjs +0 -1
- package/dist/Checkbox-RxHWtafR.js +0 -271
- package/dist/Chip-DgGmi9yn.js +0 -574
- package/dist/Chip-n1kY-Dsh.cjs +0 -1
- package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
- package/dist/CircularProgress-CLq0Rl-1.js +0 -253
- package/dist/Close-DR9m6hv3.cjs +0 -1
- package/dist/Close-vu-MZYNA.js +0 -9
- package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
- package/dist/CloseRounded-DF05lCUu.js +0 -8
- package/dist/CustomTreeItem-AecanDDg.js +0 -2046
- package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
- package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
- package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
- package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
- package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
- package/dist/Delete-C36W48MB.cjs +0 -1
- package/dist/Delete-DXUljXzP.js +0 -8
- package/dist/Dialog-C2HYr67H.cjs +0 -1
- package/dist/Dialog-D__8rwpw.js +0 -469
- package/dist/DialogContent-MPwmUJQp.js +0 -195
- package/dist/DialogContent-lup2v_ab.cjs +0 -1
- package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
- package/dist/DialogTitle-Dly5D3Ud.js +0 -134
- package/dist/Divider-BN12gMv9.js +0 -297
- package/dist/Divider-wisA5Qp_.cjs +0 -1
- package/dist/Folder-BSZMyA2L.js +0 -8
- package/dist/Folder-aAI_w_uF.cjs +0 -1
- package/dist/FormLabel-ByYWZh7M.cjs +0 -2
- package/dist/FormLabel-DtxJI2CU.js +0 -408
- package/dist/Grid-C0LY-MbT.js +0 -419
- package/dist/Grid-CPXE25PR.cjs +0 -2
- package/dist/Grow-6zwoqUfO.cjs +0 -1
- package/dist/Grow-CeGwnQpw.js +0 -197
- package/dist/IconButton-BTN16gZi.cjs +0 -2
- package/dist/IconButton-DBjiNqOa.js +0 -299
- package/dist/InputAdornment-C1r1YutO.cjs +0 -1
- package/dist/InputAdornment-DuR35FtU.js +0 -173
- package/dist/InputBase-CxknnWV4.cjs +0 -4
- package/dist/InputBase-D5UJOJBu.js +0 -797
- package/dist/Link-T11NCxGd.cjs +0 -1
- package/dist/Link-hWCqsQiI.js +0 -281
- package/dist/List-CmJ1jCss.js +0 -131
- package/dist/List-eQ4D0MvJ.cjs +0 -1
- package/dist/ListItem-CgWgbZ_g.cjs +0 -1
- package/dist/ListItem-onoPfwb4.js +0 -423
- package/dist/ListItemText-B-dySXgz.cjs +0 -1
- package/dist/ListItemText-BjhXxIIV.js +0 -441
- package/dist/Menu-D7B383z4.cjs +0 -7
- package/dist/Menu-DGvAkF5F.js +0 -911
- package/dist/MenuItem-Cusmy5t2.js +0 -268
- package/dist/MenuItem-D-4xzo-S.cjs +0 -1
- package/dist/Modal-DB9K8sJI.cjs +0 -2
- package/dist/Modal-DtjScKxh.js +0 -744
- package/dist/MoreVert-BwfUF9pO.cjs +0 -1
- package/dist/MoreVert-woCQ0dNf.js +0 -8
- package/dist/Paper-CZXfHfN_.js +0 -158
- package/dist/Paper-DcVuAxq3.cjs +0 -2
- package/dist/Popper-BwuGO_Si.js +0 -1407
- package/dist/Popper-D5Cs38W_.cjs +0 -4
- package/dist/Portal-Cmv45gpL.cjs +0 -1
- package/dist/Portal-PkRJuFYN.js +0 -85
- package/dist/Radio-DiyDpiVL.js +0 -617
- package/dist/Radio-DzKwkI68.cjs +0 -1
- package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
- package/dist/RadioGroup-CjUaFqjJ.js +0 -191
- package/dist/Select-BxH16ruJ.js +0 -2648
- package/dist/Select-CSQfbogA.cjs +0 -3
- package/dist/Stack-ChvZzNqc.cjs +0 -1
- package/dist/Stack-pMJEpL7k.js +0 -173
- package/dist/Stepper-BsfN7O-W.cjs +0 -1
- package/dist/Stepper-DyH4sgY5.js +0 -966
- package/dist/Switch-BgZUmsKc.js +0 -392
- package/dist/Switch-Dr2jgPGV.cjs +0 -1
- package/dist/SwitchBase-BP_I-APE.cjs +0 -1
- package/dist/SwitchBase-BWz31Ed6.js +0 -319
- package/dist/Tab-Bksf_S4K.js +0 -1454
- package/dist/Tab-D2mI5G0L.cjs +0 -4
- package/dist/TextField-C9AnzUpZ.cjs +0 -1
- package/dist/TextField-Ctx4aW6-.js +0 -560
- package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
- package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
- package/dist/Tooltip-C5AffX17.js +0 -722
- package/dist/Tooltip-CUm8vKGq.cjs +0 -4
- package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
- package/dist/Typography-Cr-aIusw.js +0 -261
- package/dist/Typography-DHjq4GzQ.cjs +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/LoaderBackdrop.css +0 -1
- package/dist/capitalize-3OjkeP9i.cjs +0 -1
- package/dist/capitalize-BHEX83JQ.js +0 -9
- package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/client-error-CHkavqXs.cjs +0 -1
- package/dist/client-error-D0Ng5oOn.js +0 -393
- package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
- package/dist/components/ActionBar/ActionBar.d.ts +0 -3
- package/dist/components/ActionBar/ActionBar.es.js +0 -63
- package/dist/components/ActionBar/index.cjs.js +0 -1
- package/dist/components/ActionBar/index.d.ts +0 -2
- package/dist/components/ActionBar/index.es.js +0 -4
- package/dist/components/ActionBar/style.cjs.js +0 -1
- package/dist/components/ActionBar/style.es.js +0 -61
- package/dist/components/ActionBar/types.cjs.js +0 -1
- package/dist/components/ActionBar/types.d.ts +0 -17
- package/dist/components/ActionBar/types.es.js +0 -1
- package/dist/components/Alert/Alert.cjs.js +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -6
- package/dist/components/Alert/Alert.es.js +0 -8
- package/dist/components/Alert/index.cjs.js +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.es.js +0 -4
- package/dist/components/Button/Button.cjs.js +0 -1
- package/dist/components/Button/Button.d.ts +0 -3
- package/dist/components/Button/Button.es.js +0 -44
- package/dist/components/Button/index.cjs.js +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.es.js +0 -4
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
- package/dist/components/ButtonGroup/index.cjs.js +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -2
- package/dist/components/ButtonGroup/index.es.js +0 -4
- package/dist/components/ButtonGroup/style.cjs.js +0 -1
- package/dist/components/ButtonGroup/style.es.js +0 -29
- package/dist/components/ButtonGroup/types.cjs.js +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -22
- package/dist/components/ButtonGroup/types.es.js +0 -1
- package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
- package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
- package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
- package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
- package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
- package/dist/components/ColorPicker/index.cjs.js +0 -1
- package/dist/components/ColorPicker/index.d.ts +0 -3
- package/dist/components/ColorPicker/index.es.js +0 -4
- package/dist/components/ColorPicker/styles.cjs.js +0 -1
- package/dist/components/ColorPicker/styles.es.js +0 -28
- package/dist/components/ColorPicker/types.cjs.js +0 -1
- package/dist/components/ColorPicker/types.d.ts +0 -19
- package/dist/components/ColorPicker/types.es.js +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -6
- package/dist/components/DatePicker/DatePicker.es.js +0 -5
- package/dist/components/DatePicker/index.cjs.js +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.es.js +0 -4
- package/dist/components/Dialog/Dialog.cjs.js +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.es.js +0 -31
- package/dist/components/Dialog/index.cjs.js +0 -1
- package/dist/components/Dialog/index.d.ts +0 -2
- package/dist/components/Dialog/index.es.js +0 -4
- package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +0 -12
- package/dist/components/Dropzone/Dropzone.es.js +0 -55
- package/dist/components/Dropzone/index.cjs.js +0 -1
- package/dist/components/Dropzone/index.d.ts +0 -2
- package/dist/components/Dropzone/index.es.js +0 -4
- package/dist/components/Dropzone/types.cjs.js +0 -1
- package/dist/components/Dropzone/types.d.ts +0 -8
- package/dist/components/Dropzone/types.es.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
- package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
- package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -22
- package/dist/components/EmptyState/EmptyState.es.js +0 -34
- package/dist/components/EmptyState/index.cjs.js +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/EmptyState/index.es.js +0 -4
- package/dist/components/FileList/FileIcon.cjs.js +0 -1
- package/dist/components/FileList/FileIcon.d.ts +0 -3
- package/dist/components/FileList/FileIcon.es.js +0 -56
- package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
- package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
- package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
- package/dist/components/FileList/FileList.cjs.js +0 -1
- package/dist/components/FileList/FileList.d.ts +0 -9
- package/dist/components/FileList/FileList.es.js +0 -24
- package/dist/components/FileList/FileListItem.cjs.js +0 -1
- package/dist/components/FileList/FileListItem.d.ts +0 -16
- package/dist/components/FileList/FileListItem.es.js +0 -122
- package/dist/components/FileList/index.cjs.js +0 -1
- package/dist/components/FileList/index.d.ts +0 -4
- package/dist/components/FileList/index.es.js +0 -6
- package/dist/components/FileList/utils.cjs.js +0 -1
- package/dist/components/FileList/utils.d.ts +0 -2
- package/dist/components/FileList/utils.es.js +0 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
- package/dist/components/FolderCard/FolderCard.d.ts +0 -12
- package/dist/components/FolderCard/FolderCard.es.js +0 -88
- package/dist/components/FolderCard/index.cjs.js +0 -1
- package/dist/components/FolderCard/index.d.ts +0 -2
- package/dist/components/FolderCard/index.es.js +0 -4
- package/dist/components/FolderCard/styles.cjs.js +0 -1
- package/dist/components/FolderCard/styles.d.ts +0 -24
- package/dist/components/FolderCard/styles.es.js +0 -27
- package/dist/components/FolderCard/types.cjs.js +0 -1
- package/dist/components/FolderCard/types.d.ts +0 -3
- package/dist/components/FolderCard/types.es.js +0 -14
- package/dist/components/Heading/Heading.cjs.js +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -14
- package/dist/components/Heading/Heading.es.js +0 -39
- package/dist/components/Heading/index.cjs.js +0 -1
- package/dist/components/Heading/index.d.ts +0 -2
- package/dist/components/Heading/index.es.js +0 -4
- package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
- package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
- package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
- package/dist/components/ImagePicker/index.cjs.js +0 -1
- package/dist/components/ImagePicker/index.d.ts +0 -2
- package/dist/components/ImagePicker/index.es.js +0 -4
- package/dist/components/Loader/Loader.cjs.js +0 -1
- package/dist/components/Loader/Loader.d.ts +0 -3
- package/dist/components/Loader/Loader.es.js +0 -11
- package/dist/components/Loader/index.cjs.js +0 -1
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/index.es.js +0 -4
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
- package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/index.d.ts +0 -2
- package/dist/components/LoaderBackdrop/index.es.js +0 -4
- package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
- package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
- package/dist/components/PasswordInput/index.cjs.js +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -2
- package/dist/components/PasswordInput/index.es.js +0 -4
- package/dist/components/QueryError/QueryError.cjs.js +0 -1
- package/dist/components/QueryError/QueryError.d.ts +0 -8
- package/dist/components/QueryError/QueryError.es.js +0 -46
- package/dist/components/QueryError/helpers.cjs.js +0 -1
- package/dist/components/QueryError/helpers.d.ts +0 -11
- package/dist/components/QueryError/helpers.es.js +0 -10
- package/dist/components/QueryError/index.cjs.js +0 -1
- package/dist/components/QueryError/index.d.ts +0 -2
- package/dist/components/QueryError/index.es.js +0 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
- package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
- package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
- package/dist/components/ResourceCard/index.cjs.js +0 -1
- package/dist/components/ResourceCard/index.d.ts +0 -2
- package/dist/components/ResourceCard/index.es.js +0 -4
- package/dist/components/ResourceCard/style.cjs.js +0 -1
- package/dist/components/ResourceCard/style.es.js +0 -130
- package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
- package/dist/components/SearchInput/SearchInput.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.es.js +0 -38
- package/dist/components/SearchInput/index.cjs.js +0 -1
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/index.es.js +0 -4
- package/dist/components/TreeView/TreeView.cjs.js +0 -5
- package/dist/components/TreeView/TreeView.d.ts +0 -4
- package/dist/components/TreeView/TreeView.es.js +0 -1663
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
- package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
- package/dist/components/TreeView/index.cjs.js +0 -1
- package/dist/components/TreeView/index.d.ts +0 -2
- package/dist/components/TreeView/index.es.js +0 -6
- package/dist/components/TreeView/style.cjs.js +0 -1
- package/dist/components/TreeView/style.es.js +0 -35
- package/dist/components/TreeView/types.cjs.js +0 -1
- package/dist/components/TreeView/types.d.ts +0 -45
- package/dist/components/TreeView/types.es.js +0 -4
- package/dist/components/TreeView/utils.cjs.js +0 -1
- package/dist/components/TreeView/utils.d.ts +0 -6
- package/dist/components/TreeView/utils.es.js +0 -50
- package/dist/components/index.cjs.js +0 -1
- package/dist/components/index.d.ts +0 -197
- package/dist/components/index.es.js +0 -419
- package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
- package/dist/components/stories/ActionBar.stories.d.ts +0 -11
- package/dist/components/stories/ActionBar.stories.es.js +0 -206
- package/dist/components/stories/Alert.stories.cjs.js +0 -1
- package/dist/components/stories/Alert.stories.d.ts +0 -9
- package/dist/components/stories/Alert.stories.es.js +0 -32
- package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
- package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
- package/dist/components/stories/Autocomplete.stories.es.js +0 -62
- package/dist/components/stories/Badge.stories.cjs.js +0 -1
- package/dist/components/stories/Badge.stories.d.ts +0 -17
- package/dist/components/stories/Badge.stories.es.js +0 -188
- package/dist/components/stories/Button.stories.cjs.js +0 -1
- package/dist/components/stories/Button.stories.d.ts +0 -8
- package/dist/components/stories/Button.stories.es.js +0 -61
- package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
- package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
- package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
- package/dist/components/stories/Card.stories.cjs.js +0 -1
- package/dist/components/stories/Card.stories.d.ts +0 -7
- package/dist/components/stories/Card.stories.es.js +0 -42
- package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
- package/dist/components/stories/Checkbox.stories.d.ts +0 -10
- package/dist/components/stories/Checkbox.stories.es.js +0 -57
- package/dist/components/stories/Chip.stories.cjs.js +0 -1
- package/dist/components/stories/Chip.stories.d.ts +0 -10
- package/dist/components/stories/Chip.stories.es.js +0 -77
- package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
- package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
- package/dist/components/stories/ColoPicker.stories.es.js +0 -23
- package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
- package/dist/components/stories/DatePicker.stories.d.ts +0 -6
- package/dist/components/stories/DatePicker.stories.es.js +0 -13
- package/dist/components/stories/Dialog.stories.cjs.js +0 -1
- package/dist/components/stories/Dialog.stories.d.ts +0 -7
- package/dist/components/stories/Dialog.stories.es.js +0 -65
- package/dist/components/stories/Divider.stories.cjs.js +0 -1
- package/dist/components/stories/Divider.stories.d.ts +0 -6
- package/dist/components/stories/Divider.stories.es.js +0 -41
- package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
- package/dist/components/stories/Dropzone.stories.d.ts +0 -6
- package/dist/components/stories/Dropzone.stories.es.js +0 -14
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
- package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
- package/dist/components/stories/EmptyState.stories.d.ts +0 -6
- package/dist/components/stories/EmptyState.stories.es.js +0 -30
- package/dist/components/stories/FileList.stories.cjs.js +0 -8
- package/dist/components/stories/FileList.stories.d.ts +0 -6
- package/dist/components/stories/FileList.stories.es.js +0 -150
- package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
- package/dist/components/stories/FolderCard.stories.d.ts +0 -7
- package/dist/components/stories/FolderCard.stories.es.js +0 -71
- package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
- package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
- package/dist/components/stories/Heading.stories.cjs.js +0 -1
- package/dist/components/stories/Heading.stories.d.ts +0 -6
- package/dist/components/stories/Heading.stories.es.js +0 -20
- package/dist/components/stories/IconButton.stories.cjs.js +0 -1
- package/dist/components/stories/IconButton.stories.d.ts +0 -6
- package/dist/components/stories/IconButton.stories.es.js +0 -55
- package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
- package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
- package/dist/components/stories/ImagePicker.stories.es.js +0 -57
- package/dist/components/stories/Link.stories.cjs.js +0 -1
- package/dist/components/stories/Link.stories.d.ts +0 -7
- package/dist/components/stories/Link.stories.es.js +0 -43
- package/dist/components/stories/Loader.stories.cjs.js +0 -1
- package/dist/components/stories/Loader.stories.d.ts +0 -6
- package/dist/components/stories/Loader.stories.es.js +0 -11
- package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
- package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
- package/dist/components/stories/Menu.stories.cjs.js +0 -1
- package/dist/components/stories/Menu.stories.d.ts +0 -7
- package/dist/components/stories/Menu.stories.es.js +0 -51
- package/dist/components/stories/Paper.stories.cjs.js +0 -1
- package/dist/components/stories/Paper.stories.d.ts +0 -7
- package/dist/components/stories/Paper.stories.es.js +0 -28
- package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
- package/dist/components/stories/PasswordInput.stories.es.js +0 -13
- package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
- package/dist/components/stories/RadioGroup.stories.es.js +0 -37
- package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
- package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
- package/dist/components/stories/ResourceCard.stories.es.js +0 -141
- package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
- package/dist/components/stories/SearchInput.stories.d.ts +0 -6
- package/dist/components/stories/SearchInput.stories.es.js +0 -13
- package/dist/components/stories/Select.stories.cjs.js +0 -1
- package/dist/components/stories/Select.stories.d.ts +0 -10
- package/dist/components/stories/Select.stories.es.js +0 -52
- package/dist/components/stories/Stepper.stories.cjs.js +0 -1
- package/dist/components/stories/Stepper.stories.d.ts +0 -7
- package/dist/components/stories/Stepper.stories.es.js +0 -161
- package/dist/components/stories/TabList.stories.cjs.js +0 -1
- package/dist/components/stories/TabList.stories.d.ts +0 -7
- package/dist/components/stories/TabList.stories.es.js +0 -73
- package/dist/components/stories/TextField.stories.cjs.js +0 -1
- package/dist/components/stories/TextField.stories.d.ts +0 -10
- package/dist/components/stories/TextField.stories.es.js +0 -69
- package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
- package/dist/components/stories/Tooltip.stories.d.ts +0 -7
- package/dist/components/stories/Tooltip.stories.es.js +0 -46
- package/dist/components/stories/TreeView.stories.cjs.js +0 -69
- package/dist/components/stories/TreeView.stories.d.ts +0 -15
- package/dist/components/stories/TreeView.stories.es.js +0 -1036
- package/dist/components/stories/Typography.stories.cjs.js +0 -1
- package/dist/components/stories/Typography.stories.d.ts +0 -6
- package/dist/components/stories/Typography.stories.es.js +0 -65
- package/dist/composeClasses-BskurlZX.js +0 -51
- package/dist/composeClasses-vN5Almps.cjs +0 -1
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
- package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
- package/dist/createSvgIcon-DFIM5PqN.js +0 -254
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/debounce-DpCj7ugL.cjs +0 -1
- package/dist/dividerClasses-BEzQ_reA.js +0 -9
- package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
- package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
- package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
- package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
- package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
- package/dist/error-CRNeivL7.js +0 -5
- package/dist/error-Dk3o6ber.cjs +0 -1
- package/dist/extendSxProp-DGsHTtAe.js +0 -37
- package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
- package/dist/formControlState-CuX6WjAX.cjs +0 -1
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
- package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
- package/dist/hooks/lazySvgImport.cjs.js +0 -1
- package/dist/hooks/lazySvgImport.d.ts +0 -6
- package/dist/hooks/lazySvgImport.es.js +0 -34
- package/dist/index-B9vkf41S.js +0 -672
- package/dist/index-BPpGXp0s.cjs +0 -1
- package/dist/index-BS46Ff4t.cjs +0 -5
- package/dist/index-Ba4TEBpP.js +0 -22
- package/dist/index-CJMnfcQs.js +0 -2152
- package/dist/index-CwHv-blH.js +0 -97
- package/dist/index-D_kvDIOz.cjs +0 -1
- package/dist/index-kjfz41UI.cjs +0 -20
- package/dist/integerPropType-BihGt2aU.js +0 -31
- package/dist/integerPropType-CR7ytEJG.cjs +0 -1
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isFocusVisible-DlSijby6.cjs +0 -2
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
- package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
- package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
- package/dist/memoTheme-C-PaH-Cy.js +0 -15
- package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
- package/dist/mergeSlotProps-DVtjofCS.js +0 -62
- package/dist/ownerDocument-4MViGo3k.cjs +0 -1
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-DDHucZi0.cjs +0 -1
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/refType-8hihVLUh.js +0 -5
- package/dist/refType-DJyA--UV.cjs +0 -1
- package/dist/server-error-CqyYyPLN.cjs +0 -1
- package/dist/server-error-CvgIy7ap.js +0 -398
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-QrrYcKxm.cjs +0 -3
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEventCallback-BxpcFap0.cjs +0 -1
- package/dist/useEventCallback-Y2KwRxBw.js +0 -15
- package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
- package/dist/useForkRef-u29GSuCu.js +0 -27
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useId-DNXtOFeX.cjs +0 -1
- package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
- package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
- package/dist/useSlot-BSkdRaZr.js +0 -125
- package/dist/useSlot-C-aMxEm0.cjs +0 -1
- package/dist/useSlotProps-BVVfeURp.cjs +0 -1
- package/dist/useSlotProps-CWTjRiRv.js +0 -25
- package/dist/useTheme-0AkY41zn.js +0 -11
- package/dist/useTheme-BT6SDKkk.cjs +0 -1
- package/dist/useTheme-BrGF2Vm0.cjs +0 -1
- package/dist/useTheme-DSA6Ir8k.js +0 -18
- package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
- package/dist/useThemeProps-CAonvyKa.js +0 -27
- package/dist/useThemeProps-JozrkyA_.cjs +0 -1
- package/dist/useThemeProps-hSh1qhnc.js +0 -17
- package/dist/useTimeout-COCrDKz-.cjs +0 -1
- package/dist/useTimeout-CrCYVizI.js +0 -42
- package/dist/utils-BWx1W_q1.cjs +0 -1
- package/dist/utils-B_pVp6UZ.js +0 -363
- package/dist/utils-DWqc1kRF.js +0 -13
- package/dist/utils-XujN9ndp.cjs +0 -1
- package/dist/warning-C8W811fV.js +0 -11
- package/dist/warning-DMUNDgRg.cjs +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),e=({fill:l,onClick:t})=>i.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:t,style:{cursor:"pointer"},children:[i.jsx("g",{clipPath:"url(#clip0_1863_3664)",children:i.jsxs("g",{clipPath:"url(#clip1_1863_3664)",children:[i.jsx("path",{d:"M31 20.2168C31 26.2919 26.0751 31.2168 20 31.2168C13.9249 31.2168 9 26.2919 9 20.2168C9 14.1417 13.9249 9.2168 20 9.2168C26.0751 9.2168 31 14.1417 31 20.2168Z",fill:l??"#EB4D4B"}),i.jsx("circle",{cx:"29",cy:"28.2168",r:"5",fill:"white"}),i.jsx("path",{d:"M29 22.2168C25.6867 22.2168 23 24.9035 23 28.2168C23 31.5301 25.6867 34.2168 29 34.2168C29.5533 34.2168 30 33.7701 30 33.2168C30 32.9568 29.9 32.7235 29.74 32.5435C29.5867 32.3701 29.4867 32.1368 29.4867 31.8835C29.4867 31.3301 29.9333 30.8835 30.4867 30.8835H31.6667C33.5067 30.8835 35 29.3901 35 27.5501C35 24.6035 32.3133 22.2168 29 22.2168ZM25.3333 28.2168C24.78 28.2168 24.3333 27.7701 24.3333 27.2168C24.3333 26.6635 24.78 26.2168 25.3333 26.2168C25.8867 26.2168 26.3333 26.6635 26.3333 27.2168C26.3333 27.7701 25.8867 28.2168 25.3333 28.2168ZM27.3333 25.5501C26.78 25.5501 26.3333 25.1035 26.3333 24.5501C26.3333 23.9968 26.78 23.5501 27.3333 23.5501C27.8867 23.5501 28.3333 23.9968 28.3333 24.5501C28.3333 25.1035 27.8867 25.5501 27.3333 25.5501ZM30.6667 25.5501C30.1133 25.5501 29.6667 25.1035 29.6667 24.5501C29.6667 23.9968 30.1133 23.5501 30.6667 23.5501C31.22 23.5501 31.6667 23.9968 31.6667 24.5501C31.6667 25.1035 31.22 25.5501 30.6667 25.5501ZM32.6667 28.2168C32.1133 28.2168 31.6667 27.7701 31.6667 27.2168C31.6667 26.6635 32.1133 26.2168 32.6667 26.2168C33.22 26.2168 33.6667 26.6635 33.6667 27.2168C33.6667 27.7701 33.22 28.2168 32.6667 28.2168Z",fill:"#333333"})]})}),i.jsxs("defs",{children:[i.jsx("clipPath",{id:"clip0_1863_3664",children:i.jsx("rect",{width:"44",height:"43",fill:"white",transform:"translate(0 0.216797)"})}),i.jsx("clipPath",{id:"clip1_1863_3664",children:i.jsx("rect",{width:"26",height:"25",fill:"white",transform:"translate(9 9.2168)"})})]})]});exports.ColorPickerIcon=e;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
const h = ({
|
|
3
|
-
fill: t,
|
|
4
|
-
onClick: C
|
|
5
|
-
}) => /* @__PURE__ */ l(
|
|
6
|
-
"svg",
|
|
7
|
-
{
|
|
8
|
-
width: "100%",
|
|
9
|
-
height: "100%",
|
|
10
|
-
viewBox: "0 0 44 44",
|
|
11
|
-
fill: "none",
|
|
12
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
onClick: C,
|
|
14
|
-
style: { cursor: "pointer" },
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ i("g", { clipPath: "url(#clip0_1863_3664)", children: /* @__PURE__ */ l("g", { clipPath: "url(#clip1_1863_3664)", children: [
|
|
17
|
-
/* @__PURE__ */ i(
|
|
18
|
-
"path",
|
|
19
|
-
{
|
|
20
|
-
d: "M31 20.2168C31 26.2919 26.0751 31.2168 20 31.2168C13.9249 31.2168 9 26.2919 9 20.2168C9 14.1417 13.9249 9.2168 20 9.2168C26.0751 9.2168 31 14.1417 31 20.2168Z",
|
|
21
|
-
fill: t ?? "#EB4D4B"
|
|
22
|
-
}
|
|
23
|
-
),
|
|
24
|
-
/* @__PURE__ */ i("circle", { cx: "29", cy: "28.2168", r: "5", fill: "white" }),
|
|
25
|
-
/* @__PURE__ */ i(
|
|
26
|
-
"path",
|
|
27
|
-
{
|
|
28
|
-
d: "M29 22.2168C25.6867 22.2168 23 24.9035 23 28.2168C23 31.5301 25.6867 34.2168 29 34.2168C29.5533 34.2168 30 33.7701 30 33.2168C30 32.9568 29.9 32.7235 29.74 32.5435C29.5867 32.3701 29.4867 32.1368 29.4867 31.8835C29.4867 31.3301 29.9333 30.8835 30.4867 30.8835H31.6667C33.5067 30.8835 35 29.3901 35 27.5501C35 24.6035 32.3133 22.2168 29 22.2168ZM25.3333 28.2168C24.78 28.2168 24.3333 27.7701 24.3333 27.2168C24.3333 26.6635 24.78 26.2168 25.3333 26.2168C25.8867 26.2168 26.3333 26.6635 26.3333 27.2168C26.3333 27.7701 25.8867 28.2168 25.3333 28.2168ZM27.3333 25.5501C26.78 25.5501 26.3333 25.1035 26.3333 24.5501C26.3333 23.9968 26.78 23.5501 27.3333 23.5501C27.8867 23.5501 28.3333 23.9968 28.3333 24.5501C28.3333 25.1035 27.8867 25.5501 27.3333 25.5501ZM30.6667 25.5501C30.1133 25.5501 29.6667 25.1035 29.6667 24.5501C29.6667 23.9968 30.1133 23.5501 30.6667 23.5501C31.22 23.5501 31.6667 23.9968 31.6667 24.5501C31.6667 25.1035 31.22 25.5501 30.6667 25.5501ZM32.6667 28.2168C32.1133 28.2168 31.6667 27.7701 31.6667 27.2168C31.6667 26.6635 32.1133 26.2168 32.6667 26.2168C33.22 26.2168 33.6667 26.6635 33.6667 27.2168C33.6667 27.7701 33.22 28.2168 32.6667 28.2168Z",
|
|
29
|
-
fill: "#333333"
|
|
30
|
-
}
|
|
31
|
-
)
|
|
32
|
-
] }) }),
|
|
33
|
-
/* @__PURE__ */ l("defs", { children: [
|
|
34
|
-
/* @__PURE__ */ i("clipPath", { id: "clip0_1863_3664", children: /* @__PURE__ */ i(
|
|
35
|
-
"rect",
|
|
36
|
-
{
|
|
37
|
-
width: "44",
|
|
38
|
-
height: "43",
|
|
39
|
-
fill: "white",
|
|
40
|
-
transform: "translate(0 0.216797)"
|
|
41
|
-
}
|
|
42
|
-
) }),
|
|
43
|
-
/* @__PURE__ */ i("clipPath", { id: "clip1_1863_3664", children: /* @__PURE__ */ i(
|
|
44
|
-
"rect",
|
|
45
|
-
{
|
|
46
|
-
width: "26",
|
|
47
|
-
height: "25",
|
|
48
|
-
fill: "white",
|
|
49
|
-
transform: "translate(9 9.2168)"
|
|
50
|
-
}
|
|
51
|
-
) })
|
|
52
|
-
] })
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
);
|
|
56
|
-
export {
|
|
57
|
-
h as ColorPickerIcon
|
|
58
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ColorPicker.cjs.js");exports.ColorPicker=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@mui/material"),r=o.styled(o.Box)(({disabled:e})=>({width:"4.4rem",height:"4.4rem",position:"relative",borderRadius:"50%",pointerEvents:e?"none":"auto","&:hover, :focus, :focus-visible":{backgroundColor:e?"transparent":"#F8F9F9",outline:"none"}})),t={position:"absolute",bottom:"5rem",right:"-2rem",backgroundColor:"white",zIndex:1e3,padding:"1rem",borderRadius:"1rem",display:"flex",boxShadow:"0px 0px 10px 0px rgba(0,0,0,0.1)"};exports.PickerBackgroundBox=r;exports.circlePickerStyle=t;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { styled as e, Box as r } from "@mui/material";
|
|
2
|
-
const i = e(r)(
|
|
3
|
-
({ disabled: o }) => ({
|
|
4
|
-
width: "4.4rem",
|
|
5
|
-
height: "4.4rem",
|
|
6
|
-
position: "relative",
|
|
7
|
-
borderRadius: "50%",
|
|
8
|
-
pointerEvents: o ? "none" : "auto",
|
|
9
|
-
"&:hover, :focus, :focus-visible": {
|
|
10
|
-
backgroundColor: o ? "transparent" : "#F8F9F9",
|
|
11
|
-
outline: "none"
|
|
12
|
-
}
|
|
13
|
-
})
|
|
14
|
-
), n = {
|
|
15
|
-
position: "absolute",
|
|
16
|
-
bottom: "5rem",
|
|
17
|
-
right: "-2rem",
|
|
18
|
-
backgroundColor: "white",
|
|
19
|
-
zIndex: 1e3,
|
|
20
|
-
padding: "1rem",
|
|
21
|
-
borderRadius: "1rem",
|
|
22
|
-
display: "flex",
|
|
23
|
-
boxShadow: "0px 0px 10px 0px rgba(0,0,0,0.1)"
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
i as PickerBackgroundBox,
|
|
27
|
-
n as circlePickerStyle
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ClickAwayListenerProps } from '@mui/material';
|
|
2
|
-
import { SVGAttributes } from 'react';
|
|
3
|
-
import { CirclePickerProps } from 'react-color';
|
|
4
|
-
export type HexaColor = `#${string}`;
|
|
5
|
-
export type ColorPickerSlotProps = {
|
|
6
|
-
clickAwayListener?: Omit<ClickAwayListenerProps, "onClickAway" | "children">;
|
|
7
|
-
circlePicker?: Omit<CirclePickerProps, "colors" | "color" | "onChange">;
|
|
8
|
-
};
|
|
9
|
-
export type ColorPickerProps = {
|
|
10
|
-
value: HexaColor;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
options?: string[];
|
|
13
|
-
slotProps?: ColorPickerSlotProps;
|
|
14
|
-
onChange: (value: HexaColor) => void;
|
|
15
|
-
};
|
|
16
|
-
export type PickerBackGroundBoxProps = {
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
};
|
|
19
|
-
export type CustomSVGProps = SVGAttributes<SVGSVGElement>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");const e=require("../../DatePicker-Dj7U52Mk.cjs");module.exports=e.DatePicker;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps as MuiDatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
2
|
-
export type DatePickerProps = {
|
|
3
|
-
adapterLocale?: string;
|
|
4
|
-
} & MuiDatePickerProps;
|
|
5
|
-
declare const DatePicker: React.FunctionComponent<DatePickerProps>;
|
|
6
|
-
export default DatePicker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-Dj7U52Mk.cjs");exports.DatePicker=e.DatePicker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("../../CloseRounded-Cpp6nWQi.cjs"),c=require("@mui/material"),a=require("../../Dialog-C2HYr67H.cjs"),r=({children:i,showCloseButton:o=!0,...e})=>{const t=()=>{var l;return(l=e.onClose)==null?void 0:l.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[o?n.jsx(c.IconButton,{"aria-label":"close",onClick:t,sx:{position:"absolute",right:15,top:15,color:l=>l.palette.text.primary},children:n.jsx(s.CloseRounded,{color:"inherit"})}):null,i]})};module.exports=r;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { C as a } from "../../CloseRounded-DF05lCUu.js";
|
|
3
|
-
import { IconButton as s } from "@mui/material";
|
|
4
|
-
import { D as r } from "../../Dialog-D__8rwpw.js";
|
|
5
|
-
const f = ({
|
|
6
|
-
children: i,
|
|
7
|
-
showCloseButton: n = !0,
|
|
8
|
-
...o
|
|
9
|
-
}) => /* @__PURE__ */ t(r, { ...o, children: [
|
|
10
|
-
n ? /* @__PURE__ */ e(
|
|
11
|
-
s,
|
|
12
|
-
{
|
|
13
|
-
"aria-label": "close",
|
|
14
|
-
onClick: () => {
|
|
15
|
-
var l;
|
|
16
|
-
return (l = o.onClose) == null ? void 0 : l.call(o, {}, "escapeKeyDown");
|
|
17
|
-
},
|
|
18
|
-
sx: {
|
|
19
|
-
position: "absolute",
|
|
20
|
-
right: 15,
|
|
21
|
-
top: 15,
|
|
22
|
-
color: (l) => l.palette.text.primary
|
|
23
|
-
},
|
|
24
|
-
children: /* @__PURE__ */ e(a, { color: "inherit" })
|
|
25
|
-
}
|
|
26
|
-
) : null,
|
|
27
|
-
i
|
|
28
|
-
] });
|
|
29
|
-
export {
|
|
30
|
-
f as default
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dialog.cjs.js");exports.Dialog=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-CcWpa9Le.cjs"),g=require("../../index-BS46Ff4t.cjs"),x=require("../../Stack-ChvZzNqc.cjs"),i=require("../../Typography-DHjq4GzQ.cjs"),y=o.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),j=o.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"),m=({defaultLabel:t="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:s="Déposer les fichiers ici",information:c,width:a,height:d,slotProps:r={},...l})=>{var n;const{getRootProps:h,getInputProps:p,isDragActive:u}=g.useDropzone(l);return e.jsxs(x.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:a??"18rem",height:d??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer",...(n=r.root)==null?void 0:n.sx},...h(),children:[e.jsx("input",{...p(),...r.input}),u?e.jsxs(e.Fragment,{children:[e.jsx(y,{color:"primary",...r.icon}),e.jsx(i.Typography,{...r.label,children:s})]}):e.jsxs(e.Fragment,{children:[e.jsx(j,{color:"primary",...r.icon}),e.jsx(i.Typography,{...r.label,children:t}),c?e.jsx(i.Typography,{variant:"body2",color:"grey",...r.information,children:c}):null]})]})};module.exports=m;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DropzoneProps as ReactDropzoneProps } from 'react-dropzone';
|
|
2
|
-
import { DropZoneSlotProps } from './types';
|
|
3
|
-
export type DropzoneProps = {
|
|
4
|
-
defaultLabel?: string;
|
|
5
|
-
dragLabel?: string;
|
|
6
|
-
information?: string;
|
|
7
|
-
width?: string;
|
|
8
|
-
height?: string;
|
|
9
|
-
slotProps?: DropZoneSlotProps;
|
|
10
|
-
} & ReactDropzoneProps;
|
|
11
|
-
declare const Dropzone: React.FunctionComponent<DropzoneProps>;
|
|
12
|
-
export default Dropzone;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as i, Fragment as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../createSvgIcon-DFIM5PqN.js";
|
|
3
|
-
import { u as f } from "../../index-CJMnfcQs.js";
|
|
4
|
-
import { S as y } from "../../Stack-pMJEpL7k.js";
|
|
5
|
-
import { T as o } from "../../Typography-Cr-aIusw.js";
|
|
6
|
-
const v = a(/* @__PURE__ */ r("path", {
|
|
7
|
-
d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
|
|
8
|
-
}), "FileUpload"), z = a(/* @__PURE__ */ r("path", {
|
|
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"), H = ({
|
|
11
|
-
defaultLabel: l = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
|
|
12
|
-
dragLabel: d = "Déposer les fichiers ici",
|
|
13
|
-
information: c,
|
|
14
|
-
width: p,
|
|
15
|
-
height: h,
|
|
16
|
-
slotProps: e = {},
|
|
17
|
-
...s
|
|
18
|
-
}) => {
|
|
19
|
-
var n;
|
|
20
|
-
const { getRootProps: m, getInputProps: u, isDragActive: g } = f(s);
|
|
21
|
-
return /* @__PURE__ */ i(
|
|
22
|
-
y,
|
|
23
|
-
{
|
|
24
|
-
direction: "column",
|
|
25
|
-
justifyContent: "center",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
spacing: 1,
|
|
28
|
-
width: p ?? "18rem",
|
|
29
|
-
height: h ?? "auto",
|
|
30
|
-
padding: 1,
|
|
31
|
-
border: "1px dashed",
|
|
32
|
-
borderColor: "grey.main",
|
|
33
|
-
borderRadius: 1,
|
|
34
|
-
sx: {
|
|
35
|
-
cursor: "pointer",
|
|
36
|
-
...(n = e.root) == null ? void 0 : n.sx
|
|
37
|
-
},
|
|
38
|
-
...m(),
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ r("input", { ...u(), ...e.input }),
|
|
41
|
-
g ? /* @__PURE__ */ i(t, { children: [
|
|
42
|
-
/* @__PURE__ */ r(v, { color: "primary", ...e.icon }),
|
|
43
|
-
/* @__PURE__ */ r(o, { ...e.label, children: d })
|
|
44
|
-
] }) : /* @__PURE__ */ i(t, { children: [
|
|
45
|
-
/* @__PURE__ */ r(z, { color: "primary", ...e.icon }),
|
|
46
|
-
/* @__PURE__ */ r(o, { ...e.label, children: l }),
|
|
47
|
-
c ? /* @__PURE__ */ r(o, { variant: "body2", color: "grey", ...e.information, children: c }) : null
|
|
48
|
-
] })
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
};
|
|
53
|
-
export {
|
|
54
|
-
H as default
|
|
55
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Dropzone.cjs.js");exports.Dropzone=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { StackProps, SvgIconProps, TypographyProps } from '@mui/material';
|
|
2
|
-
export type DropZoneSlotProps = {
|
|
3
|
-
root?: StackProps;
|
|
4
|
-
input?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
-
icon?: SvgIconProps;
|
|
6
|
-
label?: TypographyProps;
|
|
7
|
-
information?: TypographyProps;
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
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,9 +0,0 @@
|
|
|
1
|
-
import { TooltipProps, TypographyProps } from '@mui/material';
|
|
2
|
-
import { FC, ReactNode } from 'react';
|
|
3
|
-
export type EllipsisWithTooltipProps = {
|
|
4
|
-
tooltipProps?: Omit<TooltipProps, "children" | "title">;
|
|
5
|
-
typographyProps?: Omit<TypographyProps, "noWrap" | "overflow" | "textOverflow">;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
};
|
|
8
|
-
declare const EllipsisWithTooltip: FC<EllipsisWithTooltipProps>;
|
|
9
|
-
export default EllipsisWithTooltip;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { Tooltip as p, Typography as d } from "@mui/material";
|
|
3
|
-
import { useState as a, useRef as h, useEffect as m } from "react";
|
|
4
|
-
const E = ({
|
|
5
|
-
children: t,
|
|
6
|
-
tooltipProps: o,
|
|
7
|
-
typographyProps: l
|
|
8
|
-
}) => {
|
|
9
|
-
const [n, c] = a(!1), e = h(null);
|
|
10
|
-
return m(() => {
|
|
11
|
-
const r = () => {
|
|
12
|
-
if (e.current) {
|
|
13
|
-
const { scrollWidth: f, clientWidth: u } = e.current;
|
|
14
|
-
c(f > u);
|
|
15
|
-
}
|
|
16
|
-
}, s = new ResizeObserver(() => {
|
|
17
|
-
r();
|
|
18
|
-
});
|
|
19
|
-
return e.current && s.observe(e.current), r(), () => {
|
|
20
|
-
e.current && s.unobserve(e.current);
|
|
21
|
-
};
|
|
22
|
-
}, []), /* @__PURE__ */ i(
|
|
23
|
-
p,
|
|
24
|
-
{
|
|
25
|
-
disableHoverListener: !n,
|
|
26
|
-
title: t,
|
|
27
|
-
...o,
|
|
28
|
-
children: /* @__PURE__ */ i(
|
|
29
|
-
d,
|
|
30
|
-
{
|
|
31
|
-
ref: e,
|
|
32
|
-
noWrap: !0,
|
|
33
|
-
overflow: "hidden",
|
|
34
|
-
textOverflow: "ellipsis",
|
|
35
|
-
...l,
|
|
36
|
-
maxWidth: "100%",
|
|
37
|
-
children: t
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
E as default
|
|
45
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./EllipsisWithTooltip.cjs.js");exports.EllipsisWithTooltip=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("../../Stack-ChvZzNqc.cjs"),n=require("../../Box-CYQlQqRB.cjs"),i=require("../../Typography-DHjq4GzQ.cjs"),m=({image:s,imageProps:c,imageSrc:o,title:h,description:r,descriptionProps:a,footer:e,svgProps:p,titleProps:l,imageHeight:u=200,...x})=>t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"0 auto",...x,children:[t.jsx(n.Box,{height:u,width:"auto",children:s??t.jsx("img",{src:o,height:"100%",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...l,children:h}),r?t.jsx(i.Typography,{color:"textSecondary",mt:2,...a,children:r}):null,e?t.jsx(n.Box,{mt:3,children:e}):null]});module.exports=m;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { StackProps } from '@mui/material/Stack';
|
|
2
|
-
import { TypographyProps } from '@mui/material/Typography';
|
|
3
|
-
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
4
|
-
export type EmptyStateProps = ({
|
|
5
|
-
image: ReactNode;
|
|
6
|
-
imageProps?: never;
|
|
7
|
-
imageSrc?: never;
|
|
8
|
-
} | {
|
|
9
|
-
image?: never;
|
|
10
|
-
imageProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
11
|
-
imageSrc: string;
|
|
12
|
-
}) & {
|
|
13
|
-
imageHeight?: string | number;
|
|
14
|
-
title: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
descriptionProps?: TypographyProps;
|
|
17
|
-
footer?: ReactNode;
|
|
18
|
-
svgProps?: React.SVGAttributes<SVGSVGElement>;
|
|
19
|
-
titleProps?: TypographyProps;
|
|
20
|
-
} & StackProps;
|
|
21
|
-
declare const EmptyState: React.FunctionComponent<EmptyStateProps>;
|
|
22
|
-
export default EmptyState;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { S as p } from "../../Stack-pMJEpL7k.js";
|
|
3
|
-
import { B as i } from "../../Box-BaZ7KlAc.js";
|
|
4
|
-
import { T as e } from "../../Typography-Cr-aIusw.js";
|
|
5
|
-
const j = ({
|
|
6
|
-
image: m,
|
|
7
|
-
imageProps: n,
|
|
8
|
-
imageSrc: a,
|
|
9
|
-
title: h,
|
|
10
|
-
description: r,
|
|
11
|
-
descriptionProps: l,
|
|
12
|
-
footer: o,
|
|
13
|
-
svgProps: u,
|
|
14
|
-
titleProps: c,
|
|
15
|
-
imageHeight: s = 200,
|
|
16
|
-
...d
|
|
17
|
-
}) => /* @__PURE__ */ g(
|
|
18
|
-
p,
|
|
19
|
-
{
|
|
20
|
-
direction: "column",
|
|
21
|
-
alignItems: "center",
|
|
22
|
-
margin: "0 auto",
|
|
23
|
-
...d,
|
|
24
|
-
children: [
|
|
25
|
-
/* @__PURE__ */ t(i, { height: s, width: "auto", children: m ?? /* @__PURE__ */ t("img", { src: a, height: "100%", ...n }) }),
|
|
26
|
-
/* @__PURE__ */ t(e, { variant: "h2", fontWeight: 500, mt: 3, ...c, children: h }),
|
|
27
|
-
r ? /* @__PURE__ */ t(e, { color: "textSecondary", mt: 2, ...l, children: r }) : null,
|
|
28
|
-
o ? /* @__PURE__ */ t(i, { mt: 3, children: o }) : null
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
export {
|
|
33
|
-
j as default
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./EmptyState.cjs.js");exports.EmptyState=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-CcWpa9Le.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;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../createSvgIcon-DFIM5PqN.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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FileInfosSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),s=require("@mui/material"),o=require("./FileListItem.cjs.js"),m=({files:i,onDelete:r,onClick:n,onDownload:l})=>e.jsx(s.List,{sx:{display:"flex",flexDirection:"column"},children:i.map((c,t)=>e.jsxs(e.Fragment,{children:[e.jsx(o,{file:c,onClick:n,onDelete:r,onDownload:l},t),t<i.length-1&&e.jsx(s.Divider,{variant:"middle"})]}))});module.exports=m;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CustomFile } from './FileListItem';
|
|
2
|
-
export interface FileListProps<T extends CustomFile> {
|
|
3
|
-
files: T[];
|
|
4
|
-
onDelete?: (file: T) => void;
|
|
5
|
-
onClick?: (file: T) => void;
|
|
6
|
-
onDownload?: (file: T) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const FileList: <T extends CustomFile>({ files, onDelete, onClick, onDownload, }: FileListProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default FileList;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as s, Fragment as n } from "react/jsx-runtime";
|
|
2
|
-
import { List as a, Divider as d } from "@mui/material";
|
|
3
|
-
import p from "./FileListItem.es.js";
|
|
4
|
-
const h = ({
|
|
5
|
-
files: r,
|
|
6
|
-
onDelete: e,
|
|
7
|
-
onClick: m,
|
|
8
|
-
onDownload: l
|
|
9
|
-
}) => /* @__PURE__ */ i(a, { sx: { display: "flex", flexDirection: "column" }, children: r.map((o, t) => /* @__PURE__ */ s(n, { children: [
|
|
10
|
-
/* @__PURE__ */ i(
|
|
11
|
-
p,
|
|
12
|
-
{
|
|
13
|
-
file: o,
|
|
14
|
-
onClick: m,
|
|
15
|
-
onDelete: e,
|
|
16
|
-
onDownload: l
|
|
17
|
-
},
|
|
18
|
-
t
|
|
19
|
-
),
|
|
20
|
-
t < r.length - 1 && /* @__PURE__ */ i(d, { variant: "middle" })
|
|
21
|
-
] })) });
|
|
22
|
-
export {
|
|
23
|
-
h as default
|
|
24
|
-
};
|