yach.open.jssdk 4.3.2 → 4.3.3-beta1
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/dist/yach_jssdk_4.3.3-beta1.js +1 -0
- package/es/api/app/custom/talYoungFilesUpload.d.ts +38 -0
- package/es/api/app/custom/talYoungFilesUpload.js +16 -0
- package/es/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
- package/es/api/biz/chat/chooseConversationByCorpId.js +8 -0
- package/es/api/biz/chat/openSingleChat.d.ts +10 -0
- package/es/api/biz/chat/openSingleChat.js +8 -0
- package/es/api/biz/chat/openSquad.d.ts +8 -0
- package/es/api/biz/chat/openSquad.js +8 -0
- package/es/api/biz/chat/openTeamChat.d.ts +10 -0
- package/es/api/biz/chat/openTeamChat.js +8 -0
- package/es/api/biz/chat/pickConversation.d.ts +19 -0
- package/es/api/biz/chat/pickConversation.js +19 -0
- package/es/api/biz/chat/sendP2PMsg.d.ts +10 -0
- package/es/api/biz/chat/sendP2PMsg.js +8 -0
- package/es/api/biz/contact/complexPicker.d.ts +62 -0
- package/es/api/biz/contact/complexPicker.js +8 -0
- package/es/api/biz/contact/departmentsPicker.d.ts +35 -0
- package/es/api/biz/contact/departmentsPicker.js +8 -0
- package/es/api/biz/group/groupComplexPicker.d.ts +33 -0
- package/es/api/biz/group/groupComplexPicker.js +8 -0
- package/es/api/biz/map/multipointView.d.ts +21 -0
- package/es/api/biz/map/multipointView.js +19 -0
- package/es/api/biz/map/view.d.ts +13 -0
- package/es/api/biz/map/view.js +19 -0
- package/es/api/biz/navigation/close.d.ts +7 -0
- package/es/api/biz/navigation/close.js +9 -0
- package/es/api/biz/navigation/goBack.d.ts +7 -0
- package/es/api/biz/navigation/goBack.js +19 -0
- package/es/api/biz/navigation/quit.d.ts +8 -0
- package/es/api/biz/navigation/quit.js +15 -0
- package/es/api/biz/navigation/replace.d.ts +8 -0
- package/es/api/biz/navigation/replace.js +8 -0
- package/es/api/biz/navigation/setIcon.d.ts +12 -0
- package/es/api/biz/navigation/setIcon.js +27 -0
- package/es/api/biz/navigation/setLeft.d.ts +9 -0
- package/es/api/biz/navigation/setLeft.js +31 -0
- package/es/api/biz/navigation/setMenu.d.ts +20 -0
- package/es/api/biz/navigation/setMenu.js +25 -0
- package/es/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
- package/es/api/biz/navigation/setPanGestureEnable.js +26 -0
- package/es/api/biz/navigation/setRight.d.ts +13 -0
- package/es/api/biz/navigation/setRight.js +31 -0
- package/es/api/biz/navigation/setTitle.d.ts +11 -0
- package/es/api/biz/navigation/setTitle.js +8 -0
- package/es/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
- package/es/api/biz/navigation/setTitleExpandIcon.js +25 -0
- package/es/api/biz/navigation/setWindowBig.d.ts +9 -0
- package/es/api/biz/navigation/setWindowBig.js +16 -0
- package/es/api/biz/navigation/tencentMeeting.d.ts +22 -0
- package/es/api/biz/navigation/tencentMeeting.js +8 -0
- package/es/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
- package/es/api/biz/navigation/tencentMeetingBegin.js +8 -0
- package/es/api/biz/navigation/updateExpandTitle.d.ts +8 -0
- package/es/api/biz/navigation/updateExpandTitle.js +8 -0
- package/es/api/biz/telephone/call.d.ts +9 -0
- package/es/api/biz/telephone/call.js +19 -0
- package/es/api/biz/telephone/showCallMenu.d.ts +12 -0
- package/es/api/biz/telephone/showCallMenu.js +19 -0
- package/es/api/biz/util/assistantCreate.d.ts +11 -0
- package/es/api/biz/util/assistantCreate.js +23 -0
- package/es/api/biz/util/authFinish.d.ts +11 -0
- package/es/api/biz/util/authFinish.js +19 -0
- package/es/api/biz/util/authStart.d.ts +9 -0
- package/es/api/biz/util/authStart.js +19 -0
- package/es/api/biz/util/chosen.d.ts +15 -0
- package/es/api/biz/util/chosen.js +19 -0
- package/es/api/biz/util/clipboardFileUpload.d.ts +7 -0
- package/es/api/biz/util/clipboardFileUpload.js +8 -0
- package/es/api/biz/util/closeWindow.d.ts +8 -0
- package/es/api/biz/util/closeWindow.js +15 -0
- package/es/api/biz/util/complain.d.ts +12 -0
- package/es/api/biz/util/complain.js +8 -0
- package/es/api/biz/util/createModifySchedule.d.ts +26 -0
- package/es/api/biz/util/createModifySchedule.js +15 -0
- package/es/api/biz/util/datepicker.d.ts +14 -0
- package/es/api/biz/util/datepicker.js +19 -0
- package/es/api/biz/util/datetimepicker.d.ts +14 -0
- package/es/api/biz/util/datetimepicker.js +19 -0
- package/es/api/biz/util/disableScreenCapture.d.ts +8 -0
- package/es/api/biz/util/disableScreenCapture.js +19 -0
- package/es/api/biz/util/downloadFile.d.ts +9 -0
- package/es/api/biz/util/downloadFile.js +8 -0
- package/es/api/biz/util/entergroupCheck.d.ts +10 -0
- package/es/api/biz/util/entergroupCheck.js +23 -0
- package/es/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
- package/es/api/biz/util/externalLinkPreviewFile.js +8 -0
- package/es/api/biz/util/feedback.d.ts +11 -0
- package/es/api/biz/util/feedback.js +8 -0
- package/es/api/biz/util/getSingleWebviewData.d.ts +8 -0
- package/es/api/biz/util/getSingleWebviewData.js +8 -0
- package/es/api/biz/util/getTogetherConfig.d.ts +11 -0
- package/es/api/biz/util/getTogetherConfig.js +23 -0
- package/es/api/biz/util/getToken.d.ts +11 -0
- package/es/api/biz/util/getToken.js +19 -0
- package/es/api/biz/util/injectScript.d.ts +9 -0
- package/es/api/biz/util/injectScript.js +8 -0
- package/es/api/biz/util/invoice.d.ts +12 -0
- package/es/api/biz/util/invoice.js +15 -0
- package/es/api/biz/util/mediaFileUpload.d.ts +26 -0
- package/es/api/biz/util/mediaFileUpload.js +15 -0
- package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +23 -0
- package/es/api/biz/util/open.d.ts +9 -0
- package/es/api/biz/util/open.js +8 -0
- package/es/api/biz/util/openLink.d.ts +8 -0
- package/es/api/biz/util/openLink.js +8 -0
- package/es/api/biz/util/openMediaFileDialog.d.ts +23 -0
- package/es/api/biz/util/openMediaFileDialog.js +15 -0
- package/es/api/biz/util/openSingleWebview.d.ts +23 -0
- package/es/api/biz/util/openSingleWebview.js +15 -0
- package/es/api/biz/util/openSlidePanel.d.ts +11 -0
- package/es/api/biz/util/openSlidePanel.js +15 -0
- package/es/api/biz/util/openTalYoungToTopic.d.ts +6 -0
- package/es/api/biz/util/openTalYoungToTopic.js +15 -0
- package/es/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
- package/es/api/biz/util/openTogetherEyeWebview.js +23 -0
- package/es/api/biz/util/openUserSchedule.d.ts +11 -0
- package/es/api/biz/util/openUserSchedule.js +23 -0
- package/es/api/biz/util/openVideoPlayer.d.ts +27 -0
- package/es/api/biz/util/openVideoPlayer.js +23 -0
- package/es/api/biz/util/previewFile.d.ts +11 -0
- package/es/api/biz/util/previewFile.js +8 -0
- package/es/api/biz/util/previewImage.d.ts +9 -0
- package/es/api/biz/util/previewImage.js +8 -0
- package/es/api/biz/util/proxy.d.ts +13 -0
- package/es/api/biz/util/proxy.js +8 -0
- package/es/api/biz/util/pushWorkMsg.d.ts +10 -0
- package/es/api/biz/util/pushWorkMsg.js +15 -0
- package/es/api/biz/util/remind.d.ts +15 -0
- package/es/api/biz/util/remind.js +23 -0
- package/es/api/biz/util/rouseApp.d.ts +12 -0
- package/es/api/biz/util/rouseApp.js +15 -0
- package/es/api/biz/util/savePic.d.ts +8 -0
- package/es/api/biz/util/savePic.js +19 -0
- package/es/api/biz/util/scan.d.ts +11 -0
- package/es/api/biz/util/scan.js +19 -0
- package/es/api/biz/util/selectDepartment.d.ts +9 -0
- package/es/api/biz/util/selectDepartment.js +8 -0
- package/es/api/biz/util/share.d.ts +12 -0
- package/es/api/biz/util/share.js +19 -0
- package/es/api/biz/util/takePicture.d.ts +13 -0
- package/es/api/biz/util/takePicture.js +8 -0
- package/es/api/biz/util/uploadAttachment.d.ts +55 -0
- package/es/api/biz/util/uploadAttachment.js +8 -0
- package/es/api/biz/util/yachEvent.d.ts +12 -0
- package/es/api/biz/util/yachEvent.js +27 -0
- package/es/api/biz/util/zfbAuth.d.ts +10 -0
- package/es/api/biz/util/zfbAuth.js +19 -0
- package/es/api/biz/webViewMessage/send.d.ts +7 -0
- package/es/api/biz/webViewMessage/send.js +15 -0
- package/es/api/common.typings.d.ts +9 -0
- package/es/api/common.typings.js +0 -0
- package/es/api/device/audio/download.d.ts +8 -0
- package/es/api/device/audio/download.js +19 -0
- package/es/api/device/audio/onPlayEnd.d.ts +7 -0
- package/es/api/device/audio/onPlayEnd.js +19 -0
- package/es/api/device/audio/onRecordEnd.d.ts +7 -0
- package/es/api/device/audio/onRecordEnd.js +19 -0
- package/es/api/device/audio/onRecordEnd_v2.d.ts +7 -0
- package/es/api/device/audio/onRecordEnd_v2.js +19 -0
- package/es/api/device/audio/pause.d.ts +8 -0
- package/es/api/device/audio/pause.js +19 -0
- package/es/api/device/audio/play.d.ts +8 -0
- package/es/api/device/audio/play.js +19 -0
- package/es/api/device/audio/resume.d.ts +8 -0
- package/es/api/device/audio/resume.js +19 -0
- package/es/api/device/audio/startRecord.d.ts +8 -0
- package/es/api/device/audio/startRecord.js +19 -0
- package/es/api/device/audio/startRecord_v2.d.ts +8 -0
- package/es/api/device/audio/startRecord_v2.js +19 -0
- package/es/api/device/audio/stop.d.ts +8 -0
- package/es/api/device/audio/stop.js +19 -0
- package/es/api/device/audio/stopRecord.d.ts +7 -0
- package/es/api/device/audio/stopRecord.js +19 -0
- package/es/api/device/audio/stopRecord_v2.d.ts +7 -0
- package/es/api/device/audio/stopRecord_v2.js +19 -0
- package/es/api/device/base/checkStepPermission.d.ts +8 -0
- package/es/api/device/base/checkStepPermission.js +19 -0
- package/es/api/device/base/getPhoneInfo.d.ts +16 -0
- package/es/api/device/base/getPhoneInfo.js +19 -0
- package/es/api/device/base/getUUID.d.ts +10 -0
- package/es/api/device/base/getUUID.js +23 -0
- package/es/api/device/connection/getNetworkType.d.ts +10 -0
- package/es/api/device/connection/getNetworkType.js +19 -0
- package/es/api/device/connection/isAtTal.d.ts +10 -0
- package/es/api/device/connection/isAtTal.js +21 -0
- package/es/api/device/geolocation/get.d.ts +42 -0
- package/es/api/device/geolocation/get.js +19 -0
- package/es/api/device/geolocation/getSwitch.d.ts +10 -0
- package/es/api/device/geolocation/getSwitch.js +15 -0
- package/es/api/device/notification/actionSheet.d.ts +15 -0
- package/es/api/device/notification/actionSheet.js +19 -0
- package/es/api/device/notification/alert.d.ts +13 -0
- package/es/api/device/notification/alert.js +23 -0
- package/es/api/device/notification/confirm.d.ts +16 -0
- package/es/api/device/notification/confirm.js +23 -0
- package/es/api/device/notification/hidePreloader.d.ts +7 -0
- package/es/api/device/notification/hidePreloader.js +19 -0
- package/es/api/device/notification/showPreloader.d.ts +9 -0
- package/es/api/device/notification/showPreloader.js +19 -0
- package/es/api/device/notification/toast.d.ts +15 -0
- package/es/api/device/notification/toast.js +8 -0
- package/es/api/device/notification/vibrate.d.ts +8 -0
- package/es/api/device/notification/vibrate.js +19 -0
- package/es/api/device/system/getLang.d.ts +10 -0
- package/es/api/device/system/getLang.js +8 -0
- package/es/api/device/system/setLight.d.ts +8 -0
- package/es/api/device/system/setLight.js +19 -0
- package/es/api/initAPI.d.ts +6 -0
- package/es/api/initAPI.js +22 -0
- package/es/api/primary/createTab.d.ts +13 -0
- package/es/api/primary/createTab.js +15 -0
- package/es/api/primary/exitFullScreen.d.ts +7 -0
- package/es/api/primary/exitFullScreen.js +15 -0
- package/es/api/primary/fullScreen.d.ts +7 -0
- package/es/api/primary/fullScreen.js +15 -0
- package/es/api/primary/weeklyShare.d.ts +13 -0
- package/es/api/primary/weeklyShare.js +15 -0
- package/es/api/runtime/permission/requestAuthCode.d.ts +12 -0
- package/es/api/runtime/permission/requestAuthCode.js +8 -0
- package/es/api/ui/pullToRefresh/disable.d.ts +7 -0
- package/es/api/ui/pullToRefresh/disable.js +19 -0
- package/es/api/ui/pullToRefresh/enable.d.ts +7 -0
- package/es/api/ui/pullToRefresh/enable.js +19 -0
- package/es/api/ui/pullToRefresh/stop.d.ts +7 -0
- package/es/api/ui/pullToRefresh/stop.js +19 -0
- package/es/api/ui/webViewBounce/disable.d.ts +7 -0
- package/es/api/ui/webViewBounce/disable.js +15 -0
- package/es/api/util/domainStorage/getItem.d.ts +12 -0
- package/es/api/util/domainStorage/getItem.js +19 -0
- package/es/api/util/domainStorage/removeItem.d.ts +9 -0
- package/es/api/util/domainStorage/removeItem.js +19 -0
- package/es/api/util/domainStorage/setItem.d.ts +11 -0
- package/es/api/util/domainStorage/setItem.js +19 -0
- package/es/api/util/tool/flushLog.d.ts +7 -0
- package/es/api/util/tool/flushLog.js +15 -0
- package/es/api/util/tool/log.d.ts +9 -0
- package/es/api/util/tool/log.js +15 -0
- package/es/index.d.ts +311 -0
- package/es/index.js +327 -0
- package/es/lib/bridge/index.d.ts +2 -0
- package/es/lib/bridge/index.js +2 -0
- package/es/lib/bridge/mobile.d.ts +13 -0
- package/es/lib/bridge/mobile.js +169 -0
- package/es/lib/bridge/pc.d.ts +4 -0
- package/es/lib/bridge/pc.js +81 -0
- package/es/lib/helper/apiHelper.d.ts +2 -0
- package/es/lib/helper/apiHelper.js +8 -0
- package/es/lib/helper/codeMap.d.ts +2 -0
- package/es/lib/helper/codeMap.js +6 -0
- package/es/lib/helper/event.d.ts +9 -0
- package/es/lib/helper/event.js +40 -0
- package/es/lib/helper/pcIframe.d.ts +44 -0
- package/es/lib/helper/pcIframe.js +148 -0
- package/es/lib/index.d.ts +4 -0
- package/es/lib/index.js +78 -0
- package/es/lib/sdk/index.d.ts +19 -0
- package/es/lib/sdk/index.js +170 -0
- package/es/lib/sdk/sdk.typings.d.ts +85 -0
- package/es/lib/sdk/sdk.typings.js +7 -0
- package/es/utils/bpitLog.d.ts +16 -0
- package/es/utils/bpitLog.js +62 -0
- package/es/utils/compareVersions.d.ts +58 -0
- package/es/utils/compareVersions.js +165 -0
- package/es/utils/console.d.ts +4 -0
- package/es/utils/console.js +44 -0
- package/es/utils/env.d.ts +3 -0
- package/es/utils/env.js +45 -0
- package/es/utils/index.d.ts +4 -0
- package/es/utils/index.js +20 -0
- package/libs/api/app/custom/talYoungFilesUpload.d.ts +38 -0
- package/libs/api/app/custom/talYoungFilesUpload.js +24 -0
- package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
- package/libs/api/biz/chat/chooseConversationByCorpId.js +15 -0
- package/libs/api/biz/chat/openSingleChat.d.ts +10 -0
- package/libs/api/biz/chat/openSingleChat.js +15 -0
- package/libs/api/biz/chat/openSquad.d.ts +8 -0
- package/libs/api/biz/chat/openSquad.js +15 -0
- package/libs/api/biz/chat/openTeamChat.d.ts +10 -0
- package/libs/api/biz/chat/openTeamChat.js +15 -0
- package/libs/api/biz/chat/pickConversation.d.ts +19 -0
- package/libs/api/biz/chat/pickConversation.js +26 -0
- package/libs/api/biz/chat/sendP2PMsg.d.ts +10 -0
- package/libs/api/biz/chat/sendP2PMsg.js +15 -0
- package/libs/api/biz/contact/complexPicker.d.ts +62 -0
- package/libs/api/biz/contact/complexPicker.js +15 -0
- package/libs/api/biz/contact/departmentsPicker.d.ts +35 -0
- package/libs/api/biz/contact/departmentsPicker.js +15 -0
- package/libs/api/biz/group/groupComplexPicker.d.ts +33 -0
- package/libs/api/biz/group/groupComplexPicker.js +15 -0
- package/libs/api/biz/map/multipointView.d.ts +21 -0
- package/libs/api/biz/map/multipointView.js +26 -0
- package/libs/api/biz/map/view.d.ts +13 -0
- package/libs/api/biz/map/view.js +26 -0
- package/libs/api/biz/navigation/close.d.ts +7 -0
- package/libs/api/biz/navigation/close.js +16 -0
- package/libs/api/biz/navigation/goBack.d.ts +7 -0
- package/libs/api/biz/navigation/goBack.js +26 -0
- package/libs/api/biz/navigation/quit.d.ts +8 -0
- package/libs/api/biz/navigation/quit.js +22 -0
- package/libs/api/biz/navigation/replace.d.ts +8 -0
- package/libs/api/biz/navigation/replace.js +15 -0
- package/libs/api/biz/navigation/setIcon.d.ts +12 -0
- package/libs/api/biz/navigation/setIcon.js +34 -0
- package/libs/api/biz/navigation/setLeft.d.ts +9 -0
- package/libs/api/biz/navigation/setLeft.js +38 -0
- package/libs/api/biz/navigation/setMenu.d.ts +20 -0
- package/libs/api/biz/navigation/setMenu.js +32 -0
- package/libs/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
- package/libs/api/biz/navigation/setPanGestureEnable.js +33 -0
- package/libs/api/biz/navigation/setRight.d.ts +13 -0
- package/libs/api/biz/navigation/setRight.js +38 -0
- package/libs/api/biz/navigation/setTitle.d.ts +11 -0
- package/libs/api/biz/navigation/setTitle.js +15 -0
- package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
- package/libs/api/biz/navigation/setTitleExpandIcon.js +32 -0
- package/libs/api/biz/navigation/setWindowBig.d.ts +9 -0
- package/libs/api/biz/navigation/setWindowBig.js +24 -0
- package/libs/api/biz/navigation/tencentMeeting.d.ts +22 -0
- package/libs/api/biz/navigation/tencentMeeting.js +15 -0
- package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
- package/libs/api/biz/navigation/tencentMeetingBegin.js +15 -0
- package/libs/api/biz/navigation/updateExpandTitle.d.ts +8 -0
- package/libs/api/biz/navigation/updateExpandTitle.js +15 -0
- package/libs/api/biz/telephone/call.d.ts +9 -0
- package/libs/api/biz/telephone/call.js +26 -0
- package/libs/api/biz/telephone/showCallMenu.d.ts +12 -0
- package/libs/api/biz/telephone/showCallMenu.js +26 -0
- package/libs/api/biz/util/assistantCreate.d.ts +11 -0
- package/libs/api/biz/util/assistantCreate.js +30 -0
- package/libs/api/biz/util/authFinish.d.ts +11 -0
- package/libs/api/biz/util/authFinish.js +26 -0
- package/libs/api/biz/util/authStart.d.ts +9 -0
- package/libs/api/biz/util/authStart.js +26 -0
- package/libs/api/biz/util/chosen.d.ts +15 -0
- package/libs/api/biz/util/chosen.js +26 -0
- package/libs/api/biz/util/clipboardFileUpload.d.ts +7 -0
- package/libs/api/biz/util/clipboardFileUpload.js +15 -0
- package/libs/api/biz/util/closeWindow.d.ts +8 -0
- package/libs/api/biz/util/closeWindow.js +22 -0
- package/libs/api/biz/util/complain.d.ts +12 -0
- package/libs/api/biz/util/complain.js +15 -0
- package/libs/api/biz/util/createModifySchedule.d.ts +26 -0
- package/libs/api/biz/util/createModifySchedule.js +22 -0
- package/libs/api/biz/util/datepicker.d.ts +14 -0
- package/libs/api/biz/util/datepicker.js +26 -0
- package/libs/api/biz/util/datetimepicker.d.ts +14 -0
- package/libs/api/biz/util/datetimepicker.js +26 -0
- package/libs/api/biz/util/disableScreenCapture.d.ts +8 -0
- package/libs/api/biz/util/disableScreenCapture.js +26 -0
- package/libs/api/biz/util/downloadFile.d.ts +9 -0
- package/libs/api/biz/util/downloadFile.js +15 -0
- package/libs/api/biz/util/entergroupCheck.d.ts +10 -0
- package/libs/api/biz/util/entergroupCheck.js +30 -0
- package/libs/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
- package/libs/api/biz/util/externalLinkPreviewFile.js +15 -0
- package/libs/api/biz/util/feedback.d.ts +11 -0
- package/libs/api/biz/util/feedback.js +15 -0
- package/libs/api/biz/util/getSingleWebviewData.d.ts +8 -0
- package/libs/api/biz/util/getSingleWebviewData.js +15 -0
- package/libs/api/biz/util/getTogetherConfig.d.ts +11 -0
- package/libs/api/biz/util/getTogetherConfig.js +30 -0
- package/libs/api/biz/util/getToken.d.ts +11 -0
- package/libs/api/biz/util/getToken.js +26 -0
- package/libs/api/biz/util/injectScript.d.ts +9 -0
- package/libs/api/biz/util/injectScript.js +15 -0
- package/libs/api/biz/util/invoice.d.ts +12 -0
- package/libs/api/biz/util/invoice.js +23 -0
- package/libs/api/biz/util/mediaFileUpload.d.ts +26 -0
- package/libs/api/biz/util/mediaFileUpload.js +23 -0
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +30 -0
- package/libs/api/biz/util/open.d.ts +9 -0
- package/libs/api/biz/util/open.js +15 -0
- package/libs/api/biz/util/openLink.d.ts +8 -0
- package/libs/api/biz/util/openLink.js +15 -0
- package/libs/api/biz/util/openMediaFileDialog.d.ts +23 -0
- package/libs/api/biz/util/openMediaFileDialog.js +23 -0
- package/libs/api/biz/util/openSingleWebview.d.ts +23 -0
- package/libs/api/biz/util/openSingleWebview.js +22 -0
- package/libs/api/biz/util/openSlidePanel.d.ts +11 -0
- package/libs/api/biz/util/openSlidePanel.js +22 -0
- package/libs/api/biz/util/openTalYoungToTopic.d.ts +6 -0
- package/libs/api/biz/util/openTalYoungToTopic.js +23 -0
- package/libs/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
- package/libs/api/biz/util/openTogetherEyeWebview.js +30 -0
- package/libs/api/biz/util/openUserSchedule.d.ts +11 -0
- package/libs/api/biz/util/openUserSchedule.js +30 -0
- package/libs/api/biz/util/openVideoPlayer.d.ts +27 -0
- package/libs/api/biz/util/openVideoPlayer.js +30 -0
- package/libs/api/biz/util/previewFile.d.ts +11 -0
- package/libs/api/biz/util/previewFile.js +15 -0
- package/libs/api/biz/util/previewImage.d.ts +9 -0
- package/libs/api/biz/util/previewImage.js +15 -0
- package/libs/api/biz/util/proxy.d.ts +13 -0
- package/libs/api/biz/util/proxy.js +15 -0
- package/libs/api/biz/util/pushWorkMsg.d.ts +10 -0
- package/libs/api/biz/util/pushWorkMsg.js +23 -0
- package/libs/api/biz/util/remind.d.ts +15 -0
- package/libs/api/biz/util/remind.js +30 -0
- package/libs/api/biz/util/rouseApp.d.ts +12 -0
- package/libs/api/biz/util/rouseApp.js +23 -0
- package/libs/api/biz/util/savePic.d.ts +8 -0
- package/libs/api/biz/util/savePic.js +26 -0
- package/libs/api/biz/util/scan.d.ts +11 -0
- package/libs/api/biz/util/scan.js +26 -0
- package/libs/api/biz/util/selectDepartment.d.ts +9 -0
- package/libs/api/biz/util/selectDepartment.js +15 -0
- package/libs/api/biz/util/share.d.ts +12 -0
- package/libs/api/biz/util/share.js +26 -0
- package/libs/api/biz/util/takePicture.d.ts +13 -0
- package/libs/api/biz/util/takePicture.js +15 -0
- package/libs/api/biz/util/uploadAttachment.d.ts +55 -0
- package/libs/api/biz/util/uploadAttachment.js +15 -0
- package/libs/api/biz/util/yachEvent.d.ts +12 -0
- package/libs/api/biz/util/yachEvent.js +34 -0
- package/libs/api/biz/util/zfbAuth.d.ts +10 -0
- package/libs/api/biz/util/zfbAuth.js +26 -0
- package/libs/api/biz/webViewMessage/send.d.ts +7 -0
- package/libs/api/biz/webViewMessage/send.js +22 -0
- package/libs/api/common.typings.d.ts +9 -0
- package/libs/api/common.typings.js +1 -0
- package/libs/api/device/audio/download.d.ts +8 -0
- package/libs/api/device/audio/download.js +26 -0
- package/libs/api/device/audio/onPlayEnd.d.ts +7 -0
- package/libs/api/device/audio/onPlayEnd.js +26 -0
- package/libs/api/device/audio/onRecordEnd.d.ts +7 -0
- package/libs/api/device/audio/onRecordEnd.js +26 -0
- package/libs/api/device/audio/onRecordEnd_v2.d.ts +7 -0
- package/libs/api/device/audio/onRecordEnd_v2.js +26 -0
- package/libs/api/device/audio/pause.d.ts +8 -0
- package/libs/api/device/audio/pause.js +26 -0
- package/libs/api/device/audio/play.d.ts +8 -0
- package/libs/api/device/audio/play.js +26 -0
- package/libs/api/device/audio/resume.d.ts +8 -0
- package/libs/api/device/audio/resume.js +26 -0
- package/libs/api/device/audio/startRecord.d.ts +8 -0
- package/libs/api/device/audio/startRecord.js +26 -0
- package/libs/api/device/audio/startRecord_v2.d.ts +8 -0
- package/libs/api/device/audio/startRecord_v2.js +26 -0
- package/libs/api/device/audio/stop.d.ts +8 -0
- package/libs/api/device/audio/stop.js +26 -0
- package/libs/api/device/audio/stopRecord.d.ts +7 -0
- package/libs/api/device/audio/stopRecord.js +26 -0
- package/libs/api/device/audio/stopRecord_v2.d.ts +7 -0
- package/libs/api/device/audio/stopRecord_v2.js +26 -0
- package/libs/api/device/base/checkStepPermission.d.ts +8 -0
- package/libs/api/device/base/checkStepPermission.js +26 -0
- package/libs/api/device/base/getPhoneInfo.d.ts +16 -0
- package/libs/api/device/base/getPhoneInfo.js +26 -0
- package/libs/api/device/base/getUUID.d.ts +10 -0
- package/libs/api/device/base/getUUID.js +30 -0
- package/libs/api/device/connection/getNetworkType.d.ts +10 -0
- package/libs/api/device/connection/getNetworkType.js +26 -0
- package/libs/api/device/connection/isAtTal.d.ts +10 -0
- package/libs/api/device/connection/isAtTal.js +28 -0
- package/libs/api/device/geolocation/get.d.ts +42 -0
- package/libs/api/device/geolocation/get.js +26 -0
- package/libs/api/device/geolocation/getSwitch.d.ts +10 -0
- package/libs/api/device/geolocation/getSwitch.js +22 -0
- package/libs/api/device/notification/actionSheet.d.ts +15 -0
- package/libs/api/device/notification/actionSheet.js +26 -0
- package/libs/api/device/notification/alert.d.ts +13 -0
- package/libs/api/device/notification/alert.js +30 -0
- package/libs/api/device/notification/confirm.d.ts +16 -0
- package/libs/api/device/notification/confirm.js +30 -0
- package/libs/api/device/notification/hidePreloader.d.ts +7 -0
- package/libs/api/device/notification/hidePreloader.js +26 -0
- package/libs/api/device/notification/showPreloader.d.ts +9 -0
- package/libs/api/device/notification/showPreloader.js +26 -0
- package/libs/api/device/notification/toast.d.ts +15 -0
- package/libs/api/device/notification/toast.js +15 -0
- package/libs/api/device/notification/vibrate.d.ts +8 -0
- package/libs/api/device/notification/vibrate.js +26 -0
- package/libs/api/device/system/getLang.d.ts +10 -0
- package/libs/api/device/system/getLang.js +15 -0
- package/libs/api/device/system/setLight.d.ts +8 -0
- package/libs/api/device/system/setLight.js +26 -0
- package/libs/api/initAPI.d.ts +6 -0
- package/libs/api/initAPI.js +29 -0
- package/libs/api/primary/createTab.d.ts +13 -0
- package/libs/api/primary/createTab.js +22 -0
- package/libs/api/primary/exitFullScreen.d.ts +7 -0
- package/libs/api/primary/exitFullScreen.js +22 -0
- package/libs/api/primary/fullScreen.d.ts +7 -0
- package/libs/api/primary/fullScreen.js +22 -0
- package/libs/api/primary/weeklyShare.d.ts +13 -0
- package/libs/api/primary/weeklyShare.js +22 -0
- package/libs/api/runtime/permission/requestAuthCode.d.ts +12 -0
- package/libs/api/runtime/permission/requestAuthCode.js +15 -0
- package/libs/api/ui/pullToRefresh/disable.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/disable.js +26 -0
- package/libs/api/ui/pullToRefresh/enable.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/enable.js +26 -0
- package/libs/api/ui/pullToRefresh/stop.d.ts +7 -0
- package/libs/api/ui/pullToRefresh/stop.js +26 -0
- package/libs/api/ui/webViewBounce/disable.d.ts +7 -0
- package/libs/api/ui/webViewBounce/disable.js +22 -0
- package/libs/api/util/domainStorage/getItem.d.ts +12 -0
- package/libs/api/util/domainStorage/getItem.js +26 -0
- package/libs/api/util/domainStorage/removeItem.d.ts +9 -0
- package/libs/api/util/domainStorage/removeItem.js +26 -0
- package/libs/api/util/domainStorage/setItem.d.ts +11 -0
- package/libs/api/util/domainStorage/setItem.js +26 -0
- package/libs/api/util/tool/flushLog.d.ts +7 -0
- package/libs/api/util/tool/flushLog.js +22 -0
- package/libs/api/util/tool/log.d.ts +9 -0
- package/libs/api/util/tool/log.js +22 -0
- package/libs/index.d.ts +311 -0
- package/libs/index.js +1042 -0
- package/libs/lib/bridge/index.d.ts +2 -0
- package/libs/lib/bridge/index.js +32 -0
- package/libs/lib/bridge/mobile.d.ts +13 -0
- package/libs/lib/bridge/mobile.js +175 -0
- package/libs/lib/bridge/pc.d.ts +4 -0
- package/libs/lib/bridge/pc.js +87 -0
- package/libs/lib/helper/apiHelper.d.ts +2 -0
- package/libs/lib/helper/apiHelper.js +15 -0
- package/libs/lib/helper/codeMap.d.ts +2 -0
- package/libs/lib/helper/codeMap.js +13 -0
- package/libs/lib/helper/event.d.ts +9 -0
- package/libs/lib/helper/event.js +48 -0
- package/libs/lib/helper/pcIframe.d.ts +44 -0
- package/libs/lib/helper/pcIframe.js +156 -0
- package/libs/lib/index.d.ts +4 -0
- package/libs/lib/index.js +86 -0
- package/libs/lib/sdk/index.d.ts +19 -0
- package/libs/lib/sdk/index.js +178 -0
- package/libs/lib/sdk/sdk.typings.d.ts +85 -0
- package/libs/lib/sdk/sdk.typings.js +14 -0
- package/libs/utils/bpitLog.d.ts +16 -0
- package/libs/utils/bpitLog.js +69 -0
- package/libs/utils/compareVersions.d.ts +58 -0
- package/libs/utils/compareVersions.js +173 -0
- package/libs/utils/console.d.ts +4 -0
- package/libs/utils/console.js +53 -0
- package/libs/utils/env.d.ts +3 -0
- package/libs/utils/env.js +51 -0
- package/libs/utils/index.d.ts +4 -0
- package/libs/utils/index.js +51 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.yy=function(n){var e={};function t(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var i in n)t.d(o,i,function(e){return n[e]}.bind(null,i));return o},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=1)}([function(n){n.exports=JSON.parse('{"name":"yach.open.jssdk","version":"4.3.3-beta1","description":"","module":"./es/index.js","main":"./libs/index.js","files":["es","libs","dist"],"sideEffects":false,"scripts":{"start":"yach del es && tsc -w","build":"node ./tools/run compile","prepublish":"npm run upload-cdn","postpublish":"yach open https://www.npmjs.com/package/yach.open.jssdk","upload-cdn":"npm run build && node ./upload/upload.js","lint":"eslint \'src/**/*.{js,ts}\'","lint-fix":"eslint --fix \'src/**/*.{js,ts}\'","p:beta":"npm publish --tag=beta --access public"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3"},"authors":[{"name":"ostwind","email":"9837438@qq.com"}],"license":"ISC","devDependencies":{"@babel/core":"^7.10.2","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-runtime":"^7.10.1","@babel/preset-env":"^7.9.5","@types/node":"^13.9.8","@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","babel-loader":"^8.1.0","colorful":"^2.1.0","commander":"^5.1.0","dingtalk-jsapi":"^2.10.2","eslint":"^6.8.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-concat":"^2.6.1","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","gulp-umd":"^2.0.0","gulp-util":"^3.0.8","lint-staged":"^10.0.9","prettier":"^2.0.2","qiao.ext.cos":"^0.1.2","ts-loader":"^7.0.1","typescript":"^3.8.3","webpack":"^4.43.0","webpack-cli":"^3.3.11","webpack-merge":"^4.2.2","yach.open.cli":"^1.0.1"}}')},function(n,e,t){"use strict";var o;function i(){var n="undefined"!=typeof navigator?navigator.userAgent:"",e=/Yach/i.test(n),t=/iPhone|iPad|iPod|iOS/i.test(n)&&e,i=/Android/i.test(n)&&e,r=/YachPc/i.test(n),a=/iPad/i.test(n)&&e,s=/iPhone/i.test(n)&&e,c=/Yachtest/.test(n)&&e,u=o.notInYach;return t&&(u=o.ios),i&&(u=o.android),r&&(u=o.pc),{platform:u,platformV2:{inYach:e,inIOS:t,inAndroid:i,inPC:r,inIpad:a,inIPhone:s},version:((n.match(/Yach\/[a-zA-Z0-9.-]+/)||[])[0]||"").split("/")[1]||"",language:"undefined"!=typeof navigator?navigator.language:"*",env:c?"test":"online"}}function r(n){if(n)if(n.group)if(n.project)if(n.hasOwnProperty("env"))if(n.hasOwnProperty("version")){var e=["https://es.zhiyinlou.com/log.js?"];e.push("group="+n.group),e.push("&project="+n.project),e.push("&env="+n.env),e.push("&version="+n.version),e.push("&method="+n.method),n.yachid&&e.push("&yachid="+n.yachid),n.workcode&&e.push("&workcode="+n.workcode),n.timestamp&&e.push("×tamp="+n.timestamp),n.errorcode&&e.push("&errorcode="+n.errorcode),n.message&&e.push("&message="+n.message),n.api&&n.time&&(e.push("&api="+n.api),e.push("&load_time="+n.time));var t,o,i=e.join("");t=i,(o=document.createElement("script")).type="text/javascript",o.readyState?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,document.getElementsByTagName("head")[0].removeChild(o))}:o.onload=function(){document.getElementsByTagName("head")[0].removeChild(o)},o.src=t,document.getElementsByTagName("head")[0].appendChild(o),"online"!=n.env&&console.log(i)}else console.log("bpit error: need options.version");else console.log("bpit error: need options.env");else console.log("bpit error: need options.project");else console.log("bpit error: need options.group");else console.log("bpit error: need options")}t.r(e),t.d(e,"version",(function(){return xo})),t.d(e,"sdkVersion",(function(){return Fo})),t.d(e,"env",(function(){return Ao})),t.d(e,"platform",(function(){return Eo})),t.d(e,"platformV2",(function(){return Do})),t.d(e,"config",(function(){return jo})),t.d(e,"ready",(function(){return Vo})),t.d(e,"error",(function(){return Wo})),t.d(e,"on",(function(){return Ro})),t.d(e,"off",(function(){return _o})),t.d(e,"openLink",(function(){return B})),t.d(e,"feedback",(function(){return O})),t.d(e,"open",(function(){return L})),t.d(e,"openSlidePanel",(function(){return H})),t.d(e,"share",(function(){return J})),t.d(e,"previewFile",(function(){return Y})),t.d(e,"previewImage",(function(){return q})),t.d(e,"downloadFile",(function(){return K})),t.d(e,"uploadAttachment",(function(){return G})),t.d(e,"clipboardFileUpload",(function(){return $})),t.d(e,"proxy",(function(){return X})),t.d(e,"datepicker",(function(){return Q})),t.d(e,"scan",(function(){return on})),t.d(e,"chosen",(function(){return dn})),t.d(e,"openSingleWebview",(function(){return pn})),t.d(e,"getSingleWebviewData",(function(){return fn})),t.d(e,"injectScript",(function(){return vn})),t.d(e,"closeWindow",(function(){return gn})),t.d(e,"showCallMenu",(function(){return oo})),t.d(e,"call",(function(){return ro})),t.d(e,"setIcon",(function(){return ue})),t.d(e,"setTitle",(function(){return de})),t.d(e,"setMenu",(function(){return fe})),t.d(e,"close",(function(){return ve})),t.d(e,"replacePage",(function(){return me})),t.d(e,"quit",(function(){return he})),t.d(e,"setRight",(function(){return ye})),t.d(e,"setTitleExpandIcon",(function(){return Se})),t.d(e,"updateExpandTitle",(function(){return ze})),t.d(e,"setLeft",(function(){return Ce})),t.d(e,"goBack",(function(){return xe})),t.d(e,"complexPicker",(function(){return Re})),t.d(e,"departmentsPicker",(function(){return _e})),t.d(e,"groupComplexPicker",(function(){return Be})),t.d(e,"chooseConversationByCorpId",(function(){return Oe})),t.d(e,"pickConversation",(function(){return Ne})),t.d(e,"openSingleChat",(function(){return He})),t.d(e,"openTeamChat",(function(){return Ue})),t.d(e,"openSquad",(function(){return Je})),t.d(e,"sendP2PMsg",(function(){return Ye})),t.d(e,"mapView",(function(){return an})),t.d(e,"multipointView",(function(){return cn})),t.d(e,"requestAuthCode",(function(){return et})),t.d(e,"createTab",(function(){return Ke})),t.d(e,"weeklyShare",(function(){return $e})),t.d(e,"fullScreen",(function(){return Ze})),t.d(e,"exitFullScreen",(function(){return nt})),t.d(e,"showPreloader",(function(){return ot})),t.d(e,"hidePreloader",(function(){return rt})),t.d(e,"vibrate",(function(){return st})),t.d(e,"toast",(function(){return ct})),t.d(e,"alert",(function(){return vt})),t.d(e,"confirm",(function(){return gt})),t.d(e,"getPhoneInfo",(function(){return pt})),t.d(e,"getUUID",(function(){return Jt})),t.d(e,"checkStepPermission",(function(){return qt})),t.d(e,"getGeolocation",(function(){return bt})),t.d(e,"getGeolocationSwitch",(function(){return yt})),t.d(e,"getLang",(function(){return kt})),t.d(e,"startRecord",(function(){return St})),t.d(e,"stopRecord",(function(){return It})),t.d(e,"onRecordEnd",(function(){return Ct})),t.d(e,"downloadAudio",(function(){return xt})),t.d(e,"playAudio",(function(){return At})),t.d(e,"pauseAudio",(function(){return Dt})),t.d(e,"stopAudio",(function(){return Vt})),t.d(e,"onPlayEnd",(function(){return Rt})),t.d(e,"resumeAudio",(function(){return Bt})),t.d(e,"getNetworkType",(function(){return Lt})),t.d(e,"isAtTal",(function(){return Ht})),t.d(e,"webViewBounceDisable",(function(){return so})),t.d(e,"pullToRefreshEnable",(function(){return uo})),t.d(e,"pullToRefreshStop",(function(){return po})),t.d(e,"pullToRefreshDisable",(function(){return vo})),t.d(e,"getItem",(function(){return go})),t.d(e,"setItem",(function(){return bo})),t.d(e,"removeItem",(function(){return yo})),t.d(e,"writeLog",(function(){return Po})),t.d(e,"flushLog",(function(){return zo})),t.d(e,"remind",(function(){return bn})),t.d(e,"takePicture",(function(){return wn})),t.d(e,"datetimepicker",(function(){return en})),t.d(e,"actionSheet",(function(){return dt})),t.d(e,"webViewMessageSend",(function(){return To})),t.d(e,"talYoungFilesUpload",(function(){return Co})),t.d(e,"openVideoPlayer",(function(){return kn})),t.d(e,"openMediaFileDialog",(function(){return Pn})),t.d(e,"mediaFileUpload",(function(){return Sn})),t.d(e,"invoice",(function(){return zn})),t.d(e,"pushWorkMsg",(function(){return In})),t.d(e,"openTalYoungToTopic",(function(){return Tn})),t.d(e,"getToken",(function(){return Mn})),t.d(e,"authStart",(function(){return Fn})),t.d(e,"authFinish",(function(){return En})),t.d(e,"assistantCreate",(function(){return jn})),t.d(e,"yachEvent",(function(){return Wn})),t.d(e,"openTogetherEyeWebview",(function(){return _n})),t.d(e,"getTogetherConfig",(function(){return On})),t.d(e,"rouseApp",(function(){return Ln})),t.d(e,"externalLinkPreviewFile",(function(){return Nn})),t.d(e,"savePic",(function(){return Yn})),t.d(e,"zfbAuth",(function(){return Un})),t.d(e,"complain",(function(){return qn})),t.d(e,"onRecordEnd_v2",(function(){return Gt})),t.d(e,"startRecord_v2",(function(){return Xt})),t.d(e,"stopRecord_v2",(function(){return Qt})),t.d(e,"selectDepartment",(function(){return Kn})),t.d(e,"setWindowBig",(function(){return Ae})),t.d(e,"tencentMeeting",(function(){return Ee})),t.d(e,"tencentMeetingBegin",(function(){return De})),t.d(e,"createModifySchedule",(function(){return $n})),t.d(e,"onlineDocmentOpenTeamChat",(function(){return ne})),t.d(e,"entergroupCheck",(function(){return te})),t.d(e,"setLight",(function(){return eo})),t.d(e,"openUserSchedule",(function(){return Zn})),t.d(e,"disableScreenCapture",(function(){return ie})),t.d(e,"setPanGestureEnable",(function(){return We})),function(n){n.pc="pc",n.android="android",n.ios="ios",n.notInYach="notInYach"}(o||(o={}));var a=function(){return(a=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function s(n){var e=i().env,t=i().version,o=Date.now(),s=a({group:"yach",project:"yach_31_jssdk",env:e,version:t,timestamp:o},n);console.log("jssdk 项目 bpit 上报数据:",s),r(s)}var c={log:function(){},warn:function(){},error:function(){}};if(window&&window.console&&(c=window.console),document&&document.body){var u=document.createElement("iframe");u&&u.contentWindow&&u.contentWindow.console&&(u.style.display="none",document.body.appendChild(u),c=u.contentWindow.console)}var d=c.log.bind(c),l=(c.warn.bind(c),c.error.bind(c),"color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;");function p(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return d("%c Yach-jssdk log: ",l,n)}var f=function(n,e){var t=m(n),o=m(e),i=t.pop(),r=o.pop(),a=w(t,o);return 0!==a?a:i&&r?w(i.split("."),r.split(".")):i||r?i?-1:1:0},v=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,m=function(n){if("string"!=typeof n)throw new TypeError("Invalid argument expected string");var e=n.match(v);if(!e)throw new Error("Invalid argument not valid semver ('"+n+"' received)");return e.shift(),e},g=function(n){return"*"===n||"x"===n||"X"===n},h=function(n){var e=parseInt(n,10);return isNaN(e)?n:e},b=function(n,e){if(g(n)||g(e))return 0;var t=function(n,e){return typeof n!=typeof e?[String(n),String(e)]:[n,e]}(h(n),h(e)),o=t[0],i=t[1];return o>i?1:o<i?-1:0},w=function(n,e){for(var t=0;t<Math.max(n.length,e.length);t++){var o=b(n[t]||"0",e[t]||"0");if(0!==o)return o}return 0},y={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},k=(Object.keys(y),t(0)),P=function(){function n(n){var e=this;this.invokeAPIConfigMapByMethod={},this.configJsApiList=[],this.platformConfigMap={},this.hadConfig=!1,this.bridgeInitFnPromise=null,this.cacheP={},this.config$=new Promise((function(n,t){e.cacheP.resolve=n,e.cacheP.reject=t})),this.env=n,this.exportSdk={version:n.version,sdkVersion:k.version,env:n,platform:n.platform,platformV2:n.platformV2,config:function(n){void 0===n&&(n={});var t=n.jsApiList,o=void 0===t?[]:t;e.hadConfig?console.log("Config has been executed"):e.bridgeInitFn().then((function(t){t("config",n).then((function(n){e.cacheP.resolve(n),e.hadConfig=!0,e.configJsApiList=o})).catch((function(n){e.cacheP.reject(n)}))}))},ready:function(n){e.bridgeInitFn().then((function(){n()}))},error:function(n){e.config$.catch((function(e){n(e)}))},on:function(t,o){e.bridgeInitFn().then((function(){e.platformConfigMap[n.platform].event.on(t,o)}))},off:function(t,o){e.bridgeInitFn().then((function(){e.platformConfigMap[n.platform].event.off(t,o)}))}}}return n.prototype.setAPI=function(n,e){this.invokeAPIConfigMapByMethod[n]=e},n.prototype.setPlatform=function(n){var e=n.platform;n.bridgeInit;this.platformConfigMap[e]=n},n.prototype.bridgeInitFn=function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var n=this.platformConfigMap[this.env.platform];if(n)this.bridgeInitFnPromise=n.bridgeInit();else{var e="Do not support the current environment�"+this.env.platform;this.bridgeInitFnPromise=Promise.reject(new Error(e))}return this.bridgeInitFnPromise},n.prototype._onFail=function(n,e,t,o){s({method:n,errorcode:e,message:t}),o&&"function"==typeof o&&o({code:e,message:t})},n.prototype.invokeAPI=function(n,e){if(e||(e={}),n){var t=this.invokeAPIConfigMapByMethod[n];if(!t)return this._onFail(n,"-1","["+n+"] method is not exist",e.onFail);var o=t[this.env.platform];if(o){var i=o.vs||"0.0.0";if(f(this.env.version,i)<0)return this._onFail(n,"-1","The current application version is "+this.env.version+". This method does not support versions less than "+i,e.onFail);var r=o.paramsDeal?o.paramsDeal(e):e;if("function"==typeof r.onSuccess){var a=r.onSuccess;r.onSuccess=function(n){a(n)}}this.bridgeInitFn().then((function(e){e(n,r).then((function(e){p("SDK 返回结果成功 ",{method:n,params:r,result:e})})).catch((function(e){p("SDK 返回结果失败",{method:n,params:r,error:e})}))})).catch((function(n){console.log("wenai err",n)}))}else this._onFail(n,"-1","["+n+"] method do not support the current platform ("+this.env.platform+")",e.onFail)}},n}(),S=new function(){var n=this;this.on=function(e,t){if(!e||"function"!=typeof t)throw"eventName is null or handle is not a function, on fail";Array.isArray(n.eventsHandle[e])||(n.eventsHandle[e]=[]),n.eventsHandle[e].push(t)},this.off=function(e,t){if(!e)throw"eventName is null, invoke off fail";if(t){if(Array.isArray(n.eventsHandle[e])){var o=n.eventsHandle[e].indexOf(t);-1!==o&&n.eventsHandle[e].splice(o,1)}}else n.eventsHandle[e]=[]},this.execEvent=function(n,e){Array.isArray(this.eventsHandle[n])&&this.eventsHandle[n].forEach((function(n){try{n(e)}catch(n){console.error(e)}}))},this.eventsHandle={}},z=function(n,e,t){var o=this;this.genid=function(){var n=Date.now().toString(36);return n+=Math.random().toString(36).substr(3)},this.receiveResponse=function(n){o.callback(n)},this.getPayload=function(){return{msgId:o.id,methodName:o.methodName,body:o.plainMsg,type:"request",invokeType:o.invokeType}},this.id=this.genid(),this.PromiseObj={resolve:null,reject:null},this.methodName=n,this.plainMsg=e,this.invokeType=null==e?void 0:e.invokeType,this.callback=t},I=new function(){var n=this;this.addPending=function(e){n.pendingMsgs[e.id]=e},this.deletePending=function(e){delete n.pendingMsgs[e.id]},this.getPending=function(n){return this.pendingMsgs[n]},this.invokeAPIInBrowserView=function(n){window.sendTo(n)},this.invokeAPIInWebview=function(n){window.sendToHost(n)},this.invokeAPI=function(e,t,o){var i=new z(e,t,o),r=JSON.stringify(i.getPayload()),a=t.invokeType;return"browserView"===(void 0===a?"":a)?n.invokeAPIInBrowserView(r):n.invokeAPIInWebview(r),n.addPending(i),i},this.handleCallback=function(e,t){var o=e.type,i=e.methodName,r=e.eventName,a=e.msgId,s=e.data,c=e.code,u=e.message;if("request"===o)switch(i){case"refresh":window.location.reload();break;case"back":window.history.back();break;case"forward":window.history.forward();break;case"event":S.execEvent(r,s);break;case"zoomInClick":var d=document.documentElement.scrollTop||document.body.scrollTop,l=window.location.href;"browserView"===t?window.sendTo(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:d,url:l,title:s&&s.title}})):window.sendToHost(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:d,url:l,title:s&&s.title}}))}else if("response"===o){var p=n.getPending(a);p&&p.receiveResponse({data:s,code:c,message:u||s.msg||s.message}),-3!=c&&n.deletePending(a)}},this.init=function(){window.addEventListener("message",(function(e){p("electron res: ",e),n.handleCallback(e.data||{})})),window.receiveBrowserViewData&&window.receiveBrowserViewData((function(e,t){return n.handleCallback(t)}))},this.pendingMsgs={}},T=new Map([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function C(n){return T.get(n)||"onFail"}var M=function(n,e){return new Promise((function(t,o){return I.invokeAPI(n,e,(function(i){var r=i.data,a=i.code,c=i.message,u=parseInt(a),d=C(u),l=e[d];if(p("SDK执行后回调,相关参数 ",{method:n,param:e,data:r,_code:u,message:c,callbackFun:l}),"onFail"===d)return s({method:n,errorcode:u,message:c||JSON.stringify(r)||"SDK执行失败回调,相关参数"}),"function"==typeof l&&(console.log("wenai-code",a,u),l(c?{code:a,message:c}:r)),void o({_code:u,message:c,data:r});"function"==typeof l&&l(r||c),t({_code:u,message:c,data:r})}))}))},x=function(){return(x=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function F(n){if(window.WebViewJavascriptBridge)return n(WebViewJavascriptBridge);if(window.WKWebViewJavascriptBridge)return n(WKWebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(n);window.WVJBCallbacks=[n];var e=document.createElement("iframe");e.style.display="none",e.src="https://__bridge_loaded__",document.documentElement.appendChild(e),setTimeout((function(){document.documentElement.removeChild(e)}),0)}var A=function(n,e){return new Promise((function(t,o){var i=x({},e);F((function(r){e.control&&r.registerHandler(n,(function(n){var o=e.onSuccess;delete i.onSuccess,"function"==typeof o&&(o(n),t({code:"0",message:"success"}))})),r.callHandler(n,e,(function(r){var a=r.code,c=r.message,u=r.data,d=parseInt(a),l=C(d),f=i[l];if(p("SDK执行后回调,相关参数 ",{method:n,param:e,data:u,_code:d,message:c,callbackFun:f}),"onFail"===l)return s({method:n,errorcode:d,message:c||JSON.stringify(u)||"SDK执行失败回调,相关参数"}),"function"==typeof f&&f(c?{code:a,message:c}:u),void o({_code:d,message:c,data:u});"function"==typeof f&&f(u||c),t({_code:d,message:c,data:u})}))}))}))},E=function(n,e,t,o){return new(t||(t=Promise))((function(i,r){function a(n){try{c(o.next(n))}catch(n){r(n)}}function s(n){try{c(o.throw(n))}catch(n){r(n)}}function c(n){var e;n.done?i(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(a,s)}c((o=o.apply(n,e||[])).next())}))},D=function(n,e){var t,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(n,a)}catch(n){r=[6,n],o=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},j=i(),V=j.platform,W=new P(j);!function(){var n=this,e={platform:V,authMethod:"config",bridgeInit:"pc"===V?function(){return E(n,void 0,void 0,(function(){return D(this,(function(n){return I.init(),[2,M]}))}))}:function(){return new Promise((function(n,e){F((function(e){p("注册resume事件 "),e.registerHandler("resume",(function(n){p("resume监听到回调,相关参数 ",{resData:n}),S.execEvent("resume",n)})),p("注册unreadMsgAction事件 "),e.registerHandler("unreadMsgAction",(function(n){p("unreadMsgAction监听到回调,相关参数 ",{resData:n}),S.execEvent("unreadMsgAction",n)})),p("注册webViewMsgReceive事件 "),e.registerHandler("webViewMsgReceive",(function(n){p("webViewMsgReceive监听到回调,相关参数 ",{resData:n}),S.execEvent("webViewMsgReceive",n)})),e.registerHandler("pushWorkMsg",(function(n){p("pushWorkMsg监听到回调,相关参数 ",{resData:n}),S.execEvent("pushWorkMsg",n)})),e.registerHandler("getTogetherCallback",(function(n){p("getTogetherCallback监听到回调,相关参数 ",{resData:n}),S.execEvent("getTogetherCallback",n)})),e.registerHandler("sendMsgCommon",(function(n){p("sendMsgCommon ",{resData:n}),S.execEvent("sendMsgCommon",n)})),n()}))})).then((function(){return A}))},event:{on:function(n,e){S.on(n,e)},off:function(n,e){S.off(n,e)}}};W.setPlatform(e)}();var R={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};var _=function(n,e){var t=e.params,o=void 0===t?{}:t,i=e.platform,r=void 0===i?R:i;W.setAPI(n,r),W.invokeAPI(n,o)};function B(n){_("biz.util.openLink",{params:n})}function O(n){_("biz.util.feedback",{params:n})}function L(n){_("biz.util.open",{params:n})}var N={pc:{vs:"0.0.0"}};function H(n){_("biz.util.openSlidePanel",{params:n,platform:N})}var U={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function J(n){_("biz.util.share",{params:n,platform:U})}function Y(n){_("biz.util.previewFile",{params:n})}function q(n){_("biz.util.previewImage",{params:n})}function K(n){_("biz.util.downloadFile",{params:n})}function G(n){_("biz.util.uploadAttachment",{params:n})}function $(n){_("biz.util.clipboardFileUpload",{params:n})}function X(n){_("biz.util.proxy",{params:n})}var Z={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Q(n){_("biz.util.datepicker",{params:n,platform:Z})}var nn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function en(n){_("biz.util.datetimepicker",{params:n,platform:nn})}var tn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function on(n){_("biz.util.scan",{params:n,platform:tn})}var rn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function an(n){_("biz.map.view",{params:n,platform:rn})}var sn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function cn(n){_("biz.map.multipointView",{params:n,platform:sn})}var un={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function dn(n){_("biz.util.chosen",{params:n,platform:un})}var ln={pc:{vs:"0.0.0"}};function pn(n){_("biz.util.openSingleWebview",{params:n,platform:ln})}function fn(n){_("biz.util.getSingleWebviewData",{params:n})}function vn(n){_("biz.util.injectScript",{params:n})}var mn={pc:{vs:"0.0.0"}};function gn(n){_("biz.util.closeWindow",{params:n,platform:mn})}var hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function bn(n){_("biz.util.remind",{params:n,platform:hn})}function wn(n){_("biz.util.takePicture",{params:n})}var yn={pc:{vs:"0.0.0"},ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function kn(n){_("biz.util.openVideoPlayer",{params:n,platform:yn})}function Pn(n){_("biz.util.openMediaFileDialog",{params:n})}function Sn(n){_("biz.util.mediaFileUpload",{params:n})}function zn(n){_("biz.util.invoice",{params:n})}function In(n){_("biz.util.pushWorkMsg",{params:n})}function Tn(n){_("biz.util.openTalYoungToTopic",{params:n})}var Cn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Mn(n){_("biz.util.getToken",{params:n,platform:Cn})}var xn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Fn(n){_("biz.util.authStart",{params:n,platform:xn})}var An={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function En(n){_("biz.util.authFinish",{params:n,platform:An})}var Dn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jn(n){_("biz.util.assistantCreate",{params:n,platform:Dn})}var Vn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Wn(n){_("biz.util.yachEvent",{params:n,platform:Vn})}var Rn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function _n(n){_("biz.util.openTogetherEyeWebview",{params:n,platform:Rn})}var Bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function On(n){_("biz.util.getTogetherConfig",{params:n,platform:Bn})}function Ln(n){_("biz.util.rouseApp",{params:n})}function Nn(n){_("biz.util.externalLinkPreviewFile",{params:n})}var Hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Un(n){_("biz.util.zfbAuth",{params:n,platform:Hn})}var Jn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Yn(n){_("biz.util.savePic",{params:n,platform:Jn})}function qn(n){_("biz.util.complain",{params:n})}function Kn(n){_("biz.util.selectDepartment",{params:n})}var Gn={pc:{vs:"0.0.0"}};function $n(n){_("biz.util.createModifySchedule",{params:n,platform:Gn})}var Xn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Zn(n){_("biz.util.openUserSchedule",{params:n,platform:Xn})}var Qn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function ne(n){_("onlineDocmentOpenTeamChat",{params:n,platform:Qn})}var ee={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.0"}};function te(n){_("biz.util.entergroupCheck",{params:n,platform:ee})}var oe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ie(n){_("biz.util.disableScreenCapture",{params:n,platform:oe})}var re=function(){return(re=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function ae(n){return function(e){return re(re({},n),e)}}var se=ae({control:!0,showIcon:!0,iconIndex:1}),ce={ios:{vs:"0.0.0",paramsDeal:se},android:{vs:"0.0.0",paramsDeal:se}};function ue(n){_("biz.navigation.setIcon",{params:n,platform:ce})}function de(n){_("biz.navigation.setTitle",{params:n})}var le=ae({control:!0}),pe={ios:{vs:"0.0.0",paramsDeal:le},android:{vs:"0.0.0",paramsDeal:le}};function fe(n){_("biz.navigation.setMenu",{params:n,platform:pe})}function ve(n){_("biz.navigation.close",{params:n})}function me(n){_("biz.navigation.replace",{params:n})}var ge={pc:{vs:"0.0.0"}};function he(n){_("biz.navigation.quit",{params:n,platform:ge})}var be=ae({show:!0,control:!1,text:""}),we={ios:{vs:"0.0.0",paramsDeal:be},android:{vs:"0.0.0",paramsDeal:be},pc:{vs:"0.0.0"}};function ye(n){_("biz.navigation.setRight",{params:n,platform:we})}var ke=ae({control:!0}),Pe={ios:{vs:"0.0.0",paramsDeal:ke},android:{vs:"0.0.0",paramsDeal:ke}};function Se(n){_("biz.navigation.setTitleExpandIcon",{params:n,platform:Pe})}function ze(n){_("biz.navigation.updateExpandTitle",{params:n})}var Ie=ae({show:!0,control:!1,text:""}),Te={ios:{vs:"0.0.0",paramsDeal:Ie},android:{vs:"0.0.0",paramsDeal:Ie},pc:{vs:"0.0.0"}};function Ce(n){_("biz.navigation.setLeft",{params:n,platform:Te})}var Me={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xe(n){_("biz.navigation.goBack",{params:n,platform:Me})}var Fe={pc:{vs:"0.0.0"}};function Ae(n){_("biz.navigation.setWindowBig",{params:n,platform:Fe})}function Ee(n){_("biz.navigation.tencentMeeting",{params:n})}function De(n){_("biz.navigation.tencentMeetingBegin",{params:n})}var je=ae({nativePanEnable:!0,webPanEnable:!0}),Ve={ios:{vs:"0.0.0",paramsDeal:je},android:{vs:"0.0.0",paramsDeal:je}};function We(n){_("biz.navigation.setPanGestureEnable",{params:n,platform:Ve})}function Re(n){_("biz.contact.complexPicker",{params:n})}function _e(n){_("biz.contact.departmentsPicker",{params:n})}function Be(n){_("biz.group.groupComplexPicker",{params:n})}function Oe(n){_("biz.chat.chooseConversationByCorpId",{params:n})}var Le={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ne(n){_("biz.chat.pickConversation",{params:n,platform:Le})}function He(n){_("biz.chat.openSingleChat",{params:n})}function Ue(n){_("biz.chat.openTeamChat",{params:n})}function Je(n){_("biz.chat.openSquad",{params:n})}function Ye(n){_("biz.chat.sendP2PMsg",{params:n})}var qe={pc:{vs:"0.0.0"}};function Ke(n){_("primary.createTab",{params:n,platform:qe})}var Ge={pc:{vs:"0.0.0"}};function $e(n){_("primary.weeklyShare",{params:n,platform:Ge})}var Xe={pc:{vs:"0.0.0"}};function Ze(n){_("primary.fullScreen",{params:n,platform:Xe})}var Qe={pc:{vs:"0.0.0"}};function nt(n){_("primary.exitFullScreen",{params:n,platform:Qe})}function et(n){_("runtime.permission.requestAuthCode",{params:n})}var tt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ot(n){_("device.notification.showPreloader",{params:n,platform:tt})}var it={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function rt(n){_("device.notification.hidePreloader",{params:n,platform:it})}var at={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function st(n){_("device.notification.vibrate",{params:n,platform:at})}function ct(n){_("device.notification.toast",{params:n})}var ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function dt(n){_("device.notification.actionSheet",{params:n,platform:ut})}var lt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function pt(n){_("device.base.getPhoneInfo",{params:n,platform:lt})}var ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function vt(n){_("device.notification.alert",{params:n,platform:ft})}var mt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function gt(n){_("device.notification.confirm",{params:n,platform:mt})}var ht={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function bt(n){_("device.geolocation.get",{params:n,platform:ht})}var wt={android:{vs:"0.0.0"}};function yt(n){_("device.geolocation.getSwitch",{params:n,platform:wt})}function kt(n){_("device.system.getLang",{params:n})}var Pt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function St(n){_("device.audio.startRecord",{params:n,platform:Pt})}var zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function It(n){_("device.audio.stopRecord",{params:n,platform:zt})}var Tt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ct(n){_("device.audio.onRecordEnd",{params:n,platform:Tt})}var Mt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xt(n){_("device.audio.download",{params:n,platform:Mt})}var Ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function At(n){_("device.audio.play",{params:n,platform:Ft})}var Et={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Dt(n){_("device.audio.pause",{params:n,platform:Et})}var jt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Vt(n){_("device.audio.stop",{params:n,platform:jt})}var Wt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Rt(n){_("device.audio.onPlayEnd",{params:n,platform:Wt})}var _t={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Bt(n){_("device.audio.resume",{params:n,platform:_t})}var Ot={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Lt(n){_("device.connection.getNetworkType",{params:n,platform:Ot})}var Nt={pc:{vs:"0.0.0"}};function Ht(n){_("device.connection.isAtTal",{params:n,platform:Nt})}var Ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.1"}};function Jt(n){_("device.base.getUUID",{params:n,platform:Ut})}var Yt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function qt(n){_("device.base.checkStepPermission",{params:n,platform:Yt})}var Kt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Gt(n){_("device.audio.onRecordEnd_v2",{params:n,platform:Kt})}var $t={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Xt(n){_("device.audio.startRecord_v2",{params:n,platform:$t})}var Zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Qt(n){_("device.audio.stopRecord_v2",{params:n,platform:Zt})}var no={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function eo(n){_("device.system.setLight",{params:n,platform:no})}var to={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function oo(n){_("biz.telephone.showCallMenu",{params:n,platform:to})}var io={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ro(n){_("biz.telephone.call",{params:n,platform:io})}var ao={ios:{vs:"0.0.0"}};function so(n){_("ui.webViewBounce.disable",{params:n,platform:ao})}var co={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function uo(n){_("ui.pullToRefresh.enable",{params:n,platform:co})}var lo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function po(n){_("ui.pullToRefresh.stop",{params:n,platform:lo})}var fo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function vo(n){_("ui.pullToRefresh.disable",{params:n,platform:fo})}var mo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function go(n){_("util.domainStorage.getItem",{params:n,platform:mo})}var ho={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function bo(n){_("util.domainStorage.setItem",{params:n,platform:ho})}var wo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function yo(n){_("util.domainStorage.removeItem",{params:n,platform:wo})}var ko={pc:{vs:"1.7.0"}};function Po(n){_("util.tool.writeLog",{params:n,platform:ko})}var So={pc:{vs:"1.7.0"}};function zo(n){_("util.tool.flushLog",{params:n,platform:So})}var Io={ios:{vs:"0.0.0"}};function To(n){_("biz.webViewMessage.send",{params:n,platform:Io})}function Co(n){_("app.custom.talYoungFilesUpload",{params:n})}console.log("add rouseApp ------------\x3e",Ln);var Mo=W.exportSdk,xo=Mo.version,Fo=Mo.sdkVersion,Ao=Mo.env,Eo=Mo.platform,Do=Mo.platformV2,jo=Mo.config,Vo=Mo.ready,Wo=Mo.error,Ro=Mo.on,_o=Mo.off;e.default={version:xo,sdkVersion:Fo,env:Ao,platform:Eo,platformV2:Do,config:jo,ready:Vo,error:Wo,on:Ro,off:_o,biz:{util:{openLink:B,feedback:O,open:L,openSlidePanel:H,share:J,previewFile:Y,previewImage:q,downloadFile:K,uploadAttachment:G,clipboardFileUpload:$,proxy:X,datepicker:Q,datetimepicker:en,scan:on,chosen:dn,openSingleWebview:pn,getSingleWebviewData:fn,injectScript:vn,onlineDocmentOpenTeamChat:ne,entergroupCheck:te,closeWindow:gn,remind:bn,takePicture:wn,openVideoPlayer:kn,openMediaFileDialog:Pn,mediaFileUpload:Sn,invoice:zn,pushWorkMsg:In,openTalYoungToTopic:Tn,getToken:Mn,authStart:Fn,authFinish:En,assistantCreate:jn,yachEvent:Wn,openTogetherEyeWebview:_n,getTogetherConfig:On,rouseApp:Ln,externalLinkPreviewFile:Nn,savePic:Yn,zfbAuth:Un,complain:qn,selectDepartment:Kn,createModifySchedule:$n,openUserSchedule:Zn,disableScreenCapture:ie},telephone:{showCallMenu:oo,call:ro},navigation:{setIcon:ue,setTitle:de,setMenu:fe,close:ve,replace:me,quit:he,setRight:ye,setTitleExpandIcon:Se,updateExpandTitle:ze,setLeft:Ce,goBack:xe,setWindowBig:Ae,tencentMeeting:Ee,tencentMeetingBegin:De,setPanGestureEnable:We},contact:{complexPicker:Re,departmentsPicker:_e},group:{groupComplexPicker:Be},chat:{chooseConversationByCorpId:Oe,pickConversation:Ne,openSingleChat:He,openTeamChat:Ue,openSquad:Je,sendP2PMsg:Ye},map:{view:an,multipointView:cn},webViewMessage:{send:To}},runtime:{permission:{requestAuthCode:et}},primary:{createTab:Ke,weeklyShare:$e,fullScreen:Ze,exitFullScreen:nt},device:{notification:{showPreloader:ot,hidePreloader:rt,vibrate:st,toast:ct,alert:vt,confirm:gt,actionSheet:dt},base:{getPhoneInfo:pt,getUUID:Jt,checkStepPermission:qt},geolocation:{get:bt,getSwitch:yt},system:{getLang:kt,setLight:eo},audio:{startRecord:St,stopRecord:It,onRecordEnd:Ct,download:xt,play:At,pause:Dt,stop:Vt,onPlayEnd:Rt,resume:Bt,onRecordEnd_v2:Gt,startRecord_v2:Xt,stopRecord_v2:Qt},connection:{getNetworkType:Lt,isAtTal:Ht}},ui:{webViewBounce:{disable:so},pullToRefresh:{enable:uo,stop:po,disable:vo}},util:{domainStorage:{getItem:go,setItem:bo,removeItem:yo},tool:{writeLog:Po,flushLog:zo}},app:{custom:{talYoungFilesUpload:Co}}}}]).default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizUtiltalYoungFilesUploadResult {
|
|
3
|
+
count?: number;
|
|
4
|
+
data?: {
|
|
5
|
+
imageId?: string;
|
|
6
|
+
filePath?: string;
|
|
7
|
+
fileName?: string;
|
|
8
|
+
source?: string;
|
|
9
|
+
base64?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
processdata?: object;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface IBizUtiltalYoungFilesUploadProgress {
|
|
16
|
+
loaded: number;
|
|
17
|
+
total: number;
|
|
18
|
+
speed: number;
|
|
19
|
+
percent: number;
|
|
20
|
+
}
|
|
21
|
+
export interface IBizUtiltalYoungFilesUploadParams {
|
|
22
|
+
/** types这个数组里有photo、camera参数需要构建这个数据 */
|
|
23
|
+
image?: {
|
|
24
|
+
/** 是否多选,默认为false */
|
|
25
|
+
multiple?: boolean;
|
|
26
|
+
/** 是否压缩,默认为true */
|
|
27
|
+
compress?: boolean;
|
|
28
|
+
/** 最多选择的图片数目,最多支持9张 */
|
|
29
|
+
max?: number;
|
|
30
|
+
};
|
|
31
|
+
/** 支持上传附件的文件类型,至少一个,最多支持两种种类型 */
|
|
32
|
+
types: Array<'photo' | 'vedio'>;
|
|
33
|
+
onSuccess?: (data: IBizUtiltalYoungFilesUploadResult) => void;
|
|
34
|
+
onFail?: (err: IError) => void;
|
|
35
|
+
onProgress?: (data: IBizUtiltalYoungFilesUploadProgress) => void;
|
|
36
|
+
}
|
|
37
|
+
declare function talYoungFilesUpload(params: IBizUtiltalYoungFilesUploadParams): void;
|
|
38
|
+
export { talYoungFilesUpload };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Descripttion:
|
|
3
|
+
* @Author: olei<wangzheng_jzb@100tal.com>
|
|
4
|
+
* @Date: 2020-09-07 19:55:47
|
|
5
|
+
* @LastEditors: olei<wangzheng_jzb@100tal.com>
|
|
6
|
+
* @LastEditTime: 2020-09-10 16:51:44
|
|
7
|
+
* yach > 1.4.7 已经废弃,目前只保留 sdk 入口兼容 yach 低版本调用
|
|
8
|
+
*/
|
|
9
|
+
import initAPI from '../../initAPI';
|
|
10
|
+
var apiName = 'app.custom.talYoungFilesUpload';
|
|
11
|
+
function talYoungFilesUpload(params) {
|
|
12
|
+
initAPI(apiName, {
|
|
13
|
+
params: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export { talYoungFilesUpload };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
/**
|
|
3
|
+
* 返回参数定义
|
|
4
|
+
*/
|
|
5
|
+
export interface IBizChatChooseConversationByCorpIdResult {
|
|
6
|
+
chatId: string;
|
|
7
|
+
title: string;
|
|
8
|
+
type: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 选择企业会话 请求参数定义
|
|
12
|
+
* @apiName biz.chat.chooseConversationByCorpId
|
|
13
|
+
*/
|
|
14
|
+
export interface IBizChatChooseConversationByCorpIdParams {
|
|
15
|
+
/** 会话id */
|
|
16
|
+
chatId: string;
|
|
17
|
+
/** 是否允许创建会话, 仅支持移动端,暂时没用和钉钉保持一致*/
|
|
18
|
+
isAllowCreateGroup?: boolean;
|
|
19
|
+
/** 是否限制为自己创建的会话,仅支持移动端 */
|
|
20
|
+
filterNotOwnerGroup?: boolean;
|
|
21
|
+
/** 是否支持多选,默认不支持 */
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
/** 超过限定会话提示 */
|
|
24
|
+
limitTips?: string;
|
|
25
|
+
/** 最大选择会话数量 */
|
|
26
|
+
maxConversations?: number;
|
|
27
|
+
disabledUsers?: string[];
|
|
28
|
+
disabledTeams?: string[];
|
|
29
|
+
/** 是否展示外部联系人 */
|
|
30
|
+
showExternalContact?: boolean;
|
|
31
|
+
onSuccess?: (data: IBizChatChooseConversationByCorpIdResult) => void;
|
|
32
|
+
onFail?: (err: IError) => void;
|
|
33
|
+
onCancel?: () => void;
|
|
34
|
+
}
|
|
35
|
+
declare function chooseConversationByCorpId(params: IBizChatChooseConversationByCorpIdParams): void;
|
|
36
|
+
export { chooseConversationByCorpId };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenSingleChatParams {
|
|
3
|
+
/** 企业id */
|
|
4
|
+
corpId: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function openSingleChat(params: IBizChatOpenSingleChatParams): void;
|
|
10
|
+
export { openSingleChat };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenSquadParams {
|
|
3
|
+
sessionId: string;
|
|
4
|
+
onSuccess?: () => void;
|
|
5
|
+
onFail?: (err: IError) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function openSquad(params: IBizChatOpenSquadParams): void;
|
|
8
|
+
export { openSquad };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatOpenTeamChatParams {
|
|
3
|
+
/** 企业id */
|
|
4
|
+
corpId: string;
|
|
5
|
+
teamId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function openTeamChat(params: IBizChatOpenTeamChatParams): void;
|
|
10
|
+
export { openTeamChat };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizChatPickConversationResult {
|
|
3
|
+
cid: string;
|
|
4
|
+
title: string;
|
|
5
|
+
type: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 获取会话信息 请求参数定义
|
|
9
|
+
* @apiName biz.chat.pickConversation
|
|
10
|
+
*/
|
|
11
|
+
export interface IBizChatPickConversationParams {
|
|
12
|
+
/** 企业id */
|
|
13
|
+
corpId?: string;
|
|
14
|
+
isConfirm?: boolean;
|
|
15
|
+
onSuccess?: (data: IBizChatPickConversationResult) => void;
|
|
16
|
+
onFail?: (err: IError) => void;
|
|
17
|
+
}
|
|
18
|
+
declare function pickConversation(params: IBizChatPickConversationParams): void;
|
|
19
|
+
export { pickConversation };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import initAPI from '../../initAPI';
|
|
2
|
+
var apiName = 'biz.chat.pickConversation';
|
|
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
|
+
function pickConversation(params) {
|
|
14
|
+
initAPI(apiName, {
|
|
15
|
+
params: params,
|
|
16
|
+
platform: platform
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export { pickConversation };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizSendP2PMsgParams {
|
|
3
|
+
toUserId: string;
|
|
4
|
+
message: string;
|
|
5
|
+
messageId: string;
|
|
6
|
+
onSuccess?: () => void;
|
|
7
|
+
onFail?: (err: IError) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function sendP2PMsg(params: IBizSendP2PMsgParams): void;
|
|
10
|
+
export { sendP2PMsg };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IDepartments, IError } from '../../common.typings';
|
|
2
|
+
interface IUsers {
|
|
3
|
+
userid: string;
|
|
4
|
+
name: string;
|
|
5
|
+
avatar: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IBizContactComplexPickerResult {
|
|
8
|
+
selectedCount: number;
|
|
9
|
+
users?: Array<IUsers>;
|
|
10
|
+
departments?: Array<IDepartments>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 选人与部门 请求参数定义
|
|
14
|
+
* @apiName biz.contact.complexPicker
|
|
15
|
+
*/
|
|
16
|
+
export interface IBizContactComplexPickerParams {
|
|
17
|
+
/** 标题 */
|
|
18
|
+
title?: string;
|
|
19
|
+
/** 企业的corpId */
|
|
20
|
+
corpId?: string;
|
|
21
|
+
/** 是否多选 */
|
|
22
|
+
multiple?: boolean;
|
|
23
|
+
/** 超过限定人数返回提示 */
|
|
24
|
+
limitTips?: string;
|
|
25
|
+
/** 选人组件,用户未选择人的时候,左下角的提示文案 */
|
|
26
|
+
pickTips?: string;
|
|
27
|
+
/** 最大可选人数 */
|
|
28
|
+
maxUsers?: number;
|
|
29
|
+
/** 已选用户 */
|
|
30
|
+
pickedUsers?: string[];
|
|
31
|
+
/** 已选部门 */
|
|
32
|
+
pickedDepartments?: string[];
|
|
33
|
+
/** 不可选用户 */
|
|
34
|
+
disabledUsers?: string[];
|
|
35
|
+
/** 不可选部门 */
|
|
36
|
+
disabledDepartments?: string[];
|
|
37
|
+
/** 必选用户(不可取消选中状态) */
|
|
38
|
+
requiredUsers?: string[];
|
|
39
|
+
/** 必选部门(不可取消选中状态) */
|
|
40
|
+
requiredDepartments?: string[];
|
|
41
|
+
/** 微应用的Id */
|
|
42
|
+
appId?: number;
|
|
43
|
+
/** 选人权限,目前只有GLOBAL这个参数 */
|
|
44
|
+
permissionType?: string;
|
|
45
|
+
/** 返回人,或者返回人和部门 */
|
|
46
|
+
responseUserOnly?: boolean;
|
|
47
|
+
/** 0表示从企业最上层开始 */
|
|
48
|
+
startWithDepartmentId?: number;
|
|
49
|
+
/** 上游业务来源 */
|
|
50
|
+
origin?: number;
|
|
51
|
+
/** 上游业务来源描述 */
|
|
52
|
+
originMeta?: string;
|
|
53
|
+
/** 只支持移动端,可以直接跳到具体部门。-1 表示根部门,0 表示当前部门(startWithDepartmentId需要传2,depId才生效) */
|
|
54
|
+
deptId?: number;
|
|
55
|
+
/** 是否展示外部联系人 */
|
|
56
|
+
showExternalContact?: boolean;
|
|
57
|
+
onSuccess?: (data: IBizContactComplexPickerResult) => void;
|
|
58
|
+
onFail?: (err: IError) => void;
|
|
59
|
+
onCancel?: () => void;
|
|
60
|
+
}
|
|
61
|
+
declare function complexPicker(params: IBizContactComplexPickerParams): void;
|
|
62
|
+
export { complexPicker };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IError, IDepartments } from '../../common.typings';
|
|
2
|
+
export interface IBizContactDepartmentsPickerResult {
|
|
3
|
+
departmentsCount: number;
|
|
4
|
+
userCount: number;
|
|
5
|
+
departments?: Array<IDepartments>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 选择部门信息 请求参数定义
|
|
9
|
+
* @apiName biz.contact.departmentsPicker
|
|
10
|
+
*/
|
|
11
|
+
export interface IBizContactDepartmentsPickerParams {
|
|
12
|
+
/** 企业标题 */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** 企业的corpId */
|
|
15
|
+
corpId?: string;
|
|
16
|
+
/** 是否多选 */
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
/** 超过限定人数返回提示 */
|
|
19
|
+
limitTips?: string;
|
|
20
|
+
/** 最大选择部门的数量 */
|
|
21
|
+
maxDepartments?: number;
|
|
22
|
+
/** 已选部门 */
|
|
23
|
+
pickedDepartments?: string[];
|
|
24
|
+
/** 必选部门(不可取消选中状态) */
|
|
25
|
+
requiredDepartments?: string[];
|
|
26
|
+
/** 微应用的Id */
|
|
27
|
+
appId?: number;
|
|
28
|
+
/** 选人权限,目前只有GLOBAL这个参数 */
|
|
29
|
+
permissionType?: string;
|
|
30
|
+
onSuccess?: (data: IBizContactDepartmentsPickerResult) => void;
|
|
31
|
+
onFail?: (err: IError) => void;
|
|
32
|
+
onCancel?: () => void;
|
|
33
|
+
}
|
|
34
|
+
declare function departmentsPicker(params: IBizContactDepartmentsPickerParams): void;
|
|
35
|
+
export { departmentsPicker };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
interface IGroups {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
number: number;
|
|
6
|
+
avatar?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IBizGroupGroupComplexPickerResult {
|
|
9
|
+
groups: Array<IGroups>;
|
|
10
|
+
groupCount: number;
|
|
11
|
+
userCount: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 选择群组
|
|
15
|
+
* @apiName biz.group.groupComplexPicker
|
|
16
|
+
*/
|
|
17
|
+
export interface IBizGroupGroupComplexPickerParams {
|
|
18
|
+
/** 页面名称 */
|
|
19
|
+
title?: string;
|
|
20
|
+
corpId?: string;
|
|
21
|
+
multiple?: boolean;
|
|
22
|
+
limitTips?: string;
|
|
23
|
+
maxGroups?: number;
|
|
24
|
+
pickedGroups?: Array<string>;
|
|
25
|
+
disabledGroups?: Array<string>;
|
|
26
|
+
/** 是否展示外部联系人 */
|
|
27
|
+
showExternalContact?: boolean;
|
|
28
|
+
onSuccess?: (data: IBizGroupGroupComplexPickerResult) => void;
|
|
29
|
+
onFail?: (err: IError) => void;
|
|
30
|
+
onCancel?: () => void;
|
|
31
|
+
}
|
|
32
|
+
declare function groupComplexPicker(params: IBizGroupGroupComplexPickerParams): void;
|
|
33
|
+
export { groupComplexPicker };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
interface ILocations {
|
|
3
|
+
/** 需要和longitude组合成合法经纬度,高德坐标 */
|
|
4
|
+
latitude: number;
|
|
5
|
+
/** 需要和latitude组合成合法经纬度,高德坐标 */
|
|
6
|
+
longitude: number;
|
|
7
|
+
title?: string;
|
|
8
|
+
radius?: number;
|
|
9
|
+
isShowNavigation?: boolean;
|
|
10
|
+
isShowPointAnnotation?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface IBizMapMultipointViewParams {
|
|
13
|
+
locations: Array<ILocations>;
|
|
14
|
+
/** 在地图锚点气泡显示的文案 */
|
|
15
|
+
title: string;
|
|
16
|
+
isShowUserLocation?: boolean;
|
|
17
|
+
onSuccess?: () => void;
|
|
18
|
+
onFail?: (err: IError) => void;
|
|
19
|
+
}
|
|
20
|
+
declare function multipointView(params: IBizMapMultipointViewParams): void;
|
|
21
|
+
export { multipointView };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import initAPI from '../../initAPI';
|
|
2
|
+
var apiName = 'biz.map.multipointView';
|
|
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
|
+
function multipointView(params) {
|
|
14
|
+
initAPI(apiName, {
|
|
15
|
+
params: params,
|
|
16
|
+
platform: platform
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export { multipointView };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizMapViewParams {
|
|
3
|
+
/** 需要和longitude组合成合法经纬度,高德坐标 */
|
|
4
|
+
latitude: number;
|
|
5
|
+
/** 需要和latitude组合成合法经纬度,高德坐标 */
|
|
6
|
+
longitude: number;
|
|
7
|
+
/** 在地图锚点气泡显示的文案 */
|
|
8
|
+
title: string;
|
|
9
|
+
onSuccess?: () => void;
|
|
10
|
+
onFail?: (err: IError) => void;
|
|
11
|
+
}
|
|
12
|
+
declare function view(params: IBizMapViewParams): void;
|
|
13
|
+
export { view };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import initAPI from '../../initAPI';
|
|
2
|
+
var apiName = 'biz.map.view';
|
|
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
|
+
function view(params) {
|
|
14
|
+
initAPI(apiName, {
|
|
15
|
+
params: params,
|
|
16
|
+
platform: platform
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export { view };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import initAPI from '../../initAPI';
|
|
2
|
+
var apiName = 'biz.navigation.goBack';
|
|
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
|
+
function goBack(params) {
|
|
14
|
+
initAPI(apiName, {
|
|
15
|
+
params: params,
|
|
16
|
+
platform: platform
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export { goBack };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import initAPI from '../../initAPI';
|
|
2
|
+
var apiName = 'biz.navigation.quit';
|
|
3
|
+
var pc = {
|
|
4
|
+
vs: '0.0.0'
|
|
5
|
+
};
|
|
6
|
+
var platform = {
|
|
7
|
+
pc: pc
|
|
8
|
+
};
|
|
9
|
+
function quit(params) {
|
|
10
|
+
initAPI(apiName, {
|
|
11
|
+
params: params,
|
|
12
|
+
platform: platform
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export { quit };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IError } from '../../common.typings';
|
|
2
|
+
export interface IBizNavigationReplaceParams {
|
|
3
|
+
url: string;
|
|
4
|
+
onSuccess?: () => void;
|
|
5
|
+
onFail?: (err: IError) => void;
|
|
6
|
+
}
|
|
7
|
+
declare function replace(params: IBizNavigationReplaceParams): void;
|
|
8
|
+
export { replace };
|