yach.open.jssdk 4.4.1-beta9 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/yach_jssdk_4.4.1-beta6.js +1 -0
- package/es/api/app/custom/talYoungFilesUpload.js +0 -2
- package/es/api/biz/chat/chooseConversationByCorpId.js +0 -2
- package/es/api/biz/chat/openSingleChat.js +0 -2
- package/es/api/biz/chat/openSquad.js +0 -2
- package/es/api/biz/chat/openTeamChat.js +0 -2
- package/es/api/biz/chat/pickConversation.js +0 -2
- package/es/api/biz/chat/sendP2PMsg.js +0 -2
- package/es/api/biz/contact/complexPicker.js +0 -2
- package/es/api/biz/contact/departmentsPicker.js +0 -2
- package/es/api/biz/group/groupComplexPicker.js +0 -2
- package/es/api/biz/map/multipointView.js +0 -2
- package/es/api/biz/map/view.js +0 -2
- package/es/api/biz/navigation/close.js +0 -2
- package/es/api/biz/navigation/goBack.js +0 -2
- package/es/api/biz/navigation/quit.js +0 -2
- package/es/api/biz/navigation/replace.js +0 -2
- package/es/api/biz/navigation/setIcon.js +0 -2
- package/es/api/biz/navigation/setLeft.js +0 -2
- package/es/api/biz/navigation/setMenu.js +0 -2
- package/es/api/biz/navigation/setPanGestureEnable.js +0 -2
- package/es/api/biz/navigation/setRight.js +0 -2
- package/es/api/biz/navigation/setTitle.js +0 -2
- package/es/api/biz/navigation/setTitleExpandIcon.js +0 -2
- package/es/api/biz/navigation/setWindowBig.js +0 -2
- package/es/api/biz/navigation/tencentMeeting.d.ts +0 -1
- package/es/api/biz/navigation/tencentMeeting.js +0 -2
- package/es/api/biz/navigation/tencentMeetingBegin.js +0 -2
- package/es/api/biz/navigation/updateExpandTitle.js +0 -2
- package/es/api/biz/telephone/call.js +0 -2
- package/es/api/biz/telephone/showCallMenu.js +0 -2
- package/es/api/biz/util/addAppToNav.js +0 -2
- package/es/api/biz/util/assistantCreate.js +0 -2
- package/es/api/biz/util/authFinish.js +0 -2
- package/es/api/biz/util/authStart.js +0 -2
- package/es/api/biz/util/chosen.js +0 -2
- package/es/api/biz/util/clipboardFileUpload.js +0 -2
- package/es/api/biz/util/closeWindow.js +0 -2
- package/es/api/biz/util/complain.js +0 -2
- package/es/api/biz/util/copy.d.ts +11 -0
- package/es/api/biz/util/copy.js +19 -0
- package/es/api/biz/util/createModifySchedule.js +0 -2
- package/es/api/biz/util/datepicker.js +0 -2
- package/es/api/biz/util/datetimepicker.js +0 -2
- package/es/api/biz/util/disableScreenCapture.js +0 -2
- package/es/api/biz/util/downloadFile.js +0 -2
- package/es/api/biz/util/entergroupCheck.js +0 -2
- package/es/api/biz/util/externalLinkPreviewFile.js +0 -2
- package/es/api/biz/util/feedback.js +0 -2
- package/es/api/biz/util/getSingleWebviewData.js +0 -2
- package/es/api/biz/util/getTogetherConfig.js +0 -2
- package/es/api/biz/util/getToken.js +0 -2
- package/es/api/biz/util/injectScript.js +0 -2
- package/es/api/biz/util/invoice.js +0 -2
- package/es/api/biz/util/knowledgeBaseSelect.js +0 -2
- package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
- package/es/api/biz/util/lorebaseRefreshNodeWebview.js +19 -0
- package/es/api/biz/util/lorebaseShowList.d.ts +11 -0
- package/es/api/biz/util/lorebaseShowList.js +19 -0
- package/es/api/biz/util/mediaFileUpload.js +0 -2
- package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -2
- package/es/api/biz/util/open.js +0 -2
- package/es/api/biz/util/openFutureGroup.js +0 -2
- package/es/api/biz/util/openLink.js +0 -2
- package/es/api/biz/util/openMediaFileDialog.js +0 -2
- package/es/api/biz/util/openSingleWebview.js +0 -2
- package/es/api/biz/util/openSlidePanel.js +0 -2
- package/es/api/biz/util/openTalYoungToTopic.js +0 -2
- package/es/api/biz/util/openTogetherEyeWebview.js +0 -2
- package/es/api/biz/util/openUserSchedule.js +0 -2
- package/es/api/biz/util/openVideoPlayer.js +0 -2
- package/es/api/biz/util/previewFile.js +0 -2
- package/es/api/biz/util/previewImage.js +0 -2
- package/es/api/biz/util/proxy.js +0 -2
- package/es/api/biz/util/pushWorkMsg.js +0 -2
- package/es/api/biz/util/remind.js +0 -2
- package/es/api/biz/util/resetSessionUnread.js +0 -2
- package/es/api/biz/util/rouseApp.js +0 -2
- package/es/api/biz/util/savePic.js +0 -2
- package/es/api/biz/util/scan.js +0 -2
- package/es/api/biz/util/selectDepartment.js +0 -2
- package/es/api/biz/util/share.js +0 -2
- package/es/api/biz/util/takePicture.js +0 -2
- package/es/api/biz/util/uploadAttachment.js +0 -2
- package/es/api/biz/util/yachEvent.js +0 -2
- package/es/api/biz/util/zfbAuth.js +0 -2
- package/es/api/biz/webViewMessage/send.js +0 -2
- package/es/api/device/audio/download.js +0 -2
- package/es/api/device/audio/onPlayEnd.js +0 -2
- package/es/api/device/audio/onRecordEnd.js +0 -2
- package/es/api/device/audio/onRecordEnd_v2.js +0 -2
- package/es/api/device/audio/pause.js +0 -2
- package/es/api/device/audio/play.js +0 -2
- package/es/api/device/audio/resume.js +0 -2
- package/es/api/device/audio/startRecord.js +0 -2
- package/es/api/device/audio/startRecord_v2.js +0 -2
- package/es/api/device/audio/stop.js +0 -2
- package/es/api/device/audio/stopRecord.js +0 -2
- package/es/api/device/audio/stopRecord_v2.js +0 -2
- package/es/api/device/base/checkStepPermission.js +0 -2
- package/es/api/device/base/getPhoneInfo.js +0 -2
- package/es/api/device/base/getUUID.js +0 -2
- package/es/api/device/connection/getNetworkType.js +0 -2
- package/es/api/device/connection/isAtTal.js +2 -4
- package/es/api/device/geolocation/get.js +0 -2
- package/es/api/device/geolocation/getSwitch.js +0 -2
- package/es/api/device/notification/actionSheet.js +0 -2
- package/es/api/device/notification/alert.js +0 -2
- package/es/api/device/notification/confirm.js +0 -2
- package/es/api/device/notification/hidePreloader.js +0 -2
- package/es/api/device/notification/showPreloader.js +0 -2
- package/es/api/device/notification/toast.js +0 -2
- package/es/api/device/notification/vibrate.js +0 -2
- package/es/api/device/system/getLang.js +0 -2
- package/es/api/device/system/setLight.js +0 -2
- package/es/api/initAPI.js +3 -5
- package/es/api/primary/createTab.js +0 -2
- package/es/api/primary/exitFullScreen.js +0 -2
- package/es/api/primary/fullScreen.js +0 -2
- package/es/api/primary/weeklyShare.js +0 -2
- package/es/api/runtime/permission/requestAuthCode.js +0 -2
- package/es/api/ui/pullToRefresh/disable.js +0 -2
- package/es/api/ui/pullToRefresh/enable.js +0 -2
- package/es/api/ui/pullToRefresh/stop.js +0 -2
- package/es/api/ui/webViewBounce/disable.js +0 -2
- package/es/api/util/domainStorage/getItem.js +0 -2
- package/es/api/util/domainStorage/removeItem.js +0 -2
- package/es/api/util/domainStorage/setItem.js +0 -2
- package/es/api/util/tool/flushLog.js +0 -2
- package/es/api/util/tool/log.js +0 -2
- package/es/index.d.ts +7 -1
- package/es/index.js +22 -27
- package/es/lib/bridge/mobile.js +22 -27
- package/es/lib/bridge/pc.js +11 -18
- package/es/lib/helper/apiHelper.js +0 -2
- package/es/lib/helper/codeMap.js +0 -2
- package/es/lib/helper/event.js +7 -19
- package/es/lib/helper/pcIframe.js +21 -51
- package/es/lib/index.js +7 -21
- package/es/lib/sdk/index.js +16 -37
- package/es/lib/sdk/sdk.typings.js +0 -1
- package/es/utils/bpitLog.js +4 -13
- package/es/utils/compareVersions.js +26 -53
- package/es/utils/console.js +1 -17
- package/es/utils/env.js +12 -19
- package/es/utils/index.js +1 -6
- package/libs/api/app/custom/talYoungFilesUpload.js +2 -7
- package/libs/api/biz/chat/chooseConversationByCorpId.js +1 -7
- package/libs/api/biz/chat/openSingleChat.js +1 -7
- package/libs/api/biz/chat/openSquad.js +1 -7
- package/libs/api/biz/chat/openTeamChat.js +1 -7
- package/libs/api/biz/chat/pickConversation.js +1 -7
- package/libs/api/biz/chat/sendP2PMsg.js +1 -7
- package/libs/api/biz/contact/complexPicker.js +1 -7
- package/libs/api/biz/contact/departmentsPicker.js +1 -7
- package/libs/api/biz/group/groupComplexPicker.js +1 -7
- package/libs/api/biz/map/multipointView.js +1 -7
- package/libs/api/biz/map/view.js +1 -7
- package/libs/api/biz/navigation/close.js +1 -7
- package/libs/api/biz/navigation/goBack.js +1 -7
- package/libs/api/biz/navigation/quit.js +1 -7
- package/libs/api/biz/navigation/replace.js +1 -7
- package/libs/api/biz/navigation/setIcon.js +1 -8
- package/libs/api/biz/navigation/setLeft.js +1 -8
- package/libs/api/biz/navigation/setMenu.js +1 -8
- package/libs/api/biz/navigation/setPanGestureEnable.js +1 -8
- package/libs/api/biz/navigation/setRight.js +1 -8
- package/libs/api/biz/navigation/setTitle.js +1 -7
- package/libs/api/biz/navigation/setTitleExpandIcon.js +1 -8
- package/libs/api/biz/navigation/setWindowBig.js +2 -7
- package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -1
- package/libs/api/biz/navigation/tencentMeeting.js +1 -7
- package/libs/api/biz/navigation/tencentMeetingBegin.js +1 -7
- package/libs/api/biz/navigation/updateExpandTitle.js +1 -7
- package/libs/api/biz/telephone/call.js +1 -7
- package/libs/api/biz/telephone/showCallMenu.js +1 -7
- package/libs/api/biz/util/addAppToNav.js +1 -7
- package/libs/api/biz/util/assistantCreate.js +1 -7
- package/libs/api/biz/util/authFinish.js +1 -7
- package/libs/api/biz/util/authStart.js +1 -7
- package/libs/api/biz/util/chosen.js +1 -7
- package/libs/api/biz/util/clipboardFileUpload.js +2 -8
- package/libs/api/biz/util/closeWindow.js +1 -7
- package/libs/api/biz/util/complain.js +1 -7
- package/libs/api/biz/util/copy.d.ts +11 -0
- package/libs/api/biz/util/copy.js +26 -0
- package/libs/api/biz/util/createModifySchedule.js +1 -7
- package/libs/api/biz/util/datepicker.js +1 -7
- package/libs/api/biz/util/datetimepicker.js +1 -7
- package/libs/api/biz/util/disableScreenCapture.js +1 -7
- package/libs/api/biz/util/downloadFile.js +1 -7
- package/libs/api/biz/util/entergroupCheck.js +1 -7
- package/libs/api/biz/util/externalLinkPreviewFile.js +1 -7
- package/libs/api/biz/util/feedback.js +1 -7
- package/libs/api/biz/util/getSingleWebviewData.js +1 -7
- package/libs/api/biz/util/getTogetherConfig.js +1 -7
- package/libs/api/biz/util/getToken.js +1 -7
- package/libs/api/biz/util/injectScript.js +1 -7
- package/libs/api/biz/util/invoice.js +2 -7
- package/libs/api/biz/util/knowledgeBaseSelect.js +1 -7
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +11 -0
- package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +26 -0
- package/libs/api/biz/util/lorebaseShowList.d.ts +11 -0
- package/libs/api/biz/util/lorebaseShowList.js +26 -0
- package/libs/api/biz/util/mediaFileUpload.js +2 -7
- package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +1 -7
- package/libs/api/biz/util/open.js +1 -7
- package/libs/api/biz/util/openFutureGroup.js +1 -7
- package/libs/api/biz/util/openLink.js +1 -7
- package/libs/api/biz/util/openMediaFileDialog.js +2 -7
- package/libs/api/biz/util/openSingleWebview.js +1 -7
- package/libs/api/biz/util/openSlidePanel.js +1 -7
- package/libs/api/biz/util/openTalYoungToTopic.js +2 -7
- package/libs/api/biz/util/openTogetherEyeWebview.js +1 -7
- package/libs/api/biz/util/openUserSchedule.js +1 -7
- package/libs/api/biz/util/openVideoPlayer.js +1 -7
- package/libs/api/biz/util/previewFile.js +1 -7
- package/libs/api/biz/util/previewImage.js +1 -7
- package/libs/api/biz/util/proxy.js +1 -7
- package/libs/api/biz/util/pushWorkMsg.js +2 -7
- package/libs/api/biz/util/remind.js +1 -7
- package/libs/api/biz/util/resetSessionUnread.js +1 -7
- package/libs/api/biz/util/rouseApp.js +2 -7
- package/libs/api/biz/util/savePic.js +1 -7
- package/libs/api/biz/util/scan.js +1 -7
- package/libs/api/biz/util/selectDepartment.js +1 -7
- package/libs/api/biz/util/share.js +1 -7
- package/libs/api/biz/util/takePicture.js +1 -7
- package/libs/api/biz/util/uploadAttachment.js +1 -7
- package/libs/api/biz/util/yachEvent.js +1 -7
- package/libs/api/biz/util/zfbAuth.js +1 -7
- package/libs/api/biz/webViewMessage/send.js +1 -7
- package/libs/api/device/audio/download.js +1 -7
- package/libs/api/device/audio/onPlayEnd.js +1 -7
- package/libs/api/device/audio/onRecordEnd.js +1 -7
- package/libs/api/device/audio/onRecordEnd_v2.js +1 -7
- package/libs/api/device/audio/pause.js +1 -7
- package/libs/api/device/audio/play.js +1 -7
- package/libs/api/device/audio/resume.js +1 -7
- package/libs/api/device/audio/startRecord.js +1 -7
- package/libs/api/device/audio/startRecord_v2.js +1 -7
- package/libs/api/device/audio/stop.js +1 -7
- package/libs/api/device/audio/stopRecord.js +1 -7
- package/libs/api/device/audio/stopRecord_v2.js +1 -7
- package/libs/api/device/base/checkStepPermission.js +1 -7
- package/libs/api/device/base/getPhoneInfo.js +1 -7
- package/libs/api/device/base/getUUID.js +1 -7
- package/libs/api/device/connection/getNetworkType.js +1 -7
- package/libs/api/device/connection/isAtTal.js +3 -9
- package/libs/api/device/geolocation/get.js +1 -7
- package/libs/api/device/geolocation/getSwitch.js +1 -7
- package/libs/api/device/notification/actionSheet.js +1 -7
- package/libs/api/device/notification/alert.js +1 -7
- package/libs/api/device/notification/confirm.js +1 -7
- package/libs/api/device/notification/hidePreloader.js +1 -7
- package/libs/api/device/notification/showPreloader.js +1 -7
- package/libs/api/device/notification/toast.js +1 -7
- package/libs/api/device/notification/vibrate.js +1 -7
- package/libs/api/device/system/getLang.js +1 -7
- package/libs/api/device/system/setLight.js +1 -7
- package/libs/api/initAPI.js +4 -13
- package/libs/api/primary/createTab.js +1 -7
- package/libs/api/primary/exitFullScreen.js +1 -7
- package/libs/api/primary/fullScreen.js +1 -7
- package/libs/api/primary/weeklyShare.js +1 -7
- package/libs/api/runtime/permission/requestAuthCode.js +1 -7
- package/libs/api/ui/pullToRefresh/disable.js +1 -7
- package/libs/api/ui/pullToRefresh/enable.js +1 -7
- package/libs/api/ui/pullToRefresh/stop.js +1 -7
- package/libs/api/ui/webViewBounce/disable.js +1 -7
- package/libs/api/util/domainStorage/getItem.js +1 -7
- package/libs/api/util/domainStorage/removeItem.js +1 -7
- package/libs/api/util/domainStorage/setItem.js +1 -7
- package/libs/api/util/tool/flushLog.js +1 -7
- package/libs/api/util/tool/log.js +1 -7
- package/libs/index.d.ts +7 -1
- package/libs/index.js +281 -517
- package/libs/lib/bridge/index.js +6 -13
- package/libs/lib/bridge/mobile.js +26 -50
- package/libs/lib/bridge/pc.js +16 -37
- package/libs/lib/helper/apiHelper.js +1 -7
- package/libs/lib/helper/codeMap.js +1 -7
- package/libs/lib/helper/event.js +8 -28
- package/libs/lib/helper/pcIframe.js +20 -58
- package/libs/lib/index.js +9 -33
- package/libs/lib/sdk/index.js +17 -47
- package/libs/lib/sdk/sdk.typings.js +0 -4
- package/libs/utils/bpitLog.js +4 -16
- package/libs/utils/compareVersions.js +32 -77
- package/libs/utils/console.js +2 -18
- package/libs/utils/env.js +12 -21
- package/libs/utils/index.js +8 -21
- package/package.json +1 -1
- package/dist/yach_jssdk_4.4.1-beta9.js +0 -1
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.uploadAttachment = uploadAttachment;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'biz.util.uploadAttachment';
|
|
16
|
-
|
|
17
11
|
function uploadAttachment(params) {
|
|
18
12
|
(0, _initAPI["default"])(apiName, {
|
|
19
13
|
params: params
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.yachEvent = yachEvent;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'biz.util.yachEvent';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -31,7 +26,6 @@ var platform = {
|
|
|
31
26
|
* yach 公共事件,可处理不同业务类型
|
|
32
27
|
* @param params
|
|
33
28
|
*/
|
|
34
|
-
|
|
35
29
|
function yachEvent(params) {
|
|
36
30
|
(0, _initAPI["default"])(apiName, {
|
|
37
31
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.zfbAuth = zfbAuth;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'biz.util.zfbAuth';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function zfbAuth(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.send = send;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var ios = {
|
|
16
11
|
vs: '0.0.0'
|
|
17
12
|
};
|
|
@@ -19,7 +14,6 @@ var platform = {
|
|
|
19
14
|
ios: ios
|
|
20
15
|
};
|
|
21
16
|
var apiName = 'biz.webViewMessage.send';
|
|
22
|
-
|
|
23
17
|
function send(params) {
|
|
24
18
|
(0, _initAPI["default"])(apiName, {
|
|
25
19
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.download = download;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.download';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function download(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.onPlayEnd = onPlayEnd;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.onPlayEnd';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function onPlayEnd(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.onRecordEnd = onRecordEnd;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.onRecordEnd';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function onRecordEnd(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.onRecordEnd_v2 = onRecordEnd_v2;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.onRecordEnd_v2';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function onRecordEnd_v2(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.pause = pause;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.pause';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function pause(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.play = play;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.play';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function play(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.resume = resume;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.resume';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function resume(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.startRecord = startRecord;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.startRecord';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function startRecord(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.startRecord_v2 = startRecord_v2;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.startRecord_v2';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function startRecord_v2(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.stop = stop;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.stop';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function stop(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.stopRecord = stopRecord;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.stopRecord';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function stopRecord(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.stopRecord_v2 = stopRecord_v2;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.audio.stopRecord_v2';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function stopRecord_v2(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.checkStepPermission = checkStepPermission;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.base.checkStepPermission';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function checkStepPermission(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.getPhoneInfo = getPhoneInfo;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.base.getPhoneInfo';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function getPhoneInfo(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.getUUID = getUUID;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.base.getUUID';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -27,7 +22,6 @@ var platform = {
|
|
|
27
22
|
android: android,
|
|
28
23
|
pc: pc
|
|
29
24
|
};
|
|
30
|
-
|
|
31
25
|
function getUUID(params) {
|
|
32
26
|
(0, _initAPI["default"])(apiName, {
|
|
33
27
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.getNetworkType = getNetworkType;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.connection.getNetworkType';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function getNetworkType(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.isAtTal = isAtTal;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
var apiName = 'device.connection.isAtTal';
|
|
11
|
+
// const ios = {
|
|
16
12
|
// vs: '0.0.0',
|
|
17
13
|
// };
|
|
18
14
|
// const android = {
|
|
19
15
|
// vs: '0.0.0',
|
|
20
16
|
// };
|
|
21
|
-
|
|
22
17
|
var pc = {
|
|
23
18
|
vs: '0.0.0'
|
|
24
19
|
};
|
|
25
20
|
var platform = {
|
|
26
21
|
pc: pc
|
|
27
22
|
};
|
|
28
|
-
|
|
29
23
|
function isAtTal(params) {
|
|
30
24
|
(0, _initAPI["default"])(apiName, {
|
|
31
25
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.get = get;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.geolocation.get';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function get(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.getSwitch = getSwitch;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.geolocation.getSwitch';
|
|
16
11
|
var android = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -19,7 +14,6 @@ var android = {
|
|
|
19
14
|
var platform = {
|
|
20
15
|
android: android
|
|
21
16
|
};
|
|
22
|
-
|
|
23
17
|
function getSwitch(params) {
|
|
24
18
|
(0, _initAPI["default"])(apiName, {
|
|
25
19
|
params: params,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property");
|
|
6
|
-
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
7
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
|
-
|
|
11
8
|
exports.actionSheet = actionSheet;
|
|
12
|
-
|
|
13
9
|
var _initAPI = _interopRequireDefault(require("../../initAPI"));
|
|
14
|
-
|
|
15
10
|
var apiName = 'device.notification.actionSheet';
|
|
16
11
|
var ios = {
|
|
17
12
|
vs: '0.0.0'
|
|
@@ -23,7 +18,6 @@ var platform = {
|
|
|
23
18
|
ios: ios,
|
|
24
19
|
android: android
|
|
25
20
|
};
|
|
26
|
-
|
|
27
21
|
function actionSheet(params) {
|
|
28
22
|
(0, _initAPI["default"])(apiName, {
|
|
29
23
|
params: params,
|