yach.open.jssdk 4.3.7 → 4.3.8
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.8.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.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/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.js +25 -14
- package/es/lib/bridge/mobile.js +24 -8
- package/es/lib/bridge/pc.js +16 -8
- package/es/lib/helper/apiHelper.js +2 -0
- package/es/lib/helper/codeMap.js +2 -0
- package/es/lib/helper/event.js +13 -0
- package/es/lib/helper/pcIframe.js +45 -14
- package/es/lib/index.js +21 -7
- package/es/lib/sdk/index.js +35 -14
- package/es/lib/sdk/sdk.typings.js +1 -0
- package/es/utils/bpitLog.js +13 -4
- package/es/utils/compareVersions.js +50 -23
- package/es/utils/console.d.ts +1 -1
- package/es/utils/console.js +17 -2
- package/es/utils/env.js +19 -12
- package/es/utils/index.js +5 -0
- package/libs/api/app/custom/talYoungFilesUpload.js +6 -1
- package/libs/api/biz/chat/chooseConversationByCorpId.js +6 -0
- package/libs/api/biz/chat/openSingleChat.js +6 -0
- package/libs/api/biz/chat/openSquad.js +6 -0
- package/libs/api/biz/chat/openTeamChat.js +6 -0
- package/libs/api/biz/chat/pickConversation.js +6 -0
- package/libs/api/biz/chat/sendP2PMsg.js +6 -0
- package/libs/api/biz/contact/complexPicker.js +6 -0
- package/libs/api/biz/contact/departmentsPicker.js +6 -0
- package/libs/api/biz/group/groupComplexPicker.js +6 -0
- package/libs/api/biz/map/multipointView.js +6 -0
- package/libs/api/biz/map/view.js +6 -0
- package/libs/api/biz/navigation/close.js +6 -0
- package/libs/api/biz/navigation/goBack.js +6 -0
- package/libs/api/biz/navigation/quit.js +6 -0
- package/libs/api/biz/navigation/replace.js +6 -0
- package/libs/api/biz/navigation/setIcon.js +7 -0
- package/libs/api/biz/navigation/setLeft.js +7 -0
- package/libs/api/biz/navigation/setMenu.js +7 -0
- package/libs/api/biz/navigation/setPanGestureEnable.js +7 -0
- package/libs/api/biz/navigation/setRight.js +7 -0
- package/libs/api/biz/navigation/setTitle.js +6 -0
- package/libs/api/biz/navigation/setTitleExpandIcon.js +7 -0
- package/libs/api/biz/navigation/setWindowBig.js +6 -1
- package/libs/api/biz/navigation/tencentMeeting.js +6 -0
- package/libs/api/biz/navigation/tencentMeetingBegin.js +6 -0
- package/libs/api/biz/navigation/updateExpandTitle.js +6 -0
- package/libs/api/biz/telephone/call.js +6 -0
- package/libs/api/biz/telephone/showCallMenu.js +6 -0
- package/libs/api/biz/util/addAppToNav.js +6 -0
- package/libs/api/biz/util/assistantCreate.js +6 -0
- package/libs/api/biz/util/authFinish.js +6 -0
- package/libs/api/biz/util/authStart.js +6 -0
- package/libs/api/biz/util/chosen.js +6 -0
- package/libs/api/biz/util/clipboardFileUpload.js +6 -0
- package/libs/api/biz/util/closeWindow.js +6 -0
- package/libs/api/biz/util/complain.js +6 -0
- package/libs/api/biz/util/createModifySchedule.js +6 -0
- package/libs/api/biz/util/datepicker.js +6 -0
- package/libs/api/biz/util/datetimepicker.js +6 -0
- package/libs/api/biz/util/disableScreenCapture.js +6 -0
- package/libs/api/biz/util/downloadFile.js +6 -0
- package/libs/api/biz/util/entergroupCheck.js +6 -0
- package/libs/api/biz/util/externalLinkPreviewFile.js +6 -0
- package/libs/api/biz/util/feedback.js +6 -0
- package/libs/api/biz/util/getSingleWebviewData.js +6 -0
- package/libs/api/biz/util/getTogetherConfig.js +6 -0
- package/libs/api/biz/util/getToken.js +6 -0
- package/libs/api/biz/util/injectScript.js +6 -0
- package/libs/api/biz/util/invoice.js +6 -1
- package/libs/api/biz/util/mediaFileUpload.js +6 -1
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +6 -0
- package/libs/api/biz/util/open.js +6 -0
- package/libs/api/biz/util/openFutureGroup.js +6 -0
- package/libs/api/biz/util/openLink.js +6 -0
- package/libs/api/biz/util/openMediaFileDialog.js +6 -1
- package/libs/api/biz/util/openSingleWebview.js +6 -0
- package/libs/api/biz/util/openSlidePanel.js +6 -0
- package/libs/api/biz/util/openTalYoungToTopic.js +6 -1
- package/libs/api/biz/util/openTogetherEyeWebview.js +6 -0
- package/libs/api/biz/util/openUserSchedule.js +6 -0
- package/libs/api/biz/util/openVideoPlayer.js +6 -0
- package/libs/api/biz/util/previewFile.js +6 -0
- package/libs/api/biz/util/previewImage.js +6 -0
- package/libs/api/biz/util/proxy.js +6 -0
- package/libs/api/biz/util/pushWorkMsg.js +6 -1
- package/libs/api/biz/util/remind.js +6 -0
- package/libs/api/biz/util/resetSessionUnread.js +6 -0
- package/libs/api/biz/util/rouseApp.js +6 -1
- package/libs/api/biz/util/savePic.js +6 -0
- package/libs/api/biz/util/scan.js +6 -0
- package/libs/api/biz/util/selectDepartment.js +6 -0
- package/libs/api/biz/util/share.js +6 -0
- package/libs/api/biz/util/takePicture.js +6 -0
- package/libs/api/biz/util/uploadAttachment.js +6 -0
- package/libs/api/biz/util/yachEvent.js +6 -0
- package/libs/api/biz/util/zfbAuth.js +6 -0
- package/libs/api/biz/webViewMessage/send.js +6 -0
- package/libs/api/device/audio/download.js +6 -0
- package/libs/api/device/audio/onPlayEnd.js +6 -0
- package/libs/api/device/audio/onRecordEnd.js +6 -0
- package/libs/api/device/audio/onRecordEnd_v2.js +6 -0
- package/libs/api/device/audio/pause.js +6 -0
- package/libs/api/device/audio/play.js +6 -0
- package/libs/api/device/audio/resume.js +6 -0
- package/libs/api/device/audio/startRecord.js +6 -0
- package/libs/api/device/audio/startRecord_v2.js +6 -0
- package/libs/api/device/audio/stop.js +6 -0
- package/libs/api/device/audio/stopRecord.js +6 -0
- package/libs/api/device/audio/stopRecord_v2.js +6 -0
- package/libs/api/device/base/checkStepPermission.js +6 -0
- package/libs/api/device/base/getPhoneInfo.js +6 -0
- package/libs/api/device/base/getUUID.js +6 -0
- package/libs/api/device/connection/getNetworkType.js +6 -0
- package/libs/api/device/connection/isAtTal.js +8 -2
- package/libs/api/device/geolocation/get.js +6 -0
- package/libs/api/device/geolocation/getSwitch.js +6 -0
- package/libs/api/device/notification/actionSheet.js +6 -0
- package/libs/api/device/notification/alert.js +6 -0
- package/libs/api/device/notification/confirm.js +6 -0
- package/libs/api/device/notification/hidePreloader.js +6 -0
- package/libs/api/device/notification/showPreloader.js +6 -0
- package/libs/api/device/notification/toast.js +6 -0
- package/libs/api/device/notification/vibrate.js +6 -0
- package/libs/api/device/system/getLang.js +6 -0
- package/libs/api/device/system/setLight.js +6 -0
- package/libs/api/initAPI.js +13 -4
- package/libs/api/primary/createTab.js +6 -0
- package/libs/api/primary/exitFullScreen.js +6 -0
- package/libs/api/primary/fullScreen.js +6 -0
- package/libs/api/primary/weeklyShare.js +6 -0
- package/libs/api/runtime/permission/requestAuthCode.js +6 -0
- package/libs/api/ui/pullToRefresh/disable.js +6 -0
- package/libs/api/ui/pullToRefresh/enable.js +6 -0
- package/libs/api/ui/pullToRefresh/stop.js +6 -0
- package/libs/api/ui/webViewBounce/disable.js +6 -0
- package/libs/api/util/domainStorage/getItem.js +6 -0
- package/libs/api/util/domainStorage/removeItem.js +6 -0
- package/libs/api/util/domainStorage/setItem.js +6 -0
- package/libs/api/util/tool/flushLog.js +6 -0
- package/libs/api/util/tool/log.js +6 -0
- package/libs/index.js +275 -15
- package/libs/lib/bridge/index.js +7 -0
- package/libs/lib/bridge/mobile.js +45 -11
- package/libs/lib/bridge/pc.js +31 -11
- package/libs/lib/helper/apiHelper.js +6 -0
- package/libs/lib/helper/codeMap.js +6 -0
- package/libs/lib/helper/event.js +22 -1
- package/libs/lib/helper/pcIframe.js +51 -13
- package/libs/lib/index.js +32 -8
- package/libs/lib/sdk/index.js +45 -15
- package/libs/lib/sdk/sdk.typings.js +4 -0
- package/libs/utils/bpitLog.js +16 -4
- package/libs/utils/compareVersions.js +72 -27
- package/libs/utils/console.d.ts +1 -1
- package/libs/utils/console.js +18 -2
- package/libs/utils/env.js +21 -12
- package/libs/utils/index.js +13 -0
- package/package.json +1 -1
- package/dist/yach_jssdk_4.3.7.js +0 -1
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.get = get;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.geolocation.get';
|
|
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 get(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.getSwitch = getSwitch;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.geolocation.getSwitch';
|
|
11
16
|
var android = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -14,6 +19,7 @@ var android = {
|
|
|
14
19
|
var platform = {
|
|
15
20
|
android: android
|
|
16
21
|
};
|
|
22
|
+
|
|
17
23
|
function getSwitch(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.actionSheet = actionSheet;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.actionSheet';
|
|
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 actionSheet(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.alert = alert;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.alert';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -22,6 +27,7 @@ var platform = {
|
|
|
22
27
|
android: android,
|
|
23
28
|
pc: pc
|
|
24
29
|
};
|
|
30
|
+
|
|
25
31
|
function alert(params) {
|
|
26
32
|
(0, _initAPI["default"])(apiName, {
|
|
27
33
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.confirm = confirm;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.confirm';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -22,6 +27,7 @@ var platform = {
|
|
|
22
27
|
android: android,
|
|
23
28
|
pc: pc
|
|
24
29
|
};
|
|
30
|
+
|
|
25
31
|
function confirm(params) {
|
|
26
32
|
(0, _initAPI["default"])(apiName, {
|
|
27
33
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.hidePreloader = hidePreloader;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.hidePreloader';
|
|
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 hidePreloader(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.showPreloader = showPreloader;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.showPreloader';
|
|
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 showPreloader(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.toast = toast;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.toast';
|
|
16
|
+
|
|
11
17
|
function toast(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.vibrate = vibrate;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.notification.vibrate';
|
|
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 vibrate(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.getLang = getLang;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'device.system.getLang';
|
|
16
|
+
|
|
11
17
|
function getLang(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setLight = setLight;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var ios = {
|
|
11
16
|
vs: '0.0.0'
|
|
12
17
|
};
|
|
@@ -18,6 +23,7 @@ var platform = {
|
|
|
18
23
|
android: android
|
|
19
24
|
};
|
|
20
25
|
var apiName = 'device.system.setLight';
|
|
26
|
+
|
|
21
27
|
function setLight(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
package/libs/api/initAPI.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
8
|
+
|
|
7
9
|
exports["default"] = void 0;
|
|
10
|
+
|
|
8
11
|
var _lib = require("../lib");
|
|
12
|
+
|
|
9
13
|
var defaultVersion = '0.0.0';
|
|
10
14
|
var defaultPlatform = {
|
|
11
15
|
ios: {
|
|
@@ -18,12 +22,17 @@ var defaultPlatform = {
|
|
|
18
22
|
vs: defaultVersion
|
|
19
23
|
}
|
|
20
24
|
};
|
|
25
|
+
|
|
21
26
|
function initAPI(apiName, config) {
|
|
22
27
|
var _config$params = config.params,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
params = _config$params === void 0 ? {} : _config$params,
|
|
29
|
+
_config$platform = config.platform,
|
|
30
|
+
platform = _config$platform === void 0 ? defaultPlatform : _config$platform;
|
|
31
|
+
|
|
26
32
|
_lib.yachSdk.setAPI(apiName, platform);
|
|
33
|
+
|
|
27
34
|
_lib.yachSdk.invokeAPI(apiName, params);
|
|
28
35
|
}
|
|
29
|
-
|
|
36
|
+
|
|
37
|
+
var _default = initAPI;
|
|
38
|
+
exports["default"] = _default;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.createTab = createTab;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'primary.createTab';
|
|
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 createTab(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.exitFullScreen = exitFullScreen;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'primary.exitFullScreen';
|
|
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 exitFullScreen(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.fullScreen = fullScreen;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'primary.fullScreen';
|
|
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 fullScreen(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.weeklyShare = weeklyShare;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'primary.weeklyShare';
|
|
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 weeklyShare(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.requestAuthCode = requestAuthCode;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'runtime.permission.requestAuthCode';
|
|
16
|
+
|
|
11
17
|
function requestAuthCode(params) {
|
|
12
18
|
(0, _initAPI["default"])(apiName, {
|
|
13
19
|
params: params
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.disable = disable;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'ui.pullToRefresh.disable';
|
|
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 disable(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.enable = enable;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'ui.pullToRefresh.enable';
|
|
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 enable(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.stop = stop;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'ui.pullToRefresh.stop';
|
|
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 stop(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.disable = disable;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'ui.webViewBounce.disable';
|
|
11
16
|
var ios = {
|
|
12
17
|
vs: '0.0.0'
|
|
@@ -14,6 +19,7 @@ var ios = {
|
|
|
14
19
|
var platform = {
|
|
15
20
|
ios: ios
|
|
16
21
|
};
|
|
22
|
+
|
|
17
23
|
function disable(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.getItem = getItem;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'util.domainStorage.getItem';
|
|
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 getItem(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.removeItem = removeItem;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'util.domainStorage.removeItem';
|
|
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 removeItem(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.setItem = setItem;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'util.domainStorage.setItem';
|
|
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 setItem(params) {
|
|
22
28
|
(0, _initAPI["default"])(apiName, {
|
|
23
29
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.flushLog = flushLog;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'util.tool.flushLog';
|
|
11
16
|
var pc = {
|
|
12
17
|
vs: '1.7.0'
|
|
@@ -14,6 +19,7 @@ var pc = {
|
|
|
14
19
|
var platform = {
|
|
15
20
|
pc: pc
|
|
16
21
|
};
|
|
22
|
+
|
|
17
23
|
function flushLog(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
4
|
+
|
|
4
5
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
6
|
+
|
|
5
7
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
8
|
value: true
|
|
7
9
|
});
|
|
10
|
+
|
|
8
11
|
exports.writeLog = writeLog;
|
|
12
|
+
|
|
9
13
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
+
|
|
10
15
|
var apiName = 'util.tool.writeLog';
|
|
11
16
|
var pc = {
|
|
12
17
|
vs: '1.7.0'
|
|
@@ -14,6 +19,7 @@ var pc = {
|
|
|
14
19
|
var platform = {
|
|
15
20
|
pc: pc
|
|
16
21
|
};
|
|
22
|
+
|
|
17
23
|
function writeLog(params) {
|
|
18
24
|
(0, _initAPI["default"])(apiName, {
|
|
19
25
|
params: params,
|