yx-web-sdk 0.0.25 → 0.0.26

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.
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-W7dxGxaU.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-CJ6N1ut8.mjs";
2
2
  export {
3
3
  _sfc_main as ChatContent,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-CIKNiKfF.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_style_index_0_lang-D8SCARR2.mjs";
2
2
  export {
3
3
  _sfc_main as ChatPage,
4
4
  _sfc_main as default
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../index.vue_vue_type_script_setup_true_lang-CGOFFaNL.mjs";
1
+ import { _ as _sfc_main } from "../index.vue_vue_type_script_setup_true_lang-BpYIybBN.mjs";
2
2
  export {
3
3
  _sfc_main as ChatRoom,
4
4
  _sfc_main as default
@@ -1,15 +1,15 @@
1
- .sidebar-container[data-v-f63a486d] {
1
+ .sidebar-container[data-v-04cfb3a7] {
2
2
  display: flex;
3
3
  height: 100%;
4
4
  position: relative;
5
5
  }
6
- .sidebar-container.is-switching .server-item[data-v-f63a486d],
7
- .sidebar-container.is-switching .channel-item[data-v-f63a486d] {
6
+ .sidebar-container.is-switching .server-item[data-v-04cfb3a7],
7
+ .sidebar-container.is-switching .channel-item[data-v-04cfb3a7] {
8
8
  cursor: not-allowed;
9
9
  opacity: 0.6;
10
10
  pointer-events: none;
11
11
  }
12
- .user-panel-float[data-v-f63a486d] {
12
+ .user-panel-float[data-v-04cfb3a7] {
13
13
  position: absolute;
14
14
  bottom: 12px;
15
15
  left: 12px;
@@ -23,11 +23,11 @@
23
23
  border-radius: 8px;
24
24
  box-shadow: 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431);
25
25
  }
26
- .user-panel-float .user-avatar[data-v-f63a486d] {
26
+ .user-panel-float .user-avatar[data-v-04cfb3a7] {
27
27
  position: relative;
28
28
  flex-shrink: 0;
29
29
  }
30
- .user-panel-float .user-avatar .online-indicator[data-v-f63a486d] {
30
+ .user-panel-float .user-avatar .online-indicator[data-v-04cfb3a7] {
31
31
  position: absolute;
32
32
  bottom: 0;
33
33
  right: 0;
@@ -37,12 +37,12 @@
37
37
  border: 3px solid #1a1b1e;
38
38
  border-radius: 50%;
39
39
  }
40
- .user-panel-float .user-info[data-v-f63a486d] {
40
+ .user-panel-float .user-info[data-v-04cfb3a7] {
41
41
  flex: 1;
42
42
  overflow: hidden;
43
43
  min-width: 0;
44
44
  }
45
- .user-panel-float .user-info .user-name[data-v-f63a486d] {
45
+ .user-panel-float .user-info .user-name[data-v-04cfb3a7] {
46
46
  font-size: 14px;
47
47
  font-weight: 600;
48
48
  color: var(--theme-text);
@@ -50,25 +50,25 @@
50
50
  text-overflow: ellipsis;
51
51
  white-space: nowrap;
52
52
  }
53
- .user-panel-float .user-info .user-status[data-v-f63a486d] {
53
+ .user-panel-float .user-info .user-status[data-v-04cfb3a7] {
54
54
  display: flex;
55
55
  align-items: center;
56
56
  gap: 4px;
57
57
  font-size: 12px;
58
58
  color: var(--theme-success-text);
59
59
  }
60
- .user-panel-float .user-info .user-status .status-dot[data-v-f63a486d] {
60
+ .user-panel-float .user-info .user-status .status-dot[data-v-04cfb3a7] {
61
61
  width: 8px;
62
62
  height: 8px;
63
63
  background-color: var(--theme-success-text);
64
64
  border-radius: 50%;
65
65
  }
66
- .user-panel-float .user-actions[data-v-f63a486d] {
66
+ .user-panel-float .user-actions[data-v-04cfb3a7] {
67
67
  display: flex;
68
68
  align-items: center;
69
69
  gap: 8px;
70
70
  }
71
- .user-panel-float .user-actions .action-btn[data-v-f63a486d] {
71
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7] {
72
72
  width: 20px;
73
73
  height: 20px;
74
74
  display: flex;
@@ -81,14 +81,14 @@
81
81
  font-size: 16px;
82
82
  outline: none;
83
83
  }
84
- .user-panel-float .user-actions .action-btn[data-v-f63a486d]:hover {
84
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7]:hover {
85
85
  background-color: var(--theme-icon-hover);
86
86
  color: var(--theme-text);
87
87
  }
88
- .user-panel-float .user-actions .action-btn[data-v-f63a486d]:focus {
88
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7]:focus {
89
89
  outline: none;
90
90
  }
91
- .server-sidebar[data-v-f63a486d] {
91
+ .server-sidebar[data-v-04cfb3a7] {
92
92
  display: flex;
93
93
  flex-direction: column;
94
94
  width: 76px;
@@ -96,23 +96,23 @@
96
96
  padding: 0 0 16px;
97
97
  padding-bottom: 73px;
98
98
  }
99
- .server-sidebar .server-list[data-v-f63a486d] {
99
+ .server-sidebar .server-list[data-v-04cfb3a7] {
100
100
  flex: 1;
101
101
  overflow-y: auto;
102
102
  overflow-x: hidden;
103
103
  border-right: 1px solid var(--theme-line);
104
104
  padding-top: 16px;
105
105
  }
106
- .server-sidebar .server-list[data-v-f63a486d]::-webkit-scrollbar {
106
+ .server-sidebar .server-list[data-v-04cfb3a7]::-webkit-scrollbar {
107
107
  width: 0;
108
108
  }
109
- .server-sidebar .logo-wrap[data-v-f63a486d] {
109
+ .server-sidebar .logo-wrap[data-v-04cfb3a7] {
110
110
  margin: 0 16px;
111
111
  border-bottom: 1px solid var(--theme-line-split);
112
112
  padding-bottom: 11px;
113
113
  margin-bottom: 4px;
114
114
  }
115
- .server-sidebar .logo-wrap .logo[data-v-f63a486d] {
115
+ .server-sidebar .logo-wrap .logo[data-v-04cfb3a7] {
116
116
  width: 40px;
117
117
  height: 40px;
118
118
  border-radius: 8px;
@@ -123,7 +123,7 @@
123
123
  overflow: hidden;
124
124
  transition: border-radius 0.15s ease-out, background-color 0.15s ease-out;
125
125
  }
126
- .server-sidebar .server-item[data-v-f63a486d] {
126
+ .server-sidebar .server-item[data-v-04cfb3a7] {
127
127
  position: relative;
128
128
  display: flex;
129
129
  align-items: center;
@@ -131,7 +131,7 @@
131
131
  padding: 8px 18px;
132
132
  cursor: pointer;
133
133
  }
134
- .server-sidebar .server-item .server-icon[data-v-f63a486d] {
134
+ .server-sidebar .server-item .server-icon[data-v-04cfb3a7] {
135
135
  min-width: 40px;
136
136
  min-height: 40px;
137
137
  width: 40px;
@@ -144,7 +144,7 @@
144
144
  overflow: hidden;
145
145
  transition: border-radius 0.15s ease-out, background-color 0.15s ease-out;
146
146
  }
147
- .server-sidebar .server-item .server-icon img[data-v-f63a486d] {
147
+ .server-sidebar .server-item .server-icon img[data-v-04cfb3a7] {
148
148
  width: 40px;
149
149
  height: 40px;
150
150
  min-width: 40px;
@@ -152,19 +152,19 @@
152
152
  -o-object-fit: cover;
153
153
  object-fit: cover;
154
154
  }
155
- .server-sidebar .server-item .server-icon .server-initial[data-v-f63a486d] {
155
+ .server-sidebar .server-item .server-icon .server-initial[data-v-04cfb3a7] {
156
156
  font-size: 18px;
157
157
  font-weight: 500;
158
158
  color: var(--theme-text);
159
159
  }
160
- .server-sidebar .server-item:hover .server-icon[data-v-f63a486d], .server-sidebar .server-item.active .server-icon[data-v-f63a486d] {
160
+ .server-sidebar .server-item:hover .server-icon[data-v-04cfb3a7], .server-sidebar .server-item.active .server-icon[data-v-04cfb3a7] {
161
161
  border: 1px solid var(--theme-default-bg);
162
162
  box-shadow: var(--theme-shadow-2, 0px 1px 3px 0px rgba(29, 31, 58, 0.0588235294), 0px 2px 6px 0px rgba(29, 31, 58, 0.0588235294), 0px 4px 12px 0px rgba(29, 31, 58, 0.0588235294), 0px 8px 24px 0px rgba(29, 31, 58, 0.0588235294));
163
163
  }
164
- .server-sidebar .server-item:hover .server-icon .server-initial[data-v-f63a486d], .server-sidebar .server-item.active .server-icon .server-initial[data-v-f63a486d] {
164
+ .server-sidebar .server-item:hover .server-icon .server-initial[data-v-04cfb3a7], .server-sidebar .server-item.active .server-icon .server-initial[data-v-04cfb3a7] {
165
165
  color: var(--theme-light-text);
166
166
  }
167
- .server-sidebar .server-item[data-v-f63a486d]::before {
167
+ .server-sidebar .server-item[data-v-04cfb3a7]::before {
168
168
  content: "";
169
169
  position: absolute;
170
170
  top: 50%;
@@ -177,20 +177,20 @@
177
177
  border-bottom-right-radius: 8px;
178
178
  transition: height 0.15s ease-out;
179
179
  }
180
- .server-sidebar .server-item.active[data-v-f63a486d]::before {
180
+ .server-sidebar .server-item.active[data-v-04cfb3a7]::before {
181
181
  height: 40px;
182
182
  }
183
- .server-sidebar .server-item .unread-badge[data-v-f63a486d] {
183
+ .server-sidebar .server-item .unread-badge[data-v-04cfb3a7] {
184
184
  position: absolute;
185
185
  bottom: -4px;
186
186
  right: 4px;
187
187
  }
188
- .server-sidebar .server-item.add-server[data-v-f63a486d] {
188
+ .server-sidebar .server-item.add-server[data-v-04cfb3a7] {
189
189
  margin-top: 8px;
190
190
  padding-top: 8px;
191
191
  border-top: 2px solid var(--theme-global-bg);
192
192
  }
193
- .server-sidebar .server-item.add-server .add-server-btn[data-v-f63a486d] {
193
+ .server-sidebar .server-item.add-server .add-server-btn[data-v-04cfb3a7] {
194
194
  width: 48px;
195
195
  height: 48px;
196
196
  border-radius: 50%;
@@ -203,12 +203,12 @@
203
203
  color: var(--theme-success-text);
204
204
  font-size: 20px;
205
205
  }
206
- .server-sidebar .server-item.add-server .add-server-btn[data-v-f63a486d]:hover {
206
+ .server-sidebar .server-item.add-server .add-server-btn[data-v-04cfb3a7]:hover {
207
207
  border-radius: 16px;
208
208
  background-color: var(--theme-success-text);
209
209
  color: var(--theme-text);
210
210
  }
211
- .channel-sidebar[data-v-f63a486d] {
211
+ .channel-sidebar[data-v-04cfb3a7] {
212
212
  display: flex;
213
213
  flex-direction: column;
214
214
  width: 294px;
@@ -220,7 +220,7 @@
220
220
  padding-bottom: 73px;
221
221
  position: relative;
222
222
  }
223
- .channel-sidebar .resize-handle[data-v-f63a486d] {
223
+ .channel-sidebar .resize-handle[data-v-04cfb3a7] {
224
224
  position: absolute;
225
225
  top: 0;
226
226
  right: -3px;
@@ -230,17 +230,17 @@
230
230
  z-index: 20;
231
231
  transition: background-color 0.15s ease;
232
232
  }
233
- .channel-sidebar .resize-handle[data-v-f63a486d]:hover, .channel-sidebar .resize-handle[data-v-f63a486d]:active {
233
+ .channel-sidebar .resize-handle[data-v-04cfb3a7]:hover, .channel-sidebar .resize-handle[data-v-04cfb3a7]:active {
234
234
  background-color: var(--theme-form-control-line-active);
235
235
  }
236
- .channel-sidebar .server-header[data-v-f63a486d] {
236
+ .channel-sidebar .server-header[data-v-04cfb3a7] {
237
237
  display: flex;
238
238
  align-items: center;
239
239
  justify-content: space-between;
240
240
  padding: 22px 20px;
241
241
  border-bottom: 1px solid var(--theme-line);
242
242
  }
243
- .channel-sidebar .server-header .server-name[data-v-f63a486d] {
243
+ .channel-sidebar .server-header .server-name[data-v-04cfb3a7] {
244
244
  font-size: 15px;
245
245
  font-weight: 600;
246
246
  color: var(--theme-stress-text);
@@ -248,26 +248,26 @@
248
248
  text-overflow: ellipsis;
249
249
  white-space: nowrap;
250
250
  }
251
- .channel-sidebar .server-header .server-setting[data-v-f63a486d] {
251
+ .channel-sidebar .server-header .server-setting[data-v-04cfb3a7] {
252
252
  color: #b9bbbe;
253
253
  cursor: pointer;
254
254
  font-size: 16px;
255
255
  }
256
- .channel-sidebar .server-header .server-setting[data-v-f63a486d]:hover {
256
+ .channel-sidebar .server-header .server-setting[data-v-04cfb3a7]:hover {
257
257
  color: #dcddde;
258
258
  }
259
- .channel-sidebar .channel-list[data-v-f63a486d] {
259
+ .channel-sidebar .channel-list[data-v-04cfb3a7] {
260
260
  flex: 1;
261
261
  overflow-y: auto;
262
262
  }
263
- .channel-sidebar .channel-list[data-v-f63a486d]::-webkit-scrollbar {
263
+ .channel-sidebar .channel-list[data-v-04cfb3a7]::-webkit-scrollbar {
264
264
  width: 4px;
265
265
  }
266
- .channel-sidebar .channel-list[data-v-f63a486d]::-webkit-scrollbar-thumb {
266
+ .channel-sidebar .channel-list[data-v-04cfb3a7]::-webkit-scrollbar-thumb {
267
267
  background-color: var(--theme-line);
268
268
  border-radius: 2px;
269
269
  }
270
- .channel-sidebar .channel-item[data-v-f63a486d] {
270
+ .channel-sidebar .channel-item[data-v-04cfb3a7] {
271
271
  display: flex;
272
272
  align-items: center;
273
273
  padding: 0 20px;
@@ -277,39 +277,39 @@
277
277
  cursor: pointer;
278
278
  color: var(--theme-icon-fill-weak);
279
279
  }
280
- .channel-sidebar .channel-item[data-v-f63a486d]:not(:last-child) {
280
+ .channel-sidebar .channel-item[data-v-04cfb3a7]:not(:last-child) {
281
281
  margin-bottom: 2px;
282
282
  }
283
- .channel-sidebar .channel-item[data-v-f63a486d]:hover {
283
+ .channel-sidebar .channel-item[data-v-04cfb3a7]:hover {
284
284
  background-color: var(--theme-select-bg);
285
285
  color: var(--theme-text);
286
286
  }
287
- .channel-sidebar .channel-item:hover .channel-setting[data-v-f63a486d] {
287
+ .channel-sidebar .channel-item:hover .channel-setting[data-v-04cfb3a7] {
288
288
  opacity: 1;
289
289
  }
290
- .channel-sidebar .channel-item.active[data-v-f63a486d] {
290
+ .channel-sidebar .channel-item.active[data-v-04cfb3a7] {
291
291
  background-color: var(--theme-select-bg);
292
292
  color: var(--theme-text);
293
293
  font-weight: 500;
294
294
  font-size: 16px;
295
295
  }
296
- .channel-sidebar .channel-item .channel-icon[data-v-f63a486d] {
296
+ .channel-sidebar .channel-item .channel-icon[data-v-04cfb3a7] {
297
297
  margin-right: 6px;
298
298
  font-size: 20px;
299
299
  font-weight: 400;
300
300
  color: #8e9297;
301
301
  }
302
- .channel-sidebar .channel-item .channel-name[data-v-f63a486d] {
302
+ .channel-sidebar .channel-item .channel-name[data-v-04cfb3a7] {
303
303
  flex: 1;
304
304
  overflow: hidden;
305
305
  text-overflow: ellipsis;
306
306
  white-space: nowrap;
307
307
  font-size: 14px;
308
308
  }
309
- .channel-sidebar .channel-item .channel-unread[data-v-f63a486d] {
309
+ .channel-sidebar .channel-item .channel-unread[data-v-04cfb3a7] {
310
310
  margin-left: 4px;
311
311
  }
312
- .channel-sidebar .channel-item .channel-setting[data-v-f63a486d] {
312
+ .channel-sidebar .channel-item .channel-setting[data-v-04cfb3a7] {
313
313
  opacity: 0;
314
314
  margin-left: 8px;
315
315
  font-size: 14px;
@@ -318,10 +318,10 @@
318
318
  transition: opacity 0.15s ease, color 0.15s ease;
319
319
  flex-shrink: 0;
320
320
  }
321
- .channel-sidebar .channel-item .channel-setting[data-v-f63a486d]:hover {
321
+ .channel-sidebar .channel-item .channel-setting[data-v-04cfb3a7]:hover {
322
322
  color: var(--theme-text);
323
323
  }
324
- .channel-sidebar .add-channel-item[data-v-f63a486d] {
324
+ .channel-sidebar .add-channel-item[data-v-04cfb3a7] {
325
325
  display: flex;
326
326
  align-items: center;
327
327
  padding: 12px 22px;
@@ -330,7 +330,7 @@
330
330
  margin-top: 4px;
331
331
  color: var(--theme-link);
332
332
  }
333
- .channel-sidebar .add-channel-item .channel-icon[data-v-f63a486d] {
333
+ .channel-sidebar .add-channel-item .channel-icon[data-v-04cfb3a7] {
334
334
  margin-right: 6px;
335
335
  font-size: 16px;
336
336
  color: var(--theme-link);
@@ -339,64 +339,64 @@
339
339
  align-items: center;
340
340
  justify-content: center;
341
341
  }
342
- .channel-sidebar .add-channel-item .channel-name[data-v-f63a486d] {
342
+ .channel-sidebar .add-channel-item .channel-name[data-v-04cfb3a7] {
343
343
  font-size: 14px;
344
344
  }
345
- [data-v-f63a486d] .ant-modal .ant-modal-content {
345
+ [data-v-04cfb3a7] .ant-modal .ant-modal-content {
346
346
  background-color: var(--theme-global-bg);
347
347
  border-radius: 8px;
348
348
  }
349
- [data-v-f63a486d] .ant-modal .ant-modal-header {
349
+ [data-v-04cfb3a7] .ant-modal .ant-modal-header {
350
350
  background-color: var(--theme-global-bg);
351
351
  border-bottom: none;
352
352
  }
353
- [data-v-f63a486d] .ant-modal .ant-modal-title {
353
+ [data-v-04cfb3a7] .ant-modal .ant-modal-title {
354
354
  color: var(--theme-text);
355
355
  }
356
- [data-v-f63a486d] .ant-modal .ant-modal-close-x {
356
+ [data-v-04cfb3a7] .ant-modal .ant-modal-close-x {
357
357
  color: #b9bbbe;
358
358
  }
359
- [data-v-f63a486d] .ant-modal .ant-form-item-label > label {
359
+ [data-v-04cfb3a7] .ant-modal .ant-form-item-label > label {
360
360
  color: #b9bbbe;
361
361
  }
362
- [data-v-f63a486d] .ant-modal .ant-input {
362
+ [data-v-04cfb3a7] .ant-modal .ant-input {
363
363
  background-color: var(--theme-line);
364
364
  border-color: #040405;
365
365
  color: #dcddde;
366
366
  }
367
- [data-v-f63a486d] .ant-modal .ant-input::-moz-placeholder {
367
+ [data-v-04cfb3a7] .ant-modal .ant-input::-moz-placeholder {
368
368
  color: #72767d;
369
369
  }
370
- [data-v-f63a486d] .ant-modal .ant-input:-ms-input-placeholder {
370
+ [data-v-04cfb3a7] .ant-modal .ant-input:-ms-input-placeholder {
371
371
  color: #72767d;
372
372
  }
373
- [data-v-f63a486d] .ant-modal .ant-input::placeholder {
373
+ [data-v-04cfb3a7] .ant-modal .ant-input::placeholder {
374
374
  color: #72767d;
375
375
  }
376
- [data-v-f63a486d] .ant-modal .ant-input:hover,[data-v-f63a486d] .ant-modal .ant-input:focus {
376
+ [data-v-04cfb3a7] .ant-modal .ant-input:hover,[data-v-04cfb3a7] .ant-modal .ant-input:focus {
377
377
  border-color: #5865f2;
378
378
  }
379
- [data-v-f63a486d] .ant-modal .ant-tabs-tab {
379
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-tab {
380
380
  color: #b9bbbe;
381
381
  }
382
- [data-v-f63a486d] .ant-modal .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
382
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
383
383
  color: var(--theme-text);
384
384
  }
385
- [data-v-f63a486d] .ant-modal .ant-tabs-ink-bar {
385
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-ink-bar {
386
386
  background-color: #5865f2;
387
387
  }
388
- .footer-container[data-v-f63a486d] {
388
+ .footer-container[data-v-04cfb3a7] {
389
389
  display: flex;
390
390
  align-items: center;
391
391
  justify-content: flex-end;
392
392
  gap: 10px;
393
393
  }
394
- .invite-btn[data-v-f63a486d] {
394
+ .invite-btn[data-v-04cfb3a7] {
395
395
  cursor: pointer;
396
396
  color: var(--theme-icon-fill-weak);
397
397
  transition: color 0.15s ease;
398
398
  }
399
- .invite-btn[data-v-f63a486d]:hover {
399
+ .invite-btn[data-v-04cfb3a7]:hover {
400
400
  color: var(--theme-text);
401
401
  }.channel-modal .ant-modal-header {
402
402
  background-color: var(--theme-table-header-bg);
@@ -643,7 +643,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
643
643
  };
644
644
  }
645
645
  });
646
- const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f63a486d"]]);
646
+ const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-04cfb3a7"]]);
647
647
  export {
648
648
  ServerChannelSidebar as S
649
649
  };
@@ -2,8 +2,8 @@ import { defineComponent, computed, ref, onMounted, onUnmounted, openBlock, crea
2
2
  import { useRouter } from "vue-router";
3
3
  import { Spin, Result, Button, Empty, message } from "ant-design-vue";
4
4
  import { s as setGlobalRequest, c as useImSdkStore, a as useServerStore, u as useChannelStore, b as useUserStore, d as useGlobalStore } from "../index.vue_vue_type_style_index_0_lang-Bb0HV9Zp.mjs";
5
- import { _ as _sfc_main$1 } from "../index.vue_vue_type_style_index_0_lang-CIKNiKfF.mjs";
6
- import { S as ServerChannelSidebar } from "../index-Cemc8VjO.mjs";
5
+ import { _ as _sfc_main$1 } from "../index.vue_vue_type_style_index_0_lang-D8SCARR2.mjs";
6
+ import { S as ServerChannelSidebar } from "../index-BvfJ77uD.mjs";
7
7
  import { M as MembersSidebar } from "../index-DwPi-usb.mjs";
8
8
  import { _ as _export_sfc } from "../_plugin-vue_export-helper-1tPrXgE0.mjs";
9
9
  const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB2lSURBVHgB7V17jF5Vtd9n2kJLOzPtUEpppyAoEdp7DT4SgUvCH+bWC5r4h20v8RUDNvGZWIpoNELt9Q8NhRKfMTw0ogRpMSExVwGjMXpv8ZGgjS3GSCG0PArclk5fU0pn37X27N+e31lnn2/K+b6ZGj0r+XrO2Wfvtdd7rb33fF+da6GFFlpooYUWWmihhRZaaKGFFlpooYUWWmihhRZaaKGFFlpo4R8RCnfqoE8+8+Rz+uzZs88YHR3V59Pk49Hh9NNPrww6duxYao/3hVy9tuEd94n4wGdhnj3hLWQMnhNOc19HS8IpbWPCz/GiKF49evTo6JIlS44+++yzR9wpgulWsCpxcM6cOfPGxsbmuCgYFRSgg6Jyyq3te5IwqfLsnJHG0jhWdDQUZ3g6MXPmzMMCI/I4rcruc9MDff39/WcKoxfI56yoXEDFY83Vcx8FEl7Fc+OHPdObMTznGOO0eDPzgaYxUq4nhRYuz0vfq6++OiDXYfHu84eGhgbcNMGUe/Dg4OCCAwcODAmjfRCC8RhYfbiiTb3ETYS+UuiMOLzxWoTIFC5t+OS5CC/jdCY0O6IrtYOeDD88V+18sV29eZ98jrsphBlu6qBPQvHS48ePz5fwFJiWqztx4kS4RtD2Qtq89pGPXsN7FR71U4H04V3Ep31TBEJ/zBHnY2GX5lJFghZ8FLQNHygu0oZ5CtCnRhjxJRqYP3g++uNdHHu6PA+IA+jzqJsimCoPniWhaKkUTrPqcmjmOeUvV/bcwvTngia025wHMDkSHl/iOZfX+Z2L0YS92eRmjjB67bNFn52P6EMk2C+X/3NTAFOhYDXOYfU4CnlFTRGUQq/+w6HSRYVHhGkACY+rXkfGgWdbJKW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x4cI9s9j/62GOPbX33u9/9KEcRG00chfYYakvLHOaZ+LIFlqM5bFQr+vv7lSbXBLoJ0SCGlw5o89baI4R+bOWmEEmIR8tr3dLa9+c///nb3/SmN60888wzV8FLO8H3v//9xz/5yU++PffugQceeFjnHx4eXok2NYShoaFV73jHO1apsv/617/evmLFiq2UU603epuCbIg3huGpyPQZvku1SVPlAkEjEALOc4YoBqvcXB/TzpsFnAOTB3z5y19e9rGPfeyWTt5qASF4//79myR0r+J3sru0U/BfrfdSUT/VCY8cBgRFv/Wtb90am0p/nQHaYQCyT+ClQrcRLIs7l3vN82HXMER3fR7MxOGAQK/apkyOVrf9ctWi3paKFR3rxhU9pqH4b3/726clx/76tShXQRS8Q3HJZ7l998wzz6hXuvvuu2/5vn37tuKjird91auXL1++6eWXX/7vjRs3DuN8N267Vip78IbnyE9JbtwPsps9sUzk7nXr7kmhsQcLwefqaQiFrAInQqSk0FcsOdyrRc82FSf1SbmXTpbcT37yk0uvvPLKTbn8WQfqbZpDRRk7NQTv3Llz5Lvf/e522++WW2654qabbtqDZ9Alxdj/TDafGMftF1544WbwxidKUQYlj+WDFSsP+55xaV/JwYclTDf6u+luquhzoRwACO5ErB1DBlHEsAbm3RNPPHHdBRdccJM7CdBQvGfPni0Sxh++5557RmbT9uMf/vCHlRJa77Bj1BBw/6c//elLb3vb2x7+5S9/edkVV1xxUgYlRvTwd77znY0333zzbqXXmaUa+IjtKWyzjCAfGLTSi3EwnFhFN1JwT/8uWggaY8L1qs+RyVKY0Tb9oD9CmDK1atWqAfG+TZMpd2xsbOS5557b/KEPfehfFy5c+J9vfOMbtwqMKA4VlOLWe1n/XpYbr0qEIr/97W8/qterr756myyx/u0vf/nLejaAHAwMDKxct27dfWJUwzpPJsf6aNCejNezA/ARIuiF7DgaNoWuQjTu2esyXs1hGJ5qx6SNkfe9732D3/zmN38k56fL6+ZWxe7du/euz372s3erQu08joofnVO2Iu/vlLtfeumlu8QINgJP5C942+OPP77qDW94w7pOHq2GsHnz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wsf3sZ/i0K+iaDE1pcoNNLvpgWJoaKh/3759+N/SWAHZ/VkoKQqkgBeo0OHNblwJjrxVhV7hiT0M/UCXtut8itPSY+8zeMN8hl7HtEbadD4tolSho841/zLZa4XpUnCYKyp5BoTCL3V1YNuhbBU+hGW9NL53LGi+jq86SopUwTtcuT8UxtfYN43PHRRE+kPVjf5uXKH60QLquOviRKgbmE4FY75+EULl77EhNKtotEMBkru8hLdX5NUr7u8PvPmccphuBYc54cn6EBWmHlrpqMrW9xwipU1DXE+28f4Z4FQoGPMmT1YvZSWLEkPexTO8WfrokqJV7muAU6VgzK0HrzNEkeyhmsdKuTYagHpuV3++8s8Ip1LBmD8oecGCBUmh/E1JCdGuVW5zmOqNjslAlaqH2vonPzP3798fDE6VCg+WNg3LrXL/AUC3NHUrar6CG/fsU22ALbTQQgsttNBCCy200EILLbTQQgsttNBCCy200EILLbTQQgsttNBCC9MP/w+th51gX3tVWwAAAABJRU5ErkJggg==";
@@ -122,6 +122,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
122
122
  }
123
123
  emit("message", msg);
124
124
  });
125
+ qchat.on("messageUpdate", (msg) => {
126
+ var _a, _b;
127
+ if (msg.channelId === ((_a = currentChannel.value) == null ? void 0 : _a.channelId) && ((_b = msg.updateContent) == null ? void 0 : _b.status) === 1) {
128
+ channelStore.updateCurChannelMsgs(msg);
129
+ }
130
+ });
125
131
  qchat.on("unreadInfo", (info) => {
126
132
  console.log("[QChat] 未读信息更新:", info);
127
133
  channelStore.setUnReadNum(info);
@@ -341,7 +347,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
341
347
  };
342
348
  }
343
349
  });
344
- const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b498b67b"]]);
350
+ const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5f91c398"]]);
345
351
  export {
346
352
  IndexEntry as default
347
353
  };
@@ -1,38 +1,38 @@
1
- .qchat-container[data-v-b498b67b] {
1
+ .qchat-container[data-v-5f91c398] {
2
2
  display: flex;
3
3
  height: 100%;
4
4
  width: 100%;
5
5
  color: var(--theme-text);
6
6
  font-family: "Whitney", "Helvetica Neue", Helvetica, Arial, sans-serif;
7
7
  }
8
- .loading-wrap[data-v-b498b67b],
9
- .error-wrap[data-v-b498b67b],
10
- .init-wrap[data-v-b498b67b] {
8
+ .loading-wrap[data-v-5f91c398],
9
+ .error-wrap[data-v-5f91c398],
10
+ .init-wrap[data-v-5f91c398] {
11
11
  display: flex;
12
12
  align-items: center;
13
13
  justify-content: center;
14
14
  width: 100%;
15
15
  height: 100%;
16
16
  }
17
- .loading-wrap[data-v-b498b67b] .ant-spin-text,
18
- .error-wrap[data-v-b498b67b] .ant-spin-text,
19
- .init-wrap[data-v-b498b67b] .ant-spin-text {
17
+ .loading-wrap[data-v-5f91c398] .ant-spin-text,
18
+ .error-wrap[data-v-5f91c398] .ant-spin-text,
19
+ .init-wrap[data-v-5f91c398] .ant-spin-text {
20
20
  color: #dcddde;
21
21
  }
22
- .loading-wrap[data-v-b498b67b] .ant-result-title,
23
- .loading-wrap[data-v-b498b67b] .ant-result-subtitle,
24
- .error-wrap[data-v-b498b67b] .ant-result-title,
25
- .error-wrap[data-v-b498b67b] .ant-result-subtitle,
26
- .init-wrap[data-v-b498b67b] .ant-result-title,
27
- .init-wrap[data-v-b498b67b] .ant-result-subtitle {
22
+ .loading-wrap[data-v-5f91c398] .ant-result-title,
23
+ .loading-wrap[data-v-5f91c398] .ant-result-subtitle,
24
+ .error-wrap[data-v-5f91c398] .ant-result-title,
25
+ .error-wrap[data-v-5f91c398] .ant-result-subtitle,
26
+ .init-wrap[data-v-5f91c398] .ant-result-title,
27
+ .init-wrap[data-v-5f91c398] .ant-result-subtitle {
28
28
  color: #dcddde;
29
29
  }
30
- .loading-wrap[data-v-b498b67b] .ant-empty-description,
31
- .error-wrap[data-v-b498b67b] .ant-empty-description,
32
- .init-wrap[data-v-b498b67b] .ant-empty-description {
30
+ .loading-wrap[data-v-5f91c398] .ant-empty-description,
31
+ .error-wrap[data-v-5f91c398] .ant-empty-description,
32
+ .init-wrap[data-v-5f91c398] .ant-empty-description {
33
33
  color: #72767d;
34
34
  }
35
- .chat-main[data-v-b498b67b] {
35
+ .chat-main[data-v-5f91c398] {
36
36
  flex: 1;
37
37
  display: flex;
38
38
  flex-direction: column;
@@ -40,12 +40,12 @@
40
40
  overflow: hidden;
41
41
  min-width: 300px;
42
42
  }
43
- .chat-main .no-channel[data-v-b498b67b] {
43
+ .chat-main .no-channel[data-v-5f91c398] {
44
44
  display: flex;
45
45
  align-items: center;
46
46
  justify-content: center;
47
47
  height: 100%;
48
48
  }
49
- .chat-main .no-channel[data-v-b498b67b] .ant-empty-description {
49
+ .chat-main .no-channel[data-v-5f91c398] .ant-empty-description {
50
50
  color: #72767d;
51
51
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, watch, openBlock, createBlock, createElementBlock } from "vue";
2
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_style_index_0_lang-W7dxGxaU.mjs";
2
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_style_index_0_lang-CJ6N1ut8.mjs";
3
3
  import { u as useChannelStore, a as useServerStore, b as useUserStore } from "./index.vue_vue_type_style_index_0_lang-Bb0HV9Zp.mjs";
4
4
  const _hoisted_1 = { key: 1 };
5
5
  const HISTORY_LIMIT = 100;
@@ -794,6 +794,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
794
794
  }
795
795
  };
796
796
  const uploadImgHandler = async (file) => {
797
+ if (!file.type.startsWith("image/")) {
798
+ message.error("请上传图片");
799
+ return false;
800
+ }
797
801
  if (!isLt(file.size, MAX_IMG_SIZE)) {
798
802
  message.error(`图片大小最大支持${MAX_IMG_SIZE}MB`);
799
803
  return false;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, h, watch, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createVNode } from "vue";
2
2
  import { List, Typography } from "ant-design-vue";
3
- import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_setup_true_lang-CGOFFaNL.mjs";
3
+ import { _ as _sfc_main$1 } from "./index.vue_vue_type_script_setup_true_lang-BpYIybBN.mjs";
4
4
  import { a as useServerStore, u as useChannelStore } from "./index.vue_vue_type_style_index_0_lang-Bb0HV9Zp.mjs";
5
5
  import "./index-L_drmZir.mjs";
6
6
  import { useLocalStorage } from "@vueuse/core";
@@ -1,4 +1,4 @@
1
- import { S as ServerChannelSidebar } from "../index-Cemc8VjO.mjs";
1
+ import { S as ServerChannelSidebar } from "../index-BvfJ77uD.mjs";
2
2
  export {
3
3
  ServerChannelSidebar,
4
4
  ServerChannelSidebar as default
package/dist/style.css CHANGED
@@ -781,18 +781,18 @@
781
781
  margin-bottom: 6px;
782
782
  border-radius: 8px;
783
783
  background-color: #282a2f;
784
- }.sidebar-container[data-v-f63a486d] {
784
+ }.sidebar-container[data-v-04cfb3a7] {
785
785
  display: flex;
786
786
  height: 100%;
787
787
  position: relative;
788
788
  }
789
- .sidebar-container.is-switching .server-item[data-v-f63a486d],
790
- .sidebar-container.is-switching .channel-item[data-v-f63a486d] {
789
+ .sidebar-container.is-switching .server-item[data-v-04cfb3a7],
790
+ .sidebar-container.is-switching .channel-item[data-v-04cfb3a7] {
791
791
  cursor: not-allowed;
792
792
  opacity: 0.6;
793
793
  pointer-events: none;
794
794
  }
795
- .user-panel-float[data-v-f63a486d] {
795
+ .user-panel-float[data-v-04cfb3a7] {
796
796
  position: absolute;
797
797
  bottom: 12px;
798
798
  left: 12px;
@@ -806,11 +806,11 @@
806
806
  border-radius: 8px;
807
807
  box-shadow: 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431);
808
808
  }
809
- .user-panel-float .user-avatar[data-v-f63a486d] {
809
+ .user-panel-float .user-avatar[data-v-04cfb3a7] {
810
810
  position: relative;
811
811
  flex-shrink: 0;
812
812
  }
813
- .user-panel-float .user-avatar .online-indicator[data-v-f63a486d] {
813
+ .user-panel-float .user-avatar .online-indicator[data-v-04cfb3a7] {
814
814
  position: absolute;
815
815
  bottom: 0;
816
816
  right: 0;
@@ -820,12 +820,12 @@
820
820
  border: 3px solid #1a1b1e;
821
821
  border-radius: 50%;
822
822
  }
823
- .user-panel-float .user-info[data-v-f63a486d] {
823
+ .user-panel-float .user-info[data-v-04cfb3a7] {
824
824
  flex: 1;
825
825
  overflow: hidden;
826
826
  min-width: 0;
827
827
  }
828
- .user-panel-float .user-info .user-name[data-v-f63a486d] {
828
+ .user-panel-float .user-info .user-name[data-v-04cfb3a7] {
829
829
  font-size: 14px;
830
830
  font-weight: 600;
831
831
  color: var(--theme-text);
@@ -833,25 +833,25 @@
833
833
  text-overflow: ellipsis;
834
834
  white-space: nowrap;
835
835
  }
836
- .user-panel-float .user-info .user-status[data-v-f63a486d] {
836
+ .user-panel-float .user-info .user-status[data-v-04cfb3a7] {
837
837
  display: flex;
838
838
  align-items: center;
839
839
  gap: 4px;
840
840
  font-size: 12px;
841
841
  color: var(--theme-success-text);
842
842
  }
843
- .user-panel-float .user-info .user-status .status-dot[data-v-f63a486d] {
843
+ .user-panel-float .user-info .user-status .status-dot[data-v-04cfb3a7] {
844
844
  width: 8px;
845
845
  height: 8px;
846
846
  background-color: var(--theme-success-text);
847
847
  border-radius: 50%;
848
848
  }
849
- .user-panel-float .user-actions[data-v-f63a486d] {
849
+ .user-panel-float .user-actions[data-v-04cfb3a7] {
850
850
  display: flex;
851
851
  align-items: center;
852
852
  gap: 8px;
853
853
  }
854
- .user-panel-float .user-actions .action-btn[data-v-f63a486d] {
854
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7] {
855
855
  width: 20px;
856
856
  height: 20px;
857
857
  display: flex;
@@ -864,14 +864,14 @@
864
864
  font-size: 16px;
865
865
  outline: none;
866
866
  }
867
- .user-panel-float .user-actions .action-btn[data-v-f63a486d]:hover {
867
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7]:hover {
868
868
  background-color: var(--theme-icon-hover);
869
869
  color: var(--theme-text);
870
870
  }
871
- .user-panel-float .user-actions .action-btn[data-v-f63a486d]:focus {
871
+ .user-panel-float .user-actions .action-btn[data-v-04cfb3a7]:focus {
872
872
  outline: none;
873
873
  }
874
- .server-sidebar[data-v-f63a486d] {
874
+ .server-sidebar[data-v-04cfb3a7] {
875
875
  display: flex;
876
876
  flex-direction: column;
877
877
  width: 76px;
@@ -879,23 +879,23 @@
879
879
  padding: 0 0 16px;
880
880
  padding-bottom: 73px;
881
881
  }
882
- .server-sidebar .server-list[data-v-f63a486d] {
882
+ .server-sidebar .server-list[data-v-04cfb3a7] {
883
883
  flex: 1;
884
884
  overflow-y: auto;
885
885
  overflow-x: hidden;
886
886
  border-right: 1px solid var(--theme-line);
887
887
  padding-top: 16px;
888
888
  }
889
- .server-sidebar .server-list[data-v-f63a486d]::-webkit-scrollbar {
889
+ .server-sidebar .server-list[data-v-04cfb3a7]::-webkit-scrollbar {
890
890
  width: 0;
891
891
  }
892
- .server-sidebar .logo-wrap[data-v-f63a486d] {
892
+ .server-sidebar .logo-wrap[data-v-04cfb3a7] {
893
893
  margin: 0 16px;
894
894
  border-bottom: 1px solid var(--theme-line-split);
895
895
  padding-bottom: 11px;
896
896
  margin-bottom: 4px;
897
897
  }
898
- .server-sidebar .logo-wrap .logo[data-v-f63a486d] {
898
+ .server-sidebar .logo-wrap .logo[data-v-04cfb3a7] {
899
899
  width: 40px;
900
900
  height: 40px;
901
901
  border-radius: 8px;
@@ -906,7 +906,7 @@
906
906
  overflow: hidden;
907
907
  transition: border-radius 0.15s ease-out, background-color 0.15s ease-out;
908
908
  }
909
- .server-sidebar .server-item[data-v-f63a486d] {
909
+ .server-sidebar .server-item[data-v-04cfb3a7] {
910
910
  position: relative;
911
911
  display: flex;
912
912
  align-items: center;
@@ -914,7 +914,7 @@
914
914
  padding: 8px 18px;
915
915
  cursor: pointer;
916
916
  }
917
- .server-sidebar .server-item .server-icon[data-v-f63a486d] {
917
+ .server-sidebar .server-item .server-icon[data-v-04cfb3a7] {
918
918
  min-width: 40px;
919
919
  min-height: 40px;
920
920
  width: 40px;
@@ -927,7 +927,7 @@
927
927
  overflow: hidden;
928
928
  transition: border-radius 0.15s ease-out, background-color 0.15s ease-out;
929
929
  }
930
- .server-sidebar .server-item .server-icon img[data-v-f63a486d] {
930
+ .server-sidebar .server-item .server-icon img[data-v-04cfb3a7] {
931
931
  width: 40px;
932
932
  height: 40px;
933
933
  min-width: 40px;
@@ -935,19 +935,19 @@
935
935
  -o-object-fit: cover;
936
936
  object-fit: cover;
937
937
  }
938
- .server-sidebar .server-item .server-icon .server-initial[data-v-f63a486d] {
938
+ .server-sidebar .server-item .server-icon .server-initial[data-v-04cfb3a7] {
939
939
  font-size: 18px;
940
940
  font-weight: 500;
941
941
  color: var(--theme-text);
942
942
  }
943
- .server-sidebar .server-item:hover .server-icon[data-v-f63a486d], .server-sidebar .server-item.active .server-icon[data-v-f63a486d] {
943
+ .server-sidebar .server-item:hover .server-icon[data-v-04cfb3a7], .server-sidebar .server-item.active .server-icon[data-v-04cfb3a7] {
944
944
  border: 1px solid var(--theme-default-bg);
945
945
  box-shadow: var(--theme-shadow-2, 0px 1px 3px 0px rgba(29, 31, 58, 0.0588235294), 0px 2px 6px 0px rgba(29, 31, 58, 0.0588235294), 0px 4px 12px 0px rgba(29, 31, 58, 0.0588235294), 0px 8px 24px 0px rgba(29, 31, 58, 0.0588235294));
946
946
  }
947
- .server-sidebar .server-item:hover .server-icon .server-initial[data-v-f63a486d], .server-sidebar .server-item.active .server-icon .server-initial[data-v-f63a486d] {
947
+ .server-sidebar .server-item:hover .server-icon .server-initial[data-v-04cfb3a7], .server-sidebar .server-item.active .server-icon .server-initial[data-v-04cfb3a7] {
948
948
  color: var(--theme-light-text);
949
949
  }
950
- .server-sidebar .server-item[data-v-f63a486d]::before {
950
+ .server-sidebar .server-item[data-v-04cfb3a7]::before {
951
951
  content: "";
952
952
  position: absolute;
953
953
  top: 50%;
@@ -960,20 +960,20 @@
960
960
  border-bottom-right-radius: 8px;
961
961
  transition: height 0.15s ease-out;
962
962
  }
963
- .server-sidebar .server-item.active[data-v-f63a486d]::before {
963
+ .server-sidebar .server-item.active[data-v-04cfb3a7]::before {
964
964
  height: 40px;
965
965
  }
966
- .server-sidebar .server-item .unread-badge[data-v-f63a486d] {
966
+ .server-sidebar .server-item .unread-badge[data-v-04cfb3a7] {
967
967
  position: absolute;
968
968
  bottom: -4px;
969
969
  right: 4px;
970
970
  }
971
- .server-sidebar .server-item.add-server[data-v-f63a486d] {
971
+ .server-sidebar .server-item.add-server[data-v-04cfb3a7] {
972
972
  margin-top: 8px;
973
973
  padding-top: 8px;
974
974
  border-top: 2px solid var(--theme-global-bg);
975
975
  }
976
- .server-sidebar .server-item.add-server .add-server-btn[data-v-f63a486d] {
976
+ .server-sidebar .server-item.add-server .add-server-btn[data-v-04cfb3a7] {
977
977
  width: 48px;
978
978
  height: 48px;
979
979
  border-radius: 50%;
@@ -986,12 +986,12 @@
986
986
  color: var(--theme-success-text);
987
987
  font-size: 20px;
988
988
  }
989
- .server-sidebar .server-item.add-server .add-server-btn[data-v-f63a486d]:hover {
989
+ .server-sidebar .server-item.add-server .add-server-btn[data-v-04cfb3a7]:hover {
990
990
  border-radius: 16px;
991
991
  background-color: var(--theme-success-text);
992
992
  color: var(--theme-text);
993
993
  }
994
- .channel-sidebar[data-v-f63a486d] {
994
+ .channel-sidebar[data-v-04cfb3a7] {
995
995
  display: flex;
996
996
  flex-direction: column;
997
997
  width: 294px;
@@ -1003,7 +1003,7 @@
1003
1003
  padding-bottom: 73px;
1004
1004
  position: relative;
1005
1005
  }
1006
- .channel-sidebar .resize-handle[data-v-f63a486d] {
1006
+ .channel-sidebar .resize-handle[data-v-04cfb3a7] {
1007
1007
  position: absolute;
1008
1008
  top: 0;
1009
1009
  right: -3px;
@@ -1013,17 +1013,17 @@
1013
1013
  z-index: 20;
1014
1014
  transition: background-color 0.15s ease;
1015
1015
  }
1016
- .channel-sidebar .resize-handle[data-v-f63a486d]:hover, .channel-sidebar .resize-handle[data-v-f63a486d]:active {
1016
+ .channel-sidebar .resize-handle[data-v-04cfb3a7]:hover, .channel-sidebar .resize-handle[data-v-04cfb3a7]:active {
1017
1017
  background-color: var(--theme-form-control-line-active);
1018
1018
  }
1019
- .channel-sidebar .server-header[data-v-f63a486d] {
1019
+ .channel-sidebar .server-header[data-v-04cfb3a7] {
1020
1020
  display: flex;
1021
1021
  align-items: center;
1022
1022
  justify-content: space-between;
1023
1023
  padding: 22px 20px;
1024
1024
  border-bottom: 1px solid var(--theme-line);
1025
1025
  }
1026
- .channel-sidebar .server-header .server-name[data-v-f63a486d] {
1026
+ .channel-sidebar .server-header .server-name[data-v-04cfb3a7] {
1027
1027
  font-size: 15px;
1028
1028
  font-weight: 600;
1029
1029
  color: var(--theme-stress-text);
@@ -1031,26 +1031,26 @@
1031
1031
  text-overflow: ellipsis;
1032
1032
  white-space: nowrap;
1033
1033
  }
1034
- .channel-sidebar .server-header .server-setting[data-v-f63a486d] {
1034
+ .channel-sidebar .server-header .server-setting[data-v-04cfb3a7] {
1035
1035
  color: #b9bbbe;
1036
1036
  cursor: pointer;
1037
1037
  font-size: 16px;
1038
1038
  }
1039
- .channel-sidebar .server-header .server-setting[data-v-f63a486d]:hover {
1039
+ .channel-sidebar .server-header .server-setting[data-v-04cfb3a7]:hover {
1040
1040
  color: #dcddde;
1041
1041
  }
1042
- .channel-sidebar .channel-list[data-v-f63a486d] {
1042
+ .channel-sidebar .channel-list[data-v-04cfb3a7] {
1043
1043
  flex: 1;
1044
1044
  overflow-y: auto;
1045
1045
  }
1046
- .channel-sidebar .channel-list[data-v-f63a486d]::-webkit-scrollbar {
1046
+ .channel-sidebar .channel-list[data-v-04cfb3a7]::-webkit-scrollbar {
1047
1047
  width: 4px;
1048
1048
  }
1049
- .channel-sidebar .channel-list[data-v-f63a486d]::-webkit-scrollbar-thumb {
1049
+ .channel-sidebar .channel-list[data-v-04cfb3a7]::-webkit-scrollbar-thumb {
1050
1050
  background-color: var(--theme-line);
1051
1051
  border-radius: 2px;
1052
1052
  }
1053
- .channel-sidebar .channel-item[data-v-f63a486d] {
1053
+ .channel-sidebar .channel-item[data-v-04cfb3a7] {
1054
1054
  display: flex;
1055
1055
  align-items: center;
1056
1056
  padding: 0 20px;
@@ -1060,39 +1060,39 @@
1060
1060
  cursor: pointer;
1061
1061
  color: var(--theme-icon-fill-weak);
1062
1062
  }
1063
- .channel-sidebar .channel-item[data-v-f63a486d]:not(:last-child) {
1063
+ .channel-sidebar .channel-item[data-v-04cfb3a7]:not(:last-child) {
1064
1064
  margin-bottom: 2px;
1065
1065
  }
1066
- .channel-sidebar .channel-item[data-v-f63a486d]:hover {
1066
+ .channel-sidebar .channel-item[data-v-04cfb3a7]:hover {
1067
1067
  background-color: var(--theme-select-bg);
1068
1068
  color: var(--theme-text);
1069
1069
  }
1070
- .channel-sidebar .channel-item:hover .channel-setting[data-v-f63a486d] {
1070
+ .channel-sidebar .channel-item:hover .channel-setting[data-v-04cfb3a7] {
1071
1071
  opacity: 1;
1072
1072
  }
1073
- .channel-sidebar .channel-item.active[data-v-f63a486d] {
1073
+ .channel-sidebar .channel-item.active[data-v-04cfb3a7] {
1074
1074
  background-color: var(--theme-select-bg);
1075
1075
  color: var(--theme-text);
1076
1076
  font-weight: 500;
1077
1077
  font-size: 16px;
1078
1078
  }
1079
- .channel-sidebar .channel-item .channel-icon[data-v-f63a486d] {
1079
+ .channel-sidebar .channel-item .channel-icon[data-v-04cfb3a7] {
1080
1080
  margin-right: 6px;
1081
1081
  font-size: 20px;
1082
1082
  font-weight: 400;
1083
1083
  color: #8e9297;
1084
1084
  }
1085
- .channel-sidebar .channel-item .channel-name[data-v-f63a486d] {
1085
+ .channel-sidebar .channel-item .channel-name[data-v-04cfb3a7] {
1086
1086
  flex: 1;
1087
1087
  overflow: hidden;
1088
1088
  text-overflow: ellipsis;
1089
1089
  white-space: nowrap;
1090
1090
  font-size: 14px;
1091
1091
  }
1092
- .channel-sidebar .channel-item .channel-unread[data-v-f63a486d] {
1092
+ .channel-sidebar .channel-item .channel-unread[data-v-04cfb3a7] {
1093
1093
  margin-left: 4px;
1094
1094
  }
1095
- .channel-sidebar .channel-item .channel-setting[data-v-f63a486d] {
1095
+ .channel-sidebar .channel-item .channel-setting[data-v-04cfb3a7] {
1096
1096
  opacity: 0;
1097
1097
  margin-left: 8px;
1098
1098
  font-size: 14px;
@@ -1101,10 +1101,10 @@
1101
1101
  transition: opacity 0.15s ease, color 0.15s ease;
1102
1102
  flex-shrink: 0;
1103
1103
  }
1104
- .channel-sidebar .channel-item .channel-setting[data-v-f63a486d]:hover {
1104
+ .channel-sidebar .channel-item .channel-setting[data-v-04cfb3a7]:hover {
1105
1105
  color: var(--theme-text);
1106
1106
  }
1107
- .channel-sidebar .add-channel-item[data-v-f63a486d] {
1107
+ .channel-sidebar .add-channel-item[data-v-04cfb3a7] {
1108
1108
  display: flex;
1109
1109
  align-items: center;
1110
1110
  padding: 12px 22px;
@@ -1113,7 +1113,7 @@
1113
1113
  margin-top: 4px;
1114
1114
  color: var(--theme-link);
1115
1115
  }
1116
- .channel-sidebar .add-channel-item .channel-icon[data-v-f63a486d] {
1116
+ .channel-sidebar .add-channel-item .channel-icon[data-v-04cfb3a7] {
1117
1117
  margin-right: 6px;
1118
1118
  font-size: 16px;
1119
1119
  color: var(--theme-link);
@@ -1122,64 +1122,64 @@
1122
1122
  align-items: center;
1123
1123
  justify-content: center;
1124
1124
  }
1125
- .channel-sidebar .add-channel-item .channel-name[data-v-f63a486d] {
1125
+ .channel-sidebar .add-channel-item .channel-name[data-v-04cfb3a7] {
1126
1126
  font-size: 14px;
1127
1127
  }
1128
- [data-v-f63a486d] .ant-modal .ant-modal-content {
1128
+ [data-v-04cfb3a7] .ant-modal .ant-modal-content {
1129
1129
  background-color: var(--theme-global-bg);
1130
1130
  border-radius: 8px;
1131
1131
  }
1132
- [data-v-f63a486d] .ant-modal .ant-modal-header {
1132
+ [data-v-04cfb3a7] .ant-modal .ant-modal-header {
1133
1133
  background-color: var(--theme-global-bg);
1134
1134
  border-bottom: none;
1135
1135
  }
1136
- [data-v-f63a486d] .ant-modal .ant-modal-title {
1136
+ [data-v-04cfb3a7] .ant-modal .ant-modal-title {
1137
1137
  color: var(--theme-text);
1138
1138
  }
1139
- [data-v-f63a486d] .ant-modal .ant-modal-close-x {
1139
+ [data-v-04cfb3a7] .ant-modal .ant-modal-close-x {
1140
1140
  color: #b9bbbe;
1141
1141
  }
1142
- [data-v-f63a486d] .ant-modal .ant-form-item-label > label {
1142
+ [data-v-04cfb3a7] .ant-modal .ant-form-item-label > label {
1143
1143
  color: #b9bbbe;
1144
1144
  }
1145
- [data-v-f63a486d] .ant-modal .ant-input {
1145
+ [data-v-04cfb3a7] .ant-modal .ant-input {
1146
1146
  background-color: var(--theme-line);
1147
1147
  border-color: #040405;
1148
1148
  color: #dcddde;
1149
1149
  }
1150
- [data-v-f63a486d] .ant-modal .ant-input::-moz-placeholder {
1150
+ [data-v-04cfb3a7] .ant-modal .ant-input::-moz-placeholder {
1151
1151
  color: #72767d;
1152
1152
  }
1153
- [data-v-f63a486d] .ant-modal .ant-input:-ms-input-placeholder {
1153
+ [data-v-04cfb3a7] .ant-modal .ant-input:-ms-input-placeholder {
1154
1154
  color: #72767d;
1155
1155
  }
1156
- [data-v-f63a486d] .ant-modal .ant-input::placeholder {
1156
+ [data-v-04cfb3a7] .ant-modal .ant-input::placeholder {
1157
1157
  color: #72767d;
1158
1158
  }
1159
- [data-v-f63a486d] .ant-modal .ant-input:hover,[data-v-f63a486d] .ant-modal .ant-input:focus {
1159
+ [data-v-04cfb3a7] .ant-modal .ant-input:hover,[data-v-04cfb3a7] .ant-modal .ant-input:focus {
1160
1160
  border-color: #5865f2;
1161
1161
  }
1162
- [data-v-f63a486d] .ant-modal .ant-tabs-tab {
1162
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-tab {
1163
1163
  color: #b9bbbe;
1164
1164
  }
1165
- [data-v-f63a486d] .ant-modal .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
1165
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
1166
1166
  color: var(--theme-text);
1167
1167
  }
1168
- [data-v-f63a486d] .ant-modal .ant-tabs-ink-bar {
1168
+ [data-v-04cfb3a7] .ant-modal .ant-tabs-ink-bar {
1169
1169
  background-color: #5865f2;
1170
1170
  }
1171
- .footer-container[data-v-f63a486d] {
1171
+ .footer-container[data-v-04cfb3a7] {
1172
1172
  display: flex;
1173
1173
  align-items: center;
1174
1174
  justify-content: flex-end;
1175
1175
  gap: 10px;
1176
1176
  }
1177
- .invite-btn[data-v-f63a486d] {
1177
+ .invite-btn[data-v-04cfb3a7] {
1178
1178
  cursor: pointer;
1179
1179
  color: var(--theme-icon-fill-weak);
1180
1180
  transition: color 0.15s ease;
1181
1181
  }
1182
- .invite-btn[data-v-f63a486d]:hover {
1182
+ .invite-btn[data-v-04cfb3a7]:hover {
1183
1183
  color: var(--theme-text);
1184
1184
  }.channel-modal .ant-modal-header {
1185
1185
  background-color: var(--theme-table-header-bg);
@@ -1456,41 +1456,41 @@ body.resizing * {
1456
1456
  justify-content: center;
1457
1457
  align-items: center;
1458
1458
  padding: 12px 0;
1459
- }.qchat-container[data-v-b498b67b] {
1459
+ }.qchat-container[data-v-5f91c398] {
1460
1460
  display: flex;
1461
1461
  height: 100%;
1462
1462
  width: 100%;
1463
1463
  color: var(--theme-text);
1464
1464
  font-family: "Whitney", "Helvetica Neue", Helvetica, Arial, sans-serif;
1465
1465
  }
1466
- .loading-wrap[data-v-b498b67b],
1467
- .error-wrap[data-v-b498b67b],
1468
- .init-wrap[data-v-b498b67b] {
1466
+ .loading-wrap[data-v-5f91c398],
1467
+ .error-wrap[data-v-5f91c398],
1468
+ .init-wrap[data-v-5f91c398] {
1469
1469
  display: flex;
1470
1470
  align-items: center;
1471
1471
  justify-content: center;
1472
1472
  width: 100%;
1473
1473
  height: 100%;
1474
1474
  }
1475
- .loading-wrap[data-v-b498b67b] .ant-spin-text,
1476
- .error-wrap[data-v-b498b67b] .ant-spin-text,
1477
- .init-wrap[data-v-b498b67b] .ant-spin-text {
1475
+ .loading-wrap[data-v-5f91c398] .ant-spin-text,
1476
+ .error-wrap[data-v-5f91c398] .ant-spin-text,
1477
+ .init-wrap[data-v-5f91c398] .ant-spin-text {
1478
1478
  color: #dcddde;
1479
1479
  }
1480
- .loading-wrap[data-v-b498b67b] .ant-result-title,
1481
- .loading-wrap[data-v-b498b67b] .ant-result-subtitle,
1482
- .error-wrap[data-v-b498b67b] .ant-result-title,
1483
- .error-wrap[data-v-b498b67b] .ant-result-subtitle,
1484
- .init-wrap[data-v-b498b67b] .ant-result-title,
1485
- .init-wrap[data-v-b498b67b] .ant-result-subtitle {
1480
+ .loading-wrap[data-v-5f91c398] .ant-result-title,
1481
+ .loading-wrap[data-v-5f91c398] .ant-result-subtitle,
1482
+ .error-wrap[data-v-5f91c398] .ant-result-title,
1483
+ .error-wrap[data-v-5f91c398] .ant-result-subtitle,
1484
+ .init-wrap[data-v-5f91c398] .ant-result-title,
1485
+ .init-wrap[data-v-5f91c398] .ant-result-subtitle {
1486
1486
  color: #dcddde;
1487
1487
  }
1488
- .loading-wrap[data-v-b498b67b] .ant-empty-description,
1489
- .error-wrap[data-v-b498b67b] .ant-empty-description,
1490
- .init-wrap[data-v-b498b67b] .ant-empty-description {
1488
+ .loading-wrap[data-v-5f91c398] .ant-empty-description,
1489
+ .error-wrap[data-v-5f91c398] .ant-empty-description,
1490
+ .init-wrap[data-v-5f91c398] .ant-empty-description {
1491
1491
  color: #72767d;
1492
1492
  }
1493
- .chat-main[data-v-b498b67b] {
1493
+ .chat-main[data-v-5f91c398] {
1494
1494
  flex: 1;
1495
1495
  display: flex;
1496
1496
  flex-direction: column;
@@ -1498,12 +1498,12 @@ body.resizing * {
1498
1498
  overflow: hidden;
1499
1499
  min-width: 300px;
1500
1500
  }
1501
- .chat-main .no-channel[data-v-b498b67b] {
1501
+ .chat-main .no-channel[data-v-5f91c398] {
1502
1502
  display: flex;
1503
1503
  align-items: center;
1504
1504
  justify-content: center;
1505
1505
  height: 100%;
1506
1506
  }
1507
- .chat-main .no-channel[data-v-b498b67b] .ant-empty-description {
1507
+ .chat-main .no-channel[data-v-5f91c398] .ant-empty-description {
1508
1508
  color: #72767d;
1509
1509
  }
@@ -40280,6 +40280,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
40280
40280
  }
40281
40281
  };
40282
40282
  const uploadImgHandler = async (file) => {
40283
+ if (!file.type.startsWith("image/")) {
40284
+ message.error("请上传图片");
40285
+ return false;
40286
+ }
40283
40287
  if (!isLt(file.size, MAX_IMG_SIZE)) {
40284
40288
  message.error(`图片大小最大支持${MAX_IMG_SIZE}MB`);
40285
40289
  return false;
@@ -41708,7 +41712,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
41708
41712
  };
41709
41713
  }
41710
41714
  });
41711
- const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f63a486d"]]);
41715
+ const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-04cfb3a7"]]);
41712
41716
  const _hoisted_1$1 = { class: "members-header" };
41713
41717
  const _hoisted_2$1 = {
41714
41718
  key: 0,
@@ -41999,6 +42003,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41999
42003
  }
42000
42004
  emit("message", msg);
42001
42005
  });
42006
+ qchat.on("messageUpdate", (msg) => {
42007
+ var _a, _b;
42008
+ if (msg.channelId === ((_a = currentChannel.value) == null ? void 0 : _a.channelId) && ((_b = msg.updateContent) == null ? void 0 : _b.status) === 1) {
42009
+ channelStore.updateCurChannelMsgs(msg);
42010
+ }
42011
+ });
42002
42012
  qchat.on("unreadInfo", (info) => {
42003
42013
  console.log("[QChat] 未读信息更新:", info);
42004
42014
  channelStore.setUnReadNum(info);
@@ -42218,7 +42228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42218
42228
  };
42219
42229
  }
42220
42230
  });
42221
- const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b498b67b"]]);
42231
+ const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5f91c398"]]);
42222
42232
  const componentList = [
42223
42233
  "chat-card",
42224
42234
  "chat-content",
@@ -40277,6 +40277,10 @@
40277
40277
  }
40278
40278
  };
40279
40279
  const uploadImgHandler = async (file) => {
40280
+ if (!file.type.startsWith("image/")) {
40281
+ antDesignVue.message.error("请上传图片");
40282
+ return false;
40283
+ }
40280
40284
  if (!isLt(file.size, MAX_IMG_SIZE)) {
40281
40285
  antDesignVue.message.error(`图片大小最大支持${MAX_IMG_SIZE}MB`);
40282
40286
  return false;
@@ -41705,7 +41709,7 @@
41705
41709
  };
41706
41710
  }
41707
41711
  });
41708
- const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f63a486d"]]);
41712
+ const ServerChannelSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-04cfb3a7"]]);
41709
41713
  const _hoisted_1$1 = { class: "members-header" };
41710
41714
  const _hoisted_2$1 = {
41711
41715
  key: 0,
@@ -41996,6 +42000,12 @@
41996
42000
  }
41997
42001
  emit("message", msg);
41998
42002
  });
42003
+ qchat.on("messageUpdate", (msg) => {
42004
+ var _a, _b;
42005
+ if (msg.channelId === ((_a = currentChannel.value) == null ? void 0 : _a.channelId) && ((_b = msg.updateContent) == null ? void 0 : _b.status) === 1) {
42006
+ channelStore.updateCurChannelMsgs(msg);
42007
+ }
42008
+ });
41999
42009
  qchat.on("unreadInfo", (info) => {
42000
42010
  console.log("[QChat] 未读信息更新:", info);
42001
42011
  channelStore.setUnReadNum(info);
@@ -42215,7 +42225,7 @@
42215
42225
  };
42216
42226
  }
42217
42227
  });
42218
- const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b498b67b"]]);
42228
+ const IndexEntry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5f91c398"]]);
42219
42229
  const componentList = [
42220
42230
  "chat-card",
42221
42231
  "chat-content",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yx-web-sdk",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "private": false,
5
5
  "main": "dist/yx-web-sdk.umd.js",
6
6
  "module": "dist/yx-web-sdk.es.js",