yach.open.jssdk 4.3.6-beta2 → 4.3.6-beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/yach_jssdk_4.3.6-beta4.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.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.d.ts +9 -0
- package/es/api/biz/util/addAppToNav.js +25 -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/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 +3 -1
- package/es/index.js +29 -16
- package/es/lib/bridge/mobile.js +74 -26
- package/es/lib/bridge/pc.js +57 -13
- 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 +52 -20
- package/es/lib/index.js +21 -7
- package/es/lib/sdk/index.js +49 -18
- package/es/lib/sdk/sdk.typings.d.ts +1 -0
- 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 +21 -12
- package/es/utils/index.js +7 -2
- 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.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.d.ts +9 -0
- package/libs/api/biz/util/addAppToNav.js +36 -0
- 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/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 +3 -1
- package/libs/index.js +512 -258
- package/libs/lib/bridge/index.js +13 -6
- package/libs/lib/bridge/mobile.js +96 -30
- package/libs/lib/bridge/pc.js +74 -18
- 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 +59 -19
- package/libs/lib/index.js +33 -9
- package/libs/lib/sdk/index.js +58 -18
- package/libs/lib/sdk/sdk.typings.d.ts +1 -0
- 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 +23 -12
- package/libs/utils/index.js +22 -9
- package/package.json +1 -1
- package/dist/yach_jssdk_4.3.6-beta2.js +0 -1
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.openTeamChat = openTeamChat;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.chat.openTeamChat';
|
|
16
|
+
|
|
11
17
|
function openTeamChat(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.pickConversation = pickConversation;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.chat.pickConversation';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function pickConversation(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.sendP2PMsg = sendP2PMsg;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.chat.sendP2PMsg';
|
|
16
|
+
|
|
11
17
|
function sendP2PMsg(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.complexPicker = complexPicker;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.contact.complexPicker';
|
|
16
|
+
|
|
11
17
|
function complexPicker(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.departmentsPicker = departmentsPicker;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.contact.departmentsPicker';
|
|
16
|
+
|
|
11
17
|
function departmentsPicker(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.groupComplexPicker = groupComplexPicker;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.group.groupComplexPicker';
|
|
16
|
+
|
|
11
17
|
function groupComplexPicker(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.multipointView = multipointView;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.map.multipointView';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function multipointView(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
package/libs/api/biz/map/view.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.view = view;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.map.view';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function view(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.close = close;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
;
|
|
11
16
|
var apiName = 'biz.navigation.close';
|
|
17
|
+
|
|
12
18
|
function close(params) {
|
|
13
19
|
(0, _initAPI["default"])(apiName, {
|
|
14
20
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.goBack = goBack;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.goBack';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function goBack(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.quit = quit;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.quit';
|
|
11
16
|
var pc = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -14,6 +19,7 @@ var pc = {
|
|
|
14
19
|
var platform = {
|
|
15
20
|
pc: pc
|
|
16
21
|
};
|
|
22
|
+
|
|
17
23
|
function quit(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.replace = replace;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.replace';
|
|
16
|
+
|
|
11
17
|
function replace(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setIcon = setIcon;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setIcon';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
control: !0,
|
|
@@ -26,6 +32,7 @@ var platform = {
|
|
|
26
32
|
ios: ios,
|
|
27
33
|
android: android
|
|
28
34
|
};
|
|
35
|
+
|
|
29
36
|
function setIcon(params) {
|
|
30
37
|
(0, _initAPI["default"])(apiName, {
|
|
31
38
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setLeft = setLeft;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setLeft';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
show: true,
|
|
@@ -30,6 +36,7 @@ var platform = {
|
|
|
30
36
|
android: android,
|
|
31
37
|
pc: pc
|
|
32
38
|
};
|
|
39
|
+
|
|
33
40
|
function setLeft(params) {
|
|
34
41
|
(0, _initAPI["default"])(apiName, {
|
|
35
42
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setMenu = setMenu;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setMenu';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
control: true
|
|
@@ -24,6 +30,7 @@ var platform = {
|
|
|
24
30
|
ios: ios,
|
|
25
31
|
android: android
|
|
26
32
|
};
|
|
33
|
+
|
|
27
34
|
function setMenu(params) {
|
|
28
35
|
(0, _initAPI["default"])(apiName, {
|
|
29
36
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setPanGestureEnable = setPanGestureEnable;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setPanGestureEnable';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
nativePanEnable: true,
|
|
@@ -25,6 +31,7 @@ var platform = {
|
|
|
25
31
|
ios: ios,
|
|
26
32
|
android: android
|
|
27
33
|
};
|
|
34
|
+
|
|
28
35
|
function setPanGestureEnable(params) {
|
|
29
36
|
(0, _initAPI["default"])(apiName, {
|
|
30
37
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setRight = setRight;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setRight';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
show: true,
|
|
@@ -30,6 +36,7 @@ var platform = {
|
|
|
30
36
|
android: android,
|
|
31
37
|
pc: pc
|
|
32
38
|
};
|
|
39
|
+
|
|
33
40
|
function setRight(params) {
|
|
34
41
|
(0, _initAPI["default"])(apiName, {
|
|
35
42
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setTitle = setTitle;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.setTitle';
|
|
16
|
+
|
|
11
17
|
function setTitle(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setTitleExpandIcon = setTitleExpandIcon;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var _apiHelper = require("../../../lib/helper/apiHelper");
|
|
16
|
+
|
|
11
17
|
var apiName = 'biz.navigation.setTitleExpandIcon';
|
|
12
18
|
var paramsDeal = (0, _apiHelper.genDefaultParamsDealFn)({
|
|
13
19
|
control: true
|
|
@@ -24,6 +30,7 @@ var platform = {
|
|
|
24
30
|
ios: ios,
|
|
25
31
|
android: android
|
|
26
32
|
};
|
|
33
|
+
|
|
27
34
|
function setTitleExpandIcon(params) {
|
|
28
35
|
(0, _initAPI["default"])(apiName, {
|
|
29
36
|
params: params,
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setWindowBig = setWindowBig;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
10
|
-
/* eslint-disable @typescript-eslint/no-this-alias */
|
|
11
14
|
|
|
15
|
+
/* eslint-disable @typescript-eslint/no-this-alias */
|
|
12
16
|
var pc = {
|
|
13
17
|
vs: '0.0.0'
|
|
14
18
|
};
|
|
@@ -16,6 +20,7 @@ var platform = {
|
|
|
16
20
|
pc: pc
|
|
17
21
|
};
|
|
18
22
|
var apiName = 'biz.navigation.setWindowBig';
|
|
23
|
+
|
|
19
24
|
function setWindowBig(params) {
|
|
20
25
|
(0, _initAPI["default"])(apiName, {
|
|
21
26
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.tencentMeeting = tencentMeeting;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.tencentMeeting';
|
|
16
|
+
|
|
11
17
|
function tencentMeeting(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.tencentMeetingBegin = tencentMeetingBegin;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.tencentMeetingBegin';
|
|
16
|
+
|
|
11
17
|
function tencentMeetingBegin(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.updateExpandTitle = updateExpandTitle;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.navigation.updateExpandTitle';
|
|
16
|
+
|
|
11
17
|
function updateExpandTitle(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.call = call;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.telephone.call';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function call(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
3
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.showCallMenu = showCallMenu;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'biz.telephone.showCallMenu';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
ios: ios,
|
|
19
24
|
android: android
|
|
20
25
|
};
|
|
26
|
+
|
|
21
27
|
function showCallMenu(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -0,0 +1,9 @@
|
|
|
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 };
|