@dcloudio/uni-app-x 0.7.112 → 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 (379) 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/native/CSSStyleDeclaration.d.ts +172 -172
  5. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  6. package/types/native/DrawableContext.d.ts +1893 -1893
  7. package/types/native/IUniElement.d.ts +7468 -7468
  8. package/types/native/IUniNativeViewElement.d.ts +327 -327
  9. package/types/native/SnapshotOptions.d.ts +337 -62
  10. package/types/native/UniPage.d.ts +1305 -1305
  11. package/types/native/UniResizeObserver.d.ts +749 -749
  12. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  13. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  14. package/types/page.d.ts +3154 -3112
  15. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  16. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  18. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  19. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  20. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  21. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  22. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  25. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  28. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  31. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  32. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  34. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  35. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  36. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  37. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  38. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  41. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  42. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  43. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  44. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  45. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  46. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  47. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  48. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  49. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  50. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  51. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  52. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  53. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  56. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  62. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  63. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  64. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  65. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  66. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  67. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  68. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  69. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  70. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  71. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  72. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  73. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  74. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  75. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  76. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  77. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  78. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  79. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  80. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  81. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  82. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  83. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  84. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  85. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  86. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  87. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  90. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  91. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  94. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  97. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  98. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  99. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  100. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  101. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  102. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  103. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  131. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  132. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  136. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  139. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  142. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  145. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  148. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  151. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  152. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  159. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  162. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  180. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  183. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  189. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  192. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  195. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  198. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  201. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  243. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  246. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  249. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  252. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  255. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  264. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  267. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  270. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  273. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  276. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  279. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  288. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  294. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  297. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  312. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  315. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  318. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  321. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  324. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  327. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  330. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  333. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  336. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  339. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  342. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  348. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  351. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  354. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  357. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  360. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  363. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  366. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  369. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  372. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  375. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  376. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  379. package/types/vue/LifeCycle.d.ts +865 -854
@@ -1,32 +1,32 @@
1
- /**
2
- * 错误码
3
- */
4
- export type PromptErrorCode =
5
- /**
6
- * 撤销
7
- */
8
- 1 |
9
- /**
10
- * 请求参数非法
11
- */
12
- 1001
13
-
14
- export interface IPromptError extends IUniError {
15
- errCode: PromptErrorCode
16
- };
17
-
18
- /**
19
- * uni.showToast成功回调参数
20
- */
21
- export type ShowToastSuccess = {
22
- }
23
-
24
- /**
25
- * uni.showToast失败回调参数
26
- */
27
- export type ShowToastFail = IPromptError;
28
-
29
- /**
1
+ /**
2
+ * 错误码
3
+ */
4
+ export type PromptErrorCode =
5
+ /**
6
+ * 撤销
7
+ */
8
+ 1 |
9
+ /**
10
+ * 请求参数非法
11
+ */
12
+ 1001
13
+
14
+ export interface IPromptError extends IUniError {
15
+ errCode: PromptErrorCode
16
+ };
17
+
18
+ /**
19
+ * uni.showToast成功回调参数
20
+ */
21
+ export type ShowToastSuccess = {
22
+ }
23
+
24
+ /**
25
+ * uni.showToast失败回调参数
26
+ */
27
+ export type ShowToastFail = IPromptError;
28
+
29
+ /**
30
30
  * uni.showToast成功回调函数定义
31
31
  * @uniPlatform {
32
32
  * "mp": {
@@ -72,9 +72,9 @@ export type ShowToastFail = IPromptError;
72
72
  * }
73
73
  * }
74
74
  * }
75
- */
76
- export type ShowToastSuccessCallback = (res: ShowToastSuccess) => void
77
- /**
75
+ */
76
+ export type ShowToastSuccessCallback = (res: ShowToastSuccess) => void
77
+ /**
78
78
  * uni.showToast失败回调函数定义
79
79
  * @uniPlatform {
80
80
  * "mp": {
@@ -120,9 +120,9 @@ export type ShowToastSuccessCallback = (res: ShowToastSuccess) => void
120
120
  * }
121
121
  * }
122
122
  * }
123
- */
124
- export type ShowToastFailCallback = (res: ShowToastFail) => void
125
- /**
123
+ */
124
+ export type ShowToastFailCallback = (res: ShowToastFail) => void
125
+ /**
126
126
  * uni.showToast完成回调函数定义
127
127
  * @uniPlatform {
128
128
  * "mp": {
@@ -168,1502 +168,1504 @@ export type ShowToastFailCallback = (res: ShowToastFail) => void
168
168
  * }
169
169
  * }
170
170
  * }
171
- */
172
- export type ShowToastCompleteCallback = (res: any) => void
173
-
174
- /**
175
- * icon值说明
176
- */
177
- export type Icon =
178
- /**
179
- * 显示成功图标
180
- * @uniPlatform
181
- {
182
- "app": {
183
- "android": {
184
- "osVer": "5.0",
185
- "uniVer": "√",
186
- "uniUtsPlugin": "3.91",
187
- "unixVer": "3.91"
188
- },
189
- "ios": {
190
- "osVer": "12.0",
191
- "uniVer": "√",
192
- "uniUtsPlugin": "4.11",
193
- "unixVer": "4.11",
194
- "unixUtsPlugin": "4.11"
195
- }
196
- },
197
- "mp": {
198
- "weixin": {
199
- "hostVer": "√",
200
- "uniVer": "√",
201
- "unixVer": "4.41"
202
- },
203
- "alipay": {
204
- "hostVer": "√",
205
- "uniVer": "√",
206
- "unixVer": "x"
207
- },
208
- "baidu": {
209
- "hostVer": "√",
210
- "uniVer": "√",
211
- "unixVer": "x"
212
- },
213
- "toutiao": {
214
- "hostVer": "√",
215
- "uniVer": "√",
216
- "unixVer": "x"
217
- },
218
- "lark": {
219
- "hostVer": "√",
220
- "uniVer": "√",
221
- "unixVer": "x"
222
- },
223
- "qq": {
224
- "hostVer": "√",
225
- "uniVer": "√",
226
- "unixVer": "x"
227
- },
228
- "kuaishou": {
229
- "hostVer": "√",
230
- "uniVer": "√",
231
- "unixVer": "x"
232
- },
233
- "jd": {
234
- "hostVer": "√",
235
- "uniVer": "√",
236
- "unixVer": "x"
237
- }
238
- },
239
- "web": {
240
- "uniVer": "√",
241
- "unixVer": "4.0"
242
- }
243
- }
244
- */
245
- "success" |
246
- /**
247
- * 显示错误图标
248
- * @uniPlatform
249
- {
250
- "app": {
251
- "android": {
252
- "osVer": "5.0",
253
- "uniVer": "√",
254
- "uniUtsPlugin": "3.91",
255
- "unixVer": "3.91"
256
- },
257
- "ios": {
258
- "osVer": "12.0",
259
- "uniVer": "√",
260
- "uniUtsPlugin": "4.11",
261
- "unixVer": "4.11",
262
- "unixUtsPlugin": "4.11"
263
- }
264
- },
265
- "mp": {
266
- "weixin": {
267
- "hostVer": "√",
268
- "uniVer": "√",
269
- "unixVer": "4.41"
270
- },
271
- "alipay": {
272
- "hostVer": "√",
273
- "uniVer": "√",
274
- "unixVer": "x"
275
- },
276
- "baidu": {
277
- "hostVer": "√",
278
- "uniVer": "√",
279
- "unixVer": "x"
280
- },
281
- "toutiao": {
282
- "hostVer": "√",
283
- "uniVer": "√",
284
- "unixVer": "x"
285
- },
286
- "lark": {
287
- "hostVer": "√",
288
- "uniVer": "√",
289
- "unixVer": "x"
290
- },
291
- "qq": {
292
- "hostVer": "√",
293
- "uniVer": "√",
294
- "unixVer": "x"
295
- },
296
- "kuaishou": {
297
- "hostVer": "√",
298
- "uniVer": "√",
299
- "unixVer": "x"
300
- },
301
- "jd": {
302
- "hostVer": "√",
303
- "uniVer": "√",
304
- "unixVer": "x"
305
- }
306
- },
307
- "web": {
308
- "uniVer": "√",
309
- "unixVer": "4.0"
310
- }
311
- }
312
- */
313
- "error" |
314
- /**
315
- * 显示错误图标,此时title文本无长度显示,支付宝、抖音小程序生效
316
- * @uniPlatform
317
- {
318
- "app": {
319
- "android": {
320
- "osVer": "5.0",
321
- "uniVer": "√",
322
- "uniUtsPlugin": "x",
323
- "unixVer": "x"
324
- },
325
- "ios": {
326
- "osVer": "12.0",
327
- "uniVer": "√",
328
- "uniUtsPlugin": "x",
329
- "unixVer": "x",
330
- "unixUtsPlugin": "x"
331
- }
332
- },
333
- "mp": {
334
- "weixin": {
335
- "hostVer": "x",
336
- "uniVer": "x",
337
- "unixVer": "x"
338
- },
339
- "alipay": {
340
- "hostVer": "√",
341
- "uniVer": "√",
342
- "unixVer": "x"
343
- },
344
- "baidu": {
345
- "hostVer": "x",
346
- "uniVer": "x",
347
- "unixVer": "x"
348
- },
349
- "toutiao": {
350
- "hostVer": "x",
351
- "uniVer": "x",
352
- "unixVer": "x"
353
- },
354
- "lark": {
355
- "hostVer": "x",
356
- "uniVer": "x",
357
- "unixVer": "x"
358
- },
359
- "qq": {
360
- "hostVer": "x",
361
- "uniVer": "x",
362
- "unixVer": "x"
363
- },
364
- "kuaishou": {
365
- "hostVer": "x",
366
- "uniVer": "x",
367
- "unixVer": "x"
368
- },
369
- "jd": {
370
- "hostVer": "x",
371
- "uniVer": "x",
372
- "unixVer": "x"
373
- }
374
- },
375
- "web": {
376
- "uniVer": "x",
377
- "unixVer": "x"
378
- }
379
- }
380
- */
381
- "fail" |
382
- /**
383
- * 显示异常图标,此时title文本无长度显示,支付宝小程序生效
384
- * @uniPlatform
385
- {
386
- "app": {
387
- "android": {
388
- "osVer": "5.0",
389
- "uniVer": "x",
390
- "uniUtsPlugin": "x",
391
- "unixVer": "x"
392
- },
393
- "ios": {
394
- "osVer": "12.0",
395
- "uniVer": "x",
396
- "uniUtsPlugin": "x",
397
- "unixVer": "x",
398
- "unixUtsPlugin": "x"
399
- }
400
- },
401
- "mp": {
402
- "weixin": {
403
- "hostVer": "x",
404
- "uniVer": "x",
405
- "unixVer": "x"
406
- },
407
- "alipay": {
408
- "hostVer": "√",
409
- "uniVer": "√",
410
- "unixVer": "x"
411
- },
412
- "baidu": {
413
- "hostVer": "x",
414
- "uniVer": "x",
415
- "unixVer": "x"
416
- },
417
- "toutiao": {
418
- "hostVer": "x",
419
- "uniVer": "x",
420
- "unixVer": "x"
421
- },
422
- "lark": {
423
- "hostVer": "x",
424
- "uniVer": "x",
425
- "unixVer": "x"
426
- },
427
- "qq": {
428
- "hostVer": "x",
429
- "uniVer": "x",
430
- "unixVer": "x"
431
- },
432
- "kuaishou": {
433
- "hostVer": "x",
434
- "uniVer": "x",
435
- "unixVer": "x"
436
- },
437
- "jd": {
438
- "hostVer": "x",
439
- "uniVer": "x",
440
- "unixVer": "x"
441
- }
442
- },
443
- "web": {
444
- "uniVer": "x",
445
- "unixVer": "x"
446
- }
447
- }
448
- */
449
- "exception" |
450
- /**
451
- * 显示加载图标
452
- * @uniPlatform
453
- {
454
- "app": {
455
- "android": {
456
- "osVer": "5.0",
457
- "uniVer": "√",
458
- "uniUtsPlugin": "3.91",
459
- "unixVer": "3.91"
460
- },
461
- "ios": {
462
- "osVer": "12.0",
463
- "uniVer": "√",
464
- "uniUtsPlugin": "4.11",
465
- "unixVer": "4.11",
466
- "unixUtsPlugin": "4.11"
467
- }
468
- },
469
- "mp": {
470
- "weixin": {
471
- "hostVer": "√",
472
- "uniVer": "√",
473
- "unixVer": "4.41"
474
- },
475
- "alipay": {
476
- "hostVer": "√",
477
- "uniVer": "√",
478
- "unixVer": "x"
479
- },
480
- "baidu": {
481
- "hostVer": "√",
482
- "uniVer": "√",
483
- "unixVer": "x"
484
- },
485
- "toutiao": {
486
- "hostVer": "√",
487
- "uniVer": "√",
488
- "unixVer": "x"
489
- },
490
- "lark": {
491
- "hostVer": "√",
492
- "uniVer": "√",
493
- "unixVer": "x"
494
- },
495
- "qq": {
496
- "hostVer": "√",
497
- "uniVer": "√",
498
- "unixVer": "x"
499
- },
500
- "kuaishou": {
501
- "hostVer": "√",
502
- "uniVer": "√",
503
- "unixVer": "x"
504
- },
505
- "jd": {
506
- "hostVer": "√",
507
- "uniVer": "√",
508
- "unixVer": "x"
509
- }
510
- },
511
- "web": {
512
- "uniVer": "√",
513
- "unixVer": "4.0"
514
- }
515
- }
516
- */
517
- "loading" |
518
- /**
519
- * 不显示图标
520
- * @uniPlatform
521
- {
522
- "app": {
523
- "android": {
524
- "osVer": "5.0",
525
- "uniVer": "√",
526
- "uniUtsPlugin": "3.91",
527
- "unixVer": "3.91"
528
- },
529
- "ios": {
530
- "osVer": "12.0",
531
- "uniVer": "√",
532
- "uniUtsPlugin": "4.11",
533
- "unixVer": "4.11",
534
- "unixUtsPlugin": "4.11"
535
- }
536
- },
537
- "mp": {
538
- "weixin": {
539
- "hostVer": "√",
540
- "uniVer": "√",
541
- "unixVer": "4.41"
542
- },
543
- "alipay": {
544
- "hostVer": "√",
545
- "uniVer": "√",
546
- "unixVer": "x"
547
- },
548
- "baidu": {
549
- "hostVer": "√",
550
- "uniVer": "√",
551
- "unixVer": "x"
552
- },
553
- "toutiao": {
554
- "hostVer": "√",
555
- "uniVer": "√",
556
- "unixVer": "x"
557
- },
558
- "lark": {
559
- "hostVer": "√",
560
- "uniVer": "√",
561
- "unixVer": "x"
562
- },
563
- "qq": {
564
- "hostVer": "√",
565
- "uniVer": "√",
566
- "unixVer": "x"
567
- },
568
- "kuaishou": {
569
- "hostVer": "√",
570
- "uniVer": "√",
571
- "unixVer": "x"
572
- },
573
- "jd": {
574
- "hostVer": "√",
575
- "uniVer": "√",
576
- "unixVer": "x"
577
- }
578
- },
579
- "web": {
580
- "uniVer": "√",
581
- "unixVer": "4.0"
582
- }
583
- }
584
- */
585
- "none";
586
-
587
- /**
588
- * position值说明。纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
589
- */
590
- export type ShowToastPosition =
591
- /**
592
- * 居上显示
593
- * @uniPlatform
594
- {
595
- "app": {
596
- "android": {
597
- "osVer": "5.0",
598
- "uniVer": "√",
599
- "uniUtsPlugin": "3.91",
600
- "unixVer": "3.91"
601
- },
602
- "ios": {
603
- "osVer": "12.0",
604
- "uniVer": "√",
605
- "uniUtsPlugin": "4.11",
606
- "unixVer": "4.11",
607
- "unixUtsPlugin": "4.11"
608
- },
609
- "harmony": {
610
- "osVer": "3.0",
611
- "uniVer": "4.23",
612
- "unixVer": "4.61",
613
- "unixvVer": "5.0"
614
- }
615
- },
616
- "mp": {
617
- "weixin": {
618
- "hostVer": "√",
619
- "uniVer": "√",
620
- "unixVer": "4.41"
621
- },
622
- "alipay": {
623
- "hostVer": "√",
624
- "uniVer": "√",
625
- "unixVer": "x"
626
- },
627
- "baidu": {
628
- "hostVer": "√",
629
- "uniVer": "√",
630
- "unixVer": "x"
631
- },
632
- "toutiao": {
633
- "hostVer": "√",
634
- "uniVer": "√",
635
- "unixVer": "x"
636
- },
637
- "lark": {
638
- "hostVer": "√",
639
- "uniVer": "√",
640
- "unixVer": "x"
641
- },
642
- "qq": {
643
- "hostVer": "√",
644
- "uniVer": "√",
645
- "unixVer": "x"
646
- },
647
- "kuaishou": {
648
- "hostVer": "√",
649
- "uniVer": "√",
650
- "unixVer": "x"
651
- },
652
- "jd": {
653
- "hostVer": "√",
654
- "uniVer": "√",
655
- "unixVer": "x"
656
- }
657
- },
658
- "web": {
659
- "uniVer": "x",
660
- "unixVer": "x"
661
- }
662
- }
663
- */
664
- "top" |
665
- /**
666
- * 居中显示
667
- * @uniPlatform
668
- {
669
- "app": {
670
- "android": {
671
- "osVer": "5.0",
672
- "uniVer": "√",
673
- "uniUtsPlugin": "3.91",
674
- "unixVer": "3.91"
675
- },
676
- "ios": {
677
- "osVer": "12.0",
678
- "uniVer": "√",
679
- "uniUtsPlugin": "4.11",
680
- "unixVer": "4.11",
681
- "unixUtsPlugin": "4.11"
682
- },
683
- "harmony": {
684
- "osVer": "3.0",
685
- "uniVer": "4.23",
686
- "unixVer": "4.61",
687
- "unixvVer": "5.0"
688
- }
689
- },
690
- "mp": {
691
- "weixin": {
692
- "hostVer": "√",
693
- "uniVer": "√",
694
- "unixVer": "4.41"
695
- },
696
- "alipay": {
697
- "hostVer": "√",
698
- "uniVer": "√",
699
- "unixVer": "x"
700
- },
701
- "baidu": {
702
- "hostVer": "√",
703
- "uniVer": "√",
704
- "unixVer": "x"
705
- },
706
- "toutiao": {
707
- "hostVer": "√",
708
- "uniVer": "√",
709
- "unixVer": "x"
710
- },
711
- "lark": {
712
- "hostVer": "√",
713
- "uniVer": "√",
714
- "unixVer": "x"
715
- },
716
- "qq": {
717
- "hostVer": "√",
718
- "uniVer": "√",
719
- "unixVer": "x"
720
- },
721
- "kuaishou": {
722
- "hostVer": "√",
723
- "uniVer": "√",
724
- "unixVer": "x"
725
- },
726
- "jd": {
727
- "hostVer": "√",
728
- "uniVer": "√",
729
- "unixVer": "x"
730
- }
731
- },
732
- "web": {
733
- "uniVer": "x",
734
- "unixVer": "x"
735
- }
736
- }
737
- */
738
- "center" |
739
- /**
740
- * 居底显示
741
- * @uniPlatform
742
- {
743
- "app": {
744
- "android": {
745
- "osVer": "5.0",
746
- "uniVer": "√",
747
- "uniUtsPlugin": "3.91",
748
- "unixVer": "3.91"
749
- },
750
- "ios": {
751
- "osVer": "12.0",
752
- "uniVer": "√",
753
- "uniUtsPlugin": "4.11",
754
- "unixVer": "4.11",
755
- "unixUtsPlugin": "4.11"
756
- },
757
- "harmony": {
758
- "osVer": "3.0",
759
- "uniVer": "4.23",
760
- "unixVer": "4.61",
761
- "unixvVer": "5.0"
762
- }
763
- },
764
- "mp": {
765
- "weixin": {
766
- "hostVer": "√",
767
- "uniVer": "√",
768
- "unixVer": "4.41"
769
- },
770
- "alipay": {
771
- "hostVer": "√",
772
- "uniVer": "√",
773
- "unixVer": "x"
774
- },
775
- "baidu": {
776
- "hostVer": "√",
777
- "uniVer": "√",
778
- "unixVer": "x"
779
- },
780
- "toutiao": {
781
- "hostVer": "√",
782
- "uniVer": "√",
783
- "unixVer": "x"
784
- },
785
- "lark": {
786
- "hostVer": "√",
787
- "uniVer": "√",
788
- "unixVer": "x"
789
- },
790
- "qq": {
791
- "hostVer": "√",
792
- "uniVer": "√",
793
- "unixVer": "x"
794
- },
795
- "kuaishou": {
796
- "hostVer": "√",
797
- "uniVer": "√",
798
- "unixVer": "x"
799
- },
800
- "jd": {
801
- "hostVer": "√",
802
- "uniVer": "√",
803
- "unixVer": "x"
804
- }
805
- },
806
- "web": {
807
- "uniVer": "x",
808
- "unixVer": "x"
809
- }
810
- }
811
- */
812
- "bottom";
813
-
814
- /**
815
- * uni.showToast参数定义
816
- */
817
- export type ShowToastOptions = {
818
- /**
819
- * 提示的内容,长度与 icon 取值有关。
820
- * @uniPlatform
821
- {
822
- "app": {
823
- "android": {
824
- "osVer": "5.0",
825
- "uniVer": "√",
826
- "uniUtsPlugin": "3.91",
827
- "unixVer": "3.91"
828
- },
829
- "ios": {
830
- "osVer": "12.0",
831
- "uniVer": "√",
832
- "uniUtsPlugin": "4.11",
833
- "unixVer": "4.11",
834
- "unixUtsPlugin": "4.11"
835
- },
836
- "harmony": {
837
- "osVer": "3.0",
838
- "uniVer": "4.23",
839
- "unixVer": "4.61",
840
- "unixvVer": "5.0"
841
- }
842
- },
843
- "mp": {
844
- "weixin": {
845
- "hostVer": "√",
846
- "uniVer": "√",
847
- "unixVer": "4.41"
848
- },
849
- "alipay": {
850
- "hostVer": "√",
851
- "uniVer": "√",
852
- "unixVer": "x"
853
- },
854
- "baidu": {
855
- "hostVer": "√",
856
- "uniVer": "√",
857
- "unixVer": "x"
858
- },
859
- "toutiao": {
860
- "hostVer": "√",
861
- "uniVer": "√",
862
- "unixVer": "x"
863
- },
864
- "lark": {
865
- "hostVer": "√",
866
- "uniVer": "√",
867
- "unixVer": "x"
868
- },
869
- "qq": {
870
- "hostVer": "√",
871
- "uniVer": "√",
872
- "unixVer": "x"
873
- },
874
- "kuaishou": {
875
- "hostVer": "√",
876
- "uniVer": "√",
877
- "unixVer": "x"
878
- },
879
- "jd": {
880
- "hostVer": "√",
881
- "uniVer": "√",
882
- "unixVer": "x"
883
- }
884
- },
885
- "web": {
886
- "uniVer": "√",
887
- "unixVer": "4.0"
888
- }
889
- }
890
- */
891
- title: string,
892
- /**
893
- * 图标
894
- * @defaultValue "success"
895
- * @uniPlatform
896
- {
897
- "app": {
898
- "android": {
899
- "osVer": "5.0",
900
- "uniVer": "√",
901
- "uniUtsPlugin": "3.91",
902
- "unixVer": "3.91"
903
- },
904
- "ios": {
905
- "osVer": "12.0",
906
- "uniVer": "√",
907
- "uniUtsPlugin": "4.11",
908
- "unixVer": "4.11",
909
- "unixUtsPlugin": "4.11"
910
- },
911
- "harmony": {
912
- "osVer": "3.0",
913
- "uniVer": "4.23",
914
- "unixVer": "x"
915
- }
916
- },
917
- "mp": {
918
- "weixin": {
919
- "hostVer": "√",
920
- "uniVer": "√",
921
- "unixVer": "4.41"
922
- },
923
- "alipay": {
924
- "hostVer": "√",
925
- "uniVer": "√",
926
- "unixVer": "x"
927
- },
928
- "baidu": {
929
- "hostVer": "√",
930
- "uniVer": "√",
931
- "unixVer": "x"
932
- },
933
- "toutiao": {
934
- "hostVer": "√",
935
- "uniVer": "√",
936
- "unixVer": "x"
937
- },
938
- "lark": {
939
- "hostVer": "√",
940
- "uniVer": "√",
941
- "unixVer": "x"
942
- },
943
- "qq": {
944
- "hostVer": "√",
945
- "uniVer": "√",
946
- "unixVer": "x"
947
- },
948
- "kuaishou": {
949
- "hostVer": "√",
950
- "uniVer": "√",
951
- "unixVer": "x"
952
- },
953
- "jd": {
954
- "hostVer": "√",
955
- "uniVer": "√",
956
- "unixVer": "x"
957
- }
958
- },
959
- "web": {
960
- "uniVer": "√",
961
- "unixVer": "4.0"
962
- }
963
- }
964
- */
965
- icon?: Icon | null,
966
- /**
967
- * 自定义图标的本地路径(app端暂不支持gif)
968
- * @uniPlatform
969
- {
970
- "app": {
971
- "android": {
972
- "osVer": "5.0",
973
- "uniVer": "√",
974
- "uniUtsPlugin": "3.91",
975
- "unixVer": "3.91"
976
- },
977
- "ios": {
978
- "osVer": "12.0",
979
- "uniVer": "√",
980
- "uniUtsPlugin": "4.11",
981
- "unixVer": "4.11",
982
- "unixUtsPlugin": "4.11"
983
- },
984
- "harmony": {
985
- "osVer": "3.0",
986
- "uniVer": "4.23",
987
- "unixVer": "4.61",
988
- "unixvVer": "5.0"
989
- }
990
- },
991
- "mp": {
992
- "weixin": {
993
- "hostVer": "√",
994
- "uniVer": "√",
995
- "unixVer": "4.41"
996
- },
997
- "alipay": {
998
- "hostVer": "√",
999
- "uniVer": "√",
1000
- "unixVer": "x"
1001
- },
1002
- "baidu": {
1003
- "hostVer": "√",
1004
- "uniVer": "√",
1005
- "unixVer": "x"
1006
- },
1007
- "toutiao": {
1008
- "hostVer": "√",
1009
- "uniVer": "√",
1010
- "unixVer": "x"
1011
- },
1012
- "lark": {
1013
- "hostVer": "√",
1014
- "uniVer": "√",
1015
- "unixVer": "x"
1016
- },
1017
- "qq": {
1018
- "hostVer": "√",
1019
- "uniVer": "√",
1020
- "unixVer": "x"
1021
- },
1022
- "kuaishou": {
1023
- "hostVer": "√",
1024
- "uniVer": "√",
1025
- "unixVer": "x"
1026
- },
1027
- "jd": {
1028
- "hostVer": "√",
1029
- "uniVer": "√",
1030
- "unixVer": "x"
1031
- }
1032
- },
1033
- "web": {
1034
- "uniVer": "√",
1035
- "unixVer": "4.0"
1036
- }
1037
- }
1038
- */
1039
- image?: string.ImageURIString | null,
1040
- /**
1041
- * 是否显示透明蒙层,防止触摸穿透
1042
- * @defaultValue false
1043
- * @uniPlatform
1044
- {
1045
- "app": {
1046
- "android": {
1047
- "osVer": "5.0",
1048
- "uniVer": "√",
1049
- "uniUtsPlugin": "3.91",
1050
- "unixVer": "3.91"
1051
- },
1052
- "ios": {
1053
- "osVer": "12.0",
1054
- "uniVer": "√",
1055
- "uniUtsPlugin": "4.11",
1056
- "unixVer": "4.11",
1057
- "unixUtsPlugin": "4.11"
1058
- },
1059
- "harmony": {
1060
- "osVer": "3.0",
1061
- "uniVer": "4.23",
1062
- "unixVer": "4.61",
1063
- "unixvVer": "5.0"
1064
- }
1065
- },
1066
- "mp": {
1067
- "weixin": {
1068
- "hostVer": "√",
1069
- "uniVer": "√",
1070
- "unixVer": "4.41"
1071
- },
1072
- "alipay": {
1073
- "hostVer": "√",
1074
- "uniVer": "√",
1075
- "unixVer": "x"
1076
- },
1077
- "baidu": {
1078
- "hostVer": "√",
1079
- "uniVer": "√",
1080
- "unixVer": "x"
1081
- },
1082
- "toutiao": {
1083
- "hostVer": "√",
1084
- "uniVer": "√",
1085
- "unixVer": "x"
1086
- },
1087
- "lark": {
1088
- "hostVer": "√",
1089
- "uniVer": "√",
1090
- "unixVer": "x"
1091
- },
1092
- "qq": {
1093
- "hostVer": "√",
1094
- "uniVer": "√",
1095
- "unixVer": "x"
1096
- },
1097
- "kuaishou": {
1098
- "hostVer": "√",
1099
- "uniVer": "√",
1100
- "unixVer": "x"
1101
- },
1102
- "jd": {
1103
- "hostVer": "√",
1104
- "uniVer": "√",
1105
- "unixVer": "x"
1106
- }
1107
- },
1108
- "web": {
1109
- "uniVer": "√",
1110
- "unixVer": "4.0"
1111
- }
1112
- }
1113
- */
1114
- mask?: boolean | null,
1115
- /**
1116
- * 提示的延迟时间,单位毫秒
1117
- * @defaultValue 1500
1118
- * @uniPlatform
1119
- {
1120
- "app": {
1121
- "android": {
1122
- "osVer": "5.0",
1123
- "uniVer": "√",
1124
- "uniUtsPlugin": "3.91",
1125
- "unixVer": "3.91"
1126
- },
1127
- "ios": {
1128
- "osVer": "12.0",
1129
- "uniVer": "√",
1130
- "uniUtsPlugin": "4.11",
1131
- "unixVer": "4.11",
1132
- "unixUtsPlugin": "4.11"
1133
- },
1134
- "harmony": {
1135
- "osVer": "3.0",
1136
- "uniVer": "4.23",
1137
- "unixVer": "4.61",
1138
- "unixvVer": "5.0"
1139
- }
1140
- },
1141
- "mp": {
1142
- "weixin": {
1143
- "hostVer": "√",
1144
- "uniVer": "√",
1145
- "unixVer": "4.41"
1146
- },
1147
- "alipay": {
1148
- "hostVer": "√",
1149
- "uniVer": "√",
1150
- "unixVer": "x"
1151
- },
1152
- "baidu": {
1153
- "hostVer": "√",
1154
- "uniVer": "√",
1155
- "unixVer": "x"
1156
- },
1157
- "toutiao": {
1158
- "hostVer": "√",
1159
- "uniVer": "√",
1160
- "unixVer": "x"
1161
- },
1162
- "lark": {
1163
- "hostVer": "√",
1164
- "uniVer": "√",
1165
- "unixVer": "x"
1166
- },
1167
- "qq": {
1168
- "hostVer": "√",
1169
- "uniVer": "√",
1170
- "unixVer": "x"
1171
- },
1172
- "kuaishou": {
1173
- "hostVer": "√",
1174
- "uniVer": "√",
1175
- "unixVer": "x"
1176
- },
1177
- "jd": {
1178
- "hostVer": "√",
1179
- "uniVer": "√",
1180
- "unixVer": "x"
1181
- }
1182
- },
1183
- "web": {
1184
- "uniVer": "√",
1185
- "unixVer": "4.0"
1186
- }
1187
- }
1188
- */
1189
- duration?: number | null,
1190
- /**
1191
- * 纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
1192
- * @uniPlatform
1193
- {
1194
- "app": {
1195
- "android": {
1196
- "osVer": "5.0",
1197
- "uniVer": "√",
1198
- "uniUtsPlugin": "3.91",
1199
- "unixVer": "3.91"
1200
- },
1201
- "ios": {
1202
- "osVer": "12.0",
1203
- "uniVer": "√",
1204
- "uniUtsPlugin": "4.11",
1205
- "unixVer": "4.11",
1206
- "unixUtsPlugin": "4.11"
1207
- },
1208
- "harmony": {
1209
- "osVer": "3.0",
1210
- "uniVer": "4.23",
1211
- "unixVer": "4.61",
1212
- "unixvVer": "5.0"
1213
- }
1214
- },
1215
- "mp": {
1216
- "weixin": {
1217
- "hostVer": "√",
1218
- "uniVer": "√",
1219
- "unixVer": "4.41"
1220
- },
1221
- "alipay": {
1222
- "hostVer": "√",
1223
- "uniVer": "√",
1224
- "unixVer": "x"
1225
- },
1226
- "baidu": {
1227
- "hostVer": "√",
1228
- "uniVer": "√",
1229
- "unixVer": "x"
1230
- },
1231
- "toutiao": {
1232
- "hostVer": "√",
1233
- "uniVer": "√",
1234
- "unixVer": "x"
1235
- },
1236
- "lark": {
1237
- "hostVer": "√",
1238
- "uniVer": "√",
1239
- "unixVer": "x"
1240
- },
1241
- "qq": {
1242
- "hostVer": "√",
1243
- "uniVer": "√",
1244
- "unixVer": "x"
1245
- },
1246
- "kuaishou": {
1247
- "hostVer": "√",
1248
- "uniVer": "√",
1249
- "unixVer": "x"
1250
- },
1251
- "jd": {
1252
- "hostVer": "√",
1253
- "uniVer": "√",
1254
- "unixVer": "x"
1255
- }
1256
- },
1257
- "web": {
1258
- "uniVer": "x",
1259
- "unixVer": "x"
1260
- }
1261
- }
1262
- */
1263
- position?: ShowToastPosition | null,
1264
- /**
1265
- * 接口调用成功的回调函数
1266
- * @uniPlatform
1267
- {
1268
- "app": {
1269
- "android": {
1270
- "osVer": "5.0",
1271
- "uniVer": "√",
1272
- "uniUtsPlugin": "3.91",
1273
- "unixVer": "3.91"
1274
- },
1275
- "ios": {
1276
- "osVer": "12.0",
1277
- "uniVer": "√",
1278
- "uniUtsPlugin": "4.11",
1279
- "unixVer": "4.11",
1280
- "unixUtsPlugin": "4.11"
1281
- },
1282
- "harmony": {
1283
- "osVer": "3.0",
1284
- "uniVer": "4.23",
1285
- "unixVer": "4.61",
1286
- "unixvVer": "5.0"
1287
- }
1288
- },
1289
- "mp": {
1290
- "weixin": {
1291
- "hostVer": "√",
1292
- "uniVer": "√",
1293
- "unixVer": "4.41"
1294
- },
1295
- "alipay": {
1296
- "hostVer": "√",
1297
- "uniVer": "√",
1298
- "unixVer": "x"
1299
- },
1300
- "baidu": {
1301
- "hostVer": "√",
1302
- "uniVer": "√",
1303
- "unixVer": "x"
1304
- },
1305
- "toutiao": {
1306
- "hostVer": "√",
1307
- "uniVer": "√",
1308
- "unixVer": "x"
1309
- },
1310
- "lark": {
1311
- "hostVer": "√",
1312
- "uniVer": "√",
1313
- "unixVer": "x"
1314
- },
1315
- "qq": {
1316
- "hostVer": "√",
1317
- "uniVer": "√",
1318
- "unixVer": "x"
1319
- },
1320
- "kuaishou": {
1321
- "hostVer": "√",
1322
- "uniVer": "√",
1323
- "unixVer": "x"
1324
- },
1325
- "jd": {
1326
- "hostVer": "√",
1327
- "uniVer": "√",
1328
- "unixVer": "x"
1329
- }
1330
- },
1331
- "web": {
1332
- "uniVer": "√",
1333
- "unixVer": "4.0"
1334
- }
1335
- }
1336
- */
1337
- success?: ShowToastSuccessCallback | null,
1338
- /**
1339
- * 接口调用失败的回调函数
1340
- * @uniPlatform
1341
- {
1342
- "app": {
1343
- "android": {
1344
- "osVer": "5.0",
1345
- "uniVer": "√",
1346
- "uniUtsPlugin": "3.91",
1347
- "unixVer": "3.91"
1348
- },
1349
- "ios": {
1350
- "osVer": "12.0",
1351
- "uniVer": "√",
1352
- "uniUtsPlugin": "4.11",
1353
- "unixVer": "4.11",
1354
- "unixUtsPlugin": "4.11"
1355
- },
1356
- "harmony": {
1357
- "osVer": "3.0",
1358
- "uniVer": "4.23",
1359
- "unixVer": "4.61",
1360
- "unixvVer": "5.0"
1361
- }
1362
- },
1363
- "mp": {
1364
- "weixin": {
1365
- "hostVer": "√",
1366
- "uniVer": "√",
1367
- "unixVer": "4.41"
1368
- },
1369
- "alipay": {
1370
- "hostVer": "√",
1371
- "uniVer": "√",
1372
- "unixVer": "x"
1373
- },
1374
- "baidu": {
1375
- "hostVer": "√",
1376
- "uniVer": "√",
1377
- "unixVer": "x"
1378
- },
1379
- "toutiao": {
1380
- "hostVer": "√",
1381
- "uniVer": "√",
1382
- "unixVer": "x"
1383
- },
1384
- "lark": {
1385
- "hostVer": "√",
1386
- "uniVer": "√",
1387
- "unixVer": "x"
1388
- },
1389
- "qq": {
1390
- "hostVer": "√",
1391
- "uniVer": "√",
1392
- "unixVer": "x"
1393
- },
1394
- "kuaishou": {
1395
- "hostVer": "√",
1396
- "uniVer": "√",
1397
- "unixVer": "x"
1398
- },
1399
- "jd": {
1400
- "hostVer": "√",
1401
- "uniVer": "√",
1402
- "unixVer": "x"
1403
- }
1404
- },
1405
- "web": {
1406
- "uniVer": "√",
1407
- "unixVer": "4.0"
1408
- }
1409
- }
1410
- */
1411
- fail?: ShowToastFailCallback | null,
1412
- /**
1413
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1414
- * @uniPlatform
1415
- {
1416
- "app": {
1417
- "android": {
1418
- "osVer": "5.0",
1419
- "uniVer": "√",
1420
- "uniUtsPlugin": "3.91",
1421
- "unixVer": "3.91"
1422
- },
1423
- "ios": {
1424
- "osVer": "12.0",
1425
- "uniVer": "√",
1426
- "uniUtsPlugin": "4.11",
1427
- "unixVer": "4.11",
1428
- "unixUtsPlugin": "4.11"
1429
- },
1430
- "harmony": {
1431
- "osVer": "3.0",
1432
- "uniVer": "4.23",
1433
- "unixVer": "4.61",
1434
- "unixvVer": "5.0"
1435
- }
1436
- },
1437
- "mp": {
1438
- "weixin": {
1439
- "hostVer": "√",
1440
- "uniVer": "√",
1441
- "unixVer": "4.41"
1442
- },
1443
- "alipay": {
1444
- "hostVer": "√",
1445
- "uniVer": "√",
1446
- "unixVer": "x"
1447
- },
1448
- "baidu": {
1449
- "hostVer": "√",
1450
- "uniVer": "√",
1451
- "unixVer": "x"
1452
- },
1453
- "toutiao": {
1454
- "hostVer": "√",
1455
- "uniVer": "√",
1456
- "unixVer": "x"
1457
- },
1458
- "lark": {
1459
- "hostVer": "√",
1460
- "uniVer": "√",
1461
- "unixVer": "x"
1462
- },
1463
- "qq": {
1464
- "hostVer": "√",
1465
- "uniVer": "√",
1466
- "unixVer": "x"
1467
- },
1468
- "kuaishou": {
1469
- "hostVer": "√",
1470
- "uniVer": "√",
1471
- "unixVer": "x"
1472
- },
1473
- "jd": {
1474
- "hostVer": "√",
1475
- "uniVer": "√",
1476
- "unixVer": "x"
1477
- }
1478
- },
1479
- "web": {
1480
- "uniVer": "√",
1481
- "unixVer": "4.0"
1482
- }
1483
- }
1484
- */
1485
- complete?: ShowToastCompleteCallback | null
1486
- }
1487
-
1488
- /**
1489
- * uni.showToast函数定义
1490
- * 弹出toast
1491
- *
1492
- * @param {ShowToastOptions} options
1493
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
1494
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1495
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1496
- * @uniPlatform
1497
- {
1498
- "app": {
1499
- "android": {
1500
- "osVer": "5.0",
1501
- "uniVer": "√",
1502
- "uniUtsPlugin": "3.91",
1503
- "unixVer": "3.91"
1504
- },
1505
- "ios": {
1506
- "osVer": "12.0",
1507
- "uniVer": "√",
1508
- "uniUtsPlugin": "4.11",
1509
- "unixVer": "4.11",
1510
- "unixUtsPlugin": "4.11"
1511
- },
1512
- "harmony": {
1513
- "osVer": "3.0",
1514
- "uniVer": "4.23",
1515
- "unixVer": "4.61",
1516
- "unixvVer": "5.0"
1517
- }
1518
- },
1519
- "mp": {
1520
- "weixin": {
1521
- "hostVer": "√",
1522
- "uniVer": "√",
1523
- "unixVer": "4.41"
1524
- },
1525
- "alipay": {
1526
- "hostVer": "√",
1527
- "uniVer": "√",
1528
- "unixVer": "x"
1529
- },
1530
- "baidu": {
1531
- "hostVer": "√",
1532
- "uniVer": "√",
1533
- "unixVer": "x"
1534
- },
1535
- "toutiao": {
1536
- "hostVer": "√",
1537
- "uniVer": "√",
1538
- "unixVer": "x"
1539
- },
1540
- "lark": {
1541
- "hostVer": "√",
1542
- "uniVer": "√",
1543
- "unixVer": "x"
1544
- },
1545
- "qq": {
1546
- "hostVer": "√",
1547
- "uniVer": "√",
1548
- "unixVer": "x"
1549
- },
1550
- "kuaishou": {
1551
- "hostVer": "√",
1552
- "uniVer": "√",
1553
- "unixVer": "x"
1554
- },
1555
- "jd": {
1556
- "hostVer": "√",
1557
- "uniVer": "√",
1558
- "unixVer": "x"
1559
- }
1560
- },
1561
- "web": {
1562
- "uniVer": "√",
1563
- "unixVer": "4.0"
1564
- }
1565
- }
1566
- */
1567
- export type ShowToast = (options: ShowToastOptions) => void
1568
-
1569
- /**
1570
- * uni.hideToast函数定义
1571
- * 隐藏toast
1572
- *
1573
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
1574
- * @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1575
- * @uniPlatform
1576
- {
1577
- "app": {
1578
- "android": {
1579
- "osVer": "5.0",
1580
- "uniVer": "√",
1581
- "uniUtsPlugin": "3.91",
1582
- "unixVer": "3.91"
1583
- },
1584
- "ios": {
1585
- "osVer": "12.0",
1586
- "uniVer": "√",
1587
- "uniUtsPlugin": "4.11",
1588
- "unixVer": "4.11",
1589
- "unixUtsPlugin": "4.11"
1590
- },
1591
- "harmony": {
1592
- "osVer": "3.0",
1593
- "uniVer": "4.83",
1594
- "unixVer": "4.83",
1595
- "unixvVer": "5.0"
1596
- }
1597
- },
1598
- "mp": {
1599
- "weixin": {
1600
- "hostVer": "√",
1601
- "uniVer": "√",
1602
- "unixVer": "4.41"
1603
- },
1604
- "alipay": {
1605
- "hostVer": "√",
1606
- "uniVer": "√",
1607
- "unixVer": "x"
1608
- },
1609
- "baidu": {
1610
- "hostVer": "√",
1611
- "uniVer": "√",
1612
- "unixVer": "x"
1613
- },
1614
- "toutiao": {
1615
- "hostVer": "√",
1616
- "uniVer": "√",
1617
- "unixVer": "x"
1618
- },
1619
- "lark": {
1620
- "hostVer": "√",
1621
- "uniVer": "√",
1622
- "unixVer": "x"
1623
- },
1624
- "qq": {
1625
- "hostVer": "√",
1626
- "uniVer": "√",
1627
- "unixVer": "x"
1628
- },
1629
- "kuaishou": {
1630
- "hostVer": "√",
1631
- "uniVer": "√",
1632
- "unixVer": "x"
1633
- },
1634
- "jd": {
1635
- "hostVer": "√",
1636
- "uniVer": "√",
1637
- "unixVer": "x"
1638
- }
1639
- },
1640
- "web": {
1641
- "uniVer": "√",
1642
- "unixVer": "4.0"
1643
- }
1644
- }
1645
- */
1646
- export type HideToast = () => void
1647
-
1648
-
1649
-
1650
-
1651
- export interface Uni {
1652
- /**
1653
- * @description 显示消息提示框
1654
- * @example
1655
- ```typescript
1656
- uni.showToast({
1657
- title: '标题',
1658
- duration: 2000
1659
- });
1660
- ```
1661
- * @remark
1662
- * - showLoading 和 showToast 同时只能显示一个
1663
- * - showToast 应与 hideToast 配对使用
1664
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
1665
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1666
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
171
+ */
172
+ export type ShowToastCompleteCallback = (res: any) => void
173
+
174
+ /**
175
+ * icon值说明
176
+ */
177
+ export type Icon =
178
+ /**
179
+ * 显示成功图标
180
+ * @uniPlatform
181
+ {
182
+ "app": {
183
+ "android": {
184
+ "osVer": "5.0",
185
+ "uniVer": "√",
186
+ "uniUtsPlugin": "3.91",
187
+ "unixVer": "3.91"
188
+ },
189
+ "ios": {
190
+ "osVer": "12.0",
191
+ "uniVer": "√",
192
+ "uniUtsPlugin": "4.11",
193
+ "unixVer": "4.11",
194
+ "unixUtsPlugin": "4.11"
195
+ }
196
+ },
197
+ "mp": {
198
+ "weixin": {
199
+ "hostVer": "√",
200
+ "uniVer": "√",
201
+ "unixVer": "4.41"
202
+ },
203
+ "alipay": {
204
+ "hostVer": "√",
205
+ "uniVer": "√",
206
+ "unixVer": "x"
207
+ },
208
+ "baidu": {
209
+ "hostVer": "√",
210
+ "uniVer": "√",
211
+ "unixVer": "x"
212
+ },
213
+ "toutiao": {
214
+ "hostVer": "√",
215
+ "uniVer": "√",
216
+ "unixVer": "x"
217
+ },
218
+ "lark": {
219
+ "hostVer": "√",
220
+ "uniVer": "√",
221
+ "unixVer": "x"
222
+ },
223
+ "qq": {
224
+ "hostVer": "√",
225
+ "uniVer": "√",
226
+ "unixVer": "x"
227
+ },
228
+ "kuaishou": {
229
+ "hostVer": "√",
230
+ "uniVer": "√",
231
+ "unixVer": "x"
232
+ },
233
+ "jd": {
234
+ "hostVer": "√",
235
+ "uniVer": "√",
236
+ "unixVer": "x"
237
+ }
238
+ },
239
+ "web": {
240
+ "uniVer": "√",
241
+ "unixVer": "4.0"
242
+ }
243
+ }
244
+ */
245
+ "success" |
246
+ /**
247
+ * 显示错误图标
248
+ * @uniPlatform
249
+ {
250
+ "app": {
251
+ "android": {
252
+ "osVer": "5.0",
253
+ "uniVer": "√",
254
+ "uniUtsPlugin": "3.91",
255
+ "unixVer": "3.91"
256
+ },
257
+ "ios": {
258
+ "osVer": "12.0",
259
+ "uniVer": "√",
260
+ "uniUtsPlugin": "4.11",
261
+ "unixVer": "4.11",
262
+ "unixUtsPlugin": "4.11"
263
+ }
264
+ },
265
+ "mp": {
266
+ "weixin": {
267
+ "hostVer": "√",
268
+ "uniVer": "√",
269
+ "unixVer": "4.41"
270
+ },
271
+ "alipay": {
272
+ "hostVer": "√",
273
+ "uniVer": "√",
274
+ "unixVer": "x"
275
+ },
276
+ "baidu": {
277
+ "hostVer": "√",
278
+ "uniVer": "√",
279
+ "unixVer": "x"
280
+ },
281
+ "toutiao": {
282
+ "hostVer": "√",
283
+ "uniVer": "√",
284
+ "unixVer": "x"
285
+ },
286
+ "lark": {
287
+ "hostVer": "√",
288
+ "uniVer": "√",
289
+ "unixVer": "x"
290
+ },
291
+ "qq": {
292
+ "hostVer": "√",
293
+ "uniVer": "√",
294
+ "unixVer": "x"
295
+ },
296
+ "kuaishou": {
297
+ "hostVer": "√",
298
+ "uniVer": "√",
299
+ "unixVer": "x"
300
+ },
301
+ "jd": {
302
+ "hostVer": "√",
303
+ "uniVer": "√",
304
+ "unixVer": "x"
305
+ }
306
+ },
307
+ "web": {
308
+ "uniVer": "√",
309
+ "unixVer": "4.0"
310
+ }
311
+ }
312
+ */
313
+ "error" |
314
+ /**
315
+ * 显示错误图标,此时title文本无长度显示,支付宝、抖音小程序生效
316
+ * @uniPlatform
317
+ {
318
+ "app": {
319
+ "android": {
320
+ "osVer": "5.0",
321
+ "uniVer": "√",
322
+ "uniUtsPlugin": "x",
323
+ "unixVer": "x"
324
+ },
325
+ "ios": {
326
+ "osVer": "12.0",
327
+ "uniVer": "√",
328
+ "uniUtsPlugin": "x",
329
+ "unixVer": "x",
330
+ "unixUtsPlugin": "x"
331
+ }
332
+ },
333
+ "mp": {
334
+ "weixin": {
335
+ "hostVer": "x",
336
+ "uniVer": "x",
337
+ "unixVer": "x"
338
+ },
339
+ "alipay": {
340
+ "hostVer": "√",
341
+ "uniVer": "√",
342
+ "unixVer": "x"
343
+ },
344
+ "baidu": {
345
+ "hostVer": "x",
346
+ "uniVer": "x",
347
+ "unixVer": "x"
348
+ },
349
+ "toutiao": {
350
+ "hostVer": "x",
351
+ "uniVer": "x",
352
+ "unixVer": "x"
353
+ },
354
+ "lark": {
355
+ "hostVer": "x",
356
+ "uniVer": "x",
357
+ "unixVer": "x"
358
+ },
359
+ "qq": {
360
+ "hostVer": "x",
361
+ "uniVer": "x",
362
+ "unixVer": "x"
363
+ },
364
+ "kuaishou": {
365
+ "hostVer": "x",
366
+ "uniVer": "x",
367
+ "unixVer": "x"
368
+ },
369
+ "jd": {
370
+ "hostVer": "x",
371
+ "uniVer": "x",
372
+ "unixVer": "x"
373
+ }
374
+ },
375
+ "web": {
376
+ "uniVer": "x",
377
+ "unixVer": "x"
378
+ }
379
+ }
380
+ */
381
+ "fail" |
382
+ /**
383
+ * 显示异常图标,此时title文本无长度显示,支付宝小程序生效
384
+ * @uniPlatform
385
+ {
386
+ "app": {
387
+ "android": {
388
+ "osVer": "5.0",
389
+ "uniVer": "x",
390
+ "uniUtsPlugin": "x",
391
+ "unixVer": "x"
392
+ },
393
+ "ios": {
394
+ "osVer": "12.0",
395
+ "uniVer": "x",
396
+ "uniUtsPlugin": "x",
397
+ "unixVer": "x",
398
+ "unixUtsPlugin": "x"
399
+ }
400
+ },
401
+ "mp": {
402
+ "weixin": {
403
+ "hostVer": "x",
404
+ "uniVer": "x",
405
+ "unixVer": "x"
406
+ },
407
+ "alipay": {
408
+ "hostVer": "√",
409
+ "uniVer": "√",
410
+ "unixVer": "x"
411
+ },
412
+ "baidu": {
413
+ "hostVer": "x",
414
+ "uniVer": "x",
415
+ "unixVer": "x"
416
+ },
417
+ "toutiao": {
418
+ "hostVer": "x",
419
+ "uniVer": "x",
420
+ "unixVer": "x"
421
+ },
422
+ "lark": {
423
+ "hostVer": "x",
424
+ "uniVer": "x",
425
+ "unixVer": "x"
426
+ },
427
+ "qq": {
428
+ "hostVer": "x",
429
+ "uniVer": "x",
430
+ "unixVer": "x"
431
+ },
432
+ "kuaishou": {
433
+ "hostVer": "x",
434
+ "uniVer": "x",
435
+ "unixVer": "x"
436
+ },
437
+ "jd": {
438
+ "hostVer": "x",
439
+ "uniVer": "x",
440
+ "unixVer": "x"
441
+ }
442
+ },
443
+ "web": {
444
+ "uniVer": "x",
445
+ "unixVer": "x"
446
+ }
447
+ }
448
+ */
449
+ "exception" |
450
+ /**
451
+ * 显示加载图标
452
+ * @uniPlatform
453
+ {
454
+ "app": {
455
+ "android": {
456
+ "osVer": "5.0",
457
+ "uniVer": "√",
458
+ "uniUtsPlugin": "3.91",
459
+ "unixVer": "3.91"
460
+ },
461
+ "ios": {
462
+ "osVer": "12.0",
463
+ "uniVer": "√",
464
+ "uniUtsPlugin": "4.11",
465
+ "unixVer": "4.11",
466
+ "unixUtsPlugin": "4.11"
467
+ }
468
+ },
469
+ "mp": {
470
+ "weixin": {
471
+ "hostVer": "√",
472
+ "uniVer": "√",
473
+ "unixVer": "4.41"
474
+ },
475
+ "alipay": {
476
+ "hostVer": "√",
477
+ "uniVer": "√",
478
+ "unixVer": "x"
479
+ },
480
+ "baidu": {
481
+ "hostVer": "√",
482
+ "uniVer": "√",
483
+ "unixVer": "x"
484
+ },
485
+ "toutiao": {
486
+ "hostVer": "√",
487
+ "uniVer": "√",
488
+ "unixVer": "x"
489
+ },
490
+ "lark": {
491
+ "hostVer": "√",
492
+ "uniVer": "√",
493
+ "unixVer": "x"
494
+ },
495
+ "qq": {
496
+ "hostVer": "√",
497
+ "uniVer": "√",
498
+ "unixVer": "x"
499
+ },
500
+ "kuaishou": {
501
+ "hostVer": "√",
502
+ "uniVer": "√",
503
+ "unixVer": "x"
504
+ },
505
+ "jd": {
506
+ "hostVer": "√",
507
+ "uniVer": "√",
508
+ "unixVer": "x"
509
+ }
510
+ },
511
+ "web": {
512
+ "uniVer": "√",
513
+ "unixVer": "4.0"
514
+ }
515
+ }
516
+ */
517
+ "loading" |
518
+ /**
519
+ * 不显示图标
520
+ * @uniPlatform
521
+ {
522
+ "app": {
523
+ "android": {
524
+ "osVer": "5.0",
525
+ "uniVer": "√",
526
+ "uniUtsPlugin": "3.91",
527
+ "unixVer": "3.91"
528
+ },
529
+ "ios": {
530
+ "osVer": "12.0",
531
+ "uniVer": "√",
532
+ "uniUtsPlugin": "4.11",
533
+ "unixVer": "4.11",
534
+ "unixUtsPlugin": "4.11"
535
+ }
536
+ },
537
+ "mp": {
538
+ "weixin": {
539
+ "hostVer": "√",
540
+ "uniVer": "√",
541
+ "unixVer": "4.41"
542
+ },
543
+ "alipay": {
544
+ "hostVer": "√",
545
+ "uniVer": "√",
546
+ "unixVer": "x"
547
+ },
548
+ "baidu": {
549
+ "hostVer": "√",
550
+ "uniVer": "√",
551
+ "unixVer": "x"
552
+ },
553
+ "toutiao": {
554
+ "hostVer": "√",
555
+ "uniVer": "√",
556
+ "unixVer": "x"
557
+ },
558
+ "lark": {
559
+ "hostVer": "√",
560
+ "uniVer": "√",
561
+ "unixVer": "x"
562
+ },
563
+ "qq": {
564
+ "hostVer": "√",
565
+ "uniVer": "√",
566
+ "unixVer": "x"
567
+ },
568
+ "kuaishou": {
569
+ "hostVer": "√",
570
+ "uniVer": "√",
571
+ "unixVer": "x"
572
+ },
573
+ "jd": {
574
+ "hostVer": "√",
575
+ "uniVer": "√",
576
+ "unixVer": "x"
577
+ }
578
+ },
579
+ "web": {
580
+ "uniVer": "√",
581
+ "unixVer": "4.0"
582
+ }
583
+ }
584
+ */
585
+ "none";
586
+
587
+ /**
588
+ * position值说明。纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
589
+ */
590
+ export type ShowToastPosition =
591
+ /**
592
+ * 居上显示
593
+ * @uniPlatform
594
+ {
595
+ "app": {
596
+ "android": {
597
+ "osVer": "5.0",
598
+ "uniVer": "√",
599
+ "uniUtsPlugin": "3.91",
600
+ "unixVer": "3.91"
601
+ },
602
+ "ios": {
603
+ "osVer": "12.0",
604
+ "uniVer": "√",
605
+ "uniUtsPlugin": "4.11",
606
+ "unixVer": "4.11",
607
+ "unixUtsPlugin": "4.11"
608
+ },
609
+ "harmony": {
610
+ "osVer": "3.0",
611
+ "uniVer": "4.23",
612
+ "unixVer": "4.61",
613
+ "unixVaporVer": "5.0"
614
+ }
615
+ },
616
+ "mp": {
617
+ "weixin": {
618
+ "hostVer": "√",
619
+ "uniVer": "√",
620
+ "unixVer": "4.41"
621
+ },
622
+ "alipay": {
623
+ "hostVer": "√",
624
+ "uniVer": "√",
625
+ "unixVer": "x"
626
+ },
627
+ "baidu": {
628
+ "hostVer": "√",
629
+ "uniVer": "√",
630
+ "unixVer": "x"
631
+ },
632
+ "toutiao": {
633
+ "hostVer": "√",
634
+ "uniVer": "√",
635
+ "unixVer": "x"
636
+ },
637
+ "lark": {
638
+ "hostVer": "√",
639
+ "uniVer": "√",
640
+ "unixVer": "x"
641
+ },
642
+ "qq": {
643
+ "hostVer": "√",
644
+ "uniVer": "√",
645
+ "unixVer": "x"
646
+ },
647
+ "kuaishou": {
648
+ "hostVer": "√",
649
+ "uniVer": "√",
650
+ "unixVer": "x"
651
+ },
652
+ "jd": {
653
+ "hostVer": "√",
654
+ "uniVer": "√",
655
+ "unixVer": "x"
656
+ }
657
+ },
658
+ "web": {
659
+ "uniVer": "x",
660
+ "unixVer": "x"
661
+ }
662
+ }
663
+ */
664
+ "top" |
665
+ /**
666
+ * 居中显示
667
+ * @uniPlatform
668
+ {
669
+ "app": {
670
+ "android": {
671
+ "osVer": "5.0",
672
+ "uniVer": "√",
673
+ "uniUtsPlugin": "3.91",
674
+ "unixVer": "3.91"
675
+ },
676
+ "ios": {
677
+ "osVer": "12.0",
678
+ "uniVer": "√",
679
+ "uniUtsPlugin": "4.11",
680
+ "unixVer": "4.11",
681
+ "unixUtsPlugin": "4.11"
682
+ },
683
+ "harmony": {
684
+ "osVer": "3.0",
685
+ "uniVer": "4.23",
686
+ "unixVer": "4.61",
687
+ "unixVaporVer": "5.0"
688
+ }
689
+ },
690
+ "mp": {
691
+ "weixin": {
692
+ "hostVer": "√",
693
+ "uniVer": "√",
694
+ "unixVer": "4.41"
695
+ },
696
+ "alipay": {
697
+ "hostVer": "√",
698
+ "uniVer": "√",
699
+ "unixVer": "x"
700
+ },
701
+ "baidu": {
702
+ "hostVer": "√",
703
+ "uniVer": "√",
704
+ "unixVer": "x"
705
+ },
706
+ "toutiao": {
707
+ "hostVer": "√",
708
+ "uniVer": "√",
709
+ "unixVer": "x"
710
+ },
711
+ "lark": {
712
+ "hostVer": "√",
713
+ "uniVer": "√",
714
+ "unixVer": "x"
715
+ },
716
+ "qq": {
717
+ "hostVer": "√",
718
+ "uniVer": "√",
719
+ "unixVer": "x"
720
+ },
721
+ "kuaishou": {
722
+ "hostVer": "√",
723
+ "uniVer": "√",
724
+ "unixVer": "x"
725
+ },
726
+ "jd": {
727
+ "hostVer": "√",
728
+ "uniVer": "√",
729
+ "unixVer": "x"
730
+ }
731
+ },
732
+ "web": {
733
+ "uniVer": "x",
734
+ "unixVer": "x"
735
+ }
736
+ }
737
+ */
738
+ "center" |
739
+ /**
740
+ * 居底显示
741
+ * @uniPlatform
742
+ {
743
+ "app": {
744
+ "android": {
745
+ "osVer": "5.0",
746
+ "uniVer": "√",
747
+ "uniUtsPlugin": "3.91",
748
+ "unixVer": "3.91"
749
+ },
750
+ "ios": {
751
+ "osVer": "12.0",
752
+ "uniVer": "√",
753
+ "uniUtsPlugin": "4.11",
754
+ "unixVer": "4.11",
755
+ "unixUtsPlugin": "4.11"
756
+ },
757
+ "harmony": {
758
+ "osVer": "3.0",
759
+ "uniVer": "4.23",
760
+ "unixVer": "4.61",
761
+ "unixVaporVer": "5.0"
762
+ }
763
+ },
764
+ "mp": {
765
+ "weixin": {
766
+ "hostVer": "√",
767
+ "uniVer": "√",
768
+ "unixVer": "4.41"
769
+ },
770
+ "alipay": {
771
+ "hostVer": "√",
772
+ "uniVer": "√",
773
+ "unixVer": "x"
774
+ },
775
+ "baidu": {
776
+ "hostVer": "√",
777
+ "uniVer": "√",
778
+ "unixVer": "x"
779
+ },
780
+ "toutiao": {
781
+ "hostVer": "√",
782
+ "uniVer": "√",
783
+ "unixVer": "x"
784
+ },
785
+ "lark": {
786
+ "hostVer": "√",
787
+ "uniVer": "√",
788
+ "unixVer": "x"
789
+ },
790
+ "qq": {
791
+ "hostVer": "√",
792
+ "uniVer": "√",
793
+ "unixVer": "x"
794
+ },
795
+ "kuaishou": {
796
+ "hostVer": "√",
797
+ "uniVer": "√",
798
+ "unixVer": "x"
799
+ },
800
+ "jd": {
801
+ "hostVer": "√",
802
+ "uniVer": "√",
803
+ "unixVer": "x"
804
+ }
805
+ },
806
+ "web": {
807
+ "uniVer": "x",
808
+ "unixVer": "x"
809
+ }
810
+ }
811
+ */
812
+ "bottom";
813
+
814
+ /**
815
+ * uni.showToast参数定义
816
+ */
817
+ export type ShowToastOptions = {
818
+ /**
819
+ * 提示的内容,长度与 icon 取值有关。
820
+ * @uniPlatform
821
+ {
822
+ "app": {
823
+ "android": {
824
+ "osVer": "5.0",
825
+ "uniVer": "√",
826
+ "uniUtsPlugin": "3.91",
827
+ "unixVer": "3.91"
828
+ },
829
+ "ios": {
830
+ "osVer": "12.0",
831
+ "uniVer": "√",
832
+ "uniUtsPlugin": "4.11",
833
+ "unixVer": "4.11",
834
+ "unixUtsPlugin": "4.11"
835
+ },
836
+ "harmony": {
837
+ "osVer": "3.0",
838
+ "uniVer": "4.23",
839
+ "unixVer": "4.61",
840
+ "unixVaporVer": "5.0"
841
+ }
842
+ },
843
+ "mp": {
844
+ "weixin": {
845
+ "hostVer": "√",
846
+ "uniVer": "√",
847
+ "unixVer": "4.41"
848
+ },
849
+ "alipay": {
850
+ "hostVer": "√",
851
+ "uniVer": "√",
852
+ "unixVer": "x"
853
+ },
854
+ "baidu": {
855
+ "hostVer": "√",
856
+ "uniVer": "√",
857
+ "unixVer": "x"
858
+ },
859
+ "toutiao": {
860
+ "hostVer": "√",
861
+ "uniVer": "√",
862
+ "unixVer": "x"
863
+ },
864
+ "lark": {
865
+ "hostVer": "√",
866
+ "uniVer": "√",
867
+ "unixVer": "x"
868
+ },
869
+ "qq": {
870
+ "hostVer": "√",
871
+ "uniVer": "√",
872
+ "unixVer": "x"
873
+ },
874
+ "kuaishou": {
875
+ "hostVer": "√",
876
+ "uniVer": "√",
877
+ "unixVer": "x"
878
+ },
879
+ "jd": {
880
+ "hostVer": "√",
881
+ "uniVer": "√",
882
+ "unixVer": "x"
883
+ }
884
+ },
885
+ "web": {
886
+ "uniVer": "√",
887
+ "unixVer": "4.0"
888
+ }
889
+ }
890
+ */
891
+ title: string,
892
+ /**
893
+ * 图标
894
+ * @defaultValue "success"
895
+ * @uniPlatform
896
+ {
897
+ "app": {
898
+ "android": {
899
+ "osVer": "5.0",
900
+ "uniVer": "√",
901
+ "uniUtsPlugin": "3.91",
902
+ "unixVer": "3.91"
903
+ },
904
+ "ios": {
905
+ "osVer": "12.0",
906
+ "uniVer": "√",
907
+ "uniUtsPlugin": "4.11",
908
+ "unixVer": "4.11",
909
+ "unixUtsPlugin": "4.11"
910
+ },
911
+ "harmony": {
912
+ "osVer": "3.0",
913
+ "uniVer": "4.23",
914
+ "unixVer": "x"
915
+ }
916
+ },
917
+ "mp": {
918
+ "weixin": {
919
+ "hostVer": "√",
920
+ "uniVer": "√",
921
+ "unixVer": "4.41"
922
+ },
923
+ "alipay": {
924
+ "hostVer": "√",
925
+ "uniVer": "√",
926
+ "unixVer": "x"
927
+ },
928
+ "baidu": {
929
+ "hostVer": "√",
930
+ "uniVer": "√",
931
+ "unixVer": "x"
932
+ },
933
+ "toutiao": {
934
+ "hostVer": "√",
935
+ "uniVer": "√",
936
+ "unixVer": "x"
937
+ },
938
+ "lark": {
939
+ "hostVer": "√",
940
+ "uniVer": "√",
941
+ "unixVer": "x"
942
+ },
943
+ "qq": {
944
+ "hostVer": "√",
945
+ "uniVer": "√",
946
+ "unixVer": "x"
947
+ },
948
+ "kuaishou": {
949
+ "hostVer": "√",
950
+ "uniVer": "√",
951
+ "unixVer": "x"
952
+ },
953
+ "jd": {
954
+ "hostVer": "√",
955
+ "uniVer": "√",
956
+ "unixVer": "x"
957
+ }
958
+ },
959
+ "web": {
960
+ "uniVer": "√",
961
+ "unixVer": "4.0"
962
+ }
963
+ }
964
+ */
965
+ icon?: Icon | null,
966
+ /**
967
+ * 自定义图标的本地路径(app端暂不支持gif)
968
+ * @uniPlatform
969
+ {
970
+ "app": {
971
+ "android": {
972
+ "osVer": "5.0",
973
+ "uniVer": "√",
974
+ "uniUtsPlugin": "3.91",
975
+ "unixVer": "3.91"
976
+ },
977
+ "ios": {
978
+ "osVer": "12.0",
979
+ "uniVer": "√",
980
+ "uniUtsPlugin": "4.11",
981
+ "unixVer": "4.11",
982
+ "unixUtsPlugin": "4.11"
983
+ },
984
+ "harmony": {
985
+ "osVer": "3.0",
986
+ "uniVer": "4.23",
987
+ "unixVer": "4.61",
988
+ "unixVaporVer": "5.0"
989
+ }
990
+ },
991
+ "mp": {
992
+ "weixin": {
993
+ "hostVer": "√",
994
+ "uniVer": "√",
995
+ "unixVer": "4.41"
996
+ },
997
+ "alipay": {
998
+ "hostVer": "√",
999
+ "uniVer": "√",
1000
+ "unixVer": "x"
1001
+ },
1002
+ "baidu": {
1003
+ "hostVer": "√",
1004
+ "uniVer": "√",
1005
+ "unixVer": "x"
1006
+ },
1007
+ "toutiao": {
1008
+ "hostVer": "√",
1009
+ "uniVer": "√",
1010
+ "unixVer": "x"
1011
+ },
1012
+ "lark": {
1013
+ "hostVer": "√",
1014
+ "uniVer": "√",
1015
+ "unixVer": "x"
1016
+ },
1017
+ "qq": {
1018
+ "hostVer": "√",
1019
+ "uniVer": "√",
1020
+ "unixVer": "x"
1021
+ },
1022
+ "kuaishou": {
1023
+ "hostVer": "√",
1024
+ "uniVer": "√",
1025
+ "unixVer": "x"
1026
+ },
1027
+ "jd": {
1028
+ "hostVer": "√",
1029
+ "uniVer": "√",
1030
+ "unixVer": "x"
1031
+ }
1032
+ },
1033
+ "web": {
1034
+ "uniVer": "√",
1035
+ "unixVer": "4.0"
1036
+ }
1037
+ }
1038
+ */
1039
+ image?: string.ImageURIString | null,
1040
+ /**
1041
+ * 是否显示透明蒙层,防止触摸穿透
1042
+ * @defaultValue false
1043
+ * @uniPlatform
1044
+ {
1045
+ "app": {
1046
+ "android": {
1047
+ "osVer": "5.0",
1048
+ "uniVer": "√",
1049
+ "uniUtsPlugin": "3.91",
1050
+ "unixVer": "3.91"
1051
+ },
1052
+ "ios": {
1053
+ "osVer": "12.0",
1054
+ "uniVer": "√",
1055
+ "uniUtsPlugin": "4.11",
1056
+ "unixVer": "4.11",
1057
+ "unixUtsPlugin": "4.11"
1058
+ },
1059
+ "harmony": {
1060
+ "osVer": "3.0",
1061
+ "uniVer": "4.23",
1062
+ "unixVer": "4.61",
1063
+ "unixVaporVer": "5.0"
1064
+ }
1065
+ },
1066
+ "mp": {
1067
+ "weixin": {
1068
+ "hostVer": "√",
1069
+ "uniVer": "√",
1070
+ "unixVer": "4.41"
1071
+ },
1072
+ "alipay": {
1073
+ "hostVer": "√",
1074
+ "uniVer": "√",
1075
+ "unixVer": "x"
1076
+ },
1077
+ "baidu": {
1078
+ "hostVer": "√",
1079
+ "uniVer": "√",
1080
+ "unixVer": "x"
1081
+ },
1082
+ "toutiao": {
1083
+ "hostVer": "√",
1084
+ "uniVer": "√",
1085
+ "unixVer": "x"
1086
+ },
1087
+ "lark": {
1088
+ "hostVer": "√",
1089
+ "uniVer": "√",
1090
+ "unixVer": "x"
1091
+ },
1092
+ "qq": {
1093
+ "hostVer": "√",
1094
+ "uniVer": "√",
1095
+ "unixVer": "x"
1096
+ },
1097
+ "kuaishou": {
1098
+ "hostVer": "√",
1099
+ "uniVer": "√",
1100
+ "unixVer": "x"
1101
+ },
1102
+ "jd": {
1103
+ "hostVer": "√",
1104
+ "uniVer": "√",
1105
+ "unixVer": "x"
1106
+ }
1107
+ },
1108
+ "web": {
1109
+ "uniVer": "√",
1110
+ "unixVer": "4.0"
1111
+ }
1112
+ }
1113
+ */
1114
+ mask?: boolean | null,
1115
+ /**
1116
+ * 提示的延迟时间,单位毫秒
1117
+ * @defaultValue 1500
1118
+ * @uniPlatform
1119
+ {
1120
+ "app": {
1121
+ "android": {
1122
+ "osVer": "5.0",
1123
+ "uniVer": "√",
1124
+ "uniUtsPlugin": "3.91",
1125
+ "unixVer": "3.91"
1126
+ },
1127
+ "ios": {
1128
+ "osVer": "12.0",
1129
+ "uniVer": "√",
1130
+ "uniUtsPlugin": "4.11",
1131
+ "unixVer": "4.11",
1132
+ "unixUtsPlugin": "4.11"
1133
+ },
1134
+ "harmony": {
1135
+ "osVer": "3.0",
1136
+ "uniVer": "4.23",
1137
+ "unixVer": "4.61",
1138
+ "unixVaporVer": "5.0"
1139
+ }
1140
+ },
1141
+ "mp": {
1142
+ "weixin": {
1143
+ "hostVer": "√",
1144
+ "uniVer": "√",
1145
+ "unixVer": "4.41"
1146
+ },
1147
+ "alipay": {
1148
+ "hostVer": "√",
1149
+ "uniVer": "√",
1150
+ "unixVer": "x"
1151
+ },
1152
+ "baidu": {
1153
+ "hostVer": "√",
1154
+ "uniVer": "√",
1155
+ "unixVer": "x"
1156
+ },
1157
+ "toutiao": {
1158
+ "hostVer": "√",
1159
+ "uniVer": "√",
1160
+ "unixVer": "x"
1161
+ },
1162
+ "lark": {
1163
+ "hostVer": "√",
1164
+ "uniVer": "√",
1165
+ "unixVer": "x"
1166
+ },
1167
+ "qq": {
1168
+ "hostVer": "√",
1169
+ "uniVer": "√",
1170
+ "unixVer": "x"
1171
+ },
1172
+ "kuaishou": {
1173
+ "hostVer": "√",
1174
+ "uniVer": "√",
1175
+ "unixVer": "x"
1176
+ },
1177
+ "jd": {
1178
+ "hostVer": "√",
1179
+ "uniVer": "√",
1180
+ "unixVer": "x"
1181
+ }
1182
+ },
1183
+ "web": {
1184
+ "uniVer": "√",
1185
+ "unixVer": "4.0"
1186
+ }
1187
+ }
1188
+ */
1189
+ duration?: number | null,
1190
+ /**
1191
+ * 纯文本轻提示显示位置,填写有效值后只有 title 属性生效,且不支持通过 uni.hideToast 隐藏。
1192
+ * @uniPlatform
1193
+ {
1194
+ "app": {
1195
+ "android": {
1196
+ "osVer": "5.0",
1197
+ "uniVer": "√",
1198
+ "uniUtsPlugin": "3.91",
1199
+ "unixVer": "3.91"
1200
+ },
1201
+ "ios": {
1202
+ "osVer": "12.0",
1203
+ "uniVer": "√",
1204
+ "uniUtsPlugin": "4.11",
1205
+ "unixVer": "4.11",
1206
+ "unixUtsPlugin": "4.11"
1207
+ },
1208
+ "harmony": {
1209
+ "osVer": "3.0",
1210
+ "uniVer": "4.23",
1211
+ "unixVer": "4.61",
1212
+ "unixVaporVer": "5.0"
1213
+ }
1214
+ },
1215
+ "mp": {
1216
+ "weixin": {
1217
+ "hostVer": "√",
1218
+ "uniVer": "√",
1219
+ "unixVer": "4.41"
1220
+ },
1221
+ "alipay": {
1222
+ "hostVer": "√",
1223
+ "uniVer": "√",
1224
+ "unixVer": "x"
1225
+ },
1226
+ "baidu": {
1227
+ "hostVer": "√",
1228
+ "uniVer": "√",
1229
+ "unixVer": "x"
1230
+ },
1231
+ "toutiao": {
1232
+ "hostVer": "√",
1233
+ "uniVer": "√",
1234
+ "unixVer": "x"
1235
+ },
1236
+ "lark": {
1237
+ "hostVer": "√",
1238
+ "uniVer": "√",
1239
+ "unixVer": "x"
1240
+ },
1241
+ "qq": {
1242
+ "hostVer": "√",
1243
+ "uniVer": "√",
1244
+ "unixVer": "x"
1245
+ },
1246
+ "kuaishou": {
1247
+ "hostVer": "√",
1248
+ "uniVer": "√",
1249
+ "unixVer": "x"
1250
+ },
1251
+ "jd": {
1252
+ "hostVer": "√",
1253
+ "uniVer": "√",
1254
+ "unixVer": "x"
1255
+ }
1256
+ },
1257
+ "web": {
1258
+ "uniVer": "x",
1259
+ "unixVer": "x"
1260
+ }
1261
+ }
1262
+ */
1263
+ position?: ShowToastPosition | null,
1264
+ /**
1265
+ * 接口调用成功的回调函数
1266
+ * @uniPlatform
1267
+ {
1268
+ "app": {
1269
+ "android": {
1270
+ "osVer": "5.0",
1271
+ "uniVer": "√",
1272
+ "uniUtsPlugin": "3.91",
1273
+ "unixVer": "3.91"
1274
+ },
1275
+ "ios": {
1276
+ "osVer": "12.0",
1277
+ "uniVer": "√",
1278
+ "uniUtsPlugin": "4.11",
1279
+ "unixVer": "4.11",
1280
+ "unixUtsPlugin": "4.11"
1281
+ },
1282
+ "harmony": {
1283
+ "osVer": "3.0",
1284
+ "uniVer": "4.23",
1285
+ "unixVer": "4.61",
1286
+ "unixVaporVer": "5.0"
1287
+ }
1288
+ },
1289
+ "mp": {
1290
+ "weixin": {
1291
+ "hostVer": "√",
1292
+ "uniVer": "√",
1293
+ "unixVer": "4.41"
1294
+ },
1295
+ "alipay": {
1296
+ "hostVer": "√",
1297
+ "uniVer": "√",
1298
+ "unixVer": "x"
1299
+ },
1300
+ "baidu": {
1301
+ "hostVer": "√",
1302
+ "uniVer": "√",
1303
+ "unixVer": "x"
1304
+ },
1305
+ "toutiao": {
1306
+ "hostVer": "√",
1307
+ "uniVer": "√",
1308
+ "unixVer": "x"
1309
+ },
1310
+ "lark": {
1311
+ "hostVer": "√",
1312
+ "uniVer": "√",
1313
+ "unixVer": "x"
1314
+ },
1315
+ "qq": {
1316
+ "hostVer": "√",
1317
+ "uniVer": "√",
1318
+ "unixVer": "x"
1319
+ },
1320
+ "kuaishou": {
1321
+ "hostVer": "√",
1322
+ "uniVer": "√",
1323
+ "unixVer": "x"
1324
+ },
1325
+ "jd": {
1326
+ "hostVer": "√",
1327
+ "uniVer": "√",
1328
+ "unixVer": "x"
1329
+ }
1330
+ },
1331
+ "web": {
1332
+ "uniVer": "√",
1333
+ "unixVer": "4.0"
1334
+ }
1335
+ }
1336
+ */
1337
+ success?: ShowToastSuccessCallback | null,
1338
+ /**
1339
+ * 接口调用失败的回调函数
1340
+ * @uniPlatform
1341
+ {
1342
+ "app": {
1343
+ "android": {
1344
+ "osVer": "5.0",
1345
+ "uniVer": "√",
1346
+ "uniUtsPlugin": "3.91",
1347
+ "unixVer": "3.91"
1348
+ },
1349
+ "ios": {
1350
+ "osVer": "12.0",
1351
+ "uniVer": "√",
1352
+ "uniUtsPlugin": "4.11",
1353
+ "unixVer": "4.11",
1354
+ "unixUtsPlugin": "4.11"
1355
+ },
1356
+ "harmony": {
1357
+ "osVer": "3.0",
1358
+ "uniVer": "4.23",
1359
+ "unixVer": "4.61",
1360
+ "unixVaporVer": "5.0"
1361
+ }
1362
+ },
1363
+ "mp": {
1364
+ "weixin": {
1365
+ "hostVer": "√",
1366
+ "uniVer": "√",
1367
+ "unixVer": "4.41"
1368
+ },
1369
+ "alipay": {
1370
+ "hostVer": "√",
1371
+ "uniVer": "√",
1372
+ "unixVer": "x"
1373
+ },
1374
+ "baidu": {
1375
+ "hostVer": "√",
1376
+ "uniVer": "√",
1377
+ "unixVer": "x"
1378
+ },
1379
+ "toutiao": {
1380
+ "hostVer": "√",
1381
+ "uniVer": "√",
1382
+ "unixVer": "x"
1383
+ },
1384
+ "lark": {
1385
+ "hostVer": "√",
1386
+ "uniVer": "√",
1387
+ "unixVer": "x"
1388
+ },
1389
+ "qq": {
1390
+ "hostVer": "√",
1391
+ "uniVer": "√",
1392
+ "unixVer": "x"
1393
+ },
1394
+ "kuaishou": {
1395
+ "hostVer": "√",
1396
+ "uniVer": "√",
1397
+ "unixVer": "x"
1398
+ },
1399
+ "jd": {
1400
+ "hostVer": "√",
1401
+ "uniVer": "√",
1402
+ "unixVer": "x"
1403
+ }
1404
+ },
1405
+ "web": {
1406
+ "uniVer": "√",
1407
+ "unixVer": "4.0"
1408
+ }
1409
+ }
1410
+ */
1411
+ fail?: ShowToastFailCallback | null,
1412
+ /**
1413
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1414
+ * @uniPlatform
1415
+ {
1416
+ "app": {
1417
+ "android": {
1418
+ "osVer": "5.0",
1419
+ "uniVer": "√",
1420
+ "uniUtsPlugin": "3.91",
1421
+ "unixVer": "3.91"
1422
+ },
1423
+ "ios": {
1424
+ "osVer": "12.0",
1425
+ "uniVer": "√",
1426
+ "uniUtsPlugin": "4.11",
1427
+ "unixVer": "4.11",
1428
+ "unixUtsPlugin": "4.11"
1429
+ },
1430
+ "harmony": {
1431
+ "osVer": "3.0",
1432
+ "uniVer": "4.23",
1433
+ "unixVer": "4.61",
1434
+ "unixVaporVer": "5.0"
1435
+ }
1436
+ },
1437
+ "mp": {
1438
+ "weixin": {
1439
+ "hostVer": "√",
1440
+ "uniVer": "√",
1441
+ "unixVer": "4.41"
1442
+ },
1443
+ "alipay": {
1444
+ "hostVer": "√",
1445
+ "uniVer": "√",
1446
+ "unixVer": "x"
1447
+ },
1448
+ "baidu": {
1449
+ "hostVer": "√",
1450
+ "uniVer": "√",
1451
+ "unixVer": "x"
1452
+ },
1453
+ "toutiao": {
1454
+ "hostVer": "√",
1455
+ "uniVer": "√",
1456
+ "unixVer": "x"
1457
+ },
1458
+ "lark": {
1459
+ "hostVer": "√",
1460
+ "uniVer": "√",
1461
+ "unixVer": "x"
1462
+ },
1463
+ "qq": {
1464
+ "hostVer": "√",
1465
+ "uniVer": "√",
1466
+ "unixVer": "x"
1467
+ },
1468
+ "kuaishou": {
1469
+ "hostVer": "√",
1470
+ "uniVer": "√",
1471
+ "unixVer": "x"
1472
+ },
1473
+ "jd": {
1474
+ "hostVer": "√",
1475
+ "uniVer": "√",
1476
+ "unixVer": "x"
1477
+ }
1478
+ },
1479
+ "web": {
1480
+ "uniVer": "√",
1481
+ "unixVer": "4.0"
1482
+ }
1483
+ }
1484
+ */
1485
+ complete?: ShowToastCompleteCallback | null
1486
+ }
1487
+
1488
+ /**
1489
+ * uni.showToast函数定义
1490
+ * 弹出toast
1491
+ *
1492
+ * @param {ShowToastOptions} options
1493
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
1494
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1495
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1496
+ * @uniPlatform
1497
+ {
1498
+ "app": {
1499
+ "android": {
1500
+ "osVer": "5.0",
1501
+ "uniVer": "√",
1502
+ "uniUtsPlugin": "3.91",
1503
+ "unixVer": "3.91"
1504
+ },
1505
+ "ios": {
1506
+ "osVer": "12.0",
1507
+ "uniVer": "√",
1508
+ "uniUtsPlugin": "4.11",
1509
+ "unixVer": "4.11",
1510
+ "unixUtsPlugin": "4.11"
1511
+ },
1512
+ "harmony": {
1513
+ "osVer": "3.0",
1514
+ "uniVer": "4.23",
1515
+ "unixVer": "4.61",
1516
+ "unixVaporVer": "5.0"
1517
+ }
1518
+ },
1519
+ "mp": {
1520
+ "weixin": {
1521
+ "hostVer": "√",
1522
+ "uniVer": "√",
1523
+ "unixVer": "4.41"
1524
+ },
1525
+ "alipay": {
1526
+ "hostVer": "√",
1527
+ "uniVer": "√",
1528
+ "unixVer": "x"
1529
+ },
1530
+ "baidu": {
1531
+ "hostVer": "√",
1532
+ "uniVer": "√",
1533
+ "unixVer": "x"
1534
+ },
1535
+ "toutiao": {
1536
+ "hostVer": "√",
1537
+ "uniVer": "√",
1538
+ "unixVer": "x"
1539
+ },
1540
+ "lark": {
1541
+ "hostVer": "√",
1542
+ "uniVer": "√",
1543
+ "unixVer": "x"
1544
+ },
1545
+ "qq": {
1546
+ "hostVer": "√",
1547
+ "uniVer": "√",
1548
+ "unixVer": "x"
1549
+ },
1550
+ "kuaishou": {
1551
+ "hostVer": "√",
1552
+ "uniVer": "√",
1553
+ "unixVer": "x"
1554
+ },
1555
+ "jd": {
1556
+ "hostVer": "√",
1557
+ "uniVer": "√",
1558
+ "unixVer": "x"
1559
+ }
1560
+ },
1561
+ "web": {
1562
+ "uniVer": "√",
1563
+ "unixVer": "4.0"
1564
+ }
1565
+ }
1566
+ */
1567
+ export type ShowToast = (options: ShowToastOptions) => void
1568
+
1569
+ /**
1570
+ * uni.hideToast函数定义
1571
+ * 隐藏toast
1572
+ *
1573
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
1574
+ * @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1575
+ * @uniPlatform
1576
+ {
1577
+ "app": {
1578
+ "android": {
1579
+ "osVer": "5.0",
1580
+ "uniVer": "√",
1581
+ "uniUtsPlugin": "3.91",
1582
+ "unixVer": "3.91"
1583
+ },
1584
+ "ios": {
1585
+ "osVer": "12.0",
1586
+ "uniVer": "√",
1587
+ "uniUtsPlugin": "4.11",
1588
+ "unixVer": "4.11",
1589
+ "unixUtsPlugin": "4.11"
1590
+ },
1591
+ "harmony": {
1592
+ "osVer": "3.0",
1593
+ "uniVer": "4.83",
1594
+ "unixVer": "4.83",
1595
+ "unixVaporVer": "5.0"
1596
+ }
1597
+ },
1598
+ "mp": {
1599
+ "weixin": {
1600
+ "hostVer": "√",
1601
+ "uniVer": "√",
1602
+ "unixVer": "4.41"
1603
+ },
1604
+ "alipay": {
1605
+ "hostVer": "√",
1606
+ "uniVer": "√",
1607
+ "unixVer": "x"
1608
+ },
1609
+ "baidu": {
1610
+ "hostVer": "√",
1611
+ "uniVer": "√",
1612
+ "unixVer": "x"
1613
+ },
1614
+ "toutiao": {
1615
+ "hostVer": "√",
1616
+ "uniVer": "√",
1617
+ "unixVer": "x"
1618
+ },
1619
+ "lark": {
1620
+ "hostVer": "√",
1621
+ "uniVer": "√",
1622
+ "unixVer": "x"
1623
+ },
1624
+ "qq": {
1625
+ "hostVer": "√",
1626
+ "uniVer": "√",
1627
+ "unixVer": "x"
1628
+ },
1629
+ "kuaishou": {
1630
+ "hostVer": "√",
1631
+ "uniVer": "√",
1632
+ "unixVer": "x"
1633
+ },
1634
+ "jd": {
1635
+ "hostVer": "√",
1636
+ "uniVer": "√",
1637
+ "unixVer": "x"
1638
+ }
1639
+ },
1640
+ "web": {
1641
+ "uniVer": "√",
1642
+ "unixVer": "4.0"
1643
+ }
1644
+ }
1645
+ */
1646
+ export type HideToast = () => void
1647
+
1648
+
1649
+
1650
+
1651
+
1652
+
1653
+ export interface Uni {
1654
+ /**
1655
+ * @description 显示消息提示框
1656
+ * @example
1657
+ ```typescript
1658
+ uni.showToast({
1659
+ title: '标题',
1660
+ duration: 2000
1661
+ });
1662
+ ```
1663
+ * @remark
1664
+ * - showLoading 和 showToast 同时只能显示一个
1665
+ * - showToast 应与 hideToast 配对使用
1666
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showtoast
1667
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1668
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#showtoast
1667
1669
  * @uniPlatform {
1668
1670
  * "app": {
1669
1671
  * "android": {
@@ -1683,7 +1685,7 @@ export interface Uni {
1683
1685
  * "osVer": "3.0",
1684
1686
  * "uniVer": "4.23",
1685
1687
  * "unixVer": "4.61",
1686
- * "unixvVer": "5.0"
1688
+ * "unixVaporVer": "5.0"
1687
1689
  * }
1688
1690
  * },
1689
1691
  * "mp": {
@@ -1734,18 +1736,18 @@ export interface Uni {
1734
1736
  * }
1735
1737
  * }
1736
1738
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showToast.html
1737
- */
1738
- showToast(options: ShowToastOptions): void,
1739
-
1740
- /**
1741
- * @description 隐藏消息提示框。
1742
- * @example
1743
- ```typescript
1744
- uni.hideToast();
1745
- ```
1746
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
1747
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1748
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1739
+ */
1740
+ showToast(options: ShowToastOptions): void,
1741
+
1742
+ /**
1743
+ * @description 隐藏消息提示框。
1744
+ * @example
1745
+ ```typescript
1746
+ uni.hideToast();
1747
+ ```
1748
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#hidetoast
1749
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1750
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/prompt.html#hidetoast
1749
1751
  * @uniPlatform {
1750
1752
  * "app": {
1751
1753
  * "android": {
@@ -1765,7 +1767,7 @@ export interface Uni {
1765
1767
  * "osVer": "3.0",
1766
1768
  * "uniVer": "4.23",
1767
1769
  * "unixVer": "4.61",
1768
- * "unixvVer": "5.0"
1770
+ * "unixVaporVer": "5.0"
1769
1771
  * }
1770
1772
  * },
1771
1773
  * "mp": {
@@ -1816,6 +1818,8 @@ export interface Uni {
1816
1818
  * }
1817
1819
  * }
1818
1820
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.hideToast.html
1819
- */
1820
- hideToast(): void,
1821
- }
1821
+ */
1822
+ hideToast(): void,
1823
+
1824
+
1825
+ }