@dcloudio/uni-app-x 0.7.62 → 0.7.64
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/UniElement.d.ts +1 -1
- package/types/native/UniEvent.d.ts +108 -3
- package/types/native/UniPage.d.ts +891 -887
- 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
|
@@ -20,7 +20,7 @@ export interface Uni {
|
|
|
20
20
|
* "harmony": {
|
|
21
21
|
* "osVer": "5.0.0",
|
|
22
22
|
* "uniVer": "√",
|
|
23
|
-
* "unixVer": "4.
|
|
23
|
+
* "unixVer": "4.81"
|
|
24
24
|
* }
|
|
25
25
|
* },
|
|
26
26
|
* "web": {
|
|
@@ -57,7 +57,7 @@ export type ShareErrorCode =
|
|
|
57
57
|
* "harmony": {
|
|
58
58
|
* "osVer": "5.0.0",
|
|
59
59
|
* "uniVer": "4.76",
|
|
60
|
-
* "unixVer": "4.
|
|
60
|
+
* "unixVer": "4.81"
|
|
61
61
|
* }
|
|
62
62
|
* },
|
|
63
63
|
* "web": {
|
|
@@ -84,7 +84,7 @@ export type ShareErrorCode =
|
|
|
84
84
|
* "harmony": {
|
|
85
85
|
* "osVer": "5.0.0",
|
|
86
86
|
* "uniVer": "4.76",
|
|
87
|
-
* "unixVer": "4.
|
|
87
|
+
* "unixVer": "4.81"
|
|
88
88
|
* }
|
|
89
89
|
* },
|
|
90
90
|
* "web": {
|
|
@@ -111,7 +111,7 @@ export type ShareErrorCode =
|
|
|
111
111
|
* "harmony": {
|
|
112
112
|
* "osVer": "5.0.0",
|
|
113
113
|
* "uniVer": "4.76",
|
|
114
|
-
* "unixVer": "4.
|
|
114
|
+
* "unixVer": "4.81"
|
|
115
115
|
* }
|
|
116
116
|
* },
|
|
117
117
|
* "web": {
|
|
@@ -138,7 +138,7 @@ export type ShareErrorCode =
|
|
|
138
138
|
* "harmony": {
|
|
139
139
|
* "osVer": "5.0.0",
|
|
140
140
|
* "uniVer": "4.76",
|
|
141
|
-
* "unixVer": "4.
|
|
141
|
+
* "unixVer": "4.81"
|
|
142
142
|
* }
|
|
143
143
|
* },
|
|
144
144
|
* "web": {
|
|
@@ -165,7 +165,7 @@ export type ShareErrorCode =
|
|
|
165
165
|
* "harmony": {
|
|
166
166
|
* "osVer": "5.0.0",
|
|
167
167
|
* "uniVer": "4.76",
|
|
168
|
-
* "unixVer": "4.
|
|
168
|
+
* "unixVer": "4.81"
|
|
169
169
|
* }
|
|
170
170
|
* },
|
|
171
171
|
* "web": {
|
|
@@ -192,7 +192,7 @@ export type ShareErrorCode =
|
|
|
192
192
|
* "harmony": {
|
|
193
193
|
* "osVer": "5.0.0",
|
|
194
194
|
* "uniVer": "4.76",
|
|
195
|
-
* "unixVer": "4.
|
|
195
|
+
* "unixVer": "4.81"
|
|
196
196
|
* }
|
|
197
197
|
* },
|
|
198
198
|
* "web": {
|
|
@@ -219,7 +219,7 @@ export type ShareErrorCode =
|
|
|
219
219
|
* "harmony": {
|
|
220
220
|
* "osVer": "5.0.0",
|
|
221
221
|
* "uniVer": "4.76",
|
|
222
|
-
* "unixVer": "4.
|
|
222
|
+
* "unixVer": "4.81"
|
|
223
223
|
* }
|
|
224
224
|
* },
|
|
225
225
|
* "web": {
|
|
@@ -246,7 +246,7 @@ export type ShareErrorCode =
|
|
|
246
246
|
* "harmony": {
|
|
247
247
|
* "osVer": "5.0.0",
|
|
248
248
|
* "uniVer": "4.76",
|
|
249
|
-
* "unixVer": "4.
|
|
249
|
+
* "unixVer": "4.81"
|
|
250
250
|
* }
|
|
251
251
|
* },
|
|
252
252
|
* "web": {
|
|
@@ -273,7 +273,7 @@ export type ShareErrorCode =
|
|
|
273
273
|
* "harmony": {
|
|
274
274
|
* "osVer": "5.0.0",
|
|
275
275
|
* "uniVer": "4.76",
|
|
276
|
-
* "unixVer": "4.
|
|
276
|
+
* "unixVer": "4.81"
|
|
277
277
|
* }
|
|
278
278
|
* },
|
|
279
279
|
* "web": {
|
|
@@ -300,7 +300,7 @@ export type ShareErrorCode =
|
|
|
300
300
|
* "harmony": {
|
|
301
301
|
* "osVer": "5.0.0",
|
|
302
302
|
* "uniVer": "4.76",
|
|
303
|
-
* "unixVer": "4.
|
|
303
|
+
* "unixVer": "4.81"
|
|
304
304
|
* }
|
|
305
305
|
* },
|
|
306
306
|
* "web": {
|
|
@@ -702,48 +702,69 @@ export type SetTabBarItemOptions = {
|
|
|
702
702
|
/**
|
|
703
703
|
* 页面绝对路径
|
|
704
704
|
* @uniPlatform {
|
|
705
|
-
*
|
|
706
|
-
*
|
|
707
|
-
*
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
*
|
|
712
|
-
*
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
*
|
|
718
|
-
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
705
|
+
* "app": {
|
|
706
|
+
* "android": {
|
|
707
|
+
* "osVer": "x",
|
|
708
|
+
* "uniVer": "x",
|
|
709
|
+
* "unixVer": "x"
|
|
710
|
+
* },
|
|
711
|
+
* "ios": {
|
|
712
|
+
* "osVer": "x",
|
|
713
|
+
* "uniVer": "x",
|
|
714
|
+
* "unixVer": "x"
|
|
715
|
+
* },
|
|
716
|
+
* "harmony": {
|
|
717
|
+
* "osVer": "x",
|
|
718
|
+
* "uniVer": "x",
|
|
719
|
+
* "unixVer": "x"
|
|
720
|
+
* }
|
|
721
|
+
* },
|
|
722
|
+
* "mp": {
|
|
723
|
+
* "weixin": {
|
|
724
|
+
* "hostVer": "x",
|
|
725
|
+
* "uniVer": "x",
|
|
726
|
+
* "unixVer": "x"
|
|
727
|
+
* },
|
|
728
|
+
* "alipay": {
|
|
729
|
+
* "hostVer": "x",
|
|
730
|
+
* "uniVer": "x",
|
|
731
|
+
* "unixVer": "x"
|
|
732
|
+
* },
|
|
733
|
+
* "baidu": {
|
|
734
|
+
* "hostVer": "x",
|
|
735
|
+
* "uniVer": "x",
|
|
736
|
+
* "unixVer": "x"
|
|
737
|
+
* },
|
|
738
|
+
* "toutiao": {
|
|
739
|
+
* "hostVer": "x",
|
|
740
|
+
* "uniVer": "x",
|
|
741
|
+
* "unixVer": "x"
|
|
742
|
+
* },
|
|
743
|
+
* "lark": {
|
|
744
|
+
* "hostVer": "x",
|
|
745
|
+
* "uniVer": "x",
|
|
746
|
+
* "unixVer": "x"
|
|
747
|
+
* },
|
|
748
|
+
* "qq": {
|
|
749
|
+
* "hostVer": "x",
|
|
750
|
+
* "uniVer": "x",
|
|
751
|
+
* "unixVer": "x"
|
|
752
|
+
* },
|
|
753
|
+
* "kuaishou": {
|
|
754
|
+
* "hostVer": "x",
|
|
755
|
+
* "uniVer": "x",
|
|
756
|
+
* "unixVer": "x"
|
|
757
|
+
* },
|
|
758
|
+
* "jd": {
|
|
759
|
+
* "hostVer": "x",
|
|
760
|
+
* "uniVer": "x",
|
|
761
|
+
* "unixVer": "x"
|
|
762
|
+
* }
|
|
763
|
+
* },
|
|
764
|
+
* "web": {
|
|
765
|
+
* "uniVer": "√",
|
|
766
|
+
* "unixVer": "√"
|
|
767
|
+
* }
|
|
747
768
|
* }
|
|
748
769
|
*/
|
|
749
770
|
pagePath?: string
|
|
@@ -890,7 +890,7 @@ interface UniAdEvent {
|
|
|
890
890
|
/**
|
|
891
891
|
* 事件发生时的时间戳
|
|
892
892
|
*/
|
|
893
|
-
timeStamp : Long
|
|
893
|
+
readonly timeStamp : Long
|
|
894
894
|
/**
|
|
895
895
|
* 阻止当前事件的进一步传播
|
|
896
896
|
*/
|
|
@@ -902,7 +902,7 @@ interface UniAdEvent {
|
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
export interface UniAdErrorEvent extends UniAdEvent {
|
|
905
|
-
detail : IUniAdError
|
|
905
|
+
readonly detail : IUniAdError
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
export type AdCallBackEvent = (result : any) => void
|
|
@@ -9,10 +9,12 @@ import {
|
|
|
9
9
|
StreamingFullScreenChangedListener as StreamingFullScreenChangedListenerOrigin,
|
|
10
10
|
UniLivePlayerStatechangeEvent as UniLivePlayerStatechangeEventOrigin,
|
|
11
11
|
UniLivePlayerStatechangeEventDetail as UniLivePlayerStatechangeEventDetailOrigin,
|
|
12
|
+
LivePlayerStateCode as LivePlayerStateCodeOrigin,
|
|
12
13
|
UniLivePlayerFullscreenchangeEvent as UniLivePlayerFullscreenchangeEventOrigin,
|
|
13
14
|
UniLivePlayerFullscreenchangeEventDetail as UniLivePlayerFullscreenchangeEventDetailOrigin,
|
|
14
15
|
UniLivePlayerErrorEvent as UniLivePlayerErrorEventOrigin,
|
|
15
16
|
UniLivePlayerError as UniLivePlayerErrorOrigin,
|
|
17
|
+
LivePlayerErrorCode as LivePlayerErrorCodeOrigin,
|
|
16
18
|
LivePlayerSuccess as LivePlayerSuccessOrigin,
|
|
17
19
|
LivePlayerSuccessCallback as LivePlayerSuccessCallbackOrigin,
|
|
18
20
|
LivePlayerFail as LivePlayerFailOrigin,
|
|
@@ -35,10 +37,12 @@ declare global {
|
|
|
35
37
|
type StreamingFullScreenChangedListener = StreamingFullScreenChangedListenerOrigin
|
|
36
38
|
type UniLivePlayerStatechangeEvent = UniLivePlayerStatechangeEventOrigin
|
|
37
39
|
type UniLivePlayerStatechangeEventDetail = UniLivePlayerStatechangeEventDetailOrigin
|
|
40
|
+
type LivePlayerStateCode = LivePlayerStateCodeOrigin
|
|
38
41
|
type UniLivePlayerFullscreenchangeEvent = UniLivePlayerFullscreenchangeEventOrigin
|
|
39
42
|
type UniLivePlayerFullscreenchangeEventDetail = UniLivePlayerFullscreenchangeEventDetailOrigin
|
|
40
43
|
type UniLivePlayerErrorEvent = UniLivePlayerErrorEventOrigin
|
|
41
44
|
type UniLivePlayerError = UniLivePlayerErrorOrigin
|
|
45
|
+
type LivePlayerErrorCode = LivePlayerErrorCodeOrigin
|
|
42
46
|
type LivePlayerSuccess = LivePlayerSuccessOrigin
|
|
43
47
|
type LivePlayerSuccessCallback = LivePlayerSuccessCallbackOrigin
|
|
44
48
|
type LivePlayerFail = LivePlayerFailOrigin
|
|
@@ -9,10 +9,12 @@ export {
|
|
|
9
9
|
StreamingFullScreenChangedListener,
|
|
10
10
|
UniLivePlayerStatechangeEvent,
|
|
11
11
|
UniLivePlayerStatechangeEventDetail,
|
|
12
|
+
LivePlayerStateCode,
|
|
12
13
|
UniLivePlayerFullscreenchangeEvent,
|
|
13
14
|
UniLivePlayerFullscreenchangeEventDetail,
|
|
14
15
|
UniLivePlayerErrorEvent,
|
|
15
16
|
UniLivePlayerError,
|
|
17
|
+
LivePlayerErrorCode,
|
|
16
18
|
LivePlayerSuccess,
|
|
17
19
|
LivePlayerSuccessCallback,
|
|
18
20
|
LivePlayerFail,
|