@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
|
@@ -1,43 +1,104 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Contains the FormattedString and Span classes, which are used to create a formatted (rich text) strings.
|
|
3
|
+
*/
|
|
4
|
+
|
|
2
5
|
import { Span } from './span';
|
|
3
6
|
import { ObservableArray } from '../../data/observable-array';
|
|
4
|
-
import { AddArrayFromBuilder, AddChildFromBuilder } from '../core/view';
|
|
5
7
|
import { ViewBase } from '../core/view-base';
|
|
6
8
|
import { Color } from '../../color';
|
|
7
9
|
import { FontStyleType, FontVariationSettingsType, FontWeightType } from '../styling/font';
|
|
8
10
|
import { CoreTypes } from '../../core-types';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* A class used to create a formatted (rich text) string.
|
|
14
|
+
*
|
|
15
|
+
* @nsView FormattedString
|
|
16
|
+
*/
|
|
17
|
+
export class FormattedString extends ViewBase {
|
|
18
|
+
/**
|
|
19
|
+
* An observable collection of Span objects used to define common text properties.
|
|
20
|
+
*/
|
|
21
|
+
public spans: ObservableArray<Span>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* A human readable representation of the formatted string.
|
|
25
|
+
*/
|
|
26
|
+
public toString(): string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Gets or sets the font family which will be used for all spans that doesn't have a specific value.
|
|
30
|
+
*
|
|
31
|
+
* @nsProperty
|
|
32
|
+
*/
|
|
33
|
+
public fontFamily: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets the font size which will be used for all spans that doesn't have a specific value.
|
|
37
|
+
*
|
|
38
|
+
* @nsProperty
|
|
39
|
+
*/
|
|
40
|
+
public fontSize: number;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Gets or sets the font style which will be used for all spans that doesn't have a specific value.
|
|
44
|
+
*
|
|
45
|
+
* @nsProperty
|
|
46
|
+
*/
|
|
47
|
+
public fontStyle: FontStyleType;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Gets or sets the font weight which will be used for all spans that doesn't have a specific value.
|
|
51
|
+
*
|
|
52
|
+
* @nsProperty
|
|
53
|
+
*/
|
|
54
|
+
public fontWeight: FontWeightType;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the font variation settings which will be used for all spans that doesn't have a specific value.
|
|
58
|
+
*
|
|
59
|
+
* @nsProperty
|
|
60
|
+
*/
|
|
61
|
+
public fontVariationSettings: FontVariationSettingsType[];
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Gets or sets text decorations which will be used for all spans that doesn't have a specific value.
|
|
65
|
+
*
|
|
66
|
+
* @nsProperty
|
|
67
|
+
*/
|
|
68
|
+
public textDecoration: CoreTypes.TextDecorationType;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Gets or sets the font foreground color which will be used for all spans that doesn't have a specific value.
|
|
72
|
+
*
|
|
73
|
+
* @nsProperty
|
|
74
|
+
*/
|
|
75
|
+
public color: Color;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Gets or sets the font background color which will be used for all spans that doesn't have a specific value.
|
|
79
|
+
*
|
|
80
|
+
* @nsProperty
|
|
81
|
+
*/
|
|
82
|
+
public backgroundColor: Color;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Defines whether accessibility font scale should affect font size.
|
|
86
|
+
*
|
|
87
|
+
* @nsProperty
|
|
88
|
+
*/
|
|
89
|
+
iosAccessibilityAdjustsFontSize: boolean;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets the minimum accessibility font scale.
|
|
93
|
+
*
|
|
94
|
+
* @nsProperty
|
|
95
|
+
*/
|
|
96
|
+
iosAccessibilityMinFontScale: number;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets the maximum accessibility font scale.
|
|
100
|
+
*
|
|
101
|
+
* @nsProperty
|
|
102
|
+
*/
|
|
103
|
+
iosAccessibilityMaxFontScale: number;
|
|
43
104
|
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { View, AddChildFromBuilder } from '../core/view';
|
|
2
|
+
import { FormattedString } from './formatted-string';
|
|
3
|
+
import { Style } from '../styling/style';
|
|
4
|
+
import { Length } from '../styling/style-properties';
|
|
5
|
+
import { Property, CssProperty, InheritedCssProperty } from '../core/properties';
|
|
6
|
+
import { CoreTypes } from '../../core-types';
|
|
7
|
+
import { ShadowCSSValues } from '../styling/css-shadow';
|
|
8
|
+
import { StrokeCSSValues } from '../styling/css-stroke';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @nsView TextBase
|
|
12
|
+
*/
|
|
13
|
+
export class TextBase extends View implements AddChildFromBuilder {
|
|
14
|
+
/**
|
|
15
|
+
* Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view
|
|
16
|
+
* So we need a different getter for the layout and text functions
|
|
17
|
+
*/
|
|
18
|
+
public readonly nativeTextViewProtected: any;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the text.
|
|
22
|
+
*
|
|
23
|
+
* @nsProperty
|
|
24
|
+
*/
|
|
25
|
+
text: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets a formatted string.
|
|
29
|
+
*
|
|
30
|
+
* @nsProperty
|
|
31
|
+
*/
|
|
32
|
+
formattedText: FormattedString;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets font-size style property.
|
|
36
|
+
*
|
|
37
|
+
* @nsProperty
|
|
38
|
+
*/
|
|
39
|
+
fontSize: number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets letterSpace style property.
|
|
43
|
+
*
|
|
44
|
+
* @nsProperty
|
|
45
|
+
*/
|
|
46
|
+
letterSpacing: number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets lineHeight style property.
|
|
50
|
+
*
|
|
51
|
+
* @nsProperty
|
|
52
|
+
*/
|
|
53
|
+
lineHeight: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Gets or sets text-alignment style property.
|
|
57
|
+
*
|
|
58
|
+
* @nsProperty
|
|
59
|
+
*/
|
|
60
|
+
textAlignment: CoreTypes.TextAlignmentType;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets text decorations style property.
|
|
64
|
+
*
|
|
65
|
+
* @nsProperty
|
|
66
|
+
*/
|
|
67
|
+
textDecoration: CoreTypes.TextDecorationType;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Gets or sets text transform style property.
|
|
71
|
+
*
|
|
72
|
+
* @nsProperty
|
|
73
|
+
*/
|
|
74
|
+
textTransform: CoreTypes.TextTransformType;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets text shadow style property.
|
|
78
|
+
*
|
|
79
|
+
* @nsProperty
|
|
80
|
+
*/
|
|
81
|
+
textShadow: ShadowCSSValues;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Gets or sets text stroke style property.
|
|
85
|
+
*
|
|
86
|
+
* @nsProperty
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
textStroke: StrokeCSSValues;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Gets or sets white space style property.
|
|
93
|
+
*
|
|
94
|
+
* @nsProperty
|
|
95
|
+
*/
|
|
96
|
+
whiteSpace: CoreTypes.WhiteSpaceType;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets text-overflow style property.
|
|
100
|
+
*
|
|
101
|
+
* @nsProperty
|
|
102
|
+
*/
|
|
103
|
+
textOverflow: CoreTypes.TextOverflowType;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Gets or sets white space style property.
|
|
107
|
+
*
|
|
108
|
+
* @nsProperty
|
|
109
|
+
*/
|
|
110
|
+
maxLines: CoreTypes.MaxLinesType;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Gets or sets padding style property.
|
|
114
|
+
*
|
|
115
|
+
* @nsProperty
|
|
116
|
+
*/
|
|
117
|
+
padding: string | CoreTypes.LengthType;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Specify the bottom padding of this layout.
|
|
121
|
+
*
|
|
122
|
+
* @nsProperty
|
|
123
|
+
*/
|
|
124
|
+
paddingBottom: CoreTypes.LengthType;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Specify the left padding of this layout.
|
|
128
|
+
*
|
|
129
|
+
* @nsProperty
|
|
130
|
+
*/
|
|
131
|
+
paddingLeft: CoreTypes.LengthType;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Specify the right padding of this layout.
|
|
135
|
+
*
|
|
136
|
+
* @nsProperty
|
|
137
|
+
*/
|
|
138
|
+
paddingRight: CoreTypes.LengthType;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Specify the top padding of this layout.
|
|
142
|
+
*
|
|
143
|
+
* @nsProperty
|
|
144
|
+
*/
|
|
145
|
+
paddingTop: CoreTypes.LengthType;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Specify wether the native text should be applied with or without animations
|
|
149
|
+
*
|
|
150
|
+
* @nsProperty
|
|
151
|
+
*/
|
|
152
|
+
iosTextAnimation: 'inherit' | boolean;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The value used when the iosTextAnimation is set to 'inherit'
|
|
156
|
+
*/
|
|
157
|
+
static iosTextAnimationFallback: boolean;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Called for every child element declared in xml.
|
|
161
|
+
* This method will add a child element (value) to current element.
|
|
162
|
+
* @private
|
|
163
|
+
* @param name - Name of the element.
|
|
164
|
+
* @param value - Value of the element.
|
|
165
|
+
*/
|
|
166
|
+
_addChildFromBuilder(name: string, value: any): void;
|
|
167
|
+
|
|
168
|
+
//@private
|
|
169
|
+
/**
|
|
170
|
+
* Called when the text property is changed to request layout.
|
|
171
|
+
* @private
|
|
172
|
+
*/
|
|
173
|
+
_requestLayoutOnTextChanged(): void;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @private
|
|
177
|
+
*/
|
|
178
|
+
_setNativeText(reset?: boolean): void;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @private
|
|
182
|
+
*/
|
|
183
|
+
_isSingleLine: boolean;
|
|
184
|
+
//@endprivate
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface TextTransformation {
|
|
188
|
+
new (owner: TextBase): any /* android.text.method.TransformationMethod */;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export const textProperty: Property<TextBase, string>;
|
|
192
|
+
export const formattedTextProperty: Property<TextBase, FormattedString>;
|
|
193
|
+
|
|
194
|
+
export const maxLinesProperty: InheritedCssProperty<Style, number>;
|
|
195
|
+
export const textAlignmentProperty: InheritedCssProperty<Style, CoreTypes.TextAlignmentType>;
|
|
196
|
+
export const textDecorationProperty: CssProperty<Style, CoreTypes.TextDecorationType>;
|
|
197
|
+
export const textTransformProperty: CssProperty<Style, CoreTypes.TextTransformType>;
|
|
198
|
+
export const textShadowProperty: CssProperty<Style, ShadowCSSValues>;
|
|
199
|
+
export const textStrokeProperty: CssProperty<Style, StrokeCSSValues>;
|
|
200
|
+
export const whiteSpaceProperty: CssProperty<Style, CoreTypes.WhiteSpaceType>;
|
|
201
|
+
export const textOverflowProperty: CssProperty<Style, CoreTypes.TextOverflowType>;
|
|
202
|
+
export const letterSpacingProperty: CssProperty<Style, number>;
|
|
203
|
+
export const lineHeightProperty: CssProperty<Style, number>;
|
|
204
|
+
|
|
205
|
+
//Used by tab view
|
|
206
|
+
export function getTransformedText(text: string, textTransform: CoreTypes.TextTransformType): string;
|
|
207
|
+
|
|
208
|
+
export const resetSymbol: symbol;
|
package/ui/text-base/span.d.ts
CHANGED
|
@@ -1,40 +1,115 @@
|
|
|
1
|
-
import { Color } from '../../color';
|
|
2
|
-
import { Span as SpanDefinition } from './span';
|
|
1
|
+
import { Color } from '../../color';
|
|
3
2
|
import { ViewBase } from '../core/view-base';
|
|
4
3
|
import { FontStyleType, FontVariationSettingsType, FontWeightType } from '../styling/font';
|
|
5
4
|
import { CoreTypes } from '../../core-types';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A class used to create a single part of formatted string with a common text properties.
|
|
8
|
+
*
|
|
9
|
+
* @nsView Span
|
|
10
|
+
*/
|
|
11
|
+
export class Span extends ViewBase {
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the font family of the span.
|
|
14
|
+
*
|
|
15
|
+
* @nsProperty
|
|
16
|
+
*/
|
|
17
|
+
public fontFamily: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the font size of the span.
|
|
21
|
+
*
|
|
22
|
+
* @nsProperty
|
|
23
|
+
*/
|
|
24
|
+
public fontSize: number;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Gets or sets the font style of the span.
|
|
28
|
+
*
|
|
29
|
+
* @nsProperty
|
|
30
|
+
*/
|
|
31
|
+
public fontStyle: FontStyleType;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the font weight of the span.
|
|
35
|
+
*
|
|
36
|
+
* @nsProperty
|
|
37
|
+
*/
|
|
38
|
+
public fontWeight: FontWeightType;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the font variation settings of the span.
|
|
42
|
+
*
|
|
43
|
+
* @nsProperty
|
|
44
|
+
*/
|
|
45
|
+
public fontVariationSettings: FontVariationSettingsType[];
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Gets or sets text decorations for the span.
|
|
49
|
+
*
|
|
50
|
+
* @nsProperty
|
|
51
|
+
*/
|
|
52
|
+
public textDecoration: CoreTypes.TextDecorationType;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Gets or sets the font foreground color of the span.
|
|
56
|
+
*
|
|
57
|
+
* @nsProperty
|
|
58
|
+
*/
|
|
59
|
+
public color: Color;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the font background color of the span.
|
|
63
|
+
*
|
|
64
|
+
* @nsProperty
|
|
65
|
+
*/
|
|
66
|
+
public backgroundColor: Color;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Defines whether accessibility font scale should affect font size.
|
|
70
|
+
*
|
|
71
|
+
* @nsProperty
|
|
72
|
+
*/
|
|
73
|
+
iosAccessibilityAdjustsFontSize: boolean;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Gets or sets the minimum accessibility font scale.
|
|
77
|
+
*
|
|
78
|
+
* @nsProperty
|
|
79
|
+
*/
|
|
80
|
+
iosAccessibilityMinFontScale: number;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Gets or sets the maximum accessibility font scale.
|
|
84
|
+
*
|
|
85
|
+
* @nsProperty
|
|
86
|
+
*/
|
|
87
|
+
iosAccessibilityMaxFontScale: number;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Gets or sets the text for the span.
|
|
91
|
+
*
|
|
92
|
+
* @nsProperty
|
|
93
|
+
*/
|
|
94
|
+
public text: string;
|
|
95
|
+
/**
|
|
96
|
+
* String value used when hooking to linkTap event.
|
|
97
|
+
*
|
|
98
|
+
* @nsEvent linkTap
|
|
99
|
+
*/
|
|
100
|
+
public static linkTapEvent: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Gets if the span is tappable or not.
|
|
104
|
+
*
|
|
105
|
+
* @nsProperty
|
|
106
|
+
*/
|
|
107
|
+
public readonly tappable: boolean;
|
|
108
|
+
|
|
109
|
+
//@private
|
|
110
|
+
/**
|
|
111
|
+
* @private
|
|
112
|
+
*/
|
|
113
|
+
_setTextInternal(value: string): void;
|
|
114
|
+
//@endprivate
|
|
40
115
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EditableTextBase } from '../editable-text-base';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
|
|
4
|
+
export const secureProperty: Property<TextField, boolean>;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents an editable text field.
|
|
8
|
+
*
|
|
9
|
+
* @nsView TextField
|
|
10
|
+
*/
|
|
11
|
+
export class TextField extends EditableTextBase {
|
|
12
|
+
/**
|
|
13
|
+
* String value used when hooking to the returnPress event.
|
|
14
|
+
*
|
|
15
|
+
* @nsEvent returnPress
|
|
16
|
+
*/
|
|
17
|
+
public static returnPressEvent: string;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
21
|
+
*/
|
|
22
|
+
android: any /* android.widget.EditText */;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Gets the native iOS [UITextField](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
26
|
+
*/
|
|
27
|
+
ios: any /* UITextField */;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets if a text field is for password entry.
|
|
31
|
+
*
|
|
32
|
+
* @nsProperty
|
|
33
|
+
*/
|
|
34
|
+
secure: boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets if a text field should dismiss on return.
|
|
38
|
+
*
|
|
39
|
+
* @nsProperty
|
|
40
|
+
*/
|
|
41
|
+
closeOnReturn: boolean;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* iOS only (to avoid 12+ auto suggested strong password handling)
|
|
45
|
+
*
|
|
46
|
+
* @nsProperty
|
|
47
|
+
*/
|
|
48
|
+
secureWithoutAutofill: boolean;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* iOS only update placeholder attributed text style
|
|
52
|
+
*/
|
|
53
|
+
_updateAttributedPlaceholder?(): void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EditableTextBase } from '../editable-text-base';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents an editable multiline text view.
|
|
6
|
+
*
|
|
7
|
+
* @nsView TextView
|
|
8
|
+
*/
|
|
9
|
+
export class TextView extends EditableTextBase {
|
|
10
|
+
/**
|
|
11
|
+
* String value used when hooking to the returnPress event.
|
|
12
|
+
*
|
|
13
|
+
* @nsEvent returnPress
|
|
14
|
+
*/
|
|
15
|
+
public static returnPressEvent: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Gets the native [android widget](http://developer.android.com/reference/android/widget/EditText.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
19
|
+
*/
|
|
20
|
+
android: any /* android.widget.EditText */;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Gets the native iOS [UITextView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextView_Class/) that represents the user interface for this component. Valid only when running on iOS.
|
|
24
|
+
*/
|
|
25
|
+
ios: any /* UITextView */;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Limits input to a certain number of lines.
|
|
29
|
+
*
|
|
30
|
+
* @nsProperty
|
|
31
|
+
*/
|
|
32
|
+
maxLines: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const maxLinesProperty: Property<EditableTextBase, number>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { View } from '../core/view';
|
|
2
|
+
import { Property } from '../core/properties';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents an time picker.
|
|
6
|
+
*
|
|
7
|
+
* @nsView TimePicker
|
|
8
|
+
*/
|
|
9
|
+
export class TimePicker extends View {
|
|
10
|
+
/**
|
|
11
|
+
* String value used when hooking to the timeChange event.
|
|
12
|
+
*
|
|
13
|
+
* @nsEvent timeChange
|
|
14
|
+
*/
|
|
15
|
+
public static timeChangeEvent: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Gets the native [android.widget.TimePicker](http://developer.android.com/reference/android/widget/TimePicker.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
19
|
+
*/
|
|
20
|
+
android: any /* android.widget.TimePicker */;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Gets the native iOS [UIDatePicker](http://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDatePicker_Class/index.html) that represents the user interface for this component. Valid only when running on iOS.
|
|
24
|
+
*/
|
|
25
|
+
ios: any /* UIDatePicker */;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets the time hour.
|
|
29
|
+
*
|
|
30
|
+
* @nsProperty
|
|
31
|
+
*/
|
|
32
|
+
hour: number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets the time minute.
|
|
36
|
+
*
|
|
37
|
+
* @nsProperty
|
|
38
|
+
*/
|
|
39
|
+
minute: number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the time.
|
|
43
|
+
*
|
|
44
|
+
* @nsProperty
|
|
45
|
+
*/
|
|
46
|
+
time: Date;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets the max time hour.
|
|
50
|
+
*
|
|
51
|
+
* @nsProperty
|
|
52
|
+
*/
|
|
53
|
+
maxHour: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Gets or sets the max time minute.
|
|
57
|
+
*
|
|
58
|
+
* @nsProperty
|
|
59
|
+
*/
|
|
60
|
+
maxMinute: number;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Gets or sets the min time hour.
|
|
64
|
+
*
|
|
65
|
+
* @nsProperty
|
|
66
|
+
*/
|
|
67
|
+
minHour: number;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Gets or sets the min time minute.
|
|
71
|
+
*
|
|
72
|
+
* @nsProperty
|
|
73
|
+
*/
|
|
74
|
+
minMinute: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets the minute interval.
|
|
78
|
+
*
|
|
79
|
+
* @nsProperty
|
|
80
|
+
*/
|
|
81
|
+
minuteInterval: number;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Gets or set the UIDatePickerStyle of the date picker in iOS 13.4+. Defaults to 0.
|
|
85
|
+
* Valid values are numbers:
|
|
86
|
+
* - 0: automatic (system picks the concrete style based on the current platform and date picker mode)
|
|
87
|
+
* - 1: wheels (the date picker displays as a wheel picker)
|
|
88
|
+
* - 2: compact (the date picker displays as a label that when tapped displays a calendar-style editor)
|
|
89
|
+
* - 3: inline (the date pickers displays as an inline, editable field)
|
|
90
|
+
*
|
|
91
|
+
* @nsProperty
|
|
92
|
+
*/
|
|
93
|
+
iosPreferredDatePickerStyle: number;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export const hourProperty: Property<TimePicker, number>;
|
|
97
|
+
export const maxHourProperty: Property<TimePicker, number>;
|
|
98
|
+
export const minHourProperty: Property<TimePicker, number>;
|
|
99
|
+
|
|
100
|
+
export const minuteProperty: Property<TimePicker, number>;
|
|
101
|
+
export const maxMinuteProperty: Property<TimePicker, number>;
|
|
102
|
+
export const minMinuteProperty: Property<TimePicker, number>;
|
|
103
|
+
|
|
104
|
+
export const timeProperty: Property<TimePicker, Date>;
|
|
105
|
+
export const minuteIntervalProperty: Property<TimePicker, number>;
|
|
106
|
+
|
|
107
|
+
export const iosPreferredDatePickerStyleProperty: Property<TimePicker, number>;
|