@m4l/components 0.2.13 → 0.2.15
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 +7 -16
- package/{commonjs.333e55c7.js → commonjs.565e6834.js} +0 -5
- package/components/AccountPopover/index.d.ts +0 -1
- package/components/AccountPopover/{index.7060320a.js → index.da84c424.js} +12 -22
- package/components/AppBar/AppBar.d.ts +0 -24
- package/components/AppBar/classes/index.d.ts +0 -2
- package/components/AppBar/classes/types.d.ts +0 -2
- package/components/AppBar/{index.c8e7b25c.js → index.46f2db0a.js} +7 -45
- package/components/AppBar/types.d.ts +0 -14
- package/components/CommonActions/components/ActionCancel/{index.82313aef.js → index.06365996.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/index.2c1fff45.js +70 -0
- package/components/CommonActions/components/ActionFormIntro/{index.29891df9.js → index.885f49af.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.c70ae272.js → index.b97cfeec.js} +2 -2
- package/components/CommonActions/components/Actions/index.8368ac0f.js +74 -0
- package/components/DataGrid/assets/icons/datagrid.svg +4 -0
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/index.d.ts +9 -0
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/types.d.ts +6 -0
- package/components/DataGrid/formatters/columnPointsFormatter/{index.a19b7b90.js → index.5e645334.js} +1 -1
- package/components/DataGrid/{index.387652a9.js → index.e127cac8.js} +54 -732
- package/components/DataGrid/subcomponents/Actions/index.5947f820.js +591 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js +64 -0
- package/components/DragResizeWindow/DragResizeWindow.d.ts +15 -0
- package/components/DragResizeWindow/classes/index.d.ts +6 -0
- package/components/DragResizeWindow/classes/types.d.ts +8 -0
- package/components/DragResizeWindow/constants.d.ts +3 -0
- package/components/DragResizeWindow/index.67aa1e22.js +445 -0
- package/components/DragResizeWindow/index.d.ts +2 -0
- package/components/DragResizeWindow/types.d.ts +169 -0
- package/components/DragResizeWindow/utils.d.ts +2 -0
- package/components/DynamicFilter/classes/index.d.ts +1 -1
- package/components/DynamicFilter/classes/types.d.ts +0 -1
- package/components/DynamicFilter/{index.9e9885b0.js → index.068ca09c.js} +25 -96
- package/components/GridLayout/{index.68093cfb.js → index.367e44f9.js} +8 -63
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.8e4af155.js → index.b3c79b77.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.c32210fc.js → index.4234d9f3.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/index.0676f896.js +62 -0
- package/components/GridLayout/subcomponents/{WidthProvider → withSizeProvider}/index.d.ts +1 -1
- package/components/HelperText/{index.918bba47.js → index.7d2afdb3.js} +2 -23
- package/components/Icon/index.aa9949f0.js +147 -0
- package/components/Icon/types.d.ts +0 -1
- package/components/Image/{index.d684bdf2.js → index.d5fed0ab.js} +5 -47
- package/components/Image/types.d.ts +2 -2
- package/components/LanguagePopover/{index.424bad09.js → index.02987c68.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.2d53ade4.js} +1 -1
- package/components/LoadingError/{index.b3e4e8e5.js → index.991393ca.js} +5 -23
- package/components/MFLoader/{index.3d17dfc3.js → index.b928e361.js} +13 -22
- package/components/ModalDialog/{index.40f6571e.js → index.a30831c9.js} +5 -5
- package/components/NavLink/{index.ed4c0609.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.5ed80b8e.js → index.1ddc6a38.js} +1 -1
- package/components/ObjectLogs/{index.3a939c6b.js → index.546bf5bf.js} +7 -84
- package/components/Page/{index.890fbaac.js → index.c3767243.js} +1 -1
- package/components/PaperForm/classes/index.d.ts +1 -2
- package/components/PaperForm/classes/types.d.ts +0 -1
- package/components/PaperForm/{index.013ed28b.js → index.27dafbcc.js} +6 -11
- package/components/PaperForm/types.d.ts +1 -4
- package/components/Period/{index.3bd05e05.js → index.288a0ec2.js} +5 -88
- package/components/PopupsProvider/classes/index.d.ts +11 -0
- package/components/PopupsProvider/classes/types.d.ts +9 -0
- package/components/PopupsProvider/constants.d.ts +10 -0
- package/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +19 -0
- package/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +7 -0
- package/components/PopupsProvider/contexts/PopupsContext/index.d.ts +1 -0
- package/components/PopupsProvider/contexts/PopupsContext/store.d.ts +16 -0
- package/components/PopupsProvider/contexts/PopupsContext/types.d.ts +117 -0
- package/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +3 -0
- package/components/PopupsProvider/index.ae1bd010.js +247 -0
- package/components/PopupsProvider/index.d.ts +2 -0
- package/components/PopupsProvider/subcomponents/Popup/index.d.ts +8 -0
- package/components/PopupsProvider/subcomponents/Popup/types.d.ts +16 -0
- package/components/PopupsProvider/subcomponents/PopupsContainer/index.d.ts +2 -0
- package/components/PopupsProvider/subcomponents/PopupsContainer/types.d.ts +1 -0
- package/components/PrintingSystem/{index.70234425.js → index.b69edc07.js} +44 -20
- package/components/PrintingSystem/subcomponents/BodyNode/{index.1dd418aa.js → index.81da2c9c.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6aadd6b3.js → index.1863bcf1.js} +4 -4
- package/components/PrintingSystem/subcomponents/DividerNode/{index.91e65ff6.js → index.0e6e76ad.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.c2481749.js → index.5af68fd5.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.758d94d1.js → index.07d4f9a4.js} +7 -3
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.732d7c58.js → index.dbf08ab4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1a20a9d4.js → index.d81d2f30.js} +4 -4
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8402e742.js → index.4c20215d.js} +5 -3
- package/components/PrintingSystem/subcomponents/SectionNode/{index.25aeb4aa.js → index.72cb64b8.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.2b632722.js → index.41c261f4.js} +3 -3
- package/components/PrintingSystem/types.d.ts +3 -12
- package/components/PrintingSystem/utils/getEvalValue/index.d.ts +1 -0
- package/components/PropertyValue/classes/index.d.ts +1 -1
- package/components/PropertyValue/classes/types.d.ts +1 -4
- package/components/PropertyValue/index.92ccdf7a.js +220 -0
- package/components/PropertyValue/skeleton.d.ts +2 -0
- package/components/PropertyValue/types.d.ts +7 -5
- package/components/Resizeable/{index.6478d7d8.js → index.e4f47710.js} +5 -5
- package/components/ResizeableWindow/types.d.ts +3 -5
- package/components/ScrollBar/{index.010f1b9d.js → index.65bb2930.js} +1 -5
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/{index.614f85fb.js → index.e4d2ee53.js} +31 -30
- package/components/SideBar/types.d.ts +3 -3
- package/components/SplitLayout/{index.30fd5861.js → index.9ef430f6.js} +1 -1
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.c1539c1b.js → index.8426755c.js} +29 -98
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.e084d8e9.js → index.6b310068.js} +24 -88
- package/components/areas/components/index.558684b3.js +1 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.cffa1526.js → index.1e3974e1.js} +17 -10
- package/components/areas/contexts/index.24025b97.js +1 -0
- package/components/areas/hooks/index.d9dc1e21.js +1 -0
- package/components/areas/hooks/useAreas/{index.00031ac3.js → index.21fa4ab1.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/formatters/BooleanFormatter/{index.5ed55bda.js → index.fcc47dfd.js} +3 -2
- package/components/formatters/PointsFormatter/{index.5c94c5e8.js → index.80a4e414.js} +2 -2
- package/components/formatters/PointsFormatter/index.d.ts +1 -1
- package/components/formatters/{index.4426a315.js → index.7d5cbac9.js} +3 -7
- package/components/hook-form/HelperError/index.66bbcac3.js +30 -0
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/{index.01a8f57e.js → index.ea720b8f.js} +38 -44
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +2 -1
- package/components/hook-form/RHFAutocomplete/types.d.ts +3 -8
- package/components/hook-form/RHFAutocompleteAsync/{index.df1d5bca.js → index.1609eaf0.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.23fc4851.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFColorPicker/index.259b6f38.js +61 -0
- package/components/hook-form/RHFColorPicker/index.d.ts +0 -6
- package/components/hook-form/RHFColorPicker/types.d.ts +0 -5
- package/components/hook-form/RHFDateTime/{index.984b803f.js → index.8bd9e41e.js} +5 -21
- package/components/hook-form/RHFDateTime/types.d.ts +1 -0
- package/components/hook-form/RHFHelperError/index.d.ts +4 -0
- package/components/hook-form/RHFPeriod/{index.1852e7d3.js → index.89bebd60.js} +3 -2
- package/components/hook-form/RHFRadioGroup/{index.3b17819b.js → index.1ddb3d93.js} +1 -1
- package/components/hook-form/RHFTextField/{index.1167879e.js → index.2c8d4613.js} +6 -8
- package/components/hook-form/RHFUpload/{index.49edcb02.js → index.55e495bb.js} +7 -24
- package/components/index.d.ts +2 -3
- package/components/maps/components/GpsTools/GpsTools.d.ts +1 -0
- package/components/maps/components/GpsTools/classes/index.d.ts +4 -0
- package/components/maps/components/GpsTools/classes/types.d.ts +20 -0
- package/components/maps/components/GpsTools/constants.d.ts +8 -0
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +19 -0
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +16 -0
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +173 -0
- package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +2 -0
- package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +1 -0
- package/components/maps/components/GpsTools/icons.d.ts +15 -0
- package/components/maps/components/GpsTools/index.1b6d82bc.js +2086 -0
- package/components/maps/components/GpsTools/index.d.ts +2 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +9 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +7 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +122 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +20 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +7 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +11 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +8 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +5 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +22 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +6 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +5 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +7 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +6 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +10 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +25 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +9 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +4 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useColumns.d.ts +9 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useMaster.d.ts +20 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +9 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +7 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +30 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +31 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +10 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +6 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +2 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +1 -0
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +9 -0
- package/components/maps/components/GpsTools/types.d.ts +34 -0
- package/components/maps/components/Map/Map.d.ts +2 -0
- package/components/maps/components/Map/classes/index.d.ts +5 -0
- package/components/maps/components/Map/classes/types.d.ts +19 -0
- package/components/maps/components/Map/constants.d.ts +11 -0
- package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +19 -0
- package/components/maps/components/Map/contexts/MapContext/helper.d.ts +8 -0
- package/components/maps/components/Map/contexts/MapContext/index.d.ts +2 -0
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +16 -0
- package/components/maps/components/Map/contexts/MapContext/types.d.ts +414 -0
- package/components/maps/components/Map/dictionary.d.ts +70 -0
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +8 -0
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +6 -0
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +1 -0
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +1 -0
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +2 -0
- package/components/maps/components/Map/featureRenders/index.d.ts +1 -0
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +8 -0
- package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +15 -0
- package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +1 -0
- package/components/maps/components/Map/hooks/useMapStore/index.d.ts +3 -0
- package/components/maps/components/Map/index.d.ts +7 -0
- package/components/maps/components/Map/index.f38df83e.js +1338 -0
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +9 -0
- package/components/maps/components/Map/pluginLayers/index.d.ts +1 -0
- package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +2 -0
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useCheckedLayers.d.ts +9 -0
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useColumns.d.ts +15 -0
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useMaster.d.ts +12 -0
- package/components/maps/components/Map/subcomponents/LayersTool/index.d.ts +1 -0
- package/components/maps/components/Map/subcomponents/LayersTool/model.d.ts +19 -0
- package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +2 -0
- package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +5 -0
- package/components/maps/components/Map/subcomponents/MyLayer/index.d.ts +17 -0
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +20 -0
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +11 -0
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +12 -0
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +5 -0
- package/components/maps/components/Map/subcomponents/MyLayer/types.d.ts +2 -0
- package/components/maps/components/Map/types.d.ts +28 -0
- package/components/maps/index.d.ts +3 -0
- package/components/modal/WindowBase.a4534b0b.js +74 -0
- package/components/modal/WindowConfirm.7a79bfa5.js +102 -0
- package/components/modal/index.61389369.js +57 -0
- package/components/mui_extended/Accordion/{index.3087f40e.js → index.f1289de0.js} +4 -4
- package/components/mui_extended/Button/classes/types.d.ts +0 -2
- package/components/mui_extended/Button/{index.0f2552ed.js → index.007f5a6e.js} +5 -5
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.5afe56b7.js → index.b705c196.js} +2 -2
- package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.cc54c35c.js → index.aa43c4f2.js} +5 -19
- package/components/mui_extended/Pager/{index.5fbbefe2.js → index.9928807e.js} +3 -2
- package/components/mui_extended/Tab/{index.ae9ea641.js → index.cefe27e7.js} +6 -6
- package/components/mui_extended/ToggleButton/ToggleButton.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.667d63cd.js → index.b053aa70.js} +1 -5
- package/components/mui_extended/ToggleButton/types.d.ts +2 -2
- package/components/mui_extended/ToggleIconButton/{index.2de19be3.js → index.80d38bf4.js} +1 -6
- package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
- package/components/mui_extended/index.b606cd9d.js +1 -0
- package/contexts/ModalContext/{index.ef38d747.js → index.054af5d8.js} +1 -1
- package/hocs/withToggle/index.d.ts +1 -9
- package/hocs/withToggle/types.d.ts +10 -0
- package/hooks/useFormAddEdit/index.b4348b6a.js +96 -0
- package/hooks/useFormReadyForUpdate/index.d.ts +6 -0
- package/hooks/useFormReadyForUpdate/index.f60f500e.js +20 -0
- package/hooks/useModal/{index.8acace45.js → index.acc61361.js} +1 -1
- package/hooks/useSizeContainer/contants.d.ts +1 -0
- package/hooks/useSizeContainer/index.62b4e0c4.js +35 -0
- package/hooks/useSizeContainer/index.d.ts +8 -0
- package/hooks/useStateRef/index.538edb89.js +15 -0
- package/hooks/useStateRef/index.d.ts +8 -0
- package/hooks/useTab/index.500c048b.js +12 -0
- package/index.js +225 -213
- package/package.json +6 -8
- package/{react-draggable.ee21cb7e.js → react-draggable.2bc0e647.js} +4 -4
- package/{react-json-view.5636414a.js → react-json-view.57125fcf.js} +1 -1
- package/{react-resizable.ee028152.js → react-resizable.53094455.js} +5 -5
- package/{react-splitter-layout.c5d98bf7.js → react-splitter-layout.8b1655c8.js} +3 -3
- package/test/getNameDataTestId.14875ec7.js +6 -0
- package/utils/capitalizeFirstLetter.d.ts +1 -0
- package/utils/getComponentUtilityClass.d.ts +1 -0
- package/utils/getPaletteColor.d.ts +2 -0
- package/utils/getThemeVariantColor.d.ts +3 -0
- package/utils/getTransformXY.d.ts +4 -0
- package/utils/index.d.ts +6 -7
- package/utils/isValidDate.d.ts +1 -0
- package/utils/types.d.ts +16 -0
- package/components/CommonActions/components/ActionFormCancel/index.3b2605ee.js +0 -144
- package/components/CommonActions/components/Actions/index.93e9112b.js +0 -161
- package/components/DraggableWindow/index.d.ts +0 -3
- package/components/DraggableWindow/index.f9f067bd.js +0 -39
- package/components/DraggableWindow/types.d.ts +0 -5
- package/components/Icon/index.e215d0f0.js +0 -248
- package/components/PDFViewer/PDFViewer.d.ts +0 -2
- package/components/PDFViewer/classes/constants.d.ts +0 -1
- package/components/PDFViewer/classes/index.d.ts +0 -7
- package/components/PDFViewer/classes/types.d.ts +0 -7
- package/components/PDFViewer/index.4d16e5bc.js +0 -83
- package/components/PDFViewer/index.d.ts +0 -1
- package/components/PDFViewer/types.d.ts +0 -3
- package/components/PrintingSystem/subcomponents/QRImageNode/index.d.ts +0 -2
- package/components/PrintingSystem/subcomponents/QRImageNode/types.d.ts +0 -3
- package/components/PropertyValue/index.45482ca3.js +0 -222
- package/components/ToastContainer/ToastContainer.d.ts +0 -2
- package/components/ToastContainer/classes/constants.d.ts +0 -1
- package/components/ToastContainer/classes/index.d.ts +0 -8
- package/components/ToastContainer/classes/types.d.ts +0 -9
- package/components/ToastContainer/index.5e729fbb.js +0 -89
- package/components/ToastContainer/index.d.ts +0 -2
- package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +0 -2
- package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +0 -5
- package/components/ToastContainer/types.d.ts +0 -4
- package/components/areas/components/index.4381fcfa.js +0 -32
- package/components/areas/contexts/index.003a53c1.js +0 -4
- package/components/areas/hooks/index.0184c6f7.js +0 -4
- package/components/areas/index.1b5b2267.js +0 -56
- package/components/hook-form/RHFColorPicker/classes/constants.d.ts +0 -1
- package/components/hook-form/RHFColorPicker/classes/index.d.ts +0 -11
- package/components/hook-form/RHFColorPicker/classes/types.d.ts +0 -11
- package/components/hook-form/RHFColorPicker/index.c7695748.js +0 -166
- package/components/hook-form/RHFColorPicker/subcomponents/Skeleton/indext.d.ts +0 -1
- package/components/maps/leaflet.d.ts +0 -29
- package/components/modal/WindowBase.8e3e5337.js +0 -158
- package/components/modal/WindowConfirm.eec3e5d0.js +0 -186
- package/components/modal/index.ac0c9093.js +0 -146
- package/components/mui_extended/index.6837d969.js +0 -24
- package/hooks/useFormAddEdit/index.8276444a.js +0 -181
- package/hooks/useTab/index.07f652ec.js +0 -101
- package/node_modules.79f5ed2f.js +0 -6921
- package/vendor.f0742647.js +0 -140
- package/components/GridLayout/subcomponents/{GridItem → Griditem}/index.d.ts +0 -0
- package/components/GridLayout/subcomponents/{GridItem → Griditem}/types.d.ts +0 -0
- package/components/mui_extended/Badge/{index.b09524fe.js → index.09f5aee5.js} +1 -1
- package/components/mui_extended/Popover/{index.9f35d0eb.js → index.b3eca6b1.js} +2 -2
- package/components/mui_extended/Tooltip/{index.5a795dcd.js → index.24a2bc3f.js} +1 -1
- package/components/mui_extended/Typography/{index.443590d6.js → index.379dd374.js} +1 -1
- package/utils/{index.de903261.js → index.9ad3909a.js} +3 -3
|
@@ -1,30 +1,14 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.d5fed0ab.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
|
+
import { I as ImageButton } from "../mui_extended/Button/index.007f5a6e.js";
|
|
5
6
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
6
|
-
import "
|
|
7
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
7
8
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import "clsx";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
11
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
12
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
13
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
|
-
import "react-router-dom";
|
|
15
|
-
import "@mui/material/Button";
|
|
16
|
-
import { I as ImageButton } from "../mui_extended/Button/index.0f2552ed.js";
|
|
17
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
18
10
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
|
|
19
|
-
import "../mui_extended/
|
|
20
|
-
import "@mui/lab";
|
|
21
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
22
|
-
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
24
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
25
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
26
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
11
|
+
import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
|
|
28
12
|
const LanguagePopoverRoot = styled("div")(({
|
|
29
13
|
theme
|
|
30
14
|
}) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
2
|
import { generateUtilityClasses, styled } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../utils/index.9ad3909a.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
const LINEAR_PROGRESS_INDETERMINATE_CLASS_NAME = "M4LinearProgressIndeterminate";
|
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
2
|
-
import { I as Icon } from "../Icon/index.e215d0f0.js";
|
|
3
1
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
2
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
5
3
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
6
|
-
import "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
9
|
-
import "clsx";
|
|
10
|
-
import "@m4l/graphics";
|
|
11
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
12
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
|
-
import "react-router-dom";
|
|
15
|
-
import { B as Button } from "../mui_extended/Button/index.0f2552ed.js";
|
|
16
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
18
|
-
import "../Image/index.d684bdf2.js";
|
|
19
|
-
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
21
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
24
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
25
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
|
-
import "@mui/material/Button";
|
|
27
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.2d53ade4.js";
|
|
7
|
+
import { I as Icon } from "../Icon/index.aa9949f0.js";
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
9
|
+
import { B as Button } from "../mui_extended/Button/index.007f5a6e.js";
|
|
28
10
|
const componentName = "M4LoadingError";
|
|
29
11
|
generateUtilityClasses(componentName, [
|
|
30
12
|
"root",
|
|
@@ -9,29 +9,10 @@ import { useNetwork, useEnvironment, useHostTools, axiosOperation } from "@m4l/c
|
|
|
9
9
|
import { useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/graphics";
|
|
10
10
|
import debounce from "lodash/debounce";
|
|
11
11
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
12
|
-
import "
|
|
13
|
-
import "clsx";
|
|
12
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
14
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
16
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
17
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
18
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
19
|
-
import "react-router-dom";
|
|
20
|
-
import "@mui/material/Button";
|
|
21
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
22
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
23
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
24
|
-
import "../Image/index.d684bdf2.js";
|
|
25
14
|
import { L as LinearProgress } from "../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
26
|
-
import "
|
|
27
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
28
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
29
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
30
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
31
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
32
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
33
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
34
|
-
import { L as LoadingError } from "../LoadingError/index.b3e4e8e5.js";
|
|
15
|
+
import { L as LoadingError } from "../LoadingError/index.991393ca.js";
|
|
35
16
|
const componentName = "M4LMFLoader";
|
|
36
17
|
const mfLoaderClasses = generateUtilityClasses(componentName, [
|
|
37
18
|
"root",
|
|
@@ -159,6 +140,7 @@ class ObservableLoaderMF {
|
|
|
159
140
|
this.tryAgain();
|
|
160
141
|
}
|
|
161
142
|
unsubscribe(subscriber) {
|
|
143
|
+
console.log("unsubscribe", subscriber);
|
|
162
144
|
const index = this.subscribers.indexOf(subscriber);
|
|
163
145
|
if (index !== -1) {
|
|
164
146
|
this.subscribers.splice(index, 1);
|
|
@@ -207,6 +189,7 @@ function MFLoader(props) {
|
|
|
207
189
|
const {
|
|
208
190
|
currentLocale
|
|
209
191
|
} = useLocales();
|
|
192
|
+
console.log("divScript", divScript);
|
|
210
193
|
const classes = mfLoaderUtilityClasses();
|
|
211
194
|
const isFirstRender = useFirstRender([moduleId]);
|
|
212
195
|
const final_host = environment.isLocalhost ? `https://localhost:${debug_port}` : `https://${window.location.host}/mf/${moduleId}`;
|
|
@@ -230,8 +213,16 @@ function MFLoader(props) {
|
|
|
230
213
|
}
|
|
231
214
|
}
|
|
232
215
|
const renderMicroFrontend = useCallback((newDScript) => {
|
|
216
|
+
console.log("`render_${prefix}_${newDScript.moduleId}`", `render_${prefix}_${newDScript.moduleId}`);
|
|
233
217
|
try {
|
|
234
|
-
window[`render_${prefix}_${newDScript.moduleId}`](newDScript.divContainerId,
|
|
218
|
+
window[`render_${prefix}_${newDScript.moduleId}`](newDScript.divContainerId, {
|
|
219
|
+
...environment,
|
|
220
|
+
isMicroFrontend: true,
|
|
221
|
+
mfProps: {
|
|
222
|
+
moduleId,
|
|
223
|
+
debugPort: debug_port
|
|
224
|
+
}
|
|
225
|
+
}, hostTools, currentLocale, {
|
|
235
226
|
hostThemeOptions,
|
|
236
227
|
fnComponentsOverrides
|
|
237
228
|
}, axiosOperation, formatter, dynamicMFStore, windowTools);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme, Dialog, Paper } from "@mui/material";
|
|
2
|
-
import { c as cjs } from "../../react-draggable.
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { R as ResizeableWindow } from "../Resizeable/index.
|
|
2
|
+
import { c as cjs } from "../../react-draggable.2bc0e647.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.acc61361.js";
|
|
4
|
+
import { R as ResizeableWindow } from "../Resizeable/index.e4f47710.js";
|
|
5
5
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
6
|
-
import { m as modalUtilityClasses } from "../modal/index.
|
|
6
|
+
import { m as modalUtilityClasses } from "../modal/index.61389369.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
8
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.8368ac0f.js";
|
|
9
9
|
const DragabblePaperComponent = (props) => {
|
|
10
10
|
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
11
11
|
handle: ".m4l_draggable_handle",
|
|
@@ -1,29 +1,9 @@
|
|
|
1
1
|
import { NavLink as NavLink$1 } from "react-router-dom";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/material";
|
|
3
|
-
import "
|
|
4
|
-
import "@m4l/core";
|
|
5
|
-
import "../Icon/index.e215d0f0.js";
|
|
3
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
6
4
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import "clsx";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
5
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
|
-
import "../mui_extended/
|
|
11
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
12
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
13
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
16
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
18
|
-
import "../Image/index.d684bdf2.js";
|
|
19
|
-
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
21
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
23
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
24
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
25
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
27
7
|
const componentName = "M4LNavLink";
|
|
28
8
|
generateUtilityClasses(componentName, [
|
|
29
9
|
"root"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { I as Image } from "../Image/index.
|
|
3
|
+
import { I as Image } from "../Image/index.d5fed0ab.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -1,95 +1,18 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useMemo } from "react";
|
|
2
2
|
import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import {
|
|
4
|
+
import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.e127cac8.js";
|
|
5
5
|
import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
|
|
6
6
|
import { Tooltip, IconButton } from "@mui/material";
|
|
7
7
|
import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import { R as ReactJson } from "../../react-json-view.
|
|
9
|
-
import { S as ScrollBar } from "../ScrollBar/index.
|
|
8
|
+
import { R as ReactJson } from "../../react-json-view.57125fcf.js";
|
|
9
|
+
import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
12
|
-
import { I as Icon } from "../Icon/index.
|
|
13
|
-
import "../../react-draggable.ee21cb7e.js";
|
|
14
|
-
import "../Resizeable/index.6478d7d8.js";
|
|
15
|
-
import "../modal/index.ac0c9093.js";
|
|
16
|
-
import "../animate/index.4e9774a6.js";
|
|
17
|
-
import "framer-motion";
|
|
18
|
-
import "react-router-dom";
|
|
19
|
-
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
20
|
-
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
21
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
22
|
-
import "clsx";
|
|
23
|
-
import "zustand";
|
|
24
|
-
import "../areas/contexts/AreasContext/index.cffa1526.js";
|
|
25
|
-
import "../areas/components/AreasAdmin/index.c1539c1b.js";
|
|
26
|
-
import "zustand/shallow";
|
|
27
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
28
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
29
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
30
|
-
import "@mui/material/Button";
|
|
31
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
32
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
33
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
34
|
-
import "../Image/index.d684bdf2.js";
|
|
35
|
-
import "@mui/lab";
|
|
36
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
37
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
11
|
+
import { u as useModal } from "../../hooks/useModal/index.acc61361.js";
|
|
12
|
+
import { I as Icon } from "../Icon/index.aa9949f0.js";
|
|
38
13
|
import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
|
|
39
|
-
import "../
|
|
40
|
-
import "../
|
|
41
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
42
|
-
import "../areas/components/AreasViewer/index.e084d8e9.js";
|
|
43
|
-
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
44
|
-
import "../LoadingError/index.b3e4e8e5.js";
|
|
45
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
46
|
-
import "zustand/middleware/immer";
|
|
47
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
48
|
-
import "react-hook-form";
|
|
49
|
-
import "../hook-form/RHFAutocomplete/index.01a8f57e.js";
|
|
50
|
-
import "../HelperText/index.918bba47.js";
|
|
51
|
-
import "../../node_modules.79f5ed2f.js";
|
|
52
|
-
import "lodash-es/debounce";
|
|
53
|
-
import "lodash-es/each";
|
|
54
|
-
import "../hook-form/RHFColorPicker/index.c7695748.js";
|
|
55
|
-
import "lodash/debounce";
|
|
56
|
-
import "../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
|
|
57
|
-
import "../hook-form/RHFCheckbox/index.23fc4851.js";
|
|
58
|
-
import "@mui/x-date-pickers";
|
|
59
|
-
import "../hook-form/RHFDateTime/index.984b803f.js";
|
|
60
|
-
import "../hook-form/RHFTextField/index.1167879e.js";
|
|
61
|
-
import "../hook-form/RHFPeriod/index.1852e7d3.js";
|
|
62
|
-
import "../Period/index.3bd05e05.js";
|
|
63
|
-
import "../CommonActions/components/Actions/index.93e9112b.js";
|
|
64
|
-
import "lodash/isString";
|
|
65
|
-
import "react-dropzone";
|
|
66
|
-
import "../hook-form/RHFUpload/index.49edcb02.js";
|
|
67
|
-
import "../formatters/index.4426a315.js";
|
|
68
|
-
import "react-dnd";
|
|
69
|
-
import "react-dnd-html5-backend";
|
|
70
|
-
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.9e9885b0.js";
|
|
71
|
-
import "yup";
|
|
72
|
-
import "../../contexts/RHFormContext/index.7769076a.js";
|
|
73
|
-
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
74
|
-
import "../GridLayout/index.68093cfb.js";
|
|
75
|
-
import "fast-equals";
|
|
76
|
-
import "lodash";
|
|
77
|
-
import "../PrintingSystem/index.70234425.js";
|
|
78
|
-
import "../LanguagePopover/index.424bad09.js";
|
|
79
|
-
import "../MFLoader/index.3d17dfc3.js";
|
|
80
|
-
import "../NavLink/index.ed4c0609.js";
|
|
81
|
-
import "../NoItemSelected/index.5ed80b8e.js";
|
|
82
|
-
import "../PaperForm/index.013ed28b.js";
|
|
83
|
-
import "../PDFViewer/index.4d16e5bc.js";
|
|
84
|
-
import "../Page/index.890fbaac.js";
|
|
85
|
-
import "../PropertyValue/index.45482ca3.js";
|
|
86
|
-
import "../SplitLayout/index.30fd5861.js";
|
|
87
|
-
import "../../react-splitter-layout.c5d98bf7.js";
|
|
88
|
-
import "../ToastContainer/index.5e729fbb.js";
|
|
89
|
-
import "../SideBar/index.614f85fb.js";
|
|
90
|
-
import "../AppBar/index.c8e7b25c.js";
|
|
91
|
-
import "../AccountPopover/index.7060320a.js";
|
|
92
|
-
import { W as WindowBase } from "../modal/WindowBase.8e3e5337.js";
|
|
14
|
+
import { W as WindowBase } from "../modal/WindowBase.a4534b0b.js";
|
|
15
|
+
import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.068ca09c.js";
|
|
93
16
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
94
17
|
const Container = styled("div")(() => ({
|
|
95
18
|
height: "100%",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
|
|
2
|
-
import { c as classes,
|
|
2
|
+
import { c as classes, a as getSize, F as FactoryRender } from "../PrintingSystem/index.b69edc07.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
import React__default from "react";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PaperFormClassesType } from './types';
|
|
2
|
-
import { OwnerState } from '../types';
|
|
3
2
|
export declare const periodClasses: PaperFormClassesType;
|
|
4
3
|
export declare function getPaperFormUtilityClass(slot: string): string;
|
|
5
|
-
export declare const paperFormUtilityClasses: (
|
|
4
|
+
export declare const paperFormUtilityClasses: () => {
|
|
6
5
|
root: string;
|
|
7
6
|
content: string;
|
|
8
7
|
headerContainer: string;
|
|
@@ -5,7 +5,6 @@ export interface PaperFormClassesType {
|
|
|
5
5
|
iconTitleContainer: string;
|
|
6
6
|
iconHeaderContainer: string;
|
|
7
7
|
skeletonContainer: string;
|
|
8
|
-
isForm: string;
|
|
9
8
|
}
|
|
10
9
|
export declare type PaperFormClassesKey = keyof PaperFormClassesType;
|
|
11
10
|
export declare type Classes = ReturnType<typeof paperFormUtilityClasses>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.aa9949f0.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const PaperFormRoot = styled("div")(({
|
|
@@ -91,15 +91,14 @@ generateUtilityClasses(componentName, [
|
|
|
91
91
|
"headerContainer",
|
|
92
92
|
"iconTitleContainer",
|
|
93
93
|
"iconHeaderContainer",
|
|
94
|
-
"skeletonContainer"
|
|
95
|
-
"isForm"
|
|
94
|
+
"skeletonContainer"
|
|
96
95
|
]);
|
|
97
96
|
function getPaperFormUtilityClass(slot) {
|
|
98
97
|
return generateUtilityClass(componentName, slot);
|
|
99
98
|
}
|
|
100
|
-
const paperFormUtilityClasses = (
|
|
99
|
+
const paperFormUtilityClasses = () => {
|
|
101
100
|
const slots = {
|
|
102
|
-
root: ["root"
|
|
101
|
+
root: ["root"],
|
|
103
102
|
headerContainer: ["headerContainer"],
|
|
104
103
|
iconTitleContainer: ["iconTitleContainer"],
|
|
105
104
|
iconHeaderContainer: ["iconHeaderContainer"],
|
|
@@ -115,13 +114,9 @@ function PaperForm(props) {
|
|
|
115
114
|
const {
|
|
116
115
|
urlIcon,
|
|
117
116
|
title,
|
|
118
|
-
children
|
|
119
|
-
isForm = false
|
|
117
|
+
children
|
|
120
118
|
} = props;
|
|
121
|
-
const
|
|
122
|
-
isForm
|
|
123
|
-
};
|
|
124
|
-
const classes = paperFormUtilityClasses(ownerState);
|
|
119
|
+
const classes = paperFormUtilityClasses();
|
|
125
120
|
return /* @__PURE__ */ jsxs(PaperFormRoot, {
|
|
126
121
|
className: classes.root,
|
|
127
122
|
children: [/* @__PURE__ */ jsx(Header, {
|
|
@@ -4,10 +4,7 @@ export interface PaperFormProps {
|
|
|
4
4
|
urlIcon?: string;
|
|
5
5
|
title: string;
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
isForm?: boolean;
|
|
8
7
|
}
|
|
9
|
-
export interface HeaderProps extends Omit<PaperFormProps, 'children'
|
|
8
|
+
export interface HeaderProps extends Omit<PaperFormProps, 'children'> {
|
|
10
9
|
classes: Classes;
|
|
11
10
|
}
|
|
12
|
-
export interface OwnerState extends Pick<PaperFormProps, 'isForm'> {
|
|
13
|
-
}
|
|
@@ -1,95 +1,12 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
6
|
-
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import "@mui/material/Button";
|
|
8
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
9
|
-
import "clsx";
|
|
10
|
-
import "react-hook-form";
|
|
11
|
-
import "../../contexts/ModalContext/index.ef38d747.js";
|
|
12
|
-
import "../../react-draggable.ee21cb7e.js";
|
|
13
|
-
import "../Resizeable/index.6478d7d8.js";
|
|
14
|
-
import "@m4l/graphics";
|
|
15
|
-
import "../modal/index.ac0c9093.js";
|
|
16
|
-
import "../animate/index.4e9774a6.js";
|
|
17
|
-
import "framer-motion";
|
|
18
|
-
import "@mui/material/styles";
|
|
19
|
-
import "react-router-dom";
|
|
20
|
-
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
21
|
-
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
22
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
23
|
-
import "zustand";
|
|
24
|
-
import "../areas/contexts/AreasContext/index.cffa1526.js";
|
|
25
|
-
import "../areas/components/AreasAdmin/index.c1539c1b.js";
|
|
26
|
-
import "zustand/shallow";
|
|
27
|
-
import "../ScrollBar/index.010f1b9d.js";
|
|
28
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
29
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
30
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
31
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
32
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
33
|
-
import "../Image/index.d684bdf2.js";
|
|
34
|
-
import "@mui/lab";
|
|
35
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
36
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
37
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
38
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
39
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
40
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
41
|
-
import "../areas/components/AreasViewer/index.e084d8e9.js";
|
|
42
|
-
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
43
|
-
import "../LoadingError/index.b3e4e8e5.js";
|
|
44
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
45
|
-
import "zustand/middleware/immer";
|
|
46
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
47
|
-
import "../hook-form/RHFAutocomplete/index.01a8f57e.js";
|
|
48
|
-
import "../HelperText/index.918bba47.js";
|
|
49
|
-
import "../../node_modules.79f5ed2f.js";
|
|
50
|
-
import "lodash-es/debounce";
|
|
51
|
-
import "lodash-es/each";
|
|
52
|
-
import "../hook-form/RHFColorPicker/index.c7695748.js";
|
|
53
|
-
import "lodash/debounce";
|
|
54
|
-
import "../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
|
|
55
|
-
import "../hook-form/RHFCheckbox/index.23fc4851.js";
|
|
56
|
-
import "@mui/x-date-pickers";
|
|
57
|
-
import "../hook-form/RHFDateTime/index.984b803f.js";
|
|
58
|
-
import "../hook-form/RHFTextField/index.1167879e.js";
|
|
59
|
-
import "../hook-form/RHFPeriod/index.1852e7d3.js";
|
|
60
|
-
import "lodash/isString";
|
|
61
|
-
import "react-dropzone";
|
|
62
|
-
import "../hook-form/RHFUpload/index.49edcb02.js";
|
|
63
|
-
import "../formatters/index.4426a315.js";
|
|
64
|
-
import "../DataGrid/index.387652a9.js";
|
|
65
|
-
import "react-dnd";
|
|
66
|
-
import "react-dnd-html5-backend";
|
|
67
|
-
import "../DynamicFilter/index.9e9885b0.js";
|
|
68
|
-
import "yup";
|
|
69
|
-
import "../../contexts/RHFormContext/index.7769076a.js";
|
|
70
|
-
import "../GridLayout/subcomponents/Griditem/index.8e4af155.js";
|
|
71
|
-
import "../GridLayout/index.68093cfb.js";
|
|
72
|
-
import "fast-equals";
|
|
73
|
-
import "lodash";
|
|
74
|
-
import "../PrintingSystem/index.70234425.js";
|
|
75
|
-
import "../LanguagePopover/index.424bad09.js";
|
|
76
|
-
import "../MFLoader/index.3d17dfc3.js";
|
|
77
|
-
import "../NavLink/index.ed4c0609.js";
|
|
78
|
-
import "../NoItemSelected/index.5ed80b8e.js";
|
|
79
|
-
import "../ObjectLogs/index.3a939c6b.js";
|
|
80
|
-
import "../../react-json-view.5636414a.js";
|
|
81
|
-
import "../PaperForm/index.013ed28b.js";
|
|
82
|
-
import "../PDFViewer/index.4d16e5bc.js";
|
|
83
|
-
import "../Page/index.890fbaac.js";
|
|
84
|
-
import "../PropertyValue/index.45482ca3.js";
|
|
85
|
-
import "../SplitLayout/index.30fd5861.js";
|
|
86
|
-
import "../../react-splitter-layout.c5d98bf7.js";
|
|
87
|
-
import "../ToastContainer/index.5e729fbb.js";
|
|
88
|
-
import "../SideBar/index.614f85fb.js";
|
|
89
|
-
import "../AppBar/index.c8e7b25c.js";
|
|
90
|
-
import "../AccountPopover/index.7060320a.js";
|
|
91
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
|
+
import { I as Icon } from "../Icon/index.aa9949f0.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.8368ac0f.js";
|
|
92
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
|
+
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
93
10
|
const ContainerPeriod = styled("div")(({
|
|
94
11
|
theme
|
|
95
12
|
}) => ({
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PopupsClasses } from './types';
|
|
2
|
+
import { OwnerState } from '../contexts/PopupsContext/types';
|
|
3
|
+
export declare const popupsClasses: PopupsClasses;
|
|
4
|
+
export declare function getPopupsUtilityClass(slot: string): string;
|
|
5
|
+
export declare const popupsUtilityClasses: (_ownerState: OwnerState) => {
|
|
6
|
+
root: string;
|
|
7
|
+
headerContainer: string;
|
|
8
|
+
windowContent: string;
|
|
9
|
+
windowRoot: string;
|
|
10
|
+
popupsContainer: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { popupsUtilityClasses } from ".";
|
|
2
|
+
export interface PopupsClasses {
|
|
3
|
+
root: string;
|
|
4
|
+
windowRoot: string;
|
|
5
|
+
headerContainer: string;
|
|
6
|
+
windowContent: string;
|
|
7
|
+
}
|
|
8
|
+
export declare type PopupsClassesKey = keyof PopupsClasses;
|
|
9
|
+
export declare type Classes = ReturnType<typeof popupsUtilityClasses>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const COMPONENT_TEST_ID = "M4LPopupsProvider";
|
|
2
|
+
export declare const COMPONENT_CLASS_NAME = "M4LPopupsProvider";
|
|
3
|
+
export declare const EARTH_RADIO = 6378137;
|
|
4
|
+
export declare const DN = 500;
|
|
5
|
+
export declare const DE = 500;
|
|
6
|
+
export declare const DLAT: number;
|
|
7
|
+
export declare const THROTTLE_RENDER_MAP_TIMEOUT = 50;
|
|
8
|
+
export declare const MAP_ZINDEX_DEFAULT = 0;
|
|
9
|
+
export declare const MAP_ZINDEX_OVER_LAYERS = 1000;
|
|
10
|
+
export declare const MAP_ZINDEX_OVER_MAP = 1100;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PopupsProviderProps } from './types';
|
|
3
|
+
declare const PopupsContext: React.Context<(Omit<Omit<import("zustand").StoreApi<import("./types").PopupsStateWithActions>, "setState"> & {
|
|
4
|
+
setState<A extends string | {
|
|
5
|
+
type: unknown;
|
|
6
|
+
}>(partial: import("./types").PopupsStateWithActions | Partial<import("./types").PopupsStateWithActions> | ((state: import("./types").PopupsStateWithActions) => import("./types").PopupsStateWithActions | Partial<import("./types").PopupsStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
7
|
+
}, "setState"> & {
|
|
8
|
+
setState(nextStateOrUpdater: import("./types").PopupsStateWithActions | Partial<import("./types").PopupsStateWithActions> | ((state: import("immer/dist/internal").WritableDraft<import("./types").PopupsStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
9
|
+
type: unknown;
|
|
10
|
+
} | undefined): void;
|
|
11
|
+
}) | null>;
|
|
12
|
+
/**
|
|
13
|
+
* @description Provedor del contexto de los popups.
|
|
14
|
+
* Expone el store (PopupsStore) encargado de gestionar la creación, modificación y borrado de capas.
|
|
15
|
+
* @param props
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
declare function PopupsProvider(props: PopupsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export { PopupsProvider, PopupsContext };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WritableDraft } from 'immer/dist/internal';
|
|
2
|
+
import type { PopupsStateWithActions } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @description Actualiza la clases basado en owner state
|
|
5
|
+
* @param state immer State
|
|
6
|
+
*/
|
|
7
|
+
export declare const updateOwnerStateClasses: (state: WritableDraft<PopupsStateWithActions>) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PopupsProvider, PopupsContext } from './PopupsContext';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PopupsStateWithActions, InitialPopupsStoreProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @description Crea el Store, por defecto inicia en estado 'init'
|
|
4
|
+
* @param initProps propiedades iniciales del store
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const createPopupsStore: (initProps: InitialPopupsStoreProps) => Omit<Omit<import("zustand").StoreApi<PopupsStateWithActions>, "setState"> & {
|
|
8
|
+
setState<A extends string | {
|
|
9
|
+
type: unknown;
|
|
10
|
+
}>(partial: PopupsStateWithActions | Partial<PopupsStateWithActions> | ((state: PopupsStateWithActions) => PopupsStateWithActions | Partial<PopupsStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
11
|
+
}, "setState"> & {
|
|
12
|
+
setState(nextStateOrUpdater: PopupsStateWithActions | Partial<PopupsStateWithActions> | ((state: import("immer/dist/internal").WritableDraft<PopupsStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
13
|
+
type: unknown;
|
|
14
|
+
} | undefined): void;
|
|
15
|
+
};
|
|
16
|
+
export declare type PopupsStore = ReturnType<typeof createPopupsStore>;
|