@m4l/components 0.1.74 → 0.1.76
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/@types/export.d.ts +123 -1
- package/components/AccountPopover/classes/constants.d.ts +1 -1
- package/components/AccountPopover/classes/index.d.ts +12 -1
- package/components/AccountPopover/classes/types.d.ts +14 -1
- package/components/AccountPopover/index.47cf6c43.js +273 -0
- package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/createAvatar.d.ts +1 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +2 -5
- package/components/AccountPopover/types.d.ts +13 -0
- package/components/AppBar/classes/index.d.ts +4 -1
- package/components/AppBar/classes/types.d.ts +5 -0
- package/components/AppBar/index.f04f5e45.js +94 -0
- package/components/AppBar/tests/constants.d.ts +1 -1
- package/components/AppBar/types.d.ts +3 -2
- package/components/CommonActions/classes/index.d.ts +1 -1
- package/components/CommonActions/classes/types.d.ts +3 -2
- package/components/CommonActions/components/ActionCancel/{index.fad4a0dc.js → index.453c2d24.js} +3 -3
- package/components/CommonActions/components/ActionFormCancel/{index.a26820a9.js → index.c2a2fd55.js} +25 -22
- package/components/CommonActions/components/ActionFormIntro/{index.403d8952.js → index.25d33912.js} +4 -4
- package/components/CommonActions/components/ActionIntro/{index.0fb6efbe.js → index.c653a266.js} +4 -4
- package/components/CommonActions/components/Actions/{index.51b9c92a.js → index.e376a68e.js} +37 -26
- package/components/CommonActions/tests/constants.d.ts +1 -0
- package/components/CommonActions/tests/utils.d.ts +2 -0
- package/components/DataGrid/{index.dbae54dd.js → index.ffaf000e.js} +29 -21
- package/components/DraggableWindow/index.b08af1dc.js +39 -0
- package/components/DynamicFilter/{index.cb7fd1b6.js → index.d7c03a61.js} +35 -35
- package/components/HelperText/{index.d449d124.js → index.9864f773.js} +11 -10
- package/components/Icon/{index.d214a74d.js → index.9dae8337.js} +6 -63
- package/components/Image/{index.1af119da.js → index.c18ebf5a.js} +7 -8
- package/components/Image/types.d.ts +1 -4
- package/components/LanguagePopover/classes/index.d.ts +1 -1
- package/components/LanguagePopover/{index.4fef99ac.js → index.938c6675.js} +12 -11
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.d.ts +2 -0
- package/components/LinearProgressIndeterminate/classes/constants.d.ts +1 -0
- package/components/LinearProgressIndeterminate/classes/index.d.ts +3 -0
- package/components/LinearProgressIndeterminate/classes/types.d.ts +7 -0
- package/components/LinearProgressIndeterminate/index.d.ts +1 -0
- package/components/LinearProgressIndeterminate/index.d34d398f.js +43 -0
- package/components/LinearProgressIndeterminate/tests/constants.d.ts +1 -0
- package/components/LinearProgressIndeterminate/tests/utils.d.ts +2 -0
- package/components/Loadable/{index.117eaced.js → index.e994fc3e.js} +1 -1
- package/components/ModalDialog/{index.6c35e653.js → index.d9c5d400.js} +21 -12
- package/components/NavLink/{index.9e56bcd3.js → index.21c8fd90.js} +12 -11
- package/components/NoItemSelected/{index.cd842b62.js → index.23dfc897.js} +1 -1
- package/components/ObjectLogs/{index.e1a1b27c.js → index.a2709fc2.js} +31 -21
- package/components/PaperForm/classes/constants.d.ts +1 -0
- package/components/PaperForm/classes/index.d.ts +11 -0
- package/components/PaperForm/classes/types.d.ts +10 -0
- package/components/PaperForm/{index.76bd3a6d.js → index.5e1bc99f.js} +58 -25
- package/components/PaperForm/types.d.ts +5 -2
- package/components/Period/Period.d.ts +3 -0
- package/components/Period/classes/constants.d.ts +1 -0
- package/components/Period/classes/index.d.ts +10 -0
- package/components/Period/classes/types.d.ts +13 -0
- package/components/Period/index.526791a3.js +322 -0
- package/components/Period/index.d.ts +2 -3
- package/components/Period/tests/constants.d.ts +1 -0
- package/components/Period/tests/utils.d.ts +2 -0
- package/components/Period/types.d.ts +3 -4
- package/components/PropertyValue/classes/constants.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +9 -0
- package/components/PropertyValue/classes/types.d.ts +9 -0
- package/components/PropertyValue/{index.dfcfe1ba.js → index.8a1adf3e.js} +60 -10
- package/components/PropertyValue/skeleton.d.ts +2 -1
- package/components/PropertyValue/tests/constants.d.ts +1 -0
- package/components/PropertyValue/tests/utils.d.ts +2 -0
- package/components/PropertyValue/types.d.ts +4 -0
- package/components/Resizeable/{index.834a9144.js → index.f6e48e56.js} +1 -1
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/{index.ff7cbe91.js → index.9e1a5b96.js} +6 -6
- package/components/SplitLayout/SplitLayout.d.ts +3 -0
- package/components/SplitLayout/classes/constants.d.ts +1 -0
- package/components/SplitLayout/classes/index.d.ts +9 -0
- package/components/SplitLayout/classes/types.d.ts +10 -0
- package/components/SplitLayout/index.9ef430f6.js +99 -0
- package/components/SplitLayout/index.d.ts +2 -3
- package/components/SplitLayout/tests/constants.d.ts +1 -0
- package/components/SplitLayout/tests/utils.d.ts +2 -0
- package/components/SplitLayout/types.d.ts +2 -0
- package/components/animate/PropagateLoader/{index.be5b02c3.js → index.7fab43c8.js} +1 -1
- package/components/animate/index.1f8eadd4.js +66 -0
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +4 -0
- package/components/areas/components/AreasAdmin/{index.1eda80b9.js → index.946eebb9.js} +147 -47
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +3 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +13 -0
- package/components/areas/components/AreasViewer/{index.eddc9945.js → index.bf4191ea.js} +439 -362
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +13 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/helper.d.ts +18 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/index.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/types.d.ts +4 -0
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +5 -0
- package/components/areas/components/index.2bb534cb.js +28 -0
- package/components/areas/contexts/AreasContext/{index.a88b73a6.js → index.f0397b7c.js} +130 -105
- package/components/areas/contexts/AreasContext/types.d.ts +5 -4
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
- package/components/areas/contexts/{index.7dd01403.js → index.1809650a.js} +1 -1
- package/components/areas/{dictionary.e72db809.js → dictionary.3fabae50.js} +6 -1
- package/components/areas/dictionary.d.ts +5 -0
- package/components/areas/hooks/useAreas/{index.7a37ede8.js → index.40917e99.js} +1 -1
- package/components/areas/{icons.3ec589d3.js → icons.19cde4b4.js} +3 -0
- package/components/areas/icons.d.ts +3 -0
- package/components/areas/index.9bd48013.js +30 -0
- package/components/areas/types.d.ts +4 -0
- package/components/formatters/BooleanFormatter/{index.820a2130.js → index.431dc923.js} +1 -1
- package/components/formatters/{index.0c692a4b.js → index.e1af75e6.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.72437d8a.js → index.a063dc44.js} +14 -13
- package/components/hook-form/RHFAutocompleteAsync/{index.2a84f2b2.js → index.ddfd9cc9.js} +2 -2
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/{index.6e6389e7.js → index.7e7f220b.js} +22 -15
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/test/utils.d.ts +1 -1
- package/components/hook-form/RHFCheckbox/types.d.ts +3 -1
- package/components/hook-form/RHFDateTime/classes/index.d.ts +1 -1
- package/components/hook-form/RHFDateTime/{index.745b101b.js → index.d330709b.js} +67 -58
- package/components/hook-form/RHFDateTime/test/constants.d.ts +1 -0
- package/components/hook-form/RHFDateTime/test/utils.d.ts +2 -0
- package/components/hook-form/RHFPeriod/classes/constants.d.ts +1 -0
- package/components/hook-form/RHFPeriod/classes/index.d.ts +6 -0
- package/components/hook-form/RHFPeriod/classes/types.d.ts +6 -0
- package/components/hook-form/RHFPeriod/index.e2b1293b.js +77 -0
- package/components/hook-form/RHFPeriod/types.d.ts +2 -1
- package/components/hook-form/RHFTextField/index.d.ts +1 -0
- package/components/hook-form/RHFTextField/{index.ca7393a7.js → index.e5336d09.js} +11 -8
- package/components/hook-form/RHFUpload/RHFUploadImage/classes/constants.d.ts +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/classes/index.d.ts +19 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/classes/types.d.ts +18 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/index.d.ts +2 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/types.d.ts +3 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.d.ts +5 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/constants.d.ts +1 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFUpload/index.17e7f9eb.js +260 -0
- package/components/hook-form/RHFUpload/index.d.ts +1 -1
- package/components/index.d.ts +4 -4
- package/components/modal/WindowBase/subcomponents/Header/types.d.ts +4 -1
- package/components/modal/WindowBase/types.d.ts +0 -3
- package/components/modal/WindowBase.7acb9f1d.js +81 -0
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +3 -5
- package/components/modal/WindowConfirm/types.d.ts +3 -2
- package/components/modal/WindowConfirm.9b829837.js +122 -0
- package/components/modal/classes/constants.d.ts +1 -0
- package/components/modal/classes/index.d.ts +18 -0
- package/components/modal/classes/types.d.ts +21 -0
- package/components/modal/index.1b25b61d.js +82 -0
- package/components/modal/index.d.ts +2 -1
- package/components/mui_extended/Accordion/classes/constants.d.ts +1 -0
- package/components/mui_extended/Accordion/classes/index.d.ts +10 -0
- package/components/mui_extended/Accordion/classes/types.d.ts +10 -0
- package/components/mui_extended/Accordion/index.3faafd8b.js +127 -0
- package/components/mui_extended/Accordion/tests/constants.d.ts +1 -0
- package/components/mui_extended/Accordion/tests/utils.d.ts +2 -0
- package/components/mui_extended/Accordion/types.d.ts +2 -1
- package/components/mui_extended/Avatar/{index.d.ts → Avatar.d.ts} +0 -1
- package/components/mui_extended/Avatar/classes/constants.d.ts +1 -0
- package/components/mui_extended/Avatar/classes/index.d.ts +7 -0
- package/components/mui_extended/Avatar/classes/types.d.ts +7 -0
- package/components/mui_extended/Avatar/index.75e6ed57.js +71 -0
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +2 -1
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/types.d.ts +3 -0
- package/components/mui_extended/Avatar/tests/constants.d.ts +1 -0
- package/components/mui_extended/Avatar/tests/utils.d.ts +2 -0
- package/components/mui_extended/Avatar/types.d.ts +1 -5
- package/components/mui_extended/Button/{index.f9d54780.js → index.fdb5dcbd.js} +6 -5
- package/components/mui_extended/IconButton/{index.822cdaac.js → index.1a9d4fa5.js} +1 -1
- package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.03403529.js → index.ba1da3b3.js} +4 -4
- package/components/mui_extended/MenuActions/types.d.ts +2 -2
- package/components/mui_extended/Pager/{index.6428b07c.js → index.67bda2c5.js} +1 -1
- package/components/mui_extended/Tab/classes/constants.d.ts +1 -0
- package/components/mui_extended/Tab/classes/index.d.ts +7 -0
- package/components/mui_extended/Tab/classes/types.d.ts +7 -0
- package/components/mui_extended/Tab/index.9e2f6e34.js +71 -0
- package/components/mui_extended/Tab/tests/constants.d.ts +1 -0
- package/components/mui_extended/Tab/tests/utils.d.ts +2 -0
- package/components/mui_extended/Tooltip/Tooltip.d.ts +3 -0
- package/components/mui_extended/Tooltip/classes/constants.d.ts +1 -0
- package/components/mui_extended/Tooltip/classes/index.d.ts +6 -0
- package/components/mui_extended/Tooltip/classes/types.d.ts +6 -0
- package/components/mui_extended/Tooltip/index.5a795dcd.js +43 -0
- package/components/mui_extended/Tooltip/index.d.ts +2 -0
- package/components/mui_extended/Tooltip/types.d.ts +6 -0
- package/components/mui_extended/Typography/{index.e2d9e3f2.js → index.443590d6.js} +1 -1
- package/components/mui_extended/index.73e536de.js +21 -0
- package/components/mui_extended/index.d.ts +3 -2
- package/contexts/ModalContext/{index.0484ca54.js → index.699f95fa.js} +1 -1
- package/contexts/ModalContext/types.d.ts +2 -0
- package/contexts/RHFormContext/classes/constants.d.ts +1 -0
- package/contexts/RHFormContext/classes/index.d.ts +9 -0
- package/contexts/RHFormContext/classes/types.d.ts +6 -0
- package/contexts/RHFormContext/{index.a7511399.js → index.fe175bab.js} +33 -9
- package/hooks/useModal/{index.c6069beb.js → index.7b7d26ba.js} +1 -1
- package/index.js +219 -207
- package/package.json +1 -1
- package/{react-draggable.17b4ec8a.js → react-draggable.6d7949a3.js} +1 -1
- package/{react-resizable.ffd7c2aa.js → react-resizable.b6f8e04a.js} +2 -2
- package/test/constants_no_mock.86c553a9.js +4 -0
- package/utils/{index.aca80f3a.js → index.008b4c2a.js} +0 -17
- package/utils/types.d.ts +1 -1
- package/components/AccountPopover/style.d.ts +0 -2
- package/components/AccountPopover/subcomponents/PopOver/styles.d.ts +0 -8
- package/components/AppBar/styles.d.ts +0 -2
- package/components/CommonActions/components/Actions/styles.d.ts +0 -2
- package/components/DataGrid/styles.d.ts +0 -3
- package/components/DataGrid/subcomponents/Actions/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/styles.d.ts +0 -3
- package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/styles.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -8
- package/components/DataGrid/subcomponents/Table/styles.d.ts +0 -3
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -6
- package/components/DynamicFilter/subcomponents/ApplyedFilters/styles.d.ts +0 -3
- package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/styles.d.ts +0 -6
- package/components/DynamicFilter/subcomponents/ClearFilters/styles.d.ts +0 -3
- package/components/DynamicFilter/subcomponents/FilterButton/styles.d.ts +0 -3
- package/components/DynamicFilter/subcomponents/InnerForHooks/styles.d.ts +0 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/styles.d.ts +0 -2
- package/components/HelperText/styles.d.ts +0 -2
- package/components/Icon/styles.d.ts +0 -4
- package/components/Image/styles.d.ts +0 -3
- package/components/Image/subcomponents/LazyLoadComponent/styles.d.ts +0 -2
- package/components/Image/subcomponents/Skeleton/styles.d.ts +0 -2
- package/components/LanguagePopover/styles.d.ts +0 -6
- package/components/NavLink/styles.d.ts +0 -2
- package/components/NoItemSelected/styles.d.ts +0 -5
- package/components/ObjectLogs/components/DetailDialog/styles.d.ts +0 -3
- package/components/ObjectLogs/styles.d.ts +0 -4
- package/components/PaperForm/styles.d.ts +0 -7
- package/components/Period/index.b93d22fa.js +0 -280
- package/components/Period/styles.d.ts +0 -7
- package/components/PropertyValue/styles.d.ts +0 -6
- package/components/ResizeableWindow/styles.d.ts +0 -5
- package/components/ScrollBar/styles.d.ts +0 -8
- package/components/SideBar/styles.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentDesktop/style.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +0 -5
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -9
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/styles.d.ts +0 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -22
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/styles.d.ts +0 -6
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -3
- package/components/SplitLayout/index.5a8355d8.js +0 -133
- package/components/SplitLayout/styles.d.ts +0 -4
- package/components/animate/LoadingScreen/styles.d.ts +0 -3
- package/components/animate/PropagateLoader/syles.d.ts +0 -2
- package/components/areas/components/AreasAdmin/styles.d.ts +0 -2
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +0 -4
- package/components/areas/components/AreasViewer/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/styles.d.ts +0 -9
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/types.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/types.d.ts +0 -6
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +0 -3
- package/components/areas/components/index.f3a98b6d.js +0 -14
- package/components/areas/index.95c4ed37.js +0 -16
- package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/styles.d.ts +0 -4
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -5
- package/components/hook-form/RHFCheckbox/styles.d.ts +0 -15
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +0 -3
- package/components/hook-form/RHFDateTime/styles.d.ts +0 -2
- package/components/hook-form/RHFDateTime/subcomponents/Skeleton/styles.d.ts +0 -2
- package/components/hook-form/RHFPeriod/index.6969af99.js +0 -55
- package/components/hook-form/RHFPeriod/styles.d.ts +0 -2
- package/components/hook-form/RHFTextField/styles.d.ts +0 -3
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
- package/components/hook-form/RHFTextFieldPassword/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +0 -12
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/index.d74ca00d.js +0 -283
- package/components/modal/ModalDialog/styles.d.ts +0 -9
- package/components/modal/WindowBase/styles.d.ts +0 -2
- package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -6
- package/components/modal/WindowBase.9b93578e.js +0 -126
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/styles.d.ts +0 -6
- package/components/modal/WindowConfirm.7ec9dcd3.js +0 -132
- package/components/modal/index.dba72820.js +0 -36
- package/components/mui_extended/Accordion/components/AccordionLabel.d.ts +0 -3
- package/components/mui_extended/Accordion/index.09a89d3d.js +0 -107
- package/components/mui_extended/Accordion/styles.d.ts +0 -4
- package/components/mui_extended/Avatar/index.fe06afd7.js +0 -51
- package/components/mui_extended/Button/styles.d.ts +0 -13
- package/components/mui_extended/IconButton/styles.d.ts +0 -2
- package/components/mui_extended/ImageButton/styles.d.ts +0 -2
- package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
- package/components/mui_extended/MenuActions/styles.d.ts +0 -30
- package/components/mui_extended/Pager/components/PagerActions/styles.d.ts +0 -2
- package/components/mui_extended/Pager/styles.d.ts +0 -6
- package/components/mui_extended/Popover/styles.d.ts +0 -1
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -3
- package/components/mui_extended/Tab/index.e0653a0a.js +0 -32
- package/components/mui_extended/Tab/styles.d.ts +0 -2
- package/components/mui_extended/Typography/styles.d.ts +0 -2
- package/components/mui_extended/index.b4ced9e3.js +0 -20
- package/contexts/RHFormContext/styles.d.ts +0 -2
- package/vendor.99e0c856.js +0 -456
- /package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/index.d.ts +0 -0
- /package/components/PaperForm/{index.d.ts → PaperForm.d.ts} +0 -0
- /package/components/PropertyValue/{index.d.ts → PropertyValue.d.ts} +0 -0
- /package/components/hook-form/RHFUpload/RHFUploadImage/{index.d.ts → RHFUploadImage.d.ts} +0 -0
- /package/components/mui_extended/Accordion/{index.d.ts → Accordion.d.ts} +0 -0
- /package/{node_modules.416f1da3.js → react-spinners.342a6578.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LAccordion";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccordionClassesType } from './types';
|
|
2
|
+
export declare const accordionClasses: AccordionClassesType;
|
|
3
|
+
export declare function getAccordionUtilityClass(slot: string): string;
|
|
4
|
+
export declare const accordionUtilityClasses: () => {
|
|
5
|
+
label: string;
|
|
6
|
+
root: string;
|
|
7
|
+
content: string;
|
|
8
|
+
endIcon: string;
|
|
9
|
+
labelIcon: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { accordionUtilityClasses } from ".";
|
|
2
|
+
export interface AccordionClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
endIcon: string;
|
|
5
|
+
labelIcon: string;
|
|
6
|
+
label: string;
|
|
7
|
+
content: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type AccordionClassesKey = keyof AccordionClassesType;
|
|
10
|
+
export declare type Classes = ReturnType<typeof accordionUtilityClasses>;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.1a9d4fa5.js";
|
|
3
|
+
import { useEnvironment } from "@m4l/core";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import { I as Icon } from "../../Icon/index.9dae8337.js";
|
|
6
|
+
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
7
|
+
import clsx from "clsx";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
const componentName = "M4LAccordion";
|
|
11
|
+
generateUtilityClasses(componentName, [
|
|
12
|
+
"root",
|
|
13
|
+
"endIcon",
|
|
14
|
+
"labelIcon",
|
|
15
|
+
"label",
|
|
16
|
+
"content"
|
|
17
|
+
]);
|
|
18
|
+
function getAccordionUtilityClass(slot) {
|
|
19
|
+
return generateUtilityClass(componentName, slot);
|
|
20
|
+
}
|
|
21
|
+
const accordionUtilityClasses = () => {
|
|
22
|
+
const slots = {
|
|
23
|
+
root: ["root"],
|
|
24
|
+
endIcon: ["endIcon"],
|
|
25
|
+
labelIcon: ["labelIcon"],
|
|
26
|
+
label: ["label"],
|
|
27
|
+
content: ["content"]
|
|
28
|
+
};
|
|
29
|
+
const composedClasses = unstable_composeClasses(slots, getAccordionUtilityClass, {});
|
|
30
|
+
return {
|
|
31
|
+
...composedClasses
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
styled("div")(({
|
|
35
|
+
theme
|
|
36
|
+
}) => ({
|
|
37
|
+
display: "flex",
|
|
38
|
+
justifyContent: "space-between",
|
|
39
|
+
alignItems: "center",
|
|
40
|
+
borderRadius: theme.spacing(0.5),
|
|
41
|
+
height: theme.spacing(4.5),
|
|
42
|
+
minHeight: theme.spacing(4.5),
|
|
43
|
+
backgroundColor: theme.palette.background.header,
|
|
44
|
+
paddingLeft: theme.spacing(2),
|
|
45
|
+
paddingRight: theme.spacing(2),
|
|
46
|
+
marginBottom: "0px"
|
|
47
|
+
}));
|
|
48
|
+
styled("div")(({
|
|
49
|
+
theme
|
|
50
|
+
}) => ({
|
|
51
|
+
display: "flex",
|
|
52
|
+
justifyContent: "flex-start",
|
|
53
|
+
alignItems: "center",
|
|
54
|
+
gap: theme.spacing(2)
|
|
55
|
+
}));
|
|
56
|
+
const AccordionRoot = styled("div")(({
|
|
57
|
+
theme
|
|
58
|
+
}) => ({
|
|
59
|
+
...theme.components?.M4LAccordion?.styleOverrides
|
|
60
|
+
}));
|
|
61
|
+
const ICON_PREFIX = "M4LAccordion";
|
|
62
|
+
const getNameAccordionDataTestId = (KEY) => {
|
|
63
|
+
return `${ICON_PREFIX}-${KEY}`;
|
|
64
|
+
};
|
|
65
|
+
function Accordion(props) {
|
|
66
|
+
const {
|
|
67
|
+
label,
|
|
68
|
+
SKTWidht,
|
|
69
|
+
SKTHeight,
|
|
70
|
+
children,
|
|
71
|
+
accordionProps,
|
|
72
|
+
summaryProps,
|
|
73
|
+
labelIcon,
|
|
74
|
+
className
|
|
75
|
+
} = props;
|
|
76
|
+
const {
|
|
77
|
+
host_static_assets,
|
|
78
|
+
environment_assets
|
|
79
|
+
} = useEnvironment();
|
|
80
|
+
const classes = accordionUtilityClasses();
|
|
81
|
+
return /* @__PURE__ */ jsx(AccordionRoot, {
|
|
82
|
+
className: clsx(classes.root, className),
|
|
83
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
84
|
+
[TEST_PROP_ID]: getNameAccordionDataTestId("root")
|
|
85
|
+
} : {},
|
|
86
|
+
children: /* @__PURE__ */ jsxs(Accordion$1, {
|
|
87
|
+
variant: "outlined",
|
|
88
|
+
square: true,
|
|
89
|
+
TransitionProps: {
|
|
90
|
+
unmountOnExit: true
|
|
91
|
+
},
|
|
92
|
+
defaultExpanded: true,
|
|
93
|
+
...accordionProps,
|
|
94
|
+
children: [/* @__PURE__ */ jsx(AccordionSummary, {
|
|
95
|
+
"aria-controls": "expanded-content",
|
|
96
|
+
disableTouchRipple: false,
|
|
97
|
+
expandIcon: /* @__PURE__ */ jsx(IconButton, {
|
|
98
|
+
"aria-label": "settings",
|
|
99
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/accordion/assets/icons/expanded.svg`,
|
|
100
|
+
className: classes.endIcon
|
|
101
|
+
}),
|
|
102
|
+
...summaryProps,
|
|
103
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
104
|
+
className: classes.labelIcon,
|
|
105
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
106
|
+
[TEST_PROP_ID]: getNameAccordionDataTestId("labelIcon")
|
|
107
|
+
} : {},
|
|
108
|
+
children: [labelIcon && /* @__PURE__ */ jsx(Icon, {
|
|
109
|
+
src: labelIcon
|
|
110
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
111
|
+
className: classes.label,
|
|
112
|
+
variant: "subtitle",
|
|
113
|
+
skeletonWidth: SKTWidht,
|
|
114
|
+
skeletongHeight: SKTHeight,
|
|
115
|
+
children: label
|
|
116
|
+
})]
|
|
117
|
+
})
|
|
118
|
+
}), /* @__PURE__ */ jsx(AccordionDetails, {
|
|
119
|
+
className: classes.content,
|
|
120
|
+
children
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
export {
|
|
126
|
+
Accordion as A
|
|
127
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ICON_PREFIX = "M4LAccordion";
|
|
@@ -2,8 +2,9 @@ import { AccordionProps as MUIAccordionProps, AccordionSummaryProps } from '@mui
|
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
export declare type AccordionProps = {
|
|
4
4
|
label: string;
|
|
5
|
+
className?: string;
|
|
5
6
|
children: ReactNode;
|
|
6
|
-
accordionProps?: MUIAccordionProps
|
|
7
|
+
accordionProps?: Omit<MUIAccordionProps, 'sx'>;
|
|
7
8
|
summaryProps?: AccordionSummaryProps;
|
|
8
9
|
labelIcon?: string;
|
|
9
10
|
SKTWidht?: string | number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LAvatar";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AvatarClassesType } from './types';
|
|
2
|
+
export declare const avatarClasses: AvatarClassesType;
|
|
3
|
+
export declare function getAvatarUtilityClass(slot: string): string;
|
|
4
|
+
export declare const useAvatarUtilityClasses: () => {
|
|
5
|
+
root: string;
|
|
6
|
+
skeleton: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useAvatarUtilityClasses } from "./index";
|
|
2
|
+
export interface AvatarClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
skeleton: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type AvatarClassesKey = keyof AvatarClassesType;
|
|
7
|
+
export declare type Classes = ReturnType<typeof useAvatarUtilityClasses>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { forwardRef } from "react";
|
|
2
|
+
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled, Avatar as Avatar$1 } from "@mui/material";
|
|
3
|
+
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
+
import clsx from "clsx";
|
|
8
|
+
const AVATAR_PREFIX = "M4LAvatar";
|
|
9
|
+
const getNameAvatarDataTestId = (KEY) => {
|
|
10
|
+
return `${AVATAR_PREFIX}-${KEY}`;
|
|
11
|
+
};
|
|
12
|
+
const SkeletonAvatar = (props) => {
|
|
13
|
+
const {
|
|
14
|
+
className
|
|
15
|
+
} = props;
|
|
16
|
+
return /* @__PURE__ */ jsx(Skeleton, {
|
|
17
|
+
variant: "circular",
|
|
18
|
+
width: "32px",
|
|
19
|
+
height: "32px",
|
|
20
|
+
className,
|
|
21
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
22
|
+
[TEST_PROP_ID]: getNameAvatarDataTestId("skeleton")
|
|
23
|
+
} : {}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
const componentName = "M4LAvatar";
|
|
27
|
+
generateUtilityClasses(componentName, [
|
|
28
|
+
"root",
|
|
29
|
+
"skeleton"
|
|
30
|
+
]);
|
|
31
|
+
function getAvatarUtilityClass(slot) {
|
|
32
|
+
return generateUtilityClass(componentName, slot);
|
|
33
|
+
}
|
|
34
|
+
const useAvatarUtilityClasses = () => {
|
|
35
|
+
const slots = {
|
|
36
|
+
root: ["root"],
|
|
37
|
+
skeleton: ["skeleton"]
|
|
38
|
+
};
|
|
39
|
+
const composedClasses = unstable_composeClasses(slots, getAvatarUtilityClass, {});
|
|
40
|
+
return {
|
|
41
|
+
...composedClasses
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
const AvatarRoot = styled("div")(({ theme }) => ({
|
|
45
|
+
...theme.components?.M4LAvatar?.styleOverrides
|
|
46
|
+
}));
|
|
47
|
+
const Avatar = forwardRef(({
|
|
48
|
+
color = "default",
|
|
49
|
+
sx,
|
|
50
|
+
className,
|
|
51
|
+
...other
|
|
52
|
+
}, ref) => {
|
|
53
|
+
const isSkeleton = useModuleSkeleton();
|
|
54
|
+
const classes = useAvatarUtilityClasses();
|
|
55
|
+
return /* @__PURE__ */ jsx(AvatarRoot, {
|
|
56
|
+
className: clsx(classes.root, className),
|
|
57
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
58
|
+
[TEST_PROP_ID]: getNameAvatarDataTestId("root")
|
|
59
|
+
} : {},
|
|
60
|
+
children: !isSkeleton ? /* @__PURE__ */ jsx(Avatar$1, {
|
|
61
|
+
ref,
|
|
62
|
+
...other
|
|
63
|
+
}) : /* @__PURE__ */ jsx(SkeletonAvatar, {
|
|
64
|
+
className: classes.skeleton
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
Avatar.displayName = "Avatar";
|
|
69
|
+
export {
|
|
70
|
+
Avatar as A
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AVATAR_PREFIX = "M4LAvatar";
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import { AvatarProps as MUIAvatarProps } from '@mui/material';
|
|
2
|
-
declare type
|
|
3
|
-
export interface AvatarProps extends MUIAvatarProps {
|
|
4
|
-
color?: AvatarColor;
|
|
5
|
-
}
|
|
6
|
-
export {};
|
|
2
|
+
export declare type AvatarProps = MUIAvatarProps;
|
|
@@ -4,11 +4,11 @@ import MuiButton from "@mui/material/Button";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.c18ebf5a.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
+
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -165,7 +165,7 @@ const useUtilityClasses = (onwerState) => {
|
|
|
165
165
|
const LoadingButtonRoot = styled("div")(({ theme }) => ({
|
|
166
166
|
...theme.components?.M4LoadingButton?.styleOverrides
|
|
167
167
|
}));
|
|
168
|
-
const LOADINGBUTTON_PREFIX = "
|
|
168
|
+
const LOADINGBUTTON_PREFIX = "M4LoadingButton";
|
|
169
169
|
const getNameDataTestId = (KEY) => {
|
|
170
170
|
return `${LOADINGBUTTON_PREFIX}-${KEY}`;
|
|
171
171
|
};
|
|
@@ -173,6 +173,7 @@ const LoadingButton = (props) => {
|
|
|
173
173
|
const {
|
|
174
174
|
children,
|
|
175
175
|
skeletonWidth = "100%",
|
|
176
|
+
className,
|
|
176
177
|
...other
|
|
177
178
|
} = props;
|
|
178
179
|
const isSkeleton = useModuleSkeleton();
|
|
@@ -183,7 +184,7 @@ const LoadingButton = (props) => {
|
|
|
183
184
|
};
|
|
184
185
|
const classes = useUtilityClasses(ownerState);
|
|
185
186
|
return /* @__PURE__ */ jsx(LoadingButtonRoot, {
|
|
186
|
-
className: classes.root,
|
|
187
|
+
className: clsx(classes.root, className),
|
|
187
188
|
...process.env.NODE_ENV !== "production" ? {
|
|
188
189
|
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
189
190
|
} : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.9dae8337.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LOADINGBUTTON_PREFIX = "
|
|
1
|
+
export declare const LOADINGBUTTON_PREFIX = "M4LoadingButton";
|
|
@@ -3,8 +3,8 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { IconButton, MenuItem } from "@mui/material";
|
|
4
4
|
import { P as Popover } from "../Popover/index.9f35d0eb.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
7
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.9dae8337.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.1a9d4fa5.js";
|
|
8
8
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
9
|
styled(IconButton)(() => ({}));
|
|
10
10
|
const LabelMemuItem = styled("div")(({
|
|
@@ -98,9 +98,9 @@ function MenuActions(props) {
|
|
|
98
98
|
color: menuAction.color ?? "text.main"
|
|
99
99
|
},
|
|
100
100
|
disabled: menuAction.disabled,
|
|
101
|
-
children: [/* @__PURE__ */ jsx(Icon, {
|
|
101
|
+
children: [menuAction.urlIcon ? /* @__PURE__ */ jsx(Icon, {
|
|
102
102
|
src: menuAction.urlIcon
|
|
103
|
-
}), /* @__PURE__ */ jsx(LabelMemuItem, {
|
|
103
|
+
}) : null, /* @__PURE__ */ jsx(LabelMemuItem, {
|
|
104
104
|
children: menuAction.label || menuAction.dictionaryId && getLabel(menuAction.dictionaryId)
|
|
105
105
|
})]
|
|
106
106
|
}, `menu_action_${index}`))
|
|
@@ -4,11 +4,11 @@ export interface ComponentActionProps {
|
|
|
4
4
|
onClick: (props?: any) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare type MenuAction = {
|
|
7
|
-
urlIcon
|
|
7
|
+
urlIcon?: string;
|
|
8
8
|
iconWidth?: number;
|
|
9
9
|
iconHeight?: number;
|
|
10
10
|
onClick: (props?: any) => void;
|
|
11
|
-
disabled
|
|
11
|
+
disabled?: boolean;
|
|
12
12
|
color?: string;
|
|
13
13
|
label?: string;
|
|
14
14
|
dictionaryId?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { Skeleton, TablePagination } from "@mui/material";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { I as IconButton } from "../IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../IconButton/index.1a9d4fa5.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
const WrapperPagerActions = styled("div")(({ theme }) => ({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LTab";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { useModuleSkeleton } from "@m4l/core";
|
|
2
|
+
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
3
|
+
import { styled } from "@mui/material/styles";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import clsx from "clsx";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
const TabRoot = styled("div")(({
|
|
9
|
+
theme
|
|
10
|
+
}) => ({
|
|
11
|
+
...theme.components?.M4LTab?.styleOverrides
|
|
12
|
+
}));
|
|
13
|
+
const SKTTabWrapper = styled("div")(({
|
|
14
|
+
theme
|
|
15
|
+
}) => ({
|
|
16
|
+
padding: theme.spacing(1.5, 2)
|
|
17
|
+
}));
|
|
18
|
+
const componentName = "M4LTab";
|
|
19
|
+
generateUtilityClasses(componentName, [
|
|
20
|
+
"root",
|
|
21
|
+
"skeleton"
|
|
22
|
+
]);
|
|
23
|
+
function getTabUtilityClass(slot) {
|
|
24
|
+
return generateUtilityClass(componentName, slot);
|
|
25
|
+
}
|
|
26
|
+
const tabUtilityClasses = () => {
|
|
27
|
+
const slots = {
|
|
28
|
+
root: ["root"],
|
|
29
|
+
skeleton: ["skeleton"]
|
|
30
|
+
};
|
|
31
|
+
const composedClasses = unstable_composeClasses(slots, getTabUtilityClass, {});
|
|
32
|
+
return {
|
|
33
|
+
...composedClasses
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
const ICON_PREFIX = "M4LTab";
|
|
37
|
+
const getNameTabDataTestId = (KEY) => {
|
|
38
|
+
return `${ICON_PREFIX}-${KEY}`;
|
|
39
|
+
};
|
|
40
|
+
function Tab(props) {
|
|
41
|
+
const {
|
|
42
|
+
SKTWidth,
|
|
43
|
+
SKTHeight,
|
|
44
|
+
className,
|
|
45
|
+
...other
|
|
46
|
+
} = props;
|
|
47
|
+
const isSkeleton = useModuleSkeleton();
|
|
48
|
+
const classes = tabUtilityClasses();
|
|
49
|
+
return /* @__PURE__ */ jsx(TabRoot, {
|
|
50
|
+
className: clsx(classes.root, className),
|
|
51
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
52
|
+
[TEST_PROP_ID]: getNameTabDataTestId("root")
|
|
53
|
+
} : {},
|
|
54
|
+
children: !isSkeleton ? /* @__PURE__ */ jsx(Tab$1, {
|
|
55
|
+
...other
|
|
56
|
+
}) : /* @__PURE__ */ jsx(SKTTabWrapper, {
|
|
57
|
+
className: classes.skeleton,
|
|
58
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
59
|
+
[TEST_PROP_ID]: getNameTabDataTestId("skeleton")
|
|
60
|
+
} : {},
|
|
61
|
+
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
62
|
+
variant: "text",
|
|
63
|
+
width: SKTWidth,
|
|
64
|
+
height: SKTHeight
|
|
65
|
+
})
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
Tab as T
|
|
71
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ICON_PREFIX = "M4LTab";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LTooltip";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass, useTheme, Tooltip as Tooltip$1 } from "@mui/material";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
const componentName = "M4LTooltip";
|
|
6
|
+
generateUtilityClasses(componentName, [
|
|
7
|
+
"root"
|
|
8
|
+
]);
|
|
9
|
+
function getTooltipUtilityClass(slot) {
|
|
10
|
+
return generateUtilityClass(componentName, slot);
|
|
11
|
+
}
|
|
12
|
+
const tooltipUtilityClasses = () => {
|
|
13
|
+
const slots = {
|
|
14
|
+
root: ["root"]
|
|
15
|
+
};
|
|
16
|
+
const composedClasses = unstable_composeClasses(slots, getTooltipUtilityClass, {});
|
|
17
|
+
return {
|
|
18
|
+
...composedClasses
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const Tooltip = (props) => {
|
|
22
|
+
const {
|
|
23
|
+
children,
|
|
24
|
+
className,
|
|
25
|
+
...others
|
|
26
|
+
} = props;
|
|
27
|
+
const classes = tooltipUtilityClasses();
|
|
28
|
+
const theme = useTheme();
|
|
29
|
+
const stylesoverrides = theme.components?.M4LTooltip?.styleOverrides;
|
|
30
|
+
return /* @__PURE__ */ jsx(Tooltip$1, {
|
|
31
|
+
PopperProps: {
|
|
32
|
+
sx: {
|
|
33
|
+
...stylesoverrides
|
|
34
|
+
},
|
|
35
|
+
className: clsx(classes.root, className)
|
|
36
|
+
},
|
|
37
|
+
...others,
|
|
38
|
+
children
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
Tooltip as T
|
|
43
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentNameToClassKey, SxProps, Theme } from "@mui/material";
|
|
2
|
+
import { TooltipProps as MUITooltipProps } from "@mui/material";
|
|
3
|
+
import { OverridesStyleRules } from "@mui/material/styles/overrides";
|
|
4
|
+
export interface TooltipProps extends Omit<MUITooltipProps, 'sx'> {
|
|
5
|
+
sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
|
|
6
|
+
}
|
|
@@ -2,7 +2,7 @@ import { useModuleSkeleton } from "@m4l/core";
|
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const WarpperTypography = styled("div")(({
|
|
8
8
|
theme
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@m4l/core";
|
|
4
|
+
import "../Icon/index.9dae8337.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "./IconButton/index.1a9d4fa5.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "./Accordion/index.3faafd8b.js";
|
|
10
|
+
import "./Typography/index.443590d6.js";
|
|
11
|
+
import "./Avatar/index.75e6ed57.js";
|
|
12
|
+
import "react-router-dom";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "./Button/index.fdb5dcbd.js";
|
|
15
|
+
import "../Image/index.c18ebf5a.js";
|
|
16
|
+
import "@mui/lab";
|
|
17
|
+
import "./Popover/index.9f35d0eb.js";
|
|
18
|
+
import "./MenuActions/index.ba1da3b3.js";
|
|
19
|
+
import "./Pager/index.67bda2c5.js";
|
|
20
|
+
import "./Tab/index.9e2f6e34.js";
|
|
21
|
+
import "./Tooltip/index.5a795dcd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Accordion } from './Accordion';
|
|
2
|
-
export { Avatar } from './Avatar';
|
|
1
|
+
export { Accordion } from './Accordion/Accordion';
|
|
2
|
+
export { Avatar } from './Avatar/Avatar';
|
|
3
3
|
export { type AvatarProps } from './Avatar/types';
|
|
4
4
|
export { BoxIcon } from './BoxIcon';
|
|
5
5
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
@@ -18,4 +18,5 @@ export { Pager } from './Pager';
|
|
|
18
18
|
export type { PagerProps } from './Pager/types';
|
|
19
19
|
export { getPagerComponentsDictionary } from './Pager/dicctionary';
|
|
20
20
|
export { Tab } from './Tab';
|
|
21
|
+
export * from './Tooltip';
|
|
21
22
|
export * from './Typography/Typography';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useState } from "react";
|
|
2
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
2
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.d9c5d400.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|