@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,36 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useFeedButton as
|
|
11
|
-
import { useFeedComponents as
|
|
12
|
-
import { useFeedGrouping as
|
|
13
|
-
import { useFeedKeyboard as
|
|
14
|
-
import { useFeedLoadMore as
|
|
15
|
-
import { useFeedMessageVisibility as
|
|
16
|
-
import { useFeedProgressiveRender as
|
|
17
|
-
import { provideFeedReactionsOverlay as
|
|
18
|
-
import { useFeedReply as
|
|
19
|
-
import { useFeedScroll as
|
|
20
|
-
import { useFeedScrollTo as
|
|
21
|
-
import { useStickyDate as
|
|
22
|
-
import { throttle as
|
|
23
|
-
import { getDefaultMessageMenuActions as
|
|
24
|
-
import { isSmsFeedMessage as
|
|
1
|
+
import { defineComponent as he, ref as M, computed as r, provide as k, inject as E, unref as Me, watch as v, nextTick as I, onMounted as ke } from "vue";
|
|
2
|
+
import ve from "../../2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
|
|
3
|
+
import Ie from "../../2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
|
|
4
|
+
import Re from "../../2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js";
|
|
5
|
+
import Se from "../../2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
|
|
6
|
+
import Be from "../../2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
|
|
7
|
+
import je from "../../2_feed_elements/TypingMessage/TypingMessage.vue.js";
|
|
8
|
+
import Fe from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
|
|
9
|
+
import Ae from "../../2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js";
|
|
10
|
+
import { useFeedButton as Ce } from "./composables/useFeedButton.js";
|
|
11
|
+
import { useFeedComponents as Te } from "./composables/useFeedComponents.js";
|
|
12
|
+
import { useFeedGrouping as De } from "./composables/useFeedGrouping.js";
|
|
13
|
+
import { useFeedKeyboard as Oe } from "./composables/useFeedKeyboard.js";
|
|
14
|
+
import { useFeedLoadMore as xe } from "./composables/useFeedLoadMore.js";
|
|
15
|
+
import { useFeedMessageVisibility as we } from "./composables/useFeedMessageVisibility.js";
|
|
16
|
+
import { useFeedProgressiveRender as Ke } from "./composables/useFeedProgressiveRender.js";
|
|
17
|
+
import { provideFeedReactionsOverlay as _e } from "./composables/useFeedReactionsOverlay.js";
|
|
18
|
+
import { useFeedReply as Ue } from "./composables/useFeedReply.js";
|
|
19
|
+
import { useFeedScroll as qe } from "./composables/useFeedScroll.js";
|
|
20
|
+
import { useFeedScrollTo as Ne } from "./composables/useFeedScrollTo.js";
|
|
21
|
+
import { useStickyDate as Ee } from "./composables/useStickyDate.js";
|
|
22
|
+
import { throttle as Pe } from "./functions/throttle.js";
|
|
23
|
+
import { getDefaultMessageMenuActions as We } from "./utils/getDefaultMessageMenuActions.js";
|
|
24
|
+
import { isSmsFeedMessage as Le } from "../../../functions/isSmsChannel.js";
|
|
25
25
|
import "../../../functions/parseMarkdown.js";
|
|
26
|
-
import
|
|
27
|
-
const
|
|
28
|
-
class: "message-feed-wrapper",
|
|
29
|
-
"data-testid": "feed"
|
|
30
|
-
}, ct = ["id"], ut = { class: "message-feed__loading" }, mt = { style: { margin: "auto" } }, ft = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "message-feed__unread-amount"
|
|
33
|
-
}, qt = /* @__PURE__ */ Te({
|
|
26
|
+
import Ve from "./assets/chat-background.svg.js";
|
|
27
|
+
const bt = /* @__PURE__ */ he({
|
|
34
28
|
__name: "Feed",
|
|
35
29
|
props: {
|
|
36
30
|
/**
|
|
@@ -69,7 +63,7 @@ const dt = {
|
|
|
69
63
|
keyboardAlign: {
|
|
70
64
|
type: String,
|
|
71
65
|
default: "right",
|
|
72
|
-
validator: (
|
|
66
|
+
validator: (i) => ["left", "center", "right"].includes(i)
|
|
73
67
|
},
|
|
74
68
|
feedKeyboards: {
|
|
75
69
|
type: Array,
|
|
@@ -79,7 +73,7 @@ const dt = {
|
|
|
79
73
|
feedKeyboardAlign: {
|
|
80
74
|
type: String,
|
|
81
75
|
default: "right",
|
|
82
|
-
validator: (
|
|
76
|
+
validator: (i) => ["left", "center", "right"].includes(i)
|
|
83
77
|
},
|
|
84
78
|
chatBackground: {
|
|
85
79
|
type: String,
|
|
@@ -96,7 +90,7 @@ const dt = {
|
|
|
96
90
|
reactionsMode: {
|
|
97
91
|
type: String,
|
|
98
92
|
default: "single",
|
|
99
|
-
validator: (
|
|
93
|
+
validator: (i) => ["single", "multi"].includes(i)
|
|
100
94
|
},
|
|
101
95
|
/** Id текущего пользователя — для расчёта «моих» реакций */
|
|
102
96
|
currentUserId: {
|
|
@@ -128,7 +122,7 @@ const dt = {
|
|
|
128
122
|
*/
|
|
129
123
|
messageMenuActions: {
|
|
130
124
|
type: Array,
|
|
131
|
-
default: () =>
|
|
125
|
+
default: () => We()
|
|
132
126
|
}
|
|
133
127
|
},
|
|
134
128
|
emits: [
|
|
@@ -143,309 +137,171 @@ const dt = {
|
|
|
143
137
|
"smsInvite",
|
|
144
138
|
"delimiterRead"
|
|
145
139
|
],
|
|
146
|
-
setup(
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
140
|
+
setup(i, { expose: P, emit: W }) {
|
|
141
|
+
P();
|
|
142
|
+
const t = i, d = M(), l = M(), R = M(), {
|
|
143
|
+
isShowButton: L,
|
|
144
|
+
isKeyboardPlace: S,
|
|
145
|
+
checkButtonVisibility: B
|
|
146
|
+
} = Ce({
|
|
147
|
+
feedRef: l,
|
|
148
|
+
keyboardRef: R
|
|
149
|
+
}), { componentsMap: V } = Te(), $ = r(() => t.reactionsEnabled);
|
|
150
|
+
_e();
|
|
151
|
+
const z = r(() => t.reactionsMode), j = r(() => t.currentUserId), F = r(() => t.reactionUserNames);
|
|
152
|
+
k("currentUserId", j), k("reactionUserNames", F), k(
|
|
158
153
|
"messageMenuActions",
|
|
159
|
-
|
|
154
|
+
r(() => t.messageMenuActions)
|
|
160
155
|
);
|
|
161
|
-
const { seriesFlags:
|
|
162
|
-
objects:
|
|
156
|
+
const { seriesFlags: G } = De({
|
|
157
|
+
objects: r(() => t.objects)
|
|
163
158
|
}), {
|
|
164
|
-
visibleObjects:
|
|
165
|
-
renderStart:
|
|
166
|
-
isBackfilling:
|
|
167
|
-
revealThroughIndex:
|
|
168
|
-
accelerateBackfill:
|
|
169
|
-
} =
|
|
170
|
-
objectsRef:
|
|
171
|
-
feedRef:
|
|
172
|
-
}),
|
|
173
|
-
if (
|
|
174
|
-
return
|
|
159
|
+
visibleObjects: H,
|
|
160
|
+
renderStart: m,
|
|
161
|
+
isBackfilling: A,
|
|
162
|
+
revealThroughIndex: C,
|
|
163
|
+
accelerateBackfill: T
|
|
164
|
+
} = Ke({
|
|
165
|
+
objectsRef: r(() => t.objects),
|
|
166
|
+
feedRef: l
|
|
167
|
+
}), f = E("chatAppId"), p = E("selectedChat", void 0), g = r(() => {
|
|
168
|
+
if (p)
|
|
169
|
+
return Me(p);
|
|
175
170
|
});
|
|
176
|
-
function
|
|
177
|
-
return
|
|
171
|
+
function J(e) {
|
|
172
|
+
return e.timestamp;
|
|
178
173
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
174
|
+
function Q(e, o) {
|
|
175
|
+
return e.messageId || `mid-${m.value + o}`;
|
|
181
176
|
}
|
|
182
|
-
function
|
|
183
|
-
var
|
|
184
|
-
const
|
|
185
|
-
return
|
|
177
|
+
function X(e) {
|
|
178
|
+
var s;
|
|
179
|
+
const o = (s = e.reactions) == null ? void 0 : s.items;
|
|
180
|
+
return o != null && o.length ? o.map((n) => `${n.key}:${n.userId}`).join(",") : "";
|
|
186
181
|
}
|
|
187
|
-
function
|
|
188
|
-
var
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
191
|
-
if (!
|
|
182
|
+
function D(e) {
|
|
183
|
+
var c, u, N;
|
|
184
|
+
const o = e, s = o.channelId || ((c = o.channel) == null ? void 0 : c.channelId) || ((u = o.meta) == null ? void 0 : u.channelId);
|
|
185
|
+
if (s) return String(s);
|
|
186
|
+
if (!o.dialogId || !((N = g.value) != null && N.dialogs))
|
|
192
187
|
return;
|
|
193
|
-
const
|
|
194
|
-
return
|
|
188
|
+
const n = g.value.dialogs.find((be) => be.dialogId === o.dialogId);
|
|
189
|
+
return n == null ? void 0 : n.channelId;
|
|
195
190
|
}
|
|
196
|
-
function
|
|
197
|
-
return
|
|
191
|
+
function Y(e) {
|
|
192
|
+
return e.type === "message.call" && typeof t.callMessageOnCallback == "function" ? { onCall: t.callMessageOnCallback } : {};
|
|
198
193
|
}
|
|
199
|
-
const
|
|
200
|
-
checkScrollPosition:
|
|
201
|
-
startScrollWatch:
|
|
202
|
-
stopScrollWatch:
|
|
203
|
-
resetAllowFlags:
|
|
204
|
-
} =
|
|
205
|
-
feedRef:
|
|
206
|
-
emit:
|
|
207
|
-
isLoadingMoreRef:
|
|
194
|
+
const a = W, {
|
|
195
|
+
checkScrollPosition: O,
|
|
196
|
+
startScrollWatch: Z,
|
|
197
|
+
stopScrollWatch: ee,
|
|
198
|
+
resetAllowFlags: x
|
|
199
|
+
} = xe({
|
|
200
|
+
feedRef: l,
|
|
201
|
+
emit: a,
|
|
202
|
+
isLoadingMoreRef: r(() => t.isLoadingMore)
|
|
208
203
|
}), {
|
|
209
|
-
getMessage:
|
|
210
|
-
messageAction:
|
|
211
|
-
handleClickReplied:
|
|
212
|
-
feedObjectDoubleClick:
|
|
213
|
-
handleResetReply:
|
|
214
|
-
handleResetEdit:
|
|
215
|
-
} =
|
|
216
|
-
enableDoubleClickReply:
|
|
217
|
-
emit:
|
|
218
|
-
isReplyAllowed: (
|
|
204
|
+
getMessage: te,
|
|
205
|
+
messageAction: oe,
|
|
206
|
+
handleClickReplied: se,
|
|
207
|
+
feedObjectDoubleClick: re,
|
|
208
|
+
handleResetReply: ne,
|
|
209
|
+
handleResetEdit: ae
|
|
210
|
+
} = Ue({
|
|
211
|
+
enableDoubleClickReply: t.enableDoubleClickReply,
|
|
212
|
+
emit: a,
|
|
213
|
+
isReplyAllowed: (e) => !Le(e, D(e))
|
|
219
214
|
});
|
|
220
|
-
function
|
|
221
|
-
|
|
215
|
+
function ie(e) {
|
|
216
|
+
a("smsInvite", e);
|
|
222
217
|
}
|
|
223
|
-
function
|
|
224
|
-
|
|
218
|
+
function le(e) {
|
|
219
|
+
a("delimiterRead", e);
|
|
225
220
|
}
|
|
226
221
|
const {
|
|
227
|
-
showKeyboard:
|
|
228
|
-
keyboardAction:
|
|
229
|
-
feedKeyboardAction:
|
|
230
|
-
} =
|
|
231
|
-
isKeyboardPlace:
|
|
232
|
-
objects:
|
|
233
|
-
emit:
|
|
222
|
+
showKeyboard: ce,
|
|
223
|
+
keyboardAction: de,
|
|
224
|
+
feedKeyboardAction: ue
|
|
225
|
+
} = Oe({
|
|
226
|
+
isKeyboardPlace: S,
|
|
227
|
+
objects: r(() => t.objects),
|
|
228
|
+
emit: a
|
|
234
229
|
}), {
|
|
235
|
-
showStickyDate:
|
|
236
|
-
stickyDateText:
|
|
237
|
-
show:
|
|
238
|
-
} =
|
|
239
|
-
feedRef:
|
|
240
|
-
trackingObjects:
|
|
230
|
+
showStickyDate: me,
|
|
231
|
+
stickyDateText: fe,
|
|
232
|
+
show: y
|
|
233
|
+
} = Ee({
|
|
234
|
+
feedRef: l,
|
|
235
|
+
trackingObjects: d
|
|
241
236
|
}), {
|
|
242
|
-
isInitialized:
|
|
243
|
-
initializeScroll:
|
|
244
|
-
smoothScrollToBottom:
|
|
245
|
-
} =
|
|
246
|
-
feedRef:
|
|
247
|
-
objectsRef:
|
|
248
|
-
scrollToBottomRef:
|
|
249
|
-
}),
|
|
250
|
-
function
|
|
251
|
-
if (
|
|
252
|
-
const
|
|
253
|
-
|
|
237
|
+
isInitialized: w,
|
|
238
|
+
initializeScroll: K,
|
|
239
|
+
smoothScrollToBottom: _
|
|
240
|
+
} = qe({
|
|
241
|
+
feedRef: l,
|
|
242
|
+
objectsRef: r(() => t.objects),
|
|
243
|
+
scrollToBottomRef: r(() => t.scrollToBottom)
|
|
244
|
+
}), pe = r(() => t.chatBackground ?? `data:image/svg+xml;charset=utf-8,${encodeURIComponent(Ve)}`);
|
|
245
|
+
function b(e = !0) {
|
|
246
|
+
if (B(), A.value) {
|
|
247
|
+
const o = l.value;
|
|
248
|
+
o && o.scrollTop < 300 && T(), y();
|
|
254
249
|
return;
|
|
255
250
|
}
|
|
256
|
-
|
|
251
|
+
O(e), y();
|
|
257
252
|
}
|
|
258
|
-
const
|
|
259
|
-
function
|
|
260
|
-
|
|
253
|
+
const ge = Pe(() => b(), 250);
|
|
254
|
+
function ye() {
|
|
255
|
+
a("forceScrollToBottom"), _();
|
|
261
256
|
}
|
|
262
|
-
function
|
|
263
|
-
const
|
|
264
|
-
if (
|
|
265
|
-
const
|
|
266
|
-
return s
|
|
257
|
+
function U(e) {
|
|
258
|
+
const o = t.objects;
|
|
259
|
+
if (e.startsWith("mid-")) {
|
|
260
|
+
const s = parseInt(e.slice(4), 10);
|
|
261
|
+
return o[s];
|
|
267
262
|
}
|
|
268
|
-
return
|
|
263
|
+
return o.find((s) => s.messageId === e);
|
|
269
264
|
}
|
|
270
|
-
const { restartObserving:
|
|
271
|
-
trackingObjects:
|
|
272
|
-
chatAppId:
|
|
273
|
-
getMessageById:
|
|
274
|
-
onMessageVisible: (
|
|
265
|
+
const { restartObserving: h } = we({
|
|
266
|
+
trackingObjects: d,
|
|
267
|
+
chatAppId: f,
|
|
268
|
+
getMessageById: U,
|
|
269
|
+
onMessageVisible: (e) => a("messageVisible", e)
|
|
275
270
|
});
|
|
276
|
-
|
|
277
|
-
() =>
|
|
271
|
+
v(
|
|
272
|
+
() => t.objects,
|
|
278
273
|
() => {
|
|
279
|
-
|
|
274
|
+
I(() => {
|
|
280
275
|
requestAnimationFrame(() => {
|
|
281
|
-
|
|
276
|
+
x(), b(!1), d.value = document.querySelectorAll(".tracking-message"), h();
|
|
282
277
|
});
|
|
283
278
|
});
|
|
284
279
|
},
|
|
285
280
|
{ immediate: !0 }
|
|
286
|
-
),
|
|
287
|
-
|
|
288
|
-
|
|
281
|
+
), v(m, () => {
|
|
282
|
+
I(() => {
|
|
283
|
+
d.value = document.querySelectorAll(".tracking-message"), h();
|
|
289
284
|
});
|
|
290
|
-
}),
|
|
291
|
-
() =>
|
|
292
|
-
(
|
|
293
|
-
if (!
|
|
294
|
-
const
|
|
295
|
-
let
|
|
296
|
-
|
|
285
|
+
}), v(
|
|
286
|
+
() => t.scrollTo,
|
|
287
|
+
(e) => {
|
|
288
|
+
if (!e) return;
|
|
289
|
+
const o = t.objects, s = e.trim(), n = s.startsWith("msg-") ? s.slice(4) : s;
|
|
290
|
+
let c = -1;
|
|
291
|
+
n.startsWith("mid-") ? c = Number.parseInt(n.slice(4), 10) : c = o.findIndex((u) => u.messageId === n || u.messageId === s), Number.isFinite(c) && C(c);
|
|
297
292
|
}
|
|
298
|
-
),
|
|
299
|
-
targetIdRef:
|
|
300
|
-
feedContainerId: `feed-container-${
|
|
301
|
-
}),
|
|
302
|
-
|
|
303
|
-
|
|
293
|
+
), Ne({
|
|
294
|
+
targetIdRef: r(() => t.scrollTo),
|
|
295
|
+
feedContainerId: `feed-container-${f}`
|
|
296
|
+
}), ke(() => {
|
|
297
|
+
I(() => {
|
|
298
|
+
t.objects.length > 0 && !w.value && K();
|
|
304
299
|
});
|
|
305
|
-
})
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
id: "feed-container-" + o(b),
|
|
309
|
-
ref_key: "refFeed",
|
|
310
|
-
ref: u,
|
|
311
|
-
class: "message-feed",
|
|
312
|
-
"data-testid": "feed-scroll",
|
|
313
|
-
style: H({ backgroundImage: `url(${P.value})` }),
|
|
314
|
-
onScroll: s[2] || (s[2] = (e) => o(Be)()),
|
|
315
|
-
onMousedown: s[3] || (s[3] = //@ts-ignore
|
|
316
|
-
(...e) => o(j) && o(j)(...e)),
|
|
317
|
-
onMouseup: s[4] || (s[4] = //@ts-ignore
|
|
318
|
-
(...e) => o(q) && o(q)(...e))
|
|
319
|
-
}, [
|
|
320
|
-
J(t.$slots, "prepend", {}, void 0, !0),
|
|
321
|
-
we(C("div", ut, [
|
|
322
|
-
p(ze, {
|
|
323
|
-
"is-loading": a.isLoadingMore,
|
|
324
|
-
size: "small",
|
|
325
|
-
position: "top"
|
|
326
|
-
}, null, 8, ["is-loading"])
|
|
327
|
-
], 512), [
|
|
328
|
-
[Ke, a.isLoadingMore]
|
|
329
|
-
]),
|
|
330
|
-
p(T, null, {
|
|
331
|
-
default: D(() => [
|
|
332
|
-
o(Me) && !a.isLoadingMore ? (i(), f(je, {
|
|
333
|
-
key: 0,
|
|
334
|
-
class: "message-feed__sticky-date",
|
|
335
|
-
text: o(Re)
|
|
336
|
-
}, null, 8, ["text"])) : c("", !0)
|
|
337
|
-
]),
|
|
338
|
-
_: 1
|
|
339
|
-
}),
|
|
340
|
-
(i(!0), y(xe, null, Oe(o(se), (e, r, m, d) => {
|
|
341
|
-
const k = [e.messageId, e.text, e.status, e.reply, e.deleted, o($)[o(h) + r], ie(e)];
|
|
342
|
-
if (d && d.key === M(e, r) && $e(d, k)) return d;
|
|
343
|
-
const I = (i(), y("div", {
|
|
344
|
-
id: "msg-" + M(e, r),
|
|
345
|
-
key: M(e, r),
|
|
346
|
-
"data-timestamp": re(e),
|
|
347
|
-
"data-testid": "feed-message",
|
|
348
|
-
"data-message-id": e.messageId,
|
|
349
|
-
class: "tracking-message",
|
|
350
|
-
onDblclick: (z) => o(fe)(z, e)
|
|
351
|
-
}, [
|
|
352
|
-
(i(), f(Ne(o(ee)(e)), Le({
|
|
353
|
-
key: M(e, r),
|
|
354
|
-
class: "message-feed__message",
|
|
355
|
-
message: e,
|
|
356
|
-
"apply-style": a.applyStyle,
|
|
357
|
-
"is-first-in-series": o($)[o(h) + r],
|
|
358
|
-
"reactions-enabled": K.value,
|
|
359
|
-
"reactions-mode": te.value,
|
|
360
|
-
"current-user-id": x.value,
|
|
361
|
-
"reaction-user-names": O.value,
|
|
362
|
-
"subtext-tooltip-data": a.subtextTooltipData,
|
|
363
|
-
channel: U(e)
|
|
364
|
-
}, { ref_for: !0 }, le(e), {
|
|
365
|
-
onAction: o(ue),
|
|
366
|
-
onReply: o(me),
|
|
367
|
-
onSmsInvite: (z) => pe(e),
|
|
368
|
-
onRead: be
|
|
369
|
-
}), null, 16, ["message", "apply-style", "is-first-in-series", "reactions-enabled", "reactions-mode", "current-user-id", "reaction-user-names", "subtext-tooltip-data", "channel", "onAction", "onReply", "onSmsInvite"]))
|
|
370
|
-
], 40, ["id", "data-timestamp", "data-message-id", "onDblclick"]));
|
|
371
|
-
return I.memo = k, I;
|
|
372
|
-
}, s, 0), 128)),
|
|
373
|
-
a.typing ? (i(), f(We, {
|
|
374
|
-
key: 0,
|
|
375
|
-
message: {
|
|
376
|
-
subText: a.typing.title,
|
|
377
|
-
avatar: a.typing.avatar
|
|
378
|
-
}
|
|
379
|
-
}, null, 8, ["message"])) : c("", !0),
|
|
380
|
-
p(T, null, {
|
|
381
|
-
default: D(() => [
|
|
382
|
-
o(ke) ? (i(), f(Pe, {
|
|
383
|
-
key: 0,
|
|
384
|
-
ref_key: "keyboardRef",
|
|
385
|
-
ref: w,
|
|
386
|
-
class: "message-feed__keyboard",
|
|
387
|
-
keyboard: a.objects[a.objects.length - 1].keyboard,
|
|
388
|
-
align: a.keyboardAlign,
|
|
389
|
-
onAction: o(ve)
|
|
390
|
-
}, null, 8, ["keyboard", "align", "onAction"])) : c("", !0)
|
|
391
|
-
]),
|
|
392
|
-
_: 1
|
|
393
|
-
}),
|
|
394
|
-
a.feedKeyboards && a.feedKeyboards.length > 0 ? (i(), f(Ve, {
|
|
395
|
-
key: 1,
|
|
396
|
-
class: "message-feed__feed-keyboard",
|
|
397
|
-
buttons: a.feedKeyboards,
|
|
398
|
-
align: a.feedKeyboardAlign,
|
|
399
|
-
onAction: o(he)
|
|
400
|
-
}, null, 8, ["buttons", "align", "onAction"])) : c("", !0)
|
|
401
|
-
], 44, ct)) : (i(), y("div", {
|
|
402
|
-
key: 1,
|
|
403
|
-
ref_key: "refFeed",
|
|
404
|
-
ref: u,
|
|
405
|
-
class: "message-feed",
|
|
406
|
-
style: H({ backgroundImage: `url(${P.value})` })
|
|
407
|
-
}, [
|
|
408
|
-
C("div", mt, [
|
|
409
|
-
J(t.$slots, "empty-feed", {}, void 0, !0)
|
|
410
|
-
])
|
|
411
|
-
], 4)),
|
|
412
|
-
p(T, null, {
|
|
413
|
-
default: D(() => [
|
|
414
|
-
o(Y) ? (i(), y("button", {
|
|
415
|
-
key: 0,
|
|
416
|
-
class: "message-feed__button-down",
|
|
417
|
-
onClick: Fe
|
|
418
|
-
}, [
|
|
419
|
-
a.buttonParams ? (i(), y("div", ft, Ue(a.buttonParams.unreadAmount), 1)) : c("", !0),
|
|
420
|
-
s[5] || (s[5] = C("span", { class: "pi pi-angle-down message-feed__icon-down" }, null, -1))
|
|
421
|
-
])) : c("", !0)
|
|
422
|
-
]),
|
|
423
|
-
_: 1
|
|
424
|
-
}),
|
|
425
|
-
o(R)().reply ? (i(), f(Q, {
|
|
426
|
-
key: 2,
|
|
427
|
-
to: "#chat-input-reply-line-" + o(b)
|
|
428
|
-
}, [
|
|
429
|
-
p(qe, {
|
|
430
|
-
class: "chat-input-reply",
|
|
431
|
-
message: o(R)().reply,
|
|
432
|
-
onReset: o(ge)
|
|
433
|
-
}, null, 8, ["message", "onReset"])
|
|
434
|
-
], 8, ["to"])) : c("", !0),
|
|
435
|
-
o(R)().edit ? (i(), f(Q, {
|
|
436
|
-
key: 3,
|
|
437
|
-
to: "#chat-input-reply-line-" + o(b)
|
|
438
|
-
}, [
|
|
439
|
-
p(Ee, {
|
|
440
|
-
class: "chat-input-reply",
|
|
441
|
-
message: o(R)().edit,
|
|
442
|
-
onReset: o(ye)
|
|
443
|
-
}, null, 8, ["message", "onReset"])
|
|
444
|
-
], 8, ["to"])) : c("", !0),
|
|
445
|
-
K.value ? (i(), f(Ge, { key: 4 })) : c("", !0)
|
|
446
|
-
]));
|
|
300
|
+
});
|
|
301
|
+
const q = { props: t, trackingObjects: d, refFeed: l, keyboardRef: R, isShowButton: L, isKeyboardPlace: S, checkButtonVisibility: B, componentsMap: V, reactionsEnabled: $, reactionsMode: z, currentUserId: j, reactionUserNames: F, seriesFlags: G, visibleObjects: H, renderStart: m, isBackfilling: A, revealThroughIndex: C, accelerateBackfill: T, chatAppId: f, selectedChatInjected: p, selectedChat: g, getMessageTimestamp: J, feedItemKey: Q, feedReactionsMemoKey: X, getChannelForMessage: D, getExtraMessageProps: Y, emit: a, checkScrollPosition: O, startScrollWatch: Z, stopScrollWatch: ee, resetAllowFlags: x, getMessage: te, messageAction: oe, handleClickReplied: se, feedObjectDoubleClick: re, handleResetReply: ne, handleResetEdit: ae, handleSmsInvite: ie, handleDelimiterRead: le, showKeyboard: ce, keyboardAction: de, feedKeyboardAction: ue, showStickyDate: me, stickyDateText: fe, showStickyDateComponent: y, isInitialized: w, initializeScroll: K, smoothScrollToBottom: _, defaultBackground: pe, scrollTopCheck: b, throttledScrollTopCheck: ge, scrollToBottomForce: ye, getMessageById: U, restartObserving: h, DateMessageSticky: ve, BaseReplyMessage: Ie, BaseEditMessage: Re, MessageKeyboard: Se, FeedKeyboard: Be, TypingMessage: je, LoadingIndicator: Fe, MessageReactionsOverlay: Ae };
|
|
302
|
+
return Object.defineProperty(q, "__isScriptSetup", { enumerable: !1, value: !0 }), q;
|
|
447
303
|
}
|
|
448
304
|
});
|
|
449
305
|
export {
|
|
450
|
-
|
|
306
|
+
bt as default
|
|
451
307
|
};
|