@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
package/index.js CHANGED
@@ -3,138 +3,136 @@ import { getDeviceByData as p } from "./components/Device/helpers.js";
3
3
  import { getDeviceStatusByData as i } from "./components/Device/helpers/helperDeviceStatus.js";
4
4
  import { DEVICE_STATUSES_CONFIG as n } from "./components/Device/hooks/constants.js";
5
5
  import { useDeviceStatus as f } from "./components/Device/hooks/useDeviceStatus.js";
6
- import { Device as c } from "./components/Device/Device.js";
7
- import { DeviceLabel as l } from "./components/DeviceLabel/DeviceLabel.js";
8
- import { courseToCssAngle as D } from "./components/maps/utils/courseToCssAngle.js";
9
- import { GpsMap as T } from "./components/maps/components/GpsMap/GpsMap.js";
10
- import { MapContext as d, MapProvider as E } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
11
- import { getMapComponentsDictionary as y } from "./components/maps/components/GpsMap/dictionary.js";
12
- import { LAT_LON_FIXED_DIGITS as _ } from "./components/maps/components/GpsMap/constants.js";
13
- import { MarkerFeatureRender as R } from "./components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js";
14
- import { getMapPopupDeviceComponentsDictionary as v } from "./components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.js";
15
- import { MapPopupDevice as A } from "./components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js";
16
- import { PolylineWithArrows as L } from "./components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js";
17
- import { useFilterDecimation as U } from "./components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useFilterDecimation.js";
18
- import { createPixelPathDecimationFilter as Q } from "./components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/index.js";
19
- import { useDisableMapEventsOnMouseOver as B } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
20
- import { useDisableMapEventsOnFlag as Y } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
21
- import { useMapStore as W } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
22
- import { coordsToQuadKey as z } from "./components/maps/utils/coordsToQuadKey.js";
23
- import { courseToCartesianAngle as j } from "./components/maps/utils/courseToCartesianAngle.js";
24
- import { isFeature as X } from "./components/maps/utils/isFeature.js";
25
- import { isFeatureCollection as J } from "./components/maps/utils/isFeatureCollection.js";
26
- import { isFeatureCollectionDraft as $ } from "./components/maps/utils/isFeatureCollectionDraft.js";
27
- import { isGeometry as eo } from "./components/maps/utils/isGeometry.js";
28
- import { GeofencesTool as to } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
29
- import { GEOFENCES_TOOL as mo } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
30
- import { getGpsMapToolsComponentsDictionary as ao } from "./components/maps/components/GpsMapTools/dictionary.js";
31
- import { GpsMapToolsContext as xo, GpsMapToolsProvider as fo } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
32
- import { IndicatorBattery as co } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
33
- import { getIndicatorBatteryComponentsDictionary as lo } from "./components/indicators/IndicatorBattery/dictionary.js";
34
- import { IndicatorCSQ as Do } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
35
- import { getIndicatorCSQComponentsDictionary as To } from "./components/indicators/IndicatorCSQ/dictionary.js";
36
- import { IndicatorValueStatus as Eo } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
37
- import { IndicatorValueAndMagnitude as yo } from "./components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js";
38
- import { VideoTimeLineSelector as _o } from "./components/VideoTimeLineSelector/VideoTimeLineSelector.js";
39
- import { getVideoTimeLineSelectorComponentDictionary as Ro } from "./components/VideoTimeLineSelector/dictionary.js";
40
- import { TIME_VISIBLE_OPTIONS_KEYS as vo } from "./components/VideoTimeLineSelector/constants.js";
41
- import { ReportsViewer as Ao } from "./components/ReportsViewer/ReportsViewer.js";
42
- import { getCourseDirection as Lo } from "./formatters/CourseFormatter/helper.js";
43
- import { getCourseFormatterComponentsDictionary as Uo } from "./formatters/CourseFormatter/dictionary.js";
44
- import { CourseFormatter as Qo } from "./formatters/CourseFormatter/CourseFormatter.js";
45
- import { EnumResourceTypesIds as Bo } from "./contexts/RealTimeProducerContext/constants.js";
46
- import { REAL_TIME_RT_DEVICES_DUMMMY_INITIAL as Yo } from "./contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js";
47
- import { RealTimeProducerContext as Wo, RealTimeProducerProvider as wo } from "./contexts/RealTimeProducerContext/RealTimeProducerContext.js";
48
- import { RESOURCE_TYPE_DEVICES as Ko } from "./contexts/RealTimeConsumerContext/constants.js";
49
- import { RealTimeConsumerContext as ko, RealTimeConsumerProvider as Xo } from "./contexts/RealTimeConsumerContext/RealTimeConsumerContext.js";
50
- import { useRealTimeProducer as Jo } from "./hooks/useRealTimeProducer/index.js";
51
- import { useRealTimeConsumer as $o } from "./hooks/useRealTimeConsumer/index.js";
52
- import { capitalizeFirstLetter as ee } from "./utils/capitalizeFirstLetter.js";
53
- import { isValidDate as te } from "./utils/isValidDate.js";
54
- import { getComponentUtilityClass as me } from "./utils/getComponentUtilityClass.js";
55
- import { getPaletteColor as ae } from "./utils/getPaletteColor.js";
56
- import { getTypographyStyles as xe } from "./utils/getTypographyStyles.js";
57
- import { getHeightSizeStyles as se } from "./utils/getSizeStyles/getSizeStyles.js";
58
- import { ObjectQueue as ue } from "./utils/ObjectQueue.js";
59
- import { getComponentClasses as Ce, getComponentSlotRoot as De } from "./utils/getComponentSlotRoot.js";
6
+ import { Device as l } from "./components/Device/Device.js";
7
+ import { DeviceLabel as c } from "./components/DeviceLabel/DeviceLabel.js";
8
+ import { getCourseDirection as T } from "./components/formatters/CourseFormatter/helper.js";
9
+ import { getCourseFormatterComponentsDictionary as D } from "./components/formatters/CourseFormatter/dictionary.js";
10
+ import { CourseFormatter as d } from "./components/formatters/CourseFormatter/CourseFormatter.js";
11
+ import { courseToCssAngle as I } from "./components/maps/utils/courseToCssAngle.js";
12
+ import { GpsMap as _ } from "./components/maps/components/GpsMap/GpsMap.js";
13
+ import { MapContext as R, MapProvider as P } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
14
+ import { getMapComponentsDictionary as O } from "./components/maps/components/GpsMap/dictionary.js";
15
+ import { LAT_LON_FIXED_DIGITS as G } from "./components/maps/components/GpsMap/constants.js";
16
+ import { MarkerFeatureRender as L } from "./components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js";
17
+ import { PolylineWithArrows as U } from "./components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js";
18
+ import { useFilterDecimation as Q } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/useFilterDecimation.js";
19
+ import { createPixelPathDecimationFilter as B } from "./components/maps/components/GpsMap/hooks/useFilterDecimation/decimationMethods/createPixelPathDecimationFilter/createPixelPathDecimationFilter.js";
20
+ import { useDisableMapEventsOnMouseOver as Y } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
21
+ import { useDisableMapEventsOnFlag as W } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
22
+ import { useMapStore as z } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
23
+ import { useRegisterMapToolController as j } from "./components/maps/components/GpsMap/hooks/useRegisterMapToolController.js";
24
+ import { coordsToQuadKey as X } from "./components/maps/utils/coordsToQuadKey.js";
25
+ import { courseToCartesianAngle as J } from "./components/maps/utils/courseToCartesianAngle.js";
26
+ import { isFeature as $ } from "./components/maps/utils/isFeature.js";
27
+ import { isFeatureCollection as eo } from "./components/maps/utils/isFeatureCollection.js";
28
+ import { isFeatureCollectionDraft as to } from "./components/maps/utils/isFeatureCollectionDraft.js";
29
+ import { isGeometry as mo } from "./components/maps/utils/isGeometry.js";
30
+ import { GeofencesTool as ao } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
31
+ import { GEOFENCES_TOOL as xo } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
32
+ import { getGpsMapToolsComponentsDictionary as so } from "./components/maps/components/GpsMapTools/dictionary.js";
33
+ import { GpsMapToolsContext as uo, GpsMapToolsProvider as co } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
34
+ import { IndicatorBattery as To } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
35
+ import { getIndicatorBatteryComponentsDictionary as Do } from "./components/indicators/IndicatorBattery/dictionary.js";
36
+ import { IndicatorCSQ as Eo } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
37
+ import { getIndicatorCSQComponentsDictionary as yo } from "./components/indicators/IndicatorCSQ/dictionary.js";
38
+ import { IndicatorValueStatus as Mo } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
39
+ import { IndicatorValueAndMagnitude as Po } from "./components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js";
40
+ import { VideoTimeLineSelector as Oo } from "./components/VideoTimeLineSelector/VideoTimeLineSelector.js";
41
+ import { getVideoTimeLineSelectorComponentDictionary as Go } from "./components/VideoTimeLineSelector/dictionary.js";
42
+ import { TIME_VISIBLE_OPTIONS_KEYS as Lo } from "./components/VideoTimeLineSelector/constants.js";
43
+ import { ReportsViewer as Uo } from "./components/ReportsViewer/ReportsViewer.js";
44
+ import { EnumResourceTypesIds as Qo } from "./contexts/RealTimeProducerContext/constants.js";
45
+ import { REAL_TIME_RT_DEVICES_DUMMMY_INITIAL as Bo } from "./contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js";
46
+ import { RealTimeProducerContext as Yo, RealTimeProducerProvider as bo } from "./contexts/RealTimeProducerContext/RealTimeProducerContext.js";
47
+ import { RESOURCE_TYPE_DEVICES as wo } from "./contexts/RealTimeConsumerContext/constants.js";
48
+ import { RealTimeConsumerContext as Ko, RealTimeConsumerProvider as jo } from "./contexts/RealTimeConsumerContext/RealTimeConsumerContext.js";
49
+ import { useRealTimeProducer as Xo } from "./hooks/useRealTimeProducer/index.js";
50
+ import { useRealTimeConsumer as Jo } from "./hooks/useRealTimeConsumer/index.js";
51
+ import { capitalizeFirstLetter as $o } from "./utils/capitalizeFirstLetter.js";
52
+ import { isValidDate as ee } from "./utils/isValidDate.js";
53
+ import { getComponentUtilityClass as te } from "./utils/getComponentUtilityClass.js";
54
+ import { getPaletteColor as me } from "./utils/getPaletteColor.js";
55
+ import { getTypographyStyles as ae } from "./utils/getTypographyStyles.js";
56
+ import { getHeightSizeStyles as xe } from "./utils/getSizeStyles/getSizeStyles.js";
57
+ import { ObjectQueue as se } from "./utils/ObjectQueue.js";
58
+ import { getComponentClasses as ue, getComponentSlotRoot as ce } from "./utils/getComponentSlotRoot.js";
60
59
  import { getVptValueWithGuard as Te } from "./utils/getVptValueWithGuard.js";
61
- import { getVptUpdatedAtWithGuard as de } from "./utils/getVptUpdatedAtWithGuard.js";
62
- import { getHdopFromPrecision as Ie, getPrecisionFromHdop as ye, getQualityCategoryFromPrecision as Me } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
63
- import { DEFAULT_RMS_ERROR as Pe, HDOP_QUALITY_RANGES as Re, HDOP_QUALITY_STATUS as Fe } from "./utils/getPrecisionFromHdop/constants.js";
64
- import { GNSSEnumMotionStatus as Oe, GNSSEnumSignal as Ae } from "./@types/constants.js";
60
+ import { getVptUpdatedAtWithGuard as De } from "./utils/getVptUpdatedAtWithGuard.js";
61
+ import { getHdopFromPrecision as de, getPrecisionFromHdop as Ee, getQualityCategoryFromPrecision as Ie } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
62
+ import { DEFAULT_RMS_ERROR as _e, HDOP_QUALITY_RANGES as Me, HDOP_QUALITY_STATUS as Re } from "./utils/getPrecisionFromHdop/constants.js";
63
+ import { GNSSEnumMotionStatus as Fe, GNSSEnumSignal as Oe } from "./@types/constants.js";
65
64
  export {
66
- Qo as CourseFormatter,
67
- Pe as DEFAULT_RMS_ERROR,
65
+ d as CourseFormatter,
66
+ _e as DEFAULT_RMS_ERROR,
68
67
  n as DEVICE_STATUSES_CONFIG,
69
- c as Device,
70
- l as DeviceLabel,
71
- Bo as EnumResourceTypesIds,
72
- mo as GEOFENCES_TOOL,
73
- Oe as GNSSEnumMotionStatus,
74
- Ae as GNSSEnumSignal,
75
- to as GeofencesTool,
76
- T as GpsMap,
77
- xo as GpsMapToolsContext,
78
- fo as GpsMapToolsProvider,
79
- Re as HDOP_QUALITY_RANGES,
80
- Fe as HDOP_QUALITY_STATUS,
81
- co as IndicatorBattery,
82
- Do as IndicatorCSQ,
83
- yo as IndicatorValueAndMagnitude,
84
- Eo as IndicatorValueStatus,
85
- _ as LAT_LON_FIXED_DIGITS,
86
- d as MapContext,
87
- A as MapPopupDevice,
88
- E as MapProvider,
89
- R as MarkerFeatureRender,
90
- ue as ObjectQueue,
91
- L as PolylineWithArrows,
92
- Yo as REAL_TIME_RT_DEVICES_DUMMMY_INITIAL,
93
- Ko as RESOURCE_TYPE_DEVICES,
94
- ko as RealTimeConsumerContext,
95
- Xo as RealTimeConsumerProvider,
96
- Wo as RealTimeProducerContext,
97
- wo as RealTimeProducerProvider,
98
- Ao as ReportsViewer,
99
- vo as TIME_VISIBLE_OPTIONS_KEYS,
100
- _o as VideoTimeLineSelector,
101
- ee as capitalizeFirstLetter,
102
- z as coordsToQuadKey,
103
- j as courseToCartesianAngle,
104
- D as courseToCssAngle,
105
- Q as createPixelPathDecimationFilter,
106
- Ce as getComponentClasses,
107
- De as getComponentSlotRoot,
108
- me as getComponentUtilityClass,
109
- Lo as getCourseDirection,
110
- Uo as getCourseFormatterComponentsDictionary,
68
+ l as Device,
69
+ c as DeviceLabel,
70
+ Qo as EnumResourceTypesIds,
71
+ xo as GEOFENCES_TOOL,
72
+ Fe as GNSSEnumMotionStatus,
73
+ Oe as GNSSEnumSignal,
74
+ ao as GeofencesTool,
75
+ _ as GpsMap,
76
+ uo as GpsMapToolsContext,
77
+ co as GpsMapToolsProvider,
78
+ Me as HDOP_QUALITY_RANGES,
79
+ Re as HDOP_QUALITY_STATUS,
80
+ To as IndicatorBattery,
81
+ Eo as IndicatorCSQ,
82
+ Po as IndicatorValueAndMagnitude,
83
+ Mo as IndicatorValueStatus,
84
+ G as LAT_LON_FIXED_DIGITS,
85
+ R as MapContext,
86
+ P as MapProvider,
87
+ L as MarkerFeatureRender,
88
+ se as ObjectQueue,
89
+ U as PolylineWithArrows,
90
+ Bo as REAL_TIME_RT_DEVICES_DUMMMY_INITIAL,
91
+ wo as RESOURCE_TYPE_DEVICES,
92
+ Ko as RealTimeConsumerContext,
93
+ jo as RealTimeConsumerProvider,
94
+ Yo as RealTimeProducerContext,
95
+ bo as RealTimeProducerProvider,
96
+ Uo as ReportsViewer,
97
+ Lo as TIME_VISIBLE_OPTIONS_KEYS,
98
+ Oo as VideoTimeLineSelector,
99
+ $o as capitalizeFirstLetter,
100
+ X as coordsToQuadKey,
101
+ J as courseToCartesianAngle,
102
+ I as courseToCssAngle,
103
+ B as createPixelPathDecimationFilter,
104
+ ue as getComponentClasses,
105
+ ce as getComponentSlotRoot,
106
+ te as getComponentUtilityClass,
107
+ T as getCourseDirection,
108
+ D as getCourseFormatterComponentsDictionary,
111
109
  p as getDeviceByData,
112
110
  r as getDeviceComponentsDictionary,
113
111
  i as getDeviceStatusByData,
114
- ao as getGpsMapToolsComponentsDictionary,
115
- Ie as getHdopFromPrecision,
116
- se as getHeightSizeStyles,
117
- lo as getIndicatorBatteryComponentsDictionary,
118
- To as getIndicatorCSQComponentsDictionary,
119
- y as getMapComponentsDictionary,
120
- v as getMapPopupDeviceComponentsDictionary,
121
- ae as getPaletteColor,
122
- ye as getPrecisionFromHdop,
123
- Me as getQualityCategoryFromPrecision,
124
- xe as getTypographyStyles,
125
- Ro as getVideoTimeLineSelectorComponentDictionary,
126
- de as getVptUpdatedAtWithGuard,
112
+ so as getGpsMapToolsComponentsDictionary,
113
+ de as getHdopFromPrecision,
114
+ xe as getHeightSizeStyles,
115
+ Do as getIndicatorBatteryComponentsDictionary,
116
+ yo as getIndicatorCSQComponentsDictionary,
117
+ O as getMapComponentsDictionary,
118
+ me as getPaletteColor,
119
+ Ee as getPrecisionFromHdop,
120
+ Ie as getQualityCategoryFromPrecision,
121
+ ae as getTypographyStyles,
122
+ Go as getVideoTimeLineSelectorComponentDictionary,
123
+ De as getVptUpdatedAtWithGuard,
127
124
  Te as getVptValueWithGuard,
128
- X as isFeature,
129
- J as isFeatureCollection,
130
- $ as isFeatureCollectionDraft,
131
- eo as isGeometry,
132
- te as isValidDate,
125
+ $ as isFeature,
126
+ eo as isFeatureCollection,
127
+ to as isFeatureCollectionDraft,
128
+ mo as isGeometry,
129
+ ee as isValidDate,
133
130
  f as useDeviceStatus,
134
- Y as useDisableMapEventsOnFlag,
135
- B as useDisableMapEventsOnMouseOver,
136
- U as useFilterDecimation,
137
- W as useMapStore,
138
- $o as useRealTimeConsumer,
139
- Jo as useRealTimeProducer
131
+ W as useDisableMapEventsOnFlag,
132
+ Y as useDisableMapEventsOnMouseOver,
133
+ Q as useFilterDecimation,
134
+ z as useMapStore,
135
+ Jo as useRealTimeConsumer,
136
+ Xo as useRealTimeProducer,
137
+ j as useRegisterMapToolController
140
138
  };
@@ -0,0 +1,27 @@
1
+ type StorybookRuntimeGlobal = {
2
+ __STORYBOOK_IS_CHROMATIC__?: boolean;
3
+ location?: {
4
+ href?: string;
5
+ hostname?: string;
6
+ };
7
+ };
8
+ /**
9
+ * Detects whether the current runtime is Chromatic Storybook.
10
+ *
11
+ * Detection prefers the explicit flag injected by storybook-host and falls back
12
+ * to matching the runtime URL/hostname when that flag is not available.
13
+ */
14
+ export declare function isChromaticStorybookRuntime(runtime?: StorybookRuntimeGlobal | undefined): boolean;
15
+ /**
16
+ * Loads a runtime-only module only when the current environment is not
17
+ * Chromatic Storybook.
18
+ *
19
+ * This is intentionally meant for side-effect imports such as
20
+ * `leaflet.markercluster` or Geoman, which patch the global Leaflet namespace
21
+ * during module evaluation (`L.MarkerClusterGroup = ...`, `L.PM = ...`). In
22
+ * Chromatic, that namespace can be non-extensible, so evaluating the module can
23
+ * throw before the component tree even renders.
24
+ */
25
+ export declare function loadModuleOutsideChromatic(loader: () => Promise<unknown>, runtime?: StorybookRuntimeGlobal | undefined): Promise<unknown | undefined>;
26
+ export {};
27
+ //# sourceMappingURL=storybookRuntime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storybookRuntime.d.ts","sourceRoot":"","sources":["../../../../../packages/gclick/src/internal/storybookRuntime.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,EAAE;QACT,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC;AAgBF;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,OAAO,GAAE,sBAAsB,GAAG,SAAuC,GACxE,OAAO,CAaT;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,EAC9B,OAAO,GAAE,sBAAsB,GAAG,SAAuC,GACxE,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAM9B"}
@@ -0,0 +1,19 @@
1
+ function e() {
2
+ if (!(typeof globalThis > "u"))
3
+ return globalThis;
4
+ }
5
+ function i(o = e()) {
6
+ if (!o)
7
+ return !1;
8
+ if (o.__STORYBOOK_IS_CHROMATIC__ === !0)
9
+ return !0;
10
+ const t = o.location?.href ?? "", r = o.location?.hostname ?? "";
11
+ return /chromatic\.com/i.test(t) || /(^|\.)chromatic\.com$/i.test(r);
12
+ }
13
+ function n(o, t = e()) {
14
+ return !t || i(t) ? Promise.resolve(void 0) : o();
15
+ }
16
+ export {
17
+ i as isChromaticStorybookRuntime,
18
+ n as loadModuleOutsideChromatic
19
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/gclick",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,10 +42,10 @@
42
42
  "react-dom": "^19.0.0",
43
43
  "atmosphere.js": "^4.0.0",
44
44
  "camelcase-keys": "^9.1.3",
45
- "@googlemaps/js-api-loader": "^1.16.6",
46
45
  "immer": "^9.0.21",
47
- "leaflet.markercluster": "^1.5.3",
46
+ "@googlemaps/js-api-loader": "^1.16.6",
48
47
  "@geoman-io/leaflet-geoman-free": "^2.14.2",
48
+ "leaflet.markercluster": "^1.5.3",
49
49
  "react-hook-form": "^7.33.1",
50
50
  "yup": "0.32.11"
51
51
  }
@@ -1,8 +0,0 @@
1
- const t = "device";
2
- function e() {
3
- return [t].concat();
4
- }
5
- export {
6
- t as MDS_DICTIONARY_ID,
7
- e as getDeviceStatusComponentsDictionary
8
- };
@@ -1,9 +0,0 @@
1
- import { Draft } from 'immer';
2
- import { MapStateWithActions, LayerStore } from './types';
3
- export declare const DEFAULT_LAYER: Partial<LayerStore>;
4
- /**
5
- * Actualiza la clases basado en owner state
6
- * @param state immer State
7
- */
8
- export declare const updateOwnerStateClasses: (_state: Draft<MapStateWithActions>) => void;
9
- //# sourceMappingURL=helper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/contexts/MapContext/helper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAInC,OAAO,KAAK,EAAE,mBAAmB,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xIDMyYzEsMyA1LDUgNyw1bDIwIDBjMSwxIDIsMiAyLDJsLTEgLTIgNTAgMGMzLDAgNSwtMyA2LC01IC0xLDEgLTUsMiAtMTEsMSAwLDAgLTIsLTEgLTYsLTMgLTExLC0xIC0yMiwtMSAtMzQsLTEgMCwwIC0zLDEgLTEwLDMgLTMsMCAtOCwxIC0xNSw0IC0yLDAgLTUsLTEgLTgsLTR6Ii8+DQogICA8cGF0aCBjbGFzcz0iY2FyLWZpbDQiIHN0eWxlPSJtYXNrOnVybCgjaWQ0KSIgZD0iTTg1IDhjLTIsLTQgLTMsLTYgLTYsLTZsLTUwIDAgMSAtMmMwLDAgLTEsMSAtMiwybC0yMCAwYy0yLDAgLTUsMiAtNyw2IDAsMCAtMSwyIC0xLDggOCwtNiAxNSwtOSAyMywtMTAgLTEsMyAtMiw2IC0yLDkgNCwtMiA4LC00IDEyLC00IDEyLC0yIDI0LC0yIDM2LDAgMywwIDUsMSA3LDIgNSwtNCA4LC01IDksLTMgMCwtMiAwLC0yIDAsLTJ6Ii8+DQogICA8cGF0aCBjbGFzcz0iY2FyLWZpbDYiIHN0eWxlPSJtYXNrOnVybCgjaWQ2KSIgZD0iTTg1IDMyYy0yLDMgLTMsNSAtNiw1bC01MCAwIDEgMmMwLDAgLTEsLTEgLTIsLTJsLTIwIDBjLTIsMCAtNSwtMiAtNywtNSAwLDAgLTEsLTUgLTEsLTEzIDAsLTcgMSwtMTEgMSwtMTEgMSwtMyA1LC02IDcsLTZsMjAgMGMxLC0xIDIsLTIgMiwtMmwtMSAyIDUwIDBjMywwIDUsMyA2LDYgMCwwIDEsNCAxLDExIDAsOCAtMSwxMyAtMSwxM3oiLz4NCiAgPC9nPg0KIDwvZz4NCjwvc3ZnPg0K";
2
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,i5NAAi5N,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ComponentRenderPropFeature } from '../../contexts/MapContext';
2
- /**
3
- * "DeviceFeatureRender" es un renderizador de Marker para los dispositivos gps
4
- * Tiene en cuenta el deviceData para calcular el estado del dispositivo y renderizar el icono correspondiente
5
- * @param props
6
- * @returns
7
- */
8
- export declare const DeviceFeatureRender: ComponentRenderPropFeature;
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AA0BvE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,0BAgIjC,CAAC"}
@@ -1,7 +0,0 @@
1
- /**
2
- * "useDisableClickEvents" se encarga de desactivar el click cuando se esta sobre
3
- * el div que recibe como parámetro.
4
- * @param nodeElement
5
- */
6
- export declare function useDisableClickEvents(nodeElement: HTMLDivElement | null): void;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useDisableClickEvents/index.tsx"],"names":[],"mappings":"AAYA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,cAAc,GAAG,IAAI,QAqBvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GridDebugVisualization.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/GridDebugVisualization.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,UAAU,2BAA2B;IACnC,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,2BAA2B,QA+C5E"}
@@ -1,6 +0,0 @@
1
- import { ZoomBasedFilterConfig } from './types';
2
- import { PixelPathFilterConfig } from './createPixelPathDecimationFilter/types';
3
- export declare const DEFAULT_CONFIG: Required<ZoomBasedFilterConfig>;
4
- export declare const PIXEL_PATH_DEFAULT_CONFIG: Required<PixelPathFilterConfig>;
5
- export declare const USE_FILTER_DECIMATION_DEFAULT_DEBOUNCE_MS = 150;
6
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAErF,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,qBAAqB,CAa1D,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,qBAAqB,CAOrE,CAAC;AAEF,eAAO,MAAM,yCAAyC,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"decimateByConcentrationGrid.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/decimateByConcentrationGrid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC/B,SAAS,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,iBAAiB,CAAC,EAClD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GACjC,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CA+DrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"decimateByPixelDistanceAlongPath.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/decimateByPixelDistanceAlongPath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;GAWG;AACH,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,UAAU,EACf,mBAAmB,EAAE,MAAM,EAAE,EAC7B,MAAM,EAAE,iBAAiB,EAAE,EAC3B,gBAAgB,EAAE,MAAM,EACxB,sBAAsB,EAAE,OAAO,EAC/B,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,GAC1C,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAwDrB"}
@@ -1,22 +0,0 @@
1
- function p(c, l, x, e, r, y) {
2
- const d = [], s = /* @__PURE__ */ new Set();
3
- let n = null;
4
- const f = e * e;
5
- for (const h of l) {
6
- const t = x[h], i = c.latLngToLayerPoint([t.lat, t.lng]), u = y?.has(t.id) ?? !1;
7
- if (n === null) {
8
- s.has(t.id) || (d.push(t.id), s.add(t.id)), n = { x: i.x, y: i.y };
9
- continue;
10
- }
11
- if (u) {
12
- s.has(t.id) || (d.push(t.id), s.add(t.id)), n = { x: i.x, y: i.y };
13
- continue;
14
- }
15
- const o = i.x - n.x, a = i.y - n.y;
16
- o * o + a * a >= f && (s.has(t.id) || (d.push(t.id), s.add(t.id)), n = { x: i.x, y: i.y });
17
- }
18
- return d;
19
- }
20
- export {
21
- p as decimateByPixelDistanceAlongPath
22
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAGhB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,CAAC,EAAE,qBAAqB,GAC7B,gBAAgB,CAyKlB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/createPixelPathDecimationFilter/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;OAMG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAClC;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,84 +0,0 @@
1
- /**
2
- * Configuración para el filtrado de marcas basado en zoom y viewport (RBush)
3
- */
4
- export interface ZoomBasedFilterConfig {
5
- /**
6
- * Nivel de zoom mínimo donde se muestran todas las marcas en viewport
7
- * Por debajo de este zoom, se aplica el filtrado
8
- */
9
- minZoomForAllMarkers?: number;
10
- /**
11
- * Límite máximo de marcas a mostrar cuando el zoom está alejado
12
- */
13
- maxMarkersAtMinZoom?: number;
14
- /**
15
- * Si es true, usa muestreo espacial (grid) cuando hay más marcas que el límite
16
- */
17
- useSpatialSampling?: boolean;
18
- /**
19
- * Si es true, retorna información de la grilla para visualización (solo para debug)
20
- */
21
- showGridDebug?: boolean;
22
- /**
23
- * Factor de expansión del viewport para el bounding box (1 = solo visible, 1.2 = 20% más en cada lado)
24
- */
25
- viewportOffsetFactor?: number;
26
- /**
27
- * Milisegundos de debounce para moveend/zoomend (evita saturar el pintado en movimientos intensos)
28
- */
29
- debounceMs?: number;
30
- /**
31
- * Si es true, usa decimación por distancia (geokdbush): mínima distancia entre marcas según zoom.
32
- * Más fluido que grilla: a mayor zoom menos distancia mínima = más marcas.
33
- */
34
- useDistanceDecimation?: boolean;
35
- /**
36
- * Distancia mínima entre marcas (m) cuando el zoom está bajo. A mayor zoom la distancia se reduce.
37
- * Solo aplica si useDistanceDecimation es true.
38
- */
39
- minDistanceMetersAtLowZoom?: number;
40
- /**
41
- * Distancia mínima entre marcas (m) cuando el zoom está alto.
42
- * Solo aplica si useDistanceDecimation es true.
43
- */
44
- minDistanceMetersAtHighZoom?: number;
45
- /**
46
- * Nivel de zoom considerado "bajo" para minDistanceMetersAtLowZoom.
47
- */
48
- lowZoomLevel?: number;
49
- /**
50
- * Nivel de zoom considerado "alto" para minDistanceMetersAtHighZoom.
51
- */
52
- highZoomLevel?: number;
53
- /**
54
- * Si es true, al decimar se distribuyen los puntos a lo largo de la distancia total del recorrido
55
- * (orden de featureIds), no se toman solo los primeros. Evita que queden "pegados" al inicio.
56
- */
57
- distributeByPathDistance?: boolean;
58
- }
59
- /**
60
- * Configuración transversal del hook useFilterDecimation.
61
- * Afecta cómo se programa la recomputación ante zoom/pan, no a la lógica de decimación.
62
- */
63
- export interface UseFilterDecimationConfig {
64
- /**
65
- * Debounce en ms antes de recalcular tras zoomend/moveend.
66
- * Si hay zoom o movimiento continuo, se cancela el cálculo pendiente y se programa uno nuevo.
67
- * 0 = sin debounce (ejecución inmediata). Por defecto 150.
68
- */
69
- debounceMs?: number;
70
- }
71
- /**
72
- * Información de una celda de la grilla para visualización
73
- */
74
- export interface GridCell {
75
- bounds: {
76
- north: number;
77
- south: number;
78
- east: number;
79
- west: number;
80
- };
81
- featureCount: number;
82
- selected: boolean;
83
- }
84
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;OAGG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFilterDecimation.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/gclick/src/components/maps/components/GpsMap/hooks/useZoomBasedMarkerFilter/useFilterDecimation.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAKzD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC/B,OAAO,EAAE,MAAM,EACf,mBAAmB,EAAE,OAAO,EAC5B,gBAAgB,CAAC,EAAE,gBAAgB,EACnC,MAAM,CAAC,EAAE,yBAAyB,GACjC,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAuIrB"}