@m4l/gclick 0.1.0 → 0.2.0-JAEBeta.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 (268) hide show
  1. package/@types/deviceData.d.ts +12 -9
  2. package/@types/general.d.ts +1 -1
  3. package/@types/index.d.ts +2 -2
  4. package/@types/types.d.ts +25 -1
  5. package/@types/vpts.d.ts +6 -3
  6. package/components/Device/Device.d.ts +6 -0
  7. package/components/Device/Device.js +32 -0
  8. package/components/Device/Device.styles.d.ts +2 -0
  9. package/components/Device/Device.styles.js +95 -0
  10. package/components/Device/constants.d.ts +14 -0
  11. package/components/Device/constants.js +4 -0
  12. package/components/Device/dictionary.d.ts +14 -0
  13. package/components/Device/dictionary.js +19 -0
  14. package/components/{DeviceStatus/hooks/helper.d.ts → Device/helpers/helperDeviceStatus.d.ts} +1 -1
  15. package/components/{DeviceStatus/hooks/helper.js → Device/helpers/helperDeviceStatus.js} +5 -5
  16. package/components/Device/helpers.d.ts +18 -0
  17. package/components/Device/helpers.js +27 -0
  18. package/components/Device/hooks/constants.d.ts +16 -0
  19. package/components/{DeviceStatus → Device}/hooks/constants.js +13 -15
  20. package/components/Device/hooks/useDevice.d.ts +12 -0
  21. package/components/Device/hooks/useDevice.js +23 -0
  22. package/components/{DeviceStatus → Device}/hooks/useDeviceStatus.d.ts +2 -2
  23. package/components/{DeviceStatus → Device}/hooks/useDeviceStatus.js +4 -4
  24. package/components/Device/icons.d.ts +11 -0
  25. package/components/{DeviceStatus → Device}/icons.js +2 -2
  26. package/components/Device/index.d.ts +6 -0
  27. package/components/Device/slots/DeviceSlots.d.ts +15 -0
  28. package/components/Device/slots/DeviceSlots.js +32 -0
  29. package/components/Device/slots/slots.d.ts +7 -0
  30. package/components/Device/slots/slots.js +11 -0
  31. package/components/Device/types.d.ts +30 -0
  32. package/components/DeviceLabel/DeviceLabel.js +1 -1
  33. package/components/DeviceLabel/slots/DeviceLabelSlots.d.ts +9 -3
  34. package/components/DeviceLabel/types.d.ts +2 -2
  35. package/components/DeviceStatus/DeviceStatus.js +3 -15
  36. package/components/DeviceStatus/DeviceStatus.styles.js +1 -13
  37. package/components/DeviceStatus/constants.js +1 -4
  38. package/components/DeviceStatus/dictionary.d.ts +10 -10
  39. package/components/DeviceStatus/dictionary.js +1 -12
  40. package/components/DeviceStatus/icons.d.ts +1 -1
  41. package/components/DeviceStatus/index.d.ts +3 -2
  42. package/components/DeviceStatus/slots/DeviceStatusSlots.js +1 -11
  43. package/components/DeviceStatus/slots/slots.js +1 -7
  44. package/components/index.d.ts +1 -1
  45. package/components/indicators/IndicatorBattery/IndicatorBattery.styles.js +2 -2
  46. package/components/indicators/IndicatorBattery/dictionary.js +5 -1
  47. package/components/indicators/IndicatorBattery/index.d.ts +1 -0
  48. package/components/indicators/IndicatorCSQ/IndicatorCSQ.js +7 -5
  49. package/components/indicators/IndicatorCSQ/constants.d.ts +2 -2
  50. package/components/indicators/IndicatorCSQ/constants.js +4 -3
  51. package/components/indicators/IndicatorCSQ/dictionary.d.ts +5 -2
  52. package/components/indicators/IndicatorCSQ/dictionary.js +15 -12
  53. package/components/indicators/IndicatorCSQ/helpers/getQualityLabel/getQualityLabel.d.ts +22 -2
  54. package/components/indicators/IndicatorCSQ/helpers/getQualityLabel/getQualityLabel.js +15 -29
  55. package/components/indicators/IndicatorCSQ/index.d.ts +3 -3
  56. package/components/indicators/IndicatorCSQ/slots/IndicatorCSQSlots.js +6 -6
  57. package/components/indicators/IndicatorCSQ/types.d.ts +6 -2
  58. package/components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.d.ts +5 -0
  59. package/components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.js +15 -0
  60. package/components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.styles.d.ts +2 -0
  61. package/components/indicators/IndicatorValueAndMagnitude/IndicatorValueAndMagnitude.styles.js +41 -0
  62. package/components/indicators/IndicatorValueAndMagnitude/constants.d.ts +2 -0
  63. package/components/indicators/IndicatorValueAndMagnitude/constants.js +7 -0
  64. package/components/indicators/IndicatorValueAndMagnitude/index.d.ts +1 -0
  65. package/components/indicators/IndicatorValueAndMagnitude/index.js +1 -0
  66. package/components/indicators/IndicatorValueAndMagnitude/slots/slots.d.ts +6 -0
  67. package/components/indicators/IndicatorValueAndMagnitude/slots/slots.js +10 -0
  68. package/components/indicators/IndicatorValueAndMagnitude/slots/styled.d.ts +12 -0
  69. package/components/indicators/IndicatorValueAndMagnitude/slots/styled.js +27 -0
  70. package/components/indicators/IndicatorValueAndMagnitude/types.d.ts +14 -0
  71. package/components/indicators/IndicatorValueStatus/IndicatorValueStatus.js +25 -0
  72. package/components/indicators/IndicatorValueStatus/IndicatorValueStatus.styles.js +76 -0
  73. package/components/indicators/IndicatorValueStatus/constants.js +8 -0
  74. package/components/indicators/IndicatorValueStatus/index.js +1 -0
  75. package/components/indicators/IndicatorValueStatus/slots/IndicatorValueStatusEnum.js +11 -0
  76. package/components/indicators/IndicatorValueStatus/slots/IndicatorValueStatusSlots.js +32 -0
  77. package/components/indicators/IndicatorValueStatus/types.d.ts +4 -0
  78. package/components/indicators/index.d.ts +2 -0
  79. package/components/maps/components/GpsMap/GpsMap.js +26 -9
  80. package/components/maps/components/GpsMap/GpsMap.styles.js +81 -93
  81. package/components/maps/components/GpsMap/Leaflet.styles.d.ts +6 -0
  82. package/components/maps/components/GpsMap/Leaflet.styles.js +535 -0
  83. package/components/maps/components/GpsMap/classes/index.d.ts +1 -1
  84. package/components/maps/components/GpsMap/classes/index.js +6 -76
  85. package/components/maps/components/GpsMap/classes/types.d.ts +5 -16
  86. package/components/maps/components/GpsMap/constants.d.ts +9 -3
  87. package/components/maps/components/GpsMap/constants.js +25 -13
  88. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.js +4 -26
  89. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +1 -1
  90. package/components/maps/components/GpsMap/contexts/MapContext/store.js +50 -75
  91. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +98 -87
  92. package/components/maps/components/GpsMap/dictionary.d.ts +19 -8
  93. package/components/maps/components/GpsMap/dictionary.js +30 -17
  94. package/components/maps/components/GpsMap/external/{Control → MapControl}/index.d.ts +3 -3
  95. package/components/maps/components/GpsMap/external/{Control → MapControl}/index.js +9 -7
  96. package/components/maps/components/GpsMap/external/MapControl/types.d.ts +26 -0
  97. package/components/maps/components/GpsMap/external/googleMutant/index.d.ts +1 -1
  98. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +3 -3
  99. package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +1 -1
  100. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +3 -2
  101. package/components/maps/components/GpsMap/featureRenders/index.d.ts +0 -1
  102. package/components/maps/components/GpsMap/hooks/index.d.ts +3 -0
  103. package/components/maps/components/GpsMap/hooks/index.js +1 -0
  104. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.d.ts +6 -0
  105. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js +31 -0
  106. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.d.ts +6 -0
  107. package/components/maps/components/GpsMap/hooks/{useDisableZoomEvents → useDisableMapEventsOnMouseOver}/index.js +10 -2
  108. package/components/maps/components/GpsMap/icons.d.ts +10 -7
  109. package/components/maps/components/GpsMap/icons.js +17 -16
  110. package/components/maps/components/GpsMap/index.d.ts +2 -1
  111. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js +9 -1
  112. package/components/maps/components/GpsMap/popups/index.d.ts +1 -0
  113. package/components/maps/components/GpsMap/slots/slots.d.ts +27 -4
  114. package/components/maps/components/GpsMap/slots/slots.js +16 -7
  115. package/components/maps/components/GpsMap/slots/styled.d.ts +18 -0
  116. package/components/maps/components/GpsMap/slots/styled.js +37 -0
  117. package/components/maps/components/GpsMap/subcomponents/Controls/index.js +8 -7
  118. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.d.ts +10 -0
  119. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.js +10 -0
  120. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → BottomRigthTools}/subcomponents/ZoomButtons/index.js +3 -3
  121. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/types.d.ts +2 -0
  122. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/types.d.ts +8 -0
  123. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/useTool.d.ts +13 -0
  124. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/useTool.js +64 -0
  125. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -2
  126. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +42 -87
  127. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.d.ts +9 -0
  128. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.js +24 -0
  129. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/types.d.ts +2 -0
  130. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.d.ts +4 -0
  131. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.js +30 -0
  132. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.styles.d.ts +2 -0
  133. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.styles.js +45 -0
  134. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/types.d.ts +11 -0
  135. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/useMapLayersTool.d.ts +9 -0
  136. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/useMapLayersTool.js +37 -0
  137. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots.d.ts +6 -0
  138. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots.js +10 -0
  139. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/styled.d.ts +12 -0
  140. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/styled.js +26 -0
  141. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/MapLayerRow.d.ts +5 -0
  142. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/MapLayerRow.js +71 -0
  143. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/types.d.ts +6 -0
  144. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/types.d.ts +9 -0
  145. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts → TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.d.ts} +1 -1
  146. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.js +38 -0
  147. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.styles.d.ts +2 -0
  148. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.styles.js +87 -0
  149. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.d.ts +12 -0
  150. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.js +22 -0
  151. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots.d.ts +9 -0
  152. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots.js +13 -0
  153. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/styled.d.ts +21 -0
  154. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/styled.js +41 -0
  155. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/bing.d.ts +2 -0
  156. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/bing.js +47 -0
  157. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/google.d.ts +2 -0
  158. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/google.js +107 -0
  159. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/others.d.ts +2 -0
  160. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/others.js +33 -0
  161. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.d.ts +6 -0
  162. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.js +88 -0
  163. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/types.d.ts +7 -0
  164. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/types.d.ts +9 -0
  165. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.js +31 -0
  166. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.styles.d.ts +7 -0
  167. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.styles.js +154 -0
  168. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +25 -0
  169. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +37 -14
  170. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +29 -0
  171. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +14 -6
  172. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +2 -2
  173. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +26 -20
  174. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +1 -2
  175. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/slots.d.ts +8 -0
  176. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/slots.js +12 -0
  177. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/styled.d.ts +18 -0
  178. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/styled.js +37 -0
  179. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +19 -17
  180. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +18 -2
  181. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +9 -1
  182. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +2 -5
  183. package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +1 -1
  184. package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.js +2 -1
  185. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +2 -1
  186. package/components/maps/components/GpsMap/subcomponents/MapEventController/MapEventController.d.ts +6 -0
  187. package/components/maps/components/GpsMap/subcomponents/MapEventController/MapEventController.js +8 -0
  188. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/darkStyles.d.ts +13 -0
  189. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +82 -59
  190. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +25 -15
  191. package/components/maps/components/GpsMap/types.d.ts +24 -5
  192. package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +1 -0
  193. package/components/maps/components/GpsMapTools/index.d.ts +1 -0
  194. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +1 -1
  195. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +29 -32
  196. package/components/maps/components/GpsMapTools/types.d.ts +0 -16
  197. package/components/maps/index.d.ts +1 -0
  198. package/components/maps/utils/coordsToQuadKey.d.ts +4 -0
  199. package/components/maps/{components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js → utils/coordsToQuadKey.js} +2 -2
  200. package/components/maps/utils/index.d.ts +1 -0
  201. package/contexts/RealTimeConsumerContext/RealTimeConsumerContext.js +1 -1
  202. package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.d.ts +1 -1
  203. package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.js +1 -1
  204. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.d.ts +67 -2
  205. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js +115 -30
  206. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/dummy.js +5 -38
  207. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.d.ts +9 -36
  208. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.js +27 -19
  209. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.d.ts +3 -2
  210. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.js +9 -2
  211. package/contexts/RealTimeProducerContext/sourceDataMechanisms/factory.js +1 -1
  212. package/formatters/CourseFormatter/CourseFormatter.js +6 -4
  213. package/formatters/CourseFormatter/helper.d.ts +2 -1
  214. package/formatters/CourseFormatter/helper.js +2 -4
  215. package/formatters/CourseFormatter/index.d.ts +1 -0
  216. package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +1 -1
  217. package/formatters/CourseFormatter/slots/CourseFormatterSlots.js +2 -2
  218. package/formatters/index.js +1 -0
  219. package/index.d.ts +1 -0
  220. package/index.js +94 -59
  221. package/package.json +16 -3
  222. package/utils/cssToCSSProperties.d.ts +37 -0
  223. package/utils/getPrecisionFromHdop/constants.d.ts +13 -0
  224. package/utils/getPrecisionFromHdop/constants.js +73 -0
  225. package/utils/getPrecisionFromHdop/getPrecisionFromHdop.d.ts +31 -0
  226. package/utils/getPrecisionFromHdop/getPrecisionFromHdop.js +59 -0
  227. package/utils/getPrecisionFromHdop/index.d.ts +3 -0
  228. package/utils/getPrecisionFromHdop/index.js +1 -0
  229. package/utils/getPrecisionFromHdop/types.d.ts +42 -0
  230. package/utils/getVptUpdatedAtWithGuard.d.ts +4 -0
  231. package/utils/getVptUpdatedAtWithGuard.js +13 -0
  232. package/utils/getVptValueWithGuard.d.ts +9 -0
  233. package/utils/getVptValueWithGuard.js +18 -0
  234. package/utils/index.d.ts +3 -0
  235. package/components/DeviceStatus/hooks/constants.d.ts +0 -11
  236. package/components/maps/components/GpsMap/external/Control/types.d.ts +0 -7
  237. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.js +0 -4
  238. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.js +0 -112
  239. package/components/maps/components/GpsMap/hooks/useDisableZoomEvents/index.d.ts +0 -6
  240. package/components/maps/components/GpsMap/slots/GpsMapSlots.d.ts +0 -4
  241. package/components/maps/components/GpsMap/slots/GpsMapSlots.js +0 -24
  242. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.js +0 -13
  243. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +0 -10
  244. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +0 -58
  245. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
  246. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +0 -17
  247. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +0 -18
  248. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +0 -139
  249. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -12
  250. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +0 -52
  251. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -8
  252. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +0 -43
  253. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +0 -4
  254. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +0 -30
  255. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +0 -26
  256. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +0 -133
  257. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +0 -2
  258. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +0 -39
  259. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +0 -4
  260. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +0 -73
  261. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +0 -2
  262. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +0 -25
  263. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +0 -4
  264. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +0 -4
  265. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +0 -40
  266. /package/components/{maps/components/GpsMap/contexts/MapContext/helper.js → Device/index.js} +0 -0
  267. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → BottomRigthTools}/subcomponents/ZoomButtons/index.d.ts +0 -0
  268. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/{index.d.ts → MeasureTool.d.ts} +0 -0
@@ -0,0 +1,535 @@
1
+ const leafletAllStyles = {
2
+ /* required styles */
3
+ ".leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer": {
4
+ position: "absolute",
5
+ left: 0,
6
+ top: 0
7
+ },
8
+ ".leaflet-container": {
9
+ overflow: "hidden",
10
+ WebkitTapHighlightColor: "transparent",
11
+ background: "#ddd",
12
+ outlineOffset: "1px",
13
+ fontFamily: '"Helvetica Neue", Arial, Helvetica, sans-serif',
14
+ fontSize: ".65rem",
15
+ lineHeight: 1.5
16
+ },
17
+ ".leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow": {
18
+ userSelect: "none",
19
+ // @ts-ignore - WebkitUserDrag no está en el tipo CSSProperties
20
+ WebkitUserDrag: "none"
21
+ },
22
+ /* Prevents IE11 from highlighting tiles in blue */
23
+ ".leaflet-tile::selection": {
24
+ background: "transparent"
25
+ },
26
+ /* Safari renders non-retina tile on retina better with this, but Chrome is worse */
27
+ ".leaflet-safari .leaflet-tile": {
28
+ imageRendering: "-webkit-optimize-contrast"
29
+ },
30
+ /* hack that prevents hw layers "stretching" when loading new tiles */
31
+ ".leaflet-safari .leaflet-tile-container": {
32
+ width: "1600px",
33
+ height: "1600px",
34
+ WebkitTransformOrigin: "0 0"
35
+ },
36
+ ".leaflet-marker-icon, .leaflet-marker-shadow": {
37
+ display: "block"
38
+ },
39
+ /* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
40
+ /* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
41
+ ".leaflet-container .leaflet-overlay-pane svg": {
42
+ maxWidth: "none !important",
43
+ maxHeight: "none !important"
44
+ },
45
+ ".leaflet-container .leaflet-marker-pane img, .leaflet-container .leaflet-shadow-pane img, .leaflet-container .leaflet-tile-pane img, .leaflet-container img.leaflet-image-layer, .leaflet-container .leaflet-tile": {
46
+ maxWidth: "none !important",
47
+ maxHeight: "none !important",
48
+ width: "auto",
49
+ padding: 0
50
+ },
51
+ ".leaflet-container img.leaflet-tile": {
52
+ /* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
53
+ mixBlendMode: "plus-lighter"
54
+ },
55
+ ".leaflet-container.leaflet-touch-zoom": {
56
+ msTouchAction: "pan-x pan-y",
57
+ touchAction: "pan-x pan-y"
58
+ },
59
+ ".leaflet-container.leaflet-touch-drag": {
60
+ msTouchAction: "pinch-zoom",
61
+ /* Fallback for FF which doesn't support pinch-zoom */
62
+ touchAction: "pinch-zoom"
63
+ },
64
+ ".leaflet-container.leaflet-touch-drag.leaflet-touch-zoom": {
65
+ msTouchAction: "none",
66
+ touchAction: "none"
67
+ },
68
+ ".leaflet-container a": {
69
+ color: "#0078A8",
70
+ WebkitTapHighlightColor: "rgba(51, 181, 229, 0.4)"
71
+ },
72
+ ".leaflet-tile": {
73
+ display: "block",
74
+ filter: "inherit",
75
+ visibility: "hidden"
76
+ },
77
+ ".leaflet-tile-loaded": {
78
+ visibility: "inherit"
79
+ },
80
+ ".leaflet-zoom-box": {
81
+ width: 0,
82
+ height: 0,
83
+ MozBoxSizing: "border-box",
84
+ boxSizing: "border-box",
85
+ zIndex: 800,
86
+ border: "2px dotted #38f",
87
+ background: "rgba(255,255,255,0.5)"
88
+ },
89
+ /* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
90
+ ".leaflet-overlay-pane svg": {
91
+ MozUserSelect: "none"
92
+ },
93
+ ".leaflet-pane": { zIndex: 400 },
94
+ ".leaflet-tile-pane": { zIndex: 200 },
95
+ ".leaflet-overlay-pane": { zIndex: 400 },
96
+ ".leaflet-shadow-pane": { zIndex: 500 },
97
+ ".leaflet-marker-pane": { zIndex: 600 },
98
+ ".leaflet-tooltip-pane": { zIndex: 650 },
99
+ ".leaflet-popup-pane": { zIndex: 700 },
100
+ ".leaflet-map-pane canvas": { zIndex: 100 },
101
+ ".leaflet-map-pane svg": { zIndex: 200 },
102
+ ".leaflet-vml-shape": {
103
+ width: "1px",
104
+ height: "1px"
105
+ },
106
+ ".lvml": {
107
+ // @ts-ignore - behavior no está en el tipo CSSProperties
108
+ behavior: "url(#default#VML)",
109
+ display: "inline-block",
110
+ position: "absolute"
111
+ },
112
+ /* control positioning */
113
+ ".leaflet-control": {
114
+ position: "relative",
115
+ zIndex: 800,
116
+ pointerEvents: "auto",
117
+ float: "left",
118
+ clear: "both"
119
+ },
120
+ ".leaflet-top, .leaflet-bottom": {
121
+ position: "absolute",
122
+ zIndex: 1e3,
123
+ pointerEvents: "none"
124
+ },
125
+ ".leaflet-top": {
126
+ top: 0
127
+ },
128
+ ".leaflet-right": {
129
+ right: 0
130
+ },
131
+ ".leaflet-bottom": {
132
+ bottom: 0
133
+ },
134
+ ".leaflet-left": {
135
+ left: 0
136
+ },
137
+ ".leaflet-right .leaflet-control": {
138
+ float: "right",
139
+ marginRight: "16px"
140
+ },
141
+ ".leaflet-top .leaflet-control": {
142
+ marginTop: "16px"
143
+ },
144
+ ".leaflet-bottom .leaflet-control": {
145
+ marginBottom: "16px"
146
+ },
147
+ ".leaflet-left .leaflet-control": {
148
+ marginLeft: "16px"
149
+ },
150
+ /* zoom and fade animations */
151
+ ".leaflet-fade-anim .leaflet-popup": {
152
+ opacity: 0,
153
+ WebkitTransition: "opacity 0.2s linear",
154
+ MozTransition: "opacity 0.2s linear",
155
+ transition: "opacity 0.2s linear"
156
+ },
157
+ ".leaflet-fade-anim .leaflet-map-pane .leaflet-popup": {
158
+ opacity: 1
159
+ },
160
+ ".leaflet-zoom-animated": {
161
+ WebkitTransformOrigin: "0 0",
162
+ msTransformOrigin: "0 0",
163
+ transformOrigin: "0 0"
164
+ },
165
+ "svg.leaflet-zoom-animated": {
166
+ willChange: "transform"
167
+ },
168
+ ".leaflet-zoom-anim .leaflet-zoom-animated": {
169
+ WebkitTransition: "-webkit-transform 0.25s cubic-bezier(0,0,0.25,1)",
170
+ MozTransition: "-moz-transform 0.25s cubic-bezier(0,0,0.25,1)",
171
+ transition: "transform 0.25s cubic-bezier(0,0,0.25,1)"
172
+ },
173
+ ".leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile": {
174
+ WebkitTransition: "none",
175
+ MozTransition: "none",
176
+ transition: "none"
177
+ },
178
+ ".leaflet-zoom-anim .leaflet-zoom-hide": {
179
+ visibility: "hidden"
180
+ },
181
+ /* cursors */
182
+ ".leaflet-interactive": {
183
+ cursor: "pointer"
184
+ },
185
+ ".leaflet-grab": {
186
+ cursor: "-webkit-grab"
187
+ },
188
+ ".leaflet-crosshair, .leaflet-crosshair .leaflet-interactive": {
189
+ cursor: "crosshair"
190
+ },
191
+ ".leaflet-popup-pane, .leaflet-control": {
192
+ cursor: "auto"
193
+ },
194
+ ".leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive, .leaflet-dragging .leaflet-marker-draggable": {
195
+ cursor: "move"
196
+ },
197
+ /* marker & overlays interactivity */
198
+ ".leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer, .leaflet-pane > svg path, .leaflet-tile-container": {
199
+ pointerEvents: "none"
200
+ },
201
+ ".leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive, .leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path": {
202
+ pointerEvents: "auto"
203
+ },
204
+ /* visual tweaks */
205
+ /* general toolbar styles */
206
+ ".leaflet-bar": {
207
+ boxShadow: "0 1px 5px rgba(0,0,0,0.65)",
208
+ borderRadius: "4px"
209
+ },
210
+ ".leaflet-bar a": {
211
+ backgroundColor: "#fff",
212
+ borderBottom: "1px solid #ccc",
213
+ width: "26px",
214
+ height: "26px",
215
+ lineHeight: "26px",
216
+ display: "block",
217
+ textAlign: "center",
218
+ textDecoration: "none",
219
+ color: "black",
220
+ backgroundPosition: "50% 50%",
221
+ backgroundRepeat: "no-repeat"
222
+ },
223
+ ".leaflet-control-layers-toggle": {
224
+ backgroundImage: "url(images/layers.png)",
225
+ width: "36px",
226
+ height: "36px",
227
+ backgroundPosition: "50% 50%",
228
+ backgroundRepeat: "no-repeat",
229
+ display: "block"
230
+ },
231
+ ".leaflet-bar a:hover, .leaflet-bar a:focus": {
232
+ backgroundColor: "#f4f4f4"
233
+ },
234
+ ".leaflet-bar a:first-child": {
235
+ borderTopLeftRadius: "4px",
236
+ borderTopRightRadius: "4px"
237
+ },
238
+ ".leaflet-bar a:last-child": {
239
+ borderBottomLeftRadius: "4px",
240
+ borderBottomRightRadius: "4px",
241
+ borderBottom: "none"
242
+ },
243
+ ".leaflet-bar a.leaflet-disabled": {
244
+ cursor: "default",
245
+ backgroundColor: "#f4f4f4",
246
+ color: "#bbb"
247
+ },
248
+ ".leaflet-touch .leaflet-bar a": {
249
+ width: "30px",
250
+ height: "30px",
251
+ lineHeight: "30px"
252
+ },
253
+ ".leaflet-touch .leaflet-bar a:first-child": {
254
+ borderTopLeftRadius: "2px",
255
+ borderTopRightRadius: "2px"
256
+ },
257
+ ".leaflet-touch .leaflet-bar a:last-child": {
258
+ borderBottomLeftRadius: "2px",
259
+ borderBottomRightRadius: "2px"
260
+ },
261
+ /* zoom control */
262
+ ".leaflet-control-zoom-in, .leaflet-control-zoom-out": {
263
+ font: 'bold 18px "Lucida Console", Monaco, monospace',
264
+ textIndent: "1px"
265
+ },
266
+ ".leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out": {
267
+ fontSize: "22px"
268
+ },
269
+ /* layers control */
270
+ ".leaflet-control-layers": {
271
+ boxShadow: "0 1px 5px rgba(0,0,0,0.4)",
272
+ background: "#fff",
273
+ borderRadius: "5px"
274
+ },
275
+ ".leaflet-retina .leaflet-control-layers-toggle": {
276
+ backgroundImage: "url(images/layers-2x.png)",
277
+ backgroundSize: "26px 26px"
278
+ },
279
+ ".leaflet-touch .leaflet-control-layers-toggle": {
280
+ width: "44px",
281
+ height: "44px"
282
+ },
283
+ ".leaflet-control-layers .leaflet-control-layers-list, .leaflet-control-layers-expanded .leaflet-control-layers-toggle": {
284
+ display: "none"
285
+ },
286
+ ".leaflet-control-layers-expanded .leaflet-control-layers-list": {
287
+ display: "block",
288
+ position: "relative"
289
+ },
290
+ ".leaflet-control-layers-expanded": {
291
+ padding: "6px 10px 6px 6px",
292
+ color: "#333",
293
+ background: "#fff"
294
+ },
295
+ ".leaflet-control-layers-scrollbar": {
296
+ overflowY: "scroll",
297
+ overflowX: "hidden",
298
+ paddingRight: "5px"
299
+ },
300
+ ".leaflet-control-layers-selector": {
301
+ marginTop: "2px",
302
+ position: "relative",
303
+ top: "1px"
304
+ },
305
+ ".leaflet-control-layers label": {
306
+ display: "block",
307
+ fontSize: "1.08333em"
308
+ },
309
+ ".leaflet-control-layers-separator": {
310
+ height: 0,
311
+ borderTop: "1px solid #ddd",
312
+ margin: "5px -10px 5px -6px"
313
+ },
314
+ /* Default icon URLs */
315
+ ".leaflet-default-icon-path": {
316
+ /* used only in path-guessing heuristic, see L.Icon.Default */
317
+ backgroundImage: "url(images/marker-icon.png)"
318
+ },
319
+ /* attribution and scale controls */
320
+ ".leaflet-container .leaflet-control-attribution": {
321
+ background: "rgba(255, 255, 255, 0.8)",
322
+ margin: 0
323
+ },
324
+ ".leaflet-control-attribution, .leaflet-control-scale-line": {
325
+ padding: "0 5px",
326
+ color: "#333",
327
+ lineHeight: 1.4
328
+ },
329
+ ".leaflet-control-attribution a": {
330
+ textDecoration: "none"
331
+ },
332
+ ".leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus": {
333
+ textDecoration: "underline"
334
+ },
335
+ ".leaflet-attribution-flag": {
336
+ display: "inline !important",
337
+ verticalAlign: "baseline !important",
338
+ width: "1em",
339
+ height: "0.6669em"
340
+ },
341
+ ".leaflet-left .leaflet-control-scale": {
342
+ marginLeft: "5px"
343
+ },
344
+ ".leaflet-bottom .leaflet-control-scale": {
345
+ marginBottom: "5px"
346
+ },
347
+ ".leaflet-control-scale-line": {
348
+ border: "2px solid #777",
349
+ borderTop: "none",
350
+ lineHeight: 1.1,
351
+ padding: "2px 5px 1px",
352
+ whiteSpace: "nowrap",
353
+ MozBoxSizing: "border-box",
354
+ boxSizing: "border-box",
355
+ background: "rgba(255, 255, 255, 0.8)",
356
+ textShadow: "1px 1px #fff"
357
+ },
358
+ ".leaflet-control-scale-line:not(:first-child)": {
359
+ borderTop: "2px solid #777",
360
+ borderBottom: "none",
361
+ marginTop: "-2px"
362
+ },
363
+ ".leaflet-control-scale-line:not(:first-child):not(:last-child)": {
364
+ borderBottom: "2px solid #777"
365
+ },
366
+ ".leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar": {
367
+ boxShadow: "none"
368
+ },
369
+ ".leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar": {
370
+ border: "2px solid rgba(0,0,0,0.2)",
371
+ backgroundClip: "padding-box"
372
+ },
373
+ /* popup */
374
+ ".leaflet-popup": {
375
+ position: "absolute",
376
+ textAlign: "center",
377
+ marginBottom: "20px"
378
+ },
379
+ ".leaflet-popup-content-wrapper": {
380
+ padding: "1px",
381
+ textAlign: "left",
382
+ borderRadius: "12px"
383
+ },
384
+ ".leaflet-popup-content": {
385
+ margin: "13px 24px 13px 20px",
386
+ lineHeight: 1.3,
387
+ fontSize: "13px",
388
+ minHeight: "1px"
389
+ },
390
+ ".leaflet-popup-content p": {
391
+ margin: "17px 0"
392
+ },
393
+ ".leaflet-popup-tip-container": {
394
+ width: "40px",
395
+ height: "20px",
396
+ position: "absolute",
397
+ left: "50%",
398
+ marginTop: "-1px",
399
+ marginLeft: "-20px",
400
+ overflow: "hidden",
401
+ pointerEvents: "none"
402
+ },
403
+ ".leaflet-popup-tip": {
404
+ width: "17px",
405
+ height: "17px",
406
+ padding: "1px",
407
+ margin: "-10px auto 0",
408
+ pointerEvents: "auto",
409
+ WebkitTransform: "rotate(45deg)",
410
+ MozTransform: "rotate(45deg)",
411
+ msTransform: "rotate(45deg)",
412
+ transform: "rotate(45deg)"
413
+ },
414
+ ".leaflet-popup-content-wrapper, .leaflet-popup-tip": {
415
+ background: "white",
416
+ color: "#333",
417
+ boxShadow: "0 3px 14px rgba(0,0,0,0.4)"
418
+ },
419
+ ".leaflet-container a.leaflet-popup-close-button": {
420
+ position: "absolute",
421
+ top: 0,
422
+ right: 0,
423
+ border: "none",
424
+ textAlign: "center",
425
+ width: "24px",
426
+ height: "24px",
427
+ font: "16px/24px Tahoma, Verdana, sans-serif",
428
+ color: "#757575",
429
+ textDecoration: "none",
430
+ background: "transparent"
431
+ },
432
+ ".leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus": {
433
+ color: "#585858"
434
+ },
435
+ ".leaflet-popup-scrolled": {
436
+ overflow: "auto"
437
+ },
438
+ ".leaflet-oldie .leaflet-popup-content-wrapper": {
439
+ // @ts-ignore - msZoom no está en el tipo CSSProperties
440
+ msZoom: 1
441
+ },
442
+ ".leaflet-oldie .leaflet-popup-tip": {
443
+ width: "24px",
444
+ margin: "0 auto",
445
+ // @ts-ignore - msFilter no está en el tipo CSSProperties
446
+ msFilter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)",
447
+ filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)"
448
+ },
449
+ ".leaflet-oldie .leaflet-control-zoom, .leaflet-oldie .leaflet-control-layers, .leaflet-oldie .leaflet-popup-content-wrapper, .leaflet-oldie .leaflet-popup-tip": {
450
+ border: "1px solid #999"
451
+ },
452
+ /* div icon */
453
+ ".leaflet-div-icon": {
454
+ background: "#fff",
455
+ border: "1px solid #666"
456
+ },
457
+ /* Tooltip */
458
+ /* Base styles for the element that has a tooltip */
459
+ ".leaflet-tooltip": {
460
+ position: "absolute",
461
+ padding: "6px",
462
+ backgroundColor: "#fff",
463
+ border: "1px solid #fff",
464
+ borderRadius: "3px",
465
+ color: "#222",
466
+ whiteSpace: "nowrap",
467
+ WebkitUserSelect: "none",
468
+ MozUserSelect: "none",
469
+ msUserSelect: "none",
470
+ userSelect: "none",
471
+ pointerEvents: "none",
472
+ boxShadow: "0 1px 3px rgba(0,0,0,0.4)"
473
+ },
474
+ ".leaflet-tooltip.leaflet-interactive": {
475
+ cursor: "pointer",
476
+ pointerEvents: "auto"
477
+ },
478
+ ".leaflet-tooltip-top:before, .leaflet-tooltip-bottom:before, .leaflet-tooltip-left:before, .leaflet-tooltip-right:before": {
479
+ position: "absolute",
480
+ pointerEvents: "none",
481
+ border: "6px solid transparent",
482
+ background: "transparent",
483
+ content: '""'
484
+ },
485
+ /* Directions */
486
+ ".leaflet-tooltip-bottom": {
487
+ marginTop: "6px"
488
+ },
489
+ ".leaflet-tooltip-top": {
490
+ marginTop: "-6px"
491
+ },
492
+ ".leaflet-tooltip-bottom:before, .leaflet-tooltip-top:before": {
493
+ left: "50%",
494
+ marginLeft: "-6px"
495
+ },
496
+ ".leaflet-tooltip-top:before": {
497
+ bottom: 0,
498
+ marginBottom: "-12px",
499
+ borderTopColor: "#fff"
500
+ },
501
+ ".leaflet-tooltip-bottom:before": {
502
+ top: 0,
503
+ marginTop: "-12px",
504
+ marginLeft: "-6px",
505
+ borderBottomColor: "#fff"
506
+ },
507
+ ".leaflet-tooltip-left": {
508
+ marginLeft: "-6px"
509
+ },
510
+ ".leaflet-tooltip-right": {
511
+ marginLeft: "6px"
512
+ },
513
+ ".leaflet-tooltip-left:before, .leaflet-tooltip-right:before": {
514
+ top: "50%",
515
+ marginTop: "-6px"
516
+ },
517
+ ".leaflet-tooltip-left:before": {
518
+ right: 0,
519
+ marginRight: "-12px",
520
+ borderLeftColor: "#fff"
521
+ },
522
+ ".leaflet-tooltip-right:before": {
523
+ left: 0,
524
+ marginLeft: "-12px",
525
+ borderRightColor: "#fff"
526
+ },
527
+ /* Printing */
528
+ ".leaflet-control-print": {
529
+ WebkitPrintColorAdjust: "exact",
530
+ printColorAdjust: "exact"
531
+ }
532
+ };
533
+ export {
534
+ leafletAllStyles as l
535
+ };
@@ -4,5 +4,5 @@ export declare const mapClasses: MapClasses;
4
4
  /**
5
5
  * TODO: Documentar
6
6
  */
7
- export declare const useMapUtilityClasses: (_ownerState: OwnerState) => Record<"root" | "active" | "disabled" | "topLeftToolsRoot" | "topRigthToolsRoot" | "zoomButtons" | "markerLayerRoot" | "markerLayerIcon" | "markerLayerLabel" | "featureLabel" | "meaureToolRoot" | "measureToolFormValue" | "measureToolFormValueDistance" | "measureToolFormValueSymbol" | "measureToolLabel" | "meausureToolLabelDistance" | "meausureToolLabelSymbol" | "measureMarkerRoot" | "measureMarkerContainer" | "measureMarkerContainerRhomb" | "measureMarkerContainerSlot" | "measureMarkerContainerSlotNumber" | "measureLabelMarkerRoot" | "measureLabelMarkerContainer" | "measureLabelMarkerDistance" | "measureLabelMarkerRemove" | "mapSourcesPopoverRoot" | "mapSourcesRoot" | "mapSourcesOption" | "mapSourcesOptionIconLabel" | "mapSourcesOptionRoadOptions" | "mapSourcesOptionRoadOptionsCheck" | "layersPopoverRoot" | "markerLayerLabelInner", string>;
7
+ export declare const useMapUtilityClasses: (_ownerState: OwnerState) => Record<"active" | "disabled" | "root" | "topLeftToolsRoot" | "topRigthToolsRoot" | "zoomButtons" | "markerLayerRoot" | "markerLayerIcon" | "markerLayerLabel" | "featureLabel" | "measureMarkerRoot" | "measureMarkerContainer" | "measureMarkerSvgRoot" | "measureMarkerContainerRhomb" | "measureMarkerContainerSlot" | "measureMarkerContainerSlotNumber" | "measureLabelMarkerRoot" | "measureLabelMarkerContainer" | "measureLabelMarkerDistance" | "measureLabelMarkerRemove" | "layersPopoverRoot" | "markerLayerLabelInner", string>;
8
8
  export type Classes = ReturnType<typeof useMapUtilityClasses>;
@@ -1,13 +1,13 @@
1
1
  import { generateUtilityClasses } from "@mui/material";
2
- import { unstable_composeClasses } from "@mui/base";
3
- import { C as COMPONET_KEY_COMPONENT } from "../constants.js";
4
- import { g as getComponentUtilityClass } from "../../../../../utils/getComponentUtilityClass.js";
5
- const mapClasses = generateUtilityClasses(COMPONET_KEY_COMPONENT, [
2
+ import "@mui/base";
3
+ import { M as MAP_COMPONET_KEY_COMPONENT } from "../constants.js";
4
+ const mapClasses = generateUtilityClasses(MAP_COMPONET_KEY_COMPONENT, [
6
5
  /* elements */
7
6
  "root",
8
7
  //Control tools
9
8
  "topLeftToolsRoot",
10
9
  "topRigthToolsRoot",
10
+ "bottomRightToolsRoot",
11
11
  "zoomButtons",
12
12
  //Tipos de capas de los features
13
13
  "markerLayerRoot",
@@ -16,17 +16,10 @@ const mapClasses = generateUtilityClasses(COMPONET_KEY_COMPONENT, [
16
16
  "markerLayerLabelInner",
17
17
  //Etiqueta de los features
18
18
  "featureLabel",
19
- //Measure tool
20
- "meaureToolRoot",
21
- "measureToolFormValue",
22
- "measureToolFormValueDistance",
23
- "measureToolFormValueSymbol",
24
- "measureToolLabel",
25
- "meausureToolLabelDistance",
26
- "meausureToolLabelSymbol",
27
19
  //Meauser Marcas
28
20
  "measureMarkerRoot",
29
21
  "measureMarkerContainer",
22
+ "measureMarkerSvgRoot",
30
23
  "measureMarkerContainerRhomb",
31
24
  "measureMarkerContainerSlot",
32
25
  "measureMarkerContainerSlotNumber",
@@ -34,15 +27,6 @@ const mapClasses = generateUtilityClasses(COMPONET_KEY_COMPONENT, [
34
27
  "measureLabelMarkerContainer",
35
28
  "measureLabelMarkerDistance",
36
29
  "measureLabelMarkerRemove",
37
- /**
38
- * Map sources
39
- */
40
- "mapSourcesPopoverRoot",
41
- "mapSourcesRoot",
42
- "mapSourcesOption",
43
- "mapSourcesOptionIconLabel",
44
- "mapSourcesOptionRoadOptions",
45
- "mapSourcesOptionRoadOptionsCheck",
46
30
  /**
47
31
  * Layers
48
32
  */
@@ -51,60 +35,6 @@ const mapClasses = generateUtilityClasses(COMPONET_KEY_COMPONENT, [
51
35
  "active",
52
36
  "disabled"
53
37
  ]);
54
- const useMapUtilityClasses = (_ownerState) => {
55
- const slots = {
56
- root: ["root"],
57
- //Control tools
58
- topLeftToolsRoot: ["topLeftToolsRoot"],
59
- topRigthToolsRoot: ["topRigthToolsRoot"],
60
- zoomButtons: ["zoomButtons"],
61
- markerLayerRoot: ["markerLayerRoot"],
62
- markerLayerIcon: ["markerLayerIcon"],
63
- markerLayerLabel: ["markerLayerLabel"],
64
- markerLayerLabelInner: ["markerLayerLabelInner"],
65
- //Etiqueta de los features
66
- featureLabel: ["featureLabel"],
67
- /**
68
- * Measure Tool
69
- */
70
- //Measure form
71
- meaureToolRoot: ["meaureToolRoot"],
72
- measureToolFormValue: ["measureToolFormValue"],
73
- measureToolFormValueDistance: ["measureToolFormValueDistance"],
74
- measureToolFormValueSymbol: ["measureToolFormValueSymbol"],
75
- measureToolLabel: ["measureToolLabel"],
76
- meausureToolLabelDistance: ["meausureToolLabelDistance"],
77
- meausureToolLabelSymbol: ["meausureToolLabelSymbol"],
78
- //Meauser Marcas
79
- measureMarkerRoot: ["measureMarkerRoot"],
80
- measureMarkerContainer: ["measureMarkerContainer"],
81
- measureMarkerContainerRhomb: ["measureMarkerContainerRhomb"],
82
- measureMarkerContainerSlot: ["measureMarkerContainerSlot"],
83
- measureMarkerContainerSlotNumber: ["measureMarkerContainerSlotNumber"],
84
- measureLabelMarkerRoot: ["measureLabelMarkerRoot"],
85
- measureLabelMarkerContainer: ["measureLabelMarkerContainer"],
86
- measureLabelMarkerDistance: ["measureLabelMarkerDistance"],
87
- measureLabelMarkerRemove: ["measureLabelMarkerRemove"],
88
- /**
89
- * Map sources
90
- */
91
- mapSourcesPopoverRoot: ["mapSourcesPopoverRoot"],
92
- mapSourcesRoot: ["mapSourcesToolRoot"],
93
- mapSourcesOption: ["mapSourcesToolOption"],
94
- mapSourcesOptionIconLabel: ["mapSourcesToolOptionIconLabel"],
95
- mapSourcesOptionRoadOptions: ["mapSourcesToolOptionRoadOptions"],
96
- mapSourcesOptionRoadOptionsCheck: ["mapSourcesToolOptionRoadOptionsCheck"],
97
- /**
98
- * Layers
99
- */
100
- layersPopoverRoot: ["layersPopoverRoot"],
101
- /* states or variants of elements */
102
- active: ["active"],
103
- disabled: ["disabled"]
104
- };
105
- return unstable_composeClasses(slots, getComponentUtilityClass(COMPONET_KEY_COMPONENT), {});
106
- };
107
38
  export {
108
- mapClasses as m,
109
- useMapUtilityClasses as u
39
+ mapClasses as m
110
40
  };