@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.
- package/dist/chotto.css +1 -1
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +1 -1
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +202 -172
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +2 -2
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +216 -196
- package/dist/hooks/useMessageDraft.js +79 -52
- package/dist/index.js +100 -98
- package/dist/locale/en.js +1 -0
- package/dist/locale/ru.js +1 -0
- package/dist/node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js +106 -106
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/components/2_chatlist_elements/ChatItem/styles/types.d.ts +6 -0
- package/dist/types/hooks/useMessageDraft.d.ts +12 -0
- package/dist/types/locale/en.d.ts +1 -0
- package/dist/types/locale/ru.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,96 +1,123 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
const r =
|
|
3
|
-
function
|
|
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:
|
|
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(
|
|
13
|
-
const i = r.value.find((
|
|
12
|
+
function f(e) {
|
|
13
|
+
const i = r.value.find((c) => c.id === e);
|
|
14
14
|
if (i) return i;
|
|
15
|
-
const s =
|
|
15
|
+
const s = T(e);
|
|
16
16
|
return r.value.push(s), s;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
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-" +
|
|
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
|
|
24
|
-
const i =
|
|
25
|
-
const
|
|
26
|
-
return
|
|
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
|
-
|
|
50
|
+
S(
|
|
29
51
|
s,
|
|
30
|
-
(
|
|
31
|
-
const
|
|
32
|
-
|
|
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
|
|
37
|
-
const
|
|
38
|
-
return
|
|
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
|
|
41
|
-
r.value[
|
|
42
|
-
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:
|
|
73
|
+
isRecording: t.isRecording
|
|
49
74
|
};
|
|
50
|
-
}, o = (
|
|
51
|
-
const
|
|
52
|
-
r.value[
|
|
53
|
-
...
|
|
75
|
+
}, o = (t) => {
|
|
76
|
+
const n = d();
|
|
77
|
+
r.value[c()] = {
|
|
78
|
+
...n,
|
|
54
79
|
forceSend: !1,
|
|
55
|
-
...
|
|
56
|
-
id:
|
|
80
|
+
...t,
|
|
81
|
+
id: n.id
|
|
57
82
|
};
|
|
58
|
-
},
|
|
59
|
-
o({ text:
|
|
60
|
-
}, g = (
|
|
61
|
-
o({ file:
|
|
62
|
-
},
|
|
83
|
+
}, v = (t) => {
|
|
84
|
+
o({ text: t });
|
|
85
|
+
}, g = (t) => {
|
|
86
|
+
o({ file: t });
|
|
87
|
+
}, p = () => {
|
|
63
88
|
o({ file: void 0 });
|
|
64
|
-
},
|
|
65
|
-
o({ reply:
|
|
89
|
+
}, m = (t) => {
|
|
90
|
+
o({ reply: t, edit: void 0 });
|
|
66
91
|
}, y = () => {
|
|
67
92
|
o({ reply: void 0 });
|
|
68
|
-
},
|
|
69
|
-
o({ edit:
|
|
70
|
-
},
|
|
93
|
+
}, x = (t) => {
|
|
94
|
+
o({ edit: t, reply: void 0 });
|
|
95
|
+
}, M = () => {
|
|
71
96
|
o({ edit: void 0 });
|
|
72
97
|
};
|
|
73
|
-
function
|
|
98
|
+
function d() {
|
|
74
99
|
return f(s.value);
|
|
75
100
|
}
|
|
76
101
|
return {
|
|
77
|
-
getMessage:
|
|
102
|
+
getMessage: d,
|
|
78
103
|
resetMessage: u,
|
|
79
104
|
setMessageFile: g,
|
|
80
|
-
resetMessageFile:
|
|
81
|
-
setMessageText:
|
|
82
|
-
setReply:
|
|
105
|
+
resetMessageFile: p,
|
|
106
|
+
setMessageText: v,
|
|
107
|
+
setReply: m,
|
|
83
108
|
resetReply: y,
|
|
84
|
-
setEdit:
|
|
85
|
-
resetEdit:
|
|
86
|
-
setForceSendMessage: (
|
|
87
|
-
|
|
109
|
+
setEdit: x,
|
|
110
|
+
resetEdit: M,
|
|
111
|
+
setForceSendMessage: (t) => {
|
|
112
|
+
d().forceSend = t;
|
|
88
113
|
},
|
|
89
|
-
setRecordingMessage: (
|
|
90
|
-
|
|
114
|
+
setRecordingMessage: (t) => {
|
|
115
|
+
d().isRecording = t;
|
|
91
116
|
}
|
|
92
117
|
};
|
|
93
118
|
};
|
|
94
119
|
export {
|
|
95
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
104
|
-
import { useSearchModel as
|
|
105
|
-
import { useTheme as
|
|
106
|
-
import { useEmojiNative as
|
|
107
|
-
import { useModalCreateChat as
|
|
108
|
-
import { useModalCreateChat2 as
|
|
109
|
-
import { useModalCreateDialog as
|
|
110
|
-
import { useConfirmDeleteMessage as
|
|
111
|
-
import { useModalSelectUser2 as
|
|
112
|
-
import { useModalVideoRecorder as
|
|
113
|
-
import { getValidationReport as
|
|
114
|
-
import { useChatValidator as
|
|
115
|
-
import { getMessageValidationReport as
|
|
116
|
-
import { useMessageValidator as
|
|
117
|
-
import { getSidebarValidationReport as
|
|
118
|
-
import { useSidebarValidator as
|
|
119
|
-
import { useValidation as
|
|
120
|
-
import { useMessageActions as
|
|
121
|
-
import { calculateMessageMenuPosition as
|
|
122
|
-
import { useMessageMenuActions as
|
|
123
|
-
import { useMessageLinks as
|
|
124
|
-
import { useChannelAccentColor as
|
|
125
|
-
import { useSubtextTooltip as
|
|
126
|
-
import { hideReplyPreview as
|
|
127
|
-
import { hideEditPreview as
|
|
128
|
-
import { buildReplyPayload as
|
|
129
|
-
import { buildEditPayload as
|
|
130
|
-
import { getEditTooltipLines as
|
|
131
|
-
import { getDeletedOriginalText as
|
|
132
|
-
import { getStatus as
|
|
133
|
-
import { formatTimestamp as
|
|
134
|
-
import { playNotificationAudio as
|
|
135
|
-
import { insertDaySeparators as
|
|
136
|
-
import { sortByTimestamp as
|
|
137
|
-
import { getMessageClass as
|
|
138
|
-
import { createReactionHandlers as
|
|
139
|
-
import { getChannelAccentColor as
|
|
140
|
-
import { parseMarkdown as
|
|
141
|
-
import { safeMediaPlay as
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
234
|
+
he as WABAQuickReplyButtons,
|
|
235
235
|
Re as WABASeparatedQuickButtons,
|
|
236
236
|
Te as WABATemplateSelector,
|
|
237
237
|
E as WhatsAppIcon,
|
|
238
|
-
|
|
238
|
+
_a as buildEditPayload,
|
|
239
239
|
ko as buildFilePreview,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
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
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
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
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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
|
-
|
|
270
|
-
|
|
271
|
-
|
|
271
|
+
Ua as useChannelAccentColor,
|
|
272
|
+
ca as useChatValidator,
|
|
273
|
+
fa as useConfirmDeleteMessage,
|
|
272
274
|
No as useDelayDebouncedRef,
|
|
273
|
-
|
|
275
|
+
_o as useEmojiNative,
|
|
274
276
|
Ko as useImmediateDebouncedRef,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
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 или смените канал",
|