@mobilon-dev/chotto 0.3.33 → 0.3.35

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 (68) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +2 -2
  3. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +28 -27
  4. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +36 -22
  5. package/dist/components/1_icons/SettingsIcon.vue.js +6 -6
  6. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +164 -156
  7. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -103
  8. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +135 -0
  9. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +33 -11
  10. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +4 -0
  11. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -102
  12. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +135 -0
  13. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -18
  14. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +4 -0
  15. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +2 -2
  16. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +89 -55
  17. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -14
  18. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +4 -0
  19. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -337
  20. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +360 -0
  21. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +56 -11
  22. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +4 -0
  23. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +2 -2
  24. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +164 -100
  25. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +1 -1
  26. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +184 -134
  27. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +3 -3
  28. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +1 -1
  29. package/dist/components/3_compounds/ChatList/ChatList.vue.js +101 -91
  30. package/dist/components/3_compounds/SideBar/SideBar.vue.js +68 -67
  31. package/dist/hooks/messages/useChannelAccentColor.js +35 -19
  32. package/dist/themes/dark.css +1 -1
  33. package/dist/themes/default.css +1 -1
  34. package/dist/themes/glass.css +1 -0
  35. package/dist/themes/green.css +1 -1
  36. package/dist/themes/mobilon1.css +1 -1
  37. package/dist/types/apps/data/messages.d.ts +117 -86
  38. package/dist/types/components/1_atoms/ContextMenu/ContextMenu.vue.d.ts +5 -1
  39. package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +2 -0
  40. package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +2 -0
  41. package/dist/types/components/2_blocks/CommunicationPanel/styles/types.d.ts +4 -0
  42. package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.d.ts +31 -7
  43. package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.d.ts +6 -1
  44. package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/styles/types.d.ts +6 -0
  45. package/dist/types/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.d.ts +59 -11
  46. package/dist/types/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.d.ts +6 -1
  47. package/dist/types/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.d.ts +6 -1
  48. package/dist/types/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.d.ts +22 -10
  49. package/dist/types/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.d.ts +6 -1
  50. package/dist/types/components/2_chatlist_elements/ChatItem/ChatItem.vue.d.ts +2 -0
  51. package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +2 -0
  52. package/dist/types/components/2_elements/ChatInfo/styles/types.d.ts +2 -0
  53. package/dist/types/components/2_feed_elements/AudioMessage/styles/types.d.ts +18 -0
  54. package/dist/types/components/2_feed_elements/CallMessage/styles/types.d.ts +24 -0
  55. package/dist/types/components/2_feed_elements/DateMessage/styles/types.d.ts +6 -0
  56. package/dist/types/components/2_feed_elements/DateMessageSticky/styles/types.d.ts +4 -0
  57. package/dist/types/components/2_feed_elements/FeedKeyboard/styles/types.d.ts +2 -0
  58. package/dist/types/components/2_feed_elements/FileMessage/styles/types.d.ts +12 -0
  59. package/dist/types/components/2_feed_elements/ImageMessage/styles/types.d.ts +126 -0
  60. package/dist/types/components/2_feed_elements/MessageReactions/styles/types.d.ts +8 -0
  61. package/dist/types/components/2_feed_elements/TextMessage/styles/types.d.ts +16 -0
  62. package/dist/types/components/3_compounds/ChatInput/styles/types.d.ts +2 -0
  63. package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +2 -0
  64. package/dist/types/components/3_compounds/ChatList/styles/types.d.ts +8 -0
  65. package/dist/types/components/3_compounds/SideBar/styles/types.d.ts +6 -16
  66. package/dist/types/components/4_layouts/ChatWrapper/styles/types.d.ts +4 -0
  67. package/dist/types/components/4_layouts/ExtendedLayout/styles/types.d.ts +8 -0
  68. package/package.json +2 -1
@@ -0,0 +1,360 @@
1
+ import { defineComponent as Oe, ref as a, inject as Ae, computed as h, watchEffect as Be, watch as j, onMounted as We, onUnmounted as Ne, createElementBlock as n, openBlock as c, Fragment as z, createCommentVNode as E, createVNode as C, unref as P, normalizeClass as se, createElementVNode as L, Transition as le, withCtx as re, withDirectives as Ve, renderList as oe, toDisplayString as ae, vShow as Re, normalizeStyle as He } from "vue";
2
+ import { useMessageDraft as Ie } from "../../../hooks/useMessageDraft.js";
3
+ import "../../../hooks/useSearchModel.js";
4
+ import "../../../hooks/useTheme.js";
5
+ /* empty css */
6
+ /* empty css */
7
+ import "../../../node_modules/linkifyjs/dist/linkify.js";
8
+ import "../../../functions/parseMarkdown.js";
9
+ import ne from "./icons/StickerIcon.vue.js";
10
+ import { isAnimatedSticker as F } from "../../2_feed_elements/StickerMessage/utils/stickerUtils.js";
11
+ import "../../2_feed_elements/StickerMessage/utils/suppress-lit-warning.js";
12
+ const Xe = { class: "sticker-picker__container" }, Ye = ["onClick", "onMouseenter", "onMouseleave"], je = ["src"], ze = ["src", "alt"], Ge = {
13
+ key: 2,
14
+ class: "sticker-picker__tab-icon-placeholder"
15
+ }, Ke = { class: "sticker-picker__content" }, qe = {
16
+ key: 0,
17
+ class: "sticker-picker__empty"
18
+ }, Je = {
19
+ key: 1,
20
+ class: "sticker-picker__grid"
21
+ }, Qe = ["onClick", "onMousedown", "onMouseenter", "onTouchstart"], Ze = ["src"], xe = ["src", "alt"], et = ["src"], tt = ["src", "alt"], st = {
22
+ key: 2,
23
+ class: "sticker-picker__preview-label"
24
+ }, lt = 500, pt = /* @__PURE__ */ Oe({
25
+ __name: "StickerPicker",
26
+ props: {
27
+ state: { default: "active" },
28
+ mode: { default: "click" },
29
+ stickers: { default: () => [] },
30
+ emptyText: { default: "Нет доступных стикеров" }
31
+ },
32
+ setup(U) {
33
+ const r = U, $ = a(null), D = a(null), O = a(null), A = a(null), v = a(!1), p = a(0), _ = Ae("chatAppId"), { getMessage: ce, setMessageFile: ie, setForceSendMessage: ue } = Ie(_), T = a("#5F5F5F"), M = a("#404040"), B = a(!1);
34
+ let g = null;
35
+ const W = () => {
36
+ if (!_) {
37
+ T.value = "#5F5F5F", M.value = "#404040";
38
+ return;
39
+ }
40
+ const e = document.getElementById(_);
41
+ if (!e) {
42
+ T.value = "#5F5F5F", M.value = "#404040";
43
+ return;
44
+ }
45
+ const t = window.getComputedStyle(e), s = t.getPropertyValue("--chotto-stickerpicker-button-span-color").trim(), l = t.getPropertyValue("--chotto-stickerpicker-button-span-hover-color").trim();
46
+ T.value = s || "#5F5F5F", M.value = l || "#404040";
47
+ }, ve = h(() => B.value ? M.value : T.value);
48
+ Be(() => {
49
+ W();
50
+ });
51
+ const i = a(null), N = a({}), m = a(null), u = a(!1), fe = a(null), f = a(/* @__PURE__ */ new Map()), d = a(/* @__PURE__ */ new Map());
52
+ let w = !1, S = !1;
53
+ const k = a(!1), V = a(!1);
54
+ async function G() {
55
+ if (!(k.value || V.value)) {
56
+ V.value = !0;
57
+ try {
58
+ await import("../../2_feed_elements/StickerMessage/libs/tgs-player/lottie-player.esm.js"), await import("../../2_feed_elements/StickerMessage/libs/tgs-player/tgs-player.esm.js"), k.value = !0;
59
+ } catch (e) {
60
+ console.error("Failed to load TGS libraries:", e);
61
+ } finally {
62
+ V.value = !1;
63
+ }
64
+ }
65
+ }
66
+ const ke = () => {
67
+ if (!r.stickers || !Array.isArray(r.stickers) || r.stickers.length === 0)
68
+ return { hasTabs: !1, tabs: [] };
69
+ const e = r.stickers[0], t = Array.isArray(e), s = e && typeof e == "object" && "stickers" in e;
70
+ return t ? {
71
+ hasTabs: !0,
72
+ tabs: r.stickers.map((l, o) => ({
73
+ id: `tab-${o}`,
74
+ label: `Set ${o + 1}`,
75
+ stickers: l,
76
+ iconUrl: l && l.length > 0 ? l[0].url : null
77
+ }))
78
+ } : s && "stickers" in e ? {
79
+ hasTabs: !0,
80
+ tabs: r.stickers.map((l, o) => ({
81
+ id: l.id || `tab-${o}`,
82
+ label: l.label || `Set ${o + 1}`,
83
+ stickers: l.stickers || [],
84
+ iconUrl: l.iconUrl || (l.stickers && l.stickers.length > 0 ? l.stickers[0].url : null)
85
+ }))
86
+ } : {
87
+ hasTabs: !0,
88
+ tabs: [{
89
+ id: "default",
90
+ label: "Stickers",
91
+ stickers: r.stickers,
92
+ iconUrl: r.stickers.length > 0 ? r.stickers[0].url : null
93
+ }]
94
+ };
95
+ }, R = h(() => ke()), de = h(() => R.value.hasTabs && R.value.tabs.length > 0), y = h(() => R.value.tabs), H = h(() => {
96
+ var e;
97
+ return y.value.length === 0 ? [] : ((e = y.value[p.value]) == null ? void 0 : e.stickers) || [];
98
+ }), K = h(() => {
99
+ const e = H.value.some((s) => F(s.url)), t = y.value.some((s) => s.iconUrl && F(s.iconUrl));
100
+ return e || t;
101
+ });
102
+ j(K, (e) => {
103
+ e && !k.value && G();
104
+ }, { immediate: !0 });
105
+ const I = (e) => F(e.url), pe = (e, t) => {
106
+ t ? f.value.set(e, t) : f.value.delete(e);
107
+ }, me = (e, t) => {
108
+ t ? d.value.set(e, t) : d.value.delete(e);
109
+ }, he = (e) => {
110
+ const t = d.value.get(e);
111
+ t && typeof t.play == "function" && t.play();
112
+ }, _e = (e) => {
113
+ const t = d.value.get(e);
114
+ t && typeof t.pause == "function" && t.pause();
115
+ };
116
+ j(p, () => {
117
+ f.value.clear();
118
+ }), j(() => r.stickers, () => {
119
+ p.value >= y.value.length && (p.value = 0);
120
+ }, { deep: !0 });
121
+ const ge = (e) => {
122
+ if (!e) return "image";
123
+ const t = e.toLowerCase();
124
+ return t.endsWith(".tgs") || t.endsWith(".webp") ? "sticker" : "image";
125
+ }, q = (e) => {
126
+ if (r.state === "disabled") return;
127
+ const t = ge(e.url);
128
+ ie({
129
+ url: e.url,
130
+ name: e.alt || `sticker.${t === "sticker" ? e.url.toLowerCase().endsWith(".tgs") ? "tgs" : "webp" : "png"}`,
131
+ type: t
132
+ }), ue(!0), r.mode === "click" && (v.value = !1);
133
+ }, J = (e, t) => {
134
+ fe.value = t.currentTarget, u.value = !1, m.value && clearTimeout(m.value), m.value = setTimeout(() => {
135
+ u.value = !0, we(e);
136
+ }, lt);
137
+ }, Q = () => {
138
+ if (X(), u.value) {
139
+ u.value = !1;
140
+ return;
141
+ }
142
+ }, ye = (e, t) => {
143
+ if (I(e) && k.value) {
144
+ const s = f.value.get(t);
145
+ s && typeof s.play == "function" && s.play();
146
+ }
147
+ }, be = () => {
148
+ f.value.forEach((e) => {
149
+ e && typeof e.pause == "function" && e.pause();
150
+ }), !(u.value && i.value) && (X(), b());
151
+ }, Te = (e, t) => {
152
+ const s = new MouseEvent("mousedown", {
153
+ bubbles: !0,
154
+ cancelable: !0,
155
+ clientX: t.touches[0].clientX,
156
+ clientY: t.touches[0].clientY
157
+ });
158
+ J(e, s);
159
+ }, Z = () => {
160
+ Q();
161
+ }, Me = (e, t) => {
162
+ if (u.value) {
163
+ t.preventDefault(), t.stopPropagation(), u.value = !1, b();
164
+ return;
165
+ }
166
+ q(e);
167
+ }, X = () => {
168
+ m.value && (clearTimeout(m.value), m.value = null);
169
+ }, we = (e) => {
170
+ i.value = e, N.value = {
171
+ left: "50%",
172
+ top: "50%",
173
+ transform: "translate(-50%, -50%)"
174
+ };
175
+ }, b = () => {
176
+ i.value = null, N.value = {};
177
+ }, Se = () => {
178
+ i.value && (q(i.value), b());
179
+ }, x = () => {
180
+ r.state === "active" && (v.value = !0);
181
+ }, Y = () => {
182
+ f.value.forEach((e) => {
183
+ e && typeof e.pause == "function" && e.pause();
184
+ }), d.value.forEach((e) => {
185
+ e && typeof e.pause == "function" && e.pause();
186
+ }), v.value = !1;
187
+ }, Ee = () => {
188
+ r.mode === "click" && (v.value = !v.value, v.value && x());
189
+ }, Ce = () => {
190
+ r.mode === "hover" && (w = !0, x());
191
+ }, Pe = () => {
192
+ r.mode === "hover" && (w = !1, setTimeout(() => {
193
+ !S && !w && Y();
194
+ }, 150));
195
+ }, Le = () => {
196
+ B.value = !0, Ce();
197
+ }, Fe = () => {
198
+ B.value = !1, Pe();
199
+ }, Ue = () => {
200
+ r.mode === "hover" && (S = !0);
201
+ }, $e = () => {
202
+ r.mode === "hover" && (S = !1, setTimeout(() => {
203
+ !w && !S && Y();
204
+ }, 150));
205
+ }, De = (e) => {
206
+ if (!O.value) return;
207
+ const t = e.shiftKey || Math.abs(e.deltaX) > Math.abs(e.deltaY) ? e.deltaX : e.deltaY;
208
+ O.value.scrollLeft += t, e.preventDefault();
209
+ }, ee = (e) => {
210
+ r.mode === "click" && v.value && D.value && $.value && e.target instanceof Node && !D.value.contains(e.target) && !$.value.contains(e.target) && Y(), i.value && A.value && e.target instanceof Node && !A.value.contains(e.target) && b();
211
+ }, te = () => {
212
+ u.value && (u.value = !1);
213
+ };
214
+ return We(() => {
215
+ if (document.addEventListener("click", ee), document.addEventListener("mouseup", te), W(), _) {
216
+ const e = document.getElementById(_);
217
+ e && (g = new MutationObserver((t) => {
218
+ t.forEach((s) => {
219
+ s.type === "attributes" && s.attributeName === "data-theme" && W();
220
+ });
221
+ }), g.observe(e, {
222
+ attributes: !0,
223
+ attributeFilter: ["data-theme"]
224
+ }));
225
+ }
226
+ K.value && !k.value && G();
227
+ }), Ne(() => {
228
+ document.removeEventListener("click", ee), document.removeEventListener("mouseup", te), X(), b(), g && (g.disconnect(), g = null), f.value.forEach((e) => {
229
+ e && typeof e.pause == "function" && e.pause();
230
+ }), f.value.clear(), d.value.forEach((e) => {
231
+ e && typeof e.pause == "function" && e.pause();
232
+ }), d.value.clear();
233
+ }), (e, t) => (c(), n(z, null, [
234
+ P(ce)().isRecording ? E("", !0) : (c(), n("button", {
235
+ key: 0,
236
+ ref_key: "stickerButton",
237
+ ref: D,
238
+ class: se(["button", { "button-disabled": U.state === "disabled" }]),
239
+ onClick: Ee,
240
+ onMouseenter: Le,
241
+ onMouseleave: Fe
242
+ }, [
243
+ L("span", null, [
244
+ C(P(ne), { fill: ve.value }, null, 8, ["fill"])
245
+ ])
246
+ ], 34)),
247
+ C(le, null, {
248
+ default: re(() => [
249
+ Ve(L("div", {
250
+ ref_key: "stickerPicker",
251
+ ref: $,
252
+ class: "sticker-picker",
253
+ onMouseenter: Ue,
254
+ onMouseleave: $e
255
+ }, [
256
+ L("div", Xe, [
257
+ de.value ? (c(), n("div", {
258
+ key: 0,
259
+ ref_key: "tabsContainer",
260
+ ref: O,
261
+ class: "sticker-picker__tabs",
262
+ onWheel: De
263
+ }, [
264
+ (c(!0), n(z, null, oe(y.value, (s, l) => (c(), n("button", {
265
+ key: l,
266
+ class: se(["sticker-picker__tab", { "sticker-picker__tab--active": p.value === l }]),
267
+ onClick: (o) => p.value = l,
268
+ onMouseenter: (o) => he(l),
269
+ onMouseleave: (o) => _e(l)
270
+ }, [
271
+ s.iconUrl && P(F)(s.iconUrl) && k.value ? (c(), n("tgs-player", {
272
+ key: 0,
273
+ ref_for: !0,
274
+ ref: (o) => me(l, o),
275
+ src: s.iconUrl,
276
+ class: "sticker-picker__tab-icon sticker-picker__tab-icon-animated",
277
+ loop: "",
278
+ mode: "normal"
279
+ }, null, 8, je)) : s.iconUrl ? (c(), n("img", {
280
+ key: 1,
281
+ src: s.iconUrl,
282
+ alt: s.label || `Tab ${l + 1}`,
283
+ class: "sticker-picker__tab-icon"
284
+ }, null, 8, ze)) : (c(), n("span", Ge, [
285
+ C(P(ne))
286
+ ]))
287
+ ], 42, Ye))), 128))
288
+ ], 544)) : E("", !0),
289
+ L("div", Ke, [
290
+ H.value.length === 0 ? (c(), n("div", qe, ae(U.emptyText), 1)) : (c(), n("div", Je, [
291
+ (c(!0), n(z, null, oe(H.value, (s, l) => (c(), n("button", {
292
+ key: l,
293
+ class: "sticker-picker__item",
294
+ onClick: (o) => Me(s, o),
295
+ onMousedown: (o) => J(s, o),
296
+ onMouseup: Q,
297
+ onMouseenter: (o) => ye(s, l),
298
+ onMouseleave: be,
299
+ onTouchstart: (o) => Te(s, o),
300
+ onTouchend: Z,
301
+ onTouchcancel: Z
302
+ }, [
303
+ I(s) && k.value ? (c(), n("tgs-player", {
304
+ key: 0,
305
+ ref_for: !0,
306
+ ref: (o) => pe(l, o),
307
+ src: s.url,
308
+ class: "sticker-picker__image sticker-picker__image-animated",
309
+ loop: "",
310
+ mode: "normal"
311
+ }, null, 8, Ze)) : (c(), n("img", {
312
+ key: 1,
313
+ src: s.url,
314
+ alt: s.alt || `Sticker ${l + 1}`,
315
+ class: "sticker-picker__image"
316
+ }, null, 8, xe))
317
+ ], 40, Qe))), 128))
318
+ ]))
319
+ ])
320
+ ])
321
+ ], 544), [
322
+ [Re, v.value]
323
+ ])
324
+ ]),
325
+ _: 1
326
+ }),
327
+ C(le, { name: "preview" }, {
328
+ default: re(() => [
329
+ i.value ? (c(), n("div", {
330
+ key: 0,
331
+ ref_key: "previewElement",
332
+ ref: A,
333
+ class: "sticker-picker__preview",
334
+ style: He(N.value),
335
+ onClick: Se
336
+ }, [
337
+ I(i.value) && k.value ? (c(), n("tgs-player", {
338
+ key: 0,
339
+ src: i.value.url,
340
+ class: "sticker-picker__preview-image sticker-picker__preview-image-animated",
341
+ autoplay: "",
342
+ loop: "",
343
+ mode: "normal"
344
+ }, null, 8, et)) : (c(), n("img", {
345
+ key: 1,
346
+ src: i.value.url,
347
+ alt: i.value.alt || "Preview",
348
+ class: "sticker-picker__preview-image"
349
+ }, null, 8, tt)),
350
+ i.value.alt ? (c(), n("div", st, ae(i.value.alt), 1)) : E("", !0)
351
+ ], 4)) : E("", !0)
352
+ ]),
353
+ _: 1
354
+ })
355
+ ], 64));
356
+ }
357
+ });
358
+ export {
359
+ pt as default
360
+ };
@@ -1,6 +1,5 @@
1
- import { createElementBlock as t, openBlock as o, createStaticVNode as c } from "vue";
2
- import l from "../../../../_virtual/_plugin-vue_export-helper.js";
3
- const r = {}, n = {
1
+ import { defineComponent as t, createElementBlock as n, openBlock as o, createElementVNode as l } from "vue";
2
+ const i = {
4
3
  version: "1.1",
5
4
  xmlns: "http://www.w3.org/2000/svg",
6
5
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
@@ -8,13 +7,59 @@ const r = {}, n = {
8
7
  height: "23px",
9
8
  viewBox: "42.67 42.67 170.66 170.66",
10
9
  overflow: "visible"
11
- };
12
- function i(f, e) {
13
- return o(), t("svg", n, [...e[0] || (e[0] = [
14
- c('<g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode:normal;"><g transform="scale(5.33333,5.33333)"><path d="M28.921,42.016l-14.366,-0.016c-4.717,0 -8.555,-3.838 -8.555,-8.556v-18.888c0,-4.718 3.838,-8.556 8.556,-8.556h18.889c4.717,0 8.555,3.838 8.555,8.556v14.554zM14.556,8c-3.615,0 -6.556,2.94 -6.556,6.556v18.889c0,3.615 2.941,6.555 6.556,6.555l13.546,0.016l11.898,-11.742v-13.718c0,-3.616 -2.941,-6.556 -6.556,-6.556z" fill="#5f5f5f"></path><circle cx="16.047" cy="19.023" r="2" fill="#5f5f5f"></circle><circle cx="31.938" cy="19.023" r="2" fill="#5f5f5f"></circle><path d="M23.984,33.016c-3.042,0 -5.872,-1.326 -7.387,-3.461c-0.32,-0.451 -0.214,-1.075 0.237,-1.395c0.452,-0.32 1.074,-0.213 1.394,0.236c1.146,1.615 3.352,2.619 5.756,2.619c2.428,0 4.643,-1.018 5.781,-2.655c0.316,-0.453 0.939,-0.564 1.392,-0.25c0.454,0.315 0.565,0.938 0.25,1.393c-1.506,2.167 -4.35,3.513 -7.423,3.513z" fill="#5f5f5f"></path><path d="M41.972,26.004h-6.839c-5.034,0 -9.13,4.111 -9.13,9.164l0.013,6.832h3.023l12.933,-12.867z" fill="#5f5f5f"></path></g></g>', 1)
15
- ])]);
16
- }
17
- const h = /* @__PURE__ */ l(r, [["render", i]]);
10
+ }, c = {
11
+ fill: "none",
12
+ "fill-rule": "nonzero",
13
+ stroke: "none",
14
+ "stroke-width": "1",
15
+ "stroke-linecap": "butt",
16
+ "stroke-linejoin": "miter",
17
+ "stroke-miterlimit": "10",
18
+ "stroke-dasharray": "",
19
+ "stroke-dashoffset": "0",
20
+ "font-family": "none",
21
+ "font-weight": "none",
22
+ "font-size": "none",
23
+ "text-anchor": "none",
24
+ style: { "mix-blend-mode": "normal" }
25
+ }, s = { transform: "scale(5.33333,5.33333)" }, r = ["fill"], f = ["fill"], h = ["fill"], a = ["fill"], d = ["fill"], x = /* @__PURE__ */ t({
26
+ __name: "StickerIcon",
27
+ props: {
28
+ fill: { default: "#5F5F5F" }
29
+ },
30
+ setup(e) {
31
+ return (m, _) => (o(), n("svg", i, [
32
+ l("g", c, [
33
+ l("g", s, [
34
+ l("path", {
35
+ d: "M28.921,42.016l-14.366,-0.016c-4.717,0 -8.555,-3.838 -8.555,-8.556v-18.888c0,-4.718 3.838,-8.556 8.556,-8.556h18.889c4.717,0 8.555,3.838 8.555,8.556v14.554zM14.556,8c-3.615,0 -6.556,2.94 -6.556,6.556v18.889c0,3.615 2.941,6.555 6.556,6.555l13.546,0.016l11.898,-11.742v-13.718c0,-3.616 -2.941,-6.556 -6.556,-6.556z",
36
+ fill: e.fill
37
+ }, null, 8, r),
38
+ l("circle", {
39
+ cx: "16.047",
40
+ cy: "19.023",
41
+ r: "2",
42
+ fill: e.fill
43
+ }, null, 8, f),
44
+ l("circle", {
45
+ cx: "31.938",
46
+ cy: "19.023",
47
+ r: "2",
48
+ fill: e.fill
49
+ }, null, 8, h),
50
+ l("path", {
51
+ d: "M23.984,33.016c-3.042,0 -5.872,-1.326 -7.387,-3.461c-0.32,-0.451 -0.214,-1.075 0.237,-1.395c0.452,-0.32 1.074,-0.213 1.394,0.236c1.146,1.615 3.352,2.619 5.756,2.619c2.428,0 4.643,-1.018 5.781,-2.655c0.316,-0.453 0.939,-0.564 1.392,-0.25c0.454,0.315 0.565,0.938 0.25,1.393c-1.506,2.167 -4.35,3.513 -7.423,3.513z",
52
+ fill: e.fill
53
+ }, null, 8, a),
54
+ l("path", {
55
+ d: "M41.972,26.004h-6.839c-5.034,0 -9.13,4.111 -9.13,9.164l0.013,6.832h3.023l12.933,-12.867z",
56
+ fill: e.fill
57
+ }, null, 8, d)
58
+ ])
59
+ ])
60
+ ]));
61
+ }
62
+ });
18
63
  export {
19
- h as default
64
+ x as default
20
65
  };
@@ -0,0 +1,4 @@
1
+ import f from "./StickerIcon.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -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-96cbe09d"]]);
4
+ const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f453fe25"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };