yach.open.jssdk 4.4.9 → 4.4.10-beta.2

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.
Files changed (116) hide show
  1. package/dist/yach_jssdk_4.3.3.js +1 -0
  2. package/es/api/biz/navigation/close.d.ts +0 -1
  3. package/es/api/biz/navigation/tencentMeeting.d.ts +0 -1
  4. package/es/api/device/notification/hidePreloader.d.ts +1 -6
  5. package/es/api/device/notification/hidePreloader.js +2 -15
  6. package/es/api/device/notification/showPreloader.d.ts +1 -10
  7. package/es/api/device/notification/showPreloader.js +2 -15
  8. package/es/index.d.ts +3 -41
  9. package/es/index.js +5 -44
  10. package/es/lib/bridge/mobile.js +20 -61
  11. package/es/lib/bridge/pc.js +8 -50
  12. package/es/lib/helper/pcIframe.d.ts +25 -8
  13. package/es/lib/helper/pcIframe.js +8 -34
  14. package/es/lib/sdk/index.js +4 -13
  15. package/es/lib/sdk/sdk.typings.d.ts +0 -2
  16. package/es/utils/console.d.ts +1 -1
  17. package/es/utils/console.js +2 -2
  18. package/es/utils/env.js +3 -7
  19. package/es/utils/index.js +1 -1
  20. package/libs/api/biz/navigation/close.d.ts +0 -1
  21. package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -1
  22. package/libs/api/device/notification/hidePreloader.d.ts +1 -6
  23. package/libs/api/device/notification/hidePreloader.js +1 -15
  24. package/libs/api/device/notification/showPreloader.d.ts +1 -10
  25. package/libs/api/device/notification/showPreloader.js +1 -15
  26. package/libs/api/initAPI.js +2 -1
  27. package/libs/index.d.ts +3 -41
  28. package/libs/index.js +25 -186
  29. package/libs/lib/bridge/mobile.js +25 -64
  30. package/libs/lib/bridge/pc.js +13 -53
  31. package/libs/lib/helper/event.js +2 -1
  32. package/libs/lib/helper/pcIframe.d.ts +25 -8
  33. package/libs/lib/helper/pcIframe.js +10 -35
  34. package/libs/lib/index.js +2 -1
  35. package/libs/lib/sdk/index.js +5 -13
  36. package/libs/lib/sdk/sdk.typings.d.ts +0 -2
  37. package/libs/lib/sdk/sdk.typings.js +1 -0
  38. package/libs/utils/compareVersions.js +8 -4
  39. package/libs/utils/console.d.ts +1 -1
  40. package/libs/utils/console.js +2 -2
  41. package/libs/utils/env.js +3 -7
  42. package/libs/utils/index.js +1 -1
  43. package/package.json +3 -1
  44. package/dist/yach_jssdk_4.4.9.js +0 -1
  45. package/es/api/biz/util/addAppToNav.d.ts +0 -9
  46. package/es/api/biz/util/addAppToNav.js +0 -23
  47. package/es/api/biz/util/copy.d.ts +0 -11
  48. package/es/api/biz/util/copy.js +0 -19
  49. package/es/api/biz/util/focus.d.ts +0 -7
  50. package/es/api/biz/util/focus.js +0 -23
  51. package/es/api/biz/util/getConfig.d.ts +0 -13
  52. package/es/api/biz/util/getConfig.js +0 -19
  53. package/es/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  54. package/es/api/biz/util/knowledgeBaseSelect.js +0 -23
  55. package/es/api/biz/util/knowledgeSelectParams.d.ts +0 -14
  56. package/es/api/biz/util/knowledgeSelectParams.js +0 -19
  57. package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
  58. package/es/api/biz/util/lorebaseRefreshNodeWebview.js +0 -19
  59. package/es/api/biz/util/lorebaseShowList.d.ts +0 -11
  60. package/es/api/biz/util/lorebaseShowList.js +0 -19
  61. package/es/api/biz/util/mediaFileUploadV2.d.ts +0 -26
  62. package/es/api/biz/util/mediaFileUploadV2.js +0 -15
  63. package/es/api/biz/util/openAudioPlayer.d.ts +0 -17
  64. package/es/api/biz/util/openAudioPlayer.js +0 -23
  65. package/es/api/biz/util/openFutureGroup.d.ts +0 -10
  66. package/es/api/biz/util/openFutureGroup.js +0 -23
  67. package/es/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
  68. package/es/api/biz/util/openMediaFileDialogV2.js +0 -16
  69. package/es/api/biz/util/openPublish.d.ts +0 -22
  70. package/es/api/biz/util/openPublish.js +0 -15
  71. package/es/api/biz/util/screen.d.ts +0 -15
  72. package/es/api/biz/util/screen.js +0 -15
  73. package/es/api/biz/util/topicEvent.d.ts +0 -13
  74. package/es/api/biz/util/topicEvent.js +0 -27
  75. package/es/api/biz/util/weeklyRead.d.ts +0 -5
  76. package/es/api/biz/util/weeklyRead.js +0 -23
  77. package/es/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
  78. package/es/api/device/connection/startNetworkChangeWatch.js +0 -23
  79. package/es/api/primary/updateTab.d.ts +0 -9
  80. package/es/api/primary/updateTab.js +0 -15
  81. package/libs/api/biz/util/addAppToNav.d.ts +0 -9
  82. package/libs/api/biz/util/addAppToNav.js +0 -30
  83. package/libs/api/biz/util/copy.d.ts +0 -11
  84. package/libs/api/biz/util/copy.js +0 -26
  85. package/libs/api/biz/util/focus.d.ts +0 -7
  86. package/libs/api/biz/util/focus.js +0 -30
  87. package/libs/api/biz/util/getConfig.d.ts +0 -13
  88. package/libs/api/biz/util/getConfig.js +0 -26
  89. package/libs/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  90. package/libs/api/biz/util/knowledgeBaseSelect.js +0 -30
  91. package/libs/api/biz/util/knowledgeSelectParams.d.ts +0 -14
  92. package/libs/api/biz/util/knowledgeSelectParams.js +0 -26
  93. package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
  94. package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +0 -26
  95. package/libs/api/biz/util/lorebaseShowList.d.ts +0 -11
  96. package/libs/api/biz/util/lorebaseShowList.js +0 -26
  97. package/libs/api/biz/util/mediaFileUploadV2.d.ts +0 -26
  98. package/libs/api/biz/util/mediaFileUploadV2.js +0 -23
  99. package/libs/api/biz/util/openAudioPlayer.d.ts +0 -17
  100. package/libs/api/biz/util/openAudioPlayer.js +0 -30
  101. package/libs/api/biz/util/openFutureGroup.d.ts +0 -10
  102. package/libs/api/biz/util/openFutureGroup.js +0 -30
  103. package/libs/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
  104. package/libs/api/biz/util/openMediaFileDialogV2.js +0 -24
  105. package/libs/api/biz/util/openPublish.d.ts +0 -22
  106. package/libs/api/biz/util/openPublish.js +0 -22
  107. package/libs/api/biz/util/screen.d.ts +0 -15
  108. package/libs/api/biz/util/screen.js +0 -22
  109. package/libs/api/biz/util/topicEvent.d.ts +0 -13
  110. package/libs/api/biz/util/topicEvent.js +0 -34
  111. package/libs/api/biz/util/weeklyRead.d.ts +0 -5
  112. package/libs/api/biz/util/weeklyRead.js +0 -30
  113. package/libs/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
  114. package/libs/api/device/connection/startNetworkChangeWatch.js +0 -30
  115. package/libs/api/primary/updateTab.d.ts +0 -9
  116. package/libs/api/primary/updateTab.js +0 -22
package/libs/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  /**util*/
2
- import { openMediaFileDialogV2 } from './api/biz/util/openMediaFileDialogV2';
3
- import { mediaFileUploadV2 } from './api/biz/util/mediaFileUploadV2';
4
2
  import { openLink } from './api/biz/util/openLink';
5
3
  import { feedback } from './api/biz/util/feedback';
6
4
  import { open } from './api/biz/util/open';
@@ -24,7 +22,6 @@ import { injectScript } from './api/biz/util/injectScript';
24
22
  import { closeWindow } from './api/biz/util/closeWindow';
25
23
  import { remind } from './api/biz/util/remind';
26
24
  import { takePicture } from './api/biz/util/takePicture';
27
- import { openAudioPlayer } from './api/biz/util/openAudioPlayer';
28
25
  import { openVideoPlayer } from './api/biz/util/openVideoPlayer';
29
26
  import { openMediaFileDialog } from './api/biz/util/openMediaFileDialog';
30
27
  import { mediaFileUpload } from './api/biz/util/mediaFileUpload';
@@ -36,7 +33,6 @@ import { authStart } from './api/biz/util/authStart';
36
33
  import { authFinish } from './api/biz/util/authFinish';
37
34
  import { assistantCreate } from './api/biz/util/assistantCreate';
38
35
  import { yachEvent } from './api/biz/util/yachEvent';
39
- import { topicEvent } from './api/biz/util/topicEvent';
40
36
  import { openTogetherEyeWebview } from './api/biz/util/openTogetherEyeWebview';
41
37
  import { getTogetherConfig } from './api/biz/util/getTogetherConfig';
42
38
  import { rouseApp } from './api/biz/util/rouseApp';
@@ -50,17 +46,7 @@ import { openUserSchedule } from './api/biz/util/openUserSchedule';
50
46
  import { onlineDocmentOpenTeamChat } from './api/biz/util/onlineDocmentOpenTeamChat';
51
47
  import { entergroupCheck } from './api/biz/util/entergroupCheck';
52
48
  import { resetSessionUnread } from './api/biz/util/resetSessionUnread';
53
- import { weeklyRead } from './api/biz/util/weeklyRead';
54
49
  import { disableScreenCapture } from './api/biz/util/disableScreenCapture';
55
- import { openFutureGroup } from './api/biz/util/openFutureGroup';
56
- import { knowledgeBaseSelect } from './api/biz/util/knowledgeBaseSelect';
57
- import { knowledgeSelectParams } from './api/biz/util/knowledgeSelectParams';
58
- import { lorebaseShowList } from './api/biz/util/lorebaseShowList';
59
- import { lorebaseRefreshNodeWebview } from './api/biz/util/lorebaseRefreshNodeWebview';
60
- import { copy } from './api/biz/util/copy';
61
- import { openPublish } from './api/biz/util/openPublish';
62
- import { getConfig } from './api/biz/util/getConfig';
63
- import { focus } from './api/biz/util/focus';
64
50
  /**navigation*/
65
51
  import { setIcon } from './api/biz/navigation/setIcon';
66
52
  import { setTitle } from './api/biz/navigation/setTitle';
@@ -90,14 +76,13 @@ import { openTeamChat } from './api/biz/chat/openTeamChat';
90
76
  import { openSquad } from './api/biz/chat/openSquad';
91
77
  import { sendP2PMsg } from './api/biz/chat/sendP2PMsg';
92
78
  import { createTab } from './api/primary/createTab';
93
- import { updateTab } from './api/primary/updateTab';
94
79
  import { weeklyShare } from './api/primary/weeklyShare';
95
80
  import { fullScreen } from './api/primary/fullScreen';
96
81
  import { exitFullScreen } from './api/primary/exitFullScreen';
97
82
  import { requestAuthCode } from './api/runtime/permission/requestAuthCode';
98
83
  /** device */
99
- import { showPreloader, showCustomOverlayContent } from './api/device/notification/showPreloader';
100
- import { hidePreloader, hideCustomOverlayContent } from './api/device/notification/hidePreloader';
84
+ import { showPreloader } from './api/device/notification/showPreloader';
85
+ import { hidePreloader } from './api/device/notification/hidePreloader';
101
86
  import { vibrate } from './api/device/notification/vibrate';
102
87
  import { toast } from './api/device/notification/toast';
103
88
  import { actionSheet } from './api/device/notification/actionSheet';
@@ -118,7 +103,6 @@ import { onPlayEnd } from './api/device/audio/onPlayEnd';
118
103
  import { resume as resumeAudio } from './api/device/audio/resume';
119
104
  import { getNetworkType } from './api/device/connection/getNetworkType';
120
105
  import { isAtTal } from './api/device/connection/isAtTal';
121
- import { startNetworkChangeWatch } from './api/device/connection/startNetworkChangeWatch';
122
106
  import { getUUID } from './api/device/base/getUUID';
123
107
  import { checkStepPermission } from './api/device/base/checkStepPermission';
124
108
  import { onRecordEnd_v2 } from './api/device/audio/onRecordEnd_v2';
@@ -138,12 +122,10 @@ import { setItem } from './api/util/domainStorage/setItem';
138
122
  import { removeItem } from './api/util/domainStorage/removeItem';
139
123
  import { writeLog } from './api/util/tool/log';
140
124
  import { flushLog } from './api/util/tool/flushLog';
141
- import { capturePage } from './api/biz/util/screen';
142
125
  import { send as webViewMessageSend } from './api/biz/webViewMessage/send';
143
126
  import { talYoungFilesUpload } from './api/app/custom/talYoungFilesUpload';
144
- import { addAppToNav } from './api/biz/util/addAppToNav';
145
127
  declare const version: string, sdkVersion: string, env: import("./lib/sdk/sdk.typings").IENV, platform: import("./lib/sdk/sdk.typings").ENV_ENUM, platformV2: import("./lib/sdk/sdk.typings").PlatformV2Props, config: (configParams: import("./lib/sdk/sdk.typings").IConfigParams) => void, ready: (readyCallback: () => void) => void, error: (callback: (err: any) => void) => void, on: (methodName: string, listener: (e: any) => void) => void, off: (methodName: string, listener: (e: any) => void) => void;
146
- export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, updateTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, showCustomOverlayContent, hidePreloader, hideCustomOverlayContent, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, startNetworkChangeWatch, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openAudioPlayer, openVideoPlayer, openMediaFileDialog, openMediaFileDialogV2, mediaFileUpload, mediaFileUploadV2, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, topicEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, weeklyRead, openFutureGroup, knowledgeBaseSelect, knowledgeSelectParams, lorebaseShowList, lorebaseRefreshNodeWebview, openPublish, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, addAppToNav, copy, capturePage, getConfig, focus, };
128
+ export { version, sdkVersion, env, platform, platformV2, config, ready, error, on, off, openLink, feedback, open, openSlidePanel, share, previewFile, previewImage, downloadFile, uploadAttachment, clipboardFileUpload, proxy, datepicker, scan, chosen, openSingleWebview, getSingleWebviewData, injectScript, closeWindow, showCallMenu, call, setIcon, setTitle, setMenu, close, replacePage, quit, setRight, setTitleExpandIcon, updateExpandTitle, setLeft, goBack, complexPicker, departmentsPicker, groupComplexPicker, chooseConversationByCorpId, pickConversation, openSingleChat, openTeamChat, openSquad, sendP2PMsg, mapView, multipointView, requestAuthCode, createTab, weeklyShare, fullScreen, exitFullScreen, showPreloader, hidePreloader, vibrate, toast, alert, confirm, getPhoneInfo, getUUID, checkStepPermission, getGeolocation, getGeolocationSwitch, getLang, startRecord, stopRecord, onRecordEnd, downloadAudio, playAudio, pauseAudio, stopAudio, onPlayEnd, resumeAudio, getNetworkType, isAtTal, webViewBounceDisable, pullToRefreshEnable, pullToRefreshStop, pullToRefreshDisable, getItem, setItem, removeItem, writeLog, flushLog, remind, takePicture, datetimepicker, actionSheet, webViewMessageSend, talYoungFilesUpload, openVideoPlayer, openMediaFileDialog, mediaFileUpload, invoice, pushWorkMsg, openTalYoungToTopic, getToken, authStart, authFinish, assistantCreate, yachEvent, openTogetherEyeWebview, getTogetherConfig, rouseApp, externalLinkPreviewFile, savePic, zfbAuth, complain, onRecordEnd_v2, startRecord_v2, stopRecord_v2, selectDepartment, setWindowBig, tencentMeeting, tencentMeetingBegin, createModifySchedule, onlineDocmentOpenTeamChat, entergroupCheck, resetSessionUnread, setLight, openUserSchedule, disableScreenCapture, setPanGestureEnable, };
147
129
  declare const _default: {
148
130
  version: string;
149
131
  sdkVersion: string;
@@ -159,7 +141,6 @@ declare const _default: {
159
141
  util: {
160
142
  openLink: typeof openLink;
161
143
  feedback: typeof feedback;
162
- focus: typeof focus;
163
144
  open: typeof open;
164
145
  openSlidePanel: typeof openSlidePanel;
165
146
  share: typeof share;
@@ -179,17 +160,12 @@ declare const _default: {
179
160
  onlineDocmentOpenTeamChat: typeof onlineDocmentOpenTeamChat;
180
161
  entergroupCheck: typeof entergroupCheck;
181
162
  resetSessionUnread: typeof resetSessionUnread;
182
- weeklyRead: typeof weeklyRead;
183
- openFutureGroup: typeof openFutureGroup;
184
163
  closeWindow: typeof closeWindow;
185
164
  remind: typeof remind;
186
165
  takePicture: typeof takePicture;
187
- openAudioPlayer: typeof openAudioPlayer;
188
166
  openVideoPlayer: typeof openVideoPlayer;
189
167
  openMediaFileDialog: typeof openMediaFileDialog;
190
- openMediaFileDialogV2: typeof openMediaFileDialogV2;
191
168
  mediaFileUpload: typeof mediaFileUpload;
192
- mediaFileUploadV2: typeof mediaFileUploadV2;
193
169
  invoice: typeof invoice;
194
170
  pushWorkMsg: typeof pushWorkMsg;
195
171
  openTalYoungToTopic: typeof openTalYoungToTopic;
@@ -198,7 +174,6 @@ declare const _default: {
198
174
  authFinish: typeof authFinish;
199
175
  assistantCreate: typeof assistantCreate;
200
176
  yachEvent: typeof yachEvent;
201
- topicEvent: typeof topicEvent;
202
177
  openTogetherEyeWebview: typeof openTogetherEyeWebview;
203
178
  getTogetherConfig: typeof getTogetherConfig;
204
179
  rouseApp: typeof rouseApp;
@@ -210,15 +185,6 @@ declare const _default: {
210
185
  createModifySchedule: typeof createModifySchedule;
211
186
  openUserSchedule: typeof openUserSchedule;
212
187
  disableScreenCapture: typeof disableScreenCapture;
213
- addAppToNav: typeof addAppToNav;
214
- knowledgeBaseSelect: typeof knowledgeBaseSelect;
215
- knowledgeSelectParams: typeof knowledgeSelectParams;
216
- lorebaseShowList: typeof lorebaseShowList;
217
- lorebaseRefreshNodeWebview: typeof lorebaseRefreshNodeWebview;
218
- copy: typeof copy;
219
- openPublish: typeof openPublish;
220
- capturePage: typeof capturePage;
221
- getConfig: typeof getConfig;
222
188
  };
223
189
  telephone: {
224
190
  showCallMenu: typeof showCallMenu;
@@ -271,7 +237,6 @@ declare const _default: {
271
237
  };
272
238
  primary: {
273
239
  createTab: typeof createTab;
274
- updateTab: typeof updateTab;
275
240
  weeklyShare: typeof weeklyShare;
276
241
  fullScreen: typeof fullScreen;
277
242
  exitFullScreen: typeof exitFullScreen;
@@ -279,9 +244,7 @@ declare const _default: {
279
244
  device: {
280
245
  notification: {
281
246
  showPreloader: typeof showPreloader;
282
- showCustomOverlayContent: typeof showCustomOverlayContent;
283
247
  hidePreloader: typeof hidePreloader;
284
- hideCustomOverlayContent: typeof hideCustomOverlayContent;
285
248
  vibrate: typeof vibrate;
286
249
  toast: typeof toast;
287
250
  alert: typeof alert;
@@ -318,7 +281,6 @@ declare const _default: {
318
281
  connection: {
319
282
  getNetworkType: typeof getNetworkType;
320
283
  isAtTal: typeof isAtTal;
321
- startNetworkChangeWatch: typeof startNetworkChangeWatch;
322
284
  };
323
285
  };
324
286
  ui: {
package/libs/index.js CHANGED
@@ -10,12 +10,6 @@ _Object$defineProperty(exports, "actionSheet", {
10
10
  return _actionSheet.actionSheet;
11
11
  }
12
12
  });
13
- _Object$defineProperty(exports, "addAppToNav", {
14
- enumerable: true,
15
- get: function get() {
16
- return _addAppToNav.addAppToNav;
17
- }
18
- });
19
13
  _Object$defineProperty(exports, "alert", {
20
14
  enumerable: true,
21
15
  get: function get() {
@@ -46,12 +40,6 @@ _Object$defineProperty(exports, "call", {
46
40
  return _call.call;
47
41
  }
48
42
  });
49
- _Object$defineProperty(exports, "capturePage", {
50
- enumerable: true,
51
- get: function get() {
52
- return _screen.capturePage;
53
- }
54
- });
55
43
  _Object$defineProperty(exports, "checkStepPermission", {
56
44
  enumerable: true,
57
45
  get: function get() {
@@ -107,12 +95,6 @@ _Object$defineProperty(exports, "confirm", {
107
95
  return _confirm.confirm;
108
96
  }
109
97
  });
110
- _Object$defineProperty(exports, "copy", {
111
- enumerable: true,
112
- get: function get() {
113
- return _copy.copy;
114
- }
115
- });
116
98
  _Object$defineProperty(exports, "createModifySchedule", {
117
99
  enumerable: true,
118
100
  get: function get() {
@@ -193,24 +175,12 @@ _Object$defineProperty(exports, "flushLog", {
193
175
  return _flushLog.flushLog;
194
176
  }
195
177
  });
196
- _Object$defineProperty(exports, "focus", {
197
- enumerable: true,
198
- get: function get() {
199
- return _focus.focus;
200
- }
201
- });
202
178
  _Object$defineProperty(exports, "fullScreen", {
203
179
  enumerable: true,
204
180
  get: function get() {
205
181
  return _fullScreen.fullScreen;
206
182
  }
207
183
  });
208
- _Object$defineProperty(exports, "getConfig", {
209
- enumerable: true,
210
- get: function get() {
211
- return _getConfig.getConfig;
212
- }
213
- });
214
184
  _Object$defineProperty(exports, "getGeolocation", {
215
185
  enumerable: true,
216
186
  get: function get() {
@@ -283,12 +253,6 @@ _Object$defineProperty(exports, "groupComplexPicker", {
283
253
  return _groupComplexPicker.groupComplexPicker;
284
254
  }
285
255
  });
286
- _Object$defineProperty(exports, "hideCustomOverlayContent", {
287
- enumerable: true,
288
- get: function get() {
289
- return _hidePreloader.hideCustomOverlayContent;
290
- }
291
- });
292
256
  _Object$defineProperty(exports, "hidePreloader", {
293
257
  enumerable: true,
294
258
  get: function get() {
@@ -313,30 +277,6 @@ _Object$defineProperty(exports, "isAtTal", {
313
277
  return _isAtTal.isAtTal;
314
278
  }
315
279
  });
316
- _Object$defineProperty(exports, "knowledgeBaseSelect", {
317
- enumerable: true,
318
- get: function get() {
319
- return _knowledgeBaseSelect.knowledgeBaseSelect;
320
- }
321
- });
322
- _Object$defineProperty(exports, "knowledgeSelectParams", {
323
- enumerable: true,
324
- get: function get() {
325
- return _knowledgeSelectParams.knowledgeSelectParams;
326
- }
327
- });
328
- _Object$defineProperty(exports, "lorebaseRefreshNodeWebview", {
329
- enumerable: true,
330
- get: function get() {
331
- return _lorebaseRefreshNodeWebview.lorebaseRefreshNodeWebview;
332
- }
333
- });
334
- _Object$defineProperty(exports, "lorebaseShowList", {
335
- enumerable: true,
336
- get: function get() {
337
- return _lorebaseShowList.lorebaseShowList;
338
- }
339
- });
340
280
  _Object$defineProperty(exports, "mapView", {
341
281
  enumerable: true,
342
282
  get: function get() {
@@ -349,12 +289,6 @@ _Object$defineProperty(exports, "mediaFileUpload", {
349
289
  return _mediaFileUpload.mediaFileUpload;
350
290
  }
351
291
  });
352
- _Object$defineProperty(exports, "mediaFileUploadV2", {
353
- enumerable: true,
354
- get: function get() {
355
- return _mediaFileUploadV.mediaFileUploadV2;
356
- }
357
- });
358
292
  _Object$defineProperty(exports, "multipointView", {
359
293
  enumerable: true,
360
294
  get: function get() {
@@ -392,18 +326,6 @@ _Object$defineProperty(exports, "open", {
392
326
  return _open.open;
393
327
  }
394
328
  });
395
- _Object$defineProperty(exports, "openAudioPlayer", {
396
- enumerable: true,
397
- get: function get() {
398
- return _openAudioPlayer.openAudioPlayer;
399
- }
400
- });
401
- _Object$defineProperty(exports, "openFutureGroup", {
402
- enumerable: true,
403
- get: function get() {
404
- return _openFutureGroup.openFutureGroup;
405
- }
406
- });
407
329
  _Object$defineProperty(exports, "openLink", {
408
330
  enumerable: true,
409
331
  get: function get() {
@@ -416,18 +338,6 @@ _Object$defineProperty(exports, "openMediaFileDialog", {
416
338
  return _openMediaFileDialog.openMediaFileDialog;
417
339
  }
418
340
  });
419
- _Object$defineProperty(exports, "openMediaFileDialogV2", {
420
- enumerable: true,
421
- get: function get() {
422
- return _openMediaFileDialogV.openMediaFileDialogV2;
423
- }
424
- });
425
- _Object$defineProperty(exports, "openPublish", {
426
- enumerable: true,
427
- get: function get() {
428
- return _openPublish.openPublish;
429
- }
430
- });
431
341
  _Object$defineProperty(exports, "openSingleChat", {
432
342
  enumerable: true,
433
343
  get: function get() {
@@ -689,24 +599,12 @@ _Object$defineProperty(exports, "showCallMenu", {
689
599
  return _showCallMenu.showCallMenu;
690
600
  }
691
601
  });
692
- _Object$defineProperty(exports, "showCustomOverlayContent", {
693
- enumerable: true,
694
- get: function get() {
695
- return _showPreloader.showCustomOverlayContent;
696
- }
697
- });
698
602
  _Object$defineProperty(exports, "showPreloader", {
699
603
  enumerable: true,
700
604
  get: function get() {
701
605
  return _showPreloader.showPreloader;
702
606
  }
703
607
  });
704
- _Object$defineProperty(exports, "startNetworkChangeWatch", {
705
- enumerable: true,
706
- get: function get() {
707
- return _startNetworkChangeWatch.startNetworkChangeWatch;
708
- }
709
- });
710
608
  _Object$defineProperty(exports, "startRecord", {
711
609
  enumerable: true,
712
610
  get: function get() {
@@ -767,24 +665,12 @@ _Object$defineProperty(exports, "toast", {
767
665
  return _toast.toast;
768
666
  }
769
667
  });
770
- _Object$defineProperty(exports, "topicEvent", {
771
- enumerable: true,
772
- get: function get() {
773
- return _topicEvent.topicEvent;
774
- }
775
- });
776
668
  _Object$defineProperty(exports, "updateExpandTitle", {
777
669
  enumerable: true,
778
670
  get: function get() {
779
671
  return _updateExpandTitle.updateExpandTitle;
780
672
  }
781
673
  });
782
- _Object$defineProperty(exports, "updateTab", {
783
- enumerable: true,
784
- get: function get() {
785
- return _updateTab.updateTab;
786
- }
787
- });
788
674
  _Object$defineProperty(exports, "uploadAttachment", {
789
675
  enumerable: true,
790
676
  get: function get() {
@@ -810,12 +696,6 @@ _Object$defineProperty(exports, "webViewMessageSend", {
810
696
  return _send.send;
811
697
  }
812
698
  });
813
- _Object$defineProperty(exports, "weeklyRead", {
814
- enumerable: true,
815
- get: function get() {
816
- return _weeklyRead.weeklyRead;
817
- }
818
- });
819
699
  _Object$defineProperty(exports, "weeklyShare", {
820
700
  enumerable: true,
821
701
  get: function get() {
@@ -841,8 +721,6 @@ _Object$defineProperty(exports, "zfbAuth", {
841
721
  }
842
722
  });
843
723
  var _lib = require("./lib");
844
- var _openMediaFileDialogV = require("./api/biz/util/openMediaFileDialogV2");
845
- var _mediaFileUploadV = require("./api/biz/util/mediaFileUploadV2");
846
724
  var _openLink = require("./api/biz/util/openLink");
847
725
  var _feedback = require("./api/biz/util/feedback");
848
726
  var _open = require("./api/biz/util/open");
@@ -866,7 +744,6 @@ var _injectScript = require("./api/biz/util/injectScript");
866
744
  var _closeWindow = require("./api/biz/util/closeWindow");
867
745
  var _remind = require("./api/biz/util/remind");
868
746
  var _takePicture = require("./api/biz/util/takePicture");
869
- var _openAudioPlayer = require("./api/biz/util/openAudioPlayer");
870
747
  var _openVideoPlayer = require("./api/biz/util/openVideoPlayer");
871
748
  var _openMediaFileDialog = require("./api/biz/util/openMediaFileDialog");
872
749
  var _mediaFileUpload = require("./api/biz/util/mediaFileUpload");
@@ -878,7 +755,6 @@ var _authStart = require("./api/biz/util/authStart");
878
755
  var _authFinish = require("./api/biz/util/authFinish");
879
756
  var _assistantCreate = require("./api/biz/util/assistantCreate");
880
757
  var _yachEvent = require("./api/biz/util/yachEvent");
881
- var _topicEvent = require("./api/biz/util/topicEvent");
882
758
  var _openTogetherEyeWebview = require("./api/biz/util/openTogetherEyeWebview");
883
759
  var _getTogetherConfig = require("./api/biz/util/getTogetherConfig");
884
760
  var _rouseApp = require("./api/biz/util/rouseApp");
@@ -892,17 +768,7 @@ var _openUserSchedule = require("./api/biz/util/openUserSchedule");
892
768
  var _onlineDocmentOpenTeamChat = require("./api/biz/util/onlineDocmentOpenTeamChat");
893
769
  var _entergroupCheck = require("./api/biz/util/entergroupCheck");
894
770
  var _resetSessionUnread = require("./api/biz/util/resetSessionUnread");
895
- var _weeklyRead = require("./api/biz/util/weeklyRead");
896
771
  var _disableScreenCapture = require("./api/biz/util/disableScreenCapture");
897
- var _openFutureGroup = require("./api/biz/util/openFutureGroup");
898
- var _knowledgeBaseSelect = require("./api/biz/util/knowledgeBaseSelect");
899
- var _knowledgeSelectParams = require("./api/biz/util/knowledgeSelectParams");
900
- var _lorebaseShowList = require("./api/biz/util/lorebaseShowList");
901
- var _lorebaseRefreshNodeWebview = require("./api/biz/util/lorebaseRefreshNodeWebview");
902
- var _copy = require("./api/biz/util/copy");
903
- var _openPublish = require("./api/biz/util/openPublish");
904
- var _getConfig = require("./api/biz/util/getConfig");
905
- var _focus = require("./api/biz/util/focus");
906
772
  var _setIcon = require("./api/biz/navigation/setIcon");
907
773
  var _setTitle = require("./api/biz/navigation/setTitle");
908
774
  var _setMenu = require("./api/biz/navigation/setMenu");
@@ -928,7 +794,6 @@ var _openTeamChat = require("./api/biz/chat/openTeamChat");
928
794
  var _openSquad = require("./api/biz/chat/openSquad");
929
795
  var _sendP2PMsg = require("./api/biz/chat/sendP2PMsg");
930
796
  var _createTab = require("./api/primary/createTab");
931
- var _updateTab = require("./api/primary/updateTab");
932
797
  var _weeklyShare = require("./api/primary/weeklyShare");
933
798
  var _fullScreen = require("./api/primary/fullScreen");
934
799
  var _exitFullScreen = require("./api/primary/exitFullScreen");
@@ -955,7 +820,6 @@ var _onPlayEnd = require("./api/device/audio/onPlayEnd");
955
820
  var _resume = require("./api/device/audio/resume");
956
821
  var _getNetworkType = require("./api/device/connection/getNetworkType");
957
822
  var _isAtTal = require("./api/device/connection/isAtTal");
958
- var _startNetworkChangeWatch = require("./api/device/connection/startNetworkChangeWatch");
959
823
  var _getUUID = require("./api/device/base/getUUID");
960
824
  var _checkStepPermission = require("./api/device/base/checkStepPermission");
961
825
  var _onRecordEnd_v = require("./api/device/audio/onRecordEnd_v2");
@@ -973,50 +837,44 @@ var _setItem = require("./api/util/domainStorage/setItem");
973
837
  var _removeItem = require("./api/util/domainStorage/removeItem");
974
838
  var _log = require("./api/util/tool/log");
975
839
  var _flushLog = require("./api/util/tool/flushLog");
976
- var _screen = require("./api/biz/util/screen");
977
840
  var _send = require("./api/biz/webViewMessage/send");
978
841
  var _talYoungFilesUpload = require("./api/app/custom/talYoungFilesUpload");
979
- var _addAppToNav = require("./api/biz/util/addAppToNav");
980
842
  /*biz*****************************/
981
843
  /**util*/
982
-
983
844
  /**navigation*/
984
-
985
845
  /**contact*/
986
-
987
846
  /** group*/
988
-
989
847
  /** chat*/
990
-
991
848
  /* primary*****************************/
992
-
993
849
  /* runtime*****************************/
994
-
995
850
  /** device */
996
-
997
851
  /** telephone */
998
-
999
852
  /** ui */
1000
-
1001
853
  // demainStorage
1002
-
1003
854
  // log
1004
-
1005
- // screen
1006
-
1007
855
  console.log('add rouseApp ------------>', _rouseApp.rouseApp);
1008
856
  var _yachSdk$exportSdk = _lib.yachSdk.exportSdk,
1009
- version = exports.version = _yachSdk$exportSdk.version,
1010
- sdkVersion = exports.sdkVersion = _yachSdk$exportSdk.sdkVersion,
1011
- env = exports.env = _yachSdk$exportSdk.env,
1012
- platform = exports.platform = _yachSdk$exportSdk.platform,
1013
- platformV2 = exports.platformV2 = _yachSdk$exportSdk.platformV2,
1014
- config = exports.config = _yachSdk$exportSdk.config,
1015
- ready = exports.ready = _yachSdk$exportSdk.ready,
1016
- error = exports.error = _yachSdk$exportSdk.error,
1017
- on = exports.on = _yachSdk$exportSdk.on,
1018
- off = exports.off = _yachSdk$exportSdk.off;
1019
- var _default = exports["default"] = {
857
+ version = _yachSdk$exportSdk.version,
858
+ sdkVersion = _yachSdk$exportSdk.sdkVersion,
859
+ env = _yachSdk$exportSdk.env,
860
+ platform = _yachSdk$exportSdk.platform,
861
+ platformV2 = _yachSdk$exportSdk.platformV2,
862
+ config = _yachSdk$exportSdk.config,
863
+ ready = _yachSdk$exportSdk.ready,
864
+ error = _yachSdk$exportSdk.error,
865
+ on = _yachSdk$exportSdk.on,
866
+ off = _yachSdk$exportSdk.off;
867
+ exports.off = off;
868
+ exports.on = on;
869
+ exports.error = error;
870
+ exports.ready = ready;
871
+ exports.config = config;
872
+ exports.platformV2 = platformV2;
873
+ exports.platform = platform;
874
+ exports.env = env;
875
+ exports.sdkVersion = sdkVersion;
876
+ exports.version = version;
877
+ var _default = {
1020
878
  version: version,
1021
879
  sdkVersion: sdkVersion,
1022
880
  env: env,
@@ -1031,7 +889,6 @@ var _default = exports["default"] = {
1031
889
  util: {
1032
890
  openLink: _openLink.openLink,
1033
891
  feedback: _feedback.feedback,
1034
- focus: _focus.focus,
1035
892
  open: _open.open,
1036
893
  openSlidePanel: _openSlidePanel.openSlidePanel,
1037
894
  share: _share.share,
@@ -1051,17 +908,12 @@ var _default = exports["default"] = {
1051
908
  onlineDocmentOpenTeamChat: _onlineDocmentOpenTeamChat.onlineDocmentOpenTeamChat,
1052
909
  entergroupCheck: _entergroupCheck.entergroupCheck,
1053
910
  resetSessionUnread: _resetSessionUnread.resetSessionUnread,
1054
- weeklyRead: _weeklyRead.weeklyRead,
1055
- openFutureGroup: _openFutureGroup.openFutureGroup,
1056
911
  closeWindow: _closeWindow.closeWindow,
1057
912
  remind: _remind.remind,
1058
913
  takePicture: _takePicture.takePicture,
1059
- openAudioPlayer: _openAudioPlayer.openAudioPlayer,
1060
914
  openVideoPlayer: _openVideoPlayer.openVideoPlayer,
1061
915
  openMediaFileDialog: _openMediaFileDialog.openMediaFileDialog,
1062
- openMediaFileDialogV2: _openMediaFileDialogV.openMediaFileDialogV2,
1063
916
  mediaFileUpload: _mediaFileUpload.mediaFileUpload,
1064
- mediaFileUploadV2: _mediaFileUploadV.mediaFileUploadV2,
1065
917
  invoice: _invoice.invoice,
1066
918
  pushWorkMsg: _pushWorkMsg.pushWorkMsg,
1067
919
  openTalYoungToTopic: _openTalYoungToTopic.openTalYoungToTopic,
@@ -1070,7 +922,6 @@ var _default = exports["default"] = {
1070
922
  authFinish: _authFinish.authFinish,
1071
923
  assistantCreate: _assistantCreate.assistantCreate,
1072
924
  yachEvent: _yachEvent.yachEvent,
1073
- topicEvent: _topicEvent.topicEvent,
1074
925
  openTogetherEyeWebview: _openTogetherEyeWebview.openTogetherEyeWebview,
1075
926
  getTogetherConfig: _getTogetherConfig.getTogetherConfig,
1076
927
  rouseApp: _rouseApp.rouseApp,
@@ -1081,16 +932,7 @@ var _default = exports["default"] = {
1081
932
  selectDepartment: _selectDepartment.selectDepartment,
1082
933
  createModifySchedule: _createModifySchedule.createModifySchedule,
1083
934
  openUserSchedule: _openUserSchedule.openUserSchedule,
1084
- disableScreenCapture: _disableScreenCapture.disableScreenCapture,
1085
- addAppToNav: _addAppToNav.addAppToNav,
1086
- knowledgeBaseSelect: _knowledgeBaseSelect.knowledgeBaseSelect,
1087
- knowledgeSelectParams: _knowledgeSelectParams.knowledgeSelectParams,
1088
- lorebaseShowList: _lorebaseShowList.lorebaseShowList,
1089
- lorebaseRefreshNodeWebview: _lorebaseRefreshNodeWebview.lorebaseRefreshNodeWebview,
1090
- copy: _copy.copy,
1091
- openPublish: _openPublish.openPublish,
1092
- capturePage: _screen.capturePage,
1093
- getConfig: _getConfig.getConfig
935
+ disableScreenCapture: _disableScreenCapture.disableScreenCapture
1094
936
  },
1095
937
  telephone: {
1096
938
  showCallMenu: _showCallMenu.showCallMenu,
@@ -1143,7 +985,6 @@ var _default = exports["default"] = {
1143
985
  },
1144
986
  primary: {
1145
987
  createTab: _createTab.createTab,
1146
- updateTab: _updateTab.updateTab,
1147
988
  weeklyShare: _weeklyShare.weeklyShare,
1148
989
  fullScreen: _fullScreen.fullScreen,
1149
990
  exitFullScreen: _exitFullScreen.exitFullScreen
@@ -1151,9 +992,7 @@ var _default = exports["default"] = {
1151
992
  device: {
1152
993
  notification: {
1153
994
  showPreloader: _showPreloader.showPreloader,
1154
- showCustomOverlayContent: _showPreloader.showCustomOverlayContent,
1155
995
  hidePreloader: _hidePreloader.hidePreloader,
1156
- hideCustomOverlayContent: _hidePreloader.hideCustomOverlayContent,
1157
996
  vibrate: _vibrate.vibrate,
1158
997
  toast: _toast.toast,
1159
998
  alert: _alert.alert,
@@ -1189,8 +1028,7 @@ var _default = exports["default"] = {
1189
1028
  },
1190
1029
  connection: {
1191
1030
  getNetworkType: _getNetworkType.getNetworkType,
1192
- isAtTal: _isAtTal.isAtTal,
1193
- startNetworkChangeWatch: _startNetworkChangeWatch.startNetworkChangeWatch
1031
+ isAtTal: _isAtTal.isAtTal
1194
1032
  }
1195
1033
  },
1196
1034
  ui: {
@@ -1219,4 +1057,5 @@ var _default = exports["default"] = {
1219
1057
  talYoungFilesUpload: _talYoungFilesUpload.talYoungFilesUpload
1220
1058
  }
1221
1059
  }
1222
- };
1060
+ };
1061
+ exports["default"] = _default;