@dcloudio/uni-app-x 0.7.111 → 0.7.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniNativeView.d.ts +1 -0
  3. package/types/dom2-internal/UniPage.d.ts +16 -0
  4. package/types/dom2-internal/sharedData.d.ts +9 -14
  5. package/types/native/CSSStyleDeclaration.d.ts +172 -172
  6. package/types/native/CanvasRenderingContext2D.d.ts +4720 -4720
  7. package/types/native/DrawableContext.d.ts +1893 -1893
  8. package/types/native/IUniElement.d.ts +7468 -7461
  9. package/types/native/IUniNativeViewElement.d.ts +327 -327
  10. package/types/native/SnapshotOptions.d.ts +337 -62
  11. package/types/native/UniPage.d.ts +1305 -1305
  12. package/types/native/UniResizeObserver.d.ts +749 -749
  13. package/types/native/UniSwiperAnimationFinishEvent.d.ts +59 -59
  14. package/types/native/UniSwiperChangeEvent.d.ts +58 -58
  15. package/types/page.d.ts +3154 -3112
  16. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  17. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1672 -911
  19. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +126 -126
  20. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +14 -14
  21. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +154 -154
  22. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +14 -14
  23. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/global.d.ts +55 -0
  24. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/index.d.ts +27 -0
  25. package/types/uni/uts-plugin-api/lib/uni-camera/utssdk/interface.d.ts +1155 -0
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +9 -6
  27. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +5 -3
  28. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +978 -972
  29. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
  30. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
  31. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -0
  32. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +358 -358
  33. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  34. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +78 -78
  35. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +490 -479
  36. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -214
  37. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +126 -126
  38. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +30 -30
  39. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +39 -0
  40. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +19 -0
  41. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +856 -0
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +147 -147
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +397 -397
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +6363 -6359
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +554 -554
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2149 -2149
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1340 -1340
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1707 -1707
  50. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +307 -307
  51. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +310 -310
  52. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  53. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +129 -129
  54. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +757 -757
  55. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +5881 -5879
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +442 -442
  57. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/global.d.ts +9 -0
  58. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/index.d.ts +5 -0
  59. package/types/uni/uts-plugin-api/lib/uni-input/utssdk/interface.d.ts +0 -0
  60. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +171 -171
  61. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  62. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +536 -536
  63. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +2914 -2910
  64. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +24 -24
  65. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +208 -208
  66. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +785 -785
  67. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4243 -4243
  68. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1979 -1963
  69. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +5 -3
  70. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +229 -229
  71. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +753 -753
  72. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +84 -84
  73. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +790 -788
  74. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +447 -447
  75. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +498 -498
  76. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1552 -1548
  77. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +58 -58
  78. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +30 -30
  79. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2513 -2513
  80. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +81 -81
  81. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +351 -351
  82. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +107 -107
  83. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +584 -584
  84. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -722
  85. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +292 -292
  86. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +358 -358
  87. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +657 -657
  88. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/global.d.ts +9 -0
  89. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/index.d.ts +5 -0
  90. package/types/uni/uts-plugin-api/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1010 -1010
  92. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/global.d.ts +47 -0
  93. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/index.d.ts +23 -0
  94. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +926 -0
  95. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +29 -0
  96. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +14 -0
  97. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +452 -0
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1442 -1442
  99. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +220 -220
  100. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +65 -65
  101. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +981 -981
  102. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +26 -26
  103. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +1155 -0
  104. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +38 -0
  105. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +52 -0
  106. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +976 -0
  107. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +976 -0
  108. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +171 -0
  109. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +237 -0
  110. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +2 -0
  111. package/types/uni/uts-plugin-component/.temp/uni-form.ts +1 -0
  112. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  113. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +56 -0
  114. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +88 -0
  115. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +2 -0
  116. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +2 -0
  117. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +2 -0
  118. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +1 -0
  119. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  120. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +2 -0
  121. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +2 -0
  122. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +1 -0
  123. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +7 -0
  124. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +12 -0
  125. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  126. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +936 -0
  127. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +134 -0
  128. package/types/uni/uts-plugin-component/.temp/uni-video.ts +180 -0
  129. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +452 -0
  130. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +51 -0
  131. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +86 -0
  132. package/types/uni/uts-plugin-component/global.d.ts +79 -0
  133. package/types/uni/uts-plugin-component/index.d.ts +79 -0
  134. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +29 -0
  135. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +14 -0
  136. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +1673 -0
  137. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +25 -0
  138. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  139. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +226 -0
  140. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +11 -0
  141. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +5 -0
  142. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +79 -0
  143. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +59 -0
  144. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +29 -0
  145. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  146. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/global.d.ts +9 -0
  147. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/index.d.ts +5 -0
  148. package/types/uni/uts-plugin-component/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  149. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +11 -0
  150. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +79 -0
  152. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +978 -976
  153. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +978 -976
  154. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +25 -0
  155. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +12 -0
  156. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +423 -0
  157. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +33 -0
  158. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +16 -0
  159. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +499 -0
  160. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +45 -0
  161. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +22 -0
  162. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +217 -0
  163. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +33 -0
  164. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +16 -0
  165. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +3379 -0
  166. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +21 -0
  167. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +10 -0
  168. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +153 -0
  169. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +19 -0
  170. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +9 -0
  171. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -0
  172. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +21 -0
  173. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +10 -0
  174. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +560 -0
  175. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +15 -0
  176. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +7 -0
  177. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +214 -0
  178. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +23 -0
  179. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +11 -0
  180. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +158 -0
  181. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +29 -0
  182. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +14 -0
  183. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +2304 -0
  184. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +39 -0
  185. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +19 -0
  186. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +856 -0
  187. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/global.d.ts +25 -0
  188. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/index.d.ts +13 -0
  189. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +181 -0
  190. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +17 -0
  191. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +8 -0
  192. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +338 -0
  193. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +27 -0
  194. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +13 -0
  195. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +147 -0
  196. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +81 -0
  197. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +40 -0
  198. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +397 -0
  199. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +151 -0
  200. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -0
  201. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +6428 -0
  202. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +11 -0
  203. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +5 -0
  204. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +37 -0
  205. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +13 -0
  206. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +6 -0
  207. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +620 -0
  208. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +15 -0
  209. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +7 -0
  210. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2220 -0
  211. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +17 -0
  212. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +8 -0
  213. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1406 -0
  214. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +15 -0
  215. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +7 -0
  216. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +1774 -0
  217. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +11 -0
  218. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/index.d.ts +5 -0
  219. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +82 -0
  220. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +13 -0
  221. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +6 -0
  222. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +374 -0
  223. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +13 -0
  224. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +6 -0
  225. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +377 -0
  226. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +21 -0
  227. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +11 -0
  228. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -0
  229. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +33 -0
  230. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +16 -0
  231. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +420 -0
  232. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +23 -0
  233. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +11 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +199 -0
  235. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +37 -0
  236. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +18 -0
  237. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +757 -0
  238. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +33 -0
  239. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +16 -0
  240. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +6084 -0
  241. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +13 -0
  242. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +6 -0
  243. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +508 -0
  244. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +25 -0
  245. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +12 -0
  246. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +125 -0
  247. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +17 -0
  248. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +8 -0
  249. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +171 -0
  250. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +45 -0
  251. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +22 -0
  252. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +234 -0
  253. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +29 -0
  254. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +14 -0
  255. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +603 -0
  256. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +61 -0
  257. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +30 -0
  258. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +3443 -0
  259. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +9 -0
  260. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +5 -0
  261. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +3 -0
  262. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +9 -0
  263. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
  264. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +3 -0
  265. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +29 -0
  266. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +14 -0
  267. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +386 -0
  268. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +157 -0
  269. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +78 -0
  270. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +5245 -0
  271. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +43 -0
  272. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +21 -0
  273. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +291 -0
  274. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +69 -0
  275. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +34 -0
  276. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +1047 -0
  277. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +109 -0
  278. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +54 -0
  279. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +4462 -0
  280. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +71 -0
  281. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +35 -0
  282. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +2142 -0
  283. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +9 -0
  284. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +5 -0
  285. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -0
  286. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +17 -0
  287. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +9 -0
  288. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +48 -0
  289. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +25 -0
  290. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +12 -0
  291. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +256 -0
  292. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +29 -0
  293. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +14 -0
  294. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +823 -0
  295. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +27 -0
  296. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +13 -0
  297. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +155 -0
  298. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +33 -0
  299. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +16 -0
  300. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +856 -0
  301. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +9 -0
  302. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +5 -0
  303. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +3 -0
  304. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +9 -0
  305. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +5 -0
  306. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
  307. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +9 -0
  308. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -0
  309. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +5 -0
  310. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/global.d.ts +19 -0
  311. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/index.d.ts +10 -0
  312. package/types/uni/uts-plugin-component/lib/uni-picker-global/utssdk/interface.d.ts +26 -0
  313. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +47 -0
  314. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +23 -0
  315. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +520 -0
  316. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +31 -0
  317. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +15 -0
  318. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +568 -0
  319. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +33 -0
  320. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +16 -0
  321. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +1693 -0
  322. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +29 -0
  323. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +14 -0
  324. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +191 -0
  325. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +21 -0
  326. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +10 -0
  327. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +2999 -0
  328. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +21 -0
  329. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +10 -0
  330. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +713 -0
  331. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +59 -0
  332. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +29 -0
  333. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +2731 -0
  334. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +11 -0
  335. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +5 -0
  336. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +81 -0
  337. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +25 -0
  338. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +12 -0
  339. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +429 -0
  340. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  341. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  342. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +314 -0
  343. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +41 -0
  344. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +20 -0
  345. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +584 -0
  346. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +9 -0
  347. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +5 -0
  348. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -0
  349. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +27 -0
  350. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +13 -0
  351. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +722 -0
  352. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +47 -0
  353. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +23 -0
  354. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +446 -0
  355. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +21 -0
  356. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +10 -0
  357. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +330 -0
  358. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +79 -0
  359. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +39 -0
  360. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +1030 -0
  361. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +149 -0
  362. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +74 -0
  363. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +1221 -0
  364. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +53 -0
  365. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +26 -0
  366. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +1141 -0
  367. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -22
  368. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -11
  369. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +862 -872
  370. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +4 -14
  371. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +2 -7
  372. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +14 -51
  373. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +113 -0
  374. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +56 -0
  375. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +1661 -0
  376. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +17 -17
  377. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +59 -0
  378. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +29 -0
  379. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +1939 -0
  380. package/types/vue/LifeCycle.d.ts +865 -854
@@ -0,0 +1,856 @@
1
+ import { RequestPaymentFailImpl as RequestPaymentFailImplement } from './unierror.uts'
2
+
3
+ export type RequestPaymentFailImpl = RequestPaymentFailImplement
4
+
5
+
6
+
7
+ export interface UniPaymentProvider extends UniProvider {
8
+ requestPayment(options : RequestPaymentOptions) : void;
9
+ }
10
+
11
+
12
+ export interface Uni {
13
+ /**
14
+ * @description 请求支付
15
+ * @param {RequestPaymentOptions} options
16
+ * @example
17
+ * ```typescript
18
+ * uni.requestPayment({
19
+ * provider: "alipay",
20
+ * orderInfo: "",
21
+ * success: function (res) {
22
+ * console.log("支付成功"+JSON.stringify(res))
23
+ * }
24
+ * });
25
+ * ```
26
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/payment.html#requestpayment
27
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/request-payment.html#requestpayment
28
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/request-payment.html#requestpayment
29
+ * @uniPlatform {
30
+ * "app": {
31
+ * "android": {
32
+ * "osVer": "5.0",
33
+ * "uniVer": "√",
34
+ * "unixVer": "4.02"
35
+ * },
36
+ * "ios": {
37
+ * "osVer": "12.0",
38
+ * "uniVer": "√",
39
+ * "unixVer": "4.18"
40
+ * },
41
+ * "harmony": {
42
+ * "osVer": "3.0",
43
+ * "uniVer": "4.26",
44
+ * "unixVer": "4.61",
45
+ * "unixVaporVer": "5.0"
46
+ * }
47
+ * },
48
+ * "mp": {
49
+ * "weixin": {
50
+ * "hostVer": "√",
51
+ * "uniVer": "√",
52
+ * "unixVer": "4.41"
53
+ * },
54
+ * "alipay": {
55
+ * "hostVer": "√",
56
+ * "uniVer": "√",
57
+ * "unixVer": "x"
58
+ * },
59
+ * "baidu": {
60
+ * "hostVer": "√",
61
+ * "uniVer": "√",
62
+ * "unixVer": "x"
63
+ * },
64
+ * "toutiao": {
65
+ * "hostVer": "√",
66
+ * "uniVer": "√",
67
+ * "unixVer": "x"
68
+ * },
69
+ * "lark": {
70
+ * "hostVer": "√",
71
+ * "uniVer": "√",
72
+ * "unixVer": "x"
73
+ * },
74
+ * "qq": {
75
+ * "hostVer": "√",
76
+ * "uniVer": "√",
77
+ * "unixVer": "x"
78
+ * },
79
+ * "kuaishou": {
80
+ * "hostVer": "√",
81
+ * "uniVer": "√",
82
+ * "unixVer": "x"
83
+ * },
84
+ * "jd": {
85
+ * "hostVer": "√",
86
+ * "uniVer": "√",
87
+ * "unixVer": "x"
88
+ * }
89
+ * },
90
+ * "web": {
91
+ * "uniVer": "x",
92
+ * "unixVer": "x"
93
+ * }
94
+ * }
95
+ */
96
+ requestPayment(options: RequestPaymentOptions): void;
97
+ }
98
+ /**
99
+ * 错误码
100
+ */
101
+ export type RequestPaymentErrorCode =
102
+ /**
103
+ * 正在处理中,支付结果未知(有可能已经支付成功),请查询商家订单列表中订单的支付状态
104
+ * @uniPlatform {
105
+ * "app": {
106
+ * "android": {
107
+ * "osVer": "5.0",
108
+ * "uniVer": "√",
109
+ * "unixVer": "4.02"
110
+ * },
111
+ * "ios": {
112
+ * "osVer": "12.0",
113
+ * "uniVer": "√",
114
+ * "unixVer": "4.18"
115
+ * },
116
+ * "harmony": {
117
+ * "osVer": "3.0",
118
+ * "uniVer": "4.27",
119
+ * "unixVer": "4.61",
120
+ * "unixVaporVer": "5.0"
121
+ * }
122
+ * },
123
+ * "web": {
124
+ * "uniVer": "x",
125
+ * "unixVer": "x"
126
+ * }
127
+ * }
128
+ */
129
+ 700600 |
130
+ /**
131
+ * 订单支付失败。
132
+ * @uniPlatform {
133
+ * "app": {
134
+ * "android": {
135
+ * "osVer": "5.0",
136
+ * "uniVer": "√",
137
+ * "unixVer": "4.02"
138
+ * },
139
+ * "ios": {
140
+ * "osVer": "12.0",
141
+ * "uniVer": "√",
142
+ * "unixVer": "4.18"
143
+ * },
144
+ * "harmony": {
145
+ * "osVer": "3.0",
146
+ * "uniVer": "4.27",
147
+ * "unixVer": "4.61",
148
+ * "unixVaporVer": "5.0"
149
+ * }
150
+ * },
151
+ * "web": {
152
+ * "uniVer": "x",
153
+ * "unixVer": "x"
154
+ * }
155
+ * }
156
+ */
157
+ 701100 |
158
+ /**
159
+ * 重复请求。
160
+ * @uniPlatform {
161
+ * "app": {
162
+ * "android": {
163
+ * "osVer": "5.0",
164
+ * "uniVer": "√",
165
+ * "unixVer": "4.02"
166
+ * },
167
+ * "ios": {
168
+ * "osVer": "12.0",
169
+ * "uniVer": "√",
170
+ * "unixVer": "4.18"
171
+ * },
172
+ * "harmony": {
173
+ * "osVer": "3.0",
174
+ * "uniVer": "4.27",
175
+ * "unixVer": "4.61",
176
+ * "unixVaporVer": "5.0"
177
+ * }
178
+ * },
179
+ * "web": {
180
+ * "uniVer": "x",
181
+ * "unixVer": "x"
182
+ * }
183
+ * }
184
+ */
185
+ 701110 |
186
+ /**
187
+ * 用户中途取消。
188
+ * @uniPlatform {
189
+ * "app": {
190
+ * "android": {
191
+ * "osVer": "5.0",
192
+ * "uniVer": "√",
193
+ * "unixVer": "4.02"
194
+ * },
195
+ * "ios": {
196
+ * "osVer": "12.0",
197
+ * "uniVer": "√",
198
+ * "unixVer": "4.18"
199
+ * },
200
+ * "harmony": {
201
+ * "osVer": "3.0",
202
+ * "uniVer": "4.27",
203
+ * "unixVer": "4.61",
204
+ * "unixVaporVer": "5.0"
205
+ * }
206
+ * },
207
+ * "web": {
208
+ * "uniVer": "x",
209
+ * "unixVer": "x"
210
+ * }
211
+ * }
212
+ */
213
+ 700601 |
214
+ /**
215
+ * 网络连接出错。
216
+ * @uniPlatform {
217
+ * "app": {
218
+ * "android": {
219
+ * "osVer": "5.0",
220
+ * "uniVer": "√",
221
+ * "unixVer": "4.02"
222
+ * },
223
+ * "ios": {
224
+ * "osVer": "12.0",
225
+ * "uniVer": "√",
226
+ * "unixVer": "4.18"
227
+ * },
228
+ * "harmony": {
229
+ * "osVer": "3.0",
230
+ * "uniVer": "4.27",
231
+ * "unixVer": "4.61",
232
+ * "unixVaporVer": "5.0"
233
+ * }
234
+ * },
235
+ * "web": {
236
+ * "uniVer": "x",
237
+ * "unixVer": "x"
238
+ * }
239
+ * }
240
+ */
241
+ 700602 |
242
+ /**
243
+ * 支付结果未知(有可能已经支付成功),请查询商家订单列表中订单的支付状态。
244
+ * @uniPlatform {
245
+ * "app": {
246
+ * "android": {
247
+ * "osVer": "5.0",
248
+ * "uniVer": "√",
249
+ * "unixVer": "4.02"
250
+ * },
251
+ * "ios": {
252
+ * "osVer": "12.0",
253
+ * "uniVer": "√",
254
+ * "unixVer": "4.18"
255
+ * },
256
+ * "harmony": {
257
+ * "osVer": "3.0",
258
+ * "uniVer": "4.27",
259
+ * "unixVer": "4.61",
260
+ * "unixVaporVer": "5.0"
261
+ * }
262
+ * },
263
+ * "web": {
264
+ * "uniVer": "x",
265
+ * "unixVer": "x"
266
+ * }
267
+ * }
268
+ */
269
+ 700603 |
270
+ /**
271
+ * 其它支付错误。
272
+ * @uniPlatform {
273
+ * "app": {
274
+ * "android": {
275
+ * "osVer": "5.0",
276
+ * "uniVer": "√",
277
+ * "unixVer": "4.02"
278
+ * },
279
+ * "ios": {
280
+ * "osVer": "12.0",
281
+ * "uniVer": "√",
282
+ * "unixVer": "4.18"
283
+ * },
284
+ * "harmony": {
285
+ * "osVer": "3.0",
286
+ * "uniVer": "4.27",
287
+ * "unixVer": "4.61",
288
+ * "unixVaporVer": "5.0"
289
+ * }
290
+ * },
291
+ * "web": {
292
+ * "uniVer": "x",
293
+ * "unixVer": "x"
294
+ * }
295
+ * }
296
+ */
297
+ 700000 |
298
+ /**
299
+ * 微信没有安装。
300
+ * @uniPlatform {
301
+ * "app": {
302
+ * "android": {
303
+ * "osVer": "5.0",
304
+ * "uniVer": "√",
305
+ * "unixVer": "4.02"
306
+ * },
307
+ * "ios": {
308
+ * "osVer": "12.0",
309
+ * "uniVer": "√",
310
+ * "unixVer": "4.18"
311
+ * },
312
+ * "harmony": {
313
+ * "osVer": "3.0",
314
+ * "uniVer": "4.27",
315
+ * "unixVer": "4.61",
316
+ * "unixVaporVer": "5.0"
317
+ * }
318
+ * },
319
+ * "web": {
320
+ * "uniVer": "x",
321
+ * "unixVer": "x"
322
+ * }
323
+ * }
324
+ */
325
+ 700604 |
326
+ /**
327
+ * 服务供应商获取失败。
328
+ * @uniPlatform {
329
+ * "app": {
330
+ * "android": {
331
+ * "osVer": "5.0",
332
+ * "uniVer": "√",
333
+ * "unixVer": "4.02"
334
+ * },
335
+ * "ios": {
336
+ * "osVer": "12.0",
337
+ * "uniVer": "√",
338
+ * "unixVer": "4.18"
339
+ * },
340
+ * "harmony": {
341
+ * "osVer": "3.0",
342
+ * "uniVer": "4.27",
343
+ * "unixVer": "4.61",
344
+ * "unixVaporVer": "5.0"
345
+ * }
346
+ * },
347
+ * "web": {
348
+ * "uniVer": "x",
349
+ * "unixVer": "x"
350
+ * }
351
+ * }
352
+ */
353
+ 700605 |
354
+ /**
355
+ * 支付未完成。
356
+ * @uniPlatform {
357
+ * "app": {
358
+ * "android": {
359
+ * "osVer": "5.0",
360
+ * "uniVer": "x",
361
+ * "unixVer": "4.31"
362
+ * },
363
+ * "ios": {
364
+ * "osVer": "12.0",
365
+ * "uniVer": "x",
366
+ * "unixVer": "4.31"
367
+ * },
368
+ * "harmony": {
369
+ * "osVer": "3.0",
370
+ * "uniVer": "4.31",
371
+ * "unixVer": "4.61",
372
+ * "unixVaporVer": "5.0"
373
+ * }
374
+ * },
375
+ * "web": {
376
+ * "uniVer": "x",
377
+ * "unixVer": "x"
378
+ * }
379
+ * }
380
+ */
381
+ 700607 |
382
+ /**
383
+ * 服务商返回参数错误。
384
+ * @uniPlatform {
385
+ * "app": {
386
+ * "android": {
387
+ * "osVer": "5.0",
388
+ * "uniVer": "x",
389
+ * "unixVer": "4.31"
390
+ * },
391
+ * "ios": {
392
+ * "osVer": "12.0",
393
+ * "uniVer": "x",
394
+ * "unixVer": "4.31"
395
+ * },
396
+ * "harmony": {
397
+ * "osVer": "3.0",
398
+ * "uniVer": "4.31",
399
+ * "unixVer": "4.61",
400
+ * "unixVaporVer": "5.0"
401
+ * }
402
+ * },
403
+ * "web": {
404
+ * "uniVer": "x",
405
+ * "unixVer": "x"
406
+ * }
407
+ * }
408
+ */
409
+ 700608 |
410
+ /**
411
+ * 没有配置对应的URL Scheme。
412
+ * @uniPlatform {
413
+ * "app": {
414
+ * "android": {
415
+ * "osVer": "5.0",
416
+ * "uniVer": "x",
417
+ * "unixVer": "x"
418
+ * },
419
+ * "ios": {
420
+ * "osVer": "12.0",
421
+ * "uniVer": "√",
422
+ * "unixVer": "4.18"
423
+ * },
424
+ * "harmony": {
425
+ * "osVer": "x",
426
+ * "uniVer": "x",
427
+ * "unixVer": "x"
428
+ * }
429
+ * },
430
+ * "web": {
431
+ * "uniVer": "x",
432
+ * "unixVer": "x"
433
+ * }
434
+ * }
435
+ */
436
+ 700800 |
437
+ /**
438
+ * 没有配置对应的Universal Link。
439
+ * @uniPlatform {
440
+ * "app": {
441
+ * "android": {
442
+ * "osVer": "5.0",
443
+ * "uniVer": "x",
444
+ * "unixVer": "x"
445
+ * },
446
+ * "ios": {
447
+ * "osVer": "12.0",
448
+ * "uniVer": "√",
449
+ * "unixVer": "4.18"
450
+ * },
451
+ * "harmony": {
452
+ * "osVer": "x",
453
+ * "uniVer": "x",
454
+ * "unixVer": "x"
455
+ * }
456
+ * },
457
+ * "web": {
458
+ * "uniVer": "x",
459
+ * "unixVer": "x"
460
+ * }
461
+ * }
462
+ */
463
+ 700801;
464
+
465
+
466
+ export type RequestPayment = (options: RequestPaymentOptions) => void;
467
+ export type RequestPaymentSuccess = {
468
+ /**
469
+ * 返回数据
470
+ * @uniPlatform {
471
+ * "app": {
472
+ * "android": {
473
+ * "osVer": "5.0",
474
+ * "uniVer": "√",
475
+ * "unixVer": "4.02"
476
+ * },
477
+ * "ios": {
478
+ * "osVer": "12.0",
479
+ * "uniVer": "√",
480
+ * "unixVer": "4.18"
481
+ * },
482
+ * "harmony": {
483
+ * "osVer": "3.0",
484
+ * "uniVer": "4.25",
485
+ * "unixVer": "4.61",
486
+ * "unixVaporVer": "5.0"
487
+ * }
488
+ * },
489
+ * "mp": {
490
+ * "weixin": {
491
+ * "hostVer": "√",
492
+ * "uniVer": "√",
493
+ * "unixVer": "4.41"
494
+ * },
495
+ * "alipay": {
496
+ * "hostVer": "√",
497
+ * "uniVer": "√",
498
+ * "unixVer": "x"
499
+ * },
500
+ * "baidu": {
501
+ * "hostVer": "√",
502
+ * "uniVer": "√",
503
+ * "unixVer": "x"
504
+ * },
505
+ * "toutiao": {
506
+ * "hostVer": "√",
507
+ * "uniVer": "√",
508
+ * "unixVer": "x"
509
+ * },
510
+ * "lark": {
511
+ * "hostVer": "√",
512
+ * "uniVer": "√",
513
+ * "unixVer": "x"
514
+ * },
515
+ * "qq": {
516
+ * "hostVer": "√",
517
+ * "uniVer": "√",
518
+ * "unixVer": "x"
519
+ * },
520
+ * "kuaishou": {
521
+ * "hostVer": "√",
522
+ * "uniVer": "√",
523
+ * "unixVer": "x"
524
+ * },
525
+ * "jd": {
526
+ * "hostVer": "√",
527
+ * "uniVer": "√",
528
+ * "unixVer": "x"
529
+ * }
530
+ * },
531
+ * "web": {
532
+ * "uniVer": "x",
533
+ * "unixVer": "x"
534
+ * }
535
+ * }
536
+ */
537
+ data: object | null
538
+ };
539
+ export type RequestPaymentSuccessCallback = (result: RequestPaymentSuccess) => void;
540
+ export type RequestPaymentFail = IRequestPaymentFail;
541
+ export type RequestPaymentFailCallback = (result: RequestPaymentFail) => void;
542
+ export type RequestPaymentComplete = any
543
+ export interface IRequestPaymentFail extends IUniError {
544
+ errCode: RequestPaymentErrorCode
545
+ };
546
+ export type RequestPaymentCompleteCallback = (result: RequestPaymentComplete) => void;
547
+ export type RequestPaymentOptions = {
548
+ /**
549
+ * 支付服务提供商,通过 [uni.getProvider](https://doc.dcloud.net.cn/uni-app-x/api/provider.html) 获取,目前支持支付宝支付(alipay),微信支付(wxpay)
550
+ * @uniPlatform {
551
+ * "app": {
552
+ * "android": {
553
+ * "osVer": "5.0",
554
+ * "uniVer": "√",
555
+ * "unixVer": "4.02"
556
+ * },
557
+ * "ios": {
558
+ * "osVer": "12.0",
559
+ * "uniVer": "√",
560
+ * "unixVer": "4.18"
561
+ * },
562
+ * "harmony": {
563
+ * "osVer": "3,0",
564
+ * "uniVer": "4.25",
565
+ * "unixVer": "4.61",
566
+ * "unixVaporVer": "5.0"
567
+ * }
568
+ * },
569
+ * "web": {
570
+ * "uniVer": "x",
571
+ * "unixVer": "x"
572
+ * }
573
+ * }
574
+ */
575
+ provider: string,
576
+ /**
577
+ * 订单数据
578
+ * @uniPlatform {
579
+ * "app": {
580
+ * "android": {
581
+ * "osVer": "5.0",
582
+ * "uniVer": "√",
583
+ * "unixVer": "4.02"
584
+ * },
585
+ * "ios": {
586
+ * "osVer": "12.0",
587
+ * "uniVer": "√",
588
+ * "unixVer": "4.18"
589
+ * },
590
+ * "harmony": {
591
+ * "osVer": "3.0",
592
+ * "uniVer": "4.25",
593
+ * "unixVer": "4.61",
594
+ * "unixVaporVer": "5.0"
595
+ * }
596
+ * },
597
+ * "mp": {
598
+ * "weixin": {
599
+ * "hostVer": "√",
600
+ * "uniVer": "√",
601
+ * "unixVer": "x"
602
+ * },
603
+ * "alipay": {
604
+ * "hostVer": "√",
605
+ * "uniVer": "√",
606
+ * "unixVer": "x"
607
+ * },
608
+ * "baidu": {
609
+ * "hostVer": "√",
610
+ * "uniVer": "√",
611
+ * "unixVer": "x"
612
+ * },
613
+ * "toutiao": {
614
+ * "hostVer": "√",
615
+ * "uniVer": "√",
616
+ * "unixVer": "x"
617
+ * },
618
+ * "lark": {
619
+ * "hostVer": "√",
620
+ * "uniVer": "√",
621
+ * "unixVer": "x"
622
+ * },
623
+ * "qq": {
624
+ * "hostVer": "√",
625
+ * "uniVer": "√",
626
+ * "unixVer": "x"
627
+ * },
628
+ * "kuaishou": {
629
+ * "hostVer": "√",
630
+ * "uniVer": "√",
631
+ * "unixVer": "x"
632
+ * },
633
+ * "jd": {
634
+ * "hostVer": "√",
635
+ * "uniVer": "√",
636
+ * "unixVer": "x"
637
+ * }
638
+ * },
639
+ * "web": {
640
+ * "uniVer": "x",
641
+ * "unixVer": "x"
642
+ * }
643
+ * }
644
+ */
645
+ orderInfo: string,
646
+ /**
647
+ * 接口调用成功的回调函数
648
+ * @uniPlatform {
649
+ * "app": {
650
+ * "android": {
651
+ * "osVer": "5.0",
652
+ * "uniVer": "√",
653
+ * "unixVer": "4.02"
654
+ * },
655
+ * "ios": {
656
+ * "osVer": "12.0",
657
+ * "uniVer": "√",
658
+ * "unixVer": "4.18"
659
+ * },
660
+ * "harmony": {
661
+ * "osVer": "3,0",
662
+ * "uniVer": "4.25",
663
+ * "unixVer": "4.61",
664
+ * "unixVaporVer": "5.0"
665
+ * }
666
+ * },
667
+ * "mp": {
668
+ * "weixin": {
669
+ * "hostVer": "√",
670
+ * "uniVer": "√",
671
+ * "unixVer": "4.41"
672
+ * },
673
+ * "alipay": {
674
+ * "hostVer": "√",
675
+ * "uniVer": "√",
676
+ * "unixVer": "x"
677
+ * },
678
+ * "baidu": {
679
+ * "hostVer": "√",
680
+ * "uniVer": "√",
681
+ * "unixVer": "x"
682
+ * },
683
+ * "toutiao": {
684
+ * "hostVer": "√",
685
+ * "uniVer": "√",
686
+ * "unixVer": "x"
687
+ * },
688
+ * "lark": {
689
+ * "hostVer": "√",
690
+ * "uniVer": "√",
691
+ * "unixVer": "x"
692
+ * },
693
+ * "qq": {
694
+ * "hostVer": "√",
695
+ * "uniVer": "√",
696
+ * "unixVer": "x"
697
+ * },
698
+ * "kuaishou": {
699
+ * "hostVer": "√",
700
+ * "uniVer": "√",
701
+ * "unixVer": "x"
702
+ * },
703
+ * "jd": {
704
+ * "hostVer": "√",
705
+ * "uniVer": "√",
706
+ * "unixVer": "x"
707
+ * }
708
+ * },
709
+ * "web": {
710
+ * "uniVer": "x",
711
+ * "unixVer": "x"
712
+ * }
713
+ * }
714
+ */
715
+ success: RequestPaymentSuccessCallback | null,
716
+ /**
717
+ * 接口调用失败的回调函数
718
+ * @uniPlatform {
719
+ * "app": {
720
+ * "android": {
721
+ * "osVer": "5.0",
722
+ * "uniVer": "√",
723
+ * "unixVer": "4.02"
724
+ * },
725
+ * "ios": {
726
+ * "osVer": "12.0",
727
+ * "uniVer": "√",
728
+ * "unixVer": "4.18"
729
+ * },
730
+ * "harmony": {
731
+ * "osVer": "3.0",
732
+ * "uniVer": "4.25",
733
+ * "unixVer": "4.61",
734
+ * "unixVaporVer": "5.0"
735
+ * }
736
+ * },
737
+ * "mp": {
738
+ * "weixin": {
739
+ * "hostVer": "√",
740
+ * "uniVer": "√",
741
+ * "unixVer": "4.41"
742
+ * },
743
+ * "alipay": {
744
+ * "hostVer": "√",
745
+ * "uniVer": "√",
746
+ * "unixVer": "x"
747
+ * },
748
+ * "baidu": {
749
+ * "hostVer": "√",
750
+ * "uniVer": "√",
751
+ * "unixVer": "x"
752
+ * },
753
+ * "toutiao": {
754
+ * "hostVer": "√",
755
+ * "uniVer": "√",
756
+ * "unixVer": "x"
757
+ * },
758
+ * "lark": {
759
+ * "hostVer": "√",
760
+ * "uniVer": "√",
761
+ * "unixVer": "x"
762
+ * },
763
+ * "qq": {
764
+ * "hostVer": "√",
765
+ * "uniVer": "√",
766
+ * "unixVer": "x"
767
+ * },
768
+ * "kuaishou": {
769
+ * "hostVer": "√",
770
+ * "uniVer": "√",
771
+ * "unixVer": "x"
772
+ * },
773
+ * "jd": {
774
+ * "hostVer": "√",
775
+ * "uniVer": "√",
776
+ * "unixVer": "x"
777
+ * }
778
+ * },
779
+ * "web": {
780
+ * "uniVer": "x",
781
+ * "unixVer": "x"
782
+ * }
783
+ * }
784
+ */
785
+ fail: RequestPaymentFailCallback | null,
786
+ /**
787
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
788
+ * @uniPlatform {
789
+ * "app": {
790
+ * "android": {
791
+ * "osVer": "5.0",
792
+ * "uniVer": "√",
793
+ * "unixVer": "4.02"
794
+ * },
795
+ * "ios": {
796
+ * "osVer": "12.0",
797
+ * "uniVer": "√",
798
+ * "unixVer": "4.18"
799
+ * },
800
+ * "harmony": {
801
+ * "osVer": "3.0",
802
+ * "uniVer": "4.25",
803
+ * "unixVer": "4.61",
804
+ * "unixVaporVer": "5.0"
805
+ * }
806
+ * },
807
+ * "mp": {
808
+ * "weixin": {
809
+ * "hostVer": "√",
810
+ * "uniVer": "√",
811
+ * "unixVer": "4.41"
812
+ * },
813
+ * "alipay": {
814
+ * "hostVer": "√",
815
+ * "uniVer": "√",
816
+ * "unixVer": "x"
817
+ * },
818
+ * "baidu": {
819
+ * "hostVer": "√",
820
+ * "uniVer": "√",
821
+ * "unixVer": "x"
822
+ * },
823
+ * "toutiao": {
824
+ * "hostVer": "√",
825
+ * "uniVer": "√",
826
+ * "unixVer": "x"
827
+ * },
828
+ * "lark": {
829
+ * "hostVer": "√",
830
+ * "uniVer": "√",
831
+ * "unixVer": "x"
832
+ * },
833
+ * "qq": {
834
+ * "hostVer": "√",
835
+ * "uniVer": "√",
836
+ * "unixVer": "x"
837
+ * },
838
+ * "kuaishou": {
839
+ * "hostVer": "√",
840
+ * "uniVer": "√",
841
+ * "unixVer": "x"
842
+ * },
843
+ * "jd": {
844
+ * "hostVer": "√",
845
+ * "uniVer": "√",
846
+ * "unixVer": "x"
847
+ * }
848
+ * },
849
+ * "web": {
850
+ * "uniVer": "x",
851
+ * "unixVer": "x"
852
+ * }
853
+ * }
854
+ */
855
+ complete?: RequestPaymentCompleteCallback | null
856
+ };