@mobilon-dev/chotto 0.3.39 → 0.3.40

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 (103) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +392 -392
  3. package/dist/chotto.css +1 -1
  4. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +1 -1
  5. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +2 -2
  6. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +1 -1
  7. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -4
  8. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +3 -3
  9. package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +8 -8
  10. package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +2 -2
  11. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +14 -14
  12. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +1 -1
  13. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +1 -1
  14. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -4
  15. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +1 -1
  16. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +2 -2
  17. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +2 -2
  18. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +1 -1
  19. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +2 -2
  20. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +1 -1
  21. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +11 -11
  22. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +2 -2
  23. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +1 -1
  24. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +2 -2
  25. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +5 -5
  26. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +2 -2
  27. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +2 -2
  28. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +2 -2
  29. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +1 -1
  30. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +1 -1
  31. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +1 -1
  32. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +174 -135
  33. package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +25 -0
  34. package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +18 -0
  35. package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +21 -0
  36. package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +25 -0
  37. package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +3 -3
  38. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +2 -2
  39. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +1 -1
  40. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +9 -9
  41. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +1 -1
  42. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +1 -1
  43. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +2 -2
  44. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +4 -4
  45. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +1 -1
  46. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +2 -2
  47. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +3 -3
  48. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +2 -2
  49. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +1 -1
  50. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +1 -1
  51. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +2 -2
  52. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +1 -1
  53. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
  54. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +1 -1
  55. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +2 -2
  56. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +2 -2
  57. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +1 -1
  58. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +2 -2
  59. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -4
  60. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +2 -2
  61. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +2 -2
  62. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -4
  63. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +1 -1
  64. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +2 -2
  65. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +1 -1
  66. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +1 -1
  67. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +1 -1
  68. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +2 -2
  69. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +2 -2
  70. package/dist/components/2_modals/CreateChat/CreateChat.vue.js +6 -6
  71. package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +1 -1
  72. package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +10 -10
  73. package/dist/components/2_modals/Modal/Modal.vue.js +1 -1
  74. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +1 -1
  75. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +1 -1
  76. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +1 -1
  77. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +1 -1
  78. package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +11 -11
  79. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +1 -1
  80. package/dist/components/3_compounds/ChatList/ChatList.vue.js +5 -5
  81. package/dist/components/3_compounds/Feed/Feed.vue.js +1 -1
  82. package/dist/components/3_compounds/Feed/assets/chat-background.svg.js +3 -3
  83. package/dist/components/3_compounds/SideBar/SideBar.vue.js +1 -1
  84. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +2 -2
  85. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +1 -1
  86. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +2 -2
  87. package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +1 -1
  88. package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +5 -5
  89. package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +3 -3
  90. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +1 -1
  91. package/dist/themes/dark.css +1 -1
  92. package/dist/themes/default.css +1 -1
  93. package/dist/themes/glass.css +1 -1
  94. package/dist/themes/green.css +1 -1
  95. package/dist/themes/mobilon1.css +1 -1
  96. package/dist/types/apps/data/chats.d.ts +57 -5
  97. package/dist/types/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.d.ts +2 -0
  98. package/dist/types/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.d.ts +2 -0
  99. package/dist/types/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.d.ts +2 -0
  100. package/dist/types/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.d.ts +2 -0
  101. package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +24 -6
  102. package/dist/types/components/2_chatlist_elements/ChatItem/types.d.ts +25 -1
  103. package/package.json +72 -72
@@ -1,59 +1,63 @@
1
- import { defineComponent as rt, inject as ut, useId as dt, ref as p, computed as M, watch as ht, onMounted as mt, nextTick as b, onUnmounted as gt, createElementBlock as c, openBlock as o, createElementVNode as a, createCommentVNode as l, withModifiers as yt, normalizeClass as B, normalizeStyle as X, createVNode as I, withCtx as A, toDisplayString as r, createBlock as S, Teleport as vt, unref as C, Fragment as Y, renderList as ft } from "vue";
2
- import { getStatus as pt, statuses as kt } from "../../../functions/getStatusMessage.js";
1
+ import { defineComponent as gt, inject as ft, useId as yt, ref as x, computed as f, watch as vt, onMounted as pt, nextTick as b, onUnmounted as kt, createElementBlock as s, openBlock as o, createElementVNode as a, createCommentVNode as l, withModifiers as _t, normalizeClass as B, normalizeStyle as H, createVNode as A, withCtx as S, toDisplayString as d, createBlock as M, resolveDynamicComponent as xt, Teleport as Ct, unref as T, Fragment as R, renderList as wt } from "vue";
2
+ import { getStatus as Mt, 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 xt } from "../../../hooks/useTheme.js";
7
+ import { useTheme as It } from "../../../hooks/useTheme.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import "../../../node_modules/linkifyjs/dist/linkify.js";
11
- import H from "../../1_atoms/Tooltip/Tooltip.vue.js";
12
- import _t from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
13
- import Mt from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
14
- import Ct from "../../1_icons/AvatarIcon.vue.js";
15
- const wt = { class: "chat-item__avatar-container" }, Tt = ["src"], Et = {
11
+ import W from "../../1_atoms/Tooltip/Tooltip.vue.js";
12
+ import Et from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
13
+ import bt from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
14
+ import Bt from "../../1_icons/AvatarIcon.vue.js";
15
+ import At from "./icons/FileIcon.vue.js";
16
+ import St from "./icons/ImageIcon.vue.js";
17
+ import O from "./icons/StickerIcon.vue.js";
18
+ import Ut from "./icons/VideoIcon.vue.js";
19
+ const Lt = { class: "chat-item__avatar-container" }, Dt = ["src"], Nt = {
16
20
  key: 1,
17
21
  class: "chat-item__avatar-placeholder"
18
- }, bt = { class: "chat-item__info-container" }, Bt = { class: "chat-item__name" }, It = {
22
+ }, Vt = { class: "chat-item__info-container" }, Xt = { class: "chat-item__name" }, Yt = {
19
23
  key: 0,
20
24
  class: "chat-item__last-message"
21
- }, At = { class: "chat-item__details-container" }, St = {
25
+ }, Ft = { class: "chat-item__last-message-text" }, Ht = { class: "chat-item__details-container" }, Rt = {
22
26
  key: 0,
23
27
  class: "chat-item__time"
24
- }, Ut = { class: "chat-item__status-unread-container" }, Lt = {
28
+ }, Wt = { class: "chat-item__status-unread-container" }, Ot = {
25
29
  key: 0,
26
30
  class: "pi pi-clock"
27
- }, Nt = {
31
+ }, $t = {
28
32
  key: 1,
29
33
  class: "pi pi-exclamation-circle"
30
- }, Dt = {
34
+ }, zt = {
31
35
  key: 0,
32
36
  class: "pi pi-check"
33
- }, Vt = {
37
+ }, qt = {
34
38
  key: 1,
35
39
  class: "chat-item__unread"
36
- }, Xt = {
40
+ }, jt = {
37
41
  key: 2,
38
42
  class: "chat-item__status-chat-container"
39
- }, Yt = {
43
+ }, Gt = {
40
44
  key: 0,
41
45
  class: "chat-item__fixed pi pi-thumbtack"
42
- }, Ht = {
46
+ }, Jt = {
43
47
  key: 0,
44
48
  id: "noSelectButton",
45
49
  class: "chat-item__menu-button"
46
- }, Ot = {
50
+ }, Kt = {
47
51
  key: 1,
48
52
  id: "noSelectButton",
49
53
  class: "chat-item__menu-button"
50
- }, Rt = {
54
+ }, Pt = {
51
55
  key: 0,
52
56
  class: "dialog__container"
53
- }, Ft = ["onClick"], $t = ["src"], zt = {
57
+ }, Qt = ["onClick"], Zt = ["src"], te = {
54
58
  key: 1,
55
59
  class: "dialog__icon pi pi-user"
56
- }, Wt = { class: "dialog__text-container" }, jt = { class: "dialog__name" }, qt = { class: "dialog__time" }, le = /* @__PURE__ */ rt({
60
+ }, ee = { class: "dialog__text-container" }, ne = { class: "dialog__name" }, ie = { class: "dialog__time" }, Ce = /* @__PURE__ */ gt({
57
61
  __name: "ChatItem",
58
62
  props: {
59
63
  chat: {},
@@ -61,171 +65,206 @@ const wt = { class: "chat-item__avatar-container" }, Tt = ["src"], Et = {
61
65
  contextMenuTrigger: { default: "hover" }
62
66
  },
63
67
  emits: ["select", "action", "expand"],
64
- setup(i, { emit: O }) {
65
- const R = ut("chatAppId"), { getTheme: L } = xt(R), e = i, k = O, u = dt(), d = p(!1), h = p(!1), w = p(!1), F = p(null), $ = () => {
66
- w.value = !0;
67
- }, z = (t) => {
68
- w.value || t.target instanceof HTMLElement && t.target.id != "noSelectButton" && k("select", { chat: e.chat, dialog: null }), w.value = !1;
69
- }, W = (t) => {
70
- k("select", { chat: e.chat, dialog: t });
71
- }, j = () => e.chat.isSelected ? "chat-item__selected" : "", q = (t) => t.isSelected ? "dialog__selected" : "", N = (t) => {
72
- e.contextMenuTrigger === "rightClick" && T(), k("action", { chat: e.chat, ...t });
73
- }, T = () => {
74
- const t = document.getElementById("context-menu-rightclick-" + u);
75
- t && (t.style.top = "0", t.style.left = "0", t.style.opacity = "0", t.style.display = "none"), h.value = !1;
76
- }, G = () => {
68
+ setup(c, { emit: $ }) {
69
+ const z = ft("chatAppId"), { getTheme: L } = It(z), e = c, C = $, m = yt(), h = x(!1), y = x(!1), I = x(!1), q = x(null), j = () => {
70
+ I.value = !0;
71
+ }, G = (t) => {
72
+ I.value || t.target instanceof HTMLElement && t.target.id != "noSelectButton" && C("select", { chat: e.chat, dialog: null }), I.value = !1;
73
+ }, J = (t) => {
74
+ C("select", { chat: e.chat, dialog: t });
75
+ }, K = () => e.chat.isSelected ? "chat-item__selected" : "", P = (t) => t.isSelected ? "dialog__selected" : "", D = (t) => {
76
+ e.contextMenuTrigger === "rightClick" && E(), C("action", { chat: e.chat, ...t });
77
+ }, E = () => {
78
+ const t = document.getElementById("context-menu-rightclick-" + m);
79
+ t && (t.style.top = "0", t.style.left = "0", t.style.opacity = "0", t.style.display = "none"), y.value = !1;
80
+ }, Q = () => {
77
81
  document.querySelectorAll('[id^="context-menu-rightclick-"]').forEach((n) => {
78
- const s = n;
79
- s.id !== "context-menu-rightclick-" + u && (s.style.top = "0", s.style.left = "0", s.style.opacity = "0", s.style.display = "none");
82
+ const i = n;
83
+ i.id !== "context-menu-rightclick-" + m && (i.style.top = "0", i.style.left = "0", i.style.opacity = "0", i.style.display = "none");
80
84
  });
81
- }, J = () => 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)) : [], K = M(() => pt(e.chat["lastMessage.status"])), P = M(() => e.chat.showEmptyIndicator || e.chat.countUnread > 0), Q = M(() => e.chat.countUnread > 0 ? e.chat.countUnread > 99 ? "99+" : e.chat.countUnread : e.chat.showEmptyIndicator ? "" : void 0);
82
- let x;
83
- const m = p(0), Z = [U("component.ChatItem.typing") + ".", U("component.ChatItem.typing") + "..", U("component.ChatItem.typing") + "..."], tt = M(() => e.chat.typing ? Z[m.value] : e.chat.lastMessage);
84
- ht(
85
+ }, Z = () => 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)) : [], tt = f(() => Mt(e.chat["lastMessage.status"])), et = f(() => e.chat.showEmptyIndicator || e.chat.countUnread > 0), nt = f(() => e.chat.countUnread > 0 ? e.chat.countUnread > 99 ? "99+" : e.chat.countUnread : e.chat.showEmptyIndicator ? "" : void 0);
86
+ let w;
87
+ const g = x(0), N = [U("component.ChatItem.typing") + ".", U("component.ChatItem.typing") + "..", U("component.ChatItem.typing") + "..."], V = (t) => {
88
+ var r, u;
89
+ if (typeof t == "string")
90
+ return t;
91
+ if ((t == null ? void 0 : t.type) === "message.sticker")
92
+ return "Стикер";
93
+ const n = (r = t == null ? void 0 : t.data) == null ? void 0 : r.text;
94
+ if (n)
95
+ return n;
96
+ const i = (u = t == null ? void 0 : t.data) == null ? void 0 : u.filename;
97
+ return i || "";
98
+ }, it = (t) => typeof t == "string" ? null : (t == null ? void 0 : t.type) || null, X = f(() => {
99
+ var n, i;
100
+ if (e.chat.typing)
101
+ return null;
102
+ const t = it(e.chat.lastMessage);
103
+ if (!t)
104
+ return null;
105
+ if (t === "message.sticker")
106
+ return O;
107
+ if (t === "message.image")
108
+ return St;
109
+ if (t === "message.video")
110
+ return Ut;
111
+ if (t === "message.file") {
112
+ const r = e.chat.lastMessage, u = ((i = (n = r == null ? void 0 : r.data) == null ? void 0 : n.filename) == null ? void 0 : i.toLowerCase()) || "";
113
+ return u.endsWith(".tgs") || u.endsWith(".webp") ? O : At;
114
+ }
115
+ return null;
116
+ }), ot = f(() => e.chat.typing ? N[g.value] : V(e.chat.lastMessage)), ct = f(() => e.chat.typing ? N[g.value] : V(e.chat.lastMessage));
117
+ vt(
85
118
  () => e.chat.typing,
86
119
  () => {
87
- e.chat.typing ? x = setInterval(() => {
88
- m.value < 2 ? m.value += 1 : m.value = 0;
89
- }, 1e3) : (m.value = 0, x && (clearInterval(x), x = void 0));
120
+ e.chat.typing ? w = setInterval(() => {
121
+ g.value < 2 ? g.value += 1 : g.value = 0;
122
+ }, 1e3) : (g.value = 0, w && (clearInterval(w), w = void 0));
90
123
  },
91
124
  { immediate: !0 }
92
125
  );
93
- const et = () => {
94
- e.contextMenuTrigger === "hover" && (d.value = !0);
95
- }, nt = (t) => {
96
- e.contextMenuTrigger === "hover" && (t.relatedTarget instanceof HTMLElement && t.relatedTarget.className == "context-menu__list" ? d.value = !0 : d.value = !1);
97
- }, it = (t) => {
98
- e.contextMenuTrigger === "rightClick" && e.chat.actions && st(t);
99
- }, st = (t) => {
100
- G(), h.value = !0, b(() => {
101
- const n = document.getElementById("context-menu-rightclick-" + u);
126
+ const st = () => {
127
+ e.contextMenuTrigger === "hover" && (h.value = !0);
128
+ }, at = (t) => {
129
+ e.contextMenuTrigger === "hover" && (t.relatedTarget instanceof HTMLElement && t.relatedTarget.className == "context-menu__list" ? h.value = !0 : h.value = !1);
130
+ }, lt = (t) => {
131
+ e.contextMenuTrigger === "rightClick" && e.chat.actions && rt(t);
132
+ }, rt = (t) => {
133
+ Q(), y.value = !0, b(() => {
134
+ const n = document.getElementById("context-menu-rightclick-" + m);
102
135
  if (n) {
103
- const s = t.clientX, E = t.clientY;
136
+ const i = t.clientX, r = t.clientY;
104
137
  n.style.display = "inherit";
105
- const _ = n.getBoundingClientRect();
138
+ const u = n.getBoundingClientRect();
106
139
  n.style.display = "none", b(() => {
107
- const at = window.innerWidth, lt = window.innerHeight, g = window.scrollX || window.pageXOffset, y = window.scrollY || window.pageYOffset;
108
- let v = s + g, f = E + y;
109
- v + _.width > at + g && (v = s + g - _.width), f + _.height > lt + y && (f = E + y - _.height), v < g && (v = g), f < y && (f = y), n.style.top = f + "px", n.style.left = v + "px", n.style.opacity = "1", n.style.display = "inherit";
140
+ const mt = window.innerWidth, ht = window.innerHeight, v = window.scrollX || window.pageXOffset, p = window.scrollY || window.pageYOffset;
141
+ let k = i + v, _ = r + p;
142
+ k + u.width > mt + v && (k = i + v - u.width), _ + u.height > ht + p && (_ = r + p - u.height), k < v && (k = v), _ < p && (_ = p), n.style.top = _ + "px", n.style.left = k + "px", n.style.opacity = "1", n.style.display = "inherit";
110
143
  });
111
144
  }
112
145
  });
113
- }, ot = () => {
114
- }, ct = () => {
115
- }, D = (t) => {
116
- if (e.contextMenuTrigger === "rightClick" && h.value) {
117
- const n = t.target, s = document.getElementById("context-menu-rightclick-" + u);
118
- (!s || !s.contains(n)) && T();
146
+ }, ut = () => {
147
+ }, dt = () => {
148
+ }, Y = (t) => {
149
+ if (e.contextMenuTrigger === "rightClick" && y.value) {
150
+ const n = t.target, i = document.getElementById("context-menu-rightclick-" + m);
151
+ (!i || !i.contains(n)) && E();
119
152
  }
120
- }, V = () => {
121
- e.contextMenuTrigger === "rightClick" && h.value && T();
153
+ }, F = () => {
154
+ e.contextMenuTrigger === "rightClick" && y.value && E();
122
155
  };
123
- return mt(() => {
124
- e.contextMenuTrigger === "rightClick" && (document.addEventListener("click", D), window.addEventListener("scroll", V, !0), b(() => {
125
- const t = document.getElementById("context-menu-rightclick-" + u);
156
+ return pt(() => {
157
+ e.contextMenuTrigger === "rightClick" && (document.addEventListener("click", Y), window.addEventListener("scroll", F, !0), b(() => {
158
+ const t = document.getElementById("context-menu-rightclick-" + m);
126
159
  t && (t.style.display = "none", t.style.opacity = "0");
127
160
  }));
128
- }), gt(() => {
129
- document.removeEventListener("click", D), window.removeEventListener("scroll", V, !0);
130
- }), (t, n) => (o(), c("div", null, [
161
+ }), kt(() => {
162
+ document.removeEventListener("click", Y), window.removeEventListener("scroll", F, !0);
163
+ }), (t, n) => (o(), s("div", null, [
131
164
  a("div", {
132
165
  ref_key: "containerRef",
133
- ref: F,
134
- class: B(["chat-item__container", j()]),
135
- onMouseenter: et,
136
- onMouseleave: nt,
137
- onClick: z,
138
- onContextmenu: yt(it, ["prevent"])
166
+ ref: q,
167
+ class: B(["chat-item__container", K()]),
168
+ onMouseenter: st,
169
+ onMouseleave: at,
170
+ onClick: G,
171
+ onContextmenu: _t(lt, ["prevent"])
139
172
  }, [
140
- a("div", wt, [
173
+ a("div", Lt, [
141
174
  a("span", {
142
175
  class: "chat-item__status-user",
143
- style: X({ backgroundColor: e.chat.status })
176
+ style: H({ backgroundColor: e.chat.status })
144
177
  }, null, 4),
145
- e.chat.avatar ? (o(), c("img", {
178
+ e.chat.avatar ? (o(), s("img", {
146
179
  key: 0,
147
180
  src: e.chat.avatar,
148
181
  height: "48",
149
182
  width: "48"
150
- }, null, 8, Tt)) : (o(), c("div", Et, [
151
- I(Ct)
183
+ }, null, 8, Dt)) : (o(), s("div", Nt, [
184
+ A(Bt)
152
185
  ]))
153
186
  ]),
154
- a("div", bt, [
155
- I(H, {
156
- text: i.chat.name,
187
+ a("div", Vt, [
188
+ A(W, {
189
+ text: c.chat.name,
157
190
  position: "bottom"
158
191
  }, {
159
- default: A(() => [
160
- a("div", Bt, r(i.chat.name), 1)
192
+ default: S(() => [
193
+ a("div", Xt, d(c.chat.name), 1)
161
194
  ]),
162
195
  _: 1
163
196
  }, 8, ["text"]),
164
- I(H, {
165
- text: i.chat.lastMessage,
197
+ A(W, {
198
+ text: ot.value,
166
199
  position: "bottom"
167
200
  }, {
168
- default: A(() => [
169
- i.chat.lastMessage || i.chat.typing ? (o(), c("div", It, r(tt.value), 1)) : l("", !0)
201
+ default: S(() => [
202
+ c.chat.lastMessage || c.chat.typing ? (o(), s("div", Yt, [
203
+ X.value ? (o(), M(xt(X.value), {
204
+ key: 0,
205
+ class: "chat-item__message-icon"
206
+ })) : l("", !0),
207
+ a("span", Ft, d(ct.value), 1)
208
+ ])) : l("", !0)
170
209
  ]),
171
210
  _: 1
172
211
  }, 8, ["text"])
173
212
  ]),
174
- a("div", At, [
175
- i.chat["lastActivity.time"] && (!i.chat.actions || !d.value) ? (o(), c("div", St, r(i.chat["lastActivity.time"]), 1)) : l("", !0),
176
- d.value && i.chat.actions && i.contextMenuTrigger === "hover" ? (o(), S(_t, {
213
+ a("div", Ht, [
214
+ c.chat["lastActivity.time"] && (!c.chat.actions || !h.value) ? (o(), s("div", Rt, d(c.chat["lastActivity.time"]), 1)) : l("", !0),
215
+ h.value && c.chat.actions && c.contextMenuTrigger === "hover" ? (o(), M(Et, {
177
216
  key: 1,
178
217
  mode: "click",
179
218
  "menu-side": "bottom-right",
180
- actions: i.chat.actions,
181
- onClick: N,
182
- onButtonClick: $,
183
- onMenuMouseLeave: n[0] || (n[0] = (s) => d.value = !1)
219
+ actions: c.chat.actions,
220
+ onClick: D,
221
+ onButtonClick: j,
222
+ onMenuMouseLeave: n[0] || (n[0] = (i) => h.value = !1)
184
223
  }, {
185
- default: A(() => [...n[2] || (n[2] = [
224
+ default: S(() => [...n[2] || (n[2] = [
186
225
  a("span", { class: "pi pi-ellipsis-h chat-item__actions-trigger" }, null, -1)
187
226
  ])]),
188
227
  _: 1
189
228
  }, 8, ["actions"])) : l("", !0),
190
- (o(), S(vt, { to: "body" }, [
191
- i.contextMenuTrigger === "rightClick" && i.chat.actions && h.value ? (o(), S(Mt, {
229
+ (o(), M(Ct, { to: "body" }, [
230
+ c.contextMenuTrigger === "rightClick" && c.chat.actions && y.value ? (o(), M(bt, {
192
231
  key: 0,
193
- id: "context-menu-rightclick-" + C(u),
194
- actions: i.chat.actions,
195
- "data-theme": C(L)().theme ? C(L)().theme : "light",
196
- onClick: N,
197
- onMouseenter: ot,
198
- onMouseleave: ct
232
+ id: "context-menu-rightclick-" + T(m),
233
+ actions: c.chat.actions,
234
+ "data-theme": T(L)().theme ? T(L)().theme : "light",
235
+ onClick: D,
236
+ onMouseenter: ut,
237
+ onMouseleave: dt
199
238
  }, null, 8, ["id", "actions", "data-theme"])) : l("", !0)
200
239
  ])),
201
- a("div", Ut, [
202
- C(kt).includes(i.chat["lastMessage.status"]) ? (o(), c("div", {
240
+ a("div", Wt, [
241
+ T(Tt).includes(c.chat["lastMessage.status"]) ? (o(), s("div", {
203
242
  key: 0,
204
- class: B(["chat-item__status-message", K.value])
243
+ class: B(["chat-item__status-message", tt.value])
205
244
  }, [
206
- i.chat["lastMessage.status"] === "pending" ? (o(), c("span", Lt)) : i.chat["lastMessage.status"] === "error" ? (o(), c("span", Nt)) : (o(), c(Y, { key: 2 }, [
207
- i.chat["lastMessage.status"] !== "sent" ? (o(), c("span", Dt)) : l("", !0),
245
+ c.chat["lastMessage.status"] === "pending" ? (o(), s("span", Ot)) : c.chat["lastMessage.status"] === "error" ? (o(), s("span", $t)) : (o(), s(R, { key: 2 }, [
246
+ c.chat["lastMessage.status"] !== "sent" ? (o(), s("span", zt)) : l("", !0),
208
247
  n[3] || (n[3] = a("span", { class: "pi pi-check" }, null, -1))
209
248
  ], 64))
210
249
  ], 2)) : l("", !0),
211
- P.value ? (o(), c("div", Vt, r(Q.value), 1)) : l("", !0)
250
+ et.value ? (o(), s("div", qt, d(nt.value), 1)) : l("", !0)
212
251
  ]),
213
- i.chat.countUnread < 1 ? (o(), c("div", Xt, [
214
- i.chat.isFixedTop || i.chat.isFixedBottom ? (o(), c("span", Yt)) : l("", !0)
252
+ c.chat.countUnread < 1 ? (o(), s("div", jt, [
253
+ c.chat.isFixedTop || c.chat.isFixedBottom ? (o(), s("span", Gt)) : l("", !0)
215
254
  ])) : l("", !0)
216
255
  ]),
217
- e.showDialogs && i.chat.dialogs ? (o(), c("div", {
256
+ e.showDialogs && c.chat.dialogs ? (o(), s("div", {
218
257
  key: 0,
219
258
  class: "chat-item__dialog-buttons",
220
- onClick: n[1] || (n[1] = (s) => k("expand", e.chat))
259
+ onClick: n[1] || (n[1] = (i) => C("expand", e.chat))
221
260
  }, [
222
- e.showDialogs && !i.chat.dialogsExpanded ? (o(), c("button", Ht, [...n[4] || (n[4] = [
261
+ e.showDialogs && !c.chat.dialogsExpanded ? (o(), s("button", Jt, [...n[4] || (n[4] = [
223
262
  a("span", {
224
263
  id: "noSelectButton",
225
264
  class: "pi pi-angle-down"
226
265
  }, null, -1)
227
266
  ])])) : l("", !0),
228
- e.showDialogs && i.chat.dialogsExpanded ? (o(), c("button", Ot, [...n[5] || (n[5] = [
267
+ e.showDialogs && c.chat.dialogsExpanded ? (o(), s("button", Kt, [...n[5] || (n[5] = [
229
268
  a("span", {
230
269
  id: "noSelectButton",
231
270
  class: "pi pi-angle-up"
@@ -233,33 +272,33 @@ const wt = { class: "chat-item__avatar-container" }, Tt = ["src"], Et = {
233
272
  ])])) : l("", !0)
234
273
  ])) : l("", !0)
235
274
  ], 34),
236
- e.showDialogs && i.chat.dialogsExpanded ? (o(), c("div", Rt, [
237
- (o(!0), c(Y, null, ft(J(), (s) => (o(), c("div", {
238
- key: s.dialogId,
239
- class: B(["dialog__item", q(s)]),
240
- onClick: (E) => W(s)
275
+ e.showDialogs && c.chat.dialogsExpanded ? (o(), s("div", Pt, [
276
+ (o(!0), s(R, null, wt(Z(), (i) => (o(), s("div", {
277
+ key: i.dialogId,
278
+ class: B(["dialog__item", P(i)]),
279
+ onClick: (r) => J(i)
241
280
  }, [
242
- s.icon ? (o(), c("img", {
281
+ i.icon ? (o(), s("img", {
243
282
  key: 0,
244
283
  class: "dialog__icon",
245
- src: s.icon,
284
+ src: i.icon,
246
285
  height: "16",
247
286
  width: "16"
248
- }, null, 8, $t)) : (o(), c("span", zt)),
249
- a("div", Wt, [
250
- a("div", jt, r(s.name), 1),
251
- a("div", qt, r(s["lastActivity.time"]), 1)
287
+ }, null, 8, Zt)) : (o(), s("span", te)),
288
+ a("div", ee, [
289
+ a("div", ne, d(i.name), 1),
290
+ a("div", ie, d(i["lastActivity.time"]), 1)
252
291
  ]),
253
- s.countUnread > 0 ? (o(), c("div", {
292
+ i.countUnread > 0 ? (o(), s("div", {
254
293
  key: 2,
255
294
  class: "chat-item__unread",
256
- style: X(s.colorUnread ? { backgroundColor: s.colorUnread } : {})
257
- }, r(s.countUnread > 99 ? "99+" : s.countUnread), 5)) : l("", !0)
258
- ], 10, Ft))), 128))
295
+ style: H(i.colorUnread ? { backgroundColor: i.colorUnread } : {})
296
+ }, d(i.countUnread > 99 ? "99+" : i.countUnread), 5)) : l("", !0)
297
+ ], 10, Qt))), 128))
259
298
  ])) : l("", !0)
260
299
  ]));
261
300
  }
262
301
  });
263
302
  export {
264
- le as default
303
+ Ce as default
265
304
  };
@@ -0,0 +1,25 @@
1
+ import { createElementBlock as t, openBlock as o, createElementVNode as e } from "vue";
2
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, l = {
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 c(i, C) {
11
+ return o(), t("svg", l, [...C[0] || (C[0] = [
12
+ e("path", {
13
+ d: "M5.5 7C5.36739 7 5.24021 7.05268 5.14645 7.14645C5.05268 7.24021 5 7.36739 5 7.5C5 7.63261 5.05268 7.75979 5.14645 7.85355C5.24021 7.94732 5.36739 8 5.5 8H10.5C10.6326 8 10.7598 7.94732 10.8536 7.85355C10.9473 7.75979 11 7.63261 11 7.5C11 7.36739 10.9473 7.24021 10.8536 7.14645C10.7598 7.05268 10.6326 7 10.5 7H5.5ZM5 9.5C5 9.36739 5.05268 9.24021 5.14645 9.14645C5.24021 9.05268 5.36739 9 5.5 9H10.5C10.6326 9 10.7598 9.05268 10.8536 9.14645C10.9473 9.24021 11 9.36739 11 9.5C11 9.63261 10.9473 9.75979 10.8536 9.85355C10.7598 9.94732 10.6326 10 10.5 10H5.5C5.36739 10 5.24021 9.94732 5.14645 9.85355C5.05268 9.75979 5 9.63261 5 9.5ZM5 11.5C5 11.3674 5.05268 11.2402 5.14645 11.1464C5.24021 11.0527 5.36739 11 5.5 11H7.5C7.63261 11 7.75979 11.0527 7.85355 11.1464C7.94732 11.2402 8 11.3674 8 11.5C8 11.6326 7.94732 11.7598 7.85355 11.8536C7.75979 11.9473 7.63261 12 7.5 12H5.5C5.36739 12 5.24021 11.9473 5.14645 11.8536C5.05268 11.7598 5 11.6326 5 11.5Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ e("path", {
17
+ d: "M9.5 0H4C3.46957 0 2.96086 0.210714 2.58579 0.585786C2.21071 0.960859 2 1.46957 2 2V14C2 14.5304 2.21071 15.0391 2.58579 15.4142C2.96086 15.7893 3.46957 16 4 16H12C12.5304 16 13.0391 15.7893 13.4142 15.4142C13.7893 15.0391 14 14.5304 14 14V4.5L9.5 0ZM9.5 1V3C9.5 3.39782 9.65804 3.77936 9.93934 4.06066C10.2206 4.34196 10.6022 4.5 11 4.5H13V14C13 14.2652 12.8946 14.5196 12.7071 14.7071C12.5196 14.8946 12.2652 15 12 15H4C3.73478 15 3.48043 14.8946 3.29289 14.7071C3.10536 14.5196 3 14.2652 3 14V2C3 1.73478 3.10536 1.48043 3.29289 1.29289C3.48043 1.10536 3.73478 1 4 1H9.5Z",
18
+ fill: "currentColor"
19
+ }, null, -1)
20
+ ])]);
21
+ }
22
+ const f = /* @__PURE__ */ r(n, [["render", c]]);
23
+ export {
24
+ f as default
25
+ };
@@ -0,0 +1,18 @@
1
+ import { createElementBlock as e, openBlock as C, createStaticVNode as r } from "vue";
2
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const i = {}, c = {
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 l(n, t) {
11
+ return C(), e("svg", c, [...t[0] || (t[0] = [
12
+ r('<g clip-path="url(#clip0_7951_1209)"><path d="M6.00195 5.5C6.00195 5.89782 5.84392 6.27936 5.56261 6.56066C5.28131 6.84196 4.89978 7 4.50195 7C4.10413 7 3.7226 6.84196 3.44129 6.56066C3.15999 6.27936 3.00195 5.89782 3.00195 5.5C3.00195 5.10218 3.15999 4.72064 3.44129 4.43934C3.7226 4.15804 4.10413 4 4.50195 4C4.89978 4 5.28131 4.15804 5.56261 4.43934C5.84392 4.72064 6.00195 5.10218 6.00195 5.5Z" fill="currentColor"></path><path d="M2.00195 1C1.47152 1 0.962812 1.21071 0.58774 1.58579C0.212667 1.96086 0.00195313 2.46957 0.00195312 3V13C0.00195313 13.5304 0.212667 14.0391 0.58774 14.4142C0.962812 14.7893 1.47152 15 2.00195 15H14.002C14.5324 15 15.0411 14.7893 15.4162 14.4142C15.7912 14.0391 16.002 13.5304 16.002 13V3C16.002 2.46957 15.7912 1.96086 15.4162 1.58579C15.0411 1.21071 14.5324 1 14.002 1H2.00195ZM14.002 2C14.2672 2 14.5215 2.10536 14.7091 2.29289C14.8966 2.48043 15.002 2.73478 15.002 3V9.5L11.225 7.553C11.1312 7.50602 11.025 7.48973 10.9215 7.50642C10.8179 7.52311 10.7222 7.57194 10.648 7.646L6.93795 11.356L4.27795 9.584C4.18191 9.52006 4.06672 9.4913 3.95189 9.5026C3.83707 9.5139 3.72969 9.56456 3.64795 9.646L1.00195 12V3C1.00195 2.73478 1.10731 2.48043 1.29485 2.29289C1.48238 2.10536 1.73674 2 2.00195 2H14.002Z" fill="currentColor"></path></g><defs><clipPath id="clip0_7951_1209"><rect width="16" height="16" fill="white"></rect></clipPath></defs>', 2)
13
+ ])]);
14
+ }
15
+ const a = /* @__PURE__ */ o(i, [["render", l]]);
16
+ export {
17
+ a as default
18
+ };
@@ -0,0 +1,21 @@
1
+ import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
2
+ import C from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, c = {
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 l(i, e) {
11
+ return o(), t("svg", c, [...e[0] || (e[0] = [
12
+ r("path", {
13
+ d: "M2.5 1C2.10218 1 1.72064 1.15804 1.43934 1.43934C1.15804 1.72064 1 2.10218 1 2.5V13.5C1 13.8978 1.15804 14.2794 1.43934 14.5607C1.72064 14.842 2.10218 15 2.5 15H8.586C8.98369 14.9997 9.36497 14.8414 9.646 14.56L14.561 9.646C14.842 9.3648 14.9999 8.98355 15 8.586V2.5C15 2.10218 14.842 1.72064 14.5607 1.43934C14.2794 1.15804 13.8978 1 13.5 1H2.5ZM2 2.5C2 2.36739 2.05268 2.24021 2.14645 2.14645C2.24021 2.05268 2.36739 2 2.5 2H13.5C13.6326 2 13.7598 2.05268 13.8536 2.14645C13.9473 2.24021 14 2.36739 14 2.5V8H9.5C9.10218 8 8.72064 8.15804 8.43934 8.43934C8.15804 8.72064 8 9.10218 8 9.5V14H2.5C2.36739 14 2.24021 13.9473 2.14645 13.8536C2.05268 13.7598 2 13.6326 2 13.5V2.5ZM9 13.793V9.5C9 9.36739 9.05268 9.24021 9.14645 9.14645C9.24021 9.05268 9.36739 9 9.5 9H13.793L9 13.793Z",
14
+ fill: "currentColor"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const m = /* @__PURE__ */ C(n, [["render", l]]);
19
+ export {
20
+ m as default
21
+ };
@@ -0,0 +1,25 @@
1
+ import { createElementBlock as o, openBlock as t, createElementVNode as e } from "vue";
2
+ import r from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const n = {}, l = {
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 c(i, C) {
11
+ return t(), o("svg", l, [...C[0] || (C[0] = [
12
+ e("path", {
13
+ d: "M6.79 5.09269C6.71524 5.03946 6.62726 5.00783 6.53572 5.00128C6.44418 4.99472 6.35259 5.01349 6.27101 5.05552C6.18942 5.09755 6.12098 5.16123 6.07317 5.23958C6.02537 5.31792 6.00006 5.40791 6 5.49969V10.4997C6.00006 10.5915 6.02537 10.6815 6.07317 10.7598C6.12098 10.8382 6.18942 10.9018 6.27101 10.9439C6.35259 10.9859 6.44418 11.0047 6.53572 10.9981C6.62726 10.9915 6.71524 10.9599 6.79 10.9067L10.29 8.40669C10.3548 8.36044 10.4076 8.29938 10.4441 8.22858C10.4805 8.15779 10.4996 8.07932 10.4996 7.99969C10.4996 7.92007 10.4805 7.84159 10.4441 7.7708C10.4076 7.70001 10.3548 7.63894 10.29 7.59269L6.79 5.09269Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ e("path", {
17
+ d: "M0 4C0 3.46957 0.210714 2.96086 0.585786 2.58579C0.960859 2.21071 1.46957 2 2 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V12C16 12.5304 15.7893 13.0391 15.4142 13.4142C15.0391 13.7893 14.5304 14 14 14H2C1.46957 14 0.960859 13.7893 0.585786 13.4142C0.210714 13.0391 0 12.5304 0 12V4ZM15 4C15 3.73478 14.8946 3.48043 14.7071 3.29289C14.5196 3.10536 14.2652 3 14 3H2C1.73478 3 1.48043 3.10536 1.29289 3.29289C1.10536 3.48043 1 3.73478 1 4V12C1 12.2652 1.10536 12.5196 1.29289 12.7071C1.48043 12.8946 1.73478 13 2 13H14C14.2652 13 14.5196 12.8946 14.7071 12.7071C14.8946 12.5196 15 12.2652 15 12V4Z",
18
+ fill: "currentColor"
19
+ }, null, -1)
20
+ ])]);
21
+ }
22
+ const d = /* @__PURE__ */ r(n, [["render", c]]);
23
+ export {
24
+ d as default
25
+ };
@@ -15,7 +15,7 @@ const u = { class: "chat-tabs__list" }, p = ["aria-pressed", "onClick"], h = {
15
15
  },
16
16
  emits: ["tab-click"],
17
17
  setup(c) {
18
- return (r, k) => (a(), t("ul", u, [
18
+ return (r, f) => (a(), t("ul", u, [
19
19
  (a(!0), t(o, null, i(c.tabs, (e) => (a(), t("li", {
20
20
  key: e.id,
21
21
  class: n(["chat-tabs__item", { "chat-tabs__item--active": e.active }])
@@ -23,7 +23,7 @@ const u = { class: "chat-tabs__list" }, p = ["aria-pressed", "onClick"], h = {
23
23
  _("button", {
24
24
  class: "chat-tabs__button",
25
25
  "aria-pressed": e.active,
26
- onClick: (f) => r.$emit("tab-click", e.id)
26
+ onClick: (k) => r.$emit("tab-click", e.id)
27
27
  }, [
28
28
  l(s(e.label) + " ", 1),
29
29
  e.count !== void 0 ? (a(), t("span", h, s(e.count), 1)) : d("", !0)
@@ -31,7 +31,7 @@ const u = { class: "chat-tabs__list" }, p = ["aria-pressed", "onClick"], h = {
31
31
  ], 2))), 128))
32
32
  ]));
33
33
  }
34
- }, g = /* @__PURE__ */ m(b, [["__scopeId", "data-v-08e917d3"]]);
34
+ }, g = /* @__PURE__ */ m(b, [["__scopeId", "data-v-caf4248a"]]);
35
35
  export {
36
36
  g as default
37
37
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./AudioRecorder.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dd12b32c"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ae4a1911"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -67,7 +67,7 @@ const x = {
67
67
  }, 8, ["actions", "mode", "disabled"])
68
68
  ], 2));
69
69
  }
70
- }, K = /* @__PURE__ */ S(I, [["__scopeId", "data-v-d5653eb5"]]);
70
+ }, K = /* @__PURE__ */ S(I, [["__scopeId", "data-v-df46a3b0"]]);
71
71
  export {
72
72
  K as default
73
73
  };