@webinex/chatify 2.0.0-alpha1 → 2.0.0-alpha12
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/dist/Chatify-CwAfN1wu.js +2396 -0
- package/dist/Chatify-CwAfN1wu.js.map +1 -0
- package/dist/Chatify.css +717 -0
- package/dist/audit.css +60 -0
- package/dist/audit.js +242 -0
- package/dist/audit.js.map +1 -0
- package/dist/index.js +104 -0
- package/dist/index.js.map +1 -0
- package/dist/types/audit/AuditChatList.d.ts +9 -0
- package/dist/types/audit/AuditConversationPanel.d.ts +10 -0
- package/dist/types/audit/AuditPanel.d.ts +14 -0
- package/dist/types/audit/AuditPanelCustomizeValue.d.ts +9 -0
- package/dist/types/audit/AuditSearch.d.ts +5 -0
- package/dist/types/audit/AuditSearchValue.d.ts +14 -0
- package/dist/types/audit/auditApi.d.ts +101 -0
- package/dist/types/audit/index.d.ts +17 -0
- package/dist/{esm/types → types}/core/api/baseApi.d.ts +1 -1
- package/dist/{esm/types → types}/core/client.d.ts +12 -7
- package/dist/{esm/types → types}/core/types.d.ts +28 -6
- package/dist/types/ui/Chat/ChatEditableHeaderName.d.ts +1 -0
- package/dist/types/ui/Chat/ChatHeaderActions.d.ts +1 -0
- package/dist/{esm/types → types}/ui/Chat/ChatView.d.ts +1 -2
- package/dist/types/ui/Chat/Members/ChatMembersButton.d.ts +1 -0
- package/dist/types/ui/Chat/Members/ChatMembersPanel.d.ts +1 -0
- package/dist/types/ui/Chat/Members/ChatMembersPreview.d.ts +1 -0
- package/dist/types/ui/ChatGroup/AutoReply/AutoReplyButton.d.ts +1 -0
- package/dist/types/ui/ChatGroup/AutoReply/AutoReplyForm.d.ts +12 -0
- package/dist/types/ui/ChatGroup/AutoReply/AutoReplyPanel.d.ts +1 -0
- package/dist/types/ui/ChatGroup/AutoReply/AutoReplyPeriodInput.d.ts +4 -0
- package/dist/types/ui/ChatGroup/AutoReply/AutoReplyTextInput.d.ts +4 -0
- package/dist/types/ui/ChatGroup/AutoReply/index.d.ts +17 -0
- package/dist/{esm/types → types}/ui/ChatGroup/ChatGroupContext.d.ts +2 -1
- package/dist/{esm/types → types}/ui/ChatGroup/ChatGroupPanel.d.ts +3 -2
- package/dist/types/ui/ChatGroup/Create/CreateChatButton.d.ts +1 -0
- package/{src → dist}/types/ui/ChatGroup/Create/CreateChatForm.d.ts +1 -2
- package/dist/types/ui/ChatGroup/Create/CreateChatMemberInput.d.ts +4 -0
- package/dist/types/ui/ChatGroup/Create/CreateChatNameInput.d.ts +4 -0
- package/dist/types/ui/ChatGroup/Create/CreateChatPanel.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupActions.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupAside.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupBody.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupFooter.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupHeader.d.ts +1 -0
- package/dist/types/ui/ChatGroup/Layout/ChatGroupMain.d.ts +1 -0
- package/{src → dist}/types/ui/ChatGroup/Layout/index.d.ts +3 -0
- package/dist/types/ui/ChatGroup/List/ChatListPanel.d.ts +1 -0
- package/dist/types/ui/ChatGroup/List/index.d.ts +6 -0
- package/dist/{esm/types → types}/ui/ChatGroup/index.d.ts +1 -0
- package/dist/types/ui/Chatify.d.ts +9 -0
- package/dist/{esm/types → types}/ui/Conversation/Conversation.d.ts +3 -2
- package/dist/types/ui/Conversation/ConversationActions.d.ts +1 -0
- package/dist/types/ui/Conversation/ConversationBody.d.ts +1 -0
- package/dist/{esm/types → types}/ui/Conversation/ConversationContext.d.ts +7 -4
- package/dist/types/ui/Conversation/ConversationHeader.d.ts +1 -0
- package/dist/types/ui/Conversation/ConversationName.d.ts +1 -0
- package/dist/types/ui/Conversation/InputBox/InputBox.d.ts +1 -0
- package/dist/types/ui/Conversation/InputBox/InputBoxFile.d.ts +7 -0
- package/dist/types/ui/Conversation/InputBox/InputBoxFileList.d.ts +7 -0
- package/dist/types/ui/Conversation/InputBox/InputFilesBox.d.ts +11 -0
- package/dist/types/ui/Conversation/InputBox/InputSubmitButtonBox.d.ts +6 -0
- package/dist/{esm/types → types}/ui/Conversation/InputBox/InputTextBox.d.ts +2 -1
- package/{src → dist}/types/ui/Conversation/InputBox/index.d.ts +8 -1
- package/dist/types/ui/Conversation/Message/MessageAuthor.d.ts +2 -0
- package/dist/types/ui/Conversation/Message/MessageBox.d.ts +5 -0
- package/dist/types/ui/Conversation/Message/MessageContent.d.ts +2 -0
- package/dist/types/ui/Conversation/Message/MessageFile.d.ts +5 -0
- package/dist/types/ui/Conversation/Message/MessageFileList.d.ts +2 -0
- package/dist/types/ui/Conversation/Message/MessageInfoBox.d.ts +2 -0
- package/dist/{esm/types → types}/ui/Conversation/Message/MessageRow.d.ts +1 -1
- package/dist/types/ui/Conversation/Message/MessageText.d.ts +2 -0
- package/{src → dist}/types/ui/Conversation/Message/index.d.ts +6 -0
- package/dist/types/ui/Conversation/SendingMessage/SendingMessageBox.d.ts +6 -0
- package/dist/types/ui/Conversation/SendingMessage/SendingMessageContent.d.ts +2 -0
- package/dist/types/ui/Conversation/SendingMessage/SendingMessageInfoBox.d.ts +2 -0
- package/dist/types/ui/Conversation/SendingMessage/SendingMessageText.d.ts +2 -0
- package/dist/types/ui/Conversation/SystemMessage/SystemMessageBox.d.ts +5 -0
- package/{src → dist}/types/ui/Conversation/SystemMessage/SystemMessageRow.d.ts +1 -1
- package/dist/types/ui/Thread/ThreadActions.d.ts +1 -0
- package/dist/{esm/types → types}/ui/Thread/ThreadContext.d.ts +1 -1
- package/dist/types/ui/common/Avatar.d.ts +5 -0
- package/dist/types/ui/common/ChatList/ChatList.d.ts +16 -0
- package/dist/types/ui/common/ChatList/ChatListItemAvatar.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemBox.d.ts +9 -0
- package/dist/types/ui/common/ChatList/ChatListItemLastMessage.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemLastMessageAuthor.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemLastMessageContent.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemLastMessageSentAt.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemName.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListItemUnreadCount.d.ts +2 -0
- package/dist/types/ui/common/ChatList/ChatListValue.d.ts +8 -0
- package/{src/types/ui/ChatGroup/List → dist/types/ui/common/ChatList}/index.d.ts +1 -0
- package/dist/types/ui/common/Icon.d.ts +22 -0
- package/dist/types/ui/common/MessageSkeleton.d.ts +4 -0
- package/dist/{esm/types → types}/ui/common/index.d.ts +1 -0
- package/{src → dist}/types/ui/customize.d.ts +3 -3
- package/dist/{esm/types → types}/ui/index.d.ts +1 -3
- package/dist/{esm/types → types}/ui/localizer.d.ts +27 -2
- package/dist/types/ui/useFormatter.d.ts +3 -0
- package/package.json +81 -93
- package/src/audit/AuditChatList.tsx +25 -0
- package/src/audit/AuditConversationPanel.tsx +48 -0
- package/src/audit/AuditPanel.tsx +76 -0
- package/src/audit/AuditPanelCustomizeValue.ts +11 -0
- package/src/audit/AuditSearch.tsx +89 -0
- package/src/audit/AuditSearchValue.tsx +42 -0
- package/src/audit/auditApi.tsx +113 -0
- package/src/audit/index.d.ts +18 -0
- package/src/audit/index.tsx +28 -0
- package/src/audit/styles.scss +72 -0
- package/src/core/api/api.ts +669 -642
- package/src/core/api/baseApi.ts +38 -38
- package/src/core/api/index.ts +1 -1
- package/src/core/client.ts +298 -280
- package/src/core/constants.ts +1 -1
- package/src/core/debounce.ts +90 -90
- package/src/core/index.ts +4 -4
- package/src/core/types.tsx +182 -152
- package/src/index.ts +2 -2
- package/src/styles/aside.scss +26 -161
- package/src/styles/chat-list.scss +138 -0
- package/src/styles/chat.scss +11 -208
- package/src/styles/conversation.scss +200 -0
- package/src/styles/index.scss +220 -110
- package/src/styles/input.scss +148 -74
- package/src/styles/keyframes.scss +14 -14
- package/src/styles/members.scss +13 -13
- package/src/styles/mixins.scss +25 -20
- package/src/styles/variables.scss +13 -10
- package/src/ui/Chat/ChatContext.tsx +30 -30
- package/src/ui/Chat/ChatEditableHeaderName.tsx +63 -63
- package/src/ui/Chat/ChatHeaderActions.tsx +19 -19
- package/src/ui/Chat/ChatPanel.tsx +30 -30
- package/src/ui/Chat/ChatView.tsx +115 -115
- package/src/ui/Chat/Members/ChatMembersButton.tsx +9 -9
- package/src/ui/Chat/Members/ChatMembersPanel.tsx +112 -112
- package/src/ui/Chat/Members/ChatMembersPreview.tsx +25 -25
- package/src/ui/Chat/Members/index.ts +13 -13
- package/src/ui/Chat/index.ts +6 -6
- package/src/ui/ChatGroup/AutoReply/AutoReplyButton.tsx +21 -0
- package/src/ui/ChatGroup/AutoReply/AutoReplyForm.tsx +50 -0
- package/src/ui/ChatGroup/AutoReply/AutoReplyPanel.tsx +94 -0
- package/src/ui/ChatGroup/AutoReply/AutoReplyPeriodInput.tsx +22 -0
- package/src/ui/ChatGroup/AutoReply/AutoReplyTextInput.tsx +22 -0
- package/src/ui/ChatGroup/AutoReply/index.ts +19 -0
- package/src/ui/ChatGroup/ChatGroupContext.tsx +61 -50
- package/src/ui/ChatGroup/ChatGroupPanel.tsx +75 -73
- package/src/ui/ChatGroup/Create/CreateChatButton.tsx +15 -15
- package/src/ui/ChatGroup/Create/CreateChatForm.tsx +36 -36
- package/src/ui/ChatGroup/Create/CreateChatMemberInput.tsx +65 -65
- package/src/ui/ChatGroup/Create/CreateChatNameInput.tsx +25 -25
- package/src/ui/ChatGroup/Create/CreateChatPanel.tsx +45 -45
- package/src/ui/ChatGroup/Create/index.ts +19 -19
- package/src/ui/ChatGroup/Layout/ChatGroupActions.tsx +15 -0
- package/src/ui/ChatGroup/Layout/ChatGroupAside.tsx +12 -12
- package/src/ui/ChatGroup/Layout/ChatGroupBody.tsx +10 -10
- package/src/ui/ChatGroup/Layout/ChatGroupFooter.tsx +3 -3
- package/src/ui/ChatGroup/Layout/ChatGroupHeader.tsx +5 -5
- package/src/ui/ChatGroup/Layout/ChatGroupMain.tsx +19 -17
- package/src/ui/ChatGroup/Layout/index.ts +22 -19
- package/src/ui/ChatGroup/List/ChatListPanel.tsx +28 -0
- package/src/ui/ChatGroup/List/index.ts +8 -31
- package/src/ui/ChatGroup/index.ts +6 -5
- package/src/ui/Chatify.tsx +15 -9
- package/src/ui/Conversation/Conversation.tsx +92 -76
- package/src/ui/Conversation/ConversationActions.tsx +12 -5
- package/src/ui/Conversation/ConversationBody.tsx +28 -28
- package/src/ui/Conversation/ConversationContext.ts +30 -27
- package/src/ui/Conversation/ConversationHeader.tsx +19 -23
- package/src/ui/Conversation/ConversationName.tsx +7 -7
- package/src/ui/Conversation/InputBox/InputBox.tsx +126 -40
- package/src/ui/Conversation/InputBox/InputBoxFile.tsx +38 -0
- package/src/ui/Conversation/InputBox/InputBoxFileList.tsx +21 -0
- package/src/ui/Conversation/InputBox/InputFilesBox.tsx +78 -9
- package/src/ui/Conversation/InputBox/InputSubmitButtonBox.tsx +26 -17
- package/src/ui/Conversation/InputBox/InputTextBox.tsx +61 -53
- package/src/ui/Conversation/InputBox/index.ts +23 -16
- package/src/ui/Conversation/Message/MessageAuthor.tsx +13 -13
- package/src/ui/Conversation/Message/MessageBox.tsx +20 -20
- package/src/ui/Conversation/Message/MessageContent.tsx +15 -11
- package/src/ui/Conversation/Message/MessageFile.tsx +54 -0
- package/src/ui/Conversation/Message/MessageFileList.tsx +14 -0
- package/src/ui/Conversation/Message/MessageInfoBox.tsx +28 -28
- package/src/ui/Conversation/Message/MessageRow.tsx +28 -28
- package/src/ui/Conversation/Message/MessageText.tsx +7 -7
- package/src/ui/Conversation/Message/index.ts +28 -22
- package/src/ui/Conversation/NextObserver/NextMessagesObserver.tsx +47 -47
- package/src/ui/Conversation/NextObserver/index.ts +1 -1
- package/src/ui/Conversation/ReadObserver/MessageReadObserver.tsx +49 -49
- package/src/ui/Conversation/ReadObserver/index.ts +1 -1
- package/src/ui/Conversation/SendingMessage/SendingMessageBox.tsx +16 -16
- package/src/ui/Conversation/SendingMessage/SendingMessageContent.tsx +13 -13
- package/src/ui/Conversation/SendingMessage/SendingMessageInfoBox.tsx +13 -13
- package/src/ui/Conversation/SendingMessage/SendingMessageText.tsx +7 -7
- package/src/ui/Conversation/SendingMessage/index.ts +16 -16
- package/src/ui/Conversation/SystemMessage/SystemMessageBox.tsx +20 -20
- package/src/ui/Conversation/SystemMessage/SystemMessageRow.tsx +28 -28
- package/src/ui/Conversation/SystemMessage/index.ts +10 -10
- package/src/ui/Conversation/index.ts +13 -13
- package/src/ui/Thread/ThreadActions.tsx +22 -22
- package/src/ui/Thread/ThreadContext.ts +13 -13
- package/src/ui/Thread/ThreadPanel.tsx +127 -127
- package/src/ui/Thread/index.tsx +3 -3
- package/src/ui/color.ts +20 -20
- package/src/ui/common/Avatar.tsx +20 -20
- package/src/ui/common/ChatList/ChatList.tsx +84 -0
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemAvatar.tsx +22 -22
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemBox.tsx +32 -26
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemLastMessage.tsx +15 -15
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemLastMessageAuthor.tsx +15 -15
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemLastMessageContent.tsx +21 -21
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemLastMessageSentAt.tsx +22 -22
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemName.tsx +8 -8
- package/src/ui/{ChatGroup/List → common/ChatList}/ChatListItemUnreadCount.tsx +12 -12
- package/src/ui/common/ChatList/ChatListValue.ts +9 -0
- package/{dist/esm/types/ui/ChatGroup/List/index.d.ts → src/ui/common/ChatList/index.ts} +12 -9
- package/src/ui/common/Icon.tsx +48 -40
- package/src/ui/common/MessageSkeleton.tsx +20 -20
- package/src/ui/common/index.ts +14 -13
- package/src/ui/customize.tsx +51 -53
- package/src/ui/index.ts +11 -11
- package/src/ui/localizer.tsx +137 -81
- package/src/ui/useFormatter.tsx +17 -0
- package/dist/css/chatify.css +0 -560
- package/dist/esm/index.js +0 -11
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/core/api/accountApi.d.ts +0 -5
- package/dist/esm/types/core/api/api.d.ts +0 -2380
- package/dist/esm/types/core/api/chatApi.d.ts +0 -16
- package/dist/esm/types/core/api/chatListApi.d.ts +0 -5
- package/dist/esm/types/core/api/chatMemberApi.d.ts +0 -6
- package/dist/esm/types/core/api/chatMessageApi.d.ts +0 -3
- package/dist/esm/types/core/api/threadApi.d.ts +0 -1
- package/dist/esm/types/core/api/threadMessageApi.d.ts +0 -6
- package/dist/esm/types/ui/Chat/ChatEditableHeaderName.d.ts +0 -2
- package/dist/esm/types/ui/Chat/ChatHeaderActions.d.ts +0 -2
- package/dist/esm/types/ui/Chat/Members/ChatMembersButton.d.ts +0 -2
- package/dist/esm/types/ui/Chat/Members/ChatMembersPanel.d.ts +0 -2
- package/dist/esm/types/ui/Chat/Members/ChatMembersPreview.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Create/CreateChatButton.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Create/CreateChatForm.d.ts +0 -11
- package/dist/esm/types/ui/ChatGroup/Create/CreateChatMemberInput.d.ts +0 -5
- package/dist/esm/types/ui/ChatGroup/Create/CreateChatNameInput.d.ts +0 -5
- package/dist/esm/types/ui/ChatGroup/Create/CreateChatPanel.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/ChatGroupAside.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/ChatGroupBody.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/ChatGroupFooter.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/ChatGroupHeader.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/ChatGroupMain.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/Layout/index.d.ts +0 -17
- package/dist/esm/types/ui/ChatGroup/List/ChatList.d.ts +0 -2
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemAvatar.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemBox.d.ts +0 -6
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemLastMessage.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemLastMessageAuthor.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemLastMessageContent.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemLastMessageSentAt.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemName.d.ts +0 -3
- package/dist/esm/types/ui/ChatGroup/List/ChatListItemUnreadCount.d.ts +0 -3
- package/dist/esm/types/ui/Chatify.d.ts +0 -8
- package/dist/esm/types/ui/Conversation/ConversationActions.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/ConversationBody.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/ConversationHeader.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/ConversationName.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/InputBox/InputBox.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/InputBox/InputFilesBox.d.ts +0 -2
- package/dist/esm/types/ui/Conversation/InputBox/InputSubmitButtonBox.d.ts +0 -5
- package/dist/esm/types/ui/Conversation/InputBox/index.d.ts +0 -14
- package/dist/esm/types/ui/Conversation/Message/MessageAuthor.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/Message/MessageBox.d.ts +0 -6
- package/dist/esm/types/ui/Conversation/Message/MessageContent.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/Message/MessageInfoBox.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/Message/MessageText.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/Message/index.d.ts +0 -20
- package/dist/esm/types/ui/Conversation/SendingMessage/SendingMessageBox.d.ts +0 -7
- package/dist/esm/types/ui/Conversation/SendingMessage/SendingMessageContent.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/SendingMessage/SendingMessageInfoBox.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/SendingMessage/SendingMessageText.d.ts +0 -3
- package/dist/esm/types/ui/Conversation/SystemMessage/SystemMessageBox.d.ts +0 -6
- package/dist/esm/types/ui/Conversation/SystemMessage/SystemMessageRow.d.ts +0 -9
- package/dist/esm/types/ui/Thread/ThreadActions.d.ts +0 -2
- package/dist/esm/types/ui/common/Avatar.d.ts +0 -6
- package/dist/esm/types/ui/common/Icon.d.ts +0 -20
- package/dist/esm/types/ui/common/MessageSkeleton.d.ts +0 -5
- package/dist/esm/types/ui/customize.d.ts +0 -9
- package/dist/index.d.ts +0 -3005
- package/src/core/api/accountApi.ts +0 -11
- package/src/core/api/chatApi.ts +0 -87
- package/src/core/api/chatListApi.ts +0 -134
- package/src/core/api/chatMemberApi.ts +0 -20
- package/src/core/api/chatMessageApi.ts +0 -12
- package/src/core/api/threadApi.ts +0 -8
- package/src/core/api/threadMessageApi.ts +0 -20
- package/src/types/core/api/accountApi.d.ts +0 -5
- package/src/types/core/api/api.d.ts +0 -2380
- package/src/types/core/api/baseApi.d.ts +0 -15
- package/src/types/core/api/chatApi.d.ts +0 -16
- package/src/types/core/api/chatListApi.d.ts +0 -5
- package/src/types/core/api/chatMemberApi.d.ts +0 -6
- package/src/types/core/api/chatMessageApi.d.ts +0 -3
- package/src/types/core/api/index.d.ts +0 -1
- package/src/types/core/api/threadApi.d.ts +0 -1
- package/src/types/core/api/threadMessageApi.d.ts +0 -6
- package/src/types/core/client.d.ts +0 -83
- package/src/types/core/constants.d.ts +0 -1
- package/src/types/core/debounce.d.ts +0 -27
- package/src/types/core/index.d.ts +0 -4
- package/src/types/core/types.d.ts +0 -105
- package/src/types/index.d.ts +0 -2
- package/src/types/ui/Chat/ChatContext.d.ts +0 -10
- package/src/types/ui/Chat/ChatEditableHeaderName.d.ts +0 -2
- package/src/types/ui/Chat/ChatHeaderActions.d.ts +0 -2
- package/src/types/ui/Chat/ChatPanel.d.ts +0 -13
- package/src/types/ui/Chat/ChatView.d.ts +0 -17
- package/src/types/ui/Chat/Members/ChatMembersButton.d.ts +0 -2
- package/src/types/ui/Chat/Members/ChatMembersPanel.d.ts +0 -2
- package/src/types/ui/Chat/Members/ChatMembersPreview.d.ts +0 -2
- package/src/types/ui/Chat/Members/index.d.ts +0 -11
- package/src/types/ui/Chat/index.d.ts +0 -6
- package/src/types/ui/ChatGroup/ChatGroupContext.d.ts +0 -12
- package/src/types/ui/ChatGroup/ChatGroupPanel.d.ts +0 -15
- package/src/types/ui/ChatGroup/Create/CreateChatButton.d.ts +0 -2
- package/src/types/ui/ChatGroup/Create/CreateChatMemberInput.d.ts +0 -5
- package/src/types/ui/ChatGroup/Create/CreateChatNameInput.d.ts +0 -5
- package/src/types/ui/ChatGroup/Create/CreateChatPanel.d.ts +0 -2
- package/src/types/ui/ChatGroup/Create/index.d.ts +0 -17
- package/src/types/ui/ChatGroup/Layout/ChatGroupAside.d.ts +0 -2
- package/src/types/ui/ChatGroup/Layout/ChatGroupBody.d.ts +0 -2
- package/src/types/ui/ChatGroup/Layout/ChatGroupFooter.d.ts +0 -2
- package/src/types/ui/ChatGroup/Layout/ChatGroupHeader.d.ts +0 -2
- package/src/types/ui/ChatGroup/Layout/ChatGroupMain.d.ts +0 -2
- package/src/types/ui/ChatGroup/List/ChatList.d.ts +0 -2
- package/src/types/ui/ChatGroup/List/ChatListItemAvatar.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemBox.d.ts +0 -6
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessage.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageAuthor.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageContent.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemLastMessageSentAt.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemName.d.ts +0 -3
- package/src/types/ui/ChatGroup/List/ChatListItemUnreadCount.d.ts +0 -3
- package/src/types/ui/ChatGroup/index.d.ts +0 -5
- package/src/types/ui/Chatify.d.ts +0 -8
- package/src/types/ui/Conversation/Conversation.d.ts +0 -21
- package/src/types/ui/Conversation/ConversationActions.d.ts +0 -2
- package/src/types/ui/Conversation/ConversationBody.d.ts +0 -2
- package/src/types/ui/Conversation/ConversationContext.d.ts +0 -20
- package/src/types/ui/Conversation/ConversationHeader.d.ts +0 -2
- package/src/types/ui/Conversation/ConversationName.d.ts +0 -2
- package/src/types/ui/Conversation/InputBox/InputBox.d.ts +0 -2
- package/src/types/ui/Conversation/InputBox/InputFilesBox.d.ts +0 -2
- package/src/types/ui/Conversation/InputBox/InputSubmitButtonBox.d.ts +0 -5
- package/src/types/ui/Conversation/InputBox/InputTextBox.d.ts +0 -8
- package/src/types/ui/Conversation/Message/MessageAuthor.d.ts +0 -3
- package/src/types/ui/Conversation/Message/MessageBox.d.ts +0 -6
- package/src/types/ui/Conversation/Message/MessageContent.d.ts +0 -3
- package/src/types/ui/Conversation/Message/MessageInfoBox.d.ts +0 -3
- package/src/types/ui/Conversation/Message/MessageRow.d.ts +0 -6
- package/src/types/ui/Conversation/Message/MessageText.d.ts +0 -3
- package/src/types/ui/Conversation/NextObserver/NextMessagesObserver.d.ts +0 -5
- package/src/types/ui/Conversation/NextObserver/index.d.ts +0 -1
- package/src/types/ui/Conversation/ReadObserver/MessageReadObserver.d.ts +0 -6
- package/src/types/ui/Conversation/ReadObserver/index.d.ts +0 -1
- package/src/types/ui/Conversation/SendingMessage/SendingMessageBox.d.ts +0 -7
- package/src/types/ui/Conversation/SendingMessage/SendingMessageContent.d.ts +0 -3
- package/src/types/ui/Conversation/SendingMessage/SendingMessageInfoBox.d.ts +0 -3
- package/src/types/ui/Conversation/SendingMessage/SendingMessageText.d.ts +0 -3
- package/src/types/ui/Conversation/SendingMessage/index.d.ts +0 -14
- package/src/types/ui/Conversation/SystemMessage/SystemMessageBox.d.ts +0 -6
- package/src/types/ui/Conversation/SystemMessage/index.d.ts +0 -8
- package/src/types/ui/Conversation/index.d.ts +0 -12
- package/src/types/ui/Thread/ThreadActions.d.ts +0 -2
- package/src/types/ui/Thread/ThreadContext.d.ts +0 -8
- package/src/types/ui/Thread/ThreadPanel.d.ts +0 -14
- package/src/types/ui/Thread/index.d.ts +0 -3
- package/src/types/ui/color.d.ts +0 -6
- package/src/types/ui/common/Avatar.d.ts +0 -6
- package/src/types/ui/common/Icon.d.ts +0 -20
- package/src/types/ui/common/MessageSkeleton.d.ts +0 -5
- package/src/types/ui/common/index.d.ts +0 -11
- package/src/types/ui/index.d.ts +0 -11
- package/src/types/ui/localizer.d.ts +0 -35
- package/src/ui/ChatGroup/List/ChatList.tsx +0 -42
- /package/dist/{esm/types → types}/core/api/index.d.ts +0 -0
- /package/dist/{esm/types → types}/core/constants.d.ts +0 -0
- /package/dist/{esm/types → types}/core/debounce.d.ts +0 -0
- /package/dist/{esm/types → types}/core/index.d.ts +0 -0
- /package/dist/{esm/types → types}/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Chat/ChatContext.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Chat/ChatPanel.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Chat/Members/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Chat/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/ChatGroup/Create/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/NextObserver/NextMessagesObserver.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/NextObserver/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/ReadObserver/MessageReadObserver.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/ReadObserver/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/SendingMessage/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/SystemMessage/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Conversation/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Thread/ThreadPanel.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/Thread/index.d.ts +0 -0
- /package/dist/{esm/types → types}/ui/color.d.ts +0 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@use './variables.scss' as vars;
|
|
2
|
+
@use './mixins.scss' as mixins;
|
|
3
|
+
|
|
4
|
+
.wxchtf-conversation {
|
|
5
|
+
flex: auto;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-flow: row nowrap;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
|
|
10
|
+
.wxchtf-conversation-main {
|
|
11
|
+
flex: 1;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-flow: column nowrap;
|
|
14
|
+
min-width: 0;
|
|
15
|
+
|
|
16
|
+
.wxchtf-conversation-header {
|
|
17
|
+
padding: 15px 20px;
|
|
18
|
+
line-height: 24px;
|
|
19
|
+
z-index: 2;
|
|
20
|
+
box-shadow: 0px 2px 4px 0px rgba(88, 99, 107, 0.04), 0px 1px 9px -1px rgba(88, 99, 107, 0.04),
|
|
21
|
+
0px 1px 2px 0px rgba(88, 99, 107, 0.06);
|
|
22
|
+
|
|
23
|
+
.wxchtf-conversation-name {
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
flex: none;
|
|
27
|
+
|
|
28
|
+
&.--editable {
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.wxchtf-conversation-actions {
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.wxchtf-chat-members {
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
gap: 6px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wxchtf-conversation-body {
|
|
44
|
+
flex: 1 1 auto;
|
|
45
|
+
height: 100px;
|
|
46
|
+
overflow-y: auto;
|
|
47
|
+
background: white;
|
|
48
|
+
padding: 2rem 1rem;
|
|
49
|
+
padding-right: 1rem;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-flow: column-reverse nowrap;
|
|
52
|
+
align-items: center;
|
|
53
|
+
|
|
54
|
+
@include mixins.scrollbar();
|
|
55
|
+
|
|
56
|
+
.wxchtf-message,
|
|
57
|
+
.wxchtf-sending-message,
|
|
58
|
+
.wxchtf-system-message,
|
|
59
|
+
.wxchtf-message-skeleton {
|
|
60
|
+
margin-bottom: 8px;
|
|
61
|
+
max-width: vars.$messageBoxWidth;
|
|
62
|
+
width: 100%;
|
|
63
|
+
|
|
64
|
+
&:first-child {
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.wxchtf-message,
|
|
70
|
+
.wxchtf-sending-message {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-flow: row nowrap;
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
|
|
75
|
+
& > div {
|
|
76
|
+
min-width: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:not(.--my) {
|
|
80
|
+
.wxchtf-message-content,
|
|
81
|
+
.wxchtf-sending-message-content {
|
|
82
|
+
border-bottom-left-radius: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.--my {
|
|
87
|
+
direction: rtl;
|
|
88
|
+
justify-content: flex-start;
|
|
89
|
+
|
|
90
|
+
.wxchtf-message-author {
|
|
91
|
+
display: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.wxchtf-message-content,
|
|
95
|
+
.wxchtf-sending-message-content {
|
|
96
|
+
direction: ltr;
|
|
97
|
+
border-bottom-right-radius: 0;
|
|
98
|
+
background-color: vars.$myMessageBackground;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.wxchtf-message-info-box {
|
|
102
|
+
text-align: right;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.wxchtf-message-author {
|
|
107
|
+
margin-right: 15px;
|
|
108
|
+
flex: none;
|
|
109
|
+
|
|
110
|
+
.ant-avatar {
|
|
111
|
+
@include mixins.avatarSize(vars.$avatarSize);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.wxchtf-message-info-box,
|
|
116
|
+
.wxchtf-sending-message-info-box {
|
|
117
|
+
text-align: left;
|
|
118
|
+
margin-bottom: 3px;
|
|
119
|
+
|
|
120
|
+
.wxchtf-message-author-name,
|
|
121
|
+
.wxchtf-message-sent-at,
|
|
122
|
+
.wxchtf-message-read-box,
|
|
123
|
+
.wxchtf-sending-message-sending-box {
|
|
124
|
+
display: inline-block;
|
|
125
|
+
font-size: 0.85em;
|
|
126
|
+
opacity: 0.5;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.wxchtf-message-sent-at,
|
|
130
|
+
.wxchtf-message-read-box,
|
|
131
|
+
.wxchtf-sending-message-sending-box {
|
|
132
|
+
margin-left: 5px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.wxchtf-message-content,
|
|
137
|
+
.wxchtf-sending-message-content {
|
|
138
|
+
width: fit-content;
|
|
139
|
+
min-width: 300px;
|
|
140
|
+
max-width: 70%;
|
|
141
|
+
padding: 12px 19px;
|
|
142
|
+
background: white;
|
|
143
|
+
background-color: vars.$messageBackground;
|
|
144
|
+
display: block;
|
|
145
|
+
white-space: pre-wrap;
|
|
146
|
+
overflow-wrap: break-word;
|
|
147
|
+
border-radius: 24px;
|
|
148
|
+
|
|
149
|
+
.wxchtf-message-text {
|
|
150
|
+
line-height: 21px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.wxchtf-system-message {
|
|
156
|
+
font-style: italic;
|
|
157
|
+
position: relative;
|
|
158
|
+
text-align: center;
|
|
159
|
+
color: #0e0f1799;
|
|
160
|
+
|
|
161
|
+
.wxchtf-text,
|
|
162
|
+
.wxchtf-timestamp {
|
|
163
|
+
position: relative;
|
|
164
|
+
z-index: 1;
|
|
165
|
+
padding-inline: 8px;
|
|
166
|
+
display: inline-block;
|
|
167
|
+
font-size: 0.85em;
|
|
168
|
+
background-color: white;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.wxchtf-timestamp {
|
|
172
|
+
padding-left: 10px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.wxchtf-message-skeleton {
|
|
177
|
+
display: flex;
|
|
178
|
+
flex-flow: row nowrap;
|
|
179
|
+
align-items: flex-end;
|
|
180
|
+
|
|
181
|
+
.wxchtf-avatar {
|
|
182
|
+
margin-right: 15px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.wxchtf-avatar .ant-skeleton-avatar {
|
|
186
|
+
width: vars.$avatarSize;
|
|
187
|
+
height: vars.$avatarSize;
|
|
188
|
+
line-height: vars.$avatarSize;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.wxchtf-content {
|
|
192
|
+
width: 300px;
|
|
193
|
+
height: 100px;
|
|
194
|
+
border-radius: vars.$messageBorderRadius;
|
|
195
|
+
border-bottom-left-radius: 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
package/src/styles/index.scss
CHANGED
|
@@ -1,110 +1,220 @@
|
|
|
1
|
-
@use './variables.scss' as vars;
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
background: vars.$
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-flow: row nowrap;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
1
|
+
@use './variables.scss' as vars;
|
|
2
|
+
@use './mixins.scss' as mixins;
|
|
3
|
+
@use './keyframes.scss';
|
|
4
|
+
@use './aside.scss';
|
|
5
|
+
@use './chat.scss';
|
|
6
|
+
@use './input.scss';
|
|
7
|
+
@use './members.scss';
|
|
8
|
+
@use './chat-list.scss';
|
|
9
|
+
@use './conversation.scss';
|
|
10
|
+
|
|
11
|
+
.wxchtf-message.--my .wxchtf-file-list .wxchtf-file {
|
|
12
|
+
background-color: darken($color: vars.$myMessageBackground, $amount: 3%);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.wxchtf-message .wxchtf-message-text + .wxchtf-file-list {
|
|
16
|
+
margin-top: 1rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.wxchtf-message .wxchtf-file-list {
|
|
20
|
+
.wxchtf-file {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-flow: row nowrap;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 1rem;
|
|
25
|
+
background-color: darken($color: vars.$messageBackground, $amount: 3%);
|
|
26
|
+
border-radius: 15px;
|
|
27
|
+
padding: 0.5rem;
|
|
28
|
+
|
|
29
|
+
.wxchtf-file-info {
|
|
30
|
+
min-width: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.wxchtf-size {
|
|
34
|
+
color: vars.$strokeColor;
|
|
35
|
+
font-size: 0.8rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.wxchtf-name {
|
|
39
|
+
font-size: 0.9rem;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ant-btn {
|
|
46
|
+
border: 2px solid vars.$linkColor;
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
border-color: lighten($color: vars.$linkColor, $amount: 15%);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& + .wxchtf-file {
|
|
55
|
+
margin-top: 1rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.wxchtf-chatify {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-flow: column nowrap;
|
|
63
|
+
background: vars.$background;
|
|
64
|
+
border-radius: vars.$radius;
|
|
65
|
+
|
|
66
|
+
.wxchtf-header {
|
|
67
|
+
min-height: 2rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.wxchtf-body {
|
|
71
|
+
flex: 1 0;
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-flow: row nowrap;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.wxchtf-footer {
|
|
77
|
+
min-height: 2rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.wxchtf-add-btn-wrapper {
|
|
81
|
+
width: 100%;
|
|
82
|
+
text-align: right;
|
|
83
|
+
padding-inline: 0.5rem;
|
|
84
|
+
margin-bottom: 1rem;
|
|
85
|
+
|
|
86
|
+
.wxchtf-add-btn,
|
|
87
|
+
.wxchtf-add-btn-settings {
|
|
88
|
+
border: none;
|
|
89
|
+
background-color: #e4f7f7;
|
|
90
|
+
height: 50px;
|
|
91
|
+
line-height: 50px;
|
|
92
|
+
font-weight: 600;
|
|
93
|
+
opacity: 0.9;
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
> .wxchtf-add-btn {
|
|
98
|
+
padding: 0 24px;
|
|
99
|
+
min-width: 150px;
|
|
100
|
+
border-radius: 50px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
> .wxchtf-add-btn-settings {
|
|
104
|
+
padding: 0 16px;
|
|
105
|
+
min-width: 50px;
|
|
106
|
+
border-radius: 50px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
> .wxchtf-add-btn-group {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
|
|
112
|
+
.wxchtf-add-btn-wrapper {
|
|
113
|
+
width: auto;
|
|
114
|
+
padding-inline: 0;
|
|
115
|
+
margin-bottom: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.wxchtf-add-btn {
|
|
119
|
+
padding: 0 18px;
|
|
120
|
+
min-width: 120px;
|
|
121
|
+
border-radius: 50px 0 0 50px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.wxchtf-add-btn-settings {
|
|
125
|
+
padding: 0 14px;
|
|
126
|
+
min-width: 44px;
|
|
127
|
+
border-radius: 0 50px 50px 0;
|
|
128
|
+
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.wxchtf-main {
|
|
135
|
+
flex: auto;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-flow: column nowrap;
|
|
138
|
+
border-top-right-radius: vars.$radius;
|
|
139
|
+
border-bottom-right-radius: vars.$radius;
|
|
140
|
+
box-shadow: 0px 6px 30px 0px #0cd9e214, 0px 1px 12px 0px #006e720f;
|
|
141
|
+
z-index: 2;
|
|
142
|
+
min-width: 0;
|
|
143
|
+
|
|
144
|
+
.wxchtf-create-chat-panel,
|
|
145
|
+
.wxchtf-auto-reply-panel {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-flow: column nowrap;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
align-items: center;
|
|
150
|
+
height: 100%;
|
|
151
|
+
position: relative;
|
|
152
|
+
|
|
153
|
+
.wxchtf-create-chat-panel-close,
|
|
154
|
+
.wxchtf-auto-reply-panel-close {
|
|
155
|
+
position: absolute;
|
|
156
|
+
right: 25px;
|
|
157
|
+
top: 25px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
form {
|
|
161
|
+
padding: 2rem;
|
|
162
|
+
max-width: 700px;
|
|
163
|
+
width: 100%;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.wxchtf-auto-reply-panel {
|
|
168
|
+
.wxchtf-auto-reply-panel-header {
|
|
169
|
+
width: 100%;
|
|
170
|
+
max-width: 700px;
|
|
171
|
+
padding: 0 2rem;
|
|
172
|
+
margin-bottom: 0.5rem;
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
justify-content: space-between;
|
|
176
|
+
|
|
177
|
+
h3 {
|
|
178
|
+
margin: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.wxchtf-auto-reply-panel-clear {
|
|
182
|
+
padding: 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.wxchtf-create-chat-panel {
|
|
188
|
+
form {
|
|
189
|
+
.wxchtf-create-chat-member-input-list {
|
|
190
|
+
max-height: 15rem;
|
|
191
|
+
overflow-y: auto;
|
|
192
|
+
@include mixins.scrollbar();
|
|
193
|
+
|
|
194
|
+
.ant-list-item {
|
|
195
|
+
padding-inline: 0.5rem;
|
|
196
|
+
|
|
197
|
+
&.--selected {
|
|
198
|
+
background-color: #e6f4ff;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ant-checkbox-wrapper {
|
|
202
|
+
width: 100%;
|
|
203
|
+
|
|
204
|
+
& > span:last-child {
|
|
205
|
+
flex: 1;
|
|
206
|
+
|
|
207
|
+
.ant-list-item-meta {
|
|
208
|
+
align-items: center;
|
|
209
|
+
|
|
210
|
+
.ant-list-item-meta-content h4 {
|
|
211
|
+
margin-bottom: 0;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|