@aguacerowx/react-native 0.0.4 → 0.0.6
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.
- package/README.md +51 -6
- package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
- package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
- package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
- package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
- package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +16 -2
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +9 -51
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +8 -2
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +15 -14
- package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +15 -0
- package/android/src/main/res/raw/fragment_shader.glsl +13 -2
- package/ios/GridRenderLayer.swift +62 -0
- package/ios/GridRenderLayerManager.mm +140 -0
- package/ios/aguacerowx-react-native.podspec +29 -0
- package/lib/commonjs/README.md +61 -0
- package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
- package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
- package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
- package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
- package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
- package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
- package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +101 -0
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
- package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/lib/commonjs/android/build.gradle +85 -0
- package/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +597 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +293 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +112 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
- package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
- package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
- package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +98 -0
- package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +20 -0
- package/lib/commonjs/babel.config.js +7 -0
- package/lib/commonjs/babel.config.js.map +1 -0
- package/lib/commonjs/index.js +20 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +972 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +381 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1229 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4023 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +38 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +30 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +27 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +41 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +301 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +126 -0
- package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
- package/lib/commonjs/package.json +73 -0
- package/lib/commonjs/react-native-builder-bob.config.js +13 -0
- package/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
- package/lib/commonjs/src/AguaceroContext.js +11 -0
- package/lib/commonjs/src/AguaceroContext.js.map +1 -0
- package/lib/commonjs/src/GridRenderLayer.js +159 -0
- package/lib/commonjs/src/GridRenderLayer.js.map +1 -0
- package/lib/commonjs/src/GridRenderLayerNativeComponent.js +11 -0
- package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
- package/lib/commonjs/src/MapManager.js +164 -0
- package/lib/commonjs/src/MapManager.js.map +1 -0
- package/lib/commonjs/src/MapRegistry.js +36 -0
- package/lib/commonjs/src/MapRegistry.js.map +1 -0
- package/lib/commonjs/src/StyleApplicator.js +262 -0
- package/lib/commonjs/src/StyleApplicator.js.map +1 -0
- package/lib/commonjs/src/WeatherLayerManager.js +731 -0
- package/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
- package/lib/commonjs/tsconfig.json +24 -0
- package/lib/module/README.md +61 -0
- package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +10 -0
- package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +8 -0
- package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +4 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +5 -0
- package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +6 -0
- package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +8 -0
- package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +8 -0
- package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +13 -0
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +13 -0
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +101 -0
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +20 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +5 -0
- package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId0 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId1 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/lib/module/android/build.gradle +85 -0
- package/lib/module/android/src/main/AndroidManifest.xml +7 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +34 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +597 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +293 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +112 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +64 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +107 -0
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +166 -0
- package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +13 -0
- package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +13 -0
- package/lib/module/android/src/main/res/raw/fragment_shader.glsl +98 -0
- package/lib/module/android/src/main/res/raw/vertex_shader.glsl +20 -0
- package/lib/module/babel.config.js +5 -0
- package/lib/module/babel.config.js.map +1 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/lib/commonjs/README.md +61 -0
- package/lib/module/lib/commonjs/android/build.gradle +85 -0
- package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +7 -0
- package/lib/module/lib/commonjs/babel.config.js +7 -0
- package/lib/module/lib/commonjs/babel.config.js.map +1 -0
- package/lib/module/lib/commonjs/index.js +20 -0
- package/lib/module/lib/commonjs/index.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +976 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +381 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1229 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4023 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js +38 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +30 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +27 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js +41 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +301 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +126 -0
- package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
- package/lib/module/lib/commonjs/package.json +73 -0
- package/lib/module/lib/commonjs/react-native-builder-bob.config.js +13 -0
- package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -0
- package/lib/module/lib/commonjs/src/AguaceroContext.js +15 -0
- package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -0
- package/lib/module/lib/commonjs/src/GridRenderLayer.js +182 -0
- package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -0
- package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js +15 -0
- package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -0
- package/lib/module/lib/commonjs/src/MapManager.js +187 -0
- package/lib/module/lib/commonjs/src/MapManager.js.map +1 -0
- package/lib/module/lib/commonjs/src/MapRegistry.js +36 -0
- package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -0
- package/lib/module/lib/commonjs/src/StyleApplicator.js +286 -0
- package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -0
- package/lib/module/lib/commonjs/src/WeatherLayerManager.js +750 -0
- package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -0
- package/lib/module/lib/commonjs/tsconfig.json +24 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js +1003 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js +381 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js +1229 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js +4023 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js +38 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js +30 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js +27 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js +47 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js +301 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js +126 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/package.json +48 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js +964 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js +375 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js +1223 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js +4017 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js +31 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js +29 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js +21 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js +12 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js +295 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js +119 -0
- package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -0
- package/lib/module/package.json +73 -0
- package/lib/module/react-native-builder-bob.config.js +11 -0
- package/lib/module/react-native-builder-bob.config.js.map +1 -0
- package/lib/module/src/AguaceroContext.js +5 -0
- package/lib/module/src/AguaceroContext.js.map +1 -0
- package/lib/module/src/GridRenderLayer.js +152 -0
- package/lib/module/src/GridRenderLayer.js.map +1 -0
- package/lib/module/src/GridRenderLayerNativeComponent.js +5 -0
- package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -0
- package/lib/module/src/MapManager.js +155 -0
- package/lib/module/src/MapManager.js.map +1 -0
- package/lib/module/src/MapRegistry.js +30 -0
- package/lib/module/src/MapRegistry.js.map +1 -0
- package/lib/module/src/StyleApplicator.js +255 -0
- package/lib/module/src/StyleApplicator.js.map +1 -0
- package/lib/module/src/WeatherLayerManager.js +724 -0
- package/lib/module/src/WeatherLayerManager.js.map +1 -0
- package/lib/module/tsconfig.json +24 -0
- package/lib/typescript/babel.config.d.ts +3 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/react-native-builder-bob.config.d.ts +6 -0
- package/lib/typescript/react-native-builder-bob.config.d.ts.map +1 -0
- package/lib/typescript/src/AguaceroContext.d.ts +2 -0
- package/lib/typescript/src/AguaceroContext.d.ts.map +1 -0
- package/lib/typescript/src/GridRenderLayer.d.ts +2 -0
- package/lib/typescript/src/GridRenderLayer.d.ts.map +1 -0
- package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts +12 -0
- package/lib/typescript/src/GridRenderLayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/MapManager.d.ts +8 -0
- package/lib/typescript/src/MapManager.d.ts.map +1 -0
- package/lib/typescript/src/MapRegistry.d.ts +12 -0
- package/lib/typescript/src/MapRegistry.d.ts.map +1 -0
- package/lib/typescript/src/StyleApplicator.d.ts +4 -0
- package/lib/typescript/src/StyleApplicator.d.ts.map +1 -0
- package/lib/typescript/src/WeatherLayerManager.d.ts +2 -0
- package/lib/typescript/src/WeatherLayerManager.d.ts.map +1 -0
- package/package.json +53 -15
- package/src/AguaceroContext.js +0 -4
- package/src/GridRenderLayer.js +0 -121
- package/src/MapManager.js +0 -158
- package/src/MapRegistry.js +0 -35
- package/src/StyleApplicator.js +0 -241
- package/src/WeatherLayerManager.js +0 -754
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultLightMapStyles = exports.defaultDarkMapStyles = exports.THEME_CONFIGS = void 0;
|
|
7
|
+
const defaultLightMapStyles = exports.defaultLightMapStyles = {
|
|
8
|
+
landOcean: {
|
|
9
|
+
landColor: '#f0f0f0',
|
|
10
|
+
oceanColor: '#a8d8ea',
|
|
11
|
+
waterDepth: {
|
|
12
|
+
visible: true,
|
|
13
|
+
color: '#97c7d9'
|
|
14
|
+
},
|
|
15
|
+
nationalPark: {
|
|
16
|
+
visible: true,
|
|
17
|
+
color: '#d4e6d4'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
transportation: {
|
|
21
|
+
roads: {
|
|
22
|
+
visible: true,
|
|
23
|
+
color: '#d3d3d3',
|
|
24
|
+
width: 0.7
|
|
25
|
+
},
|
|
26
|
+
airports: {
|
|
27
|
+
visible: true,
|
|
28
|
+
color: '#d3d3d3',
|
|
29
|
+
width: 0.7
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
boundaries: {
|
|
33
|
+
countries: {
|
|
34
|
+
visible: true,
|
|
35
|
+
color: '#000000',
|
|
36
|
+
width: 1.5,
|
|
37
|
+
lineType: 'solid'
|
|
38
|
+
},
|
|
39
|
+
states: {
|
|
40
|
+
visible: true,
|
|
41
|
+
color: '#000000',
|
|
42
|
+
width: 1.5,
|
|
43
|
+
lineType: 'solid'
|
|
44
|
+
},
|
|
45
|
+
counties: {
|
|
46
|
+
visible: true,
|
|
47
|
+
color: '#515151',
|
|
48
|
+
width: 1.2,
|
|
49
|
+
lineType: 'solid'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
waterFeatures: {
|
|
53
|
+
waterways: {
|
|
54
|
+
visible: true,
|
|
55
|
+
color: '#a8d8ea',
|
|
56
|
+
width: 0.7
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
labels: {
|
|
60
|
+
countries: {
|
|
61
|
+
visible: false,
|
|
62
|
+
fontFamily: 'Open Sans Regular',
|
|
63
|
+
fontSize: 14,
|
|
64
|
+
color: '#000000',
|
|
65
|
+
outlineColor: '#ffffff',
|
|
66
|
+
outlineWidth: 1
|
|
67
|
+
},
|
|
68
|
+
states: {
|
|
69
|
+
visible: false,
|
|
70
|
+
fontFamily: 'Open Sans Regular',
|
|
71
|
+
fontSize: 12,
|
|
72
|
+
color: '#000000',
|
|
73
|
+
outlineColor: '#ffffff',
|
|
74
|
+
outlineWidth: 1
|
|
75
|
+
},
|
|
76
|
+
cities: {
|
|
77
|
+
major: {
|
|
78
|
+
visible: true,
|
|
79
|
+
fontFamily: 'Open Sans Regular',
|
|
80
|
+
fontSize: 12,
|
|
81
|
+
color: '#000000',
|
|
82
|
+
outlineColor: '#ffffff',
|
|
83
|
+
outlineWidth: 1
|
|
84
|
+
},
|
|
85
|
+
minor: {
|
|
86
|
+
visible: true,
|
|
87
|
+
fontFamily: 'Open Sans Regular',
|
|
88
|
+
fontSize: 10,
|
|
89
|
+
color: '#000000',
|
|
90
|
+
outlineColor: '#ffffff',
|
|
91
|
+
outlineWidth: 1
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
airports: {
|
|
95
|
+
visible: true,
|
|
96
|
+
fontFamily: 'Open Sans Regular',
|
|
97
|
+
fontSize: 11,
|
|
98
|
+
color: '#000000',
|
|
99
|
+
outlineColor: '#ffffff',
|
|
100
|
+
outlineWidth: 1
|
|
101
|
+
},
|
|
102
|
+
poi: {
|
|
103
|
+
visible: true,
|
|
104
|
+
fontFamily: 'Open Sans Regular',
|
|
105
|
+
fontSize: 10,
|
|
106
|
+
color: '#000000',
|
|
107
|
+
outlineColor: '#ffffff',
|
|
108
|
+
outlineWidth: 1
|
|
109
|
+
},
|
|
110
|
+
continents: {
|
|
111
|
+
visible: true,
|
|
112
|
+
fontFamily: 'Open Sans Regular',
|
|
113
|
+
fontSize: 16,
|
|
114
|
+
color: '#000000',
|
|
115
|
+
outlineColor: '#ffffff',
|
|
116
|
+
outlineWidth: 1.5
|
|
117
|
+
},
|
|
118
|
+
waterLabels: {
|
|
119
|
+
visible: true,
|
|
120
|
+
fontFamily: 'Open Sans Italic',
|
|
121
|
+
fontSize: 10,
|
|
122
|
+
color: '#0077be',
|
|
123
|
+
outlineColor: '#ffffff',
|
|
124
|
+
outlineWidth: 1
|
|
125
|
+
},
|
|
126
|
+
naturalLabels: {
|
|
127
|
+
visible: true,
|
|
128
|
+
fontFamily: 'Open Sans Italic',
|
|
129
|
+
fontSize: 10,
|
|
130
|
+
color: '#2E8B57',
|
|
131
|
+
outlineColor: '#ffffff',
|
|
132
|
+
outlineWidth: 1
|
|
133
|
+
},
|
|
134
|
+
subdivisionLabels: {
|
|
135
|
+
visible: true,
|
|
136
|
+
fontFamily: 'Open Sans Regular',
|
|
137
|
+
fontSize: 11,
|
|
138
|
+
color: '#000000',
|
|
139
|
+
outlineColor: '#ffffff',
|
|
140
|
+
outlineWidth: 1
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
terrain: {
|
|
144
|
+
visible: true,
|
|
145
|
+
intensity: 0.15,
|
|
146
|
+
shadowColor: '#b0b0b0',
|
|
147
|
+
highlightColor: '#ffffff',
|
|
148
|
+
accentColor: '#b0b0b0'
|
|
149
|
+
},
|
|
150
|
+
oceanOnTop: false
|
|
151
|
+
};
|
|
152
|
+
const defaultDarkMapStyles = exports.defaultDarkMapStyles = {
|
|
153
|
+
landOcean: {
|
|
154
|
+
landColor: '#242424',
|
|
155
|
+
oceanColor: '#252525',
|
|
156
|
+
waterDepth: {
|
|
157
|
+
visible: true,
|
|
158
|
+
color: '#000000'
|
|
159
|
+
},
|
|
160
|
+
nationalPark: {
|
|
161
|
+
visible: true,
|
|
162
|
+
color: '#202020'
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
transportation: {
|
|
166
|
+
roads: {
|
|
167
|
+
visible: true,
|
|
168
|
+
color: '#4f4f4f',
|
|
169
|
+
width: 0.5
|
|
170
|
+
},
|
|
171
|
+
airports: {
|
|
172
|
+
visible: true,
|
|
173
|
+
color: '#4f4f4f',
|
|
174
|
+
width: 0.6
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
boundaries: {
|
|
178
|
+
countries: {
|
|
179
|
+
visible: true,
|
|
180
|
+
color: '#ffffff',
|
|
181
|
+
width: 1.5,
|
|
182
|
+
lineType: 'solid'
|
|
183
|
+
},
|
|
184
|
+
states: {
|
|
185
|
+
visible: true,
|
|
186
|
+
color: '#ffffff',
|
|
187
|
+
width: 1.5,
|
|
188
|
+
lineType: 'solid'
|
|
189
|
+
},
|
|
190
|
+
counties: {
|
|
191
|
+
visible: true,
|
|
192
|
+
color: '#a2a2a2',
|
|
193
|
+
width: 1.2,
|
|
194
|
+
lineType: 'solid'
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
waterFeatures: {
|
|
198
|
+
waterways: {
|
|
199
|
+
visible: true,
|
|
200
|
+
color: '#333333',
|
|
201
|
+
width: 0.5
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
labels: {
|
|
205
|
+
countries: {
|
|
206
|
+
visible: false,
|
|
207
|
+
fontFamily: 'Open Sans Regular',
|
|
208
|
+
fontSize: 14,
|
|
209
|
+
color: '#ffffff',
|
|
210
|
+
outlineColor: '#000000',
|
|
211
|
+
outlineWidth: 1
|
|
212
|
+
},
|
|
213
|
+
states: {
|
|
214
|
+
visible: false,
|
|
215
|
+
fontFamily: 'Open Sans Regular',
|
|
216
|
+
fontSize: 12,
|
|
217
|
+
color: '#ffffff',
|
|
218
|
+
outlineColor: '#000000',
|
|
219
|
+
outlineWidth: 1
|
|
220
|
+
},
|
|
221
|
+
cities: {
|
|
222
|
+
major: {
|
|
223
|
+
visible: true,
|
|
224
|
+
fontFamily: 'Open Sans Regular',
|
|
225
|
+
fontSize: 12,
|
|
226
|
+
color: '#ffffff',
|
|
227
|
+
outlineColor: '#000000',
|
|
228
|
+
outlineWidth: 1
|
|
229
|
+
},
|
|
230
|
+
minor: {
|
|
231
|
+
visible: true,
|
|
232
|
+
fontFamily: 'Open Sans Regular',
|
|
233
|
+
fontSize: 10,
|
|
234
|
+
color: '#ffffff',
|
|
235
|
+
outlineColor: '#000000',
|
|
236
|
+
outlineWidth: 1
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
airports: {
|
|
240
|
+
visible: true,
|
|
241
|
+
fontFamily: 'Open Sans Regular',
|
|
242
|
+
fontSize: 11,
|
|
243
|
+
color: '#ffffff',
|
|
244
|
+
outlineColor: '#000000',
|
|
245
|
+
outlineWidth: 1
|
|
246
|
+
},
|
|
247
|
+
poi: {
|
|
248
|
+
visible: true,
|
|
249
|
+
fontFamily: 'Open Sans Regular',
|
|
250
|
+
fontSize: 10,
|
|
251
|
+
color: '#ffffff',
|
|
252
|
+
outlineColor: '#000000',
|
|
253
|
+
outlineWidth: 1
|
|
254
|
+
},
|
|
255
|
+
continents: {
|
|
256
|
+
visible: true,
|
|
257
|
+
fontFamily: 'Open Sans Regular',
|
|
258
|
+
fontSize: 16,
|
|
259
|
+
color: '#ffffff',
|
|
260
|
+
outlineColor: '#000000',
|
|
261
|
+
outlineWidth: 1.5
|
|
262
|
+
},
|
|
263
|
+
waterLabels: {
|
|
264
|
+
visible: true,
|
|
265
|
+
fontFamily: 'Open Sans Italic',
|
|
266
|
+
fontSize: 10,
|
|
267
|
+
color: '#a8d8ea',
|
|
268
|
+
outlineColor: '#000000',
|
|
269
|
+
outlineWidth: 1
|
|
270
|
+
},
|
|
271
|
+
naturalLabels: {
|
|
272
|
+
visible: true,
|
|
273
|
+
fontFamily: 'Open Sans Italic',
|
|
274
|
+
fontSize: 10,
|
|
275
|
+
color: '#90ee90',
|
|
276
|
+
outlineColor: '#000000',
|
|
277
|
+
outlineWidth: 1
|
|
278
|
+
},
|
|
279
|
+
subdivisionLabels: {
|
|
280
|
+
visible: true,
|
|
281
|
+
fontFamily: 'Open Sans Regular',
|
|
282
|
+
fontSize: 11,
|
|
283
|
+
color: '#ffffff',
|
|
284
|
+
outlineColor: '#000000',
|
|
285
|
+
outlineWidth: 1
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
terrain: {
|
|
289
|
+
visible: true,
|
|
290
|
+
intensity: 0.2,
|
|
291
|
+
shadowColor: '#000000',
|
|
292
|
+
highlightColor: '#FFFFFF',
|
|
293
|
+
accentColor: '#000000'
|
|
294
|
+
},
|
|
295
|
+
oceanOnTop: false
|
|
296
|
+
};
|
|
297
|
+
const THEME_CONFIGS = exports.THEME_CONFIGS = {
|
|
298
|
+
light: defaultLightMapStyles,
|
|
299
|
+
dark: defaultDarkMapStyles
|
|
300
|
+
};
|
|
301
|
+
//# sourceMappingURL=map-styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["defaultLightMapStyles","exports","landOcean","landColor","oceanColor","waterDepth","visible","color","nationalPark","transportation","roads","width","airports","boundaries","countries","lineType","states","counties","waterFeatures","waterways","labels","fontFamily","fontSize","outlineColor","outlineWidth","cities","major","minor","poi","continents","waterLabels","naturalLabels","subdivisionLabels","terrain","intensity","shadowColor","highlightColor","accentColor","oceanOnTop","defaultDarkMapStyles","THEME_CONFIGS","light","dark"],"sourceRoot":"..\\..\\..\\..\\..\\..","sources":["node_modules/@aguacerowx/javascript-sdk/src/map-styles.js"],"mappings":";;;;;;AAAO,MAAMA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG;EACjCE,SAAS,EAAE;IACPC,SAAS,EAAE,SAAS;IACpBC,UAAU,EAAE,SAAS;IACrBC,UAAU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H;AACV,CAAC","ignoreList":[]}
|
package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getUnitConversionFunction = getUnitConversionFunction;
|
|
7
|
+
exports.unitConversions = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* A utility module for converting between different physical units.
|
|
10
|
+
* Contains a comprehensive object of conversion functions and a helper
|
|
11
|
+
* to retrieve the correct function based on unit names.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
// The main object containing all the raw conversion functions.
|
|
15
|
+
const unitConversions = exports.unitConversions = {
|
|
16
|
+
kelvin_to_celsius: data => data - 273.15,
|
|
17
|
+
kelvin_to_fahrenheit: data => (data - 273.15) * 9 / 5 + 32,
|
|
18
|
+
kelvin_to_c: data => data - 273.15,
|
|
19
|
+
kelvin_to_f: data => (data - 273.15) * 9 / 5 + 32,
|
|
20
|
+
k_to_celsius: data => data - 273.15,
|
|
21
|
+
k_to_fahrenheit: data => (data - 273.15) * 9 / 5 + 32,
|
|
22
|
+
k_to_c: data => data - 273.15,
|
|
23
|
+
k_to_f: data => (data - 273.15) * 9 / 5 + 32,
|
|
24
|
+
celsius_to_fahrenheit: data => data * 9 / 5 + 32,
|
|
25
|
+
celsius_to_f: data => data * 9 / 5 + 32,
|
|
26
|
+
c_to_fahrenheit: data => data * 9 / 5 + 32,
|
|
27
|
+
c_to_f: data => data * 9 / 5 + 32,
|
|
28
|
+
fahrenheit_to_celsius: data => (data - 32) * 5 / 9,
|
|
29
|
+
fahrenheit_to_c: data => (data - 32) * 5 / 9,
|
|
30
|
+
f_to_celsius: data => (data - 32) * 5 / 9,
|
|
31
|
+
f_to_c: data => (data - 32) * 5 / 9,
|
|
32
|
+
meters_to_feet: data => data * 3.28084,
|
|
33
|
+
meters_to_km: data => data / 1000,
|
|
34
|
+
m_to_feet: data => data * 3.28084,
|
|
35
|
+
m_to_ft: data => data * 3.28084,
|
|
36
|
+
m_to_km: data => data / 1000,
|
|
37
|
+
kts_to_mph: data => data * 1.15078,
|
|
38
|
+
mph_to_kts: data => data / 1.15078,
|
|
39
|
+
kts_to_ms: data => data / 1.94384449,
|
|
40
|
+
mph_to_ms: data => data / 2.23693629,
|
|
41
|
+
ms_to_mph: data => data * 2.23694,
|
|
42
|
+
ms_to_kts: data => data * 1.94384,
|
|
43
|
+
kts_to_kmh: data => data * 1.852,
|
|
44
|
+
mph_to_kmh: data => data * 1.60934,
|
|
45
|
+
ms_to_kmh: data => data * 3.6,
|
|
46
|
+
kmh_to_kts: data => data / 1.852,
|
|
47
|
+
kmh_to_mph: data => data / 1.60934,
|
|
48
|
+
kmh_to_ms: data => data / 3.6,
|
|
49
|
+
inches_to_mm: data => data * 25.4,
|
|
50
|
+
inches_to_cm: data => data * 2.54,
|
|
51
|
+
in_to_mm: data => data * 25.4,
|
|
52
|
+
in_to_cm: data => data * 2.54,
|
|
53
|
+
mm_to_in: data => data / 25.4,
|
|
54
|
+
mm_to_inches: data => data / 25.4,
|
|
55
|
+
cm_to_in: data => data / 2.54,
|
|
56
|
+
cm_to_inches: data => data / 2.54,
|
|
57
|
+
inhr_to_mmhr: data => data * 25.4,
|
|
58
|
+
inhr_to_cmhr: data => data * 2.54,
|
|
59
|
+
in_hr_to_mm_hr: data => data * 25.4,
|
|
60
|
+
in_hr_to_cm_hr: data => data * 2.54,
|
|
61
|
+
mmhr_to_inhr: data => data / 25.4,
|
|
62
|
+
cmhr_to_inhr: data => data / 2.54,
|
|
63
|
+
mm_hr_to_in_hr: data => data / 25.4,
|
|
64
|
+
cm_hr_to_in_hr: data => data / 2.54,
|
|
65
|
+
mmhr_to_cmhr: data => data / 10,
|
|
66
|
+
cmhr_to_mmhr: data => data * 10,
|
|
67
|
+
mm_hr_to_cm_hr: data => data / 10,
|
|
68
|
+
cm_hr_to_mm_hr: data => data * 10
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Finds and returns the correct conversion function based on "from" and "to" unit strings.
|
|
73
|
+
* It normalizes common unit abbreviations to a consistent key.
|
|
74
|
+
* @param {string} fromUnit - The starting unit (e.g., 'kelvin', '°C', 'kts').
|
|
75
|
+
* @param {string} toUnit - The target unit (e.g., 'fahrenheit', '°F', 'mph').
|
|
76
|
+
* @returns {function(number): number | null} The conversion function, or null if not found.
|
|
77
|
+
*/
|
|
78
|
+
function getUnitConversionFunction(fromUnit, toUnit) {
|
|
79
|
+
// A map to standardize various unit string formats to a single key format.
|
|
80
|
+
const unitMap = {
|
|
81
|
+
'°c': 'c',
|
|
82
|
+
'°f': 'f',
|
|
83
|
+
'°k': 'k',
|
|
84
|
+
'celsius': 'c',
|
|
85
|
+
'fahrenheit': 'f',
|
|
86
|
+
'kelvin': 'k',
|
|
87
|
+
'c': 'c',
|
|
88
|
+
'f': 'f',
|
|
89
|
+
'k': 'k',
|
|
90
|
+
'°F': 'f',
|
|
91
|
+
'°C': 'c',
|
|
92
|
+
'kts': 'kts',
|
|
93
|
+
'm/s': 'ms',
|
|
94
|
+
'mph': 'mph',
|
|
95
|
+
'km/h': 'kmh',
|
|
96
|
+
'knots': 'kts',
|
|
97
|
+
'ft': 'ft',
|
|
98
|
+
'feet': 'ft',
|
|
99
|
+
'km': 'km',
|
|
100
|
+
'mm': 'mm',
|
|
101
|
+
'cm': 'cm',
|
|
102
|
+
'm': 'm',
|
|
103
|
+
'meters': 'm',
|
|
104
|
+
'in/hr': 'inhr',
|
|
105
|
+
'mm/hr': 'mmhr',
|
|
106
|
+
'cm/hr': 'cmhr',
|
|
107
|
+
'in': 'in',
|
|
108
|
+
'inches': 'in'
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
// Cleans and standardizes the input unit string.
|
|
112
|
+
const normalizeUnit = unit => {
|
|
113
|
+
if (!unit) return '';
|
|
114
|
+
const lowerUnit = unit.toLowerCase().trim();
|
|
115
|
+
return unitMap[lowerUnit] || lowerUnit;
|
|
116
|
+
};
|
|
117
|
+
const fromNormalized = normalizeUnit(fromUnit);
|
|
118
|
+
const toNormalized = normalizeUnit(toUnit);
|
|
119
|
+
|
|
120
|
+
// Constructs the key to look up in the `unitConversions` object (e.g., 'k_to_f').
|
|
121
|
+
const conversionKey = `${fromNormalized}_to_${toNormalized}`;
|
|
122
|
+
|
|
123
|
+
// Return the function if it exists, otherwise return null.
|
|
124
|
+
return unitConversions[conversionKey] || null;
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=unitConversions.js.map
|
package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["unitConversions","exports","kelvin_to_celsius","data","kelvin_to_fahrenheit","kelvin_to_c","kelvin_to_f","k_to_celsius","k_to_fahrenheit","k_to_c","k_to_f","celsius_to_fahrenheit","celsius_to_f","c_to_fahrenheit","c_to_f","fahrenheit_to_celsius","fahrenheit_to_c","f_to_celsius","f_to_c","meters_to_feet","meters_to_km","m_to_feet","m_to_ft","m_to_km","kts_to_mph","mph_to_kts","kts_to_ms","mph_to_ms","ms_to_mph","ms_to_kts","kts_to_kmh","mph_to_kmh","ms_to_kmh","kmh_to_kts","kmh_to_mph","kmh_to_ms","inches_to_mm","inches_to_cm","in_to_mm","in_to_cm","mm_to_in","mm_to_inches","cm_to_in","cm_to_inches","inhr_to_mmhr","inhr_to_cmhr","in_hr_to_mm_hr","in_hr_to_cm_hr","mmhr_to_inhr","cmhr_to_inhr","mm_hr_to_in_hr","cm_hr_to_in_hr","mmhr_to_cmhr","cmhr_to_mmhr","mm_hr_to_cm_hr","cm_hr_to_mm_hr","getUnitConversionFunction","fromUnit","toUnit","unitMap","normalizeUnit","unit","lowerUnit","toLowerCase","trim","fromNormalized","toNormalized","conversionKey"],"sourceRoot":"..\\..\\..\\..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AG,EAAE,GAAG;IAAE,GAAG,EAAE,GAAG;IAAE,IAAI,EAAE,GAAG;IAAE,IAAI,EAAE,GAAG;IAClD,KAAK,EAAE,KAAK;IAAE,KAAK,EAAE,IAAI;IAAE,KAAK,EAAE,KAAK;IAAE,MAAM,EAAE,KAAK;IACtD,OAAO,EAAE,KAAK;IACd,IAAI,EAAE,IAAI;IAAE,MAAM,EAAE,IAAI;IACxB,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,GAAG,EAAE,GAAG;IAAE,QAAQ,EAAE,GAAG;IACvB,OAAO,EAAE,MAAM;IAAE,OAAO,EAAE,MAAM;IAAE,OAAO,EAAE,MAAM;IACjD,IAAI,EAAE,IAAI;IAAE,QAAQ,EAAE;EAC1B,CAAC;;EAED;EACA,MAAMC,aAAa,GAAIC,IAAI,IAAK;IAC5B,IAAI,CAACA,IAAI,EAAE,OAAO,EAAE;IACpB,MAAMC,SAAS,GAAGD,IAAI,CAACE,WAAW,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC;IAC3C,OAAOL,OAAO,CAACG,SAAS,CAAC,IAAIA,SAAS;EAC1C,CAAC;EAED,MAAMG,cAAc,GAAGL,aAAa,CAACH,QAAQ,CAAC;EAC9C,MAAMS,YAAY,GAAGN,aAAa,CAACF,MAAM,CAAC;;EAE1C;EACA,MAAMS,aAAa,GAAG,GAAGF,cAAc,OAAOC,YAAY,EAAE;;EAE5D;EACA,OAAOlE,eAAe,CAACmE,aAAa,CAAC,IAAI,IAAI;AACjD","ignoreList":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aguacerowx/react-native",
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "Native weather rendering for React Native",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"author": "Michael Barletta",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"react-native",
|
|
9
|
+
"android",
|
|
10
|
+
"weather",
|
|
11
|
+
"map"
|
|
12
|
+
],
|
|
13
|
+
"main": "lib/commonjs/index.js",
|
|
14
|
+
"module": "lib/module/index.js",
|
|
15
|
+
"react-native": "index.js",
|
|
16
|
+
"source": "index.js",
|
|
17
|
+
"types": "lib/typescript/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"lib",
|
|
20
|
+
"android",
|
|
21
|
+
"ios",
|
|
22
|
+
"cpp",
|
|
23
|
+
"*.podspec",
|
|
24
|
+
"index.js",
|
|
25
|
+
"WeatherLayerManager.js",
|
|
26
|
+
"GridRenderLayer.js",
|
|
27
|
+
"!lib/typescript/example",
|
|
28
|
+
"!**/__tests__",
|
|
29
|
+
"!**/__fixtures__",
|
|
30
|
+
"!**/__mocks__",
|
|
31
|
+
"!lib/**/*.podspec",
|
|
32
|
+
"!lib/**/*.swift",
|
|
33
|
+
"!lib/**/*.mm",
|
|
34
|
+
"!lib/**/*.h"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
|
|
38
|
+
"build": "npm run clean && bob build",
|
|
39
|
+
"prepare": "npm run build"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@rnmapbox/maps": "*",
|
|
43
|
+
"react": "*",
|
|
44
|
+
"react-native": "*",
|
|
45
|
+
"react-native-device-info": ">=10.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@aguacerowx/javascript-sdk": "^0.0.6",
|
|
49
|
+
"base64-js": "^1.5.1"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"react-native-builder-bob": "^0.23.2"
|
|
53
|
+
},
|
|
54
|
+
"react-native-builder-bob": {
|
|
55
|
+
"source": ".",
|
|
56
|
+
"output": "lib",
|
|
57
|
+
"targets": [
|
|
58
|
+
"commonjs",
|
|
59
|
+
"module",
|
|
60
|
+
[
|
|
61
|
+
"typescript",
|
|
62
|
+
{
|
|
63
|
+
"project": "tsconfig.json"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"codegenConfig": {
|
|
69
|
+
"name": "AguaceroWxReactNativeSpec",
|
|
70
|
+
"type": "all",
|
|
71
|
+
"jsSrcsDir": "src"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// react-native-builder-bob.config.js
|
|
4
|
+
module.exports = {
|
|
5
|
+
source: '.',
|
|
6
|
+
output: 'lib',
|
|
7
|
+
targets: ['commonjs', 'module',
|
|
8
|
+
// The typescript target is correct and necessary
|
|
9
|
+
['typescript', {
|
|
10
|
+
project: 'tsconfig.json'
|
|
11
|
+
}]]
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=react-native-builder-bob.config.js.map
|
|
@@ -0,0 +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":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.AguaceroContext = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
function _interopRequireDefault(e) {
|
|
9
|
+
return e && e.__esModule ? e : {
|
|
10
|
+
default: e
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
// This will hold the single instance of our AguaceroCore
|
|
14
|
+
const AguaceroContext = exports.AguaceroContext = /*#__PURE__*/_react.default.createContext(null);
|
|
15
|
+
//# sourceMappingURL=AguaceroContext.js.map
|
|
@@ -0,0 +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":[]}
|