@mobilon-dev/chotto 0.3.130 → 0.3.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import o from "./Feed.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92226131"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-59ae42d9"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,37 +1,37 @@
1
- import { defineComponent as Oe, ref as A, computed as i, provide as B, inject as Q, unref as t, watch as T, nextTick as F, onMounted as $e, createElementBlock as y, openBlock as l, createVNode as p, createBlock as f, createCommentVNode as u, normalizeStyle as C, renderSlot as X, createElementVNode as I, withDirectives as je, vShow as Le, Transition as D, withCtx as w, Fragment as Ne, renderList as Pe, isMemoSame as Ue, resolveDynamicComponent as qe, mergeProps as Ee, toDisplayString as Ve, Teleport as Y } from "vue";
2
- import We from "../../2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
3
- import ze from "../../2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
4
- import Ge from "../../2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js";
5
- import He from "../../2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
6
- import Je from "../../2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
7
- import Qe from "../../2_feed_elements/TypingMessage/TypingMessage.vue.js";
8
- import Xe from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
9
- import Ye from "../../2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js";
10
- import { useFeedButton as Ze } from "./composables/useFeedButton.js";
11
- import { useFeedComponents as _e } from "./composables/useFeedComponents.js";
12
- import { useFeedGrouping as et } from "./composables/useFeedGrouping.js";
13
- import { useFeedKeyboard as tt } from "./composables/useFeedKeyboard.js";
14
- import { useFeedLoadMore as st } from "./composables/useFeedLoadMore.js";
15
- import { useFeedMessageVisibility as ot } from "./composables/useFeedMessageVisibility.js";
16
- import { useFeedProgressiveRender as at } from "./composables/useFeedProgressiveRender.js";
17
- import { provideFeedReactionsOverlay as nt } from "./composables/useFeedReactionsOverlay.js";
18
- import { useFeedReply as rt } from "./composables/useFeedReply.js";
19
- import { useFeedScroll as it } from "./composables/useFeedScroll.js";
20
- import { useFeedScrollTo as lt } from "./composables/useFeedScrollTo.js";
21
- import { useFeedTopSpacer as dt } from "./composables/useFeedTopSpacer.js";
22
- import { useStickyDate as ct } from "./composables/useStickyDate.js";
23
- import { throttle as ut } from "./functions/throttle.js";
24
- import { getDefaultMessageMenuActions as mt } from "./utils/getDefaultMessageMenuActions.js";
25
- import { isSmsFeedMessage as ft } from "../../../functions/isSmsChannel.js";
1
+ import { defineComponent as je, ref as T, computed as i, provide as A, inject as _, unref as t, watch as F, nextTick as B, onMounted as Ne, createElementBlock as y, openBlock as l, createVNode as p, createBlock as f, createCommentVNode as u, normalizeStyle as C, createElementVNode as I, renderSlot as ee, withDirectives as Ee, vShow as Ue, Transition as D, withCtx as w, Fragment as qe, renderList as Ve, isMemoSame as We, resolveDynamicComponent as ze, mergeProps as Ge, toDisplayString as He, Teleport as te } from "vue";
2
+ import Je from "../../2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
3
+ import Qe from "../../2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
4
+ import Xe from "../../2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js";
5
+ import Ye from "../../2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
6
+ import Ze from "../../2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
7
+ import _e from "../../2_feed_elements/TypingMessage/TypingMessage.vue.js";
8
+ import et from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
9
+ import tt from "../../2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js";
10
+ import { useFeedButton as ot } from "./composables/useFeedButton.js";
11
+ import { useFeedComponents as st } from "./composables/useFeedComponents.js";
12
+ import { useFeedGrouping as at } from "./composables/useFeedGrouping.js";
13
+ import { useFeedKeyboard as nt } from "./composables/useFeedKeyboard.js";
14
+ import { useFeedLoadMore as rt } from "./composables/useFeedLoadMore.js";
15
+ import { useFeedMessageVisibility as it } from "./composables/useFeedMessageVisibility.js";
16
+ import { useFeedProgressiveRender as lt } from "./composables/useFeedProgressiveRender.js";
17
+ import { provideFeedReactionsOverlay as dt } from "./composables/useFeedReactionsOverlay.js";
18
+ import { useFeedReply as ct } from "./composables/useFeedReply.js";
19
+ import { useFeedScroll as ut } from "./composables/useFeedScroll.js";
20
+ import { useFeedScrollTo as mt } from "./composables/useFeedScrollTo.js";
21
+ import { useFeedTopSpacer as ft } from "./composables/useFeedTopSpacer.js";
22
+ import { useStickyDate as gt } from "./composables/useStickyDate.js";
23
+ import { throttle as yt } from "./functions/throttle.js";
24
+ import { getDefaultMessageMenuActions as pt } from "./utils/getDefaultMessageMenuActions.js";
25
+ import { isSmsFeedMessage as bt } from "../../../functions/isSmsChannel.js";
26
26
  import "../../../functions/parseMarkdown.js";
27
- import gt from "./assets/chat-background.svg.js";
28
- const yt = {
27
+ import kt from "./assets/chat-background.svg.js";
28
+ const ht = {
29
29
  class: "message-feed-wrapper",
30
30
  "data-testid": "feed"
31
- }, pt = ["id"], bt = { class: "message-feed__loading" }, kt = { style: { margin: "auto" } }, ht = {
31
+ }, vt = ["id"], Mt = { class: "message-feed__loading" }, St = { style: { margin: "auto" } }, Rt = {
32
32
  key: 0,
33
33
  class: "message-feed__unread-amount"
34
- }, Ht = /* @__PURE__ */ Oe({
34
+ }, Yt = /* @__PURE__ */ je({
35
35
  __name: "Feed",
36
36
  props: {
37
37
  /**
@@ -129,7 +129,7 @@ const yt = {
129
129
  */
130
130
  messageMenuActions: {
131
131
  type: Array,
132
- default: () => mt()
132
+ default: () => pt()
133
133
  }
134
134
  },
135
135
  emits: [
@@ -144,136 +144,140 @@ const yt = {
144
144
  "smsInvite",
145
145
  "delimiterRead"
146
146
  ],
147
- setup(a, { emit: Z }) {
148
- const n = a, h = A(), c = A(), x = A(), {
147
+ setup(a, { emit: oe }) {
148
+ const n = a, h = T(), c = T(), x = T(), {
149
149
  isShowButton: K,
150
- isKeyboardPlace: _,
151
- checkButtonVisibility: ee
152
- } = Ze({
150
+ isKeyboardPlace: se,
151
+ checkButtonVisibility: ae
152
+ } = ot({
153
153
  feedRef: c,
154
154
  keyboardRef: x
155
- }), { componentsMap: te } = _e(), O = i(() => n.reactionsEnabled);
156
- nt();
157
- const se = i(() => n.reactionsMode), $ = i(() => n.currentUserId), j = i(() => n.reactionUserNames);
158
- B("currentUserId", $), B("reactionUserNames", j), B(
155
+ }), { componentsMap: ne } = st(), L = i(() => n.reactionsEnabled);
156
+ dt();
157
+ const re = i(() => n.reactionsMode), O = i(() => n.currentUserId), $ = i(() => n.reactionUserNames);
158
+ A("currentUserId", O), A("reactionUserNames", $), A(
159
159
  "messageMenuActions",
160
160
  i(() => n.messageMenuActions)
161
161
  );
162
- const { seriesFlags: L } = et({
162
+ const { seriesFlags: P } = at({
163
163
  objects: i(() => n.objects)
164
164
  }), {
165
- visibleObjects: oe,
165
+ visibleObjects: ie,
166
166
  renderStart: v,
167
- isBackfilling: ae,
168
- revealThroughIndex: ne,
169
- accelerateBackfill: re
170
- } = at({
167
+ isBackfilling: le,
168
+ revealThroughIndex: de,
169
+ accelerateBackfill: ce
170
+ } = lt({
171
171
  objectsRef: i(() => n.objects),
172
172
  feedRef: c
173
- }), b = Q("chatAppId"), N = Q("selectedChat", void 0), P = i(() => {
174
- if (N)
175
- return t(N);
173
+ }), b = _("chatAppId"), j = _("selectedChat", void 0), N = i(() => {
174
+ if (j)
175
+ return t(j);
176
176
  });
177
- function ie(s) {
177
+ function ue(s) {
178
178
  return s.timestamp;
179
179
  }
180
180
  function M(s, o) {
181
181
  return s.messageId || `mid-${v.value + o}`;
182
182
  }
183
- function le(s) {
183
+ function me(s) {
184
184
  var e;
185
185
  const o = (e = s.reactions) == null ? void 0 : e.items;
186
186
  return o != null && o.length ? o.map((r) => `${r.key}:${r.userId}`).join(",") : "";
187
187
  }
188
- function U(s) {
188
+ function E(s) {
189
189
  var m, d, k;
190
190
  const o = s, e = o.channelId || ((m = o.channel) == null ? void 0 : m.channelId) || ((d = o.meta) == null ? void 0 : d.channelId);
191
191
  if (e) return String(e);
192
- if (!o.dialogId || !((k = P.value) != null && k.dialogs))
192
+ if (!o.dialogId || !((k = N.value) != null && k.dialogs))
193
193
  return;
194
- const r = P.value.dialogs.find((R) => R.dialogId === o.dialogId);
194
+ const r = N.value.dialogs.find((R) => R.dialogId === o.dialogId);
195
195
  return r == null ? void 0 : r.channelId;
196
196
  }
197
- function de(s) {
197
+ function fe(s) {
198
198
  return s.type === "message.call" && typeof n.callMessageOnCallback == "function" ? { onCall: n.callMessageOnCallback } : {};
199
199
  }
200
- const g = Z, {
201
- isInitialized: ce,
202
- stickToBottom: q,
203
- initializeScroll: ue,
204
- smoothScrollToBottom: me
205
- } = it({
200
+ const g = oe, {
201
+ isInitialized: ge,
202
+ stickToBottom: U,
203
+ initializeScroll: ye,
204
+ smoothScrollToBottom: pe
205
+ } = ut({
206
206
  feedRef: c,
207
207
  objectsRef: i(() => n.objects),
208
208
  scrollToBottomRef: i(() => n.scrollToBottom)
209
- }), { topSpacerPx: fe, scheduleMeasure: ge } = dt({
209
+ }), { topSpacerPx: be, scheduleMeasure: ke } = ft({
210
210
  feedRef: c,
211
211
  objectsLengthRef: i(() => n.objects.length)
212
212
  }), {
213
- checkScrollPosition: ye,
214
- startScrollWatch: E,
213
+ checkScrollPosition: he,
214
+ startScrollWatch: q,
215
215
  stopScrollWatch: V,
216
- resetAllowFlags: pe
217
- } = st({
216
+ resetAllowFlags: ve,
217
+ handleWheelForTopLoad: W,
218
+ handleTouchStartForTopLoad: z,
219
+ handleTouchMoveForTopLoad: G,
220
+ handleTouchEndForTopLoad: H
221
+ } = rt({
218
222
  feedRef: c,
219
223
  emit: g,
220
224
  isLoadingMoreRef: i(() => n.isLoadingMore),
221
- stickToBottomRef: q
225
+ stickToBottomRef: U
222
226
  }), {
223
227
  getMessage: S,
224
- messageAction: be,
225
- handleClickReplied: ke,
226
- feedObjectDoubleClick: he,
227
- handleResetReply: ve,
228
- handleResetEdit: Me
229
- } = rt({
228
+ messageAction: Me,
229
+ handleClickReplied: Se,
230
+ feedObjectDoubleClick: Re,
231
+ handleResetReply: Ie,
232
+ handleResetEdit: Te
233
+ } = ct({
230
234
  enableDoubleClickReply: n.enableDoubleClickReply,
231
235
  emit: g,
232
- isReplyAllowed: (s) => !ft(s, U(s))
236
+ isReplyAllowed: (s) => !bt(s, E(s))
233
237
  });
234
- function Se(s) {
238
+ function Ae(s) {
235
239
  g("smsInvite", s);
236
240
  }
237
- function Re(s) {
241
+ function Fe(s) {
238
242
  g("delimiterRead", s);
239
243
  }
240
244
  const {
241
- showKeyboard: Ie,
242
- keyboardAction: Ae,
243
- feedKeyboardAction: Be
244
- } = tt({
245
- isKeyboardPlace: _,
245
+ showKeyboard: Be,
246
+ keyboardAction: Ce,
247
+ feedKeyboardAction: De
248
+ } = nt({
249
+ isKeyboardPlace: se,
246
250
  objects: i(() => n.objects),
247
251
  emit: g
248
252
  }), {
249
- showStickyDate: Te,
250
- stickyDateText: Fe,
251
- show: Ce,
252
- hide: De
253
- } = ct({
253
+ showStickyDate: we,
254
+ stickyDateText: xe,
255
+ show: Ke,
256
+ hide: Le
257
+ } = gt({
254
258
  feedRef: c,
255
259
  trackingObjects: h
256
- }), W = i(() => n.chatBackground ?? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(gt)}`);
257
- function z() {
258
- if (q.value || !K.value) {
259
- De();
260
+ }), J = i(() => n.chatBackground ?? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(kt)}`);
261
+ function Q() {
262
+ if (U.value || !K.value) {
263
+ Le();
260
264
  return;
261
265
  }
262
- Ce();
266
+ Ke();
263
267
  }
264
- function G(s = !0) {
265
- if (ee(), ae.value) {
268
+ function X(s = !0) {
269
+ if (ae(), le.value) {
266
270
  const o = c.value;
267
- o && o.scrollTop < 300 && re(), z();
271
+ o && o.scrollTop < 300 && ce(), Q();
268
272
  return;
269
273
  }
270
- ye(s), z();
274
+ he(s), Q();
271
275
  }
272
- const we = ut(() => G(), 250);
273
- function xe() {
274
- g("forceScrollToBottom"), me();
276
+ const Oe = yt(() => X(), 250);
277
+ function $e() {
278
+ g("forceScrollToBottom"), pe();
275
279
  }
276
- function Ke(s) {
280
+ function Pe(s) {
277
281
  const o = n.objects;
278
282
  if (s.startsWith("mid-")) {
279
283
  const e = parseInt(s.slice(4), 10);
@@ -281,42 +285,42 @@ const yt = {
281
285
  }
282
286
  return o.find((e) => e.messageId === s);
283
287
  }
284
- const { restartObserving: H } = ot({
288
+ const { restartObserving: Y } = it({
285
289
  trackingObjects: h,
286
290
  chatAppId: b,
287
- getMessageById: Ke,
291
+ getMessageById: Pe,
288
292
  onMessageVisible: (s) => g("messageVisible", s)
289
293
  });
290
- return T(
294
+ return F(
291
295
  () => n.objects,
292
296
  () => {
293
- F(() => {
297
+ B(() => {
294
298
  requestAnimationFrame(() => {
295
- pe(), G(!1), ge(), h.value = document.querySelectorAll(".tracking-message"), H();
299
+ ve(), X(!1), ke(), h.value = document.querySelectorAll(".tracking-message"), Y();
296
300
  });
297
301
  });
298
302
  },
299
303
  { immediate: !0 }
300
- ), T(v, () => {
301
- F(() => {
302
- h.value = document.querySelectorAll(".tracking-message"), H();
304
+ ), F(v, () => {
305
+ B(() => {
306
+ h.value = document.querySelectorAll(".tracking-message"), Y();
303
307
  });
304
- }), T(
308
+ }), F(
305
309
  () => n.scrollTo,
306
310
  (s) => {
307
311
  if (!s) return;
308
312
  const o = n.objects, e = s.trim(), r = e.startsWith("msg-") ? e.slice(4) : e;
309
313
  let m = -1;
310
- r.startsWith("mid-") ? m = Number.parseInt(r.slice(4), 10) : m = o.findIndex((d) => d.messageId === r || d.messageId === e), Number.isFinite(m) && ne(m);
314
+ r.startsWith("mid-") ? m = Number.parseInt(r.slice(4), 10) : m = o.findIndex((d) => d.messageId === r || d.messageId === e), Number.isFinite(m) && de(m);
311
315
  }
312
- ), lt({
316
+ ), mt({
313
317
  targetIdRef: i(() => n.scrollTo),
314
318
  feedContainerId: `feed-container-${b}`
315
- }), $e(() => {
316
- F(() => {
317
- n.objects.length > 0 && !ce.value && ue();
319
+ }), Ne(() => {
320
+ B(() => {
321
+ n.objects.length > 0 && !ge.value && ye();
318
322
  });
319
- }), (s, o) => (l(), y("div", yt, [
323
+ }), (s, o) => (l(), y("div", ht, [
320
324
  a.objects.length > 0 || a.typing ? (l(), y("div", {
321
325
  key: 0,
322
326
  id: "feed-container-" + t(b),
@@ -324,72 +328,80 @@ const yt = {
324
328
  ref: c,
325
329
  class: "message-feed",
326
330
  "data-testid": "feed-scroll",
327
- style: C({ backgroundImage: `url(${W.value})` }),
328
- onScroll: o[2] || (o[2] = (e) => t(we)()),
329
- onMousedown: o[3] || (o[3] = //@ts-ignore
330
- (...e) => t(E) && t(E)(...e)),
331
- onMouseup: o[4] || (o[4] = //@ts-ignore
331
+ style: C({ backgroundImage: `url(${J.value})` }),
332
+ onScroll: o[2] || (o[2] = (e) => t(Oe)()),
333
+ onWheel: o[3] || (o[3] = //@ts-ignore
334
+ (...e) => t(W) && t(W)(...e)),
335
+ onTouchstartPassive: o[4] || (o[4] = //@ts-ignore
336
+ (...e) => t(z) && t(z)(...e)),
337
+ onTouchmovePassive: o[5] || (o[5] = //@ts-ignore
338
+ (...e) => t(G) && t(G)(...e)),
339
+ onTouchend: o[6] || (o[6] = //@ts-ignore
340
+ (...e) => t(H) && t(H)(...e)),
341
+ onMousedown: o[7] || (o[7] = //@ts-ignore
342
+ (...e) => t(q) && t(q)(...e)),
343
+ onMouseup: o[8] || (o[8] = //@ts-ignore
332
344
  (...e) => t(V) && t(V)(...e))
333
345
  }, [
334
- X(s.$slots, "prepend", {}, void 0, !0),
335
346
  I("div", {
336
347
  class: "message-feed__top-spacer",
337
- style: C({ height: `${t(fe)}px` }),
348
+ style: C({ height: `${t(be)}px` }),
338
349
  "aria-hidden": "true"
339
350
  }, null, 4),
340
- je(I("div", bt, [
341
- p(Xe, {
351
+ ee(s.$slots, "prepend", {}, void 0, !0),
352
+ Ee(I("div", Mt, [
353
+ p(et, {
342
354
  "is-loading": a.isLoadingMore,
343
355
  size: "small",
344
356
  position: "top"
345
357
  }, null, 8, ["is-loading"])
346
358
  ], 512), [
347
- [Le, a.isLoadingMore]
359
+ [Ue, a.isLoadingMore]
348
360
  ]),
349
361
  p(D, null, {
350
362
  default: w(() => [
351
- t(Te) && !a.isLoadingMore ? (l(), f(We, {
363
+ t(we) && !a.isLoadingMore ? (l(), f(Je, {
352
364
  key: 0,
353
365
  class: "message-feed__sticky-date",
354
- text: t(Fe)
366
+ text: t(xe)
355
367
  }, null, 8, ["text"])) : u("", !0)
356
368
  ]),
357
369
  _: 1
358
370
  }),
359
- (l(!0), y(Ne, null, Pe(t(oe), (e, r, m, d) => {
360
- const k = [e.messageId, e.text, e.status, e.reply, e.deleted, t(L)[t(v) + r], le(e)];
361
- if (d && d.key === M(e, r) && Ue(d, k)) return d;
371
+ (l(!0), y(qe, null, Ve(t(ie), (e, r, m, d) => {
372
+ const k = [e.messageId, e.text, e.status, e.reply, e.deleted, t(P)[t(v) + r], me(e)];
373
+ if (d && d.key === M(e, r) && We(d, k)) return d;
362
374
  const R = (l(), y("div", {
363
375
  id: "msg-" + M(e, r),
364
376
  key: M(e, r),
365
- "data-timestamp": ie(e),
377
+ "data-timestamp": ue(e),
366
378
  "data-testid": "feed-message",
367
379
  "data-message-id": e.messageId,
368
380
  class: "tracking-message",
369
- onDblclick: (J) => t(he)(J, e)
381
+ onDblclick: (Z) => t(Re)(Z, e)
370
382
  }, [
371
- (l(), f(qe(t(te)(e)), Ee({
383
+ (l(), f(ze(t(ne)(e)), Ge({
372
384
  key: M(e, r),
373
385
  class: "message-feed__message",
374
386
  message: e,
375
387
  "apply-style": a.applyStyle,
376
- "is-first-in-series": t(L)[t(v) + r],
377
- "reactions-enabled": O.value,
378
- "reactions-mode": se.value,
379
- "current-user-id": $.value,
380
- "reaction-user-names": j.value,
388
+ "is-first-in-series": t(P)[t(v) + r],
389
+ "reactions-enabled": L.value,
390
+ "reactions-mode": re.value,
391
+ "current-user-id": O.value,
392
+ "reaction-user-names": $.value,
381
393
  "subtext-tooltip-data": a.subtextTooltipData,
382
- channel: U(e)
383
- }, { ref_for: !0 }, de(e), {
384
- onAction: t(be),
385
- onReply: t(ke),
386
- onSmsInvite: (J) => Se(e),
387
- onRead: Re
394
+ channel: E(e)
395
+ }, { ref_for: !0 }, fe(e), {
396
+ onAction: t(Me),
397
+ onReply: t(Se),
398
+ onSmsInvite: (Z) => Ae(e),
399
+ onRead: Fe
388
400
  }), null, 16, ["message", "apply-style", "is-first-in-series", "reactions-enabled", "reactions-mode", "current-user-id", "reaction-user-names", "subtext-tooltip-data", "channel", "onAction", "onReply", "onSmsInvite"]))
389
401
  ], 40, ["id", "data-timestamp", "data-message-id", "onDblclick"]));
390
402
  return R.memo = k, R;
391
403
  }, o, 0), 128)),
392
- a.typing ? (l(), f(Qe, {
404
+ a.typing ? (l(), f(_e, {
393
405
  key: 0,
394
406
  message: {
395
407
  subText: a.typing.title,
@@ -398,34 +410,34 @@ const yt = {
398
410
  }, null, 8, ["message"])) : u("", !0),
399
411
  p(D, null, {
400
412
  default: w(() => [
401
- t(Ie) ? (l(), f(He, {
413
+ t(Be) ? (l(), f(Ye, {
402
414
  key: 0,
403
415
  ref_key: "keyboardRef",
404
416
  ref: x,
405
417
  class: "message-feed__keyboard",
406
418
  keyboard: a.objects[a.objects.length - 1].keyboard,
407
419
  align: a.keyboardAlign,
408
- onAction: t(Ae)
420
+ onAction: t(Ce)
409
421
  }, null, 8, ["keyboard", "align", "onAction"])) : u("", !0)
410
422
  ]),
411
423
  _: 1
412
424
  }),
413
- a.feedKeyboards && a.feedKeyboards.length > 0 ? (l(), f(Je, {
425
+ a.feedKeyboards && a.feedKeyboards.length > 0 ? (l(), f(Ze, {
414
426
  key: 1,
415
427
  class: "message-feed__feed-keyboard",
416
428
  buttons: a.feedKeyboards,
417
429
  align: a.feedKeyboardAlign,
418
- onAction: t(Be)
430
+ onAction: t(De)
419
431
  }, null, 8, ["buttons", "align", "onAction"])) : u("", !0)
420
- ], 44, pt)) : (l(), y("div", {
432
+ ], 44, vt)) : (l(), y("div", {
421
433
  key: 1,
422
434
  ref_key: "refFeed",
423
435
  ref: c,
424
436
  class: "message-feed",
425
- style: C({ backgroundImage: `url(${W.value})` })
437
+ style: C({ backgroundImage: `url(${J.value})` })
426
438
  }, [
427
- I("div", kt, [
428
- X(s.$slots, "empty-feed", {}, void 0, !0)
439
+ I("div", St, [
440
+ ee(s.$slots, "empty-feed", {}, void 0, !0)
429
441
  ])
430
442
  ], 4)),
431
443
  p(D, null, {
@@ -433,38 +445,38 @@ const yt = {
433
445
  t(K) ? (l(), y("button", {
434
446
  key: 0,
435
447
  class: "message-feed__button-down",
436
- onClick: xe
448
+ onClick: $e
437
449
  }, [
438
- a.buttonParams ? (l(), y("div", ht, Ve(a.buttonParams.unreadAmount), 1)) : u("", !0),
439
- o[5] || (o[5] = I("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
450
+ a.buttonParams ? (l(), y("div", Rt, He(a.buttonParams.unreadAmount), 1)) : u("", !0),
451
+ o[9] || (o[9] = I("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
440
452
  ])) : u("", !0)
441
453
  ]),
442
454
  _: 1
443
455
  }),
444
- t(S)().reply ? (l(), f(Y, {
456
+ t(S)().reply ? (l(), f(te, {
445
457
  key: 2,
446
458
  to: "#chat-input-reply-line-" + t(b)
447
459
  }, [
448
- p(ze, {
460
+ p(Qe, {
449
461
  class: "chat-input-reply",
450
462
  message: t(S)().reply,
451
- onReset: t(ve)
463
+ onReset: t(Ie)
452
464
  }, null, 8, ["message", "onReset"])
453
465
  ], 8, ["to"])) : u("", !0),
454
- t(S)().edit ? (l(), f(Y, {
466
+ t(S)().edit ? (l(), f(te, {
455
467
  key: 3,
456
468
  to: "#chat-input-reply-line-" + t(b)
457
469
  }, [
458
- p(Ge, {
470
+ p(Xe, {
459
471
  class: "chat-input-reply",
460
472
  message: t(S)().edit,
461
- onReset: t(Me)
473
+ onReset: t(Te)
462
474
  }, null, 8, ["message", "onReset"])
463
475
  ], 8, ["to"])) : u("", !0),
464
- O.value ? (l(), f(Ye, { key: 4 })) : u("", !0)
476
+ L.value ? (l(), f(tt, { key: 4 })) : u("", !0)
465
477
  ]));
466
478
  }
467
479
  });
468
480
  export {
469
- Ht as default
481
+ Yt as default
470
482
  };