yach.open.jssdk 4.4.11-beta.1 → 4.4.11-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/yach_jssdk_4.4.11-beta.1.js +0 -1
- package/es/api/app/custom/talYoungFilesUpload.d.ts +0 -38
- package/es/api/app/custom/talYoungFilesUpload.js +0 -16
- package/es/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
- package/es/api/biz/chat/chooseConversationByCorpId.js +0 -8
- package/es/api/biz/chat/openSingleChat.d.ts +0 -10
- package/es/api/biz/chat/openSingleChat.js +0 -8
- package/es/api/biz/chat/openSquad.d.ts +0 -8
- package/es/api/biz/chat/openSquad.js +0 -8
- package/es/api/biz/chat/openTeamChat.d.ts +0 -10
- package/es/api/biz/chat/openTeamChat.js +0 -8
- package/es/api/biz/chat/pickConversation.d.ts +0 -19
- package/es/api/biz/chat/pickConversation.js +0 -19
- package/es/api/biz/chat/sendP2PMsg.d.ts +0 -10
- package/es/api/biz/chat/sendP2PMsg.js +0 -8
- package/es/api/biz/contact/complexPicker.d.ts +0 -62
- package/es/api/biz/contact/complexPicker.js +0 -8
- package/es/api/biz/contact/departmentsPicker.d.ts +0 -35
- package/es/api/biz/contact/departmentsPicker.js +0 -8
- package/es/api/biz/group/groupComplexPicker.d.ts +0 -33
- package/es/api/biz/group/groupComplexPicker.js +0 -8
- package/es/api/biz/map/multipointView.d.ts +0 -21
- package/es/api/biz/map/multipointView.js +0 -19
- package/es/api/biz/map/view.d.ts +0 -13
- package/es/api/biz/map/view.js +0 -19
- package/es/api/biz/navigation/close.d.ts +0 -8
- package/es/api/biz/navigation/close.js +0 -9
- package/es/api/biz/navigation/goBack.d.ts +0 -7
- package/es/api/biz/navigation/goBack.js +0 -19
- package/es/api/biz/navigation/quit.d.ts +0 -8
- package/es/api/biz/navigation/quit.js +0 -15
- package/es/api/biz/navigation/replace.d.ts +0 -8
- package/es/api/biz/navigation/replace.js +0 -8
- package/es/api/biz/navigation/setIcon.d.ts +0 -12
- package/es/api/biz/navigation/setIcon.js +0 -27
- package/es/api/biz/navigation/setLeft.d.ts +0 -9
- package/es/api/biz/navigation/setLeft.js +0 -31
- package/es/api/biz/navigation/setMenu.d.ts +0 -20
- package/es/api/biz/navigation/setMenu.js +0 -25
- package/es/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
- package/es/api/biz/navigation/setPanGestureEnable.js +0 -26
- package/es/api/biz/navigation/setRight.d.ts +0 -13
- package/es/api/biz/navigation/setRight.js +0 -31
- package/es/api/biz/navigation/setTitle.d.ts +0 -11
- package/es/api/biz/navigation/setTitle.js +0 -8
- package/es/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
- package/es/api/biz/navigation/setTitleExpandIcon.js +0 -25
- package/es/api/biz/navigation/setWindowBig.d.ts +0 -9
- package/es/api/biz/navigation/setWindowBig.js +0 -16
- package/es/api/biz/navigation/tencentMeeting.d.ts +0 -23
- package/es/api/biz/navigation/tencentMeeting.js +0 -8
- package/es/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
- package/es/api/biz/navigation/tencentMeetingBegin.js +0 -8
- package/es/api/biz/navigation/updateExpandTitle.d.ts +0 -8
- package/es/api/biz/navigation/updateExpandTitle.js +0 -8
- package/es/api/biz/telephone/call.d.ts +0 -9
- package/es/api/biz/telephone/call.js +0 -19
- package/es/api/biz/telephone/showCallMenu.d.ts +0 -12
- package/es/api/biz/telephone/showCallMenu.js +0 -19
- package/es/api/biz/util/addAppToNav.d.ts +0 -9
- package/es/api/biz/util/addAppToNav.js +0 -23
- package/es/api/biz/util/assistantCreate.d.ts +0 -11
- package/es/api/biz/util/assistantCreate.js +0 -23
- package/es/api/biz/util/authFinish.d.ts +0 -11
- package/es/api/biz/util/authFinish.js +0 -19
- package/es/api/biz/util/authStart.d.ts +0 -9
- package/es/api/biz/util/authStart.js +0 -19
- package/es/api/biz/util/chosen.d.ts +0 -15
- package/es/api/biz/util/chosen.js +0 -19
- package/es/api/biz/util/clipboardFileUpload.d.ts +0 -7
- package/es/api/biz/util/clipboardFileUpload.js +0 -8
- package/es/api/biz/util/closeWindow.d.ts +0 -8
- package/es/api/biz/util/closeWindow.js +0 -15
- package/es/api/biz/util/complain.d.ts +0 -12
- package/es/api/biz/util/complain.js +0 -8
- package/es/api/biz/util/copy.d.ts +0 -11
- package/es/api/biz/util/copy.js +0 -19
- package/es/api/biz/util/createModifySchedule.d.ts +0 -26
- package/es/api/biz/util/createModifySchedule.js +0 -15
- package/es/api/biz/util/datepicker.d.ts +0 -14
- package/es/api/biz/util/datepicker.js +0 -19
- package/es/api/biz/util/datetimepicker.d.ts +0 -14
- package/es/api/biz/util/datetimepicker.js +0 -19
- package/es/api/biz/util/disableScreenCapture.d.ts +0 -8
- package/es/api/biz/util/disableScreenCapture.js +0 -19
- package/es/api/biz/util/downloadFile.d.ts +0 -9
- package/es/api/biz/util/downloadFile.js +0 -8
- package/es/api/biz/util/entergroupCheck.d.ts +0 -11
- package/es/api/biz/util/entergroupCheck.js +0 -23
- package/es/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
- package/es/api/biz/util/externalLinkPreviewFile.js +0 -8
- package/es/api/biz/util/feedback.d.ts +0 -11
- package/es/api/biz/util/feedback.js +0 -8
- package/es/api/biz/util/focus.d.ts +0 -7
- package/es/api/biz/util/focus.js +0 -23
- package/es/api/biz/util/getConfig.d.ts +0 -13
- package/es/api/biz/util/getConfig.js +0 -19
- package/es/api/biz/util/getSingleWebviewData.d.ts +0 -8
- package/es/api/biz/util/getSingleWebviewData.js +0 -8
- package/es/api/biz/util/getTogetherConfig.d.ts +0 -11
- package/es/api/biz/util/getTogetherConfig.js +0 -23
- package/es/api/biz/util/getToken.d.ts +0 -11
- package/es/api/biz/util/getToken.js +0 -19
- package/es/api/biz/util/injectScript.d.ts +0 -9
- package/es/api/biz/util/injectScript.js +0 -8
- package/es/api/biz/util/invoice.d.ts +0 -12
- package/es/api/biz/util/invoice.js +0 -15
- package/es/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
- package/es/api/biz/util/knowledgeBaseSelect.js +0 -23
- package/es/api/biz/util/knowledgeSelectParams.d.ts +0 -14
- package/es/api/biz/util/knowledgeSelectParams.js +0 -19
- package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
- package/es/api/biz/util/lorebaseRefreshNodeWebview.js +0 -19
- package/es/api/biz/util/lorebaseShowList.d.ts +0 -11
- package/es/api/biz/util/lorebaseShowList.js +0 -19
- package/es/api/biz/util/mediaFileUpload.d.ts +0 -26
- package/es/api/biz/util/mediaFileUpload.js +0 -15
- package/es/api/biz/util/mediaFileUploadV2.d.ts +0 -26
- package/es/api/biz/util/mediaFileUploadV2.js +0 -15
- package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -23
- package/es/api/biz/util/open.d.ts +0 -9
- package/es/api/biz/util/open.js +0 -8
- package/es/api/biz/util/openAudioPlayer.d.ts +0 -17
- package/es/api/biz/util/openAudioPlayer.js +0 -23
- package/es/api/biz/util/openFutureGroup.d.ts +0 -10
- package/es/api/biz/util/openFutureGroup.js +0 -23
- package/es/api/biz/util/openLink.d.ts +0 -8
- package/es/api/biz/util/openLink.js +0 -8
- package/es/api/biz/util/openMediaFileDialog.d.ts +0 -23
- package/es/api/biz/util/openMediaFileDialog.js +0 -15
- package/es/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
- package/es/api/biz/util/openMediaFileDialogV2.js +0 -16
- package/es/api/biz/util/openPublish.d.ts +0 -22
- package/es/api/biz/util/openPublish.js +0 -15
- package/es/api/biz/util/openSingleWebview.d.ts +0 -23
- package/es/api/biz/util/openSingleWebview.js +0 -15
- package/es/api/biz/util/openSlidePanel.d.ts +0 -11
- package/es/api/biz/util/openSlidePanel.js +0 -15
- package/es/api/biz/util/openTalYoungToTopic.d.ts +0 -6
- package/es/api/biz/util/openTalYoungToTopic.js +0 -15
- package/es/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
- package/es/api/biz/util/openTogetherEyeWebview.js +0 -23
- package/es/api/biz/util/openUserSchedule.d.ts +0 -11
- package/es/api/biz/util/openUserSchedule.js +0 -23
- package/es/api/biz/util/openVideoPlayer.d.ts +0 -28
- package/es/api/biz/util/openVideoPlayer.js +0 -23
- package/es/api/biz/util/previewFile.d.ts +0 -11
- package/es/api/biz/util/previewFile.js +0 -8
- package/es/api/biz/util/previewImage.d.ts +0 -9
- package/es/api/biz/util/previewImage.js +0 -8
- package/es/api/biz/util/proxy.d.ts +0 -13
- package/es/api/biz/util/proxy.js +0 -8
- package/es/api/biz/util/pushWorkMsg.d.ts +0 -10
- package/es/api/biz/util/pushWorkMsg.js +0 -15
- package/es/api/biz/util/remind.d.ts +0 -15
- package/es/api/biz/util/remind.js +0 -23
- package/es/api/biz/util/resetSessionUnread.d.ts +0 -8
- package/es/api/biz/util/resetSessionUnread.js +0 -21
- package/es/api/biz/util/rouseApp.d.ts +0 -12
- package/es/api/biz/util/rouseApp.js +0 -15
- package/es/api/biz/util/savePic.d.ts +0 -8
- package/es/api/biz/util/savePic.js +0 -19
- package/es/api/biz/util/scan.d.ts +0 -11
- package/es/api/biz/util/scan.js +0 -19
- package/es/api/biz/util/screen.d.ts +0 -15
- package/es/api/biz/util/screen.js +0 -15
- package/es/api/biz/util/selectDepartment.d.ts +0 -9
- package/es/api/biz/util/selectDepartment.js +0 -8
- package/es/api/biz/util/share.d.ts +0 -12
- package/es/api/biz/util/share.js +0 -19
- package/es/api/biz/util/takePicture.d.ts +0 -13
- package/es/api/biz/util/takePicture.js +0 -8
- package/es/api/biz/util/topicEvent.d.ts +0 -13
- package/es/api/biz/util/topicEvent.js +0 -27
- package/es/api/biz/util/uploadAttachment.d.ts +0 -61
- package/es/api/biz/util/uploadAttachment.js +0 -8
- package/es/api/biz/util/weeklyRead.d.ts +0 -5
- package/es/api/biz/util/weeklyRead.js +0 -23
- package/es/api/biz/util/yachEvent.d.ts +0 -12
- package/es/api/biz/util/yachEvent.js +0 -27
- package/es/api/biz/util/zfbAuth.d.ts +0 -10
- package/es/api/biz/util/zfbAuth.js +0 -19
- package/es/api/biz/webViewMessage/send.d.ts +0 -7
- package/es/api/biz/webViewMessage/send.js +0 -15
- package/es/api/common.typings.d.ts +0 -9
- package/es/api/common.typings.js +0 -0
- package/es/api/device/audio/download.d.ts +0 -8
- package/es/api/device/audio/download.js +0 -19
- package/es/api/device/audio/onPlayEnd.d.ts +0 -7
- package/es/api/device/audio/onPlayEnd.js +0 -19
- package/es/api/device/audio/onRecordEnd.d.ts +0 -7
- package/es/api/device/audio/onRecordEnd.js +0 -19
- package/es/api/device/audio/onRecordEnd_v2.d.ts +0 -7
- package/es/api/device/audio/onRecordEnd_v2.js +0 -19
- package/es/api/device/audio/pause.d.ts +0 -8
- package/es/api/device/audio/pause.js +0 -19
- package/es/api/device/audio/play.d.ts +0 -8
- package/es/api/device/audio/play.js +0 -19
- package/es/api/device/audio/resume.d.ts +0 -8
- package/es/api/device/audio/resume.js +0 -19
- package/es/api/device/audio/startRecord.d.ts +0 -8
- package/es/api/device/audio/startRecord.js +0 -19
- package/es/api/device/audio/startRecord_v2.d.ts +0 -8
- package/es/api/device/audio/startRecord_v2.js +0 -19
- package/es/api/device/audio/stop.d.ts +0 -8
- package/es/api/device/audio/stop.js +0 -19
- package/es/api/device/audio/stopRecord.d.ts +0 -7
- package/es/api/device/audio/stopRecord.js +0 -19
- package/es/api/device/audio/stopRecord_v2.d.ts +0 -7
- package/es/api/device/audio/stopRecord_v2.js +0 -19
- package/es/api/device/base/checkStepPermission.d.ts +0 -8
- package/es/api/device/base/checkStepPermission.js +0 -19
- package/es/api/device/base/getPhoneInfo.d.ts +0 -16
- package/es/api/device/base/getPhoneInfo.js +0 -19
- package/es/api/device/base/getUUID.d.ts +0 -10
- package/es/api/device/base/getUUID.js +0 -23
- package/es/api/device/connection/getNetworkType.d.ts +0 -10
- package/es/api/device/connection/getNetworkType.js +0 -19
- package/es/api/device/connection/isAtTal.d.ts +0 -10
- package/es/api/device/connection/isAtTal.js +0 -21
- package/es/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
- package/es/api/device/connection/startNetworkChangeWatch.js +0 -23
- package/es/api/device/geolocation/get.d.ts +0 -42
- package/es/api/device/geolocation/get.js +0 -19
- package/es/api/device/geolocation/getSwitch.d.ts +0 -10
- package/es/api/device/geolocation/getSwitch.js +0 -15
- package/es/api/device/notification/actionSheet.d.ts +0 -21
- package/es/api/device/notification/actionSheet.js +0 -19
- package/es/api/device/notification/alert.d.ts +0 -13
- package/es/api/device/notification/alert.js +0 -23
- package/es/api/device/notification/confirm.d.ts +0 -16
- package/es/api/device/notification/confirm.js +0 -23
- package/es/api/device/notification/hidePreloader.d.ts +0 -12
- package/es/api/device/notification/hidePreloader.js +0 -32
- package/es/api/device/notification/showPreloader.d.ts +0 -18
- package/es/api/device/notification/showPreloader.js +0 -32
- package/es/api/device/notification/toast.d.ts +0 -15
- package/es/api/device/notification/toast.js +0 -8
- package/es/api/device/notification/vibrate.d.ts +0 -8
- package/es/api/device/notification/vibrate.js +0 -19
- package/es/api/device/system/getLang.d.ts +0 -10
- package/es/api/device/system/getLang.js +0 -8
- package/es/api/device/system/setLight.d.ts +0 -8
- package/es/api/device/system/setLight.js +0 -19
- package/es/api/initAPI.d.ts +0 -6
- package/es/api/initAPI.js +0 -22
- package/es/api/primary/createTab.d.ts +0 -13
- package/es/api/primary/createTab.js +0 -15
- package/es/api/primary/exitFullScreen.d.ts +0 -7
- package/es/api/primary/exitFullScreen.js +0 -15
- package/es/api/primary/fullScreen.d.ts +0 -7
- package/es/api/primary/fullScreen.js +0 -15
- package/es/api/primary/updateTab.d.ts +0 -9
- package/es/api/primary/updateTab.js +0 -15
- package/es/api/primary/weeklyShare.d.ts +0 -13
- package/es/api/primary/weeklyShare.js +0 -15
- package/es/api/private/nativeEvent.d.ts +0 -13
- package/es/api/private/nativeEvent.js +0 -26
- package/es/api/runtime/permission/requestAuthCode.d.ts +0 -12
- package/es/api/runtime/permission/requestAuthCode.js +0 -8
- package/es/api/ui/pullToRefresh/disable.d.ts +0 -7
- package/es/api/ui/pullToRefresh/disable.js +0 -19
- package/es/api/ui/pullToRefresh/enable.d.ts +0 -7
- package/es/api/ui/pullToRefresh/enable.js +0 -19
- package/es/api/ui/pullToRefresh/stop.d.ts +0 -7
- package/es/api/ui/pullToRefresh/stop.js +0 -19
- package/es/api/ui/webViewBounce/disable.d.ts +0 -7
- package/es/api/ui/webViewBounce/disable.js +0 -15
- package/es/api/util/domainStorage/getItem.d.ts +0 -12
- package/es/api/util/domainStorage/getItem.js +0 -19
- package/es/api/util/domainStorage/removeItem.d.ts +0 -9
- package/es/api/util/domainStorage/removeItem.js +0 -19
- package/es/api/util/domainStorage/setItem.d.ts +0 -11
- package/es/api/util/domainStorage/setItem.js +0 -19
- package/es/api/util/tool/flushLog.d.ts +0 -7
- package/es/api/util/tool/flushLog.js +0 -15
- package/es/api/util/tool/log.d.ts +0 -9
- package/es/api/util/tool/log.js +0 -15
- package/es/index.d.ts +0 -355
- package/es/index.js +0 -372
- package/es/lib/bridge/index.d.ts +0 -2
- package/es/lib/bridge/index.js +0 -2
- package/es/lib/bridge/mobile.d.ts +0 -13
- package/es/lib/bridge/mobile.js +0 -178
- package/es/lib/bridge/pc.d.ts +0 -4
- package/es/lib/bridge/pc.js +0 -86
- package/es/lib/helper/apiHelper.d.ts +0 -2
- package/es/lib/helper/apiHelper.js +0 -8
- package/es/lib/helper/codeMap.d.ts +0 -2
- package/es/lib/helper/codeMap.js +0 -6
- package/es/lib/helper/event.d.ts +0 -9
- package/es/lib/helper/event.js +0 -40
- package/es/lib/helper/pcIframe.d.ts +0 -27
- package/es/lib/helper/pcIframe.js +0 -174
- package/es/lib/index.d.ts +0 -4
- package/es/lib/index.js +0 -78
- package/es/lib/sdk/index.d.ts +0 -19
- package/es/lib/sdk/index.js +0 -169
- package/es/lib/sdk/sdk.typings.d.ts +0 -86
- package/es/lib/sdk/sdk.typings.js +0 -7
- package/es/utils/bpitLog.d.ts +0 -16
- package/es/utils/bpitLog.js +0 -62
- package/es/utils/compareVersions.d.ts +0 -58
- package/es/utils/compareVersions.js +0 -165
- package/es/utils/console.d.ts +0 -4
- package/es/utils/console.js +0 -44
- package/es/utils/env.d.ts +0 -3
- package/es/utils/env.js +0 -47
- package/es/utils/index.d.ts +0 -4
- package/es/utils/index.js +0 -20
- package/libs/api/app/custom/talYoungFilesUpload.d.ts +0 -38
- package/libs/api/app/custom/talYoungFilesUpload.js +0 -24
- package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
- package/libs/api/biz/chat/chooseConversationByCorpId.js +0 -15
- package/libs/api/biz/chat/openSingleChat.d.ts +0 -10
- package/libs/api/biz/chat/openSingleChat.js +0 -15
- package/libs/api/biz/chat/openSquad.d.ts +0 -8
- package/libs/api/biz/chat/openSquad.js +0 -15
- package/libs/api/biz/chat/openTeamChat.d.ts +0 -10
- package/libs/api/biz/chat/openTeamChat.js +0 -15
- package/libs/api/biz/chat/pickConversation.d.ts +0 -19
- package/libs/api/biz/chat/pickConversation.js +0 -26
- package/libs/api/biz/chat/sendP2PMsg.d.ts +0 -10
- package/libs/api/biz/chat/sendP2PMsg.js +0 -15
- package/libs/api/biz/contact/complexPicker.d.ts +0 -62
- package/libs/api/biz/contact/complexPicker.js +0 -15
- package/libs/api/biz/contact/departmentsPicker.d.ts +0 -35
- package/libs/api/biz/contact/departmentsPicker.js +0 -15
- package/libs/api/biz/group/groupComplexPicker.d.ts +0 -33
- package/libs/api/biz/group/groupComplexPicker.js +0 -15
- package/libs/api/biz/map/multipointView.d.ts +0 -21
- package/libs/api/biz/map/multipointView.js +0 -26
- package/libs/api/biz/map/view.d.ts +0 -13
- package/libs/api/biz/map/view.js +0 -26
- package/libs/api/biz/navigation/close.d.ts +0 -8
- package/libs/api/biz/navigation/close.js +0 -16
- package/libs/api/biz/navigation/goBack.d.ts +0 -7
- package/libs/api/biz/navigation/goBack.js +0 -26
- package/libs/api/biz/navigation/quit.d.ts +0 -8
- package/libs/api/biz/navigation/quit.js +0 -22
- package/libs/api/biz/navigation/replace.d.ts +0 -8
- package/libs/api/biz/navigation/replace.js +0 -15
- package/libs/api/biz/navigation/setIcon.d.ts +0 -12
- package/libs/api/biz/navigation/setIcon.js +0 -34
- package/libs/api/biz/navigation/setLeft.d.ts +0 -9
- package/libs/api/biz/navigation/setLeft.js +0 -38
- package/libs/api/biz/navigation/setMenu.d.ts +0 -20
- package/libs/api/biz/navigation/setMenu.js +0 -32
- package/libs/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
- package/libs/api/biz/navigation/setPanGestureEnable.js +0 -33
- package/libs/api/biz/navigation/setRight.d.ts +0 -13
- package/libs/api/biz/navigation/setRight.js +0 -38
- package/libs/api/biz/navigation/setTitle.d.ts +0 -11
- package/libs/api/biz/navigation/setTitle.js +0 -15
- package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
- package/libs/api/biz/navigation/setTitleExpandIcon.js +0 -32
- package/libs/api/biz/navigation/setWindowBig.d.ts +0 -9
- package/libs/api/biz/navigation/setWindowBig.js +0 -24
- package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -23
- package/libs/api/biz/navigation/tencentMeeting.js +0 -15
- package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
- package/libs/api/biz/navigation/tencentMeetingBegin.js +0 -15
- package/libs/api/biz/navigation/updateExpandTitle.d.ts +0 -8
- package/libs/api/biz/navigation/updateExpandTitle.js +0 -15
- package/libs/api/biz/telephone/call.d.ts +0 -9
- package/libs/api/biz/telephone/call.js +0 -26
- package/libs/api/biz/telephone/showCallMenu.d.ts +0 -12
- package/libs/api/biz/telephone/showCallMenu.js +0 -26
- package/libs/api/biz/util/addAppToNav.d.ts +0 -9
- package/libs/api/biz/util/addAppToNav.js +0 -30
- package/libs/api/biz/util/assistantCreate.d.ts +0 -11
- package/libs/api/biz/util/assistantCreate.js +0 -30
- package/libs/api/biz/util/authFinish.d.ts +0 -11
- package/libs/api/biz/util/authFinish.js +0 -26
- package/libs/api/biz/util/authStart.d.ts +0 -9
- package/libs/api/biz/util/authStart.js +0 -26
- package/libs/api/biz/util/chosen.d.ts +0 -15
- package/libs/api/biz/util/chosen.js +0 -26
- package/libs/api/biz/util/clipboardFileUpload.d.ts +0 -7
- package/libs/api/biz/util/clipboardFileUpload.js +0 -15
- package/libs/api/biz/util/closeWindow.d.ts +0 -8
- package/libs/api/biz/util/closeWindow.js +0 -22
- package/libs/api/biz/util/complain.d.ts +0 -12
- package/libs/api/biz/util/complain.js +0 -15
- package/libs/api/biz/util/copy.d.ts +0 -11
- package/libs/api/biz/util/copy.js +0 -26
- package/libs/api/biz/util/createModifySchedule.d.ts +0 -26
- package/libs/api/biz/util/createModifySchedule.js +0 -22
- package/libs/api/biz/util/datepicker.d.ts +0 -14
- package/libs/api/biz/util/datepicker.js +0 -26
- package/libs/api/biz/util/datetimepicker.d.ts +0 -14
- package/libs/api/biz/util/datetimepicker.js +0 -26
- package/libs/api/biz/util/disableScreenCapture.d.ts +0 -8
- package/libs/api/biz/util/disableScreenCapture.js +0 -26
- package/libs/api/biz/util/downloadFile.d.ts +0 -9
- package/libs/api/biz/util/downloadFile.js +0 -15
- package/libs/api/biz/util/entergroupCheck.d.ts +0 -11
- package/libs/api/biz/util/entergroupCheck.js +0 -30
- package/libs/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
- package/libs/api/biz/util/externalLinkPreviewFile.js +0 -15
- package/libs/api/biz/util/feedback.d.ts +0 -11
- package/libs/api/biz/util/feedback.js +0 -15
- package/libs/api/biz/util/focus.d.ts +0 -7
- package/libs/api/biz/util/focus.js +0 -30
- package/libs/api/biz/util/getConfig.d.ts +0 -13
- package/libs/api/biz/util/getConfig.js +0 -26
- package/libs/api/biz/util/getSingleWebviewData.d.ts +0 -8
- package/libs/api/biz/util/getSingleWebviewData.js +0 -15
- package/libs/api/biz/util/getTogetherConfig.d.ts +0 -11
- package/libs/api/biz/util/getTogetherConfig.js +0 -30
- package/libs/api/biz/util/getToken.d.ts +0 -11
- package/libs/api/biz/util/getToken.js +0 -26
- package/libs/api/biz/util/injectScript.d.ts +0 -9
- package/libs/api/biz/util/injectScript.js +0 -15
- package/libs/api/biz/util/invoice.d.ts +0 -12
- package/libs/api/biz/util/invoice.js +0 -23
- package/libs/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
- package/libs/api/biz/util/knowledgeBaseSelect.js +0 -30
- package/libs/api/biz/util/knowledgeSelectParams.d.ts +0 -14
- package/libs/api/biz/util/knowledgeSelectParams.js +0 -26
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +0 -26
- package/libs/api/biz/util/lorebaseShowList.d.ts +0 -11
- package/libs/api/biz/util/lorebaseShowList.js +0 -26
- package/libs/api/biz/util/mediaFileUpload.d.ts +0 -26
- package/libs/api/biz/util/mediaFileUpload.js +0 -23
- package/libs/api/biz/util/mediaFileUploadV2.d.ts +0 -26
- package/libs/api/biz/util/mediaFileUploadV2.js +0 -23
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +0 -30
- package/libs/api/biz/util/open.d.ts +0 -9
- package/libs/api/biz/util/open.js +0 -15
- package/libs/api/biz/util/openAudioPlayer.d.ts +0 -17
- package/libs/api/biz/util/openAudioPlayer.js +0 -30
- package/libs/api/biz/util/openFutureGroup.d.ts +0 -10
- package/libs/api/biz/util/openFutureGroup.js +0 -30
- package/libs/api/biz/util/openLink.d.ts +0 -8
- package/libs/api/biz/util/openLink.js +0 -15
- package/libs/api/biz/util/openMediaFileDialog.d.ts +0 -23
- package/libs/api/biz/util/openMediaFileDialog.js +0 -23
- package/libs/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
- package/libs/api/biz/util/openMediaFileDialogV2.js +0 -24
- package/libs/api/biz/util/openPublish.d.ts +0 -22
- package/libs/api/biz/util/openPublish.js +0 -22
- package/libs/api/biz/util/openSingleWebview.d.ts +0 -23
- package/libs/api/biz/util/openSingleWebview.js +0 -22
- package/libs/api/biz/util/openSlidePanel.d.ts +0 -11
- package/libs/api/biz/util/openSlidePanel.js +0 -22
- package/libs/api/biz/util/openTalYoungToTopic.d.ts +0 -6
- package/libs/api/biz/util/openTalYoungToTopic.js +0 -23
- package/libs/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
- package/libs/api/biz/util/openTogetherEyeWebview.js +0 -30
- package/libs/api/biz/util/openUserSchedule.d.ts +0 -11
- package/libs/api/biz/util/openUserSchedule.js +0 -30
- package/libs/api/biz/util/openVideoPlayer.d.ts +0 -28
- package/libs/api/biz/util/openVideoPlayer.js +0 -30
- package/libs/api/biz/util/previewFile.d.ts +0 -11
- package/libs/api/biz/util/previewFile.js +0 -15
- package/libs/api/biz/util/previewImage.d.ts +0 -9
- package/libs/api/biz/util/previewImage.js +0 -15
- package/libs/api/biz/util/proxy.d.ts +0 -13
- package/libs/api/biz/util/proxy.js +0 -15
- package/libs/api/biz/util/pushWorkMsg.d.ts +0 -10
- package/libs/api/biz/util/pushWorkMsg.js +0 -23
- package/libs/api/biz/util/remind.d.ts +0 -15
- package/libs/api/biz/util/remind.js +0 -30
- package/libs/api/biz/util/resetSessionUnread.d.ts +0 -8
- package/libs/api/biz/util/resetSessionUnread.js +0 -28
- package/libs/api/biz/util/rouseApp.d.ts +0 -12
- package/libs/api/biz/util/rouseApp.js +0 -23
- package/libs/api/biz/util/savePic.d.ts +0 -8
- package/libs/api/biz/util/savePic.js +0 -26
- package/libs/api/biz/util/scan.d.ts +0 -11
- package/libs/api/biz/util/scan.js +0 -26
- package/libs/api/biz/util/screen.d.ts +0 -15
- package/libs/api/biz/util/screen.js +0 -22
- package/libs/api/biz/util/selectDepartment.d.ts +0 -9
- package/libs/api/biz/util/selectDepartment.js +0 -15
- package/libs/api/biz/util/share.d.ts +0 -12
- package/libs/api/biz/util/share.js +0 -26
- package/libs/api/biz/util/takePicture.d.ts +0 -13
- package/libs/api/biz/util/takePicture.js +0 -15
- package/libs/api/biz/util/topicEvent.d.ts +0 -13
- package/libs/api/biz/util/topicEvent.js +0 -34
- package/libs/api/biz/util/uploadAttachment.d.ts +0 -61
- package/libs/api/biz/util/uploadAttachment.js +0 -15
- package/libs/api/biz/util/weeklyRead.d.ts +0 -5
- package/libs/api/biz/util/weeklyRead.js +0 -30
- package/libs/api/biz/util/yachEvent.d.ts +0 -12
- package/libs/api/biz/util/yachEvent.js +0 -34
- package/libs/api/biz/util/zfbAuth.d.ts +0 -10
- package/libs/api/biz/util/zfbAuth.js +0 -26
- package/libs/api/biz/webViewMessage/send.d.ts +0 -7
- package/libs/api/biz/webViewMessage/send.js +0 -22
- package/libs/api/common.typings.d.ts +0 -9
- package/libs/api/common.typings.js +0 -1
- package/libs/api/device/audio/download.d.ts +0 -8
- package/libs/api/device/audio/download.js +0 -26
- package/libs/api/device/audio/onPlayEnd.d.ts +0 -7
- package/libs/api/device/audio/onPlayEnd.js +0 -26
- package/libs/api/device/audio/onRecordEnd.d.ts +0 -7
- package/libs/api/device/audio/onRecordEnd.js +0 -26
- package/libs/api/device/audio/onRecordEnd_v2.d.ts +0 -7
- package/libs/api/device/audio/onRecordEnd_v2.js +0 -26
- package/libs/api/device/audio/pause.d.ts +0 -8
- package/libs/api/device/audio/pause.js +0 -26
- package/libs/api/device/audio/play.d.ts +0 -8
- package/libs/api/device/audio/play.js +0 -26
- package/libs/api/device/audio/resume.d.ts +0 -8
- package/libs/api/device/audio/resume.js +0 -26
- package/libs/api/device/audio/startRecord.d.ts +0 -8
- package/libs/api/device/audio/startRecord.js +0 -26
- package/libs/api/device/audio/startRecord_v2.d.ts +0 -8
- package/libs/api/device/audio/startRecord_v2.js +0 -26
- package/libs/api/device/audio/stop.d.ts +0 -8
- package/libs/api/device/audio/stop.js +0 -26
- package/libs/api/device/audio/stopRecord.d.ts +0 -7
- package/libs/api/device/audio/stopRecord.js +0 -26
- package/libs/api/device/audio/stopRecord_v2.d.ts +0 -7
- package/libs/api/device/audio/stopRecord_v2.js +0 -26
- package/libs/api/device/base/checkStepPermission.d.ts +0 -8
- package/libs/api/device/base/checkStepPermission.js +0 -26
- package/libs/api/device/base/getPhoneInfo.d.ts +0 -16
- package/libs/api/device/base/getPhoneInfo.js +0 -26
- package/libs/api/device/base/getUUID.d.ts +0 -10
- package/libs/api/device/base/getUUID.js +0 -30
- package/libs/api/device/connection/getNetworkType.d.ts +0 -10
- package/libs/api/device/connection/getNetworkType.js +0 -26
- package/libs/api/device/connection/isAtTal.d.ts +0 -10
- package/libs/api/device/connection/isAtTal.js +0 -28
- package/libs/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
- package/libs/api/device/connection/startNetworkChangeWatch.js +0 -30
- package/libs/api/device/geolocation/get.d.ts +0 -42
- package/libs/api/device/geolocation/get.js +0 -26
- package/libs/api/device/geolocation/getSwitch.d.ts +0 -10
- package/libs/api/device/geolocation/getSwitch.js +0 -22
- package/libs/api/device/notification/actionSheet.d.ts +0 -21
- package/libs/api/device/notification/actionSheet.js +0 -26
- package/libs/api/device/notification/alert.d.ts +0 -13
- package/libs/api/device/notification/alert.js +0 -30
- package/libs/api/device/notification/confirm.d.ts +0 -16
- package/libs/api/device/notification/confirm.js +0 -30
- package/libs/api/device/notification/hidePreloader.d.ts +0 -12
- package/libs/api/device/notification/hidePreloader.js +0 -40
- package/libs/api/device/notification/showPreloader.d.ts +0 -18
- package/libs/api/device/notification/showPreloader.js +0 -40
- package/libs/api/device/notification/toast.d.ts +0 -15
- package/libs/api/device/notification/toast.js +0 -15
- package/libs/api/device/notification/vibrate.d.ts +0 -8
- package/libs/api/device/notification/vibrate.js +0 -26
- package/libs/api/device/system/getLang.d.ts +0 -10
- package/libs/api/device/system/getLang.js +0 -15
- package/libs/api/device/system/setLight.d.ts +0 -8
- package/libs/api/device/system/setLight.js +0 -26
- package/libs/api/initAPI.d.ts +0 -6
- package/libs/api/initAPI.js +0 -29
- package/libs/api/primary/createTab.d.ts +0 -13
- package/libs/api/primary/createTab.js +0 -22
- package/libs/api/primary/exitFullScreen.d.ts +0 -7
- package/libs/api/primary/exitFullScreen.js +0 -22
- package/libs/api/primary/fullScreen.d.ts +0 -7
- package/libs/api/primary/fullScreen.js +0 -22
- package/libs/api/primary/updateTab.d.ts +0 -9
- package/libs/api/primary/updateTab.js +0 -22
- package/libs/api/primary/weeklyShare.d.ts +0 -13
- package/libs/api/primary/weeklyShare.js +0 -22
- package/libs/api/private/nativeEvent.d.ts +0 -13
- package/libs/api/private/nativeEvent.js +0 -33
- package/libs/api/runtime/permission/requestAuthCode.d.ts +0 -12
- package/libs/api/runtime/permission/requestAuthCode.js +0 -15
- package/libs/api/ui/pullToRefresh/disable.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/disable.js +0 -26
- package/libs/api/ui/pullToRefresh/enable.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/enable.js +0 -26
- package/libs/api/ui/pullToRefresh/stop.d.ts +0 -7
- package/libs/api/ui/pullToRefresh/stop.js +0 -26
- package/libs/api/ui/webViewBounce/disable.d.ts +0 -7
- package/libs/api/ui/webViewBounce/disable.js +0 -22
- package/libs/api/util/domainStorage/getItem.d.ts +0 -12
- package/libs/api/util/domainStorage/getItem.js +0 -26
- package/libs/api/util/domainStorage/removeItem.d.ts +0 -9
- package/libs/api/util/domainStorage/removeItem.js +0 -26
- package/libs/api/util/domainStorage/setItem.d.ts +0 -11
- package/libs/api/util/domainStorage/setItem.js +0 -26
- package/libs/api/util/tool/flushLog.d.ts +0 -7
- package/libs/api/util/tool/flushLog.js +0 -22
- package/libs/api/util/tool/log.d.ts +0 -9
- package/libs/api/util/tool/log.js +0 -22
- package/libs/index.d.ts +0 -355
- package/libs/index.js +0 -1232
- package/libs/lib/bridge/index.d.ts +0 -2
- package/libs/lib/bridge/index.js +0 -32
- package/libs/lib/bridge/mobile.d.ts +0 -13
- package/libs/lib/bridge/mobile.js +0 -185
- package/libs/lib/bridge/pc.d.ts +0 -4
- package/libs/lib/bridge/pc.js +0 -93
- package/libs/lib/helper/apiHelper.d.ts +0 -2
- package/libs/lib/helper/apiHelper.js +0 -15
- package/libs/lib/helper/codeMap.d.ts +0 -2
- package/libs/lib/helper/codeMap.js +0 -13
- package/libs/lib/helper/event.d.ts +0 -9
- package/libs/lib/helper/event.js +0 -48
- package/libs/lib/helper/pcIframe.d.ts +0 -27
- package/libs/lib/helper/pcIframe.js +0 -182
- package/libs/lib/index.d.ts +0 -4
- package/libs/lib/index.js +0 -86
- package/libs/lib/sdk/index.d.ts +0 -19
- package/libs/lib/sdk/index.js +0 -177
- package/libs/lib/sdk/sdk.typings.d.ts +0 -86
- package/libs/lib/sdk/sdk.typings.js +0 -14
- package/libs/utils/bpitLog.d.ts +0 -16
- package/libs/utils/bpitLog.js +0 -69
- package/libs/utils/compareVersions.d.ts +0 -58
- package/libs/utils/compareVersions.js +0 -173
- package/libs/utils/console.d.ts +0 -4
- package/libs/utils/console.js +0 -53
- package/libs/utils/env.d.ts +0 -3
- package/libs/utils/env.js +0 -53
- package/libs/utils/index.d.ts +0 -4
- package/libs/utils/index.js +0 -51
|
@@ -1,15 +0,0 @@
|
|
|
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 };
|
|
@@ -1,8 +0,0 @@
|
|
|
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 };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetIconParams {
|
|
3
|
-
/** 是否显示icon */
|
|
4
|
-
showIcon?: boolean;
|
|
5
|
-
/** 显示的iconIndex,如文档的图 */
|
|
6
|
-
iconIndex?: number;
|
|
7
|
-
/** onSuccess为监听函数 */
|
|
8
|
-
onSuccess?: () => void;
|
|
9
|
-
onFail?: (err: IError) => void;
|
|
10
|
-
}
|
|
11
|
-
declare function setIcon(params: IBizNavigationSetIconParams): void;
|
|
12
|
-
export { setIcon };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.navigation.setIcon';
|
|
3
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
control: !0,
|
|
6
|
-
showIcon: !0,
|
|
7
|
-
iconIndex: 1
|
|
8
|
-
});
|
|
9
|
-
var ios = {
|
|
10
|
-
vs: '0.0.0',
|
|
11
|
-
paramsDeal: paramsDeal
|
|
12
|
-
};
|
|
13
|
-
var android = {
|
|
14
|
-
vs: '0.0.0',
|
|
15
|
-
paramsDeal: paramsDeal
|
|
16
|
-
};
|
|
17
|
-
var platform = {
|
|
18
|
-
ios: ios,
|
|
19
|
-
android: android
|
|
20
|
-
};
|
|
21
|
-
function setIcon(params) {
|
|
22
|
-
initAPI(apiName, {
|
|
23
|
-
params: params,
|
|
24
|
-
platform: platform
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
export { setIcon };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetLeftParams {
|
|
3
|
-
control?: boolean;
|
|
4
|
-
text?: string /** onSuccess为监听函数 */;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function setLeft(params?: IBizNavigationSetLeftParams): void;
|
|
9
|
-
export { setLeft };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.navigation.setLeft';
|
|
3
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
show: true,
|
|
6
|
-
control: false,
|
|
7
|
-
text: ''
|
|
8
|
-
});
|
|
9
|
-
var ios = {
|
|
10
|
-
vs: '0.0.0',
|
|
11
|
-
paramsDeal: paramsDeal
|
|
12
|
-
};
|
|
13
|
-
var android = {
|
|
14
|
-
vs: '0.0.0',
|
|
15
|
-
paramsDeal: paramsDeal
|
|
16
|
-
};
|
|
17
|
-
var pc = {
|
|
18
|
-
vs: '0.0.0'
|
|
19
|
-
};
|
|
20
|
-
var platform = {
|
|
21
|
-
ios: ios,
|
|
22
|
-
android: android,
|
|
23
|
-
pc: pc
|
|
24
|
-
};
|
|
25
|
-
function setLeft(params) {
|
|
26
|
-
initAPI(apiName, {
|
|
27
|
-
params: params,
|
|
28
|
-
platform: platform
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
export { setLeft };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
declare type item = {
|
|
3
|
-
id: string;
|
|
4
|
-
iconId?: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
badge?: number;
|
|
7
|
-
showRedDot?: boolean;
|
|
8
|
-
};
|
|
9
|
-
interface IBizNavigationSetMenuResult {
|
|
10
|
-
id: string;
|
|
11
|
-
}
|
|
12
|
-
interface IBizNavigationSetMenuParams {
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
textColor?: string;
|
|
15
|
-
item?: item[];
|
|
16
|
-
onSuccess?: (data: IBizNavigationSetMenuResult) => void;
|
|
17
|
-
onFail?: (err: IError) => void;
|
|
18
|
-
}
|
|
19
|
-
declare function setMenu(params?: IBizNavigationSetMenuParams): void;
|
|
20
|
-
export { setMenu };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
3
|
-
var apiName = 'biz.navigation.setMenu';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
control: true
|
|
6
|
-
});
|
|
7
|
-
var ios = {
|
|
8
|
-
vs: '0.0.0',
|
|
9
|
-
paramsDeal: paramsDeal
|
|
10
|
-
};
|
|
11
|
-
var android = {
|
|
12
|
-
vs: '0.0.0',
|
|
13
|
-
paramsDeal: paramsDeal
|
|
14
|
-
};
|
|
15
|
-
var platform = {
|
|
16
|
-
ios: ios,
|
|
17
|
-
android: android
|
|
18
|
-
};
|
|
19
|
-
function setMenu(params) {
|
|
20
|
-
initAPI(apiName, {
|
|
21
|
-
params: params,
|
|
22
|
-
platform: platform
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
export { setMenu };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetPanGestureEnableParams {
|
|
3
|
-
nativePanEnable?: boolean;
|
|
4
|
-
webPanEnable?: boolean;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function setPanGestureEnable(params?: IBizNavigationSetPanGestureEnableParams): void;
|
|
9
|
-
export { setPanGestureEnable };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
3
|
-
var apiName = 'biz.navigation.setPanGestureEnable';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
nativePanEnable: true,
|
|
6
|
-
webPanEnable: true
|
|
7
|
-
});
|
|
8
|
-
var ios = {
|
|
9
|
-
vs: '0.0.0',
|
|
10
|
-
paramsDeal: paramsDeal
|
|
11
|
-
};
|
|
12
|
-
var android = {
|
|
13
|
-
vs: '0.0.0',
|
|
14
|
-
paramsDeal: paramsDeal
|
|
15
|
-
};
|
|
16
|
-
var platform = {
|
|
17
|
-
ios: ios,
|
|
18
|
-
android: android
|
|
19
|
-
};
|
|
20
|
-
function setPanGestureEnable(params) {
|
|
21
|
-
initAPI(apiName, {
|
|
22
|
-
params: params,
|
|
23
|
-
platform: platform
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
export { setPanGestureEnable };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetRightParams {
|
|
3
|
-
show?: boolean;
|
|
4
|
-
control?: boolean;
|
|
5
|
-
text?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
btnColor?: string;
|
|
8
|
-
/** onSuccess为监听函数 */
|
|
9
|
-
onSuccess?: () => void;
|
|
10
|
-
onFail?: (err: IError) => void;
|
|
11
|
-
}
|
|
12
|
-
declare function setRight(params?: IBizNavigationSetRightParams): void;
|
|
13
|
-
export { setRight };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.navigation.setRight';
|
|
3
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
show: true,
|
|
6
|
-
control: false,
|
|
7
|
-
text: ''
|
|
8
|
-
});
|
|
9
|
-
var ios = {
|
|
10
|
-
vs: '0.0.0',
|
|
11
|
-
paramsDeal: paramsDeal
|
|
12
|
-
};
|
|
13
|
-
var android = {
|
|
14
|
-
vs: '0.0.0',
|
|
15
|
-
paramsDeal: paramsDeal
|
|
16
|
-
};
|
|
17
|
-
var pc = {
|
|
18
|
-
vs: '0.0.0'
|
|
19
|
-
};
|
|
20
|
-
var platform = {
|
|
21
|
-
ios: ios,
|
|
22
|
-
android: android,
|
|
23
|
-
pc: pc
|
|
24
|
-
};
|
|
25
|
-
function setRight(params) {
|
|
26
|
-
initAPI(apiName, {
|
|
27
|
-
params: params,
|
|
28
|
-
platform: platform
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
export { setRight };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetTitleParams {
|
|
3
|
-
/** 控制标题文本,空字符串表示显示默认文本 */
|
|
4
|
-
title?: string;
|
|
5
|
-
/** 副标题 */
|
|
6
|
-
subTitle?: string;
|
|
7
|
-
onSuccess?: () => void;
|
|
8
|
-
onFail?: (err: IError) => void;
|
|
9
|
-
}
|
|
10
|
-
declare function setTitle(params?: IBizNavigationSetTitleParams): void;
|
|
11
|
-
export { setTitle };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
interface IBizNavigationSetTitleExpandIconParams {
|
|
3
|
-
isShowIcon?: boolean;
|
|
4
|
-
title?: string;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function setTitleExpandIcon(params?: IBizNavigationSetTitleExpandIconParams): void;
|
|
9
|
-
export { setTitleExpandIcon };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
import { genDefaultParamsDealFn } from '../../../lib/helper/apiHelper';
|
|
3
|
-
var apiName = 'biz.navigation.setTitleExpandIcon';
|
|
4
|
-
var paramsDeal = genDefaultParamsDealFn({
|
|
5
|
-
control: true
|
|
6
|
-
});
|
|
7
|
-
var ios = {
|
|
8
|
-
vs: '0.0.0',
|
|
9
|
-
paramsDeal: paramsDeal
|
|
10
|
-
};
|
|
11
|
-
var android = {
|
|
12
|
-
vs: '0.0.0',
|
|
13
|
-
paramsDeal: paramsDeal
|
|
14
|
-
};
|
|
15
|
-
var platform = {
|
|
16
|
-
ios: ios,
|
|
17
|
-
android: android
|
|
18
|
-
};
|
|
19
|
-
function setTitleExpandIcon(params) {
|
|
20
|
-
initAPI(apiName, {
|
|
21
|
-
params: params,
|
|
22
|
-
platform: platform
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
export { setTitleExpandIcon };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationSetWindowBigParams {
|
|
3
|
-
/** 控制侧边栏放大按钮是否显示 */
|
|
4
|
-
isShow: boolean;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function setWindowBig(params?: IBizNavigationSetWindowBigParams): void;
|
|
9
|
-
export { setWindowBig };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-this-alias */
|
|
2
|
-
import initAPI from '../../initAPI';
|
|
3
|
-
var pc = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var platform = {
|
|
7
|
-
pc: pc
|
|
8
|
-
};
|
|
9
|
-
var apiName = 'biz.navigation.setWindowBig';
|
|
10
|
-
function setWindowBig(params) {
|
|
11
|
-
initAPI(apiName, {
|
|
12
|
-
params: params,
|
|
13
|
-
platform: platform
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
export { setWindowBig };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
interface IBizNavigationGetTencentMeetingUrl {
|
|
3
|
-
urlWithLoginState: string;
|
|
4
|
-
}
|
|
5
|
-
interface ISyncInfo {
|
|
6
|
-
name: string;
|
|
7
|
-
sync_time: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IBizNavigationTencentMeetingParams {
|
|
10
|
-
/** 腾讯会议录制链接 */
|
|
11
|
-
url: string;
|
|
12
|
-
meeting_id: number;
|
|
13
|
-
meeting_record_id: string;
|
|
14
|
-
title: string;
|
|
15
|
-
start_time: string;
|
|
16
|
-
sync_status: number;
|
|
17
|
-
last_sync_info: ISyncInfo;
|
|
18
|
-
record_type: number;
|
|
19
|
-
onSuccess?: (data: IBizNavigationGetTencentMeetingUrl) => void;
|
|
20
|
-
onFail?: (err: IError) => void;
|
|
21
|
-
}
|
|
22
|
-
declare function tencentMeeting(params?: IBizNavigationTencentMeetingParams): void;
|
|
23
|
-
export { tencentMeeting };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationTencentMeetingBeginParams {
|
|
3
|
-
onSuccess?: () => void;
|
|
4
|
-
onFail?: (err: IError) => void;
|
|
5
|
-
}
|
|
6
|
-
declare function tencentMeetingBegin(params?: IBizNavigationTencentMeetingBeginParams): void;
|
|
7
|
-
export { tencentMeetingBegin };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizNavigationUpdateExpandTitleParams {
|
|
3
|
-
title: string;
|
|
4
|
-
onSuccess?: () => void;
|
|
5
|
-
onFail?: (err: IError) => void;
|
|
6
|
-
}
|
|
7
|
-
declare function updateExpandTitle(params: IBizNavigationUpdateExpandTitleParams): void;
|
|
8
|
-
export { updateExpandTitle };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizTelephoneCallParams {
|
|
3
|
-
userId: string;
|
|
4
|
-
corpId: string;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function call(params: IBizTelephoneCallParams): void;
|
|
9
|
-
export { call };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.telephone.call';
|
|
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 call(params) {
|
|
14
|
-
initAPI(apiName, {
|
|
15
|
-
params: params,
|
|
16
|
-
platform: platform
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export { call };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizTelephoneShowCallMenuParams {
|
|
3
|
-
phoneNumber: string;
|
|
4
|
-
code: string;
|
|
5
|
-
showYachCall: boolean;
|
|
6
|
-
corpId: string;
|
|
7
|
-
userId: string;
|
|
8
|
-
onSuccess?: () => void;
|
|
9
|
-
onFail?: (err: IError) => void;
|
|
10
|
-
}
|
|
11
|
-
declare function showCallMenu(params: IBizTelephoneShowCallMenuParams): void;
|
|
12
|
-
export { showCallMenu };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.telephone.showCallMenu';
|
|
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 showCallMenu(params) {
|
|
14
|
-
initAPI(apiName, {
|
|
15
|
-
params: params,
|
|
16
|
-
platform: platform
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export { showCallMenu };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IAddAppToNavParams {
|
|
3
|
-
appId: string;
|
|
4
|
-
platfrorm?: string;
|
|
5
|
-
onSuccess?: (res: any) => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function addAppToNav(params: IAddAppToNavParams): void;
|
|
9
|
-
export { addAppToNav };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var ios = {
|
|
3
|
-
vs: '1.8.8'
|
|
4
|
-
};
|
|
5
|
-
var android = {
|
|
6
|
-
vs: '1.8.8'
|
|
7
|
-
};
|
|
8
|
-
var pc = {
|
|
9
|
-
vs: '1.8.8'
|
|
10
|
-
};
|
|
11
|
-
var platform = {
|
|
12
|
-
ios: ios,
|
|
13
|
-
android: android,
|
|
14
|
-
pc: pc
|
|
15
|
-
};
|
|
16
|
-
var apiName = 'biz.util.addAppToNav';
|
|
17
|
-
function addAppToNav(params) {
|
|
18
|
-
initAPI(apiName, {
|
|
19
|
-
params: params,
|
|
20
|
-
platform: platform
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
export { addAppToNav };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizUtilAssistantCreateParams {
|
|
3
|
-
onSuccess?: () => void;
|
|
4
|
-
onFail?: (err: IError) => void;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* 移动端跳转创建机器人页面
|
|
8
|
-
* @param params
|
|
9
|
-
*/
|
|
10
|
-
declare function assistantCreate(params: IBizUtilAssistantCreateParams): void;
|
|
11
|
-
export { assistantCreate };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.util.assistantCreate';
|
|
3
|
-
var ios = {
|
|
4
|
-
vs: '0.0.0'
|
|
5
|
-
};
|
|
6
|
-
var android = {
|
|
7
|
-
vs: '0.0.0'
|
|
8
|
-
};
|
|
9
|
-
var platform = {
|
|
10
|
-
ios: ios,
|
|
11
|
-
android: android
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* 移动端跳转创建机器人页面
|
|
15
|
-
* @param params
|
|
16
|
-
*/
|
|
17
|
-
function assistantCreate(params) {
|
|
18
|
-
initAPI(apiName, {
|
|
19
|
-
params: params,
|
|
20
|
-
platform: platform
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
export { assistantCreate };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizUtilAuthFinishParams {
|
|
3
|
-
code?: string;
|
|
4
|
-
error_code: number;
|
|
5
|
-
scheme: string;
|
|
6
|
-
state?: string;
|
|
7
|
-
onSuccess?: () => void;
|
|
8
|
-
onFail?: (err: IError) => void;
|
|
9
|
-
}
|
|
10
|
-
declare function authFinish(params: IBizUtilAuthFinishParams): void;
|
|
11
|
-
export { authFinish };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.util.authFinish';
|
|
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 authFinish(params) {
|
|
14
|
-
initAPI(apiName, {
|
|
15
|
-
params: params,
|
|
16
|
-
platform: platform
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export { authFinish };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizUtilAuthStartParams {
|
|
3
|
-
/** 存储信息的key值 */
|
|
4
|
-
scheme: string;
|
|
5
|
-
onSuccess?: () => void;
|
|
6
|
-
onFail?: (err: IError) => void;
|
|
7
|
-
}
|
|
8
|
-
declare function authStart(params: IBizUtilAuthStartParams): void;
|
|
9
|
-
export { authStart };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.util.authStart';
|
|
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 authStart(params) {
|
|
14
|
-
initAPI(apiName, {
|
|
15
|
-
params: params,
|
|
16
|
-
platform: platform
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export { authStart };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
interface IItem {
|
|
3
|
-
key: string; /** 显示文本 */
|
|
4
|
-
value: string; /** 文本对应的值 */
|
|
5
|
-
}
|
|
6
|
-
export interface IBizUtilChosenParams {
|
|
7
|
-
/** 下拉控件的内容 */
|
|
8
|
-
source: Array<IItem>;
|
|
9
|
-
/** 默认选中的key */
|
|
10
|
-
selectedKey?: string;
|
|
11
|
-
onSuccess?: (data: IItem) => void;
|
|
12
|
-
onFail?: (err: IError) => void;
|
|
13
|
-
}
|
|
14
|
-
declare function chosen(params: IBizUtilChosenParams): void;
|
|
15
|
-
export { chosen };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'biz.util.chosen';
|
|
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 chosen(params) {
|
|
14
|
-
initAPI(apiName, {
|
|
15
|
-
params: params,
|
|
16
|
-
platform: platform
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
export { chosen };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IError } from '../../common.typings';
|
|
2
|
-
export interface IBizUtilClipboardFileUploadParams {
|
|
3
|
-
onSuccess?: (res: any) => void;
|
|
4
|
-
onFail?: (err: IError) => void;
|
|
5
|
-
}
|
|
6
|
-
declare function clipboardFileUpload(params?: IBizUtilClipboardFileUploadParams): void;
|
|
7
|
-
export { clipboardFileUpload };
|