@m4l/gclick 0.2.0 → 0.2.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/components/maps/components/GpsMap/GpsMap.js +3 -3
  2. package/components/maps/components/GpsMap/GpsMap.styles.js +74 -4
  3. package/components/maps/components/GpsMap/constants.d.ts +3 -1
  4. package/components/maps/components/GpsMap/constants.js +9 -41
  5. package/components/maps/components/GpsMap/contexts/MapContext/store.js +5 -7
  6. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +6 -21
  7. package/components/maps/components/GpsMap/dictionary.js +0 -4
  8. package/components/maps/components/GpsMap/external/MapControl/types.d.ts +1 -2
  9. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.d.ts +3 -1
  10. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/index.js +13 -15
  11. package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/index.d.ts +1 -1
  12. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/subcomponents/FeatureDivIconLabel/index.js +33 -0
  13. package/components/maps/components/GpsMap/featureRenders/{FeatureDivIconLabel → MarkerIconLabel/subcomponents/FeatureDivIconLabel}/types.d.ts +1 -1
  14. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +1 -2
  15. package/components/maps/components/GpsMap/featureRenders/index.d.ts +0 -1
  16. package/components/maps/components/GpsMap/hooks/useAutoFocus/index.js +5 -4
  17. package/components/maps/components/GpsMap/icons.js +0 -5
  18. package/components/maps/components/GpsMap/slots/slots.d.ts +2 -2
  19. package/components/maps/components/GpsMap/slots/slots.js +2 -2
  20. package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.d.ts +23 -0
  21. package/components/maps/components/GpsMap/subcomponents/Controls/hooks/useControls.js +32 -0
  22. package/components/maps/components/GpsMap/subcomponents/Controls/index.d.ts +0 -12
  23. package/components/maps/components/GpsMap/subcomponents/Controls/index.js +7 -9
  24. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.d.ts +4 -0
  25. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/constants.js +41 -0
  26. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/types.d.ts +2 -2
  27. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.js +9 -9
  28. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.d.ts +5 -0
  29. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/hooks/useZoomBottons.js +61 -0
  30. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.d.ts +7 -0
  31. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/index.js +38 -0
  32. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/subcomponents/ButtonPopupTool/index.d.ts +5 -0
  33. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/index.js +4 -6
  34. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.js +1 -1
  35. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/ButtonsToolsList/types.d.ts +7 -0
  36. package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +1 -1
  37. package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.js +2 -2
  38. package/components/maps/components/GpsMap/subcomponents/Layers/subcomponents/Layer/hooks/useClusterMarkers.d.ts +13 -0
  39. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.d.ts +1 -1
  40. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/index.js +3 -39
  41. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.d.ts +1 -1
  42. package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/index.js +1 -1
  43. package/components/maps/components/GpsMap/types.d.ts +95 -8
  44. package/components/maps/components/GpsMapTools/constants.d.ts +1 -5
  45. package/components/maps/components/GpsMapTools/constants.js +2 -69
  46. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.d.ts +21 -0
  47. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js +20 -0
  48. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.d.ts +1 -21
  49. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.js +1 -48
  50. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.d.ts +1 -1
  51. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/store.js +54 -58
  52. package/components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/types.d.ts +20 -79
  53. package/components/maps/components/GpsMapTools/dictionary.d.ts +67 -53
  54. package/components/maps/components/GpsMapTools/dictionary.js +58 -50
  55. package/components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.js +1 -1
  56. package/components/maps/components/GpsMapTools/icons.d.ts +58 -17
  57. package/components/maps/components/GpsMapTools/icons.js +45 -18
  58. package/components/maps/components/GpsMapTools/index.d.ts +4 -5
  59. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.d.ts +4 -0
  60. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js +16 -0
  61. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.d.ts +12 -0
  62. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js +52 -0
  63. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.d.ts +9 -0
  64. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/helpers.js +17 -0
  65. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.d.ts +8 -0
  66. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useColumns.js +88 -0
  67. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.d.ts +27 -0
  68. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridFiltered.js +79 -0
  69. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.d.ts +16 -0
  70. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useDatagridSelected.js +57 -0
  71. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.d.ts +19 -0
  72. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterAndSort.js +57 -0
  73. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.d.ts +5 -0
  74. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useFilterFields.js +32 -0
  75. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.d.ts +5 -0
  76. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useFilterAndSort/useSortFields.js +20 -0
  77. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLayers.js +32 -0
  78. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.d.ts +8 -0
  79. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useLoadDrawGeometry.js +104 -0
  80. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.d.ts +7 -0
  81. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useMaster.js +39 -0
  82. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.d.ts +12 -0
  83. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useModuleDynamicActions.js +55 -0
  84. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.d.ts +2 -2
  85. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofencesList → GeofencesTool}/hooks/useRowActionsGetter.js +30 -35
  86. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.d.ts +18 -0
  87. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabFiltered.js +70 -0
  88. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.d.ts +17 -0
  89. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/hooks/useTabSelected.js +48 -0
  90. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/index.d.ts +1 -0
  91. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents → GeofencesTool}/model.d.ts +40 -12
  92. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.d.ts +5 -0
  93. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/Form.js +45 -0
  94. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +3 -0
  95. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.js +31 -0
  96. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.d.ts +6 -15
  97. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/helpers.js +32 -15
  98. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +1 -1
  99. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useDrawing.js +108 -85
  100. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.d.ts +10 -0
  101. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useForm.js +98 -0
  102. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +1 -3
  103. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSubmit.js +23 -24
  104. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +6 -3
  105. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +67 -0
  106. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.js +78 -0
  107. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.d.ts +8 -0
  108. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/hooks/useGeneral.js +43 -0
  109. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +6 -0
  110. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +3 -1
  111. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.js +6 -1
  112. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.d.ts +5 -0
  113. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel/MyActionFormCancel.js +19 -0
  114. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.d.ts +9 -0
  115. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/constants.js +64 -0
  116. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.js +2 -2
  117. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.js +7 -10
  118. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.d.ts +11 -0
  119. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokePatternOptions.js +19 -0
  120. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.d.ts +9 -0
  121. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/hooks/useStrokeWeightsOptions.js +17 -0
  122. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.js +15 -22
  123. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +9 -0
  124. package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/types.d.ts +17 -11
  125. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.d.ts +5 -0
  126. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/GeofenceFeatureRender.js +163 -0
  127. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/constants.d.ts +1 -0
  128. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.d.ts +17 -0
  129. package/components/maps/components/GpsMapTools/subcomponents/GeofencesTool/subcomponents/GeofenceFeatureRender/helpers.js +35 -0
  130. package/components/maps/components/GpsMapTools/types.d.ts +0 -18
  131. package/components/maps/index.d.ts +1 -1
  132. package/index.js +65 -66
  133. package/package.json +3 -2
  134. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/constants.js +0 -4
  135. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +0 -263
  136. package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +0 -33
  137. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.d.ts +0 -10
  138. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.js +0 -10
  139. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.d.ts +0 -4
  140. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/subcomponents/ZoomButtons/index.js +0 -52
  141. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/types.d.ts +0 -2
  142. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.d.ts +0 -4
  143. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/types.d.ts +0 -5
  144. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -9
  145. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +0 -58
  146. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.d.ts +0 -9
  147. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +0 -4
  148. package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +0 -5
  149. package/components/maps/components/GpsMapTools/GpsMapTools.js +0 -10
  150. package/components/maps/components/GpsMapTools/classes/index.d.ts +0 -7
  151. package/components/maps/components/GpsMapTools/classes/index.js +0 -21
  152. package/components/maps/components/GpsMapTools/classes/types.d.ts +0 -14
  153. package/components/maps/components/GpsMapTools/hooks/useLayers/index.js +0 -57
  154. package/components/maps/components/GpsMapTools/styles.d.ts +0 -1
  155. package/components/maps/components/GpsMapTools/styles.js +0 -18
  156. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.d.ts +0 -9
  157. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +0 -84
  158. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
  159. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.js +0 -40
  160. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.js +0 -36
  161. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -5
  162. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.js +0 -71
  163. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
  164. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.js +0 -8
  165. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.js +0 -51
  166. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.js +0 -128
  167. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
  168. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -5
  169. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.js +0 -55
  170. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -4
  171. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.js +0 -76
  172. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts +0 -7
  173. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
  174. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
  175. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.js +0 -86
  176. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -7
  177. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.js +0 -85
  178. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -12
  179. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +0 -111
  180. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -22
  181. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.js +0 -164
  182. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -4
  183. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.js +0 -73
  184. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -1
  185. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.js +0 -8
  186. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -9
  187. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.js +0 -49
  188. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -7
  189. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/constants.js +0 -13
  190. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/types.d.ts +0 -7
  191. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/hooks/useTool.d.ts +0 -0
  192. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools/subcomponents/ButtonTool → ButtonsToolsList/subcomponents/ButtonPopupTool}/types.d.ts +0 -0
  193. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.d.ts +0 -0
  194. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.js +0 -0
  195. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.d.ts +0 -0
  196. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/MapLayersTool.styles.js +0 -0
  197. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/types.d.ts +0 -0
  198. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.d.ts +0 -0
  199. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/hooks/useMapLayersTool.js +0 -0
  200. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.d.ts +0 -0
  201. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/slots.js +0 -0
  202. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.d.ts +0 -0
  203. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/slots/styled.js +0 -0
  204. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.d.ts +0 -0
  205. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/MapLayerRow.js +0 -0
  206. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/subcomponents/types.d.ts +0 -0
  207. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapLayersTool/types.d.ts +0 -0
  208. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.d.ts +0 -0
  209. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.js +0 -0
  210. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.d.ts +0 -0
  211. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/MapSourcesTool.styles.js +0 -0
  212. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.d.ts +0 -0
  213. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.js +0 -0
  214. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.d.ts +0 -0
  215. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/slots.js +0 -0
  216. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.d.ts +0 -0
  217. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/slots/styled.js +0 -0
  218. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.d.ts +0 -0
  219. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/bing.js +0 -0
  220. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.d.ts +0 -0
  221. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/google.js +0 -0
  222. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.d.ts +0 -0
  223. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/sourceTypes/others.js +0 -0
  224. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.d.ts +0 -0
  225. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.js +0 -0
  226. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/subcomponents/types.d.ts +0 -0
  227. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MapSourcesTool/types.d.ts +0 -0
  228. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.d.ts +0 -0
  229. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.js +0 -0
  230. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.d.ts +0 -0
  231. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/MeasureTool.styles.js +0 -0
  232. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.d.ts +0 -0
  233. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/constants.js +0 -0
  234. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +0 -0
  235. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +0 -0
  236. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +0 -0
  237. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +0 -0
  238. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -0
  239. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/hooks/useValidation.js +0 -0
  240. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/model.d.ts +0 -0
  241. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.d.ts +0 -0
  242. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/slots.js +0 -0
  243. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.d.ts +0 -0
  244. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/slots/styled.js +0 -0
  245. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -0
  246. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +0 -0
  247. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -0
  248. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -0
  249. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MeasureData/validations.js +0 -0
  250. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -0
  251. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/subcomponents/MyActions/index.js +0 -0
  252. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → ButtonsToolsList}/subcomponents/MeasureTool/types.d.ts +0 -0
  253. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer → Layers}/index.d.ts +0 -0
  254. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.d.ts +0 -0
  255. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/index.js +0 -0
  256. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/MarkerClusterGroup/types.d.ts +0 -0
  257. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -0
  258. /package/components/maps/components/GpsMap/subcomponents/{LayersContainer/subcomponents/MyLayer → Layers/subcomponents/Layer}/types.d.ts +0 -0
  259. /package/components/maps/components/GpsMapTools/{hooks/useLayers/index.d.ts → subcomponents/GeofencesTool/hooks/useLayers.d.ts} +0 -0
  260. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -0
  261. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/hooks/useValidation.js +0 -0
  262. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -0
  263. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -0
  264. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -0
  265. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.js +0 -0
  266. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/GeneralData.d.ts} +0 -0
  267. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions → GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActionFormCancel}/types.d.ts +0 -0
  268. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -0
  269. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -0
  270. /package/components/maps/components/GpsMapTools/subcomponents/{TabsGpsTools → GeofencesTool}/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -0
@@ -0,0 +1,163 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { Circle, Polyline, Polygon, GeoJSON } from "react-leaflet";
3
+ import { shallow } from "zustand/shallow";
4
+ import { u as useMapStore } from "../../../../../GpsMap/hooks/useMapStore/index.js";
5
+ import React, { useCallback } from "react";
6
+ import { M as MarkerIconLabel } from "../../../../../GpsMap/featureRenders/MarkerIconLabel/index.js";
7
+ import { g as getLabelPositionForCircle, a as getLabelPositionForLineString, b as getLabelPositionForPolygon } from "./helpers.js";
8
+ import { g as getStyleFromProperties } from "../../helpers.js";
9
+ const GeofenceFeatureRender = (props) => {
10
+ const { id, layerId } = props;
11
+ const feature = useMapStore((state) => {
12
+ const gObject = state.hashLayers[layerId].geoJsonObject;
13
+ if (!gObject) {
14
+ return null;
15
+ }
16
+ if (gObject.object.type === "FeatureCollection") {
17
+ const feat = gObject.object.features.find((f) => f.id === id);
18
+ if (feat) {
19
+ return {
20
+ id: feat.id,
21
+ geometry: feat.geometry,
22
+ properties: feat.properties
23
+ };
24
+ }
25
+ } else {
26
+ throw new Error("GeofenceFeatureRender no se puede usar con un feature de tipo Feature");
27
+ }
28
+ return null;
29
+ }, shallow);
30
+ const { addLayerDataToFeature } = useMapStore((state) => state.mapActions, shallow);
31
+ const onAddLayer = useCallback((e) => {
32
+ if (!feature) {
33
+ return;
34
+ }
35
+ const layerData = {
36
+ // visible: true,
37
+ boundsNW: e.target.getBounds().getNorthWest(),
38
+ boundsSE: e.target.getBounds().getSouthEast(),
39
+ getTarget: () => e.target
40
+ // target: e.target,
41
+ };
42
+ addLayerDataToFeature(layerId, feature.id, layerData);
43
+ }, [feature, addLayerDataToFeature, layerId]);
44
+ if (!feature) {
45
+ return null;
46
+ }
47
+ const propFeature = {
48
+ featureId: feature.id
49
+ };
50
+ if (feature.geometry?.type === "Point") {
51
+ const [lng, lat] = feature.geometry.coordinates;
52
+ if (feature.properties?.radius) {
53
+ const { radius, markerIconLabel, ...otherProperties } = feature.properties;
54
+ const styleProperties = getStyleFromProperties(otherProperties);
55
+ const labelPosition = getLabelPositionForCircle(lat, lng, radius);
56
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
57
+ /* @__PURE__ */ jsx(
58
+ Circle,
59
+ {
60
+ center: { lat, lng },
61
+ radius: feature.properties?.radius,
62
+ eventHandlers: {
63
+ add: onAddLayer
64
+ // remove: () => {
65
+ // removeLefletLayerToFeature(layerId, feature.id)
66
+ // },
67
+ },
68
+ ...styleProperties,
69
+ ...propFeature
70
+ },
71
+ Math.random()
72
+ ),
73
+ markerIconLabel && /* @__PURE__ */ jsx(
74
+ MarkerIconLabel,
75
+ {
76
+ position: labelPosition,
77
+ ...markerIconLabel
78
+ }
79
+ )
80
+ ] });
81
+ }
82
+ } else if (feature.geometry?.type === "LineString") {
83
+ const polylinePositions = feature.geometry.coordinates.map(
84
+ (coord) => [coord[1], coord[0]]
85
+ );
86
+ const { markerIconLabel, ...otherProperties } = feature.properties;
87
+ const styleProperties = getStyleFromProperties(otherProperties);
88
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
89
+ /* @__PURE__ */ jsx(
90
+ Polyline,
91
+ {
92
+ positions: polylinePositions,
93
+ stroke: true,
94
+ eventHandlers: {
95
+ add: onAddLayer
96
+ // remove: () => {
97
+ // removeLefletLayerToFeature(layerId, feature.id)
98
+ // },
99
+ },
100
+ ...styleProperties,
101
+ ...propFeature
102
+ },
103
+ Math.random()
104
+ ),
105
+ markerIconLabel && /* @__PURE__ */ jsx(
106
+ MarkerIconLabel,
107
+ {
108
+ position: getLabelPositionForLineString(polylinePositions),
109
+ ...markerIconLabel
110
+ }
111
+ )
112
+ ] });
113
+ } else if (feature.geometry?.type === "Polygon") {
114
+ const polygonPositions = feature.geometry.coordinates.map(
115
+ (ring) => ring.map(([lng, lat]) => [lat, lng])
116
+ );
117
+ const { markerIconLabel, ...otherProperties } = feature.properties;
118
+ const styleProperties = getStyleFromProperties(otherProperties);
119
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
120
+ /* @__PURE__ */ jsx(
121
+ Polygon,
122
+ {
123
+ positions: polygonPositions,
124
+ eventHandlers: {
125
+ add: onAddLayer
126
+ // remove: () => {
127
+ // removeLefletLayerToFeature(layerId, feature.id)
128
+ // },
129
+ },
130
+ ...styleProperties,
131
+ ...propFeature
132
+ }
133
+ ),
134
+ markerIconLabel && /* @__PURE__ */ jsx(MarkerIconLabel, { position: getLabelPositionForPolygon(polygonPositions), ...markerIconLabel })
135
+ ] });
136
+ } else if (feature.geometry?.type === "MultiPolygon") {
137
+ const multiPolygonPositions = feature.geometry.coordinates.map(
138
+ (polygon) => polygon.map(
139
+ (ring) => ring.map(([lng, lat]) => [lat, lng])
140
+ )
141
+ );
142
+ const { markerIconLabel, ...otherProperties } = feature.properties;
143
+ const styleProperties = getStyleFromProperties(otherProperties);
144
+ return /* @__PURE__ */ jsxs(React.Fragment, { children: [
145
+ /* @__PURE__ */ jsx(
146
+ GeoJSON,
147
+ {
148
+ data: feature.geometry,
149
+ ...styleProperties,
150
+ ...propFeature,
151
+ eventHandlers: {
152
+ add: onAddLayer
153
+ }
154
+ }
155
+ ),
156
+ markerIconLabel && /* @__PURE__ */ jsx(React.Fragment, { children: multiPolygonPositions.map((polygon, idx) => /* @__PURE__ */ jsx(MarkerIconLabel, { position: getLabelPositionForPolygon(polygon), ...markerIconLabel, label: `${markerIconLabel.label} (${idx + 1}/${multiPolygonPositions.length})` }, idx)) })
157
+ ] });
158
+ }
159
+ return null;
160
+ };
161
+ export {
162
+ GeofenceFeatureRender as G
163
+ };
@@ -0,0 +1 @@
1
+ export declare const FALLBACK_SVG = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8IS0tIENyZWF0b3I6IENvcmVsRFJBVyBYOCAtLT4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjI5IiB3aWR0aD0iNjIiIHZlcnNpb249IjEuMSIgc3R5bGU9InNoYXBlLXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247IHRleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjsgaW1hZ2UtcmV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mMwLDAgLTEsLTEgLTIsLTJsLTIwIDBjLTIsMCAtNSwtMiAtNywtNSAwLDAgLTEsLTUgLTEsLTEzIDAsLTcgMSwtMTEgMSwtMTEgMSwtMyA1LC02IDcsLTZsMjAgMGMxLC0xIDIsLTIgMiwtMmwtMSAyIDUwIDBjMywwIDUsMyA2LDYgMCwwIDEsNCAxLDExIDAsOCAtMSwxMyAtMSwxM3oiLz4NCiAgPC9nPg0KIDwvZz4NCjwvc3ZnPg0K";
@@ -0,0 +1,17 @@
1
+ import { LatLngExpression, LatLngTuple } from 'leaflet';
2
+ /**
3
+ * "calculateLabelPosition" es la función encargada de calcular la posición del label de una geocerca
4
+ */
5
+ export declare const getLabelPositionForCircle: (lat: number, lng: number, radius: number) => LatLngTuple;
6
+ /**
7
+ * "getLabelPositionForLineString" es la función encargada de calcular la posición del label de una línea
8
+ */
9
+ export declare const getLabelPositionForLineString: (lineStringPositions: LatLngExpression[]) => LatLngTuple;
10
+ /**
11
+ * "getLabelPositionForPolygon" es la función encargada de calcular la posición del label de un polígono
12
+ */
13
+ export declare const getLabelPositionForPolygon: (polygonPositions: LatLngExpression[][]) => LatLngTuple;
14
+ /**
15
+ * "getLabelPositionForMultiPolygon" es la función encargada de calcular la posición del label de un multi polígono
16
+ */
17
+ export declare const getLabelPositionForMultiPolygon: (multiPolygonPositions: LatLngExpression[][][]) => LatLngTuple;
@@ -0,0 +1,35 @@
1
+ const getLabelPositionForCircle = (lat, lng, radius) => {
2
+ const offsetFactor = 1.1;
3
+ const totalDistance = radius * offsetFactor;
4
+ const angle = 45 * (Math.PI / 180);
5
+ const offsetLat = totalDistance * Math.sin(angle) / 111319;
6
+ const offsetLng = totalDistance * Math.cos(angle) / (111319 * Math.cos(lat * (Math.PI / 180)));
7
+ return [lat + offsetLat, lng + offsetLng];
8
+ };
9
+ const getLabelPositionForLineString = (lineStringPositions) => {
10
+ let topRightPoint = null;
11
+ lineStringPositions.forEach((coord) => {
12
+ const [lat, lng] = coord;
13
+ if (!topRightPoint || lat >= topRightPoint[0] && lng >= topRightPoint[1]) {
14
+ topRightPoint = coord;
15
+ }
16
+ });
17
+ topRightPoint = topRightPoint || lineStringPositions[0];
18
+ return topRightPoint;
19
+ };
20
+ const getLabelPositionForPolygon = (polygonPositions) => {
21
+ let topRightPoint = null;
22
+ polygonPositions[0].forEach((coord) => {
23
+ const [lat, lng] = coord;
24
+ if (!topRightPoint || lat >= topRightPoint[0] && lng >= topRightPoint[1]) {
25
+ topRightPoint = coord;
26
+ }
27
+ });
28
+ topRightPoint = topRightPoint || polygonPositions[0][0];
29
+ return topRightPoint;
30
+ };
31
+ export {
32
+ getLabelPositionForLineString as a,
33
+ getLabelPositionForPolygon as b,
34
+ getLabelPositionForCircle as g
35
+ };
@@ -1,18 +0,0 @@
1
- import { GeofenceTypeId } from './subcomponents/TabsGpsTools/subcomponents/model';
2
- export interface GeofenceTypeItem {
3
- id: GeofenceTypeId;
4
- name: string;
5
- url: string;
6
- }
7
- export interface StyleOpacity {
8
- value: number;
9
- label: string;
10
- }
11
- export interface StyleWheight {
12
- value: number;
13
- label: string;
14
- }
15
- export interface StyleDashArray {
16
- value: string;
17
- label: string;
18
- }
@@ -1,5 +1,5 @@
1
1
  export * from './components/GpsMap';
2
2
  export * from './utils';
3
3
  export type { MapProps, RendePropFeatureArgs, ComponentRenderPropFeature, FeatureId, FeatureCollection, Feature, Geometry, } from './components/GpsMap';
4
- export { GpsMapTools, useGpsMapToolsStore, GpsMapToolsProvider, getGpsMapToolsComponentsDictionary, } from './components/GpsMapTools';
4
+ export * from './components/GpsMapTools';
5
5
  export { courseToCssAngle } from './utils/courseToCssAngle';
package/index.js CHANGED
@@ -5,81 +5,81 @@ import { D } from "./components/Device/hooks/constants.js";
5
5
  import { u } from "./components/Device/hooks/useDeviceStatus.js";
6
6
  import { D as D2 } from "./components/Device/Device.js";
7
7
  import { D as D3 } from "./components/DeviceLabel/DeviceLabel.js";
8
- import { G } from "./components/maps/components/GpsMapTools/GpsMapTools.js";
9
- import { u as u2 } from "./components/maps/components/GpsMapTools/hooks/useGpsMapToolsStore/index.js";
10
- import { a as a2 } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/index.js";
11
- import { g as g3 } from "./components/maps/components/GpsMapTools/dictionary.js";
12
8
  import { c } from "./components/maps/utils/courseToCssAngle.js";
13
- import { G as G2 } from "./components/maps/components/GpsMap/GpsMap.js";
14
- import { M, a as a3 } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
15
- import { g as g4 } from "./components/maps/components/GpsMap/dictionary.js";
16
- import { i } from "./components/maps/components/GpsMap/constants.js";
9
+ import { G } from "./components/maps/components/GpsMap/GpsMap.js";
10
+ import { M, a as a2 } from "./components/maps/components/GpsMap/contexts/MapContext/MapContext.js";
11
+ import { g as g3 } from "./components/maps/components/GpsMap/dictionary.js";
12
+ import { g as g4 } from "./components/maps/components/GpsMap/constants.js";
17
13
  import { M as M2 } from "./components/maps/components/GpsMap/featureRenders/MarkerFeatureRender/index.js";
18
- import { C } from "./components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js";
19
14
  import { g as g5 } from "./components/maps/components/GpsMap/popups/MapPopupDevice/dictionary.js";
20
15
  import { M as M3 } from "./components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js";
21
16
  import { P } from "./components/maps/components/GpsMap/pluginLayers/PolylineWithArrows/index.js";
22
- import { u as u3 } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
23
- import { u as u4 } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
24
- import { u as u5 } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
17
+ import { u as u2 } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.js";
18
+ import { u as u3 } from "./components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js";
19
+ import { u as u4 } from "./components/maps/components/GpsMap/hooks/useMapStore/index.js";
25
20
  import { c as c2 } from "./components/maps/utils/coordsToQuadKey.js";
26
21
  import { c as c3 } from "./components/maps/utils/courseToCartesianAngle.js";
27
- import { i as i2 } from "./components/maps/utils/isFeature.js";
28
- import { i as i3 } from "./components/maps/utils/isFeatureCollection.js";
29
- import { i as i4 } from "./components/maps/utils/isFeatureCollectionDraft.js";
30
- import { i as i5 } from "./components/maps/utils/isGeometry.js";
22
+ import { i } from "./components/maps/utils/isFeature.js";
23
+ import { i as i2 } from "./components/maps/utils/isFeatureCollection.js";
24
+ import { i as i3 } from "./components/maps/utils/isFeatureCollectionDraft.js";
25
+ import { i as i4 } from "./components/maps/utils/isGeometry.js";
26
+ import { G as G2 } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/GeofencesTool.js";
27
+ import { d } from "./components/maps/components/GpsMapTools/subcomponents/GeofencesTool/constants.js";
28
+ import { g as g6 } from "./components/maps/components/GpsMapTools/dictionary.js";
29
+ import { G as G3, a as a3 } from "./components/maps/components/GpsMapTools/contexts/GpsMapToolsContext/GpsMapToolsContext.js";
31
30
  import { I } from "./components/indicators/IndicatorBattery/IndicatorBattery.js";
32
- import { g as g6 } from "./components/indicators/IndicatorBattery/dictionary.js";
31
+ import { g as g7 } from "./components/indicators/IndicatorBattery/dictionary.js";
33
32
  import { I as I2 } from "./components/indicators/IndicatorCSQ/IndicatorCSQ.js";
34
- import { g as g7 } from "./components/indicators/IndicatorCSQ/dictionary.js";
33
+ import { g as g8 } from "./components/indicators/IndicatorCSQ/dictionary.js";
35
34
  import { I as I3 } from "./components/indicators/IndicatorValueStatus/IndicatorValueStatus.js";
36
35
  import { I as I4 } from "./components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js";
37
- import { g as g8 } from "./formatters/CourseFormatter/helper.js";
38
- import { g as g9 } from "./formatters/CourseFormatter/dictionary.js";
39
- import { C as C2 } from "./formatters/CourseFormatter/CourseFormatter.js";
36
+ import { g as g9 } from "./formatters/CourseFormatter/helper.js";
37
+ import { g as g10 } from "./formatters/CourseFormatter/dictionary.js";
38
+ import { C } from "./formatters/CourseFormatter/CourseFormatter.js";
40
39
  import { E } from "./contexts/RealTimeProducerContext/constants.js";
41
40
  import { R } from "./contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js";
42
41
  import { R as R2, a as a4 } from "./contexts/RealTimeProducerContext/RealTimeProducerContext.js";
43
42
  import { R as R3 } from "./contexts/RealTimeConsumerContext/constants.js";
44
43
  import { R as R4, a as a5 } from "./contexts/RealTimeConsumerContext/RealTimeConsumerContext.js";
45
- import { u as u6 } from "./hooks/useRealTimeProducer/index.js";
46
- import { u as u7 } from "./hooks/useRealTimeConsumer/index.js";
44
+ import { u as u5 } from "./hooks/useRealTimeProducer/index.js";
45
+ import { u as u6 } from "./hooks/useRealTimeConsumer/index.js";
47
46
  import { c as c4 } from "./utils/capitalizeFirstLetter.js";
48
- import { i as i6 } from "./utils/isValidDate.js";
49
- import { g as g10 } from "./utils/getComponentUtilityClass.js";
50
- import { g as g11 } from "./utils/getPaletteColor.js";
51
- import { g as g12 } from "./utils/getTypographyStyles.js";
52
- import { g as g13 } from "./utils/getSizeStyles/getSizeStyles.js";
47
+ import { i as i5 } from "./utils/isValidDate.js";
48
+ import { g as g11 } from "./utils/getComponentUtilityClass.js";
49
+ import { g as g12 } from "./utils/getPaletteColor.js";
50
+ import { g as g13 } from "./utils/getTypographyStyles.js";
51
+ import { g as g14 } from "./utils/getSizeStyles/getSizeStyles.js";
53
52
  import { O } from "./utils/ObjectQueue.js";
54
- import { a as a6, g as g14 } from "./utils/getComponentSlotRoot.js";
55
- import { g as g15 } from "./utils/getVptValueWithGuard.js";
56
- import { g as g16 } from "./utils/getVptUpdatedAtWithGuard.js";
57
- import { a as a7, g as g17, b } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
53
+ import { a as a6, g as g15 } from "./utils/getComponentSlotRoot.js";
54
+ import { g as g16 } from "./utils/getVptValueWithGuard.js";
55
+ import { g as g17 } from "./utils/getVptUpdatedAtWithGuard.js";
56
+ import { a as a7, g as g18, b } from "./utils/getPrecisionFromHdop/getPrecisionFromHdop.js";
58
57
  import { D as D4, a as a8, H } from "./utils/getPrecisionFromHdop/constants.js";
59
- import { G as G3, a as a9 } from "./@types/constants.js";
58
+ import { G as G4, a as a9 } from "./@types/constants.js";
60
59
  export {
61
- C as CommonFeatureRender,
62
- C2 as CourseFormatter,
60
+ C as CourseFormatter,
63
61
  D4 as DEFAULT_RMS_ERROR,
64
62
  D as DEVICE_STATUSES_CONFIG,
65
63
  D2 as Device,
66
64
  D3 as DeviceLabel,
67
65
  E as EnumResourceTypesIds,
68
- G3 as GNSSEnumMotionStatus,
66
+ d as GEOFENCES_TOOL,
67
+ G4 as GNSSEnumMotionStatus,
69
68
  a9 as GNSSEnumSignal,
70
- G2 as GpsMap,
71
- G as GpsMapTools,
72
- a2 as GpsMapToolsProvider,
69
+ G2 as GeofencesTool,
70
+ G as GpsMap,
71
+ G3 as GpsMapToolsContext,
72
+ a3 as GpsMapToolsProvider,
73
73
  a8 as HDOP_QUALITY_RANGES,
74
74
  H as HDOP_QUALITY_STATUS,
75
75
  I as IndicatorBattery,
76
76
  I2 as IndicatorCSQ,
77
77
  I4 as IndicatorValueAndMagnitude,
78
78
  I3 as IndicatorValueStatus,
79
- i as LAT_LON_FIXED_DIGITS,
79
+ g4 as LAT_LON_FIXED_DIGITS,
80
80
  M as MapContext,
81
81
  M3 as MapPopupDevice,
82
- a3 as MapProvider,
82
+ a2 as MapProvider,
83
83
  M2 as MarkerFeatureRender,
84
84
  O as ObjectQueue,
85
85
  P as PolylineWithArrows,
@@ -94,36 +94,35 @@ export {
94
94
  c3 as courseToCartesianAngle,
95
95
  c as courseToCssAngle,
96
96
  a6 as getComponentClasses,
97
- g14 as getComponentSlotRoot,
98
- g10 as getComponentUtilityClass,
99
- g8 as getCourseDirection,
100
- g9 as getCourseFormatterComponentsDictionary,
97
+ g15 as getComponentSlotRoot,
98
+ g11 as getComponentUtilityClass,
99
+ g9 as getCourseDirection,
100
+ g10 as getCourseFormatterComponentsDictionary,
101
101
  a as getDeviceByData,
102
102
  g as getDeviceComponentsDictionary,
103
103
  g2 as getDeviceStatusByData,
104
- g3 as getGpsMapToolsComponentsDictionary,
104
+ g6 as getGpsMapToolsComponentsDictionary,
105
105
  a7 as getHdopFromPrecision,
106
- g13 as getHeightSizeStyles,
107
- g6 as getIndicatorBatteryComponentsDictionary,
108
- g7 as getIndicatorCSQComponentsDictionary,
109
- g4 as getMapComponentsDictionary,
106
+ g14 as getHeightSizeStyles,
107
+ g7 as getIndicatorBatteryComponentsDictionary,
108
+ g8 as getIndicatorCSQComponentsDictionary,
109
+ g3 as getMapComponentsDictionary,
110
110
  g5 as getMapPopupDeviceComponentsDictionary,
111
- g11 as getPaletteColor,
112
- g17 as getPrecisionFromHdop,
111
+ g12 as getPaletteColor,
112
+ g18 as getPrecisionFromHdop,
113
113
  b as getQualityCategoryFromPrecision,
114
- g12 as getTypographyStyles,
115
- g16 as getVptUpdatedAtWithGuard,
116
- g15 as getVptValueWithGuard,
117
- i2 as isFeature,
118
- i3 as isFeatureCollection,
119
- i4 as isFeatureCollectionDraft,
120
- i5 as isGeometry,
121
- i6 as isValidDate,
114
+ g13 as getTypographyStyles,
115
+ g17 as getVptUpdatedAtWithGuard,
116
+ g16 as getVptValueWithGuard,
117
+ i as isFeature,
118
+ i2 as isFeatureCollection,
119
+ i3 as isFeatureCollectionDraft,
120
+ i4 as isGeometry,
121
+ i5 as isValidDate,
122
122
  u as useDeviceStatus,
123
- u4 as useDisableMapEventsOnFlag,
124
- u3 as useDisableMapEventsOnMouseOver,
125
- u2 as useGpsMapToolsStore,
126
- u5 as useMapStore,
127
- u7 as useRealTimeConsumer,
128
- u6 as useRealTimeProducer
123
+ u3 as useDisableMapEventsOnFlag,
124
+ u2 as useDisableMapEventsOnMouseOver,
125
+ u4 as useMapStore,
126
+ u6 as useRealTimeConsumer,
127
+ u5 as useRealTimeProducer
129
128
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/gclick",
3
- "version": "0.2.0",
3
+ "version": "0.2.3-beta.1",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0 --no-warn-ignored"
@@ -9,9 +9,10 @@
9
9
  "@geoman-io/leaflet-geoman-free": "^2.14.2",
10
10
  "@googlemaps/js-api-loader": "^1.16.6",
11
11
  "@hookform/resolvers": "2.9.11",
12
- "@m4l/components": "^9.0.0",
12
+ "@m4l/components": "9.3.25-beta.0",
13
13
  "@m4l/core": "^2.0.0",
14
14
  "@m4l/graphics": "^7.0.0",
15
+ "@m4l/layouts": "9.3.14-beta.0",
15
16
  "@m4l/styles": "^7.0.0",
16
17
  "@microlink/react-json-view": "^1.23.3",
17
18
  "@mui/lab": "5.0.0-alpha.173",
@@ -1,4 +0,0 @@
1
- const FALLBACK_SVG = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8IS0tIENyZWF0b3I6IENvcmVsRFJBVyBYOCAtLT4NCjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjI5IiB3aWR0aD0iNjIiIHZlcnNpb249IjEuMSIgc3R5bGU9InNoYXBlLXJlbmRlcmluZzpnZW9tZXRyaWNQcmVjaXNpb247IHRleHQtcmVuZGVyaW5nOmdlb21ldHJpY1ByZWNpc2lvbjsgaW1hZ2UtcmVuZGVyaW5nOm9wdGltaXplUXVhbGl0eTsgZmlsbC1ydWxlOmV2ZW5vZGQ7IGNsaXAtcnVsZTpldmVub2RkIg0Kdmlld0JveD0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