hylid-bridge 0.0.1

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 (492) hide show
  1. package/lib/appEnv.d.ts +10 -0
  2. package/lib/appEnv.js +95 -0
  3. package/lib/bridges.d.ts +143 -0
  4. package/lib/bridges.js +2782 -0
  5. package/lib/clients/mp/lazada/crossPay.d.ts +3 -0
  6. package/lib/clients/mp/lazada/crossPay.js +11 -0
  7. package/lib/clients/mp/lazada/getAppIdSync.d.ts +3 -0
  8. package/lib/clients/mp/lazada/getAppIdSync.js +7 -0
  9. package/lib/clients/mp/lazada/getAuthCode.d.ts +3 -0
  10. package/lib/clients/mp/lazada/getAuthCode.js +48 -0
  11. package/lib/clients/mp/lazada/getOpenUserInfo.d.ts +3 -0
  12. package/lib/clients/mp/lazada/getOpenUserInfo.js +42 -0
  13. package/lib/clients/mp/lazada/hideNavigationBarLoading.d.ts +3 -0
  14. package/lib/clients/mp/lazada/hideNavigationBarLoading.js +6 -0
  15. package/lib/clients/mp/lazada/index.d.ts +120 -0
  16. package/lib/clients/mp/lazada/index.js +104 -0
  17. package/lib/clients/mp/lazada/showNavigationBarLoading.d.ts +3 -0
  18. package/lib/clients/mp/lazada/showNavigationBarLoading.js +6 -0
  19. package/lib/clients/mp/lazada/tradePay.d.ts +3 -0
  20. package/lib/clients/mp/lazada/tradePay.js +11 -0
  21. package/lib/clients/mp/taobao/crossPay.d.ts +3 -0
  22. package/lib/clients/mp/taobao/crossPay.js +11 -0
  23. package/lib/clients/mp/taobao/getAuthCode.d.ts +3 -0
  24. package/lib/clients/mp/taobao/getAuthCode.js +48 -0
  25. package/lib/clients/mp/taobao/getOpenUserInfo.d.ts +3 -0
  26. package/lib/clients/mp/taobao/getOpenUserInfo.js +34 -0
  27. package/lib/clients/mp/taobao/index.d.ts +114 -0
  28. package/lib/clients/mp/taobao/index.js +98 -0
  29. package/lib/clients/mp/taobao/tradePay.d.ts +3 -0
  30. package/lib/clients/mp/taobao/tradePay.js +11 -0
  31. package/lib/clients/mp-web/cn/crossPay.d.ts +3 -0
  32. package/lib/clients/mp-web/cn/crossPay.js +8 -0
  33. package/lib/clients/mp-web/cn/index.d.ts +89 -0
  34. package/lib/clients/mp-web/cn/index.js +86 -0
  35. package/lib/clients/mp-web/intl/APRegionRPC.d.ts +3 -0
  36. package/lib/clients/mp-web/intl/APRegionRPC.js +7 -0
  37. package/lib/clients/mp-web/intl/addFatigueAction.d.ts +3 -0
  38. package/lib/clients/mp-web/intl/addFatigueAction.js +7 -0
  39. package/lib/clients/mp-web/intl/apDisableJSAPI.d.ts +3 -0
  40. package/lib/clients/mp-web/intl/apDisableJSAPI.js +7 -0
  41. package/lib/clients/mp-web/intl/appxrpc.d.ts +3 -0
  42. package/lib/clients/mp-web/intl/appxrpc.js +7 -0
  43. package/lib/clients/mp-web/intl/batchQueryCdpSpaceInfo.d.ts +3 -0
  44. package/lib/clients/mp-web/intl/batchQueryCdpSpaceInfo.js +7 -0
  45. package/lib/clients/mp-web/intl/choosePhoneContact.d.ts +3 -0
  46. package/lib/clients/mp-web/intl/choosePhoneContact.js +7 -0
  47. package/lib/clients/mp-web/intl/crossPay.d.ts +3 -0
  48. package/lib/clients/mp-web/intl/crossPay.js +7 -0
  49. package/lib/clients/mp-web/intl/exitApp.d.ts +3 -0
  50. package/lib/clients/mp-web/intl/exitApp.js +7 -0
  51. package/lib/clients/mp-web/intl/getAppToken.d.ts +3 -0
  52. package/lib/clients/mp-web/intl/getAppToken.js +7 -0
  53. package/lib/clients/mp-web/intl/getComponentAuth.d.ts +3 -0
  54. package/lib/clients/mp-web/intl/getComponentAuth.js +7 -0
  55. package/lib/clients/mp-web/intl/getPaymentCode.d.ts +3 -0
  56. package/lib/clients/mp-web/intl/getPaymentCode.js +7 -0
  57. package/lib/clients/mp-web/intl/getPhoneNumber.d.ts +3 -0
  58. package/lib/clients/mp-web/intl/getPhoneNumber.js +7 -0
  59. package/lib/clients/mp-web/intl/getServerTime.d.ts +3 -0
  60. package/lib/clients/mp-web/intl/getServerTime.js +7 -0
  61. package/lib/clients/mp-web/intl/getSetting.d.ts +3 -0
  62. package/lib/clients/mp-web/intl/getSetting.js +7 -0
  63. package/lib/clients/mp-web/intl/getSiteInfo.d.ts +3 -0
  64. package/lib/clients/mp-web/intl/getSiteInfo.js +7 -0
  65. package/lib/clients/mp-web/intl/index.d.ts +147 -0
  66. package/lib/clients/mp-web/intl/index.js +138 -0
  67. package/lib/clients/mp-web/intl/inquireQuote.d.ts +3 -0
  68. package/lib/clients/mp-web/intl/inquireQuote.js +7 -0
  69. package/lib/clients/mp-web/intl/isInstalledApp.d.ts +3 -0
  70. package/lib/clients/mp-web/intl/isInstalledApp.js +7 -0
  71. package/lib/clients/mp-web/intl/navigateToBizScene.d.ts +3 -0
  72. package/lib/clients/mp-web/intl/navigateToBizScene.js +7 -0
  73. package/lib/clients/mp-web/intl/openSchemeWithBacking.d.ts +3 -0
  74. package/lib/clients/mp-web/intl/openSchemeWithBacking.js +7 -0
  75. package/lib/clients/mp-web/intl/paySignCenter.d.ts +3 -0
  76. package/lib/clients/mp-web/intl/paySignCenter.js +7 -0
  77. package/lib/clients/mp-web/intl/regionFetchAllApps.d.ts +3 -0
  78. package/lib/clients/mp-web/intl/regionFetchAllApps.js +7 -0
  79. package/lib/clients/mp-web/intl/regionSearchAppsByKeywords.d.ts +3 -0
  80. package/lib/clients/mp-web/intl/regionSearchAppsByKeywords.js +7 -0
  81. package/lib/clients/mp-web/intl/rpc.d.ts +3 -0
  82. package/lib/clients/mp-web/intl/rpc.js +7 -0
  83. package/lib/clients/mp-web/intl/signContract.d.ts +3 -0
  84. package/lib/clients/mp-web/intl/signContract.js +7 -0
  85. package/lib/clients/mp-web/intl/startApp.d.ts +3 -0
  86. package/lib/clients/mp-web/intl/startApp.js +7 -0
  87. package/lib/clients/mp-web/intl/startBizService.d.ts +3 -0
  88. package/lib/clients/mp-web/intl/startBizService.js +7 -0
  89. package/lib/clients/mp-web/intl/thirdPartyAuthForAc.d.ts +3 -0
  90. package/lib/clients/mp-web/intl/thirdPartyAuthForAc.js +7 -0
  91. package/lib/clients/mp-web/intl/uploadApdidToken.d.ts +3 -0
  92. package/lib/clients/mp-web/intl/uploadApdidToken.js +7 -0
  93. package/lib/clients/web/cn/index.d.ts +221 -0
  94. package/lib/clients/web/cn/index.js +208 -0
  95. package/lib/clients/web/intl/getSiteInfo.d.ts +3 -0
  96. package/lib/clients/web/intl/getSiteInfo.js +51 -0
  97. package/lib/clients/web/intl/index.d.ts +225 -0
  98. package/lib/clients/web/intl/index.js +210 -0
  99. package/lib/common/constants.d.ts +4 -0
  100. package/lib/common/constants.js +6 -0
  101. package/lib/common/mp/alert.d.ts +3 -0
  102. package/lib/common/mp/alert.js +7 -0
  103. package/lib/common/mp/clearStorage.d.ts +3 -0
  104. package/lib/common/mp/clearStorage.js +7 -0
  105. package/lib/common/mp/clearStorageSync.d.ts +3 -0
  106. package/lib/common/mp/clearStorageSync.js +7 -0
  107. package/lib/common/mp/confirm.d.ts +3 -0
  108. package/lib/common/mp/confirm.js +7 -0
  109. package/lib/common/mp/createAnimation.d.ts +3 -0
  110. package/lib/common/mp/createAnimation.js +7 -0
  111. package/lib/common/mp/createWebViewContext.d.ts +3 -0
  112. package/lib/common/mp/createWebViewContext.js +7 -0
  113. package/lib/common/mp/getClipboard.d.ts +3 -0
  114. package/lib/common/mp/getClipboard.js +7 -0
  115. package/lib/common/mp/getLocation.d.ts +3 -0
  116. package/lib/common/mp/getLocation.js +7 -0
  117. package/lib/common/mp/getNetworkType.d.ts +3 -0
  118. package/lib/common/mp/getNetworkType.js +7 -0
  119. package/lib/common/mp/getStorage.d.ts +3 -0
  120. package/lib/common/mp/getStorage.js +7 -0
  121. package/lib/common/mp/getStorageSync.d.ts +3 -0
  122. package/lib/common/mp/getStorageSync.js +7 -0
  123. package/lib/common/mp/getSystemInfo.d.ts +3 -0
  124. package/lib/common/mp/getSystemInfo.js +7 -0
  125. package/lib/common/mp/hideBackHome.d.ts +3 -0
  126. package/lib/common/mp/hideBackHome.js +7 -0
  127. package/lib/common/mp/hideKeyboard.d.ts +3 -0
  128. package/lib/common/mp/hideKeyboard.js +7 -0
  129. package/lib/common/mp/hideLoading.d.ts +3 -0
  130. package/lib/common/mp/hideLoading.js +7 -0
  131. package/lib/common/mp/hideTabBar.d.ts +3 -0
  132. package/lib/common/mp/hideTabBar.js +7 -0
  133. package/lib/common/mp/hideToast.d.ts +3 -0
  134. package/lib/common/mp/hideToast.js +7 -0
  135. package/lib/common/mp/navigateBack.d.ts +3 -0
  136. package/lib/common/mp/navigateBack.js +7 -0
  137. package/lib/common/mp/navigateTo.d.ts +3 -0
  138. package/lib/common/mp/navigateTo.js +7 -0
  139. package/lib/common/mp/offMemoryWarning.d.ts +3 -0
  140. package/lib/common/mp/offMemoryWarning.js +7 -0
  141. package/lib/common/mp/onMemoryWarning.d.ts +3 -0
  142. package/lib/common/mp/onMemoryWarning.js +7 -0
  143. package/lib/common/mp/pageScrollTo.d.ts +3 -0
  144. package/lib/common/mp/pageScrollTo.js +7 -0
  145. package/lib/common/mp/prompt.d.ts +3 -0
  146. package/lib/common/mp/prompt.js +7 -0
  147. package/lib/common/mp/reLaunch.d.ts +3 -0
  148. package/lib/common/mp/reLaunch.js +7 -0
  149. package/lib/common/mp/redirectTo.d.ts +3 -0
  150. package/lib/common/mp/redirectTo.js +7 -0
  151. package/lib/common/mp/removeStorage.d.ts +3 -0
  152. package/lib/common/mp/removeStorage.js +7 -0
  153. package/lib/common/mp/removeStorageSync.d.ts +3 -0
  154. package/lib/common/mp/removeStorageSync.js +7 -0
  155. package/lib/common/mp/request.d.ts +3 -0
  156. package/lib/common/mp/request.js +7 -0
  157. package/lib/common/mp/scan.d.ts +3 -0
  158. package/lib/common/mp/scan.js +7 -0
  159. package/lib/common/mp/setBackgroundColor.d.ts +3 -0
  160. package/lib/common/mp/setBackgroundColor.js +7 -0
  161. package/lib/common/mp/setCanPullDown.d.ts +3 -0
  162. package/lib/common/mp/setCanPullDown.js +7 -0
  163. package/lib/common/mp/setClipboard.d.ts +3 -0
  164. package/lib/common/mp/setClipboard.js +7 -0
  165. package/lib/common/mp/setNavigationBar.d.ts +3 -0
  166. package/lib/common/mp/setNavigationBar.js +7 -0
  167. package/lib/common/mp/setStorage.d.ts +3 -0
  168. package/lib/common/mp/setStorage.js +7 -0
  169. package/lib/common/mp/setStorageSync.d.ts +3 -0
  170. package/lib/common/mp/setStorageSync.js +7 -0
  171. package/lib/common/mp/setTabBarStyle.d.ts +3 -0
  172. package/lib/common/mp/setTabBarStyle.js +7 -0
  173. package/lib/common/mp/showActionSheet.d.ts +3 -0
  174. package/lib/common/mp/showActionSheet.js +7 -0
  175. package/lib/common/mp/showAuthGuide.d.ts +3 -0
  176. package/lib/common/mp/showAuthGuide.js +7 -0
  177. package/lib/common/mp/showLoading.d.ts +3 -0
  178. package/lib/common/mp/showLoading.js +7 -0
  179. package/lib/common/mp/showToast.d.ts +3 -0
  180. package/lib/common/mp/showToast.js +7 -0
  181. package/lib/common/mp/startPullDownRefresh.d.ts +3 -0
  182. package/lib/common/mp/startPullDownRefresh.js +7 -0
  183. package/lib/common/mp/stopPullDownRefresh.d.ts +3 -0
  184. package/lib/common/mp/stopPullDownRefresh.js +7 -0
  185. package/lib/common/mp/switchTab.d.ts +3 -0
  186. package/lib/common/mp/switchTab.js +7 -0
  187. package/lib/common/mp-web/alert.d.ts +3 -0
  188. package/lib/common/mp-web/alert.js +9 -0
  189. package/lib/common/mp-web/chooseImage.d.ts +3 -0
  190. package/lib/common/mp-web/chooseImage.js +9 -0
  191. package/lib/common/mp-web/clearStorage.d.ts +3 -0
  192. package/lib/common/mp-web/clearStorage.js +9 -0
  193. package/lib/common/mp-web/confirm.d.ts +3 -0
  194. package/lib/common/mp-web/confirm.js +9 -0
  195. package/lib/common/mp-web/getAuthCode.d.ts +3 -0
  196. package/lib/common/mp-web/getAuthCode.js +9 -0
  197. package/lib/common/mp-web/getClipboard.d.ts +3 -0
  198. package/lib/common/mp-web/getClipboard.js +9 -0
  199. package/lib/common/mp-web/getImageInfo.d.ts +3 -0
  200. package/lib/common/mp-web/getImageInfo.js +9 -0
  201. package/lib/common/mp-web/getLocation.d.ts +3 -0
  202. package/lib/common/mp-web/getLocation.js +9 -0
  203. package/lib/common/mp-web/getNetworkType.d.ts +3 -0
  204. package/lib/common/mp-web/getNetworkType.js +9 -0
  205. package/lib/common/mp-web/getPhoneNumber.d.ts +3 -0
  206. package/lib/common/mp-web/getPhoneNumber.js +9 -0
  207. package/lib/common/mp-web/getStorage.d.ts +3 -0
  208. package/lib/common/mp-web/getStorage.js +9 -0
  209. package/lib/common/mp-web/getSystemInfo.d.ts +3 -0
  210. package/lib/common/mp-web/getSystemInfo.js +9 -0
  211. package/lib/common/mp-web/hideKeyboard.d.ts +3 -0
  212. package/lib/common/mp-web/hideKeyboard.js +9 -0
  213. package/lib/common/mp-web/hideLoading.d.ts +3 -0
  214. package/lib/common/mp-web/hideLoading.js +9 -0
  215. package/lib/common/mp-web/hideNavigationBarLoading.d.ts +3 -0
  216. package/lib/common/mp-web/hideNavigationBarLoading.js +9 -0
  217. package/lib/common/mp-web/hideToast.d.ts +3 -0
  218. package/lib/common/mp-web/hideToast.js +9 -0
  219. package/lib/common/mp-web/makePhoneCall.d.ts +3 -0
  220. package/lib/common/mp-web/makePhoneCall.js +9 -0
  221. package/lib/common/mp-web/multiLevelSelect.d.ts +3 -0
  222. package/lib/common/mp-web/multiLevelSelect.js +9 -0
  223. package/lib/common/mp-web/navigateBack.d.ts +3 -0
  224. package/lib/common/mp-web/navigateBack.js +9 -0
  225. package/lib/common/mp-web/navigateBackMiniProgram.d.ts +3 -0
  226. package/lib/common/mp-web/navigateBackMiniProgram.js +9 -0
  227. package/lib/common/mp-web/navigateTo.d.ts +3 -0
  228. package/lib/common/mp-web/navigateTo.js +9 -0
  229. package/lib/common/mp-web/navigateToMiniProgram.d.ts +3 -0
  230. package/lib/common/mp-web/navigateToMiniProgram.js +9 -0
  231. package/lib/common/mp-web/previewImage.d.ts +3 -0
  232. package/lib/common/mp-web/previewImage.js +9 -0
  233. package/lib/common/mp-web/prompt.d.ts +3 -0
  234. package/lib/common/mp-web/prompt.js +9 -0
  235. package/lib/common/mp-web/reLaunch.d.ts +3 -0
  236. package/lib/common/mp-web/reLaunch.js +9 -0
  237. package/lib/common/mp-web/redirectTo.d.ts +3 -0
  238. package/lib/common/mp-web/redirectTo.js +9 -0
  239. package/lib/common/mp-web/removeStorage.d.ts +3 -0
  240. package/lib/common/mp-web/removeStorage.js +9 -0
  241. package/lib/common/mp-web/request.d.ts +3 -0
  242. package/lib/common/mp-web/request.js +9 -0
  243. package/lib/common/mp-web/saveImage.d.ts +3 -0
  244. package/lib/common/mp-web/saveImage.js +9 -0
  245. package/lib/common/mp-web/scan.d.ts +3 -0
  246. package/lib/common/mp-web/scan.js +9 -0
  247. package/lib/common/mp-web/setClipboard.d.ts +3 -0
  248. package/lib/common/mp-web/setClipboard.js +9 -0
  249. package/lib/common/mp-web/setNavigationBar.d.ts +3 -0
  250. package/lib/common/mp-web/setNavigationBar.js +9 -0
  251. package/lib/common/mp-web/setOptionMenu.d.ts +3 -0
  252. package/lib/common/mp-web/setOptionMenu.js +9 -0
  253. package/lib/common/mp-web/setStorage.d.ts +3 -0
  254. package/lib/common/mp-web/setStorage.js +9 -0
  255. package/lib/common/mp-web/showAuthGuide.d.ts +3 -0
  256. package/lib/common/mp-web/showAuthGuide.js +9 -0
  257. package/lib/common/mp-web/showLoading.d.ts +3 -0
  258. package/lib/common/mp-web/showLoading.js +9 -0
  259. package/lib/common/mp-web/showNavigationBarLoading.d.ts +3 -0
  260. package/lib/common/mp-web/showNavigationBarLoading.js +9 -0
  261. package/lib/common/mp-web/showToast.d.ts +3 -0
  262. package/lib/common/mp-web/showToast.js +9 -0
  263. package/lib/common/mp-web/tradePay.d.ts +3 -0
  264. package/lib/common/mp-web/tradePay.js +9 -0
  265. package/lib/common/mp-web/vibrate.d.ts +3 -0
  266. package/lib/common/mp-web/vibrate.js +9 -0
  267. package/lib/common/mp-web-call.d.ts +4 -0
  268. package/lib/common/mp-web-call.js +50 -0
  269. package/lib/common/notImplemented.d.ts +2 -0
  270. package/lib/common/notImplemented.js +5 -0
  271. package/lib/common/utils.d.ts +16 -0
  272. package/lib/common/utils.js +104 -0
  273. package/lib/common/web/addPhoneContact.d.ts +3 -0
  274. package/lib/common/web/addPhoneContact.js +51 -0
  275. package/lib/common/web/alert.d.ts +3 -0
  276. package/lib/common/web/alert.js +54 -0
  277. package/lib/common/web/chooseImage.d.ts +3 -0
  278. package/lib/common/web/chooseImage.js +51 -0
  279. package/lib/common/web/clearStorage.d.ts +3 -0
  280. package/lib/common/web/clearStorage.js +49 -0
  281. package/lib/common/web/closeBluetoothAdapter.d.ts +3 -0
  282. package/lib/common/web/closeBluetoothAdapter.js +51 -0
  283. package/lib/common/web/closeSocket.d.ts +3 -0
  284. package/lib/common/web/closeSocket.js +51 -0
  285. package/lib/common/web/confirm.d.ts +3 -0
  286. package/lib/common/web/confirm.js +61 -0
  287. package/lib/common/web/connectBLEDevice.d.ts +3 -0
  288. package/lib/common/web/connectBLEDevice.js +51 -0
  289. package/lib/common/web/connectSocket.d.ts +3 -0
  290. package/lib/common/web/connectSocket.js +51 -0
  291. package/lib/common/web/datePicker.d.ts +3 -0
  292. package/lib/common/web/datePicker.js +59 -0
  293. package/lib/common/web/disconnectBLEDevice.d.ts +3 -0
  294. package/lib/common/web/disconnectBLEDevice.js +51 -0
  295. package/lib/common/web/downloadFile.d.ts +3 -0
  296. package/lib/common/web/downloadFile.js +68 -0
  297. package/lib/common/web/getAuthCode.d.ts +3 -0
  298. package/lib/common/web/getAuthCode.js +51 -0
  299. package/lib/common/web/getBLEDeviceCharacteristics.d.ts +3 -0
  300. package/lib/common/web/getBLEDeviceCharacteristics.js +51 -0
  301. package/lib/common/web/getBLEDeviceServices.d.ts +3 -0
  302. package/lib/common/web/getBLEDeviceServices.js +51 -0
  303. package/lib/common/web/getBatteryInfo.d.ts +3 -0
  304. package/lib/common/web/getBatteryInfo.js +51 -0
  305. package/lib/common/web/getBluetoothAdapterState.d.ts +3 -0
  306. package/lib/common/web/getBluetoothAdapterState.js +51 -0
  307. package/lib/common/web/getBluetoothDevices.d.ts +3 -0
  308. package/lib/common/web/getBluetoothDevices.js +51 -0
  309. package/lib/common/web/getClipboard.d.ts +3 -0
  310. package/lib/common/web/getClipboard.js +51 -0
  311. package/lib/common/web/getConnectedBluetoothDevices.d.ts +3 -0
  312. package/lib/common/web/getConnectedBluetoothDevices.js +51 -0
  313. package/lib/common/web/getFileInfo.d.ts +3 -0
  314. package/lib/common/web/getFileInfo.js +51 -0
  315. package/lib/common/web/getImageInfo.d.ts +3 -0
  316. package/lib/common/web/getImageInfo.js +51 -0
  317. package/lib/common/web/getLocation.d.ts +3 -0
  318. package/lib/common/web/getLocation.js +53 -0
  319. package/lib/common/web/getNetworkType.d.ts +3 -0
  320. package/lib/common/web/getNetworkType.js +39 -0
  321. package/lib/common/web/getPhoneNumber.d.ts +3 -0
  322. package/lib/common/web/getPhoneNumber.js +51 -0
  323. package/lib/common/web/getSavedFileInfo.d.ts +3 -0
  324. package/lib/common/web/getSavedFileInfo.js +51 -0
  325. package/lib/common/web/getSavedFileList.d.ts +3 -0
  326. package/lib/common/web/getSavedFileList.js +51 -0
  327. package/lib/common/web/getScreenBrightness.d.ts +3 -0
  328. package/lib/common/web/getScreenBrightness.js +51 -0
  329. package/lib/common/web/getServerTime.d.ts +3 -0
  330. package/lib/common/web/getServerTime.js +51 -0
  331. package/lib/common/web/getSetting.d.ts +3 -0
  332. package/lib/common/web/getSetting.js +51 -0
  333. package/lib/common/web/getStorage.d.ts +3 -0
  334. package/lib/common/web/getStorage.js +53 -0
  335. package/lib/common/web/getSystemInfo.d.ts +3 -0
  336. package/lib/common/web/getSystemInfo.js +19 -0
  337. package/lib/common/web/hideKeyboard.d.ts +3 -0
  338. package/lib/common/web/hideKeyboard.js +7 -0
  339. package/lib/common/web/hideLoading.d.ts +3 -0
  340. package/lib/common/web/hideLoading.js +7 -0
  341. package/lib/common/web/hideNavigationBarLoading.d.ts +3 -0
  342. package/lib/common/web/hideNavigationBarLoading.js +7 -0
  343. package/lib/common/web/hideToast.d.ts +3 -0
  344. package/lib/common/web/hideToast.js +51 -0
  345. package/lib/common/web/multiLevelSelect.d.ts +3 -0
  346. package/lib/common/web/multiLevelSelect.js +51 -0
  347. package/lib/common/web/navigateBack.d.ts +3 -0
  348. package/lib/common/web/navigateBack.js +53 -0
  349. package/lib/common/web/navigateBackMiniProgram.d.ts +3 -0
  350. package/lib/common/web/navigateBackMiniProgram.js +51 -0
  351. package/lib/common/web/navigateTo.d.ts +3 -0
  352. package/lib/common/web/navigateTo.js +49 -0
  353. package/lib/common/web/navigateToMiniProgram.d.ts +3 -0
  354. package/lib/common/web/navigateToMiniProgram.js +51 -0
  355. package/lib/common/web/notifyBLECharacteristicValueChange.d.ts +3 -0
  356. package/lib/common/web/notifyBLECharacteristicValueChange.js +51 -0
  357. package/lib/common/web/offAccelerometerChange.d.ts +3 -0
  358. package/lib/common/web/offAccelerometerChange.js +51 -0
  359. package/lib/common/web/offBLECharacteristicValueChange.d.ts +3 -0
  360. package/lib/common/web/offBLECharacteristicValueChange.js +51 -0
  361. package/lib/common/web/offBLEConnectionStateChanged.d.ts +3 -0
  362. package/lib/common/web/offBLEConnectionStateChanged.js +51 -0
  363. package/lib/common/web/offBluetoothAdapterStateChange.d.ts +3 -0
  364. package/lib/common/web/offBluetoothAdapterStateChange.js +51 -0
  365. package/lib/common/web/offBluetoothDeviceFound.d.ts +3 -0
  366. package/lib/common/web/offBluetoothDeviceFound.js +51 -0
  367. package/lib/common/web/offCompassChange.d.ts +3 -0
  368. package/lib/common/web/offCompassChange.js +51 -0
  369. package/lib/common/web/offSocketClose.d.ts +3 -0
  370. package/lib/common/web/offSocketClose.js +51 -0
  371. package/lib/common/web/offSocketError.d.ts +3 -0
  372. package/lib/common/web/offSocketError.js +51 -0
  373. package/lib/common/web/offSocketMessage.d.ts +3 -0
  374. package/lib/common/web/offSocketMessage.js +51 -0
  375. package/lib/common/web/offSocketOpen.d.ts +3 -0
  376. package/lib/common/web/offSocketOpen.js +51 -0
  377. package/lib/common/web/offUserCaptureScreen.d.ts +3 -0
  378. package/lib/common/web/offUserCaptureScreen.js +51 -0
  379. package/lib/common/web/onAccelerometerChange.d.ts +3 -0
  380. package/lib/common/web/onAccelerometerChange.js +51 -0
  381. package/lib/common/web/onBLECharacteristicValueChange.d.ts +3 -0
  382. package/lib/common/web/onBLECharacteristicValueChange.js +51 -0
  383. package/lib/common/web/onBLEConnectionStateChanged.d.ts +3 -0
  384. package/lib/common/web/onBLEConnectionStateChanged.js +51 -0
  385. package/lib/common/web/onBluetoothAdapterStateChange.d.ts +3 -0
  386. package/lib/common/web/onBluetoothAdapterStateChange.js +51 -0
  387. package/lib/common/web/onBluetoothDeviceFound.d.ts +3 -0
  388. package/lib/common/web/onBluetoothDeviceFound.js +51 -0
  389. package/lib/common/web/onCompassChange.d.ts +3 -0
  390. package/lib/common/web/onCompassChange.js +51 -0
  391. package/lib/common/web/onSocketClose.d.ts +3 -0
  392. package/lib/common/web/onSocketClose.js +51 -0
  393. package/lib/common/web/onSocketError.d.ts +3 -0
  394. package/lib/common/web/onSocketError.js +51 -0
  395. package/lib/common/web/onSocketMessage.d.ts +3 -0
  396. package/lib/common/web/onSocketMessage.js +51 -0
  397. package/lib/common/web/onSocketOpen.d.ts +3 -0
  398. package/lib/common/web/onSocketOpen.js +51 -0
  399. package/lib/common/web/onUserCaptureScreen.d.ts +3 -0
  400. package/lib/common/web/onUserCaptureScreen.js +51 -0
  401. package/lib/common/web/openBluetoothAdapter.d.ts +3 -0
  402. package/lib/common/web/openBluetoothAdapter.js +51 -0
  403. package/lib/common/web/openDocument.d.ts +3 -0
  404. package/lib/common/web/openDocument.js +51 -0
  405. package/lib/common/web/openSetting.d.ts +3 -0
  406. package/lib/common/web/openSetting.js +51 -0
  407. package/lib/common/web/previewImage.d.ts +3 -0
  408. package/lib/common/web/previewImage.js +51 -0
  409. package/lib/common/web/reLaunch.d.ts +3 -0
  410. package/lib/common/web/reLaunch.js +49 -0
  411. package/lib/common/web/readBLECharacteristicValue.d.ts +3 -0
  412. package/lib/common/web/readBLECharacteristicValue.js +51 -0
  413. package/lib/common/web/redirectTo.d.ts +3 -0
  414. package/lib/common/web/redirectTo.js +18 -0
  415. package/lib/common/web/removeSavedFile.d.ts +3 -0
  416. package/lib/common/web/removeSavedFile.js +51 -0
  417. package/lib/common/web/removeStorage.d.ts +3 -0
  418. package/lib/common/web/removeStorage.js +49 -0
  419. package/lib/common/web/request.d.ts +3 -0
  420. package/lib/common/web/request.js +94 -0
  421. package/lib/common/web/saveFile.d.ts +3 -0
  422. package/lib/common/web/saveFile.js +52 -0
  423. package/lib/common/web/saveImage.d.ts +3 -0
  424. package/lib/common/web/saveImage.js +51 -0
  425. package/lib/common/web/scan.d.ts +3 -0
  426. package/lib/common/web/scan.js +51 -0
  427. package/lib/common/web/sendSocketMessage.d.ts +3 -0
  428. package/lib/common/web/sendSocketMessage.js +51 -0
  429. package/lib/common/web/setBackgroundColor.d.ts +3 -0
  430. package/lib/common/web/setBackgroundColor.js +51 -0
  431. package/lib/common/web/setCanPullDown.d.ts +3 -0
  432. package/lib/common/web/setCanPullDown.js +51 -0
  433. package/lib/common/web/setClipboard.d.ts +3 -0
  434. package/lib/common/web/setClipboard.js +51 -0
  435. package/lib/common/web/setKeepScreenOn.d.ts +3 -0
  436. package/lib/common/web/setKeepScreenOn.js +51 -0
  437. package/lib/common/web/setNavigationBar.d.ts +3 -0
  438. package/lib/common/web/setNavigationBar.js +79 -0
  439. package/lib/common/web/setOptionMenu.d.ts +3 -0
  440. package/lib/common/web/setOptionMenu.js +51 -0
  441. package/lib/common/web/setScreenBrightness.d.ts +3 -0
  442. package/lib/common/web/setScreenBrightness.js +51 -0
  443. package/lib/common/web/setStorage.d.ts +3 -0
  444. package/lib/common/web/setStorage.js +52 -0
  445. package/lib/common/web/setTabBarStyle.d.ts +3 -0
  446. package/lib/common/web/setTabBarStyle.js +51 -0
  447. package/lib/common/web/showActionSheet.d.ts +3 -0
  448. package/lib/common/web/showActionSheet.js +54 -0
  449. package/lib/common/web/showAuthGuide.d.ts +3 -0
  450. package/lib/common/web/showAuthGuide.js +51 -0
  451. package/lib/common/web/showLoading.d.ts +3 -0
  452. package/lib/common/web/showLoading.js +51 -0
  453. package/lib/common/web/showNavigationBarLoading.d.ts +3 -0
  454. package/lib/common/web/showNavigationBarLoading.js +7 -0
  455. package/lib/common/web/showToast.d.ts +3 -0
  456. package/lib/common/web/showToast.js +53 -0
  457. package/lib/common/web/signContract.d.ts +3 -0
  458. package/lib/common/web/signContract.js +51 -0
  459. package/lib/common/web/startBluetoothDevicesDiscovery.d.ts +3 -0
  460. package/lib/common/web/startBluetoothDevicesDiscovery.js +51 -0
  461. package/lib/common/web/startPullDownRefresh.d.ts +3 -0
  462. package/lib/common/web/startPullDownRefresh.js +7 -0
  463. package/lib/common/web/stopBluetoothDevicesDiscovery.d.ts +3 -0
  464. package/lib/common/web/stopBluetoothDevicesDiscovery.js +51 -0
  465. package/lib/common/web/stopPullDownRefresh.d.ts +3 -0
  466. package/lib/common/web/stopPullDownRefresh.js +7 -0
  467. package/lib/common/web/switchTab.d.ts +3 -0
  468. package/lib/common/web/switchTab.js +51 -0
  469. package/lib/common/web/uploadFile.d.ts +3 -0
  470. package/lib/common/web/uploadFile.js +54 -0
  471. package/lib/common/web/vibrate.d.ts +3 -0
  472. package/lib/common/web/vibrate.js +51 -0
  473. package/lib/common/web/watchShake.d.ts +3 -0
  474. package/lib/common/web/watchShake.js +51 -0
  475. package/lib/common/web/writeBLECharacteristicValue.d.ts +3 -0
  476. package/lib/common/web/writeBLECharacteristicValue.js +51 -0
  477. package/lib/common/web-call.d.ts +4 -0
  478. package/lib/common/web-call.js +20 -0
  479. package/lib/common/webview-bridge.d.ts +6 -0
  480. package/lib/common/webview-bridge.js +231 -0
  481. package/lib/index.d.ts +4 -0
  482. package/lib/index.js +4 -0
  483. package/lib/types/common.d.ts +4 -0
  484. package/lib/types/common.js +1 -0
  485. package/lib/types/index.d.ts +3 -0
  486. package/lib/types/index.js +3 -0
  487. package/lib/types/jsapi.d.ts +248 -0
  488. package/lib/types/jsapi.js +1 -0
  489. package/lib/types/mp.d.ts +123 -0
  490. package/lib/types/mp.js +1 -0
  491. package/lib/umd/0.0.1/index.js +1 -0
  492. package/package.json +29 -0
@@ -0,0 +1,225 @@
1
+ /// <reference types="miniprogram" />
2
+ import addPhoneContact from '../../../common/web/addPhoneContact';
3
+ import alert from '../../../common/web/alert';
4
+ import chooseImage from '../../../common/web/chooseImage';
5
+ import clearStorage from '../../../common/web/clearStorage';
6
+ import closeBluetoothAdapter from '../../../common/web/closeBluetoothAdapter';
7
+ import closeSocket from '../../../common/web/closeSocket';
8
+ import confirm from '../../../common/web/confirm';
9
+ import connectBLEDevice from '../../../common/web/connectBLEDevice';
10
+ import connectSocket from '../../../common/web/connectSocket';
11
+ import datePicker from '../../../common/web/datePicker';
12
+ import disconnectBLEDevice from '../../../common/web/disconnectBLEDevice';
13
+ import downloadFile from '../../../common/web/downloadFile';
14
+ import getAuthCode from '../../../common/web/getAuthCode';
15
+ import getBatteryInfo from '../../../common/web/getBatteryInfo';
16
+ import getBLEDeviceCharacteristics from '../../../common/web/getBLEDeviceCharacteristics';
17
+ import getBLEDeviceServices from '../../../common/web/getBLEDeviceServices';
18
+ import getBluetoothAdapterState from '../../../common/web/getBluetoothAdapterState';
19
+ import getBluetoothDevices from '../../../common/web/getBluetoothDevices';
20
+ import getClipboard from '../../../common/web/getClipboard';
21
+ import getConnectedBluetoothDevices from '../../../common/web/getConnectedBluetoothDevices';
22
+ import getImageInfo from '../../../common/web/getImageInfo';
23
+ import getLocation from '../../../common/web/getLocation';
24
+ import getNetworkType from '../../../common/web/getNetworkType';
25
+ import getPhoneNumber from '../../../common/web/getPhoneNumber';
26
+ import getSavedFileInfo from '../../../common/web/getSavedFileInfo';
27
+ import getSavedFileList from '../../../common/web/getSavedFileList';
28
+ import getServerTime from '../../../common/web/getServerTime';
29
+ import getSetting from '../../../common/web/getSetting';
30
+ import getSiteInfo from './getSiteInfo';
31
+ import getStorage from '../../../common/web/getStorage';
32
+ import getSystemInfo from '../../../common/web/getSystemInfo';
33
+ import hideKeyboard from '../../../common/web/hideKeyboard';
34
+ import hideLoading from '../../../common/web/hideLoading';
35
+ import hideNavigationBarLoading from '../../../common/web/hideNavigationBarLoading';
36
+ import hideToast from '../../../common/web/hideToast';
37
+ import multiLevelSelect from '../../../common/web/multiLevelSelect';
38
+ import navigateBack from '../../../common/web/navigateBack';
39
+ import navigateBackMiniProgram from '../../../common/web/navigateBackMiniProgram';
40
+ import navigateTo from '../../../common/web/navigateTo';
41
+ import navigateToMiniProgram from '../../../common/web/navigateToMiniProgram';
42
+ import notifyBLECharacteristicValueChange from '../../../common/web/notifyBLECharacteristicValueChange';
43
+ import offAccelerometerChange from '../../../common/web/offAccelerometerChange';
44
+ import offBLECharacteristicValueChange from '../../../common/web/offBLECharacteristicValueChange';
45
+ import offBLEConnectionStateChanged from '../../../common/web/offBLEConnectionStateChanged';
46
+ import offBluetoothAdapterStateChange from '../../../common/web/offBluetoothAdapterStateChange';
47
+ import offBluetoothDeviceFound from '../../../common/web/offBluetoothDeviceFound';
48
+ import offCompassChange from '../../../common/web/offCompassChange';
49
+ import offSocketClose from '../../../common/web/offSocketClose';
50
+ import offSocketError from '../../../common/web/offSocketError';
51
+ import offSocketMessage from '../../../common/web/offSocketMessage';
52
+ import offSocketOpen from '../../../common/web/offSocketOpen';
53
+ import onAccelerometerChange from '../../../common/web/onAccelerometerChange';
54
+ import onBLECharacteristicValueChange from '../../../common/web/onBLECharacteristicValueChange';
55
+ import onBLEConnectionStateChanged from '../../../common/web/onBLEConnectionStateChanged';
56
+ import onBluetoothAdapterStateChange from '../../../common/web/onBluetoothAdapterStateChange';
57
+ import onBluetoothDeviceFound from '../../../common/web/onBluetoothDeviceFound';
58
+ import onCompassChange from '../../../common/web/onCompassChange';
59
+ import onSocketClose from '../../../common/web/onSocketClose';
60
+ import onSocketError from '../../../common/web/onSocketError';
61
+ import onSocketMessage from '../../../common/web/onSocketMessage';
62
+ import onSocketOpen from '../../../common/web/onSocketOpen';
63
+ import openBluetoothAdapter from '../../../common/web/openBluetoothAdapter';
64
+ import openSetting from '../../../common/web/openSetting';
65
+ import previewImage from '../../../common/web/previewImage';
66
+ import readBLECharacteristicValue from '../../../common/web/readBLECharacteristicValue';
67
+ import redirectTo from '../../../common/web/redirectTo';
68
+ import reLaunch from '../../../common/web/reLaunch';
69
+ import removeSavedFile from '../../../common/web/removeSavedFile';
70
+ import removeStorage from '../../../common/web/removeStorage';
71
+ import request from '../../../common/web/request';
72
+ import saveFile from '../../../common/web/saveFile';
73
+ import saveImage from '../../../common/web/saveImage';
74
+ import scan from '../../../common/web/scan';
75
+ import sendSocketMessage from '../../../common/web/sendSocketMessage';
76
+ import setBackgroundColor from '../../../common/web/setBackgroundColor';
77
+ import setCanPullDown from '../../../common/web/setCanPullDown';
78
+ import setClipboard from '../../../common/web/setClipboard';
79
+ import setNavigationBar from '../../../common/web/setNavigationBar';
80
+ import setOptionMenu from '../../../common/web/setOptionMenu';
81
+ import setStorage from '../../../common/web/setStorage';
82
+ import setTabBarStyle from '../../../common/web/setTabBarStyle';
83
+ import showActionSheet from '../../../common/web/showActionSheet';
84
+ import showAuthGuide from '../../../common/web/showAuthGuide';
85
+ import showLoading from '../../../common/web/showLoading';
86
+ import showNavigationBarLoading from '../../../common/web/showNavigationBarLoading';
87
+ import showToast from '../../../common/web/showToast';
88
+ import signContract from '../../../common/web/signContract';
89
+ import startBluetoothDevicesDiscovery from '../../../common/web/startBluetoothDevicesDiscovery';
90
+ import startPullDownRefresh from '../../../common/web/startPullDownRefresh';
91
+ import stopBluetoothDevicesDiscovery from '../../../common/web/stopBluetoothDevicesDiscovery';
92
+ import stopPullDownRefresh from '../../../common/web/stopPullDownRefresh';
93
+ import switchTab from '../../../common/web/switchTab';
94
+ import uploadFile from '../../../common/web/uploadFile';
95
+ import vibrate from '../../../common/web/vibrate';
96
+ import watchShake from '../../../common/web/watchShake';
97
+ import writeBLECharacteristicValue from '../../../common/web/writeBLECharacteristicValue';
98
+ import getFileInfo from '../../../common/web/getFileInfo';
99
+ import openDocument from '../../../common/web/openDocument';
100
+ import onUserCaptureScreen from '../../../common/web/onUserCaptureScreen';
101
+ import offUserCaptureScreen from '../../../common/web/offUserCaptureScreen';
102
+ import setKeepScreenOn from '../../../common/web/setKeepScreenOn';
103
+ import getScreenBrightness from '../../../common/web/getScreenBrightness';
104
+ import setScreenBrightness from '../../../common/web/setScreenBrightness';
105
+ export { addPhoneContact, alert, chooseImage, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getImageInfo, getLocation, getNetworkType, getPhoneNumber, getSavedFileInfo, getSavedFileList, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideKeyboard, hideLoading, hideNavigationBarLoading, hideToast, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, openBluetoothAdapter, openSetting, previewImage, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setNavigationBar, setOptionMenu, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getFileInfo, openDocument, onUserCaptureScreen, offUserCaptureScreen, setKeepScreenOn, getScreenBrightness, setScreenBrightness, };
106
+ declare const _default: {
107
+ addPhoneContact: (args: Partial<AddPhoneContactArgs>) => void;
108
+ alert: (args?: AlertArgs | undefined) => void;
109
+ chooseImage: (args: ChooseImageArgs) => void;
110
+ clearStorage: (args?: AsyncCallback<any> | undefined) => void;
111
+ closeBluetoothAdapter: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
112
+ closeSocket: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
113
+ confirm: (args: ConfirmArgs) => void;
114
+ connectBLEDevice: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
115
+ connectSocket: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
116
+ datePicker: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
117
+ disconnectBLEDevice: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
118
+ downloadFile: (args: DownloadFileArgs) => void;
119
+ getAuthCode: (args: GetAuthCodeArgs) => void;
120
+ getBatteryInfo: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
121
+ getBLEDeviceCharacteristics: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
122
+ getBLEDeviceServices: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
123
+ getBluetoothAdapterState: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
124
+ getBluetoothDevices: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
125
+ getClipboard: (args: GetClipboardArgs) => void;
126
+ getConnectedBluetoothDevices: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
127
+ getImageInfo: (args: GetImageInfo) => void;
128
+ getLocation: (args: GetLocationArgs) => void;
129
+ getNetworkType: (args: GetNetworkTypeArgs) => void;
130
+ getPhoneNumber: (args?: any) => void;
131
+ getSavedFileInfo: (args: GetSavedFileInfo) => void;
132
+ getSavedFileList: (args: GetSavedFileListArgs) => void;
133
+ getServerTime: (args: AsyncCallback<{
134
+ time: number;
135
+ }>) => void;
136
+ getSetting: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
137
+ getSiteInfo: (args: AsyncCallback<{
138
+ siteName: string;
139
+ }>) => void;
140
+ getStorage: (args: GetStorage) => void;
141
+ getSystemInfo: (args: GetSystemInfoArgs) => void;
142
+ hideKeyboard: () => void;
143
+ hideLoading: (args?: HideLoadingArgs | undefined) => void;
144
+ hideNavigationBarLoading: () => void;
145
+ hideToast: (args?: AsyncCallback<any> | undefined) => void;
146
+ multiLevelSelect: (args: MultiLevelSelectArgs) => void;
147
+ navigateBack: (args: NavigateBackArgs) => void;
148
+ navigateBackMiniProgram: (args: NavigateBackMiniProgramArgs) => void;
149
+ navigateTo: (args: NavigateToArgs) => void;
150
+ navigateToMiniProgram: (args: NavigateToMiniProgramArgs) => void;
151
+ notifyBLECharacteristicValueChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
152
+ offAccelerometerChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
153
+ offBLECharacteristicValueChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
154
+ offBLEConnectionStateChanged: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
155
+ offBluetoothAdapterStateChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
156
+ offBluetoothDeviceFound: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
157
+ offCompassChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
158
+ offSocketClose: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
159
+ offSocketError: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
160
+ offSocketMessage: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
161
+ offSocketOpen: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
162
+ onAccelerometerChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
163
+ onBLECharacteristicValueChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
164
+ onBLEConnectionStateChanged: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
165
+ onBluetoothAdapterStateChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
166
+ onBluetoothDeviceFound: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
167
+ onCompassChange: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
168
+ onSocketClose: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
169
+ onSocketError: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
170
+ onSocketMessage: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
171
+ onSocketOpen: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
172
+ openBluetoothAdapter: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
173
+ openSetting: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
174
+ previewImage: (args: PreviewImageArgs) => void;
175
+ readBLECharacteristicValue: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
176
+ redirectTo: (args: RedirectToArgs) => void;
177
+ reLaunch: (args: ReLaunchArgs) => void;
178
+ removeSavedFile: (args: RemoveSavedFileArgs) => void;
179
+ removeStorage: (args: RemoveStorageArgs) => void;
180
+ request: (args: RequestArgs) => void;
181
+ saveFile: (args: SaveFileArgs) => void;
182
+ saveImage: (args: SaveImageArgs) => void;
183
+ scan: (args: ScanArgs) => void;
184
+ sendSocketMessage: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
185
+ setBackgroundColor: (args: SetBackgroundColorArgs) => void;
186
+ setCanPullDown: (args: {
187
+ canPullDown: boolean;
188
+ }) => void;
189
+ setClipboard: (args: SetClipboardArgs) => void;
190
+ setNavigationBar: (args: SetNavigationBarArgs) => void;
191
+ setOptionMenu: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
192
+ setStorage: (args: SetStorage) => void;
193
+ setTabBarStyle: (opt: import("../../../types").TabBarStyle) => void;
194
+ showActionSheet: (opt: import("../../../types").ShowActionSheet) => void;
195
+ showAuthGuide: (args: ShowAuthGuideArgs) => void;
196
+ showLoading: (args?: ShowLoadingArgs | undefined) => void;
197
+ showNavigationBarLoading: () => void;
198
+ showToast: (args?: ShowToastArgs | undefined) => void;
199
+ signContract: (args: SignContract) => void;
200
+ startBluetoothDevicesDiscovery: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
201
+ startPullDownRefresh: () => void;
202
+ stopBluetoothDevicesDiscovery: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
203
+ stopPullDownRefresh: () => void;
204
+ switchTab: (args: SwitchTabArgs) => void;
205
+ uploadFile: (args: UploadFileArgs) => void;
206
+ vibrate: (args: AsyncCallback<void>) => void;
207
+ watchShake: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
208
+ writeBLECharacteristicValue: (args?: (import("../../../types").Common & AsyncCallback<any>) | undefined) => void;
209
+ getFileInfo: (args?: ({
210
+ apFilePath: string;
211
+ digestAlgorithm?: string | undefined;
212
+ } & AsyncCallback<any>) | undefined) => void;
213
+ openDocument: (args?: ({
214
+ filePath: string;
215
+ fileType: string;
216
+ } & AsyncCallback<any>) | undefined) => void;
217
+ onUserCaptureScreen: (args: () => void) => void;
218
+ offUserCaptureScreen: (args?: (() => void) | undefined) => void;
219
+ setKeepScreenOn: (args: SetKeepScreenOnArgs) => void;
220
+ getScreenBrightness: (args: AsyncCallback<{
221
+ brightness: number;
222
+ }>) => void;
223
+ setScreenBrightness: (args: SetScreenBrightnessArgs) => void;
224
+ };
225
+ export default _default;
@@ -0,0 +1,210 @@
1
+ // auto generated
2
+ import addPhoneContact from '../../../common/web/addPhoneContact';
3
+ import alert from '../../../common/web/alert';
4
+ import chooseImage from '../../../common/web/chooseImage';
5
+ import clearStorage from '../../../common/web/clearStorage';
6
+ import closeBluetoothAdapter from '../../../common/web/closeBluetoothAdapter';
7
+ import closeSocket from '../../../common/web/closeSocket';
8
+ import confirm from '../../../common/web/confirm';
9
+ import connectBLEDevice from '../../../common/web/connectBLEDevice';
10
+ import connectSocket from '../../../common/web/connectSocket';
11
+ import datePicker from '../../../common/web/datePicker';
12
+ import disconnectBLEDevice from '../../../common/web/disconnectBLEDevice';
13
+ import downloadFile from '../../../common/web/downloadFile';
14
+ import getAuthCode from '../../../common/web/getAuthCode';
15
+ import getBatteryInfo from '../../../common/web/getBatteryInfo';
16
+ import getBLEDeviceCharacteristics from '../../../common/web/getBLEDeviceCharacteristics';
17
+ import getBLEDeviceServices from '../../../common/web/getBLEDeviceServices';
18
+ import getBluetoothAdapterState from '../../../common/web/getBluetoothAdapterState';
19
+ import getBluetoothDevices from '../../../common/web/getBluetoothDevices';
20
+ import getClipboard from '../../../common/web/getClipboard';
21
+ import getConnectedBluetoothDevices from '../../../common/web/getConnectedBluetoothDevices';
22
+ import getImageInfo from '../../../common/web/getImageInfo';
23
+ import getLocation from '../../../common/web/getLocation';
24
+ import getNetworkType from '../../../common/web/getNetworkType';
25
+ import getPhoneNumber from '../../../common/web/getPhoneNumber';
26
+ import getSavedFileInfo from '../../../common/web/getSavedFileInfo';
27
+ import getSavedFileList from '../../../common/web/getSavedFileList';
28
+ import getServerTime from '../../../common/web/getServerTime';
29
+ import getSetting from '../../../common/web/getSetting';
30
+ import getSiteInfo from './getSiteInfo';
31
+ import getStorage from '../../../common/web/getStorage';
32
+ import getSystemInfo from '../../../common/web/getSystemInfo';
33
+ import hideKeyboard from '../../../common/web/hideKeyboard';
34
+ import hideLoading from '../../../common/web/hideLoading';
35
+ import hideNavigationBarLoading from '../../../common/web/hideNavigationBarLoading';
36
+ import hideToast from '../../../common/web/hideToast';
37
+ import multiLevelSelect from '../../../common/web/multiLevelSelect';
38
+ import navigateBack from '../../../common/web/navigateBack';
39
+ import navigateBackMiniProgram from '../../../common/web/navigateBackMiniProgram';
40
+ import navigateTo from '../../../common/web/navigateTo';
41
+ import navigateToMiniProgram from '../../../common/web/navigateToMiniProgram';
42
+ import notifyBLECharacteristicValueChange from '../../../common/web/notifyBLECharacteristicValueChange';
43
+ import offAccelerometerChange from '../../../common/web/offAccelerometerChange';
44
+ import offBLECharacteristicValueChange from '../../../common/web/offBLECharacteristicValueChange';
45
+ import offBLEConnectionStateChanged from '../../../common/web/offBLEConnectionStateChanged';
46
+ import offBluetoothAdapterStateChange from '../../../common/web/offBluetoothAdapterStateChange';
47
+ import offBluetoothDeviceFound from '../../../common/web/offBluetoothDeviceFound';
48
+ import offCompassChange from '../../../common/web/offCompassChange';
49
+ import offSocketClose from '../../../common/web/offSocketClose';
50
+ import offSocketError from '../../../common/web/offSocketError';
51
+ import offSocketMessage from '../../../common/web/offSocketMessage';
52
+ import offSocketOpen from '../../../common/web/offSocketOpen';
53
+ import onAccelerometerChange from '../../../common/web/onAccelerometerChange';
54
+ import onBLECharacteristicValueChange from '../../../common/web/onBLECharacteristicValueChange';
55
+ import onBLEConnectionStateChanged from '../../../common/web/onBLEConnectionStateChanged';
56
+ import onBluetoothAdapterStateChange from '../../../common/web/onBluetoothAdapterStateChange';
57
+ import onBluetoothDeviceFound from '../../../common/web/onBluetoothDeviceFound';
58
+ import onCompassChange from '../../../common/web/onCompassChange';
59
+ import onSocketClose from '../../../common/web/onSocketClose';
60
+ import onSocketError from '../../../common/web/onSocketError';
61
+ import onSocketMessage from '../../../common/web/onSocketMessage';
62
+ import onSocketOpen from '../../../common/web/onSocketOpen';
63
+ import openBluetoothAdapter from '../../../common/web/openBluetoothAdapter';
64
+ import openSetting from '../../../common/web/openSetting';
65
+ import previewImage from '../../../common/web/previewImage';
66
+ import readBLECharacteristicValue from '../../../common/web/readBLECharacteristicValue';
67
+ import redirectTo from '../../../common/web/redirectTo';
68
+ import reLaunch from '../../../common/web/reLaunch';
69
+ import removeSavedFile from '../../../common/web/removeSavedFile';
70
+ import removeStorage from '../../../common/web/removeStorage';
71
+ import request from '../../../common/web/request';
72
+ import saveFile from '../../../common/web/saveFile';
73
+ import saveImage from '../../../common/web/saveImage';
74
+ import scan from '../../../common/web/scan';
75
+ import sendSocketMessage from '../../../common/web/sendSocketMessage';
76
+ import setBackgroundColor from '../../../common/web/setBackgroundColor';
77
+ import setCanPullDown from '../../../common/web/setCanPullDown';
78
+ import setClipboard from '../../../common/web/setClipboard';
79
+ import setNavigationBar from '../../../common/web/setNavigationBar';
80
+ import setOptionMenu from '../../../common/web/setOptionMenu';
81
+ import setStorage from '../../../common/web/setStorage';
82
+ import setTabBarStyle from '../../../common/web/setTabBarStyle';
83
+ import showActionSheet from '../../../common/web/showActionSheet';
84
+ import showAuthGuide from '../../../common/web/showAuthGuide';
85
+ import showLoading from '../../../common/web/showLoading';
86
+ import showNavigationBarLoading from '../../../common/web/showNavigationBarLoading';
87
+ import showToast from '../../../common/web/showToast';
88
+ import signContract from '../../../common/web/signContract';
89
+ import startBluetoothDevicesDiscovery from '../../../common/web/startBluetoothDevicesDiscovery';
90
+ import startPullDownRefresh from '../../../common/web/startPullDownRefresh';
91
+ import stopBluetoothDevicesDiscovery from '../../../common/web/stopBluetoothDevicesDiscovery';
92
+ import stopPullDownRefresh from '../../../common/web/stopPullDownRefresh';
93
+ import switchTab from '../../../common/web/switchTab';
94
+ import uploadFile from '../../../common/web/uploadFile';
95
+ import vibrate from '../../../common/web/vibrate';
96
+ import watchShake from '../../../common/web/watchShake';
97
+ import writeBLECharacteristicValue from '../../../common/web/writeBLECharacteristicValue';
98
+ import getFileInfo from '../../../common/web/getFileInfo';
99
+ import openDocument from '../../../common/web/openDocument';
100
+ import onUserCaptureScreen from '../../../common/web/onUserCaptureScreen';
101
+ import offUserCaptureScreen from '../../../common/web/offUserCaptureScreen';
102
+ import setKeepScreenOn from '../../../common/web/setKeepScreenOn';
103
+ import getScreenBrightness from '../../../common/web/getScreenBrightness';
104
+ import setScreenBrightness from '../../../common/web/setScreenBrightness';
105
+ export { addPhoneContact, alert, chooseImage, clearStorage, closeBluetoothAdapter, closeSocket, confirm, connectBLEDevice, connectSocket, datePicker, disconnectBLEDevice, downloadFile, getAuthCode, getBatteryInfo, getBLEDeviceCharacteristics, getBLEDeviceServices, getBluetoothAdapterState, getBluetoothDevices, getClipboard, getConnectedBluetoothDevices, getImageInfo, getLocation, getNetworkType, getPhoneNumber, getSavedFileInfo, getSavedFileList, getServerTime, getSetting, getSiteInfo, getStorage, getSystemInfo, hideKeyboard, hideLoading, hideNavigationBarLoading, hideToast, multiLevelSelect, navigateBack, navigateBackMiniProgram, navigateTo, navigateToMiniProgram, notifyBLECharacteristicValueChange, offAccelerometerChange, offBLECharacteristicValueChange, offBLEConnectionStateChanged, offBluetoothAdapterStateChange, offBluetoothDeviceFound, offCompassChange, offSocketClose, offSocketError, offSocketMessage, offSocketOpen, onAccelerometerChange, onBLECharacteristicValueChange, onBLEConnectionStateChanged, onBluetoothAdapterStateChange, onBluetoothDeviceFound, onCompassChange, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, openBluetoothAdapter, openSetting, previewImage, readBLECharacteristicValue, redirectTo, reLaunch, removeSavedFile, removeStorage, request, saveFile, saveImage, scan, sendSocketMessage, setBackgroundColor, setCanPullDown, setClipboard, setNavigationBar, setOptionMenu, setStorage, setTabBarStyle, showActionSheet, showAuthGuide, showLoading, showNavigationBarLoading, showToast, signContract, startBluetoothDevicesDiscovery, startPullDownRefresh, stopBluetoothDevicesDiscovery, stopPullDownRefresh, switchTab, uploadFile, vibrate, watchShake, writeBLECharacteristicValue, getFileInfo, openDocument, onUserCaptureScreen, offUserCaptureScreen, setKeepScreenOn, getScreenBrightness, setScreenBrightness };
106
+ export default {
107
+ addPhoneContact: addPhoneContact,
108
+ alert: alert,
109
+ chooseImage: chooseImage,
110
+ clearStorage: clearStorage,
111
+ closeBluetoothAdapter: closeBluetoothAdapter,
112
+ closeSocket: closeSocket,
113
+ confirm: confirm,
114
+ connectBLEDevice: connectBLEDevice,
115
+ connectSocket: connectSocket,
116
+ datePicker: datePicker,
117
+ disconnectBLEDevice: disconnectBLEDevice,
118
+ downloadFile: downloadFile,
119
+ getAuthCode: getAuthCode,
120
+ getBatteryInfo: getBatteryInfo,
121
+ getBLEDeviceCharacteristics: getBLEDeviceCharacteristics,
122
+ getBLEDeviceServices: getBLEDeviceServices,
123
+ getBluetoothAdapterState: getBluetoothAdapterState,
124
+ getBluetoothDevices: getBluetoothDevices,
125
+ getClipboard: getClipboard,
126
+ getConnectedBluetoothDevices: getConnectedBluetoothDevices,
127
+ getImageInfo: getImageInfo,
128
+ getLocation: getLocation,
129
+ getNetworkType: getNetworkType,
130
+ getPhoneNumber: getPhoneNumber,
131
+ getSavedFileInfo: getSavedFileInfo,
132
+ getSavedFileList: getSavedFileList,
133
+ getServerTime: getServerTime,
134
+ getSetting: getSetting,
135
+ getSiteInfo: getSiteInfo,
136
+ getStorage: getStorage,
137
+ getSystemInfo: getSystemInfo,
138
+ hideKeyboard: hideKeyboard,
139
+ hideLoading: hideLoading,
140
+ hideNavigationBarLoading: hideNavigationBarLoading,
141
+ hideToast: hideToast,
142
+ multiLevelSelect: multiLevelSelect,
143
+ navigateBack: navigateBack,
144
+ navigateBackMiniProgram: navigateBackMiniProgram,
145
+ navigateTo: navigateTo,
146
+ navigateToMiniProgram: navigateToMiniProgram,
147
+ notifyBLECharacteristicValueChange: notifyBLECharacteristicValueChange,
148
+ offAccelerometerChange: offAccelerometerChange,
149
+ offBLECharacteristicValueChange: offBLECharacteristicValueChange,
150
+ offBLEConnectionStateChanged: offBLEConnectionStateChanged,
151
+ offBluetoothAdapterStateChange: offBluetoothAdapterStateChange,
152
+ offBluetoothDeviceFound: offBluetoothDeviceFound,
153
+ offCompassChange: offCompassChange,
154
+ offSocketClose: offSocketClose,
155
+ offSocketError: offSocketError,
156
+ offSocketMessage: offSocketMessage,
157
+ offSocketOpen: offSocketOpen,
158
+ onAccelerometerChange: onAccelerometerChange,
159
+ onBLECharacteristicValueChange: onBLECharacteristicValueChange,
160
+ onBLEConnectionStateChanged: onBLEConnectionStateChanged,
161
+ onBluetoothAdapterStateChange: onBluetoothAdapterStateChange,
162
+ onBluetoothDeviceFound: onBluetoothDeviceFound,
163
+ onCompassChange: onCompassChange,
164
+ onSocketClose: onSocketClose,
165
+ onSocketError: onSocketError,
166
+ onSocketMessage: onSocketMessage,
167
+ onSocketOpen: onSocketOpen,
168
+ openBluetoothAdapter: openBluetoothAdapter,
169
+ openSetting: openSetting,
170
+ previewImage: previewImage,
171
+ readBLECharacteristicValue: readBLECharacteristicValue,
172
+ redirectTo: redirectTo,
173
+ reLaunch: reLaunch,
174
+ removeSavedFile: removeSavedFile,
175
+ removeStorage: removeStorage,
176
+ request: request,
177
+ saveFile: saveFile,
178
+ saveImage: saveImage,
179
+ scan: scan,
180
+ sendSocketMessage: sendSocketMessage,
181
+ setBackgroundColor: setBackgroundColor,
182
+ setCanPullDown: setCanPullDown,
183
+ setClipboard: setClipboard,
184
+ setNavigationBar: setNavigationBar,
185
+ setOptionMenu: setOptionMenu,
186
+ setStorage: setStorage,
187
+ setTabBarStyle: setTabBarStyle,
188
+ showActionSheet: showActionSheet,
189
+ showAuthGuide: showAuthGuide,
190
+ showLoading: showLoading,
191
+ showNavigationBarLoading: showNavigationBarLoading,
192
+ showToast: showToast,
193
+ signContract: signContract,
194
+ startBluetoothDevicesDiscovery: startBluetoothDevicesDiscovery,
195
+ startPullDownRefresh: startPullDownRefresh,
196
+ stopBluetoothDevicesDiscovery: stopBluetoothDevicesDiscovery,
197
+ stopPullDownRefresh: stopPullDownRefresh,
198
+ switchTab: switchTab,
199
+ uploadFile: uploadFile,
200
+ vibrate: vibrate,
201
+ watchShake: watchShake,
202
+ writeBLECharacteristicValue: writeBLECharacteristicValue,
203
+ getFileInfo: getFileInfo,
204
+ openDocument: openDocument,
205
+ onUserCaptureScreen: onUserCaptureScreen,
206
+ offUserCaptureScreen: offUserCaptureScreen,
207
+ setKeepScreenOn: setKeepScreenOn,
208
+ getScreenBrightness: getScreenBrightness,
209
+ setScreenBrightness: setScreenBrightness
210
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum BridgeReady {
2
+ READY = "ready",
3
+ LOADED = "loaded"
4
+ }
@@ -0,0 +1,6 @@
1
+ export var BridgeReady;
2
+
3
+ (function (BridgeReady) {
4
+ BridgeReady["READY"] = "ready";
5
+ BridgeReady["LOADED"] = "loaded";
6
+ })(BridgeReady || (BridgeReady = {}));
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const alert: PickMPAttr<'alert'>;
3
+ export default alert;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var alert = function alert(opt) {
4
+ return my.alert(opt);
5
+ };
6
+
7
+ export default alert;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const clearStorage: PickMPAttr<'clearStorage'>;
3
+ export default clearStorage;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var clearStorage = function clearStorage(opt) {
4
+ return my.clearStorage(opt);
5
+ };
6
+
7
+ export default clearStorage;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const clearStorageSync: PickMPAttr<'clearStorageSync'>;
3
+ export default clearStorageSync;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var clearStorageSync = function clearStorageSync(opt) {
4
+ return my.clearStorageSync(opt);
5
+ };
6
+
7
+ export default clearStorageSync;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const confirm: PickMPAttr<'confirm'>;
3
+ export default confirm;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var confirm = function confirm(opt) {
4
+ return my.confirm(opt);
5
+ };
6
+
7
+ export default confirm;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const createAnimation: PickMPAttr<'createAnimation'>;
3
+ export default createAnimation;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var createAnimation = function createAnimation(opt) {
4
+ return my.createAnimation(opt);
5
+ };
6
+
7
+ export default createAnimation;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const createWebViewContext: PickMPAttr<'createWebViewContext'>;
3
+ export default createWebViewContext;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var createWebViewContext = function createWebViewContext(opt) {
4
+ return my.createWebViewContext(opt);
5
+ };
6
+
7
+ export default createWebViewContext;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getClipboard: PickMPAttr<'getClipboard'>;
3
+ export default getClipboard;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getClipboard = function getClipboard(opt) {
4
+ return my.getClipboard(opt);
5
+ };
6
+
7
+ export default getClipboard;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getLocation: PickMPAttr<'getLocation'>;
3
+ export default getLocation;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getLocation = function getLocation(opt) {
4
+ return my.getLocation(opt);
5
+ };
6
+
7
+ export default getLocation;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getNetworkType: PickMPAttr<'getNetworkType'>;
3
+ export default getNetworkType;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getNetworkType = function getNetworkType(opt) {
4
+ return my.getNetworkType(opt);
5
+ };
6
+
7
+ export default getNetworkType;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getStorage: PickMPAttr<'getStorage'>;
3
+ export default getStorage;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getStorage = function getStorage(opt) {
4
+ return my.getStorage(opt);
5
+ };
6
+
7
+ export default getStorage;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getStorageSync: PickMPAttr<'getStorageSync'>;
3
+ export default getStorageSync;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getStorageSync = function getStorageSync(opt) {
4
+ return my.getStorageSync(opt);
5
+ };
6
+
7
+ export default getStorageSync;
@@ -0,0 +1,3 @@
1
+ import { PickMPAttr } from '../../types';
2
+ declare const getSystemInfo: PickMPAttr<'getSystemInfo'>;
3
+ export default getSystemInfo;
@@ -0,0 +1,7 @@
1
+ // @ts-nocheck
2
+ // auto generated
3
+ var getSystemInfo = function getSystemInfo(opt) {
4
+ return my.getSystemInfo(opt);
5
+ };
6
+
7
+ export default getSystemInfo;