@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,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useMessageActions as
|
|
3
|
-
import { useMessageMenuActions as
|
|
1
|
+
import { defineComponent as h, inject as R } from "vue";
|
|
2
|
+
import { useMessageActions as S } from "../../../hooks/messages/useMessageActions.js";
|
|
3
|
+
import { useMessageMenuActions as j } 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 O } from "../../../functions/getMessageClass.js";
|
|
9
|
+
import { useSubtextTooltip as D } from "../../../hooks/messages/useSubtextTooltip.js";
|
|
10
|
+
import { useStartReply as I } from "../../../hooks/messages/useStartReply.js";
|
|
11
11
|
import "../../../hooks/useMessageDraft.js";
|
|
12
12
|
import "../../../hooks/useSearchModel.js";
|
|
13
13
|
import "../../../hooks/useTheme.js";
|
|
@@ -15,18 +15,12 @@ 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
|
|
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({
|
|
18
|
+
import { buildReplyPayload as q } from "../../../hooks/messages/buildReplyPayload.js";
|
|
19
|
+
import v from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
20
|
+
import P from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
21
|
+
import k from "../DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
22
|
+
import w from "./icons/MissedCallIcon.vue.js";
|
|
23
|
+
const re = /* @__PURE__ */ h({
|
|
30
24
|
__name: "MissedCallMessage",
|
|
31
25
|
props: {
|
|
32
26
|
message: {
|
|
@@ -44,113 +38,31 @@ const Y = ["messageId"], Z = ["src"], $ = {
|
|
|
44
38
|
}
|
|
45
39
|
},
|
|
46
40
|
emits: ["action", "reply"],
|
|
47
|
-
setup(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
41
|
+
setup(n, { expose: i, emit: m }) {
|
|
42
|
+
i();
|
|
43
|
+
const t = m, { menuActions: p } = j(() => e.message), o = R("chatAppId"), { startReply: s } = I(o || ""), e = n, {
|
|
44
|
+
isOpenMenu: u,
|
|
45
|
+
buttonMenuVisible: a,
|
|
46
|
+
menuAnchorRef: l,
|
|
47
|
+
menuRef: c,
|
|
48
|
+
menuStyle: f,
|
|
49
|
+
menuTheme: M,
|
|
55
50
|
showMenu: d,
|
|
56
51
|
hideMenu: g,
|
|
57
|
-
toggleMenu:
|
|
58
|
-
onMenuMouseEnter:
|
|
59
|
-
onMenuMouseLeave:
|
|
60
|
-
clickAction:
|
|
61
|
-
} =
|
|
62
|
-
onReply: () =>
|
|
63
|
-
}),
|
|
64
|
-
function
|
|
65
|
-
return
|
|
52
|
+
toggleMenu: y,
|
|
53
|
+
onMenuMouseEnter: b,
|
|
54
|
+
onMenuMouseLeave: _,
|
|
55
|
+
clickAction: x
|
|
56
|
+
} = S(e.message, t, {
|
|
57
|
+
onReply: () => s(q(e.message, "message.call"))
|
|
58
|
+
}), A = D(() => e.message, () => e.subtextTooltipData);
|
|
59
|
+
function C(T) {
|
|
60
|
+
return O(T.position, "missed-call-message");
|
|
66
61
|
}
|
|
67
|
-
|
|
68
|
-
|
|
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));
|
|
62
|
+
const r = { emit: t, menuActions: p, chatAppId: o, startReply: s, props: e, isOpenMenu: u, buttonMenuVisible: a, menuAnchorRef: l, menuRef: c, menuStyle: f, menuTheme: M, showMenu: d, hideMenu: g, toggleMenu: y, onMenuMouseEnter: b, onMenuMouseLeave: _, clickAction: x, subtextTooltipText: A, getClass: C, ContextMenu: v, Tooltip: P, DeletedMessageContent: k, MissedCallIcon: w };
|
|
63
|
+
return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
|
|
152
64
|
}
|
|
153
65
|
});
|
|
154
66
|
export {
|
|
155
|
-
|
|
67
|
+
re as default
|
|
156
68
|
};
|
|
@@ -1,34 +1,46 @@
|
|
|
1
|
-
import { createElementBlock as t, openBlock as l, createElementVNode as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as t, openBlock as l, createElementVNode as e } from "vue";
|
|
2
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const s = {}, i = {
|
|
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
|
|
11
|
-
return l(), t("svg",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
C("clipPath", { id: "clip0_8206_19" }, [
|
|
22
|
-
C("rect", {
|
|
23
|
-
width: "20",
|
|
24
|
-
height: "20",
|
|
25
|
-
fill: "white"
|
|
10
|
+
function c(n, C) {
|
|
11
|
+
return l(), t("svg", i, [...C[0] || (C[0] = [
|
|
12
|
+
e(
|
|
13
|
+
"g",
|
|
14
|
+
{ "clip-path": "url(#clip0_8206_19)" },
|
|
15
|
+
[
|
|
16
|
+
e("path", {
|
|
17
|
+
"fill-rule": "evenodd",
|
|
18
|
+
"clip-rule": "evenodd",
|
|
19
|
+
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",
|
|
20
|
+
fill: "#F84932"
|
|
26
21
|
})
|
|
27
|
-
]
|
|
28
|
-
|
|
22
|
+
],
|
|
23
|
+
-1
|
|
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
|
+
)
|
|
29
41
|
])]);
|
|
30
42
|
}
|
|
31
|
-
const p = /* @__PURE__ */
|
|
43
|
+
const p = /* @__PURE__ */ o(s, [["render", c], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue"]]);
|
|
32
44
|
export {
|
|
33
45
|
p as default
|
|
34
46
|
};
|
|
@@ -1,7 +1,58 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from "./ReplyAudioMessage.vue2.js";
|
|
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";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const u = { class: "audio-message__play" }, g = { class: "audio-message__text-container" }, f = ["textContent"], v = ["innerHTML"];
|
|
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"]]);
|
|
5
56
|
export {
|
|
6
|
-
|
|
57
|
+
A as default
|
|
7
58
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, ref 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 a } 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 =
|
|
12
|
+
const k = /* @__PURE__ */ m({
|
|
13
13
|
__name: "ReplyAudioMessage",
|
|
14
14
|
props: {
|
|
15
15
|
message: {
|
|
@@ -17,34 +17,12 @@ const k = { class: "audio-message__play" }, v = { class: "audio-message__text-co
|
|
|
17
17
|
required: !0
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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));
|
|
20
|
+
setup(r, { expose: o }) {
|
|
21
|
+
o();
|
|
22
|
+
const e = r, s = n(!1), { linkedHtml: i, inNewWindow: p } = a(() => e.message.text), t = { props: e, isPlaying: s, linkedHtml: i, inNewWindow: p };
|
|
23
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
46
24
|
}
|
|
47
25
|
});
|
|
48
26
|
export {
|
|
49
|
-
|
|
27
|
+
k as default
|
|
50
28
|
};
|
|
@@ -1,7 +1,50 @@
|
|
|
1
|
-
import
|
|
1
|
+
import c from "./ReplyCallMessage.vue2.js";
|
|
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";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const r =
|
|
4
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const r = { class: "call-message__text-container" }, m = ["textContent"], d = { class: "call-message__reply-description" }, g = {
|
|
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"]]);
|
|
5
48
|
export {
|
|
6
|
-
|
|
49
|
+
B as default
|
|
7
50
|
};
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "call-message__title"
|
|
5
|
-
}, _ = {
|
|
6
|
-
key: 1,
|
|
7
|
-
class: "call-message__title"
|
|
8
|
-
}, u = { key: 1 }, k = /* @__PURE__ */ c({
|
|
1
|
+
import { defineComponent as o } from "vue";
|
|
2
|
+
const n = /* @__PURE__ */ o({
|
|
9
3
|
__name: "ReplyCallMessage",
|
|
10
4
|
props: {
|
|
11
5
|
message: {
|
|
@@ -13,24 +7,14 @@ const m = { class: "call-message__text-container" }, r = ["textContent"], d = {
|
|
|
13
7
|
required: !0
|
|
14
8
|
}
|
|
15
9
|
},
|
|
16
|
-
setup(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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));
|
|
10
|
+
setup(t, { expose: r }) {
|
|
11
|
+
r();
|
|
12
|
+
const e = t;
|
|
13
|
+
console.log(e.message);
|
|
14
|
+
const s = { props: e };
|
|
15
|
+
return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
|
|
32
16
|
}
|
|
33
17
|
});
|
|
34
18
|
export {
|
|
35
|
-
|
|
19
|
+
n as default
|
|
36
20
|
};
|
|
@@ -1,7 +1,59 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _ from "./ReplyFileMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as l, openBlock as o, Fragment as m, createElementVNode as t, createCommentVNode as a, toDisplayString as i } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import d from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const c = ["href"], f = ["textContent"], g = ["href"], p = { class: "file-message__filename-text" }, u = ["innerHTML"];
|
|
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"]]);
|
|
5
57
|
export {
|
|
6
|
-
|
|
58
|
+
F as default
|
|
7
59
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s } 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 m } 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 y = /* @__PURE__ */ s({
|
|
13
13
|
__name: "ReplyFileMessage",
|
|
14
14
|
props: {
|
|
15
15
|
message: {
|
|
@@ -17,41 +17,12 @@ const p = ["href"], k = ["textContent"], _ = ["href"], h = { class: "file-messag
|
|
|
17
17
|
required: !0
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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));
|
|
20
|
+
setup(r, { expose: o }) {
|
|
21
|
+
o();
|
|
22
|
+
const e = r, { linkedHtml: p, inNewWindow: i } = m(() => e.message.text), t = { props: e, linkedHtml: p, inNewWindow: i };
|
|
23
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
53
24
|
}
|
|
54
25
|
});
|
|
55
26
|
export {
|
|
56
|
-
|
|
27
|
+
y as default
|
|
57
28
|
};
|