@dcloudio/uni-app-x 0.7.56 → 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 +4 -3
- 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
|
@@ -18,7 +18,7 @@ export interface Uni {
|
|
|
18
18
|
* "unixUtsPlugin": "4.61"
|
|
19
19
|
* },
|
|
20
20
|
* "harmony": {
|
|
21
|
-
* "osVer": "
|
|
21
|
+
* "osVer": "5.0.0",
|
|
22
22
|
* "uniVer": "4.31",
|
|
23
23
|
* "unixVer": "4.61"
|
|
24
24
|
* }
|
|
@@ -77,7 +77,7 @@ export interface Uni {
|
|
|
77
77
|
export type GetRecorderManager = () => RecorderManager;
|
|
78
78
|
export type RecorderManagerStartOptions = {
|
|
79
79
|
/**
|
|
80
|
-
* 指定录音的时长,单位 ms ,如果传入了合法的 duration ,在到达指定的 duration
|
|
80
|
+
* 指定录音的时长,单位 ms ,如果传入了合法的 duration ,在到达指定的 duration 后会自动停止录音,默认值 60000(1 分钟),微信小程序最大值 600000(10 分钟), App 平台没有最大值限制
|
|
81
81
|
* @uniPlatform
|
|
82
82
|
{
|
|
83
83
|
"app": {
|
|
@@ -96,7 +96,7 @@ export type RecorderManagerStartOptions = {
|
|
|
96
96
|
"unixUtsPlugin": "4.61"
|
|
97
97
|
},
|
|
98
98
|
"harmony": {
|
|
99
|
-
"osVer": "
|
|
99
|
+
"osVer": "5.0.0",
|
|
100
100
|
"uniVer": "4.31",
|
|
101
101
|
"unixVer": "4.61"
|
|
102
102
|
}
|
|
@@ -106,6 +106,7 @@ export type RecorderManagerStartOptions = {
|
|
|
106
106
|
duration ?: number | null,
|
|
107
107
|
/**
|
|
108
108
|
* 采样率,有效值 8000/16000/44100
|
|
109
|
+
* @defaultValue 8000
|
|
109
110
|
* @uniPlatform
|
|
110
111
|
{
|
|
111
112
|
"app": {
|
|
@@ -124,7 +125,7 @@ export type RecorderManagerStartOptions = {
|
|
|
124
125
|
"unixUtsPlugin": "4.61"
|
|
125
126
|
},
|
|
126
127
|
"harmony": {
|
|
127
|
-
"osVer": "
|
|
128
|
+
"osVer": "5.0.0",
|
|
128
129
|
"uniVer": "4.31",
|
|
129
130
|
"unixVer": "4.61"
|
|
130
131
|
}
|
|
@@ -134,6 +135,7 @@ export type RecorderManagerStartOptions = {
|
|
|
134
135
|
sampleRate ?: number | null,
|
|
135
136
|
/**
|
|
136
137
|
* 录音通道数,有效值 1/2
|
|
138
|
+
* @defaultValue 2
|
|
137
139
|
* @uniPlatform
|
|
138
140
|
{
|
|
139
141
|
"app": {
|
|
@@ -152,7 +154,7 @@ export type RecorderManagerStartOptions = {
|
|
|
152
154
|
"unixUtsPlugin": "4.61"
|
|
153
155
|
},
|
|
154
156
|
"harmony": {
|
|
155
|
-
"osVer": "
|
|
157
|
+
"osVer": "5.0.0",
|
|
156
158
|
"uniVer": "4.31",
|
|
157
159
|
"unixVer": "4.61"
|
|
158
160
|
}
|
|
@@ -162,6 +164,7 @@ export type RecorderManagerStartOptions = {
|
|
|
162
164
|
numberOfChannels ?: number | null,
|
|
163
165
|
/**
|
|
164
166
|
* 编码码率,有效值见下表格
|
|
167
|
+
* @defaultValue 48000
|
|
165
168
|
* @uniPlatform
|
|
166
169
|
{
|
|
167
170
|
"app": {
|
|
@@ -180,7 +183,7 @@ export type RecorderManagerStartOptions = {
|
|
|
180
183
|
"unixUtsPlugin": "4.61"
|
|
181
184
|
},
|
|
182
185
|
"harmony": {
|
|
183
|
-
"osVer": "
|
|
186
|
+
"osVer": "5.0.0",
|
|
184
187
|
"uniVer": "4.31",
|
|
185
188
|
"unixVer": "4.61"
|
|
186
189
|
}
|
|
@@ -189,7 +192,8 @@ export type RecorderManagerStartOptions = {
|
|
|
189
192
|
*/
|
|
190
193
|
encodeBitRate ?: number | null,
|
|
191
194
|
/**
|
|
192
|
-
*
|
|
195
|
+
* 音频格式
|
|
196
|
+
* @defaultValue aac
|
|
193
197
|
* @uniPlatform
|
|
194
198
|
{
|
|
195
199
|
"app": {
|
|
@@ -208,7 +212,7 @@ export type RecorderManagerStartOptions = {
|
|
|
208
212
|
"unixUtsPlugin": "4.61"
|
|
209
213
|
},
|
|
210
214
|
"harmony": {
|
|
211
|
-
"osVer": "
|
|
215
|
+
"osVer": "5.0.0",
|
|
212
216
|
"uniVer": "4.31",
|
|
213
217
|
"unixVer": "4.61"
|
|
214
218
|
}
|
|
@@ -236,10 +240,21 @@ export type RecorderManagerStartOptions = {
|
|
|
236
240
|
"unixUtsPlugin": "4.61"
|
|
237
241
|
},
|
|
238
242
|
"harmony": {
|
|
239
|
-
"osVer": "
|
|
243
|
+
"osVer": "5.0.0",
|
|
240
244
|
"uniVer": "4.31",
|
|
241
245
|
"unixVer": "4.61"
|
|
242
246
|
}
|
|
247
|
+
},
|
|
248
|
+
"mp": {
|
|
249
|
+
"weixin": {
|
|
250
|
+
"hostVer": "√",
|
|
251
|
+
"uniVer": "√",
|
|
252
|
+
"unixVer": "4.41"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"web": {
|
|
256
|
+
"uniVer": "x",
|
|
257
|
+
"unixVer": "x"
|
|
243
258
|
}
|
|
244
259
|
}
|
|
245
260
|
*/
|
|
@@ -264,10 +279,21 @@ export type RecorderManagerStartOptions = {
|
|
|
264
279
|
"unixUtsPlugin": "x"
|
|
265
280
|
},
|
|
266
281
|
"harmony": {
|
|
267
|
-
"osVer": "
|
|
268
|
-
"uniVer": "
|
|
269
|
-
"unixVer": "
|
|
282
|
+
"osVer": "5.0.0",
|
|
283
|
+
"uniVer": "4.61",
|
|
284
|
+
"unixVer": "4.61"
|
|
270
285
|
}
|
|
286
|
+
},
|
|
287
|
+
"mp": {
|
|
288
|
+
"weixin": {
|
|
289
|
+
"hostVer": "√",
|
|
290
|
+
"uniVer": "√",
|
|
291
|
+
"unixVer": "4.41"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"web": {
|
|
295
|
+
"uniVer": "x",
|
|
296
|
+
"unixVer": "x"
|
|
271
297
|
}
|
|
272
298
|
}
|
|
273
299
|
*/
|
|
@@ -296,6 +322,17 @@ export type RecorderManagerStartOptions = {
|
|
|
296
322
|
"uniVer": "x",
|
|
297
323
|
"unixVer": "x"
|
|
298
324
|
}
|
|
325
|
+
},
|
|
326
|
+
"mp": {
|
|
327
|
+
"weixin": {
|
|
328
|
+
"hostVer": "√",
|
|
329
|
+
"uniVer": "√",
|
|
330
|
+
"unixVer": "4.41"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"web": {
|
|
334
|
+
"uniVer": "x",
|
|
335
|
+
"unixVer": "x"
|
|
299
336
|
}
|
|
300
337
|
}
|
|
301
338
|
*/
|
|
@@ -320,14 +357,60 @@ export type RecorderManagerStartOptions = {
|
|
|
320
357
|
"unixUtsPlugin": "4.61"
|
|
321
358
|
},
|
|
322
359
|
"harmony": {
|
|
360
|
+
"osVer": "5.0.0",
|
|
361
|
+
"uniVer": "4.61",
|
|
362
|
+
"unixVer": "4.61"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"mp": {
|
|
366
|
+
"weixin": {
|
|
367
|
+
"hostVer": "√",
|
|
368
|
+
"uniVer": "√",
|
|
369
|
+
"unixVer": "4.41"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"web": {
|
|
373
|
+
"uniVer": "x",
|
|
374
|
+
"unixVer": "x"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
*/
|
|
378
|
+
'wav' |
|
|
379
|
+
/**
|
|
380
|
+
* m4a格式
|
|
381
|
+
* @uniPlatform
|
|
382
|
+
{
|
|
383
|
+
"app": {
|
|
384
|
+
"android": {
|
|
323
385
|
"osVer": "x",
|
|
324
|
-
|
|
386
|
+
"uniVer": "x",
|
|
387
|
+
"unixVer": "x"
|
|
388
|
+
},
|
|
389
|
+
"ios": {
|
|
390
|
+
"osVer": "x",
|
|
391
|
+
"uniVer": "x",
|
|
325
392
|
"unixVer": "x"
|
|
393
|
+
},
|
|
394
|
+
"harmony": {
|
|
395
|
+
"osVer": "5.0.0",
|
|
396
|
+
"uniVer": "4.61",
|
|
397
|
+
"unixVer": "4.61"
|
|
326
398
|
}
|
|
399
|
+
},
|
|
400
|
+
"mp": {
|
|
401
|
+
"weixin": {
|
|
402
|
+
"hostVer": "x",
|
|
403
|
+
"uniVer": "x",
|
|
404
|
+
"unixVer": "x"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"web": {
|
|
408
|
+
"uniVer": "x",
|
|
409
|
+
"unixVer": "x"
|
|
327
410
|
}
|
|
328
411
|
}
|
|
329
412
|
*/
|
|
330
|
-
'
|
|
413
|
+
'm4a' | null,
|
|
331
414
|
/**
|
|
332
415
|
* 指定帧大小,单位 KB。传入 frameSize 后,每录制指定帧大小的内容后,会回调录制的文件内容,不指定则不会回调。暂仅支持 mp3 格式。
|
|
333
416
|
* @uniPlatform
|
|
@@ -352,6 +435,17 @@ export type RecorderManagerStartOptions = {
|
|
|
352
435
|
"uniVer": "x",
|
|
353
436
|
"unixVer": "x"
|
|
354
437
|
}
|
|
438
|
+
},
|
|
439
|
+
"mp": {
|
|
440
|
+
"weixin": {
|
|
441
|
+
"hostVer": "√",
|
|
442
|
+
"uniVer": "√",
|
|
443
|
+
"unixVer": "4.41"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"web": {
|
|
447
|
+
"uniVer": "x",
|
|
448
|
+
"unixVer": "x"
|
|
355
449
|
}
|
|
356
450
|
}
|
|
357
451
|
*/
|
|
@@ -408,7 +502,7 @@ export interface RecorderManager {
|
|
|
408
502
|
* "unixVer": "4.61"
|
|
409
503
|
* },
|
|
410
504
|
* "harmony": {
|
|
411
|
-
* "osVer": "
|
|
505
|
+
* "osVer": "5.0.0",
|
|
412
506
|
* "uniVer": "4.31",
|
|
413
507
|
* "unixVer": "4.61"
|
|
414
508
|
* }
|
|
@@ -416,7 +510,7 @@ export interface RecorderManager {
|
|
|
416
510
|
* "web": {
|
|
417
511
|
* "uniVer": "√",
|
|
418
512
|
* "unixVer": "x"
|
|
419
|
-
* }
|
|
513
|
+
* },
|
|
420
514
|
* "mp":{
|
|
421
515
|
* "weixin": {
|
|
422
516
|
* "hostVer": "√",
|
|
@@ -480,7 +574,7 @@ export interface RecorderManager {
|
|
|
480
574
|
* "unixVer": "4.61"
|
|
481
575
|
* },
|
|
482
576
|
* "harmony": {
|
|
483
|
-
* "osVer": "
|
|
577
|
+
* "osVer": "5.0.0",
|
|
484
578
|
* "uniVer": "4.31",
|
|
485
579
|
* "unixVer": "4.61"
|
|
486
580
|
* }
|
|
@@ -488,7 +582,7 @@ export interface RecorderManager {
|
|
|
488
582
|
* "web": {
|
|
489
583
|
* "uniVer": "√",
|
|
490
584
|
* "unixVer": "x"
|
|
491
|
-
* }
|
|
585
|
+
* },
|
|
492
586
|
* "mp":{
|
|
493
587
|
* "weixin": {
|
|
494
588
|
* "hostVer": "√",
|
|
@@ -552,7 +646,7 @@ export interface RecorderManager {
|
|
|
552
646
|
* "unixVer": "4.61"
|
|
553
647
|
* },
|
|
554
648
|
* "harmony": {
|
|
555
|
-
* "osVer": "
|
|
649
|
+
* "osVer": "5.0.0",
|
|
556
650
|
* "uniVer": "4.31",
|
|
557
651
|
* "unixVer": "4.61"
|
|
558
652
|
* }
|
|
@@ -560,7 +654,7 @@ export interface RecorderManager {
|
|
|
560
654
|
* "web": {
|
|
561
655
|
* "uniVer": "√",
|
|
562
656
|
* "unixVer": "x"
|
|
563
|
-
* }
|
|
657
|
+
* },
|
|
564
658
|
* "mp":{
|
|
565
659
|
* "weixin": {
|
|
566
660
|
* "hostVer": "√",
|
|
@@ -624,7 +718,7 @@ export interface RecorderManager {
|
|
|
624
718
|
* "unixVer": "4.61"
|
|
625
719
|
* },
|
|
626
720
|
* "harmony": {
|
|
627
|
-
* "osVer": "
|
|
721
|
+
* "osVer": "5.0.0",
|
|
628
722
|
* "uniVer": "4.31",
|
|
629
723
|
* "unixVer": "4.61"
|
|
630
724
|
* }
|
|
@@ -632,7 +726,7 @@ export interface RecorderManager {
|
|
|
632
726
|
* "web": {
|
|
633
727
|
* "uniVer": "√",
|
|
634
728
|
* "unixVer": "x"
|
|
635
|
-
* }
|
|
729
|
+
* },
|
|
636
730
|
* "mp":{
|
|
637
731
|
* "weixin": {
|
|
638
732
|
* "hostVer": "√",
|
|
@@ -696,7 +790,7 @@ export interface RecorderManager {
|
|
|
696
790
|
* "unixVer": "4.61"
|
|
697
791
|
* },
|
|
698
792
|
* "harmony": {
|
|
699
|
-
* "osVer": "
|
|
793
|
+
* "osVer": "5.0.0",
|
|
700
794
|
* "uniVer": "4.31",
|
|
701
795
|
* "unixVer": "4.61"
|
|
702
796
|
* }
|
|
@@ -704,7 +798,7 @@ export interface RecorderManager {
|
|
|
704
798
|
* "web": {
|
|
705
799
|
* "uniVer": "√",
|
|
706
800
|
* "unixVer": "x"
|
|
707
|
-
* }
|
|
801
|
+
* },
|
|
708
802
|
* "mp":{
|
|
709
803
|
* "weixin": {
|
|
710
804
|
* "hostVer": "√",
|
|
@@ -768,7 +862,7 @@ export interface RecorderManager {
|
|
|
768
862
|
* "unixVer": "4.61"
|
|
769
863
|
* },
|
|
770
864
|
* "harmony": {
|
|
771
|
-
* "osVer": "
|
|
865
|
+
* "osVer": "5.0.0",
|
|
772
866
|
* "uniVer": "4.31",
|
|
773
867
|
* "unixVer": "4.61"
|
|
774
868
|
* }
|
|
@@ -776,7 +870,7 @@ export interface RecorderManager {
|
|
|
776
870
|
* "web": {
|
|
777
871
|
* "uniVer": "√",
|
|
778
872
|
* "unixVer": "x"
|
|
779
|
-
* }
|
|
873
|
+
* },
|
|
780
874
|
* "mp":{
|
|
781
875
|
* "weixin": {
|
|
782
876
|
* "hostVer": "√",
|
|
@@ -840,7 +934,7 @@ export interface RecorderManager {
|
|
|
840
934
|
* "unixVer": "4.61"
|
|
841
935
|
* },
|
|
842
936
|
* "harmony": {
|
|
843
|
-
* "osVer": "
|
|
937
|
+
* "osVer": "5.0.0",
|
|
844
938
|
* "uniVer": "4.31",
|
|
845
939
|
* "unixVer": "4.61"
|
|
846
940
|
* }
|
|
@@ -848,7 +942,7 @@ export interface RecorderManager {
|
|
|
848
942
|
* "web": {
|
|
849
943
|
* "uniVer": "√",
|
|
850
944
|
* "unixVer": "x"
|
|
851
|
-
* }
|
|
945
|
+
* },
|
|
852
946
|
* "mp":{
|
|
853
947
|
* "weixin": {
|
|
854
948
|
* "hostVer": "√",
|
|
@@ -912,7 +1006,7 @@ export interface RecorderManager {
|
|
|
912
1006
|
* "unixVer": "x"
|
|
913
1007
|
* },
|
|
914
1008
|
* "harmony": {
|
|
915
|
-
* "osVer": "
|
|
1009
|
+
* "osVer": "5.0.0",
|
|
916
1010
|
* "uniVer": "x",
|
|
917
1011
|
* "unixVer": "x"
|
|
918
1012
|
* }
|
|
@@ -920,7 +1014,7 @@ export interface RecorderManager {
|
|
|
920
1014
|
* "web": {
|
|
921
1015
|
* "uniVer": "√",
|
|
922
1016
|
* "unixVer": "x"
|
|
923
|
-
* }
|
|
1017
|
+
* },
|
|
924
1018
|
* "mp":{
|
|
925
1019
|
* "weixin": {
|
|
926
1020
|
* "hostVer": "√",
|
|
@@ -984,7 +1078,7 @@ export interface RecorderManager {
|
|
|
984
1078
|
* "unixVer": "4.61"
|
|
985
1079
|
* },
|
|
986
1080
|
* "harmony": {
|
|
987
|
-
* "osVer": "
|
|
1081
|
+
* "osVer": "5.0.0",
|
|
988
1082
|
* "uniVer": "4.31",
|
|
989
1083
|
* "unixVer": "4.61"
|
|
990
1084
|
* }
|
|
@@ -992,7 +1086,7 @@ export interface RecorderManager {
|
|
|
992
1086
|
* "web": {
|
|
993
1087
|
* "uniVer": "√",
|
|
994
1088
|
* "unixVer": "x"
|
|
995
|
-
* }
|
|
1089
|
+
* },
|
|
996
1090
|
* "mp":{
|
|
997
1091
|
* "weixin": {
|
|
998
1092
|
* "hostVer": "√",
|
|
@@ -1057,7 +1151,7 @@ export interface RecorderManager {
|
|
|
1057
1151
|
* "unixVer": "4.61"
|
|
1058
1152
|
* },
|
|
1059
1153
|
* "harmony": {
|
|
1060
|
-
* "osVer": "
|
|
1154
|
+
* "osVer": "5.0.0",
|
|
1061
1155
|
* "uniVer": "4.31",
|
|
1062
1156
|
* "unixVer": "4.61"
|
|
1063
1157
|
* }
|
|
@@ -1065,7 +1159,7 @@ export interface RecorderManager {
|
|
|
1065
1159
|
* "web": {
|
|
1066
1160
|
* "uniVer": "x",
|
|
1067
1161
|
* "unixVer": "x"
|
|
1068
|
-
* }
|
|
1162
|
+
* },
|
|
1069
1163
|
* "mp":{
|
|
1070
1164
|
* "weixin": {
|
|
1071
1165
|
* "hostVer": "√",
|
|
@@ -1130,7 +1224,7 @@ export interface RecorderManager {
|
|
|
1130
1224
|
* "unixVer": "4.61"
|
|
1131
1225
|
* },
|
|
1132
1226
|
* "harmony": {
|
|
1133
|
-
* "osVer": "
|
|
1227
|
+
* "osVer": "5.0.0",
|
|
1134
1228
|
* "uniVer": "4.31",
|
|
1135
1229
|
* "unixVer": "4.61"
|
|
1136
1230
|
* }
|
|
@@ -1138,7 +1232,7 @@ export interface RecorderManager {
|
|
|
1138
1232
|
* "web": {
|
|
1139
1233
|
* "uniVer": "x",
|
|
1140
1234
|
* "unixVer": "x"
|
|
1141
|
-
* }
|
|
1235
|
+
* },
|
|
1142
1236
|
* "mp":{
|
|
1143
1237
|
* "weixin": {
|
|
1144
1238
|
* "hostVer": "√",
|
|
@@ -1203,7 +1297,7 @@ export interface RecorderManager {
|
|
|
1203
1297
|
* "unixVer": "4.61"
|
|
1204
1298
|
* },
|
|
1205
1299
|
* "harmony": {
|
|
1206
|
-
* "osVer": "
|
|
1300
|
+
* "osVer": "5.0.0",
|
|
1207
1301
|
* "uniVer": "4.31",
|
|
1208
1302
|
* "unixVer": "4.61"
|
|
1209
1303
|
* }
|
|
@@ -1211,7 +1305,7 @@ export interface RecorderManager {
|
|
|
1211
1305
|
* "web": {
|
|
1212
1306
|
* "uniVer": "x",
|
|
1213
1307
|
* "unixVer": "x"
|
|
1214
|
-
* }
|
|
1308
|
+
* },
|
|
1215
1309
|
* "mp":{
|
|
1216
1310
|
* "weixin": {
|
|
1217
1311
|
* "hostVer": "√",
|
|
@@ -21,6 +21,48 @@ export interface Uni {
|
|
|
21
21
|
* "unixVer": "x"
|
|
22
22
|
* }
|
|
23
23
|
* },
|
|
24
|
+
* * "mp": {
|
|
25
|
+
* "weixin": {
|
|
26
|
+
* "hostVer": "x",
|
|
27
|
+
* "uniVer": "x",
|
|
28
|
+
* "unixVer": "x"
|
|
29
|
+
* },
|
|
30
|
+
* "alipay": {
|
|
31
|
+
* "hostVer": "x",
|
|
32
|
+
* "uniVer": "x",
|
|
33
|
+
* "unixVer": "x"
|
|
34
|
+
* },
|
|
35
|
+
* "baidu": {
|
|
36
|
+
* "hostVer": "x",
|
|
37
|
+
* "uniVer": "x",
|
|
38
|
+
* "unixVer": "x"
|
|
39
|
+
* },
|
|
40
|
+
* "toutiao": {
|
|
41
|
+
* "hostVer": "x",
|
|
42
|
+
* "uniVer": "x",
|
|
43
|
+
* "unixVer": "x"
|
|
44
|
+
* },
|
|
45
|
+
* "lark": {
|
|
46
|
+
* "hostVer": "x",
|
|
47
|
+
* "uniVer": "x",
|
|
48
|
+
* "unixVer": "x"
|
|
49
|
+
* },
|
|
50
|
+
* "qq": {
|
|
51
|
+
* "hostVer": "x",
|
|
52
|
+
* "uniVer": "x",
|
|
53
|
+
* "unixVer": "x"
|
|
54
|
+
* },
|
|
55
|
+
* "kuaishou": {
|
|
56
|
+
* "hostVer": "x",
|
|
57
|
+
* "uniVer": "x",
|
|
58
|
+
* "unixVer": "x"
|
|
59
|
+
* },
|
|
60
|
+
* "jd": {
|
|
61
|
+
* "hostVer": "x",
|
|
62
|
+
* "uniVer": "x",
|
|
63
|
+
* "unixVer": "x"
|
|
64
|
+
* }
|
|
65
|
+
* },
|
|
24
66
|
* "web": {
|
|
25
67
|
* "uniVer": "x",
|
|
26
68
|
* "unixVer": "x"
|
|
@@ -62,7 +104,7 @@ export type InstallApkCompleteCallback = (res : InstallApkComplete) => void
|
|
|
62
104
|
|
|
63
105
|
export type InstallApkOptions = {
|
|
64
106
|
/**
|
|
65
|
-
* apk
|
|
107
|
+
* apk文件地址(仅支持本地文件路径)
|
|
66
108
|
*/
|
|
67
109
|
filePath : string,
|
|
68
110
|
/**
|
|
@@ -6,7 +6,18 @@ import {
|
|
|
6
6
|
HideKeyboardFailCallback as HideKeyboardFailCallbackOrigin,
|
|
7
7
|
HideKeyboardCompleteCallback as HideKeyboardCompleteCallbackOrigin,
|
|
8
8
|
HideKeyboardOptions as HideKeyboardOptionsOrigin,
|
|
9
|
+
OnKeyboardHeightChangeCallback as OnKeyboardHeightChangeCallbackOrigin,
|
|
10
|
+
OnKeyboardHeightChangeCallbackResult as OnKeyboardHeightChangeCallbackResultOrigin,
|
|
11
|
+
GetSelectedTextRangeOptions as GetSelectedTextRangeOptionsOrigin,
|
|
12
|
+
GetSelectedTextRangeSuccessCallback as GetSelectedTextRangeSuccessCallbackOrigin,
|
|
13
|
+
GetSelectedTextRangeFailCallback as GetSelectedTextRangeFailCallbackOrigin,
|
|
14
|
+
GetSelectedTextRangeCompleteCallback as GetSelectedTextRangeCompleteCallbackOrigin,
|
|
15
|
+
GetSelectedTextRangeSuccess as GetSelectedTextRangeSuccessOrigin,
|
|
16
|
+
GetSelectedTextRangeFail as GetSelectedTextRangeFailOrigin,
|
|
9
17
|
HideKeyboard as HideKeyboardOrigin,
|
|
18
|
+
OnKeyboardHeightChange as OnKeyboardHeightChangeOrigin,
|
|
19
|
+
OffKeyboardHeightChange as OffKeyboardHeightChangeOrigin,
|
|
20
|
+
GetSelectedTextRange as GetSelectedTextRangeOrigin,
|
|
10
21
|
Uni as UniOrigin
|
|
11
22
|
} from './interface'
|
|
12
23
|
|
|
@@ -17,6 +28,17 @@ declare global {
|
|
|
17
28
|
type HideKeyboardFailCallback = HideKeyboardFailCallbackOrigin
|
|
18
29
|
type HideKeyboardCompleteCallback = HideKeyboardCompleteCallbackOrigin
|
|
19
30
|
type HideKeyboardOptions = HideKeyboardOptionsOrigin
|
|
31
|
+
type OnKeyboardHeightChangeCallback = OnKeyboardHeightChangeCallbackOrigin
|
|
32
|
+
type OnKeyboardHeightChangeCallbackResult = OnKeyboardHeightChangeCallbackResultOrigin
|
|
33
|
+
type GetSelectedTextRangeOptions = GetSelectedTextRangeOptionsOrigin
|
|
34
|
+
type GetSelectedTextRangeSuccessCallback = GetSelectedTextRangeSuccessCallbackOrigin
|
|
35
|
+
type GetSelectedTextRangeFailCallback = GetSelectedTextRangeFailCallbackOrigin
|
|
36
|
+
type GetSelectedTextRangeCompleteCallback = GetSelectedTextRangeCompleteCallbackOrigin
|
|
37
|
+
type GetSelectedTextRangeSuccess = GetSelectedTextRangeSuccessOrigin
|
|
38
|
+
type GetSelectedTextRangeFail = GetSelectedTextRangeFailOrigin
|
|
20
39
|
type HideKeyboard = HideKeyboardOrigin
|
|
40
|
+
type OnKeyboardHeightChange = OnKeyboardHeightChangeOrigin
|
|
41
|
+
type OffKeyboardHeightChange = OffKeyboardHeightChangeOrigin
|
|
42
|
+
type GetSelectedTextRange = GetSelectedTextRangeOrigin
|
|
21
43
|
interface Uni extends UniOrigin { }
|
|
22
44
|
}
|
|
@@ -6,5 +6,16 @@ export {
|
|
|
6
6
|
HideKeyboardFailCallback,
|
|
7
7
|
HideKeyboardCompleteCallback,
|
|
8
8
|
HideKeyboardOptions,
|
|
9
|
+
OnKeyboardHeightChangeCallback,
|
|
10
|
+
OnKeyboardHeightChangeCallbackResult,
|
|
11
|
+
GetSelectedTextRangeOptions,
|
|
12
|
+
GetSelectedTextRangeSuccessCallback,
|
|
13
|
+
GetSelectedTextRangeFailCallback,
|
|
14
|
+
GetSelectedTextRangeCompleteCallback,
|
|
15
|
+
GetSelectedTextRangeSuccess,
|
|
16
|
+
GetSelectedTextRangeFail,
|
|
9
17
|
HideKeyboard,
|
|
18
|
+
OnKeyboardHeightChange,
|
|
19
|
+
OffKeyboardHeightChange,
|
|
20
|
+
GetSelectedTextRange,
|
|
10
21
|
} from './interface'
|