@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.
Files changed (80) 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/UniEvent.d.ts +108 -3
  33. package/types/native/UniPage.d.ts +891 -882
  34. package/types/native/UniTextElement.d.ts +37 -0
  35. package/types/native/UniTextLayout.d.ts +387 -0
  36. package/types/native/UniVideoElement.d.ts +20 -17
  37. package/types/native/Worker.d.ts +19 -0
  38. package/types/native/global.d.ts +28 -68
  39. package/types/native/index.d.ts +18 -1
  40. package/types/page.d.ts +1862 -599
  41. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  42. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  43. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +1 -1
  44. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  45. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -1
  46. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts +22 -0
  47. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/index.d.ts +10 -0
  48. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +524 -0
  49. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +985 -76
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +79 -55
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +77 -53
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +458 -407
  53. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +420 -0
  54. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +80 -80
  55. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -4
  56. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -2
  57. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +713 -91
  58. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4 -0
  59. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +3 -3
  60. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +3 -1
  61. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -1
  62. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +1 -1
  63. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +56 -0
  64. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +27 -0
  65. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +842 -0
  66. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +11 -11
  67. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -1
  68. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +63 -42
  69. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +2 -2
  70. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
  71. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +4 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +2 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +1007 -314
  74. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +4 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +2 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +1727 -10
  77. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +235 -30
  78. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +1 -1
  79. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +17 -17
  80. package/uts-plugin.d.ts +11 -0
@@ -901,7 +901,7 @@ export interface Uni {
901
901
  /**
902
902
  * 获取CanvasContext对象实例
903
903
  *
904
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/createCanvasContextAsync.html
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": "x"
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": "x"
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": "x"
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": "x"
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": "x"
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": "x"
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": "x"
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": "x"
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
- * @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
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