@dcloudio/uni-app-x 0.7.55 → 0.7.57

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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +6 -6
  3. package/types/native/CanvasRenderingContext2D.d.ts +6 -1
  4. package/types/native/IUniElement.d.ts +6 -4
  5. package/types/native/IUniNativeViewElement.d.ts +140 -11
  6. package/types/native/Path2D.d.ts +75 -21
  7. package/types/native/UniCustomElement.d.ts +24 -0
  8. package/types/native/UniFormControlElement.d.ts +1 -1
  9. package/types/native/UniPage.d.ts +77 -38
  10. package/types/native/global.d.ts +4 -0
  11. package/types/native/index.d.ts +1 -0
  12. package/types/uni/env/index.d.ts +65 -9
  13. package/types/uni/uni-camera.d.ts +12 -1
  14. package/types/uni/uts-plugin-api/global.d.ts +4 -4
  15. package/types/uni/uts-plugin-api/index.d.ts +4 -4
  16. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1 -1
  17. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +2 -2
  18. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  19. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +76 -4
  20. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +43 -1
  21. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +60 -8
  22. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +76 -1
  23. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +2 -2
  24. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +2 -2
  25. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +132 -38
  26. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +43 -1
  27. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
  28. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +11 -0
  29. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +505 -38
  30. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -4
  31. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +26 -0
  32. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +12 -0
  33. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1770 -0
  34. package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/global.d.ts +10 -0
  35. package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/index.d.ts +5 -0
  36. package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/interface.d.ts +9 -0
  37. package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/global.d.ts +10 -0
  38. package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  39. package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/interface.d.ts +9 -0
  40. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1804 -1762
  41. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +49 -5
  42. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +41 -11
  43. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +0 -2
  44. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +0 -1
  45. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +0 -76
  46. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
  47. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +16 -0
  48. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +7 -0
  49. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +1349 -0
  50. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +20 -20
  51. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2 -2
  52. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +51 -22
  53. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1 -1
  54. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +15 -0
  55. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +379 -18
  56. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +4 -0
  57. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +2 -0
  58. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +225 -174
  59. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +5 -0
  60. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +2 -2
  61. package/types/uni-cloud/interface.d.ts +13 -13
  62. package/types/vue/PickerChangeEvent.d.ts +32 -0
  63. package/types/vue/PickerColumnChangeEvent.d.ts +33 -0
  64. package/types/vue/global.d.ts +40 -0
  65. package/types/vue/index.d.ts +2 -0
@@ -27,7 +27,7 @@ export interface Uni {
27
27
  * "weixin": {
28
28
  * "hostVer": "3.3.0",
29
29
  * "uniVer": "√",
30
- * "unixVer": "4.61"
30
+ * "unixVer": "4.41"
31
31
  * },
32
32
  * "alipay": {
33
33
  * "hostVer": "x",
@@ -134,8 +134,8 @@ export type RequestMerchantTransferOptions = {
134
134
  "unixVer": "x"
135
135
  },
136
136
  "jd": {
137
- "hostVer": "x",
138
- "uniVer": "x",
137
+ "hostVer": "x",
138
+ "uniVer": "x",
139
139
  "unixVer": "x"
140
140
  }
141
141
  }
@@ -203,8 +203,8 @@ export type RequestMerchantTransferOptions = {
203
203
  "unixVer": "x"
204
204
  },
205
205
  "jd": {
206
- "hostVer": "x",
207
- "uniVer": "x",
206
+ "hostVer": "x",
207
+ "uniVer": "x",
208
208
  "unixVer": "x"
209
209
  }
210
210
  }
@@ -272,8 +272,8 @@ export type RequestMerchantTransferOptions = {
272
272
  "unixVer": "x"
273
273
  },
274
274
  "jd": {
275
- "hostVer": "x",
276
- "uniVer": "x",
275
+ "hostVer": "x",
276
+ "uniVer": "x",
277
277
  "unixVer": "x"
278
278
  }
279
279
  }
@@ -341,8 +341,8 @@ export type RequestMerchantTransferOptions = {
341
341
  "unixVer": "x"
342
342
  },
343
343
  "jd": {
344
- "hostVer": "x",
345
- "uniVer": "x",
344
+ "hostVer": "x",
345
+ "uniVer": "x",
346
346
  "unixVer": "x"
347
347
  }
348
348
  }
@@ -410,8 +410,8 @@ export type RequestMerchantTransferOptions = {
410
410
  "unixVer": "x"
411
411
  },
412
412
  "jd": {
413
- "hostVer": "x",
414
- "uniVer": "x",
413
+ "hostVer": "x",
414
+ "uniVer": "x",
415
415
  "unixVer": "x"
416
416
  }
417
417
  }
@@ -479,8 +479,8 @@ export type RequestMerchantTransferOptions = {
479
479
  "unixVer": "x"
480
480
  },
481
481
  "jd": {
482
- "hostVer": "x",
483
- "uniVer": "x",
482
+ "hostVer": "x",
483
+ "uniVer": "x",
484
484
  "unixVer": "x"
485
485
  }
486
486
  }
@@ -548,8 +548,8 @@ export type RequestMerchantTransferOptions = {
548
548
  "unixVer": "x"
549
549
  },
550
550
  "jd": {
551
- "hostVer": "x",
552
- "uniVer": "x",
551
+ "hostVer": "x",
552
+ "uniVer": "x",
553
553
  "unixVer": "x"
554
554
  }
555
555
  }
@@ -617,8 +617,8 @@ export type RequestMerchantTransferOptions = {
617
617
  "unixVer": "x"
618
618
  },
619
619
  "jd": {
620
- "hostVer": "x",
621
- "uniVer": "x",
620
+ "hostVer": "x",
621
+ "uniVer": "x",
622
622
  "unixVer": "x"
623
623
  }
624
624
  }
@@ -686,8 +686,8 @@ export type RequestMerchantTransferOptions = {
686
686
  "unixVer": "x"
687
687
  },
688
688
  "jd": {
689
- "hostVer": "x",
690
- "uniVer": "x",
689
+ "hostVer": "x",
690
+ "uniVer": "x",
691
691
  "unixVer": "x"
692
692
  }
693
693
  }
@@ -800,4 +800,4 @@ export type RequestMerchantTransferSuccessCallback = (
800
800
  ) => void
801
801
  export type RequestMerchantTransferGeneralCallbackResult = {
802
802
  errMsg : string
803
- }
803
+ }
@@ -425,9 +425,9 @@ export type NavigateToOptions = {
425
425
  * "unixVer": "4.25"
426
426
  * },
427
427
  * "harmony": {
428
- * "osVer": "3.0",
428
+ * "osVer": "5.0.0",
429
429
  * "uniVer": "x",
430
- * "unixVer": "x"
430
+ * "unixVer": "4.61"
431
431
  * }
432
432
  * },
433
433
  * "web": {
@@ -41,15 +41,15 @@ export type ConnectEventSourceOptions = {
41
41
  "osVer": "5.0",
42
42
  "uniVer": "x",
43
43
  "uniUtsPlugin": "x",
44
- "unixVer": "4.51",
45
- "unixUtsPlugin": "4.54"
44
+ "unixVer": "4.61",
45
+ "unixUtsPlugin": "4.61"
46
46
  },
47
47
  "ios": {
48
48
  "osVer": "12.0",
49
49
  "uniVer": "x",
50
50
  "uniUtsPlugin": "x",
51
- "unixVer": "x",
52
- "unixUtsPlugin": "x"
51
+ "unixVer": "4.63",
52
+ "unixUtsPlugin": "4.63"
53
53
  },
54
54
  "harmony": {
55
55
  "osVer": "x",
@@ -86,8 +86,8 @@ export interface Uni {
86
86
  "osVer": "12.0",
87
87
  "uniVer": "x",
88
88
  "uniUtsPlugin": "x",
89
- "unixVer": "x",
90
- "unixUtsPlugin": "x"
89
+ "unixVer": "4.63",
90
+ "unixUtsPlugin": "4.63"
91
91
  },
92
92
  "harmony": {
93
93
  "osVer": "x",
@@ -122,8 +122,8 @@ export interface UniEventSource {
122
122
  "osVer": "12.0",
123
123
  "uniVer": "x",
124
124
  "uniUtsPlugin": "x",
125
- "unixVer": "x",
126
- "unixUtsPlugin": "x"
125
+ "unixVer": "4.63",
126
+ "unixUtsPlugin": "4.63"
127
127
  },
128
128
  "harmony": {
129
129
  "osVer": "x",
@@ -155,8 +155,8 @@ export interface UniEventSource {
155
155
  "osVer": "12.0",
156
156
  "uniVer": "x",
157
157
  "uniUtsPlugin": "x",
158
- "unixVer": "x",
159
- "unixUtsPlugin": "x"
158
+ "unixVer": "4.63",
159
+ "unixUtsPlugin": "4.63"
160
160
  },
161
161
  "harmony": {
162
162
  "osVer": "x",
@@ -188,8 +188,8 @@ export interface UniEventSource {
188
188
  "osVer": "12.0",
189
189
  "uniVer": "x",
190
190
  "uniUtsPlugin": "x",
191
- "unixVer": "x",
192
- "unixUtsPlugin": "x"
191
+ "unixVer": "4.63",
192
+ "unixUtsPlugin": "4.63"
193
193
  },
194
194
  "harmony": {
195
195
  "osVer": "x",
@@ -220,8 +220,8 @@ export interface UniEventSource {
220
220
  "osVer": "12.0",
221
221
  "uniVer": "x",
222
222
  "uniUtsPlugin": "x",
223
- "unixVer": "x",
224
- "unixUtsPlugin": "x"
223
+ "unixVer": "4.63",
224
+ "unixUtsPlugin": "4.63"
225
225
  },
226
226
  "harmony": {
227
227
  "osVer": "x",
@@ -237,10 +237,39 @@ export interface UniEventSource {
237
237
  */
238
238
  close() : void
239
239
  }
240
- export class UniMessageEvent extends UniEvent {
241
- constructor(type : string) {
242
- super(type)
243
- }
240
+ export class UniMessageEvent {
241
+ /**
242
+ * 事件类型。
243
+ * @uniPlatform
244
+ {
245
+ "app": {
246
+ "android": {
247
+ "osVer": "5.0",
248
+ "uniVer": "x",
249
+ "uniUtsPlugin": "x",
250
+ "unixVer": "4.51",
251
+ "unixUtsPlugin": "4.51"
252
+ },
253
+ "ios": {
254
+ "osVer": "12.0",
255
+ "uniVer": "x",
256
+ "uniUtsPlugin": "x",
257
+ "unixVer": "4.63",
258
+ "unixUtsPlugin": "4.63"
259
+ },
260
+ "harmony": {
261
+ "osVer": "x",
262
+ "uniVer": "x",
263
+ "unixVer": "x"
264
+ }
265
+ },
266
+ "web": {
267
+ "uniVer": "x",
268
+ "unixVer": "x"
269
+ }
270
+ }
271
+ */
272
+ type : string | null = null;
244
273
  /**
245
274
  * 消息发射器发出的数据。
246
275
  * @param {ConnectEventSourceOptions} options
@@ -258,8 +287,8 @@ export class UniMessageEvent extends UniEvent {
258
287
  "osVer": "12.0",
259
288
  "uniVer": "x",
260
289
  "uniUtsPlugin": "x",
261
- "unixVer": "x",
262
- "unixUtsPlugin": "x"
290
+ "unixVer": "4.63",
291
+ "unixUtsPlugin": "4.63"
263
292
  },
264
293
  "harmony": {
265
294
  "osVer": "x",
@@ -290,8 +319,8 @@ export class UniMessageEvent extends UniEvent {
290
319
  "osVer": "12.0",
291
320
  "uniVer": "x",
292
321
  "uniUtsPlugin": "x",
293
- "unixVer": "x",
294
- "unixUtsPlugin": "x"
322
+ "unixVer": "4.63",
323
+ "unixUtsPlugin": "4.63"
295
324
  },
296
325
  "harmony": {
297
326
  "osVer": "x",
@@ -2702,7 +2702,7 @@ export interface Uni {
2702
2702
  * "harmony": {
2703
2703
  * "osVer": "3.0",
2704
2704
  * "uniVer": "4.23",
2705
- * "unixVer": "4.61"
2705
+ * "unixVer": "x"
2706
2706
  * }
2707
2707
  * },
2708
2708
  * "mp": {
@@ -183,6 +183,11 @@ export interface Uni {
183
183
  "uniUtsPlugin": "x",
184
184
  "unixVer": "4.18",
185
185
  "unixUtsPlugin": "4.18"
186
+ },
187
+ "harmony": {
188
+ "osVer": "x",
189
+ "uniVer": "x",
190
+ "unixVer": "x"
186
191
  }
187
192
  },
188
193
  "mp": {
@@ -270,6 +275,11 @@ export interface Uni {
270
275
  "uniUtsPlugin": "x",
271
276
  "unixVer": "4.18",
272
277
  "unixUtsPlugin": "4.18"
278
+ },
279
+ "harmony": {
280
+ "osVer": "x",
281
+ "uniVer": "x",
282
+ "unixVer": "x"
273
283
  }
274
284
  },
275
285
  "mp": {
@@ -348,6 +358,11 @@ export interface Uni {
348
358
  "uniUtsPlugin": "x",
349
359
  "unixVer": "4.18",
350
360
  "unixUtsPlugin": "4.18"
361
+ },
362
+ "harmony": {
363
+ "osVer": "x",
364
+ "uniVer": "x",
365
+ "unixVer": "x"
351
366
  }
352
367
  },
353
368
  "web": {