@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.
Files changed (81) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +36 -1
  3. package/types/dom2/UniCSSProperty.d.ts +446 -0
  4. package/types/dom2/UniCSSType.d.ts +72 -0
  5. package/types/dom2/UniCommon.d.ts +40 -0
  6. package/types/dom2/UniCustomViewElement.d.ts +12 -0
  7. package/types/dom2/UniElement.d.ts +354 -0
  8. package/types/dom2/UniElementType.d.ts +37 -0
  9. package/types/dom2/UniImageElement.d.ts +102 -0
  10. package/types/dom2/UniNativeBaseView.d.ts +178 -0
  11. package/types/dom2/UniNativeCustomView.d.ts +13 -0
  12. package/types/dom2/UniNativeDefines.d.ts +435 -0
  13. package/types/dom2/UniNativeImageView.d.ts +34 -0
  14. package/types/dom2/UniNativeScrollView.d.ts +42 -0
  15. package/types/dom2/UniNativeTextView.d.ts +25 -0
  16. package/types/dom2/UniNativeView.d.ts +51 -0
  17. package/types/dom2/UniNativeViewType.d.ts +22 -0
  18. package/types/dom2/UniPage.d.ts +55 -0
  19. package/types/dom2/UniScrollViewElement.d.ts +13 -0
  20. package/types/dom2/UniTextElement.d.ts +20 -0
  21. package/types/dom2/UniTextLayout.d.ts +386 -0
  22. package/types/dom2/UniViewElement.d.ts +57 -0
  23. package/types/dom2/global.d.ts +189 -0
  24. package/types/dom2/index.d.ts +40 -0
  25. package/types/dom2/sharedData.d.ts +227 -0
  26. package/types/index.d.ts +2 -1
  27. package/types/native/DOMRect.d.ts +2 -1
  28. package/types/native/DrawableContext.d.ts +1665 -1661
  29. package/types/native/IUniElement.d.ts +3514 -2877
  30. package/types/native/SnapshotOptions.d.ts +2 -2
  31. package/types/native/UniAnimation.d.ts +11 -10
  32. package/types/native/UniElement.d.ts +1 -1
  33. package/types/native/UniEvent.d.ts +108 -3
  34. package/types/native/UniPage.d.ts +891 -887
  35. package/types/native/UniTextElement.d.ts +37 -0
  36. package/types/native/UniTextLayout.d.ts +387 -0
  37. package/types/native/UniVideoElement.d.ts +20 -17
  38. package/types/native/Worker.d.ts +19 -0
  39. package/types/native/global.d.ts +28 -68
  40. package/types/native/index.d.ts +18 -1
  41. package/types/page.d.ts +1862 -599
  42. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  43. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +1 -1
  45. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  46. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -1
  47. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts +22 -0
  48. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/index.d.ts +10 -0
  49. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +524 -0
  50. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +985 -76
  51. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +79 -55
  52. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +77 -53
  53. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +458 -407
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +420 -0
  55. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +80 -80
  56. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -4
  57. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -2
  58. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +713 -91
  59. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4 -0
  60. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +3 -3
  61. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +3 -1
  62. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -1
  63. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +1 -1
  64. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +56 -0
  65. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +27 -0
  66. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +842 -0
  67. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +11 -11
  68. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -1
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +63 -42
  70. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +2 -2
  71. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
  72. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +4 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +2 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +1007 -314
  75. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +4 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +2 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +1727 -10
  78. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +235 -30
  79. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +1 -1
  80. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +17 -17
  81. 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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
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.76"
303
+ * "unixVer": "4.81"
304
304
  * }
305
305
  * },
306
306
  * "web": {
@@ -1,3 +1,3 @@
1
1
  export interface UniShareWeixinProvider extends UniShareProvider {
2
-
2
+ isWeChatInstalled : boolean
3
3
  }
@@ -702,48 +702,69 @@ export type SetTabBarItemOptions = {
702
702
  /**
703
703
  * 页面绝对路径
704
704
  * @uniPlatform {
705
- * "mp": {
706
- * "weixin": {
707
- * "hostVer": "",
708
- * "uniVer": "",
709
- * "unixVer": "4.41"
710
- * },
711
- * "alipay": {
712
- * "hostVer": "-",
713
- * "uniVer": "-",
714
- * "unixVer": "-"
715
- * },
716
- * "baidu": {
717
- * "hostVer": "-",
718
- * "uniVer": "-",
719
- * "unixVer": "-"
720
- * },
721
- * "toutiao": {
722
- * "hostVer": "-",
723
- * "uniVer": "-",
724
- * "unixVer": "-"
725
- * },
726
- * "lark": {
727
- * "hostVer": "-",
728
- * "uniVer": "-",
729
- * "unixVer": "-"
730
- * },
731
- * "qq": {
732
- * "hostVer": "-",
733
- * "uniVer": "-",
734
- * "unixVer": "-"
735
- * },
736
- * "kuaishou": {
737
- * "hostVer": "-",
738
- * "uniVer": "-",
739
- * "unixVer": "-"
740
- * },
741
- * "jd": {
742
- * "hostVer": "-",
743
- * "uniVer": "-",
744
- * "unixVer": "-"
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
@@ -176,8 +176,8 @@ export interface Uni {
176
176
  * }
177
177
  * },
178
178
  * "web": {
179
- * "uniVer": "x",
180
- * "unixVer": "x"
179
+ * "uniVer": "4.77",
180
+ * "unixVer": "4.77"
181
181
  * }
182
182
  * }
183
183
  * @uniVueVersion 2,3
@@ -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,