@mobilon-dev/chotto 0.3.97 → 0.3.98
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/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +29 -4
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +42 -61
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -38
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +33 -2
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +26 -13
- package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
- package/dist/components/1_icons/CloseIcon.vue.js +16 -10
- package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
- package/dist/components/1_icons/MenuIcon.vue.js +16 -10
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
- package/dist/components/1_icons/SearchIcon.vue.js +29 -17
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +546 -396
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +19 -13
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +74 -4
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +8 -42
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +61 -4
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +79 -96
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +80 -51
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +182 -4
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +25 -135
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +78 -4
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +73 -95
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +34 -60
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +39 -33
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +134 -311
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +52 -24
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +35 -67
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +72 -38
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +76 -57
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +19 -39
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +458 -4
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +160 -471
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +60 -4
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +36 -53
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +250 -4
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +67 -233
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +315 -4
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +98 -319
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +155 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +110 -212
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +36 -120
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +75 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -63
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +346 -4
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +73 -307
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +65 -269
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +76 -298
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +35 -18
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
- package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +85 -4
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +149 -210
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +253 -163
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +50 -32
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +172 -4
- package/dist/components/3_compounds/Feed/Feed.vue2.js +126 -257
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +31 -18
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +85 -56
- package/package.json +1 -1
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from "./BaseEditMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as a, openBlock as c, createVNode as t, createElementVNode as i, withModifiers as n } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
|
|
4
|
+
import d from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
function l(m, s, o, e, _, p) {
|
|
6
|
+
return c(), a("div", {
|
|
7
|
+
class: "reply__container",
|
|
8
|
+
onClick: e.onEdit
|
|
9
|
+
}, [
|
|
10
|
+
t(e.EditTextMessage, { message: o.message }, null, 8, ["message"]),
|
|
11
|
+
i("div", {
|
|
12
|
+
class: "reply__reset",
|
|
13
|
+
onClick: s[0] || (s[0] = n((f) => e.emit("reset"), ["stop"]))
|
|
14
|
+
}, [
|
|
15
|
+
t(e.CloseIcon)
|
|
16
|
+
])
|
|
17
|
+
]);
|
|
18
|
+
}
|
|
19
|
+
const M = /* @__PURE__ */ d(r, [["render", l], ["__scopeId", "data-v-b8f81292"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue"]]);
|
|
5
20
|
export {
|
|
6
|
-
|
|
21
|
+
M as default
|
|
7
22
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as n } from "vue";
|
|
2
|
+
import a from "../EditTextMessage/EditTextMessage.vue.js";
|
|
3
|
+
import p from "../../1_icons/CloseIcon.vue.js";
|
|
4
|
+
const u = /* @__PURE__ */ n({
|
|
5
5
|
__name: "BaseEditMessage",
|
|
6
6
|
props: {
|
|
7
7
|
message: {
|
|
@@ -10,25 +10,15 @@ const C = /* @__PURE__ */ r({
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
emits: ["action", "edit", "reset"],
|
|
13
|
-
setup(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
onClick: m
|
|
21
|
-
}, [
|
|
22
|
-
n(g, { message: s.message }, null, 8, ["message"]),
|
|
23
|
-
l("div", {
|
|
24
|
-
class: "reply__reset",
|
|
25
|
-
onClick: i[0] || (i[0] = p((u) => t("reset"), ["stop"]))
|
|
26
|
-
}, [
|
|
27
|
-
n(f)
|
|
28
|
-
])
|
|
29
|
-
]));
|
|
13
|
+
setup(i, { expose: r, emit: m }) {
|
|
14
|
+
r();
|
|
15
|
+
const t = m, e = i, s = { emit: t, props: e, onEdit: () => {
|
|
16
|
+
var o;
|
|
17
|
+
(o = e.message) != null && o.messageId && t("edit", e.message.messageId);
|
|
18
|
+
}, EditTextMessage: a, CloseIcon: p };
|
|
19
|
+
return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
|
|
30
20
|
}
|
|
31
21
|
});
|
|
32
22
|
export {
|
|
33
|
-
|
|
23
|
+
u as default
|
|
34
24
|
};
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from "./BaseReplyMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as c, openBlock as n, normalizeClass as l, createBlock as m, createElementVNode as i, resolveDynamicComponent as p, withModifiers as _, createVNode as d } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
|
|
4
|
+
import f from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
function y(g, s, o, e, v, B) {
|
|
6
|
+
var t, a;
|
|
7
|
+
return n(), c(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
class: l(["reply__container", e.componentsClassMap(((t = o.message) == null ? void 0 : t.type) || "")]),
|
|
11
|
+
onClick: e.onReply
|
|
12
|
+
},
|
|
13
|
+
[
|
|
14
|
+
(n(), m(p(e.componentsMap(((a = o.message) == null ? void 0 : a.type) || "")), { message: o.message }, null, 8, ["message"])),
|
|
15
|
+
i("div", {
|
|
16
|
+
class: "reply__reset",
|
|
17
|
+
onClick: s[0] || (s[0] = _((C) => e.emit("reset"), ["stop"]))
|
|
18
|
+
}, [
|
|
19
|
+
d(e.CloseIcon)
|
|
20
|
+
])
|
|
21
|
+
],
|
|
22
|
+
2
|
|
23
|
+
/* CLASS */
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
const h = /* @__PURE__ */ f(r, [["render", y], ["__scopeId", "data-v-ae99a117"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue"]]);
|
|
5
27
|
export {
|
|
6
|
-
|
|
28
|
+
h as default
|
|
7
29
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as i } from "vue";
|
|
2
|
+
import g from "../ReplyTextMessage/ReplyTextMessage.vue.js";
|
|
3
|
+
import n from "../ReplyImageMessage/ReplyImageMessage.vue.js";
|
|
4
|
+
import l from "../ReplyStickerMessage/ReplyStickerMessage.vue.js";
|
|
5
|
+
import c from "../ReplyAudioMessage/ReplyAudioMessage.vue.js";
|
|
6
|
+
import d from "../ReplyVideoMessage/ReplyVideoMessage.vue.js";
|
|
7
|
+
import f from "../ReplyFileMessage/ReplyFileMessage.vue.js";
|
|
8
|
+
import u from "../ReplyCallMessage/ReplyCallMessage.vue.js";
|
|
9
|
+
import y from "../../1_icons/CloseIcon.vue.js";
|
|
10
|
+
const A = /* @__PURE__ */ i({
|
|
11
11
|
__name: "BaseReplyMessage",
|
|
12
12
|
props: {
|
|
13
13
|
message: {
|
|
@@ -16,18 +16,19 @@ const T = /* @__PURE__ */ c({
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
emits: ["action", "reply", "reset"],
|
|
19
|
-
setup(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"message.
|
|
25
|
-
"message.
|
|
26
|
-
"message.
|
|
27
|
-
"message.
|
|
28
|
-
"message.
|
|
29
|
-
"message.
|
|
30
|
-
|
|
19
|
+
setup(a, { expose: m, emit: r }) {
|
|
20
|
+
m();
|
|
21
|
+
const o = r, e = a, t = { emit: o, props: e, onReply: () => {
|
|
22
|
+
e.message && o("reply", e.message.messageId);
|
|
23
|
+
}, componentsMap: (s) => ({
|
|
24
|
+
"message.text": g,
|
|
25
|
+
"message.image": n,
|
|
26
|
+
"message.sticker": l,
|
|
27
|
+
"message.file": f,
|
|
28
|
+
"message.audio": c,
|
|
29
|
+
"message.video": d,
|
|
30
|
+
"message.call": u
|
|
31
|
+
})[s], componentsClassMap: (s) => ({
|
|
31
32
|
"message.text": "",
|
|
32
33
|
"message.image": "grid",
|
|
33
34
|
"message.sticker": "grid",
|
|
@@ -35,24 +36,10 @@ const T = /* @__PURE__ */ c({
|
|
|
35
36
|
"message.audio": "grid",
|
|
36
37
|
"message.video": "grid",
|
|
37
38
|
"message.call": "grid"
|
|
38
|
-
})[s];
|
|
39
|
-
return (
|
|
40
|
-
var o, r;
|
|
41
|
-
return i(), d("div", {
|
|
42
|
-
class: f(["reply__container", p(((o = e.message) == null ? void 0 : o.type) || "")]),
|
|
43
|
-
onClick: l
|
|
44
|
-
}, [
|
|
45
|
-
(i(), y(M(n(((r = e.message) == null ? void 0 : r.type) || "")), { message: e.message }, null, 8, ["message"])),
|
|
46
|
-
u("div", {
|
|
47
|
-
class: "reply__reset",
|
|
48
|
-
onClick: t[0] || (t[0] = R((_) => a("reset"), ["stop"]))
|
|
49
|
-
}, [
|
|
50
|
-
k(N)
|
|
51
|
-
])
|
|
52
|
-
], 2);
|
|
53
|
-
};
|
|
39
|
+
})[s], CloseIcon: y };
|
|
40
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
54
41
|
}
|
|
55
42
|
});
|
|
56
43
|
export {
|
|
57
|
-
|
|
44
|
+
A as default
|
|
58
45
|
};
|
|
@@ -1,7 +1,485 @@
|
|
|
1
|
-
import
|
|
1
|
+
import v from "./CallMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as s, openBlock as a, normalizeClass as g, createCommentVNode as i, createElementVNode as l, createVNode as _, withCtx as r, createTextVNode as d, toDisplayString as o, Fragment as c, createBlock as m, withDirectives as C, vShow as h, vModelText as f, Transition as y, Teleport as k, normalizeStyle as x } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import M from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const u = ["messageId"], b = ["src"], T = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "call-message__subtext"
|
|
8
|
+
}, w = { class: "call-message__content" }, P = { class: "call-message__info-container" }, S = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "call-message__time"
|
|
11
|
+
}, p = { class: "call-message__header-container" }, V = { class: "call-message__title-wrapper" }, D = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "call-message__title"
|
|
14
|
+
}, E = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "call-message__title call-message__title--missed"
|
|
17
|
+
}, F = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "call-message__title"
|
|
20
|
+
}, L = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "call-message__title call-message__title--missed"
|
|
23
|
+
}, I = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "call-message__missed-info"
|
|
26
|
+
}, A = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "call-message__audio-wrapper"
|
|
29
|
+
}, B = ["src"], H = { class: "call-message__audio-progress" }, O = { class: "call-message__audio-progress-bar" }, R = ["max"], Z = { class: "call-message__audio-time" }, N = { class: "call-message__info-container" }, z = { class: "call-message__actions" }, U = { class: "call-message__time" }, j = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "call-message__expand-panel"
|
|
32
|
+
}, q = { class: "call-message__expand-inner" }, G = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "call-message__expand-placeholder"
|
|
35
|
+
}, J = ["innerHTML"], K = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "call-message__expand-plain"
|
|
38
|
+
}, Q = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "call-message__expand-placeholder"
|
|
41
|
+
}, W = ["innerHTML"], X = { class: "call-message__expand-close-wrap" };
|
|
42
|
+
function Y($, n, ee, e, ae, le) {
|
|
43
|
+
return a(), s("div", {
|
|
44
|
+
ref: "menuAnchorRef",
|
|
45
|
+
class: g([
|
|
46
|
+
e.getClass(e.message, e.elementType.message),
|
|
47
|
+
e.applyStyle(e.message)
|
|
48
|
+
]),
|
|
49
|
+
messageId: e.message.messageId,
|
|
50
|
+
onMouseenter: n[5] || (n[5] = (...t) => e.showMenu && e.showMenu(...t)),
|
|
51
|
+
onMouseleave: n[6] || (n[6] = (...t) => e.hideMenu && e.hideMenu(...t))
|
|
52
|
+
}, [
|
|
53
|
+
e.message.avatar ? (a(), s("img", {
|
|
54
|
+
key: 0,
|
|
55
|
+
class: "call-message__avatar",
|
|
56
|
+
src: e.message.avatar,
|
|
57
|
+
height: "32",
|
|
58
|
+
width: "32"
|
|
59
|
+
}, null, 8, b)) : i("v-if", !0),
|
|
60
|
+
e.message.subText ? (a(), s("p", T, [
|
|
61
|
+
_(e.Tooltip, {
|
|
62
|
+
text: e.subtextTooltipText,
|
|
63
|
+
position: e.message.position === "left" ? "right" : "left",
|
|
64
|
+
offset: 8
|
|
65
|
+
}, {
|
|
66
|
+
default: r(() => [
|
|
67
|
+
d(
|
|
68
|
+
o(e.message.subText),
|
|
69
|
+
1
|
|
70
|
+
/* TEXT */
|
|
71
|
+
)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
/* STABLE */
|
|
75
|
+
}, 8, ["text", "position"])
|
|
76
|
+
])) : i("v-if", !0),
|
|
77
|
+
l("div", w, [
|
|
78
|
+
n[10] || (n[10] = l(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
class: "call-message__bottom-shadow",
|
|
82
|
+
"aria-hidden": "true"
|
|
83
|
+
},
|
|
84
|
+
null,
|
|
85
|
+
-1
|
|
86
|
+
/* CACHED */
|
|
87
|
+
)),
|
|
88
|
+
e.message.deleted ? (a(), s(
|
|
89
|
+
c,
|
|
90
|
+
{ key: 0 },
|
|
91
|
+
[
|
|
92
|
+
_(e.DeletedMessageContent),
|
|
93
|
+
l("div", P, [
|
|
94
|
+
e.message.time ? (a(), s(
|
|
95
|
+
"span",
|
|
96
|
+
S,
|
|
97
|
+
o(e.message.time),
|
|
98
|
+
1
|
|
99
|
+
/* TEXT */
|
|
100
|
+
)) : i("v-if", !0)
|
|
101
|
+
])
|
|
102
|
+
],
|
|
103
|
+
64
|
|
104
|
+
/* STABLE_FRAGMENT */
|
|
105
|
+
)) : (a(), s(
|
|
106
|
+
c,
|
|
107
|
+
{ key: 1 },
|
|
108
|
+
[
|
|
109
|
+
l("div", p, [
|
|
110
|
+
l("div", V, [
|
|
111
|
+
e.message.direction === "incoming" || !e.message.direction ? (a(), m(e.IncomingCallIcon, {
|
|
112
|
+
key: 0,
|
|
113
|
+
class: "call-message__direction-icon",
|
|
114
|
+
color: e.callIconColor
|
|
115
|
+
}, null, 8, ["color"])) : (a(), m(e.OutgoingCallIcon, {
|
|
116
|
+
key: 1,
|
|
117
|
+
class: "call-message__direction-icon",
|
|
118
|
+
color: e.callIconColor
|
|
119
|
+
}, null, 8, ["color"])),
|
|
120
|
+
e.channelTitle ? (a(), m(e.Tooltip, {
|
|
121
|
+
key: 2,
|
|
122
|
+
text: e.channelTitle,
|
|
123
|
+
position: "top",
|
|
124
|
+
offset: 8
|
|
125
|
+
}, {
|
|
126
|
+
default: r(() => [
|
|
127
|
+
e.message.isMissedCall ? (a(), s("span", E, [
|
|
128
|
+
d(
|
|
129
|
+
o(e.callDirectionTitle) + " ",
|
|
130
|
+
1
|
|
131
|
+
/* TEXT */
|
|
132
|
+
),
|
|
133
|
+
e.message.direction !== "incoming" ? (a(), s(
|
|
134
|
+
c,
|
|
135
|
+
{ key: 0 },
|
|
136
|
+
[
|
|
137
|
+
d(" звонок ")
|
|
138
|
+
],
|
|
139
|
+
64
|
|
140
|
+
/* STABLE_FRAGMENT */
|
|
141
|
+
)) : (a(), s(
|
|
142
|
+
c,
|
|
143
|
+
{ key: 1 },
|
|
144
|
+
[
|
|
145
|
+
d(" звонок ")
|
|
146
|
+
],
|
|
147
|
+
64
|
|
148
|
+
/* STABLE_FRAGMENT */
|
|
149
|
+
))
|
|
150
|
+
])) : (a(), s(
|
|
151
|
+
"span",
|
|
152
|
+
D,
|
|
153
|
+
o(e.callDirectionTitle) + " звонок ",
|
|
154
|
+
1
|
|
155
|
+
/* TEXT */
|
|
156
|
+
))
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
/* STABLE */
|
|
160
|
+
}, 8, ["text"])) : (a(), s(
|
|
161
|
+
c,
|
|
162
|
+
{ key: 3 },
|
|
163
|
+
[
|
|
164
|
+
e.message.isMissedCall ? (a(), s("span", L, [
|
|
165
|
+
d(
|
|
166
|
+
o(e.callDirectionTitle) + " ",
|
|
167
|
+
1
|
|
168
|
+
/* TEXT */
|
|
169
|
+
),
|
|
170
|
+
e.message.direction !== "incoming" ? (a(), s(
|
|
171
|
+
c,
|
|
172
|
+
{ key: 0 },
|
|
173
|
+
[
|
|
174
|
+
d(" звонок ")
|
|
175
|
+
],
|
|
176
|
+
64
|
|
177
|
+
/* STABLE_FRAGMENT */
|
|
178
|
+
)) : (a(), s(
|
|
179
|
+
c,
|
|
180
|
+
{ key: 1 },
|
|
181
|
+
[
|
|
182
|
+
d(" звонок ")
|
|
183
|
+
],
|
|
184
|
+
64
|
|
185
|
+
/* STABLE_FRAGMENT */
|
|
186
|
+
))
|
|
187
|
+
])) : (a(), s(
|
|
188
|
+
"span",
|
|
189
|
+
F,
|
|
190
|
+
o(e.callDirectionTitle) + " звонок ",
|
|
191
|
+
1
|
|
192
|
+
/* TEXT */
|
|
193
|
+
))
|
|
194
|
+
],
|
|
195
|
+
64
|
|
196
|
+
/* STABLE_FRAGMENT */
|
|
197
|
+
))
|
|
198
|
+
]),
|
|
199
|
+
e.message.isMissedCall ? (a(), s(
|
|
200
|
+
"p",
|
|
201
|
+
I,
|
|
202
|
+
o(e.missedCallLabel) + ": " + o(e.message.callAttemptDuration),
|
|
203
|
+
1
|
|
204
|
+
/* TEXT */
|
|
205
|
+
)) : i("v-if", !0),
|
|
206
|
+
e.callRecordUrl && !e.message.isMissedCall ? (a(), s("div", A, [
|
|
207
|
+
l("audio", {
|
|
208
|
+
ref: "player",
|
|
209
|
+
src: e.lazyAudioSrc,
|
|
210
|
+
type: "audio/webm",
|
|
211
|
+
onLoadedmetadata: e.handleLoadedMetadata,
|
|
212
|
+
onTimeupdate: e.handleTimeUpdate,
|
|
213
|
+
onEnded: e.handleEnded,
|
|
214
|
+
onError: e.handleAudioError
|
|
215
|
+
}, null, 40, B),
|
|
216
|
+
C(l(
|
|
217
|
+
"button",
|
|
218
|
+
{
|
|
219
|
+
class: "call-message__audio-play",
|
|
220
|
+
type: "button",
|
|
221
|
+
onClick: e.togglePlayPause
|
|
222
|
+
},
|
|
223
|
+
[...n[7] || (n[7] = [
|
|
224
|
+
l(
|
|
225
|
+
"div",
|
|
226
|
+
{ class: "call-message__audio-play-icon" },
|
|
227
|
+
[
|
|
228
|
+
l("svg", {
|
|
229
|
+
width: "20",
|
|
230
|
+
height: "23",
|
|
231
|
+
viewBox: "0 0 20 23",
|
|
232
|
+
fill: "none",
|
|
233
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
234
|
+
}, [
|
|
235
|
+
l("path", {
|
|
236
|
+
d: "M18.99 12.9934L3.0825 22.2234C1.7325 23.0059 0 22.0584 0 20.4809V2.02087C0 0.44587 1.73 -0.50413 3.0825 0.28087L18.99 9.51087C19.2971 9.68618 19.5524 9.93959 19.7299 10.2454C19.9075 10.5512 20.001 10.8985 20.001 11.2521C20.001 11.6057 19.9075 11.953 19.7299 12.2589C19.5524 12.5647 19.2971 12.8181 18.99 12.9934Z",
|
|
237
|
+
fill: "#5F5F5F"
|
|
238
|
+
})
|
|
239
|
+
])
|
|
240
|
+
],
|
|
241
|
+
-1
|
|
242
|
+
/* CACHED */
|
|
243
|
+
)
|
|
244
|
+
])],
|
|
245
|
+
512
|
|
246
|
+
/* NEED_PATCH */
|
|
247
|
+
), [
|
|
248
|
+
[h, !e.isPlaying]
|
|
249
|
+
]),
|
|
250
|
+
C(l(
|
|
251
|
+
"button",
|
|
252
|
+
{
|
|
253
|
+
class: "call-message__audio-pause",
|
|
254
|
+
type: "button",
|
|
255
|
+
onClick: e.togglePlayPause
|
|
256
|
+
},
|
|
257
|
+
[...n[8] || (n[8] = [
|
|
258
|
+
l(
|
|
259
|
+
"div",
|
|
260
|
+
{ class: "call-message__audio-pause-icon" },
|
|
261
|
+
[
|
|
262
|
+
l("svg", {
|
|
263
|
+
width: "20",
|
|
264
|
+
height: "23",
|
|
265
|
+
viewBox: "0 0 20 23",
|
|
266
|
+
fill: "none",
|
|
267
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
268
|
+
}, [
|
|
269
|
+
l("path", {
|
|
270
|
+
d: "M3.75 0C4.74456 0 5.69839 0.395088 6.40165 1.09835C7.10491 1.80161 7.5 2.75544 7.5 3.75V18.75C7.5 19.7446 7.10491 20.6984 6.40165 21.4017C5.69839 22.1049 4.74456 22.5 3.75 22.5C2.75544 22.5 1.80161 22.1049 1.09835 21.4017C0.395088 20.6984 0 19.7446 0 18.75V3.75C0 2.75544 0.395088 1.80161 1.09835 1.09835C1.80161 0.395088 2.75544 0 3.75 0ZM16.25 0C17.2446 0 18.1984 0.395088 18.9017 1.09835C19.6049 1.80161 20 2.75544 20 3.75V18.75C20 19.7446 19.6049 20.6984 18.9017 21.4017C18.1984 22.1049 17.2446 22.5 16.25 22.5C15.2554 22.5 14.3016 22.1049 13.5983 21.4017C12.8951 20.6984 12.5 19.7446 12.5 18.75V3.75C12.5 2.75544 12.8951 1.80161 13.5983 1.09835C14.3016 0.395088 15.2554 0 16.25 0Z",
|
|
271
|
+
fill: "#5F5F5F"
|
|
272
|
+
})
|
|
273
|
+
])
|
|
274
|
+
],
|
|
275
|
+
-1
|
|
276
|
+
/* CACHED */
|
|
277
|
+
)
|
|
278
|
+
])],
|
|
279
|
+
512
|
|
280
|
+
/* NEED_PATCH */
|
|
281
|
+
), [
|
|
282
|
+
[h, e.isPlaying]
|
|
283
|
+
]),
|
|
284
|
+
l("div", H, [
|
|
285
|
+
l("div", O, [
|
|
286
|
+
C(l("input", {
|
|
287
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => e.currentTime = t),
|
|
288
|
+
class: "call-message__audio-slider",
|
|
289
|
+
type: "range",
|
|
290
|
+
min: 0,
|
|
291
|
+
max: e.audioDuration,
|
|
292
|
+
step: "0.1",
|
|
293
|
+
onMousedown: n[1] || (n[1] = (t) => e.isSeeking = !0),
|
|
294
|
+
onMouseup: e.handleSeekEnd,
|
|
295
|
+
onTouchstartPassive: n[2] || (n[2] = (t) => e.isSeeking = !0),
|
|
296
|
+
onTouchendPassive: e.handleSeekEnd
|
|
297
|
+
}, null, 40, R), [
|
|
298
|
+
[f, e.currentTime]
|
|
299
|
+
]),
|
|
300
|
+
l(
|
|
301
|
+
"button",
|
|
302
|
+
{
|
|
303
|
+
type: "button",
|
|
304
|
+
class: "call-message__audio-speed-btn",
|
|
305
|
+
onClick: e.cycleSpeed
|
|
306
|
+
},
|
|
307
|
+
o(e.currentSpeed.text),
|
|
308
|
+
1
|
|
309
|
+
/* TEXT */
|
|
310
|
+
)
|
|
311
|
+
]),
|
|
312
|
+
l("div", Z, [
|
|
313
|
+
l(
|
|
314
|
+
"span",
|
|
315
|
+
null,
|
|
316
|
+
o(e.formatCurrentTime),
|
|
317
|
+
1
|
|
318
|
+
/* TEXT */
|
|
319
|
+
),
|
|
320
|
+
l(
|
|
321
|
+
"span",
|
|
322
|
+
null,
|
|
323
|
+
o(e.formatDuration),
|
|
324
|
+
1
|
|
325
|
+
/* TEXT */
|
|
326
|
+
)
|
|
327
|
+
])
|
|
328
|
+
])
|
|
329
|
+
])) : i("v-if", !0)
|
|
330
|
+
]),
|
|
331
|
+
l("div", N, [
|
|
332
|
+
l("div", z, [
|
|
333
|
+
!e.message.isMissedCall && (e.hasTextOption || e.hasSummaryOption) ? (a(), s(
|
|
334
|
+
c,
|
|
335
|
+
{ key: 0 },
|
|
336
|
+
[
|
|
337
|
+
e.hasTextOption ? (a(), s(
|
|
338
|
+
"button",
|
|
339
|
+
{
|
|
340
|
+
key: 0,
|
|
341
|
+
class: g([
|
|
342
|
+
"call-message__call-button",
|
|
343
|
+
{ "call-message__call-button--active": e.expandedPanel === "text" }
|
|
344
|
+
]),
|
|
345
|
+
type: "button",
|
|
346
|
+
onClick: e.handleText
|
|
347
|
+
},
|
|
348
|
+
" Текст ",
|
|
349
|
+
2
|
|
350
|
+
/* CLASS */
|
|
351
|
+
)) : i("v-if", !0),
|
|
352
|
+
e.hasSummaryOption ? (a(), s(
|
|
353
|
+
"button",
|
|
354
|
+
{
|
|
355
|
+
key: 1,
|
|
356
|
+
class: g([
|
|
357
|
+
"call-message__call-button",
|
|
358
|
+
{ "call-message__call-button--active": e.expandedPanel === "summary" }
|
|
359
|
+
]),
|
|
360
|
+
type: "button",
|
|
361
|
+
onClick: e.handleResume
|
|
362
|
+
},
|
|
363
|
+
" Резюме ",
|
|
364
|
+
2
|
|
365
|
+
/* CLASS */
|
|
366
|
+
)) : i("v-if", !0)
|
|
367
|
+
],
|
|
368
|
+
64
|
|
369
|
+
/* STABLE_FRAGMENT */
|
|
370
|
+
)) : i("v-if", !0),
|
|
371
|
+
l("button", {
|
|
372
|
+
class: "call-message__call-button",
|
|
373
|
+
type: "button",
|
|
374
|
+
onClick: e.handleCall
|
|
375
|
+
}, " Перезвонить ")
|
|
376
|
+
]),
|
|
377
|
+
l(
|
|
378
|
+
"span",
|
|
379
|
+
U,
|
|
380
|
+
o(e.message.time),
|
|
381
|
+
1
|
|
382
|
+
/* TEXT */
|
|
383
|
+
)
|
|
384
|
+
]),
|
|
385
|
+
_(y, { name: "call-message-expand" }, {
|
|
386
|
+
default: r(() => [
|
|
387
|
+
e.isExpandedPanelVisible ? (a(), s("div", j, [
|
|
388
|
+
l("div", q, [
|
|
389
|
+
e.expandedPanel === "text" ? (a(), s(
|
|
390
|
+
c,
|
|
391
|
+
{ key: 0 },
|
|
392
|
+
[
|
|
393
|
+
e.isTranscriptReady ? (a(), s("p", {
|
|
394
|
+
key: 1,
|
|
395
|
+
class: "call-message__expand-plain",
|
|
396
|
+
innerHTML: e.transcriptHtml
|
|
397
|
+
}, null, 8, J)) : (a(), s(
|
|
398
|
+
"p",
|
|
399
|
+
G,
|
|
400
|
+
o(e.transcriptPlaceholderText),
|
|
401
|
+
1
|
|
402
|
+
/* TEXT */
|
|
403
|
+
))
|
|
404
|
+
],
|
|
405
|
+
64
|
|
406
|
+
/* STABLE_FRAGMENT */
|
|
407
|
+
)) : (a(), s("p", K, [
|
|
408
|
+
e.isCallSummaryReady ? (a(), s("span", {
|
|
409
|
+
key: 1,
|
|
410
|
+
innerHTML: e.summaryHtml
|
|
411
|
+
}, null, 8, W)) : (a(), s(
|
|
412
|
+
"span",
|
|
413
|
+
Q,
|
|
414
|
+
o(e.summaryPlaceholderText),
|
|
415
|
+
1
|
|
416
|
+
/* TEXT */
|
|
417
|
+
))
|
|
418
|
+
]))
|
|
419
|
+
]),
|
|
420
|
+
l("div", X, [
|
|
421
|
+
l("button", {
|
|
422
|
+
type: "button",
|
|
423
|
+
class: "call-message__expand-close",
|
|
424
|
+
onClick: n[3] || (n[3] = (t) => e.expandedPanel = null)
|
|
425
|
+
}, " Закрыть ")
|
|
426
|
+
])
|
|
427
|
+
])) : i("v-if", !0)
|
|
428
|
+
]),
|
|
429
|
+
_: 1
|
|
430
|
+
/* STABLE */
|
|
431
|
+
}),
|
|
432
|
+
e.buttonMenuVisible && e.menuActions.length ? (a(), s("button", {
|
|
433
|
+
key: 0,
|
|
434
|
+
class: "call-message__menu-button",
|
|
435
|
+
onClick: n[4] || (n[4] = (...t) => e.toggleMenu && e.toggleMenu(...t))
|
|
436
|
+
}, [...n[9] || (n[9] = [
|
|
437
|
+
l(
|
|
438
|
+
"svg",
|
|
439
|
+
{
|
|
440
|
+
width: "4",
|
|
441
|
+
height: "17",
|
|
442
|
+
viewBox: "0 0 4 17",
|
|
443
|
+
fill: "none",
|
|
444
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
445
|
+
},
|
|
446
|
+
[
|
|
447
|
+
l("path", {
|
|
448
|
+
d: "M3.75 14.375C3.75 14.8723 3.55246 15.3492 3.20083 15.7008C2.84919 16.0525 2.37228 16.25 1.875 16.25C1.37772 16.25 0.900805 16.0525 0.549175 15.7008C0.197544 15.3492 0 14.8723 0 14.375C0 13.8777 0.197544 13.4008 0.549175 13.0492C0.900805 12.6975 1.37772 12.5 1.875 12.5C2.37228 12.5 2.84919 12.6975 3.20083 13.0492C3.55246 13.4008 3.75 13.8777 3.75 14.375ZM3.75 8.125C3.75 8.62228 3.55246 9.09919 3.20083 9.45083C2.84919 9.80246 2.37228 10 1.875 10C1.37772 10 0.900805 9.80246 0.549175 9.45083C0.197544 9.09919 0 8.62228 0 8.125C0 7.62772 0.197544 7.15081 0.549175 6.79917C0.900805 6.44754 1.37772 6.25 1.875 6.25C2.37228 6.25 2.84919 6.44754 3.20083 6.79917C3.55246 7.15081 3.75 7.62772 3.75 8.125ZM3.75 1.875C3.75 2.37228 3.55246 2.84919 3.20083 3.20083C2.84919 3.55246 2.37228 3.75 1.875 3.75C1.37772 3.75 0.900805 3.55246 0.549175 3.20083C0.197544 2.84919 0 2.37228 0 1.875C0 1.37772 0.197544 0.900806 0.549175 0.549175C0.900805 0.197544 1.37772 0 1.875 0C2.37228 0 2.84919 0.197544 3.20083 0.549175C3.55246 0.900806 3.75 1.37772 3.75 1.875Z",
|
|
449
|
+
fill: "#5F5F5F"
|
|
450
|
+
})
|
|
451
|
+
],
|
|
452
|
+
-1
|
|
453
|
+
/* CACHED */
|
|
454
|
+
)
|
|
455
|
+
])])) : i("v-if", !0),
|
|
456
|
+
(a(), m(k, { to: "body" }, [
|
|
457
|
+
_(y, null, {
|
|
458
|
+
default: r(() => [
|
|
459
|
+
e.isOpenMenu && e.menuActions.length ? (a(), m(e.ContextMenu, {
|
|
460
|
+
key: 0,
|
|
461
|
+
ref: "menuRef",
|
|
462
|
+
class: "call-message__context-menu message-actions-menu",
|
|
463
|
+
style: x(e.menuStyle),
|
|
464
|
+
"data-theme": e.menuTheme,
|
|
465
|
+
actions: e.menuActions,
|
|
466
|
+
onClick: e.handleActionClick,
|
|
467
|
+
onMouseenter: e.onMenuMouseEnter,
|
|
468
|
+
onMouseleave: e.onMenuMouseLeave
|
|
469
|
+
}, null, 8, ["style", "data-theme", "actions", "onMouseenter", "onMouseleave"])) : i("v-if", !0)
|
|
470
|
+
]),
|
|
471
|
+
_: 1
|
|
472
|
+
/* STABLE */
|
|
473
|
+
})
|
|
474
|
+
]))
|
|
475
|
+
],
|
|
476
|
+
64
|
|
477
|
+
/* STABLE_FRAGMENT */
|
|
478
|
+
))
|
|
479
|
+
])
|
|
480
|
+
], 42, u);
|
|
481
|
+
}
|
|
482
|
+
const te = /* @__PURE__ */ M(v, [["render", Y], ["__scopeId", "data-v-bcfc98b6"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/CallMessage/CallMessage.vue"]]);
|
|
5
483
|
export {
|
|
6
|
-
|
|
484
|
+
te as default
|
|
7
485
|
};
|