@aguacerowx/react-native 0.0.17 → 0.0.19

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 (537) hide show
  1. package/README.md +126 -60
  2. package/aguacerowx-react-native.podspec +53 -35
  3. package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/results.bin +1 -0
  4. package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/transformed/classes/classes_dex/classes.dex +0 -0
  5. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/results.bin +1 -0
  6. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/AguaceroPackage.dex +0 -0
  7. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/BuildConfig.dex +0 -0
  8. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  9. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  10. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  11. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  12. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/InspectorModule.dex +0 -0
  13. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/ShaderUtils.dex +0 -0
  14. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  15. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.dex +0 -0
  16. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.dex +0 -0
  17. package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  18. package/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  19. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +43 -0
  20. package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +22 -0
  21. package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +22 -0
  22. package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +24 -0
  23. package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  24. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +17 -0
  25. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +19 -0
  26. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +22 -0
  27. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +24 -0
  28. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +16 -0
  29. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +23 -0
  30. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +62 -0
  31. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +40 -0
  32. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +17 -0
  33. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +32 -0
  34. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +16 -0
  35. package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +20 -0
  36. package/android/build/generated/source/codegen/schema.json +1 -0
  37. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  38. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  39. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  40. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  41. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  42. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  43. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  44. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  45. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  46. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  47. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  48. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  49. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  50. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  51. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  52. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  53. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  54. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  55. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  56. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  57. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  58. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  59. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  60. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  61. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  62. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  63. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  64. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  65. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  66. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  67. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  68. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  69. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  70. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  71. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +152 -0
  72. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  73. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  74. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  75. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  76. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  77. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  78. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  79. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  80. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  81. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  82. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  83. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  84. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  85. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  86. package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  87. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  88. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  89. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  90. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  91. package/android/build.gradle +107 -83
  92. package/android/src/main/AndroidManifest.xml +6 -6
  93. package/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  94. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +657 -611
  95. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -299
  96. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -117
  97. package/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  98. package/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  99. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  100. package/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  101. package/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  102. package/android/src/main/res/raw/fragment_shader.glsl +151 -97
  103. package/android/src/main/res/raw/vertex_shader.glsl +19 -19
  104. package/index.js +2 -2
  105. package/ios/AguaceroPackage.m +18 -18
  106. package/ios/FragmentUniforms.swift +14 -13
  107. package/ios/GridRenderLayer.swift +995 -962
  108. package/ios/GridRenderLayerBridge.swift +29 -29
  109. package/ios/GridRenderLayerManager.mm +157 -145
  110. package/ios/GridRenderLayerView.h +16 -22
  111. package/ios/GridRenderLayerView.m +205 -199
  112. package/ios/InspectorDataCache.swift +65 -65
  113. package/ios/InspectorModule.m +9 -9
  114. package/ios/InspectorModule.swift +63 -63
  115. package/ios/Shaders.metal +178 -130
  116. package/ios/WeatherFrameProcessorModule.m +15 -15
  117. package/ios/WeatherFrameProcessorModule.swift +103 -103
  118. package/ios/compiled-shaders/Shaders-device.metallib +0 -0
  119. package/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
  120. package/ios/compiled-shaders/Shaders.metallib +0 -0
  121. package/lib/commonjs/README.md +126 -60
  122. package/lib/commonjs/aguacerowx-react-native.podspec +53 -35
  123. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  124. package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +43 -0
  125. package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +22 -0
  126. package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +22 -0
  127. package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +24 -0
  128. package/lib/commonjs/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  129. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +17 -0
  130. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +19 -0
  131. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +22 -0
  132. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +24 -0
  133. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +16 -0
  134. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +23 -0
  135. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +62 -0
  136. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +40 -0
  137. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +17 -0
  138. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +32 -0
  139. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +16 -0
  140. package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +20 -0
  141. package/lib/commonjs/android/build/generated/source/codegen/schema.json +1 -0
  142. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  143. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  144. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  145. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  146. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  147. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  148. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  149. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  150. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  151. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  152. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  153. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  154. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  155. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  156. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  157. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  158. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  159. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  160. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  161. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  162. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  163. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  164. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  165. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  166. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  167. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  168. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  169. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  170. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  171. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  172. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  173. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  174. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  175. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  176. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +152 -0
  177. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  178. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  179. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  180. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  181. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  182. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  183. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  184. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  185. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  186. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  187. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  188. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  189. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  190. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  191. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  192. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  193. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  194. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  195. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  196. package/lib/commonjs/android/build.gradle +107 -83
  197. package/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  198. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  199. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +657 -611
  200. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -299
  201. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -117
  202. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  203. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  204. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  205. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  206. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  207. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +151 -97
  208. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +19 -19
  209. package/lib/commonjs/babel.config.js.map +1 -1
  210. package/lib/commonjs/index.js.map +1 -1
  211. package/lib/commonjs/ios/AguaceroPackage.m +18 -18
  212. package/lib/commonjs/ios/FragmentUniforms.swift +14 -13
  213. package/lib/commonjs/ios/GridRenderLayer.swift +995 -962
  214. package/lib/commonjs/ios/GridRenderLayerBridge.swift +29 -29
  215. package/lib/commonjs/ios/GridRenderLayerManager.mm +157 -145
  216. package/lib/commonjs/ios/GridRenderLayerView.h +16 -22
  217. package/lib/commonjs/ios/GridRenderLayerView.m +205 -199
  218. package/lib/commonjs/ios/InspectorDataCache.swift +65 -65
  219. package/lib/commonjs/ios/InspectorModule.m +9 -9
  220. package/lib/commonjs/ios/InspectorModule.swift +63 -63
  221. package/lib/commonjs/ios/Shaders.metal +178 -130
  222. package/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  223. package/lib/commonjs/ios/WeatherFrameProcessorModule.swift +103 -103
  224. package/lib/commonjs/ios/compiled-shaders/Shaders-device.metallib +0 -0
  225. package/lib/commonjs/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
  226. package/lib/commonjs/ios/compiled-shaders/Shaders.metallib +0 -0
  227. package/lib/commonjs/package.json +72 -67
  228. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  229. package/lib/commonjs/scripts/compile-shaders.js +62 -0
  230. package/lib/commonjs/scripts/compile-shaders.js.map +1 -0
  231. package/lib/commonjs/scripts/compile-shaders.sh +39 -0
  232. package/lib/commonjs/src/AguaceroContext.js.map +1 -1
  233. package/lib/commonjs/src/GridRenderLayer.js +8 -0
  234. package/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  235. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  236. package/lib/commonjs/src/MapManager.js.map +1 -1
  237. package/lib/commonjs/src/MapRegistry.js.map +1 -1
  238. package/lib/commonjs/src/StyleApplicator.js +6 -6
  239. package/lib/commonjs/src/StyleApplicator.js.map +1 -1
  240. package/lib/commonjs/src/WeatherLayerManager.js +26 -16
  241. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  242. package/lib/commonjs/tsconfig.json +23 -23
  243. package/lib/module/README.md +126 -60
  244. package/lib/module/aguacerowx-react-native.podspec +53 -35
  245. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  246. package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +43 -0
  247. package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +22 -0
  248. package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +22 -0
  249. package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +24 -0
  250. package/lib/module/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
  251. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +17 -0
  252. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +19 -0
  253. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +22 -0
  254. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +24 -0
  255. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +16 -0
  256. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +23 -0
  257. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +62 -0
  258. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +40 -0
  259. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +17 -0
  260. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +32 -0
  261. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +16 -0
  262. package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +20 -0
  263. package/lib/module/android/build/generated/source/codegen/schema.json +1 -0
  264. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  265. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  266. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  267. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  268. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  269. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  270. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  271. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  272. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  273. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  274. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  275. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  276. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  277. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  278. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  279. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  280. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  281. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  282. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  283. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  284. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  285. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  286. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  287. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  288. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  289. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  290. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  291. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  292. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  293. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  294. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  295. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  296. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  297. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  298. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +152 -0
  299. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  300. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  301. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  302. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  303. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  304. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  305. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  306. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  307. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  308. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  309. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
  310. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
  311. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  312. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  313. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  314. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
  315. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
  316. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  317. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  318. package/lib/module/android/build.gradle +107 -83
  319. package/lib/module/android/src/main/AndroidManifest.xml +6 -6
  320. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  321. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +657 -611
  322. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -299
  323. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -117
  324. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  325. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  326. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  327. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  328. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  329. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +151 -97
  330. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +19 -19
  331. package/lib/module/babel.config.js.map +1 -1
  332. package/lib/module/index.js.map +1 -1
  333. package/lib/module/ios/AguaceroPackage.m +18 -18
  334. package/lib/module/ios/FragmentUniforms.swift +14 -13
  335. package/lib/module/ios/GridRenderLayer.swift +995 -962
  336. package/lib/module/ios/GridRenderLayerBridge.swift +29 -29
  337. package/lib/module/ios/GridRenderLayerManager.mm +157 -145
  338. package/lib/module/ios/GridRenderLayerView.h +16 -22
  339. package/lib/module/ios/GridRenderLayerView.m +205 -199
  340. package/lib/module/ios/InspectorDataCache.swift +65 -65
  341. package/lib/module/ios/InspectorModule.m +9 -9
  342. package/lib/module/ios/InspectorModule.swift +63 -63
  343. package/lib/module/ios/Shaders.metal +178 -130
  344. package/lib/module/ios/WeatherFrameProcessorModule.m +15 -15
  345. package/lib/module/ios/WeatherFrameProcessorModule.swift +103 -103
  346. package/lib/module/ios/compiled-shaders/Shaders-device.metallib +0 -0
  347. package/lib/module/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
  348. package/lib/module/ios/compiled-shaders/Shaders.metallib +0 -0
  349. package/lib/module/lib/commonjs/README.md +126 -60
  350. package/lib/module/lib/commonjs/aguacerowx-react-native.podspec +53 -35
  351. package/lib/module/lib/commonjs/android/build.gradle +107 -83
  352. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  353. package/lib/module/lib/commonjs/babel.config.js.map +1 -1
  354. package/lib/module/lib/commonjs/index.js.map +1 -1
  355. package/lib/module/lib/commonjs/ios/AguaceroPackage.m +18 -18
  356. package/lib/module/lib/commonjs/ios/FragmentUniforms.swift +14 -13
  357. package/lib/module/lib/commonjs/ios/GridRenderLayer.swift +995 -962
  358. package/lib/module/lib/commonjs/ios/GridRenderLayerBridge.swift +29 -29
  359. package/lib/module/lib/commonjs/ios/GridRenderLayerManager.mm +157 -145
  360. package/lib/module/lib/commonjs/ios/GridRenderLayerView.h +16 -22
  361. package/lib/module/lib/commonjs/ios/GridRenderLayerView.m +205 -199
  362. package/lib/module/lib/commonjs/ios/InspectorDataCache.swift +65 -65
  363. package/lib/module/lib/commonjs/ios/InspectorModule.m +9 -9
  364. package/lib/module/lib/commonjs/ios/InspectorModule.swift +63 -63
  365. package/lib/module/lib/commonjs/ios/Shaders.metal +178 -130
  366. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  367. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.swift +103 -103
  368. package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-device.metallib +0 -0
  369. package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
  370. package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders.metallib +0 -0
  371. package/lib/module/lib/commonjs/package.json +72 -67
  372. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  373. package/lib/module/lib/commonjs/scripts/compile-shaders.js +62 -0
  374. package/lib/module/lib/commonjs/scripts/compile-shaders.js.map +1 -0
  375. package/lib/module/lib/commonjs/scripts/compile-shaders.sh +39 -0
  376. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -1
  377. package/lib/module/lib/commonjs/src/GridRenderLayer.js +8 -0
  378. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  379. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  380. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -1
  381. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -1
  382. package/lib/module/lib/commonjs/src/StyleApplicator.js +6 -6
  383. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -1
  384. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +26 -16
  385. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  386. package/lib/module/lib/commonjs/tsconfig.json +23 -23
  387. package/lib/module/package.json +72 -67
  388. package/lib/module/react-native-builder-bob.config.js.map +1 -1
  389. package/lib/module/scripts/compile-shaders.js +60 -0
  390. package/lib/module/scripts/compile-shaders.js.map +1 -0
  391. package/lib/module/scripts/compile-shaders.sh +39 -0
  392. package/lib/module/src/AguaceroContext.js.map +1 -1
  393. package/lib/module/src/GridRenderLayer.js +8 -0
  394. package/lib/module/src/GridRenderLayer.js.map +1 -1
  395. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -1
  396. package/lib/module/src/MapManager.js.map +1 -1
  397. package/lib/module/src/MapRegistry.js.map +1 -1
  398. package/lib/module/src/StyleApplicator.js +6 -6
  399. package/lib/module/src/StyleApplicator.js.map +1 -1
  400. package/lib/module/src/WeatherLayerManager.js +26 -16
  401. package/lib/module/src/WeatherLayerManager.js.map +1 -1
  402. package/lib/module/tsconfig.json +23 -23
  403. package/lib/typescript/scripts/compile-shaders.d.ts +3 -0
  404. package/lib/typescript/scripts/compile-shaders.d.ts.map +1 -0
  405. package/lib/typescript/src/GridRenderLayer.d.ts.map +1 -1
  406. package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -1
  407. package/package.json +72 -67
  408. package/src/AguaceroContext.js +3 -3
  409. package/src/GridRenderLayer.js +217 -204
  410. package/src/GridRenderLayerNativeComponent.ts +15 -15
  411. package/src/MapManager.js +155 -155
  412. package/src/MapRegistry.js +34 -34
  413. package/src/StyleApplicator.js +240 -240
  414. package/src/WeatherLayerManager.js +891 -872
  415. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +0 -1003
  416. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +0 -1
  417. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +0 -381
  418. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +0 -1
  419. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +0 -1229
  420. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +0 -1
  421. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +0 -4023
  422. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +0 -1
  423. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +0 -38
  424. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +0 -1
  425. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +0 -30
  426. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +0 -1
  427. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +0 -27
  428. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +0 -1
  429. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +0 -47
  430. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +0 -1
  431. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +0 -301
  432. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +0 -1
  433. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +0 -126
  434. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +0 -1
  435. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +0 -48
  436. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +0 -1029
  437. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +0 -1
  438. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +0 -381
  439. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +0 -1
  440. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +0 -1229
  441. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +0 -1
  442. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +0 -4023
  443. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +0 -1
  444. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +0 -38
  445. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +0 -1
  446. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +0 -30
  447. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +0 -1
  448. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +0 -27
  449. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +0 -1
  450. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +0 -41
  451. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +0 -1
  452. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +0 -301
  453. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +0 -1
  454. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +0 -126
  455. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +0 -1
  456. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +0 -1003
  457. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +0 -1
  458. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +0 -381
  459. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +0 -1
  460. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +0 -1229
  461. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +0 -1
  462. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +0 -4023
  463. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +0 -1
  464. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +0 -38
  465. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +0 -1
  466. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +0 -30
  467. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +0 -1
  468. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +0 -27
  469. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +0 -1
  470. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +0 -47
  471. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +0 -1
  472. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +0 -301
  473. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +0 -1
  474. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +0 -126
  475. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +0 -1
  476. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +0 -48
  477. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +0 -1033
  478. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +0 -1
  479. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +0 -381
  480. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +0 -1
  481. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +0 -1229
  482. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +0 -1
  483. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +0 -4023
  484. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +0 -1
  485. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +0 -38
  486. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +0 -1
  487. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +0 -30
  488. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +0 -1
  489. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +0 -27
  490. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +0 -1
  491. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +0 -41
  492. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +0 -1
  493. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +0 -301
  494. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +0 -1
  495. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +0 -126
  496. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +0 -1
  497. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +0 -1003
  498. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +0 -1
  499. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +0 -381
  500. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +0 -1
  501. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +0 -1229
  502. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +0 -1
  503. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +0 -4023
  504. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +0 -1
  505. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js +0 -38
  506. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +0 -1
  507. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +0 -30
  508. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +0 -1
  509. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +0 -27
  510. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +0 -1
  511. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js +0 -47
  512. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +0 -1
  513. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +0 -301
  514. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +0 -1
  515. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +0 -126
  516. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +0 -1
  517. package/lib/module/node_modules/@aguacerowx/javascript-sdk/package.json +0 -48
  518. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +0 -1021
  519. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +0 -1
  520. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +0 -375
  521. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +0 -1
  522. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +0 -1223
  523. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +0 -1
  524. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +0 -4017
  525. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +0 -1
  526. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js +0 -31
  527. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +0 -1
  528. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +0 -29
  529. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +0 -1
  530. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +0 -21
  531. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +0 -1
  532. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js +0 -12
  533. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +0 -1
  534. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +0 -295
  535. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +0 -1
  536. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +0 -119
  537. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +0 -1
@@ -1,104 +1,104 @@
1
- import Foundation
2
- import React
3
-
4
- @objc(WeatherFrameProcessorModule)
5
- class WeatherFrameProcessorModule: NSObject {
6
-
7
- private var currentRunToken = 0
8
- private let session = URLSession(configuration: .default)
9
-
10
- @objc(cancelAllFrames)
11
- func cancelAllFrames() {
12
- // Incrementing the token effectively cancels any in-flight tasks
13
- // as they will check their token against the new value upon completion.
14
- currentRunToken += 1
15
- }
16
-
17
- @objc(processFrame:resolver:rejecter:)
18
- func processFrame(options: [String: Any], resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
19
- let taskToken = self.currentRunToken
20
-
21
- guard let urlString = options["url"] as? String, let url = URL(string: urlString) else {
22
- reject("INVALID_URL", "The provided URL is not valid.", nil)
23
- return
24
- }
25
-
26
- let apiKey = options["apiKey"] as? String ?? ""
27
- let bundleId = options["bundleId"] as? String
28
-
29
- var request = URLRequest(url: url)
30
- request.setValue(apiKey, forHTTPHeaderField: "x-api-key")
31
- if let bundleId = bundleId {
32
- request.setValue(bundleId, forHTTPHeaderField: "x-app-identifier")
33
- }
34
-
35
- let task = session.dataTask(with: request) { data, response, error in
36
- if self.currentRunToken != taskToken {
37
- // Task was cancelled
38
- return
39
- }
40
-
41
- if let error = error {
42
- reject("NETWORK_ERROR", "Failed to fetch frame data: \(error.localizedDescription)", error)
43
- return
44
- }
45
-
46
- guard let httpResponse = response as? HTTPURLResponse, (200...299).contains(httpResponse.statusCode) else {
47
- let statusCode = (response as? HTTPURLResponse)?.statusCode ?? -1
48
- reject("HTTP_ERROR", "HTTP request failed with status code: \(statusCode)", nil)
49
- return
50
- }
51
-
52
- guard let data = data else {
53
- reject("NO_DATA", "The server returned no data.", nil)
54
- return
55
- }
56
-
57
- do {
58
- guard let jsonResponse = try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any],
59
- let b64CompressedData = jsonResponse["data"] as? String,
60
- let encoding = jsonResponse["encoding"] as? [String: Any],
61
- let scale = encoding["scale"] as? NSNumber,
62
- let offset = encoding["offset"] as? NSNumber,
63
- let missing = encoding["missing_quantized"] as? NSNumber else {
64
- reject("INVALID_RESPONSE", "The API response format was invalid.", nil)
65
- return
66
- }
67
-
68
- guard let compressedData = Data(base64Encoded: b64CompressedData) else {
69
- reject("DECODING_ERROR", "Failed to decode base64 data string.", nil)
70
- return
71
- }
72
-
73
- let cacheDir = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!
74
- let fileName = "frame_\(urlString.hashValue).zst"
75
- let dataFile = cacheDir.appendingPathComponent(fileName)
76
-
77
- try compressedData.write(to: dataFile)
78
-
79
- var responseMap: [String: Any] = [
80
- "filePath": dataFile.path,
81
- "scale": scale,
82
- "offset": offset,
83
- "missing": missing,
84
- "dataAsBase64": b64CompressedData // Pass this through for the initial load case
85
- ]
86
-
87
- if let scaleType = encoding["scale_type"] as? String {
88
- responseMap["scaleType"] = scaleType
89
- }
90
-
91
- resolve(responseMap)
92
-
93
- } catch {
94
- reject("PROCESSING_ERROR", "Failed to process the frame data: \(error.localizedDescription)", error)
95
- }
96
- }
97
- task.resume()
98
- }
99
-
100
- @objc
101
- static func requiresMainQueueSetup() -> Bool {
102
- return false
103
- }
1
+ import Foundation
2
+ import React
3
+
4
+ @objc(WeatherFrameProcessorModule)
5
+ class WeatherFrameProcessorModule: NSObject {
6
+
7
+ private var currentRunToken = 0
8
+ private let session = URLSession(configuration: .default)
9
+
10
+ @objc(cancelAllFrames)
11
+ func cancelAllFrames() {
12
+ // Incrementing the token effectively cancels any in-flight tasks
13
+ // as they will check their token against the new value upon completion.
14
+ currentRunToken += 1
15
+ }
16
+
17
+ @objc(processFrame:resolver:rejecter:)
18
+ func processFrame(options: [String: Any], resolve: @escaping RCTPromiseResolveBlock, reject: @escaping RCTPromiseRejectBlock) {
19
+ let taskToken = self.currentRunToken
20
+
21
+ guard let urlString = options["url"] as? String, let url = URL(string: urlString) else {
22
+ reject("INVALID_URL", "The provided URL is not valid.", nil)
23
+ return
24
+ }
25
+
26
+ let apiKey = options["apiKey"] as? String ?? ""
27
+ let bundleId = options["bundleId"] as? String
28
+
29
+ var request = URLRequest(url: url)
30
+ request.setValue(apiKey, forHTTPHeaderField: "x-api-key")
31
+ if let bundleId = bundleId {
32
+ request.setValue(bundleId, forHTTPHeaderField: "x-app-identifier")
33
+ }
34
+
35
+ let task = session.dataTask(with: request) { data, response, error in
36
+ if self.currentRunToken != taskToken {
37
+ // Task was cancelled
38
+ return
39
+ }
40
+
41
+ if let error = error {
42
+ reject("NETWORK_ERROR", "Failed to fetch frame data: \(error.localizedDescription)", error)
43
+ return
44
+ }
45
+
46
+ guard let httpResponse = response as? HTTPURLResponse, (200...299).contains(httpResponse.statusCode) else {
47
+ let statusCode = (response as? HTTPURLResponse)?.statusCode ?? -1
48
+ reject("HTTP_ERROR", "HTTP request failed with status code: \(statusCode)", nil)
49
+ return
50
+ }
51
+
52
+ guard let data = data else {
53
+ reject("NO_DATA", "The server returned no data.", nil)
54
+ return
55
+ }
56
+
57
+ do {
58
+ guard let jsonResponse = try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any],
59
+ let b64CompressedData = jsonResponse["data"] as? String,
60
+ let encoding = jsonResponse["encoding"] as? [String: Any],
61
+ let scale = encoding["scale"] as? NSNumber,
62
+ let offset = encoding["offset"] as? NSNumber,
63
+ let missing = encoding["missing_quantized"] as? NSNumber else {
64
+ reject("INVALID_RESPONSE", "The API response format was invalid.", nil)
65
+ return
66
+ }
67
+
68
+ guard let compressedData = Data(base64Encoded: b64CompressedData) else {
69
+ reject("DECODING_ERROR", "Failed to decode base64 data string.", nil)
70
+ return
71
+ }
72
+
73
+ let cacheDir = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!
74
+ let fileName = "frame_\(urlString.hashValue).zst"
75
+ let dataFile = cacheDir.appendingPathComponent(fileName)
76
+
77
+ try compressedData.write(to: dataFile)
78
+
79
+ var responseMap: [String: Any] = [
80
+ "filePath": dataFile.path,
81
+ "scale": scale,
82
+ "offset": offset,
83
+ "missing": missing,
84
+ "dataAsBase64": b64CompressedData // Pass this through for the initial load case
85
+ ]
86
+
87
+ if let scaleType = encoding["scale_type"] as? String {
88
+ responseMap["scaleType"] = scaleType
89
+ }
90
+
91
+ resolve(responseMap)
92
+
93
+ } catch {
94
+ reject("PROCESSING_ERROR", "Failed to process the frame data: \(error.localizedDescription)", error)
95
+ }
96
+ }
97
+ task.resume()
98
+ }
99
+
100
+ @objc
101
+ static func requiresMainQueueSetup() -> Bool {
102
+ return false
103
+ }
104
104
  }
@@ -1,67 +1,72 @@
1
- {
2
- "name": "@aguacerowx/react-native",
3
- "version": "0.0.17",
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": "components",
65
- "jsSrcsDir": "."
66
- }
67
- }
1
+ {
2
+ "name": "@aguacerowx/react-native",
3
+ "version": "0.0.19",
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
+ "ios/compiled-shaders",
28
+ "android/src/main/java/com/facebook/react/viewmanagers"
29
+ ],
30
+ "scripts": {
31
+ "compile-shaders": "node scripts/compile-shaders.js",
32
+ "clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
33
+ "build": "npm run compile-shaders && npm run clean && bob build",
34
+ "prepare": "npm run build"
35
+ },
36
+ "devDependencies": {
37
+ "react-native-builder-bob": "^0.23.2",
38
+ "typescript": "^5.0.2"
39
+ },
40
+ "peerDependencies": {
41
+ "@rnmapbox/maps": "*",
42
+ "react": "*",
43
+ "react-native": "*",
44
+ "react-native-device-info": ">=10.0.0"
45
+ },
46
+ "dependencies": {
47
+ "@aguacerowx/javascript-sdk": "^0.0.14",
48
+ "base64-js": "^1.5.1"
49
+ },
50
+ "react-native-builder-bob": {
51
+ "source": ".",
52
+ "output": "lib",
53
+ "targets": [
54
+ "commonjs",
55
+ "module",
56
+ [
57
+ "typescript",
58
+ {
59
+ "project": "tsconfig.json"
60
+ }
61
+ ]
62
+ ]
63
+ },
64
+ "codegenConfig": {
65
+ "name": "AguaceroWxReactNativeSpec",
66
+ "type": "components",
67
+ "jsSrcsDir": "src",
68
+ "android": {
69
+ "javaPackageName": "com.aguacerowx.reactnative"
70
+ }
71
+ }
72
+ }
@@ -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":[]}
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ const {
5
+ execSync
6
+ } = require('child_process');
7
+ const os = require('os');
8
+
9
+ // Check if we're on macOS
10
+ if (os.platform() !== 'darwin') {
11
+ console.log('⏭️ Skipping shader compilation (macOS only)');
12
+ process.exit(0);
13
+ }
14
+
15
+ // Check if xcrun is available
16
+ try {
17
+ execSync('which xcrun', {
18
+ stdio: 'ignore'
19
+ });
20
+ } catch (error) {
21
+ console.log('⚠️ xcrun not found. Skipping shader compilation.');
22
+ process.exit(0);
23
+ }
24
+ console.log('🔨 Compiling Metal shaders for all platforms...');
25
+ const SHADER_DIR = 'ios';
26
+ const OUTPUT_DIR = 'ios/compiled-shaders';
27
+ try {
28
+ // Create output directory
29
+ execSync(`mkdir -p "${OUTPUT_DIR}"`, {
30
+ stdio: 'inherit'
31
+ });
32
+
33
+ // Compile for iOS Device (arm64)
34
+ console.log(' 📱 Compiling for iOS device...');
35
+ execSync(`xcrun -sdk iphoneos metal -c "${SHADER_DIR}/Shaders.metal" -o "${OUTPUT_DIR}/Shaders-device.air"`, {
36
+ stdio: 'inherit'
37
+ });
38
+ execSync(`xcrun -sdk iphoneos metallib "${OUTPUT_DIR}/Shaders-device.air" -o "${OUTPUT_DIR}/Shaders-device.metallib"`, {
39
+ stdio: 'inherit'
40
+ });
41
+
42
+ // Compile for iOS Simulator (x86_64 + arm64)
43
+ console.log(' 💻 Compiling for iOS simulator...');
44
+ execSync(`xcrun -sdk iphonesimulator metal -c "${SHADER_DIR}/Shaders.metal" -o "${OUTPUT_DIR}/Shaders-simulator.air"`, {
45
+ stdio: 'inherit'
46
+ });
47
+ execSync(`xcrun -sdk iphonesimulator metallib "${OUTPUT_DIR}/Shaders-simulator.air" -o "${OUTPUT_DIR}/Shaders-simulator.metallib"`, {
48
+ stdio: 'inherit'
49
+ });
50
+
51
+ // Clean up intermediate files
52
+ execSync(`rm "${OUTPUT_DIR}"/*.air`, {
53
+ stdio: 'inherit'
54
+ });
55
+ console.log('✅ Metal shaders compiled:');
56
+ console.log(` - Device: ${OUTPUT_DIR}/Shaders-device.metallib`);
57
+ console.log(` - Simulator: ${OUTPUT_DIR}/Shaders-simulator.metallib`);
58
+ } catch (error) {
59
+ console.error('❌ Shader compilation failed:', error.message);
60
+ process.exit(1);
61
+ }
62
+ //# sourceMappingURL=compile-shaders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["execSync","require","os","platform","console","log","process","exit","stdio","error","SHADER_DIR","OUTPUT_DIR","message"],"sourceRoot":"..\\..\\..","sources":["scripts/compile-shaders.js"],"mappings":"AAAA;AAAmB;;AAEnB,MAAM;EAAEA;AAAS,CAAC,GAAGC,OAAO,CAAC,eAAe,CAAC;AAC7C,MAAMC,EAAE,GAAGD,OAAO,CAAC,IAAI,CAAC;;AAExB;AACA,IAAIC,EAAE,CAACC,QAAQ,CAAC,CAAC,KAAK,QAAQ,EAAE;EAC5BC,OAAO,CAACC,GAAG,CAAC,8CAA8C,CAAC;EAC3DC,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;AACnB;;AAEA;AACA,IAAI;EACAP,QAAQ,CAAC,aAAa,EAAE;IAAEQ,KAAK,EAAE;EAAS,CAAC,CAAC;AAChD,CAAC,CAAC,OAAOC,KAAK,EAAE;EACZL,OAAO,CAACC,GAAG,CAAC,mDAAmD,CAAC;EAChEC,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;AACnB;AAEAH,OAAO,CAACC,GAAG,CAAC,iDAAiD,CAAC;AAE9D,MAAMK,UAAU,GAAG,KAAK;AACxB,MAAMC,UAAU,GAAG,sBAAsB;AAEzC,IAAI;EACA;EACAX,QAAQ,CAAC,aAAaW,UAAU,GAAG,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;;EAE1D;EACAJ,OAAO,CAACC,GAAG,CAAC,kCAAkC,CAAC;EAC/CL,QAAQ,CAAC,iCAAiCU,UAAU,uBAAuBC,UAAU,sBAAsB,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;EAClIR,QAAQ,CAAC,iCAAiCW,UAAU,4BAA4BA,UAAU,2BAA2B,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;;EAE5I;EACAJ,OAAO,CAACC,GAAG,CAAC,qCAAqC,CAAC;EAClDL,QAAQ,CAAC,wCAAwCU,UAAU,uBAAuBC,UAAU,yBAAyB,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;EAC5IR,QAAQ,CAAC,wCAAwCW,UAAU,+BAA+BA,UAAU,8BAA8B,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;;EAEzJ;EACAR,QAAQ,CAAC,OAAOW,UAAU,SAAS,EAAE;IAAEH,KAAK,EAAE;EAAU,CAAC,CAAC;EAE1DJ,OAAO,CAACC,GAAG,CAAC,2BAA2B,CAAC;EACxCD,OAAO,CAACC,GAAG,CAAC,gBAAgBM,UAAU,0BAA0B,CAAC;EACjEP,OAAO,CAACC,GAAG,CAAC,mBAAmBM,UAAU,6BAA6B,CAAC;AAC3E,CAAC,CAAC,OAAOF,KAAK,EAAE;EACZL,OAAO,CAACK,KAAK,CAAC,8BAA8B,EAAEA,KAAK,CAACG,OAAO,CAAC;EAC5DN,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;AACnB","ignoreList":[]}
@@ -0,0 +1,39 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # Check if we're on macOS (Darwin)
5
+ if [[ "$OSTYPE" != "darwin"* ]]; then
6
+ echo "⏭️ Skipping shader compilation (macOS only, current OS: $OSTYPE)"
7
+ exit 0
8
+ fi
9
+
10
+ # Check if xcrun is available
11
+ if ! command -v xcrun &> /dev/null; then
12
+ echo "⚠️ xcrun not found. Skipping shader compilation."
13
+ exit 0
14
+ fi
15
+
16
+ echo "🔨 Compiling Metal shaders for all platforms..."
17
+
18
+ SHADER_DIR="ios"
19
+ OUTPUT_DIR="ios/compiled-shaders"
20
+
21
+ # Create output directory
22
+ mkdir -p "$OUTPUT_DIR"
23
+
24
+ # Compile for iOS Device (arm64)
25
+ echo " 📱 Compiling for iOS device..."
26
+ xcrun -sdk iphoneos metal -c "$SHADER_DIR/Shaders.metal" -o "$OUTPUT_DIR/Shaders-device.air"
27
+ xcrun -sdk iphoneos metallib "$OUTPUT_DIR/Shaders-device.air" -o "$OUTPUT_DIR/Shaders-device.metallib"
28
+
29
+ # Compile for iOS Simulator (x86_64 + arm64)
30
+ echo " 💻 Compiling for iOS simulator..."
31
+ xcrun -sdk iphonesimulator metal -c "$SHADER_DIR/Shaders.metal" -o "$OUTPUT_DIR/Shaders-simulator.air"
32
+ xcrun -sdk iphonesimulator metallib "$OUTPUT_DIR/Shaders-simulator.air" -o "$OUTPUT_DIR/Shaders-simulator.metallib"
33
+
34
+ # Clean up intermediate files
35
+ rm "$OUTPUT_DIR"/*.air
36
+
37
+ echo "✅ Metal shaders compiled:"
38
+ echo " - Device: $OUTPUT_DIR/Shaders-device.metallib"
39
+ echo " - Simulator: $OUTPUT_DIR/Shaders-simulator.metallib"
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","AguaceroContext","exports","React","createContext"],"sourceRoot":"../../..","sources":["src/AguaceroContext.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1B;AACO,MAAMG,eAAe,GAAAC,OAAA,CAAAD,eAAA,gBAAGE,cAAK,CAACC,aAAa,CAAC,IAAI,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","AguaceroContext","exports","React","createContext"],"sourceRoot":"..\\..\\..","sources":["src/AguaceroContext.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1B;AACO,MAAMG,eAAe,GAAAC,OAAA,CAAAD,eAAA,gBAAGE,cAAK,CAACC,aAAa,CAAC,IAAI,CAAC","ignoreList":[]}
@@ -75,6 +75,14 @@ const GridRenderLayer = exports.GridRenderLayer = /*#__PURE__*/(0, _react.forwar
75
75
  console.warn('⚠️ [GridRenderLayer] nativeRef not available for updateGeometry');
76
76
  }
77
77
  },
78
+ setVariable: variableName => {
79
+ if (nativeRef.current) {
80
+ const commandId = getCommandId('setVariable');
81
+ if (commandId != null) {
82
+ _reactNative.UIManager.dispatchViewManagerCommand((0, _reactNative.findNodeHandle)(nativeRef.current), commandId, [variableName]);
83
+ }
84
+ }
85
+ },
78
86
  updateDataTextureFromFile: (filePath, nx, ny, scale, offset, missing, scaleType) => {
79
87
  if (nativeRef.current) {
80
88
  const commandId = getCommandId('updateDataTexture');
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_GridRenderLayerNativeComponent","_interopRequireDefault","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","NATIVE_COMPONENT_NAME","UIManager","getViewManagerConfig","allComponents","keys","filter","key","startsWith","console","log","slice","GridRenderLayer","exports","forwardRef","props","ref","nativeRef","useRef","useEffect","current","handle","findNodeHandle","getCommandId","commandName","config","commandId","Commands","error","useImperativeHandle","updateGeometry","corners","gridDef","dispatchViewManagerCommand","warn","updateDataTextureFromFile","filePath","nx","ny","scale","offset","missing","scaleType","Number","updateDataTexture","base64Data","updateColormapTexture","colormapArray","updateDataParameters","setSmoothing","enabled","setNativeProps","smoothing","clear","primeGpuCache","frameInfo","setActiveFrame","cacheKey","clearGpuCache","createElement","opacity","dataRange","belowID","style","styles","overlay","pointerEvents","StyleSheet","create","absoluteFillObject"],"sourceRoot":"../../..","sources":["src/GridRenderLayer.js"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,+BAAA,GAAAC,sBAAA,CAAAH,OAAA;AAA8D,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAA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G,OAAO,EAAE;QACpB,MAAMM,SAAS,GAAGH,YAAY,CAAC,eAAe,CAAC;QAC/C,IAAIG,SAAS,IAAI,IAAI,EAAE;UACnBxB,sBAAS,CAAC+B,0BAA0B,CAChC,IAAAX,2BAAc,EAACL,SAAS,CAACG,OAAO,CAAC,EACjCM,SAAS,EACT,EACJ,CAAC;QACL;MACJ;IACJ;EAEJ,CAAC,CAAC,CAAC;EAEH,oBACIlD,MAAA,CAAAQ,OAAA,CAAA2E,aAAA,CAAC/E,+BAAA,CAAAI,OAAc;IACXgC,GAAG,EAAEC,SAAU;IACf2C,OAAO,EAAE7C,KAAK,CAAC6C,OAAQ;IACvBC,SAAS,EAAE9C,KAAK,CAAC8C,SAAU;IAC3BC,OAAO,EAAE/C,KAAK,CAAC+C,OAAQ;IACvBV,SAAS,EAAE,IAAK;IAChBW,KAAK,EAAEC,MAAM,CAACC,OAAQ;IACtBC,aAAa,EAAC;EAAM,CACvB,CAAC;AAEV,CAAC,CAAC;AAEF,MAAMF,MAAM,GAAGG,uBAAU,CAACC,MAAM,CAAC;EAC7BH,OAAO,EAAE;IACL,GAAGE,uBAAU,CAACE;EAClB;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_GridRenderLayerNativeComponent","_interopRequireDefault","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","NATIVE_COMPONENT_NAME","UIManager","getViewManagerConfig","allComponents","keys","filter","key","startsWith","console","log","slice","GridRenderLayer","exports","forwardRef","props","ref","nativeRef","useRef","useEffect","current","handle","findNodeHandle","getCommandId","commandName","config","commandId","Commands","error","useImperativeHandle","updateGeometry","corners","gridDef","dispatchViewManagerCommand","warn","setVariable","variableName","updateDataTextureFromFile","filePath","nx","ny","scale","offset","missing","scaleType","Number","updateDataTexture","base64Data","updateColormapTexture","colormapArray","updateDataParameters","setSmoothing","enabled","setNativeProps","smoothing","clear","primeGpuCache","frameInfo","setActiveFrame","cacheKey","clearGpuCache","createElement","opacity","dataRange","belowID","style","styles","overlay","pointerEvents","StyleSheet","create","absoluteFillObject"],"sourceRoot":"..\\..\\..","sources":["src/GridRenderLayer.js"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,+BAAA,GAAAC,sBAAA,CAAAH,OAAA;AAA8D,SAAAG,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,CAAAK,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAAO,CAAA,CAAAM,GAAA,CAAAb,CAAA,EAAAS,CAAA,gBAAAN,CAAA,IAAAH,CAAA,gBAAAG,CAAA,OAAAW,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAG,CAAA,OAAAK,CAAA,IAAAD,CAAA,GAAAS,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAG,CAAA,OAAAK,CAAA,CAAAI,GAAA,IAAAJ,CAAA,CAAAK,GAAA,IAAAN,CAAA,CAAAE,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,MAAM,CAACC,OAAQ;IACtBC,aAAa,EAAC;EAAM,CACvB,CAAC;AAEV,CAAC,CAAC;AAEF,MAAMF,MAAM,GAAGG,uBAAU,CAACC,MAAM,CAAC;EAC7BH,OAAO,EAAE;IACL,GAAGE,uBAAU,CAACE;EAClB;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"../../..","sources":["src/GridRenderLayerNativeComponent.ts"],"mappings":";;;;;;AAIA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJ7F;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAae,IAAAG,+BAAsB,EACnC,iBACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"..\\..\\..","sources":["src/GridRenderLayerNativeComponent.ts"],"mappings":";;;;;;AAIA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAJ7F;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAae,IAAAG,+BAAsB,EACnC,iBACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_maps","_interopRequireDefault","_javascriptSdk","_StyleApplicator","_AguaceroContext","_MapRegistry","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TERRAIN_LAYER_ID","isObject","item","Array","isArray","deepMerge","target","source","output","keys","forEach","key","assign","MapManager","mapboxToken","customStyles","theme","mapOptions","children","mapRef","useRef","mapStyle","setMapStyle","useState","useEffect","current","mapRegistry","setMap","console","log","contextValue","useMemo","getMap","getCenter","_currentCenter","lightTheme","JSON","parse","stringify","THEME_CONFIGS","light","darkTheme","dark","Mapbox","setAccessToken","error","createElement","View","style","styles","container","centerContent","Text","errorText","errorSubText","handleCameraChange","event","properties","center","notifyCameraChange","BASE_STYLE_URL","AguaceroContext","Provider","value","MapView","ref","map","styleURL","scaleBarEnabled","onCameraChanged","Camera","defaultSettings","centerCoordinate","zoomLevel","pitch","bearing","minZoomLevel","minZoom","maxZoomLevel","maxZoom","StyleApplicator","VectorSource","id","url","exports","StyleSheet","create","flex","backgroundColor","justifyContent","alignItems","color","fontSize","fontWeight","marginTop"],"sourceRoot":"../../..","sources":["src/MapManager.js"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAA4C,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAS,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAA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D,UAAU,CAAC8D,OAAO,IAAI;IACxC;EAAE,CACL,CAAC,EAED1D,QAAQ,iBAAIlD,MAAA,CAAAY,OAAA,CAAA+D,aAAA,CAACpE,gBAAA,CAAAsG,eAAe;IAAC/B,MAAM,EAAE5B;EAAS,CAAE,CAAC,eAElDlD,MAAA,CAAAY,OAAA,CAAA+D,aAAA,CAACvE,KAAA,CAAAQ,OAAM,CAACkG,YAAY;IAACC,EAAE,EAAC,YAAY;IAACC,GAAG,EAAC;EAAuC,CAAC,CAAC,EACjFjE,QACW,CACM,CACxB,CAAC;AAEf,CAAC;AAACkE,OAAA,CAAAvE,UAAA,GAAAA,UAAA;AAEF,MAAMoC,MAAM,GAAGoC,uBAAU,CAACC,MAAM,CAAC;EAC7BpC,SAAS,EAAE;IACPqC,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE;EACrB,CAAC;EACDrC,aAAa,EAAE;IACXsC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EAChB,CAAC;EACDxB,GAAG,EAAE;IACDqB,IAAI,EAAE;EACV,CAAC;EACDlC,SAAS,EAAE;IACPsC,KAAK,EAAE,SAAS;IAChBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EAChB,CAAC;EACDvC,YAAY,EAAE;IACVqC,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZE,SAAS,EAAE;EACf;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_maps","_interopRequireDefault","_javascriptSdk","_StyleApplicator","_AguaceroContext","_MapRegistry","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TERRAIN_LAYER_ID","isObject","item","Array","isArray","deepMerge","target","source","output","keys","forEach","key","assign","MapManager","mapboxToken","customStyles","theme","mapOptions","children","mapRef","useRef","mapStyle","setMapStyle","useState","useEffect","current","mapRegistry","setMap","console","log","contextValue","useMemo","getMap","getCenter","_currentCenter","lightTheme","JSON","parse","stringify","THEME_CONFIGS","light","darkTheme","dark","Mapbox","setAccessToken","error","createElement","View","style","styles","container","centerContent","Text","errorText","errorSubText","handleCameraChange","event","properties","center","notifyCameraChange","BASE_STYLE_URL","AguaceroContext","Provider","value","MapView","ref","map","styleURL","scaleBarEnabled","onCameraChanged","Camera","defaultSettings","centerCoordinate","zoomLevel","pitch","bearing","minZoomLevel","minZoom","maxZoomLevel","maxZoom","StyleApplicator","VectorSource","id","url","exports","StyleSheet","create","flex","backgroundColor","justifyContent","alignItems","color","fontSize","fontWeight","marginTop"],"sourceRoot":"..\\..\\..","sources":["src/MapManager.js"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAA4C,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAS,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI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AAC/B,MAAM,EAAE5B;EAAS,CAAE,CAAC,eAElDlD,MAAA,CAAAY,OAAA,CAAA+D,aAAA,CAACvE,KAAA,CAAAQ,OAAM,CAACkG,YAAY;IAACC,EAAE,EAAC,YAAY;IAACC,GAAG,EAAC;EAAuC,CAAC,CAAC,EACjFjE,QACW,CACM,CACxB,CAAC;AAEf,CAAC;AAACkE,OAAA,CAAAvE,UAAA,GAAAA,UAAA;AAEF,MAAMoC,MAAM,GAAGoC,uBAAU,CAACC,MAAM,CAAC;EAC7BpC,SAAS,EAAE;IACPqC,IAAI,EAAE,CAAC;IACPC,eAAe,EAAE;EACrB,CAAC;EACDrC,aAAa,EAAE;IACXsC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EAChB,CAAC;EACDxB,GAAG,EAAE;IACDqB,IAAI,EAAE;EACV,CAAC;EACDlC,SAAS,EAAE;IACPsC,KAAK,EAAE,SAAS;IAChBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EAChB,CAAC;EACDvC,YAAY,EAAE;IACVqC,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZE,SAAS,EAAE;EACf;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["MapRegistry","constructor","mapRef","listeners","setMap","console","log","getMap","addCameraListener","listener","push","length","removeCameraListener","index","indexOf","splice","notifyCameraChange","center","forEach","mapRegistry","exports"],"sourceRoot":"../../..","sources":["src/MapRegistry.js"],"mappings":";;;;;;AAAA;AACA,MAAMA,WAAW,CAAC;EACdC,WAAWA,CAAA,EAAG;IACV,IAAI,CAACC,MAAM,GAAG,IAAI;IAClB,IAAI,CAACC,SAAS,GAAG,EAAE;EACvB;EAEAC,MAAMA,CAACF,MAAM,EAAE;IACXG,OAAO,CAACC,GAAG,CAAC,kCAAkC,EAAE,CAAC,CAACJ,MAAM,CAAC;IACzD,IAAI,CAACA,MAAM,GAAGA,MAAM;EACxB;EAEAK,MAAMA,CAAA,EAAG;IACL,OAAO,IAAI,CAACL,MAAM;EACtB;EAEAM,iBAAiBA,CAACC,QAAQ,EAAE;IACxB,IAAI,CAACN,SAAS,CAACO,IAAI,CAACD,QAAQ,CAAC;IAC7BJ,OAAO,CAACC,GAAG,CAAC,yCAAyC,EAAE,IAAI,CAACH,SAAS,CAACQ,MAAM,CAAC;EACjF;EAEAC,oBAAoBA,CAACH,QAAQ,EAAE;IAC3B,MAAMI,KAAK,GAAG,IAAI,CAACV,SAAS,CAACW,OAAO,CAACL,QAAQ,CAAC;IAC9C,IAAII,KAAK,GAAG,CAAC,CAAC,EAAE;MACZ,IAAI,CAACV,SAAS,CAACY,MAAM,CAACF,KAAK,EAAE,CAAC,CAAC;MAC/BR,OAAO,CAACC,GAAG,CAAC,2CAA2C,EAAE,IAAI,CAACH,SAAS,CAACQ,MAAM,CAAC;IACnF;EACJ;EAEAK,kBAAkBA,CAACC,MAAM,EAAE;IACvB,IAAI,CAACd,SAAS,CAACe,OAAO,CAACT,QAAQ,IAAIA,QAAQ,CAACQ,MAAM,CAAC,CAAC;EACxD;AACJ;AAEO,MAAME,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,IAAInB,WAAW,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["MapRegistry","constructor","mapRef","listeners","setMap","console","log","getMap","addCameraListener","listener","push","length","removeCameraListener","index","indexOf","splice","notifyCameraChange","center","forEach","mapRegistry","exports"],"sourceRoot":"..\\..\\..","sources":["src/MapRegistry.js"],"mappings":";;;;;;AAAA;AACA,MAAMA,WAAW,CAAC;EACdC,WAAWA,CAAA,EAAG;IACV,IAAI,CAACC,MAAM,GAAG,IAAI;IAClB,IAAI,CAACC,SAAS,GAAG,EAAE;EACvB;EAEAC,MAAMA,CAACF,MAAM,EAAE;IACXG,OAAO,CAACC,GAAG,CAAC,kCAAkC,EAAE,CAAC,CAACJ,MAAM,CAAC;IACzD,IAAI,CAACA,MAAM,GAAGA,MAAM;EACxB;EAEAK,MAAMA,CAAA,EAAG;IACL,OAAO,IAAI,CAACL,MAAM;EACtB;EAEAM,iBAAiBA,CAACC,QAAQ,EAAE;IACxB,IAAI,CAACN,SAAS,CAACO,IAAI,CAACD,QAAQ,CAAC;IAC7BJ,OAAO,CAACC,GAAG,CAAC,yCAAyC,EAAE,IAAI,CAACH,SAAS,CAACQ,MAAM,CAAC;EACjF;EAEAC,oBAAoBA,CAACH,QAAQ,EAAE;IAC3B,MAAMI,KAAK,GAAG,IAAI,CAACV,SAAS,CAACW,OAAO,CAACL,QAAQ,CAAC;IAC9C,IAAII,KAAK,GAAG,CAAC,CAAC,EAAE;MACZ,IAAI,CAACV,SAAS,CAACY,MAAM,CAACF,KAAK,EAAE,CAAC,CAAC;MAC/BR,OAAO,CAACC,GAAG,CAAC,2CAA2C,EAAE,IAAI,CAACH,SAAS,CAACQ,MAAM,CAAC;IACnF;EACJ;EAEAK,kBAAkBA,CAACC,MAAM,EAAE;IACvB,IAAI,CAACd,SAAS,CAACe,OAAO,CAACT,QAAQ,IAAIA,QAAQ,CAACQ,MAAM,CAAC,CAAC;EACxD;AACJ;AAEO,MAAME,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,IAAInB,WAAW,CAAC,CAAC","ignoreList":[]}
@@ -78,9 +78,9 @@ const STYLE_LAYER_MAP = {
78
78
  }
79
79
  };
80
80
 
81
- /**
82
- * A utility to sanitize 8-digit hex colors (#rrggbbaa) to 6-digit hex (#rrggbb)
83
- * as required by some Mapbox properties.
81
+ /**
82
+ * A utility to sanitize 8-digit hex colors (#rrggbbaa) to 6-digit hex (#rrggbb)
83
+ * as required by some Mapbox properties.
84
84
  */
85
85
  function sanitizeColor(color) {
86
86
  if (typeof color === 'string' && color.startsWith('#') && color.length === 9) {
@@ -89,9 +89,9 @@ function sanitizeColor(color) {
89
89
  return color;
90
90
  }
91
91
 
92
- /**
93
- * Renders a set of Mapbox layers with styles derived from a theme object.
94
- * This is the declarative, React Native equivalent of `applyStyleCustomizations`.
92
+ /**
93
+ * Renders a set of Mapbox layers with styles derived from a theme object.
94
+ * This is the declarative, React Native equivalent of `applyStyleCustomizations`.
95
95
  */
96
96
  const StyleApplicator = ({
97
97
  styles