@dcloudio/uni-app-x 0.7.19 → 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 (335) 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 -842
  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 -2047
  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 -57
  86. package/types/uni/uts-plugin-api/index.d.ts +58 -57
  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 -0
  97. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +29 -0
  98. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +161 -0
  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 -242
  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 -427
  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 -32
  175. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +14 -15
  176. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +375 -375
  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 -74
  225. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +38 -36
  226. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +193 -8
  227. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +28 -28
  228. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +13 -13
  229. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +189 -189
  230. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  231. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  232. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2165 -2165
  233. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  234. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  235. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +38 -38
  236. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -24
  237. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -11
  238. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -73
  239. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  240. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  241. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +600 -600
  242. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +148 -148
  243. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +73 -73
  244. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1086 -1086
  245. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -42
  246. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -20
  247. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/global.d.ts +112 -112
  248. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -55
  249. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  250. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  251. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +844 -844
  252. package/types/uni/uts-plugin-biz/global.d.ts +4 -4
  253. package/types/uni/uts-plugin-biz/index.d.ts +4 -4
  254. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -36
  255. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +17 -17
  256. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +141 -141
  257. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  258. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  259. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +160 -160
  260. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +60 -60
  261. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +29 -29
  262. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +808 -778
  263. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -46
  264. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +22 -22
  265. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +207 -207
  266. package/types/uni/uts-plugin-component/global.d.ts +1 -1
  267. package/types/uni/uts-plugin-component/index.d.ts +1 -1
  268. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +64 -64
  269. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +31 -31
  270. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +522 -522
  271. package/types/uni/uts-plugin-extend/README.md +3 -3
  272. package/types/uni/uts-plugin-extend/global.d.ts +14 -14
  273. package/types/uni/uts-plugin-extend/index.d.ts +14 -14
  274. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -12
  275. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -1
  276. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -365
  277. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -23
  278. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -10
  279. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -710
  280. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -21
  281. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -9
  282. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -151
  283. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -25
  284. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -11
  285. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -363
  286. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -11
  287. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -4
  288. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -224
  289. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -53
  290. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -25
  291. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +487 -487
  292. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -13
  293. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -5
  294. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -126
  295. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -7
  296. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -1
  297. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -296
  298. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -15
  299. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -1
  300. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -229
  301. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -14
  302. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -1
  303. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -559
  304. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -9
  305. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -1
  306. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -163
  307. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -21
  308. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -9
  309. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -143
  310. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -7
  311. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -1
  312. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -106
  313. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -9
  314. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -1
  315. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -165
  316. package/types/uni-cloud/index.d.ts +67 -63
  317. package/types/uni-cloud/interface.d.ts +987 -991
  318. package/types/uni-cloud/unicloud-db/index.ts +314 -314
  319. package/types/uni-global/index.d.ts +1 -1
  320. package/types/vue/CheckboxGroupChangeEvent.d.ts +41 -41
  321. package/types/vue/LifeCycle.d.ts +55 -55
  322. package/types/vue/PickerViewChangeEvent.d.ts +41 -41
  323. package/types/vue/ProgressActiveendEvent.d.ts +32 -32
  324. package/types/vue/RadioGroupChangeEvent.d.ts +41 -41
  325. package/types/vue/SliderChangeEvent.d.ts +35 -35
  326. package/types/vue/SwitchChangeEvent.d.ts +32 -32
  327. package/types/vue/UniCanvasElement.d.ts +275 -275
  328. package/types/vue/UniCloudDBElement.d.ts +217 -217
  329. package/types/vue/UniFormElement.d.ts +54 -54
  330. package/types/vue/UniNavigatorElement.d.ts +11 -11
  331. package/types/vue/global.d.ts +191 -191
  332. package/types/vue/index.d.ts +10 -10
  333. package/types/vue-global/index.d.ts +1 -1
  334. package/uts-plugin.d.ts +27 -27
  335. package/types/shim-uts-basic.d.ts +0 -4495
@@ -1,1336 +1,1336 @@
1
- import {
2
- Page,
3
- UniDialogPage,
4
- } from '@dcloudio/uni-runtime'
5
-
6
- /**
7
- * 路由错误码
8
- * - 4: 框架内部异常
9
- */
10
- export type RouteErrorCode = 4
11
-
12
- /**
13
- *
14
- * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
15
- */
16
- export type EventChannel = {}
17
-
18
- export type OpenDialogPageSuccess = AsyncApiSuccessResult
19
- type OpenDialogPageSuccessCallback = (result: OpenDialogPageSuccess) => void
20
- export interface OpenDialogPageFail extends IUniError {
21
- errCode: RouteErrorCode
22
- }
23
- type OpenDialogPageFailCallback = (result: OpenDialogPageFail) => void
24
- export type OpenDialogPageComplete = AsyncApiResult
25
- type OpenDialogPageCompleteCallback = (result: OpenDialogPageComplete) => void
26
- export type OpenDialogPageOptions = {
27
- /**
28
- * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
29
- * @uniPlatform {
30
- * "app": {
31
- * "android": {
32
- * "osVer": "5.0",
33
- * "uniVer": "x",
34
- * "unixVer": "x"
35
- * },
36
- * "ios": {
37
- * "osVer": "12.0",
38
- * "uniVer": "x",
39
- * "unixVer": "x"
40
- * },
41
- * "harmony": {
42
- * "osVer": "3.0",
43
- * "uniVer": "x",
44
- * "unixVer": "x"
45
- * }
46
- * },
47
- * "mp": {
48
- * "weixin": {
49
- * "hostVer": "√",
50
- * "uniVer": "x",
51
- * "unixVer": "x"
52
- * },
53
- * "alipay": {
54
- * "hostVer": "√",
55
- * "uniVer": "x",
56
- * "unixVer": "x"
57
- * },
58
- * "baidu": {
59
- * "hostVer": "√",
60
- * "uniVer": "x",
61
- * "unixVer": "x"
62
- * },
63
- * "toutiao": {
64
- * "hostVer": "√",
65
- * "uniVer": "x",
66
- * "unixVer": "x"
67
- * },
68
- * "lark": {
69
- * "hostVer": "√",
70
- * "uniVer": "x",
71
- * "unixVer": "x"
72
- * },
73
- * "qq": {
74
- * "hostVer": "√",
75
- * "uniVer": "x",
76
- * "unixVer": "x"
77
- * },
78
- * "kuaishou": {
79
- * "hostVer": "√",
80
- * "uniVer": "x",
81
- * "unixVer": "x"
82
- * },
83
- * "jd": {
84
- * "hostVer": "√",
85
- * "uniVer": "x",
86
- * "unixVer": "x"
87
- * }
88
- * },
89
- * "web": {
90
- * "uniVer": "x",
91
- * "unixVer": "x"
92
- * }
93
- * }
94
- */
95
- url: string | string.PageURIString
96
- /**
97
- * 窗口显示的动画类型
98
- * - auto: 自动选择动画效果
99
- * - none: 无动画效果
100
- * - slide-in-right: 从右侧横向滑动效果
101
- * - slide-in-left: 左侧横向滑动效果
102
- * - slide-in-top: 从上侧竖向滑动效果
103
- * - slide-in-bottom: 从下侧竖向滑动效果
104
- * - fade-in: 从透明到不透明逐渐显示效果
105
- * - zoom-out: 从小到大逐渐放大显示效果
106
- * - zoom-fade-out: 从小到大逐渐放大并且从透明到不透明逐渐显示效果
107
- * - UnionType => 'auto' | 'none' | 'slide-in-right' | 'slide-in-left' | 'slide-in-top' | 'slide-in-bottom' | 'fade-in' | 'zoom-out' | 'zoom-fade-out'
108
- * "app": {
109
- * "android": {
110
- * "osVer": "5.0",
111
- * "uniVer": "x",
112
- * "unixVer": "x"
113
- * },
114
- * "ios": {
115
- * "osVer": "12.0",
116
- * "uniVer": "x",
117
- * "unixVer": "x"
118
- * }
119
- * },
120
- * "mp": {
121
- * "weixin": {
122
- * "hostVer": "√",
123
- * "uniVer": "x",
124
- * "unixVer": "x"
125
- * },
126
- * "alipay": {
127
- * "hostVer": "√",
128
- * "uniVer": "x",
129
- * "unixVer": "x"
130
- * },
131
- * "baidu": {
132
- * "hostVer": "√",
133
- * "uniVer": "x",
134
- * "unixVer": "x"
135
- * },
136
- * "toutiao": {
137
- * "hostVer": "√",
138
- * "uniVer": "x",
139
- * "unixVer": "x"
140
- * },
141
- * "lark": {
142
- * "hostVer": "√",
143
- * "uniVer": "x",
144
- * "unixVer": "x"
145
- * },
146
- * "qq": {
147
- * "hostVer": "√",
148
- * "uniVer": "x",
149
- * "unixVer": "x"
150
- * },
151
- * "kuaishou": {
152
- * "hostVer": "√",
153
- * "uniVer": "x",
154
- * "unixVer": "x"
155
- * },
156
- * "jd": {
157
- * "hostVer": "√",
158
- * "uniVer": "x",
159
- * "unixVer": "x"
160
- * }
161
- * },
162
- * "web": {
163
- * "uniVer": "x",
164
- * "unixVer": "x"
165
- * }
166
- * }
167
- */
168
- animationType?: string | null
169
- /**
170
- * 窗口关闭动画的持续时间,单位为 ms
171
- * @uniPlatform {
172
- * "app": {
173
- * "android": {
174
- * "osVer": "5.0",
175
- * "uniVer": "x",
176
- * "unixVer": "x"
177
- * },
178
- * "ios": {
179
- * "osVer": "12.0",
180
- * "uniVer": "x",
181
- * "unixVer": "x"
182
- * }
183
- * },
184
- * "mp": {
185
- * "weixin": {
186
- * "hostVer": "√",
187
- * "uniVer": "x",
188
- * "unixVer": "x"
189
- * },
190
- * "alipay": {
191
- * "hostVer": "√",
192
- * "uniVer": "x",
193
- * "unixVer": "x"
194
- * },
195
- * "baidu": {
196
- * "hostVer": "√",
197
- * "uniVer": "x",
198
- * "unixVer": "x"
199
- * },
200
- * "toutiao": {
201
- * "hostVer": "√",
202
- * "uniVer": "x",
203
- * "unixVer": "x"
204
- * },
205
- * "lark": {
206
- * "hostVer": "√",
207
- * "uniVer": "x",
208
- * "unixVer": "x"
209
- * },
210
- * "qq": {
211
- * "hostVer": "√",
212
- * "uniVer": "x",
213
- * "unixVer": "x"
214
- * },
215
- * "kuaishou": {
216
- * "hostVer": "√",
217
- * "uniVer": "x",
218
- * "unixVer": "x"
219
- * },
220
- * "jd": {
221
- * "hostVer": "√",
222
- * "uniVer": "x",
223
- * "unixVer": "x"
224
- * }
225
- * },
226
- * "web": {
227
- * "uniVer": "x",
228
- * "unixVer": "x"
229
- * }
230
- * }
231
- */
232
- animationDuration?: number | null
233
- /**
234
- * 是否响应返回,Android的back键/手势及iOS侧滑返回
235
- * @uniPlatform {
236
- * "app": {
237
- * "android": {
238
- * "osVer": "5.0",
239
- * "uniVer": "x",
240
- * "unixVer": "x"
241
- * },
242
- * "ios": {
243
- * "osVer": "12.0",
244
- * "uniVer": "x",
245
- * "unixVer": "x"
246
- * }
247
- * },
248
- * "mp": {
249
- * "weixin": {
250
- * "hostVer": "√",
251
- * "uniVer": "x",
252
- * "unixVer": "x"
253
- * },
254
- * "alipay": {
255
- * "hostVer": "√",
256
- * "uniVer": "x",
257
- * "unixVer": "x"
258
- * },
259
- * "baidu": {
260
- * "hostVer": "√",
261
- * "uniVer": "x",
262
- * "unixVer": "x"
263
- * },
264
- * "toutiao": {
265
- * "hostVer": "√",
266
- * "uniVer": "x",
267
- * "unixVer": "x"
268
- * },
269
- * "lark": {
270
- * "hostVer": "√",
271
- * "uniVer": "x",
272
- * "unixVer": "x"
273
- * },
274
- * "qq": {
275
- * "hostVer": "√",
276
- * "uniVer": "x",
277
- * "unixVer": "x"
278
- * },
279
- * "kuaishou": {
280
- * "hostVer": "√",
281
- * "uniVer": "x",
282
- * "unixVer": "x"
283
- * },
284
- * "jd": {
285
- * "hostVer": "√",
286
- * "uniVer": "x",
287
- * "unixVer": "x"
288
- * }
289
- * },
290
- * "web": {
291
- * "uniVer": "x",
292
- * "unixVer": "x"
293
- * }
294
- * }
295
- */
296
- disableSwipeBack?: boolean | null
297
-
298
- /**
299
- * 是否按键盘 ESC 时关闭
300
- * @uniPlatform {
301
- * "app": {
302
- * "android": {
303
- * "osVer": "5.0",
304
- * "uniVer": "x",
305
- * "unixVer": "x"
306
- * },
307
- * "ios": {
308
- * "osVer": "12.0",
309
- * "uniVer": "x",
310
- * "unixVer": "x"
311
- * }
312
- * },
313
- * "mp": {
314
- * "weixin": {
315
- * "hostVer": "√",
316
- * "uniVer": "x",
317
- * "unixVer": "x"
318
- * },
319
- * "alipay": {
320
- * "hostVer": "√",
321
- * "uniVer": "x",
322
- * "unixVer": "x"
323
- * },
324
- * "baidu": {
325
- * "hostVer": "√",
326
- * "uniVer": "x",
327
- * "unixVer": "x"
328
- * },
329
- * "toutiao": {
330
- * "hostVer": "√",
331
- * "uniVer": "x",
332
- * "unixVer": "x"
333
- * },
334
- * "lark": {
335
- * "hostVer": "√",
336
- * "uniVer": "x",
337
- * "unixVer": "x"
338
- * },
339
- * "qq": {
340
- * "hostVer": "√",
341
- * "uniVer": "x",
342
- * "unixVer": "x"
343
- * },
344
- * "kuaishou": {
345
- * "hostVer": "√",
346
- * "uniVer": "x",
347
- * "unixVer": "x"
348
- * },
349
- * "jd": {
350
- * "hostVer": "√",
351
- * "uniVer": "x",
352
- * "unixVer": "x"
353
- * }
354
- * },
355
- * "web": {
356
- * "uniVer": "x",
357
- * "unixVer": "x"
358
- * }
359
- * }
360
- */
361
- disableEscBack?: boolean | null
362
-
363
- /**
364
- * 要绑定的父级页面实例
365
- * @uniPlatform {
366
- * "app": {
367
- * "android": {
368
- * "osVer": "5.0",
369
- * "uniVer": "x",
370
- * "unixVer": "x"
371
- * },
372
- * "ios": {
373
- * "osVer": "12.0",
374
- * "uniVer": "x",
375
- * "unixVer": "x"
376
- * }
377
- * },
378
- * "mp": {
379
- * "weixin": {
380
- * "hostVer": "√",
381
- * "uniVer": "x",
382
- * "unixVer": "x"
383
- * },
384
- * "alipay": {
385
- * "hostVer": "√",
386
- * "uniVer": "x",
387
- * "unixVer": "x"
388
- * },
389
- * "baidu": {
390
- * "hostVer": "√",
391
- * "uniVer": "x",
392
- * "unixVer": "x"
393
- * },
394
- * "toutiao": {
395
- * "hostVer": "√",
396
- * "uniVer": "x",
397
- * "unixVer": "x"
398
- * },
399
- * "lark": {
400
- * "hostVer": "√",
401
- * "uniVer": "x",
402
- * "unixVer": "x"
403
- * },
404
- * "qq": {
405
- * "hostVer": "√",
406
- * "uniVer": "x",
407
- * "unixVer": "x"
408
- * },
409
- * "kuaishou": {
410
- * "hostVer": "√",
411
- * "uniVer": "x",
412
- * "unixVer": "x"
413
- * },
414
- * "jd": {
415
- * "hostVer": "√",
416
- * "uniVer": "x",
417
- * "unixVer": "x"
418
- * }
419
- * },
420
- * "web": {
421
- * "uniVer": "x",
422
- * "unixVer": "x"
423
- * }
424
- * }
425
- */
426
- parentPage?: Page | null
427
-
428
- /**
429
- * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
430
- * @uniPlatform {
431
- * "app": {
432
- * "android": {
433
- * "osVer": "5.0",
434
- * "uniVer": "x",
435
- * "unixVer": "x"
436
- * },
437
- * "ios": {
438
- * "osVer": "12.0",
439
- * "uniVer": "x",
440
- * "unixVer": "x"
441
- * },
442
- * "harmony": {
443
- * "osVer": "3.0",
444
- * "uniVer": "x",
445
- * "unixVer": "x"
446
- * }
447
- * },
448
- * "mp": {
449
- * "weixin": {
450
- * "hostVer": "√",
451
- * "uniVer": "x",
452
- * "unixVer": "x"
453
- * },
454
- * "alipay": {
455
- * "hostVer": "√",
456
- * "uniVer": "x",
457
- * "unixVer": "x"
458
- * },
459
- * "baidu": {
460
- * "hostVer": "√",
461
- * "uniVer": "x",
462
- * "unixVer": "x"
463
- * },
464
- * "toutiao": {
465
- * "hostVer": "√",
466
- * "uniVer": "x",
467
- * "unixVer": "x"
468
- * },
469
- * "lark": {
470
- * "hostVer": "√",
471
- * "uniVer": "x",
472
- * "unixVer": "x"
473
- * },
474
- * "qq": {
475
- * "hostVer": "√",
476
- * "uniVer": "x",
477
- * "unixVer": "x"
478
- * },
479
- * "kuaishou": {
480
- * "hostVer": "√",
481
- * "uniVer": "x",
482
- * "unixVer": "x"
483
- * },
484
- * "jd": {
485
- * "hostVer": "√",
486
- * "uniVer": "x",
487
- * "unixVer": "x"
488
- * }
489
- * },
490
- * "web": {
491
- * "uniVer": "x",
492
- * "unixVer": "x"
493
- * }
494
- * }
495
- */
496
- events?: any | null
497
- /**
498
- * 接口调用成功的回调函数
499
- * @uniPlatform {
500
- * "app": {
501
- * "android": {
502
- * "osVer": "5.0",
503
- * "uniVer": "x",
504
- * "unixVer": "x"
505
- * },
506
- * "ios": {
507
- * "osVer": "12.0",
508
- * "uniVer": "x",
509
- * "unixVer": "x"
510
- * }
511
- * },
512
- * "mp": {
513
- * "weixin": {
514
- * "hostVer": "√",
515
- * "uniVer": "x",
516
- * "unixVer": "x"
517
- * },
518
- * "alipay": {
519
- * "hostVer": "√",
520
- * "uniVer": "x",
521
- * "unixVer": "x"
522
- * },
523
- * "baidu": {
524
- * "hostVer": "√",
525
- * "uniVer": "x",
526
- * "unixVer": "x"
527
- * },
528
- * "toutiao": {
529
- * "hostVer": "√",
530
- * "uniVer": "x",
531
- * "unixVer": "x"
532
- * },
533
- * "lark": {
534
- * "hostVer": "√",
535
- * "uniVer": "x",
536
- * "unixVer": "x"
537
- * },
538
- * "qq": {
539
- * "hostVer": "√",
540
- * "uniVer": "x",
541
- * "unixVer": "x"
542
- * },
543
- * "kuaishou": {
544
- * "hostVer": "√",
545
- * "uniVer": "x",
546
- * "unixVer": "x"
547
- * },
548
- * "jd": {
549
- * "hostVer": "√",
550
- * "uniVer": "x",
551
- * "unixVer": "x"
552
- * }
553
- * },
554
- * "web": {
555
- * "uniVer": "x",
556
- * "unixVer": "x"
557
- * }
558
- * }
559
- */
560
- success?: OpenDialogPageSuccessCallback | null
561
- /**
562
- * 接口调用失败的回调函数
563
- * @uniPlatform {
564
- * "app": {
565
- * "android": {
566
- * "osVer": "5.0",
567
- * "uniVer": "x",
568
- * "unixVer": "x"
569
- * },
570
- * "ios": {
571
- * "osVer": "12.0",
572
- * "uniVer": "x",
573
- * "unixVer": "x"
574
- * },
575
- * "harmony": {
576
- * "osVer": "3.0",
577
- * "uniVer": "x",
578
- * "unixVer": "x"
579
- * }
580
- * },
581
- * "mp": {
582
- * "weixin": {
583
- * "hostVer": "√",
584
- * "uniVer": "x",
585
- * "unixVer": "x"
586
- * },
587
- * "alipay": {
588
- * "hostVer": "√",
589
- * "uniVer": "x",
590
- * "unixVer": "x"
591
- * },
592
- * "baidu": {
593
- * "hostVer": "√",
594
- * "uniVer": "x",
595
- * "unixVer": "x"
596
- * },
597
- * "toutiao": {
598
- * "hostVer": "√",
599
- * "uniVer": "x",
600
- * "unixVer": "x"
601
- * },
602
- * "lark": {
603
- * "hostVer": "√",
604
- * "uniVer": "x",
605
- * "unixVer": "x"
606
- * },
607
- * "qq": {
608
- * "hostVer": "√",
609
- * "uniVer": "x",
610
- * "unixVer": "x"
611
- * },
612
- * "kuaishou": {
613
- * "hostVer": "√",
614
- * "uniVer": "x",
615
- * "unixVer": "x"
616
- * },
617
- * "jd": {
618
- * "hostVer": "√",
619
- * "uniVer": "x",
620
- * "unixVer": "x"
621
- * }
622
- * },
623
- * "web": {
624
- * "uniVer": "x",
625
- * "unixVer": "x"
626
- * }
627
- * }
628
- */
629
- fail?: OpenDialogPageFailCallback | null
630
- /**
631
- * 接口调用结束的回调函数(调用成功、失败都会执行)
632
- * @uniPlatform {
633
- * "app": {
634
- * "android": {
635
- * "osVer": "5.0",
636
- * "uniVer": "x",
637
- * "unixVer": "x"
638
- * },
639
- * "ios": {
640
- * "osVer": "12.0",
641
- * "uniVer": "x",
642
- * "unixVer": "x"
643
- * },
644
- * "harmony": {
645
- * "osVer": "3.0",
646
- * "uniVer": "x",
647
- * "unixVer": "x"
648
- * }
649
- * },
650
- * "mp": {
651
- * "weixin": {
652
- * "hostVer": "√",
653
- * "uniVer": "x",
654
- * "unixVer": "x"
655
- * },
656
- * "alipay": {
657
- * "hostVer": "√",
658
- * "uniVer": "x",
659
- * "unixVer": "x"
660
- * },
661
- * "baidu": {
662
- * "hostVer": "√",
663
- * "uniVer": "x",
664
- * "unixVer": "x"
665
- * },
666
- * "toutiao": {
667
- * "hostVer": "√",
668
- * "uniVer": "x",
669
- * "unixVer": "x"
670
- * },
671
- * "lark": {
672
- * "hostVer": "√",
673
- * "uniVer": "x",
674
- * "unixVer": "x"
675
- * },
676
- * "qq": {
677
- * "hostVer": "√",
678
- * "uniVer": "x",
679
- * "unixVer": "x"
680
- * },
681
- * "kuaishou": {
682
- * "hostVer": "√",
683
- * "uniVer": "x",
684
- * "unixVer": "x"
685
- * },
686
- * "jd": {
687
- * "hostVer": "√",
688
- * "uniVer": "x",
689
- * "unixVer": "x"
690
- * }
691
- * },
692
- * "web": {
693
- * "uniVer": "x",
694
- * "unixVer": "x"
695
- * }
696
- * }
697
- */
698
- complete?: OpenDialogPageCompleteCallback | null
699
- }
700
-
701
-
702
-
703
- export type CloseDialogPageSuccess = AsyncApiSuccessResult
704
- type CloseDialogPageSuccessCallback = (result: CloseDialogPageSuccess) => void
705
- export interface CloseDialogPageFail extends IUniError {
706
- errCode: RouteErrorCode
707
- }
708
- type CloseDialogPageFailCallback = (result: CloseDialogPageFail) => void
709
- export type CloseDialogPageComplete = AsyncApiResult
710
- type CloseDialogPageCompleteCallback = (result: CloseDialogPageComplete) => void
711
- export type CloseDialogPageOptions = {
712
- /**
713
- * 要关闭的 dialogPage 实例
714
- * @uniPlatform {
715
- * "app": {
716
- * "android": {
717
- * "osVer": "5.0",
718
- * "uniVer": "x",
719
- * "unixVer": "x"
720
- * },
721
- * "ios": {
722
- * "osVer": "12.0",
723
- * "uniVer": "x",
724
- * "unixVer": "x"
725
- * },
726
- * "harmony": {
727
- * "osVer": "3.0",
728
- * "uniVer": "x",
729
- * "unixVer": "x"
730
- * }
731
- * },
732
- * "mp": {
733
- * "weixin": {
734
- * "hostVer": "√",
735
- * "uniVer": "x",
736
- * "unixVer": "x"
737
- * },
738
- * "alipay": {
739
- * "hostVer": "√",
740
- * "uniVer": "x",
741
- * "unixVer": "x"
742
- * },
743
- * "baidu": {
744
- * "hostVer": "√",
745
- * "uniVer": "x",
746
- * "unixVer": "x"
747
- * },
748
- * "toutiao": {
749
- * "hostVer": "√",
750
- * "uniVer": "x",
751
- * "unixVer": "x"
752
- * },
753
- * "lark": {
754
- * "hostVer": "√",
755
- * "uniVer": "x",
756
- * "unixVer": "x"
757
- * },
758
- * "qq": {
759
- * "hostVer": "√",
760
- * "uniVer": "x",
761
- * "unixVer": "x"
762
- * },
763
- * "kuaishou": {
764
- * "hostVer": "√",
765
- * "uniVer": "x",
766
- * "unixVer": "x"
767
- * },
768
- * "jd": {
769
- * "hostVer": "√",
770
- * "uniVer": "x",
771
- * "unixVer": "x"
772
- * }
773
- * },
774
- * "web": {
775
- * "uniVer": "x",
776
- * "unixVer": "x"
777
- * }
778
- * }
779
- */
780
- dialogPage: UniDialogPage | null
781
- /**
782
- * 窗口关闭的动画类型
783
- * - auto: 自动选择动画效果
784
- * - none: 无动画效果
785
- * - slide-out-right: 横向向右侧滑出屏幕动画
786
- * - slide-out-left: 横向向左侧滑出屏幕动画
787
- * - slide-out-top: 竖向向上侧滑出屏幕动画
788
- * - slide-out-bottom: 竖向向下侧滑出屏幕动画
789
- * - fade-out: 从不透明到透明逐渐隐藏动画
790
- * - zoom-in: 从大逐渐缩小关闭动画
791
- * - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
792
- * - UnionType => 'auto' | 'none' | 'slide-out-right' | 'slide-out-left' | 'slide-out-top' | 'slide-out-bottom' | 'fade-out' | 'zoom-in' | 'zoom-fade-in'
793
- * @uniPlatform {
794
- * "app": {
795
- * "android": {
796
- * "osVer": "5.0",
797
- * "uniVer": "x",
798
- * "unixVer": "x"
799
- * },
800
- * "ios": {
801
- * "osVer": "12.0",
802
- * "uniVer": "x",
803
- * "unixVer": "x"
804
- * }
805
- * },
806
- * "mp": {
807
- * "weixin": {
808
- * "hostVer": "√",
809
- * "uniVer": "x",
810
- * "unixVer": "x"
811
- * },
812
- * "alipay": {
813
- * "hostVer": "√",
814
- * "uniVer": "x",
815
- * "unixVer": "x"
816
- * },
817
- * "baidu": {
818
- * "hostVer": "√",
819
- * "uniVer": "x",
820
- * "unixVer": "x"
821
- * },
822
- * "toutiao": {
823
- * "hostVer": "√",
824
- * "uniVer": "x",
825
- * "unixVer": "x"
826
- * },
827
- * "lark": {
828
- * "hostVer": "√",
829
- * "uniVer": "x",
830
- * "unixVer": "x"
831
- * },
832
- * "qq": {
833
- * "hostVer": "√",
834
- * "uniVer": "x",
835
- * "unixVer": "x"
836
- * },
837
- * "kuaishou": {
838
- * "hostVer": "√",
839
- * "uniVer": "x",
840
- * "unixVer": "x"
841
- * },
842
- * "jd": {
843
- * "hostVer": "√",
844
- * "uniVer": "x",
845
- * "unixVer": "x"
846
- * }
847
- * },
848
- * "web": {
849
- * "uniVer": "x",
850
- * "unixVer": "x"
851
- * }
852
- * }
853
- */
854
- animationType?: string | null
855
- /**
856
- * 窗口关闭动画的持续时间,单位为 ms
857
- * @uniPlatform {
858
- * "app": {
859
- * "android": {
860
- * "osVer": "5.0",
861
- * "uniVer": "x",
862
- * "unixVer": "x"
863
- * },
864
- * "ios": {
865
- * "osVer": "12.0",
866
- * "uniVer": "x",
867
- * "unixVer": "x"
868
- * }
869
- * },
870
- * "mp": {
871
- * "weixin": {
872
- * "hostVer": "√",
873
- * "uniVer": "x",
874
- * "unixVer": "x"
875
- * },
876
- * "alipay": {
877
- * "hostVer": "√",
878
- * "uniVer": "x",
879
- * "unixVer": "x"
880
- * },
881
- * "baidu": {
882
- * "hostVer": "√",
883
- * "uniVer": "x",
884
- * "unixVer": "x"
885
- * },
886
- * "toutiao": {
887
- * "hostVer": "√",
888
- * "uniVer": "x",
889
- * "unixVer": "x"
890
- * },
891
- * "lark": {
892
- * "hostVer": "√",
893
- * "uniVer": "x",
894
- * "unixVer": "x"
895
- * },
896
- * "qq": {
897
- * "hostVer": "√",
898
- * "uniVer": "x",
899
- * "unixVer": "x"
900
- * },
901
- * "kuaishou": {
902
- * "hostVer": "√",
903
- * "uniVer": "x",
904
- * "unixVer": "x"
905
- * },
906
- * "jd": {
907
- * "hostVer": "√",
908
- * "uniVer": "x",
909
- * "unixVer": "x"
910
- * }
911
- * },
912
- * "web": {
913
- * "uniVer": "x",
914
- * "unixVer": "x"
915
- * }
916
- * }
917
- */
918
- animationDuration?: number | null
919
- /**
920
- * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
921
- * @uniPlatform {
922
- * "app": {
923
- * "android": {
924
- * "osVer": "5.0",
925
- * "uniVer": "x",
926
- * "unixVer": "x"
927
- * },
928
- * "ios": {
929
- * "osVer": "12.0",
930
- * "uniVer": "x",
931
- * "unixVer": "x"
932
- * },
933
- * "harmony": {
934
- * "osVer": "3.0",
935
- * "uniVer": "x",
936
- * "unixVer": "x"
937
- * }
938
- * },
939
- * "mp": {
940
- * "weixin": {
941
- * "hostVer": "√",
942
- * "uniVer": "x",
943
- * "unixVer": "x"
944
- * },
945
- * "alipay": {
946
- * "hostVer": "√",
947
- * "uniVer": "x",
948
- * "unixVer": "x"
949
- * },
950
- * "baidu": {
951
- * "hostVer": "√",
952
- * "uniVer": "x",
953
- * "unixVer": "x"
954
- * },
955
- * "toutiao": {
956
- * "hostVer": "√",
957
- * "uniVer": "x",
958
- * "unixVer": "x"
959
- * },
960
- * "lark": {
961
- * "hostVer": "√",
962
- * "uniVer": "x",
963
- * "unixVer": "x"
964
- * },
965
- * "qq": {
966
- * "hostVer": "√",
967
- * "uniVer": "x",
968
- * "unixVer": "x"
969
- * },
970
- * "kuaishou": {
971
- * "hostVer": "√",
972
- * "uniVer": "x",
973
- * "unixVer": "x"
974
- * },
975
- * "jd": {
976
- * "hostVer": "√",
977
- * "uniVer": "x",
978
- * "unixVer": "x"
979
- * }
980
- * },
981
- * "web": {
982
- * "uniVer": "x",
983
- * "unixVer": "x"
984
- * }
985
- * }
986
- */
987
- events?: any | null
988
- /**
989
- * 接口调用成功的回调函数
990
- * @uniPlatform {
991
- * "app": {
992
- * "android": {
993
- * "osVer": "5.0",
994
- * "uniVer": "x",
995
- * "unixVer": "x"
996
- * },
997
- * "ios": {
998
- * "osVer": "12.0",
999
- * "uniVer": "x",
1000
- * "unixVer": "x"
1001
- * }
1002
- * },
1003
- * "mp": {
1004
- * "weixin": {
1005
- * "hostVer": "√",
1006
- * "uniVer": "x",
1007
- * "unixVer": "x"
1008
- * },
1009
- * "alipay": {
1010
- * "hostVer": "√",
1011
- * "uniVer": "x",
1012
- * "unixVer": "x"
1013
- * },
1014
- * "baidu": {
1015
- * "hostVer": "√",
1016
- * "uniVer": "x",
1017
- * "unixVer": "x"
1018
- * },
1019
- * "toutiao": {
1020
- * "hostVer": "√",
1021
- * "uniVer": "x",
1022
- * "unixVer": "x"
1023
- * },
1024
- * "lark": {
1025
- * "hostVer": "√",
1026
- * "uniVer": "x",
1027
- * "unixVer": "x"
1028
- * },
1029
- * "qq": {
1030
- * "hostVer": "√",
1031
- * "uniVer": "x",
1032
- * "unixVer": "x"
1033
- * },
1034
- * "kuaishou": {
1035
- * "hostVer": "√",
1036
- * "uniVer": "x",
1037
- * "unixVer": "x"
1038
- * },
1039
- * "jd": {
1040
- * "hostVer": "√",
1041
- * "uniVer": "x",
1042
- * "unixVer": "x"
1043
- * }
1044
- * },
1045
- * "web": {
1046
- * "uniVer": "x",
1047
- * "unixVer": "x"
1048
- * }
1049
- * }
1050
- */
1051
- success?: CloseDialogPageSuccessCallback | null
1052
- /**
1053
- * 接口调用失败的回调函数
1054
- * @uniPlatform {
1055
- * "app": {
1056
- * "android": {
1057
- * "osVer": "5.0",
1058
- * "uniVer": "x",
1059
- * "unixVer": "x"
1060
- * },
1061
- * "ios": {
1062
- * "osVer": "12.0",
1063
- * "uniVer": "x",
1064
- * "unixVer": "x"
1065
- * },
1066
- * "harmony": {
1067
- * "osVer": "3.0",
1068
- * "uniVer": "x",
1069
- * "unixVer": "x"
1070
- * }
1071
- * },
1072
- * "mp": {
1073
- * "weixin": {
1074
- * "hostVer": "√",
1075
- * "uniVer": "x",
1076
- * "unixVer": "x"
1077
- * },
1078
- * "alipay": {
1079
- * "hostVer": "√",
1080
- * "uniVer": "x",
1081
- * "unixVer": "x"
1082
- * },
1083
- * "baidu": {
1084
- * "hostVer": "√",
1085
- * "uniVer": "x",
1086
- * "unixVer": "x"
1087
- * },
1088
- * "toutiao": {
1089
- * "hostVer": "√",
1090
- * "uniVer": "x",
1091
- * "unixVer": "x"
1092
- * },
1093
- * "lark": {
1094
- * "hostVer": "√",
1095
- * "uniVer": "x",
1096
- * "unixVer": "x"
1097
- * },
1098
- * "qq": {
1099
- * "hostVer": "√",
1100
- * "uniVer": "x",
1101
- * "unixVer": "x"
1102
- * },
1103
- * "kuaishou": {
1104
- * "hostVer": "√",
1105
- * "uniVer": "x",
1106
- * "unixVer": "x"
1107
- * },
1108
- * "jd": {
1109
- * "hostVer": "√",
1110
- * "uniVer": "x",
1111
- * "unixVer": "x"
1112
- * }
1113
- * },
1114
- * "web": {
1115
- * "uniVer": "x",
1116
- * "unixVer": "x"
1117
- * }
1118
- * }
1119
- */
1120
- fail?: CloseDialogPageFailCallback | null
1121
- /**
1122
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1123
- * @uniPlatform {
1124
- * "app": {
1125
- * "android": {
1126
- * "osVer": "5.0",
1127
- * "uniVer": "x",
1128
- * "unixVer": "x"
1129
- * },
1130
- * "ios": {
1131
- * "osVer": "12.0",
1132
- * "uniVer": "x",
1133
- * "unixVer": "x"
1134
- * },
1135
- * "harmony": {
1136
- * "osVer": "3.0",
1137
- * "uniVer": "x",
1138
- * "unixVer": "x"
1139
- * }
1140
- * },
1141
- * "mp": {
1142
- * "weixin": {
1143
- * "hostVer": "√",
1144
- * "uniVer": "x",
1145
- * "unixVer": "x"
1146
- * },
1147
- * "alipay": {
1148
- * "hostVer": "√",
1149
- * "uniVer": "x",
1150
- * "unixVer": "x"
1151
- * },
1152
- * "baidu": {
1153
- * "hostVer": "√",
1154
- * "uniVer": "x",
1155
- * "unixVer": "x"
1156
- * },
1157
- * "toutiao": {
1158
- * "hostVer": "√",
1159
- * "uniVer": "x",
1160
- * "unixVer": "x"
1161
- * },
1162
- * "lark": {
1163
- * "hostVer": "√",
1164
- * "uniVer": "x",
1165
- * "unixVer": "x"
1166
- * },
1167
- * "qq": {
1168
- * "hostVer": "√",
1169
- * "uniVer": "x",
1170
- * "unixVer": "x"
1171
- * },
1172
- * "kuaishou": {
1173
- * "hostVer": "√",
1174
- * "uniVer": "x",
1175
- * "unixVer": "x"
1176
- * },
1177
- * "jd": {
1178
- * "hostVer": "√",
1179
- * "uniVer": "x",
1180
- * "unixVer": "x"
1181
- * }
1182
- * },
1183
- * "web": {
1184
- * "uniVer": "x",
1185
- * "unixVer": "x"
1186
- * }
1187
- * }
1188
- */
1189
- complete?: CloseDialogPageCompleteCallback | null
1190
- }
1191
-
1192
- export interface Uni {
1193
- /**
1194
- * 打开模态弹窗页面
1195
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1196
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1197
- * @uniPlatform {
1198
- * "app": {
1199
- * "android": {
1200
- * "osVer": "5.0",
1201
- * "uniVer": "x",
1202
- * "unixVer": "x"
1203
- * },
1204
- * "ios": {
1205
- * "osVer": "12.0",
1206
- * "uniVer": "x",
1207
- * "unixVer": "x"
1208
- * },
1209
- * "harmony": {
1210
- * "osVer": "3.0",
1211
- * "uniVer": "x",
1212
- * "unixVer": "x"
1213
- * }
1214
- * },
1215
- * "mp": {
1216
- * "weixin": {
1217
- * "hostVer": "√",
1218
- * "uniVer": "x",
1219
- * "unixVer": "x"
1220
- * },
1221
- * "alipay": {
1222
- * "hostVer": "√",
1223
- * "uniVer": "x",
1224
- * "unixVer": "x"
1225
- * },
1226
- * "baidu": {
1227
- * "hostVer": "√",
1228
- * "uniVer": "x",
1229
- * "unixVer": "x"
1230
- * },
1231
- * "toutiao": {
1232
- * "hostVer": "√",
1233
- * "uniVer": "x",
1234
- * "unixVer": "x"
1235
- * },
1236
- * "lark": {
1237
- * "hostVer": "√",
1238
- * "uniVer": "x",
1239
- * "unixVer": "x"
1240
- * },
1241
- * "qq": {
1242
- * "hostVer": "√",
1243
- * "uniVer": "x",
1244
- * "unixVer": "x"
1245
- * },
1246
- * "kuaishou": {
1247
- * "hostVer": "√",
1248
- * "uniVer": "x",
1249
- * "unixVer": "x"
1250
- * },
1251
- * "jd": {
1252
- * "hostVer": "√",
1253
- * "uniVer": "x",
1254
- * "unixVer": "x"
1255
- * }
1256
- * },
1257
- * "web": {
1258
- * "uniVer": "x",
1259
- * "unixVer": "x"
1260
- * }
1261
- * }
1262
- */
1263
- openDialogPage(options: OpenDialogPageOptions): UniDialogPage | null
1264
- /**
1265
- * 关闭模态弹窗页面
1266
- *
1267
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1268
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1269
- * @uniPlatform {
1270
- * "app": {
1271
- * "android": {
1272
- * "osVer": "5.0",
1273
- * "uniVer": "x",
1274
- * "unixVer": "x"
1275
- * },
1276
- * "ios": {
1277
- * "osVer": "12.0",
1278
- * "uniVer": "x",
1279
- * "unixVer": "x"
1280
- * },
1281
- * "harmony": {
1282
- * "osVer": "3.0",
1283
- * "uniVer": "x",
1284
- * "unixVer": "x"
1285
- * }
1286
- * },
1287
- * "mp": {
1288
- * "weixin": {
1289
- * "hostVer": "√",
1290
- * "uniVer": "x",
1291
- * "unixVer": "x"
1292
- * },
1293
- * "alipay": {
1294
- * "hostVer": "√",
1295
- * "uniVer": "x",
1296
- * "unixVer": "x"
1297
- * },
1298
- * "baidu": {
1299
- * "hostVer": "√",
1300
- * "uniVer": "x",
1301
- * "unixVer": "x"
1302
- * },
1303
- * "toutiao": {
1304
- * "hostVer": "√",
1305
- * "uniVer": "x",
1306
- * "unixVer": "x"
1307
- * },
1308
- * "lark": {
1309
- * "hostVer": "√",
1310
- * "uniVer": "x",
1311
- * "unixVer": "x"
1312
- * },
1313
- * "qq": {
1314
- * "hostVer": "√",
1315
- * "uniVer": "x",
1316
- * "unixVer": "x"
1317
- * },
1318
- * "kuaishou": {
1319
- * "hostVer": "√",
1320
- * "uniVer": "x",
1321
- * "unixVer": "x"
1322
- * },
1323
- * "jd": {
1324
- * "hostVer": "√",
1325
- * "uniVer": "x",
1326
- * "unixVer": "x"
1327
- * }
1328
- * },
1329
- * "web": {
1330
- * "uniVer": "x",
1331
- * "unixVer": "x"
1332
- * }
1333
- * }
1334
- */
1335
- closeDialogPage(options?: CloseDialogPageOptions | null): Promise<CloseDialogPageSuccess> | null
1336
- }
1
+ import {
2
+ Page,
3
+ UniDialogPage,
4
+ } from '@dcloudio/uni-runtime'
5
+
6
+ /**
7
+ * 路由错误码
8
+ * - 4: 框架内部异常
9
+ */
10
+ export type RouteErrorCode = 4
11
+
12
+ /**
13
+ *
14
+ * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
15
+ */
16
+ export type EventChannel = {}
17
+
18
+ export type OpenDialogPageSuccess = AsyncApiSuccessResult
19
+ type OpenDialogPageSuccessCallback = (result: OpenDialogPageSuccess) => void
20
+ export interface OpenDialogPageFail extends IUniError {
21
+ errCode: RouteErrorCode
22
+ }
23
+ type OpenDialogPageFailCallback = (result: OpenDialogPageFail) => void
24
+ export type OpenDialogPageComplete = AsyncApiResult
25
+ type OpenDialogPageCompleteCallback = (result: OpenDialogPageComplete) => void
26
+ export type OpenDialogPageOptions = {
27
+ /**
28
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
29
+ * @uniPlatform {
30
+ * "app": {
31
+ * "android": {
32
+ * "osVer": "5.0",
33
+ * "uniVer": "x",
34
+ * "unixVer": "x"
35
+ * },
36
+ * "ios": {
37
+ * "osVer": "12.0",
38
+ * "uniVer": "x",
39
+ * "unixVer": "x"
40
+ * },
41
+ * "harmony": {
42
+ * "osVer": "3.0",
43
+ * "uniVer": "x",
44
+ * "unixVer": "x"
45
+ * }
46
+ * },
47
+ * "mp": {
48
+ * "weixin": {
49
+ * "hostVer": "√",
50
+ * "uniVer": "x",
51
+ * "unixVer": "x"
52
+ * },
53
+ * "alipay": {
54
+ * "hostVer": "√",
55
+ * "uniVer": "x",
56
+ * "unixVer": "x"
57
+ * },
58
+ * "baidu": {
59
+ * "hostVer": "√",
60
+ * "uniVer": "x",
61
+ * "unixVer": "x"
62
+ * },
63
+ * "toutiao": {
64
+ * "hostVer": "√",
65
+ * "uniVer": "x",
66
+ * "unixVer": "x"
67
+ * },
68
+ * "lark": {
69
+ * "hostVer": "√",
70
+ * "uniVer": "x",
71
+ * "unixVer": "x"
72
+ * },
73
+ * "qq": {
74
+ * "hostVer": "√",
75
+ * "uniVer": "x",
76
+ * "unixVer": "x"
77
+ * },
78
+ * "kuaishou": {
79
+ * "hostVer": "√",
80
+ * "uniVer": "x",
81
+ * "unixVer": "x"
82
+ * },
83
+ * "jd": {
84
+ * "hostVer": "√",
85
+ * "uniVer": "x",
86
+ * "unixVer": "x"
87
+ * }
88
+ * },
89
+ * "web": {
90
+ * "uniVer": "x",
91
+ * "unixVer": "x"
92
+ * }
93
+ * }
94
+ */
95
+ url: string | string.PageURIString
96
+ /**
97
+ * 窗口显示的动画类型
98
+ * - auto: 自动选择动画效果
99
+ * - none: 无动画效果
100
+ * - slide-in-right: 从右侧横向滑动效果
101
+ * - slide-in-left: 左侧横向滑动效果
102
+ * - slide-in-top: 从上侧竖向滑动效果
103
+ * - slide-in-bottom: 从下侧竖向滑动效果
104
+ * - fade-in: 从透明到不透明逐渐显示效果
105
+ * - zoom-out: 从小到大逐渐放大显示效果
106
+ * - zoom-fade-out: 从小到大逐渐放大并且从透明到不透明逐渐显示效果
107
+ * - UnionType => 'auto' | 'none' | 'slide-in-right' | 'slide-in-left' | 'slide-in-top' | 'slide-in-bottom' | 'fade-in' | 'zoom-out' | 'zoom-fade-out'
108
+ * "app": {
109
+ * "android": {
110
+ * "osVer": "5.0",
111
+ * "uniVer": "x",
112
+ * "unixVer": "x"
113
+ * },
114
+ * "ios": {
115
+ * "osVer": "12.0",
116
+ * "uniVer": "x",
117
+ * "unixVer": "x"
118
+ * }
119
+ * },
120
+ * "mp": {
121
+ * "weixin": {
122
+ * "hostVer": "√",
123
+ * "uniVer": "x",
124
+ * "unixVer": "x"
125
+ * },
126
+ * "alipay": {
127
+ * "hostVer": "√",
128
+ * "uniVer": "x",
129
+ * "unixVer": "x"
130
+ * },
131
+ * "baidu": {
132
+ * "hostVer": "√",
133
+ * "uniVer": "x",
134
+ * "unixVer": "x"
135
+ * },
136
+ * "toutiao": {
137
+ * "hostVer": "√",
138
+ * "uniVer": "x",
139
+ * "unixVer": "x"
140
+ * },
141
+ * "lark": {
142
+ * "hostVer": "√",
143
+ * "uniVer": "x",
144
+ * "unixVer": "x"
145
+ * },
146
+ * "qq": {
147
+ * "hostVer": "√",
148
+ * "uniVer": "x",
149
+ * "unixVer": "x"
150
+ * },
151
+ * "kuaishou": {
152
+ * "hostVer": "√",
153
+ * "uniVer": "x",
154
+ * "unixVer": "x"
155
+ * },
156
+ * "jd": {
157
+ * "hostVer": "√",
158
+ * "uniVer": "x",
159
+ * "unixVer": "x"
160
+ * }
161
+ * },
162
+ * "web": {
163
+ * "uniVer": "x",
164
+ * "unixVer": "x"
165
+ * }
166
+ * }
167
+ */
168
+ animationType?: string | null
169
+ /**
170
+ * 窗口关闭动画的持续时间,单位为 ms
171
+ * @uniPlatform {
172
+ * "app": {
173
+ * "android": {
174
+ * "osVer": "5.0",
175
+ * "uniVer": "x",
176
+ * "unixVer": "x"
177
+ * },
178
+ * "ios": {
179
+ * "osVer": "12.0",
180
+ * "uniVer": "x",
181
+ * "unixVer": "x"
182
+ * }
183
+ * },
184
+ * "mp": {
185
+ * "weixin": {
186
+ * "hostVer": "√",
187
+ * "uniVer": "x",
188
+ * "unixVer": "x"
189
+ * },
190
+ * "alipay": {
191
+ * "hostVer": "√",
192
+ * "uniVer": "x",
193
+ * "unixVer": "x"
194
+ * },
195
+ * "baidu": {
196
+ * "hostVer": "√",
197
+ * "uniVer": "x",
198
+ * "unixVer": "x"
199
+ * },
200
+ * "toutiao": {
201
+ * "hostVer": "√",
202
+ * "uniVer": "x",
203
+ * "unixVer": "x"
204
+ * },
205
+ * "lark": {
206
+ * "hostVer": "√",
207
+ * "uniVer": "x",
208
+ * "unixVer": "x"
209
+ * },
210
+ * "qq": {
211
+ * "hostVer": "√",
212
+ * "uniVer": "x",
213
+ * "unixVer": "x"
214
+ * },
215
+ * "kuaishou": {
216
+ * "hostVer": "√",
217
+ * "uniVer": "x",
218
+ * "unixVer": "x"
219
+ * },
220
+ * "jd": {
221
+ * "hostVer": "√",
222
+ * "uniVer": "x",
223
+ * "unixVer": "x"
224
+ * }
225
+ * },
226
+ * "web": {
227
+ * "uniVer": "x",
228
+ * "unixVer": "x"
229
+ * }
230
+ * }
231
+ */
232
+ animationDuration?: number | null
233
+ /**
234
+ * 是否响应返回,Android的back键/手势及iOS侧滑返回
235
+ * @uniPlatform {
236
+ * "app": {
237
+ * "android": {
238
+ * "osVer": "5.0",
239
+ * "uniVer": "x",
240
+ * "unixVer": "x"
241
+ * },
242
+ * "ios": {
243
+ * "osVer": "12.0",
244
+ * "uniVer": "x",
245
+ * "unixVer": "x"
246
+ * }
247
+ * },
248
+ * "mp": {
249
+ * "weixin": {
250
+ * "hostVer": "√",
251
+ * "uniVer": "x",
252
+ * "unixVer": "x"
253
+ * },
254
+ * "alipay": {
255
+ * "hostVer": "√",
256
+ * "uniVer": "x",
257
+ * "unixVer": "x"
258
+ * },
259
+ * "baidu": {
260
+ * "hostVer": "√",
261
+ * "uniVer": "x",
262
+ * "unixVer": "x"
263
+ * },
264
+ * "toutiao": {
265
+ * "hostVer": "√",
266
+ * "uniVer": "x",
267
+ * "unixVer": "x"
268
+ * },
269
+ * "lark": {
270
+ * "hostVer": "√",
271
+ * "uniVer": "x",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "qq": {
275
+ * "hostVer": "√",
276
+ * "uniVer": "x",
277
+ * "unixVer": "x"
278
+ * },
279
+ * "kuaishou": {
280
+ * "hostVer": "√",
281
+ * "uniVer": "x",
282
+ * "unixVer": "x"
283
+ * },
284
+ * "jd": {
285
+ * "hostVer": "√",
286
+ * "uniVer": "x",
287
+ * "unixVer": "x"
288
+ * }
289
+ * },
290
+ * "web": {
291
+ * "uniVer": "x",
292
+ * "unixVer": "x"
293
+ * }
294
+ * }
295
+ */
296
+ disableSwipeBack?: boolean | null
297
+
298
+ /**
299
+ * 是否按键盘 ESC 时关闭
300
+ * @uniPlatform {
301
+ * "app": {
302
+ * "android": {
303
+ * "osVer": "5.0",
304
+ * "uniVer": "x",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "ios": {
308
+ * "osVer": "12.0",
309
+ * "uniVer": "x",
310
+ * "unixVer": "x"
311
+ * }
312
+ * },
313
+ * "mp": {
314
+ * "weixin": {
315
+ * "hostVer": "√",
316
+ * "uniVer": "x",
317
+ * "unixVer": "x"
318
+ * },
319
+ * "alipay": {
320
+ * "hostVer": "√",
321
+ * "uniVer": "x",
322
+ * "unixVer": "x"
323
+ * },
324
+ * "baidu": {
325
+ * "hostVer": "√",
326
+ * "uniVer": "x",
327
+ * "unixVer": "x"
328
+ * },
329
+ * "toutiao": {
330
+ * "hostVer": "√",
331
+ * "uniVer": "x",
332
+ * "unixVer": "x"
333
+ * },
334
+ * "lark": {
335
+ * "hostVer": "√",
336
+ * "uniVer": "x",
337
+ * "unixVer": "x"
338
+ * },
339
+ * "qq": {
340
+ * "hostVer": "√",
341
+ * "uniVer": "x",
342
+ * "unixVer": "x"
343
+ * },
344
+ * "kuaishou": {
345
+ * "hostVer": "√",
346
+ * "uniVer": "x",
347
+ * "unixVer": "x"
348
+ * },
349
+ * "jd": {
350
+ * "hostVer": "√",
351
+ * "uniVer": "x",
352
+ * "unixVer": "x"
353
+ * }
354
+ * },
355
+ * "web": {
356
+ * "uniVer": "x",
357
+ * "unixVer": "x"
358
+ * }
359
+ * }
360
+ */
361
+ disableEscBack?: boolean | null
362
+
363
+ /**
364
+ * 要绑定的父级页面实例
365
+ * @uniPlatform {
366
+ * "app": {
367
+ * "android": {
368
+ * "osVer": "5.0",
369
+ * "uniVer": "x",
370
+ * "unixVer": "x"
371
+ * },
372
+ * "ios": {
373
+ * "osVer": "12.0",
374
+ * "uniVer": "x",
375
+ * "unixVer": "x"
376
+ * }
377
+ * },
378
+ * "mp": {
379
+ * "weixin": {
380
+ * "hostVer": "√",
381
+ * "uniVer": "x",
382
+ * "unixVer": "x"
383
+ * },
384
+ * "alipay": {
385
+ * "hostVer": "√",
386
+ * "uniVer": "x",
387
+ * "unixVer": "x"
388
+ * },
389
+ * "baidu": {
390
+ * "hostVer": "√",
391
+ * "uniVer": "x",
392
+ * "unixVer": "x"
393
+ * },
394
+ * "toutiao": {
395
+ * "hostVer": "√",
396
+ * "uniVer": "x",
397
+ * "unixVer": "x"
398
+ * },
399
+ * "lark": {
400
+ * "hostVer": "√",
401
+ * "uniVer": "x",
402
+ * "unixVer": "x"
403
+ * },
404
+ * "qq": {
405
+ * "hostVer": "√",
406
+ * "uniVer": "x",
407
+ * "unixVer": "x"
408
+ * },
409
+ * "kuaishou": {
410
+ * "hostVer": "√",
411
+ * "uniVer": "x",
412
+ * "unixVer": "x"
413
+ * },
414
+ * "jd": {
415
+ * "hostVer": "√",
416
+ * "uniVer": "x",
417
+ * "unixVer": "x"
418
+ * }
419
+ * },
420
+ * "web": {
421
+ * "uniVer": "x",
422
+ * "unixVer": "x"
423
+ * }
424
+ * }
425
+ */
426
+ parentPage?: Page | null
427
+
428
+ /**
429
+ * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
430
+ * @uniPlatform {
431
+ * "app": {
432
+ * "android": {
433
+ * "osVer": "5.0",
434
+ * "uniVer": "x",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "ios": {
438
+ * "osVer": "12.0",
439
+ * "uniVer": "x",
440
+ * "unixVer": "x"
441
+ * },
442
+ * "harmony": {
443
+ * "osVer": "3.0",
444
+ * "uniVer": "x",
445
+ * "unixVer": "x"
446
+ * }
447
+ * },
448
+ * "mp": {
449
+ * "weixin": {
450
+ * "hostVer": "√",
451
+ * "uniVer": "x",
452
+ * "unixVer": "x"
453
+ * },
454
+ * "alipay": {
455
+ * "hostVer": "√",
456
+ * "uniVer": "x",
457
+ * "unixVer": "x"
458
+ * },
459
+ * "baidu": {
460
+ * "hostVer": "√",
461
+ * "uniVer": "x",
462
+ * "unixVer": "x"
463
+ * },
464
+ * "toutiao": {
465
+ * "hostVer": "√",
466
+ * "uniVer": "x",
467
+ * "unixVer": "x"
468
+ * },
469
+ * "lark": {
470
+ * "hostVer": "√",
471
+ * "uniVer": "x",
472
+ * "unixVer": "x"
473
+ * },
474
+ * "qq": {
475
+ * "hostVer": "√",
476
+ * "uniVer": "x",
477
+ * "unixVer": "x"
478
+ * },
479
+ * "kuaishou": {
480
+ * "hostVer": "√",
481
+ * "uniVer": "x",
482
+ * "unixVer": "x"
483
+ * },
484
+ * "jd": {
485
+ * "hostVer": "√",
486
+ * "uniVer": "x",
487
+ * "unixVer": "x"
488
+ * }
489
+ * },
490
+ * "web": {
491
+ * "uniVer": "x",
492
+ * "unixVer": "x"
493
+ * }
494
+ * }
495
+ */
496
+ events?: any | null
497
+ /**
498
+ * 接口调用成功的回调函数
499
+ * @uniPlatform {
500
+ * "app": {
501
+ * "android": {
502
+ * "osVer": "5.0",
503
+ * "uniVer": "x",
504
+ * "unixVer": "x"
505
+ * },
506
+ * "ios": {
507
+ * "osVer": "12.0",
508
+ * "uniVer": "x",
509
+ * "unixVer": "x"
510
+ * }
511
+ * },
512
+ * "mp": {
513
+ * "weixin": {
514
+ * "hostVer": "√",
515
+ * "uniVer": "x",
516
+ * "unixVer": "x"
517
+ * },
518
+ * "alipay": {
519
+ * "hostVer": "√",
520
+ * "uniVer": "x",
521
+ * "unixVer": "x"
522
+ * },
523
+ * "baidu": {
524
+ * "hostVer": "√",
525
+ * "uniVer": "x",
526
+ * "unixVer": "x"
527
+ * },
528
+ * "toutiao": {
529
+ * "hostVer": "√",
530
+ * "uniVer": "x",
531
+ * "unixVer": "x"
532
+ * },
533
+ * "lark": {
534
+ * "hostVer": "√",
535
+ * "uniVer": "x",
536
+ * "unixVer": "x"
537
+ * },
538
+ * "qq": {
539
+ * "hostVer": "√",
540
+ * "uniVer": "x",
541
+ * "unixVer": "x"
542
+ * },
543
+ * "kuaishou": {
544
+ * "hostVer": "√",
545
+ * "uniVer": "x",
546
+ * "unixVer": "x"
547
+ * },
548
+ * "jd": {
549
+ * "hostVer": "√",
550
+ * "uniVer": "x",
551
+ * "unixVer": "x"
552
+ * }
553
+ * },
554
+ * "web": {
555
+ * "uniVer": "x",
556
+ * "unixVer": "x"
557
+ * }
558
+ * }
559
+ */
560
+ success?: OpenDialogPageSuccessCallback | null
561
+ /**
562
+ * 接口调用失败的回调函数
563
+ * @uniPlatform {
564
+ * "app": {
565
+ * "android": {
566
+ * "osVer": "5.0",
567
+ * "uniVer": "x",
568
+ * "unixVer": "x"
569
+ * },
570
+ * "ios": {
571
+ * "osVer": "12.0",
572
+ * "uniVer": "x",
573
+ * "unixVer": "x"
574
+ * },
575
+ * "harmony": {
576
+ * "osVer": "3.0",
577
+ * "uniVer": "x",
578
+ * "unixVer": "x"
579
+ * }
580
+ * },
581
+ * "mp": {
582
+ * "weixin": {
583
+ * "hostVer": "√",
584
+ * "uniVer": "x",
585
+ * "unixVer": "x"
586
+ * },
587
+ * "alipay": {
588
+ * "hostVer": "√",
589
+ * "uniVer": "x",
590
+ * "unixVer": "x"
591
+ * },
592
+ * "baidu": {
593
+ * "hostVer": "√",
594
+ * "uniVer": "x",
595
+ * "unixVer": "x"
596
+ * },
597
+ * "toutiao": {
598
+ * "hostVer": "√",
599
+ * "uniVer": "x",
600
+ * "unixVer": "x"
601
+ * },
602
+ * "lark": {
603
+ * "hostVer": "√",
604
+ * "uniVer": "x",
605
+ * "unixVer": "x"
606
+ * },
607
+ * "qq": {
608
+ * "hostVer": "√",
609
+ * "uniVer": "x",
610
+ * "unixVer": "x"
611
+ * },
612
+ * "kuaishou": {
613
+ * "hostVer": "√",
614
+ * "uniVer": "x",
615
+ * "unixVer": "x"
616
+ * },
617
+ * "jd": {
618
+ * "hostVer": "√",
619
+ * "uniVer": "x",
620
+ * "unixVer": "x"
621
+ * }
622
+ * },
623
+ * "web": {
624
+ * "uniVer": "x",
625
+ * "unixVer": "x"
626
+ * }
627
+ * }
628
+ */
629
+ fail?: OpenDialogPageFailCallback | null
630
+ /**
631
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
632
+ * @uniPlatform {
633
+ * "app": {
634
+ * "android": {
635
+ * "osVer": "5.0",
636
+ * "uniVer": "x",
637
+ * "unixVer": "x"
638
+ * },
639
+ * "ios": {
640
+ * "osVer": "12.0",
641
+ * "uniVer": "x",
642
+ * "unixVer": "x"
643
+ * },
644
+ * "harmony": {
645
+ * "osVer": "3.0",
646
+ * "uniVer": "x",
647
+ * "unixVer": "x"
648
+ * }
649
+ * },
650
+ * "mp": {
651
+ * "weixin": {
652
+ * "hostVer": "√",
653
+ * "uniVer": "x",
654
+ * "unixVer": "x"
655
+ * },
656
+ * "alipay": {
657
+ * "hostVer": "√",
658
+ * "uniVer": "x",
659
+ * "unixVer": "x"
660
+ * },
661
+ * "baidu": {
662
+ * "hostVer": "√",
663
+ * "uniVer": "x",
664
+ * "unixVer": "x"
665
+ * },
666
+ * "toutiao": {
667
+ * "hostVer": "√",
668
+ * "uniVer": "x",
669
+ * "unixVer": "x"
670
+ * },
671
+ * "lark": {
672
+ * "hostVer": "√",
673
+ * "uniVer": "x",
674
+ * "unixVer": "x"
675
+ * },
676
+ * "qq": {
677
+ * "hostVer": "√",
678
+ * "uniVer": "x",
679
+ * "unixVer": "x"
680
+ * },
681
+ * "kuaishou": {
682
+ * "hostVer": "√",
683
+ * "uniVer": "x",
684
+ * "unixVer": "x"
685
+ * },
686
+ * "jd": {
687
+ * "hostVer": "√",
688
+ * "uniVer": "x",
689
+ * "unixVer": "x"
690
+ * }
691
+ * },
692
+ * "web": {
693
+ * "uniVer": "x",
694
+ * "unixVer": "x"
695
+ * }
696
+ * }
697
+ */
698
+ complete?: OpenDialogPageCompleteCallback | null
699
+ }
700
+
701
+
702
+
703
+ export type CloseDialogPageSuccess = AsyncApiSuccessResult
704
+ type CloseDialogPageSuccessCallback = (result: CloseDialogPageSuccess) => void
705
+ export interface CloseDialogPageFail extends IUniError {
706
+ errCode: RouteErrorCode
707
+ }
708
+ type CloseDialogPageFailCallback = (result: CloseDialogPageFail) => void
709
+ export type CloseDialogPageComplete = AsyncApiResult
710
+ type CloseDialogPageCompleteCallback = (result: CloseDialogPageComplete) => void
711
+ export type CloseDialogPageOptions = {
712
+ /**
713
+ * 要关闭的 dialogPage 实例
714
+ * @uniPlatform {
715
+ * "app": {
716
+ * "android": {
717
+ * "osVer": "5.0",
718
+ * "uniVer": "x",
719
+ * "unixVer": "x"
720
+ * },
721
+ * "ios": {
722
+ * "osVer": "12.0",
723
+ * "uniVer": "x",
724
+ * "unixVer": "x"
725
+ * },
726
+ * "harmony": {
727
+ * "osVer": "3.0",
728
+ * "uniVer": "x",
729
+ * "unixVer": "x"
730
+ * }
731
+ * },
732
+ * "mp": {
733
+ * "weixin": {
734
+ * "hostVer": "√",
735
+ * "uniVer": "x",
736
+ * "unixVer": "x"
737
+ * },
738
+ * "alipay": {
739
+ * "hostVer": "√",
740
+ * "uniVer": "x",
741
+ * "unixVer": "x"
742
+ * },
743
+ * "baidu": {
744
+ * "hostVer": "√",
745
+ * "uniVer": "x",
746
+ * "unixVer": "x"
747
+ * },
748
+ * "toutiao": {
749
+ * "hostVer": "√",
750
+ * "uniVer": "x",
751
+ * "unixVer": "x"
752
+ * },
753
+ * "lark": {
754
+ * "hostVer": "√",
755
+ * "uniVer": "x",
756
+ * "unixVer": "x"
757
+ * },
758
+ * "qq": {
759
+ * "hostVer": "√",
760
+ * "uniVer": "x",
761
+ * "unixVer": "x"
762
+ * },
763
+ * "kuaishou": {
764
+ * "hostVer": "√",
765
+ * "uniVer": "x",
766
+ * "unixVer": "x"
767
+ * },
768
+ * "jd": {
769
+ * "hostVer": "√",
770
+ * "uniVer": "x",
771
+ * "unixVer": "x"
772
+ * }
773
+ * },
774
+ * "web": {
775
+ * "uniVer": "x",
776
+ * "unixVer": "x"
777
+ * }
778
+ * }
779
+ */
780
+ dialogPage?: UniDialogPage | null
781
+ /**
782
+ * 窗口关闭的动画类型
783
+ * - auto: 自动选择动画效果
784
+ * - none: 无动画效果
785
+ * - slide-out-right: 横向向右侧滑出屏幕动画
786
+ * - slide-out-left: 横向向左侧滑出屏幕动画
787
+ * - slide-out-top: 竖向向上侧滑出屏幕动画
788
+ * - slide-out-bottom: 竖向向下侧滑出屏幕动画
789
+ * - fade-out: 从不透明到透明逐渐隐藏动画
790
+ * - zoom-in: 从大逐渐缩小关闭动画
791
+ * - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
792
+ * - UnionType => 'auto' | 'none' | 'slide-out-right' | 'slide-out-left' | 'slide-out-top' | 'slide-out-bottom' | 'fade-out' | 'zoom-in' | 'zoom-fade-in'
793
+ * @uniPlatform {
794
+ * "app": {
795
+ * "android": {
796
+ * "osVer": "5.0",
797
+ * "uniVer": "x",
798
+ * "unixVer": "x"
799
+ * },
800
+ * "ios": {
801
+ * "osVer": "12.0",
802
+ * "uniVer": "x",
803
+ * "unixVer": "x"
804
+ * }
805
+ * },
806
+ * "mp": {
807
+ * "weixin": {
808
+ * "hostVer": "√",
809
+ * "uniVer": "x",
810
+ * "unixVer": "x"
811
+ * },
812
+ * "alipay": {
813
+ * "hostVer": "√",
814
+ * "uniVer": "x",
815
+ * "unixVer": "x"
816
+ * },
817
+ * "baidu": {
818
+ * "hostVer": "√",
819
+ * "uniVer": "x",
820
+ * "unixVer": "x"
821
+ * },
822
+ * "toutiao": {
823
+ * "hostVer": "√",
824
+ * "uniVer": "x",
825
+ * "unixVer": "x"
826
+ * },
827
+ * "lark": {
828
+ * "hostVer": "√",
829
+ * "uniVer": "x",
830
+ * "unixVer": "x"
831
+ * },
832
+ * "qq": {
833
+ * "hostVer": "√",
834
+ * "uniVer": "x",
835
+ * "unixVer": "x"
836
+ * },
837
+ * "kuaishou": {
838
+ * "hostVer": "√",
839
+ * "uniVer": "x",
840
+ * "unixVer": "x"
841
+ * },
842
+ * "jd": {
843
+ * "hostVer": "√",
844
+ * "uniVer": "x",
845
+ * "unixVer": "x"
846
+ * }
847
+ * },
848
+ * "web": {
849
+ * "uniVer": "x",
850
+ * "unixVer": "x"
851
+ * }
852
+ * }
853
+ */
854
+ animationType?: string | null
855
+ /**
856
+ * 窗口关闭动画的持续时间,单位为 ms
857
+ * @uniPlatform {
858
+ * "app": {
859
+ * "android": {
860
+ * "osVer": "5.0",
861
+ * "uniVer": "x",
862
+ * "unixVer": "x"
863
+ * },
864
+ * "ios": {
865
+ * "osVer": "12.0",
866
+ * "uniVer": "x",
867
+ * "unixVer": "x"
868
+ * }
869
+ * },
870
+ * "mp": {
871
+ * "weixin": {
872
+ * "hostVer": "√",
873
+ * "uniVer": "x",
874
+ * "unixVer": "x"
875
+ * },
876
+ * "alipay": {
877
+ * "hostVer": "√",
878
+ * "uniVer": "x",
879
+ * "unixVer": "x"
880
+ * },
881
+ * "baidu": {
882
+ * "hostVer": "√",
883
+ * "uniVer": "x",
884
+ * "unixVer": "x"
885
+ * },
886
+ * "toutiao": {
887
+ * "hostVer": "√",
888
+ * "uniVer": "x",
889
+ * "unixVer": "x"
890
+ * },
891
+ * "lark": {
892
+ * "hostVer": "√",
893
+ * "uniVer": "x",
894
+ * "unixVer": "x"
895
+ * },
896
+ * "qq": {
897
+ * "hostVer": "√",
898
+ * "uniVer": "x",
899
+ * "unixVer": "x"
900
+ * },
901
+ * "kuaishou": {
902
+ * "hostVer": "√",
903
+ * "uniVer": "x",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "jd": {
907
+ * "hostVer": "√",
908
+ * "uniVer": "x",
909
+ * "unixVer": "x"
910
+ * }
911
+ * },
912
+ * "web": {
913
+ * "uniVer": "x",
914
+ * "unixVer": "x"
915
+ * }
916
+ * }
917
+ */
918
+ animationDuration?: number | null
919
+ /**
920
+ * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
921
+ * @uniPlatform {
922
+ * "app": {
923
+ * "android": {
924
+ * "osVer": "5.0",
925
+ * "uniVer": "x",
926
+ * "unixVer": "x"
927
+ * },
928
+ * "ios": {
929
+ * "osVer": "12.0",
930
+ * "uniVer": "x",
931
+ * "unixVer": "x"
932
+ * },
933
+ * "harmony": {
934
+ * "osVer": "3.0",
935
+ * "uniVer": "x",
936
+ * "unixVer": "x"
937
+ * }
938
+ * },
939
+ * "mp": {
940
+ * "weixin": {
941
+ * "hostVer": "√",
942
+ * "uniVer": "x",
943
+ * "unixVer": "x"
944
+ * },
945
+ * "alipay": {
946
+ * "hostVer": "√",
947
+ * "uniVer": "x",
948
+ * "unixVer": "x"
949
+ * },
950
+ * "baidu": {
951
+ * "hostVer": "√",
952
+ * "uniVer": "x",
953
+ * "unixVer": "x"
954
+ * },
955
+ * "toutiao": {
956
+ * "hostVer": "√",
957
+ * "uniVer": "x",
958
+ * "unixVer": "x"
959
+ * },
960
+ * "lark": {
961
+ * "hostVer": "√",
962
+ * "uniVer": "x",
963
+ * "unixVer": "x"
964
+ * },
965
+ * "qq": {
966
+ * "hostVer": "√",
967
+ * "uniVer": "x",
968
+ * "unixVer": "x"
969
+ * },
970
+ * "kuaishou": {
971
+ * "hostVer": "√",
972
+ * "uniVer": "x",
973
+ * "unixVer": "x"
974
+ * },
975
+ * "jd": {
976
+ * "hostVer": "√",
977
+ * "uniVer": "x",
978
+ * "unixVer": "x"
979
+ * }
980
+ * },
981
+ * "web": {
982
+ * "uniVer": "x",
983
+ * "unixVer": "x"
984
+ * }
985
+ * }
986
+ */
987
+ events?: any | null
988
+ /**
989
+ * 接口调用成功的回调函数
990
+ * @uniPlatform {
991
+ * "app": {
992
+ * "android": {
993
+ * "osVer": "5.0",
994
+ * "uniVer": "x",
995
+ * "unixVer": "x"
996
+ * },
997
+ * "ios": {
998
+ * "osVer": "12.0",
999
+ * "uniVer": "x",
1000
+ * "unixVer": "x"
1001
+ * }
1002
+ * },
1003
+ * "mp": {
1004
+ * "weixin": {
1005
+ * "hostVer": "√",
1006
+ * "uniVer": "x",
1007
+ * "unixVer": "x"
1008
+ * },
1009
+ * "alipay": {
1010
+ * "hostVer": "√",
1011
+ * "uniVer": "x",
1012
+ * "unixVer": "x"
1013
+ * },
1014
+ * "baidu": {
1015
+ * "hostVer": "√",
1016
+ * "uniVer": "x",
1017
+ * "unixVer": "x"
1018
+ * },
1019
+ * "toutiao": {
1020
+ * "hostVer": "√",
1021
+ * "uniVer": "x",
1022
+ * "unixVer": "x"
1023
+ * },
1024
+ * "lark": {
1025
+ * "hostVer": "√",
1026
+ * "uniVer": "x",
1027
+ * "unixVer": "x"
1028
+ * },
1029
+ * "qq": {
1030
+ * "hostVer": "√",
1031
+ * "uniVer": "x",
1032
+ * "unixVer": "x"
1033
+ * },
1034
+ * "kuaishou": {
1035
+ * "hostVer": "√",
1036
+ * "uniVer": "x",
1037
+ * "unixVer": "x"
1038
+ * },
1039
+ * "jd": {
1040
+ * "hostVer": "√",
1041
+ * "uniVer": "x",
1042
+ * "unixVer": "x"
1043
+ * }
1044
+ * },
1045
+ * "web": {
1046
+ * "uniVer": "x",
1047
+ * "unixVer": "x"
1048
+ * }
1049
+ * }
1050
+ */
1051
+ success?: CloseDialogPageSuccessCallback | null
1052
+ /**
1053
+ * 接口调用失败的回调函数
1054
+ * @uniPlatform {
1055
+ * "app": {
1056
+ * "android": {
1057
+ * "osVer": "5.0",
1058
+ * "uniVer": "x",
1059
+ * "unixVer": "x"
1060
+ * },
1061
+ * "ios": {
1062
+ * "osVer": "12.0",
1063
+ * "uniVer": "x",
1064
+ * "unixVer": "x"
1065
+ * },
1066
+ * "harmony": {
1067
+ * "osVer": "3.0",
1068
+ * "uniVer": "x",
1069
+ * "unixVer": "x"
1070
+ * }
1071
+ * },
1072
+ * "mp": {
1073
+ * "weixin": {
1074
+ * "hostVer": "√",
1075
+ * "uniVer": "x",
1076
+ * "unixVer": "x"
1077
+ * },
1078
+ * "alipay": {
1079
+ * "hostVer": "√",
1080
+ * "uniVer": "x",
1081
+ * "unixVer": "x"
1082
+ * },
1083
+ * "baidu": {
1084
+ * "hostVer": "√",
1085
+ * "uniVer": "x",
1086
+ * "unixVer": "x"
1087
+ * },
1088
+ * "toutiao": {
1089
+ * "hostVer": "√",
1090
+ * "uniVer": "x",
1091
+ * "unixVer": "x"
1092
+ * },
1093
+ * "lark": {
1094
+ * "hostVer": "√",
1095
+ * "uniVer": "x",
1096
+ * "unixVer": "x"
1097
+ * },
1098
+ * "qq": {
1099
+ * "hostVer": "√",
1100
+ * "uniVer": "x",
1101
+ * "unixVer": "x"
1102
+ * },
1103
+ * "kuaishou": {
1104
+ * "hostVer": "√",
1105
+ * "uniVer": "x",
1106
+ * "unixVer": "x"
1107
+ * },
1108
+ * "jd": {
1109
+ * "hostVer": "√",
1110
+ * "uniVer": "x",
1111
+ * "unixVer": "x"
1112
+ * }
1113
+ * },
1114
+ * "web": {
1115
+ * "uniVer": "x",
1116
+ * "unixVer": "x"
1117
+ * }
1118
+ * }
1119
+ */
1120
+ fail?: CloseDialogPageFailCallback | null
1121
+ /**
1122
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1123
+ * @uniPlatform {
1124
+ * "app": {
1125
+ * "android": {
1126
+ * "osVer": "5.0",
1127
+ * "uniVer": "x",
1128
+ * "unixVer": "x"
1129
+ * },
1130
+ * "ios": {
1131
+ * "osVer": "12.0",
1132
+ * "uniVer": "x",
1133
+ * "unixVer": "x"
1134
+ * },
1135
+ * "harmony": {
1136
+ * "osVer": "3.0",
1137
+ * "uniVer": "x",
1138
+ * "unixVer": "x"
1139
+ * }
1140
+ * },
1141
+ * "mp": {
1142
+ * "weixin": {
1143
+ * "hostVer": "√",
1144
+ * "uniVer": "x",
1145
+ * "unixVer": "x"
1146
+ * },
1147
+ * "alipay": {
1148
+ * "hostVer": "√",
1149
+ * "uniVer": "x",
1150
+ * "unixVer": "x"
1151
+ * },
1152
+ * "baidu": {
1153
+ * "hostVer": "√",
1154
+ * "uniVer": "x",
1155
+ * "unixVer": "x"
1156
+ * },
1157
+ * "toutiao": {
1158
+ * "hostVer": "√",
1159
+ * "uniVer": "x",
1160
+ * "unixVer": "x"
1161
+ * },
1162
+ * "lark": {
1163
+ * "hostVer": "√",
1164
+ * "uniVer": "x",
1165
+ * "unixVer": "x"
1166
+ * },
1167
+ * "qq": {
1168
+ * "hostVer": "√",
1169
+ * "uniVer": "x",
1170
+ * "unixVer": "x"
1171
+ * },
1172
+ * "kuaishou": {
1173
+ * "hostVer": "√",
1174
+ * "uniVer": "x",
1175
+ * "unixVer": "x"
1176
+ * },
1177
+ * "jd": {
1178
+ * "hostVer": "√",
1179
+ * "uniVer": "x",
1180
+ * "unixVer": "x"
1181
+ * }
1182
+ * },
1183
+ * "web": {
1184
+ * "uniVer": "x",
1185
+ * "unixVer": "x"
1186
+ * }
1187
+ * }
1188
+ */
1189
+ complete?: CloseDialogPageCompleteCallback | null
1190
+ }
1191
+
1192
+ export interface Uni {
1193
+ /**
1194
+ * 打开模态弹窗页面
1195
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1196
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
1197
+ * @uniPlatform {
1198
+ * "app": {
1199
+ * "android": {
1200
+ * "osVer": "5.0",
1201
+ * "uniVer": "x",
1202
+ * "unixVer": "x"
1203
+ * },
1204
+ * "ios": {
1205
+ * "osVer": "12.0",
1206
+ * "uniVer": "x",
1207
+ * "unixVer": "x"
1208
+ * },
1209
+ * "harmony": {
1210
+ * "osVer": "3.0",
1211
+ * "uniVer": "x",
1212
+ * "unixVer": "x"
1213
+ * }
1214
+ * },
1215
+ * "mp": {
1216
+ * "weixin": {
1217
+ * "hostVer": "√",
1218
+ * "uniVer": "x",
1219
+ * "unixVer": "x"
1220
+ * },
1221
+ * "alipay": {
1222
+ * "hostVer": "√",
1223
+ * "uniVer": "x",
1224
+ * "unixVer": "x"
1225
+ * },
1226
+ * "baidu": {
1227
+ * "hostVer": "√",
1228
+ * "uniVer": "x",
1229
+ * "unixVer": "x"
1230
+ * },
1231
+ * "toutiao": {
1232
+ * "hostVer": "√",
1233
+ * "uniVer": "x",
1234
+ * "unixVer": "x"
1235
+ * },
1236
+ * "lark": {
1237
+ * "hostVer": "√",
1238
+ * "uniVer": "x",
1239
+ * "unixVer": "x"
1240
+ * },
1241
+ * "qq": {
1242
+ * "hostVer": "√",
1243
+ * "uniVer": "x",
1244
+ * "unixVer": "x"
1245
+ * },
1246
+ * "kuaishou": {
1247
+ * "hostVer": "√",
1248
+ * "uniVer": "x",
1249
+ * "unixVer": "x"
1250
+ * },
1251
+ * "jd": {
1252
+ * "hostVer": "√",
1253
+ * "uniVer": "x",
1254
+ * "unixVer": "x"
1255
+ * }
1256
+ * },
1257
+ * "web": {
1258
+ * "uniVer": "x",
1259
+ * "unixVer": "x"
1260
+ * }
1261
+ * }
1262
+ */
1263
+ openDialogPage(options: OpenDialogPageOptions): UniDialogPage | null
1264
+ /**
1265
+ * 关闭模态弹窗页面
1266
+ *
1267
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1268
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
1269
+ * @uniPlatform {
1270
+ * "app": {
1271
+ * "android": {
1272
+ * "osVer": "5.0",
1273
+ * "uniVer": "x",
1274
+ * "unixVer": "x"
1275
+ * },
1276
+ * "ios": {
1277
+ * "osVer": "12.0",
1278
+ * "uniVer": "x",
1279
+ * "unixVer": "x"
1280
+ * },
1281
+ * "harmony": {
1282
+ * "osVer": "3.0",
1283
+ * "uniVer": "x",
1284
+ * "unixVer": "x"
1285
+ * }
1286
+ * },
1287
+ * "mp": {
1288
+ * "weixin": {
1289
+ * "hostVer": "√",
1290
+ * "uniVer": "x",
1291
+ * "unixVer": "x"
1292
+ * },
1293
+ * "alipay": {
1294
+ * "hostVer": "√",
1295
+ * "uniVer": "x",
1296
+ * "unixVer": "x"
1297
+ * },
1298
+ * "baidu": {
1299
+ * "hostVer": "√",
1300
+ * "uniVer": "x",
1301
+ * "unixVer": "x"
1302
+ * },
1303
+ * "toutiao": {
1304
+ * "hostVer": "√",
1305
+ * "uniVer": "x",
1306
+ * "unixVer": "x"
1307
+ * },
1308
+ * "lark": {
1309
+ * "hostVer": "√",
1310
+ * "uniVer": "x",
1311
+ * "unixVer": "x"
1312
+ * },
1313
+ * "qq": {
1314
+ * "hostVer": "√",
1315
+ * "uniVer": "x",
1316
+ * "unixVer": "x"
1317
+ * },
1318
+ * "kuaishou": {
1319
+ * "hostVer": "√",
1320
+ * "uniVer": "x",
1321
+ * "unixVer": "x"
1322
+ * },
1323
+ * "jd": {
1324
+ * "hostVer": "√",
1325
+ * "uniVer": "x",
1326
+ * "unixVer": "x"
1327
+ * }
1328
+ * },
1329
+ * "web": {
1330
+ * "uniVer": "x",
1331
+ * "unixVer": "x"
1332
+ * }
1333
+ * }
1334
+ */
1335
+ closeDialogPage(options?: CloseDialogPageOptions | null): null
1336
+ }