@dcloudio/uni-app-x 0.7.111 → 0.7.113

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 (380) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/dom2-internal/sharedData.d.ts +9 -14
  5. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  6. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  7. package/types/native/DrawableContext.d.ts +1893 -1893
  8. package/types/native/IUniElement.d.ts +7468 -7461
  9. package/types/native/IUniNativeViewElement.d.ts +327 -327
  10. package/types/native/SnapshotOptions.d.ts +337 -62
  11. package/types/native/UniPage.d.ts +1305 -1305
  12. package/types/native/UniResizeObserver.d.ts +749 -749
  13. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  14. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  15. package/types/page.d.ts +3154 -3112
  16. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  25. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  28. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  31. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  32. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  33. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  37. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  38. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  41. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  54. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  59. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  60. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  61. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  62. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  63. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  64. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  65. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  66. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  67. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  68. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  69. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  70. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  71. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  72. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  73. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  74. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  75. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  76. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  77. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  78. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  82. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  84. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  85. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  86. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  87. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  90. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  94. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  97. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  99. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  100. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  101. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  102. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  103. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  131. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  132. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  136. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  139. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  142. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  145. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  148. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  152. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  159. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  162. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  180. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  183. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  189. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  192. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  195. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  198. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  201. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  243. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  246. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  249. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  252. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  255. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  264. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  267. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  270. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  273. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  276. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  279. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  288. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  294. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  312. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  315. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  318. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  321. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  324. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  327. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  330. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  333. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  336. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  339. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  342. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  348. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  351. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  354. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  357. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  360. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  363. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  366. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  369. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  372. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  375. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  376. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  379. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  380. package/types/vue/LifeCycle.d.ts +865 -854
@@ -0,0 +1,1221 @@
1
+ export type SetTabBarBadgeSuccess = AsyncApiSuccessResult
2
+ export type SetTabBarBadgeSuccessCallback = (
3
+ result: SetTabBarBadgeSuccess,
4
+ ) => void
5
+ /**
6
+ * 错误码
7
+ */
8
+ export type SetTabBarErrorCode =
9
+ /**
10
+ * TabBar 不存在
11
+ */
12
+ 100 |
13
+ /**
14
+ * 参数错误
15
+ */
16
+ 200;
17
+
18
+ export interface SetTabBarFail extends IUniError {
19
+ errCode: SetTabBarErrorCode
20
+ }
21
+ export type SetTabBarBadgeFail = SetTabBarFail
22
+ export type SetTabBarBadgeFailCallback = (result: SetTabBarBadgeFail) => void
23
+ export type SetTabBarBadgeComplete = AsyncApiResult
24
+ export type SetTabBarBadgeCompleteCallback = (
25
+ result: SetTabBarBadgeComplete,
26
+ ) => void
27
+ export type SetTabBarBadgeOptions = {
28
+ /**
29
+ * tabBar的哪一项,从左边算起,索引从0开始
30
+ */
31
+ index: number
32
+ /**
33
+ * 显示的文本,不超过 3 个半角字符
34
+ */
35
+ text: string
36
+ /**
37
+ * 接口调用成功的回调函数
38
+ */
39
+ success?: SetTabBarBadgeSuccessCallback
40
+ /**
41
+ * 接口调用失败的回调函数
42
+ */
43
+ fail?: SetTabBarBadgeFailCallback
44
+ /**
45
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
46
+ */
47
+ complete?: SetTabBarBadgeCompleteCallback
48
+ }
49
+
50
+ export type RemoveTabBarBadgeSuccess = AsyncApiSuccessResult
51
+ export type RemoveTabBarBadgeSuccessCallback = (
52
+ result: RemoveTabBarBadgeSuccess,
53
+ ) => void
54
+ export type RemoveTabBarBadgeFail = SetTabBarFail
55
+ export type RemoveTabBarBadgeFailCallback = (
56
+ result: RemoveTabBarBadgeFail,
57
+ ) => void
58
+ export type RemoveTabBarBadgeComplete = AsyncApiResult
59
+ export type RemoveTabBarBadgeCompleteCallback = (
60
+ result: RemoveTabBarBadgeComplete,
61
+ ) => void
62
+ export type RemoveTabBarBadgeOptions = {
63
+ /**
64
+ * tabBar的哪一项,从左边算起,索引从0开始
65
+ */
66
+ index: number
67
+ /**
68
+ * 接口调用成功的回调函数
69
+ */
70
+ success?: RemoveTabBarBadgeSuccessCallback
71
+ /**
72
+ * 接口调用失败的回调函数
73
+ */
74
+ fail?: RemoveTabBarBadgeFailCallback
75
+ /**
76
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
77
+ */
78
+ complete?: RemoveTabBarBadgeCompleteCallback
79
+ }
80
+
81
+ export type SetTabBarItemSuccess = AsyncApiSuccessResult
82
+ export type SetTabBarItemSuccessCallback = (
83
+ result: SetTabBarItemSuccess,
84
+ ) => void
85
+ export type SetTabBarItemFail = SetTabBarFail
86
+ export type SetTabBarItemFailCallback = (result: SetTabBarItemFail) => void
87
+ export type SetTabBarItemComplete = AsyncApiResult
88
+ export type SetTabBarItemCompleteCallback = (
89
+ result: SetTabBarItemComplete,
90
+ ) => void
91
+ export type SetTabBarItemIconFontOptions = {
92
+ /**
93
+ * 字库 Unicode 码
94
+ */
95
+ text: string
96
+ /**
97
+ * 选中后字库 Unicode 码
98
+ */
99
+ selectedText: string
100
+ /**
101
+ * 字体图标字号(px)
102
+ */
103
+ fontSize?: string
104
+ /**
105
+ * 字体图标颜色
106
+ */
107
+ color?: string
108
+ /**
109
+ * 字体图标选中颜色
110
+ */
111
+ selectedColor?: string
112
+ }
113
+ export type SetTabBarItemOptions = {
114
+ /**
115
+ * tabBar 的哪一项,从左边算起,索引从0开始
116
+ */
117
+ index: number
118
+ /**
119
+ * tab 上按钮文字
120
+ */
121
+ text?: string
122
+ /**
123
+ * 图片路径
124
+ */
125
+ iconPath?: string
126
+ /**
127
+ * 选中时的图片路径
128
+ */
129
+ selectedIconPath?: string
130
+ /**
131
+ * 页面绝对路径
132
+ * @uniPlatform {
133
+ * "app": {
134
+ * "android": {
135
+ * "osVer": "x",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * },
139
+ * "ios": {
140
+ * "osVer": "x",
141
+ * "uniVer": "x",
142
+ * "unixVer": "x"
143
+ * },
144
+ * "harmony": {
145
+ * "osVer": "x",
146
+ * "uniVer": "x",
147
+ * "unixVer": "x"
148
+ * }
149
+ * },
150
+ * "mp": {
151
+ * "weixin": {
152
+ * "hostVer": "x",
153
+ * "uniVer": "x",
154
+ * "unixVer": "x"
155
+ * },
156
+ * "alipay": {
157
+ * "hostVer": "x",
158
+ * "uniVer": "x",
159
+ * "unixVer": "x"
160
+ * },
161
+ * "baidu": {
162
+ * "hostVer": "x",
163
+ * "uniVer": "x",
164
+ * "unixVer": "x"
165
+ * },
166
+ * "toutiao": {
167
+ * "hostVer": "x",
168
+ * "uniVer": "x",
169
+ * "unixVer": "x"
170
+ * },
171
+ * "lark": {
172
+ * "hostVer": "x",
173
+ * "uniVer": "x",
174
+ * "unixVer": "x"
175
+ * },
176
+ * "qq": {
177
+ * "hostVer": "x",
178
+ * "uniVer": "x",
179
+ * "unixVer": "x"
180
+ * },
181
+ * "kuaishou": {
182
+ * "hostVer": "x",
183
+ * "uniVer": "x",
184
+ * "unixVer": "x"
185
+ * },
186
+ * "jd": {
187
+ * "hostVer": "x",
188
+ * "uniVer": "x",
189
+ * "unixVer": "x"
190
+ * }
191
+ * },
192
+ * "web": {
193
+ * "uniVer": "√",
194
+ * "unixVer": "√"
195
+ * }
196
+ * }
197
+ */
198
+ pagePath?: string
199
+ /**
200
+ * 字体图标,优先级高于 iconPath
201
+ */
202
+ iconfont?: SetTabBarItemIconFontOptions
203
+ /**
204
+ * tab 是否显示
205
+ */
206
+ visible?: boolean
207
+ /**
208
+ * 接口调用成功的回调函数
209
+ */
210
+ success?: SetTabBarItemSuccessCallback
211
+ /**
212
+ * 接口调用失败的回调函数
213
+ */
214
+ fail?: SetTabBarItemFailCallback
215
+ /**
216
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
217
+ */
218
+ complete?: SetTabBarItemCompleteCallback
219
+ }
220
+
221
+ export type MidButtonIconFont = {
222
+ /**
223
+ * 字库 Unicode 码
224
+ */
225
+ text?: string
226
+ /**
227
+ * 选中后字库 Unicode 码
228
+ */
229
+ selectedText?: string
230
+ /**
231
+ * 字体图标字号(px)
232
+ */
233
+ fontSize?: string
234
+ /**
235
+ * 字体图标颜色
236
+ */
237
+ color?: string
238
+ /**
239
+ * 字体图标选中颜色
240
+ */
241
+ selectedColor?: string
242
+ }
243
+
244
+ export type MidButtonOptions = {
245
+ /**
246
+ * 中间按钮的宽度,tabBar 其它项为减去此宽度后平分,默认值为与其它项平分宽度。默认 80px
247
+ */
248
+ width?: string
249
+ /**
250
+ * 中间按钮的高度,可以大于 tabBar 高度,达到中间凸起的效果。默认 50px
251
+ */
252
+ height?: string
253
+ /**
254
+ * 中间按钮的文字
255
+ */
256
+ text?: string
257
+ /**
258
+ * 中间按钮的图片路径
259
+ */
260
+ iconPath?: string
261
+ /**
262
+ * 图片宽度(高度等比例缩放)。默认 24px
263
+ */
264
+ iconWidth?: string
265
+ /**
266
+ * 中间按钮的背景图片路径
267
+ */
268
+ backgroundImage?: string
269
+ /**
270
+ * 字体图标,优先级高于 iconPath
271
+ */
272
+ iconfont?: MidButtonIconFont
273
+ }
274
+
275
+ export type SetTabBarStyleSuccess = AsyncApiSuccessResult
276
+ export type SetTabBarStyleSuccessCallback = (
277
+ result: SetTabBarStyleSuccess,
278
+ ) => void
279
+ export type SetTabBarStyleFail = SetTabBarFail
280
+ export type SetTabBarStyleFailCallback = (result: SetTabBarStyleFail) => void
281
+ export type SetTabBarStyleComplete = AsyncApiResult
282
+ export type SetTabBarStyleCompleteCallback = (
283
+ result: SetTabBarStyleComplete,
284
+ ) => void
285
+ export type SetTabBarStyleOptions = {
286
+ /**
287
+ * tab 上的文字默认颜色
288
+ */
289
+ color?: string | string.ColorString
290
+ /**
291
+ * tab 上的文字选中时的颜色
292
+ */
293
+ selectedColor?: string | string.ColorString
294
+ /**
295
+ * tab 的背景色
296
+ */
297
+ backgroundColor?: string | string.ColorString
298
+ /**
299
+ * 图片背景
300
+ */
301
+ backgroundImage?: string
302
+ /**
303
+ * 背景图平铺方式
304
+ */
305
+ backgroundRepeat?:
306
+ /**
307
+ * 背景图片在垂直方向和水平方向平铺
308
+ */
309
+ 'repeat' |
310
+ /**
311
+ * 背景图片在水平方向平铺,垂直方向拉伸
312
+ */
313
+ 'repeat-x' |
314
+ /**
315
+ * 背景图片在垂直方向平铺,水平方向拉伸
316
+ */
317
+ 'repeat-y' |
318
+ /**
319
+ * 背景图片在垂直方向和水平方向都拉伸
320
+ */
321
+ 'no-repeat'
322
+
323
+ /**
324
+ * tabbar上边框的颜色(优先级高于 borderStyle)
325
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
326
+ * @uniPlatform {
327
+ * "app": {
328
+ * "android": {
329
+ * "osVer": "5.0",
330
+ * "uniVer": "x",
331
+ * "unixVer": "x"
332
+ * },
333
+ * "ios": {
334
+ * "osVer": "12.0",
335
+ * "uniVer": "x",
336
+ * "unixVer": "4.23"
337
+ * },
338
+ * "harmony": {
339
+ * "osVer": "3.0",
340
+ * "uniVer": "4.23",
341
+ * "unixVer": "4.61",
342
+ * "unixVaporVer": "x"
343
+ * }
344
+ * },
345
+ * "mp": {
346
+ * "weixin": {
347
+ * "hostVer": "√",
348
+ * "uniVer": "√",
349
+ * "unixVer": "4.41"
350
+ * },
351
+ * "alipay": {
352
+ * "hostVer": "√",
353
+ * "uniVer": "√",
354
+ * "unixVer": "x"
355
+ * },
356
+ * "baidu": {
357
+ * "hostVer": "√",
358
+ * "uniVer": "√",
359
+ * "unixVer": "x"
360
+ * },
361
+ * "toutiao": {
362
+ * "hostVer": "√",
363
+ * "uniVer": "√",
364
+ * "unixVer": "x"
365
+ * },
366
+ * "lark": {
367
+ * "hostVer": "√",
368
+ * "uniVer": "√",
369
+ * "unixVer": "x"
370
+ * },
371
+ * "qq": {
372
+ * "hostVer": "√",
373
+ * "uniVer": "√",
374
+ * "unixVer": "x"
375
+ * },
376
+ * "kuaishou": {
377
+ * "hostVer": "√",
378
+ * "uniVer": "√",
379
+ * "unixVer": "x"
380
+ * },
381
+ * "jd": {
382
+ * "hostVer": "√",
383
+ * "uniVer": "√",
384
+ * "unixVer": "x"
385
+ * }
386
+ * },
387
+ * "web": {
388
+ * "uniVer": "x",
389
+ * "unixVer": "4.23"
390
+ * }
391
+ * }
392
+ */
393
+ borderColor?: string | string.ColorString
394
+ /**
395
+ * tabbar上边框的颜色
396
+ */
397
+ borderStyle?: 'black' | 'white'
398
+ /**
399
+ * tabbar 中间按钮 仅在 list 项为偶数时有效
400
+ * @internal
401
+ */
402
+ midButton?: MidButtonOptions
403
+ /**
404
+ * 接口调用成功的回调函数
405
+ */
406
+ success?: SetTabBarStyleSuccessCallback
407
+ /**
408
+ * 接口调用失败的回调函数
409
+ */
410
+ fail?: SetTabBarStyleFailCallback
411
+ /**
412
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
413
+ */
414
+ complete?: SetTabBarStyleCompleteCallback
415
+ }
416
+
417
+ export type HideTabBarSuccess = AsyncApiSuccessResult
418
+ export type HideTabBarSuccessCallback = (result: HideTabBarSuccess) => void
419
+ export type HideTabBarFail = SetTabBarFail
420
+ export type HideTabBarFailCallback = (result: HideTabBarFail) => void
421
+ export type HideTabBarComplete = AsyncApiResult
422
+ export type HideTabBarCompleteCallback = (result: HideTabBarComplete) => void
423
+ export type HideTabBarOptions = {
424
+ /**
425
+ * 是否需要动画效果
426
+ */
427
+ animation?: boolean
428
+ /**
429
+ * 接口调用成功的回调函数
430
+ */
431
+ success?: HideTabBarSuccessCallback
432
+ /**
433
+ * 接口调用失败的回调函数
434
+ */
435
+ fail?: HideTabBarFailCallback
436
+ /**
437
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
438
+ */
439
+ complete?: HideTabBarCompleteCallback
440
+ }
441
+
442
+ export type ShowTabBarSuccess = AsyncApiSuccessResult
443
+ export type ShowTabBarSuccessCallback = (result: ShowTabBarSuccess) => void
444
+ export type ShowTabBarFail = SetTabBarFail
445
+ export type ShowTabBarFailCallback = (result: ShowTabBarFail) => void
446
+ export type ShowTabBarComplete = AsyncApiResult
447
+ export type ShowTabBarCompleteCallback = (result: ShowTabBarComplete) => void
448
+ export type ShowTabBarOptions = {
449
+ /**
450
+ * 是否需要动画效果
451
+ */
452
+ animation?: boolean
453
+ /**
454
+ * 接口调用成功的回调函数
455
+ */
456
+ success?: ShowTabBarSuccessCallback
457
+ /**
458
+ * 接口调用失败的回调函数
459
+ */
460
+ fail?: ShowTabBarFailCallback
461
+ /**
462
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
463
+ */
464
+ complete?: ShowTabBarCompleteCallback
465
+ }
466
+
467
+ export type ShowTabBarRedDotSuccess = AsyncApiSuccessResult
468
+ export type ShowTabBarRedDotSuccessCallback = (
469
+ result: ShowTabBarRedDotSuccess,
470
+ ) => void
471
+ export type ShowTabBarRedDotFail = SetTabBarFail
472
+ export type ShowTabBarRedDotFailCallback = (
473
+ result: ShowTabBarRedDotFail,
474
+ ) => void
475
+ export type ShowTabBarRedDotComplete = AsyncApiResult
476
+ export type ShowTabBarRedDotCompleteCallback = (
477
+ result: ShowTabBarRedDotComplete,
478
+ ) => void
479
+ export type ShowTabBarRedDotOptions = {
480
+ /**
481
+ * tabBar的哪一项,从左边算起,索引从0开始
482
+ */
483
+ index: number
484
+ /**
485
+ * 接口调用成功的回调函数
486
+ */
487
+ success?: ShowTabBarRedDotSuccessCallback
488
+ /**
489
+ * 接口调用失败的回调函数
490
+ */
491
+ fail?: ShowTabBarRedDotFailCallback
492
+ /**
493
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
494
+ */
495
+ complete?: ShowTabBarRedDotCompleteCallback
496
+ }
497
+
498
+ export type HideTabBarRedDotSuccess = AsyncApiSuccessResult
499
+ export type HideTabBarRedDotSuccessCallback = (
500
+ result: HideTabBarRedDotSuccess,
501
+ ) => void
502
+ export type HideTabBarRedDotFail = SetTabBarFail
503
+ export type HideTabBarRedDotFailCallback = (
504
+ result: HideTabBarRedDotFail,
505
+ ) => void
506
+ export type HideTabBarRedDotComplete = AsyncApiResult
507
+ export type HideTabBarRedDotCompleteCallback = (
508
+ result: HideTabBarRedDotComplete,
509
+ ) => void
510
+ export type HideTabBarRedDotOptions = {
511
+ /**
512
+ * tabBar的哪一项,从左边算起,索引从0开始
513
+ */
514
+ index: number
515
+ /**
516
+ * 接口调用成功的回调函数
517
+ */
518
+ success?: HideTabBarRedDotSuccessCallback
519
+ /**
520
+ * 接口调用失败的回调函数
521
+ */
522
+ fail?: HideTabBarRedDotFailCallback
523
+ /**
524
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
525
+ */
526
+ complete?: HideTabBarRedDotCompleteCallback
527
+ }
528
+
529
+ export type OnTabBarMidButtonTapCallback = () => void
530
+
531
+
532
+ export type SetTabBarBadge = (options: SetTabBarBadgeOptions) => void
533
+ export type RemoveTabBarBadge = (options: RemoveTabBarBadgeOptions) => void
534
+ export type SetTabBarItem = (options: SetTabBarItemOptions) => void
535
+ export type SetTabBarStyle = (options: SetTabBarStyleOptions) => void
536
+ export type ShowTabBar = (options?: ShowTabBarOptions | null) => void
537
+ export type HideTabBar = (options?: HideTabBarOptions | null) => void
538
+ export type ShowTabBarRedDot = (options: ShowTabBarRedDotOptions) => void
539
+ export type HideTabBarRedDot = (options: HideTabBarRedDotOptions) => void
540
+
541
+ export interface Uni {
542
+ /**
543
+ * 为 tabBar 某一项的右上角添加文本
544
+ *
545
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarbadge
546
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
547
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarbadge
548
+ * @uniPlatform {
549
+ * "app": {
550
+ * "android": {
551
+ * "osVer": "5.0",
552
+ * "uniVer": "√",
553
+ * "unixVer": "3.91"
554
+ * },
555
+ * "ios": {
556
+ * "osVer": "12.0",
557
+ * "uniVer": "√",
558
+ * "unixVer": "4.11"
559
+ * },
560
+ * "harmony": {
561
+ * "osVer": "3.0",
562
+ * "uniVer": "4.23",
563
+ * "unixVer": "4.61",
564
+ * "unixVaporVer": "x"
565
+ * }
566
+ * },
567
+ * "mp": {
568
+ * "weixin": {
569
+ * "hostVer": "√",
570
+ * "uniVer": "√",
571
+ * "unixVer": "4.41"
572
+ * },
573
+ * "alipay": {
574
+ * "hostVer": "√",
575
+ * "uniVer": "√",
576
+ * "unixVer": "x"
577
+ * },
578
+ * "baidu": {
579
+ * "hostVer": "√",
580
+ * "uniVer": "√",
581
+ * "unixVer": "x"
582
+ * },
583
+ * "toutiao": {
584
+ * "hostVer": "√",
585
+ * "uniVer": "√",
586
+ * "unixVer": "x"
587
+ * },
588
+ * "lark": {
589
+ * "hostVer": "√",
590
+ * "uniVer": "√",
591
+ * "unixVer": "x"
592
+ * },
593
+ * "qq": {
594
+ * "hostVer": "√",
595
+ * "uniVer": "√",
596
+ * "unixVer": "x"
597
+ * },
598
+ * "kuaishou": {
599
+ * "hostVer": "√",
600
+ * "uniVer": "√",
601
+ * "unixVer": "x"
602
+ * },
603
+ * "jd": {
604
+ * "hostVer": "√",
605
+ * "uniVer": "√",
606
+ * "unixVer": "x"
607
+ * }
608
+ * },
609
+ * "web": {
610
+ * "uniVer": "√",
611
+ * "unixVer": "4.0"
612
+ * }
613
+ * }
614
+ */
615
+ setTabBarBadge(
616
+ options: SetTabBarBadgeOptions,
617
+ ): Promise<SetTabBarBadgeSuccess> | null
618
+ /**
619
+ * 移除 tabBar 某一项右上角的文本
620
+ *
621
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#removetabbarbadge
622
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
623
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#removetabbarbadge
624
+ * @uniPlatform {
625
+ * "app": {
626
+ * "android": {
627
+ * "osVer": "5.0",
628
+ * "uniVer": "√",
629
+ * "unixVer": "3.91"
630
+ * },
631
+ * "ios": {
632
+ * "osVer": "12.0",
633
+ * "uniVer": "√",
634
+ * "unixVer": "4.11"
635
+ * },
636
+ * "harmony": {
637
+ * "osVer": "3.0",
638
+ * "uniVer": "4.23",
639
+ * "unixVer": "4.61",
640
+ * "unixVaporVer": "x"
641
+ * }
642
+ * },
643
+ * "mp": {
644
+ * "weixin": {
645
+ * "hostVer": "√",
646
+ * "uniVer": "√",
647
+ * "unixVer": "4.41"
648
+ * },
649
+ * "alipay": {
650
+ * "hostVer": "√",
651
+ * "uniVer": "√",
652
+ * "unixVer": "x"
653
+ * },
654
+ * "baidu": {
655
+ * "hostVer": "√",
656
+ * "uniVer": "√",
657
+ * "unixVer": "x"
658
+ * },
659
+ * "toutiao": {
660
+ * "hostVer": "√",
661
+ * "uniVer": "√",
662
+ * "unixVer": "x"
663
+ * },
664
+ * "lark": {
665
+ * "hostVer": "√",
666
+ * "uniVer": "√",
667
+ * "unixVer": "x"
668
+ * },
669
+ * "qq": {
670
+ * "hostVer": "√",
671
+ * "uniVer": "√",
672
+ * "unixVer": "x"
673
+ * },
674
+ * "kuaishou": {
675
+ * "hostVer": "√",
676
+ * "uniVer": "√",
677
+ * "unixVer": "x"
678
+ * },
679
+ * "jd": {
680
+ * "hostVer": "√",
681
+ * "uniVer": "√",
682
+ * "unixVer": "x"
683
+ * }
684
+ * },
685
+ * "web": {
686
+ * "uniVer": "√",
687
+ * "unixVer": "4.0"
688
+ * }
689
+ * }
690
+ */
691
+ removeTabBarBadge(
692
+ options: RemoveTabBarBadgeOptions,
693
+ ): Promise<RemoveTabBarBadgeSuccess> | null
694
+ /**
695
+ * 动态设置 tabBar 某一项的内容
696
+ *
697
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbaritem
698
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
699
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbaritem
700
+ * @uniPlatform {
701
+ * "app": {
702
+ * "android": {
703
+ * "osVer": "5.0",
704
+ * "uniVer": "√",
705
+ * "unixVer": "3.91"
706
+ * },
707
+ * "ios": {
708
+ * "osVer": "12.0",
709
+ * "uniVer": "√",
710
+ * "unixVer": "4.11"
711
+ * },
712
+ * "harmony": {
713
+ * "osVer": "3.0",
714
+ * "uniVer": "4.23",
715
+ * "unixVer": "4.61",
716
+ * "unixVaporVer": "x"
717
+ * }
718
+ * },
719
+ * "mp": {
720
+ * "weixin": {
721
+ * "hostVer": "√",
722
+ * "uniVer": "√",
723
+ * "unixVer": "4.41"
724
+ * },
725
+ * "alipay": {
726
+ * "hostVer": "√",
727
+ * "uniVer": "√",
728
+ * "unixVer": "x"
729
+ * },
730
+ * "baidu": {
731
+ * "hostVer": "√",
732
+ * "uniVer": "√",
733
+ * "unixVer": "x"
734
+ * },
735
+ * "toutiao": {
736
+ * "hostVer": "√",
737
+ * "uniVer": "√",
738
+ * "unixVer": "x"
739
+ * },
740
+ * "lark": {
741
+ * "hostVer": "√",
742
+ * "uniVer": "√",
743
+ * "unixVer": "x"
744
+ * },
745
+ * "qq": {
746
+ * "hostVer": "√",
747
+ * "uniVer": "√",
748
+ * "unixVer": "x"
749
+ * },
750
+ * "kuaishou": {
751
+ * "hostVer": "√",
752
+ * "uniVer": "√",
753
+ * "unixVer": "x"
754
+ * },
755
+ * "jd": {
756
+ * "hostVer": "√",
757
+ * "uniVer": "√",
758
+ * "unixVer": "x"
759
+ * }
760
+ * },
761
+ * "web": {
762
+ * "uniVer": "√",
763
+ * "unixVer": "4.0"
764
+ * }
765
+ * }
766
+ */
767
+ setTabBarItem(
768
+ options: SetTabBarItemOptions,
769
+ ): Promise<SetTabBarItemSuccess> | null
770
+ /**
771
+ * 动态设置 tabBar 的整体样式
772
+ *
773
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#settabbarstyle
774
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
775
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#settabbarstyle
776
+ * @uniPlatform {
777
+ * "app": {
778
+ * "android": {
779
+ * "osVer": "5.0",
780
+ * "uniVer": "√",
781
+ * "unixVer": "3.91"
782
+ * },
783
+ * "ios": {
784
+ * "osVer": "12.0",
785
+ * "uniVer": "√",
786
+ * "unixVer": "4.11"
787
+ * },
788
+ * "harmony": {
789
+ * "osVer": "3.0",
790
+ * "uniVer": "4.23",
791
+ * "unixVer": "x"
792
+ * }
793
+ * },
794
+ * "mp": {
795
+ * "weixin": {
796
+ * "hostVer": "√",
797
+ * "uniVer": "√",
798
+ * "unixVer": "4.41"
799
+ * },
800
+ * "alipay": {
801
+ * "hostVer": "√",
802
+ * "uniVer": "√",
803
+ * "unixVer": "x"
804
+ * },
805
+ * "baidu": {
806
+ * "hostVer": "√",
807
+ * "uniVer": "√",
808
+ * "unixVer": "x"
809
+ * },
810
+ * "toutiao": {
811
+ * "hostVer": "√",
812
+ * "uniVer": "√",
813
+ * "unixVer": "x"
814
+ * },
815
+ * "lark": {
816
+ * "hostVer": "√",
817
+ * "uniVer": "√",
818
+ * "unixVer": "x"
819
+ * },
820
+ * "qq": {
821
+ * "hostVer": "√",
822
+ * "uniVer": "√",
823
+ * "unixVer": "x"
824
+ * },
825
+ * "kuaishou": {
826
+ * "hostVer": "√",
827
+ * "uniVer": "√",
828
+ * "unixVer": "x"
829
+ * },
830
+ * "jd": {
831
+ * "hostVer": "√",
832
+ * "uniVer": "√",
833
+ * "unixVer": "x"
834
+ * }
835
+ * },
836
+ * "web": {
837
+ * "uniVer": "√",
838
+ * "unixVer": "4.0"
839
+ * }
840
+ * }
841
+ */
842
+ setTabBarStyle(
843
+ options: SetTabBarStyleOptions,
844
+ ): Promise<SetTabBarStyleSuccess> | null
845
+ /**
846
+ * 隐藏 tabBar
847
+ *
848
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbar
849
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
850
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbar
851
+ * @uniPlatform {
852
+ * "app": {
853
+ * "android": {
854
+ * "osVer": "5.0",
855
+ * "uniVer": "√",
856
+ * "unixVer": "3.91"
857
+ * },
858
+ * "ios": {
859
+ * "osVer": "12.0",
860
+ * "uniVer": "√",
861
+ * "unixVer": "4.11"
862
+ * },
863
+ * "harmony": {
864
+ * "osVer": "3.0",
865
+ * "uniVer": "4.23",
866
+ * "unixVer": "4.61",
867
+ * "unixVaporVer": "x"
868
+ * }
869
+ * },
870
+ * "mp": {
871
+ * "weixin": {
872
+ * "hostVer": "√",
873
+ * "uniVer": "√",
874
+ * "unixVer": "4.41"
875
+ * },
876
+ * "alipay": {
877
+ * "hostVer": "√",
878
+ * "uniVer": "√",
879
+ * "unixVer": "x"
880
+ * },
881
+ * "baidu": {
882
+ * "hostVer": "√",
883
+ * "uniVer": "√",
884
+ * "unixVer": "x"
885
+ * },
886
+ * "toutiao": {
887
+ * "hostVer": "√",
888
+ * "uniVer": "√",
889
+ * "unixVer": "x"
890
+ * },
891
+ * "lark": {
892
+ * "hostVer": "√",
893
+ * "uniVer": "√",
894
+ * "unixVer": "x"
895
+ * },
896
+ * "qq": {
897
+ * "hostVer": "√",
898
+ * "uniVer": "√",
899
+ * "unixVer": "x"
900
+ * },
901
+ * "kuaishou": {
902
+ * "hostVer": "√",
903
+ * "uniVer": "√",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "jd": {
907
+ * "hostVer": "√",
908
+ * "uniVer": "√",
909
+ * "unixVer": "x"
910
+ * }
911
+ * },
912
+ * "web": {
913
+ * "uniVer": "√",
914
+ * "unixVer": "4.0"
915
+ * }
916
+ * }
917
+ */
918
+ hideTabBar(
919
+ options?: HideTabBarOptions | null,
920
+ ): Promise<HideTabBarSuccess> | null
921
+ /**
922
+ * 显示 tabBar
923
+ *
924
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbar
925
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
926
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbar
927
+ * @uniPlatform {
928
+ * "app": {
929
+ * "android": {
930
+ * "osVer": "5.0",
931
+ * "uniVer": "√",
932
+ * "unixVer": "3.91"
933
+ * },
934
+ * "ios": {
935
+ * "osVer": "12.0",
936
+ * "uniVer": "√",
937
+ * "unixVer": "4.11"
938
+ * },
939
+ * "harmony": {
940
+ * "osVer": "3.0",
941
+ * "uniVer": "4.23",
942
+ * "unixVer": "4.61",
943
+ * "unixVaporVer": "x"
944
+ * }
945
+ * },
946
+ * "mp": {
947
+ * "weixin": {
948
+ * "hostVer": "√",
949
+ * "uniVer": "√",
950
+ * "unixVer": "4.41"
951
+ * },
952
+ * "alipay": {
953
+ * "hostVer": "√",
954
+ * "uniVer": "√",
955
+ * "unixVer": "x"
956
+ * },
957
+ * "baidu": {
958
+ * "hostVer": "√",
959
+ * "uniVer": "√",
960
+ * "unixVer": "x"
961
+ * },
962
+ * "toutiao": {
963
+ * "hostVer": "√",
964
+ * "uniVer": "√",
965
+ * "unixVer": "x"
966
+ * },
967
+ * "lark": {
968
+ * "hostVer": "√",
969
+ * "uniVer": "√",
970
+ * "unixVer": "x"
971
+ * },
972
+ * "qq": {
973
+ * "hostVer": "√",
974
+ * "uniVer": "√",
975
+ * "unixVer": "x"
976
+ * },
977
+ * "kuaishou": {
978
+ * "hostVer": "√",
979
+ * "uniVer": "√",
980
+ * "unixVer": "x"
981
+ * },
982
+ * "jd": {
983
+ * "hostVer": "√",
984
+ * "uniVer": "√",
985
+ * "unixVer": "x"
986
+ * }
987
+ * },
988
+ * "web": {
989
+ * "uniVer": "√",
990
+ * "unixVer": "4.0"
991
+ * }
992
+ * }
993
+ */
994
+ showTabBar(
995
+ options?: ShowTabBarOptions | null,
996
+ ): Promise<ShowTabBarSuccess> | null
997
+ /**
998
+ * 显示 tabBar 某一项的右上角的红点
999
+ *
1000
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#showtabbarreddot
1001
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
1002
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#showtabbarreddot
1003
+ * @uniPlatform {
1004
+ * "app": {
1005
+ * "android": {
1006
+ * "osVer": "5.0",
1007
+ * "uniVer": "√",
1008
+ * "unixVer": "3.91"
1009
+ * },
1010
+ * "ios": {
1011
+ * "osVer": "12.0",
1012
+ * "uniVer": "√",
1013
+ * "unixVer": "4.11"
1014
+ * },
1015
+ * "harmony": {
1016
+ * "osVer": "3.0",
1017
+ * "uniVer": "4.23",
1018
+ * "unixVer": "4.61",
1019
+ * "unixVaporVer": "x"
1020
+ * }
1021
+ * },
1022
+ * "mp": {
1023
+ * "weixin": {
1024
+ * "hostVer": "√",
1025
+ * "uniVer": "√",
1026
+ * "unixVer": "4.41"
1027
+ * },
1028
+ * "alipay": {
1029
+ * "hostVer": "√",
1030
+ * "uniVer": "√",
1031
+ * "unixVer": "x"
1032
+ * },
1033
+ * "baidu": {
1034
+ * "hostVer": "√",
1035
+ * "uniVer": "√",
1036
+ * "unixVer": "x"
1037
+ * },
1038
+ * "toutiao": {
1039
+ * "hostVer": "√",
1040
+ * "uniVer": "√",
1041
+ * "unixVer": "x"
1042
+ * },
1043
+ * "lark": {
1044
+ * "hostVer": "√",
1045
+ * "uniVer": "√",
1046
+ * "unixVer": "x"
1047
+ * },
1048
+ * "qq": {
1049
+ * "hostVer": "√",
1050
+ * "uniVer": "√",
1051
+ * "unixVer": "x"
1052
+ * },
1053
+ * "kuaishou": {
1054
+ * "hostVer": "√",
1055
+ * "uniVer": "√",
1056
+ * "unixVer": "x"
1057
+ * },
1058
+ * "jd": {
1059
+ * "hostVer": "√",
1060
+ * "uniVer": "√",
1061
+ * "unixVer": "x"
1062
+ * }
1063
+ * },
1064
+ * "web": {
1065
+ * "uniVer": "√",
1066
+ * "unixVer": "4.0"
1067
+ * }
1068
+ * }
1069
+ */
1070
+ showTabBarRedDot(
1071
+ options: ShowTabBarRedDotOptions,
1072
+ ): Promise<ShowTabBarRedDotSuccess> | null
1073
+ /**
1074
+ * 隐藏 tabBar 某一项的右上角的红点
1075
+ *
1076
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#hidetabbarreddot
1077
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
1078
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-tabbar.html#hidetabbarreddot
1079
+ * @uniPlatform {
1080
+ * "app": {
1081
+ * "android": {
1082
+ * "osVer": "5.0",
1083
+ * "uniVer": "√",
1084
+ * "unixVer": "3.91"
1085
+ * },
1086
+ * "ios": {
1087
+ * "osVer": "12.0",
1088
+ * "uniVer": "√",
1089
+ * "unixVer": "4.11"
1090
+ * },
1091
+ * "harmony": {
1092
+ * "osVer": "3.0",
1093
+ * "uniVer": "4.23",
1094
+ * "unixVer": "4.61",
1095
+ * "unixVaporVer": "x"
1096
+ * }
1097
+ * },
1098
+ * "mp": {
1099
+ * "weixin": {
1100
+ * "hostVer": "√",
1101
+ * "uniVer": "√",
1102
+ * "unixVer": "4.41"
1103
+ * },
1104
+ * "alipay": {
1105
+ * "hostVer": "√",
1106
+ * "uniVer": "√",
1107
+ * "unixVer": "x"
1108
+ * },
1109
+ * "baidu": {
1110
+ * "hostVer": "√",
1111
+ * "uniVer": "√",
1112
+ * "unixVer": "x"
1113
+ * },
1114
+ * "toutiao": {
1115
+ * "hostVer": "√",
1116
+ * "uniVer": "√",
1117
+ * "unixVer": "x"
1118
+ * },
1119
+ * "lark": {
1120
+ * "hostVer": "√",
1121
+ * "uniVer": "√",
1122
+ * "unixVer": "x"
1123
+ * },
1124
+ * "qq": {
1125
+ * "hostVer": "√",
1126
+ * "uniVer": "√",
1127
+ * "unixVer": "x"
1128
+ * },
1129
+ * "kuaishou": {
1130
+ * "hostVer": "√",
1131
+ * "uniVer": "√",
1132
+ * "unixVer": "x"
1133
+ * },
1134
+ * "jd": {
1135
+ * "hostVer": "√",
1136
+ * "uniVer": "√",
1137
+ * "unixVer": "x"
1138
+ * }
1139
+ * },
1140
+ * "web": {
1141
+ * "uniVer": "√",
1142
+ * "unixVer": "4.0"
1143
+ * }
1144
+ * }
1145
+ */
1146
+ hideTabBarRedDot(
1147
+ options: HideTabBarRedDotOptions,
1148
+ ): Promise<HideTabBarRedDotSuccess> | null
1149
+ /**
1150
+ * 监听中间按钮的点击事件
1151
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/tabbar.html#ontabbarmidbuttontap
1152
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
1153
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/on-tab-bar-mid-button-tap.html
1154
+ * @uniPlatform {
1155
+ * "app": {
1156
+ * "android": {
1157
+ * "osVer": "5.0",
1158
+ * "uniVer": "√",
1159
+ * "unixVer": "x"
1160
+ * },
1161
+ * "ios": {
1162
+ * "osVer": "12.0",
1163
+ * "uniVer": "√",
1164
+ * "unixVer": "x"
1165
+ * },
1166
+ * "harmony": {
1167
+ * "osVer": "x",
1168
+ * "uniVer": "x",
1169
+ * "unixVer": "x"
1170
+ * }
1171
+ * },
1172
+ * "mp": {
1173
+ * "weixin": {
1174
+ * "hostVer": "x",
1175
+ * "uniVer": "x",
1176
+ * "unixVer": "x"
1177
+ * },
1178
+ * "alipay": {
1179
+ * "hostVer": "x",
1180
+ * "uniVer": "x",
1181
+ * "unixVer": "x"
1182
+ * },
1183
+ * "baidu": {
1184
+ * "hostVer": "x",
1185
+ * "uniVer": "x",
1186
+ * "unixVer": "x"
1187
+ * },
1188
+ * "toutiao": {
1189
+ * "hostVer": "√",
1190
+ * "uniVer": "√",
1191
+ * "unixVer": "x"
1192
+ * },
1193
+ * "lark": {
1194
+ * "hostVer": "x",
1195
+ * "uniVer": "x",
1196
+ * "unixVer": "x"
1197
+ * },
1198
+ * "qq": {
1199
+ * "hostVer": "√",
1200
+ * "uniVer": "√",
1201
+ * "unixVer": "x"
1202
+ * },
1203
+ * "kuaishou": {
1204
+ * "hostVer": "x",
1205
+ * "uniVer": "x",
1206
+ * "unixVer": "x"
1207
+ * },
1208
+ * "jd": {
1209
+ * "hostVer": "x",
1210
+ * "uniVer": "x",
1211
+ * "unixVer": "x"
1212
+ * }
1213
+ * },
1214
+ * "web": {
1215
+ * "uniVer": "√",
1216
+ * "unixVer": "4.0"
1217
+ * }
1218
+ * }
1219
+ */
1220
+ onTabBarMidButtonTap(options: OnTabBarMidButtonTapCallback): void
1221
+ }