@dcloudio/uni-app-x 0.7.37 → 0.7.38

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 (105) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +44 -9
  3. package/types/app.d.ts +8 -5
  4. package/types/native/AsyncApiResult.d.ts +1 -0
  5. package/types/native/IUniElement.d.ts +34 -0
  6. package/types/native/UniElement.d.ts +2 -1
  7. package/types/native/UniTextElement.d.ts +1 -0
  8. package/types/native/global.d.ts +10 -0
  9. package/types/page.d.ts +5 -5
  10. package/types/uni/env/index.d.ts +15 -1
  11. package/types/uni/global.d.ts +1 -0
  12. package/types/uni/index.d.ts +1 -0
  13. package/types/uni/uni-map-tencent-global.d.ts +33 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +52 -0
  15. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +24 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +11 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +217 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -2
  21. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -1
  22. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +212 -219
  23. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +130 -4
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +1 -1
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +647 -7
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/global.d.ts +20 -0
  28. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
  29. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +153 -0
  30. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  31. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +4 -0
  32. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +2 -0
  33. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1995 -1726
  34. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +102 -18
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1123 -1044
  38. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +327 -296
  39. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +33 -28
  40. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +210 -0
  41. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2687 -13
  42. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +42 -0
  43. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +1178 -2
  44. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  45. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +882 -0
  46. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +152 -12
  47. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +152 -12
  48. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +760 -4
  49. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -2
  50. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -45
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +126 -0
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +38 -3
  53. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +13 -13
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +3119 -1
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +300 -6
  56. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  57. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +42 -0
  58. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -8
  59. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +1 -1
  60. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +8 -0
  61. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -0
  62. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1686 -266
  63. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +15 -15
  64. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3618 -1675
  65. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +11 -11
  66. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +42 -0
  67. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +9 -9
  68. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +252 -0
  69. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -0
  70. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -0
  71. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  72. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +532 -245
  73. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1260 -0
  74. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  75. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +58 -58
  76. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +42 -0
  77. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +42 -0
  78. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +4 -0
  79. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +2 -0
  80. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +614 -15
  81. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +420 -0
  82. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +50 -8
  83. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +267 -99
  84. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +978 -12
  85. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +1 -1
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +2 -0
  87. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +1 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +37 -5
  89. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +379 -1
  90. package/types/uni/uts-plugin-extend/README.md +3 -0
  91. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  92. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +73 -73
  94. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +302 -302
  95. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  96. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  98. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +431 -11
  99. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  100. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  101. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +73 -73
  103. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +2 -2
  104. package/types/uni-cloud/interface.d.ts +91 -0
  105. package/uts-plugin.d.ts +3 -1
@@ -16,7 +16,11 @@ export type ExitErrorCode =
16
16
  /**
17
17
  * 未知错误
18
18
  */
19
- 12002
19
+ 12002 |
20
+ /**
21
+ * iOS平台,仅在uni-app x SDK模式中支持应用退出
22
+ */
23
+ 12003
20
24
 
21
25
  /**
22
26
  * uni.exit失败回调参数
@@ -62,33 +66,34 @@ export interface Uni {
62
66
 
63
67
  /**
64
68
  * 退出当前应用
65
- * @uniPlatform {
66
- * "app": {
67
- * "android": {
68
- * "osVer": "5.0",
69
- * "uniVer": "3.8.15",
70
- * "uniUtsPlugin": "3.9.0",
71
- * "unixVer": "3.9.0",
72
- * "unixUtsPlugin": "3.9.0"
73
- * },
74
- * "ios": {
75
- * "osVer": "x",
76
- * "uniVer": "x",
77
- * "uniUtsPlugin": "x",
78
- * "unixVer": "x",
79
- * "unixUtsPlugin": "x"
80
- * },
81
- * "harmony": {
82
- * "osVer": "3.0",
83
- * "uniVer": "4.23",
84
- * "unixVer": "x"
85
- * }
86
- * },
87
- * "web": {
88
- * "uniVer": "x",
89
- * "unixVer": "x"
90
- * }
91
- * }
69
+ * @uniPlatform
70
+ {
71
+ "app": {
72
+ "android": {
73
+ "osVer": "5.0",
74
+ "uniVer": "3.8.15",
75
+ "uniUtsPlugin": "3.91",
76
+ "unixVer": "3.91",
77
+ "unixUtsPlugin": "3.91"
78
+ },
79
+ "ios": {
80
+ "osVer": "12.0",
81
+ "uniVer": "x",
82
+ "uniUtsPlugin": "x",
83
+ "unixVer": "4.33",
84
+ "unixUtsPlugin": "4.33"
85
+ },
86
+ "harmony": {
87
+ "osVer": "3.0",
88
+ "uniVer": "4.23",
89
+ "unixVer": "x"
90
+ }
91
+ },
92
+ "web": {
93
+ "uniVer": "x",
94
+ "unixVer": "x"
95
+ }
96
+ }
92
97
  * @uniVueVersion 2,3 //支持的vue版本
93
98
  */
94
99
  exit(options?: ExitOptions | null):void;
@@ -91,6 +91,48 @@ export interface Uni {
91
91
  * "unixVer": "x"
92
92
  * }
93
93
  * },
94
+ * "mp": {
95
+ * "weixin": {
96
+ * "hostVer": "√",
97
+ * "uniVer": "√",
98
+ * "unixVer": "4.35"
99
+ * },
100
+ * "alipay": {
101
+ * "hostVer": "√",
102
+ * "uniVer": "√",
103
+ * "unixVer": "x"
104
+ * },
105
+ * "baidu": {
106
+ * "hostVer": "√",
107
+ * "uniVer": "√",
108
+ * "unixVer": "x"
109
+ * },
110
+ * "toutiao": {
111
+ * "hostVer": "√",
112
+ * "uniVer": "√",
113
+ * "unixVer": "x"
114
+ * },
115
+ * "lark": {
116
+ * "hostVer": "√",
117
+ * "uniVer": "√",
118
+ * "unixVer": "x"
119
+ * },
120
+ * "qq": {
121
+ * "hostVer": "√",
122
+ * "uniVer": "√",
123
+ * "unixVer": "x"
124
+ * },
125
+ * "kuaishou": {
126
+ * "hostVer": "√",
127
+ * "uniVer": "√",
128
+ * "unixVer": "x"
129
+ * },
130
+ * "jd": {
131
+ * "hostVer": "√",
132
+ * "uniVer": "√",
133
+ * "unixVer": "x"
134
+ * }
135
+ * },
94
136
  * "web": {
95
137
  * "uniVer": "x",
96
138
  * "unixVer": "x"
@@ -109,6 +151,48 @@ export interface Uni {
109
151
  * "unixVer": "x"
110
152
  * }
111
153
  * },
154
+ * "mp": {
155
+ * "weixin": {
156
+ * "hostVer": "√",
157
+ * "uniVer": "√",
158
+ * "unixVer": "4.35"
159
+ * },
160
+ * "alipay": {
161
+ * "hostVer": "√",
162
+ * "uniVer": "√",
163
+ * "unixVer": "x"
164
+ * },
165
+ * "baidu": {
166
+ * "hostVer": "√",
167
+ * "uniVer": "√",
168
+ * "unixVer": "x"
169
+ * },
170
+ * "toutiao": {
171
+ * "hostVer": "√",
172
+ * "uniVer": "√",
173
+ * "unixVer": "x"
174
+ * },
175
+ * "lark": {
176
+ * "hostVer": "√",
177
+ * "uniVer": "√",
178
+ * "unixVer": "x"
179
+ * },
180
+ * "qq": {
181
+ * "hostVer": "√",
182
+ * "uniVer": "√",
183
+ * "unixVer": "x"
184
+ * },
185
+ * "kuaishou": {
186
+ * "hostVer": "√",
187
+ * "uniVer": "√",
188
+ * "unixVer": "x"
189
+ * },
190
+ * "jd": {
191
+ * "hostVer": "√",
192
+ * "uniVer": "√",
193
+ * "unixVer": "x"
194
+ * }
195
+ * },
112
196
  * "web": {
113
197
  * "uniVer": "x",
114
198
  * "unixVer": "x"
@@ -127,6 +211,48 @@ export interface Uni {
127
211
  * "unixVer": "x"
128
212
  * }
129
213
  * },
214
+ * "mp": {
215
+ * "weixin": {
216
+ * "hostVer": "√",
217
+ * "uniVer": "√",
218
+ * "unixVer": "4.35"
219
+ * },
220
+ * "alipay": {
221
+ * "hostVer": "√",
222
+ * "uniVer": "√",
223
+ * "unixVer": "x"
224
+ * },
225
+ * "baidu": {
226
+ * "hostVer": "√",
227
+ * "uniVer": "√",
228
+ * "unixVer": "x"
229
+ * },
230
+ * "toutiao": {
231
+ * "hostVer": "√",
232
+ * "uniVer": "√",
233
+ * "unixVer": "x"
234
+ * },
235
+ * "lark": {
236
+ * "hostVer": "√",
237
+ * "uniVer": "√",
238
+ * "unixVer": "x"
239
+ * },
240
+ * "qq": {
241
+ * "hostVer": "√",
242
+ * "uniVer": "√",
243
+ * "unixVer": "x"
244
+ * },
245
+ * "kuaishou": {
246
+ * "hostVer": "√",
247
+ * "uniVer": "√",
248
+ * "unixVer": "x"
249
+ * },
250
+ * "jd": {
251
+ * "hostVer": "√",
252
+ * "uniVer": "√",
253
+ * "unixVer": "x"
254
+ * }
255
+ * },
130
256
  * "web": {
131
257
  * "uniVer": "x",
132
258
  * "unixVer": "x"
@@ -145,6 +271,48 @@ export interface Uni {
145
271
  * "unixVer": "x"
146
272
  * }
147
273
  * },
274
+ * "mp": {
275
+ * "weixin": {
276
+ * "hostVer": "√",
277
+ * "uniVer": "√",
278
+ * "unixVer": "4.35"
279
+ * },
280
+ * "alipay": {
281
+ * "hostVer": "√",
282
+ * "uniVer": "√",
283
+ * "unixVer": "x"
284
+ * },
285
+ * "baidu": {
286
+ * "hostVer": "√",
287
+ * "uniVer": "√",
288
+ * "unixVer": "x"
289
+ * },
290
+ * "toutiao": {
291
+ * "hostVer": "√",
292
+ * "uniVer": "√",
293
+ * "unixVer": "x"
294
+ * },
295
+ * "lark": {
296
+ * "hostVer": "√",
297
+ * "uniVer": "√",
298
+ * "unixVer": "x"
299
+ * },
300
+ * "qq": {
301
+ * "hostVer": "√",
302
+ * "uniVer": "√",
303
+ * "unixVer": "x"
304
+ * },
305
+ * "kuaishou": {
306
+ * "hostVer": "√",
307
+ * "uniVer": "√",
308
+ * "unixVer": "x"
309
+ * },
310
+ * "jd": {
311
+ * "hostVer": "√",
312
+ * "uniVer": "√",
313
+ * "unixVer": "x"
314
+ * }
315
+ * },
148
316
  * "web": {
149
317
  * "uniVer": "x",
150
318
  * "unixVer": "x"
@@ -163,6 +331,48 @@ export interface Uni {
163
331
  * "unixVer": "x"
164
332
  * }
165
333
  * },
334
+ * "mp": {
335
+ * "weixin": {
336
+ * "hostVer": "√",
337
+ * "uniVer": "√",
338
+ * "unixVer": "4.35"
339
+ * },
340
+ * "alipay": {
341
+ * "hostVer": "√",
342
+ * "uniVer": "√",
343
+ * "unixVer": "x"
344
+ * },
345
+ * "baidu": {
346
+ * "hostVer": "√",
347
+ * "uniVer": "√",
348
+ * "unixVer": "x"
349
+ * },
350
+ * "toutiao": {
351
+ * "hostVer": "√",
352
+ * "uniVer": "√",
353
+ * "unixVer": "x"
354
+ * },
355
+ * "lark": {
356
+ * "hostVer": "√",
357
+ * "uniVer": "√",
358
+ * "unixVer": "x"
359
+ * },
360
+ * "qq": {
361
+ * "hostVer": "√",
362
+ * "uniVer": "√",
363
+ * "unixVer": "x"
364
+ * },
365
+ * "kuaishou": {
366
+ * "hostVer": "√",
367
+ * "uniVer": "√",
368
+ * "unixVer": "x"
369
+ * },
370
+ * "jd": {
371
+ * "hostVer": "√",
372
+ * "uniVer": "√",
373
+ * "unixVer": "x"
374
+ * }
375
+ * },
166
376
  * "web": {
167
377
  * "uniVer": "x",
168
378
  * "unixVer": "x"