yach.open.jssdk 4.3.2 → 4.3.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 (542) hide show
  1. package/dist/yach_jssdk_4.3.3-beta1.js +1 -0
  2. package/es/api/app/custom/talYoungFilesUpload.d.ts +38 -0
  3. package/es/api/app/custom/talYoungFilesUpload.js +16 -0
  4. package/es/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
  5. package/es/api/biz/chat/chooseConversationByCorpId.js +8 -0
  6. package/es/api/biz/chat/openSingleChat.d.ts +10 -0
  7. package/es/api/biz/chat/openSingleChat.js +8 -0
  8. package/es/api/biz/chat/openSquad.d.ts +8 -0
  9. package/es/api/biz/chat/openSquad.js +8 -0
  10. package/es/api/biz/chat/openTeamChat.d.ts +10 -0
  11. package/es/api/biz/chat/openTeamChat.js +8 -0
  12. package/es/api/biz/chat/pickConversation.d.ts +19 -0
  13. package/es/api/biz/chat/pickConversation.js +19 -0
  14. package/es/api/biz/chat/sendP2PMsg.d.ts +10 -0
  15. package/es/api/biz/chat/sendP2PMsg.js +8 -0
  16. package/es/api/biz/contact/complexPicker.d.ts +62 -0
  17. package/es/api/biz/contact/complexPicker.js +8 -0
  18. package/es/api/biz/contact/departmentsPicker.d.ts +35 -0
  19. package/es/api/biz/contact/departmentsPicker.js +8 -0
  20. package/es/api/biz/group/groupComplexPicker.d.ts +33 -0
  21. package/es/api/biz/group/groupComplexPicker.js +8 -0
  22. package/es/api/biz/map/multipointView.d.ts +21 -0
  23. package/es/api/biz/map/multipointView.js +19 -0
  24. package/es/api/biz/map/view.d.ts +13 -0
  25. package/es/api/biz/map/view.js +19 -0
  26. package/es/api/biz/navigation/close.d.ts +7 -0
  27. package/es/api/biz/navigation/close.js +9 -0
  28. package/es/api/biz/navigation/goBack.d.ts +7 -0
  29. package/es/api/biz/navigation/goBack.js +19 -0
  30. package/es/api/biz/navigation/quit.d.ts +8 -0
  31. package/es/api/biz/navigation/quit.js +15 -0
  32. package/es/api/biz/navigation/replace.d.ts +8 -0
  33. package/es/api/biz/navigation/replace.js +8 -0
  34. package/es/api/biz/navigation/setIcon.d.ts +12 -0
  35. package/es/api/biz/navigation/setIcon.js +27 -0
  36. package/es/api/biz/navigation/setLeft.d.ts +9 -0
  37. package/es/api/biz/navigation/setLeft.js +31 -0
  38. package/es/api/biz/navigation/setMenu.d.ts +20 -0
  39. package/es/api/biz/navigation/setMenu.js +25 -0
  40. package/es/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
  41. package/es/api/biz/navigation/setPanGestureEnable.js +26 -0
  42. package/es/api/biz/navigation/setRight.d.ts +13 -0
  43. package/es/api/biz/navigation/setRight.js +31 -0
  44. package/es/api/biz/navigation/setTitle.d.ts +11 -0
  45. package/es/api/biz/navigation/setTitle.js +8 -0
  46. package/es/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
  47. package/es/api/biz/navigation/setTitleExpandIcon.js +25 -0
  48. package/es/api/biz/navigation/setWindowBig.d.ts +9 -0
  49. package/es/api/biz/navigation/setWindowBig.js +16 -0
  50. package/es/api/biz/navigation/tencentMeeting.d.ts +22 -0
  51. package/es/api/biz/navigation/tencentMeeting.js +8 -0
  52. package/es/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
  53. package/es/api/biz/navigation/tencentMeetingBegin.js +8 -0
  54. package/es/api/biz/navigation/updateExpandTitle.d.ts +8 -0
  55. package/es/api/biz/navigation/updateExpandTitle.js +8 -0
  56. package/es/api/biz/telephone/call.d.ts +9 -0
  57. package/es/api/biz/telephone/call.js +19 -0
  58. package/es/api/biz/telephone/showCallMenu.d.ts +12 -0
  59. package/es/api/biz/telephone/showCallMenu.js +19 -0
  60. package/es/api/biz/util/assistantCreate.d.ts +11 -0
  61. package/es/api/biz/util/assistantCreate.js +23 -0
  62. package/es/api/biz/util/authFinish.d.ts +11 -0
  63. package/es/api/biz/util/authFinish.js +19 -0
  64. package/es/api/biz/util/authStart.d.ts +9 -0
  65. package/es/api/biz/util/authStart.js +19 -0
  66. package/es/api/biz/util/chosen.d.ts +15 -0
  67. package/es/api/biz/util/chosen.js +19 -0
  68. package/es/api/biz/util/clipboardFileUpload.d.ts +7 -0
  69. package/es/api/biz/util/clipboardFileUpload.js +8 -0
  70. package/es/api/biz/util/closeWindow.d.ts +8 -0
  71. package/es/api/biz/util/closeWindow.js +15 -0
  72. package/es/api/biz/util/complain.d.ts +12 -0
  73. package/es/api/biz/util/complain.js +8 -0
  74. package/es/api/biz/util/createModifySchedule.d.ts +26 -0
  75. package/es/api/biz/util/createModifySchedule.js +15 -0
  76. package/es/api/biz/util/datepicker.d.ts +14 -0
  77. package/es/api/biz/util/datepicker.js +19 -0
  78. package/es/api/biz/util/datetimepicker.d.ts +14 -0
  79. package/es/api/biz/util/datetimepicker.js +19 -0
  80. package/es/api/biz/util/disableScreenCapture.d.ts +8 -0
  81. package/es/api/biz/util/disableScreenCapture.js +19 -0
  82. package/es/api/biz/util/downloadFile.d.ts +9 -0
  83. package/es/api/biz/util/downloadFile.js +8 -0
  84. package/es/api/biz/util/entergroupCheck.d.ts +10 -0
  85. package/es/api/biz/util/entergroupCheck.js +23 -0
  86. package/es/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
  87. package/es/api/biz/util/externalLinkPreviewFile.js +8 -0
  88. package/es/api/biz/util/feedback.d.ts +11 -0
  89. package/es/api/biz/util/feedback.js +8 -0
  90. package/es/api/biz/util/getSingleWebviewData.d.ts +8 -0
  91. package/es/api/biz/util/getSingleWebviewData.js +8 -0
  92. package/es/api/biz/util/getTogetherConfig.d.ts +11 -0
  93. package/es/api/biz/util/getTogetherConfig.js +23 -0
  94. package/es/api/biz/util/getToken.d.ts +11 -0
  95. package/es/api/biz/util/getToken.js +19 -0
  96. package/es/api/biz/util/injectScript.d.ts +9 -0
  97. package/es/api/biz/util/injectScript.js +8 -0
  98. package/es/api/biz/util/invoice.d.ts +12 -0
  99. package/es/api/biz/util/invoice.js +15 -0
  100. package/es/api/biz/util/mediaFileUpload.d.ts +26 -0
  101. package/es/api/biz/util/mediaFileUpload.js +15 -0
  102. package/es/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
  103. package/es/api/biz/util/onlineDocmentOpenTeamChat.js +23 -0
  104. package/es/api/biz/util/open.d.ts +9 -0
  105. package/es/api/biz/util/open.js +8 -0
  106. package/es/api/biz/util/openLink.d.ts +8 -0
  107. package/es/api/biz/util/openLink.js +8 -0
  108. package/es/api/biz/util/openMediaFileDialog.d.ts +23 -0
  109. package/es/api/biz/util/openMediaFileDialog.js +15 -0
  110. package/es/api/biz/util/openSingleWebview.d.ts +23 -0
  111. package/es/api/biz/util/openSingleWebview.js +15 -0
  112. package/es/api/biz/util/openSlidePanel.d.ts +11 -0
  113. package/es/api/biz/util/openSlidePanel.js +15 -0
  114. package/es/api/biz/util/openTalYoungToTopic.d.ts +6 -0
  115. package/es/api/biz/util/openTalYoungToTopic.js +15 -0
  116. package/es/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
  117. package/es/api/biz/util/openTogetherEyeWebview.js +23 -0
  118. package/es/api/biz/util/openUserSchedule.d.ts +11 -0
  119. package/es/api/biz/util/openUserSchedule.js +23 -0
  120. package/es/api/biz/util/openVideoPlayer.d.ts +27 -0
  121. package/es/api/biz/util/openVideoPlayer.js +23 -0
  122. package/es/api/biz/util/previewFile.d.ts +11 -0
  123. package/es/api/biz/util/previewFile.js +8 -0
  124. package/es/api/biz/util/previewImage.d.ts +9 -0
  125. package/es/api/biz/util/previewImage.js +8 -0
  126. package/es/api/biz/util/proxy.d.ts +13 -0
  127. package/es/api/biz/util/proxy.js +8 -0
  128. package/es/api/biz/util/pushWorkMsg.d.ts +10 -0
  129. package/es/api/biz/util/pushWorkMsg.js +15 -0
  130. package/es/api/biz/util/remind.d.ts +15 -0
  131. package/es/api/biz/util/remind.js +23 -0
  132. package/es/api/biz/util/rouseApp.d.ts +12 -0
  133. package/es/api/biz/util/rouseApp.js +15 -0
  134. package/es/api/biz/util/savePic.d.ts +8 -0
  135. package/es/api/biz/util/savePic.js +19 -0
  136. package/es/api/biz/util/scan.d.ts +11 -0
  137. package/es/api/biz/util/scan.js +19 -0
  138. package/es/api/biz/util/selectDepartment.d.ts +9 -0
  139. package/es/api/biz/util/selectDepartment.js +8 -0
  140. package/es/api/biz/util/share.d.ts +12 -0
  141. package/es/api/biz/util/share.js +19 -0
  142. package/es/api/biz/util/takePicture.d.ts +13 -0
  143. package/es/api/biz/util/takePicture.js +8 -0
  144. package/es/api/biz/util/uploadAttachment.d.ts +55 -0
  145. package/es/api/biz/util/uploadAttachment.js +8 -0
  146. package/es/api/biz/util/yachEvent.d.ts +12 -0
  147. package/es/api/biz/util/yachEvent.js +27 -0
  148. package/es/api/biz/util/zfbAuth.d.ts +10 -0
  149. package/es/api/biz/util/zfbAuth.js +19 -0
  150. package/es/api/biz/webViewMessage/send.d.ts +7 -0
  151. package/es/api/biz/webViewMessage/send.js +15 -0
  152. package/es/api/common.typings.d.ts +9 -0
  153. package/es/api/common.typings.js +0 -0
  154. package/es/api/device/audio/download.d.ts +8 -0
  155. package/es/api/device/audio/download.js +19 -0
  156. package/es/api/device/audio/onPlayEnd.d.ts +7 -0
  157. package/es/api/device/audio/onPlayEnd.js +19 -0
  158. package/es/api/device/audio/onRecordEnd.d.ts +7 -0
  159. package/es/api/device/audio/onRecordEnd.js +19 -0
  160. package/es/api/device/audio/onRecordEnd_v2.d.ts +7 -0
  161. package/es/api/device/audio/onRecordEnd_v2.js +19 -0
  162. package/es/api/device/audio/pause.d.ts +8 -0
  163. package/es/api/device/audio/pause.js +19 -0
  164. package/es/api/device/audio/play.d.ts +8 -0
  165. package/es/api/device/audio/play.js +19 -0
  166. package/es/api/device/audio/resume.d.ts +8 -0
  167. package/es/api/device/audio/resume.js +19 -0
  168. package/es/api/device/audio/startRecord.d.ts +8 -0
  169. package/es/api/device/audio/startRecord.js +19 -0
  170. package/es/api/device/audio/startRecord_v2.d.ts +8 -0
  171. package/es/api/device/audio/startRecord_v2.js +19 -0
  172. package/es/api/device/audio/stop.d.ts +8 -0
  173. package/es/api/device/audio/stop.js +19 -0
  174. package/es/api/device/audio/stopRecord.d.ts +7 -0
  175. package/es/api/device/audio/stopRecord.js +19 -0
  176. package/es/api/device/audio/stopRecord_v2.d.ts +7 -0
  177. package/es/api/device/audio/stopRecord_v2.js +19 -0
  178. package/es/api/device/base/checkStepPermission.d.ts +8 -0
  179. package/es/api/device/base/checkStepPermission.js +19 -0
  180. package/es/api/device/base/getPhoneInfo.d.ts +16 -0
  181. package/es/api/device/base/getPhoneInfo.js +19 -0
  182. package/es/api/device/base/getUUID.d.ts +10 -0
  183. package/es/api/device/base/getUUID.js +23 -0
  184. package/es/api/device/connection/getNetworkType.d.ts +10 -0
  185. package/es/api/device/connection/getNetworkType.js +19 -0
  186. package/es/api/device/connection/isAtTal.d.ts +10 -0
  187. package/es/api/device/connection/isAtTal.js +21 -0
  188. package/es/api/device/geolocation/get.d.ts +42 -0
  189. package/es/api/device/geolocation/get.js +19 -0
  190. package/es/api/device/geolocation/getSwitch.d.ts +10 -0
  191. package/es/api/device/geolocation/getSwitch.js +15 -0
  192. package/es/api/device/notification/actionSheet.d.ts +15 -0
  193. package/es/api/device/notification/actionSheet.js +19 -0
  194. package/es/api/device/notification/alert.d.ts +13 -0
  195. package/es/api/device/notification/alert.js +23 -0
  196. package/es/api/device/notification/confirm.d.ts +16 -0
  197. package/es/api/device/notification/confirm.js +23 -0
  198. package/es/api/device/notification/hidePreloader.d.ts +7 -0
  199. package/es/api/device/notification/hidePreloader.js +19 -0
  200. package/es/api/device/notification/showPreloader.d.ts +9 -0
  201. package/es/api/device/notification/showPreloader.js +19 -0
  202. package/es/api/device/notification/toast.d.ts +15 -0
  203. package/es/api/device/notification/toast.js +8 -0
  204. package/es/api/device/notification/vibrate.d.ts +8 -0
  205. package/es/api/device/notification/vibrate.js +19 -0
  206. package/es/api/device/system/getLang.d.ts +10 -0
  207. package/es/api/device/system/getLang.js +8 -0
  208. package/es/api/device/system/setLight.d.ts +8 -0
  209. package/es/api/device/system/setLight.js +19 -0
  210. package/es/api/initAPI.d.ts +6 -0
  211. package/es/api/initAPI.js +22 -0
  212. package/es/api/primary/createTab.d.ts +13 -0
  213. package/es/api/primary/createTab.js +15 -0
  214. package/es/api/primary/exitFullScreen.d.ts +7 -0
  215. package/es/api/primary/exitFullScreen.js +15 -0
  216. package/es/api/primary/fullScreen.d.ts +7 -0
  217. package/es/api/primary/fullScreen.js +15 -0
  218. package/es/api/primary/weeklyShare.d.ts +13 -0
  219. package/es/api/primary/weeklyShare.js +15 -0
  220. package/es/api/runtime/permission/requestAuthCode.d.ts +12 -0
  221. package/es/api/runtime/permission/requestAuthCode.js +8 -0
  222. package/es/api/ui/pullToRefresh/disable.d.ts +7 -0
  223. package/es/api/ui/pullToRefresh/disable.js +19 -0
  224. package/es/api/ui/pullToRefresh/enable.d.ts +7 -0
  225. package/es/api/ui/pullToRefresh/enable.js +19 -0
  226. package/es/api/ui/pullToRefresh/stop.d.ts +7 -0
  227. package/es/api/ui/pullToRefresh/stop.js +19 -0
  228. package/es/api/ui/webViewBounce/disable.d.ts +7 -0
  229. package/es/api/ui/webViewBounce/disable.js +15 -0
  230. package/es/api/util/domainStorage/getItem.d.ts +12 -0
  231. package/es/api/util/domainStorage/getItem.js +19 -0
  232. package/es/api/util/domainStorage/removeItem.d.ts +9 -0
  233. package/es/api/util/domainStorage/removeItem.js +19 -0
  234. package/es/api/util/domainStorage/setItem.d.ts +11 -0
  235. package/es/api/util/domainStorage/setItem.js +19 -0
  236. package/es/api/util/tool/flushLog.d.ts +7 -0
  237. package/es/api/util/tool/flushLog.js +15 -0
  238. package/es/api/util/tool/log.d.ts +9 -0
  239. package/es/api/util/tool/log.js +15 -0
  240. package/es/index.d.ts +311 -0
  241. package/es/index.js +327 -0
  242. package/es/lib/bridge/index.d.ts +2 -0
  243. package/es/lib/bridge/index.js +2 -0
  244. package/es/lib/bridge/mobile.d.ts +13 -0
  245. package/es/lib/bridge/mobile.js +169 -0
  246. package/es/lib/bridge/pc.d.ts +4 -0
  247. package/es/lib/bridge/pc.js +81 -0
  248. package/es/lib/helper/apiHelper.d.ts +2 -0
  249. package/es/lib/helper/apiHelper.js +8 -0
  250. package/es/lib/helper/codeMap.d.ts +2 -0
  251. package/es/lib/helper/codeMap.js +6 -0
  252. package/es/lib/helper/event.d.ts +9 -0
  253. package/es/lib/helper/event.js +40 -0
  254. package/es/lib/helper/pcIframe.d.ts +44 -0
  255. package/es/lib/helper/pcIframe.js +148 -0
  256. package/es/lib/index.d.ts +4 -0
  257. package/es/lib/index.js +78 -0
  258. package/es/lib/sdk/index.d.ts +19 -0
  259. package/es/lib/sdk/index.js +170 -0
  260. package/es/lib/sdk/sdk.typings.d.ts +85 -0
  261. package/es/lib/sdk/sdk.typings.js +7 -0
  262. package/es/utils/bpitLog.d.ts +16 -0
  263. package/es/utils/bpitLog.js +62 -0
  264. package/es/utils/compareVersions.d.ts +58 -0
  265. package/es/utils/compareVersions.js +165 -0
  266. package/es/utils/console.d.ts +4 -0
  267. package/es/utils/console.js +44 -0
  268. package/es/utils/env.d.ts +3 -0
  269. package/es/utils/env.js +45 -0
  270. package/es/utils/index.d.ts +4 -0
  271. package/es/utils/index.js +20 -0
  272. package/libs/api/app/custom/talYoungFilesUpload.d.ts +38 -0
  273. package/libs/api/app/custom/talYoungFilesUpload.js +24 -0
  274. package/libs/api/biz/chat/chooseConversationByCorpId.d.ts +36 -0
  275. package/libs/api/biz/chat/chooseConversationByCorpId.js +15 -0
  276. package/libs/api/biz/chat/openSingleChat.d.ts +10 -0
  277. package/libs/api/biz/chat/openSingleChat.js +15 -0
  278. package/libs/api/biz/chat/openSquad.d.ts +8 -0
  279. package/libs/api/biz/chat/openSquad.js +15 -0
  280. package/libs/api/biz/chat/openTeamChat.d.ts +10 -0
  281. package/libs/api/biz/chat/openTeamChat.js +15 -0
  282. package/libs/api/biz/chat/pickConversation.d.ts +19 -0
  283. package/libs/api/biz/chat/pickConversation.js +26 -0
  284. package/libs/api/biz/chat/sendP2PMsg.d.ts +10 -0
  285. package/libs/api/biz/chat/sendP2PMsg.js +15 -0
  286. package/libs/api/biz/contact/complexPicker.d.ts +62 -0
  287. package/libs/api/biz/contact/complexPicker.js +15 -0
  288. package/libs/api/biz/contact/departmentsPicker.d.ts +35 -0
  289. package/libs/api/biz/contact/departmentsPicker.js +15 -0
  290. package/libs/api/biz/group/groupComplexPicker.d.ts +33 -0
  291. package/libs/api/biz/group/groupComplexPicker.js +15 -0
  292. package/libs/api/biz/map/multipointView.d.ts +21 -0
  293. package/libs/api/biz/map/multipointView.js +26 -0
  294. package/libs/api/biz/map/view.d.ts +13 -0
  295. package/libs/api/biz/map/view.js +26 -0
  296. package/libs/api/biz/navigation/close.d.ts +7 -0
  297. package/libs/api/biz/navigation/close.js +16 -0
  298. package/libs/api/biz/navigation/goBack.d.ts +7 -0
  299. package/libs/api/biz/navigation/goBack.js +26 -0
  300. package/libs/api/biz/navigation/quit.d.ts +8 -0
  301. package/libs/api/biz/navigation/quit.js +22 -0
  302. package/libs/api/biz/navigation/replace.d.ts +8 -0
  303. package/libs/api/biz/navigation/replace.js +15 -0
  304. package/libs/api/biz/navigation/setIcon.d.ts +12 -0
  305. package/libs/api/biz/navigation/setIcon.js +34 -0
  306. package/libs/api/biz/navigation/setLeft.d.ts +9 -0
  307. package/libs/api/biz/navigation/setLeft.js +38 -0
  308. package/libs/api/biz/navigation/setMenu.d.ts +20 -0
  309. package/libs/api/biz/navigation/setMenu.js +32 -0
  310. package/libs/api/biz/navigation/setPanGestureEnable.d.ts +9 -0
  311. package/libs/api/biz/navigation/setPanGestureEnable.js +33 -0
  312. package/libs/api/biz/navigation/setRight.d.ts +13 -0
  313. package/libs/api/biz/navigation/setRight.js +38 -0
  314. package/libs/api/biz/navigation/setTitle.d.ts +11 -0
  315. package/libs/api/biz/navigation/setTitle.js +15 -0
  316. package/libs/api/biz/navigation/setTitleExpandIcon.d.ts +9 -0
  317. package/libs/api/biz/navigation/setTitleExpandIcon.js +32 -0
  318. package/libs/api/biz/navigation/setWindowBig.d.ts +9 -0
  319. package/libs/api/biz/navigation/setWindowBig.js +24 -0
  320. package/libs/api/biz/navigation/tencentMeeting.d.ts +22 -0
  321. package/libs/api/biz/navigation/tencentMeeting.js +15 -0
  322. package/libs/api/biz/navigation/tencentMeetingBegin.d.ts +7 -0
  323. package/libs/api/biz/navigation/tencentMeetingBegin.js +15 -0
  324. package/libs/api/biz/navigation/updateExpandTitle.d.ts +8 -0
  325. package/libs/api/biz/navigation/updateExpandTitle.js +15 -0
  326. package/libs/api/biz/telephone/call.d.ts +9 -0
  327. package/libs/api/biz/telephone/call.js +26 -0
  328. package/libs/api/biz/telephone/showCallMenu.d.ts +12 -0
  329. package/libs/api/biz/telephone/showCallMenu.js +26 -0
  330. package/libs/api/biz/util/assistantCreate.d.ts +11 -0
  331. package/libs/api/biz/util/assistantCreate.js +30 -0
  332. package/libs/api/biz/util/authFinish.d.ts +11 -0
  333. package/libs/api/biz/util/authFinish.js +26 -0
  334. package/libs/api/biz/util/authStart.d.ts +9 -0
  335. package/libs/api/biz/util/authStart.js +26 -0
  336. package/libs/api/biz/util/chosen.d.ts +15 -0
  337. package/libs/api/biz/util/chosen.js +26 -0
  338. package/libs/api/biz/util/clipboardFileUpload.d.ts +7 -0
  339. package/libs/api/biz/util/clipboardFileUpload.js +15 -0
  340. package/libs/api/biz/util/closeWindow.d.ts +8 -0
  341. package/libs/api/biz/util/closeWindow.js +22 -0
  342. package/libs/api/biz/util/complain.d.ts +12 -0
  343. package/libs/api/biz/util/complain.js +15 -0
  344. package/libs/api/biz/util/createModifySchedule.d.ts +26 -0
  345. package/libs/api/biz/util/createModifySchedule.js +22 -0
  346. package/libs/api/biz/util/datepicker.d.ts +14 -0
  347. package/libs/api/biz/util/datepicker.js +26 -0
  348. package/libs/api/biz/util/datetimepicker.d.ts +14 -0
  349. package/libs/api/biz/util/datetimepicker.js +26 -0
  350. package/libs/api/biz/util/disableScreenCapture.d.ts +8 -0
  351. package/libs/api/biz/util/disableScreenCapture.js +26 -0
  352. package/libs/api/biz/util/downloadFile.d.ts +9 -0
  353. package/libs/api/biz/util/downloadFile.js +15 -0
  354. package/libs/api/biz/util/entergroupCheck.d.ts +10 -0
  355. package/libs/api/biz/util/entergroupCheck.js +30 -0
  356. package/libs/api/biz/util/externalLinkPreviewFile.d.ts +11 -0
  357. package/libs/api/biz/util/externalLinkPreviewFile.js +15 -0
  358. package/libs/api/biz/util/feedback.d.ts +11 -0
  359. package/libs/api/biz/util/feedback.js +15 -0
  360. package/libs/api/biz/util/getSingleWebviewData.d.ts +8 -0
  361. package/libs/api/biz/util/getSingleWebviewData.js +15 -0
  362. package/libs/api/biz/util/getTogetherConfig.d.ts +11 -0
  363. package/libs/api/biz/util/getTogetherConfig.js +30 -0
  364. package/libs/api/biz/util/getToken.d.ts +11 -0
  365. package/libs/api/biz/util/getToken.js +26 -0
  366. package/libs/api/biz/util/injectScript.d.ts +9 -0
  367. package/libs/api/biz/util/injectScript.js +15 -0
  368. package/libs/api/biz/util/invoice.d.ts +12 -0
  369. package/libs/api/biz/util/invoice.js +23 -0
  370. package/libs/api/biz/util/mediaFileUpload.d.ts +26 -0
  371. package/libs/api/biz/util/mediaFileUpload.js +23 -0
  372. package/libs/api/biz/util/onlineDocmentOpenTeamChat.d.ts +10 -0
  373. package/libs/api/biz/util/onlineDocmentOpenTeamChat.js +30 -0
  374. package/libs/api/biz/util/open.d.ts +9 -0
  375. package/libs/api/biz/util/open.js +15 -0
  376. package/libs/api/biz/util/openLink.d.ts +8 -0
  377. package/libs/api/biz/util/openLink.js +15 -0
  378. package/libs/api/biz/util/openMediaFileDialog.d.ts +23 -0
  379. package/libs/api/biz/util/openMediaFileDialog.js +23 -0
  380. package/libs/api/biz/util/openSingleWebview.d.ts +23 -0
  381. package/libs/api/biz/util/openSingleWebview.js +22 -0
  382. package/libs/api/biz/util/openSlidePanel.d.ts +11 -0
  383. package/libs/api/biz/util/openSlidePanel.js +22 -0
  384. package/libs/api/biz/util/openTalYoungToTopic.d.ts +6 -0
  385. package/libs/api/biz/util/openTalYoungToTopic.js +23 -0
  386. package/libs/api/biz/util/openTogetherEyeWebview.d.ts +11 -0
  387. package/libs/api/biz/util/openTogetherEyeWebview.js +30 -0
  388. package/libs/api/biz/util/openUserSchedule.d.ts +11 -0
  389. package/libs/api/biz/util/openUserSchedule.js +30 -0
  390. package/libs/api/biz/util/openVideoPlayer.d.ts +27 -0
  391. package/libs/api/biz/util/openVideoPlayer.js +30 -0
  392. package/libs/api/biz/util/previewFile.d.ts +11 -0
  393. package/libs/api/biz/util/previewFile.js +15 -0
  394. package/libs/api/biz/util/previewImage.d.ts +9 -0
  395. package/libs/api/biz/util/previewImage.js +15 -0
  396. package/libs/api/biz/util/proxy.d.ts +13 -0
  397. package/libs/api/biz/util/proxy.js +15 -0
  398. package/libs/api/biz/util/pushWorkMsg.d.ts +10 -0
  399. package/libs/api/biz/util/pushWorkMsg.js +23 -0
  400. package/libs/api/biz/util/remind.d.ts +15 -0
  401. package/libs/api/biz/util/remind.js +30 -0
  402. package/libs/api/biz/util/rouseApp.d.ts +12 -0
  403. package/libs/api/biz/util/rouseApp.js +23 -0
  404. package/libs/api/biz/util/savePic.d.ts +8 -0
  405. package/libs/api/biz/util/savePic.js +26 -0
  406. package/libs/api/biz/util/scan.d.ts +11 -0
  407. package/libs/api/biz/util/scan.js +26 -0
  408. package/libs/api/biz/util/selectDepartment.d.ts +9 -0
  409. package/libs/api/biz/util/selectDepartment.js +15 -0
  410. package/libs/api/biz/util/share.d.ts +12 -0
  411. package/libs/api/biz/util/share.js +26 -0
  412. package/libs/api/biz/util/takePicture.d.ts +13 -0
  413. package/libs/api/biz/util/takePicture.js +15 -0
  414. package/libs/api/biz/util/uploadAttachment.d.ts +55 -0
  415. package/libs/api/biz/util/uploadAttachment.js +15 -0
  416. package/libs/api/biz/util/yachEvent.d.ts +12 -0
  417. package/libs/api/biz/util/yachEvent.js +34 -0
  418. package/libs/api/biz/util/zfbAuth.d.ts +10 -0
  419. package/libs/api/biz/util/zfbAuth.js +26 -0
  420. package/libs/api/biz/webViewMessage/send.d.ts +7 -0
  421. package/libs/api/biz/webViewMessage/send.js +22 -0
  422. package/libs/api/common.typings.d.ts +9 -0
  423. package/libs/api/common.typings.js +1 -0
  424. package/libs/api/device/audio/download.d.ts +8 -0
  425. package/libs/api/device/audio/download.js +26 -0
  426. package/libs/api/device/audio/onPlayEnd.d.ts +7 -0
  427. package/libs/api/device/audio/onPlayEnd.js +26 -0
  428. package/libs/api/device/audio/onRecordEnd.d.ts +7 -0
  429. package/libs/api/device/audio/onRecordEnd.js +26 -0
  430. package/libs/api/device/audio/onRecordEnd_v2.d.ts +7 -0
  431. package/libs/api/device/audio/onRecordEnd_v2.js +26 -0
  432. package/libs/api/device/audio/pause.d.ts +8 -0
  433. package/libs/api/device/audio/pause.js +26 -0
  434. package/libs/api/device/audio/play.d.ts +8 -0
  435. package/libs/api/device/audio/play.js +26 -0
  436. package/libs/api/device/audio/resume.d.ts +8 -0
  437. package/libs/api/device/audio/resume.js +26 -0
  438. package/libs/api/device/audio/startRecord.d.ts +8 -0
  439. package/libs/api/device/audio/startRecord.js +26 -0
  440. package/libs/api/device/audio/startRecord_v2.d.ts +8 -0
  441. package/libs/api/device/audio/startRecord_v2.js +26 -0
  442. package/libs/api/device/audio/stop.d.ts +8 -0
  443. package/libs/api/device/audio/stop.js +26 -0
  444. package/libs/api/device/audio/stopRecord.d.ts +7 -0
  445. package/libs/api/device/audio/stopRecord.js +26 -0
  446. package/libs/api/device/audio/stopRecord_v2.d.ts +7 -0
  447. package/libs/api/device/audio/stopRecord_v2.js +26 -0
  448. package/libs/api/device/base/checkStepPermission.d.ts +8 -0
  449. package/libs/api/device/base/checkStepPermission.js +26 -0
  450. package/libs/api/device/base/getPhoneInfo.d.ts +16 -0
  451. package/libs/api/device/base/getPhoneInfo.js +26 -0
  452. package/libs/api/device/base/getUUID.d.ts +10 -0
  453. package/libs/api/device/base/getUUID.js +30 -0
  454. package/libs/api/device/connection/getNetworkType.d.ts +10 -0
  455. package/libs/api/device/connection/getNetworkType.js +26 -0
  456. package/libs/api/device/connection/isAtTal.d.ts +10 -0
  457. package/libs/api/device/connection/isAtTal.js +28 -0
  458. package/libs/api/device/geolocation/get.d.ts +42 -0
  459. package/libs/api/device/geolocation/get.js +26 -0
  460. package/libs/api/device/geolocation/getSwitch.d.ts +10 -0
  461. package/libs/api/device/geolocation/getSwitch.js +22 -0
  462. package/libs/api/device/notification/actionSheet.d.ts +15 -0
  463. package/libs/api/device/notification/actionSheet.js +26 -0
  464. package/libs/api/device/notification/alert.d.ts +13 -0
  465. package/libs/api/device/notification/alert.js +30 -0
  466. package/libs/api/device/notification/confirm.d.ts +16 -0
  467. package/libs/api/device/notification/confirm.js +30 -0
  468. package/libs/api/device/notification/hidePreloader.d.ts +7 -0
  469. package/libs/api/device/notification/hidePreloader.js +26 -0
  470. package/libs/api/device/notification/showPreloader.d.ts +9 -0
  471. package/libs/api/device/notification/showPreloader.js +26 -0
  472. package/libs/api/device/notification/toast.d.ts +15 -0
  473. package/libs/api/device/notification/toast.js +15 -0
  474. package/libs/api/device/notification/vibrate.d.ts +8 -0
  475. package/libs/api/device/notification/vibrate.js +26 -0
  476. package/libs/api/device/system/getLang.d.ts +10 -0
  477. package/libs/api/device/system/getLang.js +15 -0
  478. package/libs/api/device/system/setLight.d.ts +8 -0
  479. package/libs/api/device/system/setLight.js +26 -0
  480. package/libs/api/initAPI.d.ts +6 -0
  481. package/libs/api/initAPI.js +29 -0
  482. package/libs/api/primary/createTab.d.ts +13 -0
  483. package/libs/api/primary/createTab.js +22 -0
  484. package/libs/api/primary/exitFullScreen.d.ts +7 -0
  485. package/libs/api/primary/exitFullScreen.js +22 -0
  486. package/libs/api/primary/fullScreen.d.ts +7 -0
  487. package/libs/api/primary/fullScreen.js +22 -0
  488. package/libs/api/primary/weeklyShare.d.ts +13 -0
  489. package/libs/api/primary/weeklyShare.js +22 -0
  490. package/libs/api/runtime/permission/requestAuthCode.d.ts +12 -0
  491. package/libs/api/runtime/permission/requestAuthCode.js +15 -0
  492. package/libs/api/ui/pullToRefresh/disable.d.ts +7 -0
  493. package/libs/api/ui/pullToRefresh/disable.js +26 -0
  494. package/libs/api/ui/pullToRefresh/enable.d.ts +7 -0
  495. package/libs/api/ui/pullToRefresh/enable.js +26 -0
  496. package/libs/api/ui/pullToRefresh/stop.d.ts +7 -0
  497. package/libs/api/ui/pullToRefresh/stop.js +26 -0
  498. package/libs/api/ui/webViewBounce/disable.d.ts +7 -0
  499. package/libs/api/ui/webViewBounce/disable.js +22 -0
  500. package/libs/api/util/domainStorage/getItem.d.ts +12 -0
  501. package/libs/api/util/domainStorage/getItem.js +26 -0
  502. package/libs/api/util/domainStorage/removeItem.d.ts +9 -0
  503. package/libs/api/util/domainStorage/removeItem.js +26 -0
  504. package/libs/api/util/domainStorage/setItem.d.ts +11 -0
  505. package/libs/api/util/domainStorage/setItem.js +26 -0
  506. package/libs/api/util/tool/flushLog.d.ts +7 -0
  507. package/libs/api/util/tool/flushLog.js +22 -0
  508. package/libs/api/util/tool/log.d.ts +9 -0
  509. package/libs/api/util/tool/log.js +22 -0
  510. package/libs/index.d.ts +311 -0
  511. package/libs/index.js +1042 -0
  512. package/libs/lib/bridge/index.d.ts +2 -0
  513. package/libs/lib/bridge/index.js +32 -0
  514. package/libs/lib/bridge/mobile.d.ts +13 -0
  515. package/libs/lib/bridge/mobile.js +175 -0
  516. package/libs/lib/bridge/pc.d.ts +4 -0
  517. package/libs/lib/bridge/pc.js +87 -0
  518. package/libs/lib/helper/apiHelper.d.ts +2 -0
  519. package/libs/lib/helper/apiHelper.js +15 -0
  520. package/libs/lib/helper/codeMap.d.ts +2 -0
  521. package/libs/lib/helper/codeMap.js +13 -0
  522. package/libs/lib/helper/event.d.ts +9 -0
  523. package/libs/lib/helper/event.js +48 -0
  524. package/libs/lib/helper/pcIframe.d.ts +44 -0
  525. package/libs/lib/helper/pcIframe.js +156 -0
  526. package/libs/lib/index.d.ts +4 -0
  527. package/libs/lib/index.js +86 -0
  528. package/libs/lib/sdk/index.d.ts +19 -0
  529. package/libs/lib/sdk/index.js +178 -0
  530. package/libs/lib/sdk/sdk.typings.d.ts +85 -0
  531. package/libs/lib/sdk/sdk.typings.js +14 -0
  532. package/libs/utils/bpitLog.d.ts +16 -0
  533. package/libs/utils/bpitLog.js +69 -0
  534. package/libs/utils/compareVersions.d.ts +58 -0
  535. package/libs/utils/compareVersions.js +173 -0
  536. package/libs/utils/console.d.ts +4 -0
  537. package/libs/utils/console.js +53 -0
  538. package/libs/utils/env.d.ts +3 -0
  539. package/libs/utils/env.js +51 -0
  540. package/libs/utils/index.d.ts +4 -0
  541. package/libs/utils/index.js +51 -0
  542. package/package.json +1 -1
@@ -0,0 +1 @@
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.3.3-beta1","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 xo})),t.d(e,"sdkVersion",(function(){return Fo})),t.d(e,"env",(function(){return Ao})),t.d(e,"platform",(function(){return Eo})),t.d(e,"platformV2",(function(){return Do})),t.d(e,"config",(function(){return jo})),t.d(e,"ready",(function(){return Vo})),t.d(e,"error",(function(){return Wo})),t.d(e,"on",(function(){return Ro})),t.d(e,"off",(function(){return _o})),t.d(e,"openLink",(function(){return B})),t.d(e,"feedback",(function(){return O})),t.d(e,"open",(function(){return L})),t.d(e,"openSlidePanel",(function(){return H})),t.d(e,"share",(function(){return J})),t.d(e,"previewFile",(function(){return Y})),t.d(e,"previewImage",(function(){return q})),t.d(e,"downloadFile",(function(){return K})),t.d(e,"uploadAttachment",(function(){return G})),t.d(e,"clipboardFileUpload",(function(){return $})),t.d(e,"proxy",(function(){return X})),t.d(e,"datepicker",(function(){return Q})),t.d(e,"scan",(function(){return on})),t.d(e,"chosen",(function(){return dn})),t.d(e,"openSingleWebview",(function(){return pn})),t.d(e,"getSingleWebviewData",(function(){return fn})),t.d(e,"injectScript",(function(){return vn})),t.d(e,"closeWindow",(function(){return gn})),t.d(e,"showCallMenu",(function(){return oo})),t.d(e,"call",(function(){return ro})),t.d(e,"setIcon",(function(){return ue})),t.d(e,"setTitle",(function(){return de})),t.d(e,"setMenu",(function(){return fe})),t.d(e,"close",(function(){return ve})),t.d(e,"replacePage",(function(){return me})),t.d(e,"quit",(function(){return he})),t.d(e,"setRight",(function(){return ye})),t.d(e,"setTitleExpandIcon",(function(){return Se})),t.d(e,"updateExpandTitle",(function(){return ze})),t.d(e,"setLeft",(function(){return Ce})),t.d(e,"goBack",(function(){return xe})),t.d(e,"complexPicker",(function(){return Re})),t.d(e,"departmentsPicker",(function(){return _e})),t.d(e,"groupComplexPicker",(function(){return Be})),t.d(e,"chooseConversationByCorpId",(function(){return Oe})),t.d(e,"pickConversation",(function(){return Ne})),t.d(e,"openSingleChat",(function(){return He})),t.d(e,"openTeamChat",(function(){return Ue})),t.d(e,"openSquad",(function(){return Je})),t.d(e,"sendP2PMsg",(function(){return Ye})),t.d(e,"mapView",(function(){return an})),t.d(e,"multipointView",(function(){return cn})),t.d(e,"requestAuthCode",(function(){return et})),t.d(e,"createTab",(function(){return Ke})),t.d(e,"weeklyShare",(function(){return $e})),t.d(e,"fullScreen",(function(){return Ze})),t.d(e,"exitFullScreen",(function(){return nt})),t.d(e,"showPreloader",(function(){return ot})),t.d(e,"hidePreloader",(function(){return rt})),t.d(e,"vibrate",(function(){return st})),t.d(e,"toast",(function(){return ct})),t.d(e,"alert",(function(){return vt})),t.d(e,"confirm",(function(){return gt})),t.d(e,"getPhoneInfo",(function(){return pt})),t.d(e,"getUUID",(function(){return Jt})),t.d(e,"checkStepPermission",(function(){return qt})),t.d(e,"getGeolocation",(function(){return bt})),t.d(e,"getGeolocationSwitch",(function(){return yt})),t.d(e,"getLang",(function(){return kt})),t.d(e,"startRecord",(function(){return St})),t.d(e,"stopRecord",(function(){return It})),t.d(e,"onRecordEnd",(function(){return Ct})),t.d(e,"downloadAudio",(function(){return xt})),t.d(e,"playAudio",(function(){return At})),t.d(e,"pauseAudio",(function(){return Dt})),t.d(e,"stopAudio",(function(){return Vt})),t.d(e,"onPlayEnd",(function(){return Rt})),t.d(e,"resumeAudio",(function(){return Bt})),t.d(e,"getNetworkType",(function(){return Lt})),t.d(e,"isAtTal",(function(){return Ht})),t.d(e,"webViewBounceDisable",(function(){return so})),t.d(e,"pullToRefreshEnable",(function(){return uo})),t.d(e,"pullToRefreshStop",(function(){return po})),t.d(e,"pullToRefreshDisable",(function(){return vo})),t.d(e,"getItem",(function(){return go})),t.d(e,"setItem",(function(){return bo})),t.d(e,"removeItem",(function(){return yo})),t.d(e,"writeLog",(function(){return Po})),t.d(e,"flushLog",(function(){return zo})),t.d(e,"remind",(function(){return bn})),t.d(e,"takePicture",(function(){return wn})),t.d(e,"datetimepicker",(function(){return en})),t.d(e,"actionSheet",(function(){return dt})),t.d(e,"webViewMessageSend",(function(){return To})),t.d(e,"talYoungFilesUpload",(function(){return Co})),t.d(e,"openVideoPlayer",(function(){return kn})),t.d(e,"openMediaFileDialog",(function(){return Pn})),t.d(e,"mediaFileUpload",(function(){return Sn})),t.d(e,"invoice",(function(){return zn})),t.d(e,"pushWorkMsg",(function(){return In})),t.d(e,"openTalYoungToTopic",(function(){return Tn})),t.d(e,"getToken",(function(){return Mn})),t.d(e,"authStart",(function(){return Fn})),t.d(e,"authFinish",(function(){return En})),t.d(e,"assistantCreate",(function(){return jn})),t.d(e,"yachEvent",(function(){return Wn})),t.d(e,"openTogetherEyeWebview",(function(){return _n})),t.d(e,"getTogetherConfig",(function(){return On})),t.d(e,"rouseApp",(function(){return Ln})),t.d(e,"externalLinkPreviewFile",(function(){return Nn})),t.d(e,"savePic",(function(){return Yn})),t.d(e,"zfbAuth",(function(){return Un})),t.d(e,"complain",(function(){return qn})),t.d(e,"onRecordEnd_v2",(function(){return Gt})),t.d(e,"startRecord_v2",(function(){return Xt})),t.d(e,"stopRecord_v2",(function(){return Qt})),t.d(e,"selectDepartment",(function(){return Kn})),t.d(e,"setWindowBig",(function(){return Ae})),t.d(e,"tencentMeeting",(function(){return Ee})),t.d(e,"tencentMeetingBegin",(function(){return De})),t.d(e,"createModifySchedule",(function(){return $n})),t.d(e,"onlineDocmentOpenTeamChat",(function(){return ne})),t.d(e,"entergroupCheck",(function(){return te})),t.d(e,"setLight",(function(){return eo})),t.d(e,"openUserSchedule",(function(){return Zn})),t.d(e,"disableScreenCapture",(function(){return ie})),t.d(e,"setPanGestureEnable",(function(){return We})),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(window&&window.console&&(c=window.console),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),l=(c.warn.bind(c),c.error.bind(c),"color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;");function p(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return d("%c Yach-jssdk log: ",l,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){p("SDK 返回结果成功 ",{method:n,params:r,result:e})})).catch((function(e){p("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},I=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=e.code,u=e.message;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,s);break;case"zoomInClick":var d=document.documentElement.scrollTop||document.body.scrollTop,l=window.location.href;"browserView"===t?window.sendTo(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:d,url:l,title:s&&s.title}})):window.sendToHost(JSON.stringify({type:o,methodName:i,body:{scrollTopVal:d,url:l,title:s&&s.title}}))}else if("response"===o){var p=n.getPending(a);p&&p.receiveResponse({data:s,code:c,message:u||s.msg||s.message}),-3!=c&&n.deletePending(a)}},this.init=function(){window.addEventListener("message",(function(e){p("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 C(n){return T.get(n)||"onFail"}var M=function(n,e){return new Promise((function(t,o){return I.invokeAPI(n,e,(function(i){var r=i.data,a=i.code,c=i.message,u=parseInt(a),d=C(u),l=e[d];if(p("SDK执行后回调,相关参数 ",{method:n,param:e,data:r,_code:u,message:c,callbackFun:l}),"onFail"===d)return s({method:n,errorcode:u,message:c||JSON.stringify(r)||"SDK执行失败回调,相关参数"}),"function"==typeof l&&(console.log("wenai-code",a,u),l(c?{code:a,message:c}:r)),void o({_code:u,message:c,data:r});"function"==typeof l&&l(r||c),t({_code:u,message:c,data:r})}))}))},x=function(){return(x=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 F(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 A=function(n,e){return new Promise((function(t,o){var i=x({},e);F((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),l=C(d),f=i[l];if(p("SDK执行后回调,相关参数 ",{method:n,param:e,data:u,_code:d,message:c,callbackFun:f}),"onFail"===l)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})}))}))}))},E=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])}}},j=i(),V=j.platform,W=new P(j);!function(){var n=this,e={platform:V,authMethod:"config",bridgeInit:"pc"===V?function(){return E(n,void 0,void 0,(function(){return D(this,(function(n){return I.init(),[2,M]}))}))}:function(){return new Promise((function(n,e){F((function(e){p("注册resume事件 "),e.registerHandler("resume",(function(n){p("resume监听到回调,相关参数 ",{resData:n}),S.execEvent("resume",n)})),p("注册unreadMsgAction事件 "),e.registerHandler("unreadMsgAction",(function(n){p("unreadMsgAction监听到回调,相关参数 ",{resData:n}),S.execEvent("unreadMsgAction",n)})),p("注册webViewMsgReceive事件 "),e.registerHandler("webViewMsgReceive",(function(n){p("webViewMsgReceive监听到回调,相关参数 ",{resData:n}),S.execEvent("webViewMsgReceive",n)})),e.registerHandler("pushWorkMsg",(function(n){p("pushWorkMsg监听到回调,相关参数 ",{resData:n}),S.execEvent("pushWorkMsg",n)})),e.registerHandler("getTogetherCallback",(function(n){p("getTogetherCallback监听到回调,相关参数 ",{resData:n}),S.execEvent("getTogetherCallback",n)})),e.registerHandler("sendMsgCommon",(function(n){p("sendMsgCommon ",{resData:n}),S.execEvent("sendMsgCommon",n)})),n()}))})).then((function(){return A}))},event:{on:function(n,e){S.on(n,e)},off:function(n,e){S.off(n,e)}}};W.setPlatform(e)}();var R={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};var _=function(n,e){var t=e.params,o=void 0===t?{}:t,i=e.platform,r=void 0===i?R:i;W.setAPI(n,r),W.invokeAPI(n,o)};function B(n){_("biz.util.openLink",{params:n})}function O(n){_("biz.util.feedback",{params:n})}function L(n){_("biz.util.open",{params:n})}var N={pc:{vs:"0.0.0"}};function H(n){_("biz.util.openSlidePanel",{params:n,platform:N})}var U={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function J(n){_("biz.util.share",{params:n,platform:U})}function Y(n){_("biz.util.previewFile",{params:n})}function q(n){_("biz.util.previewImage",{params:n})}function K(n){_("biz.util.downloadFile",{params:n})}function G(n){_("biz.util.uploadAttachment",{params:n})}function $(n){_("biz.util.clipboardFileUpload",{params:n})}function X(n){_("biz.util.proxy",{params:n})}var Z={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Q(n){_("biz.util.datepicker",{params:n,platform:Z})}var nn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function en(n){_("biz.util.datetimepicker",{params:n,platform:nn})}var tn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function on(n){_("biz.util.scan",{params:n,platform:tn})}var rn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function an(n){_("biz.map.view",{params:n,platform:rn})}var sn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function cn(n){_("biz.map.multipointView",{params:n,platform:sn})}var un={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function dn(n){_("biz.util.chosen",{params:n,platform:un})}var ln={pc:{vs:"0.0.0"}};function pn(n){_("biz.util.openSingleWebview",{params:n,platform:ln})}function fn(n){_("biz.util.getSingleWebviewData",{params:n})}function vn(n){_("biz.util.injectScript",{params:n})}var mn={pc:{vs:"0.0.0"}};function gn(n){_("biz.util.closeWindow",{params:n,platform:mn})}var hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function bn(n){_("biz.util.remind",{params:n,platform:hn})}function wn(n){_("biz.util.takePicture",{params:n})}var yn={pc:{vs:"0.0.0"},ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function kn(n){_("biz.util.openVideoPlayer",{params:n,platform:yn})}function Pn(n){_("biz.util.openMediaFileDialog",{params:n})}function Sn(n){_("biz.util.mediaFileUpload",{params:n})}function zn(n){_("biz.util.invoice",{params:n})}function In(n){_("biz.util.pushWorkMsg",{params:n})}function Tn(n){_("biz.util.openTalYoungToTopic",{params:n})}var Cn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Mn(n){_("biz.util.getToken",{params:n,platform:Cn})}var xn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Fn(n){_("biz.util.authStart",{params:n,platform:xn})}var An={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function En(n){_("biz.util.authFinish",{params:n,platform:An})}var Dn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function jn(n){_("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 Wn(n){_("biz.util.yachEvent",{params:n,platform:Vn})}var Rn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function _n(n){_("biz.util.openTogetherEyeWebview",{params:n,platform:Rn})}var Bn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function On(n){_("biz.util.getTogetherConfig",{params:n,platform:Bn})}function Ln(n){_("biz.util.rouseApp",{params:n})}function Nn(n){_("biz.util.externalLinkPreviewFile",{params:n})}var Hn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Un(n){_("biz.util.zfbAuth",{params:n,platform:Hn})}var Jn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Yn(n){_("biz.util.savePic",{params:n,platform:Jn})}function qn(n){_("biz.util.complain",{params:n})}function Kn(n){_("biz.util.selectDepartment",{params:n})}var Gn={pc:{vs:"0.0.0"}};function $n(n){_("biz.util.createModifySchedule",{params:n,platform:Gn})}var Xn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function Zn(n){_("biz.util.openUserSchedule",{params:n,platform:Xn})}var Qn={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function ne(n){_("onlineDocmentOpenTeamChat",{params:n,platform:Qn})}var ee={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.0"}};function te(n){_("biz.util.entergroupCheck",{params:n,platform:ee})}var oe={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ie(n){_("biz.util.disableScreenCapture",{params:n,platform:oe})}var re=function(){return(re=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 ae(n){return function(e){return re(re({},n),e)}}var se=ae({control:!0,showIcon:!0,iconIndex:1}),ce={ios:{vs:"0.0.0",paramsDeal:se},android:{vs:"0.0.0",paramsDeal:se}};function ue(n){_("biz.navigation.setIcon",{params:n,platform:ce})}function de(n){_("biz.navigation.setTitle",{params:n})}var le=ae({control:!0}),pe={ios:{vs:"0.0.0",paramsDeal:le},android:{vs:"0.0.0",paramsDeal:le}};function fe(n){_("biz.navigation.setMenu",{params:n,platform:pe})}function ve(n){_("biz.navigation.close",{params:n})}function me(n){_("biz.navigation.replace",{params:n})}var ge={pc:{vs:"0.0.0"}};function he(n){_("biz.navigation.quit",{params:n,platform:ge})}var be=ae({show:!0,control:!1,text:""}),we={ios:{vs:"0.0.0",paramsDeal:be},android:{vs:"0.0.0",paramsDeal:be},pc:{vs:"0.0.0"}};function ye(n){_("biz.navigation.setRight",{params:n,platform:we})}var ke=ae({control:!0}),Pe={ios:{vs:"0.0.0",paramsDeal:ke},android:{vs:"0.0.0",paramsDeal:ke}};function Se(n){_("biz.navigation.setTitleExpandIcon",{params:n,platform:Pe})}function ze(n){_("biz.navigation.updateExpandTitle",{params:n})}var Ie=ae({show:!0,control:!1,text:""}),Te={ios:{vs:"0.0.0",paramsDeal:Ie},android:{vs:"0.0.0",paramsDeal:Ie},pc:{vs:"0.0.0"}};function Ce(n){_("biz.navigation.setLeft",{params:n,platform:Te})}var Me={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xe(n){_("biz.navigation.goBack",{params:n,platform:Me})}var Fe={pc:{vs:"0.0.0"}};function Ae(n){_("biz.navigation.setWindowBig",{params:n,platform:Fe})}function Ee(n){_("biz.navigation.tencentMeeting",{params:n})}function De(n){_("biz.navigation.tencentMeetingBegin",{params:n})}var je=ae({nativePanEnable:!0,webPanEnable:!0}),Ve={ios:{vs:"0.0.0",paramsDeal:je},android:{vs:"0.0.0",paramsDeal:je}};function We(n){_("biz.navigation.setPanGestureEnable",{params:n,platform:Ve})}function Re(n){_("biz.contact.complexPicker",{params:n})}function _e(n){_("biz.contact.departmentsPicker",{params:n})}function Be(n){_("biz.group.groupComplexPicker",{params:n})}function Oe(n){_("biz.chat.chooseConversationByCorpId",{params:n})}var Le={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ne(n){_("biz.chat.pickConversation",{params:n,platform:Le})}function He(n){_("biz.chat.openSingleChat",{params:n})}function Ue(n){_("biz.chat.openTeamChat",{params:n})}function Je(n){_("biz.chat.openSquad",{params:n})}function Ye(n){_("biz.chat.sendP2PMsg",{params:n})}var qe={pc:{vs:"0.0.0"}};function Ke(n){_("primary.createTab",{params:n,platform:qe})}var Ge={pc:{vs:"0.0.0"}};function $e(n){_("primary.weeklyShare",{params:n,platform:Ge})}var Xe={pc:{vs:"0.0.0"}};function Ze(n){_("primary.fullScreen",{params:n,platform:Xe})}var Qe={pc:{vs:"0.0.0"}};function nt(n){_("primary.exitFullScreen",{params:n,platform:Qe})}function et(n){_("runtime.permission.requestAuthCode",{params:n})}var tt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ot(n){_("device.notification.showPreloader",{params:n,platform:tt})}var it={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function rt(n){_("device.notification.hidePreloader",{params:n,platform:it})}var at={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function st(n){_("device.notification.vibrate",{params:n,platform:at})}function ct(n){_("device.notification.toast",{params:n})}var ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function dt(n){_("device.notification.actionSheet",{params:n,platform:ut})}var lt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function pt(n){_("device.base.getPhoneInfo",{params:n,platform:lt})}var ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function vt(n){_("device.notification.alert",{params:n,platform:ft})}var mt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"0.0.0"}};function gt(n){_("device.notification.confirm",{params:n,platform:mt})}var ht={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function bt(n){_("device.geolocation.get",{params:n,platform:ht})}var wt={android:{vs:"0.0.0"}};function yt(n){_("device.geolocation.getSwitch",{params:n,platform:wt})}function kt(n){_("device.system.getLang",{params:n})}var Pt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function St(n){_("device.audio.startRecord",{params:n,platform:Pt})}var zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function It(n){_("device.audio.stopRecord",{params:n,platform:zt})}var Tt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Ct(n){_("device.audio.onRecordEnd",{params:n,platform:Tt})}var Mt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function xt(n){_("device.audio.download",{params:n,platform:Mt})}var Ft={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function At(n){_("device.audio.play",{params:n,platform:Ft})}var Et={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Dt(n){_("device.audio.pause",{params:n,platform:Et})}var jt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Vt(n){_("device.audio.stop",{params:n,platform:jt})}var Wt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Rt(n){_("device.audio.onPlayEnd",{params:n,platform:Wt})}var _t={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Bt(n){_("device.audio.resume",{params:n,platform:_t})}var Ot={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Lt(n){_("device.connection.getNetworkType",{params:n,platform:Ot})}var Nt={pc:{vs:"0.0.0"}};function Ht(n){_("device.connection.isAtTal",{params:n,platform:Nt})}var Ut={ios:{vs:"0.0.0"},android:{vs:"0.0.0"},pc:{vs:"1.8.1"}};function Jt(n){_("device.base.getUUID",{params:n,platform:Ut})}var Yt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function qt(n){_("device.base.checkStepPermission",{params:n,platform:Yt})}var Kt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Gt(n){_("device.audio.onRecordEnd_v2",{params:n,platform:Kt})}var $t={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Xt(n){_("device.audio.startRecord_v2",{params:n,platform:$t})}var Zt={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function Qt(n){_("device.audio.stopRecord_v2",{params:n,platform:Zt})}var no={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function eo(n){_("device.system.setLight",{params:n,platform:no})}var to={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function oo(n){_("biz.telephone.showCallMenu",{params:n,platform:to})}var io={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function ro(n){_("biz.telephone.call",{params:n,platform:io})}var ao={ios:{vs:"0.0.0"}};function so(n){_("ui.webViewBounce.disable",{params:n,platform:ao})}var co={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function uo(n){_("ui.pullToRefresh.enable",{params:n,platform:co})}var lo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function po(n){_("ui.pullToRefresh.stop",{params:n,platform:lo})}var fo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function vo(n){_("ui.pullToRefresh.disable",{params:n,platform:fo})}var mo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function go(n){_("util.domainStorage.getItem",{params:n,platform:mo})}var ho={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function bo(n){_("util.domainStorage.setItem",{params:n,platform:ho})}var wo={ios:{vs:"0.0.0"},android:{vs:"0.0.0"}};function yo(n){_("util.domainStorage.removeItem",{params:n,platform:wo})}var ko={pc:{vs:"1.7.0"}};function Po(n){_("util.tool.writeLog",{params:n,platform:ko})}var So={pc:{vs:"1.7.0"}};function zo(n){_("util.tool.flushLog",{params:n,platform:So})}var Io={ios:{vs:"0.0.0"}};function To(n){_("biz.webViewMessage.send",{params:n,platform:Io})}function Co(n){_("app.custom.talYoungFilesUpload",{params:n})}console.log("add rouseApp ------------\x3e",Ln);var Mo=W.exportSdk,xo=Mo.version,Fo=Mo.sdkVersion,Ao=Mo.env,Eo=Mo.platform,Do=Mo.platformV2,jo=Mo.config,Vo=Mo.ready,Wo=Mo.error,Ro=Mo.on,_o=Mo.off;e.default={version:xo,sdkVersion:Fo,env:Ao,platform:Eo,platformV2:Do,config:jo,ready:Vo,error:Wo,on:Ro,off:_o,biz:{util:{openLink:B,feedback:O,open:L,openSlidePanel:H,share:J,previewFile:Y,previewImage:q,downloadFile:K,uploadAttachment:G,clipboardFileUpload:$,proxy:X,datepicker:Q,datetimepicker:en,scan:on,chosen:dn,openSingleWebview:pn,getSingleWebviewData:fn,injectScript:vn,onlineDocmentOpenTeamChat:ne,entergroupCheck:te,closeWindow:gn,remind:bn,takePicture:wn,openVideoPlayer:kn,openMediaFileDialog:Pn,mediaFileUpload:Sn,invoice:zn,pushWorkMsg:In,openTalYoungToTopic:Tn,getToken:Mn,authStart:Fn,authFinish:En,assistantCreate:jn,yachEvent:Wn,openTogetherEyeWebview:_n,getTogetherConfig:On,rouseApp:Ln,externalLinkPreviewFile:Nn,savePic:Yn,zfbAuth:Un,complain:qn,selectDepartment:Kn,createModifySchedule:$n,openUserSchedule:Zn,disableScreenCapture:ie},telephone:{showCallMenu:oo,call:ro},navigation:{setIcon:ue,setTitle:de,setMenu:fe,close:ve,replace:me,quit:he,setRight:ye,setTitleExpandIcon:Se,updateExpandTitle:ze,setLeft:Ce,goBack:xe,setWindowBig:Ae,tencentMeeting:Ee,tencentMeetingBegin:De,setPanGestureEnable:We},contact:{complexPicker:Re,departmentsPicker:_e},group:{groupComplexPicker:Be},chat:{chooseConversationByCorpId:Oe,pickConversation:Ne,openSingleChat:He,openTeamChat:Ue,openSquad:Je,sendP2PMsg:Ye},map:{view:an,multipointView:cn},webViewMessage:{send:To}},runtime:{permission:{requestAuthCode:et}},primary:{createTab:Ke,weeklyShare:$e,fullScreen:Ze,exitFullScreen:nt},device:{notification:{showPreloader:ot,hidePreloader:rt,vibrate:st,toast:ct,alert:vt,confirm:gt,actionSheet:dt},base:{getPhoneInfo:pt,getUUID:Jt,checkStepPermission:qt},geolocation:{get:bt,getSwitch:yt},system:{getLang:kt,setLight:eo},audio:{startRecord:St,stopRecord:It,onRecordEnd:Ct,download:xt,play:At,pause:Dt,stop:Vt,onPlayEnd:Rt,resume:Bt,onRecordEnd_v2:Gt,startRecord_v2:Xt,stopRecord_v2:Qt},connection:{getNetworkType:Lt,isAtTal:Ht}},ui:{webViewBounce:{disable:so},pullToRefresh:{enable:uo,stop:po,disable:vo}},util:{domainStorage:{getItem:go,setItem:bo,removeItem:yo},tool:{writeLog:Po,flushLog:zo}},app:{custom:{talYoungFilesUpload:Co}}}}]).default;
@@ -0,0 +1,38 @@
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 };
@@ -0,0 +1,16 @@
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 };
@@ -0,0 +1,36 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,10 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,10 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,10 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,62 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,35 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,33 @@
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 };
@@ -0,0 +1,8 @@
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 };
@@ -0,0 +1,21 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,13 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,7 @@
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 };
@@ -0,0 +1,9 @@
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 };
@@ -0,0 +1,7 @@
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 };
@@ -0,0 +1,19 @@
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 };
@@ -0,0 +1,8 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizNavigationQuitParams {
3
+ message?: string;
4
+ onSuccess?: () => void;
5
+ onFail?: (err: IError) => void;
6
+ }
7
+ declare function quit(params?: IBizNavigationQuitParams): void;
8
+ export { quit };
@@ -0,0 +1,15 @@
1
+ import initAPI from '../../initAPI';
2
+ var apiName = 'biz.navigation.quit';
3
+ var pc = {
4
+ vs: '0.0.0'
5
+ };
6
+ var platform = {
7
+ pc: pc
8
+ };
9
+ function quit(params) {
10
+ initAPI(apiName, {
11
+ params: params,
12
+ platform: platform
13
+ });
14
+ }
15
+ export { quit };
@@ -0,0 +1,8 @@
1
+ import { IError } from '../../common.typings';
2
+ export interface IBizNavigationReplaceParams {
3
+ url: string;
4
+ onSuccess?: () => void;
5
+ onFail?: (err: IError) => void;
6
+ }
7
+ declare function replace(params: IBizNavigationReplaceParams): void;
8
+ export { replace };