yach.open.jssdk 4.4.3-beta1 → 4.4.3-beta3
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.4.3-beta2.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 +8 -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 +23 -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/addAppToNav.d.ts +9 -0
- package/es/api/biz/util/addAppToNav.js +23 -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/copy.d.ts +11 -0
- package/es/api/biz/util/copy.js +19 -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 +11 -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/knowledgeBaseSelect.d.ts +21 -0
- package/es/api/biz/util/knowledgeBaseSelect.js +15 -0
- package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
- package/es/api/biz/util/lorebaseRefreshNodeWebview.js +19 -0
- package/es/api/biz/util/lorebaseShowList.d.ts +11 -0
- package/es/api/biz/util/lorebaseShowList.js +19 -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/openFutureGroup.d.ts +10 -0
- package/es/api/biz/util/openFutureGroup.js +23 -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/openPublish.d.ts +20 -0
- package/es/api/biz/util/openPublish.js +21 -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/resetSessionUnread.d.ts +8 -0
- package/es/api/biz/util/resetSessionUnread.js +21 -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/screen.d.ts +15 -0
- package/es/api/biz/util/screen.js +15 -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/topicEvent.d.ts +13 -0
- package/es/api/biz/util/topicEvent.js +27 -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/weeklyRead.d.ts +5 -0
- package/es/api/biz/util/weeklyRead.js +23 -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 +12 -0
- package/es/api/device/notification/hidePreloader.js +32 -0
- package/es/api/device/notification/showPreloader.d.ts +18 -0
- package/es/api/device/notification/showPreloader.js +32 -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 +335 -0
- package/es/index.js +352 -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 +178 -0
- package/es/lib/bridge/pc.d.ts +4 -0
- package/es/lib/bridge/pc.js +86 -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 +150 -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 +169 -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 +8 -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 +23 -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/addAppToNav.d.ts +9 -0
- package/libs/api/biz/util/addAppToNav.js +30 -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/copy.d.ts +11 -0
- package/libs/api/biz/util/copy.js +26 -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 +11 -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/knowledgeBaseSelect.d.ts +21 -0
- package/libs/api/biz/util/knowledgeBaseSelect.js +22 -0
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +26 -0
- package/libs/api/biz/util/lorebaseShowList.d.ts +11 -0
- package/libs/api/biz/util/lorebaseShowList.js +26 -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/openFutureGroup.d.ts +10 -0
- package/libs/api/biz/util/openFutureGroup.js +30 -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/openPublish.d.ts +20 -0
- package/libs/api/biz/util/openPublish.js +29 -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/resetSessionUnread.d.ts +8 -0
- package/libs/api/biz/util/resetSessionUnread.js +28 -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/screen.d.ts +15 -0
- package/libs/api/biz/util/screen.js +22 -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/topicEvent.d.ts +13 -0
- package/libs/api/biz/util/topicEvent.js +34 -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/weeklyRead.d.ts +5 -0
- package/libs/api/biz/util/weeklyRead.js +30 -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 +12 -0
- package/libs/api/device/notification/hidePreloader.js +40 -0
- package/libs/api/device/notification/showPreloader.d.ts +18 -0
- package/libs/api/device/notification/showPreloader.js +40 -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 +335 -0
- package/libs/index.js +1158 -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 +185 -0
- package/libs/lib/bridge/pc.d.ts +4 -0
- package/libs/lib/bridge/pc.js +93 -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 +158 -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 +177 -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(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(o,i,function(n){return e[n]}.bind(null,i));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1)}([function(e){e.exports=JSON.parse('{"name":"yach.open.jssdk","version":"4.4.3-beta2","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(e,n,t){"use strict";var o;function i(){var e="undefined"!=typeof navigator?navigator.userAgent:"",n=/Yach/i.test(e),t=/iPhone|iPad|iPod|iOS/i.test(e)&&n,i=/Android/i.test(e)&&n,r=/YachPc/i.test(e),a=/iPad/i.test(e)&&n,s=/iPhone/i.test(e)&&n,c=/Yachtest/.test(e)&&n,u=o.notInYach;return t&&(u=o.ios),i&&(u=o.android),r&&(u=o.pc),{platform:u,platformV2:{inYach:n,inIOS:t,inAndroid:i,inPC:r,inIpad:a,inIPhone:s},version:((e.match(/Yach\/[a-zA-Z0-9.-]+/)||[])[0]||"").split("/")[1]||"",language:"undefined"!=typeof navigator?navigator.language:"*",env:c?"test":"online"}}function r(e){if(e)if(e.group)if(e.project)if(e.hasOwnProperty("env"))if(e.hasOwnProperty("version")){var n=["https://es.zhiyinlou.com/log.js?"];n.push("group="+e.group),n.push("&project="+e.project),n.push("&env="+e.env),n.push("&version="+e.version),n.push("&method="+e.method),e.yachid&&n.push("&yachid="+e.yachid),e.workcode&&n.push("&workcode="+e.workcode),e.timestamp&&n.push("×tamp="+e.timestamp),e.errorcode&&n.push("&errorcode="+e.errorcode),e.message&&n.push("&message="+e.message),e.api&&e.time&&(n.push("&api="+e.api),n.push("&load_time="+e.time));var t,o,i=n.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"!=e.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(n),t.d(n,"version",(function(){return oi})),t.d(n,"sdkVersion",(function(){return ii})),t.d(n,"env",(function(){return ri})),t.d(n,"platform",(function(){return ai})),t.d(n,"platformV2",(function(){return si})),t.d(n,"config",(function(){return ci})),t.d(n,"ready",(function(){return ui})),t.d(n,"error",(function(){return di})),t.d(n,"on",(function(){return pi})),t.d(n,"off",(function(){return li})),t.d(n,"openLink",(function(){return _})),t.d(n,"feedback",(function(){return L})),t.d(n,"open",(function(){return N})),t.d(n,"openSlidePanel",(function(){return U})),t.d(n,"share",(function(){return Y})),t.d(n,"previewFile",(function(){return q})),t.d(n,"previewImage",(function(){return G})),t.d(n,"downloadFile",(function(){return K})),t.d(n,"uploadAttachment",(function(){return $})),t.d(n,"clipboardFileUpload",(function(){return X})),t.d(n,"proxy",(function(){return Z})),t.d(n,"datepicker",(function(){return ee})),t.d(n,"scan",(function(){return ie})),t.d(n,"chosen",(function(){return de})),t.d(n,"openSingleWebview",(function(){return le})),t.d(n,"getSingleWebviewData",(function(){return fe})),t.d(n,"injectScript",(function(){return ve})),t.d(n,"closeWindow",(function(){return he})),t.d(n,"showCallMenu",(function(){return Mo})),t.d(n,"call",(function(){return Eo})),t.d(n,"setIcon",(function(){return xn})),t.d(n,"setTitle",(function(){return En})),t.d(n,"setMenu",(function(){return Dn})),t.d(n,"close",(function(){return jn})),t.d(n,"replacePage",(function(){return On})),t.d(n,"quit",(function(){return Vn})),t.d(n,"setRight",(function(){return _n})),t.d(n,"setTitleExpandIcon",(function(){return Hn})),t.d(n,"updateExpandTitle",(function(){return Un})),t.d(n,"setLeft",(function(){return qn})),t.d(n,"goBack",(function(){return Kn})),t.d(n,"complexPicker",(function(){return ot})),t.d(n,"departmentsPicker",(function(){return it})),t.d(n,"groupComplexPicker",(function(){return rt})),t.d(n,"chooseConversationByCorpId",(function(){return at})),t.d(n,"pickConversation",(function(){return ct})),t.d(n,"openSingleChat",(function(){return ut})),t.d(n,"openTeamChat",(function(){return dt})),t.d(n,"openSquad",(function(){return pt})),t.d(n,"sendP2PMsg",(function(){return lt})),t.d(n,"mapView",(function(){return ae})),t.d(n,"multipointView",(function(){return ce})),t.d(n,"requestAuthCode",(function(){return kt})),t.d(n,"createTab",(function(){return vt})),t.d(n,"weeklyShare",(function(){return ht})),t.d(n,"fullScreen",(function(){return bt})),t.d(n,"exitFullScreen",(function(){return yt})),t.d(n,"showPreloader",(function(){return zt})),t.d(n,"showCustomOverlayContent",(function(){return Ct})),t.d(n,"hidePreloader",(function(){return Mt})),t.d(n,"hideCustomOverlayContent",(function(){return xt})),t.d(n,"vibrate",(function(){return Ft})),t.d(n,"toast",(function(){return At})),t.d(n,"alert",(function(){return Wt})),t.d(n,"confirm",(function(){return _t})),t.d(n,"getPhoneInfo",(function(){return Rt})),t.d(n,"getUUID",(function(){return ho})),t.d(n,"checkStepPermission",(function(){return bo})),t.d(n,"getGeolocation",(function(){return Nt})),t.d(n,"getGeolocationSwitch",(function(){return Ut})),t.d(n,"getLang",(function(){return Jt})),t.d(n,"startRecord",(function(){return qt})),t.d(n,"stopRecord",(function(){return Kt})),t.d(n,"onRecordEnd",(function(){return Xt})),t.d(n,"downloadAudio",(function(){return Qt})),t.d(n,"playAudio",(function(){return no})),t.d(n,"pauseAudio",(function(){return oo})),t.d(n,"stopAudio",(function(){return ro})),t.d(n,"onPlayEnd",(function(){return so})),t.d(n,"resumeAudio",(function(){return uo})),t.d(n,"getNetworkType",(function(){return lo})),t.d(n,"isAtTal",(function(){return vo})),t.d(n,"webViewBounceDisable",(function(){return Ao})),t.d(n,"pullToRefreshEnable",(function(){return jo})),t.d(n,"pullToRefreshStop",(function(){return Ro})),t.d(n,"pullToRefreshDisable",(function(){return Wo})),t.d(n,"getItem",(function(){return _o})),t.d(n,"setItem",(function(){return No})),t.d(n,"removeItem",(function(){return Uo})),t.d(n,"writeLog",(function(){return Yo})),t.d(n,"flushLog",(function(){return Go})),t.d(n,"remind",(function(){return be})),t.d(n,"takePicture",(function(){return we})),t.d(n,"datetimepicker",(function(){return te})),t.d(n,"actionSheet",(function(){return jt})),t.d(n,"webViewMessageSend",(function(){return Zo})),t.d(n,"talYoungFilesUpload",(function(){return Qo})),t.d(n,"openVideoPlayer",(function(){return ke})),t.d(n,"openMediaFileDialog",(function(){return Pe})),t.d(n,"mediaFileUpload",(function(){return Se})),t.d(n,"invoice",(function(){return ze})),t.d(n,"pushWorkMsg",(function(){return Ce})),t.d(n,"openTalYoungToTopic",(function(){return Te})),t.d(n,"getToken",(function(){return Me})),t.d(n,"authStart",(function(){return Ee})),t.d(n,"authFinish",(function(){return Ae})),t.d(n,"assistantCreate",(function(){return je})),t.d(n,"yachEvent",(function(){return Re})),t.d(n,"topicEvent",(function(){return We})),t.d(n,"openTogetherEyeWebview",(function(){return _e})),t.d(n,"getTogetherConfig",(function(){return Ne})),t.d(n,"rouseApp",(function(){return He})),t.d(n,"externalLinkPreviewFile",(function(){return Ue})),t.d(n,"savePic",(function(){return Ge})),t.d(n,"zfbAuth",(function(){return Ye})),t.d(n,"complain",(function(){return Ke})),t.d(n,"onRecordEnd_v2",(function(){return yo})),t.d(n,"startRecord_v2",(function(){return Po})),t.d(n,"stopRecord_v2",(function(){return zo})),t.d(n,"selectDepartment",(function(){return $e})),t.d(n,"setWindowBig",(function(){return Xn})),t.d(n,"tencentMeeting",(function(){return Zn})),t.d(n,"tencentMeetingBegin",(function(){return Qn})),t.d(n,"createModifySchedule",(function(){return Ze})),t.d(n,"onlineDocmentOpenTeamChat",(function(){return tn})),t.d(n,"entergroupCheck",(function(){return rn})),t.d(n,"resetSessionUnread",(function(){return sn})),t.d(n,"weeklyRead",(function(){return un})),t.d(n,"openFutureGroup",(function(){return fn})),t.d(n,"knowledgeBaseSelect",(function(){return mn})),t.d(n,"lorebaseShowList",(function(){return gn})),t.d(n,"lorebaseRefreshNodeWebview",(function(){return wn})),t.d(n,"openPublish",(function(){return zn})),t.d(n,"setLight",(function(){return To})),t.d(n,"openUserSchedule",(function(){return en})),t.d(n,"disableScreenCapture",(function(){return pn})),t.d(n,"setPanGestureEnable",(function(){return tt})),t.d(n,"addAppToNav",(function(){return ni})),t.d(n,"copy",(function(){return Pn})),t.d(n,"capturePage",(function(){return $o})),function(e){e.pc="pc",e.android="android",e.ios="ios",e.notInYach="notInYach"}(o||(o={}));var a=function(){return(a=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function s(e){var n=i().env,t=i().version,o=Date.now(),s=a({group:"yach",project:"yach_31_jssdk",env:n,version:t,timestamp:o},e);console.log("jssdk 项目 bpit 上报数据:",s),r(s)}var c={log:function(){},warn:function(){},error:function(){}};if("undefined"!=typeof window&&window.console&&(c=window.console),"undefined"!=typeof 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),p=(c.warn.bind(c),c.error.bind(c),"color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;");function l(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return d("%c Yach-jssdk log: ",p,e)}var f=function(e,n){var t=m(e),o=m(n),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(e){if("string"!=typeof e)throw new TypeError("Invalid argument expected string");var n=e.match(v);if(!n)throw new Error("Invalid argument not valid semver ('"+e+"' received)");return n.shift(),n},h=function(e){return"*"===e||"x"===e||"X"===e},g=function(e){var n=parseInt(e,10);return isNaN(n)?e:n},b=function(e,n){if(h(e)||h(n))return 0;var t=function(e,n){return typeof e!=typeof n?[String(e),String(n)]:[e,n]}(g(e),g(n)),o=t[0],i=t[1];return o>i?1:o<i?-1:0},w=function(e,n){for(var t=0;t<Math.max(e.length,n.length);t++){var o=b(e[t]||"0",n[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 e(e){var n=this;this.invokeAPIConfigMapByMethod={},this.configJsApiList=[],this.platformConfigMap={},this.hadConfig=!1,this.bridgeInitFnPromise=null,this.cacheP={},this.config$=new Promise((function(e,t){n.cacheP.resolve=e,n.cacheP.reject=t})),this.env=e,this.exportSdk={version:e.version,sdkVersion:k.version,env:e,platform:e.platform,platformV2:e.platformV2,config:function(e){void 0===e&&(e={});var t=e.jsApiList,o=void 0===t?[]:t;n.hadConfig?console.log("Config has been executed"):n.bridgeInitFn().then((function(t){t("config",e).then((function(e){n.cacheP.resolve(e),n.hadConfig=!0,n.configJsApiList=o})).catch((function(e){n.cacheP.reject(e)}))}))},ready:function(e){n.bridgeInitFn().then((function(){e()}))},error:function(e){n.config$.catch((function(n){e(n)}))},on:function(t,o){n.bridgeInitFn().then((function(){n.platformConfigMap[e.platform].event.on(t,o)}))},off:function(t,o){n.bridgeInitFn().then((function(){n.platformConfigMap[e.platform].event.off(t,o)}))}}}return e.prototype.setAPI=function(e,n){this.invokeAPIConfigMapByMethod[e]=n},e.prototype.setPlatform=function(e){var n=e.platform;e.bridgeInit;this.platformConfigMap[n]=e},e.prototype.bridgeInitFn=function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var e=this.platformConfigMap[this.env.platform];if(e)this.bridgeInitFnPromise=e.bridgeInit();else{var n="Do not support the current environment�"+this.env.platform;this.bridgeInitFnPromise=Promise.reject(new Error(n))}return this.bridgeInitFnPromise},e.prototype._onFail=function(e,n,t,o){s({method:e,errorcode:n,message:t}),o&&"function"==typeof o&&o({code:n,message:t})},e.prototype.invokeAPI=function(e,n){if(n||(n={}),e){var t=this.invokeAPIConfigMapByMethod[e];if(!t)return this._onFail(e,"-1","["+e+"] method is not exist",n.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(e,"-1","The current application version is "+this.env.version+". This method does not support versions less than "+i,n.onFail);var r=o.paramsDeal?o.paramsDeal(n):n;if("function"==typeof r.onSuccess){var a=r.onSuccess;r.onSuccess=function(e){a(e)}}this.bridgeInitFn().then((function(n){n(e,r).then((function(n){l("SDK 返回结果成功 ",{method:e,params:r,result:n})})).catch((function(n){l("SDK 返回结果失败",{method:e,params:r,error:n})}))})).catch((function(e){console.log("wenai err",e)}))}else this._onFail(e,"-1","["+e+"] method do not support the current platform ("+this.env.platform+")",n.onFail)}},e}(),S=new function(){var e=this;this.on=function(n,t){if(!n||"function"!=typeof t)throw"eventName is null or handle is not a function, on fail";Array.isArray(e.eventsHandle[n])||(e.eventsHandle[n]=[]),e.eventsHandle[n].push(t)},this.off=function(n,t){if(!n)throw"eventName is null, invoke off fail";if(t){if(Array.isArray(e.eventsHandle[n])){var o=e.eventsHandle[n].indexOf(t);-1!==o&&e.eventsHandle[n].splice(o,1)}}else e.eventsHandle[n]=[]},this.execEvent=function(e,n){Array.isArray(this.eventsHandle[e])&&this.eventsHandle[e].forEach((function(e){try{e(n)}catch(e){console.error(n)}}))},this.eventsHandle={}},z=function(e,n,t){var o=this;this.genid=function(){var e=Date.now().toString(36);return e+=Math.random().toString(36).substr(3)},this.receiveResponse=function(e){o.callback(e)},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=e,this.plainMsg=n,this.invokeType=null==n?void 0:n.invokeType,this.callback=t},C=new function(){var e=this;this.addPending=function(n){e.pendingMsgs[n.id]=n},this.deletePending=function(n){delete e.pendingMsgs[n.id]},this.getPending=function(e){return this.pendingMsgs[e]},this.invokeAPIInBrowserView=function(e){window.sendTo(e)},this.invokeAPIInWebview=function(e){window.sendToHost(e)},this.invokeAPI=function(n,t,o){var i=new z(n,t,o),r=JSON.stringify(i.getPayload()),a=t.invokeType;return"browserView"===(void 0===a?"":a)?e.invokeAPIInBrowserView(r):e.invokeAPIInWebview(r),e.addPending(i),i},this.handleCallback=function(n,t){var o=n.type,i=n.methodName,r=n.eventName,a=n.msgId,s=n.data,c=void 0===s?{}:s,u=n.code,d=n.message,p=n.msg;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,c);break;case"zoomInClick":var l=document.documentElement.scrollTop||document.body.scrollTop,f=window.location.href;"browserView"===t?window.sendTo(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:l,url:f,title:c&&c.title}})):window.sendToHost(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:l,url:f,title:c&&c.title}}))}else if("response"===o){var v=e.getPending(a);v&&v.receiveResponse({data:c,code:u,message:d||p||c.msg||c.message}),-3!=u&&e.deletePending(a)}},this.init=function(){window.addEventListener("message",(function(n){l("electron res: ",n),e.handleCallback(n.data||{})})),window.receiveBrowserViewData&&window.receiveBrowserViewData((function(n,t){return e.handleCallback(t)}))},this.pendingMsgs={}},T=new Map([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function I(e){return T.get(e)||"onFail"}var M=function(){return(M=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)},x=function(e,n){return new Promise((function(t,o){return C.invokeAPI(e,n,(function(i){var r=i.data,a=i.code,c=i.message,u=parseInt(a),d=I(u),p=n[d];if(l("SDK执行后回调,相关参数 ",{method:e,param:n,data:r,_code:u,message:c,callbackFun:p}),"onFail"!==d)"function"==typeof p&&p(r||c),t({_code:u,message:c,data:r});else{if(s({method:e,errorcode:u,message:c||JSON.stringify(r)||"SDK执行失败回调,相关参数"}),"function"==typeof p){console.log("wenai-code",a,u);var f="[object Object]"===Object.prototype.toString.call(r)?M(M({},r),{code:a,message:c}):{data:r,code:a,message:c};p(c?f:r)}o({_code:u,message:c,data:r})}}))}))},E=function(){return(E=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function F(e){if(window.WebViewJavascriptBridge)return e(WebViewJavascriptBridge);if(window.WKWebViewJavascriptBridge)return e(WKWebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];var n=document.createElement("iframe");n.style.display="none",n.src="https://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout((function(){document.documentElement.removeChild(n)}),0)}var A=function(e,n){return new Promise((function(t,o){var i=E({},n);F((function(r){n.control&&r.registerHandler(e,(function(e){var o=n.onSuccess;delete i.onSuccess,"function"==typeof o&&(o(e),t({code:"0",message:"success"}))})),r.callHandler(e,n,(function(r){var a=r.code,c=r.message,u=r.data,d=parseInt(a),p=I(d),f=i[p];if(l("SDK执行后回调,相关参数 ",{method:e,param:n,data:u,_code:d,message:c,callbackFun:f}),"onFail"===p)return s({method:e,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})}))}))}))},D=function(e,n,t,o){return new(t||(t=Promise))((function(i,r){function a(e){try{c(o.next(e))}catch(e){r(e)}}function s(e){try{c(o.throw(e))}catch(e){r(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,s)}c((o=o.apply(e,n||[])).next())}))},j=function(e,n){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=n.call(e,a)}catch(e){r=[6,e],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])}}},O=i(),R=O.platform,V=new P(O);!function(){var e=this,n={platform:R,authMethod:"config",bridgeInit:"pc"===R?function(){return D(e,void 0,void 0,(function(){return j(this,(function(e){return C.init(),[2,x]}))}))}:function(){return new Promise((function(e,n){F((function(n){l("注册resume事件 "),n.registerHandler("resume",(function(e){l("resume监听到回调,相关参数 ",{resData:e}),S.execEvent("resume",e)})),l("注册unreadMsgAction事件 "),n.registerHandler("unreadMsgAction",(function(e){l("unreadMsgAction监听到回调,相关参数 ",{resData:e}),S.execEvent("unreadMsgAction",e)})),l("注册webViewMsgReceive事件 "),n.registerHandler("webViewMsgReceive",(function(e){l("webViewMsgReceive监听到回调,相关参数 ",{resData:e}),S.execEvent("webViewMsgReceive",e)})),n.registerHandler("pushWorkMsg",(function(e){l("pushWorkMsg监听到回调,相关参数 ",{resData:e}),S.execEvent("pushWorkMsg",e)})),n.registerHandler("getTogetherCallback",(function(e){l("getTogetherCallback监听到回调,相关参数 ",{resData:e}),S.execEvent("getTogetherCallback",e)})),n.registerHandler("sendMsgCommon",(function(e){l("sendMsgCommon ",{resData:e}),S.execEvent("sendMsgCommon",e)})),n.registerHandler("toolbarClickEvent",(function(e,n){l("toolbarClickEvent ",{resData:e});var t={data:e,callback:n};S.execEvent("toolbarClickEvent",t)})),e()}))})).then((function(){return A}))},event:{on:function(e,n){S.on(e,n)},off:function(e,n){S.off(e,n)}}};V.setPlatform(n)}();var W={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};var B=function(e,n){var t=n.params,o=void 0===t?{}:t,i=n.platform,r=void 0===i?W:i;V.setAPI(e,r),V.invokeAPI(e,o)};function _(e){B("biz.util.openLink",{params:e})}function L(e){B("biz.util.feedback",{params:e})}function N(e){B("biz.util.open",{params:e})}var H={pc:{vs:"0.0.0"}};function U(e){B("biz.util.openSlidePanel",{params:e,platform:H})}var J={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Y(e){B("biz.util.share",{params:e,platform:J})}function q(e){B("biz.util.previewFile",{params:e})}function G(e){B("biz.util.previewImage",{params:e})}function K(e){B("biz.util.downloadFile",{params:e})}function $(e){B("biz.util.uploadAttachment",{params:e})}function X(e){B("biz.util.clipboardFileUpload",{params:e})}function Z(e){B("biz.util.proxy",{params:e})}var Q={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ee(e){B("biz.util.datepicker",{params:e,platform:Q})}var ne={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function te(e){B("biz.util.datetimepicker",{params:e,platform:ne})}var oe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ie(e){B("biz.util.scan",{params:e,platform:oe})}var re={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ae(e){B("biz.map.view",{params:e,platform:re})}var se={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ce(e){B("biz.map.multipointView",{params:e,platform:se})}var ue={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function de(e){B("biz.util.chosen",{params:e,platform:ue})}var pe={pc:{vs:"0.0.0"}};function le(e){B("biz.util.openSingleWebview",{params:e,platform:pe})}function fe(e){B("biz.util.getSingleWebviewData",{params:e})}function ve(e){B("biz.util.injectScript",{params:e})}var me={pc:{vs:"0.0.0"}};function he(e){B("biz.util.closeWindow",{params:e,platform:me})}var ge={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function be(e){B("biz.util.remind",{params:e,platform:ge})}function we(e){B("biz.util.takePicture",{params:e})}var ye={pc:{vs:"0.0.0"},ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ke(e){B("biz.util.openVideoPlayer",{params:e,platform:ye})}function Pe(e){B("biz.util.openMediaFileDialog",{params:e})}function Se(e){B("biz.util.mediaFileUpload",{params:e})}function ze(e){B("biz.util.invoice",{params:e})}function Ce(e){B("biz.util.pushWorkMsg",{params:e})}function Te(e){B("biz.util.openTalYoungToTopic",{params:e})}var Ie={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Me(e){B("biz.util.getToken",{params:e,platform:Ie})}var xe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ee(e){B("biz.util.authStart",{params:e,platform:xe})}var Fe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ae(e){B("biz.util.authFinish",{params:e,platform:Fe})}var De={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function je(e){B("biz.util.assistantCreate",{params:e,platform:De})}var Oe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Re(e){B("biz.util.yachEvent",{params:e,platform:Oe})}var Ve={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function We(e){B("biz.util.topicEvent",{params:e,platform:Ve})}var Be={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function _e(e){B("biz.util.openTogetherEyeWebview",{params:e,platform:Be})}var Le={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Ne(e){B("biz.util.getTogetherConfig",{params:e,platform:Le})}function He(e){B("biz.util.rouseApp",{params:e})}function Ue(e){B("biz.util.externalLinkPreviewFile",{params:e})}var Je={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ye(e){B("biz.util.zfbAuth",{params:e,platform:Je})}var qe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ge(e){B("biz.util.savePic",{params:e,platform:qe})}function Ke(e){B("biz.util.complain",{params:e})}function $e(e){B("biz.util.selectDepartment",{params:e})}var Xe={pc:{vs:"0.0.0"}};function Ze(e){B("biz.util.createModifySchedule",{params:e,platform:Xe})}var Qe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function en(e){B("biz.util.openUserSchedule",{params:e,platform:Qe})}var nn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function tn(e){B("onlineDocmentOpenTeamChat",{params:e,platform:nn})}var on={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.0"}};function rn(e){B("biz.util.entergroupCheck",{params:e,platform:on})}var an={pc:{vs:"1.8.0"}};function sn(e){B("biz.util.resetSessionUnread",{params:e,platform:an})}var cn={pc:{vs:"1.9.3.1"},ios:{vs:"1.9.3.1"},android:{vs:"1.9.3.1"}};function un(e){B("biz.util.weeklyRead",{params:e,platform:cn})}var dn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function pn(e){B("biz.util.disableScreenCapture",{params:e,platform:dn})}var ln={pc:{vs:"1.8.8"},ios:{vs:"1.8.8"},android:{vs:"1.8.8"}};function fn(e){B("biz.util.openFutureGroup",{params:e,platform:ln})}var vn={pc:{vs:"1.8.8"}};function mn(e){B("biz.util.knowledgeBaseSelect",{params:e,platform:vn})}var hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function gn(e){B("biz.util.lorebaseShowList",{params:e,platform:hn})}var bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function wn(e){B("biz.util.lorebaseRefreshNodeWebview",{params:e,platform:bn})}var yn,kn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Pn(e){B("biz.util.copy",{params:e,platform:kn})}!function(e){e.PUBLISH="publish",e.FORWARD="forward"}(yn||(yn={}));var Sn={pc:{vs:"1.8.8"}};function zn(e){B("biz.util.openPublish",{params:e,platform:Sn})}var Cn=function(){return(Cn=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function Tn(e){return function(n){return Cn(Cn({},e),n)}}var In=Tn({control:!0,showIcon:!0,iconIndex:1}),Mn={ios:{vs:"0.0.0",paramsDeal:In},android:{vs:"0.0.0",paramsDeal:In}};function xn(e){B("biz.navigation.setIcon",{params:e,platform:Mn})}function En(e){B("biz.navigation.setTitle",{params:e})}var Fn=Tn({control:!0}),An={ios:{vs:"0.0.0",paramsDeal:Fn},android:{vs:"0.0.0",paramsDeal:Fn}};function Dn(e){B("biz.navigation.setMenu",{params:e,platform:An})}function jn(e){B("biz.navigation.close",{params:e})}function On(e){B("biz.navigation.replace",{params:e})}var Rn={pc:{vs:"0.0.0"}};function Vn(e){B("biz.navigation.quit",{params:e,platform:Rn})}var Wn=Tn({show:!0,control:!1,text:""}),Bn={ios:{vs:"0.0.0",paramsDeal:Wn},android:{vs:"0.0.0",paramsDeal:Wn},pc:{vs:"0.0.0"}};function _n(e){B("biz.navigation.setRight",{params:e,platform:Bn})}var Ln=Tn({control:!0}),Nn={ios:{vs:"0.0.0",paramsDeal:Ln},android:{vs:"0.0.0",paramsDeal:Ln}};function Hn(e){B("biz.navigation.setTitleExpandIcon",{params:e,platform:Nn})}function Un(e){B("biz.navigation.updateExpandTitle",{params:e})}var Jn=Tn({show:!0,control:!1,text:""}),Yn={ios:{vs:"0.0.0",paramsDeal:Jn},android:{vs:"0.0.0",paramsDeal:Jn},pc:{vs:"0.0.0"}};function qn(e){B("biz.navigation.setLeft",{params:e,platform:Yn})}var Gn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Kn(e){B("biz.navigation.goBack",{params:e,platform:Gn})}var $n={pc:{vs:"0.0.0"}};function Xn(e){B("biz.navigation.setWindowBig",{params:e,platform:$n})}function Zn(e){B("biz.navigation.tencentMeeting",{params:e})}function Qn(e){B("biz.navigation.tencentMeetingBegin",{params:e})}var et=Tn({nativePanEnable:!0,webPanEnable:!0}),nt={ios:{vs:"0.0.0",paramsDeal:et},android:{vs:"0.0.0",paramsDeal:et}};function tt(e){B("biz.navigation.setPanGestureEnable",{params:e,platform:nt})}function ot(e){B("biz.contact.complexPicker",{params:e})}function it(e){B("biz.contact.departmentsPicker",{params:e})}function rt(e){B("biz.group.groupComplexPicker",{params:e})}function at(e){B("biz.chat.chooseConversationByCorpId",{params:e})}var st={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ct(e){B("biz.chat.pickConversation",{params:e,platform:st})}function ut(e){B("biz.chat.openSingleChat",{params:e})}function dt(e){B("biz.chat.openTeamChat",{params:e})}function pt(e){B("biz.chat.openSquad",{params:e})}function lt(e){B("biz.chat.sendP2PMsg",{params:e})}var ft={pc:{vs:"0.0.0"}};function vt(e){B("primary.createTab",{params:e,platform:ft})}var mt={pc:{vs:"0.0.0"}};function ht(e){B("primary.weeklyShare",{params:e,platform:mt})}var gt={pc:{vs:"0.0.0"}};function bt(e){B("primary.fullScreen",{params:e,platform:gt})}var wt={pc:{vs:"0.0.0"}};function yt(e){B("primary.exitFullScreen",{params:e,platform:wt})}function kt(e){B("runtime.permission.requestAuthCode",{params:e})}var Pt={vs:"1.9.9"},St={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:Pt};function zt(e){B("device.notification.showPreloader",{params:e,platform:St})}function Ct(e){B("device.notification.showCustomOverlayContent",{params:e,platform:{pc:Pt}})}var Tt={vs:"1.9.9"},It={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:Tt};function Mt(e){B("device.notification.hidePreloader",{params:e,platform:It})}function xt(e){B("device.notification.hideCustomOverlayContent",{params:e,platform:{pc:Tt}})}var Et={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ft(e){B("device.notification.vibrate",{params:e,platform:Et})}function At(e){B("device.notification.toast",{params:e})}var Dt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jt(e){B("device.notification.actionSheet",{params:e,platform:Dt})}var Ot={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Rt(e){B("device.base.getPhoneInfo",{params:e,platform:Ot})}var Vt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Wt(e){B("device.notification.alert",{params:e,platform:Vt})}var Bt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function _t(e){B("device.notification.confirm",{params:e,platform:Bt})}var Lt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Nt(e){B("device.geolocation.get",{params:e,platform:Lt})}var Ht={android:{vs:"0.0.0"}};function Ut(e){B("device.geolocation.getSwitch",{params:e,platform:Ht})}function Jt(e){B("device.system.getLang",{params:e})}var Yt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function qt(e){B("device.audio.startRecord",{params:e,platform:Yt})}var Gt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Kt(e){B("device.audio.stopRecord",{params:e,platform:Gt})}var $t={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Xt(e){B("device.audio.onRecordEnd",{params:e,platform:$t})}var Zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Qt(e){B("device.audio.download",{params:e,platform:Zt})}var eo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function no(e){B("device.audio.play",{params:e,platform:eo})}var to={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function oo(e){B("device.audio.pause",{params:e,platform:to})}var io={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ro(e){B("device.audio.stop",{params:e,platform:io})}var ao={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function so(e){B("device.audio.onPlayEnd",{params:e,platform:ao})}var co={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function uo(e){B("device.audio.resume",{params:e,platform:co})}var po={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function lo(e){B("device.connection.getNetworkType",{params:e,platform:po})}var fo={pc:{vs:"0.0.0"}};function vo(e){B("device.connection.isAtTal",{params:e,platform:fo})}var mo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.1"}};function ho(e){B("device.base.getUUID",{params:e,platform:mo})}var go={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function bo(e){B("device.base.checkStepPermission",{params:e,platform:go})}var wo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function yo(e){B("device.audio.onRecordEnd_v2",{params:e,platform:wo})}var ko={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Po(e){B("device.audio.startRecord_v2",{params:e,platform:ko})}var So={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function zo(e){B("device.audio.stopRecord_v2",{params:e,platform:So})}var Co={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function To(e){B("device.system.setLight",{params:e,platform:Co})}var Io={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Mo(e){B("biz.telephone.showCallMenu",{params:e,platform:Io})}var xo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Eo(e){B("biz.telephone.call",{params:e,platform:xo})}var Fo={ios:{vs:"0.0.0"}};function Ao(e){B("ui.webViewBounce.disable",{params:e,platform:Fo})}var Do={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jo(e){B("ui.pullToRefresh.enable",{params:e,platform:Do})}var Oo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ro(e){B("ui.pullToRefresh.stop",{params:e,platform:Oo})}var Vo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Wo(e){B("ui.pullToRefresh.disable",{params:e,platform:Vo})}var Bo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function _o(e){B("util.domainStorage.getItem",{params:e,platform:Bo})}var Lo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function No(e){B("util.domainStorage.setItem",{params:e,platform:Lo})}var Ho={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Uo(e){B("util.domainStorage.removeItem",{params:e,platform:Ho})}var Jo={pc:{vs:"1.7.0"}};function Yo(e){B("util.tool.writeLog",{params:e,platform:Jo})}var qo={pc:{vs:"1.7.0"}};function Go(e){B("util.tool.flushLog",{params:e,platform:qo})}var Ko={pc:{vs:"1.9.9"}};function $o(e){B("biz.util.capturePage",{params:e,platform:Ko})}var Xo={ios:{vs:"0.0.0"}};function Zo(e){B("biz.webViewMessage.send",{params:e,platform:Xo})}function Qo(e){B("app.custom.talYoungFilesUpload",{params:e})}var ei={ios:{vs:"1.8.8"},android:{vs:"1.8.8"},pc:{vs:"1.8.8"}};function ni(e){B("biz.util.addAppToNav",{params:e,platform:ei})}console.log("add rouseApp ------------\x3e",He);var ti=V.exportSdk,oi=ti.version,ii=ti.sdkVersion,ri=ti.env,ai=ti.platform,si=ti.platformV2,ci=ti.config,ui=ti.ready,di=ti.error,pi=ti.on,li=ti.off;n.default={version:oi,sdkVersion:ii,env:ri,platform:ai,platformV2:si,config:ci,ready:ui,error:di,on:pi,off:li,biz:{util:{openLink:_,feedback:L,open:N,openSlidePanel:U,share:Y,previewFile:q,previewImage:G,downloadFile:K,uploadAttachment:$,clipboardFileUpload:X,proxy:Z,datepicker:ee,datetimepicker:te,scan:ie,chosen:de,openSingleWebview:le,getSingleWebviewData:fe,injectScript:ve,onlineDocmentOpenTeamChat:tn,entergroupCheck:rn,resetSessionUnread:sn,weeklyRead:un,openFutureGroup:fn,closeWindow:he,remind:be,takePicture:we,openVideoPlayer:ke,openMediaFileDialog:Pe,mediaFileUpload:Se,invoice:ze,pushWorkMsg:Ce,openTalYoungToTopic:Te,getToken:Me,authStart:Ee,authFinish:Ae,assistantCreate:je,yachEvent:Re,topicEvent:We,openTogetherEyeWebview:_e,getTogetherConfig:Ne,rouseApp:He,externalLinkPreviewFile:Ue,savePic:Ge,zfbAuth:Ye,complain:Ke,selectDepartment:$e,createModifySchedule:Ze,openUserSchedule:en,disableScreenCapture:pn,addAppToNav:ni,knowledgeBaseSelect:mn,lorebaseShowList:gn,lorebaseRefreshNodeWebview:wn,copy:Pn,openPublish:zn,capturePage:$o},telephone:{showCallMenu:Mo,call:Eo},navigation:{setIcon:xn,setTitle:En,setMenu:Dn,close:jn,replace:On,quit:Vn,setRight:_n,setTitleExpandIcon:Hn,updateExpandTitle:Un,setLeft:qn,goBack:Kn,setWindowBig:Xn,tencentMeeting:Zn,tencentMeetingBegin:Qn,setPanGestureEnable:tt},contact:{complexPicker:ot,departmentsPicker:it},group:{groupComplexPicker:rt},chat:{chooseConversationByCorpId:at,pickConversation:ct,openSingleChat:ut,openTeamChat:dt,openSquad:pt,sendP2PMsg:lt},map:{view:ae,multipointView:ce},webViewMessage:{send:Zo}},runtime:{permission:{requestAuthCode:kt}},primary:{createTab:vt,weeklyShare:ht,fullScreen:bt,exitFullScreen:yt},device:{notification:{showPreloader:zt,showCustomOverlayContent:Ct,hidePreloader:Mt,hideCustomOverlayContent:xt,vibrate:Ft,toast:At,alert:Wt,confirm:_t,actionSheet:jt},base:{getPhoneInfo:Rt,getUUID:ho,checkStepPermission:bo},geolocation:{get:Nt,getSwitch:Ut},system:{getLang:Jt,setLight:To},audio:{startRecord:qt,stopRecord:Kt,onRecordEnd:Xt,download:Qt,play:no,pause:oo,stop:ro,onPlayEnd:so,resume:uo,onRecordEnd_v2:yo,startRecord_v2:Po,stopRecord_v2:zo},connection:{getNetworkType:lo,isAtTal:vo}},ui:{webViewBounce:{disable:Ao},pullToRefresh:{enable:jo,stop:Ro,disable:Wo}},util:{domainStorage:{getItem:_o,setItem:No,removeItem:Uo},tool:{writeLog:Yo,flushLog:Go}},app:{custom:{talYoungFilesUpload:Qo}}}}]).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 };
|