@dcloudio/uni-app-x 0.7.38 → 0.7.40
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 +9 -7
- package/types/UniPage.d.ts +172 -22
- package/types/app.d.ts +31 -31
- package/types/native/CSSStyleDeclaration.d.ts +16 -2
- package/types/native/CanvasRenderingContext2D.d.ts +1 -1
- package/types/native/DOMRect.d.ts +430 -10
- package/types/native/DrawableContext.d.ts +1137 -45
- package/types/native/IUniElement.d.ts +1981 -138
- package/types/native/UniNativePage.d.ts +94 -0
- package/types/native/UniResizeObserver.d.ts +215 -5
- package/types/native/UniSafeArea.d.ts +185 -0
- package/types/native/UniVideoElement.d.ts +432 -0
- package/types/native/global.d.ts +21 -8
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +45 -3
- package/types/uni/env/index.d.ts +81 -81
- package/types/uni/uni-map-tencent-map.d.ts +19 -15
- package/types/uni/uts-plugin-api/global.d.ts +62 -63
- package/types/uni/uts-plugin-api/index.d.ts +62 -63
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +10 -12
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +5 -6
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -217
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +74 -73
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1297 -333
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +74 -73
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +783 -783
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +411 -153
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2649 -1987
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +289 -68
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +158 -90
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +315 -315
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2781 -2175
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -490
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2538 -2005
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +713 -115
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +336 -85
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +732 -225
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +571 -64
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +874 -830
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +692 -274
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1013 -969
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1448 -243
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +75 -75
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +202 -103
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +264 -87
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +5521 -1939
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +472 -264
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +5752 -3618
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1215 -159
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +330 -65
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +890 -639
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +141 -92
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +4322 -2391
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +488 -336
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -77
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1845 -867
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2501 -513
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1103 -516
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +2306 -1660
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2528 -1752
- package/types/uni/uts-plugin-biz/global.d.ts +6 -4
- package/types/uni/uts-plugin-biz/index.d.ts +6 -4
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -39
- package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +4 -0
- package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +2 -0
- package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +14 -1
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +80 -28
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -36
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -18
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +514 -216
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +313 -313
- package/types/uni/uts-plugin-extend/global.d.ts +1 -4
- package/types/uni/uts-plugin-extend/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4400 -340
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
- package/types/uni-cloud/interface.d.ts +13 -13
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
|
@@ -1,76 +1,77 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
2
|
+
/**
|
|
3
|
+
* 拨打电话
|
|
4
|
+
*
|
|
5
|
+
* @tutorial https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
|
|
6
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
|
|
7
|
+
* @uniPlatform {
|
|
8
|
+
* "app": {
|
|
9
|
+
* "android": {
|
|
10
|
+
* "osVer": "5.0",
|
|
11
|
+
* "uniVer": "√",
|
|
12
|
+
* "unixVer": "x"
|
|
13
|
+
* },
|
|
14
|
+
* "ios": {
|
|
15
|
+
* "osVer": "12.0",
|
|
16
|
+
* "uniVer": "√",
|
|
17
|
+
* "unixVer": "x"
|
|
18
|
+
* },
|
|
19
|
+
* "harmony": {
|
|
20
|
+
* "osVer": "3.0",
|
|
21
|
+
* "uniVer": "4.23",
|
|
22
|
+
* "unixVer": "x"
|
|
23
|
+
* }
|
|
24
|
+
* },
|
|
25
|
+
* "mp": {
|
|
26
|
+
* "weixin": {
|
|
27
|
+
* "hostVer": "1.9.6",
|
|
28
|
+
* "uniVer": "√",
|
|
29
|
+
* "unixVer": "4.41"
|
|
30
|
+
* },
|
|
31
|
+
* "alipay": {
|
|
32
|
+
* "hostVer": "√",
|
|
33
|
+
* "uniVer": "√",
|
|
34
|
+
* "unixVer": "x"
|
|
35
|
+
* },
|
|
36
|
+
* "baidu": {
|
|
37
|
+
* "hostVer": "√",
|
|
38
|
+
* "uniVer": "√",
|
|
39
|
+
* "unixVer": "x"
|
|
40
|
+
* },
|
|
41
|
+
* "toutiao": {
|
|
42
|
+
* "hostVer": "√",
|
|
43
|
+
* "uniVer": "√",
|
|
44
|
+
* "unixVer": "x"
|
|
45
|
+
* },
|
|
46
|
+
* "lark": {
|
|
47
|
+
* "hostVer": "√",
|
|
48
|
+
* "uniVer": "√",
|
|
49
|
+
* "unixVer": "√"
|
|
50
|
+
* },
|
|
51
|
+
* "qq": {
|
|
52
|
+
* "hostVer": "√",
|
|
53
|
+
* "uniVer": "√",
|
|
54
|
+
* "unixVer": "x"
|
|
55
|
+
* },
|
|
56
|
+
* "kuaishou": {
|
|
57
|
+
* "hostVer": "√",
|
|
58
|
+
* "uniVer": "√",
|
|
59
|
+
* "unixVer": "x"
|
|
60
|
+
* },
|
|
61
|
+
* "jd": {
|
|
62
|
+
* "hostVer": "√",
|
|
63
|
+
* "uniVer": "√",
|
|
64
|
+
* "unixVer": "x"
|
|
65
|
+
* }
|
|
66
|
+
* },
|
|
67
|
+
* "web": {
|
|
68
|
+
* "uniVer": "√",
|
|
69
|
+
* "unixVer": "4.0"
|
|
70
|
+
* }
|
|
71
71
|
* }
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/phone/wx.makePhoneCall.html
|
|
73
|
+
*/
|
|
74
|
+
makePhoneCall: MakePhoneCall;
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
export type MakePhoneCall = (options: MakePhoneCallOptions) => void;
|
|
@@ -81,20 +82,196 @@ export type MakePhoneCallFailCallback = (result: MakePhoneCallFail) => void;
|
|
|
81
82
|
export type MakePhoneCallComplete = any;
|
|
82
83
|
export type MakePhoneCallCompleteCallback = (result: MakePhoneCallComplete) => void;
|
|
83
84
|
export type MakePhoneCallOptions = {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
85
|
+
/**
|
|
86
|
+
* 需要拨打的电话号码
|
|
87
|
+
* @uniPlatform {
|
|
88
|
+
* "mp": {
|
|
89
|
+
* "weixin": {
|
|
90
|
+
* "hostVer": "√",
|
|
91
|
+
* "uniVer": "√",
|
|
92
|
+
* "unixVer": "4.41"
|
|
93
|
+
* },
|
|
94
|
+
* "alipay": {
|
|
95
|
+
* "hostVer": "-",
|
|
96
|
+
* "uniVer": "-",
|
|
97
|
+
* "unixVer": "-"
|
|
98
|
+
* },
|
|
99
|
+
* "baidu": {
|
|
100
|
+
* "hostVer": "-",
|
|
101
|
+
* "uniVer": "-",
|
|
102
|
+
* "unixVer": "-"
|
|
103
|
+
* },
|
|
104
|
+
* "toutiao": {
|
|
105
|
+
* "hostVer": "-",
|
|
106
|
+
* "uniVer": "-",
|
|
107
|
+
* "unixVer": "-"
|
|
108
|
+
* },
|
|
109
|
+
* "lark": {
|
|
110
|
+
* "hostVer": "-",
|
|
111
|
+
* "uniVer": "-",
|
|
112
|
+
* "unixVer": "-"
|
|
113
|
+
* },
|
|
114
|
+
* "qq": {
|
|
115
|
+
* "hostVer": "-",
|
|
116
|
+
* "uniVer": "-",
|
|
117
|
+
* "unixVer": "-"
|
|
118
|
+
* },
|
|
119
|
+
* "kuaishou": {
|
|
120
|
+
* "hostVer": "-",
|
|
121
|
+
* "uniVer": "-",
|
|
122
|
+
* "unixVer": "-"
|
|
123
|
+
* },
|
|
124
|
+
* "jd": {
|
|
125
|
+
* "hostVer": "-",
|
|
126
|
+
* "uniVer": "-",
|
|
127
|
+
* "unixVer": "-"
|
|
128
|
+
* }
|
|
129
|
+
* }
|
|
130
|
+
* }
|
|
131
|
+
*/
|
|
132
|
+
phoneNumber: string,
|
|
133
|
+
/**
|
|
134
|
+
* 成功返回的回调函数
|
|
135
|
+
* @uniPlatform {
|
|
136
|
+
* "mp": {
|
|
137
|
+
* "weixin": {
|
|
138
|
+
* "hostVer": "√",
|
|
139
|
+
* "uniVer": "√",
|
|
140
|
+
* "unixVer": "4.41"
|
|
141
|
+
* },
|
|
142
|
+
* "alipay": {
|
|
143
|
+
* "hostVer": "-",
|
|
144
|
+
* "uniVer": "-",
|
|
145
|
+
* "unixVer": "-"
|
|
146
|
+
* },
|
|
147
|
+
* "baidu": {
|
|
148
|
+
* "hostVer": "-",
|
|
149
|
+
* "uniVer": "-",
|
|
150
|
+
* "unixVer": "-"
|
|
151
|
+
* },
|
|
152
|
+
* "toutiao": {
|
|
153
|
+
* "hostVer": "-",
|
|
154
|
+
* "uniVer": "-",
|
|
155
|
+
* "unixVer": "-"
|
|
156
|
+
* },
|
|
157
|
+
* "lark": {
|
|
158
|
+
* "hostVer": "-",
|
|
159
|
+
* "uniVer": "-",
|
|
160
|
+
* "unixVer": "-"
|
|
161
|
+
* },
|
|
162
|
+
* "qq": {
|
|
163
|
+
* "hostVer": "-",
|
|
164
|
+
* "uniVer": "-",
|
|
165
|
+
* "unixVer": "-"
|
|
166
|
+
* },
|
|
167
|
+
* "kuaishou": {
|
|
168
|
+
* "hostVer": "-",
|
|
169
|
+
* "uniVer": "-",
|
|
170
|
+
* "unixVer": "-"
|
|
171
|
+
* },
|
|
172
|
+
* "jd": {
|
|
173
|
+
* "hostVer": "-",
|
|
174
|
+
* "uniVer": "-",
|
|
175
|
+
* "unixVer": "-"
|
|
176
|
+
* }
|
|
177
|
+
* }
|
|
178
|
+
* }
|
|
179
|
+
*/
|
|
180
|
+
success?: MakePhoneCallSuccessCallback | null,
|
|
181
|
+
/**
|
|
182
|
+
* 失败的回调函数
|
|
183
|
+
* @uniPlatform {
|
|
184
|
+
* "mp": {
|
|
185
|
+
* "weixin": {
|
|
186
|
+
* "hostVer": "√",
|
|
187
|
+
* "uniVer": "√",
|
|
188
|
+
* "unixVer": "4.41"
|
|
189
|
+
* },
|
|
190
|
+
* "alipay": {
|
|
191
|
+
* "hostVer": "-",
|
|
192
|
+
* "uniVer": "-",
|
|
193
|
+
* "unixVer": "-"
|
|
194
|
+
* },
|
|
195
|
+
* "baidu": {
|
|
196
|
+
* "hostVer": "-",
|
|
197
|
+
* "uniVer": "-",
|
|
198
|
+
* "unixVer": "-"
|
|
199
|
+
* },
|
|
200
|
+
* "toutiao": {
|
|
201
|
+
* "hostVer": "-",
|
|
202
|
+
* "uniVer": "-",
|
|
203
|
+
* "unixVer": "-"
|
|
204
|
+
* },
|
|
205
|
+
* "lark": {
|
|
206
|
+
* "hostVer": "-",
|
|
207
|
+
* "uniVer": "-",
|
|
208
|
+
* "unixVer": "-"
|
|
209
|
+
* },
|
|
210
|
+
* "qq": {
|
|
211
|
+
* "hostVer": "-",
|
|
212
|
+
* "uniVer": "-",
|
|
213
|
+
* "unixVer": "-"
|
|
214
|
+
* },
|
|
215
|
+
* "kuaishou": {
|
|
216
|
+
* "hostVer": "-",
|
|
217
|
+
* "uniVer": "-",
|
|
218
|
+
* "unixVer": "-"
|
|
219
|
+
* },
|
|
220
|
+
* "jd": {
|
|
221
|
+
* "hostVer": "-",
|
|
222
|
+
* "uniVer": "-",
|
|
223
|
+
* "unixVer": "-"
|
|
224
|
+
* }
|
|
225
|
+
* }
|
|
226
|
+
* }
|
|
227
|
+
*/
|
|
228
|
+
fail?: MakePhoneCallFailCallback | null,
|
|
229
|
+
/**
|
|
230
|
+
* 结束的回调函数(调用成功、失败都会执行)
|
|
231
|
+
* @uniPlatform {
|
|
232
|
+
* "mp": {
|
|
233
|
+
* "weixin": {
|
|
234
|
+
* "hostVer": "√",
|
|
235
|
+
* "uniVer": "√",
|
|
236
|
+
* "unixVer": "4.41"
|
|
237
|
+
* },
|
|
238
|
+
* "alipay": {
|
|
239
|
+
* "hostVer": "-",
|
|
240
|
+
* "uniVer": "-",
|
|
241
|
+
* "unixVer": "-"
|
|
242
|
+
* },
|
|
243
|
+
* "baidu": {
|
|
244
|
+
* "hostVer": "-",
|
|
245
|
+
* "uniVer": "-",
|
|
246
|
+
* "unixVer": "-"
|
|
247
|
+
* },
|
|
248
|
+
* "toutiao": {
|
|
249
|
+
* "hostVer": "-",
|
|
250
|
+
* "uniVer": "-",
|
|
251
|
+
* "unixVer": "-"
|
|
252
|
+
* },
|
|
253
|
+
* "lark": {
|
|
254
|
+
* "hostVer": "-",
|
|
255
|
+
* "uniVer": "-",
|
|
256
|
+
* "unixVer": "-"
|
|
257
|
+
* },
|
|
258
|
+
* "qq": {
|
|
259
|
+
* "hostVer": "-",
|
|
260
|
+
* "uniVer": "-",
|
|
261
|
+
* "unixVer": "-"
|
|
262
|
+
* },
|
|
263
|
+
* "kuaishou": {
|
|
264
|
+
* "hostVer": "-",
|
|
265
|
+
* "uniVer": "-",
|
|
266
|
+
* "unixVer": "-"
|
|
267
|
+
* },
|
|
268
|
+
* "jd": {
|
|
269
|
+
* "hostVer": "-",
|
|
270
|
+
* "uniVer": "-",
|
|
271
|
+
* "unixVer": "-"
|
|
272
|
+
* }
|
|
273
|
+
* }
|
|
274
|
+
* }
|
|
275
|
+
*/
|
|
276
|
+
complete?: MakePhoneCallCompleteCallback | null
|
|
100
277
|
};
|
|
@@ -83,6 +83,7 @@ import {
|
|
|
83
83
|
CompressVideo as CompressVideoOrigin,
|
|
84
84
|
ChooseFile as ChooseFileOrigin,
|
|
85
85
|
ChooseFileSuccess as ChooseFileSuccessOrigin,
|
|
86
|
+
ChooseFileTempFile as ChooseFileTempFileOrigin,
|
|
86
87
|
ChooseFileSuccessCallback as ChooseFileSuccessCallbackOrigin,
|
|
87
88
|
ChooseFileFail as ChooseFileFailOrigin,
|
|
88
89
|
ChooseFileFailCallback as ChooseFileFailCallbackOrigin,
|
|
@@ -96,6 +97,8 @@ import {
|
|
|
96
97
|
ChooseMediaSuccessCallback as ChooseMediaSuccessCallbackOrigin,
|
|
97
98
|
ChooseMediaFailCallback as ChooseMediaFailCallbackOrigin,
|
|
98
99
|
ChooseMediaCompleteCallback as ChooseMediaCompleteCallbackOrigin,
|
|
100
|
+
ChooseMediaPageOrientation as ChooseMediaPageOrientationOrigin,
|
|
101
|
+
ChooseMediaAlbumMode as ChooseMediaAlbumModeOrigin,
|
|
99
102
|
ChooseMediaOptions as ChooseMediaOptionsOrigin,
|
|
100
103
|
ChooseMedia as ChooseMediaOrigin,
|
|
101
104
|
Uni as UniOrigin
|
|
@@ -185,6 +188,7 @@ declare global {
|
|
|
185
188
|
type CompressVideo = CompressVideoOrigin
|
|
186
189
|
type ChooseFile = ChooseFileOrigin
|
|
187
190
|
type ChooseFileSuccess = ChooseFileSuccessOrigin
|
|
191
|
+
type ChooseFileTempFile = ChooseFileTempFileOrigin
|
|
188
192
|
type ChooseFileSuccessCallback = ChooseFileSuccessCallbackOrigin
|
|
189
193
|
type ChooseFileFail = ChooseFileFailOrigin
|
|
190
194
|
type ChooseFileFailCallback = ChooseFileFailCallbackOrigin
|
|
@@ -198,6 +202,8 @@ declare global {
|
|
|
198
202
|
type ChooseMediaSuccessCallback = ChooseMediaSuccessCallbackOrigin
|
|
199
203
|
type ChooseMediaFailCallback = ChooseMediaFailCallbackOrigin
|
|
200
204
|
type ChooseMediaCompleteCallback = ChooseMediaCompleteCallbackOrigin
|
|
205
|
+
type ChooseMediaPageOrientation = ChooseMediaPageOrientationOrigin
|
|
206
|
+
type ChooseMediaAlbumMode = ChooseMediaAlbumModeOrigin
|
|
201
207
|
type ChooseMediaOptions = ChooseMediaOptionsOrigin
|
|
202
208
|
type ChooseMedia = ChooseMediaOrigin
|
|
203
209
|
interface Uni extends UniOrigin { }
|
|
@@ -83,6 +83,7 @@ export {
|
|
|
83
83
|
CompressVideo,
|
|
84
84
|
ChooseFile,
|
|
85
85
|
ChooseFileSuccess,
|
|
86
|
+
ChooseFileTempFile,
|
|
86
87
|
ChooseFileSuccessCallback,
|
|
87
88
|
ChooseFileFail,
|
|
88
89
|
ChooseFileFailCallback,
|
|
@@ -96,6 +97,8 @@ export {
|
|
|
96
97
|
ChooseMediaSuccessCallback,
|
|
97
98
|
ChooseMediaFailCallback,
|
|
98
99
|
ChooseMediaCompleteCallback,
|
|
100
|
+
ChooseMediaPageOrientation,
|
|
101
|
+
ChooseMediaAlbumMode,
|
|
99
102
|
ChooseMediaOptions,
|
|
100
103
|
ChooseMedia,
|
|
101
104
|
} from './interface'
|