@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.
Files changed (80) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +36 -1
  3. package/types/dom2/UniCSSProperty.d.ts +446 -0
  4. package/types/dom2/UniCSSType.d.ts +72 -0
  5. package/types/dom2/UniCommon.d.ts +40 -0
  6. package/types/dom2/UniCustomViewElement.d.ts +12 -0
  7. package/types/dom2/UniElement.d.ts +354 -0
  8. package/types/dom2/UniElementType.d.ts +37 -0
  9. package/types/dom2/UniImageElement.d.ts +102 -0
  10. package/types/dom2/UniNativeBaseView.d.ts +178 -0
  11. package/types/dom2/UniNativeCustomView.d.ts +13 -0
  12. package/types/dom2/UniNativeDefines.d.ts +435 -0
  13. package/types/dom2/UniNativeImageView.d.ts +34 -0
  14. package/types/dom2/UniNativeScrollView.d.ts +42 -0
  15. package/types/dom2/UniNativeTextView.d.ts +25 -0
  16. package/types/dom2/UniNativeView.d.ts +51 -0
  17. package/types/dom2/UniNativeViewType.d.ts +22 -0
  18. package/types/dom2/UniPage.d.ts +55 -0
  19. package/types/dom2/UniScrollViewElement.d.ts +13 -0
  20. package/types/dom2/UniTextElement.d.ts +20 -0
  21. package/types/dom2/UniTextLayout.d.ts +386 -0
  22. package/types/dom2/UniViewElement.d.ts +57 -0
  23. package/types/dom2/global.d.ts +189 -0
  24. package/types/dom2/index.d.ts +40 -0
  25. package/types/dom2/sharedData.d.ts +227 -0
  26. package/types/index.d.ts +2 -1
  27. package/types/native/DOMRect.d.ts +2 -1
  28. package/types/native/DrawableContext.d.ts +1665 -1661
  29. package/types/native/IUniElement.d.ts +3514 -2877
  30. package/types/native/SnapshotOptions.d.ts +2 -2
  31. package/types/native/UniAnimation.d.ts +11 -10
  32. package/types/native/UniEvent.d.ts +108 -3
  33. package/types/native/UniPage.d.ts +891 -887
  34. package/types/native/UniTextElement.d.ts +37 -0
  35. package/types/native/UniTextLayout.d.ts +387 -0
  36. package/types/native/UniVideoElement.d.ts +20 -17
  37. package/types/native/Worker.d.ts +19 -0
  38. package/types/native/global.d.ts +28 -68
  39. package/types/native/index.d.ts +18 -1
  40. package/types/page.d.ts +1862 -599
  41. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  42. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  43. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +1 -1
  44. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  45. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -1
  46. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts +22 -0
  47. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/index.d.ts +10 -0
  48. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +524 -0
  49. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +985 -76
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +79 -55
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +77 -53
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +458 -407
  53. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +420 -0
  54. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +80 -80
  55. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -4
  56. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -2
  57. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +713 -91
  58. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4 -0
  59. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +3 -3
  60. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +3 -1
  61. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -1
  62. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +1 -1
  63. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +56 -0
  64. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +27 -0
  65. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +842 -0
  66. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +11 -11
  67. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -1
  68. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +63 -42
  69. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +2 -2
  70. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
  71. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +4 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +2 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +1007 -314
  74. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +4 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +2 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +1727 -10
  77. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +235 -30
  78. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +1 -1
  79. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +17 -17
  80. 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": "x",
11
+ * "uniVer": "",
12
12
  * "unixVer": "4.25"
13
13
  * },
14
14
  * "ios": {
15
15
  * "osVer": "12.0",
16
- * "uniVer": "x",
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.76",
94
- * "unixVer": "4.76"
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.76",
166
- * "unixVer": "4.76"
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.76",
96
- * "unixVer": "4.76"
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.76",
169
- * "unixVer": "4.76"
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
  *