@mobilon-dev/chotto 0.3.120 → 0.3.121
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 +40 -59
- 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 -35
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +30 -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/DeletedMessageIcon.vue.js +27 -0
- 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/VerifiedBadge.vue.js +25 -19
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +552 -402
- 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 +12 -46
- 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 +62 -4
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +80 -98
- 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 +76 -45
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +100 -4
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +16 -91
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +79 -4
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +88 -111
- 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 +32 -58
- 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 +41 -35
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +143 -323
- 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 +36 -68
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +71 -37
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +83 -62
- 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 +22 -42
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +460 -4
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +181 -499
- 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/DelimiterMessage/DelimiterMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +37 -46
- 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/FeedReplyQuote/FeedReplyQuote.vue.js +52 -4
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +16 -39
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +270 -4
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +95 -274
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +409 -4
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +143 -422
- 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 +57 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +41 -69
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +97 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +102 -173
- 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 +34 -118
- 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 +94 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -76
- 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 +348 -4
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +97 -339
- 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 +308 -4
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +89 -299
- 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 +321 -4
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +96 -338
- 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 +36 -19
- 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 +170 -4
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +239 -336
- package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +43 -25
- 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 +256 -166
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +57 -39
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +185 -4
- package/dist/components/3_compounds/Feed/Feed.vue2.js +161 -305
- 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 +33 -18
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +90 -59
- package/dist/types/src/apps/data/chats.d.ts +9 -2
- package/dist/types/src/components/2_chatlist_elements/ChatItem/stories/ChatItem.stories.d.ts +1 -0
- package/dist/types/src/components/2_chatlist_elements/ChatItem/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +0 -21
- /package/dist/types/src/components/{2_feed_elements/DeletedMessageContent/icons → 1_icons}/DeletedMessageIcon.vue.d.ts +0 -0
|
@@ -1,45 +1,33 @@
|
|
|
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 ie, inject as ae, ref as s, computed as o, watch as I, onMounted as re } from "vue";
|
|
2
|
+
import le from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
3
|
+
import me from "../../1_atoms/LinkPreview/LinkPreview.vue.js";
|
|
4
|
+
import ue from "../../1_atoms/EmbedPreview/EmbedPreview.vue.js";
|
|
5
|
+
import ce from "../FeedReplyQuote/FeedReplyQuote.vue.js";
|
|
6
|
+
import pe from "../../2_modals/ModalFullscreen/ModalFullscreen.vue.js";
|
|
7
|
+
import ge from "../MessageReactions/MessageReactions.vue.js";
|
|
8
|
+
import de from "../MessageStatusIndicator/MessageStatusIndicator.vue.js";
|
|
9
|
+
import fe from "../MessageSmsInvite/MessageSmsInvite.vue.js";
|
|
10
|
+
import Me from "../DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
11
|
+
import { useMessageActions as ve } from "../../../hooks/messages/useMessageActions.js";
|
|
12
|
+
import { useMessageHoverActions as be } from "../../../hooks/messages/useMessageHoverActions.js";
|
|
13
|
+
import { useMessageReactionsInFeed as he } from "../../../hooks/messages/useMessageReactionsInFeed.js";
|
|
14
|
+
import { useMessageMenuActions as ye } from "../../../hooks/messages/useMessageMenuActions.js";
|
|
15
|
+
import { useMessageLinks as Se } from "../../../hooks/messages/useMessageLinks.js";
|
|
16
|
+
import { useChannelAccentColor as Re } from "../../../hooks/messages/useChannelAccentColor.js";
|
|
17
|
+
import { useStartReply as we } from "../../../hooks/messages/useStartReply.js";
|
|
18
|
+
import { useTheme as ke } 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 C } from "../../../hooks/messages/buildReplyPayload.js";
|
|
24
|
+
import { getStatus as Ae, getStatusTitle as Le } from "../../../functions/getStatusMessage.js";
|
|
25
|
+
import { getMessageClass as Ie } from "../../../functions/getMessageClass.js";
|
|
26
|
+
import { createReactionHandlers as Ce } from "../../../functions/createReactionHandlers.js";
|
|
27
27
|
import "../../../functions/parseMarkdown.js";
|
|
28
|
-
import { isAnimatedSticker as
|
|
28
|
+
import { isAnimatedSticker as Te } from "./utils/stickerUtils.js";
|
|
29
29
|
import "./utils/suppress-lit-warning.js";
|
|
30
|
-
const
|
|
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({
|
|
30
|
+
const it = /* @__PURE__ */ ie({
|
|
43
31
|
__name: "StickerMessage",
|
|
44
32
|
props: {
|
|
45
33
|
message: {
|
|
@@ -61,7 +49,7 @@ const ze = ["messageId"], Ge = ["src"], Qe = {
|
|
|
61
49
|
reactionsMode: {
|
|
62
50
|
type: String,
|
|
63
51
|
default: "single",
|
|
64
|
-
validator: (
|
|
52
|
+
validator: (l) => ["single", "multi"].includes(l)
|
|
65
53
|
},
|
|
66
54
|
currentUserId: {
|
|
67
55
|
type: [String, Number],
|
|
@@ -78,325 +66,95 @@ const ze = ["messageId"], Ge = ["src"], Qe = {
|
|
|
78
66
|
}
|
|
79
67
|
},
|
|
80
68
|
emits: ["action", "reply", "sms-invite"],
|
|
81
|
-
setup(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
() =>
|
|
85
|
-
() =>
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
69
|
+
setup(l, { expose: T, emit: _ }) {
|
|
70
|
+
T();
|
|
71
|
+
const m = ae("chatAppId"), { getTheme: E } = ke(m || ""), { menuActions: p } = ye(() => e.message), { hoverActionsEnabled: F, reactionsActive: g } = be(
|
|
72
|
+
() => e.channel,
|
|
73
|
+
() => e.reactionsEnabled,
|
|
74
|
+
() => e.message
|
|
75
|
+
), { startReply: d } = we(m || ""), n = s(!1), i = s(!1);
|
|
76
|
+
async function u() {
|
|
77
|
+
if (!(n.value || i.value)) {
|
|
78
|
+
i.value = !0;
|
|
90
79
|
try {
|
|
91
|
-
await import("./libs/tgs-player/lottie-player.esm.js"), await import("./libs/tgs-player/tgs-player.esm.js"),
|
|
92
|
-
} catch (
|
|
93
|
-
console.error("Failed to load TGS libraries:",
|
|
80
|
+
await import("./libs/tgs-player/lottie-player.esm.js"), await import("./libs/tgs-player/tgs-player.esm.js"), n.value = !0;
|
|
81
|
+
} catch (t) {
|
|
82
|
+
console.error("Failed to load TGS libraries:", t);
|
|
94
83
|
} finally {
|
|
95
|
-
|
|
84
|
+
i.value = !1;
|
|
96
85
|
}
|
|
97
86
|
}
|
|
98
87
|
}
|
|
99
|
-
const
|
|
100
|
-
isOpenMenu:
|
|
101
|
-
buttonMenuVisible:
|
|
102
|
-
menuAnchorRef:
|
|
103
|
-
menuRef:
|
|
104
|
-
menuStyle:
|
|
105
|
-
menuTheme:
|
|
106
|
-
showMenu:
|
|
107
|
-
hideMenu:
|
|
108
|
-
openMenu:
|
|
109
|
-
toggleMenu:
|
|
110
|
-
onMenuMouseEnter:
|
|
111
|
-
onMenuMouseLeave:
|
|
112
|
-
clickAction:
|
|
113
|
-
viewsAction:
|
|
114
|
-
handleClickReplied:
|
|
115
|
-
} =
|
|
116
|
-
onReply: () =>
|
|
117
|
-
}),
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
|
|
88
|
+
const e = l, a = _, f = s(!1), {
|
|
89
|
+
isOpenMenu: P,
|
|
90
|
+
buttonMenuVisible: j,
|
|
91
|
+
menuAnchorRef: O,
|
|
92
|
+
menuRef: x,
|
|
93
|
+
menuStyle: H,
|
|
94
|
+
menuTheme: V,
|
|
95
|
+
showMenu: M,
|
|
96
|
+
hideMenu: B,
|
|
97
|
+
openMenu: v,
|
|
98
|
+
toggleMenu: N,
|
|
99
|
+
onMenuMouseEnter: q,
|
|
100
|
+
onMenuMouseLeave: D,
|
|
101
|
+
clickAction: U,
|
|
102
|
+
viewsAction: $,
|
|
103
|
+
handleClickReplied: G
|
|
104
|
+
} = ve(e.message, a, {
|
|
105
|
+
onReply: () => d(C(e.message, "message.sticker"))
|
|
106
|
+
}), b = s(!1), { linkedHtml: Q, inNewWindow: W } = Se(() => e.message.text), z = () => {
|
|
107
|
+
M(), b.value = !0;
|
|
108
|
+
}, J = o(() => Ae(e.message.status)), K = o(() => Le(e.message.status, e.message.statusMsg)), { bubbleStyle: X } = Re(
|
|
109
|
+
o(() => e.message),
|
|
121
110
|
{ cssVariable: "--chotto-stickermessage-right-bg", position: "right" }
|
|
122
|
-
),
|
|
123
|
-
if (
|
|
124
|
-
const
|
|
125
|
-
return !/\.(webp|png|jpe?g|gif|bmp|svg)(\?|#|$)/.test(
|
|
111
|
+
), r = o(() => Te(e.message.url, e.message.isAnimated)), h = s(!1), Y = o(() => {
|
|
112
|
+
if (r.value) return !1;
|
|
113
|
+
const t = String(e.message.url || "").toLowerCase();
|
|
114
|
+
return !/\.(webp|png|jpe?g|gif|bmp|svg)(\?|#|$)/.test(t);
|
|
126
115
|
});
|
|
127
|
-
|
|
128
|
-
() =>
|
|
116
|
+
I(
|
|
117
|
+
() => e.message.url,
|
|
129
118
|
() => {
|
|
130
|
-
|
|
119
|
+
h.value = !1;
|
|
131
120
|
},
|
|
132
121
|
{ immediate: !0 }
|
|
133
|
-
),
|
|
134
|
-
|
|
135
|
-
}, { immediate: !0 }),
|
|
136
|
-
|
|
122
|
+
), I(r, (t) => {
|
|
123
|
+
t && !n.value && u();
|
|
124
|
+
}, { immediate: !0 }), re(() => {
|
|
125
|
+
r.value && !n.value && u();
|
|
137
126
|
});
|
|
138
|
-
function
|
|
139
|
-
return
|
|
127
|
+
function Z(t) {
|
|
128
|
+
return Ie(t.position, "sticker-message");
|
|
140
129
|
}
|
|
141
|
-
const
|
|
142
|
-
var
|
|
143
|
-
const
|
|
144
|
-
return
|
|
145
|
-
}), { showReactions:
|
|
146
|
-
message: () =>
|
|
147
|
-
messageId: () =>
|
|
148
|
-
reactions: () =>
|
|
149
|
-
reactionsActive:
|
|
150
|
-
reactionsMode: () =>
|
|
151
|
-
reply: () =>
|
|
152
|
-
menuEnabled: () =>
|
|
153
|
-
contentRef:
|
|
154
|
-
chipsRef:
|
|
130
|
+
const ee = () => f.value = !1, { onToggleReaction: y, onAddReaction: S, onRemoveReaction: R } = Ce(a), w = s(null), k = s(null), A = o(() => {
|
|
131
|
+
var c;
|
|
132
|
+
const t = (c = k.value) == null ? void 0 : c.$el;
|
|
133
|
+
return t instanceof HTMLElement ? t : null;
|
|
134
|
+
}), { showReactions: te, onContentPointerEnter: se, onContentPointerLeave: oe } = he({
|
|
135
|
+
message: () => e.message,
|
|
136
|
+
messageId: () => e.message.messageId,
|
|
137
|
+
reactions: () => e.message.reactions,
|
|
138
|
+
reactionsActive: g,
|
|
139
|
+
reactionsMode: () => e.reactionsMode,
|
|
140
|
+
reply: () => C(e.message, "message.sticker"),
|
|
141
|
+
menuEnabled: () => p.value.length > 0,
|
|
142
|
+
contentRef: w,
|
|
143
|
+
chipsRef: A,
|
|
155
144
|
handlers: {
|
|
156
|
-
onToggleReaction:
|
|
157
|
-
onAddReaction:
|
|
158
|
-
onRemoveReaction:
|
|
159
|
-
onMenu:
|
|
145
|
+
onToggleReaction: y,
|
|
146
|
+
onAddReaction: S,
|
|
147
|
+
onRemoveReaction: R,
|
|
148
|
+
onMenu: v
|
|
160
149
|
}
|
|
161
150
|
});
|
|
162
|
-
function
|
|
163
|
-
|
|
151
|
+
function ne() {
|
|
152
|
+
a("sms-invite", e.message);
|
|
164
153
|
}
|
|
165
|
-
|
|
166
|
-
|
|
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));
|
|
154
|
+
const L = { chatAppId: m, getTheme: E, menuActions: p, hoverActionsEnabled: F, reactionsActive: g, startReply: d, tgsLibsLoaded: n, tgsLibsLoading: i, loadTgsLibs: u, props: e, emit: a, isOpenModal: f, isOpenMenu: P, buttonMenuVisible: j, menuAnchorRef: O, menuRef: x, menuStyle: H, menuTheme: V, baseShowMenu: M, hideMenu: B, openMenu: v, toggleMenu: N, onMenuMouseEnter: q, onMenuMouseLeave: D, clickAction: U, viewsAction: $, handleClickReplied: G, buttonDownloadVisible: b, linkedHtml: Q, inNewWindow: W, showMenu: z, status: J, statusTitle: K, rightBubbleStyle: X, isTgsFile: r, videoFailed: h, shouldTryVideo: Y, getClass: Z, closeModal: ee, onToggleReaction: y, onAddReaction: S, onRemoveReaction: R, contentRef: w, reactionsRef: k, chipsRef: A, showReactions: te, onContentPointerEnter: se, onContentPointerLeave: oe, handleSmsInvite: ne, ContextMenu: le, LinkPreview: me, EmbedPreview: ue, FeedReplyQuote: ce, ModalFullscreen: pe, MessageReactions: ge, MessageStatusIndicator: de, MessageSmsInvite: fe, DeletedMessageContent: Me };
|
|
155
|
+
return Object.defineProperty(L, "__isScriptSetup", { enumerable: !1, value: !0 }), L;
|
|
398
156
|
}
|
|
399
157
|
});
|
|
400
158
|
export {
|
|
401
|
-
|
|
159
|
+
it as default
|
|
402
160
|
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "./SystemMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as c, toDisplayString as r } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import a from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _ = { class: "system-message__container" }, m = { class: "system-message__text" };
|
|
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"]]);
|
|
5
18
|
export {
|
|
6
|
-
|
|
19
|
+
v as default
|
|
7
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
const _ = /* @__PURE__ */ r({
|
|
3
3
|
__name: "SystemMessage",
|
|
4
4
|
props: {
|
|
5
5
|
message: {
|
|
@@ -7,12 +7,12 @@ const c = { class: "system-message__container" }, r = { class: "system-message__
|
|
|
7
7
|
required: !0
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setup(s, { expose: t }) {
|
|
11
|
+
t();
|
|
12
|
+
const e = {};
|
|
13
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
_ as default
|
|
18
18
|
};
|