@mobilon-dev/chotto 0.3.121 → 0.3.124
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 +59 -40
- 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 +35 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -30
- 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/DeletedMessageIcon.vue.js +11 -17
- 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/VerifiedBadge.vue.js +19 -25
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +402 -552
- 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 +46 -12
- 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 -62
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +98 -80
- 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 +45 -76
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -100
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +91 -16
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -79
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +111 -88
- 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 +58 -32
- 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 +35 -41
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +314 -131
- 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 +68 -36
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +37 -71
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +62 -83
- 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 +42 -22
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -460
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +499 -181
- 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/DelimiterMessage/DelimiterMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +46 -37
- 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/FeedReplyQuote/FeedReplyQuote.vue.js +4 -52
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +39 -16
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -270
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +274 -95
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -409
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +422 -143
- 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 -57
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +69 -41
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +4 -97
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +173 -102
- 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 +118 -34
- 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 -94
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +76 -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 -348
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +339 -97
- 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 -308
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +299 -89
- 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 -321
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +338 -96
- 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 +19 -36
- 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 -170
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +336 -239
- package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +25 -43
- 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 +166 -256
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +39 -57
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -185
- package/dist/components/3_compounds/Feed/Feed.vue2.js +314 -161
- package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +19 -17
- 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 -33
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +59 -90
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/src/apps/data/chats.d.ts +48 -4
- package/dist/types/src/apps/data/messages.d.ts +366 -282
- package/dist/types/src/components/2_chatlist_elements/ChatTabs/styles/types.d.ts +2 -0
- package/dist/types/src/components/3_compounds/Feed/composables/useFeedScroll.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,33 +1,45 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { useMessageActions as
|
|
12
|
-
import { useMessageHoverActions as
|
|
13
|
-
import { useMessageReactionsInFeed as
|
|
14
|
-
import { useMessageMenuActions as
|
|
15
|
-
import { useMessageLinks as
|
|
16
|
-
import { useChannelAccentColor as
|
|
17
|
-
import { useStartReply as
|
|
18
|
-
import { useTheme as
|
|
1
|
+
import { defineComponent as he, inject as we, ref as g, computed as v, watch as G, onMounted as Re, createElementBlock as i, openBlock as a, unref as s, normalizeStyle as Q, normalizeClass as b, createCommentVNode as o, createElementVNode as r, createBlock as c, toDisplayString as R, Fragment as W, createVNode as u, Transition as h, withCtx as f, withModifiers as J, Teleport as K } from "vue";
|
|
2
|
+
import Se from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
3
|
+
import Ce from "../../1_atoms/LinkPreview/LinkPreview.vue.js";
|
|
4
|
+
import Ie from "../../1_atoms/EmbedPreview/EmbedPreview.vue.js";
|
|
5
|
+
import pe from "../FeedReplyQuote/FeedReplyQuote.vue.js";
|
|
6
|
+
import Ae from "../../2_modals/ModalFullscreen/ModalFullscreen.vue.js";
|
|
7
|
+
import Te from "../MessageReactions/MessageReactions.vue.js";
|
|
8
|
+
import X from "../MessageStatusIndicator/MessageStatusIndicator.vue.js";
|
|
9
|
+
import xe from "../MessageSmsInvite/MessageSmsInvite.vue.js";
|
|
10
|
+
import Le from "../DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
11
|
+
import { useMessageActions as Ee } from "../../../hooks/messages/useMessageActions.js";
|
|
12
|
+
import { useMessageHoverActions as Fe } from "../../../hooks/messages/useMessageHoverActions.js";
|
|
13
|
+
import { useMessageReactionsInFeed as Pe } from "../../../hooks/messages/useMessageReactionsInFeed.js";
|
|
14
|
+
import { useMessageMenuActions as Ne } from "../../../hooks/messages/useMessageMenuActions.js";
|
|
15
|
+
import { useMessageLinks as Ve } from "../../../hooks/messages/useMessageLinks.js";
|
|
16
|
+
import { useChannelAccentColor as Be } from "../../../hooks/messages/useChannelAccentColor.js";
|
|
17
|
+
import { useStartReply as He } from "../../../hooks/messages/useStartReply.js";
|
|
18
|
+
import { useTheme as $e } from "../../../hooks/useTheme.js";
|
|
19
19
|
/* empty css */
|
|
20
20
|
/* empty css */
|
|
21
21
|
import "../../../locale/useLocale.js";
|
|
22
22
|
/* empty css */
|
|
23
|
-
import { buildReplyPayload as
|
|
24
|
-
import { getStatus as
|
|
25
|
-
import { getMessageClass as
|
|
26
|
-
import { createReactionHandlers as
|
|
23
|
+
import { buildReplyPayload as Y } from "../../../hooks/messages/buildReplyPayload.js";
|
|
24
|
+
import { getStatus as je, getStatusTitle as Oe } from "../../../functions/getStatusMessage.js";
|
|
25
|
+
import { getMessageClass as Ue } from "../../../functions/getMessageClass.js";
|
|
26
|
+
import { createReactionHandlers as De } from "../../../functions/createReactionHandlers.js";
|
|
27
27
|
import "../../../functions/parseMarkdown.js";
|
|
28
|
-
import { isAnimatedSticker as
|
|
28
|
+
import { isAnimatedSticker as qe } from "./utils/stickerUtils.js";
|
|
29
29
|
import "./utils/suppress-lit-warning.js";
|
|
30
|
-
const
|
|
30
|
+
const ze = ["messageId"], Ge = ["src"], Qe = {
|
|
31
|
+
key: 1,
|
|
32
|
+
class: "sticker-message__subtext"
|
|
33
|
+
}, We = { class: "sticker-message__info-container" }, Je = {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: "sticker-message__time"
|
|
36
|
+
}, Ke = ["src"], Xe = ["src"], Ye = ["src", "alt"], Ze = {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: "sticker-message__info-container"
|
|
39
|
+
}, _e = { class: "sticker-message__time" }, es = ["href"], ss = {
|
|
40
|
+
key: 1,
|
|
41
|
+
class: "sticker-message__text-container"
|
|
42
|
+
}, ts = ["innerHTML"], as = ["src"], ns = ["src"], is = ["src", "alt"], Vs = /* @__PURE__ */ he({
|
|
31
43
|
__name: "StickerMessage",
|
|
32
44
|
props: {
|
|
33
45
|
message: {
|
|
@@ -49,7 +61,7 @@ const it = /* @__PURE__ */ ie({
|
|
|
49
61
|
reactionsMode: {
|
|
50
62
|
type: String,
|
|
51
63
|
default: "single",
|
|
52
|
-
validator: (
|
|
64
|
+
validator: (e) => ["single", "multi"].includes(e)
|
|
53
65
|
},
|
|
54
66
|
currentUserId: {
|
|
55
67
|
type: [String, Number],
|
|
@@ -66,95 +78,325 @@ const it = /* @__PURE__ */ ie({
|
|
|
66
78
|
}
|
|
67
79
|
},
|
|
68
80
|
emits: ["action", "reply", "sms-invite"],
|
|
69
|
-
setup(
|
|
70
|
-
T()
|
|
71
|
-
|
|
72
|
-
() =>
|
|
73
|
-
() =>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
i.value = !0;
|
|
81
|
+
setup(e, { emit: Z }) {
|
|
82
|
+
const A = we("chatAppId"), { getTheme: T } = $e(A || ""), { menuActions: w } = Ne(() => n.message), { hoverActionsEnabled: _, reactionsActive: x } = Fe(
|
|
83
|
+
() => n.channel,
|
|
84
|
+
() => n.reactionsEnabled,
|
|
85
|
+
() => n.message
|
|
86
|
+
), { startReply: ee } = He(A || ""), d = g(!1), S = g(!1);
|
|
87
|
+
async function L() {
|
|
88
|
+
if (!(d.value || S.value)) {
|
|
89
|
+
S.value = !0;
|
|
79
90
|
try {
|
|
80
|
-
await import("./libs/tgs-player/lottie-player.esm.js"), await import("./libs/tgs-player/tgs-player.esm.js"),
|
|
81
|
-
} catch (
|
|
82
|
-
console.error("Failed to load TGS libraries:",
|
|
91
|
+
await import("./libs/tgs-player/lottie-player.esm.js"), await import("./libs/tgs-player/tgs-player.esm.js"), d.value = !0;
|
|
92
|
+
} catch (m) {
|
|
93
|
+
console.error("Failed to load TGS libraries:", m);
|
|
83
94
|
} finally {
|
|
84
|
-
|
|
95
|
+
S.value = !1;
|
|
85
96
|
}
|
|
86
97
|
}
|
|
87
98
|
}
|
|
88
|
-
const
|
|
89
|
-
isOpenMenu:
|
|
90
|
-
buttonMenuVisible:
|
|
91
|
-
menuAnchorRef:
|
|
92
|
-
menuRef:
|
|
93
|
-
menuStyle:
|
|
94
|
-
menuTheme:
|
|
95
|
-
showMenu:
|
|
96
|
-
hideMenu:
|
|
97
|
-
openMenu:
|
|
98
|
-
toggleMenu:
|
|
99
|
-
onMenuMouseEnter:
|
|
100
|
-
onMenuMouseLeave:
|
|
101
|
-
clickAction:
|
|
102
|
-
viewsAction:
|
|
103
|
-
handleClickReplied:
|
|
104
|
-
} =
|
|
105
|
-
onReply: () =>
|
|
106
|
-
}),
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
|
|
99
|
+
const n = e, C = Z, I = g(!1), {
|
|
100
|
+
isOpenMenu: se,
|
|
101
|
+
buttonMenuVisible: te,
|
|
102
|
+
menuAnchorRef: ae,
|
|
103
|
+
menuRef: ne,
|
|
104
|
+
menuStyle: ie,
|
|
105
|
+
menuTheme: le,
|
|
106
|
+
showMenu: oe,
|
|
107
|
+
hideMenu: E,
|
|
108
|
+
openMenu: me,
|
|
109
|
+
toggleMenu: F,
|
|
110
|
+
onMenuMouseEnter: re,
|
|
111
|
+
onMenuMouseLeave: ue,
|
|
112
|
+
clickAction: ce,
|
|
113
|
+
viewsAction: P,
|
|
114
|
+
handleClickReplied: ge
|
|
115
|
+
} = Ee(n.message, C, {
|
|
116
|
+
onReply: () => ee(Y(n.message, "message.sticker"))
|
|
117
|
+
}), k = g(!1), { linkedHtml: de, inNewWindow: N } = Ve(() => n.message.text), ve = () => {
|
|
118
|
+
oe(), k.value = !0;
|
|
119
|
+
}, V = v(() => je(n.message.status)), B = v(() => Oe(n.message.status, n.message.statusMsg)), { bubbleStyle: fe } = Be(
|
|
120
|
+
v(() => n.message),
|
|
110
121
|
{ cssVariable: "--chotto-stickermessage-right-bg", position: "right" }
|
|
111
|
-
),
|
|
112
|
-
if (
|
|
113
|
-
const
|
|
114
|
-
return !/\.(webp|png|jpe?g|gif|bmp|svg)(\?|#|$)/.test(
|
|
122
|
+
), y = v(() => qe(n.message.url, n.message.isAnimated)), M = g(!1), H = v(() => {
|
|
123
|
+
if (y.value) return !1;
|
|
124
|
+
const m = String(n.message.url || "").toLowerCase();
|
|
125
|
+
return !/\.(webp|png|jpe?g|gif|bmp|svg)(\?|#|$)/.test(m);
|
|
115
126
|
});
|
|
116
|
-
|
|
117
|
-
() =>
|
|
127
|
+
G(
|
|
128
|
+
() => n.message.url,
|
|
118
129
|
() => {
|
|
119
|
-
|
|
130
|
+
M.value = !1;
|
|
120
131
|
},
|
|
121
132
|
{ immediate: !0 }
|
|
122
|
-
),
|
|
123
|
-
|
|
124
|
-
}, { immediate: !0 }),
|
|
125
|
-
|
|
133
|
+
), G(y, (m) => {
|
|
134
|
+
m && !d.value && L();
|
|
135
|
+
}, { immediate: !0 }), Re(() => {
|
|
136
|
+
y.value && !d.value && L();
|
|
126
137
|
});
|
|
127
|
-
function
|
|
128
|
-
return
|
|
138
|
+
function p(m) {
|
|
139
|
+
return Ue(m.position, "sticker-message");
|
|
129
140
|
}
|
|
130
|
-
const
|
|
131
|
-
var
|
|
132
|
-
const
|
|
133
|
-
return
|
|
134
|
-
}), { showReactions:
|
|
135
|
-
message: () =>
|
|
136
|
-
messageId: () =>
|
|
137
|
-
reactions: () =>
|
|
138
|
-
reactionsActive:
|
|
139
|
-
reactionsMode: () =>
|
|
140
|
-
reply: () =>
|
|
141
|
-
menuEnabled: () =>
|
|
142
|
-
contentRef:
|
|
143
|
-
chipsRef:
|
|
141
|
+
const ke = () => I.value = !1, { onToggleReaction: $, onAddReaction: j, onRemoveReaction: O } = De(C), U = g(null), D = g(null), ye = v(() => {
|
|
142
|
+
var t;
|
|
143
|
+
const m = (t = D.value) == null ? void 0 : t.$el;
|
|
144
|
+
return m instanceof HTMLElement ? m : null;
|
|
145
|
+
}), { showReactions: Me, onContentPointerEnter: q, onContentPointerLeave: z } = Pe({
|
|
146
|
+
message: () => n.message,
|
|
147
|
+
messageId: () => n.message.messageId,
|
|
148
|
+
reactions: () => n.message.reactions,
|
|
149
|
+
reactionsActive: x,
|
|
150
|
+
reactionsMode: () => n.reactionsMode,
|
|
151
|
+
reply: () => Y(n.message, "message.sticker"),
|
|
152
|
+
menuEnabled: () => w.value.length > 0,
|
|
153
|
+
contentRef: U,
|
|
154
|
+
chipsRef: ye,
|
|
144
155
|
handlers: {
|
|
145
|
-
onToggleReaction:
|
|
146
|
-
onAddReaction:
|
|
147
|
-
onRemoveReaction:
|
|
148
|
-
onMenu:
|
|
156
|
+
onToggleReaction: $,
|
|
157
|
+
onAddReaction: j,
|
|
158
|
+
onRemoveReaction: O,
|
|
159
|
+
onMenu: me
|
|
149
160
|
}
|
|
150
161
|
});
|
|
151
|
-
function
|
|
152
|
-
|
|
162
|
+
function be() {
|
|
163
|
+
C("sms-invite", n.message);
|
|
153
164
|
}
|
|
154
|
-
|
|
155
|
-
|
|
165
|
+
return (m, t) => (a(), i("div", {
|
|
166
|
+
ref_key: "menuAnchorRef",
|
|
167
|
+
ref: ae,
|
|
168
|
+
class: b(["sticker-message", [
|
|
169
|
+
p(e.message),
|
|
170
|
+
e.applyStyle(e.message)
|
|
171
|
+
]]),
|
|
172
|
+
messageId: e.message.messageId,
|
|
173
|
+
style: Q(s(fe)),
|
|
174
|
+
onMouseleave: t[9] || (t[9] = //@ts-ignore
|
|
175
|
+
(...l) => s(E) && s(E)(...l))
|
|
176
|
+
}, [
|
|
177
|
+
e.message.avatar && e.isFirstInSeries ? (a(), i("img", {
|
|
178
|
+
key: 0,
|
|
179
|
+
class: "sticker-message__avatar",
|
|
180
|
+
src: e.message.avatar,
|
|
181
|
+
height: "32",
|
|
182
|
+
width: "32"
|
|
183
|
+
}, null, 8, Ge)) : o("", !0),
|
|
184
|
+
e.message.subText && e.isFirstInSeries ? (a(), i("p", Qe, R(e.message.subText), 1)) : o("", !0),
|
|
185
|
+
r("div", {
|
|
186
|
+
ref_key: "contentRef",
|
|
187
|
+
ref: U,
|
|
188
|
+
class: b(["sticker-message__content", { "is-first": e.isFirstInSeries, "with-avatar-indent": !e.isFirstInSeries && e.message.avatar }]),
|
|
189
|
+
onPointerenter: t[6] || (t[6] = //@ts-ignore
|
|
190
|
+
(...l) => s(q) && s(q)(...l)),
|
|
191
|
+
onPointerleave: t[7] || (t[7] = //@ts-ignore
|
|
192
|
+
(...l) => s(z) && s(z)(...l))
|
|
193
|
+
}, [
|
|
194
|
+
e.message.deleted ? (a(), i(W, { key: 0 }, [
|
|
195
|
+
u(Le),
|
|
196
|
+
r("div", We, [
|
|
197
|
+
e.message.time ? (a(), i("span", Je, R(e.message.time), 1)) : o("", !0),
|
|
198
|
+
u(X, {
|
|
199
|
+
"base-class": "sticker-message",
|
|
200
|
+
"message-class": p(e.message),
|
|
201
|
+
"message-status": e.message.status,
|
|
202
|
+
"status-class": V.value,
|
|
203
|
+
"status-title": B.value
|
|
204
|
+
}, null, 8, ["message-class", "message-status", "status-class", "status-title"])
|
|
205
|
+
])
|
|
206
|
+
], 64)) : (a(), i(W, { key: 1 }, [
|
|
207
|
+
e.message.reply ? (a(), c(pe, {
|
|
208
|
+
key: 0,
|
|
209
|
+
style: { margin: "10px 10px 4px 16px" },
|
|
210
|
+
class: b(e.message.position),
|
|
211
|
+
message: e.message.reply,
|
|
212
|
+
onReply: s(ge)
|
|
213
|
+
}, null, 8, ["class", "message", "onReply"])) : o("", !0),
|
|
214
|
+
r("div", {
|
|
215
|
+
class: "sticker-message__preview-button",
|
|
216
|
+
onClick: t[2] || (t[2] = (l) => I.value = !0),
|
|
217
|
+
onMouseenter: ve,
|
|
218
|
+
onMouseleave: t[3] || (t[3] = (l) => k.value = !k.value)
|
|
219
|
+
}, [
|
|
220
|
+
y.value && d.value ? (a(), i("tgs-player", {
|
|
221
|
+
key: 0,
|
|
222
|
+
class: "sticker-message__preview-image-animated",
|
|
223
|
+
src: e.message.url,
|
|
224
|
+
autoplay: "",
|
|
225
|
+
loop: "",
|
|
226
|
+
mode: "normal"
|
|
227
|
+
}, null, 8, Ke)) : H.value && !M.value ? (a(), i("video", {
|
|
228
|
+
key: 1,
|
|
229
|
+
class: "sticker-message__preview-image",
|
|
230
|
+
src: e.message.url,
|
|
231
|
+
autoplay: "",
|
|
232
|
+
loop: "",
|
|
233
|
+
muted: "",
|
|
234
|
+
playsinline: "",
|
|
235
|
+
preload: "metadata",
|
|
236
|
+
onError: t[0] || (t[0] = (l) => M.value = !0)
|
|
237
|
+
}, null, 40, Xe)) : (a(), i("img", {
|
|
238
|
+
key: 2,
|
|
239
|
+
class: "sticker-message__preview-image",
|
|
240
|
+
src: e.message.url,
|
|
241
|
+
alt: e.message.alt
|
|
242
|
+
}, null, 8, Ye)),
|
|
243
|
+
u(h, { name: "modal-fade" }, {
|
|
244
|
+
default: f(() => [
|
|
245
|
+
k.value ? (a(), i("div", Ze, [
|
|
246
|
+
e.message.views ? (a(), i("div", {
|
|
247
|
+
key: 0,
|
|
248
|
+
class: "sticker-message__views",
|
|
249
|
+
onClick: t[1] || (t[1] = J(
|
|
250
|
+
//@ts-ignore
|
|
251
|
+
(...l) => s(P) && s(P)(...l),
|
|
252
|
+
["stop"]
|
|
253
|
+
))
|
|
254
|
+
}, [
|
|
255
|
+
t[10] || (t[10] = r("span", { class: "pi pi-eye" }, null, -1)),
|
|
256
|
+
r("p", null, R(e.message.views), 1)
|
|
257
|
+
])) : o("", !0),
|
|
258
|
+
r("span", _e, R(e.message.time), 1),
|
|
259
|
+
u(X, {
|
|
260
|
+
"base-class": "sticker-message",
|
|
261
|
+
"message-class": p(e.message),
|
|
262
|
+
"message-status": e.message.status,
|
|
263
|
+
"status-class": V.value,
|
|
264
|
+
"status-title": B.value
|
|
265
|
+
}, null, 8, ["message-class", "message-status", "status-class", "status-title"])
|
|
266
|
+
])) : o("", !0)
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}),
|
|
270
|
+
u(h, { name: "modal-fade" }, {
|
|
271
|
+
default: f(() => [
|
|
272
|
+
k.value ? (a(), i("a", {
|
|
273
|
+
key: 0,
|
|
274
|
+
class: "sticker-message__download-button",
|
|
275
|
+
href: e.message.url,
|
|
276
|
+
download: "",
|
|
277
|
+
target: "_blank",
|
|
278
|
+
onClick: J(() => "//Предотвращаем всплытие события клика", ["stop"])
|
|
279
|
+
}, [...t[11] || (t[11] = [
|
|
280
|
+
r("span", { class: "pi pi-download" }, null, -1)
|
|
281
|
+
])], 8, es)) : o("", !0)
|
|
282
|
+
]),
|
|
283
|
+
_: 1
|
|
284
|
+
})
|
|
285
|
+
], 32),
|
|
286
|
+
u(h, { name: "modal-fade" }, {
|
|
287
|
+
default: f(() => [
|
|
288
|
+
s(te) && s(w).length && !e.reactionsEnabled && s(_) ? (a(), i("button", {
|
|
289
|
+
key: 0,
|
|
290
|
+
class: "sticker-message__menu-button",
|
|
291
|
+
onClick: t[4] || (t[4] = //@ts-ignore
|
|
292
|
+
(...l) => s(F) && s(F)(...l))
|
|
293
|
+
}, [...t[12] || (t[12] = [
|
|
294
|
+
r("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
|
295
|
+
])])) : o("", !0)
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}),
|
|
299
|
+
(a(), c(K, { to: "body" }, [
|
|
300
|
+
u(h, { name: "context-menu" }, {
|
|
301
|
+
default: f(() => [
|
|
302
|
+
s(se) && s(w).length ? (a(), c(Se, {
|
|
303
|
+
key: 0,
|
|
304
|
+
ref_key: "menuRef",
|
|
305
|
+
ref: ne,
|
|
306
|
+
class: "sticker-message__context-menu message-actions-menu",
|
|
307
|
+
style: Q(s(ie)),
|
|
308
|
+
"data-theme": s(le),
|
|
309
|
+
actions: s(w),
|
|
310
|
+
onClick: s(ce),
|
|
311
|
+
onMouseenter: s(re),
|
|
312
|
+
onMouseleave: s(ue)
|
|
313
|
+
}, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : o("", !0)
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
})
|
|
317
|
+
])),
|
|
318
|
+
e.message.text ? (a(), i("div", ss, [
|
|
319
|
+
r("p", {
|
|
320
|
+
onClick: t[5] || (t[5] = //@ts-ignore
|
|
321
|
+
(...l) => s(N) && s(N)(...l)),
|
|
322
|
+
innerHTML: s(de)
|
|
323
|
+
}, null, 8, ts)
|
|
324
|
+
])) : o("", !0),
|
|
325
|
+
u(xe, {
|
|
326
|
+
status: e.message.status,
|
|
327
|
+
"has-messenger-account": e.message.hasMessengerAccount,
|
|
328
|
+
channel: e.channel,
|
|
329
|
+
onSmsInvite: be
|
|
330
|
+
}, null, 8, ["status", "has-messenger-account", "channel"]),
|
|
331
|
+
e.message.linkPreview ? (a(), c(Ce, {
|
|
332
|
+
key: 2,
|
|
333
|
+
class: b(["sticker-message__link-preview", e.message.position]),
|
|
334
|
+
"link-preview": e.message.linkPreview
|
|
335
|
+
}, null, 8, ["class", "link-preview"])) : o("", !0),
|
|
336
|
+
e.message.embed ? (a(), c(Ie, {
|
|
337
|
+
key: 3,
|
|
338
|
+
class: b(e.message.position),
|
|
339
|
+
embed: e.message.embed
|
|
340
|
+
}, null, 8, ["class", "embed"])) : o("", !0),
|
|
341
|
+
s(Me) ? (a(), c(Te, {
|
|
342
|
+
key: 4,
|
|
343
|
+
ref_key: "reactionsRef",
|
|
344
|
+
ref: D,
|
|
345
|
+
reactions: e.message.reactions,
|
|
346
|
+
"message-id": e.message.messageId,
|
|
347
|
+
enabled: s(x),
|
|
348
|
+
mode: e.reactionsMode,
|
|
349
|
+
"current-user-id": e.currentUserId,
|
|
350
|
+
"reaction-user-names": e.reactionUserNames,
|
|
351
|
+
onToggleReaction: s($),
|
|
352
|
+
onAddReaction: s(j),
|
|
353
|
+
onRemoveReaction: s(O)
|
|
354
|
+
}, null, 8, ["reactions", "message-id", "enabled", "mode", "current-user-id", "reaction-user-names", "onToggleReaction", "onAddReaction", "onRemoveReaction"])) : o("", !0)
|
|
355
|
+
], 64))
|
|
356
|
+
], 34),
|
|
357
|
+
(a(), c(K, { to: "body" }, [
|
|
358
|
+
u(h, { name: "modal-fade" }, {
|
|
359
|
+
default: f(() => [
|
|
360
|
+
I.value && !e.message.deleted ? (a(), c(Ae, {
|
|
361
|
+
key: 0,
|
|
362
|
+
"data-theme": s(T)().theme ? s(T)().theme : "light",
|
|
363
|
+
title: e.message.alt,
|
|
364
|
+
onClose: ke
|
|
365
|
+
}, {
|
|
366
|
+
default: f(() => [
|
|
367
|
+
y.value && d.value ? (a(), i("tgs-player", {
|
|
368
|
+
key: 0,
|
|
369
|
+
class: "sticker-message__modal-image-animated",
|
|
370
|
+
src: e.message.url,
|
|
371
|
+
autoplay: "",
|
|
372
|
+
loop: "",
|
|
373
|
+
mode: "normal"
|
|
374
|
+
}, null, 8, as)) : H.value && !M.value ? (a(), i("video", {
|
|
375
|
+
key: 1,
|
|
376
|
+
class: "sticker-message__modal-image",
|
|
377
|
+
src: e.message.url,
|
|
378
|
+
autoplay: "",
|
|
379
|
+
loop: "",
|
|
380
|
+
muted: "",
|
|
381
|
+
playsinline: "",
|
|
382
|
+
preload: "metadata",
|
|
383
|
+
onError: t[8] || (t[8] = (l) => M.value = !0)
|
|
384
|
+
}, null, 40, ns)) : (a(), i("img", {
|
|
385
|
+
key: 2,
|
|
386
|
+
class: "sticker-message__modal-image",
|
|
387
|
+
src: e.message.url,
|
|
388
|
+
alt: e.message.alt
|
|
389
|
+
}, null, 8, is))
|
|
390
|
+
]),
|
|
391
|
+
_: 1
|
|
392
|
+
}, 8, ["data-theme", "title"])) : o("", !0)
|
|
393
|
+
]),
|
|
394
|
+
_: 1
|
|
395
|
+
})
|
|
396
|
+
]))
|
|
397
|
+
], 46, ze));
|
|
156
398
|
}
|
|
157
399
|
});
|
|
158
400
|
export {
|
|
159
|
-
|
|
401
|
+
Vs as default
|
|
160
402
|
};
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as t, openBlock as o, createElementVNode as c, toDisplayString as r } from "vue";
|
|
1
|
+
import o from "./SystemMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function n(p, i, e, d, f, l) {
|
|
7
|
-
return o(), t("div", _, [
|
|
8
|
-
c(
|
|
9
|
-
"p",
|
|
10
|
-
m,
|
|
11
|
-
r(e.message.text),
|
|
12
|
-
1
|
|
13
|
-
/* TEXT */
|
|
14
|
-
)
|
|
15
|
-
]);
|
|
16
|
-
}
|
|
17
|
-
const v = /* @__PURE__ */ a(s, [["render", n], ["__scopeId", "data-v-825a80e3"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/SystemMessage/SystemMessage.vue"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2333b3c7"]]);
|
|
18
5
|
export {
|
|
19
|
-
|
|
6
|
+
r as default
|
|
20
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as t, createElementBlock as s, openBlock as o, createElementVNode as a, toDisplayString as n } from "vue";
|
|
2
|
+
const c = { class: "system-message__container" }, r = { class: "system-message__text" }, p = /* @__PURE__ */ t({
|
|
3
3
|
__name: "SystemMessage",
|
|
4
4
|
props: {
|
|
5
5
|
message: {
|
|
@@ -7,12 +7,12 @@ const _ = /* @__PURE__ */ r({
|
|
|
7
7
|
required: !0
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setup(e) {
|
|
11
|
+
return (m, _) => (o(), s("div", c, [
|
|
12
|
+
a("p", r, n(e.message.text), 1)
|
|
13
|
+
]));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
p as default
|
|
18
18
|
};
|