@mobilon-dev/chotto 0.3.119 → 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/dist/types/src/components/2_feed_elements/types/components.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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as u, openBlock as _, createElementVNode as d, createCommentVNode as h, createVNode as f, ref as a, unref as n } from "vue";
|
|
2
2
|
import { t as m } from "../../../locale/useLocale.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import v from "../../1_icons/SearchIcon.vue.js";
|
|
4
|
+
import C from "../../1_icons/CloseButtonIcon.vue.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
-
const
|
|
7
|
+
const x = {
|
|
8
8
|
__name: "ChatFilter",
|
|
9
9
|
props: {
|
|
10
10
|
placeholder: {
|
|
@@ -14,37 +14,43 @@ const C = { class: "chat-filter__container" }, k = { class: "chat-filter__icon"
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
emits: ["update"],
|
|
17
|
-
setup(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
s("input", {
|
|
30
|
-
ref_key: "refInput",
|
|
31
|
-
ref: t,
|
|
32
|
-
class: "chat-filter__input",
|
|
33
|
-
"data-testid": "chat-filter-input",
|
|
34
|
-
type: "text",
|
|
35
|
-
placeholder: c.placeholder ? c.placeholder : a(m)("component.ChatFilter.InputPlaceholder"),
|
|
36
|
-
onInput: d
|
|
37
|
-
}, null, 40, x),
|
|
38
|
-
o.value ? (i(), n("div", {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: "chat-filter__clear",
|
|
41
|
-
onClick: _
|
|
42
|
-
}, [
|
|
43
|
-
p(v)
|
|
44
|
-
])) : f("", !0)
|
|
45
|
-
]));
|
|
17
|
+
setup(l, { expose: i, emit: o }) {
|
|
18
|
+
i();
|
|
19
|
+
const e = a(""), s = l, r = o, c = a(""), p = { refInput: e, props: s, emit: r, inputValue: c, update: () => {
|
|
20
|
+
const t = n(e);
|
|
21
|
+
c.value = t.value, r("update", t.value);
|
|
22
|
+
}, clear: () => {
|
|
23
|
+
const t = n(e);
|
|
24
|
+
t.value = "", c.value = "", r("update", ""), t.focus();
|
|
25
|
+
}, ref: a, unref: n, get t() {
|
|
26
|
+
return m;
|
|
27
|
+
}, SearchIcon: v, CloseButtonIcon: C };
|
|
28
|
+
return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
|
|
46
29
|
}
|
|
47
|
-
},
|
|
30
|
+
}, F = { class: "chat-filter__container" }, S = { class: "chat-filter__icon" }, V = ["placeholder"];
|
|
31
|
+
function k(l, i, o, e, s, r) {
|
|
32
|
+
return _(), u("div", F, [
|
|
33
|
+
d("div", S, [
|
|
34
|
+
f(e.SearchIcon)
|
|
35
|
+
]),
|
|
36
|
+
d("input", {
|
|
37
|
+
ref: "refInput",
|
|
38
|
+
class: "chat-filter__input",
|
|
39
|
+
"data-testid": "chat-filter-input",
|
|
40
|
+
type: "text",
|
|
41
|
+
placeholder: o.placeholder ? o.placeholder : e.t("component.ChatFilter.InputPlaceholder"),
|
|
42
|
+
onInput: e.update
|
|
43
|
+
}, null, 40, V),
|
|
44
|
+
e.inputValue ? (_(), u("div", {
|
|
45
|
+
key: 0,
|
|
46
|
+
class: "chat-filter__clear",
|
|
47
|
+
onClick: e.clear
|
|
48
|
+
}, [
|
|
49
|
+
f(e.CloseButtonIcon)
|
|
50
|
+
])) : h("v-if", !0)
|
|
51
|
+
]);
|
|
52
|
+
}
|
|
53
|
+
const q = /* @__PURE__ */ I(x, [["render", k], ["__scopeId", "data-v-16b0c439"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatlist_elements/ChatFilter/ChatFilter.vue"]]);
|
|
48
54
|
export {
|
|
49
|
-
|
|
55
|
+
q as default
|
|
50
56
|
};
|
|
@@ -1,7 +1,309 @@
|
|
|
1
|
-
import
|
|
1
|
+
import f from "./ChatItem.vue2.js";
|
|
2
|
+
import { createElementBlock as a, openBlock as e, createElementVNode as o, createCommentVNode as s, withModifiers as k, normalizeClass as _, normalizeStyle as m, createVNode as r, createBlock as c, renderSlot as u, withCtx as h, toDisplayString as d, resolveDynamicComponent as v, Teleport as y, Fragment as M, renderList as x } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import C from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const b = ["data-chat-id"], I = { class: "chat-item__avatar-container" }, T = ["src"], w = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "chat-item__avatar-placeholder"
|
|
8
|
+
}, S = { class: "chat-item__info-container" }, L = { class: "chat-item__title-row" }, A = ["innerHTML"], B = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "chat-item__name"
|
|
11
|
+
}, D = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "chat-item__last-message"
|
|
14
|
+
}, E = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "chat-item__last-message-text chat-item__last-message-text--draft"
|
|
17
|
+
}, H = { class: "chat-item__draft-label" }, U = ["innerHTML"], V = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "chat-item__draft-text"
|
|
20
|
+
}, P = ["innerHTML"], F = {
|
|
21
|
+
key: 3,
|
|
22
|
+
class: "chat-item__last-message-text"
|
|
23
|
+
}, j = { class: "chat-item__details-container" }, N = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "chat-item__time"
|
|
26
|
+
}, R = { class: "chat-item__status-unread-container" }, z = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "chat-item__unread"
|
|
29
|
+
}, q = {
|
|
30
|
+
key: 2,
|
|
31
|
+
class: "chat-item__status-chat-container"
|
|
32
|
+
}, G = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "chat-item__fixed pi pi-thumbtack"
|
|
35
|
+
}, J = {
|
|
36
|
+
key: 0,
|
|
37
|
+
id: "noSelectButton",
|
|
38
|
+
class: "chat-item__menu-button"
|
|
39
|
+
}, K = {
|
|
40
|
+
key: 1,
|
|
41
|
+
id: "noSelectButton",
|
|
42
|
+
class: "chat-item__menu-button"
|
|
43
|
+
}, O = {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: "dialog__container"
|
|
46
|
+
}, Q = ["onClick"], W = ["src"], X = {
|
|
47
|
+
key: 1,
|
|
48
|
+
class: "dialog__icon pi pi-user"
|
|
49
|
+
}, Y = { class: "dialog__text-container" }, Z = { class: "dialog__name" }, p = { class: "dialog__time" };
|
|
50
|
+
function $(g, l, i, t, tt, et) {
|
|
51
|
+
return e(), a("div", null, [
|
|
52
|
+
o("div", {
|
|
53
|
+
ref: "containerRef",
|
|
54
|
+
class: _(["chat-item__container", t.getClass()]),
|
|
55
|
+
"data-testid": "chat-item",
|
|
56
|
+
"data-chat-id": t.props.chat.chatId,
|
|
57
|
+
onMouseenter: t.onMouseEnter,
|
|
58
|
+
onMouseleave: t.onMouseLeave,
|
|
59
|
+
onClick: t.selectChat,
|
|
60
|
+
onContextmenu: k(t.onRightClick, ["prevent"])
|
|
61
|
+
}, [
|
|
62
|
+
o("div", I, [
|
|
63
|
+
o(
|
|
64
|
+
"span",
|
|
65
|
+
{
|
|
66
|
+
class: "chat-item__status-user",
|
|
67
|
+
style: m({ backgroundColor: t.props.chat.status })
|
|
68
|
+
},
|
|
69
|
+
null,
|
|
70
|
+
4
|
|
71
|
+
/* STYLE */
|
|
72
|
+
),
|
|
73
|
+
t.props.chat.avatar ? (e(), a("img", {
|
|
74
|
+
key: 0,
|
|
75
|
+
src: t.props.chat.avatar,
|
|
76
|
+
height: "48",
|
|
77
|
+
width: "48"
|
|
78
|
+
}, null, 8, T)) : (e(), a("div", w, [
|
|
79
|
+
r(t.AvatarIcon)
|
|
80
|
+
]))
|
|
81
|
+
]),
|
|
82
|
+
o("div", S, [
|
|
83
|
+
o("div", L, [
|
|
84
|
+
r(t.Tooltip, {
|
|
85
|
+
text: i.chat.name,
|
|
86
|
+
position: "bottom"
|
|
87
|
+
}, {
|
|
88
|
+
default: h(() => [
|
|
89
|
+
t.useAppleEmojisInName ? (e(), a("div", {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: "chat-item__name",
|
|
92
|
+
innerHTML: t.nameHtml
|
|
93
|
+
}, null, 8, A)) : (e(), a(
|
|
94
|
+
"div",
|
|
95
|
+
B,
|
|
96
|
+
d(i.chat.name),
|
|
97
|
+
1
|
|
98
|
+
/* TEXT */
|
|
99
|
+
))
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
/* STABLE */
|
|
103
|
+
}, 8, ["text"]),
|
|
104
|
+
i.chat.verified ? (e(), c(t.VerifiedBadge, { key: 0 })) : s("v-if", !0),
|
|
105
|
+
u(g.$slots, "name-suffix", {}, void 0, !0)
|
|
106
|
+
]),
|
|
107
|
+
r(t.Tooltip, {
|
|
108
|
+
text: t.lastMessageTooltipText,
|
|
109
|
+
position: "bottom"
|
|
110
|
+
}, {
|
|
111
|
+
default: h(() => [
|
|
112
|
+
i.chat.lastMessage || i.chat.typing || t.hasDraftPreview ? (e(), a("div", D, [
|
|
113
|
+
t.messageIcon && !t.hasDraftPreview ? (e(), c(v(t.messageIcon), {
|
|
114
|
+
key: 0,
|
|
115
|
+
class: "chat-item__message-icon"
|
|
116
|
+
})) : s("v-if", !0),
|
|
117
|
+
t.hasDraftPreview ? (e(), a("span", E, [
|
|
118
|
+
o(
|
|
119
|
+
"span",
|
|
120
|
+
H,
|
|
121
|
+
d(t.draftLabel),
|
|
122
|
+
1
|
|
123
|
+
/* TEXT */
|
|
124
|
+
),
|
|
125
|
+
t.draftFileIcon ? (e(), c(v(t.draftFileIcon), {
|
|
126
|
+
key: 0,
|
|
127
|
+
class: "chat-item__message-icon"
|
|
128
|
+
})) : s("v-if", !0),
|
|
129
|
+
t.draftPreview && t.useAppleEmojisInLastMessage ? (e(), a("span", {
|
|
130
|
+
key: 1,
|
|
131
|
+
class: "chat-item__draft-text",
|
|
132
|
+
innerHTML: t.draftTextHtml
|
|
133
|
+
}, null, 8, U)) : t.draftPreview ? (e(), a(
|
|
134
|
+
"span",
|
|
135
|
+
V,
|
|
136
|
+
d(t.draftPreview),
|
|
137
|
+
1
|
|
138
|
+
/* TEXT */
|
|
139
|
+
)) : s("v-if", !0)
|
|
140
|
+
])) : t.useAppleEmojisInLastMessage ? (e(), a("span", {
|
|
141
|
+
key: 2,
|
|
142
|
+
class: "chat-item__last-message-text",
|
|
143
|
+
innerHTML: t.lastMessageHtml
|
|
144
|
+
}, null, 8, P)) : (e(), a(
|
|
145
|
+
"span",
|
|
146
|
+
F,
|
|
147
|
+
d(t.showText),
|
|
148
|
+
1
|
|
149
|
+
/* TEXT */
|
|
150
|
+
))
|
|
151
|
+
])) : s("v-if", !0)
|
|
152
|
+
]),
|
|
153
|
+
_: 1
|
|
154
|
+
/* STABLE */
|
|
155
|
+
}, 8, ["text"])
|
|
156
|
+
]),
|
|
157
|
+
o("div", j, [
|
|
158
|
+
i.chat["lastActivity.time"] && (!t.hasChatActions || !t.buttonMenuVisible) ? (e(), a(
|
|
159
|
+
"div",
|
|
160
|
+
N,
|
|
161
|
+
d(i.chat["lastActivity.time"]),
|
|
162
|
+
1
|
|
163
|
+
/* TEXT */
|
|
164
|
+
)) : s("v-if", !0),
|
|
165
|
+
s(" Кнопка меню размещена выше статуса и индикатора "),
|
|
166
|
+
t.buttonMenuVisible && t.hasChatActions && i.contextMenuTrigger === "hover" ? (e(), c(t.ButtonContextMenu, {
|
|
167
|
+
key: 1,
|
|
168
|
+
mode: "click",
|
|
169
|
+
"menu-side": "bottom-right",
|
|
170
|
+
actions: i.chat.actions,
|
|
171
|
+
onClick: t.clickAction,
|
|
172
|
+
onButtonClick: t.BCMclick,
|
|
173
|
+
onMenuMouseLeave: l[0] || (l[0] = (n) => t.buttonMenuVisible = !1)
|
|
174
|
+
}, {
|
|
175
|
+
default: h(() => [...l[2] || (l[2] = [
|
|
176
|
+
o(
|
|
177
|
+
"span",
|
|
178
|
+
{ class: "pi pi-ellipsis-h chat-item__actions-trigger" },
|
|
179
|
+
null,
|
|
180
|
+
-1
|
|
181
|
+
/* CACHED */
|
|
182
|
+
)
|
|
183
|
+
])]),
|
|
184
|
+
_: 1
|
|
185
|
+
/* STABLE */
|
|
186
|
+
}, 8, ["actions"])) : s("v-if", !0),
|
|
187
|
+
s(" Контекстное меню для режима rightClick "),
|
|
188
|
+
(e(), c(y, { to: "body" }, [
|
|
189
|
+
i.contextMenuTrigger === "rightClick" && t.hasChatActions && t.contextMenuVisible ? (e(), c(t.ContextMenu, {
|
|
190
|
+
key: 0,
|
|
191
|
+
id: "context-menu-rightclick-" + t.contextMenuId,
|
|
192
|
+
actions: i.chat.actions,
|
|
193
|
+
"data-theme": t.getTheme().theme ? t.getTheme().theme : "light",
|
|
194
|
+
onClick: t.clickAction,
|
|
195
|
+
onMouseenter: t.onContextMenuMouseEnter,
|
|
196
|
+
onMouseleave: t.onContextMenuMouseLeave
|
|
197
|
+
}, null, 8, ["id", "actions", "data-theme"])) : s("v-if", !0)
|
|
198
|
+
])),
|
|
199
|
+
s(" Контейнер для статуса и непрочитанных "),
|
|
200
|
+
o("div", R, [
|
|
201
|
+
t.statuses.includes(i.chat["lastMessage.status"]) ? (e(), a(
|
|
202
|
+
"div",
|
|
203
|
+
{
|
|
204
|
+
key: 0,
|
|
205
|
+
class: _(["chat-item__status-message", t.status])
|
|
206
|
+
},
|
|
207
|
+
[
|
|
208
|
+
i.chat["lastMessage.status"] === "pending" ? (e(), c(t.PendingStatusIcon, { key: 0 })) : i.chat["lastMessage.status"] === "error" ? (e(), c(t.ErrorStatusIcon, { key: 1 })) : i.chat["lastMessage.status"] === "read" ? (e(), c(t.ReadStatusIcon, { key: 2 })) : i.chat["lastMessage.status"] === "received" ? (e(), c(t.ReceivedStatusIcon, { key: 3 })) : (e(), c(t.SentStatusIcon, { key: 4 }))
|
|
209
|
+
],
|
|
210
|
+
2
|
|
211
|
+
/* CLASS */
|
|
212
|
+
)) : s("v-if", !0),
|
|
213
|
+
t.showChatUnread ? (e(), a(
|
|
214
|
+
"div",
|
|
215
|
+
z,
|
|
216
|
+
d(t.chatUnreadText),
|
|
217
|
+
1
|
|
218
|
+
/* TEXT */
|
|
219
|
+
)) : s("v-if", !0)
|
|
220
|
+
]),
|
|
221
|
+
i.chat.countUnread < 1 ? (e(), a("div", q, [
|
|
222
|
+
i.chat.isFixedTop || i.chat.isFixedBottom ? (e(), a("span", G)) : s("v-if", !0)
|
|
223
|
+
])) : s("v-if", !0)
|
|
224
|
+
]),
|
|
225
|
+
t.props.showDialogs && i.chat.dialogs ? (e(), a("div", {
|
|
226
|
+
key: 0,
|
|
227
|
+
class: "chat-item__dialog-buttons",
|
|
228
|
+
onClick: l[1] || (l[1] = (n) => t.emit("expand", t.props.chat))
|
|
229
|
+
}, [
|
|
230
|
+
t.props.showDialogs && !i.chat.dialogsExpanded ? (e(), a("button", J, [...l[3] || (l[3] = [
|
|
231
|
+
o(
|
|
232
|
+
"span",
|
|
233
|
+
{
|
|
234
|
+
id: "noSelectButton",
|
|
235
|
+
class: "pi pi-angle-down"
|
|
236
|
+
},
|
|
237
|
+
null,
|
|
238
|
+
-1
|
|
239
|
+
/* CACHED */
|
|
240
|
+
)
|
|
241
|
+
])])) : s("v-if", !0),
|
|
242
|
+
t.props.showDialogs && i.chat.dialogsExpanded ? (e(), a("button", K, [...l[4] || (l[4] = [
|
|
243
|
+
o(
|
|
244
|
+
"span",
|
|
245
|
+
{
|
|
246
|
+
id: "noSelectButton",
|
|
247
|
+
class: "pi pi-angle-up"
|
|
248
|
+
},
|
|
249
|
+
null,
|
|
250
|
+
-1
|
|
251
|
+
/* CACHED */
|
|
252
|
+
)
|
|
253
|
+
])])) : s("v-if", !0)
|
|
254
|
+
])) : s("v-if", !0)
|
|
255
|
+
], 42, b),
|
|
256
|
+
t.props.showDialogs && i.chat.dialogsExpanded ? (e(), a("div", O, [
|
|
257
|
+
(e(!0), a(
|
|
258
|
+
M,
|
|
259
|
+
null,
|
|
260
|
+
x(t.getSortedDialogs(), (n) => (e(), a("div", {
|
|
261
|
+
key: n.dialogId,
|
|
262
|
+
class: _(["dialog__item", t.getDialogClass(n)]),
|
|
263
|
+
onClick: (at) => t.selectDialog(n)
|
|
264
|
+
}, [
|
|
265
|
+
n.icon ? (e(), a("img", {
|
|
266
|
+
key: 0,
|
|
267
|
+
class: "dialog__icon",
|
|
268
|
+
src: n.icon,
|
|
269
|
+
height: "16",
|
|
270
|
+
width: "16"
|
|
271
|
+
}, null, 8, W)) : (e(), a("span", X)),
|
|
272
|
+
o("div", Y, [
|
|
273
|
+
o(
|
|
274
|
+
"div",
|
|
275
|
+
Z,
|
|
276
|
+
d(n.name),
|
|
277
|
+
1
|
|
278
|
+
/* TEXT */
|
|
279
|
+
),
|
|
280
|
+
o(
|
|
281
|
+
"div",
|
|
282
|
+
p,
|
|
283
|
+
d(n["lastActivity.time"]),
|
|
284
|
+
1
|
|
285
|
+
/* TEXT */
|
|
286
|
+
)
|
|
287
|
+
]),
|
|
288
|
+
n.countUnread > 0 ? (e(), a(
|
|
289
|
+
"div",
|
|
290
|
+
{
|
|
291
|
+
key: 2,
|
|
292
|
+
class: "chat-item__unread",
|
|
293
|
+
style: m(n.colorUnread ? { backgroundColor: n.colorUnread } : {})
|
|
294
|
+
},
|
|
295
|
+
d(n.countUnread > 99 ? "99+" : n.countUnread),
|
|
296
|
+
5
|
|
297
|
+
/* TEXT, STYLE */
|
|
298
|
+
)) : s("v-if", !0)
|
|
299
|
+
], 10, Q))),
|
|
300
|
+
128
|
|
301
|
+
/* KEYED_FRAGMENT */
|
|
302
|
+
))
|
|
303
|
+
])) : s("v-if", !0)
|
|
304
|
+
]);
|
|
305
|
+
}
|
|
306
|
+
const ct = /* @__PURE__ */ C(f, [["render", $], ["__scopeId", "data-v-c1f8f6a0"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatlist_elements/ChatItem/ChatItem.vue"]]);
|
|
5
307
|
export {
|
|
6
|
-
|
|
308
|
+
ct as default
|
|
7
309
|
};
|