@nativescript/core 8.8.6-next-11-19-2024-11906251440 → 8.8.6-next-01-12-2025-12736592426
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/animation-frame/index.d.ts +3 -17
- package/core-types/index.d.ts +2 -2
- package/core-types/index.js +3 -3
- package/core-types/index.js.map +1 -1
- package/css/css-tree-parser.js +17 -21
- package/css/parser.js +2 -1
- package/css/parser.js.map +1 -1
- package/debugger/devtools-elements.d.ts +5 -23
- package/debugger/dom-node.d.ts +20 -23
- package/file-system/index.d.ts +95 -370
- package/fps-meter/index.d.ts +7 -24
- package/globals/index.d.ts +19 -4
- package/globals/index.js +5 -3
- package/globals/index.js.map +1 -1
- package/http/index.d.ts +73 -149
- package/index.d.ts +6 -23
- package/matrix/index.d.ts +5 -32
- package/module-name-resolver/index.d.ts +13 -21
- package/module-name-resolver/qualifier-matcher/index.d.ts +6 -12
- package/package.json +1 -1
- package/platform/index.d.ts +0 -26
- package/profiling/index.d.ts +26 -153
- package/text/formatted-string.d.ts +1 -1
- package/text/span.d.ts +1 -1
- package/trace/index.d.ts +105 -131
- package/ui/animation/animation-common.d.ts +1 -8
- package/ui/animation/animation-common.js +0 -8
- package/ui/animation/animation-common.js.map +1 -1
- package/ui/animation/animation-interfaces.d.ts +11 -0
- package/ui/animation/animation-interfaces.js +12 -1
- package/ui/animation/animation-interfaces.js.map +1 -1
- package/ui/animation/index.android.d.ts +2 -2
- package/ui/animation/index.android.js +2 -2
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.ios.d.ts +2 -2
- package/ui/animation/index.ios.js +4 -4
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/animation/keyframe-animation.d.ts +67 -118
- package/ui/builder/binding-builder.d.ts +12 -15
- package/ui/builder/index.d.ts +27 -69
- package/ui/content-view/index.d.ts +23 -4
- package/ui/core/view/view-common.d.ts +1 -1
- package/ui/core/weak-event-listener/index.d.ts +2 -18
- package/ui/layouts/index.d.ts +2 -1
- package/ui/placeholder/index.android.d.ts +1 -1
- package/ui/placeholder/index.d.ts +8 -42
- package/ui/styling/background.ios.js +1 -1
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/converters.d.ts +2 -2
- package/ui/styling/style-properties.d.ts +81 -101
- package/ui/styling/style-scope.d.ts +79 -48
- package/ui/text-base/formatted-string.d.ts +36 -73
- package/ui/text-base/span.d.ts +36 -81
- package/ui/web-view/web-view-common.d.ts +1 -1
- package/utils/debug.d.ts +17 -61
- package/utils/lazy.d.ts +0 -5
- package/utils/macrotask-scheduler.d.ts +1 -5
- package/utils/native-helper.ios.js +1 -0
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/types.d.ts +23 -115
- package/xml/index.d.ts +44 -105
- package/xml/index.js +1 -1
- package/xml/index.js.map +1 -1
- package/accessibility/accessibility-service.d.ts +0 -10
- package/accessibility/font-scale.d.ts +0 -9
- package/accessibility/index.d.ts +0 -37
- package/animation-frame/animation-native.d.ts +0 -4
- package/application/application.d.ts +0 -194
- package/application/index.d.ts +0 -2
- package/application-settings/index.d.ts +0 -70
- package/cli-hooks/before-checkForChanges.js +0 -60
- package/cli-hooks/postinstall.js +0 -2
- package/cli-hooks/preuninstall.js +0 -2
- package/color/index.d.ts +0 -206
- package/connectivity/index.d.ts +0 -52
- package/css/lib/parse/index.js +0 -602
- package/css/package.json +0 -36
- package/css/reworkcss.d.ts +0 -47
- package/css/reworkcss.js +0 -1
- package/css-value/package.json +0 -23
- package/css-value/reworkcss-value.d.ts +0 -8
- package/css-value/reworkcss-value.js +0 -113
- package/debugger/css-agent.d.ts +0 -59
- package/fetch/index.js +0 -539
- package/file-system/file-system-access.d.ts +0 -441
- package/fps-meter/fps-native.d.ts +0 -24
- package/global-types.d.ts +0 -393
- package/http/http-request/index.d.ts +0 -3
- package/image-asset/index.d.ts +0 -17
- package/image-source/index.d.ts +0 -345
- package/js-libs/easysax/easysax.d.ts +0 -8
- package/js-libs/easysax/easysax.js +0 -782
- package/js-libs/easysax/package.json +0 -35
- package/platform/device/index.d.ts +0 -70
- package/platform/screen/index.d.ts +0 -48
- package/platforms/android/native-api-usage.json +0 -32
- package/platforms/android/res/values/ids.xml +0 -4
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_cg-release.aar +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/Info.plist +0 -102
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Resources/Info.plist +0 -52
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Resources/Info.plist +0 -52
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/Current/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Info.plist +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/_CodeSignature/CodeResources +0 -146
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/TNSWidgets.xcframework/Info.plist +0 -102
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- 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 +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- 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 +0 -20
- 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 +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +0 -52
- 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 +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +0 -52
- 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 +0 -20
- 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 +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- 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 +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- 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 +0 -223
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- 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 +0 -82
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- 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 +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- 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 +0 -20
- 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 +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- 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 +0 -6
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- 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 +0 -223
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +0 -20
- 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 +0 -82
- package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +0 -82
- package/platforms/ios/native-api-usage.json +0 -41
- package/platforms/ios/src/NativeScriptEmbedder.h +0 -31
- package/platforms/ios/src/NativeScriptEmbedder.m +0 -43
- package/platforms/ios/src/NativeScriptMainWindow.swift +0 -196
- package/platforms/ios/src/NativeScriptUtils.h +0 -16
- package/platforms/ios/src/NativeScriptUtils.m +0 -137
- package/platforms/ios/src/UIView+NativeScript.h +0 -15
- package/platforms/ios/src/UIView+NativeScript.m +0 -148
- package/platforms/ios/src/module.modulemap +0 -14
- package/platforms/ios/typings/objc!MaterialComponents.d.ts +0 -808
- package/platforms/ios/typings/objc!NativeScriptUtils.d.ts +0 -18
- package/references.d.ts +0 -10
- package/text/index.d.ts +0 -36
- package/timer/index.d.ts +0 -27
- package/ui/action-bar/index.d.ts +0 -271
- package/ui/activity-indicator/index.d.ts +0 -21
- package/ui/animation/index.d.ts +0 -152
- package/ui/button/index.d.ts +0 -44
- package/ui/core/control-state-change/index.d.ts +0 -15
- package/ui/core/view/index.d.ts +0 -1001
- package/ui/core/view/view-helper/index.d.ts +0 -76
- package/ui/date-picker/index.d.ts +0 -65
- package/ui/dialogs/index.d.ts +0 -311
- package/ui/editable-text-base/index.d.ts +0 -100
- package/ui/embedding/index.d.ts +0 -10
- package/ui/frame/fragment.d.ts +0 -5
- package/ui/frame/fragment.transitions.d.ts +0 -43
- package/ui/frame/index.d.ts +0 -563
- package/ui/frame/transition-definitions.android.d.ts +0 -54
- package/ui/gestures/index.d.ts +0 -59
- package/ui/html-view/index.d.ts +0 -27
- package/ui/image/index.d.ts +0 -77
- package/ui/image/symbol-effects.d.ts +0 -13
- package/ui/image-cache/index.d.ts +0 -147
- package/ui/label/index.d.ts +0 -21
- package/ui/layouts/absolute-layout/index.d.ts +0 -40
- package/ui/layouts/dock-layout/index.d.ts +0 -35
- package/ui/layouts/flexbox-layout/index.d.ts +0 -66
- package/ui/layouts/grid-layout/index.d.ts +0 -182
- package/ui/layouts/layout-base.d.ts +0 -105
- package/ui/layouts/root-layout/index.d.ts +0 -45
- package/ui/layouts/stack-layout/index.d.ts +0 -19
- package/ui/layouts/wrap-layout/index.d.ts +0 -43
- package/ui/list-picker/index.d.ts +0 -32
- package/ui/list-view/index.d.ts +0 -208
- package/ui/page/index.d.ts +0 -212
- package/ui/progress/index.d.ts +0 -37
- package/ui/scroll-view/index.d.ts +0 -89
- package/ui/search-bar/index.d.ts +0 -89
- package/ui/segmented-bar/index.d.ts +0 -106
- package/ui/slider/index.d.ts +0 -72
- package/ui/styling/background.d.ts +0 -93
- package/ui/styling/font.d.ts +0 -62
- package/ui/switch/index.d.ts +0 -35
- package/ui/tab-view/index.d.ts +0 -175
- package/ui/text-base/index.d.ts +0 -161
- package/ui/text-field/index.d.ts +0 -41
- package/ui/text-view/index.d.ts +0 -24
- package/ui/time-picker/index.d.ts +0 -80
- package/ui/transition/fade-transition.d.ts +0 -3
- package/ui/transition/flip-transition.d.ts +0 -5
- package/ui/transition/index.d.ts +0 -59
- package/ui/transition/modal-transition.d.ts +0 -2
- package/ui/transition/page-transition.d.ts +0 -4
- package/ui/transition/shared-transition-helper.d.ts +0 -14
- package/ui/transition/slide-transition.d.ts +0 -5
- package/ui/utils.d.ts +0 -44
- package/ui/web-view/index.d.ts +0 -130
- package/utils/constants.d.ts +0 -1
- package/utils/index.d.ts +0 -177
- package/utils/layout-helper/index.d.ts +0 -82
- package/utils/mainthread-helper.d.ts +0 -16
- package/utils/native-helper.d.ts +0 -280
- package/utils/typescript-utils.d.ts +0 -6
|
@@ -1,80 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
* Contains the FormattedString and Span classes, which are used to create a formatted (rich text) strings.
|
|
3
|
-
*/
|
|
4
|
-
|
|
1
|
+
import { FormattedString as FormattedStringDefinition } from './formatted-string';
|
|
5
2
|
import { Span } from './span';
|
|
6
3
|
import { ObservableArray } from '../../data/observable-array';
|
|
4
|
+
import { AddArrayFromBuilder, AddChildFromBuilder } from '../core/view';
|
|
7
5
|
import { ViewBase } from '../core/view-base';
|
|
8
6
|
import { Color } from '../../color';
|
|
9
7
|
import { FontStyleType, FontVariationSettingsType, FontWeightType } from '../styling/font';
|
|
10
8
|
import { CoreTypes } from '../../core-types';
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Gets or sets the font variation settings which will be used for all spans that doesn't have a specific value.
|
|
48
|
-
*/
|
|
49
|
-
public fontVariationSettings: FontVariationSettingsType[];
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Gets or sets text decorations which will be used for all spans that doesn't have a specific value.
|
|
53
|
-
*/
|
|
54
|
-
public textDecoration: CoreTypes.TextDecorationType;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Gets or sets the font foreground color which will be used for all spans that doesn't have a specific value.
|
|
58
|
-
*/
|
|
59
|
-
public color: Color;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Gets or sets the font background color which will be used for all spans that doesn't have a specific value.
|
|
63
|
-
*/
|
|
64
|
-
public backgroundColor: Color;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Defines whether accessibility font scale should affect font size.
|
|
68
|
-
*/
|
|
69
|
-
iosAccessibilityAdjustsFontSize: boolean;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Gets or sets the minimum accessibility font scale.
|
|
73
|
-
*/
|
|
74
|
-
iosAccessibilityMinFontScale: number;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Gets or sets the maximum accessibility font scale.
|
|
78
|
-
*/
|
|
79
|
-
iosAccessibilityMaxFontScale: number;
|
|
9
|
+
export declare class FormattedString extends ViewBase implements FormattedStringDefinition, AddArrayFromBuilder, AddChildFromBuilder {
|
|
10
|
+
private _spans;
|
|
11
|
+
constructor();
|
|
12
|
+
get fontFamily(): string;
|
|
13
|
+
set fontFamily(value: string);
|
|
14
|
+
get fontSize(): number;
|
|
15
|
+
set fontSize(value: number);
|
|
16
|
+
get fontStyle(): FontStyleType;
|
|
17
|
+
set fontStyle(value: FontStyleType);
|
|
18
|
+
get fontWeight(): FontWeightType;
|
|
19
|
+
set fontWeight(value: FontWeightType);
|
|
20
|
+
get fontVariationSettings(): FontVariationSettingsType[];
|
|
21
|
+
set fontVariationSettings(value: FontVariationSettingsType[]);
|
|
22
|
+
get textDecoration(): CoreTypes.TextDecorationType;
|
|
23
|
+
set textDecoration(value: CoreTypes.TextDecorationType);
|
|
24
|
+
get color(): Color;
|
|
25
|
+
set color(value: Color);
|
|
26
|
+
get backgroundColor(): Color;
|
|
27
|
+
set backgroundColor(value: Color);
|
|
28
|
+
get iosAccessibilityAdjustsFontSize(): boolean;
|
|
29
|
+
set iosAccessibilityAdjustsFontSize(value: boolean);
|
|
30
|
+
get iosAccessibilityMinFontScale(): number;
|
|
31
|
+
set iosAccessibilityMinFontScale(value: number);
|
|
32
|
+
get iosAccessibilityMaxFontScale(): number;
|
|
33
|
+
set iosAccessibilityMaxFontScale(value: number);
|
|
34
|
+
get spans(): ObservableArray<Span>;
|
|
35
|
+
toString(): string;
|
|
36
|
+
_addArrayFromBuilder(name: string, value: Array<any>): void;
|
|
37
|
+
_addChildFromBuilder(name: string, value: any): void;
|
|
38
|
+
private onSpansCollectionChanged;
|
|
39
|
+
private addPropertyChangeHandler;
|
|
40
|
+
private removePropertyChangeHandler;
|
|
41
|
+
private onPropertyChange;
|
|
42
|
+
eachChild(callback: (child: ViewBase) => boolean): void;
|
|
80
43
|
}
|
package/ui/text-base/span.d.ts
CHANGED
|
@@ -1,85 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
import { Color } from '../../color';
|
|
2
|
+
import { Span as SpanDefinition } from './span';
|
|
2
3
|
import { ViewBase } from '../core/view-base';
|
|
3
4
|
import { FontStyleType, FontVariationSettingsType, FontWeightType } from '../styling/font';
|
|
4
5
|
import { CoreTypes } from '../../core-types';
|
|
5
|
-
|
|
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
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Gets or sets the font foreground color of the span.
|
|
42
|
-
*/
|
|
43
|
-
public color: Color;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Gets or sets the font background color of the span.
|
|
47
|
-
*/
|
|
48
|
-
public backgroundColor: Color;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Defines whether accessibility font scale should affect font size.
|
|
52
|
-
*/
|
|
53
|
-
iosAccessibilityAdjustsFontSize: boolean;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Gets or sets the minimum accessibility font scale.
|
|
57
|
-
*/
|
|
58
|
-
iosAccessibilityMinFontScale: number;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Gets or sets the maximum accessibility font scale.
|
|
62
|
-
*/
|
|
63
|
-
iosAccessibilityMaxFontScale: number;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Gets or sets the text for the span.
|
|
67
|
-
*/
|
|
68
|
-
public text: string;
|
|
69
|
-
/**
|
|
70
|
-
* String value used when hooking to linkTap event.
|
|
71
|
-
*/
|
|
72
|
-
public static linkTapEvent: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Gets if the span is tappable or not.
|
|
76
|
-
*/
|
|
77
|
-
public readonly tappable: boolean;
|
|
78
|
-
|
|
79
|
-
//@private
|
|
80
|
-
/**
|
|
81
|
-
* @private
|
|
82
|
-
*/
|
|
83
|
-
_setTextInternal(value: string): void;
|
|
84
|
-
//@endprivate
|
|
6
|
+
import { EventData } from '../../data/observable';
|
|
7
|
+
export declare class Span extends ViewBase implements SpanDefinition {
|
|
8
|
+
static linkTapEvent: string;
|
|
9
|
+
private _text;
|
|
10
|
+
private _tappable;
|
|
11
|
+
get fontFamily(): string;
|
|
12
|
+
set fontFamily(value: string);
|
|
13
|
+
get fontSize(): number;
|
|
14
|
+
set fontSize(value: number);
|
|
15
|
+
get fontStyle(): FontStyleType;
|
|
16
|
+
set fontStyle(value: FontStyleType);
|
|
17
|
+
get fontWeight(): FontWeightType;
|
|
18
|
+
set fontWeight(value: FontWeightType);
|
|
19
|
+
get fontVariationSettings(): FontVariationSettingsType[];
|
|
20
|
+
set fontVariationSettings(value: FontVariationSettingsType[]);
|
|
21
|
+
get textDecoration(): CoreTypes.TextDecorationType;
|
|
22
|
+
set textDecoration(value: CoreTypes.TextDecorationType);
|
|
23
|
+
get color(): Color;
|
|
24
|
+
set color(value: Color);
|
|
25
|
+
get backgroundColor(): Color;
|
|
26
|
+
set backgroundColor(value: Color);
|
|
27
|
+
get iosAccessibilityAdjustsFontSize(): boolean;
|
|
28
|
+
set iosAccessibilityAdjustsFontSize(value: boolean);
|
|
29
|
+
get iosAccessibilityMinFontScale(): number;
|
|
30
|
+
set iosAccessibilityMinFontScale(value: number);
|
|
31
|
+
get iosAccessibilityMaxFontScale(): number;
|
|
32
|
+
set iosAccessibilityMaxFontScale(value: number);
|
|
33
|
+
get text(): string;
|
|
34
|
+
set text(value: string);
|
|
35
|
+
get tappable(): boolean;
|
|
36
|
+
addEventListener(arg: string, callback: (data: EventData) => void, thisArg?: any): void;
|
|
37
|
+
removeEventListener(arg: string, callback?: (data: EventData) => void, thisArg?: any): void;
|
|
38
|
+
_setTextInternal(value: string): void;
|
|
39
|
+
private _setTappable;
|
|
85
40
|
}
|
|
@@ -3,7 +3,7 @@ import { ContainerView } from '../core/view';
|
|
|
3
3
|
import { Property } from '../core/properties';
|
|
4
4
|
import { EventData } from '../../data/observable';
|
|
5
5
|
export * from './web-view-interfaces';
|
|
6
|
-
export declare const srcProperty:
|
|
6
|
+
export declare const srcProperty: Property<WebViewBase, string>;
|
|
7
7
|
export declare const disableZoomProperty: Property<WebViewBase, boolean>;
|
|
8
8
|
export declare abstract class WebViewBase extends ContainerView {
|
|
9
9
|
static loadStartedEvent: string;
|
package/utils/debug.d.ts
CHANGED
|
@@ -1,64 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Gets the URI of the source document;
|
|
17
|
-
*/
|
|
18
|
-
uri: string;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Gets the line in the source document.
|
|
22
|
-
*/
|
|
23
|
-
line: number;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Gets the position in the source document.
|
|
27
|
-
*/
|
|
28
|
-
column: number;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Get the source of an object.
|
|
32
|
-
*/
|
|
33
|
-
public static get(object: any): Source;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Set the source of an object.
|
|
37
|
-
*/
|
|
38
|
-
public static set(object: any, src: Source);
|
|
1
|
+
export declare const debug = true;
|
|
2
|
+
export declare class Source {
|
|
3
|
+
private _uri;
|
|
4
|
+
private _line;
|
|
5
|
+
private _column;
|
|
6
|
+
private static _source;
|
|
7
|
+
constructor(uri: string, line: number, column: number);
|
|
8
|
+
get uri(): string;
|
|
9
|
+
get line(): number;
|
|
10
|
+
get column(): number;
|
|
11
|
+
toString(): string;
|
|
12
|
+
static get(object: any): Source;
|
|
13
|
+
static set(object: any, src: Source): void;
|
|
39
14
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* An Error class that provides additional context to an error.
|
|
43
|
-
*/
|
|
44
|
-
export class ScopeError extends Error {
|
|
45
|
-
/**
|
|
46
|
-
* Creates a new ScopeError providing addtional context to the child error.
|
|
47
|
-
* @param child The child error to extend.
|
|
48
|
-
* @param message Additional message to prepend to the child error.
|
|
49
|
-
*/
|
|
50
|
-
constructor(child: Error, message?: string);
|
|
15
|
+
export declare class ScopeError extends Error {
|
|
16
|
+
constructor(inner: Error, message?: string);
|
|
51
17
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
* Represents a scope error providing addiot
|
|
55
|
-
*/
|
|
56
|
-
export class SourceError extends ScopeError {
|
|
57
|
-
/**
|
|
58
|
-
* Creates a new SourceError by child error, source and optional message.
|
|
59
|
-
* @param child The child error to extend.
|
|
60
|
-
* @param source The source where the error occured.
|
|
61
|
-
* @param message Additonal message to prepend along the source location and the child error's message.
|
|
62
|
-
*/
|
|
63
|
-
constructor(child: Error, source: Source, message?: string);
|
|
18
|
+
export declare class SourceError extends ScopeError {
|
|
19
|
+
constructor(child: Error, source: Source, message?: string);
|
|
64
20
|
}
|
package/utils/lazy.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export function dataSerialize(data, wrapPrimitives = false) {
|
|
|
74
74
|
const node = Object.fromEntries(Object.entries(data)
|
|
75
75
|
.map(([key, value]) => [key, dataSerialize(value, wrapPrimitives)])
|
|
76
76
|
.filter(([, value]) => value !== null));
|
|
77
|
+
// cast to any avoids signature overload on tsc build
|
|
77
78
|
return NSDictionary.dictionaryWithDictionary(node);
|
|
78
79
|
}
|
|
79
80
|
default:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-helper.ios.js","sourceRoot":"","sources":["../../../../packages/core/utils/native-helper.ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC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C,CAAC;QAC3D,CAAC;QAED;YACC,OAAO,IAAI,CAAC;IACd,CAAC;AACF,CAAC;AAED,0DAA0D;AAC1D,MAAM,CAAC,MAAM,EAAE,GAAG,aAAa,CAAC,UAAU,CAAC,CAAC;AAC5C,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,eAAe,CAAC,CAAC;AAEtD,MAAM,KAAQ,GAAG,GAAG,QAAQ,CAAC;AAE7B;;GAEG;AACH,MAAM,KAAQ,eAAe,GAAG,QAAQ,CAAC"}
|
package/utils/types.d.ts
CHANGED
|
@@ -1,116 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export function
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* A function that checks if something is a function.
|
|
24
|
-
* @param value The value which will be checked.
|
|
25
|
-
* Returns true if value is a function.
|
|
26
|
-
*/
|
|
27
|
-
export function isFunction(value: any): boolean;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* A function that checks if something is an object.
|
|
31
|
-
* @param value The value which will be checked.
|
|
32
|
-
* Returns true if value is an object.
|
|
33
|
-
*/
|
|
34
|
-
export function isObject(value: any): boolean;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* A function that checks if something is "undefined".
|
|
38
|
-
* @param value The value which will be checked.
|
|
39
|
-
* Returns true if value is "undefined".
|
|
40
|
-
*/
|
|
41
|
-
export function isUndefined(value: any): boolean;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* A function that checks if something is defined (not undefined).
|
|
45
|
-
* @param value The value which will be checked.
|
|
46
|
-
* Returns true if value is defined.
|
|
47
|
-
*/
|
|
48
|
-
export function isDefined(value: any): boolean;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* A function that checks if something is not defined (null or undefined).
|
|
52
|
-
* @param value The value which will be checked.
|
|
53
|
-
* Returns true if value is null or undefined.
|
|
54
|
-
*/
|
|
55
|
-
export function isNullOrUndefined(value: any): boolean;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* A function that checks if something is a valid function.
|
|
59
|
-
* @param value The value which will be checked.
|
|
60
|
-
* Throws exception if passed value is not a valid function.
|
|
61
|
-
*/
|
|
62
|
-
export function verifyCallback(value: any): void;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Checks if the number has decimals
|
|
66
|
-
* @param value Number to check
|
|
67
|
-
*/
|
|
68
|
-
export function numberHasDecimals(value: number): boolean;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Checks if the number is 64 bit
|
|
72
|
-
* @param value Number to check
|
|
73
|
-
*/
|
|
74
|
-
export function numberIs64Bit(value: number): boolean;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* A function that gets the class name of an object.
|
|
78
|
-
* @param object The object.
|
|
79
|
-
* Returns a string with the name of the class.
|
|
80
|
-
*/
|
|
81
|
-
export function getClass(object): string;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* A function that gets the entire class hierarchy of an object.
|
|
85
|
-
* @param object The object.
|
|
86
|
-
* Returns an array of strings with the name of all base classes.
|
|
87
|
-
*/
|
|
88
|
-
export function getBaseClasses(object): Array<string>;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* A function that gets the ClassInfo for an object.
|
|
92
|
-
* @param object The object.
|
|
93
|
-
* Returns a ClassInfo for the object.
|
|
94
|
-
*/
|
|
95
|
-
export function getClassInfo(object: Object): ClassInfo;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* A Class holding information about a class
|
|
99
|
-
*/
|
|
100
|
-
export class ClassInfo {
|
|
101
|
-
/**
|
|
102
|
-
* Gets the name of the class.
|
|
103
|
-
*/
|
|
104
|
-
name: string;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* Gets the ClassInfo for the base class of the current info.
|
|
108
|
-
*/
|
|
109
|
-
baseClassInfo: ClassInfo;
|
|
1
|
+
export declare function isString(value: any): boolean;
|
|
2
|
+
export declare function isNumber(value: any): boolean;
|
|
3
|
+
export declare function isBoolean(value: any): boolean;
|
|
4
|
+
export declare function isFunction(value: any): boolean;
|
|
5
|
+
export declare function isObject(value: any): boolean;
|
|
6
|
+
export declare function isUndefined(value: any): boolean;
|
|
7
|
+
export declare function isDefined(value: any): boolean;
|
|
8
|
+
export declare function isNullOrUndefined(value: any): boolean;
|
|
9
|
+
export declare function verifyCallback(value: any): void;
|
|
10
|
+
export declare function numberHasDecimals(value: number): boolean;
|
|
11
|
+
export declare function numberIs64Bit(value: number): boolean;
|
|
12
|
+
export declare function getClass(object: Object): string;
|
|
13
|
+
export declare function getClassInfo(object: Object): ClassInfo;
|
|
14
|
+
export declare function getBaseClasses(object: any): Array<string>;
|
|
15
|
+
export declare class ClassInfo {
|
|
16
|
+
private _typeConstructor;
|
|
17
|
+
private _name;
|
|
18
|
+
private _baseClassInfo;
|
|
19
|
+
constructor(typeConstructor: Function);
|
|
20
|
+
get name(): string;
|
|
21
|
+
get baseClassInfo(): ClassInfo;
|
|
22
|
+
private static _getBase;
|
|
110
23
|
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Returns a string representation of an object to be shown in UI.
|
|
114
|
-
* @param object The object.
|
|
115
|
-
*/
|
|
116
|
-
export function toUIString(object): string;
|
|
24
|
+
export declare function toUIString(obj: any): string;
|
package/xml/index.d.ts
CHANGED
|
@@ -1,112 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
* Contains the XmlParser class, which is a SAX parser using the easysax implementation.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Specifies the type of parser event.
|
|
7
|
-
*/
|
|
8
|
-
export class ParserEventType {
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the StartElement event type.
|
|
11
|
-
*/
|
|
12
|
-
static StartElement: string;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the EndElement event type.
|
|
16
|
-
*/
|
|
17
|
-
static EndElement: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Specifies the Text event type.
|
|
21
|
-
*/
|
|
22
|
-
static Text: string;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the CDATA event type.
|
|
26
|
-
*/
|
|
27
|
-
static CDATA: string;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the Comment event type.
|
|
31
|
-
*/
|
|
32
|
-
static Comment: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
1
|
+
import * as definition from '.';
|
|
35
2
|
/**
|
|
36
3
|
* Defines a position within string, in line and column form.
|
|
37
4
|
*/
|
|
38
5
|
export interface Position {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
column: number;
|
|
6
|
+
/**
|
|
7
|
+
* The line number. The first line is at index 1.
|
|
8
|
+
*/
|
|
9
|
+
line: number;
|
|
10
|
+
/**
|
|
11
|
+
* The column number. The first character is at index 1.
|
|
12
|
+
*/
|
|
13
|
+
column: number;
|
|
48
14
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
* Returns the type of the parser event. This is one of the ParserEventType static members.
|
|
56
|
-
*/
|
|
57
|
-
eventType: string;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Get the position in the xml string where the event was generated.
|
|
61
|
-
*/
|
|
62
|
-
position: Position;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* If namespace processing is enabled, returns the prefix of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
66
|
-
*/
|
|
67
|
-
prefix?: string;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* If namespace processing is enabled, returns the namespace of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
71
|
-
*/
|
|
72
|
-
namespace?: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Returns the name of the element in case the eventType is ParserEventType.StartElement or ParserEventType.EndElement.
|
|
76
|
-
*/
|
|
77
|
-
elementName?: string;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Returns a JSON object with the attributes of an element in case the eventType is ParserEventType.StartElement.
|
|
81
|
-
*/
|
|
82
|
-
attributes?: Object;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Returns the relevant data in case the eventType is ParserEventType.Text, ParserEventType.CDATA or ParserEventType.Comment.
|
|
86
|
-
*/
|
|
87
|
-
data?: string;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Returns a JSON string representation of this instance.
|
|
91
|
-
*/
|
|
92
|
-
toString(): string;
|
|
15
|
+
export declare class ParserEventType implements definition.ParserEventType {
|
|
16
|
+
static StartElement: string;
|
|
17
|
+
static EndElement: string;
|
|
18
|
+
static Text: string;
|
|
19
|
+
static CDATA: string;
|
|
20
|
+
static Comment: string;
|
|
93
21
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
22
|
+
export declare class ParserEvent implements definition.ParserEvent {
|
|
23
|
+
private _eventType;
|
|
24
|
+
private _position;
|
|
25
|
+
private _prefix;
|
|
26
|
+
private _namespace;
|
|
27
|
+
private _elementName;
|
|
28
|
+
private _attributes;
|
|
29
|
+
private _data;
|
|
30
|
+
constructor(eventType: string, position: Position, prefix?: string, namespace?: string, elementName?: string, attributes?: Object, data?: string);
|
|
31
|
+
toString(): string;
|
|
32
|
+
get eventType(): string;
|
|
33
|
+
get position(): Position;
|
|
34
|
+
get prefix(): string;
|
|
35
|
+
get namespace(): string;
|
|
36
|
+
get elementName(): string;
|
|
37
|
+
get attributes(): Object;
|
|
38
|
+
get data(): string;
|
|
39
|
+
}
|
|
40
|
+
export declare class XmlParser implements definition.XmlParser {
|
|
41
|
+
private _parser;
|
|
42
|
+
private _processNamespaces;
|
|
43
|
+
private _namespaceStack;
|
|
44
|
+
constructor(onEvent: (event: definition.ParserEvent) => void, onError?: (error: Error, position: Position) => void, processNamespaces?: boolean);
|
|
45
|
+
get angularSyntax(): boolean;
|
|
46
|
+
set angularSyntax(value: boolean);
|
|
47
|
+
parse(xmlString: string): void;
|
|
48
|
+
private static _getNamespacesStackEntry;
|
|
49
|
+
private _resolveNamespace;
|
|
50
|
+
private static _dereferenceEntities;
|
|
112
51
|
}
|