@m4l/components 0.2.14 → 0.2.16
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 +3 -0
- package/components/AccountPopover/{index.7060320a.js → index.34362031.js} +9 -21
- package/components/AppBar/{index.c8e7b25c.js → index.c64b66ee.js} +5 -22
- package/components/CommonActions/components/ActionCancel/{index.82313aef.js → index.106c5327.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/index.6d00f737.js +61 -0
- package/components/CommonActions/components/ActionFormIntro/{index.29891df9.js → index.9ee7df17.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.c70ae272.js → index.bd2a14b2.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/{index.387652a9.js → index.e5b552a2.js} +52 -730
- package/components/DataGrid/subcomponents/Actions/index.2f58e034.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.b5206081.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/{index.9e9885b0.js → index.73258cb8.js} +24 -91
- package/components/GridLayout/{index.68093cfb.js → index.4d26c328.js} +8 -63
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.8e4af155.js → index.25e9f332.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.c32210fc.js → index.3839890b.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/index.a751962f.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.e215d0f0.js → index.282c5b58.js} +5 -5
- package/components/Image/{index.d684bdf2.js → index.8915f577.js} +3 -3
- package/components/LanguagePopover/{index.424bad09.js → index.5e1d85a9.js} +4 -20
- package/components/LinearProgressIndeterminate/{index.a0ad2d9e.js → index.2d53ade4.js} +1 -1
- package/components/LoadingError/{index.b3e4e8e5.js → index.d95e6efb.js} +5 -23
- package/components/MFLoader/{index.3d17dfc3.js → index.cc563716.js} +13 -22
- package/components/ModalDialog/{index.40f6571e.js → index.690c82a4.js} +5 -5
- package/components/NavLink/{index.ed4c0609.js → index.b75c91e1.js} +2 -22
- package/components/NoItemSelected/{index.5ed80b8e.js → index.5246b204.js} +1 -1
- package/components/ObjectLogs/{index.3a939c6b.js → index.f2b5f7d9.js} +5 -82
- package/components/PDFViewer/{index.4d16e5bc.js → index.51e4f1b2.js} +3 -23
- package/components/Page/{index.890fbaac.js → index.f4aedd2d.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.30f68f0f.js} +6 -11
- package/components/PaperForm/types.d.ts +1 -4
- package/components/Period/{index.3bd05e05.js → index.8e118051.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.c9400f03.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.9dc25af9.js} +14 -18
- package/components/PrintingSystem/subcomponents/BodyNode/{index.1dd418aa.js → index.6c1cf8f5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6aadd6b3.js → index.fdb01c74.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.91e65ff6.js → index.46c5eb9e.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.c2481749.js → index.18aa1ddd.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.758d94d1.js → index.f4b4ffca.js} +6 -2
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.732d7c58.js → index.9afcd686.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.1a20a9d4.js → index.a3967d23.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.8402e742.js → index.e1c05641.js} +5 -3
- package/components/PrintingSystem/subcomponents/SectionNode/{index.25aeb4aa.js → index.c5588090.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.2b632722.js → index.7792384b.js} +1 -1
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/{index.45482ca3.js → index.d61c943c.js} +4 -20
- package/components/Resizeable/{index.6478d7d8.js → index.18c86aff.js} +5 -5
- package/components/ResizeableWindow/types.d.ts +3 -5
- package/components/SideBar/{index.614f85fb.js → index.f5aecd41.js} +23 -22
- package/components/ToastContainer/{index.5e729fbb.js → index.83304f62.js} +5 -7
- package/components/animate/{index.4e9774a6.js → index.5d4575bc.js} +2 -6
- package/components/areas/components/AreasAdmin/{index.c1539c1b.js → index.c55d5c24.js} +28 -97
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.e084d8e9.js → index.2bec316e.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.827ee1e5.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.71bc8f19.js} +1 -1
- package/components/areas/index.4cc6a221.js +22 -0
- package/components/formatters/BooleanFormatter/{index.5ed55bda.js → index.b21353a5.js} +3 -2
- package/components/formatters/{index.4426a315.js → index.7b216229.js} +3 -7
- package/components/hook-form/HelperError/index.66bbcac3.js +30 -0
- package/components/hook-form/RHFAutocomplete/{index.01a8f57e.js → index.210ee73f.js} +7 -22
- package/components/hook-form/RHFAutocompleteAsync/{index.df1d5bca.js → index.e5935f63.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.23fc4851.js → index.a38715e3.js} +2 -22
- package/components/hook-form/RHFColorPicker/{index.c7695748.js → index.bcc1eced.js} +5 -21
- package/components/hook-form/RHFDateTime/{index.984b803f.js → index.fa80a8cb.js} +5 -21
- package/components/hook-form/RHFHelperError/index.d.ts +4 -0
- package/components/hook-form/RHFPeriod/{index.1852e7d3.js → index.d320e56f.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.ab689d7d.js} +6 -8
- package/components/hook-form/RHFUpload/{index.49edcb02.js → index.e251c9b6.js} +5 -22
- package/components/index.d.ts +2 -1
- 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.03998a42.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.b79ceae4.js +1338 -0
- package/components/maps/components/Map/index.d.ts +7 -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.779aa7a5.js +74 -0
- package/components/modal/WindowConfirm.ec73ba4f.js +102 -0
- package/components/modal/index.61389369.js +57 -0
- package/components/mui_extended/Accordion/{index.3087f40e.js → index.e15e10d9.js} +4 -4
- package/components/mui_extended/Button/{index.0f2552ed.js → index.5c68764a.js} +3 -3
- package/components/mui_extended/{CheckBox.38abccd8.js → CheckBox.e662d20c.js} +1 -1
- package/components/mui_extended/IconButton/{index.5afe56b7.js → index.a719445f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.cc54c35c.js → index.62359120.js} +5 -19
- package/components/mui_extended/Pager/{index.5fbbefe2.js → index.fa5f5ded.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.5aa6ea58.js} +1 -5
- package/components/mui_extended/ToggleButton/types.d.ts +2 -2
- package/components/mui_extended/ToggleIconButton/{index.2de19be3.js → index.47ddefd4.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.6085b148.js} +1 -1
- package/hocs/withToggle/index.d.ts +1 -9
- package/hocs/withToggle/types.d.ts +10 -0
- package/hooks/useFormAddEdit/index.59821a33.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.1c88654a.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 -198
- package/{node_modules.79f5ed2f.js → node_modules.bb836860.js} +1 -1
- package/package.json +6 -4
- package/{react-draggable.ee21cb7e.js → react-draggable.312ab17d.js} +1 -1
- package/{react-resizable.ee028152.js → react-resizable.f2c58a4c.js} +2 -2
- 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/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/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/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,100 +1,33 @@
|
|
|
1
|
-
import { shallow } from "zustand/shallow";
|
|
2
|
-
import { S as ScrollBar } from "../ScrollBar/index.010f1b9d.js";
|
|
3
1
|
import { useContext, useMemo, useEffect, createContext, useRef, createElement, useState, useCallback } from "react";
|
|
4
|
-
import clsx from "clsx";
|
|
5
2
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
6
|
-
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
7
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.5afe56b7.js";
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../vendor.f0742647.js";
|
|
10
|
-
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
11
|
-
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
12
|
-
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
13
|
-
import { P as Popover } from "../mui_extended/Popover/index.9f35d0eb.js";
|
|
14
|
-
import { I as Icon } from "../Icon/index.e215d0f0.js";
|
|
15
|
-
import { styled, useTheme } from "@mui/material/styles";
|
|
16
|
-
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
|
|
17
|
-
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.93e9112b.js";
|
|
18
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.82313aef.js";
|
|
19
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.c70ae272.js";
|
|
20
|
-
import { useFormContext, useWatch } from "react-hook-form";
|
|
21
|
-
import "@mui/material/Button";
|
|
22
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
23
|
-
import "../../contexts/ModalContext/index.ef38d747.js";
|
|
24
|
-
import "../../react-draggable.ee21cb7e.js";
|
|
25
|
-
import "../Resizeable/index.6478d7d8.js";
|
|
26
|
-
import "../modal/index.ac0c9093.js";
|
|
27
|
-
import "../animate/index.4e9774a6.js";
|
|
28
|
-
import "framer-motion";
|
|
29
|
-
import "react-router-dom";
|
|
30
|
-
import "../animate/LoadingScreen/index.1d0c4307.js";
|
|
31
|
-
import "../animate/PropagateLoader/index.7fab43c8.js";
|
|
32
3
|
import { useStore, createStore } from "zustand";
|
|
33
|
-
import "
|
|
34
|
-
import "../areas/components/AreasAdmin/index.c1539c1b.js";
|
|
35
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
36
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
37
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
38
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
39
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
40
|
-
import "../Image/index.d684bdf2.js";
|
|
41
|
-
import "@mui/lab";
|
|
42
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
43
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
44
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
45
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
46
|
-
import "../areas/components/AreasViewer/index.e084d8e9.js";
|
|
47
|
-
import "../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
48
|
-
import "../LoadingError/index.b3e4e8e5.js";
|
|
49
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
50
|
-
import { immer } from "zustand/middleware/immer";
|
|
51
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
52
|
-
import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.01a8f57e.js";
|
|
53
|
-
import "../HelperText/index.918bba47.js";
|
|
54
|
-
import "../../node_modules.79f5ed2f.js";
|
|
55
|
-
import "lodash-es/debounce";
|
|
56
|
-
import "lodash-es/each";
|
|
57
|
-
import "../hook-form/RHFColorPicker/index.c7695748.js";
|
|
58
|
-
import "lodash/debounce";
|
|
59
|
-
import "../hook-form/RHFAutocompleteAsync/index.df1d5bca.js";
|
|
60
|
-
import "../hook-form/RHFCheckbox/index.23fc4851.js";
|
|
61
|
-
import "@mui/x-date-pickers";
|
|
62
|
-
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.984b803f.js";
|
|
63
|
-
import { R as RHFTextField } from "../hook-form/RHFTextField/index.1167879e.js";
|
|
64
|
-
import "../hook-form/RHFPeriod/index.1852e7d3.js";
|
|
65
|
-
import "../Period/index.3bd05e05.js";
|
|
66
|
-
import "lodash/isString";
|
|
67
|
-
import "react-dropzone";
|
|
68
|
-
import "../hook-form/RHFUpload/index.49edcb02.js";
|
|
69
|
-
import "../formatters/index.4426a315.js";
|
|
70
|
-
import "../DataGrid/index.387652a9.js";
|
|
71
|
-
import "react-dnd";
|
|
72
|
-
import "react-dnd-html5-backend";
|
|
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 "../ObjectLogs/index.3a939c6b.js";
|
|
83
|
-
import "../../react-json-view.5636414a.js";
|
|
84
|
-
import "../PaperForm/index.013ed28b.js";
|
|
85
|
-
import "../PDFViewer/index.4d16e5bc.js";
|
|
86
|
-
import "../Page/index.890fbaac.js";
|
|
87
|
-
import "../PropertyValue/index.45482ca3.js";
|
|
88
|
-
import "../SplitLayout/index.30fd5861.js";
|
|
89
|
-
import "../../react-splitter-layout.c5d98bf7.js";
|
|
90
|
-
import "../ToastContainer/index.5e729fbb.js";
|
|
91
|
-
import "../SideBar/index.614f85fb.js";
|
|
92
|
-
import "../AppBar/index.c8e7b25c.js";
|
|
93
|
-
import "../AccountPopover/index.7060320a.js";
|
|
4
|
+
import { generateUtilityClasses, alpha, styled as styled$1, Skeleton, MenuItem } from "@mui/material";
|
|
94
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
95
|
-
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.
|
|
6
|
+
import { g as getComponentUtilityClass, i as isValidDate } from "../../utils/index.9ad3909a.js";
|
|
96
7
|
import { devtools } from "zustand/middleware";
|
|
8
|
+
import { immer } from "zustand/middleware/immer";
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
|
+
import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.8368ac0f.js";
|
|
11
|
+
import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.210ee73f.js";
|
|
12
|
+
import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
|
|
13
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
14
|
+
import { useFormContext, useWatch } from "react-hook-form";
|
|
15
|
+
import { shallow } from "zustand/shallow";
|
|
16
|
+
import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.fa80a8cb.js";
|
|
17
|
+
import { R as RHFTextField } from "../hook-form/RHFTextField/index.ab689d7d.js";
|
|
97
18
|
import * as Yup from "yup";
|
|
19
|
+
import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
|
|
20
|
+
import { styled, useTheme } from "@mui/material/styles";
|
|
21
|
+
import { S as ScrollBar } from "../ScrollBar/index.010f1b9d.js";
|
|
22
|
+
import clsx from "clsx";
|
|
23
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.a719445f.js";
|
|
24
|
+
import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.62359120.js";
|
|
25
|
+
import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
|
|
26
|
+
import { I as Icon } from "../Icon/index.282c5b58.js";
|
|
27
|
+
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.7769076a.js";
|
|
28
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.106c5327.js";
|
|
29
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.bd2a14b2.js";
|
|
30
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
98
31
|
const COMPONENT_PREFIX = "M4LDynamicFilter";
|
|
99
32
|
const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
|
|
100
33
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { useState, useRef, useEffect, useCallback
|
|
1
|
+
import { useState, useRef, useEffect, useCallback } from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import { throttle } from "lodash";
|
|
6
|
-
import { useResizeObserver } from "@m4l/graphics";
|
|
3
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.25e9f332.js";
|
|
7
4
|
import { styled, alpha } from "@mui/material/styles";
|
|
8
|
-
import { r as react_resizable_css } from "../../react-resizable.
|
|
5
|
+
import { r as react_resizable_css } from "../../react-resizable.f2c58a4c.js";
|
|
9
6
|
import { generateUtilityClasses } from "@mui/material";
|
|
10
7
|
import "@mui/base";
|
|
11
|
-
import "
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
9
|
const COMPONENT_CLASS_NAME = "M4LGridLayout";
|
|
13
10
|
const DEFAULT_COLS = 12;
|
|
14
11
|
const DEFAULT_ROW_HEIGHT = 20;
|
|
@@ -1146,64 +1143,12 @@ function GridLayout(props) {
|
|
|
1146
1143
|
children: [finalLayoutRender.map((li) => processGridItem(li, !!currentState.mounted)), placeholder()]
|
|
1147
1144
|
});
|
|
1148
1145
|
}
|
|
1149
|
-
function SizeProvider(ComposedComponent) {
|
|
1150
|
-
return (props) => {
|
|
1151
|
-
const {
|
|
1152
|
-
measureBeforeMount = true,
|
|
1153
|
-
...rest
|
|
1154
|
-
} = props;
|
|
1155
|
-
const refMounted = useRef(false);
|
|
1156
|
-
const [currentState, setCurrentState] = useState({
|
|
1157
|
-
mounted: false,
|
|
1158
|
-
width: DEFAULT_CONTAINER_WIDTH,
|
|
1159
|
-
height: DEFAULT_CONTAINER_HEIGHT
|
|
1160
|
-
});
|
|
1161
|
-
const onWindowResizeMemo = useMemo(() => () => {
|
|
1162
|
-
const node = elementRef.current;
|
|
1163
|
-
if (node instanceof HTMLElement && node.clientWidth) {
|
|
1164
|
-
setCurrentState((prev) => ({
|
|
1165
|
-
...prev,
|
|
1166
|
-
width: node.clientWidth,
|
|
1167
|
-
height: node.offsetHeight
|
|
1168
|
-
}));
|
|
1169
|
-
}
|
|
1170
|
-
}, []);
|
|
1171
|
-
const throttleResize = throttle(onWindowResizeMemo, THROTTLE_RESIZE_TIMEOUT, {
|
|
1172
|
-
leading: false,
|
|
1173
|
-
trailing: true
|
|
1174
|
-
});
|
|
1175
|
-
const onResize = useCallback((_target) => {
|
|
1176
|
-
throttleResize();
|
|
1177
|
-
}, []);
|
|
1178
|
-
const elementRef = useResizeObserver(onResize);
|
|
1179
|
-
useEffect(() => {
|
|
1180
|
-
setCurrentState((prev) => ({
|
|
1181
|
-
...prev,
|
|
1182
|
-
mounted: true
|
|
1183
|
-
}));
|
|
1184
|
-
refMounted.current = true;
|
|
1185
|
-
onWindowResizeMemo();
|
|
1186
|
-
}, []);
|
|
1187
|
-
if (measureBeforeMount && !currentState.mounted) {
|
|
1188
|
-
return /* @__PURE__ */ jsx("div", {
|
|
1189
|
-
className: clsx(props.className, COMPONENT_CLASS_NAME),
|
|
1190
|
-
style: props.style,
|
|
1191
|
-
ref: elementRef
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
return /* @__PURE__ */ jsx(ComposedComponent, {
|
|
1195
|
-
innerRef: elementRef,
|
|
1196
|
-
containerWidth: currentState.width,
|
|
1197
|
-
containerHeight: currentState.height,
|
|
1198
|
-
...rest
|
|
1199
|
-
});
|
|
1200
|
-
};
|
|
1201
|
-
}
|
|
1202
1146
|
export {
|
|
1203
|
-
|
|
1147
|
+
isEqualLayouts as A,
|
|
1148
|
+
COMPONENT_CLASS_NAME as C,
|
|
1204
1149
|
DEFAULT_COLS as D,
|
|
1205
1150
|
GridLayout as G,
|
|
1206
|
-
|
|
1151
|
+
THROTTLE_RESIZE_TIMEOUT as T,
|
|
1207
1152
|
calcGridItemWHPx as a,
|
|
1208
1153
|
calcGridColWidth as b,
|
|
1209
1154
|
calcXY as c,
|
|
@@ -1229,5 +1174,5 @@ export {
|
|
|
1229
1174
|
isEqualLayout as w,
|
|
1230
1175
|
DEFAULT_RESPONSIVE_BREAKPOINTS as x,
|
|
1231
1176
|
DEFAULT_RESPONSIVE_COLS as y,
|
|
1232
|
-
|
|
1177
|
+
noop as z
|
|
1233
1178
|
};
|
|
@@ -4,4 +4,4 @@ export { addLayoutItemToBreakPoints, addLayoutItemToBreakPointIfNoExists, cloneL
|
|
|
4
4
|
export { isEqualLayouts, isEqualLayout } from './utils';
|
|
5
5
|
export type { GridLayoutProps, LayoutItemRenderProps, Layout, LayoutItem, BaseLayoutItem, Layouts, } from './types';
|
|
6
6
|
export type { ContainerChangeEvent } from './subcomponents/Responsive/types';
|
|
7
|
-
export {
|
|
7
|
+
export { withSizeProvider } from './subcomponents/withSizeProvider';
|
package/components/GridLayout/subcomponents/Griditem/{index.8e4af155.js → index.25e9f332.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
2
|
-
import { D as DraggableCore_1 } from "../../../../react-draggable.
|
|
3
|
-
import { R as Resizable } from "../../../../react-resizable.
|
|
4
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.
|
|
2
|
+
import { D as DraggableCore_1 } from "../../../../react-draggable.312ab17d.js";
|
|
3
|
+
import { R as Resizable } from "../../../../react-resizable.f2c58a4c.js";
|
|
4
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.4d26c328.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { deepEqual } from "fast-equals";
|
|
7
7
|
import { jsx, Fragment } from "react/jsx-runtime";
|
package/components/GridLayout/subcomponents/Responsive/{index.c32210fc.js → index.3839890b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as
|
|
1
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.4d26c328.js";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import { useFirstRender } from "@m4l/graphics";
|
|
4
4
|
import { deepEqual } from "fast-equals";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { throttle } from "lodash";
|
|
4
|
+
import { useResizeObserver } from "@m4l/graphics";
|
|
5
|
+
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.4d26c328.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
function withSizeProvider(ComposedComponent) {
|
|
8
|
+
return (props) => {
|
|
9
|
+
const {
|
|
10
|
+
measureBeforeMount = true,
|
|
11
|
+
...rest
|
|
12
|
+
} = props;
|
|
13
|
+
const refMounted = useRef(false);
|
|
14
|
+
const [currentState, setCurrentState] = useState({
|
|
15
|
+
mounted: false,
|
|
16
|
+
width: DEFAULT_CONTAINER_WIDTH,
|
|
17
|
+
height: DEFAULT_CONTAINER_HEIGHT
|
|
18
|
+
});
|
|
19
|
+
const onWindowResizeMemo = useMemo(() => () => {
|
|
20
|
+
const node = elementRef.current;
|
|
21
|
+
if (node instanceof HTMLElement && node.clientWidth) {
|
|
22
|
+
setCurrentState((prev) => ({
|
|
23
|
+
...prev,
|
|
24
|
+
width: node.clientWidth,
|
|
25
|
+
height: node.offsetHeight
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
}, []);
|
|
29
|
+
const throttleResize = throttle(onWindowResizeMemo, THROTTLE_RESIZE_TIMEOUT, {
|
|
30
|
+
leading: false,
|
|
31
|
+
trailing: true
|
|
32
|
+
});
|
|
33
|
+
const onResize = useCallback((_target) => {
|
|
34
|
+
throttleResize();
|
|
35
|
+
}, []);
|
|
36
|
+
const elementRef = useResizeObserver(onResize);
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
setCurrentState((prev) => ({
|
|
39
|
+
...prev,
|
|
40
|
+
mounted: true
|
|
41
|
+
}));
|
|
42
|
+
refMounted.current = true;
|
|
43
|
+
onWindowResizeMemo();
|
|
44
|
+
}, []);
|
|
45
|
+
if (measureBeforeMount && !currentState.mounted) {
|
|
46
|
+
return /* @__PURE__ */ jsx("div", {
|
|
47
|
+
className: clsx(props.className, COMPONENT_CLASS_NAME),
|
|
48
|
+
style: props.style,
|
|
49
|
+
ref: elementRef
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return /* @__PURE__ */ jsx(ComposedComponent, {
|
|
53
|
+
innerRef: elementRef,
|
|
54
|
+
containerWidth: currentState.width,
|
|
55
|
+
containerHeight: currentState.height,
|
|
56
|
+
...rest
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export {
|
|
61
|
+
withSizeProvider as w
|
|
62
|
+
};
|
|
@@ -11,5 +11,5 @@ export interface ComponentResponsiveReactGridLayoutProps extends Omit<Responsive
|
|
|
11
11
|
measureBeforeMount?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare type MinimalParameters = Pick<CoreProps, 'containerWidth' | 'containerHeight' | 'innerRef' | 'style' | 'className'>;
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function withSizeProvider<T extends MinimalParameters>(ComposedComponent: FunctionComponent<T>): (props: Omit<T, 'containerWidth' | 'containerHeight' | 'innerRef'> & HOCProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
|
-
import "react";
|
|
3
|
-
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.e215d0f0.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "@m4l/graphics";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import "../mui_extended/IconButton/index.5afe56b7.js";
|
|
9
|
-
import "../mui_extended/Accordion/index.3087f40e.js";
|
|
10
|
-
import { T as Typography } from "../mui_extended/Typography/index.443590d6.js";
|
|
11
|
-
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
12
|
-
import "react-router-dom";
|
|
13
|
-
import "@mui/material/Button";
|
|
14
|
-
import "../mui_extended/Button/index.0f2552ed.js";
|
|
15
|
-
import "../mui_extended/CheckBox.38abccd8.js";
|
|
16
|
-
import "../mui_extended/Badge/index.b09524fe.js";
|
|
17
|
-
import "../Image/index.d684bdf2.js";
|
|
18
|
-
import "@mui/lab";
|
|
19
|
-
import "../mui_extended/MenuActions/index.cc54c35c.js";
|
|
20
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
21
|
-
import "../mui_extended/Stack/index.0e53197c.js";
|
|
22
|
-
import "../mui_extended/Tab/index.ae9ea641.js";
|
|
23
|
-
import "../mui_extended/Pager/index.5fbbefe2.js";
|
|
24
|
-
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
25
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
26
5
|
const HelperTextRoot = styled("div")(({
|
|
27
6
|
theme
|
|
28
7
|
}) => ({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from "react";
|
|
2
|
-
import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
3
|
-
import clsx from "clsx";
|
|
4
|
-
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
2
|
import { useEnvironment } from "@m4l/core";
|
|
7
|
-
import {
|
|
3
|
+
import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
4
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.f5aecd41.js";
|
|
8
5
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
+
import clsx from "clsx";
|
|
9
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
10
|
const IconRoot = styled("div")(({
|
|
11
11
|
theme
|
|
12
12
|
}) => ({
|
|
@@ -3,10 +3,10 @@ import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo }
|
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
|
-
import clsx from "clsx";
|
|
7
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
7
|
+
import clsx from "clsx";
|
|
8
|
+
import { c as classes, g as getSize } from "../PrintingSystem/index.9dc25af9.js";
|
|
9
|
+
import { Q as QRCode } from "../../node_modules.bb836860.js";
|
|
10
10
|
function isIntersectionObserverAvailable() {
|
|
11
11
|
return typeof window !== "undefined" && "IntersectionObserver" in window && "IntersectionObserverEntry" in window;
|
|
12
12
|
}
|
|
@@ -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.8915f577.js";
|
|
4
4
|
import { useLocales } from "@m4l/graphics";
|
|
5
|
+
import { I as ImageButton } from "../mui_extended/Button/index.5c68764a.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.282c5b58.js";
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
9
|
+
import { B as Button } from "../mui_extended/Button/index.5c68764a.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.d95e6efb.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.312ab17d.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.1c88654a.js";
|
|
4
|
+
import { R as ResizeableWindow } from "../Resizeable/index.18c86aff.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.8915f577.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|