@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,2731 @@
1
+ /**
2
+ * 路由错误码
3
+ * - 4: 框架内部异常
4
+ */
5
+ export type RouteErrorCode = 4
6
+
7
+ /**
8
+ *
9
+ * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
10
+ */
11
+ export type EventChannel = {}
12
+ export type NavigateToSuccess = AsyncApiSuccessResult
13
+ type NavigateToSuccessCallback = (result: NavigateToSuccess) => void
14
+ export interface NavigateToFail extends IUniError {
15
+ errCode: RouteErrorCode
16
+ }
17
+ type NavigateToFailCallback = (result: NavigateToFail) => void
18
+ export type NavigateToComplete = AsyncApiResult
19
+ type NavigateToCompleteCallback = (result: NavigateToComplete) => void
20
+ export type NavigateToOptions = {
21
+ /**
22
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
23
+ * @uniPlatform {
24
+ * "app": {
25
+ * "android": {
26
+ * "osVer": "5.0",
27
+ * "uniVer": "√",
28
+ * "unixVer": "√"
29
+ * },
30
+ * "ios": {
31
+ * "osVer": "12.0",
32
+ * "uniVer": "√",
33
+ * "unixVer": "4.11"
34
+ * },
35
+ * "harmony": {
36
+ * "osVer": "3.0",
37
+ * "uniVer": "4.23",
38
+ * "unixVer": "4.61",
39
+ * "unixVaporVer": "5.0"
40
+ * }
41
+ * },
42
+ * "mp": {
43
+ * "weixin": {
44
+ * "hostVer": "√",
45
+ * "uniVer": "√",
46
+ * "unixVer": "4.41"
47
+ * },
48
+ * "alipay": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "√",
51
+ * "unixVer": "x"
52
+ * },
53
+ * "baidu": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "√",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "toutiao": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "√",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "lark": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "√",
66
+ * "unixVer": "x"
67
+ * },
68
+ * "qq": {
69
+ * "hostVer": "√",
70
+ * "uniVer": "√",
71
+ * "unixVer": "x"
72
+ * },
73
+ * "kuaishou": {
74
+ * "hostVer": "√",
75
+ * "uniVer": "√",
76
+ * "unixVer": "x"
77
+ * },
78
+ * "jd": {
79
+ * "hostVer": "√",
80
+ * "uniVer": "√",
81
+ * "unixVer": "x"
82
+ * }
83
+ * },
84
+ * "web": {
85
+ * "uniVer": "√",
86
+ * "unixVer": "4.0"
87
+ * }
88
+ * }
89
+ */
90
+ url: string | string.PageURIString
91
+ /**
92
+ * 窗口显示的动画类型
93
+ *
94
+ * @uniPlatform {
95
+ * "app": {
96
+ * "android": {
97
+ * "osVer": "5.0",
98
+ * "uniVer": "√",
99
+ * "unixVer": "4.18"
100
+ * },
101
+ * "ios": {
102
+ * "osVer": "12.0",
103
+ * "uniVer": "√",
104
+ * "unixVer": "4.25"
105
+ * },
106
+ * "harmony": {
107
+ * "osVer": "3.0",
108
+ * "uniVer": "4.23",
109
+ * "unixVer": "4.61",
110
+ * "unixVaporVer": "5.0"
111
+ * }
112
+ * },
113
+ * "mp": {
114
+ * "weixin": {
115
+ * "hostVer": "√",
116
+ * "uniVer": "x",
117
+ * "unixVer": "x"
118
+ * },
119
+ * "alipay": {
120
+ * "hostVer": "√",
121
+ * "uniVer": "x",
122
+ * "unixVer": "x"
123
+ * },
124
+ * "baidu": {
125
+ * "hostVer": "√",
126
+ * "uniVer": "x",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "toutiao": {
130
+ * "hostVer": "√",
131
+ * "uniVer": "x",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "lark": {
135
+ * "hostVer": "√",
136
+ * "uniVer": "x",
137
+ * "unixVer": "x"
138
+ * },
139
+ * "qq": {
140
+ * "hostVer": "√",
141
+ * "uniVer": "x",
142
+ * "unixVer": "x"
143
+ * },
144
+ * "kuaishou": {
145
+ * "hostVer": "√",
146
+ * "uniVer": "x",
147
+ * "unixVer": "x"
148
+ * },
149
+ * "jd": {
150
+ * "hostVer": "√",
151
+ * "uniVer": "x",
152
+ * "unixVer": "x"
153
+ * }
154
+ * },
155
+ * "web": {
156
+ * "uniVer": "x",
157
+ * "unixVer": "x"
158
+ * }
159
+ * }
160
+ */
161
+ animationType?:
162
+ /**
163
+ * 自动选择动画效果
164
+ *
165
+ * @uniPlatform {
166
+ * "app": {
167
+ * "android": {
168
+ * "osVer": "5.0",
169
+ * "uniVer": "√",
170
+ * "unixVer": "4.18"
171
+ * },
172
+ * "ios": {
173
+ * "osVer": "12.0",
174
+ * "uniVer": "√",
175
+ * "unixVer": "4.25"
176
+ * },
177
+ * "harmony": {
178
+ * "osVer": "3.0",
179
+ * "uniVer": "4.61",
180
+ * "unixVer": "5.0"
181
+ * }
182
+ * },
183
+ * "web": {
184
+ * "uniVer": "x",
185
+ * "unixVer": "x"
186
+ * }
187
+ * }
188
+ */
189
+ 'auto' |
190
+ /**
191
+ * 无动画效果
192
+ *
193
+ * @uniPlatform {
194
+ * "app": {
195
+ * "android": {
196
+ * "osVer": "5.0",
197
+ * "uniVer": "√",
198
+ * "unixVer": "4.18"
199
+ * },
200
+ * "ios": {
201
+ * "osVer": "12.0",
202
+ * "uniVer": "√",
203
+ * "unixVer": "4.25"
204
+ * },
205
+ * "harmony": {
206
+ * "osVer": "3.0",
207
+ * "uniVer": "4.23",
208
+ * "unixVer": "4.61",
209
+ * "unixVaporVer": "5.0"
210
+ * }
211
+ * },
212
+ * "web": {
213
+ * "uniVer": "x",
214
+ * "unixVer": "x"
215
+ * }
216
+ * }
217
+ */
218
+ 'none' |
219
+ /**
220
+ * 从右侧横向滑动效果
221
+ *
222
+ * @uniPlatform {
223
+ * "app": {
224
+ * "android": {
225
+ * "osVer": "5.0",
226
+ * "uniVer": "√",
227
+ * "unixVer": "4.18"
228
+ * },
229
+ * "ios": {
230
+ * "osVer": "12.0",
231
+ * "uniVer": "√",
232
+ * "unixVer": "4.25"
233
+ * },
234
+ * "harmony": {
235
+ * "osVer": "3.0",
236
+ * "uniVer": "x",
237
+ * "unixVer": "5.0"
238
+ * }
239
+ * },
240
+ * "web": {
241
+ * "uniVer": "x",
242
+ * "unixVer": "x"
243
+ * }
244
+ * }
245
+ */
246
+ 'slide-in-right' |
247
+ /**
248
+ * 从左侧横向滑动效果
249
+ *
250
+ * @uniPlatform {
251
+ * "app": {
252
+ * "android": {
253
+ * "osVer": "5.0",
254
+ * "uniVer": "√",
255
+ * "unixVer": "4.18"
256
+ * },
257
+ * "ios": {
258
+ * "osVer": "12.0",
259
+ * "uniVer": "√",
260
+ * "unixVer": "4.25"
261
+ * },
262
+ * "harmony": {
263
+ * "osVer": "3.0",
264
+ * "uniVer": "x",
265
+ * "unixVer": "5.0"
266
+ * }
267
+ * },
268
+ * "web": {
269
+ * "uniVer": "x",
270
+ * "unixVer": "x"
271
+ * }
272
+ * }
273
+ */
274
+ 'slide-in-left' |
275
+ /**
276
+ * 从上侧竖向滑动效果
277
+ *
278
+ * @uniPlatform {
279
+ * "app": {
280
+ * "android": {
281
+ * "osVer": "5.0",
282
+ * "uniVer": "√",
283
+ * "unixVer": "4.18"
284
+ * },
285
+ * "ios": {
286
+ * "osVer": "12.0",
287
+ * "uniVer": "√",
288
+ * "unixVer": "4.25"
289
+ * },
290
+ * "harmony": {
291
+ * "osVer": "3.0",
292
+ * "uniVer": "x",
293
+ * "unixVer": "5.0"
294
+ * }
295
+ * },
296
+ * "web": {
297
+ * "uniVer": "x",
298
+ * "unixVer": "x"
299
+ * }
300
+ * }
301
+ */
302
+ 'slide-in-top' |
303
+ /**
304
+ * 从下侧竖向滑动效果
305
+ *
306
+ * @uniPlatform {
307
+ * "app": {
308
+ * "android": {
309
+ * "osVer": "5.0",
310
+ * "uniVer": "√",
311
+ * "unixVer": "4.18"
312
+ * },
313
+ * "ios": {
314
+ * "osVer": "12.0",
315
+ * "uniVer": "√",
316
+ * "unixVer": "4.25"
317
+ * },
318
+ * "harmony": {
319
+ * "osVer": "3.0",
320
+ * "uniVer": "x",
321
+ * "unixVer": "5.0"
322
+ * }
323
+ * },
324
+ * "web": {
325
+ * "uniVer": "x",
326
+ * "unixVer": "x"
327
+ * }
328
+ * }
329
+ */
330
+ 'slide-in-bottom' |
331
+ /**
332
+ * 从完全透明到不透明逐渐显示
333
+ *
334
+ * @uniPlatform {
335
+ * "app": {
336
+ * "android": {
337
+ * "osVer": "5.0",
338
+ * "uniVer": "√",
339
+ * "unixVer": "4.18"
340
+ * },
341
+ * "ios": {
342
+ * "osVer": "12.0",
343
+ * "uniVer": "√",
344
+ * "unixVer": "4.25"
345
+ * },
346
+ * "harmony": {
347
+ * "osVer": "3.0",
348
+ * "uniVer": "x",
349
+ * "unixVer": "5.0"
350
+ * }
351
+ * },
352
+ * "web": {
353
+ * "uniVer": "x",
354
+ * "unixVer": "x"
355
+ * }
356
+ * }
357
+ */
358
+ 'fade-in' |
359
+ /**
360
+ * 在屏幕中间从小到大逐渐放大显示
361
+ *
362
+ * @uniPlatform {
363
+ * "app": {
364
+ * "android": {
365
+ * "osVer": "5.0",
366
+ * "uniVer": "√",
367
+ * "unixVer": "4.18"
368
+ * },
369
+ * "ios": {
370
+ * "osVer": "12.0",
371
+ * "uniVer": "√",
372
+ * "unixVer": "4.25"
373
+ * },
374
+ * "harmony": {
375
+ * "osVer": "3.0",
376
+ * "uniVer": "x",
377
+ * "unixVer": "5.0"
378
+ * }
379
+ * },
380
+ * "web": {
381
+ * "uniVer": "x",
382
+ * "unixVer": "x"
383
+ * }
384
+ * }
385
+ */
386
+ 'zoom-out' |
387
+ /**
388
+ * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
389
+ *
390
+ * @uniPlatform {
391
+ * "app": {
392
+ * "android": {
393
+ * "osVer": "5.0",
394
+ * "uniVer": "√",
395
+ * "unixVer": "4.18"
396
+ * },
397
+ * "ios": {
398
+ * "osVer": "12.0",
399
+ * "uniVer": "√",
400
+ * "unixVer": "4.25"
401
+ * },
402
+ * "harmony": {
403
+ * "osVer": "3.0",
404
+ * "uniVer": "x",
405
+ * "unixVer": "5.0"
406
+ * }
407
+ * },
408
+ * "web": {
409
+ * "uniVer": "x",
410
+ * "unixVer": "x"
411
+ * }
412
+ * }
413
+ */
414
+ 'zoom-fade-out' |
415
+ /**
416
+ * 从右侧平移出栈动画效果
417
+ *
418
+ * @uniPlatform {
419
+ * "app": {
420
+ * "android": {
421
+ * "osVer": "5.0",
422
+ * "uniVer": "√",
423
+ * "unixVer": "4.18"
424
+ * },
425
+ * "ios": {
426
+ * "osVer": "12.0",
427
+ * "uniVer": "√",
428
+ * "unixVer": "4.25"
429
+ * },
430
+ * "harmony": {
431
+ * "osVer": "5.0.0",
432
+ * "uniVer": "x",
433
+ * "unixVer": "4.61",
434
+ * "unixVaporVer": "5.0"
435
+ * }
436
+ * },
437
+ * "web": {
438
+ * "uniVer": "x",
439
+ * "unixVer": "x"
440
+ * }
441
+ * }
442
+ */
443
+ 'pop-in' | null
444
+ /**
445
+ * 窗口显示动画的持续时间,单位为 ms
446
+ * @uniPlatform {
447
+ * "app": {
448
+ * "android": {
449
+ * "osVer": "5.0",
450
+ * "uniVer": "√",
451
+ * "unixVer": "x"
452
+ * },
453
+ * "ios": {
454
+ * "osVer": "12.0",
455
+ * "uniVer": "√",
456
+ * "unixVer": "x"
457
+ * },
458
+ * "harmony": {
459
+ * "osVer": "3.0",
460
+ * "uniVer": "4.23",
461
+ * "unixVer": "x",
462
+ * "unixVaporVer": "5.0"
463
+ * }
464
+ * },
465
+ * "mp": {
466
+ * "weixin": {
467
+ * "hostVer": "√",
468
+ * "uniVer": "x",
469
+ * "unixVer": "x"
470
+ * },
471
+ * "alipay": {
472
+ * "hostVer": "√",
473
+ * "uniVer": "x",
474
+ * "unixVer": "x"
475
+ * },
476
+ * "baidu": {
477
+ * "hostVer": "√",
478
+ * "uniVer": "x",
479
+ * "unixVer": "x"
480
+ * },
481
+ * "toutiao": {
482
+ * "hostVer": "√",
483
+ * "uniVer": "x",
484
+ * "unixVer": "x"
485
+ * },
486
+ * "lark": {
487
+ * "hostVer": "√",
488
+ * "uniVer": "x",
489
+ * "unixVer": "x"
490
+ * },
491
+ * "qq": {
492
+ * "hostVer": "√",
493
+ * "uniVer": "x",
494
+ * "unixVer": "x"
495
+ * },
496
+ * "kuaishou": {
497
+ * "hostVer": "√",
498
+ * "uniVer": "x",
499
+ * "unixVer": "x"
500
+ * },
501
+ * "jd": {
502
+ * "hostVer": "√",
503
+ * "uniVer": "x",
504
+ * "unixVer": "x"
505
+ * }
506
+ * },
507
+ * "web": {
508
+ * "uniVer": "x",
509
+ * "unixVer": "x"
510
+ * }
511
+ * }
512
+ */
513
+ animationDuration?: number | null
514
+ /**
515
+ * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
516
+ * @uniPlatform {
517
+ * "app": {
518
+ * "android": {
519
+ * "osVer": "5.0",
520
+ * "uniVer": "√",
521
+ * "unixVer": "x"
522
+ * },
523
+ * "ios": {
524
+ * "osVer": "12.0",
525
+ * "uniVer": "√",
526
+ * "unixVer": "x"
527
+ * },
528
+ * "harmony": {
529
+ * "osVer": "3.0",
530
+ * "uniVer": "4.23",
531
+ * "unixVer": "4.61",
532
+ * "unixVaporVer": "5.0"
533
+ * }
534
+ * },
535
+ * "mp": {
536
+ * "weixin": {
537
+ * "hostVer": "√",
538
+ * "uniVer": "√",
539
+ * "unixVer": "4.41"
540
+ * },
541
+ * "alipay": {
542
+ * "hostVer": "√",
543
+ * "uniVer": "√",
544
+ * "unixVer": "x"
545
+ * },
546
+ * "baidu": {
547
+ * "hostVer": "√",
548
+ * "uniVer": "√",
549
+ * "unixVer": "x"
550
+ * },
551
+ * "toutiao": {
552
+ * "hostVer": "√",
553
+ * "uniVer": "√",
554
+ * "unixVer": "x"
555
+ * },
556
+ * "lark": {
557
+ * "hostVer": "√",
558
+ * "uniVer": "√",
559
+ * "unixVer": "x"
560
+ * },
561
+ * "qq": {
562
+ * "hostVer": "√",
563
+ * "uniVer": "√",
564
+ * "unixVer": "x"
565
+ * },
566
+ * "kuaishou": {
567
+ * "hostVer": "√",
568
+ * "uniVer": "√",
569
+ * "unixVer": "x"
570
+ * },
571
+ * "jd": {
572
+ * "hostVer": "√",
573
+ * "uniVer": "√",
574
+ * "unixVer": "x"
575
+ * }
576
+ * },
577
+ * "web": {
578
+ * "uniVer": "√",
579
+ * "unixVer": "4.0"
580
+ * }
581
+ * }
582
+ */
583
+ events?: any | null
584
+ /**
585
+ * 接口调用成功的回调函数
586
+ * @uniPlatform {
587
+ * "app": {
588
+ * "android": {
589
+ * "osVer": "5.0",
590
+ * "uniVer": "√",
591
+ * "unixVer": "√"
592
+ * },
593
+ * "ios": {
594
+ * "osVer": "12.0",
595
+ * "uniVer": "√",
596
+ * "unixVer": "4.11"
597
+ * },
598
+ * "harmony": {
599
+ * "osVer": "3.0",
600
+ * "uniVer": "4.23",
601
+ * "unixVer": "4.61",
602
+ * "unixVaporVer": "5.0"
603
+ * }
604
+ * },
605
+ * "mp": {
606
+ * "weixin": {
607
+ * "hostVer": "√",
608
+ * "uniVer": "√",
609
+ * "unixVer": "4.41"
610
+ * },
611
+ * "alipay": {
612
+ * "hostVer": "√",
613
+ * "uniVer": "√",
614
+ * "unixVer": "x"
615
+ * },
616
+ * "baidu": {
617
+ * "hostVer": "√",
618
+ * "uniVer": "√",
619
+ * "unixVer": "x"
620
+ * },
621
+ * "toutiao": {
622
+ * "hostVer": "√",
623
+ * "uniVer": "√",
624
+ * "unixVer": "x"
625
+ * },
626
+ * "lark": {
627
+ * "hostVer": "√",
628
+ * "uniVer": "√",
629
+ * "unixVer": "x"
630
+ * },
631
+ * "qq": {
632
+ * "hostVer": "√",
633
+ * "uniVer": "√",
634
+ * "unixVer": "x"
635
+ * },
636
+ * "kuaishou": {
637
+ * "hostVer": "√",
638
+ * "uniVer": "√",
639
+ * "unixVer": "x"
640
+ * },
641
+ * "jd": {
642
+ * "hostVer": "√",
643
+ * "uniVer": "√",
644
+ * "unixVer": "x"
645
+ * }
646
+ * },
647
+ * "web": {
648
+ * "uniVer": "√",
649
+ * "unixVer": "4.0"
650
+ * }
651
+ * }
652
+ */
653
+ success?: NavigateToSuccessCallback | null
654
+ /**
655
+ * 接口调用失败的回调函数
656
+ * @uniPlatform {
657
+ * "app": {
658
+ * "android": {
659
+ * "osVer": "5.0",
660
+ * "uniVer": "√",
661
+ * "unixVer": "√"
662
+ * },
663
+ * "ios": {
664
+ * "osVer": "12.0",
665
+ * "uniVer": "√",
666
+ * "unixVer": "4.11"
667
+ * },
668
+ * "harmony": {
669
+ * "osVer": "3.0",
670
+ * "uniVer": "4.23",
671
+ * "unixVer": "4.61",
672
+ * "unixVaporVer": "5.0"
673
+ * }
674
+ * },
675
+ * "mp": {
676
+ * "weixin": {
677
+ * "hostVer": "√",
678
+ * "uniVer": "√",
679
+ * "unixVer": "4.41"
680
+ * },
681
+ * "alipay": {
682
+ * "hostVer": "√",
683
+ * "uniVer": "√",
684
+ * "unixVer": "x"
685
+ * },
686
+ * "baidu": {
687
+ * "hostVer": "√",
688
+ * "uniVer": "√",
689
+ * "unixVer": "x"
690
+ * },
691
+ * "toutiao": {
692
+ * "hostVer": "√",
693
+ * "uniVer": "√",
694
+ * "unixVer": "x"
695
+ * },
696
+ * "lark": {
697
+ * "hostVer": "√",
698
+ * "uniVer": "√",
699
+ * "unixVer": "x"
700
+ * },
701
+ * "qq": {
702
+ * "hostVer": "√",
703
+ * "uniVer": "√",
704
+ * "unixVer": "x"
705
+ * },
706
+ * "kuaishou": {
707
+ * "hostVer": "√",
708
+ * "uniVer": "√",
709
+ * "unixVer": "x"
710
+ * },
711
+ * "jd": {
712
+ * "hostVer": "√",
713
+ * "uniVer": "√",
714
+ * "unixVer": "x"
715
+ * }
716
+ * },
717
+ * "web": {
718
+ * "uniVer": "√",
719
+ * "unixVer": "4.0"
720
+ * }
721
+ * }
722
+ */
723
+ fail?: NavigateToFailCallback | null
724
+ /**
725
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
726
+ * @uniPlatform {
727
+ * "app": {
728
+ * "android": {
729
+ * "osVer": "5.0",
730
+ * "uniVer": "√",
731
+ * "unixVer": "√"
732
+ * },
733
+ * "ios": {
734
+ * "osVer": "12.0",
735
+ * "uniVer": "√",
736
+ * "unixVer": "4.11"
737
+ * },
738
+ * "harmony": {
739
+ * "osVer": "3.0",
740
+ * "uniVer": "4.23",
741
+ * "unixVer": "4.61",
742
+ * "unixVaporVer": "5.0"
743
+ * }
744
+ * },
745
+ * "mp": {
746
+ * "weixin": {
747
+ * "hostVer": "√",
748
+ * "uniVer": "√",
749
+ * "unixVer": "4.41"
750
+ * },
751
+ * "alipay": {
752
+ * "hostVer": "√",
753
+ * "uniVer": "√",
754
+ * "unixVer": "x"
755
+ * },
756
+ * "baidu": {
757
+ * "hostVer": "√",
758
+ * "uniVer": "√",
759
+ * "unixVer": "x"
760
+ * },
761
+ * "toutiao": {
762
+ * "hostVer": "√",
763
+ * "uniVer": "√",
764
+ * "unixVer": "x"
765
+ * },
766
+ * "lark": {
767
+ * "hostVer": "√",
768
+ * "uniVer": "√",
769
+ * "unixVer": "x"
770
+ * },
771
+ * "qq": {
772
+ * "hostVer": "√",
773
+ * "uniVer": "√",
774
+ * "unixVer": "x"
775
+ * },
776
+ * "kuaishou": {
777
+ * "hostVer": "√",
778
+ * "uniVer": "√",
779
+ * "unixVer": "x"
780
+ * },
781
+ * "jd": {
782
+ * "hostVer": "√",
783
+ * "uniVer": "√",
784
+ * "unixVer": "x"
785
+ * }
786
+ * },
787
+ * "web": {
788
+ * "uniVer": "√",
789
+ * "unixVer": "4.0"
790
+ * }
791
+ * }
792
+ */
793
+ complete?: NavigateToCompleteCallback | null
794
+ }
795
+ export type RedirectToSuccess = AsyncApiSuccessResult
796
+ type RedirectToSuccessCallback = (result: RedirectToSuccess) => void
797
+ export interface RedirectToFail extends IUniError {
798
+ errCode: RouteErrorCode
799
+ }
800
+ type RedirectToFailCallback = (result: RedirectToFail) => void
801
+ export type RedirectToComplete = AsyncApiResult
802
+ type RedirectToCompleteCallback = (result: RedirectToComplete) => void
803
+ export type RedirectToOptions = {
804
+ /**
805
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
806
+ * @uniPlatform {
807
+ * "app": {
808
+ * "android": {
809
+ * "osVer": "5.0",
810
+ * "uniVer": "√",
811
+ * "unixVer": "√"
812
+ * },
813
+ * "ios": {
814
+ * "osVer": "12.0",
815
+ * "uniVer": "√",
816
+ * "unixVer": "4.11"
817
+ * },
818
+ * "harmony": {
819
+ * "osVer": "3.0",
820
+ * "uniVer": "4.23",
821
+ * "unixVer": "4.61",
822
+ * "unixVaporVer": "5.0"
823
+ * }
824
+ * },
825
+ * "mp": {
826
+ * "weixin": {
827
+ * "hostVer": "√",
828
+ * "uniVer": "√",
829
+ * "unixVer": "4.41"
830
+ * },
831
+ * "alipay": {
832
+ * "hostVer": "√",
833
+ * "uniVer": "√",
834
+ * "unixVer": "x"
835
+ * },
836
+ * "baidu": {
837
+ * "hostVer": "√",
838
+ * "uniVer": "√",
839
+ * "unixVer": "x"
840
+ * },
841
+ * "toutiao": {
842
+ * "hostVer": "√",
843
+ * "uniVer": "√",
844
+ * "unixVer": "x"
845
+ * },
846
+ * "lark": {
847
+ * "hostVer": "√",
848
+ * "uniVer": "√",
849
+ * "unixVer": "x"
850
+ * },
851
+ * "qq": {
852
+ * "hostVer": "√",
853
+ * "uniVer": "√",
854
+ * "unixVer": "x"
855
+ * },
856
+ * "kuaishou": {
857
+ * "hostVer": "√",
858
+ * "uniVer": "√",
859
+ * "unixVer": "x"
860
+ * },
861
+ * "jd": {
862
+ * "hostVer": "√",
863
+ * "uniVer": "√",
864
+ * "unixVer": "x"
865
+ * }
866
+ * },
867
+ * "web": {
868
+ * "uniVer": "√",
869
+ * "unixVer": "4.0"
870
+ * }
871
+ * }
872
+ */
873
+ url: string | string.PageURIString
874
+ /**
875
+ * 接口调用成功的回调函数
876
+ * @uniPlatform {
877
+ * "app": {
878
+ * "android": {
879
+ * "osVer": "5.0",
880
+ * "uniVer": "√",
881
+ * "unixVer": "√"
882
+ * },
883
+ * "ios": {
884
+ * "osVer": "12.0",
885
+ * "uniVer": "√",
886
+ * "unixVer": "4.11"
887
+ * },
888
+ * "harmony": {
889
+ * "osVer": "3.0",
890
+ * "uniVer": "4.23",
891
+ * "unixVer": "4.61",
892
+ * "unixVaporVer": "5.0"
893
+ * }
894
+ * },
895
+ * "mp": {
896
+ * "weixin": {
897
+ * "hostVer": "√",
898
+ * "uniVer": "√",
899
+ * "unixVer": "4.41"
900
+ * },
901
+ * "alipay": {
902
+ * "hostVer": "√",
903
+ * "uniVer": "√",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "baidu": {
907
+ * "hostVer": "√",
908
+ * "uniVer": "√",
909
+ * "unixVer": "x"
910
+ * },
911
+ * "toutiao": {
912
+ * "hostVer": "√",
913
+ * "uniVer": "√",
914
+ * "unixVer": "x"
915
+ * },
916
+ * "lark": {
917
+ * "hostVer": "√",
918
+ * "uniVer": "√",
919
+ * "unixVer": "x"
920
+ * },
921
+ * "qq": {
922
+ * "hostVer": "√",
923
+ * "uniVer": "√",
924
+ * "unixVer": "x"
925
+ * },
926
+ * "kuaishou": {
927
+ * "hostVer": "√",
928
+ * "uniVer": "√",
929
+ * "unixVer": "x"
930
+ * },
931
+ * "jd": {
932
+ * "hostVer": "√",
933
+ * "uniVer": "√",
934
+ * "unixVer": "x"
935
+ * }
936
+ * },
937
+ * "web": {
938
+ * "uniVer": "√",
939
+ * "unixVer": "4.0"
940
+ * }
941
+ * }
942
+ */
943
+ success?: RedirectToSuccessCallback | null
944
+ /**
945
+ * 接口调用失败的回调函数
946
+ * @uniPlatform {
947
+ * "app": {
948
+ * "android": {
949
+ * "osVer": "5.0",
950
+ * "uniVer": "√",
951
+ * "unixVer": "√"
952
+ * },
953
+ * "ios": {
954
+ * "osVer": "12.0",
955
+ * "uniVer": "√",
956
+ * "unixVer": "4.11"
957
+ * },
958
+ * "harmony": {
959
+ * "osVer": "3.0",
960
+ * "uniVer": "4.23",
961
+ * "unixVer": "4.61",
962
+ * "unixVaporVer": "5.0"
963
+ * }
964
+ * },
965
+ * "mp": {
966
+ * "weixin": {
967
+ * "hostVer": "√",
968
+ * "uniVer": "√",
969
+ * "unixVer": "4.41"
970
+ * },
971
+ * "alipay": {
972
+ * "hostVer": "√",
973
+ * "uniVer": "√",
974
+ * "unixVer": "x"
975
+ * },
976
+ * "baidu": {
977
+ * "hostVer": "√",
978
+ * "uniVer": "√",
979
+ * "unixVer": "x"
980
+ * },
981
+ * "toutiao": {
982
+ * "hostVer": "√",
983
+ * "uniVer": "√",
984
+ * "unixVer": "x"
985
+ * },
986
+ * "lark": {
987
+ * "hostVer": "√",
988
+ * "uniVer": "√",
989
+ * "unixVer": "x"
990
+ * },
991
+ * "qq": {
992
+ * "hostVer": "√",
993
+ * "uniVer": "√",
994
+ * "unixVer": "x"
995
+ * },
996
+ * "kuaishou": {
997
+ * "hostVer": "√",
998
+ * "uniVer": "√",
999
+ * "unixVer": "x"
1000
+ * },
1001
+ * "jd": {
1002
+ * "hostVer": "√",
1003
+ * "uniVer": "√",
1004
+ * "unixVer": "x"
1005
+ * }
1006
+ * },
1007
+ * "web": {
1008
+ * "uniVer": "√",
1009
+ * "unixVer": "4.0"
1010
+ * }
1011
+ * }
1012
+ */
1013
+ fail?: RedirectToFailCallback | null
1014
+ /**
1015
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1016
+ * @uniPlatform {
1017
+ * "app": {
1018
+ * "android": {
1019
+ * "osVer": "5.0",
1020
+ * "uniVer": "√",
1021
+ * "unixVer": "√"
1022
+ * },
1023
+ * "ios": {
1024
+ * "osVer": "12.0",
1025
+ * "uniVer": "√",
1026
+ * "unixVer": "4.11"
1027
+ * },
1028
+ * "harmony": {
1029
+ * "osVer": "3.0",
1030
+ * "uniVer": "4.23",
1031
+ * "unixVer": "4.61",
1032
+ * "unixVaporVer": "5.0"
1033
+ * }
1034
+ * },
1035
+ * "mp": {
1036
+ * "weixin": {
1037
+ * "hostVer": "√",
1038
+ * "uniVer": "√",
1039
+ * "unixVer": "4.41"
1040
+ * },
1041
+ * "alipay": {
1042
+ * "hostVer": "√",
1043
+ * "uniVer": "√",
1044
+ * "unixVer": "x"
1045
+ * },
1046
+ * "baidu": {
1047
+ * "hostVer": "√",
1048
+ * "uniVer": "√",
1049
+ * "unixVer": "x"
1050
+ * },
1051
+ * "toutiao": {
1052
+ * "hostVer": "√",
1053
+ * "uniVer": "√",
1054
+ * "unixVer": "x"
1055
+ * },
1056
+ * "lark": {
1057
+ * "hostVer": "√",
1058
+ * "uniVer": "√",
1059
+ * "unixVer": "x"
1060
+ * },
1061
+ * "qq": {
1062
+ * "hostVer": "√",
1063
+ * "uniVer": "√",
1064
+ * "unixVer": "x"
1065
+ * },
1066
+ * "kuaishou": {
1067
+ * "hostVer": "√",
1068
+ * "uniVer": "√",
1069
+ * "unixVer": "x"
1070
+ * },
1071
+ * "jd": {
1072
+ * "hostVer": "√",
1073
+ * "uniVer": "√",
1074
+ * "unixVer": "x"
1075
+ * }
1076
+ * },
1077
+ * "web": {
1078
+ * "uniVer": "√",
1079
+ * "unixVer": "4.0"
1080
+ * }
1081
+ * }
1082
+ */
1083
+ complete?: RedirectToCompleteCallback | null
1084
+ }
1085
+ export type ReLaunchSuccess = AsyncApiSuccessResult
1086
+ type ReLaunchSuccessCallback = (result: ReLaunchSuccess) => void
1087
+ export interface ReLaunchFail extends IUniError {
1088
+ errCode: RouteErrorCode
1089
+ }
1090
+ type ReLaunchFailCallback = (result: ReLaunchFail) => void
1091
+ export type ReLaunchComplete = AsyncApiResult
1092
+ type ReLaunchCompleteCallback = (result: ReLaunchComplete) => void
1093
+ export type ReLaunchOptions = {
1094
+ /**
1095
+ * 需要跳转的应用内页面路径 , 路径后可以带参数。参数与路径之间使用?分隔,参数键与参数值用=相连,不同参数用&分隔;如 'path?key=value&key2=value2',如果跳转的页面路径是 tabBar 页面则不能带参数
1096
+ * @uniPlatform {
1097
+ * "app": {
1098
+ * "android": {
1099
+ * "osVer": "5.0",
1100
+ * "uniVer": "√",
1101
+ * "unixVer": "√"
1102
+ * },
1103
+ * "ios": {
1104
+ * "osVer": "12.0",
1105
+ * "uniVer": "√",
1106
+ * "unixVer": "4.11"
1107
+ * },
1108
+ * "harmony": {
1109
+ * "osVer": "3.0",
1110
+ * "uniVer": "4.23",
1111
+ * "unixVer": "4.61",
1112
+ * "unixVaporVer": "5.0"
1113
+ * }
1114
+ * },
1115
+ * "mp": {
1116
+ * "weixin": {
1117
+ * "hostVer": "√",
1118
+ * "uniVer": "√",
1119
+ * "unixVer": "4.41"
1120
+ * },
1121
+ * "alipay": {
1122
+ * "hostVer": "√",
1123
+ * "uniVer": "√",
1124
+ * "unixVer": "x"
1125
+ * },
1126
+ * "baidu": {
1127
+ * "hostVer": "√",
1128
+ * "uniVer": "√",
1129
+ * "unixVer": "x"
1130
+ * },
1131
+ * "toutiao": {
1132
+ * "hostVer": "√",
1133
+ * "uniVer": "√",
1134
+ * "unixVer": "x"
1135
+ * },
1136
+ * "lark": {
1137
+ * "hostVer": "√",
1138
+ * "uniVer": "√",
1139
+ * "unixVer": "x"
1140
+ * },
1141
+ * "qq": {
1142
+ * "hostVer": "√",
1143
+ * "uniVer": "√",
1144
+ * "unixVer": "x"
1145
+ * },
1146
+ * "kuaishou": {
1147
+ * "hostVer": "√",
1148
+ * "uniVer": "√",
1149
+ * "unixVer": "x"
1150
+ * },
1151
+ * "jd": {
1152
+ * "hostVer": "√",
1153
+ * "uniVer": "√",
1154
+ * "unixVer": "x"
1155
+ * }
1156
+ * },
1157
+ * "web": {
1158
+ * "uniVer": "√",
1159
+ * "unixVer": "4.0"
1160
+ * }
1161
+ * }
1162
+ */
1163
+ url: string | string.PageURIString
1164
+ /**
1165
+ * 接口调用成功的回调函数
1166
+ * @uniPlatform {
1167
+ * "app": {
1168
+ * "android": {
1169
+ * "osVer": "5.0",
1170
+ * "uniVer": "√",
1171
+ * "unixVer": "√"
1172
+ * },
1173
+ * "ios": {
1174
+ * "osVer": "12.0",
1175
+ * "uniVer": "√",
1176
+ * "unixVer": "4.11"
1177
+ * },
1178
+ * "harmony": {
1179
+ * "osVer": "3.0",
1180
+ * "uniVer": "4.23",
1181
+ * "unixVer": "4.61",
1182
+ * "unixVaporVer": "5.0"
1183
+ * }
1184
+ * },
1185
+ * "mp": {
1186
+ * "weixin": {
1187
+ * "hostVer": "√",
1188
+ * "uniVer": "√",
1189
+ * "unixVer": "4.41"
1190
+ * },
1191
+ * "alipay": {
1192
+ * "hostVer": "√",
1193
+ * "uniVer": "√",
1194
+ * "unixVer": "x"
1195
+ * },
1196
+ * "baidu": {
1197
+ * "hostVer": "√",
1198
+ * "uniVer": "√",
1199
+ * "unixVer": "x"
1200
+ * },
1201
+ * "toutiao": {
1202
+ * "hostVer": "√",
1203
+ * "uniVer": "√",
1204
+ * "unixVer": "x"
1205
+ * },
1206
+ * "lark": {
1207
+ * "hostVer": "√",
1208
+ * "uniVer": "√",
1209
+ * "unixVer": "x"
1210
+ * },
1211
+ * "qq": {
1212
+ * "hostVer": "√",
1213
+ * "uniVer": "√",
1214
+ * "unixVer": "x"
1215
+ * },
1216
+ * "kuaishou": {
1217
+ * "hostVer": "√",
1218
+ * "uniVer": "√",
1219
+ * "unixVer": "x"
1220
+ * },
1221
+ * "jd": {
1222
+ * "hostVer": "√",
1223
+ * "uniVer": "√",
1224
+ * "unixVer": "x"
1225
+ * }
1226
+ * },
1227
+ * "web": {
1228
+ * "uniVer": "√",
1229
+ * "unixVer": "4.0"
1230
+ * }
1231
+ * }
1232
+ */
1233
+ success?: ReLaunchSuccessCallback | null
1234
+ /**
1235
+ * 接口调用失败的回调函数
1236
+ * @uniPlatform {
1237
+ * "app": {
1238
+ * "android": {
1239
+ * "osVer": "5.0",
1240
+ * "uniVer": "√",
1241
+ * "unixVer": "√"
1242
+ * },
1243
+ * "ios": {
1244
+ * "osVer": "12.0",
1245
+ * "uniVer": "√",
1246
+ * "unixVer": "4.11"
1247
+ * },
1248
+ * "harmony": {
1249
+ * "osVer": "3.0",
1250
+ * "uniVer": "4.23",
1251
+ * "unixVer": "4.61",
1252
+ * "unixVaporVer": "5.0"
1253
+ * }
1254
+ * },
1255
+ * "mp": {
1256
+ * "weixin": {
1257
+ * "hostVer": "√",
1258
+ * "uniVer": "√",
1259
+ * "unixVer": "4.41"
1260
+ * },
1261
+ * "alipay": {
1262
+ * "hostVer": "√",
1263
+ * "uniVer": "√",
1264
+ * "unixVer": "x"
1265
+ * },
1266
+ * "baidu": {
1267
+ * "hostVer": "√",
1268
+ * "uniVer": "√",
1269
+ * "unixVer": "x"
1270
+ * },
1271
+ * "toutiao": {
1272
+ * "hostVer": "√",
1273
+ * "uniVer": "√",
1274
+ * "unixVer": "x"
1275
+ * },
1276
+ * "lark": {
1277
+ * "hostVer": "√",
1278
+ * "uniVer": "√",
1279
+ * "unixVer": "x"
1280
+ * },
1281
+ * "qq": {
1282
+ * "hostVer": "√",
1283
+ * "uniVer": "√",
1284
+ * "unixVer": "x"
1285
+ * },
1286
+ * "kuaishou": {
1287
+ * "hostVer": "√",
1288
+ * "uniVer": "√",
1289
+ * "unixVer": "x"
1290
+ * },
1291
+ * "jd": {
1292
+ * "hostVer": "√",
1293
+ * "uniVer": "√",
1294
+ * "unixVer": "x"
1295
+ * }
1296
+ * },
1297
+ * "web": {
1298
+ * "uniVer": "√",
1299
+ * "unixVer": "4.0"
1300
+ * }
1301
+ * }
1302
+ */
1303
+ fail?: ReLaunchFailCallback | null
1304
+ /**
1305
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1306
+ * @uniPlatform {
1307
+ * "app": {
1308
+ * "android": {
1309
+ * "osVer": "5.0",
1310
+ * "uniVer": "√",
1311
+ * "unixVer": "√"
1312
+ * },
1313
+ * "ios": {
1314
+ * "osVer": "12.0",
1315
+ * "uniVer": "√",
1316
+ * "unixVer": "4.11"
1317
+ * },
1318
+ * "harmony": {
1319
+ * "osVer": "3.0",
1320
+ * "uniVer": "4.23",
1321
+ * "unixVer": "4.61",
1322
+ * "unixVaporVer": "5.0"
1323
+ * }
1324
+ * },
1325
+ * "mp": {
1326
+ * "weixin": {
1327
+ * "hostVer": "√",
1328
+ * "uniVer": "√",
1329
+ * "unixVer": "4.41"
1330
+ * },
1331
+ * "alipay": {
1332
+ * "hostVer": "√",
1333
+ * "uniVer": "√",
1334
+ * "unixVer": "x"
1335
+ * },
1336
+ * "baidu": {
1337
+ * "hostVer": "√",
1338
+ * "uniVer": "√",
1339
+ * "unixVer": "x"
1340
+ * },
1341
+ * "toutiao": {
1342
+ * "hostVer": "√",
1343
+ * "uniVer": "√",
1344
+ * "unixVer": "x"
1345
+ * },
1346
+ * "lark": {
1347
+ * "hostVer": "√",
1348
+ * "uniVer": "√",
1349
+ * "unixVer": "x"
1350
+ * },
1351
+ * "qq": {
1352
+ * "hostVer": "√",
1353
+ * "uniVer": "√",
1354
+ * "unixVer": "x"
1355
+ * },
1356
+ * "kuaishou": {
1357
+ * "hostVer": "√",
1358
+ * "uniVer": "√",
1359
+ * "unixVer": "x"
1360
+ * },
1361
+ * "jd": {
1362
+ * "hostVer": "√",
1363
+ * "uniVer": "√",
1364
+ * "unixVer": "x"
1365
+ * }
1366
+ * },
1367
+ * "web": {
1368
+ * "uniVer": "√",
1369
+ * "unixVer": "4.0"
1370
+ * }
1371
+ * }
1372
+ */
1373
+ complete?: ReLaunchCompleteCallback | null
1374
+ }
1375
+ export type SwitchTabSuccess = AsyncApiSuccessResult
1376
+ export type SwitchTabSuccessCallback = (result: SwitchTabSuccess) => void
1377
+
1378
+ export interface SwitchTabFail extends IUniError {
1379
+ errCode: RouteErrorCode
1380
+ }
1381
+
1382
+ export type SwitchTabFailCallback = (result: SwitchTabFail) => void
1383
+ export type SwitchTabComplete = AsyncApiResult
1384
+ export type SwitchTabCompleteCallback = (result: SwitchTabComplete) => void
1385
+ export type SwitchTabOptions = {
1386
+ /**
1387
+ * 需要跳转的 tabBar 页面的路径,路径后不能带参数
1388
+ * @uniPlatform {
1389
+ * "app": {
1390
+ * "android": {
1391
+ * "osVer": "5.0",
1392
+ * "uniVer": "√",
1393
+ * "unixVer": "√"
1394
+ * },
1395
+ * "ios": {
1396
+ * "osVer": "12.0",
1397
+ * "uniVer": "√",
1398
+ * "unixVer": "4.11"
1399
+ * },
1400
+ * "harmony": {
1401
+ * "osVer": "3.0",
1402
+ * "uniVer": "4.23",
1403
+ * "unixVer": "4.61",
1404
+ * "unixVaporVer": "5.0"
1405
+ * }
1406
+ * },
1407
+ * "mp": {
1408
+ * "weixin": {
1409
+ * "hostVer": "√",
1410
+ * "uniVer": "√",
1411
+ * "unixVer": "4.41"
1412
+ * },
1413
+ * "alipay": {
1414
+ * "hostVer": "√",
1415
+ * "uniVer": "√",
1416
+ * "unixVer": "x"
1417
+ * },
1418
+ * "baidu": {
1419
+ * "hostVer": "√",
1420
+ * "uniVer": "√",
1421
+ * "unixVer": "x"
1422
+ * },
1423
+ * "toutiao": {
1424
+ * "hostVer": "√",
1425
+ * "uniVer": "√",
1426
+ * "unixVer": "x"
1427
+ * },
1428
+ * "lark": {
1429
+ * "hostVer": "√",
1430
+ * "uniVer": "√",
1431
+ * "unixVer": "x"
1432
+ * },
1433
+ * "qq": {
1434
+ * "hostVer": "√",
1435
+ * "uniVer": "√",
1436
+ * "unixVer": "x"
1437
+ * },
1438
+ * "kuaishou": {
1439
+ * "hostVer": "√",
1440
+ * "uniVer": "√",
1441
+ * "unixVer": "x"
1442
+ * },
1443
+ * "jd": {
1444
+ * "hostVer": "√",
1445
+ * "uniVer": "√",
1446
+ * "unixVer": "x"
1447
+ * }
1448
+ * },
1449
+ * "web": {
1450
+ * "uniVer": "√",
1451
+ * "unixVer": "4.0"
1452
+ * }
1453
+ * }
1454
+ */
1455
+ url: string | string.PageURIString
1456
+ /**
1457
+ * 接口调用成功的回调函数
1458
+ * @uniPlatform {
1459
+ * "app": {
1460
+ * "android": {
1461
+ * "osVer": "5.0",
1462
+ * "uniVer": "√",
1463
+ * "unixVer": "√"
1464
+ * },
1465
+ * "ios": {
1466
+ * "osVer": "12.0",
1467
+ * "uniVer": "√",
1468
+ * "unixVer": "4.11"
1469
+ * },
1470
+ * "harmony": {
1471
+ * "osVer": "3.0",
1472
+ * "uniVer": "4.23",
1473
+ * "unixVer": "4.61",
1474
+ * "unixVaporVer": "5.0"
1475
+ * }
1476
+ * },
1477
+ * "mp": {
1478
+ * "weixin": {
1479
+ * "hostVer": "√",
1480
+ * "uniVer": "√",
1481
+ * "unixVer": "4.41"
1482
+ * },
1483
+ * "alipay": {
1484
+ * "hostVer": "√",
1485
+ * "uniVer": "√",
1486
+ * "unixVer": "x"
1487
+ * },
1488
+ * "baidu": {
1489
+ * "hostVer": "√",
1490
+ * "uniVer": "√",
1491
+ * "unixVer": "x"
1492
+ * },
1493
+ * "toutiao": {
1494
+ * "hostVer": "√",
1495
+ * "uniVer": "√",
1496
+ * "unixVer": "x"
1497
+ * },
1498
+ * "lark": {
1499
+ * "hostVer": "√",
1500
+ * "uniVer": "√",
1501
+ * "unixVer": "x"
1502
+ * },
1503
+ * "qq": {
1504
+ * "hostVer": "√",
1505
+ * "uniVer": "√",
1506
+ * "unixVer": "x"
1507
+ * },
1508
+ * "kuaishou": {
1509
+ * "hostVer": "√",
1510
+ * "uniVer": "√",
1511
+ * "unixVer": "x"
1512
+ * },
1513
+ * "jd": {
1514
+ * "hostVer": "√",
1515
+ * "uniVer": "√",
1516
+ * "unixVer": "x"
1517
+ * }
1518
+ * },
1519
+ * "web": {
1520
+ * "uniVer": "√",
1521
+ * "unixVer": "4.0"
1522
+ * }
1523
+ * }
1524
+ */
1525
+ success?: SwitchTabSuccessCallback | null
1526
+ /**
1527
+ * 接口调用失败的回调函数
1528
+ * @uniPlatform {
1529
+ * "app": {
1530
+ * "android": {
1531
+ * "osVer": "5.0",
1532
+ * "uniVer": "√",
1533
+ * "unixVer": "√"
1534
+ * },
1535
+ * "ios": {
1536
+ * "osVer": "12.0",
1537
+ * "uniVer": "√",
1538
+ * "unixVer": "4.11"
1539
+ * },
1540
+ * "harmony": {
1541
+ * "osVer": "3.0",
1542
+ * "uniVer": "4.23",
1543
+ * "unixVer": "4.61",
1544
+ * "unixVaporVer": "5.0"
1545
+ * }
1546
+ * },
1547
+ * "mp": {
1548
+ * "weixin": {
1549
+ * "hostVer": "√",
1550
+ * "uniVer": "√",
1551
+ * "unixVer": "4.41"
1552
+ * },
1553
+ * "alipay": {
1554
+ * "hostVer": "√",
1555
+ * "uniVer": "√",
1556
+ * "unixVer": "x"
1557
+ * },
1558
+ * "baidu": {
1559
+ * "hostVer": "√",
1560
+ * "uniVer": "√",
1561
+ * "unixVer": "x"
1562
+ * },
1563
+ * "toutiao": {
1564
+ * "hostVer": "√",
1565
+ * "uniVer": "√",
1566
+ * "unixVer": "x"
1567
+ * },
1568
+ * "lark": {
1569
+ * "hostVer": "√",
1570
+ * "uniVer": "√",
1571
+ * "unixVer": "x"
1572
+ * },
1573
+ * "qq": {
1574
+ * "hostVer": "√",
1575
+ * "uniVer": "√",
1576
+ * "unixVer": "x"
1577
+ * },
1578
+ * "kuaishou": {
1579
+ * "hostVer": "√",
1580
+ * "uniVer": "√",
1581
+ * "unixVer": "x"
1582
+ * },
1583
+ * "jd": {
1584
+ * "hostVer": "√",
1585
+ * "uniVer": "√",
1586
+ * "unixVer": "x"
1587
+ * }
1588
+ * },
1589
+ * "web": {
1590
+ * "uniVer": "√",
1591
+ * "unixVer": "4.0"
1592
+ * }
1593
+ * }
1594
+ */
1595
+ fail?: SwitchTabFailCallback | null
1596
+ /**
1597
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1598
+ * @uniPlatform {
1599
+ * "app": {
1600
+ * "android": {
1601
+ * "osVer": "5.0",
1602
+ * "uniVer": "√",
1603
+ * "unixVer": "√"
1604
+ * },
1605
+ * "ios": {
1606
+ * "osVer": "12.0",
1607
+ * "uniVer": "√",
1608
+ * "unixVer": "4.11"
1609
+ * },
1610
+ * "harmony": {
1611
+ * "osVer": "3.0",
1612
+ * "uniVer": "4.23",
1613
+ * "unixVer": "4.61",
1614
+ * "unixVaporVer": "5.0"
1615
+ * }
1616
+ * },
1617
+ * "mp": {
1618
+ * "weixin": {
1619
+ * "hostVer": "√",
1620
+ * "uniVer": "√",
1621
+ * "unixVer": "4.41"
1622
+ * },
1623
+ * "alipay": {
1624
+ * "hostVer": "√",
1625
+ * "uniVer": "√",
1626
+ * "unixVer": "x"
1627
+ * },
1628
+ * "baidu": {
1629
+ * "hostVer": "√",
1630
+ * "uniVer": "√",
1631
+ * "unixVer": "x"
1632
+ * },
1633
+ * "toutiao": {
1634
+ * "hostVer": "√",
1635
+ * "uniVer": "√",
1636
+ * "unixVer": "x"
1637
+ * },
1638
+ * "lark": {
1639
+ * "hostVer": "√",
1640
+ * "uniVer": "√",
1641
+ * "unixVer": "x"
1642
+ * },
1643
+ * "qq": {
1644
+ * "hostVer": "√",
1645
+ * "uniVer": "√",
1646
+ * "unixVer": "x"
1647
+ * },
1648
+ * "kuaishou": {
1649
+ * "hostVer": "√",
1650
+ * "uniVer": "√",
1651
+ * "unixVer": "x"
1652
+ * },
1653
+ * "jd": {
1654
+ * "hostVer": "√",
1655
+ * "uniVer": "√",
1656
+ * "unixVer": "x"
1657
+ * }
1658
+ * },
1659
+ * "web": {
1660
+ * "uniVer": "√",
1661
+ * "unixVer": "4.0"
1662
+ * }
1663
+ * }
1664
+ */
1665
+ complete?: SwitchTabCompleteCallback | null
1666
+ }
1667
+ export type NavigateBackSuccess = AsyncApiSuccessResult
1668
+ type NavigateBackSuccessCallback = (result: NavigateBackSuccess) => void
1669
+ export interface NavigateBackFail extends IUniError {
1670
+ errCode: RouteErrorCode
1671
+ }
1672
+ type NavigateBackFailCallback = (result: NavigateBackFail) => void
1673
+ export type NavigateBackComplete = AsyncApiResult
1674
+ type NavigateBackCompleteCallback = (result: NavigateBackComplete) => void
1675
+ export type NavigateBackOptions = {
1676
+ /**
1677
+ * 返回的页面数,如果 delta 大于现有页面数,则返回到首页
1678
+ * @uniPlatform {
1679
+ * "app": {
1680
+ * "android": {
1681
+ * "osVer": "5.0",
1682
+ * "uniVer": "√",
1683
+ * "unixVer": "√"
1684
+ * },
1685
+ * "ios": {
1686
+ * "osVer": "12.0",
1687
+ * "uniVer": "√",
1688
+ * "unixVer": "4.11"
1689
+ * },
1690
+ * "harmony": {
1691
+ * "osVer": "3.0",
1692
+ * "uniVer": "4.23",
1693
+ * "unixVer": "4.61",
1694
+ * "unixVaporVer": "5.0"
1695
+ * }
1696
+ * },
1697
+ * "mp": {
1698
+ * "weixin": {
1699
+ * "hostVer": "√",
1700
+ * "uniVer": "√",
1701
+ * "unixVer": "4.41"
1702
+ * },
1703
+ * "alipay": {
1704
+ * "hostVer": "√",
1705
+ * "uniVer": "√",
1706
+ * "unixVer": "x"
1707
+ * },
1708
+ * "baidu": {
1709
+ * "hostVer": "√",
1710
+ * "uniVer": "√",
1711
+ * "unixVer": "x"
1712
+ * },
1713
+ * "toutiao": {
1714
+ * "hostVer": "√",
1715
+ * "uniVer": "√",
1716
+ * "unixVer": "x"
1717
+ * },
1718
+ * "lark": {
1719
+ * "hostVer": "√",
1720
+ * "uniVer": "√",
1721
+ * "unixVer": "x"
1722
+ * },
1723
+ * "qq": {
1724
+ * "hostVer": "√",
1725
+ * "uniVer": "√",
1726
+ * "unixVer": "x"
1727
+ * },
1728
+ * "kuaishou": {
1729
+ * "hostVer": "√",
1730
+ * "uniVer": "√",
1731
+ * "unixVer": "x"
1732
+ * },
1733
+ * "jd": {
1734
+ * "hostVer": "√",
1735
+ * "uniVer": "√",
1736
+ * "unixVer": "x"
1737
+ * }
1738
+ * },
1739
+ * "web": {
1740
+ * "uniVer": "√",
1741
+ * "unixVer": "4.0"
1742
+ * }
1743
+ * }
1744
+ */
1745
+ delta?: number | null
1746
+ /**
1747
+ * 窗口关闭的动画类型
1748
+ *
1749
+ * @uniPlatform {
1750
+ * "app": {
1751
+ * "android": {
1752
+ * "osVer": "5.0",
1753
+ * "uniVer": "√",
1754
+ * "unixVer": "4.18"
1755
+ * },
1756
+ * "ios": {
1757
+ * "osVer": "12.0",
1758
+ * "uniVer": "√",
1759
+ * "unixVer": "4.25"
1760
+ * }
1761
+ * },
1762
+ * "mp": {
1763
+ * "weixin": {
1764
+ * "hostVer": "√",
1765
+ * "uniVer": "x",
1766
+ * "unixVer": "x"
1767
+ * },
1768
+ * "alipay": {
1769
+ * "hostVer": "√",
1770
+ * "uniVer": "x",
1771
+ * "unixVer": "x"
1772
+ * },
1773
+ * "baidu": {
1774
+ * "hostVer": "√",
1775
+ * "uniVer": "x",
1776
+ * "unixVer": "x"
1777
+ * },
1778
+ * "toutiao": {
1779
+ * "hostVer": "√",
1780
+ * "uniVer": "x",
1781
+ * "unixVer": "x"
1782
+ * },
1783
+ * "lark": {
1784
+ * "hostVer": "√",
1785
+ * "uniVer": "x",
1786
+ * "unixVer": "x"
1787
+ * },
1788
+ * "qq": {
1789
+ * "hostVer": "√",
1790
+ * "uniVer": "x",
1791
+ * "unixVer": "x"
1792
+ * },
1793
+ * "kuaishou": {
1794
+ * "hostVer": "√",
1795
+ * "uniVer": "x",
1796
+ * "unixVer": "x"
1797
+ * },
1798
+ * "jd": {
1799
+ * "hostVer": "√",
1800
+ * "uniVer": "x",
1801
+ * "unixVer": "x"
1802
+ * }
1803
+ * },
1804
+ * "web": {
1805
+ * "uniVer": "x",
1806
+ * "unixVer": "x"
1807
+ * }
1808
+ * }
1809
+ */
1810
+ animationType?:
1811
+ /**
1812
+ * 自动选择动画效果
1813
+ * @uniPlatform {
1814
+ * "app": {
1815
+ * "android": {
1816
+ * "osVer": "5.0",
1817
+ * "uniVer": "√",
1818
+ * "unixVer": "4.18"
1819
+ * },
1820
+ * "ios": {
1821
+ * "osVer": "12.0",
1822
+ * "uniVer": "√",
1823
+ * "unixVer": "4.25"
1824
+ * },
1825
+ * "harmony": {
1826
+ * "osVer": "3.0",
1827
+ * "uniVer": "4.61",
1828
+ * "unixVer": "5.0"
1829
+ * }
1830
+ * },
1831
+ * "web": {
1832
+ * "uniVer": "x",
1833
+ * "unixVer": "x"
1834
+ * }
1835
+ * }
1836
+ */
1837
+ 'auto' |
1838
+ /**
1839
+ * 无动画效果
1840
+ * @uniPlatform {
1841
+ * "app": {
1842
+ * "android": {
1843
+ * "osVer": "5.0",
1844
+ * "uniVer": "√",
1845
+ * "unixVer": "4.18"
1846
+ * },
1847
+ * "ios": {
1848
+ * "osVer": "12.0",
1849
+ * "uniVer": "√",
1850
+ * "unixVer": "4.25"
1851
+ * },
1852
+ * "harmony": {
1853
+ * "osVer": "3.0",
1854
+ * "uniVer": "4.23",
1855
+ * "unixVer": "4.61",
1856
+ * "unixVaporVer": "5.0"
1857
+ * }
1858
+ * },
1859
+ * "web": {
1860
+ * "uniVer": "x",
1861
+ * "unixVer": "x"
1862
+ * }
1863
+ * }
1864
+ */
1865
+ 'none' |
1866
+ /**
1867
+ * 横向向右侧滑出屏幕动画
1868
+ * @uniPlatform {
1869
+ * "app": {
1870
+ * "android": {
1871
+ * "osVer": "5.0",
1872
+ * "uniVer": "√",
1873
+ * "unixVer": "4.18"
1874
+ * },
1875
+ * "ios": {
1876
+ * "osVer": "12.0",
1877
+ * "uniVer": "√",
1878
+ * "unixVer": "4.25"
1879
+ * },
1880
+ * "harmony": {
1881
+ * "osVer": "3.0",
1882
+ * "uniVer": "x",
1883
+ * "unixVer": "5.0"
1884
+ * }
1885
+ * },
1886
+ * "web": {
1887
+ * "uniVer": "x",
1888
+ * "unixVer": "x"
1889
+ * }
1890
+ * }
1891
+ */
1892
+ 'slide-out-right' |
1893
+ /**
1894
+ * 横向向左侧滑出屏幕动画
1895
+ * @uniPlatform {
1896
+ * "app": {
1897
+ * "android": {
1898
+ * "osVer": "5.0",
1899
+ * "uniVer": "√",
1900
+ * "unixVer": "4.18"
1901
+ * },
1902
+ * "ios": {
1903
+ * "osVer": "12.0",
1904
+ * "uniVer": "√",
1905
+ * "unixVer": "4.25"
1906
+ * },
1907
+ * "harmony": {
1908
+ * "osVer": "3.0",
1909
+ * "uniVer": "x",
1910
+ * "unixVer": "5.0"
1911
+ * }
1912
+ * },
1913
+ * "web": {
1914
+ * "uniVer": "x",
1915
+ * "unixVer": "x"
1916
+ * }
1917
+ * }
1918
+ */
1919
+ 'slide-out-left' |
1920
+ /**
1921
+ * 竖向向上侧滑出屏幕动画
1922
+ * @uniPlatform {
1923
+ * "app": {
1924
+ * "android": {
1925
+ * "osVer": "5.0",
1926
+ * "uniVer": "√",
1927
+ * "unixVer": "4.18"
1928
+ * },
1929
+ * "ios": {
1930
+ * "osVer": "12.0",
1931
+ * "uniVer": "√",
1932
+ * "unixVer": "4.25"
1933
+ * },
1934
+ * "harmony": {
1935
+ * "osVer": "3.0",
1936
+ * "uniVer": "x",
1937
+ * "unixVer": "5.0"
1938
+ * }
1939
+ * },
1940
+ * "web": {
1941
+ * "uniVer": "x",
1942
+ * "unixVer": "x"
1943
+ * }
1944
+ * }
1945
+ */
1946
+ 'slide-out-top' |
1947
+ /**
1948
+ * 竖向向下侧滑出屏幕动画
1949
+ * @uniPlatform {
1950
+ * "app": {
1951
+ * "android": {
1952
+ * "osVer": "5.0",
1953
+ * "uniVer": "√",
1954
+ * "unixVer": "4.18"
1955
+ * },
1956
+ * "ios": {
1957
+ * "osVer": "12.0",
1958
+ * "uniVer": "√",
1959
+ * "unixVer": "4.25"
1960
+ * },
1961
+ * "harmony": {
1962
+ * "osVer": "3.0",
1963
+ * "uniVer": "x",
1964
+ * "unixVer": "5.0"
1965
+ * }
1966
+ * },
1967
+ * "web": {
1968
+ * "uniVer": "x",
1969
+ * "unixVer": "x"
1970
+ * }
1971
+ * }
1972
+ */
1973
+ 'slide-out-bottom' |
1974
+ /**
1975
+ * 从不透明到透明逐渐隐藏动画
1976
+ * @uniPlatform {
1977
+ * "app": {
1978
+ * "android": {
1979
+ * "osVer": "5.0",
1980
+ * "uniVer": "√",
1981
+ * "unixVer": "4.18"
1982
+ * },
1983
+ * "ios": {
1984
+ * "osVer": "12.0",
1985
+ * "uniVer": "√",
1986
+ * "unixVer": "4.25"
1987
+ * },
1988
+ * "harmony": {
1989
+ * "osVer": "3.0",
1990
+ * "uniVer": "x",
1991
+ * "unixVer": "5.0"
1992
+ * }
1993
+ * },
1994
+ * "web": {
1995
+ * "uniVer": "x",
1996
+ * "unixVer": "x"
1997
+ * }
1998
+ * }
1999
+ */
2000
+ 'fade-out' |
2001
+ /**
2002
+ * 从大逐渐缩小关闭动画
2003
+ * @uniPlatform {
2004
+ * "app": {
2005
+ * "android": {
2006
+ * "osVer": "5.0",
2007
+ * "uniVer": "√",
2008
+ * "unixVer": "4.18"
2009
+ * },
2010
+ * "ios": {
2011
+ * "osVer": "12.0",
2012
+ * "uniVer": "√",
2013
+ * "unixVer": "4.25"
2014
+ * },
2015
+ * "harmony": {
2016
+ * "osVer": "3.0",
2017
+ * "uniVer": "x",
2018
+ * "unixVer": "5.0"
2019
+ * }
2020
+ * },
2021
+ * "web": {
2022
+ * "uniVer": "x",
2023
+ * "unixVer": "x"
2024
+ * }
2025
+ * }
2026
+ */
2027
+ 'zoom-in' |
2028
+ /**
2029
+ * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
2030
+ * @uniPlatform {
2031
+ * "app": {
2032
+ * "android": {
2033
+ * "osVer": "5.0",
2034
+ * "uniVer": "√",
2035
+ * "unixVer": "4.18"
2036
+ * },
2037
+ * "ios": {
2038
+ * "osVer": "12.0",
2039
+ * "uniVer": "√",
2040
+ * "unixVer": "4.25"
2041
+ * },
2042
+ * "harmony": {
2043
+ * "osVer": "3.0",
2044
+ * "uniVer": "x",
2045
+ * "unixVer": "5.0"
2046
+ * }
2047
+ * },
2048
+ * "web": {
2049
+ * "uniVer": "x",
2050
+ * "unixVer": "x"
2051
+ * }
2052
+ * }
2053
+ */
2054
+ 'zoom-fade-in' |
2055
+ /**
2056
+ * 从右侧平移出栈动画效果
2057
+ * @uniPlatform {
2058
+ * "app": {
2059
+ * "android": {
2060
+ * "osVer": "5.0",
2061
+ * "uniVer": "√",
2062
+ * "unixVer": "4.18"
2063
+ * },
2064
+ * "ios": {
2065
+ * "osVer": "12.0",
2066
+ * "uniVer": "√",
2067
+ * "unixVer": "4.25"
2068
+ * },
2069
+ * "harmony": {
2070
+ * "osVer": "3.0",
2071
+ * "uniVer": "4.23",
2072
+ * "unixVer": "4.61",
2073
+ * "unixVaporVer": "5.0"
2074
+ * }
2075
+ * },
2076
+ * "web": {
2077
+ * "uniVer": "x",
2078
+ * "unixVer": "x"
2079
+ * }
2080
+ * }
2081
+ */
2082
+ 'pop-out' | null
2083
+ /**
2084
+ * 窗口关闭动画的持续时间,单位为 ms
2085
+ * @uniPlatform {
2086
+ * "app": {
2087
+ * "android": {
2088
+ * "osVer": "5.0",
2089
+ * "uniVer": "√",
2090
+ * "unixVer": "x"
2091
+ * },
2092
+ * "ios": {
2093
+ * "osVer": "12.0",
2094
+ * "uniVer": "√",
2095
+ * "unixVer": "x"
2096
+ * },
2097
+ * "harmony": {
2098
+ * "osVer": "3.0",
2099
+ * "uniVer": "4.23",
2100
+ * "unixVer": "x"
2101
+ * }
2102
+ * },
2103
+ * "mp": {
2104
+ * "weixin": {
2105
+ * "hostVer": "√",
2106
+ * "uniVer": "x",
2107
+ * "unixVer": "x"
2108
+ * },
2109
+ * "alipay": {
2110
+ * "hostVer": "√",
2111
+ * "uniVer": "x",
2112
+ * "unixVer": "x"
2113
+ * },
2114
+ * "baidu": {
2115
+ * "hostVer": "√",
2116
+ * "uniVer": "x",
2117
+ * "unixVer": "x"
2118
+ * },
2119
+ * "toutiao": {
2120
+ * "hostVer": "√",
2121
+ * "uniVer": "x",
2122
+ * "unixVer": "x"
2123
+ * },
2124
+ * "lark": {
2125
+ * "hostVer": "√",
2126
+ * "uniVer": "x",
2127
+ * "unixVer": "x"
2128
+ * },
2129
+ * "qq": {
2130
+ * "hostVer": "√",
2131
+ * "uniVer": "x",
2132
+ * "unixVer": "x"
2133
+ * },
2134
+ * "kuaishou": {
2135
+ * "hostVer": "√",
2136
+ * "uniVer": "x",
2137
+ * "unixVer": "x"
2138
+ * },
2139
+ * "jd": {
2140
+ * "hostVer": "√",
2141
+ * "uniVer": "x",
2142
+ * "unixVer": "x"
2143
+ * }
2144
+ * },
2145
+ * "web": {
2146
+ * "uniVer": "x",
2147
+ * "unixVer": "x"
2148
+ * }
2149
+ * }
2150
+ */
2151
+ animationDuration?: number | null
2152
+ /**
2153
+ * 接口调用成功的回调函数
2154
+ * @uniPlatform {
2155
+ * "app": {
2156
+ * "android": {
2157
+ * "osVer": "5.0",
2158
+ * "uniVer": "√",
2159
+ * "unixVer": "√"
2160
+ * },
2161
+ * "ios": {
2162
+ * "osVer": "12.0",
2163
+ * "uniVer": "√",
2164
+ * "unixVer": "x"
2165
+ * }
2166
+ * },
2167
+ * "mp": {
2168
+ * "weixin": {
2169
+ * "hostVer": "√",
2170
+ * "uniVer": "√",
2171
+ * "unixVer": "4.41"
2172
+ * },
2173
+ * "alipay": {
2174
+ * "hostVer": "√",
2175
+ * "uniVer": "√",
2176
+ * "unixVer": "x"
2177
+ * },
2178
+ * "baidu": {
2179
+ * "hostVer": "√",
2180
+ * "uniVer": "√",
2181
+ * "unixVer": "x"
2182
+ * },
2183
+ * "toutiao": {
2184
+ * "hostVer": "√",
2185
+ * "uniVer": "√",
2186
+ * "unixVer": "x"
2187
+ * },
2188
+ * "lark": {
2189
+ * "hostVer": "√",
2190
+ * "uniVer": "√",
2191
+ * "unixVer": "x"
2192
+ * },
2193
+ * "qq": {
2194
+ * "hostVer": "√",
2195
+ * "uniVer": "√",
2196
+ * "unixVer": "x"
2197
+ * },
2198
+ * "kuaishou": {
2199
+ * "hostVer": "√",
2200
+ * "uniVer": "√",
2201
+ * "unixVer": "x"
2202
+ * },
2203
+ * "jd": {
2204
+ * "hostVer": "√",
2205
+ * "uniVer": "√",
2206
+ * "unixVer": "x"
2207
+ * }
2208
+ * },
2209
+ * "web": {
2210
+ * "uniVer": "√",
2211
+ * "unixVer": "4.0"
2212
+ * }
2213
+ * }
2214
+ */
2215
+ success?: NavigateBackSuccessCallback | null
2216
+ /**
2217
+ * 接口调用失败的回调函数
2218
+ * @uniPlatform {
2219
+ * "app": {
2220
+ * "android": {
2221
+ * "osVer": "5.0",
2222
+ * "uniVer": "√",
2223
+ * "unixVer": "√"
2224
+ * },
2225
+ * "ios": {
2226
+ * "osVer": "12.0",
2227
+ * "uniVer": "√",
2228
+ * "unixVer": "4.11"
2229
+ * },
2230
+ * "harmony": {
2231
+ * "osVer": "3.0",
2232
+ * "uniVer": "4.23",
2233
+ * "unixVer": "4.61",
2234
+ * "unixVaporVer": "5.0"
2235
+ * }
2236
+ * },
2237
+ * "mp": {
2238
+ * "weixin": {
2239
+ * "hostVer": "√",
2240
+ * "uniVer": "√",
2241
+ * "unixVer": "4.41"
2242
+ * },
2243
+ * "alipay": {
2244
+ * "hostVer": "√",
2245
+ * "uniVer": "√",
2246
+ * "unixVer": "x"
2247
+ * },
2248
+ * "baidu": {
2249
+ * "hostVer": "√",
2250
+ * "uniVer": "√",
2251
+ * "unixVer": "x"
2252
+ * },
2253
+ * "toutiao": {
2254
+ * "hostVer": "√",
2255
+ * "uniVer": "√",
2256
+ * "unixVer": "x"
2257
+ * },
2258
+ * "lark": {
2259
+ * "hostVer": "√",
2260
+ * "uniVer": "√",
2261
+ * "unixVer": "x"
2262
+ * },
2263
+ * "qq": {
2264
+ * "hostVer": "√",
2265
+ * "uniVer": "√",
2266
+ * "unixVer": "x"
2267
+ * },
2268
+ * "kuaishou": {
2269
+ * "hostVer": "√",
2270
+ * "uniVer": "√",
2271
+ * "unixVer": "x"
2272
+ * },
2273
+ * "jd": {
2274
+ * "hostVer": "√",
2275
+ * "uniVer": "√",
2276
+ * "unixVer": "x"
2277
+ * }
2278
+ * },
2279
+ * "web": {
2280
+ * "uniVer": "√",
2281
+ * "unixVer": "4.0"
2282
+ * }
2283
+ * }
2284
+ */
2285
+ fail?: NavigateBackFailCallback | null
2286
+ /**
2287
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
2288
+ * @uniPlatform {
2289
+ * "app": {
2290
+ * "android": {
2291
+ * "osVer": "5.0",
2292
+ * "uniVer": "√",
2293
+ * "unixVer": "√"
2294
+ * },
2295
+ * "ios": {
2296
+ * "osVer": "12.0",
2297
+ * "uniVer": "√",
2298
+ * "unixVer": "4.11"
2299
+ * },
2300
+ * "harmony": {
2301
+ * "osVer": "3.0",
2302
+ * "uniVer": "4.23",
2303
+ * "unixVer": "4.61",
2304
+ * "unixVaporVer": "5.0"
2305
+ * }
2306
+ * },
2307
+ * "mp": {
2308
+ * "weixin": {
2309
+ * "hostVer": "√",
2310
+ * "uniVer": "√",
2311
+ * "unixVer": "4.41"
2312
+ * },
2313
+ * "alipay": {
2314
+ * "hostVer": "√",
2315
+ * "uniVer": "√",
2316
+ * "unixVer": "x"
2317
+ * },
2318
+ * "baidu": {
2319
+ * "hostVer": "√",
2320
+ * "uniVer": "√",
2321
+ * "unixVer": "x"
2322
+ * },
2323
+ * "toutiao": {
2324
+ * "hostVer": "√",
2325
+ * "uniVer": "√",
2326
+ * "unixVer": "x"
2327
+ * },
2328
+ * "lark": {
2329
+ * "hostVer": "√",
2330
+ * "uniVer": "√",
2331
+ * "unixVer": "x"
2332
+ * },
2333
+ * "qq": {
2334
+ * "hostVer": "√",
2335
+ * "uniVer": "√",
2336
+ * "unixVer": "x"
2337
+ * },
2338
+ * "kuaishou": {
2339
+ * "hostVer": "√",
2340
+ * "uniVer": "√",
2341
+ * "unixVer": "x"
2342
+ * },
2343
+ * "jd": {
2344
+ * "hostVer": "√",
2345
+ * "uniVer": "√",
2346
+ * "unixVer": "x"
2347
+ * }
2348
+ * },
2349
+ * "web": {
2350
+ * "uniVer": "√",
2351
+ * "unixVer": "4.0"
2352
+ * }
2353
+ * }
2354
+ */
2355
+ complete?: NavigateBackCompleteCallback | null
2356
+ }
2357
+
2358
+ export interface Uni {
2359
+ /**
2360
+ * 保留当前页面,跳转到应用内的某个页面
2361
+ *
2362
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateto
2363
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
2364
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
2365
+ * @uniPlatform {
2366
+ * "app": {
2367
+ * "android": {
2368
+ * "osVer": "5.0",
2369
+ * "uniVer": "√",
2370
+ * "unixVer": "√"
2371
+ * },
2372
+ * "ios": {
2373
+ * "osVer": "12.0",
2374
+ * "uniVer": "√",
2375
+ * "unixVer": "4.11"
2376
+ * },
2377
+ * "harmony": {
2378
+ * "osVer": "3.0",
2379
+ * "uniVer": "4.23",
2380
+ * "unixVer": "4.61",
2381
+ * "unixVaporVer": "5.0"
2382
+ * }
2383
+ * },
2384
+ * "mp": {
2385
+ * "weixin": {
2386
+ * "hostVer": "√",
2387
+ * "uniVer": "√",
2388
+ * "unixVer": "4.41"
2389
+ * },
2390
+ * "alipay": {
2391
+ * "hostVer": "√",
2392
+ * "uniVer": "√",
2393
+ * "unixVer": "x"
2394
+ * },
2395
+ * "baidu": {
2396
+ * "hostVer": "√",
2397
+ * "uniVer": "√",
2398
+ * "unixVer": "x"
2399
+ * },
2400
+ * "toutiao": {
2401
+ * "hostVer": "√",
2402
+ * "uniVer": "√",
2403
+ * "unixVer": "x"
2404
+ * },
2405
+ * "lark": {
2406
+ * "hostVer": "√",
2407
+ * "uniVer": "√",
2408
+ * "unixVer": "x"
2409
+ * },
2410
+ * "qq": {
2411
+ * "hostVer": "√",
2412
+ * "uniVer": "√",
2413
+ * "unixVer": "x"
2414
+ * },
2415
+ * "kuaishou": {
2416
+ * "hostVer": "√",
2417
+ * "uniVer": "√",
2418
+ * "unixVer": "x"
2419
+ * },
2420
+ * "jd": {
2421
+ * "hostVer": "√",
2422
+ * "uniVer": "√",
2423
+ * "unixVer": "x"
2424
+ * }
2425
+ * },
2426
+ * "web": {
2427
+ * "uniVer": "√",
2428
+ * "unixVer": "4.0"
2429
+ * }
2430
+ * }
2431
+ */
2432
+ navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
2433
+ /**
2434
+ * 关闭当前页面,跳转到应用内的某个页面
2435
+ *
2436
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#redirectto
2437
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2438
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
2439
+ * @uniPlatform {
2440
+ * "app": {
2441
+ * "android": {
2442
+ * "osVer": "5.0",
2443
+ * "uniVer": "√",
2444
+ * "unixVer": "√"
2445
+ * },
2446
+ * "ios": {
2447
+ * "osVer": "12.0",
2448
+ * "uniVer": "√",
2449
+ * "unixVer": "4.11"
2450
+ * },
2451
+ * "harmony": {
2452
+ * "osVer": "3.0",
2453
+ * "uniVer": "4.23",
2454
+ * "unixVer": "4.61",
2455
+ * "unixVaporVer": "5.0"
2456
+ * }
2457
+ * },
2458
+ * "mp": {
2459
+ * "weixin": {
2460
+ * "hostVer": "√",
2461
+ * "uniVer": "√",
2462
+ * "unixVer": "4.41"
2463
+ * },
2464
+ * "alipay": {
2465
+ * "hostVer": "√",
2466
+ * "uniVer": "√",
2467
+ * "unixVer": "x"
2468
+ * },
2469
+ * "baidu": {
2470
+ * "hostVer": "√",
2471
+ * "uniVer": "√",
2472
+ * "unixVer": "x"
2473
+ * },
2474
+ * "toutiao": {
2475
+ * "hostVer": "√",
2476
+ * "uniVer": "√",
2477
+ * "unixVer": "x"
2478
+ * },
2479
+ * "lark": {
2480
+ * "hostVer": "√",
2481
+ * "uniVer": "√",
2482
+ * "unixVer": "x"
2483
+ * },
2484
+ * "qq": {
2485
+ * "hostVer": "√",
2486
+ * "uniVer": "√",
2487
+ * "unixVer": "x"
2488
+ * },
2489
+ * "kuaishou": {
2490
+ * "hostVer": "√",
2491
+ * "uniVer": "√",
2492
+ * "unixVer": "x"
2493
+ * },
2494
+ * "jd": {
2495
+ * "hostVer": "√",
2496
+ * "uniVer": "√",
2497
+ * "unixVer": "x"
2498
+ * }
2499
+ * },
2500
+ * "web": {
2501
+ * "uniVer": "√",
2502
+ * "unixVer": "4.0"
2503
+ * }
2504
+ * }
2505
+ */
2506
+ redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
2507
+ /**
2508
+ * 关闭所有页面,打开到应用内的某个页面
2509
+ *
2510
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#relaunch
2511
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2512
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
2513
+ * @uniPlatform {
2514
+ * "app": {
2515
+ * "android": {
2516
+ * "osVer": "5.0",
2517
+ * "uniVer": "√",
2518
+ * "unixVer": "√"
2519
+ * },
2520
+ * "ios": {
2521
+ * "osVer": "12.0",
2522
+ * "uniVer": "√",
2523
+ * "unixVer": "4.11"
2524
+ * },
2525
+ * "harmony": {
2526
+ * "osVer": "3.0",
2527
+ * "uniVer": "4.23",
2528
+ * "unixVer": "4.61",
2529
+ * "unixVaporVer": "5.0"
2530
+ * }
2531
+ * },
2532
+ * "mp": {
2533
+ * "weixin": {
2534
+ * "hostVer": "√",
2535
+ * "uniVer": "√",
2536
+ * "unixVer": "4.41"
2537
+ * },
2538
+ * "alipay": {
2539
+ * "hostVer": "√",
2540
+ * "uniVer": "√",
2541
+ * "unixVer": "x"
2542
+ * },
2543
+ * "baidu": {
2544
+ * "hostVer": "√",
2545
+ * "uniVer": "√",
2546
+ * "unixVer": "x"
2547
+ * },
2548
+ * "toutiao": {
2549
+ * "hostVer": "√",
2550
+ * "uniVer": "√",
2551
+ * "unixVer": "x"
2552
+ * },
2553
+ * "lark": {
2554
+ * "hostVer": "√",
2555
+ * "uniVer": "√",
2556
+ * "unixVer": "x"
2557
+ * },
2558
+ * "qq": {
2559
+ * "hostVer": "√",
2560
+ * "uniVer": "√",
2561
+ * "unixVer": "x"
2562
+ * },
2563
+ * "kuaishou": {
2564
+ * "hostVer": "√",
2565
+ * "uniVer": "√",
2566
+ * "unixVer": "x"
2567
+ * },
2568
+ * "jd": {
2569
+ * "hostVer": "√",
2570
+ * "uniVer": "√",
2571
+ * "unixVer": "x"
2572
+ * }
2573
+ * },
2574
+ * "web": {
2575
+ * "uniVer": "√",
2576
+ * "unixVer": "4.0"
2577
+ * }
2578
+ * }
2579
+ */
2580
+ reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
2581
+ /**
2582
+ * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
2583
+ *
2584
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#switchtab
2585
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2586
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2587
+ * @uniPlatform {
2588
+ * "app": {
2589
+ * "android": {
2590
+ * "osVer": "5.0",
2591
+ * "uniVer": "√",
2592
+ * "unixVer": "√"
2593
+ * },
2594
+ * "ios": {
2595
+ * "osVer": "12.0",
2596
+ * "uniVer": "√",
2597
+ * "unixVer": "4.11"
2598
+ * },
2599
+ * "harmony": {
2600
+ * "osVer": "3.0",
2601
+ * "uniVer": "4.23",
2602
+ * "unixVer": "4.61",
2603
+ * "unixVaporVer": "5.0"
2604
+ * }
2605
+ * },
2606
+ * "mp": {
2607
+ * "weixin": {
2608
+ * "hostVer": "√",
2609
+ * "uniVer": "√",
2610
+ * "unixVer": "4.41"
2611
+ * },
2612
+ * "alipay": {
2613
+ * "hostVer": "√",
2614
+ * "uniVer": "√",
2615
+ * "unixVer": "x"
2616
+ * },
2617
+ * "baidu": {
2618
+ * "hostVer": "√",
2619
+ * "uniVer": "√",
2620
+ * "unixVer": "x"
2621
+ * },
2622
+ * "toutiao": {
2623
+ * "hostVer": "√",
2624
+ * "uniVer": "√",
2625
+ * "unixVer": "x"
2626
+ * },
2627
+ * "lark": {
2628
+ * "hostVer": "√",
2629
+ * "uniVer": "√",
2630
+ * "unixVer": "x"
2631
+ * },
2632
+ * "qq": {
2633
+ * "hostVer": "√",
2634
+ * "uniVer": "√",
2635
+ * "unixVer": "x"
2636
+ * },
2637
+ * "kuaishou": {
2638
+ * "hostVer": "√",
2639
+ * "uniVer": "√",
2640
+ * "unixVer": "x"
2641
+ * },
2642
+ * "jd": {
2643
+ * "hostVer": "√",
2644
+ * "uniVer": "√",
2645
+ * "unixVer": "x"
2646
+ * }
2647
+ * },
2648
+ * "web": {
2649
+ * "uniVer": "√",
2650
+ * "unixVer": "4.0"
2651
+ * }
2652
+ * }
2653
+ */
2654
+ switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
2655
+ /**
2656
+ * 关闭当前页面,返回上一页面或多级页面
2657
+ *
2658
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/router.html#navigateback
2659
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2660
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2661
+ * @uniPlatform {
2662
+ * "app": {
2663
+ * "android": {
2664
+ * "osVer": "5.0",
2665
+ * "uniVer": "√",
2666
+ * "unixVer": "√"
2667
+ * },
2668
+ * "ios": {
2669
+ * "osVer": "12.0",
2670
+ * "uniVer": "√",
2671
+ * "unixVer": "4.11"
2672
+ * },
2673
+ * "harmony": {
2674
+ * "osVer": "3.0",
2675
+ * "uniVer": "4.23",
2676
+ * "unixVer": "4.61",
2677
+ * "unixVaporVer": "5.0"
2678
+ * }
2679
+ * },
2680
+ * "mp": {
2681
+ * "weixin": {
2682
+ * "hostVer": "√",
2683
+ * "uniVer": "√",
2684
+ * "unixVer": "4.41"
2685
+ * },
2686
+ * "alipay": {
2687
+ * "hostVer": "√",
2688
+ * "uniVer": "√",
2689
+ * "unixVer": "x"
2690
+ * },
2691
+ * "baidu": {
2692
+ * "hostVer": "√",
2693
+ * "uniVer": "√",
2694
+ * "unixVer": "x"
2695
+ * },
2696
+ * "toutiao": {
2697
+ * "hostVer": "√",
2698
+ * "uniVer": "√",
2699
+ * "unixVer": "x"
2700
+ * },
2701
+ * "lark": {
2702
+ * "hostVer": "√",
2703
+ * "uniVer": "√",
2704
+ * "unixVer": "x"
2705
+ * },
2706
+ * "qq": {
2707
+ * "hostVer": "√",
2708
+ * "uniVer": "√",
2709
+ * "unixVer": "x"
2710
+ * },
2711
+ * "kuaishou": {
2712
+ * "hostVer": "√",
2713
+ * "uniVer": "√",
2714
+ * "unixVer": "x"
2715
+ * },
2716
+ * "jd": {
2717
+ * "hostVer": "√",
2718
+ * "uniVer": "√",
2719
+ * "unixVer": "x"
2720
+ * }
2721
+ * },
2722
+ * "web": {
2723
+ * "uniVer": "√",
2724
+ * "unixVer": "4.0"
2725
+ * }
2726
+ * }
2727
+ */
2728
+ navigateBack(
2729
+ options?: NavigateBackOptions | null,
2730
+ ): Promise<NavigateBackSuccess> | null
2731
+ }