@mobilon-dev/chotto 0.3.98 → 0.3.99
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 +4 -29
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +61 -42
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +4 -47
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +82 -55
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +51 -86
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -32
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +28 -7
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +38 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -33
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +4 -37
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +21 -7
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +19 -30
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +4 -70
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +108 -76
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +13 -26
- package/dist/components/1_icons/CloseButtonIcon.vue.js +10 -16
- package/dist/components/1_icons/CloseIcon.vue.js +10 -16
- package/dist/components/1_icons/ContactCRMIcon.vue.js +10 -16
- package/dist/components/1_icons/MenuIcon.vue.js +10 -16
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
- package/dist/components/1_icons/SearchIcon.vue.js +17 -29
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +396 -546
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
- 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 +13 -19
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
- 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 +4 -74
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +42 -8
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -61
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +96 -79
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +51 -80
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -182
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +135 -25
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -78
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +95 -73
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +60 -34
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +33 -39
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +311 -134
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +67 -35
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +38 -72
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +57 -76
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +39 -19
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -458
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +471 -160
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -60
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +53 -36
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -250
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +233 -67
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -315
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +319 -98
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -155
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +212 -110
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +120 -36
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -75
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +63 -10
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -346
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +307 -73
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +269 -65
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +298 -76
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +18 -35
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
- package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -85
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +210 -149
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +163 -253
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +32 -50
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -172
- package/dist/components/3_compounds/Feed/Feed.vue2.js +257 -126
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
- 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 +18 -31
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +56 -85
- package/package.json +1 -1
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as a, openBlock as c, createVNode as t, createElementVNode as i, withModifiers as n } from "vue";
|
|
1
|
+
import o from "./BaseEditMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
|
|
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"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a627d0f3"]]);
|
|
20
5
|
export {
|
|
21
|
-
|
|
6
|
+
r as default
|
|
22
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as n } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as r, createElementBlock as c, openBlock as d, createVNode as n, createElementVNode as l, withModifiers as p } from "vue";
|
|
2
|
+
import g from "../EditTextMessage/EditTextMessage.vue.js";
|
|
3
|
+
import f from "../../1_icons/CloseIcon.vue.js";
|
|
4
|
+
const C = /* @__PURE__ */ r({
|
|
5
5
|
__name: "BaseEditMessage",
|
|
6
6
|
props: {
|
|
7
7
|
message: {
|
|
@@ -10,15 +10,25 @@ const u = /* @__PURE__ */ n({
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
emits: ["action", "edit", "reset"],
|
|
13
|
-
setup(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
setup(s, { emit: a }) {
|
|
14
|
+
const t = a, o = s, m = () => {
|
|
15
|
+
var e;
|
|
16
|
+
(e = o.message) != null && e.messageId && t("edit", o.message.messageId);
|
|
17
|
+
};
|
|
18
|
+
return (e, i) => (d(), c("div", {
|
|
19
|
+
class: "reply__container",
|
|
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
|
+
]));
|
|
20
30
|
}
|
|
21
31
|
});
|
|
22
32
|
export {
|
|
23
|
-
|
|
33
|
+
C as default
|
|
24
34
|
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
import
|
|
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";
|
|
1
|
+
import a from "./BaseReplyMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
|
|
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"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const p = /* @__PURE__ */ o(a, [["__scopeId", "data-v-55aa148d"]]);
|
|
27
5
|
export {
|
|
28
|
-
|
|
6
|
+
p as default
|
|
29
7
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as i } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as c, createElementBlock as d, openBlock as i, normalizeClass as f, createBlock as y, createElementVNode as u, resolveDynamicComponent as M, withModifiers as R, createVNode as k } from "vue";
|
|
2
|
+
import C from "../ReplyTextMessage/ReplyTextMessage.vue.js";
|
|
3
|
+
import v from "../ReplyImageMessage/ReplyImageMessage.vue.js";
|
|
4
|
+
import x from "../ReplyStickerMessage/ReplyStickerMessage.vue.js";
|
|
5
|
+
import B from "../ReplyAudioMessage/ReplyAudioMessage.vue.js";
|
|
6
|
+
import I from "../ReplyVideoMessage/ReplyVideoMessage.vue.js";
|
|
7
|
+
import V from "../ReplyFileMessage/ReplyFileMessage.vue.js";
|
|
8
|
+
import E from "../ReplyCallMessage/ReplyCallMessage.vue.js";
|
|
9
|
+
import N from "../../1_icons/CloseIcon.vue.js";
|
|
10
|
+
const T = /* @__PURE__ */ c({
|
|
11
11
|
__name: "BaseReplyMessage",
|
|
12
12
|
props: {
|
|
13
13
|
message: {
|
|
@@ -16,19 +16,18 @@ const A = /* @__PURE__ */ i({
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
emits: ["action", "reply", "reset"],
|
|
19
|
-
setup(
|
|
20
|
-
m()
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"message.
|
|
25
|
-
"message.
|
|
26
|
-
"message.
|
|
27
|
-
"message.
|
|
28
|
-
"message.
|
|
29
|
-
"message.
|
|
30
|
-
|
|
31
|
-
})[s], componentsClassMap: (s) => ({
|
|
19
|
+
setup(e, { emit: g }) {
|
|
20
|
+
const a = g, m = e, l = () => {
|
|
21
|
+
m.message && a("reply", m.message.messageId);
|
|
22
|
+
}, n = (s) => ({
|
|
23
|
+
"message.text": C,
|
|
24
|
+
"message.image": v,
|
|
25
|
+
"message.sticker": x,
|
|
26
|
+
"message.file": V,
|
|
27
|
+
"message.audio": B,
|
|
28
|
+
"message.video": I,
|
|
29
|
+
"message.call": E
|
|
30
|
+
})[s], p = (s) => ({
|
|
32
31
|
"message.text": "",
|
|
33
32
|
"message.image": "grid",
|
|
34
33
|
"message.sticker": "grid",
|
|
@@ -36,10 +35,24 @@ const A = /* @__PURE__ */ i({
|
|
|
36
35
|
"message.audio": "grid",
|
|
37
36
|
"message.video": "grid",
|
|
38
37
|
"message.call": "grid"
|
|
39
|
-
})[s]
|
|
40
|
-
return
|
|
38
|
+
})[s];
|
|
39
|
+
return (s, t) => {
|
|
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
|
+
};
|
|
41
54
|
}
|
|
42
55
|
});
|
|
43
56
|
export {
|
|
44
|
-
|
|
57
|
+
T as default
|
|
45
58
|
};
|
|
@@ -1,485 +1,7 @@
|
|
|
1
|
-
import
|
|
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";
|
|
1
|
+
import o from "./CallMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
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"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93cf25f4"]]);
|
|
483
5
|
export {
|
|
484
|
-
|
|
6
|
+
s as default
|
|
485
7
|
};
|