yach.open.jssdk 4.4.11-beta.1 → 4.4.11-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 (622) hide show
  1. package/package.json +1 -1
  2. package/dist/yach_jssdk_4.4.11-beta.1.js +0 -1
  3. package/es/api/app/custom/talYoungFilesUpload.d.ts +0 -38
  4. package/es/api/app/custom/talYoungFilesUpload.js +0 -16
  5. package/es/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
  6. package/es/api/biz/chat/chooseConversationByCorpId.js +0 -8
  7. package/es/api/biz/chat/openSingleChat.d.ts +0 -10
  8. package/es/api/biz/chat/openSingleChat.js +0 -8
  9. package/es/api/biz/chat/openSquad.d.ts +0 -8
  10. package/es/api/biz/chat/openSquad.js +0 -8
  11. package/es/api/biz/chat/openTeamChat.d.ts +0 -10
  12. package/es/api/biz/chat/openTeamChat.js +0 -8
  13. package/es/api/biz/chat/pickConversation.d.ts +0 -19
  14. package/es/api/biz/chat/pickConversation.js +0 -19
  15. package/es/api/biz/chat/sendP2PMsg.d.ts +0 -10
  16. package/es/api/biz/chat/sendP2PMsg.js +0 -8
  17. package/es/api/biz/contact/complexPicker.d.ts +0 -62
  18. package/es/api/biz/contact/complexPicker.js +0 -8
  19. package/es/api/biz/contact/departmentsPicker.d.ts +0 -35
  20. package/es/api/biz/contact/departmentsPicker.js +0 -8
  21. package/es/api/biz/group/groupComplexPicker.d.ts +0 -33
  22. package/es/api/biz/group/groupComplexPicker.js +0 -8
  23. package/es/api/biz/map/multipointView.d.ts +0 -21
  24. package/es/api/biz/map/multipointView.js +0 -19
  25. package/es/api/biz/map/view.d.ts +0 -13
  26. package/es/api/biz/map/view.js +0 -19
  27. package/es/api/biz/navigation/close.d.ts +0 -8
  28. package/es/api/biz/navigation/close.js +0 -9
  29. package/es/api/biz/navigation/goBack.d.ts +0 -7
  30. package/es/api/biz/navigation/goBack.js +0 -19
  31. package/es/api/biz/navigation/quit.d.ts +0 -8
  32. package/es/api/biz/navigation/quit.js +0 -15
  33. package/es/api/biz/navigation/replace.d.ts +0 -8
  34. package/es/api/biz/navigation/replace.js +0 -8
  35. package/es/api/biz/navigation/setIcon.d.ts +0 -12
  36. package/es/api/biz/navigation/setIcon.js +0 -27
  37. package/es/api/biz/navigation/setLeft.d.ts +0 -9
  38. package/es/api/biz/navigation/setLeft.js +0 -31
  39. package/es/api/biz/navigation/setMenu.d.ts +0 -20
  40. package/es/api/biz/navigation/setMenu.js +0 -25
  41. package/es/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
  42. package/es/api/biz/navigation/setPanGestureEnable.js +0 -26
  43. package/es/api/biz/navigation/setRight.d.ts +0 -13
  44. package/es/api/biz/navigation/setRight.js +0 -31
  45. package/es/api/biz/navigation/setTitle.d.ts +0 -11
  46. package/es/api/biz/navigation/setTitle.js +0 -8
  47. package/es/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
  48. package/es/api/biz/navigation/setTitleExpandIcon.js +0 -25
  49. package/es/api/biz/navigation/setWindowBig.d.ts +0 -9
  50. package/es/api/biz/navigation/setWindowBig.js +0 -16
  51. package/es/api/biz/navigation/tencentMeeting.d.ts +0 -23
  52. package/es/api/biz/navigation/tencentMeeting.js +0 -8
  53. package/es/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
  54. package/es/api/biz/navigation/tencentMeetingBegin.js +0 -8
  55. package/es/api/biz/navigation/updateExpandTitle.d.ts +0 -8
  56. package/es/api/biz/navigation/updateExpandTitle.js +0 -8
  57. package/es/api/biz/telephone/call.d.ts +0 -9
  58. package/es/api/biz/telephone/call.js +0 -19
  59. package/es/api/biz/telephone/showCallMenu.d.ts +0 -12
  60. package/es/api/biz/telephone/showCallMenu.js +0 -19
  61. package/es/api/biz/util/addAppToNav.d.ts +0 -9
  62. package/es/api/biz/util/addAppToNav.js +0 -23
  63. package/es/api/biz/util/assistantCreate.d.ts +0 -11
  64. package/es/api/biz/util/assistantCreate.js +0 -23
  65. package/es/api/biz/util/authFinish.d.ts +0 -11
  66. package/es/api/biz/util/authFinish.js +0 -19
  67. package/es/api/biz/util/authStart.d.ts +0 -9
  68. package/es/api/biz/util/authStart.js +0 -19
  69. package/es/api/biz/util/chosen.d.ts +0 -15
  70. package/es/api/biz/util/chosen.js +0 -19
  71. package/es/api/biz/util/clipboardFileUpload.d.ts +0 -7
  72. package/es/api/biz/util/clipboardFileUpload.js +0 -8
  73. package/es/api/biz/util/closeWindow.d.ts +0 -8
  74. package/es/api/biz/util/closeWindow.js +0 -15
  75. package/es/api/biz/util/complain.d.ts +0 -12
  76. package/es/api/biz/util/complain.js +0 -8
  77. package/es/api/biz/util/copy.d.ts +0 -11
  78. package/es/api/biz/util/copy.js +0 -19
  79. package/es/api/biz/util/createModifySchedule.d.ts +0 -26
  80. package/es/api/biz/util/createModifySchedule.js +0 -15
  81. package/es/api/biz/util/datepicker.d.ts +0 -14
  82. package/es/api/biz/util/datepicker.js +0 -19
  83. package/es/api/biz/util/datetimepicker.d.ts +0 -14
  84. package/es/api/biz/util/datetimepicker.js +0 -19
  85. package/es/api/biz/util/disableScreenCapture.d.ts +0 -8
  86. package/es/api/biz/util/disableScreenCapture.js +0 -19
  87. package/es/api/biz/util/downloadFile.d.ts +0 -9
  88. package/es/api/biz/util/downloadFile.js +0 -8
  89. package/es/api/biz/util/entergroupCheck.d.ts +0 -11
  90. package/es/api/biz/util/entergroupCheck.js +0 -23
  91. package/es/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
  92. package/es/api/biz/util/externalLinkPreviewFile.js +0 -8
  93. package/es/api/biz/util/feedback.d.ts +0 -11
  94. package/es/api/biz/util/feedback.js +0 -8
  95. package/es/api/biz/util/focus.d.ts +0 -7
  96. package/es/api/biz/util/focus.js +0 -23
  97. package/es/api/biz/util/getConfig.d.ts +0 -13
  98. package/es/api/biz/util/getConfig.js +0 -19
  99. package/es/api/biz/util/getSingleWebviewData.d.ts +0 -8
  100. package/es/api/biz/util/getSingleWebviewData.js +0 -8
  101. package/es/api/biz/util/getTogetherConfig.d.ts +0 -11
  102. package/es/api/biz/util/getTogetherConfig.js +0 -23
  103. package/es/api/biz/util/getToken.d.ts +0 -11
  104. package/es/api/biz/util/getToken.js +0 -19
  105. package/es/api/biz/util/injectScript.d.ts +0 -9
  106. package/es/api/biz/util/injectScript.js +0 -8
  107. package/es/api/biz/util/invoice.d.ts +0 -12
  108. package/es/api/biz/util/invoice.js +0 -15
  109. package/es/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  110. package/es/api/biz/util/knowledgeBaseSelect.js +0 -23
  111. package/es/api/biz/util/knowledgeSelectParams.d.ts +0 -14
  112. package/es/api/biz/util/knowledgeSelectParams.js +0 -19
  113. package/es/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
  114. package/es/api/biz/util/lorebaseRefreshNodeWebview.js +0 -19
  115. package/es/api/biz/util/lorebaseShowList.d.ts +0 -11
  116. package/es/api/biz/util/lorebaseShowList.js +0 -19
  117. package/es/api/biz/util/mediaFileUpload.d.ts +0 -26
  118. package/es/api/biz/util/mediaFileUpload.js +0 -15
  119. package/es/api/biz/util/mediaFileUploadV2.d.ts +0 -26
  120. package/es/api/biz/util/mediaFileUploadV2.js +0 -15
  121. package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
  122. package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -23
  123. package/es/api/biz/util/open.d.ts +0 -9
  124. package/es/api/biz/util/open.js +0 -8
  125. package/es/api/biz/util/openAudioPlayer.d.ts +0 -17
  126. package/es/api/biz/util/openAudioPlayer.js +0 -23
  127. package/es/api/biz/util/openFutureGroup.d.ts +0 -10
  128. package/es/api/biz/util/openFutureGroup.js +0 -23
  129. package/es/api/biz/util/openLink.d.ts +0 -8
  130. package/es/api/biz/util/openLink.js +0 -8
  131. package/es/api/biz/util/openMediaFileDialog.d.ts +0 -23
  132. package/es/api/biz/util/openMediaFileDialog.js +0 -15
  133. package/es/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
  134. package/es/api/biz/util/openMediaFileDialogV2.js +0 -16
  135. package/es/api/biz/util/openPublish.d.ts +0 -22
  136. package/es/api/biz/util/openPublish.js +0 -15
  137. package/es/api/biz/util/openSingleWebview.d.ts +0 -23
  138. package/es/api/biz/util/openSingleWebview.js +0 -15
  139. package/es/api/biz/util/openSlidePanel.d.ts +0 -11
  140. package/es/api/biz/util/openSlidePanel.js +0 -15
  141. package/es/api/biz/util/openTalYoungToTopic.d.ts +0 -6
  142. package/es/api/biz/util/openTalYoungToTopic.js +0 -15
  143. package/es/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
  144. package/es/api/biz/util/openTogetherEyeWebview.js +0 -23
  145. package/es/api/biz/util/openUserSchedule.d.ts +0 -11
  146. package/es/api/biz/util/openUserSchedule.js +0 -23
  147. package/es/api/biz/util/openVideoPlayer.d.ts +0 -28
  148. package/es/api/biz/util/openVideoPlayer.js +0 -23
  149. package/es/api/biz/util/previewFile.d.ts +0 -11
  150. package/es/api/biz/util/previewFile.js +0 -8
  151. package/es/api/biz/util/previewImage.d.ts +0 -9
  152. package/es/api/biz/util/previewImage.js +0 -8
  153. package/es/api/biz/util/proxy.d.ts +0 -13
  154. package/es/api/biz/util/proxy.js +0 -8
  155. package/es/api/biz/util/pushWorkMsg.d.ts +0 -10
  156. package/es/api/biz/util/pushWorkMsg.js +0 -15
  157. package/es/api/biz/util/remind.d.ts +0 -15
  158. package/es/api/biz/util/remind.js +0 -23
  159. package/es/api/biz/util/resetSessionUnread.d.ts +0 -8
  160. package/es/api/biz/util/resetSessionUnread.js +0 -21
  161. package/es/api/biz/util/rouseApp.d.ts +0 -12
  162. package/es/api/biz/util/rouseApp.js +0 -15
  163. package/es/api/biz/util/savePic.d.ts +0 -8
  164. package/es/api/biz/util/savePic.js +0 -19
  165. package/es/api/biz/util/scan.d.ts +0 -11
  166. package/es/api/biz/util/scan.js +0 -19
  167. package/es/api/biz/util/screen.d.ts +0 -15
  168. package/es/api/biz/util/screen.js +0 -15
  169. package/es/api/biz/util/selectDepartment.d.ts +0 -9
  170. package/es/api/biz/util/selectDepartment.js +0 -8
  171. package/es/api/biz/util/share.d.ts +0 -12
  172. package/es/api/biz/util/share.js +0 -19
  173. package/es/api/biz/util/takePicture.d.ts +0 -13
  174. package/es/api/biz/util/takePicture.js +0 -8
  175. package/es/api/biz/util/topicEvent.d.ts +0 -13
  176. package/es/api/biz/util/topicEvent.js +0 -27
  177. package/es/api/biz/util/uploadAttachment.d.ts +0 -61
  178. package/es/api/biz/util/uploadAttachment.js +0 -8
  179. package/es/api/biz/util/weeklyRead.d.ts +0 -5
  180. package/es/api/biz/util/weeklyRead.js +0 -23
  181. package/es/api/biz/util/yachEvent.d.ts +0 -12
  182. package/es/api/biz/util/yachEvent.js +0 -27
  183. package/es/api/biz/util/zfbAuth.d.ts +0 -10
  184. package/es/api/biz/util/zfbAuth.js +0 -19
  185. package/es/api/biz/webViewMessage/send.d.ts +0 -7
  186. package/es/api/biz/webViewMessage/send.js +0 -15
  187. package/es/api/common.typings.d.ts +0 -9
  188. package/es/api/common.typings.js +0 -0
  189. package/es/api/device/audio/download.d.ts +0 -8
  190. package/es/api/device/audio/download.js +0 -19
  191. package/es/api/device/audio/onPlayEnd.d.ts +0 -7
  192. package/es/api/device/audio/onPlayEnd.js +0 -19
  193. package/es/api/device/audio/onRecordEnd.d.ts +0 -7
  194. package/es/api/device/audio/onRecordEnd.js +0 -19
  195. package/es/api/device/audio/onRecordEnd_v2.d.ts +0 -7
  196. package/es/api/device/audio/onRecordEnd_v2.js +0 -19
  197. package/es/api/device/audio/pause.d.ts +0 -8
  198. package/es/api/device/audio/pause.js +0 -19
  199. package/es/api/device/audio/play.d.ts +0 -8
  200. package/es/api/device/audio/play.js +0 -19
  201. package/es/api/device/audio/resume.d.ts +0 -8
  202. package/es/api/device/audio/resume.js +0 -19
  203. package/es/api/device/audio/startRecord.d.ts +0 -8
  204. package/es/api/device/audio/startRecord.js +0 -19
  205. package/es/api/device/audio/startRecord_v2.d.ts +0 -8
  206. package/es/api/device/audio/startRecord_v2.js +0 -19
  207. package/es/api/device/audio/stop.d.ts +0 -8
  208. package/es/api/device/audio/stop.js +0 -19
  209. package/es/api/device/audio/stopRecord.d.ts +0 -7
  210. package/es/api/device/audio/stopRecord.js +0 -19
  211. package/es/api/device/audio/stopRecord_v2.d.ts +0 -7
  212. package/es/api/device/audio/stopRecord_v2.js +0 -19
  213. package/es/api/device/base/checkStepPermission.d.ts +0 -8
  214. package/es/api/device/base/checkStepPermission.js +0 -19
  215. package/es/api/device/base/getPhoneInfo.d.ts +0 -16
  216. package/es/api/device/base/getPhoneInfo.js +0 -19
  217. package/es/api/device/base/getUUID.d.ts +0 -10
  218. package/es/api/device/base/getUUID.js +0 -23
  219. package/es/api/device/connection/getNetworkType.d.ts +0 -10
  220. package/es/api/device/connection/getNetworkType.js +0 -19
  221. package/es/api/device/connection/isAtTal.d.ts +0 -10
  222. package/es/api/device/connection/isAtTal.js +0 -21
  223. package/es/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
  224. package/es/api/device/connection/startNetworkChangeWatch.js +0 -23
  225. package/es/api/device/geolocation/get.d.ts +0 -42
  226. package/es/api/device/geolocation/get.js +0 -19
  227. package/es/api/device/geolocation/getSwitch.d.ts +0 -10
  228. package/es/api/device/geolocation/getSwitch.js +0 -15
  229. package/es/api/device/notification/actionSheet.d.ts +0 -21
  230. package/es/api/device/notification/actionSheet.js +0 -19
  231. package/es/api/device/notification/alert.d.ts +0 -13
  232. package/es/api/device/notification/alert.js +0 -23
  233. package/es/api/device/notification/confirm.d.ts +0 -16
  234. package/es/api/device/notification/confirm.js +0 -23
  235. package/es/api/device/notification/hidePreloader.d.ts +0 -12
  236. package/es/api/device/notification/hidePreloader.js +0 -32
  237. package/es/api/device/notification/showPreloader.d.ts +0 -18
  238. package/es/api/device/notification/showPreloader.js +0 -32
  239. package/es/api/device/notification/toast.d.ts +0 -15
  240. package/es/api/device/notification/toast.js +0 -8
  241. package/es/api/device/notification/vibrate.d.ts +0 -8
  242. package/es/api/device/notification/vibrate.js +0 -19
  243. package/es/api/device/system/getLang.d.ts +0 -10
  244. package/es/api/device/system/getLang.js +0 -8
  245. package/es/api/device/system/setLight.d.ts +0 -8
  246. package/es/api/device/system/setLight.js +0 -19
  247. package/es/api/initAPI.d.ts +0 -6
  248. package/es/api/initAPI.js +0 -22
  249. package/es/api/primary/createTab.d.ts +0 -13
  250. package/es/api/primary/createTab.js +0 -15
  251. package/es/api/primary/exitFullScreen.d.ts +0 -7
  252. package/es/api/primary/exitFullScreen.js +0 -15
  253. package/es/api/primary/fullScreen.d.ts +0 -7
  254. package/es/api/primary/fullScreen.js +0 -15
  255. package/es/api/primary/updateTab.d.ts +0 -9
  256. package/es/api/primary/updateTab.js +0 -15
  257. package/es/api/primary/weeklyShare.d.ts +0 -13
  258. package/es/api/primary/weeklyShare.js +0 -15
  259. package/es/api/private/nativeEvent.d.ts +0 -13
  260. package/es/api/private/nativeEvent.js +0 -26
  261. package/es/api/runtime/permission/requestAuthCode.d.ts +0 -12
  262. package/es/api/runtime/permission/requestAuthCode.js +0 -8
  263. package/es/api/ui/pullToRefresh/disable.d.ts +0 -7
  264. package/es/api/ui/pullToRefresh/disable.js +0 -19
  265. package/es/api/ui/pullToRefresh/enable.d.ts +0 -7
  266. package/es/api/ui/pullToRefresh/enable.js +0 -19
  267. package/es/api/ui/pullToRefresh/stop.d.ts +0 -7
  268. package/es/api/ui/pullToRefresh/stop.js +0 -19
  269. package/es/api/ui/webViewBounce/disable.d.ts +0 -7
  270. package/es/api/ui/webViewBounce/disable.js +0 -15
  271. package/es/api/util/domainStorage/getItem.d.ts +0 -12
  272. package/es/api/util/domainStorage/getItem.js +0 -19
  273. package/es/api/util/domainStorage/removeItem.d.ts +0 -9
  274. package/es/api/util/domainStorage/removeItem.js +0 -19
  275. package/es/api/util/domainStorage/setItem.d.ts +0 -11
  276. package/es/api/util/domainStorage/setItem.js +0 -19
  277. package/es/api/util/tool/flushLog.d.ts +0 -7
  278. package/es/api/util/tool/flushLog.js +0 -15
  279. package/es/api/util/tool/log.d.ts +0 -9
  280. package/es/api/util/tool/log.js +0 -15
  281. package/es/index.d.ts +0 -355
  282. package/es/index.js +0 -372
  283. package/es/lib/bridge/index.d.ts +0 -2
  284. package/es/lib/bridge/index.js +0 -2
  285. package/es/lib/bridge/mobile.d.ts +0 -13
  286. package/es/lib/bridge/mobile.js +0 -178
  287. package/es/lib/bridge/pc.d.ts +0 -4
  288. package/es/lib/bridge/pc.js +0 -86
  289. package/es/lib/helper/apiHelper.d.ts +0 -2
  290. package/es/lib/helper/apiHelper.js +0 -8
  291. package/es/lib/helper/codeMap.d.ts +0 -2
  292. package/es/lib/helper/codeMap.js +0 -6
  293. package/es/lib/helper/event.d.ts +0 -9
  294. package/es/lib/helper/event.js +0 -40
  295. package/es/lib/helper/pcIframe.d.ts +0 -27
  296. package/es/lib/helper/pcIframe.js +0 -174
  297. package/es/lib/index.d.ts +0 -4
  298. package/es/lib/index.js +0 -78
  299. package/es/lib/sdk/index.d.ts +0 -19
  300. package/es/lib/sdk/index.js +0 -169
  301. package/es/lib/sdk/sdk.typings.d.ts +0 -86
  302. package/es/lib/sdk/sdk.typings.js +0 -7
  303. package/es/utils/bpitLog.d.ts +0 -16
  304. package/es/utils/bpitLog.js +0 -62
  305. package/es/utils/compareVersions.d.ts +0 -58
  306. package/es/utils/compareVersions.js +0 -165
  307. package/es/utils/console.d.ts +0 -4
  308. package/es/utils/console.js +0 -44
  309. package/es/utils/env.d.ts +0 -3
  310. package/es/utils/env.js +0 -47
  311. package/es/utils/index.d.ts +0 -4
  312. package/es/utils/index.js +0 -20
  313. package/libs/api/app/custom/talYoungFilesUpload.d.ts +0 -38
  314. package/libs/api/app/custom/talYoungFilesUpload.js +0 -24
  315. package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
  316. package/libs/api/biz/chat/chooseConversationByCorpId.js +0 -15
  317. package/libs/api/biz/chat/openSingleChat.d.ts +0 -10
  318. package/libs/api/biz/chat/openSingleChat.js +0 -15
  319. package/libs/api/biz/chat/openSquad.d.ts +0 -8
  320. package/libs/api/biz/chat/openSquad.js +0 -15
  321. package/libs/api/biz/chat/openTeamChat.d.ts +0 -10
  322. package/libs/api/biz/chat/openTeamChat.js +0 -15
  323. package/libs/api/biz/chat/pickConversation.d.ts +0 -19
  324. package/libs/api/biz/chat/pickConversation.js +0 -26
  325. package/libs/api/biz/chat/sendP2PMsg.d.ts +0 -10
  326. package/libs/api/biz/chat/sendP2PMsg.js +0 -15
  327. package/libs/api/biz/contact/complexPicker.d.ts +0 -62
  328. package/libs/api/biz/contact/complexPicker.js +0 -15
  329. package/libs/api/biz/contact/departmentsPicker.d.ts +0 -35
  330. package/libs/api/biz/contact/departmentsPicker.js +0 -15
  331. package/libs/api/biz/group/groupComplexPicker.d.ts +0 -33
  332. package/libs/api/biz/group/groupComplexPicker.js +0 -15
  333. package/libs/api/biz/map/multipointView.d.ts +0 -21
  334. package/libs/api/biz/map/multipointView.js +0 -26
  335. package/libs/api/biz/map/view.d.ts +0 -13
  336. package/libs/api/biz/map/view.js +0 -26
  337. package/libs/api/biz/navigation/close.d.ts +0 -8
  338. package/libs/api/biz/navigation/close.js +0 -16
  339. package/libs/api/biz/navigation/goBack.d.ts +0 -7
  340. package/libs/api/biz/navigation/goBack.js +0 -26
  341. package/libs/api/biz/navigation/quit.d.ts +0 -8
  342. package/libs/api/biz/navigation/quit.js +0 -22
  343. package/libs/api/biz/navigation/replace.d.ts +0 -8
  344. package/libs/api/biz/navigation/replace.js +0 -15
  345. package/libs/api/biz/navigation/setIcon.d.ts +0 -12
  346. package/libs/api/biz/navigation/setIcon.js +0 -34
  347. package/libs/api/biz/navigation/setLeft.d.ts +0 -9
  348. package/libs/api/biz/navigation/setLeft.js +0 -38
  349. package/libs/api/biz/navigation/setMenu.d.ts +0 -20
  350. package/libs/api/biz/navigation/setMenu.js +0 -32
  351. package/libs/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
  352. package/libs/api/biz/navigation/setPanGestureEnable.js +0 -33
  353. package/libs/api/biz/navigation/setRight.d.ts +0 -13
  354. package/libs/api/biz/navigation/setRight.js +0 -38
  355. package/libs/api/biz/navigation/setTitle.d.ts +0 -11
  356. package/libs/api/biz/navigation/setTitle.js +0 -15
  357. package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
  358. package/libs/api/biz/navigation/setTitleExpandIcon.js +0 -32
  359. package/libs/api/biz/navigation/setWindowBig.d.ts +0 -9
  360. package/libs/api/biz/navigation/setWindowBig.js +0 -24
  361. package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -23
  362. package/libs/api/biz/navigation/tencentMeeting.js +0 -15
  363. package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
  364. package/libs/api/biz/navigation/tencentMeetingBegin.js +0 -15
  365. package/libs/api/biz/navigation/updateExpandTitle.d.ts +0 -8
  366. package/libs/api/biz/navigation/updateExpandTitle.js +0 -15
  367. package/libs/api/biz/telephone/call.d.ts +0 -9
  368. package/libs/api/biz/telephone/call.js +0 -26
  369. package/libs/api/biz/telephone/showCallMenu.d.ts +0 -12
  370. package/libs/api/biz/telephone/showCallMenu.js +0 -26
  371. package/libs/api/biz/util/addAppToNav.d.ts +0 -9
  372. package/libs/api/biz/util/addAppToNav.js +0 -30
  373. package/libs/api/biz/util/assistantCreate.d.ts +0 -11
  374. package/libs/api/biz/util/assistantCreate.js +0 -30
  375. package/libs/api/biz/util/authFinish.d.ts +0 -11
  376. package/libs/api/biz/util/authFinish.js +0 -26
  377. package/libs/api/biz/util/authStart.d.ts +0 -9
  378. package/libs/api/biz/util/authStart.js +0 -26
  379. package/libs/api/biz/util/chosen.d.ts +0 -15
  380. package/libs/api/biz/util/chosen.js +0 -26
  381. package/libs/api/biz/util/clipboardFileUpload.d.ts +0 -7
  382. package/libs/api/biz/util/clipboardFileUpload.js +0 -15
  383. package/libs/api/biz/util/closeWindow.d.ts +0 -8
  384. package/libs/api/biz/util/closeWindow.js +0 -22
  385. package/libs/api/biz/util/complain.d.ts +0 -12
  386. package/libs/api/biz/util/complain.js +0 -15
  387. package/libs/api/biz/util/copy.d.ts +0 -11
  388. package/libs/api/biz/util/copy.js +0 -26
  389. package/libs/api/biz/util/createModifySchedule.d.ts +0 -26
  390. package/libs/api/biz/util/createModifySchedule.js +0 -22
  391. package/libs/api/biz/util/datepicker.d.ts +0 -14
  392. package/libs/api/biz/util/datepicker.js +0 -26
  393. package/libs/api/biz/util/datetimepicker.d.ts +0 -14
  394. package/libs/api/biz/util/datetimepicker.js +0 -26
  395. package/libs/api/biz/util/disableScreenCapture.d.ts +0 -8
  396. package/libs/api/biz/util/disableScreenCapture.js +0 -26
  397. package/libs/api/biz/util/downloadFile.d.ts +0 -9
  398. package/libs/api/biz/util/downloadFile.js +0 -15
  399. package/libs/api/biz/util/entergroupCheck.d.ts +0 -11
  400. package/libs/api/biz/util/entergroupCheck.js +0 -30
  401. package/libs/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
  402. package/libs/api/biz/util/externalLinkPreviewFile.js +0 -15
  403. package/libs/api/biz/util/feedback.d.ts +0 -11
  404. package/libs/api/biz/util/feedback.js +0 -15
  405. package/libs/api/biz/util/focus.d.ts +0 -7
  406. package/libs/api/biz/util/focus.js +0 -30
  407. package/libs/api/biz/util/getConfig.d.ts +0 -13
  408. package/libs/api/biz/util/getConfig.js +0 -26
  409. package/libs/api/biz/util/getSingleWebviewData.d.ts +0 -8
  410. package/libs/api/biz/util/getSingleWebviewData.js +0 -15
  411. package/libs/api/biz/util/getTogetherConfig.d.ts +0 -11
  412. package/libs/api/biz/util/getTogetherConfig.js +0 -30
  413. package/libs/api/biz/util/getToken.d.ts +0 -11
  414. package/libs/api/biz/util/getToken.js +0 -26
  415. package/libs/api/biz/util/injectScript.d.ts +0 -9
  416. package/libs/api/biz/util/injectScript.js +0 -15
  417. package/libs/api/biz/util/invoice.d.ts +0 -12
  418. package/libs/api/biz/util/invoice.js +0 -23
  419. package/libs/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  420. package/libs/api/biz/util/knowledgeBaseSelect.js +0 -30
  421. package/libs/api/biz/util/knowledgeSelectParams.d.ts +0 -14
  422. package/libs/api/biz/util/knowledgeSelectParams.js +0 -26
  423. package/libs/api/biz/util/lorebaseRefreshNodeWebview.d.ts +0 -11
  424. package/libs/api/biz/util/lorebaseRefreshNodeWebview.js +0 -26
  425. package/libs/api/biz/util/lorebaseShowList.d.ts +0 -11
  426. package/libs/api/biz/util/lorebaseShowList.js +0 -26
  427. package/libs/api/biz/util/mediaFileUpload.d.ts +0 -26
  428. package/libs/api/biz/util/mediaFileUpload.js +0 -23
  429. package/libs/api/biz/util/mediaFileUploadV2.d.ts +0 -26
  430. package/libs/api/biz/util/mediaFileUploadV2.js +0 -23
  431. package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
  432. package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +0 -30
  433. package/libs/api/biz/util/open.d.ts +0 -9
  434. package/libs/api/biz/util/open.js +0 -15
  435. package/libs/api/biz/util/openAudioPlayer.d.ts +0 -17
  436. package/libs/api/biz/util/openAudioPlayer.js +0 -30
  437. package/libs/api/biz/util/openFutureGroup.d.ts +0 -10
  438. package/libs/api/biz/util/openFutureGroup.js +0 -30
  439. package/libs/api/biz/util/openLink.d.ts +0 -8
  440. package/libs/api/biz/util/openLink.js +0 -15
  441. package/libs/api/biz/util/openMediaFileDialog.d.ts +0 -23
  442. package/libs/api/biz/util/openMediaFileDialog.js +0 -23
  443. package/libs/api/biz/util/openMediaFileDialogV2.d.ts +0 -23
  444. package/libs/api/biz/util/openMediaFileDialogV2.js +0 -24
  445. package/libs/api/biz/util/openPublish.d.ts +0 -22
  446. package/libs/api/biz/util/openPublish.js +0 -22
  447. package/libs/api/biz/util/openSingleWebview.d.ts +0 -23
  448. package/libs/api/biz/util/openSingleWebview.js +0 -22
  449. package/libs/api/biz/util/openSlidePanel.d.ts +0 -11
  450. package/libs/api/biz/util/openSlidePanel.js +0 -22
  451. package/libs/api/biz/util/openTalYoungToTopic.d.ts +0 -6
  452. package/libs/api/biz/util/openTalYoungToTopic.js +0 -23
  453. package/libs/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
  454. package/libs/api/biz/util/openTogetherEyeWebview.js +0 -30
  455. package/libs/api/biz/util/openUserSchedule.d.ts +0 -11
  456. package/libs/api/biz/util/openUserSchedule.js +0 -30
  457. package/libs/api/biz/util/openVideoPlayer.d.ts +0 -28
  458. package/libs/api/biz/util/openVideoPlayer.js +0 -30
  459. package/libs/api/biz/util/previewFile.d.ts +0 -11
  460. package/libs/api/biz/util/previewFile.js +0 -15
  461. package/libs/api/biz/util/previewImage.d.ts +0 -9
  462. package/libs/api/biz/util/previewImage.js +0 -15
  463. package/libs/api/biz/util/proxy.d.ts +0 -13
  464. package/libs/api/biz/util/proxy.js +0 -15
  465. package/libs/api/biz/util/pushWorkMsg.d.ts +0 -10
  466. package/libs/api/biz/util/pushWorkMsg.js +0 -23
  467. package/libs/api/biz/util/remind.d.ts +0 -15
  468. package/libs/api/biz/util/remind.js +0 -30
  469. package/libs/api/biz/util/resetSessionUnread.d.ts +0 -8
  470. package/libs/api/biz/util/resetSessionUnread.js +0 -28
  471. package/libs/api/biz/util/rouseApp.d.ts +0 -12
  472. package/libs/api/biz/util/rouseApp.js +0 -23
  473. package/libs/api/biz/util/savePic.d.ts +0 -8
  474. package/libs/api/biz/util/savePic.js +0 -26
  475. package/libs/api/biz/util/scan.d.ts +0 -11
  476. package/libs/api/biz/util/scan.js +0 -26
  477. package/libs/api/biz/util/screen.d.ts +0 -15
  478. package/libs/api/biz/util/screen.js +0 -22
  479. package/libs/api/biz/util/selectDepartment.d.ts +0 -9
  480. package/libs/api/biz/util/selectDepartment.js +0 -15
  481. package/libs/api/biz/util/share.d.ts +0 -12
  482. package/libs/api/biz/util/share.js +0 -26
  483. package/libs/api/biz/util/takePicture.d.ts +0 -13
  484. package/libs/api/biz/util/takePicture.js +0 -15
  485. package/libs/api/biz/util/topicEvent.d.ts +0 -13
  486. package/libs/api/biz/util/topicEvent.js +0 -34
  487. package/libs/api/biz/util/uploadAttachment.d.ts +0 -61
  488. package/libs/api/biz/util/uploadAttachment.js +0 -15
  489. package/libs/api/biz/util/weeklyRead.d.ts +0 -5
  490. package/libs/api/biz/util/weeklyRead.js +0 -30
  491. package/libs/api/biz/util/yachEvent.d.ts +0 -12
  492. package/libs/api/biz/util/yachEvent.js +0 -34
  493. package/libs/api/biz/util/zfbAuth.d.ts +0 -10
  494. package/libs/api/biz/util/zfbAuth.js +0 -26
  495. package/libs/api/biz/webViewMessage/send.d.ts +0 -7
  496. package/libs/api/biz/webViewMessage/send.js +0 -22
  497. package/libs/api/common.typings.d.ts +0 -9
  498. package/libs/api/common.typings.js +0 -1
  499. package/libs/api/device/audio/download.d.ts +0 -8
  500. package/libs/api/device/audio/download.js +0 -26
  501. package/libs/api/device/audio/onPlayEnd.d.ts +0 -7
  502. package/libs/api/device/audio/onPlayEnd.js +0 -26
  503. package/libs/api/device/audio/onRecordEnd.d.ts +0 -7
  504. package/libs/api/device/audio/onRecordEnd.js +0 -26
  505. package/libs/api/device/audio/onRecordEnd_v2.d.ts +0 -7
  506. package/libs/api/device/audio/onRecordEnd_v2.js +0 -26
  507. package/libs/api/device/audio/pause.d.ts +0 -8
  508. package/libs/api/device/audio/pause.js +0 -26
  509. package/libs/api/device/audio/play.d.ts +0 -8
  510. package/libs/api/device/audio/play.js +0 -26
  511. package/libs/api/device/audio/resume.d.ts +0 -8
  512. package/libs/api/device/audio/resume.js +0 -26
  513. package/libs/api/device/audio/startRecord.d.ts +0 -8
  514. package/libs/api/device/audio/startRecord.js +0 -26
  515. package/libs/api/device/audio/startRecord_v2.d.ts +0 -8
  516. package/libs/api/device/audio/startRecord_v2.js +0 -26
  517. package/libs/api/device/audio/stop.d.ts +0 -8
  518. package/libs/api/device/audio/stop.js +0 -26
  519. package/libs/api/device/audio/stopRecord.d.ts +0 -7
  520. package/libs/api/device/audio/stopRecord.js +0 -26
  521. package/libs/api/device/audio/stopRecord_v2.d.ts +0 -7
  522. package/libs/api/device/audio/stopRecord_v2.js +0 -26
  523. package/libs/api/device/base/checkStepPermission.d.ts +0 -8
  524. package/libs/api/device/base/checkStepPermission.js +0 -26
  525. package/libs/api/device/base/getPhoneInfo.d.ts +0 -16
  526. package/libs/api/device/base/getPhoneInfo.js +0 -26
  527. package/libs/api/device/base/getUUID.d.ts +0 -10
  528. package/libs/api/device/base/getUUID.js +0 -30
  529. package/libs/api/device/connection/getNetworkType.d.ts +0 -10
  530. package/libs/api/device/connection/getNetworkType.js +0 -26
  531. package/libs/api/device/connection/isAtTal.d.ts +0 -10
  532. package/libs/api/device/connection/isAtTal.js +0 -28
  533. package/libs/api/device/connection/startNetworkChangeWatch.d.ts +0 -8
  534. package/libs/api/device/connection/startNetworkChangeWatch.js +0 -30
  535. package/libs/api/device/geolocation/get.d.ts +0 -42
  536. package/libs/api/device/geolocation/get.js +0 -26
  537. package/libs/api/device/geolocation/getSwitch.d.ts +0 -10
  538. package/libs/api/device/geolocation/getSwitch.js +0 -22
  539. package/libs/api/device/notification/actionSheet.d.ts +0 -21
  540. package/libs/api/device/notification/actionSheet.js +0 -26
  541. package/libs/api/device/notification/alert.d.ts +0 -13
  542. package/libs/api/device/notification/alert.js +0 -30
  543. package/libs/api/device/notification/confirm.d.ts +0 -16
  544. package/libs/api/device/notification/confirm.js +0 -30
  545. package/libs/api/device/notification/hidePreloader.d.ts +0 -12
  546. package/libs/api/device/notification/hidePreloader.js +0 -40
  547. package/libs/api/device/notification/showPreloader.d.ts +0 -18
  548. package/libs/api/device/notification/showPreloader.js +0 -40
  549. package/libs/api/device/notification/toast.d.ts +0 -15
  550. package/libs/api/device/notification/toast.js +0 -15
  551. package/libs/api/device/notification/vibrate.d.ts +0 -8
  552. package/libs/api/device/notification/vibrate.js +0 -26
  553. package/libs/api/device/system/getLang.d.ts +0 -10
  554. package/libs/api/device/system/getLang.js +0 -15
  555. package/libs/api/device/system/setLight.d.ts +0 -8
  556. package/libs/api/device/system/setLight.js +0 -26
  557. package/libs/api/initAPI.d.ts +0 -6
  558. package/libs/api/initAPI.js +0 -29
  559. package/libs/api/primary/createTab.d.ts +0 -13
  560. package/libs/api/primary/createTab.js +0 -22
  561. package/libs/api/primary/exitFullScreen.d.ts +0 -7
  562. package/libs/api/primary/exitFullScreen.js +0 -22
  563. package/libs/api/primary/fullScreen.d.ts +0 -7
  564. package/libs/api/primary/fullScreen.js +0 -22
  565. package/libs/api/primary/updateTab.d.ts +0 -9
  566. package/libs/api/primary/updateTab.js +0 -22
  567. package/libs/api/primary/weeklyShare.d.ts +0 -13
  568. package/libs/api/primary/weeklyShare.js +0 -22
  569. package/libs/api/private/nativeEvent.d.ts +0 -13
  570. package/libs/api/private/nativeEvent.js +0 -33
  571. package/libs/api/runtime/permission/requestAuthCode.d.ts +0 -12
  572. package/libs/api/runtime/permission/requestAuthCode.js +0 -15
  573. package/libs/api/ui/pullToRefresh/disable.d.ts +0 -7
  574. package/libs/api/ui/pullToRefresh/disable.js +0 -26
  575. package/libs/api/ui/pullToRefresh/enable.d.ts +0 -7
  576. package/libs/api/ui/pullToRefresh/enable.js +0 -26
  577. package/libs/api/ui/pullToRefresh/stop.d.ts +0 -7
  578. package/libs/api/ui/pullToRefresh/stop.js +0 -26
  579. package/libs/api/ui/webViewBounce/disable.d.ts +0 -7
  580. package/libs/api/ui/webViewBounce/disable.js +0 -22
  581. package/libs/api/util/domainStorage/getItem.d.ts +0 -12
  582. package/libs/api/util/domainStorage/getItem.js +0 -26
  583. package/libs/api/util/domainStorage/removeItem.d.ts +0 -9
  584. package/libs/api/util/domainStorage/removeItem.js +0 -26
  585. package/libs/api/util/domainStorage/setItem.d.ts +0 -11
  586. package/libs/api/util/domainStorage/setItem.js +0 -26
  587. package/libs/api/util/tool/flushLog.d.ts +0 -7
  588. package/libs/api/util/tool/flushLog.js +0 -22
  589. package/libs/api/util/tool/log.d.ts +0 -9
  590. package/libs/api/util/tool/log.js +0 -22
  591. package/libs/index.d.ts +0 -355
  592. package/libs/index.js +0 -1232
  593. package/libs/lib/bridge/index.d.ts +0 -2
  594. package/libs/lib/bridge/index.js +0 -32
  595. package/libs/lib/bridge/mobile.d.ts +0 -13
  596. package/libs/lib/bridge/mobile.js +0 -185
  597. package/libs/lib/bridge/pc.d.ts +0 -4
  598. package/libs/lib/bridge/pc.js +0 -93
  599. package/libs/lib/helper/apiHelper.d.ts +0 -2
  600. package/libs/lib/helper/apiHelper.js +0 -15
  601. package/libs/lib/helper/codeMap.d.ts +0 -2
  602. package/libs/lib/helper/codeMap.js +0 -13
  603. package/libs/lib/helper/event.d.ts +0 -9
  604. package/libs/lib/helper/event.js +0 -48
  605. package/libs/lib/helper/pcIframe.d.ts +0 -27
  606. package/libs/lib/helper/pcIframe.js +0 -182
  607. package/libs/lib/index.d.ts +0 -4
  608. package/libs/lib/index.js +0 -86
  609. package/libs/lib/sdk/index.d.ts +0 -19
  610. package/libs/lib/sdk/index.js +0 -177
  611. package/libs/lib/sdk/sdk.typings.d.ts +0 -86
  612. package/libs/lib/sdk/sdk.typings.js +0 -14
  613. package/libs/utils/bpitLog.d.ts +0 -16
  614. package/libs/utils/bpitLog.js +0 -69
  615. package/libs/utils/compareVersions.d.ts +0 -58
  616. package/libs/utils/compareVersions.js +0 -173
  617. package/libs/utils/console.d.ts +0 -4
  618. package/libs/utils/console.js +0 -53
  619. package/libs/utils/env.d.ts +0 -3
  620. package/libs/utils/env.js +0 -53
  621. package/libs/utils/index.d.ts +0 -4
  622. package/libs/utils/index.js +0 -51
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yach.open.jssdk",
3
- "version": "4.4.11-beta.1",
3
+ "version": "4.4.11-beta.2",
4
4
  "description": "",
5
5
  "module": "./es/index.js",
6
6
  "main": "./libs/index.js",
@@ -1 +0,0 @@
1
- window.yy=function(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(o,i,function(n){return e[n]}.bind(null,i));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=7)}([function(e,n,t){"use strict";var o=new function(){var e=this;this.on=function(n,t){if(!n||"function"!=typeof t)throw"eventName is null or handle is not a function, on fail";Array.isArray(e.eventsHandle[n])||(e.eventsHandle[n]=[]),e.eventsHandle[n].push(t)},this.off=function(n,t){if(!n)throw"eventName is null, invoke off fail";if(t){if(Array.isArray(e.eventsHandle[n])){var o=e.eventsHandle[n].indexOf(t);-1!==o&&e.eventsHandle[n].splice(o,1)}}else e.eventsHandle[n]=[]},this.execEvent=function(e,n){Array.isArray(this.eventsHandle[e])&&this.eventsHandle[e].forEach((function(e){try{e(n)}catch(e){console.error(n)}}))},this.eventsHandle={}};n.a=o},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(3);function i(e){if(e)if(e.group)if(e.project)if(e.hasOwnProperty("env"))if(e.hasOwnProperty("version")){var n=["https://es.zhiyinlou.com/log.js?"];n.push("group="+e.group),n.push("&project="+e.project),n.push("&env="+e.env),n.push("&version="+e.version),n.push("&method="+e.method),e.yachid&&n.push("&yachid="+e.yachid),e.workcode&&n.push("&workcode="+e.workcode),e.timestamp&&n.push("&timestamp="+e.timestamp),e.errorcode&&n.push("&errorcode="+e.errorcode),e.message&&n.push("&message="+e.message),e.api&&e.time&&(n.push("&api="+e.api),n.push("&load_time="+e.time));var t,o,i=n.join("");t=i,(o=document.createElement("script")).type="text/javascript",o.readyState?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,document.getElementsByTagName("head")[0].removeChild(o))}:o.onload=function(){document.getElementsByTagName("head")[0].removeChild(o)},o.src=t,document.getElementsByTagName("head")[0].appendChild(o),"online"!=e.env&&console.log(i)}else console.log("bpit error: need options.version");else console.log("bpit error: need options.env");else console.log("bpit error: need options.project");else console.log("bpit error: need options.group");else console.log("bpit error: need options")}var r=function(){return(r=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function a(e){var n=Object(o.a)().env,t=Object(o.a)().version,a=Date.now(),s=r({group:"yach",project:"yach_31_jssdk",env:n,version:t,timestamp:a},e);console.log("jssdk 项目 bpit 上报数据:",s),i(s)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o={log:function(){},warn:function(){},error:function(){}};if("undefined"!=typeof window&&window.console&&(o=window.console),"undefined"!=typeof document&&document.body){var i=document.createElement("iframe");i&&i.contentWindow&&i.contentWindow.console&&(i.style.display="none",document.body.appendChild(i),o=i.contentWindow.console)}var r=o.log.bind(o),a=(o.warn.bind(o),o.error.bind(o),"color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;");function s(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return r("%c Yach-jssdk log: ",a,e)}},function(e,n,t){"use strict";var o;function i(){var e="undefined"!=typeof navigator?navigator.userAgent:"",n=/Yach/i.test(e),t=/iPhone|iPad|iPod|iOS/i.test(e)&&n,i=/Android/i.test(e)&&n,r=/YachPc/i.test(e),a=/iPad/i.test(e)&&n,s=/iPhone/i.test(e)&&n,c=/Yachtest/.test(e)&&n,u=/HarmonyOSNext/i.test(e)&&n,d=o.notInYach;return t&&(d=o.ios),i&&(d=o.android),r&&(d=o.pc),{platform:d,platformV2:{inYach:n,inIOS:t,inAndroid:i,inPC:r,inIpad:a,inIPhone:s,inHarmonyNext:u},version:((e.match(/Yach\/[a-zA-Z0-9.-]+/)||[])[0]||"").split("/")[1]||"",language:"undefined"!=typeof navigator?navigator.language:"*",env:c?"test":"online"}}t.d(n,"a",(function(){return i})),function(e){e.pc="pc",e.android="android",e.ios="ios",e.notInYach="notInYach"}(o||(o={}))},function(e,n,t){"use strict";(function(e){var o=t(2),i=t(0),r=function(e,n,t){var o=this;this.genid=function(){var e=Date.now().toString(36);return e+=Math.random().toString(36).substr(3)},this.receiveResponse=function(e){o.callback(e)},this.getPayload=function(){return{msgId:o.id,methodName:o.methodName,moduleId:o.moduleId,body:o.plainMsg,type:"request",invokeType:o.invokeType}},this.id=this.genid(),this.PromiseObj={resolve:null,reject:null},this.methodName=e,this.plainMsg=n,this.invokeType=null==n?void 0:n.invokeType,this.moduleId=null==n?void 0:n.moduleId,this.callback=t},a=new function(){var n=this;this.addPending=function(e){n.pendingMsgs[e.id]=e},this.deletePending=function(e){delete n.pendingMsgs[e.id]},this.getPending=function(e){return this.pendingMsgs[e]},this.invokeAPIInBrowserView=function(e){window.sendTo(e)},this.invokeAPIInWebview=function(e){window.sendToHost(e)},this.invokeAPIInModuleFederation=function(e){window.remoteSendToHost(e)},this.invokeAPI=function(e,t,o){var i;if("moduleFederation"===n.invokeType){t.invokeType=n.invokeType,t.moduleId=n.moduleId,i=new r(e,t,o);var a=JSON.stringify(i.getPayload());n.invokeAPIInModuleFederation(a)}else{i=new r(e,t,o),a=JSON.stringify(i.getPayload());var s=t.invokeType;"browserView"===(void 0===s?"":s)?n.invokeAPIInBrowserView(a):n.invokeAPIInWebview(a)}return n.addPending(i),i},this.handleCallback=function(e,t){var o=e.type,r=e.methodName,a=e.eventName,s=e.msgId,c=e.data,u=void 0===c?{}:c,d=e.code,l=e.message,p=e.msg;if("request"===o)switch(r){case"refresh":window.location.reload();break;case"back":window.history.back();break;case"forward":window.history.forward();break;case"event":i.a.execEvent(a,u);break;case"zoomInClick":var f=document.documentElement.scrollTop||document.body.scrollTop,v=window.location.href;"browserView"===t?window.sendTo(JSON.stringify({type:o,methodName:r,body:{scrollTopVal:f,url:v,title:u&&u.title}})):window.sendToHost(JSON.stringify({type:o,methodName:r,body:{scrollTopVal:f,url:v,title:u&&u.title}}))}else if("response"===o){var m=n.getPending(s);m&&m.receiveResponse({data:u,code:d,message:l||p||u.msg||u.message}),-3!=d&&n.deletePending(s)}},this.init=function(){var e;"moduleFederation"!==n.invokeType?(window.addEventListener("message",(function(e){Object(o.a)("electron res: ",e),n.handleCallback(e.data||{})})),window.receiveBrowserViewData&&window.receiveBrowserViewData((function(e,t){return n.handleCallback(t)}))):null===(e=window.remoteReceiveFromHost)||void 0===e||e.call(window,(function(e){n.handleCallback(e)}),n.moduleId)},this.pendingMsgs={},this.invokeType=window.remoteSendToHost&&window.remoteReceiveFromHost&&e?"moduleFederation":"",this.moduleId=Math.random().toString(36).substring(2,15)};n.a=a}).call(this,t(6))},function(e){e.exports=JSON.parse('{"name":"yach.open.jssdk","version":"4.4.11-beta.1","description":"","module":"./es/index.js","main":"./libs/index.js","files":["es","libs","dist"],"sideEffects":false,"scripts":{"start":"yach del es && tsc -w","build":"node ./tools/run compile","lint":"eslint \'src/**/*.{js,ts}\'","lint-fix":"eslint --fix \'src/**/*.{js,ts}\'","async":"npm run build && yalc push","watch":"nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,scss,less --debug -x \'npm run async\'","p:beta":"npm publish --tag=beta --access public","p":"npm publish"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3"},"authors":[{"name":"ostwind","email":"9837438@qq.com"}],"license":"ISC","devDependencies":{"@babel/core":"^7.10.2","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-transform-runtime":"^7.10.1","@babel/preset-env":"^7.9.5","@types/node":"^13.9.8","@typescript-eslint/eslint-plugin":"^2.25.0","@typescript-eslint/parser":"^2.25.0","babel-loader":"^8.1.0","colorful":"^2.1.0","commander":"^5.1.0","dingtalk-jsapi":"^2.10.2","eslint":"^6.8.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-concat":"^2.6.1","gulp-typescript":"^6.0.0-alpha.1","gulp-uglify":"^3.0.2","gulp-umd":"^2.0.0","gulp-util":"^3.0.8","lint-staged":"^10.0.9","npm-cli-login":"1.0.0","prettier":"^2.0.2","qiao.ext.cos":"^0.1.2","ts-loader":"^7.0.1","typescript":"^3.9.7","webpack":"^4.43.0","webpack-cli":"^3.3.11","webpack-merge":"^4.2.2","yach.open.cli":"^1.0.1"}}')},function(e,n){var t,o,i=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{o="function"==typeof clearTimeout?clearTimeout:a}catch(e){o=a}}();var c,u=[],d=!1,l=-1;function p(){d&&c&&(d=!1,c.length?u=c.concat(u):l=-1,u.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var n=u.length;n;){for(c=u,u=[];++l<n;)c&&c[l].run();l=-1,n=u.length}c=null,d=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===a||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(n){try{return o.call(null,e)}catch(n){return o.call(this,e)}}}(e)}}function v(e,n){this.fun=e,this.array=n}function m(){}i.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];u.push(new v(e,n)),1!==u.length||d||s(f)},v.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,n,t){"use strict";t.r(n),t.d(n,"version",(function(){return ui})),t.d(n,"sdkVersion",(function(){return di})),t.d(n,"env",(function(){return li})),t.d(n,"platform",(function(){return pi})),t.d(n,"platformV2",(function(){return fi})),t.d(n,"config",(function(){return vi})),t.d(n,"ready",(function(){return mi})),t.d(n,"error",(function(){return hi})),t.d(n,"on",(function(){return gi})),t.d(n,"off",(function(){return bi})),t.d(n,"openLink",(function(){return A})),t.d(n,"feedback",(function(){return D})),t.d(n,"open",(function(){return V})),t.d(n,"openSlidePanel",(function(){return W})),t.d(n,"share",(function(){return N})),t.d(n,"previewFile",(function(){return _})),t.d(n,"previewImage",(function(){return L})),t.d(n,"downloadFile",(function(){return H})),t.d(n,"uploadAttachment",(function(){return U})),t.d(n,"clipboardFileUpload",(function(){return J})),t.d(n,"proxy",(function(){return Y})),t.d(n,"datepicker",(function(){return G})),t.d(n,"scan",(function(){return Z})),t.d(n,"chosen",(function(){return ie})),t.d(n,"openSingleWebview",(function(){return ae})),t.d(n,"getSingleWebviewData",(function(){return se})),t.d(n,"injectScript",(function(){return ce})),t.d(n,"closeWindow",(function(){return de})),t.d(n,"showCallMenu",(function(){return Eo})),t.d(n,"call",(function(){return Do})),t.d(n,"setIcon",(function(){return Fn})),t.d(n,"setTitle",(function(){return jn})),t.d(n,"setMenu",(function(){return An})),t.d(n,"close",(function(){return Dn})),t.d(n,"replacePage",(function(){return Vn})),t.d(n,"quit",(function(){return Wn})),t.d(n,"setRight",(function(){return _n})),t.d(n,"setTitleExpandIcon",(function(){return Un})),t.d(n,"updateExpandTitle",(function(){return Jn})),t.d(n,"setLeft",(function(){return Gn})),t.d(n,"goBack",(function(){return $n})),t.d(n,"complexPicker",(function(){return it})),t.d(n,"departmentsPicker",(function(){return rt})),t.d(n,"groupComplexPicker",(function(){return at})),t.d(n,"chooseConversationByCorpId",(function(){return st})),t.d(n,"pickConversation",(function(){return ut})),t.d(n,"openSingleChat",(function(){return dt})),t.d(n,"openTeamChat",(function(){return lt})),t.d(n,"openSquad",(function(){return pt})),t.d(n,"sendP2PMsg",(function(){return ft})),t.d(n,"mapView",(function(){return ee})),t.d(n,"multipointView",(function(){return te})),t.d(n,"requestAuthCode",(function(){return Tt})),t.d(n,"createTab",(function(){return mt})),t.d(n,"updateTab",(function(){return gt})),t.d(n,"weeklyShare",(function(){return wt})),t.d(n,"fullScreen",(function(){return kt})),t.d(n,"exitFullScreen",(function(){return St})),t.d(n,"showPreloader",(function(){return It})),t.d(n,"showCustomOverlayContent",(function(){return Mt})),t.d(n,"hidePreloader",(function(){return jt})),t.d(n,"hideCustomOverlayContent",(function(){return Ot})),t.d(n,"vibrate",(function(){return At})),t.d(n,"toast",(function(){return Dt})),t.d(n,"alert",(function(){return _t})),t.d(n,"confirm",(function(){return Ht})),t.d(n,"getPhoneInfo",(function(){return Bt})),t.d(n,"getUUID",(function(){return ko})),t.d(n,"checkStepPermission",(function(){return So})),t.d(n,"getGeolocation",(function(){return Jt})),t.d(n,"getGeolocationSwitch",(function(){return qt})),t.d(n,"getLang",(function(){return Gt})),t.d(n,"startRecord",(function(){return $t})),t.d(n,"stopRecord",(function(){return Zt})),t.d(n,"onRecordEnd",(function(){return eo})),t.d(n,"downloadAudio",(function(){return to})),t.d(n,"playAudio",(function(){return io})),t.d(n,"pauseAudio",(function(){return ao})),t.d(n,"stopAudio",(function(){return co})),t.d(n,"onPlayEnd",(function(){return lo})),t.d(n,"resumeAudio",(function(){return fo})),t.d(n,"getNetworkType",(function(){return mo})),t.d(n,"isAtTal",(function(){return go})),t.d(n,"startNetworkChangeWatch",(function(){return wo})),t.d(n,"webViewBounceDisable",(function(){return Ro})),t.d(n,"pullToRefreshEnable",(function(){return Bo})),t.d(n,"pullToRefreshStop",(function(){return _o})),t.d(n,"pullToRefreshDisable",(function(){return Ho})),t.d(n,"getItem",(function(){return Jo})),t.d(n,"setItem",(function(){return qo})),t.d(n,"removeItem",(function(){return Ko})),t.d(n,"writeLog",(function(){return Xo})),t.d(n,"flushLog",(function(){return Qo})),t.d(n,"remind",(function(){return pe})),t.d(n,"takePicture",(function(){return fe})),t.d(n,"datetimepicker",(function(){return $})),t.d(n,"actionSheet",(function(){return Rt})),t.d(n,"webViewMessageSend",(function(){return ii})),t.d(n,"talYoungFilesUpload",(function(){return ri})),t.d(n,"openAudioPlayer",(function(){return me})),t.d(n,"openVideoPlayer",(function(){return ge})),t.d(n,"openMediaFileDialog",(function(){return be})),t.d(n,"openMediaFileDialogV2",(function(){return O})),t.d(n,"mediaFileUpload",(function(){return we})),t.d(n,"mediaFileUploadV2",(function(){return E})),t.d(n,"invoice",(function(){return ye})),t.d(n,"pushWorkMsg",(function(){return ke})),t.d(n,"openTalYoungToTopic",(function(){return Pe})),t.d(n,"getToken",(function(){return Te})),t.d(n,"authStart",(function(){return Ce})),t.d(n,"authFinish",(function(){return Me})),t.d(n,"assistantCreate",(function(){return Fe})),t.d(n,"yachEvent",(function(){return Oe})),t.d(n,"topicEvent",(function(){return Ae})),t.d(n,"openTogetherEyeWebview",(function(){return Ve})),t.d(n,"getTogetherConfig",(function(){return We})),t.d(n,"rouseApp",(function(){return Be})),t.d(n,"externalLinkPreviewFile",(function(){return Ne})),t.d(n,"savePic",(function(){return Ue})),t.d(n,"zfbAuth",(function(){return Le})),t.d(n,"complain",(function(){return Je})),t.d(n,"onRecordEnd_v2",(function(){return zo})),t.d(n,"startRecord_v2",(function(){return Io})),t.d(n,"stopRecord_v2",(function(){return xo})),t.d(n,"selectDepartment",(function(){return Ye})),t.d(n,"setWindowBig",(function(){return Zn})),t.d(n,"tencentMeeting",(function(){return Qn})),t.d(n,"tencentMeetingBegin",(function(){return et})),t.d(n,"createModifySchedule",(function(){return Ge})),t.d(n,"onlineDocmentOpenTeamChat",(function(){return Ze})),t.d(n,"entergroupCheck",(function(){return en})),t.d(n,"resetSessionUnread",(function(){return tn})),t.d(n,"weeklyRead",(function(){return rn})),t.d(n,"openFutureGroup",(function(){return un})),t.d(n,"knowledgeBaseSelect",(function(){return ln})),t.d(n,"knowledgeSelectParams",(function(){return fn})),t.d(n,"lorebaseShowList",(function(){return mn})),t.d(n,"lorebaseRefreshNodeWebview",(function(){return gn})),t.d(n,"openPublish",(function(){return kn})),t.d(n,"setLight",(function(){return jo})),t.d(n,"openUserSchedule",(function(){return $e})),t.d(n,"disableScreenCapture",(function(){return sn})),t.d(n,"setPanGestureEnable",(function(){return ot})),t.d(n,"addAppToNav",(function(){return si})),t.d(n,"copy",(function(){return wn})),t.d(n,"capturePage",(function(){return ti})),t.d(n,"getConfig",(function(){return Sn})),t.d(n,"focus",(function(){return zn})),t.d(n,"nativeEvent",(function(){return ei}));var o=t(3),i=t(1),r=t(2),a=function(e,n){var t=c(e),o=c(n),i=t.pop(),r=o.pop(),a=p(t,o);return 0!==a?a:i&&r?p(i.split("."),r.split(".")):i||r?i?-1:1:0},s=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,c=function(e){if("string"!=typeof e)throw new TypeError("Invalid argument expected string");var n=e.match(s);if(!n)throw new Error("Invalid argument not valid semver ('"+e+"' received)");return n.shift(),n},u=function(e){return"*"===e||"x"===e||"X"===e},d=function(e){var n=parseInt(e,10);return isNaN(n)?e:n},l=function(e,n){if(u(e)||u(n))return 0;var t=function(e,n){return typeof e!=typeof n?[String(e),String(n)]:[e,n]}(d(e),d(n)),o=t[0],i=t[1];return o>i?1:o<i?-1:0},p=function(e,n){for(var t=0;t<Math.max(e.length,n.length);t++){var o=l(e[t]||"0",n[t]||"0");if(0!==o)return o}return 0},f={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},v=(Object.keys(f),t(5)),m=function(){function e(e){var n=this;this.invokeAPIConfigMapByMethod={},this.configJsApiList=[],this.platformConfigMap={},this.hadConfig=!1,this.bridgeInitFnPromise=null,this.cacheP={},this.config$=new Promise((function(e,t){n.cacheP.resolve=e,n.cacheP.reject=t})),this.env=e,this.exportSdk={version:e.version,sdkVersion:v.version,env:e,platform:e.platform,platformV2:e.platformV2,config:function(e){void 0===e&&(e={});var t=e.jsApiList,o=void 0===t?[]:t;n.hadConfig?console.log("Config has been executed"):n.bridgeInitFn().then((function(t){t("config",e).then((function(e){n.cacheP.resolve(e),n.hadConfig=!0,n.configJsApiList=o})).catch((function(e){n.cacheP.reject(e)}))}))},ready:function(e){n.bridgeInitFn().then((function(){e()}))},error:function(e){n.config$.catch((function(n){e(n)}))},on:function(t,o){n.bridgeInitFn().then((function(){n.platformConfigMap[e.platform].event.on(t,o)}))},off:function(t,o){n.bridgeInitFn().then((function(){n.platformConfigMap[e.platform].event.off(t,o)}))}}}return e.prototype.setAPI=function(e,n){this.invokeAPIConfigMapByMethod[e]=n},e.prototype.setPlatform=function(e){var n=e.platform;e.bridgeInit;this.platformConfigMap[n]=e},e.prototype.bridgeInitFn=function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var e=this.platformConfigMap[this.env.platform];if(e)this.bridgeInitFnPromise=e.bridgeInit();else{var n="Do not support the current environment�"+this.env.platform;this.bridgeInitFnPromise=Promise.reject(new Error(n))}return this.bridgeInitFnPromise},e.prototype._onFail=function(e,n,t,o){Object(i.a)({method:e,errorcode:n,message:t}),o&&"function"==typeof o&&o({code:n,message:t})},e.prototype.invokeAPI=function(e,n){if(n||(n={}),e){var t=this.invokeAPIConfigMapByMethod[e];if(!t)return this._onFail(e,"-1","["+e+"] method is not exist",n.onFail);var o=t[this.env.platform];if(o){var i=o.vs||"0.0.0";if(a(this.env.version,i)<0)return this._onFail(e,"-1","The current application version is "+this.env.version+". This method does not support versions less than "+i,n.onFail);var s=o.paramsDeal?o.paramsDeal(n):n;if("function"==typeof s.onSuccess){var c=s.onSuccess;s.onSuccess=function(e){c(e)}}this.bridgeInitFn().then((function(n){n(e,s).then((function(n){Object(r.a)("SDK 返回结果成功 ",{method:e,params:s,result:n})})).catch((function(n){Object(r.a)("SDK 返回结果失败",{method:e,params:s,error:n})}))})).catch((function(e){console.log("wenai err",e)}))}else this._onFail(e,"-1","["+e+"] method do not support the current platform ("+this.env.platform+")",n.onFail)}},e}(),h=t(4),g=new Map([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function b(e){return g.get(e)||"onFail"}var w=function(){return(w=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)},y=function(e,n){return new Promise((function(t,o){return h.a.invokeAPI(e,n,(function(a){var s=a.data,c=a.code,u=a.message,d=parseInt(c),l=b(d),p=n[l];if(Object(r.a)("SDK执行后回调,相关参数 ",{method:e,param:n,data:s,_code:d,message:u,callbackFun:p}),"onFail"!==l)"function"==typeof p&&p(s||u),t({_code:d,message:u,data:s});else{if(Object(i.a)({method:e,errorcode:d,message:u||JSON.stringify(s)||"SDK执行失败回调,相关参数"}),"function"==typeof p){console.log("wenai-code",c,d);var f="[object Object]"===Object.prototype.toString.call(s)?w(w({},s),{code:c,message:u}):{data:s,code:c,message:u};p(u?f:s)}o({_code:d,message:u,data:s})}}))}))},k=t(0),P=function(){return(P=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function S(e){if(window.WebViewJavascriptBridge)return e(WebViewJavascriptBridge);if(window.WKWebViewJavascriptBridge)return e(WKWebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(e);window.WVJBCallbacks=[e];var n=document.createElement("iframe");n.style.display="none",n.src="https://__bridge_loaded__",document.documentElement.appendChild(n),setTimeout((function(){document.documentElement.removeChild(n)}),0)}var T=function(e,n){return new Promise((function(t,o){var a=P({},n);S((function(s){n.control&&s.registerHandler(e,(function(e){var o=n.onSuccess;delete a.onSuccess,"function"==typeof o&&(o(e),t({code:"0",message:"success"}))})),s.callHandler(e,n,(function(s){var c=s.code,u=s.message,d=s.data,l=parseInt(c),p=b(l),f=a[p];if(Object(r.a)("SDK执行后回调,相关参数 ",{method:e,param:n,data:d,_code:l,message:u,callbackFun:f}),"onFail"===p)return Object(i.a)({method:e,errorcode:l,message:u||JSON.stringify(d)||"SDK执行失败回调,相关参数"}),"function"==typeof f&&f(u?{code:c,message:u}:d),void o({_code:l,message:u,data:d});"function"==typeof f&&f(d||u),t({_code:l,message:u,data:d})}))}))}))},z=function(e,n,t,o){return new(t||(t=Promise))((function(i,r){function a(e){try{c(o.next(e))}catch(e){r(e)}}function s(e){try{c(o.throw(e))}catch(e){r(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(a,s)}c((o=o.apply(e,n||[])).next())}))},C=function(e,n){var t,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=n.call(e,a)}catch(e){r=[6,e],o=0}finally{t=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}},I=Object(o.a)(),M=I.platform,x=new m(I);!function(){var e=this,n={platform:M,authMethod:"config",bridgeInit:"pc"===M?function(){return z(e,void 0,void 0,(function(){return C(this,(function(e){return h.a.init(),[2,y]}))}))}:function(){return new Promise((function(e,n){S((function(n){Object(r.a)("注册resume事件 "),n.registerHandler("resume",(function(e){Object(r.a)("resume监听到回调,相关参数 ",{resData:e}),k.a.execEvent("resume",e)})),Object(r.a)("注册unreadMsgAction事件 "),n.registerHandler("unreadMsgAction",(function(e){Object(r.a)("unreadMsgAction监听到回调,相关参数 ",{resData:e}),k.a.execEvent("unreadMsgAction",e)})),Object(r.a)("注册webViewMsgReceive事件 "),n.registerHandler("webViewMsgReceive",(function(e){Object(r.a)("webViewMsgReceive监听到回调,相关参数 ",{resData:e}),k.a.execEvent("webViewMsgReceive",e)})),n.registerHandler("pushWorkMsg",(function(e){Object(r.a)("pushWorkMsg监听到回调,相关参数 ",{resData:e}),k.a.execEvent("pushWorkMsg",e)})),n.registerHandler("getTogetherCallback",(function(e){Object(r.a)("getTogetherCallback监听到回调,相关参数 ",{resData:e}),k.a.execEvent("getTogetherCallback",e)})),n.registerHandler("sendMsgCommon",(function(e){Object(r.a)("sendMsgCommon ",{resData:e}),k.a.execEvent("sendMsgCommon",e)})),n.registerHandler("toolbarClickEvent",(function(e,n){Object(r.a)("toolbarClickEvent ",{resData:e});var t={data:e,callback:n};k.a.execEvent("toolbarClickEvent",t)})),e()}))})).then((function(){return T}))},event:{on:function(e,n){k.a.on(e,n)},off:function(e,n){k.a.off(e,n)}}};x.setPlatform(n)}();var F={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};var j=function(e,n){var t=n.params,o=void 0===t?{}:t,i=n.platform,r=void 0===i?F:i;x.setAPI(e,r),x.invokeAPI(e,o)};function O(e){j("biz.util.openMediaFileDialogV2",{params:e})}function E(e){j("biz.util.mediaFileUploadV2",{params:e})}function A(e){j("biz.util.openLink",{params:e})}function D(e){j("biz.util.feedback",{params:e})}function V(e){j("biz.util.open",{params:e})}var R={pc:{vs:"0.0.0"}};function W(e){j("biz.util.openSlidePanel",{params:e,platform:R})}var B={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function N(e){j("biz.util.share",{params:e,platform:B})}function _(e){j("biz.util.previewFile",{params:e})}function L(e){j("biz.util.previewImage",{params:e})}function H(e){j("biz.util.downloadFile",{params:e})}function U(e){j("biz.util.uploadAttachment",{params:e})}function J(e){j("biz.util.clipboardFileUpload",{params:e})}function Y(e){j("biz.util.proxy",{params:e})}var q={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function G(e){j("biz.util.datepicker",{params:e,platform:q})}var K={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function $(e){j("biz.util.datetimepicker",{params:e,platform:K})}var X={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Z(e){j("biz.util.scan",{params:e,platform:X})}var Q={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ee(e){j("biz.map.view",{params:e,platform:Q})}var ne={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function te(e){j("biz.map.multipointView",{params:e,platform:ne})}var oe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ie(e){j("biz.util.chosen",{params:e,platform:oe})}var re={pc:{vs:"0.0.0"}};function ae(e){j("biz.util.openSingleWebview",{params:e,platform:re})}function se(e){j("biz.util.getSingleWebviewData",{params:e})}function ce(e){j("biz.util.injectScript",{params:e})}var ue={pc:{vs:"0.0.0"}};function de(e){j("biz.util.closeWindow",{params:e,platform:ue})}var le={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function pe(e){j("biz.util.remind",{params:e,platform:le})}function fe(e){j("biz.util.takePicture",{params:e})}var ve={pc:{vs:"1.9.17"},ios:{vs:"1.9.13"},android:{vs:"1.9.13"}};function me(e){j("biz.util.openAudioPlayer",{params:e,platform:ve})}var he={pc:{vs:"0.0.0"},ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ge(e){j("biz.util.openVideoPlayer",{params:e,platform:he})}function be(e){j("biz.util.openMediaFileDialog",{params:e})}function we(e){j("biz.util.mediaFileUpload",{params:e})}function ye(e){j("biz.util.invoice",{params:e})}function ke(e){j("biz.util.pushWorkMsg",{params:e})}function Pe(e){j("biz.util.openTalYoungToTopic",{params:e})}var Se={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Te(e){j("biz.util.getToken",{params:e,platform:Se})}var ze={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ce(e){j("biz.util.authStart",{params:e,platform:ze})}var Ie={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Me(e){j("biz.util.authFinish",{params:e,platform:Ie})}var xe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Fe(e){j("biz.util.assistantCreate",{params:e,platform:xe})}var je={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Oe(e){j("biz.util.yachEvent",{params:e,platform:je})}var Ee={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Ae(e){j("biz.util.topicEvent",{params:e,platform:Ee})}var De={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Ve(e){j("biz.util.openTogetherEyeWebview",{params:e,platform:De})}var Re={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function We(e){j("biz.util.getTogetherConfig",{params:e,platform:Re})}function Be(e){j("biz.util.rouseApp",{params:e})}function Ne(e){j("biz.util.externalLinkPreviewFile",{params:e})}var _e={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Le(e){j("biz.util.zfbAuth",{params:e,platform:_e})}var He={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ue(e){j("biz.util.savePic",{params:e,platform:He})}function Je(e){j("biz.util.complain",{params:e})}function Ye(e){j("biz.util.selectDepartment",{params:e})}var qe={pc:{vs:"0.0.0"}};function Ge(e){j("biz.util.createModifySchedule",{params:e,platform:qe})}var Ke={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function $e(e){j("biz.util.openUserSchedule",{params:e,platform:Ke})}var Xe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Ze(e){j("onlineDocmentOpenTeamChat",{params:e,platform:Xe})}var Qe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.0"}};function en(e){j("biz.util.entergroupCheck",{params:e,platform:Qe})}var nn={pc:{vs:"1.8.0"}};function tn(e){j("biz.util.resetSessionUnread",{params:e,platform:nn})}var on={pc:{vs:"1.9.3.1"},ios:{vs:"1.9.3.1"},android:{vs:"1.9.3.1"}};function rn(e){j("biz.util.weeklyRead",{params:e,platform:on})}var an={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function sn(e){j("biz.util.disableScreenCapture",{params:e,platform:an})}var cn={pc:{vs:"1.8.8"},ios:{vs:"1.8.8"},android:{vs:"1.8.8"}};function un(e){j("biz.util.openFutureGroup",{params:e,platform:cn})}var dn={pc:{vs:"1.8.8"},ios:{vs:"1.9.12"},android:{vs:"1.9.12"}};function ln(e){j("biz.util.knowledgeBaseSelect",{params:e,platform:dn})}var pn={ios:{vs:"1.9.12"},android:{vs:"1.9.12"}};function fn(e){j("biz.util.knowledgeSelectParams",{params:e,platform:pn})}var vn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function mn(e){j("biz.util.lorebaseShowList",{params:e,platform:vn})}var hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function gn(e){j("biz.util.lorebaseRefreshNodeWebview",{params:e,platform:hn})}var bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function wn(e){j("biz.util.copy",{params:e,platform:bn})}var yn={pc:{vs:"1.8.8"}};function kn(e){j("biz.util.openPublish",{params:e,platform:yn})}var Pn={ios:{vs:"1.9.12"},android:{vs:"1.9.12"}};function Sn(e){j("biz.util.getConfig",{params:e,platform:Pn})}var Tn={pc:{vs:"1.9.13"},ios:{vs:"1.9.13"},android:{vs:"1.9.13"}};function zn(e){j("biz.util.focus",{params:e,platform:Tn})}var Cn=function(){return(Cn=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function In(e){return function(n){return Cn(Cn({},e),n)}}var Mn=In({control:!0,showIcon:!0,iconIndex:1}),xn={ios:{vs:"0.0.0",paramsDeal:Mn},android:{vs:"0.0.0",paramsDeal:Mn}};function Fn(e){j("biz.navigation.setIcon",{params:e,platform:xn})}function jn(e){j("biz.navigation.setTitle",{params:e})}var On=In({control:!0}),En={ios:{vs:"0.0.0",paramsDeal:On},android:{vs:"0.0.0",paramsDeal:On}};function An(e){j("biz.navigation.setMenu",{params:e,platform:En})}function Dn(e){j("biz.navigation.close",{params:e})}function Vn(e){j("biz.navigation.replace",{params:e})}var Rn={pc:{vs:"0.0.0"}};function Wn(e){j("biz.navigation.quit",{params:e,platform:Rn})}var Bn=In({show:!0,control:!1,text:""}),Nn={ios:{vs:"0.0.0",paramsDeal:Bn},android:{vs:"0.0.0",paramsDeal:Bn},pc:{vs:"0.0.0"}};function _n(e){j("biz.navigation.setRight",{params:e,platform:Nn})}var Ln=In({control:!0}),Hn={ios:{vs:"0.0.0",paramsDeal:Ln},android:{vs:"0.0.0",paramsDeal:Ln}};function Un(e){j("biz.navigation.setTitleExpandIcon",{params:e,platform:Hn})}function Jn(e){j("biz.navigation.updateExpandTitle",{params:e})}var Yn=In({show:!0,control:!1,text:""}),qn={ios:{vs:"0.0.0",paramsDeal:Yn},android:{vs:"0.0.0",paramsDeal:Yn},pc:{vs:"0.0.0"}};function Gn(e){j("biz.navigation.setLeft",{params:e,platform:qn})}var Kn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function $n(e){j("biz.navigation.goBack",{params:e,platform:Kn})}var Xn={pc:{vs:"0.0.0"}};function Zn(e){j("biz.navigation.setWindowBig",{params:e,platform:Xn})}function Qn(e){j("biz.navigation.tencentMeeting",{params:e})}function et(e){j("biz.navigation.tencentMeetingBegin",{params:e})}var nt=In({nativePanEnable:!0,webPanEnable:!0}),tt={ios:{vs:"0.0.0",paramsDeal:nt},android:{vs:"0.0.0",paramsDeal:nt}};function ot(e){j("biz.navigation.setPanGestureEnable",{params:e,platform:tt})}function it(e){j("biz.contact.complexPicker",{params:e})}function rt(e){j("biz.contact.departmentsPicker",{params:e})}function at(e){j("biz.group.groupComplexPicker",{params:e})}function st(e){j("biz.chat.chooseConversationByCorpId",{params:e})}var ct={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ut(e){j("biz.chat.pickConversation",{params:e,platform:ct})}function dt(e){j("biz.chat.openSingleChat",{params:e})}function lt(e){j("biz.chat.openTeamChat",{params:e})}function pt(e){j("biz.chat.openSquad",{params:e})}function ft(e){j("biz.chat.sendP2PMsg",{params:e})}var vt={pc:{vs:"0.0.0"}};function mt(e){j("primary.createTab",{params:e,platform:vt})}var ht={pc:{vs:"1.9.12"}};function gt(e){j("primary.updateTab",{params:e,platform:ht})}var bt={pc:{vs:"0.0.0"}};function wt(e){j("primary.weeklyShare",{params:e,platform:bt})}var yt={pc:{vs:"0.0.0"}};function kt(e){j("primary.fullScreen",{params:e,platform:yt})}var Pt={pc:{vs:"0.0.0"}};function St(e){j("primary.exitFullScreen",{params:e,platform:Pt})}function Tt(e){j("runtime.permission.requestAuthCode",{params:e})}var zt={vs:"1.9.9"},Ct={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:zt};function It(e){j("device.notification.showPreloader",{params:e,platform:Ct})}function Mt(e){j("device.notification.showCustomOverlayContent",{params:e,platform:{pc:zt}})}var xt={vs:"1.9.9"},Ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:xt};function jt(e){j("device.notification.hidePreloader",{params:e,platform:Ft})}function Ot(e){j("device.notification.hideCustomOverlayContent",{params:e,platform:{pc:xt}})}var Et={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function At(e){j("device.notification.vibrate",{params:e,platform:Et})}function Dt(e){j("device.notification.toast",{params:e})}var Vt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Rt(e){j("device.notification.actionSheet",{params:e,platform:Vt})}var Wt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Bt(e){j("device.base.getPhoneInfo",{params:e,platform:Wt})}var Nt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function _t(e){j("device.notification.alert",{params:e,platform:Nt})}var Lt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Ht(e){j("device.notification.confirm",{params:e,platform:Lt})}var Ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Jt(e){j("device.geolocation.get",{params:e,platform:Ut})}var Yt={android:{vs:"0.0.0"}};function qt(e){j("device.geolocation.getSwitch",{params:e,platform:Yt})}function Gt(e){j("device.system.getLang",{params:e})}var Kt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function $t(e){j("device.audio.startRecord",{params:e,platform:Kt})}var Xt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Zt(e){j("device.audio.stopRecord",{params:e,platform:Xt})}var Qt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function eo(e){j("device.audio.onRecordEnd",{params:e,platform:Qt})}var no={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function to(e){j("device.audio.download",{params:e,platform:no})}var oo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function io(e){j("device.audio.play",{params:e,platform:oo})}var ro={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ao(e){j("device.audio.pause",{params:e,platform:ro})}var so={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function co(e){j("device.audio.stop",{params:e,platform:so})}var uo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function lo(e){j("device.audio.onPlayEnd",{params:e,platform:uo})}var po={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function fo(e){j("device.audio.resume",{params:e,platform:po})}var vo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function mo(e){j("device.connection.getNetworkType",{params:e,platform:vo})}var ho={pc:{vs:"0.0.0"}};function go(e){j("device.connection.isAtTal",{params:e,platform:ho})}var bo={pc:{vs:"1.9.16.1"},ios:{vs:"1.9.16.1"},android:{vs:"1.9.16.1"}};function wo(e){j("device.connection.startNetworkChangeWatch",{params:e,platform:bo})}var yo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.1"}};function ko(e){j("device.base.getUUID",{params:e,platform:yo})}var Po={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function So(e){j("device.base.checkStepPermission",{params:e,platform:Po})}var To={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function zo(e){j("device.audio.onRecordEnd_v2",{params:e,platform:To})}var Co={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Io(e){j("device.audio.startRecord_v2",{params:e,platform:Co})}var Mo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xo(e){j("device.audio.stopRecord_v2",{params:e,platform:Mo})}var Fo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jo(e){j("device.system.setLight",{params:e,platform:Fo})}var Oo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Eo(e){j("biz.telephone.showCallMenu",{params:e,platform:Oo})}var Ao={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Do(e){j("biz.telephone.call",{params:e,platform:Ao})}var Vo={ios:{vs:"0.0.0"}};function Ro(e){j("ui.webViewBounce.disable",{params:e,platform:Vo})}var Wo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Bo(e){j("ui.pullToRefresh.enable",{params:e,platform:Wo})}var No={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function _o(e){j("ui.pullToRefresh.stop",{params:e,platform:No})}var Lo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ho(e){j("ui.pullToRefresh.disable",{params:e,platform:Lo})}var Uo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Jo(e){j("util.domainStorage.getItem",{params:e,platform:Uo})}var Yo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function qo(e){j("util.domainStorage.setItem",{params:e,platform:Yo})}var Go={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ko(e){j("util.domainStorage.removeItem",{params:e,platform:Go})}var $o={pc:{vs:"1.7.0"}};function Xo(e){j("util.tool.writeLog",{params:e,platform:$o})}var Zo={pc:{vs:"1.7.0"}};function Qo(e){j("util.tool.flushLog",{params:e,platform:Zo})}function ei(e){j("private.nativeEvent",{params:e})}var ni={pc:{vs:"1.9.9"}};function ti(e){j("biz.util.capturePage",{params:e,platform:ni})}var oi={ios:{vs:"0.0.0"}};function ii(e){j("biz.webViewMessage.send",{params:e,platform:oi})}function ri(e){j("app.custom.talYoungFilesUpload",{params:e})}var ai={ios:{vs:"1.8.8"},android:{vs:"1.8.8"},pc:{vs:"1.8.8"}};function si(e){j("biz.util.addAppToNav",{params:e,platform:ai})}console.log("add rouseApp ------------\x3e",Be);var ci=x.exportSdk,ui=ci.version,di=ci.sdkVersion,li=ci.env,pi=ci.platform,fi=ci.platformV2,vi=ci.config,mi=ci.ready,hi=ci.error,gi=ci.on,bi=ci.off;n.default={version:ui,sdkVersion:di,env:li,platform:pi,platformV2:fi,config:vi,ready:mi,error:hi,on:gi,off:bi,biz:{util:{openLink:A,feedback:D,focus:zn,open:V,openSlidePanel:W,share:N,previewFile:_,previewImage:L,downloadFile:H,uploadAttachment:U,clipboardFileUpload:J,proxy:Y,datepicker:G,datetimepicker:$,scan:Z,chosen:ie,openSingleWebview:ae,getSingleWebviewData:se,injectScript:ce,onlineDocmentOpenTeamChat:Ze,entergroupCheck:en,resetSessionUnread:tn,weeklyRead:rn,openFutureGroup:un,closeWindow:de,remind:pe,takePicture:fe,openAudioPlayer:me,openVideoPlayer:ge,openMediaFileDialog:be,openMediaFileDialogV2:O,mediaFileUpload:we,mediaFileUploadV2:E,invoice:ye,pushWorkMsg:ke,openTalYoungToTopic:Pe,getToken:Te,authStart:Ce,authFinish:Me,assistantCreate:Fe,yachEvent:Oe,topicEvent:Ae,openTogetherEyeWebview:Ve,getTogetherConfig:We,rouseApp:Be,externalLinkPreviewFile:Ne,savePic:Ue,zfbAuth:Le,complain:Je,selectDepartment:Ye,createModifySchedule:Ge,openUserSchedule:$e,disableScreenCapture:sn,addAppToNav:si,knowledgeBaseSelect:ln,knowledgeSelectParams:fn,lorebaseShowList:mn,lorebaseRefreshNodeWebview:gn,copy:wn,openPublish:kn,capturePage:ti,getConfig:Sn},telephone:{showCallMenu:Eo,call:Do},navigation:{setIcon:Fn,setTitle:jn,setMenu:An,close:Dn,replace:Vn,quit:Wn,setRight:_n,setTitleExpandIcon:Un,updateExpandTitle:Jn,setLeft:Gn,goBack:$n,setWindowBig:Zn,tencentMeeting:Qn,tencentMeetingBegin:et,setPanGestureEnable:ot},contact:{complexPicker:it,departmentsPicker:rt},group:{groupComplexPicker:at},chat:{chooseConversationByCorpId:st,pickConversation:ut,openSingleChat:dt,openTeamChat:lt,openSquad:pt,sendP2PMsg:ft},map:{view:ee,multipointView:te},webViewMessage:{send:ii}},runtime:{permission:{requestAuthCode:Tt}},primary:{createTab:mt,updateTab:gt,weeklyShare:wt,fullScreen:kt,exitFullScreen:St},device:{notification:{showPreloader:It,showCustomOverlayContent:Mt,hidePreloader:jt,hideCustomOverlayContent:Ot,vibrate:At,toast:Dt,alert:_t,confirm:Ht,actionSheet:Rt},base:{getPhoneInfo:Bt,getUUID:ko,checkStepPermission:So},geolocation:{get:Jt,getSwitch:qt},system:{getLang:Gt,setLight:jo},audio:{startRecord:$t,stopRecord:Zt,onRecordEnd:eo,download:to,play:io,pause:ao,stop:co,onPlayEnd:lo,resume:fo,onRecordEnd_v2:zo,startRecord_v2:Io,stopRecord_v2:xo},connection:{getNetworkType:mo,isAtTal:go,startNetworkChangeWatch:wo}},ui:{webViewBounce:{disable:Ro},pullToRefresh:{enable:Bo,stop:_o,disable:Ho}},util:{domainStorage:{getItem:Jo,setItem:qo,removeItem:Ko},tool:{writeLog:Xo,flushLog:Qo}},app:{custom:{talYoungFilesUpload:ri}},private:{nativeEvent:ei}}}]).default;
@@ -1,38 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizUtiltalYoungFilesUploadResult {
3
- count?: number;
4
- data?: {
5
- imageId?: string;
6
- filePath?: string;
7
- fileName?: string;
8
- source?: string;
9
- base64?: string;
10
- width?: number;
11
- height?: number;
12
- processdata?: object;
13
- };
14
- }
15
- interface IBizUtiltalYoungFilesUploadProgress {
16
- loaded: number;
17
- total: number;
18
- speed: number;
19
- percent: number;
20
- }
21
- export interface IBizUtiltalYoungFilesUploadParams {
22
- /** types这个数组里有photo、camera参数需要构建这个数据 */
23
- image?: {
24
- /** 是否多选,默认为false */
25
- multiple?: boolean;
26
- /** 是否压缩,默认为true */
27
- compress?: boolean;
28
- /** 最多选择的图片数目,最多支持9张 */
29
- max?: number;
30
- };
31
- /** 支持上传附件的文件类型,至少一个,最多支持两种种类型 */
32
- types: Array<'photo' | 'vedio'>;
33
- onSuccess?: (data: IBizUtiltalYoungFilesUploadResult) => void;
34
- onFail?: (err: IError) => void;
35
- onProgress?: (data: IBizUtiltalYoungFilesUploadProgress) => void;
36
- }
37
- declare function talYoungFilesUpload(params: IBizUtiltalYoungFilesUploadParams): void;
38
- export { talYoungFilesUpload };
@@ -1,16 +0,0 @@
1
- /*
2
- * @Descripttion:
3
- * @Author: olei<wangzheng_jzb@100tal.com>
4
- * @Date: 2020-09-07 19:55:47
5
- * @LastEditors: olei<wangzheng_jzb@100tal.com>
6
- * @LastEditTime: 2020-09-10 16:51:44
7
- * yach > 1.4.7 已经废弃,目前只保留 sdk 入口兼容 yach 低版本调用
8
- */
9
- import initAPI from '../../initAPI';
10
- var apiName = 'app.custom.talYoungFilesUpload';
11
- function talYoungFilesUpload(params) {
12
- initAPI(apiName, {
13
- params: params
14
- });
15
- }
16
- export { talYoungFilesUpload };
@@ -1,36 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- /**
3
- * 返回参数定义
4
- */
5
- export interface IBizChatChooseConversationByCorpIdResult {
6
- chatId: string;
7
- title: string;
8
- type: number;
9
- }
10
- /**
11
- * 选择企业会话 请求参数定义
12
- * @apiName biz.chat.chooseConversationByCorpId
13
- */
14
- export interface IBizChatChooseConversationByCorpIdParams {
15
- /** 会话id */
16
- chatId: string;
17
- /** 是否允许创建会话, 仅支持移动端,暂时没用和钉钉保持一致*/
18
- isAllowCreateGroup?: boolean;
19
- /** 是否限制为自己创建的会话,仅支持移动端 */
20
- filterNotOwnerGroup?: boolean;
21
- /** 是否支持多选,默认不支持 */
22
- multiple?: boolean;
23
- /** 超过限定会话提示 */
24
- limitTips?: string;
25
- /** 最大选择会话数量 */
26
- maxConversations?: number;
27
- disabledUsers?: string[];
28
- disabledTeams?: string[];
29
- /** 是否展示外部联系人 */
30
- showExternalContact?: boolean;
31
- onSuccess?: (data: IBizChatChooseConversationByCorpIdResult) => void;
32
- onFail?: (err: IError) => void;
33
- onCancel?: () => void;
34
- }
35
- declare function chooseConversationByCorpId(params: IBizChatChooseConversationByCorpIdParams): void;
36
- export { chooseConversationByCorpId };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.chooseConversationByCorpId';
3
- function chooseConversationByCorpId(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { chooseConversationByCorpId };
@@ -1,10 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizChatOpenSingleChatParams {
3
- /** 企业id */
4
- corpId: string;
5
- userId: string;
6
- onSuccess?: () => void;
7
- onFail?: (err: IError) => void;
8
- }
9
- declare function openSingleChat(params: IBizChatOpenSingleChatParams): void;
10
- export { openSingleChat };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openSingleChat';
3
- function openSingleChat(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { openSingleChat };
@@ -1,8 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizChatOpenSquadParams {
3
- sessionId: string;
4
- onSuccess?: () => void;
5
- onFail?: (err: IError) => void;
6
- }
7
- declare function openSquad(params: IBizChatOpenSquadParams): void;
8
- export { openSquad };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openSquad';
3
- function openSquad(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { openSquad };
@@ -1,10 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizChatOpenTeamChatParams {
3
- /** 企业id */
4
- corpId: string;
5
- teamId: string;
6
- onSuccess?: () => void;
7
- onFail?: (err: IError) => void;
8
- }
9
- declare function openTeamChat(params: IBizChatOpenTeamChatParams): void;
10
- export { openTeamChat };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openTeamChat';
3
- function openTeamChat(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { openTeamChat };
@@ -1,19 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizChatPickConversationResult {
3
- cid: string;
4
- title: string;
5
- type: number;
6
- }
7
- /**
8
- * 获取会话信息 请求参数定义
9
- * @apiName biz.chat.pickConversation
10
- */
11
- export interface IBizChatPickConversationParams {
12
- /** 企业id */
13
- corpId?: string;
14
- isConfirm?: boolean;
15
- onSuccess?: (data: IBizChatPickConversationResult) => void;
16
- onFail?: (err: IError) => void;
17
- }
18
- declare function pickConversation(params: IBizChatPickConversationParams): void;
19
- export { pickConversation };
@@ -1,19 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.pickConversation';
3
- var ios = {
4
- vs: '0.0.0'
5
- };
6
- var android = {
7
- vs: '0.0.0'
8
- };
9
- var platform = {
10
- ios: ios,
11
- android: android
12
- };
13
- function pickConversation(params) {
14
- initAPI(apiName, {
15
- params: params,
16
- platform: platform
17
- });
18
- }
19
- export { pickConversation };
@@ -1,10 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizSendP2PMsgParams {
3
- toUserId: string;
4
- message: string;
5
- messageId: string;
6
- onSuccess?: () => void;
7
- onFail?: (err: IError) => void;
8
- }
9
- declare function sendP2PMsg(params: IBizSendP2PMsgParams): void;
10
- export { sendP2PMsg };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.sendP2PMsg';
3
- function sendP2PMsg(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { sendP2PMsg };
@@ -1,62 +0,0 @@
1
- import { IDepartments, IError } from '../../common.typings';
2
- interface IUsers {
3
- userid: string;
4
- name: string;
5
- avatar: string;
6
- }
7
- export interface IBizContactComplexPickerResult {
8
- selectedCount: number;
9
- users?: Array<IUsers>;
10
- departments?: Array<IDepartments>;
11
- }
12
- /**
13
- * 选人与部门 请求参数定义
14
- * @apiName biz.contact.complexPicker
15
- */
16
- export interface IBizContactComplexPickerParams {
17
- /** 标题 */
18
- title?: string;
19
- /** 企业的corpId */
20
- corpId?: string;
21
- /** 是否多选 */
22
- multiple?: boolean;
23
- /** 超过限定人数返回提示 */
24
- limitTips?: string;
25
- /** 选人组件,用户未选择人的时候,左下角的提示文案 */
26
- pickTips?: string;
27
- /** 最大可选人数 */
28
- maxUsers?: number;
29
- /** 已选用户 */
30
- pickedUsers?: string[];
31
- /** 已选部门 */
32
- pickedDepartments?: string[];
33
- /** 不可选用户 */
34
- disabledUsers?: string[];
35
- /** 不可选部门 */
36
- disabledDepartments?: string[];
37
- /** 必选用户(不可取消选中状态) */
38
- requiredUsers?: string[];
39
- /** 必选部门(不可取消选中状态) */
40
- requiredDepartments?: string[];
41
- /** 微应用的Id */
42
- appId?: number;
43
- /** 选人权限,目前只有GLOBAL这个参数 */
44
- permissionType?: string;
45
- /** 返回人,或者返回人和部门 */
46
- responseUserOnly?: boolean;
47
- /** 0表示从企业最上层开始 */
48
- startWithDepartmentId?: number;
49
- /** 上游业务来源 */
50
- origin?: number;
51
- /** 上游业务来源描述 */
52
- originMeta?: string;
53
- /** 只支持移动端,可以直接跳到具体部门。-1 表示根部门,0 表示当前部门(startWithDepartmentId需要传2,depId才生效) */
54
- deptId?: number;
55
- /** 是否展示外部联系人 */
56
- showExternalContact?: boolean;
57
- onSuccess?: (data: IBizContactComplexPickerResult) => void;
58
- onFail?: (err: IError) => void;
59
- onCancel?: () => void;
60
- }
61
- declare function complexPicker(params: IBizContactComplexPickerParams): void;
62
- export { complexPicker };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.contact.complexPicker';
3
- function complexPicker(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { complexPicker };
@@ -1,35 +0,0 @@
1
- import { IError, IDepartments } from '../../common.typings';
2
- export interface IBizContactDepartmentsPickerResult {
3
- departmentsCount: number;
4
- userCount: number;
5
- departments?: Array<IDepartments>;
6
- }
7
- /**
8
- * 选择部门信息 请求参数定义
9
- * @apiName biz.contact.departmentsPicker
10
- */
11
- export interface IBizContactDepartmentsPickerParams {
12
- /** 企业标题 */
13
- title?: string;
14
- /** 企业的corpId */
15
- corpId?: string;
16
- /** 是否多选 */
17
- multiple?: boolean;
18
- /** 超过限定人数返回提示 */
19
- limitTips?: string;
20
- /** 最大选择部门的数量 */
21
- maxDepartments?: number;
22
- /** 已选部门 */
23
- pickedDepartments?: string[];
24
- /** 必选部门(不可取消选中状态) */
25
- requiredDepartments?: string[];
26
- /** 微应用的Id */
27
- appId?: number;
28
- /** 选人权限,目前只有GLOBAL这个参数 */
29
- permissionType?: string;
30
- onSuccess?: (data: IBizContactDepartmentsPickerResult) => void;
31
- onFail?: (err: IError) => void;
32
- onCancel?: () => void;
33
- }
34
- declare function departmentsPicker(params: IBizContactDepartmentsPickerParams): void;
35
- export { departmentsPicker };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.contact.departmentsPicker';
3
- function departmentsPicker(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { departmentsPicker };
@@ -1,33 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- interface IGroups {
3
- id: string;
4
- name: string;
5
- number: number;
6
- avatar?: string;
7
- }
8
- export interface IBizGroupGroupComplexPickerResult {
9
- groups: Array<IGroups>;
10
- groupCount: number;
11
- userCount: number;
12
- }
13
- /**
14
- * 选择群组
15
- * @apiName biz.group.groupComplexPicker
16
- */
17
- export interface IBizGroupGroupComplexPickerParams {
18
- /** 页面名称 */
19
- title?: string;
20
- corpId?: string;
21
- multiple?: boolean;
22
- limitTips?: string;
23
- maxGroups?: number;
24
- pickedGroups?: Array<string>;
25
- disabledGroups?: Array<string>;
26
- /** 是否展示外部联系人 */
27
- showExternalContact?: boolean;
28
- onSuccess?: (data: IBizGroupGroupComplexPickerResult) => void;
29
- onFail?: (err: IError) => void;
30
- onCancel?: () => void;
31
- }
32
- declare function groupComplexPicker(params: IBizGroupGroupComplexPickerParams): void;
33
- export { groupComplexPicker };
@@ -1,8 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.group.groupComplexPicker';
3
- function groupComplexPicker(params) {
4
- initAPI(apiName, {
5
- params: params
6
- });
7
- }
8
- export { groupComplexPicker };
@@ -1,21 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- interface ILocations {
3
- /** 需要和longitude组合成合法经纬度,高德坐标 */
4
- latitude: number;
5
- /** 需要和latitude组合成合法经纬度,高德坐标 */
6
- longitude: number;
7
- title?: string;
8
- radius?: number;
9
- isShowNavigation?: boolean;
10
- isShowPointAnnotation?: boolean;
11
- }
12
- export interface IBizMapMultipointViewParams {
13
- locations: Array<ILocations>;
14
- /** 在地图锚点气泡显示的文案 */
15
- title: string;
16
- isShowUserLocation?: boolean;
17
- onSuccess?: () => void;
18
- onFail?: (err: IError) => void;
19
- }
20
- declare function multipointView(params: IBizMapMultipointViewParams): void;
21
- export { multipointView };
@@ -1,19 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.map.multipointView';
3
- var ios = {
4
- vs: '0.0.0'
5
- };
6
- var android = {
7
- vs: '0.0.0'
8
- };
9
- var platform = {
10
- ios: ios,
11
- android: android
12
- };
13
- function multipointView(params) {
14
- initAPI(apiName, {
15
- params: params,
16
- platform: platform
17
- });
18
- }
19
- export { multipointView };
@@ -1,13 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizMapViewParams {
3
- /** 需要和longitude组合成合法经纬度,高德坐标 */
4
- latitude: number;
5
- /** 需要和latitude组合成合法经纬度,高德坐标 */
6
- longitude: number;
7
- /** 在地图锚点气泡显示的文案 */
8
- title: string;
9
- onSuccess?: () => void;
10
- onFail?: (err: IError) => void;
11
- }
12
- declare function view(params: IBizMapViewParams): void;
13
- export { view };
@@ -1,19 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.map.view';
3
- var ios = {
4
- vs: '0.0.0'
5
- };
6
- var android = {
7
- vs: '0.0.0'
8
- };
9
- var platform = {
10
- ios: ios,
11
- android: android
12
- };
13
- function view(params) {
14
- initAPI(apiName, {
15
- params: params,
16
- platform: platform
17
- });
18
- }
19
- export { view };
@@ -1,8 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizNavigationCloseParams {
3
- id?: string;
4
- onSuccess?: () => void;
5
- onFail?: (err: IError) => void;
6
- }
7
- declare function close(params?: IBizNavigationCloseParams): void;
8
- export { close };
@@ -1,9 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- ;
3
- var apiName = 'biz.navigation.close';
4
- function close(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
- export { close };
@@ -1,7 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizNavigationGoBackParams {
3
- onSuccess?: () => void;
4
- onFail?: (err: IError) => void;
5
- }
6
- declare function goBack(params?: IBizNavigationGoBackParams): void;
7
- export { goBack };
@@ -1,19 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.navigation.goBack';
3
- var ios = {
4
- vs: '0.0.0'
5
- };
6
- var android = {
7
- vs: '0.0.0'
8
- };
9
- var platform = {
10
- ios: ios,
11
- android: android
12
- };
13
- function goBack(params) {
14
- initAPI(apiName, {
15
- params: params,
16
- platform: platform
17
- });
18
- }
19
- export { goBack };