@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,76 @@
|
|
|
1
|
+
import { Position, View } from '..';
|
|
2
|
+
|
|
3
|
+
export class ViewHelper {
|
|
4
|
+
/**
|
|
5
|
+
* Measure a child by taking into account its margins and a given measureSpecs.
|
|
6
|
+
* @param parent This parameter is not used. You can pass null.
|
|
7
|
+
* @param child The view to be measured.
|
|
8
|
+
* @param measuredWidth The measured width that the parent layout specifies for this view.
|
|
9
|
+
* @param measuredHeight The measured height that the parent layout specifies for this view.
|
|
10
|
+
*/
|
|
11
|
+
public static measureChild(parent: View, child: View, widthMeasureSpec: number, heightMeasureSpec: number): { measuredWidth: number; measuredHeight: number };
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Layout a child by taking into account its margins, horizontal and vertical alignments and a given bounds.
|
|
15
|
+
* @param parent This parameter is not used. You can pass null.
|
|
16
|
+
* @param left Left position, relative to parent
|
|
17
|
+
* @param top Top position, relative to parent
|
|
18
|
+
* @param right Right position, relative to parent
|
|
19
|
+
* @param bottom Bottom position, relative to parent
|
|
20
|
+
*/
|
|
21
|
+
public static layoutChild(parent: View, child: View, left: number, top: number, right: number, bottom: number): void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Utility to reconcile a desired size and state, with constraints imposed
|
|
25
|
+
* by a MeasureSpec. Will take the desired size, unless a different size
|
|
26
|
+
* is imposed by the constraints. The returned value is a compound integer,
|
|
27
|
+
* with the resolved size in the MEASURED_SIZE_MASK bits and
|
|
28
|
+
* optionally the bit MEASURED_STATE_TOO_SMALL set if the resulting
|
|
29
|
+
* size is smaller than the size the view wants to be.
|
|
30
|
+
*/
|
|
31
|
+
public static resolveSizeAndState(size: number, specSize: number, specMode: number, childMeasuredState: number): number;
|
|
32
|
+
|
|
33
|
+
public static combineMeasuredStates(curState: number, newState): number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Various Android view helper methods
|
|
38
|
+
*/
|
|
39
|
+
export namespace AndroidHelper {
|
|
40
|
+
export function getDrawableColor(drawable: any /* android.graphics.drawable.Drawable */): Color;
|
|
41
|
+
export function setDrawableColor(color: number, drawable: any /* android.graphics.drawable.Drawable */, blendMode?: any /* androidx.core.graphics.BlendModeCompat */): void;
|
|
42
|
+
export function clearDrawableColor(drawable: any /* android.graphics.drawable.Drawable */): void;
|
|
43
|
+
export function getCopyOrDrawable(drawable: any /* android.graphics.drawable.Drawable */, resources?: any /* android.content.res.Resources */): any; /* android.graphics.drawable.Drawable */
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Various iOS view helper methods
|
|
48
|
+
*/
|
|
49
|
+
export namespace IOSHelper {
|
|
50
|
+
/**
|
|
51
|
+
* String value used when hooking to traitCollectionColorAppearanceChangedEvent event.
|
|
52
|
+
*/
|
|
53
|
+
export const traitCollectionColorAppearanceChangedEvent: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Returns a view with viewController or undefined if no such found along the view's parent chain.
|
|
57
|
+
* @param view The view form which to start the search.
|
|
58
|
+
*/
|
|
59
|
+
export function getParentWithViewController(view: View): View;
|
|
60
|
+
export function updateAutoAdjustScrollInsets(controller: any /* UIViewController */, owner: View): void;
|
|
61
|
+
export function updateConstraints(controller: any /* UIViewController */, owner: View): void;
|
|
62
|
+
export function layoutView(controller: any /* UIViewController */, owner: View): void;
|
|
63
|
+
export function getPositionFromFrame(frame: any /* CGRect */): Position;
|
|
64
|
+
export function getFrameFromPosition(position: Position, insets?: Position): any; /* CGRect */
|
|
65
|
+
export function shrinkToSafeArea(view: View, frame: any /* CGRect */): any; /* CGRect */
|
|
66
|
+
export function expandBeyondSafeArea(view: View, frame: any /* CGRect */): any; /* CGRect */
|
|
67
|
+
export class UILayoutViewController {
|
|
68
|
+
public static initWithOwner(owner: WeakRef<View>): UILayoutViewController;
|
|
69
|
+
}
|
|
70
|
+
export class UIAdaptivePresentationControllerDelegateImp {
|
|
71
|
+
public static initWithOwnerAndCallback(owner: WeakRef<View>, whenClosedCallback: Function): UIAdaptivePresentationControllerDelegateImp;
|
|
72
|
+
}
|
|
73
|
+
export class UIPopoverPresentationControllerDelegateImp {
|
|
74
|
+
public static initWithOwnerAndCallback(owner: WeakRef<View>, whenClosedCallback: Function): UIPopoverPresentationControllerDelegateImp;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
import { Observable, EventData } from '../../../data/observable';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Attaches a WeakEventListener.
|
|
5
|
+
* @param source Observable class which emits the event.
|
|
6
|
+
* @param eventName The event name.
|
|
7
|
+
* @param handler The function which should be called when event occurs.
|
|
8
|
+
* @param target Subscriber (target) of the event listener. It will be used as a thisArg in the handler function.
|
|
9
|
+
*/
|
|
10
|
+
export function addWeakEventListener(source: Observable, eventName: string, handler: (eventData: EventData) => void, target: any): void;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Removes a WeakEventListener.
|
|
14
|
+
* @param source Observable class which emits the event.
|
|
15
|
+
* @param eventName The event name.
|
|
16
|
+
* @param handler The function which should be called when event occurs.
|
|
17
|
+
* @param target Subscriber (target) of the event listener. It will be used as a thisArg in the handler function.
|
|
18
|
+
*/
|
|
19
|
+
export function removeWeakEventListener(source: Observable, eventName: string, handler: (eventData: EventData) => void, target: any): void;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
|
|
4
|
+
export const yearProperty: Property<DatePicker, number>;
|
|
5
|
+
export const monthProperty: Property<DatePicker, number>;
|
|
6
|
+
export const dayProperty: Property<DatePicker, number>;
|
|
7
|
+
export const dateProperty: Property<DatePicker, Date>;
|
|
8
|
+
export const maxDate: Property<DatePicker, Date>;
|
|
9
|
+
export const minDate: Property<DatePicker, Date>;
|
|
10
|
+
export const iosPreferredDatePickerStyleProperty: Property<DatePicker, number>;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Represents an date picker.
|
|
14
|
+
*
|
|
15
|
+
* @nsView DatePicker
|
|
16
|
+
*/
|
|
17
|
+
export class DatePicker extends View {
|
|
18
|
+
/**
|
|
19
|
+
* String value used when hooking to dateChange event.
|
|
20
|
+
*
|
|
21
|
+
* @nsEvent {PropertyChangeData} dateChange
|
|
22
|
+
*/
|
|
23
|
+
public static dateChangeEvent: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Gets the native [android.widget.DatePicker](http://developer.android.com/reference/android/widget/DatePicker.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
27
|
+
*/
|
|
28
|
+
android: any /* android.widget.DatePicker */;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
|
|
32
|
+
*/
|
|
33
|
+
ios: any /* UIDatePicker */;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the year.
|
|
37
|
+
*
|
|
38
|
+
* @nsProperty
|
|
39
|
+
*/
|
|
40
|
+
year: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the month. The months start from 1.
|
|
44
|
+
*
|
|
45
|
+
* @nsProperty
|
|
46
|
+
*/
|
|
47
|
+
month: number;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the day. The days start from 1.
|
|
51
|
+
*
|
|
52
|
+
* @nsProperty
|
|
53
|
+
*/
|
|
54
|
+
day: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the entire date.
|
|
58
|
+
*
|
|
59
|
+
* @nsProperty
|
|
60
|
+
*/
|
|
61
|
+
date: Date;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets the max date.
|
|
65
|
+
*
|
|
66
|
+
* @nsProperty
|
|
67
|
+
*/
|
|
68
|
+
maxDate: Date;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Gets or sets the min date.
|
|
72
|
+
*
|
|
73
|
+
* @nsProperty
|
|
74
|
+
*/
|
|
75
|
+
minDate: Date;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Gets or set the UIDatePickerStyle of the date picker in iOS 13.4+. Defaults to 0.
|
|
79
|
+
* Valid values are numbers:
|
|
80
|
+
* - 0: automatic (system picks the concrete style based on the current platform and date picker mode)
|
|
81
|
+
* - 1: wheels (the date picker displays as a wheel picker)
|
|
82
|
+
* - 2: compact (the date picker displays as a label that when tapped displays a calendar-style editor)
|
|
83
|
+
* - 3: inline (the date pickers displays as an inline, editable field)
|
|
84
|
+
*
|
|
85
|
+
* @nsProperty
|
|
86
|
+
*/
|
|
87
|
+
iosPreferredDatePickerStyle: number;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Gets or sets whether the time should be shown.
|
|
91
|
+
*
|
|
92
|
+
* @nsProperty
|
|
93
|
+
*/
|
|
94
|
+
showTime: boolean;
|
|
95
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
export * from './dialogs-common';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the input type for prompt dialog.
|
|
4
|
+
*/
|
|
5
|
+
export namespace inputType {
|
|
6
|
+
/**
|
|
7
|
+
* Plain text input type.
|
|
8
|
+
*/
|
|
9
|
+
export const text: string;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Password input type.
|
|
13
|
+
*/
|
|
14
|
+
export const password: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Email input type.
|
|
18
|
+
*/
|
|
19
|
+
export const email: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Number input type.
|
|
23
|
+
*/
|
|
24
|
+
export const number: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Decimal input type.
|
|
28
|
+
*/
|
|
29
|
+
export const decimal: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Phone input type.
|
|
33
|
+
*/
|
|
34
|
+
export const phone: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Defines the capitalization type for prompt dialog.
|
|
39
|
+
*/
|
|
40
|
+
export namespace capitalizationType {
|
|
41
|
+
/**
|
|
42
|
+
* No automatic capitalization.
|
|
43
|
+
*/
|
|
44
|
+
export const none: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Capitalizes every character.
|
|
48
|
+
*/
|
|
49
|
+
export const all: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Capitalize the first word of each sentence.
|
|
53
|
+
*/
|
|
54
|
+
export const sentences: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Capitalize the first letter of every word.
|
|
58
|
+
*/
|
|
59
|
+
export const words: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* The alert() method displays an alert box with a specified message.
|
|
64
|
+
* @param message Specifies the text to display in the alert box.
|
|
65
|
+
*/
|
|
66
|
+
export function alert(message: string | number | boolean): Promise<void>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* The alert() method displays an alert box with a specified message.
|
|
70
|
+
* @param options Specifies the options for the alert box.
|
|
71
|
+
*/
|
|
72
|
+
export function alert(options: AlertOptions): Promise<void>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The confirm() method displays a dialog box with a specified message.
|
|
76
|
+
* @param message Specifies the text to display in the confirm box.
|
|
77
|
+
*/
|
|
78
|
+
export function confirm(message: string): Promise<boolean>;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* The confirm() method displays a dialog box with a specified message.
|
|
82
|
+
* @param options Specifies the options for the confirm box.
|
|
83
|
+
*/
|
|
84
|
+
export function confirm(options: ConfirmOptions): Promise<boolean>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The prompt() method displays a dialog box that prompts the visitor for input.
|
|
88
|
+
* @param message The text to display in the dialog box.
|
|
89
|
+
* @param defaultText The default text to display in the input box. Optional.
|
|
90
|
+
*/
|
|
91
|
+
export function prompt(message: string, defaultText?: string): Promise<PromptResult>;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The prompt() method displays a dialog box that prompts the visitor for input.
|
|
95
|
+
* @param options The options for the dialog box.
|
|
96
|
+
*/
|
|
97
|
+
export function prompt(options: PromptOptions): Promise<PromptResult>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The login() method displays a login dialog box that prompts the visitor for user name and password.
|
|
101
|
+
* @param message The text to display in the dialog box.
|
|
102
|
+
* @param userNameHint The default text to display as a hint in the username input. Optional.
|
|
103
|
+
* @param passwordHint The default text to display as a hint in the password input. Optional.
|
|
104
|
+
* @param userName The default text to display in the user name input box. Optional.
|
|
105
|
+
* @param password The default text to display in the password input box. Optional.
|
|
106
|
+
*/
|
|
107
|
+
export function login(message: string, userNameHint?: string, passwordHint?: string, userName?: string, password?: string): Promise<LoginResult>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The login() method displays a login dialog box that prompts the visitor for user name and password.
|
|
111
|
+
* @param message The text to display in the dialog box.
|
|
112
|
+
* @param userNameHint The default text to display as a hint in the username input. Optional.
|
|
113
|
+
* @param passwordHint The default text to display as a hint in the password input. Optional.
|
|
114
|
+
*/
|
|
115
|
+
export function login(message: string, userNameHint?: string, passwordHint?: string): Promise<LoginResult>;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The login() method displays a login dialog box that prompts the visitor for user name and password.
|
|
119
|
+
* @param options The options for the dialog box.
|
|
120
|
+
*/
|
|
121
|
+
export function login(options: LoginOptions): Promise<LoginResult>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The action() method displays a action box that prompts the visitor to choose some action.
|
|
125
|
+
* @param message The text to display in the dialog box.
|
|
126
|
+
* @param cancelButtonText The text to display in the cancel button.
|
|
127
|
+
* @param actions List of available actions.
|
|
128
|
+
*/
|
|
129
|
+
export function action(message: string, cancelButtonText: string, actions: Array<string>): Promise<string>;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* The action() method displays a action box that prompts the visitor to choose some action.
|
|
133
|
+
* @param options The options for the dialog box.
|
|
134
|
+
*/
|
|
135
|
+
export function action(options: ActionOptions): Promise<string>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Provides options for the dialog.
|
|
139
|
+
*/
|
|
140
|
+
export interface CancelableOptions {
|
|
141
|
+
/**
|
|
142
|
+
* [Android only] Gets or sets if the dialog can be canceled by taping outside of the dialog.
|
|
143
|
+
*/
|
|
144
|
+
cancelable?: boolean;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* [Android only] Sets the theme of the Dialog. Usable themes can be found: https://developer.android.com/reference/android/R.style
|
|
148
|
+
*/
|
|
149
|
+
theme?: number;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Provides options for the dialog.
|
|
154
|
+
*/
|
|
155
|
+
export interface ActionOptions extends CancelableOptions {
|
|
156
|
+
/**
|
|
157
|
+
* Gets or sets the dialog title.
|
|
158
|
+
*/
|
|
159
|
+
title?: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Gets or sets the dialog message.
|
|
163
|
+
*/
|
|
164
|
+
message?: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Gets or sets the Cancel button text.
|
|
168
|
+
*/
|
|
169
|
+
cancelButtonText?: string;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Gets or sets the list of available actions.
|
|
173
|
+
*/
|
|
174
|
+
actions?: Array<string>;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* [iOS only] Gets or sets the indexes of destructive actions.
|
|
178
|
+
*/
|
|
179
|
+
destructiveActionsIndexes?: Array<number>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Provides options for the dialog.
|
|
184
|
+
*/
|
|
185
|
+
export interface DialogOptions extends CancelableOptions {
|
|
186
|
+
/**
|
|
187
|
+
* Gets or sets the dialog title.
|
|
188
|
+
*/
|
|
189
|
+
title?: string;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Gets or sets the dialog message.
|
|
193
|
+
*/
|
|
194
|
+
message?: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Provides options for the alert.
|
|
199
|
+
*/
|
|
200
|
+
export interface AlertOptions extends DialogOptions {
|
|
201
|
+
/**
|
|
202
|
+
* Gets or sets the OK button text.
|
|
203
|
+
*/
|
|
204
|
+
okButtonText?: string;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Provides options for the confirm dialog.
|
|
209
|
+
*/
|
|
210
|
+
export interface ConfirmOptions extends AlertOptions {
|
|
211
|
+
/**
|
|
212
|
+
* Gets or sets the Cancel button text.
|
|
213
|
+
*/
|
|
214
|
+
cancelButtonText?: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Gets or sets the neutral button text.
|
|
218
|
+
*/
|
|
219
|
+
neutralButtonText?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Provides options for the prompt dialog.
|
|
224
|
+
*/
|
|
225
|
+
export interface PromptOptions extends ConfirmOptions {
|
|
226
|
+
/**
|
|
227
|
+
* Gets or sets the default text to display in the input box.
|
|
228
|
+
*/
|
|
229
|
+
defaultText?: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Gets or sets the prompt input type (plain text, password, or email).
|
|
233
|
+
*/
|
|
234
|
+
inputType?: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Gets or sets the prompt capitalizationType (none, all, sentences, or words).
|
|
238
|
+
*/
|
|
239
|
+
capitalizationType?: string;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Provides options for the login dialog.
|
|
244
|
+
*/
|
|
245
|
+
export interface LoginOptions extends ConfirmOptions {
|
|
246
|
+
/**
|
|
247
|
+
* Gets or sets the default text to display as hint in the user name input box.
|
|
248
|
+
*/
|
|
249
|
+
userNameHint?: string;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Gets or sets the default text to display as hint in the password input box.
|
|
253
|
+
*/
|
|
254
|
+
passwordHint?: string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Gets or sets the default text to display in the user name input box.
|
|
258
|
+
*/
|
|
259
|
+
userName?: string;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Gets or sets the default text to display in the password input box.
|
|
263
|
+
*/
|
|
264
|
+
password?: string;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Provides result data from the prompt dialog.
|
|
269
|
+
*/
|
|
270
|
+
export interface PromptResult {
|
|
271
|
+
/**
|
|
272
|
+
* Gets or sets the prompt dialog boolean result.
|
|
273
|
+
*/
|
|
274
|
+
result: boolean;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Gets or sets the text entered in the prompt dialog.
|
|
278
|
+
*/
|
|
279
|
+
text: string;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Provides result data from the login dialog.
|
|
284
|
+
*/
|
|
285
|
+
export interface LoginResult {
|
|
286
|
+
/**
|
|
287
|
+
* Gets or sets the login dialog boolean result.
|
|
288
|
+
*/
|
|
289
|
+
result: boolean;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Gets or sets the user entered in the login dialog.
|
|
293
|
+
*/
|
|
294
|
+
userName: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Gets or sets the password entered in the login dialog.
|
|
298
|
+
*/
|
|
299
|
+
password: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Singular rollup for convenience of all dialog methods
|
|
304
|
+
*/
|
|
305
|
+
export declare const Dialogs: {
|
|
306
|
+
alert: typeof alert;
|
|
307
|
+
confirm: typeof confirm;
|
|
308
|
+
prompt: typeof prompt;
|
|
309
|
+
login: typeof login;
|
|
310
|
+
action: typeof action;
|
|
311
|
+
};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { TextBase } from '../text-base';
|
|
2
|
+
import { Color } from '../../color';
|
|
3
|
+
import { FormattedString } from '../text-base/formatted-string';
|
|
4
|
+
import { Style } from '../styling/style';
|
|
5
|
+
import { Property, CssProperty } from '../core/properties';
|
|
6
|
+
import { CoreTypes } from '../../core-types';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Represents the base class for all editable text views.
|
|
10
|
+
*
|
|
11
|
+
* @nsView EditableTextBase
|
|
12
|
+
*/
|
|
13
|
+
export class EditableTextBase extends TextBase {
|
|
14
|
+
/**
|
|
15
|
+
* String value used when hooking to the blur event.
|
|
16
|
+
*
|
|
17
|
+
* @nsEvent blurEvent
|
|
18
|
+
*/
|
|
19
|
+
public static blurEvent: string;
|
|
20
|
+
/**
|
|
21
|
+
* String value used when hooking to the focus event.
|
|
22
|
+
*
|
|
23
|
+
* @nsEvent focusEvent
|
|
24
|
+
*/
|
|
25
|
+
public static focusEvent: string;
|
|
26
|
+
/**
|
|
27
|
+
* String value used when hooking to the textChange event.
|
|
28
|
+
*
|
|
29
|
+
* @nsEvent {PropertyChangeData} textChangeEvent
|
|
30
|
+
*/
|
|
31
|
+
public static textChangeEvent: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the soft keyboard type.
|
|
35
|
+
*
|
|
36
|
+
* @nsProperty
|
|
37
|
+
*/
|
|
38
|
+
keyboardType: CoreTypes.KeyboardInputType;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the soft keyboard return key flavor.
|
|
42
|
+
*
|
|
43
|
+
* @nsProperty
|
|
44
|
+
*/
|
|
45
|
+
returnKeyType: CoreTypes.ReturnKeyButtonType;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Gets or sets a value indicating when the text property will be updated.
|
|
49
|
+
*
|
|
50
|
+
* @nsProperty
|
|
51
|
+
*/
|
|
52
|
+
updateTextTrigger: CoreTypes.UpdateTextTriggerType;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the autocapitalization type.
|
|
56
|
+
*
|
|
57
|
+
* @nsProperty
|
|
58
|
+
*/
|
|
59
|
+
autocapitalizationType: CoreTypes.AutocapitalizationInputType;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the autofill type.
|
|
63
|
+
*
|
|
64
|
+
* @nsProperty
|
|
65
|
+
*/
|
|
66
|
+
autofillType: CoreTypes.AutofillType;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets whether the instance is editable.
|
|
70
|
+
*
|
|
71
|
+
* @nsProperty
|
|
72
|
+
*/
|
|
73
|
+
editable: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Enables or disables autocorrection.
|
|
77
|
+
*
|
|
78
|
+
* @nsProperty
|
|
79
|
+
*/
|
|
80
|
+
autocorrect: boolean;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Gets or sets the placeholder text.
|
|
84
|
+
*
|
|
85
|
+
* @nsProperty
|
|
86
|
+
*/
|
|
87
|
+
hint: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Limits input to a certain number of characters.
|
|
91
|
+
*
|
|
92
|
+
* @nsProperty
|
|
93
|
+
*/
|
|
94
|
+
maxLength: number;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets the color of the placeholder text
|
|
98
|
+
*
|
|
99
|
+
* @nsProperty
|
|
100
|
+
*/
|
|
101
|
+
placeholderColor: Color;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Format input values
|
|
105
|
+
* Note: useful for input masking/formatting
|
|
106
|
+
*/
|
|
107
|
+
valueFormatter: (value: string) => string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Hides the soft input method, ususally a soft keyboard.
|
|
111
|
+
*/
|
|
112
|
+
dismissSoftInput(): void;
|
|
113
|
+
|
|
114
|
+
//@private
|
|
115
|
+
/**
|
|
116
|
+
* @private
|
|
117
|
+
*/
|
|
118
|
+
public _setInputType(inputType: number): void;
|
|
119
|
+
//@endprivate
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Set the selection anchor to start and the selection edge to stop
|
|
123
|
+
*/
|
|
124
|
+
public setSelection(start: number, stop?: number);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export const keyboardTypeProperty: Property<EditableTextBase, CoreTypes.KeyboardInputType>;
|
|
128
|
+
export const returnKeyTypeProperty: Property<EditableTextBase, CoreTypes.ReturnKeyButtonType>;
|
|
129
|
+
export const editableProperty: Property<EditableTextBase, boolean>;
|
|
130
|
+
export const updateTextTriggerProperty: Property<EditableTextBase, CoreTypes.UpdateTextTriggerType>;
|
|
131
|
+
export const autocapitalizationTypeProperty: Property<EditableTextBase, CoreTypes.AutocapitalizationInputType>;
|
|
132
|
+
export const autocorrectProperty: Property<EditableTextBase, boolean>;
|
|
133
|
+
export const hintProperty: Property<EditableTextBase, string>;
|
|
134
|
+
export const placeholderColorProperty: CssProperty<Style, Color>;
|
|
135
|
+
export const maxLengthProperty: Property<EditableTextBase, number>;
|
|
136
|
+
|
|
137
|
+
//@private
|
|
138
|
+
/**
|
|
139
|
+
* @private
|
|
140
|
+
*/
|
|
141
|
+
export function _updateCharactersInRangeReplacementString(formattedText: FormattedString, rangeLocation: number, rangeLength: number, replacementString: string): void;
|
|
142
|
+
//@endprivate
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { View } from '../../ui/core/view';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Whether the app is embedded into a host project or standalone project
|
|
5
|
+
*/
|
|
6
|
+
export function isEmbedded(): boolean;
|
|
7
|
+
|
|
8
|
+
export function setEmbeddedView(view: View | undefined): void;
|
|
9
|
+
|
|
10
|
+
export function getEmbeddedView(): View;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { NavigationTransition, BackstackEntry } from '.';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @private
|
|
5
|
+
*/
|
|
6
|
+
export function _setAndroidFragmentTransitions(animated: boolean, navigationTransition: NavigationTransition, currentEntry: BackstackEntry, newEntry: BackstackEntry, frameId: number, fragmentTransaction: any, isNestedDefaultTransition?: boolean): void;
|
|
7
|
+
/**
|
|
8
|
+
* @private
|
|
9
|
+
*/
|
|
10
|
+
export function _getAnimatedEntries(frameId: number): Set<BackstackEntry>;
|
|
11
|
+
/**
|
|
12
|
+
* @private
|
|
13
|
+
* Called once fragment is recreated after it was destroyed.
|
|
14
|
+
* Reapply animations and transitions from entry to fragment if any.
|
|
15
|
+
*/
|
|
16
|
+
export function _updateTransitions(entry: BackstackEntry): void;
|
|
17
|
+
/**
|
|
18
|
+
* @private
|
|
19
|
+
* Called once fragment is going to reappear from backstack.
|
|
20
|
+
* Reverse transitions from entry to fragment if any.
|
|
21
|
+
*/
|
|
22
|
+
export function _reverseTransitions(previousEntry: BackstackEntry, currentEntry: BackstackEntry): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
* Called when entry is removed from backstack (either back navigation or
|
|
26
|
+
* navigate with clear history). Removes all animations and transitions from entry
|
|
27
|
+
* and fragment and clears all listeners in order to prevent memory leaks.
|
|
28
|
+
*/
|
|
29
|
+
export function _clearEntry(entry: BackstackEntry): void;
|
|
30
|
+
/**
|
|
31
|
+
* @private
|
|
32
|
+
* Called when fragment is destroyed because activity is destroyed.
|
|
33
|
+
* Removes all animations and transitions but keeps them on the entry
|
|
34
|
+
* in order to reapply them when new fragment is created for the same entry.
|
|
35
|
+
*/
|
|
36
|
+
export function _clearFragment(entry: BackstackEntry): void;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @private
|
|
40
|
+
* nativeTransition: androidx.transition.Transition
|
|
41
|
+
*/
|
|
42
|
+
export function addNativeTransitionListener(entry: any, nativeTransition: any): any;
|
|
43
|
+
//@endprivate
|