@tencentcloud/chat-uikit-react 2.3.1 → 3.0.0

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 (1133) hide show
  1. package/.eslintrc.cjs +49 -0
  2. package/.stylelintrc.cjs +19 -0
  3. package/CHANGELOG.md +15 -1
  4. package/README.md +3 -0
  5. package/ci/install-nvm-node18.sh +117 -0
  6. package/dist/ChatSetting-C7QlwAiq.js +28449 -0
  7. package/dist/assets/fonts/iconfont.ttf +0 -0
  8. package/dist/assets/fonts/iconfont.woff +0 -0
  9. package/dist/assets/fonts/iconfont.woff2 +0 -0
  10. package/dist/components/Chat/Chat.d.ts +11 -0
  11. package/dist/components/Chat/Chat.js +29 -0
  12. package/dist/components/Chat/index.d.ts +1 -0
  13. package/dist/components/Chat/index.js +4 -0
  14. package/dist/components/ChatHeader/ChatHeader.d.ts +22 -0
  15. package/dist/components/ChatHeader/ChatHeader.js +50 -0
  16. package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.d.ts +11 -0
  17. package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.js +78 -0
  18. package/dist/components/ChatHeader/ChatHeaderActions/index.d.ts +1 -0
  19. package/dist/components/ChatHeader/ChatHeaderActions/index.js +4 -0
  20. package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.d.ts +34 -0
  21. package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +86 -0
  22. package/dist/components/ChatHeader/ChatHeaderUI/index.d.ts +2 -0
  23. package/dist/components/ChatHeader/ChatHeaderUI/index.js +4 -0
  24. package/dist/components/ChatHeader/index.d.ts +2 -0
  25. package/dist/components/ChatHeader/index.js +6 -0
  26. package/dist/components/Checkbox/index.d.ts +14 -0
  27. package/dist/components/Checkbox/index.js +34 -0
  28. package/dist/components/Contact/Contact.d.ts +3 -0
  29. package/dist/components/Contact/Contact.js +81 -0
  30. package/dist/components/Contact/ContactInfo/ContactInfo.d.ts +8 -0
  31. package/dist/components/Contact/ContactInfo/ContactInfo.js +27 -0
  32. package/dist/components/Contact/ContactInfo/addFriendInfo.d.ts +8 -0
  33. package/dist/components/Contact/ContactInfo/addFriendInfo.js +61 -0
  34. package/dist/components/Contact/ContactInfo/basicInfo.d.ts +8 -0
  35. package/dist/components/Contact/ContactInfo/basicInfo.js +48 -0
  36. package/dist/components/Contact/ContactInfo/blockInfo.d.ts +8 -0
  37. package/dist/components/Contact/ContactInfo/blockInfo.js +33 -0
  38. package/dist/components/Contact/ContactInfo/friendApplication.d.ts +8 -0
  39. package/dist/components/Contact/ContactInfo/friendApplication.js +47 -0
  40. package/dist/components/Contact/ContactInfo/friendInfo.d.ts +9 -0
  41. package/dist/components/Contact/ContactInfo/friendInfo.js +83 -0
  42. package/dist/components/Contact/ContactInfo/groupInfo.d.ts +9 -0
  43. package/dist/components/Contact/ContactInfo/groupInfo.js +45 -0
  44. package/dist/components/Contact/ContactInfo/hooks/useContactInfo.d.ts +11 -0
  45. package/dist/components/Contact/ContactInfo/hooks/useContactInfo.js +84 -0
  46. package/dist/components/Contact/ContactList/ContactList.d.ts +4 -0
  47. package/dist/components/Contact/ContactList/ContactList.js +152 -0
  48. package/dist/components/Contact/hooks/useTUIContact.d.ts +12 -0
  49. package/dist/components/Contact/hooks/useTUIContact.js +58 -0
  50. package/dist/components/Contact/index.d.ts +3 -0
  51. package/dist/components/Contact/index.js +10 -0
  52. package/dist/components/ContactSearch/ContactSearch.d.ts +3 -0
  53. package/dist/components/ContactSearch/ContactSearch.js +85 -0
  54. package/dist/components/ContactSearch/hooks/useContactSearch.d.ts +6 -0
  55. package/dist/components/ContactSearch/hooks/useContactSearch.js +28 -0
  56. package/dist/components/DivWithEdit/DivWithEdit.d.ts +14 -0
  57. package/dist/components/DivWithEdit/DivWithEdit.js +69 -0
  58. package/dist/components/DivWithEdit/WithSelect.d.ts +7 -0
  59. package/dist/components/DivWithEdit/WithSelect.js +21 -0
  60. package/dist/components/DivWithEdit/WithText.d.ts +9 -0
  61. package/dist/components/DivWithEdit/WithText.js +28 -0
  62. package/dist/components/DivWithEdit/index.d.ts +1 -0
  63. package/dist/components/DivWithEdit/index.js +4 -0
  64. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +8 -0
  65. package/dist/components/EmptyStateIndicator/EmptyStateIndicator.js +12 -0
  66. package/dist/components/EmptyStateIndicator/index.d.ts +1 -0
  67. package/dist/components/EmptyStateIndicator/index.js +4 -0
  68. package/dist/components/Icon/Icon.d.ts +11 -0
  69. package/dist/components/Icon/Icon.js +39 -0
  70. package/dist/components/Icon/config.d.ts +9 -0
  71. package/dist/components/Icon/config.js +198 -0
  72. package/dist/components/Icon/index.d.ts +2 -0
  73. package/dist/components/Icon/index.js +7 -0
  74. package/dist/components/Icon/type.d.ts +50 -0
  75. package/dist/components/Icon/type.js +4 -0
  76. package/dist/components/IconFont/Icon.d.ts +21 -0
  77. package/dist/components/IconFont/Icon.js +47 -0
  78. package/dist/components/IconFont/index.d.ts +2 -0
  79. package/dist/components/IconFont/index.js +4 -0
  80. package/dist/components/Input/Input.d.ts +23 -0
  81. package/dist/components/Input/Input.js +86 -0
  82. package/dist/components/Input/index.d.ts +1 -0
  83. package/dist/components/Input/index.js +4 -0
  84. package/dist/components/Modal/Modal.d.ts +7 -0
  85. package/dist/components/Modal/Modal.js +89 -0
  86. package/dist/components/Modal/index.d.ts +1 -0
  87. package/dist/components/Modal/index.js +4 -0
  88. package/dist/components/Model/index.d.ts +7 -0
  89. package/dist/components/Model/index.js +12 -0
  90. package/dist/components/Plugins/hooks/index.d.ts +1 -0
  91. package/dist/components/Plugins/hooks/index.js +4 -0
  92. package/dist/components/Plugins/hooks/usePluginsElement.d.ts +10 -0
  93. package/dist/components/Plugins/hooks/usePluginsElement.js +11 -0
  94. package/dist/components/Plugins/index.d.ts +19 -0
  95. package/dist/components/Plugins/index.js +73 -0
  96. package/dist/components/Popup/index.d.ts +11 -0
  97. package/dist/components/Popup/index.js +56 -0
  98. package/dist/components/PopupNew/Popup.d.ts +13 -0
  99. package/dist/components/PopupNew/Popup.js +30 -0
  100. package/dist/components/PopupNew/index.d.ts +2 -0
  101. package/dist/components/PopupNew/index.js +4 -0
  102. package/dist/components/Profile/DatePicker/DatePicker.d.ts +11 -0
  103. package/dist/components/Profile/DatePicker/DatePicker.js +104 -0
  104. package/dist/components/Profile/DatePicker/index.d.ts +1 -0
  105. package/dist/components/Profile/DatePicker/index.js +4 -0
  106. package/dist/components/Profile/Profile.d.ts +8 -0
  107. package/dist/components/Profile/Profile.js +36 -0
  108. package/dist/components/Profile/ProfileDefault.d.ts +9 -0
  109. package/dist/components/Profile/ProfileDefault.js +246 -0
  110. package/dist/components/Profile/hooks/index.d.ts +1 -0
  111. package/dist/components/Profile/hooks/index.js +4 -0
  112. package/dist/components/Profile/hooks/useMyProfile.d.ts +21 -0
  113. package/dist/components/Profile/hooks/useMyProfile.js +22 -0
  114. package/dist/components/Profile/index.d.ts +2 -0
  115. package/dist/components/Profile/index.js +6 -0
  116. package/dist/components/Profile/myProfile/MyProfile.d.ts +7 -0
  117. package/dist/components/Profile/myProfile/MyProfile.js +20 -0
  118. package/dist/components/Profile/myProfile/index.d.ts +1 -0
  119. package/dist/components/Profile/myProfile/index.js +4 -0
  120. package/dist/components/Switch/Switch.d.ts +9 -0
  121. package/dist/components/Switch/Switch.js +35 -0
  122. package/dist/components/Switch/index.d.ts +1 -0
  123. package/dist/components/Switch/index.js +4 -0
  124. package/dist/components/Switch/utils/newId.d.ts +2 -0
  125. package/dist/components/Switch/utils/newId.js +5 -0
  126. package/dist/components/index.d.ts +12 -0
  127. package/dist/components/index.js +39 -0
  128. package/dist/constant/avatar.d.ts +5 -0
  129. package/dist/constant/avatar.js +8 -0
  130. package/dist/constant/emoji.d.ts +12 -0
  131. package/dist/constant/emoji.js +137 -0
  132. package/dist/constant/index.d.ts +2 -0
  133. package/dist/constant/index.js +13 -0
  134. package/dist/context/ChatContext.d.ts +11 -0
  135. package/dist/context/ChatContext.js +26 -0
  136. package/dist/context/ContactContext.d.ts +15 -0
  137. package/dist/context/ContactContext.js +15 -0
  138. package/dist/context/index.d.ts +2 -0
  139. package/dist/context/index.js +9 -0
  140. package/dist/external_modules/classnames-HRMVOjAa.js +45 -0
  141. package/dist/external_modules/mui-CbGEJVT2.js +2473 -0
  142. package/dist/external_modules/react-vendors-3raCpd-g.js +1238 -0
  143. package/dist/external_modules/zustand-Dvydplxp.js +24 -0
  144. package/dist/hooks/index.d.ts +2 -0
  145. package/dist/hooks/index.js +5 -0
  146. package/dist/index.d.ts +7 -0
  147. package/dist/index.js +2712 -0
  148. package/dist/locales/en-US/ChatSetting.d.ts +95 -0
  149. package/dist/locales/en-US/ChatSetting.js +107 -0
  150. package/dist/locales/en-US/DateRangePicker.d.ts +30 -0
  151. package/dist/locales/en-US/DateRangePicker.js +32 -0
  152. package/dist/locales/en-US/GroupTip.d.ts +19 -0
  153. package/dist/locales/en-US/GroupTip.js +21 -0
  154. package/dist/locales/en-US/Search.d.ts +48 -0
  155. package/dist/locales/en-US/Search.js +50 -0
  156. package/dist/locales/en-US/TUIChat.d.ts +56 -0
  157. package/dist/locales/en-US/TUIChat.js +58 -0
  158. package/dist/locales/en-US/TUIContact.d.ts +27 -0
  159. package/dist/locales/en-US/TUIContact.js +29 -0
  160. package/dist/locales/en-US/TUIConversation.d.ts +44 -0
  161. package/dist/locales/en-US/TUIConversation.js +46 -0
  162. package/dist/locales/en-US/TUIProfile.d.ts +14 -0
  163. package/dist/locales/en-US/TUIProfile.js +16 -0
  164. package/dist/locales/en-US/emoji.d.ts +65 -0
  165. package/dist/locales/en-US/emoji.js +67 -0
  166. package/dist/locales/en-US/index.d.ts +391 -0
  167. package/dist/locales/en-US/index.js +23 -0
  168. package/dist/locales/index.d.ts +1 -0
  169. package/dist/locales/index.js +26 -0
  170. package/dist/locales/ja-JP/ChatSetting.d.ts +96 -0
  171. package/dist/locales/ja-JP/ChatSetting.js +108 -0
  172. package/dist/locales/ja-JP/DateRangePicker.d.ts +30 -0
  173. package/dist/locales/ja-JP/DateRangePicker.js +32 -0
  174. package/dist/locales/ja-JP/GroupTip.d.ts +19 -0
  175. package/dist/locales/ja-JP/GroupTip.js +21 -0
  176. package/dist/locales/ja-JP/Search.d.ts +48 -0
  177. package/dist/locales/ja-JP/Search.js +50 -0
  178. package/dist/locales/ja-JP/TUIChat.d.ts +55 -0
  179. package/dist/locales/ja-JP/TUIChat.js +57 -0
  180. package/dist/locales/ja-JP/TUIContact.d.ts +28 -0
  181. package/dist/locales/ja-JP/TUIContact.js +30 -0
  182. package/dist/locales/ja-JP/TUIConversation.d.ts +43 -0
  183. package/dist/locales/ja-JP/TUIConversation.js +45 -0
  184. package/dist/locales/ja-JP/TUIProfile.d.ts +14 -0
  185. package/dist/locales/ja-JP/TUIProfile.js +16 -0
  186. package/dist/locales/ja-JP/emoji.d.ts +65 -0
  187. package/dist/locales/ja-JP/emoji.js +67 -0
  188. package/dist/locales/ja-JP/index.d.ts +391 -0
  189. package/dist/locales/ja-JP/index.js +23 -0
  190. package/dist/locales/ko-KR/ChatSetting.d.ts +96 -0
  191. package/dist/locales/ko-KR/ChatSetting.js +108 -0
  192. package/dist/locales/ko-KR/DateRangePicker.d.ts +30 -0
  193. package/dist/locales/ko-KR/DateRangePicker.js +32 -0
  194. package/dist/locales/ko-KR/GroupTip.d.ts +19 -0
  195. package/dist/locales/ko-KR/GroupTip.js +21 -0
  196. package/dist/locales/ko-KR/Search.d.ts +48 -0
  197. package/dist/locales/ko-KR/Search.js +50 -0
  198. package/dist/locales/ko-KR/TUIChat.d.ts +55 -0
  199. package/dist/locales/ko-KR/TUIChat.js +57 -0
  200. package/dist/locales/ko-KR/TUIContact.d.ts +28 -0
  201. package/dist/locales/ko-KR/TUIContact.js +30 -0
  202. package/dist/locales/ko-KR/TUIConversation.d.ts +43 -0
  203. package/dist/locales/ko-KR/TUIConversation.js +45 -0
  204. package/dist/locales/ko-KR/TUIProfile.d.ts +14 -0
  205. package/dist/locales/ko-KR/TUIProfile.js +16 -0
  206. package/dist/locales/ko-KR/emoji.d.ts +65 -0
  207. package/dist/locales/ko-KR/emoji.js +67 -0
  208. package/dist/locales/ko-KR/index.d.ts +391 -0
  209. package/dist/locales/ko-KR/index.js +23 -0
  210. package/dist/locales/zh-CN/ChatSetting.d.ts +95 -0
  211. package/dist/locales/zh-CN/ChatSetting.js +107 -0
  212. package/dist/locales/zh-CN/DateRangePicker.d.ts +30 -0
  213. package/dist/locales/zh-CN/DateRangePicker.js +32 -0
  214. package/dist/locales/zh-CN/GroupTip.d.ts +19 -0
  215. package/dist/locales/zh-CN/GroupTip.js +21 -0
  216. package/dist/locales/zh-CN/Search.d.ts +48 -0
  217. package/dist/locales/zh-CN/Search.js +50 -0
  218. package/dist/locales/zh-CN/TUIChat.d.ts +55 -0
  219. package/dist/locales/zh-CN/TUIChat.js +57 -0
  220. package/dist/locales/zh-CN/TUIContact.d.ts +28 -0
  221. package/dist/locales/zh-CN/TUIContact.js +30 -0
  222. package/dist/locales/zh-CN/TUIConversation.d.ts +43 -0
  223. package/dist/locales/zh-CN/TUIConversation.js +45 -0
  224. package/dist/locales/zh-CN/TUIProfile.d.ts +14 -0
  225. package/dist/locales/zh-CN/TUIProfile.js +16 -0
  226. package/dist/locales/zh-CN/emoji.d.ts +65 -0
  227. package/dist/locales/zh-CN/emoji.js +67 -0
  228. package/dist/locales/zh-CN/index.d.ts +390 -0
  229. package/dist/locales/zh-CN/index.js +23 -0
  230. package/dist/locales/zh-TW/ChatSetting.d.ts +96 -0
  231. package/dist/locales/zh-TW/ChatSetting.js +108 -0
  232. package/dist/locales/zh-TW/DateRangePicker.d.ts +30 -0
  233. package/dist/locales/zh-TW/DateRangePicker.js +32 -0
  234. package/dist/locales/zh-TW/GroupTip.d.ts +19 -0
  235. package/dist/locales/zh-TW/GroupTip.js +21 -0
  236. package/dist/locales/zh-TW/Search.d.ts +48 -0
  237. package/dist/locales/zh-TW/Search.js +50 -0
  238. package/dist/locales/zh-TW/TUIChat.d.ts +55 -0
  239. package/dist/locales/zh-TW/TUIChat.js +57 -0
  240. package/dist/locales/zh-TW/TUIContact.d.ts +28 -0
  241. package/dist/locales/zh-TW/TUIContact.js +30 -0
  242. package/dist/locales/zh-TW/TUIConversation.d.ts +43 -0
  243. package/dist/locales/zh-TW/TUIConversation.js +45 -0
  244. package/dist/locales/zh-TW/TUIProfile.d.ts +14 -0
  245. package/dist/locales/zh-TW/TUIProfile.js +16 -0
  246. package/dist/locales/zh-TW/emoji.d.ts +64 -0
  247. package/dist/locales/zh-TW/emoji.js +66 -0
  248. package/dist/locales/zh-TW/index.d.ts +390 -0
  249. package/dist/locales/zh-TW/index.js +23 -0
  250. package/dist/server/mainServer.d.ts +8 -0
  251. package/dist/server/mainServer.js +40 -0
  252. package/dist/states/ChatHeaderState.d.ts +18 -0
  253. package/dist/states/ChatHeaderState.js +47 -0
  254. package/dist/states/UIManagerState.d.ts +89 -0
  255. package/dist/states/UIManagerState.js +76 -0
  256. package/dist/states/index.d.ts +2 -0
  257. package/dist/states/index.js +6 -0
  258. package/dist/styles/Chat.css +1 -0
  259. package/dist/styles/ChatHeaderActions.css +1 -0
  260. package/dist/styles/ChatHeaderUI.css +1 -0
  261. package/dist/styles/ChatSetting.css +1 -0
  262. package/dist/styles/ContactInfo.css +1 -0
  263. package/dist/styles/ContactList.css +1 -0
  264. package/dist/styles/ContactSearch.css +1 -0
  265. package/dist/styles/DatePicker.css +1 -0
  266. package/dist/styles/Icon.css +1 -0
  267. package/dist/styles/Icon2.css +1 -0
  268. package/dist/styles/Input.css +1 -0
  269. package/dist/styles/Modal.css +1 -0
  270. package/dist/styles/MyProfile.css +1 -0
  271. package/dist/styles/Profile.css +1 -0
  272. package/dist/styles/Switch.css +1 -0
  273. package/dist/styles/WithSelect.css +1 -0
  274. package/dist/styles/index.css +1 -0
  275. package/dist/styles/index2.css +1 -0
  276. package/dist/styles/index3.css +1 -0
  277. package/dist/styles/index4.css +1 -0
  278. package/dist/styles/index5.css +1 -0
  279. package/dist/styles/index6.css +1 -0
  280. package/dist/types/message.d.ts +39 -0
  281. package/dist/types/user.d.ts +18 -0
  282. package/dist/types/user.js +0 -0
  283. package/package.json +82 -59
  284. package/src/assets/fonts/iconfont.ttf +0 -0
  285. package/src/assets/fonts/iconfont.woff +0 -0
  286. package/src/assets/fonts/iconfont.woff2 +0 -0
  287. package/src/components/Chat/Chat.mdx +271 -0
  288. package/src/components/Chat/Chat.module.scss +11 -0
  289. package/src/components/Chat/Chat.stories.tsx +215 -0
  290. package/src/components/Chat/Chat.tsx +30 -283
  291. package/src/components/Chat/Chat.zh-CN.mdx +275 -0
  292. package/src/components/Chat/index.ts +0 -4
  293. package/src/components/ChatHeader/ChatHeader.stories.tsx +129 -0
  294. package/src/components/ChatHeader/ChatHeader.tsx +62 -36
  295. package/src/components/ChatHeader/ChatHeader.zh-CN.mdx +159 -0
  296. package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.module.scss +44 -0
  297. package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.tsx +105 -0
  298. package/src/components/ChatHeader/ChatHeaderActions/index.ts +1 -0
  299. package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.module.scss +111 -0
  300. package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.tsx +127 -0
  301. package/src/components/ChatHeader/ChatHeaderUI/index.ts +3 -0
  302. package/src/components/ChatHeader/index.ts +1 -1
  303. package/src/components/Checkbox/index.tsx +1 -1
  304. package/src/components/Checkbox/styles/color.scss +1 -1
  305. package/src/components/Checkbox/styles/index.scss +2 -2
  306. package/src/components/Contact/Contact.tsx +3 -3
  307. package/src/components/Contact/ContactInfo/ContactInfo.tsx +9 -8
  308. package/src/components/Contact/ContactInfo/basicInfo.tsx +7 -7
  309. package/src/components/Contact/ContactInfo/blockInfo.tsx +4 -4
  310. package/src/components/Contact/ContactInfo/friendApplication.tsx +8 -6
  311. package/src/components/Contact/ContactInfo/friendInfo.tsx +10 -15
  312. package/src/components/Contact/ContactInfo/groupInfo.tsx +9 -12
  313. package/src/components/Contact/ContactInfo/hooks/useContactInfo.tsx +12 -13
  314. package/src/components/Contact/ContactInfo/index.scss +1 -1
  315. package/src/components/Contact/ContactList/ContactList.tsx +46 -48
  316. package/src/components/Contact/ContactList/index.scss +1 -5
  317. package/src/components/Contact/hooks/useTUIContact.tsx +6 -7
  318. package/src/components/Contact/index.scss +1 -1
  319. package/src/components/ContactSearch/ContactSearch.tsx +11 -10
  320. package/src/components/ContactSearch/hooks/useContactSearch.tsx +5 -5
  321. package/src/components/ContactSearch/index.scss +1 -1
  322. package/src/components/DivWithEdit/DivWithEdit.tsx +43 -37
  323. package/src/components/DivWithEdit/WithSelect.tsx +9 -4
  324. package/src/components/DivWithEdit/WithText.tsx +4 -1
  325. package/src/components/DivWithEdit/styles/index.scss +15 -7
  326. package/src/components/Icon/Icon.tsx +4 -4
  327. package/src/components/Icon/styles/index.scss +3 -3
  328. package/src/components/IconFont/Icon.module.scss +42 -0
  329. package/src/components/IconFont/Icon.tsx +68 -0
  330. package/src/components/IconFont/index.ts +3 -0
  331. package/src/components/Input/Input.tsx +34 -24
  332. package/src/components/Input/index.scss +64 -0
  333. package/src/components/Modal/Modal.module.scss +55 -0
  334. package/src/components/Modal/Modal.tsx +110 -0
  335. package/src/components/Modal/index.ts +1 -0
  336. package/src/components/Model/styles/index.scss +2 -2
  337. package/src/components/Plugins/hooks/usePluginsElement.tsx +6 -5
  338. package/src/components/Plugins/index.tsx +12 -10
  339. package/src/components/Plugins/styles/color.scss +2 -2
  340. package/src/components/Plugins/styles/index.scss +2 -2
  341. package/src/components/Plugins/styles/layout.scss +2 -1
  342. package/src/components/Popup/styles/index.scss +2 -2
  343. package/src/components/PopupNew/Popup.module.scss +0 -0
  344. package/src/components/PopupNew/Popup.tsx +47 -0
  345. package/src/components/PopupNew/index.ts +3 -0
  346. package/src/components/Profile/DatePicker/DatePicker.scss +175 -0
  347. package/src/components/Profile/DatePicker/DatePicker.tsx +184 -0
  348. package/src/components/Profile/DatePicker/index.ts +1 -0
  349. package/src/components/Profile/Profile.tsx +11 -12
  350. package/src/components/Profile/ProfileDefault.tsx +101 -106
  351. package/src/components/Profile/myProfile/MyProfile.tsx +10 -9
  352. package/src/components/Profile/myProfile/styles/index.scss +7 -1
  353. package/src/components/Profile/styles/color.scss +1 -1
  354. package/src/components/Profile/styles/index.scss +2 -2
  355. package/src/components/Profile/styles/layout.scss +11 -13
  356. package/src/components/Switch/Switch.tsx +8 -7
  357. package/src/components/index.ts +6 -19
  358. package/src/constant/emoji.ts +97 -0
  359. package/src/constant/index.ts +13 -0
  360. package/src/context/ChatContext.tsx +40 -0
  361. package/src/context/index.ts +4 -7
  362. package/src/hooks/index.ts +6 -5
  363. package/src/index.ts +14 -4
  364. package/src/locales/en-US/ChatSetting.ts +116 -0
  365. package/src/locales/en-US/DateRangePicker.ts +32 -0
  366. package/src/locales/en-US/GroupTip.ts +21 -0
  367. package/src/locales/en-US/Search.ts +50 -0
  368. package/src/locales/en-US/TUIChat.ts +30 -1
  369. package/src/locales/en-US/TUIConversation.ts +8 -0
  370. package/src/locales/en-US/TUIProfile.ts +1 -1
  371. package/src/locales/en-US/emoji.ts +1 -1
  372. package/src/locales/en-US/index.ts +10 -2
  373. package/src/locales/index.ts +3 -3
  374. package/src/locales/ja-JP/ChatSetting.ts +117 -0
  375. package/src/locales/ja-JP/DateRangePicker.ts +32 -0
  376. package/src/locales/ja-JP/GroupTip.ts +21 -0
  377. package/src/locales/ja-JP/Search.ts +50 -0
  378. package/src/locales/ja-JP/TUIChat.ts +30 -1
  379. package/src/locales/ja-JP/TUIConversation.ts +8 -0
  380. package/src/locales/ja-JP/index.ts +10 -2
  381. package/src/locales/ko-KR/ChatSetting.ts +117 -0
  382. package/src/locales/ko-KR/DateRangePicker.ts +32 -0
  383. package/src/locales/ko-KR/GroupTip.ts +21 -0
  384. package/src/locales/ko-KR/Search.ts +50 -0
  385. package/src/locales/ko-KR/TUIChat.ts +30 -1
  386. package/src/locales/ko-KR/TUIConversation.ts +8 -0
  387. package/src/locales/ko-KR/index.ts +10 -2
  388. package/src/locales/zh-CN/ChatSetting.ts +116 -0
  389. package/src/locales/zh-CN/DateRangePicker.ts +32 -0
  390. package/src/locales/zh-CN/GroupTip.ts +21 -0
  391. package/src/locales/zh-CN/Search.ts +50 -0
  392. package/src/locales/zh-CN/TUIChat.ts +30 -1
  393. package/src/locales/zh-CN/TUIConversation.ts +8 -0
  394. package/src/locales/zh-CN/index.ts +10 -2
  395. package/src/locales/zh-TW/ChatSetting.ts +117 -0
  396. package/src/locales/zh-TW/DateRangePicker.ts +32 -0
  397. package/src/locales/zh-TW/GroupTip.ts +21 -0
  398. package/src/locales/zh-TW/Search.ts +50 -0
  399. package/src/locales/zh-TW/TUIChat.ts +30 -1
  400. package/src/locales/zh-TW/TUIConversation.ts +8 -0
  401. package/src/locales/zh-TW/index.ts +10 -2
  402. package/src/server/mainServer.ts +45 -0
  403. package/src/states/ChatHeaderState.ts +121 -0
  404. package/src/states/UIManagerState.ts +201 -0
  405. package/src/states/index.ts +3 -0
  406. package/src/states/useChatHeaderStore.mdx +182 -0
  407. package/src/stories/GettingStarted.mdx +89 -0
  408. package/src/styles/fonts/icon-font.scss +3 -3
  409. package/src/styles/index.scss +2 -4
  410. package/src/styles/mixins/_scrollbar.scss +62 -0
  411. package/src/styles/mixins/_text.scss +25 -0
  412. package/src/styles/mixins/index.scss +2 -0
  413. package/src/styles/normalize.scss +45 -1
  414. package/src/types/message.ts +51 -0
  415. package/src/types/user.ts +20 -0
  416. package/src/vite-env.d.ts +1 -0
  417. package/tsconfig.app.json +39 -0
  418. package/tsconfig.json +4 -13
  419. package/tsconfig.node.json +24 -0
  420. package/vite.config.playground.ts +48 -0
  421. package/vite.config.ts +144 -0
  422. package/.eslintrc.js +0 -251
  423. package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
  424. package/dist/cjs/assets/fonts/iconfont.woff +0 -0
  425. package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
  426. package/dist/cjs/components/Avatar/Avatar.d.ts +0 -22
  427. package/dist/cjs/components/Avatar/Avatar.js +0 -1
  428. package/dist/cjs/components/Avatar/default.d.ts +0 -7
  429. package/dist/cjs/components/Avatar/default.js +0 -1
  430. package/dist/cjs/components/Chat/Chat.d.ts +0 -39
  431. package/dist/cjs/components/Chat/Chat.js +0 -1
  432. package/dist/cjs/components/Chat/ChatState.js +0 -1
  433. package/dist/cjs/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
  434. package/dist/cjs/components/Chat/hooks/useHandleMessage.d.ts +0 -7
  435. package/dist/cjs/components/Chat/hooks/useHandleMessage.js +0 -1
  436. package/dist/cjs/components/Chat/hooks/useHandleMessageList.js +0 -1
  437. package/dist/cjs/components/Chat/index.js +0 -1
  438. package/dist/cjs/components/Chat/server.js +0 -1
  439. package/dist/cjs/components/Chat/utils.js +0 -1
  440. package/dist/cjs/components/ChatHeader/ChatHeader.d.ts +0 -16
  441. package/dist/cjs/components/ChatHeader/ChatHeader.js +0 -1
  442. package/dist/cjs/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
  443. package/dist/cjs/components/ChatHeader/ChatHeaderDefault.js +0 -1
  444. package/dist/cjs/components/ChatSetting/ChatSetting.d.ts +0 -6
  445. package/dist/cjs/components/ChatSetting/ChatSetting.js +0 -1
  446. package/dist/cjs/components/Checkbox/index.d.ts +0 -17
  447. package/dist/cjs/components/Checkbox/index.js +0 -1
  448. package/dist/cjs/components/Contact/Contact.d.ts +0 -6
  449. package/dist/cjs/components/Contact/Contact.js +0 -1
  450. package/dist/cjs/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
  451. package/dist/cjs/components/Contact/ContactInfo/ContactInfo.js +0 -1
  452. package/dist/cjs/components/Contact/ContactInfo/addFriendInfo.js +0 -1
  453. package/dist/cjs/components/Contact/ContactInfo/basicInfo.js +0 -1
  454. package/dist/cjs/components/Contact/ContactInfo/blockInfo.js +0 -1
  455. package/dist/cjs/components/Contact/ContactInfo/friendApplication.js +0 -1
  456. package/dist/cjs/components/Contact/ContactInfo/friendInfo.js +0 -1
  457. package/dist/cjs/components/Contact/ContactInfo/groupInfo.js +0 -1
  458. package/dist/cjs/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
  459. package/dist/cjs/components/Contact/ContactList/ContactList.d.ts +0 -6
  460. package/dist/cjs/components/Contact/ContactList/ContactList.js +0 -1
  461. package/dist/cjs/components/Contact/hooks/useTUIContact.js +0 -1
  462. package/dist/cjs/components/ContactSearch/ContactSearch.js +0 -1
  463. package/dist/cjs/components/ContactSearch/hooks/useContactSearch.js +0 -1
  464. package/dist/cjs/components/ConversationActions/ConversationActions.d.ts +0 -52
  465. package/dist/cjs/components/ConversationActions/ConversationActions.js +0 -1
  466. package/dist/cjs/components/ConversationCreate/ConversationCreate.d.ts +0 -21
  467. package/dist/cjs/components/ConversationCreate/ConversationCreate.js +0 -1
  468. package/dist/cjs/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
  469. package/dist/cjs/components/ConversationCreate/ConversationCreateButton.js +0 -1
  470. package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
  471. package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
  472. package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
  473. package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
  474. package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
  475. package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
  476. package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
  477. package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
  478. package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
  479. package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
  480. package/dist/cjs/components/ConversationCreate/static/word.js +0 -1
  481. package/dist/cjs/components/ConversationList/ConversationList.d.ts +0 -57
  482. package/dist/cjs/components/ConversationList/ConversationList.js +0 -1
  483. package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
  484. package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
  485. package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
  486. package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
  487. package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +0 -45
  488. package/dist/cjs/components/ConversationPreview/ConversationPreview.js +0 -1
  489. package/dist/cjs/components/ConversationPreview/utils.js +0 -1
  490. package/dist/cjs/components/ConversationSearch/ConversationSearch.d.ts +0 -39
  491. package/dist/cjs/components/ConversationSearch/ConversationSearch.js +0 -1
  492. package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
  493. package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
  494. package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
  495. package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
  496. package/dist/cjs/components/DivWithEdit/DivWithEdit.d.ts +0 -17
  497. package/dist/cjs/components/DivWithEdit/DivWithEdit.js +0 -1
  498. package/dist/cjs/components/DivWithEdit/WithSelect.js +0 -1
  499. package/dist/cjs/components/DivWithEdit/WithText.js +0 -1
  500. package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
  501. package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
  502. package/dist/cjs/components/Icon/Icon.d.ts +0 -15
  503. package/dist/cjs/components/Icon/Icon.js +0 -1
  504. package/dist/cjs/components/Icon/config.js +0 -1
  505. package/dist/cjs/components/Icon/images/add-friend.svg.js +0 -1
  506. package/dist/cjs/components/Icon/images/add.png.js +0 -1
  507. package/dist/cjs/components/Icon/images/arrow-down.png.js +0 -1
  508. package/dist/cjs/components/Icon/images/arrow-right.png.js +0 -1
  509. package/dist/cjs/components/Icon/images/back.png.js +0 -1
  510. package/dist/cjs/components/Icon/images/camera.png.js +0 -1
  511. package/dist/cjs/components/Icon/images/cancel.png.js +0 -1
  512. package/dist/cjs/components/Icon/images/clear.png.js +0 -1
  513. package/dist/cjs/components/Icon/images/close.png.js +0 -1
  514. package/dist/cjs/components/Icon/images/confirm.png.js +0 -1
  515. package/dist/cjs/components/Icon/images/copy.png.js +0 -1
  516. package/dist/cjs/components/Icon/images/cry.png.js +0 -1
  517. package/dist/cjs/components/Icon/images/del.png.js +0 -1
  518. package/dist/cjs/components/Icon/images/edit.png.js +0 -1
  519. package/dist/cjs/components/Icon/images/effort.png.js +0 -1
  520. package/dist/cjs/components/Icon/images/ellipse.png.js +0 -1
  521. package/dist/cjs/components/Icon/images/emoji.png.js +0 -1
  522. package/dist/cjs/components/Icon/images/file.png.js +0 -1
  523. package/dist/cjs/components/Icon/images/files.png.js +0 -1
  524. package/dist/cjs/components/Icon/images/forward.png.js +0 -1
  525. package/dist/cjs/components/Icon/images/image.png.js +0 -1
  526. package/dist/cjs/components/Icon/images/like.png.js +0 -1
  527. package/dist/cjs/components/Icon/images/liked.png.js +0 -1
  528. package/dist/cjs/components/Icon/images/living.png.js +0 -1
  529. package/dist/cjs/components/Icon/images/member.png.js +0 -1
  530. package/dist/cjs/components/Icon/images/more.png.js +0 -1
  531. package/dist/cjs/components/Icon/images/mute.svg.js +0 -1
  532. package/dist/cjs/components/Icon/images/owner.png.js +0 -1
  533. package/dist/cjs/components/Icon/images/progress.png.js +0 -1
  534. package/dist/cjs/components/Icon/images/quote.png.js +0 -1
  535. package/dist/cjs/components/Icon/images/reply.png.js +0 -1
  536. package/dist/cjs/components/Icon/images/revocation.png.js +0 -1
  537. package/dist/cjs/components/Icon/images/right.png.js +0 -1
  538. package/dist/cjs/components/Icon/images/search.png.js +0 -1
  539. package/dist/cjs/components/Icon/images/send.png.js +0 -1
  540. package/dist/cjs/components/Icon/images/star.png.js +0 -1
  541. package/dist/cjs/components/Icon/images/union.png.js +0 -1
  542. package/dist/cjs/components/Icon/images/unlike.png.js +0 -1
  543. package/dist/cjs/components/Icon/images/unliked.png.js +0 -1
  544. package/dist/cjs/components/Icon/images/ununion.png.js +0 -1
  545. package/dist/cjs/components/Icon/images/unvector.png.js +0 -1
  546. package/dist/cjs/components/Icon/images/vector.png.js +0 -1
  547. package/dist/cjs/components/Icon/images/video-call.svg.js +0 -1
  548. package/dist/cjs/components/Icon/images/video.png.js +0 -1
  549. package/dist/cjs/components/Icon/images/voice-call.svg.js +0 -1
  550. package/dist/cjs/components/Icon/images/voice.png.js +0 -1
  551. package/dist/cjs/components/Icon/type.d.ts +0 -52
  552. package/dist/cjs/components/Icon/type.js +0 -1
  553. package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
  554. package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
  555. package/dist/cjs/components/Input/Input.d.ts +0 -26
  556. package/dist/cjs/components/Input/Input.js +0 -1
  557. package/dist/cjs/components/MessageElement/Message.d.ts +0 -61
  558. package/dist/cjs/components/MessageElement/Message.js +0 -1
  559. package/dist/cjs/components/MessageElement/MessageAudio.js +0 -1
  560. package/dist/cjs/components/MessageElement/MessageAvatar.js +0 -1
  561. package/dist/cjs/components/MessageElement/MessageBubble.js +0 -1
  562. package/dist/cjs/components/MessageElement/MessageContext.d.ts +0 -9
  563. package/dist/cjs/components/MessageElement/MessageContext.js +0 -1
  564. package/dist/cjs/components/MessageElement/MessageCustom.js +0 -1
  565. package/dist/cjs/components/MessageElement/MessageDefault.js +0 -1
  566. package/dist/cjs/components/MessageElement/MessageFace.js +0 -1
  567. package/dist/cjs/components/MessageElement/MessageFile.js +0 -1
  568. package/dist/cjs/components/MessageElement/MessageImage.js +0 -1
  569. package/dist/cjs/components/MessageElement/MessageLocation.js +0 -1
  570. package/dist/cjs/components/MessageElement/MessageMerger.js +0 -1
  571. package/dist/cjs/components/MessageElement/MessageName.js +0 -1
  572. package/dist/cjs/components/MessageElement/MessagePlugins.d.ts +0 -24
  573. package/dist/cjs/components/MessageElement/MessagePlugins.js +0 -1
  574. package/dist/cjs/components/MessageElement/MessageProgress.js +0 -1
  575. package/dist/cjs/components/MessageElement/MessageRevoke.js +0 -1
  576. package/dist/cjs/components/MessageElement/MessageStatus.js +0 -1
  577. package/dist/cjs/components/MessageElement/MessageSystem.js +0 -1
  578. package/dist/cjs/components/MessageElement/MessageText.js +0 -1
  579. package/dist/cjs/components/MessageElement/MessageTip.js +0 -1
  580. package/dist/cjs/components/MessageElement/MessageVideo.js +0 -1
  581. package/dist/cjs/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
  582. package/dist/cjs/components/MessageElement/hooks/useMessageHandler.js +0 -1
  583. package/dist/cjs/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
  584. package/dist/cjs/components/MessageElement/hooks/useMessageReply.js +0 -1
  585. package/dist/cjs/components/MessageElement/utils/decodeText.js +0 -1
  586. package/dist/cjs/components/MessageElement/utils/emojiMap.js +0 -1
  587. package/dist/cjs/components/MessageElement/utils/index.js +0 -1
  588. package/dist/cjs/components/MessageInput/EmojiPicker.js +0 -1
  589. package/dist/cjs/components/MessageInput/Forward.js +0 -1
  590. package/dist/cjs/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
  591. package/dist/cjs/components/MessageInput/InputPluginsDefalut.js +0 -1
  592. package/dist/cjs/components/MessageInput/InputQuoteDefalut.js +0 -1
  593. package/dist/cjs/components/MessageInput/MessageInput.d.ts +0 -29
  594. package/dist/cjs/components/MessageInput/MessageInput.js +0 -1
  595. package/dist/cjs/components/MessageInput/MessageInputDefault.d.ts +0 -5
  596. package/dist/cjs/components/MessageInput/MessageInputDefault.js +0 -1
  597. package/dist/cjs/components/MessageInput/Transmitter.js +0 -1
  598. package/dist/cjs/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
  599. package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
  600. package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.js +0 -1
  601. package/dist/cjs/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
  602. package/dist/cjs/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
  603. package/dist/cjs/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
  604. package/dist/cjs/components/MessageInput/hooks/useMessageInputState.js +0 -1
  605. package/dist/cjs/components/MessageInput/hooks/useMessageInputText.js +0 -1
  606. package/dist/cjs/components/MessageInput/hooks/useUploadElement.js +0 -1
  607. package/dist/cjs/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
  608. package/dist/cjs/components/MessageInput/hooks/useUploadPicker.js +0 -1
  609. package/dist/cjs/components/MessageList/MessageList.d.ts +0 -13
  610. package/dist/cjs/components/MessageList/MessageList.js +0 -1
  611. package/dist/cjs/components/MessageList/hooks/useMessageListElement.js +0 -1
  612. package/dist/cjs/components/Model/index.d.ts +0 -9
  613. package/dist/cjs/components/Model/index.js +0 -1
  614. package/dist/cjs/components/PlaceHolder/index.d.ts +0 -34
  615. package/dist/cjs/components/PlaceHolder/index.js +0 -1
  616. package/dist/cjs/components/Plugins/hooks/usePluginsElement.js +0 -1
  617. package/dist/cjs/components/Plugins/index.d.ts +0 -21
  618. package/dist/cjs/components/Plugins/index.js +0 -1
  619. package/dist/cjs/components/Popup/index.d.ts +0 -13
  620. package/dist/cjs/components/Popup/index.js +0 -1
  621. package/dist/cjs/components/Profile/Profile.d.ts +0 -10
  622. package/dist/cjs/components/Profile/Profile.js +0 -1
  623. package/dist/cjs/components/Profile/ProfileDefault.d.ts +0 -12
  624. package/dist/cjs/components/Profile/ProfileDefault.js +0 -1
  625. package/dist/cjs/components/Profile/hooks/useMyProfile.js +0 -1
  626. package/dist/cjs/components/Profile/myProfile/MyProfile.js +0 -1
  627. package/dist/cjs/components/Switch/Switch.d.ts +0 -12
  628. package/dist/cjs/components/Switch/Switch.js +0 -1
  629. package/dist/cjs/components/Switch/utils/newId.js +0 -1
  630. package/dist/cjs/components/Toast/index.d.ts +0 -11
  631. package/dist/cjs/components/Toast/index.js +0 -1
  632. package/dist/cjs/components/utils.js +0 -1
  633. package/dist/cjs/constants.d.ts +0 -11
  634. package/dist/cjs/constants.js +0 -1
  635. package/dist/cjs/context/ChatActionContext.d.ts +0 -26
  636. package/dist/cjs/context/ChatActionContext.js +0 -1
  637. package/dist/cjs/context/ChatStateContext.d.ts +0 -37
  638. package/dist/cjs/context/ChatStateContext.js +0 -1
  639. package/dist/cjs/context/ComponentContext.d.ts +0 -29
  640. package/dist/cjs/context/ComponentContext.js +0 -1
  641. package/dist/cjs/context/ContactContext.d.ts +0 -18
  642. package/dist/cjs/context/ContactContext.js +0 -1
  643. package/dist/cjs/context/ConversationListContext.d.ts +0 -22
  644. package/dist/cjs/context/ConversationListContext.js +0 -1
  645. package/dist/cjs/context/LanguageContext.js +0 -1
  646. package/dist/cjs/context/MessageContext.d.ts +0 -62
  647. package/dist/cjs/context/MessageContext.js +0 -1
  648. package/dist/cjs/context/MessageInputContext.d.ts +0 -36
  649. package/dist/cjs/context/MessageInputContext.js +0 -1
  650. package/dist/cjs/context/ThemeContext.js +0 -1
  651. package/dist/cjs/context/UIKitContext.d.ts +0 -25
  652. package/dist/cjs/context/UIKitContext.js +0 -1
  653. package/dist/cjs/hooks/index.js +0 -1
  654. package/dist/cjs/hooks/useConversation.d.ts +0 -6
  655. package/dist/cjs/hooks/useConversation.js +0 -1
  656. package/dist/cjs/hooks/useLongPress.d.ts +0 -3
  657. package/dist/cjs/hooks/useLongPress.js +0 -1
  658. package/dist/cjs/hooks/useMouseHover.js +0 -1
  659. package/dist/cjs/hooks/useProfile.d.ts +0 -5
  660. package/dist/cjs/hooks/useProfile.js +0 -1
  661. package/dist/cjs/index.css +0 -2
  662. package/dist/cjs/index.d.css +0 -2887
  663. package/dist/cjs/index.d.ts +0 -57
  664. package/dist/cjs/index.js +0 -1
  665. package/dist/cjs/locales/en-US/TUIChat.js +0 -1
  666. package/dist/cjs/locales/en-US/TUIContact.js +0 -1
  667. package/dist/cjs/locales/en-US/TUIConversation.js +0 -1
  668. package/dist/cjs/locales/en-US/TUIProfile.js +0 -1
  669. package/dist/cjs/locales/en-US/emoji.js +0 -1
  670. package/dist/cjs/locales/en-US/index.js +0 -1
  671. package/dist/cjs/locales/index.js +0 -1
  672. package/dist/cjs/locales/ja-JP/TUIChat.js +0 -1
  673. package/dist/cjs/locales/ja-JP/TUIContact.js +0 -1
  674. package/dist/cjs/locales/ja-JP/TUIConversation.js +0 -1
  675. package/dist/cjs/locales/ja-JP/TUIProfile.js +0 -1
  676. package/dist/cjs/locales/ja-JP/emoji.js +0 -1
  677. package/dist/cjs/locales/ja-JP/index.js +0 -1
  678. package/dist/cjs/locales/ko-KR/TUIChat.js +0 -1
  679. package/dist/cjs/locales/ko-KR/TUIContact.js +0 -1
  680. package/dist/cjs/locales/ko-KR/TUIConversation.js +0 -1
  681. package/dist/cjs/locales/ko-KR/TUIProfile.js +0 -1
  682. package/dist/cjs/locales/ko-KR/emoji.js +0 -1
  683. package/dist/cjs/locales/ko-KR/index.js +0 -1
  684. package/dist/cjs/locales/zh-CN/TUIChat.js +0 -1
  685. package/dist/cjs/locales/zh-CN/TUIContact.js +0 -1
  686. package/dist/cjs/locales/zh-CN/TUIConversation.js +0 -1
  687. package/dist/cjs/locales/zh-CN/TUIProfile.js +0 -1
  688. package/dist/cjs/locales/zh-CN/emoji.js +0 -1
  689. package/dist/cjs/locales/zh-CN/index.js +0 -1
  690. package/dist/cjs/locales/zh-TW/TUIChat.js +0 -1
  691. package/dist/cjs/locales/zh-TW/TUIContact.js +0 -1
  692. package/dist/cjs/locales/zh-TW/TUIConversation.js +0 -1
  693. package/dist/cjs/locales/zh-TW/TUIProfile.js +0 -1
  694. package/dist/cjs/locales/zh-TW/emoji.js +0 -1
  695. package/dist/cjs/locales/zh-TW/index.js +0 -1
  696. package/dist/cjs/node_modules/zustand/esm/react.mjs.js +0 -1
  697. package/dist/cjs/node_modules/zustand/esm/vanilla.mjs.js +0 -1
  698. package/dist/cjs/server.js +0 -1
  699. package/dist/cjs/store/UIManagerStore.js +0 -1
  700. package/dist/cjs/utils/env.d.ts +0 -5
  701. package/dist/cjs/utils/env.js +0 -1
  702. package/dist/esm/assets/fonts/iconfont.ttf +0 -0
  703. package/dist/esm/assets/fonts/iconfont.woff +0 -0
  704. package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
  705. package/dist/esm/components/Avatar/Avatar.d.ts +0 -22
  706. package/dist/esm/components/Avatar/Avatar.js +0 -1
  707. package/dist/esm/components/Avatar/default.d.ts +0 -7
  708. package/dist/esm/components/Avatar/default.js +0 -1
  709. package/dist/esm/components/Chat/Chat.d.ts +0 -39
  710. package/dist/esm/components/Chat/Chat.js +0 -1
  711. package/dist/esm/components/Chat/ChatState.js +0 -1
  712. package/dist/esm/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
  713. package/dist/esm/components/Chat/hooks/useHandleMessage.d.ts +0 -7
  714. package/dist/esm/components/Chat/hooks/useHandleMessage.js +0 -1
  715. package/dist/esm/components/Chat/hooks/useHandleMessageList.js +0 -1
  716. package/dist/esm/components/Chat/index.js +0 -1
  717. package/dist/esm/components/Chat/server.js +0 -1
  718. package/dist/esm/components/Chat/utils.js +0 -1
  719. package/dist/esm/components/ChatHeader/ChatHeader.d.ts +0 -16
  720. package/dist/esm/components/ChatHeader/ChatHeader.js +0 -1
  721. package/dist/esm/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
  722. package/dist/esm/components/ChatHeader/ChatHeaderDefault.js +0 -1
  723. package/dist/esm/components/ChatSetting/ChatSetting.d.ts +0 -6
  724. package/dist/esm/components/ChatSetting/ChatSetting.js +0 -1
  725. package/dist/esm/components/Checkbox/index.d.ts +0 -17
  726. package/dist/esm/components/Checkbox/index.js +0 -1
  727. package/dist/esm/components/Contact/Contact.d.ts +0 -6
  728. package/dist/esm/components/Contact/Contact.js +0 -1
  729. package/dist/esm/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
  730. package/dist/esm/components/Contact/ContactInfo/ContactInfo.js +0 -1
  731. package/dist/esm/components/Contact/ContactInfo/addFriendInfo.js +0 -1
  732. package/dist/esm/components/Contact/ContactInfo/basicInfo.js +0 -1
  733. package/dist/esm/components/Contact/ContactInfo/blockInfo.js +0 -1
  734. package/dist/esm/components/Contact/ContactInfo/friendApplication.js +0 -1
  735. package/dist/esm/components/Contact/ContactInfo/friendInfo.js +0 -1
  736. package/dist/esm/components/Contact/ContactInfo/groupInfo.js +0 -1
  737. package/dist/esm/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
  738. package/dist/esm/components/Contact/ContactList/ContactList.d.ts +0 -6
  739. package/dist/esm/components/Contact/ContactList/ContactList.js +0 -1
  740. package/dist/esm/components/Contact/hooks/useTUIContact.js +0 -1
  741. package/dist/esm/components/ContactSearch/ContactSearch.js +0 -1
  742. package/dist/esm/components/ContactSearch/hooks/useContactSearch.js +0 -1
  743. package/dist/esm/components/ConversationActions/ConversationActions.d.ts +0 -52
  744. package/dist/esm/components/ConversationActions/ConversationActions.js +0 -1
  745. package/dist/esm/components/ConversationCreate/ConversationCreate.d.ts +0 -21
  746. package/dist/esm/components/ConversationCreate/ConversationCreate.js +0 -1
  747. package/dist/esm/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
  748. package/dist/esm/components/ConversationCreate/ConversationCreateButton.js +0 -1
  749. package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
  750. package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
  751. package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
  752. package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
  753. package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
  754. package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
  755. package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
  756. package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
  757. package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
  758. package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
  759. package/dist/esm/components/ConversationCreate/static/word.js +0 -1
  760. package/dist/esm/components/ConversationList/ConversationList.d.ts +0 -57
  761. package/dist/esm/components/ConversationList/ConversationList.js +0 -1
  762. package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
  763. package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
  764. package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
  765. package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
  766. package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +0 -45
  767. package/dist/esm/components/ConversationPreview/ConversationPreview.js +0 -1
  768. package/dist/esm/components/ConversationPreview/utils.js +0 -1
  769. package/dist/esm/components/ConversationSearch/ConversationSearch.d.ts +0 -39
  770. package/dist/esm/components/ConversationSearch/ConversationSearch.js +0 -1
  771. package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
  772. package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
  773. package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
  774. package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
  775. package/dist/esm/components/DivWithEdit/DivWithEdit.d.ts +0 -17
  776. package/dist/esm/components/DivWithEdit/DivWithEdit.js +0 -1
  777. package/dist/esm/components/DivWithEdit/WithSelect.js +0 -1
  778. package/dist/esm/components/DivWithEdit/WithText.js +0 -1
  779. package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
  780. package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
  781. package/dist/esm/components/Icon/Icon.d.ts +0 -15
  782. package/dist/esm/components/Icon/Icon.js +0 -1
  783. package/dist/esm/components/Icon/config.js +0 -1
  784. package/dist/esm/components/Icon/images/add-friend.svg.js +0 -1
  785. package/dist/esm/components/Icon/images/add.png.js +0 -1
  786. package/dist/esm/components/Icon/images/arrow-down.png.js +0 -1
  787. package/dist/esm/components/Icon/images/arrow-right.png.js +0 -1
  788. package/dist/esm/components/Icon/images/back.png.js +0 -1
  789. package/dist/esm/components/Icon/images/camera.png.js +0 -1
  790. package/dist/esm/components/Icon/images/cancel.png.js +0 -1
  791. package/dist/esm/components/Icon/images/clear.png.js +0 -1
  792. package/dist/esm/components/Icon/images/close.png.js +0 -1
  793. package/dist/esm/components/Icon/images/confirm.png.js +0 -1
  794. package/dist/esm/components/Icon/images/copy.png.js +0 -1
  795. package/dist/esm/components/Icon/images/cry.png.js +0 -1
  796. package/dist/esm/components/Icon/images/del.png.js +0 -1
  797. package/dist/esm/components/Icon/images/edit.png.js +0 -1
  798. package/dist/esm/components/Icon/images/effort.png.js +0 -1
  799. package/dist/esm/components/Icon/images/ellipse.png.js +0 -1
  800. package/dist/esm/components/Icon/images/emoji.png.js +0 -1
  801. package/dist/esm/components/Icon/images/file.png.js +0 -1
  802. package/dist/esm/components/Icon/images/files.png.js +0 -1
  803. package/dist/esm/components/Icon/images/forward.png.js +0 -1
  804. package/dist/esm/components/Icon/images/image.png.js +0 -1
  805. package/dist/esm/components/Icon/images/like.png.js +0 -1
  806. package/dist/esm/components/Icon/images/liked.png.js +0 -1
  807. package/dist/esm/components/Icon/images/living.png.js +0 -1
  808. package/dist/esm/components/Icon/images/member.png.js +0 -1
  809. package/dist/esm/components/Icon/images/more.png.js +0 -1
  810. package/dist/esm/components/Icon/images/mute.svg.js +0 -1
  811. package/dist/esm/components/Icon/images/owner.png.js +0 -1
  812. package/dist/esm/components/Icon/images/progress.png.js +0 -1
  813. package/dist/esm/components/Icon/images/quote.png.js +0 -1
  814. package/dist/esm/components/Icon/images/reply.png.js +0 -1
  815. package/dist/esm/components/Icon/images/revocation.png.js +0 -1
  816. package/dist/esm/components/Icon/images/right.png.js +0 -1
  817. package/dist/esm/components/Icon/images/search.png.js +0 -1
  818. package/dist/esm/components/Icon/images/send.png.js +0 -1
  819. package/dist/esm/components/Icon/images/star.png.js +0 -1
  820. package/dist/esm/components/Icon/images/union.png.js +0 -1
  821. package/dist/esm/components/Icon/images/unlike.png.js +0 -1
  822. package/dist/esm/components/Icon/images/unliked.png.js +0 -1
  823. package/dist/esm/components/Icon/images/ununion.png.js +0 -1
  824. package/dist/esm/components/Icon/images/unvector.png.js +0 -1
  825. package/dist/esm/components/Icon/images/vector.png.js +0 -1
  826. package/dist/esm/components/Icon/images/video-call.svg.js +0 -1
  827. package/dist/esm/components/Icon/images/video.png.js +0 -1
  828. package/dist/esm/components/Icon/images/voice-call.svg.js +0 -1
  829. package/dist/esm/components/Icon/images/voice.png.js +0 -1
  830. package/dist/esm/components/Icon/type.d.ts +0 -52
  831. package/dist/esm/components/Icon/type.js +0 -1
  832. package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
  833. package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
  834. package/dist/esm/components/Input/Input.d.ts +0 -26
  835. package/dist/esm/components/Input/Input.js +0 -1
  836. package/dist/esm/components/MessageElement/Message.d.ts +0 -61
  837. package/dist/esm/components/MessageElement/Message.js +0 -1
  838. package/dist/esm/components/MessageElement/MessageAudio.js +0 -1
  839. package/dist/esm/components/MessageElement/MessageAvatar.js +0 -1
  840. package/dist/esm/components/MessageElement/MessageBubble.js +0 -1
  841. package/dist/esm/components/MessageElement/MessageContext.d.ts +0 -9
  842. package/dist/esm/components/MessageElement/MessageContext.js +0 -1
  843. package/dist/esm/components/MessageElement/MessageCustom.js +0 -1
  844. package/dist/esm/components/MessageElement/MessageDefault.js +0 -1
  845. package/dist/esm/components/MessageElement/MessageFace.js +0 -1
  846. package/dist/esm/components/MessageElement/MessageFile.js +0 -1
  847. package/dist/esm/components/MessageElement/MessageImage.js +0 -1
  848. package/dist/esm/components/MessageElement/MessageLocation.js +0 -1
  849. package/dist/esm/components/MessageElement/MessageMerger.js +0 -1
  850. package/dist/esm/components/MessageElement/MessageName.js +0 -1
  851. package/dist/esm/components/MessageElement/MessagePlugins.d.ts +0 -24
  852. package/dist/esm/components/MessageElement/MessagePlugins.js +0 -1
  853. package/dist/esm/components/MessageElement/MessageProgress.js +0 -1
  854. package/dist/esm/components/MessageElement/MessageRevoke.js +0 -1
  855. package/dist/esm/components/MessageElement/MessageStatus.js +0 -1
  856. package/dist/esm/components/MessageElement/MessageSystem.js +0 -1
  857. package/dist/esm/components/MessageElement/MessageText.js +0 -1
  858. package/dist/esm/components/MessageElement/MessageTip.js +0 -1
  859. package/dist/esm/components/MessageElement/MessageVideo.js +0 -1
  860. package/dist/esm/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
  861. package/dist/esm/components/MessageElement/hooks/useMessageHandler.js +0 -1
  862. package/dist/esm/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
  863. package/dist/esm/components/MessageElement/hooks/useMessageReply.js +0 -1
  864. package/dist/esm/components/MessageElement/utils/decodeText.js +0 -1
  865. package/dist/esm/components/MessageElement/utils/emojiMap.js +0 -1
  866. package/dist/esm/components/MessageElement/utils/index.js +0 -1
  867. package/dist/esm/components/MessageInput/EmojiPicker.js +0 -1
  868. package/dist/esm/components/MessageInput/Forward.js +0 -1
  869. package/dist/esm/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
  870. package/dist/esm/components/MessageInput/InputPluginsDefalut.js +0 -1
  871. package/dist/esm/components/MessageInput/InputQuoteDefalut.js +0 -1
  872. package/dist/esm/components/MessageInput/MessageInput.d.ts +0 -29
  873. package/dist/esm/components/MessageInput/MessageInput.js +0 -1
  874. package/dist/esm/components/MessageInput/MessageInputDefault.d.ts +0 -5
  875. package/dist/esm/components/MessageInput/MessageInputDefault.js +0 -1
  876. package/dist/esm/components/MessageInput/Transmitter.js +0 -1
  877. package/dist/esm/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
  878. package/dist/esm/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
  879. package/dist/esm/components/MessageInput/hooks/useEmojiPicker.js +0 -1
  880. package/dist/esm/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
  881. package/dist/esm/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
  882. package/dist/esm/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
  883. package/dist/esm/components/MessageInput/hooks/useMessageInputState.js +0 -1
  884. package/dist/esm/components/MessageInput/hooks/useMessageInputText.js +0 -1
  885. package/dist/esm/components/MessageInput/hooks/useUploadElement.js +0 -1
  886. package/dist/esm/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
  887. package/dist/esm/components/MessageInput/hooks/useUploadPicker.js +0 -1
  888. package/dist/esm/components/MessageList/MessageList.d.ts +0 -13
  889. package/dist/esm/components/MessageList/MessageList.js +0 -1
  890. package/dist/esm/components/MessageList/hooks/useMessageListElement.js +0 -1
  891. package/dist/esm/components/Model/index.d.ts +0 -9
  892. package/dist/esm/components/Model/index.js +0 -1
  893. package/dist/esm/components/PlaceHolder/index.d.ts +0 -34
  894. package/dist/esm/components/PlaceHolder/index.js +0 -1
  895. package/dist/esm/components/Plugins/hooks/usePluginsElement.js +0 -1
  896. package/dist/esm/components/Plugins/index.d.ts +0 -21
  897. package/dist/esm/components/Plugins/index.js +0 -1
  898. package/dist/esm/components/Popup/index.d.ts +0 -13
  899. package/dist/esm/components/Popup/index.js +0 -1
  900. package/dist/esm/components/Profile/Profile.d.ts +0 -10
  901. package/dist/esm/components/Profile/Profile.js +0 -1
  902. package/dist/esm/components/Profile/ProfileDefault.d.ts +0 -12
  903. package/dist/esm/components/Profile/ProfileDefault.js +0 -1
  904. package/dist/esm/components/Profile/hooks/useMyProfile.js +0 -1
  905. package/dist/esm/components/Profile/myProfile/MyProfile.js +0 -1
  906. package/dist/esm/components/Switch/Switch.d.ts +0 -12
  907. package/dist/esm/components/Switch/Switch.js +0 -1
  908. package/dist/esm/components/Switch/utils/newId.js +0 -1
  909. package/dist/esm/components/Toast/index.d.ts +0 -11
  910. package/dist/esm/components/Toast/index.js +0 -1
  911. package/dist/esm/components/utils.js +0 -1
  912. package/dist/esm/constants.d.ts +0 -11
  913. package/dist/esm/constants.js +0 -1
  914. package/dist/esm/context/ChatActionContext.d.ts +0 -26
  915. package/dist/esm/context/ChatActionContext.js +0 -1
  916. package/dist/esm/context/ChatStateContext.d.ts +0 -37
  917. package/dist/esm/context/ChatStateContext.js +0 -1
  918. package/dist/esm/context/ComponentContext.d.ts +0 -29
  919. package/dist/esm/context/ComponentContext.js +0 -1
  920. package/dist/esm/context/ContactContext.d.ts +0 -18
  921. package/dist/esm/context/ContactContext.js +0 -1
  922. package/dist/esm/context/ConversationListContext.d.ts +0 -22
  923. package/dist/esm/context/ConversationListContext.js +0 -1
  924. package/dist/esm/context/LanguageContext.js +0 -1
  925. package/dist/esm/context/MessageContext.d.ts +0 -62
  926. package/dist/esm/context/MessageContext.js +0 -1
  927. package/dist/esm/context/MessageInputContext.d.ts +0 -36
  928. package/dist/esm/context/MessageInputContext.js +0 -1
  929. package/dist/esm/context/ThemeContext.js +0 -1
  930. package/dist/esm/context/UIKitContext.d.ts +0 -25
  931. package/dist/esm/context/UIKitContext.js +0 -1
  932. package/dist/esm/hooks/index.js +0 -1
  933. package/dist/esm/hooks/useConversation.d.ts +0 -6
  934. package/dist/esm/hooks/useConversation.js +0 -1
  935. package/dist/esm/hooks/useLongPress.d.ts +0 -3
  936. package/dist/esm/hooks/useLongPress.js +0 -1
  937. package/dist/esm/hooks/useMouseHover.js +0 -1
  938. package/dist/esm/hooks/useProfile.d.ts +0 -5
  939. package/dist/esm/hooks/useProfile.js +0 -1
  940. package/dist/esm/index.css +0 -2
  941. package/dist/esm/index.d.css +0 -2887
  942. package/dist/esm/index.d.ts +0 -57
  943. package/dist/esm/index.js +0 -1
  944. package/dist/esm/locales/en-US/TUIChat.js +0 -1
  945. package/dist/esm/locales/en-US/TUIContact.js +0 -1
  946. package/dist/esm/locales/en-US/TUIConversation.js +0 -1
  947. package/dist/esm/locales/en-US/TUIProfile.js +0 -1
  948. package/dist/esm/locales/en-US/emoji.js +0 -1
  949. package/dist/esm/locales/en-US/index.js +0 -1
  950. package/dist/esm/locales/index.js +0 -1
  951. package/dist/esm/locales/ja-JP/TUIChat.js +0 -1
  952. package/dist/esm/locales/ja-JP/TUIContact.js +0 -1
  953. package/dist/esm/locales/ja-JP/TUIConversation.js +0 -1
  954. package/dist/esm/locales/ja-JP/TUIProfile.js +0 -1
  955. package/dist/esm/locales/ja-JP/emoji.js +0 -1
  956. package/dist/esm/locales/ja-JP/index.js +0 -1
  957. package/dist/esm/locales/ko-KR/TUIChat.js +0 -1
  958. package/dist/esm/locales/ko-KR/TUIContact.js +0 -1
  959. package/dist/esm/locales/ko-KR/TUIConversation.js +0 -1
  960. package/dist/esm/locales/ko-KR/TUIProfile.js +0 -1
  961. package/dist/esm/locales/ko-KR/emoji.js +0 -1
  962. package/dist/esm/locales/ko-KR/index.js +0 -1
  963. package/dist/esm/locales/zh-CN/TUIChat.js +0 -1
  964. package/dist/esm/locales/zh-CN/TUIContact.js +0 -1
  965. package/dist/esm/locales/zh-CN/TUIConversation.js +0 -1
  966. package/dist/esm/locales/zh-CN/TUIProfile.js +0 -1
  967. package/dist/esm/locales/zh-CN/emoji.js +0 -1
  968. package/dist/esm/locales/zh-CN/index.js +0 -1
  969. package/dist/esm/locales/zh-TW/TUIChat.js +0 -1
  970. package/dist/esm/locales/zh-TW/TUIContact.js +0 -1
  971. package/dist/esm/locales/zh-TW/TUIConversation.js +0 -1
  972. package/dist/esm/locales/zh-TW/TUIProfile.js +0 -1
  973. package/dist/esm/locales/zh-TW/emoji.js +0 -1
  974. package/dist/esm/locales/zh-TW/index.js +0 -1
  975. package/dist/esm/node_modules/zustand/esm/react.mjs.js +0 -1
  976. package/dist/esm/node_modules/zustand/esm/vanilla.mjs.js +0 -1
  977. package/dist/esm/server.js +0 -1
  978. package/dist/esm/store/UIManagerStore.js +0 -1
  979. package/dist/esm/utils/env.d.ts +0 -5
  980. package/dist/esm/utils/env.js +0 -1
  981. package/index.ts +0 -1
  982. package/src/@types/images.d.ts +0 -7
  983. package/src/components/Avatar/Avatar.tsx +0 -157
  984. package/src/components/Avatar/index.ts +0 -2
  985. package/src/components/Avatar/styles/index.scss +0 -63
  986. package/src/components/Chat/ChatState.tsx +0 -129
  987. package/src/components/Chat/hooks/useCreateTUIChatStateContext.tsx +0 -46
  988. package/src/components/Chat/hooks/useHandleMessage.tsx +0 -65
  989. package/src/components/Chat/hooks/useHandleMessageList.tsx +0 -47
  990. package/src/components/Chat/hooks/useIsMounted.ts +0 -14
  991. package/src/components/Chat/server.ts +0 -44
  992. package/src/components/Chat/styles/index.scss +0 -1
  993. package/src/components/Chat/styles/layout.scss +0 -15
  994. package/src/components/Chat/utils.ts +0 -72
  995. package/src/components/ChatHeader/ChatHeaderDefault.tsx +0 -167
  996. package/src/components/ChatHeader/styles/index.scss +0 -2
  997. package/src/components/ChatHeader/styles/layout.scss +0 -46
  998. package/src/components/ChatSetting/ChatSetting.tsx +0 -117
  999. package/src/components/ChatSetting/index.ts +0 -1
  1000. package/src/components/ChatSetting/styles/index.scss +0 -104
  1001. package/src/components/ConversationActions/ConversationActions.scss +0 -45
  1002. package/src/components/ConversationActions/ConversationActions.tsx +0 -172
  1003. package/src/components/ConversationActions/index.ts +0 -1
  1004. package/src/components/ConversationCreate/ConversationCreate.tsx +0 -136
  1005. package/src/components/ConversationCreate/ConversationCreateButton.tsx +0 -46
  1006. package/src/components/ConversationCreate/ConversationCreateGroupDetail.tsx +0 -179
  1007. package/src/components/ConversationCreate/ConversationCreateSelectView.tsx +0 -46
  1008. package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +0 -168
  1009. package/src/components/ConversationCreate/ConversationGroupTypeInfo.tsx +0 -54
  1010. package/src/components/ConversationCreate/hooks/useConversationCreate.tsx +0 -118
  1011. package/src/components/ConversationCreate/index.ts +0 -7
  1012. package/src/components/ConversationCreate/static/word.ts +0 -300
  1013. package/src/components/ConversationCreate/styles/ConversationCreateGroupDetail.scss +0 -68
  1014. package/src/components/ConversationCreate/styles/conversationCreateButton.scss +0 -5
  1015. package/src/components/ConversationCreate/styles/conversationCreateSelectView.scss +0 -38
  1016. package/src/components/ConversationCreate/styles/conversationGroupTypeInfo.scss +0 -64
  1017. package/src/components/ConversationCreate/styles/index.scss +0 -149
  1018. package/src/components/ConversationList/ConversationList.scss +0 -29
  1019. package/src/components/ConversationList/ConversationList.tsx +0 -155
  1020. package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +0 -16
  1021. package/src/components/ConversationList/ConversationListContent/ConversationListContent.tsx +0 -63
  1022. package/src/components/ConversationList/ConversationListContent/index.ts +0 -1
  1023. package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.scss +0 -28
  1024. package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.tsx +0 -43
  1025. package/src/components/ConversationList/ConversationListHeader/index.ts +0 -1
  1026. package/src/components/ConversationList/index.ts +0 -3
  1027. package/src/components/ConversationPreview/ConversationPreview.scss +0 -137
  1028. package/src/components/ConversationPreview/ConversationPreview.tsx +0 -260
  1029. package/src/components/ConversationPreview/index.ts +0 -1
  1030. package/src/components/ConversationPreview/utils.tsx +0 -145
  1031. package/src/components/ConversationSearch/ConversationSearch.scss +0 -22
  1032. package/src/components/ConversationSearch/ConversationSearch.tsx +0 -125
  1033. package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.scss +0 -13
  1034. package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.tsx +0 -42
  1035. package/src/components/ConversationSearch/ConversationSearchInput/index.ts +0 -1
  1036. package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.scss +0 -15
  1037. package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.tsx +0 -72
  1038. package/src/components/ConversationSearch/ConversationSearchResult/index.ts +0 -1
  1039. package/src/components/ConversationSearch/index.ts +0 -3
  1040. package/src/components/InfiniteScrollPaginator/InfiniteScroll.tsx +0 -115
  1041. package/src/components/InfiniteScrollPaginator/index.ts +0 -1
  1042. package/src/components/Input/styles/index.scss +0 -62
  1043. package/src/components/MessageElement/Message.tsx +0 -150
  1044. package/src/components/MessageElement/MessageAudio.tsx +0 -89
  1045. package/src/components/MessageElement/MessageAvatar.tsx +0 -38
  1046. package/src/components/MessageElement/MessageBubble.tsx +0 -137
  1047. package/src/components/MessageElement/MessageContext.tsx +0 -84
  1048. package/src/components/MessageElement/MessageCustom.tsx +0 -85
  1049. package/src/components/MessageElement/MessageDefault.tsx +0 -104
  1050. package/src/components/MessageElement/MessageFace.tsx +0 -28
  1051. package/src/components/MessageElement/MessageFile.tsx +0 -41
  1052. package/src/components/MessageElement/MessageImage.tsx +0 -46
  1053. package/src/components/MessageElement/MessageLocation.tsx +0 -29
  1054. package/src/components/MessageElement/MessageMerger.tsx +0 -38
  1055. package/src/components/MessageElement/MessageName.tsx +0 -41
  1056. package/src/components/MessageElement/MessagePlugins.tsx +0 -230
  1057. package/src/components/MessageElement/MessageProgress.tsx +0 -89
  1058. package/src/components/MessageElement/MessageRevoke.tsx +0 -48
  1059. package/src/components/MessageElement/MessageStatus.tsx +0 -40
  1060. package/src/components/MessageElement/MessageSystem.tsx +0 -30
  1061. package/src/components/MessageElement/MessageText.tsx +0 -66
  1062. package/src/components/MessageElement/MessageTip.tsx +0 -28
  1063. package/src/components/MessageElement/MessageVideo.tsx +0 -45
  1064. package/src/components/MessageElement/hooks/index.ts +0 -3
  1065. package/src/components/MessageElement/hooks/useMessageContextHandler.ts +0 -70
  1066. package/src/components/MessageElement/hooks/useMessageHandler.ts +0 -127
  1067. package/src/components/MessageElement/hooks/useMessagePluginElement.tsx +0 -31
  1068. package/src/components/MessageElement/hooks/useMessageReply.ts +0 -69
  1069. package/src/components/MessageElement/index.ts +0 -3
  1070. package/src/components/MessageElement/styles/color.scss +0 -45
  1071. package/src/components/MessageElement/styles/index.scss +0 -2
  1072. package/src/components/MessageElement/styles/layout.scss +0 -609
  1073. package/src/components/MessageElement/utils/decodeText.ts +0 -110
  1074. package/src/components/MessageElement/utils/emojiMap.ts +0 -95
  1075. package/src/components/MessageElement/utils/index.ts +0 -472
  1076. package/src/components/MessageInput/EmojiPicker.tsx +0 -80
  1077. package/src/components/MessageInput/Forward.tsx +0 -187
  1078. package/src/components/MessageInput/InputPluginsDefalut.tsx +0 -114
  1079. package/src/components/MessageInput/InputQuoteDefalut.tsx +0 -44
  1080. package/src/components/MessageInput/MessageInput.tsx +0 -116
  1081. package/src/components/MessageInput/MessageInputDefault.tsx +0 -86
  1082. package/src/components/MessageInput/Transmitter.tsx +0 -15
  1083. package/src/components/MessageInput/hooks/index.ts +0 -6
  1084. package/src/components/MessageInput/hooks/useCreateMessageInputContext.ts +0 -45
  1085. package/src/components/MessageInput/hooks/useEmojiPicker.tsx +0 -40
  1086. package/src/components/MessageInput/hooks/useHandleForwardMessage.tsx +0 -42
  1087. package/src/components/MessageInput/hooks/useHandleQuoteMessage.tsx +0 -64
  1088. package/src/components/MessageInput/hooks/useMessageInputState.tsx +0 -102
  1089. package/src/components/MessageInput/hooks/useMessageInputText.tsx +0 -193
  1090. package/src/components/MessageInput/hooks/usePluginsElement.tsx +0 -24
  1091. package/src/components/MessageInput/hooks/useUploadElement.tsx +0 -35
  1092. package/src/components/MessageInput/hooks/useUploadPicker.tsx +0 -38
  1093. package/src/components/MessageInput/index.ts +0 -3
  1094. package/src/components/MessageInput/styles/color.scss +0 -40
  1095. package/src/components/MessageInput/styles/index.scss +0 -2
  1096. package/src/components/MessageInput/styles/layout.scss +0 -360
  1097. package/src/components/MessageList/MessageList.tsx +0 -133
  1098. package/src/components/MessageList/hooks/useMessageListElement.tsx +0 -50
  1099. package/src/components/MessageList/index.ts +0 -1
  1100. package/src/components/MessageList/styles/index.scss +0 -2
  1101. package/src/components/MessageList/styles/layout.scss +0 -61
  1102. package/src/components/PlaceHolder/index.tsx +0 -79
  1103. package/src/components/PlaceHolder/styles/index.scss +0 -36
  1104. package/src/components/Toast/index.tsx +0 -44
  1105. package/src/components/Toast/styles/color.scss +0 -11
  1106. package/src/components/Toast/styles/index.scss +0 -2
  1107. package/src/components/Toast/styles/layout.scss +0 -11
  1108. package/src/components/utils.ts +0 -96
  1109. package/src/constants.ts +0 -95
  1110. package/src/context/ChatActionContext.tsx +0 -51
  1111. package/src/context/ChatStateContext.tsx +0 -49
  1112. package/src/context/ComponentContext.tsx +0 -48
  1113. package/src/context/ConversationListContext.tsx +0 -113
  1114. package/src/context/LanguageContext.tsx +0 -61
  1115. package/src/context/MessageContext.tsx +0 -55
  1116. package/src/context/MessageInputContext.tsx +0 -54
  1117. package/src/context/ThemeContext.tsx +0 -68
  1118. package/src/context/UIKitContext.tsx +0 -70
  1119. package/src/context/UIManagerContext.tsx +0 -163
  1120. package/src/hooks/useConversation.tsx +0 -30
  1121. package/src/hooks/useLongPress.tsx +0 -117
  1122. package/src/hooks/useMouseHover.tsx +0 -21
  1123. package/src/hooks/useProfile.tsx +0 -8
  1124. package/src/server.ts +0 -43
  1125. package/src/store/UIManagerStore.ts +0 -108
  1126. package/src/store/index.ts +0 -5
  1127. package/src/styles/colors/_color-dark.scss +0 -45
  1128. package/src/styles/colors/_color-light.scss +0 -45
  1129. package/src/styles/colors/_color-theme.scss +0 -65
  1130. package/src/utils/env.ts +0 -10
  1131. /package/{src/components/ChatHeader/styles/color.scss → dist/external_modules/lodash-vwDjcXxQ.js} +0 -0
  1132. /package/{src/components/MessageList/styles/color.scss → dist/types/message.js} +0 -0
  1133. /package/src/{components/Avatar/default.ts → constant/avatar.ts} +0 -0
@@ -1 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsx as i,jsxs as o,Fragment as c}from"react/jsx-runtime";import n,{useState as e,useMemo as r}from"react";import{useUIKit as s}from"@tencentcloud/uikit-base-component-react";import{TUIContactContextProvider as a}from"../../context/ContactContext.js";import{isH5 as m}from"../../utils/env.js";import{useUIManagerStore as d}from"../../store/UIManagerStore.js";import l from"./hooks/useTUIContact.js";import{ContactList as h}from"./ContactList/ContactList.js";import{ContactSearch as f}from"../ContactSearch/ContactSearch.js";import{Icon as p}from"../Icon/Icon.js";import{IconTypes as u}from"../Icon/type.js";function C(n){var C=n.children,L=s().t,v=d().setActiveContact,j=e(!1),k=j[0],I=j[1],S=l(),b=S.friendList,w=S.blockList,A=S.blocklistProfile,N=S.friendApplicationList,x=S.isShowContactList,g=S.setShowContactList,y=r((function(){return{friendList:b,blockList:w,blocklistProfile:A,friendApplicationList:N,isShowContactList:x,setShowContactList:g}}),[b,A,N,x,g]);return i(a,t({value:y},{children:C||o("div",t({className:"tui-contacts ".concat(m?"tui-contacts-h5":""," ")},{children:[!k&&o(c,{children:[o("div",t({className:"tui-contacts-header"},{children:[i("div",t({className:"tui-contact-input"},{children:i(f,{})})),i(p,{onClick:function(){v(),I(!0)},type:u.ADDFRIEND,width:24,height:24})]})),i(h,{})]}),k&&o(c,{children:[o("div",t({className:"tui-contacts-add-header"},{children:[i(p,{onClick:function(){v(),I(!1)},type:u.BACK,width:9,height:16}),i("div",t({className:"tui-contacts-add-header-title"},{children:L("TUIContact.Add Friend")}))]})),i(f,{})]})]}))}))}var L=n.memo(C);export{L as Contact,C as UnMemoizedContact};
@@ -1,10 +0,0 @@
1
- import React__default, { PropsWithChildren } from 'react';
2
-
3
- interface TUIContactInfoProps {
4
- className?: string;
5
- showChats?: () => void;
6
- }
7
- declare function UnMemoizedContactInfo<T extends TUIContactInfoProps>(props: PropsWithChildren<T>): React__default.ReactElement;
8
- declare const ContactInfo: React__default.MemoExoticComponent<typeof UnMemoizedContactInfo>;
9
-
10
- export { ContactInfo, UnMemoizedContactInfo };
@@ -1 +0,0 @@
1
- import{__assign as o}from"tslib";import{jsx as i,Fragment as t,jsxs as r}from"react/jsx-runtime";import n from"react";import{useUIManagerStore as l}from"../../../store/UIManagerStore.js";import{isH5 as a}from"../../../utils/env.js";import{FriendInfo as d}from"./friendInfo.js";import{BlockInfo as e}from"./blockInfo.js";import{AddFriendInfo as p}from"./addFriendInfo.js";import{GroupInfo as f}from"./groupInfo.js";import{FriendApplicationInfo as m}from"./friendApplication.js";function u(n){var u=n.showChats,c=l().contactData;return(null==c?void 0:c.type)?r("div",o({className:"tui-contact-info ".concat(a?"tui-contact-info-h5":""," ")},{children:["addFriend"===(null==c?void 0:c.type)&&i(p,{profile:null==c?void 0:c.data}),"friend"===(null==c?void 0:c.type)&&i(d,{showChats:u,friend:null==c?void 0:c.data}),"block"===(null==c?void 0:c.type)&&i(e,{profile:null==c?void 0:c.data}),"group"===(null==c?void 0:c.type)&&i(f,{showChats:u,group:null==c?void 0:c.data}),"friendApplication"===(null==c?void 0:c.type)&&i(m,{application:null==c?void 0:c.data})]})):i(t,{children:" "})}var c=n.memo(u);export{c as ContactInfo,u as UnMemoizedContactInfo};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as n}from"tslib";import{jsxs as i,Fragment as o,jsx as c}from"react/jsx-runtime";import r,{useState as a}from"react";import{useUIKit as m}from"@tencentcloud/uikit-base-component-react";import l from"./hooks/useContactInfo.js";import{BasicInfo as s}from"./basicInfo.js";import{DivWithEdit as d}from"../../DivWithEdit/DivWithEdit.js";function f(r){var f=this,u=r.profile,h=u.userID,v=m().t,p=a(""),N=p[0],b=p[1],I=a(""),k=I[0],x=I[1],g=a(""),C=g[0],j=g[1],w=a(!1),D=w[0],E=w[1],T=l().addFriend;return i(o,{children:[c(s,{profile:u}),D?c("div",t({className:"tui-contact-info-content"},{children:i("div",t({className:"content-item"},{children:[c("p",t({className:"content-item-label"},{children:v("TUIContact.verification info")})),c("p",t({className:"content-item-text"},{children:C}))]}))})):i("div",t({className:"tui-contact-info-content"},{children:[i("div",t({className:"content-item-wording"},{children:[c("p",t({className:"content-item-label"},{children:v("TUIContact.Enter the verification info")})),c("textarea",{className:"content-item-wording-text",value:C,onChange:function(t){!function(t){j(t.target.value)}(t)}})]})),i("div",t({className:"content-item"},{children:[c("p",t({className:"content-item-label"},{children:v("TUIContact.remark")})),c(d,{name:"remark",className:"content-item-text",value:k,type:"text",toggle:function(){b("remark")},isEdit:"remark"===N,confirm:function(t){x(null==t?void 0:t.value),b("")},close:function(){b("")}})]})),c("div",t({className:"content-btn-container"},{children:c("div",t({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){return e(f,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,T({userID:h,remark:k,wording:C})];case 1:return t.sent(),E(!0),[2]}}))}))}},{children:v("TUIContact.Send application")}))}))]}))]})}var u=r.memo(f);export{u as AddFriendInfo,f as UnMemoizedAddFriendInfo};
@@ -1 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as r}from"react/jsx-runtime";import a from"react";import{useUIKit as i}from"@tencentcloud/uikit-base-component-react";import{TUIConversationService as o}from"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as n}from"../../../store/UIManagerStore.js";import{Icon as c}from"../../Icon/Icon.js";import{IconTypes as m}from"../../Icon/type.js";import{isH5 as s}from"../../../utils/env.js";import{Avatar as d}from"../../Avatar/Avatar.js";import{defaultUserAvatar as l}from"../../Avatar/default.js";function f(a){var f=a.profile,h=i().t,p=f.userID,v=f.nick,u=f.selfSignature,j=f.avatar,I=n().setActiveContact;return t("div",e({className:"tui-contact-info-header"},{children:[s&&r(c,{width:9,height:16,type:m.BACK,onClick:function(){o.switchConversation(""),I()}}),t("div",e({className:"header-container"},{children:[t("div",e({className:"header-container-avatar"},{children:[r(d,{size:60,image:j||l}),r("div",e({className:"header-container-name"},{children:v||p}))]})),r("div",e({className:"header-container-text"},{children:"ID:".concat(p)})),t("div",e({className:"header-container-text"},{children:[h("TUIContact.Signature"),":",u||""]}))]}))]}))}var h=a.memo(f);export{h as BasicInfo,f as UnMemoizedBasicInfo};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as o,__generator as e}from"tslib";import{jsxs as r,Fragment as n,jsx as c}from"react/jsx-runtime";import i,{useState as a,useEffect as m}from"react";import{useUIKit as s}from"@tencentcloud/uikit-base-component-react";import{BasicInfo as l}from"./basicInfo.js";import{Switch as f}from"../../Switch/Switch.js";import{useUIManagerStore as u}from"../../../store/UIManagerStore.js";import p from"./hooks/useContactInfo.js";function h(i){var h=this,d=i.profile,v=u(),b=v.contactData,j=v.setActiveContact,k=s().t,I=a(!1),C=I[0],N=I[1],w=p().removeFromBlocklist;m((function(){N(!0)}),[b]);return r(n,{children:[c(l,{profile:d}),c("div",t({className:"tui-contact-info-content"},{children:r("div",t({className:"content-item"},{children:[c("p",t({className:"content-item-label"},{children:k("TUIContact.block")})),c(f,{className:"content-item-text",onChange:function(){return o(h,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,w(d.userID)];case 1:return t.sent(),N(!1),j(),[2]}}))}))},checked:C})]}))}))]})}var d=i.memo(h);export{d as BlockInfo,h as UnMemoizedBlockInfo};
@@ -1 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsxs as e,Fragment as n,jsx as a}from"react/jsx-runtime";import i from"react";import c from"@tencentcloud/chat";import{useUIKit as o}from"@tencentcloud/uikit-base-component-react";import{useUIManagerStore as r}from"../../../store/UIManagerStore.js";import{Avatar as m}from"../../Avatar/Avatar.js";import{defaultUserAvatar as l}from"../../Avatar/default.js";import s from"./hooks/useContactInfo.js";function d(i){var d=r().setActiveContact,f=o().t,h=i.application,p=h.userID,v=h.nick,u=h.avatar,N=h.type,b=h.wording,I=s(),A=I.acceptFriendApplication,C=I.refuseFriendApplication;return e(n,{children:[a("div",t({className:"tui-contact-info-header"},{children:e("div",t({className:"header-container"},{children:[e("div",t({className:"header-container-avatar"},{children:[a(m,{size:60,image:u||l}),a("div",t({className:"header-container-name"},{children:v||p}))]})),a("div",t({className:"header-container-text"},{children:"ID:".concat(p)}))]}))})),a("div",t({className:"tui-contact-info-content"},{children:e("div",t({className:"content-item"},{children:[a("p",t({className:"content-item-label"},{children:f("TUIContact.verification info")})),a("p",t({className:"content-item-text"},{children:b}))]}))})),N===c.TYPES.SNS_APPLICATION_SENT_TO_ME&&a("div",t({className:"tui-contact-info-content"},{children:e("div",t({className:"content-btn-container"},{children:[a("div",t({className:"content-item-btn delete-btn",role:"button",tabIndex:0,onClick:function(){d(),C(p)}},{children:f("TUIContact.Refuse")})),a("div",t({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){d(),A(p)}},{children:f("TUIContact.Agree")}))]}))}))]})}var f=i.memo(d);export{f as FriendApplicationInfo,d as UnMemoizedFriendApplication};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as n}from"tslib";import{jsxs as i,Fragment as o,jsx as c}from"react/jsx-runtime";import r,{useState as a,useEffect as s}from"react";import{useUIKit as l}from"@tencentcloud/uikit-base-component-react";import{TUIConversationService as m}from"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as d}from"../../../store/UIManagerStore.js";import{BasicInfo as u}from"./basicInfo.js";import{Switch as f}from"../../Switch/Switch.js";import h from"./hooks/useContactInfo.js";import{DivWithEdit as v}from"../../DivWithEdit/DivWithEdit.js";function p(r){var p=this,b=d().chat,C=d(),k=C.contactData,I=C.setActiveContact,N=C.setActiveConversation,g=l().t,x=r.friend,j=r.showChats,w=x.userID,D=x.profile,T=x.remark,U=a(""),S=U[0],E=U[1],A=a(""),F=A[0],M=A[1],W=a(!1),y=W[0],B=W[1],q=h(),z=q.addToBlocklist,G=q.deleteFriend;s((function(){B(!1),M(T)}),[k,T]);return i(o,{children:[c(u,{profile:D}),i("div",t({className:"tui-contact-info-content"},{children:[i("div",t({className:"content-item"},{children:[c("p",t({className:"content-item-label"},{children:g("TUIContact.remark")})),c(v,{name:"remark",className:"content-item-text",value:F,type:"text",toggle:function(){E("remark")},isEdit:"remark"===S,confirm:function(t){b.updateFriend({userID:w,remark:null==t?void 0:t.value}),M(null==t?void 0:t.value),E("")},close:function(){E("")}})]})),i("div",t({className:"content-item"},{children:[c("p",t({className:"content-item-label"},{children:g("TUIContact.block")})),c(f,{className:"content-item-text",onChange:function(){return e(p,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,z(w)];case 1:return t.sent(),B(!0),I(),[2]}}))}))},checked:y})]})),i("div",t({className:"content-btn-container"},{children:[c("div",t({className:"content-item-btn delete-btn",role:"button",tabIndex:0,onClick:function(){return e(p,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,G(w)];case 1:return t.sent(),I(),[2]}}))}))}},{children:g("TUIContact.Delete friend")})),c("div",t({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){var t="C2C".concat(w);j&&j(),m.switchConversation(t).then((function(t){N(t.getConversation())}))}},{children:g("TUIContact.Send Message")}))]}))]}))]})}var b=r.memo(p);export{b as FriendInfo,p as UnMemoizedFriendInfo};
@@ -1 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsxs as e,Fragment as n,jsx as o}from"react/jsx-runtime";import r from"react";import{useUIKit as a}from"@tencentcloud/uikit-base-component-react";import{TUIConversationService as i}from"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as c}from"../../../store/UIManagerStore.js";import{Icon as s}from"../../Icon/Icon.js";import{IconTypes as m}from"../../Icon/type.js";import{isH5 as d}from"../../../utils/env.js";import{Avatar as l}from"../../Avatar/Avatar.js";import{defaultUserAvatar as h}from"../../Avatar/default.js";function v(r){var v=r.group,f=r.showChats,p=c(),u=p.setActiveContact,C=p.setActiveConversation,g=a().t,I=v.groupID,N=v.name,b=v.avatar;return e(n,{children:[e("div",t({className:"tui-contact-info-header"},{children:[d&&o(s,{width:9,height:16,type:m.BACK,onClick:function(){i.switchConversation(""),u()}}),e("div",t({className:"header-container"},{children:[e("div",t({className:"header-container-avatar"},{children:[o(l,{size:60,image:b||h}),o("div",t({className:"header-container-name"},{children:N||I}))]})),o("div",t({className:"header-container-text"},{children:"groupID:".concat(I)}))]}))]})),o("div",t({className:"tui-contact-info-content"},{children:o("div",t({className:"content-btn-container"},{children:o("div",t({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){var t="GROUP".concat(I);f&&f(),i.switchConversation(t).then((function(t){C(t.getConversation())}))}},{children:g("TUIContact.Send Message")}))}))}))]})}var f=r.memo(v);export{f as GroupInfo,v as UnMemoizedGroupInfo};
@@ -1 +0,0 @@
1
- import{__awaiter as e,__generator as r}from"tslib";import{useCallback as i}from"react";import t from"@tencentcloud/chat";import{Toast as n}from"../../../Toast/index.js";import{useUIManagerStore as o}from"../../../../store/UIManagerStore.js";function c(){var c=this,s=o().chat,d=i((function(e){s.removeFromBlacklist({userIDList:[e]})}),[s]),a=i((function(e){s.addFriend({to:null==e?void 0:e.userID,source:"AddSource_Type_Web",remark:null==e?void 0:e.remark,wording:null==e?void 0:e.wording}).catch((function(e){console.warn("delete friend failed:",e),n({text:e,type:"error"})}))}),[s]),u=i((function(e){s.deleteFriend({userIDList:[e]})}),[s]);return{addToBlocklist:i((function(e){s.addToBlacklist({userIDList:[e]})}),[s]),removeFromBlocklist:d,isFriend:function(e){return new Promise((function(r,i){s.checkFriend({userIDList:[null==e?void 0:e.userID],type:t.TYPES.SNS_CHECK_TYPE_BOTH}).then((function(e){var i,n;switch(null===(n=null===(i=null==e?void 0:e.data)||void 0===i?void 0:i.successUserIDList[0])||void 0===n?void 0:n.relation){case t.TYPES.SNS_TYPE_NO_RELATION:case t.TYPES.SNS_TYPE_A_WITH_B:case t.TYPES.SNS_TYPE_B_WITH_A:r(!1);break;case t.TYPES.SNS_TYPE_BOTH_WAY:r(!0);break;default:r(!1)}})).catch((function(e){console.warn("checkFriend error",e),i(e)}))}))},isBlock:function(i){return e(c,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,s.getBlacklist()];case 1:return[2,e.sent().data.includes(i)]}}))}))},addFriend:a,deleteFriend:u,acceptFriendApplication:i((function(e){s.acceptFriendApplication({userID:e,type:t.TYPES.SNS_APPLICATION_AGREE_AND_ADD})}),[s]),refuseFriendApplication:i((function(e){s.refuseFriendApplication({userID:e})}),[s])}}export{c as default};
@@ -1,6 +0,0 @@
1
- import React__default from 'react';
2
-
3
- declare function UnMemoizedContactList<T>(): React__default.ReactElement;
4
- declare const ContactList: React__default.MemoExoticComponent<typeof UnMemoizedContactList>;
5
-
6
- export { ContactList };
@@ -1 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsxs as i,jsx as n,Fragment as e}from"react/jsx-runtime";import o,{useState as c}from"react";import{useUIKit as a}from"@tencentcloud/uikit-base-component-react";import s from"@tencentcloud/chat";import{isH5 as r}from"../../../utils/env.js";import"@tencentcloud/tui-core";import"react-i18next";import"../../../context/MessageContext.js";import{useTUIContactContext as l}from"../../../context/ContactContext.js";import"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as m}from"../../../store/UIManagerStore.js";import d from"../ContactInfo/hooks/useContactInfo.js";import u from"../hooks/useTUIContact.js";import{Avatar as p}from"../../Avatar/Avatar.js";import{defaultUserAvatar as h}from"../../Avatar/default.js";function f(){var o=m().setActiveContact,f=a().t,v=l("TUIContactList"),N=v.isShowContactList,C=v.friendList,I=v.blocklistProfile,S=v.friendApplicationList,x=d().acceptFriendApplication,b=u().groupList,k=c(!1),T=k[0],g=k[1],w=c(!1),A=w[0],j=w[1],L=c(!1),P=L[0],U=L[1],_=c(!1),y=_[0],E=_[1],M=function(c){var a=c.type,s=c.isShow,r=c.setShow,l=c.list,m=c.title;return i(e,{children:[i("div",t({className:"tui-contacts-title",role:"button",tabIndex:0,onClick:function(){return r(!s)}},{children:[n("div",t({className:"tui-contacts-list-title"},{children:m})),n("div",t({className:"tui-contacts-list-icon"},{children:n("i",t({className:"iconfont contacts-list-icon"},s?{children:""}:{children:""}))}))]})),s&&(null==l?void 0:l.map((function(e){var c=e.profile||e,s=c.userID,r=c.groupID,l=c.avatar,m=c.name,d=c.nick,u=e.remark||d||s||m||r;return i("div",t({role:"button",tabIndex:0,className:"tui-contacts-list-item",onClick:function(){o({type:a,data:e})}},{children:[n(p,{size:30,image:l||h}),n("div",t({className:"tui-contacts-list-item-container"},{children:n("p",t({className:"tui-contacts-list-item-name"},{children:u}))}))]}),s||r)})))]})};return N&&i("div",t({className:"tui-contacts-list ".concat(r?"tui-contacts-list-h5":""," ")},{children:[i("div",t({className:"tui-contacts-title",role:"button",tabIndex:0,onClick:function(){return g(!T)}},{children:[n("p",t({className:"tui-contacts-list-title"},{children:f("TUIContact.New Contacts")})),n("div",t({className:"tui-contacts-list-icon"},{children:n("i",t({className:"iconfont contacts-list-icon"},T?{children:""}:{children:""}))}))]})),T&&(null==S?void 0:S.map((function(e,c){var a=e.userID,r=e.avatar,l=e.nick,m=e.wording,d=e.type;return i("div",t({role:"button",tabIndex:0,className:"tui-contacts-list-item",onClick:function(t){t.stopPropagation(),o({type:"friendApplication",data:e})}},{children:[n(p,{size:30,image:r||h}),i("div",t({className:"tui-contacts-list-item-card"},{children:[i("div",{children:[n("p",t({className:"tui-contacts-list-item-name text-ellipsis"},{children:l||a})),""!==m&&n("p",t({className:"tui-contacts-list-item-text text-ellipsis"},{children:m}))]}),d===s.TYPES.SNS_APPLICATION_SENT_BY_ME&&n("p",t({className:"tui-contacts-list-btn-text text-ellipsis"},{children:f("TUIContact.waiting for verification")})),d===s.TYPES.SNS_APPLICATION_SENT_TO_ME&&n("div",t({className:"application-btn",role:"button",tabIndex:0,onClick:function(t){!function(t,i){t.stopPropagation(),x(i),o()}(t,a)}},{children:f("TUIContact.Agree")}))]}))]}),a)}))),n(M,{type:"block",title:f("TUIContact.Blocked List"),isShow:P,setShow:U,list:I}),n(M,{type:"group",title:f("TUIContact.Group List"),setShow:E,isShow:y,list:b}),n(M,{type:"friend",title:f("TUIContact.Friends"),setShow:j,isShow:A,list:C})]}))}var v=o.memo(f);export{v as ContactList};
@@ -1 +0,0 @@
1
- import{__awaiter as t,__generator as n}from"tslib";import{useState as i,useEffect as r}from"react";import o from"@tencentcloud/chat";import{TUIStore as e,StoreName as a}from"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as u}from"../../../store/UIManagerStore.js";function c(){var c=this,s=u().chat,l=i([]),d=l[0],f=l[1],v=i([]),L=v[0],h=v[1],p=i([]),E=p[0],m=p[1],A=i([]),T=A[0],g=A[1],D=i(),I=D[0],P=D[1],b=i(!0),w=b[0],N=b[1];r((function(){e.watch(a.GRP,{groupList:S}),U(),k(),_()}),[s]);var S=function(t){P(t)};r((function(){null==s||s.on(o.EVENT.BLACKLIST_UPDATED,R),null==s||s.on(o.EVENT.FRIEND_LIST_UPDATED,V),null==s||s.on(o.EVENT.FRIEND_APPLICATION_LIST_UPDATED,F)}),[s]);var _=function(){return t(c,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:return[4,s.getFriendApplicationList()];case 1:return t=n.sent().data,m(null==t?void 0:t.friendApplicationList),[2]}}))}))},U=function(){return t(c,void 0,void 0,(function(){var t,i,r;return n(this,(function(n){switch(n.label){case 0:return[4,null==s?void 0:s.getFriendList()];case 1:return t=n.sent(),i=t.code,r=t.data,0===i&&f(r),[2]}}))}))},k=function(){return t(c,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:return[4,null==s?void 0:s.getBlacklist()];case 1:return 0===(t=n.sent().data).length||(h(t),C(t)),[2]}}))}))},C=function(i){return t(c,void 0,void 0,(function(){var t;return n(this,(function(n){switch(n.label){case 0:return[4,s.getUserProfile({userIDList:i})];case 1:return t=n.sent().data,g(t),[2]}}))}))},F=function(t){var n;m(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.friendApplicationList)},R=function(t){h(t.data),C(t.data)},V=function(t){f(t.data)};return{friendList:d,groupList:I,blocklistProfile:T,friendApplicationList:E,blockList:L,isShowContactList:w,setShowContactList:N}}export{c as default};
@@ -1 +0,0 @@
1
- import{__assign as t,__awaiter as e,__generator as r}from"tslib";import{jsxs as n,jsx as o}from"react/jsx-runtime";import i,{useState as a}from"react";import{useUIKit as c}from"@tencentcloud/uikit-base-component-react";import"@tencentcloud/tui-core";import"react-i18next";import"../../context/MessageContext.js";import{useTUIContactContext as u}from"../../context/ContactContext.js";import"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as s}from"../../store/UIManagerStore.js";import m from"./hooks/useContactSearch.js";import{Icon as l}from"../Icon/Icon.js";import{IconTypes as d}from"../Icon/type.js";import{Avatar as v}from"../Avatar/Avatar.js";import{defaultUserAvatar as f}from"../Avatar/default.js";import{Input as p}from"../Input/Input.js";function h(){var i=this,h=s().setActiveContact,I=c().t,C=u("TUIContactList"),g=C.friendList,j=C.setShowContactList,x=a(!1),k=x[0],b=x[1],y=m(),N=y.checkFriend,A=y.isBlock,D=y.getUserProfile,U=a(""),w=U[0],S=U[1],F=a([]),L=F[0],T=F[1];return n("div",t({className:"tui-contact-search"},{children:[o(p,{className:"tui-contact-search-input",placeholder:I("TUIContact.Enter a userID"),clearable:!0,value:w,onBlur:function(t){var e;S(null===(e=t.target)||void 0===e?void 0:e.value)},onFocus:function(){h()},onChange:function(t){var e,r;if(""===(null===(e=t.target)||void 0===e?void 0:e.value))return j&&j(!0),b(!1),void T([]);b(!0),S(null===(r=t.target)||void 0===r?void 0:r.value),j&&j(!1)},onKeyDown:function(){return e(i,void 0,void 0,(function(){return r(this,(function(t){return w&&D(w).then((function(t){var e=t.data;T(e)})),[2]}))}))},prefix:o(l,{type:d.SEARCH,height:16,width:16})}),k&&0===L.length?o("div",t({className:"tui-contact-search-item"},{children:I("TUIContact.No Result")})):L.map((function(a,c){var u=a.userID,s=a.avatar,m=a.nick;return n("div",t({className:"tui-contact-search-item",role:"button",tabIndex:0,onClick:function(){var t;t=a,e(i,void 0,void 0,(function(){var e;return r(this,(function(r){switch(r.label){case 0:return[4,N(t)];case 1:return r.sent()?((e=null==g?void 0:g.find((function(t){return t.userID===w})))&&h({type:"friend",data:e}),[2]):A(t.userID)?(h({type:"block",data:t}),[2]):(h({type:"addFriend",data:t}),[2])}}))}))}},{children:[o(v,{size:30,image:s||f}),o("div",t({className:"search-item-name"},{children:m||u}))]}),u)}))]}))}var I=i.memo(h);export{I as ContactSearch,h as UnMemoizedContactSearch};
@@ -1 +0,0 @@
1
- import t from"@tencentcloud/chat";import"tslib";import"react/jsx-runtime";import"react";import"@tencentcloud/tui-core";import"react-i18next";import"../../../context/MessageContext.js";import{useTUIContactContext as e}from"../../../context/ContactContext.js";import"@tencentcloud/chat-uikit-engine";import{useUIManagerStore as r}from"../../../store/UIManagerStore.js";function o(){var o=e("TUIContactList").blockList,n=r().chat;return{checkFriend:function(e){return n.checkFriend({userIDList:[null==e?void 0:e.userID],type:t.TYPES.SNS_CHECK_TYPE_BOTH}).then((function(e){var r,o;return(null===(o=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.successUserIDList[0])||void 0===o?void 0:o.relation)===t.TYPES.SNS_TYPE_BOTH_WAY}))},isBlock:function(t){return null==o?void 0:o.includes(t)},getUserProfile:function(t){return n.getUserProfile({userIDList:[t]})}}}export{o as default};
@@ -1,52 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { IConversationModel } from '@tencentcloud/chat-uikit-engine';
4
-
5
- interface IConversationActionsConfig {
6
- /** Determines whether the pin button appears on the conversation actions list view. (Default: True) */
7
- enablePin?: boolean;
8
- /** Determines whether the mute button appears on the conversation actions list view. (Default: True) */
9
- enableMute?: boolean;
10
- /** Determines whether the delete button appears on the conversation actions list view. (Default: True) */
11
- enableDelete?: boolean;
12
- /** Function to override the default behavior when user pin or unpin a conversation. */
13
- onConversationPin?: (conversation: IConversationModel, e?: React__default.MouseEvent) => void;
14
- /** Function to override the default behavior when user mute or unmute a conversation. */
15
- onConversationMute?: (conversation: IConversationModel, e?: React__default.MouseEvent) => void;
16
- /** Function to override the default behavior when user delete a conversation. */
17
- onConversationDelete?: (conversation: IConversationModel, e?: React__default.MouseEvent) => void;
18
- /**
19
- * An object containing custom conversation actions (key) and object (value).
20
- * Each value is an object with the following properties:
21
- * enable: Determines whether the custom action is enabled. (Default: True)
22
- * label: The label of the custom action.
23
- * onClick: The function to be called when the custom action is clicked.
24
- * Note: The key of the custom action must be unique.
25
- */
26
- customConversationActions?: Record<string, IConversationActionItem>;
27
- /** The icon react element to be displayed in the action popup. */
28
- PopupIcon?: React__default.ReactElement;
29
- /** An array of react elements to be displayed in the action popup. */
30
- PopupElements?: React__default.ReactElement[];
31
- /** The function to be called when the action popup is clicked. */
32
- onClick?: (e: React__default.MouseEvent, key?: string, conversation?: IConversationModel) => void;
33
- }
34
- interface IConversationActionsProps extends IConversationActionsConfig {
35
- /** The conversation model. */
36
- conversation: IConversationModel;
37
- /** The class name of the root element. */
38
- className?: string;
39
- /** The style of the root element. */
40
- style?: React__default.CSSProperties;
41
- }
42
- interface IConversationActionItem {
43
- /** Determines whether the custom action is enabled. (Default: True) */
44
- enable?: boolean;
45
- /** label: The label of the custom action. */
46
- label: string;
47
- /** onClick: The function to be called when the custom action is clicked. */
48
- onClick: (conversation: IConversationModel, e?: React__default.MouseEvent) => void;
49
- }
50
- declare const ConversationActions: (props: IConversationActionsProps) => react_jsx_runtime.JSX.Element;
51
-
52
- export { ConversationActions, IConversationActionItem, IConversationActionsConfig, IConversationActionsProps };
@@ -1 +0,0 @@
1
- import{__assign as n}from"tslib";import{jsx as o}from"react/jsx-runtime";import e,{useRef as i,useEffect as t}from"react";import{useUIKit as r}from"@tencentcloud/uikit-base-component-react";import a from"classnames";import{Plugins as s}from"../Plugins/index.js";import{Icon as c}from"../Icon/Icon.js";import{IconTypes as l}from"../Icon/type.js";var u=function(u){var m=u.conversation,v=u.PopupIcon,p=u.enablePin,C=void 0===p||p,d=u.enableMute,f=void 0===d||d,b=u.enableDelete,k=void 0===b||b,I=u.onConversationPin,M=u.onConversationMute,P=u.onConversationDelete,_=u.customConversationActions,U=u.PopupElements,h=u.onClick,N=u.className,j=u.style,y=r().t,T=i(null),g=e.useState({}),x=g[0],D=g[1],w={delete:{enable:k,label:y("TUIConversation.Delete"),onClick:P||function(n){n.deleteConversation()}},pin:{enable:C,label:y(m.isPinned?"TUIConversation.Unpin":"TUIConversation.Pin"),onClick:I||function(n){n.pinConversation()}},mute:{enable:f,label:y(m.isMuted?"TUIConversation.Unmute":"TUIConversation.Mute"),onClick:M||function(n){n.muteConversation()}}};t((function(){D(n(n({},w),_))}),[m,_]);var E=function(n,o){var e,i;(null===(e=null==T?void 0:T.current)||void 0===e?void 0:e.closeMore)&&T.current.closeMore(),null==h||h(n,o,m),null===(i=x[o])||void 0===i||i.onClick(m,n)};return o("div",n({className:a({"uikit-conversation-actions":!0,className:N}),style:j,onClick:function(n){n.stopPropagation()}},{children:o(s,{customClass:"uikit-conversation-actions__container",ref:T,plugins:U||Object.keys(x).map((function(e){return!1===x[e].enable?null:o("div",n({className:a("uikit-conversation-actions__item",["uikit-conversation-actions__item--".concat(e)]),onClick:function(n){return E(n,e)}},{children:x[e].label}),e)})),showNumber:0,MoreIcon:v||o(c,{className:"uikit-conversation-actions__popup-icon",width:16,height:16,type:l.MORE})})}))};export{u as ConversationActions};
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { CreateGroupParams, IConversationModel } from '@tencentcloud/chat-uikit-engine';
4
-
5
- interface IConversationCreateProps {
6
- visible?: boolean;
7
- className?: string;
8
- style?: React__default.CSSProperties;
9
- onBeforeCreateConversation?: (params: string | CreateGroupParams) => string | CreateGroupParams;
10
- onConversationCreated?: (conversation: IConversationModel) => void;
11
- onChangeCreateModelVisible: (visible: boolean) => void;
12
- conversationList?: IConversationModel[];
13
- }
14
- declare enum PageStateTypes {
15
- USER_SELECT = "Next",
16
- CREATE_DETAIL = "Create",
17
- GROUP_TYPE = "GroupType"
18
- }
19
- declare function ConversationCreate<T extends IConversationCreateProps>(props: T): react_jsx_runtime.JSX.Element | null;
20
-
21
- export { ConversationCreate, IConversationCreateProps, PageStateTypes };
@@ -1 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useState as n,useEffect as r,useMemo as i}from"react";import{useUIKit as a}from"@tencentcloud/uikit-base-component-react";import{TUIConversationService as s}from"@tencentcloud/chat-uikit-engine";import c from"classnames";import{Icon as C}from"../Icon/Icon.js";import{IconTypes as l}from"../Icon/type.js";import{ConversationCreateButton as m}from"./ConversationCreateButton.js";import{ConversationCreateUserSelectList as u}from"./ConversationCreateUserSelectList.js";import{ConversationCreateGroupDetail as v}from"./ConversationCreateGroupDetail.js";var E;function f(f){var p=f.visible,d=void 0===p||p,S=f.className,T=f.style,L=f.onChangeCreateModelVisible,h=f.conversationList,R=void 0===h?[]:h,U=f.onBeforeCreateConversation,_=f.onConversationCreated,I=a().t,A=n(!1),k=A[0],P=A[1],b=n(!1),g=b[0],j=b[1],G=n(E.USER_SELECT),N=G[0],y=G[1],B=n([]),D=B[0],w=B[1],x=function(e){P(!1),Y(),s.switchConversation(e.conversationID),null==_||_(e)};r((function(){L(k)}),[L,k]);var O=function(){if(g)switch(N){case E.USER_SELECT:j(!1);break;case E.CREATE_DETAIL:y(E.USER_SELECT),w([]);break;case E.GROUP_TYPE:y(E.CREATE_DETAIL)}else P(!1),Y()};function Y(){j(!1),y(E.USER_SELECT),w([])}return i((function(){return d?t("div",e({className:c("uikit-conversation-create-container",S),style:T},{children:[!k&&o(m,{onClick:function(){return P(!0)}}),k&&t("div",e({className:"tui-conversation-create"},{children:[t("div",e({className:"tui-conversation-create-header"},{children:[o(C,{onClick:O,type:l.BACK,width:9,height:16}),o("div",e({className:"title"},{children:I(g?"TUIConversation.Add Participants":"TUIConversation.Start chat")}))]})),N===E.USER_SELECT?o(u,{isCreateGroup:g,setIsCreateGroup:j,selectList:D,setSelectList:w,conversationList:R,onBeforeCreateConversation:U,onConversationCreated:x,setPageState:y}):o(v,{pageState:N,setPageState:y,profileList:D.map((function(e){return null==e?void 0:e.profile})),onBeforeCreateConversation:U,onConversationCreated:x})]}))]})):null}),[d,S,k,g,N,D,R,U])}!function(e){e.USER_SELECT="Next",e.CREATE_DETAIL="Create",e.GROUP_TYPE="GroupType"}(E||(E={}));export{f as ConversationCreate,E as PageStateTypes};
@@ -1,13 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
-
4
- interface IConversationCreateButtonProps {
5
- visible?: boolean;
6
- onClick?: (event: React__default.BaseSyntheticEvent) => void;
7
- height?: number;
8
- width?: number;
9
- className?: string;
10
- }
11
- declare const ConversationCreateButton: (props: IConversationCreateButtonProps) => react_jsx_runtime.JSX.Element | null;
12
-
13
- export { ConversationCreateButton, IConversationCreateButtonProps };
@@ -1 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsx as o}from"react/jsx-runtime";import t from"classnames";import{Icon as r}from"../Icon/Icon.js";import{IconTypes as e}from"../Icon/type.js";var n=function(n){var m=n.visible,c=void 0===m||m,s=n.className,a=n.onClick,l=n.height,p=void 0===l?24:l,v=n.width,d=void 0===v?24:v;return c?o("div",i({className:t("tui-conversation-create-button",s)},{children:o(r,{onClick:a,type:e.CREATE,height:p,width:d})})):null};export{n as ConversationCreateButton};
@@ -1,16 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { Profile } from '@tencentcloud/chat';
4
- import { CreateGroupParams, IConversationModel } from '@tencentcloud/chat-uikit-engine';
5
- import { PageStateTypes } from './ConversationCreate.js';
6
-
7
- interface ConversationCreateGroupDetailProps {
8
- profileList: Profile[];
9
- pageState: PageStateTypes;
10
- setPageState: React__default.Dispatch<React__default.SetStateAction<PageStateTypes>>;
11
- onBeforeCreateConversation?: (params: CreateGroupParams) => void;
12
- onConversationCreated?: (conversation: IConversationModel) => void;
13
- }
14
- declare function ConversationCreateGroupDetail(props: ConversationCreateGroupDetailProps): react_jsx_runtime.JSX.Element;
15
-
16
- export { ConversationCreateGroupDetail, ConversationCreateGroupDetailProps };
@@ -1 +0,0 @@
1
- import{__spreadArray as e,__assign as r,__awaiter as t,__generator as o}from"tslib";import{jsxs as n,Fragment as a,jsx as i}from"react/jsx-runtime";import{useState as c}from"react";import{useUIKit as s}from"@tencentcloud/uikit-base-component-react";import{Input as u}from"../Input/Input.js";import{Icon as p}from"../Icon/Icon.js";import{IconTypes as l}from"../Icon/type.js";import{Toast as m}from"../Toast/index.js";import{Avatar as d}from"../Avatar/Avatar.js";import{defaultUserAvatar as v,defaultGroupAvatarAVChatRoom as f,defaultGroupAvatarMeeting as g,defaultGroupAvatarPublic as h,defaultGroupAvatarWork as C}from"../Avatar/default.js";import{PageStateTypes as I}from"./ConversationCreate.js";import{GroupType as N,ConversationGroupTypeInfo as b,typeInfoList as x}from"./ConversationGroupTypeInfo.js";import{useUIManagerStore as T}from"../../store/UIManagerStore.js";import{createGroupConversation as y}from"../../hooks/useConversation.js";function k(k){var j=this,U=k.profileList,P=k.pageState,G=k.setPageState,D=k.onBeforeCreateConversation,R=k.onConversationCreated,A=s().t,S=T().myProfile,O=e([],U,!0);S&&O.unshift(S);var w=O.map((function(e){return e.nick||e.userID})).toString(),L=c(w.length>=15?"".concat(w.slice(0,12),"..."):w),W=L[0],_=L[1],E=c(""),M=E[0],Y=E[1],q=c(N.Work),z=q[0],B=q[1],H=function(e,r){var t=e.target.value;switch(r){case"name":_(t);break;case"id":Y(t);break;case"type":B(t)}},V=function(){G(I.GROUP_TYPE)};return P!==I.GROUP_TYPE?n(a,{children:[n("div",r({className:"tui-conversation-create-group-detail"},{children:[i("div",r({className:"create-group-box create-group-name"},{children:i(u,{maxLength:15,value:W,onChange:function(e){H(e,"name")},border:"bottom",inputClassName:"input-group-name",clearable:!0,prefix:i("div",r({className:"input-group-title"},{children:A("TUIConversation.Group Name")}))})})),i("div",r({className:"create-group-box create-group-id"},{children:i(u,{border:"bottom",inputClassName:"input-group-text",clearable:!0,value:M,onChange:function(e){H(e,"id")},prefix:i("div",r({className:"input-group-title"},{children:A("TUIConversation.Group ID")}))})})),i("div",r({className:"create-group-box create-group-type",onClick:V},{children:i(u,{readOnly:!0,border:"bottom",inputClassName:"input-group-text",prefix:i("div",r({className:"input-group-title"},{children:A("TUIConversation.Group Type")})),suffix:i(p,{onClick:V,type:l.ARROW_RIGHT,width:7,height:12}),value:A("TUIConversation.".concat(z)),onChange:function(e){H(e,"type")}})})),i("div",r({className:"create-group-illustrate"},{children:A("TUIConversation.".concat(null==x?void 0:x.find((function(e){return e.type===z})).des))})),n("div",r({className:"create-group-portrait"},{children:[i("div",r({className:"create-group-portrait-title"},{children:A("TUIConversation.Participants")})),i("div",r({className:"create-group-portrait-info-container"},{children:U.map((function(e){var t=e.avatar,o=e.userID,a=e.nick;return n("div",r({className:"create-group-portrait-info"},{children:[i(d,{shape:"square",size:50,image:t||v}),i("div",r({className:"create-group-portrait-info-nick"},{children:a}))]}),o)}))}))]}))]})),i("div",r({className:"tui-conversation-create-next-container"},{children:i("div",r({role:"presentation",className:"tui-conversation-create-next",onClick:function(){return t(j,void 0,void 0,(function(){var e,r,t,n;return o(this,(function(o){return e=U.map((function(e){return{userID:e.userID}})),r=function(e){switch(e){case N.Work:return C;case N.Public:return h;case N.Meeting:return g;case N.AVChatRoom:return f;default:return""}}(z),t={name:W,type:z,groupID:M,avatar:r,memberList:e},n=(null==D?void 0:D(t))||t,y(n).then((function(e){null==R||R(e)})).catch((function(e){m({text:e.message,type:"error"})})),[2]}))}))}},{children:A("TUIConversation.Create")}))}))]}):i(b,{groupType:z,setGroupType:B,setPageState:G})}export{k as ConversationCreateGroupDetail};
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { Profile } from '@tencentcloud/chat';
4
-
5
- interface ValueProps {
6
- profile: Profile;
7
- domList: HTMLInputElement[];
8
- }
9
- interface ConversationCreateSelectViewProps {
10
- selectList: ValueProps[];
11
- setSelectList: React__default.Dispatch<React__default.SetStateAction<ValueProps[]>>;
12
- }
13
- declare function ConversationCreateSelectView(props: ConversationCreateSelectViewProps): react_jsx_runtime.JSX.Element;
14
-
15
- export { ConversationCreateSelectView, ConversationCreateSelectViewProps };
@@ -1 +0,0 @@
1
- import{__assign as e,__spreadArray as i}from"tslib";import{jsx as t,jsxs as r}from"react/jsx-runtime";import{Avatar as c}from"../Avatar/Avatar.js";import{defaultUserAvatar as o}from"../Avatar/default.js";import{Icon as s}from"../Icon/Icon.js";import{IconTypes as n}from"../Icon/type.js";function a(a){var m=a.selectList,l=a.setSelectList;return t("div",e({className:"conversation-create-select-view"},{children:m.map((function(a,f){var v=a.profile,p=a.domList,d=v.nick,u=v.userID,h=v.avatar;return r("div",e({className:"select-view-info"},{children:[t(s,{height:12,width:12,type:n.CLOSE,className:"select-view-info-close",onClick:function(){!function(e,t){e.forEach((function(e){e.checked=!1})),m.splice(t,1),l(i([],m,!0))}(p,f)}}),t(c,{image:h||o,size:40}),t("div",e({className:"select-view-info-nick"},{children:d||u}))]}),u)}))}))}export{a as ConversationCreateSelectView};
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { ConversationCreateSelectViewProps } from './ConversationCreateSelectView.js';
4
- import { PageStateTypes } from './ConversationCreate.js';
5
- import { IConversationModel } from '@tencentcloud/chat-uikit-engine';
6
-
7
- interface ConversationCreateUserSelectListProps extends ConversationCreateSelectViewProps {
8
- isCreateGroup: boolean;
9
- setIsCreateGroup: React__default.Dispatch<React__default.SetStateAction<boolean>>;
10
- className?: string;
11
- conversationList: IConversationModel[];
12
- setPageState: React__default.Dispatch<React__default.SetStateAction<PageStateTypes>>;
13
- onBeforeCreateConversation?: (userID: string) => void;
14
- onConversationCreated?: (conversation: IConversationModel) => void;
15
- }
16
- declare function ConversationCreateUserSelectList(props: ConversationCreateUserSelectListProps): react_jsx_runtime.JSX.Element;
17
-
18
- export { ConversationCreateUserSelectList, ConversationCreateUserSelectListProps };
@@ -1 +0,0 @@
1
- import{__assign as e,__awaiter as t,__generator as r,__spreadArray as n}from"tslib";import{jsxs as o,Fragment as i,jsx as c}from"react/jsx-runtime";import{useState as a,useRef as s}from"react";import{useUIKit as u}from"@tencentcloud/uikit-base-component-react";import{Input as l}from"../Input/Input.js";import{Icon as m}from"../Icon/Icon.js";import{IconTypes as p}from"../Icon/type.js";import{ConversationCreateSelectView as f}from"./ConversationCreateSelectView.js";import{Avatar as h}from"../Avatar/Avatar.js";import{defaultUserAvatar as v}from"../Avatar/default.js";import{useConversationCreate as d}from"./hooks/useConversationCreate.js";import{createC2CConversation as C}from"../../hooks/useConversation.js";import{useUIManagerStore as g}from"../../store/UIManagerStore.js";import{PageStateTypes as I}from"./ConversationCreate.js";import{Toast as N}from"../Toast/index.js";function k(k){var x=this,j=k.isCreateGroup,b=k.selectList,y=k.setSelectList,S=k.className,L=k.conversationList,A=k.setIsCreateGroup,D=k.setPageState,T=k.onBeforeCreateConversation,w=k.onConversationCreated,E=u().t,U=a(""),R=U[0],F=U[1];g().chat;var G=a({}),M=G[0],P=G[1],z=d(L,(function(e){P(e)})).getFriendListSortSearchResult,B=s(new Map);return o(i,{children:[c(l,{className:"tui-conversation-create-search-input",placeholder:E("TUIConversation.Search"),clearable:!0,value:R,onChange:function(e){return t(x,void 0,void 0,(function(){var t,n;return r(this,(function(r){switch(r.label){case 0:return t=e.target.value,F(t),n=P,[4,z(t)];case 1:return n.apply(void 0,[r.sent()]),[2]}}))}))},prefix:c(m,{type:p.SEARCH,height:16,width:16})}),j&&c(f,{selectList:b,setSelectList:y}),!j&&o("div",e({role:"presentation",className:"tui-user",onClick:function(){A(!0),B.current.clear(),y([])}},{children:[c(m,{type:p.ADD}),c("div",e({className:"tui-user-name active"},{children:E("TUIConversation.New group chat")}))]})),c("div",e({className:"tui-conversation-create-select-list-container ".concat(S)},{children:c("div",e({className:"tui-conversation-create-select-list"},{children:c("div",e({className:"tui-group-container"},{children:Object.keys(M).map((function(i){return 0!==M[i].length&&o("div",e({className:"tui-group-box"},{children:[c("div",e({className:"title"},{children:i})),M[i].map((function(a,s){var u=a.userID,l=a.nick,m=a.avatar;return o("label",e({role:"presentation",className:"tui-user tui-user-checkbox-label",htmlFor:"userChecked-".concat(i,"-").concat(u),onClick:function(){!function(e){t(x,void 0,void 0,(function(){var t;return r(this,(function(r){return j||(t=e.userID,null==T||T(t),C(t).then((function(e){null==w||w(e)})).catch((function(e){N({text:e.message,type:"error"})}))),[2]}))}))}(a)}},{children:[c(h,{size:30,image:m||v}),c("div",e({className:"tui-user-name text-ellipsis"},{children:l||"".concat(u)})),j&&c("input",{onChange:function(e){!function(e,t,r){void 0===r&&(r=[]);var o=t.userID,i=e.target.checked;r.forEach((function(e){e.checked=i})),i?b.push({profile:t,domList:r}):b.splice(b.findIndex((function(e){return e.profile.userID===o})),1),y(n([],b,!0))}(e,a,B.current.get(u))},type:"checkbox",ref:function(e){!function(e,t){if(t){B.current.has(e)||B.current.set(e,[]);var r=B.current.get(e);0!==r.length&&r.some((function(e){return e.id===t.id}))||r.push(t)}}(u,e)},id:"userChecked-".concat(i,"-").concat(u),className:"tui-user-checkbox"})]}),u)}))]}),i)}))}))}))})),j&&c("div",e({className:"tui-conversation-create-next-container"},{children:c("div",e({role:"presentation",className:"tui-conversation-create-next",onClick:function(){b&&0===b.length?N({text:E("TUIConversation.Participant cannot be empty"),type:"error"}):D(I.CREATE_DETAIL)}},{children:E("TUIConversation.Next")}))}))]})}export{k as ConversationCreateUserSelectList};
@@ -1,24 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default from 'react';
3
- import { PageStateTypes } from './ConversationCreate.js';
4
-
5
- declare enum GroupType {
6
- Work,
7
- Public,
8
- Meeting,
9
- AVChatRoom,
10
- Community
11
- }
12
- interface ConversationGroupTypeInfoProps {
13
- groupType: GroupType;
14
- setGroupType: React__default.Dispatch<React__default.SetStateAction<GroupType>>;
15
- setPageState: React__default.Dispatch<React__default.SetStateAction<PageStateTypes>>;
16
- }
17
- declare const typeInfoList: Array<{
18
- type: GroupType;
19
- name: string;
20
- des: string;
21
- }>;
22
- declare function ConversationGroupTypeInfo(props: ConversationGroupTypeInfoProps): react_jsx_runtime.JSX.Element;
23
-
24
- export { ConversationGroupTypeInfo, ConversationGroupTypeInfoProps, GroupType, typeInfoList };
@@ -1 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useUIKit as n}from"@tencentcloud/uikit-base-component-react";import{TUIChatEngine as r}from"@tencentcloud/chat-uikit-engine";import{PageStateTypes as i}from"./ConversationCreate.js";import{Icon as a}from"../Icon/Icon.js";import{IconTypes as s}from"../Icon/type.js";var c;!function(e){e[e.Work=r.TYPES.GRP_WORK]="Work",e[e.Public=r.TYPES.GRP_PUBLIC]="Public",e[e.Meeting=r.TYPES.GRP_MEETING]="Meeting",e[e.AVChatRoom=r.TYPES.GRP_AVCHATROOM]="AVChatRoom",e[e.Community=r.TYPES.GRP_COMMUNITY]="Community"}(c||(c={}));var u=[{type:c.Work,name:"Work",des:"Users can join the group only via invitation by existing members. The invitation does not need to be agreed by the invitee or approved by the group owner. See the documentation for details."},{type:c.Public,name:"Public",des:"After a public group is created, the group owner can designate group admins. To join the group, a user needs to search the group ID and send a request, which needs to be approved by the group owner or an admin before the user can join the group. See the documentation for details."},{type:c.Meeting,name:"Meeting",des:"After the group is created, a user can join and quit the group freely and can view the messages sent before joining the group. It is suitable for scenarios that integrate Tencent Real-Time Communication (TRTC), such as audio and video conferences and online education. See the documentation for details."},{type:c.AVChatRoom,name:"AVChatRoom",des:"After a group is created, a user can join and quit the group freely. The group can have an unlimited number of members, but it does not store message history. It can be combined with Live Video Broadcasting (LVB) to support on-screen comment scenarios. See the documentation for details."},{type:c.Community,name:"Community",des:"After creation, you can enter and leave at will, support up to 100,000 people, support historical message storage, and after users search for group ID and initiate a group application, they can join the group without administrator approval. See product documentation for details."}];function p(r){var c=r.groupType,p=r.setGroupType,m=r.setPageState,d=n().t;return t("div",e({className:"tui-conversation-group-type-info"},{children:[u.map((function(n){var r=n.type,u=n.name,h=n.des;return t("div",e({role:"presentation",className:"group-type-info-box ".concat(r===c?"group-type-info-box--active":""," "),onClick:function(){!function(e){p(e),m(i.CREATE_DETAIL)}(r)}},{children:[t("div",e({className:"group-type-info-title"},{children:[r===c&&o(a,{className:"box-active-icon",type:s.RIGHT,width:16,height:16}),d("TUIConversation.".concat(u))]})),o("div",e({className:"group-type-info-description"},{children:d("TUIConversation.".concat(h))}))]}),r)})),o("a",e({className:"group-type-info-document",target:"_blank",href:"https://trtc.io/document/33529?platform=web&product=chat&menulabel=uikit#group-types",rel:"bookmark noreferrer"},{children:d("TUIConversation.Details")}))]}))}export{p as ConversationGroupTypeInfo,c as GroupType,u as typeInfoList};
@@ -1,14 +0,0 @@
1
- import React__default from 'react';
2
- import { IConversationModel } from '@tencentcloud/chat-uikit-engine';
3
- import { Friend } from '@tencentcloud/chat';
4
-
5
- declare const useConversationCreate: (conversationList: IConversationModel[], setFriendListResultHandler?: ((newFriendListResult: object, setFriendListResult: React__default.Dispatch<React__default.SetStateAction<{
6
- string: object[];
7
- }>>) => void) | undefined) => {
8
- getFirstLetter: (str: string) => string;
9
- queryFriendList: (friendList: Friend[]) => Promise<void>;
10
- getFriendListSortSearchResult: (searchValue: string) => Promise<any>;
11
- friendListSortResult: any;
12
- };
13
-
14
- export { useConversationCreate };
@@ -1 +0,0 @@
1
- import{__awaiter as r,__generator as t}from"tslib";import{useState as n,useEffect as e}from"react";import{TUIStore as o,StoreName as i,TUIUserService as u}from"@tencentcloud/chat-uikit-engine";import c from"@tencentcloud/chat";import{strChineseFirstPy as s}from"../static/word.js";var a=function(a,f){var l=n(),d=l[0],v=l[1],h=function(r){var t=r.trim(),n=t.charCodeAt(0);return n>40869||n<19968?t.charAt(0):s.charAt(n-19968)},p=function(n){return r(void 0,void 0,void 0,(function(){var r;return t(this,(function(t){return a.filter((function(r){return(null==r?void 0:r.type)===c.TYPES.CONV_C2C})).slice(0,5).map((function(r){return null==r?void 0:r.userProfile})),r=m(null==n?void 0:n.map((function(r){return r.profile}))),v(r),f&&f(r,v),[2]}))}))};function m(r,t){for(var n={"#":[]},e=65;e<=90;e+=1)n[String.fromCharCode(e)]=[];return null==r||r.forEach((function(r){var t=r.nick,e=r.userID,o=h(t||e);o>="a"&&o<="z"?n[o.toLocaleUpperCase()].push(r):o<"A"||o>"z"?n["#"].push(r):n[o].push(r)})),Object.keys(n).forEach((function(r){n[r].sort((function(r,t){var n=r.nick,e=r.userID,o=t.nick,i=t.userID;return n||e<=o||i?1:-1}))})),n}function L(r){p(r)}return e((function(){return o.watch(i.FRIEND,{friendList:L}),function(){o.unwatch(i.FRIEND,{friendList:L})}}),[]),{getFirstLetter:h,queryFriendList:p,getFriendListSortSearchResult:function(n){return r(void 0,void 0,void 0,(function(){var r,e,o,i;return t(this,(function(t){switch(t.label){case 0:return n?[4,u.getUserProfile({userIDList:[n]})]:[2,d];case 1:return r=t.sent().data,e={},o=!1,Object.keys(d).forEach((function(r){e[r]=d[r].filter((function(r){var t,e,i=r.nick,u=r.userID,c=null==i?void 0:i.toLocaleLowerCase(),s=n.toLocaleLowerCase(),a=u.toLocaleLowerCase();return e="TencentCloudDemo"===(null===(t=process.env)||void 0===t?void 0:t.REACT_APP_ONLINE)?c?c.includes(s):a.includes(s):a===s,o=o||e,e}))})),"TencentCloudDemo"===(null===(i=process.env)||void 0===i?void 0:i.REACT_APP_ONLINE)?[2,e]:[2,o?e:m(r)]}}))}))},friendListSortResult:d}};export{a as useConversationCreate};
@@ -1 +0,0 @@
1
- var Y="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQY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THHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY";export{Y as strChineseFirstPy};
@@ -1,57 +0,0 @@
1
- import React__default, { PropsWithChildren } from 'react';
2
- import { IConversationModel, CreateGroupParams } from '@tencentcloud/chat-uikit-engine';
3
- import { IConversationListHeaderProps } from './ConversationListHeader/ConversationListHeader.js';
4
- import { IConversationListContentProps } from './ConversationListContent/ConversationListContent.js';
5
- import { IConversationPreviewUIProps } from '../ConversationPreview/ConversationPreview.js';
6
- import { AvatarProps } from '../Avatar/Avatar.js';
7
- import { IConversationSearchProps } from '../ConversationSearch/ConversationSearch.js';
8
- import { IConversationCreateProps } from '../ConversationCreate/ConversationCreate.js';
9
- import { IConversationActionsConfig, IConversationActionsProps } from '../ConversationActions/ConversationActions.js';
10
-
11
- interface IConversationListProps {
12
- /** Determines whether the conversation search input appears on the conversation list view. (Default: True) */
13
- enableSearch?: boolean;
14
- /** Determines whether the conversation creation button appears on the conversation list view. (Default: True) */
15
- enableCreate?: boolean;
16
- /** Determines whether the conversation action button appears on the conversation list view. (Default: True) */
17
- enableActions?: boolean;
18
- /** Specifies the prop to customize action on the conversation list item. */
19
- actionsConfig?: IConversationActionsConfig;
20
- /** Specifies a react component to customize the header of the conversation list. */
21
- Header?: React__default.ComponentType<IConversationListHeaderProps>;
22
- /** Specifies a react component to customize the conversation list component. */
23
- List?: React__default.ComponentType<IConversationListContentProps>;
24
- /** Specifies a react component to customize the conversation preview. */
25
- Preview?: React__default.ComponentType<IConversationPreviewUIProps>;
26
- /** Specifies a react component to customize the conversation create component. */
27
- ConversationCreate?: React__default.ComponentType<IConversationCreateProps>;
28
- /** Specifies a react component to customize the conversation search. */
29
- ConversationSearch?: React__default.ComponentType<IConversationSearchProps>;
30
- /** Specifies a react component to customize the conversation actions in conversation preview. */
31
- ConversationActions?: React__default.ComponentType<IConversationActionsProps>;
32
- /** Specifies a react component to customize the placeholder when the conversation list is empty. */
33
- PlaceholderEmptyList?: React__default.ReactNode;
34
- /** Specifies a react component to customize the placeholder when the conversation list is loading. */
35
- PlaceholderLoading?: React__default.ReactNode;
36
- /** Specifies a react component to customize the placeholder when the conversation list loaded error. */
37
- PlaceholderLoadError?: React__default.ReactNode;
38
- /** Specifies a react component to customize the avatar in list. */
39
- Avatar?: React__default.ComponentType<AvatarProps>;
40
- /** Specifies a function to filter conversations in the conversation list. */
41
- filter?: (conversationList: IConversationModel[]) => IConversationModel[];
42
- /** Specifies a function to sort conversations in the conversation list. */
43
- sort?: (conversationList: IConversationModel[]) => IConversationModel[];
44
- /** Specifies the prop to receive callback when a user clicks a conversation in the conversation list. */
45
- onSelectConversation?: (conversation: IConversationModel) => void;
46
- /** Specifies the prop to execute custom operations before creating a channel. */
47
- onBeforeCreateConversation?: (params: string | CreateGroupParams) => string | CreateGroupParams;
48
- /** Specifies the prop to receive callback when a conversation is created. */
49
- onConversationCreated?: (conversation: IConversationModel) => void;
50
- /** The custom class name */
51
- className?: string;
52
- /** The custom css style */
53
- style?: React__default.CSSProperties;
54
- }
55
- declare function ConversationList<T extends IConversationListProps>(props: PropsWithChildren<T>): React__default.ReactElement;
56
-
57
- export { ConversationList, IConversationListProps };
@@ -1 +0,0 @@
1
- import{__assign as o}from"tslib";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useState as r}from"react";import{ConversationListProvider as i,useConversationList as n}from"../../context/ConversationListContext.js";import{ConversationListHeader as a}from"./ConversationListHeader/ConversationListHeader.js";import{ConversationListContent as s}from"./ConversationListContent/ConversationListContent.js";import"@tencentcloud/uikit-base-component-react";import"../Icon/config.js";import"../Icon/type.js";import v from"classnames";import{ConversationPreview as c,ConversationPreviewUI as l}from"../ConversationPreview/ConversationPreview.js";import{Avatar as d}from"../Avatar/Avatar.js";import{PlaceHolder as m,PlaceHolderTypes as C}from"../PlaceHolder/index.js";import{ConversationSearch as p}from"../ConversationSearch/ConversationSearch.js";import{ConversationCreate as f}from"../ConversationCreate/ConversationCreate.js";import"../ConversationCreate/ConversationGroupTypeInfo.js";import"../../store/UIManagerStore.js";import"@tencentcloud/chat-uikit-engine";import"@tencentcloud/chat";import{ConversationActions as h}from"../ConversationActions/ConversationActions.js";import{isH5 as u}from"../../utils/env.js";function L(i){var L=i.enableSearch,j=void 0===L||L,A=i.enableCreate,g=void 0===A||A,P=i.enableActions,b=void 0===P||P,y=i.actionsConfig,S=i.Header,N=void 0===S?a:S,I=i.List,E=void 0===I?s:I,k=i.Preview,w=void 0===k?l:k,x=i.ConversationCreate,O=void 0===x?f:x,H=i.ConversationSearch,G=void 0===H?p:H,R=i.ConversationActions,_=void 0===R?h:R,B=i.PlaceholderEmptyList,D=void 0===B?e(m,{type:C.NO_CONVERSATIONS}):B,M=i.PlaceholderLoading,T=void 0===M?e(m,{type:C.LOADING}):M,V=i.PlaceholderLoadError,U=void 0===V?e(m,{type:C.WRONG}):V,W=i.Avatar,q=void 0===W?d:W,z=i.onSelectConversation,F=i.onBeforeCreateConversation,J=i.onConversationCreated,K=i.className,Q=i.style,X=n(),Y=X.conversationList,Z=X.filteredAndSortedConversationList,$=X.isLoading,oo=X.isLoadError,eo=r(!1),to=eo[0],ro=eo[1];return t("div",o({className:v(K,"uikit-chat-list",{"uikit-chat-list--mobile":u}),style:Q},{children:[t(N,{children:[e(G,{visible:j,conversationList:Y,Avatar:q,ResultPreview:c}),e(O,{className:v({"uikit-chat-list__header--creating":to}),visible:g,onChangeCreateModelVisible:function(o){return ro(o)},onBeforeCreateConversation:F,onConversationCreated:J})]}),e(E,o({empty:0===Z.length,loading:$,error:oo,PlaceholderEmptyList:D,PlaceholderLoadError:U,PlaceholderLoading:T},{children:Z.map((function(o){return e(c,{conversation:o,enableActions:b,Preview:w,Avatar:q,ConversationActions:_,onSelectConversation:z,actionsConfig:y},o.conversationID)}))}))]}))}function j(t){return e(i,o({filter:t.filter,sort:t.sort},{children:e(L,o({},t))}))}export{j as ConversationList};
@@ -1,23 +0,0 @@
1
- interface IConversationListContentProps {
2
- /** Renders a customized component in the conversation list main. */
3
- children: React.ReactNode;
4
- /** Indicates whether the chat list is empty */
5
- empty?: boolean;
6
- /** Indicates whether the chat list is currently loading */
7
- loading?: boolean;
8
- /** Indicates whether there was an error loading the chat list */
9
- error?: boolean;
10
- /** A custom component to display when the chat list is empty */
11
- PlaceholderEmptyList?: React.ReactNode;
12
- /** A custom component to display while the chat list is loading */
13
- PlaceholderLoading?: React.ReactNode;
14
- /** A custom component to display when there is an error loading the chat list */
15
- PlaceholderLoadError?: React.ReactNode;
16
- /** The custom class name */
17
- className?: string;
18
- /** The custom css style */
19
- style?: React.CSSProperties;
20
- }
21
- declare function ConversationListContent<T extends IConversationListContentProps>(props: T): React.ReactElement;
22
-
23
- export { ConversationListContent, IConversationListContentProps };
@@ -1 +0,0 @@
1
- import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import o from"classnames";import{PlaceHolder as i,PlaceHolderTypes as t}from"../../PlaceHolder/index.js";function l(l){var a,d=l.children,m=l.empty,s=void 0!==m&&m,c=l.loading,n=void 0!==c&&c,p=l.error,v=void 0!==p&&p,y=l.PlaceholderEmptyList,N=void 0===y?e(i,{type:t.NO_CONVERSATIONS}):y,h=l.PlaceholderLoading,f=void 0===h?e(i,{type:t.LOADING}):h,O=l.PlaceholderLoadError,u=void 0===O?e(i,{type:t.WRONG}):O,L=l.className,P=l.style;return a=v?u:n?f:s?N:d,e("div",r({className:o("uikit-chat-list__container",L),style:P},{children:a}))}export{l as ConversationListContent};
@@ -1,15 +0,0 @@
1
- interface IConversationListHeaderProps {
2
- /** The main of the conversation list header */
3
- children: React.ReactNode;
4
- /** A custom component to display in the left area of header */
5
- left?: React.ReactNode;
6
- /** A custom component to display in the right area of header */
7
- right?: React.ReactNode;
8
- /** The custom class name */
9
- className?: string;
10
- /** The custom css style */
11
- style?: React.CSSProperties;
12
- }
13
- declare function ConversationListHeader<T extends IConversationListHeaderProps>(props: T): React.ReactElement;
14
-
15
- export { ConversationListHeader, IConversationListHeaderProps };
@@ -1 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as t,jsx as e}from"react/jsx-runtime";import r from"classnames";function a(a){var s=a.children,l=a.left,c=a.right,h=a.className,m=a.style;return t("div",i({className:r("uikit-chat-list__header",h),style:m},{children:[e("div",i({className:"uikit-chat-list__header__left"},{children:l})),s,e("div",i({className:"uikit-chat-list__header__right"},{children:c}))]}))}export{a as ConversationListHeader};
@@ -1,45 +0,0 @@
1
- import React__default, { CSSProperties } from 'react';
2
- import { IConversationModel } from '@tencentcloud/chat-uikit-engine';
3
- import { AvatarProps } from '../Avatar/Avatar.js';
4
- import { IConversationActionsProps, IConversationActionsConfig } from '../ConversationActions/ConversationActions.js';
5
-
6
- interface IConversationPreviewUIProps {
7
- /** The conversation to be displayed */
8
- conversation: IConversationModel;
9
- /** If the component's Conversation is the active (selected) Conversation */
10
- isSelected?: boolean;
11
- /** Whether to show the ConversationActions */
12
- enableActions?: boolean;
13
- /** The string to be highlighted in the title */
14
- highlightMatchString?: string;
15
- /** The custom Avatar component */
16
- Avatar?: React__default.ComponentType<AvatarProps>;
17
- /** The custom Title component */
18
- Title?: string | JSX.Element;
19
- /** The custom last message abstract component */
20
- LastMessageAbstract?: string | JSX.Element;
21
- /** The custom last message abstract component */
22
- LastMessageTimestamp?: string | JSX.Element;
23
- /** The custom Unread component */
24
- Unread?: string | JSX.Element;
25
- /** The custom ConversationActions component */
26
- ConversationActions?: React__default.ComponentType<IConversationActionsProps>;
27
- /** Callback when the user click a conversation from conversation list */
28
- onSelectConversation?: (conversation: IConversationModel) => void;
29
- /** The custom ConversationActions config */
30
- actionsConfig?: IConversationActionsConfig;
31
- /** The custom class name */
32
- className?: string;
33
- /** The custom class style */
34
- style?: CSSProperties;
35
- /** The custom children node to override UI */
36
- children?: React__default.ReactNode;
37
- }
38
- interface IConversationPreviewProps extends IConversationPreviewUIProps {
39
- /** The custom Preview UI component */
40
- Preview?: React__default.ComponentType<IConversationPreviewUIProps>;
41
- }
42
- declare function ConversationPreview<T extends IConversationPreviewProps>(props: T): React__default.ReactElement;
43
- declare function ConversationPreviewUI<T extends IConversationPreviewUIProps>(props: T): React__default.ReactElement;
44
-
45
- export { ConversationPreview, ConversationPreviewUI, IConversationPreviewProps, IConversationPreviewUIProps };
@@ -1 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{useRef as o,useState as r,useEffect as s}from"react";import a from"classnames";import{useUIKit as c}from"@tencentcloud/uikit-base-component-react";import{Icon as v}from"../Icon/Icon.js";import{IconTypes as l}from"../Icon/type.js";import{Avatar as u}from"../Avatar/Avatar.js";import{ConversationActions as m}from"../ConversationActions/ConversationActions.js";import{useConversationList as d}from"../../context/ConversationListContext.js";import{useUIManagerStore as h}from"../../store/UIManagerStore.js";import p from"../../hooks/useLongPress.js";import g from"../../hooks/useMouseHover.js";import{generateHighlightTitle as f,getLatestMessagePreview as C}from"./utils.js";import{getTimeStamp as k}from"../utils.js";import{isH5 as _}from"../../utils/env.js";function w(t){var n=t.conversation,o=t.isSelected,r=void 0!==o&&o,s=t.enableActions,p=void 0===s||s,g=t.highlightMatchString,_=t.Preview,w=void 0===_?A:_,M=t.Avatar,j=void 0===M?u:M,N=t.ConversationActions,S=void 0===N?m:N,b=t.Title,L=void 0===b?function(t){var n=t.conversation,o=t.highlightMatchString;return e("div",i({className:"uikit-conversation-preview__title text-ellipsis"},{children:f(n,o).map((function(t,n){return e("span",i({className:a({"uikit-conversation-preview__title--highlight":t.isHighlight,"uikit-conversation-preview__title--normal":!t.isHighlight})},{children:t.text}),n)}))}))}({conversation:n,highlightMatchString:g}):b,y=t.LastMessageTimestamp,T=void 0===y?function(t){var n,o=t.conversation,r=c().language;return e("div",i({className:"uikit-conversation-preview__time"},{children:k(1e3*+((null===(n=o.lastMessage)||void 0===n?void 0:n.lastTime)||0),r)}))}({conversation:n}):y,x=t.LastMessageAbstract,I=void 0===x?function(t){var n=t.conversation,o=h().myProfile;return e("div",i({className:"uikit-conversation-preview__abstract"},{children:C(n,o)}))}({conversation:n}):x,P=t.Unread,U=void 0===P?function(t){var n,o=t.conversation;return n=o.isMuted?e(v,{type:l.MUTE,width:16,height:16}):o.unreadCount>99?"99+":0===o.unreadCount?null:o.unreadCount,e("div",i({className:"uikit-conversation-preview__unread"},{children:n}))}({conversation:n}):P,D=t.onSelectConversation,H=t.actionsConfig,z=t.className,E=t.style,q=t.children;return d().setCurrentConversation,e(w,{conversation:n,isSelected:r,enableActions:p,highlightMatchString:g,Avatar:j,ConversationActions:S,Title:L,LastMessageTimestamp:T,LastMessageAbstract:I,Unread:U,onSelectConversation:D,actionsConfig:H,className:z,style:E,children:q})}function A(c){var v=c.conversation,l=c.isSelected,h=c.enableActions,f=c.Avatar,C=void 0===f?u:f,k=c.ConversationActions,w=void 0===k?m:k,A=c.Title,M=c.LastMessageTimestamp,j=c.LastMessageAbstract,N=c.Unread,S=c.onSelectConversation,b=c.actionsConfig,L=c.className,y=c.style,T=c.children,x=d(),I=x.currentConversation,P=x.setCurrentConversation,U=o(null),D=r(!1),H=D[0],z=D[1],E=g(U),q=p({},{delay:500,shouldPreventDefault:!0}).isLongPressing;s((function(){z(E||q)}),[E,q]);return e("div",i({ref:U,className:a("uikit-conversation-preview",L,{"uikit-conversation-preview--mobile":_,"uikit-conversation-preview--active":l||v.conversationID===(null==I?void 0:I.conversationID),"uikit-conversation-preview--unread":!v.isMuted&&v.unreadCount>0,"uikit-conversation-preview--pin":v.isPinned,"uikit-conversation-preview--mute":v.isMuted}),style:y,onClick:function(){null==S||S(v),P(v)}},{children:T||t(n,{children:[e("div",i({className:"uikit-conversation-preview__avatar"},{children:e(C,{image:v.getAvatar(),size:40})})),t("div",i({className:"uikit-conversation-preview__content"},{children:[A,j]})),t("div",i({className:"uikit-conversation-preview__external"},{children:[N,h&&H?e(w,i({conversation:v},b)):M]}))]})}))}export{w as ConversationPreview,A as ConversationPreviewUI};