@mobilon-dev/chotto 0.3.97 → 0.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +29 -4
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +42 -61
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -38
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +33 -2
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +26 -13
- package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
- package/dist/components/1_icons/CloseIcon.vue.js +16 -10
- package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
- package/dist/components/1_icons/MenuIcon.vue.js +16 -10
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
- package/dist/components/1_icons/SearchIcon.vue.js +29 -17
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +546 -396
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +19 -13
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +74 -4
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +8 -42
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +61 -4
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +79 -96
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +80 -51
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +182 -4
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +25 -135
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +78 -4
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +73 -95
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +34 -60
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +39 -33
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +134 -311
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +52 -24
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +35 -67
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +72 -38
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +76 -57
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +19 -39
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +458 -4
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +160 -471
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +60 -4
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +36 -53
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +250 -4
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +67 -233
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +315 -4
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +98 -319
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +155 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +110 -212
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +36 -120
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +75 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -63
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +346 -4
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +73 -307
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +65 -269
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +76 -298
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +35 -18
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
- package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +85 -4
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +149 -210
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +253 -163
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +50 -32
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +172 -4
- package/dist/components/3_compounds/Feed/Feed.vue2.js +126 -257
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +31 -18
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +85 -56
- package/package.json +1 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import n from "./SendIcon.vue2.js";
|
|
2
|
+
import { createElementBlock as c, openBlock as i, createElementVNode as t } from "vue";
|
|
3
|
+
import l from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = {
|
|
3
5
|
width: "30",
|
|
4
6
|
height: "30",
|
|
5
7
|
viewBox: "0 0 30 30",
|
|
6
8
|
fill: "none",
|
|
7
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
e[0] || (e[0] = t("defs", null, [
|
|
10
|
+
}, s = { "clip-path": "url(#clip0_5094_38)" }, p = ["fill"];
|
|
11
|
+
function _(d, o, e, h, L, f) {
|
|
12
|
+
return i(), c("svg", r, [
|
|
13
|
+
t("g", s, [
|
|
14
|
+
t("path", {
|
|
15
|
+
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",
|
|
16
|
+
fill: e.color
|
|
17
|
+
}, null, 8, p)
|
|
18
|
+
]),
|
|
19
|
+
o[0] || (o[0] = t(
|
|
20
|
+
"defs",
|
|
21
|
+
null,
|
|
22
|
+
[
|
|
22
23
|
t("clipPath", { id: "clip0_5094_38" }, [
|
|
23
24
|
t("rect", {
|
|
24
25
|
width: "30",
|
|
@@ -26,10 +27,13 @@ const c = {
|
|
|
26
27
|
fill: "white"
|
|
27
28
|
})
|
|
28
29
|
])
|
|
29
|
-
],
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
],
|
|
31
|
+
-1
|
|
32
|
+
/* CACHED */
|
|
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"]]);
|
|
33
37
|
export {
|
|
34
|
-
|
|
38
|
+
u as default
|
|
35
39
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as t } from "vue";
|
|
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
|
+
});
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
p as default
|
|
4
15
|
};
|
|
@@ -1,36 +1,15 @@
|
|
|
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 { createElementBlock as r, openBlock as o, renderSlot as L, createCommentVNode as l, createBlock as f, createElementVNode as s, createVNode as F, toDisplayString as h, createTextVNode as K, Fragment as C, renderList as p, normalizeStyle as X, Transition as Z, withCtx as $, ref as v, computed as n, onMounted as w, nextTick as A, onUpdated as B, onBeforeUnmount as E } from "vue";
|
|
2
|
+
import tt from "../../2_chatlist_elements/ChatItem/ChatItem.vue.js";
|
|
3
|
+
import et from "../../2_chatlist_elements/ChatFilter/ChatFilter.vue.js";
|
|
4
|
+
import at from "../../2_chatlist_elements/ChatTabs/ChatTabs.vue.js";
|
|
5
|
+
import ot from "../../1_atoms/LoadingIndicator/LoadingIndicator.vue.js";
|
|
6
|
+
import { useChatListScroll as I } from "./composables/useChatListScroll.js";
|
|
7
|
+
import { useChatListSelection as D } from "./composables/useChatListSelection.js";
|
|
8
|
+
import { useChatListFilter as M } from "./composables/useChatListFilter.js";
|
|
9
|
+
import { useChatListActions as Q } from "./composables/useChatListActions.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import
|
|
12
|
-
const
|
|
13
|
-
key: 2,
|
|
14
|
-
class: "chat-list__search-indicator"
|
|
15
|
-
}, lt = { class: "chat-list__search-content" }, nt = { class: "chat-list__search-text" }, rt = {
|
|
16
|
-
key: 0,
|
|
17
|
-
class: "chat-list__search-progress"
|
|
18
|
-
}, ct = {
|
|
19
|
-
key: 1,
|
|
20
|
-
class: "chat-list__search-query"
|
|
21
|
-
}, dt = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "chat-list__search-stats"
|
|
24
|
-
}, ut = {
|
|
25
|
-
key: 3,
|
|
26
|
-
class: "chat-list__fixed-items-top"
|
|
27
|
-
}, ht = { class: "chat-list__placeholder" }, gt = { class: "chat-list__placeholder-title" }, ft = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "chat-list__placeholder-hint"
|
|
30
|
-
}, mt = {
|
|
31
|
-
key: 4,
|
|
32
|
-
class: "chat-list__fixed-items-bottom"
|
|
33
|
-
}, yt = {
|
|
11
|
+
import it from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
+
const rt = {
|
|
34
13
|
__name: "ChatList",
|
|
35
14
|
props: {
|
|
36
15
|
chats: {
|
|
@@ -81,7 +60,7 @@ const ot = { class: "chat-list" }, it = {
|
|
|
81
60
|
contextMenuTrigger: {
|
|
82
61
|
type: String,
|
|
83
62
|
default: "hover",
|
|
84
|
-
validator: (
|
|
63
|
+
validator: (c) => ["hover", "rightClick"].includes(c)
|
|
85
64
|
},
|
|
86
65
|
placeholderTitle: {
|
|
87
66
|
type: String,
|
|
@@ -93,142 +72,253 @@ const ot = { class: "chat-list" }, it = {
|
|
|
93
72
|
}
|
|
94
73
|
},
|
|
95
74
|
emits: ["select", "action", "loadMoreChats", "expand", "tab-click", "search", "clear-search"],
|
|
96
|
-
setup(
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
75
|
+
setup(c, { expose: i, emit: a }) {
|
|
76
|
+
i();
|
|
77
|
+
const t = c, d = a, _ = v(), e = v(0), m = n(() => t.chats), g = () => {
|
|
78
|
+
var u;
|
|
79
|
+
e.value = ((u = _.value) == null ? void 0 : u.offsetTop) ?? 0;
|
|
80
|
+
}, W = n(() => ({
|
|
81
|
+
transform: `translateY(${-(e.value / 2)}px)`
|
|
82
|
+
})), S = n(() => {
|
|
83
|
+
var u, k, b;
|
|
84
|
+
return ((u = t.searchQuery) == null ? void 0 : u.trim()) || ((k = t.filterQuery) == null ? void 0 : k.trim()) || ((b = x.value) == null ? void 0 : b.trim()) || "";
|
|
85
|
+
}), y = n(
|
|
86
|
+
() => S.value.length > 0 && !t.isSearching
|
|
87
|
+
), H = n(() => y.value ? `Не нашли чат по запросу "${S.value}"` : t.placeholderTitle), N = n(() => y.value ? "" : t.placeholderHint), {
|
|
88
|
+
isShowButton: O,
|
|
89
|
+
scrollToTopForce: U,
|
|
90
|
+
scrollCheck: V,
|
|
91
|
+
startScrollWatch: j,
|
|
92
|
+
stopScrollWatch: q
|
|
93
|
+
} = I({ refChatList: _, chats: m, emit: d }), {
|
|
94
|
+
selectChat: z
|
|
95
|
+
} = D({ chats: m, emit: d }), {
|
|
96
|
+
filter: x,
|
|
97
|
+
getSortedAndFilteredChats: P,
|
|
98
|
+
getFilter: R
|
|
99
|
+
} = M({ props: t, emit: d }), {
|
|
100
|
+
expandChat: Y,
|
|
101
|
+
action: G,
|
|
102
|
+
handleTabClick: J
|
|
103
|
+
} = Q({ emit: d });
|
|
104
|
+
w(async () => {
|
|
105
|
+
await A(), g(), window.addEventListener("resize", g);
|
|
106
|
+
}), B(() => {
|
|
107
|
+
g();
|
|
108
|
+
}), E(() => {
|
|
109
|
+
window.removeEventListener("resize", g);
|
|
110
|
+
});
|
|
111
|
+
const T = { props: t, emit: d, refChatList: _, noDataOffset: e, chatsRef: m, updateNoDataOffset: g, noDataStyle: W, currentSearchQuery: S, isSearchEmptyState: y, emptyStateTitle: H, emptyStateHint: N, isShowButton: O, scrollToTopForce: U, scrollCheck: V, startScrollWatch: j, stopScrollWatch: q, selectChat: z, filter: x, getSortedAndFilteredChats: P, getFilter: R, expandChat: Y, action: G, handleTabClick: J, ref: v, computed: n, nextTick: A, onMounted: w, onBeforeUnmount: E, onUpdated: B, ChatItem: tt, ChatFilter: et, ChatTabs: at, LoadingIndicator: ot, get useChatListScroll() {
|
|
112
|
+
return I;
|
|
113
|
+
}, get useChatListSelection() {
|
|
114
|
+
return D;
|
|
115
|
+
}, get useChatListFilter() {
|
|
116
|
+
return M;
|
|
117
|
+
}, get useChatListActions() {
|
|
118
|
+
return Q;
|
|
119
|
+
} };
|
|
120
|
+
return Object.defineProperty(T, "__isScriptSetup", { enumerable: !1, value: !0 }), T;
|
|
121
|
+
}
|
|
122
|
+
}, lt = { class: "chat-list" }, st = {
|
|
123
|
+
key: 2,
|
|
124
|
+
class: "chat-list__search-indicator"
|
|
125
|
+
}, nt = { class: "chat-list__search-content" }, ct = { class: "chat-list__search-text" }, dt = {
|
|
126
|
+
key: 0,
|
|
127
|
+
class: "chat-list__search-progress"
|
|
128
|
+
}, ht = {
|
|
129
|
+
key: 1,
|
|
130
|
+
class: "chat-list__search-query"
|
|
131
|
+
}, gt = {
|
|
132
|
+
key: 0,
|
|
133
|
+
class: "chat-list__search-stats"
|
|
134
|
+
}, ut = {
|
|
135
|
+
key: 3,
|
|
136
|
+
class: "chat-list__fixed-items-top"
|
|
137
|
+
}, ft = { class: "chat-list__placeholder" }, _t = { class: "chat-list__placeholder-title" }, mt = {
|
|
138
|
+
key: 0,
|
|
139
|
+
class: "chat-list__placeholder-hint"
|
|
140
|
+
}, St = {
|
|
141
|
+
key: 4,
|
|
142
|
+
class: "chat-list__fixed-items-bottom"
|
|
143
|
+
};
|
|
144
|
+
function yt(c, i, a, t, d, _) {
|
|
145
|
+
return o(), r("div", lt, [
|
|
146
|
+
L(c.$slots, "header", {}, void 0, !0),
|
|
147
|
+
l(" ???? не понятно зачем этот слот "),
|
|
148
|
+
L(c.$slots, "sidebar", {}, void 0, !0),
|
|
149
|
+
a.filterEnabled ? (o(), f(t.ChatFilter, {
|
|
150
|
+
key: 0,
|
|
151
|
+
class: "chat-list__filter",
|
|
152
|
+
onUpdate: t.getFilter
|
|
153
|
+
}, null, 8, ["onUpdate"])) : l("v-if", !0),
|
|
154
|
+
a.dialogTabs && a.dialogTabs.length > 0 ? (o(), f(t.ChatTabs, {
|
|
155
|
+
key: 1,
|
|
156
|
+
tabs: a.dialogTabs,
|
|
157
|
+
onTabClick: t.handleTabClick
|
|
158
|
+
}, null, 8, ["tabs", "onTabClick"])) : l("v-if", !0),
|
|
159
|
+
l(" Индикатор поиска "),
|
|
160
|
+
a.isSearching || a.searchQuery ? (o(), r("div", st, [
|
|
161
|
+
s("div", nt, [
|
|
162
|
+
s("div", ct, [
|
|
163
|
+
a.isSearching ? (o(), r(
|
|
164
|
+
"span",
|
|
165
|
+
dt,
|
|
166
|
+
h(a.searchProgress || "Поиск..."),
|
|
167
|
+
1
|
|
168
|
+
/* TEXT */
|
|
169
|
+
)) : (o(), r("span", ht, [
|
|
170
|
+
K(
|
|
171
|
+
' Поиск "' + h(a.searchQuery) + '" завершён ',
|
|
172
|
+
1
|
|
173
|
+
/* TEXT */
|
|
174
|
+
),
|
|
175
|
+
a.searchStats.loaded > 0 ? (o(), r(
|
|
176
|
+
"span",
|
|
177
|
+
gt,
|
|
178
|
+
" (" + h(a.searchStats.loaded) + " " + h(a.searchStats.total !== "?" ? `из ${a.searchStats.total}` : "") + ") ",
|
|
179
|
+
1
|
|
180
|
+
/* TEXT */
|
|
181
|
+
)) : l("v-if", !0)
|
|
182
|
+
]))
|
|
183
|
+
]),
|
|
184
|
+
a.searchQuery ? (o(), r("button", {
|
|
185
|
+
key: 0,
|
|
186
|
+
class: "chat-list__search-clear",
|
|
187
|
+
title: "Очистить поиск",
|
|
188
|
+
onClick: i[0] || (i[0] = (e) => t.emit("clear-search"))
|
|
189
|
+
}, [...i[5] || (i[5] = [
|
|
190
|
+
s(
|
|
191
|
+
"i",
|
|
192
|
+
{ class: "pi pi-times" },
|
|
193
|
+
null,
|
|
194
|
+
-1
|
|
195
|
+
/* CACHED */
|
|
196
|
+
)
|
|
197
|
+
])])) : l("v-if", !0)
|
|
198
|
+
])
|
|
199
|
+
])) : l("v-if", !0),
|
|
200
|
+
l(" Закреплённые элементы сверху (вне скролла) "),
|
|
201
|
+
!t.props.isLoading && t.getSortedAndFilteredChats().filter((e) => e.isFixedTop).length > 0 ? (o(), r("div", ut, [
|
|
202
|
+
(o(!0), r(
|
|
203
|
+
C,
|
|
204
|
+
null,
|
|
205
|
+
p(t.getSortedAndFilteredChats().filter((e) => e.isFixedTop), (e) => (o(), f(t.ChatItem, {
|
|
206
|
+
key: e.chatId,
|
|
164
207
|
class: "chat-list__item",
|
|
165
|
-
chat:
|
|
208
|
+
chat: e,
|
|
166
209
|
"show-dialogs": a.showDialogs,
|
|
167
|
-
"context-menu-trigger":
|
|
168
|
-
onSelect:
|
|
169
|
-
onExpand:
|
|
170
|
-
onAction:
|
|
171
|
-
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
210
|
+
"context-menu-trigger": t.props.contextMenuTrigger,
|
|
211
|
+
onSelect: t.selectChat,
|
|
212
|
+
onExpand: t.expandChat,
|
|
213
|
+
onAction: t.action
|
|
214
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
215
|
+
128
|
|
216
|
+
/* KEYED_FRAGMENT */
|
|
217
|
+
))
|
|
218
|
+
])) : l("v-if", !0),
|
|
219
|
+
l(" Скроллируемая область с обычными чатами "),
|
|
220
|
+
s(
|
|
221
|
+
"div",
|
|
222
|
+
{
|
|
223
|
+
ref: "refChatList",
|
|
176
224
|
class: "chat-list__items",
|
|
177
|
-
onScroll:
|
|
178
|
-
onMousedown:
|
|
179
|
-
onMouseup:
|
|
180
|
-
},
|
|
181
|
-
|
|
225
|
+
onScroll: i[1] || (i[1] = (...e) => t.scrollCheck && t.scrollCheck(...e)),
|
|
226
|
+
onMousedown: i[2] || (i[2] = (...e) => t.startScrollWatch && t.startScrollWatch(...e)),
|
|
227
|
+
onMouseup: i[3] || (i[3] = (...e) => t.stopScrollWatch && t.stopScrollWatch(...e))
|
|
228
|
+
},
|
|
229
|
+
[
|
|
230
|
+
F(t.LoadingIndicator, {
|
|
182
231
|
class: "chat-list__loading-indicator",
|
|
183
|
-
"is-loading":
|
|
232
|
+
"is-loading": t.props.isLoading
|
|
184
233
|
}, null, 8, ["is-loading"]),
|
|
185
|
-
!
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
234
|
+
!t.props.isLoading && t.getSortedAndFilteredChats().length === 0 ? (o(), r(
|
|
235
|
+
"div",
|
|
236
|
+
{
|
|
237
|
+
key: 0,
|
|
238
|
+
class: "chat-list__no-data",
|
|
239
|
+
style: X(t.noDataStyle)
|
|
240
|
+
},
|
|
241
|
+
[
|
|
242
|
+
s("div", ft, [
|
|
243
|
+
s(
|
|
244
|
+
"p",
|
|
245
|
+
_t,
|
|
246
|
+
h(t.emptyStateTitle),
|
|
247
|
+
1
|
|
248
|
+
/* TEXT */
|
|
249
|
+
),
|
|
250
|
+
t.emptyStateHint ? (o(), r(
|
|
251
|
+
"p",
|
|
252
|
+
mt,
|
|
253
|
+
h(t.emptyStateHint),
|
|
254
|
+
1
|
|
255
|
+
/* TEXT */
|
|
256
|
+
)) : l("v-if", !0)
|
|
257
|
+
])
|
|
258
|
+
],
|
|
259
|
+
4
|
|
260
|
+
/* STYLE */
|
|
261
|
+
)) : (o(!0), r(
|
|
262
|
+
C,
|
|
263
|
+
{ key: 1 },
|
|
264
|
+
p(t.getSortedAndFilteredChats().filter((e) => !e.isFixedBottom && !e.isFixedTop), (e) => (o(), f(t.ChatItem, {
|
|
265
|
+
key: e.chatId,
|
|
266
|
+
class: "chat-list__item",
|
|
267
|
+
chat: e,
|
|
268
|
+
"show-dialogs": a.showDialogs,
|
|
269
|
+
"context-menu-trigger": t.props.contextMenuTrigger,
|
|
270
|
+
onSelect: t.selectChat,
|
|
271
|
+
onExpand: t.expandChat,
|
|
272
|
+
onAction: t.action
|
|
273
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
274
|
+
128
|
|
275
|
+
/* KEYED_FRAGMENT */
|
|
276
|
+
))
|
|
277
|
+
],
|
|
278
|
+
544
|
|
279
|
+
/* NEED_HYDRATION, NEED_PATCH */
|
|
280
|
+
),
|
|
281
|
+
l(" Закреплённые элементы снизу (вне скролла) "),
|
|
282
|
+
!t.props.isLoading && t.getSortedAndFilteredChats().filter((e) => e.isFixedBottom).length > 0 ? (o(), r("div", St, [
|
|
283
|
+
(o(!0), r(
|
|
284
|
+
C,
|
|
285
|
+
null,
|
|
286
|
+
p(t.getSortedAndFilteredChats().filter((e) => e.isFixedBottom), (e) => (o(), f(t.ChatItem, {
|
|
287
|
+
key: e.chatId,
|
|
208
288
|
class: "chat-list__item",
|
|
209
|
-
chat:
|
|
289
|
+
chat: e,
|
|
210
290
|
"show-dialogs": a.showDialogs,
|
|
211
|
-
"context-menu-trigger":
|
|
212
|
-
onSelect:
|
|
213
|
-
onExpand:
|
|
214
|
-
onAction:
|
|
215
|
-
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
]
|
|
226
|
-
]
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
291
|
+
"context-menu-trigger": t.props.contextMenuTrigger,
|
|
292
|
+
onSelect: t.selectChat,
|
|
293
|
+
onExpand: t.expandChat,
|
|
294
|
+
onAction: t.action
|
|
295
|
+
}, null, 8, ["chat", "show-dialogs", "context-menu-trigger", "onSelect", "onExpand", "onAction"]))),
|
|
296
|
+
128
|
|
297
|
+
/* KEYED_FRAGMENT */
|
|
298
|
+
))
|
|
299
|
+
])) : l("v-if", !0),
|
|
300
|
+
F(Z, null, {
|
|
301
|
+
default: $(() => [
|
|
302
|
+
t.isShowButton ? (o(), r("button", {
|
|
303
|
+
key: 0,
|
|
304
|
+
class: "chat-list__button-up",
|
|
305
|
+
onClick: i[4] || (i[4] = (...e) => t.scrollToTopForce && t.scrollToTopForce(...e))
|
|
306
|
+
}, [...i[6] || (i[6] = [
|
|
307
|
+
s(
|
|
308
|
+
"span",
|
|
309
|
+
{ class: "pi pi-angle-up chat-list__icon-down" },
|
|
310
|
+
null,
|
|
311
|
+
-1
|
|
312
|
+
/* CACHED */
|
|
313
|
+
)
|
|
314
|
+
])])) : l("v-if", !0)
|
|
315
|
+
]),
|
|
316
|
+
_: 1
|
|
317
|
+
/* STABLE */
|
|
318
|
+
})
|
|
319
|
+
]);
|
|
320
|
+
}
|
|
321
|
+
const Bt = /* @__PURE__ */ it(rt, [["render", yt], ["__scopeId", "data-v-1f77562d"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/3_compounds/ChatList/ChatList.vue"]]);
|
|
232
322
|
export {
|
|
233
|
-
|
|
323
|
+
Bt as default
|
|
234
324
|
};
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import p from "./icons/LogoIcon.vue.js";
|
|
2
|
+
import c from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
|
+
import { createElementBlock as l, openBlock as o, createElementVNode as s, renderSlot as d, createBlock as i, createCommentVNode as a, toDisplayString as _, withCtx as f } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "chat-list__title"
|
|
9
|
-
}, y = {
|
|
5
|
+
import u from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const m = {
|
|
10
7
|
__name: "ChatListHeader",
|
|
11
8
|
props: {
|
|
12
9
|
title: {
|
|
@@ -31,30 +28,51 @@ const b = { class: "chat-list__title-container" }, f = { class: "chat-list__titl
|
|
|
31
28
|
Некоторые функции находятся в разработке.`
|
|
32
29
|
}
|
|
33
30
|
},
|
|
34
|
-
setup(r) {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
t.logoEnabled ? (e(), s(_, {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: "chat-list__title-logo"
|
|
41
|
-
})) : o("", !0),
|
|
42
|
-
t.titleEnabled ? (e(), a("h2", h, d(t.title), 1)) : o("", !0),
|
|
43
|
-
t.betaEnabled ? (e(), s(u, {
|
|
44
|
-
key: 2,
|
|
45
|
-
text: t.betaTooltipText,
|
|
46
|
-
position: "bottom"
|
|
47
|
-
}, {
|
|
48
|
-
default: p(() => [...l[0] || (l[0] = [
|
|
49
|
-
i("div", { class: "chat-list__title-beta-badge" }, " beta ", -1)
|
|
50
|
-
])]),
|
|
51
|
-
_: 1
|
|
52
|
-
}, 8, ["text"])) : o("", !0)
|
|
53
|
-
]),
|
|
54
|
-
c(n.$slots, "actions", {}, void 0, !0)
|
|
55
|
-
]));
|
|
31
|
+
setup(r, { expose: e }) {
|
|
32
|
+
e();
|
|
33
|
+
const t = { props: r, LogoIcon: p, Tooltip: c };
|
|
34
|
+
return Object.defineProperty(t, "__isScriptSetup", { enumerable: !1, value: !0 }), t;
|
|
56
35
|
}
|
|
57
|
-
},
|
|
36
|
+
}, b = { class: "chat-list__title-container" }, h = { class: "chat-list__title-block" }, v = {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "chat-list__title"
|
|
39
|
+
};
|
|
40
|
+
function y(r, e, n, t, g, x) {
|
|
41
|
+
return o(), l("div", b, [
|
|
42
|
+
s("div", h, [
|
|
43
|
+
t.props.logoEnabled ? (o(), i(t.LogoIcon, {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "chat-list__title-logo"
|
|
46
|
+
})) : a("v-if", !0),
|
|
47
|
+
t.props.titleEnabled ? (o(), l(
|
|
48
|
+
"h2",
|
|
49
|
+
v,
|
|
50
|
+
_(t.props.title),
|
|
51
|
+
1
|
|
52
|
+
/* TEXT */
|
|
53
|
+
)) : a("v-if", !0),
|
|
54
|
+
t.props.betaEnabled ? (o(), i(t.Tooltip, {
|
|
55
|
+
key: 2,
|
|
56
|
+
text: t.props.betaTooltipText,
|
|
57
|
+
position: "bottom"
|
|
58
|
+
}, {
|
|
59
|
+
default: f(() => [...e[0] || (e[0] = [
|
|
60
|
+
s(
|
|
61
|
+
"div",
|
|
62
|
+
{ class: "chat-list__title-beta-badge" },
|
|
63
|
+
" beta ",
|
|
64
|
+
-1
|
|
65
|
+
/* CACHED */
|
|
66
|
+
)
|
|
67
|
+
])]),
|
|
68
|
+
_: 1
|
|
69
|
+
/* STABLE */
|
|
70
|
+
}, 8, ["text"])) : a("v-if", !0)
|
|
71
|
+
]),
|
|
72
|
+
d(r.$slots, "actions", {}, void 0, !0)
|
|
73
|
+
]);
|
|
74
|
+
}
|
|
75
|
+
const S = /* @__PURE__ */ u(m, [["render", y], ["__scopeId", "data-v-c1682de6"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/3_compounds/ChatList/ChatListHeader.vue"]]);
|
|
58
76
|
export {
|
|
59
|
-
|
|
77
|
+
S as default
|
|
60
78
|
};
|