@dcloudio/uni-app-x 0.7.118 → 0.7.120
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/dom2-internal/sharedData.d.ts +9 -3
- package/types/uni/uts-plugin-api/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/index.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +110 -110
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +214 -549
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +198 -1087
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +534 -337
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +27 -20
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-component/global.d.ts +0 -2
- package/types/uni/uts-plugin-component/index.d.ts +0 -2
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +110 -110
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +569 -110
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +1087 -198
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +478 -15
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +27 -20
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
|
@@ -5,15 +5,147 @@ export type HideKeyboardSuccess = {}
|
|
|
5
5
|
|
|
6
6
|
export type HideKeyboardFail = {}
|
|
7
7
|
/**
|
|
8
|
-
* uni.hideKeyboard成功回调函数定义
|
|
8
|
+
* uni.hideKeyboard成功回调函数定义
|
|
9
|
+
* @uniPlatform {
|
|
10
|
+
* "mp": {
|
|
11
|
+
* "weixin": {
|
|
12
|
+
* "hostVer": "√",
|
|
13
|
+
* "uniVer": "√",
|
|
14
|
+
* "unixVer": "4.41"
|
|
15
|
+
* },
|
|
16
|
+
* "alipay": {
|
|
17
|
+
* "hostVer": "-",
|
|
18
|
+
* "uniVer": "-",
|
|
19
|
+
* "unixVer": "-"
|
|
20
|
+
* },
|
|
21
|
+
* "baidu": {
|
|
22
|
+
* "hostVer": "-",
|
|
23
|
+
* "uniVer": "-",
|
|
24
|
+
* "unixVer": "-"
|
|
25
|
+
* },
|
|
26
|
+
* "toutiao": {
|
|
27
|
+
* "hostVer": "-",
|
|
28
|
+
* "uniVer": "-",
|
|
29
|
+
* "unixVer": "-"
|
|
30
|
+
* },
|
|
31
|
+
* "lark": {
|
|
32
|
+
* "hostVer": "-",
|
|
33
|
+
* "uniVer": "-",
|
|
34
|
+
* "unixVer": "-"
|
|
35
|
+
* },
|
|
36
|
+
* "qq": {
|
|
37
|
+
* "hostVer": "-",
|
|
38
|
+
* "uniVer": "-",
|
|
39
|
+
* "unixVer": "-"
|
|
40
|
+
* },
|
|
41
|
+
* "kuaishou": {
|
|
42
|
+
* "hostVer": "-",
|
|
43
|
+
* "uniVer": "-",
|
|
44
|
+
* "unixVer": "-"
|
|
45
|
+
* },
|
|
46
|
+
* "jd": {
|
|
47
|
+
* "hostVer": "-",
|
|
48
|
+
* "uniVer": "-",
|
|
49
|
+
* "unixVer": "-"
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* }
|
|
9
53
|
*/
|
|
10
54
|
export type HideKeyboardSuccessCallback = (res : HideKeyboardSuccess) => void
|
|
11
55
|
/**
|
|
12
|
-
* uni.hideKeyboard失败回调函数定义
|
|
56
|
+
* uni.hideKeyboard失败回调函数定义
|
|
57
|
+
* @uniPlatform {
|
|
58
|
+
* "mp": {
|
|
59
|
+
* "weixin": {
|
|
60
|
+
* "hostVer": "√",
|
|
61
|
+
* "uniVer": "√",
|
|
62
|
+
* "unixVer": "4.41"
|
|
63
|
+
* },
|
|
64
|
+
* "alipay": {
|
|
65
|
+
* "hostVer": "-",
|
|
66
|
+
* "uniVer": "-",
|
|
67
|
+
* "unixVer": "-"
|
|
68
|
+
* },
|
|
69
|
+
* "baidu": {
|
|
70
|
+
* "hostVer": "-",
|
|
71
|
+
* "uniVer": "-",
|
|
72
|
+
* "unixVer": "-"
|
|
73
|
+
* },
|
|
74
|
+
* "toutiao": {
|
|
75
|
+
* "hostVer": "-",
|
|
76
|
+
* "uniVer": "-",
|
|
77
|
+
* "unixVer": "-"
|
|
78
|
+
* },
|
|
79
|
+
* "lark": {
|
|
80
|
+
* "hostVer": "-",
|
|
81
|
+
* "uniVer": "-",
|
|
82
|
+
* "unixVer": "-"
|
|
83
|
+
* },
|
|
84
|
+
* "qq": {
|
|
85
|
+
* "hostVer": "-",
|
|
86
|
+
* "uniVer": "-",
|
|
87
|
+
* "unixVer": "-"
|
|
88
|
+
* },
|
|
89
|
+
* "kuaishou": {
|
|
90
|
+
* "hostVer": "-",
|
|
91
|
+
* "uniVer": "-",
|
|
92
|
+
* "unixVer": "-"
|
|
93
|
+
* },
|
|
94
|
+
* "jd": {
|
|
95
|
+
* "hostVer": "-",
|
|
96
|
+
* "uniVer": "-",
|
|
97
|
+
* "unixVer": "-"
|
|
98
|
+
* }
|
|
99
|
+
* }
|
|
100
|
+
* }
|
|
13
101
|
*/
|
|
14
102
|
export type HideKeyboardFailCallback = (res : HideKeyboardFail) => void
|
|
15
103
|
/**
|
|
16
|
-
* uni.hideKeyboard完成回调函数定义
|
|
104
|
+
* uni.hideKeyboard完成回调函数定义
|
|
105
|
+
* @uniPlatform {
|
|
106
|
+
* "mp": {
|
|
107
|
+
* "weixin": {
|
|
108
|
+
* "hostVer": "√",
|
|
109
|
+
* "uniVer": "√",
|
|
110
|
+
* "unixVer": "4.41"
|
|
111
|
+
* },
|
|
112
|
+
* "alipay": {
|
|
113
|
+
* "hostVer": "-",
|
|
114
|
+
* "uniVer": "-",
|
|
115
|
+
* "unixVer": "-"
|
|
116
|
+
* },
|
|
117
|
+
* "baidu": {
|
|
118
|
+
* "hostVer": "-",
|
|
119
|
+
* "uniVer": "-",
|
|
120
|
+
* "unixVer": "-"
|
|
121
|
+
* },
|
|
122
|
+
* "toutiao": {
|
|
123
|
+
* "hostVer": "-",
|
|
124
|
+
* "uniVer": "-",
|
|
125
|
+
* "unixVer": "-"
|
|
126
|
+
* },
|
|
127
|
+
* "lark": {
|
|
128
|
+
* "hostVer": "-",
|
|
129
|
+
* "uniVer": "-",
|
|
130
|
+
* "unixVer": "-"
|
|
131
|
+
* },
|
|
132
|
+
* "qq": {
|
|
133
|
+
* "hostVer": "-",
|
|
134
|
+
* "uniVer": "-",
|
|
135
|
+
* "unixVer": "-"
|
|
136
|
+
* },
|
|
137
|
+
* "kuaishou": {
|
|
138
|
+
* "hostVer": "-",
|
|
139
|
+
* "uniVer": "-",
|
|
140
|
+
* "unixVer": "-"
|
|
141
|
+
* },
|
|
142
|
+
* "jd": {
|
|
143
|
+
* "hostVer": "-",
|
|
144
|
+
* "uniVer": "-",
|
|
145
|
+
* "unixVer": "-"
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* }
|
|
17
149
|
*/
|
|
18
150
|
export type HideKeyboardCompleteCallback = (res : any) => void
|
|
19
151
|
|
|
@@ -22,28 +154,248 @@ export type HideKeyboardCompleteCallback = (res : any) => void
|
|
|
22
154
|
*/
|
|
23
155
|
export type HideKeyboardOptions = {
|
|
24
156
|
/**
|
|
25
|
-
* 接口调用成功的回调函数
|
|
26
|
-
|
|
157
|
+
* 接口调用成功的回调函数
|
|
158
|
+
* @uniPlatform {
|
|
159
|
+
* "mp": {
|
|
160
|
+
* "weixin": {
|
|
161
|
+
* "hostVer": "√",
|
|
162
|
+
* "uniVer": "√",
|
|
163
|
+
* "unixVer": "4.41"
|
|
164
|
+
* },
|
|
165
|
+
* "alipay": {
|
|
166
|
+
* "hostVer": "-",
|
|
167
|
+
* "uniVer": "-",
|
|
168
|
+
* "unixVer": "-"
|
|
169
|
+
* },
|
|
170
|
+
* "baidu": {
|
|
171
|
+
* "hostVer": "-",
|
|
172
|
+
* "uniVer": "-",
|
|
173
|
+
* "unixVer": "-"
|
|
174
|
+
* },
|
|
175
|
+
* "toutiao": {
|
|
176
|
+
* "hostVer": "-",
|
|
177
|
+
* "uniVer": "-",
|
|
178
|
+
* "unixVer": "-"
|
|
179
|
+
* },
|
|
180
|
+
* "lark": {
|
|
181
|
+
* "hostVer": "-",
|
|
182
|
+
* "uniVer": "-",
|
|
183
|
+
* "unixVer": "-"
|
|
184
|
+
* },
|
|
185
|
+
* "qq": {
|
|
186
|
+
* "hostVer": "-",
|
|
187
|
+
* "uniVer": "-",
|
|
188
|
+
* "unixVer": "-"
|
|
189
|
+
* },
|
|
190
|
+
* "kuaishou": {
|
|
191
|
+
* "hostVer": "-",
|
|
192
|
+
* "uniVer": "-",
|
|
193
|
+
* "unixVer": "-"
|
|
194
|
+
* },
|
|
195
|
+
* "jd": {
|
|
196
|
+
* "hostVer": "-",
|
|
197
|
+
* "uniVer": "-",
|
|
198
|
+
* "unixVer": "-"
|
|
199
|
+
* }
|
|
200
|
+
* }
|
|
201
|
+
* }
|
|
202
|
+
*/
|
|
27
203
|
success ?: HideKeyboardSuccessCallback | null,
|
|
28
204
|
/**
|
|
29
|
-
* 接口调用失败的回调函数
|
|
30
|
-
|
|
205
|
+
* 接口调用失败的回调函数
|
|
206
|
+
* @uniPlatform {
|
|
207
|
+
* "mp": {
|
|
208
|
+
* "weixin": {
|
|
209
|
+
* "hostVer": "√",
|
|
210
|
+
* "uniVer": "√",
|
|
211
|
+
* "unixVer": "4.41"
|
|
212
|
+
* },
|
|
213
|
+
* "alipay": {
|
|
214
|
+
* "hostVer": "-",
|
|
215
|
+
* "uniVer": "-",
|
|
216
|
+
* "unixVer": "-"
|
|
217
|
+
* },
|
|
218
|
+
* "baidu": {
|
|
219
|
+
* "hostVer": "-",
|
|
220
|
+
* "uniVer": "-",
|
|
221
|
+
* "unixVer": "-"
|
|
222
|
+
* },
|
|
223
|
+
* "toutiao": {
|
|
224
|
+
* "hostVer": "-",
|
|
225
|
+
* "uniVer": "-",
|
|
226
|
+
* "unixVer": "-"
|
|
227
|
+
* },
|
|
228
|
+
* "lark": {
|
|
229
|
+
* "hostVer": "-",
|
|
230
|
+
* "uniVer": "-",
|
|
231
|
+
* "unixVer": "-"
|
|
232
|
+
* },
|
|
233
|
+
* "qq": {
|
|
234
|
+
* "hostVer": "-",
|
|
235
|
+
* "uniVer": "-",
|
|
236
|
+
* "unixVer": "-"
|
|
237
|
+
* },
|
|
238
|
+
* "kuaishou": {
|
|
239
|
+
* "hostVer": "-",
|
|
240
|
+
* "uniVer": "-",
|
|
241
|
+
* "unixVer": "-"
|
|
242
|
+
* },
|
|
243
|
+
* "jd": {
|
|
244
|
+
* "hostVer": "-",
|
|
245
|
+
* "uniVer": "-",
|
|
246
|
+
* "unixVer": "-"
|
|
247
|
+
* }
|
|
248
|
+
* }
|
|
249
|
+
* }
|
|
250
|
+
*/
|
|
31
251
|
fail ?: HideKeyboardFailCallback | null,
|
|
32
252
|
/**
|
|
33
|
-
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
34
|
-
|
|
253
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
254
|
+
* @uniPlatform {
|
|
255
|
+
* "mp": {
|
|
256
|
+
* "weixin": {
|
|
257
|
+
* "hostVer": "√",
|
|
258
|
+
* "uniVer": "√",
|
|
259
|
+
* "unixVer": "4.41"
|
|
260
|
+
* },
|
|
261
|
+
* "alipay": {
|
|
262
|
+
* "hostVer": "-",
|
|
263
|
+
* "uniVer": "-",
|
|
264
|
+
* "unixVer": "-"
|
|
265
|
+
* },
|
|
266
|
+
* "baidu": {
|
|
267
|
+
* "hostVer": "-",
|
|
268
|
+
* "uniVer": "-",
|
|
269
|
+
* "unixVer": "-"
|
|
270
|
+
* },
|
|
271
|
+
* "toutiao": {
|
|
272
|
+
* "hostVer": "-",
|
|
273
|
+
* "uniVer": "-",
|
|
274
|
+
* "unixVer": "-"
|
|
275
|
+
* },
|
|
276
|
+
* "lark": {
|
|
277
|
+
* "hostVer": "-",
|
|
278
|
+
* "uniVer": "-",
|
|
279
|
+
* "unixVer": "-"
|
|
280
|
+
* },
|
|
281
|
+
* "qq": {
|
|
282
|
+
* "hostVer": "-",
|
|
283
|
+
* "uniVer": "-",
|
|
284
|
+
* "unixVer": "-"
|
|
285
|
+
* },
|
|
286
|
+
* "kuaishou": {
|
|
287
|
+
* "hostVer": "-",
|
|
288
|
+
* "uniVer": "-",
|
|
289
|
+
* "unixVer": "-"
|
|
290
|
+
* },
|
|
291
|
+
* "jd": {
|
|
292
|
+
* "hostVer": "-",
|
|
293
|
+
* "uniVer": "-",
|
|
294
|
+
* "unixVer": "-"
|
|
295
|
+
* }
|
|
296
|
+
* }
|
|
297
|
+
* }
|
|
298
|
+
*/
|
|
35
299
|
complete ?: HideKeyboardCompleteCallback | null
|
|
36
300
|
}
|
|
37
301
|
|
|
38
302
|
/**
|
|
39
|
-
* uni.onKeyboardHeightChange参数定义
|
|
303
|
+
* uni.onKeyboardHeightChange参数定义
|
|
304
|
+
* @uniPlatform {
|
|
305
|
+
* "mp": {
|
|
306
|
+
* "weixin": {
|
|
307
|
+
* "hostVer": "√",
|
|
308
|
+
* "uniVer": "√",
|
|
309
|
+
* "unixVer": "4.41"
|
|
310
|
+
* },
|
|
311
|
+
* "alipay": {
|
|
312
|
+
* "hostVer": "-",
|
|
313
|
+
* "uniVer": "-",
|
|
314
|
+
* "unixVer": "-"
|
|
315
|
+
* },
|
|
316
|
+
* "baidu": {
|
|
317
|
+
* "hostVer": "-",
|
|
318
|
+
* "uniVer": "-",
|
|
319
|
+
* "unixVer": "-"
|
|
320
|
+
* },
|
|
321
|
+
* "toutiao": {
|
|
322
|
+
* "hostVer": "-",
|
|
323
|
+
* "uniVer": "-",
|
|
324
|
+
* "unixVer": "-"
|
|
325
|
+
* },
|
|
326
|
+
* "lark": {
|
|
327
|
+
* "hostVer": "-",
|
|
328
|
+
* "uniVer": "-",
|
|
329
|
+
* "unixVer": "-"
|
|
330
|
+
* },
|
|
331
|
+
* "qq": {
|
|
332
|
+
* "hostVer": "-",
|
|
333
|
+
* "uniVer": "-",
|
|
334
|
+
* "unixVer": "-"
|
|
335
|
+
* },
|
|
336
|
+
* "kuaishou": {
|
|
337
|
+
* "hostVer": "-",
|
|
338
|
+
* "uniVer": "-",
|
|
339
|
+
* "unixVer": "-"
|
|
340
|
+
* },
|
|
341
|
+
* "jd": {
|
|
342
|
+
* "hostVer": "-",
|
|
343
|
+
* "uniVer": "-",
|
|
344
|
+
* "unixVer": "-"
|
|
345
|
+
* }
|
|
346
|
+
* }
|
|
347
|
+
* }
|
|
40
348
|
*/
|
|
41
349
|
export type OnKeyboardHeightChangeCallback = (res : OnKeyboardHeightChangeCallbackResult) => void
|
|
42
350
|
|
|
43
351
|
export type OnKeyboardHeightChangeCallbackResult = {
|
|
44
352
|
/**
|
|
45
|
-
* 键盘高度
|
|
46
|
-
|
|
353
|
+
* 键盘高度
|
|
354
|
+
* @uniPlatform {
|
|
355
|
+
* "mp": {
|
|
356
|
+
* "weixin": {
|
|
357
|
+
* "hostVer": "√",
|
|
358
|
+
* "uniVer": "√",
|
|
359
|
+
* "unixVer": "4.41"
|
|
360
|
+
* },
|
|
361
|
+
* "alipay": {
|
|
362
|
+
* "hostVer": "-",
|
|
363
|
+
* "uniVer": "-",
|
|
364
|
+
* "unixVer": "-"
|
|
365
|
+
* },
|
|
366
|
+
* "baidu": {
|
|
367
|
+
* "hostVer": "-",
|
|
368
|
+
* "uniVer": "-",
|
|
369
|
+
* "unixVer": "-"
|
|
370
|
+
* },
|
|
371
|
+
* "toutiao": {
|
|
372
|
+
* "hostVer": "-",
|
|
373
|
+
* "uniVer": "-",
|
|
374
|
+
* "unixVer": "-"
|
|
375
|
+
* },
|
|
376
|
+
* "lark": {
|
|
377
|
+
* "hostVer": "-",
|
|
378
|
+
* "uniVer": "-",
|
|
379
|
+
* "unixVer": "-"
|
|
380
|
+
* },
|
|
381
|
+
* "qq": {
|
|
382
|
+
* "hostVer": "-",
|
|
383
|
+
* "uniVer": "-",
|
|
384
|
+
* "unixVer": "-"
|
|
385
|
+
* },
|
|
386
|
+
* "kuaishou": {
|
|
387
|
+
* "hostVer": "-",
|
|
388
|
+
* "uniVer": "-",
|
|
389
|
+
* "unixVer": "-"
|
|
390
|
+
* },
|
|
391
|
+
* "jd": {
|
|
392
|
+
* "hostVer": "-",
|
|
393
|
+
* "uniVer": "-",
|
|
394
|
+
* "unixVer": "-"
|
|
395
|
+
* }
|
|
396
|
+
* }
|
|
397
|
+
* }
|
|
398
|
+
*/
|
|
47
399
|
height : number
|
|
48
400
|
}
|
|
49
401
|
|
|
@@ -108,74 +460,75 @@ export interface Uni {
|
|
|
108
460
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#hidekeyboard
|
|
109
461
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
|
|
110
462
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
|
|
111
|
-
* @uniPlatform {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
* @uniVueVersion 2,3 //支持的vue版本
|
|
178
|
-
|
|
463
|
+
* @uniPlatform {
|
|
464
|
+
* "app": {
|
|
465
|
+
* "android": {
|
|
466
|
+
* "osVer": "5.0",
|
|
467
|
+
* "uniVer": "√",
|
|
468
|
+
* "unixVer": "4.71"
|
|
469
|
+
* },
|
|
470
|
+
* "ios": {
|
|
471
|
+
* "osVer": "12.0",
|
|
472
|
+
* "uniVer": "√",
|
|
473
|
+
* "unixVer": "4.71"
|
|
474
|
+
* },
|
|
475
|
+
* "harmony": {
|
|
476
|
+
* "osVer": "5.0.0",
|
|
477
|
+
* "uniVer": "4.23",
|
|
478
|
+
* "unixVer": "4.61",
|
|
479
|
+
* "unixVaporVer": "5.0"
|
|
480
|
+
* }
|
|
481
|
+
* },
|
|
482
|
+
* "mp": {
|
|
483
|
+
* "weixin": {
|
|
484
|
+
* "hostVer": "2.8.2",
|
|
485
|
+
* "uniVer": "√",
|
|
486
|
+
* "unixVer": "4.41"
|
|
487
|
+
* },
|
|
488
|
+
* "alipay": {
|
|
489
|
+
* "hostVer": "√",
|
|
490
|
+
* "uniVer": "√",
|
|
491
|
+
* "unixVer": "x"
|
|
492
|
+
* },
|
|
493
|
+
* "baidu": {
|
|
494
|
+
* "hostVer": "√",
|
|
495
|
+
* "uniVer": "√",
|
|
496
|
+
* "unixVer": "x"
|
|
497
|
+
* },
|
|
498
|
+
* "toutiao": {
|
|
499
|
+
* "hostVer": "√",
|
|
500
|
+
* "uniVer": "√",
|
|
501
|
+
* "unixVer": "x"
|
|
502
|
+
* },
|
|
503
|
+
* "lark": {
|
|
504
|
+
* "hostVer": "√",
|
|
505
|
+
* "uniVer": "√",
|
|
506
|
+
* "unixVer": "x"
|
|
507
|
+
* },
|
|
508
|
+
* "qq": {
|
|
509
|
+
* "hostVer": "√",
|
|
510
|
+
* "uniVer": "√",
|
|
511
|
+
* "unixVer": "x"
|
|
512
|
+
* },
|
|
513
|
+
* "kuaishou": {
|
|
514
|
+
* "hostVer": "√",
|
|
515
|
+
* "uniVer": "√",
|
|
516
|
+
* "unixVer": "x"
|
|
517
|
+
* },
|
|
518
|
+
* "jd": {
|
|
519
|
+
* "hostVer": "√",
|
|
520
|
+
* "uniVer": "√",
|
|
521
|
+
* "unixVer": "x"
|
|
522
|
+
* }
|
|
523
|
+
* },
|
|
524
|
+
* "web": {
|
|
525
|
+
* "uniVer": "√",
|
|
526
|
+
* "unixVer": "4.0"
|
|
527
|
+
* }
|
|
528
|
+
* }
|
|
529
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
530
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.hideKeyboard.html
|
|
531
|
+
*/
|
|
179
532
|
hideKeyboard(options ?: HideKeyboardOptions | null) : void;
|
|
180
533
|
|
|
181
534
|
/**
|
|
@@ -183,21 +536,74 @@ export interface Uni {
|
|
|
183
536
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
|
|
184
537
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#onkeyboardheightchange
|
|
185
538
|
* @tutorial https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
|
|
186
|
-
* @uniPlatform {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
539
|
+
* @uniPlatform {
|
|
540
|
+
* "app": {
|
|
541
|
+
* "android": {
|
|
542
|
+
* "osVer": "5.0",
|
|
543
|
+
* "uniVer": "√",
|
|
544
|
+
* "unixVer": "4.71"
|
|
545
|
+
* },
|
|
546
|
+
* "ios": {
|
|
547
|
+
* "osVer": "12.0",
|
|
548
|
+
* "uniVer": "√",
|
|
549
|
+
* "unixVer": "4.71"
|
|
550
|
+
* },
|
|
551
|
+
* "harmony": {
|
|
552
|
+
* "osVer": "5.0.0",
|
|
553
|
+
* "uniVer": "5.06",
|
|
554
|
+
* "unixVer": "5.06",
|
|
555
|
+
* "unixVaporVer": "5.06"
|
|
556
|
+
* }
|
|
557
|
+
* },
|
|
558
|
+
* "mp": {
|
|
559
|
+
* "weixin": {
|
|
560
|
+
* "hostVer": "2.7",
|
|
561
|
+
* "uniVer": "√",
|
|
562
|
+
* "unixVer": "4.41"
|
|
563
|
+
* },
|
|
564
|
+
* "alipay": {
|
|
565
|
+
* "hostVer": "3.6.8",
|
|
566
|
+
* "uniVer": "√",
|
|
567
|
+
* "unixVer": "x"
|
|
568
|
+
* },
|
|
569
|
+
* "baidu": {
|
|
570
|
+
* "hostVer": "√",
|
|
571
|
+
* "uniVer": "√",
|
|
572
|
+
* "unixVer": "x"
|
|
573
|
+
* },
|
|
574
|
+
* "toutiao": {
|
|
575
|
+
* "hostVer": "√",
|
|
576
|
+
* "uniVer": "√",
|
|
577
|
+
* "unixVer": "x"
|
|
578
|
+
* },
|
|
579
|
+
* "lark": {
|
|
580
|
+
* "hostVer": "√",
|
|
581
|
+
* "uniVer": "√",
|
|
582
|
+
* "unixVer": "x"
|
|
583
|
+
* },
|
|
584
|
+
* "qq": {
|
|
585
|
+
* "hostVer": "√",
|
|
586
|
+
* "uniVer": "√",
|
|
587
|
+
* "unixVer": "x"
|
|
588
|
+
* },
|
|
589
|
+
* "kuaishou": {
|
|
590
|
+
* "hostVer": "√",
|
|
591
|
+
* "uniVer": "√",
|
|
592
|
+
* "unixVer": "x"
|
|
593
|
+
* },
|
|
594
|
+
* "jd": {
|
|
595
|
+
* "hostVer": "√",
|
|
596
|
+
* "uniVer": "√",
|
|
597
|
+
* "unixVer": "x"
|
|
598
|
+
* }
|
|
599
|
+
* },
|
|
600
|
+
* "web": {
|
|
601
|
+
* "uniVer": "x",
|
|
602
|
+
* "unixVer": "x"
|
|
603
|
+
* }
|
|
604
|
+
* }
|
|
605
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
|
|
606
|
+
*/
|
|
201
607
|
onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
|
|
202
608
|
|
|
203
609
|
/**
|
|
@@ -205,21 +611,74 @@ export interface Uni {
|
|
|
205
611
|
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
|
|
206
612
|
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#offkeyboardheightchange
|
|
207
613
|
* @tutorial https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
|
|
208
|
-
* @uniPlatform {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
614
|
+
* @uniPlatform {
|
|
615
|
+
* "app": {
|
|
616
|
+
* "android": {
|
|
617
|
+
* "osVer": "5.0",
|
|
618
|
+
* "uniVer": "√",
|
|
619
|
+
* "unixVer": "4.71"
|
|
620
|
+
* },
|
|
621
|
+
* "ios": {
|
|
622
|
+
* "osVer": "12.0",
|
|
623
|
+
* "uniVer": "√",
|
|
624
|
+
* "unixVer": "4.71"
|
|
625
|
+
* },
|
|
626
|
+
* "harmony": {
|
|
627
|
+
* "osVer": "5.0.0",
|
|
628
|
+
* "uniVer": "5.06",
|
|
629
|
+
* "unixVer": "5.06",
|
|
630
|
+
* "unixVaporVer": "5.06"
|
|
631
|
+
* }
|
|
632
|
+
* },
|
|
633
|
+
* "mp": {
|
|
634
|
+
* "weixin": {
|
|
635
|
+
* "hostVer": "2.9.2",
|
|
636
|
+
* "uniVer": "√",
|
|
637
|
+
* "unixVer": "4.41"
|
|
638
|
+
* },
|
|
639
|
+
* "alipay": {
|
|
640
|
+
* "hostVer": "3.6.8",
|
|
641
|
+
* "uniVer": "√",
|
|
642
|
+
* "unixVer": "x"
|
|
643
|
+
* },
|
|
644
|
+
* "baidu": {
|
|
645
|
+
* "hostVer": "√",
|
|
646
|
+
* "uniVer": "√",
|
|
647
|
+
* "unixVer": "x"
|
|
648
|
+
* },
|
|
649
|
+
* "toutiao": {
|
|
650
|
+
* "hostVer": "√",
|
|
651
|
+
* "uniVer": "√",
|
|
652
|
+
* "unixVer": "x"
|
|
653
|
+
* },
|
|
654
|
+
* "lark": {
|
|
655
|
+
* "hostVer": "√",
|
|
656
|
+
* "uniVer": "√",
|
|
657
|
+
* "unixVer": "x"
|
|
658
|
+
* },
|
|
659
|
+
* "qq": {
|
|
660
|
+
* "hostVer": "√",
|
|
661
|
+
* "uniVer": "√",
|
|
662
|
+
* "unixVer": "x"
|
|
663
|
+
* },
|
|
664
|
+
* "kuaishou": {
|
|
665
|
+
* "hostVer": "√",
|
|
666
|
+
* "uniVer": "√",
|
|
667
|
+
* "unixVer": "x"
|
|
668
|
+
* },
|
|
669
|
+
* "jd": {
|
|
670
|
+
* "hostVer": "√",
|
|
671
|
+
* "uniVer": "√",
|
|
672
|
+
* "unixVer": "x"
|
|
673
|
+
* }
|
|
674
|
+
* },
|
|
675
|
+
* "web": {
|
|
676
|
+
* "uniVer": "x",
|
|
677
|
+
* "unixVer": "x"
|
|
678
|
+
* }
|
|
679
|
+
* }
|
|
680
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
|
|
681
|
+
*/
|
|
223
682
|
offKeyboardHeightChange(id ?: number | null): void
|
|
224
683
|
|
|
225
684
|
// getSelectedTextRange(options : GetSelectedTextRangeOptions): void
|