@mobilon-dev/chotto 0.3.121 → 0.3.123
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/types/src/components/3_compounds/Feed/composables/useFeedScroll.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as l, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const r = {}, s = {
|
|
4
4
|
id: "svg1",
|
|
5
5
|
width: "22",
|
|
6
6
|
height: "32",
|
|
@@ -11,48 +11,30 @@ const s = {}, l = {
|
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
12
|
"xmlns:svg": "http://www.w3.org/2000/svg"
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
16
|
-
e(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"g",
|
|
36
|
-
{
|
|
37
|
-
id: "g1",
|
|
38
|
-
style: { fill: "none" },
|
|
39
|
-
transform: "translate(1.99999,6.99915)"
|
|
40
|
-
},
|
|
41
|
-
[
|
|
42
|
-
e("path", {
|
|
43
|
-
id: "path1-8",
|
|
44
|
-
"fill-rule": "evenodd",
|
|
45
|
-
"clip-rule": "evenodd",
|
|
46
|
-
d: "M 7.22678,1.85276 C 7.27903,1.80037 7.3411,1.75881 7.40944,1.73045 7.47778,1.7021 7.55104,1.6875 7.62503,1.6875 c 0.07399,0 0.14725,0.0146 0.21559,0.04295 0.06833,0.02836 0.13041,0.06992 0.18266,0.12231 l 6.75002,6.75 c 0.0524,0.05225 0.0939,0.11432 0.1223,0.18266 0.0283,0.06834 0.0429,0.1416 0.0429,0.21559 0,0.07398 -0.0146,0.14724 -0.0429,0.21558 C 14.8672,9.28493 14.8257,9.347 14.7733,9.39926 L 8.02328,16.1493 C 7.91766,16.2549 7.7744,16.3142 7.62503,16.3142 7.47566,16.3142 7.3324,16.2549 7.22678,16.1493 7.12116,16.0436 7.06182,15.9004 7.06182,15.751 c 0,-0.1494 0.05934,-0.2926 0.16496,-0.3982 L 13.5797,9.00101 7.22678,2.64926 C 7.17439,2.597 7.13283,2.53493 7.10448,2.46659 7.07612,2.39826 7.06152,2.32499 7.06152,2.25101 c 0,-0.07399 0.0146,-0.14725 0.04296,-0.21559 0.02835,-0.06834 0.06991,-0.13041 0.1223,-0.18266 z",
|
|
47
|
-
fill: "#ffffff"
|
|
48
|
-
})
|
|
49
|
-
],
|
|
50
|
-
-1
|
|
51
|
-
/* CACHED */
|
|
52
|
-
)
|
|
14
|
+
function f(i, t) {
|
|
15
|
+
return n(), l("svg", s, [...t[0] || (t[0] = [
|
|
16
|
+
e("defs", { id: "defs1" }, null, -1),
|
|
17
|
+
e("path", {
|
|
18
|
+
id: "path1",
|
|
19
|
+
d: "M0 16C0 7.16344 7.16344 0 16 0H22V32H16C7.16344 32 0 24.8366 0 16Z",
|
|
20
|
+
fill: "#D0D0D0"
|
|
21
|
+
}, null, -1),
|
|
22
|
+
e("g", {
|
|
23
|
+
id: "g1",
|
|
24
|
+
style: { fill: "none" },
|
|
25
|
+
transform: "translate(1.99999,6.99915)"
|
|
26
|
+
}, [
|
|
27
|
+
e("path", {
|
|
28
|
+
id: "path1-8",
|
|
29
|
+
"fill-rule": "evenodd",
|
|
30
|
+
"clip-rule": "evenodd",
|
|
31
|
+
d: "M 7.22678,1.85276 C 7.27903,1.80037 7.3411,1.75881 7.40944,1.73045 7.47778,1.7021 7.55104,1.6875 7.62503,1.6875 c 0.07399,0 0.14725,0.0146 0.21559,0.04295 0.06833,0.02836 0.13041,0.06992 0.18266,0.12231 l 6.75002,6.75 c 0.0524,0.05225 0.0939,0.11432 0.1223,0.18266 0.0283,0.06834 0.0429,0.1416 0.0429,0.21559 0,0.07398 -0.0146,0.14724 -0.0429,0.21558 C 14.8672,9.28493 14.8257,9.347 14.7733,9.39926 L 8.02328,16.1493 C 7.91766,16.2549 7.7744,16.3142 7.62503,16.3142 7.47566,16.3142 7.3324,16.2549 7.22678,16.1493 7.12116,16.0436 7.06182,15.9004 7.06182,15.751 c 0,-0.1494 0.05934,-0.2926 0.16496,-0.3982 L 13.5797,9.00101 7.22678,2.64926 C 7.17439,2.597 7.13283,2.53493 7.10448,2.46659 7.07612,2.39826 7.06152,2.32499 7.06152,2.25101 c 0,-0.07399 0.0146,-0.14725 0.04296,-0.21559 0.02835,-0.06834 0.06991,-0.13041 0.1223,-0.18266 z",
|
|
32
|
+
fill: "#ffffff"
|
|
33
|
+
})
|
|
34
|
+
], -1)
|
|
53
35
|
])]);
|
|
54
36
|
}
|
|
55
|
-
const p = /* @__PURE__ */
|
|
37
|
+
const p = /* @__PURE__ */ o(r, [["render", f]]);
|
|
56
38
|
export {
|
|
57
39
|
p as default
|
|
58
40
|
};
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import n from "
|
|
2
|
-
|
|
3
|
-
import l from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = {
|
|
1
|
+
import { defineComponent as o, createElementBlock as i, openBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
const c = {
|
|
5
3
|
width: "30",
|
|
6
4
|
height: "30",
|
|
7
5
|
viewBox: "0 0 30 30",
|
|
8
6
|
fill: "none",
|
|
9
7
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
8
|
+
}, r = { "clip-path": "url(#clip0_5094_38)" }, s = ["fill"], p = /* @__PURE__ */ o({
|
|
9
|
+
__name: "SendIcon",
|
|
10
|
+
props: {
|
|
11
|
+
color: { default: "#6C757D" }
|
|
12
|
+
},
|
|
13
|
+
setup(l) {
|
|
14
|
+
return (C, e) => (n(), i("svg", c, [
|
|
15
|
+
t("g", r, [
|
|
16
|
+
t("path", {
|
|
17
|
+
d: "M29.2562 15.8609C29.4249 15.7886 29.5687 15.6685 29.6697 15.5153C29.7708 15.3621 29.8246 15.1826 29.8246 14.9991C29.8246 14.8156 29.7708 14.6361 29.6697 14.4829C29.5687 14.3297 29.4249 14.2096 29.2562 14.1373L2.25448 2.56551L2.25315 2.56418L1.41523 2.20356C1.25645 2.13533 1.0819 2.11232 0.910865 2.13706C0.739829 2.16181 0.57896 2.23335 0.44603 2.34378C0.3131 2.45421 0.21328 2.59924 0.157599 2.76284C0.101917 2.92644 0.0925408 3.10225 0.130504 3.27085L0.329378 4.15915L0.328052 4.16313L2.73707 14.9991L0.328052 25.8351L0.328051 25.8404L0.129177 26.7287C0.0918219 26.8971 0.101658 27.0725 0.157599 27.2357C0.213541 27.3989 0.313419 27.5435 0.446241 27.6535C0.579064 27.7636 0.739678 27.8349 0.910408 27.8596C1.08114 27.8842 1.25536 27.8613 1.4139 27.7933L29.2562 15.8609ZM24.3202 15.9365H4.44872L4.61179 15.2033C4.6418 15.0688 4.6418 14.9294 4.61179 14.7949L4.44872 14.0617H24.3202L26.5065 14.9991L24.3215 15.9378L24.3202 15.9365Z",
|
|
18
|
+
fill: l.color
|
|
19
|
+
}, null, 8, s)
|
|
20
|
+
]),
|
|
21
|
+
e[0] || (e[0] = t("defs", null, [
|
|
23
22
|
t("clipPath", { id: "clip0_5094_38" }, [
|
|
24
23
|
t("rect", {
|
|
25
24
|
width: "30",
|
|
@@ -27,13 +26,10 @@ function _(d, o, e, h, L, f) {
|
|
|
27
26
|
fill: "white"
|
|
28
27
|
})
|
|
29
28
|
])
|
|
30
|
-
],
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
]);
|
|
35
|
-
}
|
|
36
|
-
const u = /* @__PURE__ */ l(n, [["render", _], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/3_compounds/ChatInput/icons/SendIcon.vue"]]);
|
|
29
|
+
], -1))
|
|
30
|
+
]));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
37
33
|
export {
|
|
38
|
-
|
|
34
|
+
p as default
|
|
39
35
|
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
const p = /* @__PURE__ */ t({
|
|
3
|
-
__name: "SendIcon",
|
|
4
|
-
props: {
|
|
5
|
-
color: { type: String, required: !1, default: "#6C757D" }
|
|
6
|
-
},
|
|
7
|
-
setup(n, { expose: r }) {
|
|
8
|
-
r();
|
|
9
|
-
const e = {};
|
|
10
|
-
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
1
|
+
import f from "./SendIcon.vue.js";
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
f as default
|
|
15
4
|
};
|
|
@@ -1,15 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { useChatListScroll as
|
|
7
|
-
import { useChatListSelection as
|
|
8
|
-
import { useChatListFilter as
|
|
9
|
-
import { useChatListActions as
|
|
1
|
+
import { ref as D, computed as h, onMounted as H, nextTick as O, onUpdated as P, onBeforeUnmount as W, createElementBlock as l, openBlock as s, renderSlot as M, createBlock as f, createCommentVNode as n, createElementVNode as c, createVNode as Q, unref as e, toDisplayString as u, createTextVNode as j, Fragment as v, renderList as k, normalizeStyle as R, Transition as Y, withCtx as G } from "vue";
|
|
2
|
+
import _ from "../../2_chatlist_elements/ChatItem/ChatItem.vue.js";
|
|
3
|
+
import J from "../../2_chatlist_elements/ChatFilter/ChatFilter.vue.js";
|
|
4
|
+
import K from "../../2_chatlist_elements/ChatTabs/ChatTabs.vue.js";
|
|
5
|
+
import X from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
|
|
6
|
+
import { useChatListScroll as Z } from "./composables/useChatListScroll.js";
|
|
7
|
+
import { useChatListSelection as tt } from "./composables/useChatListSelection.js";
|
|
8
|
+
import { useChatListFilter as et } from "./composables/useChatListFilter.js";
|
|
9
|
+
import { useChatListActions as at } from "./composables/useChatListActions.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import
|
|
12
|
-
const
|
|
11
|
+
import st from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
+
const ot = {
|
|
13
|
+
class: "chat-list",
|
|
14
|
+
"data-testid": "chat-list"
|
|
15
|
+
}, it = {
|
|
16
|
+
key: 2,
|
|
17
|
+
class: "chat-list__search-indicator"
|
|
18
|
+
}, lt = { class: "chat-list__search-content" }, nt = { class: "chat-list__search-text" }, rt = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "chat-list__search-progress"
|
|
21
|
+
}, ct = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "chat-list__search-query"
|
|
24
|
+
}, dt = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "chat-list__search-stats"
|
|
27
|
+
}, ht = {
|
|
28
|
+
key: 3,
|
|
29
|
+
class: "chat-list__fixed-items-top"
|
|
30
|
+
}, ut = { class: "chat-list__placeholder" }, gt = { class: "chat-list__placeholder-title" }, ft = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "chat-list__placeholder-hint"
|
|
33
|
+
}, mt = {
|
|
34
|
+
key: 4,
|
|
35
|
+
class: "chat-list__fixed-items-bottom"
|
|
36
|
+
}, yt = {
|
|
13
37
|
__name: "ChatList",
|
|
14
38
|
props: {
|
|
15
39
|
chats: {
|
|
@@ -60,7 +84,7 @@ const rt = {
|
|
|
60
84
|
contextMenuTrigger: {
|
|
61
85
|
type: String,
|
|
62
86
|
default: "hover",
|
|
63
|
-
validator: (
|
|
87
|
+
validator: (a) => ["hover", "rightClick"].includes(a)
|
|
64
88
|
},
|
|
65
89
|
placeholderTitle: {
|
|
66
90
|
type: String,
|
|
@@ -72,256 +96,142 @@ const rt = {
|
|
|
72
96
|
}
|
|
73
97
|
},
|
|
74
98
|
emits: ["select", "action", "loadMoreChats", "expand", "tab-click", "search", "clear-search"],
|
|
75
|
-
setup(
|
|
76
|
-
i()
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}, St = {
|
|
144
|
-
key: 4,
|
|
145
|
-
class: "chat-list__fixed-items-bottom"
|
|
146
|
-
};
|
|
147
|
-
function yt(c, i, a, t, d, _) {
|
|
148
|
-
return o(), r("div", lt, [
|
|
149
|
-
L(c.$slots, "header", {}, void 0, !0),
|
|
150
|
-
l(" ???? не понятно зачем этот слот "),
|
|
151
|
-
L(c.$slots, "sidebar", {}, void 0, !0),
|
|
152
|
-
a.filterEnabled ? (o(), f(t.ChatFilter, {
|
|
153
|
-
key: 0,
|
|
154
|
-
class: "chat-list__filter",
|
|
155
|
-
onUpdate: t.getFilter
|
|
156
|
-
}, null, 8, ["onUpdate"])) : l("v-if", !0),
|
|
157
|
-
a.dialogTabs && a.dialogTabs.length > 0 ? (o(), f(t.ChatTabs, {
|
|
158
|
-
key: 1,
|
|
159
|
-
tabs: a.dialogTabs,
|
|
160
|
-
onTabClick: t.handleTabClick
|
|
161
|
-
}, null, 8, ["tabs", "onTabClick"])) : l("v-if", !0),
|
|
162
|
-
l(" Индикатор поиска "),
|
|
163
|
-
a.isSearching || a.searchQuery ? (o(), r("div", st, [
|
|
164
|
-
s("div", nt, [
|
|
165
|
-
s("div", ct, [
|
|
166
|
-
a.isSearching ? (o(), r(
|
|
167
|
-
"span",
|
|
168
|
-
dt,
|
|
169
|
-
h(a.searchProgress || "Поиск..."),
|
|
170
|
-
1
|
|
171
|
-
/* TEXT */
|
|
172
|
-
)) : (o(), r("span", ht, [
|
|
173
|
-
K(
|
|
174
|
-
' Поиск "' + h(a.searchQuery) + '" завершён ',
|
|
175
|
-
1
|
|
176
|
-
/* TEXT */
|
|
177
|
-
),
|
|
178
|
-
a.searchStats.loaded > 0 ? (o(), r(
|
|
179
|
-
"span",
|
|
180
|
-
gt,
|
|
181
|
-
" (" + h(a.searchStats.loaded) + " " + h(a.searchStats.total !== "?" ? `из ${a.searchStats.total}` : "") + ") ",
|
|
182
|
-
1
|
|
183
|
-
/* TEXT */
|
|
184
|
-
)) : l("v-if", !0)
|
|
185
|
-
]))
|
|
186
|
-
]),
|
|
187
|
-
a.searchQuery ? (o(), r("button", {
|
|
188
|
-
key: 0,
|
|
189
|
-
class: "chat-list__search-clear",
|
|
190
|
-
title: "Очистить поиск",
|
|
191
|
-
onClick: i[0] || (i[0] = (e) => t.emit("clear-search"))
|
|
192
|
-
}, [...i[5] || (i[5] = [
|
|
193
|
-
s(
|
|
194
|
-
"i",
|
|
195
|
-
{ class: "pi pi-times" },
|
|
196
|
-
null,
|
|
197
|
-
-1
|
|
198
|
-
/* CACHED */
|
|
199
|
-
)
|
|
200
|
-
])])) : l("v-if", !0)
|
|
201
|
-
])
|
|
202
|
-
])) : l("v-if", !0),
|
|
203
|
-
l(" Закреплённые элементы сверху (вне скролла) "),
|
|
204
|
-
!t.props.isLoading && t.getSortedAndFilteredChats().filter((e) => e.isFixedTop).length > 0 ? (o(), r("div", ut, [
|
|
205
|
-
(o(!0), r(
|
|
206
|
-
C,
|
|
207
|
-
null,
|
|
208
|
-
p(t.getSortedAndFilteredChats().filter((e) => e.isFixedTop), (e) => (o(), f(t.ChatItem, {
|
|
209
|
-
key: e.chatId,
|
|
99
|
+
setup(a, { emit: I }) {
|
|
100
|
+
const i = a, g = I, y = D(), T = D(0), C = h(() => i.chats), m = () => {
|
|
101
|
+
var r;
|
|
102
|
+
T.value = ((r = y.value) == null ? void 0 : r.offsetTop) ?? 0;
|
|
103
|
+
}, $ = h(() => ({
|
|
104
|
+
transform: `translateY(${-(T.value / 2)}px)`
|
|
105
|
+
})), b = h(() => {
|
|
106
|
+
var r, o, t;
|
|
107
|
+
return ((r = i.searchQuery) == null ? void 0 : r.trim()) || ((o = i.filterQuery) == null ? void 0 : o.trim()) || ((t = V.value) == null ? void 0 : t.trim()) || "";
|
|
108
|
+
}), w = h(
|
|
109
|
+
() => b.value.length > 0 && !i.isSearching
|
|
110
|
+
), N = h(() => w.value ? `Не нашли чат по запросу "${b.value}"` : i.placeholderTitle), L = h(() => w.value ? "" : i.placeholderHint), {
|
|
111
|
+
isShowButton: U,
|
|
112
|
+
scrollToTopForce: E,
|
|
113
|
+
scrollCheck: B,
|
|
114
|
+
startScrollWatch: F,
|
|
115
|
+
stopScrollWatch: A
|
|
116
|
+
} = Z({ refChatList: y, chats: C, emit: g }), {
|
|
117
|
+
selectChat: p
|
|
118
|
+
} = tt({ chats: C, emit: g }), {
|
|
119
|
+
filter: V,
|
|
120
|
+
getSortedAndFilteredChats: d,
|
|
121
|
+
getFilter: q
|
|
122
|
+
} = et({ props: i, emit: g }), {
|
|
123
|
+
expandChat: S,
|
|
124
|
+
action: x,
|
|
125
|
+
handleTabClick: z
|
|
126
|
+
} = at({ emit: g });
|
|
127
|
+
return H(async () => {
|
|
128
|
+
await O(), m(), window.addEventListener("resize", m);
|
|
129
|
+
}), P(() => {
|
|
130
|
+
m();
|
|
131
|
+
}), W(() => {
|
|
132
|
+
window.removeEventListener("resize", m);
|
|
133
|
+
}), (r, o) => (s(), l("div", ot, [
|
|
134
|
+
M(r.$slots, "header", {}, void 0, !0),
|
|
135
|
+
M(r.$slots, "sidebar", {}, void 0, !0),
|
|
136
|
+
a.filterEnabled ? (s(), f(J, {
|
|
137
|
+
key: 0,
|
|
138
|
+
class: "chat-list__filter",
|
|
139
|
+
onUpdate: e(q)
|
|
140
|
+
}, null, 8, ["onUpdate"])) : n("", !0),
|
|
141
|
+
a.dialogTabs && a.dialogTabs.length > 0 ? (s(), f(K, {
|
|
142
|
+
key: 1,
|
|
143
|
+
tabs: a.dialogTabs,
|
|
144
|
+
onTabClick: e(z)
|
|
145
|
+
}, null, 8, ["tabs", "onTabClick"])) : n("", !0),
|
|
146
|
+
a.isSearching || a.searchQuery ? (s(), l("div", it, [
|
|
147
|
+
c("div", lt, [
|
|
148
|
+
c("div", nt, [
|
|
149
|
+
a.isSearching ? (s(), l("span", rt, u(a.searchProgress || "Поиск..."), 1)) : (s(), l("span", ct, [
|
|
150
|
+
j(' Поиск "' + u(a.searchQuery) + '" завершён ', 1),
|
|
151
|
+
a.searchStats.loaded > 0 ? (s(), l("span", dt, " (" + u(a.searchStats.loaded) + " " + u(a.searchStats.total !== "?" ? `из ${a.searchStats.total}` : "") + ") ", 1)) : n("", !0)
|
|
152
|
+
]))
|
|
153
|
+
]),
|
|
154
|
+
a.searchQuery ? (s(), l("button", {
|
|
155
|
+
key: 0,
|
|
156
|
+
class: "chat-list__search-clear",
|
|
157
|
+
title: "Очистить поиск",
|
|
158
|
+
onClick: o[0] || (o[0] = (t) => g("clear-search"))
|
|
159
|
+
}, [...o[5] || (o[5] = [
|
|
160
|
+
c("i", { class: "pi pi-times" }, null, -1)
|
|
161
|
+
])])) : n("", !0)
|
|
162
|
+
])
|
|
163
|
+
])) : n("", !0),
|
|
164
|
+
!i.isLoading && e(d)().filter((t) => t.isFixedTop).length > 0 ? (s(), l("div", ht, [
|
|
165
|
+
(s(!0), l(v, null, k(e(d)().filter((t) => t.isFixedTop), (t) => (s(), f(_, {
|
|
166
|
+
key: t.chatId,
|
|
210
167
|
class: "chat-list__item",
|
|
211
|
-
chat:
|
|
168
|
+
chat: t,
|
|
212
169
|
"show-dialogs": a.showDialogs,
|
|
213
|
-
"context-menu-trigger":
|
|
214
|
-
onSelect:
|
|
215
|
-
onExpand:
|
|
216
|
-
onAction:
|
|
217
|
-
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
l(" Скроллируемая область с обычными чатами "),
|
|
223
|
-
s(
|
|
224
|
-
"div",
|
|
225
|
-
{
|
|
226
|
-
ref: "refChatList",
|
|
170
|
+
"context-menu-trigger": i.contextMenuTrigger,
|
|
171
|
+
onSelect: e(p),
|
|
172
|
+
onExpand: e(S),
|
|
173
|
+
onAction: e(x)
|
|
174
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))), 128))
|
|
175
|
+
])) : n("", !0),
|
|
176
|
+
c("div", {
|
|
177
|
+
ref_key: "refChatList",
|
|
178
|
+
ref: y,
|
|
227
179
|
class: "chat-list__items",
|
|
228
|
-
onScroll:
|
|
229
|
-
onMousedown:
|
|
230
|
-
onMouseup:
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
F(t.LoadingIndicator, {
|
|
180
|
+
onScroll: o[1] || (o[1] = (...t) => e(B) && e(B)(...t)),
|
|
181
|
+
onMousedown: o[2] || (o[2] = (...t) => e(F) && e(F)(...t)),
|
|
182
|
+
onMouseup: o[3] || (o[3] = (...t) => e(A) && e(A)(...t))
|
|
183
|
+
}, [
|
|
184
|
+
Q(X, {
|
|
234
185
|
class: "chat-list__loading-indicator",
|
|
235
|
-
"is-loading":
|
|
186
|
+
"is-loading": i.isLoading
|
|
236
187
|
}, null, 8, ["is-loading"]),
|
|
237
|
-
!
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
_t,
|
|
249
|
-
h(t.emptyStateTitle),
|
|
250
|
-
1
|
|
251
|
-
/* TEXT */
|
|
252
|
-
),
|
|
253
|
-
t.emptyStateHint ? (o(), r(
|
|
254
|
-
"p",
|
|
255
|
-
mt,
|
|
256
|
-
h(t.emptyStateHint),
|
|
257
|
-
1
|
|
258
|
-
/* TEXT */
|
|
259
|
-
)) : l("v-if", !0)
|
|
260
|
-
])
|
|
261
|
-
],
|
|
262
|
-
4
|
|
263
|
-
/* STYLE */
|
|
264
|
-
)) : (o(!0), r(
|
|
265
|
-
C,
|
|
266
|
-
{ key: 1 },
|
|
267
|
-
p(t.getSortedAndFilteredChats().filter((e) => !e.isFixedBottom && !e.isFixedTop), (e) => (o(), f(t.ChatItem, {
|
|
268
|
-
key: e.chatId,
|
|
269
|
-
class: "chat-list__item",
|
|
270
|
-
chat: e,
|
|
271
|
-
"show-dialogs": a.showDialogs,
|
|
272
|
-
"context-menu-trigger": t.props.contextMenuTrigger,
|
|
273
|
-
onSelect: t.selectChat,
|
|
274
|
-
onExpand: t.expandChat,
|
|
275
|
-
onAction: t.action
|
|
276
|
-
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
277
|
-
128
|
|
278
|
-
/* KEYED_FRAGMENT */
|
|
279
|
-
))
|
|
280
|
-
],
|
|
281
|
-
544
|
|
282
|
-
/* NEED_HYDRATION, NEED_PATCH */
|
|
283
|
-
),
|
|
284
|
-
l(" Закреплённые элементы снизу (вне скролла) "),
|
|
285
|
-
!t.props.isLoading && t.getSortedAndFilteredChats().filter((e) => e.isFixedBottom).length > 0 ? (o(), r("div", St, [
|
|
286
|
-
(o(!0), r(
|
|
287
|
-
C,
|
|
288
|
-
null,
|
|
289
|
-
p(t.getSortedAndFilteredChats().filter((e) => e.isFixedBottom), (e) => (o(), f(t.ChatItem, {
|
|
290
|
-
key: e.chatId,
|
|
188
|
+
!i.isLoading && e(d)().length === 0 ? (s(), l("div", {
|
|
189
|
+
key: 0,
|
|
190
|
+
class: "chat-list__no-data",
|
|
191
|
+
style: R($.value)
|
|
192
|
+
}, [
|
|
193
|
+
c("div", ut, [
|
|
194
|
+
c("p", gt, u(N.value), 1),
|
|
195
|
+
L.value ? (s(), l("p", ft, u(L.value), 1)) : n("", !0)
|
|
196
|
+
])
|
|
197
|
+
], 4)) : (s(!0), l(v, { key: 1 }, k(e(d)().filter((t) => !t.isFixedBottom && !t.isFixedTop), (t) => (s(), f(_, {
|
|
198
|
+
key: t.chatId,
|
|
291
199
|
class: "chat-list__item",
|
|
292
|
-
chat:
|
|
200
|
+
chat: t,
|
|
293
201
|
"show-dialogs": a.showDialogs,
|
|
294
|
-
"context-menu-trigger":
|
|
295
|
-
onSelect:
|
|
296
|
-
onExpand:
|
|
297
|
-
onAction:
|
|
298
|
-
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
}
|
|
324
|
-
|
|
202
|
+
"context-menu-trigger": i.contextMenuTrigger,
|
|
203
|
+
onSelect: e(p),
|
|
204
|
+
onExpand: e(S),
|
|
205
|
+
onAction: e(x)
|
|
206
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))), 128))
|
|
207
|
+
], 544),
|
|
208
|
+
!i.isLoading && e(d)().filter((t) => t.isFixedBottom).length > 0 ? (s(), l("div", mt, [
|
|
209
|
+
(s(!0), l(v, null, k(e(d)().filter((t) => t.isFixedBottom), (t) => (s(), f(_, {
|
|
210
|
+
key: t.chatId,
|
|
211
|
+
class: "chat-list__item",
|
|
212
|
+
chat: t,
|
|
213
|
+
"show-dialogs": a.showDialogs,
|
|
214
|
+
"context-menu-trigger": i.contextMenuTrigger,
|
|
215
|
+
onSelect: e(p),
|
|
216
|
+
onExpand: e(S),
|
|
217
|
+
onAction: e(x)
|
|
218
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))), 128))
|
|
219
|
+
])) : n("", !0),
|
|
220
|
+
Q(Y, null, {
|
|
221
|
+
default: G(() => [
|
|
222
|
+
e(U) ? (s(), l("button", {
|
|
223
|
+
key: 0,
|
|
224
|
+
class: "chat-list__button-up",
|
|
225
|
+
onClick: o[4] || (o[4] = (...t) => e(E) && e(E)(...t))
|
|
226
|
+
}, [...o[6] || (o[6] = [
|
|
227
|
+
c("span", { class: "pi pi-angle-up chat-list__icon-down" }, null, -1)
|
|
228
|
+
])])) : n("", !0)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
})
|
|
232
|
+
]));
|
|
233
|
+
}
|
|
234
|
+
}, Et = /* @__PURE__ */ st(yt, [["__scopeId", "data-v-0ace4fd3"]]);
|
|
325
235
|
export {
|
|
326
|
-
|
|
236
|
+
Et as default
|
|
327
237
|
};
|