@nativescript/core 8.9.0-next-01-17-2025-12834437745 → 8.9.0-next-01-22-2025-12918162303
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/frame-common.d.ts +1 -0
- package/ui/frame/frame-common.js +6 -0
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/index.android.d.ts +1 -0
- package/ui/frame/index.android.js +12 -15
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +590 -0
- package/ui/frame/index.ios.js +13 -0
- package/ui/frame/index.ios.js.map +1 -1
- 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,18 @@
|
|
|
1
|
+
declare class NativeScriptUtils extends NSObject {
|
|
2
|
+
|
|
3
|
+
static alloc(): NativeScriptUtils; // inherited from NSObject
|
|
4
|
+
|
|
5
|
+
static createMutableStringForSpanFontColorBackgroundColorTextDecorationBaselineOffset(text: string, font: UIFont, color: UIColor, backgroundColor: UIColor, textDecoration: string, baselineOffset: number): NSMutableAttributedString;
|
|
6
|
+
|
|
7
|
+
static createMutableStringWithDetails(details: NSDictionary<any, any>): NSMutableAttributedString;
|
|
8
|
+
|
|
9
|
+
static createUIFont(font: NSDictionary<any, any>): UIFont;
|
|
10
|
+
|
|
11
|
+
static getImageDataFormatQuality(image: UIImage, format: string, quality: number): NSData;
|
|
12
|
+
|
|
13
|
+
static getSystemFontWeightItalicSymbolicTraits(size: number, weight: number, italic: boolean, symbolicTraits: UIFontDescriptorSymbolicTraits): UIFont;
|
|
14
|
+
|
|
15
|
+
static new(): NativeScriptUtils; // inherited from NSObject
|
|
16
|
+
|
|
17
|
+
static scaleImageWidthHeightScaleFactor(image: UIImage, width: number, height: number, scaleFactor: number): UIImage;
|
|
18
|
+
}
|
package/profiling/index.d.ts
CHANGED
|
@@ -1,33 +1,160 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Counts the number of entry and exits a function had.
|
|
11
|
-
*/
|
|
12
|
-
runCount: number;
|
|
1
|
+
/**
|
|
2
|
+
* Contains contains utility methods for profiling.
|
|
3
|
+
* All methods in this module are experimental and may be changed in a non-major version.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
interface TimerInfo {
|
|
7
|
+
totalTime: number;
|
|
8
|
+
count: number;
|
|
13
9
|
}
|
|
14
|
-
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Profiling mode to use.
|
|
13
|
+
* - `counters` Accumulates method call counts and times until dumpProfiles is called and then prints aggregated statistic in the console. This is the default.
|
|
14
|
+
* - `timeline` Outputs method names along start/end timestamps in the console on the go.
|
|
15
|
+
* - `lifecycle` Outputs basic non-verbose times for startup, navigation, etc.
|
|
16
|
+
*/
|
|
17
|
+
type InstrumentationMode = 'counters' | 'timeline' | 'lifecycle';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Logging levels in order of verbosity.
|
|
21
|
+
*/
|
|
22
|
+
export enum Level {
|
|
23
|
+
none,
|
|
24
|
+
lifecycle,
|
|
25
|
+
timeline,
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Get the current logging level.
|
|
30
|
+
*/
|
|
31
|
+
export function level(): Level;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Enables profiling.
|
|
35
|
+
*
|
|
36
|
+
* Upon loading of the module it will cache the package.json of the app and check if there is a "profiling" key set,
|
|
37
|
+
* its value can be one of the options available for InstrumentationMode, and if set,
|
|
38
|
+
* enable() will be called in pre app start with the value in the package.json.
|
|
39
|
+
*
|
|
40
|
+
* An example for an `app/package.json` enabling the manual instrumentation profiling is:
|
|
41
|
+
* ```
|
|
42
|
+
* {
|
|
43
|
+
* "main": "main.js",
|
|
44
|
+
* "profiling": "timeline"
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param type Profiling mode to use.
|
|
49
|
+
* - "counters" - Accumulates method call counts and times until dumpProfiles is called and then prints aggregated statistic in the console. This is the default.
|
|
50
|
+
* - "timeline" - Outputs method names along start/end timestamps in the console on the go.
|
|
51
|
+
* - "lifecycle" - Outputs basic non-verbose times for startup, navigation, etc.
|
|
52
|
+
*/
|
|
53
|
+
export declare function enable(type?: InstrumentationMode): void;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Disables profiling.
|
|
57
|
+
*/
|
|
58
|
+
export declare function disable(): void;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Gets accurate system timestamp in ms.
|
|
62
|
+
*/
|
|
63
|
+
export declare function time(): number;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Starts a timer with a specific name.
|
|
67
|
+
* Works only if profiling is enabled.
|
|
68
|
+
* @param name Name of the timer.
|
|
69
|
+
*/
|
|
15
70
|
export declare function start(name: string): void;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Pauses a timer with a specific name. This will increase call count and accumulate time.
|
|
74
|
+
* Works only if profiling is enabled.
|
|
75
|
+
* @param name Name of the timer.
|
|
76
|
+
* @returns TimerInfo for the paused timer.
|
|
77
|
+
*/
|
|
16
78
|
export declare function stop(name: string): TimerInfo;
|
|
17
|
-
|
|
18
|
-
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Read a timer info.
|
|
82
|
+
* @param name The name of the timer to obtain information about.
|
|
83
|
+
*/
|
|
84
|
+
export function timer(name: string): TimerInfo;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if a timer is currently running.
|
|
88
|
+
* @param name Name of the timer.
|
|
89
|
+
* @returns true is the timer is currently running.
|
|
90
|
+
*/
|
|
19
91
|
export declare function isRunning(name: string): boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare function
|
|
27
|
-
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Method decorator factory. It will intercept the method call and start and pause a timer before and after the method call.
|
|
95
|
+
* Works only if profiling is enabled.
|
|
96
|
+
* @param name Name of the timer which will be used for method calls. If not provided - the name of the method will be used.
|
|
97
|
+
*/
|
|
98
|
+
export declare function profile(name?: string): MethodDecorator;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Function factory. It will intercept the function call and start and pause a timer before and after the function call. Works only if profiling is enabled.
|
|
102
|
+
* Works only if profiling is enabled.
|
|
103
|
+
* @param fn The function to wrap. Uses the function name to track the times.
|
|
104
|
+
*/
|
|
105
|
+
export declare function profile<F extends Function>(fn: F): F;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Function factory. It will intercept the function call and start and pause a timer before and after the function call. Works only if profiling is enabled.
|
|
109
|
+
* @param name The name used to track calls and times.
|
|
110
|
+
* @param fn The function to wrap.
|
|
111
|
+
*/
|
|
112
|
+
export declare function profile<F extends Function>(name: string, fn: F): F;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Method decorator. It will intercept the method calls and start and pause a timer before and after the method call. Works only if profiling is enabled.
|
|
116
|
+
*/
|
|
117
|
+
export declare function profile<T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void;
|
|
118
|
+
export function profile(): any;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Prints the timer for all methods instrumented with profile decorator.
|
|
122
|
+
*/
|
|
28
123
|
export declare function dumpProfiles(): void;
|
|
29
|
-
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Resets the timers for all methods instrumented with profile decorator.
|
|
127
|
+
*/
|
|
128
|
+
export function resetProfiles(): void;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Starts android cpu profiling.
|
|
132
|
+
* @param name Name of the cpu profiling session.
|
|
133
|
+
*/
|
|
30
134
|
export declare function startCPUProfile(name: string): void;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Stops android cpu profiling.
|
|
138
|
+
* @param name Name of the cpu profiling session.
|
|
139
|
+
*/
|
|
31
140
|
export declare function stopCPUProfile(name: string): void;
|
|
32
|
-
|
|
33
|
-
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Gets the uptime of the current process in milliseconds.
|
|
144
|
+
*/
|
|
145
|
+
export function uptime(): number;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Logs important messages. Contrary to console.log's behavior, the profiling log should output even for release builds.
|
|
149
|
+
*/
|
|
150
|
+
export function log(message: string): void;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Manually output profiling messages. The `@profile` decorator is useful when measuring times that function calls take on the stack
|
|
154
|
+
* but when measuring times between longer periods (startup times, times between the navigatingTo - navigatedTo events etc.)
|
|
155
|
+
* you can call this method and provide manually the times to be logged.
|
|
156
|
+
* @param message A string message
|
|
157
|
+
* @param start The start time (see `time()`)
|
|
158
|
+
* @param end The end time (see `time()`)
|
|
159
|
+
*/
|
|
160
|
+
export function trace(message: string, start: number, end: number): void;
|
package/references.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference path="../types-ios/src/index.d.ts" />
|
|
2
|
+
/// <reference path="../types-ios/src/lib/ios/objc-x86_64/objc!CFNetwork.d.ts" />
|
|
3
|
+
/// <reference path="../types-ios/src/lib/ios/objc-x86_64/objc!CoreText.d.ts" />
|
|
4
|
+
/// <reference path="../types-ios/src/lib/ios/objc-x86_64/objc!Darwin.d.ts" />
|
|
5
|
+
/// <reference path="../types-ios/src/lib/ios/objc-x86_64/objc!DarwinFoundation.d.ts" />
|
|
6
|
+
/// <reference path="../types-ios/src/lib/ios/objc-x86_64/objc!Symbols.d.ts" />
|
|
7
|
+
/// <reference path="../types-android/src/lib/android-29.d.ts" />
|
|
8
|
+
/// <reference path="./platforms/ios/typings/objc!MaterialComponents.d.ts" />
|
|
9
|
+
/// <reference path="./platforms/ios/typings/objc!NativeScriptUtils.d.ts" />
|
|
10
|
+
/// <reference path="./global-types.d.ts" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../ui/text-base/formatted-string';
|
|
1
|
+
export * from '../ui/text-base/formatted-string';
|
package/text/index.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export * from './text-common';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Defines the supported character encodings.
|
|
5
|
+
*/
|
|
6
|
+
export namespace encoding {
|
|
7
|
+
/**
|
|
8
|
+
* Denotes ISO-8859-1 character encoding.
|
|
9
|
+
*/
|
|
10
|
+
export const ISO_8859_1: any;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Denotes US_ASCII character encoding.
|
|
14
|
+
*/
|
|
15
|
+
export const US_ASCII: any;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Denotes UTF_16 character encoding.
|
|
19
|
+
*/
|
|
20
|
+
export const UTF_16: any;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Denotes UTF_16BE character encoding.
|
|
24
|
+
*/
|
|
25
|
+
export const UTF_16BE: any;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Denotes UTF_16LE character encoding.
|
|
29
|
+
*/
|
|
30
|
+
export const UTF_16LE: any;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Denotes UTF_8 character encoding.
|
|
34
|
+
*/
|
|
35
|
+
export const UTF_8: any;
|
|
36
|
+
}
|
package/text/span.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../ui/text-base/span';
|
|
1
|
+
export * from '../ui/text-base/span';
|
package/timer/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calls a function after a specified delay.
|
|
3
|
+
* @param callback The function to be called.
|
|
4
|
+
* @param milliseconds The time to wait before the function is called. Defaults to 0.
|
|
5
|
+
* @param args One or more parameter to use once the function is called. Defaults to no parameters.
|
|
6
|
+
*/
|
|
7
|
+
export function setTimeout(callback: Function, milliseconds?: number, ...args: any[]): number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Clears the delay set by a call to the setTimeout function.
|
|
11
|
+
* @param id The identifier returned by the previously called setTimeout() method.
|
|
12
|
+
*/
|
|
13
|
+
export function clearTimeout(id: number): void;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Calls a function repeatedly with a delay between each call.
|
|
17
|
+
* @param callback The function to be called.
|
|
18
|
+
* @param milliseconds The delay between each function call.
|
|
19
|
+
* @param args One or more parameter to use once the function is called. Defaults to no parameters.
|
|
20
|
+
*/
|
|
21
|
+
export function setInterval(callback: Function, milliseconds?: number, ...args: any[]): number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Clears repeated function which was set up by calling setInterval().
|
|
25
|
+
* @param id The identifier returned by the setInterval() method.
|
|
26
|
+
*/
|
|
27
|
+
export function clearInterval(id: number): void;
|
package/trace/index.d.ts
CHANGED
|
@@ -2,120 +2,146 @@
|
|
|
2
2
|
* An interface used to define a writer used by trace to print (log).
|
|
3
3
|
*/
|
|
4
4
|
export interface TraceWriter {
|
|
5
|
-
|
|
5
|
+
write(message: any, category: string, type?: number): void;
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
/**
|
|
8
9
|
* An interface used to trace information about specific event.
|
|
9
10
|
*/
|
|
10
11
|
export interface TraceEventListener {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
filter: string;
|
|
13
|
+
on(object: Object, name: string, data?: any): void;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
17
|
* An interface used to for handling trace error
|
|
16
18
|
*/
|
|
17
19
|
export interface TraceErrorHandler {
|
|
18
|
-
|
|
20
|
+
handlerError(error: Error): any;
|
|
19
21
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
22
|
+
|
|
23
|
+
export namespace Trace {
|
|
24
|
+
/**
|
|
25
|
+
* Enables the trace module.
|
|
26
|
+
*/
|
|
27
|
+
export function enable(): void;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Disables the trace module.
|
|
31
|
+
*/
|
|
32
|
+
export function disable(): void;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* A function that returns whether the tracer is enabled and there is a point in writing messages.
|
|
36
|
+
* Check this to avoid writing complex string templates.
|
|
37
|
+
* Send error messages even if tracing is disabled.
|
|
38
|
+
*/
|
|
39
|
+
export function isEnabled(): boolean;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Adds a TraceWriter instance to the trace module.
|
|
43
|
+
* @param writer The TraceWriter instance to add.
|
|
44
|
+
*/
|
|
45
|
+
export function addWriter(writer: TraceWriter): void;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Removes a TraceWriter instance from the trace module.
|
|
49
|
+
* @param writer The TraceWriter instance to remove.
|
|
50
|
+
*/
|
|
51
|
+
export function removeWriter(writer: TraceWriter): void;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Clears all the writers from the trace module.
|
|
55
|
+
*/
|
|
56
|
+
export function clearWriters(): void;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Sets the categories the module will trace.
|
|
60
|
+
* @param categories The comma-separated list of categories. If not specified all messages from all categories will be traced.
|
|
61
|
+
*/
|
|
62
|
+
export function setCategories(categories: string): void;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Adds categories to existing categories the module will trace.
|
|
66
|
+
* @param categories The comma-separated list of categories. If not specified all messages from all categories will be traced.
|
|
67
|
+
*/
|
|
68
|
+
export function addCategories(categories: string): void;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Check if category is already set in trace module.
|
|
72
|
+
* @param category The category to check.
|
|
73
|
+
*/
|
|
74
|
+
export function isCategorySet(category: string): boolean;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Writes a message using the available writers.
|
|
78
|
+
* @param message The message to be written.
|
|
79
|
+
* @param category The category of the message.
|
|
80
|
+
* @param type Optional, the type of the message - info, warning, error.
|
|
81
|
+
*/
|
|
82
|
+
export function write(message: any, category: string, type?: number): void;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Notifies all the attached listeners for an event that has occurred in the sender object.
|
|
86
|
+
* @param object The Object instance that raised the event.
|
|
87
|
+
* @param name The name of the raised event.
|
|
88
|
+
* @param data An optional parameter that passes the data associated with the event.
|
|
89
|
+
*/
|
|
90
|
+
export function notifyEvent(object: Object, name: string, data?: any): void;
|
|
91
|
+
|
|
92
|
+
export function addEventListener(listener: TraceEventListener): void;
|
|
93
|
+
|
|
94
|
+
export function removeEventListener(listener: TraceEventListener): void;
|
|
95
|
+
|
|
96
|
+
export module messageType {
|
|
97
|
+
export const log = 0;
|
|
98
|
+
export const info = 1;
|
|
99
|
+
export const warn = 2;
|
|
100
|
+
export const error = 3;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* all predefined categories.
|
|
105
|
+
*/
|
|
106
|
+
export module categories {
|
|
107
|
+
export const VisualTreeEvents = 'VisualTreeEvents';
|
|
108
|
+
export const Layout = 'Layout';
|
|
109
|
+
export const Style = 'Style';
|
|
110
|
+
export const ViewHierarchy = 'ViewHierarchy';
|
|
111
|
+
export const NativeLifecycle = 'NativeLifecycle';
|
|
112
|
+
export const Debug = 'Debug';
|
|
113
|
+
export const Navigation = 'Navigation';
|
|
114
|
+
export const Test = 'Test';
|
|
115
|
+
export const Binding = 'Binding';
|
|
116
|
+
export const BindingError = 'BindingError';
|
|
117
|
+
export const Error = 'Error';
|
|
118
|
+
export const Animation = 'Animation';
|
|
119
|
+
export const Transition = 'Transition';
|
|
120
|
+
export const Livesync = 'Livesync';
|
|
121
|
+
export const ModuleNameResolver = 'ModuleNameResolver';
|
|
122
|
+
export const MediaQuery = 'MediaQuery';
|
|
123
|
+
|
|
124
|
+
export const separator = ',';
|
|
125
|
+
export const All: string;
|
|
126
|
+
|
|
127
|
+
export function concat(...args: any): string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
class ConsoleWriter implements TraceWriter {
|
|
131
|
+
public write(message: any, category: string, type?: number): void;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class DefaultErrorHandler implements TraceErrorHandler {
|
|
135
|
+
handlerError(error: any): void;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function getErrorHandler(): TraceErrorHandler;
|
|
139
|
+
|
|
140
|
+
export function setErrorHandler(handler: TraceErrorHandler): void;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Passes an error to the registered ErrorHandler
|
|
144
|
+
* @param error The error to be handled.
|
|
145
|
+
*/
|
|
146
|
+
export function error(error: string | Error): void;
|
|
121
147
|
}
|