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.
- package/lib/appEnv.d.ts +10 -0
- package/lib/appEnv.js +95 -0
- package/lib/bridges.d.ts +143 -0
- package/lib/bridges.js +2782 -0
- package/lib/clients/mp/lazada/crossPay.d.ts +3 -0
- package/lib/clients/mp/lazada/crossPay.js +11 -0
- package/lib/clients/mp/lazada/getAppIdSync.d.ts +3 -0
- package/lib/clients/mp/lazada/getAppIdSync.js +7 -0
- package/lib/clients/mp/lazada/getAuthCode.d.ts +3 -0
- package/lib/clients/mp/lazada/getAuthCode.js +48 -0
- package/lib/clients/mp/lazada/getOpenUserInfo.d.ts +3 -0
- package/lib/clients/mp/lazada/getOpenUserInfo.js +42 -0
- package/lib/clients/mp/lazada/hideNavigationBarLoading.d.ts +3 -0
- package/lib/clients/mp/lazada/hideNavigationBarLoading.js +6 -0
- package/lib/clients/mp/lazada/index.d.ts +120 -0
- package/lib/clients/mp/lazada/index.js +104 -0
- package/lib/clients/mp/lazada/showNavigationBarLoading.d.ts +3 -0
- package/lib/clients/mp/lazada/showNavigationBarLoading.js +6 -0
- package/lib/clients/mp/lazada/tradePay.d.ts +3 -0
- package/lib/clients/mp/lazada/tradePay.js +11 -0
- package/lib/clients/mp/taobao/crossPay.d.ts +3 -0
- package/lib/clients/mp/taobao/crossPay.js +11 -0
- package/lib/clients/mp/taobao/getAuthCode.d.ts +3 -0
- package/lib/clients/mp/taobao/getAuthCode.js +48 -0
- package/lib/clients/mp/taobao/getOpenUserInfo.d.ts +3 -0
- package/lib/clients/mp/taobao/getOpenUserInfo.js +34 -0
- package/lib/clients/mp/taobao/index.d.ts +114 -0
- package/lib/clients/mp/taobao/index.js +98 -0
- package/lib/clients/mp/taobao/tradePay.d.ts +3 -0
- package/lib/clients/mp/taobao/tradePay.js +11 -0
- package/lib/clients/mp-web/cn/crossPay.d.ts +3 -0
- package/lib/clients/mp-web/cn/crossPay.js +8 -0
- package/lib/clients/mp-web/cn/index.d.ts +89 -0
- package/lib/clients/mp-web/cn/index.js +86 -0
- package/lib/clients/mp-web/intl/APRegionRPC.d.ts +3 -0
- package/lib/clients/mp-web/intl/APRegionRPC.js +7 -0
- package/lib/clients/mp-web/intl/addFatigueAction.d.ts +3 -0
- package/lib/clients/mp-web/intl/addFatigueAction.js +7 -0
- package/lib/clients/mp-web/intl/apDisableJSAPI.d.ts +3 -0
- package/lib/clients/mp-web/intl/apDisableJSAPI.js +7 -0
- package/lib/clients/mp-web/intl/appxrpc.d.ts +3 -0
- package/lib/clients/mp-web/intl/appxrpc.js +7 -0
- package/lib/clients/mp-web/intl/batchQueryCdpSpaceInfo.d.ts +3 -0
- package/lib/clients/mp-web/intl/batchQueryCdpSpaceInfo.js +7 -0
- package/lib/clients/mp-web/intl/choosePhoneContact.d.ts +3 -0
- package/lib/clients/mp-web/intl/choosePhoneContact.js +7 -0
- package/lib/clients/mp-web/intl/crossPay.d.ts +3 -0
- package/lib/clients/mp-web/intl/crossPay.js +7 -0
- package/lib/clients/mp-web/intl/exitApp.d.ts +3 -0
- package/lib/clients/mp-web/intl/exitApp.js +7 -0
- package/lib/clients/mp-web/intl/getAppToken.d.ts +3 -0
- package/lib/clients/mp-web/intl/getAppToken.js +7 -0
- package/lib/clients/mp-web/intl/getComponentAuth.d.ts +3 -0
- package/lib/clients/mp-web/intl/getComponentAuth.js +7 -0
- package/lib/clients/mp-web/intl/getPaymentCode.d.ts +3 -0
- package/lib/clients/mp-web/intl/getPaymentCode.js +7 -0
- package/lib/clients/mp-web/intl/getPhoneNumber.d.ts +3 -0
- package/lib/clients/mp-web/intl/getPhoneNumber.js +7 -0
- package/lib/clients/mp-web/intl/getServerTime.d.ts +3 -0
- package/lib/clients/mp-web/intl/getServerTime.js +7 -0
- package/lib/clients/mp-web/intl/getSetting.d.ts +3 -0
- package/lib/clients/mp-web/intl/getSetting.js +7 -0
- package/lib/clients/mp-web/intl/getSiteInfo.d.ts +3 -0
- package/lib/clients/mp-web/intl/getSiteInfo.js +7 -0
- package/lib/clients/mp-web/intl/index.d.ts +147 -0
- package/lib/clients/mp-web/intl/index.js +138 -0
- package/lib/clients/mp-web/intl/inquireQuote.d.ts +3 -0
- package/lib/clients/mp-web/intl/inquireQuote.js +7 -0
- package/lib/clients/mp-web/intl/isInstalledApp.d.ts +3 -0
- package/lib/clients/mp-web/intl/isInstalledApp.js +7 -0
- package/lib/clients/mp-web/intl/navigateToBizScene.d.ts +3 -0
- package/lib/clients/mp-web/intl/navigateToBizScene.js +7 -0
- package/lib/clients/mp-web/intl/openSchemeWithBacking.d.ts +3 -0
- package/lib/clients/mp-web/intl/openSchemeWithBacking.js +7 -0
- package/lib/clients/mp-web/intl/paySignCenter.d.ts +3 -0
- package/lib/clients/mp-web/intl/paySignCenter.js +7 -0
- package/lib/clients/mp-web/intl/regionFetchAllApps.d.ts +3 -0
- package/lib/clients/mp-web/intl/regionFetchAllApps.js +7 -0
- package/lib/clients/mp-web/intl/regionSearchAppsByKeywords.d.ts +3 -0
- package/lib/clients/mp-web/intl/regionSearchAppsByKeywords.js +7 -0
- package/lib/clients/mp-web/intl/rpc.d.ts +3 -0
- package/lib/clients/mp-web/intl/rpc.js +7 -0
- package/lib/clients/mp-web/intl/signContract.d.ts +3 -0
- package/lib/clients/mp-web/intl/signContract.js +7 -0
- package/lib/clients/mp-web/intl/startApp.d.ts +3 -0
- package/lib/clients/mp-web/intl/startApp.js +7 -0
- package/lib/clients/mp-web/intl/startBizService.d.ts +3 -0
- package/lib/clients/mp-web/intl/startBizService.js +7 -0
- package/lib/clients/mp-web/intl/thirdPartyAuthForAc.d.ts +3 -0
- package/lib/clients/mp-web/intl/thirdPartyAuthForAc.js +7 -0
- package/lib/clients/mp-web/intl/uploadApdidToken.d.ts +3 -0
- package/lib/clients/mp-web/intl/uploadApdidToken.js +7 -0
- package/lib/clients/web/cn/index.d.ts +221 -0
- package/lib/clients/web/cn/index.js +208 -0
- package/lib/clients/web/intl/getSiteInfo.d.ts +3 -0
- package/lib/clients/web/intl/getSiteInfo.js +51 -0
- package/lib/clients/web/intl/index.d.ts +225 -0
- package/lib/clients/web/intl/index.js +210 -0
- package/lib/common/constants.d.ts +4 -0
- package/lib/common/constants.js +6 -0
- package/lib/common/mp/alert.d.ts +3 -0
- package/lib/common/mp/alert.js +7 -0
- package/lib/common/mp/clearStorage.d.ts +3 -0
- package/lib/common/mp/clearStorage.js +7 -0
- package/lib/common/mp/clearStorageSync.d.ts +3 -0
- package/lib/common/mp/clearStorageSync.js +7 -0
- package/lib/common/mp/confirm.d.ts +3 -0
- package/lib/common/mp/confirm.js +7 -0
- package/lib/common/mp/createAnimation.d.ts +3 -0
- package/lib/common/mp/createAnimation.js +7 -0
- package/lib/common/mp/createWebViewContext.d.ts +3 -0
- package/lib/common/mp/createWebViewContext.js +7 -0
- package/lib/common/mp/getClipboard.d.ts +3 -0
- package/lib/common/mp/getClipboard.js +7 -0
- package/lib/common/mp/getLocation.d.ts +3 -0
- package/lib/common/mp/getLocation.js +7 -0
- package/lib/common/mp/getNetworkType.d.ts +3 -0
- package/lib/common/mp/getNetworkType.js +7 -0
- package/lib/common/mp/getStorage.d.ts +3 -0
- package/lib/common/mp/getStorage.js +7 -0
- package/lib/common/mp/getStorageSync.d.ts +3 -0
- package/lib/common/mp/getStorageSync.js +7 -0
- package/lib/common/mp/getSystemInfo.d.ts +3 -0
- package/lib/common/mp/getSystemInfo.js +7 -0
- package/lib/common/mp/hideBackHome.d.ts +3 -0
- package/lib/common/mp/hideBackHome.js +7 -0
- package/lib/common/mp/hideKeyboard.d.ts +3 -0
- package/lib/common/mp/hideKeyboard.js +7 -0
- package/lib/common/mp/hideLoading.d.ts +3 -0
- package/lib/common/mp/hideLoading.js +7 -0
- package/lib/common/mp/hideTabBar.d.ts +3 -0
- package/lib/common/mp/hideTabBar.js +7 -0
- package/lib/common/mp/hideToast.d.ts +3 -0
- package/lib/common/mp/hideToast.js +7 -0
- package/lib/common/mp/navigateBack.d.ts +3 -0
- package/lib/common/mp/navigateBack.js +7 -0
- package/lib/common/mp/navigateTo.d.ts +3 -0
- package/lib/common/mp/navigateTo.js +7 -0
- package/lib/common/mp/offMemoryWarning.d.ts +3 -0
- package/lib/common/mp/offMemoryWarning.js +7 -0
- package/lib/common/mp/onMemoryWarning.d.ts +3 -0
- package/lib/common/mp/onMemoryWarning.js +7 -0
- package/lib/common/mp/pageScrollTo.d.ts +3 -0
- package/lib/common/mp/pageScrollTo.js +7 -0
- package/lib/common/mp/prompt.d.ts +3 -0
- package/lib/common/mp/prompt.js +7 -0
- package/lib/common/mp/reLaunch.d.ts +3 -0
- package/lib/common/mp/reLaunch.js +7 -0
- package/lib/common/mp/redirectTo.d.ts +3 -0
- package/lib/common/mp/redirectTo.js +7 -0
- package/lib/common/mp/removeStorage.d.ts +3 -0
- package/lib/common/mp/removeStorage.js +7 -0
- package/lib/common/mp/removeStorageSync.d.ts +3 -0
- package/lib/common/mp/removeStorageSync.js +7 -0
- package/lib/common/mp/request.d.ts +3 -0
- package/lib/common/mp/request.js +7 -0
- package/lib/common/mp/scan.d.ts +3 -0
- package/lib/common/mp/scan.js +7 -0
- package/lib/common/mp/setBackgroundColor.d.ts +3 -0
- package/lib/common/mp/setBackgroundColor.js +7 -0
- package/lib/common/mp/setCanPullDown.d.ts +3 -0
- package/lib/common/mp/setCanPullDown.js +7 -0
- package/lib/common/mp/setClipboard.d.ts +3 -0
- package/lib/common/mp/setClipboard.js +7 -0
- package/lib/common/mp/setNavigationBar.d.ts +3 -0
- package/lib/common/mp/setNavigationBar.js +7 -0
- package/lib/common/mp/setStorage.d.ts +3 -0
- package/lib/common/mp/setStorage.js +7 -0
- package/lib/common/mp/setStorageSync.d.ts +3 -0
- package/lib/common/mp/setStorageSync.js +7 -0
- package/lib/common/mp/setTabBarStyle.d.ts +3 -0
- package/lib/common/mp/setTabBarStyle.js +7 -0
- package/lib/common/mp/showActionSheet.d.ts +3 -0
- package/lib/common/mp/showActionSheet.js +7 -0
- package/lib/common/mp/showAuthGuide.d.ts +3 -0
- package/lib/common/mp/showAuthGuide.js +7 -0
- package/lib/common/mp/showLoading.d.ts +3 -0
- package/lib/common/mp/showLoading.js +7 -0
- package/lib/common/mp/showToast.d.ts +3 -0
- package/lib/common/mp/showToast.js +7 -0
- package/lib/common/mp/startPullDownRefresh.d.ts +3 -0
- package/lib/common/mp/startPullDownRefresh.js +7 -0
- package/lib/common/mp/stopPullDownRefresh.d.ts +3 -0
- package/lib/common/mp/stopPullDownRefresh.js +7 -0
- package/lib/common/mp/switchTab.d.ts +3 -0
- package/lib/common/mp/switchTab.js +7 -0
- package/lib/common/mp-web/alert.d.ts +3 -0
- package/lib/common/mp-web/alert.js +9 -0
- package/lib/common/mp-web/chooseImage.d.ts +3 -0
- package/lib/common/mp-web/chooseImage.js +9 -0
- package/lib/common/mp-web/clearStorage.d.ts +3 -0
- package/lib/common/mp-web/clearStorage.js +9 -0
- package/lib/common/mp-web/confirm.d.ts +3 -0
- package/lib/common/mp-web/confirm.js +9 -0
- package/lib/common/mp-web/getAuthCode.d.ts +3 -0
- package/lib/common/mp-web/getAuthCode.js +9 -0
- package/lib/common/mp-web/getClipboard.d.ts +3 -0
- package/lib/common/mp-web/getClipboard.js +9 -0
- package/lib/common/mp-web/getImageInfo.d.ts +3 -0
- package/lib/common/mp-web/getImageInfo.js +9 -0
- package/lib/common/mp-web/getLocation.d.ts +3 -0
- package/lib/common/mp-web/getLocation.js +9 -0
- package/lib/common/mp-web/getNetworkType.d.ts +3 -0
- package/lib/common/mp-web/getNetworkType.js +9 -0
- package/lib/common/mp-web/getPhoneNumber.d.ts +3 -0
- package/lib/common/mp-web/getPhoneNumber.js +9 -0
- package/lib/common/mp-web/getStorage.d.ts +3 -0
- package/lib/common/mp-web/getStorage.js +9 -0
- package/lib/common/mp-web/getSystemInfo.d.ts +3 -0
- package/lib/common/mp-web/getSystemInfo.js +9 -0
- package/lib/common/mp-web/hideKeyboard.d.ts +3 -0
- package/lib/common/mp-web/hideKeyboard.js +9 -0
- package/lib/common/mp-web/hideLoading.d.ts +3 -0
- package/lib/common/mp-web/hideLoading.js +9 -0
- package/lib/common/mp-web/hideNavigationBarLoading.d.ts +3 -0
- package/lib/common/mp-web/hideNavigationBarLoading.js +9 -0
- package/lib/common/mp-web/hideToast.d.ts +3 -0
- package/lib/common/mp-web/hideToast.js +9 -0
- package/lib/common/mp-web/makePhoneCall.d.ts +3 -0
- package/lib/common/mp-web/makePhoneCall.js +9 -0
- package/lib/common/mp-web/multiLevelSelect.d.ts +3 -0
- package/lib/common/mp-web/multiLevelSelect.js +9 -0
- package/lib/common/mp-web/navigateBack.d.ts +3 -0
- package/lib/common/mp-web/navigateBack.js +9 -0
- package/lib/common/mp-web/navigateBackMiniProgram.d.ts +3 -0
- package/lib/common/mp-web/navigateBackMiniProgram.js +9 -0
- package/lib/common/mp-web/navigateTo.d.ts +3 -0
- package/lib/common/mp-web/navigateTo.js +9 -0
- package/lib/common/mp-web/navigateToMiniProgram.d.ts +3 -0
- package/lib/common/mp-web/navigateToMiniProgram.js +9 -0
- package/lib/common/mp-web/previewImage.d.ts +3 -0
- package/lib/common/mp-web/previewImage.js +9 -0
- package/lib/common/mp-web/prompt.d.ts +3 -0
- package/lib/common/mp-web/prompt.js +9 -0
- package/lib/common/mp-web/reLaunch.d.ts +3 -0
- package/lib/common/mp-web/reLaunch.js +9 -0
- package/lib/common/mp-web/redirectTo.d.ts +3 -0
- package/lib/common/mp-web/redirectTo.js +9 -0
- package/lib/common/mp-web/removeStorage.d.ts +3 -0
- package/lib/common/mp-web/removeStorage.js +9 -0
- package/lib/common/mp-web/request.d.ts +3 -0
- package/lib/common/mp-web/request.js +9 -0
- package/lib/common/mp-web/saveImage.d.ts +3 -0
- package/lib/common/mp-web/saveImage.js +9 -0
- package/lib/common/mp-web/scan.d.ts +3 -0
- package/lib/common/mp-web/scan.js +9 -0
- package/lib/common/mp-web/setClipboard.d.ts +3 -0
- package/lib/common/mp-web/setClipboard.js +9 -0
- package/lib/common/mp-web/setNavigationBar.d.ts +3 -0
- package/lib/common/mp-web/setNavigationBar.js +9 -0
- package/lib/common/mp-web/setOptionMenu.d.ts +3 -0
- package/lib/common/mp-web/setOptionMenu.js +9 -0
- package/lib/common/mp-web/setStorage.d.ts +3 -0
- package/lib/common/mp-web/setStorage.js +9 -0
- package/lib/common/mp-web/showAuthGuide.d.ts +3 -0
- package/lib/common/mp-web/showAuthGuide.js +9 -0
- package/lib/common/mp-web/showLoading.d.ts +3 -0
- package/lib/common/mp-web/showLoading.js +9 -0
- package/lib/common/mp-web/showNavigationBarLoading.d.ts +3 -0
- package/lib/common/mp-web/showNavigationBarLoading.js +9 -0
- package/lib/common/mp-web/showToast.d.ts +3 -0
- package/lib/common/mp-web/showToast.js +9 -0
- package/lib/common/mp-web/tradePay.d.ts +3 -0
- package/lib/common/mp-web/tradePay.js +9 -0
- package/lib/common/mp-web/vibrate.d.ts +3 -0
- package/lib/common/mp-web/vibrate.js +9 -0
- package/lib/common/mp-web-call.d.ts +4 -0
- package/lib/common/mp-web-call.js +50 -0
- package/lib/common/notImplemented.d.ts +2 -0
- package/lib/common/notImplemented.js +5 -0
- package/lib/common/utils.d.ts +16 -0
- package/lib/common/utils.js +104 -0
- package/lib/common/web/addPhoneContact.d.ts +3 -0
- package/lib/common/web/addPhoneContact.js +51 -0
- package/lib/common/web/alert.d.ts +3 -0
- package/lib/common/web/alert.js +54 -0
- package/lib/common/web/chooseImage.d.ts +3 -0
- package/lib/common/web/chooseImage.js +51 -0
- package/lib/common/web/clearStorage.d.ts +3 -0
- package/lib/common/web/clearStorage.js +49 -0
- package/lib/common/web/closeBluetoothAdapter.d.ts +3 -0
- package/lib/common/web/closeBluetoothAdapter.js +51 -0
- package/lib/common/web/closeSocket.d.ts +3 -0
- package/lib/common/web/closeSocket.js +51 -0
- package/lib/common/web/confirm.d.ts +3 -0
- package/lib/common/web/confirm.js +61 -0
- package/lib/common/web/connectBLEDevice.d.ts +3 -0
- package/lib/common/web/connectBLEDevice.js +51 -0
- package/lib/common/web/connectSocket.d.ts +3 -0
- package/lib/common/web/connectSocket.js +51 -0
- package/lib/common/web/datePicker.d.ts +3 -0
- package/lib/common/web/datePicker.js +59 -0
- package/lib/common/web/disconnectBLEDevice.d.ts +3 -0
- package/lib/common/web/disconnectBLEDevice.js +51 -0
- package/lib/common/web/downloadFile.d.ts +3 -0
- package/lib/common/web/downloadFile.js +68 -0
- package/lib/common/web/getAuthCode.d.ts +3 -0
- package/lib/common/web/getAuthCode.js +51 -0
- package/lib/common/web/getBLEDeviceCharacteristics.d.ts +3 -0
- package/lib/common/web/getBLEDeviceCharacteristics.js +51 -0
- package/lib/common/web/getBLEDeviceServices.d.ts +3 -0
- package/lib/common/web/getBLEDeviceServices.js +51 -0
- package/lib/common/web/getBatteryInfo.d.ts +3 -0
- package/lib/common/web/getBatteryInfo.js +51 -0
- package/lib/common/web/getBluetoothAdapterState.d.ts +3 -0
- package/lib/common/web/getBluetoothAdapterState.js +51 -0
- package/lib/common/web/getBluetoothDevices.d.ts +3 -0
- package/lib/common/web/getBluetoothDevices.js +51 -0
- package/lib/common/web/getClipboard.d.ts +3 -0
- package/lib/common/web/getClipboard.js +51 -0
- package/lib/common/web/getConnectedBluetoothDevices.d.ts +3 -0
- package/lib/common/web/getConnectedBluetoothDevices.js +51 -0
- package/lib/common/web/getFileInfo.d.ts +3 -0
- package/lib/common/web/getFileInfo.js +51 -0
- package/lib/common/web/getImageInfo.d.ts +3 -0
- package/lib/common/web/getImageInfo.js +51 -0
- package/lib/common/web/getLocation.d.ts +3 -0
- package/lib/common/web/getLocation.js +53 -0
- package/lib/common/web/getNetworkType.d.ts +3 -0
- package/lib/common/web/getNetworkType.js +39 -0
- package/lib/common/web/getPhoneNumber.d.ts +3 -0
- package/lib/common/web/getPhoneNumber.js +51 -0
- package/lib/common/web/getSavedFileInfo.d.ts +3 -0
- package/lib/common/web/getSavedFileInfo.js +51 -0
- package/lib/common/web/getSavedFileList.d.ts +3 -0
- package/lib/common/web/getSavedFileList.js +51 -0
- package/lib/common/web/getScreenBrightness.d.ts +3 -0
- package/lib/common/web/getScreenBrightness.js +51 -0
- package/lib/common/web/getServerTime.d.ts +3 -0
- package/lib/common/web/getServerTime.js +51 -0
- package/lib/common/web/getSetting.d.ts +3 -0
- package/lib/common/web/getSetting.js +51 -0
- package/lib/common/web/getStorage.d.ts +3 -0
- package/lib/common/web/getStorage.js +53 -0
- package/lib/common/web/getSystemInfo.d.ts +3 -0
- package/lib/common/web/getSystemInfo.js +19 -0
- package/lib/common/web/hideKeyboard.d.ts +3 -0
- package/lib/common/web/hideKeyboard.js +7 -0
- package/lib/common/web/hideLoading.d.ts +3 -0
- package/lib/common/web/hideLoading.js +7 -0
- package/lib/common/web/hideNavigationBarLoading.d.ts +3 -0
- package/lib/common/web/hideNavigationBarLoading.js +7 -0
- package/lib/common/web/hideToast.d.ts +3 -0
- package/lib/common/web/hideToast.js +51 -0
- package/lib/common/web/multiLevelSelect.d.ts +3 -0
- package/lib/common/web/multiLevelSelect.js +51 -0
- package/lib/common/web/navigateBack.d.ts +3 -0
- package/lib/common/web/navigateBack.js +53 -0
- package/lib/common/web/navigateBackMiniProgram.d.ts +3 -0
- package/lib/common/web/navigateBackMiniProgram.js +51 -0
- package/lib/common/web/navigateTo.d.ts +3 -0
- package/lib/common/web/navigateTo.js +49 -0
- package/lib/common/web/navigateToMiniProgram.d.ts +3 -0
- package/lib/common/web/navigateToMiniProgram.js +51 -0
- package/lib/common/web/notifyBLECharacteristicValueChange.d.ts +3 -0
- package/lib/common/web/notifyBLECharacteristicValueChange.js +51 -0
- package/lib/common/web/offAccelerometerChange.d.ts +3 -0
- package/lib/common/web/offAccelerometerChange.js +51 -0
- package/lib/common/web/offBLECharacteristicValueChange.d.ts +3 -0
- package/lib/common/web/offBLECharacteristicValueChange.js +51 -0
- package/lib/common/web/offBLEConnectionStateChanged.d.ts +3 -0
- package/lib/common/web/offBLEConnectionStateChanged.js +51 -0
- package/lib/common/web/offBluetoothAdapterStateChange.d.ts +3 -0
- package/lib/common/web/offBluetoothAdapterStateChange.js +51 -0
- package/lib/common/web/offBluetoothDeviceFound.d.ts +3 -0
- package/lib/common/web/offBluetoothDeviceFound.js +51 -0
- package/lib/common/web/offCompassChange.d.ts +3 -0
- package/lib/common/web/offCompassChange.js +51 -0
- package/lib/common/web/offSocketClose.d.ts +3 -0
- package/lib/common/web/offSocketClose.js +51 -0
- package/lib/common/web/offSocketError.d.ts +3 -0
- package/lib/common/web/offSocketError.js +51 -0
- package/lib/common/web/offSocketMessage.d.ts +3 -0
- package/lib/common/web/offSocketMessage.js +51 -0
- package/lib/common/web/offSocketOpen.d.ts +3 -0
- package/lib/common/web/offSocketOpen.js +51 -0
- package/lib/common/web/offUserCaptureScreen.d.ts +3 -0
- package/lib/common/web/offUserCaptureScreen.js +51 -0
- package/lib/common/web/onAccelerometerChange.d.ts +3 -0
- package/lib/common/web/onAccelerometerChange.js +51 -0
- package/lib/common/web/onBLECharacteristicValueChange.d.ts +3 -0
- package/lib/common/web/onBLECharacteristicValueChange.js +51 -0
- package/lib/common/web/onBLEConnectionStateChanged.d.ts +3 -0
- package/lib/common/web/onBLEConnectionStateChanged.js +51 -0
- package/lib/common/web/onBluetoothAdapterStateChange.d.ts +3 -0
- package/lib/common/web/onBluetoothAdapterStateChange.js +51 -0
- package/lib/common/web/onBluetoothDeviceFound.d.ts +3 -0
- package/lib/common/web/onBluetoothDeviceFound.js +51 -0
- package/lib/common/web/onCompassChange.d.ts +3 -0
- package/lib/common/web/onCompassChange.js +51 -0
- package/lib/common/web/onSocketClose.d.ts +3 -0
- package/lib/common/web/onSocketClose.js +51 -0
- package/lib/common/web/onSocketError.d.ts +3 -0
- package/lib/common/web/onSocketError.js +51 -0
- package/lib/common/web/onSocketMessage.d.ts +3 -0
- package/lib/common/web/onSocketMessage.js +51 -0
- package/lib/common/web/onSocketOpen.d.ts +3 -0
- package/lib/common/web/onSocketOpen.js +51 -0
- package/lib/common/web/onUserCaptureScreen.d.ts +3 -0
- package/lib/common/web/onUserCaptureScreen.js +51 -0
- package/lib/common/web/openBluetoothAdapter.d.ts +3 -0
- package/lib/common/web/openBluetoothAdapter.js +51 -0
- package/lib/common/web/openDocument.d.ts +3 -0
- package/lib/common/web/openDocument.js +51 -0
- package/lib/common/web/openSetting.d.ts +3 -0
- package/lib/common/web/openSetting.js +51 -0
- package/lib/common/web/previewImage.d.ts +3 -0
- package/lib/common/web/previewImage.js +51 -0
- package/lib/common/web/reLaunch.d.ts +3 -0
- package/lib/common/web/reLaunch.js +49 -0
- package/lib/common/web/readBLECharacteristicValue.d.ts +3 -0
- package/lib/common/web/readBLECharacteristicValue.js +51 -0
- package/lib/common/web/redirectTo.d.ts +3 -0
- package/lib/common/web/redirectTo.js +18 -0
- package/lib/common/web/removeSavedFile.d.ts +3 -0
- package/lib/common/web/removeSavedFile.js +51 -0
- package/lib/common/web/removeStorage.d.ts +3 -0
- package/lib/common/web/removeStorage.js +49 -0
- package/lib/common/web/request.d.ts +3 -0
- package/lib/common/web/request.js +94 -0
- package/lib/common/web/saveFile.d.ts +3 -0
- package/lib/common/web/saveFile.js +52 -0
- package/lib/common/web/saveImage.d.ts +3 -0
- package/lib/common/web/saveImage.js +51 -0
- package/lib/common/web/scan.d.ts +3 -0
- package/lib/common/web/scan.js +51 -0
- package/lib/common/web/sendSocketMessage.d.ts +3 -0
- package/lib/common/web/sendSocketMessage.js +51 -0
- package/lib/common/web/setBackgroundColor.d.ts +3 -0
- package/lib/common/web/setBackgroundColor.js +51 -0
- package/lib/common/web/setCanPullDown.d.ts +3 -0
- package/lib/common/web/setCanPullDown.js +51 -0
- package/lib/common/web/setClipboard.d.ts +3 -0
- package/lib/common/web/setClipboard.js +51 -0
- package/lib/common/web/setKeepScreenOn.d.ts +3 -0
- package/lib/common/web/setKeepScreenOn.js +51 -0
- package/lib/common/web/setNavigationBar.d.ts +3 -0
- package/lib/common/web/setNavigationBar.js +79 -0
- package/lib/common/web/setOptionMenu.d.ts +3 -0
- package/lib/common/web/setOptionMenu.js +51 -0
- package/lib/common/web/setScreenBrightness.d.ts +3 -0
- package/lib/common/web/setScreenBrightness.js +51 -0
- package/lib/common/web/setStorage.d.ts +3 -0
- package/lib/common/web/setStorage.js +52 -0
- package/lib/common/web/setTabBarStyle.d.ts +3 -0
- package/lib/common/web/setTabBarStyle.js +51 -0
- package/lib/common/web/showActionSheet.d.ts +3 -0
- package/lib/common/web/showActionSheet.js +54 -0
- package/lib/common/web/showAuthGuide.d.ts +3 -0
- package/lib/common/web/showAuthGuide.js +51 -0
- package/lib/common/web/showLoading.d.ts +3 -0
- package/lib/common/web/showLoading.js +51 -0
- package/lib/common/web/showNavigationBarLoading.d.ts +3 -0
- package/lib/common/web/showNavigationBarLoading.js +7 -0
- package/lib/common/web/showToast.d.ts +3 -0
- package/lib/common/web/showToast.js +53 -0
- package/lib/common/web/signContract.d.ts +3 -0
- package/lib/common/web/signContract.js +51 -0
- package/lib/common/web/startBluetoothDevicesDiscovery.d.ts +3 -0
- package/lib/common/web/startBluetoothDevicesDiscovery.js +51 -0
- package/lib/common/web/startPullDownRefresh.d.ts +3 -0
- package/lib/common/web/startPullDownRefresh.js +7 -0
- package/lib/common/web/stopBluetoothDevicesDiscovery.d.ts +3 -0
- package/lib/common/web/stopBluetoothDevicesDiscovery.js +51 -0
- package/lib/common/web/stopPullDownRefresh.d.ts +3 -0
- package/lib/common/web/stopPullDownRefresh.js +7 -0
- package/lib/common/web/switchTab.d.ts +3 -0
- package/lib/common/web/switchTab.js +51 -0
- package/lib/common/web/uploadFile.d.ts +3 -0
- package/lib/common/web/uploadFile.js +54 -0
- package/lib/common/web/vibrate.d.ts +3 -0
- package/lib/common/web/vibrate.js +51 -0
- package/lib/common/web/watchShake.d.ts +3 -0
- package/lib/common/web/watchShake.js +51 -0
- package/lib/common/web/writeBLECharacteristicValue.d.ts +3 -0
- package/lib/common/web/writeBLECharacteristicValue.js +51 -0
- package/lib/common/web-call.d.ts +4 -0
- package/lib/common/web-call.js +20 -0
- package/lib/common/webview-bridge.d.ts +6 -0
- package/lib/common/webview-bridge.js +231 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +4 -0
- package/lib/types/common.d.ts +4 -0
- package/lib/types/common.js +1 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.js +3 -0
- package/lib/types/jsapi.d.ts +248 -0
- package/lib/types/jsapi.js +1 -0
- package/lib/types/mp.d.ts +123 -0
- package/lib/types/mp.js +1 -0
- package/lib/umd/0.0.1/index.js +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { Common, PickAttr } from './common';
|
|
2
|
+
export declare namespace AliJsApi {
|
|
3
|
+
type AlertArgs = {
|
|
4
|
+
title?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
align?: string;
|
|
7
|
+
button?: string;
|
|
8
|
+
};
|
|
9
|
+
type ConfirmArgs = {
|
|
10
|
+
title?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
align?: string;
|
|
13
|
+
okButton?: string;
|
|
14
|
+
cancelButton?: string;
|
|
15
|
+
};
|
|
16
|
+
type GetAuthCodeArgs = {
|
|
17
|
+
scopes?: string | string[];
|
|
18
|
+
appId: string;
|
|
19
|
+
showErrorTip?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type GetCurrentLocationArgs = {
|
|
22
|
+
bizType: string;
|
|
23
|
+
requestType?: number;
|
|
24
|
+
cacheTimeout?: number;
|
|
25
|
+
timeout?: number;
|
|
26
|
+
};
|
|
27
|
+
type GetCurrentLocationReturns = {
|
|
28
|
+
error: number;
|
|
29
|
+
errorMessage: string;
|
|
30
|
+
latitude: number;
|
|
31
|
+
longitude: number;
|
|
32
|
+
accuracy: number;
|
|
33
|
+
country: string;
|
|
34
|
+
countryCode: string;
|
|
35
|
+
province: string;
|
|
36
|
+
city: string;
|
|
37
|
+
cityAdcode: string;
|
|
38
|
+
district: string;
|
|
39
|
+
districtAdcode: string;
|
|
40
|
+
streetNumber: {
|
|
41
|
+
street: string;
|
|
42
|
+
number: number;
|
|
43
|
+
};
|
|
44
|
+
pois: {
|
|
45
|
+
name: string;
|
|
46
|
+
address: string;
|
|
47
|
+
}[];
|
|
48
|
+
highAccuracyClosed: boolean;
|
|
49
|
+
};
|
|
50
|
+
type GetAPDataStorageArgs = {
|
|
51
|
+
key: string;
|
|
52
|
+
business?: string;
|
|
53
|
+
type?: 'user' | 'common';
|
|
54
|
+
};
|
|
55
|
+
type GetAPDataStorageReturns = {
|
|
56
|
+
data: string;
|
|
57
|
+
errorMessage: string;
|
|
58
|
+
};
|
|
59
|
+
type GetSystemInfoReturns = {
|
|
60
|
+
model: string;
|
|
61
|
+
pixelRatio: number;
|
|
62
|
+
windowWidth: number;
|
|
63
|
+
windowHeight: number;
|
|
64
|
+
language: string;
|
|
65
|
+
version: string;
|
|
66
|
+
};
|
|
67
|
+
type PopToArgs = {
|
|
68
|
+
url?: string;
|
|
69
|
+
urlPattern?: string;
|
|
70
|
+
index?: number;
|
|
71
|
+
data?: Common;
|
|
72
|
+
};
|
|
73
|
+
type PushWindowArgs = {
|
|
74
|
+
url: string;
|
|
75
|
+
data?: Common;
|
|
76
|
+
params?: Common;
|
|
77
|
+
};
|
|
78
|
+
type HttpRequestArgs = {
|
|
79
|
+
url: string;
|
|
80
|
+
headers?: Common;
|
|
81
|
+
method?: 'GET' | 'POST';
|
|
82
|
+
data?: Common | string;
|
|
83
|
+
timeout?: number;
|
|
84
|
+
dataType?: 'json' | 'text' | 'base64' | ({} & string);
|
|
85
|
+
};
|
|
86
|
+
type HttpRequestReturns = {
|
|
87
|
+
data: string;
|
|
88
|
+
status: number;
|
|
89
|
+
headers: Common;
|
|
90
|
+
};
|
|
91
|
+
type SetTitleArgs = {
|
|
92
|
+
title?: string;
|
|
93
|
+
subtitle?: string;
|
|
94
|
+
image?: string;
|
|
95
|
+
};
|
|
96
|
+
type SetBarBottomLineColorArgs = {
|
|
97
|
+
color: number;
|
|
98
|
+
};
|
|
99
|
+
type SetTitleColorArgs = {
|
|
100
|
+
color: number;
|
|
101
|
+
reset?: boolean;
|
|
102
|
+
resetTransparent?: boolean;
|
|
103
|
+
};
|
|
104
|
+
type SetAPDataStorageArgs = GetAPDataStorageArgs & {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
type ShowAuthGuideArgs = {
|
|
108
|
+
bizType: string;
|
|
109
|
+
authType: string;
|
|
110
|
+
issue?: string;
|
|
111
|
+
source?: string;
|
|
112
|
+
option?: string;
|
|
113
|
+
};
|
|
114
|
+
type ShowLoadingArgs = {
|
|
115
|
+
content?: string;
|
|
116
|
+
delay?: number;
|
|
117
|
+
};
|
|
118
|
+
type ToastArgs = {
|
|
119
|
+
content: string;
|
|
120
|
+
type?: 'none' | 'success' | 'fail' | 'exception' | ({} & string);
|
|
121
|
+
duration?: number;
|
|
122
|
+
xOffset?: number;
|
|
123
|
+
yOffset?: number;
|
|
124
|
+
};
|
|
125
|
+
type TradePayArgs = {
|
|
126
|
+
tradeNO?: string;
|
|
127
|
+
partnerID?: string;
|
|
128
|
+
bizType?: string;
|
|
129
|
+
bizSubType?: string;
|
|
130
|
+
bizContext?: string;
|
|
131
|
+
orderStr?: string;
|
|
132
|
+
};
|
|
133
|
+
type ActionSheetArgs = {
|
|
134
|
+
title?: string;
|
|
135
|
+
btns: string[];
|
|
136
|
+
cancelBtn?: string;
|
|
137
|
+
destructiveBtnIndex?: number;
|
|
138
|
+
fn?: (v: any) => void;
|
|
139
|
+
};
|
|
140
|
+
type SetTabBarArgs = {
|
|
141
|
+
actionType: string;
|
|
142
|
+
};
|
|
143
|
+
interface Api {
|
|
144
|
+
alert(args?: AlertArgs): any;
|
|
145
|
+
clearTinyLocalStorage(args?: Common): any;
|
|
146
|
+
confirm(args?: ConfirmArgs): any;
|
|
147
|
+
getAuthCode(args?: GetAuthCodeArgs): {
|
|
148
|
+
authCode: string;
|
|
149
|
+
};
|
|
150
|
+
getClipboard(args?: Common): any;
|
|
151
|
+
getCurrentLocation(args?: GetCurrentLocationArgs): GetCurrentLocationReturns;
|
|
152
|
+
getNetworkType(): {
|
|
153
|
+
networkInfo: string;
|
|
154
|
+
};
|
|
155
|
+
getAPDataStorage(args: GetAPDataStorageArgs): GetAPDataStorageReturns;
|
|
156
|
+
getSystemInfo(): GetSystemInfoReturns;
|
|
157
|
+
hideKeyboard(): void;
|
|
158
|
+
hideLoading(args?: {
|
|
159
|
+
page: number;
|
|
160
|
+
}): void;
|
|
161
|
+
hideTitleLoading(): void;
|
|
162
|
+
hideToast(args?: Common): any;
|
|
163
|
+
popTo(args?: PopToArgs): any;
|
|
164
|
+
pushWindow(args?: PushWindowArgs): any;
|
|
165
|
+
removeTinyLocalStorage(args?: {
|
|
166
|
+
key: string;
|
|
167
|
+
}): any;
|
|
168
|
+
httpRequest(args: HttpRequestArgs): HttpRequestReturns;
|
|
169
|
+
setClipboard(args: {
|
|
170
|
+
text: string;
|
|
171
|
+
}): any;
|
|
172
|
+
setTitle(args?: SetTitleArgs): any;
|
|
173
|
+
setBarBottomLineColor(args?: SetBarBottomLineColorArgs): any;
|
|
174
|
+
setTitleColor(args?: SetTitleColorArgs): any;
|
|
175
|
+
setAPDataStorage(args?: SetAPDataStorageArgs): any;
|
|
176
|
+
showAuthGuide(args?: ShowAuthGuideArgs): {
|
|
177
|
+
shown: boolean;
|
|
178
|
+
};
|
|
179
|
+
showLoading(args?: ShowLoadingArgs): any;
|
|
180
|
+
showTitleLoading(): void;
|
|
181
|
+
toast(args: ToastArgs): void;
|
|
182
|
+
tradePay(args: TradePayArgs): {
|
|
183
|
+
resultCode: string;
|
|
184
|
+
};
|
|
185
|
+
getImageInfo(args?: Common): void;
|
|
186
|
+
multiLevelSelect(args?: Common): void;
|
|
187
|
+
navigateBackMiniProgram(args?: Common): void;
|
|
188
|
+
navigateToMiniProgram(args?: Common): void;
|
|
189
|
+
previewImage(args?: Common): void;
|
|
190
|
+
saveImage(args?: Common): void;
|
|
191
|
+
setOptionMenu(args?: Common): void;
|
|
192
|
+
chooseImage(args?: Common): void;
|
|
193
|
+
actionSheet(args?: ActionSheetArgs): void;
|
|
194
|
+
setTabBar(args?: SetTabBarArgs): void;
|
|
195
|
+
switchTab(args?: {
|
|
196
|
+
url: string;
|
|
197
|
+
}): void;
|
|
198
|
+
firePullToRefresh(): void;
|
|
199
|
+
restorePullToRefresh(): void;
|
|
200
|
+
datePicker(args: any): void;
|
|
201
|
+
saveFile(args?: any): void;
|
|
202
|
+
uploadFile(args?: any): void;
|
|
203
|
+
downloadFile(args?: any): void;
|
|
204
|
+
watchShake(args?: any): void;
|
|
205
|
+
connectSocket(args?: any): void;
|
|
206
|
+
onSocketOpen(args?: any): void;
|
|
207
|
+
offSocketOpen(args?: any): void;
|
|
208
|
+
onSocketError(args?: any): void;
|
|
209
|
+
offSocketError(args?: any): void;
|
|
210
|
+
sendSocketMessage(args?: any): void;
|
|
211
|
+
onSocketMessage(args?: any): void;
|
|
212
|
+
offSocketMessage(args?: any): void;
|
|
213
|
+
closeSocket(args?: any): void;
|
|
214
|
+
onSocketClose(args?: any): void;
|
|
215
|
+
offSocketClose(args?: any): void;
|
|
216
|
+
onAccelerometerChange(args?: any): void;
|
|
217
|
+
offAccelerometerChange(args?: any): void;
|
|
218
|
+
onCompassChange(args?: any): void;
|
|
219
|
+
offCompassChange(args?: any): void;
|
|
220
|
+
connectBLEDevice(args?: Common): void;
|
|
221
|
+
disconnectBLEDevice(args?: Common): void;
|
|
222
|
+
getBLEDeviceCharacteristics(args?: Common): void;
|
|
223
|
+
getBLEDeviceServices(args?: Common): void;
|
|
224
|
+
notifyBLECharacteristicValueChange(args?: Common): void;
|
|
225
|
+
offBLECharacteristicValueChange(args?: Common): void;
|
|
226
|
+
offBLEConnectionStateChanged(args?: Common): void;
|
|
227
|
+
onBLECharacteristicValueChange(args?: Common): void;
|
|
228
|
+
onBLEConnectionStateChanged(args?: Common): void;
|
|
229
|
+
readBLECharacteristicValue(args?: Common): void;
|
|
230
|
+
writeBLECharacteristicValue(args?: Common): void;
|
|
231
|
+
openBluetoothAdapter(args?: Common): void;
|
|
232
|
+
closeBluetoothAdapter(args?: Common): void;
|
|
233
|
+
getBluetoothAdapterState(args?: Common): void;
|
|
234
|
+
startBluetoothDevicesDiscovery(args?: Common): void;
|
|
235
|
+
stopBluetoothDevicesDiscovery(args?: Common): void;
|
|
236
|
+
getBluetoothDevices(args?: Common): void;
|
|
237
|
+
getConnectedBluetoothDevices(args?: Common): void;
|
|
238
|
+
onBluetoothDeviceFound(args?: Common): void;
|
|
239
|
+
offBluetoothDeviceFound(args?: Common): void;
|
|
240
|
+
onBluetoothAdapterStateChange(args?: Common): void;
|
|
241
|
+
offBluetoothAdapterStateChange(args?: Common): void;
|
|
242
|
+
getFileInfo(args?: Common): void;
|
|
243
|
+
openDocument(args?: Common): void;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
export declare type PickJSAttr<Attr extends keyof AliJsApi.Api> = PickAttr<Attr, AliJsApi.Api>;
|
|
247
|
+
export declare type PickJSArgs<Attr extends keyof AliJsApi.Api = any> = Parameters<PickJSAttr<Attr>>[0];
|
|
248
|
+
export declare type PickJSReturns<Attr extends keyof AliJsApi.Api> = ReturnType<PickJSAttr<Attr>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/// <reference types="miniprogram" />
|
|
2
|
+
import { Common } from '.';
|
|
3
|
+
import { PickAttr } from './common';
|
|
4
|
+
export interface TabBarStyle extends AsyncCallback<any> {
|
|
5
|
+
color: string;
|
|
6
|
+
selectedColor: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
borderStyle: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ActionSheetBadges {
|
|
11
|
+
index: number;
|
|
12
|
+
type: 'none' | 'point' | 'num' | 'text';
|
|
13
|
+
text: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ShowActionSheet extends AsyncCallback<any> {
|
|
16
|
+
title?: string;
|
|
17
|
+
items: string[];
|
|
18
|
+
cancelButtonText?: string;
|
|
19
|
+
destructiveBtnIndex?: number;
|
|
20
|
+
badges?: ActionSheetBadges[];
|
|
21
|
+
}
|
|
22
|
+
export interface AddFatigueActionArgs extends AsyncCallback<any> {
|
|
23
|
+
deliverId?: string;
|
|
24
|
+
spaceCode?: string;
|
|
25
|
+
action?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface MPApi extends MiniprogramApi {
|
|
28
|
+
hideBackHome: () => void;
|
|
29
|
+
getAppIdSync: () => string;
|
|
30
|
+
setTabBarStyle: (opt: TabBarStyle) => void;
|
|
31
|
+
showActionSheet: (opt: ShowActionSheet) => void;
|
|
32
|
+
onMemoryWarning: (opt: (res: {
|
|
33
|
+
level: number;
|
|
34
|
+
}) => void) => void;
|
|
35
|
+
offMemoryWarning: (opt: (res: {
|
|
36
|
+
level: number;
|
|
37
|
+
}) => void) => void;
|
|
38
|
+
tradePayCrossApp: (opt: any) => void;
|
|
39
|
+
authorize: (opt: any) => void;
|
|
40
|
+
getAuthUserInfo: (opt: any) => void;
|
|
41
|
+
clearStorage(args?: AsyncCallback<any>): void;
|
|
42
|
+
hideToast(args?: AsyncCallback<any>): void;
|
|
43
|
+
crossPay(args?: TradePayArgs): void;
|
|
44
|
+
addFatigueAction(args?: AddFatigueActionArgs): void;
|
|
45
|
+
appxrpc(args?: {
|
|
46
|
+
reqeustData: any;
|
|
47
|
+
}): void;
|
|
48
|
+
batchQueryCdpSpaceInfo(args?: any): void;
|
|
49
|
+
exitApp(args?: any): void;
|
|
50
|
+
getAppToken(args?: any): void;
|
|
51
|
+
getComponentAuth(args?: any): void;
|
|
52
|
+
getPaymentCode(args?: any): void;
|
|
53
|
+
getPhoneNumber(args?: any): void;
|
|
54
|
+
inquireQuote(args?: any): void;
|
|
55
|
+
isInstalledApp(args?: any): void;
|
|
56
|
+
navigateToBizScene(args?: any): void;
|
|
57
|
+
paySignCenter(args?: any): void;
|
|
58
|
+
rpc(args?: any): void;
|
|
59
|
+
APRegionRPC(args?: any): void;
|
|
60
|
+
startApp(args?: any): void;
|
|
61
|
+
startBizService(args?: any): void;
|
|
62
|
+
thirdPartyAuthForAc(args?: any): void;
|
|
63
|
+
openSchemeWithBacking(args?: any): void;
|
|
64
|
+
uploadApdidToken(args?: any): void;
|
|
65
|
+
apDisableJSAPI(args?: any): void;
|
|
66
|
+
regionFetchAllApps(args?: any): void;
|
|
67
|
+
regionSearchAppsByKeywords(args?: any): void;
|
|
68
|
+
getSetting(args?: Common & AsyncCallback<any>): void;
|
|
69
|
+
setOptionMenu(args?: Common & AsyncCallback<any>): void;
|
|
70
|
+
datePicker(args?: Common & AsyncCallback<any>): void;
|
|
71
|
+
watchShake(args?: Common & AsyncCallback<any>): void;
|
|
72
|
+
connectSocket(args?: Common & AsyncCallback<any>): void;
|
|
73
|
+
onSocketOpen(args?: Common & AsyncCallback<any>): void;
|
|
74
|
+
offSocketOpen(args?: Common & AsyncCallback<any>): void;
|
|
75
|
+
onSocketError(args?: Common & AsyncCallback<any>): void;
|
|
76
|
+
offSocketError(args?: Common & AsyncCallback<any>): void;
|
|
77
|
+
sendSocketMessage(args?: Common & AsyncCallback<any>): void;
|
|
78
|
+
onSocketMessage(args?: Common & AsyncCallback<any>): void;
|
|
79
|
+
offSocketMessage(args?: Common & AsyncCallback<any>): void;
|
|
80
|
+
closeSocket(args?: Common & AsyncCallback<any>): void;
|
|
81
|
+
onSocketClose(args?: Common & AsyncCallback<any>): void;
|
|
82
|
+
offSocketClose(args?: Common & AsyncCallback<any>): void;
|
|
83
|
+
onAccelerometerChange(args?: Common & AsyncCallback<any>): void;
|
|
84
|
+
offAccelerometerChange(args?: Common & AsyncCallback<any>): void;
|
|
85
|
+
onCompassChange(args?: Common & AsyncCallback<any>): void;
|
|
86
|
+
offCompassChange(args?: Common & AsyncCallback<any>): void;
|
|
87
|
+
getBatteryInfo(args?: Common & AsyncCallback<any>): void;
|
|
88
|
+
openSetting(args?: Common & AsyncCallback<any>): void;
|
|
89
|
+
connectBLEDevice(args?: Common & AsyncCallback<any>): void;
|
|
90
|
+
disconnectBLEDevice(args?: Common & AsyncCallback<any>): void;
|
|
91
|
+
getBLEDeviceCharacteristics(args?: Common & AsyncCallback<any>): void;
|
|
92
|
+
getBLEDeviceServices(args?: Common & AsyncCallback<any>): void;
|
|
93
|
+
notifyBLECharacteristicValueChange(args?: Common & AsyncCallback<any>): void;
|
|
94
|
+
offBLECharacteristicValueChange(args?: Common & AsyncCallback<any>): void;
|
|
95
|
+
offBLEConnectionStateChanged(args?: Common & AsyncCallback<any>): void;
|
|
96
|
+
onBLECharacteristicValueChange(args?: Common & AsyncCallback<any>): void;
|
|
97
|
+
onBLEConnectionStateChanged(args?: Common & AsyncCallback<any>): void;
|
|
98
|
+
readBLECharacteristicValue(args?: Common & AsyncCallback<any>): void;
|
|
99
|
+
writeBLECharacteristicValue(args?: Common & AsyncCallback<any>): void;
|
|
100
|
+
openBluetoothAdapter(args?: Common & AsyncCallback<any>): void;
|
|
101
|
+
closeBluetoothAdapter(args?: Common & AsyncCallback<any>): void;
|
|
102
|
+
getBluetoothAdapterState(args?: Common & AsyncCallback<any>): void;
|
|
103
|
+
startBluetoothDevicesDiscovery(args?: Common & AsyncCallback<any>): void;
|
|
104
|
+
stopBluetoothDevicesDiscovery(args?: Common & AsyncCallback<any>): void;
|
|
105
|
+
getBluetoothDevices(args?: Common & AsyncCallback<any>): void;
|
|
106
|
+
getConnectedBluetoothDevices(args?: Common & AsyncCallback<any>): void;
|
|
107
|
+
onBluetoothDeviceFound(args?: Common & AsyncCallback<any>): void;
|
|
108
|
+
offBluetoothDeviceFound(args?: Common & AsyncCallback<any>): void;
|
|
109
|
+
onBluetoothAdapterStateChange(args?: Common & AsyncCallback<any>): void;
|
|
110
|
+
offBluetoothAdapterStateChange(args?: Common & AsyncCallback<any>): void;
|
|
111
|
+
getFileInfo(args?: {
|
|
112
|
+
apFilePath: string;
|
|
113
|
+
digestAlgorithm?: string;
|
|
114
|
+
} & AsyncCallback<any>): void;
|
|
115
|
+
openDocument(args?: {
|
|
116
|
+
filePath: string;
|
|
117
|
+
fileType: string;
|
|
118
|
+
} & AsyncCallback<any>): void;
|
|
119
|
+
SDKVersion: any;
|
|
120
|
+
}
|
|
121
|
+
export declare type PickMPAttr<Attr extends keyof MPApi> = PickAttr<Attr, MPApi>;
|
|
122
|
+
export declare type PickMPArgs<Attr extends keyof MPApi> = Parameters<PickMPAttr<Attr>>[0];
|
|
123
|
+
export declare type PickMpReturns<Attr extends keyof MPApi> = ReturnType<PickMPAttr<Attr>>;
|
package/lib/types/mp.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|