@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
|
@@ -297,8 +297,8 @@ export type HideKeyboardOptions = {
|
|
|
297
297
|
* }
|
|
298
298
|
*/
|
|
299
299
|
complete ?: HideKeyboardCompleteCallback | null
|
|
300
|
-
}
|
|
301
|
-
|
|
300
|
+
}
|
|
301
|
+
|
|
302
302
|
/**
|
|
303
303
|
* uni.onKeyboardHeightChange参数定义
|
|
304
304
|
* @uniPlatform {
|
|
@@ -345,11 +345,11 @@ export type HideKeyboardOptions = {
|
|
|
345
345
|
* }
|
|
346
346
|
* }
|
|
347
347
|
* }
|
|
348
|
-
*/
|
|
348
|
+
*/
|
|
349
349
|
export type OnKeyboardHeightChangeCallback = (res : OnKeyboardHeightChangeCallbackResult) => void
|
|
350
|
-
|
|
351
|
-
export type OnKeyboardHeightChangeCallbackResult = {
|
|
352
|
-
/**
|
|
350
|
+
|
|
351
|
+
export type OnKeyboardHeightChangeCallbackResult = {
|
|
352
|
+
/**
|
|
353
353
|
* 键盘高度
|
|
354
354
|
* @uniPlatform {
|
|
355
355
|
* "mp": {
|
|
@@ -395,10 +395,10 @@ export type OnKeyboardHeightChangeCallbackResult = {
|
|
|
395
395
|
* }
|
|
396
396
|
* }
|
|
397
397
|
* }
|
|
398
|
-
*/
|
|
399
|
-
height : number
|
|
400
|
-
}
|
|
401
|
-
|
|
398
|
+
*/
|
|
399
|
+
height : number
|
|
400
|
+
}
|
|
401
|
+
|
|
402
402
|
// export type GetSelectedTextRangeOptions = {
|
|
403
403
|
// /**
|
|
404
404
|
// * 接口调用成功的回调函数
|
|
@@ -412,251 +412,261 @@ export type OnKeyboardHeightChangeCallbackResult = {
|
|
|
412
412
|
// * 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
413
413
|
// */
|
|
414
414
|
// complete ?: GetSelectedTextRangeCompleteCallback | null
|
|
415
|
-
// }
|
|
416
|
-
|
|
415
|
+
// }
|
|
416
|
+
|
|
417
417
|
// export type GetSelectedTextRangeSuccessCallback = (res : GetSelectedTextRangeSuccess) => void
|
|
418
418
|
|
|
419
419
|
// export type GetSelectedTextRangeFailCallback = (res : GetSelectedTextRangeFail) => void
|
|
420
420
|
|
|
421
|
-
// export type GetSelectedTextRangeCompleteCallback = (res : any) => void
|
|
422
|
-
|
|
423
|
-
// export type GetSelectedTextRangeSuccess = {
|
|
424
|
-
// /**
|
|
425
|
-
// * 输入框光标起始位置
|
|
426
|
-
// * @uniPlatform {
|
|
427
|
-
// * "app": {
|
|
428
|
-
// * "ios": {
|
|
429
|
-
// * "osVer": "12.0",
|
|
430
|
-
// * "uniVer": "√",
|
|
431
|
-
// * "unixVer": "4.61"
|
|
432
|
-
// * }
|
|
433
|
-
// * }
|
|
434
|
-
// * }
|
|
435
|
-
// */
|
|
436
|
-
// start : number,
|
|
437
|
-
// /**
|
|
438
|
-
// * 输入框光标结束位置
|
|
439
|
-
// * @uniPlatform {
|
|
440
|
-
// * "app": {
|
|
441
|
-
// * "ios": {
|
|
442
|
-
// * "osVer": "12.0",
|
|
443
|
-
// * "uniVer": "√",
|
|
444
|
-
// * "unixVer": "4.61"
|
|
445
|
-
// * }
|
|
446
|
-
// * }
|
|
447
|
-
// * }
|
|
448
|
-
// */
|
|
449
|
-
// end : number
|
|
421
|
+
// export type GetSelectedTextRangeCompleteCallback = (res : any) => void
|
|
422
|
+
|
|
423
|
+
// export type GetSelectedTextRangeSuccess = {
|
|
424
|
+
// /**
|
|
425
|
+
// * 输入框光标起始位置
|
|
426
|
+
// * @uniPlatform {
|
|
427
|
+
// * "app": {
|
|
428
|
+
// * "ios": {
|
|
429
|
+
// * "osVer": "12.0",
|
|
430
|
+
// * "uniVer": "√",
|
|
431
|
+
// * "unixVer": "4.61"
|
|
432
|
+
// * }
|
|
433
|
+
// * }
|
|
434
|
+
// * }
|
|
435
|
+
// */
|
|
436
|
+
// start : number,
|
|
437
|
+
// /**
|
|
438
|
+
// * 输入框光标结束位置
|
|
439
|
+
// * @uniPlatform {
|
|
440
|
+
// * "app": {
|
|
441
|
+
// * "ios": {
|
|
442
|
+
// * "osVer": "12.0",
|
|
443
|
+
// * "uniVer": "√",
|
|
444
|
+
// * "unixVer": "4.61"
|
|
445
|
+
// * }
|
|
446
|
+
// * }
|
|
447
|
+
// * }
|
|
448
|
+
// */
|
|
449
|
+
// end : number
|
|
450
450
|
// }
|
|
451
451
|
|
|
452
|
-
// export type GetSelectedTextRangeFail = {
|
|
453
|
-
|
|
452
|
+
// export type GetSelectedTextRangeFail = {
|
|
453
|
+
|
|
454
454
|
// }
|
|
455
455
|
|
|
456
456
|
export interface Uni {
|
|
457
457
|
/**
|
|
458
458
|
* 隐藏键盘
|
|
459
|
+
*
|
|
460
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#hidekeyboard
|
|
461
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
|
|
462
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
|
|
459
463
|
* @uniPlatform {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
464
|
+
* "app": {
|
|
465
|
+
* "android": {
|
|
466
|
+
* "osVer": "5.0",
|
|
467
|
+
* "uniVer": "√",
|
|
468
|
+
* "unixVer": "4.71"
|
|
469
|
+
* },
|
|
470
|
+
* "ios": {
|
|
471
|
+
* "osVer": "12.0",
|
|
472
|
+
* "uniVer": "√",
|
|
473
|
+
* "unixVer": "4.71"
|
|
474
|
+
* },
|
|
475
|
+
* "harmony": {
|
|
476
|
+
* "osVer": "3.0",
|
|
477
|
+
* "uniVer": "4.23",
|
|
478
|
+
* "unixVer": "4.61"
|
|
479
|
+
* }
|
|
480
|
+
* },
|
|
481
|
+
* "mp": {
|
|
482
|
+
* "weixin": {
|
|
483
|
+
* "hostVer": "2.8.2",
|
|
484
|
+
* "uniVer": "√",
|
|
485
|
+
* "unixVer": "4.41"
|
|
486
|
+
* },
|
|
487
|
+
* "alipay": {
|
|
488
|
+
* "hostVer": "√",
|
|
489
|
+
* "uniVer": "√",
|
|
490
|
+
* "unixVer": "x"
|
|
491
|
+
* },
|
|
492
|
+
* "baidu": {
|
|
493
|
+
* "hostVer": "√",
|
|
494
|
+
* "uniVer": "√",
|
|
495
|
+
* "unixVer": "x"
|
|
496
|
+
* },
|
|
497
|
+
* "toutiao": {
|
|
498
|
+
* "hostVer": "√",
|
|
499
|
+
* "uniVer": "√",
|
|
500
|
+
* "unixVer": "x"
|
|
501
|
+
* },
|
|
502
|
+
* "lark": {
|
|
503
|
+
* "hostVer": "√",
|
|
504
|
+
* "uniVer": "√",
|
|
505
|
+
* "unixVer": "x"
|
|
506
|
+
* },
|
|
507
|
+
* "qq": {
|
|
508
|
+
* "hostVer": "√",
|
|
509
|
+
* "uniVer": "√",
|
|
510
|
+
* "unixVer": "x"
|
|
511
|
+
* },
|
|
512
|
+
* "kuaishou": {
|
|
513
|
+
* "hostVer": "√",
|
|
514
|
+
* "uniVer": "√",
|
|
515
|
+
* "unixVer": "x"
|
|
516
|
+
* },
|
|
517
|
+
* "jd": {
|
|
518
|
+
* "hostVer": "√",
|
|
519
|
+
* "uniVer": "√",
|
|
520
|
+
* "unixVer": "x"
|
|
521
|
+
* }
|
|
522
|
+
* },
|
|
523
|
+
* "web": {
|
|
524
|
+
* "uniVer": "√",
|
|
525
|
+
* "unixVer": "4.0"
|
|
526
|
+
* }
|
|
527
|
+
* }
|
|
524
528
|
* @uniVueVersion 2,3 //支持的vue版本
|
|
525
529
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.hideKeyboard.html
|
|
526
530
|
*/
|
|
527
|
-
hideKeyboard(options ?: HideKeyboardOptions | null) : void;
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* 监听键盘高度变化事件
|
|
531
|
+
hideKeyboard(options ?: HideKeyboardOptions | null) : void;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* 监听键盘高度变化事件
|
|
535
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
|
|
536
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#onkeyboardheightchange
|
|
537
|
+
* @tutorial https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
|
|
531
538
|
* @uniPlatform {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
539
|
+
* "app": {
|
|
540
|
+
* "android": {
|
|
541
|
+
* "osVer": "5.0",
|
|
542
|
+
* "uniVer": "√",
|
|
543
|
+
* "unixVer": "4.71"
|
|
544
|
+
* },
|
|
545
|
+
* "ios": {
|
|
546
|
+
* "osVer": "12.0",
|
|
547
|
+
* "uniVer": "√",
|
|
548
|
+
* "unixVer": "4.71"
|
|
549
|
+
* }
|
|
550
|
+
* },
|
|
551
|
+
* "mp": {
|
|
552
|
+
* "weixin": {
|
|
553
|
+
* "hostVer": "2.7.0",
|
|
554
|
+
* "uniVer": "√",
|
|
555
|
+
* "unixVer": "4.41"
|
|
556
|
+
* },
|
|
557
|
+
* "alipay": {
|
|
558
|
+
* "hostVer": "-",
|
|
559
|
+
* "uniVer": "-",
|
|
560
|
+
* "unixVer": "-"
|
|
561
|
+
* },
|
|
562
|
+
* "baidu": {
|
|
563
|
+
* "hostVer": "-",
|
|
564
|
+
* "uniVer": "-",
|
|
565
|
+
* "unixVer": "-"
|
|
566
|
+
* },
|
|
567
|
+
* "toutiao": {
|
|
568
|
+
* "hostVer": "-",
|
|
569
|
+
* "uniVer": "-",
|
|
570
|
+
* "unixVer": "-"
|
|
571
|
+
* },
|
|
572
|
+
* "lark": {
|
|
573
|
+
* "hostVer": "-",
|
|
574
|
+
* "uniVer": "-",
|
|
575
|
+
* "unixVer": "-"
|
|
576
|
+
* },
|
|
577
|
+
* "qq": {
|
|
578
|
+
* "hostVer": "-",
|
|
579
|
+
* "uniVer": "-",
|
|
580
|
+
* "unixVer": "-"
|
|
581
|
+
* },
|
|
582
|
+
* "kuaishou": {
|
|
583
|
+
* "hostVer": "-",
|
|
584
|
+
* "uniVer": "-",
|
|
585
|
+
* "unixVer": "-"
|
|
586
|
+
* },
|
|
587
|
+
* "jd": {
|
|
588
|
+
* "hostVer": "-",
|
|
589
|
+
* "uniVer": "-",
|
|
590
|
+
* "unixVer": "-"
|
|
591
|
+
* }
|
|
592
|
+
* }
|
|
593
|
+
* }
|
|
587
594
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
|
|
588
|
-
*/
|
|
589
|
-
onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* 移除键盘高度变化事件的监听函数
|
|
595
|
+
*/
|
|
596
|
+
onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* 移除键盘高度变化事件的监听函数
|
|
600
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
|
|
601
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#offkeyboardheightchange
|
|
602
|
+
* @tutorial https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
|
|
593
603
|
* @uniPlatform {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
604
|
+
* "app": {
|
|
605
|
+
* "android": {
|
|
606
|
+
* "osVer": "5.0",
|
|
607
|
+
* "uniVer": "√",
|
|
608
|
+
* "unixVer": "4.71"
|
|
609
|
+
* },
|
|
610
|
+
* "ios": {
|
|
611
|
+
* "osVer": "12.0",
|
|
612
|
+
* "uniVer": "√",
|
|
613
|
+
* "unixVer": "4.71"
|
|
614
|
+
* }
|
|
615
|
+
* },
|
|
616
|
+
* "mp": {
|
|
617
|
+
* "weixin": {
|
|
618
|
+
* "hostVer": "2.9.2",
|
|
619
|
+
* "uniVer": "√",
|
|
620
|
+
* "unixVer": "4.41"
|
|
621
|
+
* },
|
|
622
|
+
* "alipay": {
|
|
623
|
+
* "hostVer": "-",
|
|
624
|
+
* "uniVer": "-",
|
|
625
|
+
* "unixVer": "-"
|
|
626
|
+
* },
|
|
627
|
+
* "baidu": {
|
|
628
|
+
* "hostVer": "-",
|
|
629
|
+
* "uniVer": "-",
|
|
630
|
+
* "unixVer": "-"
|
|
631
|
+
* },
|
|
632
|
+
* "toutiao": {
|
|
633
|
+
* "hostVer": "-",
|
|
634
|
+
* "uniVer": "-",
|
|
635
|
+
* "unixVer": "-"
|
|
636
|
+
* },
|
|
637
|
+
* "lark": {
|
|
638
|
+
* "hostVer": "-",
|
|
639
|
+
* "uniVer": "-",
|
|
640
|
+
* "unixVer": "-"
|
|
641
|
+
* },
|
|
642
|
+
* "qq": {
|
|
643
|
+
* "hostVer": "-",
|
|
644
|
+
* "uniVer": "-",
|
|
645
|
+
* "unixVer": "-"
|
|
646
|
+
* },
|
|
647
|
+
* "kuaishou": {
|
|
648
|
+
* "hostVer": "-",
|
|
649
|
+
* "uniVer": "-",
|
|
650
|
+
* "unixVer": "-"
|
|
651
|
+
* },
|
|
652
|
+
* "jd": {
|
|
653
|
+
* "hostVer": "-",
|
|
654
|
+
* "uniVer": "-",
|
|
655
|
+
* "unixVer": "-"
|
|
656
|
+
* }
|
|
657
|
+
* }
|
|
658
|
+
* }
|
|
649
659
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
|
|
650
|
-
*/
|
|
651
|
-
offKeyboardHeightChange(id ?: number | null): void
|
|
652
|
-
|
|
660
|
+
*/
|
|
661
|
+
offKeyboardHeightChange(id ?: number | null): void
|
|
662
|
+
|
|
653
663
|
// getSelectedTextRange(options : GetSelectedTextRangeOptions): void
|
|
654
664
|
}
|
|
655
665
|
|
|
656
|
-
export type HideKeyboard = (options ?: HideKeyboardOptions | null) => void;
|
|
657
|
-
|
|
658
|
-
export type OnKeyboardHeightChange = (callback: OnKeyboardHeightChangeCallback) => number;
|
|
659
|
-
|
|
660
|
-
export type OffKeyboardHeightChange = (id ?: number | null) => void;
|
|
661
|
-
|
|
662
|
-
// export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
|
|
666
|
+
export type HideKeyboard = (options ?: HideKeyboardOptions | null) => void;
|
|
667
|
+
|
|
668
|
+
export type OnKeyboardHeightChange = (callback: OnKeyboardHeightChangeCallback) => number;
|
|
669
|
+
|
|
670
|
+
export type OffKeyboardHeightChange = (id ?: number | null) => void;
|
|
671
|
+
|
|
672
|
+
// export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
|
|
@@ -94,7 +94,7 @@ export interface LoadFontFaceFail extends IUniError {
|
|
|
94
94
|
}
|
|
95
95
|
export type LoadFontFaceOptions = {
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 是否全局生效微信小程序 '2.10.0'起支持全局生效。需在 app.uvue 中调用。
|
|
98
98
|
* @uniPlatform {
|
|
99
99
|
* "app": {
|
|
100
100
|
* "android": {
|
|
@@ -110,7 +110,7 @@ export type LoadFontFaceOptions = {
|
|
|
110
110
|
* "harmony": {
|
|
111
111
|
* "osVer": "3.0",
|
|
112
112
|
* "uniVer": "4.23",
|
|
113
|
-
* "unixVer": "
|
|
113
|
+
* "unixVer": "x"
|
|
114
114
|
* }
|
|
115
115
|
* },
|
|
116
116
|
* "mp": {
|
|
@@ -562,7 +562,7 @@ export type LoadFontFaceOptions = {
|
|
|
562
562
|
*/
|
|
563
563
|
complete?: LoadFontFaceCompleteCallback
|
|
564
564
|
/**
|
|
565
|
-
* 字体作用范围,可选值为 webview / native
|
|
565
|
+
* 字体作用范围,可选值为 webview / native / skyline,默认全选,设置 native 可在 Canvas 2D 下使用
|
|
566
566
|
*
|
|
567
567
|
* @uniPlatform {
|
|
568
568
|
* "mp": {
|
|
@@ -625,9 +625,9 @@ export interface Uni {
|
|
|
625
625
|
/**
|
|
626
626
|
* 动态加载网络字体
|
|
627
627
|
*
|
|
628
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
|
|
629
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
|
|
630
628
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
|
|
629
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
|
|
630
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
|
|
631
631
|
* @uniPlatform {
|
|
632
632
|
* "app": {
|
|
633
633
|
* "android": {
|
|
@@ -9,6 +9,25 @@ import {
|
|
|
9
9
|
GetLocation as GetLocationOrigin,
|
|
10
10
|
GetLocationSuccess as GetLocationSuccessOrigin,
|
|
11
11
|
GetLocationOptions as GetLocationOptionsOrigin,
|
|
12
|
+
StartLocationUpdateSuccess as StartLocationUpdateSuccessOrigin,
|
|
13
|
+
StartLocationUpdateOptionsType as StartLocationUpdateOptionsTypeOrigin,
|
|
14
|
+
StartLocationUpdateOptions as StartLocationUpdateOptionsOrigin,
|
|
15
|
+
StartLocationUpdate as StartLocationUpdateOrigin,
|
|
16
|
+
StopLocationUpdateSuccess as StopLocationUpdateSuccessOrigin,
|
|
17
|
+
StopLocationUpdateOptions as StopLocationUpdateOptionsOrigin,
|
|
18
|
+
StopLocationUpdate as StopLocationUpdateOrigin,
|
|
19
|
+
OnLocationChangeResult as OnLocationChangeResultOrigin,
|
|
20
|
+
OnLocationChangeCallback as OnLocationChangeCallbackOrigin,
|
|
21
|
+
OnLocationChange as OnLocationChangeOrigin,
|
|
22
|
+
OffLocationChange as OffLocationChangeOrigin,
|
|
23
|
+
OnLocationChangeErrorCallback as OnLocationChangeErrorCallbackOrigin,
|
|
24
|
+
OnLocationChangeErrorCallback as OnLocationChangeErrorCallbackOrigin,
|
|
25
|
+
OnLocationChangeError as OnLocationChangeErrorOrigin,
|
|
26
|
+
OffLocationChangeError as OffLocationChangeErrorOrigin,
|
|
27
|
+
StartLocationUpdateBackgroundSuccess as StartLocationUpdateBackgroundSuccessOrigin,
|
|
28
|
+
StartLocationUpdateBackgroundOptionsType as StartLocationUpdateBackgroundOptionsTypeOrigin,
|
|
29
|
+
StartLocationUpdateBackgroundOptions as StartLocationUpdateBackgroundOptionsOrigin,
|
|
30
|
+
StartLocationUpdateBackground as StartLocationUpdateBackgroundOrigin,
|
|
12
31
|
Uni as UniOrigin
|
|
13
32
|
} from './interface'
|
|
14
33
|
|
|
@@ -22,5 +41,24 @@ declare global {
|
|
|
22
41
|
type GetLocation = GetLocationOrigin
|
|
23
42
|
type GetLocationSuccess = GetLocationSuccessOrigin
|
|
24
43
|
type GetLocationOptions = GetLocationOptionsOrigin
|
|
44
|
+
type StartLocationUpdateSuccess = StartLocationUpdateSuccessOrigin
|
|
45
|
+
type StartLocationUpdateOptionsType = StartLocationUpdateOptionsTypeOrigin
|
|
46
|
+
type StartLocationUpdateOptions = StartLocationUpdateOptionsOrigin
|
|
47
|
+
type StartLocationUpdate = StartLocationUpdateOrigin
|
|
48
|
+
type StopLocationUpdateSuccess = StopLocationUpdateSuccessOrigin
|
|
49
|
+
type StopLocationUpdateOptions = StopLocationUpdateOptionsOrigin
|
|
50
|
+
type StopLocationUpdate = StopLocationUpdateOrigin
|
|
51
|
+
type OnLocationChangeResult = OnLocationChangeResultOrigin
|
|
52
|
+
type OnLocationChangeCallback = OnLocationChangeCallbackOrigin
|
|
53
|
+
type OnLocationChange = OnLocationChangeOrigin
|
|
54
|
+
type OffLocationChange = OffLocationChangeOrigin
|
|
55
|
+
type OnLocationChangeErrorCallback = OnLocationChangeErrorCallbackOrigin
|
|
56
|
+
type OnLocationChangeErrorCallback = OnLocationChangeErrorCallbackOrigin
|
|
57
|
+
type OnLocationChangeError = OnLocationChangeErrorOrigin
|
|
58
|
+
type OffLocationChangeError = OffLocationChangeErrorOrigin
|
|
59
|
+
type StartLocationUpdateBackgroundSuccess = StartLocationUpdateBackgroundSuccessOrigin
|
|
60
|
+
type StartLocationUpdateBackgroundOptionsType = StartLocationUpdateBackgroundOptionsTypeOrigin
|
|
61
|
+
type StartLocationUpdateBackgroundOptions = StartLocationUpdateBackgroundOptionsOrigin
|
|
62
|
+
type StartLocationUpdateBackground = StartLocationUpdateBackgroundOrigin
|
|
25
63
|
interface Uni extends UniOrigin { }
|
|
26
64
|
}
|
|
@@ -9,4 +9,23 @@ export {
|
|
|
9
9
|
GetLocation,
|
|
10
10
|
GetLocationSuccess,
|
|
11
11
|
GetLocationOptions,
|
|
12
|
+
StartLocationUpdateSuccess,
|
|
13
|
+
StartLocationUpdateOptionsType,
|
|
14
|
+
StartLocationUpdateOptions,
|
|
15
|
+
StartLocationUpdate,
|
|
16
|
+
StopLocationUpdateSuccess,
|
|
17
|
+
StopLocationUpdateOptions,
|
|
18
|
+
StopLocationUpdate,
|
|
19
|
+
OnLocationChangeResult,
|
|
20
|
+
OnLocationChangeCallback,
|
|
21
|
+
OnLocationChange,
|
|
22
|
+
OffLocationChange,
|
|
23
|
+
OnLocationChangeErrorCallback,
|
|
24
|
+
OnLocationChangeErrorCallback,
|
|
25
|
+
OnLocationChangeError,
|
|
26
|
+
OffLocationChangeError,
|
|
27
|
+
StartLocationUpdateBackgroundSuccess,
|
|
28
|
+
StartLocationUpdateBackgroundOptionsType,
|
|
29
|
+
StartLocationUpdateBackgroundOptions,
|
|
30
|
+
StartLocationUpdateBackground,
|
|
12
31
|
} from './interface'
|