@nativescript/core 9.0.9-rc.1 → 9.0.10-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -434
- 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 -726
- 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
|
@@ -1,376 +0,0 @@
|
|
|
1
|
-
import { Color } from '../color';
|
|
2
|
-
import { numberHasDecimals, numberIs64Bit } from './types';
|
|
3
|
-
import { getNativeApp } from '../application/helpers-common';
|
|
4
|
-
import { androidGetCurrentActivity } from '../application/helpers';
|
|
5
|
-
import { Trace } from '../trace';
|
|
6
|
-
import { topmost } from '../ui/frame/frame-stack';
|
|
7
|
-
export function dataDeserialize(nativeData) {
|
|
8
|
-
if (nativeData === null || typeof nativeData !== 'object') {
|
|
9
|
-
return nativeData;
|
|
10
|
-
}
|
|
11
|
-
let store;
|
|
12
|
-
switch (nativeData.getClass().getName()) {
|
|
13
|
-
case 'java.lang.String': {
|
|
14
|
-
return String(nativeData);
|
|
15
|
-
}
|
|
16
|
-
case 'java.lang.Boolean': {
|
|
17
|
-
return String(nativeData) === 'true';
|
|
18
|
-
}
|
|
19
|
-
case 'java.lang.Float':
|
|
20
|
-
case 'java.lang.Integer':
|
|
21
|
-
case 'java.lang.Long':
|
|
22
|
-
case 'java.lang.Double':
|
|
23
|
-
case 'java.lang.Short': {
|
|
24
|
-
return Number(nativeData);
|
|
25
|
-
}
|
|
26
|
-
case 'org.json.JSONArray': {
|
|
27
|
-
store = [];
|
|
28
|
-
for (let j = 0; j < nativeData.length(); j++) {
|
|
29
|
-
store[j] = dataDeserialize(nativeData.get(j));
|
|
30
|
-
}
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
case 'org.json.JSONObject': {
|
|
34
|
-
store = {};
|
|
35
|
-
const i = nativeData.keys();
|
|
36
|
-
let key;
|
|
37
|
-
while (i.hasNext()) {
|
|
38
|
-
key = i.next();
|
|
39
|
-
store[key] = dataDeserialize(nativeData.get(key));
|
|
40
|
-
}
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
case 'androidx.collection.SimpleArrayMap': {
|
|
44
|
-
const count = nativeData.size();
|
|
45
|
-
for (let l = 0; l < count; l++) {
|
|
46
|
-
const key = nativeData.keyAt(l);
|
|
47
|
-
store[key] = dataDeserialize(nativeData.get(key));
|
|
48
|
-
}
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
case 'androidx.collection.ArrayMap':
|
|
52
|
-
case 'android.os.Bundle':
|
|
53
|
-
case 'java.util.HashMap':
|
|
54
|
-
case 'java.util.Map': {
|
|
55
|
-
store = {};
|
|
56
|
-
const keys = nativeData.keySet().toArray();
|
|
57
|
-
for (let k = 0; k < keys.length; k++) {
|
|
58
|
-
const key = keys[k];
|
|
59
|
-
store[key] = dataDeserialize(nativeData.get(key));
|
|
60
|
-
}
|
|
61
|
-
break;
|
|
62
|
-
}
|
|
63
|
-
default:
|
|
64
|
-
if (typeof nativeData === 'object' && nativeData instanceof java.util.List) {
|
|
65
|
-
const array = [];
|
|
66
|
-
const size = nativeData.size();
|
|
67
|
-
for (let i = 0, n = size; i < n; i++) {
|
|
68
|
-
array[i] = dataDeserialize(nativeData.get(i));
|
|
69
|
-
}
|
|
70
|
-
store = array;
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
store = null;
|
|
74
|
-
}
|
|
75
|
-
break;
|
|
76
|
-
}
|
|
77
|
-
return store;
|
|
78
|
-
}
|
|
79
|
-
export function dataSerialize(data, wrapPrimitives) {
|
|
80
|
-
let store;
|
|
81
|
-
switch (typeof data) {
|
|
82
|
-
case 'string':
|
|
83
|
-
case 'boolean': {
|
|
84
|
-
if (wrapPrimitives) {
|
|
85
|
-
if (typeof data === 'string') {
|
|
86
|
-
return new java.lang.String(data);
|
|
87
|
-
}
|
|
88
|
-
return new java.lang.Boolean(data);
|
|
89
|
-
}
|
|
90
|
-
return data;
|
|
91
|
-
}
|
|
92
|
-
case 'number': {
|
|
93
|
-
const hasDecimals = numberHasDecimals(data);
|
|
94
|
-
if (numberIs64Bit(data)) {
|
|
95
|
-
if (hasDecimals) {
|
|
96
|
-
return java.lang.Double.valueOf(data);
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return java.lang.Long.valueOf(data);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
if (hasDecimals) {
|
|
104
|
-
return java.lang.Float.valueOf(data);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
return java.lang.Integer.valueOf(data);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
case 'object': {
|
|
112
|
-
if (!data) {
|
|
113
|
-
return null;
|
|
114
|
-
}
|
|
115
|
-
if (data instanceof Date) {
|
|
116
|
-
return new java.util.Date(data.getTime());
|
|
117
|
-
}
|
|
118
|
-
if (Array.isArray(data)) {
|
|
119
|
-
store = new java.util.ArrayList();
|
|
120
|
-
data.forEach((item) => store.add(dataSerialize(item, wrapPrimitives)));
|
|
121
|
-
return store;
|
|
122
|
-
}
|
|
123
|
-
if (data.native) {
|
|
124
|
-
return data.native;
|
|
125
|
-
}
|
|
126
|
-
store = new java.util.HashMap();
|
|
127
|
-
Object.keys(data).forEach((key) => store.put(key, dataSerialize(data[key], wrapPrimitives)));
|
|
128
|
-
return store;
|
|
129
|
-
}
|
|
130
|
-
default:
|
|
131
|
-
return null;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
export function getApplicationContext() {
|
|
135
|
-
return getApplication().getApplicationContext();
|
|
136
|
-
}
|
|
137
|
-
export function getCurrentActivity() {
|
|
138
|
-
return androidGetCurrentActivity();
|
|
139
|
-
}
|
|
140
|
-
export function getApplication() {
|
|
141
|
-
return getNativeApp();
|
|
142
|
-
}
|
|
143
|
-
export function getResources() {
|
|
144
|
-
return getApplication().getResources();
|
|
145
|
-
}
|
|
146
|
-
let packageName;
|
|
147
|
-
export function getPackageName() {
|
|
148
|
-
if (!packageName) {
|
|
149
|
-
packageName = getApplicationContext().getPackageName();
|
|
150
|
-
}
|
|
151
|
-
return packageName;
|
|
152
|
-
}
|
|
153
|
-
let inputMethodManager;
|
|
154
|
-
export function getInputMethodManager() {
|
|
155
|
-
if (!inputMethodManager) {
|
|
156
|
-
inputMethodManager = getApplicationContext().getSystemService(android.content.Context.INPUT_METHOD_SERVICE);
|
|
157
|
-
}
|
|
158
|
-
return inputMethodManager;
|
|
159
|
-
}
|
|
160
|
-
export function getWindow() {
|
|
161
|
-
return getCurrentActivity()?.getWindow();
|
|
162
|
-
}
|
|
163
|
-
export function showSoftInput(nativeView) {
|
|
164
|
-
const inputManager = getInputMethodManager();
|
|
165
|
-
if (inputManager && nativeView instanceof android.view.View) {
|
|
166
|
-
inputManager.showSoftInput(nativeView, android.view.inputmethod.InputMethodManager.SHOW_IMPLICIT);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
export function dismissSoftInput(nativeView) {
|
|
170
|
-
const inputManager = getInputMethodManager();
|
|
171
|
-
let windowToken;
|
|
172
|
-
if (nativeView instanceof android.view.View) {
|
|
173
|
-
if (!nativeView.hasFocus()) {
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
windowToken = nativeView.getWindowToken();
|
|
177
|
-
}
|
|
178
|
-
else if (getCurrentActivity() instanceof androidx.appcompat.app.AppCompatActivity) {
|
|
179
|
-
const modalDialog = (topmost()?._modalParent ?? topmost()?.modal)?._dialogFragment?.getDialog();
|
|
180
|
-
const window = (modalDialog ?? getCurrentActivity()).getWindow();
|
|
181
|
-
const decorView = window.getDecorView();
|
|
182
|
-
if (decorView) {
|
|
183
|
-
windowToken = decorView.getWindowToken();
|
|
184
|
-
decorView.requestFocus();
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
windowToken = null;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
if (inputManager && windowToken) {
|
|
191
|
-
inputManager.hideSoftInputFromWindow(windowToken, 0);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
export var collections;
|
|
195
|
-
(function (collections) {
|
|
196
|
-
function stringArrayToStringSet(str) {
|
|
197
|
-
const hashSet = new java.util.HashSet();
|
|
198
|
-
if (str !== undefined) {
|
|
199
|
-
for (const element in str) {
|
|
200
|
-
hashSet.add('' + str[element]);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
return hashSet;
|
|
204
|
-
}
|
|
205
|
-
collections.stringArrayToStringSet = stringArrayToStringSet;
|
|
206
|
-
function stringSetToStringArray(stringSet) {
|
|
207
|
-
const arr = [];
|
|
208
|
-
if (stringSet !== undefined) {
|
|
209
|
-
const it = stringSet.iterator();
|
|
210
|
-
while (it.hasNext()) {
|
|
211
|
-
const element = '' + it.next();
|
|
212
|
-
arr.push(element);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
return arr;
|
|
216
|
-
}
|
|
217
|
-
collections.stringSetToStringArray = stringSetToStringArray;
|
|
218
|
-
})(collections || (collections = {}));
|
|
219
|
-
export var resources;
|
|
220
|
-
(function (resources_1) {
|
|
221
|
-
let attr;
|
|
222
|
-
const attrCache = new Map();
|
|
223
|
-
function getDrawableId(name) {
|
|
224
|
-
return getId(':drawable/' + name);
|
|
225
|
-
}
|
|
226
|
-
resources_1.getDrawableId = getDrawableId;
|
|
227
|
-
function getStringId(name) {
|
|
228
|
-
return getId(':string/' + name);
|
|
229
|
-
}
|
|
230
|
-
resources_1.getStringId = getStringId;
|
|
231
|
-
function getId(name) {
|
|
232
|
-
const resources = getResources();
|
|
233
|
-
const packageName = getPackageName();
|
|
234
|
-
const uri = packageName + name;
|
|
235
|
-
return resources.getIdentifier(uri, null, null);
|
|
236
|
-
}
|
|
237
|
-
resources_1.getId = getId;
|
|
238
|
-
function getResource(name, type) {
|
|
239
|
-
return getResources().getIdentifier(name, type, getPackageName());
|
|
240
|
-
}
|
|
241
|
-
resources_1.getResource = getResource;
|
|
242
|
-
function getPaletteColor(name, context) {
|
|
243
|
-
if (attrCache.has(name)) {
|
|
244
|
-
return attrCache.get(name);
|
|
245
|
-
}
|
|
246
|
-
let result = 0;
|
|
247
|
-
try {
|
|
248
|
-
if (!attr) {
|
|
249
|
-
attr = java.lang.Class.forName('androidx.appcompat.R$attr');
|
|
250
|
-
}
|
|
251
|
-
let colorID = 0;
|
|
252
|
-
const field = attr.getField(name);
|
|
253
|
-
if (field) {
|
|
254
|
-
colorID = field.getInt(null);
|
|
255
|
-
}
|
|
256
|
-
if (colorID) {
|
|
257
|
-
const typedValue = new android.util.TypedValue();
|
|
258
|
-
context.getTheme().resolveAttribute(colorID, typedValue, true);
|
|
259
|
-
result = typedValue.data;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
catch (ex) {
|
|
263
|
-
Trace.write('Cannot get pallete color: ' + name, Trace.categories.Error, Trace.messageType.error);
|
|
264
|
-
}
|
|
265
|
-
attrCache.set(name, result);
|
|
266
|
-
return result;
|
|
267
|
-
}
|
|
268
|
-
resources_1.getPaletteColor = getPaletteColor;
|
|
269
|
-
})(resources || (resources = {}));
|
|
270
|
-
export function isRealDevice() {
|
|
271
|
-
const fingerprint = android.os.Build.FINGERPRINT;
|
|
272
|
-
return fingerprint != null && (fingerprint.indexOf('vbox') > -1 || fingerprint.indexOf('generic') > -1);
|
|
273
|
-
}
|
|
274
|
-
const DefaultLightScrim = new Color(0xe6, 0xff, 0xff, 0xff);
|
|
275
|
-
const DefaultDarkScrim = new Color(0x80, 0x1b, 0x1b, 0x1b);
|
|
276
|
-
const DefaultStatusBarLight = new Color(0);
|
|
277
|
-
const DefaultStatusBarDark = new Color(0);
|
|
278
|
-
const systemColors = new WeakMap();
|
|
279
|
-
function setEnableEdgeToEdge(activity, existingColors) {
|
|
280
|
-
enableEdgeToEdge(activity, {
|
|
281
|
-
statusBarLightColor: existingColors.statusBarLight,
|
|
282
|
-
statusBarDarkColor: existingColors.statusBarDark,
|
|
283
|
-
navigationBarLightColor: existingColors.navigationBarLight,
|
|
284
|
-
navigationBarDarkColor: existingColors.navigationBarDark,
|
|
285
|
-
handleDarkMode: existingColors?.handler ?? null,
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
export function setStatusBarColor(options) {
|
|
289
|
-
const statusBarLightColor = options?.lightColor ?? null;
|
|
290
|
-
const statusBarDarkColor = options?.darkColor ?? null;
|
|
291
|
-
const activity = options?.activity ?? getCurrentActivity();
|
|
292
|
-
if (activity) {
|
|
293
|
-
const existingColors = systemColors.get(activity) ?? {
|
|
294
|
-
navigationBarLight: DefaultLightScrim,
|
|
295
|
-
navigationBarDark: DefaultDarkScrim,
|
|
296
|
-
statusBarLight: DefaultStatusBarLight,
|
|
297
|
-
statusBarDark: DefaultStatusBarDark,
|
|
298
|
-
};
|
|
299
|
-
existingColors.statusBarLight ?? (existingColors.statusBarLight = statusBarLightColor);
|
|
300
|
-
existingColors.statusBarDark ?? (existingColors.statusBarDark = statusBarDarkColor);
|
|
301
|
-
systemColors.set(getCurrentActivity(), existingColors);
|
|
302
|
-
setEnableEdgeToEdge(activity, existingColors);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
export function setNavigationBarColor(options) {
|
|
306
|
-
const navigationBarLightColor = options?.lightColor ?? null;
|
|
307
|
-
const navigationBarDarkColor = options?.darkColor ?? null;
|
|
308
|
-
const activity = options?.activity ?? getCurrentActivity();
|
|
309
|
-
if (activity) {
|
|
310
|
-
const existingColors = systemColors.get(activity) ?? {
|
|
311
|
-
navigationBarLight: DefaultLightScrim,
|
|
312
|
-
navigationBarDark: DefaultDarkScrim,
|
|
313
|
-
statusBarLight: DefaultStatusBarLight,
|
|
314
|
-
statusBarDark: DefaultStatusBarDark,
|
|
315
|
-
};
|
|
316
|
-
existingColors.navigationBarLight ?? (existingColors.navigationBarLight = navigationBarLightColor);
|
|
317
|
-
existingColors.navigationBarDark ?? (existingColors.navigationBarDark = navigationBarDarkColor);
|
|
318
|
-
systemColors.set(getCurrentActivity(), existingColors);
|
|
319
|
-
setEnableEdgeToEdge(activity, existingColors);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
export function setDarkModeHandler(options) {
|
|
323
|
-
const darkModeHandler = options?.handler ?? null;
|
|
324
|
-
const activity = options?.activity ?? getCurrentActivity();
|
|
325
|
-
if (activity) {
|
|
326
|
-
const existingColors = systemColors.get(activity) ?? {
|
|
327
|
-
navigationBarLight: DefaultLightScrim,
|
|
328
|
-
navigationBarDark: DefaultDarkScrim,
|
|
329
|
-
statusBarLight: DefaultStatusBarLight,
|
|
330
|
-
statusBarDark: DefaultStatusBarDark,
|
|
331
|
-
};
|
|
332
|
-
existingColors.handler ?? (existingColors.handler = darkModeHandler);
|
|
333
|
-
systemColors.set(getCurrentActivity(), existingColors);
|
|
334
|
-
setEnableEdgeToEdge(activity, existingColors);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
export function enableEdgeToEdge(activity, options) {
|
|
338
|
-
let handleDarkMode;
|
|
339
|
-
let statusBarLight = 0;
|
|
340
|
-
let statusBarDark = 0;
|
|
341
|
-
let navigationBarLight = DefaultLightScrim.android;
|
|
342
|
-
let navigationBarDark = DefaultDarkScrim.android;
|
|
343
|
-
if (options) {
|
|
344
|
-
if (typeof options.handleDarkMode === 'function') {
|
|
345
|
-
handleDarkMode = new org.nativescript.widgets.Utils.HandleDarkMode({
|
|
346
|
-
onHandle(bar, resources) {
|
|
347
|
-
if (bar === 0) {
|
|
348
|
-
return options.handleDarkMode('status', resources);
|
|
349
|
-
}
|
|
350
|
-
else {
|
|
351
|
-
return options.handleDarkMode('navigation', resources);
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
if (options.statusBarLightColor instanceof Color) {
|
|
357
|
-
statusBarLight = options.statusBarLightColor.android;
|
|
358
|
-
}
|
|
359
|
-
if (options.statusBarDarkColor instanceof Color) {
|
|
360
|
-
statusBarDark = options.statusBarDarkColor.android;
|
|
361
|
-
}
|
|
362
|
-
if (options.navigationBarLightColor instanceof Color) {
|
|
363
|
-
navigationBarLight = options.navigationBarLightColor.android;
|
|
364
|
-
}
|
|
365
|
-
if (options.navigationBarDarkColor instanceof Color) {
|
|
366
|
-
navigationBarDark = options.navigationBarDarkColor.android;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
if (handleDarkMode) {
|
|
370
|
-
org.nativescript.widgets.Utils.enableEdgeToEdge(activity, java.lang.Integer.valueOf(statusBarLight), java.lang.Integer.valueOf(statusBarDark), java.lang.Integer.valueOf(navigationBarLight), java.lang.Integer.valueOf(navigationBarDark), handleDarkMode);
|
|
371
|
-
}
|
|
372
|
-
else {
|
|
373
|
-
org.nativescript.widgets.Utils.enableEdgeToEdge(activity, java.lang.Integer.valueOf(statusBarLight), java.lang.Integer.valueOf(statusBarDark), java.lang.Integer.valueOf(navigationBarLight), java.lang.Integer.valueOf(navigationBarDark));
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
//# sourceMappingURL=native-helper-for-android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-helper-for-android.js","sourceRoot":"","sources":["../../../../packages/core/utils/native-helper-for-android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAElD,MAAM,UAAU,eAAe,CAAC,UAAgB;IAC/C,IAAI,UAAU,KAAK,IAAI,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE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AAC,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAC7O,CAAC;AACF,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor } from './native-helper-for-android';
|
|
2
|
-
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
|
|
3
|
-
export { getWindow } from './native-helper-for-android';
|
|
4
|
-
export declare const android: {
|
|
5
|
-
resources: typeof resources;
|
|
6
|
-
collections: typeof collections;
|
|
7
|
-
getApplication: typeof getApplication;
|
|
8
|
-
getCurrentActivity: typeof getCurrentActivity;
|
|
9
|
-
getApplicationContext: typeof getApplicationContext;
|
|
10
|
-
getWindow: typeof getWindow;
|
|
11
|
-
getResources: typeof getResources;
|
|
12
|
-
getPackageName: typeof getPackageName;
|
|
13
|
-
getInputMethodManager: typeof getInputMethodManager;
|
|
14
|
-
showSoftInput: typeof showSoftInput;
|
|
15
|
-
dismissSoftInput: typeof dismissSoftInput;
|
|
16
|
-
enableEdgeToEdge: typeof enableEdgeToEdge;
|
|
17
|
-
setStatusBarColor: typeof setStatusBarColor;
|
|
18
|
-
setNavigationBarColor: typeof setNavigationBarColor;
|
|
19
|
-
setDarkModeHandler: typeof setDarkModeHandler;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Use `Utils.android` instead.
|
|
23
|
-
*/
|
|
24
|
-
export declare const ad: {
|
|
25
|
-
resources: typeof resources;
|
|
26
|
-
collections: typeof collections;
|
|
27
|
-
getApplication: typeof getApplication;
|
|
28
|
-
getCurrentActivity: typeof getCurrentActivity;
|
|
29
|
-
getApplicationContext: typeof getApplicationContext;
|
|
30
|
-
getWindow: typeof getWindow;
|
|
31
|
-
getResources: typeof getResources;
|
|
32
|
-
getPackageName: typeof getPackageName;
|
|
33
|
-
getInputMethodManager: typeof getInputMethodManager;
|
|
34
|
-
showSoftInput: typeof showSoftInput;
|
|
35
|
-
dismissSoftInput: typeof dismissSoftInput;
|
|
36
|
-
enableEdgeToEdge: typeof enableEdgeToEdge;
|
|
37
|
-
setStatusBarColor: typeof setStatusBarColor;
|
|
38
|
-
setNavigationBarColor: typeof setNavigationBarColor;
|
|
39
|
-
setDarkModeHandler: typeof setDarkModeHandler;
|
|
40
|
-
};
|
|
41
|
-
export declare const iOSNativeHelper: {};
|
|
42
|
-
export declare const ios: {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { platformCheck } from './platform-check';
|
|
2
|
-
// importing this helper as a separate file avoids "android" symbol clash with the global android object
|
|
3
|
-
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor } from './native-helper-for-android';
|
|
4
|
-
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
|
|
5
|
-
export { getWindow } from './native-helper-for-android';
|
|
6
|
-
export const android = {
|
|
7
|
-
resources,
|
|
8
|
-
collections,
|
|
9
|
-
getApplication,
|
|
10
|
-
getCurrentActivity,
|
|
11
|
-
getApplicationContext,
|
|
12
|
-
getWindow,
|
|
13
|
-
getResources,
|
|
14
|
-
getPackageName,
|
|
15
|
-
getInputMethodManager,
|
|
16
|
-
showSoftInput,
|
|
17
|
-
dismissSoftInput,
|
|
18
|
-
enableEdgeToEdge,
|
|
19
|
-
setStatusBarColor,
|
|
20
|
-
setNavigationBarColor,
|
|
21
|
-
setDarkModeHandler,
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use `Utils.android` instead.
|
|
25
|
-
*/
|
|
26
|
-
export const ad = android;
|
|
27
|
-
// these don't exist on Android.Stub them to empty functions.
|
|
28
|
-
export const iOSNativeHelper = platformCheck('Utils.iOSNativeHelper');
|
|
29
|
-
export const ios = platformCheck('Utils.ios');
|
|
30
|
-
//# sourceMappingURL=native-helper.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-helper.android.js","sourceRoot":"","sources":["../../../../packages/core/utils/native-helper.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,wGAAwG;AACxG,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACjT,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,CAAC,MAAM,OAAO,GAAG;IACtB,SAAS;IACT,WAAW;IACX,cAAc;IACd,kBAAkB;IAClB,qBAAqB;IACrB,SAAS;IACT,YAAY;IACZ,cAAc;IACd,qBAAqB;IACrB,aAAa;IACb,gBAAgB;IAChB,gBAAgB;IAChB,iBAAiB;IACjB,qBAAqB;IACrB,kBAAkB;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG,OAAO,CAAC;AAE1B,6DAA6D;AAC7D,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,uBAAuB,CAAC,CAAC;AACtE,MAAM,CAAC,MAAM,GAAG,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export declare function dataDeserialize(nativeData?: any): any;
|
|
2
|
-
export declare function dataSerialize(data: any, wrapPrimitives?: boolean): any;
|
|
3
|
-
declare function getCurrentAppPath(): string;
|
|
4
|
-
declare function joinPaths(...paths: string[]): string;
|
|
5
|
-
export declare function getter<T>(_this: any, property: T | {
|
|
6
|
-
(): T;
|
|
7
|
-
}): T;
|
|
8
|
-
declare namespace collections {
|
|
9
|
-
function jsArrayToNSArray<T>(str: T[]): NSArray<T>;
|
|
10
|
-
function nsArrayToJSArray<T>(a: NSArray<T>): Array<T>;
|
|
11
|
-
}
|
|
12
|
-
declare function getRootViewController(): UIViewController;
|
|
13
|
-
export declare function getWindow(): UIWindow;
|
|
14
|
-
declare function getMainScreen(): UIScreen;
|
|
15
|
-
declare function setWindowBackgroundColor(value: string): void;
|
|
16
|
-
declare function isLandscape(): boolean;
|
|
17
|
-
export declare function openFile(filePath: string): boolean;
|
|
18
|
-
declare function getVisibleViewController(rootViewController: UIViewController): UIViewController;
|
|
19
|
-
declare function applyRotateTransform(transform: CATransform3D, x: number, y: number, z: number): CATransform3D;
|
|
20
|
-
declare function createUIDocumentInteractionControllerDelegate(): NSObject;
|
|
21
|
-
export declare function isRealDevice(): boolean;
|
|
22
|
-
declare function printCGRect(rect: CGRect): string;
|
|
23
|
-
declare function snapshotView(view: UIView, scale: number): UIImage;
|
|
24
|
-
declare function copyLayerProperties(view: UIView, toView: UIView, customProperties?: {
|
|
25
|
-
view?: Array<keyof UIView>;
|
|
26
|
-
layer?: Array<keyof CALayer>;
|
|
27
|
-
}): void;
|
|
28
|
-
declare function animateWithSpring(options?: {
|
|
29
|
-
tension?: number;
|
|
30
|
-
friction?: number;
|
|
31
|
-
mass?: number;
|
|
32
|
-
delay?: number;
|
|
33
|
-
velocity?: number;
|
|
34
|
-
animateOptions?: UIViewAnimationOptions;
|
|
35
|
-
animations?: () => void;
|
|
36
|
-
completion?: (finished?: boolean) => void;
|
|
37
|
-
}): void;
|
|
38
|
-
export declare const ad: {};
|
|
39
|
-
export declare const android: {};
|
|
40
|
-
export declare const ios: {
|
|
41
|
-
collections: typeof collections;
|
|
42
|
-
createUIDocumentInteractionControllerDelegate: typeof createUIDocumentInteractionControllerDelegate;
|
|
43
|
-
getCurrentAppPath: typeof getCurrentAppPath;
|
|
44
|
-
getRootViewController: typeof getRootViewController;
|
|
45
|
-
getVisibleViewController: typeof getVisibleViewController;
|
|
46
|
-
getWindow: typeof getWindow;
|
|
47
|
-
getMainScreen: typeof getMainScreen;
|
|
48
|
-
setWindowBackgroundColor: typeof setWindowBackgroundColor;
|
|
49
|
-
isLandscape: typeof isLandscape;
|
|
50
|
-
applyRotateTransform: typeof applyRotateTransform;
|
|
51
|
-
snapshotView: typeof snapshotView;
|
|
52
|
-
joinPaths: typeof joinPaths;
|
|
53
|
-
printCGRect: typeof printCGRect;
|
|
54
|
-
copyLayerProperties: typeof copyLayerProperties;
|
|
55
|
-
animateWithSpring: typeof animateWithSpring;
|
|
56
|
-
MajorVersion: number;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated Use `Utils.ios` instead.
|
|
60
|
-
*/
|
|
61
|
-
export declare const iOSNativeHelper: {
|
|
62
|
-
collections: typeof collections;
|
|
63
|
-
createUIDocumentInteractionControllerDelegate: typeof createUIDocumentInteractionControllerDelegate;
|
|
64
|
-
getCurrentAppPath: typeof getCurrentAppPath;
|
|
65
|
-
getRootViewController: typeof getRootViewController;
|
|
66
|
-
getVisibleViewController: typeof getVisibleViewController;
|
|
67
|
-
getWindow: typeof getWindow;
|
|
68
|
-
getMainScreen: typeof getMainScreen;
|
|
69
|
-
setWindowBackgroundColor: typeof setWindowBackgroundColor;
|
|
70
|
-
isLandscape: typeof isLandscape;
|
|
71
|
-
applyRotateTransform: typeof applyRotateTransform;
|
|
72
|
-
snapshotView: typeof snapshotView;
|
|
73
|
-
joinPaths: typeof joinPaths;
|
|
74
|
-
printCGRect: typeof printCGRect;
|
|
75
|
-
copyLayerProperties: typeof copyLayerProperties;
|
|
76
|
-
animateWithSpring: typeof animateWithSpring;
|
|
77
|
-
MajorVersion: number;
|
|
78
|
-
};
|
|
79
|
-
export {};
|