@dcloudio/uni-app-x 0.7.58 → 0.7.59

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 (138) hide show
  1. package/package.json +6 -2
  2. package/types/index.d.ts +1 -0
  3. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  4. package/types/native/DOMRect.d.ts +60 -10
  5. package/types/native/IUniElement.d.ts +459 -0
  6. package/types/native/UniElement.d.ts +3 -2
  7. package/types/native/UniPage.d.ts +2 -2
  8. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  9. package/types/native/UniWebViewElement.d.ts +3 -1
  10. package/types/native/global.d.ts +8 -0
  11. package/types/native/index.d.ts +1 -0
  12. package/types/uni/env/index.d.ts +5 -5
  13. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +554 -0
  14. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +224 -0
  15. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +77 -0
  16. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +365 -0
  17. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +77 -0
  18. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +972 -0
  19. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +410 -0
  20. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +459 -0
  21. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +203 -0
  22. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +2613 -0
  23. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +152 -0
  24. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +61 -0
  25. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +548 -0
  26. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +137 -0
  27. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +1380 -0
  28. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +76 -0
  29. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +338 -0
  30. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +102 -0
  31. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +384 -0
  32. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +5316 -0
  33. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +35 -0
  34. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +616 -0
  35. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +2157 -0
  36. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +895 -0
  37. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +1755 -0
  38. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +82 -0
  39. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +295 -0
  40. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +299 -0
  41. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +1764 -0
  42. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +1 -0
  43. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +1 -0
  44. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +736 -0
  45. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +274 -0
  46. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +198 -0
  47. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +634 -0
  48. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +980 -0
  49. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +5550 -0
  50. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +501 -0
  51. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +83 -0
  52. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +169 -0
  53. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +102 -0
  54. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +580 -0
  55. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +100 -0
  56. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +2980 -0
  57. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +190 -0
  58. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +1002 -0
  59. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +3620 -0
  60. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +1592 -0
  61. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +1 -0
  62. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +254 -0
  63. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +112 -0
  64. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +153 -0
  65. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +833 -0
  66. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +1 -0
  67. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +1 -0
  68. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +3 -0
  69. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +518 -0
  70. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +560 -0
  71. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +2607 -0
  72. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +189 -0
  73. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +710 -0
  74. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +2695 -0
  75. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +80 -0
  76. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +130 -0
  77. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +719 -0
  78. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +277 -0
  79. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +1020 -0
  80. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +1148 -0
  81. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +1059 -0
  82. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +1660 -0
  83. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +1941 -0
  84. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  85. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  86. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  87. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  88. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  89. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  90. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  91. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +16 -6
  92. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  93. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  94. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  95. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +45 -0
  96. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  97. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +238 -233
  98. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  99. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +28 -1
  100. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -9
  101. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +67 -239
  102. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +24 -4
  103. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  104. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  105. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +293 -179
  106. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +118 -78
  107. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  108. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  109. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3932 -3514
  110. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  111. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  112. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  113. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  114. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  115. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2254 -1281
  116. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  117. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  118. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  119. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  120. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  121. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  122. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  123. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +126 -67
  125. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +726 -0
  126. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +89 -0
  127. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +212 -0
  128. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +2359 -0
  129. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +960 -0
  130. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +204 -0
  131. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +730 -0
  132. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +221 -0
  133. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +935 -0
  134. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -0
  135. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -0
  136. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +203 -1
  137. package/types/uni-cloud/interface.d.ts +229 -0
  138. package/types/vite.d.ts +269 -0
@@ -489,7 +489,7 @@ export interface BackgroundAudioManager {
489
489
  }
490
490
  }
491
491
  */
492
- // #ifdef APP-IOS
492
+ // #ifdef APP-IOS || APP-ANDROID
493
493
  cache: boolean;
494
494
  // #endif
495
495
  /**
@@ -78,7 +78,34 @@ export type GetProviderSuccess = {
78
78
  * }
79
79
  * }
80
80
  */
81
- 'oauth',
81
+ 'oauth'|
82
+ /**
83
+ * 分享
84
+ * @uniPlatform {
85
+ * "app": {
86
+ * "android": {
87
+ * "osVer": "x",
88
+ * "uniVer": "x",
89
+ * "unixVer": "x"
90
+ * },
91
+ * "ios": {
92
+ * "osVer": "x",
93
+ * "uniVer": "x",
94
+ * "unixVer": "x"
95
+ * },
96
+ * "harmony": {
97
+ * "osVer": "5.0.0",
98
+ * "uniVer": "4.66",
99
+ * "unixVer": "4.66"
100
+ * }
101
+ * },
102
+ * "web": {
103
+ * "uniVer": "x",
104
+ * "unixVer": "x"
105
+ * }
106
+ * }
107
+ */
108
+ 'share',
82
109
  /**
83
110
  * 得到的服务供应商
84
111
  * @type PlusShareShareService['id'][] | PlusPushClientInfo['id'][] | PlusOauthAuthService['id'][] | PlusPaymentPaymentChannel['id'][]
@@ -5925,8 +5925,6 @@ export type GetWindowInfoResult = {
5925
5925
  pixelRatio: number,
5926
5926
  /**
5927
5927
  * 屏幕宽度,单位为px
5928
- *
5929
- * @deprecated 已废弃,仅为了向下兼容保留
5930
5928
  *
5931
5929
  * @uniPlatform
5932
5930
  * {
@@ -5998,8 +5996,6 @@ export type GetWindowInfoResult = {
5998
5996
  screenWidth: number,
5999
5997
  /**
6000
5998
  * 屏幕高度,单位为px
6001
- *
6002
- * @deprecated 已废弃,仅为了向下兼容保留
6003
5999
  *
6004
6000
  * @uniPlatform
6005
6001
  * {
@@ -6071,8 +6067,6 @@ export type GetWindowInfoResult = {
6071
6067
  screenHeight: number,
6072
6068
  /**
6073
6069
  * 可使用窗口宽度,单位为px
6074
- *
6075
- * @deprecated 已废弃,仅为了向下兼容保留
6076
6070
  *
6077
6071
  * @uniPlatform
6078
6072
  * {
@@ -6144,8 +6138,6 @@ export type GetWindowInfoResult = {
6144
6138
  windowWidth: number,
6145
6139
  /**
6146
6140
  * 可使用窗口高度,单位为px
6147
- *
6148
- * @deprecated 已废弃,仅为了向下兼容保留
6149
6141
  *
6150
6142
  * @uniPlatform
6151
6143
  * {
@@ -6527,7 +6519,6 @@ export type GetWindowInfoResult = {
6527
6519
  /**
6528
6520
  * 窗口上边缘的 y 值,单位为px
6529
6521
  *
6530
- * @deprecated 已废弃,仅为了向下兼容保留
6531
6522
  * @uniPlatform
6532
6523
  * {
6533
6524
  * "app": {
@@ -399,201 +399,74 @@ export type OnKeyboardHeightChangeCallbackResult = {
399
399
  height : number
400
400
  }
401
401
 
402
- export type GetSelectedTextRangeOptions = {
403
- /**
404
- * 接口调用成功的回调函数
405
- * @uniPlatform {
406
- * "mp": {
407
- * "weixin": {
408
- * "hostVer": "√",
409
- * "uniVer": "√",
410
- * "unixVer": "4.41"
411
- * },
412
- * "alipay": {
413
- * "hostVer": "-",
414
- * "uniVer": "-",
415
- * "unixVer": "-"
416
- * },
417
- * "baidu": {
418
- * "hostVer": "-",
419
- * "uniVer": "-",
420
- * "unixVer": "-"
421
- * },
422
- * "toutiao": {
423
- * "hostVer": "-",
424
- * "uniVer": "-",
425
- * "unixVer": "-"
426
- * },
427
- * "lark": {
428
- * "hostVer": "-",
429
- * "uniVer": "-",
430
- * "unixVer": "-"
431
- * },
432
- * "qq": {
433
- * "hostVer": "-",
434
- * "uniVer": "-",
435
- * "unixVer": "-"
436
- * },
437
- * "kuaishou": {
438
- * "hostVer": "-",
439
- * "uniVer": "-",
440
- * "unixVer": "-"
441
- * },
442
- * "jd": {
443
- * "hostVer": "-",
444
- * "uniVer": "-",
445
- * "unixVer": "-"
446
- * }
447
- * }
448
- * }
449
- */
450
- success ?: GetSelectedTextRangeSuccessCallback | null,
451
- /**
452
- * 接口调用失败的回调函数
453
- * @uniPlatform {
454
- * "mp": {
455
- * "weixin": {
456
- * "hostVer": "√",
457
- * "uniVer": "√",
458
- * "unixVer": "4.41"
459
- * },
460
- * "alipay": {
461
- * "hostVer": "-",
462
- * "uniVer": "-",
463
- * "unixVer": "-"
464
- * },
465
- * "baidu": {
466
- * "hostVer": "-",
467
- * "uniVer": "-",
468
- * "unixVer": "-"
469
- * },
470
- * "toutiao": {
471
- * "hostVer": "-",
472
- * "uniVer": "-",
473
- * "unixVer": "-"
474
- * },
475
- * "lark": {
476
- * "hostVer": "-",
477
- * "uniVer": "-",
478
- * "unixVer": "-"
479
- * },
480
- * "qq": {
481
- * "hostVer": "-",
482
- * "uniVer": "-",
483
- * "unixVer": "-"
484
- * },
485
- * "kuaishou": {
486
- * "hostVer": "-",
487
- * "uniVer": "-",
488
- * "unixVer": "-"
489
- * },
490
- * "jd": {
491
- * "hostVer": "-",
492
- * "uniVer": "-",
493
- * "unixVer": "-"
494
- * }
495
- * }
496
- * }
497
- */
498
- fail ?: GetSelectedTextRangeFailCallback | null,
499
- /**
500
- * 接口调用结束的回调函数(调用成功、失败都会执行)
501
- * @uniPlatform {
502
- * "mp": {
503
- * "weixin": {
504
- * "hostVer": "√",
505
- * "uniVer": "√",
506
- * "unixVer": "4.41"
507
- * },
508
- * "alipay": {
509
- * "hostVer": "-",
510
- * "uniVer": "-",
511
- * "unixVer": "-"
512
- * },
513
- * "baidu": {
514
- * "hostVer": "-",
515
- * "uniVer": "-",
516
- * "unixVer": "-"
517
- * },
518
- * "toutiao": {
519
- * "hostVer": "-",
520
- * "uniVer": "-",
521
- * "unixVer": "-"
522
- * },
523
- * "lark": {
524
- * "hostVer": "-",
525
- * "uniVer": "-",
526
- * "unixVer": "-"
527
- * },
528
- * "qq": {
529
- * "hostVer": "-",
530
- * "uniVer": "-",
531
- * "unixVer": "-"
532
- * },
533
- * "kuaishou": {
534
- * "hostVer": "-",
535
- * "uniVer": "-",
536
- * "unixVer": "-"
537
- * },
538
- * "jd": {
539
- * "hostVer": "-",
540
- * "uniVer": "-",
541
- * "unixVer": "-"
542
- * }
543
- * }
544
- * }
545
- */
546
- complete ?: GetSelectedTextRangeCompleteCallback | null
547
- }
402
+ // export type GetSelectedTextRangeOptions = {
403
+ // /**
404
+ // * 接口调用成功的回调函数
405
+ // */
406
+ // success ?: GetSelectedTextRangeSuccessCallback | null,
407
+ // /**
408
+ // * 接口调用失败的回调函数
409
+ // */
410
+ // fail ?: GetSelectedTextRangeFailCallback | null,
411
+ // /**
412
+ // * 接口调用结束的回调函数(调用成功、失败都会执行)
413
+ // */
414
+ // complete ?: GetSelectedTextRangeCompleteCallback | null
415
+ // }
548
416
 
549
- export type GetSelectedTextRangeSuccessCallback = (res : GetSelectedTextRangeSuccess) => void
417
+ // export type GetSelectedTextRangeSuccessCallback = (res : GetSelectedTextRangeSuccess) => void
550
418
 
551
- export type GetSelectedTextRangeFailCallback = (res : GetSelectedTextRangeFail) => void
419
+ // export type GetSelectedTextRangeFailCallback = (res : GetSelectedTextRangeFail) => void
552
420
 
553
- export type GetSelectedTextRangeCompleteCallback = (res : any) => void
421
+ // export type GetSelectedTextRangeCompleteCallback = (res : any) => void
554
422
 
555
- export type GetSelectedTextRangeSuccess = {
556
- /**
557
- * 输入框光标起始位置
558
- * @uniPlatform {
559
- * "app": {
560
- * "ios": {
561
- * "osVer": "12.0",
562
- * "uniVer": "√",
563
- * "unixVer": "4.61"
564
- * }
565
- * }
566
- * }
567
- */
568
- start : number,
569
- /**
570
- * 输入框光标结束位置
571
- * @uniPlatform {
572
- * "app": {
573
- * "ios": {
574
- * "osVer": "12.0",
575
- * "uniVer": "√",
576
- * "unixVer": "4.61"
577
- * }
578
- * }
579
- * }
580
- */
581
- end : number
582
- }
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
+ // }
583
451
 
584
- export type GetSelectedTextRangeFail = {
452
+ // export type GetSelectedTextRangeFail = {
585
453
 
586
- }
454
+ // }
587
455
 
588
456
  export interface Uni {
589
457
  /**
590
458
  * 隐藏键盘
591
459
  * @uniPlatform {
592
460
  * "app": {
461
+ * "android": {
462
+ * "osVer": "12.0",
463
+ * "uniVer": "√",
464
+ * "unixVer": "4.65"
465
+ * },
593
466
  * "ios": {
594
467
  * "osVer": "12.0",
595
468
  * "uniVer": "√",
596
- * "unixVer": "4.61"
469
+ * "unixVer": "4.65"
597
470
  * },
598
471
  * "harmony": {
599
472
  * "osVer": "3.0",
@@ -657,10 +530,15 @@ export interface Uni {
657
530
  * 监听键盘高度变化事件
658
531
  * @uniPlatform {
659
532
  * "app": {
533
+ * "android": {
534
+ * "osVer": "12.0",
535
+ * "uniVer": "√",
536
+ * "unixVer": "4.65"
537
+ * },
660
538
  * "ios": {
661
539
  * "osVer": "12.0",
662
540
  * "uniVer": "√",
663
- * "unixVer": "4.61"
541
+ * "unixVer": "4.65"
664
542
  * }
665
543
  * },
666
544
  * "mp": {
@@ -714,10 +592,15 @@ export interface Uni {
714
592
  * 移除键盘高度变化事件的监听函数
715
593
  * @uniPlatform {
716
594
  * "app": {
595
+ * "android": {
596
+ * "osVer": "12.0",
597
+ * "uniVer": "√",
598
+ * "unixVer": "4.65"
599
+ * },
717
600
  * "ios": {
718
601
  * "osVer": "12.0",
719
602
  * "uniVer": "√",
720
- * "unixVer": "4.61"
603
+ * "unixVer": "4.65"
721
604
  * }
722
605
  * },
723
606
  * "mp": {
@@ -767,62 +650,7 @@ export interface Uni {
767
650
  */
768
651
  offKeyboardHeightChange(id ?: number | null): void
769
652
 
770
- /**
771
- * 获取输入框的光标位置(只有在focus的时候调用此接口才有效)
772
- * @uniPlatform {
773
- * "app": {
774
- * "ios": {
775
- * "osVer": "12.0",
776
- * "uniVer": "√",
777
- * "unixVer": "4.61"
778
- * }
779
- * },
780
- * "mp": {
781
- * "weixin": {
782
- * "hostVer": "2.7.0",
783
- * "uniVer": "√",
784
- * "unixVer": "4.41"
785
- * },
786
- * "alipay": {
787
- * "hostVer": "-",
788
- * "uniVer": "-",
789
- * "unixVer": "-"
790
- * },
791
- * "baidu": {
792
- * "hostVer": "-",
793
- * "uniVer": "-",
794
- * "unixVer": "-"
795
- * },
796
- * "toutiao": {
797
- * "hostVer": "-",
798
- * "uniVer": "-",
799
- * "unixVer": "-"
800
- * },
801
- * "lark": {
802
- * "hostVer": "-",
803
- * "uniVer": "-",
804
- * "unixVer": "-"
805
- * },
806
- * "qq": {
807
- * "hostVer": "-",
808
- * "uniVer": "-",
809
- * "unixVer": "-"
810
- * },
811
- * "kuaishou": {
812
- * "hostVer": "-",
813
- * "uniVer": "-",
814
- * "unixVer": "-"
815
- * },
816
- * "jd": {
817
- * "hostVer": "-",
818
- * "uniVer": "-",
819
- * "unixVer": "-"
820
- * }
821
- * }
822
- * }
823
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.getSelectedTextRange.html
824
- */
825
- getSelectedTextRange(options : GetSelectedTextRangeOptions): void
653
+ // getSelectedTextRange(options : GetSelectedTextRangeOptions): void
826
654
  }
827
655
 
828
656
  export type HideKeyboard = (options ?: HideKeyboardOptions | null) => void;
@@ -831,4 +659,4 @@ export type OnKeyboardHeightChange = (callback: OnKeyboardHeightChangeCallback)
831
659
 
832
660
  export type OffKeyboardHeightChange = (id ?: number | null) => void;
833
661
 
834
- export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
662
+ // export type GetSelectedTextRange = (options : GetSelectedTextRangeOptions) => void;
@@ -106,7 +106,12 @@ export type LoadFontFaceOptions = {
106
106
  * "osVer": "10.0",
107
107
  * "uniVer": "√",
108
108
  * "unixVer": "x"
109
- * }
109
+ * },
110
+ * "harmony": {
111
+ * "osVer": "3.0",
112
+ * "uniVer": "4.23",
113
+ * "unixVer": "4.65"
114
+ * }
110
115
  * },
111
116
  * "mp": {
112
117
  * "weixin": {
@@ -170,7 +175,12 @@ export type LoadFontFaceOptions = {
170
175
  * "osVer": "10.0",
171
176
  * "uniVer": "√",
172
177
  * "unixVer": "4.10"
173
- * }
178
+ * },
179
+ * "harmony": {
180
+ * "osVer": "3.0",
181
+ * "uniVer": "4.23",
182
+ * "unixVer": "4.61"
183
+ * }
174
184
  * },
175
185
  * "mp": {
176
186
  * "weixin": {
@@ -234,7 +244,12 @@ export type LoadFontFaceOptions = {
234
244
  * "osVer": "10.0",
235
245
  * "uniVer": "√",
236
246
  * "unixVer": "4.10"
237
- * }
247
+ * },
248
+ * "harmony": {
249
+ * "osVer": "3.0",
250
+ * "uniVer": "4.23",
251
+ * "unixVer": "4.61"
252
+ * }
238
253
  * },
239
254
  * "mp": {
240
255
  * "weixin": {
@@ -298,7 +313,12 @@ export type LoadFontFaceOptions = {
298
313
  * "osVer": "10.0",
299
314
  * "uniVer": "√",
300
315
  * "unixVer": "4.10"
301
- * }
316
+ * },
317
+ * "harmony": {
318
+ * "osVer": "x",
319
+ * "uniVer": "x",
320
+ * "unixVer": "x"
321
+ * }
302
322
  * },
303
323
  * "mp": {
304
324
  * "weixin": {
@@ -3,6 +3,8 @@ import {
3
3
  MakePhoneCall as MakePhoneCallOrigin,
4
4
  MakePhoneCallSuccess as MakePhoneCallSuccessOrigin,
5
5
  MakePhoneCallSuccessCallback as MakePhoneCallSuccessCallbackOrigin,
6
+ MakePhoneCallErrorCode as MakePhoneCallErrorCodeOrigin,
7
+ IMakePhoneCallError as IMakePhoneCallErrorOrigin,
6
8
  MakePhoneCallFail as MakePhoneCallFailOrigin,
7
9
  MakePhoneCallFailCallback as MakePhoneCallFailCallbackOrigin,
8
10
  MakePhoneCallComplete as MakePhoneCallCompleteOrigin,
@@ -15,6 +17,8 @@ declare global {
15
17
  type MakePhoneCall = MakePhoneCallOrigin
16
18
  type MakePhoneCallSuccess = MakePhoneCallSuccessOrigin
17
19
  type MakePhoneCallSuccessCallback = MakePhoneCallSuccessCallbackOrigin
20
+ type MakePhoneCallErrorCode = MakePhoneCallErrorCodeOrigin
21
+ type IMakePhoneCallError = IMakePhoneCallErrorOrigin
18
22
  type MakePhoneCallFail = MakePhoneCallFailOrigin
19
23
  type MakePhoneCallFailCallback = MakePhoneCallFailCallbackOrigin
20
24
  type MakePhoneCallComplete = MakePhoneCallCompleteOrigin
@@ -3,6 +3,8 @@ export {
3
3
  MakePhoneCall,
4
4
  MakePhoneCallSuccess,
5
5
  MakePhoneCallSuccessCallback,
6
+ MakePhoneCallErrorCode,
7
+ IMakePhoneCallError,
6
8
  MakePhoneCallFail,
7
9
  MakePhoneCallFailCallback,
8
10
  MakePhoneCallComplete,