@mobilon-dev/chotto 0.3.98 → 0.3.100
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 +111 -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 +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 +312 -135
- 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 +213 -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/dist/functions/renderAppleEmojis.js +120 -91
- package/dist/hooks/messages/useMessageLinks.js +15 -15
- package/dist/hooks/useEmojiNative.js +24 -12
- package/dist/node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js +581 -555
- package/dist/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/glass.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.d.ts +21 -2
- package/dist/types/functions/renderAppleEmojis.d.ts +13 -10
- package/dist/types/hooks/useEmojiNative.d.ts +5 -2
- package/package.json +2 -2
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import c from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = {
|
|
1
|
+
import { defineComponent as o, createElementBlock as l, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
const C = {
|
|
5
3
|
width: "16",
|
|
6
4
|
height: "16",
|
|
7
5
|
viewBox: "0 0 16 16",
|
|
8
6
|
fill: "none",
|
|
9
7
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
8
|
+
}, c = ["fill"], s = /* @__PURE__ */ o({
|
|
9
|
+
__name: "IncomingCallIcon",
|
|
10
|
+
props: {
|
|
11
|
+
color: { default: "#00AC47" }
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (r, i) => (t(), l("svg", C, [
|
|
15
|
+
n("path", {
|
|
16
|
+
"fill-rule": "evenodd",
|
|
17
|
+
"clip-rule": "evenodd",
|
|
18
|
+
d: "M14.0001 13.5006C14.0001 13.6332 13.9475 13.7604 13.8537 13.8542C13.7599 13.948 13.6328 14.0006 13.5001 14.0006H7.50014C7.36753 14.0006 7.24036 13.948 7.14659 13.8542C7.05282 13.7604 7.00014 13.6332 7.00014 13.5006C7.00014 13.368 7.05282 13.2408 7.14659 13.1471C7.24036 13.0533 7.36753 13.0006 7.50014 13.0006H12.2931L2.14614 2.85463C2.09966 2.80814 2.06278 2.75295 2.03762 2.69221C2.01246 2.63148 1.99951 2.56638 1.99951 2.50063C1.99951 2.43489 2.01246 2.36979 2.03762 2.30905C2.06278 2.24831 2.09966 2.19312 2.14614 2.14663C2.19263 2.10014 2.24782 2.06327 2.30856 2.03811C2.3693 2.01295 2.4344 2 2.50014 2C2.56589 2 2.63099 2.01295 2.69173 2.03811C2.75247 2.06327 2.80766 2.10014 2.85414 2.14663L13.0001 12.2936V7.50063C13.0001 7.36802 13.0528 7.24085 13.1466 7.14708C13.2404 7.05331 13.3675 7.00063 13.5001 7.00063C13.6328 7.00063 13.7599 7.05331 13.8537 7.14708C13.9475 7.24085 14.0001 7.36802 14.0001 7.50063V13.5006Z",
|
|
19
|
+
fill: e.color
|
|
20
|
+
}, null, 8, c)
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
22
24
|
export {
|
|
23
|
-
|
|
25
|
+
s as default
|
|
24
26
|
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
const p = /* @__PURE__ */ t({
|
|
3
|
-
__name: "IncomingCallIcon",
|
|
4
|
-
props: {
|
|
5
|
-
color: { type: String, required: !1, default: "#00AC47" }
|
|
6
|
-
},
|
|
7
|
-
setup(n, { expose: r }) {
|
|
8
|
-
r();
|
|
9
|
-
const e = {};
|
|
10
|
-
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
1
|
+
import f from "./IncomingCallIcon.vue.js";
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
f as default
|
|
15
4
|
};
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import c from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = {
|
|
1
|
+
import { defineComponent as o, createElementBlock as l, openBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
const C = {
|
|
5
3
|
width: "16",
|
|
6
4
|
height: "16",
|
|
7
5
|
viewBox: "0 0 16 16",
|
|
8
6
|
fill: "none",
|
|
9
7
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
8
|
+
}, c = ["fill"], s = /* @__PURE__ */ o({
|
|
9
|
+
__name: "OutgoingCallIcon",
|
|
10
|
+
props: {
|
|
11
|
+
color: { default: "#118ABF" }
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (r, i) => (t(), l("svg", C, [
|
|
15
|
+
n("path", {
|
|
16
|
+
"fill-rule": "evenodd",
|
|
17
|
+
"clip-rule": "evenodd",
|
|
18
|
+
d: "M2 2.5C2 2.36739 2.05268 2.24021 2.14645 2.14645C2.24021 2.05268 2.36739 2 2.5 2H8.5C8.63261 2 8.75979 2.05268 8.85355 2.14645C8.94732 2.24021 9 2.36739 9 2.5C9 2.63261 8.94732 2.75979 8.85355 2.85355C8.75979 2.94732 8.63261 3 8.5 3H3.707L13.854 13.146C13.9479 13.2399 14.0006 13.3672 14.0006 13.5C14.0006 13.6328 13.9479 13.7601 13.854 13.854C13.7601 13.9479 13.6328 14.0006 13.5 14.0006C13.3672 14.0006 13.2399 13.9479 13.146 13.854L3 3.707V8.5C3 8.63261 2.94732 8.75979 2.85355 8.85355C2.75979 8.94732 2.63261 9 2.5 9C2.36739 9 2.24021 8.94732 2.14645 8.85355C2.05268 8.75979 2 8.63261 2 8.5V2.5Z",
|
|
19
|
+
fill: e.color
|
|
20
|
+
}, null, 8, c)
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
22
24
|
export {
|
|
23
|
-
|
|
25
|
+
s as default
|
|
24
26
|
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
const p = /* @__PURE__ */ t({
|
|
3
|
-
__name: "OutgoingCallIcon",
|
|
4
|
-
props: {
|
|
5
|
-
color: { type: String, required: !1, default: "#118ABF" }
|
|
6
|
-
},
|
|
7
|
-
setup(o, { expose: r }) {
|
|
8
|
-
r();
|
|
9
|
-
const e = {};
|
|
10
|
-
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
1
|
+
import f from "./OutgoingCallIcon.vue.js";
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
f as default
|
|
15
4
|
};
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as s, openBlock as o, createElementVNode as a, toDisplayString as c } from "vue";
|
|
1
|
+
import o from "./DateMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function p(m, d, e, i, f, l) {
|
|
7
|
-
return o(), s("div", _, [
|
|
8
|
-
a(
|
|
9
|
-
"p",
|
|
10
|
-
n,
|
|
11
|
-
c(e.message.text),
|
|
12
|
-
1
|
|
13
|
-
/* TEXT */
|
|
14
|
-
)
|
|
15
|
-
]);
|
|
16
|
-
}
|
|
17
|
-
const x = /* @__PURE__ */ r(t, [["render", p], ["__scopeId", "data-v-7ee5e700"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/DateMessage/DateMessage.vue"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0369ddcb"]]);
|
|
18
5
|
export {
|
|
19
|
-
|
|
6
|
+
s as default
|
|
20
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as t, createElementBlock as s, openBlock as a, createElementVNode as o, toDisplayString as n } from "vue";
|
|
2
|
+
const c = { class: "date-message__container" }, r = { class: "date-message__text" }, i = /* @__PURE__ */ t({
|
|
3
3
|
__name: "DateMessage",
|
|
4
4
|
props: {
|
|
5
5
|
message: {
|
|
@@ -9,12 +9,12 @@ const _ = /* @__PURE__ */ r({
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
setup(e) {
|
|
13
|
+
return (_, m) => (a(), s("div", c, [
|
|
14
|
+
o("p", r, n(e.message.text), 1)
|
|
15
|
+
]));
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
i as default
|
|
20
20
|
};
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
import t from "./DateMessageSticky.vue2.js";
|
|
2
|
-
import { createElementBlock as s, openBlock as o, createElementVNode as c, toDisplayString as a } from "vue";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function n(p, d, e, m, f, l) {
|
|
7
|
-
return o(), s("div", _, [
|
|
8
|
-
c(
|
|
9
|
-
"p",
|
|
10
|
-
i,
|
|
11
|
-
a(e.text),
|
|
12
|
-
1
|
|
13
|
-
/* TEXT */
|
|
14
|
-
)
|
|
15
|
-
]);
|
|
16
|
-
}
|
|
17
|
-
const u = /* @__PURE__ */ r(t, [["render", n], ["__scopeId", "data-v-89d0fb0b"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-b651f78e"]]);
|
|
18
5
|
export {
|
|
19
|
-
|
|
6
|
+
s as default
|
|
20
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as t, createElementBlock as s, openBlock as a, createElementVNode as c, toDisplayString as n } from "vue";
|
|
2
|
+
const o = { class: "date-message-sticky__container" }, r = { class: "date-message-sticky__text" }, d = /* @__PURE__ */ t({
|
|
3
3
|
__name: "DateMessageSticky",
|
|
4
4
|
props: {
|
|
5
5
|
text: {
|
|
@@ -7,12 +7,12 @@ const s = /* @__PURE__ */ r({
|
|
|
7
7
|
required: !0
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setup(e) {
|
|
11
|
+
return (i, _) => (a(), s("div", o, [
|
|
12
|
+
c("p", r, n(e.text), 1)
|
|
13
|
+
]));
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
d as default
|
|
18
18
|
};
|
|
@@ -1,70 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createBlock as _, createElementBlock as a, openBlock as o, withCtx as c, createElementVNode as s, createVNode as l, toDisplayString as n, createCommentVNode as d } from "vue";
|
|
1
|
+
import t from "./DeletedMessageContent.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "deleted-message-content__tooltip-original"
|
|
8
|
-
}, f = {
|
|
9
|
-
key: 1,
|
|
10
|
-
class: "deleted-message-content__tooltip-meta"
|
|
11
|
-
}, h = { class: "deleted-message-content" }, p = { class: "deleted-message-content__text" }, v = {
|
|
12
|
-
key: 1,
|
|
13
|
-
class: "deleted-message-content"
|
|
14
|
-
}, x = { class: "deleted-message-content__text" };
|
|
15
|
-
function b(y, k, t, e, D, C) {
|
|
16
|
-
return e.hasTooltip ? (o(), _(e.Tooltip, {
|
|
17
|
-
key: 0,
|
|
18
|
-
position: "bottom-right",
|
|
19
|
-
offset: 8,
|
|
20
|
-
delay: 400,
|
|
21
|
-
"max-width": "280px",
|
|
22
|
-
"bubble-style": e.tooltipBubbleStyle
|
|
23
|
-
}, {
|
|
24
|
-
content: c(() => [
|
|
25
|
-
s("div", m, [
|
|
26
|
-
t.originalText ? (o(), a(
|
|
27
|
-
"div",
|
|
28
|
-
g,
|
|
29
|
-
n(t.originalText),
|
|
30
|
-
1
|
|
31
|
-
/* TEXT */
|
|
32
|
-
)) : d("v-if", !0),
|
|
33
|
-
t.meta ? (o(), a(
|
|
34
|
-
"div",
|
|
35
|
-
f,
|
|
36
|
-
n(t.meta),
|
|
37
|
-
1
|
|
38
|
-
/* TEXT */
|
|
39
|
-
)) : d("v-if", !0)
|
|
40
|
-
])
|
|
41
|
-
]),
|
|
42
|
-
default: c(() => [
|
|
43
|
-
s("div", h, [
|
|
44
|
-
l(e.DeletedMessageIcon, { class: "deleted-message-content__icon" }),
|
|
45
|
-
s(
|
|
46
|
-
"span",
|
|
47
|
-
p,
|
|
48
|
-
n(e.label),
|
|
49
|
-
1
|
|
50
|
-
/* TEXT */
|
|
51
|
-
)
|
|
52
|
-
])
|
|
53
|
-
]),
|
|
54
|
-
_: 1
|
|
55
|
-
/* STABLE */
|
|
56
|
-
})) : (o(), a("div", v, [
|
|
57
|
-
l(e.DeletedMessageIcon, { class: "deleted-message-content__icon" }),
|
|
58
|
-
s(
|
|
59
|
-
"span",
|
|
60
|
-
x,
|
|
61
|
-
n(e.label),
|
|
62
|
-
1
|
|
63
|
-
/* TEXT */
|
|
64
|
-
)
|
|
65
|
-
]));
|
|
66
|
-
}
|
|
67
|
-
const I = /* @__PURE__ */ r(i, [["render", b], ["__scopeId", "data-v-1e72949e"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue"]]);
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ e(t, [["__scopeId", "data-v-ca0c3683"]]);
|
|
68
5
|
export {
|
|
69
|
-
|
|
6
|
+
s as default
|
|
70
7
|
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useLocale as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as u, computed as c, createBlock as f, createElementBlock as n, openBlock as t, withCtx as i, createElementVNode as o, createVNode as d, toDisplayString as s, createCommentVNode as m } from "vue";
|
|
2
|
+
import { useLocale as h } from "../../../locale/useLocale.js";
|
|
3
|
+
import x from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
4
|
+
import r from "./icons/DeletedMessageIcon.vue.js";
|
|
5
|
+
const y = { class: "deleted-message-content__tooltip" }, b = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "deleted-message-content__tooltip-original"
|
|
8
|
+
}, v = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "deleted-message-content__tooltip-meta"
|
|
11
|
+
}, k = { class: "deleted-message-content" }, T = { class: "deleted-message-content__text" }, C = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "deleted-message-content"
|
|
14
|
+
}, B = { class: "deleted-message-content__text" }, q = /* @__PURE__ */ u({
|
|
6
15
|
__name: "DeletedMessageContent",
|
|
7
16
|
props: {
|
|
8
17
|
/** Оригинальный текст удалённого сообщения */
|
|
@@ -18,14 +27,37 @@ const g = /* @__PURE__ */ i({
|
|
|
18
27
|
default: ""
|
|
19
28
|
}
|
|
20
29
|
},
|
|
21
|
-
setup(
|
|
22
|
-
l()
|
|
23
|
-
const e = n, { t } = a(), s = r(() => t("component.DeletedMessageContent.text")), p = r(() => !!(e.originalText || e.meta)), o = { props: e, t, label: s, hasTooltip: p, tooltipBubbleStyle: {
|
|
30
|
+
setup(e) {
|
|
31
|
+
const a = e, { t: _ } = h(), l = c(() => _("component.DeletedMessageContent.text")), g = c(() => !!(a.originalText || a.meta)), p = {
|
|
24
32
|
"--chotto-tooltip-border": "1px solid #5F5F5F"
|
|
25
|
-
}
|
|
26
|
-
return
|
|
33
|
+
};
|
|
34
|
+
return (D, S) => g.value ? (t(), f(x, {
|
|
35
|
+
key: 0,
|
|
36
|
+
position: "bottom-right",
|
|
37
|
+
offset: 8,
|
|
38
|
+
delay: 400,
|
|
39
|
+
"max-width": "280px",
|
|
40
|
+
"bubble-style": p
|
|
41
|
+
}, {
|
|
42
|
+
content: i(() => [
|
|
43
|
+
o("div", y, [
|
|
44
|
+
e.originalText ? (t(), n("div", b, s(e.originalText), 1)) : m("", !0),
|
|
45
|
+
e.meta ? (t(), n("div", v, s(e.meta), 1)) : m("", !0)
|
|
46
|
+
])
|
|
47
|
+
]),
|
|
48
|
+
default: i(() => [
|
|
49
|
+
o("div", k, [
|
|
50
|
+
d(r, { class: "deleted-message-content__icon" }),
|
|
51
|
+
o("span", T, s(l.value), 1)
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
})) : (t(), n("div", C, [
|
|
56
|
+
d(r, { class: "deleted-message-content__icon" }),
|
|
57
|
+
o("span", B, s(l.value), 1)
|
|
58
|
+
]));
|
|
27
59
|
}
|
|
28
60
|
});
|
|
29
61
|
export {
|
|
30
|
-
|
|
62
|
+
q as default
|
|
31
63
|
};
|
package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js
CHANGED
|
@@ -1,27 +1,21 @@
|
|
|
1
1
|
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
2
|
+
import r from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const C = {}, l = {
|
|
4
4
|
width: "16",
|
|
5
5
|
height: "16",
|
|
6
6
|
viewBox: "0 0 16 16",
|
|
7
7
|
fill: "none",
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
return o(), t("svg",
|
|
12
|
-
n(
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
},
|
|
18
|
-
null,
|
|
19
|
-
-1
|
|
20
|
-
/* CACHED */
|
|
21
|
-
)
|
|
10
|
+
function s(c, e) {
|
|
11
|
+
return o(), t("svg", l, [...e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M15 8C15.0024 6.31562 14.3949 4.68732 13.29 3.416L3.416 13.291C4.43021 14.1698 5.67567 14.7386 7.004 14.9295C8.33234 15.1205 9.68757 14.9255 10.9083 14.368C12.1289 13.8104 13.1636 12.9138 13.8891 11.7847C14.6145 10.6557 15.0001 9.34199 15 8ZM2.71 12.584L12.584 2.709C11.2462 1.55067 9.51928 0.942016 7.75082 1.00552C5.98235 1.06902 4.30356 1.79996 3.05226 3.05126C1.80096 4.30256 1.07002 5.98135 1.00652 7.74982C0.943016 9.51828 1.55167 11.2462 2.71 12.584ZM16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8C0 5.87827 0.842855 3.84344 2.34315 2.34315C3.84344 0.842855 5.87827 0 8 0C10.1217 0 12.1566 0.842855 13.6569 2.34315C15.1571 3.84344 16 5.87827 16 8Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}, null, -1)
|
|
22
16
|
])]);
|
|
23
17
|
}
|
|
24
|
-
const
|
|
18
|
+
const d = /* @__PURE__ */ r(C, [["render", s]]);
|
|
25
19
|
export {
|
|
26
|
-
|
|
20
|
+
d as default
|
|
27
21
|
};
|
|
@@ -1,63 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as i, openBlock as s, createVNode as c, withCtx as l, createElementVNode as o, normalizeClass as a, toDisplayString as r } from "vue";
|
|
1
|
+
import e from "./DelimiterMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "delimiter-message__tooltip-root"
|
|
8
|
-
}, d = { class: "delimiter-message__text" }, f = { class: "delimiter-message__text" };
|
|
9
|
-
function g(p, v, e, t, x, h) {
|
|
10
|
-
return t.effectiveTooltipText ? (s(), i("div", _, [
|
|
11
|
-
c(t.Tooltip, {
|
|
12
|
-
text: t.effectiveTooltipText,
|
|
13
|
-
position: e.tooltipPosition,
|
|
14
|
-
offset: e.tooltipOffset,
|
|
15
|
-
delay: e.tooltipDelay
|
|
16
|
-
}, {
|
|
17
|
-
default: l(() => [
|
|
18
|
-
o(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
ref: "containerRef",
|
|
22
|
-
class: a(["delimiter-message__container", { "delimiter-message__container--removing": t.isRemoving }])
|
|
23
|
-
},
|
|
24
|
-
[
|
|
25
|
-
o(
|
|
26
|
-
"p",
|
|
27
|
-
d,
|
|
28
|
-
r(e.message.text),
|
|
29
|
-
1
|
|
30
|
-
/* TEXT */
|
|
31
|
-
)
|
|
32
|
-
],
|
|
33
|
-
2
|
|
34
|
-
/* CLASS */
|
|
35
|
-
)
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
/* STABLE */
|
|
39
|
-
}, 8, ["text", "position", "offset", "delay"])
|
|
40
|
-
])) : (s(), i(
|
|
41
|
-
"div",
|
|
42
|
-
{
|
|
43
|
-
key: 1,
|
|
44
|
-
ref: "containerRef",
|
|
45
|
-
class: a(["delimiter-message__container", { "delimiter-message__container--removing": t.isRemoving }])
|
|
46
|
-
},
|
|
47
|
-
[
|
|
48
|
-
o(
|
|
49
|
-
"p",
|
|
50
|
-
f,
|
|
51
|
-
r(e.message.text),
|
|
52
|
-
1
|
|
53
|
-
/* TEXT */
|
|
54
|
-
)
|
|
55
|
-
],
|
|
56
|
-
2
|
|
57
|
-
/* CLASS */
|
|
58
|
-
));
|
|
59
|
-
}
|
|
60
|
-
const R = /* @__PURE__ */ m(n, [["render", g], ["__scopeId", "data-v-b6d5fe38"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ o(e, [["__scopeId", "data-v-75a5769e"]]);
|
|
61
5
|
export {
|
|
62
|
-
|
|
6
|
+
m as default
|
|
63
7
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as T, computed as y, ref as c, onMounted as x, onBeforeUnmount as R, watch as h, createElementBlock as u, openBlock as f, createVNode as D, withCtx as O, createElementVNode as a, normalizeClass as d, toDisplayString as p } from "vue";
|
|
2
|
+
import b from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
|
+
const k = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "delimiter-message__tooltip-root"
|
|
6
|
+
}, N = { class: "delimiter-message__text" }, I = { class: "delimiter-message__text" }, A = 3e3, E = 400, B = /* @__PURE__ */ T({
|
|
4
7
|
__name: "DelimiterMessage",
|
|
5
8
|
props: {
|
|
6
9
|
message: {
|
|
@@ -29,20 +32,19 @@ const a = 3e3, c = 400, I = /* @__PURE__ */ v({
|
|
|
29
32
|
}
|
|
30
33
|
},
|
|
31
34
|
emits: ["read"],
|
|
32
|
-
setup(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
), n = d, s = m(null), l = m(!1);
|
|
35
|
+
setup(o, { emit: g }) {
|
|
36
|
+
const i = o, r = y(
|
|
37
|
+
() => i.tooltipText || i.message.tooltipText || ""
|
|
38
|
+
), v = g, s = c(null), l = c(!1);
|
|
37
39
|
let t = null, e = null;
|
|
38
|
-
const
|
|
39
|
-
!
|
|
40
|
-
(
|
|
41
|
-
|
|
40
|
+
const m = () => {
|
|
41
|
+
!i.message.autoRemove || !s.value || (t = new IntersectionObserver(
|
|
42
|
+
(n) => {
|
|
43
|
+
n[0].isIntersecting ? (e && clearTimeout(e), e = setTimeout(() => {
|
|
42
44
|
l.value = !0, t && s.value && (t.disconnect(), t = null), setTimeout(() => {
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
},
|
|
45
|
+
v("read", i.message.messageId);
|
|
46
|
+
}, E);
|
|
47
|
+
}, A)) : e && (clearTimeout(e), e = null);
|
|
46
48
|
},
|
|
47
49
|
{
|
|
48
50
|
threshold: 0.75,
|
|
@@ -51,32 +53,47 @@ const a = 3e3, c = 400, I = /* @__PURE__ */ v({
|
|
|
51
53
|
}
|
|
52
54
|
), t.observe(s.value));
|
|
53
55
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
return x(() => {
|
|
57
|
+
i.message.autoRemove && setTimeout(() => {
|
|
58
|
+
m();
|
|
57
59
|
}, 100);
|
|
58
|
-
}),
|
|
60
|
+
}), R(() => {
|
|
59
61
|
e && (clearTimeout(e), e = null), t && (t.disconnect(), t = null);
|
|
60
|
-
}),
|
|
61
|
-
() =>
|
|
62
|
-
(
|
|
63
|
-
t && (t.disconnect(), t = null), e && (clearTimeout(e), e = null),
|
|
64
|
-
|
|
62
|
+
}), h(
|
|
63
|
+
() => i.message.autoRemove,
|
|
64
|
+
(n) => {
|
|
65
|
+
t && (t.disconnect(), t = null), e && (clearTimeout(e), e = null), n && setTimeout(() => {
|
|
66
|
+
m();
|
|
65
67
|
}, 100);
|
|
66
68
|
}
|
|
67
|
-
)
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
), (n, _) => r.value ? (f(), u("div", k, [
|
|
70
|
+
D(b, {
|
|
71
|
+
text: r.value,
|
|
72
|
+
position: o.tooltipPosition,
|
|
73
|
+
offset: o.tooltipOffset,
|
|
74
|
+
delay: o.tooltipDelay
|
|
75
|
+
}, {
|
|
76
|
+
default: O(() => [
|
|
77
|
+
a("div", {
|
|
78
|
+
ref_key: "containerRef",
|
|
79
|
+
ref: s,
|
|
80
|
+
class: d(["delimiter-message__container", { "delimiter-message__container--removing": l.value }])
|
|
81
|
+
}, [
|
|
82
|
+
a("p", N, p(o.message.text), 1)
|
|
83
|
+
], 2)
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
}, 8, ["text", "position", "offset", "delay"])
|
|
87
|
+
])) : (f(), u("div", {
|
|
88
|
+
key: 1,
|
|
89
|
+
ref_key: "containerRef",
|
|
90
|
+
ref: s,
|
|
91
|
+
class: d(["delimiter-message__container", { "delimiter-message__container--removing": l.value }])
|
|
92
|
+
}, [
|
|
93
|
+
a("p", I, p(o.message.text), 1)
|
|
94
|
+
], 2));
|
|
78
95
|
}
|
|
79
96
|
});
|
|
80
97
|
export {
|
|
81
|
-
|
|
98
|
+
B as default
|
|
82
99
|
};
|
|
@@ -1,25 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as r, openBlock as i, createElementVNode as o } from "vue";
|
|
1
|
+
import t from "./EditTextMessage.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function p(a, e, _, t, m, f) {
|
|
7
|
-
return i(), r("div", c, [
|
|
8
|
-
e[1] || (e[1] = o(
|
|
9
|
-
"p",
|
|
10
|
-
{ textContent: "Редактирование сообщения" },
|
|
11
|
-
null,
|
|
12
|
-
-1
|
|
13
|
-
/* CACHED */
|
|
14
|
-
)),
|
|
15
|
-
o("p", {
|
|
16
|
-
class: "text",
|
|
17
|
-
onClick: e[0] || (e[0] = (...n) => t.inNewWindow && t.inNewWindow(...n)),
|
|
18
|
-
innerHTML: t.linkedHtml
|
|
19
|
-
}, null, 8, l)
|
|
20
|
-
]);
|
|
21
|
-
}
|
|
22
|
-
const T = /* @__PURE__ */ d(s, [["render", p], ["__scopeId", "data-v-2d7e365b"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/EditTextMessage/EditTextMessage.vue"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-dac20c9a"]]);
|
|
23
5
|
export {
|
|
24
|
-
|
|
6
|
+
s as default
|
|
25
7
|
};
|