@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
@@ -1,911 +1,1672 @@
1
- export type Popover = {
2
- /**
3
- * 指示区域坐标,使用原生 navigationBar 时一般需要加上 navigationBar 的高度
4
- */
5
- top: number,
6
- /**
7
- * 指示区域坐标
8
- */
9
- left: number,
10
- /**
11
- * 指示区域宽度
12
- */
13
- width: number,
14
- /**
15
- * 指示区域高度
16
- */
17
- height: number
18
- }
19
-
20
- /**
21
- * showActionSheet 错误码
22
- * - 4: 框架内部异常
23
- */
24
- export type ShowActionSheetErrorCode = 4
25
- export interface ShowActionSheetSuccess {
26
- errMsg: string
27
- tapIndex: number
28
- }
29
- type ShowActionSheetSuccessCallback = (result: ShowActionSheetSuccess) => void
30
-
31
- export interface ShowActionSheetFail extends IUniError {
32
- errCode: ShowActionSheetErrorCode
33
- }
34
- type ShowActionSheetFailCallback = (result: ShowActionSheetFail) => void
35
-
36
- export type ShowActionSheetComplete = any
37
- type ShowActionSheetCompleteCallback = (result: ShowActionSheetComplete) => void
38
-
39
- /**
40
- * uni.showActionSheet函数参数定义
41
- */
42
- export type ShowActionSheetOptions = {
43
- /**
44
- * 菜单标题
45
- * @uniPlatform {
46
- * "mp": {
47
- * "weixin": {
48
- * "hostVer": "√",
49
- * "uniVer": "√",
50
- * "unixVer": "4.41"
51
- * },
52
- * "alipay": {
53
- * "hostVer": "-",
54
- * "uniVer": "-",
55
- * "unixVer": "-"
56
- * },
57
- * "baidu": {
58
- * "hostVer": "-",
59
- * "uniVer": "-",
60
- * "unixVer": "-"
61
- * },
62
- * "toutiao": {
63
- * "hostVer": "-",
64
- * "uniVer": "-",
65
- * "unixVer": "-"
66
- * },
67
- * "lark": {
68
- * "hostVer": "-",
69
- * "uniVer": "-",
70
- * "unixVer": "-"
71
- * },
72
- * "qq": {
73
- * "hostVer": "-",
74
- * "uniVer": "-",
75
- * "unixVer": "-"
76
- * },
77
- * "kuaishou": {
78
- * "hostVer": "-",
79
- * "uniVer": "-",
80
- * "unixVer": "-"
81
- * },
82
- * "jd": {
83
- * "hostVer": "-",
84
- * "uniVer": "-",
85
- * "unixVer": "-"
86
- * }
87
- * }
88
- * }
89
- */
90
- title?: string | null,
91
- /**
92
- * 警示文案(仅微信小程序真机有效)
93
- * @uniPlatform {
94
- * "mp": {
95
- * "weixin": {
96
- * "hostVer": "",
97
- * "uniVer": "√",
98
- * "unixVer": "4.41"
99
- * },
100
- * "alipay": {
101
- * "hostVer": "-",
102
- * "uniVer": "-",
103
- * "unixVer": "-"
104
- * },
105
- * "baidu": {
106
- * "hostVer": "-",
107
- * "uniVer": "-",
108
- * "unixVer": "-"
109
- * },
110
- * "toutiao": {
111
- * "hostVer": "-",
112
- * "uniVer": "-",
113
- * "unixVer": "-"
114
- * },
115
- * "lark": {
116
- * "hostVer": "-",
117
- * "uniVer": "-",
118
- * "unixVer": "-"
119
- * },
120
- * "qq": {
121
- * "hostVer": "-",
122
- * "uniVer": "-",
123
- * "unixVer": "-"
124
- * },
125
- * "kuaishou": {
126
- * "hostVer": "-",
127
- * "uniVer": "-",
128
- * "unixVer": "-"
129
- * },
130
- * "jd": {
131
- * "hostVer": "-",
132
- * "uniVer": "-",
133
- * "unixVer": "-"
134
- * }
135
- * }
136
- * }
137
- */
138
- alertText?: string | null,
139
- /**
140
- * 按钮的文字数组
141
- * @uniPlatform {
142
- * "mp": {
143
- * "weixin": {
144
- * "hostVer": "√",
145
- * "uniVer": "√",
146
- * "unixVer": "4.41"
147
- * },
148
- * "alipay": {
149
- * "hostVer": "-",
150
- * "uniVer": "-",
151
- * "unixVer": "-"
152
- * },
153
- * "baidu": {
154
- * "hostVer": "-",
155
- * "uniVer": "-",
156
- * "unixVer": "-"
157
- * },
158
- * "toutiao": {
159
- * "hostVer": "-",
160
- * "uniVer": "-",
161
- * "unixVer": "-"
162
- * },
163
- * "lark": {
164
- * "hostVer": "-",
165
- * "uniVer": "-",
166
- * "unixVer": "-"
167
- * },
168
- * "qq": {
169
- * "hostVer": "-",
170
- * "uniVer": "-",
171
- * "unixVer": "-"
172
- * },
173
- * "kuaishou": {
174
- * "hostVer": "-",
175
- * "uniVer": "-",
176
- * "unixVer": "-"
177
- * },
178
- * "jd": {
179
- * "hostVer": "-",
180
- * "uniVer": "-",
181
- * "unixVer": "-"
182
- * }
183
- * }
184
- * }
185
- */
186
- itemList: string[],
187
- /**
188
- * 按钮的文字颜色,字符串格式
189
- * @uniPlatform {
190
- * "mp": {
191
- * "weixin": {
192
- * "hostVer": "√",
193
- * "uniVer": "√",
194
- * "unixVer": "4.41"
195
- * },
196
- * "alipay": {
197
- * "hostVer": "-",
198
- * "uniVer": "-",
199
- * "unixVer": "-"
200
- * },
201
- * "baidu": {
202
- * "hostVer": "-",
203
- * "uniVer": "-",
204
- * "unixVer": "-"
205
- * },
206
- * "toutiao": {
207
- * "hostVer": "-",
208
- * "uniVer": "-",
209
- * "unixVer": "-"
210
- * },
211
- * "lark": {
212
- * "hostVer": "-",
213
- * "uniVer": "-",
214
- * "unixVer": "-"
215
- * },
216
- * "qq": {
217
- * "hostVer": "-",
218
- * "uniVer": "-",
219
- * "unixVer": "-"
220
- * },
221
- * "kuaishou": {
222
- * "hostVer": "-",
223
- * "uniVer": "-",
224
- * "unixVer": "-"
225
- * },
226
- * "jd": {
227
- * "hostVer": "-",
228
- * "uniVer": "-",
229
- * "unixVer": "-"
230
- * }
231
- * }
232
- * }
233
- */
234
- itemColor?: string.ColorString | null,
235
- /**
236
- * 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
237
- * @uniPlatform {
238
- * "mp": {
239
- * "weixin": {
240
- * "hostVer": "",
241
- * "uniVer": "",
242
- * "unixVer": "4.41"
243
- * },
244
- * "alipay": {
245
- * "hostVer": "-",
246
- * "uniVer": "-",
247
- * "unixVer": "-"
248
- * },
249
- * "baidu": {
250
- * "hostVer": "-",
251
- * "uniVer": "-",
252
- * "unixVer": "-"
253
- * },
254
- * "toutiao": {
255
- * "hostVer": "-",
256
- * "uniVer": "-",
257
- * "unixVer": "-"
258
- * },
259
- * "lark": {
260
- * "hostVer": "-",
261
- * "uniVer": "-",
262
- * "unixVer": "-"
263
- * },
264
- * "qq": {
265
- * "hostVer": "-",
266
- * "uniVer": "-",
267
- * "unixVer": "-"
268
- * },
269
- * "kuaishou": {
270
- * "hostVer": "-",
271
- * "uniVer": "-",
272
- * "unixVer": "-"
273
- * },
274
- * "jd": {
275
- * "hostVer": "-",
276
- * "uniVer": "-",
277
- * "unixVer": "-"
278
- * }
279
- * }
280
- * }
281
- */
282
- popover?: Popover | null,
283
- /**
284
- * 菜单标题文字颜色,字符串格式
285
- * @uniPlatform {
286
- * "app": {
287
- * "android": {
288
- * "osVer": "5.0",
289
- * "uniVer": "",
290
- * "uniUtsPlugin": "x",
291
- * "unixVer": "4.51"
292
- * },
293
- * "ios": {
294
- * "osVer": "12.0",
295
- * "uniVer": "√",
296
- * "uniUtsPlugin": "x",
297
- * "unixVer": "4.51",
298
- * "unixUtsPlugin": "4.51"
299
- * },
300
- * "harmony": {
301
- * "osVer": "3.0",
302
- * "uniVer": "4.23",
303
- * "unixVer": "4.61",
304
- * "unixvVer": "5.0"
305
- * }
306
- * },
307
- * "mp": {
308
- * "weixin": {
309
- * "hostVer": "",
310
- * "uniVer": "",
311
- * "unixVer": "x"
312
- * },
313
- * "alipay": {
314
- * "hostVer": "√",
315
- * "uniVer": "",
316
- * "unixVer": "x"
317
- * },
318
- * "baidu": {
319
- * "hostVer": "√",
320
- * "uniVer": "",
321
- * "unixVer": "x"
322
- * },
323
- * "toutiao": {
324
- * "hostVer": "√",
325
- * "uniVer": "√",
326
- * "unixVer": "x"
327
- * },
328
- * "lark": {
329
- * "hostVer": "√",
330
- * "uniVer": "",
331
- * "unixVer": "x"
332
- * },
333
- * "qq": {
334
- * "hostVer": "√",
335
- * "uniVer": "",
336
- * "unixVer": "x"
337
- * },
338
- * "kuaishou": {
339
- * "hostVer": "√",
340
- * "uniVer": "",
341
- * "unixVer": "x"
342
- * },
343
- * "jd": {
344
- * "hostVer": "√",
345
- * "uniVer": "",
346
- * "unixVer": "x"
347
- * }
348
- * },
349
- * "web": {
350
- * "uniVer": "",
351
- * "unixVer": "4.51"
352
- * }
353
- * }
354
- */
355
- titleColor?: string.ColorString | null,
356
- /**
357
- * 取消按钮的文字,默认为"取消"
358
- * @uniPlatform {
359
- * "app": {
360
- * "android": {
361
- * "osVer": "5.0",
362
- * "uniVer": "√",
363
- * "uniUtsPlugin": "x",
364
- * "unixVer": "4.51"
365
- * },
366
- * "ios": {
367
- * "osVer": "12.0",
368
- * "uniVer": "√",
369
- * "uniUtsPlugin": "x",
370
- * "unixVer": "4.51",
371
- * "unixUtsPlugin": "4.51"
372
- * },
373
- * "harmony": {
374
- * "osVer": "3.0",
375
- * "uniVer": "4.23",
376
- * "unixVer": "4.61",
377
- * "unixvVer": "5.0"
378
- * }
379
- * },
380
- * "mp": {
381
- * "weixin": {
382
- * "hostVer": "",
383
- * "uniVer": "",
384
- * "unixVer": "x"
385
- * },
386
- * "alipay": {
387
- * "hostVer": "√",
388
- * "uniVer": "",
389
- * "unixVer": "x"
390
- * },
391
- * "baidu": {
392
- * "hostVer": "√",
393
- * "uniVer": "",
394
- * "unixVer": "x"
395
- * },
396
- * "toutiao": {
397
- * "hostVer": "√",
398
- * "uniVer": "√",
399
- * "unixVer": "x"
400
- * },
401
- * "lark": {
402
- * "hostVer": "√",
403
- * "uniVer": "",
404
- * "unixVer": "x"
405
- * },
406
- * "qq": {
407
- * "hostVer": "√",
408
- * "uniVer": "",
409
- * "unixVer": "x"
410
- * },
411
- * "kuaishou": {
412
- * "hostVer": "√",
413
- * "uniVer": "",
414
- * "unixVer": "x"
415
- * },
416
- * "jd": {
417
- * "hostVer": "√",
418
- * "uniVer": "",
419
- * "unixVer": "x"
420
- * }
421
- * },
422
- * "web": {
423
- * "uniVer": "",
424
- * "unixVer": "4.51"
425
- * }
426
- * }
427
- */
428
- cancelText?: string | null,
429
- /**
430
- * 取消按钮的文字颜色,字符串格式
431
- * @uniPlatform {
432
- * "app": {
433
- * "android": {
434
- * "osVer": "5.0",
435
- * "uniVer": "√",
436
- * "uniUtsPlugin": "x",
437
- * "unixVer": "4.51"
438
- * },
439
- * "ios": {
440
- * "osVer": "12.0",
441
- * "uniVer": "√",
442
- * "uniUtsPlugin": "x",
443
- * "unixVer": "4.51",
444
- * "unixUtsPlugin": "4.51"
445
- * },
446
- * "harmony": {
447
- * "osVer": "3.0",
448
- * "uniVer": "4.23",
449
- * "unixVer": "4.61",
450
- * "unixvVer": "5.0"
451
- * }
452
- * },
453
- * "mp": {
454
- * "weixin": {
455
- * "hostVer": "√",
456
- * "uniVer": "√",
457
- * "unixVer": "x"
458
- * },
459
- * "alipay": {
460
- * "hostVer": "",
461
- * "uniVer": "√",
462
- * "unixVer": "x"
463
- * },
464
- * "baidu": {
465
- * "hostVer": "",
466
- * "uniVer": "",
467
- * "unixVer": "x"
468
- * },
469
- * "toutiao": {
470
- * "hostVer": "",
471
- * "uniVer": "",
472
- * "unixVer": "x"
473
- * },
474
- * "lark": {
475
- * "hostVer": "√",
476
- * "uniVer": "√",
477
- * "unixVer": "x"
478
- * },
479
- * "qq": {
480
- * "hostVer": "",
481
- * "uniVer": "√",
482
- * "unixVer": "x"
483
- * },
484
- * "kuaishou": {
485
- * "hostVer": "",
486
- * "uniVer": "√",
487
- * "unixVer": "x"
488
- * },
489
- * "jd": {
490
- * "hostVer": "",
491
- * "uniVer": "√",
492
- * "unixVer": "x"
493
- * }
494
- * },
495
- * "web": {
496
- * "uniVer": "√",
497
- * "unixVer": "4.51"
498
- * }
499
- * }
500
- */
501
- cancelColor?: string.ColorString | null,
502
- /**
503
- * 弹框背景颜色
504
- * @uniPlatform {
505
- * "app": {
506
- * "android": {
507
- * "osVer": "5.0",
508
- * "uniVer": "√",
509
- * "uniUtsPlugin": "x",
510
- * "unixVer": "4.51"
511
- * },
512
- * "ios": {
513
- * "osVer": "12.0",
514
- * "uniVer": "√",
515
- * "uniUtsPlugin": "x",
516
- * "unixVer": "4.51",
517
- * "unixUtsPlugin": "4.51"
518
- * },
519
- * "harmony": {
520
- * "osVer": "3.0",
521
- * "uniVer": "4.23",
522
- * "unixVer": "4.61",
523
- * "unixvVer": "5.0"
524
- * }
525
- * },
526
- * "mp": {
527
- * "weixin": {
528
- * "hostVer": "√",
529
- * "uniVer": "√",
530
- * "unixVer": "x"
531
- * },
532
- * "alipay": {
533
- * "hostVer": "√",
534
- * "uniVer": "√",
535
- * "unixVer": "x"
536
- * },
537
- * "baidu": {
538
- * "hostVer": "",
539
- * "uniVer": "",
540
- * "unixVer": "x"
541
- * },
542
- * "toutiao": {
543
- * "hostVer": "√",
544
- * "uniVer": "",
545
- * "unixVer": "x"
546
- * },
547
- * "lark": {
548
- * "hostVer": "√",
549
- * "uniVer": "",
550
- * "unixVer": "x"
551
- * },
552
- * "qq": {
553
- * "hostVer": "√",
554
- * "uniVer": "√",
555
- * "unixVer": "x"
556
- * },
557
- * "kuaishou": {
558
- * "hostVer": "√",
559
- * "uniVer": "",
560
- * "unixVer": "x"
561
- * },
562
- * "jd": {
563
- * "hostVer": "√",
564
- * "uniVer": "",
565
- * "unixVer": "x"
566
- * }
567
- * },
568
- * "web": {
569
- * "uniVer": "",
570
- * "unixVer": "4.51"
571
- * }
572
- * }
573
- */
574
- backgroundColor?: string.ColorString | null,
575
- /**
576
- * 接口调用成功的回调函数
577
- * @uniPlatform {
578
- * "mp": {
579
- * "weixin": {
580
- * "hostVer": "√",
581
- * "uniVer": "√",
582
- * "unixVer": "4.41"
583
- * },
584
- * "alipay": {
585
- * "hostVer": "-",
586
- * "uniVer": "-",
587
- * "unixVer": "-"
588
- * },
589
- * "baidu": {
590
- * "hostVer": "-",
591
- * "uniVer": "-",
592
- * "unixVer": "-"
593
- * },
594
- * "toutiao": {
595
- * "hostVer": "-",
596
- * "uniVer": "-",
597
- * "unixVer": "-"
598
- * },
599
- * "lark": {
600
- * "hostVer": "-",
601
- * "uniVer": "-",
602
- * "unixVer": "-"
603
- * },
604
- * "qq": {
605
- * "hostVer": "-",
606
- * "uniVer": "-",
607
- * "unixVer": "-"
608
- * },
609
- * "kuaishou": {
610
- * "hostVer": "-",
611
- * "uniVer": "-",
612
- * "unixVer": "-"
613
- * },
614
- * "jd": {
615
- * "hostVer": "-",
616
- * "uniVer": "-",
617
- * "unixVer": "-"
618
- * }
619
- * }
620
- * }
621
- */
622
- success?: ShowActionSheetSuccessCallback | null,
623
- /**
624
- * 接口调用失败的回调函数
625
- * @uniPlatform {
626
- * "mp": {
627
- * "weixin": {
628
- * "hostVer": "√",
629
- * "uniVer": "√",
630
- * "unixVer": "4.41"
631
- * },
632
- * "alipay": {
633
- * "hostVer": "-",
634
- * "uniVer": "-",
635
- * "unixVer": "-"
636
- * },
637
- * "baidu": {
638
- * "hostVer": "-",
639
- * "uniVer": "-",
640
- * "unixVer": "-"
641
- * },
642
- * "toutiao": {
643
- * "hostVer": "-",
644
- * "uniVer": "-",
645
- * "unixVer": "-"
646
- * },
647
- * "lark": {
648
- * "hostVer": "-",
649
- * "uniVer": "-",
650
- * "unixVer": "-"
651
- * },
652
- * "qq": {
653
- * "hostVer": "-",
654
- * "uniVer": "-",
655
- * "unixVer": "-"
656
- * },
657
- * "kuaishou": {
658
- * "hostVer": "-",
659
- * "uniVer": "-",
660
- * "unixVer": "-"
661
- * },
662
- * "jd": {
663
- * "hostVer": "-",
664
- * "uniVer": "-",
665
- * "unixVer": "-"
666
- * }
667
- * }
668
- * }
669
- */
670
- fail?: ShowActionSheetFailCallback | null,
671
- /**
672
- * 接口调用结束的回调函数(调用成功、失败都会执行)
673
- * @uniPlatform {
674
- * "mp": {
675
- * "weixin": {
676
- * "hostVer": "√",
677
- * "uniVer": "√",
678
- * "unixVer": "4.41"
679
- * },
680
- * "alipay": {
681
- * "hostVer": "-",
682
- * "uniVer": "-",
683
- * "unixVer": "-"
684
- * },
685
- * "baidu": {
686
- * "hostVer": "-",
687
- * "uniVer": "-",
688
- * "unixVer": "-"
689
- * },
690
- * "toutiao": {
691
- * "hostVer": "-",
692
- * "uniVer": "-",
693
- * "unixVer": "-"
694
- * },
695
- * "lark": {
696
- * "hostVer": "-",
697
- * "uniVer": "-",
698
- * "unixVer": "-"
699
- * },
700
- * "qq": {
701
- * "hostVer": "-",
702
- * "uniVer": "-",
703
- * "unixVer": "-"
704
- * },
705
- * "kuaishou": {
706
- * "hostVer": "-",
707
- * "uniVer": "-",
708
- * "unixVer": "-"
709
- * },
710
- * "jd": {
711
- * "hostVer": "-",
712
- * "uniVer": "-",
713
- * "unixVer": "-"
714
- * }
715
- * }
716
- * }
717
- */
718
- complete?: ShowActionSheetCompleteCallback | null
719
- };
720
-
721
- export type ShowActionSheet = (options: ShowActionSheetOptions) => void;
722
-
723
- export interface Uni {
724
- /**
725
- * @description 从底部向上弹出操作菜单
726
- * @example
727
- * ```typescript
728
- * uni.showActionSheet({
729
- * itemList: ['A', 'B', 'C'],
730
- * success: function (res) {
731
- * console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
732
- * },
733
- * fail: function (res) {
734
- * console.log(res.errMsg);
735
- * }
736
- * });
737
- * ```
738
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
739
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
740
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
741
- * @uniPlatform {
742
- * "app": {
743
- * "android": {
744
- * "osVer": "5.0",
745
- * "uniVer": "",
746
- * "uniUtsPlugin": "x",
747
- * "unixVer": "3.91"
748
- * },
749
- * "ios": {
750
- * "osVer": "12.0",
751
- * "uniVer": "√",
752
- * "uniUtsPlugin": "x",
753
- * "unixVer": "4.11",
754
- * "unixUtsPlugin": "4.11"
755
- * },
756
- * "harmony": {
757
- * "osVer": "3.0",
758
- * "uniVer": "4.23",
759
- * "unixVer": "4.61",
760
- * "unixvVer": "5.0"
761
- * }
762
- * },
763
- * "mp": {
764
- * "weixin": {
765
- * "hostVer": "1.9.6",
766
- * "uniVer": "√",
767
- * "unixVer": "4.41"
768
- * },
769
- * "alipay": {
770
- * "hostVer": "",
771
- * "uniVer": "",
772
- * "unixVer": "x"
773
- * },
774
- * "baidu": {
775
- * "hostVer": "√",
776
- * "uniVer": "√",
777
- * "unixVer": "x"
778
- * },
779
- * "toutiao": {
780
- * "hostVer": "√",
781
- * "uniVer": "√",
782
- * "unixVer": "x"
783
- * },
784
- * "lark": {
785
- * "hostVer": "√",
786
- * "uniVer": "√",
787
- * "unixVer": "x"
788
- * },
789
- * "qq": {
790
- * "hostVer": "√",
791
- * "uniVer": "√",
792
- * "unixVer": "x"
793
- * },
794
- * "kuaishou": {
795
- * "hostVer": "√",
796
- * "uniVer": "√",
797
- * "unixVer": "x"
798
- * },
799
- * "jd": {
800
- * "hostVer": "√",
801
- * "uniVer": "√",
802
- * "unixVer": "x"
803
- * }
804
- * },
805
- * "web": {
806
- * "uniVer": "√",
807
- * "unixVer": "4.0"
808
- * }
809
- * }
810
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showActionSheet.html
811
- */
812
- showActionSheet(options: ShowActionSheetOptions): void;
813
-
814
- /**
815
- * @description 关闭栈顶页面操作菜单
816
- * @example
817
- * ```typescript
818
- * uni.hideActionSheet();
819
- * ```
820
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
821
- * @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
822
- * @uniPlatform {
823
- * "app": {
824
- * "android": {
825
- * "osVer": "5.0",
826
- * "uniVer": "√",
827
- * "uniUtsPlugin": "x",
828
- * "unixVer": "4.51"
829
- * },
830
- * "ios": {
831
- * "osVer": "12.0",
832
- * "uniVer": "√",
833
- * "uniUtsPlugin": "x",
834
- * "unixVer": "4.51",
835
- * "unixUtsPlugin": "4.51"
836
- * },
837
- * "harmony": {
838
- * "osVer": "3.0",
839
- * "uniVer": "4.23",
840
- * "unixVer": "x"
841
- * }
842
- * },
843
- * "mp": {
844
- * "weixin": {
845
- * "hostVer": "√",
846
- * "uniVer": "√",
847
- * "unixVer": "x"
848
- * },
849
- * "alipay": {
850
- * "hostVer": "√",
851
- * "uniVer": "",
852
- * "unixVer": "x"
853
- * },
854
- * "baidu": {
855
- * "hostVer": "√",
856
- * "uniVer": "",
857
- * "unixVer": "x"
858
- * },
859
- * "toutiao": {
860
- * "hostVer": "√",
861
- * "uniVer": "",
862
- * "unixVer": "x"
863
- * },
864
- * "lark": {
865
- * "hostVer": "√",
866
- * "uniVer": "",
867
- * "unixVer": "x"
868
- * },
869
- * "qq": {
870
- * "hostVer": "√",
871
- * "uniVer": "",
872
- * "unixVer": "x"
873
- * },
874
- * "kuaishou": {
875
- * "hostVer": "√",
876
- * "uniVer": "",
877
- * "unixVer": "x"
878
- * },
879
- * "jd": {
880
- * "hostVer": "√",
881
- * "uniVer": "",
882
- * "unixVer": "x"
883
- * }
884
- * },
885
- * "web": {
886
- * "uniVer": "",
887
- * "unixVer": "4.51"
888
- * }
889
- * }
890
- */
891
- hideActionSheet(): void;
892
- }
893
-
894
- export class ShowActionSheetSuccessImpl implements ShowActionSheetSuccess {
895
- tapIndex: number
896
- errMsg: string
897
- constructor(tapIndex: number, errMsg: string = 'showActionSheet:ok') {
898
- this.errMsg = errMsg
899
- this.tapIndex = tapIndex
900
- }
901
- }
902
- export class ShowActionSheetFailImpl extends UniError implements ShowActionSheetFail {
903
- override errCode: ShowActionSheetErrorCode
904
- constructor(errMsg: string = 'showActionSheet:fail cancel', errCode: ShowActionSheetErrorCode = 4) {
905
- super()
906
- this.errMsg = errMsg
907
- this.errCode = errCode
908
- }
909
- }
910
-
911
- export type HideActionSheet = () => void
1
+ export type Popover = {
2
+ /**
3
+ * 指示区域坐标,使用原生 navigationBar 时一般需要加上 navigationBar 的高度
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "√",
9
+ * "uniUtsPlugin": "x",
10
+ * "unixVer": "x"
11
+ * },
12
+ * "ios": {
13
+ * "osVer": "12.0",
14
+ * "uniVer": "√",
15
+ * "uniUtsPlugin": "x",
16
+ * "unixVer": "x",
17
+ * "unixUtsPlugin": "x"
18
+ * },
19
+ * "harmony": {
20
+ * "osVer": "3.0",
21
+ * "uniVer": "4.23",
22
+ * "unixVer": "x",
23
+ * "unixVaporVer": "x"
24
+ * }
25
+ * },
26
+ * "mp": {
27
+ * "weixin": {
28
+ * "hostVer": "√",
29
+ * "uniVer": "√",
30
+ * "unixVer": "x"
31
+ * },
32
+ * "alipay": {
33
+ * "hostVer": "√",
34
+ * "uniVer": "√",
35
+ * "unixVer": "x"
36
+ * },
37
+ * "baidu": {
38
+ * "hostVer": "√",
39
+ * "uniVer": "√",
40
+ * "unixVer": "x"
41
+ * },
42
+ * "toutiao": {
43
+ * "hostVer": "√",
44
+ * "uniVer": "√",
45
+ * "unixVer": "x"
46
+ * },
47
+ * "lark": {
48
+ * "hostVer": "√",
49
+ * "uniVer": "√",
50
+ * "unixVer": "x"
51
+ * },
52
+ * "qq": {
53
+ * "hostVer": "",
54
+ * "uniVer": "",
55
+ * "unixVer": "x"
56
+ * },
57
+ * "kuaishou": {
58
+ * "hostVer": "",
59
+ * "uniVer": "",
60
+ * "unixVer": "x"
61
+ * },
62
+ * "jd": {
63
+ * "hostVer": "",
64
+ * "uniVer": "",
65
+ * "unixVer": "x"
66
+ * }
67
+ * },
68
+ * "web": {
69
+ * "uniVer": "",
70
+ * "unixVer": "4.0"
71
+ * }
72
+ * }
73
+ */
74
+ top: number,
75
+ /**
76
+ * 指示区域坐标
77
+ * @uniPlatform {
78
+ * "app": {
79
+ * "android": {
80
+ * "osVer": "5.0",
81
+ * "uniVer": "√",
82
+ * "uniUtsPlugin": "x",
83
+ * "unixVer": "x"
84
+ * },
85
+ * "ios": {
86
+ * "osVer": "12.0",
87
+ * "uniVer": "√",
88
+ * "uniUtsPlugin": "x",
89
+ * "unixVer": "x",
90
+ * "unixUtsPlugin": "x"
91
+ * },
92
+ * "harmony": {
93
+ * "osVer": "3.0",
94
+ * "uniVer": "4.23",
95
+ * "unixVer": "x",
96
+ * "unixVaporVer": "x"
97
+ * }
98
+ * },
99
+ * "mp": {
100
+ * "weixin": {
101
+ * "hostVer": "",
102
+ * "uniVer": "",
103
+ * "unixVer": "x"
104
+ * },
105
+ * "alipay": {
106
+ * "hostVer": "",
107
+ * "uniVer": "",
108
+ * "unixVer": "x"
109
+ * },
110
+ * "baidu": {
111
+ * "hostVer": "",
112
+ * "uniVer": "",
113
+ * "unixVer": "x"
114
+ * },
115
+ * "toutiao": {
116
+ * "hostVer": "",
117
+ * "uniVer": "",
118
+ * "unixVer": "x"
119
+ * },
120
+ * "lark": {
121
+ * "hostVer": "",
122
+ * "uniVer": "",
123
+ * "unixVer": "x"
124
+ * },
125
+ * "qq": {
126
+ * "hostVer": "",
127
+ * "uniVer": "",
128
+ * "unixVer": "x"
129
+ * },
130
+ * "kuaishou": {
131
+ * "hostVer": "",
132
+ * "uniVer": "",
133
+ * "unixVer": "x"
134
+ * },
135
+ * "jd": {
136
+ * "hostVer": "√",
137
+ * "uniVer": "√",
138
+ * "unixVer": "x"
139
+ * }
140
+ * },
141
+ * "web": {
142
+ * "uniVer": "√",
143
+ * "unixVer": "4.0"
144
+ * }
145
+ * }
146
+ */
147
+ left: number,
148
+ /**
149
+ * 指示区域宽度
150
+ * @uniPlatform {
151
+ * "app": {
152
+ * "android": {
153
+ * "osVer": "5.0",
154
+ * "uniVer": "",
155
+ * "uniUtsPlugin": "x",
156
+ * "unixVer": "x"
157
+ * },
158
+ * "ios": {
159
+ * "osVer": "12.0",
160
+ * "uniVer": "",
161
+ * "uniUtsPlugin": "x",
162
+ * "unixVer": "x",
163
+ * "unixUtsPlugin": "x"
164
+ * },
165
+ * "harmony": {
166
+ * "osVer": "3.0",
167
+ * "uniVer": "4.23",
168
+ * "unixVer": "x",
169
+ * "unixVaporVer": "x"
170
+ * }
171
+ * },
172
+ * "mp": {
173
+ * "weixin": {
174
+ * "hostVer": "",
175
+ * "uniVer": "",
176
+ * "unixVer": "x"
177
+ * },
178
+ * "alipay": {
179
+ * "hostVer": "",
180
+ * "uniVer": "",
181
+ * "unixVer": "x"
182
+ * },
183
+ * "baidu": {
184
+ * "hostVer": "√",
185
+ * "uniVer": "√",
186
+ * "unixVer": "x"
187
+ * },
188
+ * "toutiao": {
189
+ * "hostVer": "√",
190
+ * "uniVer": "√",
191
+ * "unixVer": "x"
192
+ * },
193
+ * "lark": {
194
+ * "hostVer": "",
195
+ * "uniVer": "√",
196
+ * "unixVer": "x"
197
+ * },
198
+ * "qq": {
199
+ * "hostVer": "",
200
+ * "uniVer": "√",
201
+ * "unixVer": "x"
202
+ * },
203
+ * "kuaishou": {
204
+ * "hostVer": "",
205
+ * "uniVer": "√",
206
+ * "unixVer": "x"
207
+ * },
208
+ * "jd": {
209
+ * "hostVer": "",
210
+ * "uniVer": "√",
211
+ * "unixVer": "x"
212
+ * }
213
+ * },
214
+ * "web": {
215
+ * "uniVer": "√",
216
+ * "unixVer": "4.0"
217
+ * }
218
+ * }
219
+ */
220
+ width: number,
221
+ /**
222
+ * 指示区域高度
223
+ * @uniPlatform {
224
+ * "app": {
225
+ * "android": {
226
+ * "osVer": "5.0",
227
+ * "uniVer": "",
228
+ * "uniUtsPlugin": "x",
229
+ * "unixVer": "x"
230
+ * },
231
+ * "ios": {
232
+ * "osVer": "12.0",
233
+ * "uniVer": "√",
234
+ * "uniUtsPlugin": "x",
235
+ * "unixVer": "x",
236
+ * "unixUtsPlugin": "x"
237
+ * },
238
+ * "harmony": {
239
+ * "osVer": "3.0",
240
+ * "uniVer": "4.23",
241
+ * "unixVer": "x",
242
+ * "unixVaporVer": "x"
243
+ * }
244
+ * },
245
+ * "mp": {
246
+ * "weixin": {
247
+ * "hostVer": "",
248
+ * "uniVer": "√",
249
+ * "unixVer": "x"
250
+ * },
251
+ * "alipay": {
252
+ * "hostVer": "",
253
+ * "uniVer": "√",
254
+ * "unixVer": "x"
255
+ * },
256
+ * "baidu": {
257
+ * "hostVer": "",
258
+ * "uniVer": "√",
259
+ * "unixVer": "x"
260
+ * },
261
+ * "toutiao": {
262
+ * "hostVer": "",
263
+ * "uniVer": "√",
264
+ * "unixVer": "x"
265
+ * },
266
+ * "lark": {
267
+ * "hostVer": "",
268
+ * "uniVer": "√",
269
+ * "unixVer": "x"
270
+ * },
271
+ * "qq": {
272
+ * "hostVer": "",
273
+ * "uniVer": "√",
274
+ * "unixVer": "x"
275
+ * },
276
+ * "kuaishou": {
277
+ * "hostVer": "",
278
+ * "uniVer": "√",
279
+ * "unixVer": "x"
280
+ * },
281
+ * "jd": {
282
+ * "hostVer": "√",
283
+ * "uniVer": "√",
284
+ * "unixVer": "x"
285
+ * }
286
+ * },
287
+ * "web": {
288
+ * "uniVer": "",
289
+ * "unixVer": "4.0"
290
+ * }
291
+ * }
292
+ */
293
+ height: number
294
+ }
295
+
296
+ /**
297
+ * 错误码
298
+ * - 4: 框架内部异常
299
+ */
300
+ export type ShowActionSheetErrorCode = 4
301
+ export interface ShowActionSheetSuccess {
302
+ /**
303
+ * 错误信息
304
+ * @uniPlatform {
305
+ * "app": {
306
+ * "android": {
307
+ * "osVer": "5.0",
308
+ * "uniVer": "√",
309
+ * "uniUtsPlugin": "x",
310
+ * "unixVer": "3.91"
311
+ * },
312
+ * "ios": {
313
+ * "osVer": "12.0",
314
+ * "uniVer": "√",
315
+ * "uniUtsPlugin": "x",
316
+ * "unixVer": "4.11",
317
+ * "unixUtsPlugin": "4.11"
318
+ * },
319
+ * "harmony": {
320
+ * "osVer": "3.0",
321
+ * "uniVer": "4.23",
322
+ * "unixVer": "4.61",
323
+ * "unixVaporVer": "5.0"
324
+ * }
325
+ * },
326
+ * "mp": {
327
+ * "weixin": {
328
+ * "hostVer": "√",
329
+ * "uniVer": "√",
330
+ * "unixVer": "x"
331
+ * },
332
+ * "alipay": {
333
+ * "hostVer": "√",
334
+ * "uniVer": "√",
335
+ * "unixVer": "x"
336
+ * },
337
+ * "baidu": {
338
+ * "hostVer": "√",
339
+ * "uniVer": "√",
340
+ * "unixVer": "x"
341
+ * },
342
+ * "toutiao": {
343
+ * "hostVer": "√",
344
+ * "uniVer": "√",
345
+ * "unixVer": "x"
346
+ * },
347
+ * "lark": {
348
+ * "hostVer": "√",
349
+ * "uniVer": "√",
350
+ * "unixVer": "x"
351
+ * },
352
+ * "qq": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "√",
355
+ * "unixVer": "x"
356
+ * },
357
+ * "kuaishou": {
358
+ * "hostVer": "√",
359
+ * "uniVer": "√",
360
+ * "unixVer": "x"
361
+ * },
362
+ * "jd": {
363
+ * "hostVer": "",
364
+ * "uniVer": "",
365
+ * "unixVer": "x"
366
+ * }
367
+ * },
368
+ * "web": {
369
+ * "uniVer": "",
370
+ * "unixVer": "4.0"
371
+ * }
372
+ * }
373
+ */
374
+ errMsg: string
375
+ /**
376
+ * 用户点击的按钮序号,从上到下的顺序,从0开始
377
+ * @uniPlatform {
378
+ * "app": {
379
+ * "android": {
380
+ * "osVer": "5.0",
381
+ * "uniVer": "√",
382
+ * "uniUtsPlugin": "x",
383
+ * "unixVer": "3.91"
384
+ * },
385
+ * "ios": {
386
+ * "osVer": "12.0",
387
+ * "uniVer": "√",
388
+ * "uniUtsPlugin": "x",
389
+ * "unixVer": "4.11",
390
+ * "unixUtsPlugin": "4.11"
391
+ * },
392
+ * "harmony": {
393
+ * "osVer": "3.0",
394
+ * "uniVer": "4.23",
395
+ * "unixVer": "4.61",
396
+ * "unixVaporVer": "5.0"
397
+ * }
398
+ * },
399
+ * "mp": {
400
+ * "weixin": {
401
+ * "hostVer": "√",
402
+ * "uniVer": "√",
403
+ * "unixVer": "4.41"
404
+ * },
405
+ * "alipay": {
406
+ * "hostVer": "√",
407
+ * "uniVer": "√",
408
+ * "unixVer": "x"
409
+ * },
410
+ * "baidu": {
411
+ * "hostVer": "√",
412
+ * "uniVer": "√",
413
+ * "unixVer": "x"
414
+ * },
415
+ * "toutiao": {
416
+ * "hostVer": "√",
417
+ * "uniVer": "√",
418
+ * "unixVer": "x"
419
+ * },
420
+ * "lark": {
421
+ * "hostVer": "√",
422
+ * "uniVer": "√",
423
+ * "unixVer": "x"
424
+ * },
425
+ * "qq": {
426
+ * "hostVer": "√",
427
+ * "uniVer": "√",
428
+ * "unixVer": "x"
429
+ * },
430
+ * "kuaishou": {
431
+ * "hostVer": "√",
432
+ * "uniVer": "√",
433
+ * "unixVer": "x"
434
+ * },
435
+ * "jd": {
436
+ * "hostVer": "",
437
+ * "uniVer": "",
438
+ * "unixVer": "x"
439
+ * }
440
+ * },
441
+ * "web": {
442
+ * "uniVer": "",
443
+ * "unixVer": "4.0"
444
+ * }
445
+ * }
446
+ */
447
+ tapIndex: number
448
+ }
449
+ type ShowActionSheetSuccessCallback = (result: ShowActionSheetSuccess) => void
450
+
451
+ export interface ShowActionSheetFail extends IUniError {
452
+ /**
453
+ * 错误码
454
+ * @uniPlatform {
455
+ * "app": {
456
+ * "android": {
457
+ * "osVer": "5.0",
458
+ * "uniVer": "√",
459
+ * "uniUtsPlugin": "x",
460
+ * "unixVer": "3.91"
461
+ * },
462
+ * "ios": {
463
+ * "osVer": "12.0",
464
+ * "uniVer": "√",
465
+ * "uniUtsPlugin": "x",
466
+ * "unixVer": "4.11",
467
+ * "unixUtsPlugin": "4.11"
468
+ * },
469
+ * "harmony": {
470
+ * "osVer": "3.0",
471
+ * "uniVer": "4.23",
472
+ * "unixVer": "4.61",
473
+ * "unixVaporVer": "5.0"
474
+ * }
475
+ * },
476
+ * "mp": {
477
+ * "weixin": {
478
+ * "hostVer": "√",
479
+ * "uniVer": "√",
480
+ * "unixVer": "x"
481
+ * },
482
+ * "alipay": {
483
+ * "hostVer": "√",
484
+ * "uniVer": "√",
485
+ * "unixVer": "x"
486
+ * },
487
+ * "baidu": {
488
+ * "hostVer": "√",
489
+ * "uniVer": "√",
490
+ * "unixVer": "x"
491
+ * },
492
+ * "toutiao": {
493
+ * "hostVer": "√",
494
+ * "uniVer": "√",
495
+ * "unixVer": "x"
496
+ * },
497
+ * "lark": {
498
+ * "hostVer": "√",
499
+ * "uniVer": "√",
500
+ * "unixVer": "x"
501
+ * },
502
+ * "qq": {
503
+ * "hostVer": "√",
504
+ * "uniVer": "√",
505
+ * "unixVer": "x"
506
+ * },
507
+ * "kuaishou": {
508
+ * "hostVer": "√",
509
+ * "uniVer": "",
510
+ * "unixVer": "x"
511
+ * },
512
+ * "jd": {
513
+ * "hostVer": "",
514
+ * "uniVer": "√",
515
+ * "unixVer": "x"
516
+ * }
517
+ * },
518
+ * "web": {
519
+ * "uniVer": "√",
520
+ * "unixVer": "4.0"
521
+ * }
522
+ * }
523
+ */
524
+ errCode: ShowActionSheetErrorCode
525
+ }
526
+ type ShowActionSheetFailCallback = (result: ShowActionSheetFail) => void
527
+
528
+ export type ShowActionSheetComplete = any
529
+ type ShowActionSheetCompleteCallback = (result: ShowActionSheetComplete) => void
530
+
531
+ /**
532
+ * 参数说明
533
+ * @uniPlatform {
534
+ * "app": {
535
+ * "android": {
536
+ * "osVer": "5.0",
537
+ * "uniVer": "√",
538
+ * "uniUtsPlugin": "x",
539
+ * "unixVer": "3.91"
540
+ * },
541
+ * "ios": {
542
+ * "osVer": "12.0",
543
+ * "uniVer": "√",
544
+ * "uniUtsPlugin": "x",
545
+ * "unixVer": "4.11",
546
+ * "unixUtsPlugin": "4.11"
547
+ * },
548
+ * "harmony": {
549
+ * "osVer": "3.0",
550
+ * "uniVer": "4.23",
551
+ * "unixVer": "4.61",
552
+ * "unixVaporVer": "5.0"
553
+ * }
554
+ * },
555
+ * "mp": {
556
+ * "weixin": {
557
+ * "hostVer": "√",
558
+ * "uniVer": "√",
559
+ * "unixVer": "4.41"
560
+ * },
561
+ * "alipay": {
562
+ * "hostVer": "√",
563
+ * "uniVer": "√",
564
+ * "unixVer": "x"
565
+ * },
566
+ * "baidu": {
567
+ * "hostVer": "√",
568
+ * "uniVer": "√",
569
+ * "unixVer": "x"
570
+ * },
571
+ * "toutiao": {
572
+ * "hostVer": "√",
573
+ * "uniVer": "√",
574
+ * "unixVer": "x"
575
+ * },
576
+ * "lark": {
577
+ * "hostVer": "√",
578
+ * "uniVer": "√",
579
+ * "unixVer": "x"
580
+ * },
581
+ * "qq": {
582
+ * "hostVer": "",
583
+ * "uniVer": "√",
584
+ * "unixVer": "x"
585
+ * },
586
+ * "kuaishou": {
587
+ * "hostVer": "",
588
+ * "uniVer": "√",
589
+ * "unixVer": "x"
590
+ * },
591
+ * "jd": {
592
+ * "hostVer": "",
593
+ * "uniVer": "√",
594
+ * "unixVer": "x"
595
+ * }
596
+ * },
597
+ * "web": {
598
+ * "uniVer": "√",
599
+ * "unixVer": "4.0"
600
+ * }
601
+ * }
602
+ */
603
+ export type ShowActionSheetOptions = {
604
+ /**
605
+ * 菜单标题
606
+ * @uniPlatform {
607
+ * "app": {
608
+ * "android": {
609
+ * "osVer": "5.0",
610
+ * "uniVer": "",
611
+ * "uniUtsPlugin": "x",
612
+ * "unixVer": "4.51"
613
+ * },
614
+ * "ios": {
615
+ * "osVer": "12.0",
616
+ * "uniVer": "",
617
+ * "uniUtsPlugin": "x",
618
+ * "unixVer": "4.51",
619
+ * "unixUtsPlugin": "4.51"
620
+ * },
621
+ * "harmony": {
622
+ * "osVer": "3.0",
623
+ * "uniVer": "4.23",
624
+ * "unixVer": "4.61",
625
+ * "unixVaporVer": "5.0"
626
+ * }
627
+ * },
628
+ * "mp": {
629
+ * "weixin": {
630
+ * "hostVer": "",
631
+ * "uniVer": "√",
632
+ * "unixVer": "4.41"
633
+ * },
634
+ * "alipay": {
635
+ * "hostVer": "",
636
+ * "uniVer": "√",
637
+ * "unixVer": "x"
638
+ * },
639
+ * "baidu": {
640
+ * "hostVer": "",
641
+ * "uniVer": "√",
642
+ * "unixVer": "x"
643
+ * },
644
+ * "toutiao": {
645
+ * "hostVer": "",
646
+ * "uniVer": "√",
647
+ * "unixVer": "x"
648
+ * },
649
+ * "lark": {
650
+ * "hostVer": "",
651
+ * "uniVer": "√",
652
+ * "unixVer": "x"
653
+ * },
654
+ * "qq": {
655
+ * "hostVer": "",
656
+ * "uniVer": "√",
657
+ * "unixVer": "x"
658
+ * },
659
+ * "kuaishou": {
660
+ * "hostVer": "",
661
+ * "uniVer": "√",
662
+ * "unixVer": "x"
663
+ * },
664
+ * "jd": {
665
+ * "hostVer": "",
666
+ * "uniVer": "√",
667
+ * "unixVer": "x"
668
+ * }
669
+ * },
670
+ * "web": {
671
+ * "uniVer": "√",
672
+ * "unixVer": "4.51"
673
+ * }
674
+ * }
675
+ */
676
+ title?: string | null,
677
+ /**
678
+ * 警示文案(仅微信小程序真机有效)
679
+ * @uniPlatform {
680
+ * "app": {
681
+ * "android": {
682
+ * "osVer": "5.0",
683
+ * "uniVer": "",
684
+ * "uniUtsPlugin": "x",
685
+ * "unixVer": "3.91"
686
+ * },
687
+ * "ios": {
688
+ * "osVer": "12.0",
689
+ * "uniVer": "√",
690
+ * "uniUtsPlugin": "x",
691
+ * "unixVer": "4.11",
692
+ * "unixUtsPlugin": "4.11"
693
+ * },
694
+ * "harmony": {
695
+ * "osVer": "3.0",
696
+ * "uniVer": "4.23",
697
+ * "unixVer": "4.61",
698
+ * "unixVaporVer": "5.0"
699
+ * }
700
+ * },
701
+ * "mp": {
702
+ * "weixin": {
703
+ * "hostVer": "",
704
+ * "uniVer": "√",
705
+ * "unixVer": "4.41"
706
+ * },
707
+ * "alipay": {
708
+ * "hostVer": "",
709
+ * "uniVer": "√",
710
+ * "unixVer": "x"
711
+ * },
712
+ * "baidu": {
713
+ * "hostVer": "",
714
+ * "uniVer": "√",
715
+ * "unixVer": "x"
716
+ * },
717
+ * "toutiao": {
718
+ * "hostVer": "√",
719
+ * "uniVer": "√",
720
+ * "unixVer": "x"
721
+ * },
722
+ * "lark": {
723
+ * "hostVer": "√",
724
+ * "uniVer": "√",
725
+ * "unixVer": "x"
726
+ * },
727
+ * "qq": {
728
+ * "hostVer": "√",
729
+ * "uniVer": "√",
730
+ * "unixVer": "x"
731
+ * },
732
+ * "kuaishou": {
733
+ * "hostVer": "√",
734
+ * "uniVer": "√",
735
+ * "unixVer": "x"
736
+ * },
737
+ * "jd": {
738
+ * "hostVer": "√",
739
+ * "uniVer": "√",
740
+ * "unixVer": "x"
741
+ * }
742
+ * },
743
+ * "web": {
744
+ * "uniVer": "",
745
+ * "unixVer": "4.0"
746
+ * }
747
+ * }
748
+ */
749
+ alertText?: string | null,
750
+ /**
751
+ * 按钮的文字数组
752
+ * @uniPlatform {
753
+ * "app": {
754
+ * "android": {
755
+ * "osVer": "5.0",
756
+ * "uniVer": "√",
757
+ * "uniUtsPlugin": "x",
758
+ * "unixVer": "3.91"
759
+ * },
760
+ * "ios": {
761
+ * "osVer": "12.0",
762
+ * "uniVer": "√",
763
+ * "uniUtsPlugin": "x",
764
+ * "unixVer": "4.11",
765
+ * "unixUtsPlugin": "4.11"
766
+ * },
767
+ * "harmony": {
768
+ * "osVer": "3.0",
769
+ * "uniVer": "4.23",
770
+ * "unixVer": "4.61",
771
+ * "unixVaporVer": "5.0"
772
+ * }
773
+ * },
774
+ * "mp": {
775
+ * "weixin": {
776
+ * "hostVer": "√",
777
+ * "uniVer": "",
778
+ * "unixVer": "4.41"
779
+ * },
780
+ * "alipay": {
781
+ * "hostVer": "√",
782
+ * "uniVer": "",
783
+ * "unixVer": "x"
784
+ * },
785
+ * "baidu": {
786
+ * "hostVer": "√",
787
+ * "uniVer": "",
788
+ * "unixVer": "x"
789
+ * },
790
+ * "toutiao": {
791
+ * "hostVer": "√",
792
+ * "uniVer": "",
793
+ * "unixVer": "x"
794
+ * },
795
+ * "lark": {
796
+ * "hostVer": "√",
797
+ * "uniVer": "",
798
+ * "unixVer": "x"
799
+ * },
800
+ * "qq": {
801
+ * "hostVer": "√",
802
+ * "uniVer": "",
803
+ * "unixVer": "x"
804
+ * },
805
+ * "kuaishou": {
806
+ * "hostVer": "√",
807
+ * "uniVer": "",
808
+ * "unixVer": "x"
809
+ * },
810
+ * "jd": {
811
+ * "hostVer": "√",
812
+ * "uniVer": "√",
813
+ * "unixVer": "x"
814
+ * }
815
+ * },
816
+ * "web": {
817
+ * "uniVer": "√",
818
+ * "unixVer": "4.0"
819
+ * }
820
+ * }
821
+ */
822
+ itemList: string[],
823
+ /**
824
+ * 按钮的文字颜色,字符串格式
825
+ * @uniPlatform {
826
+ * "app": {
827
+ * "android": {
828
+ * "osVer": "5.0",
829
+ * "uniVer": "√",
830
+ * "uniUtsPlugin": "x",
831
+ * "unixVer": "3.91"
832
+ * },
833
+ * "ios": {
834
+ * "osVer": "12.0",
835
+ * "uniVer": "",
836
+ * "uniUtsPlugin": "x",
837
+ * "unixVer": "4.11",
838
+ * "unixUtsPlugin": "4.11"
839
+ * },
840
+ * "harmony": {
841
+ * "osVer": "3.0",
842
+ * "uniVer": "4.23",
843
+ * "unixVer": "4.61",
844
+ * "unixVaporVer": "5.0"
845
+ * }
846
+ * },
847
+ * "mp": {
848
+ * "weixin": {
849
+ * "hostVer": "√",
850
+ * "uniVer": "√",
851
+ * "unixVer": "4.41"
852
+ * },
853
+ * "alipay": {
854
+ * "hostVer": "√",
855
+ * "uniVer": "√",
856
+ * "unixVer": "x"
857
+ * },
858
+ * "baidu": {
859
+ * "hostVer": "√",
860
+ * "uniVer": "√",
861
+ * "unixVer": "x"
862
+ * },
863
+ * "toutiao": {
864
+ * "hostVer": "√",
865
+ * "uniVer": "√",
866
+ * "unixVer": "x"
867
+ * },
868
+ * "lark": {
869
+ * "hostVer": "√",
870
+ * "uniVer": "√",
871
+ * "unixVer": "x"
872
+ * },
873
+ * "qq": {
874
+ * "hostVer": "√",
875
+ * "uniVer": "√",
876
+ * "unixVer": "x"
877
+ * },
878
+ * "kuaishou": {
879
+ * "hostVer": "√",
880
+ * "uniVer": "√",
881
+ * "unixVer": "x"
882
+ * },
883
+ * "jd": {
884
+ * "hostVer": "√",
885
+ * "uniVer": "√",
886
+ * "unixVer": "x"
887
+ * }
888
+ * },
889
+ * "web": {
890
+ * "uniVer": "√",
891
+ * "unixVer": "4.0"
892
+ * }
893
+ * }
894
+ */
895
+ itemColor?: string.ColorString | null,
896
+ /**
897
+ * 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
898
+ * @uniPlatform {
899
+ * "app": {
900
+ * "android": {
901
+ * "osVer": "5.0",
902
+ * "uniVer": "√",
903
+ * "uniUtsPlugin": "x",
904
+ * "unixVer": "x"
905
+ * },
906
+ * "ios": {
907
+ * "osVer": "12.0",
908
+ * "uniVer": "√",
909
+ * "uniUtsPlugin": "x",
910
+ * "unixVer": "x",
911
+ * "unixUtsPlugin": "x"
912
+ * },
913
+ * "harmony": {
914
+ * "osVer": "3.0",
915
+ * "uniVer": "4.23",
916
+ * "unixVer": "x",
917
+ * "unixVaporVer": "x"
918
+ * }
919
+ * },
920
+ * "mp": {
921
+ * "weixin": {
922
+ * "hostVer": "√",
923
+ * "uniVer": "√",
924
+ * "unixVer": "x"
925
+ * },
926
+ * "alipay": {
927
+ * "hostVer": "√",
928
+ * "uniVer": "√",
929
+ * "unixVer": "x"
930
+ * },
931
+ * "baidu": {
932
+ * "hostVer": "√",
933
+ * "uniVer": "√",
934
+ * "unixVer": "x"
935
+ * },
936
+ * "toutiao": {
937
+ * "hostVer": "√",
938
+ * "uniVer": "√",
939
+ * "unixVer": "x"
940
+ * },
941
+ * "lark": {
942
+ * "hostVer": "√",
943
+ * "uniVer": "√",
944
+ * "unixVer": "x"
945
+ * },
946
+ * "qq": {
947
+ * "hostVer": "√",
948
+ * "uniVer": "√",
949
+ * "unixVer": "x"
950
+ * },
951
+ * "kuaishou": {
952
+ * "hostVer": "√",
953
+ * "uniVer": "√",
954
+ * "unixVer": "x"
955
+ * },
956
+ * "jd": {
957
+ * "hostVer": "√",
958
+ * "uniVer": "√",
959
+ * "unixVer": "x"
960
+ * }
961
+ * },
962
+ * "web": {
963
+ * "uniVer": "√",
964
+ * "unixVer": "4.0"
965
+ * }
966
+ * }
967
+ */
968
+ popover?: Popover | null,
969
+ /**
970
+ * 菜单标题文字颜色,字符串格式
971
+ * @uniPlatform {
972
+ * "app": {
973
+ * "android": {
974
+ * "osVer": "5.0",
975
+ * "uniVer": "√",
976
+ * "uniUtsPlugin": "x",
977
+ * "unixVer": "3.91"
978
+ * },
979
+ * "ios": {
980
+ * "osVer": "12.0",
981
+ * "uniVer": "√",
982
+ * "uniUtsPlugin": "x",
983
+ * "unixVer": "4.11",
984
+ * "unixUtsPlugin": "4.11"
985
+ * },
986
+ * "harmony": {
987
+ * "osVer": "3.0",
988
+ * "uniVer": "4.23",
989
+ * "unixVer": "4.61",
990
+ * "unixVaporVer": "5.0"
991
+ * }
992
+ * },
993
+ * "mp": {
994
+ * "weixin": {
995
+ * "hostVer": "√",
996
+ * "uniVer": "√",
997
+ * "unixVer": "x"
998
+ * },
999
+ * "alipay": {
1000
+ * "hostVer": "√",
1001
+ * "uniVer": "√",
1002
+ * "unixVer": "x"
1003
+ * },
1004
+ * "baidu": {
1005
+ * "hostVer": "√",
1006
+ * "uniVer": "√",
1007
+ * "unixVer": "x"
1008
+ * },
1009
+ * "toutiao": {
1010
+ * "hostVer": "√",
1011
+ * "uniVer": "√",
1012
+ * "unixVer": "x"
1013
+ * },
1014
+ * "lark": {
1015
+ * "hostVer": "√",
1016
+ * "uniVer": "√",
1017
+ * "unixVer": "x"
1018
+ * },
1019
+ * "qq": {
1020
+ * "hostVer": "√",
1021
+ * "uniVer": "√",
1022
+ * "unixVer": "x"
1023
+ * },
1024
+ * "kuaishou": {
1025
+ * "hostVer": "√",
1026
+ * "uniVer": "√",
1027
+ * "unixVer": "x"
1028
+ * },
1029
+ * "jd": {
1030
+ * "hostVer": "√",
1031
+ * "uniVer": "√",
1032
+ * "unixVer": "x"
1033
+ * }
1034
+ * },
1035
+ * "web": {
1036
+ * "uniVer": "√",
1037
+ * "unixVer": "4.0"
1038
+ * }
1039
+ * }
1040
+ */
1041
+ titleColor?: string.ColorString | null,
1042
+ /**
1043
+ * 取消按钮的文字,默认为"取消"
1044
+ * @uniPlatform {
1045
+ * "app": {
1046
+ * "android": {
1047
+ * "osVer": "5.0",
1048
+ * "uniVer": "√",
1049
+ * "uniUtsPlugin": "x",
1050
+ * "unixVer": "3.91"
1051
+ * },
1052
+ * "ios": {
1053
+ * "osVer": "12.0",
1054
+ * "uniVer": "√",
1055
+ * "uniUtsPlugin": "x",
1056
+ * "unixVer": "4.11",
1057
+ * "unixUtsPlugin": "4.11"
1058
+ * },
1059
+ * "harmony": {
1060
+ * "osVer": "3.0",
1061
+ * "uniVer": "4.23",
1062
+ * "unixVer": "4.61",
1063
+ * "unixVaporVer": "5.0"
1064
+ * }
1065
+ * },
1066
+ * "mp": {
1067
+ * "weixin": {
1068
+ * "hostVer": "√",
1069
+ * "uniVer": "√",
1070
+ * "unixVer": "x"
1071
+ * },
1072
+ * "alipay": {
1073
+ * "hostVer": "√",
1074
+ * "uniVer": "√",
1075
+ * "unixVer": "x"
1076
+ * },
1077
+ * "baidu": {
1078
+ * "hostVer": "√",
1079
+ * "uniVer": "√",
1080
+ * "unixVer": "x"
1081
+ * },
1082
+ * "toutiao": {
1083
+ * "hostVer": "√",
1084
+ * "uniVer": "√",
1085
+ * "unixVer": "x"
1086
+ * },
1087
+ * "lark": {
1088
+ * "hostVer": "√",
1089
+ * "uniVer": "√",
1090
+ * "unixVer": "x"
1091
+ * },
1092
+ * "qq": {
1093
+ * "hostVer": "√",
1094
+ * "uniVer": "√",
1095
+ * "unixVer": "x"
1096
+ * },
1097
+ * "kuaishou": {
1098
+ * "hostVer": "√",
1099
+ * "uniVer": "√",
1100
+ * "unixVer": "x"
1101
+ * },
1102
+ * "jd": {
1103
+ * "hostVer": "√",
1104
+ * "uniVer": "√",
1105
+ * "unixVer": "x"
1106
+ * }
1107
+ * },
1108
+ * "web": {
1109
+ * "uniVer": "√",
1110
+ * "unixVer": "4.0"
1111
+ * }
1112
+ * }
1113
+ */
1114
+ cancelText?: string | null,
1115
+ /**
1116
+ * 取消按钮的文字颜色,字符串格式
1117
+ * @uniPlatform {
1118
+ * "app": {
1119
+ * "android": {
1120
+ * "osVer": "5.0",
1121
+ * "uniVer": "√",
1122
+ * "uniUtsPlugin": "x",
1123
+ * "unixVer": "3.91"
1124
+ * },
1125
+ * "ios": {
1126
+ * "osVer": "12.0",
1127
+ * "uniVer": "√",
1128
+ * "uniUtsPlugin": "x",
1129
+ * "unixVer": "4.11",
1130
+ * "unixUtsPlugin": "4.11"
1131
+ * },
1132
+ * "harmony": {
1133
+ * "osVer": "3.0",
1134
+ * "uniVer": "4.23",
1135
+ * "unixVer": "4.61",
1136
+ * "unixVaporVer": "5.0"
1137
+ * }
1138
+ * },
1139
+ * "mp": {
1140
+ * "weixin": {
1141
+ * "hostVer": "√",
1142
+ * "uniVer": "√",
1143
+ * "unixVer": "x"
1144
+ * },
1145
+ * "alipay": {
1146
+ * "hostVer": "√",
1147
+ * "uniVer": "√",
1148
+ * "unixVer": "x"
1149
+ * },
1150
+ * "baidu": {
1151
+ * "hostVer": "√",
1152
+ * "uniVer": "√",
1153
+ * "unixVer": "x"
1154
+ * },
1155
+ * "toutiao": {
1156
+ * "hostVer": "√",
1157
+ * "uniVer": "√",
1158
+ * "unixVer": "x"
1159
+ * },
1160
+ * "lark": {
1161
+ * "hostVer": "√",
1162
+ * "uniVer": "√",
1163
+ * "unixVer": "x"
1164
+ * },
1165
+ * "qq": {
1166
+ * "hostVer": "√",
1167
+ * "uniVer": "√",
1168
+ * "unixVer": "x"
1169
+ * },
1170
+ * "kuaishou": {
1171
+ * "hostVer": "√",
1172
+ * "uniVer": "√",
1173
+ * "unixVer": "x"
1174
+ * },
1175
+ * "jd": {
1176
+ * "hostVer": "√",
1177
+ * "uniVer": "√",
1178
+ * "unixVer": "x"
1179
+ * }
1180
+ * },
1181
+ * "web": {
1182
+ * "uniVer": "√",
1183
+ * "unixVer": "4.0"
1184
+ * }
1185
+ * }
1186
+ */
1187
+ cancelColor?: string.ColorString | null,
1188
+ /**
1189
+ * 弹框背景颜色
1190
+ * @uniPlatform {
1191
+ * "app": {
1192
+ * "android": {
1193
+ * "osVer": "5.0",
1194
+ * "uniVer": "√",
1195
+ * "uniUtsPlugin": "x",
1196
+ * "unixVer": "3.91"
1197
+ * },
1198
+ * "ios": {
1199
+ * "osVer": "12.0",
1200
+ * "uniVer": "√",
1201
+ * "uniUtsPlugin": "x",
1202
+ * "unixVer": "4.11",
1203
+ * "unixUtsPlugin": "4.11"
1204
+ * },
1205
+ * "harmony": {
1206
+ * "osVer": "3.0",
1207
+ * "uniVer": "4.23",
1208
+ * "unixVer": "4.61",
1209
+ * "unixVaporVer": "5.0"
1210
+ * }
1211
+ * },
1212
+ * "mp": {
1213
+ * "weixin": {
1214
+ * "hostVer": "√",
1215
+ * "uniVer": "√",
1216
+ * "unixVer": "x"
1217
+ * },
1218
+ * "alipay": {
1219
+ * "hostVer": "√",
1220
+ * "uniVer": "√",
1221
+ * "unixVer": "x"
1222
+ * },
1223
+ * "baidu": {
1224
+ * "hostVer": "√",
1225
+ * "uniVer": "√",
1226
+ * "unixVer": "x"
1227
+ * },
1228
+ * "toutiao": {
1229
+ * "hostVer": "√",
1230
+ * "uniVer": "√",
1231
+ * "unixVer": "x"
1232
+ * },
1233
+ * "lark": {
1234
+ * "hostVer": "√",
1235
+ * "uniVer": "√",
1236
+ * "unixVer": "x"
1237
+ * },
1238
+ * "qq": {
1239
+ * "hostVer": "√",
1240
+ * "uniVer": "√",
1241
+ * "unixVer": "x"
1242
+ * },
1243
+ * "kuaishou": {
1244
+ * "hostVer": "√",
1245
+ * "uniVer": "√",
1246
+ * "unixVer": "x"
1247
+ * },
1248
+ * "jd": {
1249
+ * "hostVer": "√",
1250
+ * "uniVer": "√",
1251
+ * "unixVer": "x"
1252
+ * }
1253
+ * },
1254
+ * "web": {
1255
+ * "uniVer": "√",
1256
+ * "unixVer": "4.0"
1257
+ * }
1258
+ * }
1259
+ */
1260
+ backgroundColor?: string.ColorString | null,
1261
+ /**
1262
+ * 接口调用成功的回调函数
1263
+ * @uniPlatform {
1264
+ * "app": {
1265
+ * "android": {
1266
+ * "osVer": "5.0",
1267
+ * "uniVer": "√",
1268
+ * "uniUtsPlugin": "x",
1269
+ * "unixVer": "3.91"
1270
+ * },
1271
+ * "ios": {
1272
+ * "osVer": "12.0",
1273
+ * "uniVer": "√",
1274
+ * "uniUtsPlugin": "x",
1275
+ * "unixVer": "4.11",
1276
+ * "unixUtsPlugin": "4.11"
1277
+ * },
1278
+ * "harmony": {
1279
+ * "osVer": "3.0",
1280
+ * "uniVer": "4.23",
1281
+ * "unixVer": "4.61",
1282
+ * "unixVaporVer": "5.0"
1283
+ * }
1284
+ * },
1285
+ * "mp": {
1286
+ * "weixin": {
1287
+ * "hostVer": "√",
1288
+ * "uniVer": "√",
1289
+ * "unixVer": "4.41"
1290
+ * },
1291
+ * "alipay": {
1292
+ * "hostVer": "√",
1293
+ * "uniVer": "√",
1294
+ * "unixVer": "x"
1295
+ * },
1296
+ * "baidu": {
1297
+ * "hostVer": "√",
1298
+ * "uniVer": "√",
1299
+ * "unixVer": "x"
1300
+ * },
1301
+ * "toutiao": {
1302
+ * "hostVer": "√",
1303
+ * "uniVer": "√",
1304
+ * "unixVer": "x"
1305
+ * },
1306
+ * "lark": {
1307
+ * "hostVer": "√",
1308
+ * "uniVer": "√",
1309
+ * "unixVer": "x"
1310
+ * },
1311
+ * "qq": {
1312
+ * "hostVer": "√",
1313
+ * "uniVer": "√",
1314
+ * "unixVer": "x"
1315
+ * },
1316
+ * "kuaishou": {
1317
+ * "hostVer": "√",
1318
+ * "uniVer": "√",
1319
+ * "unixVer": "x"
1320
+ * },
1321
+ * "jd": {
1322
+ * "hostVer": "√",
1323
+ * "uniVer": "√",
1324
+ * "unixVer": "x"
1325
+ * }
1326
+ * },
1327
+ * "web": {
1328
+ * "uniVer": "√",
1329
+ * "unixVer": "4.0"
1330
+ * }
1331
+ * }
1332
+ */
1333
+ success?: ShowActionSheetSuccessCallback | null,
1334
+ /**
1335
+ * 接口调用失败的回调函数
1336
+ * @uniPlatform {
1337
+ * "app": {
1338
+ * "android": {
1339
+ * "osVer": "5.0",
1340
+ * "uniVer": "√",
1341
+ * "uniUtsPlugin": "x",
1342
+ * "unixVer": "3.91"
1343
+ * },
1344
+ * "ios": {
1345
+ * "osVer": "12.0",
1346
+ * "uniVer": "√",
1347
+ * "uniUtsPlugin": "x",
1348
+ * "unixVer": "4.11",
1349
+ * "unixUtsPlugin": "4.11"
1350
+ * },
1351
+ * "harmony": {
1352
+ * "osVer": "3.0",
1353
+ * "uniVer": "4.23",
1354
+ * "unixVer": "4.61",
1355
+ * "unixVaporVer": "5.0"
1356
+ * }
1357
+ * },
1358
+ * "mp": {
1359
+ * "weixin": {
1360
+ * "hostVer": "√",
1361
+ * "uniVer": "√",
1362
+ * "unixVer": "4.41"
1363
+ * },
1364
+ * "alipay": {
1365
+ * "hostVer": "√",
1366
+ * "uniVer": "√",
1367
+ * "unixVer": "x"
1368
+ * },
1369
+ * "baidu": {
1370
+ * "hostVer": "√",
1371
+ * "uniVer": "√",
1372
+ * "unixVer": "x"
1373
+ * },
1374
+ * "toutiao": {
1375
+ * "hostVer": "√",
1376
+ * "uniVer": "√",
1377
+ * "unixVer": "x"
1378
+ * },
1379
+ * "lark": {
1380
+ * "hostVer": "√",
1381
+ * "uniVer": "√",
1382
+ * "unixVer": "x"
1383
+ * },
1384
+ * "qq": {
1385
+ * "hostVer": "√",
1386
+ * "uniVer": "√",
1387
+ * "unixVer": "x"
1388
+ * },
1389
+ * "kuaishou": {
1390
+ * "hostVer": "√",
1391
+ * "uniVer": "√",
1392
+ * "unixVer": "x"
1393
+ * },
1394
+ * "jd": {
1395
+ * "hostVer": "√",
1396
+ * "uniVer": "√",
1397
+ * "unixVer": "x"
1398
+ * }
1399
+ * },
1400
+ * "web": {
1401
+ * "uniVer": "√",
1402
+ * "unixVer": "4.0"
1403
+ * }
1404
+ * }
1405
+ */
1406
+ fail?: ShowActionSheetFailCallback | null,
1407
+ /**
1408
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1409
+ * @uniPlatform {
1410
+ * "app": {
1411
+ * "android": {
1412
+ * "osVer": "5.0",
1413
+ * "uniVer": "√",
1414
+ * "uniUtsPlugin": "x",
1415
+ * "unixVer": "3.91"
1416
+ * },
1417
+ * "ios": {
1418
+ * "osVer": "12.0",
1419
+ * "uniVer": "√",
1420
+ * "uniUtsPlugin": "x",
1421
+ * "unixVer": "4.11",
1422
+ * "unixUtsPlugin": "4.11"
1423
+ * },
1424
+ * "harmony": {
1425
+ * "osVer": "3.0",
1426
+ * "uniVer": "4.23",
1427
+ * "unixVer": "4.61",
1428
+ * "unixVaporVer": "5.0"
1429
+ * }
1430
+ * },
1431
+ * "mp": {
1432
+ * "weixin": {
1433
+ * "hostVer": "√",
1434
+ * "uniVer": "√",
1435
+ * "unixVer": "4.41"
1436
+ * },
1437
+ * "alipay": {
1438
+ * "hostVer": "√",
1439
+ * "uniVer": "√",
1440
+ * "unixVer": "x"
1441
+ * },
1442
+ * "baidu": {
1443
+ * "hostVer": "√",
1444
+ * "uniVer": "√",
1445
+ * "unixVer": "x"
1446
+ * },
1447
+ * "toutiao": {
1448
+ * "hostVer": "√",
1449
+ * "uniVer": "√",
1450
+ * "unixVer": "x"
1451
+ * },
1452
+ * "lark": {
1453
+ * "hostVer": "√",
1454
+ * "uniVer": "√",
1455
+ * "unixVer": "x"
1456
+ * },
1457
+ * "qq": {
1458
+ * "hostVer": "√",
1459
+ * "uniVer": "√",
1460
+ * "unixVer": "x"
1461
+ * },
1462
+ * "kuaishou": {
1463
+ * "hostVer": "√",
1464
+ * "uniVer": "√",
1465
+ * "unixVer": "x"
1466
+ * },
1467
+ * "jd": {
1468
+ * "hostVer": "√",
1469
+ * "uniVer": "√",
1470
+ * "unixVer": "x"
1471
+ * }
1472
+ * },
1473
+ * "web": {
1474
+ * "uniVer": "√",
1475
+ * "unixVer": "4.0"
1476
+ * }
1477
+ * }
1478
+ */
1479
+ complete?: ShowActionSheetCompleteCallback | null
1480
+ };
1481
+
1482
+ export type ShowActionSheet = (options: ShowActionSheetOptions) => void;
1483
+
1484
+ export interface Uni {
1485
+ /**
1486
+ * @description 从底部向上弹出操作菜单
1487
+ * @example
1488
+ * ```typescript
1489
+ * uni.showActionSheet({
1490
+ * itemList: ['A', 'B', 'C'],
1491
+ * success: function (res) {
1492
+ * console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
1493
+ * },
1494
+ * fail: function (res) {
1495
+ * console.log(res.errMsg);
1496
+ * }
1497
+ * });
1498
+ * ```
1499
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
1500
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
1501
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
1502
+ * @uniPlatform {
1503
+ * "app": {
1504
+ * "android": {
1505
+ * "osVer": "5.0",
1506
+ * "uniVer": "√",
1507
+ * "uniUtsPlugin": "x",
1508
+ * "unixVer": "3.91"
1509
+ * },
1510
+ * "ios": {
1511
+ * "osVer": "12.0",
1512
+ * "uniVer": "√",
1513
+ * "uniUtsPlugin": "x",
1514
+ * "unixVer": "4.11",
1515
+ * "unixUtsPlugin": "4.11"
1516
+ * },
1517
+ * "harmony": {
1518
+ * "osVer": "3.0",
1519
+ * "uniVer": "4.23",
1520
+ * "unixVer": "4.61",
1521
+ * "unixVaporVer": "5.0"
1522
+ * }
1523
+ * },
1524
+ * "mp": {
1525
+ * "weixin": {
1526
+ * "hostVer": "√",
1527
+ * "uniVer": "√",
1528
+ * "unixVer": "4.41"
1529
+ * },
1530
+ * "alipay": {
1531
+ * "hostVer": "√",
1532
+ * "uniVer": "√",
1533
+ * "unixVer": "x"
1534
+ * },
1535
+ * "baidu": {
1536
+ * "hostVer": "√",
1537
+ * "uniVer": "√",
1538
+ * "unixVer": "x"
1539
+ * },
1540
+ * "toutiao": {
1541
+ * "hostVer": "√",
1542
+ * "uniVer": "√",
1543
+ * "unixVer": "x"
1544
+ * },
1545
+ * "lark": {
1546
+ * "hostVer": "√",
1547
+ * "uniVer": "√",
1548
+ * "unixVer": "x"
1549
+ * },
1550
+ * "qq": {
1551
+ * "hostVer": "√",
1552
+ * "uniVer": "√",
1553
+ * "unixVer": "x"
1554
+ * },
1555
+ * "kuaishou": {
1556
+ * "hostVer": "√",
1557
+ * "uniVer": "√",
1558
+ * "unixVer": "x"
1559
+ * },
1560
+ * "jd": {
1561
+ * "hostVer": "√",
1562
+ * "uniVer": "√",
1563
+ * "unixVer": "x"
1564
+ * }
1565
+ * },
1566
+ * "web": {
1567
+ * "uniVer": "√",
1568
+ * "unixVer": "4.0"
1569
+ * }
1570
+ * }
1571
+ */
1572
+ showActionSheet(options: ShowActionSheetOptions): void;
1573
+
1574
+ /**
1575
+ * @description 关闭栈顶页面操作菜单
1576
+ * @example
1577
+ * ```typescript
1578
+ * uni.hideActionSheet();
1579
+ * ```
1580
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
1581
+ * @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
1582
+ * @uniPlatform {
1583
+ * "app": {
1584
+ * "android": {
1585
+ * "osVer": "5.0",
1586
+ * "uniVer": "√",
1587
+ * "uniUtsPlugin": "x",
1588
+ * "unixVer": "3.91"
1589
+ * },
1590
+ * "ios": {
1591
+ * "osVer": "12.0",
1592
+ * "uniVer": "√",
1593
+ * "uniUtsPlugin": "x",
1594
+ * "unixVer": "4.11",
1595
+ * "unixUtsPlugin": "4.11"
1596
+ * },
1597
+ * "harmony": {
1598
+ * "osVer": "3.0",
1599
+ * "uniVer": "4.23",
1600
+ * "unixVer": "4.61",
1601
+ * "unixVaporVer": "5.0"
1602
+ * }
1603
+ * },
1604
+ * "mp": {
1605
+ * "weixin": {
1606
+ * "hostVer": "√",
1607
+ * "uniVer": "√",
1608
+ * "unixVer": "x"
1609
+ * },
1610
+ * "alipay": {
1611
+ * "hostVer": "√",
1612
+ * "uniVer": "√",
1613
+ * "unixVer": "x"
1614
+ * },
1615
+ * "baidu": {
1616
+ * "hostVer": "√",
1617
+ * "uniVer": "√",
1618
+ * "unixVer": "x"
1619
+ * },
1620
+ * "toutiao": {
1621
+ * "hostVer": "√",
1622
+ * "uniVer": "√",
1623
+ * "unixVer": "x"
1624
+ * },
1625
+ * "lark": {
1626
+ * "hostVer": "√",
1627
+ * "uniVer": "√",
1628
+ * "unixVer": "x"
1629
+ * },
1630
+ * "qq": {
1631
+ * "hostVer": "√",
1632
+ * "uniVer": "√",
1633
+ * "unixVer": "x"
1634
+ * },
1635
+ * "kuaishou": {
1636
+ * "hostVer": "√",
1637
+ * "uniVer": "√",
1638
+ * "unixVer": "x"
1639
+ * },
1640
+ * "jd": {
1641
+ * "hostVer": "√",
1642
+ * "uniVer": "√",
1643
+ * "unixVer": "x"
1644
+ * }
1645
+ * },
1646
+ * "web": {
1647
+ * "uniVer": "√",
1648
+ * "unixVer": "4.0"
1649
+ * }
1650
+ * }
1651
+ */
1652
+ hideActionSheet(): void;
1653
+ }
1654
+
1655
+ export class ShowActionSheetSuccessImpl implements ShowActionSheetSuccess {
1656
+ tapIndex: number
1657
+ errMsg: string
1658
+ constructor(tapIndex: number, errMsg: string = 'showActionSheet:ok') {
1659
+ this.errMsg = errMsg
1660
+ this.tapIndex = tapIndex
1661
+ }
1662
+ }
1663
+ export class ShowActionSheetFailImpl extends UniError implements ShowActionSheetFail {
1664
+ override errCode: ShowActionSheetErrorCode
1665
+ constructor(errMsg: string = 'showActionSheet:fail cancel', errCode: ShowActionSheetErrorCode = 4) {
1666
+ super()
1667
+ this.errMsg = errMsg
1668
+ this.errCode = errCode
1669
+ }
1670
+ }
1671
+
1672
+ export type HideActionSheet = () => void