@mobilon-dev/chotto 0.3.96 → 0.3.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +29 -4
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +42 -61
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -38
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +33 -2
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +26 -13
- package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
- package/dist/components/1_icons/CloseIcon.vue.js +16 -10
- package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
- package/dist/components/1_icons/MenuIcon.vue.js +16 -10
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
- package/dist/components/1_icons/SearchIcon.vue.js +29 -17
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +546 -396
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +19 -13
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +74 -4
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +8 -42
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +61 -4
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +79 -96
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +80 -51
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +182 -4
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +25 -135
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +78 -4
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +73 -95
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +34 -60
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +39 -33
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +134 -311
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +52 -24
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +35 -67
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +72 -38
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +76 -57
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +19 -39
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +458 -4
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +160 -471
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +60 -4
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +36 -53
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +250 -4
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +67 -233
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +315 -4
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +98 -319
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +155 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +110 -212
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +36 -120
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +75 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -63
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +346 -4
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +73 -307
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +65 -269
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +307 -4
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +76 -298
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +35 -18
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
- package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +85 -4
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +149 -210
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +253 -163
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +50 -32
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +172 -4
- package/dist/components/3_compounds/Feed/Feed.vue2.js +126 -257
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +31 -18
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +85 -56
- package/package.json +1 -1
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import o from "./IncomingCallIcon.vue2.js";
|
|
2
|
+
import { createElementBlock as t, openBlock as n, createElementVNode as l } from "vue";
|
|
3
|
+
import c from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = {
|
|
3
5
|
width: "16",
|
|
4
6
|
height: "16",
|
|
5
7
|
viewBox: "0 0 16 16",
|
|
6
8
|
fill: "none",
|
|
7
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, null, 8, c)
|
|
21
|
-
]));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
10
|
+
}, s = ["fill"];
|
|
11
|
+
function C(i, _, e, a, d, p) {
|
|
12
|
+
return n(), t("svg", r, [
|
|
13
|
+
l("path", {
|
|
14
|
+
"fill-rule": "evenodd",
|
|
15
|
+
"clip-rule": "evenodd",
|
|
16
|
+
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",
|
|
17
|
+
fill: e.color
|
|
18
|
+
}, null, 8, s)
|
|
19
|
+
]);
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ c(o, [["render", C], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue"]]);
|
|
24
22
|
export {
|
|
25
|
-
|
|
23
|
+
u as default
|
|
26
24
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as t } from "vue";
|
|
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
|
+
});
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
p as default
|
|
4
15
|
};
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import o from "./OutgoingCallIcon.vue2.js";
|
|
2
|
+
import { createElementBlock as t, openBlock as l, createElementVNode as n } from "vue";
|
|
3
|
+
import c from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = {
|
|
3
5
|
width: "16",
|
|
4
6
|
height: "16",
|
|
5
7
|
viewBox: "0 0 16 16",
|
|
6
8
|
fill: "none",
|
|
7
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, null, 8, c)
|
|
21
|
-
]));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
10
|
+
}, s = ["fill"];
|
|
11
|
+
function i(C, _, e, a, d, p) {
|
|
12
|
+
return l(), t("svg", r, [
|
|
13
|
+
n("path", {
|
|
14
|
+
"fill-rule": "evenodd",
|
|
15
|
+
"clip-rule": "evenodd",
|
|
16
|
+
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",
|
|
17
|
+
fill: e.color
|
|
18
|
+
}, null, 8, s)
|
|
19
|
+
]);
|
|
20
|
+
}
|
|
21
|
+
const u = /* @__PURE__ */ c(o, [["render", i], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue"]]);
|
|
24
22
|
export {
|
|
25
|
-
|
|
23
|
+
u as default
|
|
26
24
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent as t } from "vue";
|
|
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
|
+
});
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
p as default
|
|
4
15
|
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import t from "./DateMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as s, openBlock as o, createElementVNode as a, toDisplayString as c } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _ = { class: "date-message__container" }, n = { class: "date-message__text" };
|
|
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"]]);
|
|
5
18
|
export {
|
|
6
|
-
|
|
19
|
+
x as default
|
|
7
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
const _ = /* @__PURE__ */ r({
|
|
3
3
|
__name: "DateMessage",
|
|
4
4
|
props: {
|
|
5
5
|
message: {
|
|
@@ -9,12 +9,12 @@ const c = { class: "date-message__container" }, r = { class: "date-message__text
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
setup(s, { expose: t }) {
|
|
13
|
+
t();
|
|
14
|
+
const e = {};
|
|
15
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
_ as default
|
|
20
20
|
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import t from "./DateMessageSticky.vue2.js";
|
|
2
|
+
import { createElementBlock as s, openBlock as o, createElementVNode as c, toDisplayString as a } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _ = { class: "date-message-sticky__container" }, i = { class: "date-message-sticky__text" };
|
|
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"]]);
|
|
5
18
|
export {
|
|
6
|
-
|
|
19
|
+
u as default
|
|
7
20
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as r } from "vue";
|
|
2
|
+
const s = /* @__PURE__ */ r({
|
|
3
3
|
__name: "DateMessageSticky",
|
|
4
4
|
props: {
|
|
5
5
|
text: {
|
|
@@ -7,12 +7,12 @@ const o = { class: "date-message-sticky__container" }, r = { class: "date-messag
|
|
|
7
7
|
required: !0
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setup(p, { expose: t }) {
|
|
11
|
+
t();
|
|
12
|
+
const e = {};
|
|
13
|
+
return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
s as default
|
|
18
18
|
};
|
|
@@ -1,7 +1,70 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from "./DeletedMessageContent.vue2.js";
|
|
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";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = { class: "deleted-message-content__tooltip" }, g = {
|
|
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"]]);
|
|
5
68
|
export {
|
|
6
|
-
|
|
69
|
+
I as default
|
|
7
70
|
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useLocale as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
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({
|
|
1
|
+
import { defineComponent as i, computed as r } from "vue";
|
|
2
|
+
import { useLocale as a } from "../../../locale/useLocale.js";
|
|
3
|
+
import m from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
4
|
+
import u from "./icons/DeletedMessageIcon.vue.js";
|
|
5
|
+
const g = /* @__PURE__ */ i({
|
|
15
6
|
__name: "DeletedMessageContent",
|
|
16
7
|
props: {
|
|
17
8
|
/** Оригинальный текст удалённого сообщения */
|
|
@@ -27,37 +18,14 @@ const y = { class: "deleted-message-content__tooltip" }, b = {
|
|
|
27
18
|
default: ""
|
|
28
19
|
}
|
|
29
20
|
},
|
|
30
|
-
setup(
|
|
31
|
-
|
|
21
|
+
setup(n, { expose: l }) {
|
|
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: {
|
|
32
24
|
"--chotto-tooltip-border": "1px solid #5F5F5F"
|
|
33
|
-
};
|
|
34
|
-
return (
|
|
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
|
-
]));
|
|
25
|
+
}, Tooltip: m, DeletedMessageIcon: u };
|
|
26
|
+
return Object.defineProperty(o, "__isScriptSetup", { enumerable: !1, value: !0 }), o;
|
|
59
27
|
}
|
|
60
28
|
});
|
|
61
29
|
export {
|
|
62
|
-
|
|
30
|
+
g as default
|
|
63
31
|
};
|
package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js
CHANGED
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
-
import
|
|
3
|
-
const
|
|
2
|
+
import s from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const r = {}, c = {
|
|
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
|
-
|
|
10
|
+
function C(l, e) {
|
|
11
|
+
return o(), t("svg", c, [...e[0] || (e[0] = [
|
|
12
|
+
n(
|
|
13
|
+
"path",
|
|
14
|
+
{
|
|
15
|
+
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",
|
|
16
|
+
fill: "currentColor"
|
|
17
|
+
},
|
|
18
|
+
null,
|
|
19
|
+
-1
|
|
20
|
+
/* CACHED */
|
|
21
|
+
)
|
|
16
22
|
])]);
|
|
17
23
|
}
|
|
18
|
-
const
|
|
24
|
+
const _ = /* @__PURE__ */ s(r, [["render", C], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue"]]);
|
|
19
25
|
export {
|
|
20
|
-
|
|
26
|
+
_ as default
|
|
21
27
|
};
|
|
@@ -1,7 +1,63 @@
|
|
|
1
|
-
import
|
|
1
|
+
import n from "./DelimiterMessage.vue2.js";
|
|
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";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import m from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
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"]]);
|
|
5
61
|
export {
|
|
6
|
-
|
|
62
|
+
R as default
|
|
7
63
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
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({
|
|
1
|
+
import { defineComponent as v, computed as g, ref as m, onMounted as _, onBeforeUnmount as b, watch as y } from "vue";
|
|
2
|
+
import O from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
|
+
const a = 3e3, c = 400, I = /* @__PURE__ */ v({
|
|
7
4
|
__name: "DelimiterMessage",
|
|
8
5
|
props: {
|
|
9
6
|
message: {
|
|
@@ -32,19 +29,20 @@ const k = {
|
|
|
32
29
|
}
|
|
33
30
|
},
|
|
34
31
|
emits: ["read"],
|
|
35
|
-
setup(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
setup(f, { expose: p, emit: d }) {
|
|
33
|
+
p();
|
|
34
|
+
const o = f, T = g(
|
|
35
|
+
() => o.tooltipText || o.message.tooltipText || ""
|
|
36
|
+
), n = d, s = m(null), l = m(!1);
|
|
39
37
|
let t = null, e = null;
|
|
40
|
-
const
|
|
41
|
-
!
|
|
42
|
-
(
|
|
43
|
-
|
|
38
|
+
const i = () => {
|
|
39
|
+
!o.message.autoRemove || !s.value || (t = new IntersectionObserver(
|
|
40
|
+
(r) => {
|
|
41
|
+
r[0].isIntersecting ? (e && clearTimeout(e), e = setTimeout(() => {
|
|
44
42
|
l.value = !0, t && s.value && (t.disconnect(), t = null), setTimeout(() => {
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
},
|
|
43
|
+
n("read", o.message.messageId);
|
|
44
|
+
}, c);
|
|
45
|
+
}, a)) : e && (clearTimeout(e), e = null);
|
|
48
46
|
},
|
|
49
47
|
{
|
|
50
48
|
threshold: 0.75,
|
|
@@ -53,47 +51,32 @@ const k = {
|
|
|
53
51
|
}
|
|
54
52
|
), t.observe(s.value));
|
|
55
53
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
_(() => {
|
|
55
|
+
o.message.autoRemove && setTimeout(() => {
|
|
56
|
+
i();
|
|
59
57
|
}, 100);
|
|
60
|
-
}),
|
|
58
|
+
}), b(() => {
|
|
61
59
|
e && (clearTimeout(e), e = null), t && (t.disconnect(), t = null);
|
|
62
|
-
}),
|
|
63
|
-
() =>
|
|
64
|
-
(
|
|
65
|
-
t && (t.disconnect(), t = null), e && (clearTimeout(e), e = null),
|
|
66
|
-
|
|
60
|
+
}), y(
|
|
61
|
+
() => o.message.autoRemove,
|
|
62
|
+
(r) => {
|
|
63
|
+
t && (t.disconnect(), t = null), e && (clearTimeout(e), e = null), r && setTimeout(() => {
|
|
64
|
+
i();
|
|
67
65
|
}, 100);
|
|
68
66
|
}
|
|
69
|
-
)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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));
|
|
67
|
+
);
|
|
68
|
+
const u = { props: o, effectiveTooltipText: T, emit: n, containerRef: s, isRemoving: l, get observer() {
|
|
69
|
+
return t;
|
|
70
|
+
}, set observer(r) {
|
|
71
|
+
t = r;
|
|
72
|
+
}, get timer() {
|
|
73
|
+
return e;
|
|
74
|
+
}, set timer(r) {
|
|
75
|
+
e = r;
|
|
76
|
+
}, READ_DURATION: a, FADE_OUT_DURATION: c, setupObserver: i, Tooltip: O };
|
|
77
|
+
return Object.defineProperty(u, "__isScriptSetup", { enumerable: !1, value: !0 }), u;
|
|
95
78
|
}
|
|
96
79
|
});
|
|
97
80
|
export {
|
|
98
|
-
|
|
81
|
+
I as default
|
|
99
82
|
};
|
|
@@ -1,7 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import s from "./EditTextMessage.vue2.js";
|
|
2
|
+
import { createElementBlock as r, openBlock as i, createElementVNode as o } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import d from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const c = { class: "container" }, l = ["innerHTML"];
|
|
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"]]);
|
|
5
23
|
export {
|
|
6
|
-
|
|
24
|
+
T as default
|
|
7
25
|
};
|