@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.
- package/.eslintrc.cjs +49 -0
- package/.stylelintrc.cjs +19 -0
- package/CHANGELOG.md +15 -1
- package/README.md +3 -0
- package/ci/install-nvm-node18.sh +117 -0
- package/dist/ChatSetting-C7QlwAiq.js +28449 -0
- package/dist/assets/fonts/iconfont.ttf +0 -0
- package/dist/assets/fonts/iconfont.woff +0 -0
- package/dist/assets/fonts/iconfont.woff2 +0 -0
- package/dist/components/Chat/Chat.d.ts +11 -0
- package/dist/components/Chat/Chat.js +29 -0
- package/dist/components/Chat/index.d.ts +1 -0
- package/dist/components/Chat/index.js +4 -0
- package/dist/components/ChatHeader/ChatHeader.d.ts +22 -0
- package/dist/components/ChatHeader/ChatHeader.js +50 -0
- package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.d.ts +11 -0
- package/dist/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.js +78 -0
- package/dist/components/ChatHeader/ChatHeaderActions/index.d.ts +1 -0
- package/dist/components/ChatHeader/ChatHeaderActions/index.js +4 -0
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.d.ts +34 -0
- package/dist/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.js +86 -0
- package/dist/components/ChatHeader/ChatHeaderUI/index.d.ts +2 -0
- package/dist/components/ChatHeader/ChatHeaderUI/index.js +4 -0
- package/dist/components/ChatHeader/index.d.ts +2 -0
- package/dist/components/ChatHeader/index.js +6 -0
- package/dist/components/Checkbox/index.d.ts +14 -0
- package/dist/components/Checkbox/index.js +34 -0
- package/dist/components/Contact/Contact.d.ts +3 -0
- package/dist/components/Contact/Contact.js +81 -0
- package/dist/components/Contact/ContactInfo/ContactInfo.d.ts +8 -0
- package/dist/components/Contact/ContactInfo/ContactInfo.js +27 -0
- package/dist/components/Contact/ContactInfo/addFriendInfo.d.ts +8 -0
- package/dist/components/Contact/ContactInfo/addFriendInfo.js +61 -0
- package/dist/components/Contact/ContactInfo/basicInfo.d.ts +8 -0
- package/dist/components/Contact/ContactInfo/basicInfo.js +48 -0
- package/dist/components/Contact/ContactInfo/blockInfo.d.ts +8 -0
- package/dist/components/Contact/ContactInfo/blockInfo.js +33 -0
- package/dist/components/Contact/ContactInfo/friendApplication.d.ts +8 -0
- package/dist/components/Contact/ContactInfo/friendApplication.js +47 -0
- package/dist/components/Contact/ContactInfo/friendInfo.d.ts +9 -0
- package/dist/components/Contact/ContactInfo/friendInfo.js +83 -0
- package/dist/components/Contact/ContactInfo/groupInfo.d.ts +9 -0
- package/dist/components/Contact/ContactInfo/groupInfo.js +45 -0
- package/dist/components/Contact/ContactInfo/hooks/useContactInfo.d.ts +11 -0
- package/dist/components/Contact/ContactInfo/hooks/useContactInfo.js +84 -0
- package/dist/components/Contact/ContactList/ContactList.d.ts +4 -0
- package/dist/components/Contact/ContactList/ContactList.js +152 -0
- package/dist/components/Contact/hooks/useTUIContact.d.ts +12 -0
- package/dist/components/Contact/hooks/useTUIContact.js +58 -0
- package/dist/components/Contact/index.d.ts +3 -0
- package/dist/components/Contact/index.js +10 -0
- package/dist/components/ContactSearch/ContactSearch.d.ts +3 -0
- package/dist/components/ContactSearch/ContactSearch.js +85 -0
- package/dist/components/ContactSearch/hooks/useContactSearch.d.ts +6 -0
- package/dist/components/ContactSearch/hooks/useContactSearch.js +28 -0
- package/dist/components/DivWithEdit/DivWithEdit.d.ts +14 -0
- package/dist/components/DivWithEdit/DivWithEdit.js +69 -0
- package/dist/components/DivWithEdit/WithSelect.d.ts +7 -0
- package/dist/components/DivWithEdit/WithSelect.js +21 -0
- package/dist/components/DivWithEdit/WithText.d.ts +9 -0
- package/dist/components/DivWithEdit/WithText.js +28 -0
- package/dist/components/DivWithEdit/index.d.ts +1 -0
- package/dist/components/DivWithEdit/index.js +4 -0
- package/dist/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +8 -0
- package/dist/components/EmptyStateIndicator/EmptyStateIndicator.js +12 -0
- package/dist/components/EmptyStateIndicator/index.d.ts +1 -0
- package/dist/components/EmptyStateIndicator/index.js +4 -0
- package/dist/components/Icon/Icon.d.ts +11 -0
- package/dist/components/Icon/Icon.js +39 -0
- package/dist/components/Icon/config.d.ts +9 -0
- package/dist/components/Icon/config.js +198 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/index.js +7 -0
- package/dist/components/Icon/type.d.ts +50 -0
- package/dist/components/Icon/type.js +4 -0
- package/dist/components/IconFont/Icon.d.ts +21 -0
- package/dist/components/IconFont/Icon.js +47 -0
- package/dist/components/IconFont/index.d.ts +2 -0
- package/dist/components/IconFont/index.js +4 -0
- package/dist/components/Input/Input.d.ts +23 -0
- package/dist/components/Input/Input.js +86 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +4 -0
- package/dist/components/Modal/Modal.d.ts +7 -0
- package/dist/components/Modal/Modal.js +89 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +4 -0
- package/dist/components/Model/index.d.ts +7 -0
- package/dist/components/Model/index.js +12 -0
- package/dist/components/Plugins/hooks/index.d.ts +1 -0
- package/dist/components/Plugins/hooks/index.js +4 -0
- package/dist/components/Plugins/hooks/usePluginsElement.d.ts +10 -0
- package/dist/components/Plugins/hooks/usePluginsElement.js +11 -0
- package/dist/components/Plugins/index.d.ts +19 -0
- package/dist/components/Plugins/index.js +73 -0
- package/dist/components/Popup/index.d.ts +11 -0
- package/dist/components/Popup/index.js +56 -0
- package/dist/components/PopupNew/Popup.d.ts +13 -0
- package/dist/components/PopupNew/Popup.js +30 -0
- package/dist/components/PopupNew/index.d.ts +2 -0
- package/dist/components/PopupNew/index.js +4 -0
- package/dist/components/Profile/DatePicker/DatePicker.d.ts +11 -0
- package/dist/components/Profile/DatePicker/DatePicker.js +104 -0
- package/dist/components/Profile/DatePicker/index.d.ts +1 -0
- package/dist/components/Profile/DatePicker/index.js +4 -0
- package/dist/components/Profile/Profile.d.ts +8 -0
- package/dist/components/Profile/Profile.js +36 -0
- package/dist/components/Profile/ProfileDefault.d.ts +9 -0
- package/dist/components/Profile/ProfileDefault.js +246 -0
- package/dist/components/Profile/hooks/index.d.ts +1 -0
- package/dist/components/Profile/hooks/index.js +4 -0
- package/dist/components/Profile/hooks/useMyProfile.d.ts +21 -0
- package/dist/components/Profile/hooks/useMyProfile.js +22 -0
- package/dist/components/Profile/index.d.ts +2 -0
- package/dist/components/Profile/index.js +6 -0
- package/dist/components/Profile/myProfile/MyProfile.d.ts +7 -0
- package/dist/components/Profile/myProfile/MyProfile.js +20 -0
- package/dist/components/Profile/myProfile/index.d.ts +1 -0
- package/dist/components/Profile/myProfile/index.js +4 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/Switch.js +35 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/components/Switch/utils/newId.d.ts +2 -0
- package/dist/components/Switch/utils/newId.js +5 -0
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.js +39 -0
- package/dist/constant/avatar.d.ts +5 -0
- package/dist/constant/avatar.js +8 -0
- package/dist/constant/emoji.d.ts +12 -0
- package/dist/constant/emoji.js +137 -0
- package/dist/constant/index.d.ts +2 -0
- package/dist/constant/index.js +13 -0
- package/dist/context/ChatContext.d.ts +11 -0
- package/dist/context/ChatContext.js +26 -0
- package/dist/context/ContactContext.d.ts +15 -0
- package/dist/context/ContactContext.js +15 -0
- package/dist/context/index.d.ts +2 -0
- package/dist/context/index.js +9 -0
- package/dist/external_modules/classnames-HRMVOjAa.js +45 -0
- package/dist/external_modules/mui-CbGEJVT2.js +2473 -0
- package/dist/external_modules/react-vendors-3raCpd-g.js +1238 -0
- package/dist/external_modules/zustand-Dvydplxp.js +24 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +5 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2712 -0
- package/dist/locales/en-US/ChatSetting.d.ts +95 -0
- package/dist/locales/en-US/ChatSetting.js +107 -0
- package/dist/locales/en-US/DateRangePicker.d.ts +30 -0
- package/dist/locales/en-US/DateRangePicker.js +32 -0
- package/dist/locales/en-US/GroupTip.d.ts +19 -0
- package/dist/locales/en-US/GroupTip.js +21 -0
- package/dist/locales/en-US/Search.d.ts +48 -0
- package/dist/locales/en-US/Search.js +50 -0
- package/dist/locales/en-US/TUIChat.d.ts +56 -0
- package/dist/locales/en-US/TUIChat.js +58 -0
- package/dist/locales/en-US/TUIContact.d.ts +27 -0
- package/dist/locales/en-US/TUIContact.js +29 -0
- package/dist/locales/en-US/TUIConversation.d.ts +44 -0
- package/dist/locales/en-US/TUIConversation.js +46 -0
- package/dist/locales/en-US/TUIProfile.d.ts +14 -0
- package/dist/locales/en-US/TUIProfile.js +16 -0
- package/dist/locales/en-US/emoji.d.ts +65 -0
- package/dist/locales/en-US/emoji.js +67 -0
- package/dist/locales/en-US/index.d.ts +391 -0
- package/dist/locales/en-US/index.js +23 -0
- package/dist/locales/index.d.ts +1 -0
- package/dist/locales/index.js +26 -0
- package/dist/locales/ja-JP/ChatSetting.d.ts +96 -0
- package/dist/locales/ja-JP/ChatSetting.js +108 -0
- package/dist/locales/ja-JP/DateRangePicker.d.ts +30 -0
- package/dist/locales/ja-JP/DateRangePicker.js +32 -0
- package/dist/locales/ja-JP/GroupTip.d.ts +19 -0
- package/dist/locales/ja-JP/GroupTip.js +21 -0
- package/dist/locales/ja-JP/Search.d.ts +48 -0
- package/dist/locales/ja-JP/Search.js +50 -0
- package/dist/locales/ja-JP/TUIChat.d.ts +55 -0
- package/dist/locales/ja-JP/TUIChat.js +57 -0
- package/dist/locales/ja-JP/TUIContact.d.ts +28 -0
- package/dist/locales/ja-JP/TUIContact.js +30 -0
- package/dist/locales/ja-JP/TUIConversation.d.ts +43 -0
- package/dist/locales/ja-JP/TUIConversation.js +45 -0
- package/dist/locales/ja-JP/TUIProfile.d.ts +14 -0
- package/dist/locales/ja-JP/TUIProfile.js +16 -0
- package/dist/locales/ja-JP/emoji.d.ts +65 -0
- package/dist/locales/ja-JP/emoji.js +67 -0
- package/dist/locales/ja-JP/index.d.ts +391 -0
- package/dist/locales/ja-JP/index.js +23 -0
- package/dist/locales/ko-KR/ChatSetting.d.ts +96 -0
- package/dist/locales/ko-KR/ChatSetting.js +108 -0
- package/dist/locales/ko-KR/DateRangePicker.d.ts +30 -0
- package/dist/locales/ko-KR/DateRangePicker.js +32 -0
- package/dist/locales/ko-KR/GroupTip.d.ts +19 -0
- package/dist/locales/ko-KR/GroupTip.js +21 -0
- package/dist/locales/ko-KR/Search.d.ts +48 -0
- package/dist/locales/ko-KR/Search.js +50 -0
- package/dist/locales/ko-KR/TUIChat.d.ts +55 -0
- package/dist/locales/ko-KR/TUIChat.js +57 -0
- package/dist/locales/ko-KR/TUIContact.d.ts +28 -0
- package/dist/locales/ko-KR/TUIContact.js +30 -0
- package/dist/locales/ko-KR/TUIConversation.d.ts +43 -0
- package/dist/locales/ko-KR/TUIConversation.js +45 -0
- package/dist/locales/ko-KR/TUIProfile.d.ts +14 -0
- package/dist/locales/ko-KR/TUIProfile.js +16 -0
- package/dist/locales/ko-KR/emoji.d.ts +65 -0
- package/dist/locales/ko-KR/emoji.js +67 -0
- package/dist/locales/ko-KR/index.d.ts +391 -0
- package/dist/locales/ko-KR/index.js +23 -0
- package/dist/locales/zh-CN/ChatSetting.d.ts +95 -0
- package/dist/locales/zh-CN/ChatSetting.js +107 -0
- package/dist/locales/zh-CN/DateRangePicker.d.ts +30 -0
- package/dist/locales/zh-CN/DateRangePicker.js +32 -0
- package/dist/locales/zh-CN/GroupTip.d.ts +19 -0
- package/dist/locales/zh-CN/GroupTip.js +21 -0
- package/dist/locales/zh-CN/Search.d.ts +48 -0
- package/dist/locales/zh-CN/Search.js +50 -0
- package/dist/locales/zh-CN/TUIChat.d.ts +55 -0
- package/dist/locales/zh-CN/TUIChat.js +57 -0
- package/dist/locales/zh-CN/TUIContact.d.ts +28 -0
- package/dist/locales/zh-CN/TUIContact.js +30 -0
- package/dist/locales/zh-CN/TUIConversation.d.ts +43 -0
- package/dist/locales/zh-CN/TUIConversation.js +45 -0
- package/dist/locales/zh-CN/TUIProfile.d.ts +14 -0
- package/dist/locales/zh-CN/TUIProfile.js +16 -0
- package/dist/locales/zh-CN/emoji.d.ts +65 -0
- package/dist/locales/zh-CN/emoji.js +67 -0
- package/dist/locales/zh-CN/index.d.ts +390 -0
- package/dist/locales/zh-CN/index.js +23 -0
- package/dist/locales/zh-TW/ChatSetting.d.ts +96 -0
- package/dist/locales/zh-TW/ChatSetting.js +108 -0
- package/dist/locales/zh-TW/DateRangePicker.d.ts +30 -0
- package/dist/locales/zh-TW/DateRangePicker.js +32 -0
- package/dist/locales/zh-TW/GroupTip.d.ts +19 -0
- package/dist/locales/zh-TW/GroupTip.js +21 -0
- package/dist/locales/zh-TW/Search.d.ts +48 -0
- package/dist/locales/zh-TW/Search.js +50 -0
- package/dist/locales/zh-TW/TUIChat.d.ts +55 -0
- package/dist/locales/zh-TW/TUIChat.js +57 -0
- package/dist/locales/zh-TW/TUIContact.d.ts +28 -0
- package/dist/locales/zh-TW/TUIContact.js +30 -0
- package/dist/locales/zh-TW/TUIConversation.d.ts +43 -0
- package/dist/locales/zh-TW/TUIConversation.js +45 -0
- package/dist/locales/zh-TW/TUIProfile.d.ts +14 -0
- package/dist/locales/zh-TW/TUIProfile.js +16 -0
- package/dist/locales/zh-TW/emoji.d.ts +64 -0
- package/dist/locales/zh-TW/emoji.js +66 -0
- package/dist/locales/zh-TW/index.d.ts +390 -0
- package/dist/locales/zh-TW/index.js +23 -0
- package/dist/server/mainServer.d.ts +8 -0
- package/dist/server/mainServer.js +40 -0
- package/dist/states/ChatHeaderState.d.ts +18 -0
- package/dist/states/ChatHeaderState.js +47 -0
- package/dist/states/UIManagerState.d.ts +89 -0
- package/dist/states/UIManagerState.js +76 -0
- package/dist/states/index.d.ts +2 -0
- package/dist/states/index.js +6 -0
- package/dist/styles/Chat.css +1 -0
- package/dist/styles/ChatHeaderActions.css +1 -0
- package/dist/styles/ChatHeaderUI.css +1 -0
- package/dist/styles/ChatSetting.css +1 -0
- package/dist/styles/ContactInfo.css +1 -0
- package/dist/styles/ContactList.css +1 -0
- package/dist/styles/ContactSearch.css +1 -0
- package/dist/styles/DatePicker.css +1 -0
- package/dist/styles/Icon.css +1 -0
- package/dist/styles/Icon2.css +1 -0
- package/dist/styles/Input.css +1 -0
- package/dist/styles/Modal.css +1 -0
- package/dist/styles/MyProfile.css +1 -0
- package/dist/styles/Profile.css +1 -0
- package/dist/styles/Switch.css +1 -0
- package/dist/styles/WithSelect.css +1 -0
- package/dist/styles/index.css +1 -0
- package/dist/styles/index2.css +1 -0
- package/dist/styles/index3.css +1 -0
- package/dist/styles/index4.css +1 -0
- package/dist/styles/index5.css +1 -0
- package/dist/styles/index6.css +1 -0
- package/dist/types/message.d.ts +39 -0
- package/dist/types/user.d.ts +18 -0
- package/dist/types/user.js +0 -0
- package/package.json +82 -59
- package/src/assets/fonts/iconfont.ttf +0 -0
- package/src/assets/fonts/iconfont.woff +0 -0
- package/src/assets/fonts/iconfont.woff2 +0 -0
- package/src/components/Chat/Chat.mdx +271 -0
- package/src/components/Chat/Chat.module.scss +11 -0
- package/src/components/Chat/Chat.stories.tsx +215 -0
- package/src/components/Chat/Chat.tsx +30 -283
- package/src/components/Chat/Chat.zh-CN.mdx +275 -0
- package/src/components/Chat/index.ts +0 -4
- package/src/components/ChatHeader/ChatHeader.stories.tsx +129 -0
- package/src/components/ChatHeader/ChatHeader.tsx +62 -36
- package/src/components/ChatHeader/ChatHeader.zh-CN.mdx +159 -0
- package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.module.scss +44 -0
- package/src/components/ChatHeader/ChatHeaderActions/ChatHeaderActions.tsx +105 -0
- package/src/components/ChatHeader/ChatHeaderActions/index.ts +1 -0
- package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.module.scss +111 -0
- package/src/components/ChatHeader/ChatHeaderUI/ChatHeaderUI.tsx +127 -0
- package/src/components/ChatHeader/ChatHeaderUI/index.ts +3 -0
- package/src/components/ChatHeader/index.ts +1 -1
- package/src/components/Checkbox/index.tsx +1 -1
- package/src/components/Checkbox/styles/color.scss +1 -1
- package/src/components/Checkbox/styles/index.scss +2 -2
- package/src/components/Contact/Contact.tsx +3 -3
- package/src/components/Contact/ContactInfo/ContactInfo.tsx +9 -8
- package/src/components/Contact/ContactInfo/basicInfo.tsx +7 -7
- package/src/components/Contact/ContactInfo/blockInfo.tsx +4 -4
- package/src/components/Contact/ContactInfo/friendApplication.tsx +8 -6
- package/src/components/Contact/ContactInfo/friendInfo.tsx +10 -15
- package/src/components/Contact/ContactInfo/groupInfo.tsx +9 -12
- package/src/components/Contact/ContactInfo/hooks/useContactInfo.tsx +12 -13
- package/src/components/Contact/ContactInfo/index.scss +1 -1
- package/src/components/Contact/ContactList/ContactList.tsx +46 -48
- package/src/components/Contact/ContactList/index.scss +1 -5
- package/src/components/Contact/hooks/useTUIContact.tsx +6 -7
- package/src/components/Contact/index.scss +1 -1
- package/src/components/ContactSearch/ContactSearch.tsx +11 -10
- package/src/components/ContactSearch/hooks/useContactSearch.tsx +5 -5
- package/src/components/ContactSearch/index.scss +1 -1
- package/src/components/DivWithEdit/DivWithEdit.tsx +43 -37
- package/src/components/DivWithEdit/WithSelect.tsx +9 -4
- package/src/components/DivWithEdit/WithText.tsx +4 -1
- package/src/components/DivWithEdit/styles/index.scss +15 -7
- package/src/components/Icon/Icon.tsx +4 -4
- package/src/components/Icon/styles/index.scss +3 -3
- package/src/components/IconFont/Icon.module.scss +42 -0
- package/src/components/IconFont/Icon.tsx +68 -0
- package/src/components/IconFont/index.ts +3 -0
- package/src/components/Input/Input.tsx +34 -24
- package/src/components/Input/index.scss +64 -0
- package/src/components/Modal/Modal.module.scss +55 -0
- package/src/components/Modal/Modal.tsx +110 -0
- package/src/components/Modal/index.ts +1 -0
- package/src/components/Model/styles/index.scss +2 -2
- package/src/components/Plugins/hooks/usePluginsElement.tsx +6 -5
- package/src/components/Plugins/index.tsx +12 -10
- package/src/components/Plugins/styles/color.scss +2 -2
- package/src/components/Plugins/styles/index.scss +2 -2
- package/src/components/Plugins/styles/layout.scss +2 -1
- package/src/components/Popup/styles/index.scss +2 -2
- package/src/components/PopupNew/Popup.module.scss +0 -0
- package/src/components/PopupNew/Popup.tsx +47 -0
- package/src/components/PopupNew/index.ts +3 -0
- package/src/components/Profile/DatePicker/DatePicker.scss +175 -0
- package/src/components/Profile/DatePicker/DatePicker.tsx +184 -0
- package/src/components/Profile/DatePicker/index.ts +1 -0
- package/src/components/Profile/Profile.tsx +11 -12
- package/src/components/Profile/ProfileDefault.tsx +101 -106
- package/src/components/Profile/myProfile/MyProfile.tsx +10 -9
- package/src/components/Profile/myProfile/styles/index.scss +7 -1
- package/src/components/Profile/styles/color.scss +1 -1
- package/src/components/Profile/styles/index.scss +2 -2
- package/src/components/Profile/styles/layout.scss +11 -13
- package/src/components/Switch/Switch.tsx +8 -7
- package/src/components/index.ts +6 -19
- package/src/constant/emoji.ts +97 -0
- package/src/constant/index.ts +13 -0
- package/src/context/ChatContext.tsx +40 -0
- package/src/context/index.ts +4 -7
- package/src/hooks/index.ts +6 -5
- package/src/index.ts +14 -4
- package/src/locales/en-US/ChatSetting.ts +116 -0
- package/src/locales/en-US/DateRangePicker.ts +32 -0
- package/src/locales/en-US/GroupTip.ts +21 -0
- package/src/locales/en-US/Search.ts +50 -0
- package/src/locales/en-US/TUIChat.ts +30 -1
- package/src/locales/en-US/TUIConversation.ts +8 -0
- package/src/locales/en-US/TUIProfile.ts +1 -1
- package/src/locales/en-US/emoji.ts +1 -1
- package/src/locales/en-US/index.ts +10 -2
- package/src/locales/index.ts +3 -3
- package/src/locales/ja-JP/ChatSetting.ts +117 -0
- package/src/locales/ja-JP/DateRangePicker.ts +32 -0
- package/src/locales/ja-JP/GroupTip.ts +21 -0
- package/src/locales/ja-JP/Search.ts +50 -0
- package/src/locales/ja-JP/TUIChat.ts +30 -1
- package/src/locales/ja-JP/TUIConversation.ts +8 -0
- package/src/locales/ja-JP/index.ts +10 -2
- package/src/locales/ko-KR/ChatSetting.ts +117 -0
- package/src/locales/ko-KR/DateRangePicker.ts +32 -0
- package/src/locales/ko-KR/GroupTip.ts +21 -0
- package/src/locales/ko-KR/Search.ts +50 -0
- package/src/locales/ko-KR/TUIChat.ts +30 -1
- package/src/locales/ko-KR/TUIConversation.ts +8 -0
- package/src/locales/ko-KR/index.ts +10 -2
- package/src/locales/zh-CN/ChatSetting.ts +116 -0
- package/src/locales/zh-CN/DateRangePicker.ts +32 -0
- package/src/locales/zh-CN/GroupTip.ts +21 -0
- package/src/locales/zh-CN/Search.ts +50 -0
- package/src/locales/zh-CN/TUIChat.ts +30 -1
- package/src/locales/zh-CN/TUIConversation.ts +8 -0
- package/src/locales/zh-CN/index.ts +10 -2
- package/src/locales/zh-TW/ChatSetting.ts +117 -0
- package/src/locales/zh-TW/DateRangePicker.ts +32 -0
- package/src/locales/zh-TW/GroupTip.ts +21 -0
- package/src/locales/zh-TW/Search.ts +50 -0
- package/src/locales/zh-TW/TUIChat.ts +30 -1
- package/src/locales/zh-TW/TUIConversation.ts +8 -0
- package/src/locales/zh-TW/index.ts +10 -2
- package/src/server/mainServer.ts +45 -0
- package/src/states/ChatHeaderState.ts +121 -0
- package/src/states/UIManagerState.ts +201 -0
- package/src/states/index.ts +3 -0
- package/src/states/useChatHeaderStore.mdx +182 -0
- package/src/stories/GettingStarted.mdx +89 -0
- package/src/styles/fonts/icon-font.scss +3 -3
- package/src/styles/index.scss +2 -4
- package/src/styles/mixins/_scrollbar.scss +62 -0
- package/src/styles/mixins/_text.scss +25 -0
- package/src/styles/mixins/index.scss +2 -0
- package/src/styles/normalize.scss +45 -1
- package/src/types/message.ts +51 -0
- package/src/types/user.ts +20 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig.app.json +39 -0
- package/tsconfig.json +4 -13
- package/tsconfig.node.json +24 -0
- package/vite.config.playground.ts +48 -0
- package/vite.config.ts +144 -0
- package/.eslintrc.js +0 -251
- package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
- package/dist/cjs/components/Avatar/Avatar.d.ts +0 -22
- package/dist/cjs/components/Avatar/Avatar.js +0 -1
- package/dist/cjs/components/Avatar/default.d.ts +0 -7
- package/dist/cjs/components/Avatar/default.js +0 -1
- package/dist/cjs/components/Chat/Chat.d.ts +0 -39
- package/dist/cjs/components/Chat/Chat.js +0 -1
- package/dist/cjs/components/Chat/ChatState.js +0 -1
- package/dist/cjs/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
- package/dist/cjs/components/Chat/hooks/useHandleMessage.d.ts +0 -7
- package/dist/cjs/components/Chat/hooks/useHandleMessage.js +0 -1
- package/dist/cjs/components/Chat/hooks/useHandleMessageList.js +0 -1
- package/dist/cjs/components/Chat/index.js +0 -1
- package/dist/cjs/components/Chat/server.js +0 -1
- package/dist/cjs/components/Chat/utils.js +0 -1
- package/dist/cjs/components/ChatHeader/ChatHeader.d.ts +0 -16
- package/dist/cjs/components/ChatHeader/ChatHeader.js +0 -1
- package/dist/cjs/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
- package/dist/cjs/components/ChatHeader/ChatHeaderDefault.js +0 -1
- package/dist/cjs/components/ChatSetting/ChatSetting.d.ts +0 -6
- package/dist/cjs/components/ChatSetting/ChatSetting.js +0 -1
- package/dist/cjs/components/Checkbox/index.d.ts +0 -17
- package/dist/cjs/components/Checkbox/index.js +0 -1
- package/dist/cjs/components/Contact/Contact.d.ts +0 -6
- package/dist/cjs/components/Contact/Contact.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
- package/dist/cjs/components/Contact/ContactInfo/ContactInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/addFriendInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/basicInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/blockInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/friendApplication.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/friendInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/groupInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
- package/dist/cjs/components/Contact/ContactList/ContactList.d.ts +0 -6
- package/dist/cjs/components/Contact/ContactList/ContactList.js +0 -1
- package/dist/cjs/components/Contact/hooks/useTUIContact.js +0 -1
- package/dist/cjs/components/ContactSearch/ContactSearch.js +0 -1
- package/dist/cjs/components/ContactSearch/hooks/useContactSearch.js +0 -1
- package/dist/cjs/components/ConversationActions/ConversationActions.d.ts +0 -52
- package/dist/cjs/components/ConversationActions/ConversationActions.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreate.d.ts +0 -21
- package/dist/cjs/components/ConversationCreate/ConversationCreate.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
- package/dist/cjs/components/ConversationCreate/ConversationCreateButton.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
- package/dist/cjs/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
- package/dist/cjs/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
- package/dist/cjs/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
- package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
- package/dist/cjs/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
- package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
- package/dist/cjs/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
- package/dist/cjs/components/ConversationCreate/static/word.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationList.d.ts +0 -57
- package/dist/cjs/components/ConversationList/ConversationList.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
- package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
- package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
- package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
- package/dist/cjs/components/ConversationPreview/ConversationPreview.d.ts +0 -45
- package/dist/cjs/components/ConversationPreview/ConversationPreview.js +0 -1
- package/dist/cjs/components/ConversationPreview/utils.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearch.d.ts +0 -39
- package/dist/cjs/components/ConversationSearch/ConversationSearch.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
- package/dist/cjs/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
- package/dist/cjs/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
- package/dist/cjs/components/DivWithEdit/DivWithEdit.d.ts +0 -17
- package/dist/cjs/components/DivWithEdit/DivWithEdit.js +0 -1
- package/dist/cjs/components/DivWithEdit/WithSelect.js +0 -1
- package/dist/cjs/components/DivWithEdit/WithText.js +0 -1
- package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
- package/dist/cjs/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
- package/dist/cjs/components/Icon/Icon.d.ts +0 -15
- package/dist/cjs/components/Icon/Icon.js +0 -1
- package/dist/cjs/components/Icon/config.js +0 -1
- package/dist/cjs/components/Icon/images/add-friend.svg.js +0 -1
- package/dist/cjs/components/Icon/images/add.png.js +0 -1
- package/dist/cjs/components/Icon/images/arrow-down.png.js +0 -1
- package/dist/cjs/components/Icon/images/arrow-right.png.js +0 -1
- package/dist/cjs/components/Icon/images/back.png.js +0 -1
- package/dist/cjs/components/Icon/images/camera.png.js +0 -1
- package/dist/cjs/components/Icon/images/cancel.png.js +0 -1
- package/dist/cjs/components/Icon/images/clear.png.js +0 -1
- package/dist/cjs/components/Icon/images/close.png.js +0 -1
- package/dist/cjs/components/Icon/images/confirm.png.js +0 -1
- package/dist/cjs/components/Icon/images/copy.png.js +0 -1
- package/dist/cjs/components/Icon/images/cry.png.js +0 -1
- package/dist/cjs/components/Icon/images/del.png.js +0 -1
- package/dist/cjs/components/Icon/images/edit.png.js +0 -1
- package/dist/cjs/components/Icon/images/effort.png.js +0 -1
- package/dist/cjs/components/Icon/images/ellipse.png.js +0 -1
- package/dist/cjs/components/Icon/images/emoji.png.js +0 -1
- package/dist/cjs/components/Icon/images/file.png.js +0 -1
- package/dist/cjs/components/Icon/images/files.png.js +0 -1
- package/dist/cjs/components/Icon/images/forward.png.js +0 -1
- package/dist/cjs/components/Icon/images/image.png.js +0 -1
- package/dist/cjs/components/Icon/images/like.png.js +0 -1
- package/dist/cjs/components/Icon/images/liked.png.js +0 -1
- package/dist/cjs/components/Icon/images/living.png.js +0 -1
- package/dist/cjs/components/Icon/images/member.png.js +0 -1
- package/dist/cjs/components/Icon/images/more.png.js +0 -1
- package/dist/cjs/components/Icon/images/mute.svg.js +0 -1
- package/dist/cjs/components/Icon/images/owner.png.js +0 -1
- package/dist/cjs/components/Icon/images/progress.png.js +0 -1
- package/dist/cjs/components/Icon/images/quote.png.js +0 -1
- package/dist/cjs/components/Icon/images/reply.png.js +0 -1
- package/dist/cjs/components/Icon/images/revocation.png.js +0 -1
- package/dist/cjs/components/Icon/images/right.png.js +0 -1
- package/dist/cjs/components/Icon/images/search.png.js +0 -1
- package/dist/cjs/components/Icon/images/send.png.js +0 -1
- package/dist/cjs/components/Icon/images/star.png.js +0 -1
- package/dist/cjs/components/Icon/images/union.png.js +0 -1
- package/dist/cjs/components/Icon/images/unlike.png.js +0 -1
- package/dist/cjs/components/Icon/images/unliked.png.js +0 -1
- package/dist/cjs/components/Icon/images/ununion.png.js +0 -1
- package/dist/cjs/components/Icon/images/unvector.png.js +0 -1
- package/dist/cjs/components/Icon/images/vector.png.js +0 -1
- package/dist/cjs/components/Icon/images/video-call.svg.js +0 -1
- package/dist/cjs/components/Icon/images/video.png.js +0 -1
- package/dist/cjs/components/Icon/images/voice-call.svg.js +0 -1
- package/dist/cjs/components/Icon/images/voice.png.js +0 -1
- package/dist/cjs/components/Icon/type.d.ts +0 -52
- package/dist/cjs/components/Icon/type.js +0 -1
- package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/cjs/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
- package/dist/cjs/components/Input/Input.d.ts +0 -26
- package/dist/cjs/components/Input/Input.js +0 -1
- package/dist/cjs/components/MessageElement/Message.d.ts +0 -61
- package/dist/cjs/components/MessageElement/Message.js +0 -1
- package/dist/cjs/components/MessageElement/MessageAudio.js +0 -1
- package/dist/cjs/components/MessageElement/MessageAvatar.js +0 -1
- package/dist/cjs/components/MessageElement/MessageBubble.js +0 -1
- package/dist/cjs/components/MessageElement/MessageContext.d.ts +0 -9
- package/dist/cjs/components/MessageElement/MessageContext.js +0 -1
- package/dist/cjs/components/MessageElement/MessageCustom.js +0 -1
- package/dist/cjs/components/MessageElement/MessageDefault.js +0 -1
- package/dist/cjs/components/MessageElement/MessageFace.js +0 -1
- package/dist/cjs/components/MessageElement/MessageFile.js +0 -1
- package/dist/cjs/components/MessageElement/MessageImage.js +0 -1
- package/dist/cjs/components/MessageElement/MessageLocation.js +0 -1
- package/dist/cjs/components/MessageElement/MessageMerger.js +0 -1
- package/dist/cjs/components/MessageElement/MessageName.js +0 -1
- package/dist/cjs/components/MessageElement/MessagePlugins.d.ts +0 -24
- package/dist/cjs/components/MessageElement/MessagePlugins.js +0 -1
- package/dist/cjs/components/MessageElement/MessageProgress.js +0 -1
- package/dist/cjs/components/MessageElement/MessageRevoke.js +0 -1
- package/dist/cjs/components/MessageElement/MessageStatus.js +0 -1
- package/dist/cjs/components/MessageElement/MessageSystem.js +0 -1
- package/dist/cjs/components/MessageElement/MessageText.js +0 -1
- package/dist/cjs/components/MessageElement/MessageTip.js +0 -1
- package/dist/cjs/components/MessageElement/MessageVideo.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageHandler.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
- package/dist/cjs/components/MessageElement/hooks/useMessageReply.js +0 -1
- package/dist/cjs/components/MessageElement/utils/decodeText.js +0 -1
- package/dist/cjs/components/MessageElement/utils/emojiMap.js +0 -1
- package/dist/cjs/components/MessageElement/utils/index.js +0 -1
- package/dist/cjs/components/MessageInput/EmojiPicker.js +0 -1
- package/dist/cjs/components/MessageInput/Forward.js +0 -1
- package/dist/cjs/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
- package/dist/cjs/components/MessageInput/InputPluginsDefalut.js +0 -1
- package/dist/cjs/components/MessageInput/InputQuoteDefalut.js +0 -1
- package/dist/cjs/components/MessageInput/MessageInput.d.ts +0 -29
- package/dist/cjs/components/MessageInput/MessageInput.js +0 -1
- package/dist/cjs/components/MessageInput/MessageInputDefault.d.ts +0 -5
- package/dist/cjs/components/MessageInput/MessageInputDefault.js +0 -1
- package/dist/cjs/components/MessageInput/Transmitter.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
- package/dist/cjs/components/MessageInput/hooks/useEmojiPicker.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
- package/dist/cjs/components/MessageInput/hooks/useMessageInputState.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useMessageInputText.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useUploadElement.js +0 -1
- package/dist/cjs/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
- package/dist/cjs/components/MessageInput/hooks/useUploadPicker.js +0 -1
- package/dist/cjs/components/MessageList/MessageList.d.ts +0 -13
- package/dist/cjs/components/MessageList/MessageList.js +0 -1
- package/dist/cjs/components/MessageList/hooks/useMessageListElement.js +0 -1
- package/dist/cjs/components/Model/index.d.ts +0 -9
- package/dist/cjs/components/Model/index.js +0 -1
- package/dist/cjs/components/PlaceHolder/index.d.ts +0 -34
- package/dist/cjs/components/PlaceHolder/index.js +0 -1
- package/dist/cjs/components/Plugins/hooks/usePluginsElement.js +0 -1
- package/dist/cjs/components/Plugins/index.d.ts +0 -21
- package/dist/cjs/components/Plugins/index.js +0 -1
- package/dist/cjs/components/Popup/index.d.ts +0 -13
- package/dist/cjs/components/Popup/index.js +0 -1
- package/dist/cjs/components/Profile/Profile.d.ts +0 -10
- package/dist/cjs/components/Profile/Profile.js +0 -1
- package/dist/cjs/components/Profile/ProfileDefault.d.ts +0 -12
- package/dist/cjs/components/Profile/ProfileDefault.js +0 -1
- package/dist/cjs/components/Profile/hooks/useMyProfile.js +0 -1
- package/dist/cjs/components/Profile/myProfile/MyProfile.js +0 -1
- package/dist/cjs/components/Switch/Switch.d.ts +0 -12
- package/dist/cjs/components/Switch/Switch.js +0 -1
- package/dist/cjs/components/Switch/utils/newId.js +0 -1
- package/dist/cjs/components/Toast/index.d.ts +0 -11
- package/dist/cjs/components/Toast/index.js +0 -1
- package/dist/cjs/components/utils.js +0 -1
- package/dist/cjs/constants.d.ts +0 -11
- package/dist/cjs/constants.js +0 -1
- package/dist/cjs/context/ChatActionContext.d.ts +0 -26
- package/dist/cjs/context/ChatActionContext.js +0 -1
- package/dist/cjs/context/ChatStateContext.d.ts +0 -37
- package/dist/cjs/context/ChatStateContext.js +0 -1
- package/dist/cjs/context/ComponentContext.d.ts +0 -29
- package/dist/cjs/context/ComponentContext.js +0 -1
- package/dist/cjs/context/ContactContext.d.ts +0 -18
- package/dist/cjs/context/ContactContext.js +0 -1
- package/dist/cjs/context/ConversationListContext.d.ts +0 -22
- package/dist/cjs/context/ConversationListContext.js +0 -1
- package/dist/cjs/context/LanguageContext.js +0 -1
- package/dist/cjs/context/MessageContext.d.ts +0 -62
- package/dist/cjs/context/MessageContext.js +0 -1
- package/dist/cjs/context/MessageInputContext.d.ts +0 -36
- package/dist/cjs/context/MessageInputContext.js +0 -1
- package/dist/cjs/context/ThemeContext.js +0 -1
- package/dist/cjs/context/UIKitContext.d.ts +0 -25
- package/dist/cjs/context/UIKitContext.js +0 -1
- package/dist/cjs/hooks/index.js +0 -1
- package/dist/cjs/hooks/useConversation.d.ts +0 -6
- package/dist/cjs/hooks/useConversation.js +0 -1
- package/dist/cjs/hooks/useLongPress.d.ts +0 -3
- package/dist/cjs/hooks/useLongPress.js +0 -1
- package/dist/cjs/hooks/useMouseHover.js +0 -1
- package/dist/cjs/hooks/useProfile.d.ts +0 -5
- package/dist/cjs/hooks/useProfile.js +0 -1
- package/dist/cjs/index.css +0 -2
- package/dist/cjs/index.d.css +0 -2887
- package/dist/cjs/index.d.ts +0 -57
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/locales/en-US/TUIChat.js +0 -1
- package/dist/cjs/locales/en-US/TUIContact.js +0 -1
- package/dist/cjs/locales/en-US/TUIConversation.js +0 -1
- package/dist/cjs/locales/en-US/TUIProfile.js +0 -1
- package/dist/cjs/locales/en-US/emoji.js +0 -1
- package/dist/cjs/locales/en-US/index.js +0 -1
- package/dist/cjs/locales/index.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIChat.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIContact.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIConversation.js +0 -1
- package/dist/cjs/locales/ja-JP/TUIProfile.js +0 -1
- package/dist/cjs/locales/ja-JP/emoji.js +0 -1
- package/dist/cjs/locales/ja-JP/index.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIChat.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIContact.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIConversation.js +0 -1
- package/dist/cjs/locales/ko-KR/TUIProfile.js +0 -1
- package/dist/cjs/locales/ko-KR/emoji.js +0 -1
- package/dist/cjs/locales/ko-KR/index.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIChat.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIContact.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIConversation.js +0 -1
- package/dist/cjs/locales/zh-CN/TUIProfile.js +0 -1
- package/dist/cjs/locales/zh-CN/emoji.js +0 -1
- package/dist/cjs/locales/zh-CN/index.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIChat.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIContact.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIConversation.js +0 -1
- package/dist/cjs/locales/zh-TW/TUIProfile.js +0 -1
- package/dist/cjs/locales/zh-TW/emoji.js +0 -1
- package/dist/cjs/locales/zh-TW/index.js +0 -1
- package/dist/cjs/node_modules/zustand/esm/react.mjs.js +0 -1
- package/dist/cjs/node_modules/zustand/esm/vanilla.mjs.js +0 -1
- package/dist/cjs/server.js +0 -1
- package/dist/cjs/store/UIManagerStore.js +0 -1
- package/dist/cjs/utils/env.d.ts +0 -5
- package/dist/cjs/utils/env.js +0 -1
- package/dist/esm/assets/fonts/iconfont.ttf +0 -0
- package/dist/esm/assets/fonts/iconfont.woff +0 -0
- package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
- package/dist/esm/components/Avatar/Avatar.d.ts +0 -22
- package/dist/esm/components/Avatar/Avatar.js +0 -1
- package/dist/esm/components/Avatar/default.d.ts +0 -7
- package/dist/esm/components/Avatar/default.js +0 -1
- package/dist/esm/components/Chat/Chat.d.ts +0 -39
- package/dist/esm/components/Chat/Chat.js +0 -1
- package/dist/esm/components/Chat/ChatState.js +0 -1
- package/dist/esm/components/Chat/hooks/useCreateTUIChatStateContext.js +0 -1
- package/dist/esm/components/Chat/hooks/useHandleMessage.d.ts +0 -7
- package/dist/esm/components/Chat/hooks/useHandleMessage.js +0 -1
- package/dist/esm/components/Chat/hooks/useHandleMessageList.js +0 -1
- package/dist/esm/components/Chat/index.js +0 -1
- package/dist/esm/components/Chat/server.js +0 -1
- package/dist/esm/components/Chat/utils.js +0 -1
- package/dist/esm/components/ChatHeader/ChatHeader.d.ts +0 -16
- package/dist/esm/components/ChatHeader/ChatHeader.js +0 -1
- package/dist/esm/components/ChatHeader/ChatHeaderDefault.d.ts +0 -18
- package/dist/esm/components/ChatHeader/ChatHeaderDefault.js +0 -1
- package/dist/esm/components/ChatSetting/ChatSetting.d.ts +0 -6
- package/dist/esm/components/ChatSetting/ChatSetting.js +0 -1
- package/dist/esm/components/Checkbox/index.d.ts +0 -17
- package/dist/esm/components/Checkbox/index.js +0 -1
- package/dist/esm/components/Contact/Contact.d.ts +0 -6
- package/dist/esm/components/Contact/Contact.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/ContactInfo.d.ts +0 -10
- package/dist/esm/components/Contact/ContactInfo/ContactInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/addFriendInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/basicInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/blockInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/friendApplication.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/friendInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/groupInfo.js +0 -1
- package/dist/esm/components/Contact/ContactInfo/hooks/useContactInfo.js +0 -1
- package/dist/esm/components/Contact/ContactList/ContactList.d.ts +0 -6
- package/dist/esm/components/Contact/ContactList/ContactList.js +0 -1
- package/dist/esm/components/Contact/hooks/useTUIContact.js +0 -1
- package/dist/esm/components/ContactSearch/ContactSearch.js +0 -1
- package/dist/esm/components/ContactSearch/hooks/useContactSearch.js +0 -1
- package/dist/esm/components/ConversationActions/ConversationActions.d.ts +0 -52
- package/dist/esm/components/ConversationActions/ConversationActions.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreate.d.ts +0 -21
- package/dist/esm/components/ConversationCreate/ConversationCreate.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateButton.d.ts +0 -13
- package/dist/esm/components/ConversationCreate/ConversationCreateButton.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.d.ts +0 -16
- package/dist/esm/components/ConversationCreate/ConversationCreateGroupDetail.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.d.ts +0 -15
- package/dist/esm/components/ConversationCreate/ConversationCreateSelectView.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.d.ts +0 -18
- package/dist/esm/components/ConversationCreate/ConversationCreateUserSelectList.js +0 -1
- package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.d.ts +0 -24
- package/dist/esm/components/ConversationCreate/ConversationGroupTypeInfo.js +0 -1
- package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.d.ts +0 -14
- package/dist/esm/components/ConversationCreate/hooks/useConversationCreate.js +0 -1
- package/dist/esm/components/ConversationCreate/static/word.js +0 -1
- package/dist/esm/components/ConversationList/ConversationList.d.ts +0 -57
- package/dist/esm/components/ConversationList/ConversationList.js +0 -1
- package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.d.ts +0 -23
- package/dist/esm/components/ConversationList/ConversationListContent/ConversationListContent.js +0 -1
- package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts +0 -15
- package/dist/esm/components/ConversationList/ConversationListHeader/ConversationListHeader.js +0 -1
- package/dist/esm/components/ConversationPreview/ConversationPreview.d.ts +0 -45
- package/dist/esm/components/ConversationPreview/ConversationPreview.js +0 -1
- package/dist/esm/components/ConversationPreview/utils.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearch.d.ts +0 -39
- package/dist/esm/components/ConversationSearch/ConversationSearch.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.d.ts +0 -7
- package/dist/esm/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js +0 -1
- package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.d.ts +0 -29
- package/dist/esm/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js +0 -1
- package/dist/esm/components/DivWithEdit/DivWithEdit.d.ts +0 -17
- package/dist/esm/components/DivWithEdit/DivWithEdit.js +0 -1
- package/dist/esm/components/DivWithEdit/WithSelect.js +0 -1
- package/dist/esm/components/DivWithEdit/WithText.js +0 -1
- package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.d.ts +0 -11
- package/dist/esm/components/EmptyStateIndicator/EmptyStateIndicator.js +0 -1
- package/dist/esm/components/Icon/Icon.d.ts +0 -15
- package/dist/esm/components/Icon/Icon.js +0 -1
- package/dist/esm/components/Icon/config.js +0 -1
- package/dist/esm/components/Icon/images/add-friend.svg.js +0 -1
- package/dist/esm/components/Icon/images/add.png.js +0 -1
- package/dist/esm/components/Icon/images/arrow-down.png.js +0 -1
- package/dist/esm/components/Icon/images/arrow-right.png.js +0 -1
- package/dist/esm/components/Icon/images/back.png.js +0 -1
- package/dist/esm/components/Icon/images/camera.png.js +0 -1
- package/dist/esm/components/Icon/images/cancel.png.js +0 -1
- package/dist/esm/components/Icon/images/clear.png.js +0 -1
- package/dist/esm/components/Icon/images/close.png.js +0 -1
- package/dist/esm/components/Icon/images/confirm.png.js +0 -1
- package/dist/esm/components/Icon/images/copy.png.js +0 -1
- package/dist/esm/components/Icon/images/cry.png.js +0 -1
- package/dist/esm/components/Icon/images/del.png.js +0 -1
- package/dist/esm/components/Icon/images/edit.png.js +0 -1
- package/dist/esm/components/Icon/images/effort.png.js +0 -1
- package/dist/esm/components/Icon/images/ellipse.png.js +0 -1
- package/dist/esm/components/Icon/images/emoji.png.js +0 -1
- package/dist/esm/components/Icon/images/file.png.js +0 -1
- package/dist/esm/components/Icon/images/files.png.js +0 -1
- package/dist/esm/components/Icon/images/forward.png.js +0 -1
- package/dist/esm/components/Icon/images/image.png.js +0 -1
- package/dist/esm/components/Icon/images/like.png.js +0 -1
- package/dist/esm/components/Icon/images/liked.png.js +0 -1
- package/dist/esm/components/Icon/images/living.png.js +0 -1
- package/dist/esm/components/Icon/images/member.png.js +0 -1
- package/dist/esm/components/Icon/images/more.png.js +0 -1
- package/dist/esm/components/Icon/images/mute.svg.js +0 -1
- package/dist/esm/components/Icon/images/owner.png.js +0 -1
- package/dist/esm/components/Icon/images/progress.png.js +0 -1
- package/dist/esm/components/Icon/images/quote.png.js +0 -1
- package/dist/esm/components/Icon/images/reply.png.js +0 -1
- package/dist/esm/components/Icon/images/revocation.png.js +0 -1
- package/dist/esm/components/Icon/images/right.png.js +0 -1
- package/dist/esm/components/Icon/images/search.png.js +0 -1
- package/dist/esm/components/Icon/images/send.png.js +0 -1
- package/dist/esm/components/Icon/images/star.png.js +0 -1
- package/dist/esm/components/Icon/images/union.png.js +0 -1
- package/dist/esm/components/Icon/images/unlike.png.js +0 -1
- package/dist/esm/components/Icon/images/unliked.png.js +0 -1
- package/dist/esm/components/Icon/images/ununion.png.js +0 -1
- package/dist/esm/components/Icon/images/unvector.png.js +0 -1
- package/dist/esm/components/Icon/images/vector.png.js +0 -1
- package/dist/esm/components/Icon/images/video-call.svg.js +0 -1
- package/dist/esm/components/Icon/images/video.png.js +0 -1
- package/dist/esm/components/Icon/images/voice-call.svg.js +0 -1
- package/dist/esm/components/Icon/images/voice.png.js +0 -1
- package/dist/esm/components/Icon/type.d.ts +0 -52
- package/dist/esm/components/Icon/type.js +0 -1
- package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.d.ts +0 -20
- package/dist/esm/components/InfiniteScrollPaginator/InfiniteScroll.js +0 -1
- package/dist/esm/components/Input/Input.d.ts +0 -26
- package/dist/esm/components/Input/Input.js +0 -1
- package/dist/esm/components/MessageElement/Message.d.ts +0 -61
- package/dist/esm/components/MessageElement/Message.js +0 -1
- package/dist/esm/components/MessageElement/MessageAudio.js +0 -1
- package/dist/esm/components/MessageElement/MessageAvatar.js +0 -1
- package/dist/esm/components/MessageElement/MessageBubble.js +0 -1
- package/dist/esm/components/MessageElement/MessageContext.d.ts +0 -9
- package/dist/esm/components/MessageElement/MessageContext.js +0 -1
- package/dist/esm/components/MessageElement/MessageCustom.js +0 -1
- package/dist/esm/components/MessageElement/MessageDefault.js +0 -1
- package/dist/esm/components/MessageElement/MessageFace.js +0 -1
- package/dist/esm/components/MessageElement/MessageFile.js +0 -1
- package/dist/esm/components/MessageElement/MessageImage.js +0 -1
- package/dist/esm/components/MessageElement/MessageLocation.js +0 -1
- package/dist/esm/components/MessageElement/MessageMerger.js +0 -1
- package/dist/esm/components/MessageElement/MessageName.js +0 -1
- package/dist/esm/components/MessageElement/MessagePlugins.d.ts +0 -24
- package/dist/esm/components/MessageElement/MessagePlugins.js +0 -1
- package/dist/esm/components/MessageElement/MessageProgress.js +0 -1
- package/dist/esm/components/MessageElement/MessageRevoke.js +0 -1
- package/dist/esm/components/MessageElement/MessageStatus.js +0 -1
- package/dist/esm/components/MessageElement/MessageSystem.js +0 -1
- package/dist/esm/components/MessageElement/MessageText.js +0 -1
- package/dist/esm/components/MessageElement/MessageTip.js +0 -1
- package/dist/esm/components/MessageElement/MessageVideo.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageContextHandler.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageHandler.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessagePluginElement.js +0 -1
- package/dist/esm/components/MessageElement/hooks/useMessageReply.js +0 -1
- package/dist/esm/components/MessageElement/utils/decodeText.js +0 -1
- package/dist/esm/components/MessageElement/utils/emojiMap.js +0 -1
- package/dist/esm/components/MessageElement/utils/index.js +0 -1
- package/dist/esm/components/MessageInput/EmojiPicker.js +0 -1
- package/dist/esm/components/MessageInput/Forward.js +0 -1
- package/dist/esm/components/MessageInput/InputPluginsDefalut.d.ts +0 -5
- package/dist/esm/components/MessageInput/InputPluginsDefalut.js +0 -1
- package/dist/esm/components/MessageInput/InputQuoteDefalut.js +0 -1
- package/dist/esm/components/MessageInput/MessageInput.d.ts +0 -29
- package/dist/esm/components/MessageInput/MessageInput.js +0 -1
- package/dist/esm/components/MessageInput/MessageInputDefault.d.ts +0 -5
- package/dist/esm/components/MessageInput/MessageInputDefault.js +0 -1
- package/dist/esm/components/MessageInput/Transmitter.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useCreateMessageInputContext.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useEmojiPicker.d.ts +0 -6
- package/dist/esm/components/MessageInput/hooks/useEmojiPicker.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useHandleForwardMessage.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useHandleQuoteMessage.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useMessageInputState.d.ts +0 -6
- package/dist/esm/components/MessageInput/hooks/useMessageInputState.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useMessageInputText.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useUploadElement.js +0 -1
- package/dist/esm/components/MessageInput/hooks/useUploadPicker.d.ts +0 -5
- package/dist/esm/components/MessageInput/hooks/useUploadPicker.js +0 -1
- package/dist/esm/components/MessageList/MessageList.d.ts +0 -13
- package/dist/esm/components/MessageList/MessageList.js +0 -1
- package/dist/esm/components/MessageList/hooks/useMessageListElement.js +0 -1
- package/dist/esm/components/Model/index.d.ts +0 -9
- package/dist/esm/components/Model/index.js +0 -1
- package/dist/esm/components/PlaceHolder/index.d.ts +0 -34
- package/dist/esm/components/PlaceHolder/index.js +0 -1
- package/dist/esm/components/Plugins/hooks/usePluginsElement.js +0 -1
- package/dist/esm/components/Plugins/index.d.ts +0 -21
- package/dist/esm/components/Plugins/index.js +0 -1
- package/dist/esm/components/Popup/index.d.ts +0 -13
- package/dist/esm/components/Popup/index.js +0 -1
- package/dist/esm/components/Profile/Profile.d.ts +0 -10
- package/dist/esm/components/Profile/Profile.js +0 -1
- package/dist/esm/components/Profile/ProfileDefault.d.ts +0 -12
- package/dist/esm/components/Profile/ProfileDefault.js +0 -1
- package/dist/esm/components/Profile/hooks/useMyProfile.js +0 -1
- package/dist/esm/components/Profile/myProfile/MyProfile.js +0 -1
- package/dist/esm/components/Switch/Switch.d.ts +0 -12
- package/dist/esm/components/Switch/Switch.js +0 -1
- package/dist/esm/components/Switch/utils/newId.js +0 -1
- package/dist/esm/components/Toast/index.d.ts +0 -11
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/components/utils.js +0 -1
- package/dist/esm/constants.d.ts +0 -11
- package/dist/esm/constants.js +0 -1
- package/dist/esm/context/ChatActionContext.d.ts +0 -26
- package/dist/esm/context/ChatActionContext.js +0 -1
- package/dist/esm/context/ChatStateContext.d.ts +0 -37
- package/dist/esm/context/ChatStateContext.js +0 -1
- package/dist/esm/context/ComponentContext.d.ts +0 -29
- package/dist/esm/context/ComponentContext.js +0 -1
- package/dist/esm/context/ContactContext.d.ts +0 -18
- package/dist/esm/context/ContactContext.js +0 -1
- package/dist/esm/context/ConversationListContext.d.ts +0 -22
- package/dist/esm/context/ConversationListContext.js +0 -1
- package/dist/esm/context/LanguageContext.js +0 -1
- package/dist/esm/context/MessageContext.d.ts +0 -62
- package/dist/esm/context/MessageContext.js +0 -1
- package/dist/esm/context/MessageInputContext.d.ts +0 -36
- package/dist/esm/context/MessageInputContext.js +0 -1
- package/dist/esm/context/ThemeContext.js +0 -1
- package/dist/esm/context/UIKitContext.d.ts +0 -25
- package/dist/esm/context/UIKitContext.js +0 -1
- package/dist/esm/hooks/index.js +0 -1
- package/dist/esm/hooks/useConversation.d.ts +0 -6
- package/dist/esm/hooks/useConversation.js +0 -1
- package/dist/esm/hooks/useLongPress.d.ts +0 -3
- package/dist/esm/hooks/useLongPress.js +0 -1
- package/dist/esm/hooks/useMouseHover.js +0 -1
- package/dist/esm/hooks/useProfile.d.ts +0 -5
- package/dist/esm/hooks/useProfile.js +0 -1
- package/dist/esm/index.css +0 -2
- package/dist/esm/index.d.css +0 -2887
- package/dist/esm/index.d.ts +0 -57
- package/dist/esm/index.js +0 -1
- package/dist/esm/locales/en-US/TUIChat.js +0 -1
- package/dist/esm/locales/en-US/TUIContact.js +0 -1
- package/dist/esm/locales/en-US/TUIConversation.js +0 -1
- package/dist/esm/locales/en-US/TUIProfile.js +0 -1
- package/dist/esm/locales/en-US/emoji.js +0 -1
- package/dist/esm/locales/en-US/index.js +0 -1
- package/dist/esm/locales/index.js +0 -1
- package/dist/esm/locales/ja-JP/TUIChat.js +0 -1
- package/dist/esm/locales/ja-JP/TUIContact.js +0 -1
- package/dist/esm/locales/ja-JP/TUIConversation.js +0 -1
- package/dist/esm/locales/ja-JP/TUIProfile.js +0 -1
- package/dist/esm/locales/ja-JP/emoji.js +0 -1
- package/dist/esm/locales/ja-JP/index.js +0 -1
- package/dist/esm/locales/ko-KR/TUIChat.js +0 -1
- package/dist/esm/locales/ko-KR/TUIContact.js +0 -1
- package/dist/esm/locales/ko-KR/TUIConversation.js +0 -1
- package/dist/esm/locales/ko-KR/TUIProfile.js +0 -1
- package/dist/esm/locales/ko-KR/emoji.js +0 -1
- package/dist/esm/locales/ko-KR/index.js +0 -1
- package/dist/esm/locales/zh-CN/TUIChat.js +0 -1
- package/dist/esm/locales/zh-CN/TUIContact.js +0 -1
- package/dist/esm/locales/zh-CN/TUIConversation.js +0 -1
- package/dist/esm/locales/zh-CN/TUIProfile.js +0 -1
- package/dist/esm/locales/zh-CN/emoji.js +0 -1
- package/dist/esm/locales/zh-CN/index.js +0 -1
- package/dist/esm/locales/zh-TW/TUIChat.js +0 -1
- package/dist/esm/locales/zh-TW/TUIContact.js +0 -1
- package/dist/esm/locales/zh-TW/TUIConversation.js +0 -1
- package/dist/esm/locales/zh-TW/TUIProfile.js +0 -1
- package/dist/esm/locales/zh-TW/emoji.js +0 -1
- package/dist/esm/locales/zh-TW/index.js +0 -1
- package/dist/esm/node_modules/zustand/esm/react.mjs.js +0 -1
- package/dist/esm/node_modules/zustand/esm/vanilla.mjs.js +0 -1
- package/dist/esm/server.js +0 -1
- package/dist/esm/store/UIManagerStore.js +0 -1
- package/dist/esm/utils/env.d.ts +0 -5
- package/dist/esm/utils/env.js +0 -1
- package/index.ts +0 -1
- package/src/@types/images.d.ts +0 -7
- package/src/components/Avatar/Avatar.tsx +0 -157
- package/src/components/Avatar/index.ts +0 -2
- package/src/components/Avatar/styles/index.scss +0 -63
- package/src/components/Chat/ChatState.tsx +0 -129
- package/src/components/Chat/hooks/useCreateTUIChatStateContext.tsx +0 -46
- package/src/components/Chat/hooks/useHandleMessage.tsx +0 -65
- package/src/components/Chat/hooks/useHandleMessageList.tsx +0 -47
- package/src/components/Chat/hooks/useIsMounted.ts +0 -14
- package/src/components/Chat/server.ts +0 -44
- package/src/components/Chat/styles/index.scss +0 -1
- package/src/components/Chat/styles/layout.scss +0 -15
- package/src/components/Chat/utils.ts +0 -72
- package/src/components/ChatHeader/ChatHeaderDefault.tsx +0 -167
- package/src/components/ChatHeader/styles/index.scss +0 -2
- package/src/components/ChatHeader/styles/layout.scss +0 -46
- package/src/components/ChatSetting/ChatSetting.tsx +0 -117
- package/src/components/ChatSetting/index.ts +0 -1
- package/src/components/ChatSetting/styles/index.scss +0 -104
- package/src/components/ConversationActions/ConversationActions.scss +0 -45
- package/src/components/ConversationActions/ConversationActions.tsx +0 -172
- package/src/components/ConversationActions/index.ts +0 -1
- package/src/components/ConversationCreate/ConversationCreate.tsx +0 -136
- package/src/components/ConversationCreate/ConversationCreateButton.tsx +0 -46
- package/src/components/ConversationCreate/ConversationCreateGroupDetail.tsx +0 -179
- package/src/components/ConversationCreate/ConversationCreateSelectView.tsx +0 -46
- package/src/components/ConversationCreate/ConversationCreateUserSelectList.tsx +0 -168
- package/src/components/ConversationCreate/ConversationGroupTypeInfo.tsx +0 -54
- package/src/components/ConversationCreate/hooks/useConversationCreate.tsx +0 -118
- package/src/components/ConversationCreate/index.ts +0 -7
- package/src/components/ConversationCreate/static/word.ts +0 -300
- package/src/components/ConversationCreate/styles/ConversationCreateGroupDetail.scss +0 -68
- package/src/components/ConversationCreate/styles/conversationCreateButton.scss +0 -5
- package/src/components/ConversationCreate/styles/conversationCreateSelectView.scss +0 -38
- package/src/components/ConversationCreate/styles/conversationGroupTypeInfo.scss +0 -64
- package/src/components/ConversationCreate/styles/index.scss +0 -149
- package/src/components/ConversationList/ConversationList.scss +0 -29
- package/src/components/ConversationList/ConversationList.tsx +0 -155
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +0 -16
- package/src/components/ConversationList/ConversationListContent/ConversationListContent.tsx +0 -63
- package/src/components/ConversationList/ConversationListContent/index.ts +0 -1
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.scss +0 -28
- package/src/components/ConversationList/ConversationListHeader/ConversationListHeader.tsx +0 -43
- package/src/components/ConversationList/ConversationListHeader/index.ts +0 -1
- package/src/components/ConversationList/index.ts +0 -3
- package/src/components/ConversationPreview/ConversationPreview.scss +0 -137
- package/src/components/ConversationPreview/ConversationPreview.tsx +0 -260
- package/src/components/ConversationPreview/index.ts +0 -1
- package/src/components/ConversationPreview/utils.tsx +0 -145
- package/src/components/ConversationSearch/ConversationSearch.scss +0 -22
- package/src/components/ConversationSearch/ConversationSearch.tsx +0 -125
- package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.scss +0 -13
- package/src/components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.tsx +0 -42
- package/src/components/ConversationSearch/ConversationSearchInput/index.ts +0 -1
- package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.scss +0 -15
- package/src/components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.tsx +0 -72
- package/src/components/ConversationSearch/ConversationSearchResult/index.ts +0 -1
- package/src/components/ConversationSearch/index.ts +0 -3
- package/src/components/InfiniteScrollPaginator/InfiniteScroll.tsx +0 -115
- package/src/components/InfiniteScrollPaginator/index.ts +0 -1
- package/src/components/Input/styles/index.scss +0 -62
- package/src/components/MessageElement/Message.tsx +0 -150
- package/src/components/MessageElement/MessageAudio.tsx +0 -89
- package/src/components/MessageElement/MessageAvatar.tsx +0 -38
- package/src/components/MessageElement/MessageBubble.tsx +0 -137
- package/src/components/MessageElement/MessageContext.tsx +0 -84
- package/src/components/MessageElement/MessageCustom.tsx +0 -85
- package/src/components/MessageElement/MessageDefault.tsx +0 -104
- package/src/components/MessageElement/MessageFace.tsx +0 -28
- package/src/components/MessageElement/MessageFile.tsx +0 -41
- package/src/components/MessageElement/MessageImage.tsx +0 -46
- package/src/components/MessageElement/MessageLocation.tsx +0 -29
- package/src/components/MessageElement/MessageMerger.tsx +0 -38
- package/src/components/MessageElement/MessageName.tsx +0 -41
- package/src/components/MessageElement/MessagePlugins.tsx +0 -230
- package/src/components/MessageElement/MessageProgress.tsx +0 -89
- package/src/components/MessageElement/MessageRevoke.tsx +0 -48
- package/src/components/MessageElement/MessageStatus.tsx +0 -40
- package/src/components/MessageElement/MessageSystem.tsx +0 -30
- package/src/components/MessageElement/MessageText.tsx +0 -66
- package/src/components/MessageElement/MessageTip.tsx +0 -28
- package/src/components/MessageElement/MessageVideo.tsx +0 -45
- package/src/components/MessageElement/hooks/index.ts +0 -3
- package/src/components/MessageElement/hooks/useMessageContextHandler.ts +0 -70
- package/src/components/MessageElement/hooks/useMessageHandler.ts +0 -127
- package/src/components/MessageElement/hooks/useMessagePluginElement.tsx +0 -31
- package/src/components/MessageElement/hooks/useMessageReply.ts +0 -69
- package/src/components/MessageElement/index.ts +0 -3
- package/src/components/MessageElement/styles/color.scss +0 -45
- package/src/components/MessageElement/styles/index.scss +0 -2
- package/src/components/MessageElement/styles/layout.scss +0 -609
- package/src/components/MessageElement/utils/decodeText.ts +0 -110
- package/src/components/MessageElement/utils/emojiMap.ts +0 -95
- package/src/components/MessageElement/utils/index.ts +0 -472
- package/src/components/MessageInput/EmojiPicker.tsx +0 -80
- package/src/components/MessageInput/Forward.tsx +0 -187
- package/src/components/MessageInput/InputPluginsDefalut.tsx +0 -114
- package/src/components/MessageInput/InputQuoteDefalut.tsx +0 -44
- package/src/components/MessageInput/MessageInput.tsx +0 -116
- package/src/components/MessageInput/MessageInputDefault.tsx +0 -86
- package/src/components/MessageInput/Transmitter.tsx +0 -15
- package/src/components/MessageInput/hooks/index.ts +0 -6
- package/src/components/MessageInput/hooks/useCreateMessageInputContext.ts +0 -45
- package/src/components/MessageInput/hooks/useEmojiPicker.tsx +0 -40
- package/src/components/MessageInput/hooks/useHandleForwardMessage.tsx +0 -42
- package/src/components/MessageInput/hooks/useHandleQuoteMessage.tsx +0 -64
- package/src/components/MessageInput/hooks/useMessageInputState.tsx +0 -102
- package/src/components/MessageInput/hooks/useMessageInputText.tsx +0 -193
- package/src/components/MessageInput/hooks/usePluginsElement.tsx +0 -24
- package/src/components/MessageInput/hooks/useUploadElement.tsx +0 -35
- package/src/components/MessageInput/hooks/useUploadPicker.tsx +0 -38
- package/src/components/MessageInput/index.ts +0 -3
- package/src/components/MessageInput/styles/color.scss +0 -40
- package/src/components/MessageInput/styles/index.scss +0 -2
- package/src/components/MessageInput/styles/layout.scss +0 -360
- package/src/components/MessageList/MessageList.tsx +0 -133
- package/src/components/MessageList/hooks/useMessageListElement.tsx +0 -50
- package/src/components/MessageList/index.ts +0 -1
- package/src/components/MessageList/styles/index.scss +0 -2
- package/src/components/MessageList/styles/layout.scss +0 -61
- package/src/components/PlaceHolder/index.tsx +0 -79
- package/src/components/PlaceHolder/styles/index.scss +0 -36
- package/src/components/Toast/index.tsx +0 -44
- package/src/components/Toast/styles/color.scss +0 -11
- package/src/components/Toast/styles/index.scss +0 -2
- package/src/components/Toast/styles/layout.scss +0 -11
- package/src/components/utils.ts +0 -96
- package/src/constants.ts +0 -95
- package/src/context/ChatActionContext.tsx +0 -51
- package/src/context/ChatStateContext.tsx +0 -49
- package/src/context/ComponentContext.tsx +0 -48
- package/src/context/ConversationListContext.tsx +0 -113
- package/src/context/LanguageContext.tsx +0 -61
- package/src/context/MessageContext.tsx +0 -55
- package/src/context/MessageInputContext.tsx +0 -54
- package/src/context/ThemeContext.tsx +0 -68
- package/src/context/UIKitContext.tsx +0 -70
- package/src/context/UIManagerContext.tsx +0 -163
- package/src/hooks/useConversation.tsx +0 -30
- package/src/hooks/useLongPress.tsx +0 -117
- package/src/hooks/useMouseHover.tsx +0 -21
- package/src/hooks/useProfile.tsx +0 -8
- package/src/server.ts +0 -43
- package/src/store/UIManagerStore.ts +0 -108
- package/src/store/index.ts +0 -5
- package/src/styles/colors/_color-dark.scss +0 -45
- package/src/styles/colors/_color-light.scss +0 -45
- package/src/styles/colors/_color-theme.scss +0 -65
- package/src/utils/env.ts +0 -10
- /package/{src/components/ChatHeader/styles/color.scss → dist/external_modules/lodash-vwDjcXxQ.js} +0 -0
- /package/{src/components/MessageList/styles/color.scss → dist/types/message.js} +0 -0
- /package/src/{components/Avatar/default.ts → constant/avatar.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("react/jsx-runtime"),s=require("react"),i=require("@tencentcloud/uikit-base-component-react"),n=require("../../context/ContactContext.js"),c=require("../../utils/env.js"),r=require("../../store/UIManagerStore.js"),o=require("./hooks/useTUIContact.js"),a=require("./ContactList/ContactList.js"),u=require("../ContactSearch/ContactSearch.js"),d=require("../Icon/Icon.js"),l=require("../Icon/type.js");function h(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function j(h){var j=h.children,C=i.useUIKit().t,x=r.useUIManagerStore().setActiveContact,f=s.useState(!1),p=f[0],I=f[1],_=o(),m=_.friendList,v=_.blockList,L=_.blocklistProfile,g=_.friendApplicationList,q=_.isShowContactList,S=_.setShowContactList,b=s.useMemo((function(){return{friendList:m,blockList:v,blocklistProfile:L,friendApplicationList:g,isShowContactList:q,setShowContactList:S}}),[m,L,g,q,S]);return e.jsx(n.TUIContactContextProvider,t.__assign({value:b},{children:j||e.jsxs("div",t.__assign({className:"tui-contacts ".concat(c.isH5?"tui-contacts-h5":""," ")},{children:[!p&&e.jsxs(e.Fragment,{children:[e.jsxs("div",t.__assign({className:"tui-contacts-header"},{children:[e.jsx("div",t.__assign({className:"tui-contact-input"},{children:e.jsx(u.ContactSearch,{})})),e.jsx(d.Icon,{onClick:function(){x(),I(!0)},type:l.IconTypes.ADDFRIEND,width:24,height:24})]})),e.jsx(a.ContactList,{})]}),p&&e.jsxs(e.Fragment,{children:[e.jsxs("div",t.__assign({className:"tui-contacts-add-header"},{children:[e.jsx(d.Icon,{onClick:function(){x(),I(!1)},type:l.IconTypes.BACK,width:9,height:16}),e.jsx("div",t.__assign({className:"tui-contacts-add-header-title"},{children:C("TUIContact.Add Friend")}))]})),e.jsx(u.ContactSearch,{})]})]}))}))}var C=h(s).default.memo(j);exports.Contact=C,exports.UnMemoizedContact=j;
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),o=require("react"),r=require("../../../store/UIManagerStore.js"),i=require("../../../utils/env.js"),t=require("./friendInfo.js"),a=require("./blockInfo.js"),d=require("./addFriendInfo.js"),l=require("./groupInfo.js"),u=require("./friendApplication.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function c(o){var s=o.showChats,c=r.useUIManagerStore().contactData;return(null==c?void 0:c.type)?n.jsxs("div",e.__assign({className:"tui-contact-info ".concat(i.isH5?"tui-contact-info-h5":""," ")},{children:["addFriend"===(null==c?void 0:c.type)&&n.jsx(d.AddFriendInfo,{profile:null==c?void 0:c.data}),"friend"===(null==c?void 0:c.type)&&n.jsx(t.FriendInfo,{showChats:s,friend:null==c?void 0:c.data}),"block"===(null==c?void 0:c.type)&&n.jsx(a.BlockInfo,{profile:null==c?void 0:c.data}),"group"===(null==c?void 0:c.type)&&n.jsx(l.GroupInfo,{showChats:s,group:null==c?void 0:c.data}),"friendApplication"===(null==c?void 0:c.type)&&n.jsx(u.FriendApplicationInfo,{application:null==c?void 0:c.data})]})):n.jsx(n.Fragment,{children:" "})}var f=s(o).default.memo(c);exports.ContactInfo=f,exports.UnMemoizedContactInfo=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),i=require("@tencentcloud/uikit-base-component-react"),s=require("./hooks/useContactInfo.js"),a=require("./basicInfo.js"),r=require("../../DivWithEdit/DivWithEdit.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(c){var o=this,l=c.profile,u=l.userID,d=i.useUIKit().t,m=n.useState(""),f=m[0],_=m[1],x=n.useState(""),v=x[0],h=x[1],j=n.useState(""),g=j[0],p=j[1],b=n.useState(!1),I=b[0],N=b[1],k=s().addFriend;return t.jsxs(t.Fragment,{children:[t.jsx(a.BasicInfo,{profile:l}),I?t.jsx("div",e.__assign({className:"tui-contact-info-content"},{children:t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:d("TUIContact.verification info")})),t.jsx("p",e.__assign({className:"content-item-text"},{children:g}))]}))})):t.jsxs("div",e.__assign({className:"tui-contact-info-content"},{children:[t.jsxs("div",e.__assign({className:"content-item-wording"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:d("TUIContact.Enter the verification info")})),t.jsx("textarea",{className:"content-item-wording-text",value:g,onChange:function(e){!function(e){p(e.target.value)}(e)}})]})),t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:d("TUIContact.remark")})),t.jsx(r.DivWithEdit,{name:"remark",className:"content-item-text",value:v,type:"text",toggle:function(){_("remark")},isEdit:"remark"===f,confirm:function(e){h(null==e?void 0:e.value),_("")},close:function(){_("")}})]})),t.jsx("div",e.__assign({className:"content-btn-container"},{children:t.jsx("div",e.__assign({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,k({userID:u,remark:v,wording:g})];case 1:return e.sent(),N(!0),[2]}}))}))}},{children:d("TUIContact.Send application")}))}))]}))]})}var l=c(n).default.memo(o);exports.AddFriendInfo=l,exports.UnMemoizedAddFriendInfo=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),a=require("react"),t=require("@tencentcloud/uikit-base-component-react"),i=require("@tencentcloud/chat-uikit-engine"),s=require("../../../store/UIManagerStore.js"),n=require("../../Icon/Icon.js"),c=require("../../Icon/type.js"),o=require("../../../utils/env.js"),u=require("../../Avatar/Avatar.js"),d=require("../../Avatar/default.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function v(a){var l=a.profile,v=t.useUIKit().t,h=l.userID,j=l.nick,f=l.selfSignature,x=l.avatar,I=s.useUIManagerStore().setActiveContact;return r.jsxs("div",e.__assign({className:"tui-contact-info-header"},{children:[o.isH5&&r.jsx(n.Icon,{width:9,height:16,type:c.IconTypes.BACK,onClick:function(){i.TUIConversationService.switchConversation(""),I()}}),r.jsxs("div",e.__assign({className:"header-container"},{children:[r.jsxs("div",e.__assign({className:"header-container-avatar"},{children:[r.jsx(u.Avatar,{size:60,image:x||d.defaultUserAvatar}),r.jsx("div",e.__assign({className:"header-container-name"},{children:j||h}))]})),r.jsx("div",e.__assign({className:"header-container-text"},{children:"ID:".concat(h)})),r.jsxs("div",e.__assign({className:"header-container-text"},{children:[v("TUIContact.Signature"),":",f||""]}))]}))]}))}var h=l(a).default.memo(v);exports.BasicInfo=h,exports.UnMemoizedBasicInfo=v;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),r=require("@tencentcloud/uikit-base-component-react"),s=require("./basicInfo.js"),i=require("../../Switch/Switch.js"),c=require("../../../store/UIManagerStore.js"),o=require("./hooks/useContactInfo.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function u(a){var u=this,l=a.profile,f=c.useUIManagerStore(),d=f.contactData,m=f.setActiveContact,h=r.useUIKit().t,j=n.useState(!1),_=j[0],x=j[1],v=o().removeFromBlocklist;n.useEffect((function(){x(!0)}),[d]);return t.jsxs(t.Fragment,{children:[t.jsx(s.BasicInfo,{profile:l}),t.jsx("div",e.__assign({className:"tui-contact-info-content"},{children:t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:h("TUIContact.block")})),t.jsx(i.Switch,{className:"content-item-text",onChange:function(){return e.__awaiter(u,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,v(l.userID)];case 1:return e.sent(),x(!1),m(),[2]}}))}))},checked:_})]}))}))]})}var l=a(n).default.memo(u);exports.BlockInfo=l,exports.UnMemoizedBlockInfo=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),a=require("@tencentcloud/chat"),i=require("@tencentcloud/uikit-base-component-react"),s=require("../../../store/UIManagerStore.js"),r=require("../../Avatar/Avatar.js"),c=require("../../Avatar/default.js"),o=require("./hooks/useContactInfo.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=l(n),u=l(a);function _(n){var a=s.useUIManagerStore().setActiveContact,l=i.useUIKit().t,d=n.application,_=d.userID,m=d.nick,v=d.avatar,x=d.type,f=d.wording,j=o(),h=j.acceptFriendApplication,p=j.refuseFriendApplication;return t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:"tui-contact-info-header"},{children:t.jsxs("div",e.__assign({className:"header-container"},{children:[t.jsxs("div",e.__assign({className:"header-container-avatar"},{children:[t.jsx(r.Avatar,{size:60,image:v||c.defaultUserAvatar}),t.jsx("div",e.__assign({className:"header-container-name"},{children:m||_}))]})),t.jsx("div",e.__assign({className:"header-container-text"},{children:"ID:".concat(_)}))]}))})),t.jsx("div",e.__assign({className:"tui-contact-info-content"},{children:t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:l("TUIContact.verification info")})),t.jsx("p",e.__assign({className:"content-item-text"},{children:f}))]}))})),x===u.default.TYPES.SNS_APPLICATION_SENT_TO_ME&&t.jsx("div",e.__assign({className:"tui-contact-info-content"},{children:t.jsxs("div",e.__assign({className:"content-btn-container"},{children:[t.jsx("div",e.__assign({className:"content-item-btn delete-btn",role:"button",tabIndex:0,onClick:function(){a(),p(_)}},{children:l("TUIContact.Refuse")})),t.jsx("div",e.__assign({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){a(),h(_)}},{children:l("TUIContact.Agree")}))]}))}))]})}var m=d.default.memo(_);exports.FriendApplicationInfo=m,exports.UnMemoizedFriendApplication=_;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),i=require("@tencentcloud/uikit-base-component-react"),r=require("@tencentcloud/chat-uikit-engine"),s=require("../../../store/UIManagerStore.js"),a=require("./basicInfo.js"),c=require("../../Switch/Switch.js"),o=require("./hooks/useContactInfo.js"),u=require("../../DivWithEdit/DivWithEdit.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function d(l){var d=this,f=s.useUIManagerStore().chat,m=s.useUIManagerStore(),v=m.contactData,h=m.setActiveContact,_=m.setActiveConversation,x=i.useUIKit().t,g=l.friend,j=l.showChats,b=g.userID,I=g.profile,C=g.remark,k=n.useState(""),p=k[0],S=k[1],q=n.useState(""),N=q[0],U=q[1],w=n.useState(!1),D=w[0],M=w[1],T=o(),E=T.addToBlocklist,F=T.deleteFriend;n.useEffect((function(){M(!1),U(C)}),[v,C]);return t.jsxs(t.Fragment,{children:[t.jsx(a.BasicInfo,{profile:I}),t.jsxs("div",e.__assign({className:"tui-contact-info-content"},{children:[t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:x("TUIContact.remark")})),t.jsx(u.DivWithEdit,{name:"remark",className:"content-item-text",value:N,type:"text",toggle:function(){S("remark")},isEdit:"remark"===p,confirm:function(e){f.updateFriend({userID:b,remark:null==e?void 0:e.value}),U(null==e?void 0:e.value),S("")},close:function(){S("")}})]})),t.jsxs("div",e.__assign({className:"content-item"},{children:[t.jsx("p",e.__assign({className:"content-item-label"},{children:x("TUIContact.block")})),t.jsx(c.Switch,{className:"content-item-text",onChange:function(){return e.__awaiter(d,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,E(b)];case 1:return e.sent(),M(!0),h(),[2]}}))}))},checked:D})]})),t.jsxs("div",e.__assign({className:"content-btn-container"},{children:[t.jsx("div",e.__assign({className:"content-item-btn delete-btn",role:"button",tabIndex:0,onClick:function(){return e.__awaiter(d,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,F(b)];case 1:return e.sent(),h(),[2]}}))}))}},{children:x("TUIContact.Delete friend")})),t.jsx("div",e.__assign({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){var e="C2C".concat(b);j&&j(),r.TUIConversationService.switchConversation(e).then((function(e){_(e.getConversation())}))}},{children:x("TUIContact.Send Message")}))]}))]}))]})}var f=l(n).default.memo(d);exports.FriendInfo=f,exports.UnMemoizedFriendInfo=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),a=require("@tencentcloud/uikit-base-component-react"),r=require("@tencentcloud/chat-uikit-engine"),i=require("../../../store/UIManagerStore.js"),s=require("../../Icon/Icon.js"),o=require("../../Icon/type.js"),c=require("../../../utils/env.js"),u=require("../../Avatar/Avatar.js"),d=require("../../Avatar/default.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function v(t){var l=t.group,v=t.showChats,h=i.useUIManagerStore(),j=h.setActiveContact,g=h.setActiveConversation,m=a.useUIKit().t,_=l.groupID,f=l.name,x=l.avatar;return n.jsxs(n.Fragment,{children:[n.jsxs("div",e.__assign({className:"tui-contact-info-header"},{children:[c.isH5&&n.jsx(s.Icon,{width:9,height:16,type:o.IconTypes.BACK,onClick:function(){r.TUIConversationService.switchConversation(""),j()}}),n.jsxs("div",e.__assign({className:"header-container"},{children:[n.jsxs("div",e.__assign({className:"header-container-avatar"},{children:[n.jsx(u.Avatar,{size:60,image:x||d.defaultUserAvatar}),n.jsx("div",e.__assign({className:"header-container-name"},{children:f||_}))]})),n.jsx("div",e.__assign({className:"header-container-text"},{children:"groupID:".concat(_)}))]}))]})),n.jsx("div",e.__assign({className:"tui-contact-info-content"},{children:n.jsx("div",e.__assign({className:"content-btn-container"},{children:n.jsx("div",e.__assign({className:"content-item-btn confirm-btn",role:"button",tabIndex:0,onClick:function(){var e="GROUP".concat(_);v&&v(),r.TUIConversationService.switchConversation(e).then((function(e){g(e.getConversation())}))}},{children:m("TUIContact.Send Message")}))}))}))]})}var h=l(t).default.memo(v);exports.GroupInfo=h,exports.UnMemoizedGroupInfo=v;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),t=require("react"),r=require("@tencentcloud/chat"),n=require("../../../Toast/index.js"),i=require("../../../../store/UIManagerStore.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=a(r);module.exports=function(){var r=this,a=i.useUIManagerStore().chat,c=t.useCallback((function(e){a.removeFromBlacklist({userIDList:[e]})}),[a]),o=t.useCallback((function(e){a.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.Toast({text:e,type:"error"})}))}),[a]),l=t.useCallback((function(e){a.deleteFriend({userIDList:[e]})}),[a]);return{addToBlocklist:t.useCallback((function(e){a.addToBlacklist({userIDList:[e]})}),[a]),removeFromBlocklist:c,isFriend:function(e){return new Promise((function(t,r){a.checkFriend({userIDList:[null==e?void 0:e.userID],type:u.default.TYPES.SNS_CHECK_TYPE_BOTH}).then((function(e){var r,n;switch(null===(n=null===(r=null==e?void 0:e.data)||void 0===r?void 0:r.successUserIDList[0])||void 0===n?void 0:n.relation){case u.default.TYPES.SNS_TYPE_NO_RELATION:case u.default.TYPES.SNS_TYPE_A_WITH_B:case u.default.TYPES.SNS_TYPE_B_WITH_A:t(!1);break;case u.default.TYPES.SNS_TYPE_BOTH_WAY:t(!0);break;default:t(!1)}})).catch((function(e){console.warn("checkFriend error",e),r(e)}))}))},isBlock:function(t){return e.__awaiter(r,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,a.getBlacklist()];case 1:return[2,e.sent().data.includes(t)]}}))}))},addFriend:o,deleteFriend:l,acceptFriendApplication:t.useCallback((function(e){a.acceptFriendApplication({userID:e,type:u.default.TYPES.SNS_APPLICATION_AGREE_AND_ADD})}),[a]),refuseFriendApplication:t.useCallback((function(e){a.refuseFriendApplication({userID:e})}),[a])}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),s=require("react/jsx-runtime"),i=require("react"),e=require("@tencentcloud/uikit-base-component-react"),n=require("@tencentcloud/chat"),a=require("../../../utils/env.js");require("@tencentcloud/tui-core"),require("react-i18next"),require("../../../context/MessageContext.js");var c=require("../../../context/ContactContext.js");require("@tencentcloud/chat-uikit-engine");var o=require("../../../store/UIManagerStore.js"),r=require("../ContactInfo/hooks/useContactInfo.js"),l=require("../hooks/useTUIContact.js"),u=require("../../Avatar/Avatar.js"),d=require("../../Avatar/default.js");function _(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var x=_(i),m=_(n);function p(){var n=o.useUIManagerStore().setActiveContact,_=e.useUIKit().t,x=c.useTUIContactContext("TUIContactList"),p=x.isShowContactList,j=x.friendList,h=x.blocklistProfile,v=x.friendApplicationList,f=r().acceptFriendApplication,g=l().groupList,N=i.useState(!1),C=N[0],I=N[1],S=i.useState(!1),b=S[0],q=S[1],A=i.useState(!1),T=A[0],k=A[1],U=i.useState(!1),w=U[0],L=U[1],P=function(i){var e=i.type,a=i.isShow,c=i.setShow,o=i.list,r=i.title;return s.jsxs(s.Fragment,{children:[s.jsxs("div",t.__assign({className:"tui-contacts-title",role:"button",tabIndex:0,onClick:function(){return c(!a)}},{children:[s.jsx("div",t.__assign({className:"tui-contacts-list-title"},{children:r})),s.jsx("div",t.__assign({className:"tui-contacts-list-icon"},{children:a?s.jsx("i",t.__assign({className:"iconfont contacts-list-icon"},{children:""})):s.jsx("i",t.__assign({className:"iconfont contacts-list-icon"},{children:""}))}))]})),a&&(null==o?void 0:o.map((function(i){var a=i.profile||i,c=a.userID,o=a.groupID,r=a.avatar,l=a.name,_=a.nick,x=i.remark||_||c||l||o;return s.jsxs("div",t.__assign({role:"button",tabIndex:0,className:"tui-contacts-list-item",onClick:function(){n({type:e,data:i})}},{children:[s.jsx(u.Avatar,{size:30,image:r||d.defaultUserAvatar}),s.jsx("div",t.__assign({className:"tui-contacts-list-item-container"},{children:s.jsx("p",t.__assign({className:"tui-contacts-list-item-name"},{children:x}))}))]}),c||o)})))]})};return p&&s.jsxs("div",t.__assign({className:"tui-contacts-list ".concat(a.isH5?"tui-contacts-list-h5":""," ")},{children:[s.jsxs("div",t.__assign({className:"tui-contacts-title",role:"button",tabIndex:0,onClick:function(){return I(!C)}},{children:[s.jsx("p",t.__assign({className:"tui-contacts-list-title"},{children:_("TUIContact.New Contacts")})),s.jsx("div",t.__assign({className:"tui-contacts-list-icon"},{children:C?s.jsx("i",t.__assign({className:"iconfont contacts-list-icon"},{children:""})):s.jsx("i",t.__assign({className:"iconfont contacts-list-icon"},{children:""}))}))]})),C&&(null==v?void 0:v.map((function(i,e){var a=i.userID,c=i.avatar,o=i.nick,r=i.wording,l=i.type;return s.jsxs("div",t.__assign({role:"button",tabIndex:0,className:"tui-contacts-list-item",onClick:function(t){t.stopPropagation(),n({type:"friendApplication",data:i})}},{children:[s.jsx(u.Avatar,{size:30,image:c||d.defaultUserAvatar}),s.jsxs("div",t.__assign({className:"tui-contacts-list-item-card"},{children:[s.jsxs("div",{children:[s.jsx("p",t.__assign({className:"tui-contacts-list-item-name text-ellipsis"},{children:o||a})),""!==r&&s.jsx("p",t.__assign({className:"tui-contacts-list-item-text text-ellipsis"},{children:r}))]}),l===m.default.TYPES.SNS_APPLICATION_SENT_BY_ME&&s.jsx("p",t.__assign({className:"tui-contacts-list-btn-text text-ellipsis"},{children:_("TUIContact.waiting for verification")})),l===m.default.TYPES.SNS_APPLICATION_SENT_TO_ME&&s.jsx("div",t.__assign({className:"application-btn",role:"button",tabIndex:0,onClick:function(t){!function(t,s){t.stopPropagation(),f(s),n()}(t,a)}},{children:_("TUIContact.Agree")}))]}))]}),a)}))),s.jsx(P,{type:"block",title:_("TUIContact.Blocked List"),isShow:T,setShow:k,list:h}),s.jsx(P,{type:"group",title:_("TUIContact.Group List"),setShow:L,isShow:w,list:g}),s.jsx(P,{type:"friend",title:_("TUIContact.Friends"),setShow:q,isShow:b,list:j})]}))}var j=x.default.memo(p);exports.ContactList=j;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),e=require("react"),n=require("@tencentcloud/chat"),r=require("@tencentcloud/chat-uikit-engine"),i=require("../../../store/UIManagerStore.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=a(n);module.exports=function(){var n=this,a=i.useUIManagerStore().chat,o=e.useState([]),c=o[0],s=o[1],l=e.useState([]),d=l[0],f=l[1],v=e.useState([]),_=v[0],L=v[1],h=e.useState([]),S=h[0],g=h[1],E=e.useState(),p=E[0],w=E[1],I=e.useState(!0),T=I[0],A=I[1];e.useEffect((function(){r.TUIStore.watch(r.StoreName.GRP,{groupList:D}),P(),N(),b()}),[a]);var D=function(t){w(t)};e.useEffect((function(){null==a||a.on(u.default.EVENT.BLACKLIST_UPDATED,k),null==a||a.on(u.default.EVENT.FRIEND_LIST_UPDATED,C),null==a||a.on(u.default.EVENT.FRIEND_APPLICATION_LIST_UPDATED,q)}),[a]);var b=function(){return t.__awaiter(n,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,a.getFriendApplicationList()];case 1:return e=t.sent().data,L(null==e?void 0:e.friendApplicationList),[2]}}))}))},P=function(){return t.__awaiter(n,void 0,void 0,(function(){var e,n,r;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,null==a?void 0:a.getFriendList()];case 1:return e=t.sent(),n=e.code,r=e.data,0===n&&s(r),[2]}}))}))},N=function(){return t.__awaiter(n,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,null==a?void 0:a.getBlacklist()];case 1:return 0===(e=t.sent().data).length||(f(e),U(e)),[2]}}))}))},U=function(e){return t.__awaiter(n,void 0,void 0,(function(){var n;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,a.getUserProfile({userIDList:e})];case 1:return n=t.sent().data,g(n),[2]}}))}))},q=function(t){var e;L(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.friendApplicationList)},k=function(t){f(t.data),U(t.data)},C=function(t){s(t.data)};return{friendList:c,groupList:p,blocklistProfile:S,friendApplicationList:_,blockList:d,isShowContactList:T,setShowContactList:A}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),n=require("@tencentcloud/uikit-base-component-react");require("@tencentcloud/tui-core"),require("react-i18next"),require("../../context/MessageContext.js");var a=require("../../context/ContactContext.js");require("@tencentcloud/chat-uikit-engine");var i=require("../../store/UIManagerStore.js"),o=require("./hooks/useContactSearch.js"),u=require("../Icon/Icon.js"),c=require("../Icon/type.js"),s=require("../Avatar/Avatar.js"),l=require("../Avatar/default.js"),d=require("../Input/Input.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function f(){var v=this,f=i.useUIManagerStore().setActiveContact,h=n.useUIKit().t,I=a.useTUIContactContext("TUIContactList"),j=I.friendList,p=I.setShowContactList,x=r.useState(!1),g=x[0],_=x[1],m=o(),q=m.checkFriend,C=m.isBlock,S=m.getUserProfile,U=r.useState(""),b=U[0],y=U[1],k=r.useState([]),A=k[0],w=k[1];return t.jsxs("div",e.__assign({className:"tui-contact-search"},{children:[t.jsx(d.Input,{className:"tui-contact-search-input",placeholder:h("TUIContact.Enter a userID"),clearable:!0,value:b,onBlur:function(e){var t;y(null===(t=e.target)||void 0===t?void 0:t.value)},onFocus:function(){f()},onChange:function(e){var t,r;if(""===(null===(t=e.target)||void 0===t?void 0:t.value))return p&&p(!0),_(!1),void w([]);_(!0),y(null===(r=e.target)||void 0===r?void 0:r.value),p&&p(!1)},onKeyDown:function(){return e.__awaiter(v,void 0,void 0,(function(){return e.__generator(this,(function(e){return b&&S(b).then((function(e){var t=e.data;w(t)})),[2]}))}))},prefix:t.jsx(u.Icon,{type:c.IconTypes.SEARCH,height:16,width:16})}),g&&0===A.length?t.jsx("div",e.__assign({className:"tui-contact-search-item"},{children:h("TUIContact.No Result")})):A.map((function(r,n){var a=r.userID,i=r.avatar,o=r.nick;return t.jsxs("div",e.__assign({className:"tui-contact-search-item",role:"button",tabIndex:0,onClick:function(){var t;t=r,e.__awaiter(v,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,q(t)];case 1:return e.sent()?((r=null==j?void 0:j.find((function(e){return e.userID===b})))&&f({type:"friend",data:r}),[2]):C(t.userID)?(f({type:"block",data:t}),[2]):(f({type:"addFriend",data:t}),[2])}}))}))}},{children:[t.jsx(s.Avatar,{size:30,image:i||l.defaultUserAvatar}),t.jsx("div",e.__assign({className:"search-item-name"},{children:o||a}))]}),a)}))]}))}var h=v(r).default.memo(f);exports.ContactSearch=h,exports.UnMemoizedContactSearch=f;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("@tencentcloud/chat");require("tslib"),require("react/jsx-runtime"),require("react"),require("@tencentcloud/tui-core"),require("react-i18next"),require("../../../context/MessageContext.js");var t=require("../../../context/ContactContext.js");require("@tencentcloud/chat-uikit-engine");var r=require("../../../store/UIManagerStore.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(e);module.exports=function(){var e=t.useTUIContactContext("TUIContactList").blockList,n=r.useUIManagerStore().chat;return{checkFriend:function(e){return n.checkFriend({userIDList:[null==e?void 0:e.userID],type:u.default.TYPES.SNS_CHECK_TYPE_BOTH}).then((function(e){var t,r;return(null===(r=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.successUserIDList[0])||void 0===r?void 0:r.relation)===u.default.TYPES.SNS_TYPE_BOTH_WAY}))},isBlock:function(t){return null==e?void 0:e.includes(t)},getUserProfile:function(e){return n.getUserProfile({userIDList:[e]})}}};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),o=require("react"),i=require("@tencentcloud/uikit-base-component-react"),t=require("classnames"),s=require("../Plugins/index.js"),a=require("../Icon/Icon.js"),r=require("../Icon/type.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(o),l=c(t);exports.ConversationActions=function(t){var c=t.conversation,v=t.PopupIcon,d=t.enablePin,p=void 0===d||d,f=t.enableMute,C=void 0===f||f,m=t.enableDelete,_=void 0===m||m,b=t.onConversationPin,k=t.onConversationMute,I=t.onConversationDelete,j=t.customConversationActions,P=t.PopupElements,g=t.onClick,M=t.className,q=t.style,x=i.useUIKit().t,y=o.useRef(null),U=u.default.useState({}),h=U[0],N=U[1],T={delete:{enable:_,label:x("TUIConversation.Delete"),onClick:I||function(e){e.deleteConversation()}},pin:{enable:p,label:x(c.isPinned?"TUIConversation.Unpin":"TUIConversation.Pin"),onClick:b||function(e){e.pinConversation()}},mute:{enable:C,label:x(c.isMuted?"TUIConversation.Unmute":"TUIConversation.Mute"),onClick:k||function(e){e.muteConversation()}}};o.useEffect((function(){N(e.__assign(e.__assign({},T),j))}),[c,j]);var D=function(e,n){var o,i;(null===(o=null==y?void 0:y.current)||void 0===o?void 0:o.closeMore)&&y.current.closeMore(),null==g||g(e,n,c),null===(i=h[n])||void 0===i||i.onClick(c,e)};return n.jsx("div",e.__assign({className:l.default({"uikit-conversation-actions":!0,className:M}),style:q,onClick:function(e){e.stopPropagation()}},{children:n.jsx(s.Plugins,{customClass:"uikit-conversation-actions__container",ref:y,plugins:P||Object.keys(h).map((function(o){return!1===h[o].enable?null:n.jsx("div",e.__assign({className:l.default("uikit-conversation-actions__item",["uikit-conversation-actions__item--".concat(o)]),onClick:function(e){return D(e,o)}},{children:h[o].label}),o)})),showNumber:0,MoreIcon:v||n.jsx(a.Icon,{className:"uikit-conversation-actions__popup-icon",width:16,height:16,type:r.IconTypes.MORE})})}))};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),s=require("react"),r=require("@tencentcloud/uikit-base-component-react"),a=require("@tencentcloud/chat-uikit-engine"),n=require("classnames"),o=require("../Icon/Icon.js"),i=require("../Icon/type.js"),c=require("./ConversationCreateButton.js"),u=require("./ConversationCreateUserSelectList.js"),C=require("./ConversationCreateGroupDetail.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p,v=l(n);exports.PageStateTypes=void 0,(p=exports.PageStateTypes||(exports.PageStateTypes={})).USER_SELECT="Next",p.CREATE_DETAIL="Create",p.GROUP_TYPE="GroupType",exports.ConversationCreate=function(n){var l=n.visible,p=void 0===l||l,S=n.className,E=n.style,T=n.onChangeCreateModelVisible,d=n.conversationList,x=void 0===d?[]:d,f=n.onBeforeCreateConversation,g=n.onConversationCreated,_=r.useUIKit().t,y=s.useState(!1),P=y[0],j=y[1],L=s.useState(!1),I=L[0],U=L[1],h=s.useState(exports.PageStateTypes.USER_SELECT),q=h[0],R=h[1],m=s.useState([]),b=m[0],A=m[1],k=function(e){j(!1),B(),a.TUIConversationService.switchConversation(e.conversationID),null==g||g(e)};s.useEffect((function(){T(P)}),[T,P]);var G=function(){if(I)switch(q){case exports.PageStateTypes.USER_SELECT:U(!1);break;case exports.PageStateTypes.CREATE_DETAIL:R(exports.PageStateTypes.USER_SELECT),A([]);break;case exports.PageStateTypes.GROUP_TYPE:R(exports.PageStateTypes.CREATE_DETAIL)}else j(!1),B()};function B(){U(!1),R(exports.PageStateTypes.USER_SELECT),A([])}return s.useMemo((function(){return p?t.jsxs("div",e.__assign({className:v.default("uikit-conversation-create-container",S),style:E},{children:[!P&&t.jsx(c.ConversationCreateButton,{onClick:function(){return j(!0)}}),P&&t.jsxs("div",e.__assign({className:"tui-conversation-create"},{children:[t.jsxs("div",e.__assign({className:"tui-conversation-create-header"},{children:[t.jsx(o.Icon,{onClick:G,type:i.IconTypes.BACK,width:9,height:16}),t.jsx("div",e.__assign({className:"title"},{children:_(I?"TUIConversation.Add Participants":"TUIConversation.Start chat")}))]})),q===exports.PageStateTypes.USER_SELECT?t.jsx(u.ConversationCreateUserSelectList,{isCreateGroup:I,setIsCreateGroup:U,selectList:b,setSelectList:A,conversationList:x,onBeforeCreateConversation:f,onConversationCreated:k,setPageState:R}):t.jsx(C.ConversationCreateGroupDetail,{pageState:q,setPageState:R,profileList:b.map((function(e){return null==e?void 0:e.profile})),onBeforeCreateConversation:f,onConversationCreated:k})]}))]})):null}),[p,S,P,I,q,b,x,f])};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("classnames"),r=require("../Icon/Icon.js"),n=require("../Icon/type.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(i);exports.ConversationCreateButton=function(i){var o=i.visible,u=void 0===o||o,a=i.className,c=i.onClick,l=i.height,d=void 0===l?24:l,v=i.width,f=void 0===v?24:v;return u?t.jsx("div",e.__assign({className:s.default("tui-conversation-create-button",a)},{children:t.jsx(r.Icon,{onClick:c,type:n.IconTypes.CREATE,height:d,width:f})})):null};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("react"),a=require("@tencentcloud/uikit-base-component-react"),n=require("../Input/Input.js"),s=require("../Icon/Icon.js"),i=require("../Icon/type.js"),o=require("../Toast/index.js"),u=require("../Avatar/Avatar.js"),c=require("../Avatar/default.js"),p=require("./ConversationCreate.js"),l=require("./ConversationGroupTypeInfo.js"),d=require("../../store/UIManagerStore.js"),v=require("../../hooks/useConversation.js");exports.ConversationCreateGroupDetail=function(g){var f=this,m=g.profileList,_=g.pageState,x=g.setPageState,h=g.onBeforeCreateConversation,j=g.onConversationCreated,I=a.useUIKit().t,C=d.useUIManagerStore().myProfile,y=e.__spreadArray([],m,!0);C&&y.unshift(C);var T=y.map((function(e){return e.nick||e.userID})).toString(),G=t.useState(T.length>=15?"".concat(T.slice(0,12),"..."):T),b=G[0],N=G[1],q=t.useState(""),k=q[0],A=q[1],P=t.useState(l.GroupType.Work),U=P[0],S=P[1],D=function(e,r){var t=e.target.value;switch(r){case"name":N(t);break;case"id":A(t);break;case"type":S(t)}},R=function(){x(p.PageStateTypes.GROUP_TYPE)};return _!==p.PageStateTypes.GROUP_TYPE?r.jsxs(r.Fragment,{children:[r.jsxs("div",e.__assign({className:"tui-conversation-create-group-detail"},{children:[r.jsx("div",e.__assign({className:"create-group-box create-group-name"},{children:r.jsx(n.Input,{maxLength:15,value:b,onChange:function(e){D(e,"name")},border:"bottom",inputClassName:"input-group-name",clearable:!0,prefix:r.jsx("div",e.__assign({className:"input-group-title"},{children:I("TUIConversation.Group Name")}))})})),r.jsx("div",e.__assign({className:"create-group-box create-group-id"},{children:r.jsx(n.Input,{border:"bottom",inputClassName:"input-group-text",clearable:!0,value:k,onChange:function(e){D(e,"id")},prefix:r.jsx("div",e.__assign({className:"input-group-title"},{children:I("TUIConversation.Group ID")}))})})),r.jsx("div",e.__assign({className:"create-group-box create-group-type",onClick:R},{children:r.jsx(n.Input,{readOnly:!0,border:"bottom",inputClassName:"input-group-text",prefix:r.jsx("div",e.__assign({className:"input-group-title"},{children:I("TUIConversation.Group Type")})),suffix:r.jsx(s.Icon,{onClick:R,type:i.IconTypes.ARROW_RIGHT,width:7,height:12}),value:I("TUIConversation.".concat(U)),onChange:function(e){D(e,"type")}})})),r.jsx("div",e.__assign({className:"create-group-illustrate"},{children:I("TUIConversation.".concat(null===l.typeInfoList||void 0===l.typeInfoList?void 0:l.typeInfoList.find((function(e){return e.type===U})).des))})),r.jsxs("div",e.__assign({className:"create-group-portrait"},{children:[r.jsx("div",e.__assign({className:"create-group-portrait-title"},{children:I("TUIConversation.Participants")})),r.jsx("div",e.__assign({className:"create-group-portrait-info-container"},{children:m.map((function(t){var a=t.avatar,n=t.userID,s=t.nick;return r.jsxs("div",e.__assign({className:"create-group-portrait-info"},{children:[r.jsx(u.Avatar,{shape:"square",size:50,image:a||c.defaultUserAvatar}),r.jsx("div",e.__assign({className:"create-group-portrait-info-nick"},{children:s}))]}),n)}))}))]}))]})),r.jsx("div",e.__assign({className:"tui-conversation-create-next-container"},{children:r.jsx("div",e.__assign({role:"presentation",className:"tui-conversation-create-next",onClick:function(){return e.__awaiter(f,void 0,void 0,(function(){var r,t,a,n;return e.__generator(this,(function(e){return r=m.map((function(e){return{userID:e.userID}})),t=function(e){switch(e){case l.GroupType.Work:return c.defaultGroupAvatarWork;case l.GroupType.Public:return c.defaultGroupAvatarPublic;case l.GroupType.Meeting:return c.defaultGroupAvatarMeeting;case l.GroupType.AVChatRoom:return c.defaultGroupAvatarAVChatRoom;default:return""}}(U),a={name:b,type:U,groupID:k,avatar:t,memberList:r},n=(null==h?void 0:h(a))||a,v.createGroupConversation(n).then((function(e){null==j||j(e)})).catch((function(e){o.Toast({text:e.message,type:"error"})})),[2]}))}))}},{children:I("TUIConversation.Create")}))}))]}):r.jsx(l.ConversationGroupTypeInfo,{groupType:U,setGroupType:S,setPageState:x})};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),i=require("../Avatar/Avatar.js"),r=require("../Avatar/default.js"),t=require("../Icon/Icon.js"),a=require("../Icon/type.js");exports.ConversationCreateSelectView=function(c){var n=c.selectList,o=c.setSelectList;return s.jsx("div",e.__assign({className:"conversation-create-select-view"},{children:n.map((function(c,l){var u=c.profile,v=c.domList,d=u.nick,f=u.userID,j=u.avatar;return s.jsxs("div",e.__assign({className:"select-view-info"},{children:[s.jsx(t.Icon,{height:12,width:12,type:a.IconTypes.CLOSE,className:"select-view-info-close",onClick:function(){!function(s,i){s.forEach((function(e){e.checked=!1})),n.splice(i,1),o(e.__spreadArray([],n,!0))}(v,l)}}),s.jsx(i.Avatar,{image:j||r.defaultUserAvatar,size:40}),s.jsx("div",e.__assign({className:"select-view-info-nick"},{children:d||f}))]}),f)}))}))};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),n=require("@tencentcloud/uikit-base-component-react"),s=require("../Input/Input.js"),a=require("../Icon/Icon.js"),i=require("../Icon/type.js"),c=require("./ConversationCreateSelectView.js"),o=require("../Avatar/Avatar.js"),u=require("../Avatar/default.js"),l=require("./hooks/useConversationCreate.js"),v=require("../../hooks/useConversation.js"),d=require("../../store/UIManagerStore.js"),h=require("./ConversationCreate.js"),p=require("../Toast/index.js");exports.ConversationCreateUserSelectList=function(C){var _=this,f=C.isCreateGroup,g=C.selectList,x=C.setSelectList,j=C.className,m=C.conversationList,I=C.setIsCreateGroup,N=C.setPageState,k=C.onBeforeCreateConversation,q=C.onConversationCreated,S=n.useUIKit().t,y=r.useState(""),b=y[0],T=y[1];d.useUIManagerStore().chat;var A=r.useState({}),L=A[0],U=A[1],w=l.useConversationCreate(m,(function(e){U(e)})).getFriendListSortSearchResult,D=r.useRef(new Map),E=function(t){return e.__awaiter(_,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){return f||(r=t.userID,null==k||k(r),v.createC2CConversation(r).then((function(e){null==q||q(e)})).catch((function(e){p.Toast({text:e.message,type:"error"})}))),[2]}))}))};return t.jsxs(t.Fragment,{children:[t.jsx(s.Input,{className:"tui-conversation-create-search-input",placeholder:S("TUIConversation.Search"),clearable:!0,value:b,onChange:function(t){return e.__awaiter(_,void 0,void 0,(function(){var r,n;return e.__generator(this,(function(e){switch(e.label){case 0:return r=t.target.value,T(r),n=U,[4,w(r)];case 1:return n.apply(void 0,[e.sent()]),[2]}}))}))},prefix:t.jsx(a.Icon,{type:i.IconTypes.SEARCH,height:16,width:16})}),f&&t.jsx(c.ConversationCreateSelectView,{selectList:g,setSelectList:x}),!f&&t.jsxs("div",e.__assign({role:"presentation",className:"tui-user",onClick:function(){I(!0),D.current.clear(),x([])}},{children:[t.jsx(a.Icon,{type:i.IconTypes.ADD}),t.jsx("div",e.__assign({className:"tui-user-name active"},{children:S("TUIConversation.New group chat")}))]})),t.jsx("div",e.__assign({className:"tui-conversation-create-select-list-container ".concat(j)},{children:t.jsx("div",e.__assign({className:"tui-conversation-create-select-list"},{children:t.jsx("div",e.__assign({className:"tui-group-container"},{children:Object.keys(L).map((function(r){return 0!==L[r].length&&t.jsxs("div",e.__assign({className:"tui-group-box"},{children:[t.jsx("div",e.__assign({className:"title"},{children:r})),L[r].map((function(n,s){var a=n.userID,i=n.nick,c=n.avatar;return t.jsxs("label",e.__assign({role:"presentation",className:"tui-user tui-user-checkbox-label",htmlFor:"userChecked-".concat(r,"-").concat(a),onClick:function(){E(n)}},{children:[t.jsx(o.Avatar,{size:30,image:c||u.defaultUserAvatar}),t.jsx("div",e.__assign({className:"tui-user-name text-ellipsis"},{children:i||"".concat(a)})),f&&t.jsx("input",{onChange:function(t){!function(t,r,n){void 0===n&&(n=[]);var s=r.userID,a=t.target.checked;n.forEach((function(e){e.checked=a})),a?g.push({profile:r,domList:n}):g.splice(g.findIndex((function(e){return e.profile.userID===s})),1),x(e.__spreadArray([],g,!0))}(t,n,D.current.get(a))},type:"checkbox",ref:function(e){!function(e,t){if(t){D.current.has(e)||D.current.set(e,[]);var r=D.current.get(e);0!==r.length&&r.some((function(e){return e.id===t.id}))||r.push(t)}}(a,e)},id:"userChecked-".concat(r,"-").concat(a),className:"tui-user-checkbox"})]}),a)}))]}),r)}))}))}))})),f&&t.jsx("div",e.__assign({className:"tui-conversation-create-next-container"},{children:t.jsx("div",e.__assign({role:"presentation",className:"tui-conversation-create-next",onClick:function(){g&&0===g.length?p.Toast({text:S("TUIConversation.Participant cannot be empty"),type:"error"}):N(h.PageStateTypes.CREATE_DETAIL)}},{children:S("TUIConversation.Next")}))}))]})};
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("tslib"),o=require("react/jsx-runtime"),n=require("@tencentcloud/uikit-base-component-react"),r=require("@tencentcloud/chat-uikit-engine"),i=require("./ConversationCreate.js"),a=require("../Icon/Icon.js"),s=require("../Icon/type.js");exports.GroupType=void 0,(e=exports.GroupType||(exports.GroupType={}))[e.Work=r.TUIChatEngine.TYPES.GRP_WORK]="Work",e[e.Public=r.TUIChatEngine.TYPES.GRP_PUBLIC]="Public",e[e.Meeting=r.TUIChatEngine.TYPES.GRP_MEETING]="Meeting",e[e.AVChatRoom=r.TUIChatEngine.TYPES.GRP_AVCHATROOM]="AVChatRoom",e[e.Community=r.TUIChatEngine.TYPES.GRP_COMMUNITY]="Community";var p=[{type:exports.GroupType.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:exports.GroupType.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:exports.GroupType.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:exports.GroupType.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:exports.GroupType.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."}];exports.ConversationGroupTypeInfo=function(e){var r=e.groupType,u=e.setGroupType,c=e.setPageState,d=n.useUIKit().t;return o.jsxs("div",t.__assign({className:"tui-conversation-group-type-info"},{children:[p.map((function(e){var n=e.type,p=e.name,g=e.des;return o.jsxs("div",t.__assign({role:"presentation",className:"group-type-info-box ".concat(n===r?"group-type-info-box--active":""," "),onClick:function(){!function(e){u(e),c(i.PageStateTypes.CREATE_DETAIL)}(n)}},{children:[o.jsxs("div",t.__assign({className:"group-type-info-title"},{children:[n===r&&o.jsx(a.Icon,{className:"box-active-icon",type:s.IconTypes.RIGHT,width:16,height:16}),d("TUIConversation.".concat(p))]})),o.jsx("div",t.__assign({className:"group-type-info-description"},{children:d("TUIConversation.".concat(g))}))]}),n)})),o.jsx("a",t.__assign({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")}))]}))},exports.typeInfoList=p;
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react"),t=require("@tencentcloud/chat-uikit-engine"),n=require("@tencentcloud/chat"),i=require("../static/word.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(n);exports.useConversationCreate=function(n,o){var c=r.useState(),a=c[0],s=c[1],f=function(e){var r=e.trim(),t=r.charCodeAt(0);return t>40869||t<19968?r.charAt(0):i.strChineseFirstPy.charAt(t-19968)},l=function(r){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){return n.filter((function(e){return(null==e?void 0:e.type)===u.default.TYPES.CONV_C2C})).slice(0,5).map((function(e){return null==e?void 0:e.userProfile})),t=d(null==r?void 0:r.map((function(e){return e.profile}))),s(t),o&&o(t,s),[2]}))}))};function d(e,r){for(var t={"#":[]},n=65;n<=90;n+=1)t[String.fromCharCode(n)]=[];return null==e||e.forEach((function(e){var r=e.nick,n=e.userID,i=f(r||n);i>="a"&&i<="z"?t[i.toLocaleUpperCase()].push(e):i<"A"||i>"z"?t["#"].push(e):t[i].push(e)})),Object.keys(t).forEach((function(e){t[e].sort((function(e,r){var t=e.nick,n=e.userID,i=r.nick,o=r.userID;return t||n<=i||o?1:-1}))})),t}function v(e){l(e)}return r.useEffect((function(){return t.TUIStore.watch(t.StoreName.FRIEND,{friendList:v}),function(){t.TUIStore.unwatch(t.StoreName.FRIEND,{friendList:v})}}),[]),{getFirstLetter:f,queryFriendList:l,getFriendListSortSearchResult:function(r){return e.__awaiter(void 0,void 0,void 0,(function(){var n,i,o,u;return e.__generator(this,(function(e){switch(e.label){case 0:return r?[4,t.TUIUserService.getUserProfile({userIDList:[r]})]:[2,a];case 1:return n=e.sent().data,i={},o=!1,Object.keys(a).forEach((function(e){i[e]=a[e].filter((function(e){var t,n,i=e.nick,u=e.userID,c=null==i?void 0:i.toLocaleLowerCase(),a=r.toLocaleLowerCase(),s=u.toLocaleLowerCase();return n="TencentCloudDemo"===(null===(t=process.env)||void 0===t?void 0:t.REACT_APP_ONLINE)?c?c.includes(a):s.includes(a):s===a,o=o||n,n}))})),"TencentCloudDemo"===(null===(u=process.env)||void 0===u?void 0:u.REACT_APP_ONLINE)?[2,i]:[2,o?i:d(n)]}}))}))},friendListSortResult:a}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.strChineseFirstPy="YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQL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WRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY";
|
|
@@ -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
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),o=require("react"),i=require("../../context/ConversationListContext.js"),t=require("./ConversationListHeader/ConversationListHeader.js"),n=require("./ConversationListContent/ConversationListContent.js");require("@tencentcloud/uikit-base-component-react"),require("../Icon/config.js"),require("../Icon/type.js");var s=require("classnames"),a=require("../ConversationPreview/ConversationPreview.js"),v=require("../Avatar/Avatar.js"),c=require("../PlaceHolder/index.js"),l=require("../ConversationSearch/ConversationSearch.js"),d=require("../ConversationCreate/ConversationCreate.js");require("../ConversationCreate/ConversationGroupTypeInfo.js"),require("../../store/UIManagerStore.js"),require("@tencentcloud/chat-uikit-engine"),require("@tencentcloud/chat");var C=require("../ConversationActions/ConversationActions.js"),u=require("../../utils/env.js");function j(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=j(s);function L(s){var j=s.enableSearch,L=void 0===j||j,P=s.enableCreate,q=void 0===P||P,f=s.enableActions,p=void 0===f||f,x=s.actionsConfig,g=s.Header,A=void 0===g?t.ConversationListHeader:g,y=s.List,_=void 0===y?n.ConversationListContent:y,b=s.Preview,H=void 0===b?a.ConversationPreviewUI:b,S=s.ConversationCreate,m=void 0===S?d.ConversationCreate:S,w=s.ConversationSearch,I=void 0===w?l.ConversationSearch:w,N=s.ConversationActions,E=void 0===N?C.ConversationActions:N,O=s.PlaceholderEmptyList,k=void 0===O?r.jsx(c.PlaceHolder,{type:c.PlaceHolderTypes.NO_CONVERSATIONS}):O,T=s.PlaceholderLoading,G=void 0===T?r.jsx(c.PlaceHolder,{type:c.PlaceHolderTypes.LOADING}):T,M=s.PlaceholderLoadError,R=void 0===M?r.jsx(c.PlaceHolder,{type:c.PlaceHolderTypes.WRONG}):M,B=s.Avatar,D=void 0===B?v.Avatar:B,U=s.onSelectConversation,V=s.onBeforeCreateConversation,W=s.onConversationCreated,z=s.className,F=s.style,J=i.useConversationList(),K=J.conversationList,Q=J.filteredAndSortedConversationList,X=J.isLoading,Y=J.isLoadError,Z=o.useState(!1),$=Z[0],ee=Z[1];return r.jsxs("div",e.__assign({className:h.default(z,"uikit-chat-list",{"uikit-chat-list--mobile":u.isH5}),style:F},{children:[r.jsxs(A,{children:[r.jsx(I,{visible:L,conversationList:K,Avatar:D,ResultPreview:a.ConversationPreview}),r.jsx(m,{className:h.default({"uikit-chat-list__header--creating":$}),visible:q,onChangeCreateModelVisible:function(e){return ee(e)},onBeforeCreateConversation:V,onConversationCreated:W})]}),r.jsx(_,e.__assign({empty:0===Q.length,loading:X,error:Y,PlaceholderEmptyList:k,PlaceholderLoadError:R,PlaceholderLoading:G},{children:Q.map((function(e){return r.jsx(a.ConversationPreview,{conversation:e,enableActions:p,Preview:H,Avatar:D,ConversationActions:E,onSelectConversation:U,actionsConfig:x},e.conversationID)}))}))]}))}exports.ConversationList=function(o){return r.jsx(i.ConversationListProvider,e.__assign({filter:o.filter,sort:o.sort},{children:r.jsx(L,e.__assign({},o))}))};
|
package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.d.ts
DELETED
|
@@ -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 };
|
package/dist/cjs/components/ConversationList/ConversationListContent/ConversationListContent.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),l=require("classnames"),t=require("../../PlaceHolder/index.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(l);exports.ConversationListContent=function(l){var o,i=l.children,s=l.empty,d=void 0!==s&&s,c=l.loading,n=void 0!==c&&c,u=l.error,p=void 0!==u&&u,v=l.PlaceholderEmptyList,y=void 0===v?r.jsx(t.PlaceHolder,{type:t.PlaceHolderTypes.NO_CONVERSATIONS}):v,P=l.PlaceholderLoading,j=void 0===P?r.jsx(t.PlaceHolder,{type:t.PlaceHolderTypes.LOADING}):P,x=l.PlaceholderLoadError,f=void 0===x?r.jsx(t.PlaceHolder,{type:t.PlaceHolderTypes.WRONG}):x,H=l.className,N=l.style;return o=p?f:n?j:d?y:i,r.jsx("div",e.__assign({className:a.default("uikit-chat-list__container",H),style:N},{children:o}))};
|
package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.d.ts
DELETED
|
@@ -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 };
|
package/dist/cjs/components/ConversationList/ConversationListHeader/ConversationListHeader.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(require("classnames"));exports.ConversationListHeader=function(t){var r=t.children,a=t.left,l=t.right,n=t.className,c=t.style;return s.jsxs("div",e.__assign({className:i.default("uikit-chat-list__header",n),style:c},{children:[s.jsx("div",e.__assign({className:"uikit-chat-list__header__left"},{children:a})),r,s.jsx("div",e.__assign({className:"uikit-chat-list__header__right"},{children:l}))]}))};
|