@aguacerowx/react-native 0.0.8 → 0.0.12

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 (469) hide show
  1. package/README.md +60 -60
  2. package/android/build.gradle +83 -84
  3. package/android/src/main/AndroidManifest.xml +6 -6
  4. package/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  5. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -607
  6. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -297
  7. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  8. package/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -63
  9. package/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  10. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -165
  11. package/android/src/main/java/com/facebook/react/viewmanagers/.gitkeep +0 -0
  12. package/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  13. package/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  14. package/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  15. package/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  16. package/android/src/main/res/raw/fragment_shader.glsl +97 -97
  17. package/android/src/main/res/raw/vertex_shader.glsl +19 -19
  18. package/index.js +1 -1
  19. package/ios/AguaceroPackage.m +19 -0
  20. package/ios/FragmentUniforms.swift +14 -0
  21. package/ios/GridRenderLayer.swift +962 -62
  22. package/ios/GridRenderLayerBridge.swift +30 -0
  23. package/ios/GridRenderLayerManager.mm +145 -139
  24. package/ios/GridRenderLayerView.h +23 -0
  25. package/ios/GridRenderLayerView.m +199 -0
  26. package/ios/InspectorDataCache.swift +66 -0
  27. package/ios/InspectorModule.m +10 -0
  28. package/ios/InspectorModule.swift +64 -0
  29. package/ios/Shaders.metal +131 -0
  30. package/ios/WeatherFrameProcessorModule.m +16 -0
  31. package/ios/WeatherFrameProcessorModule.swift +104 -0
  32. package/ios/aguacerowx-react-native.podspec +36 -28
  33. package/ios/generated/.gitkeep +0 -0
  34. package/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  35. package/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  36. package/lib/commonjs/README.md +60 -60
  37. package/lib/commonjs/android/build.gradle +83 -84
  38. package/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  39. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  40. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -607
  41. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -297
  42. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  43. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -63
  44. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  45. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -165
  46. package/lib/commonjs/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  47. package/lib/commonjs/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  48. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  49. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  50. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +97 -97
  51. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +19 -19
  52. package/lib/commonjs/babel.config.js.map +1 -1
  53. package/lib/commonjs/index.js.map +1 -1
  54. package/lib/commonjs/ios/AguaceroPackage.m +19 -0
  55. package/lib/commonjs/ios/FragmentUniforms.swift +14 -0
  56. package/lib/commonjs/ios/GridRenderLayer.swift +962 -0
  57. package/lib/commonjs/ios/GridRenderLayerBridge.swift +30 -0
  58. package/lib/commonjs/ios/GridRenderLayerManager.mm +146 -0
  59. package/lib/commonjs/ios/GridRenderLayerView.h +23 -0
  60. package/lib/commonjs/ios/GridRenderLayerView.m +199 -0
  61. package/lib/commonjs/ios/InspectorDataCache.swift +66 -0
  62. package/lib/commonjs/ios/InspectorModule.m +10 -0
  63. package/lib/commonjs/ios/InspectorModule.swift +64 -0
  64. package/lib/commonjs/ios/Shaders.metal +131 -0
  65. package/lib/commonjs/ios/WeatherFrameProcessorModule.m +16 -0
  66. package/lib/commonjs/ios/WeatherFrameProcessorModule.swift +104 -0
  67. package/lib/commonjs/ios/aguacerowx-react-native.podspec +37 -0
  68. package/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  69. package/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  70. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
  71. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
  72. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
  73. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
  74. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
  75. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
  76. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
  77. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
  78. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
  79. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
  80. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
  81. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
  82. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
  83. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
  84. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
  85. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
  86. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
  87. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
  88. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
  89. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
  90. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
  91. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +1029 -0
  92. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
  93. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +381 -0
  94. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
  95. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1229 -0
  96. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
  97. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4023 -0
  98. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
  99. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +38 -0
  100. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
  101. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +30 -0
  102. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
  103. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +27 -0
  104. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
  105. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +41 -0
  106. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
  107. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +301 -0
  108. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
  109. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +126 -0
  110. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
  111. package/lib/commonjs/package.json +71 -73
  112. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  113. package/lib/commonjs/src/AguaceroContext.js.map +1 -1
  114. package/lib/commonjs/src/GridRenderLayer.js +32 -7
  115. package/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  116. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  117. package/lib/commonjs/src/MapManager.js +1 -4
  118. package/lib/commonjs/src/MapManager.js.map +1 -1
  119. package/lib/commonjs/src/MapRegistry.js.map +1 -1
  120. package/lib/commonjs/src/StyleApplicator.js +6 -6
  121. package/lib/commonjs/src/StyleApplicator.js.map +1 -1
  122. package/lib/commonjs/src/WeatherLayerManager.js +238 -212
  123. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  124. package/lib/commonjs/tsconfig.json +23 -23
  125. package/lib/module/README.md +60 -60
  126. package/lib/module/android/build.gradle +83 -84
  127. package/lib/module/android/src/main/AndroidManifest.xml +6 -6
  128. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  129. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -607
  130. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -297
  131. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  132. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -63
  133. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  134. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -165
  135. package/lib/module/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  136. package/lib/module/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  137. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  138. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  139. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +97 -97
  140. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +19 -19
  141. package/lib/module/babel.config.js.map +1 -1
  142. package/lib/module/index.js.map +1 -1
  143. package/lib/module/ios/AguaceroPackage.m +19 -0
  144. package/lib/module/ios/FragmentUniforms.swift +14 -0
  145. package/lib/module/ios/GridRenderLayer.swift +962 -0
  146. package/lib/module/ios/GridRenderLayerBridge.swift +30 -0
  147. package/lib/module/ios/GridRenderLayerManager.mm +146 -0
  148. package/lib/module/ios/GridRenderLayerView.h +23 -0
  149. package/lib/module/ios/GridRenderLayerView.m +199 -0
  150. package/lib/module/ios/InspectorDataCache.swift +66 -0
  151. package/lib/module/ios/InspectorModule.m +10 -0
  152. package/lib/module/ios/InspectorModule.swift +64 -0
  153. package/lib/module/ios/Shaders.metal +131 -0
  154. package/lib/module/ios/WeatherFrameProcessorModule.m +16 -0
  155. package/lib/module/ios/WeatherFrameProcessorModule.swift +104 -0
  156. package/lib/module/ios/aguacerowx-react-native.podspec +37 -0
  157. package/lib/module/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  158. package/lib/module/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  159. package/lib/module/lib/commonjs/README.md +60 -60
  160. package/lib/module/lib/commonjs/android/build.gradle +83 -84
  161. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  162. package/lib/module/lib/commonjs/babel.config.js.map +1 -1
  163. package/lib/module/lib/commonjs/index.js.map +1 -1
  164. package/lib/module/lib/commonjs/ios/AguaceroPackage.m +19 -0
  165. package/lib/module/lib/commonjs/ios/FragmentUniforms.swift +14 -0
  166. package/lib/module/lib/commonjs/ios/GridRenderLayer.swift +962 -0
  167. package/lib/module/lib/commonjs/ios/GridRenderLayerBridge.swift +30 -0
  168. package/lib/module/lib/commonjs/ios/GridRenderLayerManager.mm +146 -0
  169. package/lib/module/lib/commonjs/ios/GridRenderLayerView.h +23 -0
  170. package/lib/module/lib/commonjs/ios/GridRenderLayerView.m +199 -0
  171. package/lib/module/lib/commonjs/ios/InspectorDataCache.swift +66 -0
  172. package/lib/module/lib/commonjs/ios/InspectorModule.m +10 -0
  173. package/lib/module/lib/commonjs/ios/InspectorModule.swift +64 -0
  174. package/lib/module/lib/commonjs/ios/Shaders.metal +131 -0
  175. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.m +16 -0
  176. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.swift +104 -0
  177. package/lib/module/lib/commonjs/ios/aguacerowx-react-native.podspec +37 -0
  178. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  179. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  180. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
  181. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
  182. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
  183. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
  184. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
  185. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
  186. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
  187. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
  188. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
  189. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
  190. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
  191. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
  192. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
  193. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
  194. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
  195. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
  196. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
  197. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
  198. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
  199. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
  200. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
  201. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +1033 -0
  202. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
  203. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +381 -0
  204. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
  205. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1229 -0
  206. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
  207. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4023 -0
  208. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
  209. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +38 -0
  210. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
  211. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +30 -0
  212. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
  213. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +27 -0
  214. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
  215. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +41 -0
  216. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
  217. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +301 -0
  218. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
  219. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +126 -0
  220. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
  221. package/lib/module/lib/commonjs/package.json +71 -73
  222. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  223. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -1
  224. package/lib/module/lib/commonjs/src/GridRenderLayer.js +32 -7
  225. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  226. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  227. package/lib/module/lib/commonjs/src/MapManager.js +1 -4
  228. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -1
  229. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -1
  230. package/lib/module/lib/commonjs/src/StyleApplicator.js +6 -6
  231. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -1
  232. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +238 -212
  233. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  234. package/lib/module/lib/commonjs/tsconfig.json +23 -23
  235. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
  236. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
  237. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
  238. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
  239. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
  240. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
  241. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
  242. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
  243. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
  244. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
  245. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
  246. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
  247. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
  248. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
  249. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
  250. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
  251. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
  252. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
  253. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
  254. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
  255. package/lib/module/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
  256. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +1021 -0
  257. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
  258. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +375 -0
  259. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
  260. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1223 -0
  261. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
  262. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4017 -0
  263. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
  264. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js +31 -0
  265. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
  266. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +29 -0
  267. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
  268. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +21 -0
  269. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
  270. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js +12 -0
  271. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
  272. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +295 -0
  273. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
  274. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +119 -0
  275. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
  276. package/lib/module/package.json +71 -73
  277. package/lib/module/react-native-builder-bob.config.js.map +1 -1
  278. package/lib/module/src/AguaceroContext.js.map +1 -1
  279. package/lib/module/src/GridRenderLayer.js +32 -7
  280. package/lib/module/src/GridRenderLayer.js.map +1 -1
  281. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -1
  282. package/lib/module/src/MapManager.js +1 -4
  283. package/lib/module/src/MapManager.js.map +1 -1
  284. package/lib/module/src/MapRegistry.js.map +1 -1
  285. package/lib/module/src/StyleApplicator.js +6 -6
  286. package/lib/module/src/StyleApplicator.js.map +1 -1
  287. package/lib/module/src/WeatherLayerManager.js +239 -213
  288. package/lib/module/src/WeatherLayerManager.js.map +1 -1
  289. package/lib/module/tsconfig.json +23 -23
  290. package/lib/typescript/src/GridRenderLayer.d.ts.map +1 -1
  291. package/lib/typescript/src/MapManager.d.ts.map +1 -1
  292. package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -1
  293. package/package.json +71 -73
  294. package/src/AguaceroContext.js +4 -0
  295. package/src/GridRenderLayer.js +205 -0
  296. package/src/GridRenderLayerNativeComponent.ts +16 -0
  297. package/src/MapManager.js +156 -0
  298. package/src/MapRegistry.js +35 -0
  299. package/src/StyleApplicator.js +241 -0
  300. package/src/WeatherLayerManager.js +873 -0
  301. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/results.bin +0 -1
  302. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/transformed/classes/classes_dex/classes.dex +0 -0
  303. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/results.bin +0 -1
  304. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/AguaceroPackage.dex +0 -0
  305. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/BuildConfig.dex +0 -0
  306. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  307. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  308. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  309. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  310. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/InspectorModule.dex +0 -0
  311. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/ShaderUtils.dex +0 -0
  312. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  313. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  314. package/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  315. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  316. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  317. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  318. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  319. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  320. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  321. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  322. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  323. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  324. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  325. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  326. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  327. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  328. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  329. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  330. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  331. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  332. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  333. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  334. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  335. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  336. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  337. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  338. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  339. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  340. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  341. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  342. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  343. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  344. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  345. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  346. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  347. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  348. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  349. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  350. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  351. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  352. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  353. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  354. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  355. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  356. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  357. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  358. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  359. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  360. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  361. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  362. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  363. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  364. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  365. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  366. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  367. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  368. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  369. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  370. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  371. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  372. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  373. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  374. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  375. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  376. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  377. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  378. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  379. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  380. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  381. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  382. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  383. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  384. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  385. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  386. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  387. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  388. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  389. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  390. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  391. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  392. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  393. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  394. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  395. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  396. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  397. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  398. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  399. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  400. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  401. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  402. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  403. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  404. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  405. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  406. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  407. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  408. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  409. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  410. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  411. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  412. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  413. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  414. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  415. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  416. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  417. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  418. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  419. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  420. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  421. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  422. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  423. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  424. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  425. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  426. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  427. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  428. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  429. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  430. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  431. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  432. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  433. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  434. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  435. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  436. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  437. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  438. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  439. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  440. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  441. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  442. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  443. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  444. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  445. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  446. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  447. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  448. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  449. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  450. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  451. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  452. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  453. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  454. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  455. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  456. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  457. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  458. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  459. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  460. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  461. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  462. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  463. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  464. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  465. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  466. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  467. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  468. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  469. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
@@ -0,0 +1,295 @@
1
+ export const defaultLightMapStyles = {
2
+ landOcean: {
3
+ landColor: '#f0f0f0',
4
+ oceanColor: '#a8d8ea',
5
+ waterDepth: {
6
+ visible: true,
7
+ color: '#97c7d9'
8
+ },
9
+ nationalPark: {
10
+ visible: true,
11
+ color: '#d4e6d4'
12
+ }
13
+ },
14
+ transportation: {
15
+ roads: {
16
+ visible: true,
17
+ color: '#d3d3d3',
18
+ width: 0.7
19
+ },
20
+ airports: {
21
+ visible: true,
22
+ color: '#d3d3d3',
23
+ width: 0.7
24
+ }
25
+ },
26
+ boundaries: {
27
+ countries: {
28
+ visible: true,
29
+ color: '#000000',
30
+ width: 1.5,
31
+ lineType: 'solid'
32
+ },
33
+ states: {
34
+ visible: true,
35
+ color: '#000000',
36
+ width: 1.5,
37
+ lineType: 'solid'
38
+ },
39
+ counties: {
40
+ visible: true,
41
+ color: '#515151',
42
+ width: 1.2,
43
+ lineType: 'solid'
44
+ }
45
+ },
46
+ waterFeatures: {
47
+ waterways: {
48
+ visible: true,
49
+ color: '#a8d8ea',
50
+ width: 0.7
51
+ }
52
+ },
53
+ labels: {
54
+ countries: {
55
+ visible: false,
56
+ fontFamily: 'Open Sans Regular',
57
+ fontSize: 14,
58
+ color: '#000000',
59
+ outlineColor: '#ffffff',
60
+ outlineWidth: 1
61
+ },
62
+ states: {
63
+ visible: false,
64
+ fontFamily: 'Open Sans Regular',
65
+ fontSize: 12,
66
+ color: '#000000',
67
+ outlineColor: '#ffffff',
68
+ outlineWidth: 1
69
+ },
70
+ cities: {
71
+ major: {
72
+ visible: true,
73
+ fontFamily: 'Open Sans Regular',
74
+ fontSize: 12,
75
+ color: '#000000',
76
+ outlineColor: '#ffffff',
77
+ outlineWidth: 1
78
+ },
79
+ minor: {
80
+ visible: true,
81
+ fontFamily: 'Open Sans Regular',
82
+ fontSize: 10,
83
+ color: '#000000',
84
+ outlineColor: '#ffffff',
85
+ outlineWidth: 1
86
+ }
87
+ },
88
+ airports: {
89
+ visible: true,
90
+ fontFamily: 'Open Sans Regular',
91
+ fontSize: 11,
92
+ color: '#000000',
93
+ outlineColor: '#ffffff',
94
+ outlineWidth: 1
95
+ },
96
+ poi: {
97
+ visible: true,
98
+ fontFamily: 'Open Sans Regular',
99
+ fontSize: 10,
100
+ color: '#000000',
101
+ outlineColor: '#ffffff',
102
+ outlineWidth: 1
103
+ },
104
+ continents: {
105
+ visible: true,
106
+ fontFamily: 'Open Sans Regular',
107
+ fontSize: 16,
108
+ color: '#000000',
109
+ outlineColor: '#ffffff',
110
+ outlineWidth: 1.5
111
+ },
112
+ waterLabels: {
113
+ visible: true,
114
+ fontFamily: 'Open Sans Italic',
115
+ fontSize: 10,
116
+ color: '#0077be',
117
+ outlineColor: '#ffffff',
118
+ outlineWidth: 1
119
+ },
120
+ naturalLabels: {
121
+ visible: true,
122
+ fontFamily: 'Open Sans Italic',
123
+ fontSize: 10,
124
+ color: '#2E8B57',
125
+ outlineColor: '#ffffff',
126
+ outlineWidth: 1
127
+ },
128
+ subdivisionLabels: {
129
+ visible: true,
130
+ fontFamily: 'Open Sans Regular',
131
+ fontSize: 11,
132
+ color: '#000000',
133
+ outlineColor: '#ffffff',
134
+ outlineWidth: 1
135
+ }
136
+ },
137
+ terrain: {
138
+ visible: true,
139
+ intensity: 0.15,
140
+ shadowColor: '#b0b0b0',
141
+ highlightColor: '#ffffff',
142
+ accentColor: '#b0b0b0'
143
+ },
144
+ oceanOnTop: false
145
+ };
146
+ export const defaultDarkMapStyles = {
147
+ landOcean: {
148
+ landColor: '#242424',
149
+ oceanColor: '#252525',
150
+ waterDepth: {
151
+ visible: true,
152
+ color: '#000000'
153
+ },
154
+ nationalPark: {
155
+ visible: true,
156
+ color: '#202020'
157
+ }
158
+ },
159
+ transportation: {
160
+ roads: {
161
+ visible: true,
162
+ color: '#4f4f4f',
163
+ width: 0.5
164
+ },
165
+ airports: {
166
+ visible: true,
167
+ color: '#4f4f4f',
168
+ width: 0.6
169
+ }
170
+ },
171
+ boundaries: {
172
+ countries: {
173
+ visible: true,
174
+ color: '#ffffff',
175
+ width: 1.5,
176
+ lineType: 'solid'
177
+ },
178
+ states: {
179
+ visible: true,
180
+ color: '#ffffff',
181
+ width: 1.5,
182
+ lineType: 'solid'
183
+ },
184
+ counties: {
185
+ visible: true,
186
+ color: '#a2a2a2',
187
+ width: 1.2,
188
+ lineType: 'solid'
189
+ }
190
+ },
191
+ waterFeatures: {
192
+ waterways: {
193
+ visible: true,
194
+ color: '#333333',
195
+ width: 0.5
196
+ }
197
+ },
198
+ labels: {
199
+ countries: {
200
+ visible: false,
201
+ fontFamily: 'Open Sans Regular',
202
+ fontSize: 14,
203
+ color: '#ffffff',
204
+ outlineColor: '#000000',
205
+ outlineWidth: 1
206
+ },
207
+ states: {
208
+ visible: false,
209
+ fontFamily: 'Open Sans Regular',
210
+ fontSize: 12,
211
+ color: '#ffffff',
212
+ outlineColor: '#000000',
213
+ outlineWidth: 1
214
+ },
215
+ cities: {
216
+ major: {
217
+ visible: true,
218
+ fontFamily: 'Open Sans Regular',
219
+ fontSize: 12,
220
+ color: '#ffffff',
221
+ outlineColor: '#000000',
222
+ outlineWidth: 1
223
+ },
224
+ minor: {
225
+ visible: true,
226
+ fontFamily: 'Open Sans Regular',
227
+ fontSize: 10,
228
+ color: '#ffffff',
229
+ outlineColor: '#000000',
230
+ outlineWidth: 1
231
+ }
232
+ },
233
+ airports: {
234
+ visible: true,
235
+ fontFamily: 'Open Sans Regular',
236
+ fontSize: 11,
237
+ color: '#ffffff',
238
+ outlineColor: '#000000',
239
+ outlineWidth: 1
240
+ },
241
+ poi: {
242
+ visible: true,
243
+ fontFamily: 'Open Sans Regular',
244
+ fontSize: 10,
245
+ color: '#ffffff',
246
+ outlineColor: '#000000',
247
+ outlineWidth: 1
248
+ },
249
+ continents: {
250
+ visible: true,
251
+ fontFamily: 'Open Sans Regular',
252
+ fontSize: 16,
253
+ color: '#ffffff',
254
+ outlineColor: '#000000',
255
+ outlineWidth: 1.5
256
+ },
257
+ waterLabels: {
258
+ visible: true,
259
+ fontFamily: 'Open Sans Italic',
260
+ fontSize: 10,
261
+ color: '#a8d8ea',
262
+ outlineColor: '#000000',
263
+ outlineWidth: 1
264
+ },
265
+ naturalLabels: {
266
+ visible: true,
267
+ fontFamily: 'Open Sans Italic',
268
+ fontSize: 10,
269
+ color: '#90ee90',
270
+ outlineColor: '#000000',
271
+ outlineWidth: 1
272
+ },
273
+ subdivisionLabels: {
274
+ visible: true,
275
+ fontFamily: 'Open Sans Regular',
276
+ fontSize: 11,
277
+ color: '#ffffff',
278
+ outlineColor: '#000000',
279
+ outlineWidth: 1
280
+ }
281
+ },
282
+ terrain: {
283
+ visible: true,
284
+ intensity: 0.2,
285
+ shadowColor: '#000000',
286
+ highlightColor: '#FFFFFF',
287
+ accentColor: '#000000'
288
+ },
289
+ oceanOnTop: false
290
+ };
291
+ export const THEME_CONFIGS = {
292
+ light: defaultLightMapStyles,
293
+ dark: defaultDarkMapStyles
294
+ };
295
+ //# sourceMappingURL=map-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["defaultLightMapStyles","landOcean","landColor","oceanColor","waterDepth","visible","color","nationalPark","transportation","roads","width","airports","boundaries","countries","lineType","states","counties","waterFeatures","waterways","labels","fontFamily","fontSize","outlineColor","outlineWidth","cities","major","minor","poi","continents","waterLabels","naturalLabels","subdivisionLabels","terrain","intensity","shadowColor","highlightColor","accentColor","oceanOnTop","defaultDarkMapStyles","THEME_CONFIGS","light","dark"],"sourceRoot":"../../../../../..","sources":["node_modules/@aguacerowx/javascript-sdk/src/map-styles.js"],"mappings":"AAAA,OAAO,MAAMA,qBAAqB,GAAG;EACjCC,SAAS,EAAE;IACPC,SAAS,EAAE,SAAS;IACpBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE;MACRC,OAAO,EAAE,IAAI;MACbC,KAAK,EAAE;IACX,CAAC;IACDC,YAAY,EAAE;MACVF,OAAO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E,EAAE;MAAEf,KAAK,EAAE,SAAS;MAAEgB,YAAY,EAAE,SAAS;MAAEC,YAAY,EAAE;IAAE,CAAC;IACjIK,UAAU,EAAE;MAAEvB,OAAO,EAAE,IAAI;MAAEe,UAAU,EAAE,mBAAmB;MAAEC,QAAQ,EAAE,EAAE;MAAEf,KAAK,EAAE,SAAS;MAAEgB,YAAY,EAAE,SAAS;MAAEC,YAAY,EAAE;IAAI,CAAC;IAC1IM,WAAW,EAAE;MAAExB,OAAO,EAAE,IAAI;MAAEe,UAAU,EAAE,kBAAkB;MAAEC,QAAQ,EAAE,EAAE;MAAEf,KAAK,EAAE,SAAS;MAAEgB,YAAY,EAAE,SAAS;MAAEC,YAAY,EAAE;IAAE,CAAC;IACxIO,aAAa,EAAE;MAAEzB,OAAO,EAAE,IAAI;MAAEe,UAAU,EAAE,kBAAkB;MAAEC,QAAQ,EAAE,EAAE;MAAEf,KAAK,EAAE,SAAS;MAAEgB,YAAY,EAAE,SAAS;MAAEC,YAAY,EAAE;IAAE,CAAC;IAC1IQ,iBAAiB,EAAE;MAAE1B,OAAO,EAAE,IAAI;MAAEe,UAAU,EAAE,mBAAmB;MAAEC,QAAQ,EAAE,EAAE;MAAEf,KAAK,EAAE,SAAS;MAAEgB,YAAY,EAAE,SAAS;MAAEC,YAAY,EAAE;IAAE;EAClJ,CAAC;EACDS,OAAO,EAAE;IACL3B,OAAO,EAAE,IAAI;IACb4B,SAAS,EAAE,GAAG;IACdC,WAAW,EAAE,SAAS;IACtBC,cAAc,EAAE,SAAS;IACzBC,WAAW,EAAE;EACjB,CAAC;EACDC,UAAU,EAAE;AAChB,CAAC;AAED,OAAO,MAAME,aAAa,GAAG;EACzBC,KAAK,EAAExC,qBAAqB;EAC5ByC,IAAI,EAAEH;AACV,CAAC","ignoreList":[]}
@@ -0,0 +1,119 @@
1
+ /**
2
+ * A utility module for converting between different physical units.
3
+ * Contains a comprehensive object of conversion functions and a helper
4
+ * to retrieve the correct function based on unit names.
5
+ */
6
+
7
+ // The main object containing all the raw conversion functions.
8
+ export const unitConversions = {
9
+ kelvin_to_celsius: data => data - 273.15,
10
+ kelvin_to_fahrenheit: data => (data - 273.15) * 9 / 5 + 32,
11
+ kelvin_to_c: data => data - 273.15,
12
+ kelvin_to_f: data => (data - 273.15) * 9 / 5 + 32,
13
+ k_to_celsius: data => data - 273.15,
14
+ k_to_fahrenheit: data => (data - 273.15) * 9 / 5 + 32,
15
+ k_to_c: data => data - 273.15,
16
+ k_to_f: data => (data - 273.15) * 9 / 5 + 32,
17
+ celsius_to_fahrenheit: data => data * 9 / 5 + 32,
18
+ celsius_to_f: data => data * 9 / 5 + 32,
19
+ c_to_fahrenheit: data => data * 9 / 5 + 32,
20
+ c_to_f: data => data * 9 / 5 + 32,
21
+ fahrenheit_to_celsius: data => (data - 32) * 5 / 9,
22
+ fahrenheit_to_c: data => (data - 32) * 5 / 9,
23
+ f_to_celsius: data => (data - 32) * 5 / 9,
24
+ f_to_c: data => (data - 32) * 5 / 9,
25
+ meters_to_feet: data => data * 3.28084,
26
+ meters_to_km: data => data / 1000,
27
+ m_to_feet: data => data * 3.28084,
28
+ m_to_ft: data => data * 3.28084,
29
+ m_to_km: data => data / 1000,
30
+ kts_to_mph: data => data * 1.15078,
31
+ mph_to_kts: data => data / 1.15078,
32
+ kts_to_ms: data => data / 1.94384449,
33
+ mph_to_ms: data => data / 2.23693629,
34
+ ms_to_mph: data => data * 2.23694,
35
+ ms_to_kts: data => data * 1.94384,
36
+ kts_to_kmh: data => data * 1.852,
37
+ mph_to_kmh: data => data * 1.60934,
38
+ ms_to_kmh: data => data * 3.6,
39
+ kmh_to_kts: data => data / 1.852,
40
+ kmh_to_mph: data => data / 1.60934,
41
+ kmh_to_ms: data => data / 3.6,
42
+ inches_to_mm: data => data * 25.4,
43
+ inches_to_cm: data => data * 2.54,
44
+ in_to_mm: data => data * 25.4,
45
+ in_to_cm: data => data * 2.54,
46
+ mm_to_in: data => data / 25.4,
47
+ mm_to_inches: data => data / 25.4,
48
+ cm_to_in: data => data / 2.54,
49
+ cm_to_inches: data => data / 2.54,
50
+ inhr_to_mmhr: data => data * 25.4,
51
+ inhr_to_cmhr: data => data * 2.54,
52
+ in_hr_to_mm_hr: data => data * 25.4,
53
+ in_hr_to_cm_hr: data => data * 2.54,
54
+ mmhr_to_inhr: data => data / 25.4,
55
+ cmhr_to_inhr: data => data / 2.54,
56
+ mm_hr_to_in_hr: data => data / 25.4,
57
+ cm_hr_to_in_hr: data => data / 2.54,
58
+ mmhr_to_cmhr: data => data / 10,
59
+ cmhr_to_mmhr: data => data * 10,
60
+ mm_hr_to_cm_hr: data => data / 10,
61
+ cm_hr_to_mm_hr: data => data * 10
62
+ };
63
+
64
+ /**
65
+ * Finds and returns the correct conversion function based on "from" and "to" unit strings.
66
+ * It normalizes common unit abbreviations to a consistent key.
67
+ * @param {string} fromUnit - The starting unit (e.g., 'kelvin', '°C', 'kts').
68
+ * @param {string} toUnit - The target unit (e.g., 'fahrenheit', '°F', 'mph').
69
+ * @returns {function(number): number | null} The conversion function, or null if not found.
70
+ */
71
+ export function getUnitConversionFunction(fromUnit, toUnit) {
72
+ // A map to standardize various unit string formats to a single key format.
73
+ const unitMap = {
74
+ '°c': 'c',
75
+ '°f': 'f',
76
+ '°k': 'k',
77
+ 'celsius': 'c',
78
+ 'fahrenheit': 'f',
79
+ 'kelvin': 'k',
80
+ 'c': 'c',
81
+ 'f': 'f',
82
+ 'k': 'k',
83
+ '°F': 'f',
84
+ '°C': 'c',
85
+ 'kts': 'kts',
86
+ 'm/s': 'ms',
87
+ 'mph': 'mph',
88
+ 'km/h': 'kmh',
89
+ 'knots': 'kts',
90
+ 'ft': 'ft',
91
+ 'feet': 'ft',
92
+ 'km': 'km',
93
+ 'mm': 'mm',
94
+ 'cm': 'cm',
95
+ 'm': 'm',
96
+ 'meters': 'm',
97
+ 'in/hr': 'inhr',
98
+ 'mm/hr': 'mmhr',
99
+ 'cm/hr': 'cmhr',
100
+ 'in': 'in',
101
+ 'inches': 'in'
102
+ };
103
+
104
+ // Cleans and standardizes the input unit string.
105
+ const normalizeUnit = unit => {
106
+ if (!unit) return '';
107
+ const lowerUnit = unit.toLowerCase().trim();
108
+ return unitMap[lowerUnit] || lowerUnit;
109
+ };
110
+ const fromNormalized = normalizeUnit(fromUnit);
111
+ const toNormalized = normalizeUnit(toUnit);
112
+
113
+ // Constructs the key to look up in the `unitConversions` object (e.g., 'k_to_f').
114
+ const conversionKey = `${fromNormalized}_to_${toNormalized}`;
115
+
116
+ // Return the function if it exists, otherwise return null.
117
+ return unitConversions[conversionKey] || null;
118
+ }
119
+ //# sourceMappingURL=unitConversions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["unitConversions","kelvin_to_celsius","data","kelvin_to_fahrenheit","kelvin_to_c","kelvin_to_f","k_to_celsius","k_to_fahrenheit","k_to_c","k_to_f","celsius_to_fahrenheit","celsius_to_f","c_to_fahrenheit","c_to_f","fahrenheit_to_celsius","fahrenheit_to_c","f_to_celsius","f_to_c","meters_to_feet","meters_to_km","m_to_feet","m_to_ft","m_to_km","kts_to_mph","mph_to_kts","kts_to_ms","mph_to_ms","ms_to_mph","ms_to_kts","kts_to_kmh","mph_to_kmh","ms_to_kmh","kmh_to_kts","kmh_to_mph","kmh_to_ms","inches_to_mm","inches_to_cm","in_to_mm","in_to_cm","mm_to_in","mm_to_inches","cm_to_in","cm_to_inches","inhr_to_mmhr","inhr_to_cmhr","in_hr_to_mm_hr","in_hr_to_cm_hr","mmhr_to_inhr","cmhr_to_inhr","mm_hr_to_in_hr","cm_hr_to_in_hr","mmhr_to_cmhr","cmhr_to_mmhr","mm_hr_to_cm_hr","cm_hr_to_mm_hr","getUnitConversionFunction","fromUnit","toUnit","unitMap","normalizeUnit","unit","lowerUnit","toLowerCase","trim","fromNormalized","toNormalized","conversionKey"],"sourceRoot":"../../../../../..","sources":["node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js"],"mappings":"AAAA;AACA;AACA;AACA;AACA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,KAAK;IAAE,KAAK,EAAE,IAAI;IAAE,KAAK,EAAE,KAAK;IAAE,MAAM,EAAE,KAAK;IACtD,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,IAAI;IAAE,MAAM,EAAE,IAAI;IACxB,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,GAAG,EAAE,GAAG;IAAE,QAAQ,EAAE,GAAG;IACvB,OAAO,EAAE,MAAM;IAAE,OAAO,EAAE,MAAM;IAAE,OAAO,EAAE,MAAM;IACjD,IAAI,EAAE,IAAI;IAAE,QAAQ,EAAE;EAC1B,CAAC;;EAED;EACA,MAAMC,aAAa,GAAIC,IAAI,IAAK;IAC5B,IAAI,CAACA,IAAI,EAAE,OAAO,EAAE;IACpB,MAAMC,SAAS,GAAGD,IAAI,CAACE,WAAW,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC;IAC3C,OAAOL,OAAO,CAACG,SAAS,CAAC,IAAIA,SAAS;EAC1C,CAAC;EAED,MAAMG,cAAc,GAAGL,aAAa,CAACH,QAAQ,CAAC;EAC9C,MAAMS,YAAY,GAAGN,aAAa,CAACF,MAAM,CAAC;;EAE1C;EACA,MAAMS,aAAa,GAAG,GAAGF,cAAc,OAAOC,YAAY,EAAE;;EAE5D;EACA,OAAOjE,eAAe,CAACkE,aAAa,CAAC,IAAI,IAAI;AACjD","ignoreList":[]}
@@ -1,73 +1,71 @@
1
- {
2
- "name": "@aguacerowx/react-native",
3
- "version": "0.0.8",
4
- "description": "Native weather rendering for React Native",
5
- "license": "ISC",
6
- "author": "Michael Barletta",
7
- "keywords": [
8
- "react-native",
9
- "android",
10
- "weather",
11
- "map"
12
- ],
13
- "main": "lib/commonjs/index.js",
14
- "module": "lib/module/index.js",
15
- "react-native": "index.js",
16
- "source": "index.js",
17
- "types": "lib/typescript/index.d.ts",
18
- "files": [
19
- "lib",
20
- "android",
21
- "ios",
22
- "cpp",
23
- "*.podspec",
24
- "index.js",
25
- "WeatherLayerManager.js",
26
- "GridRenderLayer.js",
27
- "!lib/typescript/example",
28
- "!**/__tests__",
29
- "!**/__fixtures__",
30
- "!**/__mocks__",
31
- "!lib/**/*.podspec",
32
- "!lib/**/*.swift",
33
- "!lib/**/*.mm",
34
- "!lib/**/*.h"
35
- ],
36
- "scripts": {
37
- "clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
38
- "build": "npm run clean && bob build",
39
- "prepare": "npm run build"
40
- },
41
- "peerDependencies": {
42
- "@rnmapbox/maps": "*",
43
- "react": "*",
44
- "react-native": "*",
45
- "react-native-device-info": ">=10.0.0"
46
- },
47
- "dependencies": {
48
- "@aguacerowx/javascript-sdk": "^0.0.8",
49
- "base64-js": "^1.5.1"
50
- },
51
- "devDependencies": {
52
- "react-native-builder-bob": "^0.23.2"
53
- },
54
- "react-native-builder-bob": {
55
- "source": ".",
56
- "output": "lib",
57
- "targets": [
58
- "commonjs",
59
- "module",
60
- [
61
- "typescript",
62
- {
63
- "project": "tsconfig.json"
64
- }
65
- ]
66
- ]
67
- },
68
- "codegenConfig": {
69
- "name": "AguaceroWxReactNativeSpec",
70
- "type": "all",
71
- "jsSrcsDir": "src"
72
- }
73
- }
1
+ {
2
+ "name": "@aguacerowx/react-native",
3
+ "version": "0.0.12",
4
+ "description": "Native weather rendering for React Native",
5
+ "license": "ISC",
6
+ "author": "Michael Barletta",
7
+ "keywords": [
8
+ "react-native",
9
+ "android",
10
+ "weather",
11
+ "map"
12
+ ],
13
+ "main": "lib/commonjs/index.js",
14
+ "module": "lib/module/index.js",
15
+ "types": "lib/typescript/index.d.ts",
16
+ "react-native": "index.js",
17
+ "source": "index.js",
18
+ "files": [
19
+ "src",
20
+ "index.js",
21
+ "lib",
22
+ "android",
23
+ "ios",
24
+ "cpp",
25
+ "*.podspec",
26
+ "ios/generated",
27
+ "android/src/main/java/com/facebook/react/viewmanagers"
28
+ ],
29
+ "scripts": {
30
+ "clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
31
+ "build": "npm run clean && bob build",
32
+ "prepare": "npm run build"
33
+ },
34
+ "devDependencies": {
35
+ "react-native-builder-bob": "^0.23.2",
36
+ "typescript": "^5.0.2"
37
+ },
38
+ "peerDependencies": {
39
+ "@rnmapbox/maps": "*",
40
+ "react": "*",
41
+ "react-native": "*",
42
+ "react-native-device-info": ">=10.0.0"
43
+ },
44
+ "dependencies": {
45
+ "@aguacerowx/javascript-sdk": "^0.0.9",
46
+ "base64-js": "^1.5.1"
47
+ },
48
+ "react-native-builder-bob": {
49
+ "source": ".",
50
+ "output": "lib",
51
+ "targets": [
52
+ "commonjs",
53
+ "module",
54
+ [
55
+ "typescript",
56
+ {
57
+ "project": "tsconfig.json"
58
+ }
59
+ ]
60
+ ]
61
+ },
62
+ "codegenConfig": {
63
+ "name": "AguaceroWxReactNativeSpec",
64
+ "type": "all",
65
+ "jsSourceDir": "src",
66
+ "outputDir": {
67
+ "ios": "ios/generated",
68
+ "android": "android/src/main/java/com/facebook/react/viewmanagers"
69
+ }
70
+ }
71
+ }
@@ -1 +1 @@
1
- {"version":3,"names":["module","exports","source","output","targets","project"],"sourceRoot":"..\\..","sources":["react-native-builder-bob.config.js"],"mappings":"AAAA;AACAA,MAAM,CAACC,OAAO,GAAG;EACfC,MAAM,EAAE,GAAG;EACXC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAE,CACP,UAAU,EACV,QAAQ;EACR;EACA,CAAC,YAAY,EAAE;IAAEC,OAAO,EAAE;EAAgB,CAAC,CAAC;AAEhD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["module","exports","source","output","targets","project"],"sourceRoot":"../..","sources":["react-native-builder-bob.config.js"],"mappings":"AAAA;AACAA,MAAM,CAACC,OAAO,GAAG;EACfC,MAAM,EAAE,GAAG;EACXC,MAAM,EAAE,KAAK;EACbC,OAAO,EAAE,CACP,UAAU,EACV,QAAQ;EACR;EACA,CAAC,YAAY,EAAE;IAAEC,OAAO,EAAE;EAAgB,CAAC,CAAC;AAEhD,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","AguaceroContext","createContext"],"sourceRoot":"..\\..\\..","sources":["src/AguaceroContext.js"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,OAAO,MAAMC,eAAe,gBAAGD,KAAK,CAACE,aAAa,CAAC,IAAI,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","AguaceroContext","createContext"],"sourceRoot":"../../..","sources":["src/AguaceroContext.js"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,OAAO,MAAMC,eAAe,gBAAGD,KAAK,CAACE,aAAa,CAAC,IAAI,CAAC","ignoreList":[]}
@@ -13,9 +13,6 @@ if (UIManager.getViewManagerConfig) {
13
13
  export const GridRenderLayer = /*#__PURE__*/forwardRef((props, ref) => {
14
14
  const nativeRef = useRef(null);
15
15
  useEffect(() => {
16
- console.log('🟢 [GridRenderLayer] Component mounted');
17
- console.log('🟢 [GridRenderLayer] Props:', JSON.stringify(props, null, 2));
18
- console.log('🟢 [GridRenderLayer] nativeRef.current:', nativeRef.current);
19
16
  if (nativeRef.current) {
20
17
  const handle = findNodeHandle(nativeRef.current);
21
18
  console.log('🟢 [GridRenderLayer] Native node handle:', handle);
@@ -78,14 +75,14 @@ export const GridRenderLayer = /*#__PURE__*/forwardRef((props, ref) => {
78
75
  console.warn('⚠️ [GridRenderLayer] nativeRef not available for updateColormapTexture');
79
76
  }
80
77
  },
81
- updateDataParameters: (scale, offset, missing) => {
78
+ updateDataParameters: (scale, offset, missing, scaleType) => {
79
+ // ADD scaleType parameter
82
80
  if (nativeRef.current) {
83
81
  const commandId = getCommandId('updateDataParameters');
84
82
  if (commandId != null) {
85
- UIManager.dispatchViewManagerCommand(findNodeHandle(nativeRef.current), commandId, [Number(scale), Number(offset), Number(missing)]);
83
+ UIManager.dispatchViewManagerCommand(findNodeHandle(nativeRef.current), commandId, [Number(scale), Number(offset), Number(missing), Number(scaleType)] // Pass 4 params
84
+ );
86
85
  }
87
- } else {
88
- console.warn('⚠️ [GridRenderLayer] nativeRef not available for updateDataParameters');
89
86
  }
90
87
  },
91
88
  setSmoothing: enabled => {
@@ -105,6 +102,34 @@ export const GridRenderLayer = /*#__PURE__*/forwardRef((props, ref) => {
105
102
  );
106
103
  }
107
104
  }
105
+ },
106
+ // IOS. Methods
107
+ // Primes the GPU cache with all frame data. Android will ignore this.
108
+ primeGpuCache: frameInfo => {
109
+ if (nativeRef.current) {
110
+ const commandId = getCommandId('primeGpuCache');
111
+ if (commandId != null) {
112
+ UIManager.dispatchViewManagerCommand(findNodeHandle(nativeRef.current), commandId, [frameInfo]);
113
+ }
114
+ }
115
+ },
116
+ // Sets the active frame from the cache. Android will ignore this.
117
+ setActiveFrame: cacheKey => {
118
+ if (nativeRef.current) {
119
+ const commandId = getCommandId('setActiveFrame');
120
+ if (commandId != null) {
121
+ UIManager.dispatchViewManagerCommand(findNodeHandle(nativeRef.current), commandId, [cacheKey]);
122
+ }
123
+ }
124
+ },
125
+ // Clears the GPU cache. Android will ignore this.
126
+ clearGpuCache: () => {
127
+ if (nativeRef.current) {
128
+ const commandId = getCommandId('clearGpuCache');
129
+ if (commandId != null) {
130
+ UIManager.dispatchViewManagerCommand(findNodeHandle(nativeRef.current), commandId, []);
131
+ }
132
+ }
108
133
  }
109
134
  }));
110
135
  return /*#__PURE__*/React.createElement(GridRenderView, {