@dcloudio/uni-app-x 0.7.20 → 0.7.21

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 (332) hide show
  1. package/.prettierrc +5 -5
  2. package/README.md +1 -1
  3. package/index.d.ts +1 -1
  4. package/options.d.ts +9 -9
  5. package/package.json +27 -27
  6. package/types/app.d.ts +1002 -1002
  7. package/types/index.d.ts +7 -7
  8. package/types/native/AsyncApiResult.d.ts +7 -7
  9. package/types/native/CSSStyleDeclaration.d.ts +25 -25
  10. package/types/native/CanvasRenderingContext2D.d.ts +2048 -2048
  11. package/types/native/DOMRect.d.ts +56 -56
  12. package/types/native/DrawableContext.d.ts +162 -162
  13. package/types/native/INavigationBar.d.ts +22 -22
  14. package/types/native/IUniElement.d.ts +2859 -2859
  15. package/types/native/IUniError.d.ts +20 -20
  16. package/types/native/IUniForm.d.ts +9 -9
  17. package/types/native/IUniObjectElement.d.ts +124 -124
  18. package/types/native/NativeLoadFontFaceOptions.d.ts +11 -11
  19. package/types/native/NodeData.d.ts +22 -22
  20. package/types/native/PageNode.d.ts +6 -6
  21. package/types/native/Path2D.d.ts +240 -240
  22. package/types/native/SnapshotOptions.d.ts +63 -63
  23. package/types/native/SourceError.d.ts +46 -46
  24. package/types/native/UTSAndroidHookProxy.d.ts +14 -14
  25. package/types/native/UniAggregateError.d.ts +19 -19
  26. package/types/native/UniApp.d.ts +205 -205
  27. package/types/native/UniCallbackWrapper.d.ts +7 -7
  28. package/types/native/UniCanvasElement.d.ts +9 -9
  29. package/types/native/UniCustomEvent.d.ts +24 -24
  30. package/types/native/UniDocument.d.ts +83 -83
  31. package/types/native/UniElement.d.ts +79 -79
  32. package/types/native/UniError.d.ts +70 -70
  33. package/types/native/UniEvent.d.ts +92 -92
  34. package/types/native/UniFormControl.d.ts +8 -8
  35. package/types/native/UniFormControlElement.d.ts +14 -14
  36. package/types/native/UniImageErrorEvent.d.ts +33 -33
  37. package/types/native/UniImageLoadEvent.d.ts +37 -37
  38. package/types/native/UniInputBlurEvent.d.ts +36 -36
  39. package/types/native/UniInputConfirmEvent.d.ts +30 -30
  40. package/types/native/UniInputEvent.d.ts +38 -38
  41. package/types/native/UniInputFocusEvent.d.ts +53 -53
  42. package/types/native/UniNativePage.d.ts +270 -270
  43. package/types/native/UniNestedPreScrollEvent.d.ts +45 -45
  44. package/types/native/UniPageEvent.d.ts +10 -10
  45. package/types/native/UniPageManager.d.ts +27 -20
  46. package/types/native/UniPageScrollEvent.d.ts +13 -13
  47. package/types/native/UniPointerEvent.d.ts +74 -74
  48. package/types/native/UniProvider.d.ts +15 -15
  49. package/types/native/UniRefresherEvent.d.ts +18 -18
  50. package/types/native/UniResizeEvent.d.ts +34 -34
  51. package/types/native/UniResizeObserver.d.ts +184 -184
  52. package/types/native/UniRichTextItemClickEvent.d.ts +41 -41
  53. package/types/native/UniScrollEvent.d.ts +42 -42
  54. package/types/native/UniScrollToLowerEvent.d.ts +23 -23
  55. package/types/native/UniScrollToUpperEvent.d.ts +23 -23
  56. package/types/native/UniStartNestedScrollEvent.d.ts +33 -33
  57. package/types/native/UniStopNestedScrollEvent.d.ts +28 -28
  58. package/types/native/UniSwiperAnimationFinishEvent.d.ts +44 -44
  59. package/types/native/UniSwiperChangeEvent.d.ts +44 -44
  60. package/types/native/UniSwiperTransitionEvent.d.ts +24 -24
  61. package/types/native/UniTabTapEvent.d.ts +18 -18
  62. package/types/native/UniTabsElement.d.ts +59 -59
  63. package/types/native/UniTextElement.d.ts +34 -34
  64. package/types/native/UniTextareaFocusEvent.d.ts +54 -54
  65. package/types/native/UniTouchEvent.d.ts +64 -64
  66. package/types/native/UniVideoElement.d.ts +75 -75
  67. package/types/native/UniWebViewDownloadEvent.d.ts +52 -52
  68. package/types/native/UniWebViewElement.d.ts +10 -10
  69. package/types/native/UniWebViewErrorEvent.d.ts +59 -59
  70. package/types/native/UniWebViewLoadEvent.d.ts +41 -41
  71. package/types/native/UniWebViewLoadingEvent.d.ts +41 -41
  72. package/types/native/UniWebViewMessageEvent.d.ts +36 -36
  73. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -8
  74. package/types/native/ViewToTempFilePathOptions.d.ts +47 -47
  75. package/types/native/WebViewStyles.d.ts +20 -20
  76. package/types/native/global.d.ts +598 -598
  77. package/types/native/index.d.ts +71 -71
  78. package/types/native-global/index.d.ts +1 -1
  79. package/types/page.d.ts +1682 -1682
  80. package/types/process.d.ts +5 -5
  81. package/types/uni/base/index.d.ts +3 -3
  82. package/types/uni/env/index.d.ts +103 -103
  83. package/types/uni/global.d.ts +6 -6
  84. package/types/uni/index.d.ts +4 -4
  85. package/types/uni/uts-plugin-api/global.d.ts +58 -58
  86. package/types/uni/uts-plugin-api/index.d.ts +58 -58
  87. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +26 -26
  88. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -12
  89. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +231 -231
  90. package/types/uni/uts-plugin-api/lib/uni-animationFrame/utssdk/global.d.ts +12 -12
  91. package/types/uni/uts-plugin-api/lib/uni-animationFrame/utssdk/index.d.ts +5 -5
  92. package/types/uni/uts-plugin-api/lib/uni-animationFrame/utssdk/interface.d.ts +50 -50
  93. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -10
  94. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -4
  95. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -77
  96. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +60 -60
  97. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +29 -29
  98. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +161 -161
  99. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -10
  100. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -4
  101. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -77
  102. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +20 -20
  103. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +9 -9
  104. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +264 -264
  105. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -40
  106. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -19
  107. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -203
  108. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +12 -12
  109. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +5 -5
  110. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1733 -1733
  111. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -20
  112. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -9
  113. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -152
  114. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -18
  115. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -8
  116. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -61
  117. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/global.d.ts +20 -20
  118. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/index.d.ts +9 -9
  119. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +464 -464
  120. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -12
  121. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +5 -5
  122. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +137 -137
  123. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +28 -28
  124. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +13 -13
  125. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1336 -1336
  126. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +16 -16
  127. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +7 -7
  128. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +305 -305
  129. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -26
  130. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +12 -12
  131. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +91 -91
  132. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +80 -80
  133. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +39 -39
  134. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +174 -174
  135. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +142 -142
  136. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +70 -70
  137. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +1840 -1840
  138. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -10
  139. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +4 -4
  140. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -12
  141. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +5 -5
  142. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +329 -329
  143. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -14
  144. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +6 -6
  145. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +818 -818
  146. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +12 -12
  147. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +5 -5
  148. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +297 -297
  149. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -14
  150. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +6 -6
  151. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +657 -657
  152. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts +10 -10
  153. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/index.d.ts +4 -4
  154. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +81 -81
  155. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +12 -12
  156. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +5 -5
  157. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +155 -155
  158. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +12 -12
  159. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +5 -5
  160. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +159 -159
  161. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -24
  162. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -11
  163. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +563 -564
  164. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +8 -8
  165. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +4 -4
  166. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -1
  167. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -8
  168. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -4
  169. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +32 -32
  170. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +15 -15
  171. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/global.d.ts +22 -22
  172. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/index.d.ts +10 -10
  173. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +163 -163
  174. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +30 -30
  175. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +14 -14
  176. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +374 -374
  177. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/global.d.ts +16 -16
  178. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +7 -7
  179. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +980 -980
  180. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +30 -30
  181. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +14 -14
  182. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +2131 -2131
  183. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -12
  184. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +5 -5
  185. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +169 -169
  186. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -24
  187. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +11 -11
  188. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/global.d.ts +16 -16
  189. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/index.d.ts +7 -7
  190. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +169 -169
  191. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -22
  192. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -10
  193. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -60
  194. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +26 -26
  195. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +12 -12
  196. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +564 -564
  197. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -24
  198. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -11
  199. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +100 -100
  200. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +160 -160
  201. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +79 -79
  202. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1339 -1339
  203. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +68 -68
  204. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +33 -33
  205. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +1002 -1002
  206. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +72 -72
  207. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +35 -35
  208. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +1493 -1493
  209. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -24
  210. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +11 -11
  211. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -24
  212. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -11
  213. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -70
  214. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +26 -26
  215. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +12 -12
  216. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +153 -153
  217. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +32 -32
  218. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +15 -15
  219. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +240 -240
  220. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -8
  221. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -4
  222. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -8
  223. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -4
  224. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +78 -78
  225. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +38 -38
  226. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +28 -28
  227. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +13 -13
  228. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +189 -189
  229. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  230. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  231. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2165 -2165
  232. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  233. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  234. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +38 -38
  235. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -24
  236. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -11
  237. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -73
  238. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  239. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  240. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +600 -600
  241. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +148 -148
  242. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +73 -73
  243. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1086 -1086
  244. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -42
  245. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -20
  246. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/global.d.ts +112 -112
  247. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -55
  248. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  249. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  250. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +844 -844
  251. package/types/uni/uts-plugin-biz/global.d.ts +4 -4
  252. package/types/uni/uts-plugin-biz/index.d.ts +4 -4
  253. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -36
  254. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +17 -17
  255. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +141 -141
  256. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  257. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  258. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +160 -160
  259. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +60 -60
  260. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +29 -29
  261. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -46
  262. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +22 -22
  263. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +207 -207
  264. package/types/uni/uts-plugin-component/global.d.ts +1 -1
  265. package/types/uni/uts-plugin-component/index.d.ts +1 -1
  266. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +64 -64
  267. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +31 -31
  268. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +522 -522
  269. package/types/uni/uts-plugin-extend/README.md +3 -3
  270. package/types/uni/uts-plugin-extend/global.d.ts +14 -14
  271. package/types/uni/uts-plugin-extend/index.d.ts +14 -14
  272. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -12
  273. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -1
  274. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -365
  275. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -23
  276. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -10
  277. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -710
  278. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -21
  279. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -9
  280. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -151
  281. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -25
  282. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -11
  283. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -363
  284. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -11
  285. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -4
  286. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -224
  287. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -53
  288. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -25
  289. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +487 -487
  290. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -13
  291. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -5
  292. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -126
  293. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -7
  294. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -1
  295. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -296
  296. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -15
  297. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -1
  298. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -229
  299. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -14
  300. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -1
  301. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -559
  302. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -9
  303. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -1
  304. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -163
  305. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -21
  306. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -9
  307. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -143
  308. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -7
  309. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -1
  310. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -106
  311. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -9
  312. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -1
  313. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -165
  314. package/types/uni-cloud/index.d.ts +67 -67
  315. package/types/uni-cloud/interface.d.ts +987 -987
  316. package/types/uni-cloud/unicloud-db/index.ts +314 -314
  317. package/types/uni-global/index.d.ts +1 -1
  318. package/types/vue/CheckboxGroupChangeEvent.d.ts +41 -41
  319. package/types/vue/LifeCycle.d.ts +55 -55
  320. package/types/vue/PickerViewChangeEvent.d.ts +41 -41
  321. package/types/vue/ProgressActiveendEvent.d.ts +32 -32
  322. package/types/vue/RadioGroupChangeEvent.d.ts +41 -41
  323. package/types/vue/SliderChangeEvent.d.ts +35 -35
  324. package/types/vue/SwitchChangeEvent.d.ts +32 -32
  325. package/types/vue/UniCanvasElement.d.ts +275 -275
  326. package/types/vue/UniCloudDBElement.d.ts +217 -217
  327. package/types/vue/UniFormElement.d.ts +54 -54
  328. package/types/vue/UniNavigatorElement.d.ts +11 -11
  329. package/types/vue/global.d.ts +191 -191
  330. package/types/vue/index.d.ts +10 -10
  331. package/types/vue-global/index.d.ts +1 -1
  332. package/uts-plugin.d.ts +27 -27
@@ -1,2165 +1,2165 @@
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": "x"
39
- * }
40
- * },
41
- * "mp": {
42
- * "weixin": {
43
- * "hostVer": "√",
44
- * "uniVer": "√",
45
- * "unixVer": "x"
46
- * },
47
- * "alipay": {
48
- * "hostVer": "√",
49
- * "uniVer": "√",
50
- * "unixVer": "x"
51
- * },
52
- * "baidu": {
53
- * "hostVer": "√",
54
- * "uniVer": "√",
55
- * "unixVer": "x"
56
- * },
57
- * "toutiao": {
58
- * "hostVer": "√",
59
- * "uniVer": "√",
60
- * "unixVer": "x"
61
- * },
62
- * "lark": {
63
- * "hostVer": "√",
64
- * "uniVer": "√",
65
- * "unixVer": "x"
66
- * },
67
- * "qq": {
68
- * "hostVer": "√",
69
- * "uniVer": "√",
70
- * "unixVer": "x"
71
- * },
72
- * "kuaishou": {
73
- * "hostVer": "√",
74
- * "uniVer": "√",
75
- * "unixVer": "x"
76
- * },
77
- * "jd": {
78
- * "hostVer": "√",
79
- * "uniVer": "√",
80
- * "unixVer": "x"
81
- * }
82
- * },
83
- * "web": {
84
- * "uniVer": "√",
85
- * "unixVer": "4.0"
86
- * }
87
- * }
88
- */
89
- url: string | string.PageURIString
90
- /**
91
- * 窗口显示的动画类型
92
- * - auto: 自动选择动画效果
93
- * - none: 无动画效果
94
- * - slide-in-right: 从右侧横向滑动效果
95
- * - slide-in-left: 左侧横向滑动效果
96
- * - slide-in-top: 从上侧竖向滑动效果
97
- * - slide-in-bottom: 从下侧竖向滑动效果
98
- * - fade-in: 从透明到不透明逐渐显示效果
99
- * - zoom-out: 从小到大逐渐放大显示效果
100
- * - zoom-fade-out: 从小到大逐渐放大并且从透明到不透明逐渐显示效果
101
- * - pop-in: 从右侧平移入栈动画效果
102
- * - UnionType => 'auto' | 'none' | 'slide-in-right' | 'slide-in-left' | 'slide-in-top' | 'slide-in-bottom' | 'fade-in' | 'zoom-out' | 'zoom-fade-out' | 'pop-in'
103
- * @uniPlatform {
104
- * "app": {
105
- * "android": {
106
- * "osVer": "5.0",
107
- * "uniVer": "√",
108
- * "unixVer": "4.18"
109
- * },
110
- * "ios": {
111
- * "osVer": "12.0",
112
- * "uniVer": "√",
113
- * "unixVer": "4.25"
114
- * },
115
- * "harmony": {
116
- * "osVer": "3.0",
117
- * "uniVer": "4.23",
118
- * "unixVer": "x"
119
- * }
120
- * },
121
- * "mp": {
122
- * "weixin": {
123
- * "hostVer": "√",
124
- * "uniVer": "√",
125
- * "unixVer": "x"
126
- * },
127
- * "alipay": {
128
- * "hostVer": "√",
129
- * "uniVer": "√",
130
- * "unixVer": "x"
131
- * },
132
- * "baidu": {
133
- * "hostVer": "√",
134
- * "uniVer": "√",
135
- * "unixVer": "x"
136
- * },
137
- * "toutiao": {
138
- * "hostVer": "√",
139
- * "uniVer": "√",
140
- * "unixVer": "x"
141
- * },
142
- * "lark": {
143
- * "hostVer": "√",
144
- * "uniVer": "√",
145
- * "unixVer": "x"
146
- * },
147
- * "qq": {
148
- * "hostVer": "√",
149
- * "uniVer": "√",
150
- * "unixVer": "x"
151
- * },
152
- * "kuaishou": {
153
- * "hostVer": "√",
154
- * "uniVer": "√",
155
- * "unixVer": "x"
156
- * },
157
- * "jd": {
158
- * "hostVer": "√",
159
- * "uniVer": "√",
160
- * "unixVer": "x"
161
- * }
162
- * },
163
- * "web": {
164
- * "uniVer": "x",
165
- * "unixVer": "x"
166
- * }
167
- * }
168
- */
169
- animationType?: string | null
170
- /**
171
- * 窗口显示动画的持续时间,单位为 ms
172
- * @uniPlatform {
173
- * "app": {
174
- * "android": {
175
- * "osVer": "5.0",
176
- * "uniVer": "√",
177
- * "unixVer": "x"
178
- * },
179
- * "ios": {
180
- * "osVer": "12.0",
181
- * "uniVer": "√",
182
- * "unixVer": "x"
183
- * },
184
- * "harmony": {
185
- * "osVer": "3.0",
186
- * "uniVer": "4.23",
187
- * "unixVer": "x"
188
- * }
189
- * },
190
- * "mp": {
191
- * "weixin": {
192
- * "hostVer": "√",
193
- * "uniVer": "√",
194
- * "unixVer": "x"
195
- * },
196
- * "alipay": {
197
- * "hostVer": "√",
198
- * "uniVer": "√",
199
- * "unixVer": "x"
200
- * },
201
- * "baidu": {
202
- * "hostVer": "√",
203
- * "uniVer": "√",
204
- * "unixVer": "x"
205
- * },
206
- * "toutiao": {
207
- * "hostVer": "√",
208
- * "uniVer": "√",
209
- * "unixVer": "x"
210
- * },
211
- * "lark": {
212
- * "hostVer": "√",
213
- * "uniVer": "√",
214
- * "unixVer": "x"
215
- * },
216
- * "qq": {
217
- * "hostVer": "√",
218
- * "uniVer": "√",
219
- * "unixVer": "x"
220
- * },
221
- * "kuaishou": {
222
- * "hostVer": "√",
223
- * "uniVer": "√",
224
- * "unixVer": "x"
225
- * },
226
- * "jd": {
227
- * "hostVer": "√",
228
- * "uniVer": "√",
229
- * "unixVer": "x"
230
- * }
231
- * },
232
- * "web": {
233
- * "uniVer": "x",
234
- * "unixVer": "x"
235
- * }
236
- * }
237
- */
238
- animationDuration?: number | null
239
- /**
240
- * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
241
- * @uniPlatform {
242
- * "app": {
243
- * "android": {
244
- * "osVer": "5.0",
245
- * "uniVer": "√",
246
- * "unixVer": "x"
247
- * },
248
- * "ios": {
249
- * "osVer": "12.0",
250
- * "uniVer": "√",
251
- * "unixVer": "x"
252
- * },
253
- * "harmony": {
254
- * "osVer": "3.0",
255
- * "uniVer": "4.23",
256
- * "unixVer": "x"
257
- * }
258
- * },
259
- * "mp": {
260
- * "weixin": {
261
- * "hostVer": "√",
262
- * "uniVer": "√",
263
- * "unixVer": "x"
264
- * },
265
- * "alipay": {
266
- * "hostVer": "√",
267
- * "uniVer": "√",
268
- * "unixVer": "x"
269
- * },
270
- * "baidu": {
271
- * "hostVer": "√",
272
- * "uniVer": "√",
273
- * "unixVer": "x"
274
- * },
275
- * "toutiao": {
276
- * "hostVer": "√",
277
- * "uniVer": "√",
278
- * "unixVer": "x"
279
- * },
280
- * "lark": {
281
- * "hostVer": "√",
282
- * "uniVer": "√",
283
- * "unixVer": "x"
284
- * },
285
- * "qq": {
286
- * "hostVer": "√",
287
- * "uniVer": "√",
288
- * "unixVer": "x"
289
- * },
290
- * "kuaishou": {
291
- * "hostVer": "√",
292
- * "uniVer": "√",
293
- * "unixVer": "x"
294
- * },
295
- * "jd": {
296
- * "hostVer": "√",
297
- * "uniVer": "√",
298
- * "unixVer": "x"
299
- * }
300
- * },
301
- * "web": {
302
- * "uniVer": "√",
303
- * "unixVer": "4.0"
304
- * }
305
- * }
306
- */
307
- events?: any | null
308
- /**
309
- * 接口调用成功的回调函数
310
- * @uniPlatform {
311
- * "app": {
312
- * "android": {
313
- * "osVer": "5.0",
314
- * "uniVer": "√",
315
- * "unixVer": "√"
316
- * },
317
- * "ios": {
318
- * "osVer": "12.0",
319
- * "uniVer": "√",
320
- * "unixVer": "4.11"
321
- * },
322
- * "harmony": {
323
- * "osVer": "3.0",
324
- * "uniVer": "4.23",
325
- * "unixVer": "x"
326
- * }
327
- * },
328
- * "mp": {
329
- * "weixin": {
330
- * "hostVer": "√",
331
- * "uniVer": "√",
332
- * "unixVer": "x"
333
- * },
334
- * "alipay": {
335
- * "hostVer": "√",
336
- * "uniVer": "√",
337
- * "unixVer": "x"
338
- * },
339
- * "baidu": {
340
- * "hostVer": "√",
341
- * "uniVer": "√",
342
- * "unixVer": "x"
343
- * },
344
- * "toutiao": {
345
- * "hostVer": "√",
346
- * "uniVer": "√",
347
- * "unixVer": "x"
348
- * },
349
- * "lark": {
350
- * "hostVer": "√",
351
- * "uniVer": "√",
352
- * "unixVer": "x"
353
- * },
354
- * "qq": {
355
- * "hostVer": "√",
356
- * "uniVer": "√",
357
- * "unixVer": "x"
358
- * },
359
- * "kuaishou": {
360
- * "hostVer": "√",
361
- * "uniVer": "√",
362
- * "unixVer": "x"
363
- * },
364
- * "jd": {
365
- * "hostVer": "√",
366
- * "uniVer": "√",
367
- * "unixVer": "x"
368
- * }
369
- * },
370
- * "web": {
371
- * "uniVer": "√",
372
- * "unixVer": "4.0"
373
- * }
374
- * }
375
- */
376
- success?: NavigateToSuccessCallback | null
377
- /**
378
- * 接口调用失败的回调函数
379
- * @uniPlatform {
380
- * "app": {
381
- * "android": {
382
- * "osVer": "5.0",
383
- * "uniVer": "√",
384
- * "unixVer": "√"
385
- * },
386
- * "ios": {
387
- * "osVer": "12.0",
388
- * "uniVer": "√",
389
- * "unixVer": "4.11"
390
- * },
391
- * "harmony": {
392
- * "osVer": "3.0",
393
- * "uniVer": "4.23",
394
- * "unixVer": "x"
395
- * }
396
- * },
397
- * "mp": {
398
- * "weixin": {
399
- * "hostVer": "√",
400
- * "uniVer": "√",
401
- * "unixVer": "x"
402
- * },
403
- * "alipay": {
404
- * "hostVer": "√",
405
- * "uniVer": "√",
406
- * "unixVer": "x"
407
- * },
408
- * "baidu": {
409
- * "hostVer": "√",
410
- * "uniVer": "√",
411
- * "unixVer": "x"
412
- * },
413
- * "toutiao": {
414
- * "hostVer": "√",
415
- * "uniVer": "√",
416
- * "unixVer": "x"
417
- * },
418
- * "lark": {
419
- * "hostVer": "√",
420
- * "uniVer": "√",
421
- * "unixVer": "x"
422
- * },
423
- * "qq": {
424
- * "hostVer": "√",
425
- * "uniVer": "√",
426
- * "unixVer": "x"
427
- * },
428
- * "kuaishou": {
429
- * "hostVer": "√",
430
- * "uniVer": "√",
431
- * "unixVer": "x"
432
- * },
433
- * "jd": {
434
- * "hostVer": "√",
435
- * "uniVer": "√",
436
- * "unixVer": "x"
437
- * }
438
- * },
439
- * "web": {
440
- * "uniVer": "√",
441
- * "unixVer": "4.0"
442
- * }
443
- * }
444
- */
445
- fail?: NavigateToFailCallback | null
446
- /**
447
- * 接口调用结束的回调函数(调用成功、失败都会执行)
448
- * @uniPlatform {
449
- * "app": {
450
- * "android": {
451
- * "osVer": "5.0",
452
- * "uniVer": "√",
453
- * "unixVer": "√"
454
- * },
455
- * "ios": {
456
- * "osVer": "12.0",
457
- * "uniVer": "√",
458
- * "unixVer": "4.11"
459
- * },
460
- * "harmony": {
461
- * "osVer": "3.0",
462
- * "uniVer": "4.23",
463
- * "unixVer": "x"
464
- * }
465
- * },
466
- * "mp": {
467
- * "weixin": {
468
- * "hostVer": "√",
469
- * "uniVer": "√",
470
- * "unixVer": "x"
471
- * },
472
- * "alipay": {
473
- * "hostVer": "√",
474
- * "uniVer": "√",
475
- * "unixVer": "x"
476
- * },
477
- * "baidu": {
478
- * "hostVer": "√",
479
- * "uniVer": "√",
480
- * "unixVer": "x"
481
- * },
482
- * "toutiao": {
483
- * "hostVer": "√",
484
- * "uniVer": "√",
485
- * "unixVer": "x"
486
- * },
487
- * "lark": {
488
- * "hostVer": "√",
489
- * "uniVer": "√",
490
- * "unixVer": "x"
491
- * },
492
- * "qq": {
493
- * "hostVer": "√",
494
- * "uniVer": "√",
495
- * "unixVer": "x"
496
- * },
497
- * "kuaishou": {
498
- * "hostVer": "√",
499
- * "uniVer": "√",
500
- * "unixVer": "x"
501
- * },
502
- * "jd": {
503
- * "hostVer": "√",
504
- * "uniVer": "√",
505
- * "unixVer": "x"
506
- * }
507
- * },
508
- * "web": {
509
- * "uniVer": "√",
510
- * "unixVer": "4.0"
511
- * }
512
- * }
513
- */
514
- complete?: NavigateToCompleteCallback | null
515
- }
516
- export type RedirectToSuccess = AsyncApiSuccessResult
517
- type RedirectToSuccessCallback = (result: AsyncApiSuccessResult) => void
518
- export interface RedirectToFail extends IUniError {
519
- errCode: RouteErrorCode
520
- }
521
- type RedirectToFailCallback = (result: RedirectToFail) => void
522
- export type RedirectToComplete = AsyncApiResult
523
- type RedirectToCompleteCallback = (result: RedirectToComplete) => void
524
- export type RedirectToOptions = {
525
- /**
526
- * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
527
- * @uniPlatform {
528
- * "app": {
529
- * "android": {
530
- * "osVer": "5.0",
531
- * "uniVer": "√",
532
- * "unixVer": "√"
533
- * },
534
- * "ios": {
535
- * "osVer": "12.0",
536
- * "uniVer": "√",
537
- * "unixVer": "4.11"
538
- * },
539
- * "harmony": {
540
- * "osVer": "3.0",
541
- * "uniVer": "4.23",
542
- * "unixVer": "x"
543
- * }
544
- * },
545
- * "mp": {
546
- * "weixin": {
547
- * "hostVer": "√",
548
- * "uniVer": "√",
549
- * "unixVer": "x"
550
- * },
551
- * "alipay": {
552
- * "hostVer": "√",
553
- * "uniVer": "√",
554
- * "unixVer": "x"
555
- * },
556
- * "baidu": {
557
- * "hostVer": "√",
558
- * "uniVer": "√",
559
- * "unixVer": "x"
560
- * },
561
- * "toutiao": {
562
- * "hostVer": "√",
563
- * "uniVer": "√",
564
- * "unixVer": "x"
565
- * },
566
- * "lark": {
567
- * "hostVer": "√",
568
- * "uniVer": "√",
569
- * "unixVer": "x"
570
- * },
571
- * "qq": {
572
- * "hostVer": "√",
573
- * "uniVer": "√",
574
- * "unixVer": "x"
575
- * },
576
- * "kuaishou": {
577
- * "hostVer": "√",
578
- * "uniVer": "√",
579
- * "unixVer": "x"
580
- * },
581
- * "jd": {
582
- * "hostVer": "√",
583
- * "uniVer": "√",
584
- * "unixVer": "x"
585
- * }
586
- * },
587
- * "web": {
588
- * "uniVer": "√",
589
- * "unixVer": "4.0"
590
- * }
591
- * }
592
- */
593
- url: string | string.PageURIString
594
- /**
595
- * 接口调用成功的回调函数
596
- * @uniPlatform {
597
- * "app": {
598
- * "android": {
599
- * "osVer": "5.0",
600
- * "uniVer": "√",
601
- * "unixVer": "√"
602
- * },
603
- * "ios": {
604
- * "osVer": "12.0",
605
- * "uniVer": "√",
606
- * "unixVer": "4.11"
607
- * },
608
- * "harmony": {
609
- * "osVer": "3.0",
610
- * "uniVer": "4.23",
611
- * "unixVer": "x"
612
- * }
613
- * },
614
- * "mp": {
615
- * "weixin": {
616
- * "hostVer": "√",
617
- * "uniVer": "√",
618
- * "unixVer": "x"
619
- * },
620
- * "alipay": {
621
- * "hostVer": "√",
622
- * "uniVer": "√",
623
- * "unixVer": "x"
624
- * },
625
- * "baidu": {
626
- * "hostVer": "√",
627
- * "uniVer": "√",
628
- * "unixVer": "x"
629
- * },
630
- * "toutiao": {
631
- * "hostVer": "√",
632
- * "uniVer": "√",
633
- * "unixVer": "x"
634
- * },
635
- * "lark": {
636
- * "hostVer": "√",
637
- * "uniVer": "√",
638
- * "unixVer": "x"
639
- * },
640
- * "qq": {
641
- * "hostVer": "√",
642
- * "uniVer": "√",
643
- * "unixVer": "x"
644
- * },
645
- * "kuaishou": {
646
- * "hostVer": "√",
647
- * "uniVer": "√",
648
- * "unixVer": "x"
649
- * },
650
- * "jd": {
651
- * "hostVer": "√",
652
- * "uniVer": "√",
653
- * "unixVer": "x"
654
- * }
655
- * },
656
- * "web": {
657
- * "uniVer": "√",
658
- * "unixVer": "4.0"
659
- * }
660
- * }
661
- */
662
- success?: RedirectToSuccessCallback | null
663
- /**
664
- * 接口调用失败的回调函数
665
- * @uniPlatform {
666
- * "app": {
667
- * "android": {
668
- * "osVer": "5.0",
669
- * "uniVer": "√",
670
- * "unixVer": "√"
671
- * },
672
- * "ios": {
673
- * "osVer": "12.0",
674
- * "uniVer": "√",
675
- * "unixVer": "4.11"
676
- * },
677
- * "harmony": {
678
- * "osVer": "3.0",
679
- * "uniVer": "4.23",
680
- * "unixVer": "x"
681
- * }
682
- * },
683
- * "mp": {
684
- * "weixin": {
685
- * "hostVer": "√",
686
- * "uniVer": "√",
687
- * "unixVer": "x"
688
- * },
689
- * "alipay": {
690
- * "hostVer": "√",
691
- * "uniVer": "√",
692
- * "unixVer": "x"
693
- * },
694
- * "baidu": {
695
- * "hostVer": "√",
696
- * "uniVer": "√",
697
- * "unixVer": "x"
698
- * },
699
- * "toutiao": {
700
- * "hostVer": "√",
701
- * "uniVer": "√",
702
- * "unixVer": "x"
703
- * },
704
- * "lark": {
705
- * "hostVer": "√",
706
- * "uniVer": "√",
707
- * "unixVer": "x"
708
- * },
709
- * "qq": {
710
- * "hostVer": "√",
711
- * "uniVer": "√",
712
- * "unixVer": "x"
713
- * },
714
- * "kuaishou": {
715
- * "hostVer": "√",
716
- * "uniVer": "√",
717
- * "unixVer": "x"
718
- * },
719
- * "jd": {
720
- * "hostVer": "√",
721
- * "uniVer": "√",
722
- * "unixVer": "x"
723
- * }
724
- * },
725
- * "web": {
726
- * "uniVer": "√",
727
- * "unixVer": "4.0"
728
- * }
729
- * }
730
- */
731
- fail?: RedirectToFailCallback | null
732
- /**
733
- * 接口调用结束的回调函数(调用成功、失败都会执行)
734
- * @uniPlatform {
735
- * "app": {
736
- * "android": {
737
- * "osVer": "5.0",
738
- * "uniVer": "√",
739
- * "unixVer": "√"
740
- * },
741
- * "ios": {
742
- * "osVer": "12.0",
743
- * "uniVer": "√",
744
- * "unixVer": "4.11"
745
- * },
746
- * "harmony": {
747
- * "osVer": "3.0",
748
- * "uniVer": "4.23",
749
- * "unixVer": "x"
750
- * }
751
- * },
752
- * "mp": {
753
- * "weixin": {
754
- * "hostVer": "√",
755
- * "uniVer": "√",
756
- * "unixVer": "x"
757
- * },
758
- * "alipay": {
759
- * "hostVer": "√",
760
- * "uniVer": "√",
761
- * "unixVer": "x"
762
- * },
763
- * "baidu": {
764
- * "hostVer": "√",
765
- * "uniVer": "√",
766
- * "unixVer": "x"
767
- * },
768
- * "toutiao": {
769
- * "hostVer": "√",
770
- * "uniVer": "√",
771
- * "unixVer": "x"
772
- * },
773
- * "lark": {
774
- * "hostVer": "√",
775
- * "uniVer": "√",
776
- * "unixVer": "x"
777
- * },
778
- * "qq": {
779
- * "hostVer": "√",
780
- * "uniVer": "√",
781
- * "unixVer": "x"
782
- * },
783
- * "kuaishou": {
784
- * "hostVer": "√",
785
- * "uniVer": "√",
786
- * "unixVer": "x"
787
- * },
788
- * "jd": {
789
- * "hostVer": "√",
790
- * "uniVer": "√",
791
- * "unixVer": "x"
792
- * }
793
- * },
794
- * "web": {
795
- * "uniVer": "√",
796
- * "unixVer": "4.0"
797
- * }
798
- * }
799
- */
800
- complete?: RedirectToCompleteCallback | null
801
- }
802
- export type ReLaunchSuccess = AsyncApiSuccessResult
803
- type ReLaunchSuccessCallback = (result: ReLaunchSuccess) => void
804
- export interface ReLaunchFail extends IUniError {
805
- errCode: RouteErrorCode
806
- }
807
- type ReLaunchFailCallback = (result: ReLaunchFail) => void
808
- export type ReLaunchComplete = AsyncApiResult
809
- type ReLaunchCompleteCallback = (result: ReLaunchComplete) => void
810
- export type ReLaunchOptions = {
811
- /**
812
- * 需要跳转的应用内页面路径 , 路径后可以带参数。参数与路径之间使用?分隔,参数键与参数值用=相连,不同参数用&分隔;如 'path?key=value&key2=value2',如果跳转的页面路径是 tabBar 页面则不能带参数
813
- * @uniPlatform {
814
- * "app": {
815
- * "android": {
816
- * "osVer": "5.0",
817
- * "uniVer": "√",
818
- * "unixVer": "√"
819
- * },
820
- * "ios": {
821
- * "osVer": "12.0",
822
- * "uniVer": "√",
823
- * "unixVer": "4.11"
824
- * },
825
- * "harmony": {
826
- * "osVer": "3.0",
827
- * "uniVer": "4.23",
828
- * "unixVer": "x"
829
- * }
830
- * },
831
- * "mp": {
832
- * "weixin": {
833
- * "hostVer": "√",
834
- * "uniVer": "√",
835
- * "unixVer": "x"
836
- * },
837
- * "alipay": {
838
- * "hostVer": "√",
839
- * "uniVer": "√",
840
- * "unixVer": "x"
841
- * },
842
- * "baidu": {
843
- * "hostVer": "√",
844
- * "uniVer": "√",
845
- * "unixVer": "x"
846
- * },
847
- * "toutiao": {
848
- * "hostVer": "√",
849
- * "uniVer": "√",
850
- * "unixVer": "x"
851
- * },
852
- * "lark": {
853
- * "hostVer": "√",
854
- * "uniVer": "√",
855
- * "unixVer": "x"
856
- * },
857
- * "qq": {
858
- * "hostVer": "√",
859
- * "uniVer": "√",
860
- * "unixVer": "x"
861
- * },
862
- * "kuaishou": {
863
- * "hostVer": "√",
864
- * "uniVer": "√",
865
- * "unixVer": "x"
866
- * },
867
- * "jd": {
868
- * "hostVer": "√",
869
- * "uniVer": "√",
870
- * "unixVer": "x"
871
- * }
872
- * },
873
- * "web": {
874
- * "uniVer": "√",
875
- * "unixVer": "4.0"
876
- * }
877
- * }
878
- */
879
- url: string | string.PageURIString
880
- /**
881
- * 接口调用成功的回调函数
882
- * @uniPlatform {
883
- * "app": {
884
- * "android": {
885
- * "osVer": "5.0",
886
- * "uniVer": "√",
887
- * "unixVer": "√"
888
- * },
889
- * "ios": {
890
- * "osVer": "12.0",
891
- * "uniVer": "√",
892
- * "unixVer": "4.11"
893
- * },
894
- * "harmony": {
895
- * "osVer": "3.0",
896
- * "uniVer": "4.23",
897
- * "unixVer": "x"
898
- * }
899
- * },
900
- * "mp": {
901
- * "weixin": {
902
- * "hostVer": "√",
903
- * "uniVer": "√",
904
- * "unixVer": "x"
905
- * },
906
- * "alipay": {
907
- * "hostVer": "√",
908
- * "uniVer": "√",
909
- * "unixVer": "x"
910
- * },
911
- * "baidu": {
912
- * "hostVer": "√",
913
- * "uniVer": "√",
914
- * "unixVer": "x"
915
- * },
916
- * "toutiao": {
917
- * "hostVer": "√",
918
- * "uniVer": "√",
919
- * "unixVer": "x"
920
- * },
921
- * "lark": {
922
- * "hostVer": "√",
923
- * "uniVer": "√",
924
- * "unixVer": "x"
925
- * },
926
- * "qq": {
927
- * "hostVer": "√",
928
- * "uniVer": "√",
929
- * "unixVer": "x"
930
- * },
931
- * "kuaishou": {
932
- * "hostVer": "√",
933
- * "uniVer": "√",
934
- * "unixVer": "x"
935
- * },
936
- * "jd": {
937
- * "hostVer": "√",
938
- * "uniVer": "√",
939
- * "unixVer": "x"
940
- * }
941
- * },
942
- * "web": {
943
- * "uniVer": "√",
944
- * "unixVer": "4.0"
945
- * }
946
- * }
947
- */
948
- success?: ReLaunchSuccessCallback | null
949
- /**
950
- * 接口调用失败的回调函数
951
- * @uniPlatform {
952
- * "app": {
953
- * "android": {
954
- * "osVer": "5.0",
955
- * "uniVer": "√",
956
- * "unixVer": "√"
957
- * },
958
- * "ios": {
959
- * "osVer": "12.0",
960
- * "uniVer": "√",
961
- * "unixVer": "4.11"
962
- * },
963
- * "harmony": {
964
- * "osVer": "3.0",
965
- * "uniVer": "4.23",
966
- * "unixVer": "x"
967
- * }
968
- * },
969
- * "mp": {
970
- * "weixin": {
971
- * "hostVer": "√",
972
- * "uniVer": "√",
973
- * "unixVer": "x"
974
- * },
975
- * "alipay": {
976
- * "hostVer": "√",
977
- * "uniVer": "√",
978
- * "unixVer": "x"
979
- * },
980
- * "baidu": {
981
- * "hostVer": "√",
982
- * "uniVer": "√",
983
- * "unixVer": "x"
984
- * },
985
- * "toutiao": {
986
- * "hostVer": "√",
987
- * "uniVer": "√",
988
- * "unixVer": "x"
989
- * },
990
- * "lark": {
991
- * "hostVer": "√",
992
- * "uniVer": "√",
993
- * "unixVer": "x"
994
- * },
995
- * "qq": {
996
- * "hostVer": "√",
997
- * "uniVer": "√",
998
- * "unixVer": "x"
999
- * },
1000
- * "kuaishou": {
1001
- * "hostVer": "√",
1002
- * "uniVer": "√",
1003
- * "unixVer": "x"
1004
- * },
1005
- * "jd": {
1006
- * "hostVer": "√",
1007
- * "uniVer": "√",
1008
- * "unixVer": "x"
1009
- * }
1010
- * },
1011
- * "web": {
1012
- * "uniVer": "√",
1013
- * "unixVer": "4.0"
1014
- * }
1015
- * }
1016
- */
1017
- fail?: ReLaunchFailCallback | null
1018
- /**
1019
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1020
- * @uniPlatform {
1021
- * "app": {
1022
- * "android": {
1023
- * "osVer": "5.0",
1024
- * "uniVer": "√",
1025
- * "unixVer": "√"
1026
- * },
1027
- * "ios": {
1028
- * "osVer": "12.0",
1029
- * "uniVer": "√",
1030
- * "unixVer": "4.11"
1031
- * },
1032
- * "harmony": {
1033
- * "osVer": "3.0",
1034
- * "uniVer": "4.23",
1035
- * "unixVer": "x"
1036
- * }
1037
- * },
1038
- * "mp": {
1039
- * "weixin": {
1040
- * "hostVer": "√",
1041
- * "uniVer": "√",
1042
- * "unixVer": "x"
1043
- * },
1044
- * "alipay": {
1045
- * "hostVer": "√",
1046
- * "uniVer": "√",
1047
- * "unixVer": "x"
1048
- * },
1049
- * "baidu": {
1050
- * "hostVer": "√",
1051
- * "uniVer": "√",
1052
- * "unixVer": "x"
1053
- * },
1054
- * "toutiao": {
1055
- * "hostVer": "√",
1056
- * "uniVer": "√",
1057
- * "unixVer": "x"
1058
- * },
1059
- * "lark": {
1060
- * "hostVer": "√",
1061
- * "uniVer": "√",
1062
- * "unixVer": "x"
1063
- * },
1064
- * "qq": {
1065
- * "hostVer": "√",
1066
- * "uniVer": "√",
1067
- * "unixVer": "x"
1068
- * },
1069
- * "kuaishou": {
1070
- * "hostVer": "√",
1071
- * "uniVer": "√",
1072
- * "unixVer": "x"
1073
- * },
1074
- * "jd": {
1075
- * "hostVer": "√",
1076
- * "uniVer": "√",
1077
- * "unixVer": "x"
1078
- * }
1079
- * },
1080
- * "web": {
1081
- * "uniVer": "√",
1082
- * "unixVer": "4.0"
1083
- * }
1084
- * }
1085
- */
1086
- complete?: ReLaunchCompleteCallback | null
1087
- }
1088
- export type SwitchTabSuccess = AsyncApiSuccessResult
1089
- export type SwitchTabSuccessCallback = (result: SwitchTabSuccess) => void
1090
-
1091
- export interface SwitchTabFail extends IUniError {
1092
- errCode: RouteErrorCode
1093
- }
1094
-
1095
- export type SwitchTabFailCallback = (result: SwitchTabFail) => void
1096
- export type SwitchTabComplete = AsyncApiResult
1097
- export type SwitchTabCompleteCallback = (result: SwitchTabComplete) => void
1098
- export type SwitchTabOptions = {
1099
- /**
1100
- * 需要跳转的 tabBar 页面的路径,路径后不能带参数
1101
- * @uniPlatform {
1102
- * "app": {
1103
- * "android": {
1104
- * "osVer": "5.0",
1105
- * "uniVer": "√",
1106
- * "unixVer": "√"
1107
- * },
1108
- * "ios": {
1109
- * "osVer": "12.0",
1110
- * "uniVer": "√",
1111
- * "unixVer": "4.11"
1112
- * },
1113
- * "harmony": {
1114
- * "osVer": "3.0",
1115
- * "uniVer": "4.23",
1116
- * "unixVer": "x"
1117
- * }
1118
- * },
1119
- * "mp": {
1120
- * "weixin": {
1121
- * "hostVer": "√",
1122
- * "uniVer": "√",
1123
- * "unixVer": "x"
1124
- * },
1125
- * "alipay": {
1126
- * "hostVer": "√",
1127
- * "uniVer": "√",
1128
- * "unixVer": "x"
1129
- * },
1130
- * "baidu": {
1131
- * "hostVer": "√",
1132
- * "uniVer": "√",
1133
- * "unixVer": "x"
1134
- * },
1135
- * "toutiao": {
1136
- * "hostVer": "√",
1137
- * "uniVer": "√",
1138
- * "unixVer": "x"
1139
- * },
1140
- * "lark": {
1141
- * "hostVer": "√",
1142
- * "uniVer": "√",
1143
- * "unixVer": "x"
1144
- * },
1145
- * "qq": {
1146
- * "hostVer": "√",
1147
- * "uniVer": "√",
1148
- * "unixVer": "x"
1149
- * },
1150
- * "kuaishou": {
1151
- * "hostVer": "√",
1152
- * "uniVer": "√",
1153
- * "unixVer": "x"
1154
- * },
1155
- * "jd": {
1156
- * "hostVer": "√",
1157
- * "uniVer": "√",
1158
- * "unixVer": "x"
1159
- * }
1160
- * },
1161
- * "web": {
1162
- * "uniVer": "√",
1163
- * "unixVer": "4.0"
1164
- * }
1165
- * }
1166
- */
1167
- url: string | string.PageURIString
1168
- /**
1169
- * 接口调用成功的回调函数
1170
- * @uniPlatform {
1171
- * "app": {
1172
- * "android": {
1173
- * "osVer": "5.0",
1174
- * "uniVer": "√",
1175
- * "unixVer": "√"
1176
- * },
1177
- * "ios": {
1178
- * "osVer": "12.0",
1179
- * "uniVer": "√",
1180
- * "unixVer": "4.11"
1181
- * },
1182
- * "harmony": {
1183
- * "osVer": "3.0",
1184
- * "uniVer": "4.23",
1185
- * "unixVer": "x"
1186
- * }
1187
- * },
1188
- * "mp": {
1189
- * "weixin": {
1190
- * "hostVer": "√",
1191
- * "uniVer": "√",
1192
- * "unixVer": "x"
1193
- * },
1194
- * "alipay": {
1195
- * "hostVer": "√",
1196
- * "uniVer": "√",
1197
- * "unixVer": "x"
1198
- * },
1199
- * "baidu": {
1200
- * "hostVer": "√",
1201
- * "uniVer": "√",
1202
- * "unixVer": "x"
1203
- * },
1204
- * "toutiao": {
1205
- * "hostVer": "√",
1206
- * "uniVer": "√",
1207
- * "unixVer": "x"
1208
- * },
1209
- * "lark": {
1210
- * "hostVer": "√",
1211
- * "uniVer": "√",
1212
- * "unixVer": "x"
1213
- * },
1214
- * "qq": {
1215
- * "hostVer": "√",
1216
- * "uniVer": "√",
1217
- * "unixVer": "x"
1218
- * },
1219
- * "kuaishou": {
1220
- * "hostVer": "√",
1221
- * "uniVer": "√",
1222
- * "unixVer": "x"
1223
- * },
1224
- * "jd": {
1225
- * "hostVer": "√",
1226
- * "uniVer": "√",
1227
- * "unixVer": "x"
1228
- * }
1229
- * },
1230
- * "web": {
1231
- * "uniVer": "√",
1232
- * "unixVer": "4.0"
1233
- * }
1234
- * }
1235
- */
1236
- success?: SwitchTabSuccessCallback | null
1237
- /**
1238
- * 接口调用失败的回调函数
1239
- * @uniPlatform {
1240
- * "app": {
1241
- * "android": {
1242
- * "osVer": "5.0",
1243
- * "uniVer": "√",
1244
- * "unixVer": "√"
1245
- * },
1246
- * "ios": {
1247
- * "osVer": "12.0",
1248
- * "uniVer": "√",
1249
- * "unixVer": "4.11"
1250
- * },
1251
- * "harmony": {
1252
- * "osVer": "3.0",
1253
- * "uniVer": "4.23",
1254
- * "unixVer": "x"
1255
- * }
1256
- * },
1257
- * "mp": {
1258
- * "weixin": {
1259
- * "hostVer": "√",
1260
- * "uniVer": "√",
1261
- * "unixVer": "x"
1262
- * },
1263
- * "alipay": {
1264
- * "hostVer": "√",
1265
- * "uniVer": "√",
1266
- * "unixVer": "x"
1267
- * },
1268
- * "baidu": {
1269
- * "hostVer": "√",
1270
- * "uniVer": "√",
1271
- * "unixVer": "x"
1272
- * },
1273
- * "toutiao": {
1274
- * "hostVer": "√",
1275
- * "uniVer": "√",
1276
- * "unixVer": "x"
1277
- * },
1278
- * "lark": {
1279
- * "hostVer": "√",
1280
- * "uniVer": "√",
1281
- * "unixVer": "x"
1282
- * },
1283
- * "qq": {
1284
- * "hostVer": "√",
1285
- * "uniVer": "√",
1286
- * "unixVer": "x"
1287
- * },
1288
- * "kuaishou": {
1289
- * "hostVer": "√",
1290
- * "uniVer": "√",
1291
- * "unixVer": "x"
1292
- * },
1293
- * "jd": {
1294
- * "hostVer": "√",
1295
- * "uniVer": "√",
1296
- * "unixVer": "x"
1297
- * }
1298
- * },
1299
- * "web": {
1300
- * "uniVer": "√",
1301
- * "unixVer": "4.0"
1302
- * }
1303
- * }
1304
- */
1305
- fail?: SwitchTabFailCallback | null
1306
- /**
1307
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1308
- * @uniPlatform {
1309
- * "app": {
1310
- * "android": {
1311
- * "osVer": "5.0",
1312
- * "uniVer": "√",
1313
- * "unixVer": "√"
1314
- * },
1315
- * "ios": {
1316
- * "osVer": "12.0",
1317
- * "uniVer": "√",
1318
- * "unixVer": "4.11"
1319
- * },
1320
- * "harmony": {
1321
- * "osVer": "3.0",
1322
- * "uniVer": "4.23",
1323
- * "unixVer": "x"
1324
- * }
1325
- * },
1326
- * "mp": {
1327
- * "weixin": {
1328
- * "hostVer": "√",
1329
- * "uniVer": "√",
1330
- * "unixVer": "x"
1331
- * },
1332
- * "alipay": {
1333
- * "hostVer": "√",
1334
- * "uniVer": "√",
1335
- * "unixVer": "x"
1336
- * },
1337
- * "baidu": {
1338
- * "hostVer": "√",
1339
- * "uniVer": "√",
1340
- * "unixVer": "x"
1341
- * },
1342
- * "toutiao": {
1343
- * "hostVer": "√",
1344
- * "uniVer": "√",
1345
- * "unixVer": "x"
1346
- * },
1347
- * "lark": {
1348
- * "hostVer": "√",
1349
- * "uniVer": "√",
1350
- * "unixVer": "x"
1351
- * },
1352
- * "qq": {
1353
- * "hostVer": "√",
1354
- * "uniVer": "√",
1355
- * "unixVer": "x"
1356
- * },
1357
- * "kuaishou": {
1358
- * "hostVer": "√",
1359
- * "uniVer": "√",
1360
- * "unixVer": "x"
1361
- * },
1362
- * "jd": {
1363
- * "hostVer": "√",
1364
- * "uniVer": "√",
1365
- * "unixVer": "x"
1366
- * }
1367
- * },
1368
- * "web": {
1369
- * "uniVer": "√",
1370
- * "unixVer": "4.0"
1371
- * }
1372
- * }
1373
- */
1374
- complete?: SwitchTabCompleteCallback | null
1375
- }
1376
- export type NavigateBackSuccess = AsyncApiSuccessResult
1377
- type NavigateBackSuccessCallback = (result: NavigateBackSuccess) => void
1378
- export interface NavigateBackFail extends IUniError {
1379
- errCode: RouteErrorCode
1380
- }
1381
- type NavigateBackFailCallback = (result: NavigateBackFail) => void
1382
- export type NavigateBackComplete = AsyncApiResult
1383
- type NavigateBackCompleteCallback = (result: NavigateBackComplete) => void
1384
- export type NavigateBackOptions = {
1385
- /**
1386
- * 返回的页面数,如果 delta 大于现有页面数,则返回到首页
1387
- * @uniPlatform {
1388
- * "app": {
1389
- * "android": {
1390
- * "osVer": "5.0",
1391
- * "uniVer": "√",
1392
- * "unixVer": "√"
1393
- * },
1394
- * "ios": {
1395
- * "osVer": "12.0",
1396
- * "uniVer": "√",
1397
- * "unixVer": "4.11"
1398
- * },
1399
- * "harmony": {
1400
- * "osVer": "3.0",
1401
- * "uniVer": "4.23",
1402
- * "unixVer": "x"
1403
- * }
1404
- * },
1405
- * "mp": {
1406
- * "weixin": {
1407
- * "hostVer": "√",
1408
- * "uniVer": "√",
1409
- * "unixVer": "x"
1410
- * },
1411
- * "alipay": {
1412
- * "hostVer": "√",
1413
- * "uniVer": "√",
1414
- * "unixVer": "x"
1415
- * },
1416
- * "baidu": {
1417
- * "hostVer": "√",
1418
- * "uniVer": "√",
1419
- * "unixVer": "x"
1420
- * },
1421
- * "toutiao": {
1422
- * "hostVer": "√",
1423
- * "uniVer": "√",
1424
- * "unixVer": "x"
1425
- * },
1426
- * "lark": {
1427
- * "hostVer": "√",
1428
- * "uniVer": "√",
1429
- * "unixVer": "x"
1430
- * },
1431
- * "qq": {
1432
- * "hostVer": "√",
1433
- * "uniVer": "√",
1434
- * "unixVer": "x"
1435
- * },
1436
- * "kuaishou": {
1437
- * "hostVer": "√",
1438
- * "uniVer": "√",
1439
- * "unixVer": "x"
1440
- * },
1441
- * "jd": {
1442
- * "hostVer": "√",
1443
- * "uniVer": "√",
1444
- * "unixVer": "x"
1445
- * }
1446
- * },
1447
- * "web": {
1448
- * "uniVer": "√",
1449
- * "unixVer": "4.0"
1450
- * }
1451
- * }
1452
- */
1453
- delta?: number | null
1454
- /**
1455
- * 窗口关闭的动画类型
1456
- * - auto: 自动选择动画效果
1457
- * - none: 无动画效果
1458
- * - slide-out-right: 横向向右侧滑出屏幕动画
1459
- * - slide-out-left: 横向向左侧滑出屏幕动画
1460
- * - slide-out-top: 竖向向上侧滑出屏幕动画
1461
- * - slide-out-bottom: 竖向向下侧滑出屏幕动画
1462
- * - fade-out: 从不透明到透明逐渐隐藏动画
1463
- * - zoom-in: 从大逐渐缩小关闭动画
1464
- * - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
1465
- * - pop-out: 从右侧平移出栈动画效果
1466
- * - UnionType => 'auto' | 'none' | 'slide-out-right' | 'slide-out-left' | 'slide-out-top' | 'slide-out-bottom' | 'fade-out' | 'zoom-in' | 'zoom-fade-in' | 'pop-out'
1467
- * @uniPlatform {
1468
- * "app": {
1469
- * "android": {
1470
- * "osVer": "5.0",
1471
- * "uniVer": "√",
1472
- * "unixVer": "4.18"
1473
- * },
1474
- * "ios": {
1475
- * "osVer": "12.0",
1476
- * "uniVer": "√",
1477
- * "unixVer": "4.25"
1478
- * }
1479
- * },
1480
- * "mp": {
1481
- * "weixin": {
1482
- * "hostVer": "√",
1483
- * "uniVer": "√",
1484
- * "unixVer": "x"
1485
- * },
1486
- * "alipay": {
1487
- * "hostVer": "√",
1488
- * "uniVer": "√",
1489
- * "unixVer": "x"
1490
- * },
1491
- * "baidu": {
1492
- * "hostVer": "√",
1493
- * "uniVer": "√",
1494
- * "unixVer": "x"
1495
- * },
1496
- * "toutiao": {
1497
- * "hostVer": "√",
1498
- * "uniVer": "√",
1499
- * "unixVer": "x"
1500
- * },
1501
- * "lark": {
1502
- * "hostVer": "√",
1503
- * "uniVer": "√",
1504
- * "unixVer": "x"
1505
- * },
1506
- * "qq": {
1507
- * "hostVer": "√",
1508
- * "uniVer": "√",
1509
- * "unixVer": "x"
1510
- * },
1511
- * "kuaishou": {
1512
- * "hostVer": "√",
1513
- * "uniVer": "√",
1514
- * "unixVer": "x"
1515
- * },
1516
- * "jd": {
1517
- * "hostVer": "√",
1518
- * "uniVer": "√",
1519
- * "unixVer": "x"
1520
- * }
1521
- * },
1522
- * "web": {
1523
- * "uniVer": "x",
1524
- * "unixVer": "x"
1525
- * }
1526
- * }
1527
- */
1528
- animationType?: string | null
1529
- /**
1530
- * 窗口关闭动画的持续时间,单位为 ms
1531
- * @uniPlatform {
1532
- * "app": {
1533
- * "android": {
1534
- * "osVer": "5.0",
1535
- * "uniVer": "√",
1536
- * "unixVer": "x"
1537
- * },
1538
- * "ios": {
1539
- * "osVer": "12.0",
1540
- * "uniVer": "√",
1541
- * "unixVer": "x"
1542
- * }
1543
- * },
1544
- * "mp": {
1545
- * "weixin": {
1546
- * "hostVer": "√",
1547
- * "uniVer": "√",
1548
- * "unixVer": "x"
1549
- * },
1550
- * "alipay": {
1551
- * "hostVer": "√",
1552
- * "uniVer": "√",
1553
- * "unixVer": "x"
1554
- * },
1555
- * "baidu": {
1556
- * "hostVer": "√",
1557
- * "uniVer": "√",
1558
- * "unixVer": "x"
1559
- * },
1560
- * "toutiao": {
1561
- * "hostVer": "√",
1562
- * "uniVer": "√",
1563
- * "unixVer": "x"
1564
- * },
1565
- * "lark": {
1566
- * "hostVer": "√",
1567
- * "uniVer": "√",
1568
- * "unixVer": "x"
1569
- * },
1570
- * "qq": {
1571
- * "hostVer": "√",
1572
- * "uniVer": "√",
1573
- * "unixVer": "x"
1574
- * },
1575
- * "kuaishou": {
1576
- * "hostVer": "√",
1577
- * "uniVer": "√",
1578
- * "unixVer": "x"
1579
- * },
1580
- * "jd": {
1581
- * "hostVer": "√",
1582
- * "uniVer": "√",
1583
- * "unixVer": "x"
1584
- * }
1585
- * },
1586
- * "web": {
1587
- * "uniVer": "x",
1588
- * "unixVer": "x"
1589
- * }
1590
- * }
1591
- */
1592
- animationDuration?: number | null
1593
- /**
1594
- * 接口调用成功的回调函数
1595
- * @uniPlatform {
1596
- * "app": {
1597
- * "android": {
1598
- * "osVer": "5.0",
1599
- * "uniVer": "√",
1600
- * "unixVer": "√"
1601
- * },
1602
- * "ios": {
1603
- * "osVer": "12.0",
1604
- * "uniVer": "√",
1605
- * "unixVer": "x"
1606
- * }
1607
- * },
1608
- * "mp": {
1609
- * "weixin": {
1610
- * "hostVer": "√",
1611
- * "uniVer": "√",
1612
- * "unixVer": "x"
1613
- * },
1614
- * "alipay": {
1615
- * "hostVer": "√",
1616
- * "uniVer": "√",
1617
- * "unixVer": "x"
1618
- * },
1619
- * "baidu": {
1620
- * "hostVer": "√",
1621
- * "uniVer": "√",
1622
- * "unixVer": "x"
1623
- * },
1624
- * "toutiao": {
1625
- * "hostVer": "√",
1626
- * "uniVer": "√",
1627
- * "unixVer": "x"
1628
- * },
1629
- * "lark": {
1630
- * "hostVer": "√",
1631
- * "uniVer": "√",
1632
- * "unixVer": "x"
1633
- * },
1634
- * "qq": {
1635
- * "hostVer": "√",
1636
- * "uniVer": "√",
1637
- * "unixVer": "x"
1638
- * },
1639
- * "kuaishou": {
1640
- * "hostVer": "√",
1641
- * "uniVer": "√",
1642
- * "unixVer": "x"
1643
- * },
1644
- * "jd": {
1645
- * "hostVer": "√",
1646
- * "uniVer": "√",
1647
- * "unixVer": "x"
1648
- * }
1649
- * },
1650
- * "web": {
1651
- * "uniVer": "√",
1652
- * "unixVer": "4.0"
1653
- * }
1654
- * }
1655
- */
1656
- success?: NavigateBackSuccessCallback | null
1657
- /**
1658
- * 接口调用失败的回调函数
1659
- * @uniPlatform {
1660
- * "app": {
1661
- * "android": {
1662
- * "osVer": "5.0",
1663
- * "uniVer": "√",
1664
- * "unixVer": "√"
1665
- * },
1666
- * "ios": {
1667
- * "osVer": "12.0",
1668
- * "uniVer": "√",
1669
- * "unixVer": "4.11"
1670
- * },
1671
- * "harmony": {
1672
- * "osVer": "3.0",
1673
- * "uniVer": "4.23",
1674
- * "unixVer": "x"
1675
- * }
1676
- * },
1677
- * "mp": {
1678
- * "weixin": {
1679
- * "hostVer": "√",
1680
- * "uniVer": "√",
1681
- * "unixVer": "x"
1682
- * },
1683
- * "alipay": {
1684
- * "hostVer": "√",
1685
- * "uniVer": "√",
1686
- * "unixVer": "x"
1687
- * },
1688
- * "baidu": {
1689
- * "hostVer": "√",
1690
- * "uniVer": "√",
1691
- * "unixVer": "x"
1692
- * },
1693
- * "toutiao": {
1694
- * "hostVer": "√",
1695
- * "uniVer": "√",
1696
- * "unixVer": "x"
1697
- * },
1698
- * "lark": {
1699
- * "hostVer": "√",
1700
- * "uniVer": "√",
1701
- * "unixVer": "x"
1702
- * },
1703
- * "qq": {
1704
- * "hostVer": "√",
1705
- * "uniVer": "√",
1706
- * "unixVer": "x"
1707
- * },
1708
- * "kuaishou": {
1709
- * "hostVer": "√",
1710
- * "uniVer": "√",
1711
- * "unixVer": "x"
1712
- * },
1713
- * "jd": {
1714
- * "hostVer": "√",
1715
- * "uniVer": "√",
1716
- * "unixVer": "x"
1717
- * }
1718
- * },
1719
- * "web": {
1720
- * "uniVer": "√",
1721
- * "unixVer": "4.0"
1722
- * }
1723
- * }
1724
- */
1725
- fail?: NavigateBackFailCallback | null
1726
- /**
1727
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1728
- * @uniPlatform {
1729
- * "app": {
1730
- * "android": {
1731
- * "osVer": "5.0",
1732
- * "uniVer": "√",
1733
- * "unixVer": "√"
1734
- * },
1735
- * "ios": {
1736
- * "osVer": "12.0",
1737
- * "uniVer": "√",
1738
- * "unixVer": "4.11"
1739
- * },
1740
- * "harmony": {
1741
- * "osVer": "3.0",
1742
- * "uniVer": "4.23",
1743
- * "unixVer": "x"
1744
- * }
1745
- * },
1746
- * "mp": {
1747
- * "weixin": {
1748
- * "hostVer": "√",
1749
- * "uniVer": "√",
1750
- * "unixVer": "x"
1751
- * },
1752
- * "alipay": {
1753
- * "hostVer": "√",
1754
- * "uniVer": "√",
1755
- * "unixVer": "x"
1756
- * },
1757
- * "baidu": {
1758
- * "hostVer": "√",
1759
- * "uniVer": "√",
1760
- * "unixVer": "x"
1761
- * },
1762
- * "toutiao": {
1763
- * "hostVer": "√",
1764
- * "uniVer": "√",
1765
- * "unixVer": "x"
1766
- * },
1767
- * "lark": {
1768
- * "hostVer": "√",
1769
- * "uniVer": "√",
1770
- * "unixVer": "x"
1771
- * },
1772
- * "qq": {
1773
- * "hostVer": "√",
1774
- * "uniVer": "√",
1775
- * "unixVer": "x"
1776
- * },
1777
- * "kuaishou": {
1778
- * "hostVer": "√",
1779
- * "uniVer": "√",
1780
- * "unixVer": "x"
1781
- * },
1782
- * "jd": {
1783
- * "hostVer": "√",
1784
- * "uniVer": "√",
1785
- * "unixVer": "x"
1786
- * }
1787
- * },
1788
- * "web": {
1789
- * "uniVer": "√",
1790
- * "unixVer": "4.0"
1791
- * }
1792
- * }
1793
- */
1794
- complete?: NavigateBackCompleteCallback | null
1795
- }
1796
-
1797
- export interface Uni {
1798
- /**
1799
- * 保留当前页面,跳转到应用内的某个页面
1800
- *
1801
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#navigateto
1802
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1803
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1804
- * @uniPlatform {
1805
- * "app": {
1806
- * "android": {
1807
- * "osVer": "5.0",
1808
- * "uniVer": "√",
1809
- * "unixVer": "√"
1810
- * },
1811
- * "ios": {
1812
- * "osVer": "12.0",
1813
- * "uniVer": "√",
1814
- * "unixVer": "4.11"
1815
- * },
1816
- * "harmony": {
1817
- * "osVer": "3.0",
1818
- * "uniVer": "4.23",
1819
- * "unixVer": "x"
1820
- * }
1821
- * },
1822
- * "mp": {
1823
- * "weixin": {
1824
- * "hostVer": "√",
1825
- * "uniVer": "√",
1826
- * "unixVer": "x"
1827
- * },
1828
- * "alipay": {
1829
- * "hostVer": "√",
1830
- * "uniVer": "√",
1831
- * "unixVer": "x"
1832
- * },
1833
- * "baidu": {
1834
- * "hostVer": "√",
1835
- * "uniVer": "√",
1836
- * "unixVer": "x"
1837
- * },
1838
- * "toutiao": {
1839
- * "hostVer": "√",
1840
- * "uniVer": "√",
1841
- * "unixVer": "x"
1842
- * },
1843
- * "lark": {
1844
- * "hostVer": "√",
1845
- * "uniVer": "√",
1846
- * "unixVer": "x"
1847
- * },
1848
- * "qq": {
1849
- * "hostVer": "√",
1850
- * "uniVer": "√",
1851
- * "unixVer": "x"
1852
- * },
1853
- * "kuaishou": {
1854
- * "hostVer": "√",
1855
- * "uniVer": "√",
1856
- * "unixVer": "x"
1857
- * },
1858
- * "jd": {
1859
- * "hostVer": "√",
1860
- * "uniVer": "√",
1861
- * "unixVer": "x"
1862
- * }
1863
- * },
1864
- * "web": {
1865
- * "uniVer": "√",
1866
- * "unixVer": "4.0"
1867
- * }
1868
- * }
1869
- */
1870
- navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
1871
- /**
1872
- * 关闭当前页面,跳转到应用内的某个页面
1873
- *
1874
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#redirectto
1875
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1876
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1877
- * @uniPlatform {
1878
- * "app": {
1879
- * "android": {
1880
- * "osVer": "5.0",
1881
- * "uniVer": "√",
1882
- * "unixVer": "√"
1883
- * },
1884
- * "ios": {
1885
- * "osVer": "12.0",
1886
- * "uniVer": "√",
1887
- * "unixVer": "4.11"
1888
- * },
1889
- * "harmony": {
1890
- * "osVer": "3.0",
1891
- * "uniVer": "4.23",
1892
- * "unixVer": "x"
1893
- * }
1894
- * },
1895
- * "mp": {
1896
- * "weixin": {
1897
- * "hostVer": "√",
1898
- * "uniVer": "√",
1899
- * "unixVer": "x"
1900
- * },
1901
- * "alipay": {
1902
- * "hostVer": "√",
1903
- * "uniVer": "√",
1904
- * "unixVer": "x"
1905
- * },
1906
- * "baidu": {
1907
- * "hostVer": "√",
1908
- * "uniVer": "√",
1909
- * "unixVer": "x"
1910
- * },
1911
- * "toutiao": {
1912
- * "hostVer": "√",
1913
- * "uniVer": "√",
1914
- * "unixVer": "x"
1915
- * },
1916
- * "lark": {
1917
- * "hostVer": "√",
1918
- * "uniVer": "√",
1919
- * "unixVer": "x"
1920
- * },
1921
- * "qq": {
1922
- * "hostVer": "√",
1923
- * "uniVer": "√",
1924
- * "unixVer": "x"
1925
- * },
1926
- * "kuaishou": {
1927
- * "hostVer": "√",
1928
- * "uniVer": "√",
1929
- * "unixVer": "x"
1930
- * },
1931
- * "jd": {
1932
- * "hostVer": "√",
1933
- * "uniVer": "√",
1934
- * "unixVer": "x"
1935
- * }
1936
- * },
1937
- * "web": {
1938
- * "uniVer": "√",
1939
- * "unixVer": "4.0"
1940
- * }
1941
- * }
1942
- */
1943
- redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
1944
- /**
1945
- * 关闭所有页面,打开到应用内的某个页面
1946
- *
1947
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#relaunch
1948
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
1949
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
1950
- * @uniPlatform {
1951
- * "app": {
1952
- * "android": {
1953
- * "osVer": "5.0",
1954
- * "uniVer": "√",
1955
- * "unixVer": "√"
1956
- * },
1957
- * "ios": {
1958
- * "osVer": "12.0",
1959
- * "uniVer": "√",
1960
- * "unixVer": "4.11"
1961
- * },
1962
- * "harmony": {
1963
- * "osVer": "3.0",
1964
- * "uniVer": "4.23",
1965
- * "unixVer": "x"
1966
- * }
1967
- * },
1968
- * "mp": {
1969
- * "weixin": {
1970
- * "hostVer": "√",
1971
- * "uniVer": "√",
1972
- * "unixVer": "x"
1973
- * },
1974
- * "alipay": {
1975
- * "hostVer": "√",
1976
- * "uniVer": "√",
1977
- * "unixVer": "x"
1978
- * },
1979
- * "baidu": {
1980
- * "hostVer": "√",
1981
- * "uniVer": "√",
1982
- * "unixVer": "x"
1983
- * },
1984
- * "toutiao": {
1985
- * "hostVer": "√",
1986
- * "uniVer": "√",
1987
- * "unixVer": "x"
1988
- * },
1989
- * "lark": {
1990
- * "hostVer": "√",
1991
- * "uniVer": "√",
1992
- * "unixVer": "x"
1993
- * },
1994
- * "qq": {
1995
- * "hostVer": "√",
1996
- * "uniVer": "√",
1997
- * "unixVer": "x"
1998
- * },
1999
- * "kuaishou": {
2000
- * "hostVer": "√",
2001
- * "uniVer": "√",
2002
- * "unixVer": "x"
2003
- * },
2004
- * "jd": {
2005
- * "hostVer": "√",
2006
- * "uniVer": "√",
2007
- * "unixVer": "x"
2008
- * }
2009
- * },
2010
- * "web": {
2011
- * "uniVer": "√",
2012
- * "unixVer": "4.0"
2013
- * }
2014
- * }
2015
- */
2016
- reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
2017
- /**
2018
- * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
2019
- *
2020
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#switchtab
2021
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2022
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2023
- * @uniPlatform {
2024
- * "app": {
2025
- * "android": {
2026
- * "osVer": "5.0",
2027
- * "uniVer": "√",
2028
- * "unixVer": "√"
2029
- * },
2030
- * "ios": {
2031
- * "osVer": "12.0",
2032
- * "uniVer": "√",
2033
- * "unixVer": "4.11"
2034
- * },
2035
- * "harmony": {
2036
- * "osVer": "3.0",
2037
- * "uniVer": "4.23",
2038
- * "unixVer": "x"
2039
- * }
2040
- * },
2041
- * "mp": {
2042
- * "weixin": {
2043
- * "hostVer": "√",
2044
- * "uniVer": "√",
2045
- * "unixVer": "x"
2046
- * },
2047
- * "alipay": {
2048
- * "hostVer": "√",
2049
- * "uniVer": "√",
2050
- * "unixVer": "x"
2051
- * },
2052
- * "baidu": {
2053
- * "hostVer": "√",
2054
- * "uniVer": "√",
2055
- * "unixVer": "x"
2056
- * },
2057
- * "toutiao": {
2058
- * "hostVer": "√",
2059
- * "uniVer": "√",
2060
- * "unixVer": "x"
2061
- * },
2062
- * "lark": {
2063
- * "hostVer": "√",
2064
- * "uniVer": "√",
2065
- * "unixVer": "x"
2066
- * },
2067
- * "qq": {
2068
- * "hostVer": "√",
2069
- * "uniVer": "√",
2070
- * "unixVer": "x"
2071
- * },
2072
- * "kuaishou": {
2073
- * "hostVer": "√",
2074
- * "uniVer": "√",
2075
- * "unixVer": "x"
2076
- * },
2077
- * "jd": {
2078
- * "hostVer": "√",
2079
- * "uniVer": "√",
2080
- * "unixVer": "x"
2081
- * }
2082
- * },
2083
- * "web": {
2084
- * "uniVer": "√",
2085
- * "unixVer": "4.0"
2086
- * }
2087
- * }
2088
- */
2089
- switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
2090
- /**
2091
- * 关闭当前页面,返回上一页面或多级页面
2092
- *
2093
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#navigateback
2094
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2095
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2096
- * @uniPlatform {
2097
- * "app": {
2098
- * "android": {
2099
- * "osVer": "5.0",
2100
- * "uniVer": "√",
2101
- * "unixVer": "√"
2102
- * },
2103
- * "ios": {
2104
- * "osVer": "12.0",
2105
- * "uniVer": "√",
2106
- * "unixVer": "4.11"
2107
- * },
2108
- * "harmony": {
2109
- * "osVer": "3.0",
2110
- * "uniVer": "4.23",
2111
- * "unixVer": "x"
2112
- * }
2113
- * },
2114
- * "mp": {
2115
- * "weixin": {
2116
- * "hostVer": "√",
2117
- * "uniVer": "√",
2118
- * "unixVer": "x"
2119
- * },
2120
- * "alipay": {
2121
- * "hostVer": "√",
2122
- * "uniVer": "√",
2123
- * "unixVer": "x"
2124
- * },
2125
- * "baidu": {
2126
- * "hostVer": "√",
2127
- * "uniVer": "√",
2128
- * "unixVer": "x"
2129
- * },
2130
- * "toutiao": {
2131
- * "hostVer": "√",
2132
- * "uniVer": "√",
2133
- * "unixVer": "x"
2134
- * },
2135
- * "lark": {
2136
- * "hostVer": "√",
2137
- * "uniVer": "√",
2138
- * "unixVer": "x"
2139
- * },
2140
- * "qq": {
2141
- * "hostVer": "√",
2142
- * "uniVer": "√",
2143
- * "unixVer": "x"
2144
- * },
2145
- * "kuaishou": {
2146
- * "hostVer": "√",
2147
- * "uniVer": "√",
2148
- * "unixVer": "x"
2149
- * },
2150
- * "jd": {
2151
- * "hostVer": "√",
2152
- * "uniVer": "√",
2153
- * "unixVer": "x"
2154
- * }
2155
- * },
2156
- * "web": {
2157
- * "uniVer": "√",
2158
- * "unixVer": "4.0"
2159
- * }
2160
- * }
2161
- */
2162
- navigateBack(
2163
- options?: NavigateBackOptions | null,
2164
- ): Promise<NavigateBackSuccess> | null
2165
- }
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": "x"
39
+ * }
40
+ * },
41
+ * "mp": {
42
+ * "weixin": {
43
+ * "hostVer": "√",
44
+ * "uniVer": "√",
45
+ * "unixVer": "x"
46
+ * },
47
+ * "alipay": {
48
+ * "hostVer": "√",
49
+ * "uniVer": "√",
50
+ * "unixVer": "x"
51
+ * },
52
+ * "baidu": {
53
+ * "hostVer": "√",
54
+ * "uniVer": "√",
55
+ * "unixVer": "x"
56
+ * },
57
+ * "toutiao": {
58
+ * "hostVer": "√",
59
+ * "uniVer": "√",
60
+ * "unixVer": "x"
61
+ * },
62
+ * "lark": {
63
+ * "hostVer": "√",
64
+ * "uniVer": "√",
65
+ * "unixVer": "x"
66
+ * },
67
+ * "qq": {
68
+ * "hostVer": "√",
69
+ * "uniVer": "√",
70
+ * "unixVer": "x"
71
+ * },
72
+ * "kuaishou": {
73
+ * "hostVer": "√",
74
+ * "uniVer": "√",
75
+ * "unixVer": "x"
76
+ * },
77
+ * "jd": {
78
+ * "hostVer": "√",
79
+ * "uniVer": "√",
80
+ * "unixVer": "x"
81
+ * }
82
+ * },
83
+ * "web": {
84
+ * "uniVer": "√",
85
+ * "unixVer": "4.0"
86
+ * }
87
+ * }
88
+ */
89
+ url: string | string.PageURIString
90
+ /**
91
+ * 窗口显示的动画类型
92
+ * - auto: 自动选择动画效果
93
+ * - none: 无动画效果
94
+ * - slide-in-right: 从右侧横向滑动效果
95
+ * - slide-in-left: 左侧横向滑动效果
96
+ * - slide-in-top: 从上侧竖向滑动效果
97
+ * - slide-in-bottom: 从下侧竖向滑动效果
98
+ * - fade-in: 从透明到不透明逐渐显示效果
99
+ * - zoom-out: 从小到大逐渐放大显示效果
100
+ * - zoom-fade-out: 从小到大逐渐放大并且从透明到不透明逐渐显示效果
101
+ * - pop-in: 从右侧平移入栈动画效果
102
+ * - UnionType => 'auto' | 'none' | 'slide-in-right' | 'slide-in-left' | 'slide-in-top' | 'slide-in-bottom' | 'fade-in' | 'zoom-out' | 'zoom-fade-out' | 'pop-in'
103
+ * @uniPlatform {
104
+ * "app": {
105
+ * "android": {
106
+ * "osVer": "5.0",
107
+ * "uniVer": "√",
108
+ * "unixVer": "4.18"
109
+ * },
110
+ * "ios": {
111
+ * "osVer": "12.0",
112
+ * "uniVer": "√",
113
+ * "unixVer": "4.25"
114
+ * },
115
+ * "harmony": {
116
+ * "osVer": "3.0",
117
+ * "uniVer": "4.23",
118
+ * "unixVer": "x"
119
+ * }
120
+ * },
121
+ * "mp": {
122
+ * "weixin": {
123
+ * "hostVer": "√",
124
+ * "uniVer": "√",
125
+ * "unixVer": "x"
126
+ * },
127
+ * "alipay": {
128
+ * "hostVer": "√",
129
+ * "uniVer": "√",
130
+ * "unixVer": "x"
131
+ * },
132
+ * "baidu": {
133
+ * "hostVer": "√",
134
+ * "uniVer": "√",
135
+ * "unixVer": "x"
136
+ * },
137
+ * "toutiao": {
138
+ * "hostVer": "√",
139
+ * "uniVer": "√",
140
+ * "unixVer": "x"
141
+ * },
142
+ * "lark": {
143
+ * "hostVer": "√",
144
+ * "uniVer": "√",
145
+ * "unixVer": "x"
146
+ * },
147
+ * "qq": {
148
+ * "hostVer": "√",
149
+ * "uniVer": "√",
150
+ * "unixVer": "x"
151
+ * },
152
+ * "kuaishou": {
153
+ * "hostVer": "√",
154
+ * "uniVer": "√",
155
+ * "unixVer": "x"
156
+ * },
157
+ * "jd": {
158
+ * "hostVer": "√",
159
+ * "uniVer": "√",
160
+ * "unixVer": "x"
161
+ * }
162
+ * },
163
+ * "web": {
164
+ * "uniVer": "x",
165
+ * "unixVer": "x"
166
+ * }
167
+ * }
168
+ */
169
+ animationType?: string | null
170
+ /**
171
+ * 窗口显示动画的持续时间,单位为 ms
172
+ * @uniPlatform {
173
+ * "app": {
174
+ * "android": {
175
+ * "osVer": "5.0",
176
+ * "uniVer": "√",
177
+ * "unixVer": "x"
178
+ * },
179
+ * "ios": {
180
+ * "osVer": "12.0",
181
+ * "uniVer": "√",
182
+ * "unixVer": "x"
183
+ * },
184
+ * "harmony": {
185
+ * "osVer": "3.0",
186
+ * "uniVer": "4.23",
187
+ * "unixVer": "x"
188
+ * }
189
+ * },
190
+ * "mp": {
191
+ * "weixin": {
192
+ * "hostVer": "√",
193
+ * "uniVer": "√",
194
+ * "unixVer": "x"
195
+ * },
196
+ * "alipay": {
197
+ * "hostVer": "√",
198
+ * "uniVer": "√",
199
+ * "unixVer": "x"
200
+ * },
201
+ * "baidu": {
202
+ * "hostVer": "√",
203
+ * "uniVer": "√",
204
+ * "unixVer": "x"
205
+ * },
206
+ * "toutiao": {
207
+ * "hostVer": "√",
208
+ * "uniVer": "√",
209
+ * "unixVer": "x"
210
+ * },
211
+ * "lark": {
212
+ * "hostVer": "√",
213
+ * "uniVer": "√",
214
+ * "unixVer": "x"
215
+ * },
216
+ * "qq": {
217
+ * "hostVer": "√",
218
+ * "uniVer": "√",
219
+ * "unixVer": "x"
220
+ * },
221
+ * "kuaishou": {
222
+ * "hostVer": "√",
223
+ * "uniVer": "√",
224
+ * "unixVer": "x"
225
+ * },
226
+ * "jd": {
227
+ * "hostVer": "√",
228
+ * "uniVer": "√",
229
+ * "unixVer": "x"
230
+ * }
231
+ * },
232
+ * "web": {
233
+ * "uniVer": "x",
234
+ * "unixVer": "x"
235
+ * }
236
+ * }
237
+ */
238
+ animationDuration?: number | null
239
+ /**
240
+ * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
241
+ * @uniPlatform {
242
+ * "app": {
243
+ * "android": {
244
+ * "osVer": "5.0",
245
+ * "uniVer": "√",
246
+ * "unixVer": "x"
247
+ * },
248
+ * "ios": {
249
+ * "osVer": "12.0",
250
+ * "uniVer": "√",
251
+ * "unixVer": "x"
252
+ * },
253
+ * "harmony": {
254
+ * "osVer": "3.0",
255
+ * "uniVer": "4.23",
256
+ * "unixVer": "x"
257
+ * }
258
+ * },
259
+ * "mp": {
260
+ * "weixin": {
261
+ * "hostVer": "√",
262
+ * "uniVer": "√",
263
+ * "unixVer": "x"
264
+ * },
265
+ * "alipay": {
266
+ * "hostVer": "√",
267
+ * "uniVer": "√",
268
+ * "unixVer": "x"
269
+ * },
270
+ * "baidu": {
271
+ * "hostVer": "√",
272
+ * "uniVer": "√",
273
+ * "unixVer": "x"
274
+ * },
275
+ * "toutiao": {
276
+ * "hostVer": "√",
277
+ * "uniVer": "√",
278
+ * "unixVer": "x"
279
+ * },
280
+ * "lark": {
281
+ * "hostVer": "√",
282
+ * "uniVer": "√",
283
+ * "unixVer": "x"
284
+ * },
285
+ * "qq": {
286
+ * "hostVer": "√",
287
+ * "uniVer": "√",
288
+ * "unixVer": "x"
289
+ * },
290
+ * "kuaishou": {
291
+ * "hostVer": "√",
292
+ * "uniVer": "√",
293
+ * "unixVer": "x"
294
+ * },
295
+ * "jd": {
296
+ * "hostVer": "√",
297
+ * "uniVer": "√",
298
+ * "unixVer": "x"
299
+ * }
300
+ * },
301
+ * "web": {
302
+ * "uniVer": "√",
303
+ * "unixVer": "4.0"
304
+ * }
305
+ * }
306
+ */
307
+ events?: any | null
308
+ /**
309
+ * 接口调用成功的回调函数
310
+ * @uniPlatform {
311
+ * "app": {
312
+ * "android": {
313
+ * "osVer": "5.0",
314
+ * "uniVer": "√",
315
+ * "unixVer": "√"
316
+ * },
317
+ * "ios": {
318
+ * "osVer": "12.0",
319
+ * "uniVer": "√",
320
+ * "unixVer": "4.11"
321
+ * },
322
+ * "harmony": {
323
+ * "osVer": "3.0",
324
+ * "uniVer": "4.23",
325
+ * "unixVer": "x"
326
+ * }
327
+ * },
328
+ * "mp": {
329
+ * "weixin": {
330
+ * "hostVer": "√",
331
+ * "uniVer": "√",
332
+ * "unixVer": "x"
333
+ * },
334
+ * "alipay": {
335
+ * "hostVer": "√",
336
+ * "uniVer": "√",
337
+ * "unixVer": "x"
338
+ * },
339
+ * "baidu": {
340
+ * "hostVer": "√",
341
+ * "uniVer": "√",
342
+ * "unixVer": "x"
343
+ * },
344
+ * "toutiao": {
345
+ * "hostVer": "√",
346
+ * "uniVer": "√",
347
+ * "unixVer": "x"
348
+ * },
349
+ * "lark": {
350
+ * "hostVer": "√",
351
+ * "uniVer": "√",
352
+ * "unixVer": "x"
353
+ * },
354
+ * "qq": {
355
+ * "hostVer": "√",
356
+ * "uniVer": "√",
357
+ * "unixVer": "x"
358
+ * },
359
+ * "kuaishou": {
360
+ * "hostVer": "√",
361
+ * "uniVer": "√",
362
+ * "unixVer": "x"
363
+ * },
364
+ * "jd": {
365
+ * "hostVer": "√",
366
+ * "uniVer": "√",
367
+ * "unixVer": "x"
368
+ * }
369
+ * },
370
+ * "web": {
371
+ * "uniVer": "√",
372
+ * "unixVer": "4.0"
373
+ * }
374
+ * }
375
+ */
376
+ success?: NavigateToSuccessCallback | null
377
+ /**
378
+ * 接口调用失败的回调函数
379
+ * @uniPlatform {
380
+ * "app": {
381
+ * "android": {
382
+ * "osVer": "5.0",
383
+ * "uniVer": "√",
384
+ * "unixVer": "√"
385
+ * },
386
+ * "ios": {
387
+ * "osVer": "12.0",
388
+ * "uniVer": "√",
389
+ * "unixVer": "4.11"
390
+ * },
391
+ * "harmony": {
392
+ * "osVer": "3.0",
393
+ * "uniVer": "4.23",
394
+ * "unixVer": "x"
395
+ * }
396
+ * },
397
+ * "mp": {
398
+ * "weixin": {
399
+ * "hostVer": "√",
400
+ * "uniVer": "√",
401
+ * "unixVer": "x"
402
+ * },
403
+ * "alipay": {
404
+ * "hostVer": "√",
405
+ * "uniVer": "√",
406
+ * "unixVer": "x"
407
+ * },
408
+ * "baidu": {
409
+ * "hostVer": "√",
410
+ * "uniVer": "√",
411
+ * "unixVer": "x"
412
+ * },
413
+ * "toutiao": {
414
+ * "hostVer": "√",
415
+ * "uniVer": "√",
416
+ * "unixVer": "x"
417
+ * },
418
+ * "lark": {
419
+ * "hostVer": "√",
420
+ * "uniVer": "√",
421
+ * "unixVer": "x"
422
+ * },
423
+ * "qq": {
424
+ * "hostVer": "√",
425
+ * "uniVer": "√",
426
+ * "unixVer": "x"
427
+ * },
428
+ * "kuaishou": {
429
+ * "hostVer": "√",
430
+ * "uniVer": "√",
431
+ * "unixVer": "x"
432
+ * },
433
+ * "jd": {
434
+ * "hostVer": "√",
435
+ * "uniVer": "√",
436
+ * "unixVer": "x"
437
+ * }
438
+ * },
439
+ * "web": {
440
+ * "uniVer": "√",
441
+ * "unixVer": "4.0"
442
+ * }
443
+ * }
444
+ */
445
+ fail?: NavigateToFailCallback | null
446
+ /**
447
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
448
+ * @uniPlatform {
449
+ * "app": {
450
+ * "android": {
451
+ * "osVer": "5.0",
452
+ * "uniVer": "√",
453
+ * "unixVer": "√"
454
+ * },
455
+ * "ios": {
456
+ * "osVer": "12.0",
457
+ * "uniVer": "√",
458
+ * "unixVer": "4.11"
459
+ * },
460
+ * "harmony": {
461
+ * "osVer": "3.0",
462
+ * "uniVer": "4.23",
463
+ * "unixVer": "x"
464
+ * }
465
+ * },
466
+ * "mp": {
467
+ * "weixin": {
468
+ * "hostVer": "√",
469
+ * "uniVer": "√",
470
+ * "unixVer": "x"
471
+ * },
472
+ * "alipay": {
473
+ * "hostVer": "√",
474
+ * "uniVer": "√",
475
+ * "unixVer": "x"
476
+ * },
477
+ * "baidu": {
478
+ * "hostVer": "√",
479
+ * "uniVer": "√",
480
+ * "unixVer": "x"
481
+ * },
482
+ * "toutiao": {
483
+ * "hostVer": "√",
484
+ * "uniVer": "√",
485
+ * "unixVer": "x"
486
+ * },
487
+ * "lark": {
488
+ * "hostVer": "√",
489
+ * "uniVer": "√",
490
+ * "unixVer": "x"
491
+ * },
492
+ * "qq": {
493
+ * "hostVer": "√",
494
+ * "uniVer": "√",
495
+ * "unixVer": "x"
496
+ * },
497
+ * "kuaishou": {
498
+ * "hostVer": "√",
499
+ * "uniVer": "√",
500
+ * "unixVer": "x"
501
+ * },
502
+ * "jd": {
503
+ * "hostVer": "√",
504
+ * "uniVer": "√",
505
+ * "unixVer": "x"
506
+ * }
507
+ * },
508
+ * "web": {
509
+ * "uniVer": "√",
510
+ * "unixVer": "4.0"
511
+ * }
512
+ * }
513
+ */
514
+ complete?: NavigateToCompleteCallback | null
515
+ }
516
+ export type RedirectToSuccess = AsyncApiSuccessResult
517
+ type RedirectToSuccessCallback = (result: AsyncApiSuccessResult) => void
518
+ export interface RedirectToFail extends IUniError {
519
+ errCode: RouteErrorCode
520
+ }
521
+ type RedirectToFailCallback = (result: RedirectToFail) => void
522
+ export type RedirectToComplete = AsyncApiResult
523
+ type RedirectToCompleteCallback = (result: RedirectToComplete) => void
524
+ export type RedirectToOptions = {
525
+ /**
526
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
527
+ * @uniPlatform {
528
+ * "app": {
529
+ * "android": {
530
+ * "osVer": "5.0",
531
+ * "uniVer": "√",
532
+ * "unixVer": "√"
533
+ * },
534
+ * "ios": {
535
+ * "osVer": "12.0",
536
+ * "uniVer": "√",
537
+ * "unixVer": "4.11"
538
+ * },
539
+ * "harmony": {
540
+ * "osVer": "3.0",
541
+ * "uniVer": "4.23",
542
+ * "unixVer": "x"
543
+ * }
544
+ * },
545
+ * "mp": {
546
+ * "weixin": {
547
+ * "hostVer": "√",
548
+ * "uniVer": "√",
549
+ * "unixVer": "x"
550
+ * },
551
+ * "alipay": {
552
+ * "hostVer": "√",
553
+ * "uniVer": "√",
554
+ * "unixVer": "x"
555
+ * },
556
+ * "baidu": {
557
+ * "hostVer": "√",
558
+ * "uniVer": "√",
559
+ * "unixVer": "x"
560
+ * },
561
+ * "toutiao": {
562
+ * "hostVer": "√",
563
+ * "uniVer": "√",
564
+ * "unixVer": "x"
565
+ * },
566
+ * "lark": {
567
+ * "hostVer": "√",
568
+ * "uniVer": "√",
569
+ * "unixVer": "x"
570
+ * },
571
+ * "qq": {
572
+ * "hostVer": "√",
573
+ * "uniVer": "√",
574
+ * "unixVer": "x"
575
+ * },
576
+ * "kuaishou": {
577
+ * "hostVer": "√",
578
+ * "uniVer": "√",
579
+ * "unixVer": "x"
580
+ * },
581
+ * "jd": {
582
+ * "hostVer": "√",
583
+ * "uniVer": "√",
584
+ * "unixVer": "x"
585
+ * }
586
+ * },
587
+ * "web": {
588
+ * "uniVer": "√",
589
+ * "unixVer": "4.0"
590
+ * }
591
+ * }
592
+ */
593
+ url: string | string.PageURIString
594
+ /**
595
+ * 接口调用成功的回调函数
596
+ * @uniPlatform {
597
+ * "app": {
598
+ * "android": {
599
+ * "osVer": "5.0",
600
+ * "uniVer": "√",
601
+ * "unixVer": "√"
602
+ * },
603
+ * "ios": {
604
+ * "osVer": "12.0",
605
+ * "uniVer": "√",
606
+ * "unixVer": "4.11"
607
+ * },
608
+ * "harmony": {
609
+ * "osVer": "3.0",
610
+ * "uniVer": "4.23",
611
+ * "unixVer": "x"
612
+ * }
613
+ * },
614
+ * "mp": {
615
+ * "weixin": {
616
+ * "hostVer": "√",
617
+ * "uniVer": "√",
618
+ * "unixVer": "x"
619
+ * },
620
+ * "alipay": {
621
+ * "hostVer": "√",
622
+ * "uniVer": "√",
623
+ * "unixVer": "x"
624
+ * },
625
+ * "baidu": {
626
+ * "hostVer": "√",
627
+ * "uniVer": "√",
628
+ * "unixVer": "x"
629
+ * },
630
+ * "toutiao": {
631
+ * "hostVer": "√",
632
+ * "uniVer": "√",
633
+ * "unixVer": "x"
634
+ * },
635
+ * "lark": {
636
+ * "hostVer": "√",
637
+ * "uniVer": "√",
638
+ * "unixVer": "x"
639
+ * },
640
+ * "qq": {
641
+ * "hostVer": "√",
642
+ * "uniVer": "√",
643
+ * "unixVer": "x"
644
+ * },
645
+ * "kuaishou": {
646
+ * "hostVer": "√",
647
+ * "uniVer": "√",
648
+ * "unixVer": "x"
649
+ * },
650
+ * "jd": {
651
+ * "hostVer": "√",
652
+ * "uniVer": "√",
653
+ * "unixVer": "x"
654
+ * }
655
+ * },
656
+ * "web": {
657
+ * "uniVer": "√",
658
+ * "unixVer": "4.0"
659
+ * }
660
+ * }
661
+ */
662
+ success?: RedirectToSuccessCallback | null
663
+ /**
664
+ * 接口调用失败的回调函数
665
+ * @uniPlatform {
666
+ * "app": {
667
+ * "android": {
668
+ * "osVer": "5.0",
669
+ * "uniVer": "√",
670
+ * "unixVer": "√"
671
+ * },
672
+ * "ios": {
673
+ * "osVer": "12.0",
674
+ * "uniVer": "√",
675
+ * "unixVer": "4.11"
676
+ * },
677
+ * "harmony": {
678
+ * "osVer": "3.0",
679
+ * "uniVer": "4.23",
680
+ * "unixVer": "x"
681
+ * }
682
+ * },
683
+ * "mp": {
684
+ * "weixin": {
685
+ * "hostVer": "√",
686
+ * "uniVer": "√",
687
+ * "unixVer": "x"
688
+ * },
689
+ * "alipay": {
690
+ * "hostVer": "√",
691
+ * "uniVer": "√",
692
+ * "unixVer": "x"
693
+ * },
694
+ * "baidu": {
695
+ * "hostVer": "√",
696
+ * "uniVer": "√",
697
+ * "unixVer": "x"
698
+ * },
699
+ * "toutiao": {
700
+ * "hostVer": "√",
701
+ * "uniVer": "√",
702
+ * "unixVer": "x"
703
+ * },
704
+ * "lark": {
705
+ * "hostVer": "√",
706
+ * "uniVer": "√",
707
+ * "unixVer": "x"
708
+ * },
709
+ * "qq": {
710
+ * "hostVer": "√",
711
+ * "uniVer": "√",
712
+ * "unixVer": "x"
713
+ * },
714
+ * "kuaishou": {
715
+ * "hostVer": "√",
716
+ * "uniVer": "√",
717
+ * "unixVer": "x"
718
+ * },
719
+ * "jd": {
720
+ * "hostVer": "√",
721
+ * "uniVer": "√",
722
+ * "unixVer": "x"
723
+ * }
724
+ * },
725
+ * "web": {
726
+ * "uniVer": "√",
727
+ * "unixVer": "4.0"
728
+ * }
729
+ * }
730
+ */
731
+ fail?: RedirectToFailCallback | null
732
+ /**
733
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
734
+ * @uniPlatform {
735
+ * "app": {
736
+ * "android": {
737
+ * "osVer": "5.0",
738
+ * "uniVer": "√",
739
+ * "unixVer": "√"
740
+ * },
741
+ * "ios": {
742
+ * "osVer": "12.0",
743
+ * "uniVer": "√",
744
+ * "unixVer": "4.11"
745
+ * },
746
+ * "harmony": {
747
+ * "osVer": "3.0",
748
+ * "uniVer": "4.23",
749
+ * "unixVer": "x"
750
+ * }
751
+ * },
752
+ * "mp": {
753
+ * "weixin": {
754
+ * "hostVer": "√",
755
+ * "uniVer": "√",
756
+ * "unixVer": "x"
757
+ * },
758
+ * "alipay": {
759
+ * "hostVer": "√",
760
+ * "uniVer": "√",
761
+ * "unixVer": "x"
762
+ * },
763
+ * "baidu": {
764
+ * "hostVer": "√",
765
+ * "uniVer": "√",
766
+ * "unixVer": "x"
767
+ * },
768
+ * "toutiao": {
769
+ * "hostVer": "√",
770
+ * "uniVer": "√",
771
+ * "unixVer": "x"
772
+ * },
773
+ * "lark": {
774
+ * "hostVer": "√",
775
+ * "uniVer": "√",
776
+ * "unixVer": "x"
777
+ * },
778
+ * "qq": {
779
+ * "hostVer": "√",
780
+ * "uniVer": "√",
781
+ * "unixVer": "x"
782
+ * },
783
+ * "kuaishou": {
784
+ * "hostVer": "√",
785
+ * "uniVer": "√",
786
+ * "unixVer": "x"
787
+ * },
788
+ * "jd": {
789
+ * "hostVer": "√",
790
+ * "uniVer": "√",
791
+ * "unixVer": "x"
792
+ * }
793
+ * },
794
+ * "web": {
795
+ * "uniVer": "√",
796
+ * "unixVer": "4.0"
797
+ * }
798
+ * }
799
+ */
800
+ complete?: RedirectToCompleteCallback | null
801
+ }
802
+ export type ReLaunchSuccess = AsyncApiSuccessResult
803
+ type ReLaunchSuccessCallback = (result: ReLaunchSuccess) => void
804
+ export interface ReLaunchFail extends IUniError {
805
+ errCode: RouteErrorCode
806
+ }
807
+ type ReLaunchFailCallback = (result: ReLaunchFail) => void
808
+ export type ReLaunchComplete = AsyncApiResult
809
+ type ReLaunchCompleteCallback = (result: ReLaunchComplete) => void
810
+ export type ReLaunchOptions = {
811
+ /**
812
+ * 需要跳转的应用内页面路径 , 路径后可以带参数。参数与路径之间使用?分隔,参数键与参数值用=相连,不同参数用&分隔;如 'path?key=value&key2=value2',如果跳转的页面路径是 tabBar 页面则不能带参数
813
+ * @uniPlatform {
814
+ * "app": {
815
+ * "android": {
816
+ * "osVer": "5.0",
817
+ * "uniVer": "√",
818
+ * "unixVer": "√"
819
+ * },
820
+ * "ios": {
821
+ * "osVer": "12.0",
822
+ * "uniVer": "√",
823
+ * "unixVer": "4.11"
824
+ * },
825
+ * "harmony": {
826
+ * "osVer": "3.0",
827
+ * "uniVer": "4.23",
828
+ * "unixVer": "x"
829
+ * }
830
+ * },
831
+ * "mp": {
832
+ * "weixin": {
833
+ * "hostVer": "√",
834
+ * "uniVer": "√",
835
+ * "unixVer": "x"
836
+ * },
837
+ * "alipay": {
838
+ * "hostVer": "√",
839
+ * "uniVer": "√",
840
+ * "unixVer": "x"
841
+ * },
842
+ * "baidu": {
843
+ * "hostVer": "√",
844
+ * "uniVer": "√",
845
+ * "unixVer": "x"
846
+ * },
847
+ * "toutiao": {
848
+ * "hostVer": "√",
849
+ * "uniVer": "√",
850
+ * "unixVer": "x"
851
+ * },
852
+ * "lark": {
853
+ * "hostVer": "√",
854
+ * "uniVer": "√",
855
+ * "unixVer": "x"
856
+ * },
857
+ * "qq": {
858
+ * "hostVer": "√",
859
+ * "uniVer": "√",
860
+ * "unixVer": "x"
861
+ * },
862
+ * "kuaishou": {
863
+ * "hostVer": "√",
864
+ * "uniVer": "√",
865
+ * "unixVer": "x"
866
+ * },
867
+ * "jd": {
868
+ * "hostVer": "√",
869
+ * "uniVer": "√",
870
+ * "unixVer": "x"
871
+ * }
872
+ * },
873
+ * "web": {
874
+ * "uniVer": "√",
875
+ * "unixVer": "4.0"
876
+ * }
877
+ * }
878
+ */
879
+ url: string | string.PageURIString
880
+ /**
881
+ * 接口调用成功的回调函数
882
+ * @uniPlatform {
883
+ * "app": {
884
+ * "android": {
885
+ * "osVer": "5.0",
886
+ * "uniVer": "√",
887
+ * "unixVer": "√"
888
+ * },
889
+ * "ios": {
890
+ * "osVer": "12.0",
891
+ * "uniVer": "√",
892
+ * "unixVer": "4.11"
893
+ * },
894
+ * "harmony": {
895
+ * "osVer": "3.0",
896
+ * "uniVer": "4.23",
897
+ * "unixVer": "x"
898
+ * }
899
+ * },
900
+ * "mp": {
901
+ * "weixin": {
902
+ * "hostVer": "√",
903
+ * "uniVer": "√",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "alipay": {
907
+ * "hostVer": "√",
908
+ * "uniVer": "√",
909
+ * "unixVer": "x"
910
+ * },
911
+ * "baidu": {
912
+ * "hostVer": "√",
913
+ * "uniVer": "√",
914
+ * "unixVer": "x"
915
+ * },
916
+ * "toutiao": {
917
+ * "hostVer": "√",
918
+ * "uniVer": "√",
919
+ * "unixVer": "x"
920
+ * },
921
+ * "lark": {
922
+ * "hostVer": "√",
923
+ * "uniVer": "√",
924
+ * "unixVer": "x"
925
+ * },
926
+ * "qq": {
927
+ * "hostVer": "√",
928
+ * "uniVer": "√",
929
+ * "unixVer": "x"
930
+ * },
931
+ * "kuaishou": {
932
+ * "hostVer": "√",
933
+ * "uniVer": "√",
934
+ * "unixVer": "x"
935
+ * },
936
+ * "jd": {
937
+ * "hostVer": "√",
938
+ * "uniVer": "√",
939
+ * "unixVer": "x"
940
+ * }
941
+ * },
942
+ * "web": {
943
+ * "uniVer": "√",
944
+ * "unixVer": "4.0"
945
+ * }
946
+ * }
947
+ */
948
+ success?: ReLaunchSuccessCallback | null
949
+ /**
950
+ * 接口调用失败的回调函数
951
+ * @uniPlatform {
952
+ * "app": {
953
+ * "android": {
954
+ * "osVer": "5.0",
955
+ * "uniVer": "√",
956
+ * "unixVer": "√"
957
+ * },
958
+ * "ios": {
959
+ * "osVer": "12.0",
960
+ * "uniVer": "√",
961
+ * "unixVer": "4.11"
962
+ * },
963
+ * "harmony": {
964
+ * "osVer": "3.0",
965
+ * "uniVer": "4.23",
966
+ * "unixVer": "x"
967
+ * }
968
+ * },
969
+ * "mp": {
970
+ * "weixin": {
971
+ * "hostVer": "√",
972
+ * "uniVer": "√",
973
+ * "unixVer": "x"
974
+ * },
975
+ * "alipay": {
976
+ * "hostVer": "√",
977
+ * "uniVer": "√",
978
+ * "unixVer": "x"
979
+ * },
980
+ * "baidu": {
981
+ * "hostVer": "√",
982
+ * "uniVer": "√",
983
+ * "unixVer": "x"
984
+ * },
985
+ * "toutiao": {
986
+ * "hostVer": "√",
987
+ * "uniVer": "√",
988
+ * "unixVer": "x"
989
+ * },
990
+ * "lark": {
991
+ * "hostVer": "√",
992
+ * "uniVer": "√",
993
+ * "unixVer": "x"
994
+ * },
995
+ * "qq": {
996
+ * "hostVer": "√",
997
+ * "uniVer": "√",
998
+ * "unixVer": "x"
999
+ * },
1000
+ * "kuaishou": {
1001
+ * "hostVer": "√",
1002
+ * "uniVer": "√",
1003
+ * "unixVer": "x"
1004
+ * },
1005
+ * "jd": {
1006
+ * "hostVer": "√",
1007
+ * "uniVer": "√",
1008
+ * "unixVer": "x"
1009
+ * }
1010
+ * },
1011
+ * "web": {
1012
+ * "uniVer": "√",
1013
+ * "unixVer": "4.0"
1014
+ * }
1015
+ * }
1016
+ */
1017
+ fail?: ReLaunchFailCallback | null
1018
+ /**
1019
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1020
+ * @uniPlatform {
1021
+ * "app": {
1022
+ * "android": {
1023
+ * "osVer": "5.0",
1024
+ * "uniVer": "√",
1025
+ * "unixVer": "√"
1026
+ * },
1027
+ * "ios": {
1028
+ * "osVer": "12.0",
1029
+ * "uniVer": "√",
1030
+ * "unixVer": "4.11"
1031
+ * },
1032
+ * "harmony": {
1033
+ * "osVer": "3.0",
1034
+ * "uniVer": "4.23",
1035
+ * "unixVer": "x"
1036
+ * }
1037
+ * },
1038
+ * "mp": {
1039
+ * "weixin": {
1040
+ * "hostVer": "√",
1041
+ * "uniVer": "√",
1042
+ * "unixVer": "x"
1043
+ * },
1044
+ * "alipay": {
1045
+ * "hostVer": "√",
1046
+ * "uniVer": "√",
1047
+ * "unixVer": "x"
1048
+ * },
1049
+ * "baidu": {
1050
+ * "hostVer": "√",
1051
+ * "uniVer": "√",
1052
+ * "unixVer": "x"
1053
+ * },
1054
+ * "toutiao": {
1055
+ * "hostVer": "√",
1056
+ * "uniVer": "√",
1057
+ * "unixVer": "x"
1058
+ * },
1059
+ * "lark": {
1060
+ * "hostVer": "√",
1061
+ * "uniVer": "√",
1062
+ * "unixVer": "x"
1063
+ * },
1064
+ * "qq": {
1065
+ * "hostVer": "√",
1066
+ * "uniVer": "√",
1067
+ * "unixVer": "x"
1068
+ * },
1069
+ * "kuaishou": {
1070
+ * "hostVer": "√",
1071
+ * "uniVer": "√",
1072
+ * "unixVer": "x"
1073
+ * },
1074
+ * "jd": {
1075
+ * "hostVer": "√",
1076
+ * "uniVer": "√",
1077
+ * "unixVer": "x"
1078
+ * }
1079
+ * },
1080
+ * "web": {
1081
+ * "uniVer": "√",
1082
+ * "unixVer": "4.0"
1083
+ * }
1084
+ * }
1085
+ */
1086
+ complete?: ReLaunchCompleteCallback | null
1087
+ }
1088
+ export type SwitchTabSuccess = AsyncApiSuccessResult
1089
+ export type SwitchTabSuccessCallback = (result: SwitchTabSuccess) => void
1090
+
1091
+ export interface SwitchTabFail extends IUniError {
1092
+ errCode: RouteErrorCode
1093
+ }
1094
+
1095
+ export type SwitchTabFailCallback = (result: SwitchTabFail) => void
1096
+ export type SwitchTabComplete = AsyncApiResult
1097
+ export type SwitchTabCompleteCallback = (result: SwitchTabComplete) => void
1098
+ export type SwitchTabOptions = {
1099
+ /**
1100
+ * 需要跳转的 tabBar 页面的路径,路径后不能带参数
1101
+ * @uniPlatform {
1102
+ * "app": {
1103
+ * "android": {
1104
+ * "osVer": "5.0",
1105
+ * "uniVer": "√",
1106
+ * "unixVer": "√"
1107
+ * },
1108
+ * "ios": {
1109
+ * "osVer": "12.0",
1110
+ * "uniVer": "√",
1111
+ * "unixVer": "4.11"
1112
+ * },
1113
+ * "harmony": {
1114
+ * "osVer": "3.0",
1115
+ * "uniVer": "4.23",
1116
+ * "unixVer": "x"
1117
+ * }
1118
+ * },
1119
+ * "mp": {
1120
+ * "weixin": {
1121
+ * "hostVer": "√",
1122
+ * "uniVer": "√",
1123
+ * "unixVer": "x"
1124
+ * },
1125
+ * "alipay": {
1126
+ * "hostVer": "√",
1127
+ * "uniVer": "√",
1128
+ * "unixVer": "x"
1129
+ * },
1130
+ * "baidu": {
1131
+ * "hostVer": "√",
1132
+ * "uniVer": "√",
1133
+ * "unixVer": "x"
1134
+ * },
1135
+ * "toutiao": {
1136
+ * "hostVer": "√",
1137
+ * "uniVer": "√",
1138
+ * "unixVer": "x"
1139
+ * },
1140
+ * "lark": {
1141
+ * "hostVer": "√",
1142
+ * "uniVer": "√",
1143
+ * "unixVer": "x"
1144
+ * },
1145
+ * "qq": {
1146
+ * "hostVer": "√",
1147
+ * "uniVer": "√",
1148
+ * "unixVer": "x"
1149
+ * },
1150
+ * "kuaishou": {
1151
+ * "hostVer": "√",
1152
+ * "uniVer": "√",
1153
+ * "unixVer": "x"
1154
+ * },
1155
+ * "jd": {
1156
+ * "hostVer": "√",
1157
+ * "uniVer": "√",
1158
+ * "unixVer": "x"
1159
+ * }
1160
+ * },
1161
+ * "web": {
1162
+ * "uniVer": "√",
1163
+ * "unixVer": "4.0"
1164
+ * }
1165
+ * }
1166
+ */
1167
+ url: string | string.PageURIString
1168
+ /**
1169
+ * 接口调用成功的回调函数
1170
+ * @uniPlatform {
1171
+ * "app": {
1172
+ * "android": {
1173
+ * "osVer": "5.0",
1174
+ * "uniVer": "√",
1175
+ * "unixVer": "√"
1176
+ * },
1177
+ * "ios": {
1178
+ * "osVer": "12.0",
1179
+ * "uniVer": "√",
1180
+ * "unixVer": "4.11"
1181
+ * },
1182
+ * "harmony": {
1183
+ * "osVer": "3.0",
1184
+ * "uniVer": "4.23",
1185
+ * "unixVer": "x"
1186
+ * }
1187
+ * },
1188
+ * "mp": {
1189
+ * "weixin": {
1190
+ * "hostVer": "√",
1191
+ * "uniVer": "√",
1192
+ * "unixVer": "x"
1193
+ * },
1194
+ * "alipay": {
1195
+ * "hostVer": "√",
1196
+ * "uniVer": "√",
1197
+ * "unixVer": "x"
1198
+ * },
1199
+ * "baidu": {
1200
+ * "hostVer": "√",
1201
+ * "uniVer": "√",
1202
+ * "unixVer": "x"
1203
+ * },
1204
+ * "toutiao": {
1205
+ * "hostVer": "√",
1206
+ * "uniVer": "√",
1207
+ * "unixVer": "x"
1208
+ * },
1209
+ * "lark": {
1210
+ * "hostVer": "√",
1211
+ * "uniVer": "√",
1212
+ * "unixVer": "x"
1213
+ * },
1214
+ * "qq": {
1215
+ * "hostVer": "√",
1216
+ * "uniVer": "√",
1217
+ * "unixVer": "x"
1218
+ * },
1219
+ * "kuaishou": {
1220
+ * "hostVer": "√",
1221
+ * "uniVer": "√",
1222
+ * "unixVer": "x"
1223
+ * },
1224
+ * "jd": {
1225
+ * "hostVer": "√",
1226
+ * "uniVer": "√",
1227
+ * "unixVer": "x"
1228
+ * }
1229
+ * },
1230
+ * "web": {
1231
+ * "uniVer": "√",
1232
+ * "unixVer": "4.0"
1233
+ * }
1234
+ * }
1235
+ */
1236
+ success?: SwitchTabSuccessCallback | null
1237
+ /**
1238
+ * 接口调用失败的回调函数
1239
+ * @uniPlatform {
1240
+ * "app": {
1241
+ * "android": {
1242
+ * "osVer": "5.0",
1243
+ * "uniVer": "√",
1244
+ * "unixVer": "√"
1245
+ * },
1246
+ * "ios": {
1247
+ * "osVer": "12.0",
1248
+ * "uniVer": "√",
1249
+ * "unixVer": "4.11"
1250
+ * },
1251
+ * "harmony": {
1252
+ * "osVer": "3.0",
1253
+ * "uniVer": "4.23",
1254
+ * "unixVer": "x"
1255
+ * }
1256
+ * },
1257
+ * "mp": {
1258
+ * "weixin": {
1259
+ * "hostVer": "√",
1260
+ * "uniVer": "√",
1261
+ * "unixVer": "x"
1262
+ * },
1263
+ * "alipay": {
1264
+ * "hostVer": "√",
1265
+ * "uniVer": "√",
1266
+ * "unixVer": "x"
1267
+ * },
1268
+ * "baidu": {
1269
+ * "hostVer": "√",
1270
+ * "uniVer": "√",
1271
+ * "unixVer": "x"
1272
+ * },
1273
+ * "toutiao": {
1274
+ * "hostVer": "√",
1275
+ * "uniVer": "√",
1276
+ * "unixVer": "x"
1277
+ * },
1278
+ * "lark": {
1279
+ * "hostVer": "√",
1280
+ * "uniVer": "√",
1281
+ * "unixVer": "x"
1282
+ * },
1283
+ * "qq": {
1284
+ * "hostVer": "√",
1285
+ * "uniVer": "√",
1286
+ * "unixVer": "x"
1287
+ * },
1288
+ * "kuaishou": {
1289
+ * "hostVer": "√",
1290
+ * "uniVer": "√",
1291
+ * "unixVer": "x"
1292
+ * },
1293
+ * "jd": {
1294
+ * "hostVer": "√",
1295
+ * "uniVer": "√",
1296
+ * "unixVer": "x"
1297
+ * }
1298
+ * },
1299
+ * "web": {
1300
+ * "uniVer": "√",
1301
+ * "unixVer": "4.0"
1302
+ * }
1303
+ * }
1304
+ */
1305
+ fail?: SwitchTabFailCallback | null
1306
+ /**
1307
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1308
+ * @uniPlatform {
1309
+ * "app": {
1310
+ * "android": {
1311
+ * "osVer": "5.0",
1312
+ * "uniVer": "√",
1313
+ * "unixVer": "√"
1314
+ * },
1315
+ * "ios": {
1316
+ * "osVer": "12.0",
1317
+ * "uniVer": "√",
1318
+ * "unixVer": "4.11"
1319
+ * },
1320
+ * "harmony": {
1321
+ * "osVer": "3.0",
1322
+ * "uniVer": "4.23",
1323
+ * "unixVer": "x"
1324
+ * }
1325
+ * },
1326
+ * "mp": {
1327
+ * "weixin": {
1328
+ * "hostVer": "√",
1329
+ * "uniVer": "√",
1330
+ * "unixVer": "x"
1331
+ * },
1332
+ * "alipay": {
1333
+ * "hostVer": "√",
1334
+ * "uniVer": "√",
1335
+ * "unixVer": "x"
1336
+ * },
1337
+ * "baidu": {
1338
+ * "hostVer": "√",
1339
+ * "uniVer": "√",
1340
+ * "unixVer": "x"
1341
+ * },
1342
+ * "toutiao": {
1343
+ * "hostVer": "√",
1344
+ * "uniVer": "√",
1345
+ * "unixVer": "x"
1346
+ * },
1347
+ * "lark": {
1348
+ * "hostVer": "√",
1349
+ * "uniVer": "√",
1350
+ * "unixVer": "x"
1351
+ * },
1352
+ * "qq": {
1353
+ * "hostVer": "√",
1354
+ * "uniVer": "√",
1355
+ * "unixVer": "x"
1356
+ * },
1357
+ * "kuaishou": {
1358
+ * "hostVer": "√",
1359
+ * "uniVer": "√",
1360
+ * "unixVer": "x"
1361
+ * },
1362
+ * "jd": {
1363
+ * "hostVer": "√",
1364
+ * "uniVer": "√",
1365
+ * "unixVer": "x"
1366
+ * }
1367
+ * },
1368
+ * "web": {
1369
+ * "uniVer": "√",
1370
+ * "unixVer": "4.0"
1371
+ * }
1372
+ * }
1373
+ */
1374
+ complete?: SwitchTabCompleteCallback | null
1375
+ }
1376
+ export type NavigateBackSuccess = AsyncApiSuccessResult
1377
+ type NavigateBackSuccessCallback = (result: NavigateBackSuccess) => void
1378
+ export interface NavigateBackFail extends IUniError {
1379
+ errCode: RouteErrorCode
1380
+ }
1381
+ type NavigateBackFailCallback = (result: NavigateBackFail) => void
1382
+ export type NavigateBackComplete = AsyncApiResult
1383
+ type NavigateBackCompleteCallback = (result: NavigateBackComplete) => void
1384
+ export type NavigateBackOptions = {
1385
+ /**
1386
+ * 返回的页面数,如果 delta 大于现有页面数,则返回到首页
1387
+ * @uniPlatform {
1388
+ * "app": {
1389
+ * "android": {
1390
+ * "osVer": "5.0",
1391
+ * "uniVer": "√",
1392
+ * "unixVer": "√"
1393
+ * },
1394
+ * "ios": {
1395
+ * "osVer": "12.0",
1396
+ * "uniVer": "√",
1397
+ * "unixVer": "4.11"
1398
+ * },
1399
+ * "harmony": {
1400
+ * "osVer": "3.0",
1401
+ * "uniVer": "4.23",
1402
+ * "unixVer": "x"
1403
+ * }
1404
+ * },
1405
+ * "mp": {
1406
+ * "weixin": {
1407
+ * "hostVer": "√",
1408
+ * "uniVer": "√",
1409
+ * "unixVer": "x"
1410
+ * },
1411
+ * "alipay": {
1412
+ * "hostVer": "√",
1413
+ * "uniVer": "√",
1414
+ * "unixVer": "x"
1415
+ * },
1416
+ * "baidu": {
1417
+ * "hostVer": "√",
1418
+ * "uniVer": "√",
1419
+ * "unixVer": "x"
1420
+ * },
1421
+ * "toutiao": {
1422
+ * "hostVer": "√",
1423
+ * "uniVer": "√",
1424
+ * "unixVer": "x"
1425
+ * },
1426
+ * "lark": {
1427
+ * "hostVer": "√",
1428
+ * "uniVer": "√",
1429
+ * "unixVer": "x"
1430
+ * },
1431
+ * "qq": {
1432
+ * "hostVer": "√",
1433
+ * "uniVer": "√",
1434
+ * "unixVer": "x"
1435
+ * },
1436
+ * "kuaishou": {
1437
+ * "hostVer": "√",
1438
+ * "uniVer": "√",
1439
+ * "unixVer": "x"
1440
+ * },
1441
+ * "jd": {
1442
+ * "hostVer": "√",
1443
+ * "uniVer": "√",
1444
+ * "unixVer": "x"
1445
+ * }
1446
+ * },
1447
+ * "web": {
1448
+ * "uniVer": "√",
1449
+ * "unixVer": "4.0"
1450
+ * }
1451
+ * }
1452
+ */
1453
+ delta?: number | null
1454
+ /**
1455
+ * 窗口关闭的动画类型
1456
+ * - auto: 自动选择动画效果
1457
+ * - none: 无动画效果
1458
+ * - slide-out-right: 横向向右侧滑出屏幕动画
1459
+ * - slide-out-left: 横向向左侧滑出屏幕动画
1460
+ * - slide-out-top: 竖向向上侧滑出屏幕动画
1461
+ * - slide-out-bottom: 竖向向下侧滑出屏幕动画
1462
+ * - fade-out: 从不透明到透明逐渐隐藏动画
1463
+ * - zoom-in: 从大逐渐缩小关闭动画
1464
+ * - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
1465
+ * - pop-out: 从右侧平移出栈动画效果
1466
+ * - UnionType => 'auto' | 'none' | 'slide-out-right' | 'slide-out-left' | 'slide-out-top' | 'slide-out-bottom' | 'fade-out' | 'zoom-in' | 'zoom-fade-in' | 'pop-out'
1467
+ * @uniPlatform {
1468
+ * "app": {
1469
+ * "android": {
1470
+ * "osVer": "5.0",
1471
+ * "uniVer": "√",
1472
+ * "unixVer": "4.18"
1473
+ * },
1474
+ * "ios": {
1475
+ * "osVer": "12.0",
1476
+ * "uniVer": "√",
1477
+ * "unixVer": "4.25"
1478
+ * }
1479
+ * },
1480
+ * "mp": {
1481
+ * "weixin": {
1482
+ * "hostVer": "√",
1483
+ * "uniVer": "√",
1484
+ * "unixVer": "x"
1485
+ * },
1486
+ * "alipay": {
1487
+ * "hostVer": "√",
1488
+ * "uniVer": "√",
1489
+ * "unixVer": "x"
1490
+ * },
1491
+ * "baidu": {
1492
+ * "hostVer": "√",
1493
+ * "uniVer": "√",
1494
+ * "unixVer": "x"
1495
+ * },
1496
+ * "toutiao": {
1497
+ * "hostVer": "√",
1498
+ * "uniVer": "√",
1499
+ * "unixVer": "x"
1500
+ * },
1501
+ * "lark": {
1502
+ * "hostVer": "√",
1503
+ * "uniVer": "√",
1504
+ * "unixVer": "x"
1505
+ * },
1506
+ * "qq": {
1507
+ * "hostVer": "√",
1508
+ * "uniVer": "√",
1509
+ * "unixVer": "x"
1510
+ * },
1511
+ * "kuaishou": {
1512
+ * "hostVer": "√",
1513
+ * "uniVer": "√",
1514
+ * "unixVer": "x"
1515
+ * },
1516
+ * "jd": {
1517
+ * "hostVer": "√",
1518
+ * "uniVer": "√",
1519
+ * "unixVer": "x"
1520
+ * }
1521
+ * },
1522
+ * "web": {
1523
+ * "uniVer": "x",
1524
+ * "unixVer": "x"
1525
+ * }
1526
+ * }
1527
+ */
1528
+ animationType?: string | null
1529
+ /**
1530
+ * 窗口关闭动画的持续时间,单位为 ms
1531
+ * @uniPlatform {
1532
+ * "app": {
1533
+ * "android": {
1534
+ * "osVer": "5.0",
1535
+ * "uniVer": "√",
1536
+ * "unixVer": "x"
1537
+ * },
1538
+ * "ios": {
1539
+ * "osVer": "12.0",
1540
+ * "uniVer": "√",
1541
+ * "unixVer": "x"
1542
+ * }
1543
+ * },
1544
+ * "mp": {
1545
+ * "weixin": {
1546
+ * "hostVer": "√",
1547
+ * "uniVer": "√",
1548
+ * "unixVer": "x"
1549
+ * },
1550
+ * "alipay": {
1551
+ * "hostVer": "√",
1552
+ * "uniVer": "√",
1553
+ * "unixVer": "x"
1554
+ * },
1555
+ * "baidu": {
1556
+ * "hostVer": "√",
1557
+ * "uniVer": "√",
1558
+ * "unixVer": "x"
1559
+ * },
1560
+ * "toutiao": {
1561
+ * "hostVer": "√",
1562
+ * "uniVer": "√",
1563
+ * "unixVer": "x"
1564
+ * },
1565
+ * "lark": {
1566
+ * "hostVer": "√",
1567
+ * "uniVer": "√",
1568
+ * "unixVer": "x"
1569
+ * },
1570
+ * "qq": {
1571
+ * "hostVer": "√",
1572
+ * "uniVer": "√",
1573
+ * "unixVer": "x"
1574
+ * },
1575
+ * "kuaishou": {
1576
+ * "hostVer": "√",
1577
+ * "uniVer": "√",
1578
+ * "unixVer": "x"
1579
+ * },
1580
+ * "jd": {
1581
+ * "hostVer": "√",
1582
+ * "uniVer": "√",
1583
+ * "unixVer": "x"
1584
+ * }
1585
+ * },
1586
+ * "web": {
1587
+ * "uniVer": "x",
1588
+ * "unixVer": "x"
1589
+ * }
1590
+ * }
1591
+ */
1592
+ animationDuration?: number | null
1593
+ /**
1594
+ * 接口调用成功的回调函数
1595
+ * @uniPlatform {
1596
+ * "app": {
1597
+ * "android": {
1598
+ * "osVer": "5.0",
1599
+ * "uniVer": "√",
1600
+ * "unixVer": "√"
1601
+ * },
1602
+ * "ios": {
1603
+ * "osVer": "12.0",
1604
+ * "uniVer": "√",
1605
+ * "unixVer": "x"
1606
+ * }
1607
+ * },
1608
+ * "mp": {
1609
+ * "weixin": {
1610
+ * "hostVer": "√",
1611
+ * "uniVer": "√",
1612
+ * "unixVer": "x"
1613
+ * },
1614
+ * "alipay": {
1615
+ * "hostVer": "√",
1616
+ * "uniVer": "√",
1617
+ * "unixVer": "x"
1618
+ * },
1619
+ * "baidu": {
1620
+ * "hostVer": "√",
1621
+ * "uniVer": "√",
1622
+ * "unixVer": "x"
1623
+ * },
1624
+ * "toutiao": {
1625
+ * "hostVer": "√",
1626
+ * "uniVer": "√",
1627
+ * "unixVer": "x"
1628
+ * },
1629
+ * "lark": {
1630
+ * "hostVer": "√",
1631
+ * "uniVer": "√",
1632
+ * "unixVer": "x"
1633
+ * },
1634
+ * "qq": {
1635
+ * "hostVer": "√",
1636
+ * "uniVer": "√",
1637
+ * "unixVer": "x"
1638
+ * },
1639
+ * "kuaishou": {
1640
+ * "hostVer": "√",
1641
+ * "uniVer": "√",
1642
+ * "unixVer": "x"
1643
+ * },
1644
+ * "jd": {
1645
+ * "hostVer": "√",
1646
+ * "uniVer": "√",
1647
+ * "unixVer": "x"
1648
+ * }
1649
+ * },
1650
+ * "web": {
1651
+ * "uniVer": "√",
1652
+ * "unixVer": "4.0"
1653
+ * }
1654
+ * }
1655
+ */
1656
+ success?: NavigateBackSuccessCallback | null
1657
+ /**
1658
+ * 接口调用失败的回调函数
1659
+ * @uniPlatform {
1660
+ * "app": {
1661
+ * "android": {
1662
+ * "osVer": "5.0",
1663
+ * "uniVer": "√",
1664
+ * "unixVer": "√"
1665
+ * },
1666
+ * "ios": {
1667
+ * "osVer": "12.0",
1668
+ * "uniVer": "√",
1669
+ * "unixVer": "4.11"
1670
+ * },
1671
+ * "harmony": {
1672
+ * "osVer": "3.0",
1673
+ * "uniVer": "4.23",
1674
+ * "unixVer": "x"
1675
+ * }
1676
+ * },
1677
+ * "mp": {
1678
+ * "weixin": {
1679
+ * "hostVer": "√",
1680
+ * "uniVer": "√",
1681
+ * "unixVer": "x"
1682
+ * },
1683
+ * "alipay": {
1684
+ * "hostVer": "√",
1685
+ * "uniVer": "√",
1686
+ * "unixVer": "x"
1687
+ * },
1688
+ * "baidu": {
1689
+ * "hostVer": "√",
1690
+ * "uniVer": "√",
1691
+ * "unixVer": "x"
1692
+ * },
1693
+ * "toutiao": {
1694
+ * "hostVer": "√",
1695
+ * "uniVer": "√",
1696
+ * "unixVer": "x"
1697
+ * },
1698
+ * "lark": {
1699
+ * "hostVer": "√",
1700
+ * "uniVer": "√",
1701
+ * "unixVer": "x"
1702
+ * },
1703
+ * "qq": {
1704
+ * "hostVer": "√",
1705
+ * "uniVer": "√",
1706
+ * "unixVer": "x"
1707
+ * },
1708
+ * "kuaishou": {
1709
+ * "hostVer": "√",
1710
+ * "uniVer": "√",
1711
+ * "unixVer": "x"
1712
+ * },
1713
+ * "jd": {
1714
+ * "hostVer": "√",
1715
+ * "uniVer": "√",
1716
+ * "unixVer": "x"
1717
+ * }
1718
+ * },
1719
+ * "web": {
1720
+ * "uniVer": "√",
1721
+ * "unixVer": "4.0"
1722
+ * }
1723
+ * }
1724
+ */
1725
+ fail?: NavigateBackFailCallback | null
1726
+ /**
1727
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1728
+ * @uniPlatform {
1729
+ * "app": {
1730
+ * "android": {
1731
+ * "osVer": "5.0",
1732
+ * "uniVer": "√",
1733
+ * "unixVer": "√"
1734
+ * },
1735
+ * "ios": {
1736
+ * "osVer": "12.0",
1737
+ * "uniVer": "√",
1738
+ * "unixVer": "4.11"
1739
+ * },
1740
+ * "harmony": {
1741
+ * "osVer": "3.0",
1742
+ * "uniVer": "4.23",
1743
+ * "unixVer": "x"
1744
+ * }
1745
+ * },
1746
+ * "mp": {
1747
+ * "weixin": {
1748
+ * "hostVer": "√",
1749
+ * "uniVer": "√",
1750
+ * "unixVer": "x"
1751
+ * },
1752
+ * "alipay": {
1753
+ * "hostVer": "√",
1754
+ * "uniVer": "√",
1755
+ * "unixVer": "x"
1756
+ * },
1757
+ * "baidu": {
1758
+ * "hostVer": "√",
1759
+ * "uniVer": "√",
1760
+ * "unixVer": "x"
1761
+ * },
1762
+ * "toutiao": {
1763
+ * "hostVer": "√",
1764
+ * "uniVer": "√",
1765
+ * "unixVer": "x"
1766
+ * },
1767
+ * "lark": {
1768
+ * "hostVer": "√",
1769
+ * "uniVer": "√",
1770
+ * "unixVer": "x"
1771
+ * },
1772
+ * "qq": {
1773
+ * "hostVer": "√",
1774
+ * "uniVer": "√",
1775
+ * "unixVer": "x"
1776
+ * },
1777
+ * "kuaishou": {
1778
+ * "hostVer": "√",
1779
+ * "uniVer": "√",
1780
+ * "unixVer": "x"
1781
+ * },
1782
+ * "jd": {
1783
+ * "hostVer": "√",
1784
+ * "uniVer": "√",
1785
+ * "unixVer": "x"
1786
+ * }
1787
+ * },
1788
+ * "web": {
1789
+ * "uniVer": "√",
1790
+ * "unixVer": "4.0"
1791
+ * }
1792
+ * }
1793
+ */
1794
+ complete?: NavigateBackCompleteCallback | null
1795
+ }
1796
+
1797
+ export interface Uni {
1798
+ /**
1799
+ * 保留当前页面,跳转到应用内的某个页面
1800
+ *
1801
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#navigateto
1802
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1803
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1804
+ * @uniPlatform {
1805
+ * "app": {
1806
+ * "android": {
1807
+ * "osVer": "5.0",
1808
+ * "uniVer": "√",
1809
+ * "unixVer": "√"
1810
+ * },
1811
+ * "ios": {
1812
+ * "osVer": "12.0",
1813
+ * "uniVer": "√",
1814
+ * "unixVer": "4.11"
1815
+ * },
1816
+ * "harmony": {
1817
+ * "osVer": "3.0",
1818
+ * "uniVer": "4.23",
1819
+ * "unixVer": "x"
1820
+ * }
1821
+ * },
1822
+ * "mp": {
1823
+ * "weixin": {
1824
+ * "hostVer": "√",
1825
+ * "uniVer": "√",
1826
+ * "unixVer": "x"
1827
+ * },
1828
+ * "alipay": {
1829
+ * "hostVer": "√",
1830
+ * "uniVer": "√",
1831
+ * "unixVer": "x"
1832
+ * },
1833
+ * "baidu": {
1834
+ * "hostVer": "√",
1835
+ * "uniVer": "√",
1836
+ * "unixVer": "x"
1837
+ * },
1838
+ * "toutiao": {
1839
+ * "hostVer": "√",
1840
+ * "uniVer": "√",
1841
+ * "unixVer": "x"
1842
+ * },
1843
+ * "lark": {
1844
+ * "hostVer": "√",
1845
+ * "uniVer": "√",
1846
+ * "unixVer": "x"
1847
+ * },
1848
+ * "qq": {
1849
+ * "hostVer": "√",
1850
+ * "uniVer": "√",
1851
+ * "unixVer": "x"
1852
+ * },
1853
+ * "kuaishou": {
1854
+ * "hostVer": "√",
1855
+ * "uniVer": "√",
1856
+ * "unixVer": "x"
1857
+ * },
1858
+ * "jd": {
1859
+ * "hostVer": "√",
1860
+ * "uniVer": "√",
1861
+ * "unixVer": "x"
1862
+ * }
1863
+ * },
1864
+ * "web": {
1865
+ * "uniVer": "√",
1866
+ * "unixVer": "4.0"
1867
+ * }
1868
+ * }
1869
+ */
1870
+ navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
1871
+ /**
1872
+ * 关闭当前页面,跳转到应用内的某个页面
1873
+ *
1874
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#redirectto
1875
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1876
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1877
+ * @uniPlatform {
1878
+ * "app": {
1879
+ * "android": {
1880
+ * "osVer": "5.0",
1881
+ * "uniVer": "√",
1882
+ * "unixVer": "√"
1883
+ * },
1884
+ * "ios": {
1885
+ * "osVer": "12.0",
1886
+ * "uniVer": "√",
1887
+ * "unixVer": "4.11"
1888
+ * },
1889
+ * "harmony": {
1890
+ * "osVer": "3.0",
1891
+ * "uniVer": "4.23",
1892
+ * "unixVer": "x"
1893
+ * }
1894
+ * },
1895
+ * "mp": {
1896
+ * "weixin": {
1897
+ * "hostVer": "√",
1898
+ * "uniVer": "√",
1899
+ * "unixVer": "x"
1900
+ * },
1901
+ * "alipay": {
1902
+ * "hostVer": "√",
1903
+ * "uniVer": "√",
1904
+ * "unixVer": "x"
1905
+ * },
1906
+ * "baidu": {
1907
+ * "hostVer": "√",
1908
+ * "uniVer": "√",
1909
+ * "unixVer": "x"
1910
+ * },
1911
+ * "toutiao": {
1912
+ * "hostVer": "√",
1913
+ * "uniVer": "√",
1914
+ * "unixVer": "x"
1915
+ * },
1916
+ * "lark": {
1917
+ * "hostVer": "√",
1918
+ * "uniVer": "√",
1919
+ * "unixVer": "x"
1920
+ * },
1921
+ * "qq": {
1922
+ * "hostVer": "√",
1923
+ * "uniVer": "√",
1924
+ * "unixVer": "x"
1925
+ * },
1926
+ * "kuaishou": {
1927
+ * "hostVer": "√",
1928
+ * "uniVer": "√",
1929
+ * "unixVer": "x"
1930
+ * },
1931
+ * "jd": {
1932
+ * "hostVer": "√",
1933
+ * "uniVer": "√",
1934
+ * "unixVer": "x"
1935
+ * }
1936
+ * },
1937
+ * "web": {
1938
+ * "uniVer": "√",
1939
+ * "unixVer": "4.0"
1940
+ * }
1941
+ * }
1942
+ */
1943
+ redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
1944
+ /**
1945
+ * 关闭所有页面,打开到应用内的某个页面
1946
+ *
1947
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#relaunch
1948
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
1949
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
1950
+ * @uniPlatform {
1951
+ * "app": {
1952
+ * "android": {
1953
+ * "osVer": "5.0",
1954
+ * "uniVer": "√",
1955
+ * "unixVer": "√"
1956
+ * },
1957
+ * "ios": {
1958
+ * "osVer": "12.0",
1959
+ * "uniVer": "√",
1960
+ * "unixVer": "4.11"
1961
+ * },
1962
+ * "harmony": {
1963
+ * "osVer": "3.0",
1964
+ * "uniVer": "4.23",
1965
+ * "unixVer": "x"
1966
+ * }
1967
+ * },
1968
+ * "mp": {
1969
+ * "weixin": {
1970
+ * "hostVer": "√",
1971
+ * "uniVer": "√",
1972
+ * "unixVer": "x"
1973
+ * },
1974
+ * "alipay": {
1975
+ * "hostVer": "√",
1976
+ * "uniVer": "√",
1977
+ * "unixVer": "x"
1978
+ * },
1979
+ * "baidu": {
1980
+ * "hostVer": "√",
1981
+ * "uniVer": "√",
1982
+ * "unixVer": "x"
1983
+ * },
1984
+ * "toutiao": {
1985
+ * "hostVer": "√",
1986
+ * "uniVer": "√",
1987
+ * "unixVer": "x"
1988
+ * },
1989
+ * "lark": {
1990
+ * "hostVer": "√",
1991
+ * "uniVer": "√",
1992
+ * "unixVer": "x"
1993
+ * },
1994
+ * "qq": {
1995
+ * "hostVer": "√",
1996
+ * "uniVer": "√",
1997
+ * "unixVer": "x"
1998
+ * },
1999
+ * "kuaishou": {
2000
+ * "hostVer": "√",
2001
+ * "uniVer": "√",
2002
+ * "unixVer": "x"
2003
+ * },
2004
+ * "jd": {
2005
+ * "hostVer": "√",
2006
+ * "uniVer": "√",
2007
+ * "unixVer": "x"
2008
+ * }
2009
+ * },
2010
+ * "web": {
2011
+ * "uniVer": "√",
2012
+ * "unixVer": "4.0"
2013
+ * }
2014
+ * }
2015
+ */
2016
+ reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
2017
+ /**
2018
+ * 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
2019
+ *
2020
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#switchtab
2021
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2022
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
2023
+ * @uniPlatform {
2024
+ * "app": {
2025
+ * "android": {
2026
+ * "osVer": "5.0",
2027
+ * "uniVer": "√",
2028
+ * "unixVer": "√"
2029
+ * },
2030
+ * "ios": {
2031
+ * "osVer": "12.0",
2032
+ * "uniVer": "√",
2033
+ * "unixVer": "4.11"
2034
+ * },
2035
+ * "harmony": {
2036
+ * "osVer": "3.0",
2037
+ * "uniVer": "4.23",
2038
+ * "unixVer": "x"
2039
+ * }
2040
+ * },
2041
+ * "mp": {
2042
+ * "weixin": {
2043
+ * "hostVer": "√",
2044
+ * "uniVer": "√",
2045
+ * "unixVer": "x"
2046
+ * },
2047
+ * "alipay": {
2048
+ * "hostVer": "√",
2049
+ * "uniVer": "√",
2050
+ * "unixVer": "x"
2051
+ * },
2052
+ * "baidu": {
2053
+ * "hostVer": "√",
2054
+ * "uniVer": "√",
2055
+ * "unixVer": "x"
2056
+ * },
2057
+ * "toutiao": {
2058
+ * "hostVer": "√",
2059
+ * "uniVer": "√",
2060
+ * "unixVer": "x"
2061
+ * },
2062
+ * "lark": {
2063
+ * "hostVer": "√",
2064
+ * "uniVer": "√",
2065
+ * "unixVer": "x"
2066
+ * },
2067
+ * "qq": {
2068
+ * "hostVer": "√",
2069
+ * "uniVer": "√",
2070
+ * "unixVer": "x"
2071
+ * },
2072
+ * "kuaishou": {
2073
+ * "hostVer": "√",
2074
+ * "uniVer": "√",
2075
+ * "unixVer": "x"
2076
+ * },
2077
+ * "jd": {
2078
+ * "hostVer": "√",
2079
+ * "uniVer": "√",
2080
+ * "unixVer": "x"
2081
+ * }
2082
+ * },
2083
+ * "web": {
2084
+ * "uniVer": "√",
2085
+ * "unixVer": "4.0"
2086
+ * }
2087
+ * }
2088
+ */
2089
+ switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
2090
+ /**
2091
+ * 关闭当前页面,返回上一页面或多级页面
2092
+ *
2093
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/router.html#navigateback
2094
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2095
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
2096
+ * @uniPlatform {
2097
+ * "app": {
2098
+ * "android": {
2099
+ * "osVer": "5.0",
2100
+ * "uniVer": "√",
2101
+ * "unixVer": "√"
2102
+ * },
2103
+ * "ios": {
2104
+ * "osVer": "12.0",
2105
+ * "uniVer": "√",
2106
+ * "unixVer": "4.11"
2107
+ * },
2108
+ * "harmony": {
2109
+ * "osVer": "3.0",
2110
+ * "uniVer": "4.23",
2111
+ * "unixVer": "x"
2112
+ * }
2113
+ * },
2114
+ * "mp": {
2115
+ * "weixin": {
2116
+ * "hostVer": "√",
2117
+ * "uniVer": "√",
2118
+ * "unixVer": "x"
2119
+ * },
2120
+ * "alipay": {
2121
+ * "hostVer": "√",
2122
+ * "uniVer": "√",
2123
+ * "unixVer": "x"
2124
+ * },
2125
+ * "baidu": {
2126
+ * "hostVer": "√",
2127
+ * "uniVer": "√",
2128
+ * "unixVer": "x"
2129
+ * },
2130
+ * "toutiao": {
2131
+ * "hostVer": "√",
2132
+ * "uniVer": "√",
2133
+ * "unixVer": "x"
2134
+ * },
2135
+ * "lark": {
2136
+ * "hostVer": "√",
2137
+ * "uniVer": "√",
2138
+ * "unixVer": "x"
2139
+ * },
2140
+ * "qq": {
2141
+ * "hostVer": "√",
2142
+ * "uniVer": "√",
2143
+ * "unixVer": "x"
2144
+ * },
2145
+ * "kuaishou": {
2146
+ * "hostVer": "√",
2147
+ * "uniVer": "√",
2148
+ * "unixVer": "x"
2149
+ * },
2150
+ * "jd": {
2151
+ * "hostVer": "√",
2152
+ * "uniVer": "√",
2153
+ * "unixVer": "x"
2154
+ * }
2155
+ * },
2156
+ * "web": {
2157
+ * "uniVer": "√",
2158
+ * "unixVer": "4.0"
2159
+ * }
2160
+ * }
2161
+ */
2162
+ navigateBack(
2163
+ options?: NavigateBackOptions | null,
2164
+ ): Promise<NavigateBackSuccess> | null
2165
+ }