@dcloudio/uni-app-x 0.7.112 → 0.7.114

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