yach.open.jssdk 4.3.8 → 4.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/yach_jssdk_4.4.0-beta.1.js +1 -0
- package/es/api/app/custom/talYoungFilesUpload.js +0 -2
- package/es/api/biz/chat/chooseConversationByCorpId.js +0 -2
- package/es/api/biz/chat/openSingleChat.js +0 -2
- package/es/api/biz/chat/openSquad.js +0 -2
- package/es/api/biz/chat/openTeamChat.js +0 -2
- package/es/api/biz/chat/pickConversation.js +0 -2
- package/es/api/biz/chat/sendP2PMsg.js +0 -2
- package/es/api/biz/contact/complexPicker.js +0 -2
- package/es/api/biz/contact/departmentsPicker.js +0 -2
- package/es/api/biz/group/groupComplexPicker.js +0 -2
- package/es/api/biz/map/multipointView.js +0 -2
- package/es/api/biz/map/view.js +0 -2
- package/es/api/biz/navigation/close.js +0 -2
- package/es/api/biz/navigation/goBack.js +0 -2
- package/es/api/biz/navigation/quit.js +0 -2
- package/es/api/biz/navigation/replace.js +0 -2
- package/es/api/biz/navigation/setIcon.js +0 -2
- package/es/api/biz/navigation/setLeft.js +0 -2
- package/es/api/biz/navigation/setMenu.js +0 -2
- package/es/api/biz/navigation/setPanGestureEnable.js +0 -2
- package/es/api/biz/navigation/setRight.js +0 -2
- package/es/api/biz/navigation/setTitle.js +0 -2
- package/es/api/biz/navigation/setTitleExpandIcon.js +0 -2
- package/es/api/biz/navigation/setWindowBig.js +0 -2
- package/es/api/biz/navigation/tencentMeeting.js +0 -2
- package/es/api/biz/navigation/tencentMeetingBegin.js +0 -2
- package/es/api/biz/navigation/updateExpandTitle.js +0 -2
- package/es/api/biz/telephone/call.js +0 -2
- package/es/api/biz/telephone/showCallMenu.js +0 -2
- package/es/api/biz/util/addAppToNav.js +0 -2
- package/es/api/biz/util/assistantCreate.js +0 -2
- package/es/api/biz/util/authFinish.js +0 -2
- package/es/api/biz/util/authStart.js +0 -2
- package/es/api/biz/util/chosen.js +0 -2
- package/es/api/biz/util/clipboardFileUpload.js +0 -2
- package/es/api/biz/util/closeWindow.js +0 -2
- package/es/api/biz/util/complain.js +0 -2
- package/es/api/biz/util/createModifySchedule.js +0 -2
- package/es/api/biz/util/datepicker.js +0 -2
- package/es/api/biz/util/datetimepicker.js +0 -2
- package/es/api/biz/util/disableScreenCapture.js +0 -2
- package/es/api/biz/util/downloadFile.js +0 -2
- package/es/api/biz/util/entergroupCheck.js +0 -2
- package/es/api/biz/util/externalLinkPreviewFile.js +0 -2
- package/es/api/biz/util/feedback.js +0 -2
- package/es/api/biz/util/getSingleWebviewData.js +0 -2
- package/es/api/biz/util/getTogetherConfig.js +0 -2
- package/es/api/biz/util/getToken.js +0 -2
- package/es/api/biz/util/injectScript.js +0 -2
- package/es/api/biz/util/invoice.js +0 -2
- package/es/api/biz/util/knowledgeBaseSelect.d.ts +21 -0
- package/es/api/biz/util/knowledgeBaseSelect.js +15 -0
- package/es/api/biz/util/mediaFileUpload.js +0 -2
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -2
- package/es/api/biz/util/open.js +0 -2
- package/es/api/biz/util/openFutureGroup.js +0 -2
- package/es/api/biz/util/openLink.js +0 -2
- package/es/api/biz/util/openMediaFileDialog.js +0 -2
- package/es/api/biz/util/openSingleWebview.js +0 -2
- package/es/api/biz/util/openSlidePanel.js +0 -2
- package/es/api/biz/util/openTalYoungToTopic.js +0 -2
- package/es/api/biz/util/openTogetherEyeWebview.js +0 -2
- package/es/api/biz/util/openUserSchedule.js +0 -2
- package/es/api/biz/util/openVideoPlayer.js +0 -2
- package/es/api/biz/util/previewFile.js +0 -2
- package/es/api/biz/util/previewImage.js +0 -2
- package/es/api/biz/util/proxy.js +0 -2
- package/es/api/biz/util/pushWorkMsg.js +0 -2
- package/es/api/biz/util/remind.js +0 -2
- package/es/api/biz/util/resetSessionUnread.js +0 -2
- package/es/api/biz/util/rouseApp.js +0 -2
- package/es/api/biz/util/savePic.js +0 -2
- package/es/api/biz/util/scan.js +0 -2
- package/es/api/biz/util/selectDepartment.js +0 -2
- package/es/api/biz/util/share.js +0 -2
- package/es/api/biz/util/takePicture.js +0 -2
- package/es/api/biz/util/uploadAttachment.js +0 -2
- package/es/api/biz/util/yachEvent.js +0 -2
- package/es/api/biz/util/zfbAuth.js +0 -2
- package/es/api/biz/webViewMessage/send.js +0 -2
- package/es/api/device/audio/download.js +0 -2
- package/es/api/device/audio/onPlayEnd.js +0 -2
- package/es/api/device/audio/onRecordEnd.js +0 -2
- package/es/api/device/audio/onRecordEnd_v2.js +0 -2
- package/es/api/device/audio/pause.js +0 -2
- package/es/api/device/audio/play.js +0 -2
- package/es/api/device/audio/resume.js +0 -2
- package/es/api/device/audio/startRecord.js +0 -2
- package/es/api/device/audio/startRecord_v2.js +0 -2
- package/es/api/device/audio/stop.js +0 -2
- package/es/api/device/audio/stopRecord.js +0 -2
- package/es/api/device/audio/stopRecord_v2.js +0 -2
- package/es/api/device/base/checkStepPermission.js +0 -2
- package/es/api/device/base/getPhoneInfo.js +0 -2
- package/es/api/device/base/getUUID.js +0 -2
- package/es/api/device/connection/getNetworkType.js +0 -2
- package/es/api/device/connection/isAtTal.js +2 -4
- package/es/api/device/geolocation/get.js +0 -2
- package/es/api/device/geolocation/getSwitch.js +0 -2
- package/es/api/device/notification/actionSheet.js +0 -2
- package/es/api/device/notification/alert.js +0 -2
- package/es/api/device/notification/confirm.js +0 -2
- package/es/api/device/notification/hidePreloader.js +0 -2
- package/es/api/device/notification/showPreloader.js +0 -2
- package/es/api/device/notification/toast.js +0 -2
- package/es/api/device/notification/vibrate.js +0 -2
- package/es/api/device/system/getLang.js +0 -2
- package/es/api/device/system/setLight.js +0 -2
- package/es/api/initAPI.js +3 -5
- package/es/api/primary/createTab.js +0 -2
- package/es/api/primary/exitFullScreen.js +0 -2
- package/es/api/primary/fullScreen.js +0 -2
- package/es/api/primary/weeklyShare.js +0 -2
- package/es/api/runtime/permission/requestAuthCode.js +0 -2
- package/es/api/ui/pullToRefresh/disable.js +0 -2
- package/es/api/ui/pullToRefresh/enable.js +0 -2
- package/es/api/ui/pullToRefresh/stop.js +0 -2
- package/es/api/ui/webViewBounce/disable.js +0 -2
- package/es/api/util/domainStorage/getItem.js +0 -2
- package/es/api/util/domainStorage/removeItem.js +0 -2
- package/es/api/util/domainStorage/setItem.js +0 -2
- package/es/api/util/tool/flushLog.js +0 -2
- package/es/api/util/tool/log.js +0 -2
- package/es/index.d.ts +3 -1
- package/es/index.js +18 -27
- package/es/lib/bridge/mobile.js +8 -23
- package/es/lib/bridge/pc.js +16 -17
- package/es/lib/helper/apiHelper.js +0 -2
- package/es/lib/helper/codeMap.js +0 -2
- package/es/lib/helper/event.js +0 -13
- package/es/lib/helper/pcIframe.js +14 -45
- package/es/lib/index.js +7 -21
- package/es/lib/sdk/index.js +14 -35
- package/es/lib/sdk/sdk.typings.js +0 -1
- package/es/utils/bpitLog.js +4 -13
- package/es/utils/compareVersions.js +23 -50
- package/es/utils/console.js +0 -15
- package/es/utils/env.js +12 -19
- package/es/utils/index.js +0 -5
- package/libs/api/app/custom/talYoungFilesUpload.js +1 -6
- package/libs/api/biz/chat/chooseConversationByCorpId.js +0 -6
- package/libs/api/biz/chat/openSingleChat.js +0 -6
- package/libs/api/biz/chat/openSquad.js +0 -6
- package/libs/api/biz/chat/openTeamChat.js +0 -6
- package/libs/api/biz/chat/pickConversation.js +0 -6
- package/libs/api/biz/chat/sendP2PMsg.js +0 -6
- package/libs/api/biz/contact/complexPicker.js +0 -6
- package/libs/api/biz/contact/departmentsPicker.js +0 -6
- package/libs/api/biz/group/groupComplexPicker.js +0 -6
- package/libs/api/biz/map/multipointView.js +0 -6
- package/libs/api/biz/map/view.js +0 -6
- package/libs/api/biz/navigation/close.js +0 -6
- package/libs/api/biz/navigation/goBack.js +0 -6
- package/libs/api/biz/navigation/quit.js +0 -6
- package/libs/api/biz/navigation/replace.js +0 -6
- package/libs/api/biz/navigation/setIcon.js +0 -7
- package/libs/api/biz/navigation/setLeft.js +0 -7
- package/libs/api/biz/navigation/setMenu.js +0 -7
- package/libs/api/biz/navigation/setPanGestureEnable.js +0 -7
- package/libs/api/biz/navigation/setRight.js +0 -7
- package/libs/api/biz/navigation/setTitle.js +0 -6
- package/libs/api/biz/navigation/setTitleExpandIcon.js +0 -7
- package/libs/api/biz/navigation/setWindowBig.js +1 -6
- package/libs/api/biz/navigation/tencentMeeting.js +0 -6
- package/libs/api/biz/navigation/tencentMeetingBegin.js +0 -6
- package/libs/api/biz/navigation/updateExpandTitle.js +0 -6
- package/libs/api/biz/telephone/call.js +0 -6
- package/libs/api/biz/telephone/showCallMenu.js +0 -6
- package/libs/api/biz/util/addAppToNav.js +0 -6
- package/libs/api/biz/util/assistantCreate.js +0 -6
- package/libs/api/biz/util/authFinish.js +0 -6
- package/libs/api/biz/util/authStart.js +0 -6
- package/libs/api/biz/util/chosen.js +0 -6
- package/libs/api/biz/util/clipboardFileUpload.js +0 -6
- package/libs/api/biz/util/closeWindow.js +0 -6
- package/libs/api/biz/util/complain.js +0 -6
- package/libs/api/biz/util/createModifySchedule.js +0 -6
- package/libs/api/biz/util/datepicker.js +0 -6
- package/libs/api/biz/util/datetimepicker.js +0 -6
- package/libs/api/biz/util/disableScreenCapture.js +0 -6
- package/libs/api/biz/util/downloadFile.js +0 -6
- package/libs/api/biz/util/entergroupCheck.js +0 -6
- package/libs/api/biz/util/externalLinkPreviewFile.js +0 -6
- package/libs/api/biz/util/feedback.js +0 -6
- package/libs/api/biz/util/getSingleWebviewData.js +0 -6
- package/libs/api/biz/util/getTogetherConfig.js +0 -6
- package/libs/api/biz/util/getToken.js +0 -6
- package/libs/api/biz/util/injectScript.js +0 -6
- package/libs/api/biz/util/invoice.js +1 -6
- package/libs/api/biz/util/knowledgeBaseSelect.d.ts +21 -0
- package/libs/api/biz/util/knowledgeBaseSelect.js +22 -0
- package/libs/api/biz/util/mediaFileUpload.js +1 -6
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +0 -6
- package/libs/api/biz/util/open.js +0 -6
- package/libs/api/biz/util/openFutureGroup.js +0 -6
- package/libs/api/biz/util/openLink.js +0 -6
- package/libs/api/biz/util/openMediaFileDialog.js +1 -6
- package/libs/api/biz/util/openSingleWebview.js +0 -6
- package/libs/api/biz/util/openSlidePanel.js +0 -6
- package/libs/api/biz/util/openTalYoungToTopic.js +1 -6
- package/libs/api/biz/util/openTogetherEyeWebview.js +0 -6
- package/libs/api/biz/util/openUserSchedule.js +0 -6
- package/libs/api/biz/util/openVideoPlayer.js +0 -6
- package/libs/api/biz/util/previewFile.js +0 -6
- package/libs/api/biz/util/previewImage.js +0 -6
- package/libs/api/biz/util/proxy.js +0 -6
- package/libs/api/biz/util/pushWorkMsg.js +1 -6
- package/libs/api/biz/util/remind.js +0 -6
- package/libs/api/biz/util/resetSessionUnread.js +0 -6
- package/libs/api/biz/util/rouseApp.js +1 -6
- package/libs/api/biz/util/savePic.js +0 -6
- package/libs/api/biz/util/scan.js +0 -6
- package/libs/api/biz/util/selectDepartment.js +0 -6
- package/libs/api/biz/util/share.js +0 -6
- package/libs/api/biz/util/takePicture.js +0 -6
- package/libs/api/biz/util/uploadAttachment.js +0 -6
- package/libs/api/biz/util/yachEvent.js +0 -6
- package/libs/api/biz/util/zfbAuth.js +0 -6
- package/libs/api/biz/webViewMessage/send.js +0 -6
- package/libs/api/device/audio/download.js +0 -6
- package/libs/api/device/audio/onPlayEnd.js +0 -6
- package/libs/api/device/audio/onRecordEnd.js +0 -6
- package/libs/api/device/audio/onRecordEnd_v2.js +0 -6
- package/libs/api/device/audio/pause.js +0 -6
- package/libs/api/device/audio/play.js +0 -6
- package/libs/api/device/audio/resume.js +0 -6
- package/libs/api/device/audio/startRecord.js +0 -6
- package/libs/api/device/audio/startRecord_v2.js +0 -6
- package/libs/api/device/audio/stop.js +0 -6
- package/libs/api/device/audio/stopRecord.js +0 -6
- package/libs/api/device/audio/stopRecord_v2.js +0 -6
- package/libs/api/device/base/checkStepPermission.js +0 -6
- package/libs/api/device/base/getPhoneInfo.js +0 -6
- package/libs/api/device/base/getUUID.js +0 -6
- package/libs/api/device/connection/getNetworkType.js +0 -6
- package/libs/api/device/connection/isAtTal.js +2 -8
- package/libs/api/device/geolocation/get.js +0 -6
- package/libs/api/device/geolocation/getSwitch.js +0 -6
- package/libs/api/device/notification/actionSheet.js +0 -6
- package/libs/api/device/notification/alert.js +0 -6
- package/libs/api/device/notification/confirm.js +0 -6
- package/libs/api/device/notification/hidePreloader.js +0 -6
- package/libs/api/device/notification/showPreloader.js +0 -6
- package/libs/api/device/notification/toast.js +0 -6
- package/libs/api/device/notification/vibrate.js +0 -6
- package/libs/api/device/system/getLang.js +0 -6
- package/libs/api/device/system/setLight.js +0 -6
- package/libs/api/initAPI.js +4 -13
- package/libs/api/primary/createTab.js +0 -6
- package/libs/api/primary/exitFullScreen.js +0 -6
- package/libs/api/primary/fullScreen.js +0 -6
- package/libs/api/primary/weeklyShare.js +0 -6
- package/libs/api/runtime/permission/requestAuthCode.js +0 -6
- package/libs/api/ui/pullToRefresh/disable.js +0 -6
- package/libs/api/ui/pullToRefresh/enable.js +0 -6
- package/libs/api/ui/pullToRefresh/stop.js +0 -6
- package/libs/api/ui/webViewBounce/disable.js +0 -6
- package/libs/api/util/domainStorage/getItem.js +0 -6
- package/libs/api/util/domainStorage/removeItem.js +0 -6
- package/libs/api/util/domainStorage/setItem.js +0 -6
- package/libs/api/util/tool/flushLog.js +0 -6
- package/libs/api/util/tool/log.js +0 -6
- package/libs/index.d.ts +3 -1
- package/libs/index.js +21 -285
- package/libs/lib/bridge/index.js +0 -7
- package/libs/lib/bridge/mobile.js +11 -45
- package/libs/lib/bridge/pc.js +19 -33
- package/libs/lib/helper/apiHelper.js +0 -6
- package/libs/lib/helper/codeMap.js +0 -6
- package/libs/lib/helper/event.js +1 -22
- package/libs/lib/helper/pcIframe.js +13 -51
- package/libs/lib/index.js +8 -32
- package/libs/lib/sdk/index.js +15 -45
- package/libs/lib/sdk/sdk.typings.js +0 -4
- package/libs/utils/bpitLog.js +4 -16
- package/libs/utils/compareVersions.js +27 -72
- package/libs/utils/console.js +0 -16
- package/libs/utils/env.js +12 -21
- package/libs/utils/index.js +0 -13
- package/package.json +1 -1
- package/dist/yach_jssdk_4.3.8.js +0 -1
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.connection.isAtTal';
|
|
2
|
+
var apiName = 'device.connection.isAtTal';
|
|
3
|
+
// const ios = {
|
|
3
4
|
// vs: '0.0.0',
|
|
4
5
|
// };
|
|
5
6
|
// const android = {
|
|
6
7
|
// vs: '0.0.0',
|
|
7
8
|
// };
|
|
8
|
-
|
|
9
9
|
var pc = {
|
|
10
10
|
vs: '0.0.0'
|
|
11
11
|
};
|
|
12
12
|
var platform = {
|
|
13
13
|
pc: pc
|
|
14
14
|
};
|
|
15
|
-
|
|
16
15
|
function isAtTal(params) {
|
|
17
16
|
initAPI(apiName, {
|
|
18
17
|
params: params,
|
|
19
18
|
platform: platform
|
|
20
19
|
});
|
|
21
20
|
}
|
|
22
|
-
|
|
23
21
|
export { isAtTal };
|
package/es/api/initAPI.js
CHANGED
|
@@ -11,14 +11,12 @@ var defaultPlatform = {
|
|
|
11
11
|
vs: defaultVersion
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
|
|
15
14
|
function initAPI(apiName, config) {
|
|
16
15
|
var _config$params = config.params,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
params = _config$params === void 0 ? {} : _config$params,
|
|
17
|
+
_config$platform = config.platform,
|
|
18
|
+
platform = _config$platform === void 0 ? defaultPlatform : _config$platform;
|
|
20
19
|
yachSdk.setAPI(apiName, platform);
|
|
21
20
|
yachSdk.invokeAPI(apiName, params);
|
|
22
21
|
}
|
|
23
|
-
|
|
24
22
|
export default initAPI;
|
package/es/api/util/tool/log.js
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { entergroupCheck } from './api/biz/util/entergroupCheck';
|
|
|
48
48
|
import { resetSessionUnread } from './api/biz/util/resetSessionUnread';
|
|
49
49
|
import { disableScreenCapture } from './api/biz/util/disableScreenCapture';
|
|
50
50
|
import { openFutureGroup } from './api/biz/util/openFutureGroup';
|
|
51
|
+
import { knowledgeBaseSelect } from './api/biz/util/knowledgeBaseSelect';
|
|
51
52
|
/**navigation*/
|
|
52
53
|
import { setIcon } from './api/biz/navigation/setIcon';
|
|
53
54
|
import { setTitle } from './api/biz/navigation/setTitle';
|
|
@@ -127,7 +128,7 @@ import { send as webViewMessageSend } from './api/biz/webViewMessage/send';
|
|
|
127
128
|
import { talYoungFilesUpload } from './api/app/custom/talYoungFilesUpload';
|
|
128
129
|
import { addAppToNav } from './api/biz/util/addAppToNav';
|
|
129
130
|
declare const version: string, sdkVersion: string, env: import("./lib/sdk/sdk.typings").IENV, platform: import("./lib/sdk/sdk.typings").ENV_ENUM, platformV2: import("./lib/sdk/sdk.typings").PlatformV2Props, config: (configParams: import("./lib/sdk/sdk.typings").IConfigParams) => void, ready: (readyCallback: () => void) => void, error: (callback: (err: any) => void) => void, on: (methodName: string, listener: (e: any) => void) => void, off: (methodName: string, listener: (e: any) => void) => void;
|
|
130
|
-
export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, hidePreloader, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openVideoPlayer, openMediaFileDialog, mediaFileUpload, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, openFutureGroup, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, addAppToNav, };
|
|
131
|
+
export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, hidePreloader, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openVideoPlayer, openMediaFileDialog, mediaFileUpload, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, openFutureGroup, knowledgeBaseSelect, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, addAppToNav, };
|
|
131
132
|
declare const _default: {
|
|
132
133
|
version: string;
|
|
133
134
|
sdkVersion: string;
|
|
@@ -189,6 +190,7 @@ declare const _default: {
|
|
|
189
190
|
openUserSchedule: typeof openUserSchedule;
|
|
190
191
|
disableScreenCapture: typeof disableScreenCapture;
|
|
191
192
|
addAppToNav: typeof addAppToNav;
|
|
193
|
+
knowledgeBaseSelect: typeof knowledgeBaseSelect;
|
|
192
194
|
};
|
|
193
195
|
telephone: {
|
|
194
196
|
showCallMenu: typeof showCallMenu;
|
package/es/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { yachSdk } from './lib';
|
|
2
2
|
/*biz*****************************/
|
|
3
|
-
|
|
4
3
|
/**util*/
|
|
5
|
-
|
|
6
4
|
import { openLink } from './api/biz/util/openLink';
|
|
7
5
|
import { feedback } from './api/biz/util/feedback';
|
|
8
6
|
import { open } from './api/biz/util/open';
|
|
@@ -52,8 +50,8 @@ import { entergroupCheck } from './api/biz/util/entergroupCheck';
|
|
|
52
50
|
import { resetSessionUnread } from './api/biz/util/resetSessionUnread';
|
|
53
51
|
import { disableScreenCapture } from './api/biz/util/disableScreenCapture';
|
|
54
52
|
import { openFutureGroup } from './api/biz/util/openFutureGroup';
|
|
53
|
+
import { knowledgeBaseSelect } from './api/biz/util/knowledgeBaseSelect';
|
|
55
54
|
/**navigation*/
|
|
56
|
-
|
|
57
55
|
import { setIcon } from './api/biz/navigation/setIcon';
|
|
58
56
|
import { setTitle } from './api/biz/navigation/setTitle';
|
|
59
57
|
import { setMenu } from './api/biz/navigation/setMenu';
|
|
@@ -70,14 +68,11 @@ import { tencentMeeting } from './api/biz/navigation/tencentMeeting';
|
|
|
70
68
|
import { tencentMeetingBegin } from './api/biz/navigation/tencentMeetingBegin';
|
|
71
69
|
import { setPanGestureEnable } from './api/biz/navigation/setPanGestureEnable';
|
|
72
70
|
/**contact*/
|
|
73
|
-
|
|
74
71
|
import { complexPicker } from './api/biz/contact/complexPicker';
|
|
75
72
|
import { departmentsPicker } from './api/biz/contact/departmentsPicker';
|
|
76
73
|
/** group*/
|
|
77
|
-
|
|
78
74
|
import { groupComplexPicker } from './api/biz/group/groupComplexPicker';
|
|
79
75
|
/** chat*/
|
|
80
|
-
|
|
81
76
|
import { chooseConversationByCorpId } from './api/biz/chat/chooseConversationByCorpId';
|
|
82
77
|
import { pickConversation } from './api/biz/chat/pickConversation';
|
|
83
78
|
import { openSingleChat } from './api/biz/chat/openSingleChat';
|
|
@@ -85,16 +80,13 @@ import { openTeamChat } from './api/biz/chat/openTeamChat';
|
|
|
85
80
|
import { openSquad } from './api/biz/chat/openSquad';
|
|
86
81
|
import { sendP2PMsg } from './api/biz/chat/sendP2PMsg';
|
|
87
82
|
/* primary*****************************/
|
|
88
|
-
|
|
89
83
|
import { createTab } from './api/primary/createTab';
|
|
90
84
|
import { weeklyShare } from './api/primary/weeklyShare';
|
|
91
85
|
import { fullScreen } from './api/primary/fullScreen';
|
|
92
86
|
import { exitFullScreen } from './api/primary/exitFullScreen';
|
|
93
87
|
/* runtime*****************************/
|
|
94
|
-
|
|
95
88
|
import { requestAuthCode } from './api/runtime/permission/requestAuthCode';
|
|
96
89
|
/** device */
|
|
97
|
-
|
|
98
90
|
import { showPreloader } from './api/device/notification/showPreloader';
|
|
99
91
|
import { hidePreloader } from './api/device/notification/hidePreloader';
|
|
100
92
|
import { vibrate } from './api/device/notification/vibrate';
|
|
@@ -124,20 +116,18 @@ import { startRecord_v2 } from './api/device/audio/startRecord_v2';
|
|
|
124
116
|
import { stopRecord_v2 } from './api/device/audio/stopRecord_v2';
|
|
125
117
|
import { setLight } from './api/device/system/setLight';
|
|
126
118
|
/** telephone */
|
|
127
|
-
|
|
128
119
|
import { showCallMenu } from './api/biz/telephone/showCallMenu';
|
|
129
120
|
import { call } from './api/biz/telephone/call';
|
|
130
121
|
/** ui */
|
|
131
|
-
|
|
132
122
|
import { disable as webViewBounceDisable } from './api/ui/webViewBounce/disable';
|
|
133
123
|
import { enable as pullToRefreshEnable } from './api/ui/pullToRefresh/enable';
|
|
134
124
|
import { stop as pullToRefreshStop } from './api/ui/pullToRefresh/stop';
|
|
135
|
-
import { disable as pullToRefreshDisable } from './api/ui/pullToRefresh/disable';
|
|
136
|
-
|
|
125
|
+
import { disable as pullToRefreshDisable } from './api/ui/pullToRefresh/disable';
|
|
126
|
+
// demainStorage
|
|
137
127
|
import { getItem } from './api/util/domainStorage/getItem';
|
|
138
128
|
import { setItem } from './api/util/domainStorage/setItem';
|
|
139
|
-
import { removeItem } from './api/util/domainStorage/removeItem';
|
|
140
|
-
|
|
129
|
+
import { removeItem } from './api/util/domainStorage/removeItem';
|
|
130
|
+
// log
|
|
141
131
|
import { writeLog } from './api/util/tool/log';
|
|
142
132
|
import { flushLog } from './api/util/tool/flushLog';
|
|
143
133
|
import { send as webViewMessageSend } from './api/biz/webViewMessage/send';
|
|
@@ -145,17 +135,17 @@ import { talYoungFilesUpload } from './api/app/custom/talYoungFilesUpload';
|
|
|
145
135
|
import { addAppToNav } from './api/biz/util/addAppToNav';
|
|
146
136
|
console.log('add rouseApp ------------>', rouseApp);
|
|
147
137
|
var _yachSdk$exportSdk = yachSdk.exportSdk,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, hidePreloader, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openVideoPlayer, openMediaFileDialog, mediaFileUpload, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, openFutureGroup, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, addAppToNav };
|
|
138
|
+
version = _yachSdk$exportSdk.version,
|
|
139
|
+
sdkVersion = _yachSdk$exportSdk.sdkVersion,
|
|
140
|
+
env = _yachSdk$exportSdk.env,
|
|
141
|
+
platform = _yachSdk$exportSdk.platform,
|
|
142
|
+
platformV2 = _yachSdk$exportSdk.platformV2,
|
|
143
|
+
config = _yachSdk$exportSdk.config,
|
|
144
|
+
ready = _yachSdk$exportSdk.ready,
|
|
145
|
+
error = _yachSdk$exportSdk.error,
|
|
146
|
+
on = _yachSdk$exportSdk.on,
|
|
147
|
+
off = _yachSdk$exportSdk.off;
|
|
148
|
+
export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, hidePreloader, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openVideoPlayer, openMediaFileDialog, mediaFileUpload, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, openFutureGroup, knowledgeBaseSelect, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, addAppToNav };
|
|
159
149
|
export default {
|
|
160
150
|
version: version,
|
|
161
151
|
sdkVersion: sdkVersion,
|
|
@@ -216,7 +206,8 @@ export default {
|
|
|
216
206
|
createModifySchedule: createModifySchedule,
|
|
217
207
|
openUserSchedule: openUserSchedule,
|
|
218
208
|
disableScreenCapture: disableScreenCapture,
|
|
219
|
-
addAppToNav: addAppToNav
|
|
209
|
+
addAppToNav: addAppToNav,
|
|
210
|
+
knowledgeBaseSelect: knowledgeBaseSelect
|
|
220
211
|
},
|
|
221
212
|
telephone: {
|
|
222
213
|
showCallMenu: showCallMenu,
|