yach.open.jssdk 4.4.2 → 4.4.3-beta1

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 (566) hide show
  1. package/package.json +1 -1
  2. package/dist/yach_jssdk_4.4.2.js +0 -1
  3. package/es/api/app/custom/talYoungFilesUpload.d.ts +0 -38
  4. package/es/api/app/custom/talYoungFilesUpload.js +0 -18
  5. package/es/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
  6. package/es/api/biz/chat/chooseConversationByCorpId.js +0 -10
  7. package/es/api/biz/chat/openSingleChat.d.ts +0 -10
  8. package/es/api/biz/chat/openSingleChat.js +0 -10
  9. package/es/api/biz/chat/openSquad.d.ts +0 -8
  10. package/es/api/biz/chat/openSquad.js +0 -10
  11. package/es/api/biz/chat/openTeamChat.d.ts +0 -10
  12. package/es/api/biz/chat/openTeamChat.js +0 -10
  13. package/es/api/biz/chat/pickConversation.d.ts +0 -19
  14. package/es/api/biz/chat/pickConversation.js +0 -21
  15. package/es/api/biz/chat/sendP2PMsg.d.ts +0 -10
  16. package/es/api/biz/chat/sendP2PMsg.js +0 -10
  17. package/es/api/biz/contact/complexPicker.d.ts +0 -62
  18. package/es/api/biz/contact/complexPicker.js +0 -10
  19. package/es/api/biz/contact/departmentsPicker.d.ts +0 -35
  20. package/es/api/biz/contact/departmentsPicker.js +0 -10
  21. package/es/api/biz/group/groupComplexPicker.d.ts +0 -33
  22. package/es/api/biz/group/groupComplexPicker.js +0 -10
  23. package/es/api/biz/map/multipointView.d.ts +0 -21
  24. package/es/api/biz/map/multipointView.js +0 -21
  25. package/es/api/biz/map/view.d.ts +0 -13
  26. package/es/api/biz/map/view.js +0 -21
  27. package/es/api/biz/navigation/close.d.ts +0 -7
  28. package/es/api/biz/navigation/close.js +0 -11
  29. package/es/api/biz/navigation/goBack.d.ts +0 -7
  30. package/es/api/biz/navigation/goBack.js +0 -21
  31. package/es/api/biz/navigation/quit.d.ts +0 -8
  32. package/es/api/biz/navigation/quit.js +0 -17
  33. package/es/api/biz/navigation/replace.d.ts +0 -8
  34. package/es/api/biz/navigation/replace.js +0 -10
  35. package/es/api/biz/navigation/setIcon.d.ts +0 -12
  36. package/es/api/biz/navigation/setIcon.js +0 -29
  37. package/es/api/biz/navigation/setLeft.d.ts +0 -9
  38. package/es/api/biz/navigation/setLeft.js +0 -33
  39. package/es/api/biz/navigation/setMenu.d.ts +0 -20
  40. package/es/api/biz/navigation/setMenu.js +0 -27
  41. package/es/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
  42. package/es/api/biz/navigation/setPanGestureEnable.js +0 -28
  43. package/es/api/biz/navigation/setRight.d.ts +0 -13
  44. package/es/api/biz/navigation/setRight.js +0 -33
  45. package/es/api/biz/navigation/setTitle.d.ts +0 -11
  46. package/es/api/biz/navigation/setTitle.js +0 -10
  47. package/es/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
  48. package/es/api/biz/navigation/setTitleExpandIcon.js +0 -27
  49. package/es/api/biz/navigation/setWindowBig.d.ts +0 -9
  50. package/es/api/biz/navigation/setWindowBig.js +0 -18
  51. package/es/api/biz/navigation/tencentMeeting.d.ts +0 -23
  52. package/es/api/biz/navigation/tencentMeeting.js +0 -10
  53. package/es/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
  54. package/es/api/biz/navigation/tencentMeetingBegin.js +0 -10
  55. package/es/api/biz/navigation/updateExpandTitle.d.ts +0 -8
  56. package/es/api/biz/navigation/updateExpandTitle.js +0 -10
  57. package/es/api/biz/telephone/call.d.ts +0 -9
  58. package/es/api/biz/telephone/call.js +0 -21
  59. package/es/api/biz/telephone/showCallMenu.d.ts +0 -12
  60. package/es/api/biz/telephone/showCallMenu.js +0 -21
  61. package/es/api/biz/util/addAppToNav.d.ts +0 -9
  62. package/es/api/biz/util/addAppToNav.js +0 -25
  63. package/es/api/biz/util/assistantCreate.d.ts +0 -11
  64. package/es/api/biz/util/assistantCreate.js +0 -25
  65. package/es/api/biz/util/authFinish.d.ts +0 -11
  66. package/es/api/biz/util/authFinish.js +0 -21
  67. package/es/api/biz/util/authStart.d.ts +0 -9
  68. package/es/api/biz/util/authStart.js +0 -21
  69. package/es/api/biz/util/chosen.d.ts +0 -15
  70. package/es/api/biz/util/chosen.js +0 -21
  71. package/es/api/biz/util/clipboardFileUpload.d.ts +0 -7
  72. package/es/api/biz/util/clipboardFileUpload.js +0 -10
  73. package/es/api/biz/util/closeWindow.d.ts +0 -8
  74. package/es/api/biz/util/closeWindow.js +0 -17
  75. package/es/api/biz/util/complain.d.ts +0 -12
  76. package/es/api/biz/util/complain.js +0 -10
  77. package/es/api/biz/util/createModifySchedule.d.ts +0 -26
  78. package/es/api/biz/util/createModifySchedule.js +0 -17
  79. package/es/api/biz/util/datepicker.d.ts +0 -14
  80. package/es/api/biz/util/datepicker.js +0 -21
  81. package/es/api/biz/util/datetimepicker.d.ts +0 -14
  82. package/es/api/biz/util/datetimepicker.js +0 -21
  83. package/es/api/biz/util/disableScreenCapture.d.ts +0 -8
  84. package/es/api/biz/util/disableScreenCapture.js +0 -21
  85. package/es/api/biz/util/downloadFile.d.ts +0 -9
  86. package/es/api/biz/util/downloadFile.js +0 -10
  87. package/es/api/biz/util/entergroupCheck.d.ts +0 -11
  88. package/es/api/biz/util/entergroupCheck.js +0 -25
  89. package/es/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
  90. package/es/api/biz/util/externalLinkPreviewFile.js +0 -10
  91. package/es/api/biz/util/feedback.d.ts +0 -11
  92. package/es/api/biz/util/feedback.js +0 -10
  93. package/es/api/biz/util/getSingleWebviewData.d.ts +0 -8
  94. package/es/api/biz/util/getSingleWebviewData.js +0 -10
  95. package/es/api/biz/util/getTogetherConfig.d.ts +0 -11
  96. package/es/api/biz/util/getTogetherConfig.js +0 -25
  97. package/es/api/biz/util/getToken.d.ts +0 -11
  98. package/es/api/biz/util/getToken.js +0 -21
  99. package/es/api/biz/util/injectScript.d.ts +0 -9
  100. package/es/api/biz/util/injectScript.js +0 -10
  101. package/es/api/biz/util/invoice.d.ts +0 -12
  102. package/es/api/biz/util/invoice.js +0 -17
  103. package/es/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  104. package/es/api/biz/util/knowledgeBaseSelect.js +0 -17
  105. package/es/api/biz/util/mediaFileUpload.d.ts +0 -26
  106. package/es/api/biz/util/mediaFileUpload.js +0 -17
  107. package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
  108. package/es/api/biz/util/onlineDocmentOpenTeamChat.js +0 -25
  109. package/es/api/biz/util/open.d.ts +0 -9
  110. package/es/api/biz/util/open.js +0 -10
  111. package/es/api/biz/util/openFutureGroup.d.ts +0 -10
  112. package/es/api/biz/util/openFutureGroup.js +0 -25
  113. package/es/api/biz/util/openLink.d.ts +0 -8
  114. package/es/api/biz/util/openLink.js +0 -10
  115. package/es/api/biz/util/openMediaFileDialog.d.ts +0 -23
  116. package/es/api/biz/util/openMediaFileDialog.js +0 -17
  117. package/es/api/biz/util/openSingleWebview.d.ts +0 -23
  118. package/es/api/biz/util/openSingleWebview.js +0 -17
  119. package/es/api/biz/util/openSlidePanel.d.ts +0 -11
  120. package/es/api/biz/util/openSlidePanel.js +0 -17
  121. package/es/api/biz/util/openTalYoungToTopic.d.ts +0 -6
  122. package/es/api/biz/util/openTalYoungToTopic.js +0 -17
  123. package/es/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
  124. package/es/api/biz/util/openTogetherEyeWebview.js +0 -25
  125. package/es/api/biz/util/openUserSchedule.d.ts +0 -11
  126. package/es/api/biz/util/openUserSchedule.js +0 -25
  127. package/es/api/biz/util/openVideoPlayer.d.ts +0 -27
  128. package/es/api/biz/util/openVideoPlayer.js +0 -25
  129. package/es/api/biz/util/previewFile.d.ts +0 -11
  130. package/es/api/biz/util/previewFile.js +0 -10
  131. package/es/api/biz/util/previewImage.d.ts +0 -9
  132. package/es/api/biz/util/previewImage.js +0 -10
  133. package/es/api/biz/util/proxy.d.ts +0 -13
  134. package/es/api/biz/util/proxy.js +0 -10
  135. package/es/api/biz/util/pushWorkMsg.d.ts +0 -10
  136. package/es/api/biz/util/pushWorkMsg.js +0 -17
  137. package/es/api/biz/util/remind.d.ts +0 -15
  138. package/es/api/biz/util/remind.js +0 -25
  139. package/es/api/biz/util/resetSessionUnread.d.ts +0 -8
  140. package/es/api/biz/util/resetSessionUnread.js +0 -23
  141. package/es/api/biz/util/rouseApp.d.ts +0 -12
  142. package/es/api/biz/util/rouseApp.js +0 -17
  143. package/es/api/biz/util/savePic.d.ts +0 -8
  144. package/es/api/biz/util/savePic.js +0 -21
  145. package/es/api/biz/util/scan.d.ts +0 -11
  146. package/es/api/biz/util/scan.js +0 -21
  147. package/es/api/biz/util/screen.d.ts +0 -15
  148. package/es/api/biz/util/screen.js +0 -17
  149. package/es/api/biz/util/selectDepartment.d.ts +0 -9
  150. package/es/api/biz/util/selectDepartment.js +0 -10
  151. package/es/api/biz/util/share.d.ts +0 -12
  152. package/es/api/biz/util/share.js +0 -21
  153. package/es/api/biz/util/takePicture.d.ts +0 -13
  154. package/es/api/biz/util/takePicture.js +0 -10
  155. package/es/api/biz/util/uploadAttachment.d.ts +0 -55
  156. package/es/api/biz/util/uploadAttachment.js +0 -10
  157. package/es/api/biz/util/weeklyRead.d.ts +0 -5
  158. package/es/api/biz/util/weeklyRead.js +0 -25
  159. package/es/api/biz/util/yachEvent.d.ts +0 -12
  160. package/es/api/biz/util/yachEvent.js +0 -29
  161. package/es/api/biz/util/zfbAuth.d.ts +0 -10
  162. package/es/api/biz/util/zfbAuth.js +0 -21
  163. package/es/api/biz/webViewMessage/send.d.ts +0 -7
  164. package/es/api/biz/webViewMessage/send.js +0 -17
  165. package/es/api/common.typings.d.ts +0 -9
  166. package/es/api/common.typings.js +0 -0
  167. package/es/api/device/audio/download.d.ts +0 -8
  168. package/es/api/device/audio/download.js +0 -21
  169. package/es/api/device/audio/onPlayEnd.d.ts +0 -7
  170. package/es/api/device/audio/onPlayEnd.js +0 -21
  171. package/es/api/device/audio/onRecordEnd.d.ts +0 -7
  172. package/es/api/device/audio/onRecordEnd.js +0 -21
  173. package/es/api/device/audio/onRecordEnd_v2.d.ts +0 -7
  174. package/es/api/device/audio/onRecordEnd_v2.js +0 -21
  175. package/es/api/device/audio/pause.d.ts +0 -8
  176. package/es/api/device/audio/pause.js +0 -21
  177. package/es/api/device/audio/play.d.ts +0 -8
  178. package/es/api/device/audio/play.js +0 -21
  179. package/es/api/device/audio/resume.d.ts +0 -8
  180. package/es/api/device/audio/resume.js +0 -21
  181. package/es/api/device/audio/startRecord.d.ts +0 -8
  182. package/es/api/device/audio/startRecord.js +0 -21
  183. package/es/api/device/audio/startRecord_v2.d.ts +0 -8
  184. package/es/api/device/audio/startRecord_v2.js +0 -21
  185. package/es/api/device/audio/stop.d.ts +0 -8
  186. package/es/api/device/audio/stop.js +0 -21
  187. package/es/api/device/audio/stopRecord.d.ts +0 -7
  188. package/es/api/device/audio/stopRecord.js +0 -21
  189. package/es/api/device/audio/stopRecord_v2.d.ts +0 -7
  190. package/es/api/device/audio/stopRecord_v2.js +0 -21
  191. package/es/api/device/base/checkStepPermission.d.ts +0 -8
  192. package/es/api/device/base/checkStepPermission.js +0 -21
  193. package/es/api/device/base/getPhoneInfo.d.ts +0 -16
  194. package/es/api/device/base/getPhoneInfo.js +0 -21
  195. package/es/api/device/base/getUUID.d.ts +0 -10
  196. package/es/api/device/base/getUUID.js +0 -25
  197. package/es/api/device/connection/getNetworkType.d.ts +0 -10
  198. package/es/api/device/connection/getNetworkType.js +0 -21
  199. package/es/api/device/connection/isAtTal.d.ts +0 -10
  200. package/es/api/device/connection/isAtTal.js +0 -23
  201. package/es/api/device/geolocation/get.d.ts +0 -42
  202. package/es/api/device/geolocation/get.js +0 -21
  203. package/es/api/device/geolocation/getSwitch.d.ts +0 -10
  204. package/es/api/device/geolocation/getSwitch.js +0 -17
  205. package/es/api/device/notification/actionSheet.d.ts +0 -15
  206. package/es/api/device/notification/actionSheet.js +0 -21
  207. package/es/api/device/notification/alert.d.ts +0 -13
  208. package/es/api/device/notification/alert.js +0 -25
  209. package/es/api/device/notification/confirm.d.ts +0 -16
  210. package/es/api/device/notification/confirm.js +0 -25
  211. package/es/api/device/notification/hidePreloader.d.ts +0 -12
  212. package/es/api/device/notification/hidePreloader.js +0 -36
  213. package/es/api/device/notification/showPreloader.d.ts +0 -18
  214. package/es/api/device/notification/showPreloader.js +0 -36
  215. package/es/api/device/notification/toast.d.ts +0 -15
  216. package/es/api/device/notification/toast.js +0 -10
  217. package/es/api/device/notification/vibrate.d.ts +0 -8
  218. package/es/api/device/notification/vibrate.js +0 -21
  219. package/es/api/device/system/getLang.d.ts +0 -10
  220. package/es/api/device/system/getLang.js +0 -10
  221. package/es/api/device/system/setLight.d.ts +0 -8
  222. package/es/api/device/system/setLight.js +0 -21
  223. package/es/api/initAPI.d.ts +0 -6
  224. package/es/api/initAPI.js +0 -24
  225. package/es/api/primary/createTab.d.ts +0 -13
  226. package/es/api/primary/createTab.js +0 -17
  227. package/es/api/primary/exitFullScreen.d.ts +0 -7
  228. package/es/api/primary/exitFullScreen.js +0 -17
  229. package/es/api/primary/fullScreen.d.ts +0 -7
  230. package/es/api/primary/fullScreen.js +0 -17
  231. package/es/api/primary/weeklyShare.d.ts +0 -13
  232. package/es/api/primary/weeklyShare.js +0 -17
  233. package/es/api/runtime/permission/requestAuthCode.d.ts +0 -12
  234. package/es/api/runtime/permission/requestAuthCode.js +0 -10
  235. package/es/api/ui/pullToRefresh/disable.d.ts +0 -7
  236. package/es/api/ui/pullToRefresh/disable.js +0 -21
  237. package/es/api/ui/pullToRefresh/enable.d.ts +0 -7
  238. package/es/api/ui/pullToRefresh/enable.js +0 -21
  239. package/es/api/ui/pullToRefresh/stop.d.ts +0 -7
  240. package/es/api/ui/pullToRefresh/stop.js +0 -21
  241. package/es/api/ui/webViewBounce/disable.d.ts +0 -7
  242. package/es/api/ui/webViewBounce/disable.js +0 -17
  243. package/es/api/util/domainStorage/getItem.d.ts +0 -12
  244. package/es/api/util/domainStorage/getItem.js +0 -21
  245. package/es/api/util/domainStorage/removeItem.d.ts +0 -9
  246. package/es/api/util/domainStorage/removeItem.js +0 -21
  247. package/es/api/util/domainStorage/setItem.d.ts +0 -11
  248. package/es/api/util/domainStorage/setItem.js +0 -21
  249. package/es/api/util/tool/flushLog.d.ts +0 -7
  250. package/es/api/util/tool/flushLog.js +0 -17
  251. package/es/api/util/tool/log.d.ts +0 -9
  252. package/es/api/util/tool/log.js +0 -17
  253. package/es/index.d.ts +0 -325
  254. package/es/index.js +0 -353
  255. package/es/lib/bridge/index.d.ts +0 -2
  256. package/es/lib/bridge/index.js +0 -2
  257. package/es/lib/bridge/mobile.d.ts +0 -13
  258. package/es/lib/bridge/mobile.js +0 -184
  259. package/es/lib/bridge/pc.d.ts +0 -4
  260. package/es/lib/bridge/pc.js +0 -94
  261. package/es/lib/helper/apiHelper.d.ts +0 -2
  262. package/es/lib/helper/apiHelper.js +0 -10
  263. package/es/lib/helper/codeMap.d.ts +0 -2
  264. package/es/lib/helper/codeMap.js +0 -8
  265. package/es/lib/helper/event.d.ts +0 -9
  266. package/es/lib/helper/event.js +0 -52
  267. package/es/lib/helper/pcIframe.d.ts +0 -44
  268. package/es/lib/helper/pcIframe.js +0 -180
  269. package/es/lib/index.d.ts +0 -4
  270. package/es/lib/index.js +0 -92
  271. package/es/lib/sdk/index.d.ts +0 -19
  272. package/es/lib/sdk/index.js +0 -191
  273. package/es/lib/sdk/sdk.typings.d.ts +0 -85
  274. package/es/lib/sdk/sdk.typings.js +0 -8
  275. package/es/utils/bpitLog.d.ts +0 -16
  276. package/es/utils/bpitLog.js +0 -71
  277. package/es/utils/compareVersions.d.ts +0 -58
  278. package/es/utils/compareVersions.js +0 -192
  279. package/es/utils/console.d.ts +0 -4
  280. package/es/utils/console.js +0 -60
  281. package/es/utils/env.d.ts +0 -3
  282. package/es/utils/env.js +0 -52
  283. package/es/utils/index.d.ts +0 -4
  284. package/es/utils/index.js +0 -25
  285. package/libs/api/app/custom/talYoungFilesUpload.d.ts +0 -38
  286. package/libs/api/app/custom/talYoungFilesUpload.js +0 -29
  287. package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +0 -36
  288. package/libs/api/biz/chat/chooseConversationByCorpId.js +0 -21
  289. package/libs/api/biz/chat/openSingleChat.d.ts +0 -10
  290. package/libs/api/biz/chat/openSingleChat.js +0 -21
  291. package/libs/api/biz/chat/openSquad.d.ts +0 -8
  292. package/libs/api/biz/chat/openSquad.js +0 -21
  293. package/libs/api/biz/chat/openTeamChat.d.ts +0 -10
  294. package/libs/api/biz/chat/openTeamChat.js +0 -21
  295. package/libs/api/biz/chat/pickConversation.d.ts +0 -19
  296. package/libs/api/biz/chat/pickConversation.js +0 -32
  297. package/libs/api/biz/chat/sendP2PMsg.d.ts +0 -10
  298. package/libs/api/biz/chat/sendP2PMsg.js +0 -21
  299. package/libs/api/biz/contact/complexPicker.d.ts +0 -62
  300. package/libs/api/biz/contact/complexPicker.js +0 -21
  301. package/libs/api/biz/contact/departmentsPicker.d.ts +0 -35
  302. package/libs/api/biz/contact/departmentsPicker.js +0 -21
  303. package/libs/api/biz/group/groupComplexPicker.d.ts +0 -33
  304. package/libs/api/biz/group/groupComplexPicker.js +0 -21
  305. package/libs/api/biz/map/multipointView.d.ts +0 -21
  306. package/libs/api/biz/map/multipointView.js +0 -32
  307. package/libs/api/biz/map/view.d.ts +0 -13
  308. package/libs/api/biz/map/view.js +0 -32
  309. package/libs/api/biz/navigation/close.d.ts +0 -7
  310. package/libs/api/biz/navigation/close.js +0 -22
  311. package/libs/api/biz/navigation/goBack.d.ts +0 -7
  312. package/libs/api/biz/navigation/goBack.js +0 -32
  313. package/libs/api/biz/navigation/quit.d.ts +0 -8
  314. package/libs/api/biz/navigation/quit.js +0 -28
  315. package/libs/api/biz/navigation/replace.d.ts +0 -8
  316. package/libs/api/biz/navigation/replace.js +0 -21
  317. package/libs/api/biz/navigation/setIcon.d.ts +0 -12
  318. package/libs/api/biz/navigation/setIcon.js +0 -41
  319. package/libs/api/biz/navigation/setLeft.d.ts +0 -9
  320. package/libs/api/biz/navigation/setLeft.js +0 -45
  321. package/libs/api/biz/navigation/setMenu.d.ts +0 -20
  322. package/libs/api/biz/navigation/setMenu.js +0 -39
  323. package/libs/api/biz/navigation/setPanGestureEnable.d.ts +0 -9
  324. package/libs/api/biz/navigation/setPanGestureEnable.js +0 -40
  325. package/libs/api/biz/navigation/setRight.d.ts +0 -13
  326. package/libs/api/biz/navigation/setRight.js +0 -45
  327. package/libs/api/biz/navigation/setTitle.d.ts +0 -11
  328. package/libs/api/biz/navigation/setTitle.js +0 -21
  329. package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +0 -9
  330. package/libs/api/biz/navigation/setTitleExpandIcon.js +0 -39
  331. package/libs/api/biz/navigation/setWindowBig.d.ts +0 -9
  332. package/libs/api/biz/navigation/setWindowBig.js +0 -29
  333. package/libs/api/biz/navigation/tencentMeeting.d.ts +0 -23
  334. package/libs/api/biz/navigation/tencentMeeting.js +0 -21
  335. package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +0 -7
  336. package/libs/api/biz/navigation/tencentMeetingBegin.js +0 -21
  337. package/libs/api/biz/navigation/updateExpandTitle.d.ts +0 -8
  338. package/libs/api/biz/navigation/updateExpandTitle.js +0 -21
  339. package/libs/api/biz/telephone/call.d.ts +0 -9
  340. package/libs/api/biz/telephone/call.js +0 -32
  341. package/libs/api/biz/telephone/showCallMenu.d.ts +0 -12
  342. package/libs/api/biz/telephone/showCallMenu.js +0 -32
  343. package/libs/api/biz/util/addAppToNav.d.ts +0 -9
  344. package/libs/api/biz/util/addAppToNav.js +0 -36
  345. package/libs/api/biz/util/assistantCreate.d.ts +0 -11
  346. package/libs/api/biz/util/assistantCreate.js +0 -36
  347. package/libs/api/biz/util/authFinish.d.ts +0 -11
  348. package/libs/api/biz/util/authFinish.js +0 -32
  349. package/libs/api/biz/util/authStart.d.ts +0 -9
  350. package/libs/api/biz/util/authStart.js +0 -32
  351. package/libs/api/biz/util/chosen.d.ts +0 -15
  352. package/libs/api/biz/util/chosen.js +0 -32
  353. package/libs/api/biz/util/clipboardFileUpload.d.ts +0 -7
  354. package/libs/api/biz/util/clipboardFileUpload.js +0 -21
  355. package/libs/api/biz/util/closeWindow.d.ts +0 -8
  356. package/libs/api/biz/util/closeWindow.js +0 -28
  357. package/libs/api/biz/util/complain.d.ts +0 -12
  358. package/libs/api/biz/util/complain.js +0 -21
  359. package/libs/api/biz/util/createModifySchedule.d.ts +0 -26
  360. package/libs/api/biz/util/createModifySchedule.js +0 -28
  361. package/libs/api/biz/util/datepicker.d.ts +0 -14
  362. package/libs/api/biz/util/datepicker.js +0 -32
  363. package/libs/api/biz/util/datetimepicker.d.ts +0 -14
  364. package/libs/api/biz/util/datetimepicker.js +0 -32
  365. package/libs/api/biz/util/disableScreenCapture.d.ts +0 -8
  366. package/libs/api/biz/util/disableScreenCapture.js +0 -32
  367. package/libs/api/biz/util/downloadFile.d.ts +0 -9
  368. package/libs/api/biz/util/downloadFile.js +0 -21
  369. package/libs/api/biz/util/entergroupCheck.d.ts +0 -11
  370. package/libs/api/biz/util/entergroupCheck.js +0 -36
  371. package/libs/api/biz/util/externalLinkPreviewFile.d.ts +0 -11
  372. package/libs/api/biz/util/externalLinkPreviewFile.js +0 -21
  373. package/libs/api/biz/util/feedback.d.ts +0 -11
  374. package/libs/api/biz/util/feedback.js +0 -21
  375. package/libs/api/biz/util/getSingleWebviewData.d.ts +0 -8
  376. package/libs/api/biz/util/getSingleWebviewData.js +0 -21
  377. package/libs/api/biz/util/getTogetherConfig.d.ts +0 -11
  378. package/libs/api/biz/util/getTogetherConfig.js +0 -36
  379. package/libs/api/biz/util/getToken.d.ts +0 -11
  380. package/libs/api/biz/util/getToken.js +0 -32
  381. package/libs/api/biz/util/injectScript.d.ts +0 -9
  382. package/libs/api/biz/util/injectScript.js +0 -21
  383. package/libs/api/biz/util/invoice.d.ts +0 -12
  384. package/libs/api/biz/util/invoice.js +0 -28
  385. package/libs/api/biz/util/knowledgeBaseSelect.d.ts +0 -21
  386. package/libs/api/biz/util/knowledgeBaseSelect.js +0 -28
  387. package/libs/api/biz/util/mediaFileUpload.d.ts +0 -26
  388. package/libs/api/biz/util/mediaFileUpload.js +0 -28
  389. package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +0 -10
  390. package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +0 -36
  391. package/libs/api/biz/util/open.d.ts +0 -9
  392. package/libs/api/biz/util/open.js +0 -21
  393. package/libs/api/biz/util/openFutureGroup.d.ts +0 -10
  394. package/libs/api/biz/util/openFutureGroup.js +0 -36
  395. package/libs/api/biz/util/openLink.d.ts +0 -8
  396. package/libs/api/biz/util/openLink.js +0 -21
  397. package/libs/api/biz/util/openMediaFileDialog.d.ts +0 -23
  398. package/libs/api/biz/util/openMediaFileDialog.js +0 -28
  399. package/libs/api/biz/util/openSingleWebview.d.ts +0 -23
  400. package/libs/api/biz/util/openSingleWebview.js +0 -28
  401. package/libs/api/biz/util/openSlidePanel.d.ts +0 -11
  402. package/libs/api/biz/util/openSlidePanel.js +0 -28
  403. package/libs/api/biz/util/openTalYoungToTopic.d.ts +0 -6
  404. package/libs/api/biz/util/openTalYoungToTopic.js +0 -28
  405. package/libs/api/biz/util/openTogetherEyeWebview.d.ts +0 -11
  406. package/libs/api/biz/util/openTogetherEyeWebview.js +0 -36
  407. package/libs/api/biz/util/openUserSchedule.d.ts +0 -11
  408. package/libs/api/biz/util/openUserSchedule.js +0 -36
  409. package/libs/api/biz/util/openVideoPlayer.d.ts +0 -27
  410. package/libs/api/biz/util/openVideoPlayer.js +0 -36
  411. package/libs/api/biz/util/previewFile.d.ts +0 -11
  412. package/libs/api/biz/util/previewFile.js +0 -21
  413. package/libs/api/biz/util/previewImage.d.ts +0 -9
  414. package/libs/api/biz/util/previewImage.js +0 -21
  415. package/libs/api/biz/util/proxy.d.ts +0 -13
  416. package/libs/api/biz/util/proxy.js +0 -21
  417. package/libs/api/biz/util/pushWorkMsg.d.ts +0 -10
  418. package/libs/api/biz/util/pushWorkMsg.js +0 -28
  419. package/libs/api/biz/util/remind.d.ts +0 -15
  420. package/libs/api/biz/util/remind.js +0 -36
  421. package/libs/api/biz/util/resetSessionUnread.d.ts +0 -8
  422. package/libs/api/biz/util/resetSessionUnread.js +0 -34
  423. package/libs/api/biz/util/rouseApp.d.ts +0 -12
  424. package/libs/api/biz/util/rouseApp.js +0 -28
  425. package/libs/api/biz/util/savePic.d.ts +0 -8
  426. package/libs/api/biz/util/savePic.js +0 -32
  427. package/libs/api/biz/util/scan.d.ts +0 -11
  428. package/libs/api/biz/util/scan.js +0 -32
  429. package/libs/api/biz/util/screen.d.ts +0 -15
  430. package/libs/api/biz/util/screen.js +0 -28
  431. package/libs/api/biz/util/selectDepartment.d.ts +0 -9
  432. package/libs/api/biz/util/selectDepartment.js +0 -21
  433. package/libs/api/biz/util/share.d.ts +0 -12
  434. package/libs/api/biz/util/share.js +0 -32
  435. package/libs/api/biz/util/takePicture.d.ts +0 -13
  436. package/libs/api/biz/util/takePicture.js +0 -21
  437. package/libs/api/biz/util/uploadAttachment.d.ts +0 -55
  438. package/libs/api/biz/util/uploadAttachment.js +0 -21
  439. package/libs/api/biz/util/weeklyRead.d.ts +0 -5
  440. package/libs/api/biz/util/weeklyRead.js +0 -36
  441. package/libs/api/biz/util/yachEvent.d.ts +0 -12
  442. package/libs/api/biz/util/yachEvent.js +0 -40
  443. package/libs/api/biz/util/zfbAuth.d.ts +0 -10
  444. package/libs/api/biz/util/zfbAuth.js +0 -32
  445. package/libs/api/biz/webViewMessage/send.d.ts +0 -7
  446. package/libs/api/biz/webViewMessage/send.js +0 -28
  447. package/libs/api/common.typings.d.ts +0 -9
  448. package/libs/api/common.typings.js +0 -1
  449. package/libs/api/device/audio/download.d.ts +0 -8
  450. package/libs/api/device/audio/download.js +0 -32
  451. package/libs/api/device/audio/onPlayEnd.d.ts +0 -7
  452. package/libs/api/device/audio/onPlayEnd.js +0 -32
  453. package/libs/api/device/audio/onRecordEnd.d.ts +0 -7
  454. package/libs/api/device/audio/onRecordEnd.js +0 -32
  455. package/libs/api/device/audio/onRecordEnd_v2.d.ts +0 -7
  456. package/libs/api/device/audio/onRecordEnd_v2.js +0 -32
  457. package/libs/api/device/audio/pause.d.ts +0 -8
  458. package/libs/api/device/audio/pause.js +0 -32
  459. package/libs/api/device/audio/play.d.ts +0 -8
  460. package/libs/api/device/audio/play.js +0 -32
  461. package/libs/api/device/audio/resume.d.ts +0 -8
  462. package/libs/api/device/audio/resume.js +0 -32
  463. package/libs/api/device/audio/startRecord.d.ts +0 -8
  464. package/libs/api/device/audio/startRecord.js +0 -32
  465. package/libs/api/device/audio/startRecord_v2.d.ts +0 -8
  466. package/libs/api/device/audio/startRecord_v2.js +0 -32
  467. package/libs/api/device/audio/stop.d.ts +0 -8
  468. package/libs/api/device/audio/stop.js +0 -32
  469. package/libs/api/device/audio/stopRecord.d.ts +0 -7
  470. package/libs/api/device/audio/stopRecord.js +0 -32
  471. package/libs/api/device/audio/stopRecord_v2.d.ts +0 -7
  472. package/libs/api/device/audio/stopRecord_v2.js +0 -32
  473. package/libs/api/device/base/checkStepPermission.d.ts +0 -8
  474. package/libs/api/device/base/checkStepPermission.js +0 -32
  475. package/libs/api/device/base/getPhoneInfo.d.ts +0 -16
  476. package/libs/api/device/base/getPhoneInfo.js +0 -32
  477. package/libs/api/device/base/getUUID.d.ts +0 -10
  478. package/libs/api/device/base/getUUID.js +0 -36
  479. package/libs/api/device/connection/getNetworkType.d.ts +0 -10
  480. package/libs/api/device/connection/getNetworkType.js +0 -32
  481. package/libs/api/device/connection/isAtTal.d.ts +0 -10
  482. package/libs/api/device/connection/isAtTal.js +0 -34
  483. package/libs/api/device/geolocation/get.d.ts +0 -42
  484. package/libs/api/device/geolocation/get.js +0 -32
  485. package/libs/api/device/geolocation/getSwitch.d.ts +0 -10
  486. package/libs/api/device/geolocation/getSwitch.js +0 -28
  487. package/libs/api/device/notification/actionSheet.d.ts +0 -15
  488. package/libs/api/device/notification/actionSheet.js +0 -32
  489. package/libs/api/device/notification/alert.d.ts +0 -13
  490. package/libs/api/device/notification/alert.js +0 -36
  491. package/libs/api/device/notification/confirm.d.ts +0 -16
  492. package/libs/api/device/notification/confirm.js +0 -36
  493. package/libs/api/device/notification/hidePreloader.d.ts +0 -12
  494. package/libs/api/device/notification/hidePreloader.js +0 -48
  495. package/libs/api/device/notification/showPreloader.d.ts +0 -18
  496. package/libs/api/device/notification/showPreloader.js +0 -48
  497. package/libs/api/device/notification/toast.d.ts +0 -15
  498. package/libs/api/device/notification/toast.js +0 -21
  499. package/libs/api/device/notification/vibrate.d.ts +0 -8
  500. package/libs/api/device/notification/vibrate.js +0 -32
  501. package/libs/api/device/system/getLang.d.ts +0 -10
  502. package/libs/api/device/system/getLang.js +0 -21
  503. package/libs/api/device/system/setLight.d.ts +0 -8
  504. package/libs/api/device/system/setLight.js +0 -32
  505. package/libs/api/initAPI.d.ts +0 -6
  506. package/libs/api/initAPI.js +0 -38
  507. package/libs/api/primary/createTab.d.ts +0 -13
  508. package/libs/api/primary/createTab.js +0 -28
  509. package/libs/api/primary/exitFullScreen.d.ts +0 -7
  510. package/libs/api/primary/exitFullScreen.js +0 -28
  511. package/libs/api/primary/fullScreen.d.ts +0 -7
  512. package/libs/api/primary/fullScreen.js +0 -28
  513. package/libs/api/primary/weeklyShare.d.ts +0 -13
  514. package/libs/api/primary/weeklyShare.js +0 -28
  515. package/libs/api/runtime/permission/requestAuthCode.d.ts +0 -12
  516. package/libs/api/runtime/permission/requestAuthCode.js +0 -21
  517. package/libs/api/ui/pullToRefresh/disable.d.ts +0 -7
  518. package/libs/api/ui/pullToRefresh/disable.js +0 -32
  519. package/libs/api/ui/pullToRefresh/enable.d.ts +0 -7
  520. package/libs/api/ui/pullToRefresh/enable.js +0 -32
  521. package/libs/api/ui/pullToRefresh/stop.d.ts +0 -7
  522. package/libs/api/ui/pullToRefresh/stop.js +0 -32
  523. package/libs/api/ui/webViewBounce/disable.d.ts +0 -7
  524. package/libs/api/ui/webViewBounce/disable.js +0 -28
  525. package/libs/api/util/domainStorage/getItem.d.ts +0 -12
  526. package/libs/api/util/domainStorage/getItem.js +0 -32
  527. package/libs/api/util/domainStorage/removeItem.d.ts +0 -9
  528. package/libs/api/util/domainStorage/removeItem.js +0 -32
  529. package/libs/api/util/domainStorage/setItem.d.ts +0 -11
  530. package/libs/api/util/domainStorage/setItem.js +0 -32
  531. package/libs/api/util/tool/flushLog.d.ts +0 -7
  532. package/libs/api/util/tool/flushLog.js +0 -28
  533. package/libs/api/util/tool/log.d.ts +0 -9
  534. package/libs/api/util/tool/log.js +0 -28
  535. package/libs/index.d.ts +0 -325
  536. package/libs/index.js +0 -1371
  537. package/libs/lib/bridge/index.d.ts +0 -2
  538. package/libs/lib/bridge/index.js +0 -39
  539. package/libs/lib/bridge/mobile.d.ts +0 -13
  540. package/libs/lib/bridge/mobile.js +0 -209
  541. package/libs/lib/bridge/pc.d.ts +0 -4
  542. package/libs/lib/bridge/pc.js +0 -114
  543. package/libs/lib/helper/apiHelper.d.ts +0 -2
  544. package/libs/lib/helper/apiHelper.js +0 -21
  545. package/libs/lib/helper/codeMap.d.ts +0 -2
  546. package/libs/lib/helper/codeMap.js +0 -19
  547. package/libs/lib/helper/event.d.ts +0 -9
  548. package/libs/lib/helper/event.js +0 -68
  549. package/libs/lib/helper/pcIframe.d.ts +0 -44
  550. package/libs/lib/helper/pcIframe.js +0 -196
  551. package/libs/lib/index.d.ts +0 -4
  552. package/libs/lib/index.js +0 -110
  553. package/libs/lib/sdk/index.d.ts +0 -19
  554. package/libs/lib/sdk/index.js +0 -208
  555. package/libs/lib/sdk/sdk.typings.d.ts +0 -85
  556. package/libs/lib/sdk/sdk.typings.js +0 -18
  557. package/libs/utils/bpitLog.d.ts +0 -16
  558. package/libs/utils/bpitLog.js +0 -81
  559. package/libs/utils/compareVersions.d.ts +0 -58
  560. package/libs/utils/compareVersions.js +0 -218
  561. package/libs/utils/console.d.ts +0 -4
  562. package/libs/utils/console.js +0 -69
  563. package/libs/utils/env.d.ts +0 -3
  564. package/libs/utils/env.js +0 -60
  565. package/libs/utils/index.d.ts +0 -4
  566. package/libs/utils/index.js +0 -64
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yach.open.jssdk",
3
- "version": "4.4.2",
3
+ "version": "4.4.3-beta1",
4
4
  "description": "",
5
5
  "module": "./es/index.js",
6
6
  "main": "./libs/index.js",
@@ -1 +0,0 @@
1
- window.yy=function(n){var e={};function t(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var i in n)t.d(o,i,function(e){return n[e]}.bind(null,i));return o},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=1)}([function(n){n.exports=JSON.parse('{"name":"yach.open.jssdk","version":"4.4.2","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","prepublish":"npm run upload-cdn","postpublish":"yach open https://www.npmjs.com/package/yach.open.jssdk","upload-cdn":"npm run build && node ./upload/upload.js","lint":"eslint \'src/**/*.{js,ts}\'","lint-fix":"eslint --fix \'src/**/*.{js,ts}\'","p:beta":"npm publish --tag=beta --access public"},"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","prettier":"^2.0.2","qiao.ext.cos":"^0.1.2","ts-loader":"^7.0.1","typescript":"^3.8.3","webpack":"^4.43.0","webpack-cli":"^3.3.11","webpack-merge":"^4.2.2","yach.open.cli":"^1.0.1"}}')},function(n,e,t){"use strict";var o;function i(){var n="undefined"!=typeof navigator?navigator.userAgent:"",e=/Yach/i.test(n),t=/iPhone|iPad|iPod|iOS/i.test(n)&&e,i=/Android/i.test(n)&&e,r=/YachPc/i.test(n),a=/iPad/i.test(n)&&e,s=/iPhone/i.test(n)&&e,c=/Yachtest/.test(n)&&e,u=o.notInYach;return t&&(u=o.ios),i&&(u=o.android),r&&(u=o.pc),{platform:u,platformV2:{inYach:e,inIOS:t,inAndroid:i,inPC:r,inIpad:a,inIPhone:s},version:((n.match(/Yach\/[a-zA-Z0-9.-]+/)||[])[0]||"").split("/")[1]||"",language:"undefined"!=typeof navigator?navigator.language:"*",env:c?"test":"online"}}function r(n){if(n)if(n.group)if(n.project)if(n.hasOwnProperty("env"))if(n.hasOwnProperty("version")){var e=["https://es.zhiyinlou.com/log.js?"];e.push("group="+n.group),e.push("&project="+n.project),e.push("&env="+n.env),e.push("&version="+n.version),e.push("&method="+n.method),n.yachid&&e.push("&yachid="+n.yachid),n.workcode&&e.push("&workcode="+n.workcode),n.timestamp&&e.push("&timestamp="+n.timestamp),n.errorcode&&e.push("&errorcode="+n.errorcode),n.message&&e.push("&message="+n.message),n.api&&n.time&&(e.push("&api="+n.api),e.push("&load_time="+n.time));var t,o,i=e.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"!=n.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")}t.r(e),t.d(e,"version",(function(){return Yo})),t.d(e,"sdkVersion",(function(){return qo})),t.d(e,"env",(function(){return Go})),t.d(e,"platform",(function(){return Ko})),t.d(e,"platformV2",(function(){return $o})),t.d(e,"config",(function(){return Xo})),t.d(e,"ready",(function(){return Zo})),t.d(e,"error",(function(){return Qo})),t.d(e,"on",(function(){return ni})),t.d(e,"off",(function(){return ei})),t.d(e,"openLink",(function(){return _})),t.d(e,"feedback",(function(){return N})),t.d(e,"open",(function(){return L})),t.d(e,"openSlidePanel",(function(){return H})),t.d(e,"share",(function(){return Y})),t.d(e,"previewFile",(function(){return q})),t.d(e,"previewImage",(function(){return G})),t.d(e,"downloadFile",(function(){return K})),t.d(e,"uploadAttachment",(function(){return $})),t.d(e,"clipboardFileUpload",(function(){return X})),t.d(e,"proxy",(function(){return Z})),t.d(e,"datepicker",(function(){return nn})),t.d(e,"scan",(function(){return rn})),t.d(e,"chosen",(function(){return pn})),t.d(e,"openSingleWebview",(function(){return fn})),t.d(e,"getSingleWebviewData",(function(){return vn})),t.d(e,"injectScript",(function(){return mn})),t.d(e,"closeWindow",(function(){return hn})),t.d(e,"showCallMenu",(function(){return ho})),t.d(e,"call",(function(){return wo})),t.d(e,"setIcon",(function(){return be})),t.d(e,"setTitle",(function(){return we})),t.d(e,"setMenu",(function(){return Pe})),t.d(e,"close",(function(){return Se})),t.d(e,"replacePage",(function(){return ze})),t.d(e,"quit",(function(){return Te})),t.d(e,"setRight",(function(){return xe})),t.d(e,"setTitleExpandIcon",(function(){return Ee})),t.d(e,"updateExpandTitle",(function(){return je})),t.d(e,"setLeft",(function(){return Ve})),t.d(e,"goBack",(function(){return Be})),t.d(e,"complexPicker",(function(){return Ye})),t.d(e,"departmentsPicker",(function(){return qe})),t.d(e,"groupComplexPicker",(function(){return Ge})),t.d(e,"chooseConversationByCorpId",(function(){return Ke})),t.d(e,"pickConversation",(function(){return Xe})),t.d(e,"openSingleChat",(function(){return Ze})),t.d(e,"openTeamChat",(function(){return Qe})),t.d(e,"openSquad",(function(){return nt})),t.d(e,"sendP2PMsg",(function(){return et})),t.d(e,"mapView",(function(){return sn})),t.d(e,"multipointView",(function(){return un})),t.d(e,"requestAuthCode",(function(){return dt})),t.d(e,"createTab",(function(){return ot})),t.d(e,"weeklyShare",(function(){return rt})),t.d(e,"fullScreen",(function(){return st})),t.d(e,"exitFullScreen",(function(){return ut})),t.d(e,"showPreloader",(function(){return ft})),t.d(e,"showCustomOverlayContent",(function(){return vt})),t.d(e,"hidePreloader",(function(){return ht})),t.d(e,"hideCustomOverlayContent",(function(){return bt})),t.d(e,"vibrate",(function(){return yt})),t.d(e,"toast",(function(){return kt})),t.d(e,"alert",(function(){return It})),t.d(e,"confirm",(function(){return xt})),t.d(e,"getPhoneInfo",(function(){return Ct})),t.d(e,"getUUID",(function(){return io})),t.d(e,"checkStepPermission",(function(){return ao})),t.d(e,"getGeolocation",(function(){return At})),t.d(e,"getGeolocationSwitch",(function(){return jt})),t.d(e,"getLang",(function(){return Dt})),t.d(e,"startRecord",(function(){return Vt})),t.d(e,"stopRecord",(function(){return Bt})),t.d(e,"onRecordEnd",(function(){return _t})),t.d(e,"downloadAudio",(function(){return Lt})),t.d(e,"playAudio",(function(){return Ht})),t.d(e,"pauseAudio",(function(){return Yt})),t.d(e,"stopAudio",(function(){return Gt})),t.d(e,"onPlayEnd",(function(){return $t})),t.d(e,"resumeAudio",(function(){return Zt})),t.d(e,"getNetworkType",(function(){return no})),t.d(e,"isAtTal",(function(){return to})),t.d(e,"webViewBounceDisable",(function(){return ko})),t.d(e,"pullToRefreshEnable",(function(){return So})),t.d(e,"pullToRefreshStop",(function(){return Co})),t.d(e,"pullToRefreshDisable",(function(){return Io})),t.d(e,"getItem",(function(){return xo})),t.d(e,"setItem",(function(){return Ao})),t.d(e,"removeItem",(function(){return jo})),t.d(e,"writeLog",(function(){return Oo})),t.d(e,"flushLog",(function(){return Ro})),t.d(e,"remind",(function(){return wn})),t.d(e,"takePicture",(function(){return yn})),t.d(e,"datetimepicker",(function(){return tn})),t.d(e,"actionSheet",(function(){return St})),t.d(e,"webViewMessageSend",(function(){return No})),t.d(e,"talYoungFilesUpload",(function(){return Lo})),t.d(e,"openVideoPlayer",(function(){return Pn})),t.d(e,"openMediaFileDialog",(function(){return Sn})),t.d(e,"mediaFileUpload",(function(){return zn})),t.d(e,"invoice",(function(){return Cn})),t.d(e,"pushWorkMsg",(function(){return Tn})),t.d(e,"openTalYoungToTopic",(function(){return In})),t.d(e,"getToken",(function(){return xn})),t.d(e,"authStart",(function(){return An})),t.d(e,"authFinish",(function(){return jn})),t.d(e,"assistantCreate",(function(){return On})),t.d(e,"yachEvent",(function(){return Rn})),t.d(e,"openTogetherEyeWebview",(function(){return Wn})),t.d(e,"getTogetherConfig",(function(){return Nn})),t.d(e,"rouseApp",(function(){return Ln})),t.d(e,"externalLinkPreviewFile",(function(){return Un})),t.d(e,"savePic",(function(){return qn})),t.d(e,"zfbAuth",(function(){return Jn})),t.d(e,"complain",(function(){return Gn})),t.d(e,"onRecordEnd_v2",(function(){return co})),t.d(e,"startRecord_v2",(function(){return po})),t.d(e,"stopRecord_v2",(function(){return fo})),t.d(e,"selectDepartment",(function(){return Kn})),t.d(e,"setWindowBig",(function(){return _e})),t.d(e,"tencentMeeting",(function(){return Ne})),t.d(e,"tencentMeetingBegin",(function(){return Le})),t.d(e,"createModifySchedule",(function(){return Xn})),t.d(e,"onlineDocmentOpenTeamChat",(function(){return ee})),t.d(e,"entergroupCheck",(function(){return oe})),t.d(e,"resetSessionUnread",(function(){return re})),t.d(e,"weeklyRead",(function(){return se})),t.d(e,"openFutureGroup",(function(){return pe})),t.d(e,"knowledgeBaseSelect",(function(){return fe})),t.d(e,"setLight",(function(){return mo})),t.d(e,"openUserSchedule",(function(){return Qn})),t.d(e,"disableScreenCapture",(function(){return ue})),t.d(e,"setPanGestureEnable",(function(){return Je})),t.d(e,"addAppToNav",(function(){return Ho})),t.d(e,"capturePage",(function(){return Wo})),function(n){n.pc="pc",n.android="android",n.ios="ios",n.notInYach="notInYach"}(o||(o={}));var a=function(){return(a=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function s(n){var e=i().env,t=i().version,o=Date.now(),s=a({group:"yach",project:"yach_31_jssdk",env:e,version:t,timestamp:o},n);console.log("jssdk 项目 bpit 上报数据:",s),r(s)}var c={log:function(){},warn:function(){},error:function(){}};if("undefined"!=typeof window&&window.console&&(c=window.console),"undefined"!=typeof document&&document.body){var u=document.createElement("iframe");u&&u.contentWindow&&u.contentWindow.console&&(u.style.display="none",document.body.appendChild(u),c=u.contentWindow.console)}var d=c.log.bind(c),p=(c.warn.bind(c),c.error.bind(c),"color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;");function l(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return d("%c Yach-jssdk log: ",p,n)}var f=function(n,e){var t=m(n),o=m(e),i=t.pop(),r=o.pop(),a=w(t,o);return 0!==a?a:i&&r?w(i.split("."),r.split(".")):i||r?i?-1:1:0},v=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,m=function(n){if("string"!=typeof n)throw new TypeError("Invalid argument expected string");var e=n.match(v);if(!e)throw new Error("Invalid argument not valid semver ('"+n+"' received)");return e.shift(),e},g=function(n){return"*"===n||"x"===n||"X"===n},h=function(n){var e=parseInt(n,10);return isNaN(e)?n:e},b=function(n,e){if(g(n)||g(e))return 0;var t=function(n,e){return typeof n!=typeof e?[String(n),String(e)]:[n,e]}(h(n),h(e)),o=t[0],i=t[1];return o>i?1:o<i?-1:0},w=function(n,e){for(var t=0;t<Math.max(n.length,e.length);t++){var o=b(n[t]||"0",e[t]||"0");if(0!==o)return o}return 0},y={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},k=(Object.keys(y),t(0)),P=function(){function n(n){var e=this;this.invokeAPIConfigMapByMethod={},this.configJsApiList=[],this.platformConfigMap={},this.hadConfig=!1,this.bridgeInitFnPromise=null,this.cacheP={},this.config$=new Promise((function(n,t){e.cacheP.resolve=n,e.cacheP.reject=t})),this.env=n,this.exportSdk={version:n.version,sdkVersion:k.version,env:n,platform:n.platform,platformV2:n.platformV2,config:function(n){void 0===n&&(n={});var t=n.jsApiList,o=void 0===t?[]:t;e.hadConfig?console.log("Config has been executed"):e.bridgeInitFn().then((function(t){t("config",n).then((function(n){e.cacheP.resolve(n),e.hadConfig=!0,e.configJsApiList=o})).catch((function(n){e.cacheP.reject(n)}))}))},ready:function(n){e.bridgeInitFn().then((function(){n()}))},error:function(n){e.config$.catch((function(e){n(e)}))},on:function(t,o){e.bridgeInitFn().then((function(){e.platformConfigMap[n.platform].event.on(t,o)}))},off:function(t,o){e.bridgeInitFn().then((function(){e.platformConfigMap[n.platform].event.off(t,o)}))}}}return n.prototype.setAPI=function(n,e){this.invokeAPIConfigMapByMethod[n]=e},n.prototype.setPlatform=function(n){var e=n.platform;n.bridgeInit;this.platformConfigMap[e]=n},n.prototype.bridgeInitFn=function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var n=this.platformConfigMap[this.env.platform];if(n)this.bridgeInitFnPromise=n.bridgeInit();else{var e="Do not support the current environment�"+this.env.platform;this.bridgeInitFnPromise=Promise.reject(new Error(e))}return this.bridgeInitFnPromise},n.prototype._onFail=function(n,e,t,o){s({method:n,errorcode:e,message:t}),o&&"function"==typeof o&&o({code:e,message:t})},n.prototype.invokeAPI=function(n,e){if(e||(e={}),n){var t=this.invokeAPIConfigMapByMethod[n];if(!t)return this._onFail(n,"-1","["+n+"] method is not exist",e.onFail);var o=t[this.env.platform];if(o){var i=o.vs||"0.0.0";if(f(this.env.version,i)<0)return this._onFail(n,"-1","The current application version is "+this.env.version+". This method does not support versions less than "+i,e.onFail);var r=o.paramsDeal?o.paramsDeal(e):e;if("function"==typeof r.onSuccess){var a=r.onSuccess;r.onSuccess=function(n){a(n)}}this.bridgeInitFn().then((function(e){e(n,r).then((function(e){l("SDK 返回结果成功 ",{method:n,params:r,result:e})})).catch((function(e){l("SDK 返回结果失败",{method:n,params:r,error:e})}))})).catch((function(n){console.log("wenai err",n)}))}else this._onFail(n,"-1","["+n+"] method do not support the current platform ("+this.env.platform+")",e.onFail)}},n}(),S=new function(){var n=this;this.on=function(e,t){if(!e||"function"!=typeof t)throw"eventName is null or handle is not a function, on fail";Array.isArray(n.eventsHandle[e])||(n.eventsHandle[e]=[]),n.eventsHandle[e].push(t)},this.off=function(e,t){if(!e)throw"eventName is null, invoke off fail";if(t){if(Array.isArray(n.eventsHandle[e])){var o=n.eventsHandle[e].indexOf(t);-1!==o&&n.eventsHandle[e].splice(o,1)}}else n.eventsHandle[e]=[]},this.execEvent=function(n,e){Array.isArray(this.eventsHandle[n])&&this.eventsHandle[n].forEach((function(n){try{n(e)}catch(n){console.error(e)}}))},this.eventsHandle={}},z=function(n,e,t){var o=this;this.genid=function(){var n=Date.now().toString(36);return n+=Math.random().toString(36).substr(3)},this.receiveResponse=function(n){o.callback(n)},this.getPayload=function(){return{msgId:o.id,methodName:o.methodName,body:o.plainMsg,type:"request",invokeType:o.invokeType}},this.id=this.genid(),this.PromiseObj={resolve:null,reject:null},this.methodName=n,this.plainMsg=e,this.invokeType=null==e?void 0:e.invokeType,this.callback=t},C=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(n){return this.pendingMsgs[n]},this.invokeAPIInBrowserView=function(n){window.sendTo(n)},this.invokeAPIInWebview=function(n){window.sendToHost(n)},this.invokeAPI=function(e,t,o){var i=new z(e,t,o),r=JSON.stringify(i.getPayload()),a=t.invokeType;return"browserView"===(void 0===a?"":a)?n.invokeAPIInBrowserView(r):n.invokeAPIInWebview(r),n.addPending(i),i},this.handleCallback=function(e,t){var o=e.type,i=e.methodName,r=e.eventName,a=e.msgId,s=e.data,c=void 0===s?{}:s,u=e.code,d=e.message,p=e.msg;if("request"===o)switch(i){case"refresh":window.location.reload();break;case"back":window.history.back();break;case"forward":window.history.forward();break;case"event":S.execEvent(r,c);break;case"zoomInClick":var l=document.documentElement.scrollTop||document.body.scrollTop,f=window.location.href;"browserView"===t?window.sendTo(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:l,url:f,title:c&&c.title}})):window.sendToHost(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:l,url:f,title:c&&c.title}}))}else if("response"===o){var v=n.getPending(a);v&&v.receiveResponse({data:c,code:u,message:d||p||c.msg||c.message}),-3!=u&&n.deletePending(a)}},this.init=function(){window.addEventListener("message",(function(e){l("electron res: ",e),n.handleCallback(e.data||{})})),window.receiveBrowserViewData&&window.receiveBrowserViewData((function(e,t){return n.handleCallback(t)}))},this.pendingMsgs={}},T=new Map([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function I(n){return T.get(n)||"onFail"}var M=function(){return(M=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)},x=function(n,e){return new Promise((function(t,o){return C.invokeAPI(n,e,(function(i){var r=i.data,a=i.code,c=i.message,u=parseInt(a),d=I(u),p=e[d];if(l("SDK执行后回调,相关参数 ",{method:n,param:e,data:r,_code:u,message:c,callbackFun:p}),"onFail"!==d)"function"==typeof p&&p(r||c),t({_code:u,message:c,data:r});else{if(s({method:n,errorcode:u,message:c||JSON.stringify(r)||"SDK执行失败回调,相关参数"}),"function"==typeof p){console.log("wenai-code",a,u);var f="[object Object]"===Object.prototype.toString.call(r)?M(M({},r),{code:a,message:c}):{data:r,code:a,message:c};p(c?f:r)}o({_code:u,message:c,data:r})}}))}))},F=function(){return(F=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function A(n){if(window.WebViewJavascriptBridge)return n(WebViewJavascriptBridge);if(window.WKWebViewJavascriptBridge)return n(WKWebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(n);window.WVJBCallbacks=[n];var e=document.createElement("iframe");e.style.display="none",e.src="https://__bridge_loaded__",document.documentElement.appendChild(e),setTimeout((function(){document.documentElement.removeChild(e)}),0)}var E=function(n,e){return new Promise((function(t,o){var i=F({},e);A((function(r){e.control&&r.registerHandler(n,(function(n){var o=e.onSuccess;delete i.onSuccess,"function"==typeof o&&(o(n),t({code:"0",message:"success"}))})),r.callHandler(n,e,(function(r){var a=r.code,c=r.message,u=r.data,d=parseInt(a),p=I(d),f=i[p];if(l("SDK执行后回调,相关参数 ",{method:n,param:e,data:u,_code:d,message:c,callbackFun:f}),"onFail"===p)return s({method:n,errorcode:d,message:c||JSON.stringify(u)||"SDK执行失败回调,相关参数"}),"function"==typeof f&&f(c?{code:a,message:c}:u),void o({_code:d,message:c,data:u});"function"==typeof f&&f(u||c),t({_code:d,message:c,data:u})}))}))}))},j=function(n,e,t,o){return new(t||(t=Promise))((function(i,r){function a(n){try{c(o.next(n))}catch(n){r(n)}}function s(n){try{c(o.throw(n))}catch(n){r(n)}}function c(n){var e;n.done?i(n.value):(e=n.value,e instanceof t?e:new t((function(n){n(e)}))).then(a,s)}c((o=o.apply(n,e||[])).next())}))},D=function(n,e){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=e.call(n,a)}catch(n){r=[6,n],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])}}},O=i(),V=O.platform,R=new P(O);!function(){var n=this,e={platform:V,authMethod:"config",bridgeInit:"pc"===V?function(){return j(n,void 0,void 0,(function(){return D(this,(function(n){return C.init(),[2,x]}))}))}:function(){return new Promise((function(n,e){A((function(e){l("注册resume事件 "),e.registerHandler("resume",(function(n){l("resume监听到回调,相关参数 ",{resData:n}),S.execEvent("resume",n)})),l("注册unreadMsgAction事件 "),e.registerHandler("unreadMsgAction",(function(n){l("unreadMsgAction监听到回调,相关参数 ",{resData:n}),S.execEvent("unreadMsgAction",n)})),l("注册webViewMsgReceive事件 "),e.registerHandler("webViewMsgReceive",(function(n){l("webViewMsgReceive监听到回调,相关参数 ",{resData:n}),S.execEvent("webViewMsgReceive",n)})),e.registerHandler("pushWorkMsg",(function(n){l("pushWorkMsg监听到回调,相关参数 ",{resData:n}),S.execEvent("pushWorkMsg",n)})),e.registerHandler("getTogetherCallback",(function(n){l("getTogetherCallback监听到回调,相关参数 ",{resData:n}),S.execEvent("getTogetherCallback",n)})),e.registerHandler("sendMsgCommon",(function(n){l("sendMsgCommon ",{resData:n}),S.execEvent("sendMsgCommon",n)})),n()}))})).then((function(){return E}))},event:{on:function(n,e){S.on(n,e)},off:function(n,e){S.off(n,e)}}};R.setPlatform(e)}();var B={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};var W=function(n,e){var t=e.params,o=void 0===t?{}:t,i=e.platform,r=void 0===i?B:i;R.setAPI(n,r),R.invokeAPI(n,o)};function _(n){W("biz.util.openLink",{params:n})}function N(n){W("biz.util.feedback",{params:n})}function L(n){W("biz.util.open",{params:n})}var U={pc:{vs:"0.0.0"}};function H(n){W("biz.util.openSlidePanel",{params:n,platform:U})}var J={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Y(n){W("biz.util.share",{params:n,platform:J})}function q(n){W("biz.util.previewFile",{params:n})}function G(n){W("biz.util.previewImage",{params:n})}function K(n){W("biz.util.downloadFile",{params:n})}function $(n){W("biz.util.uploadAttachment",{params:n})}function X(n){W("biz.util.clipboardFileUpload",{params:n})}function Z(n){W("biz.util.proxy",{params:n})}var Q={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function nn(n){W("biz.util.datepicker",{params:n,platform:Q})}var en={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function tn(n){W("biz.util.datetimepicker",{params:n,platform:en})}var on={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function rn(n){W("biz.util.scan",{params:n,platform:on})}var an={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function sn(n){W("biz.map.view",{params:n,platform:an})}var cn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function un(n){W("biz.map.multipointView",{params:n,platform:cn})}var dn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function pn(n){W("biz.util.chosen",{params:n,platform:dn})}var ln={pc:{vs:"0.0.0"}};function fn(n){W("biz.util.openSingleWebview",{params:n,platform:ln})}function vn(n){W("biz.util.getSingleWebviewData",{params:n})}function mn(n){W("biz.util.injectScript",{params:n})}var gn={pc:{vs:"0.0.0"}};function hn(n){W("biz.util.closeWindow",{params:n,platform:gn})}var bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function wn(n){W("biz.util.remind",{params:n,platform:bn})}function yn(n){W("biz.util.takePicture",{params:n})}var kn={pc:{vs:"0.0.0"},ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Pn(n){W("biz.util.openVideoPlayer",{params:n,platform:kn})}function Sn(n){W("biz.util.openMediaFileDialog",{params:n})}function zn(n){W("biz.util.mediaFileUpload",{params:n})}function Cn(n){W("biz.util.invoice",{params:n})}function Tn(n){W("biz.util.pushWorkMsg",{params:n})}function In(n){W("biz.util.openTalYoungToTopic",{params:n})}var Mn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xn(n){W("biz.util.getToken",{params:n,platform:Mn})}var Fn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function An(n){W("biz.util.authStart",{params:n,platform:Fn})}var En={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jn(n){W("biz.util.authFinish",{params:n,platform:En})}var Dn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function On(n){W("biz.util.assistantCreate",{params:n,platform:Dn})}var Vn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Rn(n){W("biz.util.yachEvent",{params:n,platform:Vn})}var Bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Wn(n){W("biz.util.openTogetherEyeWebview",{params:n,platform:Bn})}var _n={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Nn(n){W("biz.util.getTogetherConfig",{params:n,platform:_n})}function Ln(n){W("biz.util.rouseApp",{params:n})}function Un(n){W("biz.util.externalLinkPreviewFile",{params:n})}var Hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Jn(n){W("biz.util.zfbAuth",{params:n,platform:Hn})}var Yn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function qn(n){W("biz.util.savePic",{params:n,platform:Yn})}function Gn(n){W("biz.util.complain",{params:n})}function Kn(n){W("biz.util.selectDepartment",{params:n})}var $n={pc:{vs:"0.0.0"}};function Xn(n){W("biz.util.createModifySchedule",{params:n,platform:$n})}var Zn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Qn(n){W("biz.util.openUserSchedule",{params:n,platform:Zn})}var ne={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function ee(n){W("onlineDocmentOpenTeamChat",{params:n,platform:ne})}var te={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.0"}};function oe(n){W("biz.util.entergroupCheck",{params:n,platform:te})}var ie={pc:{vs:"1.8.0"}};function re(n){W("biz.util.resetSessionUnread",{params:n,platform:ie})}var ae={pc:{vs:"1.9.3.1"},ios:{vs:"1.9.3.1"},android:{vs:"1.9.3.1"}};function se(n){W("biz.util.weeklyRead",{params:n,platform:ae})}var ce={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ue(n){W("biz.util.disableScreenCapture",{params:n,platform:ce})}var de={pc:{vs:"1.8.8"},ios:{vs:"1.8.8"},android:{vs:"1.8.8"}};function pe(n){W("biz.util.openFutureGroup",{params:n,platform:de})}var le={pc:{vs:"1.8.8"}};function fe(n){W("biz.util.knowledgeBaseSelect",{params:n,platform:le})}var ve=function(){return(ve=Object.assign||function(n){for(var e,t=1,o=arguments.length;t<o;t++)for(var i in e=arguments[t])Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}).apply(this,arguments)};function me(n){return function(e){return ve(ve({},n),e)}}var ge=me({control:!0,showIcon:!0,iconIndex:1}),he={ios:{vs:"0.0.0",paramsDeal:ge},android:{vs:"0.0.0",paramsDeal:ge}};function be(n){W("biz.navigation.setIcon",{params:n,platform:he})}function we(n){W("biz.navigation.setTitle",{params:n})}var ye=me({control:!0}),ke={ios:{vs:"0.0.0",paramsDeal:ye},android:{vs:"0.0.0",paramsDeal:ye}};function Pe(n){W("biz.navigation.setMenu",{params:n,platform:ke})}function Se(n){W("biz.navigation.close",{params:n})}function ze(n){W("biz.navigation.replace",{params:n})}var Ce={pc:{vs:"0.0.0"}};function Te(n){W("biz.navigation.quit",{params:n,platform:Ce})}var Ie=me({show:!0,control:!1,text:""}),Me={ios:{vs:"0.0.0",paramsDeal:Ie},android:{vs:"0.0.0",paramsDeal:Ie},pc:{vs:"0.0.0"}};function xe(n){W("biz.navigation.setRight",{params:n,platform:Me})}var Fe=me({control:!0}),Ae={ios:{vs:"0.0.0",paramsDeal:Fe},android:{vs:"0.0.0",paramsDeal:Fe}};function Ee(n){W("biz.navigation.setTitleExpandIcon",{params:n,platform:Ae})}function je(n){W("biz.navigation.updateExpandTitle",{params:n})}var De=me({show:!0,control:!1,text:""}),Oe={ios:{vs:"0.0.0",paramsDeal:De},android:{vs:"0.0.0",paramsDeal:De},pc:{vs:"0.0.0"}};function Ve(n){W("biz.navigation.setLeft",{params:n,platform:Oe})}var Re={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Be(n){W("biz.navigation.goBack",{params:n,platform:Re})}var We={pc:{vs:"0.0.0"}};function _e(n){W("biz.navigation.setWindowBig",{params:n,platform:We})}function Ne(n){W("biz.navigation.tencentMeeting",{params:n})}function Le(n){W("biz.navigation.tencentMeetingBegin",{params:n})}var Ue=me({nativePanEnable:!0,webPanEnable:!0}),He={ios:{vs:"0.0.0",paramsDeal:Ue},android:{vs:"0.0.0",paramsDeal:Ue}};function Je(n){W("biz.navigation.setPanGestureEnable",{params:n,platform:He})}function Ye(n){W("biz.contact.complexPicker",{params:n})}function qe(n){W("biz.contact.departmentsPicker",{params:n})}function Ge(n){W("biz.group.groupComplexPicker",{params:n})}function Ke(n){W("biz.chat.chooseConversationByCorpId",{params:n})}var $e={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Xe(n){W("biz.chat.pickConversation",{params:n,platform:$e})}function Ze(n){W("biz.chat.openSingleChat",{params:n})}function Qe(n){W("biz.chat.openTeamChat",{params:n})}function nt(n){W("biz.chat.openSquad",{params:n})}function et(n){W("biz.chat.sendP2PMsg",{params:n})}var tt={pc:{vs:"0.0.0"}};function ot(n){W("primary.createTab",{params:n,platform:tt})}var it={pc:{vs:"0.0.0"}};function rt(n){W("primary.weeklyShare",{params:n,platform:it})}var at={pc:{vs:"0.0.0"}};function st(n){W("primary.fullScreen",{params:n,platform:at})}var ct={pc:{vs:"0.0.0"}};function ut(n){W("primary.exitFullScreen",{params:n,platform:ct})}function dt(n){W("runtime.permission.requestAuthCode",{params:n})}var pt={vs:"1.9.9"},lt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:pt};function ft(n){W("device.notification.showPreloader",{params:n,platform:lt})}function vt(n){W("device.notification.showCustomOverlayContent",{params:n,platform:{pc:pt}})}var mt={vs:"1.9.9"},gt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:mt};function ht(n){W("device.notification.hidePreloader",{params:n,platform:gt})}function bt(n){W("device.notification.hideCustomOverlayContent",{params:n,platform:{pc:mt}})}var wt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function yt(n){W("device.notification.vibrate",{params:n,platform:wt})}function kt(n){W("device.notification.toast",{params:n})}var Pt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function St(n){W("device.notification.actionSheet",{params:n,platform:Pt})}var zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ct(n){W("device.base.getPhoneInfo",{params:n,platform:zt})}var Tt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function It(n){W("device.notification.alert",{params:n,platform:Tt})}var Mt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function xt(n){W("device.notification.confirm",{params:n,platform:Mt})}var Ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function At(n){W("device.geolocation.get",{params:n,platform:Ft})}var Et={android:{vs:"0.0.0"}};function jt(n){W("device.geolocation.getSwitch",{params:n,platform:Et})}function Dt(n){W("device.system.getLang",{params:n})}var Ot={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Vt(n){W("device.audio.startRecord",{params:n,platform:Ot})}var Rt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Bt(n){W("device.audio.stopRecord",{params:n,platform:Rt})}var Wt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function _t(n){W("device.audio.onRecordEnd",{params:n,platform:Wt})}var Nt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Lt(n){W("device.audio.download",{params:n,platform:Nt})}var Ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ht(n){W("device.audio.play",{params:n,platform:Ut})}var Jt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Yt(n){W("device.audio.pause",{params:n,platform:Jt})}var qt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Gt(n){W("device.audio.stop",{params:n,platform:qt})}var Kt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function $t(n){W("device.audio.onPlayEnd",{params:n,platform:Kt})}var Xt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Zt(n){W("device.audio.resume",{params:n,platform:Xt})}var Qt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function no(n){W("device.connection.getNetworkType",{params:n,platform:Qt})}var eo={pc:{vs:"0.0.0"}};function to(n){W("device.connection.isAtTal",{params:n,platform:eo})}var oo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.1"}};function io(n){W("device.base.getUUID",{params:n,platform:oo})}var ro={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ao(n){W("device.base.checkStepPermission",{params:n,platform:ro})}var so={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function co(n){W("device.audio.onRecordEnd_v2",{params:n,platform:so})}var uo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function po(n){W("device.audio.startRecord_v2",{params:n,platform:uo})}var lo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function fo(n){W("device.audio.stopRecord_v2",{params:n,platform:lo})}var vo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function mo(n){W("device.system.setLight",{params:n,platform:vo})}var go={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ho(n){W("biz.telephone.showCallMenu",{params:n,platform:go})}var bo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function wo(n){W("biz.telephone.call",{params:n,platform:bo})}var yo={ios:{vs:"0.0.0"}};function ko(n){W("ui.webViewBounce.disable",{params:n,platform:yo})}var Po={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function So(n){W("ui.pullToRefresh.enable",{params:n,platform:Po})}var zo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Co(n){W("ui.pullToRefresh.stop",{params:n,platform:zo})}var To={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Io(n){W("ui.pullToRefresh.disable",{params:n,platform:To})}var Mo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xo(n){W("util.domainStorage.getItem",{params:n,platform:Mo})}var Fo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ao(n){W("util.domainStorage.setItem",{params:n,platform:Fo})}var Eo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jo(n){W("util.domainStorage.removeItem",{params:n,platform:Eo})}var Do={pc:{vs:"1.7.0"}};function Oo(n){W("util.tool.writeLog",{params:n,platform:Do})}var Vo={pc:{vs:"1.7.0"}};function Ro(n){W("util.tool.flushLog",{params:n,platform:Vo})}var Bo={pc:{vs:"1.9.9"}};function Wo(n){W("biz.util.capturePage",{params:n,platform:Bo})}var _o={ios:{vs:"0.0.0"}};function No(n){W("biz.webViewMessage.send",{params:n,platform:_o})}function Lo(n){W("app.custom.talYoungFilesUpload",{params:n})}var Uo={ios:{vs:"1.8.8"},android:{vs:"1.8.8"},pc:{vs:"1.8.8"}};function Ho(n){W("biz.util.addAppToNav",{params:n,platform:Uo})}console.log("add rouseApp ------------\x3e",Ln);var Jo=R.exportSdk,Yo=Jo.version,qo=Jo.sdkVersion,Go=Jo.env,Ko=Jo.platform,$o=Jo.platformV2,Xo=Jo.config,Zo=Jo.ready,Qo=Jo.error,ni=Jo.on,ei=Jo.off;e.default={version:Yo,sdkVersion:qo,env:Go,platform:Ko,platformV2:$o,config:Xo,ready:Zo,error:Qo,on:ni,off:ei,biz:{util:{openLink:_,feedback:N,open:L,openSlidePanel:H,share:Y,previewFile:q,previewImage:G,downloadFile:K,uploadAttachment:$,clipboardFileUpload:X,proxy:Z,datepicker:nn,datetimepicker:tn,scan:rn,chosen:pn,openSingleWebview:fn,getSingleWebviewData:vn,injectScript:mn,onlineDocmentOpenTeamChat:ee,entergroupCheck:oe,resetSessionUnread:re,weeklyRead:se,openFutureGroup:pe,closeWindow:hn,remind:wn,takePicture:yn,openVideoPlayer:Pn,openMediaFileDialog:Sn,mediaFileUpload:zn,invoice:Cn,pushWorkMsg:Tn,openTalYoungToTopic:In,getToken:xn,authStart:An,authFinish:jn,assistantCreate:On,yachEvent:Rn,openTogetherEyeWebview:Wn,getTogetherConfig:Nn,rouseApp:Ln,externalLinkPreviewFile:Un,savePic:qn,zfbAuth:Jn,complain:Gn,selectDepartment:Kn,createModifySchedule:Xn,openUserSchedule:Qn,disableScreenCapture:ue,addAppToNav:Ho,knowledgeBaseSelect:fe,capturePage:Wo},telephone:{showCallMenu:ho,call:wo},navigation:{setIcon:be,setTitle:we,setMenu:Pe,close:Se,replace:ze,quit:Te,setRight:xe,setTitleExpandIcon:Ee,updateExpandTitle:je,setLeft:Ve,goBack:Be,setWindowBig:_e,tencentMeeting:Ne,tencentMeetingBegin:Le,setPanGestureEnable:Je},contact:{complexPicker:Ye,departmentsPicker:qe},group:{groupComplexPicker:Ge},chat:{chooseConversationByCorpId:Ke,pickConversation:Xe,openSingleChat:Ze,openTeamChat:Qe,openSquad:nt,sendP2PMsg:et},map:{view:sn,multipointView:un},webViewMessage:{send:No}},runtime:{permission:{requestAuthCode:dt}},primary:{createTab:ot,weeklyShare:rt,fullScreen:st,exitFullScreen:ut},device:{notification:{showPreloader:ft,showCustomOverlayContent:vt,hidePreloader:ht,hideCustomOverlayContent:bt,vibrate:yt,toast:kt,alert:It,confirm:xt,actionSheet:St},base:{getPhoneInfo:Ct,getUUID:io,checkStepPermission:ao},geolocation:{get:At,getSwitch:jt},system:{getLang:Dt,setLight:mo},audio:{startRecord:Vt,stopRecord:Bt,onRecordEnd:_t,download:Lt,play:Ht,pause:Yt,stop:Gt,onPlayEnd:$t,resume:Zt,onRecordEnd_v2:co,startRecord_v2:po,stopRecord_v2:fo},connection:{getNetworkType:no,isAtTal:to}},ui:{webViewBounce:{disable:ko},pullToRefresh:{enable:So,stop:Co,disable:Io}},util:{domainStorage:{getItem:xo,setItem:Ao,removeItem:jo},tool:{writeLog:Oo,flushLog:Ro}},app:{custom:{talYoungFilesUpload:Lo}}}}]).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,18 +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
-
12
- function talYoungFilesUpload(params) {
13
- initAPI(apiName, {
14
- params: params
15
- });
16
- }
17
-
18
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.chooseConversationByCorpId';
3
-
4
- function chooseConversationByCorpId(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openSingleChat';
3
-
4
- function openSingleChat(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openSquad';
3
-
4
- function openSquad(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.openTeamChat';
3
-
4
- function openTeamChat(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,21 +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
-
14
- function pickConversation(params) {
15
- initAPI(apiName, {
16
- params: params,
17
- platform: platform
18
- });
19
- }
20
-
21
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.chat.sendP2PMsg';
3
-
4
- function sendP2PMsg(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.contact.complexPicker';
3
-
4
- function complexPicker(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.contact.departmentsPicker';
3
-
4
- function departmentsPicker(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,10 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- var apiName = 'biz.group.groupComplexPicker';
3
-
4
- function groupComplexPicker(params) {
5
- initAPI(apiName, {
6
- params: params
7
- });
8
- }
9
-
10
- 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,21 +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
-
14
- function multipointView(params) {
15
- initAPI(apiName, {
16
- params: params,
17
- platform: platform
18
- });
19
- }
20
-
21
- 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,21 +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
-
14
- function view(params) {
15
- initAPI(apiName, {
16
- params: params,
17
- platform: platform
18
- });
19
- }
20
-
21
- export { view };
@@ -1,7 +0,0 @@
1
- import { IError } from '../../common.typings';
2
- export interface IBizNavigationCloseParams {
3
- onSuccess?: () => void;
4
- onFail?: (err: IError) => void;
5
- }
6
- declare function close(params?: IBizNavigationCloseParams): void;
7
- export { close };
@@ -1,11 +0,0 @@
1
- import initAPI from '../../initAPI';
2
- ;
3
- var apiName = 'biz.navigation.close';
4
-
5
- function close(params) {
6
- initAPI(apiName, {
7
- params: params
8
- });
9
- }
10
-
11
- 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 };