@mobilon-dev/chotto 0.3.91 → 0.3.93

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,96 +1,123 @@
1
- import { ref as h, getCurrentInstance as x, inject as R, computed as S, unref as I, watch as D } from "vue";
2
- const r = h([]);
3
- function E(n) {
1
+ import { ref as R, getCurrentInstance as D, inject as C, computed as F, unref as P, watch as S } from "vue";
2
+ const r = R([]);
3
+ function T(e) {
4
4
  return {
5
- id: n,
5
+ id: e,
6
6
  text: "",
7
7
  file: void 0,
8
8
  forceSend: !1,
9
9
  isRecording: !1
10
10
  };
11
11
  }
12
- function f(n) {
13
- const i = r.value.find((a) => a.id === n);
12
+ function f(e) {
13
+ const i = r.value.find((c) => c.id === e);
14
14
  if (i) return i;
15
- const s = E(n);
15
+ const s = T(e);
16
16
  return r.value.push(s), s;
17
17
  }
18
- function F(n, i) {
18
+ function B(e, i) {
19
+ if (!(i == null || i === ""))
20
+ return r.value.find((s) => s.id === `${e}:${i}`);
21
+ }
22
+ function E(e) {
23
+ return e.replace(/\s+/g, " ").trim();
24
+ }
25
+ function a(e) {
26
+ var c, u, o;
27
+ if (!e) return;
28
+ if (e.edit) {
29
+ e.listPreviewText = void 0, e.listPreviewFile = void 0;
30
+ return;
31
+ }
32
+ const i = E(e.text || "");
33
+ e.listPreviewText = i || void 0;
34
+ const s = ((c = e.file) == null ? void 0 : c.name) || ((o = (u = e.file) == null ? void 0 : u.preview) == null ? void 0 : o.fileName) || "";
35
+ e.listPreviewFile = e.file ? { name: s, type: e.file.type } : void 0;
36
+ }
37
+ function b(e) {
38
+ e && a(r.value.find((i) => i.id === e));
39
+ }
40
+ function L(e, i) {
19
41
  if (typeof document > "u") return;
20
- const s = document.getElementById("chat-input-reply-line-" + n);
42
+ const s = document.getElementById("chat-input-reply-line-" + e);
21
43
  s && (s.style.display = i.reply || i.edit ? "inherit" : "none");
22
44
  }
23
- const j = (n) => {
24
- const i = x() ? R("selectedChat", void 0) : void 0, s = S(() => {
25
- const e = i ? I(i) : void 0, t = e == null ? void 0 : e.chatId;
26
- return t == null || t === "" ? n : `${n}:${t}`;
45
+ const k = (e) => {
46
+ const i = D() ? C("selectedChat", void 0) : void 0, s = F(() => {
47
+ const t = i ? P(i) : void 0, n = t == null ? void 0 : t.chatId;
48
+ return n == null || n === "" ? e : `${e}:${n}`;
27
49
  });
28
- D(
50
+ S(
29
51
  s,
30
- (e, t) => {
31
- const d = f(e);
32
- t !== void 0 && t !== e && F(n, d);
52
+ (t, n) => {
53
+ const l = f(t);
54
+ if (n !== void 0 && n !== t) {
55
+ const w = r.value.find((h) => h.id === n);
56
+ a(w), L(e, l);
57
+ }
33
58
  },
34
59
  { immediate: !0 }
35
60
  );
36
- const a = () => {
37
- const e = s.value, t = r.value.findIndex((d) => d.id === e);
38
- return t !== -1 ? t : (f(e), r.value.findIndex((d) => d.id === e));
61
+ const c = () => {
62
+ const t = s.value, n = r.value.findIndex((l) => l.id === t);
63
+ return n !== -1 ? n : (f(t), r.value.findIndex((l) => l.id === t));
39
64
  }, u = () => {
40
- const e = c();
41
- r.value[a()] = {
42
- id: e.id,
65
+ const t = d();
66
+ r.value[c()] = {
67
+ id: t.id,
43
68
  text: "",
44
69
  file: void 0,
45
70
  reply: void 0,
46
71
  edit: void 0,
47
72
  forceSend: !1,
48
- isRecording: e.isRecording
73
+ isRecording: t.isRecording
49
74
  };
50
- }, o = (e) => {
51
- const t = c();
52
- r.value[a()] = {
53
- ...t,
75
+ }, o = (t) => {
76
+ const n = d();
77
+ r.value[c()] = {
78
+ ...n,
54
79
  forceSend: !1,
55
- ...e,
56
- id: t.id
80
+ ...t,
81
+ id: n.id
57
82
  };
58
- }, l = (e) => {
59
- o({ text: e });
60
- }, g = (e) => {
61
- o({ file: e });
62
- }, v = () => {
83
+ }, v = (t) => {
84
+ o({ text: t });
85
+ }, g = (t) => {
86
+ o({ file: t });
87
+ }, p = () => {
63
88
  o({ file: void 0 });
64
- }, p = (e) => {
65
- o({ reply: e, edit: void 0 });
89
+ }, m = (t) => {
90
+ o({ reply: t, edit: void 0 });
66
91
  }, y = () => {
67
92
  o({ reply: void 0 });
68
- }, M = (e) => {
69
- o({ edit: e, reply: void 0 });
70
- }, m = () => {
93
+ }, x = (t) => {
94
+ o({ edit: t, reply: void 0 });
95
+ }, M = () => {
71
96
  o({ edit: void 0 });
72
97
  };
73
- function c() {
98
+ function d() {
74
99
  return f(s.value);
75
100
  }
76
101
  return {
77
- getMessage: c,
102
+ getMessage: d,
78
103
  resetMessage: u,
79
104
  setMessageFile: g,
80
- resetMessageFile: v,
81
- setMessageText: l,
82
- setReply: p,
105
+ resetMessageFile: p,
106
+ setMessageText: v,
107
+ setReply: m,
83
108
  resetReply: y,
84
- setEdit: M,
85
- resetEdit: m,
86
- setForceSendMessage: (e) => {
87
- c().forceSend = e;
109
+ setEdit: x,
110
+ resetEdit: M,
111
+ setForceSendMessage: (t) => {
112
+ d().forceSend = t;
88
113
  },
89
- setRecordingMessage: (e) => {
90
- c().isRecording = e;
114
+ setRecordingMessage: (t) => {
115
+ d().isRecording = t;
91
116
  }
92
117
  };
93
118
  };
94
119
  export {
95
- j as useMessageDraft
120
+ b as commitChatDraftToList,
121
+ B as getChatDraft,
122
+ k as useMessageDraft
96
123
  };
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { default as x } from "./components/1_atoms/LinkPreview/LinkPreview.vue.j
8
8
  import { default as n } from "./components/1_atoms/Tooltip/Tooltip.vue.js";
9
9
  import { default as M } from "./components/1_icons/AvatarIcon.vue.js";
10
10
  import { default as C } from "./components/1_icons/CheckIcon.vue.js";
11
- import { default as y } from "./components/1_icons/CloseButtonIcon.vue.js";
11
+ import { default as h } from "./components/1_icons/CloseButtonIcon.vue.js";
12
12
  import { default as R } from "./components/1_icons/ContactCRMIcon.vue.js";
13
13
  import { default as T } from "./components/1_icons/MenuIcon.vue.js";
14
14
  import { default as P } from "./components/1_icons/SearchIcon.vue.js";
@@ -35,7 +35,7 @@ import { default as xe } from "./components/2_chatinput_elements/StickerPicker/S
35
35
  import { default as ne } from "./components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js";
36
36
  import { default as Me } from "./components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js";
37
37
  import { default as Ce } from "./components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js";
38
- import { default as ye } from "./components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js";
38
+ import { default as he } from "./components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js";
39
39
  import { default as Re } from "./components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js";
40
40
  import { default as Te } from "./components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js";
41
41
  import { default as Pe } from "./components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js";
@@ -62,7 +62,7 @@ import { default as xt } from "./components/2_feed_elements/EditTextMessage/Edit
62
62
  import { default as nt } from "./components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
63
63
  import { default as Mt } from "./components/2_feed_elements/FileMessage/FileMessage.vue.js";
64
64
  import { default as Ct } from "./components/2_feed_elements/ImageMessage/ImageMessage.vue.js";
65
- import { default as yt } from "./components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
65
+ import { default as ht } from "./components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
66
66
  import { default as Rt } from "./components/2_feed_elements/MessageReactions/MessageReactions.vue.js";
67
67
  import { default as Tt } from "./components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js";
68
68
  import { default as Pt } from "./components/2_feed_elements/StickerMessage/StickerMessage.vue.js";
@@ -89,7 +89,7 @@ import { default as io } from "./components/3_compounds/ChatList/ChatList.vue.js
89
89
  import { default as co } from "./components/3_compounds/Feed/Feed.vue.js";
90
90
  import { default as go } from "./components/3_compounds/SideBar/SideBar.vue.js";
91
91
  import { default as So } from "./components/4_layouts/BaseLayout/BaseLayout.vue.js";
92
- import { default as ho } from "./components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js";
92
+ import { default as yo } from "./components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js";
93
93
  import { default as Io } from "./components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js";
94
94
  import { default as Ao } from "./components/4_layouts/FeedLayout/FeedLayout.vue.js";
95
95
  import { default as Bo } from "./components/4_layouts/ChatWrapper/ChatWrapper.vue.js";
@@ -100,45 +100,45 @@ import { getTypeFileByMime as Lo } from "./hooks/uploadFile/getTypeFileByMime.js
100
100
  import { uploadFile as Uo } from "./hooks/uploadFile/uploadFile.js";
101
101
  import { useDelayDebouncedRef as No } from "./hooks/useDelayDebouncedRef.js";
102
102
  import { useImmediateDebouncedRef as Ko } from "./hooks/useImmediateDebouncedRef.js";
103
- import { useMessageDraft as Qo } from "./hooks/useMessageDraft.js";
104
- import { useSearchModel as zo } from "./hooks/useSearchModel.js";
105
- import { useTheme as Jo } from "./hooks/useTheme.js";
106
- import { useEmojiNative as Yo } from "./hooks/useEmojiNative.js";
107
- import { useModalCreateChat as _o } from "./hooks/modals/useCreateChat.js";
108
- import { useModalCreateChat2 as ea } from "./hooks/modals/useCreateChat2.js";
109
- import { useModalCreateDialog as oa } from "./hooks/modals/useCreateDialog.js";
110
- import { useConfirmDeleteMessage as ra } from "./hooks/modals/useConfirmDeleteMessage.js";
111
- import { useModalSelectUser2 as fa } from "./hooks/modals/useModalSelectUser2.js";
112
- import { useModalVideoRecorder as pa } from "./hooks/modals/useVideoRecorder.js";
113
- import { getValidationReport as ma, validateChats as ua } from "./hooks/validators/chats/chatValidator.js";
114
- import { useChatValidator as ia } from "./hooks/validators/chats/useChatValidator.js";
115
- import { getMessageValidationReport as ca, validateMessages as Ma } from "./hooks/validators/messages/messageValidator.js";
116
- import { useMessageValidator as Ca } from "./hooks/validators/messages/useMessageValidator.js";
117
- import { getSidebarValidationReport as ya, validateSidebarItems as ha } from "./hooks/validators/sidebar/sidebarValidator.js";
118
- import { useSidebarValidator as Ia } from "./hooks/validators/sidebar/useSidebarValidator.js";
119
- import { useValidation as Aa } from "./hooks/validators/useValidation.js";
120
- import { useMessageActions as Ba } from "./hooks/messages/useMessageActions.js";
121
- import { calculateMessageMenuPosition as ba, findAppBoundsRect as va } from "./hooks/messages/calculateMessageMenuPosition.js";
122
- import { useMessageMenuActions as Ea } from "./hooks/messages/useMessageMenuActions.js";
123
- import { useMessageLinks as wa } from "./hooks/messages/useMessageLinks.js";
124
- import { useChannelAccentColor as La } from "./hooks/messages/useChannelAccentColor.js";
125
- import { useSubtextTooltip as Ua } from "./hooks/messages/useSubtextTooltip.js";
126
- import { hideReplyPreview as Na, showReplyPreview as Ha, useStartReply as Ka } from "./hooks/messages/useStartReply.js";
127
- import { hideEditPreview as Qa, showEditPreview as qa, useStartEdit as za } from "./hooks/messages/useStartEdit.js";
128
- import { buildReplyPayload as Ja } from "./hooks/messages/buildReplyPayload.js";
129
- import { buildEditPayload as Ya } from "./hooks/messages/buildEditPayload.js";
130
- import { getEditTooltipLines as _a } from "./hooks/messages/getEditTooltipLines.js";
131
- import { getDeletedOriginalText as er, getDeletedTooltipLines as tr } from "./hooks/messages/getDeletedOriginalText.js";
132
- import { getStatus as ar, getStatusTitle as rr, statuses as sr } from "./functions/getStatusMessage.js";
133
- import { formatTimestamp as lr } from "./functions/formatTimestamp.js";
134
- import { playNotificationAudio as dr } from "./functions/playNotificationAudio.js";
135
- import { insertDaySeparators as ur } from "./functions/insertDaySeparators.js";
136
- import { sortByTimestamp as ir } from "./functions/sortByTimestamp.js";
137
- import { getMessageClass as cr } from "./functions/getMessageClass.js";
138
- import { createReactionHandlers as gr } from "./functions/createReactionHandlers.js";
139
- import { getChannelAccentColor as Sr } from "./functions/getChannelAccentColor.js";
140
- import { parseMarkdown as hr } from "./functions/parseMarkdown.js";
141
- import { safeMediaPlay as Ir, safeMediaPlayVoid as Tr } from "./functions/safeMediaPlay.js";
103
+ import { commitChatDraftToList as Qo, getChatDraft as qo, useMessageDraft as zo } from "./hooks/useMessageDraft.js";
104
+ import { useSearchModel as Jo } from "./hooks/useSearchModel.js";
105
+ import { useTheme as Yo } from "./hooks/useTheme.js";
106
+ import { useEmojiNative as _o } from "./hooks/useEmojiNative.js";
107
+ import { useModalCreateChat as ea } from "./hooks/modals/useCreateChat.js";
108
+ import { useModalCreateChat2 as oa } from "./hooks/modals/useCreateChat2.js";
109
+ import { useModalCreateDialog as ra } from "./hooks/modals/useCreateDialog.js";
110
+ import { useConfirmDeleteMessage as fa } from "./hooks/modals/useConfirmDeleteMessage.js";
111
+ import { useModalSelectUser2 as pa } from "./hooks/modals/useModalSelectUser2.js";
112
+ import { useModalVideoRecorder as ma } from "./hooks/modals/useVideoRecorder.js";
113
+ import { getValidationReport as xa, validateChats as ia } from "./hooks/validators/chats/chatValidator.js";
114
+ import { useChatValidator as ca } from "./hooks/validators/chats/useChatValidator.js";
115
+ import { getMessageValidationReport as ga, validateMessages as Ca } from "./hooks/validators/messages/messageValidator.js";
116
+ import { useMessageValidator as ha } from "./hooks/validators/messages/useMessageValidator.js";
117
+ import { getSidebarValidationReport as Ra, validateSidebarItems as Ia } from "./hooks/validators/sidebar/sidebarValidator.js";
118
+ import { useSidebarValidator as Aa } from "./hooks/validators/sidebar/useSidebarValidator.js";
119
+ import { useValidation as Ba } from "./hooks/validators/useValidation.js";
120
+ import { useMessageActions as ba } from "./hooks/messages/useMessageActions.js";
121
+ import { calculateMessageMenuPosition as Da, findAppBoundsRect as Ea } from "./hooks/messages/calculateMessageMenuPosition.js";
122
+ import { useMessageMenuActions as wa } from "./hooks/messages/useMessageMenuActions.js";
123
+ import { useMessageLinks as La } from "./hooks/messages/useMessageLinks.js";
124
+ import { useChannelAccentColor as Ua } from "./hooks/messages/useChannelAccentColor.js";
125
+ import { useSubtextTooltip as Na } from "./hooks/messages/useSubtextTooltip.js";
126
+ import { hideReplyPreview as Ka, showReplyPreview as Oa, useStartReply as Qa } from "./hooks/messages/useStartReply.js";
127
+ import { hideEditPreview as za, showEditPreview as Ga, useStartEdit as Ja } from "./hooks/messages/useStartEdit.js";
128
+ import { buildReplyPayload as Ya } from "./hooks/messages/buildReplyPayload.js";
129
+ import { buildEditPayload as _a } from "./hooks/messages/buildEditPayload.js";
130
+ import { getEditTooltipLines as er } from "./hooks/messages/getEditTooltipLines.js";
131
+ import { getDeletedOriginalText as or, getDeletedTooltipLines as ar } from "./hooks/messages/getDeletedOriginalText.js";
132
+ import { getStatus as sr, getStatusTitle as fr, statuses as lr } from "./functions/getStatusMessage.js";
133
+ import { formatTimestamp as dr } from "./functions/formatTimestamp.js";
134
+ import { playNotificationAudio as ur } from "./functions/playNotificationAudio.js";
135
+ import { insertDaySeparators as ir } from "./functions/insertDaySeparators.js";
136
+ import { sortByTimestamp as cr } from "./functions/sortByTimestamp.js";
137
+ import { getMessageClass as gr } from "./functions/getMessageClass.js";
138
+ import { createReactionHandlers as Sr } from "./functions/createReactionHandlers.js";
139
+ import { getChannelAccentColor as yr } from "./functions/getChannelAccentColor.js";
140
+ import { parseMarkdown as Ir } from "./functions/parseMarkdown.js";
141
+ import { safeMediaPlay as Ar, safeMediaPlayVoid as Pr } from "./functions/safeMediaPlay.js";
142
142
  export {
143
143
  Io as AdaptiveExtendedLayout,
144
144
  Je as AudioMessage,
@@ -165,7 +165,7 @@ export {
165
165
  ve as ChatTabs,
166
166
  Bo as ChatWrapper,
167
167
  C as CheckIcon,
168
- y as CloseButtonIcon,
168
+ h as CloseButtonIcon,
169
169
  Q as CommunicationPanel,
170
170
  ro as ConfirmDeleteMessage,
171
171
  R as ContactCRMIcon,
@@ -179,7 +179,7 @@ export {
179
179
  xt as EditTextMessage,
180
180
  m as EmbedPreview,
181
181
  w as ErrorStatusIcon,
182
- ho as ExtendedLayout,
182
+ yo as ExtendedLayout,
183
183
  co as Feed,
184
184
  z as FeedFoundItem,
185
185
  J as FeedFoundObjects,
@@ -193,7 +193,7 @@ export {
193
193
  Ct as ImageMessage,
194
194
  x as LinkPreview,
195
195
  T as MenuIcon,
196
- yt as MessageKeyboard,
196
+ ht as MessageKeyboard,
197
197
  Rt as MessageReactions,
198
198
  Tt as MessageStatusIndicator,
199
199
  ft as MissedCallMessage,
@@ -231,65 +231,67 @@ export {
231
231
  Yt as VideoMessage,
232
232
  ze as VideoRecorder,
233
233
  Ce as WABAAttachmentSection,
234
- ye as WABAQuickReplyButtons,
234
+ he as WABAQuickReplyButtons,
235
235
  Re as WABASeparatedQuickButtons,
236
236
  Te as WABATemplateSelector,
237
237
  E as WhatsAppIcon,
238
- Ya as buildEditPayload,
238
+ _a as buildEditPayload,
239
239
  ko as buildFilePreview,
240
- Ja as buildReplyPayload,
241
- ba as calculateMessageMenuPosition,
242
- gr as createReactionHandlers,
243
- va as findAppBoundsRect,
244
- lr as formatTimestamp,
240
+ Ya as buildReplyPayload,
241
+ Da as calculateMessageMenuPosition,
242
+ Qo as commitChatDraftToList,
243
+ Sr as createReactionHandlers,
244
+ Ea as findAppBoundsRect,
245
+ dr as formatTimestamp,
245
246
  wo as generatePreview,
246
- Sr as getChannelAccentColor,
247
- er as getDeletedOriginalText,
248
- tr as getDeletedTooltipLines,
249
- _a as getEditTooltipLines,
250
- cr as getMessageClass,
251
- ca as getMessageValidationReport,
252
- ya as getSidebarValidationReport,
253
- ar as getStatus,
254
- rr as getStatusTitle,
247
+ yr as getChannelAccentColor,
248
+ qo as getChatDraft,
249
+ or as getDeletedOriginalText,
250
+ ar as getDeletedTooltipLines,
251
+ er as getEditTooltipLines,
252
+ gr as getMessageClass,
253
+ ga as getMessageValidationReport,
254
+ Ra as getSidebarValidationReport,
255
+ sr as getStatus,
256
+ fr as getStatusTitle,
255
257
  Lo as getTypeFileByMime,
256
- ma as getValidationReport,
257
- Qa as hideEditPreview,
258
- Na as hideReplyPreview,
259
- ur as insertDaySeparators,
260
- hr as parseMarkdown,
261
- dr as playNotificationAudio,
262
- Ir as safeMediaPlay,
263
- Tr as safeMediaPlayVoid,
264
- qa as showEditPreview,
265
- Ha as showReplyPreview,
266
- ir as sortByTimestamp,
267
- sr as statuses,
258
+ xa as getValidationReport,
259
+ za as hideEditPreview,
260
+ Ka as hideReplyPreview,
261
+ ir as insertDaySeparators,
262
+ Ir as parseMarkdown,
263
+ ur as playNotificationAudio,
264
+ Ar as safeMediaPlay,
265
+ Pr as safeMediaPlayVoid,
266
+ Ga as showEditPreview,
267
+ Oa as showReplyPreview,
268
+ cr as sortByTimestamp,
269
+ lr as statuses,
268
270
  Uo as uploadFile,
269
- La as useChannelAccentColor,
270
- ia as useChatValidator,
271
- ra as useConfirmDeleteMessage,
271
+ Ua as useChannelAccentColor,
272
+ ca as useChatValidator,
273
+ fa as useConfirmDeleteMessage,
272
274
  No as useDelayDebouncedRef,
273
- Yo as useEmojiNative,
275
+ _o as useEmojiNative,
274
276
  Ko as useImmediateDebouncedRef,
275
- Ba as useMessageActions,
276
- Qo as useMessageDraft,
277
- wa as useMessageLinks,
278
- Ea as useMessageMenuActions,
279
- Ca as useMessageValidator,
280
- _o as useModalCreateChat,
281
- ea as useModalCreateChat2,
282
- oa as useModalCreateDialog,
283
- fa as useModalSelectUser2,
284
- pa as useModalVideoRecorder,
285
- zo as useSearchModel,
286
- Ia as useSidebarValidator,
287
- za as useStartEdit,
288
- Ka as useStartReply,
289
- Ua as useSubtextTooltip,
290
- Jo as useTheme,
291
- Aa as useValidation,
292
- ua as validateChats,
293
- Ma as validateMessages,
294
- ha as validateSidebarItems
277
+ ba as useMessageActions,
278
+ zo as useMessageDraft,
279
+ La as useMessageLinks,
280
+ wa as useMessageMenuActions,
281
+ ha as useMessageValidator,
282
+ ea as useModalCreateChat,
283
+ oa as useModalCreateChat2,
284
+ ra as useModalCreateDialog,
285
+ pa as useModalSelectUser2,
286
+ ma as useModalVideoRecorder,
287
+ Jo as useSearchModel,
288
+ Aa as useSidebarValidator,
289
+ Ja as useStartEdit,
290
+ Qa as useStartReply,
291
+ Na as useSubtextTooltip,
292
+ Yo as useTheme,
293
+ Ba as useValidation,
294
+ ia as validateChats,
295
+ Ca as validateMessages,
296
+ Ia as validateSidebarItems
295
297
  };
package/dist/locale/en.js CHANGED
@@ -3,6 +3,7 @@ const e = {
3
3
  "component.ChatFilter.InputPlaceholder": "Chat search",
4
4
  "layout.ChatWrapper.noSelectedChat": "Choose contact to start conversation",
5
5
  "component.ChatItem.typing": "typing",
6
+ "component.ChatItem.draft": "Draft:",
6
7
  "component.ChatInput.InputPlaceholder": "Type a message...",
7
8
  "component.ChatInput.TelegramInputPlaceholder": "Type a message Telegram or change channel",
8
9
  "component.ChatInput.WhatsappInputPlaceholder": "Type a message WhatsApp or change channel",
package/dist/locale/ru.js CHANGED
@@ -3,6 +3,7 @@ const e = {
3
3
  "component.ChatFilter.InputPlaceholder": "Поиск чата",
4
4
  "layout.ChatWrapper.noSelectedChat": "Выберите контакт для начала общения",
5
5
  "component.ChatItem.typing": "печатает",
6
+ "component.ChatItem.draft": "Черновик:",
6
7
  "component.ChatInput.InputPlaceholder": "Введите сообщение",
7
8
  "component.ChatInput.WhatsappInputPlaceholder": "Введите сообщение WhatsApp или смените канал",
8
9
  "component.ChatInput.TelegramInputPlaceholder": "Введите сообщение Telegram или смените канал",