@m4l/gclick 0.1.0 → 0.2.0-JAEBeta.0

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 (267) 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/classes/index.d.ts +1 -1
  82. package/components/maps/components/GpsMap/classes/index.js +6 -76
  83. package/components/maps/components/GpsMap/classes/types.d.ts +5 -16
  84. package/components/maps/components/GpsMap/constants.d.ts +9 -3
  85. package/components/maps/components/GpsMap/constants.js +25 -13
  86. package/components/maps/components/GpsMap/contexts/MapContext/MapContext.js +4 -26
  87. package/components/maps/components/GpsMap/contexts/MapContext/index.d.ts +1 -1
  88. package/components/maps/components/GpsMap/contexts/MapContext/store.js +50 -75
  89. package/components/maps/components/GpsMap/contexts/MapContext/types.d.ts +98 -87
  90. package/components/maps/components/GpsMap/dictionary.d.ts +19 -8
  91. package/components/maps/components/GpsMap/dictionary.js +30 -17
  92. package/components/maps/components/GpsMap/external/{Control → MapControl}/index.d.ts +3 -3
  93. package/components/maps/components/GpsMap/external/{Control → MapControl}/index.js +9 -7
  94. package/components/maps/components/GpsMap/external/MapControl/types.d.ts +26 -0
  95. package/components/maps/components/GpsMap/external/googleMutant/index.d.ts +1 -1
  96. package/components/maps/components/GpsMap/featureRenders/CommonFeatureRender/index.js +3 -3
  97. package/components/maps/components/GpsMap/featureRenders/FeatureDivIconLabel/index.js +1 -1
  98. package/components/maps/components/GpsMap/featureRenders/MarkerIconLabel/types.d.ts +3 -2
  99. package/components/maps/components/GpsMap/featureRenders/index.d.ts +0 -1
  100. package/components/maps/components/GpsMap/hooks/index.d.ts +3 -0
  101. package/components/maps/components/GpsMap/hooks/index.js +1 -0
  102. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.d.ts +6 -0
  103. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnFlag/index.js +31 -0
  104. package/components/maps/components/GpsMap/hooks/useDisableMapEventsOnMouseOver/index.d.ts +6 -0
  105. package/components/maps/components/GpsMap/hooks/{useDisableZoomEvents → useDisableMapEventsOnMouseOver}/index.js +10 -2
  106. package/components/maps/components/GpsMap/icons.d.ts +10 -7
  107. package/components/maps/components/GpsMap/icons.js +17 -16
  108. package/components/maps/components/GpsMap/index.d.ts +2 -1
  109. package/components/maps/components/GpsMap/leaflet.styles.d.ts +6 -0
  110. package/components/maps/components/GpsMap/popups/MapPopupDevice/MapPopupDevice.js +9 -1
  111. package/components/maps/components/GpsMap/popups/index.d.ts +1 -0
  112. package/components/maps/components/GpsMap/slots/slots.d.ts +27 -4
  113. package/components/maps/components/GpsMap/slots/slots.js +16 -7
  114. package/components/maps/components/GpsMap/slots/styled.d.ts +18 -0
  115. package/components/maps/components/GpsMap/slots/styled.js +37 -0
  116. package/components/maps/components/GpsMap/subcomponents/Controls/index.js +8 -7
  117. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.d.ts +10 -0
  118. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/index.js +10 -0
  119. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → BottomRigthTools}/subcomponents/ZoomButtons/index.js +3 -3
  120. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/BottomRigthTools/types.d.ts +2 -0
  121. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/types.d.ts +8 -0
  122. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/useTool.d.ts +13 -0
  123. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/hooks/useTool.js +64 -0
  124. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.d.ts +0 -2
  125. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/index.js +42 -87
  126. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.d.ts +9 -0
  127. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/index.js +24 -0
  128. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ButtonTool/types.d.ts +2 -0
  129. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.d.ts +4 -0
  130. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.js +30 -0
  131. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.styles.d.ts +2 -0
  132. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/MapLayersTool.styles.js +45 -0
  133. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/types.d.ts +11 -0
  134. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/useMapLayersTool.d.ts +9 -0
  135. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/hooks/useMapLayersTool.js +37 -0
  136. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots.d.ts +6 -0
  137. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots.js +10 -0
  138. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/styled.d.ts +12 -0
  139. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/styled.js +26 -0
  140. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/MapLayerRow.d.ts +5 -0
  141. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/MapLayerRow.js +71 -0
  142. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/subcomponents/types.d.ts +6 -0
  143. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/types.d.ts +9 -0
  144. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.d.ts → TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.d.ts} +1 -1
  145. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.js +38 -0
  146. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.styles.d.ts +2 -0
  147. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/MapSourcesTool.styles.js +87 -0
  148. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.d.ts +12 -0
  149. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/hooks/useMapSourcesTool.js +22 -0
  150. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots.d.ts +9 -0
  151. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots.js +13 -0
  152. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/styled.d.ts +21 -0
  153. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/styled.js +41 -0
  154. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/bing.d.ts +2 -0
  155. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/bing.js +47 -0
  156. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/google.d.ts +2 -0
  157. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/google.js +107 -0
  158. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/others.d.ts +2 -0
  159. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/sourceTypes/others.js +33 -0
  160. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.d.ts +6 -0
  161. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/MapSourceCard.js +88 -0
  162. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/subcomponents/types.d.ts +7 -0
  163. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/types.d.ts +9 -0
  164. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.js +31 -0
  165. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.styles.d.ts +7 -0
  166. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/MeasureTool.styles.js +154 -0
  167. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.d.ts +25 -0
  168. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/constants.js +37 -14
  169. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.d.ts +29 -0
  170. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/helpers.js +14 -6
  171. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +2 -2
  172. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.js +26 -20
  173. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +1 -2
  174. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/slots.d.ts +8 -0
  175. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/slots.js +12 -0
  176. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/styled.d.ts +18 -0
  177. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/slots/styled.js +37 -0
  178. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.js +19 -17
  179. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +18 -2
  180. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/types.d.ts +9 -1
  181. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/types.d.ts +2 -5
  182. package/components/maps/components/GpsMap/subcomponents/Controls/types.d.ts +1 -1
  183. package/components/maps/components/GpsMap/subcomponents/LayersContainer/index.js +2 -1
  184. package/components/maps/components/GpsMap/subcomponents/LayersContainer/subcomponents/MyLayer/index.js +2 -1
  185. package/components/maps/components/GpsMap/subcomponents/MapEventController/MapEventController.d.ts +6 -0
  186. package/components/maps/components/GpsMap/subcomponents/MapEventController/MapEventController.js +8 -0
  187. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/darkStyles.d.ts +13 -0
  188. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerGoogle/index.js +82 -59
  189. package/components/maps/components/GpsMap/subcomponents/TileLayers/subcomponents/TileLayerOthers/index.js +25 -15
  190. package/components/maps/components/GpsMap/types.d.ts +24 -5
  191. package/components/maps/components/GpsMapTools/GpsMapTools.d.ts +1 -0
  192. package/components/maps/components/GpsMapTools/index.d.ts +1 -0
  193. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/index.js +1 -1
  194. package/components/maps/components/GpsMapTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.js +29 -32
  195. package/components/maps/components/GpsMapTools/types.d.ts +0 -16
  196. package/components/maps/index.d.ts +1 -0
  197. package/components/maps/utils/coordsToQuadKey.d.ts +4 -0
  198. package/components/maps/{components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.js → utils/coordsToQuadKey.js} +2 -2
  199. package/components/maps/utils/index.d.ts +1 -0
  200. package/contexts/RealTimeConsumerContext/RealTimeConsumerContext.js +1 -1
  201. package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.d.ts +1 -1
  202. package/contexts/RealTimeProducerContext/sourceDataMechanisms/athmospherejs/index.js +1 -1
  203. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.d.ts +67 -2
  204. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/constants.js +115 -30
  205. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/dummy.js +5 -38
  206. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.d.ts +9 -36
  207. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/group.js +27 -19
  208. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.d.ts +3 -2
  209. package/contexts/RealTimeProducerContext/sourceDataMechanisms/dummy/helpers.js +9 -2
  210. package/contexts/RealTimeProducerContext/sourceDataMechanisms/factory.js +1 -1
  211. package/formatters/CourseFormatter/CourseFormatter.js +6 -4
  212. package/formatters/CourseFormatter/helper.d.ts +2 -1
  213. package/formatters/CourseFormatter/helper.js +2 -4
  214. package/formatters/CourseFormatter/index.d.ts +1 -0
  215. package/formatters/CourseFormatter/slots/CourseFormatterSlots.d.ts +1 -1
  216. package/formatters/CourseFormatter/slots/CourseFormatterSlots.js +2 -2
  217. package/formatters/index.js +1 -0
  218. package/index.d.ts +1 -0
  219. package/index.js +94 -59
  220. package/package.json +16 -3
  221. package/utils/cssToCSSProperties.d.ts +37 -0
  222. package/utils/getPrecisionFromHdop/constants.d.ts +13 -0
  223. package/utils/getPrecisionFromHdop/constants.js +73 -0
  224. package/utils/getPrecisionFromHdop/getPrecisionFromHdop.d.ts +31 -0
  225. package/utils/getPrecisionFromHdop/getPrecisionFromHdop.js +59 -0
  226. package/utils/getPrecisionFromHdop/index.d.ts +3 -0
  227. package/utils/getPrecisionFromHdop/index.js +1 -0
  228. package/utils/getPrecisionFromHdop/types.d.ts +42 -0
  229. package/utils/getVptUpdatedAtWithGuard.d.ts +4 -0
  230. package/utils/getVptUpdatedAtWithGuard.js +13 -0
  231. package/utils/getVptValueWithGuard.d.ts +9 -0
  232. package/utils/getVptValueWithGuard.js +18 -0
  233. package/utils/index.d.ts +3 -0
  234. package/components/DeviceStatus/hooks/constants.d.ts +0 -11
  235. package/components/maps/components/GpsMap/external/Control/types.d.ts +0 -7
  236. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/constants.js +0 -4
  237. package/components/maps/components/GpsMap/featureRenders/DeviceFeatureRender/index.js +0 -112
  238. package/components/maps/components/GpsMap/hooks/useDisableZoomEvents/index.d.ts +0 -6
  239. package/components/maps/components/GpsMap/slots/GpsMapSlots.d.ts +0 -4
  240. package/components/maps/components/GpsMap/slots/GpsMapSlots.js +0 -24
  241. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/index.js +0 -13
  242. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.d.ts +0 -10
  243. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/index.js +0 -58
  244. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
  245. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useCheckedLayers.js +0 -17
  246. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.d.ts +0 -18
  247. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useColumns.js +0 -139
  248. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.d.ts +0 -12
  249. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useMaster.js +0 -52
  250. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +0 -8
  251. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.js +0 -43
  252. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.d.ts +0 -4
  253. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/index.js +0 -30
  254. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/model.d.ts +0 -26
  255. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/index.js +0 -133
  256. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.d.ts +0 -2
  257. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/bing.js +0 -39
  258. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.d.ts +0 -4
  259. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/google.js +0 -73
  260. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.d.ts +0 -2
  261. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/osm.js +0 -25
  262. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/sourceTypes/utils.d.ts +0 -4
  263. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/types.d.ts +0 -4
  264. package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/index.js +0 -40
  265. /package/components/{maps/components/GpsMap/contexts/MapContext/helper.js → Device/index.js} +0 -0
  266. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/{TopRigthTools → BottomRigthTools}/subcomponents/ZoomButtons/index.d.ts +0 -0
  267. /package/components/maps/components/GpsMap/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/{index.d.ts → MeasureTool.d.ts} +0 -0
@@ -1,21 +1,29 @@
1
1
  import { useEffect } from "react";
2
2
  import { useMap } from "react-leaflet";
3
- function useDisableZoomEvents(nodeElement) {
3
+ function useDisableMapEventsOnMouseOver(nodeElement) {
4
4
  const map = useMap();
5
5
  useEffect(() => {
6
6
  if (!map || !nodeElement) {
7
7
  return;
8
8
  }
9
9
  nodeElement.addEventListener("mouseover", function() {
10
+ map.dragging.disable();
10
11
  map.doubleClickZoom.disable();
11
12
  map.scrollWheelZoom.disable();
13
+ map.touchZoom.disable();
14
+ map.boxZoom.disable();
15
+ map.keyboard.disable();
12
16
  });
13
17
  nodeElement.addEventListener("mouseleave", function() {
18
+ map.dragging.enable();
14
19
  map.scrollWheelZoom.enable();
15
20
  map.doubleClickZoom.enable();
21
+ map.touchZoom.enable();
22
+ map.boxZoom.enable();
23
+ map.keyboard.enable();
16
24
  });
17
25
  }, [map, nodeElement]);
18
26
  }
19
27
  export {
20
- useDisableZoomEvents as u
28
+ useDisableMapEventsOnMouseOver as u
21
29
  };
@@ -8,17 +8,20 @@ export declare const MAP_ICONS: {
8
8
  * Map sources
9
9
  */
10
10
  MAP_SOURCES_TOOL: string;
11
- MAP_SOURCE_OSM: string;
12
- MAP_SOURCE_GOOGLE_ROADS: string;
13
- MAP_SOURCE_GOOGLE_HYBRID: string;
14
- MAP_SOURCE_GOOGLE_SATELLITE: string;
11
+ MAP_SOURCE_GOOGLE: string;
15
12
  MAP_SOURCE_BING: string;
13
+ MAP_SOURCE_OTHERS: string;
14
+ MAP_SOURCE_LAYER_STREETS: string;
15
+ MAP_SOURCE_LAYER_HYBRID: string;
16
+ MAP_SOURCE_LAYER_SATELLITE: string;
17
+ MAP_SOURCE_LAYER_TERRAIN: string;
18
+ MAP_SOURCE_LAYER_OTHERS_OSM: string;
16
19
  /**
17
20
  * Map sources road options+
18
21
  */
19
- MAP_SOURCE_ROAD_TRAFFIC: string;
20
- MAP_SOURCE_ROAD_TRANSIT: string;
21
- MAP_SOURCE_ROAD_BICYCLING: string;
22
+ MAP_SOURCE_LAYER_ROAD_OPTION_TRAFFIC: string;
23
+ MAP_SOURCE_LAYER_ROAD_OPTION_TRANSIT: string;
24
+ MAP_SOURCE_LAYER_ROAD_OPTION_BICYCLING: string;
22
25
  /**
23
26
  * Layers
24
27
  */
@@ -2,31 +2,32 @@ const MAP_ICONS = {
2
2
  /**
3
3
  * Map en general
4
4
  */
5
- MAP_ZOOM_IN: "cmp_map_zoom_in.svg",
6
- MAP_ZOOM_OUT: "cmp_map_zoom_out.svg",
5
+ MAP_ZOOM_IN: "zoom_in.svg",
6
+ MAP_ZOOM_OUT: "zoom_out.svg",
7
7
  /**
8
8
  * Map sources
9
9
  */
10
- MAP_SOURCES_TOOL: "cmp_map_mapsources_tool.svg",
11
- MAP_SOURCE_OSM: "cmp_map_mapsources_osm.svg",
12
- MAP_SOURCE_GOOGLE_ROADS: "cmp_map_mapsources_google.svg",
13
- MAP_SOURCE_GOOGLE_HYBRID: "cmp_map_mapsources_googlehybrid.svg",
14
- MAP_SOURCE_GOOGLE_SATELLITE: "cmp_map_mapsources_googlesatelite.svg",
15
- MAP_SOURCE_BING: "cmp_map_mapsources_bing.svg",
10
+ MAP_SOURCES_TOOL: "map.svg",
11
+ MAP_SOURCE_GOOGLE: "google.svg",
12
+ MAP_SOURCE_BING: "bing.svg",
13
+ MAP_SOURCE_OTHERS: "others.svg",
14
+ MAP_SOURCE_LAYER_STREETS: "roads.svg",
15
+ MAP_SOURCE_LAYER_HYBRID: "satellite_hybrid.svg",
16
+ MAP_SOURCE_LAYER_SATELLITE: "satellite.svg",
17
+ MAP_SOURCE_LAYER_TERRAIN: "mount.svg",
16
18
  /**
17
19
  * Map sources road options+
18
20
  */
19
- MAP_SOURCE_ROAD_TRAFFIC: "cmp_map_mapsources_layer-traffic.svg",
20
- MAP_SOURCE_ROAD_TRANSIT: "cmp_map_mapsources_layer-transit.svg",
21
- MAP_SOURCE_ROAD_BICYCLING: "cmp_map_mapsources_layer-bicycle.svg",
21
+ MAP_SOURCE_LAYER_ROAD_OPTION_TRAFFIC: "traffic.svg",
22
+ MAP_SOURCE_LAYER_ROAD_OPTION_TRANSIT: "transit.svg",
23
+ MAP_SOURCE_LAYER_ROAD_OPTION_BICYCLING: "bicycle.svg",
22
24
  /**
23
25
  * Layers
24
26
  */
25
- MAP_LAYERS_TOOL: "cmp_map_layers_tool.svg",
26
- MAP_LAYER_VISIBLE: "cmp_map_layers_view.svg",
27
- MAP_LAYER_AUTOFOCUS: "cmp_map_layers_zoom_fit.svg",
28
- MAP_LAYER_CLUSTER: "cmp_map_layers_cluster.svg",
29
- MAP_LAYER_DELETE: "cmp_map_layers_delete.svg",
27
+ MAP_LAYERS_TOOL: "layers.svg",
28
+ MAP_LAYER_AUTOFOCUS: "autofocus.svg",
29
+ MAP_LAYER_CLUSTER: "cluster.svg",
30
+ MAP_LAYER_DELETE: "delete.svg",
30
31
  /**
31
32
  * Measure Tool *
32
33
  *
@@ -1,9 +1,10 @@
1
1
  export { GpsMap } from './GpsMap';
2
2
  export type { MapProps } from './types';
3
3
  export { MapProvider, MapContext } from './contexts/MapContext/MapContext';
4
- export { useMapStore } from './hooks/useMapStore';
5
4
  export * from './contexts/MapContext';
6
5
  export * from './featureRenders';
7
6
  export * from './popups';
8
7
  export { getMapComponentsDictionary } from './dictionary';
9
8
  export * from './pluginLayers';
9
+ export { LAT_LON_FIXED_DIGITS } from './constants';
10
+ export * from './hooks';
@@ -0,0 +1,6 @@
1
+ import { CSSProperties } from 'react';
2
+ /**
3
+ * Estilos de Leaflet convertidos a CSSProperties de TypeScript
4
+ * Estructura idéntica al CSS original para comparación línea por línea
5
+ */
6
+ export declare const leafletAllStyles: Record<string, CSSProperties>;
@@ -3,17 +3,25 @@ import { P as PopupRootStyled, M as MapPopupDeviceRootStyled } from "./slots/Map
3
3
  import { AppearanceComponentProvider } from "@m4l/components";
4
4
  import { G as GpsDeviceContent } from "./subcomponents/Content/GpsDeviceContent.js";
5
5
  import { G as GpsDeviceHeader } from "./subcomponents/Header/GpsDeviceHeader.js";
6
+ import { useRef, useMemo } from "react";
7
+ import { u as useMapStore } from "../../hooks/useMapStore/index.js";
6
8
  const MapPopupDevice = (props) => {
7
9
  const { isOpen, popupOptions } = props;
8
10
  const { keepInView = true, autoPan = true, closeOnEscapeKey = true, ...others } = popupOptions || {};
11
+ const popupRef = useRef(null);
12
+ const isListOpen = useMapStore((state) => state.hasMapData?.isListOpen);
13
+ const autoPanPaddingTopLeft = useMemo(() => {
14
+ return isListOpen ? [400, 40] : [40, 40];
15
+ }, [isListOpen]);
9
16
  return /* @__PURE__ */ jsx(
10
17
  PopupRootStyled,
11
18
  {
19
+ ref: popupRef,
12
20
  ownerState: {},
13
21
  closeButton: false,
14
22
  keepInView,
15
23
  autoPan,
16
- autoPanPaddingTopLeft: [40, 40],
24
+ autoPanPaddingTopLeft,
17
25
  autoPanPaddingBottomRight: [40, 40],
18
26
  closeOnEscapeKey,
19
27
  offset: [0, -5],
@@ -1 +1,2 @@
1
1
  export * from './MapPopupDevice';
2
+ export type { MapPopupComponent, MapPopupProps } from './types';
@@ -1,6 +1,29 @@
1
- export declare enum MapSlots {
1
+ import { MapSlotsLayersTool } from '../subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots';
2
+ import { MapSlotsSourcesTool } from '../subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots';
3
+ export declare enum MapBaseSlots {
2
4
  root = "root",
3
- popupGpsDevice = "popupGpsDevice",
4
- popupGpsDeviceHeader = "popupGpsDeviceHeader",
5
- popupGpsDeviceContent = "popupGpsDeviceContent"
5
+ mapContainer = "mapContainer",
6
+ popupsViewer = "popupsViewer",
7
+ zoomButton = "zoomButton",
8
+ controlRightToolsRoot = "controlRightToolsRoot",
9
+ controlLeftToolsRoot = "controlLeftToolsRoot"
6
10
  }
11
+ export declare const MapSlots: {
12
+ readonly mapLayersToolRoot: MapSlotsLayersTool.mapLayersToolRoot;
13
+ readonly mapLayersToolRowContainer: MapSlotsLayersTool.mapLayersToolRowContainer;
14
+ readonly mapLayersToolRowCheckBoxNameContainer: MapSlotsLayersTool.mapLayersToolRowCheckBoxNameContainer;
15
+ readonly mapLayersToolRowOptionsContainer: MapSlotsLayersTool.mapLayersToolRowOptionsContainer;
16
+ readonly mapSourcesToolRoot: MapSlotsSourcesTool.mapSourcesToolRoot;
17
+ readonly mapSourcesToolHeader: MapSlotsSourcesTool.mapSourcesToolHeader;
18
+ readonly mapSourcesToolGroup: MapSlotsSourcesTool.mapSourcesToolGroup;
19
+ readonly mapSourcesToolGroupHeader: MapSlotsSourcesTool.mapSourcesToolGroupHeader;
20
+ readonly mapSourceToolCardIconTitleContainer: MapSlotsSourcesTool.mapSourceToolCardIconTitleContainer;
21
+ readonly mapSourceToolCardIcon: MapSlotsSourcesTool.mapSourceToolCardIcon;
22
+ readonly mapSourceToolCardRoadOptionsContainer: MapSlotsSourcesTool.mapSourceToolCardRoadOptionsContainer;
23
+ readonly root: MapBaseSlots.root;
24
+ readonly mapContainer: MapBaseSlots.mapContainer;
25
+ readonly popupsViewer: MapBaseSlots.popupsViewer;
26
+ readonly zoomButton: MapBaseSlots.zoomButton;
27
+ readonly controlRightToolsRoot: MapBaseSlots.controlRightToolsRoot;
28
+ readonly controlLeftToolsRoot: MapBaseSlots.controlLeftToolsRoot;
29
+ };
@@ -1,10 +1,19 @@
1
- var MapSlots = /* @__PURE__ */ ((MapSlots2) => {
2
- MapSlots2["root"] = "root";
3
- MapSlots2["popupGpsDevice"] = "popupGpsDevice";
4
- MapSlots2["popupGpsDeviceHeader"] = "popupGpsDeviceHeader";
5
- MapSlots2["popupGpsDeviceContent"] = "popupGpsDeviceContent";
6
- return MapSlots2;
7
- })(MapSlots || {});
1
+ import { M as MapSlotsLayersTool } from "../subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapLayersTool/slots/slots.js";
2
+ import { M as MapSlotsSourcesTool } from "../subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MapSourcesTool/slots/slots.js";
3
+ var MapBaseSlots = /* @__PURE__ */ ((MapBaseSlots2) => {
4
+ MapBaseSlots2["root"] = "root";
5
+ MapBaseSlots2["mapContainer"] = "mapContainer";
6
+ MapBaseSlots2["popupsViewer"] = "popupsViewer";
7
+ MapBaseSlots2["zoomButton"] = "zoomButton";
8
+ MapBaseSlots2["controlRightToolsRoot"] = "controlRightToolsRoot";
9
+ MapBaseSlots2["controlLeftToolsRoot"] = "controlLeftToolsRoot";
10
+ return MapBaseSlots2;
11
+ })(MapBaseSlots || {});
12
+ const MapSlots = {
13
+ ...MapBaseSlots,
14
+ ...MapSlotsSourcesTool,
15
+ ...MapSlotsLayersTool
16
+ };
8
17
  export {
9
18
  MapSlots as M
10
19
  };
@@ -0,0 +1,18 @@
1
+ export declare const GpsMapRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
2
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
3
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
+ export declare const GpsMapContainerStyled: import('@emotion/styled').StyledComponent<Pick<import('react-leaflet').MapContainerProps & import('react').RefAttributes<import('leaflet').Map>, keyof import('react-leaflet').MapContainerProps | keyof import('react').RefAttributes<import('leaflet').Map>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
5
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
6
+ }, {}, {}>;
7
+ export declare const RightToolsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
9
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
10
+ export declare const LeftToolsRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
11
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
12
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
13
+ export declare const ZoomButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/components/src/components/mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
14
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
15
+ }, {}, {}>;
16
+ export declare const PopupsViewerStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components/src/components/popups/components/PopupsViewer/types').PopupsViewerProps, keyof import('@m4l/components/src/components/popups/components/PopupsViewer/types').PopupsViewerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
17
+ ownerState?: (Partial<import('../types').MapOwnerState> & Record<string, unknown>) | undefined;
18
+ }, {}, {}>;
@@ -0,0 +1,37 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { M as MAP_COMPONET_KEY_COMPONENT } from "../constants.js";
3
+ import { m as mapStyles } from "../GpsMap.styles.js";
4
+ import { M as MapSlots } from "./slots.js";
5
+ import { MapContainer } from "react-leaflet";
6
+ import { PopupsViewer, IconButton } from "@m4l/components";
7
+ const GpsMapRootStyled = styled("div", {
8
+ name: MAP_COMPONET_KEY_COMPONENT,
9
+ slot: MapSlots.root
10
+ })(mapStyles?.root);
11
+ const GpsMapContainerStyled = styled(MapContainer, {
12
+ name: MAP_COMPONET_KEY_COMPONENT,
13
+ slot: MapSlots.mapContainer
14
+ })(mapStyles?.mapContainer);
15
+ const RightToolsRootStyled = styled("div", {
16
+ name: MAP_COMPONET_KEY_COMPONENT,
17
+ slot: MapSlots.controlRightToolsRoot
18
+ })(mapStyles?.controlRightToolsRoot);
19
+ styled("div", {
20
+ name: MAP_COMPONET_KEY_COMPONENT,
21
+ slot: MapSlots.controlLeftToolsRoot
22
+ })(mapStyles?.controlLeftToolsRoot);
23
+ const ZoomButtonStyled = styled(IconButton, {
24
+ name: MAP_COMPONET_KEY_COMPONENT,
25
+ slot: MapSlots.zoomButton
26
+ })(mapStyles?.zoomButton);
27
+ const PopupsViewerStyled = styled(PopupsViewer, {
28
+ name: MAP_COMPONET_KEY_COMPONENT,
29
+ slot: MapSlots.popupsViewer
30
+ })(mapStyles?.popupsViewer);
31
+ export {
32
+ GpsMapRootStyled as G,
33
+ PopupsViewerStyled as P,
34
+ RightToolsRootStyled as R,
35
+ ZoomButtonStyled as Z,
36
+ GpsMapContainerStyled as a
37
+ };
@@ -3,12 +3,13 @@ import { useState, useEffect } from "react";
3
3
  import { createPortal } from "react-dom";
4
4
  import L__default from "leaflet";
5
5
  import { useMap } from "react-leaflet";
6
- import { PopupsProvider, PopupsViewer } from "@m4l/components";
6
+ import { PopupsProvider } from "@m4l/components";
7
7
  import { T as TopRightTools } from "./subcomponents/TopRigthTools/index.js";
8
- import { T as TopLeftTools } from "./subcomponents/TopLeftTools/index.js";
9
- import { b as MAP_ZINDEX_OVER_MAP } from "../../constants.js";
8
+ import { c as MAP_ZINDEX_OVER_MAP } from "../../constants.js";
9
+ import { B as BottomRightTools } from "./subcomponents/BottomRigthTools/index.js";
10
+ import { P as PopupsViewerStyled } from "../../slots/styled.js";
10
11
  function Controls(props) {
11
- const { tools } = props;
12
+ const { GpsTools } = props;
12
13
  const map = useMap();
13
14
  const [controlContainer, setControlContainer] = useState(null);
14
15
  const [mapContainer, setMapContainer] = useState(void 0);
@@ -22,9 +23,9 @@ function Controls(props) {
22
23
  setMapContainer(map.getContainer());
23
24
  }, [map]);
24
25
  return /* @__PURE__ */ jsxs(PopupsProvider, { baseZindex: MAP_ZINDEX_OVER_MAP, children: [
25
- /* @__PURE__ */ jsx(TopLeftTools, {}),
26
- /* @__PURE__ */ jsx(TopRightTools, { tools }),
27
- controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, { containerElement: mapContainer }), controlContainer)
26
+ /* @__PURE__ */ jsx(TopRightTools, { GpsTools }),
27
+ /* @__PURE__ */ jsx(BottomRightTools, {}),
28
+ controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewerStyled, { containerElement: mapContainer }), controlContainer)
28
29
  ] });
29
30
  }
30
31
  export {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Componente que contiene los botones de herramientas de la parte superior derecha del mapa
3
+ * - Boton de herramientas de GPS (Opcional)
4
+ * - Boton de herramientas de medición
5
+ * - Botones de zoom In
6
+ * - Botones de zoom Out
7
+ * @param props
8
+ * @returns
9
+ */
10
+ export declare function BottomRightTools(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { M as MapControl } from "../../../../external/MapControl/index.js";
3
+ import { Z as ZoomButtons } from "./subcomponents/ZoomButtons/index.js";
4
+ import { R as RightToolsRootStyled } from "../../../../slots/styled.js";
5
+ function BottomRightTools() {
6
+ return /* @__PURE__ */ jsx(MapControl, { position: "bottomright", prepend: true, ControlContainer: RightToolsRootStyled, children: /* @__PURE__ */ jsx(ZoomButtons, {}) });
7
+ }
8
+ export {
9
+ BottomRightTools as B
10
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  import { useMap } from "react-leaflet";
4
- import { IconButton } from "@m4l/components";
5
4
  import { M as MAP_ICONS } from "../../../../../../icons.js";
6
5
  import { useEnvironment } from "@m4l/core";
7
6
  import { m as mapClasses } from "../../../../../../classes/index.js";
7
+ import { Z as ZoomButtonStyled } from "../../../../../../slots/styled.js";
8
8
  function ZoomButtons() {
9
9
  const map = useMap();
10
10
  const { host_static_assets, environment_assets } = useEnvironment();
@@ -32,14 +32,14 @@ function ZoomButtons() {
32
32
  };
33
33
  return /* @__PURE__ */ jsxs("div", { className: mapClasses.zoomButtons, children: [
34
34
  /* @__PURE__ */ jsx(
35
- IconButton,
35
+ ZoomButtonStyled,
36
36
  {
37
37
  onClick: handleZoomIn,
38
38
  src: `${host_static_assets}/${environment_assets}/frontend/components/map/assets/icons/${MAP_ICONS.MAP_ZOOM_IN}`
39
39
  }
40
40
  ),
41
41
  /* @__PURE__ */ jsx(
42
- IconButton,
42
+ ZoomButtonStyled,
43
43
  {
44
44
  onClick: handleZoomOut,
45
45
  src: `${host_static_assets}/${environment_assets}/frontend/components/map/assets/icons/${MAP_ICONS.MAP_ZOOM_OUT}`
@@ -0,0 +1,2 @@
1
+ export interface BottomRigthToolsProps {
2
+ }
@@ -0,0 +1,8 @@
1
+ import { JSX_REACT_NODE, RNDDefaultPosition } from '@m4l/components';
2
+ export type useToolProps = {
3
+ popupId: string;
4
+ ToolComponent?: JSX_REACT_NODE;
5
+ iconId: string;
6
+ dictionaryId: string;
7
+ defaultPosition: RNDDefaultPosition;
8
+ };
@@ -0,0 +1,13 @@
1
+ import { useToolProps } from './types';
2
+ /**
3
+ * hook que contiene las funciones y estado de los botones de herramientas de la parte superior derecha del mapa
4
+ * - Boton de herramientas de GPS (Opcional)
5
+ * - Boton de herramientas de medición
6
+ * @param props
7
+ * @returns
8
+ */
9
+ export declare function useTool(props: useToolProps): {
10
+ onToolClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
11
+ isToggled: boolean;
12
+ isDisabled: boolean;
13
+ };
@@ -0,0 +1,64 @@
1
+ import { useEnvironment, useModuleDictionary } from "@m4l/core";
2
+ import { useMap } from "react-leaflet";
3
+ import { usePopupsStore, deepShallow } from "@m4l/components";
4
+ import { useCallback } from "react";
5
+ function useTool(props) {
6
+ const { ToolComponent, popupId, iconId, dictionaryId, defaultPosition } = props;
7
+ const { addPopup } = usePopupsStore((state) => state.popupsActions);
8
+ const { close } = usePopupsStore((state) => state.popupActions);
9
+ const { host_static_assets, environment_assets } = useEnvironment();
10
+ const { getLabel } = useModuleDictionary();
11
+ const { isToggled, isDisabled } = usePopupsStore(
12
+ (state) => {
13
+ const openPopupsIds = state.popupsIds.filter((pId) => {
14
+ return state.hashPopups[pId].status === "init";
15
+ });
16
+ return {
17
+ isToggled: openPopupsIds.indexOf(popupId) > -1,
18
+ isDisabled: state.popupsIds.indexOf(popupId) > -1 && openPopupsIds.indexOf(popupId) === -1
19
+ };
20
+ },
21
+ deepShallow
22
+ );
23
+ const map = useMap();
24
+ const onMouseUp = useCallback((e) => {
25
+ map.dragging.enable();
26
+ e.stopPropagation();
27
+ document.removeEventListener("mouseup", onMouseUp);
28
+ }, [map]);
29
+ const onMouseDown = useCallback((e) => {
30
+ map.dragging.disable();
31
+ e.stopPropagation();
32
+ document.addEventListener("mouseup", onMouseUp);
33
+ }, [map.dragging, onMouseUp]);
34
+ const onToolClick = useCallback((e) => {
35
+ if (!ToolComponent) {
36
+ return;
37
+ }
38
+ if (!isToggled) {
39
+ addPopup(
40
+ {
41
+ winType: "component",
42
+ popupId,
43
+ title: getLabel(dictionaryId),
44
+ iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map/assets/icons/${iconId}`,
45
+ component: ToolComponent,
46
+ onMouseDown,
47
+ defaultPosition
48
+ },
49
+ { closeOthers: true }
50
+ );
51
+ } else {
52
+ close(popupId);
53
+ }
54
+ e.stopPropagation();
55
+ }, [ToolComponent, isToggled, addPopup, popupId, getLabel, dictionaryId, host_static_assets, environment_assets, iconId, onMouseDown, defaultPosition, close]);
56
+ return {
57
+ onToolClick,
58
+ isToggled,
59
+ isDisabled
60
+ };
61
+ }
62
+ export {
63
+ useTool as u
64
+ };
@@ -3,8 +3,6 @@ import { TopRigthToolsProps } from './types';
3
3
  * Componente que contiene los botones de herramientas de la parte superior derecha del mapa
4
4
  * - Boton de herramientas de GPS (Opcional)
5
5
  * - Boton de herramientas de medición
6
- * - Botones de zoom In
7
- * - Botones de zoom Out
8
6
  * @param props
9
7
  * @returns
10
8
  */
@@ -1,101 +1,56 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { useEnvironment, useModuleDictionary } from "@m4l/core";
3
- import { useMap } from "react-leaflet";
4
- import { shallow } from "zustand/shallow";
5
- import { C as Control } from "../../../../external/Control/index.js";
6
- import { usePopupsStore, ToggleIconButton } from "@m4l/components";
7
- import { M as MeasureTool } from "./subcomponents/MeasureTool/index.js";
8
- import { Z as ZoomButtons } from "./subcomponents/ZoomButtons/index.js";
2
+ import { M as MapControl } from "../../../../external/MapControl/index.js";
9
3
  import { M as MAP_ICONS } from "../../../../icons.js";
4
+ import { B as ButtonTool } from "./subcomponents/ButtonTool/index.js";
10
5
  import { M as MAP_DICCTIONARY } from "../../../../dictionary.js";
11
- import { m as mapClasses } from "../../../../classes/index.js";
12
- import { G as GPS_TOOLS_POPUP_DEFAULT_POSITION, c as GPS_TOOLS_POPUP_ID, d as MESURE_POPUP_DEFAULT_POSITION } from "../../../../constants.js";
6
+ import { d as MAP_SOURCES_TOOL_POPUP_DEFAULT_POSITION, e as MAP_LAYERS_TOOL_POPUP_DEFAULT_POSITION, G as GPS_TOOLS_POPUP_DEFAULT_POSITION, f as MESURE_TOOL_POPUP_DEFAULT_POSITION } from "../../../../constants.js";
7
+ import { M as MapLayersTool } from "./subcomponents/MapLayersTool/MapLayersTool.js";
8
+ import { M as MeasureTool } from "./subcomponents/MeasureTool/MeasureTool.js";
9
+ import { M as MapSourcesTool } from "./subcomponents/MapSourcesTool/MapSourcesTool.js";
10
+ import { R as RightToolsRootStyled } from "../../../../slots/styled.js";
13
11
  function TopRightTools(props) {
14
- const { tools } = props;
15
- const { addPopup } = usePopupsStore((state) => state.popupsActions);
16
- const { close } = usePopupsStore((state) => state.popupActions);
17
- const { host_static_assets, environment_assets } = useEnvironment();
18
- const { getLabel } = useModuleDictionary();
19
- const openPopupsIds = usePopupsStore(
20
- (state) => state.popupsIds.filter((pId) => {
21
- return state.hashPopups[pId].status === "init";
22
- }),
23
- shallow
24
- );
25
- const popupsIds = usePopupsStore((state) => state.popupsIds, shallow);
26
- const map = useMap();
27
- const isToggledGpsTools = openPopupsIds.indexOf("gpsTools") > -1;
28
- const isDisabledGpsTools = popupsIds.indexOf("gpsTools") > -1 && openPopupsIds.indexOf("gpsTools") === -1;
29
- const isToggledMeasureTool = openPopupsIds.indexOf("measureTool") > -1;
30
- const isDisabledMeasureTool = popupsIds.indexOf("measureTool") > -1 && openPopupsIds.indexOf("measureTool") === -1;
31
- const onMouseDown = (e) => {
32
- map.dragging.disable();
33
- e.stopPropagation();
34
- document.addEventListener("mouseup", onMouseUp);
35
- };
36
- const onMouseUp = (e) => {
37
- map.dragging.enable();
38
- e.stopPropagation();
39
- document.removeEventListener("mouseup", onMouseUp);
40
- };
41
- const onGpsToolsClick = (e) => {
42
- if (tools && !isToggledGpsTools) {
43
- addPopup(
44
- {
45
- winType: "component",
46
- popupId: GPS_TOOLS_POPUP_ID,
47
- title: getLabel(MAP_DICCTIONARY.LABEL_GPSTOOLS_NAME),
48
- iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_ICONS.MAP_GPS_TOOLS_TOOL}`,
49
- component: tools,
50
- onMouseDown,
51
- defaultPosition: GPS_TOOLS_POPUP_DEFAULT_POSITION
52
- },
53
- { closeOthers: true }
54
- );
55
- } else {
56
- close(GPS_TOOLS_POPUP_ID);
57
- }
58
- e.stopPropagation();
59
- };
60
- const onMeasureToolClick = (e) => {
61
- if (!isToggledMeasureTool) {
62
- addPopup(
63
- {
64
- winType: "component",
65
- popupId: "measureTool",
66
- iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map/assets/icons/${MAP_ICONS.MAP_MEASURE_TOOL}`,
67
- title: getLabel(MAP_DICCTIONARY.LABEL_POPUP_MEASURE),
68
- component: MeasureTool,
69
- onMouseDown,
70
- defaultPosition: MESURE_POPUP_DEFAULT_POSITION
71
- },
72
- { closeOthers: true }
73
- );
74
- } else {
75
- close("measureTool");
76
- }
77
- e.stopPropagation();
78
- };
79
- return /* @__PURE__ */ jsxs(Control, { position: "topright", prepend: true, className: mapClasses.topRigthToolsRoot, children: [
80
- tools && /* @__PURE__ */ jsx(
81
- ToggleIconButton,
12
+ const { GpsTools } = props;
13
+ return /* @__PURE__ */ jsxs(MapControl, { position: "topright", prepend: true, ControlContainer: RightToolsRootStyled, children: [
14
+ /* @__PURE__ */ jsx(
15
+ ButtonTool,
16
+ {
17
+ ToolComponent: MapSourcesTool,
18
+ iconId: MAP_ICONS.MAP_SOURCES_TOOL,
19
+ popupId: "sourcesTools",
20
+ dictionaryId: MAP_DICCTIONARY.LABEL_MAP_SOURCES,
21
+ defaultPosition: MAP_SOURCES_TOOL_POPUP_DEFAULT_POSITION
22
+ }
23
+ ),
24
+ /* @__PURE__ */ jsx(
25
+ ButtonTool,
82
26
  {
83
- isToggled: isToggledGpsTools,
84
- disabled: isDisabledGpsTools,
85
- onToggle: onGpsToolsClick,
86
- icon: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_ICONS.MAP_GPS_TOOLS_TOOL}`
27
+ ToolComponent: MapLayersTool,
28
+ iconId: MAP_ICONS.MAP_LAYERS_TOOL,
29
+ popupId: "layersTools",
30
+ dictionaryId: MAP_DICCTIONARY.LABEL_LAYERS,
31
+ defaultPosition: MAP_LAYERS_TOOL_POPUP_DEFAULT_POSITION
87
32
  }
88
33
  ),
89
34
  /* @__PURE__ */ jsx(
90
- ToggleIconButton,
35
+ ButtonTool,
91
36
  {
92
- isToggled: isToggledMeasureTool,
93
- disabled: isDisabledMeasureTool,
94
- onToggle: onMeasureToolClick,
95
- icon: `${host_static_assets}/${environment_assets}/frontend/components/map/assets/icons/${MAP_ICONS.MAP_MEASURE_TOOL}`
37
+ ToolComponent: GpsTools,
38
+ iconId: MAP_ICONS.MAP_GPS_TOOLS_TOOL,
39
+ popupId: "gpsTools",
40
+ dictionaryId: MAP_DICCTIONARY.LABEL_GPSTOOLS_NAME,
41
+ defaultPosition: GPS_TOOLS_POPUP_DEFAULT_POSITION
96
42
  }
97
43
  ),
98
- /* @__PURE__ */ jsx(ZoomButtons, {})
44
+ /* @__PURE__ */ jsx(
45
+ ButtonTool,
46
+ {
47
+ ToolComponent: MeasureTool,
48
+ iconId: MAP_ICONS.MAP_MEASURE_TOOL,
49
+ popupId: "measureTools",
50
+ dictionaryId: MAP_DICCTIONARY.LABEL_MEASURE,
51
+ defaultPosition: MESURE_TOOL_POPUP_DEFAULT_POSITION
52
+ }
53
+ )
99
54
  ] });
100
55
  }
101
56
  export {