@dcloudio/uni-app-x 0.7.59 → 0.7.61
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/package.json +2 -2
- package/types/app.d.ts +24 -9
- package/types/native/IUniElement.d.ts +1 -3
- package/types/native/UniCustomElement.d.ts +2 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniInputChangeEvent.d.ts +31 -0
- package/types/native/UniPage.d.ts +10 -2
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
- package/types/native/UniSwiperChangeEvent.d.ts +1 -0
- package/types/native/WebViewStyles.d.ts +1 -1
- package/types/native/global.d.ts +14 -0
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +134 -22
- package/types/uni/uni-camera-global.d.ts +4 -0
- package/types/uni/uni-camera.d.ts +10 -9
- package/types/uni/uts-plugin-api/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +569 -139
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +22 -37
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +12 -16
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +34 -15
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +32 -61
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +45 -80
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +13 -11
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +16 -15
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -10
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +88 -4
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +54 -7
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +16 -20
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +209 -451
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -698
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +474 -184
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +755 -405
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +116 -124
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +54 -84
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -89
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +300 -6
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +70 -82
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +6 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +49 -72
- package/types/uni/uts-plugin-biz/global.d.ts +11 -0
- package/types/uni/uts-plugin-biz/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +21 -16
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
- package/types/uni/uts-plugin-extend/global.d.ts +0 -2
- package/types/uni/uts-plugin-extend/index.d.ts +0 -2
- package/types/uni-cloud/interface.d.ts +13 -9
- package/types/vue/LifeCycle.d.ts +723 -1
- package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
- package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
- package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
- package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
- package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
- package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
- package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
- package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
- package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
- package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
- package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
- package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
- package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
- package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
- package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
- package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
- package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
- package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
- package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
- package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
- package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
- package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
- package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
- package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
- package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
- package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
- package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
- package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
- package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
- package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
- package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
- package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
- package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
- package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
- package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
- package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
- package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
- package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
- package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
- package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
- package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
- package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
- package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
- package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
- package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
- package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
- package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
- package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
- package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
- package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
- package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
- package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
- package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
- package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
- package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
- package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
- package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
- package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
- package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
- package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
- package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
- package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
- package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
- package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
- package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
- package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
- package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
- package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
|
@@ -299,7 +299,299 @@ export type ScanCodeFailCallback = (res: ScanCodeFail) => void
|
|
|
299
299
|
*/
|
|
300
300
|
export type ScanCodeCompleteCallback = (res: any) => void
|
|
301
301
|
|
|
302
|
-
export type ScanCodeSupportedTypes =
|
|
302
|
+
export type ScanCodeSupportedTypes =
|
|
303
|
+
/**
|
|
304
|
+
* @uniPlatform
|
|
305
|
+
{
|
|
306
|
+
"app": {
|
|
307
|
+
"android": {
|
|
308
|
+
"osVer": "5.0",
|
|
309
|
+
"uniVer": "√",
|
|
310
|
+
"uniUtsPlugin": "x",
|
|
311
|
+
"unixVer": "4.71"
|
|
312
|
+
},
|
|
313
|
+
"ios": {
|
|
314
|
+
"osVer": "12.0",
|
|
315
|
+
"uniVer": "√",
|
|
316
|
+
"uniUtsPlugin": "x",
|
|
317
|
+
"unixVer": "4.71",
|
|
318
|
+
"unixUtsPlugin": "4.71"
|
|
319
|
+
},
|
|
320
|
+
"harmony": {
|
|
321
|
+
"osVer": "3.0",
|
|
322
|
+
"uniVer": "4.23",
|
|
323
|
+
"unixVer": "4.61"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"mp": {
|
|
327
|
+
"weixin": {
|
|
328
|
+
"hostVer": "√",
|
|
329
|
+
"uniVer": "√",
|
|
330
|
+
"unixVer": "4.41"
|
|
331
|
+
},
|
|
332
|
+
"alipay": {
|
|
333
|
+
"hostVer": "√",
|
|
334
|
+
"uniVer": "√",
|
|
335
|
+
"unixVer": "x"
|
|
336
|
+
},
|
|
337
|
+
"baidu": {
|
|
338
|
+
"hostVer": "√",
|
|
339
|
+
"uniVer": "√",
|
|
340
|
+
"unixVer": "x"
|
|
341
|
+
},
|
|
342
|
+
"toutiao": {
|
|
343
|
+
"hostVer": "√",
|
|
344
|
+
"uniVer": "√",
|
|
345
|
+
"unixVer": "x"
|
|
346
|
+
},
|
|
347
|
+
"lark": {
|
|
348
|
+
"hostVer": "√",
|
|
349
|
+
"uniVer": "√",
|
|
350
|
+
"unixVer": "x"
|
|
351
|
+
},
|
|
352
|
+
"qq": {
|
|
353
|
+
"hostVer": "√",
|
|
354
|
+
"uniVer": "√",
|
|
355
|
+
"unixVer": "x"
|
|
356
|
+
},
|
|
357
|
+
"kuaishou": {
|
|
358
|
+
"hostVer": "√",
|
|
359
|
+
"uniVer": "√",
|
|
360
|
+
"unixVer": "x"
|
|
361
|
+
},
|
|
362
|
+
"jd": {
|
|
363
|
+
"hostVer": "√",
|
|
364
|
+
"uniVer": "√",
|
|
365
|
+
"unixVer": "x"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
"web": {
|
|
369
|
+
"uniVer": "x",
|
|
370
|
+
"unixVer": "x"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
374
|
+
*/
|
|
375
|
+
'barCode' |
|
|
376
|
+
/**
|
|
377
|
+
* @uniPlatform
|
|
378
|
+
{
|
|
379
|
+
"app": {
|
|
380
|
+
"android": {
|
|
381
|
+
"osVer": "5.0",
|
|
382
|
+
"uniVer": "√",
|
|
383
|
+
"uniUtsPlugin": "x",
|
|
384
|
+
"unixVer": "4.71"
|
|
385
|
+
},
|
|
386
|
+
"ios": {
|
|
387
|
+
"osVer": "12.0",
|
|
388
|
+
"uniVer": "√",
|
|
389
|
+
"uniUtsPlugin": "x",
|
|
390
|
+
"unixVer": "4.71",
|
|
391
|
+
"unixUtsPlugin": "4.71"
|
|
392
|
+
},
|
|
393
|
+
"harmony": {
|
|
394
|
+
"osVer": "3.0",
|
|
395
|
+
"uniVer": "4.23",
|
|
396
|
+
"unixVer": "4.61"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"mp": {
|
|
400
|
+
"weixin": {
|
|
401
|
+
"hostVer": "√",
|
|
402
|
+
"uniVer": "√",
|
|
403
|
+
"unixVer": "4.41"
|
|
404
|
+
},
|
|
405
|
+
"alipay": {
|
|
406
|
+
"hostVer": "√",
|
|
407
|
+
"uniVer": "√",
|
|
408
|
+
"unixVer": "x"
|
|
409
|
+
},
|
|
410
|
+
"baidu": {
|
|
411
|
+
"hostVer": "√",
|
|
412
|
+
"uniVer": "√",
|
|
413
|
+
"unixVer": "x"
|
|
414
|
+
},
|
|
415
|
+
"toutiao": {
|
|
416
|
+
"hostVer": "√",
|
|
417
|
+
"uniVer": "√",
|
|
418
|
+
"unixVer": "x"
|
|
419
|
+
},
|
|
420
|
+
"lark": {
|
|
421
|
+
"hostVer": "√",
|
|
422
|
+
"uniVer": "√",
|
|
423
|
+
"unixVer": "x"
|
|
424
|
+
},
|
|
425
|
+
"qq": {
|
|
426
|
+
"hostVer": "√",
|
|
427
|
+
"uniVer": "√",
|
|
428
|
+
"unixVer": "x"
|
|
429
|
+
},
|
|
430
|
+
"kuaishou": {
|
|
431
|
+
"hostVer": "√",
|
|
432
|
+
"uniVer": "√",
|
|
433
|
+
"unixVer": "x"
|
|
434
|
+
},
|
|
435
|
+
"jd": {
|
|
436
|
+
"hostVer": "√",
|
|
437
|
+
"uniVer": "√",
|
|
438
|
+
"unixVer": "x"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
"web": {
|
|
442
|
+
"uniVer": "x",
|
|
443
|
+
"unixVer": "x"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
447
|
+
*/
|
|
448
|
+
'qrCode' |
|
|
449
|
+
/**
|
|
450
|
+
* @uniPlatform
|
|
451
|
+
{
|
|
452
|
+
"app": {
|
|
453
|
+
"android": {
|
|
454
|
+
"osVer": "5.0",
|
|
455
|
+
"uniVer": "√",
|
|
456
|
+
"uniUtsPlugin": "x",
|
|
457
|
+
"unixVer": "4.71"
|
|
458
|
+
},
|
|
459
|
+
"ios": {
|
|
460
|
+
"osVer": "12.0",
|
|
461
|
+
"uniVer": "√",
|
|
462
|
+
"uniUtsPlugin": "x",
|
|
463
|
+
"unixVer": "4.71",
|
|
464
|
+
"unixUtsPlugin": "4.71"
|
|
465
|
+
},
|
|
466
|
+
"harmony": {
|
|
467
|
+
"osVer": "3.0",
|
|
468
|
+
"uniVer": "4.23",
|
|
469
|
+
"unixVer": "4.61"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"mp": {
|
|
473
|
+
"weixin": {
|
|
474
|
+
"hostVer": "√",
|
|
475
|
+
"uniVer": "√",
|
|
476
|
+
"unixVer": "4.41"
|
|
477
|
+
},
|
|
478
|
+
"alipay": {
|
|
479
|
+
"hostVer": "√",
|
|
480
|
+
"uniVer": "√",
|
|
481
|
+
"unixVer": "x"
|
|
482
|
+
},
|
|
483
|
+
"baidu": {
|
|
484
|
+
"hostVer": "√",
|
|
485
|
+
"uniVer": "√",
|
|
486
|
+
"unixVer": "x"
|
|
487
|
+
},
|
|
488
|
+
"toutiao": {
|
|
489
|
+
"hostVer": "√",
|
|
490
|
+
"uniVer": "√",
|
|
491
|
+
"unixVer": "x"
|
|
492
|
+
},
|
|
493
|
+
"lark": {
|
|
494
|
+
"hostVer": "√",
|
|
495
|
+
"uniVer": "√",
|
|
496
|
+
"unixVer": "x"
|
|
497
|
+
},
|
|
498
|
+
"qq": {
|
|
499
|
+
"hostVer": "√",
|
|
500
|
+
"uniVer": "√",
|
|
501
|
+
"unixVer": "x"
|
|
502
|
+
},
|
|
503
|
+
"kuaishou": {
|
|
504
|
+
"hostVer": "√",
|
|
505
|
+
"uniVer": "√",
|
|
506
|
+
"unixVer": "x"
|
|
507
|
+
},
|
|
508
|
+
"jd": {
|
|
509
|
+
"hostVer": "√",
|
|
510
|
+
"uniVer": "√",
|
|
511
|
+
"unixVer": "x"
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
"web": {
|
|
515
|
+
"uniVer": "x",
|
|
516
|
+
"unixVer": "x"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
520
|
+
*/
|
|
521
|
+
'datamatrix' |
|
|
522
|
+
/**
|
|
523
|
+
* @uniPlatform
|
|
524
|
+
{
|
|
525
|
+
"app": {
|
|
526
|
+
"android": {
|
|
527
|
+
"osVer": "5.0",
|
|
528
|
+
"uniVer": "√",
|
|
529
|
+
"uniUtsPlugin": "x",
|
|
530
|
+
"unixVer": "4.71"
|
|
531
|
+
},
|
|
532
|
+
"ios": {
|
|
533
|
+
"osVer": "12.0",
|
|
534
|
+
"uniVer": "√",
|
|
535
|
+
"uniUtsPlugin": "x",
|
|
536
|
+
"unixVer": "4.71",
|
|
537
|
+
"unixUtsPlugin": "4.71"
|
|
538
|
+
},
|
|
539
|
+
"harmony": {
|
|
540
|
+
"osVer": "3.0",
|
|
541
|
+
"uniVer": "4.23",
|
|
542
|
+
"unixVer": "4.61"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"mp": {
|
|
546
|
+
"weixin": {
|
|
547
|
+
"hostVer": "√",
|
|
548
|
+
"uniVer": "√",
|
|
549
|
+
"unixVer": "4.41"
|
|
550
|
+
},
|
|
551
|
+
"alipay": {
|
|
552
|
+
"hostVer": "√",
|
|
553
|
+
"uniVer": "√",
|
|
554
|
+
"unixVer": "x"
|
|
555
|
+
},
|
|
556
|
+
"baidu": {
|
|
557
|
+
"hostVer": "√",
|
|
558
|
+
"uniVer": "√",
|
|
559
|
+
"unixVer": "x"
|
|
560
|
+
},
|
|
561
|
+
"toutiao": {
|
|
562
|
+
"hostVer": "√",
|
|
563
|
+
"uniVer": "√",
|
|
564
|
+
"unixVer": "x"
|
|
565
|
+
},
|
|
566
|
+
"lark": {
|
|
567
|
+
"hostVer": "√",
|
|
568
|
+
"uniVer": "√",
|
|
569
|
+
"unixVer": "x"
|
|
570
|
+
},
|
|
571
|
+
"qq": {
|
|
572
|
+
"hostVer": "√",
|
|
573
|
+
"uniVer": "√",
|
|
574
|
+
"unixVer": "x"
|
|
575
|
+
},
|
|
576
|
+
"kuaishou": {
|
|
577
|
+
"hostVer": "√",
|
|
578
|
+
"uniVer": "√",
|
|
579
|
+
"unixVer": "x"
|
|
580
|
+
},
|
|
581
|
+
"jd": {
|
|
582
|
+
"hostVer": "√",
|
|
583
|
+
"uniVer": "√",
|
|
584
|
+
"unixVer": "x"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
"web": {
|
|
588
|
+
"uniVer": "x",
|
|
589
|
+
"unixVer": "x"
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
593
|
+
*/
|
|
594
|
+
'pdf417'
|
|
303
595
|
|
|
304
596
|
/**
|
|
305
597
|
* uni.scanCode参数定义
|
|
@@ -550,22 +842,24 @@ export type ScanCodeOptions = {
|
|
|
550
842
|
|
|
551
843
|
export interface Uni {
|
|
552
844
|
/**
|
|
553
|
-
*
|
|
845
|
+
* 扫码(包括一维码和二维码)
|
|
846
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/scan-code.html
|
|
847
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/scan-code.html
|
|
848
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/barcode.html#scancode
|
|
554
849
|
* @uniPlatform {
|
|
555
850
|
* "app": {
|
|
556
851
|
* "android": {
|
|
557
852
|
* "osVer": "5.0",
|
|
558
853
|
* "uniVer": "√",
|
|
559
854
|
* "uniUtsPlugin": "x",
|
|
560
|
-
* "unixVer": "4.
|
|
561
|
-
* "unixUtsPlugin": "x"
|
|
855
|
+
* "unixVer": "4.71"
|
|
562
856
|
* },
|
|
563
857
|
* "ios": {
|
|
564
858
|
* "osVer": "12.0",
|
|
565
859
|
* "uniVer": "√",
|
|
566
860
|
* "uniUtsPlugin": "x",
|
|
567
|
-
* "unixVer": "
|
|
568
|
-
* "unixUtsPlugin": "
|
|
861
|
+
* "unixVer": "4.71",
|
|
862
|
+
* "unixUtsPlugin": "4.71"
|
|
569
863
|
* },
|
|
570
864
|
* "harmony": {
|
|
571
865
|
* "osVer": "3.0",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
+
IShareFail as IShareFailOrigin,
|
|
4
|
+
ShareErrorCode as ShareErrorCodeOrigin,
|
|
3
5
|
Share as ShareOrigin,
|
|
4
6
|
ShareMiniProgramShareType as ShareMiniProgramShareTypeOrigin,
|
|
5
7
|
ShareMiniProgramShareOptions as ShareMiniProgramShareOptionsOrigin,
|
|
@@ -18,6 +20,8 @@ import {
|
|
|
18
20
|
} from './interface'
|
|
19
21
|
|
|
20
22
|
declare global {
|
|
23
|
+
type IShareFail = IShareFailOrigin
|
|
24
|
+
type ShareErrorCode = ShareErrorCodeOrigin
|
|
21
25
|
type Share = ShareOrigin
|
|
22
26
|
type ShareMiniProgramShareType = ShareMiniProgramShareTypeOrigin
|
|
23
27
|
type ShareMiniProgramShareOptions = ShareMiniProgramShareOptionsOrigin
|