yx-web-sdk 0.0.18 → 0.0.20
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/ait-person-popover/index.js +1 -1
- package/dist/chat-card/index.js +1 -1
- package/dist/chat-content/index.js +1 -1
- package/dist/chat-page/index.js +1 -1
- package/dist/chat-room/index.js +1 -1
- package/dist/common-avatar/index.js +1 -1
- package/dist/components/chat-card/index.vue.d.ts +2 -0
- package/dist/components/img-info-wrapper/index.d.ts +0 -0
- package/dist/{chat-page → components/img-info-wrapper}/index.vue.d.ts +2 -2
- package/dist/img-info-wrapper/index.js +1 -0
- package/dist/index/style2.css +30 -162
- package/dist/index/style4.css +177 -120
- package/dist/index/style6.css +513 -25
- package/dist/index/style7.css +143 -466
- package/dist/{index-0o2Mn1Jl.mjs → index-BPnLB3av.mjs} +1 -1
- package/dist/{index-C14AY1pk.mjs → index-DME8_VYv.mjs} +7 -6
- package/dist/{index-sJcDnl5D.mjs → index-Dwglj7_M.mjs} +1 -1
- package/dist/index-entry/index.js +5 -5
- package/dist/index-entry/style.css +19 -19
- package/dist/{index.vue_vue_type_script_setup_true_lang-0YeDxfed.mjs → index.vue_vue_type_script_setup_true_lang-C18d9C8W.mjs} +9 -3
- package/dist/{index.vue_vue_type_style_index_0_lang-UfvEW_0n.mjs → index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs} +137 -57
- package/dist/index.vue_vue_type_style_index_0_lang-CBpDXwwP.mjs +589 -0
- package/dist/{index.vue_vue_type_style_index_0_lang-BxxUcry3.mjs → index.vue_vue_type_style_index_0_lang-E3PcX8MA.mjs} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_lang-BdIDeEyF.mjs → index.vue_vue_type_style_index_0_lang-QCNj8WyS.mjs} +171 -40
- package/dist/members-sidebar/index.js +1 -1
- package/dist/notice-box/index.js +1 -1
- package/dist/server-channel-sidebar/index.js +1 -1
- package/dist/stores/channel.d.ts +50 -14
- package/dist/stores/qchat.d.ts +3 -3
- package/dist/stores/sdk.d.ts +0 -8
- package/dist/stores/server.d.ts +26 -26
- package/dist/style.css +180 -90
- package/dist/types/qchat-server.d.ts +1 -1
- package/dist/utils/index.d.ts +10 -2
- package/dist/yx-web-sdk.es.js +644 -296
- package/dist/yx-web-sdk.umd.js +643 -295
- package/package.json +1 -1
- package/dist/ait-person-popover/index.d.ts +0 -3
- package/dist/ait-person-popover/index.vue.d.ts +0 -39
- package/dist/chat-card/index.d.ts +0 -3
- package/dist/chat-card/index.vue.d.ts +0 -25
- package/dist/chat-content/index.d.ts +0 -3
- package/dist/chat-content/index.vue.d.ts +0 -51
- package/dist/chat-page/index.d.ts +0 -3
- package/dist/chat-room/index.d.ts +0 -3
- package/dist/chat-room/index.vue.d.ts +0 -9
- package/dist/common-avatar/index.d.ts +0 -3
- package/dist/common-avatar/index.vue.d.ts +0 -17
- package/dist/icon-font/index.d.ts +0 -48
- package/dist/index-entry/index.d.ts +0 -2
- package/dist/index-entry/index.vue.d.ts +0 -24
- package/dist/index.vue_vue_type_style_index_0_lang-oO4NDv0U.mjs +0 -456
- package/dist/members-sidebar/index.d.ts +0 -3
- package/dist/members-sidebar/index.vue.d.ts +0 -4
- package/dist/notice-box/index.d.ts +0 -3
- package/dist/notice-box/index.vue.d.ts +0 -13
- package/dist/server-channel-sidebar/index.d.ts +0 -3
- package/dist/server-channel-sidebar/index.vue.d.ts +0 -21
- /package/dist/{index.vue_vue_type_style_index_0_lang-B2YRkoln.mjs → index.vue_vue_type_style_index_0_lang-BxXBf_VA.mjs} +0 -0
package/dist/chat-card/index.js
CHANGED
package/dist/chat-page/index.js
CHANGED
package/dist/chat-room/index.js
CHANGED
|
@@ -6,6 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
myAccid?: string;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
|
+
revokeMessage: (msg: QChatMessage) => any;
|
|
9
10
|
resendText: (msg: QChatMessage) => any;
|
|
10
11
|
resendImg: (msg: QChatMessage) => any;
|
|
11
12
|
resendFile: (msg: QChatMessage) => any;
|
|
@@ -13,6 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
13
14
|
contextMenuSwitch: (bol: boolean) => any;
|
|
14
15
|
quoteMsgClick: (msg: QChatMessage) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onRevokeMessage?: ((msg: QChatMessage) => any) | undefined;
|
|
16
18
|
onResendText?: ((msg: QChatMessage) => any) | undefined;
|
|
17
19
|
onResendImg?: ((msg: QChatMessage) => any) | undefined;
|
|
18
20
|
onResendFile?: ((msg: QChatMessage) => any) | undefined;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { UploadFileResult } from 'nim-web-sdk-ng/dist/v1/QCHAT_BROWSER_SDK/CloudStorageServiceInterface';
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
myAvatar?: string;
|
|
3
|
+
attach: UploadFileResult | undefined;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/index/style2.css
CHANGED
|
@@ -1,175 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.yx-chatroomWrapper .chatroomContent {
|
|
8
|
-
flex: 1;
|
|
9
|
-
padding: 24px;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
}
|
|
12
|
-
.yx-chatroomWrapper .chatroomContent.is-scroll-locked {
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
15
|
-
.yx-chatroomWrapper .chatroomContentNoMore {
|
|
16
|
-
text-align: center;
|
|
17
|
-
height: 21px;
|
|
18
|
-
line-height: 21px;
|
|
19
|
-
}
|
|
20
|
-
.yx-chatroomWrapper .emptyChatroomContent {
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: flex-end;
|
|
27
|
-
}
|
|
28
|
-
.yx-chatroomWrapper .emptyChatroomContent h1 {
|
|
29
|
-
color: var(--theme-text);
|
|
30
|
-
margin: 0;
|
|
31
|
-
font-size: 24px;
|
|
32
|
-
}
|
|
33
|
-
.yx-chatroomWrapper .emptyChatroomContent div {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
color: #b3b7bc;
|
|
36
|
-
}
|
|
37
|
-
.yx-chatroomWrapper .chatroomControllerContainer {
|
|
38
|
-
padding: 0px 12px 12px;
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper {
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
color: var(--theme-text-secondary, #9c9db4);
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.yx-channel-notice {
|
|
3
|
+
background: var(--theme-im-n-bg, #dbe2fa);
|
|
4
|
+
border-radius: 6px;
|
|
5
|
+
padding: 13px 16px;
|
|
6
|
+
color: var(--theme-primary, #000);
|
|
44
7
|
display: flex;
|
|
45
|
-
|
|
46
|
-
gap: 12px;
|
|
47
|
-
border-bottom: 1px solid var(--theme-line, #e3e3ee);
|
|
48
|
-
padding-bottom: 12px;
|
|
49
|
-
margin-bottom: 12px;
|
|
50
|
-
position: relative;
|
|
51
|
-
}
|
|
52
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
|
|
53
|
-
position: absolute;
|
|
54
|
-
right: 0;
|
|
55
|
-
top: 0;
|
|
56
|
-
color: var(--theme-text, #252b3a);
|
|
57
|
-
}
|
|
58
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
|
|
59
|
-
-webkit-user-select: none;
|
|
60
|
-
-moz-user-select: none;
|
|
61
|
-
-ms-user-select: none;
|
|
62
|
-
user-select: none;
|
|
63
|
-
}
|
|
64
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
|
|
65
|
-
color: var(--theme-text, #252b3a);
|
|
8
|
+
align-items: center;
|
|
66
9
|
overflow: hidden;
|
|
67
|
-
text-overflow: ellipsis;
|
|
68
|
-
white-space: nowrap;
|
|
69
|
-
max-width: 100%;
|
|
70
|
-
}
|
|
71
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
|
|
72
|
-
color: var(--theme-text, #252b3a);
|
|
73
|
-
word-break: break-all;
|
|
74
|
-
white-space: pre-wrap;
|
|
75
|
-
text-align: left;
|
|
76
10
|
max-width: 100%;
|
|
77
|
-
width: -moz-fit-content;
|
|
78
|
-
width: fit-content;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
-webkit-line-clamp: 3;
|
|
81
|
-
-webkit-box-orient: vertical;
|
|
82
|
-
display: -webkit-box;
|
|
83
|
-
}
|
|
84
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
|
|
85
|
-
user-drag: none;
|
|
86
|
-
-webkit-user-drag: none;
|
|
87
|
-
pointer-events: none;
|
|
88
|
-
}
|
|
89
|
-
.yx-chatroomWrapper {
|
|
90
|
-
--input-controller-height: 34px;
|
|
91
|
-
}
|
|
92
|
-
.yx-chatroomWrapper .chatroomControllerWrapper {
|
|
93
|
-
padding: 12px;
|
|
94
|
-
border-radius: 8px;
|
|
95
|
-
background-color: var(--theme-default-bg, #fff);
|
|
96
11
|
width: 100%;
|
|
97
|
-
color: var(--theme-line, #e3e3ee);
|
|
98
|
-
border: 1px solid var(--theme-line, #e3e3ee);
|
|
99
|
-
box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
|
|
100
|
-
}
|
|
101
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
|
|
102
|
-
display: flex;
|
|
103
|
-
}
|
|
104
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
|
|
105
|
-
align-self: flex-end;
|
|
106
|
-
min-height: var(--input-controller-height);
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
}
|
|
110
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
|
|
111
|
-
width: 28px;
|
|
112
|
-
height: 28px;
|
|
113
|
-
padding: 0;
|
|
114
|
-
}
|
|
115
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
|
|
116
|
-
display: flex;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
}
|
|
120
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
|
|
121
|
-
width: 1px;
|
|
122
|
-
height: 24px;
|
|
123
|
-
background-color: var(--theme-line, #e3e3ee);
|
|
124
|
-
margin-top: 3px;
|
|
125
|
-
margin-bottom: 3px;
|
|
126
|
-
}
|
|
127
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
|
|
128
|
-
width: var(--input-controller-height);
|
|
129
|
-
height: var(--input-controller-height);
|
|
130
|
-
padding: 0;
|
|
131
|
-
background-color: var(--theme-btn-primary, #000);
|
|
132
|
-
border-radius: 50%;
|
|
133
|
-
display: flex;
|
|
134
|
-
align-items: center;
|
|
135
|
-
justify-content: center;
|
|
136
12
|
}
|
|
137
|
-
.yx-
|
|
138
|
-
|
|
13
|
+
.yx-channel-notice .yx-channel-notice-icon {
|
|
14
|
+
width: 20px;
|
|
15
|
+
height: 20px;
|
|
16
|
+
margin-right: 16px;
|
|
17
|
+
flex-shrink: 0;
|
|
139
18
|
}
|
|
140
|
-
.yx-
|
|
141
|
-
color: var(--theme-light-text, #fff);
|
|
142
|
-
}
|
|
143
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
|
|
144
|
-
align-self: center;
|
|
19
|
+
.yx-channel-notice .yx-channel-notice-text {
|
|
145
20
|
flex: 1;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
border-radius: 8px;
|
|
149
|
-
border: none;
|
|
150
|
-
outline: none;
|
|
151
|
-
resize: none;
|
|
152
|
-
color: var(--theme-text, #252b3a);
|
|
153
|
-
background-color: var(--theme-default-bg, #fff);
|
|
154
|
-
font-size: 16px;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
overflow: hidden;
|
|
155
23
|
}
|
|
156
|
-
.yx-
|
|
157
|
-
|
|
24
|
+
.yx-channel-notice .yx-channel-notice-text-inner {
|
|
25
|
+
line-height: 22px;
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
white-space: nowrap;
|
|
158
28
|
}
|
|
159
|
-
.yx-
|
|
160
|
-
|
|
29
|
+
.yx-channel-notice .yx-channel-notice-text-inner.yx-channel-notice-text--scroll {
|
|
30
|
+
animation: yx-notice-scroll var(--yx-notice-duration, 15s) linear infinite;
|
|
161
31
|
}
|
|
162
|
-
.yx-
|
|
163
|
-
|
|
32
|
+
.yx-channel-notice .yx-channel-notice-text-item {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
padding-right: 2em; /* 两段文字之间的间隔 */
|
|
164
35
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
36
|
+
@keyframes yx-notice-scroll {
|
|
37
|
+
0% {
|
|
38
|
+
transform: translateX(0);
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
transform: translateX(-50%);
|
|
169
42
|
}
|
|
170
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
|
|
171
|
-
min-height: var(--input-controller-height);
|
|
172
|
-
display: flex;
|
|
173
|
-
align-items: flex-end;
|
|
174
|
-
gap: 12px;
|
|
175
43
|
}
|
package/dist/index/style4.css
CHANGED
|
@@ -1,94 +1,89 @@
|
|
|
1
|
-
|
|
2
|
-
.yx-chatCardWrapper {
|
|
1
|
+
.yx-chatroomWrapper {
|
|
3
2
|
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
4
|
display: flex;
|
|
5
|
-
|
|
5
|
+
flex-direction: column;
|
|
6
6
|
}
|
|
7
|
-
.yx-
|
|
8
|
-
|
|
7
|
+
.yx-chatroomWrapper .chatroomContent {
|
|
8
|
+
flex: 1;
|
|
9
|
+
padding: 24px;
|
|
10
|
+
overflow-y: auto;
|
|
9
11
|
}
|
|
10
|
-
.yx-
|
|
11
|
-
|
|
12
|
+
.yx-chatroomWrapper .chatroomContent.is-scroll-locked {
|
|
13
|
+
overflow: hidden;
|
|
12
14
|
}
|
|
13
|
-
.yx-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
.yx-chatroomWrapper .chatroomContentNoMore {
|
|
16
|
+
text-align: center;
|
|
17
|
+
height: 21px;
|
|
18
|
+
line-height: 21px;
|
|
17
19
|
}
|
|
18
|
-
.yx-
|
|
20
|
+
.yx-chatroomWrapper .emptyChatroomContent {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
19
23
|
display: flex;
|
|
20
|
-
flex-direction:
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
justify-content: flex-end;
|
|
21
27
|
}
|
|
22
|
-
.yx-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
.yx-chatroomWrapper .emptyChatroomContent h1 {
|
|
29
|
+
color: var(--theme-text);
|
|
30
|
+
margin: 0;
|
|
31
|
+
font-size: 24px;
|
|
25
32
|
}
|
|
26
|
-
.yx-
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
.yx-chatroomWrapper .emptyChatroomContent div {
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
color: #b3b7bc;
|
|
29
36
|
}
|
|
30
|
-
.yx-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
37
|
+
.yx-chatroomWrapper .chatroomControllerContainer {
|
|
38
|
+
padding: 0px 12px 12px;
|
|
39
|
+
width: 100%;
|
|
35
40
|
}
|
|
36
|
-
.yx-
|
|
37
|
-
font-size:
|
|
38
|
-
color: var(--theme-text, #
|
|
39
|
-
text-align: left;
|
|
40
|
-
margin-bottom: 3px;
|
|
41
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper {
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
color: var(--theme-text-secondary, #9c9db4);
|
|
41
44
|
display: flex;
|
|
42
|
-
|
|
43
|
-
gap:
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: 12px;
|
|
47
|
+
border-bottom: 1px solid var(--theme-line, #e3e3ee);
|
|
48
|
+
padding-bottom: 12px;
|
|
49
|
+
margin-bottom: 12px;
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox {
|
|
53
|
+
padding-left: 20px;
|
|
54
|
+
position: relative;
|
|
55
|
+
}
|
|
56
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox:before {
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: 0;
|
|
59
|
+
top: 0.5em;
|
|
60
|
+
bottom: 0.5em;
|
|
61
|
+
content: "";
|
|
62
|
+
display: block;
|
|
63
|
+
width: 4px;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
background-color: var(--theme-line, #e3e3ee);
|
|
66
|
+
}
|
|
67
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
|
|
68
|
+
position: absolute;
|
|
69
|
+
right: 0;
|
|
70
|
+
top: 0;
|
|
71
|
+
color: var(--theme-text, #252b3a);
|
|
44
72
|
}
|
|
45
|
-
.yx-
|
|
73
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
|
|
74
|
+
-webkit-user-select: none;
|
|
75
|
+
-moz-user-select: none;
|
|
76
|
+
-ms-user-select: none;
|
|
77
|
+
user-select: none;
|
|
78
|
+
}
|
|
79
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
|
|
46
80
|
color: var(--theme-text, #252b3a);
|
|
47
|
-
font-weight: 500;
|
|
48
|
-
font-size: 16px;
|
|
49
81
|
overflow: hidden;
|
|
50
82
|
text-overflow: ellipsis;
|
|
51
83
|
white-space: nowrap;
|
|
52
84
|
max-width: 100%;
|
|
53
|
-
max-width: 375px;
|
|
54
|
-
}
|
|
55
|
-
.yx-chatCardWrapper .chatCardInfo .chatCardInfoTime {
|
|
56
|
-
color: var(--theme-placeholder, #9c9db4);
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
}
|
|
59
|
-
.yx-chatCardWrapper .chatCardStatus {
|
|
60
|
-
margin-left: 10px;
|
|
61
|
-
}
|
|
62
|
-
.yx-chatCardWrapper .chatCardMainContent.myMsg .textMsg {
|
|
63
|
-
color: var(--theme-light-text, #fff);
|
|
64
|
-
background-color: var(--theme-btn-primary, #000);
|
|
65
|
-
}
|
|
66
|
-
.yx-chatCardWrapper .chatCardMainContent.otherMsg .textMsg {
|
|
67
|
-
background-color: var(--theme-area, #f1f1f8);
|
|
68
|
-
}
|
|
69
|
-
.yx-chatCardWrapper .textMsg {
|
|
70
|
-
font-size: 16px;
|
|
71
|
-
padding: 12px 16px;
|
|
72
|
-
color: var(--theme-text, #252b3a);
|
|
73
|
-
word-break: break-all;
|
|
74
|
-
white-space: pre-wrap;
|
|
75
|
-
text-align: left;
|
|
76
|
-
border-radius: 8px;
|
|
77
|
-
max-width: 100%;
|
|
78
|
-
width: -moz-fit-content;
|
|
79
|
-
width: fit-content;
|
|
80
|
-
}
|
|
81
|
-
.yx-chatCardWrapper .textMsg a {
|
|
82
|
-
color: var(--theme-link, #2951e0) !important;
|
|
83
|
-
}
|
|
84
|
-
.yx-chatCardWrapper .chatCardQuoteMsg {
|
|
85
|
-
margin-top: 8px;
|
|
86
|
-
font-size: 16px;
|
|
87
|
-
padding: 12px 16px;
|
|
88
|
-
background-color: var(--theme-home-tab-bg-color, #f2f2f2);
|
|
89
|
-
border-radius: 8px;
|
|
90
85
|
}
|
|
91
|
-
.yx-
|
|
86
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
|
|
92
87
|
color: var(--theme-text, #252b3a);
|
|
93
88
|
word-break: break-all;
|
|
94
89
|
white-space: pre-wrap;
|
|
@@ -96,73 +91,135 @@
|
|
|
96
91
|
max-width: 100%;
|
|
97
92
|
width: -moz-fit-content;
|
|
98
93
|
width: fit-content;
|
|
94
|
+
overflow: hidden;
|
|
99
95
|
-webkit-line-clamp: 3;
|
|
100
96
|
-webkit-box-orient: vertical;
|
|
101
97
|
display: -webkit-box;
|
|
102
|
-
overflow: hidden;
|
|
103
98
|
}
|
|
104
|
-
.yx-
|
|
99
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
|
|
105
100
|
user-drag: none;
|
|
106
101
|
-webkit-user-drag: none;
|
|
102
|
+
pointer-events: none;
|
|
107
103
|
}
|
|
108
|
-
.yx-
|
|
109
|
-
|
|
110
|
-
width:
|
|
111
|
-
|
|
104
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg {
|
|
105
|
+
position: relative;
|
|
106
|
+
width: 60px;
|
|
107
|
+
height: 60px;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
}
|
|
110
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentWrapperImgMask {
|
|
111
|
+
display: block;
|
|
112
|
+
}
|
|
113
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentDeleteBtn {
|
|
114
|
+
display: block;
|
|
115
|
+
}
|
|
116
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentWrapperImgMask {
|
|
117
|
+
position: absolute;
|
|
118
|
+
width: 100%;
|
|
119
|
+
height: 100%;
|
|
120
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
121
|
+
z-index: 1;
|
|
122
|
+
display: none;
|
|
123
|
+
}
|
|
124
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn {
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: 50%;
|
|
127
|
+
top: 50%;
|
|
128
|
+
transform: translateY(-50%) translateX(50%);
|
|
129
|
+
color: var(--theme-text, #252b3a);
|
|
130
|
+
z-index: 1;
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn svg {
|
|
134
|
+
color: #fff;
|
|
135
|
+
}
|
|
136
|
+
.yx-chatroomWrapper {
|
|
137
|
+
--input-controller-height: 34px;
|
|
138
|
+
}
|
|
139
|
+
.yx-chatroomWrapper .chatroomControllerWrapper {
|
|
140
|
+
padding: 12px;
|
|
141
|
+
border-radius: 8px;
|
|
142
|
+
background-color: var(--theme-default-bg, #fff);
|
|
143
|
+
width: 100%;
|
|
144
|
+
color: var(--theme-line, #e3e3ee);
|
|
145
|
+
border: 1px solid var(--theme-line, #e3e3ee);
|
|
146
|
+
box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
|
|
147
|
+
}
|
|
148
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
|
|
149
|
+
display: flex;
|
|
150
|
+
}
|
|
151
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
|
|
152
|
+
align-self: flex-end;
|
|
153
|
+
min-height: var(--input-controller-height);
|
|
112
154
|
display: flex;
|
|
113
155
|
align-items: center;
|
|
114
|
-
padding: 12px 16px;
|
|
115
|
-
border-radius: 8px;
|
|
116
156
|
}
|
|
117
|
-
.yx-
|
|
118
|
-
|
|
119
|
-
|
|
157
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
|
|
158
|
+
width: 28px;
|
|
159
|
+
height: 28px;
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
|
|
120
163
|
display: flex;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
justify-content: space-between;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
124
166
|
}
|
|
125
|
-
.yx-
|
|
126
|
-
|
|
167
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
|
|
168
|
+
width: 1px;
|
|
169
|
+
height: 24px;
|
|
170
|
+
background-color: var(--theme-line, #e3e3ee);
|
|
171
|
+
margin-top: 3px;
|
|
172
|
+
margin-bottom: 3px;
|
|
127
173
|
}
|
|
128
|
-
.yx-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
padding: 4px 0;
|
|
138
|
-
background: var(--theme-default-bg, #fff);
|
|
139
|
-
border-radius: 6px;
|
|
140
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
141
|
-
border: 1px solid var(--theme-line, #e3e3ee);
|
|
174
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
|
|
175
|
+
width: var(--input-controller-height);
|
|
176
|
+
height: var(--input-controller-height);
|
|
177
|
+
padding: 0;
|
|
178
|
+
background-color: var(--theme-btn-primary, #000);
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
display: flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
justify-content: center;
|
|
142
183
|
}
|
|
143
|
-
.yx-
|
|
144
|
-
|
|
145
|
-
|
|
184
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp[disabled] {
|
|
185
|
+
background-color: var(--theme-disabled-tag-border1, #cccccc);
|
|
186
|
+
}
|
|
187
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp [aria-label=arrow-up] {
|
|
188
|
+
color: var(--theme-light-text, #fff);
|
|
189
|
+
}
|
|
190
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
|
|
191
|
+
align-self: center;
|
|
192
|
+
flex: 1;
|
|
193
|
+
height: 100%;
|
|
194
|
+
line-height: 100%;
|
|
195
|
+
border-radius: 8px;
|
|
196
|
+
border: none;
|
|
197
|
+
outline: none;
|
|
198
|
+
resize: none;
|
|
146
199
|
color: var(--theme-text, #252b3a);
|
|
147
|
-
|
|
148
|
-
|
|
200
|
+
background-color: var(--theme-default-bg, #fff);
|
|
201
|
+
font-size: 16px;
|
|
149
202
|
}
|
|
150
|
-
.yx-
|
|
151
|
-
|
|
203
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::-moz-placeholder {
|
|
204
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
152
205
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
.yx-flash-a-moment .flash-target {
|
|
156
|
-
animation: flash-a-moment 1s ease-in-out 1 forwards;
|
|
206
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:-ms-input-placeholder {
|
|
207
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
157
208
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
opacity: 1;
|
|
209
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::placeholder {
|
|
210
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
161
211
|
}
|
|
162
|
-
|
|
163
|
-
|
|
212
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:active, .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:focus {
|
|
213
|
+
border: none;
|
|
214
|
+
outline: none;
|
|
215
|
+
box-shadow: none;
|
|
164
216
|
}
|
|
165
|
-
|
|
166
|
-
|
|
217
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
|
|
218
|
+
min-height: var(--input-controller-height);
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: flex-end;
|
|
221
|
+
gap: 12px;
|
|
167
222
|
}
|
|
223
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputUpload .anticon-loading {
|
|
224
|
+
color: var(--theme-text, #252b3a);
|
|
168
225
|
}
|