@dcloudio/uni-app-x 0.7.41 → 0.7.43

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 (44) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +32 -77
  3. package/types/app.d.ts +39 -2
  4. package/types/native/CSSStyleDeclaration.d.ts +40 -7
  5. package/types/native/CanvasRenderingContext2D.d.ts +56 -6
  6. package/types/native/IUniElement.d.ts +31 -2
  7. package/types/native/UniAnimation.d.ts +578 -0
  8. package/types/native/UniAnimationPlaybackEvent.d.ts +12 -0
  9. package/types/native/UniNativePage.d.ts +1 -19
  10. package/types/native/UniSafeAreaInsets.d.ts +74 -0
  11. package/types/native/global.d.ts +6 -2
  12. package/types/native/index.d.ts +3 -1
  13. package/types/uni/uni-map-tencent-global.d.ts +5 -1
  14. package/types/uni/uni-map-tencent-map.d.ts +7 -0
  15. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +680 -51
  18. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/global.d.ts +32 -0
  19. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/index.d.ts +15 -0
  20. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +685 -0
  21. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/global.d.ts +10 -0
  22. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/index.d.ts +4 -0
  23. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +76 -0
  24. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +105 -104
  25. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +75 -1
  26. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +2 -0
  27. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +1 -0
  28. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +4 -5
  29. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +0 -22
  30. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +0 -11
  31. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +171 -896
  32. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +46 -0
  34. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +22 -0
  35. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +339 -0
  36. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
  37. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +4 -0
  38. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +2 -0
  39. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +6 -4
  40. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2187 -2066
  41. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +1 -1
  42. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +268 -20
  43. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +398 -203
  44. package/types/native/UniSafeArea.d.ts +0 -185
@@ -0,0 +1,578 @@
1
+ import { UniAnimationPlaybackEvent } from "./UniAnimationPlaybackEvent"
2
+ /**
3
+ * @package io.dcloud.uniapp.runtime
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "x",
9
+ * "unixVer": "4,51"
10
+ * },
11
+ * "ios": {
12
+ * "osVer": "12.0",
13
+ * "uniVer": "x",
14
+ * "unixVer": "x"
15
+ * }
16
+ * },
17
+ * "mp": {
18
+ * "weixin": {
19
+ * "hostVer": "√",
20
+ * "uniVer": "x",
21
+ * "unixVer": "x"
22
+ * },
23
+ * "alipay": {
24
+ * "hostVer": "√",
25
+ * "uniVer": "x",
26
+ * "unixVer": "x"
27
+ * },
28
+ * "baidu": {
29
+ * "hostVer": "√",
30
+ * "uniVer": "x",
31
+ * "unixVer": "x"
32
+ * },
33
+ * "toutiao": {
34
+ * "hostVer": "√",
35
+ * "uniVer": "x",
36
+ * "unixVer": "x"
37
+ * },
38
+ * "lark": {
39
+ * "hostVer": "√",
40
+ * "uniVer": "x",
41
+ * "unixVer": "x"
42
+ * },
43
+ * "qq": {
44
+ * "hostVer": "√",
45
+ * "uniVer": "x",
46
+ * "unixVer": "x"
47
+ * },
48
+ * "kuaishou": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "x",
51
+ * "unixVer": "x"
52
+ * },
53
+ * "jd": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "x",
56
+ * "unixVer": "x"
57
+ * }
58
+ * },
59
+ * "web": {
60
+ * "uniVer": "x",
61
+ * "unixVer": "x"
62
+ * }
63
+ * }
64
+ */
65
+ export class UniAnimation {
66
+ /**
67
+ * 获取或设置用于标识动画的字符串
68
+ * @uniPlatform {
69
+ * "app": {
70
+ * "android": {
71
+ * "osVer": "5.0",
72
+ * "uniVer": "x",
73
+ * "unixVer": "4.51"
74
+ * },
75
+ * "ios": {
76
+ * "osVer": "12.0",
77
+ * "uniVer": "x",
78
+ * "unixVer": "x"
79
+ * }
80
+ * },
81
+ * "mp": {
82
+ * "weixin": {
83
+ * "hostVer": "√",
84
+ * "uniVer": "x",
85
+ * "unixVer": "x"
86
+ * },
87
+ * "alipay": {
88
+ * "hostVer": "√",
89
+ * "uniVer": "x",
90
+ * "unixVer": "x"
91
+ * },
92
+ * "baidu": {
93
+ * "hostVer": "√",
94
+ * "uniVer": "x",
95
+ * "unixVer": "x"
96
+ * },
97
+ * "toutiao": {
98
+ * "hostVer": "√",
99
+ * "uniVer": "x",
100
+ * "unixVer": "x"
101
+ * },
102
+ * "lark": {
103
+ * "hostVer": "√",
104
+ * "uniVer": "x",
105
+ * "unixVer": "x"
106
+ * },
107
+ * "qq": {
108
+ * "hostVer": "√",
109
+ * "uniVer": "x",
110
+ * "unixVer": "x"
111
+ * },
112
+ * "kuaishou": {
113
+ * "hostVer": "√",
114
+ * "uniVer": "x",
115
+ * "unixVer": "x"
116
+ * },
117
+ * "jd": {
118
+ * "hostVer": "√",
119
+ * "uniVer": "x",
120
+ * "unixVer": "x"
121
+ * }
122
+ * },
123
+ * "web": {
124
+ * "uniVer": "x",
125
+ * "unixVer": "x"
126
+ * }
127
+ * }
128
+ */
129
+ id : String
130
+ /**
131
+ * 返回动画播放状态。可选值:`running`动画正在运行;`paused`动画暂停;`finished`动画播放完成;`idle`动画取消或者失败
132
+ * @uniPlatform {
133
+ * "app": {
134
+ * "android": {
135
+ * "osVer": "5.0",
136
+ * "uniVer": "x",
137
+ * "unixVer": "4.51"
138
+ * },
139
+ * "ios": {
140
+ * "osVer": "12.0",
141
+ * "uniVer": "x",
142
+ * "unixVer": "x"
143
+ * }
144
+ * },
145
+ * "mp": {
146
+ * "weixin": {
147
+ * "hostVer": "√",
148
+ * "uniVer": "x",
149
+ * "unixVer": "x"
150
+ * },
151
+ * "alipay": {
152
+ * "hostVer": "√",
153
+ * "uniVer": "x",
154
+ * "unixVer": "x"
155
+ * },
156
+ * "baidu": {
157
+ * "hostVer": "√",
158
+ * "uniVer": "x",
159
+ * "unixVer": "x"
160
+ * },
161
+ * "toutiao": {
162
+ * "hostVer": "√",
163
+ * "uniVer": "x",
164
+ * "unixVer": "x"
165
+ * },
166
+ * "lark": {
167
+ * "hostVer": "√",
168
+ * "uniVer": "x",
169
+ * "unixVer": "x"
170
+ * },
171
+ * "qq": {
172
+ * "hostVer": "√",
173
+ * "uniVer": "x",
174
+ * "unixVer": "x"
175
+ * },
176
+ * "kuaishou": {
177
+ * "hostVer": "√",
178
+ * "uniVer": "x",
179
+ * "unixVer": "x"
180
+ * },
181
+ * "jd": {
182
+ * "hostVer": "√",
183
+ * "uniVer": "x",
184
+ * "unixVer": "x"
185
+ * }
186
+ * },
187
+ * "web": {
188
+ * "uniVer": "x",
189
+ * "unixVer": "x"
190
+ * }
191
+ * }
192
+ */
193
+ playState : String
194
+ /**
195
+ * 监听动画取消事件
196
+ * @uniPlatform {
197
+ * "app": {
198
+ * "android": {
199
+ * "osVer": "5.0",
200
+ * "uniVer": "x",
201
+ * "unixVer": "4.51"
202
+ * },
203
+ * "ios": {
204
+ * "osVer": "12.0",
205
+ * "uniVer": "x",
206
+ * "unixVer": "x"
207
+ * }
208
+ * },
209
+ * "mp": {
210
+ * "weixin": {
211
+ * "hostVer": "√",
212
+ * "uniVer": "x",
213
+ * "unixVer": "x"
214
+ * },
215
+ * "alipay": {
216
+ * "hostVer": "√",
217
+ * "uniVer": "x",
218
+ * "unixVer": "x"
219
+ * },
220
+ * "baidu": {
221
+ * "hostVer": "√",
222
+ * "uniVer": "x",
223
+ * "unixVer": "x"
224
+ * },
225
+ * "toutiao": {
226
+ * "hostVer": "√",
227
+ * "uniVer": "x",
228
+ * "unixVer": "x"
229
+ * },
230
+ * "lark": {
231
+ * "hostVer": "√",
232
+ * "uniVer": "x",
233
+ * "unixVer": "x"
234
+ * },
235
+ * "qq": {
236
+ * "hostVer": "√",
237
+ * "uniVer": "x",
238
+ * "unixVer": "x"
239
+ * },
240
+ * "kuaishou": {
241
+ * "hostVer": "√",
242
+ * "uniVer": "x",
243
+ * "unixVer": "x"
244
+ * },
245
+ * "jd": {
246
+ * "hostVer": "√",
247
+ * "uniVer": "x",
248
+ * "unixVer": "x"
249
+ * }
250
+ * },
251
+ * "web": {
252
+ * "uniVer": "x",
253
+ * "unixVer": "x"
254
+ * }
255
+ * }
256
+ */
257
+ oncancel : ((event : UniAnimationPlaybackEvent) => void) | null
258
+ /**
259
+ * 监听动画完成事件
260
+ * @uniPlatform {
261
+ * "app": {
262
+ * "android": {
263
+ * "osVer": "5.0",
264
+ * "uniVer": "x",
265
+ * "unixVer": "4.51"
266
+ * },
267
+ * "ios": {
268
+ * "osVer": "12.0",
269
+ * "uniVer": "x",
270
+ * "unixVer": "x"
271
+ * }
272
+ * },
273
+ * "mp": {
274
+ * "weixin": {
275
+ * "hostVer": "√",
276
+ * "uniVer": "x",
277
+ * "unixVer": "x"
278
+ * },
279
+ * "alipay": {
280
+ * "hostVer": "√",
281
+ * "uniVer": "x",
282
+ * "unixVer": "x"
283
+ * },
284
+ * "baidu": {
285
+ * "hostVer": "√",
286
+ * "uniVer": "x",
287
+ * "unixVer": "x"
288
+ * },
289
+ * "toutiao": {
290
+ * "hostVer": "√",
291
+ * "uniVer": "x",
292
+ * "unixVer": "x"
293
+ * },
294
+ * "lark": {
295
+ * "hostVer": "√",
296
+ * "uniVer": "x",
297
+ * "unixVer": "x"
298
+ * },
299
+ * "qq": {
300
+ * "hostVer": "√",
301
+ * "uniVer": "x",
302
+ * "unixVer": "x"
303
+ * },
304
+ * "kuaishou": {
305
+ * "hostVer": "√",
306
+ * "uniVer": "x",
307
+ * "unixVer": "x"
308
+ * },
309
+ * "jd": {
310
+ * "hostVer": "√",
311
+ * "uniVer": "x",
312
+ * "unixVer": "x"
313
+ * }
314
+ * },
315
+ * "web": {
316
+ * "uniVer": "x",
317
+ * "unixVer": "x"
318
+ * }
319
+ * }
320
+ */
321
+ onfinish : ((event : UniAnimationPlaybackEvent) => void) | null
322
+ /**
323
+ * 终止并取消所有动画
324
+ * @uniPlatform {
325
+ * "app": {
326
+ * "android": {
327
+ * "osVer": "5.0",
328
+ * "uniVer": "x",
329
+ * "unixVer": "4.51"
330
+ * },
331
+ * "ios": {
332
+ * "osVer": "12.0",
333
+ * "uniVer": "x",
334
+ * "unixVer": "x"
335
+ * }
336
+ * },
337
+ * "mp": {
338
+ * "weixin": {
339
+ * "hostVer": "√",
340
+ * "uniVer": "x",
341
+ * "unixVer": "x"
342
+ * },
343
+ * "alipay": {
344
+ * "hostVer": "√",
345
+ * "uniVer": "x",
346
+ * "unixVer": "x"
347
+ * },
348
+ * "baidu": {
349
+ * "hostVer": "√",
350
+ * "uniVer": "x",
351
+ * "unixVer": "x"
352
+ * },
353
+ * "toutiao": {
354
+ * "hostVer": "√",
355
+ * "uniVer": "x",
356
+ * "unixVer": "x"
357
+ * },
358
+ * "lark": {
359
+ * "hostVer": "√",
360
+ * "uniVer": "x",
361
+ * "unixVer": "x"
362
+ * },
363
+ * "qq": {
364
+ * "hostVer": "√",
365
+ * "uniVer": "x",
366
+ * "unixVer": "x"
367
+ * },
368
+ * "kuaishou": {
369
+ * "hostVer": "√",
370
+ * "uniVer": "x",
371
+ * "unixVer": "x"
372
+ * },
373
+ * "jd": {
374
+ * "hostVer": "√",
375
+ * "uniVer": "x",
376
+ * "unixVer": "x"
377
+ * }
378
+ * },
379
+ * "web": {
380
+ * "uniVer": "x",
381
+ * "unixVer": "x"
382
+ * }
383
+ * }
384
+ */
385
+ cancel() : void
386
+ /**
387
+ * 动画跳转到最后一毫秒并立即播放完成
388
+ * @uniPlatform {
389
+ * "app": {
390
+ * "android": {
391
+ * "osVer": "5.0",
392
+ * "uniVer": "x",
393
+ * "unixVer": "4.51"
394
+ * },
395
+ * "ios": {
396
+ * "osVer": "12.0",
397
+ * "uniVer": "x",
398
+ * "unixVer": "x"
399
+ * }
400
+ * },
401
+ * "mp": {
402
+ * "weixin": {
403
+ * "hostVer": "√",
404
+ * "uniVer": "x",
405
+ * "unixVer": "x"
406
+ * },
407
+ * "alipay": {
408
+ * "hostVer": "√",
409
+ * "uniVer": "x",
410
+ * "unixVer": "x"
411
+ * },
412
+ * "baidu": {
413
+ * "hostVer": "√",
414
+ * "uniVer": "x",
415
+ * "unixVer": "x"
416
+ * },
417
+ * "toutiao": {
418
+ * "hostVer": "√",
419
+ * "uniVer": "x",
420
+ * "unixVer": "x"
421
+ * },
422
+ * "lark": {
423
+ * "hostVer": "√",
424
+ * "uniVer": "x",
425
+ * "unixVer": "x"
426
+ * },
427
+ * "qq": {
428
+ * "hostVer": "√",
429
+ * "uniVer": "x",
430
+ * "unixVer": "x"
431
+ * },
432
+ * "kuaishou": {
433
+ * "hostVer": "√",
434
+ * "uniVer": "x",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "jd": {
438
+ * "hostVer": "√",
439
+ * "uniVer": "x",
440
+ * "unixVer": "x"
441
+ * }
442
+ * },
443
+ * "web": {
444
+ * "uniVer": "x",
445
+ * "unixVer": "x"
446
+ * }
447
+ * }
448
+ */
449
+ finish() : void
450
+ /**
451
+ * 暂停动画播放
452
+ * @uniPlatform {
453
+ * "app": {
454
+ * "android": {
455
+ * "osVer": "5.0",
456
+ * "uniVer": "x",
457
+ * "unixVer": "4.51"
458
+ * },
459
+ * "ios": {
460
+ * "osVer": "12.0",
461
+ * "uniVer": "x",
462
+ * "unixVer": "x"
463
+ * }
464
+ * },
465
+ * "mp": {
466
+ * "weixin": {
467
+ * "hostVer": "√",
468
+ * "uniVer": "x",
469
+ * "unixVer": "x"
470
+ * },
471
+ * "alipay": {
472
+ * "hostVer": "√",
473
+ * "uniVer": "x",
474
+ * "unixVer": "x"
475
+ * },
476
+ * "baidu": {
477
+ * "hostVer": "√",
478
+ * "uniVer": "x",
479
+ * "unixVer": "x"
480
+ * },
481
+ * "toutiao": {
482
+ * "hostVer": "√",
483
+ * "uniVer": "x",
484
+ * "unixVer": "x"
485
+ * },
486
+ * "lark": {
487
+ * "hostVer": "√",
488
+ * "uniVer": "x",
489
+ * "unixVer": "x"
490
+ * },
491
+ * "qq": {
492
+ * "hostVer": "√",
493
+ * "uniVer": "x",
494
+ * "unixVer": "x"
495
+ * },
496
+ * "kuaishou": {
497
+ * "hostVer": "√",
498
+ * "uniVer": "x",
499
+ * "unixVer": "x"
500
+ * },
501
+ * "jd": {
502
+ * "hostVer": "√",
503
+ * "uniVer": "x",
504
+ * "unixVer": "x"
505
+ * }
506
+ * },
507
+ * "web": {
508
+ * "uniVer": "x",
509
+ * "unixVer": "x"
510
+ * }
511
+ * }
512
+ */
513
+ pause() : void
514
+ /**
515
+ * 开始或恢复动画播放
516
+ * @uniPlatform {
517
+ * "app": {
518
+ * "android": {
519
+ * "osVer": "5.0",
520
+ * "uniVer": "x",
521
+ * "unixVer": "4.51"
522
+ * },
523
+ * "ios": {
524
+ * "osVer": "12.0",
525
+ * "uniVer": "x",
526
+ * "unixVer": "x"
527
+ * }
528
+ * },
529
+ * "mp": {
530
+ * "weixin": {
531
+ * "hostVer": "√",
532
+ * "uniVer": "x",
533
+ * "unixVer": "x"
534
+ * },
535
+ * "alipay": {
536
+ * "hostVer": "√",
537
+ * "uniVer": "x",
538
+ * "unixVer": "x"
539
+ * },
540
+ * "baidu": {
541
+ * "hostVer": "√",
542
+ * "uniVer": "x",
543
+ * "unixVer": "x"
544
+ * },
545
+ * "toutiao": {
546
+ * "hostVer": "√",
547
+ * "uniVer": "x",
548
+ * "unixVer": "x"
549
+ * },
550
+ * "lark": {
551
+ * "hostVer": "√",
552
+ * "uniVer": "x",
553
+ * "unixVer": "x"
554
+ * },
555
+ * "qq": {
556
+ * "hostVer": "√",
557
+ * "uniVer": "x",
558
+ * "unixVer": "x"
559
+ * },
560
+ * "kuaishou": {
561
+ * "hostVer": "√",
562
+ * "uniVer": "x",
563
+ * "unixVer": "x"
564
+ * },
565
+ * "jd": {
566
+ * "hostVer": "√",
567
+ * "uniVer": "x",
568
+ * "unixVer": "x"
569
+ * }
570
+ * },
571
+ * "web": {
572
+ * "uniVer": "x",
573
+ * "unixVer": "x"
574
+ * }
575
+ * }
576
+ */
577
+ play() : void
578
+ }
@@ -0,0 +1,12 @@
1
+ import { UniEvent } from "./UniEvent"
2
+
3
+ /**
4
+ * @package io.dcloud.uniapp.runtime
5
+ * @autodoc false
6
+ */
7
+ export class UniAnimationPlaybackEvent extends UniEvent {
8
+ /**
9
+ * 动画的事件类型
10
+ */
11
+ type: string
12
+ }
@@ -5,7 +5,7 @@ import { UniPageScrollEvent } from "./UniPageScrollEvent"
5
5
  import { NativeLoadFontFaceOptions } from "./NativeLoadFontFaceOptions"
6
6
  import { UniCallbackWrapper } from "./UniCallbackWrapper"
7
7
  import { ViewToTempFilePathOptions } from "./ViewToTempFilePathOptions"
8
- import { UniSafeArea, UniSafeAreaInsets } from "./UniSafeArea"
8
+ import { UniSafeAreaInsets } from "./UniSafeAreaInsets"
9
9
 
10
10
  /**
11
11
  * @package io.dcloud.uniapp.runtime
@@ -62,24 +62,6 @@ export interface UniNativePage {
62
62
  * }
63
63
  */
64
64
  readonly innerHeight: number
65
- /**
66
- * 安全区域位置信息
67
- * @uniPlatform {
68
- * "app": {
69
- * "android": {
70
- * "osVer": "5.0",
71
- * "uniVer": "x",
72
- * "unixVer": "4.51"
73
- * },
74
- * "ios": {
75
- * "osVer": "12.0",
76
- * "uniVer": "x",
77
- * "unixVer": "4.51"
78
- * }
79
- * }
80
- * }
81
- */
82
- readonly safeArea: UniSafeArea
83
65
  /**
84
66
  * 安全区域插入位置(与屏幕边界的距离)信息
85
67
  * @uniPlatform {
@@ -0,0 +1,74 @@
1
+ export type UniSafeAreaInsets = {
2
+ /**
3
+ * 安全区域左侧插入位置(距离左边边界距离)
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "x",
9
+ * "unixVer": "4.51"
10
+ * },
11
+ * "ios": {
12
+ * "osVer": "12.0",
13
+ * "uniVer": "x",
14
+ * "unixVer": "4.51"
15
+ * }
16
+ * }
17
+ * }
18
+ */
19
+ readonly left: number
20
+ /**
21
+ * 安全区域右侧插入位置(距离右边边界距离)
22
+ * @uniPlatform {
23
+ * "app": {
24
+ * "android": {
25
+ * "osVer": "5.0",
26
+ * "uniVer": "x",
27
+ * "unixVer": "4.51"
28
+ * },
29
+ * "ios": {
30
+ * "osVer": "12.0",
31
+ * "uniVer": "x",
32
+ * "unixVer": "4.51"
33
+ * }
34
+ * }
35
+ * }
36
+ */
37
+ readonly right: number
38
+ /**
39
+ * 安全区顶部插入位置(距离顶部边界距离)
40
+ * @uniPlatform {
41
+ * "app": {
42
+ * "android": {
43
+ * "osVer": "5.0",
44
+ * "uniVer": "x",
45
+ * "unixVer": "4.51"
46
+ * },
47
+ * "ios": {
48
+ * "osVer": "12.0",
49
+ * "uniVer": "x",
50
+ * "unixVer": "4.51"
51
+ * }
52
+ * }
53
+ * }
54
+ */
55
+ readonly top: number
56
+ /**
57
+ * 安全区域底部插入位置(距离底部边界距离)
58
+ * @uniPlatform {
59
+ * "app": {
60
+ * "android": {
61
+ * "osVer": "5.0",
62
+ * "uniVer": "x",
63
+ * "unixVer": "4.51"
64
+ * },
65
+ * "ios": {
66
+ * "osVer": "12.0",
67
+ * "uniVer": "x",
68
+ * "unixVer": "4.51"
69
+ * }
70
+ * }
71
+ * }
72
+ */
73
+ readonly bottom: number
74
+ }