@tarojs/taro-h5 3.5.0-alpha.3 → 3.5.0-alpha.4

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/dist/api/ad/index.js +1 -1
  2. package/dist/api/ai/facial.js +1 -1
  3. package/dist/api/ai/visual.js +1 -1
  4. package/dist/api/alipay/index.js +1 -1
  5. package/dist/api/base/crypto.js +1 -1
  6. package/dist/api/base/debug.js +1 -1
  7. package/dist/api/base/index.js +1 -1
  8. package/dist/api/base/performance.js +1 -1
  9. package/dist/api/base/system.js +2 -2
  10. package/dist/api/base/update.js +1 -1
  11. package/dist/api/base/weapp/app-event.js +1 -1
  12. package/dist/api/base/weapp/life-cycle.js +1 -1
  13. package/dist/api/canvas/canvasGetImageData.js +2 -2
  14. package/dist/api/canvas/canvasPutImageData.js +2 -2
  15. package/dist/api/canvas/canvasToTempFilePath.js +2 -2
  16. package/dist/api/canvas/createCanvasContext.js +1 -1
  17. package/dist/api/canvas/index.js +1 -1
  18. package/dist/api/cloud/index.js +1 -1
  19. package/dist/api/data-analysis/index.js +1 -1
  20. package/dist/api/device/accelerometer.js +2 -2
  21. package/dist/api/device/accessibility.js +1 -1
  22. package/dist/api/device/battery.js +2 -2
  23. package/dist/api/device/bluetooth-ble.js +1 -1
  24. package/dist/api/device/bluetooth-peripheral.js +1 -1
  25. package/dist/api/device/bluetooth.js +1 -1
  26. package/dist/api/device/calendar.js +1 -1
  27. package/dist/api/device/clipboard.js +1 -1
  28. package/dist/api/device/compass.js +2 -2
  29. package/dist/api/device/contact.js +1 -1
  30. package/dist/api/device/crypto.js +1 -1
  31. package/dist/api/device/gyroscope.js +1 -1
  32. package/dist/api/device/iBeacon.js +1 -1
  33. package/dist/api/device/keyboard.js +1 -1
  34. package/dist/api/device/memory.js +1 -1
  35. package/dist/api/device/motion.js +2 -2
  36. package/dist/api/device/network.js +2 -2
  37. package/dist/api/device/nfc.js +1 -1
  38. package/dist/api/device/phone.js +2 -2
  39. package/dist/api/device/scan.js +1 -1
  40. package/dist/api/device/screen.js +1 -1
  41. package/dist/api/device/vibrate.js +1 -1
  42. package/dist/api/device/wifi.js +1 -1
  43. package/dist/api/ext/index.js +1 -1
  44. package/dist/api/files/index.js +1 -1
  45. package/dist/api/location/chooseLocation.js +1 -1
  46. package/dist/api/location/getLocation.js +2 -2
  47. package/dist/api/location/index.js +1 -1
  48. package/dist/api/media/EditorContext.js +1 -1
  49. package/dist/api/media/audio/InnerAudioContext.js +2 -2
  50. package/dist/api/media/audio/index.js +1 -1
  51. package/dist/api/media/background-audio/BackgroundAudioManager.js +2 -2
  52. package/dist/api/media/background-audio/index.js +1 -1
  53. package/dist/api/media/camera.js +1 -1
  54. package/dist/api/media/image/chooseImage.js +2 -2
  55. package/dist/api/media/image/getImageInfo.js +2 -2
  56. package/dist/api/media/image/index.js +1 -1
  57. package/dist/api/media/image/previewImage.js +2 -2
  58. package/dist/api/media/live.js +1 -1
  59. package/dist/api/media/map.js +1 -1
  60. package/dist/api/media/media-recorder.js +1 -1
  61. package/dist/api/media/recorder.js +1 -1
  62. package/dist/api/media/video/index.js +2 -2
  63. package/dist/api/media/video-decoder.js +1 -1
  64. package/dist/api/media/video-processing.js +1 -1
  65. package/dist/api/media/voip.js +1 -1
  66. package/dist/api/navigate/index.js +1 -1
  67. package/dist/api/network/download.js +1 -1
  68. package/dist/api/network/mdns.js +1 -1
  69. package/dist/api/network/request/index.js +1 -1
  70. package/dist/api/network/tcp.js +1 -1
  71. package/dist/api/network/udp.js +1 -1
  72. package/dist/api/network/upload.js +1 -1
  73. package/dist/api/network/websocket/index.js +2 -2
  74. package/dist/api/open-api/account.js +1 -1
  75. package/dist/api/open-api/address.js +1 -1
  76. package/dist/api/open-api/authorize.js +1 -1
  77. package/dist/api/open-api/card.js +1 -1
  78. package/dist/api/open-api/channels-live.js +1 -1
  79. package/dist/api/open-api/customer-service.js +1 -1
  80. package/dist/api/open-api/facial.js +1 -1
  81. package/dist/api/open-api/favorites.js +1 -1
  82. package/dist/api/open-api/group.js +1 -1
  83. package/dist/api/open-api/invoice.js +1 -1
  84. package/dist/api/open-api/license-plate.js +1 -1
  85. package/dist/api/open-api/login.js +1 -1
  86. package/dist/api/open-api/red-package.js +1 -1
  87. package/dist/api/open-api/settings.js +1 -1
  88. package/dist/api/open-api/soter.js +1 -1
  89. package/dist/api/open-api/subscribe-message.js +1 -1
  90. package/dist/api/open-api/user-info.js +1 -1
  91. package/dist/api/open-api/werun.js +1 -1
  92. package/dist/api/payment/index.js +1 -1
  93. package/dist/api/share/index.js +1 -1
  94. package/dist/api/storage/background-fetch.js +1 -1
  95. package/dist/api/storage/index.js +2 -2
  96. package/dist/api/swan/index.js +1 -1
  97. package/dist/api/taro.js +1 -1
  98. package/dist/api/ui/background.js +1 -1
  99. package/dist/api/ui/fonts.js +1 -1
  100. package/dist/api/ui/interaction/actionSheet.js +1 -1
  101. package/dist/api/ui/interaction/index.js +2 -2
  102. package/dist/api/ui/interaction/modal.js +1 -1
  103. package/dist/api/ui/interaction/toast.js +1 -1
  104. package/dist/api/ui/menu.js +1 -1
  105. package/dist/api/ui/navigation-bar/index.js +2 -2
  106. package/dist/api/ui/pull-down-refresh.js +1 -1
  107. package/dist/api/ui/scroll/index.js +2 -2
  108. package/dist/api/ui/sticky.js +1 -1
  109. package/dist/api/ui/tab-bar.js +2 -2
  110. package/dist/api/ui/window.js +2 -2
  111. package/dist/api/worker/index.js +1 -1
  112. package/dist/api/wxml/index.js +1 -1
  113. package/dist/api/wxml/selectorQuery.js +1 -1
  114. package/dist/index.cjs.js.map +1 -1
  115. package/dist/index.esm.js +5170 -0
  116. package/dist/index.esm.js.map +1 -0
  117. package/dist/{api/utils → utils}/animation.js +0 -0
  118. package/dist/{api/utils → utils}/handler.js +0 -0
  119. package/dist/{api/utils → utils}/index.js +0 -0
  120. package/dist/{api/utils → utils}/lodash.js +0 -0
  121. package/dist/{api/utils → utils}/valid.js +0 -0
  122. package/package.json +12 -11
  123. package/src/api/ad/index.ts +1 -1
  124. package/src/api/ai/facial.ts +1 -1
  125. package/src/api/ai/visual.ts +1 -1
  126. package/src/api/alipay/index.ts +1 -1
  127. package/src/api/base/crypto.ts +1 -1
  128. package/src/api/base/debug.ts +1 -1
  129. package/src/api/base/index.ts +1 -1
  130. package/src/api/base/performance.ts +1 -1
  131. package/src/api/base/system.ts +2 -2
  132. package/src/api/base/update.ts +1 -1
  133. package/src/api/base/weapp/app-event.ts +1 -1
  134. package/src/api/base/weapp/life-cycle.ts +1 -1
  135. package/src/api/canvas/canvasGetImageData.ts +2 -2
  136. package/src/api/canvas/canvasPutImageData.ts +2 -2
  137. package/src/api/canvas/canvasToTempFilePath.ts +2 -2
  138. package/src/api/canvas/createCanvasContext.ts +1 -1
  139. package/src/api/canvas/index.ts +1 -1
  140. package/src/api/cloud/index.ts +1 -1
  141. package/src/api/data-analysis/index.ts +1 -1
  142. package/src/api/device/accelerometer.ts +2 -2
  143. package/src/api/device/accessibility.ts +1 -1
  144. package/src/api/device/battery.ts +2 -2
  145. package/src/api/device/bluetooth-ble.ts +1 -1
  146. package/src/api/device/bluetooth-peripheral.ts +1 -1
  147. package/src/api/device/bluetooth.ts +1 -1
  148. package/src/api/device/calendar.ts +1 -1
  149. package/src/api/device/clipboard.ts +1 -1
  150. package/src/api/device/compass.ts +2 -2
  151. package/src/api/device/contact.ts +1 -1
  152. package/src/api/device/crypto.ts +1 -1
  153. package/src/api/device/gyroscope.ts +1 -1
  154. package/src/api/device/iBeacon.ts +1 -1
  155. package/src/api/device/keyboard.ts +1 -1
  156. package/src/api/device/memory.ts +1 -1
  157. package/src/api/device/motion.ts +2 -2
  158. package/src/api/device/network.ts +2 -2
  159. package/src/api/device/nfc.ts +1 -1
  160. package/src/api/device/phone.ts +2 -2
  161. package/src/api/device/scan.ts +1 -1
  162. package/src/api/device/screen.ts +1 -1
  163. package/src/api/device/vibrate.ts +1 -1
  164. package/src/api/device/wifi.ts +1 -1
  165. package/src/api/ext/index.ts +1 -1
  166. package/src/api/files/index.ts +1 -1
  167. package/src/api/location/chooseLocation.ts +1 -1
  168. package/src/api/location/getLocation.ts +2 -2
  169. package/src/api/location/index.ts +1 -1
  170. package/src/api/media/EditorContext.ts +1 -1
  171. package/src/api/media/audio/InnerAudioContext.ts +2 -2
  172. package/src/api/media/audio/index.ts +1 -1
  173. package/src/api/media/background-audio/BackgroundAudioManager.ts +2 -2
  174. package/src/api/media/background-audio/index.ts +1 -1
  175. package/src/api/media/camera.ts +1 -1
  176. package/src/api/media/image/chooseImage.ts +2 -2
  177. package/src/api/media/image/getImageInfo.ts +2 -2
  178. package/src/api/media/image/index.ts +1 -1
  179. package/src/api/media/image/previewImage.ts +2 -2
  180. package/src/api/media/live.ts +1 -1
  181. package/src/api/media/map.ts +1 -1
  182. package/src/api/media/media-recorder.ts +1 -1
  183. package/src/api/media/recorder.ts +1 -1
  184. package/src/api/media/video/index.ts +2 -2
  185. package/src/api/media/video-decoder.ts +1 -1
  186. package/src/api/media/video-processing.ts +1 -1
  187. package/src/api/media/voip.ts +1 -1
  188. package/src/api/navigate/index.ts +1 -1
  189. package/src/api/network/download.ts +2 -2
  190. package/src/api/network/mdns.ts +1 -1
  191. package/src/api/network/request/index.ts +1 -1
  192. package/src/api/network/tcp.ts +1 -1
  193. package/src/api/network/udp.ts +1 -1
  194. package/src/api/network/upload.ts +2 -2
  195. package/src/api/network/websocket/index.ts +2 -2
  196. package/src/api/open-api/account.ts +1 -1
  197. package/src/api/open-api/address.ts +1 -1
  198. package/src/api/open-api/authorize.ts +1 -1
  199. package/src/api/open-api/card.ts +1 -1
  200. package/src/api/open-api/channels-live.ts +1 -1
  201. package/src/api/open-api/customer-service.ts +1 -1
  202. package/src/api/open-api/facial.ts +1 -1
  203. package/src/api/open-api/favorites.ts +1 -1
  204. package/src/api/open-api/group.ts +1 -1
  205. package/src/api/open-api/invoice.ts +1 -1
  206. package/src/api/open-api/license-plate.ts +1 -1
  207. package/src/api/open-api/login.ts +1 -1
  208. package/src/api/open-api/red-package.ts +1 -1
  209. package/src/api/open-api/settings.ts +1 -1
  210. package/src/api/open-api/soter.ts +1 -1
  211. package/src/api/open-api/subscribe-message.ts +1 -1
  212. package/src/api/open-api/user-info.ts +1 -1
  213. package/src/api/open-api/werun.ts +1 -1
  214. package/src/api/payment/index.ts +1 -1
  215. package/src/api/share/index.ts +1 -1
  216. package/src/api/storage/background-fetch.ts +1 -1
  217. package/src/api/storage/index.ts +2 -2
  218. package/src/api/swan/index.ts +1 -1
  219. package/src/api/taro.ts +2 -2
  220. package/src/api/ui/background.ts +1 -1
  221. package/src/api/ui/fonts.ts +1 -1
  222. package/src/api/ui/interaction/actionSheet.ts +3 -3
  223. package/src/api/ui/interaction/index.ts +2 -2
  224. package/src/api/ui/interaction/modal.ts +3 -3
  225. package/src/api/ui/interaction/toast.ts +3 -3
  226. package/src/api/ui/menu.ts +1 -1
  227. package/src/api/ui/navigation-bar/index.ts +2 -2
  228. package/src/api/ui/pull-down-refresh.ts +1 -1
  229. package/src/api/ui/scroll/index.ts +3 -3
  230. package/src/api/ui/sticky.ts +1 -1
  231. package/src/api/ui/tab-bar.ts +2 -2
  232. package/src/api/ui/window.ts +2 -2
  233. package/src/api/worker/index.ts +1 -1
  234. package/src/api/wxml/index.ts +1 -1
  235. package/src/api/wxml/selectorQuery.ts +1 -1
  236. package/src/{api/utils → utils}/animation.ts +0 -0
  237. package/src/{api/utils → utils}/handler.ts +0 -0
  238. package/src/{api/utils → utils}/index.ts +0 -0
  239. package/src/{api/utils → utils}/lodash.ts +2 -2
  240. package/src/{api/utils → utils}/valid.ts +0 -0
  241. package/dist/dist/api/ad/index.d.ts +0 -6
  242. package/dist/dist/api/ai/facial.d.ts +0 -9
  243. package/dist/dist/api/ai/index.d.ts +0 -2
  244. package/dist/dist/api/ai/visual.d.ts +0 -6
  245. package/dist/dist/api/alipay/index.d.ts +0 -3
  246. package/dist/dist/api/base/crypto.d.ts +0 -3
  247. package/dist/dist/api/base/debug.d.ts +0 -9
  248. package/dist/dist/api/base/index.d.ts +0 -12
  249. package/dist/dist/api/base/performance.d.ts +0 -6
  250. package/dist/dist/api/base/system.d.ts +0 -25
  251. package/dist/dist/api/base/update.d.ts +0 -6
  252. package/dist/dist/api/base/weapp/app-event.d.ts +0 -48
  253. package/dist/dist/api/base/weapp/life-cycle.d.ts +0 -6
  254. package/dist/dist/api/canvas/CanvasContext.d.ts +0 -104
  255. package/dist/dist/api/canvas/canvasGetImageData.d.ts +0 -5
  256. package/dist/dist/api/canvas/canvasPutImageData.d.ts +0 -6
  257. package/dist/dist/api/canvas/canvasToTempFilePath.d.ts +0 -6
  258. package/dist/dist/api/canvas/createCanvasContext.d.ts +0 -5
  259. package/dist/dist/api/canvas/index.d.ts +0 -12
  260. package/dist/dist/api/cloud/index.d.ts +0 -31
  261. package/dist/dist/api/data-analysis/index.d.ts +0 -12
  262. package/dist/dist/api/device/accelerometer.d.ts +0 -17
  263. package/dist/dist/api/device/accessibility.d.ts +0 -3
  264. package/dist/dist/api/device/battery.d.ts +0 -5
  265. package/dist/dist/api/device/bluetooth-ble.d.ts +0 -48
  266. package/dist/dist/api/device/bluetooth-peripheral.d.ts +0 -9
  267. package/dist/dist/api/device/bluetooth.d.ts +0 -39
  268. package/dist/dist/api/device/calendar.d.ts +0 -6
  269. package/dist/dist/api/device/clipboard.d.ts +0 -15
  270. package/dist/dist/api/device/compass.d.ts +0 -17
  271. package/dist/dist/api/device/contact.d.ts +0 -6
  272. package/dist/dist/api/device/crypto.d.ts +0 -3
  273. package/dist/dist/api/device/gyroscope.d.ts +0 -12
  274. package/dist/dist/api/device/iBeacon.d.ts +0 -21
  275. package/dist/dist/api/device/index.d.ts +0 -23
  276. package/dist/dist/api/device/keyboard.d.ts +0 -12
  277. package/dist/dist/api/device/memory.d.ts +0 -6
  278. package/dist/dist/api/device/motion.d.ts +0 -17
  279. package/dist/dist/api/device/network.d.ts +0 -20
  280. package/dist/dist/api/device/nfc.d.ts +0 -21
  281. package/dist/dist/api/device/phone.d.ts +0 -2
  282. package/dist/dist/api/device/scan.d.ts +0 -3
  283. package/dist/dist/api/device/screen.d.ts +0 -18
  284. package/dist/dist/api/device/vibrate.d.ts +0 -9
  285. package/dist/dist/api/device/wifi.d.ts +0 -33
  286. package/dist/dist/api/ext/index.d.ts +0 -6
  287. package/dist/dist/api/files/index.d.ts +0 -24
  288. package/dist/dist/api/framework/index.d.ts +0 -4
  289. package/dist/dist/api/index.d.ts +0 -24
  290. package/dist/dist/api/location/chooseLocation.d.ts +0 -6
  291. package/dist/dist/api/location/getLocation.d.ts +0 -2
  292. package/dist/dist/api/location/index.d.ts +0 -29
  293. package/dist/dist/api/media/EditorContext.d.ts +0 -42
  294. package/dist/dist/api/media/audio/InnerAudioContext.d.ts +0 -58
  295. package/dist/dist/api/media/audio/index.d.ts +0 -29
  296. package/dist/dist/api/media/background-audio/BackgroundAudioManager.d.ts +0 -71
  297. package/dist/dist/api/media/background-audio/index.d.ts +0 -29
  298. package/dist/dist/api/media/camera.d.ts +0 -3
  299. package/dist/dist/api/media/image/chooseImage.d.ts +0 -5
  300. package/dist/dist/api/media/image/getImageInfo.d.ts +0 -5
  301. package/dist/dist/api/media/image/index.d.ts +0 -15
  302. package/dist/dist/api/media/image/previewImage.d.ts +0 -8
  303. package/dist/dist/api/media/index.d.ts +0 -12
  304. package/dist/dist/api/media/live.d.ts +0 -6
  305. package/dist/dist/api/media/map.d.ts +0 -3
  306. package/dist/dist/api/media/media-recorder.d.ts +0 -3
  307. package/dist/dist/api/media/recorder.d.ts +0 -9
  308. package/dist/dist/api/media/video/index.d.ts +0 -24
  309. package/dist/dist/api/media/video-decoder.d.ts +0 -3
  310. package/dist/dist/api/media/video-processing.d.ts +0 -3
  311. package/dist/dist/api/media/voip.d.ts +0 -42
  312. package/dist/dist/api/navigate/index.d.ts +0 -12
  313. package/dist/dist/api/network/download.d.ts +0 -6
  314. package/dist/dist/api/network/index.d.ts +0 -7
  315. package/dist/dist/api/network/mdns.d.ts +0 -30
  316. package/dist/dist/api/network/request/index.d.ts +0 -4
  317. package/dist/dist/api/network/tcp.d.ts +0 -3
  318. package/dist/dist/api/network/udp.d.ts +0 -3
  319. package/dist/dist/api/network/upload.d.ts +0 -5
  320. package/dist/dist/api/network/utils.d.ts +0 -44
  321. package/dist/dist/api/network/websocket/index.d.ts +0 -7
  322. package/dist/dist/api/network/websocket/socketTask.d.ts +0 -25
  323. package/dist/dist/api/open-api/account.d.ts +0 -3
  324. package/dist/dist/api/open-api/address.d.ts +0 -3
  325. package/dist/dist/api/open-api/authorize.d.ts +0 -6
  326. package/dist/dist/api/open-api/card.d.ts +0 -6
  327. package/dist/dist/api/open-api/channels-live.d.ts +0 -18
  328. package/dist/dist/api/open-api/customer-service.d.ts +0 -3
  329. package/dist/dist/api/open-api/facial.d.ts +0 -12
  330. package/dist/dist/api/open-api/favorites.d.ts +0 -6
  331. package/dist/dist/api/open-api/group.d.ts +0 -3
  332. package/dist/dist/api/open-api/index.d.ts +0 -18
  333. package/dist/dist/api/open-api/invoice.d.ts +0 -6
  334. package/dist/dist/api/open-api/license-plate.d.ts +0 -3
  335. package/dist/dist/api/open-api/login.d.ts +0 -9
  336. package/dist/dist/api/open-api/red-package.d.ts +0 -3
  337. package/dist/dist/api/open-api/settings.d.ts +0 -6
  338. package/dist/dist/api/open-api/soter.d.ts +0 -9
  339. package/dist/dist/api/open-api/subscribe-message.d.ts +0 -3
  340. package/dist/dist/api/open-api/user-info.d.ts +0 -6
  341. package/dist/dist/api/open-api/werun.d.ts +0 -6
  342. package/dist/dist/api/payment/index.d.ts +0 -6
  343. package/dist/dist/api/route/index.d.ts +0 -1
  344. package/dist/dist/api/share/index.d.ts +0 -30
  345. package/dist/dist/api/storage/background-fetch.d.ts +0 -12
  346. package/dist/dist/api/storage/index.d.ts +0 -18
  347. package/dist/dist/api/swan/index.d.ts +0 -63
  348. package/dist/dist/api/taro.d.ts +0 -12
  349. package/dist/dist/api/ui/animation/index.d.ts +0 -2
  350. package/dist/dist/api/ui/background.d.ts +0 -6
  351. package/dist/dist/api/ui/custom-component.d.ts +0 -1
  352. package/dist/dist/api/ui/fonts.d.ts +0 -2
  353. package/dist/dist/api/ui/index.d.ts +0 -12
  354. package/dist/dist/api/ui/interaction/actionSheet.d.ts +0 -61
  355. package/dist/dist/api/ui/interaction/index.d.ts +0 -14
  356. package/dist/dist/api/ui/interaction/modal.d.ts +0 -69
  357. package/dist/dist/api/ui/interaction/toast.d.ts +0 -85
  358. package/dist/dist/api/ui/menu.d.ts +0 -3
  359. package/dist/dist/api/ui/navigation-bar/index.d.ts +0 -15
  360. package/dist/dist/api/ui/pull-down-refresh.d.ts +0 -9
  361. package/dist/dist/api/ui/scroll/index.d.ts +0 -5
  362. package/dist/dist/api/ui/sticky.d.ts +0 -3
  363. package/dist/dist/api/ui/tab-bar.d.ts +0 -34
  364. package/dist/dist/api/ui/window.d.ts +0 -15
  365. package/dist/dist/api/utils/animation.d.ts +0 -6
  366. package/dist/dist/api/utils/handler.d.ts +0 -48
  367. package/dist/dist/api/utils/index.d.ts +0 -39
  368. package/dist/dist/api/utils/lodash.d.ts +0 -2
  369. package/dist/dist/api/utils/valid.d.ts +0 -2
  370. package/dist/dist/api/worker/index.d.ts +0 -3
  371. package/dist/dist/api/wxml/index.d.ts +0 -5
  372. package/dist/dist/api/wxml/nodesRef.d.ts +0 -13
  373. package/dist/dist/api/wxml/selectorQuery.d.ts +0 -24
  374. package/dist/dist/index.d.ts +0 -4
  375. package/dist/dist/types/type.d.ts +0 -29
  376. package/dist/types/type.js +0 -2
  377. package/src/types/api.d.ts +0 -4
  378. package/src/types/define.d.ts +0 -2
  379. package/src/types/index.d.ts +0 -3
  380. package/src/types/type.ts +0 -32
@@ -1,9 +0,0 @@
1
- export declare const startSoterAuthentication: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const checkIsSupportSoterAuthentication: () => Promise<{
5
- errMsg: string;
6
- }>;
7
- export declare const checkIsSoterEnrolledInDevice: () => Promise<{
8
- errMsg: string;
9
- }>;
@@ -1,3 +0,0 @@
1
- export declare const requestSubscribeMessage: () => Promise<{
2
- errMsg: string;
3
- }>;
@@ -1,6 +0,0 @@
1
- export declare const getUserProfile: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const getUserInfo: () => Promise<{
5
- errMsg: string;
6
- }>;
@@ -1,6 +0,0 @@
1
- export declare const shareToWeRun: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const getWeRunData: () => Promise<{
5
- errMsg: string;
6
- }>;
@@ -1,6 +0,0 @@
1
- export declare const requestPayment: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const requestOrderPayment: () => Promise<{
5
- errMsg: string;
6
- }>;
@@ -1 +0,0 @@
1
- export { switchTab, reLaunch, redirectTo, navigateTo, navigateBack } from '@tarojs/router';
@@ -1,30 +0,0 @@
1
- export declare const updateShareMenu: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const showShareMenu: () => Promise<{
5
- errMsg: string;
6
- }>;
7
- export declare const showShareImageMenu: () => Promise<{
8
- errMsg: string;
9
- }>;
10
- export declare const shareVideoMessage: () => Promise<{
11
- errMsg: string;
12
- }>;
13
- export declare const shareFileMessage: () => Promise<{
14
- errMsg: string;
15
- }>;
16
- export declare const onCopyUrl: () => Promise<{
17
- errMsg: string;
18
- }>;
19
- export declare const offCopyUrl: () => Promise<{
20
- errMsg: string;
21
- }>;
22
- export declare const hideShareMenu: () => Promise<{
23
- errMsg: string;
24
- }>;
25
- export declare const getShareInfo: () => Promise<{
26
- errMsg: string;
27
- }>;
28
- export declare const authPrivateMessage: () => Promise<{
29
- errMsg: string;
30
- }>;
@@ -1,12 +0,0 @@
1
- export declare const setBackgroundFetchToken: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const onBackgroundFetchData: () => Promise<{
5
- errMsg: string;
6
- }>;
7
- export declare const getBackgroundFetchToken: () => Promise<{
8
- errMsg: string;
9
- }>;
10
- export declare const getBackgroundFetchData: () => Promise<{
11
- errMsg: string;
12
- }>;
@@ -1,18 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- export declare const setStorageSync: typeof Taro.setStorageSync;
3
- export declare const setStorage: typeof Taro.setStorage;
4
- export declare const revokeBufferURL: () => Promise<{
5
- errMsg: string;
6
- }>;
7
- export declare const removeStorageSync: typeof Taro.removeStorageSync;
8
- export declare const removeStorage: typeof Taro.removeStorage;
9
- export declare const getStorageSync: typeof Taro.getStorageSync;
10
- export declare const getStorageInfoSync: typeof Taro.getStorageInfoSync;
11
- export declare const getStorageInfo: typeof Taro.getStorageInfo;
12
- export declare const getStorage: typeof Taro.getStorage;
13
- export declare const createBufferURL: () => Promise<{
14
- errMsg: string;
15
- }>;
16
- export declare const clearStorageSync: typeof Taro.clearStorageSync;
17
- export declare const clearStorage: typeof Taro.clearStorage;
18
- export * from './background-fetch';
@@ -1,63 +0,0 @@
1
- export declare const setPageInfo: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const ocrIdCard: () => Promise<{
5
- errMsg: string;
6
- }>;
7
- export declare const ocrBankCard: () => Promise<{
8
- errMsg: string;
9
- }>;
10
- export declare const ocrDrivingLicense: () => Promise<{
11
- errMsg: string;
12
- }>;
13
- export declare const ocrVehicleLicense: () => Promise<{
14
- errMsg: string;
15
- }>;
16
- export declare const textReview: () => Promise<{
17
- errMsg: string;
18
- }>;
19
- export declare const textToAudio: () => Promise<{
20
- errMsg: string;
21
- }>;
22
- export declare const imageAudit: () => Promise<{
23
- errMsg: string;
24
- }>;
25
- export declare const advancedGeneralIdentify: () => Promise<{
26
- errMsg: string;
27
- }>;
28
- export declare const objectDetectIdentify: () => Promise<{
29
- errMsg: string;
30
- }>;
31
- export declare const carClassify: () => Promise<{
32
- errMsg: string;
33
- }>;
34
- export declare const dishClassify: () => Promise<{
35
- errMsg: string;
36
- }>;
37
- export declare const logoClassify: () => Promise<{
38
- errMsg: string;
39
- }>;
40
- export declare const animalClassify: () => Promise<{
41
- errMsg: string;
42
- }>;
43
- export declare const plantClassify: () => Promise<{
44
- errMsg: string;
45
- }>;
46
- export declare const getSwanId: () => Promise<{
47
- errMsg: string;
48
- }>;
49
- export declare const requestPolymerPayment: () => Promise<{
50
- errMsg: string;
51
- }>;
52
- export declare const navigateToSmartGameProgram: () => Promise<{
53
- errMsg: string;
54
- }>;
55
- export declare const navigateToSmartProgram: () => Promise<{
56
- errMsg: string;
57
- }>;
58
- export declare const navigateBackSmartProgram: () => Promise<{
59
- errMsg: string;
60
- }>;
61
- export declare const preloadSubPackage: () => Promise<{
62
- errMsg: string;
63
- }>;
@@ -1,12 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- import { history } from '@tarojs/router';
3
- declare const Behavior: any, getEnv: any, ENV_TYPE: any, Link: any, interceptors: any, Current: any, options: any, eventCenter: any, Events: any, preload: any;
4
- declare const taro: typeof Taro;
5
- declare const initPxTransform: any;
6
- declare const requirePlugin: () => Promise<{
7
- errMsg: string;
8
- }>;
9
- declare const pxTransform: (size: any) => string;
10
- declare const canIUseWebp: () => boolean;
11
- export default taro;
12
- export { Behavior, getEnv, ENV_TYPE, Link, interceptors, initPxTransform, Current, options, eventCenter, Events, preload, requirePlugin, pxTransform, canIUseWebp, history };
@@ -1,2 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- export declare const createAnimation: typeof Taro.createAnimation;
@@ -1,6 +0,0 @@
1
- export declare const setBackgroundTextStyle: () => Promise<{
2
- errMsg: string;
3
- }>;
4
- export declare const setBackgroundColor: () => Promise<{
5
- errMsg: string;
6
- }>;
@@ -1 +0,0 @@
1
- export declare const nextTick: (callback: (...args: any[]) => any) => void;
@@ -1,2 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- export declare const loadFontFace: typeof Taro.loadFontFace;
@@ -1,12 +0,0 @@
1
- export * from './animation';
2
- export * from './background';
3
- export * from './custom-component';
4
- export * from './fonts';
5
- export * from './menu';
6
- export * from './navigation-bar';
7
- export * from './pull-down-refresh';
8
- export * from './scroll';
9
- export * from './sticky';
10
- export * from './tab-bar';
11
- export * from './window';
12
- export * from './interaction';
@@ -1,61 +0,0 @@
1
- export default class ActionSheet {
2
- options: {
3
- itemList: never[];
4
- itemColor: string;
5
- success: () => void;
6
- fail: () => void;
7
- complete: () => void;
8
- };
9
- style: {
10
- maskStyle: {
11
- position: string;
12
- 'z-index': string;
13
- top: string;
14
- right: string;
15
- left: string;
16
- bottom: string;
17
- background: string;
18
- };
19
- actionSheetStyle: {
20
- 'z-index': string;
21
- position: string;
22
- left: string;
23
- bottom: string;
24
- '-webkit-transform': string;
25
- transform: string;
26
- width: string;
27
- 'line-height': string;
28
- background: string;
29
- '-webkit-transition': string;
30
- transition: string;
31
- };
32
- menuStyle: {
33
- 'background-color': string;
34
- };
35
- cellStyle: {
36
- position: string;
37
- padding: string;
38
- 'text-align': string;
39
- 'font-size': string;
40
- };
41
- cancelStyle: {
42
- 'margin-top': string;
43
- padding: string;
44
- 'text-align': string;
45
- 'font-size': string;
46
- color: string;
47
- 'background-color': string;
48
- };
49
- };
50
- lastConfig: {};
51
- el: HTMLDivElement;
52
- actionSheet: HTMLDivElement;
53
- menu: HTMLDivElement;
54
- cells: HTMLDivElement[];
55
- cancel: HTMLDivElement;
56
- hideOpacityTimer: any;
57
- hideDisplayTimer: any;
58
- create(options?: {}): Promise<string | number>;
59
- show(options?: {}): Promise<string | number>;
60
- hide(): void;
61
- }
@@ -1,14 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- declare const showToast: typeof Taro.showToast;
3
- declare const hideToast: typeof Taro.hideToast;
4
- declare const showLoading: typeof Taro.showLoading;
5
- declare const hideLoading: typeof Taro.hideLoading;
6
- declare const showModal: typeof Taro.showModal;
7
- declare const showActionSheet: typeof Taro.showActionSheet;
8
- declare const enableAlertBeforeUnload: () => Promise<{
9
- errMsg: string;
10
- }>;
11
- declare const disableAlertBeforeUnload: () => Promise<{
12
- errMsg: string;
13
- }>;
14
- export { showToast, showModal, showLoading, showActionSheet, hideToast, hideLoading, enableAlertBeforeUnload, disableAlertBeforeUnload };
@@ -1,69 +0,0 @@
1
- export default class Modal {
2
- options: {
3
- title: string;
4
- content: string;
5
- showCancel: boolean;
6
- cancelText: string;
7
- cancelColor: string;
8
- confirmText: string;
9
- confirmColor: string;
10
- };
11
- style: {
12
- maskStyle: {
13
- position: string;
14
- 'z-index': string;
15
- top: string;
16
- right: string;
17
- left: string;
18
- bottom: string;
19
- background: string;
20
- };
21
- modalStyle: {
22
- 'z-index': string;
23
- position: string;
24
- top: string;
25
- left: string;
26
- transform: string;
27
- width: string;
28
- 'max-width': string;
29
- 'border-radius': string;
30
- 'text-align': string;
31
- 'line-height': string;
32
- overflow: string;
33
- background: string;
34
- };
35
- titleStyle: {
36
- padding: string;
37
- 'font-size': string;
38
- };
39
- textStyle: {
40
- padding: string;
41
- 'min-height': string;
42
- 'font-size': string;
43
- 'line-height': string;
44
- color: string;
45
- };
46
- footStyle: {
47
- position: string;
48
- 'line-height': string;
49
- 'font-size': string;
50
- display: string;
51
- };
52
- btnStyle: {
53
- position: string;
54
- '-webkit-box-flex': string;
55
- '-webkit-flex': string;
56
- flex: string;
57
- };
58
- };
59
- el: HTMLDivElement;
60
- title: HTMLDivElement;
61
- text: HTMLDivElement;
62
- cancel: HTMLDivElement;
63
- confirm: HTMLDivElement;
64
- hideOpacityTimer: any;
65
- hideDisplayTimer: any;
66
- create(options?: {}): Promise<string>;
67
- show(options?: {}): Promise<string>;
68
- hide(): void;
69
- }
@@ -1,85 +0,0 @@
1
- export default class Toast {
2
- options: {
3
- title: string;
4
- icon: string;
5
- image: string;
6
- duration: number;
7
- mask: boolean;
8
- };
9
- style: {
10
- maskStyle: {
11
- position: string;
12
- 'z-index': string;
13
- top: string;
14
- right: string;
15
- left: string;
16
- bottom: string;
17
- };
18
- toastStyle: {
19
- 'z-index': string;
20
- 'box-sizing': string;
21
- display: string;
22
- 'flex-direction': string;
23
- 'justify-content': string;
24
- '-webkit-justify-content': string;
25
- position: string;
26
- top: string;
27
- left: string;
28
- 'min-width': string;
29
- 'max-width': string;
30
- 'min-height': string;
31
- padding: string;
32
- transform: string;
33
- 'border-radius': string;
34
- 'text-align': string;
35
- 'line-height': string;
36
- color: string;
37
- background: string;
38
- };
39
- successStyle: {
40
- margin: string;
41
- width: string;
42
- height: string;
43
- background: string;
44
- 'background-size': string;
45
- };
46
- errrorStyle: {
47
- margin: string;
48
- width: string;
49
- height: string;
50
- background: string;
51
- 'background-size': string;
52
- };
53
- loadingStyle: {
54
- margin: string;
55
- width: string;
56
- height: string;
57
- '-webkit-animation': string;
58
- animation: string;
59
- background: string;
60
- 'background-size': string;
61
- };
62
- imageStyle: {
63
- margin: string;
64
- width: string;
65
- height: string;
66
- background: string;
67
- 'background-size': string;
68
- };
69
- textStyle: {
70
- margin: string;
71
- 'font-size': string;
72
- };
73
- };
74
- el: HTMLDivElement;
75
- mask: HTMLDivElement;
76
- icon: HTMLParagraphElement;
77
- toast: HTMLDivElement;
78
- title: HTMLParagraphElement;
79
- type: any;
80
- hideOpacityTimer: any;
81
- hideDisplayTimer: any;
82
- create(options?: {}, _type?: 'loading' | 'toast'): string;
83
- show(options?: {}, _type?: 'loading' | 'toast'): string;
84
- hide(duration: number | undefined, type: any): void;
85
- }
@@ -1,3 +0,0 @@
1
- export declare const getMenuButtonBoundingClientRect: () => Promise<{
2
- errMsg: string;
3
- }>;
@@ -1,15 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- export declare const showNavigationBarLoading: () => Promise<{
3
- errMsg: string;
4
- }>;
5
- export declare function setNavigationBarTitle(options: any): Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
6
- /**
7
- * 设置页面导航条颜色
8
- */
9
- export declare const setNavigationBarColor: typeof Taro.setNavigationBarColor;
10
- export declare const hideNavigationBarLoading: () => Promise<{
11
- errMsg: string;
12
- }>;
13
- export declare const hideHomeButton: () => Promise<{
14
- errMsg: string;
15
- }>;
@@ -1,9 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- /**
3
- * 开始下拉刷新。调用后触发下拉刷新动画,效果与用户手动下拉刷新一致。
4
- */
5
- export declare const startPullDownRefresh: typeof Taro.startPullDownRefresh;
6
- /**
7
- * 停止当前页面下拉刷新。
8
- */
9
- export declare const stopPullDownRefresh: typeof Taro.stopPullDownRefresh;
@@ -1,5 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- /**
3
- * 将页面滚动到目标位置
4
- */
5
- export declare const pageScrollTo: typeof Taro.pageScrollTo;
@@ -1,3 +0,0 @@
1
- export declare const setTopBarText: () => Promise<{
2
- errMsg: string;
3
- }>;
@@ -1,34 +0,0 @@
1
- import Taro, { AppConfig } from '@tarojs/api';
2
- export declare function initTabBarApis(config?: AppConfig): void;
3
- /**
4
- * 显示 tabBar 某一项的右上角的红点
5
- */
6
- export declare const showTabBarRedDot: typeof Taro.showTabBarRedDot;
7
- /**
8
- * 显示 tabBar
9
- */
10
- export declare const showTabBar: typeof Taro.showTabBar;
11
- /**
12
- * 动态设置 tabBar 的整体样式
13
- */
14
- export declare const setTabBarStyle: typeof Taro.setTabBarStyle;
15
- /**
16
- * 动态设置 tabBar 某一项的内容
17
- */
18
- export declare const setTabBarItem: typeof Taro.setTabBarItem;
19
- /**
20
- * 为 tabBar 某一项的右上角添加文本
21
- */
22
- export declare const setTabBarBadge: typeof Taro.setTabBarBadge;
23
- /**
24
- * 移除 tabBar 某一项右上角的文本
25
- */
26
- export declare const removeTabBarBadge: typeof Taro.removeTabBarBadge;
27
- /**
28
- * 隐藏 tabBar 某一项的右上角的红点
29
- */
30
- export declare const hideTabBarRedDot: typeof Taro.hideTabBarRedDot;
31
- /**
32
- * 隐藏 tabBar
33
- */
34
- export declare const hideTabBar: typeof Taro.hideTabBar;
@@ -1,15 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- /**
3
- * 设置窗口大小,该接口仅适用于 PC 平台,使用细则请参见指南
4
- */
5
- export declare const setWindowSize: () => Promise<{
6
- errMsg: string;
7
- }>;
8
- /**
9
- * 监听窗口尺寸变化事件
10
- */
11
- export declare const onWindowResize: typeof Taro.onWindowResize;
12
- /**
13
- * 取消监听窗口尺寸变化事件
14
- */
15
- export declare const offWindowResize: typeof Taro.offWindowResize;
@@ -1,6 +0,0 @@
1
- /**
2
- * ease-in-out的函数
3
- * @param t 0-1的数字
4
- */
5
- export declare const easeInOut: (t: number) => number;
6
- export declare const getTimingFunc: (easeFunc: any, frameCnt: any) => (x: any) => any;
@@ -1,48 +0,0 @@
1
- declare type TCallback<T = Partial<TaroGeneral.CallbackResult>> = (res: T) => Promise<void> | void;
2
- interface IMethodParam<T = Partial<TaroGeneral.CallbackResult>> {
3
- name: string;
4
- success?: TCallback<T>;
5
- fail?: TCallback;
6
- complete?: TCallback;
7
- }
8
- export declare class MethodHandler<T = Partial<TaroGeneral.CallbackResult>> {
9
- methodName: string;
10
- protected __success?: TCallback<T>;
11
- protected __fail?: TCallback;
12
- protected __complete?: TCallback;
13
- constructor({ name, success, fail, complete }: IMethodParam<T>);
14
- success<U = Record<string, unknown>>(res?: Partial<T> & Partial<TaroGeneral.CallbackResult>, resolve?: any): Promise<T & U & TaroGeneral.CallbackResult>;
15
- fail<U = Record<string, unknown>>(res?: Partial<T> & Partial<TaroGeneral.CallbackResult>, reject?: any): Promise<T & U & TaroGeneral.CallbackResult>;
16
- }
17
- declare type TCallbackManagerParam = (...arr: unknown[]) => void;
18
- interface ICallbackManagerOption {
19
- callback?: TCallbackManagerParam;
20
- ctx?: any;
21
- [key: string]: unknown;
22
- }
23
- declare type TCallbackManagerListItem = (TCallbackManagerParam | ICallbackManagerOption);
24
- declare type TCallbackManagerList = TCallbackManagerListItem[];
25
- export declare class CallbackManager {
26
- callbacks: TCallbackManagerList;
27
- /**
28
- * 添加回调
29
- * @param {{ callback: function, ctx: any } | function} opt
30
- */
31
- add: (opt?: TCallbackManagerListItem | undefined) => void;
32
- /**
33
- * 移除回调
34
- * @param {{ callback: function, ctx: any } | function} opt
35
- */
36
- remove: (opt?: TCallbackManagerListItem | undefined) => void;
37
- /**
38
- * 获取回调函数数量
39
- * @return {number}
40
- */
41
- count: () => number;
42
- /**
43
- * 触发回调
44
- * @param {...any} args 回调的调用参数
45
- */
46
- trigger: (...args: TCallbackManagerList) => void;
47
- }
48
- export {};
@@ -1,39 +0,0 @@
1
- import { TaroElement } from '@tarojs/runtime';
2
- export declare function shouldBeObject(target: unknown): {
3
- flag: boolean;
4
- msg?: undefined;
5
- } | {
6
- flag: boolean;
7
- msg: string;
8
- };
9
- export declare function findDOM(inst?: any): TaroElement | HTMLElement | undefined;
10
- interface IParameterErrorParam {
11
- name?: string;
12
- para?: string;
13
- correct?: string;
14
- wrong?: unknown;
15
- }
16
- export declare function getParameterError({ name, para, correct, wrong }: IParameterErrorParam): string;
17
- export declare function inlineStyle(style: any): string;
18
- export declare function setTransform(el: any, val: any): void;
19
- export declare function serializeParams(params: any): string;
20
- export declare function temporarilyNotSupport(apiName: any): () => Promise<{
21
- errMsg: string;
22
- }>;
23
- export declare function weixinCorpSupport(apiName: any): () => Promise<{
24
- errMsg: string;
25
- }>;
26
- export declare function permanentlyNotSupport(apiName: any): () => Promise<{
27
- errMsg: string;
28
- }>;
29
- interface IProcessOpenApi<TOptions = Record<string, unknown>, TResult extends TaroGeneral.CallbackResult = any> {
30
- name: string;
31
- defaultOptions?: TOptions;
32
- standardMethod?: (opts: TOptions) => Promise<TResult>;
33
- formatOptions?: (opts: TOptions) => TOptions;
34
- formatResult?: (res: TResult) => TResult;
35
- }
36
- export declare function processOpenApi<TOptions = Record<string, unknown>, TResult extends TaroGeneral.CallbackResult = any>({ name, defaultOptions, standardMethod, formatOptions, formatResult }: IProcessOpenApi<TOptions, TResult>): (options?: Partial<TOptions>) => Promise<TResult>;
37
- export * from './animation';
38
- export * from './lodash';
39
- export * from './valid';
@@ -1,2 +0,0 @@
1
- export declare function throttle(fn: any, threshold?: number, scope?: any): (...args: any[]) => void;
2
- export declare function debounce(fn: any, ms?: number, scope?: any): (...args: any[]) => void;
@@ -1,2 +0,0 @@
1
- export declare function isFunction(obj: any): boolean;
2
- export declare const isValidColor: (color: any) => boolean;
@@ -1,3 +0,0 @@
1
- export declare const createWorker: () => Promise<{
2
- errMsg: string;
3
- }>;
@@ -1,5 +0,0 @@
1
- import Taro from '@tarojs/api';
2
- export declare const createSelectorQuery: typeof Taro.createSelectorQuery;
3
- export declare const createIntersectionObserver: () => Promise<{
4
- errMsg: string;
5
- }>;