@nativescript/core 9.0.0-next-09-27-2025-18063560861 → 9.0.0-next-10-06-2025-18277360121
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/package.json +1 -1
- package/platforms/android/include.gradle +51 -0
- package/platforms/android/java/org/nativescript/Process.java +59 -0
- package/platforms/android/java/org/nativescript/widgets/AbsoluteLayout.java +88 -0
- package/platforms/android/java/org/nativescript/widgets/AnimatorHelper.java +61 -0
- package/platforms/android/java/org/nativescript/widgets/Async.java +1356 -0
- package/platforms/android/java/org/nativescript/widgets/BorderDrawable.java +936 -0
- package/platforms/android/java/org/nativescript/widgets/BottomNavigationBar.java +308 -0
- package/platforms/android/java/org/nativescript/widgets/BoxShadowDrawable.java +175 -0
- package/platforms/android/java/org/nativescript/widgets/CSSValue.java +34 -0
- package/platforms/android/java/org/nativescript/widgets/CommonLayoutParams.java +456 -0
- package/platforms/android/java/org/nativescript/widgets/ContentLayout.java +85 -0
- package/platforms/android/java/org/nativescript/widgets/CustomTransition.java +135 -0
- package/platforms/android/java/org/nativescript/widgets/CustomTypefaceSpan.java +44 -0
- package/platforms/android/java/org/nativescript/widgets/Dock.java +15 -0
- package/platforms/android/java/org/nativescript/widgets/DockLayout.java +185 -0
- package/platforms/android/java/org/nativescript/widgets/FileHelper.java +815 -0
- package/platforms/android/java/org/nativescript/widgets/FlexLine.java +177 -0
- package/platforms/android/java/org/nativescript/widgets/FlexboxLayout.java +2769 -0
- package/platforms/android/java/org/nativescript/widgets/FragmentBase.java +14 -0
- package/platforms/android/java/org/nativescript/widgets/GridLayout.java +1172 -0
- package/platforms/android/java/org/nativescript/widgets/GridUnitType.java +10 -0
- package/platforms/android/java/org/nativescript/widgets/HorizontalScrollView.java +256 -0
- package/platforms/android/java/org/nativescript/widgets/ImageView.java +423 -0
- package/platforms/android/java/org/nativescript/widgets/ItemSpec.java +56 -0
- package/platforms/android/java/org/nativescript/widgets/LayoutBase.java +98 -0
- package/platforms/android/java/org/nativescript/widgets/LinearGradientDefinition.java +46 -0
- package/platforms/android/java/org/nativescript/widgets/Orientation.java +9 -0
- package/platforms/android/java/org/nativescript/widgets/OriginPoint.java +74 -0
- package/platforms/android/java/org/nativescript/widgets/ScrollSavedState.java +63 -0
- package/platforms/android/java/org/nativescript/widgets/SegmentedBarColorDrawable.java +27 -0
- package/platforms/android/java/org/nativescript/widgets/StackLayout.java +231 -0
- package/platforms/android/java/org/nativescript/widgets/StyleableTextView.java +50 -0
- package/platforms/android/java/org/nativescript/widgets/TabIconRenderingMode.java +6 -0
- package/platforms/android/java/org/nativescript/widgets/TabItemSpec.java +15 -0
- package/platforms/android/java/org/nativescript/widgets/TabLayout.java +451 -0
- package/platforms/android/java/org/nativescript/widgets/TabStrip.java +294 -0
- package/platforms/android/java/org/nativescript/widgets/TabViewPager.java +64 -0
- package/platforms/android/java/org/nativescript/widgets/TabsBar.java +443 -0
- package/platforms/android/java/org/nativescript/widgets/Utils.java +546 -0
- package/platforms/android/java/org/nativescript/widgets/VerticalScrollView.java +258 -0
- package/platforms/android/java/org/nativescript/widgets/ViewHelper.java +564 -0
- package/platforms/android/java/org/nativescript/widgets/WrapLayout.java +252 -0
- package/platforms/android/java/org/nativescript/widgets/image/AsyncTask.java +679 -0
- package/platforms/android/java/org/nativescript/widgets/image/BitmapOwner.java +17 -0
- package/platforms/android/java/org/nativescript/widgets/image/Cache.java +471 -0
- package/platforms/android/java/org/nativescript/widgets/image/DiskLruCache.java +970 -0
- package/platforms/android/java/org/nativescript/widgets/image/Fetcher.java +747 -0
- package/platforms/android/java/org/nativescript/widgets/image/Utils.java +58 -0
- package/platforms/android/java/org/nativescript/widgets/image/Worker.java +571 -0
- package/platforms/ios/src/TNSWidgets/Info.plist +26 -0
- package/platforms/ios/src/TNSWidgets/NSData+Async.m +42 -0
- package/platforms/ios/src/TNSWidgets/NSFileHandle+Async.m +82 -0
- package/platforms/ios/src/TNSWidgets/NSObject+Swizzling.m +68 -0
- package/platforms/ios/src/TNSWidgets/NSString+Async.m +51 -0
- package/platforms/ios/src/TNSWidgets/TNSLabel.m +42 -0
- package/platforms/ios/src/TNSWidgets/UIImage+TNSBlocks.m +77 -0
- package/platforms/ios/src/TNSWidgets/UIView+PassThroughParent.m +53 -0
- package/platforms/ios/src/TNSWidgets/UIView+PropertyBag.m +72 -0
- package/platforms/ios/src/module.modulemap +5 -0
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +0 -102
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +0 -223
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/NSData+Async.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/NSFileHandle+Async.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders → src/TNSWidgets}/NSObject+Swizzling.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/NSString+Async.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/TNSLabel.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/TNSWidgets.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/UIImage+TNSBlocks.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers → src/TNSWidgets}/UIView+PassThroughParent.h +0 -0
- /package/platforms/ios/{TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders → src/TNSWidgets}/UIView+PropertyBag.h +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript/core",
|
|
3
|
-
"version": "9.0.0-next-
|
|
3
|
+
"version": "9.0.0-next-10-06-2025-18277360121",
|
|
4
4
|
"description": "A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index",
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
dependencies {
|
|
3
|
+
def androidXViewPagerVersion = "1.0.0"
|
|
4
|
+
if (project.hasProperty("androidXViewPager")) {
|
|
5
|
+
androidXViewPagerVersion = androidXViewPager
|
|
6
|
+
println "\t + using android X library androidx.viewpager2:viewpager2:$androidXViewPagerVersion"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
def androidXFragmentVersion = "1.4.1"
|
|
10
|
+
if (project.hasProperty("androidXFragment")) {
|
|
11
|
+
androidXFragmentVersion = androidXFragment
|
|
12
|
+
println "\t + using android X library androidx.fragment:fragment:$androidXFragmentVersion"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
def androidXTransitionVersion = "1.4.1"
|
|
16
|
+
if (project.hasProperty("androidXTransition")) {
|
|
17
|
+
androidXTransitionVersion = androidXTransition
|
|
18
|
+
println "\t + using android X library androidx.transition:transition:$androidXTransitionVersion"
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
def androidXExifInterfaceVersion = "1.3.3"
|
|
22
|
+
if (project.hasProperty("androidXExifInterface")) {
|
|
23
|
+
androidXExifInterfaceVersion = androidXExifInterface
|
|
24
|
+
println "\t + using android X library androidx.exifinterface:exifinterface:$androidXExifInterfaceVersion"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def androidXAppCompatVersion = "1.4.1"
|
|
29
|
+
if (project.hasProperty("androidXAppCompat")) {
|
|
30
|
+
androidXAppCompatVersion = androidXAppCompat
|
|
31
|
+
println "\t + using android X library androidx.appcompat:appcompat:$androidXAppCompatVersion"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
def androidXDocumentFileVersion = "1.0.1"
|
|
35
|
+
if (project.hasProperty("androidXDocumentFile")) {
|
|
36
|
+
androidXDocumentFileVersion = androidXDocumentFile
|
|
37
|
+
println "\t + using android X library androidx.documentfile:documentfile:$androidXDocumentFileVersion"
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
42
|
+
|
|
43
|
+
println 'Using android X'
|
|
44
|
+
// implementation 'androidx.viewpager:viewpager:' + androidxVersion
|
|
45
|
+
implementation "androidx.viewpager2:viewpager2:$androidXViewPagerVersion"
|
|
46
|
+
implementation "androidx.fragment:fragment:$androidXFragmentVersion"
|
|
47
|
+
implementation "androidx.transition:transition:$androidXTransitionVersion"
|
|
48
|
+
implementation "androidx.exifinterface:exifinterface:$androidXExifInterfaceVersion"
|
|
49
|
+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
|
|
50
|
+
implementation "androidx.documentfile:documentfile:$androidXDocumentFileVersion"
|
|
51
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
package org.nativescript;
|
|
2
|
+
|
|
3
|
+
import android.os.SystemClock;
|
|
4
|
+
import android.util.Log;
|
|
5
|
+
|
|
6
|
+
import java.io.BufferedReader;
|
|
7
|
+
import java.io.FileReader;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Created by cankov on 15/05/2017.
|
|
11
|
+
*/
|
|
12
|
+
public class Process {
|
|
13
|
+
static long startTime = -1;
|
|
14
|
+
|
|
15
|
+
public static long getStartTime() {
|
|
16
|
+
if (startTime != -1) {
|
|
17
|
+
return startTime;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
try {
|
|
21
|
+
int pid = android.os.Process.myPid();
|
|
22
|
+
final String path = "/proc/" + pid + "/stat";
|
|
23
|
+
final BufferedReader reader = new BufferedReader(new FileReader(path));
|
|
24
|
+
final String stat;
|
|
25
|
+
try {
|
|
26
|
+
stat = reader.readLine();
|
|
27
|
+
} finally {
|
|
28
|
+
reader.close();
|
|
29
|
+
}
|
|
30
|
+
final String field2End = ") ";
|
|
31
|
+
final String fieldSep = " ";
|
|
32
|
+
final int fieldStartTime = 20;
|
|
33
|
+
final int msInSec = 1000;
|
|
34
|
+
|
|
35
|
+
final String[] fields = stat.substring(stat.lastIndexOf(field2End)).split(fieldSep);
|
|
36
|
+
final long t = Long.parseLong(fields[fieldStartTime]);
|
|
37
|
+
int tckName;
|
|
38
|
+
try {
|
|
39
|
+
tckName = Class.forName("android.system.OsConstants").getField("_SC_CLK_TCK").getInt(null);
|
|
40
|
+
} catch (ClassNotFoundException e) {
|
|
41
|
+
tckName = Class.forName("libcore.io.OsConstants").getField("_SC_CLK_TCK").getInt(null);
|
|
42
|
+
}
|
|
43
|
+
final Object os = Class.forName("libcore.io.Libcore").getField("os").get(null);
|
|
44
|
+
final long tck = (Long) os.getClass().getMethod("sysconf", Integer.TYPE).invoke(os, tckName);
|
|
45
|
+
startTime = t * msInSec / tck;
|
|
46
|
+
} catch (Exception e) {
|
|
47
|
+
Log.v("JS", "Failed to get process start time. Using the current time as start time. Error: " + e);
|
|
48
|
+
startTime = SystemClock.elapsedRealtime();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return startTime;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public static long getUpTime() {
|
|
55
|
+
long startTime = getStartTime();
|
|
56
|
+
long currentTime = SystemClock.elapsedRealtime();
|
|
57
|
+
return currentTime - startTime;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*/
|
|
4
|
+
package org.nativescript.widgets;
|
|
5
|
+
|
|
6
|
+
import android.content.Context;
|
|
7
|
+
import android.view.View;
|
|
8
|
+
import android.util.AttributeSet;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @author hhristov
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
public class AbsoluteLayout extends LayoutBase {
|
|
15
|
+
|
|
16
|
+
public AbsoluteLayout(Context context) {
|
|
17
|
+
this(context, null);
|
|
18
|
+
}
|
|
19
|
+
public AbsoluteLayout(Context context, AttributeSet attrs) {
|
|
20
|
+
this(context, attrs, 0);
|
|
21
|
+
}
|
|
22
|
+
public AbsoluteLayout(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
23
|
+
super(context, attrs, defStyleAttr);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@Override
|
|
27
|
+
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
28
|
+
CommonLayoutParams.adjustChildrenLayoutParams(this, widthMeasureSpec, heightMeasureSpec);
|
|
29
|
+
|
|
30
|
+
int measureWidth = 0;
|
|
31
|
+
int measureHeight = 0;
|
|
32
|
+
int childMeasureSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED);
|
|
33
|
+
|
|
34
|
+
for (int i = 0, count = this.getChildCount(); i < count; i++) {
|
|
35
|
+
View child = this.getChildAt(i);
|
|
36
|
+
if (child.getVisibility() == View.GONE) {
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
CommonLayoutParams.measureChild(child, childMeasureSpec, childMeasureSpec);
|
|
41
|
+
final int childMeasuredWidth = CommonLayoutParams.getDesiredWidth(child);
|
|
42
|
+
final int childMeasuredHeight = CommonLayoutParams.getDesiredHeight(child);
|
|
43
|
+
|
|
44
|
+
CommonLayoutParams childLayoutParams = (CommonLayoutParams) child.getLayoutParams();
|
|
45
|
+
measureWidth = Math.max(measureWidth, childLayoutParams.left + childMeasuredWidth);
|
|
46
|
+
measureHeight = Math.max(measureHeight, childLayoutParams.top + childMeasuredHeight);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Add in our padding
|
|
50
|
+
measureWidth += this.getPaddingLeft() + this.getPaddingRight();
|
|
51
|
+
measureHeight += this.getPaddingTop() + this.getPaddingBottom();
|
|
52
|
+
|
|
53
|
+
// Check against our minimum height
|
|
54
|
+
measureWidth = Math.max(measureWidth, this.getSuggestedMinimumWidth());
|
|
55
|
+
measureHeight = Math.max(measureHeight, this.getSuggestedMinimumHeight());
|
|
56
|
+
|
|
57
|
+
int widthSizeAndState = resolveSizeAndState(measureWidth, widthMeasureSpec, 0);
|
|
58
|
+
int heightSizeAndState = resolveSizeAndState(measureHeight, heightMeasureSpec, 0);
|
|
59
|
+
|
|
60
|
+
this.setMeasuredDimension(widthSizeAndState, heightSizeAndState);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@Override
|
|
64
|
+
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
|
|
65
|
+
int leftPadding = this.getPaddingLeft();
|
|
66
|
+
int topPadding = this.getPaddingTop();
|
|
67
|
+
|
|
68
|
+
for (int i = 0, count = this.getChildCount(); i < count; i++) {
|
|
69
|
+
View child = this.getChildAt(i);
|
|
70
|
+
if (child.getVisibility() == View.GONE) {
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
CommonLayoutParams childLayoutParams = (CommonLayoutParams) child.getLayoutParams();
|
|
75
|
+
int childWidth = child.getMeasuredWidth();
|
|
76
|
+
int childHeight = child.getMeasuredHeight();
|
|
77
|
+
|
|
78
|
+
int childLeft = leftPadding + childLayoutParams.left;
|
|
79
|
+
int childTop = topPadding + childLayoutParams.top;
|
|
80
|
+
int childRight = childLeft + childWidth + childLayoutParams.leftMargin + childLayoutParams.rightMargin;
|
|
81
|
+
int childBottom = childTop + childHeight + childLayoutParams.topMargin + childLayoutParams.bottomMargin;
|
|
82
|
+
|
|
83
|
+
CommonLayoutParams.layoutChild(child, childLeft, childTop, childRight, childBottom);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
CommonLayoutParams.restoreOriginalParams(this);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
package org.nativescript.widgets;
|
|
2
|
+
|
|
3
|
+
import android.animation.Animator;
|
|
4
|
+
import android.animation.AnimatorSet;
|
|
5
|
+
import android.animation.ObjectAnimator;
|
|
6
|
+
|
|
7
|
+
class AnimatorHelper {
|
|
8
|
+
static final int version = android.os.Build.VERSION.SDK_INT;
|
|
9
|
+
static final int exitFakeResourceId = -20;
|
|
10
|
+
|
|
11
|
+
static Animator createDummyAnimator(long duration) {
|
|
12
|
+
float[] alphaValues = new float[2];
|
|
13
|
+
alphaValues[0] = 1;
|
|
14
|
+
alphaValues[1] = 1;
|
|
15
|
+
|
|
16
|
+
Animator animator = ObjectAnimator.ofFloat(null, "alpha", alphaValues);
|
|
17
|
+
if (duration > 0) {
|
|
18
|
+
animator.setDuration(duration);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return animator;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
static long getTotalDuration(Animator animator) {
|
|
25
|
+
if (animator instanceof AnimatorSet) {
|
|
26
|
+
return getAnimatorSetTotalDuration((AnimatorSet) animator);
|
|
27
|
+
} else {
|
|
28
|
+
return getAnimatorTotalDuration(animator);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static long getAnimatorTotalDuration(Animator animator) {
|
|
33
|
+
long totalDuration;
|
|
34
|
+
if (version >= 24) {
|
|
35
|
+
totalDuration = animator.getTotalDuration();
|
|
36
|
+
} else {
|
|
37
|
+
long duration = animator.getDuration();
|
|
38
|
+
if (duration == Animator.DURATION_INFINITE) {
|
|
39
|
+
totalDuration = Animator.DURATION_INFINITE;
|
|
40
|
+
} else {
|
|
41
|
+
totalDuration = animator.getStartDelay() + duration;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return totalDuration;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static long getAnimatorSetTotalDuration(AnimatorSet animatorSet) {
|
|
49
|
+
long totalDuration = 0;
|
|
50
|
+
if (version >= 24) {
|
|
51
|
+
totalDuration = animatorSet.getTotalDuration();
|
|
52
|
+
} else {
|
|
53
|
+
// TODO: this is only meaningful for "playTogether" animators
|
|
54
|
+
for (Animator animator : animatorSet.getChildAnimations()) {
|
|
55
|
+
totalDuration = Math.max(totalDuration, getTotalDuration(animator));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return totalDuration;
|
|
60
|
+
}
|
|
61
|
+
}
|