@akylas/nativescript 8.8.10 → 8.9.4
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-css-helper.js +45 -0
- package/accessibility/accessibility-css-helper.js.map +1 -1
- package/color/color-common.js +7 -185
- package/color/color-common.js.map +1 -1
- package/color/color-utils.d.ts +38 -0
- package/color/color-utils.js +213 -0
- package/color/color-utils.js.map +1 -0
- package/config/config.interface.d.ts +23 -4
- package/core-types/index.d.ts +15 -15
- package/core-types/index.js +3 -5
- 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 -0
- package/data/observable/index.js +2 -0
- package/data/observable/index.js.map +1 -1
- package/globals/index.js +5 -3
- package/globals/index.js.map +1 -1
- package/http/http-request/index.ios.js +5 -1
- package/http/http-request/index.ios.js.map +1 -1
- package/http/index.d.ts +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 +8 -2
- package/image-source/index.ios.d.ts +7 -4
- package/image-source/index.ios.js +21 -9
- 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/media-query-list/index.d.ts +1 -1
- package/media-query-list/index.js +2 -2
- package/media-query-list/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/profiling/index.js +18 -20
- package/profiling/index.js.map +1 -1
- package/ui/action-bar/action-bar-common.d.ts +4 -0
- package/ui/action-bar/action-bar-common.js +8 -0
- package/ui/action-bar/action-bar-common.js.map +1 -1
- package/ui/action-bar/index.android.d.ts +8 -1
- package/ui/action-bar/index.d.ts +33 -0
- package/ui/action-bar/index.ios.d.ts +29 -3
- package/ui/action-bar/index.ios.js +160 -25
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/activity-indicator/activity-indicator-common.d.ts +3 -1
- package/ui/activity-indicator/activity-indicator-common.js +5 -0
- package/ui/activity-indicator/activity-indicator-common.js.map +1 -1
- package/ui/activity-indicator/index.android.d.ts +10 -1
- package/ui/activity-indicator/index.d.ts +11 -0
- package/ui/activity-indicator/index.ios.d.ts +10 -2
- package/ui/activity-indicator/index.ios.js +18 -12
- package/ui/activity-indicator/index.ios.js.map +1 -1
- 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 +15 -1
- package/ui/button/index.android.js +15 -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 +24 -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.d.ts +2 -0
- package/ui/core/properties/index.js +37 -20
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/view/index.android.d.ts +54 -12
- package/ui/core/view/index.android.js +53 -53
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +234 -15
- package/ui/core/view/index.ios.d.ts +59 -18
- package/ui/core/view/index.ios.js +35 -37
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +13 -17
- package/ui/core/view/view-common.js +43 -26
- 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 +109 -6
- package/ui/core/view-base/index.js +58 -10
- 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.android.d.ts +9 -1
- package/ui/date-picker/index.d.ts +30 -0
- package/ui/date-picker/index.ios.d.ts +18 -1
- package/ui/dialogs/index.android.js +1 -1
- package/ui/dialogs/index.android.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 +25 -2
- 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/editable-text-base/index.ios.d.ts +13 -1
- package/ui/frame/callbacks/activity-callbacks.js.map +1 -1
- package/ui/frame/fragment.transitions.android.d.ts +3 -0
- package/ui/frame/fragment.transitions.android.js +52 -10
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/fragment.transitions.d.ts +9 -1
- package/ui/frame/frame-common.d.ts +6 -3
- package/ui/frame/frame-common.js +39 -10
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/frame-interfaces.d.ts +22 -19
- package/ui/frame/frame-stack.d.ts +1 -0
- package/ui/frame/frame-stack.js +3 -0
- package/ui/frame/frame-stack.js.map +1 -1
- package/ui/frame/index.android.d.ts +10 -1
- package/ui/frame/index.android.js +82 -68
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +47 -8
- package/ui/frame/index.ios.d.ts +3 -4
- package/ui/frame/index.ios.js +37 -35
- 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/index.ios.js.map +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 +2 -3
- package/ui/html-view/html-view-common.js +2 -5
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.android.d.ts +20 -1
- package/ui/html-view/index.d.ts +19 -2
- package/ui/html-view/index.ios.d.ts +13 -2
- package/ui/html-view/index.ios.js +25 -28
- 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 +7 -3
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.android.d.ts +10 -1
- package/ui/image/index.d.ts +43 -1
- package/ui/image/index.ios.d.ts +10 -1
- package/ui/image/index.ios.js.map +1 -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.android.d.ts +3 -1
- package/ui/label/index.d.ts +4 -0
- package/ui/label/index.ios.d.ts +15 -1
- 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.android.d.ts +3 -1
- package/ui/layouts/dock-layout/index.d.ts +5 -1
- package/ui/layouts/flexbox-layout/index.android.d.ts +6 -1
- package/ui/layouts/flexbox-layout/index.d.ts +33 -0
- package/ui/layouts/flexbox-layout/index.ios.js +25 -13
- 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 +2 -2
- package/ui/layouts/layout-base-common.js +11 -8
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.android.d.ts +14 -1
- package/ui/layouts/layout-base.d.ts +15 -1
- package/ui/layouts/layout-base.ios.d.ts +4 -2
- 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 +42 -31
- 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.android.d.ts +2 -1
- 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.android.d.ts +5 -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.android.d.ts +9 -1
- package/ui/list-picker/index.d.ts +12 -1
- package/ui/list-picker/index.ios.d.ts +9 -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.android.d.ts +13 -2
- package/ui/list-view/index.d.ts +24 -0
- package/ui/list-view/index.ios.d.ts +9 -2
- package/ui/list-view/index.ios.js +3 -2
- 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.android.d.ts +13 -1
- package/ui/page/index.d.ts +31 -2
- package/ui/page/index.ios.d.ts +5 -2
- package/ui/page/index.ios.js +69 -100
- package/ui/page/index.ios.js.map +1 -1
- package/ui/placeholder/index.android.d.ts +1 -1
- package/ui/progress/index.android.d.ts +13 -1
- package/ui/progress/index.d.ts +13 -0
- package/ui/progress/index.ios.d.ts +13 -1
- 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 +7 -2
- package/ui/scroll-view/index.android.js.map +1 -1
- package/ui/scroll-view/index.d.ts +10 -0
- package/ui/scroll-view/index.ios.d.ts +5 -1
- package/ui/scroll-view/scroll-view-common.d.ts +1 -1
- package/ui/scroll-view/scroll-view-common.js +2 -2
- package/ui/scroll-view/scroll-view-common.js.map +1 -1
- package/ui/search-bar/index.android.d.ts +30 -1
- 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 +24 -3
- package/ui/search-bar/index.ios.js +16 -15
- 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.android.d.ts +22 -1
- package/ui/segmented-bar/index.d.ts +21 -5
- package/ui/segmented-bar/index.ios.d.ts +14 -1
- package/ui/slider/index.android.d.ts +14 -1
- package/ui/slider/index.d.ts +27 -0
- package/ui/slider/index.ios.d.ts +16 -1
- 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/css-utils.js +24 -27
- package/ui/styling/css-utils.js.map +1 -1
- 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-interfaces.d.ts +3 -2
- 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 +6 -4
- package/ui/styling/style/index.js +1 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +16 -5
- package/ui/styling/style-properties.js +242 -373
- 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.android.d.ts +13 -1
- package/ui/switch/index.d.ts +11 -0
- package/ui/switch/index.ios.d.ts +13 -2
- package/ui/switch/index.ios.js +1 -13
- package/ui/switch/index.ios.js.map +1 -1
- package/ui/switch/switch-common.js +4 -4
- package/ui/switch/switch-common.js.map +1 -1
- package/ui/tab-view/index.android.d.ts +35 -1
- package/ui/tab-view/index.d.ts +43 -5
- package/ui/tab-view/index.ios.d.ts +24 -1
- package/ui/tab-view/index.ios.js +2 -5
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/text-base/index.android.d.ts +57 -3
- package/ui/text-base/index.android.js +85 -51
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.d.ts +82 -7
- package/ui/text-base/index.ios.d.ts +30 -3
- package/ui/text-base/index.ios.js +33 -14
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/span.d.ts +3 -1
- package/ui/text-base/span.js +2 -2
- package/ui/text-base/span.js.map +1 -1
- package/ui/text-base/text-base-common.d.ts +6 -4
- package/ui/text-base/text-base-common.js +15 -8
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.android.d.ts +4 -1
- package/ui/text-field/index.android.js +0 -7
- package/ui/text-field/index.android.js.map +1 -1
- package/ui/text-field/index.d.ts +13 -0
- package/ui/text-field/index.ios.d.ts +32 -2
- package/ui/text-field/index.ios.js +39 -5
- 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.android.d.ts +1 -0
- package/ui/text-view/index.android.js +1 -0
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.d.ts +22 -0
- package/ui/text-view/index.ios.d.ts +36 -2
- package/ui/text-view/index.ios.js +66 -5
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.d.ts +26 -1
- package/ui/text-view/text-view-common.js +34 -0
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/index.android.d.ts +3 -1
- package/ui/time-picker/index.d.ts +27 -0
- package/ui/time-picker/index.ios.d.ts +21 -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.android.d.ts +2 -1
- package/ui/web-view/index.d.ts +12 -0
- package/ui/web-view/index.ios.d.ts +2 -1
- package/ui/web-view/web-view-common.d.ts +3 -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/xhr/index.d.ts +3 -3
- 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,86 +166,120 @@ 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
|
|
|
@@ -235,6 +290,8 @@ export abstract class View extends ViewCommon {
|
|
|
235
290
|
|
|
236
291
|
/**
|
|
237
292
|
* Hide the view and its children from the a11y service
|
|
293
|
+
*
|
|
294
|
+
* @nsProperty
|
|
238
295
|
*/
|
|
239
296
|
accessibilityHidden: boolean;
|
|
240
297
|
|
|
@@ -242,58 +299,90 @@ export abstract class View extends ViewCommon {
|
|
|
242
299
|
* The view's unique accessibilityIdentifier.
|
|
243
300
|
*
|
|
244
301
|
* This is used for automated testing.
|
|
302
|
+
*
|
|
303
|
+
* @nsProperty
|
|
245
304
|
*/
|
|
246
305
|
accessibilityIdentifier: string;
|
|
247
306
|
|
|
248
307
|
/**
|
|
249
308
|
* Which role should this view be treated by the a11y service?
|
|
309
|
+
*
|
|
310
|
+
* @nsProperty
|
|
250
311
|
*/
|
|
251
312
|
accessibilityRole: AccessibilityRole;
|
|
252
313
|
|
|
253
314
|
/**
|
|
254
315
|
* Which state should this view be treated as by the a11y service?
|
|
316
|
+
*
|
|
317
|
+
* @nsProperty
|
|
318
|
+
*
|
|
255
319
|
*/
|
|
256
320
|
accessibilityState: AccessibilityState;
|
|
257
321
|
|
|
258
322
|
/**
|
|
259
323
|
* Short description of the element, ideally one word.
|
|
324
|
+
*
|
|
325
|
+
* @nsProperty
|
|
260
326
|
*/
|
|
261
327
|
accessibilityLabel: string;
|
|
262
328
|
|
|
263
329
|
/**
|
|
264
330
|
* Current value of the element in a localized string.
|
|
331
|
+
*
|
|
332
|
+
* @nsProperty
|
|
265
333
|
*/
|
|
266
334
|
accessibilityValue: string;
|
|
267
335
|
|
|
268
336
|
/**
|
|
269
337
|
* A hint describes the elements behavior. Example: 'Tap change playback speed'
|
|
338
|
+
*
|
|
339
|
+
* @nsProperty
|
|
270
340
|
*/
|
|
271
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
|
+
*/
|
|
272
346
|
accessibilityLiveRegion: AccessibilityLiveRegion;
|
|
273
347
|
|
|
274
348
|
/**
|
|
275
349
|
* Sets the language in which to speak the element's label and value.
|
|
276
350
|
* Accepts language ID tags that follows the "BCP 47" specification.
|
|
351
|
+
*
|
|
352
|
+
* @nsProperty
|
|
277
353
|
*/
|
|
278
354
|
accessibilityLanguage: string;
|
|
279
355
|
|
|
280
356
|
/**
|
|
281
357
|
* This view starts a media session. Equivalent to trait = startsMedia
|
|
358
|
+
*
|
|
359
|
+
* @nsProperty
|
|
282
360
|
*/
|
|
283
361
|
accessibilityMediaSession: boolean;
|
|
284
362
|
|
|
363
|
+
/**
|
|
364
|
+
* @nsProperty
|
|
365
|
+
*/
|
|
366
|
+
accessibilityIgnoresInvertColors: boolean;
|
|
367
|
+
|
|
285
368
|
/**
|
|
286
369
|
* Defines whether accessibility font scale should affect font size.
|
|
370
|
+
*
|
|
371
|
+
* @nsProperty
|
|
287
372
|
*/
|
|
288
373
|
iosAccessibilityAdjustsFontSize: boolean;
|
|
289
374
|
|
|
290
375
|
/**
|
|
291
376
|
* Gets or sets the minimum accessibility font scale.
|
|
377
|
+
*
|
|
378
|
+
* @nsProperty
|
|
292
379
|
*/
|
|
293
380
|
iosAccessibilityMinFontScale: number;
|
|
294
381
|
|
|
295
382
|
/**
|
|
296
383
|
* Gets or sets the maximum accessibility font scale.
|
|
384
|
+
*
|
|
385
|
+
* @nsProperty
|
|
297
386
|
*/
|
|
298
387
|
iosAccessibilityMaxFontScale: number;
|
|
299
388
|
|
|
@@ -307,141 +396,199 @@ export abstract class View extends ViewCommon {
|
|
|
307
396
|
*/
|
|
308
397
|
_hasDefaultAccessibilityContentDescription?: boolean;
|
|
309
398
|
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @nsProperty
|
|
402
|
+
*/
|
|
310
403
|
automationText: string;
|
|
311
404
|
|
|
312
405
|
/**
|
|
313
406
|
* Gets or sets the elevation of the android view.
|
|
407
|
+
*
|
|
408
|
+
* @nsProperty
|
|
314
409
|
*/
|
|
315
410
|
androidElevation: number;
|
|
316
411
|
|
|
317
412
|
/**
|
|
318
413
|
* Gets or sets the dynamic elevation offset of the android view.
|
|
414
|
+
*
|
|
415
|
+
* @nsProperty
|
|
319
416
|
*/
|
|
320
417
|
androidDynamicElevationOffset: number;
|
|
321
418
|
|
|
322
419
|
/**
|
|
323
420
|
* Gets or sets the background style property.
|
|
421
|
+
*
|
|
422
|
+
* @nsProperty
|
|
324
423
|
*/
|
|
325
424
|
background: string;
|
|
326
425
|
|
|
327
426
|
/**
|
|
328
427
|
* Gets or sets the background color of the view.
|
|
428
|
+
*
|
|
429
|
+
* @nsProperty
|
|
329
430
|
*/
|
|
330
431
|
backgroundColor: string | Color;
|
|
331
432
|
|
|
332
433
|
/**
|
|
333
434
|
* Gets or sets the background image of the view.
|
|
435
|
+
*
|
|
436
|
+
* @nsProperty
|
|
334
437
|
*/
|
|
335
438
|
backgroundImage: string | LinearGradient;
|
|
336
439
|
|
|
337
440
|
/**
|
|
338
441
|
* Gets or sets the box shadow of the view.
|
|
442
|
+
*
|
|
443
|
+
* @nsProperty
|
|
339
444
|
*/
|
|
340
445
|
boxShadow: string | ShadowCSSValues;
|
|
341
446
|
|
|
342
447
|
/**
|
|
343
448
|
* Gets or sets the minimum width the view may grow to.
|
|
449
|
+
*
|
|
450
|
+
* @nsProperty
|
|
344
451
|
*/
|
|
345
452
|
minWidth: CoreTypes.LengthType;
|
|
346
453
|
|
|
347
454
|
/**
|
|
348
455
|
* Gets or sets the minimum height the view may grow to.
|
|
456
|
+
*
|
|
457
|
+
* @nsProperty
|
|
349
458
|
*/
|
|
350
459
|
minHeight: CoreTypes.LengthType;
|
|
351
460
|
|
|
352
461
|
/**
|
|
353
462
|
* Gets or sets the desired width of the view.
|
|
463
|
+
*
|
|
464
|
+
* @nsProperty
|
|
354
465
|
*/
|
|
355
466
|
width: CoreTypes.PercentLengthType;
|
|
356
467
|
|
|
357
468
|
/**
|
|
358
469
|
* Gets or sets the desired height of the view.
|
|
470
|
+
*
|
|
471
|
+
* @nsProperty
|
|
359
472
|
*/
|
|
360
473
|
height: CoreTypes.PercentLengthType;
|
|
361
474
|
|
|
362
475
|
/**
|
|
363
476
|
* Gets or sets margin style property.
|
|
477
|
+
*
|
|
478
|
+
* @nsProperty
|
|
364
479
|
*/
|
|
365
480
|
margin: string | CoreTypes.PercentLengthType;
|
|
366
481
|
|
|
367
482
|
/**
|
|
368
483
|
* Specifies extra space on the left side of this view.
|
|
484
|
+
*
|
|
485
|
+
* @nsProperty
|
|
369
486
|
*/
|
|
370
487
|
marginLeft: CoreTypes.PercentLengthType;
|
|
371
488
|
|
|
372
489
|
/**
|
|
373
490
|
* Specifies extra space on the top side of this view.
|
|
491
|
+
*
|
|
492
|
+
* @nsProperty
|
|
374
493
|
*/
|
|
375
494
|
marginTop: CoreTypes.PercentLengthType;
|
|
376
495
|
|
|
377
496
|
/**
|
|
378
497
|
* Specifies extra space on the right side of this view.
|
|
498
|
+
*
|
|
499
|
+
* @nsProperty
|
|
379
500
|
*/
|
|
380
501
|
marginRight: CoreTypes.PercentLengthType;
|
|
381
502
|
|
|
382
503
|
/**
|
|
383
504
|
* Specifies extra space on the bottom side of this view.
|
|
505
|
+
*
|
|
506
|
+
* @nsProperty
|
|
384
507
|
*/
|
|
385
508
|
marginBottom: CoreTypes.PercentLengthType;
|
|
386
509
|
|
|
387
510
|
/**
|
|
388
511
|
* Gets or sets the alignment of this view within its parent along the Horizontal axis.
|
|
512
|
+
*
|
|
513
|
+
* @nsProperty
|
|
389
514
|
*/
|
|
390
515
|
horizontalAlignment: CoreTypes.HorizontalAlignmentType;
|
|
391
516
|
|
|
392
517
|
/**
|
|
393
518
|
* Gets or sets the alignment of this view within its parent along the Vertical axis.
|
|
519
|
+
*
|
|
520
|
+
* @nsProperty
|
|
394
521
|
*/
|
|
395
522
|
verticalAlignment: CoreTypes.VerticalAlignmentType;
|
|
396
523
|
|
|
397
524
|
/**
|
|
398
525
|
* Gets or sets the visibility of the view.
|
|
526
|
+
*
|
|
527
|
+
* @nsProperty
|
|
399
528
|
*/
|
|
400
529
|
visibility: CoreTypes.VisibilityType;
|
|
401
530
|
|
|
402
531
|
/**
|
|
403
532
|
* Gets or sets the opacity style property.
|
|
533
|
+
*
|
|
534
|
+
* @nsProperty
|
|
404
535
|
*/
|
|
405
536
|
opacity: number;
|
|
406
537
|
|
|
407
538
|
/**
|
|
408
539
|
* Gets or sets the rotate affine transform of the view along the Z axis.
|
|
540
|
+
*
|
|
541
|
+
* @nsProperty
|
|
409
542
|
*/
|
|
410
543
|
rotate: number;
|
|
411
544
|
|
|
412
545
|
/**
|
|
413
546
|
* Gets or sets the rotate affine transform of the view along the X axis.
|
|
547
|
+
*
|
|
548
|
+
* @nsProperty
|
|
414
549
|
*/
|
|
415
550
|
rotateX: number;
|
|
416
551
|
|
|
417
552
|
/**
|
|
418
553
|
* Gets or sets the rotate affine transform of the view along the Y axis.
|
|
554
|
+
*
|
|
555
|
+
* @nsProperty
|
|
419
556
|
*/
|
|
420
557
|
rotateY: number;
|
|
421
558
|
|
|
422
559
|
/**
|
|
423
560
|
* Gets or sets the distance of the camera form the view perspective.
|
|
424
561
|
* Usually needed when rotating the view over the X or Y axis.
|
|
562
|
+
*
|
|
563
|
+
* @nsProperty
|
|
425
564
|
*/
|
|
426
565
|
perspective: number;
|
|
427
566
|
|
|
428
567
|
/**
|
|
429
568
|
* Gets or sets the translateX affine transform of the view in device independent pixels.
|
|
569
|
+
*
|
|
570
|
+
* @nsProperty
|
|
430
571
|
*/
|
|
431
572
|
translateX: CoreTypes.dip;
|
|
432
573
|
|
|
433
574
|
/**
|
|
434
575
|
* Gets or sets the translateY affine transform of the view in device independent pixels.
|
|
576
|
+
*
|
|
577
|
+
* @nsProperty
|
|
435
578
|
*/
|
|
436
579
|
translateY: CoreTypes.dip;
|
|
437
580
|
|
|
438
581
|
/**
|
|
439
582
|
* Gets or sets the scaleX affine transform of the view.
|
|
583
|
+
*
|
|
584
|
+
* @nsProperty
|
|
440
585
|
*/
|
|
441
586
|
scaleX: number;
|
|
442
587
|
|
|
443
588
|
/**
|
|
444
589
|
* Gets or sets the scaleY affine transform of the view.
|
|
590
|
+
*
|
|
591
|
+
* @nsProperty
|
|
445
592
|
*/
|
|
446
593
|
scaleY: number;
|
|
447
594
|
|
|
@@ -449,39 +596,95 @@ export abstract class View extends ViewCommon {
|
|
|
449
596
|
|
|
450
597
|
/**
|
|
451
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
|
|
452
601
|
*/
|
|
453
602
|
originX: number;
|
|
454
603
|
|
|
455
604
|
/**
|
|
456
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
|
|
457
608
|
*/
|
|
458
609
|
originY: number;
|
|
459
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
|
+
|
|
460
622
|
/**
|
|
461
623
|
* Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view.
|
|
624
|
+
*
|
|
625
|
+
* @nsProperty
|
|
462
626
|
*/
|
|
463
627
|
isEnabled: boolean;
|
|
464
628
|
|
|
465
629
|
/**
|
|
466
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
|
|
467
633
|
*/
|
|
468
634
|
isUserInteractionEnabled: boolean;
|
|
469
635
|
|
|
470
636
|
/**
|
|
471
637
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false
|
|
638
|
+
*
|
|
639
|
+
* @nsProperty
|
|
472
640
|
*/
|
|
473
641
|
iosOverflowSafeArea: boolean;
|
|
474
642
|
|
|
475
643
|
/**
|
|
476
644
|
* Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true
|
|
645
|
+
*
|
|
646
|
+
* @nsProperty
|
|
477
647
|
*/
|
|
478
648
|
iosOverflowSafeAreaEnabled: boolean;
|
|
479
649
|
|
|
480
650
|
/**
|
|
481
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
|
|
482
654
|
*/
|
|
483
655
|
iosIgnoreSafeArea: boolean;
|
|
484
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
|
+
|
|
485
688
|
/**
|
|
486
689
|
* Gets is layout is valid. This is a read-only property.
|
|
487
690
|
*/
|
|
@@ -671,7 +874,7 @@ export abstract class View extends ViewCommon {
|
|
|
671
874
|
/**
|
|
672
875
|
* Returns the iOS safe area insets of this view.
|
|
673
876
|
*/
|
|
674
|
-
public getSafeAreaInsets():
|
|
877
|
+
public getSafeAreaInsets(): Position;
|
|
675
878
|
|
|
676
879
|
/**
|
|
677
880
|
* Returns the location of this view in the window coordinate system.
|
|
@@ -827,16 +1030,24 @@ export abstract class View extends ViewCommon {
|
|
|
827
1030
|
* Return view bounds.
|
|
828
1031
|
* @private
|
|
829
1032
|
*/
|
|
830
|
-
_getCurrentLayoutBounds():
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
};
|
|
1033
|
+
_getCurrentLayoutBounds(): Position;
|
|
1034
|
+
/**
|
|
1035
|
+
* @private
|
|
1036
|
+
*/
|
|
1037
|
+
_addVisualState(state: string): void;
|
|
836
1038
|
/**
|
|
837
1039
|
* @private
|
|
838
1040
|
*/
|
|
1041
|
+
_removeVisualState(state: string): void;
|
|
1042
|
+
/**
|
|
1043
|
+
* @deprecated Use View.addPseudoClass() and View.deletePseudoClass() instead.
|
|
1044
|
+
* @private
|
|
1045
|
+
*/
|
|
839
1046
|
_goToVisualState(state: string);
|
|
1047
|
+
/**
|
|
1048
|
+
* @private
|
|
1049
|
+
*/
|
|
1050
|
+
_modifyNativeViewFrame(nativeView: any, frame: any): void;
|
|
840
1051
|
/**
|
|
841
1052
|
* @private
|
|
842
1053
|
*/
|
|
@@ -870,7 +1081,7 @@ export abstract class View extends ViewCommon {
|
|
|
870
1081
|
* @private
|
|
871
1082
|
* method called on Android to apply the background. This allows custom handling
|
|
872
1083
|
*/
|
|
873
|
-
_applyBackground(background: Background, isBorderDrawable: boolean, onlyColor: boolean, backgroundDrawable: any);
|
|
1084
|
+
_applyBackground(background: Background, isBorderDrawable: boolean, onlyColor: boolean, backgroundDrawable: any, shouldClipToOutline: boolean);
|
|
874
1085
|
|
|
875
1086
|
/**
|
|
876
1087
|
* @private
|
|
@@ -927,6 +1138,8 @@ export abstract class View extends ViewCommon {
|
|
|
927
1138
|
export class ContainerView extends View {
|
|
928
1139
|
/**
|
|
929
1140
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true
|
|
1141
|
+
*
|
|
1142
|
+
* @nsProperty
|
|
930
1143
|
*/
|
|
931
1144
|
public iosOverflowSafeArea: boolean;
|
|
932
1145
|
}
|
|
@@ -1009,3 +1222,9 @@ export const isEnabledProperty: Property<View, boolean>;
|
|
|
1009
1222
|
export const isUserInteractionEnabledProperty: Property<View, boolean>;
|
|
1010
1223
|
export const iosOverflowSafeAreaProperty: Property<View, boolean>;
|
|
1011
1224
|
export const iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>;
|
|
1225
|
+
export const visionHoverStyleProperty: Property<View, string | VisionHoverOptions>;
|
|
1226
|
+
export const visionIgnoreHoverStyleProperty: Property<View, boolean>;
|
|
1227
|
+
export const touchAnimationProperty: Property<View, boolean | TouchAnimationOptions>;
|
|
1228
|
+
export const ignoreTouchAnimationProperty: Property<View, boolean>;
|
|
1229
|
+
export const touchDelayProperty: Property<View, number>;
|
|
1230
|
+
export const testIDProperty: Property<View, string>;
|