@nativescript/core 9.0.10 → 9.0.11-next.2
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/README.md +41 -5
- package/css/package.json +36 -0
- package/css-value/package.json +23 -0
- package/package.json +86 -86
- package/LICENSE +0 -19
- package/abortcontroller/abortsignal.d.ts +0 -23
- package/abortcontroller/abortsignal.js +0 -57
- package/abortcontroller/abortsignal.js.map +0 -1
- package/abortcontroller/index.d.ts +0 -20
- package/abortcontroller/index.js +0 -52
- package/abortcontroller/index.js.map +0 -1
- package/accessibility/accessibility-common.d.ts +0 -282
- package/accessibility/accessibility-common.js +0 -416
- package/accessibility/accessibility-common.js.map +0 -1
- package/accessibility/accessibility-properties.d.ts +0 -24
- package/accessibility/accessibility-properties.js +0 -118
- package/accessibility/accessibility-properties.js.map +0 -1
- package/accessibility/index.d.ts +0 -1
- package/accessibility/index.js +0 -2
- package/accessibility/index.js.map +0 -1
- package/animation-frame/animation-native.android.d.ts +0 -1
- package/animation-frame/animation-native.android.js +0 -4
- package/animation-frame/animation-native.android.js.map +0 -1
- package/animation-frame/animation-native.ios.d.ts +0 -1
- package/animation-frame/animation-native.ios.js +0 -3
- package/animation-frame/animation-native.ios.js.map +0 -1
- package/animation-frame/index.js +0 -81
- package/animation-frame/index.js.map +0 -1
- package/application/application-common.d.ts +0 -247
- package/application/application-common.js +0 -578
- package/application/application-common.js.map +0 -1
- package/application/application-interfaces.d.ts +0 -220
- package/application/application-interfaces.js +0 -2
- package/application/application-interfaces.js.map +0 -1
- package/application/application-shims.d.ts +0 -378
- package/application/application-shims.js +0 -380
- package/application/application-shims.js.map +0 -1
- package/application/application.android.d.ts +0 -81
- package/application/application.android.js +0 -1233
- package/application/application.android.js.map +0 -1
- package/application/application.ios.d.ts +0 -145
- package/application/application.ios.js +0 -1481
- package/application/application.ios.js.map +0 -1
- package/application/helpers-common.d.ts +0 -50
- package/application/helpers-common.js +0 -153
- package/application/helpers-common.js.map +0 -1
- package/application/helpers.android.d.ts +0 -8
- package/application/helpers.android.js +0 -119
- package/application/helpers.android.js.map +0 -1
- package/application/helpers.ios.d.ts +0 -8
- package/application/helpers.ios.js +0 -24
- package/application/helpers.ios.js.map +0 -1
- package/application/index.android.d.ts +0 -2
- package/application/index.android.js +0 -3
- package/application/index.android.js.map +0 -1
- package/application/index.ios.d.ts +0 -2
- package/application/index.ios.js +0 -3
- package/application/index.ios.js.map +0 -1
- package/application-settings/application-settings-common.d.ts +0 -2
- package/application-settings/application-settings-common.js +0 -15
- package/application-settings/application-settings-common.js.map +0 -1
- package/application-settings/index.android.d.ts +0 -11
- package/application-settings/index.android.js +0 -124
- package/application-settings/index.android.js.map +0 -1
- package/application-settings/index.ios.d.ts +0 -11
- package/application-settings/index.ios.js +0 -81
- package/application-settings/index.ios.js.map +0 -1
- package/bundle-entry-points.d.ts +0 -1
- package/bundle-entry-points.js +0 -47
- package/bundle-entry-points.js.map +0 -1
- package/color/color-common.d.ts +0 -136
- package/color/color-common.js +0 -341
- package/color/color-common.js.map +0 -1
- package/color/color-types.d.ts +0 -49
- package/color/color-types.js +0 -3
- package/color/color-types.js.map +0 -1
- package/color/color-utils.d.ts +0 -38
- package/color/color-utils.js +0 -213
- package/color/color-utils.js.map +0 -1
- package/color/index.android.d.ts +0 -4
- package/color/index.android.js +0 -7
- package/color/index.android.js.map +0 -1
- package/color/index.ios.d.ts +0 -7
- package/color/index.ios.js +0 -19
- package/color/index.ios.js.map +0 -1
- package/color/known-colors.d.ts +0 -144
- package/color/known-colors.js +0 -165
- package/color/known-colors.js.map +0 -1
- package/config/config.interface.d.ts +0 -275
- package/config/config.interface.js +0 -2
- package/config/config.interface.js.map +0 -1
- package/config/index.d.ts +0 -1
- package/config/index.js +0 -2
- package/config/index.js.map +0 -1
- package/connectivity/index.android.d.ts +0 -11
- package/connectivity/index.android.js +0 -157
- package/connectivity/index.android.js.map +0 -1
- package/connectivity/index.ios.d.ts +0 -11
- package/connectivity/index.ios.js +0 -132
- package/connectivity/index.ios.js.map +0 -1
- package/console/index.d.ts +0 -14
- package/console/index.js +0 -33
- package/console/index.js.map +0 -1
- package/core-types/animation-types.d.ts +0 -11
- package/core-types/animation-types.js +0 -13
- package/core-types/animation-types.js.map +0 -1
- package/core-types/index.d.ts +0 -345
- package/core-types/index.js +0 -290
- package/core-types/index.js.map +0 -1
- package/core-types/validators.d.ts +0 -2
- package/core-types/validators.js +0 -27
- package/core-types/validators.js.map +0 -1
- package/css/CSS3Parser.d.ts +0 -184
- package/css/CSS3Parser.js +0 -534
- package/css/CSS3Parser.js.map +0 -1
- package/css/CSSNativeScript.d.ts +0 -14
- package/css/CSSNativeScript.js +0 -113
- package/css/CSSNativeScript.js.map +0 -1
- package/css/css-tree-parser.d.ts +0 -1
- package/css/css-tree-parser.js +0 -133
- package/css/css-tree-parser.js.map +0 -1
- package/css/lib/parse/index.d.ts +0 -1
- package/css/lib/parse/index.js +0 -500
- package/css/lib/parse/index.js.map +0 -1
- package/css/parser.d.ts +0 -70
- package/css/parser.js +0 -517
- package/css/parser.js.map +0 -1
- package/css/reworkcss.d.ts +0 -44
- package/css/reworkcss.js +0 -5
- package/css/reworkcss.js.map +0 -1
- package/css/system-classes.d.ts +0 -12
- package/css/system-classes.js +0 -47
- package/css/system-classes.js.map +0 -1
- package/css-mediaquery/index.d.ts +0 -27
- package/css-mediaquery/index.js +0 -118
- package/css-mediaquery/index.js.map +0 -1
- package/css-value/reworkcss-value.d.ts +0 -31
- package/css-value/reworkcss-value.js +0 -91
- package/css-value/reworkcss-value.js.map +0 -1
- package/data/observable/index.d.ts +0 -213
- package/data/observable/index.js +0 -452
- package/data/observable/index.js.map +0 -1
- package/data/observable-array/index.d.ts +0 -215
- package/data/observable-array/index.js +0 -325
- package/data/observable-array/index.js.map +0 -1
- package/data/virtual-array/index.d.ts +0 -72
- package/data/virtual-array/index.js +0 -133
- package/data/virtual-array/index.js.map +0 -1
- package/debugger/InspectorBackendCommands.d.ts +0 -1056
- package/debugger/InspectorBackendCommands.js +0 -578
- package/debugger/InspectorBackendCommands.js.map +0 -1
- package/debugger/devtools-elements-interfaces.d.ts +0 -16
- package/debugger/devtools-elements-interfaces.js +0 -2
- package/debugger/devtools-elements-interfaces.js.map +0 -1
- package/debugger/devtools-elements.common.d.ts +0 -7
- package/debugger/devtools-elements.common.js +0 -93
- package/debugger/devtools-elements.common.js.map +0 -1
- package/debugger/devtools-elements.js +0 -20
- package/debugger/devtools-elements.js.map +0 -1
- package/debugger/dom-types.d.ts +0 -24
- package/debugger/dom-types.js +0 -152
- package/debugger/dom-types.js.map +0 -1
- package/debugger/index.d.ts +0 -87
- package/debugger/index.js +0 -118
- package/debugger/index.js.map +0 -1
- package/debugger/webinspector-css.d.ts +0 -34
- package/debugger/webinspector-css.js +0 -72
- package/debugger/webinspector-css.js.map +0 -1
- package/debugger/webinspector-dom.d.ts +0 -33
- package/debugger/webinspector-dom.js +0 -75
- package/debugger/webinspector-dom.js.map +0 -1
- package/debugger/webinspector-network.android.d.ts +0 -79
- package/debugger/webinspector-network.android.js +0 -208
- package/debugger/webinspector-network.android.js.map +0 -1
- package/debugger/webinspector-network.ios.d.ts +0 -79
- package/debugger/webinspector-network.ios.js +0 -204
- package/debugger/webinspector-network.ios.js.map +0 -1
- package/fetch/index.d.ts +0 -72
- package/fetch/index.js +0 -529
- package/fetch/index.js.map +0 -1
- package/file-system/file-system-access.android.d.ts +0 -151
- package/file-system/file-system-access.android.js +0 -1162
- package/file-system/file-system-access.android.js.map +0 -1
- package/file-system/file-system-access.ios.d.ts +0 -85
- package/file-system/file-system-access.ios.js +0 -622
- package/file-system/file-system-access.ios.js.map +0 -1
- package/file-system/index.js +0 -873
- package/file-system/index.js.map +0 -1
- package/fps-meter/fps-native.android.d.ts +0 -11
- package/fps-meter/fps-native.android.js +0 -62
- package/fps-meter/fps-native.android.js.map +0 -1
- package/fps-meter/fps-native.ios.d.ts +0 -10
- package/fps-meter/fps-native.ios.js +0 -56
- package/fps-meter/fps-native.ios.js.map +0 -1
- package/fps-meter/index.js +0 -77
- package/fps-meter/index.js.map +0 -1
- package/globals/global-utils.d.ts +0 -27
- package/globals/global-utils.js +0 -67
- package/globals/global-utils.js.map +0 -1
- package/globals/index.d.ts +0 -3
- package/globals/index.js +0 -313
- package/globals/index.js.map +0 -1
- package/http/http-interfaces.d.ts +0 -84
- package/http/http-interfaces.js +0 -6
- package/http/http-interfaces.js.map +0 -1
- package/http/http-request/http-request-common.d.ts +0 -1
- package/http/http-request/http-request-common.js +0 -15
- package/http/http-request/http-request-common.js.map +0 -1
- package/http/http-request/index.android.d.ts +0 -3
- package/http/http-request/index.android.js +0 -274
- package/http/http-request/index.android.js.map +0 -1
- package/http/http-request/index.ios.d.ts +0 -3
- package/http/http-request/index.ios.js +0 -221
- package/http/http-request/index.ios.js.map +0 -1
- package/http/http-shared.d.ts +0 -3
- package/http/http-shared.js +0 -2
- package/http/http-shared.js.map +0 -1
- package/http/index.js +0 -70
- package/http/index.js.map +0 -1
- package/image-asset/image-asset-common.d.ts +0 -25
- package/image-asset/image-asset-common.js +0 -74
- package/image-asset/image-asset-common.js.map +0 -1
- package/image-asset/index.android.d.ts +0 -9
- package/image-asset/index.android.js +0 -33
- package/image-asset/index.android.js.map +0 -1
- package/image-asset/index.ios.d.ts +0 -10
- package/image-asset/index.ios.js +0 -57
- package/image-asset/index.ios.js.map +0 -1
- package/image-source/image-source-common.d.ts +0 -4
- package/image-source/image-source-common.js +0 -21
- package/image-source/image-source-common.js.map +0 -1
- package/image-source/index.android.d.ts +0 -58
- package/image-source/index.android.js +0 -371
- package/image-source/index.android.js.map +0 -1
- package/image-source/index.ios.d.ts +0 -59
- package/image-source/index.ios.js +0 -454
- package/image-source/index.ios.js.map +0 -1
- package/index.js +0 -38
- package/index.js.map +0 -1
- package/inspector_modules.d.ts +0 -7
- package/inspector_modules.js +0 -233
- package/inspector_modules.js.map +0 -1
- package/matrix/index.js +0 -45
- package/matrix/index.js.map +0 -1
- package/media-query-list/index.d.ts +0 -21
- package/media-query-list/index.js +0 -159
- package/media-query-list/index.js.map +0 -1
- package/module-name-resolver/helpers.d.ts +0 -14
- package/module-name-resolver/helpers.js +0 -27
- package/module-name-resolver/helpers.js.map +0 -1
- package/module-name-resolver/index.d.ts +0 -14
- package/module-name-resolver/index.js +0 -67
- package/module-name-resolver/index.js.map +0 -1
- package/module-name-resolver/non-bundle-workflow-compat.d.ts +0 -6
- package/module-name-resolver/non-bundle-workflow-compat.js +0 -128
- package/module-name-resolver/non-bundle-workflow-compat.js.map +0 -1
- package/module-name-resolver/qualifier-matcher/index.d.ts +0 -11
- package/module-name-resolver/qualifier-matcher/index.js +0 -141
- package/module-name-resolver/qualifier-matcher/index.js.map +0 -1
- package/platform/common.d.ts +0 -10
- package/platform/common.js +0 -14
- package/platform/common.js.map +0 -1
- package/platform/device/index.android.d.ts +0 -20
- package/platform/device/index.android.js +0 -78
- package/platform/device/index.android.js.map +0 -1
- package/platform/device/index.ios.d.ts +0 -19
- package/platform/device/index.ios.js +0 -69
- package/platform/device/index.ios.js.map +0 -1
- package/platform/index.js +0 -4
- package/platform/index.js.map +0 -1
- package/platform/screen/index.android.d.ts +0 -16
- package/platform/screen/index.android.js +0 -41
- package/platform/screen/index.android.js.map +0 -1
- package/platform/screen/index.ios.d.ts +0 -15
- package/platform/screen/index.ios.js +0 -35
- package/platform/screen/index.ios.js.map +0 -1
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSCWinterTC.h +0 -20
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Headers/NSString+WinterTC.h +0 -21
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Resources/Info.plist +0 -52
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSCCrypto.h +0 -79
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSCWinterTC.h +0 -20
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Headers/NSString+WinterTC.h +0 -21
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Modules/module.modulemap +0 -6
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/NSCWinterTC +0 -0
- package/platforms/ios/NSCWinterTC.xcframework/ios-arm64_x86_64-maccatalyst/NSCWinterTC.framework/Versions/Current/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSCCrypto.h +0 -60
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSData+Async.h +0 -24
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSFileHandle+Async.h +0 -22
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSString+Async.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSLabel.h +0 -16
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSProcess.h +0 -29
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSWidgets.h +0 -25
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIImage+TNSBlocks.h +0 -26
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIView+PassThroughParent.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Modules/module.modulemap +0 -6
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/NSObject+Swizzling.h +0 -17
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/UIView+PropertyBag.h +0 -18
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Resources/Info.plist +0 -52
- package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
- package/profiling/index.js +0 -273
- package/profiling/index.js.map +0 -1
- package/text/formatted-string.js +0 -2
- package/text/formatted-string.js.map +0 -1
- package/text/index.android.d.ts +0 -9
- package/text/index.android.js +0 -11
- package/text/index.android.js.map +0 -1
- package/text/index.ios.d.ts +0 -9
- package/text/index.ios.js +0 -11
- package/text/index.ios.js.map +0 -1
- package/text/span.js +0 -2
- package/text/span.js.map +0 -1
- package/text/text-common.d.ts +0 -12
- package/text/text-common.js +0 -111
- package/text/text-common.js.map +0 -1
- package/timer/index.android.d.ts +0 -4
- package/timer/index.android.js +0 -83
- package/timer/index.android.js.map +0 -1
- package/timer/index.ios.d.ts +0 -4
- package/timer/index.ios.js +0 -68
- package/timer/index.ios.js.map +0 -1
- package/trace/index.js +0 -255
- package/trace/index.js.map +0 -1
- package/ui/action-bar/action-bar-common.d.ts +0 -85
- package/ui/action-bar/action-bar-common.js +0 -381
- package/ui/action-bar/action-bar-common.js.map +0 -1
- package/ui/action-bar/index.android.d.ts +0 -55
- package/ui/action-bar/index.android.js +0 -502
- package/ui/action-bar/index.android.js.map +0 -1
- package/ui/action-bar/index.ios.d.ts +0 -64
- package/ui/action-bar/index.ios.js +0 -614
- package/ui/action-bar/index.ios.js.map +0 -1
- package/ui/activity-indicator/activity-indicator-common.d.ts +0 -9
- package/ui/activity-indicator/activity-indicator-common.js +0 -22
- package/ui/activity-indicator/activity-indicator-common.js.map +0 -1
- package/ui/activity-indicator/index.android.d.ts +0 -15
- package/ui/activity-indicator/index.android.js +0 -54
- package/ui/activity-indicator/index.android.js.map +0 -1
- package/ui/activity-indicator/index.ios.d.ts +0 -16
- package/ui/activity-indicator/index.ios.js +0 -54
- package/ui/activity-indicator/index.ios.js.map +0 -1
- package/ui/animation/animation-common.d.ts +0 -30
- package/ui/animation/animation-common.js +0 -239
- package/ui/animation/animation-common.js.map +0 -1
- package/ui/animation/animation-shared.d.ts +0 -84
- package/ui/animation/animation-shared.js +0 -4
- package/ui/animation/animation-shared.js.map +0 -1
- package/ui/animation/animation-types.d.ts +0 -1
- package/ui/animation/animation-types.js +0 -3
- package/ui/animation/animation-types.js.map +0 -1
- package/ui/animation/index.android.d.ts +0 -23
- package/ui/animation/index.android.js +0 -432
- package/ui/animation/index.android.js.map +0 -1
- package/ui/animation/index.ios.d.ts +0 -28
- package/ui/animation/index.ios.js +0 -808
- package/ui/animation/index.ios.js.map +0 -1
- package/ui/animation/keyframe-animation.d.ts +0 -76
- package/ui/animation/keyframe-animation.js +0 -238
- package/ui/animation/keyframe-animation.js.map +0 -1
- package/ui/builder/binding-builder.d.ts +0 -13
- package/ui/builder/binding-builder.js +0 -171
- package/ui/builder/binding-builder.js.map +0 -1
- package/ui/builder/component-builder/index.d.ts +0 -7
- package/ui/builder/component-builder/index.js +0 -219
- package/ui/builder/component-builder/index.js.map +0 -1
- package/ui/builder/index.d.ts +0 -193
- package/ui/builder/index.js +0 -643
- package/ui/builder/index.js.map +0 -1
- package/ui/button/button-common.d.ts +0 -9
- package/ui/button/button-common.js +0 -26
- package/ui/button/button-common.js.map +0 -1
- package/ui/button/index.android.d.ts +0 -29
- package/ui/button/index.android.js +0 -166
- package/ui/button/index.android.js.map +0 -1
- package/ui/button/index.ios.d.ts +0 -37
- package/ui/button/index.ios.js +0 -316
- package/ui/button/index.ios.js.map +0 -1
- package/ui/content-view/index.js +0 -87
- package/ui/content-view/index.js.map +0 -1
- package/ui/core/bindable/bindable-expressions.d.ts +0 -7
- package/ui/core/bindable/bindable-expressions.js +0 -255
- package/ui/core/bindable/bindable-expressions.js.map +0 -1
- package/ui/core/bindable/bindable-resources.d.ts +0 -2
- package/ui/core/bindable/bindable-resources.js +0 -8
- package/ui/core/bindable/bindable-resources.js.map +0 -1
- package/ui/core/bindable/bindable-types.d.ts +0 -37
- package/ui/core/bindable/bindable-types.js +0 -3
- package/ui/core/bindable/bindable-types.js.map +0 -1
- package/ui/core/bindable/index.d.ts +0 -53
- package/ui/core/bindable/index.js +0 -555
- package/ui/core/bindable/index.js.map +0 -1
- package/ui/core/control-state-change/index.android.d.ts +0 -6
- package/ui/core/control-state-change/index.android.js +0 -8
- package/ui/core/control-state-change/index.android.js.map +0 -1
- package/ui/core/control-state-change/index.ios.d.ts +0 -10
- package/ui/core/control-state-change/index.ios.js +0 -43
- package/ui/core/control-state-change/index.ios.js.map +0 -1
- package/ui/core/properties/index.d.ts +0 -114
- package/ui/core/properties/index.js +0 -1290
- package/ui/core/properties/index.js.map +0 -1
- package/ui/core/properties/property-shared.d.ts +0 -35
- package/ui/core/properties/property-shared.js +0 -16
- package/ui/core/properties/property-shared.js.map +0 -1
- package/ui/core/view/index.android.d.ts +0 -144
- package/ui/core/view/index.android.js +0 -1576
- package/ui/core/view/index.android.js.map +0 -1
- package/ui/core/view/index.ios.d.ts +0 -151
- package/ui/core/view/index.ios.js +0 -1091
- package/ui/core/view/index.ios.js.map +0 -1
- package/ui/core/view/view-common.d.ts +0 -349
- package/ui/core/view/view-common.js +0 -1147
- package/ui/core/view/view-common.js.map +0 -1
- package/ui/core/view/view-helper/index.android.d.ts +0 -9
- package/ui/core/view/view-helper/index.android.js +0 -56
- package/ui/core/view/view-helper/index.android.js.map +0 -1
- package/ui/core/view/view-helper/index.ios.d.ts +0 -67
- package/ui/core/view/view-helper/index.ios.js +0 -414
- package/ui/core/view/view-helper/index.ios.js.map +0 -1
- package/ui/core/view/view-helper/view-helper-common.d.ts +0 -11
- package/ui/core/view/view-helper/view-helper-common.js +0 -166
- package/ui/core/view/view-helper/view-helper-common.js.map +0 -1
- package/ui/core/view/view-helper/view-helper-shared.d.ts +0 -5
- package/ui/core/view/view-helper/view-helper-shared.js +0 -6
- package/ui/core/view/view-helper/view-helper-shared.js.map +0 -1
- package/ui/core/view/view-interfaces.d.ts +0 -76
- package/ui/core/view/view-interfaces.js +0 -2
- package/ui/core/view/view-interfaces.js.map +0 -1
- package/ui/core/view-base/index.d.ts +0 -597
- package/ui/core/view-base/index.js +0 -1154
- package/ui/core/view-base/index.js.map +0 -1
- package/ui/core/view-base/utils.d.ts +0 -1
- package/ui/core/view-base/utils.js +0 -9
- package/ui/core/view-base/utils.js.map +0 -1
- package/ui/core/weak-event-listener/index.js +0 -123
- package/ui/core/weak-event-listener/index.js.map +0 -1
- package/ui/date-picker/date-picker-common.d.ts +0 -28
- package/ui/date-picker/date-picker-common.js +0 -82
- package/ui/date-picker/date-picker-common.js.map +0 -1
- package/ui/date-picker/index.android.d.ts +0 -19
- package/ui/date-picker/index.android.js +0 -131
- package/ui/date-picker/index.android.js.map +0 -1
- package/ui/date-picker/index.ios.d.ts +0 -27
- package/ui/date-picker/index.ios.js +0 -165
- package/ui/date-picker/index.ios.js.map +0 -1
- package/ui/dialogs/dialogs-common.d.ts +0 -211
- package/ui/dialogs/dialogs-common.js +0 -167
- package/ui/dialogs/dialogs-common.js.map +0 -1
- package/ui/dialogs/index.android.d.ts +0 -20
- package/ui/dialogs/index.android.js +0 -330
- package/ui/dialogs/index.android.js.map +0 -1
- package/ui/dialogs/index.ios.d.ts +0 -17
- package/ui/dialogs/index.ios.js +0 -293
- package/ui/dialogs/index.ios.js.map +0 -1
- package/ui/editable-text-base/editable-text-base-common.d.ts +0 -36
- package/ui/editable-text-base/editable-text-base-common.js +0 -91
- package/ui/editable-text-base/editable-text-base-common.js.map +0 -1
- package/ui/editable-text-base/index.android.d.ts +0 -48
- package/ui/editable-text-base/index.android.js +0 -497
- package/ui/editable-text-base/index.android.js.map +0 -1
- package/ui/editable-text-base/index.ios.d.ts +0 -20
- package/ui/editable-text-base/index.ios.js +0 -255
- package/ui/editable-text-base/index.ios.js.map +0 -1
- package/ui/embedding/index.android.d.ts +0 -4
- package/ui/embedding/index.android.js +0 -14
- package/ui/embedding/index.android.js.map +0 -1
- package/ui/embedding/index.ios.d.ts +0 -1
- package/ui/embedding/index.ios.js +0 -4
- package/ui/embedding/index.ios.js.map +0 -1
- package/ui/enums/enums.js +0 -6
- package/ui/enums/enums.js.map +0 -1
- package/ui/enums/index.js +0 -6
- package/ui/enums/index.js.map +0 -1
- package/ui/frame/activity.android.d.ts +0 -1
- package/ui/frame/activity.android.js +0 -110
- package/ui/frame/activity.android.js.map +0 -1
- package/ui/frame/fragment.android.d.ts +0 -3
- package/ui/frame/fragment.android.js +0 -90
- package/ui/frame/fragment.android.js.map +0 -1
- package/ui/frame/fragment.ios.d.ts +0 -3
- package/ui/frame/fragment.ios.js +0 -4
- package/ui/frame/fragment.ios.js.map +0 -1
- package/ui/frame/fragment.transitions.android.d.ts +0 -40
- package/ui/frame/fragment.transitions.android.js +0 -679
- package/ui/frame/fragment.transitions.android.js.map +0 -1
- package/ui/frame/fragment.transitions.types.d.ts +0 -6
- package/ui/frame/fragment.transitions.types.js +0 -2
- package/ui/frame/fragment.transitions.types.js.map +0 -1
- package/ui/frame/frame-common.d.ts +0 -101
- package/ui/frame/frame-common.js +0 -688
- package/ui/frame/frame-common.js.map +0 -1
- package/ui/frame/frame-helper-for-android.d.ts +0 -37
- package/ui/frame/frame-helper-for-android.js +0 -337
- package/ui/frame/frame-helper-for-android.js.map +0 -1
- package/ui/frame/frame-helpers.d.ts +0 -16
- package/ui/frame/frame-helpers.js +0 -19
- package/ui/frame/frame-helpers.js.map +0 -1
- package/ui/frame/frame-interfaces.d.ts +0 -130
- package/ui/frame/frame-interfaces.js +0 -7
- package/ui/frame/frame-interfaces.js.map +0 -1
- package/ui/frame/frame-stack.d.ts +0 -7
- package/ui/frame/frame-stack.js +0 -41
- package/ui/frame/frame-stack.js.map +0 -1
- package/ui/frame/index.android.d.ts +0 -93
- package/ui/frame/index.android.js +0 -977
- package/ui/frame/index.android.js.map +0 -1
- package/ui/frame/index.ios.d.ts +0 -61
- package/ui/frame/index.ios.js +0 -728
- package/ui/frame/index.ios.js.map +0 -1
- package/ui/gestures/gestures-common.d.ts +0 -32
- package/ui/gestures/gestures-common.js +0 -78
- package/ui/gestures/gestures-common.js.map +0 -1
- package/ui/gestures/gestures-types.d.ts +0 -108
- package/ui/gestures/gestures-types.js +0 -40
- package/ui/gestures/gestures-types.js.map +0 -1
- package/ui/gestures/index.android.d.ts +0 -49
- package/ui/gestures/index.android.js +0 -596
- package/ui/gestures/index.android.js.map +0 -1
- package/ui/gestures/index.ios.d.ts +0 -70
- package/ui/gestures/index.ios.js +0 -510
- package/ui/gestures/index.ios.js.map +0 -1
- package/ui/gestures/touch-manager.d.ts +0 -82
- package/ui/gestures/touch-manager.js +0 -268
- package/ui/gestures/touch-manager.js.map +0 -1
- package/ui/html-view/html-view-common.d.ts +0 -12
- package/ui/html-view/html-view-common.js +0 -31
- package/ui/html-view/html-view-common.js.map +0 -1
- package/ui/html-view/index.android.d.ts +0 -27
- package/ui/html-view/index.android.js +0 -90
- package/ui/html-view/index.android.js.map +0 -1
- package/ui/html-view/index.ios.d.ts +0 -22
- package/ui/html-view/index.ios.js +0 -101
- package/ui/html-view/index.ios.js.map +0 -1
- package/ui/image/image-common.d.ts +0 -45
- package/ui/image/image-common.js +0 -195
- package/ui/image/image-common.js.map +0 -1
- package/ui/image/index.android.d.ts +0 -23
- package/ui/image/index.android.js +0 -171
- package/ui/image/index.android.js.map +0 -1
- package/ui/image/index.ios.d.ts +0 -26
- package/ui/image/index.ios.js +0 -186
- package/ui/image/index.ios.js.map +0 -1
- package/ui/image/symbol-effects-common.d.ts +0 -36
- package/ui/image/symbol-effects-common.js +0 -35
- package/ui/image/symbol-effects-common.js.map +0 -1
- package/ui/image/symbol-effects.android.d.ts +0 -5
- package/ui/image/symbol-effects.android.js +0 -8
- package/ui/image/symbol-effects.android.js.map +0 -1
- package/ui/image/symbol-effects.ios.d.ts +0 -6
- package/ui/image/symbol-effects.ios.js +0 -79
- package/ui/image/symbol-effects.ios.js.map +0 -1
- package/ui/image-cache/image-cache-common.d.ts +0 -40
- package/ui/image-cache/image-cache-common.js +0 -176
- package/ui/image-cache/image-cache-common.js.map +0 -1
- package/ui/image-cache/index.android.d.ts +0 -11
- package/ui/image-cache/index.android.js +0 -74
- package/ui/image-cache/index.android.js.map +0 -1
- package/ui/image-cache/index.ios.d.ts +0 -11
- package/ui/image-cache/index.ios.js +0 -78
- package/ui/image-cache/index.ios.js.map +0 -1
- package/ui/index.d.ts +0 -92
- package/ui/index.js +0 -80
- package/ui/index.js.map +0 -1
- package/ui/label/index.android.d.ts +0 -13
- package/ui/label/index.android.js +0 -47
- package/ui/label/index.android.js.map +0 -1
- package/ui/label/index.ios.d.ts +0 -31
- package/ui/label/index.ios.js +0 -234
- package/ui/label/index.ios.js.map +0 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.d.ts +0 -16
- package/ui/layouts/absolute-layout/absolute-layout-common.js +0 -72
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +0 -1
- package/ui/layouts/absolute-layout/index.android.d.ts +0 -6
- package/ui/layouts/absolute-layout/index.android.js +0 -26
- package/ui/layouts/absolute-layout/index.android.js.map +0 -1
- package/ui/layouts/absolute-layout/index.ios.d.ts +0 -10
- package/ui/layouts/absolute-layout/index.ios.js +0 -48
- package/ui/layouts/absolute-layout/index.ios.js.map +0 -1
- package/ui/layouts/dock-layout/dock-layout-common.d.ts +0 -14
- package/ui/layouts/dock-layout/dock-layout-common.js +0 -51
- package/ui/layouts/dock-layout/dock-layout-common.js.map +0 -1
- package/ui/layouts/dock-layout/index.android.d.ts +0 -8
- package/ui/layouts/dock-layout/index.android.js +0 -38
- package/ui/layouts/dock-layout/index.android.js.map +0 -1
- package/ui/layouts/dock-layout/index.ios.d.ts +0 -8
- package/ui/layouts/dock-layout/index.ios.js +0 -115
- package/ui/layouts/dock-layout/index.ios.js.map +0 -1
- package/ui/layouts/flexbox-layout/flexbox-layout-common.d.ts +0 -126
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js +0 -403
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js.map +0 -1
- package/ui/layouts/flexbox-layout/index.android.d.ts +0 -23
- package/ui/layouts/flexbox-layout/index.android.js +0 -152
- package/ui/layouts/flexbox-layout/index.android.js.map +0 -1
- package/ui/layouts/flexbox-layout/index.ios.d.ts +0 -44
- package/ui/layouts/flexbox-layout/index.ios.js +0 -1241
- package/ui/layouts/flexbox-layout/index.ios.js.map +0 -1
- package/ui/layouts/grid-layout/grid-layout-common.d.ts +0 -72
- package/ui/layouts/grid-layout/grid-layout-common.js +0 -358
- package/ui/layouts/grid-layout/grid-layout-common.js.map +0 -1
- package/ui/layouts/grid-layout/index.android.d.ts +0 -23
- package/ui/layouts/grid-layout/index.android.js +0 -122
- package/ui/layouts/grid-layout/index.android.js.map +0 -1
- package/ui/layouts/grid-layout/index.ios.d.ts +0 -28
- package/ui/layouts/grid-layout/index.ios.js +0 -778
- package/ui/layouts/grid-layout/index.ios.js.map +0 -1
- package/ui/layouts/index.d.ts +0 -12
- package/ui/layouts/index.js +0 -11
- package/ui/layouts/index.js.map +0 -1
- package/ui/layouts/layout-base-common.d.ts +0 -36
- package/ui/layouts/layout-base-common.js +0 -141
- package/ui/layouts/layout-base-common.js.map +0 -1
- package/ui/layouts/layout-base.android.d.ts +0 -17
- package/ui/layouts/layout-base.android.js +0 -50
- package/ui/layouts/layout-base.android.js.map +0 -1
- package/ui/layouts/layout-base.ios.d.ts +0 -13
- package/ui/layouts/layout-base.ios.js +0 -40
- package/ui/layouts/layout-base.ios.js.map +0 -1
- package/ui/layouts/liquid-glass/index.android.d.ts +0 -5
- package/ui/layouts/liquid-glass/index.android.js +0 -8
- package/ui/layouts/liquid-glass/index.android.js.map +0 -1
- package/ui/layouts/liquid-glass/index.ios.d.ts +0 -10
- package/ui/layouts/liquid-glass/index.ios.js +0 -59
- package/ui/layouts/liquid-glass/index.ios.js.map +0 -1
- package/ui/layouts/liquid-glass/liquid-glass-common.d.ts +0 -3
- package/ui/layouts/liquid-glass/liquid-glass-common.js +0 -4
- package/ui/layouts/liquid-glass/liquid-glass-common.js.map +0 -1
- package/ui/layouts/liquid-glass-container/index.android.d.ts +0 -3
- package/ui/layouts/liquid-glass-container/index.android.js +0 -4
- package/ui/layouts/liquid-glass-container/index.android.js.map +0 -1
- package/ui/layouts/liquid-glass-container/index.ios.d.ts +0 -14
- package/ui/layouts/liquid-glass-container/index.ios.js +0 -121
- package/ui/layouts/liquid-glass-container/index.ios.js.map +0 -1
- package/ui/layouts/liquid-glass-container/liquid-glass-container-common.d.ts +0 -4
- package/ui/layouts/liquid-glass-container/liquid-glass-container-common.js +0 -5
- package/ui/layouts/liquid-glass-container/liquid-glass-container-common.js.map +0 -1
- package/ui/layouts/root-layout/index.android.d.ts +0 -15
- package/ui/layouts/root-layout/index.android.js +0 -126
- package/ui/layouts/root-layout/index.android.js.map +0 -1
- package/ui/layouts/root-layout/index.ios.d.ts +0 -17
- package/ui/layouts/root-layout/index.ios.js +0 -101
- package/ui/layouts/root-layout/index.ios.js.map +0 -1
- package/ui/layouts/root-layout/root-layout-common.d.ts +0 -61
- package/ui/layouts/root-layout/root-layout-common.js +0 -425
- package/ui/layouts/root-layout/root-layout-common.js.map +0 -1
- package/ui/layouts/root-layout/root-layout-stack.d.ts +0 -5
- package/ui/layouts/root-layout/root-layout-stack.js +0 -19
- package/ui/layouts/root-layout/root-layout-stack.js.map +0 -1
- package/ui/layouts/stack-layout/index.android.d.ts +0 -7
- package/ui/layouts/stack-layout/index.android.js +0 -11
- package/ui/layouts/stack-layout/index.android.js.map +0 -1
- package/ui/layouts/stack-layout/index.ios.d.ts +0 -10
- package/ui/layouts/stack-layout/index.ios.js +0 -155
- package/ui/layouts/stack-layout/index.ios.js.map +0 -1
- package/ui/layouts/stack-layout/stack-layout-common.d.ts +0 -8
- package/ui/layouts/stack-layout/stack-layout-common.js +0 -19
- package/ui/layouts/stack-layout/stack-layout-common.js.map +0 -1
- package/ui/layouts/wrap-layout/index.android.d.ts +0 -10
- package/ui/layouts/wrap-layout/index.android.js +0 -18
- package/ui/layouts/wrap-layout/index.android.js.map +0 -1
- package/ui/layouts/wrap-layout/index.ios.d.ts +0 -8
- package/ui/layouts/wrap-layout/index.ios.js +0 -170
- package/ui/layouts/wrap-layout/index.ios.js.map +0 -1
- package/ui/layouts/wrap-layout/wrap-layout-common.d.ts +0 -15
- package/ui/layouts/wrap-layout/wrap-layout-common.js +0 -40
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +0 -1
- package/ui/list-picker/index.android.d.ts +0 -18
- package/ui/list-picker/index.android.js +0 -177
- package/ui/list-picker/index.android.js.map +0 -1
- package/ui/list-picker/index.ios.d.ts +0 -19
- package/ui/list-picker/index.ios.js +0 -99
- package/ui/list-picker/index.ios.js.map +0 -1
- package/ui/list-picker/list-picker-common.d.ts +0 -23
- package/ui/list-picker/list-picker-common.js +0 -78
- package/ui/list-picker/list-picker-common.js.map +0 -1
- package/ui/list-view/index.android.d.ts +0 -68
- package/ui/list-view/index.android.js +0 -1005
- package/ui/list-view/index.android.js.map +0 -1
- package/ui/list-view/index.ios.d.ts +0 -84
- package/ui/list-view/index.ios.js +0 -996
- package/ui/list-view/index.ios.js.map +0 -1
- package/ui/list-view/list-view-common.d.ts +0 -87
- package/ui/list-view/list-view-common.js +0 -296
- package/ui/list-view/list-view-common.js.map +0 -1
- package/ui/page/events.d.ts +0 -6
- package/ui/page/events.js +0 -7
- package/ui/page/events.js.map +0 -1
- package/ui/page/index.android.d.ts +0 -16
- package/ui/page/index.android.js +0 -106
- package/ui/page/index.android.js.map +0 -1
- package/ui/page/index.ios.d.ts +0 -52
- package/ui/page/index.ios.js +0 -515
- package/ui/page/index.ios.js.map +0 -1
- package/ui/page/page-common.d.ts +0 -73
- package/ui/page/page-common.js +0 -191
- package/ui/page/page-common.js.map +0 -1
- package/ui/placeholder/index.android.d.ts +0 -12
- package/ui/placeholder/index.android.js +0 -21
- package/ui/placeholder/index.android.js.map +0 -1
- package/ui/placeholder/index.js +0 -16
- package/ui/placeholder/index.js.map +0 -1
- package/ui/placeholder/placeholder-common.d.ts +0 -11
- package/ui/placeholder/placeholder-common.js +0 -2
- package/ui/placeholder/placeholder-common.js.map +0 -1
- package/ui/progress/index.android.d.ts +0 -18
- package/ui/progress/index.android.js +0 -65
- package/ui/progress/index.android.js.map +0 -1
- package/ui/progress/index.ios.d.ts +0 -19
- package/ui/progress/index.ios.js +0 -45
- package/ui/progress/index.ios.js.map +0 -1
- package/ui/progress/progress-common.d.ts +0 -15
- package/ui/progress/progress-common.js +0 -34
- package/ui/progress/progress-common.js.map +0 -1
- package/ui/proxy-view-container/index.d.ts +0 -33
- package/ui/proxy-view-container/index.js +0 -247
- package/ui/proxy-view-container/index.js.map +0 -1
- package/ui/repeater/index.d.ts +0 -67
- package/ui/repeater/index.js +0 -225
- package/ui/repeater/index.js.map +0 -1
- package/ui/scroll-view/index.android.d.ts +0 -27
- package/ui/scroll-view/index.android.js +0 -157
- package/ui/scroll-view/index.android.js.map +0 -1
- package/ui/scroll-view/index.ios.d.ts +0 -29
- package/ui/scroll-view/index.ios.js +0 -193
- package/ui/scroll-view/index.ios.js.map +0 -1
- package/ui/scroll-view/scroll-view-common.d.ts +0 -27
- package/ui/scroll-view/scroll-view-common.js +0 -93
- package/ui/scroll-view/scroll-view-common.js.map +0 -1
- package/ui/search-bar/index.android.d.ts +0 -44
- package/ui/search-bar/index.android.js +0 -260
- package/ui/search-bar/index.android.js.map +0 -1
- package/ui/search-bar/index.ios.d.ts +0 -36
- package/ui/search-bar/index.ios.js +0 -203
- package/ui/search-bar/index.ios.js.map +0 -1
- package/ui/search-bar/search-bar-common.d.ts +0 -19
- package/ui/search-bar/search-bar-common.js +0 -43
- package/ui/search-bar/search-bar-common.js.map +0 -1
- package/ui/segmented-bar/index.android.d.ts +0 -42
- package/ui/segmented-bar/index.android.js +0 -280
- package/ui/segmented-bar/index.android.js.map +0 -1
- package/ui/segmented-bar/index.ios.d.ts +0 -28
- package/ui/segmented-bar/index.ios.js +0 -140
- package/ui/segmented-bar/index.ios.js.map +0 -1
- package/ui/segmented-bar/segmented-bar-common.d.ts +0 -37
- package/ui/segmented-bar/segmented-bar-common.js +0 -146
- package/ui/segmented-bar/segmented-bar-common.js.map +0 -1
- package/ui/slider/index.android.d.ts +0 -32
- package/ui/slider/index.android.js +0 -123
- package/ui/slider/index.android.js.map +0 -1
- package/ui/slider/index.ios.d.ts +0 -34
- package/ui/slider/index.ios.js +0 -145
- package/ui/slider/index.ios.js.map +0 -1
- package/ui/slider/slider-common.d.ts +0 -27
- package/ui/slider/slider-common.js +0 -69
- package/ui/slider/slider-common.js.map +0 -1
- package/ui/split-view/index.android.d.ts +0 -3
- package/ui/split-view/index.android.js +0 -4
- package/ui/split-view/index.android.js.map +0 -1
- package/ui/split-view/index.ios.d.ts +0 -51
- package/ui/split-view/index.ios.js +0 -567
- package/ui/split-view/index.ios.js.map +0 -1
- package/ui/split-view/split-view-common.d.ts +0 -59
- package/ui/split-view/split-view-common.js +0 -127
- package/ui/split-view/split-view-common.js.map +0 -1
- package/ui/styling/background-common.d.ts +0 -78
- package/ui/styling/background-common.js +0 -241
- package/ui/styling/background-common.js.map +0 -1
- package/ui/styling/background.android.d.ts +0 -3
- package/ui/styling/background.android.js +0 -82
- package/ui/styling/background.android.js.map +0 -1
- package/ui/styling/background.ios.d.ts +0 -21
- package/ui/styling/background.ios.js +0 -1105
- package/ui/styling/background.ios.js.map +0 -1
- package/ui/styling/box-shadow.d.ts +0 -9
- package/ui/styling/box-shadow.js +0 -3
- package/ui/styling/box-shadow.js.map +0 -1
- package/ui/styling/clip-path-function.d.ts +0 -16
- package/ui/styling/clip-path-function.js +0 -25
- package/ui/styling/clip-path-function.js.map +0 -1
- package/ui/styling/converters.d.ts +0 -2
- package/ui/styling/converters.js +0 -41
- package/ui/styling/converters.js.map +0 -1
- package/ui/styling/css-animation-parser.d.ts +0 -14
- package/ui/styling/css-animation-parser.js +0 -187
- package/ui/styling/css-animation-parser.js.map +0 -1
- package/ui/styling/css-selector.d.ts +0 -270
- package/ui/styling/css-selector.js +0 -934
- package/ui/styling/css-selector.js.map +0 -1
- package/ui/styling/css-shadow.d.ts +0 -19
- package/ui/styling/css-shadow.js +0 -26
- package/ui/styling/css-shadow.js.map +0 -1
- package/ui/styling/css-stroke.d.ts +0 -12
- package/ui/styling/css-stroke.js +0 -19
- package/ui/styling/css-stroke.js.map +0 -1
- package/ui/styling/css-transform.d.ts +0 -2
- package/ui/styling/css-transform.js +0 -110
- package/ui/styling/css-transform.js.map +0 -1
- package/ui/styling/css-utils.d.ts +0 -8
- package/ui/styling/css-utils.js +0 -73
- package/ui/styling/css-utils.js.map +0 -1
- package/ui/styling/font-common.d.ts +0 -62
- package/ui/styling/font-common.js +0 -195
- package/ui/styling/font-common.js.map +0 -1
- package/ui/styling/font-interfaces.d.ts +0 -16
- package/ui/styling/font-interfaces.js +0 -2
- package/ui/styling/font-interfaces.js.map +0 -1
- package/ui/styling/font.android.d.ts +0 -15
- package/ui/styling/font.android.js +0 -226
- package/ui/styling/font.android.js.map +0 -1
- package/ui/styling/font.ios.d.ts +0 -18
- package/ui/styling/font.ios.js +0 -159
- package/ui/styling/font.ios.js.map +0 -1
- package/ui/styling/length-shared.d.ts +0 -52
- package/ui/styling/length-shared.js +0 -173
- package/ui/styling/length-shared.js.map +0 -1
- package/ui/styling/linear-gradient.d.ts +0 -13
- package/ui/styling/linear-gradient.js +0 -48
- package/ui/styling/linear-gradient.js.map +0 -1
- package/ui/styling/style/index.d.ts +0 -166
- package/ui/styling/style/index.js +0 -67
- package/ui/styling/style/index.js.map +0 -1
- package/ui/styling/style-properties.d.ts +0 -63
- package/ui/styling/style-properties.js +0 -1151
- package/ui/styling/style-properties.js.map +0 -1
- package/ui/styling/style-scope.d.ts +0 -87
- package/ui/styling/style-scope.js +0 -1020
- package/ui/styling/style-scope.js.map +0 -1
- package/ui/styling/styling-profile.d.ts +0 -1
- package/ui/styling/styling-profile.js +0 -4
- package/ui/styling/styling-profile.js.map +0 -1
- package/ui/styling/styling-shared.d.ts +0 -3
- package/ui/styling/styling-shared.js +0 -6
- package/ui/styling/styling-shared.js.map +0 -1
- package/ui/switch/index.android.d.ts +0 -23
- package/ui/switch/index.android.js +0 -111
- package/ui/switch/index.android.js.map +0 -1
- package/ui/switch/index.ios.d.ts +0 -26
- package/ui/switch/index.ios.js +0 -185
- package/ui/switch/index.ios.js.map +0 -1
- package/ui/switch/switch-common.d.ts +0 -12
- package/ui/switch/switch-common.js +0 -37
- package/ui/switch/switch-common.js.map +0 -1
- package/ui/tab-view/index.android.d.ts +0 -73
- package/ui/tab-view/index.android.js +0 -646
- package/ui/tab-view/index.android.js.map +0 -1
- package/ui/tab-view/index.ios.d.ts +0 -80
- package/ui/tab-view/index.ios.js +0 -877
- package/ui/tab-view/index.ios.js.map +0 -1
- package/ui/tab-view/tab-view-common.d.ts +0 -86
- package/ui/tab-view/tab-view-common.js +0 -277
- package/ui/tab-view/tab-view-common.js.map +0 -1
- package/ui/text-base/formatted-string.js +0 -163
- package/ui/text-base/formatted-string.js.map +0 -1
- package/ui/text-base/index.android.d.ts +0 -79
- package/ui/text-base/index.android.js +0 -589
- package/ui/text-base/index.android.js.map +0 -1
- package/ui/text-base/index.ios.d.ts +0 -53
- package/ui/text-base/index.ios.js +0 -452
- package/ui/text-base/index.ios.js.map +0 -1
- package/ui/text-base/span.js +0 -113
- package/ui/text-base/span.js.map +0 -1
- package/ui/text-base/text-base-common.d.ts +0 -99
- package/ui/text-base/text-base-common.js +0 -324
- package/ui/text-base/text-base-common.js.map +0 -1
- package/ui/text-field/index.android.d.ts +0 -10
- package/ui/text-field/index.android.js +0 -92
- package/ui/text-field/index.android.js.map +0 -1
- package/ui/text-field/index.ios.d.ts +0 -56
- package/ui/text-field/index.ios.js +0 -315
- package/ui/text-field/index.ios.js.map +0 -1
- package/ui/text-field/text-field-common.d.ts +0 -11
- package/ui/text-field/text-field-common.js +0 -25
- package/ui/text-field/text-field-common.js.map +0 -1
- package/ui/text-view/index.android.d.ts +0 -8
- package/ui/text-view/index.android.js +0 -24
- package/ui/text-view/index.android.js.map +0 -1
- package/ui/text-view/index.ios.d.ts +0 -59
- package/ui/text-view/index.ios.js +0 -432
- package/ui/text-view/index.ios.js.map +0 -1
- package/ui/text-view/text-view-common.d.ts +0 -32
- package/ui/text-view/text-view-common.js +0 -39
- package/ui/text-view/text-view-common.js.map +0 -1
- package/ui/time-picker/index.android.d.ts +0 -10
- package/ui/time-picker/index.android.js +0 -79
- package/ui/time-picker/index.android.js.map +0 -1
- package/ui/time-picker/index.ios.d.ts +0 -31
- package/ui/time-picker/index.ios.js +0 -138
- package/ui/time-picker/index.ios.js.map +0 -1
- package/ui/time-picker/time-picker-common.d.ts +0 -31
- package/ui/time-picker/time-picker-common.js +0 -176
- package/ui/time-picker/time-picker-common.js.map +0 -1
- package/ui/transition/fade-transition.android.d.ts +0 -4
- package/ui/transition/fade-transition.android.js +0 -28
- package/ui/transition/fade-transition.android.js.map +0 -1
- package/ui/transition/fade-transition.ios.d.ts +0 -17
- package/ui/transition/fade-transition.ios.js +0 -64
- package/ui/transition/fade-transition.ios.js.map +0 -1
- package/ui/transition/flip-transition.android.d.ts +0 -6
- package/ui/transition/flip-transition.android.js +0 -90
- package/ui/transition/flip-transition.android.js.map +0 -1
- package/ui/transition/index.android.d.ts +0 -19
- package/ui/transition/index.android.js +0 -37
- package/ui/transition/index.android.js.map +0 -1
- package/ui/transition/index.ios.d.ts +0 -14
- package/ui/transition/index.ios.js +0 -30
- package/ui/transition/index.ios.js.map +0 -1
- package/ui/transition/modal-transition.android.d.ts +0 -5
- package/ui/transition/modal-transition.android.js +0 -7
- package/ui/transition/modal-transition.android.js.map +0 -1
- package/ui/transition/modal-transition.ios.d.ts +0 -34
- package/ui/transition/modal-transition.ios.js +0 -175
- package/ui/transition/modal-transition.ios.js.map +0 -1
- package/ui/transition/page-transition.android.d.ts +0 -9
- package/ui/transition/page-transition.android.js +0 -284
- package/ui/transition/page-transition.android.js.map +0 -1
- package/ui/transition/page-transition.ios.d.ts +0 -35
- package/ui/transition/page-transition.ios.js +0 -193
- package/ui/transition/page-transition.ios.js.map +0 -1
- package/ui/transition/shared-transition-helper.android.d.ts +0 -9
- package/ui/transition/shared-transition-helper.android.js +0 -10
- package/ui/transition/shared-transition-helper.android.js.map +0 -1
- package/ui/transition/shared-transition-helper.ios.d.ts +0 -14
- package/ui/transition/shared-transition-helper.ios.js +0 -539
- package/ui/transition/shared-transition-helper.ios.js.map +0 -1
- package/ui/transition/shared-transition.d.ts +0 -271
- package/ui/transition/shared-transition.js +0 -215
- package/ui/transition/shared-transition.js.map +0 -1
- package/ui/transition/slide-transition.android.d.ts +0 -7
- package/ui/transition/slide-transition.android.js +0 -116
- package/ui/transition/slide-transition.android.js.map +0 -1
- package/ui/transition/slide-transition.ios.d.ts +0 -19
- package/ui/transition/slide-transition.ios.js +0 -94
- package/ui/transition/slide-transition.ios.js.map +0 -1
- package/ui/utils.android.d.ts +0 -5
- package/ui/utils.android.js +0 -16
- package/ui/utils.android.js.map +0 -1
- package/ui/utils.ios.d.ts +0 -11
- package/ui/utils.ios.js +0 -66
- package/ui/utils.ios.js.map +0 -1
- package/ui/web-view/index.android.d.ts +0 -18
- package/ui/web-view/index.android.js +0 -173
- package/ui/web-view/index.android.js.map +0 -1
- package/ui/web-view/index.ios.d.ts +0 -27
- package/ui/web-view/index.ios.js +0 -246
- package/ui/web-view/index.ios.js.map +0 -1
- package/ui/web-view/web-view-common.d.ts +0 -30
- package/ui/web-view/web-view-common.js +0 -74
- package/ui/web-view/web-view-common.js.map +0 -1
- package/ui/web-view/web-view-interfaces.d.ts +0 -11
- package/ui/web-view/web-view-interfaces.js +0 -2
- package/ui/web-view/web-view-interfaces.js.map +0 -1
- package/utils/animation-helpers.d.ts +0 -27
- package/utils/animation-helpers.js +0 -48
- package/utils/animation-helpers.js.map +0 -1
- package/utils/common.d.ts +0 -28
- package/utils/common.js +0 -158
- package/utils/common.js.map +0 -1
- package/utils/constants.android.d.ts +0 -2
- package/utils/constants.android.js +0 -5
- package/utils/constants.android.js.map +0 -1
- package/utils/constants.ios.d.ts +0 -2
- package/utils/constants.ios.js +0 -5
- package/utils/constants.ios.js.map +0 -1
- package/utils/debug-source.d.ts +0 -19
- package/utils/debug-source.js +0 -78
- package/utils/debug-source.js.map +0 -1
- package/utils/debug.js +0 -3
- package/utils/debug.js.map +0 -1
- package/utils/index.android.d.ts +0 -26
- package/utils/index.android.js +0 -205
- package/utils/index.android.js.map +0 -1
- package/utils/index.ios.d.ts +0 -22
- package/utils/index.ios.js +0 -113
- package/utils/index.ios.js.map +0 -1
- package/utils/layout-helper/index.android.d.ts +0 -25
- package/utils/layout-helper/index.android.js +0 -86
- package/utils/layout-helper/index.android.js.map +0 -1
- package/utils/layout-helper/index.ios.d.ts +0 -25
- package/utils/layout-helper/index.ios.js +0 -68
- package/utils/layout-helper/index.ios.js.map +0 -1
- package/utils/layout-helper/layout-helper-common.d.ts +0 -5
- package/utils/layout-helper/layout-helper-common.js +0 -49
- package/utils/layout-helper/layout-helper-common.js.map +0 -1
- package/utils/layout-helper/layout-helper-shared.d.ts +0 -9
- package/utils/layout-helper/layout-helper-shared.js +0 -13
- package/utils/layout-helper/layout-helper-shared.js.map +0 -1
- package/utils/lazy.js +0 -5
- package/utils/lazy.js.map +0 -1
- package/utils/macrotask-scheduler.js +0 -26
- package/utils/macrotask-scheduler.js.map +0 -1
- package/utils/mainthread-helper.android.d.ts +0 -3
- package/utils/mainthread-helper.android.js +0 -28
- package/utils/mainthread-helper.android.js.map +0 -1
- package/utils/mainthread-helper.ios.d.ts +0 -3
- package/utils/mainthread-helper.ios.js +0 -17
- package/utils/mainthread-helper.ios.js.map +0 -1
- package/utils/module-merge.d.ts +0 -1
- package/utils/module-merge.js +0 -8
- package/utils/module-merge.js.map +0 -1
- package/utils/native-helper-for-android.d.ts +0 -45
- package/utils/native-helper-for-android.js +0 -376
- package/utils/native-helper-for-android.js.map +0 -1
- package/utils/native-helper.android.d.ts +0 -42
- package/utils/native-helper.android.js +0 -30
- package/utils/native-helper.android.js.map +0 -1
- package/utils/native-helper.ios.d.ts +0 -79
- package/utils/native-helper.ios.js +0 -339
- package/utils/native-helper.ios.js.map +0 -1
- package/utils/number-utils.d.ts +0 -19
- package/utils/number-utils.js +0 -37
- package/utils/number-utils.js.map +0 -1
- package/utils/platform-check.d.ts +0 -4
- package/utils/platform-check.js +0 -21
- package/utils/platform-check.js.map +0 -1
- package/utils/shared.d.ts +0 -17
- package/utils/shared.js +0 -40
- package/utils/shared.js.map +0 -1
- package/utils/types.js +0 -104
- package/utils/types.js.map +0 -1
- package/utils/utils-shared.d.ts +0 -1
- package/utils/utils-shared.js +0 -8
- package/utils/utils-shared.js.map +0 -1
- package/wgc/atob.d.ts +0 -1
- package/wgc/atob.js +0 -9
- package/wgc/atob.js.map +0 -1
- package/wgc/btoa.d.ts +0 -1
- package/wgc/btoa.js +0 -9
- package/wgc/btoa.js.map +0 -1
- package/wgc/crypto/SubtleCrypto.d.ts +0 -63
- package/wgc/crypto/SubtleCrypto.js +0 -551
- package/wgc/crypto/SubtleCrypto.js.map +0 -1
- package/wgc/crypto/index.d.ts +0 -8
- package/wgc/crypto/index.js +0 -32
- package/wgc/crypto/index.js.map +0 -1
- package/wgc/index.d.ts +0 -2
- package/wgc/index.js +0 -3
- package/wgc/index.js.map +0 -1
- package/xhr/index.d.ts +0 -113
- package/xhr/index.js +0 -486
- package/xhr/index.js.map +0 -1
- package/xml/index.d.ts +0 -108
- package/xml/index.js +0 -574
- package/xml/index.js.map +0 -1
package/ui/tab-view/index.ios.js
DELETED
|
@@ -1,877 +0,0 @@
|
|
|
1
|
-
import { Font } from '../styling/font';
|
|
2
|
-
import { IOSHelper, View } from '../core/view';
|
|
3
|
-
import { TabViewBase, TabViewItemBase, itemsProperty, selectedIndexProperty, tabTextColorProperty, tabTextFontSizeProperty, tabBackgroundColorProperty, selectedTabTextColorProperty, iosIconRenderingModeProperty, traceMissingIcon, iosBottomAccessoryProperty, iosTabBarMinimizeBehaviorProperty } from './tab-view-common';
|
|
4
|
-
import { Color } from '../../color';
|
|
5
|
-
import { Trace } from '../../trace';
|
|
6
|
-
import { fontInternalProperty } from '../styling/style-properties';
|
|
7
|
-
import { textTransformProperty, getTransformedText } from '../text-base';
|
|
8
|
-
import { ImageSource } from '../../image-source';
|
|
9
|
-
import { profile } from '../../profiling';
|
|
10
|
-
import { Frame } from '../frame';
|
|
11
|
-
import { layout } from '../../utils/layout-helper';
|
|
12
|
-
import { FONT_PREFIX, isFontIconURI, isSystemURI, SYSTEM_PREFIX } from '../../utils/common';
|
|
13
|
-
import { SDK_VERSION } from '../../utils/constants';
|
|
14
|
-
import { Device, Screen } from '../../platform';
|
|
15
|
-
export * from './tab-view-common';
|
|
16
|
-
var UITabBarControllerImpl = (function (_super) {
|
|
17
|
-
__extends(UITabBarControllerImpl, _super);
|
|
18
|
-
function UITabBarControllerImpl() {
|
|
19
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
20
|
-
}
|
|
21
|
-
UITabBarControllerImpl.initWithOwner = function (owner) {
|
|
22
|
-
var handler = UITabBarControllerImpl.new();
|
|
23
|
-
handler._owner = owner;
|
|
24
|
-
return handler;
|
|
25
|
-
};
|
|
26
|
-
UITabBarControllerImpl.prototype.viewDidLoad = function () {
|
|
27
|
-
_super.prototype.viewDidLoad.call(this);
|
|
28
|
-
this.extendedLayoutIncludesOpaqueBars = true;
|
|
29
|
-
};
|
|
30
|
-
UITabBarControllerImpl.prototype.viewWillAppear = function (animated) {
|
|
31
|
-
var _a;
|
|
32
|
-
_super.prototype.viewWillAppear.call(this, animated);
|
|
33
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
34
|
-
if (!owner) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
IOSHelper.updateAutoAdjustScrollInsets(this, owner);
|
|
38
|
-
if (!owner.parent) {
|
|
39
|
-
owner.callLoaded();
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
UITabBarControllerImpl.prototype.viewDidDisappear = function (animated) {
|
|
43
|
-
var _a;
|
|
44
|
-
_super.prototype.viewDidDisappear.call(this, animated);
|
|
45
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
46
|
-
if (owner && !owner.parent && owner.isLoaded && !this.presentedViewController) {
|
|
47
|
-
owner.callUnloaded();
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
UITabBarControllerImpl.prototype.viewWillTransitionToSizeWithTransitionCoordinator = function (size, coordinator) {
|
|
51
|
-
var _this = this;
|
|
52
|
-
_super.prototype.viewWillTransitionToSizeWithTransitionCoordinator.call(this, size, coordinator);
|
|
53
|
-
coordinator.animateAlongsideTransitionCompletion(null, function () {
|
|
54
|
-
var _a;
|
|
55
|
-
var owner = (_a = _this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
56
|
-
if (owner && owner.items) {
|
|
57
|
-
owner.items.forEach(function (tabItem) { return tabItem._updateTitleAndIconPositions(); });
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
};
|
|
61
|
-
UITabBarControllerImpl.prototype.traitCollectionDidChange = function (previousTraitCollection) {
|
|
62
|
-
var _a;
|
|
63
|
-
_super.prototype.traitCollectionDidChange.call(this, previousTraitCollection);
|
|
64
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
65
|
-
if (owner) {
|
|
66
|
-
if (SDK_VERSION >= 13) {
|
|
67
|
-
if (this.traitCollection.hasDifferentColorAppearanceComparedToTraitCollection && this.traitCollection.hasDifferentColorAppearanceComparedToTraitCollection(previousTraitCollection)) {
|
|
68
|
-
owner.notify({
|
|
69
|
-
eventName: IOSHelper.traitCollectionColorAppearanceChangedEvent,
|
|
70
|
-
object: owner,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (this.traitCollection.layoutDirection !== previousTraitCollection.layoutDirection) {
|
|
75
|
-
owner.notify({
|
|
76
|
-
eventName: IOSHelper.traitCollectionLayoutDirectionChangedEvent,
|
|
77
|
-
object: owner,
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
__decorate([
|
|
83
|
-
profile
|
|
84
|
-
], UITabBarControllerImpl.prototype, "viewWillAppear", null);
|
|
85
|
-
__decorate([
|
|
86
|
-
profile
|
|
87
|
-
], UITabBarControllerImpl.prototype, "viewDidDisappear", null);
|
|
88
|
-
return UITabBarControllerImpl;
|
|
89
|
-
}(UITabBarController));
|
|
90
|
-
var UITabBarControllerDelegateImpl = (function (_super) {
|
|
91
|
-
__extends(UITabBarControllerDelegateImpl, _super);
|
|
92
|
-
function UITabBarControllerDelegateImpl() {
|
|
93
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
94
|
-
}
|
|
95
|
-
UITabBarControllerDelegateImpl.initWithOwner = function (owner) {
|
|
96
|
-
var delegate = UITabBarControllerDelegateImpl.new();
|
|
97
|
-
delegate._owner = owner;
|
|
98
|
-
return delegate;
|
|
99
|
-
};
|
|
100
|
-
UITabBarControllerDelegateImpl.prototype.tabBarControllerShouldSelectViewController = function (tabBarController, viewController) {
|
|
101
|
-
var _a;
|
|
102
|
-
if (Trace.isEnabled()) {
|
|
103
|
-
Trace.write("TabView.delegate.SHOULD_select(" + tabBarController + ", " + viewController + ");", Trace.categories.Debug);
|
|
104
|
-
}
|
|
105
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
106
|
-
if (owner) {
|
|
107
|
-
owner._handleTwoNavigationBars(false);
|
|
108
|
-
}
|
|
109
|
-
if (tabBarController.selectedViewController === viewController) {
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
|
-
return true;
|
|
113
|
-
};
|
|
114
|
-
UITabBarControllerDelegateImpl.prototype.tabBarControllerDidSelectViewController = function (tabBarController, viewController) {
|
|
115
|
-
var _a;
|
|
116
|
-
if (Trace.isEnabled()) {
|
|
117
|
-
Trace.write("TabView.delegate.DID_select(" + tabBarController + ", " + viewController + ");", Trace.categories.Debug);
|
|
118
|
-
}
|
|
119
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
120
|
-
if (owner) {
|
|
121
|
-
owner._onViewControllerShown(tabBarController, viewController);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
UITabBarControllerDelegateImpl.ObjCProtocols = [UITabBarControllerDelegate];
|
|
125
|
-
return UITabBarControllerDelegateImpl;
|
|
126
|
-
}(NSObject));
|
|
127
|
-
var UINavigationControllerDelegateImpl = (function (_super) {
|
|
128
|
-
__extends(UINavigationControllerDelegateImpl, _super);
|
|
129
|
-
function UINavigationControllerDelegateImpl() {
|
|
130
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
131
|
-
}
|
|
132
|
-
UINavigationControllerDelegateImpl.initWithOwner = function (owner) {
|
|
133
|
-
var delegate = UINavigationControllerDelegateImpl.new();
|
|
134
|
-
delegate._owner = owner;
|
|
135
|
-
return delegate;
|
|
136
|
-
};
|
|
137
|
-
UINavigationControllerDelegateImpl.prototype.navigationControllerWillShowViewControllerAnimated = function (navigationController, viewController, animated) {
|
|
138
|
-
var _a, _b, _c;
|
|
139
|
-
if (Trace.isEnabled()) {
|
|
140
|
-
Trace.write("TabView.moreNavigationController.WILL_show(" + navigationController + ", " + viewController + ", " + animated + ");", Trace.categories.Debug);
|
|
141
|
-
}
|
|
142
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
143
|
-
if (owner) {
|
|
144
|
-
var backToMoreWillBeVisible = (_c = (_b = navigationController.tabBarController) === null || _b === void 0 ? void 0 : _b.viewControllers) === null || _c === void 0 ? void 0 : _c.containsObject(viewController);
|
|
145
|
-
owner._handleTwoNavigationBars(backToMoreWillBeVisible);
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
UINavigationControllerDelegateImpl.prototype.navigationControllerDidShowViewControllerAnimated = function (navigationController, viewController, animated) {
|
|
149
|
-
var _a;
|
|
150
|
-
if (Trace.isEnabled()) {
|
|
151
|
-
Trace.write("TabView.moreNavigationController.DID_show(" + navigationController + ", " + viewController + ", " + animated + ");", Trace.categories.Debug);
|
|
152
|
-
}
|
|
153
|
-
navigationController.navigationBar.topItem.rightBarButtonItem = null;
|
|
154
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
155
|
-
if (owner) {
|
|
156
|
-
owner._onViewControllerShown(navigationController.tabBarController, viewController);
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
UINavigationControllerDelegateImpl.ObjCProtocols = [UINavigationControllerDelegate];
|
|
160
|
-
return UINavigationControllerDelegateImpl;
|
|
161
|
-
}(NSObject));
|
|
162
|
-
function updateTitleAndIconPositions(tabItem, tabBarItem, controller) {
|
|
163
|
-
if (!tabItem || !tabBarItem) {
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
// For iOS <11 icon is *always* above the text.
|
|
167
|
-
// For iOS 11 icon is above the text *only* on phones in portrait mode.
|
|
168
|
-
const orientation = controller.interfaceOrientation;
|
|
169
|
-
const isPortrait = orientation !== 4 /* UIInterfaceOrientation.LandscapeLeft */ && orientation !== 3 /* UIInterfaceOrientation.LandscapeRight */;
|
|
170
|
-
const isIconAboveTitle = (!__VISIONOS__ && SDK_VERSION < 11) || (Device.deviceType === 'Phone' && isPortrait);
|
|
171
|
-
if (!tabItem.iconSource) {
|
|
172
|
-
if (isIconAboveTitle) {
|
|
173
|
-
tabBarItem.titlePositionAdjustment = {
|
|
174
|
-
horizontal: 0,
|
|
175
|
-
vertical: -20,
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
tabBarItem.titlePositionAdjustment = { horizontal: 0, vertical: 0 };
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
if (!tabItem.title) {
|
|
183
|
-
if (isIconAboveTitle) {
|
|
184
|
-
tabBarItem.imageInsets = new UIEdgeInsets({
|
|
185
|
-
top: 6,
|
|
186
|
-
left: 0,
|
|
187
|
-
bottom: -6,
|
|
188
|
-
right: 0,
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
tabBarItem.imageInsets = new UIEdgeInsets({
|
|
193
|
-
top: 0,
|
|
194
|
-
left: 0,
|
|
195
|
-
bottom: 0,
|
|
196
|
-
right: 0,
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
export class TabViewItem extends TabViewItemBase {
|
|
202
|
-
setViewController(controller, nativeView) {
|
|
203
|
-
this.__controller = controller;
|
|
204
|
-
this.setNativeView(nativeView);
|
|
205
|
-
}
|
|
206
|
-
disposeNativeView() {
|
|
207
|
-
this.__controller = undefined;
|
|
208
|
-
this.setNativeView(undefined);
|
|
209
|
-
}
|
|
210
|
-
loadView(view) {
|
|
211
|
-
const tabView = this.parent;
|
|
212
|
-
if (tabView && tabView.items) {
|
|
213
|
-
const index = tabView.items.indexOf(this);
|
|
214
|
-
if (index === tabView.selectedIndex) {
|
|
215
|
-
super.loadView(view);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
_update() {
|
|
220
|
-
const parent = this.parent;
|
|
221
|
-
const controller = this.__controller;
|
|
222
|
-
if (parent && controller) {
|
|
223
|
-
const icon = parent._getIcon(this);
|
|
224
|
-
const index = parent.items.indexOf(this);
|
|
225
|
-
const title = getTransformedText(this.title, this.style.textTransform);
|
|
226
|
-
if (SDK_VERSION >= 18) {
|
|
227
|
-
// iOS 18+: use UITab instead of UITabBarItem.
|
|
228
|
-
// The UITab instances are created and managed at the TabView level,
|
|
229
|
-
// so here we just update the corresponding tab for this controller.
|
|
230
|
-
const identifier = `${index}`;
|
|
231
|
-
const tabController = parent.viewController;
|
|
232
|
-
try {
|
|
233
|
-
const tab = tabController.tabForIdentifier(identifier);
|
|
234
|
-
if (tab) {
|
|
235
|
-
tab.title = title;
|
|
236
|
-
tab.image = icon;
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
catch (e) {
|
|
240
|
-
// Fallback: if tabForIdentifier is not available for some reason,
|
|
241
|
-
// do not crash – rely on existing tab configuration.
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
// iOS < 18: keep using UITabBarItem-based configuration.
|
|
246
|
-
const tabBarItem = UITabBarItem.alloc().initWithTitleImageTag(title, icon, index);
|
|
247
|
-
updateTitleAndIconPositions(this, tabBarItem, controller);
|
|
248
|
-
// There is no need to request title styles update here in newer versions as styling is handled by bar appearance instance
|
|
249
|
-
if (!__VISIONOS__ && SDK_VERSION < 15) {
|
|
250
|
-
// TODO: Repeating code. Make TabViewItemBase - ViewBase and move the colorProperty on tabViewItem.
|
|
251
|
-
// Delete the repeating code.
|
|
252
|
-
const states = getTitleAttributesForStates(parent);
|
|
253
|
-
applyStatesToItem(tabBarItem, states);
|
|
254
|
-
}
|
|
255
|
-
controller.tabBarItem = tabBarItem;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
_updateTitleAndIconPositions() {
|
|
260
|
-
// UITab-based configuration (iOS 18+) does not expose the same per-item
|
|
261
|
-
// title/icon positioning APIs as UITabBarItem, so we only adjust
|
|
262
|
-
// positions when using the legacy UITabBarItem setup.
|
|
263
|
-
if (SDK_VERSION >= 18 || !this.__controller || !this.__controller.tabBarItem) {
|
|
264
|
-
return;
|
|
265
|
-
}
|
|
266
|
-
updateTitleAndIconPositions(this, this.__controller.tabBarItem, this.__controller);
|
|
267
|
-
}
|
|
268
|
-
[textTransformProperty.setNative](value) {
|
|
269
|
-
this._update();
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
export class TabView extends TabViewBase {
|
|
273
|
-
constructor() {
|
|
274
|
-
super();
|
|
275
|
-
this._iconsCache = {};
|
|
276
|
-
this.viewController = this._ios = UITabBarControllerImpl.initWithOwner(new WeakRef(this));
|
|
277
|
-
}
|
|
278
|
-
createNativeView() {
|
|
279
|
-
// View controller can be disposed during view disposal, so make sure to create a new one if not defined
|
|
280
|
-
if (!this._ios) {
|
|
281
|
-
this.viewController = this._ios = UITabBarControllerImpl.initWithOwner(new WeakRef(this));
|
|
282
|
-
}
|
|
283
|
-
return this._ios.view;
|
|
284
|
-
}
|
|
285
|
-
initNativeView() {
|
|
286
|
-
super.initNativeView();
|
|
287
|
-
this._delegate = UITabBarControllerDelegateImpl.initWithOwner(new WeakRef(this));
|
|
288
|
-
this._moreNavigationControllerDelegate = UINavigationControllerDelegateImpl.initWithOwner(new WeakRef(this));
|
|
289
|
-
}
|
|
290
|
-
disposeNativeView() {
|
|
291
|
-
this._delegate = null;
|
|
292
|
-
this._moreNavigationControllerDelegate = null;
|
|
293
|
-
this.viewController = null;
|
|
294
|
-
this._ios = null;
|
|
295
|
-
super.disposeNativeView();
|
|
296
|
-
}
|
|
297
|
-
onLoaded() {
|
|
298
|
-
super.onLoaded();
|
|
299
|
-
const selectedIndex = this.selectedIndex;
|
|
300
|
-
const selectedView = this.items && this.items[selectedIndex] && this.items[selectedIndex].view;
|
|
301
|
-
if (selectedView instanceof Frame) {
|
|
302
|
-
selectedView._pushInFrameStackRecursive();
|
|
303
|
-
}
|
|
304
|
-
if (this._ios) {
|
|
305
|
-
this._ios.delegate = this._delegate;
|
|
306
|
-
}
|
|
307
|
-
// Re-apply bottom accessory if set
|
|
308
|
-
if (this.iosBottomAccessory) {
|
|
309
|
-
this._applyBottomAccessory(this.iosBottomAccessory, false);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
onUnloaded() {
|
|
313
|
-
if (this._ios) {
|
|
314
|
-
this._ios.delegate = null;
|
|
315
|
-
if (this._ios.moreNavigationController) {
|
|
316
|
-
this._ios.moreNavigationController.delegate = null;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
// Avoid retaining custom view when unloading
|
|
320
|
-
this._applyBottomAccessory(null, false);
|
|
321
|
-
super.onUnloaded();
|
|
322
|
-
}
|
|
323
|
-
// @ts-ignore
|
|
324
|
-
get ios() {
|
|
325
|
-
return this._ios;
|
|
326
|
-
}
|
|
327
|
-
layoutNativeView(left, top, right, bottom) {
|
|
328
|
-
//
|
|
329
|
-
}
|
|
330
|
-
_setNativeViewFrame(nativeView, frame) {
|
|
331
|
-
//
|
|
332
|
-
}
|
|
333
|
-
onSelectedIndexChanged(oldIndex, newIndex) {
|
|
334
|
-
const items = this.items;
|
|
335
|
-
if (!items) {
|
|
336
|
-
return;
|
|
337
|
-
}
|
|
338
|
-
const oldItem = items[oldIndex];
|
|
339
|
-
if (oldItem) {
|
|
340
|
-
oldItem.unloadView(oldItem.view);
|
|
341
|
-
}
|
|
342
|
-
const newItem = items[newIndex];
|
|
343
|
-
if (newItem && this.isLoaded) {
|
|
344
|
-
const selectedView = items[newIndex].view;
|
|
345
|
-
if (selectedView instanceof Frame) {
|
|
346
|
-
selectedView._pushInFrameStackRecursive();
|
|
347
|
-
}
|
|
348
|
-
newItem.loadView(newItem.view);
|
|
349
|
-
}
|
|
350
|
-
super.onSelectedIndexChanged(oldIndex, newIndex);
|
|
351
|
-
}
|
|
352
|
-
onMeasure(widthMeasureSpec, heightMeasureSpec) {
|
|
353
|
-
const width = layout.getMeasureSpecSize(widthMeasureSpec);
|
|
354
|
-
const widthMode = layout.getMeasureSpecMode(widthMeasureSpec);
|
|
355
|
-
const height = layout.getMeasureSpecSize(heightMeasureSpec);
|
|
356
|
-
const heightMode = layout.getMeasureSpecMode(heightMeasureSpec);
|
|
357
|
-
const widthAndState = View.resolveSizeAndState(width, width, widthMode, 0);
|
|
358
|
-
const heightAndState = View.resolveSizeAndState(height, height, heightMode, 0);
|
|
359
|
-
this.setMeasuredDimension(widthAndState, heightAndState);
|
|
360
|
-
}
|
|
361
|
-
_onViewControllerShown(tabBarController, viewController) {
|
|
362
|
-
// This method could be called with the moreNavigationController or its list controller, so we have to check.
|
|
363
|
-
if (Trace.isEnabled()) {
|
|
364
|
-
Trace.write('TabView._onViewControllerShown(' + viewController + ');', Trace.categories.Debug);
|
|
365
|
-
}
|
|
366
|
-
if (tabBarController?.viewControllers && tabBarController.viewControllers.containsObject(viewController)) {
|
|
367
|
-
this.selectedIndex = tabBarController.viewControllers.indexOfObject(viewController);
|
|
368
|
-
}
|
|
369
|
-
else {
|
|
370
|
-
if (Trace.isEnabled()) {
|
|
371
|
-
Trace.write('TabView._onViewControllerShown: viewController is not one of our viewControllers', Trace.categories.Debug);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
_handleTwoNavigationBars(backToMoreWillBeVisible) {
|
|
376
|
-
if (Trace.isEnabled()) {
|
|
377
|
-
Trace.write(`TabView._handleTwoNavigationBars(backToMoreWillBeVisible: ${backToMoreWillBeVisible})`, Trace.categories.Debug);
|
|
378
|
-
}
|
|
379
|
-
// The "< Back" and "< More" navigation bars should not be visible simultaneously.
|
|
380
|
-
let page = this.page || this._selectedView?.page;
|
|
381
|
-
if (!page && this._selectedView instanceof Frame) {
|
|
382
|
-
page = this._selectedView.currentPage;
|
|
383
|
-
}
|
|
384
|
-
if (!page || !page.frame) {
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
const actionBarVisible = page.frame._getNavBarVisible(page);
|
|
388
|
-
if (backToMoreWillBeVisible && actionBarVisible) {
|
|
389
|
-
if (page.frame.ios) {
|
|
390
|
-
page.frame.ios._disableNavBarAnimation = true;
|
|
391
|
-
page.actionBarHidden = true;
|
|
392
|
-
page.frame.ios._disableNavBarAnimation = false;
|
|
393
|
-
}
|
|
394
|
-
else {
|
|
395
|
-
page.actionBarHidden = true;
|
|
396
|
-
}
|
|
397
|
-
this._actionBarHiddenByTabView = true;
|
|
398
|
-
if (Trace.isEnabled()) {
|
|
399
|
-
Trace.write(`TabView hid action bar`, Trace.categories.Debug);
|
|
400
|
-
}
|
|
401
|
-
return;
|
|
402
|
-
}
|
|
403
|
-
if (!backToMoreWillBeVisible && this._actionBarHiddenByTabView) {
|
|
404
|
-
if (page.frame.ios) {
|
|
405
|
-
page.frame.ios._disableNavBarAnimation = true;
|
|
406
|
-
page.actionBarHidden = false;
|
|
407
|
-
page.frame.ios._disableNavBarAnimation = false;
|
|
408
|
-
}
|
|
409
|
-
else {
|
|
410
|
-
page.actionBarHidden = false;
|
|
411
|
-
}
|
|
412
|
-
this._actionBarHiddenByTabView = undefined;
|
|
413
|
-
if (Trace.isEnabled()) {
|
|
414
|
-
Trace.write(`TabView restored action bar`, Trace.categories.Debug);
|
|
415
|
-
}
|
|
416
|
-
return;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
getViewController(item) {
|
|
420
|
-
let newController = item.view ? item.view.viewController : null;
|
|
421
|
-
if (newController) {
|
|
422
|
-
item.setViewController(newController, newController.view);
|
|
423
|
-
return newController;
|
|
424
|
-
}
|
|
425
|
-
if (item.view.ios instanceof UIViewController) {
|
|
426
|
-
newController = item.view.ios;
|
|
427
|
-
item.setViewController(newController, newController.view);
|
|
428
|
-
}
|
|
429
|
-
else if (item.view.ios && item.view.ios.controller instanceof UIViewController) {
|
|
430
|
-
newController = item.view.ios.controller;
|
|
431
|
-
item.setViewController(newController, newController.view);
|
|
432
|
-
}
|
|
433
|
-
else {
|
|
434
|
-
newController = IOSHelper.UILayoutViewController.initWithOwner(new WeakRef(item.view));
|
|
435
|
-
newController.view.addSubview(item.view.nativeViewProtected);
|
|
436
|
-
item.view.viewController = newController;
|
|
437
|
-
item.setViewController(newController, item.view.nativeViewProtected);
|
|
438
|
-
}
|
|
439
|
-
return newController;
|
|
440
|
-
}
|
|
441
|
-
setViewControllers(items) {
|
|
442
|
-
const length = items ? items.length : 0;
|
|
443
|
-
if (length === 0) {
|
|
444
|
-
if (SDK_VERSION >= 18) {
|
|
445
|
-
// Clear tabs on iOS 18+ when there are no items.
|
|
446
|
-
try {
|
|
447
|
-
this._ios.tabs = NSArray.arrayWithArray([]);
|
|
448
|
-
}
|
|
449
|
-
catch (e) {
|
|
450
|
-
// Fallback if tabs API is unavailable for some reason.
|
|
451
|
-
this._ios.viewControllers = null;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
else {
|
|
455
|
-
this._ios.viewControllers = null;
|
|
456
|
-
}
|
|
457
|
-
return;
|
|
458
|
-
}
|
|
459
|
-
if (SDK_VERSION >= 18) {
|
|
460
|
-
// iOS 18+: build UITab instances and assign them to the controller.
|
|
461
|
-
const tabs = [];
|
|
462
|
-
const controllers = [];
|
|
463
|
-
items.forEach((item, i) => {
|
|
464
|
-
const controller = this.getViewController(item);
|
|
465
|
-
controllers.push(controller);
|
|
466
|
-
const icon = this._getIcon(item);
|
|
467
|
-
const title = item.title || '';
|
|
468
|
-
const identifier = `${i}`;
|
|
469
|
-
let tab;
|
|
470
|
-
if (item.role === 'search') {
|
|
471
|
-
tab = UISearchTab.alloc().initWithTitleImageIdentifierViewControllerProvider(title, icon, identifier, (t) => {
|
|
472
|
-
return controller;
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
else {
|
|
476
|
-
tab = UITab.alloc().initWithTitleImageIdentifierViewControllerProvider(title, icon, identifier, (t) => {
|
|
477
|
-
return controller;
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
tabs.push(tab);
|
|
481
|
-
item.canBeLoaded = true;
|
|
482
|
-
});
|
|
483
|
-
try {
|
|
484
|
-
// Prefer animated setter when available.
|
|
485
|
-
this._ios.tabs = NSArray.arrayWithArray(tabs);
|
|
486
|
-
}
|
|
487
|
-
catch (e) { }
|
|
488
|
-
this._ios.viewControllers = NSArray.arrayWithArray(controllers);
|
|
489
|
-
this._ios.customizableViewControllers = null;
|
|
490
|
-
}
|
|
491
|
-
else {
|
|
492
|
-
// iOS < 18: keep using UITabBarItem-based configuration.
|
|
493
|
-
const controllers = [];
|
|
494
|
-
const states = getTitleAttributesForStates(this);
|
|
495
|
-
items.forEach((item, i) => {
|
|
496
|
-
const controller = this.getViewController(item);
|
|
497
|
-
const icon = this._getIcon(item);
|
|
498
|
-
const tabBarItem = UITabBarItem.alloc().initWithTitleImageTag(item.title || '', icon, i);
|
|
499
|
-
updateTitleAndIconPositions(item, tabBarItem, controller);
|
|
500
|
-
if (!__VISIONOS__ && SDK_VERSION < 15) {
|
|
501
|
-
applyStatesToItem(tabBarItem, states);
|
|
502
|
-
}
|
|
503
|
-
controller.tabBarItem = tabBarItem;
|
|
504
|
-
controllers.push(controller);
|
|
505
|
-
item.canBeLoaded = true;
|
|
506
|
-
});
|
|
507
|
-
if (SDK_VERSION >= 15) {
|
|
508
|
-
this.updateBarItemAppearance(this._ios.tabBar, states);
|
|
509
|
-
}
|
|
510
|
-
this._ios.viewControllers = NSArray.arrayWithArray(controllers);
|
|
511
|
-
this._ios.customizableViewControllers = null;
|
|
512
|
-
}
|
|
513
|
-
// When we set this._ios.viewControllers, someone is clearing the moreNavigationController.delegate, so we have to reassign it each time here.
|
|
514
|
-
this._ios.moreNavigationController.delegate = this._moreNavigationControllerDelegate;
|
|
515
|
-
}
|
|
516
|
-
_getIconRenderingMode() {
|
|
517
|
-
switch (this.iosIconRenderingMode) {
|
|
518
|
-
case 'alwaysOriginal':
|
|
519
|
-
return 1 /* UIImageRenderingMode.AlwaysOriginal */;
|
|
520
|
-
case 'alwaysTemplate':
|
|
521
|
-
return 2 /* UIImageRenderingMode.AlwaysTemplate */;
|
|
522
|
-
case 'automatic':
|
|
523
|
-
default:
|
|
524
|
-
return 0 /* UIImageRenderingMode.Automatic */;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
_getIcon(item) {
|
|
528
|
-
if (!item || !item.iconSource) {
|
|
529
|
-
return null;
|
|
530
|
-
}
|
|
531
|
-
let image = this._iconsCache[item.iconSource];
|
|
532
|
-
if (!image) {
|
|
533
|
-
let is;
|
|
534
|
-
if (isSystemURI(item.iconSource)) {
|
|
535
|
-
is = ImageSource.fromSystemImageSync(item.iconSource.slice(SYSTEM_PREFIX.length));
|
|
536
|
-
}
|
|
537
|
-
else if (isFontIconURI(item.iconSource)) {
|
|
538
|
-
// Allow specifying a separate font family for the icon via style.iconFontFamily.
|
|
539
|
-
// If provided, construct a Font from the family and (optionally) size from fontInternal.
|
|
540
|
-
let iconFont = item.style.fontInternal;
|
|
541
|
-
const iconFontFamily = item.iconFontFamily || item.style.iconFontFamily;
|
|
542
|
-
if (iconFontFamily) {
|
|
543
|
-
// Preserve size/style from existing fontInternal if present.
|
|
544
|
-
const baseFont = item.style.fontInternal || Font.default;
|
|
545
|
-
iconFont = baseFont.withFontFamily(iconFontFamily);
|
|
546
|
-
}
|
|
547
|
-
is = ImageSource.fromFontIconCodeSync(item.iconSource.slice(FONT_PREFIX.length), iconFont, item.style.color);
|
|
548
|
-
}
|
|
549
|
-
else {
|
|
550
|
-
is = ImageSource.fromFileOrResourceSync(item.iconSource);
|
|
551
|
-
}
|
|
552
|
-
if (is && is.ios) {
|
|
553
|
-
const originalRenderedImage = is.ios.imageWithRenderingMode(this._getIconRenderingMode());
|
|
554
|
-
this._iconsCache[item.iconSource] = originalRenderedImage;
|
|
555
|
-
image = originalRenderedImage;
|
|
556
|
-
}
|
|
557
|
-
else {
|
|
558
|
-
traceMissingIcon(item.iconSource);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
return image;
|
|
562
|
-
}
|
|
563
|
-
_updateIOSTabBarColorsAndFonts() {
|
|
564
|
-
if (!this.items) {
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
const tabBar = this.ios.tabBar;
|
|
568
|
-
const states = getTitleAttributesForStates(this);
|
|
569
|
-
if (SDK_VERSION >= 15) {
|
|
570
|
-
this.updateBarItemAppearance(tabBar, states);
|
|
571
|
-
}
|
|
572
|
-
else {
|
|
573
|
-
for (let i = 0; i < tabBar.items.count; i++) {
|
|
574
|
-
applyStatesToItem(tabBar.items[i], states);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
updateBarItemAppearance(tabBar, states) {
|
|
579
|
-
const appearance = this._getAppearance(tabBar);
|
|
580
|
-
const itemAppearances = ['stackedLayoutAppearance', 'inlineLayoutAppearance', 'compactInlineLayoutAppearance'];
|
|
581
|
-
for (const itemAppearance of itemAppearances) {
|
|
582
|
-
appearance[itemAppearance].normal.titleTextAttributes = states.normalState;
|
|
583
|
-
appearance[itemAppearance].selected.titleTextAttributes = states.selectedState;
|
|
584
|
-
}
|
|
585
|
-
this._updateAppearance(tabBar, appearance);
|
|
586
|
-
}
|
|
587
|
-
_getAppearance(tabBar) {
|
|
588
|
-
if (tabBar.standardAppearance == null) {
|
|
589
|
-
const appearance = UITabBarAppearance.new();
|
|
590
|
-
appearance.stackedLayoutAppearance = appearance.inlineLayoutAppearance = appearance.compactInlineLayoutAppearance = UITabBarItemAppearance.new();
|
|
591
|
-
return appearance;
|
|
592
|
-
}
|
|
593
|
-
return tabBar.standardAppearance;
|
|
594
|
-
}
|
|
595
|
-
_updateAppearance(tabBar, appearance) {
|
|
596
|
-
tabBar.standardAppearance = appearance;
|
|
597
|
-
if (SDK_VERSION >= 15) {
|
|
598
|
-
tabBar.scrollEdgeAppearance = appearance;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
[selectedIndexProperty.setNative](value) {
|
|
602
|
-
if (Trace.isEnabled()) {
|
|
603
|
-
Trace.write('TabView._onSelectedIndexPropertyChangedSetNativeValue(' + value + ')', Trace.categories.Debug);
|
|
604
|
-
}
|
|
605
|
-
if (value > -1) {
|
|
606
|
-
this._ios.selectedIndex = value;
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
[itemsProperty.getDefault]() {
|
|
610
|
-
return null;
|
|
611
|
-
}
|
|
612
|
-
[itemsProperty.setNative](value) {
|
|
613
|
-
this.setViewControllers(value);
|
|
614
|
-
selectedIndexProperty.coerce(this);
|
|
615
|
-
}
|
|
616
|
-
[tabTextFontSizeProperty.getDefault]() {
|
|
617
|
-
return null;
|
|
618
|
-
}
|
|
619
|
-
[tabTextFontSizeProperty.setNative](value) {
|
|
620
|
-
this._updateIOSTabBarColorsAndFonts();
|
|
621
|
-
}
|
|
622
|
-
[tabTextColorProperty.getDefault]() {
|
|
623
|
-
return null;
|
|
624
|
-
}
|
|
625
|
-
[tabTextColorProperty.setNative](value) {
|
|
626
|
-
this._updateIOSTabBarColorsAndFonts();
|
|
627
|
-
}
|
|
628
|
-
[tabBackgroundColorProperty.getDefault]() {
|
|
629
|
-
return this._ios.tabBar.barTintColor;
|
|
630
|
-
}
|
|
631
|
-
[tabBackgroundColorProperty.setNative](value) {
|
|
632
|
-
if (SDK_VERSION >= 13) {
|
|
633
|
-
const appearance = this._getAppearance(this._ios.tabBar);
|
|
634
|
-
appearance.configureWithDefaultBackground();
|
|
635
|
-
appearance.backgroundColor = value instanceof Color ? value.ios : value;
|
|
636
|
-
this._updateAppearance(this._ios.tabBar, appearance);
|
|
637
|
-
}
|
|
638
|
-
else {
|
|
639
|
-
this._ios.tabBar.barTintColor = value instanceof Color ? value.ios : value;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
[selectedTabTextColorProperty.getDefault]() {
|
|
643
|
-
return this._ios.tabBar.tintColor;
|
|
644
|
-
}
|
|
645
|
-
[selectedTabTextColorProperty.setNative](value) {
|
|
646
|
-
this._ios.tabBar.tintColor = value instanceof Color ? value.ios : value;
|
|
647
|
-
this._updateIOSTabBarColorsAndFonts();
|
|
648
|
-
}
|
|
649
|
-
// TODO: Move this to TabViewItem
|
|
650
|
-
[fontInternalProperty.getDefault]() {
|
|
651
|
-
return null;
|
|
652
|
-
}
|
|
653
|
-
[fontInternalProperty.setNative](value) {
|
|
654
|
-
this._updateIOSTabBarColorsAndFonts();
|
|
655
|
-
}
|
|
656
|
-
// TODO: Move this to TabViewItem
|
|
657
|
-
[iosIconRenderingModeProperty.getDefault]() {
|
|
658
|
-
return 'automatic';
|
|
659
|
-
}
|
|
660
|
-
[iosIconRenderingModeProperty.setNative](value) {
|
|
661
|
-
this._iconsCache = {};
|
|
662
|
-
const items = this.items;
|
|
663
|
-
if (items && items.length) {
|
|
664
|
-
for (let i = 0, length = items.length; i < length; i++) {
|
|
665
|
-
const item = items[i];
|
|
666
|
-
if (item.iconSource) {
|
|
667
|
-
item._update();
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
// iOS 26+: bottom accessory support
|
|
673
|
-
[iosBottomAccessoryProperty.getDefault]() {
|
|
674
|
-
return null;
|
|
675
|
-
}
|
|
676
|
-
[iosBottomAccessoryProperty.setNative](value) {
|
|
677
|
-
this._applyBottomAccessory(value, false);
|
|
678
|
-
}
|
|
679
|
-
// iOS 26+: tab bar minimize behavior
|
|
680
|
-
[iosTabBarMinimizeBehaviorProperty.getDefault]() {
|
|
681
|
-
return 'automatic';
|
|
682
|
-
}
|
|
683
|
-
[iosTabBarMinimizeBehaviorProperty.setNative](value) {
|
|
684
|
-
if (SDK_VERSION < 26) {
|
|
685
|
-
return;
|
|
686
|
-
}
|
|
687
|
-
let mapped;
|
|
688
|
-
switch (value) {
|
|
689
|
-
case 'never':
|
|
690
|
-
mapped = 1 /* UITabBarMinimizeBehavior.Never */;
|
|
691
|
-
break;
|
|
692
|
-
case 'onScrollDown':
|
|
693
|
-
mapped = 2 /* UITabBarMinimizeBehavior.OnScrollDown */;
|
|
694
|
-
break;
|
|
695
|
-
case 'onScrollUp':
|
|
696
|
-
mapped = 3 /* UITabBarMinimizeBehavior.OnScrollUp */;
|
|
697
|
-
break;
|
|
698
|
-
case 'automatic':
|
|
699
|
-
default:
|
|
700
|
-
mapped = 0 /* UITabBarMinimizeBehavior.Automatic */;
|
|
701
|
-
}
|
|
702
|
-
this._ios.tabBarMinimizeBehavior = mapped;
|
|
703
|
-
}
|
|
704
|
-
_applyBottomAccessory(value, animated) {
|
|
705
|
-
// Guard for platform availability
|
|
706
|
-
if (SDK_VERSION < 26) {
|
|
707
|
-
return;
|
|
708
|
-
}
|
|
709
|
-
const setAccessory = (accessory) => {
|
|
710
|
-
try {
|
|
711
|
-
this._ios.setBottomAccessoryAnimated(accessory, animated);
|
|
712
|
-
}
|
|
713
|
-
catch (err) {
|
|
714
|
-
// Fallback to property if needed
|
|
715
|
-
this._ios.bottomAccessory = accessory;
|
|
716
|
-
}
|
|
717
|
-
};
|
|
718
|
-
// Clear previous
|
|
719
|
-
if (!value) {
|
|
720
|
-
// Clear on controller
|
|
721
|
-
setAccessory(null);
|
|
722
|
-
// Tear down previously managed NS view
|
|
723
|
-
if (this._bottomAccessoryNsView) {
|
|
724
|
-
// Do not remove from a parent; we didn't add it to the NS view tree.
|
|
725
|
-
try {
|
|
726
|
-
this._bottomAccessoryNsView._tearDownUI(true);
|
|
727
|
-
}
|
|
728
|
-
catch (_) { }
|
|
729
|
-
this._bottomAccessoryNsView = null;
|
|
730
|
-
}
|
|
731
|
-
return;
|
|
732
|
-
}
|
|
733
|
-
// Ensure the NativeScript view has a native view
|
|
734
|
-
const nsView = value;
|
|
735
|
-
if (!nsView.nativeViewProtected) {
|
|
736
|
-
// mirror dialogs approach to setup UI for a detached view
|
|
737
|
-
nsView._setupUI({});
|
|
738
|
-
}
|
|
739
|
-
// Just mark it loaded, if not already, so measurement & styling are applied.
|
|
740
|
-
if (!nsView.isLoaded) {
|
|
741
|
-
// In detached scenarios we simply callLoaded after setup.
|
|
742
|
-
nsView.callLoaded();
|
|
743
|
-
}
|
|
744
|
-
const contentView = nsView.nativeViewProtected;
|
|
745
|
-
if (!contentView) {
|
|
746
|
-
return;
|
|
747
|
-
}
|
|
748
|
-
// Use frame-based sizing; keep autoresizing mask-based behavior enabled (no Auto Layout constraints added here).
|
|
749
|
-
contentView.translatesAutoresizingMaskIntoConstraints = true;
|
|
750
|
-
// Measure desired height with the tab bar width
|
|
751
|
-
let tabBarWidth = this._ios?.tabBar?.frame?.size?.width || Screen.mainScreen.screen.bounds.size.width;
|
|
752
|
-
// Account for safe area insets so accessory doesn't extend visually past rounded corners
|
|
753
|
-
if (this._ios?.tabBar?.safeAreaInsets) {
|
|
754
|
-
const insets = this._ios.tabBar.safeAreaInsets;
|
|
755
|
-
// Reduce usable width by left+right safe area (typically 0, but defensive)
|
|
756
|
-
const horizontalInsets = insets.left + insets.right;
|
|
757
|
-
if (horizontalInsets > 0 && horizontalInsets < tabBarWidth) {
|
|
758
|
-
tabBarWidth -= horizontalInsets;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
const tabBarWidthPx = layout.toDevicePixels(tabBarWidth);
|
|
762
|
-
// Prefer flooring to avoid overshooting container by +1px due to FP rounding
|
|
763
|
-
const tabBarWidthPxRounded = Math.floor(tabBarWidthPx);
|
|
764
|
-
let measuredHeight = 0;
|
|
765
|
-
// Measure using device-pixel width; flooring prevents +1px expansion
|
|
766
|
-
const widthSpec = layout.makeMeasureSpec(tabBarWidthPxRounded, layout.EXACTLY);
|
|
767
|
-
const heightSpec = layout.makeMeasureSpec(0, layout.UNSPECIFIED);
|
|
768
|
-
nsView.measure(widthSpec, heightSpec);
|
|
769
|
-
measuredHeight = layout.toDeviceIndependentPixels(nsView.getMeasuredHeight());
|
|
770
|
-
// Use a sensible minimum height (44pt button row) if measurement is tiny
|
|
771
|
-
const minHeight = 44;
|
|
772
|
-
const finalHeight = Math.max(minHeight, measuredHeight || 0);
|
|
773
|
-
// Rely on container height constraint (below) and frame-based layout inside container.
|
|
774
|
-
const container = NSTabAccessoryContainer.initWithOwner(new WeakRef(nsView));
|
|
775
|
-
container.translatesAutoresizingMaskIntoConstraints = true;
|
|
776
|
-
container.autoresizingMask = 2 /* UIViewAutoresizing.FlexibleWidth */ | 16 /* UIViewAutoresizing.FlexibleHeight */;
|
|
777
|
-
// Mask any subpixel spill just in case
|
|
778
|
-
container.clipsToBounds = true;
|
|
779
|
-
container.addSubview(contentView);
|
|
780
|
-
// Constrain the container height (not the content) so UIKit has a concrete size.
|
|
781
|
-
const containerHeight = container.heightAnchor.constraintEqualToConstant(finalHeight);
|
|
782
|
-
containerHeight.priority = 999;
|
|
783
|
-
NSLayoutConstraint.activateConstraints([containerHeight]);
|
|
784
|
-
const accessory = UITabAccessory.alloc().initWithContentView(container);
|
|
785
|
-
setAccessory(accessory);
|
|
786
|
-
// Work around UIKit occasionally caching accessory sizes too aggressively
|
|
787
|
-
// by explicitly triggering a layout pass on the tab bar.
|
|
788
|
-
const tabBar = this._ios?.tabBar;
|
|
789
|
-
if (tabBar) {
|
|
790
|
-
tabBar.setNeedsLayout();
|
|
791
|
-
tabBar.layoutIfNeeded();
|
|
792
|
-
}
|
|
793
|
-
// Keep references for later teardown
|
|
794
|
-
this._bottomAccessoryNsView = nsView;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
__decorate([
|
|
798
|
-
profile,
|
|
799
|
-
__metadata("design:type", Function),
|
|
800
|
-
__metadata("design:paramtypes", []),
|
|
801
|
-
__metadata("design:returntype", void 0)
|
|
802
|
-
], TabView.prototype, "onLoaded", null);
|
|
803
|
-
var NSTabAccessoryContainer = (function (_super) {
|
|
804
|
-
__extends(NSTabAccessoryContainer, _super);
|
|
805
|
-
function NSTabAccessoryContainer() {
|
|
806
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
807
|
-
}
|
|
808
|
-
NSTabAccessoryContainer.initWithOwner = function (owner) {
|
|
809
|
-
var v = NSTabAccessoryContainer.new();
|
|
810
|
-
v._owner = owner;
|
|
811
|
-
return v;
|
|
812
|
-
};
|
|
813
|
-
NSTabAccessoryContainer.prototype.traitCollectionDidChange = function (previousTraitCollection) {
|
|
814
|
-
var _a;
|
|
815
|
-
_super.prototype.traitCollectionDidChange.call(this, previousTraitCollection);
|
|
816
|
-
if (!previousTraitCollection) {
|
|
817
|
-
return;
|
|
818
|
-
}
|
|
819
|
-
if (((_a = this.traitCollection) === null || _a === void 0 ? void 0 : _a.horizontalSizeClass) !== previousTraitCollection.horizontalSizeClass) {
|
|
820
|
-
this.invalidateIntrinsicContentSize();
|
|
821
|
-
this.setNeedsLayout();
|
|
822
|
-
this.layoutIfNeeded();
|
|
823
|
-
}
|
|
824
|
-
};
|
|
825
|
-
NSTabAccessoryContainer.prototype.layoutSubviews = function () {
|
|
826
|
-
var _a;
|
|
827
|
-
_super.prototype.layoutSubviews.call(this);
|
|
828
|
-
var owner = (_a = this._owner) === null || _a === void 0 ? void 0 : _a.deref();
|
|
829
|
-
if (!(owner === null || owner === void 0 ? void 0 : owner.nativeViewProtected))
|
|
830
|
-
return;
|
|
831
|
-
owner.nativeViewProtected.frame = this.bounds;
|
|
832
|
-
var w = this.bounds.size.width;
|
|
833
|
-
var h = this.bounds.size.height;
|
|
834
|
-
try {
|
|
835
|
-
var wp = Math.floor(layout.toDevicePixels(w));
|
|
836
|
-
var hp = Math.floor(layout.toDevicePixels(h));
|
|
837
|
-
var containerPxWidth = Math.floor(layout.toDevicePixels(this.bounds.size.width));
|
|
838
|
-
if (wp > containerPxWidth) {
|
|
839
|
-
wp = containerPxWidth;
|
|
840
|
-
}
|
|
841
|
-
var widthSpec = layout.makeMeasureSpec(wp, layout.EXACTLY);
|
|
842
|
-
var heightSpec = layout.makeMeasureSpec(hp, layout.EXACTLY);
|
|
843
|
-
owner.measure(widthSpec, heightSpec);
|
|
844
|
-
owner.layout(0, 0, wp, hp);
|
|
845
|
-
}
|
|
846
|
-
catch (_) { }
|
|
847
|
-
};
|
|
848
|
-
return NSTabAccessoryContainer;
|
|
849
|
-
}(UIView));
|
|
850
|
-
function getTitleAttributesForStates(tabView) {
|
|
851
|
-
const result = {
|
|
852
|
-
normalState: NSMutableDictionary.new(),
|
|
853
|
-
selectedState: NSMutableDictionary.new(),
|
|
854
|
-
};
|
|
855
|
-
const titleFontSize = tabView.style.tabTextFontSize;
|
|
856
|
-
let font = tabView.style.fontInternal || Font.default;
|
|
857
|
-
if (titleFontSize != null) {
|
|
858
|
-
font = font.withFontSize(titleFontSize);
|
|
859
|
-
}
|
|
860
|
-
const nativeFont = font.getUIFont(UIFont.systemFontOfSize(UIFont.labelFontSize));
|
|
861
|
-
result.normalState.setValueForKey(nativeFont, NSFontAttributeName);
|
|
862
|
-
result.selectedState.setValueForKey(nativeFont, NSFontAttributeName);
|
|
863
|
-
const titleColor = tabView.style.tabTextColor;
|
|
864
|
-
if (titleColor instanceof Color) {
|
|
865
|
-
result.normalState.setValueForKey(titleColor.ios, UITextAttributeTextColor);
|
|
866
|
-
}
|
|
867
|
-
const selectedTitleColor = tabView.style.selectedTabTextColor;
|
|
868
|
-
if (selectedTitleColor instanceof Color) {
|
|
869
|
-
result.selectedState.setValueForKey(selectedTitleColor.ios, UITextAttributeTextColor);
|
|
870
|
-
}
|
|
871
|
-
return result;
|
|
872
|
-
}
|
|
873
|
-
function applyStatesToItem(item, states) {
|
|
874
|
-
item.setTitleTextAttributesForState(states.normalState, 0 /* UIControlState.Normal */);
|
|
875
|
-
item.setTitleTextAttributesForState(states.selectedState, 4 /* UIControlState.Selected */);
|
|
876
|
-
}
|
|
877
|
-
//# sourceMappingURL=index.ios.js.map
|