@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.
Files changed (104) hide show
  1. package/package.json +6 -2
  2. package/types/app.d.ts +16 -8
  3. package/types/index.d.ts +1 -0
  4. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  5. package/types/native/DOMRect.d.ts +60 -10
  6. package/types/native/IUniElement.d.ts +459 -2
  7. package/types/native/UniElement.d.ts +3 -2
  8. package/types/native/UniFormControl.d.ts +1 -1
  9. package/types/native/UniPage.d.ts +2 -2
  10. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
  11. package/types/native/UniSwiperChangeEvent.d.ts +1 -0
  12. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  13. package/types/native/UniWebViewElement.d.ts +3 -1
  14. package/types/native/WebViewStyles.d.ts +1 -1
  15. package/types/native/global.d.ts +10 -0
  16. package/types/native/index.d.ts +1 -0
  17. package/types/page.d.ts +134 -22
  18. package/types/uni/env/index.d.ts +5 -5
  19. package/types/uni/uni-camera-global.d.ts +4 -0
  20. package/types/uni/uni-camera.d.ts +10 -9
  21. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  22. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  23. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
  24. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
  25. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  27. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  28. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  29. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
  30. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  31. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  32. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +22 -10
  34. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +11 -11
  35. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
  36. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
  38. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  39. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  40. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +47 -1
  41. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +256 -236
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +12 -11
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
  50. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
  51. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
  52. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
  53. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
  54. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  55. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +32 -5
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -16
  57. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +263 -425
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +27 -7
  62. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  63. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  64. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +296 -181
  65. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +259 -321
  66. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
  67. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
  68. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  69. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  70. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4235 -3525
  71. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
  72. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  73. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  74. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  75. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  76. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
  77. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  78. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
  79. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
  80. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  81. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  82. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2268 -1281
  83. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
  84. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
  85. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
  86. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
  87. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  88. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  89. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  90. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  91. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  92. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  93. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  94. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
  95. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
  96. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +135 -76
  97. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
  99. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
  100. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +30 -0
  101. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +15 -0
  102. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +350 -1
  103. package/types/uni-cloud/interface.d.ts +233 -0
  104. package/types/vite.d.ts +269 -0
@@ -94,7 +94,7 @@ export interface LoadFontFaceFail extends IUniError {
94
94
  }
95
95
  export type LoadFontFaceOptions = {
96
96
  /**
97
- * 是否全局生效。微信小程序 '2.10.0'起支持全局生效,需在 app.vue 中调用。
97
+ * 是否全局生效微信小程序 '2.10.0'起支持全局生效。需在 app.uvue 中调用。
98
98
  * @uniPlatform {
99
99
  * "app": {
100
100
  * "android": {
@@ -106,7 +106,12 @@ export type LoadFontFaceOptions = {
106
106
  * "osVer": "10.0",
107
107
  * "uniVer": "√",
108
108
  * "unixVer": "x"
109
- * }
109
+ * },
110
+ * "harmony": {
111
+ * "osVer": "3.0",
112
+ * "uniVer": "4.23",
113
+ * "unixVer": "x"
114
+ * }
110
115
  * },
111
116
  * "mp": {
112
117
  * "weixin": {
@@ -170,7 +175,12 @@ export type LoadFontFaceOptions = {
170
175
  * "osVer": "10.0",
171
176
  * "uniVer": "√",
172
177
  * "unixVer": "4.10"
173
- * }
178
+ * },
179
+ * "harmony": {
180
+ * "osVer": "3.0",
181
+ * "uniVer": "4.23",
182
+ * "unixVer": "4.61"
183
+ * }
174
184
  * },
175
185
  * "mp": {
176
186
  * "weixin": {
@@ -234,7 +244,12 @@ export type LoadFontFaceOptions = {
234
244
  * "osVer": "10.0",
235
245
  * "uniVer": "√",
236
246
  * "unixVer": "4.10"
237
- * }
247
+ * },
248
+ * "harmony": {
249
+ * "osVer": "3.0",
250
+ * "uniVer": "4.23",
251
+ * "unixVer": "4.61"
252
+ * }
238
253
  * },
239
254
  * "mp": {
240
255
  * "weixin": {
@@ -298,7 +313,12 @@ export type LoadFontFaceOptions = {
298
313
  * "osVer": "10.0",
299
314
  * "uniVer": "√",
300
315
  * "unixVer": "4.10"
301
- * }
316
+ * },
317
+ * "harmony": {
318
+ * "osVer": "x",
319
+ * "uniVer": "x",
320
+ * "unixVer": "x"
321
+ * }
302
322
  * },
303
323
  * "mp": {
304
324
  * "weixin": {
@@ -605,9 +625,9 @@ export interface Uni {
605
625
  /**
606
626
  * 动态加载网络字体
607
627
  *
608
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
609
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
610
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
611
631
  * @uniPlatform {
612
632
  * "app": {
613
633
  * "android": {
@@ -3,6 +3,8 @@ import {
3
3
  MakePhoneCall as MakePhoneCallOrigin,
4
4
  MakePhoneCallSuccess as MakePhoneCallSuccessOrigin,
5
5
  MakePhoneCallSuccessCallback as MakePhoneCallSuccessCallbackOrigin,
6
+ MakePhoneCallErrorCode as MakePhoneCallErrorCodeOrigin,
7
+ IMakePhoneCallError as IMakePhoneCallErrorOrigin,
6
8
  MakePhoneCallFail as MakePhoneCallFailOrigin,
7
9
  MakePhoneCallFailCallback as MakePhoneCallFailCallbackOrigin,
8
10
  MakePhoneCallComplete as MakePhoneCallCompleteOrigin,
@@ -15,6 +17,8 @@ declare global {
15
17
  type MakePhoneCall = MakePhoneCallOrigin
16
18
  type MakePhoneCallSuccess = MakePhoneCallSuccessOrigin
17
19
  type MakePhoneCallSuccessCallback = MakePhoneCallSuccessCallbackOrigin
20
+ type MakePhoneCallErrorCode = MakePhoneCallErrorCodeOrigin
21
+ type IMakePhoneCallError = IMakePhoneCallErrorOrigin
18
22
  type MakePhoneCallFail = MakePhoneCallFailOrigin
19
23
  type MakePhoneCallFailCallback = MakePhoneCallFailCallbackOrigin
20
24
  type MakePhoneCallComplete = MakePhoneCallCompleteOrigin
@@ -3,6 +3,8 @@ export {
3
3
  MakePhoneCall,
4
4
  MakePhoneCallSuccess,
5
5
  MakePhoneCallSuccessCallback,
6
+ MakePhoneCallErrorCode,
7
+ IMakePhoneCallError,
6
8
  MakePhoneCallFail,
7
9
  MakePhoneCallFailCallback,
8
10
  MakePhoneCallComplete,
@@ -1,25 +1,28 @@
1
1
  export interface Uni {
2
2
  /**
3
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
4
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/make-phone-call.html#makephonecall
5
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/make-phone-call.html#makephonecall
6
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
7
7
  * @uniPlatform {
8
8
  * "app": {
9
9
  * "android": {
10
10
  * "osVer": "5.0",
11
11
  * "uniVer": "√",
12
- * "unixVer": "x"
12
+ * "unixVer": "4.63",
13
+ * "unixUtsPlugin": "4.63"
13
14
  * },
14
15
  * "ios": {
15
16
  * "osVer": "12.0",
16
17
  * "uniVer": "√",
17
- * "unixVer": "x"
18
+ * "unixVer": "4.63",
19
+ * "unixUtsPlugin": "4.63"
18
20
  * },
19
21
  * "harmony": {
20
22
  * "osVer": "3.0",
21
23
  * "uniVer": "4.23",
22
- * "unixVer": "4.61"
24
+ * "unixVer": "4.61",
25
+ * "unixUtsPlugin": "4.61"
23
26
  * }
24
27
  * },
25
28
  * "mp": {
@@ -77,7 +80,23 @@ export interface Uni {
77
80
  export type MakePhoneCall = (options: MakePhoneCallOptions) => void;
78
81
  export type MakePhoneCallSuccess = {};
79
82
  export type MakePhoneCallSuccessCallback = (result: MakePhoneCallSuccess) => void;
80
- export type MakePhoneCallFail = UniError;
83
+ export type MakePhoneCallErrorCode =
84
+ /**
85
+ * 当前设备不支持此功能
86
+ */
87
+ 1500601 |
88
+ /**
89
+ * 无效号码
90
+ */
91
+ 1500602 |
92
+ /**
93
+ * 内部错误
94
+ */
95
+ 1500603;
96
+ export interface IMakePhoneCallError extends IUniError {
97
+ errCode : MakePhoneCallErrorCode;
98
+ }
99
+ export type MakePhoneCallFail = IMakePhoneCallError;
81
100
  export type MakePhoneCallFailCallback = (result: MakePhoneCallFail) => void;
82
101
  export type MakePhoneCallComplete = any;
83
102
  export type MakePhoneCallCompleteCallback = (result: MakePhoneCallComplete) => void;
@@ -85,193 +104,289 @@ export type MakePhoneCallOptions = {
85
104
  /**
86
105
  * 需要拨打的电话号码
87
106
  * @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
- * }
107
+ * "app": {
108
+ * "android": {
109
+ * "osVer": "5.0",
110
+ * "uniVer": "√",
111
+ * "unixVer": "4.63",
112
+ * "unixUtsPlugin": "4.63"
113
+ * },
114
+ * "ios": {
115
+ * "osVer": "12.0",
116
+ * "uniVer": "",
117
+ * "unixVer": "4.63",
118
+ * "unixUtsPlugin": "4.63"
119
+ * },
120
+ * "harmony": {
121
+ * "osVer": "3.0",
122
+ * "uniVer": "4.23",
123
+ * "unixVer": "4.61",
124
+ * "unixUtsPlugin": "4.61"
125
+ * }
126
+ * },
127
+ * "mp": {
128
+ * "weixin": {
129
+ * "hostVer": "",
130
+ * "uniVer": "",
131
+ * "unixVer": "4.41"
132
+ * },
133
+ * "alipay": {
134
+ * "hostVer": "",
135
+ * "uniVer": "",
136
+ * "unixVer": "x"
137
+ * },
138
+ * "baidu": {
139
+ * "hostVer": "",
140
+ * "uniVer": "",
141
+ * "unixVer": "x"
142
+ * },
143
+ * "toutiao": {
144
+ * "hostVer": "",
145
+ * "uniVer": "",
146
+ * "unixVer": "x"
147
+ * },
148
+ * "lark": {
149
+ * "hostVer": "√",
150
+ * "uniVer": "√",
151
+ * "unixVer": "√"
152
+ * },
153
+ * "qq": {
154
+ * "hostVer": "√",
155
+ * "uniVer": "√",
156
+ * "unixVer": "x"
157
+ * },
158
+ * "kuaishou": {
159
+ * "hostVer": "√",
160
+ * "uniVer": "√",
161
+ * "unixVer": "x"
162
+ * },
163
+ * "jd": {
164
+ * "hostVer": "√",
165
+ * "uniVer": "√",
166
+ * "unixVer": "x"
167
+ * }
168
+ * },
169
+ * "web": {
170
+ * "uniVer": "√",
171
+ * "unixVer": "4.0"
172
+ * }
130
173
  * }
131
174
  */
132
175
  phoneNumber: string,
133
176
  /**
134
177
  * 成功返回的回调函数
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
- * }
178
+ * @uniPlatform {
179
+ * "app": {
180
+ * "android": {
181
+ * "osVer": "5.0",
182
+ * "uniVer": "√",
183
+ * "unixVer": "4.63",
184
+ * "unixUtsPlugin": "4.63"
185
+ * },
186
+ * "ios": {
187
+ * "osVer": "12.0",
188
+ * "uniVer": "",
189
+ * "unixVer": "4.63",
190
+ * "unixUtsPlugin": "4.63"
191
+ * },
192
+ * "harmony": {
193
+ * "osVer": "3.0",
194
+ * "uniVer": "4.23",
195
+ * "unixVer": "4.61",
196
+ * "unixUtsPlugin": "4.61"
197
+ * }
198
+ * },
199
+ * "mp": {
200
+ * "weixin": {
201
+ * "hostVer": "",
202
+ * "uniVer": "",
203
+ * "unixVer": "4.41"
204
+ * },
205
+ * "alipay": {
206
+ * "hostVer": "",
207
+ * "uniVer": "",
208
+ * "unixVer": "x"
209
+ * },
210
+ * "baidu": {
211
+ * "hostVer": "",
212
+ * "uniVer": "",
213
+ * "unixVer": "x"
214
+ * },
215
+ * "toutiao": {
216
+ * "hostVer": "",
217
+ * "uniVer": "",
218
+ * "unixVer": "x"
219
+ * },
220
+ * "lark": {
221
+ * "hostVer": "√",
222
+ * "uniVer": "√",
223
+ * "unixVer": "√"
224
+ * },
225
+ * "qq": {
226
+ * "hostVer": "√",
227
+ * "uniVer": "√",
228
+ * "unixVer": "x"
229
+ * },
230
+ * "kuaishou": {
231
+ * "hostVer": "√",
232
+ * "uniVer": "√",
233
+ * "unixVer": "x"
234
+ * },
235
+ * "jd": {
236
+ * "hostVer": "√",
237
+ * "uniVer": "√",
238
+ * "unixVer": "x"
239
+ * }
240
+ * },
241
+ * "web": {
242
+ * "uniVer": "√",
243
+ * "unixVer": "4.0"
244
+ * }
245
+ * }
179
246
  */
180
247
  success?: MakePhoneCallSuccessCallback | null,
181
248
  /**
182
249
  * 失败的回调函数
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
- * }
250
+ * @uniPlatform {
251
+ * "app": {
252
+ * "android": {
253
+ * "osVer": "5.0",
254
+ * "uniVer": "√",
255
+ * "unixVer": "4.63",
256
+ * "unixUtsPlugin": "4.63"
257
+ * },
258
+ * "ios": {
259
+ * "osVer": "12.0",
260
+ * "uniVer": "",
261
+ * "unixVer": "4.63",
262
+ * "unixUtsPlugin": "4.63"
263
+ * },
264
+ * "harmony": {
265
+ * "osVer": "3.0",
266
+ * "uniVer": "4.23",
267
+ * "unixVer": "4.61",
268
+ * "unixUtsPlugin": "4.61"
269
+ * }
270
+ * },
271
+ * "mp": {
272
+ * "weixin": {
273
+ * "hostVer": "",
274
+ * "uniVer": "",
275
+ * "unixVer": "4.41"
276
+ * },
277
+ * "alipay": {
278
+ * "hostVer": "",
279
+ * "uniVer": "",
280
+ * "unixVer": "x"
281
+ * },
282
+ * "baidu": {
283
+ * "hostVer": "",
284
+ * "uniVer": "",
285
+ * "unixVer": "x"
286
+ * },
287
+ * "toutiao": {
288
+ * "hostVer": "",
289
+ * "uniVer": "",
290
+ * "unixVer": "x"
291
+ * },
292
+ * "lark": {
293
+ * "hostVer": "√",
294
+ * "uniVer": "√",
295
+ * "unixVer": "√"
296
+ * },
297
+ * "qq": {
298
+ * "hostVer": "√",
299
+ * "uniVer": "√",
300
+ * "unixVer": "x"
301
+ * },
302
+ * "kuaishou": {
303
+ * "hostVer": "√",
304
+ * "uniVer": "√",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "jd": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "x"
311
+ * }
312
+ * },
313
+ * "web": {
314
+ * "uniVer": "√",
315
+ * "unixVer": "4.0"
316
+ * }
317
+ * }
227
318
  */
228
319
  fail?: MakePhoneCallFailCallback | null,
229
320
  /**
230
321
  * 结束的回调函数(调用成功、失败都会执行)
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
- * }
322
+ * @uniPlatform {
323
+ * "app": {
324
+ * "android": {
325
+ * "osVer": "5.0",
326
+ * "uniVer": "√",
327
+ * "unixVer": "4.63",
328
+ * "unixUtsPlugin": "4.63"
329
+ * },
330
+ * "ios": {
331
+ * "osVer": "12.0",
332
+ * "uniVer": "",
333
+ * "unixVer": "4.63",
334
+ * "unixUtsPlugin": "4.63"
335
+ * },
336
+ * "harmony": {
337
+ * "osVer": "3.0",
338
+ * "uniVer": "4.23",
339
+ * "unixVer": "4.61",
340
+ * "unixUtsPlugin": "4.61"
341
+ * }
342
+ * },
343
+ * "mp": {
344
+ * "weixin": {
345
+ * "hostVer": "",
346
+ * "uniVer": "",
347
+ * "unixVer": "4.41"
348
+ * },
349
+ * "alipay": {
350
+ * "hostVer": "",
351
+ * "uniVer": "",
352
+ * "unixVer": "x"
353
+ * },
354
+ * "baidu": {
355
+ * "hostVer": "",
356
+ * "uniVer": "",
357
+ * "unixVer": "x"
358
+ * },
359
+ * "toutiao": {
360
+ * "hostVer": "",
361
+ * "uniVer": "",
362
+ * "unixVer": "x"
363
+ * },
364
+ * "lark": {
365
+ * "hostVer": "√",
366
+ * "uniVer": "√",
367
+ * "unixVer": "√"
368
+ * },
369
+ * "qq": {
370
+ * "hostVer": "√",
371
+ * "uniVer": "√",
372
+ * "unixVer": "x"
373
+ * },
374
+ * "kuaishou": {
375
+ * "hostVer": "√",
376
+ * "uniVer": "√",
377
+ * "unixVer": "x"
378
+ * },
379
+ * "jd": {
380
+ * "hostVer": "√",
381
+ * "uniVer": "√",
382
+ * "unixVer": "x"
383
+ * }
384
+ * },
385
+ * "web": {
386
+ * "uniVer": "√",
387
+ * "unixVer": "4.0"
388
+ * }
389
+ * }
275
390
  */
276
391
  complete?: MakePhoneCallCompleteCallback | null
277
392
  };