@dcloudio/uni-app-x 0.7.52 → 0.7.53
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.
- package/package.json +1 -1
- package/types/app.d.ts +1 -1
- package/types/native/DrawableContext.d.ts +6 -1
- package/types/native/UniElement.d.ts +3 -1
- package/types/native/UniNativeApp.d.ts +1 -1
- package/types/native/UniNativePage.d.ts +54 -0
- package/types/native/UniPage.d.ts +111 -6
- package/types/page.d.ts +6 -0
- package/types/uni/env/index.d.ts +35 -2
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +425 -70
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +30 -5
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -17
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +83 -85
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +7 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +9 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +9 -1
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +217 -138
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +18 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +7 -3
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2570 -2780
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +98 -2
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -3
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +9 -1
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +10 -1
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +50 -50
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +3 -5
- package/types/uni/uts-plugin-biz/global.d.ts +1 -1
- package/types/uni/uts-plugin-biz/index.d.ts +1 -1
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/global.d.ts +28 -0
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +212 -0
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +509 -84
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +14 -14
|
@@ -42,22 +42,242 @@ type ShowActionSheetCompleteCallback = (result: ShowActionSheetComplete) => void
|
|
|
42
42
|
export type ShowActionSheetOptions = {
|
|
43
43
|
/**
|
|
44
44
|
* 菜单标题
|
|
45
|
+
* @uniPlatform {
|
|
46
|
+
* "mp": {
|
|
47
|
+
* "weixin": {
|
|
48
|
+
* "hostVer": "√",
|
|
49
|
+
* "uniVer": "√",
|
|
50
|
+
* "unixVer": "4.41"
|
|
51
|
+
* },
|
|
52
|
+
* "alipay": {
|
|
53
|
+
* "hostVer": "-",
|
|
54
|
+
* "uniVer": "-",
|
|
55
|
+
* "unixVer": "-"
|
|
56
|
+
* },
|
|
57
|
+
* "baidu": {
|
|
58
|
+
* "hostVer": "-",
|
|
59
|
+
* "uniVer": "-",
|
|
60
|
+
* "unixVer": "-"
|
|
61
|
+
* },
|
|
62
|
+
* "toutiao": {
|
|
63
|
+
* "hostVer": "-",
|
|
64
|
+
* "uniVer": "-",
|
|
65
|
+
* "unixVer": "-"
|
|
66
|
+
* },
|
|
67
|
+
* "lark": {
|
|
68
|
+
* "hostVer": "-",
|
|
69
|
+
* "uniVer": "-",
|
|
70
|
+
* "unixVer": "-"
|
|
71
|
+
* },
|
|
72
|
+
* "qq": {
|
|
73
|
+
* "hostVer": "-",
|
|
74
|
+
* "uniVer": "-",
|
|
75
|
+
* "unixVer": "-"
|
|
76
|
+
* },
|
|
77
|
+
* "kuaishou": {
|
|
78
|
+
* "hostVer": "-",
|
|
79
|
+
* "uniVer": "-",
|
|
80
|
+
* "unixVer": "-"
|
|
81
|
+
* },
|
|
82
|
+
* "jd": {
|
|
83
|
+
* "hostVer": "-",
|
|
84
|
+
* "uniVer": "-",
|
|
85
|
+
* "unixVer": "-"
|
|
86
|
+
* }
|
|
87
|
+
* }
|
|
88
|
+
* }
|
|
45
89
|
*/
|
|
46
90
|
title?: string | null,
|
|
47
91
|
/**
|
|
48
92
|
* 警示文案(仅微信小程序真机有效)
|
|
49
|
-
|
|
93
|
+
* @uniPlatform {
|
|
94
|
+
* "mp": {
|
|
95
|
+
* "weixin": {
|
|
96
|
+
* "hostVer": "√",
|
|
97
|
+
* "uniVer": "√",
|
|
98
|
+
* "unixVer": "4.41"
|
|
99
|
+
* },
|
|
100
|
+
* "alipay": {
|
|
101
|
+
* "hostVer": "-",
|
|
102
|
+
* "uniVer": "-",
|
|
103
|
+
* "unixVer": "-"
|
|
104
|
+
* },
|
|
105
|
+
* "baidu": {
|
|
106
|
+
* "hostVer": "-",
|
|
107
|
+
* "uniVer": "-",
|
|
108
|
+
* "unixVer": "-"
|
|
109
|
+
* },
|
|
110
|
+
* "toutiao": {
|
|
111
|
+
* "hostVer": "-",
|
|
112
|
+
* "uniVer": "-",
|
|
113
|
+
* "unixVer": "-"
|
|
114
|
+
* },
|
|
115
|
+
* "lark": {
|
|
116
|
+
* "hostVer": "-",
|
|
117
|
+
* "uniVer": "-",
|
|
118
|
+
* "unixVer": "-"
|
|
119
|
+
* },
|
|
120
|
+
* "qq": {
|
|
121
|
+
* "hostVer": "-",
|
|
122
|
+
* "uniVer": "-",
|
|
123
|
+
* "unixVer": "-"
|
|
124
|
+
* },
|
|
125
|
+
* "kuaishou": {
|
|
126
|
+
* "hostVer": "-",
|
|
127
|
+
* "uniVer": "-",
|
|
128
|
+
* "unixVer": "-"
|
|
129
|
+
* },
|
|
130
|
+
* "jd": {
|
|
131
|
+
* "hostVer": "-",
|
|
132
|
+
* "uniVer": "-",
|
|
133
|
+
* "unixVer": "-"
|
|
134
|
+
* }
|
|
135
|
+
* }
|
|
136
|
+
* }
|
|
137
|
+
*/
|
|
50
138
|
alertText?: string | null,
|
|
51
139
|
/**
|
|
52
140
|
* 按钮的文字数组
|
|
141
|
+
* @uniPlatform {
|
|
142
|
+
* "mp": {
|
|
143
|
+
* "weixin": {
|
|
144
|
+
* "hostVer": "√",
|
|
145
|
+
* "uniVer": "√",
|
|
146
|
+
* "unixVer": "4.41"
|
|
147
|
+
* },
|
|
148
|
+
* "alipay": {
|
|
149
|
+
* "hostVer": "-",
|
|
150
|
+
* "uniVer": "-",
|
|
151
|
+
* "unixVer": "-"
|
|
152
|
+
* },
|
|
153
|
+
* "baidu": {
|
|
154
|
+
* "hostVer": "-",
|
|
155
|
+
* "uniVer": "-",
|
|
156
|
+
* "unixVer": "-"
|
|
157
|
+
* },
|
|
158
|
+
* "toutiao": {
|
|
159
|
+
* "hostVer": "-",
|
|
160
|
+
* "uniVer": "-",
|
|
161
|
+
* "unixVer": "-"
|
|
162
|
+
* },
|
|
163
|
+
* "lark": {
|
|
164
|
+
* "hostVer": "-",
|
|
165
|
+
* "uniVer": "-",
|
|
166
|
+
* "unixVer": "-"
|
|
167
|
+
* },
|
|
168
|
+
* "qq": {
|
|
169
|
+
* "hostVer": "-",
|
|
170
|
+
* "uniVer": "-",
|
|
171
|
+
* "unixVer": "-"
|
|
172
|
+
* },
|
|
173
|
+
* "kuaishou": {
|
|
174
|
+
* "hostVer": "-",
|
|
175
|
+
* "uniVer": "-",
|
|
176
|
+
* "unixVer": "-"
|
|
177
|
+
* },
|
|
178
|
+
* "jd": {
|
|
179
|
+
* "hostVer": "-",
|
|
180
|
+
* "uniVer": "-",
|
|
181
|
+
* "unixVer": "-"
|
|
182
|
+
* }
|
|
183
|
+
* }
|
|
184
|
+
* }
|
|
53
185
|
*/
|
|
54
186
|
itemList: string[],
|
|
55
187
|
/**
|
|
56
188
|
* 按钮的文字颜色,字符串格式
|
|
189
|
+
* @uniPlatform {
|
|
190
|
+
* "mp": {
|
|
191
|
+
* "weixin": {
|
|
192
|
+
* "hostVer": "√",
|
|
193
|
+
* "uniVer": "√",
|
|
194
|
+
* "unixVer": "4.41"
|
|
195
|
+
* },
|
|
196
|
+
* "alipay": {
|
|
197
|
+
* "hostVer": "-",
|
|
198
|
+
* "uniVer": "-",
|
|
199
|
+
* "unixVer": "-"
|
|
200
|
+
* },
|
|
201
|
+
* "baidu": {
|
|
202
|
+
* "hostVer": "-",
|
|
203
|
+
* "uniVer": "-",
|
|
204
|
+
* "unixVer": "-"
|
|
205
|
+
* },
|
|
206
|
+
* "toutiao": {
|
|
207
|
+
* "hostVer": "-",
|
|
208
|
+
* "uniVer": "-",
|
|
209
|
+
* "unixVer": "-"
|
|
210
|
+
* },
|
|
211
|
+
* "lark": {
|
|
212
|
+
* "hostVer": "-",
|
|
213
|
+
* "uniVer": "-",
|
|
214
|
+
* "unixVer": "-"
|
|
215
|
+
* },
|
|
216
|
+
* "qq": {
|
|
217
|
+
* "hostVer": "-",
|
|
218
|
+
* "uniVer": "-",
|
|
219
|
+
* "unixVer": "-"
|
|
220
|
+
* },
|
|
221
|
+
* "kuaishou": {
|
|
222
|
+
* "hostVer": "-",
|
|
223
|
+
* "uniVer": "-",
|
|
224
|
+
* "unixVer": "-"
|
|
225
|
+
* },
|
|
226
|
+
* "jd": {
|
|
227
|
+
* "hostVer": "-",
|
|
228
|
+
* "uniVer": "-",
|
|
229
|
+
* "unixVer": "-"
|
|
230
|
+
* }
|
|
231
|
+
* }
|
|
232
|
+
* }
|
|
57
233
|
*/
|
|
58
234
|
itemColor?: string.ColorString | null,
|
|
59
235
|
/**
|
|
60
236
|
* 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
|
|
237
|
+
* @uniPlatform {
|
|
238
|
+
* "mp": {
|
|
239
|
+
* "weixin": {
|
|
240
|
+
* "hostVer": "√",
|
|
241
|
+
* "uniVer": "√",
|
|
242
|
+
* "unixVer": "4.41"
|
|
243
|
+
* },
|
|
244
|
+
* "alipay": {
|
|
245
|
+
* "hostVer": "-",
|
|
246
|
+
* "uniVer": "-",
|
|
247
|
+
* "unixVer": "-"
|
|
248
|
+
* },
|
|
249
|
+
* "baidu": {
|
|
250
|
+
* "hostVer": "-",
|
|
251
|
+
* "uniVer": "-",
|
|
252
|
+
* "unixVer": "-"
|
|
253
|
+
* },
|
|
254
|
+
* "toutiao": {
|
|
255
|
+
* "hostVer": "-",
|
|
256
|
+
* "uniVer": "-",
|
|
257
|
+
* "unixVer": "-"
|
|
258
|
+
* },
|
|
259
|
+
* "lark": {
|
|
260
|
+
* "hostVer": "-",
|
|
261
|
+
* "uniVer": "-",
|
|
262
|
+
* "unixVer": "-"
|
|
263
|
+
* },
|
|
264
|
+
* "qq": {
|
|
265
|
+
* "hostVer": "-",
|
|
266
|
+
* "uniVer": "-",
|
|
267
|
+
* "unixVer": "-"
|
|
268
|
+
* },
|
|
269
|
+
* "kuaishou": {
|
|
270
|
+
* "hostVer": "-",
|
|
271
|
+
* "uniVer": "-",
|
|
272
|
+
* "unixVer": "-"
|
|
273
|
+
* },
|
|
274
|
+
* "jd": {
|
|
275
|
+
* "hostVer": "-",
|
|
276
|
+
* "uniVer": "-",
|
|
277
|
+
* "unixVer": "-"
|
|
278
|
+
* }
|
|
279
|
+
* }
|
|
280
|
+
* }
|
|
61
281
|
*/
|
|
62
282
|
popover?: Popover | null,
|
|
63
283
|
/**
|
|
@@ -354,14 +574,146 @@ export type ShowActionSheetOptions = {
|
|
|
354
574
|
backgroundColor?: string.ColorString | null,
|
|
355
575
|
/**
|
|
356
576
|
* 接口调用成功的回调函数
|
|
577
|
+
* @uniPlatform {
|
|
578
|
+
* "mp": {
|
|
579
|
+
* "weixin": {
|
|
580
|
+
* "hostVer": "√",
|
|
581
|
+
* "uniVer": "√",
|
|
582
|
+
* "unixVer": "4.41"
|
|
583
|
+
* },
|
|
584
|
+
* "alipay": {
|
|
585
|
+
* "hostVer": "-",
|
|
586
|
+
* "uniVer": "-",
|
|
587
|
+
* "unixVer": "-"
|
|
588
|
+
* },
|
|
589
|
+
* "baidu": {
|
|
590
|
+
* "hostVer": "-",
|
|
591
|
+
* "uniVer": "-",
|
|
592
|
+
* "unixVer": "-"
|
|
593
|
+
* },
|
|
594
|
+
* "toutiao": {
|
|
595
|
+
* "hostVer": "-",
|
|
596
|
+
* "uniVer": "-",
|
|
597
|
+
* "unixVer": "-"
|
|
598
|
+
* },
|
|
599
|
+
* "lark": {
|
|
600
|
+
* "hostVer": "-",
|
|
601
|
+
* "uniVer": "-",
|
|
602
|
+
* "unixVer": "-"
|
|
603
|
+
* },
|
|
604
|
+
* "qq": {
|
|
605
|
+
* "hostVer": "-",
|
|
606
|
+
* "uniVer": "-",
|
|
607
|
+
* "unixVer": "-"
|
|
608
|
+
* },
|
|
609
|
+
* "kuaishou": {
|
|
610
|
+
* "hostVer": "-",
|
|
611
|
+
* "uniVer": "-",
|
|
612
|
+
* "unixVer": "-"
|
|
613
|
+
* },
|
|
614
|
+
* "jd": {
|
|
615
|
+
* "hostVer": "-",
|
|
616
|
+
* "uniVer": "-",
|
|
617
|
+
* "unixVer": "-"
|
|
618
|
+
* }
|
|
619
|
+
* }
|
|
620
|
+
* }
|
|
357
621
|
*/
|
|
358
622
|
success?: ShowActionSheetSuccessCallback | null,
|
|
359
623
|
/**
|
|
360
624
|
* 接口调用失败的回调函数
|
|
625
|
+
* @uniPlatform {
|
|
626
|
+
* "mp": {
|
|
627
|
+
* "weixin": {
|
|
628
|
+
* "hostVer": "√",
|
|
629
|
+
* "uniVer": "√",
|
|
630
|
+
* "unixVer": "4.41"
|
|
631
|
+
* },
|
|
632
|
+
* "alipay": {
|
|
633
|
+
* "hostVer": "-",
|
|
634
|
+
* "uniVer": "-",
|
|
635
|
+
* "unixVer": "-"
|
|
636
|
+
* },
|
|
637
|
+
* "baidu": {
|
|
638
|
+
* "hostVer": "-",
|
|
639
|
+
* "uniVer": "-",
|
|
640
|
+
* "unixVer": "-"
|
|
641
|
+
* },
|
|
642
|
+
* "toutiao": {
|
|
643
|
+
* "hostVer": "-",
|
|
644
|
+
* "uniVer": "-",
|
|
645
|
+
* "unixVer": "-"
|
|
646
|
+
* },
|
|
647
|
+
* "lark": {
|
|
648
|
+
* "hostVer": "-",
|
|
649
|
+
* "uniVer": "-",
|
|
650
|
+
* "unixVer": "-"
|
|
651
|
+
* },
|
|
652
|
+
* "qq": {
|
|
653
|
+
* "hostVer": "-",
|
|
654
|
+
* "uniVer": "-",
|
|
655
|
+
* "unixVer": "-"
|
|
656
|
+
* },
|
|
657
|
+
* "kuaishou": {
|
|
658
|
+
* "hostVer": "-",
|
|
659
|
+
* "uniVer": "-",
|
|
660
|
+
* "unixVer": "-"
|
|
661
|
+
* },
|
|
662
|
+
* "jd": {
|
|
663
|
+
* "hostVer": "-",
|
|
664
|
+
* "uniVer": "-",
|
|
665
|
+
* "unixVer": "-"
|
|
666
|
+
* }
|
|
667
|
+
* }
|
|
668
|
+
* }
|
|
361
669
|
*/
|
|
362
670
|
fail?: ShowActionSheetFailCallback | null,
|
|
363
671
|
/**
|
|
364
672
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
673
|
+
* @uniPlatform {
|
|
674
|
+
* "mp": {
|
|
675
|
+
* "weixin": {
|
|
676
|
+
* "hostVer": "√",
|
|
677
|
+
* "uniVer": "√",
|
|
678
|
+
* "unixVer": "4.41"
|
|
679
|
+
* },
|
|
680
|
+
* "alipay": {
|
|
681
|
+
* "hostVer": "-",
|
|
682
|
+
* "uniVer": "-",
|
|
683
|
+
* "unixVer": "-"
|
|
684
|
+
* },
|
|
685
|
+
* "baidu": {
|
|
686
|
+
* "hostVer": "-",
|
|
687
|
+
* "uniVer": "-",
|
|
688
|
+
* "unixVer": "-"
|
|
689
|
+
* },
|
|
690
|
+
* "toutiao": {
|
|
691
|
+
* "hostVer": "-",
|
|
692
|
+
* "uniVer": "-",
|
|
693
|
+
* "unixVer": "-"
|
|
694
|
+
* },
|
|
695
|
+
* "lark": {
|
|
696
|
+
* "hostVer": "-",
|
|
697
|
+
* "uniVer": "-",
|
|
698
|
+
* "unixVer": "-"
|
|
699
|
+
* },
|
|
700
|
+
* "qq": {
|
|
701
|
+
* "hostVer": "-",
|
|
702
|
+
* "uniVer": "-",
|
|
703
|
+
* "unixVer": "-"
|
|
704
|
+
* },
|
|
705
|
+
* "kuaishou": {
|
|
706
|
+
* "hostVer": "-",
|
|
707
|
+
* "uniVer": "-",
|
|
708
|
+
* "unixVer": "-"
|
|
709
|
+
* },
|
|
710
|
+
* "jd": {
|
|
711
|
+
* "hostVer": "-",
|
|
712
|
+
* "uniVer": "-",
|
|
713
|
+
* "unixVer": "-"
|
|
714
|
+
* }
|
|
715
|
+
* }
|
|
716
|
+
* }
|
|
365
717
|
*/
|
|
366
718
|
complete?: ShowActionSheetCompleteCallback | null
|
|
367
719
|
};
|
|
@@ -385,79 +737,80 @@ export interface Uni {
|
|
|
385
737
|
* ```
|
|
386
738
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
|
|
387
739
|
* @uniPlatform {
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
*
|
|
393
|
-
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
421
|
-
*
|
|
422
|
-
*
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
*
|
|
451
|
-
*
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
*
|
|
740
|
+
* "app": {
|
|
741
|
+
* "android": {
|
|
742
|
+
* "osVer": "5.0",
|
|
743
|
+
* "uniVer": "√",
|
|
744
|
+
* "uniUtsPlugin": "x",
|
|
745
|
+
* "unixVer": "3.91",
|
|
746
|
+
* "unixUtsPlugin": "3.91"
|
|
747
|
+
* },
|
|
748
|
+
* "ios": {
|
|
749
|
+
* "osVer": "12.0",
|
|
750
|
+
* "uniVer": "√",
|
|
751
|
+
* "uniUtsPlugin": "x",
|
|
752
|
+
* "unixVer": "4.11",
|
|
753
|
+
* "unixUtsPlugin": "4.11"
|
|
754
|
+
* },
|
|
755
|
+
* "harmony": {
|
|
756
|
+
* "osVer": "3.0",
|
|
757
|
+
* "uniVer": "4.23",
|
|
758
|
+
* "unixVer": "4.61"
|
|
759
|
+
* }
|
|
760
|
+
* },
|
|
761
|
+
* "mp": {
|
|
762
|
+
* "weixin": {
|
|
763
|
+
* "hostVer": "1.9.6",
|
|
764
|
+
* "uniVer": "√",
|
|
765
|
+
* "unixVer": "4.41"
|
|
766
|
+
* },
|
|
767
|
+
* "alipay": {
|
|
768
|
+
* "hostVer": "√",
|
|
769
|
+
* "uniVer": "√",
|
|
770
|
+
* "unixVer": "x"
|
|
771
|
+
* },
|
|
772
|
+
* "baidu": {
|
|
773
|
+
* "hostVer": "√",
|
|
774
|
+
* "uniVer": "√",
|
|
775
|
+
* "unixVer": "x"
|
|
776
|
+
* },
|
|
777
|
+
* "toutiao": {
|
|
778
|
+
* "hostVer": "√",
|
|
779
|
+
* "uniVer": "√",
|
|
780
|
+
* "unixVer": "x"
|
|
781
|
+
* },
|
|
782
|
+
* "lark": {
|
|
783
|
+
* "hostVer": "√",
|
|
784
|
+
* "uniVer": "√",
|
|
785
|
+
* "unixVer": "x"
|
|
786
|
+
* },
|
|
787
|
+
* "qq": {
|
|
788
|
+
* "hostVer": "√",
|
|
789
|
+
* "uniVer": "√",
|
|
790
|
+
* "unixVer": "x"
|
|
791
|
+
* },
|
|
792
|
+
* "kuaishou": {
|
|
793
|
+
* "hostVer": "√",
|
|
794
|
+
* "uniVer": "√",
|
|
795
|
+
* "unixVer": "x"
|
|
796
|
+
* },
|
|
797
|
+
* "jd": {
|
|
798
|
+
* "hostVer": "√",
|
|
799
|
+
* "uniVer": "√",
|
|
800
|
+
* "unixVer": "x"
|
|
801
|
+
* }
|
|
802
|
+
* },
|
|
803
|
+
* "web": {
|
|
804
|
+
* "uniVer": "√",
|
|
805
|
+
* "unixVer": "4.0"
|
|
806
|
+
* }
|
|
455
807
|
* }
|
|
456
|
-
|
|
808
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showActionSheet.html
|
|
809
|
+
*/
|
|
457
810
|
showActionSheet(options: ShowActionSheetOptions): void;
|
|
458
811
|
|
|
459
812
|
/**
|
|
460
|
-
* @description
|
|
813
|
+
* @description 关闭栈顶页面操作菜单
|
|
461
814
|
* @example
|
|
462
815
|
* ```typescript
|
|
463
816
|
* uni.hideActionSheet();
|
|
@@ -552,3 +905,5 @@ export class ShowActionSheetFailImpl extends UniError implements ShowActionSheet
|
|
|
552
905
|
this.errCode = errCode
|
|
553
906
|
}
|
|
554
907
|
}
|
|
908
|
+
|
|
909
|
+
export type HideActionSheet = () => void
|
|
@@ -19,7 +19,7 @@ export type ChooseLocationErrorCode =
|
|
|
19
19
|
* "harmony": {
|
|
20
20
|
* "osVer": "3.0",
|
|
21
21
|
* "uniVer": "x",
|
|
22
|
-
* "unixVer": "
|
|
22
|
+
* "unixVer": "4.61"
|
|
23
23
|
* }
|
|
24
24
|
* },
|
|
25
25
|
* "web": {
|
|
@@ -46,7 +46,7 @@ export type ChooseLocationErrorCode =
|
|
|
46
46
|
* "harmony": {
|
|
47
47
|
* "osVer": "3.0",
|
|
48
48
|
* "uniVer": "x",
|
|
49
|
-
* "unixVer": "
|
|
49
|
+
* "unixVer": "4.61"
|
|
50
50
|
* }
|
|
51
51
|
* },
|
|
52
52
|
* "web": {
|
|
@@ -19,7 +19,7 @@ export interface Uni {
|
|
|
19
19
|
* "harmony": {
|
|
20
20
|
* "osVer": "3.0",
|
|
21
21
|
* "uniVer": "4.23",
|
|
22
|
-
* "unixVer": "
|
|
22
|
+
* "unixVer": "x"
|
|
23
23
|
* }
|
|
24
24
|
* },
|
|
25
25
|
* "mp": {
|
|
@@ -71,10 +71,10 @@ export interface Uni {
|
|
|
71
71
|
* }
|
|
72
72
|
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/wxml/IntersectionObserver.html
|
|
73
73
|
*/
|
|
74
|
-
createIntersectionObserver(component: any, options
|
|
74
|
+
createIntersectionObserver(component: any, options?: CreateIntersectionObserverOptions | null): IntersectionObserver;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
export type CreateIntersectionObserver = (component: any, options
|
|
77
|
+
export type CreateIntersectionObserver = (component: any, options?: CreateIntersectionObserverOptions | null) => IntersectionObserver;
|
|
78
78
|
|
|
79
79
|
export interface CreateIntersectionObserverOptions {
|
|
80
80
|
/**
|
|
@@ -14,7 +14,12 @@ export interface WebviewContext {
|
|
|
14
14
|
* "osVer": "12.0",
|
|
15
15
|
* "uniVer": "√",
|
|
16
16
|
* "unixVer": "4.11"
|
|
17
|
-
* }
|
|
17
|
+
* },
|
|
18
|
+
* "harmony": {
|
|
19
|
+
* "osVer": "3.0",
|
|
20
|
+
* "uniVer": "4.28",
|
|
21
|
+
* "unixVer": "4.61"
|
|
22
|
+
* }
|
|
18
23
|
* }
|
|
19
24
|
* }
|
|
20
25
|
* @uniVueVersion 2,3
|
|
@@ -34,7 +39,12 @@ export interface WebviewContext {
|
|
|
34
39
|
* "osVer": "12.0",
|
|
35
40
|
* "uniVer": "√",
|
|
36
41
|
* "unixVer": "4.11"
|
|
37
|
-
* }
|
|
42
|
+
* },
|
|
43
|
+
* "harmony": {
|
|
44
|
+
* "osVer": "3.0",
|
|
45
|
+
* "uniVer": "4.28",
|
|
46
|
+
* "unixVer": "4.61"
|
|
47
|
+
* }
|
|
38
48
|
* }
|
|
39
49
|
* }
|
|
40
50
|
* @uniVueVersion 2,3
|
|
@@ -54,7 +64,12 @@ export interface WebviewContext {
|
|
|
54
64
|
* "osVer": "12.0",
|
|
55
65
|
* "uniVer": "√",
|
|
56
66
|
* "unixVer": "4.11"
|
|
57
|
-
* }
|
|
67
|
+
* },
|
|
68
|
+
* "harmony": {
|
|
69
|
+
* "osVer": "3.0",
|
|
70
|
+
* "uniVer": "4.28",
|
|
71
|
+
* "unixVer": "4.61"
|
|
72
|
+
* }
|
|
58
73
|
* }
|
|
59
74
|
* }
|
|
60
75
|
* @uniVueVersion 2,3
|
|
@@ -74,7 +89,12 @@ export interface WebviewContext {
|
|
|
74
89
|
* "osVer": "12.0",
|
|
75
90
|
* "uniVer": "√",
|
|
76
91
|
* "unixVer": "4.11"
|
|
77
|
-
* }
|
|
92
|
+
* },
|
|
93
|
+
* "harmony": {
|
|
94
|
+
* "osVer": "3.0",
|
|
95
|
+
* "uniVer": "4.28",
|
|
96
|
+
* "unixVer": "4.61"
|
|
97
|
+
* }
|
|
78
98
|
* }
|
|
79
99
|
* }
|
|
80
100
|
* @uniVueVersion 2,3
|
|
@@ -94,7 +114,12 @@ export interface WebviewContext {
|
|
|
94
114
|
* "osVer": "12.0",
|
|
95
115
|
* "uniVer": "√",
|
|
96
116
|
* "unixVer": "4.11"
|
|
97
|
-
* }
|
|
117
|
+
* },
|
|
118
|
+
* "harmony": {
|
|
119
|
+
* "osVer": "3.0",
|
|
120
|
+
* "uniVer": "4.28",
|
|
121
|
+
* "unixVer": "4.61"
|
|
122
|
+
* }
|
|
98
123
|
* }
|
|
99
124
|
* }
|
|
100
125
|
* @uniVueVersion 2,3
|