@dcloudio/uni-app-x 0.7.61 → 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 -882
- 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
|
@@ -901,7 +901,7 @@ export interface Uni {
|
|
|
901
901
|
/**
|
|
902
902
|
* 获取CanvasContext对象实例
|
|
903
903
|
*
|
|
904
|
-
* @
|
|
904
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/createCanvasContextAsync.html
|
|
905
905
|
* @uniPlatform {
|
|
906
906
|
* "app": {
|
|
907
907
|
* "android": {
|
|
@@ -112,7 +112,7 @@ export interface VideoContext {
|
|
|
112
112
|
* "harmony": {
|
|
113
113
|
* "osVer": "3.0",
|
|
114
114
|
* "uniVer": "4.23",
|
|
115
|
-
* "unixVer": "
|
|
115
|
+
* "unixVer": "4.61"
|
|
116
116
|
* }
|
|
117
117
|
* },
|
|
118
118
|
* "mp": {
|
|
@@ -182,7 +182,7 @@ export interface VideoContext {
|
|
|
182
182
|
* "harmony": {
|
|
183
183
|
* "osVer": "3.0",
|
|
184
184
|
* "uniVer": "4.23",
|
|
185
|
-
* "unixVer": "
|
|
185
|
+
* "unixVer": "4.61"
|
|
186
186
|
* }
|
|
187
187
|
* },
|
|
188
188
|
* "mp": {
|
|
@@ -253,7 +253,7 @@ export interface VideoContext {
|
|
|
253
253
|
* "harmony": {
|
|
254
254
|
* "osVer": "3.0",
|
|
255
255
|
* "uniVer": "4.23",
|
|
256
|
-
* "unixVer": "
|
|
256
|
+
* "unixVer": "4.61"
|
|
257
257
|
* }
|
|
258
258
|
* },
|
|
259
259
|
* "mp": {
|
|
@@ -323,7 +323,7 @@ export interface VideoContext {
|
|
|
323
323
|
* "harmony": {
|
|
324
324
|
* "osVer": "3.0",
|
|
325
325
|
* "uniVer": "4.23",
|
|
326
|
-
* "unixVer": "
|
|
326
|
+
* "unixVer": "4.61"
|
|
327
327
|
* }
|
|
328
328
|
* },
|
|
329
329
|
* "mp": {
|
|
@@ -394,7 +394,7 @@ export interface VideoContext {
|
|
|
394
394
|
* "harmony": {
|
|
395
395
|
* "osVer": "3.0",
|
|
396
396
|
* "uniVer": "4.23",
|
|
397
|
-
* "unixVer": "
|
|
397
|
+
* "unixVer": "4.61"
|
|
398
398
|
* }
|
|
399
399
|
* },
|
|
400
400
|
* "mp": {
|
|
@@ -465,7 +465,7 @@ export interface VideoContext {
|
|
|
465
465
|
* "harmony": {
|
|
466
466
|
* "osVer": "3.0",
|
|
467
467
|
* "uniVer": "4.23",
|
|
468
|
-
* "unixVer": "
|
|
468
|
+
* "unixVer": "4.61"
|
|
469
469
|
* }
|
|
470
470
|
* },
|
|
471
471
|
* "mp": {
|
|
@@ -536,7 +536,7 @@ export interface VideoContext {
|
|
|
536
536
|
* "harmony": {
|
|
537
537
|
* "osVer": "3.0",
|
|
538
538
|
* "uniVer": "4.23",
|
|
539
|
-
* "unixVer": "
|
|
539
|
+
* "unixVer": "4.61"
|
|
540
540
|
* }
|
|
541
541
|
* },
|
|
542
542
|
* "mp": {
|
|
@@ -607,7 +607,7 @@ export interface VideoContext {
|
|
|
607
607
|
* "harmony": {
|
|
608
608
|
* "osVer": "3.0",
|
|
609
609
|
* "uniVer": "4.23",
|
|
610
|
-
* "unixVer": "
|
|
610
|
+
* "unixVer": "4.61"
|
|
611
611
|
* }
|
|
612
612
|
* },
|
|
613
613
|
* "mp": {
|
|
@@ -733,8 +733,8 @@ export interface Uni {
|
|
|
733
733
|
* @uniVueVersion 2,3
|
|
734
734
|
* @return {VideoContext} video组件上下文对象
|
|
735
735
|
*
|
|
736
|
-
* @
|
|
737
|
-
* @
|
|
736
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/video-context.html#createvideocontext
|
|
737
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/create-video-context.html#createvideocontext
|
|
738
738
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/create-video-context.html#createvideocontext
|
|
739
739
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/video/VideoContext.html
|
|
740
740
|
*/
|
|
@@ -770,7 +770,7 @@ export interface UniVideoEvent {
|
|
|
770
770
|
/**
|
|
771
771
|
* 事件发生时的时间戳
|
|
772
772
|
*/
|
|
773
|
-
timeStamp: Long
|
|
773
|
+
readonly timeStamp: Long
|
|
774
774
|
// #endif
|
|
775
775
|
// #ifdef APP-HARMONY
|
|
776
776
|
/**
|
|
@@ -793,7 +793,7 @@ export interface UniVideoEvent {
|
|
|
793
793
|
* 播放进度变化时触发
|
|
794
794
|
*/
|
|
795
795
|
export interface UniVideoTimeUpdateEvent extends UniVideoEvent {
|
|
796
|
-
detail: UniVideoTimeUpdateEventDetail
|
|
796
|
+
readonly detail: UniVideoTimeUpdateEventDetail
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
export type UniVideoTimeUpdateEventDetail = {
|
|
@@ -812,7 +812,7 @@ export type UniVideoTimeUpdateEventDetail = {
|
|
|
812
812
|
* 当视频进入和退出全屏是触发
|
|
813
813
|
*/
|
|
814
814
|
export interface UniVideoFullScreenChangeEvent extends UniVideoEvent {
|
|
815
|
-
detail: UniVideoFullScreenChangeEventDetail
|
|
815
|
+
readonly detail: UniVideoFullScreenChangeEventDetail
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
export type UniVideoFullScreenDirection =
|
|
@@ -841,7 +841,7 @@ export type UniVideoFullScreenChangeEventDetail = {
|
|
|
841
841
|
* 视频播放出错时触发
|
|
842
842
|
*/
|
|
843
843
|
export interface UniVideoErrorEvent extends UniVideoEvent {
|
|
844
|
-
detail: VideoError
|
|
844
|
+
readonly detail: VideoError
|
|
845
845
|
}
|
|
846
846
|
|
|
847
847
|
/**
|
|
@@ -870,7 +870,7 @@ export interface VideoError extends IUniError {
|
|
|
870
870
|
* 加载进度变化时触发
|
|
871
871
|
*/
|
|
872
872
|
export interface UniVideoProgressEvent extends UniVideoEvent {
|
|
873
|
-
detail: UniVideoProgressEventDetail
|
|
873
|
+
readonly detail: UniVideoProgressEventDetail
|
|
874
874
|
}
|
|
875
875
|
|
|
876
876
|
export type UniVideoProgressEventDetail = {
|
|
@@ -885,7 +885,7 @@ export type UniVideoProgressEventDetail = {
|
|
|
885
885
|
* 视频播放全屏播放时点击事件
|
|
886
886
|
*/
|
|
887
887
|
export interface UniVideoFullScreenClickEvent extends UniVideoEvent {
|
|
888
|
-
detail: UniVideoFullScreenClickEventDetail
|
|
888
|
+
readonly detail: UniVideoFullScreenClickEventDetail
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
export type UniVideoFullScreenClickEventDetail = {
|
|
@@ -912,7 +912,7 @@ export type UniVideoFullScreenClickEventDetail = {
|
|
|
912
912
|
* 切换播放控件显示隐藏时触发
|
|
913
913
|
*/
|
|
914
914
|
export interface UniVideoControlsToggleEvent extends UniVideoEvent {
|
|
915
|
-
detail: UniVideoControlsToggleEventDetail
|
|
915
|
+
readonly detail: UniVideoControlsToggleEventDetail
|
|
916
916
|
}
|
|
917
917
|
|
|
918
918
|
export type UniVideoControlsToggleEventDetail = {
|
package/uts-plugin.d.ts
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
/// <reference path='./types/uni/base/index.d.ts' />
|
|
2
|
+
/// <reference path='./types/uni/env/index.d.ts' />
|
|
2
3
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts' />
|
|
3
4
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts' />
|
|
4
5
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts' />
|
|
5
6
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts' />
|
|
6
7
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts' />
|
|
8
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts' />
|
|
9
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts' />
|
|
10
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts' />
|
|
7
11
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts' />
|
|
8
12
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts' />
|
|
13
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts' />
|
|
14
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/global.d.ts' />
|
|
15
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts' />
|
|
9
16
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts' />
|
|
10
17
|
/// <reference path='./types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts' />
|
|
18
|
+
/// <reference path='./types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts' />
|
|
19
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts' />
|
|
20
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts' />
|
|
21
|
+
/// <reference path='./types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts' />
|
|
11
22
|
/// <reference path='./types/uni-cloud/index.d.ts' />
|
|
12
23
|
/// <reference path='./types/native-global/index.d.ts' />
|
|
13
24
|
|