nn-widgets 0.1.20 → 0.1.22
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/android/build.gradle +10 -1
- package/android/libs/nn-widgets-core.aar +0 -0
- package/android/src/main/java/expo/modules/nnwidgets/NNWidgetsModule.kt +16 -136
- package/build/NNWidgets.types.d.ts +68 -0
- package/build/NNWidgets.types.js +1 -2
- package/build/NNWidgetsModule.js +1 -3
- package/build/icons.js +1 -136
- package/build/index.d.ts +2 -2
- package/build/index.js +1 -158
- package/ios/Frameworks/NNWidgetsCore.xcframework/Info.plist +44 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Headers/NNWidgetsCore.h +2 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Info.plist +20 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/arm64-apple-ios.swiftinterface +23 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.framework/NNWidgetsCore +0 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64/NNWidgetsCore.swiftinterface +23 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Headers/NNWidgetsCore.h +2 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Info.plist +20 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +23 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/NNWidgetsCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +23 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/Modules/module.modulemap +4 -0
- package/ios/Frameworks/NNWidgetsCore.xcframework/ios-arm64_x86_64-simulator/NNWidgetsCore.framework/NNWidgetsCore +0 -0
- package/ios/NNWidgets.podspec +5 -1
- package/ios/NNWidgetsModule.swift +15 -83
- package/package.json +5 -4
- package/plugin/build/icons.js +1 -197
- package/plugin/build/index.js +1 -70
- package/plugin/build/types.d.ts +33 -0
- package/plugin/build/types.js +1 -2
- package/plugin/build/withAndroidWidget.js +1 -1289
- package/plugin/build/withIosWidget.js +1 -2103
- package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/results.bin +0 -1
- package/android/build/.transforms/c5ed6666749162ed9ddcb4d93b73d4f8/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/results.bin +0 -1
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/BuildConfig.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$Companion.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/nnwidgets/NNWidgetsModule.dex +0 -0
- package/android/build/.transforms/ec68a81b79c89c82d105758048ccde1e/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/expo/modules/nnwidgets/BuildConfig.java +0 -10
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/nnwidgets/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -16
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/nn-widgets_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule$definition$lambda$5$$inlined$FunctionWithoutArgs$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/nnwidgets/NNWidgetsModule.class +0 -0
- package/build/NNWidgets.types.d.ts.map +0 -1
- package/build/NNWidgets.types.js.map +0 -1
- package/build/NNWidgetsModule.d.ts.map +0 -1
- package/build/NNWidgetsModule.js.map +0 -1
- package/build/icons.d.ts.map +0 -1
- package/build/icons.js.map +0 -1
- package/build/index.d.ts.map +0 -1
- package/build/index.js.map +0 -1
- package/plugin/build/icons.d.ts.map +0 -1
- package/plugin/build/index.d.ts.map +0 -1
- package/plugin/build/types.d.ts.map +0 -1
- package/plugin/build/withAndroidWidget.d.ts.map +0 -1
- package/plugin/build/withIosWidget.d.ts.map +0 -1
- package/plugin/tsconfig.tsbuildinfo +0 -1
- package/publish.sh +0 -59
package/plugin/build/index.js
CHANGED
|
@@ -1,70 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withAndroidWidget = exports.withIosWidget = void 0;
|
|
4
|
-
const config_plugins_1 = require("@expo/config-plugins");
|
|
5
|
-
const withIosWidget_1 = require("./withIosWidget");
|
|
6
|
-
Object.defineProperty(exports, "withIosWidget", { enumerable: true, get: function () { return withIosWidget_1.withIosWidget; } });
|
|
7
|
-
const withAndroidWidget_1 = require("./withAndroidWidget");
|
|
8
|
-
Object.defineProperty(exports, "withAndroidWidget", { enumerable: true, get: function () { return withAndroidWidget_1.withAndroidWidget; } });
|
|
9
|
-
/**
|
|
10
|
-
* nn-widgets Expo Config Plugin
|
|
11
|
-
*
|
|
12
|
-
* Adds native widget support for iOS (WidgetKit) and Android (App Widgets)
|
|
13
|
-
* to your Expo/React Native app.
|
|
14
|
-
*
|
|
15
|
-
* Supports multiple independent widgets per app.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```js
|
|
19
|
-
* // app.json or app.config.js
|
|
20
|
-
* {
|
|
21
|
-
* "expo": {
|
|
22
|
-
* "plugins": [
|
|
23
|
-
* ["nn-widgets", {
|
|
24
|
-
* "widgets": [
|
|
25
|
-
* {
|
|
26
|
-
* "name": "MainWidget",
|
|
27
|
-
* "displayName": "My App",
|
|
28
|
-
* "description": "Quick access",
|
|
29
|
-
* "deepLinkUrl": "myapp://widget/home",
|
|
30
|
-
* "widgetFamilies": ["systemSmall", "systemMedium"]
|
|
31
|
-
* },
|
|
32
|
-
* {
|
|
33
|
-
* "name": "StatsWidget",
|
|
34
|
-
* "displayName": "Stats",
|
|
35
|
-
* "description": "View your stats",
|
|
36
|
-
* "deepLinkUrl": "myapp://widget/stats",
|
|
37
|
-
* "widgetFamilies": ["systemSmall"]
|
|
38
|
-
* }
|
|
39
|
-
* ],
|
|
40
|
-
* "ios": {
|
|
41
|
-
* "deploymentTarget": "17.0",
|
|
42
|
-
* "devTeam": "YOUR_TEAM_ID"
|
|
43
|
-
* },
|
|
44
|
-
* "android": {
|
|
45
|
-
* "minWidth": 110,
|
|
46
|
-
* "minHeight": 40
|
|
47
|
-
* }
|
|
48
|
-
* }]
|
|
49
|
-
* ]
|
|
50
|
-
* }
|
|
51
|
-
* }
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
const withNNWidgets = (config, props = {}) => {
|
|
55
|
-
const pluginProps = props || {};
|
|
56
|
-
const widgetCount = pluginProps.widgets?.length || 1;
|
|
57
|
-
console.log(`[nn-widgets] Configuring ${widgetCount} native widget(s)...`);
|
|
58
|
-
// Apply iOS widget configuration
|
|
59
|
-
config = (0, withIosWidget_1.withIosWidget)(config, pluginProps);
|
|
60
|
-
// Apply Android widget configuration
|
|
61
|
-
config = (0, withAndroidWidget_1.withAndroidWidget)(config, pluginProps);
|
|
62
|
-
console.log("[nn-widgets] Widget configuration complete!");
|
|
63
|
-
return config;
|
|
64
|
-
};
|
|
65
|
-
// Package info for createRunOncePlugin
|
|
66
|
-
const pkg = {
|
|
67
|
-
name: "nn-widgets",
|
|
68
|
-
version: "0.2.0",
|
|
69
|
-
};
|
|
70
|
-
exports.default = (0, config_plugins_1.createRunOncePlugin)(withNNWidgets, pkg.name, pkg.version);
|
|
1
|
+
'use strict';const _0x4e5bf4=_0xf3ff;(function(_0x5d2a75,_0x34d1ab){const _0x509528=_0xf3ff,_0x34449a=_0x5d2a75();while(!![]){try{const _0x44288e=parseInt(_0x509528(0x1bf))/0x1+parseInt(_0x509528(0x1ba))/0x2+parseInt(_0x509528(0x1b8))/0x3+-parseInt(_0x509528(0x1a6))/0x4+-parseInt(_0x509528(0x1ab))/0x5*(parseInt(_0x509528(0x1a2))/0x6)+parseInt(_0x509528(0x1a9))/0x7+-parseInt(_0x509528(0x1b2))/0x8;if(_0x44288e===_0x34d1ab)break;else _0x34449a['push'](_0x34449a['shift']());}catch(_0x3c382c){_0x34449a['push'](_0x34449a['shift']());}}}(_0x304e,0x548a4));const _0x1d1e0c={};_0x1d1e0c[_0x4e5bf4(0x1b5)]=!0x0,(Object['defin'+'eProp'+'erty'](exports,_0x4e5bf4(0x1c0)+_0x4e5bf4(0x1a3),_0x1d1e0c),exports['withA'+_0x4e5bf4(0x1c6)+'dWidg'+'et']=exports[_0x4e5bf4(0x1bd)+_0x4e5bf4(0x1c8)+_0x4e5bf4(0x1c2)]=void 0x0);function _0x304e(){const _0x6b1b7e=['x19LC00','zvj1BK8','z2v0','BMfTzq','y3jLyxq','zgDLDcG','BMrYB2K','zgvMyxu','B3nxAwq','zfDPzgC','zvbYB3a','z3vYyxq','DMvYC2K','BMnLugW','Aw9Uigm','CYKUlI4','mtjRvxnuCeC','B2r1Bgu','DwDPBG','CMLUzYa','mtyZnZeYwMXOrNbk','ig5HDgK','BgvUz3q','nJqZnJiYweTiufnw','zgDLDhm','nZaXnJC1wvD6yvHY','y29UzMK','D2L0Aee','zgvMAw4','DguH','DMuGD2K','zgDLDca','ntGXmdK2ofnoq2vJCG','r3jwsue','mc4YlJa','DMfSDwu','CMfIBgu','zxj0Eq','mtC1nZCYn2DoBKjYDq','BM4TD2K','mtm2nJi1ofPdCMDzyq','AwrNzxq','zw51Bwu','D2L0AeK','D2LKz2u','mZmYnJfRueLoz3a'];_0x304e=function(){return _0x6b1b7e;};return _0x304e();}const config_plugins_1=require('@expo/config-plugins'),withIosWidget_1=require('./withIosWidget'),_0x4d7707={};_0x4d7707[_0x4e5bf4(0x1bc)+_0x4e5bf4(0x1b6)]=!0x0,_0x4d7707[_0x4e5bf4(0x1c2)]=function(){const _0x5ab6d4=_0x4e5bf4;return withIosWidget_1['withI'+'osWid'+_0x5ab6d4(0x1c2)];},Object['defin'+_0x4e5bf4(0x1ca)+_0x4e5bf4(0x1b7)](exports,'withI'+_0x4e5bf4(0x1c8)+_0x4e5bf4(0x1c2),_0x4d7707);const withAndroidWidget_1=require('./withAndroidWidget'),_0x24526b={};_0x24526b['enume'+_0x4e5bf4(0x1b6)]=!0x0,_0x24526b[_0x4e5bf4(0x1c2)]=function(){const _0x45d7d9=_0x4e5bf4;return withAndroidWidget_1[_0x45d7d9(0x1ad)+'ndroi'+_0x45d7d9(0x1c9)+'et'];},Object[_0x4e5bf4(0x1ae)+'eProp'+'erty'](exports,_0x4e5bf4(0x1ad)+_0x4e5bf4(0x1c6)+_0x4e5bf4(0x1c9)+'et',_0x24526b);const _0xdc1762={};_0xdc1762[_0x4e5bf4(0x1c3)]=_0x4e5bf4(0x1b9)+_0x4e5bf4(0x1aa),_0xdc1762[_0x4e5bf4(0x1cc)+'on']=_0x4e5bf4(0x1b4);const withNNWidgets=(_0x1376c6,_0x8622cd={})=>{const _0x4b469e=_0x4e5bf4,_0x1bb5b6={};_0x1bb5b6[_0x4b469e(0x1b3)]=function(_0x30bb10,_0xd25a2f){return _0x30bb10==_0xd25a2f;};const _0x2ac307=_0x1bb5b6;var _0x4858bf;const _0x4c970d=_0x8622cd||{},_0x5ac897=(_0x2ac307[_0x4b469e(0x1b3)](_0x4858bf=_0x4c970d[_0x4b469e(0x1be)+'ts'],null)?void 0x0:_0x4858bf[_0x4b469e(0x1a8)+'h'])||0x1;return console['log']('[nn-w'+_0x4b469e(0x1bb)+'s]\x20Co'+'nfigu'+_0x4b469e(0x1a5)+_0x5ac897+(_0x4b469e(0x1a7)+_0x4b469e(0x1b0)+_0x4b469e(0x1c5)+_0x4b469e(0x1a1))),_0x1376c6=(0x0,withIosWidget_1[_0x4b469e(0x1bd)+_0x4b469e(0x1c8)+_0x4b469e(0x1c2)])(_0x1376c6,_0x4c970d),_0x1376c6=(0x0,withAndroidWidget_1[_0x4b469e(0x1ad)+'ndroi'+_0x4b469e(0x1c9)+'et'])(_0x1376c6,_0x4c970d),console['log']('[nn-w'+_0x4b469e(0x1bb)+'s]\x20Wi'+_0x4b469e(0x1b1)+_0x4b469e(0x1ac)+_0x4b469e(0x1cb)+_0x4b469e(0x1a0)+'omple'+_0x4b469e(0x1af)),_0x1376c6;},pkg=_0xdc1762;function _0xf3ff(_0x22692b,_0x2f1568){_0x22692b=_0x22692b-0x1a0;const _0x304e6d=_0x304e();let _0xf3fff3=_0x304e6d[_0x22692b];if(_0xf3ff['SLRCoR']===undefined){var _0x3bf287=function(_0x226e4d){const _0x1e1d02='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x27e21b='',_0x161836='';for(let _0x5c7f32=0x0,_0x12d0b7,_0x555d56,_0x560dcc=0x0;_0x555d56=_0x226e4d['charAt'](_0x560dcc++);~_0x555d56&&(_0x12d0b7=_0x5c7f32%0x4?_0x12d0b7*0x40+_0x555d56:_0x555d56,_0x5c7f32++%0x4)?_0x27e21b+=String['fromCharCode'](0xff&_0x12d0b7>>(-0x2*_0x5c7f32&0x6)):0x0){_0x555d56=_0x1e1d02['indexOf'](_0x555d56);}for(let _0x4ddc89=0x0,_0x1e22e1=_0x27e21b['length'];_0x4ddc89<_0x1e22e1;_0x4ddc89++){_0x161836+='%'+('00'+_0x27e21b['charCodeAt'](_0x4ddc89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x161836);};_0xf3ff['VKtjgw']=_0x3bf287,_0xf3ff['ujLDGD']={},_0xf3ff['SLRCoR']=!![];}const _0x16ce27=_0x304e6d[0x0],_0x203e90=_0x22692b+_0x16ce27,_0xbff088=_0xf3ff['ujLDGD'][_0x203e90];return!_0xbff088?(_0xf3fff3=_0xf3ff['VKtjgw'](_0xf3fff3),_0xf3ff['ujLDGD'][_0x203e90]=_0xf3fff3):_0xf3fff3=_0xbff088,_0xf3fff3;}exports[_0x4e5bf4(0x1c7)+'lt']=(0x0,config_plugins_1[_0x4e5bf4(0x1c4)+_0x4e5bf4(0x1c1)+_0x4e5bf4(0x1cd)+_0x4e5bf4(0x1a4)])(withNNWidgets,pkg[_0x4e5bf4(0x1c3)],pkg[_0x4e5bf4(0x1cc)+'on']);
|
package/plugin/build/types.d.ts
CHANGED
|
@@ -30,6 +30,22 @@ export type FlexRowConfig = number[] | {
|
|
|
30
30
|
justifyContent?: FlexJustifyContent;
|
|
31
31
|
/** How to align items vertically @default "center" */
|
|
32
32
|
alignItems?: FlexAlignItems;
|
|
33
|
+
/** Row background color (hex) */
|
|
34
|
+
backgroundColor?: string;
|
|
35
|
+
/** Row border radius in points. Use 999 for capsule/pill shape. @default 0 */
|
|
36
|
+
borderRadius?: number;
|
|
37
|
+
/** Fixed row height in points. Rows without height share remaining space equally. */
|
|
38
|
+
height?: number;
|
|
39
|
+
/** Top margin in points @default 0 */
|
|
40
|
+
marginTop?: number;
|
|
41
|
+
/** Bottom margin in points @default 0 */
|
|
42
|
+
marginBottom?: number;
|
|
43
|
+
/** Left margin in points @default 0 */
|
|
44
|
+
marginLeft?: number;
|
|
45
|
+
/** Right margin in points @default 0 */
|
|
46
|
+
marginRight?: number;
|
|
47
|
+
/** Per-cell styles (index maps 1:1 with ratios) */
|
|
48
|
+
cells?: (Record<string, unknown> | null)[];
|
|
33
49
|
};
|
|
34
50
|
/**
|
|
35
51
|
* Flexible grid layout configuration per widget family
|
|
@@ -276,6 +292,17 @@ export interface WidgetConfig {
|
|
|
276
292
|
minWidth?: number;
|
|
277
293
|
minHeight?: number;
|
|
278
294
|
resizeMode?: "none" | "horizontal" | "vertical" | "horizontal|vertical";
|
|
295
|
+
/**
|
|
296
|
+
* Per-family size overrides for Android multi-family widgets.
|
|
297
|
+
* Keys are family names: "systemSmall", "systemMedium", "systemLarge".
|
|
298
|
+
* Values override the default targetCellWidth/Height and minWidth/Height.
|
|
299
|
+
*/
|
|
300
|
+
familySizes?: Record<string, {
|
|
301
|
+
targetCellWidth?: number;
|
|
302
|
+
targetCellHeight?: number;
|
|
303
|
+
minWidth?: number;
|
|
304
|
+
minHeight?: number;
|
|
305
|
+
}>;
|
|
279
306
|
};
|
|
280
307
|
}
|
|
281
308
|
/**
|
|
@@ -413,6 +440,12 @@ export interface ResolvedWidgetConfig {
|
|
|
413
440
|
minWidth: number;
|
|
414
441
|
minHeight: number;
|
|
415
442
|
resizeMode: string;
|
|
443
|
+
familySizes?: Record<string, {
|
|
444
|
+
targetCellWidth?: number;
|
|
445
|
+
targetCellHeight?: number;
|
|
446
|
+
minWidth?: number;
|
|
447
|
+
minHeight?: number;
|
|
448
|
+
}>;
|
|
416
449
|
};
|
|
417
450
|
}
|
|
418
451
|
/**
|
package/plugin/build/types.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
'use strict';var _0x180078=_0x17d7;(function(_0x316459,_0x3b3145){var _0x5465ed=_0x17d7,_0x4856da=_0x316459();while(!![]){try{var _0x4a9659=-parseInt(_0x5465ed(0x1dc))/0x1+parseInt(_0x5465ed(0x1da))/0x2+parseInt(_0x5465ed(0x1d4))/0x3*(-parseInt(_0x5465ed(0x1d8))/0x4)+parseInt(_0x5465ed(0x1de))/0x5+parseInt(_0x5465ed(0x1db))/0x6*(-parseInt(_0x5465ed(0x1d5))/0x7)+parseInt(_0x5465ed(0x1df))/0x8*(parseInt(_0x5465ed(0x1e0))/0x9)+parseInt(_0x5465ed(0x1d7))/0xa;if(_0x4a9659===_0x3b3145)break;else _0x4856da['push'](_0x4856da['shift']());}catch(_0x16abd1){_0x4856da['push'](_0x4856da['shift']());}}}(_0x2ba1,0xd9453));function _0x17d7(_0x2ff4e4,_0x1ebc1a){_0x2ff4e4=_0x2ff4e4-0x1d4;var _0x2ba1f1=_0x2ba1();var _0x17d7d6=_0x2ba1f1[_0x2ff4e4];if(_0x17d7['YhSKMj']===undefined){var _0x4fb6f3=function(_0x2175a9){var _0x48cff5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1bde41='',_0x53b4c3='';for(var _0x910bea=0x0,_0x39872d,_0x2a6f97,_0x4b6320=0x0;_0x2a6f97=_0x2175a9['charAt'](_0x4b6320++);~_0x2a6f97&&(_0x39872d=_0x910bea%0x4?_0x39872d*0x40+_0x2a6f97:_0x2a6f97,_0x910bea++%0x4)?_0x1bde41+=String['fromCharCode'](0xff&_0x39872d>>(-0x2*_0x910bea&0x6)):0x0){_0x2a6f97=_0x48cff5['indexOf'](_0x2a6f97);}for(var _0x19b9be=0x0,_0x54c980=_0x1bde41['length'];_0x19b9be<_0x54c980;_0x19b9be++){_0x53b4c3+='%'+('00'+_0x1bde41['charCodeAt'](_0x19b9be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x53b4c3);};_0x17d7['beJHua']=_0x4fb6f3,_0x17d7['jTiRqs']={},_0x17d7['YhSKMj']=!![];}var _0x3c8540=_0x2ba1f1[0x0],_0xbceca1=_0x2ff4e4+_0x3c8540,_0xb254c6=_0x17d7['jTiRqs'][_0xbceca1];return!_0xb254c6?(_0x17d7d6=_0x17d7['beJHua'](_0x17d7d6),_0x17d7['jTiRqs'][_0xbceca1]=_0x17d7d6):_0x17d7d6=_0xb254c6,_0x17d7d6;}var _0x1bde41={};_0x1bde41[_0x180078(0x1d6)]=!0x0,Object[_0x180078(0x1dd)+'eProp'+'erty'](exports,_0x180078(0x1d9)+'odule',_0x1bde41);function _0x2ba1(){var _0x218529=['DMfSDwu','ntyXndKZmhzSAMjUqW','ofzSyvrquG','x19LC00','nZm0nJmWz0v4sMPj','mtjutw5dDKS','mtq0mtGXoejfDfHStW','zgvMAw4','nte3mdaZnxH6ANr2DG','nZG4mg1ps0LoCW','mti2ntrcAKrMy3a','mJK0mtiZwfnStujo','mJG2otyWmvLpwvPXsq'];_0x2ba1=function(){return _0x218529;};return _0x2ba1();}
|