@dcloudio/uni-app-x 0.7.37 → 0.7.39

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 (126) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +48 -9
  3. package/types/app.d.ts +8 -5
  4. package/types/native/AsyncApiResult.d.ts +1 -0
  5. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  6. package/types/native/IUniElement.d.ts +130 -35
  7. package/types/native/UniElement.d.ts +2 -1
  8. package/types/native/UniTextElement.d.ts +1 -0
  9. package/types/native/global.d.ts +16 -0
  10. package/types/page.d.ts +47 -5
  11. package/types/uni/env/index.d.ts +87 -73
  12. package/types/uni/global.d.ts +1 -0
  13. package/types/uni/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-global.d.ts +33 -0
  15. package/types/uni/uni-map-tencent-map.d.ts +52 -0
  16. package/types/uni/uts-plugin-api/global.d.ts +2 -1
  17. package/types/uni/uts-plugin-api/index.d.ts +2 -1
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -2
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -1
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +212 -219
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -205
  23. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  24. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +848 -208
  25. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/global.d.ts +5 -6
  26. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/index.d.ts +3 -3
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -0
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +4 -0
  30. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +2 -0
  31. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1226 -1726
  32. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +102 -18
  34. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
  35. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1199 -1045
  36. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +294 -263
  37. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +33 -28
  38. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +210 -0
  39. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +4828 -1750
  40. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -448
  41. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -829
  42. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  43. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +664 -114
  45. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +891 -9
  46. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  47. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +254 -114
  48. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +152 -12
  49. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +813 -57
  50. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -2
  51. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -45
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -148
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +38 -3
  54. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +3161 -43
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +316 -22
  57. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +42 -0
  59. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  60. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  61. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +8 -0
  62. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -0
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2765 -1193
  64. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +18 -18
  65. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3098 -1153
  66. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +13 -13
  67. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +42 -0
  68. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +10 -10
  69. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -369
  70. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -0
  71. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -0
  72. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  73. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +540 -253
  74. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -1131
  75. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  76. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -35
  78. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +42 -0
  79. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +4 -0
  80. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +2 -0
  81. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +614 -15
  82. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -437
  83. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +58 -16
  84. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  85. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  86. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  87. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1656 -1488
  88. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1752 -786
  89. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  90. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +85 -1
  92. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  93. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  94. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  95. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +4 -0
  96. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +2 -0
  97. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +98 -15
  98. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +677 -299
  99. package/types/uni/uts-plugin-extend/README.md +3 -0
  100. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  101. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  102. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  103. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  104. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  105. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  106. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +302 -302
  107. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  108. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +431 -11
  109. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  110. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  111. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  112. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +73 -73
  113. package/types/uni-cloud/interface.d.ts +91 -0
  114. package/uts-plugin.d.ts +3 -1
  115. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  116. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  117. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  118. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  119. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  120. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  121. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  122. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  123. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  124. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  125. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  126. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -27,7 +27,7 @@ export interface Uni {
27
27
  * "weixin": {
28
28
  * "hostVer": "√",
29
29
  * "uniVer": "√",
30
- * "unixVer": "x"
30
+ * "unixVer": "4.41"
31
31
  * },
32
32
  * "alipay": {
33
33
  * "hostVer": "√",
@@ -109,7 +109,7 @@ export interface Uni {
109
109
  * "weixin": {
110
110
  * "hostVer": "√",
111
111
  * "uniVer": "√",
112
- * "unixVer": "x"
112
+ * "unixVer": "4.41"
113
113
  * },
114
114
  * "alipay": {
115
115
  * "hostVer": "√",
@@ -165,8 +165,8 @@ export interface Uni {
165
165
  getUserInfo: GetUserInfo;
166
166
  }
167
167
  export interface UniOAuthProvider extends UniProvider {
168
- login(options : LoginOptions) : void;
169
- getUserInfo(options : GetUserInfoOptions) : void;
168
+ login(options: LoginOptions): void;
169
+ getUserInfo(options: GetUserInfoOptions): void;
170
170
  }
171
171
  export type Login = (options: LoginOptions) => void;
172
172
 
@@ -360,7 +360,7 @@ export type LoginOptions = {
360
360
  * "weixin": {
361
361
  * "hostVer": "√",
362
362
  * "uniVer": "√",
363
- * "unixVer": "x"
363
+ * "unixVer": "2.35"
364
364
  * },
365
365
  * "baidu": {
366
366
  * "hostVer": "√",
@@ -864,7 +864,7 @@ export type GetUserInfoSuccess = {
864
864
  * "weixin": {
865
865
  * "hostVer": "√",
866
866
  * "uniVer": "√",
867
- * "unixVer": "x"
867
+ * "unixVer": "4.41"
868
868
  * },
869
869
  * "alipay": {
870
870
  * "hostVer": "√",
@@ -942,7 +942,7 @@ export type GetUserInfoSuccess = {
942
942
  * "weixin": {
943
943
  * "hostVer": "√",
944
944
  * "uniVer": "√",
945
- * "unixVer": "x"
945
+ * "unixVer": "4.41"
946
946
  * },
947
947
  * "alipay": {
948
948
  * "hostVer": "x",
@@ -1020,7 +1020,7 @@ export type GetUserInfoSuccess = {
1020
1020
  * "weixin": {
1021
1021
  * "hostVer": "√",
1022
1022
  * "uniVer": "√",
1023
- * "unixVer": "x"
1023
+ * "unixVer": "4.41"
1024
1024
  * },
1025
1025
  * "alipay": {
1026
1026
  * "hostVer": "x",
@@ -1098,7 +1098,7 @@ export type GetUserInfoSuccess = {
1098
1098
  * "weixin": {
1099
1099
  * "hostVer": "√",
1100
1100
  * "uniVer": "√",
1101
- * "unixVer": "x"
1101
+ * "unixVer": "4.41"
1102
1102
  * },
1103
1103
  * "alipay": {
1104
1104
  * "hostVer": "x",
@@ -1176,7 +1176,7 @@ export type GetUserInfoSuccess = {
1176
1176
  * "weixin": {
1177
1177
  * "hostVer": "√",
1178
1178
  * "uniVer": "√",
1179
- * "unixVer": "x"
1179
+ * "unixVer": "4.41"
1180
1180
  * },
1181
1181
  * "alipay": {
1182
1182
  * "hostVer": "x",
@@ -1367,7 +1367,7 @@ export type GetUserInfoOptions = {
1367
1367
  * "weixin": {
1368
1368
  * "hostVer": "√",
1369
1369
  * "uniVer": "√",
1370
- * "unixVer": "x"
1370
+ * "unixVer": "4.41"
1371
1371
  * },
1372
1372
  * "alipay": {
1373
1373
  * "hostVer": "x",
@@ -1445,7 +1445,7 @@ export type GetUserInfoOptions = {
1445
1445
  * "weixin": {
1446
1446
  * "hostVer": "√",
1447
1447
  * "uniVer": "√",
1448
- * "unixVer": "x"
1448
+ * "unixVer": "4.41"
1449
1449
  * },
1450
1450
  * "alipay": {
1451
1451
  * "hostVer": "x",
@@ -1523,7 +1523,7 @@ export type GetUserInfoOptions = {
1523
1523
  * "weixin": {
1524
1524
  * "hostVer": "√",
1525
1525
  * "uniVer": "√",
1526
- * "unixVer": "x"
1526
+ * "unixVer": "4.41"
1527
1527
  * },
1528
1528
  * "alipay": {
1529
1529
  * "hostVer": "x",
@@ -57,6 +57,48 @@ export interface Uni {
57
57
  * "unixVer": "x"
58
58
  * }
59
59
  * },
60
+ * "mp": {
61
+ * "weixin": {
62
+ * "hostVer": "√",
63
+ * "uniVer": "√",
64
+ * "unixVer": "4.41"
65
+ * },
66
+ * "alipay": {
67
+ * "hostVer": "√",
68
+ * "uniVer": "√",
69
+ * "unixVer": "x"
70
+ * },
71
+ * "baidu": {
72
+ * "hostVer": "√",
73
+ * "uniVer": "√",
74
+ * "unixVer": "x"
75
+ * },
76
+ * "toutiao": {
77
+ * "hostVer": "√",
78
+ * "uniVer": "√",
79
+ * "unixVer": "x"
80
+ * },
81
+ * "lark": {
82
+ * "hostVer": "√",
83
+ * "uniVer": "√",
84
+ * "unixVer": "x"
85
+ * },
86
+ * "qq": {
87
+ * "hostVer": "√",
88
+ * "uniVer": "√",
89
+ * "unixVer": "x"
90
+ * },
91
+ * "kuaishou": {
92
+ * "hostVer": "√",
93
+ * "uniVer": "√",
94
+ * "unixVer": "x"
95
+ * },
96
+ * "jd": {
97
+ * "hostVer": "√",
98
+ * "uniVer": "√",
99
+ * "unixVer": "x"
100
+ * }
101
+ * },
60
102
  * "web": {
61
103
  * "uniVer": "x",
62
104
  * "unixVer": "x"
@@ -48,7 +48,7 @@ export type PageScrollToOptions = {
48
48
  * "weixin": {
49
49
  * "hostVer": "√",
50
50
  * "uniVer": "√",
51
- * "unixVer": "x"
51
+ * "unixVer": "4.41"
52
52
  * }
53
53
  * },
54
54
  * "web": {
@@ -75,7 +75,7 @@ export type PageScrollToOptions = {
75
75
  */
76
76
  complete?: PageScrollToCompleteCallback | null
77
77
  }
78
- export type PageScrollTo = ( options: PageScrollToOptions ) => Promise<PageScrollToSuccess> | null
78
+ export type PageScrollTo = (options: PageScrollToOptions) => Promise<PageScrollToSuccess> | null
79
79
  export interface Uni {
80
80
  /**
81
81
  * 将页面滚动到目标位置
@@ -105,42 +105,42 @@ export interface Uni {
105
105
  * "weixin": {
106
106
  * "hostVer": "√",
107
107
  * "uniVer": "√",
108
- * "unixVer": ""
108
+ * "unixVer": "4.41"
109
109
  * },
110
110
  * "alipay": {
111
111
  * "hostVer": "√",
112
112
  * "uniVer": "√",
113
- * "unixVer": ""
113
+ * "unixVer": "x"
114
114
  * },
115
115
  * "baidu": {
116
116
  * "hostVer": "√",
117
117
  * "uniVer": "√",
118
- * "unixVer": ""
118
+ * "unixVer": "x"
119
119
  * },
120
120
  * "toutiao": {
121
121
  * "hostVer": "√",
122
122
  * "uniVer": "√",
123
- * "unixVer": ""
123
+ * "unixVer": "x"
124
124
  * },
125
125
  * "lark": {
126
126
  * "hostVer": "√",
127
127
  * "uniVer": "√",
128
- * "unixVer": ""
128
+ * "unixVer": "x"
129
129
  * },
130
130
  * "qq": {
131
131
  * "hostVer": "√",
132
132
  * "uniVer": "√",
133
- * "unixVer": ""
133
+ * "unixVer": "x"
134
134
  * },
135
135
  * "kuaishou": {
136
136
  * "hostVer": "√",
137
137
  * "uniVer": "√",
138
- * "unixVer": ""
138
+ * "unixVer": "x"
139
139
  * },
140
140
  * "jd": {
141
141
  * "hostVer": "√",
142
142
  * "uniVer": "√",
143
- * "unixVer": ""
143
+ * "unixVer": "x"
144
144
  * }
145
145
  * },
146
146
  * "web": {