@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
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
import { AreaWindowAction } from '../../../../../../../../types';
|
|
1
|
+
import { AreaWindowAction, WindowOptions } from '../../../../../../../../types';
|
|
2
2
|
export declare function getMainActions(isDesktop: boolean | undefined, moduleActions: AreaWindowAction[]): AreaWindowAction[];
|
|
3
|
-
|
|
3
|
+
declare type GetMenuActionsType = {
|
|
4
|
+
windowId: string;
|
|
5
|
+
isDesktop?: boolean;
|
|
6
|
+
moduleActions: AreaWindowAction[];
|
|
7
|
+
urlPrefix: string;
|
|
8
|
+
saveModuleCookies: (wd: string) => void;
|
|
9
|
+
resetModuleCookies: (wd: string) => void;
|
|
10
|
+
version?: string;
|
|
11
|
+
windowOptions?: WindowOptions;
|
|
12
|
+
};
|
|
13
|
+
export declare function getMenuActions(options: GetMenuActionsType): AreaWindowAction[];
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NetworkProps } from '@m4l/core';
|
|
2
|
+
export declare type EventType = 'progress' | 'complete' | 'error';
|
|
3
|
+
export declare type ObservableHandler = (event: EventType, progress: number) => void;
|
|
4
|
+
export declare type NetworkOperation = (props: NetworkProps) => Promise<any>;
|
|
5
|
+
export declare class ObservableLoaderMF {
|
|
6
|
+
private host;
|
|
7
|
+
private isRemote;
|
|
8
|
+
private eventStatus;
|
|
9
|
+
private scriptId;
|
|
10
|
+
private networkOperation;
|
|
11
|
+
private subscribers;
|
|
12
|
+
constructor(host: string, scriptId: string, networkOperation: NetworkOperation, isRemote: boolean);
|
|
13
|
+
tryAgain(): void;
|
|
14
|
+
start(): Promise<void>;
|
|
15
|
+
subscribe(subscriber: ObservableHandler): void;
|
|
16
|
+
unsubscribe(subscriber: ObservableHandler): void;
|
|
17
|
+
notify(newEvent: EventType, progress: number): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import "@m4l/core";
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../../Icon/index.9dae8337.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "../../mui_extended/IconButton/index.1a9d4fa5.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "zustand";
|
|
10
|
+
import "../contexts/AreasContext/index.f0397b7c.js";
|
|
11
|
+
import "./AreasAdmin/index.946eebb9.js";
|
|
12
|
+
import "zustand/shallow";
|
|
13
|
+
import "../../ScrollBar/index.bbe48f4d.js";
|
|
14
|
+
import "../../mui_extended/Accordion/index.3faafd8b.js";
|
|
15
|
+
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
|
+
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
|
+
import "react-router-dom";
|
|
18
|
+
import "@mui/material/Button";
|
|
19
|
+
import "../../mui_extended/Button/index.fdb5dcbd.js";
|
|
20
|
+
import "../../Image/index.c18ebf5a.js";
|
|
21
|
+
import "@mui/lab";
|
|
22
|
+
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
+
import "../../mui_extended/MenuActions/index.ba1da3b3.js";
|
|
24
|
+
import "../../mui_extended/Pager/index.67bda2c5.js";
|
|
25
|
+
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
26
|
+
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
+
import "./AreasViewer/index.bf4191ea.js";
|
|
28
|
+
import "../../LinearProgressIndeterminate/index.d34d398f.js";
|
|
@@ -5,10 +5,10 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses, a as areasViewerClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses, a as areasViewerClasses } from "../../components/AreasViewer/index.bf4191ea.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.946eebb9.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
|
-
import { g as getAreasDictionary } from "../../dictionary.
|
|
11
|
+
import { g as getAreasDictionary } from "../../dictionary.3fabae50.js";
|
|
12
12
|
import { debounce, cloneDeep } from "lodash";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
const ROW_HEIGTH_GRIDLAYOUT = 20;
|
|
@@ -415,6 +415,121 @@ const createAreasStore = (initProps) => {
|
|
|
415
415
|
);
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
|
+
closeWindowLayout: (areaId, removeLayoutId) => {
|
|
419
|
+
for (const popupId in get().hashAreas[areaId].hashWindowsPopups) {
|
|
420
|
+
const popup = get().hashAreas[areaId].hashWindowsPopups[popupId];
|
|
421
|
+
if (popup.parentLayoutId === removeLayoutId) {
|
|
422
|
+
get().areaActions.closeWindowPopUp(areaId, popup.windowId);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
set((state) => {
|
|
426
|
+
const area = state.hashAreas[areaId];
|
|
427
|
+
if (!area) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
const removeIndex = area.windowsLayouts.findIndex(
|
|
431
|
+
(gl) => gl.i === removeLayoutId
|
|
432
|
+
);
|
|
433
|
+
if (removeIndex > -1) {
|
|
434
|
+
area.windowsLayouts.splice(removeIndex, 1);
|
|
435
|
+
}
|
|
436
|
+
deleteLayoutFromBreakPoints(area, removeLayoutId);
|
|
437
|
+
delete state.hashWindows[removeLayoutId];
|
|
438
|
+
delete area.hashWindowsLayouts[removeLayoutId];
|
|
439
|
+
});
|
|
440
|
+
get().areaActions.saveLayouts(areaId);
|
|
441
|
+
if (get().hashAreas[areaId].singleId === removeLayoutId) {
|
|
442
|
+
get().areaActions.maximizeLayout(areaId);
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
addWindowLayout: (areaId, windowId, newWindow) => {
|
|
446
|
+
const newLayout = {
|
|
447
|
+
...newWindow.layoutProps,
|
|
448
|
+
i: windowId,
|
|
449
|
+
isDraggable: true,
|
|
450
|
+
isResizable: true,
|
|
451
|
+
winType: newWindow.winType
|
|
452
|
+
};
|
|
453
|
+
set((state) => {
|
|
454
|
+
const area = state.hashAreas[areaId];
|
|
455
|
+
if (!area) {
|
|
456
|
+
return;
|
|
457
|
+
}
|
|
458
|
+
const dynamicMFStore = createDynamicMFStore({
|
|
459
|
+
dynamicMFParameters: newWindow.dynamicParams,
|
|
460
|
+
windowId
|
|
461
|
+
});
|
|
462
|
+
area.windowsLayouts.push(newLayout);
|
|
463
|
+
area.hashWindowsLayouts[windowId] = {
|
|
464
|
+
...newWindow,
|
|
465
|
+
areaId,
|
|
466
|
+
windowId,
|
|
467
|
+
emergeType: "layout",
|
|
468
|
+
onClose: (removeLayoutId) => {
|
|
469
|
+
get().areaActions.closeWindowLayout(areaId, removeLayoutId);
|
|
470
|
+
},
|
|
471
|
+
...DEFAULT_WINDOW,
|
|
472
|
+
dynamicMFStore
|
|
473
|
+
};
|
|
474
|
+
state.hashWindows[windowId] = area.hashWindowsLayouts[windowId];
|
|
475
|
+
setAddBreakPoints(area, newLayout);
|
|
476
|
+
});
|
|
477
|
+
get().areaActions.selectWindowLayout(areaId, windowId);
|
|
478
|
+
if (get().hashAreas[areaId].viewMode === "single" || newWindow?.openType === "maximized") {
|
|
479
|
+
get().areaActions.maximizeLayout(areaId, windowId);
|
|
480
|
+
}
|
|
481
|
+
get().areaActions.saveLayouts(areaId);
|
|
482
|
+
get().areaActions.bouncedSaveBreakpointsLayouts(areaId);
|
|
483
|
+
},
|
|
484
|
+
saveLayouts: (areaId) => {
|
|
485
|
+
let nrKeys = 0;
|
|
486
|
+
const area = get().hashAreas[areaId];
|
|
487
|
+
if (!area) {
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
const saveObjetc = {};
|
|
491
|
+
for (const key in area.hashWindowsLayouts) {
|
|
492
|
+
const element = area.hashWindowsLayouts[key];
|
|
493
|
+
if (element.winType === "microfrontend") {
|
|
494
|
+
const hasPropsToSave = {
|
|
495
|
+
winType: true,
|
|
496
|
+
emergeType: true,
|
|
497
|
+
title: true,
|
|
498
|
+
url_icon: true,
|
|
499
|
+
windowOptions: true,
|
|
500
|
+
layoutProps: true,
|
|
501
|
+
moduleId: true,
|
|
502
|
+
windowId: true,
|
|
503
|
+
mfProps: true
|
|
504
|
+
};
|
|
505
|
+
const newElement = {};
|
|
506
|
+
for (const keyToSave in hasPropsToSave) {
|
|
507
|
+
newElement[keyToSave] = element[keyToSave];
|
|
508
|
+
}
|
|
509
|
+
saveObjetc[key] = newElement;
|
|
510
|
+
nrKeys++;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
if (nrKeys > 0) {
|
|
514
|
+
get().networkOperation({
|
|
515
|
+
method: "PUT",
|
|
516
|
+
endPoint: `cookies/${area.id}/${COOKIE_WINDOWS}`,
|
|
517
|
+
data: {
|
|
518
|
+
value: JSON.stringify(saveObjetc)
|
|
519
|
+
},
|
|
520
|
+
toastSuccess: false,
|
|
521
|
+
toastError: false
|
|
522
|
+
});
|
|
523
|
+
} else {
|
|
524
|
+
get().networkOperation({
|
|
525
|
+
method: "DELETE",
|
|
526
|
+
endPoint: `cookies`,
|
|
527
|
+
data: { f: [{ n: "container_id", o: "c", o1: area.id }] },
|
|
528
|
+
toastSuccess: false,
|
|
529
|
+
toastError: false
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
},
|
|
418
533
|
closeWindowModal: (removeModalId) => {
|
|
419
534
|
set((state) => {
|
|
420
535
|
const removeIndex = state.windowsModals.findIndex(
|
|
@@ -528,103 +643,6 @@ const createAreasStore = (initProps) => {
|
|
|
528
643
|
});
|
|
529
644
|
get().areaActions.selectWindowPopUp(areaId, popUpId);
|
|
530
645
|
},
|
|
531
|
-
closeWindowLayout: (areaId, removeLayoutId) => {
|
|
532
|
-
set((state) => {
|
|
533
|
-
const area = state.hashAreas[areaId];
|
|
534
|
-
if (!area) {
|
|
535
|
-
return;
|
|
536
|
-
}
|
|
537
|
-
const removeIndex = area.windowsLayouts.findIndex(
|
|
538
|
-
(gl) => gl.i === removeLayoutId
|
|
539
|
-
);
|
|
540
|
-
if (removeIndex > -1) {
|
|
541
|
-
area.windowsLayouts.splice(removeIndex, 1);
|
|
542
|
-
}
|
|
543
|
-
deleteLayoutFromBreakPoints(area, removeLayoutId);
|
|
544
|
-
delete state.hashWindows[removeLayoutId];
|
|
545
|
-
delete area.hashWindowsLayouts[removeLayoutId];
|
|
546
|
-
});
|
|
547
|
-
get().areaActions.saveLayouts(areaId);
|
|
548
|
-
if (get().hashAreas[areaId].singleId === removeLayoutId) {
|
|
549
|
-
get().areaActions.maximizeLayout(areaId);
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
addWindowLayout: (areaId, windowId, newWindow) => {
|
|
553
|
-
const newLayout = {
|
|
554
|
-
...newWindow.layoutProps,
|
|
555
|
-
i: windowId,
|
|
556
|
-
isDraggable: true,
|
|
557
|
-
isResizable: true,
|
|
558
|
-
winType: newWindow.winType
|
|
559
|
-
};
|
|
560
|
-
set((state) => {
|
|
561
|
-
const area = state.hashAreas[areaId];
|
|
562
|
-
if (!area) {
|
|
563
|
-
return;
|
|
564
|
-
}
|
|
565
|
-
const dynamicMFStore = createDynamicMFStore({
|
|
566
|
-
dynamicMFParameters: newWindow.dynamicParams,
|
|
567
|
-
windowId
|
|
568
|
-
});
|
|
569
|
-
area.windowsLayouts.push(newLayout);
|
|
570
|
-
area.hashWindowsLayouts[windowId] = {
|
|
571
|
-
...newWindow,
|
|
572
|
-
areaId,
|
|
573
|
-
windowId,
|
|
574
|
-
emergeType: "layout",
|
|
575
|
-
onClose: (removeLayoutId) => {
|
|
576
|
-
get().areaActions.closeWindowLayout(areaId, removeLayoutId);
|
|
577
|
-
},
|
|
578
|
-
...DEFAULT_WINDOW,
|
|
579
|
-
dynamicMFStore
|
|
580
|
-
};
|
|
581
|
-
state.hashWindows[windowId] = area.hashWindowsLayouts[windowId];
|
|
582
|
-
setAddBreakPoints(area, newLayout);
|
|
583
|
-
});
|
|
584
|
-
get().areaActions.selectWindowLayout(areaId, windowId);
|
|
585
|
-
if (get().hashAreas[areaId].viewMode === "single" || newWindow?.openType === "maximized") {
|
|
586
|
-
get().areaActions.maximizeLayout(areaId, windowId);
|
|
587
|
-
}
|
|
588
|
-
get().areaActions.saveLayouts(areaId);
|
|
589
|
-
get().areaActions.bouncedSaveBreakpointsLayouts(areaId);
|
|
590
|
-
},
|
|
591
|
-
saveLayouts: (areaId) => {
|
|
592
|
-
let nrKeys = 0;
|
|
593
|
-
const area = get().hashAreas[areaId];
|
|
594
|
-
if (!area) {
|
|
595
|
-
return;
|
|
596
|
-
}
|
|
597
|
-
const saveObjetc = {};
|
|
598
|
-
for (const key in area.hashWindowsLayouts) {
|
|
599
|
-
const element = area.hashWindowsLayouts[key];
|
|
600
|
-
if (element.winType === "microfrontend") {
|
|
601
|
-
const newElement = { ...element };
|
|
602
|
-
delete newElement.onClose;
|
|
603
|
-
delete newElement.devCookies;
|
|
604
|
-
saveObjetc[key] = newElement;
|
|
605
|
-
nrKeys++;
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
if (nrKeys > 0) {
|
|
609
|
-
get().networkOperation({
|
|
610
|
-
method: "PUT",
|
|
611
|
-
endPoint: `cookies/${area.id}/${COOKIE_WINDOWS}`,
|
|
612
|
-
data: {
|
|
613
|
-
value: JSON.stringify(saveObjetc)
|
|
614
|
-
},
|
|
615
|
-
toastSuccess: false,
|
|
616
|
-
toastError: false
|
|
617
|
-
});
|
|
618
|
-
} else {
|
|
619
|
-
get().networkOperation({
|
|
620
|
-
method: "DELETE",
|
|
621
|
-
endPoint: `cookies`,
|
|
622
|
-
data: { f: [{ n: "container_id", o: "c", o1: area.id }] },
|
|
623
|
-
toastSuccess: false,
|
|
624
|
-
toastError: false
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
646
|
bouncedSaveBreakpointsLayouts: debounce(
|
|
629
647
|
(areaId) => {
|
|
630
648
|
const purgedLayouts = {
|
|
@@ -870,10 +888,17 @@ const createAreasStore = (initProps) => {
|
|
|
870
888
|
}
|
|
871
889
|
}
|
|
872
890
|
},
|
|
873
|
-
|
|
891
|
+
startProgress: (windowId) => {
|
|
892
|
+
set((state) => {
|
|
893
|
+
if (state.hashWindows[windowId]) {
|
|
894
|
+
state.hashWindows[windowId].loading = true;
|
|
895
|
+
}
|
|
896
|
+
});
|
|
897
|
+
},
|
|
898
|
+
stopProgress: (windowId) => {
|
|
874
899
|
set((state) => {
|
|
875
900
|
if (state.hashWindows[windowId]) {
|
|
876
|
-
state.hashWindows[windowId].loading =
|
|
901
|
+
state.hashWindows[windowId].loading = false;
|
|
877
902
|
}
|
|
878
903
|
});
|
|
879
904
|
},
|
|
@@ -957,7 +982,7 @@ const createAreasStore = (initProps) => {
|
|
|
957
982
|
});
|
|
958
983
|
}
|
|
959
984
|
},
|
|
960
|
-
|
|
985
|
+
toast: (windowId, options) => {
|
|
961
986
|
const hW = get().hashWindows[windowId];
|
|
962
987
|
if (hW) {
|
|
963
988
|
if (options.replaceMeId) {
|
|
@@ -1009,12 +1034,12 @@ const createAreasStore = (initProps) => {
|
|
|
1009
1034
|
});
|
|
1010
1035
|
}
|
|
1011
1036
|
},
|
|
1012
|
-
|
|
1037
|
+
closeToast: (windowId, toastyId) => {
|
|
1013
1038
|
set((state) => {
|
|
1014
1039
|
verifyRemoveToasty(state.hashWindows[windowId], toastyId, true);
|
|
1015
1040
|
});
|
|
1016
1041
|
},
|
|
1017
|
-
|
|
1042
|
+
pinToast: (windowId, toastyId) => {
|
|
1018
1043
|
set((state) => {
|
|
1019
1044
|
const t = state.hashWindows[windowId].hashToasties[toastyId];
|
|
1020
1045
|
if (t) {
|
|
@@ -185,13 +185,14 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
185
185
|
getCookies: (windowId: string, type: CookieType) => Record<string, any>;
|
|
186
186
|
setCookie: (windowId: string, id: string, type: CookieType, cookie: Record<string, any>) => void;
|
|
187
187
|
close: (windowId: string) => void;
|
|
188
|
-
|
|
188
|
+
startProgress: (windowId: string) => void;
|
|
189
|
+
stopProgress: (windowId: string) => void;
|
|
189
190
|
loadCookiesFromApi: (windowId: string) => void;
|
|
190
191
|
saveModuleCookies: (windowId: string) => void;
|
|
191
192
|
resetModuleCookies: (windowId: string) => void;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
toast: (windowId: string, options: ToastyOptions) => void;
|
|
194
|
+
closeToast: (windowId: string, toastyId: number) => void;
|
|
195
|
+
pinToast: (windowId: string, toastyId: number) => void;
|
|
195
196
|
};
|
|
196
197
|
}
|
|
197
198
|
export declare type DefaultAreasStoreProps = Omit<AreasState, 'currentArea'>;
|
|
@@ -6,8 +6,9 @@ export interface WindowToolsMF {
|
|
|
6
6
|
getCookies: (type: CookieType) => Record<string, any>;
|
|
7
7
|
setActions: (newActions: AreaWindowAction[], version?: string) => void;
|
|
8
8
|
setCookie: (id: string, type: CookieType, cookie: Record<string, any>) => void;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
startProgress: () => void;
|
|
10
|
+
stopProgress: () => void;
|
|
11
|
+
toast: (options: ToastyOptions) => void;
|
|
11
12
|
close: () => void;
|
|
12
13
|
}
|
|
13
14
|
export interface WindowToolsMFProviderProps extends WindowToolsMF {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.f0397b7c.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -8,7 +8,12 @@ const DICCTIONARY = {
|
|
|
8
8
|
label_persist_module_cookies: "label_persist_module_cookies",
|
|
9
9
|
label_reset_module_cookies: "label_reset_module_cookies",
|
|
10
10
|
validation_edit_area: "validation_edit_area",
|
|
11
|
-
label_edit_area: "label_edit_area"
|
|
11
|
+
label_edit_area: "label_edit_area",
|
|
12
|
+
label_delete_area: "label_delete_area",
|
|
13
|
+
area_error_title: "area_error_title",
|
|
14
|
+
area_error_description: "area_error_description",
|
|
15
|
+
area_error_recommendation: "area_error_recommendation",
|
|
16
|
+
area_error_intro: "area_error_intro"
|
|
12
17
|
};
|
|
13
18
|
const getAreasDictionary = (key) => {
|
|
14
19
|
return `${AREAS_DICTIONARY_ID}.${key}`;
|
|
@@ -7,6 +7,11 @@ export declare const DICCTIONARY: {
|
|
|
7
7
|
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
8
8
|
readonly validation_edit_area: "validation_edit_area";
|
|
9
9
|
readonly label_edit_area: "label_edit_area";
|
|
10
|
+
readonly label_delete_area: "label_delete_area";
|
|
11
|
+
readonly area_error_title: "area_error_title";
|
|
12
|
+
readonly area_error_description: "area_error_description";
|
|
13
|
+
readonly area_error_recommendation: "area_error_recommendation";
|
|
14
|
+
readonly area_error_intro: "area_error_intro";
|
|
10
15
|
};
|
|
11
16
|
export declare type TypeDictionary = typeof DICCTIONARY;
|
|
12
17
|
export declare const getAreasDictionary: (key: keyof TypeDictionary) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.f0397b7c.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -7,10 +7,13 @@ const ICONS = {
|
|
|
7
7
|
DELETE_AREA: "delete_area.svg",
|
|
8
8
|
ADD_AREA: "add_area.svg",
|
|
9
9
|
LAYERS: "layers.svg",
|
|
10
|
+
NAVIGATE_ERROR: "navegate_error.svg",
|
|
10
11
|
EDIT_AREA: "edit.svg",
|
|
11
12
|
CHECK: "checkmarkInCircle.svg",
|
|
12
13
|
RESIZE: "controlSize.svg",
|
|
13
14
|
VERSION: "version.svg",
|
|
15
|
+
SHOW_OPTIONS: "showMoreVertical.svg",
|
|
16
|
+
CHEVRON_DOWN: "chevronDown.svg",
|
|
14
17
|
TOASTY_CLOSE: "close.svg",
|
|
15
18
|
TOASTY_PIN: "pin.svg"
|
|
16
19
|
};
|
|
@@ -7,10 +7,13 @@ export declare const ICONS: {
|
|
|
7
7
|
DELETE_AREA: string;
|
|
8
8
|
ADD_AREA: string;
|
|
9
9
|
LAYERS: string;
|
|
10
|
+
NAVIGATE_ERROR: string;
|
|
10
11
|
EDIT_AREA: string;
|
|
11
12
|
CHECK: string;
|
|
12
13
|
RESIZE: string;
|
|
13
14
|
VERSION: string;
|
|
15
|
+
SHOW_OPTIONS: string;
|
|
16
|
+
CHEVRON_DOWN: string;
|
|
14
17
|
TOASTY_CLOSE: string;
|
|
15
18
|
TOASTY_PIN: string;
|
|
16
19
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import "@m4l/core";
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../Icon/index.9dae8337.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "../mui_extended/IconButton/index.1a9d4fa5.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "zustand";
|
|
10
|
+
import "./contexts/AreasContext/index.f0397b7c.js";
|
|
11
|
+
import "./components/AreasAdmin/index.946eebb9.js";
|
|
12
|
+
import "zustand/shallow";
|
|
13
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
14
|
+
import "../mui_extended/Accordion/index.3faafd8b.js";
|
|
15
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
16
|
+
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
|
+
import "react-router-dom";
|
|
18
|
+
import "@mui/material/Button";
|
|
19
|
+
import "../mui_extended/Button/index.fdb5dcbd.js";
|
|
20
|
+
import "../Image/index.c18ebf5a.js";
|
|
21
|
+
import "@mui/lab";
|
|
22
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
+
import "../mui_extended/MenuActions/index.ba1da3b3.js";
|
|
24
|
+
import "../mui_extended/Pager/index.67bda2c5.js";
|
|
25
|
+
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
26
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
+
import "./components/AreasViewer/index.bf4191ea.js";
|
|
28
|
+
import "../LinearProgressIndeterminate/index.d34d398f.js";
|
|
29
|
+
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
30
|
+
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -50,6 +50,9 @@ export declare type WindowState = {
|
|
|
50
50
|
hashToasties: Record<number, Toasty>;
|
|
51
51
|
toastyCount: number;
|
|
52
52
|
};
|
|
53
|
+
export declare type WindowOptions = {
|
|
54
|
+
allowPersistCookies: boolean;
|
|
55
|
+
};
|
|
53
56
|
export interface WindowBaseProps {
|
|
54
57
|
winType: WinType;
|
|
55
58
|
emergeType: EmergeType;
|
|
@@ -62,6 +65,7 @@ export interface WindowBaseProps {
|
|
|
62
65
|
title: string;
|
|
63
66
|
onClose?: (windowId: string) => void;
|
|
64
67
|
devCookies?: Cookies;
|
|
68
|
+
windowOptions?: WindowOptions;
|
|
65
69
|
}
|
|
66
70
|
export interface LayoutBaseProps extends WindowBaseProps {
|
|
67
71
|
emergeType: 'layout';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.9dae8337.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,11 +2,11 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.9dae8337.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.431dc923.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../../Image/index.
|
|
4
|
+
import { I as Image } from "../../Image/index.c18ebf5a.js";
|
|
5
5
|
import { useMemo, useState, useEffect } from "react";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.9864f773.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
12
11
|
import "clsx";
|
|
13
|
-
import "
|
|
14
|
-
import "../../
|
|
12
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
+
import "../../Icon/index.9dae8337.js";
|
|
14
|
+
import "../../mui_extended/IconButton/index.1a9d4fa5.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
17
|
-
import "../../mui_extended/Avatar/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.3faafd8b.js";
|
|
17
|
+
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
|
-
import "../../mui_extended/Button/index.
|
|
20
|
+
import "../../mui_extended/Button/index.fdb5dcbd.js";
|
|
21
21
|
import "@mui/lab";
|
|
22
22
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
-
import "../../mui_extended/Pager/index.
|
|
25
|
-
import "../../mui_extended/Tab/index.
|
|
23
|
+
import "../../mui_extended/MenuActions/index.ba1da3b3.js";
|
|
24
|
+
import "../../mui_extended/Pager/index.67bda2c5.js";
|
|
25
|
+
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
26
|
+
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
27
|
const AutocompleteRoot = styled("div")(({
|
|
27
28
|
theme
|
|
28
29
|
}) => ({
|
|
@@ -4,8 +4,8 @@ import debounce from "lodash/debounce";
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.a063dc44.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|