@m4l/components 0.1.62 → 0.1.63
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 +45 -4
- package/components/AccountPopover/AccountPopover.d.ts +2 -0
- package/components/AccountPopover/classes/constants.d.ts +1 -0
- package/components/AccountPopover/classes/index.d.ts +7 -0
- package/components/AccountPopover/classes/types.d.ts +5 -0
- package/components/AccountPopover/index.d.ts +2 -0
- package/components/AccountPopover/style.d.ts +2 -0
- package/components/AccountPopover/subcomponents/PopOver/index.d.ts +2 -0
- package/components/AccountPopover/subcomponents/PopOver/styles.d.ts +8 -0
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +9 -0
- package/components/AccountPopover/types.d.ts +28 -0
- package/components/AppBar/AppBar.d.ts +2 -0
- package/components/AppBar/classes/constants.d.ts +1 -0
- package/components/AppBar/classes/index.d.ts +6 -0
- package/components/AppBar/classes/types.d.ts +4 -0
- package/components/AppBar/index.d.ts +1 -0
- package/components/AppBar/styles.d.ts +2 -0
- package/components/AppBar/subcomponents/MyAvatar/createAvatar.d.ts +4 -0
- package/components/AppBar/subcomponents/MyAvatar/index.d.ts +2 -0
- package/components/AppBar/tests/constants.d.ts +1 -0
- package/components/AppBar/tests/utils.d.ts +2 -0
- package/components/AppBar/types.d.ts +9 -0
- package/components/CommonActions/components/ActionCancel/{index.a81752ef.js → index.2eb2c1e1.js} +1 -1
- package/components/CommonActions/components/ActionCancel/index.d.ts +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.2124a98a.js → index.2864d574.js} +16 -17
- package/components/CommonActions/components/ActionFormIntro/index.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/{index.ca4d2674.js → index.e7f83ddd.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.3f75a205.js → index.0d138cb3.js} +2 -2
- package/components/CommonActions/components/ActionIntro/index.d.ts +2 -2
- package/components/CommonActions/components/Actions/{index.6eb24c0b.js → index.433cd345.js} +17 -15
- package/components/CommonActions/components/Actions/styles.d.ts +2 -0
- package/components/DataGrid/{index.58f35158.js → index.42521a55.js} +24 -22
- package/components/DataGrid/styles.d.ts +3 -0
- package/components/DataGrid/subcomponents/Actions/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/styles.d.ts +3 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/styles.d.ts +4 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +8 -0
- package/components/DataGrid/subcomponents/Table/styles.d.ts +3 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +6 -0
- package/components/DynamicFilter/{index.10f901c6.js → index.442bda79.js} +38 -37
- package/components/DynamicFilter/subcomponents/ApplyedFilters/styles.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/styles.d.ts +6 -0
- package/components/DynamicFilter/subcomponents/ClearFilters/styles.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/FilterButton/styles.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/InnerForHooks/styles.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/InputFilter/styles.d.ts +2 -0
- package/components/DynamicFilter/subcomponents/PopoverFilter/styles.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/styles.d.ts +2 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/styles.d.ts +2 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/styles.d.ts +2 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/styles.d.ts +2 -0
- package/components/HelperText/index.3c07ca2a.js +70 -0
- package/components/HelperText/index.d.ts +10 -0
- package/components/HelperText/styles.d.ts +2 -0
- package/components/HelperText/types.d.ts +8 -0
- package/components/HelperText/utils/Clases/constant.d.ts +1 -0
- package/components/HelperText/utils/Clases/index.d.ts +7 -0
- package/components/HelperText/utils/Clases/types.d.ts +7 -0
- package/components/Icon/classes/index.d.ts +1 -1
- package/components/Icon/classes/types.d.ts +3 -8
- package/components/Icon/index.0f9b360e.js +200 -0
- package/components/Icon/styles.d.ts +4 -0
- package/components/Icon/tests/constants.d.ts +1 -0
- package/components/Icon/tests/utils.d.ts +2 -0
- package/components/Icon/types.d.ts +3 -4
- package/components/Image/{index.aa24e982.js → index.1a9c0327.js} +124 -56
- package/components/Image/styles.d.ts +3 -0
- package/components/Image/subcomponents/LazyLoadComponent/styles.d.ts +2 -0
- package/components/Image/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/Image/subcomponents/Skeleton/types.d.ts +2 -0
- package/components/Image/tests/constants.d.ts +1 -0
- package/components/Image/tests/utils.d.ts +2 -0
- package/components/Image/types.d.ts +9 -2
- package/components/Image/utils/classes/types.d.ts +1 -0
- package/components/Image/utils/getRatioValues.d.ts +5 -0
- package/components/LanguagePopover/classes/types.d.ts +1 -0
- package/components/LanguagePopover/{index.df9b47a6.js → index.68de7176.js} +49 -25
- package/components/LanguagePopover/styles.d.ts +6 -0
- package/components/LanguagePopover/tests/constants.d.ts +1 -0
- package/components/LanguagePopover/tests/utils.d.ts +2 -0
- package/components/ModalDialog/{index.dc7ebe06.js → index.3efe049b.js} +5 -5
- package/components/NavLink/NavLink.d.ts +2 -0
- package/components/NavLink/classes/constant.d.ts +1 -0
- package/components/NavLink/classes/index.d.ts +6 -0
- package/components/NavLink/classes/types.d.ts +4 -0
- package/components/NavLink/index.ae9f1cc9.js +74 -0
- package/components/NavLink/index.d.ts +1 -0
- package/components/NavLink/styles.d.ts +2 -0
- package/components/NavLink/tests/constants.d.ts +1 -0
- package/components/NavLink/tests/utils.d.ts +2 -0
- package/components/NavLink/types.d.ts +5 -0
- package/components/NoItemSelected/{index.9636ec8a.js → index.7cfd7613.js} +2 -4
- package/components/NoItemSelected/styles.d.ts +5 -0
- package/components/ObjectLogs/components/DetailDialog/styles.d.ts +3 -0
- package/components/ObjectLogs/{index.38c2ad18.js → index.b50726fb.js} +20 -18
- package/components/ObjectLogs/styles.d.ts +4 -0
- package/components/PaperForm/{index.3cdac885.js → index.44bf4469.js} +1 -1
- package/components/PaperForm/styles.d.ts +7 -0
- package/components/Period/{index.796b3af4.js → index.99feb99e.js} +18 -17
- package/components/Period/styles.d.ts +7 -0
- package/components/PropertyValue/styles.d.ts +6 -0
- package/components/Resizeable/{index.04fa8de5.js → index.b5d42efb.js} +1 -1
- package/components/ResizeableWindow/styles.d.ts +5 -0
- package/components/ScrollBar/{index.b77feabd.js → index.bbe48f4d.js} +7 -2
- package/components/ScrollBar/styles.d.ts +8 -0
- package/components/SideBar/SideBar.d.ts +2 -0
- package/components/SideBar/classes/constants.d.ts +1 -0
- package/components/SideBar/classes/index.d.ts +37 -0
- package/components/SideBar/classes/types.d.ts +37 -0
- package/components/SideBar/context/sideBarContext/index.d.ts +5 -0
- package/components/SideBar/context/sideBarContext/types.d.ts +9 -0
- package/components/SideBar/hooks/useSideBar/index.d.ts +2 -0
- package/components/SideBar/index.011880b6.js +1010 -0
- package/components/SideBar/index.d.ts +2 -0
- package/components/SideBar/styles.d.ts +5 -0
- package/components/SideBar/subcomponents/ContentDesktop/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentDesktop/style.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/index.d.ts +6 -0
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +5 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/types.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +9 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/styles.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/type.d.ts +9 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +14 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/index.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +22 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/types.d.ts +7 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/types.d.ts +13 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/type.d.ts +12 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/types.d.ts +13 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/styles.d.ts +5 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/types.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/type.d.ts +7 -0
- package/components/SideBar/subcomponents/ContentMobile/index.d.ts +1 -0
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +3 -0
- package/components/SideBar/tests/constants.d.ts +5 -0
- package/components/SideBar/tests/utils.d.ts +2 -0
- package/components/SideBar/types.d.ts +29 -0
- package/components/SplitLayout/styles.d.ts +4 -0
- package/components/animate/LoadingScreen/styles.d.ts +3 -0
- package/components/animate/PropagateLoader/syles.d.ts +2 -0
- package/components/areas/components/Area/styles.d.ts +6 -0
- package/components/areas/components/AreasAdmin/{index.645bd2c7.js → index.51e28f63.js} +11 -10
- package/components/areas/components/AreasAdmin/styles.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +3 -0
- package/components/areas/components/AreasContainer/{index.3e74c849.js → index.1e5e6e91.js} +3 -3
- package/components/areas/components/AreasContainer/styles.d.ts +2 -0
- package/components/areas/components/GridLayout/{index.50810712.js → index.5bf8d5e4.js} +5 -5
- package/components/areas/components/GridLayout/styles.d.ts +7 -0
- package/components/areas/components/Window/{index.8040dbe4.js → index.416a874f.js} +49 -49
- package/components/areas/components/Window/styles.d.ts +6 -0
- package/components/areas/components/Window/subcomponents/InnerForHooks/styles.d.ts +2 -0
- package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/Header/styles.d.ts +9 -0
- package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/styles.d.ts +2 -0
- package/components/areas/components/Window/subcomponents/InnerForHooks/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/styles.d.ts +2 -0
- package/components/areas/components/WindowModal/styles.d.ts +3 -0
- package/components/areas/components/WindowPopUp/{index.4514046e.js → index.f053fca7.js} +45 -42
- package/components/areas/components/WindowsPanel/styles.d.ts +10 -0
- package/components/areas/components/{index.9f62ca8e.js → index.eace295a.js} +10 -10
- package/components/areas/contexts/AreaContext/{index.368adb8d.js → index.7890e58d.js} +1 -1
- package/components/areas/contexts/AreasContext/{index.f3d6e728.js → index.0792a8d1.js} +1 -1
- package/components/areas/contexts/{index.3623b460.js → index.2a915acf.js} +1 -1
- package/components/areas/hooks/{index.18982960.js → index.f4d78492.js} +1 -1
- package/components/areas/hooks/useArea/{index.dab7ce20.js → index.d6263051.js} +2 -2
- package/components/areas/index.8fca0f8f.js +20 -0
- package/components/formatters/BooleanFormatter/{index.bf947220.js → index.cd00c8e1.js} +2 -3
- package/components/formatters/{index.acd3dcea.js → index.deae4701.js} +2 -3
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/classes/constant.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +10 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +15 -0
- package/components/hook-form/RHFAutocomplete/index.083e23c1.js +400 -0
- package/components/hook-form/RHFAutocomplete/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/styles.d.ts +4 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/test/constants.d.ts +1 -0
- package/components/hook-form/RHFAutocomplete/test/utils.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/types.d.ts +9 -0
- package/components/hook-form/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +7 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/constant.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/index.d.ts +6 -0
- package/components/hook-form/RHFAutocompleteAsync/classes/types.d.ts +4 -0
- package/components/hook-form/RHFAutocompleteAsync/index.ba751be9.js +156 -0
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +5 -0
- package/components/hook-form/RHFAutocompleteAsync/tests/constants.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/classes/index.d.ts +3 -1
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +4 -0
- package/components/hook-form/RHFCheckbox/index.c19393b1.js +152 -0
- package/components/hook-form/RHFCheckbox/styles.d.ts +15 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +3 -0
- package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/test/constants.d.ts +4 -0
- package/components/hook-form/RHFCheckbox/test/utils.d.ts +2 -0
- package/components/hook-form/RHFCheckbox/types.d.ts +1 -0
- package/components/hook-form/RHFDateTime/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFPeriod/{index.c4944f9c.js → index.c0a80aeb.js} +3 -3
- package/components/hook-form/RHFPeriod/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/RHFTextField.d.ts +1 -1
- package/components/hook-form/RHFTextField/classes/index.d.ts +3 -1
- package/components/hook-form/RHFTextField/classes/types.d.ts +9 -3
- package/components/hook-form/RHFTextField/index.97485ff2.js +341 -0
- package/components/hook-form/RHFTextField/styles.d.ts +3 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +3 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/types.d.ts +2 -2
- package/components/hook-form/RHFTextField/tests/{contants.d.ts → constants.d.ts} +1 -0
- package/components/hook-form/RHFTextField/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFTextField/types.d.ts +15 -1
- package/components/hook-form/RHFTextFieldPassword/styles.d.ts +2 -0
- package/components/hook-form/RHFTextFieldPassword/tests/constants.d.ts +2 -0
- package/components/hook-form/RHFTextFieldPassword/tests/utils.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +12 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/styles.d.ts +2 -0
- package/components/hook-form/RHFUpload/{index.7fdff30f.js → index.798eb11d.js} +3 -5
- package/components/hook-form/index.d.ts +2 -2
- package/components/index.d.ts +9 -2
- package/components/modal/ModalDialog/styles.d.ts +9 -0
- package/components/modal/WindowBase/styles.d.ts +2 -0
- package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +6 -0
- package/components/modal/{WindowBase.7828e042.js → WindowBase.59f50553.js} +3 -3
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/styles.d.ts +6 -0
- package/components/modal/{WindowConfirm.42ec4dcd.js → WindowConfirm.c1339cf8.js} +21 -19
- package/components/modal/index.7a84f64d.js +30 -0
- package/components/mui_extended/Accordion/{index.725a10af.js → index.b7487e37.js} +2 -2
- package/components/mui_extended/Accordion/styles.d.ts +4 -0
- package/components/mui_extended/Button/classes/index.d.ts +2 -1
- package/components/mui_extended/Button/classes/types.d.ts +7 -1
- package/components/mui_extended/Button/index.d9e0ae2e.js +208 -0
- package/components/mui_extended/Button/styles.d.ts +13 -0
- package/components/mui_extended/Button/types.d.ts +6 -1
- package/components/mui_extended/IconButton/IconButton.d.ts +1 -2
- package/components/mui_extended/IconButton/classes/index.d.ts +2 -1
- package/components/mui_extended/IconButton/classes/types.d.ts +8 -0
- package/components/mui_extended/IconButton/{index.afa201a7.js → index.be9c2ce5.js} +48 -22
- package/components/mui_extended/IconButton/styles.d.ts +2 -0
- package/components/mui_extended/IconButton/types.d.ts +13 -1
- package/components/mui_extended/ImageButton/ImageButton.d.ts +0 -3
- package/components/mui_extended/ImageButton/styles.d.ts +2 -0
- package/components/mui_extended/ImageButton/tests/constants.d.ts +1 -0
- package/components/mui_extended/ImageButton/tests/utils.d.ts +2 -0
- package/components/mui_extended/ImageButton/types.d.ts +1 -0
- package/components/mui_extended/ImageButton/utils/Clases/types.d.ts +1 -0
- package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -0
- package/components/mui_extended/LoadingButton/classes/index.d.ts +8 -0
- package/components/mui_extended/LoadingButton/classes/types.d.ts +11 -0
- package/components/mui_extended/LoadingButton/styles.d.ts +2 -0
- package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -0
- package/components/mui_extended/LoadingButton/tests/utils.d.ts +2 -0
- package/components/mui_extended/LoadingButton/types.d.ts +5 -0
- package/components/mui_extended/MenuActions/{index.1affe51a.js → index.ec654122.js} +2 -2
- package/components/mui_extended/MenuActions/styles.d.ts +30 -0
- package/components/mui_extended/Pager/components/PagerActions/styles.d.ts +2 -0
- package/components/mui_extended/Pager/{index.d4d1a1a0.js → index.9e123670.js} +1 -1
- package/components/mui_extended/Pager/styles.d.ts +6 -0
- package/components/mui_extended/Popover/{index.8ed52492.js → index.260aae81.js} +2 -3
- package/components/mui_extended/Popover/index.d.ts +2 -0
- package/components/mui_extended/Popover/styles.d.ts +1 -0
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +3 -0
- package/components/mui_extended/Tab/styles.d.ts +2 -0
- package/components/mui_extended/Typography/Typography.d.ts +2 -0
- package/components/mui_extended/Typography/{index.be3a279a.js → index.41b60a6b.js} +20 -15
- package/components/mui_extended/Typography/index.d.ts +1 -5
- package/components/mui_extended/Typography/styles.d.ts +2 -0
- package/components/mui_extended/Typography/tests/constants.d.ts +1 -0
- package/components/mui_extended/Typography/tests/utils.d.ts +2 -0
- package/components/mui_extended/Typography/utils/Clases/types.d.ts +1 -0
- package/components/mui_extended/index.459cbd6c.js +19 -0
- package/components/mui_extended/index.d.ts +1 -1
- package/contexts/ModalContext/{index.b4114066.js → index.ae8041f3.js} +1 -1
- package/contexts/RHFormContext/{index.3dc6e2f5.js → index.a7511399.js} +2 -8
- package/contexts/RHFormContext/styles.d.ts +2 -0
- package/hooks/useModal/{index.77b3415c.js → index.5c159ed2.js} +1 -1
- package/index.js +69 -65
- package/package.json +4 -4
- package/{react-draggable.6471b07e.js → react-draggable.1aa81436.js} +1 -1
- package/{react-resizable.b620abed.js → react-resizable.e86cb01e.js} +2 -2
- package/utils/{index.b6ae791a.js → index.e199226a.js} +7 -18
- package/vendor.a15d263e.js +458 -0
- package/components/ErrorLabel/index.d.ts +0 -10
- package/components/ErrorLabel/index.e140421c.js +0 -65
- package/components/ErrorLabel/types.d.ts +0 -4
- package/components/ErrorLabel/utils/Clases/index.d.ts +0 -6
- package/components/ErrorLabel/utils/Clases/types.d.ts +0 -3
- package/components/Icon/index.b29ff2d9.js +0 -200
- package/components/areas/index.a0456f95.js +0 -21
- package/components/hook-form/RHFAutocomplete/index.bb6cb5df.js +0 -289
- package/components/hook-form/RHFAutocomplete/test/contants.d.ts +0 -1
- package/components/hook-form/RHFAutocompleteAsync/index.815949a9.js +0 -87
- package/components/hook-form/RHFAutocompleteAsync/index.d.ts +0 -2
- package/components/hook-form/RHFCheckbox/index.6e80f572.js +0 -110
- package/components/hook-form/RHFTextField/index.d3544fa3.js +0 -228
- package/components/modal/index.3cc54b93.js +0 -29
- package/components/mui_extended/Button/index.8406ed5b.js +0 -150
- package/components/mui_extended/LoadingButton/subcomponents/Skeleton/index.d.ts +0 -1
- package/components/mui_extended/index.9ce0bca3.js +0 -19
- package/vendor.29969396.js +0 -145
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperRHFUploadImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperUploadImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const DropZoneStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const PlaceholderStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const ContainerUploadBody: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const Containermessage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const ContainerTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
+
export declare const ContainerDescription: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const ContainerConditions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const WrapperImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
+
export declare const ContainerPlaceHolder: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
export declare const WrapperFileImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const MaskSkeletonUploadImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -4,7 +4,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
6
|
import { styled, alpha } from "@mui/material/styles";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.1a9c0327.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
10
|
const WrapperUploadImage = styled("div")(({
|
|
@@ -188,8 +188,7 @@ function UploadImage({
|
|
|
188
188
|
children: /* @__PURE__ */ jsx(Image, {
|
|
189
189
|
alt: "avatar",
|
|
190
190
|
src: isString(file) ? file : file.preview || "",
|
|
191
|
-
|
|
192
|
-
height: "100%"
|
|
191
|
+
ratio: "1:1"
|
|
193
192
|
})
|
|
194
193
|
}), /* @__PURE__ */ jsx(PlaceholderStyle, {
|
|
195
194
|
id: "PlaceholderStyle",
|
|
@@ -213,8 +212,7 @@ function UploadImage({
|
|
|
213
212
|
children: [/* @__PURE__ */ jsx(WrapperImage, {
|
|
214
213
|
children: /* @__PURE__ */ jsx(Image, {
|
|
215
214
|
src: `${host_static_assets}/${environment_assets}/frontend/components/upload_image/assets/img/upload_image_illustration.svg`,
|
|
216
|
-
|
|
217
|
-
height: "100px"
|
|
215
|
+
ratio: "1:1"
|
|
218
216
|
})
|
|
219
217
|
}), /* @__PURE__ */ jsxs(Containermessage, {
|
|
220
218
|
children: [/* @__PURE__ */ jsx(ContainerTitle, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { RHFAutocomplete } from './RHFAutocomplete';
|
|
1
|
+
export { RHFAutocomplete } from './RHFAutocomplete/RHFAutocomplete';
|
|
2
2
|
export { getRHFAutocompleteComponentsDictionary } from './RHFAutocomplete/dictionary';
|
|
3
|
-
export { RHFAutocompleteAsync } from './RHFAutocompleteAsync';
|
|
3
|
+
export { RHFAutocompleteAsync } from './RHFAutocompleteAsync/RHFAutocompleteAsync';
|
|
4
4
|
export { getRHFAutocompleteAsyncComponentsDictionary } from './RHFAutocompleteAsync/dictionary';
|
|
5
5
|
export * from './RHFCheckbox/RHFCheckbox';
|
|
6
6
|
export { RHFDateTime } from './RHFDateTime';
|
package/components/index.d.ts
CHANGED
|
@@ -12,8 +12,10 @@ export type { RowKey } from './DataGrid/types';
|
|
|
12
12
|
export { getDataGridComponentsDictionary as getGridComponentsDictionary } from './DataGrid/dictionary';
|
|
13
13
|
export { TextEditor, NumberEditor } from './DataGrid/subcomponents/editors/TextEditor';
|
|
14
14
|
export { getDataGridRowsFromSet } from './DataGrid/utils/getDataGridRowsFromSet';
|
|
15
|
-
export * from './DynamicFilter
|
|
16
|
-
export * from './
|
|
15
|
+
export * from './DynamicFilter';
|
|
16
|
+
export * from './DynamicFilter/dictionary';
|
|
17
|
+
export * from './HelperText';
|
|
18
|
+
export type { RawFilterFieldApply, } from './DynamicFilter/types';
|
|
17
19
|
export * from './CommonActions/';
|
|
18
20
|
export * from './CommonActions/dictionary';
|
|
19
21
|
export * from './DraggableWindow';
|
|
@@ -22,6 +24,7 @@ export * from './LanguagePopover';
|
|
|
22
24
|
export * from './Image/Image';
|
|
23
25
|
export * from './Loadable';
|
|
24
26
|
export * from './modal';
|
|
27
|
+
export { NavLink } from './NavLink';
|
|
25
28
|
export * from './NoItemSelected';
|
|
26
29
|
export * from './NoItemSelected/dictionary';
|
|
27
30
|
export * from './ObjectLogs';
|
|
@@ -35,4 +38,8 @@ export * from './ResizeableWindow';
|
|
|
35
38
|
export * from './ScrollBar';
|
|
36
39
|
export { ScrollToTop } from './ScrollToTop';
|
|
37
40
|
export * from './SplitLayout';
|
|
41
|
+
export * from './SideBar';
|
|
42
|
+
export * from './AppBar';
|
|
43
|
+
export * from './AccountPopover';
|
|
44
|
+
export * from './AppBar/AppBar';
|
|
38
45
|
export type { SplitPosition } from './SplitLayout/types';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { VariantProps } from './types';
|
|
3
|
+
export declare const WrapperDialog: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
|
+
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
+
export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperWindowBase: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { VariantProps } from '../../types';
|
|
3
|
+
export declare const WrapperHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.5c159ed2.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import {
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.e199226a.js";
|
|
6
6
|
import { IconButton } from "@mui/material";
|
|
7
|
-
import { I as Icon } from "../Icon/index.
|
|
7
|
+
import { I as Icon } from "../Icon/index.0f9b360e.js";
|
|
8
8
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
9
9
|
const WrapperWindowBase = styled("div")(({ theme }) => ({
|
|
10
10
|
display: "flex",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { VariantProps } from './types';
|
|
3
|
+
export declare const WrapperMessageIlustration: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const ModalContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const IllustrationContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const MessageContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
5
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.5c159ed2.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.433cd345.js";
|
|
5
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.2eb2c1e1.js";
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.0d138cb3.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
10
|
-
import "../mui_extended/Button/index.
|
|
10
|
+
import "../mui_extended/Button/index.d9e0ae2e.js";
|
|
11
|
+
import "clsx";
|
|
11
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import "../../react-draggable.
|
|
13
|
-
import "../ModalDialog/index.
|
|
14
|
-
import "../Resizeable/index.
|
|
13
|
+
import "../../react-draggable.1aa81436.js";
|
|
14
|
+
import "../ModalDialog/index.3efe049b.js";
|
|
15
|
+
import "../Resizeable/index.b5d42efb.js";
|
|
15
16
|
import "@m4l/graphics";
|
|
16
17
|
import { styled } from "@mui/material/styles";
|
|
17
|
-
import { I as Icon } from "../Icon/index.
|
|
18
|
-
import {
|
|
19
|
-
import { W as WindowBase } from "./WindowBase.
|
|
20
|
-
import "../areas/components/index.
|
|
21
|
-
import "../areas/components/AreasAdmin/index.
|
|
22
|
-
import "../mui_extended/IconButton/index.
|
|
18
|
+
import { I as Icon } from "../Icon/index.0f9b360e.js";
|
|
19
|
+
import { b as getVariantColor } from "../../utils/index.e199226a.js";
|
|
20
|
+
import { W as WindowBase } from "./WindowBase.59f50553.js";
|
|
21
|
+
import "../areas/components/index.eace295a.js";
|
|
22
|
+
import "../areas/components/AreasAdmin/index.51e28f63.js";
|
|
23
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
23
24
|
import "zustand";
|
|
24
|
-
import "../areas/contexts/AreasContext/index.
|
|
25
|
+
import "../areas/contexts/AreasContext/index.0792a8d1.js";
|
|
25
26
|
import "zustand/shallow";
|
|
26
|
-
import "../areas/components/AreasContainer/index.
|
|
27
|
+
import "../areas/components/AreasContainer/index.1e5e6e91.js";
|
|
27
28
|
import "react-grid-layout/css/styles.css";
|
|
28
|
-
import "../../react-resizable.
|
|
29
|
-
import "../areas/contexts/index.
|
|
29
|
+
import "../../react-resizable.e86cb01e.js";
|
|
30
|
+
import "../areas/contexts/index.2a915acf.js";
|
|
30
31
|
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
31
32
|
import "@mui/lab";
|
|
33
|
+
import "../mui_extended/Typography/index.41b60a6b.js";
|
|
32
34
|
const WrapperMessageIlustration = styled("div")(() => ({
|
|
33
35
|
display: "flex",
|
|
34
36
|
flexDirection: "column",
|
|
@@ -88,7 +90,7 @@ const MessageIlustration = (props) => {
|
|
|
88
90
|
variant,
|
|
89
91
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
90
92
|
src: variant === "warning" ? illustrationWarning : variant === "delete" ? illustrationError : illustrationInfo,
|
|
91
|
-
size: "
|
|
93
|
+
size: "small"
|
|
92
94
|
})
|
|
93
95
|
}), /* @__PURE__ */ jsx(MessageContainer, {
|
|
94
96
|
children: /* @__PURE__ */ jsx(Typography, {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "../../react-draggable.1aa81436.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../contexts/ModalContext/index.ae8041f3.js";
|
|
5
|
+
import "../ModalDialog/index.3efe049b.js";
|
|
6
|
+
import "../Resizeable/index.b5d42efb.js";
|
|
7
|
+
import "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "@m4l/core";
|
|
10
|
+
import "../CommonActions/components/Actions/index.433cd345.js";
|
|
11
|
+
import "@mui/material/Button";
|
|
12
|
+
import "../mui_extended/Button/index.d9e0ae2e.js";
|
|
13
|
+
import "clsx";
|
|
14
|
+
import "react-hook-form";
|
|
15
|
+
import "./WindowBase.59f50553.js";
|
|
16
|
+
import "../Icon/index.0f9b360e.js";
|
|
17
|
+
import "../areas/components/index.eace295a.js";
|
|
18
|
+
import "../areas/components/AreasAdmin/index.51e28f63.js";
|
|
19
|
+
import "../mui_extended/IconButton/index.be9c2ce5.js";
|
|
20
|
+
import "zustand";
|
|
21
|
+
import "../areas/contexts/AreasContext/index.0792a8d1.js";
|
|
22
|
+
import "zustand/shallow";
|
|
23
|
+
import "../areas/components/AreasContainer/index.1e5e6e91.js";
|
|
24
|
+
import "react-grid-layout/css/styles.css";
|
|
25
|
+
import "../../react-resizable.e86cb01e.js";
|
|
26
|
+
import "../areas/contexts/index.2a915acf.js";
|
|
27
|
+
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
28
|
+
import "@mui/lab";
|
|
29
|
+
import "../mui_extended/Typography/index.41b60a6b.js";
|
|
30
|
+
import "./WindowConfirm.c1339cf8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.be9c2ce5.js";
|
|
3
3
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.0f9b360e.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
styled("div")(({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SKTAccordionWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const WrapperAccordionLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ButtonClassesType } from './types';
|
|
2
|
+
import { OwnerState } from '../types';
|
|
2
3
|
export declare const buttonClasses: ButtonClassesType;
|
|
3
4
|
export declare function getButtonUtilityClass(slot: string): string;
|
|
4
|
-
export declare const useUtilityClasses: () => {
|
|
5
|
+
export declare const useUtilityClasses: (onwerState: OwnerState) => {
|
|
5
6
|
root: string;
|
|
6
7
|
skeleton: string;
|
|
7
8
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export interface ButtonClassesType {
|
|
2
2
|
root: string;
|
|
3
3
|
skeleton: string;
|
|
4
|
+
sizeSmall: string;
|
|
5
|
+
sizeMedium: String;
|
|
6
|
+
variantOutlined: string;
|
|
7
|
+
variantContained: string;
|
|
8
|
+
variantText: string;
|
|
9
|
+
isDisabled: string;
|
|
4
10
|
}
|
|
5
|
-
export declare type
|
|
11
|
+
export declare type ButtonClassesKey = keyof ButtonClassesType;
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { useModuleSkeleton } from "@m4l/core";
|
|
2
|
+
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, IconButton, Tooltip } from "@mui/material";
|
|
3
|
+
import MuiButton from "@mui/material/Button";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { useMemo } from "react";
|
|
7
|
+
import { I as Image } from "../../Image/index.1a9c0327.js";
|
|
8
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../../vendor.a15d263e.js";
|
|
10
|
+
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
+
import { T as Typography } from "../Typography/index.41b60a6b.js";
|
|
12
|
+
const ButtonRoot = styled("div")(({
|
|
13
|
+
theme
|
|
14
|
+
}) => ({
|
|
15
|
+
...theme.components?.M4LButton?.styleOverrides
|
|
16
|
+
}));
|
|
17
|
+
styled(Skeleton)(({
|
|
18
|
+
theme
|
|
19
|
+
}) => ({
|
|
20
|
+
borderRadius: theme.spacing(0.5)
|
|
21
|
+
}));
|
|
22
|
+
const componentName$2 = "M4LButton";
|
|
23
|
+
generateUtilityClasses(componentName$2, [
|
|
24
|
+
"root",
|
|
25
|
+
"skeleton",
|
|
26
|
+
"sizeSmall",
|
|
27
|
+
"sizeMedium",
|
|
28
|
+
"variantOutlined",
|
|
29
|
+
"variantContained",
|
|
30
|
+
"variantText",
|
|
31
|
+
"isDisabled"
|
|
32
|
+
]);
|
|
33
|
+
function getButtonUtilityClass(slot) {
|
|
34
|
+
return generateUtilityClass(componentName$2, slot);
|
|
35
|
+
}
|
|
36
|
+
const useUtilityClasses$2 = (onwerState) => {
|
|
37
|
+
const slots = {
|
|
38
|
+
root: ["root", onwerState.size === "small" && "sizeSmall", onwerState.size === "medium" && "sizeMedium", onwerState.variant === "outlined" && "variantOutlined", onwerState.variant === "contained" && "variantContained", onwerState.variant === "text" && "variantText", onwerState.isDisabled && "isDisabled"],
|
|
39
|
+
skeleton: ["skeleton"]
|
|
40
|
+
};
|
|
41
|
+
const composedClasses = unstable_composeClasses(slots, getButtonUtilityClass, {});
|
|
42
|
+
return {
|
|
43
|
+
...composedClasses
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
const Button = (props) => {
|
|
47
|
+
const {
|
|
48
|
+
size = "small",
|
|
49
|
+
variant = "contained",
|
|
50
|
+
className,
|
|
51
|
+
disabled,
|
|
52
|
+
...others
|
|
53
|
+
} = props;
|
|
54
|
+
const isSkeleton = useModuleSkeleton();
|
|
55
|
+
const ownerState = {
|
|
56
|
+
size,
|
|
57
|
+
variant,
|
|
58
|
+
isDisabled: disabled
|
|
59
|
+
};
|
|
60
|
+
const classes = useUtilityClasses$2(ownerState);
|
|
61
|
+
return /* @__PURE__ */ jsx(ButtonRoot, {
|
|
62
|
+
className: clsx(classes.root, className),
|
|
63
|
+
"data-testid": "ButtonRoot",
|
|
64
|
+
children: !isSkeleton ? /* @__PURE__ */ jsx(MuiButton, {
|
|
65
|
+
...others,
|
|
66
|
+
variant,
|
|
67
|
+
size,
|
|
68
|
+
disableRipple: true
|
|
69
|
+
}) : /* @__PURE__ */ jsx(Skeleton, {
|
|
70
|
+
className: classes.skeleton,
|
|
71
|
+
"data-testid": "MuiSkeleton",
|
|
72
|
+
variant: "rectangular",
|
|
73
|
+
width: "100px"
|
|
74
|
+
})
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
const WrapperImageButton = styled("div")(({
|
|
78
|
+
theme
|
|
79
|
+
}) => ({
|
|
80
|
+
...theme.components?.M4LImageButton?.styleOverrides
|
|
81
|
+
}));
|
|
82
|
+
const componentName$1 = "M4LImageButton";
|
|
83
|
+
generateUtilityClasses(componentName$1, [
|
|
84
|
+
"root"
|
|
85
|
+
]);
|
|
86
|
+
function getImageButtonUtilityClass(slot) {
|
|
87
|
+
return generateUtilityClass(componentName$1, slot);
|
|
88
|
+
}
|
|
89
|
+
const useUtilityClasses$1 = () => {
|
|
90
|
+
const slots = {
|
|
91
|
+
root: ["root"]
|
|
92
|
+
};
|
|
93
|
+
const composedClasses = unstable_composeClasses(slots, getImageButtonUtilityClass, {});
|
|
94
|
+
return {
|
|
95
|
+
...composedClasses
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
const IMAGEBUTTON_PREFIX = "ImageButton";
|
|
99
|
+
const getNameDataTestId$1 = (KEY) => {
|
|
100
|
+
return `${IMAGEBUTTON_PREFIX}-${KEY}`;
|
|
101
|
+
};
|
|
102
|
+
function ImageButton({
|
|
103
|
+
src,
|
|
104
|
+
width,
|
|
105
|
+
height,
|
|
106
|
+
useIntersectionObserver,
|
|
107
|
+
skeletonVariant = "circle",
|
|
108
|
+
tooltip,
|
|
109
|
+
sx = {
|
|
110
|
+
width,
|
|
111
|
+
height
|
|
112
|
+
},
|
|
113
|
+
...other
|
|
114
|
+
}) {
|
|
115
|
+
const finalTooltip = tooltip;
|
|
116
|
+
const classes = useUtilityClasses$1();
|
|
117
|
+
const imageButton = useMemo(() => {
|
|
118
|
+
return /* @__PURE__ */ jsx(IconButton, {
|
|
119
|
+
sx,
|
|
120
|
+
...other,
|
|
121
|
+
children: /* @__PURE__ */ jsx(Image, {
|
|
122
|
+
src,
|
|
123
|
+
useIntersectionObserver,
|
|
124
|
+
skeletonVariant
|
|
125
|
+
})
|
|
126
|
+
});
|
|
127
|
+
}, [src, width, height, useIntersectionObserver, skeletonVariant, sx]);
|
|
128
|
+
return /* @__PURE__ */ jsx(WrapperImageButton, {
|
|
129
|
+
className: classes.root,
|
|
130
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
131
|
+
[TEST_PROP_ID]: getNameDataTestId$1("root")
|
|
132
|
+
} : {},
|
|
133
|
+
children: finalTooltip ? /* @__PURE__ */ jsx(Tooltip, {
|
|
134
|
+
title: finalTooltip || "",
|
|
135
|
+
children: imageButton
|
|
136
|
+
}) : imageButton
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
const componentName = "M4LoadingButton";
|
|
140
|
+
generateUtilityClasses(componentName, [
|
|
141
|
+
"root",
|
|
142
|
+
"skeleton",
|
|
143
|
+
"sizeSmall",
|
|
144
|
+
"sizeMedium",
|
|
145
|
+
"variantOutlined",
|
|
146
|
+
"variantContained",
|
|
147
|
+
"variantText",
|
|
148
|
+
"isDisabled"
|
|
149
|
+
]);
|
|
150
|
+
function getLoadingButtonUtilityClass(slot) {
|
|
151
|
+
return generateUtilityClass(componentName, slot);
|
|
152
|
+
}
|
|
153
|
+
const useUtilityClasses = (onwerState) => {
|
|
154
|
+
const slots = {
|
|
155
|
+
root: ["root", onwerState.size === "small" && "sizeSmall", onwerState.size === "medium" && "sizeMedium", onwerState.variant === "outlined" && "variantOutlined", onwerState.variant === "contained" && "variantContained", onwerState.variant === "text" && "variantText", onwerState.isDisabled && "isDisabled"],
|
|
156
|
+
skeleton: ["skeleton"]
|
|
157
|
+
};
|
|
158
|
+
const composedClasses = unstable_composeClasses(slots, getLoadingButtonUtilityClass, {});
|
|
159
|
+
return {
|
|
160
|
+
...composedClasses
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
const LoadingButtonRoot = styled("div")(({ theme }) => ({
|
|
164
|
+
...theme.components?.M4LoadingButton?.styleOverrides
|
|
165
|
+
}));
|
|
166
|
+
const LOADINGBUTTON_PREFIX = "LoadingButton";
|
|
167
|
+
const getNameDataTestId = (KEY) => {
|
|
168
|
+
return `${LOADINGBUTTON_PREFIX}-${KEY}`;
|
|
169
|
+
};
|
|
170
|
+
const LoadingButton = (props) => {
|
|
171
|
+
const {
|
|
172
|
+
children,
|
|
173
|
+
skeletonWidth = "100%",
|
|
174
|
+
...other
|
|
175
|
+
} = props;
|
|
176
|
+
const isSkeleton = useModuleSkeleton();
|
|
177
|
+
const ownerState = {
|
|
178
|
+
size: other.size,
|
|
179
|
+
variant: other.variant,
|
|
180
|
+
isDisabled: other.disabled
|
|
181
|
+
};
|
|
182
|
+
const classes = useUtilityClasses(ownerState);
|
|
183
|
+
return /* @__PURE__ */ jsx(LoadingButtonRoot, {
|
|
184
|
+
className: classes.root,
|
|
185
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
186
|
+
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
187
|
+
} : {},
|
|
188
|
+
children: !isSkeleton ? /* @__PURE__ */ jsx(LoadingButton$1, {
|
|
189
|
+
...other,
|
|
190
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
191
|
+
variant: "action",
|
|
192
|
+
children
|
|
193
|
+
})
|
|
194
|
+
}) : /* @__PURE__ */ jsx(Skeleton, {
|
|
195
|
+
className: classes.skeleton,
|
|
196
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
197
|
+
[TEST_PROP_ID]: getNameDataTestId("skeleton")
|
|
198
|
+
} : {},
|
|
199
|
+
variant: "rectangular",
|
|
200
|
+
width: skeletonWidth
|
|
201
|
+
})
|
|
202
|
+
});
|
|
203
|
+
};
|
|
204
|
+
export {
|
|
205
|
+
Button as B,
|
|
206
|
+
ImageButton as I,
|
|
207
|
+
LoadingButton as L
|
|
208
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ButtonRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const SKTButton: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
animation?: false | "pulse" | "wave" | undefined;
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
classes?: Partial<import("@mui/material").SkeletonClasses> | undefined;
|
|
7
|
+
height?: string | number | undefined;
|
|
8
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
9
|
+
variant?: "text" | "rectangular" | "rounded" | "circular" | undefined;
|
|
10
|
+
width?: string | number | undefined;
|
|
11
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
13
|
+
}, "children" | "width" | "height" | keyof import("@mui/material/OverridableComponent").CommonProps | "animation" | "sx" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '@mui/material';
|
|
2
|
-
export
|
|
2
|
+
export interface ExtendButtonProps extends Omit<ButtonProps, 'size'> {
|
|
3
|
+
size?: 'small' | 'medium';
|
|
4
|
+
}
|
|
5
|
+
export interface OwnerState extends Pick<ExtendButtonProps, 'size' | 'variant'> {
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
|
|
2
1
|
import { IconButtonProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* Provee un botón con un icono para que los clientes ejecuten acciones en la plataforma web. Aporta su versión provisional de carga en red.
|
|
5
4
|
* @param props
|
|
6
5
|
* @returns
|
|
7
6
|
*/
|
|
8
|
-
export declare const IconButton: (props: IconButtonProps
|
|
7
|
+
export declare const IconButton: (props: IconButtonProps) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IconButtonClassesType } from './types';
|
|
2
|
+
import { OwnerState } from '../types';
|
|
2
3
|
export declare const IconButtonClasses: IconButtonClassesType;
|
|
3
4
|
export declare function getIconButtonUtilityClass(slot: string): string;
|
|
4
|
-
export declare const useUtilityClasses: () => {
|
|
5
|
+
export declare const useUtilityClasses: (ownerState: OwnerState) => {
|
|
5
6
|
root: string;
|
|
6
7
|
skeleton: string;
|
|
7
8
|
};
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
export interface IconButtonClassesType {
|
|
2
2
|
root: string;
|
|
3
3
|
skeleton: string;
|
|
4
|
+
sizeExtraSmall: string;
|
|
5
|
+
sizemSall: string;
|
|
6
|
+
sizeMedium: string;
|
|
7
|
+
variantPrimary: string;
|
|
8
|
+
variantSecondary: string;
|
|
9
|
+
variantLine: string;
|
|
10
|
+
isFocus: string;
|
|
11
|
+
isDisabled: string;
|
|
4
12
|
}
|
|
5
13
|
export declare type IconButtonClassesKey = keyof IconButtonClassesType;
|