@dcloudio/uni-app-x 0.7.59 → 0.7.60

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 (149) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +16 -8
  3. package/types/native/IUniElement.d.ts +0 -2
  4. package/types/native/UniFormControl.d.ts +1 -1
  5. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
  6. package/types/native/UniSwiperChangeEvent.d.ts +1 -0
  7. package/types/native/WebViewStyles.d.ts +1 -1
  8. package/types/native/global.d.ts +2 -0
  9. package/types/page.d.ts +134 -22
  10. package/types/uni/uni-camera-global.d.ts +4 -0
  11. package/types/uni/uni-camera.d.ts +10 -9
  12. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
  13. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
  14. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
  15. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
  16. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  17. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
  18. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  19. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
  20. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
  21. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
  22. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
  23. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
  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 +4 -1
  26. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +26 -11
  27. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
  28. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -10
  30. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
  31. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
  32. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
  33. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
  35. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  36. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +4 -4
  37. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -7
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  39. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
  40. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
  41. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
  42. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +4 -4
  43. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +3 -2
  44. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +141 -243
  45. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
  46. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
  47. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +387 -95
  48. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
  49. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +52 -52
  50. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  51. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
  52. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
  54. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
  55. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +39 -25
  56. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
  57. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
  58. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
  59. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
  60. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
  61. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
  62. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +49 -49
  63. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
  64. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
  65. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
  66. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
  67. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
  68. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
  69. package/types/uni-cloud/interface.d.ts +13 -9
  70. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
  71. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
  72. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
  73. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
  74. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
  75. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
  76. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
  77. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
  78. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
  79. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
  80. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
  81. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
  82. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
  83. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
  84. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
  85. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
  86. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
  87. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
  88. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
  89. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
  90. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
  91. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
  92. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
  93. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
  94. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
  95. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
  96. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
  97. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
  98. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
  99. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
  100. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
  101. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
  102. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
  103. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
  104. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
  105. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
  106. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
  107. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
  108. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
  109. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
  110. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
  111. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
  112. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
  113. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
  114. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
  115. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
  116. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
  117. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
  118. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
  119. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
  120. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
  121. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
  122. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
  123. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
  124. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
  125. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
  126. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
  127. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
  128. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
  129. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
  130. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
  131. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
  132. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
  133. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
  134. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
  135. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
  136. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
  137. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
  138. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
  139. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
  140. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
  141. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
  142. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
  143. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
  144. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
  145. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
  146. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
  147. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
  148. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
  149. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
@@ -297,8 +297,8 @@ export type HideKeyboardOptions = {
297
297
  * }
298
298
  */
299
299
  complete ?: HideKeyboardCompleteCallback | null
300
- }
301
-
300
+ }
301
+
302
302
  /**
303
303
  * uni.onKeyboardHeightChange参数定义
304
304
  * @uniPlatform {
@@ -345,11 +345,11 @@ export type HideKeyboardOptions = {
345
345
  * }
346
346
  * }
347
347
  * }
348
- */
348
+ */
349
349
  export type OnKeyboardHeightChangeCallback = (res : OnKeyboardHeightChangeCallbackResult) => void
350
-
351
- export type OnKeyboardHeightChangeCallbackResult = {
352
- /**
350
+
351
+ export type OnKeyboardHeightChangeCallbackResult = {
352
+ /**
353
353
  * 键盘高度
354
354
  * @uniPlatform {
355
355
  * "mp": {
@@ -395,10 +395,10 @@ export type OnKeyboardHeightChangeCallbackResult = {
395
395
  * }
396
396
  * }
397
397
  * }
398
- */
399
- height : number
400
- }
401
-
398
+ */
399
+ height : number
400
+ }
401
+
402
402
  // export type GetSelectedTextRangeOptions = {
403
403
  // /**
404
404
  // * 接口调用成功的回调函数
@@ -412,251 +412,261 @@ export type OnKeyboardHeightChangeCallbackResult = {
412
412
  // * 接口调用结束的回调函数(调用成功、失败都会执行)
413
413
  // */
414
414
  // complete ?: GetSelectedTextRangeCompleteCallback | null
415
- // }
416
-
415
+ // }
416
+
417
417
  // export type GetSelectedTextRangeSuccessCallback = (res : GetSelectedTextRangeSuccess) => void
418
418
 
419
419
  // export type GetSelectedTextRangeFailCallback = (res : GetSelectedTextRangeFail) => void
420
420
 
421
- // export type GetSelectedTextRangeCompleteCallback = (res : any) => void
422
-
423
- // export type GetSelectedTextRangeSuccess = {
424
- // /**
425
- // * 输入框光标起始位置
426
- // * @uniPlatform {
427
- // * "app": {
428
- // * "ios": {
429
- // * "osVer": "12.0",
430
- // * "uniVer": "√",
431
- // * "unixVer": "4.61"
432
- // * }
433
- // * }
434
- // * }
435
- // */
436
- // start : number,
437
- // /**
438
- // * 输入框光标结束位置
439
- // * @uniPlatform {
440
- // * "app": {
441
- // * "ios": {
442
- // * "osVer": "12.0",
443
- // * "uniVer": "√",
444
- // * "unixVer": "4.61"
445
- // * }
446
- // * }
447
- // * }
448
- // */
449
- // end : number
421
+ // export type GetSelectedTextRangeCompleteCallback = (res : any) => void
422
+
423
+ // export type GetSelectedTextRangeSuccess = {
424
+ // /**
425
+ // * 输入框光标起始位置
426
+ // * @uniPlatform {
427
+ // * "app": {
428
+ // * "ios": {
429
+ // * "osVer": "12.0",
430
+ // * "uniVer": "√",
431
+ // * "unixVer": "4.61"
432
+ // * }
433
+ // * }
434
+ // * }
435
+ // */
436
+ // start : number,
437
+ // /**
438
+ // * 输入框光标结束位置
439
+ // * @uniPlatform {
440
+ // * "app": {
441
+ // * "ios": {
442
+ // * "osVer": "12.0",
443
+ // * "uniVer": "√",
444
+ // * "unixVer": "4.61"
445
+ // * }
446
+ // * }
447
+ // * }
448
+ // */
449
+ // end : number
450
450
  // }
451
451
 
452
- // export type GetSelectedTextRangeFail = {
453
-
452
+ // export type GetSelectedTextRangeFail = {
453
+
454
454
  // }
455
455
 
456
456
  export interface Uni {
457
457
  /**
458
458
  * 隐藏键盘
459
+ *
460
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#hidekeyboard
461
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
462
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
459
463
  * @uniPlatform {
460
- * "app": {
461
- * "android": {
462
- * "osVer": "12.0",
463
- * "uniVer": "√",
464
- * "unixVer": "4.65"
465
- * },
466
- * "ios": {
467
- * "osVer": "12.0",
468
- * "uniVer": "√",
469
- * "unixVer": "4.65"
470
- * },
471
- * "harmony": {
472
- * "osVer": "3.0",
473
- * "uniVer": "4.23",
474
- * "unixVer": "4.61"
475
- * }
476
- * },
477
- * "mp": {
478
- * "weixin": {
479
- * "hostVer": "2.8.2",
480
- * "uniVer": "√",
481
- * "unixVer": "4.41"
482
- * },
483
- * "alipay": {
484
- * "hostVer": "√",
485
- * "uniVer": "√",
486
- * "unixVer": "x"
487
- * },
488
- * "baidu": {
489
- * "hostVer": "√",
490
- * "uniVer": "√",
491
- * "unixVer": "x"
492
- * },
493
- * "toutiao": {
494
- * "hostVer": "√",
495
- * "uniVer": "√",
496
- * "unixVer": "x"
497
- * },
498
- * "lark": {
499
- * "hostVer": "√",
500
- * "uniVer": "√",
501
- * "unixVer": "x"
502
- * },
503
- * "qq": {
504
- * "hostVer": "√",
505
- * "uniVer": "√",
506
- * "unixVer": "x"
507
- * },
508
- * "kuaishou": {
509
- * "hostVer": "√",
510
- * "uniVer": "√",
511
- * "unixVer": "x"
512
- * },
513
- * "jd": {
514
- * "hostVer": "√",
515
- * "uniVer": "√",
516
- * "unixVer": "x"
517
- * }
518
- * },
519
- * "web": {
520
- * "uniVer": "√",
521
- * "unixVer": "4.0"
522
- * }
523
- * }
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": "3.0",
477
+ * "uniVer": "4.23",
478
+ * "unixVer": "4.61"
479
+ * }
480
+ * },
481
+ * "mp": {
482
+ * "weixin": {
483
+ * "hostVer": "2.8.2",
484
+ * "uniVer": "√",
485
+ * "unixVer": "4.41"
486
+ * },
487
+ * "alipay": {
488
+ * "hostVer": "√",
489
+ * "uniVer": "√",
490
+ * "unixVer": "x"
491
+ * },
492
+ * "baidu": {
493
+ * "hostVer": "√",
494
+ * "uniVer": "√",
495
+ * "unixVer": "x"
496
+ * },
497
+ * "toutiao": {
498
+ * "hostVer": "√",
499
+ * "uniVer": "√",
500
+ * "unixVer": "x"
501
+ * },
502
+ * "lark": {
503
+ * "hostVer": "√",
504
+ * "uniVer": "√",
505
+ * "unixVer": "x"
506
+ * },
507
+ * "qq": {
508
+ * "hostVer": "√",
509
+ * "uniVer": "√",
510
+ * "unixVer": "x"
511
+ * },
512
+ * "kuaishou": {
513
+ * "hostVer": "√",
514
+ * "uniVer": "√",
515
+ * "unixVer": "x"
516
+ * },
517
+ * "jd": {
518
+ * "hostVer": "√",
519
+ * "uniVer": "√",
520
+ * "unixVer": "x"
521
+ * }
522
+ * },
523
+ * "web": {
524
+ * "uniVer": "√",
525
+ * "unixVer": "4.0"
526
+ * }
527
+ * }
524
528
  * @uniVueVersion 2,3 //支持的vue版本
525
529
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.hideKeyboard.html
526
530
  */
527
- hideKeyboard(options ?: HideKeyboardOptions | null) : void;
528
-
529
- /**
530
- * 监听键盘高度变化事件
531
+ hideKeyboard(options ?: HideKeyboardOptions | null) : void;
532
+
533
+ /**
534
+ * 监听键盘高度变化事件
535
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
536
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#onkeyboardheightchange
537
+ * @tutorial https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
531
538
  * @uniPlatform {
532
- * "app": {
533
- * "android": {
534
- * "osVer": "12.0",
535
- * "uniVer": "√",
536
- * "unixVer": "4.65"
537
- * },
538
- * "ios": {
539
- * "osVer": "12.0",
540
- * "uniVer": "√",
541
- * "unixVer": "4.65"
542
- * }
543
- * },
544
- * "mp": {
545
- * "weixin": {
546
- * "hostVer": "2.7.0",
547
- * "uniVer": "√",
548
- * "unixVer": "4.41"
549
- * },
550
- * "alipay": {
551
- * "hostVer": "-",
552
- * "uniVer": "-",
553
- * "unixVer": "-"
554
- * },
555
- * "baidu": {
556
- * "hostVer": "-",
557
- * "uniVer": "-",
558
- * "unixVer": "-"
559
- * },
560
- * "toutiao": {
561
- * "hostVer": "-",
562
- * "uniVer": "-",
563
- * "unixVer": "-"
564
- * },
565
- * "lark": {
566
- * "hostVer": "-",
567
- * "uniVer": "-",
568
- * "unixVer": "-"
569
- * },
570
- * "qq": {
571
- * "hostVer": "-",
572
- * "uniVer": "-",
573
- * "unixVer": "-"
574
- * },
575
- * "kuaishou": {
576
- * "hostVer": "-",
577
- * "uniVer": "-",
578
- * "unixVer": "-"
579
- * },
580
- * "jd": {
581
- * "hostVer": "-",
582
- * "uniVer": "-",
583
- * "unixVer": "-"
584
- * }
585
- * }
586
- * }
539
+ * "app": {
540
+ * "android": {
541
+ * "osVer": "5.0",
542
+ * "uniVer": "√",
543
+ * "unixVer": "4.71"
544
+ * },
545
+ * "ios": {
546
+ * "osVer": "12.0",
547
+ * "uniVer": "√",
548
+ * "unixVer": "4.71"
549
+ * }
550
+ * },
551
+ * "mp": {
552
+ * "weixin": {
553
+ * "hostVer": "2.7.0",
554
+ * "uniVer": "√",
555
+ * "unixVer": "4.41"
556
+ * },
557
+ * "alipay": {
558
+ * "hostVer": "-",
559
+ * "uniVer": "-",
560
+ * "unixVer": "-"
561
+ * },
562
+ * "baidu": {
563
+ * "hostVer": "-",
564
+ * "uniVer": "-",
565
+ * "unixVer": "-"
566
+ * },
567
+ * "toutiao": {
568
+ * "hostVer": "-",
569
+ * "uniVer": "-",
570
+ * "unixVer": "-"
571
+ * },
572
+ * "lark": {
573
+ * "hostVer": "-",
574
+ * "uniVer": "-",
575
+ * "unixVer": "-"
576
+ * },
577
+ * "qq": {
578
+ * "hostVer": "-",
579
+ * "uniVer": "-",
580
+ * "unixVer": "-"
581
+ * },
582
+ * "kuaishou": {
583
+ * "hostVer": "-",
584
+ * "uniVer": "-",
585
+ * "unixVer": "-"
586
+ * },
587
+ * "jd": {
588
+ * "hostVer": "-",
589
+ * "uniVer": "-",
590
+ * "unixVer": "-"
591
+ * }
592
+ * }
593
+ * }
587
594
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
588
- */
589
- onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
590
-
591
- /**
592
- * 移除键盘高度变化事件的监听函数
595
+ */
596
+ onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
597
+
598
+ /**
599
+ * 移除键盘高度变化事件的监听函数
600
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
601
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#offkeyboardheightchange
602
+ * @tutorial https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
593
603
  * @uniPlatform {
594
- * "app": {
595
- * "android": {
596
- * "osVer": "12.0",
597
- * "uniVer": "√",
598
- * "unixVer": "4.65"
599
- * },
600
- * "ios": {
601
- * "osVer": "12.0",
602
- * "uniVer": "√",
603
- * "unixVer": "4.65"
604
- * }
605
- * },
606
- * "mp": {
607
- * "weixin": {
608
- * "hostVer": "2.9.2",
609
- * "uniVer": "√",
610
- * "unixVer": "4.41"
611
- * },
612
- * "alipay": {
613
- * "hostVer": "-",
614
- * "uniVer": "-",
615
- * "unixVer": "-"
616
- * },
617
- * "baidu": {
618
- * "hostVer": "-",
619
- * "uniVer": "-",
620
- * "unixVer": "-"
621
- * },
622
- * "toutiao": {
623
- * "hostVer": "-",
624
- * "uniVer": "-",
625
- * "unixVer": "-"
626
- * },
627
- * "lark": {
628
- * "hostVer": "-",
629
- * "uniVer": "-",
630
- * "unixVer": "-"
631
- * },
632
- * "qq": {
633
- * "hostVer": "-",
634
- * "uniVer": "-",
635
- * "unixVer": "-"
636
- * },
637
- * "kuaishou": {
638
- * "hostVer": "-",
639
- * "uniVer": "-",
640
- * "unixVer": "-"
641
- * },
642
- * "jd": {
643
- * "hostVer": "-",
644
- * "uniVer": "-",
645
- * "unixVer": "-"
646
- * }
647
- * }
648
- * }
604
+ * "app": {
605
+ * "android": {
606
+ * "osVer": "5.0",
607
+ * "uniVer": "√",
608
+ * "unixVer": "4.71"
609
+ * },
610
+ * "ios": {
611
+ * "osVer": "12.0",
612
+ * "uniVer": "√",
613
+ * "unixVer": "4.71"
614
+ * }
615
+ * },
616
+ * "mp": {
617
+ * "weixin": {
618
+ * "hostVer": "2.9.2",
619
+ * "uniVer": "√",
620
+ * "unixVer": "4.41"
621
+ * },
622
+ * "alipay": {
623
+ * "hostVer": "-",
624
+ * "uniVer": "-",
625
+ * "unixVer": "-"
626
+ * },
627
+ * "baidu": {
628
+ * "hostVer": "-",
629
+ * "uniVer": "-",
630
+ * "unixVer": "-"
631
+ * },
632
+ * "toutiao": {
633
+ * "hostVer": "-",
634
+ * "uniVer": "-",
635
+ * "unixVer": "-"
636
+ * },
637
+ * "lark": {
638
+ * "hostVer": "-",
639
+ * "uniVer": "-",
640
+ * "unixVer": "-"
641
+ * },
642
+ * "qq": {
643
+ * "hostVer": "-",
644
+ * "uniVer": "-",
645
+ * "unixVer": "-"
646
+ * },
647
+ * "kuaishou": {
648
+ * "hostVer": "-",
649
+ * "uniVer": "-",
650
+ * "unixVer": "-"
651
+ * },
652
+ * "jd": {
653
+ * "hostVer": "-",
654
+ * "uniVer": "-",
655
+ * "unixVer": "-"
656
+ * }
657
+ * }
658
+ * }
649
659
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
650
- */
651
- offKeyboardHeightChange(id ?: number | null): void
652
-
660
+ */
661
+ offKeyboardHeightChange(id ?: number | null): void
662
+
653
663
  // getSelectedTextRange(options : GetSelectedTextRangeOptions): void
654
664
  }
655
665
 
656
- export type HideKeyboard = (options ?: HideKeyboardOptions | null) => void;
657
-
658
- export type OnKeyboardHeightChange = (callback: OnKeyboardHeightChangeCallback) => number;
659
-
660
- export type OffKeyboardHeightChange = (id ?: number | null) => void;
661
-
662
- // export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
666
+ export type HideKeyboard = (options ?: HideKeyboardOptions | null) => void;
667
+
668
+ export type OnKeyboardHeightChange = (callback: OnKeyboardHeightChangeCallback) => number;
669
+
670
+ export type OffKeyboardHeightChange = (id ?: number | null) => void;
671
+
672
+ // export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
@@ -94,7 +94,7 @@ export interface LoadFontFaceFail extends IUniError {
94
94
  }
95
95
  export type LoadFontFaceOptions = {
96
96
  /**
97
- * 是否全局生效。微信小程序 '2.10.0'起支持全局生效,需在 app.vue 中调用。
97
+ * 是否全局生效微信小程序 '2.10.0'起支持全局生效。需在 app.uvue 中调用。
98
98
  * @uniPlatform {
99
99
  * "app": {
100
100
  * "android": {
@@ -110,7 +110,7 @@ export type LoadFontFaceOptions = {
110
110
  * "harmony": {
111
111
  * "osVer": "3.0",
112
112
  * "uniVer": "4.23",
113
- * "unixVer": "4.65"
113
+ * "unixVer": "x"
114
114
  * }
115
115
  * },
116
116
  * "mp": {
@@ -625,9 +625,9 @@ export interface Uni {
625
625
  /**
626
626
  * 动态加载网络字体
627
627
  *
628
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
629
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
630
628
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
629
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
630
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
631
631
  * @uniPlatform {
632
632
  * "app": {
633
633
  * "android": {
@@ -1,8 +1,9 @@
1
1
  export interface Uni {
2
2
  /**
3
3
  * 拨打电话
4
- * @tutorial https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
5
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
4
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/make-phone-call.html#makephonecall
5
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/make-phone-call.html#makephonecall
6
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
6
7
  * @uniPlatform {
7
8
  * "app": {
8
9
  * "android": {