@m4l/components 0.1.75 → 0.1.77
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 +97 -1
- package/components/AccountPopover/classes/index.d.ts +5 -0
- package/components/AccountPopover/classes/types.d.ts +5 -0
- package/components/AccountPopover/{index.93aefccd.js → index.3a79c395.js} +151 -142
- package/components/AccountPopover/subcomponents/MyAvatar/createAvatar.d.ts +1 -1
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +0 -4
- package/components/AppBar/classes/index.d.ts +1 -0
- package/components/AppBar/classes/types.d.ts +1 -0
- package/components/AppBar/{index.cc974d56.js → index.71b38ee9.js} +25 -15
- package/components/CommonActions/components/ActionCancel/{index.574ea031.js → index.b748a38e.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.e62db5d3.js → index.27ad09e1.js} +25 -22
- package/components/CommonActions/components/ActionFormIntro/{index.304da410.js → index.2556f054.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.d635cbc4.js → index.a7d92e66.js} +2 -2
- package/components/CommonActions/components/Actions/{index.37ffde59.js → index.3eba9d91.js} +20 -20
- package/components/DataGrid/{index.c0c626cd.js → index.545b492f.js} +50 -30
- package/components/DataGrid/types.d.ts +5 -1
- package/components/DraggableWindow/{index.b95a678e.js → index.c702d3f2.js} +1 -1
- package/components/DynamicFilter/{index.3034c6ba.js → index.d7be0f37.js} +46 -39
- package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +2 -1
- package/components/DynamicFilter/subcomponents/InnerForHooks/types.d.ts +2 -0
- package/components/DynamicFilter/tests/contants.d.ts +1 -1
- package/components/DynamicFilter/types.d.ts +4 -0
- package/components/GridLayout/GridLayout.d.ts +6 -0
- package/components/GridLayout/Responsive/index.a12a8cec.js +335 -0
- package/components/GridLayout/WidthProvider/index.8ff65909.js +67 -0
- package/components/GridLayout/calculateUtils.d.ts +42 -0
- package/components/GridLayout/index.4ba3767a.js +1400 -0
- package/components/GridLayout/index.d.ts +6 -0
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +25 -0
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +76 -0
- package/components/GridLayout/subcomponents/Responsive/index.d.ts +3 -0
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +61 -0
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +71 -0
- package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +16 -0
- package/components/GridLayout/types.d.ts +355 -0
- package/components/GridLayout/utils.d.ts +123 -0
- package/components/HelperText/{index.ec9b3e6a.js → index.ef31df1f.js} +12 -10
- package/components/Icon/{index.f9119f5e.js → index.ecb63e65.js} +1 -1
- package/components/Image/{index.8aae9322.js → index.c18ebf5a.js} +6 -7
- package/components/Image/types.d.ts +1 -4
- package/components/LanguagePopover/{index.491e1306.js → index.0023d069.js} +12 -10
- 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.60dabc06.js +43 -0
- package/components/LinearProgressIndeterminate/index.d.ts +1 -0
- package/components/LinearProgressIndeterminate/tests/constants.d.ts +1 -0
- package/components/LinearProgressIndeterminate/tests/utils.d.ts +2 -0
- package/components/ModalDialog/{index.f652ea12.js → index.d880e685.js} +21 -60
- package/components/NavLink/{index.f8aee9f4.js → index.cd92eceb.js} +12 -10
- package/components/NoItemSelected/{index.cce86db4.js → index.23dfc897.js} +1 -1
- package/components/ObjectLogs/{index.c31b3f8b.js → index.f174c542.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.d79c6f76.js → index.1bd86ee5.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.711db043.js +321 -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.41a8048b.js → index.9a9c79a4.js} +1 -1
- package/components/SideBar/{index.1ae13a73.js → index.c5ce0bad.js} +6 -6
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +6 -0
- package/components/areas/components/AreasAdmin/index.cc4cbf56.js +463 -0
- 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/AreaChip/types.d.ts +0 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +3 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +15 -0
- package/components/areas/components/AreasViewer/{index.621c0de4.js → index.9c2aaaeb.js} +611 -541
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +2 -2
- 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/Header/index.d.ts +1 -7
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/types.d.ts +6 -0
- 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/Area/subcomponents/Window/types.d.ts +1 -1
- 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.0f7ac464.js +29 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +6 -16
- package/components/areas/contexts/AreasContext/{index.d98b89fc.js → index.c8147e8e.js} +282 -352
- package/components/areas/contexts/AreasContext/types.d.ts +28 -24
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
- package/components/areas/contexts/{index.79d1912d.js → index.02336412.js} +1 -1
- package/components/areas/{dictionary.e72db809.js → dictionary.afb7e3d9.js} +10 -2
- package/components/areas/dictionary.d.ts +9 -1
- package/components/areas/hooks/useAreas/{index.a7b597fb.js → index.3406a6cb.js} +1 -1
- package/components/areas/{icons.3ec589d3.js → icons.8266ccc8.js} +8 -1
- package/components/areas/icons.d.ts +7 -0
- package/components/areas/index.6f2e5dab.js +31 -0
- package/components/areas/types.d.ts +34 -22
- package/components/formatters/BooleanFormatter/{index.60aa1c9d.js → index.5268b024.js} +1 -1
- package/components/formatters/{index.1f0efb32.js → index.137169d8.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.af3296ac.js → index.ac2b1fae.js} +13 -11
- package/components/hook-form/RHFAutocompleteAsync/{index.76864056.js → index.8b4ccc8d.js} +1 -1
- package/components/hook-form/RHFCheckbox/classes/types.d.ts +1 -0
- package/components/hook-form/RHFCheckbox/{index.865ba239.js → index.acef119c.js} +20 -13
- 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/{index.fd9c5aca.js → index.5b080342.js} +14 -12
- 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.5304e3bd.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.abcbc2d3.js → index.e751dca7.js} +9 -6
- 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.25db0511.js +261 -0
- package/components/hook-form/RHFUpload/index.d.ts +1 -1
- package/components/index.d.ts +4 -3
- package/components/modal/WindowBase/subcomponents/Header/types.d.ts +4 -1
- package/components/modal/WindowBase/types.d.ts +0 -3
- package/components/modal/WindowBase.850ea31a.js +82 -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.cb37bc58.js +122 -0
- package/components/modal/classes/constants.d.ts +1 -0
- package/components/modal/classes/index.d.ts +19 -0
- package/components/modal/classes/types.d.ts +22 -0
- package/components/modal/index.a0978193.js +84 -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.12b1339a.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.1e1a91a3.js → index.75e6ed57.js} +3 -1
- package/components/mui_extended/Badge/Badge.d.ts +3 -0
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -0
- package/components/mui_extended/Badge/classes/index.d.ts +6 -0
- package/components/mui_extended/Badge/classes/types.d.ts +6 -0
- package/components/mui_extended/Badge/index.8c2b8b66.js +36 -0
- package/components/mui_extended/Badge/index.d.ts +2 -0
- package/components/mui_extended/Badge/tests/constants.d.ts +1 -0
- package/components/mui_extended/Badge/tests/utils.d.ts +2 -0
- package/components/mui_extended/Badge/types.d.ts +4 -0
- package/components/mui_extended/Button/{index.aebbab34.js → index.4288f9fc.js} +10 -5
- package/components/mui_extended/IconButton/{index.3b05af71.js → index.fc5b7c2d.js} +1 -1
- package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.ca5ce35a.js → index.f5b1c022.js} +30 -11
- package/components/mui_extended/MenuActions/types.d.ts +10 -2
- package/components/mui_extended/Pager/{index.80ec975a.js → index.435af0df.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/index.83979b6a.js +22 -0
- package/components/mui_extended/index.d.ts +3 -1
- package/contexts/ModalContext/{index.a0de81f0.js → index.dee85a61.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.26075cdd.js → index.de522a10.js} +1 -1
- package/index.js +138 -119
- package/node_modules.d73a220d.js +363 -0
- package/package.json +4 -3
- package/{react-draggable.e625b0d1.js → react-draggable.7abb5d0a.js} +3 -2
- package/{react-resizable.24367d77.js → react-resizable.ba08699a.js} +13 -12
- package/utils/{index.b61dccbe.js → index.c43a95f4.js} +0 -27
- package/utils/types.d.ts +1 -1
- package/components/AccountPopover/style.d.ts +0 -2
- 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.ff110093.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/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/index.158621e0.js +0 -289
- 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/AreasViewer/subcomponents/Area/subcomponents/WindowPopUp/index.d.ts +0 -4
- package/components/areas/components/index.2ed9d60b.js +0 -14
- package/components/areas/index.d6b8e205.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.77486f61.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.522bcad5.js +0 -283
- package/components/modal/ModalDialog/styles.d.ts +0 -9
- package/components/modal/ModalDialog/types.d.ts +0 -7
- package/components/modal/WindowBase/styles.d.ts +0 -2
- package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -6
- package/components/modal/WindowBase.c223e4da.js +0 -126
- package/components/modal/WindowConfirm/subcomponents/MessageIlustration/styles.d.ts +0 -6
- package/components/modal/WindowConfirm.023e293f.js +0 -132
- package/components/modal/index.dbce0cab.js +0 -36
- package/components/mui_extended/Accordion/components/AccordionLabel.d.ts +0 -3
- package/components/mui_extended/Accordion/index.03bd0e2a.js +0 -107
- package/components/mui_extended/Accordion/styles.d.ts +0 -4
- package/components/mui_extended/Avatar/styles.d.ts +0 -2
- 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.6dcdbb1f.js +0 -20
- package/contexts/RHFormContext/styles.d.ts +0 -2
- /package/components/PaperForm/{index.d.ts → PaperForm.d.ts} +0 -0
- /package/components/PropertyValue/{index.d.ts → PropertyValue.d.ts} +0 -0
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/types.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
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { GetLabelType, NetworkProps } from '@m4l/core';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { CookieType,
|
|
3
|
+
import { CookieType, HashWindowsByModals, ModalStateProps, AreaWindowAction, NewModalProps, NewLayoutMoveableProps, NewWindowProps, ToastyOptions, WinType, WindowStateProps, NewLayoutMagnetizableProps } from '../../types';
|
|
4
4
|
import { ViwerClasses } from '../../components/AreasViewer/classes';
|
|
5
5
|
import { AdminClasses } from '../../components/AreasAdmin/classes';
|
|
6
|
-
import { Layout, Layouts } from 'react-grid-layout';
|
|
7
6
|
import { DebouncedFunc } from 'lodash';
|
|
8
|
-
|
|
7
|
+
import { LayoutItem } from '../../../GridLayout';
|
|
8
|
+
import { Breakpoint, ContainerChangeEvent, LayoutsNotReadonly } from '../../../GridLayout/subcomponents/Responsive/types';
|
|
9
|
+
import { LayoutNotReadOnly } from '../../../GridLayout/types';
|
|
10
|
+
export declare type WinLayoutItem = LayoutItem & {
|
|
9
11
|
winType: WinType;
|
|
10
12
|
};
|
|
11
13
|
export declare type Breakpoints = {
|
|
@@ -22,18 +24,20 @@ export interface Area {
|
|
|
22
24
|
status: AreaStatus;
|
|
23
25
|
zPopUpIndex: number;
|
|
24
26
|
loadWindows: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
/**
|
|
28
|
+
* "containerHeight" Altura del contendor de area, se deja en cada área porque solo llegan en eventos de resize cuando está diferente a display "none"
|
|
29
|
+
*/
|
|
30
|
+
containerHeight?: number;
|
|
31
|
+
currentBreakpoint?: Breakpoint;
|
|
32
|
+
layouts: LayoutsNotReadonly;
|
|
33
|
+
colapsedItems: Record<string, boolean>;
|
|
34
|
+
maximizedId?: string | undefined;
|
|
35
|
+
/** Son los ids de las ventanas, iterar con keys, destruye los componentes en un map */
|
|
36
|
+
hashLayoutItems: string[];
|
|
31
37
|
currentLayoutId: string;
|
|
32
38
|
currentPopUpId: string;
|
|
33
39
|
breakpoints: Breakpoints;
|
|
34
40
|
cols: Cols;
|
|
35
|
-
viewMode: ViewAreaMode;
|
|
36
|
-
singleId?: string;
|
|
37
41
|
}
|
|
38
42
|
/**
|
|
39
43
|
* @description estado de carga de las areaS de trabajo.
|
|
@@ -101,7 +105,7 @@ export interface AreasState {
|
|
|
101
105
|
/**
|
|
102
106
|
* "areas" Areas de trabajo
|
|
103
107
|
*/
|
|
104
|
-
areas:
|
|
108
|
+
areas: string[];
|
|
105
109
|
/**
|
|
106
110
|
* "hashAreas" Areas de trabajo
|
|
107
111
|
*/
|
|
@@ -165,17 +169,16 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
165
169
|
addWindow: (newWindow: NewWindowProps) => void;
|
|
166
170
|
closeWindowModal: (removeModalId: string) => void;
|
|
167
171
|
addWindowModal: (areaId: string, windowId: string, newWindowModalProps: NewModalProps) => void;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
closeWindowLayout: (areaId: string, removeLayoutId: string) => void;
|
|
172
|
-
selectWindowLayout: (areaId: string, layoutId: string) => void;
|
|
173
|
-
addWindowLayout: (areaId: string, windowId: string, newWindow: NewLayoutProps) => void;
|
|
172
|
+
closeLayout: (areaId: string, removePopUpId: string) => void;
|
|
173
|
+
selectLayout: (areaId: string, layoutId: string) => void;
|
|
174
|
+
addLayout: (areaId: string, windowId: string, newWindow: NewLayoutMagnetizableProps | NewLayoutMoveableProps) => void;
|
|
174
175
|
saveLayouts: (areaId: string) => void;
|
|
175
|
-
onBreakpointsLayoutsChange: (areaId: string,
|
|
176
|
+
onBreakpointsLayoutsChange: (areaId: string, currentLayout: LayoutNotReadOnly, newAllLayouts: LayoutsNotReadonly) => void;
|
|
177
|
+
onContainerChange: (areaId: string, e: ContainerChangeEvent) => void;
|
|
176
178
|
bouncedSaveBreakpointsLayouts: DebouncedFunc<(areaId: string) => void>;
|
|
179
|
+
colapseLayoutItem: (areaId: string, layoutId: string) => void;
|
|
180
|
+
unColapseLayoutItem: (areaId: string, layoutId: string) => void;
|
|
177
181
|
maximizeLayout: (areaId: string, layoutId?: string) => void;
|
|
178
|
-
resizeMaximixedLayout: (areaId: string) => void;
|
|
179
182
|
normalizeLayouts: (areaId: string) => void;
|
|
180
183
|
loadWindowsFromApi: (areaId: string) => void;
|
|
181
184
|
};
|
|
@@ -185,13 +188,14 @@ export interface AreasStateWithActions extends AreasState {
|
|
|
185
188
|
getCookies: (windowId: string, type: CookieType) => Record<string, any>;
|
|
186
189
|
setCookie: (windowId: string, id: string, type: CookieType, cookie: Record<string, any>) => void;
|
|
187
190
|
close: (windowId: string) => void;
|
|
188
|
-
|
|
191
|
+
startProgress: (windowId: string) => void;
|
|
192
|
+
stopProgress: (windowId: string) => void;
|
|
189
193
|
loadCookiesFromApi: (windowId: string) => void;
|
|
190
194
|
saveModuleCookies: (windowId: string) => void;
|
|
191
195
|
resetModuleCookies: (windowId: string) => void;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
196
|
+
toast: (windowId: string, options: ToastyOptions) => void;
|
|
197
|
+
closeToast: (windowId: string, toastyId: number) => void;
|
|
198
|
+
pinToast: (windowId: string, toastyId: number) => void;
|
|
195
199
|
};
|
|
196
200
|
}
|
|
197
201
|
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.c8147e8e.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -6,9 +6,17 @@ const LABEL_FILTER_BUTTON = "filter_tooltip";
|
|
|
6
6
|
const DICCTIONARY = {
|
|
7
7
|
label_new_area: "label_new_area",
|
|
8
8
|
label_persist_module_cookies: "label_persist_module_cookies",
|
|
9
|
-
label_reset_module_cookies: "label_reset_module_cookies",
|
|
10
9
|
validation_edit_area: "validation_edit_area",
|
|
11
|
-
label_edit_area: "label_edit_area"
|
|
10
|
+
label_edit_area: "label_edit_area",
|
|
11
|
+
label_delete_area: "label_delete_area",
|
|
12
|
+
label_window_colapse: "label_window_colapse",
|
|
13
|
+
label_window_un_colapse: "label_window_un_colapse",
|
|
14
|
+
area_error_title: "area_error_title",
|
|
15
|
+
area_error_description: "area_error_description",
|
|
16
|
+
area_error_recommendation: "area_error_recommendation",
|
|
17
|
+
area_error_intro: "area_error_intro",
|
|
18
|
+
area_add_new: "area_add_new",
|
|
19
|
+
label_reset_module_cookies: "label_reset_module_cookies"
|
|
12
20
|
};
|
|
13
21
|
const getAreasDictionary = (key) => {
|
|
14
22
|
return `${AREAS_DICTIONARY_ID}.${key}`;
|
|
@@ -4,9 +4,17 @@ export declare const LABEL_FILTER_BUTTON = "filter_tooltip";
|
|
|
4
4
|
export declare const DICCTIONARY: {
|
|
5
5
|
readonly label_new_area: "label_new_area";
|
|
6
6
|
readonly label_persist_module_cookies: "label_persist_module_cookies";
|
|
7
|
-
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
8
7
|
readonly validation_edit_area: "validation_edit_area";
|
|
9
8
|
readonly label_edit_area: "label_edit_area";
|
|
9
|
+
readonly label_delete_area: "label_delete_area";
|
|
10
|
+
readonly label_window_colapse: "label_window_colapse";
|
|
11
|
+
readonly label_window_un_colapse: "label_window_un_colapse";
|
|
12
|
+
readonly area_error_title: "area_error_title";
|
|
13
|
+
readonly area_error_description: "area_error_description";
|
|
14
|
+
readonly area_error_recommendation: "area_error_recommendation";
|
|
15
|
+
readonly area_error_intro: "area_error_intro";
|
|
16
|
+
readonly area_add_new: "area_add_new";
|
|
17
|
+
readonly label_reset_module_cookies: "label_reset_module_cookies";
|
|
10
18
|
};
|
|
11
19
|
export declare type TypeDictionary = typeof DICCTIONARY;
|
|
12
20
|
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.c8147e8e.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -2,17 +2,24 @@ const ICONS = {
|
|
|
2
2
|
CLOSE: "close.svg",
|
|
3
3
|
MAXIMIZE: "maximize.svg",
|
|
4
4
|
NORMALIZE: "normalize.svg",
|
|
5
|
+
COLAPSE: "colapse.svg",
|
|
6
|
+
UNCOLPASE: "uncolapse.svg",
|
|
5
7
|
RESET_COOKIES: "reset_cookies.svg",
|
|
6
8
|
SAVE_COOKIES: "save_cookies.svg",
|
|
7
9
|
DELETE_AREA: "delete_area.svg",
|
|
8
10
|
ADD_AREA: "add_area.svg",
|
|
9
11
|
LAYERS: "layers.svg",
|
|
12
|
+
NAVIGATE_ERROR: "navegate_error.svg",
|
|
10
13
|
EDIT_AREA: "edit.svg",
|
|
11
14
|
CHECK: "checkmarkInCircle.svg",
|
|
12
15
|
RESIZE: "controlSize.svg",
|
|
13
16
|
VERSION: "version.svg",
|
|
17
|
+
SHOW_OPTIONS: "showMoreVertical.svg",
|
|
18
|
+
CHEVRON_DOWN: "chevronDown.svg",
|
|
14
19
|
TOASTY_CLOSE: "close.svg",
|
|
15
|
-
TOASTY_PIN: "pin.svg"
|
|
20
|
+
TOASTY_PIN: "pin.svg",
|
|
21
|
+
MODULE: "module.svg",
|
|
22
|
+
POPUP: "popup.svg"
|
|
16
23
|
};
|
|
17
24
|
export {
|
|
18
25
|
ICONS as I
|
|
@@ -2,15 +2,22 @@ export declare const ICONS: {
|
|
|
2
2
|
CLOSE: string;
|
|
3
3
|
MAXIMIZE: string;
|
|
4
4
|
NORMALIZE: string;
|
|
5
|
+
COLAPSE: string;
|
|
6
|
+
UNCOLPASE: string;
|
|
5
7
|
RESET_COOKIES: string;
|
|
6
8
|
SAVE_COOKIES: string;
|
|
7
9
|
DELETE_AREA: string;
|
|
8
10
|
ADD_AREA: string;
|
|
9
11
|
LAYERS: string;
|
|
12
|
+
NAVIGATE_ERROR: string;
|
|
10
13
|
EDIT_AREA: string;
|
|
11
14
|
CHECK: string;
|
|
12
15
|
RESIZE: string;
|
|
13
16
|
VERSION: string;
|
|
17
|
+
SHOW_OPTIONS: string;
|
|
18
|
+
CHEVRON_DOWN: string;
|
|
14
19
|
TOASTY_CLOSE: string;
|
|
15
20
|
TOASTY_PIN: string;
|
|
21
|
+
MODULE: string;
|
|
22
|
+
POPUP: string;
|
|
16
23
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import "@m4l/core";
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../Icon/index.ecb63e65.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "../mui_extended/IconButton/index.fc5b7c2d.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "zustand";
|
|
10
|
+
import "./contexts/AreasContext/index.c8147e8e.js";
|
|
11
|
+
import "./components/AreasAdmin/index.cc4cbf56.js";
|
|
12
|
+
import "zustand/shallow";
|
|
13
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
14
|
+
import "../mui_extended/Accordion/index.12b1339a.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.4288f9fc.js";
|
|
20
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
21
|
+
import "../Image/index.c18ebf5a.js";
|
|
22
|
+
import "@mui/lab";
|
|
23
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
24
|
+
import "../mui_extended/MenuActions/index.f5b1c022.js";
|
|
25
|
+
import "../mui_extended/Pager/index.435af0df.js";
|
|
26
|
+
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
27
|
+
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
28
|
+
import "./components/AreasViewer/index.9c2aaaeb.js";
|
|
29
|
+
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
30
|
+
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
31
|
+
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import type { DynamicMFParameters } from './contexts/DynamicMFParmsContext/types';
|
|
3
|
-
import type { Layout } from 'react-grid-layout';
|
|
4
3
|
import type { DynamicMFStore } from './contexts/DynamicMFParmsContext/store';
|
|
5
4
|
import type { MenuAction } from '../mui_extended';
|
|
5
|
+
import { LayoutItem } from '../GridLayout';
|
|
6
6
|
export declare type WindowActionType = 'main' | 'allways' | 'normal';
|
|
7
7
|
export interface AreaWindowAction extends MenuAction {
|
|
8
8
|
visibility: WindowActionType;
|
|
@@ -40,8 +40,14 @@ export interface ToastyOptions extends Pick<Toasty, 'message' | 'type' | 'replac
|
|
|
40
40
|
timeoutMs?: number;
|
|
41
41
|
}
|
|
42
42
|
export declare type WindowState = {
|
|
43
|
+
/**
|
|
44
|
+
* status Indica el proceso de cargado de la ventana
|
|
45
|
+
*/
|
|
43
46
|
status: WindowStatus;
|
|
44
47
|
dynamicMFStore: DynamicMFStore;
|
|
48
|
+
/**
|
|
49
|
+
* loading indica si la barra de progress aparece o no
|
|
50
|
+
*/
|
|
45
51
|
loading: boolean;
|
|
46
52
|
version?: string;
|
|
47
53
|
moduleActions: AreaWindowAction[];
|
|
@@ -49,6 +55,10 @@ export declare type WindowState = {
|
|
|
49
55
|
toasties: Toasty[];
|
|
50
56
|
hashToasties: Record<number, Toasty>;
|
|
51
57
|
toastyCount: number;
|
|
58
|
+
colapsed?: boolean;
|
|
59
|
+
};
|
|
60
|
+
export declare type WindowOptions = {
|
|
61
|
+
allowPersistCookies: boolean;
|
|
52
62
|
};
|
|
53
63
|
export interface WindowBaseProps {
|
|
54
64
|
winType: WinType;
|
|
@@ -62,51 +72,53 @@ export interface WindowBaseProps {
|
|
|
62
72
|
title: string;
|
|
63
73
|
onClose?: (windowId: string) => void;
|
|
64
74
|
devCookies?: Cookies;
|
|
75
|
+
windowOptions?: WindowOptions;
|
|
76
|
+
parentLayoutId?: string;
|
|
77
|
+
replaceMeId?: string;
|
|
65
78
|
}
|
|
66
|
-
export interface
|
|
79
|
+
export interface LayoutMagnetizableBaseProps extends WindowBaseProps {
|
|
67
80
|
emergeType: 'layout';
|
|
68
|
-
layoutProps: Omit<
|
|
81
|
+
layoutProps: Omit<LayoutItem, 'i'>;
|
|
69
82
|
}
|
|
70
|
-
export interface
|
|
83
|
+
export interface LayoutMagnetizableMFProps extends LayoutMagnetizableBaseProps {
|
|
71
84
|
winType: 'microfrontend';
|
|
72
85
|
mfProps: MFBaseProps;
|
|
73
86
|
}
|
|
74
|
-
export interface
|
|
87
|
+
export interface LayoutMagnetizableComponentProps extends LayoutMagnetizableBaseProps {
|
|
75
88
|
winType: 'component';
|
|
76
89
|
component: JSX_REACT_NODE;
|
|
77
90
|
}
|
|
78
|
-
export declare type
|
|
79
|
-
export declare type
|
|
80
|
-
export declare type
|
|
81
|
-
export interface HashWindowsByLayouts {
|
|
82
|
-
[P: string]: LayoutStateProps;
|
|
83
|
-
}
|
|
91
|
+
export declare type LayoutMagentizableProps = LayoutMagnetizableMFProps | LayoutMagnetizableComponentProps;
|
|
92
|
+
export declare type LayoutMagnetizableStateProps = LayoutMagentizableProps & WindowState;
|
|
93
|
+
export declare type NewLayoutMagnetizableProps = Omit<LayoutMagnetizableMFProps, 'windowId' | 'onClose' | 'areaId'> | Omit<LayoutMagnetizableComponentProps, 'windowId' | 'onClose' | 'areaId'>;
|
|
84
94
|
export declare type Position = {
|
|
85
95
|
x: number;
|
|
86
96
|
y: number;
|
|
87
97
|
width: number;
|
|
88
98
|
height: number;
|
|
89
99
|
};
|
|
90
|
-
export interface
|
|
100
|
+
export interface LayoutMoveableBaseProps extends WindowBaseProps {
|
|
91
101
|
emergeType: 'popup';
|
|
92
|
-
|
|
93
|
-
windowProps: Pick<DOMRect, 'x' | 'y' | 'width' | 'height'>;
|
|
102
|
+
layoutProps: Omit<LayoutItem, 'i'>;
|
|
94
103
|
parentLayoutId: string;
|
|
95
104
|
replaceMeId?: string;
|
|
96
105
|
}
|
|
97
|
-
export interface
|
|
106
|
+
export interface LayoutMoveableMFProps extends LayoutMoveableBaseProps {
|
|
98
107
|
winType: 'microfrontend';
|
|
99
108
|
mfProps: MFBaseProps;
|
|
100
109
|
}
|
|
101
|
-
export interface
|
|
110
|
+
export interface LayoutMoveableComponentProps extends LayoutMoveableBaseProps {
|
|
102
111
|
winType: 'component';
|
|
103
112
|
component: JSX_REACT_NODE;
|
|
104
113
|
}
|
|
105
|
-
export declare type
|
|
106
|
-
export declare type
|
|
107
|
-
export declare type
|
|
114
|
+
export declare type LayoutMoveableProps = LayoutMoveableMFProps | LayoutMoveableComponentProps;
|
|
115
|
+
export declare type LayoutMoveableStateProps = LayoutMoveableProps & WindowState;
|
|
116
|
+
export declare type NewLayoutMoveableProps = Omit<LayoutMoveableMFProps, 'windowId' | 'onClose' | 'areaId'> | Omit<LayoutMoveableComponentProps, 'windowId' | 'onClose' | 'areaId'>;
|
|
108
117
|
export interface HashWindowsByPopups {
|
|
109
|
-
[P: string]:
|
|
118
|
+
[P: string]: LayoutMoveableStateProps;
|
|
119
|
+
}
|
|
120
|
+
export interface HashWindowsByLayouts {
|
|
121
|
+
[P: string]: LayoutMagnetizableStateProps | LayoutMoveableStateProps;
|
|
110
122
|
}
|
|
111
123
|
export interface ModalBaseProps extends WindowBaseProps {
|
|
112
124
|
emergeType: 'modal';
|
|
@@ -127,9 +139,9 @@ export declare type NewModalProps = Omit<ModalMFProps, 'windowId' | 'onClose' |
|
|
|
127
139
|
export interface HashWindowsByModals {
|
|
128
140
|
[P: string]: ModalStateProps;
|
|
129
141
|
}
|
|
130
|
-
export declare type WindowStateProps = (
|
|
142
|
+
export declare type WindowStateProps = (LayoutMagnetizableMFProps & WindowState) | (LayoutMagnetizableComponentProps & WindowState) | (LayoutMoveableMFProps & WindowState) | (LayoutMoveableComponentProps & WindowState) | (ModalMFProps & WindowState) | (ModalComponentProps & WindowState);
|
|
131
143
|
export interface HashWindows {
|
|
132
144
|
[P: string]: WindowStateProps;
|
|
133
145
|
}
|
|
134
|
-
export declare type NewWindowProps =
|
|
146
|
+
export declare type NewWindowProps = NewLayoutMagnetizableProps | NewLayoutMoveableProps | NewModalProps;
|
|
135
147
|
export declare type AddWindow = (newWindow: NewWindowProps) => string;
|
|
@@ -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.ecb63e65.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.ecb63e65.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.5268b024.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -1,28 +1,30 @@
|
|
|
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
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
8
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.ef31df1f.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.ecb63e65.js";
|
|
14
|
+
import "../../mui_extended/IconButton/index.fc5b7c2d.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
17
|
-
import "../../mui_extended/Avatar/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.12b1339a.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.4288f9fc.js";
|
|
21
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
21
22
|
import "@mui/lab";
|
|
22
23
|
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.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.f5b1c022.js";
|
|
25
|
+
import "../../mui_extended/Pager/index.435af0df.js";
|
|
26
|
+
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
27
|
+
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
28
|
const AutocompleteRoot = styled("div")(({
|
|
27
29
|
theme
|
|
28
30
|
}) => ({
|
|
@@ -5,7 +5,7 @@ import { styled } from "@mui/material/styles";
|
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
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.
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.ac2b1fae.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -5,7 +5,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
|
5
5
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { H as HelperText } from "../../HelperText/index.ef31df1f.js";
|
|
9
9
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
10
10
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -22,19 +22,20 @@ const SkeletonRHFCheckBoxRoot = styled("div")(() => ({
|
|
|
22
22
|
width: "100%"
|
|
23
23
|
}));
|
|
24
24
|
const RHFCHEKCBOX_PREFIX = "RHFCheckbox";
|
|
25
|
-
const getNameDataTestId = (KEY) => {
|
|
26
|
-
return `${RHFCHEKCBOX_PREFIX}-${KEY}`;
|
|
25
|
+
const getNameDataTestId = (KEY, NAME) => {
|
|
26
|
+
return `${RHFCHEKCBOX_PREFIX}-${NAME}-${KEY}`;
|
|
27
27
|
};
|
|
28
28
|
const SkeletonRHFCheckBox = (props) => {
|
|
29
29
|
const {
|
|
30
30
|
classes,
|
|
31
|
-
hasLabel
|
|
31
|
+
hasLabel,
|
|
32
|
+
fieldName
|
|
32
33
|
} = props;
|
|
33
34
|
return /* @__PURE__ */ jsxs(SkeletonRHFCheckBoxRoot, {
|
|
34
35
|
children: [/* @__PURE__ */ jsx(WrapperSkeletonCheckBox, {
|
|
35
36
|
className: classes.skeleton,
|
|
36
37
|
...process.env.NODE_ENV !== "production" ? {
|
|
37
|
-
[TEST_PROP_ID]: getNameDataTestId("skeleton")
|
|
38
|
+
[TEST_PROP_ID]: getNameDataTestId("skeleton", fieldName)
|
|
38
39
|
} : {},
|
|
39
40
|
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
40
41
|
variant: "rounded",
|
|
@@ -74,14 +75,15 @@ generateUtilityClasses("M4LRHFCheckbox", [
|
|
|
74
75
|
"skeleton",
|
|
75
76
|
"small",
|
|
76
77
|
"medium",
|
|
77
|
-
"stateDisabled"
|
|
78
|
+
"stateDisabled",
|
|
79
|
+
"stateError"
|
|
78
80
|
]);
|
|
79
81
|
function getRHFCheckboxUtilityClass(slot) {
|
|
80
82
|
return generateUtilityClass("M4LRHFCheckbox", slot);
|
|
81
83
|
}
|
|
82
84
|
const useUtilityClasses = (ownerState) => {
|
|
83
85
|
const slots = {
|
|
84
|
-
root: ["root", ownerState.sizeCheck === "small" && "small", ownerState.sizeCheck === "medium" && "medium", ownerState.disabled && "stateDisabled"],
|
|
86
|
+
root: ["root", ownerState.sizeCheck === "small" && "small", ownerState.sizeCheck === "medium" && "medium", ownerState.disabled && "stateDisabled", ownerState.error && "stateError"],
|
|
85
87
|
skeleton: ["skeleton"],
|
|
86
88
|
checkTypography: ["checkTypography", ownerState.sizeCheck === "small" ? "small" : "medium", ownerState.disabled && "stateDisabled"]
|
|
87
89
|
};
|
|
@@ -97,19 +99,23 @@ function RHFCheckbox(props) {
|
|
|
97
99
|
label,
|
|
98
100
|
disabled = false
|
|
99
101
|
} = props;
|
|
102
|
+
const isSkeleton = useModuleSkeleton();
|
|
100
103
|
const {
|
|
101
|
-
control
|
|
104
|
+
control,
|
|
105
|
+
formState: {
|
|
106
|
+
errors
|
|
107
|
+
}
|
|
102
108
|
} = useFormContext();
|
|
103
|
-
const isSkeleton = useModuleSkeleton();
|
|
104
109
|
const ownerState = {
|
|
105
110
|
sizeCheck,
|
|
106
|
-
disabled
|
|
111
|
+
disabled,
|
|
112
|
+
error: errors[name] ? true : false
|
|
107
113
|
};
|
|
108
114
|
const classes = useUtilityClasses(ownerState);
|
|
109
115
|
return /* @__PURE__ */ jsx(RHFCheckboxRoot, {
|
|
110
116
|
className: classes.root,
|
|
111
117
|
...process.env.NODE_ENV !== "production" ? {
|
|
112
|
-
[TEST_PROP_ID]: getNameDataTestId("root")
|
|
118
|
+
[TEST_PROP_ID]: getNameDataTestId("root", name)
|
|
113
119
|
} : {},
|
|
114
120
|
children: /* @__PURE__ */ jsx(Controller, {
|
|
115
121
|
name,
|
|
@@ -124,7 +130,7 @@ function RHFCheckbox(props) {
|
|
|
124
130
|
children: [/* @__PURE__ */ jsxs(ContainerCheckTypography, {
|
|
125
131
|
className: classes.checkTypography,
|
|
126
132
|
...process.env.NODE_ENV !== "production" ? {
|
|
127
|
-
[TEST_PROP_ID]: getNameDataTestId("checkTypography")
|
|
133
|
+
[TEST_PROP_ID]: getNameDataTestId("checkTypography", name)
|
|
128
134
|
} : {},
|
|
129
135
|
children: [/* @__PURE__ */ jsx(Checkbox, {
|
|
130
136
|
size: sizeCheck,
|
|
@@ -141,7 +147,8 @@ function RHFCheckbox(props) {
|
|
|
141
147
|
})]
|
|
142
148
|
}) : /* @__PURE__ */ jsx(SkeletonRHFCheckBox, {
|
|
143
149
|
classes,
|
|
144
|
-
hasLabel: !!label
|
|
150
|
+
hasLabel: !!label,
|
|
151
|
+
fieldName: name
|
|
145
152
|
});
|
|
146
153
|
}
|
|
147
154
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RHFCheckboxClassesKey } from "../classes/types";
|
|
2
|
-
export declare const getNameDataTestId: (KEY: RHFCheckboxClassesKey) => string;
|
|
2
|
+
export declare const getNameDataTestId: (KEY: RHFCheckboxClassesKey, NAME: string) => string;
|
|
@@ -7,4 +7,6 @@ export interface RHFMultiCheckboxProps extends Omit<FormControlLabelProps, 'cont
|
|
|
7
7
|
name: string;
|
|
8
8
|
options: string[];
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export interface OwnerState extends Pick<RHFCheckboxProps, 'sizeCheck' | 'disabled'> {
|
|
11
|
+
error: boolean;
|
|
12
|
+
}
|
|
@@ -6,22 +6,24 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
6
6
|
import { useFormatter } from "@m4l/graphics";
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import "../../Icon/index.
|
|
9
|
+
import "../../Icon/index.ecb63e65.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import "../../mui_extended/IconButton/index.
|
|
12
|
-
import "../../mui_extended/Accordion/index.
|
|
13
|
-
import "../../mui_extended/
|
|
11
|
+
import "../../mui_extended/IconButton/index.fc5b7c2d.js";
|
|
12
|
+
import "../../mui_extended/Accordion/index.12b1339a.js";
|
|
13
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
14
|
+
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
15
|
import "react-router-dom";
|
|
15
16
|
import "@mui/material/Button";
|
|
16
|
-
import "../../mui_extended/Button/index.
|
|
17
|
-
import "../../
|
|
17
|
+
import "../../mui_extended/Button/index.4288f9fc.js";
|
|
18
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
19
|
+
import "../../Image/index.c18ebf5a.js";
|
|
18
20
|
import "@mui/lab";
|
|
19
|
-
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
20
21
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../../mui_extended/MenuActions/index.
|
|
22
|
-
import "../../mui_extended/Pager/index.
|
|
23
|
-
import "../../mui_extended/Tab/index.
|
|
24
|
-
import
|
|
22
|
+
import "../../mui_extended/MenuActions/index.f5b1c022.js";
|
|
23
|
+
import "../../mui_extended/Pager/index.435af0df.js";
|
|
24
|
+
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
25
|
+
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
|
+
import { H as HelperText } from "../../HelperText/index.ef31df1f.js";
|
|
25
27
|
import { styled } from "@mui/material/styles";
|
|
26
28
|
import { unstable_composeClasses } from "@mui/base";
|
|
27
29
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
@@ -160,7 +162,7 @@ function RHFDateTime(props) {
|
|
|
160
162
|
children: label
|
|
161
163
|
}), /* @__PURE__ */ jsx(DateTimePicker, {
|
|
162
164
|
inputRef: ref,
|
|
163
|
-
ampm:
|
|
165
|
+
ampm: true,
|
|
164
166
|
value,
|
|
165
167
|
onChange: (newValue) => {
|
|
166
168
|
onChange(newValue);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LRHFPeriod";
|