@mobilon-dev/chotto 0.3.45 → 0.3.46

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.
Files changed (28) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +1 -1
  3. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +72 -67
  4. package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -0
  5. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +1 -1
  6. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +94 -89
  7. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +2 -2
  8. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +90 -85
  9. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +2 -2
  10. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +97 -92
  11. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +2 -2
  12. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +91 -86
  13. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +1 -1
  14. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +70 -65
  15. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +3 -3
  16. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +93 -88
  17. package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
  18. package/dist/components/3_compounds/Feed/Feed.vue2.js +167 -154
  19. package/dist/types/apps/data/chats.d.ts +5 -2
  20. package/dist/types/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.d.ts +2 -0
  21. package/dist/types/components/2_chatlist_elements/ChatItem/icons/index.d.ts +7 -0
  22. package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +11 -0
  23. package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +11 -0
  24. package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +11 -0
  25. package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +11 -0
  26. package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +11 -0
  27. package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +11 -0
  28. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import t from "./ChatItem.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-dce06392"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-7011fb0e"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as gt, inject as ft, useId as yt, ref as C, computed as y, watch as vt, onMounted as pt, nextTick as b, onUnmounted as kt, createElementBlock as s, openBlock as o, createElementVNode as r, createCommentVNode as l, withModifiers as _t, normalizeClass as A, normalizeStyle as W, createVNode as V, withCtx as S, toDisplayString as m, createBlock as I, resolveDynamicComponent as xt, Teleport as Ct, unref as T, Fragment as $, renderList as wt } from "vue";
2
- import { getStatus as Mt, statuses as It } from "../../../functions/getStatusMessage.js";
1
+ import { defineComponent as ft, inject as gt, useId as yt, ref as C, computed as y, watch as vt, onMounted as pt, nextTick as b, onUnmounted as kt, createElementBlock as s, openBlock as o, createElementVNode as r, createCommentVNode as l, withModifiers as _t, normalizeClass as A, normalizeStyle as W, createVNode as V, withCtx as S, toDisplayString as m, createBlock as T, resolveDynamicComponent as xt, Teleport as Ct, unref as M, Fragment as $, renderList as wt } from "vue";
2
+ import { getStatus as It, statuses as Tt } from "../../../functions/getStatusMessage.js";
3
3
  import "../../../functions/parseMarkdown.js";
4
4
  import { t as U } from "../../../locale/useLocale.js";
5
5
  import "../../../hooks/useMessageDraft.js";
6
6
  import "../../../hooks/useSearchModel.js";
7
- import { useTheme as Tt } from "../../../hooks/useTheme.js";
7
+ import { useTheme as Mt } from "../../../hooks/useTheme.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import "../../../node_modules/linkifyjs/dist/linkify.js";
@@ -12,54 +12,55 @@ import z from "../../1_atoms/Tooltip/Tooltip.vue.js";
12
12
  import Et from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
13
13
  import Bt from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
14
14
  import bt from "../../1_icons/AvatarIcon.vue.js";
15
- import At from "./icons/FileIcon.vue.js";
16
- import Vt from "./icons/ImageIcon.vue.js";
15
+ import At from "./icons/AudioIcon.vue.js";
16
+ import Vt from "./icons/FileIcon.vue.js";
17
+ import St from "./icons/ImageIcon.vue.js";
18
+ import Ut from "./icons/MissedCallIcon.vue.js";
17
19
  import O from "./icons/StickerIcon.vue.js";
18
- import St from "./icons/VideoIcon.vue.js";
19
- import Ut from "./icons/VoiceIcon.vue.js";
20
- import Lt from "./icons/AudioIcon.vue.js";
21
- const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
20
+ import Lt from "./icons/VideoIcon.vue.js";
21
+ import Dt from "./icons/VoiceIcon.vue.js";
22
+ const Nt = { class: "chat-item__avatar-container" }, Xt = ["src"], Yt = {
22
23
  key: 1,
23
24
  class: "chat-item__avatar-placeholder"
24
- }, Yt = { class: "chat-item__info-container" }, Ft = { class: "chat-item__name" }, Ht = {
25
+ }, Ft = { class: "chat-item__info-container" }, Ht = { class: "chat-item__name" }, Rt = {
25
26
  key: 0,
26
27
  class: "chat-item__last-message"
27
- }, Rt = { class: "chat-item__last-message-text" }, Wt = { class: "chat-item__details-container" }, $t = {
28
+ }, Wt = { class: "chat-item__last-message-text" }, $t = { class: "chat-item__details-container" }, zt = {
28
29
  key: 0,
29
30
  class: "chat-item__time"
30
- }, zt = { class: "chat-item__status-unread-container" }, Ot = {
31
+ }, Ot = { class: "chat-item__status-unread-container" }, qt = {
31
32
  key: 0,
32
33
  class: "pi pi-clock"
33
- }, qt = {
34
+ }, Gt = {
34
35
  key: 1,
35
36
  class: "pi pi-exclamation-circle"
36
- }, Gt = {
37
+ }, Jt = {
37
38
  key: 0,
38
39
  class: "pi pi-check"
39
- }, Jt = {
40
+ }, Kt = {
40
41
  key: 1,
41
42
  class: "chat-item__unread"
42
- }, Kt = {
43
+ }, Pt = {
43
44
  key: 2,
44
45
  class: "chat-item__status-chat-container"
45
- }, Pt = {
46
+ }, Qt = {
46
47
  key: 0,
47
48
  class: "chat-item__fixed pi pi-thumbtack"
48
- }, Qt = {
49
+ }, Zt = {
49
50
  key: 0,
50
51
  id: "noSelectButton",
51
52
  class: "chat-item__menu-button"
52
- }, Zt = {
53
+ }, jt = {
53
54
  key: 1,
54
55
  id: "noSelectButton",
55
56
  class: "chat-item__menu-button"
56
- }, jt = {
57
+ }, te = {
57
58
  key: 0,
58
59
  class: "dialog__container"
59
- }, te = ["onClick"], ee = ["src"], ne = {
60
+ }, ee = ["onClick"], ne = ["src"], ie = {
60
61
  key: 1,
61
62
  class: "dialog__icon pi pi-user"
62
- }, ie = { class: "dialog__text-container" }, oe = { class: "dialog__name" }, ce = { class: "dialog__time" }, Te = /* @__PURE__ */ gt({
63
+ }, oe = { class: "dialog__text-container" }, ce = { class: "dialog__name" }, se = { class: "dialog__time" }, Be = /* @__PURE__ */ ft({
63
64
  __name: "ChatItem",
64
65
  props: {
65
66
  chat: {},
@@ -68,7 +69,7 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
68
69
  },
69
70
  emits: ["select", "action", "expand"],
70
71
  setup(c, { emit: q }) {
71
- const G = ft("chatAppId"), { getTheme: L } = Tt(G), e = c, w = q, h = yt(), g = C(!1), v = C(!1), E = C(!1), J = C(null), K = () => {
72
+ const G = gt("chatAppId"), { getTheme: L } = Mt(G), e = c, w = q, h = yt(), f = C(!1), v = C(!1), E = C(!1), J = C(null), K = () => {
72
73
  E.value = !0;
73
74
  }, P = (t) => {
74
75
  E.value || t.target instanceof HTMLElement && t.target.id != "noSelectButton" && w("select", { chat: e.chat, dialog: null }), E.value = !1;
@@ -84,9 +85,9 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
84
85
  const i = n;
85
86
  i.id !== "context-menu-rightclick-" + h && (i.style.top = "0", i.style.left = "0", i.style.opacity = "0", i.style.display = "none");
86
87
  });
87
- }, et = () => e.chat.dialogs ? [...e.chat.dialogs].sort((t, n) => Number(t["lastActivity.timestamp"]) > Number(n["lastActivity.timestamp"]) ? -1 : Number(t["lastActivity.timestamp"]) < Number(n["lastActivity.timestamp"]) ? 1 : (Number(t["lastActivity.timestamp"]) == Number(n["lastActivity.timestamp"]), 0)) : [], nt = y(() => Mt(e.chat["lastMessage.status"])), it = y(() => e.chat.showEmptyIndicator || e.chat.countUnread > 0), ot = y(() => e.chat.countUnread > 0 ? e.chat.countUnread > 99 ? "99+" : e.chat.countUnread : e.chat.showEmptyIndicator ? "" : void 0);
88
- let M;
89
- const f = C(0), N = [U("component.ChatItem.typing") + ".", U("component.ChatItem.typing") + "..", U("component.ChatItem.typing") + "..."], X = (t) => {
88
+ }, et = () => e.chat.dialogs ? [...e.chat.dialogs].sort((t, n) => Number(t["lastActivity.timestamp"]) > Number(n["lastActivity.timestamp"]) ? -1 : Number(t["lastActivity.timestamp"]) < Number(n["lastActivity.timestamp"]) ? 1 : (Number(t["lastActivity.timestamp"]) == Number(n["lastActivity.timestamp"]), 0)) : [], nt = y(() => It(e.chat["lastMessage.status"])), it = y(() => e.chat.showEmptyIndicator || e.chat.countUnread > 0), ot = y(() => e.chat.countUnread > 0 ? e.chat.countUnread > 99 ? "99+" : e.chat.countUnread : e.chat.showEmptyIndicator ? "" : void 0);
89
+ let I;
90
+ const g = C(0), N = [U("component.ChatItem.typing") + ".", U("component.ChatItem.typing") + "..", U("component.ChatItem.typing") + "..."], X = (t) => {
90
91
  var u, a, d;
91
92
  if (typeof t == "string")
92
93
  return t;
@@ -94,6 +95,8 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
94
95
  return "Стикер";
95
96
  if ((t == null ? void 0 : t.type) === "message.audio")
96
97
  return (t.isVoiceMessage || ((u = t == null ? void 0 : t.data) == null ? void 0 : u.isVoiceMessage)) === !0 ? "Голосовое сообщение" : "Аудиофайл";
98
+ if ((t == null ? void 0 : t.type) === "message.missedCall")
99
+ return "Пропущенный звонок";
97
100
  const n = (a = t == null ? void 0 : t.data) == null ? void 0 : a.text;
98
101
  if (n)
99
102
  return n;
@@ -109,32 +112,34 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
109
112
  if (t === "message.sticker")
110
113
  return O;
111
114
  if (t === "message.image")
112
- return Vt;
113
- if (t === "message.video")
114
115
  return St;
116
+ if (t === "message.video")
117
+ return Lt;
115
118
  if (t === "message.audio") {
116
119
  const a = e.chat.lastMessage;
117
- return (a.isVoiceMessage || ((n = a == null ? void 0 : a.data) == null ? void 0 : n.isVoiceMessage)) === !0 ? Ut : Lt;
120
+ return (a.isVoiceMessage || ((n = a == null ? void 0 : a.data) == null ? void 0 : n.isVoiceMessage)) === !0 ? Dt : At;
118
121
  }
122
+ if (t === "message.missedCall")
123
+ return Ut;
119
124
  if (t === "message.file") {
120
125
  const a = e.chat.lastMessage, d = ((u = (i = a == null ? void 0 : a.data) == null ? void 0 : i.filename) == null ? void 0 : u.toLowerCase()) || "";
121
- return d.endsWith(".tgs") || d.endsWith(".webp") ? O : At;
126
+ return d.endsWith(".tgs") || d.endsWith(".webp") ? O : Vt;
122
127
  }
123
128
  return null;
124
- }), st = y(() => e.chat.typing ? N[f.value] : X(e.chat.lastMessage)), at = y(() => e.chat.typing ? N[f.value] : X(e.chat.lastMessage));
129
+ }), st = y(() => e.chat.typing ? N[g.value] : X(e.chat.lastMessage)), at = y(() => e.chat.typing ? N[g.value] : X(e.chat.lastMessage));
125
130
  vt(
126
131
  () => e.chat.typing,
127
132
  () => {
128
- e.chat.typing ? M = setInterval(() => {
129
- f.value < 2 ? f.value += 1 : f.value = 0;
130
- }, 1e3) : (f.value = 0, M && (clearInterval(M), M = void 0));
133
+ e.chat.typing ? I = setInterval(() => {
134
+ g.value < 2 ? g.value += 1 : g.value = 0;
135
+ }, 1e3) : (g.value = 0, I && (clearInterval(I), I = void 0));
131
136
  },
132
137
  { immediate: !0 }
133
138
  );
134
139
  const rt = () => {
135
- e.contextMenuTrigger === "hover" && (g.value = !0);
140
+ e.contextMenuTrigger === "hover" && (f.value = !0);
136
141
  }, lt = (t) => {
137
- e.contextMenuTrigger === "hover" && (t.relatedTarget instanceof HTMLElement && t.relatedTarget.className == "context-menu__list" ? g.value = !0 : g.value = !1);
142
+ e.contextMenuTrigger === "hover" && (t.relatedTarget instanceof HTMLElement && t.relatedTarget.className == "context-menu__list" ? f.value = !0 : f.value = !1);
138
143
  }, ut = (t) => {
139
144
  e.contextMenuTrigger === "rightClick" && e.chat.actions && dt(t);
140
145
  }, dt = (t) => {
@@ -178,7 +183,7 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
178
183
  onClick: P,
179
184
  onContextmenu: _t(ut, ["prevent"])
180
185
  }, [
181
- r("div", Dt, [
186
+ r("div", Nt, [
182
187
  r("span", {
183
188
  class: "chat-item__status-user",
184
189
  style: W({ backgroundColor: e.chat.status })
@@ -188,17 +193,17 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
188
193
  src: e.chat.avatar,
189
194
  height: "48",
190
195
  width: "48"
191
- }, null, 8, Nt)) : (o(), s("div", Xt, [
196
+ }, null, 8, Xt)) : (o(), s("div", Yt, [
192
197
  V(bt)
193
198
  ]))
194
199
  ]),
195
- r("div", Yt, [
200
+ r("div", Ft, [
196
201
  V(z, {
197
202
  text: c.chat.name,
198
203
  position: "bottom"
199
204
  }, {
200
205
  default: S(() => [
201
- r("div", Ft, m(c.chat.name), 1)
206
+ r("div", Ht, m(c.chat.name), 1)
202
207
  ]),
203
208
  _: 1
204
209
  }, 8, ["text"]),
@@ -207,58 +212,58 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
207
212
  position: "bottom"
208
213
  }, {
209
214
  default: S(() => [
210
- c.chat.lastMessage || c.chat.typing ? (o(), s("div", Ht, [
211
- Y.value ? (o(), I(xt(Y.value), {
215
+ c.chat.lastMessage || c.chat.typing ? (o(), s("div", Rt, [
216
+ Y.value ? (o(), T(xt(Y.value), {
212
217
  key: 0,
213
218
  class: "chat-item__message-icon"
214
219
  })) : l("", !0),
215
- r("span", Rt, m(at.value), 1)
220
+ r("span", Wt, m(at.value), 1)
216
221
  ])) : l("", !0)
217
222
  ]),
218
223
  _: 1
219
224
  }, 8, ["text"])
220
225
  ]),
221
- r("div", Wt, [
222
- c.chat["lastActivity.time"] && (!c.chat.actions || !g.value) ? (o(), s("div", $t, m(c.chat["lastActivity.time"]), 1)) : l("", !0),
223
- g.value && c.chat.actions && c.contextMenuTrigger === "hover" ? (o(), I(Et, {
226
+ r("div", $t, [
227
+ c.chat["lastActivity.time"] && (!c.chat.actions || !f.value) ? (o(), s("div", zt, m(c.chat["lastActivity.time"]), 1)) : l("", !0),
228
+ f.value && c.chat.actions && c.contextMenuTrigger === "hover" ? (o(), T(Et, {
224
229
  key: 1,
225
230
  mode: "click",
226
231
  "menu-side": "bottom-right",
227
232
  actions: c.chat.actions,
228
233
  onClick: D,
229
234
  onButtonClick: K,
230
- onMenuMouseLeave: n[0] || (n[0] = (i) => g.value = !1)
235
+ onMenuMouseLeave: n[0] || (n[0] = (i) => f.value = !1)
231
236
  }, {
232
237
  default: S(() => [...n[2] || (n[2] = [
233
238
  r("span", { class: "pi pi-ellipsis-h chat-item__actions-trigger" }, null, -1)
234
239
  ])]),
235
240
  _: 1
236
241
  }, 8, ["actions"])) : l("", !0),
237
- (o(), I(Ct, { to: "body" }, [
238
- c.contextMenuTrigger === "rightClick" && c.chat.actions && v.value ? (o(), I(Bt, {
242
+ (o(), T(Ct, { to: "body" }, [
243
+ c.contextMenuTrigger === "rightClick" && c.chat.actions && v.value ? (o(), T(Bt, {
239
244
  key: 0,
240
- id: "context-menu-rightclick-" + T(h),
245
+ id: "context-menu-rightclick-" + M(h),
241
246
  actions: c.chat.actions,
242
- "data-theme": T(L)().theme ? T(L)().theme : "light",
247
+ "data-theme": M(L)().theme ? M(L)().theme : "light",
243
248
  onClick: D,
244
249
  onMouseenter: mt,
245
250
  onMouseleave: ht
246
251
  }, null, 8, ["id", "actions", "data-theme"])) : l("", !0)
247
252
  ])),
248
- r("div", zt, [
249
- T(It).includes(c.chat["lastMessage.status"]) ? (o(), s("div", {
253
+ r("div", Ot, [
254
+ M(Tt).includes(c.chat["lastMessage.status"]) ? (o(), s("div", {
250
255
  key: 0,
251
256
  class: A(["chat-item__status-message", nt.value])
252
257
  }, [
253
- c.chat["lastMessage.status"] === "pending" ? (o(), s("span", Ot)) : c.chat["lastMessage.status"] === "error" ? (o(), s("span", qt)) : (o(), s($, { key: 2 }, [
254
- c.chat["lastMessage.status"] !== "sent" ? (o(), s("span", Gt)) : l("", !0),
258
+ c.chat["lastMessage.status"] === "pending" ? (o(), s("span", qt)) : c.chat["lastMessage.status"] === "error" ? (o(), s("span", Gt)) : (o(), s($, { key: 2 }, [
259
+ c.chat["lastMessage.status"] !== "sent" ? (o(), s("span", Jt)) : l("", !0),
255
260
  n[3] || (n[3] = r("span", { class: "pi pi-check" }, null, -1))
256
261
  ], 64))
257
262
  ], 2)) : l("", !0),
258
- it.value ? (o(), s("div", Jt, m(ot.value), 1)) : l("", !0)
263
+ it.value ? (o(), s("div", Kt, m(ot.value), 1)) : l("", !0)
259
264
  ]),
260
- c.chat.countUnread < 1 ? (o(), s("div", Kt, [
261
- c.chat.isFixedTop || c.chat.isFixedBottom ? (o(), s("span", Pt)) : l("", !0)
265
+ c.chat.countUnread < 1 ? (o(), s("div", Pt, [
266
+ c.chat.isFixedTop || c.chat.isFixedBottom ? (o(), s("span", Qt)) : l("", !0)
262
267
  ])) : l("", !0)
263
268
  ]),
264
269
  e.showDialogs && c.chat.dialogs ? (o(), s("div", {
@@ -266,13 +271,13 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
266
271
  class: "chat-item__dialog-buttons",
267
272
  onClick: n[1] || (n[1] = (i) => w("expand", e.chat))
268
273
  }, [
269
- e.showDialogs && !c.chat.dialogsExpanded ? (o(), s("button", Qt, [...n[4] || (n[4] = [
274
+ e.showDialogs && !c.chat.dialogsExpanded ? (o(), s("button", Zt, [...n[4] || (n[4] = [
270
275
  r("span", {
271
276
  id: "noSelectButton",
272
277
  class: "pi pi-angle-down"
273
278
  }, null, -1)
274
279
  ])])) : l("", !0),
275
- e.showDialogs && c.chat.dialogsExpanded ? (o(), s("button", Zt, [...n[5] || (n[5] = [
280
+ e.showDialogs && c.chat.dialogsExpanded ? (o(), s("button", jt, [...n[5] || (n[5] = [
276
281
  r("span", {
277
282
  id: "noSelectButton",
278
283
  class: "pi pi-angle-up"
@@ -280,7 +285,7 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
280
285
  ])])) : l("", !0)
281
286
  ])) : l("", !0)
282
287
  ], 34),
283
- e.showDialogs && c.chat.dialogsExpanded ? (o(), s("div", jt, [
288
+ e.showDialogs && c.chat.dialogsExpanded ? (o(), s("div", te, [
284
289
  (o(!0), s($, null, wt(et(), (i) => (o(), s("div", {
285
290
  key: i.dialogId,
286
291
  class: A(["dialog__item", j(i)]),
@@ -292,21 +297,21 @@ const Dt = { class: "chat-item__avatar-container" }, Nt = ["src"], Xt = {
292
297
  src: i.icon,
293
298
  height: "16",
294
299
  width: "16"
295
- }, null, 8, ee)) : (o(), s("span", ne)),
296
- r("div", ie, [
297
- r("div", oe, m(i.name), 1),
298
- r("div", ce, m(i["lastActivity.time"]), 1)
300
+ }, null, 8, ne)) : (o(), s("span", ie)),
301
+ r("div", oe, [
302
+ r("div", ce, m(i.name), 1),
303
+ r("div", se, m(i["lastActivity.time"]), 1)
299
304
  ]),
300
305
  i.countUnread > 0 ? (o(), s("div", {
301
306
  key: 2,
302
307
  class: "chat-item__unread",
303
308
  style: W(i.colorUnread ? { backgroundColor: i.colorUnread } : {})
304
309
  }, m(i.countUnread > 99 ? "99+" : i.countUnread), 5)) : l("", !0)
305
- ], 10, te))), 128))
310
+ ], 10, ee))), 128))
306
311
  ])) : l("", !0)
307
312
  ]));
308
313
  }
309
314
  });
310
315
  export {
311
- Te as default
316
+ Be as default
312
317
  };
@@ -0,0 +1,34 @@
1
+ import { createElementBlock as t, openBlock as l, createElementVNode as C } from "vue";
2
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const i = {}, r = {
4
+ width: "16",
5
+ height: "16",
6
+ viewBox: "0 0 16 16",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function n(c, e) {
11
+ return l(), t("svg", r, [...e[0] || (e[0] = [
12
+ C("g", { "clip-path": "url(#clip0_8058_5201)" }, [
13
+ C("path", {
14
+ "fill-rule": "evenodd",
15
+ "clip-rule": "evenodd",
16
+ d: "M1.88547 0.511894C2.06045 0.337182 2.27055 0.201652 2.50187 0.114284C2.73318 0.0269155 2.98043 -0.0102955 3.22721 0.00511669C3.47399 0.0205289 3.71469 0.0882124 3.93333 0.203682C4.15198 0.319151 4.34359 0.47977 4.49547 0.674894L6.29047 2.98089C6.61947 3.40389 6.73547 3.95489 6.60547 4.47489L6.05847 6.66489C6.03019 6.77832 6.03172 6.89714 6.06291 7.0098C6.0941 7.12247 6.15388 7.22516 6.23647 7.30789L8.69347 9.76489C8.77631 9.84765 8.87916 9.90754 8.99202 9.93873C9.10488 9.96992 9.22389 9.97136 9.33747 9.94289L11.5265 9.39589C11.7831 9.33173 12.0509 9.32675 12.3098 9.38132C12.5686 9.43589 12.8116 9.54859 13.0205 9.71089L15.3265 11.5049C16.1555 12.1499 16.2315 13.3749 15.4895 14.1159L14.4555 15.1499C13.7155 15.8899 12.6095 16.2149 11.5785 15.8519C8.93965 14.9234 6.54374 13.4127 4.56847 11.4319C2.58776 9.45691 1.07708 7.06135 0.148471 4.42289C-0.213529 3.39289 0.111471 2.28589 0.851471 1.54589L1.88547 0.511894ZM15.8545 0.146894C15.901 0.193339 15.938 0.248515 15.9632 0.30926C15.9884 0.370005 16.0014 0.435126 16.0014 0.500894C16.0014 0.566661 15.9884 0.631782 15.9632 0.692527C15.938 0.753273 15.901 0.808448 15.8545 0.854894L11.7075 5.00089H14.5005C14.6331 5.00089 14.7603 5.05357 14.854 5.14734C14.9478 5.24111 15.0005 5.36829 15.0005 5.50089C15.0005 5.6335 14.9478 5.76068 14.854 5.85445C14.7603 5.94822 14.6331 6.00089 14.5005 6.00089H10.5005C10.3679 6.00089 10.2407 5.94822 10.1469 5.85445C10.0531 5.76068 10.0005 5.6335 10.0005 5.50089V1.50089C10.0005 1.36829 10.0531 1.24111 10.1469 1.14734C10.2407 1.05357 10.3679 1.00089 10.5005 1.00089C10.6331 1.00089 10.7603 1.05357 10.854 1.14734C10.9478 1.24111 11.0005 1.36829 11.0005 1.50089V4.29389L15.1465 0.146894C15.1929 0.100331 15.2481 0.0633877 15.3088 0.0381813C15.3696 0.0129748 15.4347 0 15.5005 0C15.5662 0 15.6314 0.0129748 15.6921 0.0381813C15.7528 0.0633877 15.808 0.100331 15.8545 0.146894Z",
17
+ fill: "currentColor"
18
+ })
19
+ ], -1),
20
+ C("defs", null, [
21
+ C("clipPath", { id: "clip0_8058_5201" }, [
22
+ C("rect", {
23
+ width: "16",
24
+ height: "16",
25
+ fill: "white"
26
+ })
27
+ ])
28
+ ], -1)
29
+ ])]);
30
+ }
31
+ const p = /* @__PURE__ */ o(i, [["render", n]]);
32
+ export {
33
+ p as default
34
+ };
@@ -1,7 +1,7 @@
1
1
  import o from "./AudioMessage.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a051d273"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c8075a05"]]);
5
5
  export {
6
6
  e as default
7
7
  };