@akylas/nativescript 8.8.9 → 8.8.11
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/application/application-interfaces.d.ts +1 -1
- package/config/config.interface.d.ts +9 -4
- package/core-types/index.d.ts +5 -4
- 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 +2 -1
- package/data/observable/index.js +1 -0
- package/data/observable/index.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 -2
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/platform/common.d.ts +1 -0
- package/platform/common.js +1 -0
- package/platform/common.js.map +1 -1
- package/platforms/android/widgets-release.aar +0 -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 +124 -24
- 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 +20 -4
- 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 +1 -14
- package/ui/animation/index.ios.d.ts +2 -2
- package/ui/animation/index.ios.js +18 -34
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/builder/index.d.ts +1 -0
- package/ui/builder/index.js +1 -0
- package/ui/builder/index.js.map +1 -1
- package/ui/builder/xml2ui.js +4 -3
- package/ui/builder/xml2ui.js.map +1 -1
- package/ui/button/index.android.d.ts +1 -1
- package/ui/button/index.android.js +18 -15
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.d.ts +11 -0
- package/ui/button/index.ios.d.ts +2 -2
- package/ui/button/index.ios.js +28 -7
- package/ui/button/index.ios.js.map +1 -1
- 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 +18 -36
- package/ui/core/control-state-change/index.ios.js.map +1 -1
- package/ui/core/properties/index.js +6 -1
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/view/index.android.d.ts +3 -9
- package/ui/core/view/index.android.js +7 -5
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +239 -15
- package/ui/core/view/index.ios.d.ts +4 -15
- package/ui/core/view/index.ios.js +22 -21
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +12 -16
- package/ui/core/view/view-common.js +36 -27
- 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 +14 -18
- package/ui/core/view/view-helper/index.ios.js +21 -6
- 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 +57 -9
- 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/date-picker/index.ios.js +3 -3
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/editable-text-base/editable-text-base-common.d.ts +2 -3
- package/ui/editable-text-base/editable-text-base-common.js +21 -8
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.android.d.ts +1 -1
- package/ui/editable-text-base/index.android.js +2 -0
- package/ui/editable-text-base/index.android.js.map +1 -1
- package/ui/editable-text-base/index.d.ts +42 -0
- package/ui/frame/fragment.transitions.android.js +2 -3
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/frame-common.d.ts +7 -4
- package/ui/frame/frame-common.js +39 -14
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/index.android.d.ts +1 -0
- package/ui/frame/index.android.js +12 -15
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +46 -5
- package/ui/frame/index.ios.js +13 -0
- package/ui/frame/index.ios.js.map +1 -1
- 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.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/html-view/index.ios.js +1 -1
- package/ui/html-view/index.ios.js.map +1 -1
- package/ui/image/image-common.d.ts +2 -0
- package/ui/image/image-common.js +5 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +43 -1
- package/ui/index.d.ts +2 -0
- package/ui/index.js.map +1 -1
- package/ui/label/index.d.ts +4 -0
- package/ui/label/index.ios.d.ts +2 -0
- package/ui/label/index.ios.js +5 -1
- package/ui/label/index.ios.js.map +1 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.js +4 -2
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -1
- 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 +14 -5
- package/ui/layouts/index.d.ts +1 -1
- package/ui/layouts/index.js +1 -1
- package/ui/layouts/index.js.map +1 -1
- package/ui/layouts/layout-base-common.d.ts +1 -1
- package/ui/layouts/layout-base-common.js +12 -9
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.d.ts +15 -1
- package/ui/layouts/layout-base.ios.d.ts +1 -1
- package/ui/layouts/layout-base.ios.js +5 -2
- package/ui/layouts/layout-base.ios.js.map +1 -1
- package/ui/layouts/root-layout/index.android.d.ts +1 -2
- package/ui/layouts/root-layout/index.android.js +12 -12
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/root-layout/index.d.ts +4 -0
- package/ui/layouts/root-layout/index.ios.d.ts +2 -1
- package/ui/layouts/root-layout/index.ios.js +7 -2
- package/ui/layouts/root-layout/index.ios.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.d.ts +12 -5
- package/ui/layouts/root-layout/root-layout-common.js +78 -50
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-stack.d.ts +5 -0
- package/ui/layouts/root-layout/root-layout-stack.js +19 -0
- package/ui/layouts/root-layout/root-layout-stack.js.map +1 -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/layouts/wrap-layout/wrap-layout-common.js +4 -2
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -1
- 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/list-view/index.ios.js +1 -1
- package/ui/list-view/index.ios.js.map +1 -1
- package/ui/list-view/list-view-common.js +2 -1
- package/ui/list-view/list-view-common.js.map +1 -1
- package/ui/page/index.d.ts +31 -2
- package/ui/page/index.ios.js +2 -7
- package/ui/page/index.ios.js.map +1 -1
- package/ui/placeholder/index.android.d.ts +1 -1
- 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.android.d.ts +0 -1
- package/ui/scroll-view/index.android.js.map +1 -1
- package/ui/scroll-view/index.d.ts +10 -0
- package/ui/search-bar/index.android.js +7 -1
- package/ui/search-bar/index.android.js.map +1 -1
- package/ui/search-bar/index.d.ts +14 -0
- package/ui/search-bar/index.ios.d.ts +2 -2
- package/ui/search-bar/index.ios.js +15 -14
- package/ui/search-bar/index.ios.js.map +1 -1
- 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-common.d.ts +3 -3
- package/ui/styling/background-common.js +15 -8
- package/ui/styling/background-common.js.map +1 -1
- package/ui/styling/background.android.js +2 -1
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/background.d.ts +11 -8
- package/ui/styling/background.ios.d.ts +1 -15
- package/ui/styling/background.ios.js +75 -72
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/clip-path-function.d.ts +16 -0
- package/ui/styling/clip-path-function.js +25 -0
- package/ui/styling/clip-path-function.js.map +1 -0
- package/ui/styling/css-animation-parser.js +1 -1
- package/ui/styling/css-animation-parser.js.map +1 -1
- package/ui/styling/css-transform.d.ts +2 -0
- package/ui/styling/css-transform.js +110 -0
- package/ui/styling/css-transform.js.map +1 -0
- package/ui/styling/font-common.d.ts +2 -0
- package/ui/styling/font-common.js +9 -7
- package/ui/styling/font-common.js.map +1 -1
- package/ui/styling/font.android.d.ts +1 -1
- package/ui/styling/font.android.js +83 -21
- package/ui/styling/font.android.js.map +1 -1
- package/ui/styling/font.d.ts +3 -0
- package/ui/styling/font.ios.d.ts +1 -1
- package/ui/styling/font.ios.js +5 -7
- package/ui/styling/font.ios.js.map +1 -1
- package/ui/styling/style/index.d.ts +5 -2
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +16 -5
- package/ui/styling/style-properties.js +238 -369
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/styling/style-scope.js +2 -2
- package/ui/styling/style-scope.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/index.android.d.ts +9 -2
- package/ui/text-base/index.android.js +65 -44
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.d.ts +53 -0
- package/ui/text-base/index.ios.d.ts +4 -2
- package/ui/text-base/index.ios.js +31 -13
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +7 -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/index.ios.d.ts +1 -1
- package/ui/text-field/index.ios.js +5 -4
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/text-field/text-field-common.js.map +1 -1
- package/ui/text-view/index.d.ts +11 -0
- package/ui/text-view/index.ios.d.ts +1 -1
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.d.ts +0 -1
- package/ui/time-picker/index.d.ts +27 -0
- package/ui/time-picker/index.ios.js +3 -3
- package/ui/time-picker/index.ios.js.map +1 -1
- 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/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/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/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
|
|
|
@@ -302,141 +396,199 @@ export abstract class View extends ViewCommon {
|
|
|
302
396
|
*/
|
|
303
397
|
_hasDefaultAccessibilityContentDescription?: boolean;
|
|
304
398
|
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @nsProperty
|
|
402
|
+
*/
|
|
305
403
|
automationText: string;
|
|
306
404
|
|
|
307
405
|
/**
|
|
308
406
|
* Gets or sets the elevation of the android view.
|
|
407
|
+
*
|
|
408
|
+
* @nsProperty
|
|
309
409
|
*/
|
|
310
410
|
androidElevation: number;
|
|
311
411
|
|
|
312
412
|
/**
|
|
313
413
|
* Gets or sets the dynamic elevation offset of the android view.
|
|
414
|
+
*
|
|
415
|
+
* @nsProperty
|
|
314
416
|
*/
|
|
315
417
|
androidDynamicElevationOffset: number;
|
|
316
418
|
|
|
317
419
|
/**
|
|
318
420
|
* Gets or sets the background style property.
|
|
421
|
+
*
|
|
422
|
+
* @nsProperty
|
|
319
423
|
*/
|
|
320
424
|
background: string;
|
|
321
425
|
|
|
322
426
|
/**
|
|
323
427
|
* Gets or sets the background color of the view.
|
|
428
|
+
*
|
|
429
|
+
* @nsProperty
|
|
324
430
|
*/
|
|
325
431
|
backgroundColor: string | Color;
|
|
326
432
|
|
|
327
433
|
/**
|
|
328
434
|
* Gets or sets the background image of the view.
|
|
435
|
+
*
|
|
436
|
+
* @nsProperty
|
|
329
437
|
*/
|
|
330
438
|
backgroundImage: string | LinearGradient;
|
|
331
439
|
|
|
332
440
|
/**
|
|
333
441
|
* Gets or sets the box shadow of the view.
|
|
442
|
+
*
|
|
443
|
+
* @nsProperty
|
|
334
444
|
*/
|
|
335
445
|
boxShadow: string | ShadowCSSValues;
|
|
336
446
|
|
|
337
447
|
/**
|
|
338
448
|
* Gets or sets the minimum width the view may grow to.
|
|
449
|
+
*
|
|
450
|
+
* @nsProperty
|
|
339
451
|
*/
|
|
340
452
|
minWidth: CoreTypes.LengthType;
|
|
341
453
|
|
|
342
454
|
/**
|
|
343
455
|
* Gets or sets the minimum height the view may grow to.
|
|
456
|
+
*
|
|
457
|
+
* @nsProperty
|
|
344
458
|
*/
|
|
345
459
|
minHeight: CoreTypes.LengthType;
|
|
346
460
|
|
|
347
461
|
/**
|
|
348
462
|
* Gets or sets the desired width of the view.
|
|
463
|
+
*
|
|
464
|
+
* @nsProperty
|
|
349
465
|
*/
|
|
350
466
|
width: CoreTypes.PercentLengthType;
|
|
351
467
|
|
|
352
468
|
/**
|
|
353
469
|
* Gets or sets the desired height of the view.
|
|
470
|
+
*
|
|
471
|
+
* @nsProperty
|
|
354
472
|
*/
|
|
355
473
|
height: CoreTypes.PercentLengthType;
|
|
356
474
|
|
|
357
475
|
/**
|
|
358
476
|
* Gets or sets margin style property.
|
|
477
|
+
*
|
|
478
|
+
* @nsProperty
|
|
359
479
|
*/
|
|
360
480
|
margin: string | CoreTypes.PercentLengthType;
|
|
361
481
|
|
|
362
482
|
/**
|
|
363
483
|
* Specifies extra space on the left side of this view.
|
|
484
|
+
*
|
|
485
|
+
* @nsProperty
|
|
364
486
|
*/
|
|
365
487
|
marginLeft: CoreTypes.PercentLengthType;
|
|
366
488
|
|
|
367
489
|
/**
|
|
368
490
|
* Specifies extra space on the top side of this view.
|
|
491
|
+
*
|
|
492
|
+
* @nsProperty
|
|
369
493
|
*/
|
|
370
494
|
marginTop: CoreTypes.PercentLengthType;
|
|
371
495
|
|
|
372
496
|
/**
|
|
373
497
|
* Specifies extra space on the right side of this view.
|
|
498
|
+
*
|
|
499
|
+
* @nsProperty
|
|
374
500
|
*/
|
|
375
501
|
marginRight: CoreTypes.PercentLengthType;
|
|
376
502
|
|
|
377
503
|
/**
|
|
378
504
|
* Specifies extra space on the bottom side of this view.
|
|
505
|
+
*
|
|
506
|
+
* @nsProperty
|
|
379
507
|
*/
|
|
380
508
|
marginBottom: CoreTypes.PercentLengthType;
|
|
381
509
|
|
|
382
510
|
/**
|
|
383
511
|
* Gets or sets the alignment of this view within its parent along the Horizontal axis.
|
|
512
|
+
*
|
|
513
|
+
* @nsProperty
|
|
384
514
|
*/
|
|
385
515
|
horizontalAlignment: CoreTypes.HorizontalAlignmentType;
|
|
386
516
|
|
|
387
517
|
/**
|
|
388
518
|
* Gets or sets the alignment of this view within its parent along the Vertical axis.
|
|
519
|
+
*
|
|
520
|
+
* @nsProperty
|
|
389
521
|
*/
|
|
390
522
|
verticalAlignment: CoreTypes.VerticalAlignmentType;
|
|
391
523
|
|
|
392
524
|
/**
|
|
393
525
|
* Gets or sets the visibility of the view.
|
|
526
|
+
*
|
|
527
|
+
* @nsProperty
|
|
394
528
|
*/
|
|
395
529
|
visibility: CoreTypes.VisibilityType;
|
|
396
530
|
|
|
397
531
|
/**
|
|
398
532
|
* Gets or sets the opacity style property.
|
|
533
|
+
*
|
|
534
|
+
* @nsProperty
|
|
399
535
|
*/
|
|
400
536
|
opacity: number;
|
|
401
537
|
|
|
402
538
|
/**
|
|
403
539
|
* Gets or sets the rotate affine transform of the view along the Z axis.
|
|
540
|
+
*
|
|
541
|
+
* @nsProperty
|
|
404
542
|
*/
|
|
405
543
|
rotate: number;
|
|
406
544
|
|
|
407
545
|
/**
|
|
408
546
|
* Gets or sets the rotate affine transform of the view along the X axis.
|
|
547
|
+
*
|
|
548
|
+
* @nsProperty
|
|
409
549
|
*/
|
|
410
550
|
rotateX: number;
|
|
411
551
|
|
|
412
552
|
/**
|
|
413
553
|
* Gets or sets the rotate affine transform of the view along the Y axis.
|
|
554
|
+
*
|
|
555
|
+
* @nsProperty
|
|
414
556
|
*/
|
|
415
557
|
rotateY: number;
|
|
416
558
|
|
|
417
559
|
/**
|
|
418
560
|
* Gets or sets the distance of the camera form the view perspective.
|
|
419
561
|
* Usually needed when rotating the view over the X or Y axis.
|
|
562
|
+
*
|
|
563
|
+
* @nsProperty
|
|
420
564
|
*/
|
|
421
565
|
perspective: number;
|
|
422
566
|
|
|
423
567
|
/**
|
|
424
568
|
* Gets or sets the translateX affine transform of the view in device independent pixels.
|
|
569
|
+
*
|
|
570
|
+
* @nsProperty
|
|
425
571
|
*/
|
|
426
572
|
translateX: CoreTypes.dip;
|
|
427
573
|
|
|
428
574
|
/**
|
|
429
575
|
* Gets or sets the translateY affine transform of the view in device independent pixels.
|
|
576
|
+
*
|
|
577
|
+
* @nsProperty
|
|
430
578
|
*/
|
|
431
579
|
translateY: CoreTypes.dip;
|
|
432
580
|
|
|
433
581
|
/**
|
|
434
582
|
* Gets or sets the scaleX affine transform of the view.
|
|
583
|
+
*
|
|
584
|
+
* @nsProperty
|
|
435
585
|
*/
|
|
436
586
|
scaleX: number;
|
|
437
587
|
|
|
438
588
|
/**
|
|
439
589
|
* Gets or sets the scaleY affine transform of the view.
|
|
590
|
+
*
|
|
591
|
+
* @nsProperty
|
|
440
592
|
*/
|
|
441
593
|
scaleY: number;
|
|
442
594
|
|
|
@@ -444,39 +596,95 @@ export abstract class View extends ViewCommon {
|
|
|
444
596
|
|
|
445
597
|
/**
|
|
446
598
|
* 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.
|
|
599
|
+
*
|
|
600
|
+
* @nsProperty
|
|
447
601
|
*/
|
|
448
602
|
originX: number;
|
|
449
603
|
|
|
450
604
|
/**
|
|
451
605
|
* 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.
|
|
606
|
+
*
|
|
607
|
+
* @nsProperty
|
|
452
608
|
*/
|
|
453
609
|
originY: number;
|
|
454
610
|
|
|
611
|
+
/**
|
|
612
|
+
* The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
|
|
613
|
+
* @nsProperty
|
|
614
|
+
*/
|
|
615
|
+
flexFlow: FlexFlow;
|
|
616
|
+
/**
|
|
617
|
+
* The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
|
|
618
|
+
* @nsProperty
|
|
619
|
+
*/
|
|
620
|
+
flex: Flex;
|
|
621
|
+
|
|
455
622
|
/**
|
|
456
623
|
* Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view.
|
|
624
|
+
*
|
|
625
|
+
* @nsProperty
|
|
457
626
|
*/
|
|
458
627
|
isEnabled: boolean;
|
|
459
628
|
|
|
460
629
|
/**
|
|
461
630
|
* Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view.
|
|
631
|
+
*
|
|
632
|
+
* @nsProperty
|
|
462
633
|
*/
|
|
463
634
|
isUserInteractionEnabled: boolean;
|
|
464
635
|
|
|
465
636
|
/**
|
|
466
637
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false
|
|
638
|
+
*
|
|
639
|
+
* @nsProperty
|
|
467
640
|
*/
|
|
468
641
|
iosOverflowSafeArea: boolean;
|
|
469
642
|
|
|
470
643
|
/**
|
|
471
644
|
* Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true
|
|
645
|
+
*
|
|
646
|
+
* @nsProperty
|
|
472
647
|
*/
|
|
473
648
|
iosOverflowSafeAreaEnabled: boolean;
|
|
474
649
|
|
|
475
650
|
/**
|
|
476
651
|
* Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false
|
|
652
|
+
*
|
|
653
|
+
* @nsProperty
|
|
477
654
|
*/
|
|
478
655
|
iosIgnoreSafeArea: boolean;
|
|
479
656
|
|
|
657
|
+
/**
|
|
658
|
+
* visionOS only
|
|
659
|
+
*
|
|
660
|
+
* @nsProperty
|
|
661
|
+
*/
|
|
662
|
+
visionIgnoreHoverStyle: boolean;
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* visionOS only
|
|
666
|
+
*
|
|
667
|
+
* @nsProperty
|
|
668
|
+
*/
|
|
669
|
+
visionHoverStyle: string | VisionHoverOptions;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* @nsProperty
|
|
673
|
+
*/
|
|
674
|
+
public testID: string;
|
|
675
|
+
/**
|
|
676
|
+
* @nsProperty
|
|
677
|
+
*/
|
|
678
|
+
public touchAnimation: boolean | TouchAnimationOptions;
|
|
679
|
+
/**
|
|
680
|
+
* @nsProperty
|
|
681
|
+
*/
|
|
682
|
+
public ignoreTouchAnimation: boolean;
|
|
683
|
+
/**
|
|
684
|
+
* @nsProperty
|
|
685
|
+
*/
|
|
686
|
+
public touchDelay: number;
|
|
687
|
+
|
|
480
688
|
/**
|
|
481
689
|
* Gets is layout is valid. This is a read-only property.
|
|
482
690
|
*/
|
|
@@ -666,7 +874,7 @@ export abstract class View extends ViewCommon {
|
|
|
666
874
|
/**
|
|
667
875
|
* Returns the iOS safe area insets of this view.
|
|
668
876
|
*/
|
|
669
|
-
public getSafeAreaInsets():
|
|
877
|
+
public getSafeAreaInsets(): Position;
|
|
670
878
|
|
|
671
879
|
/**
|
|
672
880
|
* Returns the location of this view in the window coordinate system.
|
|
@@ -791,6 +999,10 @@ export abstract class View extends ViewCommon {
|
|
|
791
999
|
* @private
|
|
792
1000
|
*/
|
|
793
1001
|
isLayoutRequired: boolean;
|
|
1002
|
+
/**
|
|
1003
|
+
* @private
|
|
1004
|
+
*/
|
|
1005
|
+
get needsNativeDrawableFill(): boolean;
|
|
794
1006
|
/**
|
|
795
1007
|
* @private
|
|
796
1008
|
*/
|
|
@@ -818,15 +1030,19 @@ export abstract class View extends ViewCommon {
|
|
|
818
1030
|
* Return view bounds.
|
|
819
1031
|
* @private
|
|
820
1032
|
*/
|
|
821
|
-
_getCurrentLayoutBounds():
|
|
822
|
-
left: number;
|
|
823
|
-
top: number;
|
|
824
|
-
right: number;
|
|
825
|
-
bottom: number;
|
|
826
|
-
};
|
|
1033
|
+
_getCurrentLayoutBounds(): Position;
|
|
827
1034
|
/**
|
|
828
1035
|
* @private
|
|
829
1036
|
*/
|
|
1037
|
+
_addVisualState(state: string): void;
|
|
1038
|
+
/**
|
|
1039
|
+
* @private
|
|
1040
|
+
*/
|
|
1041
|
+
_removeVisualState(state: string): void;
|
|
1042
|
+
/**
|
|
1043
|
+
* @deprecated Use View.addPseudoClass() and View.deletePseudoClass() instead.
|
|
1044
|
+
* @private
|
|
1045
|
+
*/
|
|
830
1046
|
_goToVisualState(state: string);
|
|
831
1047
|
/**
|
|
832
1048
|
* @private
|
|
@@ -861,7 +1077,7 @@ export abstract class View extends ViewCommon {
|
|
|
861
1077
|
* @private
|
|
862
1078
|
* method called on Android to apply the background. This allows custom handling
|
|
863
1079
|
*/
|
|
864
|
-
_applyBackground(background: Background, isBorderDrawable: boolean, onlyColor: boolean, backgroundDrawable: any);
|
|
1080
|
+
_applyBackground(background: Background, isBorderDrawable: boolean, onlyColor: boolean, backgroundDrawable: any, shouldClipToOutline: boolean);
|
|
865
1081
|
|
|
866
1082
|
/**
|
|
867
1083
|
* @private
|
|
@@ -918,6 +1134,8 @@ export abstract class View extends ViewCommon {
|
|
|
918
1134
|
export class ContainerView extends View {
|
|
919
1135
|
/**
|
|
920
1136
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true
|
|
1137
|
+
*
|
|
1138
|
+
* @nsProperty
|
|
921
1139
|
*/
|
|
922
1140
|
public iosOverflowSafeArea: boolean;
|
|
923
1141
|
}
|
|
@@ -1000,3 +1218,9 @@ export const isEnabledProperty: Property<View, boolean>;
|
|
|
1000
1218
|
export const isUserInteractionEnabledProperty: Property<View, boolean>;
|
|
1001
1219
|
export const iosOverflowSafeAreaProperty: Property<View, boolean>;
|
|
1002
1220
|
export const iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>;
|
|
1221
|
+
export const visionHoverStyleProperty: Property<View, string | VisionHoverOptions>;
|
|
1222
|
+
export const visionIgnoreHoverStyleProperty: Property<View, boolean>;
|
|
1223
|
+
export const touchAnimationProperty: Property<View, boolean | TouchAnimationOptions>;
|
|
1224
|
+
export const ignoreTouchAnimationProperty: Property<View, boolean>;
|
|
1225
|
+
export const touchDelayProperty: Property<View, number>;
|
|
1226
|
+
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';
|
|
@@ -17,8 +17,7 @@ export declare class View extends ViewCommon implements ViewDefinition {
|
|
|
17
17
|
*/
|
|
18
18
|
private _modalAnimatedOptions;
|
|
19
19
|
private _isLaidOut;
|
|
20
|
-
private
|
|
21
|
-
private _hasPendingTransform;
|
|
20
|
+
private _isTransformed;
|
|
22
21
|
private _privateFlags;
|
|
23
22
|
private _cachedFrame;
|
|
24
23
|
private _suspendCATransaction;
|
|
@@ -49,12 +48,7 @@ export declare class View extends ViewCommon implements ViewDefinition {
|
|
|
49
48
|
_setLayoutFlags(left: number, top: number, right: number, bottom: number): void;
|
|
50
49
|
focus(): boolean;
|
|
51
50
|
protected applySafeAreaInsets(frame: CGRect): CGRect;
|
|
52
|
-
getSafeAreaInsets():
|
|
53
|
-
left: any;
|
|
54
|
-
top: any;
|
|
55
|
-
right: any;
|
|
56
|
-
bottom: any;
|
|
57
|
-
};
|
|
51
|
+
getSafeAreaInsets(): Position;
|
|
58
52
|
getLocationInWindow(): Point;
|
|
59
53
|
getLocationOnScreen(): Point;
|
|
60
54
|
getLocationRelativeTo(otherView: ViewDefinition): Point;
|
|
@@ -70,12 +64,7 @@ export declare class View extends ViewCommon implements ViewDefinition {
|
|
|
70
64
|
sendAccessibilityEvent(options: Partial<AccessibilityEventOptions>): void;
|
|
71
65
|
accessibilityAnnouncement(msg?: string): void;
|
|
72
66
|
accessibilityScreenChanged(): void;
|
|
73
|
-
_getCurrentLayoutBounds():
|
|
74
|
-
left: number;
|
|
75
|
-
top: number;
|
|
76
|
-
right: number;
|
|
77
|
-
bottom: number;
|
|
78
|
-
};
|
|
67
|
+
_getCurrentLayoutBounds(): Position;
|
|
79
68
|
_redrawNativeBackground(value: UIColor | Background): void;
|
|
80
69
|
_setNativeClipToBounds(): void;
|
|
81
70
|
private _setupPopoverControllerDelegate;
|