@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { LatLngExpression } from 'leaflet';
|
|
3
|
+
import { PolylineProps } from 'react-leaflet';
|
|
4
|
+
interface PolylineWithArrowsProps extends PolylineProps {
|
|
5
|
+
positions: LatLngExpression[];
|
|
6
|
+
enableEdit?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const PolylineWithArrows: React.FC<PolylineWithArrowsProps>;
|
|
9
|
+
export default PolylineWithArrows;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PolylineWithArrows } from './PolylineWithArrows';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CheckedNameSet } from '../../../contexts/MapContext/types';
|
|
2
|
+
/**
|
|
3
|
+
* Hook encargado de cargar las capas checkeadas y setter de acuerdo al nombre del set de capas
|
|
4
|
+
* @param layerId
|
|
5
|
+
* @param checkedType
|
|
6
|
+
* @param endpoint
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCheckedLayers(checkedNameSet: CheckedNameSet): [ReadonlySet<string>, (newFeatures: ReadonlySet<string>) => void];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Column } from 'react-data-grid';
|
|
2
|
+
import { LayersListModel } from '../model';
|
|
3
|
+
declare type UseColumnsProps<Row> = {
|
|
4
|
+
rowKeyGetter: (row: Row) => string;
|
|
5
|
+
visibleLayers: ReadonlySet<string>;
|
|
6
|
+
setVisibleLayers: (newSet: ReadonlySet<string>) => void;
|
|
7
|
+
autoFocusLayers: ReadonlySet<string>;
|
|
8
|
+
setAutoFocusLayers: (newSet: ReadonlySet<string>) => void;
|
|
9
|
+
clusterLayers: ReadonlySet<string>;
|
|
10
|
+
setClusterLayers: (newSet: ReadonlySet<string>) => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function useColumns(props: UseColumnsProps<LayersListModel>): {
|
|
13
|
+
columns: Column<LayersListModel, unknown>[];
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LayersListModel } from '../model';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* @returns
|
|
5
|
+
*/
|
|
6
|
+
export declare function useMaster(): {
|
|
7
|
+
rowKeyGetter: (row: LayersListModel) => string;
|
|
8
|
+
columns: import("react-data-grid").Column<LayersListModel, unknown>[];
|
|
9
|
+
rows: LayersListModel[];
|
|
10
|
+
checkedRows: ReadonlySet<string>;
|
|
11
|
+
onCheckedRowsChange: (newFeatures: ReadonlySet<string>) => void;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function LayersTool(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare type LayerId = string;
|
|
2
|
+
/**
|
|
3
|
+
* @description Modelo de datos proveniente del endpoint get de geocercas
|
|
4
|
+
* @interface GeofenceGetModel
|
|
5
|
+
*/
|
|
6
|
+
export interface LayersListModel {
|
|
7
|
+
/**
|
|
8
|
+
* id de la geocerca
|
|
9
|
+
*/
|
|
10
|
+
id: LayerId;
|
|
11
|
+
/**
|
|
12
|
+
* "name" Traducción del nombre de la capa
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* "active" si está activa o no lo capa para visualización
|
|
17
|
+
*/
|
|
18
|
+
active?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { LayerProps } from './types';
|
|
4
|
+
export declare type LefaletLayerRef = {
|
|
5
|
+
clickTimeout: NodeJS.Timeout | null;
|
|
6
|
+
clickCount: number;
|
|
7
|
+
handleClickSetted: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* "MyLayer" Este compoente es el encargado de renderizar todos los features de una capa.
|
|
11
|
+
* Utilizando la propiedad renderFeature, que tiene cada capa.
|
|
12
|
+
*
|
|
13
|
+
* @author Juan Escobar
|
|
14
|
+
* @param props
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
export declare const MyLayer: React.FC<LayerProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import L from 'leaflet';
|
|
3
|
+
/**
|
|
4
|
+
* Augmengta la funcionalidad de leaflet, porque utiliza el mismo namespace de leflet,
|
|
5
|
+
* Como: MarkerCluster, L.MarkerClusterGroup, etc.
|
|
6
|
+
* aportanto mas metodos, eventos y propiedades a los objetos de leaflet,
|
|
7
|
+
* Tomado del codigo fuente de
|
|
8
|
+
* https://github.com/yuzhva/react-leaflet-markercluster/tree/master?tab=readme-ov-file
|
|
9
|
+
*/
|
|
10
|
+
import { MarkerClusterGroupProps } from './types';
|
|
11
|
+
/**
|
|
12
|
+
* MarkerClusterGroup, es un componente funcional que enmascara el comportamiento que
|
|
13
|
+
* leaflet.markercluster tiene, no aporta lógica adicional, solo es un wrapper para que funcione
|
|
14
|
+
* en React. Utilizando createPathComponent de @react-leaflet/core.
|
|
15
|
+
*
|
|
16
|
+
* @author Juan Andrés Escobar
|
|
17
|
+
* @date 2024/02/22
|
|
18
|
+
* @returns ForwardRefExoticComponent (significa que es un componente que ha sido envuelto con React.forwardRef.).
|
|
19
|
+
*/
|
|
20
|
+
export declare const MarkerClusterGroup: import("react").ForwardRefExoticComponent<L.MarkerClusterGroupOptions & import("@react-leaflet/core").PathProps & import("./types").PropsWithChildren & import("react").RefAttributes<MarkerClusterGroupProps>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PathProps } from '@react-leaflet/core';
|
|
2
|
+
import { FeatureGroup, LeafletEventHandlerFn, MarkerClusterGroupOptions } from "leaflet";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
export interface MarkerClusterGroupProps extends FeatureGroup, MarkerClusterGroupOptions {
|
|
5
|
+
onClustering?: LeafletEventHandlerFn;
|
|
6
|
+
onCluster?: LeafletEventHandlerFn;
|
|
7
|
+
}
|
|
8
|
+
export declare type PropsWithChildren = {
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare type PathWithChildrenProps = MarkerClusterGroupOptions & PathProps & PropsWithChildren;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RenderByEachFeatureProps } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* "RenderByEachFeatureComponent": Es un wrapper de renderFeature,
|
|
5
|
+
* Se realizó con el fin de que no haya re-renderizado de los features,
|
|
6
|
+
* Sin este wrapper cada vez que se actualiza LeafletLayer, se re-renderiza todos lo features.
|
|
7
|
+
* @param param0
|
|
8
|
+
* @returns
|
|
9
|
+
* @author Juan Escobar
|
|
10
|
+
*/
|
|
11
|
+
export declare const RenderByEachFeatureComponent: React.FC<RenderByEachFeatureProps>;
|
|
12
|
+
export declare const MemonizedRenderByEachFeatureComponent: React.NamedExoticComponent<RenderByEachFeatureProps>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export declare type Localization = {
|
|
3
|
+
/**
|
|
4
|
+
* "lat" Posición en del eje "Y" en grados.
|
|
5
|
+
*/
|
|
6
|
+
lat: number;
|
|
7
|
+
/**
|
|
8
|
+
* "lng" Posición en del eje "X" en grados.
|
|
9
|
+
*/
|
|
10
|
+
lng: number;
|
|
11
|
+
};
|
|
12
|
+
export declare type Point = {
|
|
13
|
+
/**
|
|
14
|
+
* "x" Posición en del eje "X" en pixeles.
|
|
15
|
+
*/
|
|
16
|
+
x: number;
|
|
17
|
+
/**
|
|
18
|
+
* "y" Posición en del eje "Y" en pixeles.
|
|
19
|
+
*/
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
export interface MapProps {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
startLat?: number;
|
|
25
|
+
startLon?: number;
|
|
26
|
+
gpsTools?: ReactNode;
|
|
27
|
+
aditionalMainTools?: ReactNode;
|
|
28
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Map, MapProvider, MapContext, useMapStore, MarkerFeatureRender } from './components/Map';
|
|
2
|
+
export type { MapProps, RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry } from './components/Map';
|
|
3
|
+
export { GpsTools, useMapToolsStore } from './components/GpsTools';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
2
|
+
import { useEnvironment } from "@m4l/core";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.b705c196.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.aa9949f0.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.acc61361.js";
|
|
8
|
+
const Header = (props) => {
|
|
9
|
+
const {
|
|
10
|
+
title,
|
|
11
|
+
onClickCancel,
|
|
12
|
+
urlIcon,
|
|
13
|
+
classes
|
|
14
|
+
} = props;
|
|
15
|
+
const {
|
|
16
|
+
host_static_assets,
|
|
17
|
+
environment_assets
|
|
18
|
+
} = useEnvironment();
|
|
19
|
+
const handlerClick = (e) => {
|
|
20
|
+
e.stopPropagation();
|
|
21
|
+
onClickCancel && onClickCancel();
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
24
|
+
id: "Header",
|
|
25
|
+
className: clsx(classes.headerContainer, "m4l_draggable_handle"),
|
|
26
|
+
children: [urlIcon && /* @__PURE__ */ jsx("div", {
|
|
27
|
+
className: classes.iconHeader,
|
|
28
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
29
|
+
src: urlIcon,
|
|
30
|
+
size: "medium"
|
|
31
|
+
})
|
|
32
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
33
|
+
className: classes.titleHeader,
|
|
34
|
+
children: title
|
|
35
|
+
}), /* @__PURE__ */ jsx(IconButton, {
|
|
36
|
+
className: classes.iconCloseHeader,
|
|
37
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/close.svg`,
|
|
38
|
+
onClick: (e) => handlerClick(e),
|
|
39
|
+
"aria-label": "click"
|
|
40
|
+
})]
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const WindowBase = (props) => {
|
|
44
|
+
const {
|
|
45
|
+
children,
|
|
46
|
+
onClickCancel,
|
|
47
|
+
...other
|
|
48
|
+
} = props;
|
|
49
|
+
const {
|
|
50
|
+
closeModal,
|
|
51
|
+
variant
|
|
52
|
+
} = useModal();
|
|
53
|
+
const onCloseCancel = () => {
|
|
54
|
+
onClickCancel && onClickCancel();
|
|
55
|
+
closeModal();
|
|
56
|
+
};
|
|
57
|
+
const classes = modalUtilityClasses({
|
|
58
|
+
variant
|
|
59
|
+
});
|
|
60
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
61
|
+
className: classes.windowBaseRoot,
|
|
62
|
+
children: [/* @__PURE__ */ jsx(Header, {
|
|
63
|
+
...other,
|
|
64
|
+
onClickCancel: onCloseCancel,
|
|
65
|
+
classes
|
|
66
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
67
|
+
className: classes.windowContent,
|
|
68
|
+
children
|
|
69
|
+
})]
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
export {
|
|
73
|
+
WindowBase as W
|
|
74
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.8368ac0f.js";
|
|
2
|
+
import { Typography } from "@mui/material";
|
|
3
|
+
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
+
import { u as useModal } from "../../hooks/useModal/index.acc61361.js";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { I as Image } from "../Image/index.d5fed0ab.js";
|
|
7
|
+
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.a4534b0b.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.06365996.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.b97cfeec.js";
|
|
11
|
+
const dictionary = {
|
|
12
|
+
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
|
+
};
|
|
14
|
+
const MessageIlustration = (props) => {
|
|
15
|
+
const {
|
|
16
|
+
getLabel
|
|
17
|
+
} = useModuleDictionary();
|
|
18
|
+
const {
|
|
19
|
+
variant
|
|
20
|
+
} = useModal();
|
|
21
|
+
const {
|
|
22
|
+
msg = getLabel(dictionary.MESSAGE),
|
|
23
|
+
classes,
|
|
24
|
+
title
|
|
25
|
+
} = props;
|
|
26
|
+
const {
|
|
27
|
+
host_static_assets,
|
|
28
|
+
environment_assets
|
|
29
|
+
} = useEnvironment();
|
|
30
|
+
const illustrationWarning = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_warning.svg`;
|
|
31
|
+
const illustrationDanger = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_danger.svg`;
|
|
32
|
+
const illustrationSuccess = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_success.svg`;
|
|
33
|
+
const illustrationInfo = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustrator_confirm_info.svg`;
|
|
34
|
+
return /* @__PURE__ */ jsx("div", {
|
|
35
|
+
className: classes.containerMassageIlustration,
|
|
36
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
37
|
+
className: classes.modalContent,
|
|
38
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
39
|
+
className: classes.illustrationContainer,
|
|
40
|
+
children: /* @__PURE__ */ jsx(Image, {
|
|
41
|
+
className: classes.illustration,
|
|
42
|
+
src: variant === "warning" ? illustrationWarning : variant === "delete" ? illustrationDanger : variant === "success" ? illustrationSuccess : illustrationInfo
|
|
43
|
+
})
|
|
44
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
45
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
46
|
+
variant: "subtitle",
|
|
47
|
+
children: title
|
|
48
|
+
})
|
|
49
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
50
|
+
className: classes.messageContainer,
|
|
51
|
+
children: /* @__PURE__ */ jsx(Typography, {
|
|
52
|
+
variant: "body",
|
|
53
|
+
children: msg
|
|
54
|
+
})
|
|
55
|
+
})]
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
const WindowConfirm = (props) => {
|
|
60
|
+
const {
|
|
61
|
+
variant,
|
|
62
|
+
title,
|
|
63
|
+
onClickCancel,
|
|
64
|
+
onClickIntro,
|
|
65
|
+
msg
|
|
66
|
+
} = props;
|
|
67
|
+
const {
|
|
68
|
+
closeModal
|
|
69
|
+
} = useModal();
|
|
70
|
+
const {
|
|
71
|
+
getLabel
|
|
72
|
+
} = useModuleDictionary();
|
|
73
|
+
const {
|
|
74
|
+
host_static_assets,
|
|
75
|
+
environment_assets
|
|
76
|
+
} = useEnvironment();
|
|
77
|
+
const onCloseCancel = () => {
|
|
78
|
+
onClickCancel && onClickCancel();
|
|
79
|
+
closeModal();
|
|
80
|
+
};
|
|
81
|
+
const classes = modalUtilityClasses({
|
|
82
|
+
variant
|
|
83
|
+
});
|
|
84
|
+
return /* @__PURE__ */ jsxs(WindowBase, {
|
|
85
|
+
title: getLabel("modal_dialog.label_window_confirm"),
|
|
86
|
+
urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/window_confirm.svg`,
|
|
87
|
+
children: [/* @__PURE__ */ jsx(MessageIlustration, {
|
|
88
|
+
classes,
|
|
89
|
+
msg,
|
|
90
|
+
title
|
|
91
|
+
}), /* @__PURE__ */ jsxs(Actions, {
|
|
92
|
+
children: [/* @__PURE__ */ jsx(ActionCancel, {
|
|
93
|
+
onClick: onCloseCancel
|
|
94
|
+
}), /* @__PURE__ */ jsx(ActionIntro, {
|
|
95
|
+
onClick: onClickIntro
|
|
96
|
+
})]
|
|
97
|
+
})]
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
WindowConfirm as W
|
|
102
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
+
const componentName = "M4LModal";
|
|
4
|
+
generateUtilityClasses(componentName, [
|
|
5
|
+
"root",
|
|
6
|
+
"windowBaseRoot",
|
|
7
|
+
"containerWindow",
|
|
8
|
+
"headerContainer",
|
|
9
|
+
"iconHeader",
|
|
10
|
+
"titleHeader",
|
|
11
|
+
"iconCloseHeader",
|
|
12
|
+
"containerMassageIlustration",
|
|
13
|
+
"modalContent",
|
|
14
|
+
"illustrationContainer",
|
|
15
|
+
"messageContainer",
|
|
16
|
+
"illustration",
|
|
17
|
+
"windowConfirm",
|
|
18
|
+
"resizeHandle",
|
|
19
|
+
"windowContent",
|
|
20
|
+
"variantDelete",
|
|
21
|
+
"variantWarning",
|
|
22
|
+
"variantInfo",
|
|
23
|
+
"variantPrimary"
|
|
24
|
+
]);
|
|
25
|
+
function getModalUtilityClass(slot) {
|
|
26
|
+
return generateUtilityClass(componentName, slot);
|
|
27
|
+
}
|
|
28
|
+
const modalUtilityClasses = (ownerState) => {
|
|
29
|
+
const slots = {
|
|
30
|
+
root: ["root", ownerState?.variant === "delete" && "variantDelete", ownerState.variant === "warning" && "variantWarning", ownerState.variant === "info" && "variantInfo", ownerState.variant === "success" && "variantSuccess"],
|
|
31
|
+
windowBaseRoot: ["windowBaseRoot"],
|
|
32
|
+
containerWindow: ["containerWindow"],
|
|
33
|
+
headerContainer: ["headerContainer"],
|
|
34
|
+
iconHeader: ["iconHeader"],
|
|
35
|
+
titleHeader: ["titleHeader"],
|
|
36
|
+
iconCloseHeader: ["iconCloseHeader"],
|
|
37
|
+
containerMassageIlustration: ["containerMassageIlustration"],
|
|
38
|
+
modalContent: ["modalContent"],
|
|
39
|
+
illustrationContainer: ["illustrationContainer"],
|
|
40
|
+
messageContainer: ["messageContainer"],
|
|
41
|
+
illustration: ["illustration"],
|
|
42
|
+
windowConfirm: ["windowConfirm"],
|
|
43
|
+
resizeHandle: ["resizeHandle"],
|
|
44
|
+
windowContent: ["windowContent"]
|
|
45
|
+
};
|
|
46
|
+
const composedClasses = unstable_composeClasses(slots, getModalUtilityClass, {});
|
|
47
|
+
return {
|
|
48
|
+
...composedClasses
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
const getModalDictionary = () => {
|
|
52
|
+
return "modal_dialog";
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
getModalDictionary as g,
|
|
56
|
+
modalUtilityClasses as m
|
|
57
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.b705c196.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.e215d0f0.js";
|
|
6
|
-
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
7
5
|
import clsx from "clsx";
|
|
8
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../../
|
|
7
|
+
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.14875ec7.js";
|
|
10
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.aa9949f0.js";
|
|
10
|
+
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { useUtilityClasses } from ".";
|
|
2
1
|
export interface ButtonClassesType {
|
|
3
2
|
root: string;
|
|
4
3
|
skeleton: string;
|
|
@@ -16,4 +15,3 @@ export interface ButtonClassesType {
|
|
|
16
15
|
toggleNotPressed: string;
|
|
17
16
|
}
|
|
18
17
|
export declare type ButtonClassesKey = keyof ButtonClassesType;
|
|
19
|
-
export declare type Classes = ReturnType<typeof useUtilityClasses>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, IconButton, Tooltip } from "@mui/material";
|
|
3
3
|
import MuiButton from "@mui/material/Button";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
4
5
|
import clsx from "clsx";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
import { useMemo } from "react";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
8
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
+
import { I as Image } from "../../Image/index.d5fed0ab.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
+
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -146,7 +146,7 @@ function ImageButton({
|
|
|
146
146
|
}) : imageButton
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
const componentName = "
|
|
149
|
+
const componentName = "M4LoadingButton";
|
|
150
150
|
generateUtilityClasses(componentName, [
|
|
151
151
|
"root",
|
|
152
152
|
"skeleton",
|
|
@@ -171,7 +171,7 @@ const useUtilityClasses = (onwerState) => {
|
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
173
|
const LoadingButtonRoot = styled("div")(({ theme }) => ({
|
|
174
|
-
...theme.components?.
|
|
174
|
+
...theme.components?.M4LoadingButton?.styleOverrides
|
|
175
175
|
}));
|
|
176
176
|
const LOADINGBUTTON_PREFIX = "M4LoadingButton";
|
|
177
177
|
const getNameDataTestId = (KEY) => {
|
|
@@ -4,8 +4,8 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { T as Typography } from "./Typography/index.443590d6.js";
|
|
8
7
|
import { forwardRef } from "react";
|
|
8
|
+
import { T as Typography } from "./Typography/index.379dd374.js";
|
|
9
9
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
10
10
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
11
11
|
"root",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } 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, Fragment } from "react/jsx-runtime";
|
|
6
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
6
7
|
import clsx from "clsx";
|
|
7
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const SkeletonIconButton = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
classes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const componentName = "
|
|
1
|
+
export declare const componentName = "M4LoadingButton";
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useMemo } from "react";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { IconButton, generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
4
|
-
import { P as Popover } from "../Popover/index.
|
|
4
|
+
import { P as Popover } from "../Popover/index.b3eca6b1.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
7
|
-
import { I as IconButton$1 } from "../IconButton/index.5afe56b7.js";
|
|
6
|
+
import { I as Icon } from "../../Icon/index.aa9949f0.js";
|
|
8
7
|
import clsx from "clsx";
|
|
9
|
-
import "../Accordion/index.3087f40e.js";
|
|
10
|
-
import "../Typography/index.443590d6.js";
|
|
11
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
12
|
-
import "../Avatar/index.75e6ed57.js";
|
|
13
|
-
import "react-router-dom";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import "../Button/index.0f2552ed.js";
|
|
16
|
-
import "../CheckBox.38abccd8.js";
|
|
17
|
-
import { B as Badge } from "../Badge/index.b09524fe.js";
|
|
18
|
-
import "../../Image/index.d684bdf2.js";
|
|
19
|
-
import "@mui/lab";
|
|
20
|
-
import "../Stack/index.0e53197c.js";
|
|
21
|
-
import "../Tab/index.ae9ea641.js";
|
|
22
|
-
import "../Pager/index.5fbbefe2.js";
|
|
23
|
-
import "@m4l/graphics";
|
|
24
|
-
import "../Tooltip/index.5a795dcd.js";
|
|
25
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
10
|
+
import { B as Badge } from "../Badge/index.09f5aee5.js";
|
|
11
|
+
import { I as IconButton$1 } from "../IconButton/index.b705c196.js";
|
|
26
12
|
styled(IconButton)(() => ({}));
|
|
27
13
|
const LabelMemuItem = styled("div")(({
|
|
28
14
|
theme
|
|
@@ -2,11 +2,11 @@ import { useMemo } from "react";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import {
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.5afe56b7.js";
|
|
5
|
+
import { I as IconButton } from "../IconButton/index.b705c196.js";
|
|
7
6
|
import { useEnvironment } from "@m4l/core";
|
|
8
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
9
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
|
+
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
10
10
|
const PagerRoot = styled("div")(({ theme }) => ({
|
|
11
11
|
...theme.components?.M4LPager?.styleOverrides
|
|
12
12
|
}));
|
|
@@ -126,6 +126,7 @@ function PagerActions(props) {
|
|
|
126
126
|
return /* @__PURE__ */ jsxs(WrapperPagerActions, {
|
|
127
127
|
className: classes.pagerActions,
|
|
128
128
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
129
|
+
id: "test_bruce",
|
|
129
130
|
dictionaryTooltipId: "pager.first",
|
|
130
131
|
onClick: handleFirstPageButtonClick,
|
|
131
132
|
disabled: page === 0,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { generateUtilityClasses, generateUtilityClass, styled, Tabs as Tabs$1, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { g as getNameDataTestId } from "../../../
|
|
8
|
+
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.14875ec7.js";
|
|
9
9
|
import { createContext, useState } from "react";
|
|
10
10
|
const componentName$2 = "M4LTabs";
|
|
11
11
|
generateUtilityClasses(componentName$2, [
|
|
@@ -149,9 +149,9 @@ function TabProvider(props) {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
export {
|
|
152
|
-
|
|
152
|
+
Tabs as T,
|
|
153
153
|
Tab as a,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
TabContent as b,
|
|
155
|
+
TabProvider as c,
|
|
156
|
+
TabContext as d
|
|
157
157
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ToggleButton: (props: import("../../../hocs/withToggle").ComponentWithToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const ToggleButton: (props: import("../../../hocs/withToggle/types").ComponentWithToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
2
|
+
import { B as Button, b as buttonClasses } from "../Button/index.007f5a6e.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "@m4l/core";
|
|
6
|
-
import "@mui/material";
|
|
7
|
-
import "@mui/material/Button";
|
|
8
|
-
import "react";
|
|
9
5
|
const ToggleAbleButton = ({
|
|
10
6
|
onClick,
|
|
11
7
|
isPressed,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentWithToggleProps, WithToggleProps } from '../../../hocs/withToggle';
|
|
1
|
+
import type { ComponentWithToggleProps, WithToggleProps } from '../../../hocs/withToggle/types';
|
|
2
2
|
import { ButtonProps } from '../Button';
|
|
3
|
-
export interface
|
|
3
|
+
export interface ToggleButtonProps extends Omit<ButtonProps, 'onClick'>, Pick<ComponentWithToggleProps, 'onClick'>, Pick<WithToggleProps, 'isPressed'> {
|
|
4
4
|
}
|