yach.open.jssdk 4.4.2 → 4.4.3-beta2
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/package.json +1 -1
- package/dist/yach_jssdk_4.4.2.js +0 -1
- package/es/api/app/custom/talYoungFilesUpload.d.ts +0 -38
- package/es/api/app/custom/talYoungFilesUpload.js +0 -18
- package/es/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
- package/es/api/biz/chat/chooseConversationByCorpId.js +0 -10
- package/es/api/biz/chat/openSingleChat.d.ts +0 -10
- package/es/api/biz/chat/openSingleChat.js +0 -10
- package/es/api/biz/chat/openSquad.d.ts +0 -8
- package/es/api/biz/chat/openSquad.js +0 -10
- package/es/api/biz/chat/openTeamChat.d.ts +0 -10
- package/es/api/biz/chat/openTeamChat.js +0 -10
- package/es/api/biz/chat/pickConversation.d.ts +0 -19
- package/es/api/biz/chat/pickConversation.js +0 -21
- package/es/api/biz/chat/sendP2PMsg.d.ts +0 -10
- package/es/api/biz/chat/sendP2PMsg.js +0 -10
- package/es/api/biz/contact/complexPicker.d.ts +0 -62
- package/es/api/biz/contact/complexPicker.js +0 -10
- package/es/api/biz/contact/departmentsPicker.d.ts +0 -35
- package/es/api/biz/contact/departmentsPicker.js +0 -10
- package/es/api/biz/group/groupComplexPicker.d.ts +0 -33
- package/es/api/biz/group/groupComplexPicker.js +0 -10
- package/es/api/biz/map/multipointView.d.ts +0 -21
- package/es/api/biz/map/multipointView.js +0 -21
- package/es/api/biz/map/view.d.ts +0 -13
- package/es/api/biz/map/view.js +0 -21
- package/es/api/biz/navigation/close.d.ts +0 -7
- package/es/api/biz/navigation/close.js +0 -11
- package/es/api/biz/navigation/goBack.d.ts +0 -7
- package/es/api/biz/navigation/goBack.js +0 -21
- package/es/api/biz/navigation/quit.d.ts +0 -8
- package/es/api/biz/navigation/quit.js +0 -17
- package/es/api/biz/navigation/replace.d.ts +0 -8
- package/es/api/biz/navigation/replace.js +0 -10
- package/es/api/biz/navigation/setIcon.d.ts +0 -12
- package/es/api/biz/navigation/setIcon.js +0 -29
- package/es/api/biz/navigation/setLeft.d.ts +0 -9
- package/es/api/biz/navigation/setLeft.js +0 -33
- package/es/api/biz/navigation/setMenu.d.ts +0 -20
- package/es/api/biz/navigation/setMenu.js +0 -27
- package/es/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
- package/es/api/biz/navigation/setPanGestureEnable.js +0 -28
- package/es/api/biz/navigation/setRight.d.ts +0 -13
- package/es/api/biz/navigation/setRight.js +0 -33
- package/es/api/biz/navigation/setTitle.d.ts +0 -11
- package/es/api/biz/navigation/setTitle.js +0 -10
- package/es/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
- package/es/api/biz/navigation/setTitleExpandIcon.js +0 -27
- package/es/api/biz/navigation/setWindowBig.d.ts +0 -9
- package/es/api/biz/navigation/setWindowBig.js +0 -18
- package/es/api/biz/navigation/tencentMeeting.d.ts +0 -23
- package/es/api/biz/navigation/tencentMeeting.js +0 -10
- package/es/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
- package/es/api/biz/navigation/tencentMeetingBegin.js +0 -10
- package/es/api/biz/navigation/updateExpandTitle.d.ts +0 -8
- package/es/api/biz/navigation/updateExpandTitle.js +0 -10
- package/es/api/biz/telephone/call.d.ts +0 -9
- package/es/api/biz/telephone/call.js +0 -21
- package/es/api/biz/telephone/showCallMenu.d.ts +0 -12
- package/es/api/biz/telephone/showCallMenu.js +0 -21
- package/es/api/biz/util/addAppToNav.d.ts +0 -9
- package/es/api/biz/util/addAppToNav.js +0 -25
- package/es/api/biz/util/assistantCreate.d.ts +0 -11
- package/es/api/biz/util/assistantCreate.js +0 -25
- package/es/api/biz/util/authFinish.d.ts +0 -11
- package/es/api/biz/util/authFinish.js +0 -21
- package/es/api/biz/util/authStart.d.ts +0 -9
- package/es/api/biz/util/authStart.js +0 -21
- package/es/api/biz/util/chosen.d.ts +0 -15
- package/es/api/biz/util/chosen.js +0 -21
- package/es/api/biz/util/clipboardFileUpload.d.ts +0 -7
- package/es/api/biz/util/clipboardFileUpload.js +0 -10
- package/es/api/biz/util/closeWindow.d.ts +0 -8
- package/es/api/biz/util/closeWindow.js +0 -17
- package/es/api/biz/util/complain.d.ts +0 -12
- package/es/api/biz/util/complain.js +0 -10
- package/es/api/biz/util/createModifySchedule.d.ts +0 -26
- package/es/api/biz/util/createModifySchedule.js +0 -17
- package/es/api/biz/util/datepicker.d.ts +0 -14
- package/es/api/biz/util/datepicker.js +0 -21
- package/es/api/biz/util/datetimepicker.d.ts +0 -14
- package/es/api/biz/util/datetimepicker.js +0 -21
- package/es/api/biz/util/disableScreenCapture.d.ts +0 -8
- package/es/api/biz/util/disableScreenCapture.js +0 -21
- package/es/api/biz/util/downloadFile.d.ts +0 -9
- package/es/api/biz/util/downloadFile.js +0 -10
- package/es/api/biz/util/entergroupCheck.d.ts +0 -11
- package/es/api/biz/util/entergroupCheck.js +0 -25
- package/es/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
- package/es/api/biz/util/externalLinkPreviewFile.js +0 -10
- package/es/api/biz/util/feedback.d.ts +0 -11
- package/es/api/biz/util/feedback.js +0 -10
- package/es/api/biz/util/getSingleWebviewData.d.ts +0 -8
- package/es/api/biz/util/getSingleWebviewData.js +0 -10
- package/es/api/biz/util/getTogetherConfig.d.ts +0 -11
- package/es/api/biz/util/getTogetherConfig.js +0 -25
- package/es/api/biz/util/getToken.d.ts +0 -11
- package/es/api/biz/util/getToken.js +0 -21
- package/es/api/biz/util/injectScript.d.ts +0 -9
- package/es/api/biz/util/injectScript.js +0 -10
- package/es/api/biz/util/invoice.d.ts +0 -12
- package/es/api/biz/util/invoice.js +0 -17
- package/es/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
- package/es/api/biz/util/knowledgeBaseSelect.js +0 -17
- package/es/api/biz/util/mediaFileUpload.d.ts +0 -26
- package/es/api/biz/util/mediaFileUpload.js +0 -17
- package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -25
- package/es/api/biz/util/open.d.ts +0 -9
- package/es/api/biz/util/open.js +0 -10
- package/es/api/biz/util/openFutureGroup.d.ts +0 -10
- package/es/api/biz/util/openFutureGroup.js +0 -25
- package/es/api/biz/util/openLink.d.ts +0 -8
- package/es/api/biz/util/openLink.js +0 -10
- package/es/api/biz/util/openMediaFileDialog.d.ts +0 -23
- package/es/api/biz/util/openMediaFileDialog.js +0 -17
- package/es/api/biz/util/openSingleWebview.d.ts +0 -23
- package/es/api/biz/util/openSingleWebview.js +0 -17
- package/es/api/biz/util/openSlidePanel.d.ts +0 -11
- package/es/api/biz/util/openSlidePanel.js +0 -17
- package/es/api/biz/util/openTalYoungToTopic.d.ts +0 -6
- package/es/api/biz/util/openTalYoungToTopic.js +0 -17
- package/es/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
- package/es/api/biz/util/openTogetherEyeWebview.js +0 -25
- package/es/api/biz/util/openUserSchedule.d.ts +0 -11
- package/es/api/biz/util/openUserSchedule.js +0 -25
- package/es/api/biz/util/openVideoPlayer.d.ts +0 -27
- package/es/api/biz/util/openVideoPlayer.js +0 -25
- package/es/api/biz/util/previewFile.d.ts +0 -11
- package/es/api/biz/util/previewFile.js +0 -10
- package/es/api/biz/util/previewImage.d.ts +0 -9
- package/es/api/biz/util/previewImage.js +0 -10
- package/es/api/biz/util/proxy.d.ts +0 -13
- package/es/api/biz/util/proxy.js +0 -10
- package/es/api/biz/util/pushWorkMsg.d.ts +0 -10
- package/es/api/biz/util/pushWorkMsg.js +0 -17
- package/es/api/biz/util/remind.d.ts +0 -15
- package/es/api/biz/util/remind.js +0 -25
- package/es/api/biz/util/resetSessionUnread.d.ts +0 -8
- package/es/api/biz/util/resetSessionUnread.js +0 -23
- package/es/api/biz/util/rouseApp.d.ts +0 -12
- package/es/api/biz/util/rouseApp.js +0 -17
- package/es/api/biz/util/savePic.d.ts +0 -8
- package/es/api/biz/util/savePic.js +0 -21
- package/es/api/biz/util/scan.d.ts +0 -11
- package/es/api/biz/util/scan.js +0 -21
- package/es/api/biz/util/screen.d.ts +0 -15
- package/es/api/biz/util/screen.js +0 -17
- package/es/api/biz/util/selectDepartment.d.ts +0 -9
- package/es/api/biz/util/selectDepartment.js +0 -10
- package/es/api/biz/util/share.d.ts +0 -12
- package/es/api/biz/util/share.js +0 -21
- package/es/api/biz/util/takePicture.d.ts +0 -13
- package/es/api/biz/util/takePicture.js +0 -10
- package/es/api/biz/util/uploadAttachment.d.ts +0 -55
- package/es/api/biz/util/uploadAttachment.js +0 -10
- package/es/api/biz/util/weeklyRead.d.ts +0 -5
- package/es/api/biz/util/weeklyRead.js +0 -25
- package/es/api/biz/util/yachEvent.d.ts +0 -12
- package/es/api/biz/util/yachEvent.js +0 -29
- package/es/api/biz/util/zfbAuth.d.ts +0 -10
- package/es/api/biz/util/zfbAuth.js +0 -21
- package/es/api/biz/webViewMessage/send.d.ts +0 -7
- package/es/api/biz/webViewMessage/send.js +0 -17
- package/es/api/common.typings.d.ts +0 -9
- package/es/api/common.typings.js +0 -0
- package/es/api/device/audio/download.d.ts +0 -8
- package/es/api/device/audio/download.js +0 -21
- package/es/api/device/audio/onPlayEnd.d.ts +0 -7
- package/es/api/device/audio/onPlayEnd.js +0 -21
- package/es/api/device/audio/onRecordEnd.d.ts +0 -7
- package/es/api/device/audio/onRecordEnd.js +0 -21
- package/es/api/device/audio/onRecordEnd_v2.d.ts +0 -7
- package/es/api/device/audio/onRecordEnd_v2.js +0 -21
- package/es/api/device/audio/pause.d.ts +0 -8
- package/es/api/device/audio/pause.js +0 -21
- package/es/api/device/audio/play.d.ts +0 -8
- package/es/api/device/audio/play.js +0 -21
- package/es/api/device/audio/resume.d.ts +0 -8
- package/es/api/device/audio/resume.js +0 -21
- package/es/api/device/audio/startRecord.d.ts +0 -8
- package/es/api/device/audio/startRecord.js +0 -21
- package/es/api/device/audio/startRecord_v2.d.ts +0 -8
- package/es/api/device/audio/startRecord_v2.js +0 -21
- package/es/api/device/audio/stop.d.ts +0 -8
- package/es/api/device/audio/stop.js +0 -21
- package/es/api/device/audio/stopRecord.d.ts +0 -7
- package/es/api/device/audio/stopRecord.js +0 -21
- package/es/api/device/audio/stopRecord_v2.d.ts +0 -7
- package/es/api/device/audio/stopRecord_v2.js +0 -21
- package/es/api/device/base/checkStepPermission.d.ts +0 -8
- package/es/api/device/base/checkStepPermission.js +0 -21
- package/es/api/device/base/getPhoneInfo.d.ts +0 -16
- package/es/api/device/base/getPhoneInfo.js +0 -21
- package/es/api/device/base/getUUID.d.ts +0 -10
- package/es/api/device/base/getUUID.js +0 -25
- package/es/api/device/connection/getNetworkType.d.ts +0 -10
- package/es/api/device/connection/getNetworkType.js +0 -21
- package/es/api/device/connection/isAtTal.d.ts +0 -10
- package/es/api/device/connection/isAtTal.js +0 -23
- package/es/api/device/geolocation/get.d.ts +0 -42
- package/es/api/device/geolocation/get.js +0 -21
- package/es/api/device/geolocation/getSwitch.d.ts +0 -10
- package/es/api/device/geolocation/getSwitch.js +0 -17
- package/es/api/device/notification/actionSheet.d.ts +0 -15
- package/es/api/device/notification/actionSheet.js +0 -21
- package/es/api/device/notification/alert.d.ts +0 -13
- package/es/api/device/notification/alert.js +0 -25
- package/es/api/device/notification/confirm.d.ts +0 -16
- package/es/api/device/notification/confirm.js +0 -25
- package/es/api/device/notification/hidePreloader.d.ts +0 -12
- package/es/api/device/notification/hidePreloader.js +0 -36
- package/es/api/device/notification/showPreloader.d.ts +0 -18
- package/es/api/device/notification/showPreloader.js +0 -36
- package/es/api/device/notification/toast.d.ts +0 -15
- package/es/api/device/notification/toast.js +0 -10
- package/es/api/device/notification/vibrate.d.ts +0 -8
- package/es/api/device/notification/vibrate.js +0 -21
- package/es/api/device/system/getLang.d.ts +0 -10
- package/es/api/device/system/getLang.js +0 -10
- package/es/api/device/system/setLight.d.ts +0 -8
- package/es/api/device/system/setLight.js +0 -21
- package/es/api/initAPI.d.ts +0 -6
- package/es/api/initAPI.js +0 -24
- package/es/api/primary/createTab.d.ts +0 -13
- package/es/api/primary/createTab.js +0 -17
- package/es/api/primary/exitFullScreen.d.ts +0 -7
- package/es/api/primary/exitFullScreen.js +0 -17
- package/es/api/primary/fullScreen.d.ts +0 -7
- package/es/api/primary/fullScreen.js +0 -17
- package/es/api/primary/weeklyShare.d.ts +0 -13
- package/es/api/primary/weeklyShare.js +0 -17
- package/es/api/runtime/permission/requestAuthCode.d.ts +0 -12
- package/es/api/runtime/permission/requestAuthCode.js +0 -10
- package/es/api/ui/pullToRefresh/disable.d.ts +0 -7
- package/es/api/ui/pullToRefresh/disable.js +0 -21
- package/es/api/ui/pullToRefresh/enable.d.ts +0 -7
- package/es/api/ui/pullToRefresh/enable.js +0 -21
- package/es/api/ui/pullToRefresh/stop.d.ts +0 -7
- package/es/api/ui/pullToRefresh/stop.js +0 -21
- package/es/api/ui/webViewBounce/disable.d.ts +0 -7
- package/es/api/ui/webViewBounce/disable.js +0 -17
- package/es/api/util/domainStorage/getItem.d.ts +0 -12
- package/es/api/util/domainStorage/getItem.js +0 -21
- package/es/api/util/domainStorage/removeItem.d.ts +0 -9
- package/es/api/util/domainStorage/removeItem.js +0 -21
- package/es/api/util/domainStorage/setItem.d.ts +0 -11
- package/es/api/util/domainStorage/setItem.js +0 -21
- package/es/api/util/tool/flushLog.d.ts +0 -7
- package/es/api/util/tool/flushLog.js +0 -17
- package/es/api/util/tool/log.d.ts +0 -9
- package/es/api/util/tool/log.js +0 -17
- package/es/index.d.ts +0 -325
- package/es/index.js +0 -353
- package/es/lib/bridge/index.d.ts +0 -2
- package/es/lib/bridge/index.js +0 -2
- package/es/lib/bridge/mobile.d.ts +0 -13
- package/es/lib/bridge/mobile.js +0 -184
- package/es/lib/bridge/pc.d.ts +0 -4
- package/es/lib/bridge/pc.js +0 -94
- package/es/lib/helper/apiHelper.d.ts +0 -2
- package/es/lib/helper/apiHelper.js +0 -10
- package/es/lib/helper/codeMap.d.ts +0 -2
- package/es/lib/helper/codeMap.js +0 -8
- package/es/lib/helper/event.d.ts +0 -9
- package/es/lib/helper/event.js +0 -52
- package/es/lib/helper/pcIframe.d.ts +0 -44
- package/es/lib/helper/pcIframe.js +0 -180
- package/es/lib/index.d.ts +0 -4
- package/es/lib/index.js +0 -92
- package/es/lib/sdk/index.d.ts +0 -19
- package/es/lib/sdk/index.js +0 -191
- package/es/lib/sdk/sdk.typings.d.ts +0 -85
- package/es/lib/sdk/sdk.typings.js +0 -8
- package/es/utils/bpitLog.d.ts +0 -16
- package/es/utils/bpitLog.js +0 -71
- package/es/utils/compareVersions.d.ts +0 -58
- package/es/utils/compareVersions.js +0 -192
- package/es/utils/console.d.ts +0 -4
- package/es/utils/console.js +0 -60
- package/es/utils/env.d.ts +0 -3
- package/es/utils/env.js +0 -52
- package/es/utils/index.d.ts +0 -4
- package/es/utils/index.js +0 -25
- package/libs/api/app/custom/talYoungFilesUpload.d.ts +0 -38
- package/libs/api/app/custom/talYoungFilesUpload.js +0 -29
- package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
- package/libs/api/biz/chat/chooseConversationByCorpId.js +0 -21
- package/libs/api/biz/chat/openSingleChat.d.ts +0 -10
- package/libs/api/biz/chat/openSingleChat.js +0 -21
- package/libs/api/biz/chat/openSquad.d.ts +0 -8
- package/libs/api/biz/chat/openSquad.js +0 -21
- package/libs/api/biz/chat/openTeamChat.d.ts +0 -10
- package/libs/api/biz/chat/openTeamChat.js +0 -21
- package/libs/api/biz/chat/pickConversation.d.ts +0 -19
- package/libs/api/biz/chat/pickConversation.js +0 -32
- package/libs/api/biz/chat/sendP2PMsg.d.ts +0 -10
- package/libs/api/biz/chat/sendP2PMsg.js +0 -21
- package/libs/api/biz/contact/complexPicker.d.ts +0 -62
- package/libs/api/biz/contact/complexPicker.js +0 -21
- package/libs/api/biz/contact/departmentsPicker.d.ts +0 -35
- package/libs/api/biz/contact/departmentsPicker.js +0 -21
- package/libs/api/biz/group/groupComplexPicker.d.ts +0 -33
- package/libs/api/biz/group/groupComplexPicker.js +0 -21
- package/libs/api/biz/map/multipointView.d.ts +0 -21
- package/libs/api/biz/map/multipointView.js +0 -32
- package/libs/api/biz/map/view.d.ts +0 -13
- package/libs/api/biz/map/view.js +0 -32
- package/libs/api/biz/navigation/close.d.ts +0 -7
- package/libs/api/biz/navigation/close.js +0 -22
- package/libs/api/biz/navigation/goBack.d.ts +0 -7
- package/libs/api/biz/navigation/goBack.js +0 -32
- package/libs/api/biz/navigation/quit.d.ts +0 -8
- package/libs/api/biz/navigation/quit.js +0 -28
- package/libs/api/biz/navigation/replace.d.ts +0 -8
- package/libs/api/biz/navigation/replace.js +0 -21
- package/libs/api/biz/navigation/setIcon.d.ts +0 -12
- package/libs/api/biz/navigation/setIcon.js +0 -41
- package/libs/api/biz/navigation/setLeft.d.ts +0 -9
- package/libs/api/biz/navigation/setLeft.js +0 -45
- package/libs/api/biz/navigation/setMenu.d.ts +0 -20
- package/libs/api/biz/navigation/setMenu.js +0 -39
- package/libs/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
- package/libs/api/biz/navigation/setPanGestureEnable.js +0 -40
- package/libs/api/biz/navigation/setRight.d.ts +0 -13
- package/libs/api/biz/navigation/setRight.js +0 -45
- package/libs/api/biz/navigation/setTitle.d.ts +0 -11
- package/libs/api/biz/navigation/setTitle.js +0 -21
- package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
- package/libs/api/biz/navigation/setTitleExpandIcon.js +0 -39
- package/libs/api/biz/navigation/setWindowBig.d.ts +0 -9
- package/libs/api/biz/navigation/setWindowBig.js +0 -29
- package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -23
- package/libs/api/biz/navigation/tencentMeeting.js +0 -21
- package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
- package/libs/api/biz/navigation/tencentMeetingBegin.js +0 -21
- package/libs/api/biz/navigation/updateExpandTitle.d.ts +0 -8
- package/libs/api/biz/navigation/updateExpandTitle.js +0 -21
- package/libs/api/biz/telephone/call.d.ts +0 -9
- package/libs/api/biz/telephone/call.js +0 -32
- package/libs/api/biz/telephone/showCallMenu.d.ts +0 -12
- package/libs/api/biz/telephone/showCallMenu.js +0 -32
- package/libs/api/biz/util/addAppToNav.d.ts +0 -9
- package/libs/api/biz/util/addAppToNav.js +0 -36
- package/libs/api/biz/util/assistantCreate.d.ts +0 -11
- package/libs/api/biz/util/assistantCreate.js +0 -36
- package/libs/api/biz/util/authFinish.d.ts +0 -11
- package/libs/api/biz/util/authFinish.js +0 -32
- package/libs/api/biz/util/authStart.d.ts +0 -9
- package/libs/api/biz/util/authStart.js +0 -32
- package/libs/api/biz/util/chosen.d.ts +0 -15
- package/libs/api/biz/util/chosen.js +0 -32
- package/libs/api/biz/util/clipboardFileUpload.d.ts +0 -7
- package/libs/api/biz/util/clipboardFileUpload.js +0 -21
- package/libs/api/biz/util/closeWindow.d.ts +0 -8
- package/libs/api/biz/util/closeWindow.js +0 -28
- package/libs/api/biz/util/complain.d.ts +0 -12
- package/libs/api/biz/util/complain.js +0 -21
- package/libs/api/biz/util/createModifySchedule.d.ts +0 -26
- package/libs/api/biz/util/createModifySchedule.js +0 -28
- package/libs/api/biz/util/datepicker.d.ts +0 -14
- package/libs/api/biz/util/datepicker.js +0 -32
- package/libs/api/biz/util/datetimepicker.d.ts +0 -14
- package/libs/api/biz/util/datetimepicker.js +0 -32
- package/libs/api/biz/util/disableScreenCapture.d.ts +0 -8
- package/libs/api/biz/util/disableScreenCapture.js +0 -32
- package/libs/api/biz/util/downloadFile.d.ts +0 -9
- package/libs/api/biz/util/downloadFile.js +0 -21
- package/libs/api/biz/util/entergroupCheck.d.ts +0 -11
- package/libs/api/biz/util/entergroupCheck.js +0 -36
- package/libs/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
- package/libs/api/biz/util/externalLinkPreviewFile.js +0 -21
- package/libs/api/biz/util/feedback.d.ts +0 -11
- package/libs/api/biz/util/feedback.js +0 -21
- package/libs/api/biz/util/getSingleWebviewData.d.ts +0 -8
- package/libs/api/biz/util/getSingleWebviewData.js +0 -21
- package/libs/api/biz/util/getTogetherConfig.d.ts +0 -11
- package/libs/api/biz/util/getTogetherConfig.js +0 -36
- package/libs/api/biz/util/getToken.d.ts +0 -11
- package/libs/api/biz/util/getToken.js +0 -32
- package/libs/api/biz/util/injectScript.d.ts +0 -9
- package/libs/api/biz/util/injectScript.js +0 -21
- package/libs/api/biz/util/invoice.d.ts +0 -12
- package/libs/api/biz/util/invoice.js +0 -28
- package/libs/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
- package/libs/api/biz/util/knowledgeBaseSelect.js +0 -28
- package/libs/api/biz/util/mediaFileUpload.d.ts +0 -26
- package/libs/api/biz/util/mediaFileUpload.js +0 -28
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +0 -36
- package/libs/api/biz/util/open.d.ts +0 -9
- package/libs/api/biz/util/open.js +0 -21
- package/libs/api/biz/util/openFutureGroup.d.ts +0 -10
- package/libs/api/biz/util/openFutureGroup.js +0 -36
- package/libs/api/biz/util/openLink.d.ts +0 -8
- package/libs/api/biz/util/openLink.js +0 -21
- package/libs/api/biz/util/openMediaFileDialog.d.ts +0 -23
- package/libs/api/biz/util/openMediaFileDialog.js +0 -28
- package/libs/api/biz/util/openSingleWebview.d.ts +0 -23
- package/libs/api/biz/util/openSingleWebview.js +0 -28
- package/libs/api/biz/util/openSlidePanel.d.ts +0 -11
- package/libs/api/biz/util/openSlidePanel.js +0 -28
- package/libs/api/biz/util/openTalYoungToTopic.d.ts +0 -6
- package/libs/api/biz/util/openTalYoungToTopic.js +0 -28
- package/libs/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
- package/libs/api/biz/util/openTogetherEyeWebview.js +0 -36
- package/libs/api/biz/util/openUserSchedule.d.ts +0 -11
- package/libs/api/biz/util/openUserSchedule.js +0 -36
- package/libs/api/biz/util/openVideoPlayer.d.ts +0 -27
- package/libs/api/biz/util/openVideoPlayer.js +0 -36
- package/libs/api/biz/util/previewFile.d.ts +0 -11
- package/libs/api/biz/util/previewFile.js +0 -21
- package/libs/api/biz/util/previewImage.d.ts +0 -9
- package/libs/api/biz/util/previewImage.js +0 -21
- package/libs/api/biz/util/proxy.d.ts +0 -13
- package/libs/api/biz/util/proxy.js +0 -21
- package/libs/api/biz/util/pushWorkMsg.d.ts +0 -10
- package/libs/api/biz/util/pushWorkMsg.js +0 -28
- package/libs/api/biz/util/remind.d.ts +0 -15
- package/libs/api/biz/util/remind.js +0 -36
- package/libs/api/biz/util/resetSessionUnread.d.ts +0 -8
- package/libs/api/biz/util/resetSessionUnread.js +0 -34
- package/libs/api/biz/util/rouseApp.d.ts +0 -12
- package/libs/api/biz/util/rouseApp.js +0 -28
- package/libs/api/biz/util/savePic.d.ts +0 -8
- package/libs/api/biz/util/savePic.js +0 -32
- package/libs/api/biz/util/scan.d.ts +0 -11
- package/libs/api/biz/util/scan.js +0 -32
- package/libs/api/biz/util/screen.d.ts +0 -15
- package/libs/api/biz/util/screen.js +0 -28
- package/libs/api/biz/util/selectDepartment.d.ts +0 -9
- package/libs/api/biz/util/selectDepartment.js +0 -21
- package/libs/api/biz/util/share.d.ts +0 -12
- package/libs/api/biz/util/share.js +0 -32
- package/libs/api/biz/util/takePicture.d.ts +0 -13
- package/libs/api/biz/util/takePicture.js +0 -21
- package/libs/api/biz/util/uploadAttachment.d.ts +0 -55
- package/libs/api/biz/util/uploadAttachment.js +0 -21
- package/libs/api/biz/util/weeklyRead.d.ts +0 -5
- package/libs/api/biz/util/weeklyRead.js +0 -36
- package/libs/api/biz/util/yachEvent.d.ts +0 -12
- package/libs/api/biz/util/yachEvent.js +0 -40
- package/libs/api/biz/util/zfbAuth.d.ts +0 -10
- package/libs/api/biz/util/zfbAuth.js +0 -32
- package/libs/api/biz/webViewMessage/send.d.ts +0 -7
- package/libs/api/biz/webViewMessage/send.js +0 -28
- package/libs/api/common.typings.d.ts +0 -9
- package/libs/api/common.typings.js +0 -1
- package/libs/api/device/audio/download.d.ts +0 -8
- package/libs/api/device/audio/download.js +0 -32
- package/libs/api/device/audio/onPlayEnd.d.ts +0 -7
- package/libs/api/device/audio/onPlayEnd.js +0 -32
- package/libs/api/device/audio/onRecordEnd.d.ts +0 -7
- package/libs/api/device/audio/onRecordEnd.js +0 -32
- package/libs/api/device/audio/onRecordEnd_v2.d.ts +0 -7
- package/libs/api/device/audio/onRecordEnd_v2.js +0 -32
- package/libs/api/device/audio/pause.d.ts +0 -8
- package/libs/api/device/audio/pause.js +0 -32
- package/libs/api/device/audio/play.d.ts +0 -8
- package/libs/api/device/audio/play.js +0 -32
- package/libs/api/device/audio/resume.d.ts +0 -8
- package/libs/api/device/audio/resume.js +0 -32
- package/libs/api/device/audio/startRecord.d.ts +0 -8
- package/libs/api/device/audio/startRecord.js +0 -32
- package/libs/api/device/audio/startRecord_v2.d.ts +0 -8
- package/libs/api/device/audio/startRecord_v2.js +0 -32
- package/libs/api/device/audio/stop.d.ts +0 -8
- package/libs/api/device/audio/stop.js +0 -32
- package/libs/api/device/audio/stopRecord.d.ts +0 -7
- package/libs/api/device/audio/stopRecord.js +0 -32
- package/libs/api/device/audio/stopRecord_v2.d.ts +0 -7
- package/libs/api/device/audio/stopRecord_v2.js +0 -32
- package/libs/api/device/base/checkStepPermission.d.ts +0 -8
- package/libs/api/device/base/checkStepPermission.js +0 -32
- package/libs/api/device/base/getPhoneInfo.d.ts +0 -16
- package/libs/api/device/base/getPhoneInfo.js +0 -32
- package/libs/api/device/base/getUUID.d.ts +0 -10
- package/libs/api/device/base/getUUID.js +0 -36
- package/libs/api/device/connection/getNetworkType.d.ts +0 -10
- package/libs/api/device/connection/getNetworkType.js +0 -32
- package/libs/api/device/connection/isAtTal.d.ts +0 -10
- package/libs/api/device/connection/isAtTal.js +0 -34
- package/libs/api/device/geolocation/get.d.ts +0 -42
- package/libs/api/device/geolocation/get.js +0 -32
- package/libs/api/device/geolocation/getSwitch.d.ts +0 -10
- package/libs/api/device/geolocation/getSwitch.js +0 -28
- package/libs/api/device/notification/actionSheet.d.ts +0 -15
- package/libs/api/device/notification/actionSheet.js +0 -32
- package/libs/api/device/notification/alert.d.ts +0 -13
- package/libs/api/device/notification/alert.js +0 -36
- package/libs/api/device/notification/confirm.d.ts +0 -16
- package/libs/api/device/notification/confirm.js +0 -36
- package/libs/api/device/notification/hidePreloader.d.ts +0 -12
- package/libs/api/device/notification/hidePreloader.js +0 -48
- package/libs/api/device/notification/showPreloader.d.ts +0 -18
- package/libs/api/device/notification/showPreloader.js +0 -48
- package/libs/api/device/notification/toast.d.ts +0 -15
- package/libs/api/device/notification/toast.js +0 -21
- package/libs/api/device/notification/vibrate.d.ts +0 -8
- package/libs/api/device/notification/vibrate.js +0 -32
- package/libs/api/device/system/getLang.d.ts +0 -10
- package/libs/api/device/system/getLang.js +0 -21
- package/libs/api/device/system/setLight.d.ts +0 -8
- package/libs/api/device/system/setLight.js +0 -32
- package/libs/api/initAPI.d.ts +0 -6
- package/libs/api/initAPI.js +0 -38
- package/libs/api/primary/createTab.d.ts +0 -13
- package/libs/api/primary/createTab.js +0 -28
- package/libs/api/primary/exitFullScreen.d.ts +0 -7
- package/libs/api/primary/exitFullScreen.js +0 -28
- package/libs/api/primary/fullScreen.d.ts +0 -7
- package/libs/api/primary/fullScreen.js +0 -28
- package/libs/api/primary/weeklyShare.d.ts +0 -13
- package/libs/api/primary/weeklyShare.js +0 -28
- package/libs/api/runtime/permission/requestAuthCode.d.ts +0 -12
- package/libs/api/runtime/permission/requestAuthCode.js +0 -21
- package/libs/api/ui/pullToRefresh/disable.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/disable.js +0 -32
- package/libs/api/ui/pullToRefresh/enable.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/enable.js +0 -32
- package/libs/api/ui/pullToRefresh/stop.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/stop.js +0 -32
- package/libs/api/ui/webViewBounce/disable.d.ts +0 -7
- package/libs/api/ui/webViewBounce/disable.js +0 -28
- package/libs/api/util/domainStorage/getItem.d.ts +0 -12
- package/libs/api/util/domainStorage/getItem.js +0 -32
- package/libs/api/util/domainStorage/removeItem.d.ts +0 -9
- package/libs/api/util/domainStorage/removeItem.js +0 -32
- package/libs/api/util/domainStorage/setItem.d.ts +0 -11
- package/libs/api/util/domainStorage/setItem.js +0 -32
- package/libs/api/util/tool/flushLog.d.ts +0 -7
- package/libs/api/util/tool/flushLog.js +0 -28
- package/libs/api/util/tool/log.d.ts +0 -9
- package/libs/api/util/tool/log.js +0 -28
- package/libs/index.d.ts +0 -325
- package/libs/index.js +0 -1371
- package/libs/lib/bridge/index.d.ts +0 -2
- package/libs/lib/bridge/index.js +0 -39
- package/libs/lib/bridge/mobile.d.ts +0 -13
- package/libs/lib/bridge/mobile.js +0 -209
- package/libs/lib/bridge/pc.d.ts +0 -4
- package/libs/lib/bridge/pc.js +0 -114
- package/libs/lib/helper/apiHelper.d.ts +0 -2
- package/libs/lib/helper/apiHelper.js +0 -21
- package/libs/lib/helper/codeMap.d.ts +0 -2
- package/libs/lib/helper/codeMap.js +0 -19
- package/libs/lib/helper/event.d.ts +0 -9
- package/libs/lib/helper/event.js +0 -68
- package/libs/lib/helper/pcIframe.d.ts +0 -44
- package/libs/lib/helper/pcIframe.js +0 -196
- package/libs/lib/index.d.ts +0 -4
- package/libs/lib/index.js +0 -110
- package/libs/lib/sdk/index.d.ts +0 -19
- package/libs/lib/sdk/index.js +0 -208
- package/libs/lib/sdk/sdk.typings.d.ts +0 -85
- package/libs/lib/sdk/sdk.typings.js +0 -18
- package/libs/utils/bpitLog.d.ts +0 -16
- package/libs/utils/bpitLog.js +0 -81
- package/libs/utils/compareVersions.d.ts +0 -58
- package/libs/utils/compareVersions.js +0 -218
- package/libs/utils/console.d.ts +0 -4
- package/libs/utils/console.js +0 -69
- package/libs/utils/env.d.ts +0 -3
- package/libs/utils/env.js +0 -60
- package/libs/utils/index.d.ts +0 -4
- package/libs/utils/index.js +0 -64
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.audio.stopRecord';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function stopRecord(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { stopRecord };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceAudioStopRecord_v2Params {
|
|
3
|
-
onSuccess?: () => void;
|
|
4
|
-
onFail?: (err: IError) => void;
|
|
5
|
-
}
|
|
6
|
-
declare function stopRecord_v2(params?: IDeviceAudioStopRecord_v2Params): void;
|
|
7
|
-
export { stopRecord_v2 };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.audio.stopRecord_v2';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function stopRecord_v2(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { stopRecord_v2 };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceBaseCheckStepPermission {
|
|
3
|
-
appid: number;
|
|
4
|
-
onSuccess?: () => void;
|
|
5
|
-
onFail?: (err: IError) => void;
|
|
6
|
-
}
|
|
7
|
-
declare function checkStepPermission(params: IDeviceBaseCheckStepPermission): void;
|
|
8
|
-
export { checkStepPermission };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.base.checkStepPermission';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function checkStepPermission(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { checkStepPermission };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceBaseGetPhoneInfoResult {
|
|
3
|
-
screenWidth: Number;
|
|
4
|
-
screenHeight: Number;
|
|
5
|
-
brand: String;
|
|
6
|
-
model: String;
|
|
7
|
-
version: String;
|
|
8
|
-
netInfo: String;
|
|
9
|
-
operatorType: String;
|
|
10
|
-
}
|
|
11
|
-
export interface IDeviceBaseGetPhoneInfoParams {
|
|
12
|
-
onSuccess?: (data: IDeviceBaseGetPhoneInfoResult) => void;
|
|
13
|
-
onFail?: (err: IError) => void;
|
|
14
|
-
}
|
|
15
|
-
declare function getPhoneInfo(params?: IDeviceBaseGetPhoneInfoParams): void;
|
|
16
|
-
export { getPhoneInfo };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.base.getPhoneInfo';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function getPhoneInfo(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { getPhoneInfo };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceBaseGetUUIDResult {
|
|
3
|
-
uuid: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceBaseGetUUIDParams {
|
|
6
|
-
onSuccess?: (data: IDeviceBaseGetUUIDResult) => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function getUUID(params?: IDeviceBaseGetUUIDParams): void;
|
|
10
|
-
export { getUUID };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.base.getUUID';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '1.8.1'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
ios: ios,
|
|
14
|
-
android: android,
|
|
15
|
-
pc: pc
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function getUUID(params) {
|
|
19
|
-
initAPI(apiName, {
|
|
20
|
-
params: params,
|
|
21
|
-
platform: platform
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { getUUID };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceConnectionGetNetworkTypeResult {
|
|
3
|
-
result: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceConnectionGetNetworkTypeParams {
|
|
6
|
-
onSuccess?: (data: IDeviceConnectionGetNetworkTypeResult) => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function getNetworkType(params?: IDeviceConnectionGetNetworkTypeParams): void;
|
|
10
|
-
export { getNetworkType };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.connection.getNetworkType';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function getNetworkType(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { getNetworkType };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceConnectionIsAtTalResult {
|
|
3
|
-
result: boolean;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceConnectionIsAtTalResultParams {
|
|
6
|
-
onSuccess?: (data: IDeviceConnectionIsAtTalResult) => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function isAtTal(params?: IDeviceConnectionIsAtTalResultParams): void;
|
|
10
|
-
export { isAtTal };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.connection.isAtTal'; // const ios = {
|
|
3
|
-
// vs: '0.0.0',
|
|
4
|
-
// };
|
|
5
|
-
// const android = {
|
|
6
|
-
// vs: '0.0.0',
|
|
7
|
-
// };
|
|
8
|
-
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '0.0.0'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
pc: pc
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
function isAtTal(params) {
|
|
17
|
-
initAPI(apiName, {
|
|
18
|
-
params: params,
|
|
19
|
-
platform: platform
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { isAtTal };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceGeolocationGetResult {
|
|
3
|
-
longitude: string;
|
|
4
|
-
latitude: string;
|
|
5
|
-
accuracy?: string;
|
|
6
|
-
address?: string;
|
|
7
|
-
province?: string;
|
|
8
|
-
city?: string;
|
|
9
|
-
district?: string;
|
|
10
|
-
road?: string;
|
|
11
|
-
netType?: string;
|
|
12
|
-
operatorType?: string;
|
|
13
|
-
errorMessage?: string;
|
|
14
|
-
errorCode?: string;
|
|
15
|
-
isWifiEnabled?: string;
|
|
16
|
-
isGpsEnabled?: string;
|
|
17
|
-
isFromMock?: string;
|
|
18
|
-
provider?: string;
|
|
19
|
-
isMobileEnabled?: string;
|
|
20
|
-
locationDetail?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface IDeviceGeolocationGetParams {
|
|
23
|
-
/**
|
|
24
|
-
* 期望定位精度半径(单位米),定位结果尽量满足该参数要求,但是不一定能保证小于该误差,
|
|
25
|
-
* 开发者需要读取返回结果的 accuracy 字段校验坐标精度;
|
|
26
|
-
* 建议按照业务需求设置定位精度,推荐采用200m,
|
|
27
|
-
* 可获得较好的精度和较短的响应时长
|
|
28
|
-
*/
|
|
29
|
-
targetAccuracy: number;
|
|
30
|
-
/** 1:获取高德坐标, 0:获取标准坐标;推荐使用高德坐标;标准坐标没有address字段 */
|
|
31
|
-
coordinate: number;
|
|
32
|
-
/** 是否需要带有逆地理编码信息;该功能需要网络请求,请更具自己的业务场景使用 */
|
|
33
|
-
withReGeocode: boolean;
|
|
34
|
-
/** 是否缓存地理位置信息。默认是true。如果true,客户端会对定位的地理位置信息缓存,在缓存期内(2分钟)再次定位会返回旧的定位 */
|
|
35
|
-
useCache: boolean;
|
|
36
|
-
locationTimeout?: number;
|
|
37
|
-
reGeocodeTimeout?: number;
|
|
38
|
-
onSuccess?: (data: IDeviceGeolocationGetResult) => void;
|
|
39
|
-
onFail?: (err: IError) => void;
|
|
40
|
-
}
|
|
41
|
-
declare function get(params: IDeviceGeolocationGetParams): void;
|
|
42
|
-
export { get };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.geolocation.get';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function get(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { get };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceGeolocationGetSwitchResult {
|
|
3
|
-
switch: boolean;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceGeolocationGetSwitchParams {
|
|
6
|
-
onSuccess?: (data: IDeviceGeolocationGetSwitchResult) => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function getSwitch(params: IDeviceGeolocationGetSwitchParams): void;
|
|
10
|
-
export { getSwitch };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.geolocation.getSwitch';
|
|
3
|
-
var android = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var platform = {
|
|
7
|
-
android: android
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
function getSwitch(params) {
|
|
11
|
-
initAPI(apiName, {
|
|
12
|
-
params: params,
|
|
13
|
-
platform: platform
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { getSwitch };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationActionSheetResult {
|
|
3
|
-
buttonIndex: number;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceNotificationActionSheetParams {
|
|
6
|
-
cancelButton: string;
|
|
7
|
-
/** 标题 */
|
|
8
|
-
title?: string;
|
|
9
|
-
/** 其他按钮列表 */
|
|
10
|
-
otherButtons?: string[];
|
|
11
|
-
onSuccess?: (data: IDeviceNotificationActionSheetResult) => void;
|
|
12
|
-
onFail?: (err: IError) => void;
|
|
13
|
-
}
|
|
14
|
-
declare function actionSheet(params: IDeviceNotificationActionSheetParams): void;
|
|
15
|
-
export { actionSheet };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.actionSheet';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function actionSheet(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { actionSheet };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationAlertParams {
|
|
3
|
-
/** 消息内容 */
|
|
4
|
-
message: string;
|
|
5
|
-
/** 弹窗标题 */
|
|
6
|
-
title?: string;
|
|
7
|
-
/** 按钮名称 */
|
|
8
|
-
buttonName: string;
|
|
9
|
-
onSuccess?: () => void;
|
|
10
|
-
onFail?: (err: IError) => void;
|
|
11
|
-
}
|
|
12
|
-
declare function alert(params: IDeviceNotificationAlertParams): void;
|
|
13
|
-
export { alert };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.alert';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '0.0.0'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
ios: ios,
|
|
14
|
-
android: android,
|
|
15
|
-
pc: pc
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function alert(params) {
|
|
19
|
-
initAPI(apiName, {
|
|
20
|
-
params: params,
|
|
21
|
-
platform: platform
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { alert };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationConfirmResult {
|
|
3
|
-
buttonIndex: number;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceNotificationConfirmParams {
|
|
6
|
-
/** 消息说明 */
|
|
7
|
-
message: string;
|
|
8
|
-
/** 标题 */
|
|
9
|
-
title?: string;
|
|
10
|
-
/** 按钮名称 */
|
|
11
|
-
buttonLabels?: string[];
|
|
12
|
-
onSuccess?: (data: IDeviceNotificationConfirmResult) => void;
|
|
13
|
-
onFail?: (err: IError) => void;
|
|
14
|
-
}
|
|
15
|
-
declare function confirm(params: IDeviceNotificationConfirmParams): void;
|
|
16
|
-
export { confirm };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.confirm';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '0.0.0'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
ios: ios,
|
|
14
|
-
android: android,
|
|
15
|
-
pc: pc
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function confirm(params) {
|
|
19
|
-
initAPI(apiName, {
|
|
20
|
-
params: params,
|
|
21
|
-
platform: platform
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { confirm };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationHidePreloaderParams {
|
|
3
|
-
onSuccess?: () => void;
|
|
4
|
-
onFail?: (err: IError) => void;
|
|
5
|
-
}
|
|
6
|
-
declare function hidePreloader(params?: IDeviceNotificationHidePreloaderParams): void;
|
|
7
|
-
interface IDeviceNotificationHideCustomPreloaderParams {
|
|
8
|
-
onSuccess?: () => void;
|
|
9
|
-
onFail?: (err: IError) => void;
|
|
10
|
-
}
|
|
11
|
-
declare function hideCustomOverlayContent(params?: IDeviceNotificationHideCustomPreloaderParams): void;
|
|
12
|
-
export { hidePreloader, hideCustomOverlayContent };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.hidePreloader';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '1.9.9'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
ios: ios,
|
|
14
|
-
android: android,
|
|
15
|
-
pc: pc
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function hidePreloader(params) {
|
|
19
|
-
initAPI(apiName, {
|
|
20
|
-
params: params,
|
|
21
|
-
platform: platform
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var apiNameCustom = 'device.notification.hideCustomOverlayContent';
|
|
26
|
-
|
|
27
|
-
function hideCustomOverlayContent(params) {
|
|
28
|
-
initAPI(apiNameCustom, {
|
|
29
|
-
params: params,
|
|
30
|
-
platform: {
|
|
31
|
-
pc: pc
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { hidePreloader, hideCustomOverlayContent };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationShowPreloaderParams {
|
|
3
|
-
text?: string;
|
|
4
|
-
showIcon?: boolean;
|
|
5
|
-
showCancel?: boolean;
|
|
6
|
-
onSuccess?: () => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function showPreloader(params?: IDeviceNotificationShowPreloaderParams): void;
|
|
10
|
-
interface IDeviceNotificationShowCustomPreloaderParams {
|
|
11
|
-
html: string;
|
|
12
|
-
styles?: string;
|
|
13
|
-
containerClassName?: string;
|
|
14
|
-
onSuccess?: () => void;
|
|
15
|
-
onFail?: (err: IError) => void;
|
|
16
|
-
}
|
|
17
|
-
declare function showCustomOverlayContent(params?: IDeviceNotificationShowCustomPreloaderParams): void;
|
|
18
|
-
export { showPreloader, showCustomOverlayContent };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.showPreloader';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var pc = {
|
|
10
|
-
vs: '1.9.9'
|
|
11
|
-
};
|
|
12
|
-
var platform = {
|
|
13
|
-
ios: ios,
|
|
14
|
-
android: android,
|
|
15
|
-
pc: pc
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function showPreloader(params) {
|
|
19
|
-
initAPI(apiName, {
|
|
20
|
-
params: params,
|
|
21
|
-
platform: platform
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var apiNameCustom = 'device.notification.showCustomOverlayContent';
|
|
26
|
-
|
|
27
|
-
function showCustomOverlayContent(params) {
|
|
28
|
-
initAPI(apiNameCustom, {
|
|
29
|
-
params: params,
|
|
30
|
-
platform: {
|
|
31
|
-
pc: pc
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export { showPreloader, showCustomOverlayContent };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationToastParams {
|
|
3
|
-
/** icon样式,不同客户端参数不同,请参考参数说明 */
|
|
4
|
-
icon: string;
|
|
5
|
-
/** 显示文案 */
|
|
6
|
-
text: string;
|
|
7
|
-
/** 显示持续时间,单位秒,默认按系统规范[android只有两种(<=2s >2s)] */
|
|
8
|
-
duration: number;
|
|
9
|
-
/** 延迟显示,单位秒,默认0 */
|
|
10
|
-
delay: number;
|
|
11
|
-
onSuccess?: () => void;
|
|
12
|
-
onFail?: (err: IError) => void;
|
|
13
|
-
}
|
|
14
|
-
declare function toast(params: IDeviceNotificationToastParams): void;
|
|
15
|
-
export { toast };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceNotificationVibrateParams {
|
|
3
|
-
duration?: number;
|
|
4
|
-
onSuccess?: () => void;
|
|
5
|
-
onFail?: (err: IError) => void;
|
|
6
|
-
}
|
|
7
|
-
declare function vibrate(params?: IDeviceNotificationVibrateParams): void;
|
|
8
|
-
export { vibrate };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.notification.vibrate';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
function vibrate(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { vibrate };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceSystemGetLangParams {
|
|
3
|
-
lang: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IDeviceSystemGetLangParams {
|
|
6
|
-
onSuccess?: (data: IDeviceSystemGetLangParams) => void;
|
|
7
|
-
onFail?: (err: IError) => void;
|
|
8
|
-
}
|
|
9
|
-
declare function getLang(params?: IDeviceSystemGetLangParams): void;
|
|
10
|
-
export { getLang };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IDeviceSystemSetLightParams {
|
|
3
|
-
light: number;
|
|
4
|
-
onSuccess?: () => void;
|
|
5
|
-
onFail?: (err: IError) => void;
|
|
6
|
-
}
|
|
7
|
-
declare function setLight(params?: IDeviceSystemSetLightParams): void;
|
|
8
|
-
export { setLight };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var ios = {
|
|
3
|
-
vs: '0.0.0'
|
|
4
|
-
};
|
|
5
|
-
var android = {
|
|
6
|
-
vs: '0.0.0'
|
|
7
|
-
};
|
|
8
|
-
var platform = {
|
|
9
|
-
ios: ios,
|
|
10
|
-
android: android
|
|
11
|
-
};
|
|
12
|
-
var apiName = 'device.system.setLight';
|
|
13
|
-
|
|
14
|
-
function setLight(params) {
|
|
15
|
-
initAPI(apiName, {
|
|
16
|
-
params: params,
|
|
17
|
-
platform: platform
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { setLight };
|