@nativescript/core 8.9.0-next-01-14-2025-12761272657 → 8.9.0-next-01-18-2025-12839190246
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accessibility/accessibility-service.d.ts +10 -0
- package/accessibility/font-scale.d.ts +9 -0
- package/accessibility/index.d.ts +37 -0
- package/animation-frame/animation-native.d.ts +4 -0
- package/animation-frame/index.d.ts +17 -3
- package/application/application.d.ts +194 -0
- package/application/index.d.ts +2 -0
- package/application-settings/index.d.ts +70 -0
- package/cli-hooks/before-checkForChanges.js +60 -0
- package/cli-hooks/postinstall.js +2 -0
- package/cli-hooks/preuninstall.js +2 -0
- package/color/index.d.ts +206 -0
- package/connectivity/index.d.ts +52 -0
- package/css/css-tree-parser.js +21 -17
- package/css/lib/parse/index.js +602 -0
- package/css/package.json +36 -0
- package/css/reworkcss.d.ts +47 -0
- package/css/reworkcss.js +1 -0
- package/css-value/package.json +23 -0
- package/css-value/reworkcss-value.d.ts +8 -0
- package/css-value/reworkcss-value.js +113 -0
- package/debugger/css-agent.d.ts +59 -0
- package/debugger/devtools-elements.d.ts +23 -5
- package/debugger/dom-node.d.ts +23 -20
- package/fetch/index.js +539 -0
- package/file-system/file-system-access.d.ts +441 -0
- package/file-system/index.d.ts +370 -95
- package/fps-meter/fps-native.d.ts +24 -0
- package/fps-meter/index.d.ts +24 -7
- package/global-types.d.ts +393 -0
- package/globals/index.d.ts +4 -19
- package/http/http-request/index.d.ts +3 -0
- package/http/index.d.ts +149 -73
- package/image-asset/index.d.ts +17 -0
- package/image-source/index.d.ts +350 -0
- package/index.d.ts +24 -7
- package/js-libs/easysax/easysax.d.ts +8 -0
- package/js-libs/easysax/easysax.js +782 -0
- package/js-libs/easysax/package.json +35 -0
- package/matrix/index.d.ts +32 -5
- package/module-name-resolver/index.d.ts +21 -13
- package/module-name-resolver/qualifier-matcher/index.d.ts +12 -6
- package/package.json +1 -1
- package/platform/device/index.d.ts +70 -0
- package/platform/index.d.ts +26 -0
- package/platform/screen/index.d.ts +48 -0
- package/platforms/android/native-api-usage.json +32 -0
- package/platforms/android/res/values/ids.xml +4 -0
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_tc-release.aar +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/Info.plist +102 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +52 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Resources/Info.plist +52 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/_CodeSignature/CodeResources +146 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
- package/platforms/ios/native-api-usage.json +41 -0
- package/platforms/ios/src/NativeScriptEmbedder.h +31 -0
- package/platforms/ios/src/NativeScriptEmbedder.m +43 -0
- package/platforms/ios/src/NativeScriptMainWindow.swift +196 -0
- package/platforms/ios/src/NativeScriptUtils.h +16 -0
- package/platforms/ios/src/NativeScriptUtils.m +137 -0
- package/platforms/ios/src/UIView+NativeScript.h +15 -0
- package/platforms/ios/src/UIView+NativeScript.m +148 -0
- package/platforms/ios/src/module.modulemap +14 -0
- package/platforms/ios/typings/objc!MaterialComponents.d.ts +808 -0
- package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +18 -0
- package/profiling/index.d.ts +153 -26
- package/references.d.ts +10 -0
- package/text/formatted-string.d.ts +1 -1
- package/text/index.d.ts +36 -0
- package/text/span.d.ts +1 -1
- package/timer/index.d.ts +27 -0
- package/trace/index.d.ts +131 -105
- package/ui/action-bar/index.d.ts +304 -0
- package/ui/activity-indicator/index.d.ts +25 -0
- package/ui/animation/index.d.ts +139 -0
- package/ui/animation/keyframe-animation.d.ts +118 -67
- package/ui/builder/binding-builder.d.ts +15 -12
- package/ui/builder/index.d.ts +69 -27
- package/ui/button/index.d.ts +50 -0
- package/ui/content-view/index.d.ts +11 -21
- package/ui/core/control-state-change/index.d.ts +17 -0
- package/ui/core/view/index.d.ts +1216 -0
- package/ui/core/view/view-helper/index.d.ts +76 -0
- package/ui/core/weak-event-listener/index.d.ts +18 -2
- package/ui/date-picker/index.d.ts +95 -0
- package/ui/dialogs/index.d.ts +311 -0
- package/ui/editable-text-base/index.d.ts +142 -0
- package/ui/embedding/index.d.ts +10 -0
- package/ui/frame/fragment.d.ts +5 -0
- package/ui/frame/fragment.transitions.d.ts +43 -0
- package/ui/frame/index.d.ts +590 -0
- package/ui/frame/transition-definitions.android.d.ts +54 -0
- package/ui/gestures/index.d.ts +59 -0
- package/ui/html-view/index.d.ts +41 -0
- package/ui/image/index.d.ts +119 -0
- package/ui/image/symbol-effects.d.ts +13 -0
- package/ui/image-cache/index.d.ts +147 -0
- package/ui/label/index.d.ts +25 -0
- package/ui/layouts/absolute-layout/index.d.ts +42 -0
- package/ui/layouts/dock-layout/index.d.ts +39 -0
- package/ui/layouts/flexbox-layout/index.d.ts +98 -0
- package/ui/layouts/grid-layout/index.d.ts +201 -0
- package/ui/layouts/index.d.ts +1 -2
- package/ui/layouts/layout-base.d.ts +119 -0
- package/ui/layouts/root-layout/index.d.ts +48 -0
- package/ui/layouts/stack-layout/index.d.ts +22 -0
- package/ui/layouts/wrap-layout/index.d.ts +51 -0
- package/ui/list-picker/index.d.ts +43 -0
- package/ui/list-view/index.d.ts +232 -0
- package/ui/page/index.d.ts +241 -0
- package/ui/placeholder/index.d.ts +46 -8
- package/ui/progress/index.d.ts +50 -0
- package/ui/scroll-view/index.d.ts +99 -0
- package/ui/search-bar/index.d.ts +103 -0
- package/ui/segmented-bar/index.d.ts +122 -0
- package/ui/slider/index.d.ts +99 -0
- package/ui/styling/background.d.ts +95 -0
- package/ui/styling/converters.d.ts +2 -2
- package/ui/styling/font.d.ts +62 -0
- package/ui/styling/style-properties.d.ts +101 -81
- package/ui/styling/style-scope.d.ts +48 -79
- package/ui/switch/index.d.ts +46 -0
- package/ui/tab-view/index.d.ts +213 -0
- package/ui/text-base/formatted-string.d.ts +97 -36
- package/ui/text-base/index.d.ts +208 -0
- package/ui/text-base/span.d.ts +111 -36
- package/ui/text-field/index.d.ts +54 -0
- package/ui/text-view/index.d.ts +35 -0
- package/ui/time-picker/index.d.ts +107 -0
- package/ui/transition/fade-transition.d.ts +3 -0
- package/ui/transition/flip-transition.d.ts +5 -0
- package/ui/transition/index.d.ts +59 -0
- package/ui/transition/modal-transition.d.ts +2 -0
- package/ui/transition/page-transition.d.ts +4 -0
- package/ui/transition/shared-transition-helper.d.ts +14 -0
- package/ui/transition/slide-transition.d.ts +5 -0
- package/ui/utils.d.ts +44 -0
- package/ui/web-view/index.d.ts +142 -0
- package/utils/constants.d.ts +1 -0
- package/utils/debug.d.ts +61 -17
- package/utils/index.d.ts +183 -0
- package/utils/layout-helper/index.d.ts +82 -0
- package/utils/lazy.d.ts +5 -0
- package/utils/macrotask-scheduler.d.ts +5 -1
- package/utils/mainthread-helper.d.ts +16 -0
- package/utils/native-helper.d.ts +280 -0
- package/utils/types.d.ts +115 -23
- package/utils/typescript-utils.d.ts +6 -0
- package/wgc/atob.js +1 -1
- package/wgc/btoa.js +1 -1
- package/wgc/crypto/SubtleCrypto.js +8 -8
- package/wgc/crypto/index.js +2 -2
- package/xml/index.d.ts +105 -44
|
@@ -1,87 +1,107 @@
|
|
|
1
|
-
import { CssProperty, CssAnimationProperty, InheritedCssProperty } from '../core/properties';
|
|
2
|
-
import { Style } from './style';
|
|
3
1
|
import { TransformFunctionsInfo } from '../animation';
|
|
2
|
+
import { CoreTypes } from '../../core-types';
|
|
4
3
|
import { Color } from '../../color';
|
|
4
|
+
import { CssProperty, CssAnimationProperty, ShorthandProperty, InheritedCssProperty } from '../core/properties';
|
|
5
|
+
import { Style } from './style';
|
|
5
6
|
import { Font, FontStyleType, FontWeightType, FontVariationSettingsType } from './font';
|
|
6
7
|
import { Background } from './background';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
(length: CoreTypes.PercentLengthType): string;
|
|
19
|
-
};
|
|
8
|
+
|
|
9
|
+
export namespace Length {
|
|
10
|
+
export function parse(text: string): CoreTypes.LengthType;
|
|
11
|
+
export function equals(a: CoreTypes.LengthType, b: CoreTypes.LengthType): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Converts Length unit to device pixels.
|
|
14
|
+
* @param length The Length to convert.
|
|
15
|
+
* @param auto Value to use for conversion of "auto". By default is Math.NaN.
|
|
16
|
+
*/
|
|
17
|
+
export function toDevicePixels(length: CoreTypes.LengthType, auto?: number): number;
|
|
18
|
+
export function convertToString(length: CoreTypes.LengthType): string;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
|
|
21
|
+
export namespace PercentLength {
|
|
22
|
+
export function parse(text: string): CoreTypes.PercentLengthType;
|
|
23
|
+
export function equals(a: CoreTypes.PercentLengthType, b: CoreTypes.PercentLengthType): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Converts PercentLengthType unit to device pixels.
|
|
26
|
+
* @param length The PercentLengthType to convert.
|
|
27
|
+
* @param auto Value to use for conversion of "auto". By default is Math.NaN.
|
|
28
|
+
* @param parentAvailableWidth Value to use as base when converting percent unit. By default is Math.NaN.
|
|
29
|
+
*/
|
|
30
|
+
export function toDevicePixels(length: CoreTypes.PercentLengthType, auto?: number, parentAvailableWidth?: CoreTypes.px): number;
|
|
31
|
+
export function convertToString(length: CoreTypes.PercentLengthType): string;
|
|
32
32
|
}
|
|
33
|
-
|
|
34
|
-
export
|
|
35
|
-
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
export
|
|
67
|
-
export
|
|
68
|
-
export
|
|
69
|
-
export
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
79
|
-
export
|
|
80
|
-
export
|
|
81
|
-
export
|
|
82
|
-
export
|
|
83
|
-
export
|
|
84
|
-
export
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
export
|
|
33
|
+
|
|
34
|
+
export const zeroLength: CoreTypes.LengthType;
|
|
35
|
+
|
|
36
|
+
export const rotateProperty: CssAnimationProperty<Style, number>;
|
|
37
|
+
export const scaleXProperty: CssAnimationProperty<Style, number>;
|
|
38
|
+
export const scaleYProperty: CssAnimationProperty<Style, number>;
|
|
39
|
+
export const translateXProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
|
40
|
+
export const translateYProperty: CssAnimationProperty<Style, CoreTypes.dip>;
|
|
41
|
+
|
|
42
|
+
export function transformConverter(text: string): TransformFunctionsInfo;
|
|
43
|
+
|
|
44
|
+
export const clipPathProperty: CssProperty<Style, string>;
|
|
45
|
+
export const colorProperty: InheritedCssProperty<Style, Color>;
|
|
46
|
+
|
|
47
|
+
export const backgroundProperty: ShorthandProperty<Style, string>;
|
|
48
|
+
export const backgroundColorProperty: CssAnimationProperty<Style, Color>;
|
|
49
|
+
export const backgroundImageProperty: CssProperty<Style, string>;
|
|
50
|
+
export const backgroundRepeatProperty: CssProperty<Style, CoreTypes.BackgroundRepeatType>;
|
|
51
|
+
export const backgroundSizeProperty: CssProperty<Style, string>;
|
|
52
|
+
export const backgroundPositionProperty: CssProperty<Style, string>;
|
|
53
|
+
|
|
54
|
+
export const borderColorProperty: ShorthandProperty<Style, string | Color>;
|
|
55
|
+
export const borderTopColorProperty: CssProperty<Style, Color>;
|
|
56
|
+
export const borderRightColorProperty: CssProperty<Style, Color>;
|
|
57
|
+
export const borderBottomColorProperty: CssProperty<Style, Color>;
|
|
58
|
+
export const borderLeftColorProperty: CssProperty<Style, Color>;
|
|
59
|
+
|
|
60
|
+
export const borderWidthProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
|
61
|
+
export const borderTopWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
62
|
+
export const borderRightWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
63
|
+
export const borderBottomWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
64
|
+
export const borderLeftWidthProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
65
|
+
|
|
66
|
+
export const borderRadiusProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
|
67
|
+
export const borderTopLeftRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
68
|
+
export const borderTopRightRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
69
|
+
export const borderBottomRightRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
70
|
+
export const borderBottomLeftRadiusProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
71
|
+
|
|
72
|
+
export const zIndexProperty: CssProperty<Style, number>;
|
|
73
|
+
export const visibilityProperty: CssProperty<Style, CoreTypes.VisibilityType>;
|
|
74
|
+
export const opacityProperty: CssAnimationProperty<Style, number>;
|
|
75
|
+
|
|
76
|
+
export const minWidthProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit>;
|
|
77
|
+
export const minHeightProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit>;
|
|
78
|
+
export const widthProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
|
79
|
+
export const heightProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
|
80
|
+
export const lineHeightProperty: CssProperty<Style, number>;
|
|
81
|
+
export const marginProperty: ShorthandProperty<Style, string | CoreTypes.PercentLengthType>;
|
|
82
|
+
export const marginLeftProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
83
|
+
export const marginRightProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
84
|
+
export const marginTopProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
85
|
+
export const marginBottomProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
86
|
+
|
|
87
|
+
export const paddingProperty: ShorthandProperty<Style, string | CoreTypes.LengthType>;
|
|
88
|
+
export const paddingLeftProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
89
|
+
export const paddingRightProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
90
|
+
export const paddingTopProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
91
|
+
export const paddingBottomProperty: CssProperty<Style, CoreTypes.LengthType>;
|
|
92
|
+
|
|
93
|
+
export const horizontalAlignmentProperty: CssProperty<Style, CoreTypes.HorizontalAlignmentType>;
|
|
94
|
+
export const verticalAlignmentProperty: CssProperty<Style, CoreTypes.VerticalAlignmentType>;
|
|
95
|
+
|
|
96
|
+
export const fontSizeProperty: InheritedCssProperty<Style, number>;
|
|
97
|
+
export const fontFamilyProperty: InheritedCssProperty<Style, string>;
|
|
98
|
+
export const fontStyleProperty: InheritedCssProperty<Style, FontStyleType>;
|
|
99
|
+
export const fontWeightProperty: InheritedCssProperty<Style, FontWeightType>;
|
|
100
|
+
|
|
101
|
+
export const backgroundInternalProperty: CssProperty<Style, Background>;
|
|
102
|
+
export const fontInternalProperty: InheritedCssProperty<Style, Font>;
|
|
103
|
+
export const fontScaleInternalProperty: InheritedCssProperty<Style, number>;
|
|
104
|
+
export const fontVariationSettingsProperty: InheritedCssProperty<Style, FontVariationSettingsType[]>;
|
|
105
|
+
|
|
106
|
+
export const androidElevationProperty: CssProperty<Style, number>;
|
|
107
|
+
export const androidDynamicElevationOffsetProperty: CssProperty<Style, number>;
|
|
@@ -1,81 +1,50 @@
|
|
|
1
|
-
import { ViewBase } from '../core/view-base';
|
|
2
|
-
import
|
|
3
|
-
import { RuleSet,
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_appliedSelectorsVersion: number;
|
|
22
|
-
_match: SelectorsMatch<ViewBase>;
|
|
23
|
-
_matchInvalid: boolean;
|
|
24
|
-
_playsKeyframeAnimations: boolean;
|
|
25
|
-
constructor(viewRef: WeakRef<ViewBase>);
|
|
26
|
-
/**
|
|
27
|
-
* Called when a change had occurred that may invalidate the statically matching selectors (class, id, ancestor selectors).
|
|
28
|
-
* As a result, at some point in time, the selectors matched have to be requerried from the style scope and applied to the view.
|
|
29
|
-
*/
|
|
30
|
-
onChange(): void;
|
|
31
|
-
isSelectorsLatestVersionApplied(): boolean;
|
|
32
|
-
onLoaded(): void;
|
|
33
|
-
onUnloaded(): void;
|
|
34
|
-
private updateMatch;
|
|
35
|
-
private updateDynamicState;
|
|
36
|
-
private playKeyframeAnimations;
|
|
37
|
-
private stopKeyframeAnimations;
|
|
38
|
-
/**
|
|
39
|
-
* Calculate the difference between the previously applied property values,
|
|
40
|
-
* and the new set of property values that have to be applied for the provided selectors.
|
|
41
|
-
* Apply the values and ensure each property setter is called at most once to avoid excessive change notifications.
|
|
42
|
-
* @param matchingSelectors
|
|
43
|
-
*/
|
|
44
|
-
private setPropertyValues;
|
|
45
|
-
private subscribeForDynamicUpdates;
|
|
46
|
-
private unsubscribeFromDynamicUpdates;
|
|
47
|
-
toString(): string;
|
|
1
|
+
import { ViewBase } from '../core/view-base';
|
|
2
|
+
import { SyntaxTree } from '../../css';
|
|
3
|
+
import { RuleSet, Node, SelectorCore, ChangeMap } from '../styling/css-selector';
|
|
4
|
+
import { KeyframeAnimationInfo } from '../animation/keyframe-animation';
|
|
5
|
+
|
|
6
|
+
export class CssState {
|
|
7
|
+
/**
|
|
8
|
+
* Re-evaluate the selectors and apply any changes to the underlying view.
|
|
9
|
+
*/
|
|
10
|
+
public apply(): void;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Gets the static selectors that match the view and the dynamic selectors that may potentially match the view.
|
|
14
|
+
*/
|
|
15
|
+
public changeMap: ChangeMap<ViewBase>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Checks whether style scope and CSS state selectors are in sync.
|
|
19
|
+
*/
|
|
20
|
+
public isSelectorsLatestVersionApplied(): boolean;
|
|
48
21
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
private _createSelectors;
|
|
73
|
-
matchSelectors(view: any): SelectorsMatch<ViewBase>;
|
|
74
|
-
query(node: Node): SelectorCore[];
|
|
75
|
-
getSelectorsVersion(): number;
|
|
76
|
-
private _applyKeyframesToSelectors;
|
|
77
|
-
getAnimations(ruleset: RuleSet): kam.KeyframeAnimationInfo[];
|
|
78
|
-
private findKeyframeRule;
|
|
22
|
+
|
|
23
|
+
export class StyleScope {
|
|
24
|
+
public css: string;
|
|
25
|
+
public addCss(cssString: string, cssFileName?: string): void;
|
|
26
|
+
public addCssFile(cssFileName: string): void;
|
|
27
|
+
public changeCssFile(cssFileName: string): void;
|
|
28
|
+
|
|
29
|
+
public static createSelectorsFromCss(css: string, cssFileName: string, keyframes: Object): RuleSet[];
|
|
30
|
+
public static createSelectorsFromImports(tree: SyntaxTree, keyframes: Object): RuleSet[];
|
|
31
|
+
public ensureSelectors(): number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Increase the application CSS selector version.
|
|
35
|
+
*/
|
|
36
|
+
public _increaseApplicationCssSelectorVersion(): void;
|
|
37
|
+
public isApplicationCssSelectorsLatestVersionApplied(): boolean;
|
|
38
|
+
public isLocalCssSelectorsLatestVersionApplied(): boolean;
|
|
39
|
+
|
|
40
|
+
public applySelectors(view: ViewBase): void;
|
|
41
|
+
public query(options: Node): SelectorCore[];
|
|
42
|
+
|
|
43
|
+
public getKeyframeAnimationWithName(animationName: string): KeyframeAnimationInfo;
|
|
44
|
+
public getAnimations(ruleset: RuleSet): KeyframeAnimationInfo[];
|
|
79
45
|
}
|
|
80
|
-
|
|
81
|
-
export
|
|
46
|
+
|
|
47
|
+
export function resolveFileNameFromUrl(url: string, appDirectory: string, fileExists: (filepath: string) => boolean, importSource?: string): string;
|
|
48
|
+
export function applyInlineStyle(view: ViewBase, style: string): void;
|
|
49
|
+
export function addTaggedAdditionalCSS(cssText: string, tag?: string | Number): boolean;
|
|
50
|
+
export function removeTaggedAdditionalCSS(tag: String | Number): boolean;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
import { Color } from '../../color';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Represents a switch component.
|
|
7
|
+
*
|
|
8
|
+
* @nsView Switch
|
|
9
|
+
*/
|
|
10
|
+
export class Switch extends View {
|
|
11
|
+
/**
|
|
12
|
+
* String value used when hooking to checkedChange event.
|
|
13
|
+
*
|
|
14
|
+
* @nsEvent {PropertyChangeData} checkedChange
|
|
15
|
+
*/
|
|
16
|
+
public static checkedChangeEvent: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/Switch.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
20
|
+
*/
|
|
21
|
+
android: any /* android.widget.Switch */;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Gets the native iOS [UISwitch](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISwitch_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
25
|
+
*/
|
|
26
|
+
ios: any /* UISwitch */;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets if a switch is checked or not.
|
|
30
|
+
*
|
|
31
|
+
* @nsProperty
|
|
32
|
+
*/
|
|
33
|
+
checked: boolean;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the background color of the Switch when it is turned off.
|
|
37
|
+
*
|
|
38
|
+
* @nsProperty
|
|
39
|
+
*/
|
|
40
|
+
offBackgroundColor: Color;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Represents the observable property backing the checked property of each Switch instance.
|
|
45
|
+
*/
|
|
46
|
+
export const checkedProperty: Property<Switch, boolean>;
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains the TabView class, which represents a standard content component with tabs.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { View } from '../core/view';
|
|
6
|
+
import { ViewBase } from '../core/view-base';
|
|
7
|
+
import { Property, CssProperty } from '../core/properties';
|
|
8
|
+
import { EventData } from '../../data/observable';
|
|
9
|
+
import { Color } from '../../color';
|
|
10
|
+
import { CoreTypes } from '../../core-types';
|
|
11
|
+
import { Style } from '../styling/style';
|
|
12
|
+
/**
|
|
13
|
+
* Represents a tab view entry.
|
|
14
|
+
*
|
|
15
|
+
* @nsView TabViewItem
|
|
16
|
+
*/
|
|
17
|
+
export class TabViewItem extends ViewBase {
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the title of the TabViewItem.
|
|
20
|
+
*
|
|
21
|
+
* @nsProperty
|
|
22
|
+
*/
|
|
23
|
+
public title: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the view of the TabViewItem.
|
|
27
|
+
*
|
|
28
|
+
* @nsProperty
|
|
29
|
+
*/
|
|
30
|
+
public view: View;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets the icon source of the TabViewItem. This could either be a a file name or resource id.
|
|
34
|
+
*
|
|
35
|
+
* @nsProperty
|
|
36
|
+
*/
|
|
37
|
+
public iconSource: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Gets or sets the text transform of the tab titles.
|
|
41
|
+
*
|
|
42
|
+
* @nsProperty
|
|
43
|
+
*/
|
|
44
|
+
textTransform: CoreTypes.TextTransformType;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @private
|
|
48
|
+
*/
|
|
49
|
+
canBeLoaded?: boolean;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Defines the data for the TabView.selectedIndexChanged event.
|
|
54
|
+
*/
|
|
55
|
+
export interface SelectedIndexChangedEventData extends EventData {
|
|
56
|
+
/**
|
|
57
|
+
* The old selected index.
|
|
58
|
+
*/
|
|
59
|
+
oldIndex: number;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The new selected index.
|
|
63
|
+
*/
|
|
64
|
+
newIndex: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Represents a tab view.
|
|
69
|
+
*
|
|
70
|
+
* @nsView TabView
|
|
71
|
+
*/
|
|
72
|
+
export class TabView extends View {
|
|
73
|
+
/**
|
|
74
|
+
* String value used when hooking to the selectedIndexChanged event.
|
|
75
|
+
*
|
|
76
|
+
* @nsEvent {SelectedIndexChangedEventData} selectedIndexChanged
|
|
77
|
+
*/
|
|
78
|
+
public static selectedIndexChangedEvent: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the items of the TabView.
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
84
|
+
*/
|
|
85
|
+
items: Array<TabViewItem>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Gets or sets the selectedIndex of the TabView.
|
|
89
|
+
*
|
|
90
|
+
* @nsProperty
|
|
91
|
+
*/
|
|
92
|
+
selectedIndex: number;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Gets or sets the font size of the tabs titles.
|
|
96
|
+
*
|
|
97
|
+
* @nsProperty
|
|
98
|
+
*/
|
|
99
|
+
tabTextFontSize: number;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Gets or sets the text color of the tabs titles.
|
|
103
|
+
*
|
|
104
|
+
* @nsProperty
|
|
105
|
+
*/
|
|
106
|
+
tabTextColor: Color;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets the background color of the tabs.
|
|
110
|
+
*
|
|
111
|
+
* @nsProperty
|
|
112
|
+
*/
|
|
113
|
+
tabBackgroundColor: Color;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Gets or sets the text color of the selected tab title.
|
|
117
|
+
*
|
|
118
|
+
* @nsProperty
|
|
119
|
+
*/
|
|
120
|
+
selectedTabTextColor: Color;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Gets or sets the color of the horizontal line drawn below the currently selected tab on Android.
|
|
124
|
+
*
|
|
125
|
+
* @nsProperty
|
|
126
|
+
*/
|
|
127
|
+
androidSelectedTabHighlightColor: Color;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/support/v4/view/ViewPager.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
131
|
+
*/
|
|
132
|
+
android: any /* android.view.View */; //androidx.core.view.ViewPager;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Gets the native iOS [UITabBarController](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITabBarController_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
136
|
+
*/
|
|
137
|
+
ios: any /* UITabBarController */;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Gets or set the UIImageRenderingMode of the tab icons in iOS. Defaults to "automatic"
|
|
141
|
+
* Valid values are:
|
|
142
|
+
* - automatic
|
|
143
|
+
* - alwaysOriginal
|
|
144
|
+
* - alwaysTemplate
|
|
145
|
+
*
|
|
146
|
+
* @nsProperty
|
|
147
|
+
*/
|
|
148
|
+
iosIconRenderingMode: 'automatic' | 'alwaysOriginal' | 'alwaysTemplate';
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Gets or sets the rendering mode of tab icons on Android. Defaults to "original"
|
|
152
|
+
* Valid values are:
|
|
153
|
+
* - alwaysOriginal
|
|
154
|
+
* - alwaysTemplate
|
|
155
|
+
*
|
|
156
|
+
* @nsProperty
|
|
157
|
+
*/
|
|
158
|
+
androidIconRenderingMode: 'alwaysOriginal' | 'alwaysTemplate';
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state.
|
|
162
|
+
* Tabs beyond this limit will be recreated from the TabView when needed.
|
|
163
|
+
*
|
|
164
|
+
* @nsProperty
|
|
165
|
+
*/
|
|
166
|
+
androidOffscreenTabLimit: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Gets or set the tabs vertical position.
|
|
170
|
+
* Valid values are:
|
|
171
|
+
* - top
|
|
172
|
+
* - bottom
|
|
173
|
+
*
|
|
174
|
+
* @nsProperty
|
|
175
|
+
*/
|
|
176
|
+
androidTabsPosition: 'top' | 'bottom';
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Gets or sets a value indicating whether swipe gesture is enabled for Android.
|
|
180
|
+
*
|
|
181
|
+
* @nsProperty
|
|
182
|
+
*/
|
|
183
|
+
androidSwipeEnabled: boolean;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Adds a listener for the specified event name.
|
|
187
|
+
*
|
|
188
|
+
* @param eventName The name of the event.
|
|
189
|
+
* @param callback The event listener to add. Will be called when an event of
|
|
190
|
+
* the given name is raised.
|
|
191
|
+
* @param thisArg An optional parameter which, when set, will be bound as the
|
|
192
|
+
* `this` context when the callback is called. Falsy values will be not be
|
|
193
|
+
* bound.
|
|
194
|
+
*/
|
|
195
|
+
on(eventName: string, callback: (data: EventData) => void, thisArg?: any): void;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Raised when the selected index changes.
|
|
199
|
+
*/
|
|
200
|
+
on(event: 'selectedIndexChanged', callback: (args: SelectedIndexChangedEventData) => void, thisArg?: any): void;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export const itemsProperty: Property<TabView, TabViewItem[]>;
|
|
204
|
+
export const selectedIndexProperty: Property<TabView, number>;
|
|
205
|
+
|
|
206
|
+
export const tabTextFontSizeProperty: CssProperty<Style, number>;
|
|
207
|
+
export const tabTextColorProperty: CssProperty<Style, Color>;
|
|
208
|
+
export const tabBackgroundColorProperty: CssProperty<Style, Color>;
|
|
209
|
+
export const selectedTabTextColorProperty: CssProperty<Style, Color>;
|
|
210
|
+
export const androidSelectedTabHighlightColorProperty: CssProperty<Style, Color>;
|
|
211
|
+
export const androidOffscreenTabLimitProperty: Property<TabView, number>;
|
|
212
|
+
export const iosIconRenderingModeProperty: Property<TabView, 'automatic' | 'alwaysOriginal' | 'alwaysTemplate'>;
|
|
213
|
+
export const androidIconRenderingModeProperty: Property<TabView, 'alwaysOriginal' | 'alwaysTemplate'>;
|