@mobilon-dev/chotto 0.3.90 → 0.3.92

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 (62) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +1 -1
  3. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +23 -23
  4. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +3 -3
  5. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +87 -103
  6. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +2 -2
  7. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +218 -182
  8. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +2 -2
  9. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +52 -79
  10. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +2 -2
  11. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +35 -64
  12. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +2 -2
  13. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +4 -0
  14. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +3 -3
  15. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +4 -0
  16. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
  17. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +33 -29
  18. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +2 -2
  19. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +62 -58
  20. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +1 -1
  21. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +27 -23
  22. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +2 -2
  23. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +49 -41
  24. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +1 -1
  25. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +105 -101
  26. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +2 -2
  27. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +224 -138
  28. package/dist/components/3_compounds/ChatList/composables/useChatListFilter.js +18 -13
  29. package/dist/functions/renderAppleEmojis.js +127 -70
  30. package/dist/hooks/uploadFile/generatePreview.js +23 -11
  31. package/dist/hooks/useMessageDraft.js +73 -39
  32. package/dist/index.js +116 -114
  33. package/dist/locale/en.js +1 -0
  34. package/dist/locale/ru.js +1 -0
  35. package/dist/node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js +106 -106
  36. package/dist/themes/dark.css +1 -1
  37. package/dist/themes/default.css +1 -1
  38. package/dist/themes/glass.css +1 -1
  39. package/dist/themes/green.css +1 -1
  40. package/dist/themes/mobilon1.css +1 -1
  41. package/dist/types/apps/data/messages.d.ts +52 -0
  42. package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +2 -2
  43. package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +2 -2
  44. package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +6 -0
  45. package/dist/types/components/2_feed_elements/AudioMessage/styles/types.d.ts +34 -0
  46. package/dist/types/components/2_feed_elements/CallMessage/styles/types.d.ts +26 -0
  47. package/dist/types/components/2_feed_elements/FileMessage/styles/types.d.ts +30 -0
  48. package/dist/types/components/2_feed_elements/ImageMessage/styles/types.d.ts +34 -0
  49. package/dist/types/components/2_feed_elements/StickerMessage/styles/types.d.ts +4 -0
  50. package/dist/types/components/2_feed_elements/TextMessage/styles/types.d.ts +38 -2
  51. package/dist/types/components/2_feed_elements/TypingMessage/styles/types.d.ts +2 -0
  52. package/dist/types/components/2_feed_elements/VideoMessage/styles/types.d.ts +34 -0
  53. package/dist/types/components/3_compounds/ChatInput/ChatInput.vue.d.ts +3 -3
  54. package/dist/types/components/3_compounds/ChatInput/styles/types.d.ts +2 -0
  55. package/dist/types/components/3_compounds/Feed/composables/useFeedReply.d.ts +1 -27
  56. package/dist/types/functions/renderAppleEmojis.d.ts +17 -2
  57. package/dist/types/hooks/uploadFile/generatePreview.d.ts +2 -0
  58. package/dist/types/hooks/uploadFile/uploadFile.d.ts +9 -17
  59. package/dist/types/hooks/useMessageDraft.d.ts +30 -29
  60. package/dist/types/locale/en.d.ts +1 -0
  61. package/dist/types/locale/ru.d.ts +1 -0
  62. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonEmojiPicker.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1b5902eb"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4bf1f08f"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as l, inject as R, watch as W, computed as z, watchEffect as U, onMounted as $, onUnmounted as q, createElementBlock as j, openBlock as C, Fragment as G, createCommentVNode as J, createVNode as g, unref as y, normalizeClass as K, createElementVNode as B, Transition as Q, withCtx as X, withDirectives as Y, vShow as Z } from "vue";
1
+ import { defineComponent as D, ref as r, inject as R, watch as W, computed as z, watchEffect as U, onMounted as $, onUnmounted as q, createElementBlock as j, openBlock as C, Fragment as G, createCommentVNode as J, createVNode as g, unref as y, normalizeClass as K, createElementVNode as B, Transition as Q, withCtx as X, withDirectives as Y, vShow as Z } from "vue";
2
2
  import ee from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
3
3
  /* empty css */
4
4
  import { useMessageDraft as te } from "../../../hooks/useMessageDraft.js";
@@ -24,7 +24,7 @@ const ye = /* @__PURE__ */ D({
24
24
  type: String,
25
25
  default: "click",
26
26
  // или 'hover'
27
- validator: (a) => ["click", "hover"].includes(a)
27
+ validator: (l) => ["click", "hover"].includes(l)
28
28
  },
29
29
  /**
30
30
  * true — системные эмодзи; false — 3D (Apple) в пикере, инпуте и ленте.
@@ -42,15 +42,15 @@ const ye = /* @__PURE__ */ D({
42
42
  default: !0
43
43
  }
44
44
  },
45
- setup(a) {
46
- const t = a, v = l(null), f = l(null), o = l(!1), b = l("light"), i = R("chatAppId"), { setMessageText: P, getMessage: E } = te(i), { setNative: w } = oe(i);
45
+ setup(l) {
46
+ const t = l, v = r(null), f = r(null), n = r(!1), b = r("light"), i = R("chatAppId"), { setMessageText: P, getMessage: E } = te(i), { setNative: w } = oe(i);
47
47
  W(
48
48
  () => t.native,
49
49
  (e) => w(e),
50
50
  { immediate: !0 }
51
51
  );
52
- const c = l("#5F5F5F"), s = l("#404040"), p = l(!1);
53
- let r = null;
52
+ const c = r("#5F5F5F"), s = r("#404040"), p = r(!1);
53
+ let a = null;
54
54
  const h = () => {
55
55
  if (!i) {
56
56
  c.value = "#5F5F5F", s.value = "#404040";
@@ -61,7 +61,7 @@ const ye = /* @__PURE__ */ D({
61
61
  c.value = "#5F5F5F", s.value = "#404040";
62
62
  return;
63
63
  }
64
- const n = window.getComputedStyle(e), d = n.getPropertyValue("--chotto-buttonemojipicker-button-span-color").trim(), A = n.getPropertyValue("--chotto-buttonemojipicker-button-span-hover-color").trim();
64
+ const o = window.getComputedStyle(e), d = o.getPropertyValue("--chotto-buttonemojipicker-button-span-color").trim(), A = o.getPropertyValue("--chotto-buttonemojipicker-button-span-hover-color").trim();
65
65
  c.value = d || "#5F5F5F", s.value = A || "#404040";
66
66
  }, I = z(() => p.value ? s.value : c.value);
67
67
  U(() => {
@@ -69,17 +69,17 @@ const ye = /* @__PURE__ */ D({
69
69
  });
70
70
  let u = !1, m = !1;
71
71
  const N = () => {
72
- var n;
72
+ var o;
73
73
  const e = document.getElementById(i);
74
- return (n = e == null ? void 0 : e.getAttribute("data-theme")) != null && n.includes("dark") ? "dark" : "light";
74
+ return (o = e == null ? void 0 : e.getAttribute("data-theme")) != null && o.includes("dark") ? "dark" : "light";
75
75
  }, S = (e) => {
76
- P(E().text + e.i), t.mode === "click" && (o.value = !1);
76
+ P(E().text + e.i);
77
77
  }, M = () => {
78
- t.state === "active" && (b.value = N(), o.value = !0);
78
+ t.state === "active" && (b.value = N(), n.value = !0);
79
79
  }, k = () => {
80
- o.value = !1;
80
+ n.value = !1;
81
81
  }, T = () => {
82
- t.mode === "click" && (o.value = !o.value, o.value && M());
82
+ t.mode === "click" && (n.value = !n.value, n.value && M());
83
83
  }, V = () => {
84
84
  t.mode === "hover" && (u = !0, M());
85
85
  }, x = () => {
@@ -97,28 +97,28 @@ const ye = /* @__PURE__ */ D({
97
97
  !u && !m && k();
98
98
  }, 150));
99
99
  }, F = (e) => {
100
- t.mode === "click" && o.value && f.value && v.value && e.target instanceof Node && !f.value.contains(e.target) && !v.value.contains(e.target) && k();
100
+ t.mode === "click" && n.value && f.value && v.value && e.target instanceof Node && !f.value.contains(e.target) && !v.value.contains(e.target) && k();
101
101
  };
102
102
  return $(() => {
103
103
  if (document.addEventListener("click", F), h(), i) {
104
104
  const e = document.getElementById(i);
105
- e && (r = new MutationObserver((n) => {
106
- n.forEach((d) => {
105
+ e && (a = new MutationObserver((o) => {
106
+ o.forEach((d) => {
107
107
  d.type === "attributes" && d.attributeName === "data-theme" && h();
108
108
  });
109
- }), r.observe(e, {
109
+ }), a.observe(e, {
110
110
  attributes: !0,
111
111
  attributeFilter: ["data-theme"]
112
112
  }));
113
113
  }
114
114
  }), q(() => {
115
- document.removeEventListener("click", F), r && (r.disconnect(), r = null);
116
- }), (e, n) => (C(), j(G, null, [
115
+ document.removeEventListener("click", F), a && (a.disconnect(), a = null);
116
+ }), (e, o) => (C(), j(G, null, [
117
117
  y(E)().isRecording ? J("", !0) : (C(), j("button", {
118
118
  key: 0,
119
119
  ref_key: "emojiButton",
120
120
  ref: f,
121
- class: K(["button", { "button-disabled": a.state === "disabled" }]),
121
+ class: K(["button", { "button-disabled": l.state === "disabled" }]),
122
122
  onClick: T,
123
123
  onMouseenter: L,
124
124
  onMouseleave: O
@@ -137,14 +137,14 @@ const ye = /* @__PURE__ */ D({
137
137
  onMouseleave: H
138
138
  }, [
139
139
  g(y(ee), {
140
- native: a.native,
140
+ native: l.native,
141
141
  theme: b.value,
142
- "display-recent": a.displayRecent,
142
+ "display-recent": l.displayRecent,
143
143
  "picker-type": "",
144
144
  onSelect: S
145
145
  }, null, 8, ["native", "theme", "display-recent"])
146
146
  ], 544), [
147
- [Z, o.value]
147
+ [Z, n.value]
148
148
  ])
149
149
  ]),
150
150
  _: 1
@@ -1,7 +1,7 @@
1
1
  import o from "./FileUploader.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ a(o, [["__scopeId", "data-v-7014afaa"]]);
3
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f82b23fd"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as O, ref as n, inject as P, computed as B, watchEffect as $, onMounted as H, onUnmounted as L, createElementBlock as _, openBlock as u, Fragment as R, createCommentVNode as b, createElementVNode as p, createBlock as V, normalizeClass as j, createVNode as T, unref as h, Teleport as q } from "vue";
2
- import G from "../FilePreview/FilePreview.vue.js";
3
- import { uploadFile as J } from "../../../hooks/uploadFile/uploadFile.js";
4
- import { useMessageDraft as K } from "../../../hooks/useMessageDraft.js";
1
+ import { defineComponent as D, ref as r, inject as x, computed as M, watchEffect as z, watch as A, onMounted as O, onUnmounted as P, createElementBlock as y, openBlock as b, Fragment as $, createCommentVNode as H, createElementVNode as a, normalizeClass as L, createVNode as j, unref as R } from "vue";
2
+ import { buildFilePreview as q } from "../../../hooks/uploadFile/generatePreview.js";
3
+ import { uploadFile as G } from "../../../hooks/uploadFile/uploadFile.js";
4
+ import { useMessageDraft as J } from "../../../hooks/useMessageDraft.js";
5
5
  import "../../../hooks/useSearchModel.js";
6
6
  import "../../../hooks/useTheme.js";
7
7
  import "../../../hooks/useEmojiNative.js";
@@ -12,14 +12,14 @@ import "../../../locale/useLocale.js";
12
12
  import "../../../node_modules/linkifyjs/dist/linkify.js";
13
13
  import "../../../node_modules/linkify-string/dist/linkify-string.js";
14
14
  import "../../../functions/parseMarkdown.js";
15
- import Q from "./icons/FileUploaderIcon.vue.js";
16
- const W = {
15
+ import K from "./icons/FileUploaderIcon.vue.js";
16
+ const Q = {
17
17
  key: 0,
18
18
  class: "file-uploader__status file-uploader__status--uploading"
19
- }, X = {
19
+ }, T = {
20
20
  key: 1,
21
21
  class: "file-uploader__status file-uploader__status--error"
22
- }, Y = ["disabled"], ve = /* @__PURE__ */ O({
22
+ }, W = ["disabled"], de = /* @__PURE__ */ D({
23
23
  __name: "FileUploader",
24
24
  props: {
25
25
  filebumpUrl: {
@@ -32,124 +32,108 @@ const W = {
32
32
  }
33
33
  },
34
34
  emits: ["fileUploaded"],
35
- setup(m, { emit: Z }) {
36
- const v = m, s = n(""), r = n(), f = n(), C = n();
37
- C.value;
38
- const i = P("chatAppId"), { setMessageFile: N, resetMessageFile: z, getMessage: I, setRecordingMessage: E } = K(i), c = n("#5F5F5F"), d = n("#404040"), g = n(!1);
39
- let a = null;
40
- const y = () => {
41
- if (!i) {
42
- c.value = "#5F5F5F", d.value = "#404040";
35
+ setup(d, { emit: X }) {
36
+ const m = d, o = r(""), i = r(), _ = r();
37
+ _.value;
38
+ const n = x("chatAppId"), { setMessageFile: U, resetMessageFile: k, getMessage: w, setRecordingMessage: C } = J(n), u = r("#5F5F5F"), p = r("#404040"), v = r(!1);
39
+ let s = null;
40
+ const g = () => {
41
+ if (!n) {
42
+ u.value = "#5F5F5F", p.value = "#404040";
43
43
  return;
44
44
  }
45
- const l = document.getElementById(i);
45
+ const l = document.getElementById(n);
46
46
  if (!l) {
47
- c.value = "#5F5F5F", d.value = "#404040";
47
+ u.value = "#5F5F5F", p.value = "#404040";
48
48
  return;
49
49
  }
50
- const t = window.getComputedStyle(l), e = t.getPropertyValue("--chotto-fileuploader-trigger-color").trim(), o = t.getPropertyValue("--chotto-fileuploader-trigger-hover-color").trim();
51
- c.value = e || "#5F5F5F", d.value = o || "#404040";
52
- }, A = B(() => g.value ? d.value : c.value);
53
- $(() => {
54
- y();
50
+ const e = window.getComputedStyle(l), t = e.getPropertyValue("--chotto-fileuploader-trigger-color").trim(), f = e.getPropertyValue("--chotto-fileuploader-trigger-hover-color").trim();
51
+ u.value = t || "#5F5F5F", p.value = f || "#404040";
52
+ }, S = M(() => v.value ? p.value : u.value);
53
+ z(() => {
54
+ g();
55
55
  });
56
- const F = B(() => !I().file), w = () => {
57
- r.value && (r.value.value = "");
58
- }, k = () => {
59
- const l = document.getElementById("chat-input-file-line-" + i);
60
- l && (l.style.display = "none"), z(), f.value = void 0, s.value = "", w();
61
- }, D = async () => {
62
- var t, e;
63
- const l = (e = (t = r.value) == null ? void 0 : t.files) == null ? void 0 : e[0];
64
- k(), l && await M(l), w();
65
- }, x = () => {
66
- r.value && F.value && v.state == "active" && (w(), r.value.click());
67
- }, U = async (l) => {
68
- var e;
69
- const t = (e = l.clipboardData) == null ? void 0 : e.items;
70
- if (t) {
71
- for (let o of t)
72
- if (o.type.indexOf("image") !== -1) {
56
+ const F = M(() => !w().file), c = () => {
57
+ i.value && (i.value.value = "");
58
+ }, N = () => {
59
+ k(), o.value = "", c();
60
+ }, V = async () => {
61
+ var e, t;
62
+ const l = (t = (e = i.value) == null ? void 0 : e.files) == null ? void 0 : t[0];
63
+ N(), l && await E(l), c();
64
+ }, B = () => {
65
+ i.value && F.value && m.state == "active" && (c(), i.value.click());
66
+ }, h = async (l) => {
67
+ var t;
68
+ const e = (t = l.clipboardData) == null ? void 0 : t.items;
69
+ if (e) {
70
+ for (let f of e)
71
+ if (f.type.indexOf("image") !== -1) {
73
72
  l.preventDefault();
74
- const S = o.getAsFile();
75
- S && M(S);
73
+ const I = f.getAsFile();
74
+ I && E(I);
76
75
  }
77
76
  }
78
- }, M = async (l) => {
79
- s.value = "uploading", E(!0);
80
- const t = typeof v.filebumpUrl == "string" ? v.filebumpUrl : null;
81
- await J(t, l).then((e) => {
82
- if (E(!1), s.value = e.status, e.status == "success") {
83
- N({
84
- url: e.url,
85
- name: e.name,
86
- size: e.size,
87
- type: e.type
88
- });
89
- const o = document.getElementById("chat-input-file-line-" + i);
90
- o && (o.style.display = "inherit"), e.preview && (f.value = {
91
- previewUrl: e.preview.previewUrl,
92
- isImage: e.preview.isImage,
93
- isVideo: e.preview.isVideo,
94
- isAudio: e.preview.isAudio,
95
- fileName: e.name,
96
- fileSize: e.preview.fileSize
97
- });
98
- }
77
+ }, E = async (l) => {
78
+ o.value = "uploading", C(!0);
79
+ const e = typeof m.filebumpUrl == "string" ? m.filebumpUrl : null;
80
+ await G(e, l).then((t) => {
81
+ C(!1), o.value = t.status, t.status == "success" && U({
82
+ url: t.url,
83
+ name: t.name,
84
+ size: t.size,
85
+ type: t.type,
86
+ preview: q(t.name, t.preview)
87
+ });
99
88
  });
100
89
  };
101
- return H(() => {
102
- if (window.addEventListener("paste", U), y(), i) {
103
- const l = document.getElementById(i);
104
- l && (a = new MutationObserver((t) => {
105
- t.forEach((e) => {
106
- e.type === "attributes" && e.attributeName === "data-theme" && y();
90
+ return A(
91
+ () => w().file,
92
+ (l) => {
93
+ l || (o.value = "", c());
94
+ }
95
+ ), O(() => {
96
+ if (window.addEventListener("paste", h), g(), n) {
97
+ const l = document.getElementById(n);
98
+ l && (s = new MutationObserver((e) => {
99
+ e.forEach((t) => {
100
+ t.type === "attributes" && t.attributeName === "data-theme" && g();
107
101
  });
108
- }), a.observe(l, {
102
+ }), s.observe(l, {
109
103
  attributes: !0,
110
104
  attributeFilter: ["data-theme"]
111
105
  }));
112
106
  }
113
- }), L(() => {
114
- window.removeEventListener("paste", U), a && (a.disconnect(), a = null);
115
- }), (l, t) => (u(), _(R, null, [
116
- s.value === "uploading" ? (u(), _("div", W, [...t[2] || (t[2] = [
117
- p("span", null, "Загрузка", -1),
118
- p("span", null, "файла...", -1)
119
- ])])) : s.value === "error" ? (u(), _("div", X, [...t[3] || (t[3] = [
120
- p("span", null, "Ошибка при загрузке файла.", -1)
121
- ])])) : b("", !0),
122
- p("span", {
107
+ }), P(() => {
108
+ window.removeEventListener("paste", h), s && (s.disconnect(), s = null);
109
+ }), (l, e) => (b(), y($, null, [
110
+ o.value === "uploading" ? (b(), y("div", Q, [...e[2] || (e[2] = [
111
+ a("span", null, "Загрузка", -1),
112
+ a("span", null, "файла...", -1)
113
+ ])])) : o.value === "error" ? (b(), y("div", T, [...e[3] || (e[3] = [
114
+ a("span", null, "Ошибка при загрузке файла.", -1)
115
+ ])])) : H("", !0),
116
+ a("span", {
123
117
  ref_key: "triggerElement",
124
- ref: C,
125
- class: j(["file-uploader__trigger", { "file-uploader__disabled": !F.value || m.state == "disabled" }]),
126
- disabled: !F.value || m.state == "disabled",
127
- onClick: x,
128
- onMouseenter: t[0] || (t[0] = (e) => g.value = !0),
129
- onMouseleave: t[1] || (t[1] = (e) => g.value = !1)
118
+ ref: _,
119
+ class: L(["file-uploader__trigger", { "file-uploader__disabled": !F.value || d.state == "disabled" }]),
120
+ disabled: !F.value || d.state == "disabled",
121
+ onClick: B,
122
+ onMouseenter: e[0] || (e[0] = (t) => v.value = !0),
123
+ onMouseleave: e[1] || (e[1] = (t) => v.value = !1)
130
124
  }, [
131
- T(h(Q), { fill: A.value }, null, 8, ["fill"])
132
- ], 42, Y),
133
- p("input", {
125
+ j(R(K), { fill: S.value }, null, 8, ["fill"])
126
+ ], 42, W),
127
+ a("input", {
134
128
  ref_key: "fileInput",
135
- ref: r,
129
+ ref: i,
136
130
  style: { display: "none" },
137
131
  type: "file",
138
- onChange: D
139
- }, null, 544),
140
- h(I)().file ? (u(), V(q, {
141
- key: 2,
142
- to: "#chat-input-file-line-" + h(i)
143
- }, [
144
- f.value ? (u(), V(G, {
145
- key: 0,
146
- "file-info": f.value,
147
- onReset: k
148
- }, null, 8, ["file-info"])) : b("", !0)
149
- ], 8, ["to"])) : b("", !0)
132
+ onChange: V
133
+ }, null, 544)
150
134
  ], 64));
151
135
  }
152
136
  });
153
137
  export {
154
- ve as default
138
+ de as default
155
139
  };
@@ -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 p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-36147cda"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-1ca829e7"]]);
5
5
  export {
6
- p as default
6
+ e as default
7
7
  };