yach.open.jssdk 4.4.1-beta6 → 4.4.1-beta7
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.1-beta7.js +1 -0
- package/es/api/app/custom/talYoungFilesUpload.js +2 -0
- package/es/api/biz/chat/chooseConversationByCorpId.js +2 -0
- package/es/api/biz/chat/openSingleChat.js +2 -0
- package/es/api/biz/chat/openSquad.js +2 -0
- package/es/api/biz/chat/openTeamChat.js +2 -0
- package/es/api/biz/chat/pickConversation.js +2 -0
- package/es/api/biz/chat/sendP2PMsg.js +2 -0
- package/es/api/biz/contact/complexPicker.js +2 -0
- package/es/api/biz/contact/departmentsPicker.js +2 -0
- package/es/api/biz/group/groupComplexPicker.js +2 -0
- package/es/api/biz/map/multipointView.js +2 -0
- package/es/api/biz/map/view.js +2 -0
- package/es/api/biz/navigation/close.js +2 -0
- package/es/api/biz/navigation/goBack.js +2 -0
- package/es/api/biz/navigation/quit.js +2 -0
- package/es/api/biz/navigation/replace.js +2 -0
- package/es/api/biz/navigation/setIcon.js +2 -0
- package/es/api/biz/navigation/setLeft.js +2 -0
- package/es/api/biz/navigation/setMenu.js +2 -0
- package/es/api/biz/navigation/setPanGestureEnable.js +2 -0
- package/es/api/biz/navigation/setRight.js +2 -0
- package/es/api/biz/navigation/setTitle.js +2 -0
- package/es/api/biz/navigation/setTitleExpandIcon.js +2 -0
- package/es/api/biz/navigation/setWindowBig.js +2 -0
- package/es/api/biz/navigation/tencentMeeting.d.ts +1 -0
- package/es/api/biz/navigation/tencentMeeting.js +2 -0
- package/es/api/biz/navigation/tencentMeetingBegin.js +2 -0
- package/es/api/biz/navigation/updateExpandTitle.js +2 -0
- package/es/api/biz/telephone/call.js +2 -0
- package/es/api/biz/telephone/showCallMenu.js +2 -0
- package/es/api/biz/util/addAppToNav.js +2 -0
- package/es/api/biz/util/assistantCreate.js +2 -0
- package/es/api/biz/util/authFinish.js +2 -0
- package/es/api/biz/util/authStart.js +2 -0
- package/es/api/biz/util/chosen.js +2 -0
- package/es/api/biz/util/clipboardFileUpload.js +2 -0
- package/es/api/biz/util/closeWindow.js +2 -0
- package/es/api/biz/util/complain.js +2 -0
- package/es/api/biz/util/createModifySchedule.js +2 -0
- package/es/api/biz/util/datepicker.js +2 -0
- package/es/api/biz/util/datetimepicker.js +2 -0
- package/es/api/biz/util/disableScreenCapture.js +2 -0
- package/es/api/biz/util/downloadFile.js +2 -0
- package/es/api/biz/util/entergroupCheck.js +2 -0
- package/es/api/biz/util/externalLinkPreviewFile.js +2 -0
- package/es/api/biz/util/feedback.js +2 -0
- package/es/api/biz/util/getSingleWebviewData.js +2 -0
- package/es/api/biz/util/getTogetherConfig.js +2 -0
- package/es/api/biz/util/getToken.js +2 -0
- package/es/api/biz/util/injectScript.js +2 -0
- package/es/api/biz/util/invoice.js +2 -0
- package/es/api/biz/util/knowledgeBaseSelect.js +2 -0
- package/es/api/biz/util/mediaFileUpload.js +2 -0
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +2 -0
- package/es/api/biz/util/open.js +2 -0
- package/es/api/biz/util/openFutureGroup.js +2 -0
- package/es/api/biz/util/openLink.js +2 -0
- package/es/api/biz/util/openMediaFileDialog.js +2 -0
- package/es/api/biz/util/openSingleWebview.js +2 -0
- package/es/api/biz/util/openSlidePanel.js +2 -0
- package/es/api/biz/util/openTalYoungToTopic.js +2 -0
- package/es/api/biz/util/openTogetherEyeWebview.js +2 -0
- package/es/api/biz/util/openUserSchedule.js +2 -0
- package/es/api/biz/util/openVideoPlayer.js +2 -0
- package/es/api/biz/util/previewFile.js +2 -0
- package/es/api/biz/util/previewImage.js +2 -0
- package/es/api/biz/util/proxy.js +2 -0
- package/es/api/biz/util/pushWorkMsg.js +2 -0
- package/es/api/biz/util/remind.js +2 -0
- package/es/api/biz/util/resetSessionUnread.js +2 -0
- package/es/api/biz/util/rouseApp.js +2 -0
- package/es/api/biz/util/savePic.js +2 -0
- package/es/api/biz/util/scan.js +2 -0
- package/es/api/biz/util/selectDepartment.js +2 -0
- package/es/api/biz/util/share.js +2 -0
- package/es/api/biz/util/takePicture.js +2 -0
- package/es/api/biz/util/uploadAttachment.js +2 -0
- package/es/api/biz/util/yachEvent.js +2 -0
- package/es/api/biz/util/zfbAuth.js +2 -0
- package/es/api/biz/webViewMessage/send.js +2 -0
- package/es/api/device/audio/download.js +2 -0
- package/es/api/device/audio/onPlayEnd.js +2 -0
- package/es/api/device/audio/onRecordEnd.js +2 -0
- package/es/api/device/audio/onRecordEnd_v2.js +2 -0
- package/es/api/device/audio/pause.js +2 -0
- package/es/api/device/audio/play.js +2 -0
- package/es/api/device/audio/resume.js +2 -0
- package/es/api/device/audio/startRecord.js +2 -0
- package/es/api/device/audio/startRecord_v2.js +2 -0
- package/es/api/device/audio/stop.js +2 -0
- package/es/api/device/audio/stopRecord.js +2 -0
- package/es/api/device/audio/stopRecord_v2.js +2 -0
- package/es/api/device/base/checkStepPermission.js +2 -0
- package/es/api/device/base/getPhoneInfo.js +2 -0
- package/es/api/device/base/getUUID.js +2 -0
- package/es/api/device/connection/getNetworkType.js +2 -0
- package/es/api/device/connection/isAtTal.js +4 -2
- package/es/api/device/geolocation/get.js +2 -0
- package/es/api/device/geolocation/getSwitch.js +2 -0
- package/es/api/device/notification/actionSheet.js +2 -0
- package/es/api/device/notification/alert.js +2 -0
- package/es/api/device/notification/confirm.js +2 -0
- package/es/api/device/notification/hidePreloader.js +2 -0
- package/es/api/device/notification/showPreloader.js +2 -0
- package/es/api/device/notification/toast.js +2 -0
- package/es/api/device/notification/vibrate.js +2 -0
- package/es/api/device/system/getLang.js +2 -0
- package/es/api/device/system/setLight.js +2 -0
- package/es/api/initAPI.js +5 -3
- package/es/api/primary/createTab.js +2 -0
- package/es/api/primary/exitFullScreen.js +2 -0
- package/es/api/primary/fullScreen.js +2 -0
- package/es/api/primary/weeklyShare.js +2 -0
- package/es/api/runtime/permission/requestAuthCode.js +2 -0
- package/es/api/ui/pullToRefresh/disable.js +2 -0
- package/es/api/ui/pullToRefresh/enable.js +2 -0
- package/es/api/ui/pullToRefresh/stop.js +2 -0
- package/es/api/ui/webViewBounce/disable.js +2 -0
- package/es/api/util/domainStorage/getItem.js +2 -0
- package/es/api/util/domainStorage/removeItem.js +2 -0
- package/es/api/util/domainStorage/setItem.js +2 -0
- package/es/api/util/tool/flushLog.js +2 -0
- package/es/api/util/tool/log.js +2 -0
- package/es/index.d.ts +1 -7
- package/es/index.js +27 -22
- package/es/lib/bridge/mobile.js +27 -22
- package/es/lib/bridge/pc.js +18 -11
- package/es/lib/helper/apiHelper.js +2 -0
- package/es/lib/helper/codeMap.js +2 -0
- package/es/lib/helper/event.js +19 -7
- package/es/lib/helper/pcIframe.js +51 -21
- package/es/lib/index.js +21 -7
- package/es/lib/sdk/index.js +37 -16
- package/es/lib/sdk/sdk.typings.js +1 -0
- package/es/utils/bpitLog.js +13 -4
- package/es/utils/compareVersions.js +53 -26
- package/es/utils/console.js +17 -1
- package/es/utils/env.js +19 -12
- package/es/utils/index.js +6 -1
- package/libs/api/app/custom/talYoungFilesUpload.js +7 -2
- package/libs/api/biz/chat/chooseConversationByCorpId.js +7 -1
- package/libs/api/biz/chat/openSingleChat.js +7 -1
- package/libs/api/biz/chat/openSquad.js +7 -1
- package/libs/api/biz/chat/openTeamChat.js +7 -1
- package/libs/api/biz/chat/pickConversation.js +7 -1
- package/libs/api/biz/chat/sendP2PMsg.js +7 -1
- package/libs/api/biz/contact/complexPicker.js +7 -1
- package/libs/api/biz/contact/departmentsPicker.js +7 -1
- package/libs/api/biz/group/groupComplexPicker.js +7 -1
- package/libs/api/biz/map/multipointView.js +7 -1
- package/libs/api/biz/map/view.js +7 -1
- package/libs/api/biz/navigation/close.js +7 -1
- package/libs/api/biz/navigation/goBack.js +7 -1
- package/libs/api/biz/navigation/quit.js +7 -1
- package/libs/api/biz/navigation/replace.js +7 -1
- package/libs/api/biz/navigation/setIcon.js +8 -1
- package/libs/api/biz/navigation/setLeft.js +8 -1
- package/libs/api/biz/navigation/setMenu.js +8 -1
- package/libs/api/biz/navigation/setPanGestureEnable.js +8 -1
- package/libs/api/biz/navigation/setRight.js +8 -1
- package/libs/api/biz/navigation/setTitle.js +7 -1
- package/libs/api/biz/navigation/setTitleExpandIcon.js +8 -1
- package/libs/api/biz/navigation/setWindowBig.js +7 -2
- package/libs/api/biz/navigation/tencentMeeting.d.ts +1 -0
- package/libs/api/biz/navigation/tencentMeeting.js +7 -1
- package/libs/api/biz/navigation/tencentMeetingBegin.js +7 -1
- package/libs/api/biz/navigation/updateExpandTitle.js +7 -1
- package/libs/api/biz/telephone/call.js +7 -1
- package/libs/api/biz/telephone/showCallMenu.js +7 -1
- package/libs/api/biz/util/addAppToNav.js +7 -1
- package/libs/api/biz/util/assistantCreate.js +7 -1
- package/libs/api/biz/util/authFinish.js +7 -1
- package/libs/api/biz/util/authStart.js +7 -1
- package/libs/api/biz/util/chosen.js +7 -1
- package/libs/api/biz/util/clipboardFileUpload.js +7 -1
- package/libs/api/biz/util/closeWindow.js +7 -1
- package/libs/api/biz/util/complain.js +7 -1
- package/libs/api/biz/util/createModifySchedule.js +7 -1
- package/libs/api/biz/util/datepicker.js +7 -1
- package/libs/api/biz/util/datetimepicker.js +7 -1
- package/libs/api/biz/util/disableScreenCapture.js +7 -1
- package/libs/api/biz/util/downloadFile.js +7 -1
- package/libs/api/biz/util/entergroupCheck.js +7 -1
- package/libs/api/biz/util/externalLinkPreviewFile.js +7 -1
- package/libs/api/biz/util/feedback.js +7 -1
- package/libs/api/biz/util/getSingleWebviewData.js +7 -1
- package/libs/api/biz/util/getTogetherConfig.js +7 -1
- package/libs/api/biz/util/getToken.js +7 -1
- package/libs/api/biz/util/injectScript.js +7 -1
- package/libs/api/biz/util/invoice.js +7 -2
- package/libs/api/biz/util/knowledgeBaseSelect.js +7 -1
- package/libs/api/biz/util/mediaFileUpload.js +7 -2
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +7 -1
- package/libs/api/biz/util/open.js +7 -1
- package/libs/api/biz/util/openFutureGroup.js +7 -1
- package/libs/api/biz/util/openLink.js +7 -1
- package/libs/api/biz/util/openMediaFileDialog.js +7 -2
- package/libs/api/biz/util/openSingleWebview.js +7 -1
- package/libs/api/biz/util/openSlidePanel.js +7 -1
- package/libs/api/biz/util/openTalYoungToTopic.js +7 -2
- package/libs/api/biz/util/openTogetherEyeWebview.js +7 -1
- package/libs/api/biz/util/openUserSchedule.js +7 -1
- package/libs/api/biz/util/openVideoPlayer.js +7 -1
- package/libs/api/biz/util/previewFile.js +7 -1
- package/libs/api/biz/util/previewImage.js +7 -1
- package/libs/api/biz/util/proxy.js +7 -1
- package/libs/api/biz/util/pushWorkMsg.js +7 -2
- package/libs/api/biz/util/remind.js +7 -1
- package/libs/api/biz/util/resetSessionUnread.js +7 -1
- package/libs/api/biz/util/rouseApp.js +7 -2
- package/libs/api/biz/util/savePic.js +7 -1
- package/libs/api/biz/util/scan.js +7 -1
- package/libs/api/biz/util/selectDepartment.js +7 -1
- package/libs/api/biz/util/share.js +7 -1
- package/libs/api/biz/util/takePicture.js +7 -1
- package/libs/api/biz/util/uploadAttachment.js +7 -1
- package/libs/api/biz/util/yachEvent.js +7 -1
- package/libs/api/biz/util/zfbAuth.js +7 -1
- package/libs/api/biz/webViewMessage/send.js +7 -1
- package/libs/api/device/audio/download.js +7 -1
- package/libs/api/device/audio/onPlayEnd.js +7 -1
- package/libs/api/device/audio/onRecordEnd.js +7 -1
- package/libs/api/device/audio/onRecordEnd_v2.js +7 -1
- package/libs/api/device/audio/pause.js +7 -1
- package/libs/api/device/audio/play.js +7 -1
- package/libs/api/device/audio/resume.js +7 -1
- package/libs/api/device/audio/startRecord.js +7 -1
- package/libs/api/device/audio/startRecord_v2.js +7 -1
- package/libs/api/device/audio/stop.js +7 -1
- package/libs/api/device/audio/stopRecord.js +7 -1
- package/libs/api/device/audio/stopRecord_v2.js +7 -1
- package/libs/api/device/base/checkStepPermission.js +7 -1
- package/libs/api/device/base/getPhoneInfo.js +7 -1
- package/libs/api/device/base/getUUID.js +7 -1
- package/libs/api/device/connection/getNetworkType.js +7 -1
- package/libs/api/device/connection/isAtTal.js +9 -3
- package/libs/api/device/geolocation/get.js +7 -1
- package/libs/api/device/geolocation/getSwitch.js +7 -1
- package/libs/api/device/notification/actionSheet.js +7 -1
- package/libs/api/device/notification/alert.js +7 -1
- package/libs/api/device/notification/confirm.js +7 -1
- package/libs/api/device/notification/hidePreloader.js +7 -1
- package/libs/api/device/notification/showPreloader.js +7 -1
- package/libs/api/device/notification/toast.js +7 -1
- package/libs/api/device/notification/vibrate.js +7 -1
- package/libs/api/device/system/getLang.js +7 -1
- package/libs/api/device/system/setLight.js +7 -1
- package/libs/api/initAPI.js +13 -4
- package/libs/api/primary/createTab.js +7 -1
- package/libs/api/primary/exitFullScreen.js +7 -1
- package/libs/api/primary/fullScreen.js +7 -1
- package/libs/api/primary/weeklyShare.js +7 -1
- package/libs/api/runtime/permission/requestAuthCode.js +7 -1
- package/libs/api/ui/pullToRefresh/disable.js +7 -1
- package/libs/api/ui/pullToRefresh/enable.js +7 -1
- package/libs/api/ui/pullToRefresh/stop.js +7 -1
- package/libs/api/ui/webViewBounce/disable.js +7 -1
- package/libs/api/util/domainStorage/getItem.js +7 -1
- package/libs/api/util/domainStorage/removeItem.js +7 -1
- package/libs/api/util/domainStorage/setItem.js +7 -1
- package/libs/api/util/tool/flushLog.js +7 -1
- package/libs/api/util/tool/log.js +7 -1
- package/libs/index.d.ts +1 -7
- package/libs/index.js +519 -283
- package/libs/lib/bridge/index.js +13 -6
- package/libs/lib/bridge/mobile.js +50 -26
- package/libs/lib/bridge/pc.js +37 -16
- package/libs/lib/helper/apiHelper.js +7 -1
- package/libs/lib/helper/codeMap.js +7 -1
- package/libs/lib/helper/event.js +28 -8
- package/libs/lib/helper/pcIframe.js +58 -20
- package/libs/lib/index.js +33 -9
- package/libs/lib/sdk/index.js +47 -17
- package/libs/lib/sdk/sdk.typings.js +4 -0
- package/libs/utils/bpitLog.js +16 -4
- package/libs/utils/compareVersions.js +77 -32
- package/libs/utils/console.js +18 -2
- package/libs/utils/env.js +21 -12
- package/libs/utils/index.js +21 -8
- package/package.json +1 -1
- package/dist/yach_jssdk_4.4.1-beta6.js +0 -1
- package/es/api/biz/util/copy.d.ts +0 -11
- package/es/api/biz/util/copy.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/libs/api/biz/util/copy.d.ts +0 -11
- package/libs/api/biz/util/copy.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
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import initAPI from '../../initAPI';
|
|
2
|
-
var apiName = 'device.connection.isAtTal';
|
|
3
|
-
// const ios = {
|
|
2
|
+
var apiName = 'device.connection.isAtTal'; // const ios = {
|
|
4
3
|
// vs: '0.0.0',
|
|
5
4
|
// };
|
|
6
5
|
// const android = {
|
|
7
6
|
// vs: '0.0.0',
|
|
8
7
|
// };
|
|
8
|
+
|
|
9
9
|
var pc = {
|
|
10
10
|
vs: '0.0.0'
|
|
11
11
|
};
|
|
12
12
|
var platform = {
|
|
13
13
|
pc: pc
|
|
14
14
|
};
|
|
15
|
+
|
|
15
16
|
function isAtTal(params) {
|
|
16
17
|
initAPI(apiName, {
|
|
17
18
|
params: params,
|
|
18
19
|
platform: platform
|
|
19
20
|
});
|
|
20
21
|
}
|
|
22
|
+
|
|
21
23
|
export { isAtTal };
|
package/es/api/initAPI.js
CHANGED
|
@@ -11,12 +11,14 @@ var defaultPlatform = {
|
|
|
11
11
|
vs: defaultVersion
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
+
|
|
14
15
|
function initAPI(apiName, config) {
|
|
15
16
|
var _config$params = config.params,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
params = _config$params === void 0 ? {} : _config$params,
|
|
18
|
+
_config$platform = config.platform,
|
|
19
|
+
platform = _config$platform === void 0 ? defaultPlatform : _config$platform;
|
|
19
20
|
yachSdk.setAPI(apiName, platform);
|
|
20
21
|
yachSdk.invokeAPI(apiName, params);
|
|
21
22
|
}
|
|
23
|
+
|
|
22
24
|
export default initAPI;
|
package/es/api/util/tool/log.js
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -49,9 +49,6 @@ 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
51
|
import { knowledgeBaseSelect } from './api/biz/util/knowledgeBaseSelect';
|
|
52
|
-
import { lorebaseShowList } from './api/biz/util/lorebaseShowList';
|
|
53
|
-
import { lorebaseRefreshNodeWebview } from './api/biz/util/lorebaseRefreshNodeWebview';
|
|
54
|
-
import { copy } from './api/biz/util/copy';
|
|
55
52
|
/**navigation*/
|
|
56
53
|
import { setIcon } from './api/biz/navigation/setIcon';
|
|
57
54
|
import { setTitle } from './api/biz/navigation/setTitle';
|
|
@@ -131,7 +128,7 @@ import { send as webViewMessageSend } from './api/biz/webViewMessage/send';
|
|
|
131
128
|
import { talYoungFilesUpload } from './api/app/custom/talYoungFilesUpload';
|
|
132
129
|
import { addAppToNav } from './api/biz/util/addAppToNav';
|
|
133
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;
|
|
134
|
-
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,
|
|
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, };
|
|
135
132
|
declare const _default: {
|
|
136
133
|
version: string;
|
|
137
134
|
sdkVersion: string;
|
|
@@ -194,9 +191,6 @@ declare const _default: {
|
|
|
194
191
|
disableScreenCapture: typeof disableScreenCapture;
|
|
195
192
|
addAppToNav: typeof addAppToNav;
|
|
196
193
|
knowledgeBaseSelect: typeof knowledgeBaseSelect;
|
|
197
|
-
lorebaseShowList: typeof lorebaseShowList;
|
|
198
|
-
lorebaseRefreshNodeWebview: typeof lorebaseRefreshNodeWebview;
|
|
199
|
-
copy: typeof copy;
|
|
200
194
|
};
|
|
201
195
|
telephone: {
|
|
202
196
|
showCallMenu: typeof showCallMenu;
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { yachSdk } from './lib';
|
|
2
2
|
/*biz*****************************/
|
|
3
|
+
|
|
3
4
|
/**util*/
|
|
5
|
+
|
|
4
6
|
import { openLink } from './api/biz/util/openLink';
|
|
5
7
|
import { feedback } from './api/biz/util/feedback';
|
|
6
8
|
import { open } from './api/biz/util/open';
|
|
@@ -51,10 +53,8 @@ import { resetSessionUnread } from './api/biz/util/resetSessionUnread';
|
|
|
51
53
|
import { disableScreenCapture } from './api/biz/util/disableScreenCapture';
|
|
52
54
|
import { openFutureGroup } from './api/biz/util/openFutureGroup';
|
|
53
55
|
import { knowledgeBaseSelect } from './api/biz/util/knowledgeBaseSelect';
|
|
54
|
-
import { lorebaseShowList } from './api/biz/util/lorebaseShowList';
|
|
55
|
-
import { lorebaseRefreshNodeWebview } from './api/biz/util/lorebaseRefreshNodeWebview';
|
|
56
|
-
import { copy } from './api/biz/util/copy';
|
|
57
56
|
/**navigation*/
|
|
57
|
+
|
|
58
58
|
import { setIcon } from './api/biz/navigation/setIcon';
|
|
59
59
|
import { setTitle } from './api/biz/navigation/setTitle';
|
|
60
60
|
import { setMenu } from './api/biz/navigation/setMenu';
|
|
@@ -71,11 +71,14 @@ import { tencentMeeting } from './api/biz/navigation/tencentMeeting';
|
|
|
71
71
|
import { tencentMeetingBegin } from './api/biz/navigation/tencentMeetingBegin';
|
|
72
72
|
import { setPanGestureEnable } from './api/biz/navigation/setPanGestureEnable';
|
|
73
73
|
/**contact*/
|
|
74
|
+
|
|
74
75
|
import { complexPicker } from './api/biz/contact/complexPicker';
|
|
75
76
|
import { departmentsPicker } from './api/biz/contact/departmentsPicker';
|
|
76
77
|
/** group*/
|
|
78
|
+
|
|
77
79
|
import { groupComplexPicker } from './api/biz/group/groupComplexPicker';
|
|
78
80
|
/** chat*/
|
|
81
|
+
|
|
79
82
|
import { chooseConversationByCorpId } from './api/biz/chat/chooseConversationByCorpId';
|
|
80
83
|
import { pickConversation } from './api/biz/chat/pickConversation';
|
|
81
84
|
import { openSingleChat } from './api/biz/chat/openSingleChat';
|
|
@@ -83,13 +86,16 @@ import { openTeamChat } from './api/biz/chat/openTeamChat';
|
|
|
83
86
|
import { openSquad } from './api/biz/chat/openSquad';
|
|
84
87
|
import { sendP2PMsg } from './api/biz/chat/sendP2PMsg';
|
|
85
88
|
/* primary*****************************/
|
|
89
|
+
|
|
86
90
|
import { createTab } from './api/primary/createTab';
|
|
87
91
|
import { weeklyShare } from './api/primary/weeklyShare';
|
|
88
92
|
import { fullScreen } from './api/primary/fullScreen';
|
|
89
93
|
import { exitFullScreen } from './api/primary/exitFullScreen';
|
|
90
94
|
/* runtime*****************************/
|
|
95
|
+
|
|
91
96
|
import { requestAuthCode } from './api/runtime/permission/requestAuthCode';
|
|
92
97
|
/** device */
|
|
98
|
+
|
|
93
99
|
import { showPreloader } from './api/device/notification/showPreloader';
|
|
94
100
|
import { hidePreloader } from './api/device/notification/hidePreloader';
|
|
95
101
|
import { vibrate } from './api/device/notification/vibrate';
|
|
@@ -119,18 +125,20 @@ import { startRecord_v2 } from './api/device/audio/startRecord_v2';
|
|
|
119
125
|
import { stopRecord_v2 } from './api/device/audio/stopRecord_v2';
|
|
120
126
|
import { setLight } from './api/device/system/setLight';
|
|
121
127
|
/** telephone */
|
|
128
|
+
|
|
122
129
|
import { showCallMenu } from './api/biz/telephone/showCallMenu';
|
|
123
130
|
import { call } from './api/biz/telephone/call';
|
|
124
131
|
/** ui */
|
|
132
|
+
|
|
125
133
|
import { disable as webViewBounceDisable } from './api/ui/webViewBounce/disable';
|
|
126
134
|
import { enable as pullToRefreshEnable } from './api/ui/pullToRefresh/enable';
|
|
127
135
|
import { stop as pullToRefreshStop } from './api/ui/pullToRefresh/stop';
|
|
128
|
-
import { disable as pullToRefreshDisable } from './api/ui/pullToRefresh/disable';
|
|
129
|
-
|
|
136
|
+
import { disable as pullToRefreshDisable } from './api/ui/pullToRefresh/disable'; // demainStorage
|
|
137
|
+
|
|
130
138
|
import { getItem } from './api/util/domainStorage/getItem';
|
|
131
139
|
import { setItem } from './api/util/domainStorage/setItem';
|
|
132
|
-
import { removeItem } from './api/util/domainStorage/removeItem';
|
|
133
|
-
|
|
140
|
+
import { removeItem } from './api/util/domainStorage/removeItem'; // log
|
|
141
|
+
|
|
134
142
|
import { writeLog } from './api/util/tool/log';
|
|
135
143
|
import { flushLog } from './api/util/tool/flushLog';
|
|
136
144
|
import { send as webViewMessageSend } from './api/biz/webViewMessage/send';
|
|
@@ -138,17 +146,17 @@ import { talYoungFilesUpload } from './api/app/custom/talYoungFilesUpload';
|
|
|
138
146
|
import { addAppToNav } from './api/biz/util/addAppToNav';
|
|
139
147
|
console.log('add rouseApp ------------>', rouseApp);
|
|
140
148
|
var _yachSdk$exportSdk = yachSdk.exportSdk,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
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,
|
|
149
|
+
version = _yachSdk$exportSdk.version,
|
|
150
|
+
sdkVersion = _yachSdk$exportSdk.sdkVersion,
|
|
151
|
+
env = _yachSdk$exportSdk.env,
|
|
152
|
+
platform = _yachSdk$exportSdk.platform,
|
|
153
|
+
platformV2 = _yachSdk$exportSdk.platformV2,
|
|
154
|
+
config = _yachSdk$exportSdk.config,
|
|
155
|
+
ready = _yachSdk$exportSdk.ready,
|
|
156
|
+
error = _yachSdk$exportSdk.error,
|
|
157
|
+
on = _yachSdk$exportSdk.on,
|
|
158
|
+
off = _yachSdk$exportSdk.off;
|
|
159
|
+
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 };
|
|
152
160
|
export default {
|
|
153
161
|
version: version,
|
|
154
162
|
sdkVersion: sdkVersion,
|
|
@@ -210,10 +218,7 @@ export default {
|
|
|
210
218
|
openUserSchedule: openUserSchedule,
|
|
211
219
|
disableScreenCapture: disableScreenCapture,
|
|
212
220
|
addAppToNav: addAppToNav,
|
|
213
|
-
knowledgeBaseSelect: knowledgeBaseSelect
|
|
214
|
-
lorebaseShowList: lorebaseShowList,
|
|
215
|
-
lorebaseRefreshNodeWebview: lorebaseRefreshNodeWebview,
|
|
216
|
-
copy: copy
|
|
221
|
+
knowledgeBaseSelect: knowledgeBaseSelect
|
|
217
222
|
},
|
|
218
223
|
telephone: {
|
|
219
224
|
showCallMenu: showCallMenu,
|