@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.
- package/package.json +1 -1
- package/types/app.d.ts +6 -6
- package/types/native/CanvasRenderingContext2D.d.ts +6 -1
- package/types/native/IUniElement.d.ts +6 -4
- package/types/native/IUniNativeViewElement.d.ts +140 -11
- package/types/native/Path2D.d.ts +75 -21
- package/types/native/UniCustomElement.d.ts +24 -0
- package/types/native/UniFormControlElement.d.ts +1 -1
- package/types/native/UniPage.d.ts +77 -38
- package/types/native/global.d.ts +4 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/env/index.d.ts +65 -9
- package/types/uni/uni-camera.d.ts +12 -1
- package/types/uni/uts-plugin-api/global.d.ts +4 -4
- package/types/uni/uts-plugin-api/index.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +76 -4
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +43 -1
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +60 -8
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +76 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +132 -38
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +43 -1
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +505 -38
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -4
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +26 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1770 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/interface.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/interface.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1804 -1762
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +49 -5
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +41 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +0 -76
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +1349 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +51 -22
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +15 -0
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +379 -18
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +225 -174
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +2 -2
- package/types/uni-cloud/interface.d.ts +13 -13
- package/types/vue/PickerChangeEvent.d.ts +32 -0
- package/types/vue/PickerColumnChangeEvent.d.ts +33 -0
- package/types/vue/global.d.ts +40 -0
- 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.
|
|
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
|
+
}
|
|
@@ -41,15 +41,15 @@ export type ConnectEventSourceOptions = {
|
|
|
41
41
|
"osVer": "5.0",
|
|
42
42
|
"uniVer": "x",
|
|
43
43
|
"uniUtsPlugin": "x",
|
|
44
|
-
"unixVer": "4.
|
|
45
|
-
"unixUtsPlugin": "4.
|
|
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": "
|
|
52
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
90
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
126
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
159
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
192
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
224
|
-
"unixUtsPlugin": "
|
|
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
|
|
241
|
-
|
|
242
|
-
|
|
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": "
|
|
262
|
-
"unixUtsPlugin": "
|
|
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": "
|
|
294
|
-
"unixUtsPlugin": "
|
|
322
|
+
"unixVer": "4.63",
|
|
323
|
+
"unixUtsPlugin": "4.63"
|
|
295
324
|
},
|
|
296
325
|
"harmony": {
|
|
297
326
|
"osVer": "x",
|
|
@@ -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": {
|