@nativescript/core 8.9.0-next-01-17-2025-12834437745 → 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/xml/index.d.ts +105 -44
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data serialization from JS > Native
|
|
3
|
+
* @param wrapPrimitives Optionally wrap primitive types (Some APIs may require this)
|
|
4
|
+
*/
|
|
5
|
+
export function dataSerialize(data?: any, wrapPrimitives?: boolean): any;
|
|
6
|
+
/**
|
|
7
|
+
* Data deserialization from Native > JS
|
|
8
|
+
* @param nativeData Native platform data
|
|
9
|
+
*/
|
|
10
|
+
export function dataDeserialize(nativeData?: any): any;
|
|
11
|
+
|
|
12
|
+
// /**
|
|
13
|
+
// * Module with android specific utilities.
|
|
14
|
+
// */
|
|
15
|
+
// declare namespace AndroidUtils {
|
|
16
|
+
// /**
|
|
17
|
+
// * Gets the native Android application instance.
|
|
18
|
+
// */
|
|
19
|
+
// export function getApplication(): any; /* android.app.Application */
|
|
20
|
+
|
|
21
|
+
// /**
|
|
22
|
+
// * Get the current native Android activity.
|
|
23
|
+
// */
|
|
24
|
+
// export function getCurrentActivity(): any; /* android.app.Activity */
|
|
25
|
+
// /**
|
|
26
|
+
// * Gets the native Android application resources.
|
|
27
|
+
// */
|
|
28
|
+
// export function getResources(): any; /* android.content.res.Resources */
|
|
29
|
+
|
|
30
|
+
// /**
|
|
31
|
+
// * Gets the Android application context.
|
|
32
|
+
// */
|
|
33
|
+
// export function getApplicationContext(): any; /* android.content.Context */
|
|
34
|
+
|
|
35
|
+
// /**
|
|
36
|
+
// * Gets the native Android input method manager.
|
|
37
|
+
// */
|
|
38
|
+
// export function getInputMethodManager(): any; /* android.view.inputmethod.InputMethodManager */
|
|
39
|
+
|
|
40
|
+
// /**
|
|
41
|
+
// * Hides the soft input method, usually a soft keyboard.
|
|
42
|
+
// */
|
|
43
|
+
// export function dismissSoftInput(nativeView?: any /* android.view.View */): void;
|
|
44
|
+
|
|
45
|
+
// /**
|
|
46
|
+
// * Shows the soft input method, usually a soft keyboard.
|
|
47
|
+
// */
|
|
48
|
+
// export function showSoftInput(nativeView: any /* android.view.View */): void;
|
|
49
|
+
|
|
50
|
+
// /**
|
|
51
|
+
// * Utility module dealing with some android collections.
|
|
52
|
+
// */
|
|
53
|
+
// namespace collections {
|
|
54
|
+
// /**
|
|
55
|
+
// * Converts string array into a String [hash set](http://developer.android.com/reference/java/util/HashSet.html).
|
|
56
|
+
// * @param str - An array of strings to convert.
|
|
57
|
+
// */
|
|
58
|
+
// export function stringArrayToStringSet(str: string[]): any;
|
|
59
|
+
|
|
60
|
+
// /**
|
|
61
|
+
// * Converts string hash set into array of strings.
|
|
62
|
+
// * @param stringSet - A string hash set to convert.
|
|
63
|
+
// */
|
|
64
|
+
// export function stringSetToStringArray(stringSet: any): string[];
|
|
65
|
+
// }
|
|
66
|
+
|
|
67
|
+
// /**
|
|
68
|
+
// * Utility module related to android resources.
|
|
69
|
+
// */
|
|
70
|
+
// export namespace resources {
|
|
71
|
+
// /**
|
|
72
|
+
// * Gets the drawable id from a given name.
|
|
73
|
+
// * @param name - Name of the resource.
|
|
74
|
+
// */
|
|
75
|
+
// export function getDrawableId(name);
|
|
76
|
+
|
|
77
|
+
// /**
|
|
78
|
+
// * Gets the string id from a given name.
|
|
79
|
+
// * @param name - Name of the resource.
|
|
80
|
+
// */
|
|
81
|
+
// export function getStringId(name);
|
|
82
|
+
|
|
83
|
+
// /**
|
|
84
|
+
// * Gets the id from a given name.
|
|
85
|
+
// * @param name - Name of the resource.
|
|
86
|
+
// */
|
|
87
|
+
// export function getId(name: string): number;
|
|
88
|
+
|
|
89
|
+
// /**
|
|
90
|
+
// * Gets the id from a given name with optional type.
|
|
91
|
+
// * This sets an explicit package name.
|
|
92
|
+
// * https://developer.android.com/reference/android/content/res/Resources#getIdentifier(java.lang.String,%20java.lang.String,%20java.lang.String)
|
|
93
|
+
// * @param name - Name of the resource.
|
|
94
|
+
// * @param type - (Optional) type
|
|
95
|
+
// */
|
|
96
|
+
// export function getResource(name: string, type?: string): number;
|
|
97
|
+
|
|
98
|
+
// /**
|
|
99
|
+
// * [Obsolete - please use getPaletteColor] Gets a color from current theme.
|
|
100
|
+
// * @param name - Name of the color
|
|
101
|
+
// */
|
|
102
|
+
// export function getPalleteColor();
|
|
103
|
+
|
|
104
|
+
// /**
|
|
105
|
+
// * Gets a color from the current theme.
|
|
106
|
+
// * @param name - Name of the color resource.
|
|
107
|
+
// */
|
|
108
|
+
// export function getPaletteColor(name: string, context: any /* android.content.Context */): number;
|
|
109
|
+
// }
|
|
110
|
+
|
|
111
|
+
// /**
|
|
112
|
+
// * Checks whether the application is running on real device and not on emulator.
|
|
113
|
+
// */
|
|
114
|
+
// export function isRealDevice(): boolean;
|
|
115
|
+
// }
|
|
116
|
+
|
|
117
|
+
// /**
|
|
118
|
+
// * Module with ios specific utilities.
|
|
119
|
+
// */
|
|
120
|
+
// declare namespace iOSUtils {
|
|
121
|
+
// // Common properties between UILabel, UITextView and UITextField
|
|
122
|
+
// export interface TextUIView {
|
|
123
|
+
// font: any;
|
|
124
|
+
// textAlignment: number;
|
|
125
|
+
// textColor: any;
|
|
126
|
+
// text: string;
|
|
127
|
+
// attributedText: any;
|
|
128
|
+
// lineBreakMode: number;
|
|
129
|
+
// numberOfLines: number;
|
|
130
|
+
// }
|
|
131
|
+
|
|
132
|
+
// /**
|
|
133
|
+
// * Utility module dealing with some iOS collections.
|
|
134
|
+
// */
|
|
135
|
+
// export namespace collections {
|
|
136
|
+
// /**
|
|
137
|
+
// * Converts JavaScript array to [NSArray](https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/).
|
|
138
|
+
// * @param str - JavaScript string array to convert.
|
|
139
|
+
// */
|
|
140
|
+
// export function jsArrayToNSArray<T>(str: T[]): NSArray<T>;
|
|
141
|
+
|
|
142
|
+
// /**
|
|
143
|
+
// * Converts NSArray to JavaScript array.
|
|
144
|
+
// * @param a - NSArray to convert.
|
|
145
|
+
// */
|
|
146
|
+
// export function nsArrayToJSArray<T>(a: NSArray<T>): T[];
|
|
147
|
+
// }
|
|
148
|
+
|
|
149
|
+
// /**
|
|
150
|
+
// * Get the root UIViewController of the app
|
|
151
|
+
// */
|
|
152
|
+
// export function getRootViewController(): any; /* UIViewController */
|
|
153
|
+
|
|
154
|
+
// /**
|
|
155
|
+
// * Get the UIWindow of the app
|
|
156
|
+
// */
|
|
157
|
+
// export function getWindow(): any; /* UIWindow */
|
|
158
|
+
|
|
159
|
+
// /**
|
|
160
|
+
// * Set the window background color of base view of the app.
|
|
161
|
+
// * Often this is shown when opening a modal as the view underneath scales down revealing the window color.
|
|
162
|
+
// * @param value color (hex, rgb, rgba, etc.)
|
|
163
|
+
// */
|
|
164
|
+
// export function setWindowBackgroundColor(value: string): void;
|
|
165
|
+
|
|
166
|
+
// /**
|
|
167
|
+
// * Data serialize and deserialize helpers
|
|
168
|
+
// */
|
|
169
|
+
// export function dataSerialize(data?: any): any;
|
|
170
|
+
// export function dataDeserialize(nativeData?: any): any;
|
|
171
|
+
|
|
172
|
+
// /**
|
|
173
|
+
// * @deprecated use application.orientation instead
|
|
174
|
+
// *
|
|
175
|
+
// * Gets an information about if current mode is Landscape.
|
|
176
|
+
// */
|
|
177
|
+
// export function isLandscape(): boolean;
|
|
178
|
+
|
|
179
|
+
// /**
|
|
180
|
+
// * Gets the iOS device major version (for 8.1 will return 8).
|
|
181
|
+
// */
|
|
182
|
+
// export const MajorVersion: number;
|
|
183
|
+
|
|
184
|
+
// /**
|
|
185
|
+
// * Opens file with associated application.
|
|
186
|
+
// * @param filePath The file path.
|
|
187
|
+
// */
|
|
188
|
+
// export function openFile(filePath: string): boolean;
|
|
189
|
+
|
|
190
|
+
// /**
|
|
191
|
+
// * Joins an array of file paths.
|
|
192
|
+
// * @param paths An array of paths.
|
|
193
|
+
// * Returns the joined path.
|
|
194
|
+
// */
|
|
195
|
+
// export function joinPaths(...paths: string[]): string;
|
|
196
|
+
|
|
197
|
+
// /**
|
|
198
|
+
// * Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps.
|
|
199
|
+
// * iOS - this folder is read-only and contains the app and all its resources.
|
|
200
|
+
// */
|
|
201
|
+
// export function getCurrentAppPath(): string;
|
|
202
|
+
|
|
203
|
+
// /**
|
|
204
|
+
// * Gets the currently visible(topmost) UIViewController.
|
|
205
|
+
// * @param rootViewController The root UIViewController instance to start searching from (normally window.rootViewController).
|
|
206
|
+
// * Returns the visible UIViewController.
|
|
207
|
+
// */
|
|
208
|
+
// export function getVisibleViewController(rootViewController: any /* UIViewController*/): any; /* UIViewController*/
|
|
209
|
+
|
|
210
|
+
// /**
|
|
211
|
+
// *
|
|
212
|
+
// * @param transform Applies a rotation transform over X,Y and Z axis
|
|
213
|
+
// * @param x Rotation over X axis in degrees
|
|
214
|
+
// * @param y Rotation over Y axis in degrees
|
|
215
|
+
// * @param z Rotation over Z axis in degrees
|
|
216
|
+
// */
|
|
217
|
+
// export function applyRotateTransform(transform: any /* CATransform3D*/, x: number, y: number, z: number): any; /* CATransform3D*/
|
|
218
|
+
|
|
219
|
+
// /**
|
|
220
|
+
// * Create a UIDocumentInteractionControllerDelegate implementation for use with UIDocumentInteractionController
|
|
221
|
+
// */
|
|
222
|
+
// export function createUIDocumentInteractionControllerDelegate(): any;
|
|
223
|
+
|
|
224
|
+
// /**
|
|
225
|
+
// * Checks whether the application is running on real device and not on simulator.
|
|
226
|
+
// */
|
|
227
|
+
// export function isRealDevice(): boolean;
|
|
228
|
+
|
|
229
|
+
// /**
|
|
230
|
+
// * Debug utility to insert CGRect values into logging output.
|
|
231
|
+
// * Note: when printing a CGRect directly it will print blank so this helps show the values.
|
|
232
|
+
// * @param rect CGRect
|
|
233
|
+
// */
|
|
234
|
+
// export function printCGRect(rect: CGRect): void;
|
|
235
|
+
|
|
236
|
+
// /**
|
|
237
|
+
// * Take a snapshot of a View on screen.
|
|
238
|
+
// * @param view view to snapshot
|
|
239
|
+
// * @param scale screen scale
|
|
240
|
+
// */
|
|
241
|
+
// export function snapshotView(view: UIView, scale: number): UIImage;
|
|
242
|
+
|
|
243
|
+
// /**
|
|
244
|
+
// * Copy layer properties from one view to another.
|
|
245
|
+
// * @param view a view to copy layer properties to
|
|
246
|
+
// * @param toView a view to copy later properties from
|
|
247
|
+
// * @param (optional) custom properties to copy between both views
|
|
248
|
+
// */
|
|
249
|
+
// export function copyLayerProperties(view: UIView, toView: UIView, customProperties?: { view?: Array<string> /* Array<keyof UIView> */; layer?: Array<string> /* Array<keyof CALayer> */ }): void;
|
|
250
|
+
|
|
251
|
+
// /**
|
|
252
|
+
// * Animate views with a configurable spring effect
|
|
253
|
+
// * @param options various animation settings for the spring
|
|
254
|
+
// * - tension: number
|
|
255
|
+
// * - friction: number
|
|
256
|
+
// * - mass: number
|
|
257
|
+
// * - delay: number
|
|
258
|
+
// * - velocity: number
|
|
259
|
+
// * - animateOptions: UIViewAnimationOptions
|
|
260
|
+
// * - animations: () => void, Callback containing the property changes you want animated
|
|
261
|
+
// * - completion: (finished: boolean) => void, Callback when animation is finished
|
|
262
|
+
// */
|
|
263
|
+
// export function animateWithSpring(options?: { tension?: number; friction?: number; mass?: number; delay?: number; velocity?: number; animateOptions?: UIViewAnimationOptions; animations?: () => void; completion?: (finished?: boolean) => void });
|
|
264
|
+
// }
|
|
265
|
+
|
|
266
|
+
import * as AndroidUtils from './android';
|
|
267
|
+
export import android = AndroidUtils;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* @deprecated use Utils.android instead.
|
|
271
|
+
*/
|
|
272
|
+
export import ad = AndroidUtils;
|
|
273
|
+
|
|
274
|
+
import * as iOSUtils from './ios';
|
|
275
|
+
export import ios = iOSUtils;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @deprecated use Utils.ios instead.
|
|
279
|
+
*/
|
|
280
|
+
export import iOSNativeHelper = iOSUtils;
|
package/utils/types.d.ts
CHANGED
|
@@ -1,24 +1,116 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
/**
|
|
2
|
+
* A function that checks if something is a valid string.
|
|
3
|
+
* @param value The value which will be checked.
|
|
4
|
+
* Returns true if value is a string.
|
|
5
|
+
*/
|
|
6
|
+
export function isString(value: any): boolean;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A function that checks if something is a valid number.
|
|
10
|
+
* @param value The value which will be checked.
|
|
11
|
+
* Returns true if value is a number.
|
|
12
|
+
*/
|
|
13
|
+
export function isNumber(value: any): boolean;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A function that checks if something is a valid boolean.
|
|
17
|
+
* @param value The value which will be checked.
|
|
18
|
+
* Returns true if value is a boolean.
|
|
19
|
+
*/
|
|
20
|
+
export function isBoolean(value: any): boolean;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A function that checks if something is a function.
|
|
24
|
+
* @param value The value which will be checked.
|
|
25
|
+
* Returns true if value is a function.
|
|
26
|
+
*/
|
|
27
|
+
export function isFunction(value: any): boolean;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* A function that checks if something is an object.
|
|
31
|
+
* @param value The value which will be checked.
|
|
32
|
+
* Returns true if value is an object.
|
|
33
|
+
*/
|
|
34
|
+
export function isObject(value: any): boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* A function that checks if something is "undefined".
|
|
38
|
+
* @param value The value which will be checked.
|
|
39
|
+
* Returns true if value is "undefined".
|
|
40
|
+
*/
|
|
41
|
+
export function isUndefined(value: any): boolean;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A function that checks if something is defined (not undefined).
|
|
45
|
+
* @param value The value which will be checked.
|
|
46
|
+
* Returns true if value is defined.
|
|
47
|
+
*/
|
|
48
|
+
export function isDefined(value: any): boolean;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* A function that checks if something is not defined (null or undefined).
|
|
52
|
+
* @param value The value which will be checked.
|
|
53
|
+
* Returns true if value is null or undefined.
|
|
54
|
+
*/
|
|
55
|
+
export function isNullOrUndefined(value: any): boolean;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* A function that checks if something is a valid function.
|
|
59
|
+
* @param value The value which will be checked.
|
|
60
|
+
* Throws exception if passed value is not a valid function.
|
|
61
|
+
*/
|
|
62
|
+
export function verifyCallback(value: any): void;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Checks if the number has decimals
|
|
66
|
+
* @param value Number to check
|
|
67
|
+
*/
|
|
68
|
+
export function numberHasDecimals(value: number): boolean;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Checks if the number is 64 bit
|
|
72
|
+
* @param value Number to check
|
|
73
|
+
*/
|
|
74
|
+
export function numberIs64Bit(value: number): boolean;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* A function that gets the class name of an object.
|
|
78
|
+
* @param object The object.
|
|
79
|
+
* Returns a string with the name of the class.
|
|
80
|
+
*/
|
|
81
|
+
export function getClass(object): string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* A function that gets the entire class hierarchy of an object.
|
|
85
|
+
* @param object The object.
|
|
86
|
+
* Returns an array of strings with the name of all base classes.
|
|
87
|
+
*/
|
|
88
|
+
export function getBaseClasses(object): Array<string>;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* A function that gets the ClassInfo for an object.
|
|
92
|
+
* @param object The object.
|
|
93
|
+
* Returns a ClassInfo for the object.
|
|
94
|
+
*/
|
|
95
|
+
export function getClassInfo(object: Object): ClassInfo;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A Class holding information about a class
|
|
99
|
+
*/
|
|
100
|
+
export class ClassInfo {
|
|
101
|
+
/**
|
|
102
|
+
* Gets the name of the class.
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Gets the ClassInfo for the base class of the current info.
|
|
108
|
+
*/
|
|
109
|
+
baseClassInfo: ClassInfo;
|
|
23
110
|
}
|
|
24
|
-
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Returns a string representation of an object to be shown in UI.
|
|
114
|
+
* @param object The object.
|
|
115
|
+
*/
|
|
116
|
+
export function toUIString(object): string;
|
package/xml/index.d.ts
CHANGED
|
@@ -1,51 +1,112 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Contains the XmlParser class, which is a SAX parser using the easysax implementation.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the type of parser event.
|
|
7
|
+
*/
|
|
8
|
+
export class ParserEventType {
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the StartElement event type.
|
|
11
|
+
*/
|
|
12
|
+
static StartElement: string;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the EndElement event type.
|
|
16
|
+
*/
|
|
17
|
+
static EndElement: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Specifies the Text event type.
|
|
21
|
+
*/
|
|
22
|
+
static Text: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the CDATA event type.
|
|
26
|
+
*/
|
|
27
|
+
static CDATA: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Specifies the Comment event type.
|
|
31
|
+
*/
|
|
32
|
+
static Comment: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
2
35
|
/**
|
|
3
36
|
* Defines a position within string, in line and column form.
|
|
4
37
|
*/
|
|
5
38
|
export interface Position {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export declare class ParserEventType implements definition.ParserEventType {
|
|
16
|
-
static StartElement: string;
|
|
17
|
-
static EndElement: string;
|
|
18
|
-
static Text: string;
|
|
19
|
-
static CDATA: string;
|
|
20
|
-
static Comment: string;
|
|
39
|
+
/**
|
|
40
|
+
* The line number. The first line is at index 1.
|
|
41
|
+
*/
|
|
42
|
+
line: number;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The column number. The first character is at index 1.
|
|
46
|
+
*/
|
|
47
|
+
column: number;
|
|
21
48
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Provides information for a parser event.
|
|
52
|
+
*/
|
|
53
|
+
export interface ParserEvent {
|
|
54
|
+
/**
|
|
55
|
+
* Returns the type of the parser event. This is one of the ParserEventType static members.
|
|
56
|
+
*/
|
|
57
|
+
eventType: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Get the position in the xml string where the event was generated.
|
|
61
|
+
*/
|
|
62
|
+
position: Position;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* If namespace processing is enabled, returns the prefix of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
66
|
+
*/
|
|
67
|
+
prefix?: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* If namespace processing is enabled, returns the namespace of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
71
|
+
*/
|
|
72
|
+
namespace?: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Returns the name of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
76
|
+
*/
|
|
77
|
+
elementName?: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Returns a JSON object with the attributes of an element in case the eventType is ParserEventType.StartElement.
|
|
81
|
+
*/
|
|
82
|
+
attributes?: Object;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Returns the relevant data in case the eventType is ParserEventType.Text, ParserEventType.CDATA or ParserEventType.Comment.
|
|
86
|
+
*/
|
|
87
|
+
data?: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Returns a JSON string representation of this instance.
|
|
91
|
+
*/
|
|
92
|
+
toString(): string;
|
|
39
93
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* A simple non-validating SAX parser based on https://github.com/vflash/easysax version 0.1.14
|
|
97
|
+
*/
|
|
98
|
+
export class XmlParser {
|
|
99
|
+
/**
|
|
100
|
+
* Creates a new instance of the XmlParser class.
|
|
101
|
+
* @param onEvent The callback to execute when a parser event occurs. The 'event' parameter contains information about the event.
|
|
102
|
+
* @param onError The callback to execute when a parser error occurs. The 'error' parameter contains the error.
|
|
103
|
+
* @param processNamespaces Specifies whether namespaces should be processed.
|
|
104
|
+
*/
|
|
105
|
+
constructor(onEvent: (event: ParserEvent) => void, onError?: (error: Error, position: Position) => void, processNamespaces?: boolean, angularSyntax?: boolean);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Parses the supplied xml string.
|
|
109
|
+
* @param xmlString The string containing the xml to parse.
|
|
110
|
+
*/
|
|
111
|
+
parse(xmlString: string): void;
|
|
51
112
|
}
|