@dcloudio/uni-app-x 0.7.31 → 0.7.33

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 (32) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +45 -11
  3. package/types/native/CSSStyleDeclaration.d.ts +72 -0
  4. package/types/native/DOMRect.d.ts +180 -0
  5. package/types/native/DrawableContext.d.ts +471 -4
  6. package/types/native/IUniElement.d.ts +3 -3
  7. package/types/native/SnapshotOptions.d.ts +0 -1
  8. package/types/native/UniElement.d.ts +1 -0
  9. package/types/native/UniEvent.d.ts +23 -1
  10. package/types/page.d.ts +98 -83
  11. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  13. package/types/uni/uts-plugin-api/lib/uni-crash/utssdk/global.d.ts +20 -0
  14. package/types/uni/uts-plugin-api/lib/uni-crash/utssdk/index.d.ts +9 -0
  15. package/types/uni/uts-plugin-api/lib/uni-crash/utssdk/interface.d.ts +48 -0
  16. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +6 -6
  17. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +20 -20
  18. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +22 -0
  19. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +10 -0
  20. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +781 -0
  21. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -5
  22. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +4 -4
  23. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +33 -33
  24. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +2 -2
  25. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +1 -1
  26. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +3 -4
  27. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +224 -5
  28. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/global.d.ts +14 -8
  29. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/index.d.ts +7 -4
  30. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +1788 -183
  31. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +686 -661
  32. package/types/uni-cloud/interface.d.ts +1 -1
@@ -414,6 +414,7 @@ export type SafeAreaInsets = {
414
414
  */
415
415
  bottom: number
416
416
  };
417
+ // #ifdef UNI-APP-X
417
418
  export type CutoutRect = {
418
419
  /**
419
420
  * 挖孔、刘海区域左上角横坐标,单位为px
@@ -424,7 +425,7 @@ export type CutoutRect = {
424
425
  * "android": {
425
426
  * "osVer": "9.0",
426
427
  * "uniVer": "x",
427
- * "unixVer": "4.28"
428
+ * "unixVer": "4.31"
428
429
  * },
429
430
  * "ios": {
430
431
  * "osVer": "12.0",
@@ -453,7 +454,7 @@ export type CutoutRect = {
453
454
  * "android": {
454
455
  * "osVer": "9.0",
455
456
  * "uniVer": "x",
456
- * "unixVer": "4.28"
457
+ * "unixVer": "4.31"
457
458
  * },
458
459
  * "ios": {
459
460
  * "osVer": "12.0",
@@ -482,7 +483,7 @@ export type CutoutRect = {
482
483
  * "android": {
483
484
  * "osVer": "9.0",
484
485
  * "uniVer": "x",
485
- * "unixVer": "4.28"
486
+ * "unixVer": "4.31"
486
487
  * },
487
488
  * "ios": {
488
489
  * "osVer": "12.0",
@@ -511,7 +512,7 @@ export type CutoutRect = {
511
512
  * "android": {
512
513
  * "osVer": "9.0",
513
514
  * "uniVer": "x",
514
- * "unixVer": "4.28"
515
+ * "unixVer": "4.31"
515
516
  * },
516
517
  * "ios": {
517
518
  * "osVer": "12.0",
@@ -532,6 +533,7 @@ export type CutoutRect = {
532
533
  */
533
534
  bottom: number
534
535
  };
536
+ // #endif
535
537
  export type GetSystemInfoResult = {
536
538
  /**
537
539
  * 客户端基础库版本
@@ -2263,7 +2265,7 @@ export type GetWindowInfoResult = {
2263
2265
  * "android": {
2264
2266
  * "osVer": "9.0",
2265
2267
  * "uniVer": "x",
2266
- * "unixVer": "4.28"
2268
+ * "unixVer": "4.31"
2267
2269
  * },
2268
2270
  * "ios": {
2269
2271
  * "osVer": "12.0",
@@ -301,12 +301,12 @@ export type RequestPaymentErrorCode =
301
301
  * "android": {
302
302
  * "osVer": "5.0",
303
303
  * "uniVer": "x",
304
- * "unixVer": "4.28"
304
+ * "unixVer": "4.31"
305
305
  * },
306
306
  * "ios": {
307
307
  * "osVer": "12.0",
308
308
  * "uniVer": "x",
309
- * "unixVer": "4.28"
309
+ * "unixVer": "4.31"
310
310
  * },
311
311
  * "harmony": {
312
312
  * "osVer": "3.0",
@@ -328,12 +328,12 @@ export type RequestPaymentErrorCode =
328
328
  * "android": {
329
329
  * "osVer": "5.0",
330
330
  * "uniVer": "x",
331
- * "unixVer": "4.28"
331
+ * "unixVer": "4.31"
332
332
  * },
333
333
  * "ios": {
334
334
  * "osVer": "12.0",
335
335
  * "uniVer": "x",
336
- * "unixVer": "4.28"
336
+ * "unixVer": "4.31"
337
337
  * },
338
338
  * "harmony": {
339
339
  * "osVer": "3.0",
@@ -6,13 +6,13 @@ export interface Uni {
6
6
  * "app": {
7
7
  * "android": {
8
8
  * "osVer": "5.0",
9
- * "uniVer": "x",
10
- * "unixVer": "x"
9
+ * "uniVer": "4.31",
10
+ * "unixVer": "4.31"
11
11
  * },
12
12
  * "ios": {
13
13
  * "osVer": "12.0",
14
- * "uniVer": "x",
15
- * "unixVer": "x"
14
+ * "uniVer": "4.31",
15
+ * "unixVer": "4.31"
16
16
  * },
17
17
  * "harmony": {
18
18
  * "osVer": "x",
@@ -28,7 +28,7 @@ export interface Uni {
28
28
  * @example
29
29
  ```typescript
30
30
  const id = uni.onPrivacyAuthorizationChange((res) => {
31
- console.log(res.isAgree)
31
+
32
32
  })
33
33
  ```
34
34
  */
@@ -41,13 +41,13 @@ export interface Uni {
41
41
  * "app": {
42
42
  * "android": {
43
43
  * "osVer": "5.0",
44
- * "uniVer": "x",
45
- * "unixVer": "x"
44
+ * "uniVer": "4.31",
45
+ * "unixVer": "4.31"
46
46
  * },
47
47
  * "ios": {
48
48
  * "osVer": "12.0",
49
- * "uniVer": "x",
50
- * "unixVer": "x"
49
+ * "uniVer": "4.31",
50
+ * "unixVer": "4.31"
51
51
  * },
52
52
  * "harmony": {
53
53
  * "osVer": "x",
@@ -74,13 +74,13 @@ export interface Uni {
74
74
  * "app": {
75
75
  * "android": {
76
76
  * "osVer": "5.0",
77
- * "uniVer": "x",
78
- * "unixVer": "x"
77
+ * "uniVer": "4.31",
78
+ * "unixVer": "4.31"
79
79
  * },
80
80
  * "ios": {
81
81
  * "osVer": "12.0",
82
- * "uniVer": "x",
83
- * "unixVer": "x"
82
+ * "uniVer": "4.31",
83
+ * "unixVer": "4.31"
84
84
  * }
85
85
  * },
86
86
  * "web": {
@@ -112,13 +112,13 @@ export interface Uni {
112
112
  * "app": {
113
113
  * "android": {
114
114
  * "osVer": "5.0",
115
- * "uniVer": "x",
116
- * "unixVer": "x"
115
+ * "uniVer": "4.31",
116
+ * "unixVer": "4.31"
117
117
  * },
118
118
  * "ios": {
119
119
  * "osVer": "12.0",
120
- * "uniVer": "x",
121
- * "unixVer": "x"
120
+ * "uniVer": "4.31",
121
+ * "unixVer": "4.31"
122
122
  * }
123
123
  * },
124
124
  * "web": {
@@ -148,13 +148,13 @@ export type PrivacyChangeResult = {
148
148
  * "app": {
149
149
  * "android": {
150
150
  * "osVer": "5.0",
151
- * "uniVer": "x",
152
- * "unixVer": "x"
151
+ * "uniVer": "4.31",
152
+ * "unixVer": "4.31"
153
153
  * },
154
154
  * "ios": {
155
155
  * "osVer": "12.0",
156
- * "uniVer": "x",
157
- * "unixVer": "x"
156
+ * "uniVer": "4.31",
157
+ * "unixVer": "4.31"
158
158
  * },
159
159
  * "harmony": {
160
160
  * "osVer": "x",
@@ -191,13 +191,13 @@ export type GetPrivacySettingOptions = {
191
191
  * "app": {
192
192
  * "android": {
193
193
  * "osVer": "5.0",
194
- * "uniVer": "x",
195
- * "unixVer": "x"
194
+ * "uniVer": "4.31",
195
+ * "unixVer": "4.31"
196
196
  * },
197
197
  * "ios": {
198
198
  * "osVer": "12.0",
199
- * "uniVer": "x",
200
- * "unixVer": "x"
199
+ * "uniVer": "4.31",
200
+ * "unixVer": "4.31"
201
201
  * },
202
202
  * "harmony": {
203
203
  * "osVer": "x",
@@ -220,13 +220,13 @@ export type GetPrivacySettingOptions = {
220
220
  * "app": {
221
221
  * "android": {
222
222
  * "osVer": "5.0",
223
- * "uniVer": "x",
224
- * "unixVer": "x"
223
+ * "uniVer": "4.31",
224
+ * "unixVer": "4.31"
225
225
  * },
226
226
  * "ios": {
227
227
  * "osVer": "12.0",
228
- * "uniVer": "x",
229
- * "unixVer": "x"
228
+ * "uniVer": "4.31",
229
+ * "unixVer": "4.31"
230
230
  * },
231
231
  * "harmony": {
232
232
  * "osVer": "x",
@@ -249,13 +249,13 @@ export type GetPrivacySettingOptions = {
249
249
  * "app": {
250
250
  * "android": {
251
251
  * "osVer": "5.0",
252
- * "uniVer": "x",
253
- * "unixVer": "x"
252
+ * "uniVer": "4.31",
253
+ * "unixVer": "4.31"
254
254
  * },
255
255
  * "ios": {
256
256
  * "osVer": "12.0",
257
- * "uniVer": "x",
258
- * "unixVer": "x"
257
+ * "uniVer": "4.31",
258
+ * "unixVer": "4.31"
259
259
  * },
260
260
  * "harmony": {
261
261
  * "osVer": "x",
@@ -8,7 +8,7 @@ import {
8
8
  ShowToastFailCallback as ShowToastFailCallbackOrigin,
9
9
  ShowToastCompleteCallback as ShowToastCompleteCallbackOrigin,
10
10
  Icon as IconOrigin,
11
- Position as PositionOrigin,
11
+ ShowToastPosition as ShowToastPositionOrigin,
12
12
  ShowToastOptions as ShowToastOptionsOrigin,
13
13
  ShowToast as ShowToastOrigin,
14
14
  HideToast as HideToastOrigin,
@@ -47,7 +47,7 @@ declare global {
47
47
  type ShowToastFailCallback = ShowToastFailCallbackOrigin
48
48
  type ShowToastCompleteCallback = ShowToastCompleteCallbackOrigin
49
49
  type Icon = IconOrigin
50
- type Position = PositionOrigin
50
+ type ShowToastPosition = ShowToastPositionOrigin
51
51
  type ShowToastOptions = ShowToastOptionsOrigin
52
52
  type ShowToast = ShowToastOrigin
53
53
  type HideToast = HideToastOrigin
@@ -8,7 +8,7 @@ export {
8
8
  ShowToastFailCallback,
9
9
  ShowToastCompleteCallback,
10
10
  Icon,
11
- Position,
11
+ ShowToastPosition,
12
12
  ShowToastOptions,
13
13
  ShowToast,
14
14
  HideToast,
@@ -179,7 +179,7 @@ export type Icon =
179
179
  /**
180
180
  * position值说明。纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
181
181
  */
182
- export type Position =
182
+ export type ShowToastPosition =
183
183
  /**
184
184
  * 居上显示
185
185
  * @uniPlatform {
@@ -366,7 +366,6 @@ export type ShowToastOptions = {
366
366
  duration?: number | null,
367
367
  /**
368
368
  * 纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
369
- * @defaultValue "bottom"
370
369
  * @uniPlatform {
371
370
  * "app": {
372
371
  * "android": {
@@ -386,7 +385,7 @@ export type ShowToastOptions = {
386
385
  * }
387
386
  * }
388
387
  */
389
- position?: Position | null,
388
+ position?: ShowToastPosition | null,
390
389
  /**
391
390
  * 接口调用成功的回调函数
392
391
  * @uniPlatform {
@@ -950,7 +949,7 @@ export interface Uni {
950
949
  * },
951
950
  * "harmony": {
952
951
  * "osVer": "3.0",
953
- * "uniVer": "4.23",
952
+ * "uniVer": "x",
954
953
  * "unixVer": "x"
955
954
  * }
956
955
  * },
@@ -31,8 +31,227 @@ export interface RewardedVideoAd extends IVideoAd,IRewardedVideoAd{
31
31
 
32
32
  }
33
33
 
34
- export interface InterstitialAd extends IVideoAd {
35
-
34
+ export interface InterstitialAd {
35
+ /**
36
+ * 广告加载成功之后,调用此方法展示广告
37
+ * @uniPlatform {
38
+ * "app": {
39
+ * "android": {
40
+ * "osVer": "4.4",
41
+ * "uniVer": "√",
42
+ * "unixVer": "4.31"
43
+ * },
44
+ * "ios": {
45
+ * "osVer": "12.0",
46
+ * "uniVer": "√",
47
+ * "unixVer": "4.31"
48
+ * }
49
+ * },
50
+ * "web": {
51
+ * "uniVer": "x",
52
+ * "unixVer": "x"
53
+ * }
54
+ * }
55
+ */
56
+ show() : Promise<any>
57
+ /**
58
+ * 加载广告
59
+ * @uniPlatform {
60
+ * "app": {
61
+ * "android": {
62
+ * "osVer": "4.4",
63
+ * "uniVer": "√",
64
+ * "unixVer": "4.31"
65
+ * },
66
+ * "ios": {
67
+ * "osVer": "12.0",
68
+ * "uniVer": "√",
69
+ * "unixVer": "4.31"
70
+ * }
71
+ * },
72
+ * "web": {
73
+ * "uniVer": "x",
74
+ * "unixVer": "x"
75
+ * }
76
+ * }
77
+ */
78
+ load() : Promise<any>
79
+ /**
80
+ * 销毁广告
81
+ * @uniPlatform {
82
+ * "app": {
83
+ * "android": {
84
+ * "osVer": "4.4",
85
+ * "uniVer": "√",
86
+ * "unixVer": "4.31"
87
+ * },
88
+ * "ios": {
89
+ * "osVer": "12.0",
90
+ * "uniVer": "√",
91
+ * "unixVer": "4.31"
92
+ * }
93
+ * },
94
+ * "web": {
95
+ * "uniVer": "x",
96
+ * "unixVer": "x"
97
+ * }
98
+ * }
99
+ */
100
+ destroy() : void
101
+ /**
102
+ * 绑定广告 load 事件的监听器
103
+ * @uniPlatform {
104
+ * "app": {
105
+ * "android": {
106
+ * "osVer": "4.4",
107
+ * "uniVer": "√",
108
+ * "unixVer": "4.31"
109
+ * },
110
+ * "ios": {
111
+ * "osVer": "12.0",
112
+ * "uniVer": "√",
113
+ * "unixVer": "4.31"
114
+ * }
115
+ * },
116
+ * "web": {
117
+ * "uniVer": "x",
118
+ * "unixVer": "x"
119
+ * }
120
+ * }
121
+ */
122
+ onLoad(callback : AdCallBackEvent) : void
123
+ /**
124
+ * 解除绑定 load 事件的监听器
125
+ * @uniPlatform {
126
+ * "app": {
127
+ * "android": {
128
+ * "osVer": "4.4",
129
+ * "uniVer": "√",
130
+ * "unixVer": "4.31"
131
+ * },
132
+ * "ios": {
133
+ * "osVer": "12.0",
134
+ * "uniVer": "√",
135
+ * "unixVer": "4.31"
136
+ * }
137
+ * },
138
+ * "web": {
139
+ * "uniVer": "x",
140
+ * "unixVer": "x"
141
+ * }
142
+ * }
143
+ */
144
+ offLoad(callback : AdCallBackEvent) : void
145
+ /**
146
+ * 绑定 error 事件的监听器
147
+ * @uniPlatform {
148
+ * "app": {
149
+ * "android": {
150
+ * "osVer": "4.4",
151
+ * "uniVer": "√",
152
+ * "unixVer": "4.31"
153
+ * },
154
+ * "ios": {
155
+ * "osVer": "12.0",
156
+ * "uniVer": "√",
157
+ * "unixVer": "4.31"
158
+ * }
159
+ * },
160
+ * "web": {
161
+ * "uniVer": "x",
162
+ * "unixVer": "x"
163
+ * }
164
+ * }
165
+ */
166
+ onError(callback : AdErrorCallBackEvent) : void
167
+ /**
168
+ * 解除绑定 error 事件的监听器
169
+ * @uniPlatform {
170
+ * "app": {
171
+ * "android": {
172
+ * "osVer": "4.4",
173
+ * "uniVer": "√",
174
+ * "unixVer": "4.31"
175
+ * },
176
+ * "ios": {
177
+ * "osVer": "12.0",
178
+ * "uniVer": "√",
179
+ * "unixVer": "4.31"
180
+ * }
181
+ * },
182
+ * "web": {
183
+ * "uniVer": "x",
184
+ * "unixVer": "x"
185
+ * }
186
+ * }
187
+ */
188
+ offError(callback : AdErrorCallBackEvent) : void
189
+ /**
190
+ * 绑定 close 事件的监听器
191
+ * @uniPlatform {
192
+ * "app": {
193
+ * "android": {
194
+ * "osVer": "4.4",
195
+ * "uniVer": "√",
196
+ * "unixVer": "4.31"
197
+ * },
198
+ * "ios": {
199
+ * "osVer": "12.0",
200
+ * "uniVer": "√",
201
+ * "unixVer": "4.31"
202
+ * }
203
+ * },
204
+ * "web": {
205
+ * "uniVer": "x",
206
+ * "unixVer": "x"
207
+ * }
208
+ * }
209
+ */
210
+ onClose(callback : AdCallBackEvent) : void
211
+ /**
212
+ * 解除绑定 close 事件的监听器
213
+ * @uniPlatform {
214
+ * "app": {
215
+ * "android": {
216
+ * "osVer": "4.4",
217
+ * "uniVer": "√",
218
+ * "unixVer": "4.31"
219
+ * },
220
+ * "ios": {
221
+ * "osVer": "12.0",
222
+ * "uniVer": "√",
223
+ * "unixVer": "4.31"
224
+ * }
225
+ * },
226
+ * "web": {
227
+ * "uniVer": "x",
228
+ * "unixVer": "x"
229
+ * }
230
+ * }
231
+ */
232
+ offClose(callback : AdCallBackEvent) : void
233
+ /**
234
+ * 绑定广告可点击屏幕区域事件的监听器
235
+ * @uniPlatform {
236
+ * "app": {
237
+ * "android": {
238
+ * "osVer": "4.4",
239
+ * "uniVer": "√",
240
+ * "unixVer": "4.31"
241
+ * },
242
+ * "ios": {
243
+ * "osVer": "12.0",
244
+ * "uniVer": "√",
245
+ * "unixVer": "4.31"
246
+ * }
247
+ * },
248
+ * "web": {
249
+ * "uniVer": "x",
250
+ * "unixVer": "x"
251
+ * }
252
+ * }
253
+ */
254
+ onAdClicked(callback : AdCallBackEvent) : void;
36
255
  }
37
256
 
38
257
  export interface IVideoAd {
@@ -285,7 +504,7 @@ export interface IRewardedVideoAd {
285
504
 
286
505
  export type VideoAdClose = {
287
506
  /**
288
- * true标识广告播放完毕或者达到发放奖励的条件
507
+ * true表示广告播放完毕或者达到发放奖励的条件
289
508
  */
290
509
  isEnded : boolean
291
510
  }
@@ -401,12 +620,12 @@ export interface Uni {
401
620
  * "android": {
402
621
  * "osVer": "4.4",
403
622
  * "uniVer": "√",
404
- * "unixVer": "4.27"
623
+ * "unixVer": "4.31"
405
624
  * },
406
625
  * "ios": {
407
626
  * "osVer": "12.0",
408
627
  * "uniVer": "√",
409
- * "unixVer": "x"
628
+ * "unixVer": "4.31"
410
629
  * }
411
630
  * },
412
631
  * "web": {
@@ -1,16 +1,17 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
- LatLng as LatLngOrigin,
3
+ LocationObject as LocationObjectOrigin,
4
4
  Marker as MarkerOrigin,
5
+ MapMarkerCallout as MapMarkerCalloutOrigin,
6
+ MapMarkerLabel as MapMarkerLabelOrigin,
7
+ Anchor as AnchorOrigin,
5
8
  Polyline as PolylineOrigin,
6
9
  Polygon as PolygonOrigin,
7
10
  Circle as CircleOrigin,
8
- Position as PositionOrigin,
11
+ ControlPosition as ControlPositionOrigin,
9
12
  Control as ControlOrigin,
10
13
  Bounds as BoundsOrigin,
11
- GroundOverlay as GroundOverlayOrigin,
12
14
  CreateMapContext as CreateMapContextOrigin,
13
- LocationObject as LocationObjectOrigin,
14
15
  MapContextGetCenterLocationOptions as MapContextGetCenterLocationOptionsOrigin,
15
16
  MapContextMoveToLocationOptions as MapContextMoveToLocationOptionsOrigin,
16
17
  MapContextTranslateMarkerOptions as MapContextTranslateMarkerOptionsOrigin,
@@ -25,22 +26,25 @@ import {
25
26
  MapContextRemoveGroundOverlayOptions as MapContextRemoveGroundOverlayOptionsOrigin,
26
27
  MapContextRemoveMarkersOptions as MapContextRemoveMarkersOptionsOrigin,
27
28
  MapContextUpdateGroundOverlayOptions as MapContextUpdateGroundOverlayOptionsOrigin,
29
+ MapErrorCode as MapErrorCodeOrigin,
30
+ MapContextFail as MapContextFailOrigin,
28
31
  MapContext as MapContextOrigin,
29
32
  Uni as UniOrigin
30
33
  } from './interface'
31
34
 
32
35
  declare global {
33
- type LatLng = LatLngOrigin
36
+ type LocationObject = LocationObjectOrigin
34
37
  type Marker = MarkerOrigin
38
+ type MapMarkerCallout = MapMarkerCalloutOrigin
39
+ type MapMarkerLabel = MapMarkerLabelOrigin
40
+ type Anchor = AnchorOrigin
35
41
  type Polyline = PolylineOrigin
36
42
  type Polygon = PolygonOrigin
37
43
  type Circle = CircleOrigin
38
- type Position = PositionOrigin
44
+ type ControlPosition = ControlPositionOrigin
39
45
  type Control = ControlOrigin
40
46
  type Bounds = BoundsOrigin
41
- type GroundOverlay = GroundOverlayOrigin
42
47
  type CreateMapContext = CreateMapContextOrigin
43
- type LocationObject = LocationObjectOrigin
44
48
  type MapContextGetCenterLocationOptions = MapContextGetCenterLocationOptionsOrigin
45
49
  type MapContextMoveToLocationOptions = MapContextMoveToLocationOptionsOrigin
46
50
  type MapContextTranslateMarkerOptions = MapContextTranslateMarkerOptionsOrigin
@@ -55,6 +59,8 @@ declare global {
55
59
  type MapContextRemoveGroundOverlayOptions = MapContextRemoveGroundOverlayOptionsOrigin
56
60
  type MapContextRemoveMarkersOptions = MapContextRemoveMarkersOptionsOrigin
57
61
  type MapContextUpdateGroundOverlayOptions = MapContextUpdateGroundOverlayOptionsOrigin
62
+ type MapErrorCode = MapErrorCodeOrigin
63
+ type MapContextFail = MapContextFailOrigin
58
64
  type MapContext = MapContextOrigin
59
65
  interface Uni extends UniOrigin { }
60
66
  }
@@ -1,16 +1,17 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
- LatLng,
3
+ LocationObject,
4
4
  Marker,
5
+ MapMarkerCallout,
6
+ MapMarkerLabel,
7
+ Anchor,
5
8
  Polyline,
6
9
  Polygon,
7
10
  Circle,
8
- Position,
11
+ ControlPosition,
9
12
  Control,
10
13
  Bounds,
11
- GroundOverlay,
12
14
  CreateMapContext,
13
- LocationObject,
14
15
  MapContextGetCenterLocationOptions,
15
16
  MapContextMoveToLocationOptions,
16
17
  MapContextTranslateMarkerOptions,
@@ -25,5 +26,7 @@ export {
25
26
  MapContextRemoveGroundOverlayOptions,
26
27
  MapContextRemoveMarkersOptions,
27
28
  MapContextUpdateGroundOverlayOptions,
29
+ MapErrorCode,
30
+ MapContextFail,
28
31
  MapContext,
29
32
  } from './interface'