@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,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useMessageActions as
|
|
3
|
-
import { useMessageMenuActions as
|
|
1
|
+
import { defineComponent as E, inject as O, createElementBlock as i, openBlock as o, unref as e, normalizeClass as y, createCommentVNode as l, createElementVNode as a, normalizeStyle as M, createVNode as r, withCtx as x, createTextVNode as q, toDisplayString as c, Fragment as _, createBlock as b, Teleport as z, Transition as F } from "vue";
|
|
2
|
+
import { useMessageActions as L } from "../../../hooks/messages/useMessageActions.js";
|
|
3
|
+
import { useMessageMenuActions as P } from "../../../hooks/messages/useMessageMenuActions.js";
|
|
4
4
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
5
5
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
6
6
|
import "../../../functions/parseMarkdown.js";
|
|
7
7
|
import "../../../hooks/useEmojiNative.js";
|
|
8
|
-
import { getMessageClass as
|
|
9
|
-
import { useSubtextTooltip as
|
|
10
|
-
import { useStartReply as
|
|
8
|
+
import { getMessageClass as G } from "../../../functions/getMessageClass.js";
|
|
9
|
+
import { useSubtextTooltip as H } from "../../../hooks/messages/useSubtextTooltip.js";
|
|
10
|
+
import { useStartReply as J } from "../../../hooks/messages/useStartReply.js";
|
|
11
11
|
import "../../../hooks/useMessageDraft.js";
|
|
12
12
|
import "../../../hooks/useSearchModel.js";
|
|
13
13
|
import "../../../hooks/useTheme.js";
|
|
@@ -15,12 +15,18 @@ import "../../../hooks/useTheme.js";
|
|
|
15
15
|
/* empty css */
|
|
16
16
|
import "../../../locale/useLocale.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { buildReplyPayload as
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
const
|
|
18
|
+
import { buildReplyPayload as K } from "../../../hooks/messages/buildReplyPayload.js";
|
|
19
|
+
import Q from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
20
|
+
import U from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
21
|
+
import W from "../DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
22
|
+
import X from "./icons/MissedCallIcon.vue.js";
|
|
23
|
+
const Y = ["messageId"], Z = ["src"], $ = {
|
|
24
|
+
key: 1,
|
|
25
|
+
class: "missed-call-message__subtext"
|
|
26
|
+
}, ee = { class: "missed-call-message__info-container" }, se = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "missed-call-message__time"
|
|
29
|
+
}, te = { class: "missed-call-message__main-content" }, oe = { class: "missed-call-message__icon-wrapper" }, ae = { class: "missed-call-message__info-container" }, ie = { class: "missed-call-message__time" }, Se = /* @__PURE__ */ E({
|
|
24
30
|
__name: "MissedCallMessage",
|
|
25
31
|
props: {
|
|
26
32
|
message: {
|
|
@@ -38,31 +44,113 @@ const re = /* @__PURE__ */ h({
|
|
|
38
44
|
}
|
|
39
45
|
},
|
|
40
46
|
emits: ["action", "reply"],
|
|
41
|
-
setup(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
menuTheme: M,
|
|
47
|
+
setup(s, { emit: h }) {
|
|
48
|
+
const k = h, { menuActions: u } = P(() => n.message), v = O("chatAppId"), { startReply: C } = J(v || ""), n = s, {
|
|
49
|
+
isOpenMenu: T,
|
|
50
|
+
buttonMenuVisible: R,
|
|
51
|
+
menuAnchorRef: A,
|
|
52
|
+
menuRef: S,
|
|
53
|
+
menuStyle: w,
|
|
54
|
+
menuTheme: I,
|
|
50
55
|
showMenu: d,
|
|
51
56
|
hideMenu: g,
|
|
52
|
-
toggleMenu:
|
|
53
|
-
onMenuMouseEnter:
|
|
54
|
-
onMenuMouseLeave:
|
|
55
|
-
clickAction:
|
|
56
|
-
} =
|
|
57
|
-
onReply: () =>
|
|
58
|
-
}),
|
|
59
|
-
function
|
|
60
|
-
return
|
|
57
|
+
toggleMenu: p,
|
|
58
|
+
onMenuMouseEnter: V,
|
|
59
|
+
onMenuMouseLeave: D,
|
|
60
|
+
clickAction: N
|
|
61
|
+
} = L(n.message, k, {
|
|
62
|
+
onReply: () => C(K(n.message, "message.call"))
|
|
63
|
+
}), j = H(() => n.message, () => n.subtextTooltipData);
|
|
64
|
+
function B(f) {
|
|
65
|
+
return G(f.position, "missed-call-message");
|
|
61
66
|
}
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
return (f, t) => (o(), i("div", {
|
|
68
|
+
ref_key: "menuAnchorRef",
|
|
69
|
+
ref: A,
|
|
70
|
+
class: y([
|
|
71
|
+
B(s.message),
|
|
72
|
+
s.applyStyle(s.message)
|
|
73
|
+
]),
|
|
74
|
+
messageId: s.message.messageId,
|
|
75
|
+
onMouseenter: t[1] || (t[1] = //@ts-ignore
|
|
76
|
+
(...m) => e(d) && e(d)(...m)),
|
|
77
|
+
onMouseleave: t[2] || (t[2] = //@ts-ignore
|
|
78
|
+
(...m) => e(g) && e(g)(...m))
|
|
79
|
+
}, [
|
|
80
|
+
s.message.avatar ? (o(), i("img", {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "missed-call-message__avatar",
|
|
83
|
+
src: s.message.avatar,
|
|
84
|
+
height: "32",
|
|
85
|
+
width: "32",
|
|
86
|
+
style: M({ gridRow: s.message.subText ? "2" : "1" })
|
|
87
|
+
}, null, 12, Z)) : l("", !0),
|
|
88
|
+
s.message.subText ? (o(), i("p", $, [
|
|
89
|
+
r(U, {
|
|
90
|
+
text: e(j),
|
|
91
|
+
position: "right",
|
|
92
|
+
offset: 8
|
|
93
|
+
}, {
|
|
94
|
+
default: x(() => [
|
|
95
|
+
q(c(s.message.subText), 1)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 8, ["text"])
|
|
99
|
+
])) : l("", !0),
|
|
100
|
+
a("div", {
|
|
101
|
+
class: y(["missed-call-message__content", { "is-first": !0 }])
|
|
102
|
+
}, [
|
|
103
|
+
t[5] || (t[5] = a("div", {
|
|
104
|
+
class: "missed-call-message__bottom-shadow",
|
|
105
|
+
"aria-hidden": "true"
|
|
106
|
+
}, null, -1)),
|
|
107
|
+
s.message.deleted ? (o(), i(_, { key: 0 }, [
|
|
108
|
+
r(W),
|
|
109
|
+
a("div", ee, [
|
|
110
|
+
s.message.time ? (o(), i("span", se, c(s.message.time), 1)) : l("", !0)
|
|
111
|
+
])
|
|
112
|
+
], 64)) : (o(), i(_, { key: 1 }, [
|
|
113
|
+
a("div", te, [
|
|
114
|
+
a("div", oe, [
|
|
115
|
+
r(X, { class: "missed-call-message__icon" })
|
|
116
|
+
]),
|
|
117
|
+
t[3] || (t[3] = a("p", { class: "missed-call-message__text" }, " Пропущенный звонок ", -1))
|
|
118
|
+
]),
|
|
119
|
+
a("div", ae, [
|
|
120
|
+
a("span", ie, c(s.message.time), 1)
|
|
121
|
+
]),
|
|
122
|
+
e(R) && e(u).length ? (o(), i("button", {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: "missed-call-message__menu-button",
|
|
125
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
|
126
|
+
(...m) => e(p) && e(p)(...m))
|
|
127
|
+
}, [...t[4] || (t[4] = [
|
|
128
|
+
a("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
|
129
|
+
])])) : l("", !0),
|
|
130
|
+
(o(), b(z, { to: "body" }, [
|
|
131
|
+
r(F, null, {
|
|
132
|
+
default: x(() => [
|
|
133
|
+
e(T) && e(u).length ? (o(), b(Q, {
|
|
134
|
+
key: 0,
|
|
135
|
+
ref_key: "menuRef",
|
|
136
|
+
ref: S,
|
|
137
|
+
class: "missed-call-message__context-menu message-actions-menu",
|
|
138
|
+
style: M(e(w)),
|
|
139
|
+
"data-theme": e(I),
|
|
140
|
+
actions: e(u),
|
|
141
|
+
onClick: e(N),
|
|
142
|
+
onMouseenter: e(V),
|
|
143
|
+
onMouseleave: e(D)
|
|
144
|
+
}, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : l("", !0)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
})
|
|
148
|
+
]))
|
|
149
|
+
], 64))
|
|
150
|
+
])
|
|
151
|
+
], 42, Y));
|
|
64
152
|
}
|
|
65
153
|
});
|
|
66
154
|
export {
|
|
67
|
-
|
|
155
|
+
Se as default
|
|
68
156
|
};
|
|
@@ -1,46 +1,34 @@
|
|
|
1
|
-
import { createElementBlock as t, openBlock as l, createElementVNode as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as t, openBlock as l, createElementVNode as C } from "vue";
|
|
2
|
+
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const o = {}, n = {
|
|
4
4
|
width: "20",
|
|
5
5
|
height: "20",
|
|
6
6
|
viewBox: "0 0 20 20",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function c
|
|
11
|
-
return l(), t("svg",
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
function r(c, e) {
|
|
11
|
+
return l(), t("svg", n, [...e[0] || (e[0] = [
|
|
12
|
+
C("g", { "clip-path": "url(#clip0_8206_19)" }, [
|
|
13
|
+
C("path", {
|
|
14
|
+
"fill-rule": "evenodd",
|
|
15
|
+
"clip-rule": "evenodd",
|
|
16
|
+
d: "M2.35684 0.639867C2.57556 0.421478 2.83819 0.252065 3.12733 0.142855C3.41648 0.0336443 3.72553 -0.0128694 4.03401 0.00639586C4.34249 0.0256611 4.64336 0.110265 4.91667 0.254602C5.18998 0.398939 5.42949 0.599712 5.61934 0.843617L7.86309 3.72612C8.27434 4.25487 8.41934 4.94362 8.25684 5.59362L7.57309 8.33112C7.53774 8.4729 7.53965 8.62142 7.57863 8.76225C7.61762 8.90309 7.69236 9.03144 7.79559 9.13487L10.8668 12.2061C10.9704 12.3096 11.099 12.3844 11.24 12.4234C11.3811 12.4624 11.5299 12.4642 11.6718 12.4286L14.4081 11.7449C14.7289 11.6647 15.0637 11.6584 15.3872 11.7267C15.7107 11.7949 16.0145 11.9357 16.2756 12.1386L19.1581 14.3811C20.1943 15.1874 20.2893 16.7186 19.3618 17.6449L18.0693 18.9374C17.1443 19.8624 15.7618 20.2686 14.4731 19.8149C11.1746 18.6543 8.17968 16.7659 5.71059 14.2899C3.2347 11.8211 1.34635 8.82669 0.185589 5.52862C-0.266911 4.24112 0.139339 2.85737 1.06434 1.93237L2.35684 0.639867ZM19.8181 0.183617C19.8763 0.241674 19.9225 0.310644 19.954 0.386575C19.9855 0.462507 20.0017 0.543908 20.0017 0.626117C20.0017 0.708326 19.9855 0.789728 19.954 0.865659C19.9225 0.941591 19.8763 1.01056 19.8181 1.06862L14.6343 6.25112H18.1256C18.2913 6.25112 18.4503 6.31697 18.5675 6.43418C18.6847 6.55139 18.7506 6.71036 18.7506 6.87612C18.7506 7.04188 18.6847 7.20085 18.5675 7.31806C18.4503 7.43527 18.2913 7.50112 18.1256 7.50112H13.1256C12.9598 7.50112 12.8009 7.43527 12.6836 7.31806C12.5664 7.20085 12.5006 7.04188 12.5006 6.87612V1.87612C12.5006 1.71036 12.5664 1.55139 12.6836 1.43418C12.8009 1.31697 12.9598 1.25112 13.1256 1.25112C13.2913 1.25112 13.4503 1.31697 13.5675 1.43418C13.6847 1.55139 13.7506 1.71036 13.7506 1.87612V5.36737L18.9331 0.183617C18.9911 0.125413 19.0601 0.0792346 19.136 0.0477266C19.212 0.0162185 19.2934 0 19.3756 0C19.4578 0 19.5392 0.0162185 19.6151 0.0477266C19.6911 0.0792346 19.76 0.125413 19.8181 0.183617Z",
|
|
17
|
+
fill: "#F84932"
|
|
18
|
+
})
|
|
19
|
+
], -1),
|
|
20
|
+
C("defs", null, [
|
|
21
|
+
C("clipPath", { id: "clip0_8206_19" }, [
|
|
22
|
+
C("rect", {
|
|
23
|
+
width: "20",
|
|
24
|
+
height: "20",
|
|
25
|
+
fill: "white"
|
|
21
26
|
})
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
/* CACHED */
|
|
25
|
-
),
|
|
26
|
-
e(
|
|
27
|
-
"defs",
|
|
28
|
-
null,
|
|
29
|
-
[
|
|
30
|
-
e("clipPath", { id: "clip0_8206_19" }, [
|
|
31
|
-
e("rect", {
|
|
32
|
-
width: "20",
|
|
33
|
-
height: "20",
|
|
34
|
-
fill: "white"
|
|
35
|
-
})
|
|
36
|
-
])
|
|
37
|
-
],
|
|
38
|
-
-1
|
|
39
|
-
/* CACHED */
|
|
40
|
-
)
|
|
27
|
+
])
|
|
28
|
+
], -1)
|
|
41
29
|
])]);
|
|
42
30
|
}
|
|
43
|
-
const p = /* @__PURE__ */ o
|
|
31
|
+
const p = /* @__PURE__ */ i(o, [["render", r]]);
|
|
44
32
|
export {
|
|
45
33
|
p as default
|
|
46
34
|
};
|
|
@@ -1,58 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as i, openBlock as n, Fragment as d, withDirectives as c, createElementVNode as t, vShow as m, createCommentVNode as a, toDisplayString as p } from "vue";
|
|
1
|
+
import o from "./ReplyAudioMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function y(x, e, o, s, h, k) {
|
|
7
|
-
return n(), i(
|
|
8
|
-
d,
|
|
9
|
-
null,
|
|
10
|
-
[
|
|
11
|
-
c(t(
|
|
12
|
-
"div",
|
|
13
|
-
u,
|
|
14
|
-
[...e[1] || (e[1] = [
|
|
15
|
-
t(
|
|
16
|
-
"span",
|
|
17
|
-
{ class: "pi pi-play" },
|
|
18
|
-
null,
|
|
19
|
-
-1
|
|
20
|
-
/* CACHED */
|
|
21
|
-
)
|
|
22
|
-
])],
|
|
23
|
-
512
|
|
24
|
-
/* NEED_PATCH */
|
|
25
|
-
), [
|
|
26
|
-
[m, !s.isPlaying]
|
|
27
|
-
]),
|
|
28
|
-
t("div", g, [
|
|
29
|
-
o.message.header ? (n(), i("p", {
|
|
30
|
-
key: 0,
|
|
31
|
-
textContent: p(`В ответ ${o.message.header}`)
|
|
32
|
-
}, null, 8, f)) : a("v-if", !0),
|
|
33
|
-
e[2] || (e[2] = t(
|
|
34
|
-
"div",
|
|
35
|
-
{ class: "audio-message__reply-description" },
|
|
36
|
-
[
|
|
37
|
-
t("span", { class: "pi pi-microphone" }),
|
|
38
|
-
t("p", null, "Аудиосообщение")
|
|
39
|
-
],
|
|
40
|
-
-1
|
|
41
|
-
/* CACHED */
|
|
42
|
-
)),
|
|
43
|
-
o.message.text ? (n(), i("p", {
|
|
44
|
-
key: 1,
|
|
45
|
-
class: "audio-message__text",
|
|
46
|
-
onClick: e[0] || (e[0] = (...l) => s.inNewWindow && s.inNewWindow(...l)),
|
|
47
|
-
innerHTML: s.linkedHtml
|
|
48
|
-
}, null, 8, v)) : a("v-if", !0)
|
|
49
|
-
])
|
|
50
|
-
],
|
|
51
|
-
64
|
|
52
|
-
/* STABLE_FRAGMENT */
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
const A = /* @__PURE__ */ _(r, [["render", y], ["__scopeId", "data-v-28dedecb"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ad9c9f7"]]);
|
|
56
5
|
export {
|
|
57
|
-
|
|
6
|
+
r as default
|
|
58
7
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, ref as c, createElementBlock as i, openBlock as o, Fragment as g, withDirectives as _, createElementVNode as t, vShow as y, createCommentVNode as a, toDisplayString as f, unref as n } from "vue";
|
|
2
2
|
import "../../../locale/useLocale.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import "../../../hooks/useTheme.js";
|
|
5
|
-
import { useMessageLinks as
|
|
5
|
+
import { useMessageLinks as x } from "../../../hooks/messages/useMessageLinks.js";
|
|
6
6
|
import "../../../functions/parseMarkdown.js";
|
|
7
7
|
import "../../../hooks/useMessageDraft.js";
|
|
8
8
|
import "../../../hooks/useSearchModel.js";
|
|
9
9
|
import "../../../hooks/useEmojiNative.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
-
const k = /* @__PURE__ */
|
|
12
|
+
const k = { class: "audio-message__play" }, v = { class: "audio-message__text-container" }, C = ["textContent"], h = ["innerHTML"], j = /* @__PURE__ */ u({
|
|
13
13
|
__name: "ReplyAudioMessage",
|
|
14
14
|
props: {
|
|
15
15
|
message: {
|
|
@@ -17,12 +17,34 @@ const k = /* @__PURE__ */ m({
|
|
|
17
17
|
required: !0
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
setup(s) {
|
|
21
|
+
const l = s, m = c(!1), { linkedHtml: p, inNewWindow: r } = x(() => l.message.text);
|
|
22
|
+
return (w, e) => (o(), i(g, null, [
|
|
23
|
+
_(t("div", k, [...e[1] || (e[1] = [
|
|
24
|
+
t("span", { class: "pi pi-play" }, null, -1)
|
|
25
|
+
])], 512), [
|
|
26
|
+
[y, !m.value]
|
|
27
|
+
]),
|
|
28
|
+
t("div", v, [
|
|
29
|
+
s.message.header ? (o(), i("p", {
|
|
30
|
+
key: 0,
|
|
31
|
+
textContent: f(`В ответ ${s.message.header}`)
|
|
32
|
+
}, null, 8, C)) : a("", !0),
|
|
33
|
+
e[2] || (e[2] = t("div", { class: "audio-message__reply-description" }, [
|
|
34
|
+
t("span", { class: "pi pi-microphone" }),
|
|
35
|
+
t("p", null, "Аудиосообщение")
|
|
36
|
+
], -1)),
|
|
37
|
+
s.message.text ? (o(), i("p", {
|
|
38
|
+
key: 1,
|
|
39
|
+
class: "audio-message__text",
|
|
40
|
+
onClick: e[0] || (e[0] = //@ts-ignore
|
|
41
|
+
(...d) => n(r) && n(r)(...d)),
|
|
42
|
+
innerHTML: n(p)
|
|
43
|
+
}, null, 8, h)) : a("", !0)
|
|
44
|
+
])
|
|
45
|
+
], 64));
|
|
24
46
|
}
|
|
25
47
|
});
|
|
26
48
|
export {
|
|
27
|
-
|
|
49
|
+
j as default
|
|
28
50
|
};
|
|
@@ -1,50 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as s, openBlock as t, Fragment as n, createElementVNode as a, normalizeClass as i, createCommentVNode as l, toDisplayString as o } from "vue";
|
|
1
|
+
import o from "./ReplyCallMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const r =
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "call-message__title"
|
|
8
|
-
}, p = {
|
|
9
|
-
key: 1,
|
|
10
|
-
class: "call-message__title"
|
|
11
|
-
}, f = { key: 1 };
|
|
12
|
-
function h(u, v, e, y, C, k) {
|
|
13
|
-
return t(), s(
|
|
14
|
-
n,
|
|
15
|
-
null,
|
|
16
|
-
[
|
|
17
|
-
a(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
class: i(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
|
|
21
|
-
},
|
|
22
|
-
null,
|
|
23
|
-
2
|
|
24
|
-
/* CLASS */
|
|
25
|
-
),
|
|
26
|
-
a("div", r, [
|
|
27
|
-
e.message.header ? (t(), s("p", {
|
|
28
|
-
key: 0,
|
|
29
|
-
textContent: o(`В ответ ${e.message.header}`)
|
|
30
|
-
}, null, 8, m)) : l("v-if", !0),
|
|
31
|
-
a("div", d, [
|
|
32
|
-
e.message.isMissedCall ? (t(), s("span", p, " Пропущенный аудиозвонок ")) : (t(), s("span", g, " Аудиозвонок "))
|
|
33
|
-
]),
|
|
34
|
-
e.message.callDuration ? (t(), s(
|
|
35
|
-
"p",
|
|
36
|
-
f,
|
|
37
|
-
o(e.message.callDuration),
|
|
38
|
-
1
|
|
39
|
-
/* TEXT */
|
|
40
|
-
)) : l("v-if", !0)
|
|
41
|
-
])
|
|
42
|
-
],
|
|
43
|
-
64
|
|
44
|
-
/* STABLE_FRAGMENT */
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
const B = /* @__PURE__ */ _(c, [["render", h], ["__scopeId", "data-v-981e19b8"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue"]]);
|
|
3
|
+
import a from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ a(o, [["__scopeId", "data-v-a995503b"]]);
|
|
48
5
|
export {
|
|
49
|
-
|
|
6
|
+
r as default
|
|
50
7
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import { defineComponent as o } from "vue";
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as c, createElementBlock as s, openBlock as t, Fragment as o, createElementVNode as a, normalizeClass as i, createCommentVNode as l, toDisplayString as n } from "vue";
|
|
2
|
+
const m = { class: "call-message__text-container" }, r = ["textContent"], d = { class: "call-message__reply-description" }, g = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "call-message__title"
|
|
5
|
+
}, _ = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "call-message__title"
|
|
8
|
+
}, u = { key: 1 }, k = /* @__PURE__ */ c({
|
|
3
9
|
__name: "ReplyCallMessage",
|
|
4
10
|
props: {
|
|
5
11
|
message: {
|
|
@@ -7,14 +13,24 @@ const n = /* @__PURE__ */ o({
|
|
|
7
13
|
required: !0
|
|
8
14
|
}
|
|
9
15
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
setup(e) {
|
|
17
|
+
return console.log(e.message), (h, y) => (t(), s(o, null, [
|
|
18
|
+
a("div", {
|
|
19
|
+
class: i(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
|
|
20
|
+
}, null, 2),
|
|
21
|
+
a("div", m, [
|
|
22
|
+
e.message.header ? (t(), s("p", {
|
|
23
|
+
key: 0,
|
|
24
|
+
textContent: n(`В ответ ${e.message.header}`)
|
|
25
|
+
}, null, 8, r)) : l("", !0),
|
|
26
|
+
a("div", d, [
|
|
27
|
+
e.message.isMissedCall ? (t(), s("span", _, " Пропущенный аудиозвонок ")) : (t(), s("span", g, " Аудиозвонок "))
|
|
28
|
+
]),
|
|
29
|
+
e.message.callDuration ? (t(), s("p", u, n(e.message.callDuration), 1)) : l("", !0)
|
|
30
|
+
])
|
|
31
|
+
], 64));
|
|
16
32
|
}
|
|
17
33
|
});
|
|
18
34
|
export {
|
|
19
|
-
|
|
35
|
+
k as default
|
|
20
36
|
};
|
|
@@ -1,59 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as l, openBlock as o, Fragment as m, createElementVNode as t, createCommentVNode as a, toDisplayString as i } from "vue";
|
|
1
|
+
import o from "./ReplyFileMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function h(k, s, e, n, x, v) {
|
|
7
|
-
return o(), l(
|
|
8
|
-
m,
|
|
9
|
-
null,
|
|
10
|
-
[
|
|
11
|
-
t("a", {
|
|
12
|
-
class: "file-message__link",
|
|
13
|
-
href: e.message.url,
|
|
14
|
-
download: "",
|
|
15
|
-
target: "_blank"
|
|
16
|
-
}, [...s[1] || (s[1] = [
|
|
17
|
-
t(
|
|
18
|
-
"span",
|
|
19
|
-
{ class: "pi pi-file" },
|
|
20
|
-
null,
|
|
21
|
-
-1
|
|
22
|
-
/* CACHED */
|
|
23
|
-
)
|
|
24
|
-
])], 8, c),
|
|
25
|
-
t("div", null, [
|
|
26
|
-
e.message.header ? (o(), l("p", {
|
|
27
|
-
key: 0,
|
|
28
|
-
textContent: i(`В ответ ${e.message.header}`)
|
|
29
|
-
}, null, 8, f)) : a("v-if", !0),
|
|
30
|
-
t("a", {
|
|
31
|
-
class: "file-message__link",
|
|
32
|
-
href: e.message.url,
|
|
33
|
-
download: "",
|
|
34
|
-
target: "_blank"
|
|
35
|
-
}, [
|
|
36
|
-
t(
|
|
37
|
-
"p",
|
|
38
|
-
p,
|
|
39
|
-
i(e.message.filename),
|
|
40
|
-
1
|
|
41
|
-
/* TEXT */
|
|
42
|
-
)
|
|
43
|
-
], 8, g),
|
|
44
|
-
e.message.text ? (o(), l("p", {
|
|
45
|
-
key: 1,
|
|
46
|
-
class: "file-message__text",
|
|
47
|
-
onClick: s[0] || (s[0] = (...r) => n.inNewWindow && n.inNewWindow(...r)),
|
|
48
|
-
innerHTML: n.linkedHtml
|
|
49
|
-
}, null, 8, u)) : a("v-if", !0)
|
|
50
|
-
])
|
|
51
|
-
],
|
|
52
|
-
64
|
|
53
|
-
/* STABLE_FRAGMENT */
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
const F = /* @__PURE__ */ d(_, [["render", h], ["__scopeId", "data-v-59578446"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue"]]);
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-d52b8fdd"]]);
|
|
57
5
|
export {
|
|
58
|
-
|
|
6
|
+
s as default
|
|
59
7
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as f, createElementBlock as n, openBlock as i, Fragment as u, createElementVNode as t, createCommentVNode as a, toDisplayString as r, unref as l } from "vue";
|
|
2
2
|
import "../../../locale/useLocale.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import "../../../hooks/useTheme.js";
|
|
5
|
-
import { useMessageLinks as
|
|
5
|
+
import { useMessageLinks as c } from "../../../hooks/messages/useMessageLinks.js";
|
|
6
6
|
import "../../../functions/parseMarkdown.js";
|
|
7
7
|
import "../../../hooks/useMessageDraft.js";
|
|
8
8
|
import "../../../hooks/useSearchModel.js";
|
|
9
9
|
import "../../../hooks/useEmojiNative.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
|
-
const
|
|
12
|
+
const p = ["href"], k = ["textContent"], _ = ["href"], h = { class: "file-message__filename-text" }, x = ["innerHTML"], V = /* @__PURE__ */ f({
|
|
13
13
|
__name: "ReplyFileMessage",
|
|
14
14
|
props: {
|
|
15
15
|
message: {
|
|
@@ -17,12 +17,41 @@ const y = /* @__PURE__ */ s({
|
|
|
17
17
|
required: !0
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
o();
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
setup(e) {
|
|
21
|
+
const m = e, { linkedHtml: d, inNewWindow: o } = c(() => m.message.text);
|
|
22
|
+
return (y, s) => (i(), n(u, null, [
|
|
23
|
+
t("a", {
|
|
24
|
+
class: "file-message__link",
|
|
25
|
+
href: e.message.url,
|
|
26
|
+
download: "",
|
|
27
|
+
target: "_blank"
|
|
28
|
+
}, [...s[1] || (s[1] = [
|
|
29
|
+
t("span", { class: "pi pi-file" }, null, -1)
|
|
30
|
+
])], 8, p),
|
|
31
|
+
t("div", null, [
|
|
32
|
+
e.message.header ? (i(), n("p", {
|
|
33
|
+
key: 0,
|
|
34
|
+
textContent: r(`В ответ ${e.message.header}`)
|
|
35
|
+
}, null, 8, k)) : a("", !0),
|
|
36
|
+
t("a", {
|
|
37
|
+
class: "file-message__link",
|
|
38
|
+
href: e.message.url,
|
|
39
|
+
download: "",
|
|
40
|
+
target: "_blank"
|
|
41
|
+
}, [
|
|
42
|
+
t("p", h, r(e.message.filename), 1)
|
|
43
|
+
], 8, _),
|
|
44
|
+
e.message.text ? (i(), n("p", {
|
|
45
|
+
key: 1,
|
|
46
|
+
class: "file-message__text",
|
|
47
|
+
onClick: s[0] || (s[0] = //@ts-ignore
|
|
48
|
+
(...g) => l(o) && l(o)(...g)),
|
|
49
|
+
innerHTML: l(d)
|
|
50
|
+
}, null, 8, x)) : a("", !0)
|
|
51
|
+
])
|
|
52
|
+
], 64));
|
|
24
53
|
}
|
|
25
54
|
});
|
|
26
55
|
export {
|
|
27
|
-
|
|
56
|
+
V as default
|
|
28
57
|
};
|