@mobilon-dev/chotto 0.3.40 → 0.3.42
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/LICENSE +21 -21
- package/README.md +392 -392
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +1 -1
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +2 -2
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +1 -1
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -4
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +3 -3
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +8 -8
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +2 -2
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +60 -52
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +14 -14
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +1 -1
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +1 -1
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -4
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +1 -1
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +2 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +2 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +1 -1
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +2 -2
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +1 -1
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +11 -11
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +2 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +1 -1
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +2 -2
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +5 -5
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +2 -2
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +2 -2
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +2 -2
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +1 -1
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +1 -1
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +2 -2
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +3 -3
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +2 -2
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +1 -1
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +9 -9
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +1 -1
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +1 -1
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +2 -2
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +4 -4
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +1 -1
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +1 -1
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +1 -1
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +2 -2
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +2 -2
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +109 -0
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -0
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -4
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +2 -2
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +1 -1
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +2 -2
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +2 -2
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +6 -6
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +1 -1
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +10 -10
- package/dist/components/2_modals/Modal/Modal.vue.js +1 -1
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +1 -1
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +1 -1
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +1 -1
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +1 -1
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +11 -11
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +1 -1
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +5 -5
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +43 -10
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +19 -0
- package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
- package/dist/components/3_compounds/Feed/Feed.vue2.js +82 -81
- package/dist/components/3_compounds/Feed/assets/chat-background.svg.js +3 -3
- package/dist/components/3_compounds/Feed/composables/useFeedComponents.js +10 -8
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +1 -1
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +2 -2
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +1 -1
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +2 -2
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +1 -1
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +5 -5
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +3 -3
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +1 -1
- package/dist/index.js +147 -145
- 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/apps/data/messages.d.ts +31 -0
- package/dist/types/components/1_atoms/Tooltip/Tooltip.vue.d.ts +9 -0
- package/dist/types/components/1_atoms/Tooltip/styles/types.d.ts +2 -0
- package/dist/types/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.d.ts +40 -0
- package/dist/types/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.d.ts +2 -0
- package/dist/types/components/2_feed_elements/MissedCallMessage/stories/MissedCallMessage.stories.d.ts +12 -0
- package/dist/types/components/2_feed_elements/types/messages.d.ts +10 -0
- package/dist/types/components/3_compounds/ChatList/ChatListHeader.vue.d.ts +6 -0
- package/dist/types/components/3_compounds/ChatList/icons/LogoIcon.vue.d.ts +2 -0
- package/dist/types/components/3_compounds/ChatList/styles/types.d.ts +44 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/main.d.ts +3 -0
- package/package.json +72 -72
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./ButtonContextMenu.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4c932a06"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./ContactContextMenu.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-9e8db691"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -58,7 +58,7 @@ const v = ["id", "data-theme"], x = { class: "context-menu__list" }, C = ["onCli
|
|
|
58
58
|
])
|
|
59
59
|
], 40, v));
|
|
60
60
|
}
|
|
61
|
-
}, N = /* @__PURE__ */ g(B, [["__scopeId", "data-v-
|
|
61
|
+
}, N = /* @__PURE__ */ g(B, [["__scopeId", "data-v-e3896a76"]]);
|
|
62
62
|
export {
|
|
63
63
|
N as default
|
|
64
64
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./EmbedPreview.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ e(o, [["__scopeId", "data-v-78e87f87"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./LinkPreview.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e9834d72"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as d, createCommentVNode as s, openBlock as o, createStaticVNode as a } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import l from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const i = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "messages-loading-indicator"
|
|
7
|
-
},
|
|
7
|
+
}, c = {
|
|
8
8
|
__name: "LoadingIndicator",
|
|
9
9
|
props: {
|
|
10
10
|
isLoading: {
|
|
@@ -12,12 +12,12 @@ const l = {
|
|
|
12
12
|
default: !1
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
return (r,
|
|
17
|
-
|
|
15
|
+
setup(t) {
|
|
16
|
+
return (r, e) => t.isLoading ? (o(), d("div", i, [...e[0] || (e[0] = [
|
|
17
|
+
a('<svg width="120px" height="116px" viewBox="-8 -8 120 116" xmlns="http://www.w3.org/2000/svg" data-v-eed64d67><ellipse class="dot dot-1" cx="51.75" cy="18.82" rx="12.18" ry="12.14" data-v-eed64d67></ellipse><ellipse class="dot dot-2" cx="84.42" cy="42.24" rx="12.18" ry="12.14" data-v-eed64d67></ellipse><ellipse class="dot dot-3" cx="72.00" cy="80.35" rx="12.18" ry="12.14" data-v-eed64d67></ellipse><ellipse class="dot dot-4" cx="31.51" cy="80.35" rx="12.18" ry="12.14" data-v-eed64d67></ellipse><ellipse class="dot dot-5" cx="18.86" cy="42.24" rx="12.18" ry="12.14" data-v-eed64d67></ellipse></svg>', 1)
|
|
18
18
|
])])) : s("", !0);
|
|
19
19
|
}
|
|
20
|
-
}, m = /* @__PURE__ */
|
|
20
|
+
}, m = /* @__PURE__ */ l(c, [["__scopeId", "data-v-eed64d67"]]);
|
|
21
21
|
export {
|
|
22
22
|
m as default
|
|
23
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Tooltip.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d13721a4"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as k, inject as N, ref as c, computed as A, onUnmounted as D, createElementBlock as d, openBlock as m, Fragment as R, createElementVNode as V, createBlock as E, renderSlot as I, Teleport as L, createVNode as M, Transition as $, withCtx as j, createCommentVNode as q, normalizeClass as z, unref as v, toDisplayString as F, nextTick as g } from "vue";
|
|
2
2
|
import "../../../hooks/useMessageDraft.js";
|
|
3
3
|
import "../../../hooks/useSearchModel.js";
|
|
4
|
-
import { useTheme as
|
|
4
|
+
import { useTheme as P } from "../../../hooks/useTheme.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
8
8
|
import "../../../functions/parseMarkdown.js";
|
|
9
|
-
const
|
|
9
|
+
const U = ["data-theme"], Y = /* @__PURE__ */ k({
|
|
10
10
|
__name: "Tooltip",
|
|
11
11
|
props: {
|
|
12
12
|
text: {
|
|
@@ -28,71 +28,79 @@ const F = ["data-theme"], W = /* @__PURE__ */ S({
|
|
|
28
28
|
autoShowDuration: {
|
|
29
29
|
type: Number,
|
|
30
30
|
default: 0
|
|
31
|
+
},
|
|
32
|
+
delay: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: 600
|
|
31
35
|
}
|
|
32
36
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
37
|
+
setup(y, { expose: w }) {
|
|
38
|
+
const x = N("chatAppId"), { getTheme: T } = P(x), p = c(), a = c(), n = c(!1), s = c(null), f = c(null), e = y, _ = A(() => ({
|
|
35
39
|
tooltip__text: !0,
|
|
36
40
|
[`tooltip--${e.position}`]: !0
|
|
37
|
-
})),
|
|
38
|
-
e.trigger !== "auto" && (
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
e.
|
|
52
|
-
|
|
41
|
+
})), B = () => {
|
|
42
|
+
e.trigger !== "auto" && (f.value && (clearTimeout(f.value), f.value = null), f.value = setTimeout(() => {
|
|
43
|
+
n.value = !0, g(() => {
|
|
44
|
+
if (p.value && a.value) {
|
|
45
|
+
const l = a.value, t = p.value.getBoundingClientRect(), o = a.value.getBoundingClientRect(), i = o.left < 0 ? o.left : 0, r = o.top < 0 ? o.top : 0, u = {
|
|
46
|
+
left: { top: t.top - (o.height - t.height) / 2 - r, left: (t == null ? void 0 : t.left) - o.width - i - e.offset },
|
|
47
|
+
right: { top: t.top - (o.height - t.height) / 2 - r, left: (t == null ? void 0 : t.left) + t.width - i + e.offset },
|
|
48
|
+
bottom: { top: (t == null ? void 0 : t.bottom) - r + e.offset, left: (t == null ? void 0 : t.left) - i },
|
|
49
|
+
top: { top: t.top - o.height - e.offset - r, left: (t == null ? void 0 : t.left) - i },
|
|
50
|
+
"bottom-left": { top: (t == null ? void 0 : t.bottom) - r + e.offset, left: (t == null ? void 0 : t.left) + t.width - o.width - i }
|
|
51
|
+
};
|
|
52
|
+
l.style.top = u[e.position].top + "px", l.style.left = u[e.position].left + "px";
|
|
53
|
+
}
|
|
54
|
+
}), f.value = null;
|
|
55
|
+
}, e.delay));
|
|
56
|
+
}, C = () => {
|
|
57
|
+
e.trigger !== "auto" && (f.value && (clearTimeout(f.value), f.value = null), n.value = !1, g(() => {
|
|
58
|
+
const l = v(a);
|
|
53
59
|
l && (l.style.top = "0", l.style.left = "0");
|
|
54
60
|
}));
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
if (p.value &&
|
|
58
|
-
const l =
|
|
59
|
-
left: { top: t.top - (o.height - t.height) / 2 -
|
|
60
|
-
right: { top: t.top - (o.height - t.height) / 2 -
|
|
61
|
-
bottom: { top: (t == null ? void 0 : t.bottom) -
|
|
62
|
-
top: { top: t.top - o.height - e.offset -
|
|
63
|
-
"bottom-left": { top: (t == null ? void 0 : t.bottom) -
|
|
61
|
+
}, S = () => {
|
|
62
|
+
h(), n.value = !0, g(() => {
|
|
63
|
+
if (p.value && a.value) {
|
|
64
|
+
const l = a.value, t = p.value.getBoundingClientRect(), o = a.value.getBoundingClientRect(), i = o.left < 0 ? o.left : 0, r = o.top < 0 ? o.top : 0, u = {
|
|
65
|
+
left: { top: t.top - (o.height - t.height) / 2 - r, left: (t == null ? void 0 : t.left) - o.width - i - e.offset },
|
|
66
|
+
right: { top: t.top - (o.height - t.height) / 2 - r, left: (t == null ? void 0 : t.left) + t.width - i + e.offset },
|
|
67
|
+
bottom: { top: (t == null ? void 0 : t.bottom) - r + e.offset, left: (t == null ? void 0 : t.left) - i },
|
|
68
|
+
top: { top: t.top - o.height - e.offset - r, left: (t == null ? void 0 : t.left) - i },
|
|
69
|
+
"bottom-left": { top: (t == null ? void 0 : t.bottom) - r + e.offset, left: (t == null ? void 0 : t.left) + t.width - o.width - i }
|
|
64
70
|
};
|
|
65
|
-
l.style.top =
|
|
71
|
+
l.style.top = u[e.position].top + "px", l.style.left = u[e.position].left + "px";
|
|
66
72
|
}
|
|
67
|
-
}), e.autoShowDuration > 0 && (
|
|
68
|
-
|
|
73
|
+
}), e.autoShowDuration > 0 && (s.value = setTimeout(() => {
|
|
74
|
+
n.value = !1;
|
|
69
75
|
}, e.autoShowDuration));
|
|
70
|
-
},
|
|
71
|
-
|
|
76
|
+
}, h = () => {
|
|
77
|
+
s.value && (clearTimeout(s.value), s.value = null);
|
|
72
78
|
};
|
|
73
|
-
return
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
return D(() => {
|
|
80
|
+
f.value && clearTimeout(f.value), h();
|
|
81
|
+
}), w({
|
|
82
|
+
startAutoShow: S,
|
|
83
|
+
clearAutoTimer: h
|
|
84
|
+
}), (l, t) => (m(), d(R, null, [
|
|
85
|
+
V("div", {
|
|
78
86
|
ref_key: "container",
|
|
79
87
|
ref: p,
|
|
80
88
|
class: "tooltip-wrapper",
|
|
81
|
-
onMouseover:
|
|
82
|
-
onMouseout:
|
|
89
|
+
onMouseover: B,
|
|
90
|
+
onMouseout: C
|
|
83
91
|
}, [
|
|
84
|
-
|
|
92
|
+
I(l.$slots, "default", {}, void 0, !0)
|
|
85
93
|
], 544),
|
|
86
|
-
(
|
|
87
|
-
|
|
88
|
-
default:
|
|
89
|
-
|
|
94
|
+
(m(), E(L, { to: "body" }, [
|
|
95
|
+
M($, null, {
|
|
96
|
+
default: j(() => [
|
|
97
|
+
n.value ? (m(), d("span", {
|
|
90
98
|
key: 0,
|
|
91
99
|
ref_key: "tooltip",
|
|
92
|
-
ref:
|
|
93
|
-
"data-theme":
|
|
94
|
-
class:
|
|
95
|
-
},
|
|
100
|
+
ref: a,
|
|
101
|
+
"data-theme": v(T)().theme ? v(T)().theme : "light",
|
|
102
|
+
class: z(_.value)
|
|
103
|
+
}, F(y.text), 11, U)) : q("", !0)
|
|
96
104
|
]),
|
|
97
105
|
_: 1
|
|
98
106
|
})
|
|
@@ -101,5 +109,5 @@ const F = ["data-theme"], W = /* @__PURE__ */ S({
|
|
|
101
109
|
}
|
|
102
110
|
});
|
|
103
111
|
export {
|
|
104
|
-
|
|
112
|
+
Y as default
|
|
105
113
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as d, computed as m, watch as He, onMounted as $e, onUnmounted as Oe, createElementBlock as l, openBlock as o, createElementVNode as u, createCommentVNode as f, Fragment as q, renderList as W, unref as e, normalizeClass as v, createBlock as h, createVNode as Be, withCtx as V, resolveDynamicComponent as
|
|
1
|
+
import { ref as d, computed as m, watch as He, onMounted as $e, onUnmounted as Oe, createElementBlock as l, openBlock as o, createElementVNode as u, createCommentVNode as f, Fragment as q, renderList as W, unref as e, normalizeClass as v, createBlock as h, createVNode as Be, withCtx as V, resolveDynamicComponent as C, normalizeStyle as re, toDisplayString as L, nextTick as Fe } from "vue";
|
|
2
2
|
import U from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
3
|
import { useCommunicationChannels as je } from "./composables/useCommunicationChannels.js";
|
|
4
4
|
import { useCommunicationMenu as Pe } from "./composables/useCommunicationMenu.js";
|
|
@@ -76,8 +76,8 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
76
76
|
isChannelActive: S,
|
|
77
77
|
getSingleChannelForType: ye,
|
|
78
78
|
getMenuChannelIconComponent: Q,
|
|
79
|
-
getMenuChannelIconComponentForChannelId:
|
|
80
|
-
getSingleMenuChannelIconComponent:
|
|
79
|
+
getMenuChannelIconComponentForChannelId: be,
|
|
80
|
+
getSingleMenuChannelIconComponent: Ce,
|
|
81
81
|
getAvailableChannels: ge
|
|
82
82
|
} = je({
|
|
83
83
|
channels: B,
|
|
@@ -195,8 +195,8 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
195
195
|
const n = ze(i.currentTarget);
|
|
196
196
|
n instanceof HTMLElement && ae(T, n);
|
|
197
197
|
}, Le = (i, n) => {
|
|
198
|
-
const
|
|
199
|
-
|
|
198
|
+
const b = Ne(i, n.currentTarget);
|
|
199
|
+
b instanceof HTMLElement && ae(T, b);
|
|
200
200
|
};
|
|
201
201
|
return He(() => r.selectedDialog, () => {
|
|
202
202
|
}, { deep: !0 }), $e(() => {
|
|
@@ -204,7 +204,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
204
204
|
}), Oe(() => {
|
|
205
205
|
window.removeEventListener("resize", j), document.removeEventListener("click", X), E();
|
|
206
206
|
}), (i, n) => {
|
|
207
|
-
var
|
|
207
|
+
var b, P, M, c;
|
|
208
208
|
return o(), l("div", {
|
|
209
209
|
ref_key: "panelRef",
|
|
210
210
|
ref: T,
|
|
@@ -241,7 +241,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
241
241
|
}, {
|
|
242
242
|
default: V(() => [
|
|
243
243
|
u("span", Qe, [
|
|
244
|
-
(o(), h(
|
|
244
|
+
(o(), h(C(t.component)))
|
|
245
245
|
])
|
|
246
246
|
]),
|
|
247
247
|
_: 2
|
|
@@ -255,7 +255,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
255
255
|
}, {
|
|
256
256
|
default: V(() => [
|
|
257
257
|
u("span", Xe, [
|
|
258
|
-
(o(), h(
|
|
258
|
+
(o(), h(C(t.component)))
|
|
259
259
|
])
|
|
260
260
|
]),
|
|
261
261
|
_: 2
|
|
@@ -269,7 +269,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
269
269
|
style: re({ width: e(Me) })
|
|
270
270
|
}, [
|
|
271
271
|
e(_) ? (o(), l("div", Ye, " Недавний ")) : f("", !0),
|
|
272
|
-
e(_) && ((
|
|
272
|
+
e(_) && ((b = r.recentAttributeChannels[e(s)]) != null && b.tooltip) ? (o(), h(U, {
|
|
273
273
|
key: 1,
|
|
274
274
|
text: (P = r.recentAttributeChannels[e(s)]) == null ? void 0 : P.tooltip,
|
|
275
275
|
position: "bottom",
|
|
@@ -294,7 +294,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
294
294
|
key: 0,
|
|
295
295
|
class: v(["channel-icon-small", { "menu-icon-grey": e(s) !== "sms" }])
|
|
296
296
|
}, [
|
|
297
|
-
(o(), h(
|
|
297
|
+
(o(), h(C(e(Q)(e(s)))))
|
|
298
298
|
], 2)) : f("", !0)
|
|
299
299
|
], 34)
|
|
300
300
|
];
|
|
@@ -317,7 +317,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
317
317
|
key: 0,
|
|
318
318
|
class: v(["channel-icon-small", { "menu-icon-grey": e(s) !== "sms" }])
|
|
319
319
|
}, [
|
|
320
|
-
(o(), h(
|
|
320
|
+
(o(), h(C(e(Q)(e(s)))))
|
|
321
321
|
], 2)) : f("", !0)
|
|
322
322
|
], 34)) : f("", !0),
|
|
323
323
|
e(_) && ((c = e(te)[e(s)]) != null && c.length) && e(s) !== "phone" ? (o(), l("div", ot)) : f("", !0),
|
|
@@ -338,7 +338,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
338
338
|
key: 1,
|
|
339
339
|
class: v(["channel-icon-small", { "menu-icon-grey": e(s) !== "sms" }])
|
|
340
340
|
}, [
|
|
341
|
-
(o(), h(
|
|
341
|
+
(o(), h(C(e(Ce)(e(s)))))
|
|
342
342
|
], 2)) : f("", !0)
|
|
343
343
|
])
|
|
344
344
|
], 42, st))), 128)),
|
|
@@ -360,7 +360,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
360
360
|
key: 0,
|
|
361
361
|
class: v(["sub-menu-icon", { "menu-icon-grey": e(he)(t.channelId) !== "sms" }])
|
|
362
362
|
}, [
|
|
363
|
-
(o(), h(
|
|
363
|
+
(o(), h(C(e(be)(t.channelId))))
|
|
364
364
|
], 2)) : f("", !0)
|
|
365
365
|
], 8, rt))), 128))
|
|
366
366
|
], 36)) : f("", !0)
|
|
@@ -368,7 +368,7 @@ const Ke = ["onClick", "onMouseenter"], Qe = { class: "channel-icon" }, Xe = { c
|
|
|
368
368
|
], 512);
|
|
369
369
|
};
|
|
370
370
|
}
|
|
371
|
-
}, Mt = /* @__PURE__ */ Je(dt, [["__scopeId", "data-v-
|
|
371
|
+
}, Mt = /* @__PURE__ */ Je(dt, [["__scopeId", "data-v-31679be9"]]);
|
|
372
372
|
export {
|
|
373
373
|
Mt as default
|
|
374
374
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FeedFoundItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dd915a68"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FeedFoundObjects.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-40f03478"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./FeedSearch.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-19449ec3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonCommandsSelector.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d6bc9f09"]]);
|
|
5
5
|
export {
|
|
6
6
|
c as default
|
|
7
7
|
};
|
|
@@ -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
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bce30537"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./ButtonTemplateSelector.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-478d6fd5"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FilePreview.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4d0cb6d1"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FileUploader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import a from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-85a6ae46"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inject as p, ref as c, watch as g, onMounted as h, onUnmounted as v, createElementBlock as y, openBlock as w, withKeys as x, normalizeClass as k, unref as E, toDisplayString as F, nextTick as
|
|
1
|
+
import { inject as p, ref as c, watch as g, onMounted as h, onUnmounted as v, createElementBlock as y, openBlock as w, withKeys as x, normalizeClass as k, unref as E, toDisplayString as F, nextTick as B } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const b = ["id"], I = {
|
|
5
5
|
__name: "PlaceholderComponent",
|
|
6
6
|
props: {
|
|
7
7
|
index: {
|
|
@@ -19,7 +19,7 @@ const _ = ["id"], I = {
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["edit"],
|
|
21
21
|
setup(l, { emit: u }) {
|
|
22
|
-
const i = p("chatAppId"), e = l, s = u, n = c(e.value),
|
|
22
|
+
const i = p("chatAppId"), e = l, s = u, n = c(e.value), r = c();
|
|
23
23
|
g(
|
|
24
24
|
() => e.isFilled,
|
|
25
25
|
() => {
|
|
@@ -34,13 +34,13 @@ const _ = ["id"], I = {
|
|
|
34
34
|
o.getRangeAt && o.rangeCount && o.getRangeAt(0).selectNodeContents(t.target);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
function
|
|
38
|
-
n.value =
|
|
37
|
+
function a() {
|
|
38
|
+
n.value = r.value.innerText.trim(), e.value != n.value && (n.value != "" ? s("edit", [n.value, e.index]) : e.isFilled ? B(() => {
|
|
39
39
|
n.value = e.value;
|
|
40
40
|
}) : n.value = "Заполнить");
|
|
41
41
|
}
|
|
42
42
|
function m(t) {
|
|
43
|
-
t.target.blur(),
|
|
43
|
+
t.target.blur(), a();
|
|
44
44
|
}
|
|
45
45
|
function d(t) {
|
|
46
46
|
t.target == document.getElementById("placeholder" + i + e.index) && (t.key === "Escape" && t.target.blur(), t.key == "Tab" && (t.target.blur(), document.getElementById("placeholder" + i + (e.index + 1)) && (t.preventDefault(), document.getElementById("placeholder" + i + (e.index + 1)).focus())));
|
|
@@ -52,15 +52,15 @@ const _ = ["id"], I = {
|
|
|
52
52
|
}), (t, o) => (w(), y("span", {
|
|
53
53
|
id: "placeholder" + E(i) + l.index,
|
|
54
54
|
ref_key: "refPlaceholder",
|
|
55
|
-
ref:
|
|
55
|
+
ref: r,
|
|
56
56
|
contenteditable: "",
|
|
57
57
|
class: k([{ filled: l.isFilled, empty: !l.isFilled }, "placeholder"]),
|
|
58
58
|
onKeydown: x(m, ["enter"]),
|
|
59
59
|
onFocus: f,
|
|
60
|
-
onBlur:
|
|
61
|
-
}, F(n.value), 43,
|
|
60
|
+
onBlur: a
|
|
61
|
+
}, F(n.value), 43, b));
|
|
62
62
|
}
|
|
63
|
-
}, K = /* @__PURE__ */
|
|
63
|
+
}, K = /* @__PURE__ */ _(I, [["__scopeId", "data-v-558891d3"]]);
|
|
64
64
|
export {
|
|
65
65
|
K as default
|
|
66
66
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./StickerPicker.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3384ea35"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -200,7 +200,7 @@ const ee = { class: "template-selector" }, te = ["id"], le = { style: { display:
|
|
|
200
200
|
], 10, te)
|
|
201
201
|
]));
|
|
202
202
|
}
|
|
203
|
-
}, Ae = /* @__PURE__ */ Y(Ie, [["__scopeId", "data-v-
|
|
203
|
+
}, Ae = /* @__PURE__ */ Y(Ie, [["__scopeId", "data-v-23622175"]]);
|
|
204
204
|
export {
|
|
205
205
|
Ae as default
|
|
206
206
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TextFormatToolbar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-496f7af0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -151,7 +151,7 @@ const ne = ["data-theme"], ie = ["title"], se = ["title"], re = ["title"], le =
|
|
|
151
151
|
width: "478.699",
|
|
152
152
|
height: "68.683"
|
|
153
153
|
}),
|
|
154
|
-
o("path", { d: `M303.383,0h-94L87.689,376.715h88.041l21.225-72.846H315.81l21.496,72.846h88.043L303.383,0z M216.38,235.187
|
|
154
|
+
o("path", { d: `M303.383,0h-94L87.689,376.715h88.041l21.225-72.846H315.81l21.496,72.846h88.043L303.383,0z M216.38,235.187
|
|
155
155
|
l39.103-133.203h1.544l39.362,133.203H216.38z` })
|
|
156
156
|
], -1)
|
|
157
157
|
])], 8, re),
|
|
@@ -190,11 +190,11 @@ const ne = ["data-theme"], ie = ["title"], se = ["title"], re = ["title"], le =
|
|
|
190
190
|
class: "",
|
|
191
191
|
fill: "currentColor"
|
|
192
192
|
}, [
|
|
193
|
-
o("path", { d: `M119.472,66.59C53.489,66.59,0,120.094,0,186.1c0,65.983,53.489,119.487,119.472,119.487
|
|
194
|
-
c0,0-0.578,44.392-36.642,108.284c-4.006,12.802,3.135,26.435,15.945,30.418c9.089,2.859,18.653,0.08,24.829-6.389
|
|
193
|
+
o("path", { d: `M119.472,66.59C53.489,66.59,0,120.094,0,186.1c0,65.983,53.489,119.487,119.472,119.487
|
|
194
|
+
c0,0-0.578,44.392-36.642,108.284c-4.006,12.802,3.135,26.435,15.945,30.418c9.089,2.859,18.653,0.08,24.829-6.389
|
|
195
195
|
c82.925-90.7,115.385-197.448,115.385-251.8C238.989,120.094,185.501,66.59,119.472,66.59z` }),
|
|
196
|
-
o("path", { d: `M392.482,66.59c-65.983,0-119.472,53.505-119.472,119.51c0,65.983,53.489,119.487,119.472,119.487
|
|
197
|
-
c0,0-0.578,44.392-36.642,108.284c-4.006,12.802,3.136,26.435,15.945,30.418c9.089,2.859,18.653,0.08,24.828-6.389
|
|
196
|
+
o("path", { d: `M392.482,66.59c-65.983,0-119.472,53.505-119.472,119.51c0,65.983,53.489,119.487,119.472,119.487
|
|
197
|
+
c0,0-0.578,44.392-36.642,108.284c-4.006,12.802,3.136,26.435,15.945,30.418c9.089,2.859,18.653,0.08,24.828-6.389
|
|
198
198
|
C479.539,347.2,512,240.452,512,186.1C512,120.094,458.511,66.59,392.482,66.59z` })
|
|
199
199
|
], -1)
|
|
200
200
|
])], 8, ue)
|
package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./WABAAttachmentSection.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-8c8d4b41"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./WABAQuickReplyButtons.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce7b10d6"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./WABASeparatedQuickButtons.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const c = /* @__PURE__ */ o(t, [["__scopeId", "data-v-76053c94"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js
CHANGED
|
@@ -275,7 +275,7 @@ const ge = { class: "template-selector" }, we = ["id"], ke = { style: { display:
|
|
|
275
275
|
], 10, we)
|
|
276
276
|
]));
|
|
277
277
|
}
|
|
278
|
-
}, at = /* @__PURE__ */ be(He, [["__scopeId", "data-v-
|
|
278
|
+
}, at = /* @__PURE__ */ be(He, [["__scopeId", "data-v-3a4405f2"]]);
|
|
279
279
|
export {
|
|
280
280
|
at as default
|
|
281
281
|
};
|