@dcloudio/uni-app-x 0.7.62 → 0.7.63
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 +1 -1
- package/types/app.d.ts +36 -1
- package/types/dom2/UniCSSProperty.d.ts +446 -0
- package/types/dom2/UniCSSType.d.ts +72 -0
- package/types/dom2/UniCommon.d.ts +40 -0
- package/types/dom2/UniCustomViewElement.d.ts +12 -0
- package/types/dom2/UniElement.d.ts +354 -0
- package/types/dom2/UniElementType.d.ts +37 -0
- package/types/dom2/UniImageElement.d.ts +102 -0
- package/types/dom2/UniNativeBaseView.d.ts +178 -0
- package/types/dom2/UniNativeCustomView.d.ts +13 -0
- package/types/dom2/UniNativeDefines.d.ts +435 -0
- package/types/dom2/UniNativeImageView.d.ts +34 -0
- package/types/dom2/UniNativeScrollView.d.ts +42 -0
- package/types/dom2/UniNativeTextView.d.ts +25 -0
- package/types/dom2/UniNativeView.d.ts +51 -0
- package/types/dom2/UniNativeViewType.d.ts +22 -0
- package/types/dom2/UniPage.d.ts +55 -0
- package/types/dom2/UniScrollViewElement.d.ts +13 -0
- package/types/dom2/UniTextElement.d.ts +20 -0
- package/types/dom2/UniTextLayout.d.ts +386 -0
- package/types/dom2/UniViewElement.d.ts +57 -0
- package/types/dom2/global.d.ts +189 -0
- package/types/dom2/index.d.ts +40 -0
- package/types/dom2/sharedData.d.ts +227 -0
- package/types/index.d.ts +2 -1
- package/types/native/DOMRect.d.ts +2 -1
- package/types/native/DrawableContext.d.ts +1665 -1661
- package/types/native/IUniElement.d.ts +3514 -2877
- package/types/native/SnapshotOptions.d.ts +2 -2
- package/types/native/UniAnimation.d.ts +11 -10
- package/types/native/UniEvent.d.ts +108 -3
- package/types/native/UniPage.d.ts +891 -887
- package/types/native/UniTextElement.d.ts +37 -0
- package/types/native/UniTextLayout.d.ts +387 -0
- package/types/native/UniVideoElement.d.ts +20 -17
- package/types/native/Worker.d.ts +19 -0
- package/types/native/global.d.ts +28 -68
- package/types/native/index.d.ts +18 -1
- package/types/page.d.ts +1862 -599
- package/types/uni/uts-plugin-api/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +524 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +985 -76
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +79 -55
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +77 -53
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +458 -407
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +420 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +80 -80
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -4
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -2
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +713 -91
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -1
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +56 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +27 -0
- package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +842 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +63 -42
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +1007 -314
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +1727 -10
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +235 -30
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +17 -17
- package/uts-plugin.d.ts +11 -0
|
@@ -8,12 +8,12 @@ export type OnShowOptions = {
|
|
|
8
8
|
* "app": {
|
|
9
9
|
* "android": {
|
|
10
10
|
* "osVer": "5.0",
|
|
11
|
-
* "uniVer": "
|
|
11
|
+
* "uniVer": "√",
|
|
12
12
|
* "unixVer": "4.25"
|
|
13
13
|
* },
|
|
14
14
|
* "ios": {
|
|
15
15
|
* "osVer": "12.0",
|
|
16
|
-
* "uniVer": "
|
|
16
|
+
* "uniVer": "√",
|
|
17
17
|
* "unixVer": "4.25"
|
|
18
18
|
* },
|
|
19
19
|
* "harmony": {
|
|
@@ -90,8 +90,8 @@ export type OnShowOptions = {
|
|
|
90
90
|
* },
|
|
91
91
|
* "harmony": {
|
|
92
92
|
* "osVer": "5.0.0",
|
|
93
|
-
* "uniVer": "4.
|
|
94
|
-
* "unixVer": "4.
|
|
93
|
+
* "uniVer": "4.81",
|
|
94
|
+
* "unixVer": "4.81"
|
|
95
95
|
* }
|
|
96
96
|
* },
|
|
97
97
|
* "mp": {
|
|
@@ -162,8 +162,8 @@ export type OnShowOptions = {
|
|
|
162
162
|
* },
|
|
163
163
|
* "harmony": {
|
|
164
164
|
* "osVer": "5.0.0",
|
|
165
|
-
* "uniVer": "4.
|
|
166
|
-
* "unixVer": "4.
|
|
165
|
+
* "uniVer": "4.81",
|
|
166
|
+
* "unixVer": "4.81"
|
|
167
167
|
* }
|
|
168
168
|
* },
|
|
169
169
|
* "mp": {
|
|
@@ -215,6 +215,79 @@ export type OnShowOptions = {
|
|
|
215
215
|
* }
|
|
216
216
|
*/
|
|
217
217
|
appLink: string | null
|
|
218
|
+
/**
|
|
219
|
+
* 启动时的 query 参数
|
|
220
|
+
*
|
|
221
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
222
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
223
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getEnterOptionsSync.html
|
|
224
|
+
* @uniPlatform {
|
|
225
|
+
* "app": {
|
|
226
|
+
* "android": {
|
|
227
|
+
* "osVer": "5.0",
|
|
228
|
+
* "uniVer": "√",
|
|
229
|
+
* "unixVer": "√"
|
|
230
|
+
* },
|
|
231
|
+
* "ios": {
|
|
232
|
+
* "osVer": "12.0",
|
|
233
|
+
* "uniVer": "√",
|
|
234
|
+
* "unixVer": "√"
|
|
235
|
+
* },
|
|
236
|
+
* "harmony": {
|
|
237
|
+
* "osVer": "5.0.0",
|
|
238
|
+
* "uniVer": "4.81",
|
|
239
|
+
* "unixVer": "4.81"
|
|
240
|
+
* }
|
|
241
|
+
* },
|
|
242
|
+
* "mp": {
|
|
243
|
+
* "weixin": {
|
|
244
|
+
* "hostVer": "√",
|
|
245
|
+
* "uniVer": "√",
|
|
246
|
+
* "unixVer": "4.41"
|
|
247
|
+
* },
|
|
248
|
+
* "alipay": {
|
|
249
|
+
* "hostVer": "√",
|
|
250
|
+
* "uniVer": "x",
|
|
251
|
+
* "unixVer": "x"
|
|
252
|
+
* },
|
|
253
|
+
* "baidu": {
|
|
254
|
+
* "hostVer": "√",
|
|
255
|
+
* "uniVer": "x",
|
|
256
|
+
* "unixVer": "x"
|
|
257
|
+
* },
|
|
258
|
+
* "toutiao": {
|
|
259
|
+
* "hostVer": "√",
|
|
260
|
+
* "uniVer": "x",
|
|
261
|
+
* "unixVer": "x"
|
|
262
|
+
* },
|
|
263
|
+
* "lark": {
|
|
264
|
+
* "hostVer": "√",
|
|
265
|
+
* "uniVer": "x",
|
|
266
|
+
* "unixVer": "x"
|
|
267
|
+
* },
|
|
268
|
+
* "qq": {
|
|
269
|
+
* "hostVer": "√",
|
|
270
|
+
* "uniVer": "x",
|
|
271
|
+
* "unixVer": "x"
|
|
272
|
+
* },
|
|
273
|
+
* "kuaishou": {
|
|
274
|
+
* "hostVer": "√",
|
|
275
|
+
* "uniVer": "x",
|
|
276
|
+
* "unixVer": "x"
|
|
277
|
+
* },
|
|
278
|
+
* "jd": {
|
|
279
|
+
* "hostVer": "√",
|
|
280
|
+
* "uniVer": "x",
|
|
281
|
+
* "unixVer": "x"
|
|
282
|
+
* }
|
|
283
|
+
* },
|
|
284
|
+
* "web": {
|
|
285
|
+
* "uniVer": "√",
|
|
286
|
+
* "unixVer": "4.0"
|
|
287
|
+
* }
|
|
288
|
+
* }
|
|
289
|
+
*/
|
|
290
|
+
query?: UTSJSONObject | null
|
|
218
291
|
/**
|
|
219
292
|
* 需要基础库: `2.20.0`
|
|
220
293
|
*
|
|
@@ -322,55 +395,6 @@ export type OnShowOptions = {
|
|
|
322
395
|
* }
|
|
323
396
|
*/
|
|
324
397
|
forwardMaterials?: any | null;
|
|
325
|
-
/**
|
|
326
|
-
* 启动小程序的 query 参数
|
|
327
|
-
*
|
|
328
|
-
* @uniPlatform {
|
|
329
|
-
* "mp": {
|
|
330
|
-
* "weixin": {
|
|
331
|
-
* "hostVer": "√",
|
|
332
|
-
* "uniVer": "√",
|
|
333
|
-
* "unixVer": "4.41"
|
|
334
|
-
* },
|
|
335
|
-
* "alipay": {
|
|
336
|
-
* "hostVer": "-",
|
|
337
|
-
* "uniVer": "-",
|
|
338
|
-
* "unixVer": "-"
|
|
339
|
-
* },
|
|
340
|
-
* "baidu": {
|
|
341
|
-
* "hostVer": "-",
|
|
342
|
-
* "uniVer": "-",
|
|
343
|
-
* "unixVer": "-"
|
|
344
|
-
* },
|
|
345
|
-
* "toutiao": {
|
|
346
|
-
* "hostVer": "-",
|
|
347
|
-
* "uniVer": "-",
|
|
348
|
-
* "unixVer": "-"
|
|
349
|
-
* },
|
|
350
|
-
* "lark": {
|
|
351
|
-
* "hostVer": "-",
|
|
352
|
-
* "uniVer": "-",
|
|
353
|
-
* "unixVer": "-"
|
|
354
|
-
* },
|
|
355
|
-
* "qq": {
|
|
356
|
-
* "hostVer": "-",
|
|
357
|
-
* "uniVer": "-",
|
|
358
|
-
* "unixVer": "-"
|
|
359
|
-
* },
|
|
360
|
-
* "kuaishou": {
|
|
361
|
-
* "hostVer": "-",
|
|
362
|
-
* "uniVer": "-",
|
|
363
|
-
* "unixVer": "-"
|
|
364
|
-
* },
|
|
365
|
-
* "jd": {
|
|
366
|
-
* "hostVer": "-",
|
|
367
|
-
* "uniVer": "-",
|
|
368
|
-
* "unixVer": "-"
|
|
369
|
-
* }
|
|
370
|
-
* }
|
|
371
|
-
* }
|
|
372
|
-
*/
|
|
373
|
-
query?: Record<string, string> | null;
|
|
374
398
|
/**
|
|
375
399
|
* 来源信息。从另一个小程序、公众号或 App 进入小程序时返回。否则返回 `{}`。(参见后文注意)
|
|
376
400
|
*
|
|
@@ -92,8 +92,8 @@ export type OnLaunchOptions = {
|
|
|
92
92
|
* },
|
|
93
93
|
* "harmony": {
|
|
94
94
|
* "osVer": "5.0.0",
|
|
95
|
-
* "uniVer": "4.
|
|
96
|
-
* "unixVer": "4.
|
|
95
|
+
* "uniVer": "4.81",
|
|
96
|
+
* "unixVer": "4.81"
|
|
97
97
|
* }
|
|
98
98
|
* },
|
|
99
99
|
* "mp": {
|
|
@@ -165,8 +165,8 @@ export type OnLaunchOptions = {
|
|
|
165
165
|
* },
|
|
166
166
|
* "harmony": {
|
|
167
167
|
* "osVer": "5.0.0",
|
|
168
|
-
* "uniVer": "4.
|
|
169
|
-
* "unixVer": "4.
|
|
168
|
+
* "uniVer": "4.81",
|
|
169
|
+
* "unixVer": "4.81"
|
|
170
170
|
* }
|
|
171
171
|
* },
|
|
172
172
|
* "mp": {
|
|
@@ -218,6 +218,79 @@ export type OnLaunchOptions = {
|
|
|
218
218
|
* }
|
|
219
219
|
*/
|
|
220
220
|
appLink: string | null
|
|
221
|
+
/**
|
|
222
|
+
* 启动时的 query 参数
|
|
223
|
+
*
|
|
224
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
225
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
226
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
227
|
+
* @uniPlatform {
|
|
228
|
+
* "app": {
|
|
229
|
+
* "android": {
|
|
230
|
+
* "osVer": "5.0",
|
|
231
|
+
* "uniVer": "√",
|
|
232
|
+
* "unixVer": "√"
|
|
233
|
+
* },
|
|
234
|
+
* "ios": {
|
|
235
|
+
* "osVer": "12.0",
|
|
236
|
+
* "uniVer": "√",
|
|
237
|
+
* "unixVer": "√"
|
|
238
|
+
* },
|
|
239
|
+
* "harmony": {
|
|
240
|
+
* "osVer": "5.0.0",
|
|
241
|
+
* "uniVer": "4.81",
|
|
242
|
+
* "unixVer": "4.81"
|
|
243
|
+
* }
|
|
244
|
+
* },
|
|
245
|
+
* "mp": {
|
|
246
|
+
* "weixin": {
|
|
247
|
+
* "hostVer": "√",
|
|
248
|
+
* "uniVer": "√",
|
|
249
|
+
* "unixVer": "4.41"
|
|
250
|
+
* },
|
|
251
|
+
* "alipay": {
|
|
252
|
+
* "hostVer": "√",
|
|
253
|
+
* "uniVer": "x",
|
|
254
|
+
* "unixVer": "x"
|
|
255
|
+
* },
|
|
256
|
+
* "baidu": {
|
|
257
|
+
* "hostVer": "√",
|
|
258
|
+
* "uniVer": "x",
|
|
259
|
+
* "unixVer": "x"
|
|
260
|
+
* },
|
|
261
|
+
* "toutiao": {
|
|
262
|
+
* "hostVer": "√",
|
|
263
|
+
* "uniVer": "x",
|
|
264
|
+
* "unixVer": "x"
|
|
265
|
+
* },
|
|
266
|
+
* "lark": {
|
|
267
|
+
* "hostVer": "√",
|
|
268
|
+
* "uniVer": "x",
|
|
269
|
+
* "unixVer": "x"
|
|
270
|
+
* },
|
|
271
|
+
* "qq": {
|
|
272
|
+
* "hostVer": "√",
|
|
273
|
+
* "uniVer": "x",
|
|
274
|
+
* "unixVer": "x"
|
|
275
|
+
* },
|
|
276
|
+
* "kuaishou": {
|
|
277
|
+
* "hostVer": "√",
|
|
278
|
+
* "uniVer": "x",
|
|
279
|
+
* "unixVer": "x"
|
|
280
|
+
* },
|
|
281
|
+
* "jd": {
|
|
282
|
+
* "hostVer": "√",
|
|
283
|
+
* "uniVer": "x",
|
|
284
|
+
* "unixVer": "x"
|
|
285
|
+
* }
|
|
286
|
+
* },
|
|
287
|
+
* "web": {
|
|
288
|
+
* "uniVer": "√",
|
|
289
|
+
* "unixVer": "4.0"
|
|
290
|
+
* }
|
|
291
|
+
* }
|
|
292
|
+
*/
|
|
293
|
+
query?: UTSJSONObject | null
|
|
221
294
|
/**
|
|
222
295
|
* 需要基础库: `2.20.0`
|
|
223
296
|
*
|
|
@@ -325,55 +398,6 @@ export type OnLaunchOptions = {
|
|
|
325
398
|
* }
|
|
326
399
|
*/
|
|
327
400
|
forwardMaterials?: any | null;
|
|
328
|
-
/**
|
|
329
|
-
* 启动小程序的 query 参数
|
|
330
|
-
*
|
|
331
|
-
* @uniPlatform {
|
|
332
|
-
* "mp": {
|
|
333
|
-
* "weixin": {
|
|
334
|
-
* "hostVer": "√",
|
|
335
|
-
* "uniVer": "√",
|
|
336
|
-
* "unixVer": "4.41"
|
|
337
|
-
* },
|
|
338
|
-
* "alipay": {
|
|
339
|
-
* "hostVer": "-",
|
|
340
|
-
* "uniVer": "-",
|
|
341
|
-
* "unixVer": "-"
|
|
342
|
-
* },
|
|
343
|
-
* "baidu": {
|
|
344
|
-
* "hostVer": "-",
|
|
345
|
-
* "uniVer": "-",
|
|
346
|
-
* "unixVer": "-"
|
|
347
|
-
* },
|
|
348
|
-
* "toutiao": {
|
|
349
|
-
* "hostVer": "-",
|
|
350
|
-
* "uniVer": "-",
|
|
351
|
-
* "unixVer": "-"
|
|
352
|
-
* },
|
|
353
|
-
* "lark": {
|
|
354
|
-
* "hostVer": "-",
|
|
355
|
-
* "uniVer": "-",
|
|
356
|
-
* "unixVer": "-"
|
|
357
|
-
* },
|
|
358
|
-
* "qq": {
|
|
359
|
-
* "hostVer": "-",
|
|
360
|
-
* "uniVer": "-",
|
|
361
|
-
* "unixVer": "-"
|
|
362
|
-
* },
|
|
363
|
-
* "kuaishou": {
|
|
364
|
-
* "hostVer": "-",
|
|
365
|
-
* "uniVer": "-",
|
|
366
|
-
* "unixVer": "-"
|
|
367
|
-
* },
|
|
368
|
-
* "jd": {
|
|
369
|
-
* "hostVer": "-",
|
|
370
|
-
* "uniVer": "-",
|
|
371
|
-
* "unixVer": "-"
|
|
372
|
-
* }
|
|
373
|
-
* }
|
|
374
|
-
* }
|
|
375
|
-
*/
|
|
376
|
-
query?: Record<string, string> | null;
|
|
377
401
|
/**
|
|
378
402
|
* 来源信息。从另一个小程序、公众号或 App 进入小程序时返回。否则返回 `{}`。(参见后文注意)
|
|
379
403
|
*
|