@m4l/gclick 0.3.6 → 0.3.7

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 (324) hide show
  1. package/components/ReportsViewer/hooks/useSheetContent/useSheetContent.d.ts +1 -1
  2. package/components/formatters/CourseFormatter/CourseFormatter.d.ts.map +1 -0
  3. package/{formatters → components/formatters}/CourseFormatter/CourseFormatter.js +2 -2
  4. package/components/formatters/CourseFormatter/CourseFormatter.styles.d.ts.map +1 -0
  5. package/components/formatters/CourseFormatter/constants.d.ts.map +1 -0
  6. package/components/formatters/CourseFormatter/dictionary.d.ts.map +1 -0
  7. package/components/formatters/CourseFormatter/helper.d.ts.map +1 -0
  8. package/components/formatters/CourseFormatter/index.d.ts.map +1 -0
  9. package/components/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts.map +1 -0
  10. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +4 -0
  11. package/components/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts.map +1 -0
  12. package/components/formatters/CourseFormatter/types.d.ts.map +1 -0
  13. package/components/formatters/index.d.ts +2 -0
  14. package/components/formatters/index.d.ts.map +1 -0
  15. package/components/index.d.ts +1 -0
  16. package/components/index.d.ts.map +1 -1
  17. package/components/indicators/IndicatorBattery/IndicatorBattery.d.ts +1 -1
  18. package/components/indicators/IndicatorBattery/IndicatorBattery.d.ts.map +1 -1
  19. package/components/indicators/IndicatorBattery/IndicatorBattery.js +51 -53
  20. package/components/maps/components/GpsMap/GpsMap.js +16 -16
  21. package/components/maps/components/GpsMap/GpsMap.styles.d.ts.map +1 -1
  22. package/components/maps/components/GpsMap/GpsMap.styles.js +2 -0
  23. package/components/maps/components/GpsMap/__testing__/GpsMapTestWrapper.d.ts +38 -0
  24. package/components/maps/components/GpsMap/__testing__/GpsMapTestWrapper.d.ts.map +1 -0
  25. package/components/maps/components/GpsMap/__testing__/constants.d.ts +36 -0
  26. package/components/maps/components/GpsMap/__testing__/constants.d.ts.map +1 -0
  27. package/components/maps/components/GpsMap/__testing__/fixtures.d.ts +54 -0
  28. package/components/maps/components/GpsMap/__testing__/fixtures.d.ts.map +1 -0
  29. package/components/maps/components/GpsMap/__testing__/index.d.ts +5 -0
  30. package/components/maps/components/GpsMap/__testing__/index.d.ts.map +1 -0
  31. package/components/maps/components/GpsMap/__testing__/renderFeatureTestSupport.d.ts +51 -0
  32. package/components/maps/components/GpsMap/__testing__/renderFeatureTestSupport.d.ts.map +1 -0
  33. package/components/maps/components/GpsMap/classes/index.d.ts +1 -2
  34. package/components/maps/components/GpsMap/classes/index.d.ts.map +1 -1
  35. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.d.ts.map +1 -1
  36. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.js +6 -10
  37. package/components/maps/components/GpsMap/contexts/MapContext/helpers/toolControllerRegistry.d.ts +21 -0
  38. package/components/maps/components/GpsMap/contexts/MapContext/helpers/toolControllerRegistry.d.ts.map +1 -0
  39. package/components/maps/components/GpsMap/contexts/MapContext/helpers/toolControllerRegistry.js +27 -0
  40. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +1 -1
  41. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts.map +1 -1
  42. package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts +1 -1
  43. package/components/maps/components/GpsMap/contexts/MapContext/store.d.ts.map +1 -1
  44. package/components/maps/components/GpsMap/contexts/MapContext/store.js +113 -139
  45. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +73 -52
  46. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts.map +1 -1
  47. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.d.ts +4 -4
  48. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.d.ts.map +1 -1
  49. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +192 -209
  50. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts +5 -4
  51. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts.map +1 -1
  52. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.js +46 -66
  53. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +2 -10
  54. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts.map +1 -1
  55. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabelWithPopup/MarkerIconLabelWithPopup.d.ts +17 -0
  56. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabelWithPopup/MarkerIconLabelWithPopup.d.ts.map +1 -0
  57. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabelWithPopup/MarkerIconLabelWithPopup.js +53 -0
  58. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabelWithPopup/index.d.ts +3 -0
  59. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabelWithPopup/index.d.ts.map +1 -0
  60. package/components/maps/components/GpsMap/hooks/debug/index.d.ts +2 -0
  61. package/components/maps/components/GpsMap/hooks/debug/index.d.ts.map +1 -0
  62. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → debug/markerDecimation}/GridDebugVisualization.d.ts +1 -1
  63. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/GridDebugVisualization.d.ts.map +1 -0
  64. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/constants.d.ts +3 -0
  65. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/constants.d.ts.map +1 -0
  66. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/index.d.ts +4 -0
  67. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/index.d.ts.map +1 -0
  68. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/types.d.ts +71 -0
  69. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/types.d.ts.map +1 -0
  70. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/useGridDebug.d.ts +7 -0
  71. package/components/maps/components/GpsMap/hooks/debug/markerDecimation/useGridDebug.d.ts.map +1 -0
  72. package/components/maps/components/GpsMap/hooks/index.d.ts +5 -4
  73. package/components/maps/components/GpsMap/hooks/index.d.ts.map +1 -1
  74. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.d.ts +2 -1
  75. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.d.ts.map +1 -1
  76. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js +10 -11
  77. package/components/maps/components/GpsMap/hooks/useFilterDecimation/constants.d.ts +2 -0
  78. package/components/maps/components/GpsMap/hooks/useFilterDecimation/constants.d.ts.map +1 -0
  79. package/components/maps/components/GpsMap/hooks/useFilterDecimation/constants.js +4 -0
  80. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/constants.d.ts +3 -0
  81. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/constants.d.ts.map +1 -0
  82. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods/createPixelPathDecimationFilter}/constants.js +2 -3
  83. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter/createPixelPathDecimationFilter/index.d.ts → useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.d.ts} +1 -1
  84. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.d.ts.map +1 -0
  85. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter/createPixelPathDecimationFilter/index.js → useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.js} +4 -2
  86. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/helpers/decimateByConcentrationGrid.d.ts.map +1 -0
  87. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods}/createPixelPathDecimationFilter/helpers/decimateByConcentrationGrid.js +1 -1
  88. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.d.ts.map +1 -0
  89. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.js +22 -0
  90. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/helpers/index.d.ts.map +1 -0
  91. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/index.d.ts +2 -0
  92. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/index.d.ts.map +1 -0
  93. package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods}/createPixelPathDecimationFilter/types.d.ts +1 -1
  94. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/types.d.ts.map +1 -0
  95. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/index.d.ts +3 -0
  96. package/components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/index.d.ts.map +1 -0
  97. package/components/maps/components/GpsMap/hooks/useFilterDecimation/getPointFeaturesWithCoords.d.ts +9 -0
  98. package/components/maps/components/GpsMap/hooks/useFilterDecimation/getPointFeaturesWithCoords.d.ts.map +1 -0
  99. package/components/maps/components/GpsMap/hooks/useFilterDecimation/getPointFeaturesWithCoords.js +16 -0
  100. package/components/maps/components/GpsMap/hooks/useFilterDecimation/index.d.ts +3 -0
  101. package/components/maps/components/GpsMap/hooks/useFilterDecimation/index.d.ts.map +1 -0
  102. package/components/maps/components/GpsMap/hooks/useFilterDecimation/types.d.ts +16 -0
  103. package/components/maps/components/GpsMap/hooks/useFilterDecimation/types.d.ts.map +1 -0
  104. package/components/maps/components/GpsMap/hooks/useFilterDecimation/useFilterDecimation.d.ts.map +1 -0
  105. package/components/maps/components/GpsMap/hooks/useFilterDecimation/useFilterDecimation.js +75 -0
  106. package/components/maps/components/GpsMap/hooks/useRegisterMapToolController.d.ts +13 -0
  107. package/components/maps/components/GpsMap/hooks/useRegisterMapToolController.d.ts.map +1 -0
  108. package/components/maps/components/GpsMap/hooks/useRegisterMapToolController.js +21 -0
  109. package/components/maps/components/GpsMap/popups/index.d.ts +0 -1
  110. package/components/maps/components/GpsMap/popups/index.d.ts.map +1 -1
  111. package/components/maps/components/GpsMap/popups/types.d.ts +4 -0
  112. package/components/maps/components/GpsMap/popups/types.d.ts.map +1 -1
  113. package/components/maps/components/GpsMap/subcomponents/Controls/Controls.d.ts +6 -0
  114. package/components/maps/components/GpsMap/subcomponents/Controls/Controls.d.ts.map +1 -0
  115. package/components/maps/components/GpsMap/subcomponents/Controls/{index.js → Controls.js} +5 -5
  116. package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts +1 -5
  117. package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts.map +1 -1
  118. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/ButtonsToolsList.d.ts +8 -0
  119. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/ButtonsToolsList.d.ts.map +1 -0
  120. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/{index.js → ButtonsToolsList.js} +9 -8
  121. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.d.ts.map +1 -1
  122. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.js +31 -20
  123. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/types.d.ts +2 -0
  124. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/types.d.ts.map +1 -1
  125. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/usePopupToolRuntime.d.ts +15 -0
  126. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/usePopupToolRuntime.d.ts.map +1 -0
  127. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/usePopupToolRuntime.js +90 -0
  128. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useTool.d.ts +3 -5
  129. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useTool.d.ts.map +1 -1
  130. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useTool.js +35 -38
  131. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.d.ts +2 -1
  132. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.d.ts.map +1 -1
  133. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.js +31 -25
  134. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.d.ts +1 -7
  135. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.d.ts.map +1 -1
  136. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/ButtonPopupTool.d.ts +7 -0
  137. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/ButtonPopupTool.d.ts.map +1 -0
  138. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/ButtonPopupTool.js +22 -0
  139. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.d.ts +1 -5
  140. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.d.ts.map +1 -1
  141. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapLayersTool/MapLayersTool.d.ts.map +1 -1
  142. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MapLayersTool/MapLayersTool.js +10 -9
  143. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/MeasureTool.js +7 -7
  144. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/MeasureData.d.ts +6 -0
  145. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/MeasureData.d.ts.map +1 -0
  146. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +1 -5
  147. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts.map +1 -1
  148. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.d.ts +5 -0
  149. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.d.ts.map +1 -0
  150. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +1 -4
  151. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts.map +1 -1
  152. package/components/maps/components/GpsMap/subcomponents/{Layers/index.d.ts → LayersContainer/LayersContainer.d.ts} +1 -1
  153. package/components/maps/components/GpsMap/subcomponents/LayersContainer/LayersContainer.d.ts.map +1 -0
  154. package/components/maps/components/GpsMap/subcomponents/LayersContainer/LayersContainer.js +23 -0
  155. package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.d.ts +2 -0
  156. package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.d.ts.map +1 -0
  157. package/components/maps/components/GpsMap/subcomponents/{Layers/subcomponents/Layer/index.d.ts → LayersContainer/subcomponents/Layer/Layer.d.ts} +1 -1
  158. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/Layer.d.ts.map +1 -0
  159. package/components/maps/components/GpsMap/subcomponents/{Layers/subcomponents/Layer/index.js → LayersContainer/subcomponents/Layer/Layer.js} +8 -8
  160. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/index.d.ts +2 -0
  161. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/index.d.ts.map +1 -0
  162. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/MarkerClusterGroup.d.ts +3 -0
  163. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/MarkerClusterGroup.d.ts.map +1 -0
  164. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/MarkerClusterGroup.js +51 -0
  165. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts +2 -0
  166. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts.map +1 -0
  167. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/types.d.ts.map +1 -0
  168. package/components/maps/components/GpsMap/subcomponents/{Layers/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.d.ts → LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/RenderByEachFeatureComponent.d.ts} +1 -1
  169. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/RenderByEachFeatureComponent.d.ts.map +1 -0
  170. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.d.ts +2 -0
  171. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.d.ts.map +1 -0
  172. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/types.d.ts.map +1 -0
  173. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/types.d.ts.map +1 -0
  174. package/components/maps/components/GpsMap/subcomponents/MapEventController/index.d.ts +2 -0
  175. package/components/maps/components/GpsMap/subcomponents/MapEventController/index.d.ts.map +1 -0
  176. package/components/maps/components/GpsMap/subcomponents/TileLayers/TileLayers.d.ts +7 -0
  177. package/components/maps/components/GpsMap/subcomponents/TileLayers/TileLayers.d.ts.map +1 -0
  178. package/components/maps/components/GpsMap/subcomponents/TileLayers/TileLayers.js +30 -0
  179. package/components/maps/components/GpsMap/subcomponents/TileLayers/index.d.ts +1 -6
  180. package/components/maps/components/GpsMap/subcomponents/TileLayers/index.d.ts.map +1 -1
  181. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/TileLayerGoogle.d.ts +10 -0
  182. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/TileLayerGoogle.d.ts.map +1 -0
  183. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts +1 -9
  184. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.d.ts.map +1 -1
  185. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/TileLayerOthers.d.ts +7 -0
  186. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/TileLayerOthers.d.ts.map +1 -0
  187. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts +1 -6
  188. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.d.ts.map +1 -1
  189. package/components/maps/components/GpsMap/types.d.ts +18 -0
  190. package/components/maps/components/GpsMap/types.d.ts.map +1 -1
  191. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts +1 -1
  192. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts.map +1 -1
  193. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.d.ts.map +1 -1
  194. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.js +11 -10
  195. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts.map +1 -1
  196. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.js +5 -5
  197. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.d.ts.map +1 -1
  198. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useRowActionsGetter.js +6 -6
  199. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/model.d.ts +14 -6
  200. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/model.d.ts.map +1 -1
  201. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts.map +1 -1
  202. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +32 -40
  203. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.js +8 -7
  204. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.js +23 -24
  205. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.d.ts.map +1 -1
  206. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.js +37 -37
  207. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts.map +1 -1
  208. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +36 -35
  209. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/AssignmentData/types.d.ts +1 -0
  210. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/AssignmentData/types.d.ts.map +1 -1
  211. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts.map +1 -1
  212. package/formatters/index.d.ts +1 -1
  213. package/formatters/index.d.ts.map +1 -1
  214. package/index.js +124 -126
  215. package/internal/storybookRuntime.d.ts +27 -0
  216. package/internal/storybookRuntime.d.ts.map +1 -0
  217. package/internal/storybookRuntime.js +19 -0
  218. package/package.json +3 -3
  219. package/components/DeviceStatus/dictionary.js +0 -8
  220. package/components/maps/components/GpsMap/contexts/MapContext/helper.d.ts +0 -9
  221. package/components/maps/components/GpsMap/contexts/MapContext/helper.d.ts.map +0 -1
  222. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.d.ts +0 -2
  223. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.d.ts.map +0 -1
  224. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.d.ts +0 -9
  225. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.d.ts.map +0 -1
  226. package/components/maps/components/GpsMap/hooks/useDisableClickEvents/index.d.ts +0 -7
  227. package/components/maps/components/GpsMap/hooks/useDisableClickEvents/index.d.ts.map +0 -1
  228. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/GridDebugVisualization.d.ts.map +0 -1
  229. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/constants.d.ts +0 -6
  230. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/constants.d.ts.map +0 -1
  231. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/decimateByConcentrationGrid.d.ts.map +0 -1
  232. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.d.ts.map +0 -1
  233. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.js +0 -22
  234. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/index.d.ts.map +0 -1
  235. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/index.d.ts.map +0 -1
  236. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/types.d.ts.map +0 -1
  237. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/types.d.ts +0 -84
  238. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/types.d.ts.map +0 -1
  239. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useFilterDecimation.d.ts.map +0 -1
  240. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useFilterDecimation.js +0 -83
  241. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useGridDebug.d.ts +0 -6
  242. package/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useGridDebug.d.ts.map +0 -1
  243. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.d.ts +0 -8
  244. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.d.ts.map +0 -1
  245. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js +0 -32
  246. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.styles.d.ts +0 -3
  247. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.styles.d.ts.map +0 -1
  248. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.styles.js +0 -146
  249. package/components/maps/components/GpsMap/popups/MapPopupDevice/constants.d.ts +0 -6
  250. package/components/maps/components/GpsMap/popups/MapPopupDevice/constants.d.ts.map +0 -1
  251. package/components/maps/components/GpsMap/popups/MapPopupDevice/constants.js +0 -6
  252. package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.d.ts +0 -17
  253. package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.d.ts.map +0 -1
  254. package/components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.js +0 -20
  255. package/components/maps/components/GpsMap/popups/MapPopupDevice/index.d.ts +0 -3
  256. package/components/maps/components/GpsMap/popups/MapPopupDevice/index.d.ts.map +0 -1
  257. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.d.ts +0 -34
  258. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.d.ts.map +0 -1
  259. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/MapPopupDeviceSlots.js +0 -55
  260. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/slots.d.ts +0 -14
  261. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/slots.d.ts.map +0 -1
  262. package/components/maps/components/GpsMap/popups/MapPopupDevice/slots/slots.js +0 -4
  263. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Content/GpsDeviceContent.d.ts +0 -7
  264. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Content/GpsDeviceContent.d.ts.map +0 -1
  265. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Content/GpsDeviceContent.js +0 -111
  266. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Header/GpsDeviceHeader.d.ts +0 -6
  267. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Header/GpsDeviceHeader.d.ts.map +0 -1
  268. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/Header/GpsDeviceHeader.js +0 -18
  269. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/index.d.ts +0 -6
  270. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/index.d.ts.map +0 -1
  271. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/types.d.ts +0 -7
  272. package/components/maps/components/GpsMap/popups/MapPopupDevice/subcomponents/PropertyValue/types.d.ts.map +0 -1
  273. package/components/maps/components/GpsMap/popups/MapPopupDevice/types.d.ts +0 -11
  274. package/components/maps/components/GpsMap/popups/MapPopupDevice/types.d.ts.map +0 -1
  275. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.js +0 -18
  276. package/components/maps/components/GpsMap/subcomponents/Layers/index.d.ts.map +0 -1
  277. package/components/maps/components/GpsMap/subcomponents/Layers/index.js +0 -21
  278. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/hooks/useClusterMarkers.d.ts +0 -14
  279. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/hooks/useClusterMarkers.d.ts.map +0 -1
  280. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/index.d.ts.map +0 -1
  281. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts +0 -11
  282. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.d.ts.map +0 -1
  283. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.js +0 -29
  284. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/MarkerClusterGroup/types.d.ts.map +0 -1
  285. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.d.ts.map +0 -1
  286. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/types.d.ts.map +0 -1
  287. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/types.d.ts.map +0 -1
  288. package/components/maps/components/GpsMap/subcomponents/TileLayers/index.js +0 -30
  289. package/formatters/CourseFormatter/CourseFormatter.d.ts.map +0 -1
  290. package/formatters/CourseFormatter/CourseFormatter.styles.d.ts.map +0 -1
  291. package/formatters/CourseFormatter/constants.d.ts.map +0 -1
  292. package/formatters/CourseFormatter/dictionary.d.ts.map +0 -1
  293. package/formatters/CourseFormatter/helper.d.ts.map +0 -1
  294. package/formatters/CourseFormatter/index.d.ts.map +0 -1
  295. package/formatters/CourseFormatter/slots/CourseFormatterEnum.d.ts.map +0 -1
  296. package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +0 -4
  297. package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts.map +0 -1
  298. package/formatters/CourseFormatter/types.d.ts.map +0 -1
  299. /package/{formatters → components/formatters}/CourseFormatter/CourseFormatter.d.ts +0 -0
  300. /package/{formatters → components/formatters}/CourseFormatter/CourseFormatter.styles.d.ts +0 -0
  301. /package/{formatters → components/formatters}/CourseFormatter/CourseFormatter.styles.js +0 -0
  302. /package/{formatters → components/formatters}/CourseFormatter/constants.d.ts +0 -0
  303. /package/{formatters → components/formatters}/CourseFormatter/constants.js +0 -0
  304. /package/{formatters → components/formatters}/CourseFormatter/dictionary.d.ts +0 -0
  305. /package/{formatters → components/formatters}/CourseFormatter/dictionary.js +0 -0
  306. /package/{formatters → components/formatters}/CourseFormatter/helper.d.ts +0 -0
  307. /package/{formatters → components/formatters}/CourseFormatter/helper.js +0 -0
  308. /package/{formatters → components/formatters}/CourseFormatter/index.d.ts +0 -0
  309. /package/{formatters → components/formatters}/CourseFormatter/slots/CourseFormatterEnum.d.ts +0 -0
  310. /package/{formatters → components/formatters}/CourseFormatter/slots/CourseFormatterEnum.js +0 -0
  311. /package/{formatters → components/formatters}/CourseFormatter/slots/CourseFormatterSlots.js +0 -0
  312. /package/{formatters → components/formatters}/CourseFormatter/types.d.ts +0 -0
  313. /package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods}/createPixelPathDecimationFilter/helpers/decimateByConcentrationGrid.d.ts +0 -0
  314. /package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods}/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.d.ts +0 -0
  315. /package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation/decimationMethods}/createPixelPathDecimationFilter/helpers/index.d.ts +0 -0
  316. /package/components/maps/components/GpsMap/hooks/{useZoomBasedMarkerFilter → useFilterDecimation}/useFilterDecimation.d.ts +0 -0
  317. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/{index.js → MeasureData.js} +0 -0
  318. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/{index.js → MyActions.js} +0 -0
  319. /package/components/maps/components/GpsMap/subcomponents/{Layers → LayersContainer}/subcomponents/Layer/subcomponents/MarkerClusterGroup/types.d.ts +0 -0
  320. /package/components/maps/components/GpsMap/subcomponents/{Layers/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.js → LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/RenderByEachFeatureComponent.js} +0 -0
  321. /package/components/maps/components/GpsMap/subcomponents/{Layers → LayersContainer}/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -0
  322. /package/components/maps/components/GpsMap/subcomponents/{Layers → LayersContainer}/subcomponents/Layer/types.d.ts +0 -0
  323. /package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/{index.js → TileLayerGoogle.js} +0 -0
  324. /package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/{index.js → TileLayerOthers.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
2
2
  import { RHFormProvider as m } from "@m4l/components";
3
- import { MyActions as e } from "./subcomponents/MyActions/index.js";
4
- import { useValidation as n } from "./hooks/useValidation.js";
3
+ import { useValidation as e } from "./hooks/useValidation.js";
5
4
  import { INITIAL_FORM_VALUES as r } from "./constants.js";
6
- import { MeasureData as l } from "./subcomponents/MeasureData/index.js";
7
- import { GpsMapMeasureToolRootStyled as u } from "./slots/styled.js";
5
+ import { GpsMapMeasureToolRootStyled as n } from "./slots/styled.js";
6
+ import { MeasureData as l } from "./subcomponents/MeasureData/MeasureData.js";
7
+ import { MyActions as u } from "./subcomponents/MyActions/MyActions.js";
8
8
  function S() {
9
9
  const t = {
10
10
  ...r
11
- }, { validationSchema: a } = n(), i = () => {
11
+ }, { validationSchema: a } = e(), i = () => {
12
12
  };
13
13
  return /* @__PURE__ */ o(
14
14
  m,
@@ -17,9 +17,9 @@ function S() {
17
17
  onSubmit: i,
18
18
  values: t,
19
19
  validationSchema: a,
20
- children: /* @__PURE__ */ s(u, { children: [
20
+ children: /* @__PURE__ */ s(n, { children: [
21
21
  /* @__PURE__ */ o(l, {}),
22
- /* @__PURE__ */ o(e, {})
22
+ /* @__PURE__ */ o(u, {})
23
23
  ] })
24
24
  }
25
25
  );
@@ -0,0 +1,6 @@
1
+ /**
2
+ * subComponente que visualizar la medida que actualmente se haciendo sobre el mapa
3
+ * @returns
4
+ */
5
+ export declare function MeasureData(): import("@emotion/react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=MeasureData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MeasureData.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/MeasureData.tsx"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,wBAAgB,WAAW,qDA+B1B"}
@@ -1,6 +1,2 @@
1
- /**
2
- * subComponente que visualizar la medida que actualmente se haciendo sobre el mapa
3
- * @returns
4
- */
5
- export declare function MeasureData(): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ export * from './MeasureData';
6
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/index.tsx"],"names":[],"mappings":"AAoBA;;;GAGG;AACH,wBAAgB,WAAW,qDA+B1B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MeasureData/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * TODO: Documentar
3
+ */
4
+ export declare function MyActions(): import("@emotion/react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=MyActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MyActions.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/MyActions.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,wBAAgB,SAAS,qDA+BxB"}
@@ -1,5 +1,2 @@
1
- /**
2
- * TODO: Documentar
3
- */
4
- export declare function MyActions(): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ export * from './MyActions';
5
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/index.tsx"],"names":[],"mappings":"AAeA;;GAEG;AACH,wBAAgB,SAAS,qDA+BxB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/MeasureTool/subcomponents/MyActions/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -3,4 +3,4 @@ import { default as React } from 'react';
3
3
  * TODO: Documentar
4
4
  */
5
5
  export declare const LayersContainer: React.FC;
6
- //# sourceMappingURL=index.d.ts.map
6
+ //# sourceMappingURL=LayersContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayersContainer.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/LayersContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAsCnC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { jsx as e } from "@emotion/react/jsx-runtime";
2
+ import { shallow as n } from "zustand/shallow";
3
+ import s from "leaflet";
4
+ import a, { useEffect as l } from "react";
5
+ import { useMap as u } from "react-leaflet";
6
+ import { useAutoFocus as f } from "../../hooks/useAutoFocus/index.js";
7
+ import { useModuleSkeleton as i } from "@m4l/core";
8
+ import { Layer as p } from "./subcomponents/Layer/Layer.js";
9
+ import { useMapStore as c } from "../../hooks/useMapStore/index.js";
10
+ const C = () => {
11
+ const t = c((r) => r.layersIds, n), m = i(), o = u();
12
+ return f(), l(() => {
13
+ if (!o)
14
+ return;
15
+ const r = s.control.scale();
16
+ return r.addTo(o), () => {
17
+ r.remove();
18
+ };
19
+ }, [o]), m || !o ? null : /* @__PURE__ */ e(a.Fragment, { children: t.map((r) => /* @__PURE__ */ e(p, { layerId: r }, r)) });
20
+ };
21
+ export {
22
+ C as LayersContainer
23
+ };
@@ -0,0 +1,2 @@
1
+ export * from './LayersContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -12,4 +12,4 @@ export type LefaletLayerRef = {
12
12
  * @returns
13
13
  */
14
14
  export declare const Layer: React.FC<LayerProps>;
15
- //# sourceMappingURL=index.d.ts.map
15
+ //# sourceMappingURL=Layer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/Layer.tsx"],"names":[],"mappings":"AACA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAWlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAW1C,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AACF;;;;;GAKG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqJtC,CAAC"}
@@ -3,22 +3,22 @@ import { useMemo as y } from "react";
3
3
  import { LayerGroup as M } from "react-leaflet";
4
4
  import C from "leaflet";
5
5
  import { shallow as f } from "zustand/shallow";
6
- import { MarkerClusterGroup as g } from "./subcomponents/MarkerClusterGroup/index.js";
7
- import { RenderByEachFeatureComponent as L, MemonizedRenderByEachFeatureComponent as b } from "./subcomponents/RenderByEachFeatureComponent/index.js";
8
- import { deepShallow as j } from "@m4l/components";
9
- import { useFilterDecimation as I } from "../../../../hooks/useZoomBasedMarkerFilter/useFilterDecimation.js";
6
+ import { deepShallow as g } from "@m4l/components";
10
7
  import { useMapStore as u } from "../../../../hooks/useMapStore/index.js";
8
+ import { useFilterDecimation as L } from "../../../../hooks/useFilterDecimation/useFilterDecimation.js";
9
+ import { RenderByEachFeatureComponent as j, MemonizedRenderByEachFeatureComponent as b } from "./subcomponents/RenderByEachFeatureComponent/RenderByEachFeatureComponent.js";
10
+ import { MarkerClusterGroup as I } from "./subcomponents/MarkerClusterGroup/MarkerClusterGroup.js";
11
11
  const E = (v) => {
12
12
  const { layerId: r } = v, n = u((o) => {
13
13
  const e = o.hashLayers[r]?.geoJsonObject;
14
14
  return e && e.object.type === "Feature" ? e.object.id : e && e.object.type === "FeatureCollection" ? e && e.object.features.map((i) => i.id) : null;
15
- }, j), a = u((o) => o.hashLayers[r].renderFeature, f), m = u(
15
+ }, g), a = u((o) => o.hashLayers[r].renderFeature, f), m = u(
16
16
  (o) => o.hashLayers[r]?.decimationConfig,
17
17
  f
18
18
  ), [F, l = !1] = u(
19
19
  (o) => [o.hashLayers[r]?.visible, o.hashLayers[r]?.cluster],
20
20
  f
21
- ), t = Array.isArray(n), d = y(() => t ? n : [], [t, n]), p = I(
21
+ ), t = Array.isArray(n), d = y(() => t ? n : [], [t, n]), p = L(
22
22
  d,
23
23
  r,
24
24
  t && !l,
@@ -38,7 +38,7 @@ const E = (v) => {
38
38
  });
39
39
  };
40
40
  return l ? /* @__PURE__ */ s(
41
- g,
41
+ I,
42
42
  {
43
43
  disableClusteringAtZoom: 18,
44
44
  showCoverageOnHover: !1,
@@ -66,7 +66,7 @@ const E = (v) => {
66
66
  )) });
67
67
  } else
68
68
  return /* @__PURE__ */ s(
69
- L,
69
+ j,
70
70
  {
71
71
  renderFeature: a,
72
72
  id: n,
@@ -0,0 +1,2 @@
1
+ export * from './Layer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PathWithChildrenProps } from './types';
2
+ export declare function MarkerClusterGroup(props: PathWithChildrenProps): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=MarkerClusterGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkerClusterGroup.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/MarkerClusterGroup.tsx"],"names":[],"mappings":"AAOA,OAAO,EAA2B,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA4DzE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,qBAAqB,oDA4B9D"}
@@ -0,0 +1,51 @@
1
+ import { jsx as f } from "@emotion/react/jsx-runtime";
2
+ import { createPathComponent as m } from "@react-leaflet/core";
3
+ import i from "leaflet";
4
+ import { useState as C, useEffect as d } from "react";
5
+ import { isChromaticStorybookRuntime as h, loadModuleOutsideChromatic as k } from "../../../../../../../../../../internal/storybookRuntime.js";
6
+ function c() {
7
+ return typeof i.MarkerClusterGroup < "u";
8
+ }
9
+ const M = k(() => import("leaflet.markercluster")), y = m(({ useCluster: n, ...r }, u) => {
10
+ const e = {}, a = {};
11
+ Object.entries(r).forEach(([t, o]) => {
12
+ if (!(t === "children" || o === "")) {
13
+ if (t.startsWith("on")) {
14
+ a[t] = o;
15
+ return;
16
+ }
17
+ e[t] = o;
18
+ }
19
+ });
20
+ const s = n ? new i.MarkerClusterGroup(e) : i.layerGroup();
21
+ return n && Object.entries(a).forEach(([t, o]) => {
22
+ const l = `cluster${t.substring(2).toLowerCase()}`;
23
+ s.on(l, o);
24
+ }), {
25
+ instance: s,
26
+ context: { ...u, layerContainer: s }
27
+ };
28
+ });
29
+ function j(n) {
30
+ const [r, u] = C(() => c());
31
+ return d(() => {
32
+ if (r || h())
33
+ return;
34
+ let e = !0;
35
+ return M.then(() => {
36
+ e && c() && u(!0);
37
+ }), () => {
38
+ e = !1;
39
+ };
40
+ }, [r]), /* @__PURE__ */ f(
41
+ y,
42
+ {
43
+ useCluster: r,
44
+ ...n
45
+ },
46
+ r ? "marker-cluster-runtime-ready" : "marker-cluster-runtime-fallback"
47
+ );
48
+ }
49
+ export {
50
+ j as MarkerClusterGroup
51
+ };
@@ -0,0 +1,2 @@
1
+ export * from './MarkerClusterGroup';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/MarkerClusterGroup/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,MAAM,WAAW,uBAAwB,SAAQ,YAAY,EAAE,yBAAyB;IACtF,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,SAAS,CAAC,EAAE,qBAAqB,CAAC;CAEnC;AACD,MAAM,CAAC,OAAO,MAAM,iBAAiB,GAAG;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAAG,SAAS,GAAG,iBAAiB,CAAC"}
@@ -9,4 +9,4 @@ import { RenderByEachFeatureProps } from './types';
9
9
  */
10
10
  export declare const RenderByEachFeatureComponent: React.FC<RenderByEachFeatureProps>;
11
11
  export declare const MemonizedRenderByEachFeatureComponent: React.NamedExoticComponent<RenderByEachFeatureProps>;
12
- //# sourceMappingURL=index.d.ts.map
12
+ //# sourceMappingURL=RenderByEachFeatureComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RenderByEachFeatureComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/RenderByEachFeatureComponent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACxD;;;;;;GAMG;AACH,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAM3E,CAAC;AACF,eAAO,MAAM,qCAAqC,sDAA2C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './RenderByEachFeatureComponent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/subcomponents/RenderByEachFeatureComponent/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACxF,MAAM,MAAM,wBAAwB,GAAG;IACrC,aAAa,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,SAAS,CAAC;CAC3D,GAAG,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/Layer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AACxE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './MapEventController';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/MapEventController/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Componente encargado de renderizar las diferentes tipos de mapas, de acuerdo
3
+ * al mapa seleccionado en el store
4
+ * @returns
5
+ */
6
+ export declare function TileLayers(): import("@emotion/react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=TileLayers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TileLayers.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/TileLayers.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,wBAAgB,UAAU,qDA0BzB"}
@@ -0,0 +1,30 @@
1
+ import { jsxs as s, jsx as t } from "@emotion/react/jsx-runtime";
2
+ import n, { useEffect as m } from "react";
3
+ import { useMap as a } from "react-leaflet";
4
+ import { useLocalStorageWithListener as f } from "@m4l/core";
5
+ import { KEY_LOCAL_STORAGE_THEME_SETTINGS as c, defaultThemeSettings as l } from "@m4l/graphics";
6
+ import { TileLayerOthers as p } from "./subcomponents/TileLayerOthers/TileLayerOthers.js";
7
+ import { TileLayerGoogle as u } from "./subcomponents/TileLayerGoogle/TileLayerGoogle.js";
8
+ function O() {
9
+ const e = a(), [o] = f(
10
+ c,
11
+ l,
12
+ { useBroadcastChannel: !0 }
13
+ );
14
+ return m(() => {
15
+ const i = () => {
16
+ e.invalidateSize();
17
+ }, r = new ResizeObserver((h) => {
18
+ i();
19
+ });
20
+ return r.observe(e.getContainer()), () => {
21
+ r.unobserve(e.getContainer());
22
+ };
23
+ }, [e]), /* @__PURE__ */ s(n.Fragment, { children: [
24
+ /* @__PURE__ */ t(p, {}),
25
+ /* @__PURE__ */ t(u, { mode: o.themeMode })
26
+ ] });
27
+ }
28
+ export {
29
+ O as TileLayers
30
+ };
@@ -1,7 +1,2 @@
1
- /**
2
- * Componente encargado de renderizar las diferentes tipos de mapas, de acuerdo
3
- * al mapa seleccionado en el store
4
- * @returns
5
- */
6
- export declare function TileLayers(): import("@emotion/react/jsx-runtime").JSX.Element;
1
+ export * from './TileLayers';
7
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/index.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,wBAAgB,UAAU,qDA0BzB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ThemeUserMode } from '@m4l/styles';
2
+ /**
3
+ * TileLayerGoogle renders the plain Google tile layer when no Google API
4
+ * features are needed, and switches to the googleMutant-backed Google Maps API
5
+ * layer when overlays or dark-mode styling require it.
6
+ */
7
+ export declare function TileLayerGoogle(props: {
8
+ mode: ThemeUserMode;
9
+ }): null;
10
+ //# sourceMappingURL=TileLayerGoogle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TileLayerGoogle.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/TileLayerGoogle.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkC5C;;;;GAIG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,QA4M9D"}
@@ -1,10 +1,2 @@
1
- import { ThemeUserMode } from '@m4l/styles';
2
- /**
3
- * TileLayerGoogle renders the plain Google tile layer when no Google API
4
- * features are needed, and switches to the googleMutant-backed Google Maps API
5
- * layer when overlays or dark-mode styling require it.
6
- */
7
- export declare function TileLayerGoogle(props: {
8
- mode: ThemeUserMode;
9
- }): null;
1
+ export * from './TileLayerGoogle';
10
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkC5C;;;;GAIG;AACH,wBAAgB,eAAe,CAAE,KAAK,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,QA4M9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * "OtherSourceMapsLayer" componente encargado de renderizar la capa de mapa seleccionado.
3
+ * Este componente no renderiza, las capas de google.
4
+ * @returns null
5
+ */
6
+ export declare const TileLayerOthers: () => null;
7
+ //# sourceMappingURL=TileLayerOthers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TileLayerOthers.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/TileLayerOthers.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,eAAe,YA8C3B,CAAC"}
@@ -1,7 +1,2 @@
1
- /**
2
- * "OtherSourceMapsLayer" componente encargado de renderizar la capa de mapa seleccionado.
3
- * Este componente no renderiza, las capas de google.
4
- * @returns null
5
- */
6
- export declare const TileLayerOthers: () => null;
1
+ export * from './TileLayerOthers';
7
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,eAAe,YA8C3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -29,6 +29,18 @@ export type Point = {
29
29
  };
30
30
  export type MapToolPosition = Extract<L.ControlPosition, 'topright' | 'bottomright'>;
31
31
  export type MapToolType = 'popup' | 'button';
32
+ export type MapToolControlCommand = 'open' | 'close' | 'toggle';
33
+ export type MapToolControllerScope = 'default' | 'runtime';
34
+ export type MapToolController = Partial<Record<MapToolControlCommand, () => void>>;
35
+ export type MapToolExternalControllerContext = {
36
+ toolId: string;
37
+ isOpen: boolean;
38
+ isHidden: boolean;
39
+ openDefault: () => void;
40
+ closeDefault: () => void;
41
+ toggleDefault: () => void;
42
+ };
43
+ export type MapToolExternalControllerFactory = (context: MapToolExternalControllerContext) => MapToolController;
32
44
  export interface BaseMapTool {
33
45
  /**
34
46
  * "id" id de la herramienta, tambien sirve como id del popup cuando es de tipo popup
@@ -59,6 +71,12 @@ export interface BaseMapToolPopup extends BaseMapTool {
59
71
  * "PopupContentComponent" componente que se renderiza dentro del popup de la herramienta
60
72
  */
61
73
  PopupContentComponent: JSX_REACT_NODE;
74
+ /**
75
+ * Optional external-control contract for this popup tool.
76
+ * Popup tools are not externally controllable unless they explicitly provide
77
+ * a controller factory here.
78
+ */
79
+ externalController?: MapToolExternalControllerFactory;
62
80
  }
63
81
  /**
64
82
  * "MapToolPopup" tipo de herramienta popup que ingresa como props al componente Map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,4FAA4F,CAAC;AACtI,OAAO,EAAE,uBAAuB,EAAE,MAAM,2FAA2F,CAAC;AACpI,OAAO,EA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AAM,WAAW,aAAc,SAAQ,WAAW;IAChD;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,eAAe,EAAC,cAAc,CAAC;CAEhC;AAED,MAAM,MAAM,OAAO,GAAG,YAAY,GAAG,aAAa,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAA;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAE;CAC5B;AACD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,QAAQ,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAGjB,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,cAAc,CAAC,EAAE,wBAAwB,CAAC;CAC3C,CAAC;AACF,MAAM,MAAM,SAAS,GAAE,sBAAsB,CAAC,YAAY,EAAE,OAAO,0BAA0B,EAAE,KAAK,CAAC,CAAE"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/types.ts"],"names":[],"mappings":"AAAA,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GnD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;CAC3B,CAAA;AAED,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAE;CAC5B;AACD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,QAAQ,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAGjB,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,aAAa,CAAC,EAAE,uBAAuB,CAAC;IACxC,cAAc,CAAC,EAAE,wBAAwB,CAAC;CAC3C,CAAC;AACF,MAAM,MAAM,SAAS,GAAE,sBAAsB,CAAC,YAAY,EAAE,OAAO,0BAA0B,EAAE,KAAK,CAAC,CAAE"}
@@ -3,7 +3,7 @@ import { FeatureId } from '../../../GpsMap';
3
3
  import { GeofenceGetModel, GeofenceListModel } from '../../subcomponents/GeofencesTool/model';
4
4
  export type GpsToolsStatus = 'init' | 'ready';
5
5
  export type CurrentTabGpsTool = 'geofences' | 'pois';
6
- export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId' | 'bounds' | 'devicesAssignmentType' | 'authUserOptions'>, Pick<GeofenceGetModel, 'assignmentDevices' | 'assignmentDepartments'> {
6
+ export interface GeofenceFeature extends Pick<GeofenceListModel, 'id' | 'name' | 'type' | 'geometry' | 'properties' | 'createdAt' | 'updatedAt' | 'timeMinInSeconds' | 'timeMinOutSeconds' | 'alias' | 'customerId' | 'bounds' | 'devicesAllocationTypeId' | 'userAuthOptions'>, Pick<GeofenceGetModel, 'devicesAllocation' | 'departmentsAllocation'> {
7
7
  /**
8
8
  * Indica si la geocerca debe ser pintada en el mapa
9
9
  * Puede que la geocerca haya cambiado, este cargada en el store, pero no concuerda con la geometría pintada en el mapa,
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,yCAAyC,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,MAAM,CAAC;AACrD,MAAM,WAAW,eACf,SAAQ,IAAI,CACZ,iBAAiB,EACb,IAAI,GACJ,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,QAAQ,GACR,uBAAuB,GACvB,iBAAiB,CACpB,EAAE,IAAI,CAAC,gBAAgB,EAAE,mBAAmB,GAAG,uBAAuB,CAAC;IACxE;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAE5B;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,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AAK,IAAI,CAAC;QACxD;;WAEG;QACH,eAAe,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,eAAe,GAAG,SAAS,CAAC;QACzE;;WAEG;QACH,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;CACH;AACD,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAClF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,GAC7E,OAAO,CAAC,4BAA4B,CAAC,CAAC;AACxC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,yCAAyC,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAC9C,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,MAAM,CAAC;AACrD,MAAM,WAAW,eACf,SAAQ,IAAI,CACZ,iBAAiB,EACb,IAAI,GACJ,MAAM,GACN,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,GACX,kBAAkB,GAClB,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,QAAQ,GACR,yBAAyB,GACzB,iBAAiB,CACpB,EAAE,IAAI,CAAC,gBAAgB,EAAE,mBAAmB,GAAG,uBAAuB,CAAC;IACxE;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAE5B;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,cAAc,CAAC;CAExB,CAAC;AAC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e,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,eAAe,GAAG,SAAS,CAAC;QACzE;;WAEG;QACH,cAAc,EAAE,MAAM,IAAI,CAAC;KAC5B,CAAC;CACH;AACD,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAClF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,GAC7E,OAAO,CAAC,4BAA4B,CAAC,CAAC;AACxC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAG,MAAM,SAAS,CAAC;AAGpE;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,IAAI,MAAM,WAE/C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,uBAAuB,KAAG,eAS5E,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAG,MAAM,SAAS,CAAC;AAIpE;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,IAAI,MAAM,WAE/C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,uBAAuB,KAAG,eAe5E,CAAC"}
@@ -1,13 +1,14 @@
1
- import { STYLE_PATTERNS as l } from "./constants.js";
2
- const r = (t) => l.find((o) => o.id === t)?.style || l[0].style, a = (t) => ({
3
- fillColor: t.fillColor,
4
- fillOpacity: t.fillOpacity,
5
- color: t.strokeColor,
6
- opacity: t.strokeOpacity,
7
- weight: t.strokeWeight,
8
- dashArray: r(t.strokeDashArray)
1
+ import { STYLE_PATTERNS as o } from "./constants.js";
2
+ import { STROKE_WHEIGTH_DEFAULT as r, STROKE_OPACITY_DEFAULT as T, FILL_COLOR_DEFAULT as A, FILL_OPACITY_DEFAULT as _, STROKE_COLOR_DEFAULT as E, STROKE_DASH_ARRAY_DEFAULT as L } from "./subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.js";
3
+ const O = (t) => o.find((l) => l.id === t)?.style || o[0].style, F = (t) => ({
4
+ fillColor: t.fillColor || E,
5
+ fillOpacity: t.fillOpacity || _,
6
+ color: t.strokeColor || A,
7
+ opacity: t.strokeOpacity || T,
8
+ weight: t.strokeWeight || r,
9
+ dashArray: O(t.strokeDashArray || L)
9
10
  });
10
11
  export {
11
- a as getStyleFromProperties,
12
- r as getStylePatternFromId
12
+ F as getStyleFromProperties,
13
+ O as getStylePatternFromId
13
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useDatagridFiltered.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAmB,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAEzF,iGAAiG;AACjG,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,mBAAmB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,IAAI,EAAE,iBAAiB,EAAE,CAAC;IAC1B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,mBAAmB,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qBAAqB,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,wBAAwB,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC1C,2BAA2B,EAAE,CAAC,wBAAwB,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;IACzF,sBAAsB,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,wBAAwB,CAAC,CAAC;IACtF,oBAAoB,EAAE,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,sBAAsB,CAAC,CAAC;CACnF,CAAC;AAEF;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,yBAAyB,CAyH9F"}
1
+ {"version":3,"file":"useDatagridFiltered.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAmB,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAEzF,iGAAiG;AACjG,MAAM,MAAM,kBAA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c, { environment_assets: d, host_static_assets: a } = M(), s = `${d}/${a}/icons/${O.GEOFENCES_ADD}`, m = h(
9
9
  (r) => {
10
10
  const i = [];
11
- return r.geofenceState.checkedGeofences.forEach((u) => {
12
- const e = r.geofenceState.hashGeofences[u];
11
+ return r.geofenceState.checkedGeofences.forEach((p) => {
12
+ const e = r.geofenceState.hashGeofences[p];
13
13
  e && i.push({
14
14
  id: e.id,
15
15
  name: e.name,
@@ -20,12 +20,12 @@ function v(c) {
20
20
  customerId: e.customerId,
21
21
  createdAt: e.createdAt,
22
22
  updatedAt: e.updatedAt,
23
- authUserOptions: e.authUserOptions
23
+ userAuthOptions: e.userAuthOptions
24
24
  });
25
25
  }, []), i;
26
26
  },
27
27
  S
28
- ), p = l(() => /* @__PURE__ */ f(
28
+ ), u = l(() => /* @__PURE__ */ f(
29
29
  A,
30
30
  {
31
31
  variant: "contained",
@@ -40,7 +40,7 @@ function v(c) {
40
40
  ), [n, t, o, s]);
41
41
  return {
42
42
  rows: m,
43
- rightActions: p
43
+ rightActions: u
44
44
  };
45
45
  }
46
46
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useLoadDrawGeometry.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.tsx"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,mBAAmB;;;EAmHlC"}
1
+ {"version":3,"file":"useLoadDrawGeometry.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.tsx"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,mBAAmB;;;EAoHlC"}