@dcloudio/uni-app-x 0.7.111 → 0.7.113

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