@dcloudio/uni-app-x 0.7.46 → 0.7.48

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 (86) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +160 -4
  3. package/types/native/IUniElement.d.ts +1248 -3
  4. package/types/native/IUniNativeViewElement.d.ts +4 -0
  5. package/types/native/UniAnimation.d.ts +22 -22
  6. package/types/native/UniElement.d.ts +6 -2
  7. package/types/native/UniFormControlElement.d.ts +1 -0
  8. package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
  9. package/types/page.d.ts +91 -94
  10. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  11. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +74 -427
  13. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  14. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +1 -1
  15. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
  16. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +1 -1
  17. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +18 -18
  18. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  19. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  20. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  21. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +1 -1
  22. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +1 -1
  23. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  25. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -2
  26. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  27. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
  28. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
  29. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
  30. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
  31. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +14 -14
  32. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +162 -20
  34. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
  35. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
  36. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1668 -1666
  38. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +14 -14
  39. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +3 -3
  40. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +11 -11
  41. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +12 -12
  42. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +234 -92
  43. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +7 -7
  44. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  45. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  46. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +1 -1
  47. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +17 -17
  48. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
  49. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
  50. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
  51. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +7 -7
  52. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +40 -40
  53. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +6 -6
  54. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +59 -59
  55. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  56. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  57. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +18 -18
  58. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +4 -4
  59. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +49 -49
  60. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  61. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
  62. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
  63. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
  64. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +30 -30
  65. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +1 -1
  66. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  67. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +8 -8
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +10 -10
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +9 -9
  70. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +21 -21
  71. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
  75. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +16 -16
  76. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +40 -40
  77. package/types/uni/uts-plugin-component/global.d.ts +1 -0
  78. package/types/uni/uts-plugin-component/index.d.ts +1 -0
  79. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
  80. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
  81. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
  82. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
  83. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
  84. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
  85. package/uts-plugin.d.ts +4 -0
  86. package/types/native/global.d.ts +0 -646
package/types/page.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  /// <reference path='./common.d.ts' />
2
- import { UniDialogPage, UniNormalPage, UniPage } from './UniPage'
2
+ import { UniDialogPage, UniNormalPage, UniPage } from "./native/UniPage"
3
3
 
4
4
  interface CustomShareContent {
5
5
  /**
6
6
  * 转发标题。默认值:当前应用名称
7
7
  */
8
- title?: string;
8
+ title?: string
9
9
  /**
10
10
  * 转发路径,必须是以 / 开头的完整路径。默认值:当前页面 path
11
11
  */
12
- path?: string;
12
+ path?: string
13
13
  /**
14
14
  * 自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径。支持PNG及JPG。显示图片长宽比是 5:4,默认值:使用默认截图
15
15
  */
16
- imageUrl?: string;
16
+ imageUrl?: string
17
17
  /**
18
18
  * 如果该参数存在,则以 resolve 结果为准,如果三秒内不 resolve,分享会使用上面传入的默认参数
19
19
  */
@@ -21,115 +21,115 @@ interface CustomShareContent {
21
21
  /**
22
22
  * 转发标题。默认值:当前应用名称
23
23
  */
24
- title?: string;
24
+ title?: string
25
25
  /**
26
26
  * 转发路径,必须是以 / 开头的完整路径。默认值:当前页面 path
27
27
  */
28
- path?: string;
28
+ path?: string
29
29
  /**
30
30
  * 自定义图片路径,可以是本地文件路径、代码包文件路径或者网络图片路径。支持PNG及JPG。显示图片长宽比是 5:4,默认值:使用默认截图
31
31
  */
32
- imageUrl?: string;
33
- }>;
32
+ imageUrl?: string
33
+ }>
34
34
  /**
35
35
  * 自定义分享描述
36
36
  */
37
- desc?: string;
37
+ desc?: string
38
38
  /**
39
39
  * 自定义吱口令文案,最多 28 个字符
40
40
  */
41
- content?: string;
41
+ content?: string
42
42
  /**
43
43
  * 自定义分享预览大图,建议尺寸 750x825,支持:网络图片路径、apFilePath 路径、相对路径,不支持:base64
44
44
  */
45
- bgImgUrl?: string;
45
+ bgImgUrl?: string
46
46
  /**
47
47
  * 自定义社交图片链接,作为分享到支付宝好友时的主体图片。建议尺寸 376x330
48
48
  */
49
- scImgUrl?: string;
49
+ scImgUrl?: string
50
50
  /**
51
51
  * 生成分享截图的搜索引导,设置该参数后,会在分享图片中增加上支付宝搜“设置关键字”的内容,设置关键字不能超过 5 个字
52
52
  */
53
- searchTip?: string;
53
+ searchTip?: string
54
54
  /**
55
55
  * 分享成功后回调
56
56
  */
57
- success?: () => void;
57
+ success?: () => void
58
58
  /**
59
59
  * 分享失败后回调
60
60
  */
61
- fail?: () => void;
61
+ fail?: () => void
62
62
  /**
63
63
  * 开发者后台设置的分享素材模板 id
64
64
  */
65
- templateId?: string;
65
+ templateId?: string
66
66
  /**
67
67
  * PC端打开小程序加载的页面,不支持可传空字符串
68
68
  */
69
- PCPath?: string;
69
+ PCPath?: string
70
70
  /**
71
71
  * PC端打开小程序加载的模式,若需要在PC端打开小程序,则必须传PCMode字段
72
72
  */
73
- PCMode?: string;
73
+ PCMode?: string
74
74
  /**
75
75
  * PCQQ、低版本手机QQ无法执行小程序时打开的H5页面
76
76
  */
77
- generalWebpageUrl?: string;
77
+ generalWebpageUrl?: string
78
78
  /**
79
79
  * 监听用户点击页面内转发按钮的,只有带上该参数,才支持快速分享
80
80
  */
81
- entryDataHash?: string;
81
+ entryDataHash?: string
82
82
  /**
83
83
  * 分享模板id,可以使用不同的分享模版,可选模版参考管理端分享模版一栏
84
84
  */
85
- shareTemplateId?: string;
85
+ shareTemplateId?: string
86
86
  /**
87
87
  * 分享模板的数据,不同的模板id需要不同的数据,数据的格式请参考管理端分享模版一栏
88
88
  */
89
- shareTemplateData?: string;
89
+ shareTemplateData?: string
90
90
  /**
91
91
  * 指定分享的类型
92
92
  */
93
- shareType?: string;
93
+ shareType?: string
94
94
  /**
95
95
  * 转发形式(1 - 京东小程序正式版;2 - 京东小程序体验版;京东App9.0.0开始不填或者其他值都会先判断是否有url参数,如果有打开分享后显示url对应页面,否则默认生成京东小程序官方的一个分享中间页面,点击可跳到京东app里面的对应小程序)
96
96
  */
97
- type?: string;
97
+ type?: string
98
98
  /**
99
99
  * 渠道(不写默认微信朋友,微信朋友圈),可用值有:Wxfriends,QQfriends,Wxmoments,QQzone,Sinaweibo
100
100
  */
101
- channel?: string;
101
+ channel?: string
102
102
  /**
103
103
  * h5链接地址(h5分享填写,不填默认中间页)
104
104
  */
105
- url?: string;
105
+ url?: string
106
106
  /**
107
107
  * 口令分享渠道,可用值有:Wxfriends,QQfriends,Wxmoments,QQzone,Sinaweibo,当需要口令分享时,需要配置此选项
108
108
  */
109
- keyShareChannel?: string;
109
+ keyShareChannel?: string
110
110
  /**
111
111
  * 海报分享,本地图片地址(海报图片由开发者生成后将图片地址传入jdfile开头的格式)
112
112
  */
113
- localImageUrl?: string;
113
+ localImageUrl?: string
114
114
  /**
115
115
  * 海报分享,网络图片地址(海报图片由开发者生成后将图片地址传入),注意:localImageUrl、onlineImageUrl建议开发者使用时只传一个值 如果传入两个值 优先localImageUrl
116
116
  */
117
- onlineImageUrl?: string;
117
+ onlineImageUrl?: string
118
118
  }
119
119
 
120
120
  interface ShareTimelineContent {
121
121
  /**
122
122
  * 自定义标题,即朋友圈列表页上显示的标题。默认值:当前小程序名称
123
123
  */
124
- title?: string;
124
+ title?: string
125
125
  /**
126
126
  * 自定义页面路径中携带的参数,如 path?a=1&b=2 的 “?” 后面部分。默认值:当前页面路径携带的参数
127
127
  */
128
- query?: string;
128
+ query?: string
129
129
  /**
130
130
  * 自定义图片路径,可以是本地文件或者网络图片。支持 PNG 及 JPG,显示图片长宽比是 1:1。默认值:小程序 Logo
131
131
  */
132
- imageUrl?: string;
132
+ imageUrl?: string
133
133
  }
134
134
 
135
135
  interface OnResizeSize {
@@ -158,15 +158,15 @@ interface OnShareAppMessageOption {
158
158
  * - `button`:页面内转发按钮;
159
159
  * - `menu`:右上角转发菜单。
160
160
  */
161
- from: "button" | "menu";
161
+ from: "button" | "menu"
162
162
  /**
163
163
  * 如果 `from` 值是 `button`,则 `target` 是触发这次转发事件的 `button`,否则为 `undefined`
164
164
  */
165
- target: any;
165
+ target: any
166
166
  /**
167
167
  * 页面中包含 `<web-view>` 组件时,返回当前 `<web-view>` 的 url
168
168
  */
169
- webViewUrl?: string;
169
+ webViewUrl?: string
170
170
  }
171
171
 
172
172
  interface OnAddToFavoritesOption {
@@ -176,61 +176,60 @@ interface OnAddToFavoritesOption {
176
176
  * - `button`:页面内转发按钮;
177
177
  * - `menu`:右上角转发菜单。
178
178
  */
179
- from: "button" | "menu";
179
+ from: "button" | "menu"
180
180
  /**
181
181
  * 页面中包含 `<web-view>` 组件时,返回当前 `<web-view>` 的 url
182
182
  */
183
- webviewUrl: string;
183
+ webviewUrl: string
184
184
  }
185
185
 
186
186
  interface CustomFavoritesContent {
187
187
  /**
188
188
  * 自定义标题,默认值:页面标题或账号名称
189
189
  */
190
- title?: string;
190
+ title?: string
191
191
  /**
192
192
  * 自定义 query 字段
193
193
  */
194
- path?: string;
194
+ path?: string
195
195
  /**
196
196
  * 自定义图片,显示图片长宽比为 1:1
197
197
  */
198
- imageUrl?: string;
198
+ imageUrl?: string
199
199
  }
200
200
 
201
201
  interface OnNavigationBarButtonTapOption {
202
202
  /**
203
203
  * 原生标题栏按钮数组的下标
204
204
  */
205
- index: number;
205
+ index: number
206
206
  }
207
207
 
208
208
  /**
209
209
  * Construct a type with a set of properties K of type T
210
210
  */
211
211
  type Record<K extends keyof any, T> = {
212
- [P in K]: T;
213
- };
212
+ [P in K]: T
213
+ }
214
214
 
215
215
  type NativeMap<K extends string, V> = Map<K, V> & Record<K, V>
216
216
 
217
-
218
217
  interface NavigationBarSearchInputEvent {
219
218
  /**
220
219
  * 搜索输入框输入内容
221
220
  */
222
- text: string;
221
+ text: string
223
222
  }
224
223
 
225
224
  interface PageInstanceBaseProps<D extends AnyObject = any> {
226
225
  /**
227
226
  * 到当前页面的路径,类型为 `String`
228
227
  */
229
- route?: string;
228
+ route?: string
230
229
  /**
231
230
  * 当前页面的 Vue 实例
232
231
  */
233
- $vm?: any;
232
+ $vm?: any
234
233
  }
235
234
 
236
235
  interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> extends PageInstanceBaseProps<D> {
@@ -258,7 +257,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
258
257
  * "weixin": {
259
258
  * "hostVer": "√",
260
259
  * "uniVer": "√",
261
- * "unixVer": "x"
260
+ * "unixVer": "4.41"
262
261
  * },
263
262
  * "alipay": {
264
263
  * "hostVer": "√",
@@ -302,7 +301,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
302
301
  * }
303
302
  *}
304
303
  */
305
- onLoad?(query: OnLoadOptions): void;
304
+ onLoad?(query: OnLoadOptions): void
306
305
  /**
307
306
  * 生命周期回调 监听页面显示
308
307
  *
@@ -326,7 +325,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
326
325
  * "weixin": {
327
326
  * "hostVer": "√",
328
327
  * "uniVer": "√",
329
- * "unixVer": "x"
328
+ * "unixVer": "4.41"
330
329
  * },
331
330
  * "alipay": {
332
331
  * "hostVer": "√",
@@ -370,7 +369,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
370
369
  * }
371
370
  *}
372
371
  */
373
- onShow?(): void;
372
+ onShow?(): void
374
373
  /**
375
374
  * 生命周期回调 监听页面初次渲染完成
376
375
  *
@@ -394,7 +393,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
394
393
  * "weixin": {
395
394
  * "hostVer": "√",
396
395
  * "uniVer": "√",
397
- * "unixVer": "x"
396
+ * "unixVer": "4.41"
398
397
  * },
399
398
  * "alipay": {
400
399
  * "hostVer": "√",
@@ -438,7 +437,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
438
437
  * }
439
438
  *}
440
439
  */
441
- onReady?(): void;
440
+ onReady?(): void
442
441
  /**
443
442
  * 生命周期回调 监听页面隐藏
444
443
  *
@@ -462,7 +461,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
462
461
  * "weixin": {
463
462
  * "hostVer": "√",
464
463
  * "uniVer": "√",
465
- * "unixVer": "x"
464
+ * "unixVer": "4.41"
466
465
  * },
467
466
  * "alipay": {
468
467
  * "hostVer": "√",
@@ -506,7 +505,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
506
505
  * }
507
506
  *}
508
507
  */
509
- onHide?(): void;
508
+ onHide?(): void
510
509
  /**
511
510
  * 生命周期回调 监听页面卸载
512
511
  *
@@ -530,7 +529,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
530
529
  * "weixin": {
531
530
  * "hostVer": "√",
532
531
  * "uniVer": "√",
533
- * "unixVer": "x"
532
+ * "unixVer": "4.41"
534
533
  * },
535
534
  * "alipay": {
536
535
  * "hostVer": "√",
@@ -574,7 +573,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
574
573
  * }
575
574
  *}
576
575
  */
577
- onUnload?(): void;
576
+ onUnload?(): void
578
577
  /**
579
578
  * 监听用户下拉动作
580
579
  * - 需要在 `pages.json` 的页面配置中开启 `enablePullDownRefresh` 。
@@ -599,7 +598,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
599
598
  * "weixin": {
600
599
  * "hostVer": "√",
601
600
  * "uniVer": "√",
602
- * "unixVer": "x"
601
+ * "unixVer": "4.41"
603
602
  * },
604
603
  * "alipay": {
605
604
  * "hostVer": "√",
@@ -643,7 +642,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
643
642
  * }
644
643
  *}
645
644
  */
646
- onPullDownRefresh?(): void;
645
+ onPullDownRefresh?(): void
647
646
  /**
648
647
  * 页面上拉触底事件的处理函数
649
648
  * - 可以在 `pages.json` 的页面配置中设置触发距离 `onReachBottomDistance` 。
@@ -667,7 +666,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
667
666
  * "weixin": {
668
667
  * "hostVer": "√",
669
668
  * "uniVer": "√",
670
- * "unixVer": "x"
669
+ * "unixVer": "4.41"
671
670
  * },
672
671
  * "alipay": {
673
672
  * "hostVer": "√",
@@ -711,7 +710,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
711
710
  * }
712
711
  *}
713
712
  */
714
- onReachBottom?(): void;
713
+ onReachBottom?(): void
715
714
  /**
716
715
  * 页面滚动触发事件的处理函数
717
716
  *
@@ -736,7 +735,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
736
735
  * "weixin": {
737
736
  * "hostVer": "√",
738
737
  * "uniVer": "√",
739
- * "unixVer": "x"
738
+ * "unixVer": "4.41"
740
739
  * },
741
740
  * "alipay": {
742
741
  * "hostVer": "√",
@@ -780,7 +779,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
780
779
  * }
781
780
  *}
782
781
  */
783
- onPageScroll?(options: OnPageScrollOptions): void;
782
+ onPageScroll?(options: OnPageScrollOptions): void
784
783
  /**
785
784
  * 页面尺寸改变时触发
786
785
  * @param options 页面滚动参数
@@ -803,7 +802,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
803
802
  * "weixin": {
804
803
  * "hostVer": "√",
805
804
  * "uniVer": "√",
806
- * "unixVer": "x"
805
+ * "unixVer": "4.41"
807
806
  * },
808
807
  * "alipay": {
809
808
  * "hostVer": "x",
@@ -847,7 +846,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
847
846
  * }
848
847
  *}
849
848
  */
850
- onResize?(options: OnResizeOptions): void;
849
+ onResize?(options: OnResizeOptions): void
851
850
  /**
852
851
  * 监听页面返回
853
852
  * @param options tab 点击参数
@@ -871,7 +870,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
871
870
  * "weixin": {
872
871
  * "hostVer": "x",
873
872
  * "uniVer": "x",
874
- * "unixVer": "x"
873
+ * "unixVer": "4.41"
875
874
  * },
876
875
  * "alipay": {
877
876
  * "hostVer": "√",
@@ -915,7 +914,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
915
914
  * }
916
915
  *}
917
916
  */
918
- onBackPress?(options: OnBackPressOptions): boolean | null;
917
+ onBackPress?(options: OnBackPressOptions): boolean | null
919
918
  /**
920
919
  * 生命周期回调 监听页面初始化
921
920
  *
@@ -984,7 +983,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
984
983
  * }
985
984
  *}
986
985
  */
987
- onInit?(query?: AnyObject): void;
986
+ onInit?(query?: AnyObject): void
988
987
  /**
989
988
  * 用户点击右上角转发
990
989
  *
@@ -1010,7 +1009,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1010
1009
  * "weixin": {
1011
1010
  * "hostVer": "√",
1012
1011
  * "uniVer": "√",
1013
- * "unixVer": "x"
1012
+ * "unixVer": "4.41"
1014
1013
  * },
1015
1014
  * "alipay": {
1016
1015
  * "hostVer": "√",
@@ -1054,7 +1053,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1054
1053
  * }
1055
1054
  *}
1056
1055
  */
1057
- onShareAppMessage?(options: OnShareAppMessageOption): CustomShareContent | Promise<Omit<CustomShareContent, "promise">>;
1056
+ onShareAppMessage?(options: OnShareAppMessageOption): CustomShareContent | Promise<Omit<CustomShareContent, "promise">>
1058
1057
  /**
1059
1058
  * 用户点击右上角转发到朋友圈
1060
1059
  *
@@ -1078,7 +1077,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1078
1077
  * "weixin": {
1079
1078
  * "hostVer": "√",
1080
1079
  * "uniVer": ">=2.8.1",
1081
- * "unixVer": "x"
1080
+ * "unixVer": "4.41"
1082
1081
  * },
1083
1082
  * "alipay": {
1084
1083
  * "hostVer": "x",
@@ -1122,7 +1121,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1122
1121
  * }
1123
1122
  *}
1124
1123
  */
1125
- onShareTimeline?(): ShareTimelineContent;
1124
+ onShareTimeline?(): ShareTimelineContent
1126
1125
  /**
1127
1126
  * 用户点击右上角收藏
1128
1127
  *
@@ -1146,7 +1145,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1146
1145
  * "weixin": {
1147
1146
  * "hostVer": "√",
1148
1147
  * "uniVer": ">=2.8.1",
1149
- * "unixVer": "x"
1148
+ * "unixVer": "4.41"
1150
1149
  * },
1151
1150
  * "alipay": {
1152
1151
  * "hostVer": "x",
@@ -1190,7 +1189,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1190
1189
  * }
1191
1190
  *}
1192
1191
  */
1193
- onAddToFavorites?(options: OnAddToFavoritesOption): CustomFavoritesContent;
1192
+ onAddToFavorites?(options: OnAddToFavoritesOption): CustomFavoritesContent
1194
1193
  /**
1195
1194
  * 当前是 tab 页时,点击 tab 时触发
1196
1195
  * @param options tab 点击参数
@@ -1213,7 +1212,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1213
1212
  * "weixin": {
1214
1213
  * "hostVer": "√",
1215
1214
  * "uniVer": "√",
1216
- * "unixVer": "x"
1215
+ * "unixVer": "4.41"
1217
1216
  * },
1218
1217
  * "alipay": {
1219
1218
  * "hostVer": "√",
@@ -1257,7 +1256,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1257
1256
  * }
1258
1257
  *}
1259
1258
  */
1260
- onTabItemTap?(options: OnTabItemTapOption): void;
1259
+ onTabItemTap?(options: OnTabItemTapOption): void
1261
1260
  /**
1262
1261
  * 监听原生标题栏按钮点击事件
1263
1262
  * @param options tab 点击参数
@@ -1324,7 +1323,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1324
1323
  * }
1325
1324
  *}
1326
1325
  */
1327
- onNavigationBarButtonTap?(options: OnNavigationBarButtonTapOption): void;
1326
+ onNavigationBarButtonTap?(options: OnNavigationBarButtonTapOption): void
1328
1327
  /**
1329
1328
  * 监听原生标题栏搜索输入框输入内容变化事件
1330
1329
  *
@@ -1390,7 +1389,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1390
1389
  * }
1391
1390
  *}
1392
1391
  */
1393
- onNavigationBarSearchInputChanged?(event: NavigationBarSearchInputEvent): void;
1392
+ onNavigationBarSearchInputChanged?(event: NavigationBarSearchInputEvent): void
1394
1393
  /**
1395
1394
  * 监听原生标题栏搜索输入框搜索事件,用户点击软键盘上的“搜索”按钮时触发。
1396
1395
  *
@@ -1456,7 +1455,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1456
1455
  * }
1457
1456
  *}
1458
1457
  */
1459
- onNavigationBarSearchInputConfirmed?(event: NavigationBarSearchInputEvent): void;
1458
+ onNavigationBarSearchInputConfirmed?(event: NavigationBarSearchInputEvent): void
1460
1459
  /**
1461
1460
  * 监听原生标题栏搜索输入框点击事件
1462
1461
  *
@@ -1522,7 +1521,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
1522
1521
  * }
1523
1522
  *}
1524
1523
  */
1525
- onNavigationBarSearchInputClicked?(): void;
1524
+ onNavigationBarSearchInputClicked?(): void
1526
1525
  }
1527
1526
 
1528
1527
  interface Page {
@@ -1552,7 +1551,7 @@ interface Page {
1552
1551
  * }
1553
1552
  * }
1554
1553
  */
1555
- $nativePage: IPage | null;
1554
+ $nativePage: IPage | null
1556
1555
  /**
1557
1556
  * 获取当前页面样式 \
1558
1557
  * 包含 pages.json 页面下的 style 节点和根节点 globalStyle 支持的属性,详情见下面的PageStyle
@@ -1576,7 +1575,7 @@ interface Page {
1576
1575
  * }
1577
1576
  * }
1578
1577
  */
1579
- $getPageStyle(): UTSJSONObject;
1578
+ $getPageStyle(): UTSJSONObject
1580
1579
  /**
1581
1580
  * 设置当前页面样式 \
1582
1581
  * 包含 pages.json 页面下的 style 节点和根节点 globalStyle 支持的属性,详情见下面的PageStyle
@@ -1600,7 +1599,7 @@ interface Page {
1600
1599
  * }
1601
1600
  * }
1602
1601
  */
1603
- $setPageStyle(style: UTSJSONObject): void;
1602
+ $setPageStyle(style: UTSJSONObject): void
1604
1603
  }
1605
1604
 
1606
1605
  type PageOrigin = Page
@@ -1678,38 +1677,38 @@ declare global {
1678
1677
  * }
1679
1678
  * }
1680
1679
  */
1681
- const getCurrentPages: () => UniPage[];
1680
+ const getCurrentPages: () => UniPage[]
1682
1681
  interface OnLoadOptions {
1683
- [key: string]: string | null;
1682
+ [key: string]: string | null
1684
1683
  }
1685
1684
  interface OnBackPressOptions {
1686
1685
  /**
1687
1686
  * - backbutton 顶部导航栏左边的返回按钮或 Android 实体返回键
1688
1687
  * - navigateBack 返回 API,即 uni.navigateBack()
1689
1688
  */
1690
- from: 'backbutton' | 'navigateBack';
1689
+ from: "backbutton" | "navigateBack"
1691
1690
  }
1692
1691
 
1693
1692
  interface OnPageScrollOptions {
1694
1693
  /**
1695
1694
  * 页面在垂直方向已滚动的距离(单位 px)
1696
1695
  */
1697
- scrollTop: number;
1696
+ scrollTop: number
1698
1697
  }
1699
1698
 
1700
1699
  interface OnTabItemTapOption {
1701
1700
  /**
1702
1701
  * 被点击 tabItem 的序号,从0开始
1703
1702
  */
1704
- index: number;
1703
+ index: number
1705
1704
  /**
1706
1705
  * 被点击 tabItem 的页面路径
1707
1706
  */
1708
- pagePath: string;
1707
+ pagePath: string
1709
1708
  /**
1710
1709
  * 被点击 tabItem 的按钮文字
1711
1710
  */
1712
- text: string;
1711
+ text: string
1713
1712
  }
1714
1713
 
1715
1714
  interface OnResizeOptions {
@@ -1727,8 +1726,6 @@ declare global {
1727
1726
  type UniPage = UniPageOrigin
1728
1727
  }
1729
1728
 
1730
- declare module '@vue/runtime-core' {
1731
- interface ComponentCustomOptions extends PageInstance {
1732
-
1733
- }
1729
+ declare module "@vue/runtime-core" {
1730
+ interface ComponentCustomOptions extends PageInstance {}
1734
1731
  }
@@ -42,6 +42,7 @@
42
42
  /// <reference path='./lib/uni-loadFontFace/utssdk/global.d.ts' />
43
43
  /// <reference path='./lib/uni-makePhoneCall/utssdk/global.d.ts' />
44
44
  /// <reference path='./lib/uni-media/utssdk/global.d.ts' />
45
+ /// <reference path='./lib/uni-modal/utssdk/global.d.ts' />
45
46
  /// <reference path='./lib/uni-navigationBar/utssdk/global.d.ts' />
46
47
  /// <reference path='./lib/uni-network/utssdk/global.d.ts' />
47
48
  /// <reference path='./lib/uni-oauth-huawei/utssdk/global.d.ts' />
@@ -57,6 +58,7 @@
57
58
  /// <reference path='./lib/uni-privacy/utssdk/global.d.ts' />
58
59
  /// <reference path='./lib/uni-prompt/utssdk/global.d.ts' />
59
60
  /// <reference path='./lib/uni-pullDownRefresh/utssdk/global.d.ts' />
61
+ /// <reference path='./lib/uni-requestMerchantTransfer/utssdk/global.d.ts' />
60
62
  /// <reference path='./lib/uni-route/utssdk/global.d.ts' />
61
63
  /// <reference path='./lib/uni-rpx2px/utssdk/global.d.ts' />
62
64
  /// <reference path='./lib/uni-scanCode/utssdk/global.d.ts' />
@@ -42,6 +42,7 @@ export * from './lib/uni-keyboard/utssdk'
42
42
  export * from './lib/uni-loadFontFace/utssdk'
43
43
  export * from './lib/uni-makePhoneCall/utssdk'
44
44
  export * from './lib/uni-media/utssdk'
45
+ export * from './lib/uni-modal/utssdk'
45
46
  export * from './lib/uni-navigationBar/utssdk'
46
47
  export * from './lib/uni-network/utssdk'
47
48
  export * from './lib/uni-oauth-huawei/utssdk'
@@ -57,6 +58,7 @@ export * from './lib/uni-previewImage/utssdk'
57
58
  export * from './lib/uni-privacy/utssdk'
58
59
  export * from './lib/uni-prompt/utssdk'
59
60
  export * from './lib/uni-pullDownRefresh/utssdk'
61
+ export * from './lib/uni-requestMerchantTransfer/utssdk'
60
62
  export * from './lib/uni-route/utssdk'
61
63
  export * from './lib/uni-rpx2px/utssdk'
62
64
  export * from './lib/uni-scanCode/utssdk'