@aguacerowx/react-native 0.0.4 → 0.0.7

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 (264) hide show
  1. package/README.md +51 -6
  2. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/transformed/classes/classes_dex/classes.dex +0 -0
  3. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  4. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  5. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  6. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  7. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  8. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  9. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  10. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  11. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
  12. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  13. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  14. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  15. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  16. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  17. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +13 -2
  18. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  19. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  20. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  21. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  22. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  23. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  24. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  25. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  26. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  27. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  28. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  29. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +21 -52
  30. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +13 -2
  31. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +21 -14
  32. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +15 -0
  33. package/android/src/main/res/raw/fragment_shader.glsl +13 -2
  34. package/ios/GridRenderLayer.swift +62 -0
  35. package/ios/GridRenderLayerManager.mm +140 -0
  36. package/ios/aguacerowx-react-native.podspec +29 -0
  37. package/lib/commonjs/README.md +61 -0
  38. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  39. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  40. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  41. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  42. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  43. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  44. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  45. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  46. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  47. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  48. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  49. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  50. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  51. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  52. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  53. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  54. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  55. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  56. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  57. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  58. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  59. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  60. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  61. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  62. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  63. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  64. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  65. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  66. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  67. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  68. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  69. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  70. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  71. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +98 -0
  72. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  73. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  74. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  75. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  76. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  77. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  78. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  79. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  80. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  81. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  82. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  83. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  84. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  85. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  86. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  87. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  88. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  89. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  90. package/lib/commonjs/android/build.gradle +85 -0
  91. package/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
  92. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
  93. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +608 -0
  94. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +298 -0
  95. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +118 -0
  96. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
  97. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
  98. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
  99. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
  100. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
  101. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +98 -0
  102. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +20 -0
  103. package/lib/commonjs/babel.config.js +7 -0
  104. package/lib/commonjs/babel.config.js.map +1 -0
  105. package/lib/commonjs/index.js +20 -0
  106. package/lib/commonjs/index.js.map +1 -0
  107. package/lib/commonjs/package.json +73 -0
  108. package/lib/commonjs/react-native-builder-bob.config.js +13 -0
  109. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
  110. package/lib/commonjs/src/AguaceroContext.js +11 -0
  111. package/lib/commonjs/src/AguaceroContext.js.map +1 -0
  112. package/lib/commonjs/src/GridRenderLayer.js +132 -0
  113. package/lib/commonjs/src/GridRenderLayer.js.map +1 -0
  114. package/lib/commonjs/src/GridRenderLayerNativeComponent.js +11 -0
  115. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
  116. package/lib/commonjs/src/MapManager.js +164 -0
  117. package/lib/commonjs/src/MapManager.js.map +1 -0
  118. package/lib/commonjs/src/MapRegistry.js +36 -0
  119. package/lib/commonjs/src/MapRegistry.js.map +1 -0
  120. package/lib/commonjs/src/StyleApplicator.js +262 -0
  121. package/lib/commonjs/src/StyleApplicator.js.map +1 -0
  122. package/lib/commonjs/src/WeatherLayerManager.js +782 -0
  123. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
  124. package/lib/commonjs/tsconfig.json +24 -0
  125. package/lib/module/README.md +61 -0
  126. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
  127. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
  128. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
  129. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
  130. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
  131. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  132. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  133. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
  134. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  135. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  136. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  137. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  138. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
  139. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  140. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
  141. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  142. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  143. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  144. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  145. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  146. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  147. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  148. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  149. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  150. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  151. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  152. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
  153. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
  154. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
  155. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
  156. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
  157. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
  158. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
  159. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +98 -0
  160. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
  161. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  162. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  163. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  164. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  165. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  166. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  167. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  168. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  169. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  170. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  171. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
  172. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  173. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  174. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  175. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  176. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  177. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  178. package/lib/module/android/build.gradle +85 -0
  179. package/lib/module/android/src/main/AndroidManifest.xml +7 -0
  180. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
  181. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +608 -0
  182. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +298 -0
  183. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +118 -0
  184. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
  185. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
  186. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
  187. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
  188. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
  189. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +98 -0
  190. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +20 -0
  191. package/lib/module/babel.config.js +5 -0
  192. package/lib/module/babel.config.js.map +1 -0
  193. package/lib/module/index.js +3 -0
  194. package/lib/module/index.js.map +1 -0
  195. package/lib/module/lib/commonjs/README.md +61 -0
  196. package/lib/module/lib/commonjs/android/build.gradle +85 -0
  197. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
  198. package/lib/module/lib/commonjs/babel.config.js +7 -0
  199. package/lib/module/lib/commonjs/babel.config.js.map +1 -0
  200. package/lib/module/lib/commonjs/index.js +20 -0
  201. package/lib/module/lib/commonjs/index.js.map +1 -0
  202. package/lib/module/lib/commonjs/package.json +73 -0
  203. package/lib/module/lib/commonjs/react-native-builder-bob.config.js +13 -0
  204. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
  205. package/lib/module/lib/commonjs/src/AguaceroContext.js +15 -0
  206. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -0
  207. package/lib/module/lib/commonjs/src/GridRenderLayer.js +155 -0
  208. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -0
  209. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js +15 -0
  210. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
  211. package/lib/module/lib/commonjs/src/MapManager.js +187 -0
  212. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -0
  213. package/lib/module/lib/commonjs/src/MapRegistry.js +36 -0
  214. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -0
  215. package/lib/module/lib/commonjs/src/StyleApplicator.js +286 -0
  216. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -0
  217. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +801 -0
  218. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
  219. package/lib/module/lib/commonjs/tsconfig.json +24 -0
  220. package/lib/module/package.json +73 -0
  221. package/lib/module/react-native-builder-bob.config.js +11 -0
  222. package/lib/module/react-native-builder-bob.config.js.map +1 -0
  223. package/lib/module/src/AguaceroContext.js +5 -0
  224. package/lib/module/src/AguaceroContext.js.map +1 -0
  225. package/lib/module/src/GridRenderLayer.js +125 -0
  226. package/lib/module/src/GridRenderLayer.js.map +1 -0
  227. package/lib/module/src/GridRenderLayerNativeComponent.js +5 -0
  228. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -0
  229. package/lib/module/src/MapManager.js +155 -0
  230. package/lib/module/src/MapManager.js.map +1 -0
  231. package/lib/module/src/MapRegistry.js +30 -0
  232. package/lib/module/src/MapRegistry.js.map +1 -0
  233. package/lib/module/src/StyleApplicator.js +255 -0
  234. package/lib/module/src/StyleApplicator.js.map +1 -0
  235. package/lib/module/src/WeatherLayerManager.js +775 -0
  236. package/lib/module/src/WeatherLayerManager.js.map +1 -0
  237. package/lib/module/tsconfig.json +24 -0
  238. package/lib/typescript/babel.config.d.ts +3 -0
  239. package/lib/typescript/babel.config.d.ts.map +1 -0
  240. package/lib/typescript/index.d.ts +3 -0
  241. package/lib/typescript/index.d.ts.map +1 -0
  242. package/lib/typescript/react-native-builder-bob.config.d.ts +6 -0
  243. package/lib/typescript/react-native-builder-bob.config.d.ts.map +1 -0
  244. package/lib/typescript/src/AguaceroContext.d.ts +2 -0
  245. package/lib/typescript/src/AguaceroContext.d.ts.map +1 -0
  246. package/lib/typescript/src/GridRenderLayer.d.ts +2 -0
  247. package/lib/typescript/src/GridRenderLayer.d.ts.map +1 -0
  248. package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts +12 -0
  249. package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts.map +1 -0
  250. package/lib/typescript/src/MapManager.d.ts +8 -0
  251. package/lib/typescript/src/MapManager.d.ts.map +1 -0
  252. package/lib/typescript/src/MapRegistry.d.ts +12 -0
  253. package/lib/typescript/src/MapRegistry.d.ts.map +1 -0
  254. package/lib/typescript/src/StyleApplicator.d.ts +4 -0
  255. package/lib/typescript/src/StyleApplicator.d.ts.map +1 -0
  256. package/lib/typescript/src/WeatherLayerManager.d.ts +2 -0
  257. package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -0
  258. package/package.json +53 -15
  259. package/src/AguaceroContext.js +0 -4
  260. package/src/GridRenderLayer.js +0 -121
  261. package/src/MapManager.js +0 -158
  262. package/src/MapRegistry.js +0 -35
  263. package/src/StyleApplicator.js +0 -241
  264. package/src/WeatherLayerManager.js +0 -754
@@ -0,0 +1,164 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.MapManager = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _maps = _interopRequireDefault(require("@rnmapbox/maps"));
10
+ var _javascriptSdk = require("@aguacerowx/javascript-sdk");
11
+ var _StyleApplicator = require("./StyleApplicator");
12
+ var _AguaceroContext = require("./AguaceroContext");
13
+ var _MapRegistry = require("./MapRegistry");
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
16
+ // packages/react-native/src/MapManager.js
17
+
18
+ const TERRAIN_LAYER_ID = 'AML_-_terrain';
19
+
20
+ // --- UTILITIES ---
21
+ function isObject(item) {
22
+ return item && typeof item === 'object' && !Array.isArray(item);
23
+ }
24
+ function deepMerge(target, source) {
25
+ const output = {
26
+ ...target
27
+ };
28
+ if (isObject(target) && isObject(source)) {
29
+ Object.keys(source).forEach(key => {
30
+ if (isObject(source[key])) {
31
+ if (!(key in target)) {
32
+ Object.assign(output, {
33
+ [key]: source[key]
34
+ });
35
+ } else {
36
+ output[key] = deepMerge(target[key], source[key]);
37
+ }
38
+ } else {
39
+ Object.assign(output, {
40
+ [key]: source[key]
41
+ });
42
+ }
43
+ });
44
+ }
45
+ return output;
46
+ }
47
+ const MapManager = ({
48
+ mapboxToken,
49
+ customStyles,
50
+ theme = 'light',
51
+ mapOptions = {},
52
+ children
53
+ }) => {
54
+ const mapRef = (0, _react.useRef)(null);
55
+ const [mapStyle, setMapStyle] = (0, _react.useState)(null);
56
+
57
+ // Register map with the global registry when it's ready
58
+ (0, _react.useEffect)(() => {
59
+ if (mapRef.current) {
60
+ _MapRegistry.mapRegistry.setMap(mapRef.current);
61
+ console.log('📍 [MapManager] Registered map with registry');
62
+ }
63
+ }, []);
64
+ const contextValue = (0, _react.useMemo)(() => ({
65
+ getMap: () => mapRef.current,
66
+ getCenter: () => {
67
+ return mapRef.current?._currentCenter || [-95.7129, 37.0902];
68
+ }
69
+ }), []);
70
+ (0, _react.useEffect)(() => {
71
+ let lightTheme = JSON.parse(JSON.stringify(_javascriptSdk.THEME_CONFIGS.light));
72
+ let darkTheme = JSON.parse(JSON.stringify(_javascriptSdk.THEME_CONFIGS.dark));
73
+ if (customStyles) {
74
+ if (customStyles.light) {
75
+ lightTheme = deepMerge(lightTheme, customStyles.light);
76
+ }
77
+ if (customStyles.dark) {
78
+ darkTheme = deepMerge(darkTheme, customStyles.dark);
79
+ }
80
+ }
81
+ setMapStyle(theme === 'dark' ? darkTheme : lightTheme);
82
+ }, [customStyles, theme]);
83
+ (0, _react.useEffect)(() => {
84
+ if (mapboxToken) {
85
+ _maps.default.setAccessToken(mapboxToken);
86
+ } else {
87
+ console.error("MapManager: A 'mapboxToken' prop is required but was not provided.");
88
+ }
89
+ }, [mapboxToken]);
90
+ if (!mapboxToken) {
91
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
92
+ style: [styles.container, styles.centerContent]
93
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
94
+ style: styles.errorText
95
+ }, "Mapbox Token Missing"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
96
+ style: styles.errorSubText
97
+ }, "Please provide the 'mapboxToken' prop."));
98
+ }
99
+ const handleCameraChange = event => {
100
+ if (event?.properties?.center) {
101
+ const center = event.properties.center;
102
+
103
+ // Store the current center in the ref for immediate access
104
+ if (mapRef.current) {
105
+ mapRef.current._currentCenter = center;
106
+ }
107
+
108
+ // Notify all listeners through the registry
109
+ console.log('📍 [MapManager] Camera changed, notifying registry:', center);
110
+ _MapRegistry.mapRegistry.notifyCameraChange(center);
111
+ }
112
+ };
113
+ const BASE_STYLE_URL = 'mapbox://styles/aguacerowx/cmfvox8mq004u01qm5nlg7qkt';
114
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
115
+ style: styles.container
116
+ }, /*#__PURE__*/_react.default.createElement(_AguaceroContext.AguaceroContext.Provider, {
117
+ value: contextValue
118
+ }, /*#__PURE__*/_react.default.createElement(_maps.default.MapView, {
119
+ ref: mapRef,
120
+ style: styles.map,
121
+ styleURL: BASE_STYLE_URL,
122
+ scaleBarEnabled: false,
123
+ onCameraChanged: handleCameraChange
124
+ }, /*#__PURE__*/_react.default.createElement(_maps.default.Camera, {
125
+ defaultSettings: {
126
+ centerCoordinate: mapOptions.center || [-95.7129, 37.0902],
127
+ zoomLevel: mapOptions.zoom || 4,
128
+ pitch: mapOptions.pitch || 0,
129
+ bearing: mapOptions.bearing || 0,
130
+ minZoomLevel: mapOptions.minZoom || 2,
131
+ maxZoomLevel: mapOptions.maxZoom || 12
132
+ }
133
+ }), mapStyle && /*#__PURE__*/_react.default.createElement(_StyleApplicator.StyleApplicator, {
134
+ styles: mapStyle
135
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.VectorSource, {
136
+ id: "mapbox-dem",
137
+ url: "mapbox://mapbox.mapbox-terrain-dem-v1"
138
+ }), children)));
139
+ };
140
+ exports.MapManager = MapManager;
141
+ const styles = _reactNative.StyleSheet.create({
142
+ container: {
143
+ flex: 1,
144
+ backgroundColor: '#1a1a2e'
145
+ },
146
+ centerContent: {
147
+ justifyContent: 'center',
148
+ alignItems: 'center'
149
+ },
150
+ map: {
151
+ flex: 1
152
+ },
153
+ errorText: {
154
+ color: '#FF6B6B',
155
+ fontSize: 22,
156
+ fontWeight: 'bold'
157
+ },
158
+ errorSubText: {
159
+ color: 'white',
160
+ fontSize: 16,
161
+ marginTop: 8
162
+ }
163
+ });
164
+ //# sourceMappingURL=MapManager.js.map
@@ -0,0 +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","zoom","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,IAA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AAE;IACVsC,KAAK,EAAE,OAAO;IACdC,QAAQ,EAAE,EAAE;IACZE,SAAS,EAAE;EACf;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.mapRegistry = void 0;
7
+ // Simple registry to share the map instance
8
+ class MapRegistry {
9
+ constructor() {
10
+ this.mapRef = null;
11
+ this.listeners = [];
12
+ }
13
+ setMap(mapRef) {
14
+ console.log('📍 [MapRegistry] Map registered:', !!mapRef);
15
+ this.mapRef = mapRef;
16
+ }
17
+ getMap() {
18
+ return this.mapRef;
19
+ }
20
+ addCameraListener(listener) {
21
+ this.listeners.push(listener);
22
+ console.log('📍 [MapRegistry] Listener added, total:', this.listeners.length);
23
+ }
24
+ removeCameraListener(listener) {
25
+ const index = this.listeners.indexOf(listener);
26
+ if (index > -1) {
27
+ this.listeners.splice(index, 1);
28
+ console.log('📍 [MapRegistry] Listener removed, total:', this.listeners.length);
29
+ }
30
+ }
31
+ notifyCameraChange(center) {
32
+ this.listeners.forEach(listener => listener(center));
33
+ }
34
+ }
35
+ const mapRegistry = exports.mapRegistry = new MapRegistry();
36
+ //# sourceMappingURL=MapRegistry.js.map
@@ -0,0 +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":[]}
@@ -0,0 +1,262 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyleApplicator = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _maps = _interopRequireDefault(require("@rnmapbox/maps"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ // Re-implement the mapping from your web SDK for clarity and maintenance.
11
+ const STYLE_LAYER_MAP = {
12
+ // Background and water layers
13
+ landColor: {
14
+ layerId: 'AML_-_land'
15
+ },
16
+ oceanColor: {
17
+ layerId: 'AML_-_water'
18
+ },
19
+ waterDepth: {
20
+ layerId: 'AML_-_water-depth'
21
+ },
22
+ nationalPark: {
23
+ layerId: 'AML_-_national-park'
24
+ },
25
+ // Line layers
26
+ roads: {
27
+ layerId: 'AML_-_roads'
28
+ },
29
+ airports: {
30
+ layerId: 'AML_-_airports'
31
+ },
32
+ countries: {
33
+ layerId: 'AML_-_countries'
34
+ },
35
+ states: {
36
+ layerId: 'AML_-_states'
37
+ },
38
+ counties: {
39
+ layerId: 'AML_-_counties'
40
+ },
41
+ waterways: {
42
+ layerId: 'AML_-_waterway'
43
+ },
44
+ // Symbol (label) layers
45
+ continents: {
46
+ layerId: 'AML_-_continent-label'
47
+ },
48
+ countriesLabels: {
49
+ layerId: 'AML_-_country-label'
50
+ },
51
+ statesLabels: {
52
+ layerId: 'AML_-_state-label'
53
+ },
54
+ citiesMajor: {
55
+ layerId: 'AML_-_major-city-label'
56
+ },
57
+ citiesMinor: {
58
+ layerId: 'AML_-_minor-city-label'
59
+ },
60
+ airportsLabels: {
61
+ layerId: 'AML_-_airport-label'
62
+ },
63
+ poi: {
64
+ layerId: 'AML_-_poi-label'
65
+ },
66
+ waterLabels: {
67
+ layerId: 'AML_-_water-point-label'
68
+ },
69
+ naturalLabels: {
70
+ layerId: 'AML_-_natural-point-label'
71
+ },
72
+ subdivisionLabels: {
73
+ layerId: 'AML_-_subdivision-label'
74
+ }
75
+ };
76
+
77
+ /**
78
+ * A utility to sanitize 8-digit hex colors (#rrggbbaa) to 6-digit hex (#rrggbb)
79
+ * as required by some Mapbox properties.
80
+ */
81
+ function sanitizeColor(color) {
82
+ if (typeof color === 'string' && color.startsWith('#') && color.length === 9) {
83
+ return color.substring(0, 7);
84
+ }
85
+ return color;
86
+ }
87
+
88
+ /**
89
+ * Renders a set of Mapbox layers with styles derived from a theme object.
90
+ * This is the declarative, React Native equivalent of `applyStyleCustomizations`.
91
+ */
92
+ const StyleApplicator = ({
93
+ styles
94
+ }) => {
95
+ if (!styles) {
96
+ return null;
97
+ }
98
+ const {
99
+ landOcean,
100
+ transportation,
101
+ boundaries,
102
+ waterFeatures,
103
+ labels,
104
+ terrain
105
+ } = styles;
106
+
107
+ // --- Helper for Line Layer Styles ---
108
+ const getLineStyles = config => {
109
+ if (!config) return {};
110
+ const dashArray = {
111
+ dashed: [2, 2],
112
+ dotted: [0, 2],
113
+ solid: []
114
+ };
115
+ return {
116
+ visibility: config.visible ? 'visible' : 'none',
117
+ lineColor: sanitizeColor(config.color),
118
+ lineWidth: config.width,
119
+ lineDasharray: dashArray[config.lineType] || []
120
+ };
121
+ };
122
+
123
+ // --- Helper for Symbol (Label) Layer Styles ---
124
+ const getSymbolStyles = config => {
125
+ if (!config) return {};
126
+ return {
127
+ visibility: config.visible ? 'visible' : 'none',
128
+ textColor: sanitizeColor(config.color),
129
+ textHaloColor: sanitizeColor(config.outlineColor),
130
+ textHaloWidth: config.outlineWidth,
131
+ textSize: config.fontSize,
132
+ textFont: [config.fontFamily]
133
+ };
134
+ };
135
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, landOcean && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.BackgroundLayer, {
136
+ id: STYLE_LAYER_MAP.landColor.layerId,
137
+ existing: true // FIX: Added existing prop
138
+ ,
139
+ style: {
140
+ backgroundColor: sanitizeColor(landOcean.landColor)
141
+ }
142
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.FillLayer, {
143
+ id: STYLE_LAYER_MAP.oceanColor.layerId,
144
+ existing: true // FIX: Added existing prop
145
+ ,
146
+ style: {
147
+ fillColor: sanitizeColor(landOcean.oceanColor)
148
+ }
149
+ }), landOcean.waterDepth && /*#__PURE__*/_react.default.createElement(_maps.default.FillLayer, {
150
+ id: STYLE_LAYER_MAP.waterDepth.layerId,
151
+ existing: true // FIX: Added existing prop
152
+ ,
153
+ style: {
154
+ visibility: landOcean.waterDepth.visible ? 'visible' : 'none',
155
+ fillColor: sanitizeColor(landOcean.waterDepth.color)
156
+ }
157
+ }), landOcean.nationalPark && /*#__PURE__*/_react.default.createElement(_maps.default.FillLayer, {
158
+ id: STYLE_LAYER_MAP.nationalPark.layerId,
159
+ existing: true // FIX: Added existing prop
160
+ ,
161
+ style: {
162
+ visibility: landOcean.nationalPark.visible ? 'visible' : 'none',
163
+ fillColor: sanitizeColor(landOcean.nationalPark.color)
164
+ }
165
+ })), boundaries && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
166
+ id: STYLE_LAYER_MAP.countries.layerId,
167
+ existing: true // FIX: Added existing prop
168
+ ,
169
+ style: getLineStyles(boundaries.countries)
170
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
171
+ id: STYLE_LAYER_MAP.states.layerId,
172
+ existing: true // FIX: Added existing prop
173
+ ,
174
+ style: getLineStyles(boundaries.states)
175
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
176
+ id: STYLE_LAYER_MAP.counties.layerId,
177
+ existing: true // FIX: Added existing prop
178
+ ,
179
+ style: getLineStyles(boundaries.counties)
180
+ })), transportation && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
181
+ id: STYLE_LAYER_MAP.roads.layerId,
182
+ existing: true // FIX: Added existing prop
183
+ ,
184
+ style: getLineStyles(transportation.roads)
185
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
186
+ id: STYLE_LAYER_MAP.airports.layerId,
187
+ existing: true // FIX: Added existing prop
188
+ ,
189
+ style: getLineStyles(transportation.airports)
190
+ })), waterFeatures && /*#__PURE__*/_react.default.createElement(_maps.default.LineLayer, {
191
+ id: STYLE_LAYER_MAP.waterways.layerId,
192
+ existing: true // FIX: Added existing prop
193
+ ,
194
+ style: getLineStyles(waterFeatures.waterways)
195
+ }), labels && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
196
+ id: STYLE_LAYER_MAP.continents.layerId,
197
+ existing: true // FIX: Added existing prop
198
+ ,
199
+ style: getSymbolStyles(labels.continents)
200
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
201
+ id: STYLE_LAYER_MAP.countriesLabels.layerId,
202
+ existing: true // FIX: Added existing prop
203
+ ,
204
+ style: getSymbolStyles(labels.countries)
205
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
206
+ id: STYLE_LAYER_MAP.statesLabels.layerId,
207
+ existing: true // FIX: Added existing prop
208
+ ,
209
+ style: getSymbolStyles(labels.states)
210
+ }), labels.cities && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
211
+ id: STYLE_LAYER_MAP.citiesMajor.layerId,
212
+ existing: true // FIX: Added existing prop
213
+ ,
214
+ style: getSymbolStyles(labels.cities.major)
215
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
216
+ id: STYLE_LAYER_MAP.citiesMinor.layerId,
217
+ existing: true // FIX: Added existing prop
218
+ ,
219
+ style: getSymbolStyles(labels.cities.minor)
220
+ })), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
221
+ id: STYLE_LAYER_MAP.airportsLabels.layerId,
222
+ existing: true // FIX: Added existing prop
223
+ ,
224
+ style: getSymbolStyles(labels.airports)
225
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
226
+ id: STYLE_LAYER_MAP.poi.layerId,
227
+ existing: true // FIX: Added existing prop
228
+ ,
229
+ style: getSymbolStyles(labels.poi)
230
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
231
+ id: STYLE_LAYER_MAP.waterLabels.layerId,
232
+ existing: true // FIX: Added existing prop
233
+ ,
234
+ style: getSymbolStyles(labels.waterLabels)
235
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
236
+ id: STYLE_LAYER_MAP.naturalLabels.layerId,
237
+ existing: true // FIX: Added existing prop
238
+ ,
239
+ style: getSymbolStyles(labels.naturalLabels)
240
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.SymbolLayer, {
241
+ id: STYLE_LAYER_MAP.subdivisionLabels.layerId,
242
+ existing: true // FIX: Added existing prop
243
+ ,
244
+ style: getSymbolStyles(labels.subdivisionLabels)
245
+ })), terrain && terrain.visible && _maps.default.Terrain && _maps.default.HillshadeLayer && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_maps.default.Terrain, {
246
+ sourceID: "mapbox-dem",
247
+ style: {
248
+ exaggeration: 1
249
+ }
250
+ }), /*#__PURE__*/_react.default.createElement(_maps.default.HillshadeLayer, {
251
+ id: "hillshade",
252
+ sourceID: "mapbox-dem",
253
+ style: {
254
+ hillshadeExaggeration: terrain.intensity,
255
+ hillshadeShadowColor: sanitizeColor(terrain.shadowColor),
256
+ hillshadeHighlightColor: sanitizeColor(terrain.highlightColor),
257
+ hillshadeAccentColor: sanitizeColor(terrain.accentColor)
258
+ }
259
+ })));
260
+ };
261
+ exports.StyleApplicator = StyleApplicator;
262
+ //# sourceMappingURL=StyleApplicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_maps","e","__esModule","default","STYLE_LAYER_MAP","landColor","layerId","oceanColor","waterDepth","nationalPark","roads","airports","countries","states","counties","waterways","continents","countriesLabels","statesLabels","citiesMajor","citiesMinor","airportsLabels","poi","waterLabels","naturalLabels","subdivisionLabels","sanitizeColor","color","startsWith","length","substring","StyleApplicator","styles","landOcean","transportation","boundaries","waterFeatures","labels","terrain","getLineStyles","config","dashArray","dashed","dotted","solid","visibility","visible","lineColor","lineWidth","width","lineDasharray","lineType","getSymbolStyles","textColor","textHaloColor","outlineColor","textHaloWidth","outlineWidth","textSize","fontSize","textFont","fontFamily","createElement","Fragment","BackgroundLayer","id","existing","style","backgroundColor","FillLayer","fillColor","LineLayer","SymbolLayer","cities","major","minor","Mapbox","Terrain","HillshadeLayer","sourceID","exaggeration","hillshadeExaggeration","intensity","hillshadeShadowColor","shadowColor","hillshadeHighlightColor","highlightColor","hillshadeAccentColor","accentColor","exports"],"sourceRoot":"..\\..\\..","sources":["src/StyleApplicator.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAoC,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpC;AACA,MAAMG,eAAe,GAAG;EACpB;EACAC,SAAS,EAAE;IAAEC,OAAO,EAAE;EAAa,CAAC;EACpCC,UAAU,EAAE;IAAED,OAAO,EAAE;EAAc,CAAC;EACtCE,UAAU,EAAE;IAAEF,OAAO,EAAE;EAAoB,CAAC;EAC5CG,YAAY,EAAE;IAAEH,OAAO,EAAE;EAAsB,CAAC;EAEhD;EACAI,KAAK,EAAE;IAAEJ,OAAO,EAAE;EAAc,CAAC;EACjCK,QAAQ,EAAE;IAAEL,OAAO,EAAE;EAAiB,CAAC;EACvCM,SAAS,EAAE;IAAEN,OAAO,EAAE;EAAkB,CAAC;EACzCO,MAAM,EAAE;IAAEP,OAAO,EAAE;EAAe,CAAC;EACnCQ,QAAQ,EAAE;IAAER,OAAO,EAAE;EAAiB,CAAC;EACvCS,SAAS,EAAE;IAAET,OAAO,EAAE;EAAiB,CAAC;EAExC;EACAU,UAAU,EAAE;IAAEV,OAAO,EAAE;EAAwB,CAAC;EAChDW,eAAe,EAAE;IAAEX,OAAO,EAAE;EAAsB,CAAC;EACnDY,YAAY,EAAE;IAAEZ,OAAO,EAAE;EAAoB,CAAC;EAC9Ca,WAAW,EAAE;IAAEb,OAAO,EAAE;EAAyB,CAAC;EAClDc,WAAW,EAAE;IAAEd,OAAO,EAAE;EAAyB,CAAC;EAClDe,cAAc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