@dcloudio/uni-app-x 0.7.58 → 0.7.60
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 +6 -2
- package/types/app.d.ts +16 -8
- package/types/index.d.ts +1 -0
- package/types/native/CSSStyleDeclaration.d.ts +31 -6
- package/types/native/DOMRect.d.ts +60 -10
- package/types/native/IUniElement.d.ts +459 -2
- package/types/native/UniElement.d.ts +3 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniPage.d.ts +2 -2
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
- package/types/native/UniSwiperChangeEvent.d.ts +1 -0
- package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
- package/types/native/UniWebViewElement.d.ts +3 -1
- package/types/native/WebViewStyles.d.ts +1 -1
- package/types/native/global.d.ts +10 -0
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +134 -22
- package/types/uni/env/index.d.ts +5 -5
- 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 +3 -0
- package/types/uni/uts-plugin-api/index.d.ts +3 -0
- 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-barcode-scanning/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
- 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/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +22 -10
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +11 -11
- 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/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +47 -1
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +256 -236
- 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 +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +12 -11
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
- 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 +32 -5
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -16
- 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 +263 -425
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +27 -7
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +296 -181
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +259 -321
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
- 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/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4235 -3525
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
- 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-prompt/utssdk/interface.d.ts +24 -24
- 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/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2268 -1281
- 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 +4 -4
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
- 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/interface.d.ts +135 -76
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +30 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +15 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +350 -1
- package/types/uni-cloud/interface.d.ts +233 -0
- package/types/vite.d.ts +269 -0
|
@@ -784,8 +784,8 @@ export interface Uni {
|
|
|
784
784
|
/**
|
|
785
785
|
* 设置导航条、状态栏颜色
|
|
786
786
|
*
|
|
787
|
-
* @
|
|
788
|
-
* @
|
|
787
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/navigationbar.html#setnavigationbarcolor
|
|
788
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-color.html
|
|
789
789
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-color.html
|
|
790
790
|
* @uniPlatform {
|
|
791
791
|
* "app": {
|
|
@@ -861,8 +861,8 @@ export interface Uni {
|
|
|
861
861
|
/**
|
|
862
862
|
* 动态设置当前页面的标题
|
|
863
863
|
*
|
|
864
|
-
* @
|
|
865
|
-
* @
|
|
864
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/navigationbar.html#setnavigationbartitle
|
|
865
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-title.html
|
|
866
866
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-title.html
|
|
867
867
|
* @uniPlatform {
|
|
868
868
|
* "app": {
|
|
@@ -938,8 +938,9 @@ export interface Uni {
|
|
|
938
938
|
/**
|
|
939
939
|
* 在当前页面显示导航条加载动画
|
|
940
940
|
*
|
|
941
|
-
* @
|
|
942
|
-
* @
|
|
941
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/navigationbar.html#shownavigationbarloading
|
|
942
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator-bar-loading.html
|
|
943
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator-bar-loading.html
|
|
943
944
|
* @uniPlatform {
|
|
944
945
|
* "app": {
|
|
945
946
|
* "android": {
|
|
@@ -1012,8 +1013,9 @@ export interface Uni {
|
|
|
1012
1013
|
/**
|
|
1013
1014
|
* 隐藏导航条加载动画
|
|
1014
1015
|
*
|
|
1015
|
-
* @
|
|
1016
|
-
* @
|
|
1016
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/navigationbar.html#hidenavigationbarloading
|
|
1017
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator-bar-loading.html
|
|
1018
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator-bar-loading.html
|
|
1017
1019
|
* @uniPlatform {
|
|
1018
1020
|
* "app": {
|
|
1019
1021
|
* "android": {
|
|
@@ -9,6 +9,10 @@ import {
|
|
|
9
9
|
RequestSuccessCallback as RequestSuccessCallbackOrigin,
|
|
10
10
|
RequestFailCallback as RequestFailCallbackOrigin,
|
|
11
11
|
RequestCompleteCallback as RequestCompleteCallbackOrigin,
|
|
12
|
+
RequestTaskOnChunkReceivedListenerResult as RequestTaskOnChunkReceivedListenerResultOrigin,
|
|
13
|
+
RequestTaskOnChunkReceivedCallback as RequestTaskOnChunkReceivedCallbackOrigin,
|
|
14
|
+
RequestTaskOnHeadersReceivedListenerResult as RequestTaskOnHeadersReceivedListenerResultOrigin,
|
|
15
|
+
RequestTaskOnHeadersReceivedCallback as RequestTaskOnHeadersReceivedCallbackOrigin,
|
|
12
16
|
RequestTask as RequestTaskOrigin,
|
|
13
17
|
UploadFile as UploadFileOrigin,
|
|
14
18
|
UploadFileOptionFiles as UploadFileOptionFilesOrigin,
|
|
@@ -54,6 +58,10 @@ declare global {
|
|
|
54
58
|
type RequestSuccessCallback<T> = RequestSuccessCallbackOrigin<T>
|
|
55
59
|
type RequestFailCallback = RequestFailCallbackOrigin
|
|
56
60
|
type RequestCompleteCallback = RequestCompleteCallbackOrigin
|
|
61
|
+
type RequestTaskOnChunkReceivedListenerResult = RequestTaskOnChunkReceivedListenerResultOrigin
|
|
62
|
+
type RequestTaskOnChunkReceivedCallback = RequestTaskOnChunkReceivedCallbackOrigin
|
|
63
|
+
type RequestTaskOnHeadersReceivedListenerResult = RequestTaskOnHeadersReceivedListenerResultOrigin
|
|
64
|
+
type RequestTaskOnHeadersReceivedCallback = RequestTaskOnHeadersReceivedCallbackOrigin
|
|
57
65
|
type RequestTask = RequestTaskOrigin
|
|
58
66
|
type UploadFile = UploadFileOrigin
|
|
59
67
|
type UploadFileOptionFiles = UploadFileOptionFilesOrigin
|
|
@@ -9,6 +9,10 @@ export {
|
|
|
9
9
|
RequestSuccessCallback,
|
|
10
10
|
RequestFailCallback,
|
|
11
11
|
RequestCompleteCallback,
|
|
12
|
+
RequestTaskOnChunkReceivedListenerResult,
|
|
13
|
+
RequestTaskOnChunkReceivedCallback,
|
|
14
|
+
RequestTaskOnHeadersReceivedListenerResult,
|
|
15
|
+
RequestTaskOnHeadersReceivedCallback,
|
|
12
16
|
RequestTask,
|
|
13
17
|
UploadFile,
|
|
14
18
|
UploadFileOptionFiles,
|