@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,201 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { View } from '../../core/view';
|
|
3
|
+
import { Property } from '../../core/properties';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Defines row/column specific properties that apply to GridLayout elements.
|
|
7
|
+
*/
|
|
8
|
+
export class ItemSpec {
|
|
9
|
+
constructor();
|
|
10
|
+
constructor(value: number, type: GridUnitType);
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Gets the actual length of an ItemSpec.
|
|
14
|
+
*/
|
|
15
|
+
actualLength: number;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Returns unit type of this ItemSpec instance.
|
|
19
|
+
*/
|
|
20
|
+
gridUnitType: GridUnitType;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if this ItemSpec instance holds
|
|
24
|
+
* an absolute (pixel) value.
|
|
25
|
+
*/
|
|
26
|
+
isAbsolute: boolean;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns true if this GridLength instance is
|
|
30
|
+
* automatic (not specified).
|
|
31
|
+
*/
|
|
32
|
+
isAuto: boolean;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Returns true if this ItemSpec instance holds weighted proportion
|
|
36
|
+
* of available space.
|
|
37
|
+
*/
|
|
38
|
+
isStar: boolean;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns value part of this ItemSpec instance.
|
|
42
|
+
*/
|
|
43
|
+
value: number;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Defines a rectangular layout area that consists of columns and rows.
|
|
48
|
+
*
|
|
49
|
+
* @nsView GridLayout
|
|
50
|
+
*/
|
|
51
|
+
export class GridLayout extends LayoutBase {
|
|
52
|
+
/**
|
|
53
|
+
* A string value representing row heights delimited with commas.
|
|
54
|
+
*
|
|
55
|
+
* Valid values: an absolute number, auto, or *:
|
|
56
|
+
*
|
|
57
|
+
* @nsProperty
|
|
58
|
+
*/
|
|
59
|
+
rows: string;
|
|
60
|
+
/**
|
|
61
|
+
* A string value representing column widths delimited with commas.
|
|
62
|
+
*
|
|
63
|
+
* Valid values: an absolute number, auto, or *:
|
|
64
|
+
*
|
|
65
|
+
* @nsProperty
|
|
66
|
+
*/
|
|
67
|
+
columns: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Gets the value of the Column attached property from a given View.
|
|
71
|
+
*/
|
|
72
|
+
static getColumn(view: View): number;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Sets the value of the Column attached property to a given View.
|
|
76
|
+
*/
|
|
77
|
+
static setColumn(view: View, value: number): void;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Gets the value of the ColumnSpan attached property from a given View.
|
|
81
|
+
*/
|
|
82
|
+
static getColumnSpan(view: View): number;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Sets the value of the ColumnSpan attached property to a given View.
|
|
86
|
+
*/
|
|
87
|
+
static setColumnSpan(view: View, value: number): void;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Gets the value of the Row attached property from a given View.
|
|
91
|
+
*/
|
|
92
|
+
static getRow(view: View): number;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Sets the value of the Row attached property to a given View.
|
|
96
|
+
*/
|
|
97
|
+
static setRow(view: View, value: number): void;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Gets the value of the RowSpan attached property from a given View.
|
|
101
|
+
*/
|
|
102
|
+
static getRowSpan(view: View): number;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Sets the value of the RowSpan attached property to a given View.
|
|
106
|
+
*/
|
|
107
|
+
static setRowSpan(view: View, value: number): void;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Adds a column specification to a GridLayout.
|
|
111
|
+
*/
|
|
112
|
+
public addColumn(itemSpec: ItemSpec): void;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Adds a row specification to a GridLayout.
|
|
116
|
+
*/
|
|
117
|
+
public addRow(itemSpec: ItemSpec): void;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Adds a child at specific cell in GridLayout. Optional rowSpan and columnSpan attributes
|
|
121
|
+
*/
|
|
122
|
+
public addChildAtCell(view: View, row: number, column: number, rowSpan?: number, columnSpan?: number): void;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Removes a column specification from a GridLayout.
|
|
126
|
+
*/
|
|
127
|
+
public removeColumn(itemSpec: ItemSpec): void;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Removes all column specifications from a GridLayout.
|
|
131
|
+
*/
|
|
132
|
+
public removeColumns(): void;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Removes a row specification from a GridLayout.
|
|
136
|
+
*/
|
|
137
|
+
public removeRow(itemSpec: ItemSpec): void;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Removes all row specifications from a GridLayout.
|
|
141
|
+
*/
|
|
142
|
+
public removeRows(): void;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Gets array of column specifications defined on this instance of GridLayout.
|
|
146
|
+
*/
|
|
147
|
+
public getColumns(): Array<ItemSpec>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Gets array of row specifications defined on this instance of GridLayout.
|
|
151
|
+
*/
|
|
152
|
+
public getRows(): Array<ItemSpec>;
|
|
153
|
+
|
|
154
|
+
//@private
|
|
155
|
+
/**
|
|
156
|
+
* @private
|
|
157
|
+
*/
|
|
158
|
+
public _onRowAdded(itemSpec: ItemSpec): void;
|
|
159
|
+
/**
|
|
160
|
+
* @private
|
|
161
|
+
*/
|
|
162
|
+
public _onColumnAdded(itemSpec: ItemSpec): void;
|
|
163
|
+
/**
|
|
164
|
+
* @private
|
|
165
|
+
*/
|
|
166
|
+
public _onRowRemoved(itemSpec: ItemSpec, index: number): void;
|
|
167
|
+
/**
|
|
168
|
+
* @private
|
|
169
|
+
*/
|
|
170
|
+
public _onColumnRemoved(itemSpec: ItemSpec, index: number): void;
|
|
171
|
+
//@endprivate
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Represents the observable property backing the column property.
|
|
176
|
+
*/
|
|
177
|
+
export const columnProperty: Property<View, number>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Represents the observable property backing the columnSpan property.
|
|
181
|
+
*/
|
|
182
|
+
export const columnSpanProperty: Property<View, number>;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Represents the observable property backing the row property.
|
|
186
|
+
*/
|
|
187
|
+
export const rowProperty: Property<View, number>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Represents the observable property backing the rowSpan property.
|
|
191
|
+
*/
|
|
192
|
+
export const rowSpanProperty: Property<View, number>;
|
|
193
|
+
|
|
194
|
+
export type GridUnitType = 'pixel' | 'star' | 'auto';
|
|
195
|
+
export namespace GridUnitType {
|
|
196
|
+
export const PIXEL: 'pixel';
|
|
197
|
+
export const STAR: 'star';
|
|
198
|
+
export const AUTO: 'auto';
|
|
199
|
+
export function isValid(value: any): boolean;
|
|
200
|
+
export function parse(value: string): GridUnitType;
|
|
201
|
+
}
|
package/ui/layouts/index.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ export { AbsoluteLayout } from './absolute-layout';
|
|
|
2
2
|
export { DockLayout } from './dock-layout';
|
|
3
3
|
export { FlexboxLayout } from './flexbox-layout';
|
|
4
4
|
export { GridLayout, GridUnitType, ItemSpec } from './grid-layout';
|
|
5
|
-
export { RootLayout, getRootLayout } from './root-layout';
|
|
6
|
-
export type { RootLayoutOptions, ShadeCoverOptions } from './root-layout';
|
|
5
|
+
export { RootLayout, getRootLayout, RootLayoutOptions, ShadeCoverOptions } from './root-layout';
|
|
7
6
|
export { StackLayout } from './stack-layout';
|
|
8
7
|
export { WrapLayout } from './wrap-layout';
|
|
9
8
|
export { LayoutBase } from './layout-base';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { CoreTypes } from '../../core-types';
|
|
2
|
+
import { View, CustomLayoutView } from '../core/view';
|
|
3
|
+
import { Property } from '../core/properties';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Base class for all views that supports children positioning.
|
|
7
|
+
*/
|
|
8
|
+
export class LayoutBase extends CustomLayoutView {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the number of children in this Layout.
|
|
11
|
+
*/
|
|
12
|
+
getChildrenCount(): number;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Returns the view at the specified position.
|
|
16
|
+
* @param index The position at which to get the child from.
|
|
17
|
+
*/
|
|
18
|
+
getChildAt(index: number): View;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Returns the position of the child view
|
|
22
|
+
* @param child The child view that we are looking for.
|
|
23
|
+
*/
|
|
24
|
+
getChildIndex(child: View): number;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Adds the view to children array.
|
|
28
|
+
* @param view The view to be added to the end of the children array.
|
|
29
|
+
*/
|
|
30
|
+
addChild(view: View): void;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Inserts the view to children array at the specified index.
|
|
34
|
+
* @param view The view to be added to the end of the children array.
|
|
35
|
+
* @param atIndex The insertion index.
|
|
36
|
+
*/
|
|
37
|
+
insertChild(child: View, atIndex: number): void;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Removes the specified view from the children array.
|
|
41
|
+
* @param view The view to remove from the children array.
|
|
42
|
+
*/
|
|
43
|
+
removeChild(view: View): void;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Removes all views in this layout.
|
|
47
|
+
*/
|
|
48
|
+
removeChildren(): void;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* INTERNAL. Used by the layout system.
|
|
52
|
+
*/
|
|
53
|
+
_registerLayoutChild(child: View): void;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* INTERNAL. Used by the layout system.
|
|
57
|
+
*/
|
|
58
|
+
_unregisterLayoutChild(child: View): void;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Calls the callback for each child that should be laid out.
|
|
62
|
+
* @param callback The callback
|
|
63
|
+
*/
|
|
64
|
+
eachLayoutChild(callback: (child: View, isLast: boolean) => void): void;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Gets or sets padding style property.
|
|
68
|
+
*
|
|
69
|
+
* @nsProperty
|
|
70
|
+
*/
|
|
71
|
+
padding: string | CoreTypes.LengthType;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Specify the bottom padding of this layout.
|
|
75
|
+
*
|
|
76
|
+
* @nsProperty
|
|
77
|
+
*/
|
|
78
|
+
paddingBottom: CoreTypes.LengthType;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Specify the left padding of this layout.
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
84
|
+
*/
|
|
85
|
+
paddingLeft: CoreTypes.LengthType;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Specify the right padding of this layout.
|
|
89
|
+
*
|
|
90
|
+
* @nsProperty
|
|
91
|
+
*/
|
|
92
|
+
paddingRight: CoreTypes.LengthType;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Specify the top padding of this layout.
|
|
96
|
+
*
|
|
97
|
+
* @nsProperty
|
|
98
|
+
*/
|
|
99
|
+
paddingTop: CoreTypes.LengthType;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Gets or sets a value indicating whether to clip the content of this layout.
|
|
103
|
+
*
|
|
104
|
+
* @nsProperty
|
|
105
|
+
*/
|
|
106
|
+
clipToBounds: boolean;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets a value indicating whether touch event should pass through to a parent view of the
|
|
110
|
+
* layout container in case an interactive child view did not handle it.
|
|
111
|
+
* Default value of this property is false. This does not affect the appearance of the view.
|
|
112
|
+
*
|
|
113
|
+
* @nsProperty
|
|
114
|
+
*/
|
|
115
|
+
isPassThroughParentEnabled: boolean;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export const clipToBoundsProperty: Property<LayoutBase, boolean>;
|
|
119
|
+
export const isPassThroughParentEnabledProperty: Property<LayoutBase, boolean>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { GridLayout } from '../grid-layout';
|
|
2
|
+
import { View } from '../../core/view';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @nsView RootLayout
|
|
6
|
+
*/
|
|
7
|
+
export class RootLayout extends GridLayout {
|
|
8
|
+
open(view: View, options: RootLayoutOptions = {}): Promise<void>;
|
|
9
|
+
close(view: View, exitTo?: TransitionAnimation): Promise<void>;
|
|
10
|
+
topmost(): View;
|
|
11
|
+
bringToFront(view: View, animated?: boolean): Promise<void>;
|
|
12
|
+
closeAll(): Promise<void[]>;
|
|
13
|
+
getShadeCover(): View;
|
|
14
|
+
openShadeCover(options: ShadeCoverOptions = {}): Promise<void>;
|
|
15
|
+
closeShadeCover(shadeCoverOptions: ShadeCoverOptions = {}): Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export function getRootLayout(): RootLayout;
|
|
19
|
+
|
|
20
|
+
export interface RootLayoutOptions {
|
|
21
|
+
shadeCover?: ShadeCoverOptions;
|
|
22
|
+
animation?: {
|
|
23
|
+
enterFrom?: TransitionAnimation;
|
|
24
|
+
exitTo?: TransitionAnimation;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface ShadeCoverOptions {
|
|
29
|
+
opacity?: number;
|
|
30
|
+
color?: string;
|
|
31
|
+
tapToClose?: boolean;
|
|
32
|
+
animation?: {
|
|
33
|
+
enterFrom?: TransitionAnimation; // only applied if first one to be opened
|
|
34
|
+
exitTo?: TransitionAnimation; // only applied if last one to be closed
|
|
35
|
+
};
|
|
36
|
+
ignoreShadeRestore?: boolean;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface TransitionAnimation {
|
|
40
|
+
translateX?: number;
|
|
41
|
+
translateY?: number;
|
|
42
|
+
scaleX?: number;
|
|
43
|
+
scaleY?: number;
|
|
44
|
+
rotate?: number; // in degrees
|
|
45
|
+
opacity?: number;
|
|
46
|
+
duration?: number; // in milliseconds
|
|
47
|
+
curve?: any; // CoreTypes.AnimationCurve (string, cubicBezier, etc.)
|
|
48
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { Property } from '../../core/properties';
|
|
3
|
+
import { CoreTypes } from '../../../core-types';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
|
|
7
|
+
*
|
|
8
|
+
* @nsView StackLayout
|
|
9
|
+
*/
|
|
10
|
+
export class StackLayout extends LayoutBase {
|
|
11
|
+
/**
|
|
12
|
+
* Gets or sets if layout should be horizontal or vertical.
|
|
13
|
+
* The default value is vertical.
|
|
14
|
+
* @nsProperty
|
|
15
|
+
*/
|
|
16
|
+
orientation: CoreTypes.OrientationType;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Represents the observable property backing the orientation property of each StackLayout instance.
|
|
21
|
+
*/
|
|
22
|
+
export const orientationProperty: Property<StackLayout, CoreTypes.OrientationType>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LayoutBase } from '../layout-base';
|
|
2
|
+
import { Length } from '../../styling/style-properties';
|
|
3
|
+
import { Property } from '../../core/properties';
|
|
4
|
+
import { CoreTypes } from '../../../core-types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* WrapLayout position children in rows or columns depending on orientation property
|
|
8
|
+
* until space is filled and then wraps them on new row or column.
|
|
9
|
+
*
|
|
10
|
+
* @nsView WrapLayout
|
|
11
|
+
*/
|
|
12
|
+
export class WrapLayout extends LayoutBase {
|
|
13
|
+
/**
|
|
14
|
+
* Gets or sets the flow direction. Default value is horizontal.
|
|
15
|
+
* If orientation is horizontal items are arranged in rows, else items are arranged in columns.
|
|
16
|
+
*
|
|
17
|
+
* @nsProperty
|
|
18
|
+
*/
|
|
19
|
+
orientation: CoreTypes.OrientationType;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Gets or sets the width used to measure and layout each child.
|
|
23
|
+
* Default value is Number.NaN which does not restrict children.
|
|
24
|
+
*
|
|
25
|
+
* @nsProperty
|
|
26
|
+
*/
|
|
27
|
+
itemWidth: CoreTypes.LengthType;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the height used to measure and layout each child.
|
|
31
|
+
* Default value is Number.NaN which does not restrict children.
|
|
32
|
+
*
|
|
33
|
+
* @nsProperty
|
|
34
|
+
*/
|
|
35
|
+
itemHeight: CoreTypes.LengthType;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Represents the observable property backing the orientation property of each WrapLayout instance.
|
|
40
|
+
*/
|
|
41
|
+
export const orientationProperty: Property<WrapLayout, CoreTypes.OrientationType>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Represents the observable property backing the itemWidth property of each WrapLayout instance.
|
|
45
|
+
*/
|
|
46
|
+
export const itemWidthProperty: Property<WrapLayout, CoreTypes.LengthType>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Represents the observable property backing the itemHeight property of each WrapLayout instance.
|
|
50
|
+
*/
|
|
51
|
+
export const itemHeightProperty: Property<WrapLayout, CoreTypes.LengthType>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
import { ItemsSource } from './list-picker-common';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Represents an list picker.
|
|
7
|
+
*
|
|
8
|
+
* @nsView ListPicker
|
|
9
|
+
*/
|
|
10
|
+
export class ListPicker extends View {
|
|
11
|
+
/**
|
|
12
|
+
* @nsEvent {PropertyChangeData} selectedIndexChange
|
|
13
|
+
*/
|
|
14
|
+
public static selectedIndexChangeEvent: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Gets the native [android.widget.NumberPicker](http://developer.android.com/reference/android/widget/NumberPicker.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
18
|
+
*/
|
|
19
|
+
android: any /* android.widget.NumberPicker */;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Gets the native iOS [UIPickerView](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
|
|
23
|
+
*/
|
|
24
|
+
ios: any /* UIPickerView */;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the selected index.
|
|
28
|
+
*
|
|
29
|
+
* @nsProperty
|
|
30
|
+
*/
|
|
31
|
+
selectedIndex: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets or set the items collection of the ListPicker.
|
|
35
|
+
* The items property can be set to an array or an object defining length and getItem(index) method.
|
|
36
|
+
*
|
|
37
|
+
* @nsProperty
|
|
38
|
+
*/
|
|
39
|
+
items: any[] | ItemsSource;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export const selectedIndexProperty: Property<ListPicker, number>;
|
|
43
|
+
export const itemsProperty: Property<ListPicker, any[] | ItemsSource>;
|