@mobilon-dev/chotto 0.3.73 → 0.3.74

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,26 +1,26 @@
1
- import { defineComponent as me, ref as k, computed as l, inject as w, unref as o, watch as fe, nextTick as j, onMounted as ge, createElementBlock as c, openBlock as i, createVNode as g, createBlock as f, createCommentVNode as u, normalizeStyle as K, renderSlot as x, withDirectives as ye, createElementVNode as h, vShow as pe, Transition as v, withCtx as S, Fragment as be, renderList as ke, resolveDynamicComponent as he, toDisplayString as ve, Teleport as Se } from "vue";
2
- import Re from "../../2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
3
- import Be from "../../2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
4
- import Ie from "../../2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
5
- import Te from "../../2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
6
- import Ae from "../../2_feed_elements/TypingMessage/TypingMessage.vue.js";
7
- import Me from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
8
- import { useFeedButton as Fe } from "./composables/useFeedButton.js";
9
- import { useFeedComponents as Ce } from "./composables/useFeedComponents.js";
10
- import { useFeedGrouping as De } from "./composables/useFeedGrouping.js";
11
- import { useFeedKeyboard as we } from "./composables/useFeedKeyboard.js";
1
+ import { defineComponent as fe, ref as k, computed as i, inject as w, unref as s, watch as ge, nextTick as K, onMounted as ye, createElementBlock as c, openBlock as l, createVNode as g, createBlock as f, createCommentVNode as u, normalizeStyle as O, renderSlot as j, withDirectives as pe, createElementVNode as h, vShow as be, Transition as v, withCtx as S, Fragment as ke, renderList as he, resolveDynamicComponent as ve, mergeProps as Se, toDisplayString as Re, Teleport as Me } from "vue";
2
+ import Be from "../../2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
3
+ import Ie from "../../2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
4
+ import Te from "../../2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
5
+ import Ae from "../../2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
6
+ import Ce from "../../2_feed_elements/TypingMessage/TypingMessage.vue.js";
7
+ import Fe from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
8
+ import { useFeedButton as De } from "./composables/useFeedButton.js";
9
+ import { useFeedComponents as we } from "./composables/useFeedComponents.js";
10
+ import { useFeedGrouping as Ke } from "./composables/useFeedGrouping.js";
11
+ import { useFeedKeyboard as Oe } from "./composables/useFeedKeyboard.js";
12
12
  import { useFeedLoadMore as je } from "./composables/useFeedLoadMore.js";
13
- import { useFeedMessageVisibility as Ke } from "./composables/useFeedMessageVisibility.js";
14
- import { useFeedReply as xe } from "./composables/useFeedReply.js";
15
- import { useFeedScroll as Le } from "./composables/useFeedScroll.js";
16
- import { useFeedScrollTo as Oe } from "./composables/useFeedScrollTo.js";
17
- import { useStickyDate as Ve } from "./composables/useStickyDate.js";
18
- import { throttle as $e } from "./functions/throttle.js";
19
- import qe from "./assets/chat-background.svg.js";
20
- const ze = { class: "message-feed-wrapper" }, Ee = ["id"], Pe = { class: "message-feed__loading" }, We = ["id", "data-timestamp", "onDblclick"], Ne = { style: { margin: "auto" } }, Ge = {
13
+ import { useFeedMessageVisibility as xe } from "./composables/useFeedMessageVisibility.js";
14
+ import { useFeedReply as Le } from "./composables/useFeedReply.js";
15
+ import { useFeedScroll as Ve } from "./composables/useFeedScroll.js";
16
+ import { useFeedScrollTo as $e } from "./composables/useFeedScrollTo.js";
17
+ import { useStickyDate as qe } from "./composables/useStickyDate.js";
18
+ import { throttle as Pe } from "./functions/throttle.js";
19
+ import ze from "./assets/chat-background.svg.js";
20
+ const Ee = { class: "message-feed-wrapper" }, We = ["id"], Ne = { class: "message-feed__loading" }, Ge = ["id", "data-timestamp", "onDblclick"], Ue = { style: { margin: "auto" } }, He = {
21
21
  key: 0,
22
22
  class: "message-feed__unread-amount"
23
- }, ut = /* @__PURE__ */ me({
23
+ }, ft = /* @__PURE__ */ fe({
24
24
  __name: "Feed",
25
25
  props: {
26
26
  objects: {
@@ -84,6 +84,15 @@ const ze = { class: "message-feed-wrapper" }, Ee = ["id"], Pe = { class: "messag
84
84
  type: Object,
85
85
  required: !1,
86
86
  default: () => ({})
87
+ },
88
+ /**
89
+ * Позволяет переопределить действие "Перезвонить" для `message.call`.
90
+ * Будет передано внутрь `CallMessage` как проп `onCall`.
91
+ */
92
+ callMessageOnCallback: {
93
+ type: Function,
94
+ required: !1,
95
+ default: void 0
87
96
  }
88
97
  },
89
98
  emits: [
@@ -98,185 +107,189 @@ const ze = { class: "message-feed-wrapper" }, Ee = ["id"], Pe = { class: "messag
98
107
  "smsInvite",
99
108
  "delimiterRead"
100
109
  ],
101
- setup(e, { emit: L }) {
110
+ setup(e, { emit: x }) {
102
111
  const a = e, b = k(), r = k(), R = k(), {
103
- isShowButton: O,
112
+ isShowButton: L,
104
113
  isKeyboardPlace: V,
105
114
  checkButtonVisibility: $
106
- } = Fe({
115
+ } = De({
107
116
  feedRef: r,
108
117
  keyboardRef: R
109
- }), { componentsMap: q } = Ce(), z = l(() => a.reactionsEnabled), { groupedObjects: E } = De({
110
- objects: l(() => a.objects)
111
- }), y = w("chatAppId"), B = w("selectedChat", void 0), I = l(() => {
112
- if (B)
113
- return o(B);
118
+ }), { componentsMap: q } = we(), P = i(() => a.reactionsEnabled), { groupedObjects: z } = Ke({
119
+ objects: i(() => a.objects)
120
+ }), y = w("chatAppId"), M = w("selectedChat", void 0), B = i(() => {
121
+ if (M)
122
+ return s(M);
114
123
  });
115
- function P(s) {
116
- return s.timestamp;
124
+ function E(o) {
125
+ return o.timestamp;
117
126
  }
118
- function W(s) {
127
+ function W(o) {
119
128
  var m;
120
- const n = s;
121
- if (!n.dialogId || !((m = I.value) != null && m.dialogs))
129
+ const n = o;
130
+ if (!n.dialogId || !((m = B.value) != null && m.dialogs))
122
131
  return;
123
- const t = I.value.dialogs.find((p) => p.dialogId === n.dialogId);
132
+ const t = B.value.dialogs.find((p) => p.dialogId === n.dialogId);
124
133
  return t == null ? void 0 : t.channelId;
125
134
  }
126
- const d = L, {
127
- checkScrollPosition: N,
128
- startScrollWatch: T,
129
- stopScrollWatch: A,
130
- resetAllowFlags: G
135
+ function N(o) {
136
+ return o.type === "message.call" && typeof a.callMessageOnCallback == "function" ? { onCall: a.callMessageOnCallback } : {};
137
+ }
138
+ const d = x, {
139
+ checkScrollPosition: G,
140
+ startScrollWatch: I,
141
+ stopScrollWatch: T,
142
+ resetAllowFlags: U
131
143
  } = je({
132
144
  feedRef: r,
133
145
  emit: d,
134
- isLoadingMoreRef: l(() => a.isLoadingMore)
146
+ isLoadingMoreRef: i(() => a.isLoadingMore)
135
147
  }), {
136
- getMessage: M,
137
- messageAction: U,
138
- handleClickReplied: H,
139
- feedObjectDoubleClick: J,
140
- handleResetReply: Q
141
- } = xe({
148
+ getMessage: A,
149
+ messageAction: H,
150
+ handleClickReplied: J,
151
+ feedObjectDoubleClick: Q,
152
+ handleResetReply: X
153
+ } = Le({
142
154
  enableDoubleClickReply: a.enableDoubleClickReply,
143
155
  emit: d
144
156
  });
145
- function X(s) {
146
- d("smsInvite", s);
157
+ function Y(o) {
158
+ d("smsInvite", o);
147
159
  }
148
- function Y(s) {
149
- d("delimiterRead", s);
160
+ function Z(o) {
161
+ d("delimiterRead", o);
150
162
  }
151
163
  const {
152
- showKeyboard: Z,
153
- keyboardAction: _,
154
- feedKeyboardAction: ee
155
- } = we({
164
+ showKeyboard: _,
165
+ keyboardAction: ee,
166
+ feedKeyboardAction: te
167
+ } = Oe({
156
168
  isKeyboardPlace: V,
157
- objects: l(() => a.objects),
169
+ objects: i(() => a.objects),
158
170
  emit: d
159
171
  }), {
160
- showStickyDate: te,
161
- stickyDateText: oe,
162
- show: se
163
- } = Ve({
172
+ showStickyDate: oe,
173
+ stickyDateText: se,
174
+ show: ae
175
+ } = qe({
164
176
  feedRef: r,
165
177
  trackingObjects: b
166
178
  }), {
167
179
  isInitialized: ne,
168
- performScrollToBottom: ae,
169
- ensureScrollToBottom: F,
180
+ performScrollToBottom: le,
181
+ ensureScrollToBottom: C,
170
182
  initializeScroll: ie,
171
- smoothScrollToBottom: le
172
- } = Le({
183
+ smoothScrollToBottom: re
184
+ } = Ve({
173
185
  feedRef: r,
174
- objectsRef: l(() => a.objects),
175
- scrollToBottomRef: l(() => a.scrollToBottom)
176
- }), C = l(() => a.chatBackground ?? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(qe)}`);
177
- function D(s = !0) {
178
- $(), N(s), se();
186
+ objectsRef: i(() => a.objects),
187
+ scrollToBottomRef: i(() => a.scrollToBottom)
188
+ }), F = i(() => a.chatBackground ?? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(ze)}`);
189
+ function D(o = !0) {
190
+ $(), G(o), ae();
179
191
  }
180
- const re = $e(() => D(), 250);
181
- function de() {
182
- d("forceScrollToBottom"), le();
192
+ const de = Pe(() => D(), 250);
193
+ function ce() {
194
+ d("forceScrollToBottom"), re();
183
195
  }
184
- function ce(s) {
196
+ function ue(o) {
185
197
  const n = a.objects;
186
- if (s.startsWith("mid-")) {
187
- const t = parseInt(s.slice(4), 10);
198
+ if (o.startsWith("mid-")) {
199
+ const t = parseInt(o.slice(4), 10);
188
200
  return n[t];
189
201
  }
190
- return n.find((t) => t.messageId === s);
202
+ return n.find((t) => t.messageId === o);
191
203
  }
192
- const { restartObserving: ue } = Ke({
204
+ const { restartObserving: me } = xe({
193
205
  trackingObjects: b,
194
206
  chatAppId: y,
195
- getMessageById: ce,
196
- onMessageVisible: (s) => d("messageVisible", s)
207
+ getMessageById: ue,
208
+ onMessageVisible: (o) => d("messageVisible", o)
197
209
  });
198
- return fe(
210
+ return ge(
199
211
  () => a.objects,
200
212
  () => {
201
- j(() => {
213
+ K(() => {
202
214
  requestAnimationFrame(() => {
203
- G(), D(!1), b.value = document.querySelectorAll(".tracking-message"), ue();
215
+ U(), D(!1), b.value = document.querySelectorAll(".tracking-message"), me();
204
216
  });
205
217
  });
206
218
  },
207
219
  { immediate: !0 }
208
- ), Oe({
209
- targetIdRef: l(() => a.scrollTo),
220
+ ), $e({
221
+ targetIdRef: i(() => a.scrollTo),
210
222
  feedContainerId: `feed-container-${y}`
211
- }), ge(() => {
212
- j(() => {
223
+ }), ye(() => {
224
+ K(() => {
213
225
  a.objects.length > 0 && !ne.value && ie();
214
- const s = new ResizeObserver(() => {
215
- a.scrollToBottom && (ae(), setTimeout(() => {
216
- F();
226
+ const o = new ResizeObserver(() => {
227
+ a.scrollToBottom && (le(), setTimeout(() => {
228
+ C();
217
229
  }, 200), setTimeout(() => {
218
- F();
230
+ C();
219
231
  }, 800));
220
232
  });
221
- r.value && s.observe(r.value);
233
+ r.value && o.observe(r.value);
222
234
  });
223
- }), (s, n) => (i(), c("div", ze, [
224
- e.objects.length > 0 || e.typing ? (i(), c("div", {
235
+ }), (o, n) => (l(), c("div", Ee, [
236
+ e.objects.length > 0 || e.typing ? (l(), c("div", {
225
237
  key: 0,
226
- id: "feed-container-" + o(y),
238
+ id: "feed-container-" + s(y),
227
239
  ref_key: "refFeed",
228
240
  ref: r,
229
241
  class: "message-feed",
230
- style: K({ backgroundImage: `url(${C.value})` }),
231
- onScroll: n[0] || (n[0] = (t) => o(re)()),
242
+ style: O({ backgroundImage: `url(${F.value})` }),
243
+ onScroll: n[0] || (n[0] = (t) => s(de)()),
232
244
  onMousedown: n[1] || (n[1] = //@ts-ignore
233
- (...t) => o(T) && o(T)(...t)),
245
+ (...t) => s(I) && s(I)(...t)),
234
246
  onMouseup: n[2] || (n[2] = //@ts-ignore
235
- (...t) => o(A) && o(A)(...t))
247
+ (...t) => s(T) && s(T)(...t))
236
248
  }, [
237
- x(s.$slots, "prepend", {}, void 0, !0),
238
- ye(h("div", Pe, [
239
- g(Me, {
249
+ j(o.$slots, "prepend", {}, void 0, !0),
250
+ pe(h("div", Ne, [
251
+ g(Fe, {
240
252
  "is-loading": e.isLoadingMore,
241
253
  size: "small",
242
254
  position: "top"
243
255
  }, null, 8, ["is-loading"])
244
256
  ], 512), [
245
- [pe, e.isLoadingMore]
257
+ [be, e.isLoadingMore]
246
258
  ]),
247
259
  g(v, null, {
248
260
  default: S(() => [
249
- o(te) && !e.isLoadingMore ? (i(), f(Re, {
261
+ s(oe) && !e.isLoadingMore ? (l(), f(Be, {
250
262
  key: 0,
251
263
  class: "message-feed__sticky-date",
252
- text: o(oe)
264
+ text: s(se)
253
265
  }, null, 8, ["text"])) : u("", !0)
254
266
  ]),
255
267
  _: 1
256
268
  }),
257
- (i(!0), c(be, null, ke(o(E), (t, m) => (i(), c("div", {
269
+ (l(!0), c(ke, null, he(s(z), (t, m) => (l(), c("div", {
258
270
  id: "msg-" + (t.messageId ?? "mid-" + m),
259
271
  key: t.messageId ?? "mid-" + m,
260
- "data-timestamp": P(t),
272
+ "data-timestamp": E(t),
261
273
  class: "tracking-message",
262
- onDblclick: (p) => o(J)(p, t)
274
+ onDblclick: (p) => s(Q)(p, t)
263
275
  }, [
264
- (i(), f(he(o(q)(t.type)), {
276
+ (l(), f(ve(s(q)(t.type)), Se({
265
277
  key: t.messageId ?? "mid-" + m,
266
278
  class: "message-feed__message",
267
279
  message: t,
268
280
  "apply-style": e.applyStyle,
269
281
  "is-first-in-series": t.isFirstInSeries,
270
- "reactions-enabled": z.value,
282
+ "reactions-enabled": P.value,
271
283
  "subtext-tooltip-data": e.subtextTooltipData,
272
- channel: W(t),
273
- onAction: o(U),
274
- onReply: o(H),
275
- onSmsInvite: (p) => X(t),
276
- onRead: Y
277
- }, null, 40, ["message", "apply-style", "is-first-in-series", "reactions-enabled", "subtext-tooltip-data", "channel", "onAction", "onReply", "onSmsInvite"]))
278
- ], 40, We))), 128)),
279
- e.typing ? (i(), f(Ae, {
284
+ channel: W(t)
285
+ }, { ref_for: !0 }, N(t), {
286
+ onAction: s(H),
287
+ onReply: s(J),
288
+ onSmsInvite: (p) => Y(t),
289
+ onRead: Z
290
+ }), null, 16, ["message", "apply-style", "is-first-in-series", "reactions-enabled", "subtext-tooltip-data", "channel", "onAction", "onReply", "onSmsInvite"]))
291
+ ], 40, Ge))), 128)),
292
+ e.typing ? (l(), f(Ce, {
280
293
  key: 0,
281
294
  message: {
282
295
  subText: e.typing.title,
@@ -285,61 +298,61 @@ const ze = { class: "message-feed-wrapper" }, Ee = ["id"], Pe = { class: "messag
285
298
  }, null, 8, ["message"])) : u("", !0),
286
299
  g(v, null, {
287
300
  default: S(() => [
288
- o(Z) ? (i(), f(Ie, {
301
+ s(_) ? (l(), f(Te, {
289
302
  key: 0,
290
303
  ref_key: "keyboardRef",
291
304
  ref: R,
292
305
  class: "message-feed__keyboard",
293
306
  keyboard: e.objects[e.objects.length - 1].keyboard,
294
307
  align: e.keyboardAlign,
295
- onAction: o(_)
308
+ onAction: s(ee)
296
309
  }, null, 8, ["keyboard", "align", "onAction"])) : u("", !0)
297
310
  ]),
298
311
  _: 1
299
312
  }),
300
- e.feedKeyboards && e.feedKeyboards.length > 0 ? (i(), f(Te, {
313
+ e.feedKeyboards && e.feedKeyboards.length > 0 ? (l(), f(Ae, {
301
314
  key: 1,
302
315
  buttons: e.feedKeyboards,
303
316
  align: e.feedKeyboardAlign,
304
- onAction: o(ee)
317
+ onAction: s(te)
305
318
  }, null, 8, ["buttons", "align", "onAction"])) : u("", !0)
306
- ], 44, Ee)) : (i(), c("div", {
319
+ ], 44, We)) : (l(), c("div", {
307
320
  key: 1,
308
321
  ref_key: "refFeed",
309
322
  ref: r,
310
323
  class: "message-feed",
311
- style: K({ backgroundImage: `url(${C.value})` })
324
+ style: O({ backgroundImage: `url(${F.value})` })
312
325
  }, [
313
- h("div", Ne, [
314
- x(s.$slots, "empty-feed", {}, void 0, !0)
326
+ h("div", Ue, [
327
+ j(o.$slots, "empty-feed", {}, void 0, !0)
315
328
  ])
316
329
  ], 4)),
317
330
  g(v, null, {
318
331
  default: S(() => [
319
- o(O) ? (i(), c("button", {
332
+ s(L) ? (l(), c("button", {
320
333
  key: 0,
321
334
  class: "message-feed__button-down",
322
- onClick: de
335
+ onClick: ce
323
336
  }, [
324
- e.buttonParams ? (i(), c("div", Ge, ve(e.buttonParams.unreadAmount), 1)) : u("", !0),
337
+ e.buttonParams ? (l(), c("div", He, Re(e.buttonParams.unreadAmount), 1)) : u("", !0),
325
338
  n[3] || (n[3] = h("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
326
339
  ])) : u("", !0)
327
340
  ]),
328
341
  _: 1
329
342
  }),
330
- o(M)().reply ? (i(), f(Se, {
343
+ s(A)().reply ? (l(), f(Me, {
331
344
  key: 2,
332
- to: "#chat-input-reply-line-" + o(y)
345
+ to: "#chat-input-reply-line-" + s(y)
333
346
  }, [
334
- g(Be, {
347
+ g(Ie, {
335
348
  class: "chat-input-reply",
336
- message: o(M)().reply,
337
- onReset: o(Q)
349
+ message: s(A)().reply,
350
+ onReset: s(X)
338
351
  }, null, 8, ["message", "onReset"])
339
352
  ], 8, ["to"])) : u("", !0)
340
353
  ]));
341
354
  }
342
355
  });
343
356
  export {
344
- ut as default
357
+ ft as default
345
358
  };
@@ -4,6 +4,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4
4
  type: () => ICallMessage;
5
5
  required: true;
6
6
  };
7
+ /**
8
+ * Позволяет переопределить действие кнопки "Перезвонить" снаружи (например, из feed).
9
+ * Если не задано, компонент эмитит событие `call`.
10
+ */
11
+ onCall: {
12
+ type: () => ((message: ICallMessage) => void) | undefined;
13
+ required: false;
14
+ default: undefined;
15
+ };
7
16
  applyStyle: {
8
17
  type: FunctionConstructor;
9
18
  default: () => null;
@@ -16,11 +25,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
25
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
26
  action: (...args: any[]) => void;
18
27
  reply: (...args: any[]) => void;
28
+ call: (...args: any[]) => void;
19
29
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
30
  message: {
21
31
  type: () => ICallMessage;
22
32
  required: true;
23
33
  };
34
+ /**
35
+ * Позволяет переопределить действие кнопки "Перезвонить" снаружи (например, из feed).
36
+ * Если не задано, компонент эмитит событие `call`.
37
+ */
38
+ onCall: {
39
+ type: () => ((message: ICallMessage) => void) | undefined;
40
+ required: false;
41
+ default: undefined;
42
+ };
24
43
  applyStyle: {
25
44
  type: FunctionConstructor;
26
45
  default: () => null;
@@ -33,8 +52,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
52
  }>> & Readonly<{
34
53
  onAction?: ((...args: any[]) => any) | undefined;
35
54
  onReply?: ((...args: any[]) => any) | undefined;
55
+ onCall?: ((...args: any[]) => any) | undefined;
36
56
  }>, {
37
57
  applyStyle: Function;
38
58
  subtextTooltipData: Record<string, string>;
59
+ onCall: ((message: ICallMessage) => void) | undefined;
39
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
61
  export default _default;
@@ -80,6 +80,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
80
  required: false;
81
81
  default: () => {};
82
82
  };
83
+ /**
84
+ * Позволяет переопределить действие "Перезвонить" для `message.call`.
85
+ * Будет передано внутрь `CallMessage` как проп `onCall`.
86
+ */
87
+ callMessageOnCallback: {
88
+ type: () => ((message: IFeedObject) => void) | undefined;
89
+ required: false;
90
+ default: undefined;
91
+ };
83
92
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
93
  loadMore: (...args: any[]) => void;
85
94
  smsInvite: (...args: any[]) => void;
@@ -166,6 +175,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
166
175
  required: false;
167
176
  default: () => {};
168
177
  };
178
+ /**
179
+ * Позволяет переопределить действие "Перезвонить" для `message.call`.
180
+ * Будет передано внутрь `CallMessage` как проп `onCall`.
181
+ */
182
+ callMessageOnCallback: {
183
+ type: () => ((message: IFeedObject) => void) | undefined;
184
+ required: false;
185
+ default: undefined;
186
+ };
169
187
  }>> & Readonly<{
170
188
  onLoadMore?: ((...args: any[]) => any) | undefined;
171
189
  onSmsInvite?: ((...args: any[]) => any) | undefined;
@@ -191,6 +209,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
191
209
  feedKeyboards: IFeedKeyboard[];
192
210
  feedKeyboardAlign: "left" | "right" | "center";
193
211
  isLoadingMore: boolean;
212
+ callMessageOnCallback: ((message: IFeedObject) => void) | undefined;
194
213
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
195
214
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
196
215
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilon-dev/chotto",
3
- "version": "0.3.73",
3
+ "version": "0.3.74",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",