@mobilon-dev/chotto 0.3.98 → 0.3.99
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 +61 -42
- 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 +38 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -33
- 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/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/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +396 -546
- 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 +42 -8
- 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 -61
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +96 -79
- 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 +51 -80
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -182
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +135 -25
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -78
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +95 -73
- 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 +60 -34
- 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 +33 -39
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +311 -134
- 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 +67 -35
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +38 -72
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +57 -76
- 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 +39 -19
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -458
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +471 -160
- 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/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -60
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +53 -36
- 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/FileMessage/FileMessage.vue.js +4 -250
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +233 -67
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -315
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +319 -98
- 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 -155
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +212 -110
- 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 +120 -36
- 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 -75
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +63 -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 -346
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +307 -73
- 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 -307
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +269 -65
- 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 -307
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +298 -76
- 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 +18 -35
- 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 -85
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +210 -149
- 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 +163 -253
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +32 -50
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -172
- package/dist/components/3_compounds/Feed/Feed.vue2.js +257 -126
- 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 -31
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +56 -85
- package/package.json +1 -1
|
@@ -1,158 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as s, openBlock as n, normalizeClass as k, createCommentVNode as c, createBlock as m, Fragment as _, renderList as v, withCtx as d, createElementVNode as l, createVNode as a, toDisplayString as E, Teleport as C, Transition as y, withDirectives as g, normalizeStyle as f, withModifiers as r, vShow as u } from "vue";
|
|
1
|
+
import o from "./MessageReactions.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "message-reactions__count"
|
|
8
|
-
}, x = ["title", "onClick"];
|
|
9
|
-
function q(S, i, t, e, w, L) {
|
|
10
|
-
return n(), s(
|
|
11
|
-
"div",
|
|
12
|
-
{
|
|
13
|
-
ref: "reactionsContainerRef",
|
|
14
|
-
class: k(["message-reactions", { "has-reactions": e.hasReactions, "is-right-message": e.isRight, "is-disabled": !t.enabled }]),
|
|
15
|
-
onPointerenter: e.onMessageMouseEnter,
|
|
16
|
-
onPointerleave: e.onMessageMouseLeave
|
|
17
|
-
},
|
|
18
|
-
[
|
|
19
|
-
(n(!0), s(
|
|
20
|
-
_,
|
|
21
|
-
null,
|
|
22
|
-
v(e.displayedReactions, (o) => (n(), m(e.Tooltip, {
|
|
23
|
-
key: o.key,
|
|
24
|
-
text: e.getReactionTooltip(o),
|
|
25
|
-
position: "bottom-right",
|
|
26
|
-
offset: 6,
|
|
27
|
-
delay: 400
|
|
28
|
-
}, {
|
|
29
|
-
default: d(() => [
|
|
30
|
-
l("button", {
|
|
31
|
-
class: k(["message-reactions__chip", { "is-active": o.reactedByMe && o.count === 1 }]),
|
|
32
|
-
onClick: (h) => e.onToggle(o.key)
|
|
33
|
-
}, [
|
|
34
|
-
l("span", P, [
|
|
35
|
-
a(e.EmojiGlyph, {
|
|
36
|
-
emoji: o.key
|
|
37
|
-
}, null, 8, ["emoji"])
|
|
38
|
-
]),
|
|
39
|
-
e.showCount || o.count > 1 ? (n(), s(
|
|
40
|
-
"span",
|
|
41
|
-
j,
|
|
42
|
-
E(o.count),
|
|
43
|
-
1
|
|
44
|
-
/* TEXT */
|
|
45
|
-
)) : c("v-if", !0)
|
|
46
|
-
], 10, b)
|
|
47
|
-
]),
|
|
48
|
-
_: 2
|
|
49
|
-
/* DYNAMIC */
|
|
50
|
-
}, 1032, ["text"]))),
|
|
51
|
-
128
|
|
52
|
-
/* KEYED_FRAGMENT */
|
|
53
|
-
)),
|
|
54
|
-
c(" Панель быстрых реакций и полный EmojiPicker — в body, чтобы не обрезались overflow ленты "),
|
|
55
|
-
(n(), m(C, { to: "body" }, [
|
|
56
|
-
a(y, {
|
|
57
|
-
name: "message-reactions-popover",
|
|
58
|
-
persisted: ""
|
|
59
|
-
}, {
|
|
60
|
-
default: d(() => [
|
|
61
|
-
g(l(
|
|
62
|
-
"div",
|
|
63
|
-
{
|
|
64
|
-
ref: "quickReactionsRef",
|
|
65
|
-
class: "message-reactions__quick-panel",
|
|
66
|
-
style: f(e.quickPanelStyle),
|
|
67
|
-
onMouseenter: i[0] || (i[0] = (...o) => e.handleQuickPanelMouseEnter && e.handleQuickPanelMouseEnter(...o)),
|
|
68
|
-
onMouseleave: i[1] || (i[1] = (...o) => e.handleQuickPanelMouseLeave && e.handleQuickPanelMouseLeave(...o))
|
|
69
|
-
},
|
|
70
|
-
[
|
|
71
|
-
(n(!0), s(
|
|
72
|
-
_,
|
|
73
|
-
null,
|
|
74
|
-
v(e.quickEmojis, (o) => (n(), s("button", {
|
|
75
|
-
key: o,
|
|
76
|
-
class: "message-reactions__quick-item",
|
|
77
|
-
title: o,
|
|
78
|
-
onClick: r((h) => e.onQuickEmojiClick(o), ["stop"])
|
|
79
|
-
}, [
|
|
80
|
-
a(e.EmojiGlyph, { emoji: o }, null, 8, ["emoji"])
|
|
81
|
-
], 8, x))),
|
|
82
|
-
128
|
|
83
|
-
/* KEYED_FRAGMENT */
|
|
84
|
-
)),
|
|
85
|
-
l("button", {
|
|
86
|
-
class: "message-reactions__expand",
|
|
87
|
-
title: "Развернуть",
|
|
88
|
-
onClick: r(e.onExpandClick, ["stop"])
|
|
89
|
-
}, [
|
|
90
|
-
a(e.ExpandReactionsIcon)
|
|
91
|
-
]),
|
|
92
|
-
t.replyEnabled && t.reply ? (n(), s("button", {
|
|
93
|
-
key: 0,
|
|
94
|
-
class: "message-reactions__quick-item",
|
|
95
|
-
title: "Ответить",
|
|
96
|
-
onClick: r(e.onReplyClick, ["stop"])
|
|
97
|
-
}, [
|
|
98
|
-
a(e.ReplyIcon)
|
|
99
|
-
])) : c("v-if", !0),
|
|
100
|
-
t.menuEnabled ? (n(), s("button", {
|
|
101
|
-
key: 1,
|
|
102
|
-
class: "message-reactions__quick-item",
|
|
103
|
-
title: "Действия",
|
|
104
|
-
onClick: r(e.onMenuClick, ["stop"])
|
|
105
|
-
}, [
|
|
106
|
-
a(e.MessageActionsIcon)
|
|
107
|
-
])) : c("v-if", !0)
|
|
108
|
-
],
|
|
109
|
-
36
|
|
110
|
-
/* STYLE, NEED_HYDRATION */
|
|
111
|
-
), [
|
|
112
|
-
[u, e.isQuickReactionsOpen && !t.readonly && t.enabled]
|
|
113
|
-
])
|
|
114
|
-
]),
|
|
115
|
-
_: 1
|
|
116
|
-
/* STABLE */
|
|
117
|
-
}),
|
|
118
|
-
a(y, {
|
|
119
|
-
name: "message-reactions-popover",
|
|
120
|
-
persisted: ""
|
|
121
|
-
}, {
|
|
122
|
-
default: d(() => [
|
|
123
|
-
g(l(
|
|
124
|
-
"div",
|
|
125
|
-
{
|
|
126
|
-
ref: "pickerRef",
|
|
127
|
-
class: "message-reactions__picker",
|
|
128
|
-
style: f(e.pickerStyle),
|
|
129
|
-
onMouseenter: i[2] || (i[2] = (...o) => e.handlePickerMouseEnter && e.handlePickerMouseEnter(...o)),
|
|
130
|
-
onMouseleave: i[3] || (i[3] = (...o) => e.handlePickerMouseLeave && e.handlePickerMouseLeave(...o))
|
|
131
|
-
},
|
|
132
|
-
[
|
|
133
|
-
a(e.EmojiPicker, {
|
|
134
|
-
native: e.isNative,
|
|
135
|
-
theme: e.emojiTheme,
|
|
136
|
-
"picker-type": "",
|
|
137
|
-
onSelect: e.onSelectEmoji
|
|
138
|
-
}, null, 8, ["native", "theme"])
|
|
139
|
-
],
|
|
140
|
-
36
|
|
141
|
-
/* STYLE, NEED_HYDRATION */
|
|
142
|
-
), [
|
|
143
|
-
[u, e.isFullPickerOpen && !t.readonly && t.enabled]
|
|
144
|
-
])
|
|
145
|
-
]),
|
|
146
|
-
_: 1
|
|
147
|
-
/* STABLE */
|
|
148
|
-
})
|
|
149
|
-
]))
|
|
150
|
-
],
|
|
151
|
-
34
|
|
152
|
-
/* CLASS, NEED_HYDRATION */
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
const N = /* @__PURE__ */ R(M, [["render", q], ["__scopeId", "data-v-254a0217"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MessageReactions/MessageReactions.vue"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-64bc224b"]]);
|
|
156
5
|
export {
|
|
157
|
-
|
|
6
|
+
r as default
|
|
158
7
|
};
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as Ce, inject as E, ref as M, computed as c, unref as i, onMounted as _e, onUnmounted as Ne, watch as Se, createElementBlock as d, openBlock as l, normalizeClass as K, createBlock as Q, Fragment as A, renderList as F, withCtx as C, createElementVNode as p, createCommentVNode as _, createVNode as u, toDisplayString as Ue, Teleport as je, Transition as D, withDirectives as V, normalizeStyle as $, withModifiers as y, vShow as z } from "vue";
|
|
2
|
+
import Pe from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import "../../../hooks/useMessageDraft.js";
|
|
5
5
|
import "../../../hooks/useSearchModel.js";
|
|
6
6
|
import "../../../hooks/useTheme.js";
|
|
7
|
-
import { useEmojiNative as
|
|
7
|
+
import { useEmojiNative as Le } from "../../../hooks/useEmojiNative.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import "../../../locale/useLocale.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import { isRightMessage as
|
|
13
|
-
import
|
|
12
|
+
import { isRightMessage as Te, findMessageContent as qe } from "./composables/usePositioning.js";
|
|
13
|
+
import xe from "./icons/ReplyIcon.vue.js";
|
|
14
14
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
15
15
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
16
16
|
import "../../../functions/parseMarkdown.js";
|
|
17
|
-
import { useStartReply as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { QUICK_REACTION_EMOJIS as
|
|
23
|
-
import { buildReactionTooltipText as
|
|
24
|
-
import { useReactionsState as
|
|
25
|
-
import { useReactionsPanel as
|
|
26
|
-
const
|
|
17
|
+
import { useStartReply as Be } from "../../../hooks/messages/useStartReply.js";
|
|
18
|
+
import H from "../../1_atoms/EmojiGlyph/EmojiGlyph.vue.js";
|
|
19
|
+
import we from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
20
|
+
import Oe from "./icons/ExpandReactionsIcon.vue.js";
|
|
21
|
+
import Ke from "./icons/MessageActionsIcon.vue.js";
|
|
22
|
+
import { QUICK_REACTION_EMOJIS as Qe } from "./utils/quickReactions.js";
|
|
23
|
+
import { buildReactionTooltipText as Ae } from "./utils/reactionTooltip.js";
|
|
24
|
+
import { useReactionsState as Fe } from "./composables/useReactionsState.js";
|
|
25
|
+
import { useReactionsPanel as De } from "./composables/useReactionsPanel.js";
|
|
26
|
+
const Ve = ["onClick"], $e = { class: "message-reactions__emoji" }, ze = {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "message-reactions__count"
|
|
29
|
+
}, He = ["title", "onClick"], ht = /* @__PURE__ */ Ce({
|
|
27
30
|
__name: "MessageReactions",
|
|
28
31
|
props: {
|
|
29
32
|
reactions: {
|
|
@@ -46,7 +49,7 @@ const et = /* @__PURE__ */ de({
|
|
|
46
49
|
mode: {
|
|
47
50
|
type: String,
|
|
48
51
|
default: "single",
|
|
49
|
-
validator: (
|
|
52
|
+
validator: (s) => ["single", "multi"].includes(s)
|
|
50
53
|
},
|
|
51
54
|
/** Id текущего пользователя — для расчёта reactedByMe и локальных add/remove */
|
|
52
55
|
currentUserId: {
|
|
@@ -78,125 +81,224 @@ const et = /* @__PURE__ */ de({
|
|
|
78
81
|
}
|
|
79
82
|
},
|
|
80
83
|
emits: ["toggle-reaction", "add-reaction", "remove-reaction", "menu"],
|
|
81
|
-
setup(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
const e = (o = t.currentUserName) == null ? void 0 : o.trim();
|
|
84
|
+
setup(s, { emit: J }) {
|
|
85
|
+
const n = s, a = J, g = E("chatAppId"), G = E("currentUserId", void 0), W = E("reactionUserNames", void 0), { startReply: X } = Be(g || ""), m = M(null), f = M(null), N = M("light"), { isNative: Y } = Le(g || ""), S = c(() => Qe), Z = c(() => n.mode), k = c(() => n.currentUserId ?? i(G)), U = c(() => n.reactionUserNames ?? i(W)), ee = c(() => {
|
|
86
|
+
var t, r;
|
|
87
|
+
const e = (t = n.currentUserName) == null ? void 0 : t.trim();
|
|
86
88
|
if (e) return e;
|
|
87
|
-
const
|
|
88
|
-
if (
|
|
89
|
-
return (
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
), { displayedReactions:
|
|
96
|
-
function
|
|
97
|
-
return
|
|
89
|
+
const o = k.value;
|
|
90
|
+
if (o != null)
|
|
91
|
+
return (r = U.value) == null ? void 0 : r[String(o)];
|
|
92
|
+
}), te = c(() => n.mode === "multi"), j = Fe(
|
|
93
|
+
c(() => n.reactions),
|
|
94
|
+
Z,
|
|
95
|
+
k,
|
|
96
|
+
ee
|
|
97
|
+
), { displayedReactions: ne, hasReactions: oe, addReaction: h, removeReaction: P, toggleReaction: ie, isMyReaction: L } = j;
|
|
98
|
+
function se(e) {
|
|
99
|
+
return Ae(e.events, U.value);
|
|
98
100
|
}
|
|
99
|
-
const
|
|
100
|
-
isQuickReactionsOpen:
|
|
101
|
-
isFullPickerOpen:
|
|
102
|
-
pickerRef:
|
|
103
|
-
quickReactionsRef:
|
|
104
|
-
quickPanelStyle:
|
|
105
|
-
pickerStyle:
|
|
106
|
-
closeQuickPanel:
|
|
107
|
-
handleMessageMouseEnter:
|
|
108
|
-
handleMessageMouseLeave:
|
|
109
|
-
openFullPicker:
|
|
110
|
-
closeFullPicker:
|
|
111
|
-
handleQuickPanelMouseEnter:
|
|
112
|
-
handleQuickPanelMouseLeave:
|
|
113
|
-
handlePickerMouseEnter:
|
|
114
|
-
handlePickerMouseLeave:
|
|
115
|
-
handleClickOutside:
|
|
116
|
-
} =
|
|
117
|
-
var
|
|
118
|
-
if (!
|
|
119
|
-
const e = document.getElementById(
|
|
120
|
-
return (
|
|
101
|
+
const re = De(S, m), {
|
|
102
|
+
isQuickReactionsOpen: ae,
|
|
103
|
+
isFullPickerOpen: le,
|
|
104
|
+
pickerRef: ce,
|
|
105
|
+
quickReactionsRef: ue,
|
|
106
|
+
quickPanelStyle: de,
|
|
107
|
+
pickerStyle: me,
|
|
108
|
+
closeQuickPanel: v,
|
|
109
|
+
handleMessageMouseEnter: fe,
|
|
110
|
+
handleMessageMouseLeave: pe,
|
|
111
|
+
openFullPicker: ge,
|
|
112
|
+
closeFullPicker: T,
|
|
113
|
+
handleQuickPanelMouseEnter: q,
|
|
114
|
+
handleQuickPanelMouseLeave: x,
|
|
115
|
+
handlePickerMouseEnter: B,
|
|
116
|
+
handlePickerMouseLeave: w,
|
|
117
|
+
handleClickOutside: O
|
|
118
|
+
} = re, ve = c(() => m.value ? Te(m.value) : !1), ye = () => {
|
|
119
|
+
var o;
|
|
120
|
+
if (!g) return "light";
|
|
121
|
+
const e = document.getElementById(g);
|
|
122
|
+
return (o = e == null ? void 0 : e.getAttribute("data-theme")) != null && o.includes("dark") ? "dark" : "light";
|
|
121
123
|
};
|
|
122
|
-
function
|
|
123
|
-
return !
|
|
124
|
+
function I() {
|
|
125
|
+
return !n.readonly && n.enabled && k.value != null;
|
|
124
126
|
}
|
|
125
|
-
function
|
|
126
|
-
if (
|
|
127
|
-
if (
|
|
128
|
-
if (
|
|
129
|
-
|
|
127
|
+
function ke(e) {
|
|
128
|
+
if (I()) {
|
|
129
|
+
if (n.mode === "single") {
|
|
130
|
+
if (j.myReactionKey.value === e)
|
|
131
|
+
P(e), a("remove-reaction", { messageId: n.messageId, key: e });
|
|
130
132
|
else {
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
+
const t = h(e);
|
|
134
|
+
t && a("remove-reaction", { messageId: n.messageId, key: t }), a("add-reaction", { messageId: n.messageId, key: e });
|
|
133
135
|
}
|
|
134
136
|
return;
|
|
135
137
|
}
|
|
136
|
-
|
|
138
|
+
ie(e), a("toggle-reaction", { messageId: n.messageId, key: e });
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
|
-
function
|
|
140
|
-
var
|
|
141
|
-
return e instanceof Node ? !!((
|
|
141
|
+
function he(e) {
|
|
142
|
+
var o, t;
|
|
143
|
+
return e instanceof Node ? !!((o = f.value) != null && o.contains(e) || (t = m.value) != null && t.contains(e)) : !1;
|
|
142
144
|
}
|
|
143
|
-
function
|
|
144
|
-
|
|
145
|
+
function b() {
|
|
146
|
+
n.readonly || !n.enabled || fe();
|
|
145
147
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
148
|
+
function R(e) {
|
|
149
|
+
n.readonly || !n.enabled || he(e.relatedTarget) || pe();
|
|
148
150
|
}
|
|
149
|
-
function
|
|
150
|
-
if (
|
|
151
|
-
if (
|
|
152
|
-
|
|
151
|
+
function Ie(e) {
|
|
152
|
+
if (I()) {
|
|
153
|
+
if (L(e))
|
|
154
|
+
P(e), a("remove-reaction", { messageId: n.messageId, key: e });
|
|
153
155
|
else {
|
|
154
|
-
const
|
|
155
|
-
|
|
156
|
+
const o = h(e);
|
|
157
|
+
o && a("remove-reaction", { messageId: n.messageId, key: o }), a("add-reaction", { messageId: n.messageId, key: e });
|
|
156
158
|
}
|
|
157
|
-
|
|
159
|
+
v();
|
|
158
160
|
}
|
|
159
161
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
162
|
+
function be() {
|
|
163
|
+
n.readonly || !n.enabled || !n.reply || (X(n.reply), v());
|
|
162
164
|
}
|
|
163
|
-
function
|
|
164
|
-
if (
|
|
165
|
-
const
|
|
166
|
-
const
|
|
167
|
-
return { top:
|
|
165
|
+
function Re(e) {
|
|
166
|
+
if (n.readonly || !n.enabled || !n.menuEnabled) return;
|
|
167
|
+
const o = e.currentTarget, t = o instanceof HTMLElement ? (() => {
|
|
168
|
+
const r = o.getBoundingClientRect();
|
|
169
|
+
return { top: r.top, right: r.right, bottom: r.bottom, left: r.left, width: r.width, height: r.height };
|
|
168
170
|
})() : void 0;
|
|
169
|
-
|
|
171
|
+
a("menu", { messageId: n.messageId, triggerRect: t, event: e });
|
|
170
172
|
}
|
|
171
|
-
async function
|
|
172
|
-
|
|
173
|
+
async function Ee() {
|
|
174
|
+
n.readonly || !n.enabled || (N.value = ye(), await ge());
|
|
173
175
|
}
|
|
174
|
-
function
|
|
175
|
-
if (
|
|
176
|
-
const
|
|
177
|
-
if (
|
|
176
|
+
function Me(e) {
|
|
177
|
+
if (T(), v(), !I()) return;
|
|
178
|
+
const o = e.i;
|
|
179
|
+
if (L(o))
|
|
178
180
|
return;
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
+
const t = h(o);
|
|
182
|
+
t && a("remove-reaction", { messageId: n.messageId, key: t }), a("add-reaction", { messageId: n.messageId, key: o });
|
|
181
183
|
}
|
|
182
|
-
|
|
183
|
-
document.addEventListener("click",
|
|
184
|
-
const e =
|
|
185
|
-
e && (
|
|
186
|
-
}),
|
|
187
|
-
document.removeEventListener("click",
|
|
188
|
-
}),
|
|
189
|
-
() => [
|
|
190
|
-
([e,
|
|
191
|
-
(!e ||
|
|
184
|
+
return _e(() => {
|
|
185
|
+
document.addEventListener("click", O);
|
|
186
|
+
const e = qe(m.value);
|
|
187
|
+
e && (f.value = e, e.addEventListener("pointerenter", b), e.addEventListener("pointerleave", R));
|
|
188
|
+
}), Ne(() => {
|
|
189
|
+
document.removeEventListener("click", O), f.value && (f.value.removeEventListener("pointerenter", b), f.value.removeEventListener("pointerleave", R));
|
|
190
|
+
}), Se(
|
|
191
|
+
() => [n.enabled, n.readonly],
|
|
192
|
+
([e, o]) => {
|
|
193
|
+
(!e || o) && (v(), T());
|
|
192
194
|
}
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
), (e, o) => (l(), d("div", {
|
|
196
|
+
ref_key: "reactionsContainerRef",
|
|
197
|
+
ref: m,
|
|
198
|
+
class: K(["message-reactions", { "has-reactions": i(oe), "is-right-message": ve.value, "is-disabled": !s.enabled }]),
|
|
199
|
+
onPointerenter: b,
|
|
200
|
+
onPointerleave: R
|
|
201
|
+
}, [
|
|
202
|
+
(l(!0), d(A, null, F(i(ne), (t) => (l(), Q(we, {
|
|
203
|
+
key: t.key,
|
|
204
|
+
text: se(t),
|
|
205
|
+
position: "bottom-right",
|
|
206
|
+
offset: 6,
|
|
207
|
+
delay: 400
|
|
208
|
+
}, {
|
|
209
|
+
default: C(() => [
|
|
210
|
+
p("button", {
|
|
211
|
+
class: K(["message-reactions__chip", { "is-active": t.reactedByMe && t.count === 1 }]),
|
|
212
|
+
onClick: (r) => ke(t.key)
|
|
213
|
+
}, [
|
|
214
|
+
p("span", $e, [
|
|
215
|
+
u(H, {
|
|
216
|
+
emoji: t.key
|
|
217
|
+
}, null, 8, ["emoji"])
|
|
218
|
+
]),
|
|
219
|
+
te.value || t.count > 1 ? (l(), d("span", ze, Ue(t.count), 1)) : _("", !0)
|
|
220
|
+
], 10, Ve)
|
|
221
|
+
]),
|
|
222
|
+
_: 2
|
|
223
|
+
}, 1032, ["text"]))), 128)),
|
|
224
|
+
(l(), Q(je, { to: "body" }, [
|
|
225
|
+
u(D, { name: "message-reactions-popover" }, {
|
|
226
|
+
default: C(() => [
|
|
227
|
+
V(p("div", {
|
|
228
|
+
ref_key: "quickReactionsRef",
|
|
229
|
+
ref: ue,
|
|
230
|
+
class: "message-reactions__quick-panel",
|
|
231
|
+
style: $(i(de)),
|
|
232
|
+
onMouseenter: o[0] || (o[0] = //@ts-ignore
|
|
233
|
+
(...t) => i(q) && i(q)(...t)),
|
|
234
|
+
onMouseleave: o[1] || (o[1] = //@ts-ignore
|
|
235
|
+
(...t) => i(x) && i(x)(...t))
|
|
236
|
+
}, [
|
|
237
|
+
(l(!0), d(A, null, F(S.value, (t) => (l(), d("button", {
|
|
238
|
+
key: t,
|
|
239
|
+
class: "message-reactions__quick-item",
|
|
240
|
+
title: t,
|
|
241
|
+
onClick: y((r) => Ie(t), ["stop"])
|
|
242
|
+
}, [
|
|
243
|
+
u(H, { emoji: t }, null, 8, ["emoji"])
|
|
244
|
+
], 8, He))), 128)),
|
|
245
|
+
p("button", {
|
|
246
|
+
class: "message-reactions__expand",
|
|
247
|
+
title: "Развернуть",
|
|
248
|
+
onClick: y(Ee, ["stop"])
|
|
249
|
+
}, [
|
|
250
|
+
u(Oe)
|
|
251
|
+
]),
|
|
252
|
+
s.replyEnabled && s.reply ? (l(), d("button", {
|
|
253
|
+
key: 0,
|
|
254
|
+
class: "message-reactions__quick-item",
|
|
255
|
+
title: "Ответить",
|
|
256
|
+
onClick: y(be, ["stop"])
|
|
257
|
+
}, [
|
|
258
|
+
u(xe)
|
|
259
|
+
])) : _("", !0),
|
|
260
|
+
s.menuEnabled ? (l(), d("button", {
|
|
261
|
+
key: 1,
|
|
262
|
+
class: "message-reactions__quick-item",
|
|
263
|
+
title: "Действия",
|
|
264
|
+
onClick: y(Re, ["stop"])
|
|
265
|
+
}, [
|
|
266
|
+
u(Ke)
|
|
267
|
+
])) : _("", !0)
|
|
268
|
+
], 36), [
|
|
269
|
+
[z, i(ae) && !s.readonly && s.enabled]
|
|
270
|
+
])
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}),
|
|
274
|
+
u(D, { name: "message-reactions-popover" }, {
|
|
275
|
+
default: C(() => [
|
|
276
|
+
V(p("div", {
|
|
277
|
+
ref_key: "pickerRef",
|
|
278
|
+
ref: ce,
|
|
279
|
+
class: "message-reactions__picker",
|
|
280
|
+
style: $(i(me)),
|
|
281
|
+
onMouseenter: o[2] || (o[2] = //@ts-ignore
|
|
282
|
+
(...t) => i(B) && i(B)(...t)),
|
|
283
|
+
onMouseleave: o[3] || (o[3] = //@ts-ignore
|
|
284
|
+
(...t) => i(w) && i(w)(...t))
|
|
285
|
+
}, [
|
|
286
|
+
u(i(Pe), {
|
|
287
|
+
native: i(Y),
|
|
288
|
+
theme: N.value,
|
|
289
|
+
"picker-type": "",
|
|
290
|
+
onSelect: Me
|
|
291
|
+
}, null, 8, ["native", "theme"])
|
|
292
|
+
], 36), [
|
|
293
|
+
[z, i(le) && !s.readonly && s.enabled]
|
|
294
|
+
])
|
|
295
|
+
]),
|
|
296
|
+
_: 1
|
|
297
|
+
})
|
|
298
|
+
]))
|
|
299
|
+
], 34));
|
|
198
300
|
}
|
|
199
301
|
});
|
|
200
302
|
export {
|
|
201
|
-
|
|
303
|
+
ht as default
|
|
202
304
|
};
|
|
@@ -1,44 +1,32 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
const n = {},
|
|
1
|
+
import { createElementBlock as l, openBlock as i, createElementVNode as e } from "vue";
|
|
2
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, r = {
|
|
4
4
|
width: "24",
|
|
5
5
|
height: "24",
|
|
6
6
|
viewBox: "0 0 24 24",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return
|
|
12
|
-
e(
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
function c(p, t) {
|
|
11
|
+
return i(), l("svg", r, [...t[0] || (t[0] = [
|
|
12
|
+
e("g", { "clip-path": "url(#clip0_11494_26173)" }, [
|
|
13
|
+
e("path", {
|
|
14
|
+
d: "M16 9V19H8V9H16ZM14.5 3H9.5L8.5 4H5V6H19V4H15.5L14.5 3ZM18 7H6V19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V7Z",
|
|
15
|
+
fill: "#DC3545"
|
|
16
|
+
})
|
|
17
|
+
], -1),
|
|
18
|
+
e("defs", null, [
|
|
19
|
+
e("clipPath", { id: "clip0_11494_26173" }, [
|
|
20
|
+
e("rect", {
|
|
21
|
+
width: "24",
|
|
22
|
+
height: "24",
|
|
23
|
+
fill: "white"
|
|
19
24
|
})
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
/* CACHED */
|
|
23
|
-
),
|
|
24
|
-
e(
|
|
25
|
-
"defs",
|
|
26
|
-
null,
|
|
27
|
-
[
|
|
28
|
-
e("clipPath", { id: "clip0_11494_26173" }, [
|
|
29
|
-
e("rect", {
|
|
30
|
-
width: "24",
|
|
31
|
-
height: "24",
|
|
32
|
-
fill: "white"
|
|
33
|
-
})
|
|
34
|
-
])
|
|
35
|
-
],
|
|
36
|
-
-1
|
|
37
|
-
/* CACHED */
|
|
38
|
-
)
|
|
25
|
+
])
|
|
26
|
+
], -1)
|
|
39
27
|
])]);
|
|
40
28
|
}
|
|
41
|
-
const f = /* @__PURE__ */
|
|
29
|
+
const f = /* @__PURE__ */ o(n, [["render", c]]);
|
|
42
30
|
export {
|
|
43
31
|
f as default
|
|
44
32
|
};
|