@webinex/chatify 2.0.0-alpha13 → 2.0.0-alpha14
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 → Chatify-CP2jgo8d.js} +191 -118
- package/dist/Chatify-CP2jgo8d.js.map +1 -0
- package/dist/Chatify.css +28 -0
- package/dist/audit.js +3 -2
- package/dist/audit.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/types/audit/index.d.ts +17 -15
- package/dist/types/ui/Chat/ChatContext.d.ts +2 -0
- package/dist/types/ui/Chat/ChatPanel.d.ts +7 -0
- package/dist/types/ui/Chat/ChatView.d.ts +4 -2
- package/dist/types/ui/ChatGroup/ChatGroupContext.d.ts +4 -1
- package/dist/types/ui/ChatGroup/ChatGroupPanel.d.ts +21 -2
- package/dist/types/ui/Conversation/Conversation.d.ts +1 -0
- package/dist/types/ui/Conversation/ConversationContext.d.ts +1 -0
- package/dist/types/ui/Conversation/ConversationHeader.d.ts +4 -1
- package/dist/types/ui/localizer.d.ts +4 -1
- package/dist/types/ui/useCompact.d.ts +4 -0
- package/package.json +81 -81
- package/src/audit/AuditChatList.tsx +25 -25
- package/src/audit/AuditConversationPanel.tsx +49 -48
- package/src/audit/AuditPanel.tsx +76 -76
- package/src/audit/AuditPanelCustomizeValue.ts +11 -11
- package/src/audit/AuditSearch.tsx +89 -89
- package/src/audit/AuditSearchValue.tsx +42 -42
- package/src/audit/auditApi.tsx +113 -113
- package/src/audit/index.d.ts +18 -18
- package/src/audit/index.tsx +28 -28
- package/src/audit/styles.scss +72 -72
- package/src/core/api/api.ts +675 -675
- package/src/core/api/baseApi.ts +38 -38
- package/src/core/api/index.ts +1 -1
- package/src/core/client.ts +298 -298
- 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 -182
- package/src/index.ts +2 -2
- package/src/styles/aside.scss +34 -26
- package/src/styles/chat-list.scss +138 -138
- package/src/styles/chat.scss +11 -11
- package/src/styles/conversation.scss +199 -200
- package/src/styles/index.scss +227 -220
- package/src/styles/input.scss +148 -148
- package/src/styles/keyframes.scss +14 -14
- package/src/styles/members.scss +30 -13
- package/src/styles/mixins.scss +38 -25
- package/src/styles/variables.scss +13 -13
- package/src/ui/Chat/ChatContext.tsx +32 -30
- package/src/ui/Chat/ChatEditableHeaderName.tsx +63 -63
- package/src/ui/Chat/ChatHeaderActions.tsx +19 -19
- package/src/ui/Chat/ChatPanel.tsx +46 -30
- package/src/ui/Chat/ChatView.tsx +122 -115
- package/src/ui/Chat/Members/ChatMembersButton.tsx +9 -9
- package/src/ui/Chat/Members/ChatMembersPanel.tsx +128 -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 -21
- package/src/ui/ChatGroup/AutoReply/AutoReplyForm.tsx +50 -50
- package/src/ui/ChatGroup/AutoReply/AutoReplyPanel.tsx +94 -94
- package/src/ui/ChatGroup/AutoReply/AutoReplyPeriodInput.tsx +22 -22
- package/src/ui/ChatGroup/AutoReply/AutoReplyTextInput.tsx +22 -22
- package/src/ui/ChatGroup/AutoReply/index.ts +19 -19
- package/src/ui/ChatGroup/ChatGroupContext.tsx +63 -61
- package/src/ui/ChatGroup/ChatGroupPanel.tsx +110 -75
- 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 -15
- package/src/ui/ChatGroup/Layout/ChatGroupAside.tsx +12 -12
- package/src/ui/ChatGroup/Layout/ChatGroupBody.tsx +17 -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 +21 -19
- package/src/ui/ChatGroup/Layout/index.ts +22 -22
- package/src/ui/ChatGroup/List/ChatListPanel.tsx +28 -28
- package/src/ui/ChatGroup/List/index.ts +8 -8
- package/src/ui/ChatGroup/index.ts +6 -6
- package/src/ui/Chatify.tsx +15 -15
- package/src/ui/Conversation/Conversation.tsx +96 -92
- package/src/ui/Conversation/ConversationActions.tsx +12 -12
- package/src/ui/Conversation/ConversationBody.tsx +28 -28
- package/src/ui/Conversation/ConversationContext.ts +31 -30
- package/src/ui/Conversation/ConversationHeader.tsx +35 -19
- package/src/ui/Conversation/ConversationName.tsx +7 -7
- package/src/ui/Conversation/InputBox/InputBox.tsx +126 -126
- package/src/ui/Conversation/InputBox/InputBoxFile.tsx +38 -38
- package/src/ui/Conversation/InputBox/InputBoxFileList.tsx +21 -21
- package/src/ui/Conversation/InputBox/InputFilesBox.tsx +78 -78
- package/src/ui/Conversation/InputBox/InputSubmitButtonBox.tsx +26 -26
- package/src/ui/Conversation/InputBox/InputTextBox.tsx +63 -61
- package/src/ui/Conversation/InputBox/index.ts +23 -23
- 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 -15
- package/src/ui/Conversation/Message/MessageFile.tsx +54 -54
- package/src/ui/Conversation/Message/MessageFileList.tsx +14 -14
- 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 -28
- 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 +128 -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 +83 -84
- package/src/ui/common/ChatList/ChatListItemAvatar.tsx +22 -22
- package/src/ui/common/ChatList/ChatListItemBox.tsx +32 -32
- package/src/ui/common/ChatList/ChatListItemLastMessage.tsx +15 -15
- package/src/ui/common/ChatList/ChatListItemLastMessageAuthor.tsx +15 -15
- package/src/ui/common/ChatList/ChatListItemLastMessageContent.tsx +21 -21
- package/src/ui/common/ChatList/ChatListItemLastMessageSentAt.tsx +22 -22
- package/src/ui/common/ChatList/ChatListItemName.tsx +8 -8
- package/src/ui/common/ChatList/ChatListItemUnreadCount.tsx +12 -12
- package/src/ui/common/ChatList/ChatListValue.ts +9 -9
- package/src/ui/common/ChatList/index.ts +32 -32
- package/src/ui/common/Icon.tsx +48 -48
- package/src/ui/common/MessageSkeleton.tsx +20 -20
- package/src/ui/common/index.ts +14 -14
- package/src/ui/customize.tsx +51 -51
- package/src/ui/index.ts +11 -11
- package/src/ui/localizer.tsx +148 -137
- package/src/ui/useCompact.tsx +32 -0
- package/src/ui/useFormatter.tsx +17 -17
- package/dist/Chatify-CwAfN1wu.js.map +0 -1
package/src/styles/index.scss
CHANGED
|
@@ -1,220 +1,227 @@
|
|
|
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-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
width:
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
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-chat-group.--compact {
|
|
135
|
+
.wxchtf-main {
|
|
136
|
+
border-top-left-radius: vars.$radius;
|
|
137
|
+
border-bottom-left-radius: vars.$radius;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.wxchtf-main {
|
|
142
|
+
flex: auto;
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-flow: column nowrap;
|
|
145
|
+
border-top-right-radius: vars.$radius;
|
|
146
|
+
border-bottom-right-radius: vars.$radius;
|
|
147
|
+
box-shadow: 0px 6px 30px 0px #0cd9e214, 0px 1px 12px 0px #006e720f;
|
|
148
|
+
z-index: 2;
|
|
149
|
+
min-width: 0;
|
|
150
|
+
|
|
151
|
+
.wxchtf-create-chat-panel,
|
|
152
|
+
.wxchtf-auto-reply-panel {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-flow: column nowrap;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
align-items: center;
|
|
157
|
+
height: 100%;
|
|
158
|
+
position: relative;
|
|
159
|
+
|
|
160
|
+
.wxchtf-create-chat-panel-close,
|
|
161
|
+
.wxchtf-auto-reply-panel-close {
|
|
162
|
+
position: absolute;
|
|
163
|
+
right: 25px;
|
|
164
|
+
top: 25px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
form {
|
|
168
|
+
padding: 2rem;
|
|
169
|
+
max-width: 700px;
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.wxchtf-auto-reply-panel {
|
|
175
|
+
.wxchtf-auto-reply-panel-header {
|
|
176
|
+
width: 100%;
|
|
177
|
+
max-width: 700px;
|
|
178
|
+
padding: 0 2rem;
|
|
179
|
+
margin-bottom: 0.5rem;
|
|
180
|
+
display: flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
|
|
184
|
+
h3 {
|
|
185
|
+
margin: 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.wxchtf-auto-reply-panel-clear {
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.wxchtf-create-chat-panel {
|
|
195
|
+
form {
|
|
196
|
+
.wxchtf-create-chat-member-input-list {
|
|
197
|
+
max-height: 15rem;
|
|
198
|
+
overflow-y: auto;
|
|
199
|
+
@include mixins.scrollbar();
|
|
200
|
+
|
|
201
|
+
.ant-list-item {
|
|
202
|
+
padding-inline: 0.5rem;
|
|
203
|
+
|
|
204
|
+
&.--selected {
|
|
205
|
+
background-color: #e6f4ff;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ant-checkbox-wrapper {
|
|
209
|
+
width: 100%;
|
|
210
|
+
|
|
211
|
+
& > span:last-child {
|
|
212
|
+
flex: 1;
|
|
213
|
+
|
|
214
|
+
.ant-list-item-meta {
|
|
215
|
+
align-items: center;
|
|
216
|
+
|
|
217
|
+
.ant-list-item-meta-content h4 {
|
|
218
|
+
margin-bottom: 0;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|