@nativescript/core 8.9.0-alpha.3 → 8.9.0-napi-es5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abortcontroller/abortsignal.js +23 -16
- package/abortcontroller/abortsignal.js.map +1 -1
- package/abortcontroller/index.js +20 -14
- package/abortcontroller/index.js.map +1 -1
- package/accessibility/accessibility-common.js +8 -8
- package/accessibility/accessibility-common.js.map +1 -1
- package/accessibility/accessibility-css-helper.js +27 -27
- package/accessibility/accessibility-css-helper.js.map +1 -1
- package/accessibility/accessibility-properties.js +23 -23
- package/accessibility/accessibility-properties.js.map +1 -1
- package/accessibility/accessibility-service-common.js +22 -12
- package/accessibility/accessibility-service-common.js.map +1 -1
- package/accessibility/accessibility-service.android.js +39 -27
- package/accessibility/accessibility-service.android.js.map +1 -1
- package/accessibility/accessibility-service.ios.js +17 -14
- package/accessibility/accessibility-service.ios.js.map +1 -1
- package/accessibility/font-scale-common.js +2 -2
- package/accessibility/font-scale-common.js.map +1 -1
- package/accessibility/font-scale.android.js +8 -7
- package/accessibility/font-scale.android.js.map +1 -1
- package/accessibility/font-scale.ios.js +10 -9
- package/accessibility/font-scale.ios.js.map +1 -1
- package/accessibility/index.android.js +83 -77
- package/accessibility/index.android.js.map +1 -1
- package/accessibility/index.ios.js +36 -34
- package/accessibility/index.ios.js.map +1 -1
- package/animation-frame/animation-native.ios.js +1 -1
- package/animation-frame/animation-native.ios.js.map +1 -1
- package/animation-frame/index.js +16 -16
- package/animation-frame/index.js.map +1 -1
- package/application/application-common.js +214 -196
- package/application/application-common.js.map +1 -1
- package/application/application-shims.js +39 -39
- package/application/application-shims.js.map +1 -1
- package/application/application.android.js +149 -110
- package/application/application.android.js.map +1 -1
- package/application/application.ios.js +197 -162
- package/application/application.ios.js.map +1 -1
- package/application-settings/index.android.js +11 -11
- package/application-settings/index.android.js.map +1 -1
- package/application-settings/index.ios.js +1 -1
- package/application-settings/index.ios.js.map +1 -1
- package/bundle-entry-points.js +1 -1
- package/bundle-entry-points.js.map +1 -1
- package/color/color-common.js +200 -157
- package/color/color-common.js.map +1 -1
- package/color/index.android.js +14 -4
- package/color/index.android.js.map +1 -1
- package/color/index.ios.js +24 -14
- package/color/index.ios.js.map +1 -1
- package/color/known-colors.js +144 -144
- package/color/known-colors.js.map +1 -1
- package/connectivity/index.android.js +23 -23
- package/connectivity/index.android.js.map +1 -1
- package/connectivity/index.ios.js +25 -25
- package/connectivity/index.ios.js.map +1 -1
- package/console/index.js +24 -20
- package/console/index.js.map +1 -1
- package/core-types/index.d.ts +2 -2
- package/core-types/index.js +41 -41
- package/core-types/index.js.map +1 -1
- package/css/CSS3Parser.js +106 -104
- package/css/CSS3Parser.js.map +1 -1
- package/css/CSSNativeScript.js +34 -29
- package/css/CSSNativeScript.js.map +1 -1
- package/css/css-tree-parser.js.map +1 -1
- package/css/parser.js +179 -158
- package/css/parser.js.map +1 -1
- package/css/system-classes.js +9 -9
- package/css/system-classes.js.map +1 -1
- package/css-mediaquery/index.js +29 -27
- package/css-mediaquery/index.js.map +1 -1
- package/data/observable/index.d.ts +1 -0
- package/data/observable/index.js +124 -114
- package/data/observable/index.js.map +1 -1
- package/data/observable-array/index.js +176 -119
- package/data/observable-array/index.js.map +1 -1
- package/data/virtual-array/index.js +74 -61
- package/data/virtual-array/index.js.map +1 -1
- package/debugger/InspectorBackendCommands.js +161 -137
- package/debugger/InspectorBackendCommands.js.map +1 -1
- package/debugger/devtools-elements.common.js +20 -20
- package/debugger/devtools-elements.common.js.map +1 -1
- package/debugger/devtools-elements.js +2 -2
- package/debugger/devtools-elements.js.map +1 -1
- package/debugger/dom-node.js +73 -61
- package/debugger/dom-node.js.map +1 -1
- package/debugger/index.js +19 -19
- package/debugger/index.js.map +1 -1
- package/debugger/webinspector-css.js +30 -25
- package/debugger/webinspector-css.js.map +1 -1
- package/debugger/webinspector-dom.js +43 -38
- package/debugger/webinspector-dom.js.map +1 -1
- package/debugger/webinspector-network.android.js +132 -103
- package/debugger/webinspector-network.android.js.map +1 -1
- package/debugger/webinspector-network.ios.js +128 -100
- package/debugger/webinspector-network.ios.js.map +1 -1
- package/file-system/file-system-access.android.js +421 -414
- package/file-system/file-system-access.android.js.map +1 -1
- package/file-system/file-system-access.ios.js +215 -205
- package/file-system/file-system-access.ios.js.map +1 -1
- package/file-system/index.js +372 -294
- package/file-system/index.js.map +1 -1
- package/fps-meter/fps-native.android.js +18 -15
- package/fps-meter/fps-native.android.js.map +1 -1
- package/fps-meter/fps-native.ios.js +11 -9
- package/fps-meter/fps-native.ios.js.map +1 -1
- package/fps-meter/index.js +11 -11
- package/fps-meter/index.js.map +1 -1
- package/globals/index.js +117 -91
- package/globals/index.js.map +1 -1
- package/http/http-request/http-request-common.js +5 -5
- package/http/http-request/http-request-common.js.map +1 -1
- package/http/http-request/index.android.js +54 -53
- package/http/http-request/index.android.js.map +1 -1
- package/http/http-request/index.ios.js +58 -56
- package/http/http-request/index.ios.js.map +1 -1
- package/http/index.js +19 -19
- package/http/index.js.map +1 -1
- package/image-asset/image-asset-common.js +37 -25
- package/image-asset/image-asset-common.js.map +1 -1
- package/image-asset/index.android.js +25 -17
- package/image-asset/index.android.js.map +1 -1
- package/image-asset/index.ios.js +35 -25
- package/image-asset/index.ios.js.map +1 -1
- package/image-source/image-source-common.js +2 -2
- package/image-source/image-source-common.js.map +1 -1
- package/image-source/index.android.d.ts +3 -2
- package/image-source/index.android.js +189 -156
- 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 +211 -178
- package/image-source/index.ios.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +8 -4
- package/index.js.map +1 -1
- package/matrix/index.js +27 -17
- package/matrix/index.js.map +1 -1
- package/media-query-list/index.js +87 -61
- package/media-query-list/index.js.map +1 -1
- package/module-name-resolver/index.js +24 -21
- package/module-name-resolver/index.js.map +1 -1
- package/module-name-resolver/non-bundle-workflow-compat.js +24 -24
- package/module-name-resolver/non-bundle-workflow-compat.js.map +1 -1
- package/module-name-resolver/qualifier-matcher/index.js +46 -46
- package/module-name-resolver/qualifier-matcher/index.js.map +1 -1
- package/package.json +1 -1
- package/platform/common.js +5 -5
- package/platform/common.js.map +1 -1
- package/platform/device/index.android.js +107 -68
- package/platform/device/index.android.js.map +1 -1
- package/platform/device/index.ios.js +101 -62
- package/platform/device/index.ios.js.map +1 -1
- package/platform/screen/index.android.js +63 -32
- package/platform/screen/index.android.js.map +1 -1
- package/platform/screen/index.ios.js +60 -29
- package/platform/screen/index.ios.js.map +1 -1
- package/platforms/android/widgets-release.aar +0 -0
- package/platforms/android/winter_tc-release.aar +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework → NSCWinterTC.xcframework}/Info.plist +22 -22
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework}/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework}/Resources/Info.plist +10 -10
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/A}/Resources/Info.plist +10 -10
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/Current/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework}/Headers/NSCCrypto.h +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h} +3 -3
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework}/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/NSCWinterTC.framework}/_CodeSignature/CodeResources +13 -13
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework → NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework}/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/xros-arm64/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM → NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM}/Contents/Info.plist +1 -1
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCCrypto.h +79 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSCWinterTC.h +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Headers/NSString+WinterTC.h +21 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework}/Info.plist +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/Modules/module.modulemap +6 -0
- package/platforms/ios/{NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/NSCWinterCG → NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework/NSCWinterTC} +0 -0
- package/platforms/ios/{NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework → NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/NSCWinterTC.framework}/_CodeSignature/CodeResources +13 -13
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Info.plist +20 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/DWARF/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterTC.yml +40 -0
- package/platforms/ios/NSCWinterTC.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterTC.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterTC.yml +40 -0
- package/platforms/ios/src/NativeScriptMainWindow.swift +24 -7
- package/platforms/ios/src/UIView+NativeScript.m +2 -4
- package/profiling/index.js +47 -40
- package/profiling/index.js.map +1 -1
- package/text/text-common.js +49 -36
- package/text/text-common.js.map +1 -1
- package/timer/index.android.js +30 -20
- package/timer/index.android.js.map +1 -1
- package/timer/index.ios.js +22 -12
- package/timer/index.ios.js.map +1 -1
- package/trace/index.js +36 -26
- package/trace/index.js.map +1 -1
- package/ui/action-bar/action-bar-common.js +252 -193
- package/ui/action-bar/action-bar-common.js.map +1 -1
- package/ui/action-bar/index.android.d.ts +1 -0
- package/ui/action-bar/index.android.js +212 -167
- 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 +337 -193
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/activity-indicator/activity-indicator-common.js +11 -6
- package/ui/activity-indicator/activity-indicator-common.js.map +1 -1
- package/ui/activity-indicator/index.android.js +26 -20
- package/ui/activity-indicator/index.android.js.map +1 -1
- package/ui/activity-indicator/index.d.ts +4 -0
- package/ui/activity-indicator/index.ios.js +31 -23
- 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 +50 -51
- package/ui/animation/animation-common.js.map +1 -1
- package/ui/animation/animation-interfaces.d.ts +11 -0
- package/ui/animation/animation-interfaces.js +14 -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 +96 -92
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.d.ts +0 -13
- package/ui/animation/index.ios.d.ts +2 -2
- package/ui/animation/index.ios.js +195 -229
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/animation/keyframe-animation.js +89 -67
- package/ui/animation/keyframe-animation.js.map +1 -1
- package/ui/builder/binding-builder.js +31 -31
- package/ui/builder/binding-builder.js.map +1 -1
- package/ui/builder/component-builder/index.js +37 -37
- package/ui/builder/component-builder/index.js.map +1 -1
- package/ui/builder/index.js +59 -54
- package/ui/builder/index.js.map +1 -1
- package/ui/builder/xml2ui.js +158 -128
- package/ui/builder/xml2ui.js.map +1 -1
- package/ui/button/button-common.js +25 -18
- package/ui/button/button-common.js.map +1 -1
- package/ui/button/index.android.d.ts +1 -1
- package/ui/button/index.android.js +93 -80
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.d.ts +6 -0
- package/ui/button/index.ios.js +118 -101
- package/ui/button/index.ios.js.map +1 -1
- package/ui/content-view/index.d.ts +9 -0
- package/ui/content-view/index.js +78 -60
- package/ui/content-view/index.js.map +1 -1
- package/ui/core/bindable/bindable-expressions.js +101 -93
- package/ui/core/bindable/bindable-expressions.js.map +1 -1
- package/ui/core/bindable/bindable-resources.js +1 -1
- package/ui/core/bindable/index.js +141 -136
- package/ui/core/bindable/index.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 +7 -5
- 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 +29 -42
- package/ui/core/control-state-change/index.ios.js.map +1 -1
- package/ui/core/properties/index.js +489 -440
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/view/index.android.d.ts +2 -7
- package/ui/core/view/index.android.js +387 -352
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +238 -14
- package/ui/core/view/index.ios.d.ts +3 -13
- package/ui/core/view/index.ios.js +411 -367
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +11 -15
- package/ui/core/view/view-common.js +951 -654
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view/view-helper/index.android.js +19 -15
- package/ui/core/view/view-helper/index.android.js.map +1 -1
- package/ui/core/view/view-helper/index.d.ts +3 -3
- package/ui/core/view/view-helper/index.ios.d.ts +3 -18
- package/ui/core/view/view-helper/index.ios.js +85 -81
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/core/view/view-helper/view-helper-common.js +49 -44
- package/ui/core/view/view-helper/view-helper-common.js.map +1 -1
- package/ui/core/view-base/index.d.ts +107 -4
- package/ui/core/view-base/index.js +452 -349
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/core/weak-event-listener/index.js +26 -25
- package/ui/core/weak-event-listener/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.d.ts +1 -0
- package/ui/date-picker/date-picker-common.js +35 -29
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.android.js +51 -43
- package/ui/date-picker/index.android.js.map +1 -1
- package/ui/date-picker/index.d.ts +30 -0
- package/ui/date-picker/index.ios.js +61 -51
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/dialogs/dialogs-common.js +18 -18
- package/ui/dialogs/dialogs-common.js.map +1 -1
- package/ui/dialogs/index.android.js +98 -86
- package/ui/dialogs/index.android.js.map +1 -1
- package/ui/dialogs/index.ios.js +80 -67
- package/ui/dialogs/index.ios.js.map +1 -1
- package/ui/editable-text-base/editable-text-base-common.d.ts +1 -2
- package/ui/editable-text-base/editable-text-base-common.js +44 -32
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.android.js +112 -106
- 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.js +53 -47
- package/ui/editable-text-base/index.ios.js.map +1 -1
- package/ui/embedding/index.android.js +3 -2
- package/ui/embedding/index.android.js.map +1 -1
- package/ui/frame/activity.android.js +44 -44
- package/ui/frame/activity.android.js.map +1 -1
- package/ui/frame/callbacks/activity-callbacks.js +123 -118
- package/ui/frame/callbacks/activity-callbacks.js.map +1 -1
- package/ui/frame/callbacks/fragment-callbacks.js +141 -139
- package/ui/frame/callbacks/fragment-callbacks.js.map +1 -1
- package/ui/frame/fragment.android.js +21 -21
- package/ui/frame/fragment.android.js.map +1 -1
- package/ui/frame/fragment.ios.js +1 -1
- package/ui/frame/fragment.transitions.android.js +114 -105
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/frame-common.d.ts +4 -3
- package/ui/frame/frame-common.js +288 -252
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/frame-helpers.js +1 -1
- package/ui/frame/frame-helpers.js.map +1 -1
- package/ui/frame/frame-stack.js +4 -4
- package/ui/frame/frame-stack.js.map +1 -1
- package/ui/frame/index.android.js +291 -239
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +40 -3
- package/ui/frame/index.ios.js +167 -133
- package/ui/frame/index.ios.js.map +1 -1
- package/ui/gestures/gestures-common.d.ts +22 -0
- package/ui/gestures/gestures-common.js +51 -15
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/gestures/index.android.d.ts +1 -1
- package/ui/gestures/index.android.js +124 -109
- package/ui/gestures/index.android.js.map +1 -1
- package/ui/gestures/index.ios.d.ts +1 -1
- package/ui/gestures/index.ios.js +121 -108
- package/ui/gestures/index.ios.js.map +1 -1
- package/ui/gestures/touch-manager.d.ts +1 -1
- package/ui/gestures/touch-manager.js +48 -43
- 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 +14 -9
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.android.js +43 -37
- package/ui/html-view/index.android.js.map +1 -1
- package/ui/html-view/index.d.ts +16 -2
- package/ui/html-view/index.ios.js +73 -62
- 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 +59 -47
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.android.js +59 -54
- package/ui/image/index.android.js.map +1 -1
- package/ui/image/index.d.ts +43 -1
- package/ui/image/index.ios.js +72 -65
- package/ui/image/index.ios.js.map +1 -1
- package/ui/image/symbol-effects-common.js +6 -2
- package/ui/image/symbol-effects-common.js.map +1 -1
- package/ui/image/symbol-effects.android.js +10 -4
- package/ui/image/symbol-effects.android.js.map +1 -1
- package/ui/image/symbol-effects.ios.js +11 -7
- package/ui/image/symbol-effects.ios.js.map +1 -1
- package/ui/image-cache/image-cache-common.js +61 -57
- package/ui/image-cache/image-cache-common.js.map +1 -1
- package/ui/image-cache/index.android.js +27 -23
- package/ui/image-cache/index.android.js.map +1 -1
- package/ui/image-cache/index.ios.js +29 -24
- package/ui/image-cache/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.js +38 -29
- package/ui/label/index.android.js.map +1 -1
- package/ui/label/index.d.ts +4 -0
- package/ui/label/index.ios.js +102 -89
- package/ui/label/index.ios.js.map +1 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.js +30 -25
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -1
- package/ui/layouts/absolute-layout/index.android.js +12 -6
- package/ui/layouts/absolute-layout/index.android.js.map +1 -1
- package/ui/layouts/absolute-layout/index.d.ts +2 -0
- package/ui/layouts/absolute-layout/index.ios.js +40 -32
- package/ui/layouts/absolute-layout/index.ios.js.map +1 -1
- package/ui/layouts/dock-layout/dock-layout-common.js +21 -16
- package/ui/layouts/dock-layout/dock-layout-common.js.map +1 -1
- package/ui/layouts/dock-layout/index.android.js +17 -11
- package/ui/layouts/dock-layout/index.android.js.map +1 -1
- package/ui/layouts/dock-layout/index.d.ts +5 -1
- package/ui/layouts/dock-layout/index.ios.js +53 -45
- package/ui/layouts/dock-layout/index.ios.js.map +1 -1
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js +115 -90
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.android.js +97 -92
- package/ui/layouts/flexbox-layout/index.android.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.d.ts +32 -0
- package/ui/layouts/flexbox-layout/index.ios.js +427 -366
- package/ui/layouts/flexbox-layout/index.ios.js.map +1 -1
- package/ui/layouts/grid-layout/grid-layout-common.js +211 -159
- package/ui/layouts/grid-layout/grid-layout-common.js.map +1 -1
- package/ui/layouts/grid-layout/index.android.js +55 -49
- package/ui/layouts/grid-layout/index.android.js.map +1 -1
- package/ui/layouts/grid-layout/index.d.ts +19 -0
- package/ui/layouts/grid-layout/index.ios.js +348 -340
- package/ui/layouts/grid-layout/index.ios.js.map +1 -1
- package/ui/layouts/layout-base-common.d.ts +0 -1
- package/ui/layouts/layout-base-common.js +106 -85
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.android.js +31 -25
- package/ui/layouts/layout-base.android.js.map +1 -1
- package/ui/layouts/layout-base.d.ts +14 -0
- package/ui/layouts/layout-base.ios.js +27 -21
- package/ui/layouts/layout-base.ios.js.map +1 -1
- package/ui/layouts/root-layout/index.android.js +46 -47
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/root-layout/index.d.ts +3 -0
- package/ui/layouts/root-layout/index.ios.js +53 -54
- package/ui/layouts/root-layout/index.ios.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.js +190 -186
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/layouts/stack-layout/index.android.js +12 -6
- package/ui/layouts/stack-layout/index.android.js.map +1 -1
- package/ui/layouts/stack-layout/index.d.ts +3 -0
- package/ui/layouts/stack-layout/index.ios.js +69 -62
- package/ui/layouts/stack-layout/index.ios.js.map +1 -1
- package/ui/layouts/stack-layout/stack-layout-common.js +12 -7
- package/ui/layouts/stack-layout/stack-layout-common.js.map +1 -1
- package/ui/layouts/wrap-layout/index.android.js +16 -10
- package/ui/layouts/wrap-layout/index.android.js.map +1 -1
- package/ui/layouts/wrap-layout/index.d.ts +8 -0
- package/ui/layouts/wrap-layout/index.ios.js +76 -70
- package/ui/layouts/wrap-layout/index.ios.js.map +1 -1
- package/ui/layouts/wrap-layout/wrap-layout-common.js +18 -13
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -1
- package/ui/list-picker/index.android.js +48 -42
- package/ui/list-picker/index.android.js.map +1 -1
- package/ui/list-picker/index.d.ts +12 -1
- package/ui/list-picker/index.ios.js +36 -26
- package/ui/list-picker/index.ios.js.map +1 -1
- package/ui/list-picker/list-picker-common.d.ts +1 -0
- package/ui/list-picker/list-picker-common.js +32 -26
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.android.js +110 -98
- package/ui/list-view/index.android.js.map +1 -1
- package/ui/list-view/index.d.ts +24 -0
- package/ui/list-view/index.ios.js +137 -121
- package/ui/list-view/index.ios.js.map +1 -1
- package/ui/list-view/list-view-common.js +116 -100
- package/ui/list-view/list-view-common.js.map +1 -1
- package/ui/page/index.android.js +65 -57
- package/ui/page/index.android.js.map +1 -1
- package/ui/page/index.d.ts +31 -2
- package/ui/page/index.ios.js +107 -98
- package/ui/page/index.ios.js.map +1 -1
- package/ui/page/page-common.js +145 -113
- package/ui/page/page-common.js.map +1 -1
- package/ui/placeholder/index.android.d.ts +1 -1
- package/ui/placeholder/index.android.js +16 -10
- package/ui/placeholder/index.android.js.map +1 -1
- package/ui/placeholder/index.d.ts +4 -0
- package/ui/placeholder/index.js +12 -6
- package/ui/placeholder/index.js.map +1 -1
- package/ui/progress/index.android.js +34 -28
- package/ui/progress/index.android.js.map +1 -1
- package/ui/progress/index.d.ts +13 -0
- package/ui/progress/index.ios.js +39 -29
- package/ui/progress/index.ios.js.map +1 -1
- package/ui/progress/progress-common.js +16 -11
- package/ui/progress/progress-common.js.map +1 -1
- package/ui/proxy-view-container/index.d.ts +2 -0
- package/ui/proxy-view-container/index.js +113 -90
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -0
- package/ui/repeater/index.js +114 -100
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.android.d.ts +1 -1
- package/ui/scroll-view/index.android.js +95 -75
- 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.js +92 -72
- package/ui/scroll-view/index.ios.js.map +1 -1
- package/ui/scroll-view/scroll-view-common.js +65 -45
- package/ui/scroll-view/scroll-view-common.js.map +1 -1
- package/ui/search-bar/index.android.js +94 -88
- 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.js +88 -74
- package/ui/search-bar/index.ios.js.map +1 -1
- package/ui/search-bar/search-bar-common.js +18 -13
- package/ui/search-bar/search-bar-common.js.map +1 -1
- package/ui/segmented-bar/index.android.js +112 -98
- package/ui/segmented-bar/index.android.js.map +1 -1
- package/ui/segmented-bar/index.d.ts +21 -5
- package/ui/segmented-bar/index.ios.js +80 -63
- package/ui/segmented-bar/index.ios.js.map +1 -1
- package/ui/segmented-bar/segmented-bar-common.js +81 -61
- package/ui/segmented-bar/segmented-bar-common.js.map +1 -1
- package/ui/slider/index.android.js +49 -43
- package/ui/slider/index.android.js.map +1 -1
- package/ui/slider/index.d.ts +27 -0
- package/ui/slider/index.ios.js +59 -49
- package/ui/slider/index.ios.js.map +1 -1
- package/ui/slider/slider-common.d.ts +1 -0
- package/ui/slider/slider-common.js +35 -27
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/background-common.js +100 -98
- package/ui/styling/background-common.js.map +1 -1
- package/ui/styling/background.android.js +38 -35
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/background.d.ts +2 -0
- package/ui/styling/background.ios.d.ts +1 -15
- package/ui/styling/background.ios.js +294 -290
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/box-shadow.js +6 -2
- package/ui/styling/box-shadow.js.map +1 -1
- package/ui/styling/converters.js +7 -7
- package/ui/styling/converters.js.map +1 -1
- package/ui/styling/css-animation-parser.js +69 -56
- package/ui/styling/css-animation-parser.js.map +1 -1
- package/ui/styling/css-selector.js +522 -425
- package/ui/styling/css-selector.js.map +1 -1
- package/ui/styling/css-shadow.js +2 -2
- package/ui/styling/css-shadow.js.map +1 -1
- package/ui/styling/css-stroke.js +3 -3
- package/ui/styling/css-stroke.js.map +1 -1
- package/ui/styling/css-utils.js +22 -22
- package/ui/styling/css-utils.js.map +1 -1
- package/ui/styling/font-common.js +59 -44
- package/ui/styling/font-common.js.map +1 -1
- package/ui/styling/font.android.js +42 -34
- package/ui/styling/font.android.js.map +1 -1
- package/ui/styling/font.ios.js +54 -49
- package/ui/styling/font.ios.js.map +1 -1
- package/ui/styling/linear-gradient.js +17 -13
- package/ui/styling/linear-gradient.js.map +1 -1
- package/ui/styling/style/index.d.ts +3 -1
- package/ui/styling/style/index.js +46 -35
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +1 -0
- package/ui/styling/style-properties.js +306 -291
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/styling/style-scope.js +416 -377
- package/ui/styling/style-scope.js.map +1 -1
- package/ui/switch/index.android.js +47 -41
- package/ui/switch/index.android.js.map +1 -1
- package/ui/switch/index.d.ts +11 -0
- package/ui/switch/index.ios.js +66 -57
- package/ui/switch/index.ios.js.map +1 -1
- package/ui/switch/switch-common.js +20 -15
- package/ui/switch/switch-common.js.map +1 -1
- package/ui/tab-view/index.android.js +206 -187
- package/ui/tab-view/index.android.js.map +1 -1
- package/ui/tab-view/index.d.ts +43 -5
- package/ui/tab-view/index.ios.js +177 -161
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/tab-view/tab-view-common.js +197 -143
- package/ui/tab-view/tab-view-common.js.map +1 -1
- package/ui/text-base/formatted-string.d.ts +24 -0
- package/ui/text-base/formatted-string.js +158 -105
- package/ui/text-base/formatted-string.js.map +1 -1
- package/ui/text-base/index.android.js +138 -141
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.d.ts +47 -0
- package/ui/text-base/index.ios.js +120 -112
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/span.d.ts +30 -0
- package/ui/text-base/span.js +158 -102
- package/ui/text-base/span.js.map +1 -1
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +268 -175
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.android.js +24 -18
- 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.js +80 -70
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/text-field/text-field-common.js +13 -8
- package/ui/text-field/text-field-common.js.map +1 -1
- package/ui/text-view/index.android.d.ts +0 -1
- package/ui/text-view/index.android.js +19 -14
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.d.ts +11 -11
- package/ui/text-view/index.ios.d.ts +0 -3
- package/ui/text-view/index.ios.js +129 -177
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.d.ts +0 -26
- package/ui/text-view/text-view-common.js +9 -37
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/index.android.js +24 -18
- package/ui/time-picker/index.android.js.map +1 -1
- package/ui/time-picker/index.d.ts +27 -0
- package/ui/time-picker/index.ios.js +69 -61
- 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 +42 -36
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/transition/fade-transition.android.js +14 -8
- package/ui/transition/fade-transition.android.js.map +1 -1
- package/ui/transition/fade-transition.ios.js +10 -4
- package/ui/transition/fade-transition.ios.js.map +1 -1
- package/ui/transition/flip-transition.android.js +18 -14
- package/ui/transition/flip-transition.android.js.map +1 -1
- package/ui/transition/index.android.js +27 -24
- package/ui/transition/index.android.js.map +1 -1
- package/ui/transition/index.ios.js +22 -18
- package/ui/transition/index.ios.js.map +1 -1
- package/ui/transition/modal-transition.android.js +10 -4
- package/ui/transition/modal-transition.android.js.map +1 -1
- package/ui/transition/modal-transition.ios.js +25 -18
- package/ui/transition/modal-transition.ios.js.map +1 -1
- package/ui/transition/page-transition.android.js +71 -57
- package/ui/transition/page-transition.android.js.map +1 -1
- package/ui/transition/page-transition.ios.js +27 -19
- package/ui/transition/page-transition.ios.js.map +1 -1
- package/ui/transition/shared-transition-helper.android.js +12 -8
- package/ui/transition/shared-transition-helper.android.js.map +1 -1
- package/ui/transition/shared-transition-helper.ios.js +539 -442
- package/ui/transition/shared-transition-helper.ios.js.map +1 -1
- package/ui/transition/shared-transition.js +76 -77
- package/ui/transition/shared-transition.js.map +1 -1
- package/ui/transition/slide-transition.android.js +22 -17
- package/ui/transition/slide-transition.android.js.map +1 -1
- package/ui/transition/slide-transition.ios.js +11 -7
- package/ui/transition/slide-transition.ios.js.map +1 -1
- package/ui/utils.d.ts +1 -1
- package/ui/utils.ios.d.ts +1 -2
- package/ui/utils.ios.js +13 -13
- package/ui/utils.ios.js.map +1 -1
- package/ui/web-view/index.android.js +64 -50
- package/ui/web-view/index.android.js.map +1 -1
- package/ui/web-view/index.d.ts +12 -0
- package/ui/web-view/index.ios.js +73 -50
- package/ui/web-view/index.ios.js.map +1 -1
- package/ui/web-view/web-view-common.d.ts +1 -1
- package/ui/web-view/web-view-common.js +43 -29
- package/ui/web-view/web-view-common.js.map +1 -1
- package/utils/android/index.js +27 -26
- package/utils/android/index.js.map +1 -1
- package/utils/common.js +65 -49
- package/utils/common.js.map +1 -1
- package/utils/constants.android.js +1 -1
- package/utils/constants.android.js.map +1 -1
- package/utils/constants.ios.js +1 -1
- package/utils/constants.ios.js.map +1 -1
- package/utils/debug.js +54 -32
- package/utils/debug.js.map +1 -1
- package/utils/index.android.d.ts +1 -0
- package/utils/index.android.js +48 -36
- 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 +27 -7
- package/utils/index.ios.js.map +1 -1
- package/utils/ios/index.js +44 -47
- package/utils/ios/index.js.map +1 -1
- package/utils/layout-helper/index.android.js +4 -4
- package/utils/layout-helper/index.android.js.map +1 -1
- package/utils/layout-helper/index.ios.js +2 -2
- package/utils/layout-helper/index.ios.js.map +1 -1
- package/utils/layout-helper/layout-helper-common.js +13 -13
- package/utils/layout-helper/layout-helper-common.js.map +1 -1
- package/utils/lazy.js +2 -2
- package/utils/lazy.js.map +1 -1
- package/utils/macrotask-scheduler.js +6 -6
- package/utils/macrotask-scheduler.js.map +1 -1
- package/utils/mainthread-helper.android.js +4 -4
- package/utils/mainthread-helper.android.js.map +1 -1
- package/utils/mainthread-helper.ios.js +1 -1
- package/utils/mainthread-helper.ios.js.map +1 -1
- package/utils/module-merge.js +1 -1
- package/utils/module-merge.js.map +1 -1
- package/utils/native-helper.android.js +19 -19
- package/utils/native-helper.android.js.map +1 -1
- package/utils/native-helper.ios.js +24 -16
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/number-utils.js +3 -3
- package/utils/number-utils.js.map +1 -1
- package/utils/platform-check.js +6 -6
- package/utils/platform-check.js.map +1 -1
- package/utils/types.js +43 -33
- package/utils/types.js.map +1 -1
- package/wgc/atob.js +1 -1
- package/wgc/btoa.js +1 -1
- package/wgc/crypto/SubtleCrypto.js +168 -133
- package/wgc/crypto/SubtleCrypto.js.map +1 -1
- package/wgc/crypto/index.d.ts +1 -1
- package/wgc/crypto/index.js +21 -12
- package/wgc/crypto/index.js.map +1 -1
- package/xhr/index.js +308 -226
- package/xhr/index.js.map +1 -1
- package/xml/index.js +119 -79
- package/xml/index.js.map +1 -1
- package/platforms/android/winter_cg-release.aar +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterCG.framework/Versions/A/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/ios-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSCWinterCG.h +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Headers/NSString+WinterCG.h +0 -21
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/NSCWinterCG.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Info.plist +0 -20
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/DWARF/NSCWinterCG +0 -0
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/aarch64/NSCWinterCG.yml +0 -40
- package/platforms/ios/NSCWinterCG.xcframework/xros-arm64_x86_64-simulator/dSYMs/NSCWinterCG.framework.dSYM/Contents/Resources/Relocations/x86_64/NSCWinterCG.yml +0 -40
|
@@ -17,27 +17,31 @@ import { accessibilityBlurEvent, accessibilityFocusChangedEvent, accessibilityFo
|
|
|
17
17
|
import { SharedTransition } from '../../transition/shared-transition';
|
|
18
18
|
// helpers (these are okay re-exported here)
|
|
19
19
|
export * from './view-helper';
|
|
20
|
-
|
|
20
|
+
var animationModule;
|
|
21
21
|
function ensureAnimationModule() {
|
|
22
22
|
if (!animationModule) {
|
|
23
23
|
animationModule = require('../../animation');
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export function CSSType(type) {
|
|
27
|
-
return (cls)
|
|
27
|
+
return function (cls) {
|
|
28
28
|
cls.prototype.cssType = type;
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export function viewMatchesModuleContext(view, context, types) {
|
|
32
|
-
return context && view._moduleName && context.type && types.some((type)
|
|
32
|
+
return context && view._moduleName && context.type && types.some(function (type) { return type === context.type; }) && context.path && context.path.includes(view._moduleName);
|
|
33
33
|
}
|
|
34
|
-
export function PseudoClassHandler(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
export function PseudoClassHandler() {
|
|
35
|
+
var pseudoClasses = [];
|
|
36
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
37
|
+
pseudoClasses[_i] = arguments[_i];
|
|
38
|
+
}
|
|
39
|
+
var stateEventNames = pseudoClasses.map(function (s) { return ':' + s; });
|
|
40
|
+
var listeners = Symbol('listeners');
|
|
41
|
+
return function (target, propertyKey, descriptor) {
|
|
38
42
|
function update(change) {
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
var prev = this[listeners] || 0;
|
|
44
|
+
var next = prev + change;
|
|
41
45
|
if (prev <= 0 && next > 0) {
|
|
42
46
|
this[propertyKey](true);
|
|
43
47
|
}
|
|
@@ -45,39 +49,45 @@ export function PseudoClassHandler(...pseudoClasses) {
|
|
|
45
49
|
this[propertyKey](false);
|
|
46
50
|
}
|
|
47
51
|
}
|
|
48
|
-
stateEventNames.forEach((s)
|
|
52
|
+
stateEventNames.forEach(function (s) { return (target[s] = update); });
|
|
49
53
|
};
|
|
50
54
|
}
|
|
51
|
-
export
|
|
55
|
+
export var _rootModalViews = new Array();
|
|
52
56
|
// TODO: remove once we fully switch to the new event system
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
var warnedEvent = new Set();
|
|
58
|
+
var ViewCommon = /** @class */ (function (_super) {
|
|
59
|
+
__extends(ViewCommon, _super);
|
|
60
|
+
function ViewCommon() {
|
|
61
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
62
|
+
_this._gestureObservers = {};
|
|
63
|
+
return _this;
|
|
64
|
+
}
|
|
65
|
+
Object.defineProperty(ViewCommon.prototype, "css", {
|
|
66
|
+
get: function () {
|
|
67
|
+
var scope = this._styleScope;
|
|
68
|
+
return scope && scope.css;
|
|
69
|
+
},
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this._updateStyleScope(undefined, undefined, value);
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
ViewCommon.prototype.addCss = function (cssString) {
|
|
67
77
|
this._updateStyleScope(undefined, cssString);
|
|
68
|
-
}
|
|
69
|
-
addCssFile(cssFileName) {
|
|
78
|
+
};
|
|
79
|
+
ViewCommon.prototype.addCssFile = function (cssFileName) {
|
|
70
80
|
this._updateStyleScope(cssFileName);
|
|
71
|
-
}
|
|
72
|
-
changeCssFile(cssFileName) {
|
|
73
|
-
|
|
81
|
+
};
|
|
82
|
+
ViewCommon.prototype.changeCssFile = function (cssFileName) {
|
|
83
|
+
var scope = this._styleScope;
|
|
74
84
|
if (scope && cssFileName) {
|
|
75
85
|
scope.changeCssFile(cssFileName);
|
|
76
86
|
this._onCssStateChange();
|
|
77
87
|
}
|
|
78
|
-
}
|
|
79
|
-
_updateStyleScope(cssFileName, cssString, css) {
|
|
80
|
-
|
|
88
|
+
};
|
|
89
|
+
ViewCommon.prototype._updateStyleScope = function (cssFileName, cssString, css) {
|
|
90
|
+
var scope = this._styleScope;
|
|
81
91
|
if (!scope) {
|
|
82
92
|
scope = new StyleScope();
|
|
83
93
|
this.setScopeProperty(scope, cssFileName, cssString, css);
|
|
@@ -88,8 +98,8 @@ export class ViewCommon extends ViewBase {
|
|
|
88
98
|
this.setScopeProperty(scope, cssFileName, cssString, css);
|
|
89
99
|
this._onCssStateChange();
|
|
90
100
|
}
|
|
91
|
-
}
|
|
92
|
-
setScopeProperty(scope, cssFileName, cssString, css) {
|
|
101
|
+
};
|
|
102
|
+
ViewCommon.prototype.setScopeProperty = function (scope, cssFileName, cssString, css) {
|
|
93
103
|
if (cssFileName !== undefined) {
|
|
94
104
|
scope.addCssFile(cssFileName);
|
|
95
105
|
}
|
|
@@ -99,75 +109,73 @@ export class ViewCommon extends ViewBase {
|
|
|
99
109
|
else if (css !== undefined) {
|
|
100
110
|
scope.css = css;
|
|
101
111
|
}
|
|
102
|
-
}
|
|
103
|
-
onLoaded() {
|
|
112
|
+
};
|
|
113
|
+
ViewCommon.prototype.onLoaded = function () {
|
|
104
114
|
if (!this.isLoaded) {
|
|
105
|
-
|
|
106
|
-
|
|
115
|
+
var hasTap = this.hasListeners('tap') || this.hasListeners('tapChange') || !!this.getGestureObservers(GestureTypes.tap);
|
|
116
|
+
var enableTapAnimations = TouchManager.enableGlobalTapAnimations && hasTap;
|
|
107
117
|
if (!this.ignoreTouchAnimation && (this.touchAnimation || enableTapAnimations)) {
|
|
108
118
|
TouchManager.addAnimations(this);
|
|
109
119
|
}
|
|
110
120
|
if (__VISIONOS__) {
|
|
111
|
-
|
|
121
|
+
var enableHoverStyle = TouchManager.enableGlobalHoverWhereTap && hasTap;
|
|
112
122
|
if (!this.visionIgnoreHoverStyle && (this.visionHoverStyle || enableHoverStyle)) {
|
|
113
123
|
TouchManager.addHoverStyle(this);
|
|
114
124
|
}
|
|
115
125
|
}
|
|
116
126
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
_closeAllModalViewsInternal() {
|
|
127
|
+
_super.prototype.onLoaded.call(this);
|
|
128
|
+
setupAccessibleView(this);
|
|
129
|
+
};
|
|
130
|
+
ViewCommon.prototype._closeAllModalViewsInternal = function () {
|
|
123
131
|
if (_rootModalViews && _rootModalViews.length > 0) {
|
|
124
|
-
_rootModalViews.forEach((v)
|
|
132
|
+
_rootModalViews.forEach(function (v) {
|
|
125
133
|
v.closeModal();
|
|
126
134
|
});
|
|
127
135
|
return true;
|
|
128
136
|
}
|
|
129
137
|
return false;
|
|
130
|
-
}
|
|
131
|
-
_getRootModalViews() {
|
|
138
|
+
};
|
|
139
|
+
ViewCommon.prototype._getRootModalViews = function () {
|
|
132
140
|
return _rootModalViews;
|
|
133
|
-
}
|
|
134
|
-
_onLivesync(context) {
|
|
141
|
+
};
|
|
142
|
+
ViewCommon.prototype._onLivesync = function (context) {
|
|
135
143
|
if (Trace.isEnabled()) {
|
|
136
|
-
Trace.write(
|
|
144
|
+
Trace.write("".concat(this, "._onLivesync(").concat(JSON.stringify(context), ")"), Trace.categories.Livesync);
|
|
137
145
|
}
|
|
138
|
-
|
|
146
|
+
var handled = false;
|
|
139
147
|
if (this._closeAllModalViewsInternal()) {
|
|
140
148
|
handled = true;
|
|
141
149
|
}
|
|
142
150
|
if (this._handleLivesync(context)) {
|
|
143
151
|
return true;
|
|
144
152
|
}
|
|
145
|
-
this.eachChildView((child)
|
|
153
|
+
this.eachChildView(function (child) {
|
|
146
154
|
if (child._onLivesync(context)) {
|
|
147
155
|
handled = true;
|
|
148
156
|
return false;
|
|
149
157
|
}
|
|
150
158
|
});
|
|
151
159
|
return handled;
|
|
152
|
-
}
|
|
153
|
-
_handleLivesync(context) {
|
|
160
|
+
};
|
|
161
|
+
ViewCommon.prototype._handleLivesync = function (context) {
|
|
154
162
|
if (Trace.isEnabled()) {
|
|
155
|
-
Trace.write(
|
|
163
|
+
Trace.write("".concat(this, "._handleLivesync(").concat(JSON.stringify(context), ")"), Trace.categories.Livesync);
|
|
156
164
|
}
|
|
157
165
|
// Handle local CSS
|
|
158
166
|
if (viewMatchesModuleContext(this, context, ['style'])) {
|
|
159
167
|
if (Trace.isEnabled()) {
|
|
160
|
-
Trace.write(
|
|
168
|
+
Trace.write("Change Handled: Changing CSS for ".concat(this), Trace.categories.Livesync);
|
|
161
169
|
}
|
|
162
170
|
// Always load styles with ".css" extension. Even when changes are in ".scss" ot ".less" files
|
|
163
|
-
|
|
171
|
+
var cssModuleName = "".concat(sanitizeModuleName(context.path), ".css");
|
|
164
172
|
this.changeCssFile(cssModuleName);
|
|
165
173
|
return true;
|
|
166
174
|
}
|
|
167
175
|
// Handle script/markup changes in custom components by falling back to page refresh
|
|
168
176
|
if (viewMatchesModuleContext(this, context, ['markup', 'script']) && this.page && this.page.frame) {
|
|
169
177
|
if (Trace.isEnabled()) {
|
|
170
|
-
Trace.write(
|
|
178
|
+
Trace.write("Change Handled: Changing ".concat(context.type, " for ").concat(this, " inside ").concat(this.page), Trace.categories.Livesync);
|
|
171
179
|
}
|
|
172
180
|
return this.page.frame._handleLivesync({
|
|
173
181
|
type: context.type,
|
|
@@ -175,16 +183,17 @@ export class ViewCommon extends ViewBase {
|
|
|
175
183
|
});
|
|
176
184
|
}
|
|
177
185
|
return false;
|
|
178
|
-
}
|
|
179
|
-
_setupAsRootView(context) {
|
|
180
|
-
|
|
186
|
+
};
|
|
187
|
+
ViewCommon.prototype._setupAsRootView = function (context) {
|
|
188
|
+
_super.prototype._setupAsRootView.call(this, context);
|
|
181
189
|
if (!this._styleScope) {
|
|
182
190
|
this._updateStyleScope();
|
|
183
191
|
}
|
|
184
|
-
}
|
|
185
|
-
_observe(type, callback, thisArg) {
|
|
192
|
+
};
|
|
193
|
+
ViewCommon.prototype._observe = function (type, callback, thisArg) {
|
|
194
|
+
var _a;
|
|
186
195
|
thisArg = thisArg || undefined;
|
|
187
|
-
if (this._gestureObservers[type]
|
|
196
|
+
if ((_a = this._gestureObservers[type]) === null || _a === void 0 ? void 0 : _a.find(function (observer) { return observer.callback === callback && observer.context === thisArg; })) {
|
|
188
197
|
// Already added.
|
|
189
198
|
return;
|
|
190
199
|
}
|
|
@@ -192,70 +201,70 @@ export class ViewCommon extends ViewBase {
|
|
|
192
201
|
this._gestureObservers[type] = [];
|
|
193
202
|
}
|
|
194
203
|
this._gestureObservers[type].push(gestureObserve(this, type, callback, thisArg));
|
|
195
|
-
}
|
|
196
|
-
getGestureObservers(type) {
|
|
204
|
+
};
|
|
205
|
+
ViewCommon.prototype.getGestureObservers = function (type) {
|
|
197
206
|
return this._gestureObservers[type];
|
|
198
|
-
}
|
|
199
|
-
addEventListener(eventNames, callback, thisArg) {
|
|
207
|
+
};
|
|
208
|
+
ViewCommon.prototype.addEventListener = function (eventNames, callback, thisArg) {
|
|
200
209
|
thisArg = thisArg || undefined;
|
|
201
210
|
// TODO: Remove this once we fully switch to the new event system
|
|
202
211
|
if (typeof eventNames === 'number') {
|
|
203
212
|
// likely a gesture type from a plugin
|
|
204
|
-
|
|
213
|
+
var gestureName = gestureToString(eventNames);
|
|
205
214
|
if (!warnedEvent.has(gestureName)) {
|
|
206
|
-
console.warn(
|
|
215
|
+
console.warn("Using a gesture type (".concat(gestureName, ") as an event name is deprecated. Please use the event name instead."));
|
|
207
216
|
warnedEvent.add(gestureName);
|
|
208
217
|
}
|
|
209
218
|
eventNames = gestureName;
|
|
210
219
|
}
|
|
211
220
|
// Normalize "ontap" -> "tap"
|
|
212
|
-
|
|
221
|
+
var normalizedName = getEventOrGestureName(eventNames);
|
|
213
222
|
// Coerce "tap" -> GestureTypes.tap
|
|
214
223
|
// Coerce "loaded" -> undefined
|
|
215
|
-
|
|
224
|
+
var gestureType = gestureFromString(normalizedName);
|
|
216
225
|
// If it's a gesture (and this Observable declares e.g. `static tapEvent`)
|
|
217
226
|
if (gestureType && !this._isEvent(normalizedName)) {
|
|
218
227
|
this._observe(gestureType, callback, thisArg);
|
|
219
228
|
return;
|
|
220
229
|
}
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
removeEventListener(eventNames, callback, thisArg) {
|
|
230
|
+
_super.prototype.addEventListener.call(this, normalizedName, callback, thisArg);
|
|
231
|
+
};
|
|
232
|
+
ViewCommon.prototype.removeEventListener = function (eventNames, callback, thisArg) {
|
|
224
233
|
thisArg = thisArg || undefined;
|
|
225
234
|
// TODO: Remove this once we fully switch to the new event system
|
|
226
235
|
if (typeof eventNames === 'number') {
|
|
227
236
|
// likely a gesture type from a plugin
|
|
228
|
-
|
|
237
|
+
var gestureName = gestureToString(eventNames);
|
|
229
238
|
if (!warnedEvent.has(gestureName)) {
|
|
230
|
-
console.warn(
|
|
239
|
+
console.warn("Using a gesture type (".concat(gestureName, ") as an event name is deprecated. Please use the event name instead."));
|
|
231
240
|
warnedEvent.add(gestureName);
|
|
232
241
|
}
|
|
233
242
|
eventNames = gestureName;
|
|
234
243
|
}
|
|
235
244
|
// Normalize "ontap" -> "tap"
|
|
236
|
-
|
|
245
|
+
var normalizedName = getEventOrGestureName(eventNames);
|
|
237
246
|
// Coerce "tap" -> GestureTypes.tap
|
|
238
247
|
// Coerce "loaded" -> undefined
|
|
239
|
-
|
|
248
|
+
var gestureType = gestureFromString(normalizedName);
|
|
240
249
|
// If it's a gesture (and this Observable declares e.g. `static tapEvent`)
|
|
241
250
|
if (gestureType && !this._isEvent(normalizedName)) {
|
|
242
251
|
this._disconnectGestureObservers(gestureType, callback, thisArg);
|
|
243
252
|
return;
|
|
244
253
|
}
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
onBackPressed() {
|
|
254
|
+
_super.prototype.removeEventListener.call(this, normalizedName, callback, thisArg);
|
|
255
|
+
};
|
|
256
|
+
ViewCommon.prototype.onBackPressed = function () {
|
|
248
257
|
return false;
|
|
249
|
-
}
|
|
250
|
-
_getFragmentManager() {
|
|
258
|
+
};
|
|
259
|
+
ViewCommon.prototype._getFragmentManager = function () {
|
|
251
260
|
return undefined;
|
|
252
|
-
}
|
|
253
|
-
getModalOptions(args) {
|
|
261
|
+
};
|
|
262
|
+
ViewCommon.prototype.getModalOptions = function (args) {
|
|
254
263
|
if (args.length === 0) {
|
|
255
264
|
throw new Error('showModal without parameters is deprecated. Please call showModal on a view instance instead.');
|
|
256
265
|
}
|
|
257
266
|
else {
|
|
258
|
-
|
|
267
|
+
var options = null;
|
|
259
268
|
if (args.length === 2) {
|
|
260
269
|
options = args[1];
|
|
261
270
|
}
|
|
@@ -274,119 +283,137 @@ export class ViewCommon extends ViewBase {
|
|
|
274
283
|
stretched: args[5],
|
|
275
284
|
};
|
|
276
285
|
}
|
|
277
|
-
|
|
278
|
-
|
|
286
|
+
var firstArgument = args[0];
|
|
287
|
+
var view = firstArgument instanceof ViewCommon ? firstArgument : Builder.createViewFromEntry({
|
|
279
288
|
moduleName: firstArgument,
|
|
280
289
|
});
|
|
281
|
-
return { view, options };
|
|
290
|
+
return { view: view, options: options };
|
|
282
291
|
}
|
|
283
|
-
}
|
|
284
|
-
showModal(
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
292
|
+
};
|
|
293
|
+
ViewCommon.prototype.showModal = function () {
|
|
294
|
+
var _a, _b;
|
|
295
|
+
var args = [];
|
|
296
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
297
|
+
args[_i] = arguments[_i];
|
|
298
|
+
}
|
|
299
|
+
var _c = this.getModalOptions(args), view = _c.view, options = _c.options;
|
|
300
|
+
if ((_a = options.transition) === null || _a === void 0 ? void 0 : _a.instance) {
|
|
301
|
+
SharedTransition.updateState((_b = options.transition) === null || _b === void 0 ? void 0 : _b.instance.id, {
|
|
288
302
|
page: this,
|
|
289
303
|
toPage: view,
|
|
290
304
|
});
|
|
291
305
|
}
|
|
292
306
|
view._showNativeModalView(this, options);
|
|
293
307
|
return view;
|
|
294
|
-
}
|
|
295
|
-
closeModal(
|
|
296
|
-
|
|
308
|
+
};
|
|
309
|
+
ViewCommon.prototype.closeModal = function () {
|
|
310
|
+
var args = [];
|
|
311
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
312
|
+
args[_i] = arguments[_i];
|
|
313
|
+
}
|
|
314
|
+
var closeCallback = this._closeModalCallback;
|
|
297
315
|
if (closeCallback) {
|
|
298
|
-
closeCallback(
|
|
316
|
+
closeCallback.apply(void 0, args);
|
|
299
317
|
}
|
|
300
318
|
else {
|
|
301
|
-
|
|
302
|
-
if (
|
|
303
|
-
|
|
319
|
+
var parent_1 = this.parent;
|
|
320
|
+
if (parent_1) {
|
|
321
|
+
parent_1.closeModal.apply(parent_1, args);
|
|
304
322
|
}
|
|
305
323
|
}
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
324
|
+
};
|
|
325
|
+
Object.defineProperty(ViewCommon.prototype, "modal", {
|
|
326
|
+
get: function () {
|
|
327
|
+
return this._modal;
|
|
328
|
+
},
|
|
329
|
+
enumerable: false,
|
|
330
|
+
configurable: true
|
|
331
|
+
});
|
|
332
|
+
ViewCommon.prototype._showNativeModalView = function (parent, options) {
|
|
333
|
+
var _this = this;
|
|
311
334
|
_rootModalViews.push(this);
|
|
312
335
|
this.cssClasses.add(CSSUtils.MODAL_ROOT_VIEW_CSS_CLASS);
|
|
313
|
-
|
|
314
|
-
modalRootViewCssClasses.forEach((c)
|
|
336
|
+
var modalRootViewCssClasses = CSSUtils.getSystemCssClasses();
|
|
337
|
+
modalRootViewCssClasses.forEach(function (c) { return _this.cssClasses.add(c); });
|
|
315
338
|
parent._modal = this;
|
|
316
339
|
this.style.fontScaleInternal = getCurrentFontScale();
|
|
317
340
|
this._modalParent = parent;
|
|
318
341
|
this._modalContext = options.context;
|
|
319
|
-
this._closeModalCallback = (
|
|
320
|
-
|
|
321
|
-
|
|
342
|
+
this._closeModalCallback = function () {
|
|
343
|
+
var originalArgs = [];
|
|
344
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
345
|
+
originalArgs[_i] = arguments[_i];
|
|
346
|
+
}
|
|
347
|
+
var cleanupModalViews = function () {
|
|
348
|
+
var modalIndex = _rootModalViews.indexOf(_this);
|
|
322
349
|
_rootModalViews.splice(modalIndex, 1);
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
350
|
+
_this._modalParent = null;
|
|
351
|
+
_this._modalContext = null;
|
|
352
|
+
_this._closeModalCallback = null;
|
|
353
|
+
_this._dialogClosed();
|
|
327
354
|
parent._modal = null;
|
|
328
355
|
};
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
if (transitionState
|
|
332
|
-
SharedTransition.updateState(
|
|
356
|
+
var whenClosedCallback = function () {
|
|
357
|
+
var transitionState = SharedTransition.getState(_this.transitionId);
|
|
358
|
+
if (transitionState === null || transitionState === void 0 ? void 0 : transitionState.interactiveBegan) {
|
|
359
|
+
SharedTransition.updateState(_this.transitionId, {
|
|
333
360
|
interactiveBegan: false,
|
|
334
361
|
});
|
|
335
|
-
if (!transitionState
|
|
362
|
+
if (!(transitionState === null || transitionState === void 0 ? void 0 : transitionState.interactiveCancelled)) {
|
|
336
363
|
cleanupModalViews();
|
|
337
364
|
}
|
|
338
365
|
}
|
|
339
|
-
if (!transitionState
|
|
366
|
+
if (!(transitionState === null || transitionState === void 0 ? void 0 : transitionState.interactiveCancelled)) {
|
|
340
367
|
if (typeof options.closeCallback === 'function') {
|
|
341
368
|
options.closeCallback.apply(undefined, originalArgs);
|
|
342
369
|
}
|
|
343
|
-
|
|
370
|
+
_this._tearDownUI(true);
|
|
344
371
|
}
|
|
345
372
|
};
|
|
346
|
-
|
|
347
|
-
if (!transitionState
|
|
373
|
+
var transitionState = SharedTransition.getState(_this.transitionId);
|
|
374
|
+
if (!(transitionState === null || transitionState === void 0 ? void 0 : transitionState.interactiveBegan)) {
|
|
348
375
|
cleanupModalViews();
|
|
349
376
|
}
|
|
350
|
-
|
|
377
|
+
_this._hideNativeModalView(parent, whenClosedCallback);
|
|
351
378
|
};
|
|
352
|
-
}
|
|
353
|
-
_hideNativeModalView(parent, whenClosedCallback) { }
|
|
354
|
-
_raiseLayoutChangedEvent() {
|
|
355
|
-
|
|
379
|
+
};
|
|
380
|
+
ViewCommon.prototype._hideNativeModalView = function (parent, whenClosedCallback) { };
|
|
381
|
+
ViewCommon.prototype._raiseLayoutChangedEvent = function () {
|
|
382
|
+
var args = {
|
|
356
383
|
eventName: ViewCommon.layoutChangedEvent,
|
|
357
384
|
object: this,
|
|
358
385
|
};
|
|
359
386
|
this.notify(args);
|
|
360
|
-
}
|
|
361
|
-
_raiseShownModallyEvent() {
|
|
362
|
-
|
|
387
|
+
};
|
|
388
|
+
ViewCommon.prototype._raiseShownModallyEvent = function () {
|
|
389
|
+
var args = {
|
|
363
390
|
eventName: ViewCommon.shownModallyEvent,
|
|
364
391
|
object: this,
|
|
365
392
|
context: this._modalContext,
|
|
366
393
|
closeCallback: this._closeModalCallback,
|
|
367
394
|
};
|
|
368
395
|
this.notify(args);
|
|
369
|
-
}
|
|
370
|
-
_raiseShowingModallyEvent() {
|
|
371
|
-
|
|
396
|
+
};
|
|
397
|
+
ViewCommon.prototype._raiseShowingModallyEvent = function () {
|
|
398
|
+
var args = {
|
|
372
399
|
eventName: ViewCommon.showingModallyEvent,
|
|
373
400
|
object: this,
|
|
374
401
|
context: this._modalContext,
|
|
375
402
|
closeCallback: this._closeModalCallback,
|
|
376
403
|
};
|
|
377
404
|
this.notify(args);
|
|
378
|
-
}
|
|
379
|
-
_isEvent(name) {
|
|
380
|
-
return this.constructor &&
|
|
381
|
-
}
|
|
382
|
-
_disconnectGestureObservers(type, callback, thisArg) {
|
|
405
|
+
};
|
|
406
|
+
ViewCommon.prototype._isEvent = function (name) {
|
|
407
|
+
return this.constructor && "".concat(name, "Event") in this.constructor;
|
|
408
|
+
};
|
|
409
|
+
ViewCommon.prototype._disconnectGestureObservers = function (type, callback, thisArg) {
|
|
383
410
|
// Largely mirrors the implementation of Observable.innerRemoveEventListener().
|
|
384
|
-
|
|
411
|
+
var observers = this.getGestureObservers(type);
|
|
385
412
|
if (!observers) {
|
|
386
413
|
return;
|
|
387
414
|
}
|
|
388
|
-
for (
|
|
389
|
-
|
|
415
|
+
for (var i = 0; i < observers.length; i++) {
|
|
416
|
+
var observer = observers[i];
|
|
390
417
|
// If we have a `thisArg`, refine on both `callback` and `thisArg`.
|
|
391
418
|
if (thisArg && (observer.callback !== callback || observer.context !== thisArg)) {
|
|
392
419
|
continue;
|
|
@@ -402,460 +429,732 @@ export class ViewCommon extends ViewBase {
|
|
|
402
429
|
if (!observers.length) {
|
|
403
430
|
delete this._gestureObservers[type];
|
|
404
431
|
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
432
|
+
};
|
|
433
|
+
Object.defineProperty(ViewCommon.prototype, "flexFlow", {
|
|
434
|
+
// START Style property shortcuts
|
|
435
|
+
get: function () {
|
|
436
|
+
return this.style.flexFlow;
|
|
437
|
+
},
|
|
438
|
+
set: function (value) {
|
|
439
|
+
this.style.flexFlow = value;
|
|
440
|
+
},
|
|
441
|
+
enumerable: false,
|
|
442
|
+
configurable: true
|
|
443
|
+
});
|
|
444
|
+
Object.defineProperty(ViewCommon.prototype, "flex", {
|
|
445
|
+
get: function () {
|
|
446
|
+
return this.style.flex;
|
|
447
|
+
},
|
|
448
|
+
set: function (value) {
|
|
449
|
+
this.style.flex = value;
|
|
450
|
+
},
|
|
451
|
+
enumerable: false,
|
|
452
|
+
configurable: true
|
|
453
|
+
});
|
|
454
|
+
Object.defineProperty(ViewCommon.prototype, "borderColor", {
|
|
455
|
+
get: function () {
|
|
456
|
+
return this.style.borderColor;
|
|
457
|
+
},
|
|
458
|
+
set: function (value) {
|
|
459
|
+
this.style.borderColor = value;
|
|
460
|
+
},
|
|
461
|
+
enumerable: false,
|
|
462
|
+
configurable: true
|
|
463
|
+
});
|
|
464
|
+
Object.defineProperty(ViewCommon.prototype, "borderTopColor", {
|
|
465
|
+
get: function () {
|
|
466
|
+
return this.style.borderTopColor;
|
|
467
|
+
},
|
|
468
|
+
set: function (value) {
|
|
469
|
+
this.style.borderTopColor = value;
|
|
470
|
+
},
|
|
471
|
+
enumerable: false,
|
|
472
|
+
configurable: true
|
|
473
|
+
});
|
|
474
|
+
Object.defineProperty(ViewCommon.prototype, "borderRightColor", {
|
|
475
|
+
get: function () {
|
|
476
|
+
return this.style.borderRightColor;
|
|
477
|
+
},
|
|
478
|
+
set: function (value) {
|
|
479
|
+
this.style.borderRightColor = value;
|
|
480
|
+
},
|
|
481
|
+
enumerable: false,
|
|
482
|
+
configurable: true
|
|
483
|
+
});
|
|
484
|
+
Object.defineProperty(ViewCommon.prototype, "borderBottomColor", {
|
|
485
|
+
get: function () {
|
|
486
|
+
return this.style.borderBottomColor;
|
|
487
|
+
},
|
|
488
|
+
set: function (value) {
|
|
489
|
+
this.style.borderBottomColor = value;
|
|
490
|
+
},
|
|
491
|
+
enumerable: false,
|
|
492
|
+
configurable: true
|
|
493
|
+
});
|
|
494
|
+
Object.defineProperty(ViewCommon.prototype, "borderLeftColor", {
|
|
495
|
+
get: function () {
|
|
496
|
+
return this.style.borderLeftColor;
|
|
497
|
+
},
|
|
498
|
+
set: function (value) {
|
|
499
|
+
this.style.borderLeftColor = value;
|
|
500
|
+
},
|
|
501
|
+
enumerable: false,
|
|
502
|
+
configurable: true
|
|
503
|
+
});
|
|
504
|
+
Object.defineProperty(ViewCommon.prototype, "borderWidth", {
|
|
505
|
+
get: function () {
|
|
506
|
+
return this.style.borderWidth;
|
|
507
|
+
},
|
|
508
|
+
set: function (value) {
|
|
509
|
+
this.style.borderWidth = value;
|
|
510
|
+
},
|
|
511
|
+
enumerable: false,
|
|
512
|
+
configurable: true
|
|
513
|
+
});
|
|
514
|
+
Object.defineProperty(ViewCommon.prototype, "borderTopWidth", {
|
|
515
|
+
get: function () {
|
|
516
|
+
return this.style.borderTopWidth;
|
|
517
|
+
},
|
|
518
|
+
set: function (value) {
|
|
519
|
+
this.style.borderTopWidth = value;
|
|
520
|
+
},
|
|
521
|
+
enumerable: false,
|
|
522
|
+
configurable: true
|
|
523
|
+
});
|
|
524
|
+
Object.defineProperty(ViewCommon.prototype, "borderRightWidth", {
|
|
525
|
+
get: function () {
|
|
526
|
+
return this.style.borderRightWidth;
|
|
527
|
+
},
|
|
528
|
+
set: function (value) {
|
|
529
|
+
this.style.borderRightWidth = value;
|
|
530
|
+
},
|
|
531
|
+
enumerable: false,
|
|
532
|
+
configurable: true
|
|
533
|
+
});
|
|
534
|
+
Object.defineProperty(ViewCommon.prototype, "borderBottomWidth", {
|
|
535
|
+
get: function () {
|
|
536
|
+
return this.style.borderBottomWidth;
|
|
537
|
+
},
|
|
538
|
+
set: function (value) {
|
|
539
|
+
this.style.borderBottomWidth = value;
|
|
540
|
+
},
|
|
541
|
+
enumerable: false,
|
|
542
|
+
configurable: true
|
|
543
|
+
});
|
|
544
|
+
Object.defineProperty(ViewCommon.prototype, "borderLeftWidth", {
|
|
545
|
+
get: function () {
|
|
546
|
+
return this.style.borderLeftWidth;
|
|
547
|
+
},
|
|
548
|
+
set: function (value) {
|
|
549
|
+
this.style.borderLeftWidth = value;
|
|
550
|
+
},
|
|
551
|
+
enumerable: false,
|
|
552
|
+
configurable: true
|
|
553
|
+
});
|
|
554
|
+
Object.defineProperty(ViewCommon.prototype, "borderRadius", {
|
|
555
|
+
get: function () {
|
|
556
|
+
return this.style.borderRadius;
|
|
557
|
+
},
|
|
558
|
+
set: function (value) {
|
|
559
|
+
this.style.borderRadius = value;
|
|
560
|
+
},
|
|
561
|
+
enumerable: false,
|
|
562
|
+
configurable: true
|
|
563
|
+
});
|
|
564
|
+
Object.defineProperty(ViewCommon.prototype, "borderTopLeftRadius", {
|
|
565
|
+
get: function () {
|
|
566
|
+
return this.style.borderTopLeftRadius;
|
|
567
|
+
},
|
|
568
|
+
set: function (value) {
|
|
569
|
+
this.style.borderTopLeftRadius = value;
|
|
570
|
+
},
|
|
571
|
+
enumerable: false,
|
|
572
|
+
configurable: true
|
|
573
|
+
});
|
|
574
|
+
Object.defineProperty(ViewCommon.prototype, "borderTopRightRadius", {
|
|
575
|
+
get: function () {
|
|
576
|
+
return this.style.borderTopRightRadius;
|
|
577
|
+
},
|
|
578
|
+
set: function (value) {
|
|
579
|
+
this.style.borderTopRightRadius = value;
|
|
580
|
+
},
|
|
581
|
+
enumerable: false,
|
|
582
|
+
configurable: true
|
|
583
|
+
});
|
|
584
|
+
Object.defineProperty(ViewCommon.prototype, "borderBottomRightRadius", {
|
|
585
|
+
get: function () {
|
|
586
|
+
return this.style.borderBottomRightRadius;
|
|
587
|
+
},
|
|
588
|
+
set: function (value) {
|
|
589
|
+
this.style.borderBottomRightRadius = value;
|
|
590
|
+
},
|
|
591
|
+
enumerable: false,
|
|
592
|
+
configurable: true
|
|
593
|
+
});
|
|
594
|
+
Object.defineProperty(ViewCommon.prototype, "borderBottomLeftRadius", {
|
|
595
|
+
get: function () {
|
|
596
|
+
return this.style.borderBottomLeftRadius;
|
|
597
|
+
},
|
|
598
|
+
set: function (value) {
|
|
599
|
+
this.style.borderBottomLeftRadius = value;
|
|
600
|
+
},
|
|
601
|
+
enumerable: false,
|
|
602
|
+
configurable: true
|
|
603
|
+
});
|
|
604
|
+
Object.defineProperty(ViewCommon.prototype, "color", {
|
|
605
|
+
get: function () {
|
|
606
|
+
return this.style.color;
|
|
607
|
+
},
|
|
608
|
+
set: function (value) {
|
|
609
|
+
this.style.color = value;
|
|
610
|
+
},
|
|
611
|
+
enumerable: false,
|
|
612
|
+
configurable: true
|
|
613
|
+
});
|
|
614
|
+
Object.defineProperty(ViewCommon.prototype, "background", {
|
|
615
|
+
get: function () {
|
|
616
|
+
return this.style.background;
|
|
617
|
+
},
|
|
618
|
+
set: function (value) {
|
|
619
|
+
this.style.background = value;
|
|
620
|
+
},
|
|
621
|
+
enumerable: false,
|
|
622
|
+
configurable: true
|
|
623
|
+
});
|
|
624
|
+
Object.defineProperty(ViewCommon.prototype, "backgroundColor", {
|
|
625
|
+
get: function () {
|
|
626
|
+
return this.style.backgroundColor;
|
|
627
|
+
},
|
|
628
|
+
set: function (value) {
|
|
629
|
+
this.style.backgroundColor = value;
|
|
630
|
+
},
|
|
631
|
+
enumerable: false,
|
|
632
|
+
configurable: true
|
|
633
|
+
});
|
|
634
|
+
Object.defineProperty(ViewCommon.prototype, "backgroundImage", {
|
|
635
|
+
get: function () {
|
|
636
|
+
return this.style.backgroundImage;
|
|
637
|
+
},
|
|
638
|
+
set: function (value) {
|
|
639
|
+
this.style.backgroundImage = value;
|
|
640
|
+
},
|
|
641
|
+
enumerable: false,
|
|
642
|
+
configurable: true
|
|
643
|
+
});
|
|
644
|
+
Object.defineProperty(ViewCommon.prototype, "backgroundSize", {
|
|
645
|
+
get: function () {
|
|
646
|
+
return this.style.backgroundSize;
|
|
647
|
+
},
|
|
648
|
+
set: function (value) {
|
|
649
|
+
this.style.backgroundSize = value;
|
|
650
|
+
},
|
|
651
|
+
enumerable: false,
|
|
652
|
+
configurable: true
|
|
653
|
+
});
|
|
654
|
+
Object.defineProperty(ViewCommon.prototype, "backgroundPosition", {
|
|
655
|
+
get: function () {
|
|
656
|
+
return this.style.backgroundPosition;
|
|
657
|
+
},
|
|
658
|
+
set: function (value) {
|
|
659
|
+
this.style.backgroundPosition = value;
|
|
660
|
+
},
|
|
661
|
+
enumerable: false,
|
|
662
|
+
configurable: true
|
|
663
|
+
});
|
|
664
|
+
Object.defineProperty(ViewCommon.prototype, "backgroundRepeat", {
|
|
665
|
+
get: function () {
|
|
666
|
+
return this.style.backgroundRepeat;
|
|
667
|
+
},
|
|
668
|
+
set: function (value) {
|
|
669
|
+
this.style.backgroundRepeat = value;
|
|
670
|
+
},
|
|
671
|
+
enumerable: false,
|
|
672
|
+
configurable: true
|
|
673
|
+
});
|
|
674
|
+
Object.defineProperty(ViewCommon.prototype, "boxShadow", {
|
|
675
|
+
get: function () {
|
|
676
|
+
return this.style.boxShadow;
|
|
677
|
+
},
|
|
678
|
+
set: function (value) {
|
|
679
|
+
this.style.boxShadow = value;
|
|
680
|
+
},
|
|
681
|
+
enumerable: false,
|
|
682
|
+
configurable: true
|
|
683
|
+
});
|
|
684
|
+
Object.defineProperty(ViewCommon.prototype, "minWidth", {
|
|
685
|
+
get: function () {
|
|
686
|
+
return this.style.minWidth;
|
|
687
|
+
},
|
|
688
|
+
set: function (value) {
|
|
689
|
+
this.style.minWidth = value;
|
|
690
|
+
},
|
|
691
|
+
enumerable: false,
|
|
692
|
+
configurable: true
|
|
693
|
+
});
|
|
694
|
+
Object.defineProperty(ViewCommon.prototype, "minHeight", {
|
|
695
|
+
get: function () {
|
|
696
|
+
return this.style.minHeight;
|
|
697
|
+
},
|
|
698
|
+
set: function (value) {
|
|
699
|
+
this.style.minHeight = value;
|
|
700
|
+
},
|
|
701
|
+
enumerable: false,
|
|
702
|
+
configurable: true
|
|
703
|
+
});
|
|
704
|
+
Object.defineProperty(ViewCommon.prototype, "width", {
|
|
705
|
+
get: function () {
|
|
706
|
+
return this.style.width;
|
|
707
|
+
},
|
|
708
|
+
set: function (value) {
|
|
709
|
+
this.style.width = value;
|
|
710
|
+
},
|
|
711
|
+
enumerable: false,
|
|
712
|
+
configurable: true
|
|
713
|
+
});
|
|
714
|
+
Object.defineProperty(ViewCommon.prototype, "height", {
|
|
715
|
+
get: function () {
|
|
716
|
+
return this.style.height;
|
|
717
|
+
},
|
|
718
|
+
set: function (value) {
|
|
719
|
+
this.style.height = value;
|
|
720
|
+
},
|
|
721
|
+
enumerable: false,
|
|
722
|
+
configurable: true
|
|
723
|
+
});
|
|
724
|
+
Object.defineProperty(ViewCommon.prototype, "margin", {
|
|
725
|
+
get: function () {
|
|
726
|
+
return this.style.margin;
|
|
727
|
+
},
|
|
728
|
+
set: function (value) {
|
|
729
|
+
this.style.margin = value;
|
|
730
|
+
},
|
|
731
|
+
enumerable: false,
|
|
732
|
+
configurable: true
|
|
733
|
+
});
|
|
734
|
+
Object.defineProperty(ViewCommon.prototype, "marginLeft", {
|
|
735
|
+
get: function () {
|
|
736
|
+
return this.style.marginLeft;
|
|
737
|
+
},
|
|
738
|
+
set: function (value) {
|
|
739
|
+
this.style.marginLeft = value;
|
|
740
|
+
},
|
|
741
|
+
enumerable: false,
|
|
742
|
+
configurable: true
|
|
743
|
+
});
|
|
744
|
+
Object.defineProperty(ViewCommon.prototype, "marginTop", {
|
|
745
|
+
get: function () {
|
|
746
|
+
return this.style.marginTop;
|
|
747
|
+
},
|
|
748
|
+
set: function (value) {
|
|
749
|
+
this.style.marginTop = value;
|
|
750
|
+
},
|
|
751
|
+
enumerable: false,
|
|
752
|
+
configurable: true
|
|
753
|
+
});
|
|
754
|
+
Object.defineProperty(ViewCommon.prototype, "marginRight", {
|
|
755
|
+
get: function () {
|
|
756
|
+
return this.style.marginRight;
|
|
757
|
+
},
|
|
758
|
+
set: function (value) {
|
|
759
|
+
this.style.marginRight = value;
|
|
760
|
+
},
|
|
761
|
+
enumerable: false,
|
|
762
|
+
configurable: true
|
|
763
|
+
});
|
|
764
|
+
Object.defineProperty(ViewCommon.prototype, "marginBottom", {
|
|
765
|
+
get: function () {
|
|
766
|
+
return this.style.marginBottom;
|
|
767
|
+
},
|
|
768
|
+
set: function (value) {
|
|
769
|
+
this.style.marginBottom = value;
|
|
770
|
+
},
|
|
771
|
+
enumerable: false,
|
|
772
|
+
configurable: true
|
|
773
|
+
});
|
|
774
|
+
Object.defineProperty(ViewCommon.prototype, "horizontalAlignment", {
|
|
775
|
+
get: function () {
|
|
776
|
+
return this.style.horizontalAlignment;
|
|
777
|
+
},
|
|
778
|
+
set: function (value) {
|
|
779
|
+
this.style.horizontalAlignment = value;
|
|
780
|
+
},
|
|
781
|
+
enumerable: false,
|
|
782
|
+
configurable: true
|
|
783
|
+
});
|
|
784
|
+
Object.defineProperty(ViewCommon.prototype, "verticalAlignment", {
|
|
785
|
+
get: function () {
|
|
786
|
+
return this.style.verticalAlignment;
|
|
787
|
+
},
|
|
788
|
+
set: function (value) {
|
|
789
|
+
this.style.verticalAlignment = value;
|
|
790
|
+
},
|
|
791
|
+
enumerable: false,
|
|
792
|
+
configurable: true
|
|
793
|
+
});
|
|
794
|
+
Object.defineProperty(ViewCommon.prototype, "visibility", {
|
|
795
|
+
get: function () {
|
|
796
|
+
return this.style.visibility;
|
|
797
|
+
},
|
|
798
|
+
set: function (value) {
|
|
799
|
+
this.style.visibility = value;
|
|
800
|
+
},
|
|
801
|
+
enumerable: false,
|
|
802
|
+
configurable: true
|
|
803
|
+
});
|
|
804
|
+
Object.defineProperty(ViewCommon.prototype, "opacity", {
|
|
805
|
+
get: function () {
|
|
806
|
+
return this.style.opacity;
|
|
807
|
+
},
|
|
808
|
+
set: function (value) {
|
|
809
|
+
this.style.opacity = value;
|
|
810
|
+
},
|
|
811
|
+
enumerable: false,
|
|
812
|
+
configurable: true
|
|
813
|
+
});
|
|
814
|
+
Object.defineProperty(ViewCommon.prototype, "rotate", {
|
|
815
|
+
get: function () {
|
|
816
|
+
return this.style.rotate;
|
|
817
|
+
},
|
|
818
|
+
set: function (value) {
|
|
819
|
+
this.style.rotate = value;
|
|
820
|
+
},
|
|
821
|
+
enumerable: false,
|
|
822
|
+
configurable: true
|
|
823
|
+
});
|
|
824
|
+
Object.defineProperty(ViewCommon.prototype, "rotateX", {
|
|
825
|
+
get: function () {
|
|
826
|
+
return this.style.rotateX;
|
|
827
|
+
},
|
|
828
|
+
set: function (value) {
|
|
829
|
+
this.style.rotateX = value;
|
|
830
|
+
},
|
|
831
|
+
enumerable: false,
|
|
832
|
+
configurable: true
|
|
833
|
+
});
|
|
834
|
+
Object.defineProperty(ViewCommon.prototype, "rotateY", {
|
|
835
|
+
get: function () {
|
|
836
|
+
return this.style.rotateY;
|
|
837
|
+
},
|
|
838
|
+
set: function (value) {
|
|
839
|
+
this.style.rotateY = value;
|
|
840
|
+
},
|
|
841
|
+
enumerable: false,
|
|
842
|
+
configurable: true
|
|
843
|
+
});
|
|
844
|
+
Object.defineProperty(ViewCommon.prototype, "perspective", {
|
|
845
|
+
get: function () {
|
|
846
|
+
return this.style.perspective;
|
|
847
|
+
},
|
|
848
|
+
set: function (value) {
|
|
849
|
+
this.style.perspective = value;
|
|
850
|
+
},
|
|
851
|
+
enumerable: false,
|
|
852
|
+
configurable: true
|
|
853
|
+
});
|
|
854
|
+
Object.defineProperty(ViewCommon.prototype, "textTransform", {
|
|
855
|
+
get: function () {
|
|
856
|
+
return this.style.textTransform;
|
|
857
|
+
},
|
|
858
|
+
set: function (value) {
|
|
859
|
+
this.style.textTransform = value;
|
|
860
|
+
},
|
|
861
|
+
enumerable: false,
|
|
862
|
+
configurable: true
|
|
863
|
+
});
|
|
864
|
+
Object.defineProperty(ViewCommon.prototype, "translateX", {
|
|
865
|
+
get: function () {
|
|
866
|
+
return this.style.translateX;
|
|
867
|
+
},
|
|
868
|
+
set: function (value) {
|
|
869
|
+
this.style.translateX = value;
|
|
870
|
+
},
|
|
871
|
+
enumerable: false,
|
|
872
|
+
configurable: true
|
|
873
|
+
});
|
|
874
|
+
Object.defineProperty(ViewCommon.prototype, "translateY", {
|
|
875
|
+
get: function () {
|
|
876
|
+
return this.style.translateY;
|
|
877
|
+
},
|
|
878
|
+
set: function (value) {
|
|
879
|
+
this.style.translateY = value;
|
|
880
|
+
},
|
|
881
|
+
enumerable: false,
|
|
882
|
+
configurable: true
|
|
883
|
+
});
|
|
884
|
+
Object.defineProperty(ViewCommon.prototype, "scaleX", {
|
|
885
|
+
get: function () {
|
|
886
|
+
return this.style.scaleX;
|
|
887
|
+
},
|
|
888
|
+
set: function (value) {
|
|
889
|
+
this.style.scaleX = value;
|
|
890
|
+
},
|
|
891
|
+
enumerable: false,
|
|
892
|
+
configurable: true
|
|
893
|
+
});
|
|
894
|
+
Object.defineProperty(ViewCommon.prototype, "scaleY", {
|
|
895
|
+
get: function () {
|
|
896
|
+
return this.style.scaleY;
|
|
897
|
+
},
|
|
898
|
+
set: function (value) {
|
|
899
|
+
this.style.scaleY = value;
|
|
900
|
+
},
|
|
901
|
+
enumerable: false,
|
|
902
|
+
configurable: true
|
|
903
|
+
});
|
|
904
|
+
Object.defineProperty(ViewCommon.prototype, "accessible", {
|
|
905
|
+
get: function () {
|
|
906
|
+
return this.style.accessible;
|
|
907
|
+
},
|
|
908
|
+
set: function (value) {
|
|
909
|
+
this.style.accessible = value;
|
|
910
|
+
},
|
|
911
|
+
enumerable: false,
|
|
912
|
+
configurable: true
|
|
913
|
+
});
|
|
914
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityHidden", {
|
|
915
|
+
get: function () {
|
|
916
|
+
return this.style.accessibilityHidden;
|
|
917
|
+
},
|
|
918
|
+
set: function (value) {
|
|
919
|
+
this.style.accessibilityHidden = value;
|
|
920
|
+
},
|
|
921
|
+
enumerable: false,
|
|
922
|
+
configurable: true
|
|
923
|
+
});
|
|
924
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityRole", {
|
|
925
|
+
get: function () {
|
|
926
|
+
return this.style.accessibilityRole;
|
|
927
|
+
},
|
|
928
|
+
set: function (value) {
|
|
929
|
+
this.style.accessibilityRole = value;
|
|
930
|
+
},
|
|
931
|
+
enumerable: false,
|
|
932
|
+
configurable: true
|
|
933
|
+
});
|
|
934
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityState", {
|
|
935
|
+
get: function () {
|
|
936
|
+
return this.style.accessibilityState;
|
|
937
|
+
},
|
|
938
|
+
set: function (value) {
|
|
939
|
+
this.style.accessibilityState = value;
|
|
940
|
+
},
|
|
941
|
+
enumerable: false,
|
|
942
|
+
configurable: true
|
|
943
|
+
});
|
|
944
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityLiveRegion", {
|
|
945
|
+
get: function () {
|
|
946
|
+
return this.style.accessibilityLiveRegion;
|
|
947
|
+
},
|
|
948
|
+
set: function (value) {
|
|
949
|
+
this.style.accessibilityLiveRegion = value;
|
|
950
|
+
},
|
|
951
|
+
enumerable: false,
|
|
952
|
+
configurable: true
|
|
953
|
+
});
|
|
954
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityLanguage", {
|
|
955
|
+
get: function () {
|
|
956
|
+
return this.style.accessibilityLanguage;
|
|
957
|
+
},
|
|
958
|
+
set: function (value) {
|
|
959
|
+
this.style.accessibilityLanguage = value;
|
|
960
|
+
},
|
|
961
|
+
enumerable: false,
|
|
962
|
+
configurable: true
|
|
963
|
+
});
|
|
964
|
+
Object.defineProperty(ViewCommon.prototype, "accessibilityMediaSession", {
|
|
965
|
+
get: function () {
|
|
966
|
+
return this.style.accessibilityMediaSession;
|
|
967
|
+
},
|
|
968
|
+
set: function (value) {
|
|
969
|
+
this.style.accessibilityMediaSession = value;
|
|
970
|
+
},
|
|
971
|
+
enumerable: false,
|
|
972
|
+
configurable: true
|
|
973
|
+
});
|
|
974
|
+
Object.defineProperty(ViewCommon.prototype, "iosAccessibilityAdjustsFontSize", {
|
|
975
|
+
get: function () {
|
|
976
|
+
return this.style.iosAccessibilityAdjustsFontSize;
|
|
977
|
+
},
|
|
978
|
+
set: function (value) {
|
|
979
|
+
this.style.iosAccessibilityAdjustsFontSize = value;
|
|
980
|
+
},
|
|
981
|
+
enumerable: false,
|
|
982
|
+
configurable: true
|
|
983
|
+
});
|
|
984
|
+
Object.defineProperty(ViewCommon.prototype, "iosAccessibilityMinFontScale", {
|
|
985
|
+
get: function () {
|
|
986
|
+
return this.style.iosAccessibilityMinFontScale;
|
|
987
|
+
},
|
|
988
|
+
set: function (value) {
|
|
989
|
+
this.style.iosAccessibilityMinFontScale = value;
|
|
990
|
+
},
|
|
991
|
+
enumerable: false,
|
|
992
|
+
configurable: true
|
|
993
|
+
});
|
|
994
|
+
Object.defineProperty(ViewCommon.prototype, "iosAccessibilityMaxFontScale", {
|
|
995
|
+
get: function () {
|
|
996
|
+
return this.style.iosAccessibilityMaxFontScale;
|
|
997
|
+
},
|
|
998
|
+
set: function (value) {
|
|
999
|
+
this.style.iosAccessibilityMaxFontScale = value;
|
|
1000
|
+
},
|
|
1001
|
+
enumerable: false,
|
|
1002
|
+
configurable: true
|
|
1003
|
+
});
|
|
1004
|
+
Object.defineProperty(ViewCommon.prototype, "automationText", {
|
|
1005
|
+
get: function () {
|
|
1006
|
+
return this.accessibilityIdentifier;
|
|
1007
|
+
},
|
|
1008
|
+
set: function (value) {
|
|
1009
|
+
this.accessibilityIdentifier = value;
|
|
1010
|
+
},
|
|
1011
|
+
enumerable: false,
|
|
1012
|
+
configurable: true
|
|
1013
|
+
});
|
|
1014
|
+
Object.defineProperty(ViewCommon.prototype, "androidElevation", {
|
|
1015
|
+
get: function () {
|
|
1016
|
+
return this.style.androidElevation;
|
|
1017
|
+
},
|
|
1018
|
+
set: function (value) {
|
|
1019
|
+
this.style.androidElevation = value;
|
|
1020
|
+
},
|
|
1021
|
+
enumerable: false,
|
|
1022
|
+
configurable: true
|
|
1023
|
+
});
|
|
1024
|
+
Object.defineProperty(ViewCommon.prototype, "androidDynamicElevationOffset", {
|
|
1025
|
+
get: function () {
|
|
1026
|
+
return this.style.androidDynamicElevationOffset;
|
|
1027
|
+
},
|
|
1028
|
+
set: function (value) {
|
|
1029
|
+
this.style.androidDynamicElevationOffset = value;
|
|
1030
|
+
},
|
|
1031
|
+
enumerable: false,
|
|
1032
|
+
configurable: true
|
|
1033
|
+
});
|
|
1034
|
+
Object.defineProperty(ViewCommon.prototype, "isLayoutValid", {
|
|
1035
|
+
get: function () {
|
|
1036
|
+
return this._isLayoutValid;
|
|
1037
|
+
},
|
|
1038
|
+
enumerable: false,
|
|
1039
|
+
configurable: true
|
|
1040
|
+
});
|
|
1041
|
+
Object.defineProperty(ViewCommon.prototype, "cssType", {
|
|
1042
|
+
get: function () {
|
|
1043
|
+
if (!this._cssType) {
|
|
1044
|
+
this._cssType = this.typeName.toLowerCase();
|
|
1045
|
+
}
|
|
1046
|
+
return this._cssType;
|
|
1047
|
+
},
|
|
1048
|
+
set: function (type) {
|
|
1049
|
+
this._cssType = type.toLowerCase();
|
|
1050
|
+
},
|
|
1051
|
+
enumerable: false,
|
|
1052
|
+
configurable: true
|
|
1053
|
+
});
|
|
1054
|
+
Object.defineProperty(ViewCommon.prototype, "isLayoutRequired", {
|
|
1055
|
+
get: function () {
|
|
1056
|
+
return true;
|
|
1057
|
+
},
|
|
1058
|
+
enumerable: false,
|
|
1059
|
+
configurable: true
|
|
1060
|
+
});
|
|
1061
|
+
Object.defineProperty(ViewCommon.prototype, "needsNativeDrawableFill", {
|
|
1062
|
+
get: function () {
|
|
1063
|
+
return false;
|
|
1064
|
+
},
|
|
1065
|
+
enumerable: false,
|
|
1066
|
+
configurable: true
|
|
1067
|
+
});
|
|
1068
|
+
ViewCommon.prototype.measure = function (widthMeasureSpec, heightMeasureSpec) {
|
|
771
1069
|
this._setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec);
|
|
772
|
-
}
|
|
773
|
-
layout(left, top, right, bottom) {
|
|
1070
|
+
};
|
|
1071
|
+
ViewCommon.prototype.layout = function (left, top, right, bottom) {
|
|
774
1072
|
this._setCurrentLayoutBounds(left, top, right, bottom);
|
|
775
|
-
}
|
|
776
|
-
getMeasuredWidth() {
|
|
1073
|
+
};
|
|
1074
|
+
ViewCommon.prototype.getMeasuredWidth = function () {
|
|
777
1075
|
return this._measuredWidth & layout.MEASURED_SIZE_MASK || 0;
|
|
778
|
-
}
|
|
779
|
-
getMeasuredHeight() {
|
|
1076
|
+
};
|
|
1077
|
+
ViewCommon.prototype.getMeasuredHeight = function () {
|
|
780
1078
|
return this._measuredHeight & layout.MEASURED_SIZE_MASK || 0;
|
|
781
|
-
}
|
|
782
|
-
getMeasuredState() {
|
|
1079
|
+
};
|
|
1080
|
+
ViewCommon.prototype.getMeasuredState = function () {
|
|
783
1081
|
return (this._measuredWidth & layout.MEASURED_STATE_MASK) | ((this._measuredHeight >> layout.MEASURED_HEIGHT_STATE_SHIFT) & (layout.MEASURED_STATE_MASK >> layout.MEASURED_HEIGHT_STATE_SHIFT));
|
|
784
|
-
}
|
|
785
|
-
setMeasuredDimension(measuredWidth, measuredHeight) {
|
|
1082
|
+
};
|
|
1083
|
+
ViewCommon.prototype.setMeasuredDimension = function (measuredWidth, measuredHeight) {
|
|
786
1084
|
this._measuredWidth = measuredWidth;
|
|
787
1085
|
this._measuredHeight = measuredHeight;
|
|
788
1086
|
if (Trace.isEnabled()) {
|
|
789
1087
|
Trace.write(this + ' :setMeasuredDimension: ' + measuredWidth + ', ' + measuredHeight, Trace.categories.Layout);
|
|
790
1088
|
}
|
|
791
|
-
}
|
|
792
|
-
requestLayout() {
|
|
1089
|
+
};
|
|
1090
|
+
ViewCommon.prototype.requestLayout = function () {
|
|
793
1091
|
this._isLayoutValid = false;
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
|
|
1092
|
+
_super.prototype.requestLayout.call(this);
|
|
1093
|
+
};
|
|
1094
|
+
ViewCommon.resolveSizeAndState = function (size, specSize, specMode, childMeasuredState) {
|
|
797
1095
|
return ViewHelper.resolveSizeAndState(size, specSize, specMode, childMeasuredState);
|
|
798
|
-
}
|
|
799
|
-
|
|
1096
|
+
};
|
|
1097
|
+
ViewCommon.combineMeasuredStates = function (curState, newState) {
|
|
800
1098
|
return ViewHelper.combineMeasuredStates(curState, newState);
|
|
801
|
-
}
|
|
802
|
-
|
|
1099
|
+
};
|
|
1100
|
+
ViewCommon.layoutChild = function (parent, child, left, top, right, bottom, setFrame) {
|
|
1101
|
+
if (setFrame === void 0) { setFrame = true; }
|
|
803
1102
|
ViewHelper.layoutChild(parent, child, left, top, right, bottom);
|
|
804
|
-
}
|
|
805
|
-
|
|
1103
|
+
};
|
|
1104
|
+
ViewCommon.measureChild = function (parent, child, widthMeasureSpec, heightMeasureSpec) {
|
|
806
1105
|
return ViewHelper.measureChild(parent, child, widthMeasureSpec, heightMeasureSpec);
|
|
807
|
-
}
|
|
808
|
-
_setCurrentMeasureSpecs(widthMeasureSpec, heightMeasureSpec) {
|
|
809
|
-
|
|
1106
|
+
};
|
|
1107
|
+
ViewCommon.prototype._setCurrentMeasureSpecs = function (widthMeasureSpec, heightMeasureSpec) {
|
|
1108
|
+
var changed = this._currentWidthMeasureSpec !== widthMeasureSpec || this._currentHeightMeasureSpec !== heightMeasureSpec;
|
|
810
1109
|
this._currentWidthMeasureSpec = widthMeasureSpec;
|
|
811
1110
|
this._currentHeightMeasureSpec = heightMeasureSpec;
|
|
812
1111
|
return changed;
|
|
813
|
-
}
|
|
814
|
-
_getCurrentLayoutBounds() {
|
|
1112
|
+
};
|
|
1113
|
+
ViewCommon.prototype._getCurrentLayoutBounds = function () {
|
|
815
1114
|
return { left: 0, top: 0, right: 0, bottom: 0 };
|
|
816
|
-
}
|
|
1115
|
+
};
|
|
817
1116
|
/**
|
|
818
1117
|
* Returns two booleans - the first if "boundsChanged" the second is "sizeChanged".
|
|
819
1118
|
*/
|
|
820
|
-
_setCurrentLayoutBounds(left, top, right, bottom) {
|
|
1119
|
+
ViewCommon.prototype._setCurrentLayoutBounds = function (left, top, right, bottom) {
|
|
821
1120
|
this._isLayoutValid = true;
|
|
822
|
-
|
|
823
|
-
|
|
1121
|
+
var boundsChanged = this._oldLeft !== left || this._oldTop !== top || this._oldRight !== right || this._oldBottom !== bottom;
|
|
1122
|
+
var sizeChanged = this._oldRight - this._oldLeft !== right - left || this._oldBottom - this._oldTop !== bottom - top;
|
|
824
1123
|
this._oldLeft = left;
|
|
825
1124
|
this._oldTop = top;
|
|
826
1125
|
this._oldRight = right;
|
|
827
1126
|
this._oldBottom = bottom;
|
|
828
|
-
return { boundsChanged, sizeChanged };
|
|
829
|
-
}
|
|
830
|
-
eachChild(callback) {
|
|
1127
|
+
return { boundsChanged: boundsChanged, sizeChanged: sizeChanged };
|
|
1128
|
+
};
|
|
1129
|
+
ViewCommon.prototype.eachChild = function (callback) {
|
|
831
1130
|
this.eachChildView(callback);
|
|
832
|
-
}
|
|
833
|
-
eachChildView(callback) {
|
|
1131
|
+
};
|
|
1132
|
+
ViewCommon.prototype.eachChildView = function (callback) {
|
|
834
1133
|
//
|
|
835
|
-
}
|
|
836
|
-
_getNativeViewsCount() {
|
|
1134
|
+
};
|
|
1135
|
+
ViewCommon.prototype._getNativeViewsCount = function () {
|
|
837
1136
|
return this._isAddedToNativeVisualTree ? 1 : 0;
|
|
838
|
-
}
|
|
839
|
-
_eachLayoutView(callback) {
|
|
1137
|
+
};
|
|
1138
|
+
ViewCommon.prototype._eachLayoutView = function (callback) {
|
|
840
1139
|
return callback(this);
|
|
841
|
-
}
|
|
842
|
-
focus() {
|
|
1140
|
+
};
|
|
1141
|
+
ViewCommon.prototype.focus = function () {
|
|
843
1142
|
return undefined;
|
|
844
|
-
}
|
|
845
|
-
getSafeAreaInsets() {
|
|
1143
|
+
};
|
|
1144
|
+
ViewCommon.prototype.getSafeAreaInsets = function () {
|
|
846
1145
|
return { left: 0, top: 0, right: 0, bottom: 0 };
|
|
847
|
-
}
|
|
848
|
-
getLocationInWindow() {
|
|
1146
|
+
};
|
|
1147
|
+
ViewCommon.prototype.getLocationInWindow = function () {
|
|
849
1148
|
return undefined;
|
|
850
|
-
}
|
|
851
|
-
getLocationOnScreen() {
|
|
1149
|
+
};
|
|
1150
|
+
ViewCommon.prototype.getLocationOnScreen = function () {
|
|
852
1151
|
return undefined;
|
|
853
|
-
}
|
|
854
|
-
getLocationRelativeTo(otherView) {
|
|
1152
|
+
};
|
|
1153
|
+
ViewCommon.prototype.getLocationRelativeTo = function (otherView) {
|
|
855
1154
|
return undefined;
|
|
856
|
-
}
|
|
857
|
-
getActualSize() {
|
|
858
|
-
|
|
1155
|
+
};
|
|
1156
|
+
ViewCommon.prototype.getActualSize = function () {
|
|
1157
|
+
var currentBounds = this._getCurrentLayoutBounds();
|
|
859
1158
|
if (!currentBounds) {
|
|
860
1159
|
return undefined;
|
|
861
1160
|
}
|
|
@@ -863,22 +1162,22 @@ export class ViewCommon extends ViewBase {
|
|
|
863
1162
|
width: layout.toDeviceIndependentPixels(currentBounds.right - currentBounds.left),
|
|
864
1163
|
height: layout.toDeviceIndependentPixels(currentBounds.bottom - currentBounds.top),
|
|
865
1164
|
};
|
|
866
|
-
}
|
|
867
|
-
animate(animation) {
|
|
1165
|
+
};
|
|
1166
|
+
ViewCommon.prototype.animate = function (animation) {
|
|
868
1167
|
return this.createAnimation(animation).play();
|
|
869
|
-
}
|
|
870
|
-
createAnimation(animation) {
|
|
1168
|
+
};
|
|
1169
|
+
ViewCommon.prototype.createAnimation = function (animation) {
|
|
871
1170
|
ensureAnimationModule();
|
|
872
1171
|
if (!this._localAnimations) {
|
|
873
1172
|
this._localAnimations = new Set();
|
|
874
1173
|
}
|
|
875
1174
|
animation.target = this;
|
|
876
|
-
|
|
1175
|
+
var anim = new animationModule.Animation([animation]);
|
|
877
1176
|
this._localAnimations.add(anim);
|
|
878
1177
|
return anim;
|
|
879
|
-
}
|
|
880
|
-
_removeAnimation(animation) {
|
|
881
|
-
|
|
1178
|
+
};
|
|
1179
|
+
ViewCommon.prototype._removeAnimation = function (animation) {
|
|
1180
|
+
var localAnimations = this._localAnimations;
|
|
882
1181
|
if (localAnimations && localAnimations.has(animation)) {
|
|
883
1182
|
localAnimations.delete(animation);
|
|
884
1183
|
if (animation.isPlaying) {
|
|
@@ -887,154 +1186,152 @@ export class ViewCommon extends ViewBase {
|
|
|
887
1186
|
return true;
|
|
888
1187
|
}
|
|
889
1188
|
return false;
|
|
890
|
-
}
|
|
891
|
-
resetNativeView() {
|
|
1189
|
+
};
|
|
1190
|
+
ViewCommon.prototype.resetNativeView = function () {
|
|
1191
|
+
var _this = this;
|
|
892
1192
|
if (this._localAnimations) {
|
|
893
|
-
this._localAnimations.forEach((a)
|
|
1193
|
+
this._localAnimations.forEach(function (a) { return _this._removeAnimation(a); });
|
|
894
1194
|
}
|
|
895
|
-
|
|
896
|
-
}
|
|
897
|
-
_setNativeViewFrame(nativeView, frame) {
|
|
1195
|
+
_super.prototype.resetNativeView.call(this);
|
|
1196
|
+
};
|
|
1197
|
+
ViewCommon.prototype._setNativeViewFrame = function (nativeView, frame) {
|
|
898
1198
|
//
|
|
899
|
-
}
|
|
900
|
-
_getValue() {
|
|
1199
|
+
};
|
|
1200
|
+
ViewCommon.prototype._getValue = function () {
|
|
901
1201
|
throw new Error('The View._getValue is obsolete. There is a new property system.');
|
|
902
|
-
}
|
|
903
|
-
_setValue() {
|
|
1202
|
+
};
|
|
1203
|
+
ViewCommon.prototype._setValue = function () {
|
|
904
1204
|
throw new Error('The View._setValue is obsolete. There is a new property system.');
|
|
905
|
-
}
|
|
906
|
-
_updateEffectiveLayoutValues(parentWidthMeasureSize, parentWidthMeasureMode, parentHeightMeasureSize, parentHeightMeasureMode) {
|
|
907
|
-
|
|
908
|
-
|
|
1205
|
+
};
|
|
1206
|
+
ViewCommon.prototype._updateEffectiveLayoutValues = function (parentWidthMeasureSize, parentWidthMeasureMode, parentHeightMeasureSize, parentHeightMeasureMode) {
|
|
1207
|
+
var style = this.style;
|
|
1208
|
+
var availableWidth = parentWidthMeasureMode === layout.UNSPECIFIED ? -1 : parentWidthMeasureSize;
|
|
909
1209
|
this.effectiveWidth = PercentLength.toDevicePixels(style.width, -2, availableWidth);
|
|
910
1210
|
this.effectiveMarginLeft = PercentLength.toDevicePixels(style.marginLeft, 0, availableWidth);
|
|
911
1211
|
this.effectiveMarginRight = PercentLength.toDevicePixels(style.marginRight, 0, availableWidth);
|
|
912
|
-
|
|
1212
|
+
var availableHeight = parentHeightMeasureMode === layout.UNSPECIFIED ? -1 : parentHeightMeasureSize;
|
|
913
1213
|
this.effectiveHeight = PercentLength.toDevicePixels(style.height, -2, availableHeight);
|
|
914
1214
|
this.effectiveMarginTop = PercentLength.toDevicePixels(style.marginTop, 0, availableHeight);
|
|
915
1215
|
this.effectiveMarginBottom = PercentLength.toDevicePixels(style.marginBottom, 0, availableHeight);
|
|
916
|
-
}
|
|
917
|
-
_setNativeClipToBounds() {
|
|
1216
|
+
};
|
|
1217
|
+
ViewCommon.prototype._setNativeClipToBounds = function () {
|
|
918
1218
|
//
|
|
919
|
-
}
|
|
920
|
-
_redrawNativeBackground(value) {
|
|
1219
|
+
};
|
|
1220
|
+
ViewCommon.prototype._redrawNativeBackground = function (value) {
|
|
921
1221
|
//
|
|
922
|
-
}
|
|
923
|
-
_applyBackground(background, isBorderDrawable, onlyColor, backgroundDrawable) {
|
|
1222
|
+
};
|
|
1223
|
+
ViewCommon.prototype._applyBackground = function (background, isBorderDrawable, onlyColor, backgroundDrawable) {
|
|
924
1224
|
//
|
|
925
|
-
}
|
|
926
|
-
_onAttachedToWindow() {
|
|
1225
|
+
};
|
|
1226
|
+
ViewCommon.prototype._onAttachedToWindow = function () {
|
|
927
1227
|
//
|
|
928
|
-
}
|
|
929
|
-
_onDetachedFromWindow() {
|
|
1228
|
+
};
|
|
1229
|
+
ViewCommon.prototype._onDetachedFromWindow = function () {
|
|
930
1230
|
//
|
|
931
|
-
}
|
|
932
|
-
_hasAncestorView(ancestorView) {
|
|
933
|
-
|
|
934
|
-
for (
|
|
935
|
-
if (matcher(
|
|
1231
|
+
};
|
|
1232
|
+
ViewCommon.prototype._hasAncestorView = function (ancestorView) {
|
|
1233
|
+
var matcher = function (view) { return view === ancestorView; };
|
|
1234
|
+
for (var parent_2 = this.parent; parent_2 != null; parent_2 = parent_2.parent) {
|
|
1235
|
+
if (matcher(parent_2)) {
|
|
936
1236
|
return true;
|
|
937
1237
|
}
|
|
938
1238
|
}
|
|
939
1239
|
return false;
|
|
940
|
-
}
|
|
941
|
-
sendAccessibilityEvent(options) {
|
|
1240
|
+
};
|
|
1241
|
+
ViewCommon.prototype.sendAccessibilityEvent = function (options) {
|
|
942
1242
|
return;
|
|
943
|
-
}
|
|
944
|
-
accessibilityAnnouncement(msg) {
|
|
1243
|
+
};
|
|
1244
|
+
ViewCommon.prototype.accessibilityAnnouncement = function (msg) {
|
|
945
1245
|
return;
|
|
946
|
-
}
|
|
947
|
-
accessibilityScreenChanged() {
|
|
1246
|
+
};
|
|
1247
|
+
ViewCommon.prototype.accessibilityScreenChanged = function () {
|
|
948
1248
|
return;
|
|
949
|
-
}
|
|
950
|
-
setAccessibilityIdentifier(view, value) {
|
|
1249
|
+
};
|
|
1250
|
+
ViewCommon.prototype.setAccessibilityIdentifier = function (view, value) {
|
|
951
1251
|
return;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
ViewCommon.
|
|
955
|
-
ViewCommon.
|
|
956
|
-
ViewCommon.
|
|
957
|
-
ViewCommon.
|
|
958
|
-
ViewCommon.
|
|
959
|
-
ViewCommon.
|
|
960
|
-
ViewCommon
|
|
961
|
-
|
|
1252
|
+
};
|
|
1253
|
+
ViewCommon.layoutChangedEvent = 'layoutChanged';
|
|
1254
|
+
ViewCommon.shownModallyEvent = 'shownModally';
|
|
1255
|
+
ViewCommon.showingModallyEvent = 'showingModally';
|
|
1256
|
+
ViewCommon.accessibilityBlurEvent = accessibilityBlurEvent;
|
|
1257
|
+
ViewCommon.accessibilityFocusEvent = accessibilityFocusEvent;
|
|
1258
|
+
ViewCommon.accessibilityFocusChangedEvent = accessibilityFocusChangedEvent;
|
|
1259
|
+
ViewCommon.accessibilityPerformEscapeEvent = accessibilityPerformEscapeEvent;
|
|
1260
|
+
return ViewCommon;
|
|
1261
|
+
}(ViewBase));
|
|
1262
|
+
export { ViewCommon };
|
|
1263
|
+
export var originXProperty = new Property({
|
|
962
1264
|
name: 'originX',
|
|
963
1265
|
defaultValue: 0.5,
|
|
964
|
-
valueConverter: (v)
|
|
1266
|
+
valueConverter: function (v) { return parseFloat(v); },
|
|
965
1267
|
});
|
|
966
1268
|
originXProperty.register(ViewCommon);
|
|
967
|
-
export
|
|
1269
|
+
export var originYProperty = new Property({
|
|
968
1270
|
name: 'originY',
|
|
969
1271
|
defaultValue: 0.5,
|
|
970
|
-
valueConverter: (v)
|
|
1272
|
+
valueConverter: function (v) { return parseFloat(v); },
|
|
971
1273
|
});
|
|
972
1274
|
originYProperty.register(ViewCommon);
|
|
973
|
-
export
|
|
974
|
-
name: 'defaultVisualState',
|
|
975
|
-
defaultValue: 'normal',
|
|
976
|
-
valueChanged(target, oldValue, newValue) {
|
|
977
|
-
target.defaultVisualState = newValue || 'normal';
|
|
978
|
-
if (!target.visualState || target.visualState === oldValue) {
|
|
979
|
-
target._goToVisualState(target.defaultVisualState);
|
|
980
|
-
}
|
|
981
|
-
},
|
|
982
|
-
});
|
|
983
|
-
defaultVisualStateProperty.register(ViewCommon);
|
|
984
|
-
export const isEnabledProperty = new Property({
|
|
1275
|
+
export var isEnabledProperty = new Property({
|
|
985
1276
|
name: 'isEnabled',
|
|
986
1277
|
defaultValue: true,
|
|
987
1278
|
valueConverter: booleanConverter,
|
|
988
|
-
valueChanged(target, oldValue, newValue) {
|
|
989
|
-
|
|
1279
|
+
valueChanged: function (target, oldValue, newValue) {
|
|
1280
|
+
var state = 'disabled';
|
|
1281
|
+
if (newValue) {
|
|
1282
|
+
target._removeVisualState(state);
|
|
1283
|
+
}
|
|
1284
|
+
else {
|
|
1285
|
+
target._addVisualState(state);
|
|
1286
|
+
}
|
|
990
1287
|
},
|
|
991
1288
|
});
|
|
992
1289
|
isEnabledProperty.register(ViewCommon);
|
|
993
|
-
export
|
|
1290
|
+
export var isUserInteractionEnabledProperty = new Property({
|
|
994
1291
|
name: 'isUserInteractionEnabled',
|
|
995
1292
|
defaultValue: true,
|
|
996
1293
|
valueConverter: booleanConverter,
|
|
997
1294
|
});
|
|
998
1295
|
isUserInteractionEnabledProperty.register(ViewCommon);
|
|
999
|
-
export
|
|
1296
|
+
export var iosOverflowSafeAreaProperty = new Property({
|
|
1000
1297
|
name: 'iosOverflowSafeArea',
|
|
1001
1298
|
defaultValue: false,
|
|
1002
1299
|
valueConverter: booleanConverter,
|
|
1003
1300
|
});
|
|
1004
1301
|
iosOverflowSafeAreaProperty.register(ViewCommon);
|
|
1005
|
-
export
|
|
1302
|
+
export var iosOverflowSafeAreaEnabledProperty = new InheritedProperty({
|
|
1006
1303
|
name: 'iosOverflowSafeAreaEnabled',
|
|
1007
1304
|
defaultValue: true,
|
|
1008
1305
|
valueConverter: booleanConverter,
|
|
1009
1306
|
});
|
|
1010
1307
|
iosOverflowSafeAreaEnabledProperty.register(ViewCommon);
|
|
1011
|
-
export
|
|
1308
|
+
export var iosIgnoreSafeAreaProperty = new InheritedProperty({
|
|
1012
1309
|
name: 'iosIgnoreSafeArea',
|
|
1013
1310
|
defaultValue: false,
|
|
1014
1311
|
valueConverter: booleanConverter,
|
|
1015
1312
|
});
|
|
1016
1313
|
iosIgnoreSafeAreaProperty.register(ViewCommon);
|
|
1017
|
-
export
|
|
1314
|
+
export var visionHoverStyleProperty = new Property({
|
|
1018
1315
|
name: 'visionHoverStyle',
|
|
1019
|
-
valueChanged(view, oldValue, newValue) {
|
|
1316
|
+
valueChanged: function (view, oldValue, newValue) {
|
|
1020
1317
|
view.visionHoverStyle = newValue;
|
|
1021
1318
|
},
|
|
1022
1319
|
});
|
|
1023
1320
|
visionHoverStyleProperty.register(ViewCommon);
|
|
1024
|
-
|
|
1321
|
+
var visionIgnoreHoverStyleProperty = new Property({
|
|
1025
1322
|
name: 'visionIgnoreHoverStyle',
|
|
1026
|
-
valueChanged(view, oldValue, newValue) {
|
|
1323
|
+
valueChanged: function (view, oldValue, newValue) {
|
|
1027
1324
|
view.visionIgnoreHoverStyle = newValue;
|
|
1028
1325
|
},
|
|
1029
1326
|
valueConverter: booleanConverter,
|
|
1030
1327
|
});
|
|
1031
1328
|
visionIgnoreHoverStyleProperty.register(ViewCommon);
|
|
1032
|
-
|
|
1329
|
+
var touchAnimationProperty = new Property({
|
|
1033
1330
|
name: 'touchAnimation',
|
|
1034
|
-
valueChanged(view, oldValue, newValue) {
|
|
1331
|
+
valueChanged: function (view, oldValue, newValue) {
|
|
1035
1332
|
view.touchAnimation = newValue;
|
|
1036
1333
|
},
|
|
1037
|
-
valueConverter(value) {
|
|
1334
|
+
valueConverter: function (value) {
|
|
1038
1335
|
if (isObject(value)) {
|
|
1039
1336
|
return value;
|
|
1040
1337
|
}
|
|
@@ -1044,23 +1341,23 @@ const touchAnimationProperty = new Property({
|
|
|
1044
1341
|
},
|
|
1045
1342
|
});
|
|
1046
1343
|
touchAnimationProperty.register(ViewCommon);
|
|
1047
|
-
|
|
1344
|
+
var ignoreTouchAnimationProperty = new Property({
|
|
1048
1345
|
name: 'ignoreTouchAnimation',
|
|
1049
|
-
valueChanged(view, oldValue, newValue) {
|
|
1346
|
+
valueChanged: function (view, oldValue, newValue) {
|
|
1050
1347
|
view.ignoreTouchAnimation = newValue;
|
|
1051
1348
|
},
|
|
1052
1349
|
valueConverter: booleanConverter,
|
|
1053
1350
|
});
|
|
1054
1351
|
ignoreTouchAnimationProperty.register(ViewCommon);
|
|
1055
|
-
|
|
1352
|
+
var touchDelayProperty = new Property({
|
|
1056
1353
|
name: 'touchDelay',
|
|
1057
|
-
valueChanged(view, oldValue, newValue) {
|
|
1354
|
+
valueChanged: function (view, oldValue, newValue) {
|
|
1058
1355
|
view.touchDelay = newValue;
|
|
1059
1356
|
},
|
|
1060
|
-
valueConverter: (v)
|
|
1357
|
+
valueConverter: function (v) { return parseFloat(v); },
|
|
1061
1358
|
});
|
|
1062
1359
|
touchDelayProperty.register(ViewCommon);
|
|
1063
|
-
export
|
|
1360
|
+
export var testIDProperty = new Property({
|
|
1064
1361
|
name: 'testID',
|
|
1065
1362
|
});
|
|
1066
1363
|
testIDProperty.register(ViewCommon);
|