@mobilon-dev/chotto 0.3.121 → 0.3.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +4 -29
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +59 -40
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +4 -47
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +82 -55
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +51 -86
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -32
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +28 -7
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +35 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -30
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +4 -37
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +21 -7
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +19 -30
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +4 -70
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +108 -76
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +13 -26
- package/dist/components/1_icons/CloseButtonIcon.vue.js +10 -16
- package/dist/components/1_icons/CloseIcon.vue.js +10 -16
- package/dist/components/1_icons/ContactCRMIcon.vue.js +10 -16
- package/dist/components/1_icons/DeletedMessageIcon.vue.js +11 -17
- package/dist/components/1_icons/MenuIcon.vue.js +10 -16
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
- package/dist/components/1_icons/SearchIcon.vue.js +17 -29
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
- package/dist/components/1_icons/VerifiedBadge.vue.js +19 -25
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +402 -552
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +13 -19
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +4 -74
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +46 -12
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -62
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +98 -80
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +45 -76
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -100
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +91 -16
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -79
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +111 -88
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +58 -32
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +35 -41
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +314 -131
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +68 -36
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +37 -71
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +62 -83
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +42 -22
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -460
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +499 -181
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +46 -37
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js +4 -52
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +39 -16
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -270
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +274 -95
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -409
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +422 -143
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -57
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +69 -41
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +4 -97
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +173 -102
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +118 -34
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -94
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +76 -10
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -348
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +339 -97
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -308
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +299 -89
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -321
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +338 -96
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +19 -36
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
- package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -170
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +336 -239
- package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +25 -43
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +166 -256
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +39 -57
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -185
- package/dist/components/3_compounds/Feed/Feed.vue2.js +314 -161
- package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +19 -17
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +18 -33
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +59 -90
- package/dist/types/src/components/3_compounds/Feed/composables/useFeedScroll.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useLocale as
|
|
3
|
-
const y = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, computed as n, createElementBlock as u, createCommentVNode as d, openBlock as h, createElementVNode as _, toDisplayString as f, unref as v } from "vue";
|
|
2
|
+
import { useLocale as g } from "../../../locale/useLocale.js";
|
|
3
|
+
const x = ["data-channel-type"], y = { class: "message-sms-invite__text" }, w = /* @__PURE__ */ p({
|
|
4
4
|
__name: "MessageSmsInvite",
|
|
5
5
|
props: {
|
|
6
|
-
status: {
|
|
7
|
-
hasMessengerAccount: { type: Boolean
|
|
8
|
-
channel: {
|
|
6
|
+
status: {},
|
|
7
|
+
hasMessengerAccount: { type: Boolean },
|
|
8
|
+
channel: {}
|
|
9
9
|
},
|
|
10
10
|
emits: ["sms-invite"],
|
|
11
|
-
setup(
|
|
12
|
-
o()
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
setup(a, { emit: o }) {
|
|
12
|
+
const t = a, c = o, { t: i } = g(), r = n(() => t.status === "error" && t.hasMessengerAccount === !1), m = n(() => {
|
|
13
|
+
var s;
|
|
14
|
+
const e = ((s = t.channel) == null ? void 0 : s.toLowerCase()) ?? "";
|
|
15
|
+
return e.includes("whatsapp") || e.includes("waba") ? "whatsapp" : e.includes("max") ? "max" : "telegram";
|
|
16
|
+
}), l = () => {
|
|
17
|
+
c("sms-invite");
|
|
18
|
+
};
|
|
19
|
+
return (e, s) => r.value ? (h(), u("div", {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "message-sms-invite",
|
|
22
|
+
"data-channel-type": m.value,
|
|
23
|
+
onClick: l
|
|
24
|
+
}, [
|
|
25
|
+
_("span", y, f(v(i)("component.TextMessage.sendSmsInvite")), 1)
|
|
26
|
+
], 8, x)) : d("", !0);
|
|
21
27
|
}
|
|
22
28
|
});
|
|
23
29
|
export {
|
|
24
|
-
|
|
30
|
+
w as default
|
|
25
31
|
};
|
package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createBlock as a, createCommentVNode as c, openBlock as s, withCtx as i, createElementVNode as n, normalizeClass as r } from "vue";
|
|
1
|
+
import t from "./MessageStatusIndicator.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
return e.isVisible ? (s(), a(e.Tooltip, {
|
|
7
|
-
key: 0,
|
|
8
|
-
text: t.statusTitle,
|
|
9
|
-
position: t.tooltipPosition
|
|
10
|
-
}, {
|
|
11
|
-
default: i(() => [
|
|
12
|
-
n(
|
|
13
|
-
"div",
|
|
14
|
-
{
|
|
15
|
-
class: r(["message-status-indicator", ...e.statusContainerClasses])
|
|
16
|
-
},
|
|
17
|
-
[
|
|
18
|
-
t.messageStatus === "pending" ? (s(), a(e.PendingStatusIcon, { key: 0 })) : t.messageStatus === "error" ? (s(), a(e.ErrorStatusIcon, { key: 1 })) : t.messageStatus === "read" ? (s(), a(e.ReadStatusIcon, { key: 2 })) : t.messageStatus === "received" ? (s(), a(e.ReceivedStatusIcon, { key: 3 })) : (s(), a(e.SentStatusIcon, { key: 4 }))
|
|
19
|
-
],
|
|
20
|
-
2
|
|
21
|
-
/* CLASS */
|
|
22
|
-
)
|
|
23
|
-
]),
|
|
24
|
-
_: 1
|
|
25
|
-
/* STABLE */
|
|
26
|
-
}, 8, ["text", "position"])) : c("v-if", !0);
|
|
27
|
-
}
|
|
28
|
-
const v = /* @__PURE__ */ d(o, [["render", m], ["__scopeId", "data-v-689a3cc0"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c70e671a"]]);
|
|
29
5
|
export {
|
|
30
|
-
|
|
6
|
+
e as default
|
|
31
7
|
};
|
package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, computed as i, createBlock as s, createCommentVNode as l, openBlock as a, withCtx as c, createElementVNode as d, normalizeClass as g, unref as r } from "vue";
|
|
2
2
|
import p from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
|
-
import { statuses as
|
|
3
|
+
import { statuses as S } from "../../../functions/getStatusMessage.js";
|
|
4
4
|
import "../../../functions/parseMarkdown.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
const
|
|
5
|
+
import f from "../../1_icons/MessageStatus/ErrorStatusIcon.vue.js";
|
|
6
|
+
import y from "../../1_icons/MessageStatus/PendingStatusIcon.vue.js";
|
|
7
|
+
import C from "../../1_icons/MessageStatus/ReadStatusIcon.vue.js";
|
|
8
|
+
import k from "../../1_icons/MessageStatus/ReceivedStatusIcon.vue.js";
|
|
9
|
+
import I from "../../1_icons/MessageStatus/SentStatusIcon.vue.js";
|
|
10
|
+
const M = /* @__PURE__ */ m({
|
|
11
11
|
name: "MessageStatusIndicator",
|
|
12
12
|
__name: "MessageStatusIndicator",
|
|
13
13
|
props: {
|
|
@@ -37,28 +37,30 @@ const v = /* @__PURE__ */ i({
|
|
|
37
37
|
},
|
|
38
38
|
statuses: {
|
|
39
39
|
type: Array,
|
|
40
|
-
default: () =>
|
|
40
|
+
default: () => S
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
setup(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
setup(t) {
|
|
44
|
+
const e = t, u = i(() => e.messageClass === `${e.baseClass}__right` && e.statuses.includes(e.messageStatus)), n = i(() => {
|
|
45
|
+
const o = [`${e.baseClass}__status`];
|
|
46
|
+
return e.statusClass && o.push(e.statusClass), o;
|
|
47
|
+
});
|
|
48
|
+
return (o, b) => u.value ? (a(), s(p, {
|
|
49
|
+
key: 0,
|
|
50
|
+
text: t.statusTitle,
|
|
51
|
+
position: t.tooltipPosition
|
|
52
|
+
}, {
|
|
53
|
+
default: c(() => [
|
|
54
|
+
d("div", {
|
|
55
|
+
class: g(["message-status-indicator", ...n.value])
|
|
56
|
+
}, [
|
|
57
|
+
t.messageStatus === "pending" ? (a(), s(r(y), { key: 0 })) : t.messageStatus === "error" ? (a(), s(r(f), { key: 1 })) : t.messageStatus === "read" ? (a(), s(r(C), { key: 2 })) : t.messageStatus === "received" ? (a(), s(r(k), { key: 3 })) : (a(), s(r(I), { key: 4 }))
|
|
58
|
+
], 2)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}, 8, ["text", "position"])) : l("", !0);
|
|
60
62
|
}
|
|
61
63
|
});
|
|
62
64
|
export {
|
|
63
|
-
|
|
65
|
+
M as default
|
|
64
66
|
};
|
|
@@ -1,145 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as l, openBlock as a, normalizeClass as c, createCommentVNode as i, createElementVNode as n, normalizeStyle as _, createVNode as m, withCtx as g, createTextVNode as f, toDisplayString as d, Fragment as r, createBlock as u, Teleport as v, Transition as h } from "vue";
|
|
1
|
+
import o from "./MissedCallMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 1,
|
|
7
|
-
class: "missed-call-message__subtext"
|
|
8
|
-
}, b = { class: "missed-call-message__info-container" }, T = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "missed-call-message__time"
|
|
11
|
-
}, w = { class: "missed-call-message__main-content" }, A = { class: "missed-call-message__icon-wrapper" }, I = { class: "missed-call-message__info-container" }, V = { class: "missed-call-message__time" };
|
|
12
|
-
function N(S, t, s, e, B, E) {
|
|
13
|
-
return a(), l("div", {
|
|
14
|
-
ref: "menuAnchorRef",
|
|
15
|
-
class: c([
|
|
16
|
-
e.getClass(s.message),
|
|
17
|
-
s.applyStyle(s.message)
|
|
18
|
-
]),
|
|
19
|
-
messageId: s.message.messageId,
|
|
20
|
-
onMouseenter: t[1] || (t[1] = (...o) => e.showMenu && e.showMenu(...o)),
|
|
21
|
-
onMouseleave: t[2] || (t[2] = (...o) => e.hideMenu && e.hideMenu(...o))
|
|
22
|
-
}, [
|
|
23
|
-
s.message.avatar ? (a(), l("img", {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "missed-call-message__avatar",
|
|
26
|
-
src: s.message.avatar,
|
|
27
|
-
height: "32",
|
|
28
|
-
width: "32",
|
|
29
|
-
style: _({ gridRow: s.message.subText ? "2" : "1" })
|
|
30
|
-
}, null, 12, k)) : i("v-if", !0),
|
|
31
|
-
s.message.subText ? (a(), l("p", C, [
|
|
32
|
-
m(e.Tooltip, {
|
|
33
|
-
text: e.subtextTooltipText,
|
|
34
|
-
position: "right",
|
|
35
|
-
offset: 8
|
|
36
|
-
}, {
|
|
37
|
-
default: g(() => [
|
|
38
|
-
f(
|
|
39
|
-
d(s.message.subText),
|
|
40
|
-
1
|
|
41
|
-
/* TEXT */
|
|
42
|
-
)
|
|
43
|
-
]),
|
|
44
|
-
_: 1
|
|
45
|
-
/* STABLE */
|
|
46
|
-
}, 8, ["text"])
|
|
47
|
-
])) : i("v-if", !0),
|
|
48
|
-
n("div", {
|
|
49
|
-
class: c(["missed-call-message__content", { "is-first": !0 }])
|
|
50
|
-
}, [
|
|
51
|
-
t[5] || (t[5] = n(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
class: "missed-call-message__bottom-shadow",
|
|
55
|
-
"aria-hidden": "true"
|
|
56
|
-
},
|
|
57
|
-
null,
|
|
58
|
-
-1
|
|
59
|
-
/* CACHED */
|
|
60
|
-
)),
|
|
61
|
-
s.message.deleted ? (a(), l(
|
|
62
|
-
r,
|
|
63
|
-
{ key: 0 },
|
|
64
|
-
[
|
|
65
|
-
m(e.DeletedMessageContent),
|
|
66
|
-
n("div", b, [
|
|
67
|
-
s.message.time ? (a(), l(
|
|
68
|
-
"span",
|
|
69
|
-
T,
|
|
70
|
-
d(s.message.time),
|
|
71
|
-
1
|
|
72
|
-
/* TEXT */
|
|
73
|
-
)) : i("v-if", !0)
|
|
74
|
-
])
|
|
75
|
-
],
|
|
76
|
-
64
|
|
77
|
-
/* STABLE_FRAGMENT */
|
|
78
|
-
)) : (a(), l(
|
|
79
|
-
r,
|
|
80
|
-
{ key: 1 },
|
|
81
|
-
[
|
|
82
|
-
n("div", w, [
|
|
83
|
-
n("div", A, [
|
|
84
|
-
m(e.MissedCallIcon, { class: "missed-call-message__icon" })
|
|
85
|
-
]),
|
|
86
|
-
t[3] || (t[3] = n(
|
|
87
|
-
"p",
|
|
88
|
-
{ class: "missed-call-message__text" },
|
|
89
|
-
" Пропущенный звонок ",
|
|
90
|
-
-1
|
|
91
|
-
/* CACHED */
|
|
92
|
-
))
|
|
93
|
-
]),
|
|
94
|
-
n("div", I, [
|
|
95
|
-
n(
|
|
96
|
-
"span",
|
|
97
|
-
V,
|
|
98
|
-
d(s.message.time),
|
|
99
|
-
1
|
|
100
|
-
/* TEXT */
|
|
101
|
-
)
|
|
102
|
-
]),
|
|
103
|
-
e.buttonMenuVisible && e.menuActions.length ? (a(), l("button", {
|
|
104
|
-
key: 0,
|
|
105
|
-
class: "missed-call-message__menu-button",
|
|
106
|
-
onClick: t[0] || (t[0] = (...o) => e.toggleMenu && e.toggleMenu(...o))
|
|
107
|
-
}, [...t[4] || (t[4] = [
|
|
108
|
-
n(
|
|
109
|
-
"span",
|
|
110
|
-
{ class: "pi pi-ellipsis-h" },
|
|
111
|
-
null,
|
|
112
|
-
-1
|
|
113
|
-
/* CACHED */
|
|
114
|
-
)
|
|
115
|
-
])])) : i("v-if", !0),
|
|
116
|
-
(a(), u(v, { to: "body" }, [
|
|
117
|
-
m(h, null, {
|
|
118
|
-
default: g(() => [
|
|
119
|
-
e.isOpenMenu && e.menuActions.length ? (a(), u(e.ContextMenu, {
|
|
120
|
-
key: 0,
|
|
121
|
-
ref: "menuRef",
|
|
122
|
-
class: "missed-call-message__context-menu message-actions-menu",
|
|
123
|
-
style: _(e.menuStyle),
|
|
124
|
-
"data-theme": e.menuTheme,
|
|
125
|
-
actions: e.menuActions,
|
|
126
|
-
onClick: e.clickAction,
|
|
127
|
-
onMouseenter: e.onMenuMouseEnter,
|
|
128
|
-
onMouseleave: e.onMenuMouseLeave
|
|
129
|
-
}, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : i("v-if", !0)
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
/* STABLE */
|
|
133
|
-
})
|
|
134
|
-
]))
|
|
135
|
-
],
|
|
136
|
-
64
|
|
137
|
-
/* STABLE_FRAGMENT */
|
|
138
|
-
))
|
|
139
|
-
])
|
|
140
|
-
], 42, y);
|
|
141
|
-
}
|
|
142
|
-
const F = /* @__PURE__ */ x(M, [["render", N], ["__scopeId", "data-v-a57d223b"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue"]]);
|
|
3
|
+
import s from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ s(o, [["__scopeId", "data-v-6f8b73ef"]]);
|
|
143
5
|
export {
|
|
144
|
-
|
|
6
|
+
f as default
|
|
145
7
|
};
|
|
@@ -1,22 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useMessageActions as
|
|
3
|
-
import { useMessageMenuActions as
|
|
1
|
+
import { defineComponent as E, inject as O, createElementBlock as n, openBlock as o, unref as e, normalizeClass as y, createCommentVNode as m, createElementVNode as a, normalizeStyle as M, createVNode as r, withCtx as x, createTextVNode as q, toDisplayString as c, Fragment as _, createBlock as b, Teleport as z, Transition as F } from "vue";
|
|
2
|
+
import { useMessageActions as L } from "../../../hooks/messages/useMessageActions.js";
|
|
3
|
+
import { useMessageMenuActions as P } from "../../../hooks/messages/useMessageMenuActions.js";
|
|
4
4
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
5
5
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
6
6
|
import "../../../functions/parseMarkdown.js";
|
|
7
|
-
import { getMessageClass as
|
|
8
|
-
import { useSubtextTooltip as
|
|
9
|
-
import { useStartReply as
|
|
7
|
+
import { getMessageClass as G } from "../../../functions/getMessageClass.js";
|
|
8
|
+
import { useSubtextTooltip as H } from "../../../hooks/messages/useSubtextTooltip.js";
|
|
9
|
+
import { useStartReply as J } from "../../../hooks/messages/useStartReply.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import "../../../locale/useLocale.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { buildReplyPayload as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
const
|
|
14
|
+
import { buildReplyPayload as K } from "../../../hooks/messages/buildReplyPayload.js";
|
|
15
|
+
import Q from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
16
|
+
import U from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
17
|
+
import W from "../DeletedMessageContent/DeletedMessageContent.vue.js";
|
|
18
|
+
import X from "./icons/MissedCallIcon.vue.js";
|
|
19
|
+
const Y = ["messageId"], Z = ["src"], $ = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "missed-call-message__subtext"
|
|
22
|
+
}, ee = { class: "missed-call-message__info-container" }, se = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "missed-call-message__time"
|
|
25
|
+
}, te = { class: "missed-call-message__main-content" }, oe = { class: "missed-call-message__icon-wrapper" }, ae = { class: "missed-call-message__info-container" }, ne = { class: "missed-call-message__time" }, Ce = /* @__PURE__ */ E({
|
|
20
26
|
__name: "MissedCallMessage",
|
|
21
27
|
props: {
|
|
22
28
|
message: {
|
|
@@ -34,31 +40,113 @@ const ee = /* @__PURE__ */ h({
|
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
42
|
emits: ["action", "reply"],
|
|
37
|
-
setup(
|
|
38
|
-
i()
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
menuTheme: M,
|
|
43
|
+
setup(s, { emit: h }) {
|
|
44
|
+
const k = h, { menuActions: u } = P(() => i.message), v = O("chatAppId"), { startReply: C } = J(v || ""), i = s, {
|
|
45
|
+
isOpenMenu: T,
|
|
46
|
+
buttonMenuVisible: R,
|
|
47
|
+
menuAnchorRef: A,
|
|
48
|
+
menuRef: S,
|
|
49
|
+
menuStyle: w,
|
|
50
|
+
menuTheme: I,
|
|
46
51
|
showMenu: d,
|
|
47
52
|
hideMenu: g,
|
|
48
|
-
toggleMenu:
|
|
49
|
-
onMenuMouseEnter:
|
|
50
|
-
onMenuMouseLeave:
|
|
51
|
-
clickAction:
|
|
52
|
-
} =
|
|
53
|
-
onReply: () =>
|
|
54
|
-
}),
|
|
55
|
-
function
|
|
56
|
-
return
|
|
53
|
+
toggleMenu: p,
|
|
54
|
+
onMenuMouseEnter: V,
|
|
55
|
+
onMenuMouseLeave: D,
|
|
56
|
+
clickAction: N
|
|
57
|
+
} = L(i.message, k, {
|
|
58
|
+
onReply: () => C(K(i.message, "message.call"))
|
|
59
|
+
}), j = H(() => i.message, () => i.subtextTooltipData);
|
|
60
|
+
function B(f) {
|
|
61
|
+
return G(f.position, "missed-call-message");
|
|
57
62
|
}
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
return (f, t) => (o(), n("div", {
|
|
64
|
+
ref_key: "menuAnchorRef",
|
|
65
|
+
ref: A,
|
|
66
|
+
class: y([
|
|
67
|
+
B(s.message),
|
|
68
|
+
s.applyStyle(s.message)
|
|
69
|
+
]),
|
|
70
|
+
messageId: s.message.messageId,
|
|
71
|
+
onMouseenter: t[1] || (t[1] = //@ts-ignore
|
|
72
|
+
(...l) => e(d) && e(d)(...l)),
|
|
73
|
+
onMouseleave: t[2] || (t[2] = //@ts-ignore
|
|
74
|
+
(...l) => e(g) && e(g)(...l))
|
|
75
|
+
}, [
|
|
76
|
+
s.message.avatar ? (o(), n("img", {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: "missed-call-message__avatar",
|
|
79
|
+
src: s.message.avatar,
|
|
80
|
+
height: "32",
|
|
81
|
+
width: "32",
|
|
82
|
+
style: M({ gridRow: s.message.subText ? "2" : "1" })
|
|
83
|
+
}, null, 12, Z)) : m("", !0),
|
|
84
|
+
s.message.subText ? (o(), n("p", $, [
|
|
85
|
+
r(U, {
|
|
86
|
+
text: e(j),
|
|
87
|
+
position: "right",
|
|
88
|
+
offset: 8
|
|
89
|
+
}, {
|
|
90
|
+
default: x(() => [
|
|
91
|
+
q(c(s.message.subText), 1)
|
|
92
|
+
]),
|
|
93
|
+
_: 1
|
|
94
|
+
}, 8, ["text"])
|
|
95
|
+
])) : m("", !0),
|
|
96
|
+
a("div", {
|
|
97
|
+
class: y(["missed-call-message__content", { "is-first": !0 }])
|
|
98
|
+
}, [
|
|
99
|
+
t[5] || (t[5] = a("div", {
|
|
100
|
+
class: "missed-call-message__bottom-shadow",
|
|
101
|
+
"aria-hidden": "true"
|
|
102
|
+
}, null, -1)),
|
|
103
|
+
s.message.deleted ? (o(), n(_, { key: 0 }, [
|
|
104
|
+
r(W),
|
|
105
|
+
a("div", ee, [
|
|
106
|
+
s.message.time ? (o(), n("span", se, c(s.message.time), 1)) : m("", !0)
|
|
107
|
+
])
|
|
108
|
+
], 64)) : (o(), n(_, { key: 1 }, [
|
|
109
|
+
a("div", te, [
|
|
110
|
+
a("div", oe, [
|
|
111
|
+
r(X, { class: "missed-call-message__icon" })
|
|
112
|
+
]),
|
|
113
|
+
t[3] || (t[3] = a("p", { class: "missed-call-message__text" }, " Пропущенный звонок ", -1))
|
|
114
|
+
]),
|
|
115
|
+
a("div", ae, [
|
|
116
|
+
a("span", ne, c(s.message.time), 1)
|
|
117
|
+
]),
|
|
118
|
+
e(R) && e(u).length ? (o(), n("button", {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: "missed-call-message__menu-button",
|
|
121
|
+
onClick: t[0] || (t[0] = //@ts-ignore
|
|
122
|
+
(...l) => e(p) && e(p)(...l))
|
|
123
|
+
}, [...t[4] || (t[4] = [
|
|
124
|
+
a("span", { class: "pi pi-ellipsis-h" }, null, -1)
|
|
125
|
+
])])) : m("", !0),
|
|
126
|
+
(o(), b(z, { to: "body" }, [
|
|
127
|
+
r(F, null, {
|
|
128
|
+
default: x(() => [
|
|
129
|
+
e(T) && e(u).length ? (o(), b(Q, {
|
|
130
|
+
key: 0,
|
|
131
|
+
ref_key: "menuRef",
|
|
132
|
+
ref: S,
|
|
133
|
+
class: "missed-call-message__context-menu message-actions-menu",
|
|
134
|
+
style: M(e(w)),
|
|
135
|
+
"data-theme": e(I),
|
|
136
|
+
actions: e(u),
|
|
137
|
+
onClick: e(N),
|
|
138
|
+
onMouseenter: e(V),
|
|
139
|
+
onMouseleave: e(D)
|
|
140
|
+
}, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : m("", !0)
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
})
|
|
144
|
+
]))
|
|
145
|
+
], 64))
|
|
146
|
+
])
|
|
147
|
+
], 42, Y));
|
|
60
148
|
}
|
|
61
149
|
});
|
|
62
150
|
export {
|
|
63
|
-
|
|
151
|
+
Ce as default
|
|
64
152
|
};
|
|
@@ -1,46 +1,34 @@
|
|
|
1
|
-
import { createElementBlock as t, openBlock as l, createElementVNode as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as t, openBlock as l, createElementVNode as C } from "vue";
|
|
2
|
+
import i from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const o = {}, n = {
|
|
4
4
|
width: "20",
|
|
5
5
|
height: "20",
|
|
6
6
|
viewBox: "0 0 20 20",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function c
|
|
11
|
-
return l(), t("svg",
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
function r(c, e) {
|
|
11
|
+
return l(), t("svg", n, [...e[0] || (e[0] = [
|
|
12
|
+
C("g", { "clip-path": "url(#clip0_8206_19)" }, [
|
|
13
|
+
C("path", {
|
|
14
|
+
"fill-rule": "evenodd",
|
|
15
|
+
"clip-rule": "evenodd",
|
|
16
|
+
d: "M2.35684 0.639867C2.57556 0.421478 2.83819 0.252065 3.12733 0.142855C3.41648 0.0336443 3.72553 -0.0128694 4.03401 0.00639586C4.34249 0.0256611 4.64336 0.110265 4.91667 0.254602C5.18998 0.398939 5.42949 0.599712 5.61934 0.843617L7.86309 3.72612C8.27434 4.25487 8.41934 4.94362 8.25684 5.59362L7.57309 8.33112C7.53774 8.4729 7.53965 8.62142 7.57863 8.76225C7.61762 8.90309 7.69236 9.03144 7.79559 9.13487L10.8668 12.2061C10.9704 12.3096 11.099 12.3844 11.24 12.4234C11.3811 12.4624 11.5299 12.4642 11.6718 12.4286L14.4081 11.7449C14.7289 11.6647 15.0637 11.6584 15.3872 11.7267C15.7107 11.7949 16.0145 11.9357 16.2756 12.1386L19.1581 14.3811C20.1943 15.1874 20.2893 16.7186 19.3618 17.6449L18.0693 18.9374C17.1443 19.8624 15.7618 20.2686 14.4731 19.8149C11.1746 18.6543 8.17968 16.7659 5.71059 14.2899C3.2347 11.8211 1.34635 8.82669 0.185589 5.52862C-0.266911 4.24112 0.139339 2.85737 1.06434 1.93237L2.35684 0.639867ZM19.8181 0.183617C19.8763 0.241674 19.9225 0.310644 19.954 0.386575C19.9855 0.462507 20.0017 0.543908 20.0017 0.626117C20.0017 0.708326 19.9855 0.789728 19.954 0.865659C19.9225 0.941591 19.8763 1.01056 19.8181 1.06862L14.6343 6.25112H18.1256C18.2913 6.25112 18.4503 6.31697 18.5675 6.43418C18.6847 6.55139 18.7506 6.71036 18.7506 6.87612C18.7506 7.04188 18.6847 7.20085 18.5675 7.31806C18.4503 7.43527 18.2913 7.50112 18.1256 7.50112H13.1256C12.9598 7.50112 12.8009 7.43527 12.6836 7.31806C12.5664 7.20085 12.5006 7.04188 12.5006 6.87612V1.87612C12.5006 1.71036 12.5664 1.55139 12.6836 1.43418C12.8009 1.31697 12.9598 1.25112 13.1256 1.25112C13.2913 1.25112 13.4503 1.31697 13.5675 1.43418C13.6847 1.55139 13.7506 1.71036 13.7506 1.87612V5.36737L18.9331 0.183617C18.9911 0.125413 19.0601 0.0792346 19.136 0.0477266C19.212 0.0162185 19.2934 0 19.3756 0C19.4578 0 19.5392 0.0162185 19.6151 0.0477266C19.6911 0.0792346 19.76 0.125413 19.8181 0.183617Z",
|
|
17
|
+
fill: "#F84932"
|
|
18
|
+
})
|
|
19
|
+
], -1),
|
|
20
|
+
C("defs", null, [
|
|
21
|
+
C("clipPath", { id: "clip0_8206_19" }, [
|
|
22
|
+
C("rect", {
|
|
23
|
+
width: "20",
|
|
24
|
+
height: "20",
|
|
25
|
+
fill: "white"
|
|
21
26
|
})
|
|
22
|
-
]
|
|
23
|
-
|
|
24
|
-
/* CACHED */
|
|
25
|
-
),
|
|
26
|
-
e(
|
|
27
|
-
"defs",
|
|
28
|
-
null,
|
|
29
|
-
[
|
|
30
|
-
e("clipPath", { id: "clip0_8206_19" }, [
|
|
31
|
-
e("rect", {
|
|
32
|
-
width: "20",
|
|
33
|
-
height: "20",
|
|
34
|
-
fill: "white"
|
|
35
|
-
})
|
|
36
|
-
])
|
|
37
|
-
],
|
|
38
|
-
-1
|
|
39
|
-
/* CACHED */
|
|
40
|
-
)
|
|
27
|
+
])
|
|
28
|
+
], -1)
|
|
41
29
|
])]);
|
|
42
30
|
}
|
|
43
|
-
const p = /* @__PURE__ */ o
|
|
31
|
+
const p = /* @__PURE__ */ i(o, [["render", r]]);
|
|
44
32
|
export {
|
|
45
33
|
p as default
|
|
46
34
|
};
|
|
@@ -1,58 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as i, openBlock as n, Fragment as d, withDirectives as c, createElementVNode as t, vShow as m, createCommentVNode as a, toDisplayString as p } from "vue";
|
|
1
|
+
import o from "./ReplyAudioMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function y(x, e, o, s, h, k) {
|
|
7
|
-
return n(), i(
|
|
8
|
-
d,
|
|
9
|
-
null,
|
|
10
|
-
[
|
|
11
|
-
c(t(
|
|
12
|
-
"div",
|
|
13
|
-
u,
|
|
14
|
-
[...e[1] || (e[1] = [
|
|
15
|
-
t(
|
|
16
|
-
"span",
|
|
17
|
-
{ class: "pi pi-play" },
|
|
18
|
-
null,
|
|
19
|
-
-1
|
|
20
|
-
/* CACHED */
|
|
21
|
-
)
|
|
22
|
-
])],
|
|
23
|
-
512
|
|
24
|
-
/* NEED_PATCH */
|
|
25
|
-
), [
|
|
26
|
-
[m, !s.isPlaying]
|
|
27
|
-
]),
|
|
28
|
-
t("div", g, [
|
|
29
|
-
o.message.header ? (n(), i("p", {
|
|
30
|
-
key: 0,
|
|
31
|
-
textContent: p(`В ответ ${o.message.header}`)
|
|
32
|
-
}, null, 8, f)) : a("v-if", !0),
|
|
33
|
-
e[2] || (e[2] = t(
|
|
34
|
-
"div",
|
|
35
|
-
{ class: "audio-message__reply-description" },
|
|
36
|
-
[
|
|
37
|
-
t("span", { class: "pi pi-microphone" }),
|
|
38
|
-
t("p", null, "Аудиосообщение")
|
|
39
|
-
],
|
|
40
|
-
-1
|
|
41
|
-
/* CACHED */
|
|
42
|
-
)),
|
|
43
|
-
o.message.text ? (n(), i("p", {
|
|
44
|
-
key: 1,
|
|
45
|
-
class: "audio-message__text",
|
|
46
|
-
onClick: e[0] || (e[0] = (...l) => s.inNewWindow && s.inNewWindow(...l)),
|
|
47
|
-
innerHTML: s.linkedHtml
|
|
48
|
-
}, null, 8, v)) : a("v-if", !0)
|
|
49
|
-
])
|
|
50
|
-
],
|
|
51
|
-
64
|
|
52
|
-
/* STABLE_FRAGMENT */
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
const A = /* @__PURE__ */ _(r, [["render", y], ["__scopeId", "data-v-28dedecb"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ad9c9f7"]]);
|
|
56
5
|
export {
|
|
57
|
-
|
|
6
|
+
r as default
|
|
58
7
|
};
|