@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
package/dist/esm/index.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export { Chat } from './components/Chat/Chat.js';
|
|
2
|
-
export { UIKitProvider, useUIKit } from './context/UIKitContext.js';
|
|
3
|
-
export { TUIChatStateContext, TUIChatStateContextProvider, TUIChatStateContextValue, useTUIChatStateContext } from './context/ChatStateContext.js';
|
|
4
|
-
export { TUIChatActionContext, TUIChatActionContextValue, TUIChatActionProvider, useTUIChatActionContext } from './context/ChatActionContext.js';
|
|
5
|
-
export { TUIMessageContext, TUIMessageContextProvider, TUIMessageContextValue, messageShowType, useTUIMessageContext } from './context/MessageContext.js';
|
|
6
|
-
export { ComponentContext, ComponentContextValue, ComponentProvider, UnknowPorps, useComponentContext } from './context/ComponentContext.js';
|
|
7
|
-
export { TUIMessageInputContext, TUIMessageInputContextProvider, TUIMessageInputContextValue, useTUIMessageInputContext } from './context/MessageInputContext.js';
|
|
8
|
-
export { TUIContactContext, TUIContactContextProvider, TUIContactContextValue, useTUIContactContext } from './context/ContactContext.js';
|
|
9
|
-
export { ConversationListContextType, ConversationListProvider, ConversationListProviderProps, useConversationList } from './context/ConversationListContext.js';
|
|
10
|
-
export { ConversationList, IConversationListProps } from './components/ConversationList/ConversationList.js';
|
|
11
|
-
export { ConversationListHeader, IConversationListHeaderProps } from './components/ConversationList/ConversationListHeader/ConversationListHeader.js';
|
|
12
|
-
export { ConversationListContent, IConversationListContentProps } from './components/ConversationList/ConversationListContent/ConversationListContent.js';
|
|
13
|
-
export { ConversationActions, IConversationActionItem, IConversationActionsConfig, IConversationActionsProps } from './components/ConversationActions/ConversationActions.js';
|
|
14
|
-
export { ConversationPreview, ConversationPreviewUI, IConversationPreviewProps, IConversationPreviewUIProps } from './components/ConversationPreview/ConversationPreview.js';
|
|
15
|
-
export { ConversationSearchInput, IConversationSearchInputProps } from './components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js';
|
|
16
|
-
export { ConversationSearchResult, IConversationSearchResultProps } from './components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js';
|
|
17
|
-
export { ConversationSearch, IConversationSearchProps, defaultSearchFn } from './components/ConversationSearch/ConversationSearch.js';
|
|
18
|
-
export { ConversationCreate, IConversationCreateProps, PageStateTypes } from './components/ConversationCreate/ConversationCreate.js';
|
|
19
|
-
export { ConversationCreateSelectView, ConversationCreateSelectViewProps } from './components/ConversationCreate/ConversationCreateSelectView.js';
|
|
20
|
-
export { ConversationCreateGroupDetail, ConversationCreateGroupDetailProps } from './components/ConversationCreate/ConversationCreateGroupDetail.js';
|
|
21
|
-
export { ConversationCreateUserSelectList, ConversationCreateUserSelectListProps } from './components/ConversationCreate/ConversationCreateUserSelectList.js';
|
|
22
|
-
export { useConversationCreate } from './components/ConversationCreate/hooks/useConversationCreate.js';
|
|
23
|
-
export { ConversationGroupTypeInfo, ConversationGroupTypeInfoProps, GroupType, typeInfoList } from './components/ConversationCreate/ConversationGroupTypeInfo.js';
|
|
24
|
-
export { ConversationCreateButton, IConversationCreateButtonProps } from './components/ConversationCreate/ConversationCreateButton.js';
|
|
25
|
-
export { ChatHeader } from './components/ChatHeader/ChatHeader.js';
|
|
26
|
-
export { ChatHeaderDefault, TUIChatHeaderBasicProps, TUIChatHeaderDefaultProps } from './components/ChatHeader/ChatHeaderDefault.js';
|
|
27
|
-
export { MessageList, MessageListProps } from './components/MessageList/MessageList.js';
|
|
28
|
-
export { TUIMessage, TUIMessageProps } from './components/MessageElement/Message.js';
|
|
29
|
-
export { MessagePluginConfigProps, MessagePlugins, MessagePluginsProps } from './components/MessageElement/MessagePlugins.js';
|
|
30
|
-
export { MessageContext, MessageContextProps } from './components/MessageElement/MessageContext.js';
|
|
31
|
-
export { MessageInput, PluginConfigProps, TUIMessageInputBasicProps, TUIMessageInputProps } from './components/MessageInput/MessageInput.js';
|
|
32
|
-
export { TUIMessageInputDefault } from './components/MessageInput/MessageInputDefault.js';
|
|
33
|
-
export { InputPluginsDefalut } from './components/MessageInput/InputPluginsDefalut.js';
|
|
34
|
-
export { Profile } from './components/Profile/Profile.js';
|
|
35
|
-
export { TUIProfileDefault, TUIProfileDefaultProps } from './components/Profile/ProfileDefault.js';
|
|
36
|
-
export { Avatar, AvatarProps } from './components/Avatar/Avatar.js';
|
|
37
|
-
export { defaultGroupAvatarAVChatRoom, defaultGroupAvatarMeeting, defaultGroupAvatarPublic, defaultGroupAvatarWork, defaultUserAvatar } from './components/Avatar/default.js';
|
|
38
|
-
export { ChatSetting } from './components/ChatSetting/ChatSetting.js';
|
|
39
|
-
export { Popup } from './components/Popup/index.js';
|
|
40
|
-
export { Checkbox } from './components/Checkbox/index.js';
|
|
41
|
-
export { DivWithEdit } from './components/DivWithEdit/DivWithEdit.js';
|
|
42
|
-
export { Icon, IconProps, changeTypeToIconClassName } from './components/Icon/Icon.js';
|
|
43
|
-
export { IconTypes } from './components/Icon/type.js';
|
|
44
|
-
export { PlaceHolder, PlaceHolderIconTypes, PlaceHolderProps, PlaceHolderStringTypes, PlaceHolderTypes } from './components/PlaceHolder/index.js';
|
|
45
|
-
export { EmptyStateIndicator, EmptyStateIndicatorProps } from './components/EmptyStateIndicator/EmptyStateIndicator.js';
|
|
46
|
-
export { Input, InputProps, InputRef } from './components/Input/Input.js';
|
|
47
|
-
export { Model } from './components/Model/index.js';
|
|
48
|
-
export { IPluginsRef, Plugins, PluginsProps } from './components/Plugins/index.js';
|
|
49
|
-
export { Switch } from './components/Switch/Switch.js';
|
|
50
|
-
export { Toast } from './components/Toast/index.js';
|
|
51
|
-
export { ContactList } from './components/Contact/ContactList/ContactList.js';
|
|
52
|
-
export { ContactInfo, UnMemoizedContactInfo } from './components/Contact/ContactInfo/ContactInfo.js';
|
|
53
|
-
export { Contact, UnMemoizedContact } from './components/Contact/Contact.js';
|
|
54
|
-
export { createC2CConversation, createGroupConversation } from './hooks/useConversation.js';
|
|
55
|
-
export { useProfile } from './hooks/useProfile.js';
|
|
56
|
-
export { isTouchEvent } from './hooks/useLongPress.js';
|
|
57
|
-
export { isH5, isPC, setPlatform } from './utils/env.js';
|
package/dist/esm/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./server.js";import"./components/Chat/index.js";export{ConversationList}from"./components/ConversationList/ConversationList.js";export{ConversationListHeader}from"./components/ConversationList/ConversationListHeader/ConversationListHeader.js";export{ConversationListContent}from"./components/ConversationList/ConversationListContent/ConversationListContent.js";export{ConversationActions}from"./components/ConversationActions/ConversationActions.js";export{ConversationPreview,ConversationPreviewUI}from"./components/ConversationPreview/ConversationPreview.js";export{ConversationSearchInput}from"./components/ConversationSearch/ConversationSearchInput/ConversationSearchInput.js";export{ConversationSearchResult}from"./components/ConversationSearch/ConversationSearchResult/ConversationSearchResult.js";export{ConversationSearch,defaultSearchFn}from"./components/ConversationSearch/ConversationSearch.js";export{ConversationCreate,PageStateTypes}from"./components/ConversationCreate/ConversationCreate.js";export{ConversationCreateSelectView}from"./components/ConversationCreate/ConversationCreateSelectView.js";export{ConversationCreateGroupDetail}from"./components/ConversationCreate/ConversationCreateGroupDetail.js";export{ConversationCreateUserSelectList}from"./components/ConversationCreate/ConversationCreateUserSelectList.js";export{useConversationCreate}from"./components/ConversationCreate/hooks/useConversationCreate.js";export{ConversationGroupTypeInfo,GroupType,typeInfoList}from"./components/ConversationCreate/ConversationGroupTypeInfo.js";export{ConversationCreateButton}from"./components/ConversationCreate/ConversationCreateButton.js";export{ChatHeader}from"./components/ChatHeader/ChatHeader.js";export{ChatHeaderDefault}from"./components/ChatHeader/ChatHeaderDefault.js";export{MessageList}from"./components/MessageList/MessageList.js";export{TUIMessage}from"./components/MessageElement/Message.js";export{MessagePlugins}from"./components/MessageElement/MessagePlugins.js";export{MessageContext}from"./components/MessageElement/MessageContext.js";export{MessageInput}from"./components/MessageInput/MessageInput.js";export{TUIMessageInputDefault}from"./components/MessageInput/MessageInputDefault.js";export{InputPluginsDefalut}from"./components/MessageInput/InputPluginsDefalut.js";export{Profile}from"./components/Profile/Profile.js";export{TUIProfileDefault}from"./components/Profile/ProfileDefault.js";export{Avatar}from"./components/Avatar/Avatar.js";export{defaultGroupAvatarAVChatRoom,defaultGroupAvatarMeeting,defaultGroupAvatarPublic,defaultGroupAvatarWork,defaultUserAvatar}from"./components/Avatar/default.js";export{ChatSetting}from"./components/ChatSetting/ChatSetting.js";export{Popup}from"./components/Popup/index.js";export{Checkbox}from"./components/Checkbox/index.js";export{DivWithEdit}from"./components/DivWithEdit/DivWithEdit.js";export{Icon,changeTypeToIconClassName}from"./components/Icon/Icon.js";export{IconTypes}from"./components/Icon/type.js";export{PlaceHolder,PlaceHolderIconTypes,PlaceHolderStringTypes,PlaceHolderTypes}from"./components/PlaceHolder/index.js";export{EmptyStateIndicator}from"./components/EmptyStateIndicator/EmptyStateIndicator.js";export{Input}from"./components/Input/Input.js";export{Model}from"./components/Model/index.js";export{Plugins}from"./components/Plugins/index.js";export{Switch}from"./components/Switch/Switch.js";export{Toast}from"./components/Toast/index.js";export{ContactList}from"./components/Contact/ContactList/ContactList.js";export{ContactInfo,UnMemoizedContactInfo}from"./components/Contact/ContactInfo/ContactInfo.js";export{Contact,UnMemoizedContact}from"./components/Contact/Contact.js";export{UIKitProvider,useUIKit}from"./context/UIKitContext.js";export{TUIChatStateContext,TUIChatStateContextProvider,useTUIChatStateContext}from"./context/ChatStateContext.js";export{TUIChatActionContext,TUIChatActionProvider,useTUIChatActionContext}from"./context/ChatActionContext.js";export{TUIMessageContext,TUIMessageContextProvider,messageShowType,useTUIMessageContext}from"./context/MessageContext.js";export{ComponentContext,ComponentProvider,useComponentContext}from"./context/ComponentContext.js";export{TUIMessageInputContext,TUIMessageInputContextProvider,useTUIMessageInputContext}from"./context/MessageInputContext.js";export{TUIContactContext,TUIContactContextProvider,useTUIContactContext}from"./context/ContactContext.js";export{ConversationListProvider,useConversationList}from"./context/ConversationListContext.js";import"./hooks/index.js";import"./locales/index.js";export{isH5,isPC,setPlatform}from"./utils/env.js";export{Chat}from"./components/Chat/Chat.js";export{createC2CConversation,createGroupConversation}from"./hooks/useConversation.js";export{useProfile}from"./hooks/useProfile.js";export{isTouchEvent}from"./hooks/useLongPress.js";new o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={TUIChat:"TUIChat",Recall:"Recall",Reference:"Reference",Forward:"Forward",Copy:"Copy",Delete:"Delete","Forward to":"Forward to","recalled a message":"recalled a message","Re-edit":"Re-edit",Resend:"Resend",You:"You ","Recent Chats":"Recent Chats","Frequently Contacted":"Frequently Contacted","No Result":"No Result","Search Result":"Search Result",Image:"Image",Video:"Video",File:"File","Enter a message":"Enter a message","No More":"No More","Error deleting message":"Error deleting message","The message recall exceeded the time limit (default 2 minutes)":"The message recall exceeded the time limit (default 2 minutes)","Error revoke Message":"Error revoke Message","Custom message":"Custom message"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Enter a userID":"Enter a userID","Enter the verification info":"Enter the verification info","Request to join":"Request to join",Requested:"Requested",Accept:"Accept",Refuse:"Refuse",Handled:"Handled",Friends:"Friends","Send Message":"Send Message",Signature:"Signature","New Contacts":"New Contacts","Blocked List":"Blocked List","Group List":"Group List","No Result":"No Result",ID:"ID",User:"User","Add Friend":"Add Friend",remark:"remark",block:"block","Delete friend":"Delete friend","waiting for verification":"waiting for verification","verification info":"verification info","Send application":"Send application",Agree:"Agree"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Start chat":"Start chat","New one-to-one chat":"New one-to-one chat","New group chat":"New group chat","Enter a user ID":"Enter a user ID",Delete:"Delete","Conversation Information":"Conversation Information",Pin:"Pin",Unpin:"Unpin",Mute:"Mute",Unmute:"Unmute",Search:"Search","Add Participants":"Add Participants","No conversation":"No conversation",Next:"Next","Group Name":"Group Name","Group ID":"Group ID","Group Type":"Group Type",Participants:"Participants",Create:"Create",Details:"Details",Work:"Work",Private:"Work",ChatRoom:"Meeting",Public:"Public",Meeting:"Meeting",AVChatRoom:"AVChatRoom",Community:"Community","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.":"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.","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.":"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.","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.":"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.","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.":"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.","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.":"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.","Participant cannot be empty":"Participant cannot be empty"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Personal information":"Personal information",Signature:"Signature",Gender:"Gender",Male:"Male",Female:"Female",AllowType:"Friend Request",NeedConfirm:"Anyone upon Request",AllowAny:"Allow any user to add you as friend",DenyAny:"Decline friend request from any user",Birthday:"Birthday",Unknow:"Not set"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i={"[TUIEmoji_Smile]":"[Smile]","[TUIEmoji_Expect]":"[Expect]","[TUIEmoji_Blink]":"[Blink]","[TUIEmoji_Guffaw]":"[Guffaw]","[TUIEmoji_KindSmile]":"[KindSmile]","[TUIEmoji_Haha]":"[Haha]","[TUIEmoji_Cheerful]":"[Cheerful]","[TUIEmoji_Speechless]":"[Speechless]","[TUIEmoji_Amazed]":"[Amazed]","[TUIEmoji_Sorrow]":"[Sorrow]","[TUIEmoji_Complacent]":"[Complacent]","[TUIEmoji_Silly]":"[Silly]","[TUIEmoji_Lustful]":"[Lustful]","[TUIEmoji_Giggle]":"[Giggle]","[TUIEmoji_Kiss]":"[Kiss]","[TUIEmoji_Wail]":"[Wail]","[TUIEmoji_TearsLaugh]":"[TearsLaugh]","[TUIEmoji_Trapped]":"[Trapped]","[TUIEmoji_Mask]":"[Mask]","[TUIEmoji_Fear]":"[Fear]","[TUIEmoji_BareTeeth]":"[BareTeeth]","[TUIEmoji_FlareUp]":"[FlareUp]","[TUIEmoji_Yawn]":"[Yawn]","[TUIEmoji_Tact]":"[Tact]","[TUIEmoji_Stareyes]":"[StarEyes]","[TUIEmoji_ShutUp]":"[ShutUp]","[TUIEmoji_Sigh]":"[Sigh]","[TUIEmoji_Hehe]":"[Hehe]","[TUIEmoji_Silent]":"[Silent]","[TUIEmoji_Surprised]":"[Surprised]","[TUIEmoji_Askance]":"[Askance]]","[TUIEmoji_Ok]":"[OK]","[TUIEmoji_Shit]":"[Shit]","[TUIEmoji_Monster]":"[Monster]","[TUIEmoji_Daemon]":"[Daemon]","[TUIEmoji_Rage]":"[Rage]","[TUIEmoji_Fool]":"[Fool]","[TUIEmoji_Pig]":"[Pig]","[TUIEmoji_Cow]":"[Cow]","[TUIEmoji_Ai]":"[AI]","[TUIEmoji_Skull]":"[Skull]","[TUIEmoji_Bombs]":"[Bombs]","[TUIEmoji_Coffee]":"[Coffee]","[TUIEmoji_Cake]":"[Cake]","[TUIEmoji_Beer]":"[Beer]","[TUIEmoji_Flower]":"[Flower]","[TUIEmoji_Watermelon]":"[Watermelon]","[TUIEmoji_Rich]":"[Rich]","[TUIEmoji_Heart]":"[Heart]","[TUIEmoji_Moon]":"[Moon]","[TUIEmoji_Sun]":"[Sun]","[TUIEmoji_Star]":"[Star]","[TUIEmoji_RedPacket]":"[RedPacket]","[TUIEmoji_Celebrate]":"[Celebrate]","[TUIEmoji_Bless]":"[Bless]","[TUIEmoji_Fortune]":"[Fortune]","[TUIEmoji_Convinced]":"[Convinced]","[TUIEmoji_Prohibit]":"[Prohibit]","[TUIEmoji_666]":"[666]","[TUIEmoji_857]":"[857]","[TUIEmoji_Knife]":"[Knife]","[TUIEmoji_Like]":"[Like]"};export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./TUIChat.js";import r from"./emoji.js";import t from"./TUIConversation.js";import m from"./TUIContact.js";import i from"./TUIProfile.js";var I={TUIChat:o,Emoji:r,TUIConversation:t,TUIContact:m,TUIProfile:i};export{I as message};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i18next as a}from"@tencentcloud/uikit-base-component-react";import{message as n}from"./en-US/index.js";import{message as t}from"./zh-CN/index.js";import{message as e}from"./ja-JP/index.js";import{message as s}from"./ko-KR/index.js";import{message as o}from"./zh-TW/index.js";for(var r={"en-US":{translation:n},"zh-CN":{translation:t},"ja-JP":{translation:e},"ko-KR":{translation:s},"zh-TW":{translation:o}},i=0,m=Object.entries(r);i<m.length;i++){var l=m[i],d=l[0],j=l[1];a.addResourceBundle(d,"translation",j.translation,!0,!1)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={Recall:"取り消す",Reference:"参照",Forward:"転送",Copy:"コピー",Delete:"削除","Forward to":"転送先","recalled a message":"メッセージを取り消しました","Re-edit":"再編集",Resend:"再送信",You:"あなた","Recent Chats":"最近のチャット","Frequently Contacted":"よく連絡する相手","No Result":"検索結果なし","Search Result":"検索結果",Image:"画像",Video:"ビデオ",File:"ファイル","Enter a message":"メッセージを入力してください","No More":"これ以上なし","Error deleting message":"メッセージの削除エラー","The message recall exceeded the time limit (default 2 minutes)":"メッセージの取り消しは制限時間を超過しました(デフォルトは2分)","Error revoke Message":"メッセージの取り消しエラー","Custom message":"カスタムメッセージ"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Enter a userID":"ユーザーIDを入力して、エンターで検索","Enter the verification info":"認証情報を記入してください","Request to join":"参加申請",Requested:"申請済み",Accept:"受け入れる",Refuse:"拒否",Handled:"処理済み",Friends:"私の友達","Send Message":"メッセージを送信",Signature:"個性的なサイン","Successful application, waiting for the administrator to agree to join the group application":"申請が成功し、管理者のグループ参加同意を待っています","New Contacts":"新しい連絡先","Blocked List":"ブロックリスト","Group List":"私のグループチャット","No Result":"検索結果なし",ID:"ID",User:"連絡先","Add Friend":"友達追加",remark:"備考",block:"ブロック","Delete friend":"友達削除","waiting for verification":"認証待ち","verification info":"認証情報","Send application":"申請を送信",Agree:"賛成"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Start chat":"チャットを開始","New one-to-one chat":"新しい一対一のチャットを開始","New group chat":"新しいグループチャットを開始",Delete:"チャットを削除",Pin:"チャットをトップに固定",Unpin:"トップ固定を解除",Mute:"ミュート",Unmute:"ミュート解除","Conversation Information":"チャット情報",Search:"検索","Add Participants":"グループチャットを作成","No conversation":"チャットなし",Next:"次へ","Group Name":"グループ名","Group ID":"グループID","Group Type":"グループタイプ",Participants:"参加者",Create:"作成",Details:"詳細",Work:"友達の仕事グループ(Work)",Private:"友達の仕事グループ(Work)",ChatRoom:"一時的な会議グループ(Meeting)",Public:"見知らぬ人の社交グループ(Public)",Meeting:"一時的な会議グループ(Meeting)",AVChatRoom:"ライブチャットルーム(AVChatroom)",Community:"コミュニティ(Community)","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.":"通常のWeChatグループのように、作成後はグループ内の友達のみが招待してグループに参加できます。招待は招待される側の同意やグループオーナーの承認が必要ありません。詳細はドキュメントを参照してください。","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.":"QQグループのように、作成後にグループオーナーがグループ管理者を指名できます。ユーザーはグループIDを検索してグループ参加申請を行い、グループオーナーまたは管理者の承認を得た後にグループに参加できます。詳細はドキュメントを参照してください。","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.":"グループ作成後、ユーザーは自由にグループに参加したり退出したりでき、グループ参加前のメッセージも閲覧できます。これは、音声およびビデオ会議やオンライン教育などの腾讯实时通信(TRTC)を統合するシナリオに適しています。詳細はドキュメントを参照してください。","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.":"グループ作成後、ユーザーは自由にグループに参加したり退出したりできますが、グループメンバー数に上限はありませんが、メッセージ履歴は保存されません。これはライブビデオ放送(LVB)と組み合わせて、画面上のコメントシナリオをサポートするために使用できます。詳細はドキュメントを参照してください。","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.":"作成後は自由に出入りでき、最大10万人をサポートし、歴史的メッセージの保存をサポートしています。ユーザーがグループIDを検索してグループ参加申請を行った後、管理者承認なしにグループに参加できます。詳細は製品ドキュメントを参照してください。","Participant cannot be empty":"参加者は空にできません"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Personal information":"個人情報",Signature:"個性署名",Gender:"性別",Male:"男",Female:"女",AllowType:"友達追加の認証方法",NeedConfirm:"認証が必要",AllowAny:"どのユーザーにも友達追加を許可",DenyAny:"どのユーザーにも友達追加を拒否",Birthday:"誕生日",Unknown:"未設定"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i={"[TUIEmoji_Smile]":"[微笑]","[TUIEmoji_Expect]":"[期待]","[TUIEmoji_Blink]":"[瞬き]","[TUIEmoji_Guffaw]":"[大笑]","[TUIEmoji_KindSmile]":"[親しみ]","[TUIEmoji_Haha]":"[笑い]","[TUIEmoji_Cheerful]":"[愉快]","[TUIEmoji_Speechless]":"[言葉無し]","[TUIEmoji_Amazed]":"[驚き]","[TUIEmoji_Sorrow]":"[悲しみ]","[TUIEmoji_Complacent]":"[満足]","[TUIEmoji_Silly]":"[ばか]","[TUIEmoji_Lustful]":"[欲望]","[TUIEmoji_Giggle]":"[笑い]","[TUIEmoji_Kiss]":"[キス]","[TUIEmoji_Wail]":"[泣き]","[TUIEmoji_TearsLaugh]":"[泣き笑い]","[TUIEmoji_Trapped]":"[困り]","[TUIEmoji_Mask]":"[マスク]","[TUIEmoji_Fear]":"[恐怖]","[TUIEmoji_BareTeeth]":"[歯見せ]","[TUIEmoji_FlareUp]":"[怒り]","[TUIEmoji_Yawn]":"[あくび]","[TUIEmoji_Tact]":"[機知]","[TUIEmoji_Stareyes]":"[星目]","[TUIEmoji_ShutUp]":"[黙れ]","[TUIEmoji_Sigh]":"[ため息]","[TUIEmoji_Hehe]":"[へへ]","[TUIEmoji_Silent]":"[沈黙]","[TUIEmoji_Surprised]":"[驚き]","[TUIEmoji_Askance]":"[白目]","[TUIEmoji_Ok]":"[OK]","[TUIEmoji_Shit]":"[便便]","[TUIEmoji_Monster]":"[モンスター]","[TUIEmoji_Daemon]":"[悪魔]","[TUIEmoji_Rage]":"[激怒]","[TUIEmoji_Fool]":"[バカ]","[TUIEmoji_Pig]":"[豚]","[TUIEmoji_Cow]":"[牛]","[TUIEmoji_Ai]":"[AI]","[TUIEmoji_Skull]":"[骸骨]","[TUIEmoji_Bombs]":"[爆弾]","[TUIEmoji_Coffee]":"[コーヒー]","[TUIEmoji_Cake]":"[ケーキ]","[TUIEmoji_Beer]":"[ビール]","[TUIEmoji_Flower]":"[花]","[TUIEmoji_Watermelon]":"[スイカ]","[TUIEmoji_Rich]":"[金持ち]","[TUIEmoji_Heart]":"[ハート]","[TUIEmoji_Moon]":"[月]","[TUIEmoji_Sun]":"[太陽]","[TUIEmoji_Star]":"[星]","[TUIEmoji_RedPacket]":"[紅包]","[TUIEmoji_Celebrate]":"[祝い]","[TUIEmoji_Bless]":"[祝福]","[TUIEmoji_Fortune]":"[幸運]","[TUIEmoji_Convinced]":"[納得]","[TUIEmoji_Prohibit]":"[禁止]","[TUIEmoji_666]":"[666]","[TUIEmoji_857]":"[857]","[TUIEmoji_Knife]":"[ナイフ]","[TUIEmoji_Like]":"[いいね]"};export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./TUIChat.js";import r from"./emoji.js";import t from"./TUIConversation.js";import m from"./TUIContact.js";import i from"./TUIProfile.js";var I={TUIChat:o,Emoji:r,TUIConversation:t,TUIContact:m,TUIProfile:i};export{I as message};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={Recall:"회수",Reference:"인용",Forward:"전송",Copy:"복사",Delete:"삭제","Forward to":"전송 대상","recalled a message":"메시지를 회수했습니다","Re-edit":"재편집",Resend:"재전송",You:"당신","Recent Chats":"대화","Frequently Contacted":"자주 연락하는 사람들","No Result":"검색 결과 없음","Search Result":"검색 결과",Image:"이미지",Video:"비디오",File:"파일","Enter a message":"메시지를 입력하세요","No More":"더 이상 없습니다","Error deleting message":"메시지 삭제에 실패했습니다","The message recall exceeded the time limit (default 2 minutes)":"메시지 회수 시간이 제한을 초과했습니다 (기본 2분)","Error revoke Message":"메시지 회수에 실패했습니다","Custom message":"사용자 정의 메시지"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Enter a userID":"사용자 ID를 입력하고 엔터로 검색","Enter the verification info":"확인 정보를 입력하세요","Request to join":"가입 신청",Requested:"신청됨",Accept:"수락",Refuse:"거절",Handled:"처리됨",Friends:"내 친구들","Send Message":"메시지 보내기",Signature:"개성 서명","Successful application, waiting for the administrator to agree to join the group application":"관리자 승인을 기다리는 중","New Contacts":"새 연락처","Blocked List":"블랙리스트","Group List":"내 그룹 채팅","No Result":"검색 결과 없음",ID:"ID",User:"연락처","Add Friend":"친구 추가",remark:"비고",block:"블랙리스트에 추가","Delete friend":"친구 삭제","waiting for verification":"확인 대기 중","verification info":"확인 정보","Send application":"신청 보내기",Agree:"동의"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Start chat":"채팅 시작","New one-to-one chat":"1:1 채팅 시작","New group chat":"그룹 채팅 시작",Delete:"채팅 삭제",Pin:"채팅 고정",Unpin:"채팅 고정 해제",Mute:"음소거",Unmute:"음소거 해제","Conversation Information":"채팅 정보",Search:"검색","Add Participants":"그룹 채팅 생성","No conversation":"채팅 없음",Next:"다음","Group Name":"그룹 이름","Group ID":"그룹 ID","Group Type":"그룹 유형",Participants:"멤버",Create:"생성",Details:"상세",Work:"친구 작업 그룹(Work)",Private:"친구 작업 그룹(Work)",ChatRoom:"임시 회의 그룹(Meeting)",Public:"낯선 사람 소셜 그룹(Public)",Meeting:"임시 회의 그룹(Meeting)",AVChatRoom:"라이브 방송 그룹(AVChatroom)",Community:"커뮤니티(Community)","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.":"일반 위챗 그룹과 유사하게, 생성 후에는 이미 그룹에 있는 친구의 초대로만 그룹 가입이 가능하며, 초대자는 수락하지 않아도 되고 그룹 소유자의 승인을 받지 않아도 됩니다. 자세한 내용은 문서를 참조하십시오.","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.":"QQ 그룹과 유사하게, 생성 후에는 그룹 소유자가 그룹 관리자를 지정할 수 있습니다. 사용자가 그룹 ID를 검색하여 가입 요청을 보내면, 그룹 소유자 또는 관리자의 승인을 받아야만 그룹에 가입할 수 있습니다. 자세한 내용은 문서를 참조하십시오.","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.":"그룹을 생성한 후에는 사용자가 그룹에 자유롭게 가입하고 탈퇴할 수 있으며, 가입하기 전에 보낸 메시지를 볼 수 있습니다. 이는 음성 및 비디오 회의, 온라인 교육 등 Tencent 실시간 통신(TRTC)과 통합되는 시나리오에 적합합니다. 자세한 내용은 문서를 참조하십시오.","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.":"그룹을 생성한 후에는 사용자가 그룹에 자유롭게 가입하고 탈퇴할 수 있으며, 그룹은 무제한의 멤버 수를 가질 수 있지만 메시지 역사를 저장하지는 않습니다. 이는 라이브 비디오 방송(LVB)과 결합하여 화면상 커멘트 시나리오를 지원하는 데 사용할 수 있습니다. 자세한 내용은 문서를 참조하십시오.","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.":"생성 후에는 자유롭게 입장하고 탈퇴할 수 있으며, 최대 100,000명을 지원하고, 메시지 역사를 저장하며, 사용자가 그룹 ID를 검색하여 그룹 신청을 시작한 후에는 관리자 승인 없이 그룹에 가입할 수 있습니다. 자세한 내용은 제품 문서를 참조하십시오.","Participant cannot be empty":"참여자는 비워둘 수 없습니다"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Personal information":"개인 정보",Signature:"개성 서명",Gender:"성별",Male:"남성",Female:"여성",AllowType:"친구 추가 인증 방법",NeedConfirm:"인증 필요",AllowAny:"모든 사용자에게 친구 추가를 허용",DenyAny:"모든 사용자에게 친구 추가를 거부",Birthday:"생일",Unknown:"미 설정"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i={"[TUIEmoji_Smile]":"[미소]","[TUIEmoji_Expect]":"[기대]","[TUIEmoji_Blink]":"[눈길림]","[TUIEmoji_Guffaw]":"[대소]","[TUIEmoji_KindSmile]":"[친절]","[TUIEmoji_Haha]":"[하하]","[TUIEmoji_Cheerful]":"[기쁨]","[TUIEmoji_Speechless]":"[무언]","[TUIEmoji_Amazed]":"[놀람]","[TUIEmoji_Sorrow]":"[슬픔]","[TUIEmoji_Complacent]":"[만족]","[TUIEmoji_Silly]":"[바보]","[TUIEmoji_Lustful]":"[욕망]","[TUIEmoji_Giggle]":"[kichigae]","[TUIEmoji_Kiss]":"[키스]","[TUIEmoji_Wail]":"[울음]","[TUIEmoji_TearsLaugh]":"[울먹임]","[TUIEmoji_Trapped]":"[갇힘]","[TUIEmoji_Mask]":"[마스크]","[TUIEmoji_Fear]":"[공포]","[TUIEmoji_BareTeeth]":"[이빨보임]","[TUIEmoji_FlareUp]":"[화남]","[TUIEmoji_Yawn]":"[하품]","[TUIEmoji_Tact]":"[기지]","[TUIEmoji_Stareyes]":"[별눈]","[TUIEmoji_ShutUp]":"[조용히]","[TUIEmoji_Sigh]":"[한숨]","[TUIEmoji_Hehe]":"[헤헤]","[TUIEmoji_Silent]":"[침묵]","[TUIEmoji_Surprised]":"[놀람]","[TUIEmoji_Askance]":"[백안]","[TUIEmoji_Ok]":"[OK]","[TUIEmoji_Shit]":"[똥]","[TUIEmoji_Monster]":"[몬스터]","[TUIEmoji_Daemon]":"[악마]","[TUIEmoji_Rage]":"[분노]","[TUIEmoji_Fool]":"[바보]","[TUIEmoji_Pig]":"[돼지]","[TUIEmoji_Cow]":"[소]","[TUIEmoji_Ai]":"[AI]","[TUIEmoji_Skull]":"[해골]","[TUIEmoji_Bombs]":"[폭탄]","[TUIEmoji_Coffee]":"[커피]","[TUIEmoji_Cake]":"[케이크]","[TUIEmoji_Beer]":"[맥주]","[TUIEmoji_Flower]":"[꽃]","[TUIEmoji_Watermelon]":"[수박]","[TUIEmoji_Rich]":"[부자]","[TUIEmoji_Heart]":"[사랑]","[TUIEmoji_Moon]":"[달]","[TUIEmoji_Sun]":"[태양]","[TUIEmoji_Star]":"[별]","[TUIEmoji_RedPacket]":"[레드패킷]","[TUIEmoji_Celebrate]":"[축하]","[TUIEmoji_Bless]":"[복]","[TUIEmoji_Fortune]":"[운]","[TUIEmoji_Convinced]":"[복종]","[TUIEmoji_Prohibit]":"[금지]","[TUIEmoji_666]":"[666]","[TUIEmoji_857]":"[857]","[TUIEmoji_Knife]":"[칼]","[TUIEmoji_Like]":"[좋아요]"};export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./TUIChat.js";import r from"./emoji.js";import t from"./TUIConversation.js";import m from"./TUIContact.js";import i from"./TUIProfile.js";var I={TUIChat:o,Emoji:r,TUIConversation:t,TUIContact:m,TUIProfile:i};export{I as message};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={Recall:"撤回",Reference:"引用",Forward:"转发",Copy:"复制",Delete:"删除","Forward to":"转发给","recalled a message":"撤回了一条消息","Re-edit":"重新编辑",Resend:"重新发送",You:"您","Recent Chats":"会话","Frequently Contacted":"最近的会话","No Result":"无搜索结果","Search Result":"搜索结果",Image:"图片",Video:"视频",File:"文件","Enter a message":"请输入消息","No More":"没有更多","Error deleting message":"消息删除失败","The message recall exceeded the time limit (default 2 minutes)":"消息已超过 2 分钟","Error revoke Message":"消息撤回失败","Custom message":"自定义消息"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Enter a userID":"请输入用户 ID,回车搜索","Enter the verification info":"请填写验证信息","Request to join":"申请加入",Requested:"已申请",Accept:"接受",Refuse:"拒绝",Handled:"已处理",Friends:"我的好友","Send Message":"发送消息",Signature:"个性签名","Successful application, waiting for the administrator to agree to join the group application":"等待管理员同意","New Contacts":"新的联系人","Blocked List":"黑名单","Group List":"我的群聊","No Result":"无搜索结果",ID:"ID",User:"联系人","Add Friend":"添加好友",remark:"备注",block:"加入黑名单","Delete friend":"删除好友","waiting for verification":"等待验证","verification info":"验证信息","Send application":"发送申请",Agree:"同意"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Start chat":"发起会话","New one-to-one chat":"发起单聊","New group chat":"发起群聊",Delete:"删除会话",Pin:"置顶会话",Unpin:"取消置顶",Mute:"消息免打扰",Unmute:"取消免打扰","Conversation Information":"会话信息",Search:"搜索","Add Participants":"创建群聊","No conversation":"无会话",Next:"下一步","Group Name":"群名称","Group ID":"群 ID","Group Type":"群类型",Participants:"成员",Create:"创建",Details:"详情",Work:"好友工作群(Work)",Private:"好友工作群(Work)",ChatRoom:"临时会议群(Meeting)",Public:"陌生人社交群(Public)",Meeting:"临时会议群(Meeting)",AVChatRoom:"直播群(AVChatroom)",Community:"社群(Community)","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.":"类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主同意。","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.":"类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。","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.":"创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。","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.":"创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。","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.":"创建后可以随意进出,最多支持100000人,支持历史消息存储,用户搜索群 ID 发起加群申请后,无需管理员审批即可进群。","Participant cannot be empty":"不能为空"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Personal information":"个人信息",Signature:"个性签名",Gender:"性别",Male:"男",Female:"女",AllowType:"加好友验证方式",NeedConfirm:"需要验证",AllowAny:"同意任何用户加好友",DenyAny:"拒绝任何用户加好友",Birthday:"生日",Unknown:"未设置"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i={"[TUIEmoji_Smile]":"[微笑]","[TUIEmoji_Expect]":"[期待]","[TUIEmoji_Blink]":"[眨眼]","[TUIEmoji_Guffaw]":"[大笑]","[TUIEmoji_KindSmile]":"[姨母笑]","[TUIEmoji_Haha]":"[哈哈哈]","[TUIEmoji_Cheerful]":"[愉快]","[TUIEmoji_Speechless]":"[无语]","[TUIEmoji_Amazed]":"[惊讶]","[TUIEmoji_Sorrow]":"[悲伤]","[TUIEmoji_Complacent]":"[得意]","[TUIEmoji_Silly]":"[傻了]","[TUIEmoji_Lustful]":"[色]","[TUIEmoji_Giggle]":"[憨笑]","[TUIEmoji_Kiss]":"[亲亲]","[TUIEmoji_Wail]":"[大哭]","[TUIEmoji_TearsLaugh]":"[哭笑]","[TUIEmoji_Trapped]":"[困]","[TUIEmoji_Mask]":"[口罩]","[TUIEmoji_Fear]":"[恐惧]","[TUIEmoji_BareTeeth]":"[龇牙]","[TUIEmoji_FlareUp]":"[发怒]","[TUIEmoji_Yawn]":"[打哈欠]","[TUIEmoji_Tact]":"[机智]","[TUIEmoji_Stareyes]":"[星星眼]","[TUIEmoji_ShutUp]":"[闭嘴]","[TUIEmoji_Sigh]":"[叹气]","[TUIEmoji_Hehe]":"[呵呵]","[TUIEmoji_Silent]":"[收声]","[TUIEmoji_Surprised]":"[惊喜]","[TUIEmoji_Askance]":"[白眼]","[TUIEmoji_Ok]":"[OK]","[TUIEmoji_Shit]":"[便便]","[TUIEmoji_Monster]":"[怪兽]","[TUIEmoji_Daemon]":"[恶魔]","[TUIEmoji_Rage]":"[恶魔怒]","[TUIEmoji_Fool]":"[衰]","[TUIEmoji_Pig]":"[猪]","[TUIEmoji_Cow]":"[牛]","[TUIEmoji_Ai]":"[AI]","[TUIEmoji_Skull]":"[骷髅]","[TUIEmoji_Bombs]":"[炸弹]","[TUIEmoji_Coffee]":"[咖啡]","[TUIEmoji_Cake]":"[蛋糕]","[TUIEmoji_Beer]":"[啤酒]","[TUIEmoji_Flower]":"[花]","[TUIEmoji_Watermelon]":"[瓜]","[TUIEmoji_Rich]":"[壕]","[TUIEmoji_Heart]":"[爱心]","[TUIEmoji_Moon]":"[月亮]","[TUIEmoji_Sun]":"[太阳]","[TUIEmoji_Star]":"[星星]","[TUIEmoji_RedPacket]":"[红包]","[TUIEmoji_Celebrate]":"[庆祝]","[TUIEmoji_Bless]":"[福]","[TUIEmoji_Fortune]":"[发]","[TUIEmoji_Convinced]":"[服]","[TUIEmoji_Prohibit]":"[禁]","[TUIEmoji_666]":"[666]","[TUIEmoji_857]":"[857]","[TUIEmoji_Knife]":"[刀]","[TUIEmoji_Like]":"[赞]"};export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./TUIChat.js";import r from"./emoji.js";import t from"./TUIConversation.js";import m from"./TUIContact.js";import i from"./TUIProfile.js";var I={TUIChat:o,Emoji:r,TUIConversation:t,TUIContact:m,TUIProfile:i};export{I as message};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={Recall:"撤回",Reference:"引用",Forward:"轉發",Copy:"複製",Delete:"刪除","Forward to":"轉發給","recalled a message":"撤回了一條消息","Re-edit":"重新編輯",Resend:"重新發送",You:"您","Recent Chats":"會話紀錄","Frequently Contacted":"頻繁聯繫","No Result":"無結果","Search Result":"搜尋結果",Image:"圖片",Video:"影片",File:"檔案","Enter a message":"請輸入訊息","No More":"沒有了","Error deleting message":"刪除訊息失敗","The message recall exceeded the time limit (default 2 minutes)":"訊息撤回超時(預設 2 分鐘)","Error revoke Message":"訊息撤回失敗","Custom message":"自訂訊息"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Enter a userID":"請輸入用戶 ID,回車搜索","Enter the verification info":"請填寫驗證信息","Request to join":"申請加入",Requested:"已申請",Accept:"接受",Refuse:"拒絕",Handled:"已處理",Friends:"我的好友","Send Message":"發送消息",Signature:"個性簽名","Successful application, waiting for the administrator to agree to join the group application":"等待管理員同意","New Contacts":"新的聯繫人","Blocked List":"黑名單","Group List":"我的群聊","No Result":"無搜索結果",ID:"ID",User:"聯繫人","Add Friend":"添加好友",remark:"備註",block:"加入黑名單","Delete friend":"刪除好友","waiting for verification":"等待驗證","verification info":"驗證信息","Send application":"發送申請",Agree:"同意"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Start chat":"發起會話","New one-to-one chat":"發起單聊","New group chat":"發起群聊",Delete:"刪除會話",Pin:"置頂會話",Unpin:"取消置頂",Mute:"訊息免幹擾",Unmute:"取消免幹擾","Conversation Information":"會話資訊",Search:"搜尋","Add Participants":"創建群聊","No conversation":"無會話",Next:"下一步","Group Name":"群組名稱","Group ID":"群組 ID","Group Type":"群組類型",Participants:"成員",Create:"創建",Details:"詳情",Work:"好友工作群(Work)",Private:"好友工作群(Work)",ChatRoom:"臨時會議群(Meeting)",Public:"陌生人社交群(Public)",Meeting:"臨時會議群(Meeting)",AVChatRoom:"直播群(AVChatroom)",Community:"社群(Community)","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.":"類似普通微信群,創建後僅支持已在群內的好友邀請加群,且無需被邀請方同意或群主同意。","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基礎設施。See the documentation for details.":"類似 QQ 群,創建後群主可以指定群管理員,用戶搜索群 ID 發起加群申請後,需要群主或管理員審批通過才能入群。","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.":"創建後可以隨意進出,且支持查看入群前消息;適合用於音視頻會議場景、在線教育場景等與即時音視頻產品結合的場景。","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.":"創建後可以隨意進出,沒有群成員數量上限,但不支持歷史消息存儲;適合與直播產品結合,用於彈幕聊天場景。","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.":"創建後可以隨意進出,最多支持100000人,支持歷史消息存儲,用戶搜索群 ID 發起加群申請後,無需管理員審批即可進群。","Participant cannot be empty":"不能為空"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={"Personal information":"個人信息",Signature:"個性簽名",Gender:"性別",Male:"男",Female:"女",AllowType:"加好友驗證方式",NeedConfirm:"需要驗證",AllowAny:"同意任何用戶加好友",DenyAny:"拒絕任何用戶加「好友」",Birthday:"生日",Unknown:"未設置"};export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i={"[TUIEmoji_Smile]":"[微笑]","[TUIEmoji_Expect]":"[期待]","[TUIEmoji_Blink]":"[眨眼]","[TUIEmoji_Guffaw]":"[大笑]","[TUIEmoji_KindSmile]":"[姨母笑]","[TUIEmoji_Haha]":"[哈哈哈]","[TUIEmoji_Cheerful]":"[愉快]","[TUIEmoji_Speechless]":"[無語]","[TUIEmoji_Amazed]":"[驚訝]","[TUIEmoji_Sorrow]":"[悲傷]","[TUIEmoji_Complacent]":"[得意]","[TUIEmoji_Silly]":"[傻了]","[TUIEmoji_Lustful]":"[色]","[TUIEmoji_Giggle]":"[憨笑]","[TUIEmoji_Kiss]":"[親親]","[TUIEmoji_Wail]":"[大哭]","[TUIEmoji_TearsLaugh]":"[哭笑]","[TUIEmoji_Trapped]":"[困]","[TUIEmoji_Mask]":"[口罩]","[TUIEmoji_Fear]":"[恐懼]","[TUIEmoji_BareTeeth]":"[齜牙]","[TUIEmoji_FlareUp]":"[發怒]","[TUIEmoji_Yawn]":"[打哈欠]","[TUIEmoji_Tact]":"[機智]","[TUIEmoji_Stareyes]":"[星星眼]","[TUIEmoji_ShutUp]":"[閉嘴]","[TUIEmoji_Sigh]":"[嘆氣]","[TUIEmoji_Hehe]":"[呵呵]","[TUIEmoji_Silent]":"[收聲]","[TUIEmoji_Surprised]":"[驚喜]","[TUIEmoji_Askance]":"[白眼]","[TUIEmoji_Ok]":"[OK]","[TUIEmoji_Shit]":"[便便]","[TUIEmoji_Monster]":"[怪獸]","[TUIEmoji_Daemon]":"[惡魔]","[TUIEmoji_Rage]":"[惡魔怒]","[TUIEmoji_Fool]":"[衰]","[TUIEmoji_Pig]":"[豬]","[TUIEmoji_Cow]":"[牛]","[TUIEmoji_Ai]":"[AI]","[TUIEmoji_Skull]":"[骷髏]","[TUIEmoji_Bombs]":"[炸彈]","[TUIEmoji_Coffee]":"[咖啡]","[TUIEmoji_Cake]":"[蛋糕]","[TUIEmoji_Flower]":"[花]","[TUIEmoji_Watermelon]":"[瓜]","[TUIEmoji_Rich]":"[壕]","[TUIEmoji_Heart]":"[愛心]","[TUIEmoji_Moon]":"[月亮]","[TUIEmoji_Sun]":"[太陽]","[TUIEmoji_Star]":"[星星]","[TUIEmoji_RedPacket]":"[紅包]","[TUIEmoji_Celebrate]":"[慶祝]","[TUIEmoji_Bless]":"[福]","[TUIEmoji_Fortune]":"[發]","[TUIEmoji_Convinced]":"[服]","[TUIEmoji_Prohibit]":"[禁]","[TUIEmoji_666]":"[666]","[TUIEmoji_857]":"[857]","[TUIEmoji_Knife]":"[刀]","[TUIEmoji_Like]":"[讚]"};export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import o from"./TUIChat.js";import r from"./emoji.js";import t from"./TUIConversation.js";import m from"./TUIContact.js";import i from"./TUIProfile.js";var I={TUIChat:o,Emoji:r,TUIConversation:t,TUIContact:m,TUIProfile:i};export{I as message};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"react";const e=t=>t;function r(r,n=e){const o=t.useSyncExternalStore(r.subscribe,(()=>n(r.getState())),(()=>n(r.getInitialState())));return t.useDebugValue(o),o}export{r as useStore};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=t=>{let e;const n=new Set,c=(t,c)=>{const o="function"==typeof t?t(e):t;if(!Object.is(o,e)){const t=e;e=(null!=c?c:"object"!=typeof o||null===o)?o:Object.assign({},e,o),n.forEach((n=>n(e,t)))}},o=()=>e,s={setState:c,getState:o,getInitialState:()=>a,subscribe:t=>(n.add(t),()=>n.delete(t))},a=e=t(c,o,s);return s},e=e=>e?t(e):t;export{e as createStore};
|
package/dist/esm/server.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t,{TUIConstants as n,TUILogin as o}from"@tencentcloud/tui-core";import i from"@tencentcloud/chat-uikit-engine";var e=function(){function e(){t.registerEvent(n.TUILogin.EVENT.LOGIN_STATE_CHANGED,n.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS,this)}return e.prototype.onNotifyEvent=function(t,o){if(t===n.TUILogin.EVENT.LOGIN_STATE_CHANGED&&o===n.TUILogin.EVENT_SUB_KEY.USER_LOGIN_SUCCESS)this.login()},e.prototype.login=function(){var t=o.getContext(),n=t.chat,e=t.SDKAppID,E=t.userID,r=t.userSig;i.login({chat:n,SDKAppID:e,userID:E,userSig:r})},e}();export{e as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createStore as t}from"../node_modules/zustand/esm/vanilla.mjs.js";import{TUILogin as n}from"@tencentcloud/tui-core";import{TUIStore as e,StoreName as o}from"@tencentcloud/chat-uikit-engine";import{useStore as r}from"../node_modules/zustand/esm/react.mjs.js";var i=t()((function(t){return{chat:null,myProfile:void 0,contactData:void 0,conversation:void 0,TUIProfileShow:!1,TUIManageShow:!1,setMyProfile:function(n){return t((function(){return{myProfile:n}}))},setActiveContact:function(n){return t((function(){return{contactData:n}}))},setActiveConversation:function(n){return t((function(){return{conversation:n}}))},setTUIProfileShow:function(n){return t((function(){return{TUIProfileShow:n}}))},setTUIManageShow:function(n){return t((function(){return{TUIManageShow:n}}))}}}));function a(){return{chat:n.getContext().chat,myProfile:r(i,(function(t){return t.myProfile})),contactData:r(i,(function(t){return t.contactData})),conversation:r(i,(function(t){return t.conversation})),TUIProfileShow:r(i,(function(t){return t.TUIProfileShow})),TUIManageShow:r(i,(function(t){return t.TUIManageShow})),setActiveContact:r(i,(function(t){return t.setActiveContact})),setActiveConversation:r(i,(function(t){return t.setActiveConversation})),setTUIProfileShow:r(i,(function(t){return t.setTUIProfileShow})),setTUIManageShow:r(i,(function(t){return t.setTUIManageShow}))}}e.watch(o.USER,{userProfile:function(t){i.getState().setMyProfile(t)}}),e.watch(o.CONV,{currentConversation:function(t){var n;(null==t?void 0:t.conversationID)!==(null===(n=i.getState().conversation)||void 0===n?void 0:n.conversationID)&&i.getState().setTUIManageShow(!1);i.getState().setActiveConversation(t)}});export{i as default,a as useUIManagerStore};
|
package/dist/esm/utils/env.d.ts
DELETED
package/dist/esm/utils/env.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getPlatform as c}from"@tencentcloud/universal-api";var n="pc"===c(),o="h5"===c(),p=function(c){n="pc"===c,o="h5"===c};export{o as isH5,n as isPC,p as setPlatform};
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
package/src/@types/images.d.ts
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import React, { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import { Icon, IconTypes } from '../Icon';
|
|
3
|
-
import './styles/index.scss';
|
|
4
|
-
|
|
5
|
-
export interface AvatarProps {
|
|
6
|
-
image?: string | null;
|
|
7
|
-
/** click event handler */
|
|
8
|
-
onClick?: (event: React.BaseSyntheticEvent) => void;
|
|
9
|
-
/** mouseOver event handler */
|
|
10
|
-
onMouseOver?: (event: React.BaseSyntheticEvent) => void;
|
|
11
|
-
/** Size in pixels
|
|
12
|
-
* @default 32px
|
|
13
|
-
*/
|
|
14
|
-
size?: number;
|
|
15
|
-
/** Shape of the avatar - circle, rounded or square
|
|
16
|
-
* @default circle
|
|
17
|
-
*/
|
|
18
|
-
shape?: 'circle' | 'rounded' | 'square';
|
|
19
|
-
update?: (url: string) => void;
|
|
20
|
-
list?: string[];
|
|
21
|
-
}
|
|
22
|
-
export function Avatar<T extends AvatarProps>(props: T): React.ReactElement {
|
|
23
|
-
const {
|
|
24
|
-
image,
|
|
25
|
-
size = 32,
|
|
26
|
-
shape = 'circle',
|
|
27
|
-
update,
|
|
28
|
-
onClick,
|
|
29
|
-
list = [],
|
|
30
|
-
} = props;
|
|
31
|
-
|
|
32
|
-
const [error, setError] = useState(false);
|
|
33
|
-
const [loaded, setLoaded] = useState(false);
|
|
34
|
-
const [isEdit, setIsEdit] = useState(false);
|
|
35
|
-
const [avatarListWidth, setAvatarListWidth] = useState(200);
|
|
36
|
-
|
|
37
|
-
const avatarRef = useRef<HTMLDivElement>();
|
|
38
|
-
const avatarListRef = useRef<HTMLUListElement>();
|
|
39
|
-
|
|
40
|
-
useEffect(() => {
|
|
41
|
-
setError(false);
|
|
42
|
-
setLoaded(false);
|
|
43
|
-
}, [image]);
|
|
44
|
-
|
|
45
|
-
useEffect(() => {
|
|
46
|
-
if (isEdit && update) {
|
|
47
|
-
window.addEventListener('mouseup', toggle, false);
|
|
48
|
-
avatarRef?.current?.addEventListener('mouseup', stopImmediatePropagation);
|
|
49
|
-
avatarListRef?.current?.clientWidth && setAvatarListWidth(avatarListRef.current.clientWidth);
|
|
50
|
-
} else {
|
|
51
|
-
window.removeEventListener('mouseup', toggle, false);
|
|
52
|
-
avatarRef?.current?.removeEventListener('mouseup', stopImmediatePropagation);
|
|
53
|
-
}
|
|
54
|
-
return () => {
|
|
55
|
-
window.removeEventListener('mouseup', toggle, false);
|
|
56
|
-
avatarRef?.current?.removeEventListener('mouseup', stopImmediatePropagation);
|
|
57
|
-
};
|
|
58
|
-
}, [isEdit]);
|
|
59
|
-
|
|
60
|
-
const stopImmediatePropagation = (e: Event) => {
|
|
61
|
-
e.stopPropagation();
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const toggle = () => {
|
|
65
|
-
setIsEdit(!isEdit);
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
const handleUpdate = (value: string) => {
|
|
69
|
-
toggle();
|
|
70
|
-
update && update(value);
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
return (
|
|
74
|
-
<div
|
|
75
|
-
className={`tui-kit-avatar ${shape}`}
|
|
76
|
-
style={{
|
|
77
|
-
flexBasis: `${size}px`,
|
|
78
|
-
height: `${size}px`,
|
|
79
|
-
objectFit: 'cover',
|
|
80
|
-
width: `${size}px`,
|
|
81
|
-
}}
|
|
82
|
-
// eslint-disable-next-line
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
ref={avatarRef}
|
|
85
|
-
role="button"
|
|
86
|
-
tabIndex={0}
|
|
87
|
-
onClick={onClick}
|
|
88
|
-
>
|
|
89
|
-
{image && !error
|
|
90
|
-
? (
|
|
91
|
-
<img
|
|
92
|
-
className={`avatar-image ${loaded ? 'avatar-image-loaded' : ''}`}
|
|
93
|
-
onError={() => setError(true)}
|
|
94
|
-
onLoad={() => setLoaded(true)}
|
|
95
|
-
alt={image}
|
|
96
|
-
src={image}
|
|
97
|
-
/>
|
|
98
|
-
)
|
|
99
|
-
: (
|
|
100
|
-
<div
|
|
101
|
-
className={`tui-kit-avatar ${shape}`}
|
|
102
|
-
style={{
|
|
103
|
-
flexBasis: `${size}px`,
|
|
104
|
-
height: `${size}px`,
|
|
105
|
-
objectFit: 'cover',
|
|
106
|
-
width: `${size}px`,
|
|
107
|
-
backgroundColor: 'black',
|
|
108
|
-
borderRadius: `${shape === 'circle' ? '50%' : '4px'}`,
|
|
109
|
-
}}
|
|
110
|
-
/>
|
|
111
|
-
)}
|
|
112
|
-
{
|
|
113
|
-
update && (
|
|
114
|
-
<div className={`tui-kit-avatar-edit ${isEdit ? 'displayFlex' : ''}`} role="button" tabIndex={0} onClick={toggle}>
|
|
115
|
-
<Icon className="icon-camera" width={33} height={30} type={IconTypes.CAMERA} />
|
|
116
|
-
</div>
|
|
117
|
-
)
|
|
118
|
-
}
|
|
119
|
-
{
|
|
120
|
-
update && isEdit && (
|
|
121
|
-
<ul
|
|
122
|
-
className="tui-kit-avatar-list"
|
|
123
|
-
// eslint-disable-next-line
|
|
124
|
-
// @ts-ignore
|
|
125
|
-
ref={avatarListRef}
|
|
126
|
-
style={{
|
|
127
|
-
left: `-${(avatarListWidth - size) / 2}px`,
|
|
128
|
-
}}
|
|
129
|
-
>
|
|
130
|
-
{
|
|
131
|
-
list.map((item: string, index: number) => {
|
|
132
|
-
const key = `${item}${index}`;
|
|
133
|
-
return (
|
|
134
|
-
<li
|
|
135
|
-
className="tui-kit-avatar-list-item"
|
|
136
|
-
role="menuitem"
|
|
137
|
-
key={key}
|
|
138
|
-
tabIndex={index}
|
|
139
|
-
onClick={() => { handleUpdate(item); }}
|
|
140
|
-
>
|
|
141
|
-
<img
|
|
142
|
-
className="avatar-image"
|
|
143
|
-
alt={item}
|
|
144
|
-
src={item}
|
|
145
|
-
/>
|
|
146
|
-
</li>
|
|
147
|
-
);
|
|
148
|
-
})
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
</ul>
|
|
152
|
-
)
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
</div>
|
|
156
|
-
);
|
|
157
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
.tui-kit-avatar {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
position: relative;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
flex-shrink: 0;
|
|
7
|
-
|
|
8
|
-
&.circle .avatar-image {
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.square .avatar-image {
|
|
13
|
-
border-radius: 4px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
img {
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
.tui-kit-avatar-edit {
|
|
23
|
-
display: flex;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-edit {
|
|
28
|
-
position: absolute;
|
|
29
|
-
top: 0;
|
|
30
|
-
left: 0;
|
|
31
|
-
background: rgba(0, 0, 0, 33%);
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
border-radius: 100%;
|
|
35
|
-
display: none;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
align-items: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-list {
|
|
41
|
-
position: absolute;
|
|
42
|
-
z-index: 2;
|
|
43
|
-
top: 100%;
|
|
44
|
-
background: #fff;
|
|
45
|
-
border-radius: 5px;
|
|
46
|
-
box-shadow: 0 11px 20px 0 rgb(0, 0, 0.3);
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-wrap: wrap;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
width: 100%;
|
|
51
|
-
min-width: 200px;
|
|
52
|
-
max-width: 400px;
|
|
53
|
-
padding: 10px;
|
|
54
|
-
|
|
55
|
-
&-item {
|
|
56
|
-
padding: 10px;
|
|
57
|
-
|
|
58
|
-
img {
|
|
59
|
-
width: 40px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|