@nativescript/core 8.9.0-next-01-14-2025-12761272657 → 8.9.0-next-01-18-2025-12839190246
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/accessibility/accessibility-service.d.ts +10 -0
- package/accessibility/font-scale.d.ts +9 -0
- package/accessibility/index.d.ts +37 -0
- package/animation-frame/animation-native.d.ts +4 -0
- package/animation-frame/index.d.ts +17 -3
- package/application/application.d.ts +194 -0
- package/application/index.d.ts +2 -0
- package/application-settings/index.d.ts +70 -0
- package/cli-hooks/before-checkForChanges.js +60 -0
- package/cli-hooks/postinstall.js +2 -0
- package/cli-hooks/preuninstall.js +2 -0
- package/color/index.d.ts +206 -0
- package/connectivity/index.d.ts +52 -0
- package/css/css-tree-parser.js +21 -17
- package/css/lib/parse/index.js +602 -0
- package/css/package.json +36 -0
- package/css/reworkcss.d.ts +47 -0
- package/css/reworkcss.js +1 -0
- package/css-value/package.json +23 -0
- package/css-value/reworkcss-value.d.ts +8 -0
- package/css-value/reworkcss-value.js +113 -0
- package/debugger/css-agent.d.ts +59 -0
- package/debugger/devtools-elements.d.ts +23 -5
- package/debugger/dom-node.d.ts +23 -20
- package/fetch/index.js +539 -0
- package/file-system/file-system-access.d.ts +441 -0
- package/file-system/index.d.ts +370 -95
- package/fps-meter/fps-native.d.ts +24 -0
- package/fps-meter/index.d.ts +24 -7
- package/global-types.d.ts +393 -0
- package/globals/index.d.ts +4 -19
- package/http/http-request/index.d.ts +3 -0
- package/http/index.d.ts +149 -73
- package/image-asset/index.d.ts +17 -0
- package/image-source/index.d.ts +350 -0
- package/index.d.ts +24 -7
- package/js-libs/easysax/easysax.d.ts +8 -0
- package/js-libs/easysax/easysax.js +782 -0
- package/js-libs/easysax/package.json +35 -0
- package/matrix/index.d.ts +32 -5
- package/module-name-resolver/index.d.ts +21 -13
- package/module-name-resolver/qualifier-matcher/index.d.ts +12 -6
- package/package.json +1 -1
- package/platform/device/index.d.ts +70 -0
- package/platform/index.d.ts +26 -0
- package/platform/screen/index.d.ts +48 -0
- package/platforms/android/native-api-usage.json +32 -0
- package/platforms/android/res/values/ids.xml +4 -0
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_tc-release.aar +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/Info.plist +102 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Resources/Info.plist +52 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- 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 +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- 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 +20 -0
- 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 +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
- 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/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- 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 +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- 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 +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- 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 +223 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- 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 +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- 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 +6 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- 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 +20 -0
- 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 +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- 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 +6 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- 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 +223 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- 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 +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/native-api-usage.json +41 -0
- package/platforms/ios/src/NativeScriptEmbedder.h +31 -0
- package/platforms/ios/src/NativeScriptEmbedder.m +43 -0
- package/platforms/ios/src/NativeScriptMainWindow.swift +196 -0
- package/platforms/ios/src/NativeScriptUtils.h +16 -0
- package/platforms/ios/src/NativeScriptUtils.m +137 -0
- package/platforms/ios/src/UIView+NativeScript.h +15 -0
- package/platforms/ios/src/UIView+NativeScript.m +148 -0
- package/platforms/ios/src/module.modulemap +14 -0
- package/platforms/ios/typings/objc!MaterialComponents.d.ts +808 -0
- package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +18 -0
- package/profiling/index.d.ts +153 -26
- package/references.d.ts +10 -0
- package/text/formatted-string.d.ts +1 -1
- package/text/index.d.ts +36 -0
- package/text/span.d.ts +1 -1
- package/timer/index.d.ts +27 -0
- package/trace/index.d.ts +131 -105
- package/ui/action-bar/index.d.ts +304 -0
- package/ui/activity-indicator/index.d.ts +25 -0
- package/ui/animation/index.d.ts +139 -0
- package/ui/animation/keyframe-animation.d.ts +118 -67
- package/ui/builder/binding-builder.d.ts +15 -12
- package/ui/builder/index.d.ts +69 -27
- package/ui/button/index.d.ts +50 -0
- package/ui/content-view/index.d.ts +11 -21
- package/ui/core/control-state-change/index.d.ts +17 -0
- package/ui/core/view/index.d.ts +1216 -0
- package/ui/core/view/view-helper/index.d.ts +76 -0
- package/ui/core/weak-event-listener/index.d.ts +18 -2
- package/ui/date-picker/index.d.ts +95 -0
- package/ui/dialogs/index.d.ts +311 -0
- package/ui/editable-text-base/index.d.ts +142 -0
- package/ui/embedding/index.d.ts +10 -0
- package/ui/frame/fragment.d.ts +5 -0
- package/ui/frame/fragment.transitions.d.ts +43 -0
- package/ui/frame/index.d.ts +590 -0
- package/ui/frame/transition-definitions.android.d.ts +54 -0
- package/ui/gestures/index.d.ts +59 -0
- package/ui/html-view/index.d.ts +41 -0
- package/ui/image/index.d.ts +119 -0
- package/ui/image/symbol-effects.d.ts +13 -0
- package/ui/image-cache/index.d.ts +147 -0
- package/ui/label/index.d.ts +25 -0
- package/ui/layouts/absolute-layout/index.d.ts +42 -0
- package/ui/layouts/dock-layout/index.d.ts +39 -0
- package/ui/layouts/flexbox-layout/index.d.ts +98 -0
- package/ui/layouts/grid-layout/index.d.ts +201 -0
- package/ui/layouts/index.d.ts +1 -2
- package/ui/layouts/layout-base.d.ts +119 -0
- package/ui/layouts/root-layout/index.d.ts +48 -0
- package/ui/layouts/stack-layout/index.d.ts +22 -0
- package/ui/layouts/wrap-layout/index.d.ts +51 -0
- package/ui/list-picker/index.d.ts +43 -0
- package/ui/list-view/index.d.ts +232 -0
- package/ui/page/index.d.ts +241 -0
- package/ui/placeholder/index.d.ts +46 -8
- package/ui/progress/index.d.ts +50 -0
- package/ui/scroll-view/index.d.ts +99 -0
- package/ui/search-bar/index.d.ts +103 -0
- package/ui/segmented-bar/index.d.ts +122 -0
- package/ui/slider/index.d.ts +99 -0
- package/ui/styling/background.d.ts +95 -0
- package/ui/styling/converters.d.ts +2 -2
- package/ui/styling/font.d.ts +62 -0
- package/ui/styling/style-properties.d.ts +101 -81
- package/ui/styling/style-scope.d.ts +48 -79
- package/ui/switch/index.d.ts +46 -0
- package/ui/tab-view/index.d.ts +213 -0
- package/ui/text-base/formatted-string.d.ts +97 -36
- package/ui/text-base/index.d.ts +208 -0
- package/ui/text-base/span.d.ts +111 -36
- package/ui/text-field/index.d.ts +54 -0
- package/ui/text-view/index.d.ts +35 -0
- package/ui/time-picker/index.d.ts +107 -0
- package/ui/transition/fade-transition.d.ts +3 -0
- package/ui/transition/flip-transition.d.ts +5 -0
- package/ui/transition/index.d.ts +59 -0
- package/ui/transition/modal-transition.d.ts +2 -0
- package/ui/transition/page-transition.d.ts +4 -0
- package/ui/transition/shared-transition-helper.d.ts +14 -0
- package/ui/transition/slide-transition.d.ts +5 -0
- package/ui/utils.d.ts +44 -0
- package/ui/web-view/index.d.ts +142 -0
- package/utils/constants.d.ts +1 -0
- package/utils/debug.d.ts +61 -17
- package/utils/index.d.ts +183 -0
- package/utils/layout-helper/index.d.ts +82 -0
- package/utils/lazy.d.ts +5 -0
- package/utils/macrotask-scheduler.d.ts +5 -1
- package/utils/mainthread-helper.d.ts +16 -0
- package/utils/native-helper.d.ts +280 -0
- package/utils/types.d.ts +115 -23
- package/utils/typescript-utils.d.ts +6 -0
- package/wgc/atob.js +1 -1
- package/wgc/btoa.js +1 -1
- package/wgc/crypto/SubtleCrypto.js +8 -8
- package/wgc/crypto/index.js +2 -2
- package/xml/index.d.ts +105 -44
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents a view with html content. Use this component instead WebView when you want to show just static HTML content.
|
|
6
|
+
* [iOS support](https://developer.apple.com/documentation/foundation/nsattributedstring/1524613-initwithdata)
|
|
7
|
+
* [android support](http://developer.android.com/reference/android/text/Html.html)
|
|
8
|
+
*
|
|
9
|
+
* @nsView HtmlView
|
|
10
|
+
*/
|
|
11
|
+
export class HtmlView extends View {
|
|
12
|
+
/**
|
|
13
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
14
|
+
*/
|
|
15
|
+
android: any /* android.widget.TextView */;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Gets the native [UITextView](https://developer.apple.com/documentation/uikit/uitextview) that represents the user interface for this component. Valid only when running on iOS.
|
|
19
|
+
*/
|
|
20
|
+
ios: any /* UITextView */;
|
|
21
|
+
|
|
22
|
+
/** Gets or sets html string for the HtmlView.
|
|
23
|
+
*
|
|
24
|
+
* @nsProperty
|
|
25
|
+
*/
|
|
26
|
+
html: string;
|
|
27
|
+
|
|
28
|
+
/** Gets or sets a value indicating whether HtmlView is selectable.
|
|
29
|
+
*
|
|
30
|
+
* @nsProperty
|
|
31
|
+
*/
|
|
32
|
+
selectable: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Gets of sets color of links in the rendered HTML.
|
|
35
|
+
*
|
|
36
|
+
* @nsProperty
|
|
37
|
+
*/
|
|
38
|
+
linkColor: Color;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export const htmlProperty: Property<HtmlView, string>;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Style } from '../styling/style';
|
|
3
|
+
import { ImageSource, iosSymbolScaleType } from '../../image-source';
|
|
4
|
+
import { ImageAsset } from '../../image-asset';
|
|
5
|
+
import { Color } from '../../color';
|
|
6
|
+
import { Property, InheritedCssProperty } from '../core/properties';
|
|
7
|
+
import { CoreTypes } from '../../core-types';
|
|
8
|
+
import { ImageSymbolEffect, ImageSymbolEffects } from './symbol-effects';
|
|
9
|
+
import { PropertyChangeData } from '../../data/observable';
|
|
10
|
+
|
|
11
|
+
export { ImageSymbolEffect, ImageSymbolEffects } from './image-common';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents a class that provides functionality for loading and streching image(s).
|
|
15
|
+
*
|
|
16
|
+
* @nsView Image
|
|
17
|
+
*/
|
|
18
|
+
export class Image extends View {
|
|
19
|
+
/**
|
|
20
|
+
* String value used when hooking to the isLoadingChange event.
|
|
21
|
+
*
|
|
22
|
+
* @nsEvent {PropertyChangeData} isLoading
|
|
23
|
+
*/
|
|
24
|
+
public static isLoadingChangeEvent: string;
|
|
25
|
+
/**
|
|
26
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/ImageView.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
27
|
+
*/
|
|
28
|
+
android: any /* android.widget.ImageView */;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Gets the native iOS [UIImageView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImageView_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
32
|
+
*/
|
|
33
|
+
ios: any /* UIImageView */;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the image source of the image.
|
|
37
|
+
*
|
|
38
|
+
* @nsProperty
|
|
39
|
+
*/
|
|
40
|
+
imageSource: ImageSource;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the source of the Image. This can be either an URL string or a native image instance.
|
|
44
|
+
*
|
|
45
|
+
* @nsProperty
|
|
46
|
+
*/
|
|
47
|
+
src: string | ImageSource | ImageAsset;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Gets a value indicating if the image is currently loading.
|
|
51
|
+
*/
|
|
52
|
+
readonly isLoading: boolean;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the image stretch mode.
|
|
56
|
+
*
|
|
57
|
+
* @nsProperty
|
|
58
|
+
*/
|
|
59
|
+
stretch: CoreTypes.ImageStretchType;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the loading strategy for images on the local file system:
|
|
63
|
+
* - **sync** - blocks the UI if necessary to display immediately, good for small icons.
|
|
64
|
+
* - **async** *(default)* - will load in the background, may appear with short delay, good for large images.
|
|
65
|
+
* When loading images from web they are always loaded **async** no matter of loadMode value.
|
|
66
|
+
*
|
|
67
|
+
* @nsProperty
|
|
68
|
+
*/
|
|
69
|
+
loadMode: 'sync' | 'async';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A color used to tint template images.
|
|
73
|
+
*
|
|
74
|
+
* @nsProperty
|
|
75
|
+
*/
|
|
76
|
+
tintColor: Color;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Gets or sets the desired decode height of the image.
|
|
80
|
+
* This property is Android specific.
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
84
|
+
*/
|
|
85
|
+
decodeHeight: CoreTypes.LengthType;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Gets or sets the desired decode width of the image.
|
|
89
|
+
* This property is Android specific.
|
|
90
|
+
*
|
|
91
|
+
* @nsProperty
|
|
92
|
+
*/
|
|
93
|
+
decodeWidth: CoreTypes.LengthType;
|
|
94
|
+
/**
|
|
95
|
+
* Get or set the symbol effect used to animate the SF symbol image
|
|
96
|
+
* Symbol effects: https://developer.apple.com/documentation/symbols?language=objc
|
|
97
|
+
*
|
|
98
|
+
* @nsProperty
|
|
99
|
+
*/
|
|
100
|
+
iosSymbolEffect: ImageSymbolEffect | ImageSymbolEffects;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Get or set the SF Symbol scale to use.
|
|
104
|
+
*
|
|
105
|
+
* @nsProperty
|
|
106
|
+
*/
|
|
107
|
+
iosSymbolScale: iosSymbolScaleType;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export const imageSourceProperty: Property<Image, ImageSource>;
|
|
111
|
+
export const srcProperty: Property<Image, string | ImageSource | ImageAsset>;
|
|
112
|
+
export const isLoadingProperty: Property<Image, string>;
|
|
113
|
+
export const loadMode: Property<Image, 'sync' | 'async'>;
|
|
114
|
+
export const stretchProperty: Property<Image, CoreTypes.ImageStretchType>;
|
|
115
|
+
export const tintColorProperty: InheritedCssProperty<Style, Color>;
|
|
116
|
+
export const decodeHeightProperty: Property<Image, CoreTypes.LengthType>;
|
|
117
|
+
export const decodeWidthProperty: Property<Image, CoreTypes.LengthType>;
|
|
118
|
+
export const iosSymbolScaleProperty: Property<Image, iosSymbolScaleType>;
|
|
119
|
+
export const iosSymbolEffectProperty: Property<Image, ImageSymbolEffect | ImageSymbolEffects>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { ImageSymbolEffects } from './symbol-effects-common';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* iOS only
|
|
5
|
+
* Symbol effects: https://developer.apple.com/documentation/symbols?language=objc
|
|
6
|
+
*/
|
|
7
|
+
export class ImageSymbolEffect {
|
|
8
|
+
effect?: NSSymbolEffect;
|
|
9
|
+
options?: NSSymbolEffectOptions;
|
|
10
|
+
completion?: (context: UISymbolEffectCompletionContext) => void;
|
|
11
|
+
constructor(symbol: NSSymbolEffect);
|
|
12
|
+
static fromSymbol(symbol: string): ImageSymbolEffect | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Observable, EventData } from '../../data/observable';
|
|
2
|
+
import { ImageSource } from '../../image-source';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents a single download request.
|
|
6
|
+
*/
|
|
7
|
+
export interface DownloadRequest {
|
|
8
|
+
/**
|
|
9
|
+
* The url of the image.
|
|
10
|
+
*/
|
|
11
|
+
url: string;
|
|
12
|
+
/**
|
|
13
|
+
* The key used to cache the image.
|
|
14
|
+
*/
|
|
15
|
+
key: string;
|
|
16
|
+
/**
|
|
17
|
+
* An optional function to be called when the download is complete.
|
|
18
|
+
*/
|
|
19
|
+
completed?: (image: any, key: string) => void;
|
|
20
|
+
/**
|
|
21
|
+
* An optional function to be called if the download errors.
|
|
22
|
+
*/
|
|
23
|
+
error?: (key: string) => void;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Represents a class that stores handles image download requests and caches the already downloaded images.
|
|
28
|
+
*/
|
|
29
|
+
export class Cache extends Observable {
|
|
30
|
+
/**
|
|
31
|
+
* String value used when hooking to downloaded event.
|
|
32
|
+
*/
|
|
33
|
+
public static downloadedEvent: string;
|
|
34
|
+
/**
|
|
35
|
+
* String value used when hooking to download error event.
|
|
36
|
+
*/
|
|
37
|
+
public static downloadErrorEvent: string;
|
|
38
|
+
/**
|
|
39
|
+
* The image to be used to notify for a pending download request - e.g. loading indicator.
|
|
40
|
+
*/
|
|
41
|
+
placeholder: ImageSource;
|
|
42
|
+
/**
|
|
43
|
+
* The maximum number of simultaneous download requests. Defaults to 5.
|
|
44
|
+
*/
|
|
45
|
+
maxRequests: number;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Enables previously suspended download requests.
|
|
49
|
+
*/
|
|
50
|
+
enableDownload(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Temporary disables download requests.
|
|
53
|
+
*/
|
|
54
|
+
disableDownload(): void;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Adds a new download request at the top of the download queue. This will be the next immediate download to start.
|
|
58
|
+
*/
|
|
59
|
+
push(request: DownloadRequest);
|
|
60
|
+
/**
|
|
61
|
+
* Adds a new download request at the end of the download queue. This will be the last download to start.
|
|
62
|
+
*/
|
|
63
|
+
enqueue(request: DownloadRequest);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Gets the image for the specified key. May be undefined if the key is not present in the cache.
|
|
67
|
+
*/
|
|
68
|
+
get(key: string): any;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the image for the specified key.
|
|
71
|
+
*/
|
|
72
|
+
set(key: string, image: any): void;
|
|
73
|
+
/**
|
|
74
|
+
* Removes the cache for the specified key.
|
|
75
|
+
*/
|
|
76
|
+
remove(key: string): void;
|
|
77
|
+
/**
|
|
78
|
+
* Removes all the previously cached images.
|
|
79
|
+
*/
|
|
80
|
+
clear(): void;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Adds a listener for the specified event name.
|
|
84
|
+
*
|
|
85
|
+
* @param eventName The name of the event.
|
|
86
|
+
* @param callback The event listener to add. Will be called when an event of
|
|
87
|
+
* the given name is raised.
|
|
88
|
+
* @param thisArg An optional parameter which, when set, will be bound as the
|
|
89
|
+
* `this` context when the callback is called. Falsy values will be not be
|
|
90
|
+
* bound.
|
|
91
|
+
*/
|
|
92
|
+
on(eventName: string, callback: (args: EventData) => void, thisArg?: any): void;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Raised when the image has been downloaded.
|
|
96
|
+
*/
|
|
97
|
+
on(event: 'downloaded', callback: (args: DownloadedData) => void, thisArg?: any): void;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Raised if the image download errors.
|
|
101
|
+
*/
|
|
102
|
+
on(event: 'downloadError', callback: (args: DownloadError) => void, thisArg?: any): void;
|
|
103
|
+
|
|
104
|
+
//@private
|
|
105
|
+
/**
|
|
106
|
+
* @private
|
|
107
|
+
*/
|
|
108
|
+
_downloadCore(request: DownloadRequest);
|
|
109
|
+
/**
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
_onDownloadCompleted(key: string, image: any);
|
|
113
|
+
//@endprivate
|
|
114
|
+
/**
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
117
|
+
_onDownloadError(key: string, err: Error);
|
|
118
|
+
//@endprivate
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Provides data for downloaded event.
|
|
123
|
+
*/
|
|
124
|
+
export interface DownloadedData extends EventData {
|
|
125
|
+
/**
|
|
126
|
+
* A string indentifier of the cached image.
|
|
127
|
+
*/
|
|
128
|
+
key: string;
|
|
129
|
+
/**
|
|
130
|
+
* Gets the cached image.
|
|
131
|
+
*/
|
|
132
|
+
image: ImageSource;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Provides data for download error.
|
|
137
|
+
*/
|
|
138
|
+
export interface DownloadError extends EventData {
|
|
139
|
+
/**
|
|
140
|
+
* A string indentifier of the cached image.
|
|
141
|
+
*/
|
|
142
|
+
key: string;
|
|
143
|
+
/**
|
|
144
|
+
* Gets the error.
|
|
145
|
+
*/
|
|
146
|
+
error: Error;
|
|
147
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TextBase } from '../text-base';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a text label.
|
|
5
|
+
*
|
|
6
|
+
* @nsView Label
|
|
7
|
+
*/
|
|
8
|
+
export class Label extends TextBase {
|
|
9
|
+
/**
|
|
10
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
11
|
+
*/
|
|
12
|
+
android: any /* android.widget.TextView */;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
16
|
+
*/
|
|
17
|
+
ios: any /* UILabel */;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets whether the Label wraps text or not.
|
|
21
|
+
*
|
|
22
|
+
* @nsProperty
|
|
23
|
+
*/
|
|
24
|
+
textWrap: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { Property } from '../../core/properties';
|
|
3
|
+
import { View } from '../../core/view';
|
|
4
|
+
import { Length } from '../../styling/style-properties';
|
|
5
|
+
import { CoreTypes } from '../../../core-types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A layout that lets you specify exact locations (left/top coordinates) of its children.
|
|
9
|
+
*
|
|
10
|
+
* @nsView AbsoluteLayout
|
|
11
|
+
*/
|
|
12
|
+
export class AbsoluteLayout extends LayoutBase {
|
|
13
|
+
/**
|
|
14
|
+
* Gets the value of the Left property from a given View.
|
|
15
|
+
*/
|
|
16
|
+
static getLeft(view: View): CoreTypes.LengthType;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Sets the value of the Left property from a given View.
|
|
20
|
+
*/
|
|
21
|
+
static setLeft(view: View, value: CoreTypes.LengthType): void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Gets the value of the Top property from a given View.
|
|
25
|
+
*/
|
|
26
|
+
static getTop(view: View): CoreTypes.LengthType;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Sets the value of the Top property from a given View.
|
|
30
|
+
*/
|
|
31
|
+
static setTop(view: View, value: CoreTypes.LengthType): void;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Represents the observable property backing the left property.
|
|
36
|
+
*/
|
|
37
|
+
export const leftProperty: Property<View, CoreTypes.LengthType>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Represents the observable property backing the top property.
|
|
41
|
+
*/
|
|
42
|
+
export const topProperty: Property<View, CoreTypes.LengthType>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { Property } from '../../core/properties';
|
|
3
|
+
import { View } from '../../core/view';
|
|
4
|
+
import { CoreTypes } from '../../../core-types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.
|
|
8
|
+
*
|
|
9
|
+
* @nsView DockLayout
|
|
10
|
+
*/
|
|
11
|
+
export class DockLayout extends LayoutBase {
|
|
12
|
+
/**
|
|
13
|
+
* Gets the value of the Dock property from a given View.
|
|
14
|
+
*/
|
|
15
|
+
static getDock(view: View): CoreTypes.DockType;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Sets the value of the Dock property from a given View.
|
|
19
|
+
*/
|
|
20
|
+
static setDock(view: View, value: CoreTypes.DockType): void;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets a value that indicates whether the last child element within a DockLayout stretches to fill the remaining available space.
|
|
24
|
+
* The default value is true.
|
|
25
|
+
*
|
|
26
|
+
* @nsProperty
|
|
27
|
+
*/
|
|
28
|
+
stretchLastChild: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Represents the observable property backing the dock property.
|
|
33
|
+
*/
|
|
34
|
+
export const dockProperty: Property<View, CoreTypes.DockType>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Represents the observable property backing the stretchLastChild property of each DockLayout instance.
|
|
38
|
+
*/
|
|
39
|
+
export const stretchLastChildProperty: Property<DockLayout, boolean>;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { Style } from '../../styling/style';
|
|
3
|
+
import { CssProperty } from '../../core/properties';
|
|
4
|
+
import { View } from '../../core/view';
|
|
5
|
+
|
|
6
|
+
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
7
|
+
export type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
8
|
+
export type JustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
9
|
+
export type AlignItems = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
10
|
+
export type AlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
11
|
+
export type FlexFlow = `${FlexDirection} ${FlexWrap}`;
|
|
12
|
+
export type Flex = number | 'initial' | 'auto' | 'none' | `${FlexGrow} ${FlexShrink}`;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* A flex order integer.
|
|
16
|
+
*/
|
|
17
|
+
export type Order = number;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A flex-grow number. Negative values are invalid.
|
|
21
|
+
*/
|
|
22
|
+
export type FlexGrow = number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A flex-shrink number. Negative values are invalid.
|
|
26
|
+
*/
|
|
27
|
+
export type FlexShrink = number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A flex-wrap-before value. True, false or their string presentations "true" or "false".
|
|
31
|
+
*/
|
|
32
|
+
export type FlexWrapBefore = boolean;
|
|
33
|
+
|
|
34
|
+
export type AlignSelf = 'auto' | AlignItems;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @nsView FlexboxLayout
|
|
38
|
+
*/
|
|
39
|
+
export class FlexboxLayout extends LayoutBase {
|
|
40
|
+
/**
|
|
41
|
+
* Gets or set the direction of childern on the main axis.
|
|
42
|
+
*
|
|
43
|
+
* @nsProperty
|
|
44
|
+
*/
|
|
45
|
+
public flexDirection: FlexDirection;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets whether children can wrap into multiple lines
|
|
48
|
+
*
|
|
49
|
+
* @nsProperty
|
|
50
|
+
*/
|
|
51
|
+
public flexWrap: FlexWrap;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets alignment of childern on the main axis
|
|
54
|
+
*
|
|
55
|
+
* @nsProperty
|
|
56
|
+
*/
|
|
57
|
+
public justifyContent: JustifyContent;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets alignment of the childern on cross axis
|
|
60
|
+
*
|
|
61
|
+
* @nsProperty
|
|
62
|
+
*/
|
|
63
|
+
public alignItems: AlignItems;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets alignment of items along the cross axis
|
|
66
|
+
*
|
|
67
|
+
* @nsProperty
|
|
68
|
+
*/
|
|
69
|
+
public alignContent: AlignContent;
|
|
70
|
+
|
|
71
|
+
public static setOrder(view: View, order: number);
|
|
72
|
+
public static getOrder(view: View): number;
|
|
73
|
+
|
|
74
|
+
public static setFlexGrow(view: View, grow: number);
|
|
75
|
+
public static getFlexGrow(view: View);
|
|
76
|
+
|
|
77
|
+
public static setFlexShrink(view: View, shrink: number);
|
|
78
|
+
public static getFlexShrink(view: View): number;
|
|
79
|
+
|
|
80
|
+
public static setAlignSelf(view: View, align: AlignSelf);
|
|
81
|
+
public static getAlignSelf(view: View): AlignSelf;
|
|
82
|
+
|
|
83
|
+
public static setFlexWrapBefore(view: View, wrap: boolean);
|
|
84
|
+
public static getFlexWrapBefore(view: View): boolean;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export const flexDirectionProperty: CssProperty<Style, FlexDirection>;
|
|
88
|
+
export const flexWrapProperty: CssProperty<Style, FlexWrap>;
|
|
89
|
+
export const justifyContentProperty: CssProperty<Style, JustifyContent>;
|
|
90
|
+
export const alignItemsProperty: CssProperty<Style, AlignItems>;
|
|
91
|
+
|
|
92
|
+
export const orderProperty: CssProperty<Style, Order>;
|
|
93
|
+
export const flexGrowProperty: CssProperty<Style, FlexGrow>;
|
|
94
|
+
export const flexShrinkProperty: CssProperty<Style, FlexShrink>;
|
|
95
|
+
export const flexWrapBeforeProperty: CssProperty<Style, FlexWrapBefore>;
|
|
96
|
+
export const alignSelfProperty: CssProperty<Style, AlignSelf>;
|
|
97
|
+
export const flexFlowProperty: CssProperty<Style, FlexFlow>;
|
|
98
|
+
export const flexProperty: CssProperty<Style, Flex>;
|