@m4l/gclick 0.2.0 → 0.2.1
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/components/maps/components/GpsMap/GpsMap.js +3 -3
- package/components/maps/components/GpsMap/GpsMap.styles.js +74 -4
- package/components/maps/components/GpsMap/constants.d.ts +3 -1
- package/components/maps/components/GpsMap/constants.js +9 -41
- package/components/maps/components/GpsMap/contexts/MapContext/store.js +5 -7
- package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +6 -21
- package/components/maps/components/GpsMap/dictionary.js +0 -4
- package/components/maps/components/GpsMap/external/MapControl/types.d.ts +1 -2
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts +3 -1
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.js +13 -15
- package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/index.d.ts +1 -1
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/subcomponents/FeatureDivIconLabel/index.js +33 -0
- package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/types.d.ts +1 -1
- package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +1 -2
- package/components/maps/components/GpsMap/featureRenders/index.d.ts +0 -1
- package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +4 -3
- package/components/maps/components/GpsMap/icons.js +0 -5
- package/components/maps/components/GpsMap/slots/slots.d.ts +2 -2
- package/components/maps/components/GpsMap/slots/slots.js +2 -2
- package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.d.ts +23 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.js +32 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts +0 -12
- package/components/maps/components/GpsMap/subcomponents/Controls/index.js +7 -9
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.d.ts +4 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.js +41 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/types.d.ts +2 -2
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.js +9 -9
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.js +61 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.d.ts +7 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.js +38 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.d.ts +5 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/index.js +4 -6
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.js +1 -1
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/types.d.ts +7 -0
- package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +1 -1
- package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.js +2 -2
- package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/hooks/useClusterMarkers.d.ts +13 -0
- package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.d.ts +1 -1
- package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.js +3 -39
- package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.d.ts +1 -1
- package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.js +1 -1
- package/components/maps/components/GpsMap/types.d.ts +95 -8
- package/components/maps/components/GpsMapTools/constants.d.ts +1 -5
- package/components/maps/components/GpsMapTools/constants.js +2 -69
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.d.ts +21 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js +20 -0
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.d.ts +1 -21
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.js +1 -48
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.d.ts +1 -1
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.js +54 -58
- package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts +20 -79
- package/components/maps/components/GpsMapTools/dictionary.d.ts +67 -53
- package/components/maps/components/GpsMapTools/dictionary.js +58 -50
- package/components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.js +1 -1
- package/components/maps/components/GpsMapTools/icons.d.ts +58 -17
- package/components/maps/components/GpsMapTools/icons.js +45 -18
- package/components/maps/components/GpsMapTools/index.d.ts +4 -5
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.d.ts +4 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js +16 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js +52 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.js +17 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.d.ts +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.js +88 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts +27 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.js +79 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.d.ts +16 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.js +57 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.d.ts +19 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.js +57 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.js +32 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.js +20 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLayers.js +32 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.d.ts +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.js +104 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.d.ts +7 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.js +39 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts +12 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.js +55 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.d.ts +2 -2
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.js +30 -35
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.d.ts +18 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.js +70 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.d.ts +17 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.js +48 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/index.d.ts +1 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents → GeofencesTool}/model.d.ts +40 -12
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +45 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +3 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.js +31 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.d.ts +6 -15
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.js +32 -15
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +1 -1
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +108 -85
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.d.ts +10 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.js +98 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +1 -3
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +23 -24
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +6 -3
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +67 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.js +78 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.d.ts +8 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.js +43 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +6 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +3 -1
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +6 -1
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.js +19 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.js +64 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +2 -2
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +7 -10
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.d.ts +11 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.js +19 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.js +17 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +15 -22
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +9 -0
- package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/types.d.ts +17 -11
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts +5 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js +163 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/constants.d.ts +1 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.d.ts +17 -0
- package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.js +35 -0
- package/components/maps/components/GpsMapTools/types.d.ts +0 -18
- package/components/maps/index.d.ts +1 -1
- package/index.js +65 -66
- package/package.json +2 -1
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/constants.js +0 -4
- package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +0 -263
- package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +0 -33
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.d.ts +0 -10
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.js +0 -10
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.js +0 -52
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/types.d.ts +0 -2
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -9
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -58
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.d.ts +0 -9
- package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
- package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +0 -5
- package/components/maps/components/GpsMapTools/GpsMapTools.js +0 -10
- package/components/maps/components/GpsMapTools/classes/index.d.ts +0 -7
- package/components/maps/components/GpsMapTools/classes/index.js +0 -21
- package/components/maps/components/GpsMapTools/classes/types.d.ts +0 -14
- package/components/maps/components/GpsMapTools/hooks/useLayers/index.js +0 -57
- package/components/maps/components/GpsMapTools/styles.d.ts +0 -1
- package/components/maps/components/GpsMapTools/styles.js +0 -18
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +0 -84
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -71
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -51
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -128
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -55
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -76
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -111
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -164
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -73
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
- package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/model.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.js +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -0
- /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/types.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/{hooks/useLayers/index.d.ts → subcomponents/GeofencesTool/hooks/useLayers.d.ts} +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.d.ts} +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel}/types.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -0
- /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -0
|
@@ -1,21 +1 @@
|
|
|
1
|
-
|
|
2
|
-
declare const GpsMapToolsContext: import('react').Context<(Omit<Omit<import('zustand').StoreApi<import('./types').GpsMapToolsStateWithActions>, "setState"> & {
|
|
3
|
-
setState<A extends string | {
|
|
4
|
-
type: unknown;
|
|
5
|
-
}>(partial: import('./types').GpsMapToolsStateWithActions | Partial<import('./types').GpsMapToolsStateWithActions> | ((state: import('./types').GpsMapToolsStateWithActions) => import('./types').GpsMapToolsStateWithActions | Partial<import('./types').GpsMapToolsStateWithActions>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
6
|
-
}, "setState"> & {
|
|
7
|
-
setState(nextStateOrUpdater: import('./types').GpsMapToolsStateWithActions | Partial<import('./types').GpsMapToolsStateWithActions> | ((state: import('immer/dist/internal').WritableDraft<import('./types').GpsMapToolsStateWithActions>) => void), shouldReplace?: boolean | undefined, action?: string | {
|
|
8
|
-
type: unknown;
|
|
9
|
-
} | undefined): void;
|
|
10
|
-
}) | null>;
|
|
11
|
-
/**
|
|
12
|
-
* Provedor del contexto de los mapas
|
|
13
|
-
* Expone el store (MapStore) encargado de gestionar la creación, modificación y borrado de capas.
|
|
14
|
-
* @param props
|
|
15
|
-
* @returns
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* TODO: Documentar
|
|
19
|
-
*/
|
|
20
|
-
declare function GpsMapToolsProvider(props: GpsMapToolsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export { GpsMapToolsProvider, GpsMapToolsContext };
|
|
1
|
+
export { GpsMapToolsContext, GpsMapToolsProvider } from './GpsMapToolsContext';
|
|
@@ -1,48 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { createContext, useRef, useEffect } from "react";
|
|
3
|
-
import { useStore } from "zustand";
|
|
4
|
-
import { shallow } from "zustand/shallow";
|
|
5
|
-
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
6
|
-
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
|
-
import { c as createGpsMapToolsStore } from "./store.js";
|
|
8
|
-
const GpsMapToolsContext = createContext(null);
|
|
9
|
-
function GpsMapToolsProvider(props) {
|
|
10
|
-
const { children } = props;
|
|
11
|
-
const { getLabel } = useModuleDictionary();
|
|
12
|
-
const isDesktop = useResponsiveDesktop();
|
|
13
|
-
const isSkeleton = useModuleSkeleton();
|
|
14
|
-
const isFirstRender = useFirstRender([getLabel]);
|
|
15
|
-
const mapStoreRef = useRef();
|
|
16
|
-
if (!mapStoreRef.current) {
|
|
17
|
-
mapStoreRef.current = createGpsMapToolsStore({
|
|
18
|
-
getLabel,
|
|
19
|
-
ownerState: {
|
|
20
|
-
status: "init",
|
|
21
|
-
isMobile: !isDesktop,
|
|
22
|
-
isSkeleton,
|
|
23
|
-
focus: false
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
const { setHandlerGetLabel, setExternalState } = useStore(
|
|
28
|
-
mapStoreRef.current,
|
|
29
|
-
(state) => state.gpsToolsActions,
|
|
30
|
-
shallow
|
|
31
|
-
);
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
if (!isFirstRender) {
|
|
34
|
-
setHandlerGetLabel(getLabel);
|
|
35
|
-
}
|
|
36
|
-
}, [getLabel]);
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
if (isFirstRender) {
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
setExternalState({ isMobile: !isDesktop, isSkeleton });
|
|
42
|
-
}, [isDesktop, isSkeleton]);
|
|
43
|
-
return /* @__PURE__ */ jsx(GpsMapToolsContext.Provider, { value: mapStoreRef.current, children });
|
|
44
|
-
}
|
|
45
|
-
export {
|
|
46
|
-
GpsMapToolsContext as G,
|
|
47
|
-
GpsMapToolsProvider as a
|
|
48
|
-
};
|
|
1
|
+
|
|
@@ -5,7 +5,7 @@ import { GpsMapToolsStateWithActions, InitialGpsMapToolsStoreProps } from './typ
|
|
|
5
5
|
* @returns
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* crea el store de las herramientas de gps
|
|
9
9
|
*/
|
|
10
10
|
export declare const createGpsMapToolsStore: (initProps: InitialGpsMapToolsStoreProps) => Omit<Omit<import('zustand').StoreApi<GpsMapToolsStateWithActions>, "setState"> & {
|
|
11
11
|
setState<A extends string | {
|
|
@@ -5,20 +5,16 @@ import { enableMapSet } from "immer";
|
|
|
5
5
|
enableMapSet();
|
|
6
6
|
const createGpsMapToolsStore = (initProps) => {
|
|
7
7
|
const startProps = {
|
|
8
|
-
currentTabGpsTool: "geofences",
|
|
9
8
|
geofenceState: {
|
|
10
9
|
// currentGeofenceTool: 'list',
|
|
11
|
-
rows: [],
|
|
12
10
|
checkedGeofences: /* @__PURE__ */ new Set(),
|
|
13
|
-
checkedCrossingFeatures: /* @__PURE__ */ new Set(),
|
|
14
|
-
checkedInternalFeatures: /* @__PURE__ */ new Set(),
|
|
15
11
|
hashGeofences: {}
|
|
16
12
|
},
|
|
17
13
|
...initProps
|
|
18
14
|
};
|
|
19
15
|
return createStore(
|
|
20
16
|
devtools(
|
|
21
|
-
immer((set,
|
|
17
|
+
immer((set, get) => ({
|
|
22
18
|
...startProps,
|
|
23
19
|
gpsToolsActions: {
|
|
24
20
|
/**
|
|
@@ -36,70 +32,71 @@ const createGpsMapToolsStore = (initProps) => {
|
|
|
36
32
|
set((state) => {
|
|
37
33
|
state.ownerState.status = status;
|
|
38
34
|
});
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* TODO: Documentar
|
|
42
|
-
*/
|
|
43
|
-
setHandlerGetLabel: (newHandler) => {
|
|
44
|
-
set((state) => {
|
|
45
|
-
state.getLabel = newHandler;
|
|
46
|
-
});
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* TODO: Documentar
|
|
50
|
-
*/
|
|
51
|
-
setExternalState: (newExternalState) => {
|
|
52
|
-
set((state) => {
|
|
53
|
-
state.ownerState = { ...state.ownerState, ...newExternalState };
|
|
54
|
-
});
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* TODO: Documentar
|
|
58
|
-
*/
|
|
59
|
-
setCurrentTabTool: (newTabTool) => {
|
|
60
|
-
set((state) => {
|
|
61
|
-
state.currentTabGpsTool = newTabTool;
|
|
62
|
-
});
|
|
63
35
|
}
|
|
64
36
|
},
|
|
65
37
|
geofenceActions: {
|
|
66
|
-
// goToAddEdit: (geofenceId?: GeofenceId) => {
|
|
67
|
-
// set(state => {
|
|
68
|
-
// state.geofenceState.currentGeofenceTool = 'add_edit';
|
|
69
|
-
// state.geofenceState.geofenceId = geofenceId;
|
|
70
|
-
// });
|
|
71
|
-
// },
|
|
72
|
-
// goToList: (geofenceId?: GeofenceId) => {
|
|
73
|
-
// set(state => {
|
|
74
|
-
// state.geofenceState.currentGeofenceTool = 'list';
|
|
75
|
-
// state.geofenceState.geofenceId = geofenceId;
|
|
76
|
-
// });
|
|
77
|
-
// },
|
|
78
38
|
/**
|
|
79
|
-
*
|
|
39
|
+
* Esta función carga en el store la nueva geocerca proveniente del backend,
|
|
40
|
+
* Si ya existe solicita pintarla de nuevo por si tuvo algún cambio o es nueva.
|
|
41
|
+
* Esto se da cuando se intenta editar una geocerca sin haberla checkeado o cuando se da guardar en el add/edit geofence
|
|
80
42
|
*/
|
|
81
|
-
|
|
43
|
+
addOrReplaceGeofence: (geofenceId, newGeofence, ensureChecked = false) => {
|
|
44
|
+
let geofence = get().geofenceState.hashGeofences[geofenceId];
|
|
45
|
+
geofence = {
|
|
46
|
+
...geofence ? geofence : {},
|
|
47
|
+
...newGeofence,
|
|
48
|
+
mustPaintGeometry: geofence ? false : true
|
|
49
|
+
};
|
|
82
50
|
set((state) => {
|
|
83
51
|
state.geofenceState.hashGeofences[geofenceId] = geofence;
|
|
52
|
+
if (ensureChecked) {
|
|
53
|
+
if (!state.geofenceState.checkedGeofences.has(geofenceId)) {
|
|
54
|
+
state.geofenceState.checkedGeofences.add(geofenceId);
|
|
55
|
+
state.geofenceState.checkedGeofences = new Set(state.geofenceState.checkedGeofences);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
84
58
|
});
|
|
85
59
|
},
|
|
86
60
|
/**
|
|
87
|
-
*
|
|
61
|
+
* Veririfica si la geocerca ha cambiado con respecto al store, o si debe agregarse a el.
|
|
62
|
+
* Esto se da cuando llegan rows de la grilla, previniendo tener un falsa geocerca cargada.
|
|
88
63
|
*/
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
...
|
|
64
|
+
verifyAddOrChangedGeofenceFromList: (geofenceId, geofenceFromRow) => {
|
|
65
|
+
let geoToAddOrReplace = get().geofenceState.hashGeofences[geofenceId];
|
|
66
|
+
if (!geoToAddOrReplace) {
|
|
67
|
+
geoToAddOrReplace = {
|
|
68
|
+
...geofenceFromRow,
|
|
69
|
+
mustPaintGeometry: true
|
|
70
|
+
//Importante, si la geocerca es circulo o rectangulo, en el row viene ya la geometría, por lo tanto no necesita ser cargada desde el backend.
|
|
94
71
|
};
|
|
72
|
+
} else {
|
|
73
|
+
if (geofenceFromRow.updatedAt && geofenceFromRow.updatedAt !== geoToAddOrReplace.updatedAt) {
|
|
74
|
+
geoToAddOrReplace = {
|
|
75
|
+
...geoToAddOrReplace,
|
|
76
|
+
...geofenceFromRow,
|
|
77
|
+
geometry: geofenceFromRow.type.id === "gt_circle" || geofenceFromRow.type.id === "gt_rectangle" ? geofenceFromRow.geometry : null,
|
|
78
|
+
mustPaintGeometry: true
|
|
79
|
+
};
|
|
80
|
+
} else {
|
|
81
|
+
geoToAddOrReplace = void 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (!geoToAddOrReplace) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
set((state) => {
|
|
88
|
+
state.geofenceState.hashGeofences[geofenceId] = geoToAddOrReplace;
|
|
95
89
|
});
|
|
96
90
|
},
|
|
97
91
|
/**
|
|
98
|
-
*
|
|
92
|
+
* Actualizar parcialmente una geocerca, se pierde la anidación de los objetos por el spread operator
|
|
99
93
|
*/
|
|
100
|
-
|
|
94
|
+
setPartialValue: (geofenceId, geofence) => {
|
|
101
95
|
set((state) => {
|
|
102
|
-
state.geofenceState.
|
|
96
|
+
state.geofenceState.hashGeofences[geofenceId] = {
|
|
97
|
+
...state.geofenceState.hashGeofences[geofenceId],
|
|
98
|
+
...geofence
|
|
99
|
+
};
|
|
103
100
|
});
|
|
104
101
|
},
|
|
105
102
|
/**
|
|
@@ -131,17 +128,16 @@ const createGpsMapToolsStore = (initProps) => {
|
|
|
131
128
|
/**
|
|
132
129
|
* TODO: Documentar
|
|
133
130
|
*/
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
state.geofenceState.checkedCrossingFeatures = new Set(newFeatures);
|
|
137
|
-
});
|
|
131
|
+
getGeofenceById: (geofenceId) => {
|
|
132
|
+
return get().geofenceState.hashGeofences[geofenceId];
|
|
138
133
|
},
|
|
139
134
|
/**
|
|
140
135
|
* TODO: Documentar
|
|
141
136
|
*/
|
|
142
|
-
|
|
137
|
+
flushGeofences: () => {
|
|
143
138
|
set((state) => {
|
|
144
|
-
state.geofenceState.
|
|
139
|
+
state.geofenceState.hashGeofences = {};
|
|
140
|
+
state.geofenceState.checkedGeofences = /* @__PURE__ */ new Set();
|
|
145
141
|
});
|
|
146
142
|
}
|
|
147
143
|
}
|
|
@@ -1,54 +1,27 @@
|
|
|
1
|
-
import { GetLabelType } from '@m4l/core';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
2
|
import { FeatureId } from '../../../GpsMap';
|
|
4
|
-
import {
|
|
3
|
+
import { GeofenceListModel } from '../../subcomponents/GeofencesTool/model';
|
|
5
4
|
export type GpsToolsStatus = 'init' | 'ready';
|
|
6
5
|
export type CurrentTabGpsTool = 'geofences' | 'pois';
|
|
7
|
-
export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | '
|
|
8
|
-
hasRenderizedGeofence: boolean;
|
|
6
|
+
export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId' | 'bounds'> {
|
|
9
7
|
/**
|
|
10
|
-
*
|
|
8
|
+
* Indica si la geocerca debe ser pintada en el mapa
|
|
9
|
+
* Puede que la geocerca haya cambiado, este cargada en el store, pero no concuerda con la geometría pintada en el mapa,
|
|
10
|
+
* debe ser pintada nuevamente.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* "loadedCrossingFeatures" features cargados, mas no necesariamente visibles (incremental)
|
|
15
|
-
*/
|
|
16
|
-
loadedCrossingFeatures: CrossingFeature[] | null;
|
|
17
|
-
/**
|
|
18
|
-
* "loadedInternalFeatures" features internos cargados, mas no necesariamente visibles (incremental)
|
|
19
|
-
*/
|
|
20
|
-
loadedInternalFeatures: InternalFeature[] | null;
|
|
21
|
-
/**
|
|
22
|
-
* "renderizedInternalFeatures" indica si está renderizado los features internos
|
|
23
|
-
*/
|
|
24
|
-
hasRenderizedInternalFeatures: boolean;
|
|
12
|
+
mustPaintGeometry: boolean;
|
|
25
13
|
}
|
|
26
14
|
export type OwnerState = {
|
|
27
15
|
status: GpsToolsStatus;
|
|
28
|
-
/**
|
|
29
|
-
* "isMobile" cuando el navegador está en modo celular
|
|
30
|
-
*/
|
|
31
|
-
isMobile: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* "isSkeleton" indica si el componente está en skeleton.
|
|
34
|
-
*/
|
|
35
|
-
isSkeleton: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* focus: Estado de selección asignado por el usuario.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
focus: boolean;
|
|
41
16
|
};
|
|
42
17
|
/**
|
|
43
18
|
* Estados que se actulizan por fuera del store, a través de hooks
|
|
44
19
|
*/
|
|
45
|
-
export type ExternalOwnerState = Pick<OwnerState, 'isMobile' | 'isSkeleton'>;
|
|
46
20
|
export type CurrentGeofenceTool = 'list' | 'add_edit';
|
|
47
21
|
/**
|
|
48
22
|
* Tipo de dato del Id de la geocerca
|
|
49
23
|
*/
|
|
50
24
|
export interface GeofenceState {
|
|
51
|
-
rows: GeofenceListModel[];
|
|
52
25
|
/**
|
|
53
26
|
* "checkedGeofences" indica las geocercas visibles en el mapa
|
|
54
27
|
*/
|
|
@@ -57,14 +30,6 @@ export interface GeofenceState {
|
|
|
57
30
|
* "hashGeofences" Almacena las geocercas que se han cargado alguna vez, no necesariamente visibles
|
|
58
31
|
*/
|
|
59
32
|
hashGeofences: Record<FeatureId, GeofenceFeature>;
|
|
60
|
-
/**
|
|
61
|
-
* "checkedCrossingFeatures" indica los crossing features visibles en el mapa
|
|
62
|
-
*/
|
|
63
|
-
checkedCrossingFeatures: ReadonlySet<GeofenceId>;
|
|
64
|
-
/**
|
|
65
|
-
* "checkedInternalFeatures" indica los features internos visibles en el mapa
|
|
66
|
-
*/
|
|
67
|
-
checkedInternalFeatures: ReadonlySet<GeofenceId>;
|
|
68
33
|
}
|
|
69
34
|
/**
|
|
70
35
|
* Tipo de dato del Id de la geocerca
|
|
@@ -75,18 +40,10 @@ export type GeofenceId = number;
|
|
|
75
40
|
*/
|
|
76
41
|
export interface GpsMapToolsState {
|
|
77
42
|
ownerState: OwnerState;
|
|
78
|
-
/**
|
|
79
|
-
* "currentTabTool" indica la pestaña actual en uso
|
|
80
|
-
*/
|
|
81
|
-
currentTabGpsTool: CurrentTabGpsTool;
|
|
82
43
|
/**
|
|
83
44
|
* "geofenceState" manejo del estado lo relacionado con geocercas
|
|
84
45
|
*/
|
|
85
46
|
geofenceState: GeofenceState;
|
|
86
|
-
/**
|
|
87
|
-
* "getLabel" funcion que usará para traducir las etiquetas de diccionario
|
|
88
|
-
*/
|
|
89
|
-
getLabel: GetLabelType;
|
|
90
47
|
}
|
|
91
48
|
export interface GpsMapToolsStateWithActions extends GpsMapToolsState {
|
|
92
49
|
gpsToolsActions: {
|
|
@@ -98,39 +55,23 @@ export interface GpsMapToolsStateWithActions extends GpsMapToolsState {
|
|
|
98
55
|
* Cambia el estado del las herramientas de gps
|
|
99
56
|
*/
|
|
100
57
|
setGpsToolsState: (state: GpsToolsStatus) => void;
|
|
101
|
-
/**
|
|
102
|
-
* Actualiza la variable de estado "getLabel"
|
|
103
|
-
* @param newHandler handle o función que va a traducir las etiquetas, esto es necesario debido que getLabel de useModuleDictionary
|
|
104
|
-
* cambia por el useCallback, cuando el diccionario se carga.
|
|
105
|
-
* @returns void
|
|
106
|
-
*/
|
|
107
|
-
setHandlerGetLabel: (newHandler: GetLabelType) => void;
|
|
108
|
-
/**
|
|
109
|
-
* Modifica los estados que se actualizan externamente al Store
|
|
110
|
-
* @param newIsMobile
|
|
111
|
-
* @returns
|
|
112
|
-
*/
|
|
113
|
-
setExternalState: (newExternalState: ExternalOwnerState) => void;
|
|
114
|
-
/**
|
|
115
|
-
* Modifica los estados que se actualizan externamente al Store
|
|
116
|
-
* @param newIsMobile
|
|
117
|
-
* @returns
|
|
118
|
-
*/
|
|
119
|
-
setCurrentTabTool: (newTabTool: CurrentTabGpsTool) => void;
|
|
120
58
|
};
|
|
121
59
|
geofenceActions: {
|
|
122
60
|
/**
|
|
123
|
-
*
|
|
61
|
+
* Esta función carga en el store la nueva geocerca proveniente del backend,
|
|
62
|
+
* Si ya existe solicita pintarla de nuevo por si tuvo algún cambio o es nueva.
|
|
63
|
+
* Esto se da cuando se intenta editar una geocerca sin haberla checkeado o cuando se da guardar en el add/edit geofence
|
|
124
64
|
*/
|
|
125
|
-
|
|
65
|
+
addOrReplaceGeofence: (geofenceId: GeofenceId, newGeofence: GeofenceFeature, ensureChecked?: boolean) => void;
|
|
126
66
|
/**
|
|
127
|
-
*
|
|
67
|
+
* Veririfica si la geocerca ha cambiado con respecto al store, o si debe agregarse a el.
|
|
68
|
+
* Esto se da cuando llegan rows de la grilla, previniendo tener un falsa geocerca cargada.
|
|
128
69
|
*/
|
|
129
|
-
|
|
70
|
+
verifyAddOrChangedGeofenceFromList: (geofenceId: GeofenceId, geofence: GeofenceFeature) => void;
|
|
130
71
|
/**
|
|
131
|
-
* Actualizar la
|
|
72
|
+
* Actualizar parcialmente una geocerca, se pierde la anidación de los objetos por el spread operator
|
|
132
73
|
*/
|
|
133
|
-
|
|
74
|
+
setPartialValue: (geofenceId: GeofenceId, geofence: Partial<GeofenceFeature>) => void;
|
|
134
75
|
/**
|
|
135
76
|
* Agrega una geocerca del set de chequeo
|
|
136
77
|
*/
|
|
@@ -144,17 +85,17 @@ export interface GpsMapToolsStateWithActions extends GpsMapToolsState {
|
|
|
144
85
|
*/
|
|
145
86
|
removeCheckedGeofence: (geofenceId: GeofenceId) => void;
|
|
146
87
|
/**
|
|
147
|
-
*
|
|
88
|
+
* Obtiene las geocerca cargada, para evitar re-renders por suscribirse al hasGeofences
|
|
148
89
|
*/
|
|
149
|
-
|
|
90
|
+
getGeofenceById: (geofenceId: GeofenceId) => GeofenceFeature | undefined;
|
|
150
91
|
/**
|
|
151
|
-
*
|
|
92
|
+
* Flush el store de las geocercas
|
|
152
93
|
*/
|
|
153
|
-
|
|
94
|
+
flushGeofences: () => void;
|
|
154
95
|
};
|
|
155
96
|
}
|
|
156
97
|
export type DefaultGpsMapToolsStoreProps = Omit<GpsMapToolsState, 'currentLayer'>;
|
|
157
|
-
export type InitialGpsMapToolsStoreProps = Pick<GpsMapToolsState, '
|
|
98
|
+
export type InitialGpsMapToolsStoreProps = Pick<GpsMapToolsState, 'ownerState'> & Partial<DefaultGpsMapToolsStoreProps>;
|
|
158
99
|
export interface GpsMapToolsProviderProps {
|
|
159
100
|
children: ReactNode;
|
|
160
101
|
}
|
|
@@ -1,62 +1,76 @@
|
|
|
1
|
-
export declare const MAPGPSTOOLS_DICTIONARY_ID = "
|
|
1
|
+
export declare const MAPGPSTOOLS_DICTIONARY_ID = "map_gps_tools";
|
|
2
2
|
/**
|
|
3
3
|
* TODO: Documentar
|
|
4
4
|
*/
|
|
5
5
|
export declare function getGpsMapToolsComponentsDictionary(): string[];
|
|
6
6
|
export declare const MAP_GPSTOOLS_DICCTIONARY: {
|
|
7
7
|
/** Common */
|
|
8
|
+
readonly STEP_BASIC_INFORMATION: "map_gps_tools.step_basic_information";
|
|
9
|
+
readonly STEP_BASIC_INFORMATION_DESCRIPTION: "map_gps_tools.step_basic_information_description";
|
|
10
|
+
readonly STEP_STYLE: "map_gps_tools.step_style";
|
|
11
|
+
readonly STEP_STYLE_DESCRIPTION: "map_gps_tools.step_style_description";
|
|
12
|
+
readonly STEP_ASSIGNMENT: "map_gps_tools.step_assignment";
|
|
13
|
+
readonly STEP_ASSIGNMENT_DESCRIPTION: "map_gps_tools.step_assignment_description";
|
|
8
14
|
/** GeofenceList */
|
|
9
|
-
readonly MODULE_NAME_GEOFENCE_ADD: "module_name_geofence_add";
|
|
10
|
-
readonly MODULE_NAME_GEOFENCE_EDIT: "module_name_geofence_edit";
|
|
11
|
-
readonly ROW_ACTION_GEO_EDIT: "row_action_geo_edit";
|
|
12
|
-
readonly ROW_ACTION_GEO_DELETE: "row_action_geo_delete";
|
|
15
|
+
readonly MODULE_NAME_GEOFENCE_ADD: "map_gps_tools.module_name_geofence_add";
|
|
16
|
+
readonly MODULE_NAME_GEOFENCE_EDIT: "map_gps_tools.module_name_geofence_edit";
|
|
17
|
+
readonly ROW_ACTION_GEO_EDIT: "map_gps_tools.row_action_geo_edit";
|
|
18
|
+
readonly ROW_ACTION_GEO_DELETE: "map_gps_tools.row_action_geo_delete";
|
|
13
19
|
/** GeofenceAddEdit */
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
30
|
-
readonly
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
20
|
+
readonly LABEL_GEOFENCES: "map_gps_tools.label_geofences";
|
|
21
|
+
readonly LABEL_TAB_FILTERED: "map_gps_tools.label_tab_filtered";
|
|
22
|
+
readonly LABEL_TAB_SELECTED: "map_gps_tools.label_tab_selected";
|
|
23
|
+
readonly TAB_GENERAL_CONFIG_TOOLTIP: "map_gps_tools.tab_general_config_tooltip";
|
|
24
|
+
readonly PAPER_GENERAL: "map_gps_tools.paper_general";
|
|
25
|
+
readonly LABEL_ID: "map_gps_tools.label_id";
|
|
26
|
+
readonly LABEL_NAME: "map_gps_tools.label_name";
|
|
27
|
+
readonly LABEL_ALIAS: "map_gps_tools.label_alias";
|
|
28
|
+
readonly LABEL_CUSTOMER_ID: "map_gps_tools.label_customer_id";
|
|
29
|
+
readonly LABEL_GEOMETRY_TYPE: "map_gps_tools.label_geometry_type";
|
|
30
|
+
readonly LABEL_GEOMETRY_CIRCLE: "map_gps_tools.label_geometry_circle";
|
|
31
|
+
readonly LABEL_GEOMETRY_RECTANGLE: "map_gps_tools.label_geometry_rectangle";
|
|
32
|
+
readonly LABEL_GEOMETRY_POLYGON: "map_gps_tools.label_geometry_polygon";
|
|
33
|
+
readonly LABEL_GEOMETRY_MULTIPOLYGON: "map_gps_tools.label_geometry_multipolygon";
|
|
34
|
+
readonly LABEL_DRAW: "map_gps_tools.label_draw";
|
|
35
|
+
readonly LABEL_DRAW_EDIT: "map_gps_tools.label_draw_edit";
|
|
36
|
+
readonly LABEL_FINISH: "map_gps_tools.label_finish";
|
|
37
|
+
readonly PAPER_CONFIG: "map_gps_tools.paper_config";
|
|
38
|
+
readonly LABEL_TIME_MIN_IN: "map_gps_tools.label_time_min_in";
|
|
39
|
+
readonly LABEL_TIME_MIN_OUT: "map_gps_tools.label_time_min_out";
|
|
40
|
+
readonly LABEL_TIME_UNIT_SECONDS: "map_gps_tools.label_time_unit_seconds";
|
|
41
|
+
readonly TAB_STYLE_CONFIG_TOOLTIP: "map_gps_tools.tab_style_tooltip";
|
|
42
|
+
readonly PAPER_STROKE: "map_gps_tools.paper_stroke";
|
|
43
|
+
readonly LABEL_COLOR: "map_gps_tools.label_color";
|
|
44
|
+
readonly LABEL_OPACITY: "map_gps_tools.label_opacity";
|
|
45
|
+
readonly LABEL_WEIGHT: "map_gps_tools.label_weight";
|
|
46
|
+
readonly LABEL_DASH_ARRAY: "map_gps_tools.label_dash_array";
|
|
47
|
+
readonly PAPER_FILL: "map_gps_tools.paper_fill";
|
|
48
|
+
readonly LABEL_RADIUS: "map_gps_tools.label_radius";
|
|
49
|
+
readonly LABEL_LAT: "map_gps_tools.label_lat";
|
|
50
|
+
readonly LABEL_LON: "map_gps_tools.label_lon";
|
|
51
|
+
readonly LABEL_GEOMAN_PLACE_MARKER: "map_gps_tools.label_geoman_place_marker";
|
|
52
|
+
readonly LABEL_GEOMAN_FIRST_VERTEX: "map_gps_tools.label_geoman_first_vertex";
|
|
53
|
+
readonly LABEL_GEOMAN_CONTINUE_LINE: "map_gps_tools.label_geoman_continue_line";
|
|
54
|
+
readonly LABEL_GEOMAN_FINISH_LINE: "map_gps_tools.label_geoman_finish_line";
|
|
55
|
+
readonly LABEL_GEOMAN_FINISH_POLYLINE: "map_gps_tools.label_geoman_finish_polyline";
|
|
56
|
+
readonly LABEL_GEOMAN_FINISH_RECT: "map_gps_tools.label_geoman_finish_rect";
|
|
57
|
+
readonly LABEL_GEOMAN_START_CIRCLE: "map_gps_tools.label_geoman_start_circle";
|
|
58
|
+
readonly LABEL_GEOMAN_FINISH_CIRCLE: "map_gps_tools.label_geoman_finish_circle";
|
|
59
|
+
readonly LABEL_GEOMAN_PLACE_CIRCLE_MARKER: "map_gps_tools.label_geoman_place_circle_marker";
|
|
60
|
+
readonly LABEL_STROKE_PATTERN_SOLID: "map_gps_tools.label_stroke_pattern_solid";
|
|
61
|
+
readonly LABEL_STROKE_PATTERN_DASH: "map_gps_tools.label_stroke_pattern_dash";
|
|
62
|
+
readonly VALIDATION_GEOMETRY_REQUIRED: "map_gps_tools.validation_geometry_required";
|
|
63
|
+
readonly VALIDATION_FIELD_REQUIRED: "map_gps_tools.validation_field_required";
|
|
64
|
+
readonly VALIDATION_IS_IN_EDITION: "map_gps_tools.validation_is_in_edition";
|
|
65
|
+
readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "map_gps_tools.validation_field_type_number_error";
|
|
66
|
+
readonly VALIDATION_FIELD_MIN_NUMBER_ERROR: "map_gps_tools.validation_field_min_number_error";
|
|
67
|
+
readonly LABEL_VIEW_TRANSIT_FEATURES: "map_gps_tools.label_view_crossing_features";
|
|
68
|
+
readonly LABEL_VIEW_INTERNAL_FEATURES: "map_gps_tools.label_view_internal_features";
|
|
69
|
+
readonly LABEL_CREATED_AT: "map_gps_tools.label_created_at";
|
|
70
|
+
readonly LABEL_UPDATED_AT: "map_gps_tools.label_updated_at";
|
|
71
|
+
readonly MODAL_DELETE_GEO_TITLE: "map_gps_tools.modal_delete_geo_title";
|
|
72
|
+
readonly MODAL_DELETE_GEO_MESSAGE: "map_gps_tools.modal_delete_geo_message";
|
|
73
|
+
readonly MODAL_DISABLE_GEO_TITLE: "map_gps_tools.modal_disable_geo_title";
|
|
74
|
+
readonly MODAL_DISABLE_MESSAGE: "map_gps_tools.modal_disable_geo_message";
|
|
75
|
+
readonly ACTION_CANCEL: "map_gps_tools.action_cancel";
|
|
62
76
|
};
|