@nativescript/core 8.9.0-alpha.3 → 8.9.0-napi.0
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-properties.js +0 -1
- package/accessibility/accessibility-properties.js.map +1 -1
- 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/parser.js +2 -1
- package/css/parser.js.map +1 -1
- package/data/observable/index.d.ts +1 -0
- package/data/observable/index.js +1 -0
- package/data/observable/index.js.map +1 -1
- package/file-system/file-system-access.ios.js +2 -2
- package/file-system/file-system-access.ios.js.map +1 -1
- package/globals/index.js +5 -3
- package/globals/index.js.map +1 -1
- package/image-source/index.android.d.ts +3 -2
- package/image-source/index.android.js +13 -6
- package/image-source/index.android.js.map +1 -1
- package/image-source/index.d.ts +5 -0
- package/image-source/index.ios.d.ts +3 -2
- package/image-source/index.ios.js +10 -3
- package/image-source/index.ios.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_tc-release.aar +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework → NSCWinterTC.xcframework}/Info.plist +22 -22
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework → 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/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- 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/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework}/Resources/Info.plist +10 -10
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A}/Resources/Info.plist +10 -10
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/Current/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- 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/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → 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/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework}/_CodeSignature/CodeResources +13 -13
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- 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/{NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework → 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/{NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- 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/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework → 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/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework}/_CodeSignature/CodeResources +13 -13
- 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/src/NativeScriptMainWindow.swift +24 -7
- package/platforms/ios/src/UIView+NativeScript.m +2 -4
- package/ui/action-bar/index.android.d.ts +1 -0
- package/ui/action-bar/index.android.js +3 -0
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/action-bar/index.d.ts +33 -0
- package/ui/action-bar/index.ios.d.ts +7 -2
- package/ui/action-bar/index.ios.js +120 -19
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/activity-indicator/index.d.ts +4 -0
- 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.d.ts +0 -13
- 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/button/index.android.d.ts +1 -1
- package/ui/button/index.android.js +17 -15
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.d.ts +6 -0
- package/ui/button/index.ios.js +8 -2
- package/ui/button/index.ios.js.map +1 -1
- package/ui/content-view/index.d.ts +9 -0
- package/ui/core/control-state-change/index.android.d.ts +2 -2
- package/ui/core/control-state-change/index.android.js +1 -1
- package/ui/core/control-state-change/index.android.js.map +1 -1
- package/ui/core/control-state-change/index.d.ts +4 -2
- package/ui/core/control-state-change/index.ios.d.ts +3 -7
- package/ui/core/control-state-change/index.ios.js +19 -36
- package/ui/core/control-state-change/index.ios.js.map +1 -1
- package/ui/core/view/index.android.d.ts +2 -7
- package/ui/core/view/index.android.js +3 -4
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +238 -14
- package/ui/core/view/index.ios.d.ts +3 -13
- package/ui/core/view/index.ios.js +16 -8
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +11 -15
- package/ui/core/view/view-common.js +23 -15
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view/view-helper/index.d.ts +3 -3
- package/ui/core/view/view-helper/index.ios.d.ts +3 -18
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/core/view-base/index.d.ts +107 -4
- package/ui/core/view-base/index.js +55 -7
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.d.ts +1 -0
- package/ui/date-picker/date-picker-common.js +1 -0
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.d.ts +30 -0
- package/ui/editable-text-base/editable-text-base-common.d.ts +1 -2
- package/ui/editable-text-base/editable-text-base-common.js +13 -7
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.d.ts +42 -0
- package/ui/frame/frame-common.d.ts +3 -2
- package/ui/frame/frame-common.js +6 -6
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/index.d.ts +40 -3
- package/ui/gestures/gestures-common.d.ts +22 -0
- package/ui/gestures/gestures-common.js +22 -0
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/gestures/index.android.d.ts +1 -1
- package/ui/gestures/index.android.js +0 -1
- package/ui/gestures/index.android.js.map +1 -1
- package/ui/gestures/index.ios.d.ts +1 -1
- package/ui/gestures/touch-manager.d.ts +1 -1
- package/ui/gestures/touch-manager.js +1 -2
- package/ui/gestures/touch-manager.js.map +1 -1
- package/ui/html-view/html-view-common.d.ts +1 -0
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.d.ts +16 -2
- package/ui/image/image-common.d.ts +2 -0
- package/ui/image/image-common.js +3 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +43 -1
- package/ui/index.d.ts +3 -1
- package/ui/index.js +1 -1
- package/ui/index.js.map +1 -1
- package/ui/label/index.d.ts +4 -0
- package/ui/layouts/absolute-layout/index.d.ts +2 -0
- package/ui/layouts/dock-layout/index.d.ts +5 -1
- package/ui/layouts/flexbox-layout/index.d.ts +32 -0
- package/ui/layouts/flexbox-layout/index.ios.js.map +1 -1
- package/ui/layouts/grid-layout/index.d.ts +19 -0
- package/ui/layouts/layout-base-common.d.ts +0 -1
- package/ui/layouts/layout-base-common.js +1 -8
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.d.ts +14 -0
- package/ui/layouts/root-layout/index.d.ts +3 -0
- package/ui/layouts/stack-layout/index.d.ts +3 -0
- package/ui/layouts/stack-layout/index.ios.js.map +1 -1
- package/ui/layouts/wrap-layout/index.d.ts +8 -0
- package/ui/list-picker/index.d.ts +12 -1
- package/ui/list-picker/list-picker-common.d.ts +1 -0
- package/ui/list-picker/list-picker-common.js +1 -0
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.d.ts +24 -0
- package/ui/page/index.d.ts +31 -2
- package/ui/placeholder/index.android.d.ts +1 -1
- package/ui/placeholder/index.d.ts +4 -0
- package/ui/progress/index.d.ts +13 -0
- package/ui/proxy-view-container/index.d.ts +2 -0
- package/ui/proxy-view-container/index.js +2 -0
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -0
- package/ui/repeater/index.js +2 -0
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.d.ts +10 -0
- package/ui/search-bar/index.d.ts +14 -0
- package/ui/search-bar/search-bar-common.js.map +1 -1
- package/ui/segmented-bar/index.d.ts +21 -5
- package/ui/slider/index.d.ts +27 -0
- package/ui/slider/slider-common.d.ts +1 -0
- package/ui/slider/slider-common.js +1 -0
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/background.d.ts +2 -0
- package/ui/styling/background.ios.d.ts +1 -15
- package/ui/styling/background.ios.js +52 -54
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/style/index.d.ts +3 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +1 -0
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/switch/index.d.ts +11 -0
- package/ui/switch/switch-common.js +4 -4
- package/ui/switch/switch-common.js.map +1 -1
- package/ui/tab-view/index.d.ts +43 -5
- package/ui/text-base/formatted-string.d.ts +24 -0
- package/ui/text-base/index.android.js +2 -11
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.d.ts +47 -0
- package/ui/text-base/span.d.ts +30 -0
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +6 -0
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.d.ts +13 -0
- package/ui/text-field/text-field-common.js.map +1 -1
- package/ui/text-view/index.android.d.ts +0 -1
- package/ui/text-view/index.android.js +0 -1
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.d.ts +11 -11
- package/ui/text-view/index.ios.d.ts +0 -3
- package/ui/text-view/index.ios.js +8 -64
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.d.ts +0 -26
- package/ui/text-view/text-view-common.js +0 -34
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/index.d.ts +27 -0
- package/ui/time-picker/time-picker-common.d.ts +1 -0
- package/ui/time-picker/time-picker-common.js +1 -0
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/utils.d.ts +1 -1
- package/ui/utils.ios.d.ts +1 -2
- package/ui/utils.ios.js.map +1 -1
- package/ui/web-view/index.d.ts +12 -0
- package/ui/web-view/web-view-common.d.ts +1 -1
- package/utils/index.android.d.ts +1 -0
- package/utils/index.android.js +16 -0
- package/utils/index.android.js.map +1 -1
- package/utils/index.d.ts +6 -0
- package/utils/index.ios.d.ts +1 -0
- package/utils/index.ios.js +22 -2
- package/utils/index.ios.js.map +1 -1
- package/utils/ios/index.js +4 -4
- package/utils/ios/index.js.map +1 -1
- package/utils/native-helper.ios.js +1 -0
- package/utils/native-helper.ios.js.map +1 -1
- package/wgc/atob.js +1 -1
- package/wgc/btoa.js +1 -1
- package/wgc/crypto/SubtleCrypto.js +8 -8
- package/wgc/crypto/index.d.ts +1 -1
- package/wgc/crypto/index.js +3 -2
- package/wgc/crypto/index.js.map +1 -1
- package/xml/index.js +1 -1
- package/xml/index.js.map +1 -1
- package/platforms/android/winter_cg-release.aar +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- 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/NSCWinterCG.h +0 -20
- 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/Versions/A/Headers/NSCWinterCG.h +0 -20
- 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/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/NSCWinterCG.h +0 -20
- 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/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/Modules/module.modulemap +0 -6
- 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/Modules/module.modulemap +0 -6
- 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/ui/core/view/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Property, InheritedProperty } from '../properties';
|
|
3
|
-
import { EventData } from '../../../data/observable';
|
|
1
|
+
import { AccessibilityEventOptions, AccessibilityLiveRegion, AccessibilityRole, AccessibilityState } from '../../../accessibility/accessibility-types';
|
|
4
2
|
import { Color } from '../../../color';
|
|
5
|
-
import { Animation, AnimationDefinition, AnimationPromise } from '../../animation';
|
|
6
|
-
import { GestureTypes, GesturesObserver } from '../../gestures';
|
|
7
|
-
import { LinearGradient } from '../../styling/linear-gradient';
|
|
8
|
-
import { AccessibilityLiveRegion, AccessibilityRole, AccessibilityState, AccessibilityTrait, AccessibilityEventOptions } from '../../../accessibility/accessibility-types';
|
|
9
3
|
import { CoreTypes } from '../../../core-types';
|
|
4
|
+
import { EventData } from '../../../data/observable';
|
|
5
|
+
import { Animation, AnimationDefinition, AnimationPromise } from '../../animation';
|
|
6
|
+
import { GestureTypes, GesturesObserver, TouchAnimationOptions, VisionHoverOptions } from '../../gestures';
|
|
10
7
|
import { ShadowCSSValues } from '../../styling/css-shadow';
|
|
8
|
+
import { LinearGradient } from '../../styling/linear-gradient';
|
|
9
|
+
import { InheritedProperty, Property } from '../properties';
|
|
10
|
+
import { ViewBase } from '../view-base';
|
|
11
11
|
import { ViewCommon } from './view-common';
|
|
12
12
|
|
|
13
13
|
export * from './view-common';
|
|
@@ -64,6 +64,13 @@ export interface Point {
|
|
|
64
64
|
z?: number;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
+
export interface Position {
|
|
68
|
+
top: number;
|
|
69
|
+
right: number;
|
|
70
|
+
bottom: number;
|
|
71
|
+
left: number;
|
|
72
|
+
}
|
|
73
|
+
|
|
67
74
|
/**
|
|
68
75
|
* The Size interface describes abstract dimensions in two dimensional space.
|
|
69
76
|
* It has two properties width and height, representing the width and height values of the size.
|
|
@@ -100,34 +107,48 @@ export interface ShownModallyData extends EventData {
|
|
|
100
107
|
/**
|
|
101
108
|
* This class is the base class for all UI components.
|
|
102
109
|
* A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within.
|
|
110
|
+
*
|
|
111
|
+
* @nsView View
|
|
103
112
|
*/
|
|
104
113
|
export abstract class View extends ViewCommon {
|
|
105
114
|
/**
|
|
106
115
|
* String value used when hooking to layoutChanged event.
|
|
116
|
+
*
|
|
117
|
+
* @nsEvent layoutChanged
|
|
107
118
|
*/
|
|
108
119
|
public static layoutChangedEvent: string;
|
|
109
120
|
/**
|
|
110
121
|
* String value used when hooking to showingModally event.
|
|
122
|
+
*
|
|
123
|
+
* @nsEvent {ShownModallyData} showingModally
|
|
111
124
|
*/
|
|
112
125
|
public static showingModallyEvent: string;
|
|
113
126
|
|
|
114
127
|
/**
|
|
115
128
|
* String value used when hooking to shownModally event.
|
|
129
|
+
*
|
|
130
|
+
* @nsEvent {ShownModallyData} shownModally
|
|
116
131
|
*/
|
|
117
132
|
public static shownModallyEvent: string;
|
|
118
133
|
|
|
119
134
|
/**
|
|
120
135
|
* String value used when hooking to accessibilityBlur event.
|
|
136
|
+
*
|
|
137
|
+
* @nsEvent accessibilityBlur
|
|
121
138
|
*/
|
|
122
139
|
public static accessibilityBlurEvent: string;
|
|
123
140
|
|
|
124
141
|
/**
|
|
125
142
|
* String value used when hooking to accessibilityFocus event.
|
|
143
|
+
*
|
|
144
|
+
* @nsEvent accessibilityFocus
|
|
126
145
|
*/
|
|
127
146
|
public static accessibilityFocusEvent: string;
|
|
128
147
|
|
|
129
148
|
/**
|
|
130
149
|
* String value used when hooking to accessibilityFocusChanged event.
|
|
150
|
+
*
|
|
151
|
+
* @nsEvent {EventDataValue} accessibilityFocusChanged
|
|
131
152
|
*/
|
|
132
153
|
public static accessibilityFocusChangedEvent: string;
|
|
133
154
|
|
|
@@ -145,91 +166,132 @@ export abstract class View extends ViewCommon {
|
|
|
145
166
|
|
|
146
167
|
/**
|
|
147
168
|
* Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified.
|
|
169
|
+
*
|
|
170
|
+
* @nsProperty
|
|
148
171
|
*/
|
|
149
172
|
bindingContext: any;
|
|
150
173
|
|
|
151
174
|
/**
|
|
152
175
|
* Gets or sets the border color of the view.
|
|
176
|
+
*
|
|
177
|
+
* @nsProperty
|
|
153
178
|
*/
|
|
154
179
|
borderColor: string | Color;
|
|
155
180
|
|
|
156
181
|
/**
|
|
157
182
|
* Gets or sets the top border color of the view.
|
|
183
|
+
*
|
|
184
|
+
* @nsProperty
|
|
158
185
|
*/
|
|
159
186
|
borderTopColor: Color;
|
|
160
187
|
|
|
161
188
|
/**
|
|
162
189
|
* Gets or sets the right border color of the view.
|
|
190
|
+
*
|
|
191
|
+
* @nsProperty
|
|
163
192
|
*/
|
|
164
193
|
borderRightColor: Color;
|
|
165
194
|
|
|
166
195
|
/**
|
|
167
196
|
* Gets or sets the bottom border color of the view.
|
|
197
|
+
*
|
|
198
|
+
* @nsProperty
|
|
168
199
|
*/
|
|
169
200
|
borderBottomColor: Color;
|
|
170
201
|
|
|
171
202
|
/**
|
|
172
203
|
* Gets or sets the left border color of the view.
|
|
204
|
+
*
|
|
205
|
+
* @nsProperty
|
|
173
206
|
*/
|
|
174
207
|
borderLeftColor: Color;
|
|
175
208
|
|
|
176
209
|
/**
|
|
177
210
|
* Gets or sets the border width of the view.
|
|
211
|
+
*
|
|
212
|
+
* @nsProperty
|
|
178
213
|
*/
|
|
179
214
|
borderWidth: string | CoreTypes.LengthType;
|
|
180
215
|
|
|
181
216
|
/**
|
|
182
217
|
* Gets or sets the top border width of the view.
|
|
218
|
+
*
|
|
219
|
+
* @nsProperty
|
|
183
220
|
*/
|
|
184
221
|
borderTopWidth: CoreTypes.LengthType;
|
|
185
222
|
|
|
186
223
|
/**
|
|
187
224
|
* Gets or sets the right border width of the view.
|
|
225
|
+
*
|
|
226
|
+
* @nsProperty
|
|
188
227
|
*/
|
|
189
228
|
borderRightWidth: CoreTypes.LengthType;
|
|
190
229
|
|
|
191
230
|
/**
|
|
192
231
|
* Gets or sets the bottom border width of the view.
|
|
232
|
+
*
|
|
233
|
+
* @nsProperty
|
|
193
234
|
*/
|
|
194
235
|
borderBottomWidth: CoreTypes.LengthType;
|
|
195
236
|
|
|
196
237
|
/**
|
|
197
238
|
* Gets or sets the left border width of the view.
|
|
239
|
+
*
|
|
240
|
+
* @nsProperty
|
|
198
241
|
*/
|
|
199
242
|
borderLeftWidth: CoreTypes.LengthType;
|
|
200
243
|
|
|
201
244
|
/**
|
|
202
245
|
* Gets or sets the border radius of the view.
|
|
246
|
+
*
|
|
247
|
+
* @nsProperty
|
|
203
248
|
*/
|
|
204
249
|
borderRadius: string | CoreTypes.LengthType;
|
|
205
250
|
|
|
206
251
|
/**
|
|
207
252
|
* Gets or sets the top left border radius of the view.
|
|
253
|
+
*
|
|
254
|
+
* @nsProperty
|
|
208
255
|
*/
|
|
209
256
|
borderTopLeftRadius: CoreTypes.LengthType;
|
|
210
257
|
|
|
211
258
|
/**
|
|
212
259
|
* Gets or sets the top right border radius of the view.
|
|
260
|
+
*
|
|
261
|
+
* @nsProperty
|
|
213
262
|
*/
|
|
214
263
|
borderTopRightRadius: CoreTypes.LengthType;
|
|
215
264
|
|
|
216
265
|
/**
|
|
217
266
|
* Gets or sets the bottom right border radius of the view.
|
|
267
|
+
*
|
|
268
|
+
* @nsProperty
|
|
218
269
|
*/
|
|
219
270
|
borderBottomRightRadius: CoreTypes.LengthType;
|
|
220
271
|
|
|
221
272
|
/**
|
|
222
273
|
* Gets or sets the bottom left border radius of the view.
|
|
274
|
+
*
|
|
275
|
+
* @nsProperty
|
|
223
276
|
*/
|
|
224
277
|
borderBottomLeftRadius: CoreTypes.LengthType;
|
|
225
278
|
|
|
226
279
|
/**
|
|
227
280
|
* Gets or sets the color of the view.
|
|
281
|
+
*
|
|
282
|
+
* @nsProperty
|
|
228
283
|
*/
|
|
229
284
|
color: Color;
|
|
230
285
|
|
|
286
|
+
/**
|
|
287
|
+
* If `true` the element is an accessibility element and all the children will be treated as a single selectable component.
|
|
288
|
+
*/
|
|
289
|
+
accessible: boolean;
|
|
290
|
+
|
|
231
291
|
/**
|
|
232
292
|
* Hide the view and its children from the a11y service
|
|
293
|
+
*
|
|
294
|
+
* @nsProperty
|
|
233
295
|
*/
|
|
234
296
|
accessibilityHidden: boolean;
|
|
235
297
|
|
|
@@ -237,58 +299,90 @@ export abstract class View extends ViewCommon {
|
|
|
237
299
|
* The view's unique accessibilityIdentifier.
|
|
238
300
|
*
|
|
239
301
|
* This is used for automated testing.
|
|
302
|
+
*
|
|
303
|
+
* @nsProperty
|
|
240
304
|
*/
|
|
241
305
|
accessibilityIdentifier: string;
|
|
242
306
|
|
|
243
307
|
/**
|
|
244
308
|
* Which role should this view be treated by the a11y service?
|
|
309
|
+
*
|
|
310
|
+
* @nsProperty
|
|
245
311
|
*/
|
|
246
312
|
accessibilityRole: AccessibilityRole;
|
|
247
313
|
|
|
248
314
|
/**
|
|
249
315
|
* Which state should this view be treated as by the a11y service?
|
|
316
|
+
*
|
|
317
|
+
* @nsProperty
|
|
318
|
+
*
|
|
250
319
|
*/
|
|
251
320
|
accessibilityState: AccessibilityState;
|
|
252
321
|
|
|
253
322
|
/**
|
|
254
323
|
* Short description of the element, ideally one word.
|
|
324
|
+
*
|
|
325
|
+
* @nsProperty
|
|
255
326
|
*/
|
|
256
327
|
accessibilityLabel: string;
|
|
257
328
|
|
|
258
329
|
/**
|
|
259
330
|
* Current value of the element in a localized string.
|
|
331
|
+
*
|
|
332
|
+
* @nsProperty
|
|
260
333
|
*/
|
|
261
334
|
accessibilityValue: string;
|
|
262
335
|
|
|
263
336
|
/**
|
|
264
337
|
* A hint describes the elements behavior. Example: 'Tap change playback speed'
|
|
338
|
+
*
|
|
339
|
+
* @nsProperty
|
|
265
340
|
*/
|
|
266
341
|
accessibilityHint: string;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property.
|
|
345
|
+
*/
|
|
267
346
|
accessibilityLiveRegion: AccessibilityLiveRegion;
|
|
268
347
|
|
|
269
348
|
/**
|
|
270
349
|
* Sets the language in which to speak the element's label and value.
|
|
271
350
|
* Accepts language ID tags that follows the "BCP 47" specification.
|
|
351
|
+
*
|
|
352
|
+
* @nsProperty
|
|
272
353
|
*/
|
|
273
354
|
accessibilityLanguage: string;
|
|
274
355
|
|
|
275
356
|
/**
|
|
276
357
|
* This view starts a media session. Equivalent to trait = startsMedia
|
|
358
|
+
*
|
|
359
|
+
* @nsProperty
|
|
277
360
|
*/
|
|
278
361
|
accessibilityMediaSession: boolean;
|
|
279
362
|
|
|
363
|
+
/**
|
|
364
|
+
* @nsProperty
|
|
365
|
+
*/
|
|
366
|
+
accessibilityIgnoresInvertColors: boolean;
|
|
367
|
+
|
|
280
368
|
/**
|
|
281
369
|
* Defines whether accessibility font scale should affect font size.
|
|
370
|
+
*
|
|
371
|
+
* @nsProperty
|
|
282
372
|
*/
|
|
283
373
|
iosAccessibilityAdjustsFontSize: boolean;
|
|
284
374
|
|
|
285
375
|
/**
|
|
286
376
|
* Gets or sets the minimum accessibility font scale.
|
|
377
|
+
*
|
|
378
|
+
* @nsProperty
|
|
287
379
|
*/
|
|
288
380
|
iosAccessibilityMinFontScale: number;
|
|
289
381
|
|
|
290
382
|
/**
|
|
291
383
|
* Gets or sets the maximum accessibility font scale.
|
|
384
|
+
*
|
|
385
|
+
* @nsProperty
|
|
292
386
|
*/
|
|
293
387
|
iosAccessibilityMaxFontScale: number;
|
|
294
388
|
|
|
@@ -297,141 +391,199 @@ export abstract class View extends ViewCommon {
|
|
|
297
391
|
*/
|
|
298
392
|
_androidContentDescriptionUpdated?: boolean;
|
|
299
393
|
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @nsProperty
|
|
397
|
+
*/
|
|
300
398
|
automationText: string;
|
|
301
399
|
|
|
302
400
|
/**
|
|
303
401
|
* Gets or sets the elevation of the android view.
|
|
402
|
+
*
|
|
403
|
+
* @nsProperty
|
|
304
404
|
*/
|
|
305
405
|
androidElevation: number;
|
|
306
406
|
|
|
307
407
|
/**
|
|
308
408
|
* Gets or sets the dynamic elevation offset of the android view.
|
|
409
|
+
*
|
|
410
|
+
* @nsProperty
|
|
309
411
|
*/
|
|
310
412
|
androidDynamicElevationOffset: number;
|
|
311
413
|
|
|
312
414
|
/**
|
|
313
415
|
* Gets or sets the background style property.
|
|
416
|
+
*
|
|
417
|
+
* @nsProperty
|
|
314
418
|
*/
|
|
315
419
|
background: string;
|
|
316
420
|
|
|
317
421
|
/**
|
|
318
422
|
* Gets or sets the background color of the view.
|
|
423
|
+
*
|
|
424
|
+
* @nsProperty
|
|
319
425
|
*/
|
|
320
426
|
backgroundColor: string | Color;
|
|
321
427
|
|
|
322
428
|
/**
|
|
323
429
|
* Gets or sets the background image of the view.
|
|
430
|
+
*
|
|
431
|
+
* @nsProperty
|
|
324
432
|
*/
|
|
325
433
|
backgroundImage: string | LinearGradient;
|
|
326
434
|
|
|
327
435
|
/**
|
|
328
436
|
* Gets or sets the box shadow of the view.
|
|
437
|
+
*
|
|
438
|
+
* @nsProperty
|
|
329
439
|
*/
|
|
330
440
|
boxShadow: string | ShadowCSSValues;
|
|
331
441
|
|
|
332
442
|
/**
|
|
333
443
|
* Gets or sets the minimum width the view may grow to.
|
|
444
|
+
*
|
|
445
|
+
* @nsProperty
|
|
334
446
|
*/
|
|
335
447
|
minWidth: CoreTypes.LengthType;
|
|
336
448
|
|
|
337
449
|
/**
|
|
338
450
|
* Gets or sets the minimum height the view may grow to.
|
|
451
|
+
*
|
|
452
|
+
* @nsProperty
|
|
339
453
|
*/
|
|
340
454
|
minHeight: CoreTypes.LengthType;
|
|
341
455
|
|
|
342
456
|
/**
|
|
343
457
|
* Gets or sets the desired width of the view.
|
|
458
|
+
*
|
|
459
|
+
* @nsProperty
|
|
344
460
|
*/
|
|
345
461
|
width: CoreTypes.PercentLengthType;
|
|
346
462
|
|
|
347
463
|
/**
|
|
348
464
|
* Gets or sets the desired height of the view.
|
|
465
|
+
*
|
|
466
|
+
* @nsProperty
|
|
349
467
|
*/
|
|
350
468
|
height: CoreTypes.PercentLengthType;
|
|
351
469
|
|
|
352
470
|
/**
|
|
353
471
|
* Gets or sets margin style property.
|
|
472
|
+
*
|
|
473
|
+
* @nsProperty
|
|
354
474
|
*/
|
|
355
475
|
margin: string | CoreTypes.PercentLengthType;
|
|
356
476
|
|
|
357
477
|
/**
|
|
358
478
|
* Specifies extra space on the left side of this view.
|
|
479
|
+
*
|
|
480
|
+
* @nsProperty
|
|
359
481
|
*/
|
|
360
482
|
marginLeft: CoreTypes.PercentLengthType;
|
|
361
483
|
|
|
362
484
|
/**
|
|
363
485
|
* Specifies extra space on the top side of this view.
|
|
486
|
+
*
|
|
487
|
+
* @nsProperty
|
|
364
488
|
*/
|
|
365
489
|
marginTop: CoreTypes.PercentLengthType;
|
|
366
490
|
|
|
367
491
|
/**
|
|
368
492
|
* Specifies extra space on the right side of this view.
|
|
493
|
+
*
|
|
494
|
+
* @nsProperty
|
|
369
495
|
*/
|
|
370
496
|
marginRight: CoreTypes.PercentLengthType;
|
|
371
497
|
|
|
372
498
|
/**
|
|
373
499
|
* Specifies extra space on the bottom side of this view.
|
|
500
|
+
*
|
|
501
|
+
* @nsProperty
|
|
374
502
|
*/
|
|
375
503
|
marginBottom: CoreTypes.PercentLengthType;
|
|
376
504
|
|
|
377
505
|
/**
|
|
378
506
|
* Gets or sets the alignment of this view within its parent along the Horizontal axis.
|
|
507
|
+
*
|
|
508
|
+
* @nsProperty
|
|
379
509
|
*/
|
|
380
510
|
horizontalAlignment: CoreTypes.HorizontalAlignmentType;
|
|
381
511
|
|
|
382
512
|
/**
|
|
383
513
|
* Gets or sets the alignment of this view within its parent along the Vertical axis.
|
|
514
|
+
*
|
|
515
|
+
* @nsProperty
|
|
384
516
|
*/
|
|
385
517
|
verticalAlignment: CoreTypes.VerticalAlignmentType;
|
|
386
518
|
|
|
387
519
|
/**
|
|
388
520
|
* Gets or sets the visibility of the view.
|
|
521
|
+
*
|
|
522
|
+
* @nsProperty
|
|
389
523
|
*/
|
|
390
524
|
visibility: CoreTypes.VisibilityType;
|
|
391
525
|
|
|
392
526
|
/**
|
|
393
527
|
* Gets or sets the opacity style property.
|
|
528
|
+
*
|
|
529
|
+
* @nsProperty
|
|
394
530
|
*/
|
|
395
531
|
opacity: number;
|
|
396
532
|
|
|
397
533
|
/**
|
|
398
534
|
* Gets or sets the rotate affine transform of the view along the Z axis.
|
|
535
|
+
*
|
|
536
|
+
* @nsProperty
|
|
399
537
|
*/
|
|
400
538
|
rotate: number;
|
|
401
539
|
|
|
402
540
|
/**
|
|
403
541
|
* Gets or sets the rotate affine transform of the view along the X axis.
|
|
542
|
+
*
|
|
543
|
+
* @nsProperty
|
|
404
544
|
*/
|
|
405
545
|
rotateX: number;
|
|
406
546
|
|
|
407
547
|
/**
|
|
408
548
|
* Gets or sets the rotate affine transform of the view along the Y axis.
|
|
549
|
+
*
|
|
550
|
+
* @nsProperty
|
|
409
551
|
*/
|
|
410
552
|
rotateY: number;
|
|
411
553
|
|
|
412
554
|
/**
|
|
413
555
|
* Gets or sets the distance of the camera form the view perspective.
|
|
414
556
|
* Usually needed when rotating the view over the X or Y axis.
|
|
557
|
+
*
|
|
558
|
+
* @nsProperty
|
|
415
559
|
*/
|
|
416
560
|
perspective: number;
|
|
417
561
|
|
|
418
562
|
/**
|
|
419
563
|
* Gets or sets the translateX affine transform of the view in device independent pixels.
|
|
564
|
+
*
|
|
565
|
+
* @nsProperty
|
|
420
566
|
*/
|
|
421
567
|
translateX: CoreTypes.dip;
|
|
422
568
|
|
|
423
569
|
/**
|
|
424
570
|
* Gets or sets the translateY affine transform of the view in device independent pixels.
|
|
571
|
+
*
|
|
572
|
+
* @nsProperty
|
|
425
573
|
*/
|
|
426
574
|
translateY: CoreTypes.dip;
|
|
427
575
|
|
|
428
576
|
/**
|
|
429
577
|
* Gets or sets the scaleX affine transform of the view.
|
|
578
|
+
*
|
|
579
|
+
* @nsProperty
|
|
430
580
|
*/
|
|
431
581
|
scaleX: number;
|
|
432
582
|
|
|
433
583
|
/**
|
|
434
584
|
* Gets or sets the scaleY affine transform of the view.
|
|
585
|
+
*
|
|
586
|
+
* @nsProperty
|
|
435
587
|
*/
|
|
436
588
|
scaleY: number;
|
|
437
589
|
|
|
@@ -439,39 +591,95 @@ export abstract class View extends ViewCommon {
|
|
|
439
591
|
|
|
440
592
|
/**
|
|
441
593
|
* Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
|
|
594
|
+
*
|
|
595
|
+
* @nsProperty
|
|
442
596
|
*/
|
|
443
597
|
originX: number;
|
|
444
598
|
|
|
445
599
|
/**
|
|
446
600
|
* Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
|
|
601
|
+
*
|
|
602
|
+
* @nsProperty
|
|
447
603
|
*/
|
|
448
604
|
originY: number;
|
|
449
605
|
|
|
606
|
+
/**
|
|
607
|
+
* The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
|
|
608
|
+
* @nsProperty
|
|
609
|
+
*/
|
|
610
|
+
flexFlow: FlexFlow;
|
|
611
|
+
/**
|
|
612
|
+
* The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
|
|
613
|
+
* @nsProperty
|
|
614
|
+
*/
|
|
615
|
+
flex: Flex;
|
|
616
|
+
|
|
450
617
|
/**
|
|
451
618
|
* Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view.
|
|
619
|
+
*
|
|
620
|
+
* @nsProperty
|
|
452
621
|
*/
|
|
453
622
|
isEnabled: boolean;
|
|
454
623
|
|
|
455
624
|
/**
|
|
456
625
|
* Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view.
|
|
626
|
+
*
|
|
627
|
+
* @nsProperty
|
|
457
628
|
*/
|
|
458
629
|
isUserInteractionEnabled: boolean;
|
|
459
630
|
|
|
460
631
|
/**
|
|
461
632
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false
|
|
633
|
+
*
|
|
634
|
+
* @nsProperty
|
|
462
635
|
*/
|
|
463
636
|
iosOverflowSafeArea: boolean;
|
|
464
637
|
|
|
465
638
|
/**
|
|
466
639
|
* Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true
|
|
640
|
+
*
|
|
641
|
+
* @nsProperty
|
|
467
642
|
*/
|
|
468
643
|
iosOverflowSafeAreaEnabled: boolean;
|
|
469
644
|
|
|
470
645
|
/**
|
|
471
646
|
* Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false
|
|
647
|
+
*
|
|
648
|
+
* @nsProperty
|
|
472
649
|
*/
|
|
473
650
|
iosIgnoreSafeArea: boolean;
|
|
474
651
|
|
|
652
|
+
/**
|
|
653
|
+
* visionOS only
|
|
654
|
+
*
|
|
655
|
+
* @nsProperty
|
|
656
|
+
*/
|
|
657
|
+
visionIgnoreHoverStyle: boolean;
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* visionOS only
|
|
661
|
+
*
|
|
662
|
+
* @nsProperty
|
|
663
|
+
*/
|
|
664
|
+
visionHoverStyle: string | VisionHoverOptions;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* @nsProperty
|
|
668
|
+
*/
|
|
669
|
+
public testID: string;
|
|
670
|
+
/**
|
|
671
|
+
* @nsProperty
|
|
672
|
+
*/
|
|
673
|
+
public touchAnimation: boolean | TouchAnimationOptions;
|
|
674
|
+
/**
|
|
675
|
+
* @nsProperty
|
|
676
|
+
*/
|
|
677
|
+
public ignoreTouchAnimation: boolean;
|
|
678
|
+
/**
|
|
679
|
+
* @nsProperty
|
|
680
|
+
*/
|
|
681
|
+
public touchDelay: number;
|
|
682
|
+
|
|
475
683
|
/**
|
|
476
684
|
* Gets is layout is valid. This is a read-only property.
|
|
477
685
|
*/
|
|
@@ -656,7 +864,7 @@ export abstract class View extends ViewCommon {
|
|
|
656
864
|
/**
|
|
657
865
|
* Returns the iOS safe area insets of this view.
|
|
658
866
|
*/
|
|
659
|
-
public getSafeAreaInsets():
|
|
867
|
+
public getSafeAreaInsets(): Position;
|
|
660
868
|
|
|
661
869
|
/**
|
|
662
870
|
* Returns the location of this view in the window coordinate system.
|
|
@@ -781,6 +989,10 @@ export abstract class View extends ViewCommon {
|
|
|
781
989
|
* @private
|
|
782
990
|
*/
|
|
783
991
|
isLayoutRequired: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* @private
|
|
994
|
+
*/
|
|
995
|
+
get needsNativeDrawableFill(): boolean;
|
|
784
996
|
/**
|
|
785
997
|
* @private
|
|
786
998
|
*/
|
|
@@ -808,15 +1020,19 @@ export abstract class View extends ViewCommon {
|
|
|
808
1020
|
* Return view bounds.
|
|
809
1021
|
* @private
|
|
810
1022
|
*/
|
|
811
|
-
_getCurrentLayoutBounds():
|
|
812
|
-
left: number;
|
|
813
|
-
top: number;
|
|
814
|
-
right: number;
|
|
815
|
-
bottom: number;
|
|
816
|
-
};
|
|
1023
|
+
_getCurrentLayoutBounds(): Position;
|
|
817
1024
|
/**
|
|
818
1025
|
* @private
|
|
819
1026
|
*/
|
|
1027
|
+
_addVisualState(state: string): void;
|
|
1028
|
+
/**
|
|
1029
|
+
* @private
|
|
1030
|
+
*/
|
|
1031
|
+
_removeVisualState(state: string): void;
|
|
1032
|
+
/**
|
|
1033
|
+
* @deprecated Use View.addPseudoClass() and View.deletePseudoClass() instead.
|
|
1034
|
+
* @private
|
|
1035
|
+
*/
|
|
820
1036
|
_goToVisualState(state: string);
|
|
821
1037
|
/**
|
|
822
1038
|
* @private
|
|
@@ -908,6 +1124,8 @@ export abstract class View extends ViewCommon {
|
|
|
908
1124
|
export class ContainerView extends View {
|
|
909
1125
|
/**
|
|
910
1126
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true
|
|
1127
|
+
*
|
|
1128
|
+
* @nsProperty
|
|
911
1129
|
*/
|
|
912
1130
|
public iosOverflowSafeArea: boolean;
|
|
913
1131
|
}
|
|
@@ -990,3 +1208,9 @@ export const isEnabledProperty: Property<View, boolean>;
|
|
|
990
1208
|
export const isUserInteractionEnabledProperty: Property<View, boolean>;
|
|
991
1209
|
export const iosOverflowSafeAreaProperty: Property<View, boolean>;
|
|
992
1210
|
export const iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>;
|
|
1211
|
+
export const visionHoverStyleProperty: Property<View, string | VisionHoverOptions>;
|
|
1212
|
+
export const visionIgnoreHoverStyleProperty: Property<View, boolean>;
|
|
1213
|
+
export const touchAnimationProperty: Property<View, boolean | TouchAnimationOptions>;
|
|
1214
|
+
export const ignoreTouchAnimationProperty: Property<View, boolean>;
|
|
1215
|
+
export const touchDelayProperty: Property<View, number>;
|
|
1216
|
+
export const testIDProperty: Property<View, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Point, View as ViewDefinition } from '.';
|
|
1
|
+
import { Point, Position, View as ViewDefinition } from '.';
|
|
2
2
|
import { ViewCommon } from './view-common';
|
|
3
3
|
import { ShowModalOptions } from '../view-base';
|
|
4
4
|
import { Background } from '../../styling/background';
|
|
@@ -47,12 +47,7 @@ export declare class View extends ViewCommon implements ViewDefinition {
|
|
|
47
47
|
_setLayoutFlags(left: number, top: number, right: number, bottom: number): void;
|
|
48
48
|
focus(): boolean;
|
|
49
49
|
protected applySafeAreaInsets(frame: CGRect): CGRect;
|
|
50
|
-
getSafeAreaInsets():
|
|
51
|
-
left: any;
|
|
52
|
-
top: any;
|
|
53
|
-
right: any;
|
|
54
|
-
bottom: any;
|
|
55
|
-
};
|
|
50
|
+
getSafeAreaInsets(): Position;
|
|
56
51
|
getLocationInWindow(): Point;
|
|
57
52
|
getLocationOnScreen(): Point;
|
|
58
53
|
getLocationRelativeTo(otherView: ViewDefinition): Point;
|
|
@@ -68,12 +63,7 @@ export declare class View extends ViewCommon implements ViewDefinition {
|
|
|
68
63
|
sendAccessibilityEvent(options: Partial<AccessibilityEventOptions>): void;
|
|
69
64
|
accessibilityAnnouncement(msg?: string): void;
|
|
70
65
|
accessibilityScreenChanged(): void;
|
|
71
|
-
_getCurrentLayoutBounds():
|
|
72
|
-
left: number;
|
|
73
|
-
top: number;
|
|
74
|
-
right: number;
|
|
75
|
-
bottom: number;
|
|
76
|
-
};
|
|
66
|
+
_getCurrentLayoutBounds(): Position;
|
|
77
67
|
_redrawNativeBackground(value: UIColor | Background): void;
|
|
78
68
|
_setNativeClipToBounds(): void;
|
|
79
69
|
private _setupPopoverControllerDelegate;
|