@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.
Files changed (270) hide show
  1. package/components/maps/components/GpsMap/GpsMap.js +3 -3
  2. package/components/maps/components/GpsMap/GpsMap.styles.js +74 -4
  3. package/components/maps/components/GpsMap/constants.d.ts +3 -1
  4. package/components/maps/components/GpsMap/constants.js +9 -41
  5. package/components/maps/components/GpsMap/contexts/MapContext/store.js +5 -7
  6. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +6 -21
  7. package/components/maps/components/GpsMap/dictionary.js +0 -4
  8. package/components/maps/components/GpsMap/external/MapControl/types.d.ts +1 -2
  9. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts +3 -1
  10. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.js +13 -15
  11. package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/index.d.ts +1 -1
  12. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/subcomponents/FeatureDivIconLabel/index.js +33 -0
  13. package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/types.d.ts +1 -1
  14. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +1 -2
  15. package/components/maps/components/GpsMap/featureRenders/index.d.ts +0 -1
  16. package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +4 -3
  17. package/components/maps/components/GpsMap/icons.js +0 -5
  18. package/components/maps/components/GpsMap/slots/slots.d.ts +2 -2
  19. package/components/maps/components/GpsMap/slots/slots.js +2 -2
  20. package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.d.ts +23 -0
  21. package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.js +32 -0
  22. package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts +0 -12
  23. package/components/maps/components/GpsMap/subcomponents/Controls/index.js +7 -9
  24. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.d.ts +4 -0
  25. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.js +41 -0
  26. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/types.d.ts +2 -2
  27. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.js +9 -9
  28. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.d.ts +5 -0
  29. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.js +61 -0
  30. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.d.ts +7 -0
  31. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.js +38 -0
  32. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.d.ts +5 -0
  33. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/index.js +4 -6
  34. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.js +1 -1
  35. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/types.d.ts +7 -0
  36. package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +1 -1
  37. package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.js +2 -2
  38. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/hooks/useClusterMarkers.d.ts +13 -0
  39. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.d.ts +1 -1
  40. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.js +3 -39
  41. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.d.ts +1 -1
  42. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.js +1 -1
  43. package/components/maps/components/GpsMap/types.d.ts +95 -8
  44. package/components/maps/components/GpsMapTools/constants.d.ts +1 -5
  45. package/components/maps/components/GpsMapTools/constants.js +2 -69
  46. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.d.ts +21 -0
  47. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js +20 -0
  48. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.d.ts +1 -21
  49. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.js +1 -48
  50. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.d.ts +1 -1
  51. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.js +54 -58
  52. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts +20 -79
  53. package/components/maps/components/GpsMapTools/dictionary.d.ts +67 -53
  54. package/components/maps/components/GpsMapTools/dictionary.js +58 -50
  55. package/components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.js +1 -1
  56. package/components/maps/components/GpsMapTools/icons.d.ts +58 -17
  57. package/components/maps/components/GpsMapTools/icons.js +45 -18
  58. package/components/maps/components/GpsMapTools/index.d.ts +4 -5
  59. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.d.ts +4 -0
  60. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js +16 -0
  61. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts +12 -0
  62. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js +52 -0
  63. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.d.ts +9 -0
  64. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.js +17 -0
  65. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.d.ts +8 -0
  66. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.js +88 -0
  67. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts +27 -0
  68. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.js +79 -0
  69. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.d.ts +16 -0
  70. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.js +57 -0
  71. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.d.ts +19 -0
  72. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.js +57 -0
  73. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.d.ts +5 -0
  74. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.js +32 -0
  75. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.d.ts +5 -0
  76. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.js +20 -0
  77. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLayers.js +32 -0
  78. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.d.ts +8 -0
  79. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.js +104 -0
  80. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.d.ts +7 -0
  81. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.js +39 -0
  82. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts +12 -0
  83. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.js +55 -0
  84. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.d.ts +2 -2
  85. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.js +30 -35
  86. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.d.ts +18 -0
  87. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.js +70 -0
  88. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.d.ts +17 -0
  89. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.js +48 -0
  90. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/index.d.ts +1 -0
  91. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents → GeofencesTool}/model.d.ts +40 -12
  92. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts +5 -0
  93. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +45 -0
  94. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +3 -0
  95. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.js +31 -0
  96. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.d.ts +6 -15
  97. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.js +32 -15
  98. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +1 -1
  99. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +108 -85
  100. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.d.ts +10 -0
  101. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.js +98 -0
  102. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +1 -3
  103. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +23 -24
  104. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +6 -3
  105. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +67 -0
  106. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.js +78 -0
  107. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.d.ts +8 -0
  108. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.js +43 -0
  109. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +6 -0
  110. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +3 -1
  111. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +6 -1
  112. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.d.ts +5 -0
  113. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.js +19 -0
  114. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.d.ts +9 -0
  115. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.js +64 -0
  116. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +2 -2
  117. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +7 -10
  118. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.d.ts +11 -0
  119. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.js +19 -0
  120. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.d.ts +9 -0
  121. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.js +17 -0
  122. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +15 -22
  123. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +9 -0
  124. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/types.d.ts +17 -11
  125. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts +5 -0
  126. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js +163 -0
  127. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/constants.d.ts +1 -0
  128. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.d.ts +17 -0
  129. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.js +35 -0
  130. package/components/maps/components/GpsMapTools/types.d.ts +0 -18
  131. package/components/maps/index.d.ts +1 -1
  132. package/index.js +65 -66
  133. package/package.json +2 -1
  134. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/constants.js +0 -4
  135. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +0 -263
  136. package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +0 -33
  137. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.d.ts +0 -10
  138. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.js +0 -10
  139. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
  140. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.js +0 -52
  141. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/types.d.ts +0 -2
  142. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
  143. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
  144. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -9
  145. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -58
  146. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.d.ts +0 -9
  147. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
  148. package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +0 -5
  149. package/components/maps/components/GpsMapTools/GpsMapTools.js +0 -10
  150. package/components/maps/components/GpsMapTools/classes/index.d.ts +0 -7
  151. package/components/maps/components/GpsMapTools/classes/index.js +0 -21
  152. package/components/maps/components/GpsMapTools/classes/types.d.ts +0 -14
  153. package/components/maps/components/GpsMapTools/hooks/useLayers/index.js +0 -57
  154. package/components/maps/components/GpsMapTools/styles.d.ts +0 -1
  155. package/components/maps/components/GpsMapTools/styles.js +0 -18
  156. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
  157. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +0 -84
  158. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  159. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
  160. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
  161. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
  162. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -71
  163. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
  164. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
  165. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -51
  166. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -128
  167. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  168. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
  169. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -55
  170. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
  171. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -76
  172. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
  173. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  174. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
  175. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
  176. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
  177. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
  178. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
  179. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -111
  180. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
  181. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -164
  182. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
  183. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -73
  184. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
  185. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
  186. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
  187. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
  188. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
  189. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
  190. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
  191. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.d.ts +0 -0
  192. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/types.d.ts +0 -0
  193. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.d.ts +0 -0
  194. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.js +0 -0
  195. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.d.ts +0 -0
  196. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.js +0 -0
  197. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/types.d.ts +0 -0
  198. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.d.ts +0 -0
  199. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.js +0 -0
  200. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.d.ts +0 -0
  201. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.js +0 -0
  202. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.d.ts +0 -0
  203. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.js +0 -0
  204. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.d.ts +0 -0
  205. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.js +0 -0
  206. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/types.d.ts +0 -0
  207. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/types.d.ts +0 -0
  208. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.d.ts +0 -0
  209. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.js +0 -0
  210. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.d.ts +0 -0
  211. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.js +0 -0
  212. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.d.ts +0 -0
  213. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.js +0 -0
  214. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.d.ts +0 -0
  215. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.js +0 -0
  216. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.d.ts +0 -0
  217. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.js +0 -0
  218. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.d.ts +0 -0
  219. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.js +0 -0
  220. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.d.ts +0 -0
  221. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.js +0 -0
  222. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.d.ts +0 -0
  223. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.js +0 -0
  224. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.d.ts +0 -0
  225. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.js +0 -0
  226. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/types.d.ts +0 -0
  227. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/types.d.ts +0 -0
  228. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.d.ts +0 -0
  229. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.js +0 -0
  230. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.d.ts +0 -0
  231. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.js +0 -0
  232. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.d.ts +0 -0
  233. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.js +0 -0
  234. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -0
  235. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -0
  236. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -0
  237. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -0
  238. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -0
  239. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.js +0 -0
  240. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/model.d.ts +0 -0
  241. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.d.ts +0 -0
  242. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.js +0 -0
  243. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.d.ts +0 -0
  244. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.js +0 -0
  245. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -0
  246. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -0
  247. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -0
  248. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -0
  249. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -0
  250. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -0
  251. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -0
  252. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/types.d.ts +0 -0
  253. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.d.ts +0 -0
  254. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.d.ts +0 -0
  255. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.js +0 -0
  256. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/types.d.ts +0 -0
  257. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -0
  258. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/types.d.ts +0 -0
  259. /package/components/maps/components/GpsMapTools/{hooks/useLayers/index.d.ts → subcomponents/GeofencesTool/hooks/useLayers.d.ts} +0 -0
  260. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -0
  261. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -0
  262. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -0
  263. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -0
  264. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -0
  265. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -0
  266. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.d.ts} +0 -0
  267. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel}/types.d.ts +0 -0
  268. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -0
  269. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -0
  270. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -0
@@ -1,21 +1 @@
1
- import { GpsMapToolsProviderProps } from './types';
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
- import { jsx } from "react/jsx-runtime";
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
- * TODO: Documentar
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, _get) => ({
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
- * TODO: Documentar
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
- addGeofence: (geofenceId, geofence) => {
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
- * TODO: Documentar
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
- updatePartialGeofence: (geofenceId, geofence) => {
90
- set((state) => {
91
- state.geofenceState.hashGeofences[geofenceId] = {
92
- ...state.geofenceState.hashGeofences[geofenceId],
93
- ...geofence
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
- * TODO: Documentar
92
+ * Actualizar parcialmente una geocerca, se pierde la anidación de los objetos por el spread operator
99
93
  */
100
- updateRows: (newRows) => {
94
+ setPartialValue: (geofenceId, geofence) => {
101
95
  set((state) => {
102
- state.geofenceState.rows = newRows;
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
- setCheckedCrossingFeatures: (newFeatures) => {
135
- set((state) => {
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
- setCheckedInternalFeatures: (newFeatures) => {
137
+ flushGeofences: () => {
143
138
  set((state) => {
144
- state.geofenceState.checkedInternalFeatures = new Set(newFeatures);
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 { CrossingFeature, GeofenceListModel, InternalFeature } from '../../subcomponents/TabsGpsTools/subcomponents/model';
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' | 'countCrossingFeatures' | 'countInternalFeatures' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId'> {
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
- * "renderizedCrossingFeatures" indica si está renderizado los features de cruce
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
- hasRenderizedCrossingFeatures: boolean;
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
- * Agrega una geocerca al store
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
- addGeofence: (geofenceId: GeofenceId, geofence: GeofenceFeature) => void;
65
+ addOrReplaceGeofence: (geofenceId: GeofenceId, newGeofence: GeofenceFeature, ensureChecked?: boolean) => void;
126
66
  /**
127
- * Actualizar parcialmente una geocerca
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
- updatePartialGeofence: (geofenceId: GeofenceId, geofence: Partial<GeofenceFeature>) => void;
70
+ verifyAddOrChangedGeofenceFromList: (geofenceId: GeofenceId, geofence: GeofenceFeature) => void;
130
71
  /**
131
- * Actualizar la filas que son mostradas en el grid de geocercas
72
+ * Actualizar parcialmente una geocerca, se pierde la anidación de los objetos por el spread operator
132
73
  */
133
- updateRows: (newRows: GeofenceListModel[]) => void;
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
- * Cambia el set de chequeo de los crossing features
88
+ * Obtiene las geocerca cargada, para evitar re-renders por suscribirse al hasGeofences
148
89
  */
149
- setCheckedCrossingFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
90
+ getGeofenceById: (geofenceId: GeofenceId) => GeofenceFeature | undefined;
150
91
  /**
151
- * Cambia el set de chequeo de los internal features
92
+ * Flush el store de las geocercas
152
93
  */
153
- setCheckedInternalFeatures: (newFeatures: ReadonlySet<GeofenceId>) => void;
94
+ flushGeofences: () => void;
154
95
  };
155
96
  }
156
97
  export type DefaultGpsMapToolsStoreProps = Omit<GpsMapToolsState, 'currentLayer'>;
157
- export type InitialGpsMapToolsStoreProps = Pick<GpsMapToolsState, 'getLabel' | 'ownerState'> & Partial<DefaultGpsMapToolsStoreProps>;
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 = "gps_tools";
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 LABEL_TAB_GEO: "label_tab_geo";
15
- readonly TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip";
16
- readonly PAPER_GENERAL: "paper_general";
17
- readonly LABEL_ID: "label_id";
18
- readonly LABEL_NAME: "label_name";
19
- readonly LABEL_ALIAS: "label_alias";
20
- readonly LABEL_CUSTOMER_ID: "label_customer_id";
21
- readonly LABEL_GEOMETRY_TYPE: "label_geometry_type";
22
- readonly LABEL_GEOMETRY_CIRCLE: "label_geometry_circle";
23
- readonly LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle";
24
- readonly LABEL_GEOMETRY_POLYGON: "label_geometry_polygon";
25
- readonly LABEL_DRAW: "label_draw";
26
- readonly LABEL_FINISH: "label_finish";
27
- readonly PAPER_CONFIG: "paper_config";
28
- readonly LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds";
29
- readonly LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds";
30
- readonly TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip";
31
- readonly PAPER_STROKE: "paper_stroke";
32
- readonly LABEL_COLOR: "label_color";
33
- readonly LABEL_OPACITY: "label_opacity";
34
- readonly LABEL_WEIGHT: "label_weight";
35
- readonly LABEL_DASH_ARRAY: "label_dash_array";
36
- readonly PAPER_FILL: "paper_fill";
37
- readonly LABEL_RADIUS: "label_radius";
38
- readonly LABEL_LAT: "label_lat";
39
- readonly LABEL_LON: "label_lon";
40
- readonly LABEL_PLACE_MARKER: "label_place_marker";
41
- readonly LABEL_FIRST_VERTEX: "label_first_vertex";
42
- readonly LABEL_CONTINUE_LINE: "label_continue_line";
43
- readonly LABEL_FINISH_LINE: "label_finish_line";
44
- readonly LABEL_FINISH_POLY: "label_finish_poly";
45
- readonly LABEL_FINISH_RECT: "label_finish_rect";
46
- readonly LABEL_START_CIRCLE: "label_start_circle";
47
- readonly LABEL_FINISH_CIRCLE: "label_finish_circle";
48
- readonly LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker";
49
- readonly VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required";
50
- readonly VALIDATION_FIELD_REQUIRED: "validation_field_required";
51
- readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error";
52
- readonly VALIDATION_FIELD_MIN_NUMBER_ERROR: "validation_field_min_number_error";
53
- readonly LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features";
54
- readonly LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features";
55
- readonly LABEL_CREATED_AT: "label_created_at";
56
- readonly LABEL_UPDATED_AT: "label_updated_at";
57
- readonly MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title";
58
- readonly MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message";
59
- readonly MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title";
60
- readonly MODAL_DISABLE_MESSAGE: "modal_disable_geo_message";
61
- readonly ACTION_CANCEL: "action_cancel";
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
  };