@mobilon-dev/chotto 0.3.97 → 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,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { createElementBlock as l, openBlock as a, createElementVNode as o, Fragment as j, renderList as R, normalizeClass as x, withDirectives as H, vModelRadio as J, createTextVNode as M, createCommentVNode as I, createBlock as k, toDisplayString as y, resolveDynamicComponent as N, createVNode as K, ref as C, computed as p, watch as B } from "vue";
|
|
2
|
+
import Q from "../../1_icons/ContactCRMIcon.vue.js";
|
|
3
|
+
import X from "../../1_icons/CheckIcon.vue.js";
|
|
4
|
+
import L from "../../1_icons/WhatsAppIcon.vue.js";
|
|
5
|
+
import P from "../../1_icons/TelegramIcon.vue.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
const
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "contact-info__badge"
|
|
11
|
-
}, ot = { class: "contact-info__channel-section" }, ct = { class: "contact-info__custom-select" }, at = { class: "contact-info__icon" }, lt = ["src", "alt"], it = {
|
|
12
|
-
key: 0,
|
|
13
|
-
class: "contact-info__select-options"
|
|
14
|
-
}, st = ["onClick"], rt = { class: "contact-info__icon" }, ut = ["src", "alt"], dt = { class: "contact-info__crm-button" }, _t = {
|
|
7
|
+
import Y from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const Z = {
|
|
15
9
|
__name: "ContactInfo",
|
|
16
10
|
props: {
|
|
17
11
|
contact: {
|
|
@@ -29,130 +23,197 @@ const Q = { class: "contact-info" }, X = { class: "contact-info__attribute-list"
|
|
|
29
23
|
}
|
|
30
24
|
},
|
|
31
25
|
emits: ["close", "open-crm", "select-attribute-channel"],
|
|
32
|
-
setup(
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
26
|
+
setup(b, { expose: c, emit: g }) {
|
|
27
|
+
var S, A, O;
|
|
28
|
+
c();
|
|
29
|
+
const t = b, h = g, i = C(((O = (A = (S = t.contact) == null ? void 0 : S.attributes) == null ? void 0 : A[0]) == null ? void 0 : O.id) || ""), s = C(t.channels[0] || null), u = C(!1), m = (e) => {
|
|
30
|
+
s.value = e, u.value = !1, console.log(`Выбран канал связи: ${e.title}`), h("select-attribute-channel", {
|
|
31
|
+
attributeId: i.value,
|
|
32
|
+
channelId: e.channelId
|
|
38
33
|
});
|
|
39
|
-
},
|
|
40
|
-
var
|
|
41
|
-
return (
|
|
42
|
-
}),
|
|
43
|
-
if (
|
|
44
|
-
return
|
|
45
|
-
if (!
|
|
46
|
-
const
|
|
47
|
-
return
|
|
48
|
-
var
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
}) ||
|
|
52
|
-
}),
|
|
53
|
-
|
|
54
|
-
attributeId:
|
|
55
|
-
channelId:
|
|
34
|
+
}, _ = (e) => (e == null ? void 0 : e.replace(/\D/g, "")) || "", n = p(() => {
|
|
35
|
+
var e, r;
|
|
36
|
+
return (r = (e = t.contact) == null ? void 0 : e.attributes) == null ? void 0 : r.find((d) => d.id === i.value);
|
|
37
|
+
}), f = p(() => {
|
|
38
|
+
if (s.value)
|
|
39
|
+
return s.value;
|
|
40
|
+
if (!n.value) return t.channels[0] || null;
|
|
41
|
+
const e = _(n.value.value);
|
|
42
|
+
return e ? t.channels.find((d) => {
|
|
43
|
+
var D, V;
|
|
44
|
+
const z = ((D = d.title) == null ? void 0 : D.toLowerCase()) || "", F = ((V = d.channelId) == null ? void 0 : V.toLowerCase()) || "", U = z.includes(e), W = ["whatsapp", "waba", "telegram"].some((G) => F.includes(G));
|
|
45
|
+
return U && W;
|
|
46
|
+
}) || t.channels[0] || { title: "default", channelId: "fallback" } : t.channels[0] || null;
|
|
47
|
+
}), v = p(() => t.channels), T = (e) => e ? e.includes("whatsapp") || e.includes("waba") ? L : e.includes("telegram") ? P : null : null, q = (e) => !t.currentDialog || !Object.keys(t.currentDialog) ? !1 : t.currentDialog.attributeId === e.id, E = (e) => {
|
|
48
|
+
h("select-attribute-channel", {
|
|
49
|
+
attributeId: e.id,
|
|
50
|
+
channelId: s.value.channelId
|
|
56
51
|
});
|
|
57
52
|
};
|
|
58
|
-
|
|
59
|
-
() =>
|
|
53
|
+
B(
|
|
54
|
+
() => t.contact,
|
|
60
55
|
() => {
|
|
61
|
-
var
|
|
62
|
-
(
|
|
56
|
+
var e, r;
|
|
57
|
+
(r = (e = t.contact) == null ? void 0 : e.attributes) != null && r.length ? i.value && t.contact.attributes.some((d) => d.id === i.value) || (i.value = t.contact.attributes[0].id) : i.value = "";
|
|
63
58
|
},
|
|
64
59
|
{ immediate: !0 }
|
|
65
|
-
)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
60
|
+
);
|
|
61
|
+
const w = { props: t, emit: h, localSelectedAttributeId: i, localSelectedChannel: s, isOpen: u, selectChannel: m, extractPhone: _, selectedAttribute: n, currentChannel: f, availableChannels: v, getChannelComponent: T, isCurrentChat: q, onAttributeSelected: E, ref: C, watch: B, computed: p, ContactCRMIcon: Q, CheckIcon: X, WhatsAppIcon: L, TelegramIcon: P };
|
|
62
|
+
return Object.defineProperty(w, "__isScriptSetup", { enumerable: !1, value: !0 }), w;
|
|
63
|
+
}
|
|
64
|
+
}, $ = { class: "contact-info" }, tt = { class: "contact-info__attribute-list" }, et = ["id", "value", "onChange"], nt = ["for"], ot = { class: "contact-info__custom-radio" }, ct = { class: "contact-info__radio-inner" }, at = {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: "contact-info__badge"
|
|
67
|
+
}, it = { class: "contact-info__channel-section" }, lt = { class: "contact-info__custom-select" }, st = { class: "contact-info__icon" }, rt = ["src", "alt"], dt = {
|
|
68
|
+
key: 0,
|
|
69
|
+
class: "contact-info__select-options"
|
|
70
|
+
}, ut = ["onClick"], _t = { class: "contact-info__icon" }, ft = ["src", "alt"], ht = { class: "contact-info__crm-button" };
|
|
71
|
+
function mt(b, c, g, t, h, i) {
|
|
72
|
+
var s, u, m, _;
|
|
73
|
+
return a(), l("div", $, [
|
|
74
|
+
o("div", tt, [
|
|
75
|
+
(a(!0), l(
|
|
76
|
+
j,
|
|
77
|
+
null,
|
|
78
|
+
R(((s = g.contact) == null ? void 0 : s.attributes) || [], (n, f) => (a(), l(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
70
81
|
key: n.id,
|
|
71
|
-
class:
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
class: x(["contact-info__attribute-item", { "contact-info__attribute-item--current-chat": t.isCurrentChat(n) }])
|
|
83
|
+
},
|
|
84
|
+
[
|
|
85
|
+
H(o("input", {
|
|
86
|
+
id: `attr-${f}`,
|
|
87
|
+
"onUpdate:modelValue": c[0] || (c[0] = (v) => t.localSelectedAttributeId = v),
|
|
76
88
|
type: "radio",
|
|
77
89
|
value: n.id,
|
|
78
|
-
onChange: (
|
|
79
|
-
}, null, 40,
|
|
80
|
-
[
|
|
90
|
+
onChange: (v) => t.onAttributeSelected(n)
|
|
91
|
+
}, null, 40, et), [
|
|
92
|
+
[J, t.localSelectedAttributeId]
|
|
81
93
|
]),
|
|
82
94
|
o("label", {
|
|
83
|
-
for: `attr-${
|
|
95
|
+
for: `attr-${f}`
|
|
84
96
|
}, [
|
|
85
|
-
o("span",
|
|
86
|
-
o("span",
|
|
87
|
-
|
|
97
|
+
o("span", ot, [
|
|
98
|
+
o("span", ct, [
|
|
99
|
+
t.localSelectedAttributeId === n.id ? (a(), k(t.CheckIcon, { key: 0 })) : I("v-if", !0)
|
|
88
100
|
])
|
|
89
101
|
]),
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
102
|
+
M(
|
|
103
|
+
" " + y(n.value) + " ",
|
|
104
|
+
1
|
|
105
|
+
/* TEXT */
|
|
106
|
+
),
|
|
107
|
+
t.isCurrentChat(n) ? (a(), l("span", at, " Текущий чат ")) : I("v-if", !0)
|
|
108
|
+
], 8, nt)
|
|
109
|
+
],
|
|
110
|
+
2
|
|
111
|
+
/* CLASS */
|
|
112
|
+
))),
|
|
113
|
+
128
|
|
114
|
+
/* KEYED_FRAGMENT */
|
|
115
|
+
))
|
|
116
|
+
]),
|
|
117
|
+
o("div", it, [
|
|
118
|
+
c[3] || (c[3] = o(
|
|
119
|
+
"label",
|
|
120
|
+
{ class: "contact-info__channel-label" },
|
|
121
|
+
"Канал связи",
|
|
122
|
+
-1
|
|
123
|
+
/* CACHED */
|
|
124
|
+
)),
|
|
125
|
+
o("div", lt, [
|
|
126
|
+
o("div", {
|
|
127
|
+
class: "contact-info__select-trigger",
|
|
128
|
+
onClick: c[1] || (c[1] = (n) => t.isOpen = !t.isOpen)
|
|
129
|
+
}, [
|
|
130
|
+
o("div", st, [
|
|
131
|
+
(u = t.currentChannel) != null && u.icon ? (a(), l("img", {
|
|
132
|
+
key: 0,
|
|
133
|
+
src: t.currentChannel.icon,
|
|
134
|
+
alt: t.currentChannel.title,
|
|
135
|
+
width: "22",
|
|
136
|
+
height: "22"
|
|
137
|
+
}, null, 8, rt)) : (a(), k(N(t.getChannelComponent((m = t.currentChannel) == null ? void 0 : m.channelId)), {
|
|
138
|
+
key: 1,
|
|
139
|
+
class: "contact-info__icon-component"
|
|
140
|
+
}))
|
|
141
|
+
]),
|
|
142
|
+
o(
|
|
143
|
+
"span",
|
|
144
|
+
null,
|
|
145
|
+
y((_ = t.currentChannel) == null ? void 0 : _.title),
|
|
146
|
+
1
|
|
147
|
+
/* TEXT */
|
|
148
|
+
),
|
|
149
|
+
o(
|
|
150
|
+
"div",
|
|
151
|
+
{
|
|
152
|
+
class: x(["contact-info__arrow", { "contact-info__arrow--open": t.isOpen }])
|
|
153
|
+
},
|
|
154
|
+
null,
|
|
155
|
+
2
|
|
156
|
+
/* CLASS */
|
|
157
|
+
)
|
|
94
158
|
]),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
159
|
+
t.isOpen ? (a(), l("div", dt, [
|
|
160
|
+
(a(!0), l(
|
|
161
|
+
j,
|
|
162
|
+
null,
|
|
163
|
+
R(t.availableChannels, (n) => (a(), l("div", {
|
|
164
|
+
key: n.channelId,
|
|
165
|
+
class: "contact-info__select-option",
|
|
166
|
+
onClick: (f) => t.selectChannel(n)
|
|
101
167
|
}, [
|
|
102
|
-
o("div",
|
|
103
|
-
|
|
168
|
+
o("div", _t, [
|
|
169
|
+
n.icon ? (a(), l("img", {
|
|
104
170
|
key: 0,
|
|
105
|
-
src:
|
|
106
|
-
alt:
|
|
171
|
+
src: n.icon,
|
|
172
|
+
alt: n.title,
|
|
107
173
|
width: "22",
|
|
108
174
|
height: "22"
|
|
109
|
-
}, null, 8,
|
|
175
|
+
}, null, 8, ft)) : (a(), k(N(t.getChannelComponent(n.channelId)), {
|
|
110
176
|
key: 1,
|
|
111
177
|
class: "contact-info__icon-component"
|
|
112
178
|
}))
|
|
113
179
|
]),
|
|
114
|
-
o(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
]
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
])
|
|
152
|
-
]);
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
}, gt = /* @__PURE__ */ K(_t, [["__scopeId", "data-v-42660d89"]]);
|
|
180
|
+
o(
|
|
181
|
+
"span",
|
|
182
|
+
null,
|
|
183
|
+
y(n.title),
|
|
184
|
+
1
|
|
185
|
+
/* TEXT */
|
|
186
|
+
)
|
|
187
|
+
], 8, ut))),
|
|
188
|
+
128
|
|
189
|
+
/* KEYED_FRAGMENT */
|
|
190
|
+
))
|
|
191
|
+
])) : I("v-if", !0)
|
|
192
|
+
])
|
|
193
|
+
]),
|
|
194
|
+
c[5] || (c[5] = o(
|
|
195
|
+
"div",
|
|
196
|
+
{ class: "contact-info__divider" },
|
|
197
|
+
null,
|
|
198
|
+
-1
|
|
199
|
+
/* CACHED */
|
|
200
|
+
)),
|
|
201
|
+
o("div", ht, [
|
|
202
|
+
o("button", {
|
|
203
|
+
class: "contact-info__button",
|
|
204
|
+
onClick: c[2] || (c[2] = (n) => b.$emit("open-crm"))
|
|
205
|
+
}, [
|
|
206
|
+
K(t.ContactCRMIcon),
|
|
207
|
+
c[4] || (c[4] = M(
|
|
208
|
+
" Открыть контакт в CRM ",
|
|
209
|
+
-1
|
|
210
|
+
/* CACHED */
|
|
211
|
+
))
|
|
212
|
+
])
|
|
213
|
+
])
|
|
214
|
+
]);
|
|
215
|
+
}
|
|
216
|
+
const yt = /* @__PURE__ */ Y(Z, [["render", mt], ["__scopeId", "data-v-c202c2e3"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_elements/ContactInfo/ContactInfo.vue"]]);
|
|
156
217
|
export {
|
|
157
|
-
|
|
218
|
+
yt as default
|
|
158
219
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createElementBlock as a, createCommentVNode as g, openBlock as i, createElementVNode as v, Fragment as y, renderList as M, toDisplayString as b, inject as h, onMounted as _ } from "vue";
|
|
2
2
|
import "../../../hooks/useMessageDraft.js";
|
|
3
3
|
import "../../../hooks/useSearchModel.js";
|
|
4
|
-
import { useTheme as
|
|
4
|
+
import { useTheme as f } from "../../../hooks/useTheme.js";
|
|
5
5
|
import "../../../hooks/useEmojiNative.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
7
|
+
import k from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "../../../locale/useLocale.js";
|
|
10
10
|
/* empty css */
|
|
@@ -12,7 +12,7 @@ import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
|
12
12
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
13
13
|
import "../../../functions/parseMarkdown.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
const x = {
|
|
15
|
+
const x = {
|
|
16
16
|
__name: "ThemeMode",
|
|
17
17
|
props: {
|
|
18
18
|
themes: {
|
|
@@ -22,32 +22,53 @@ const x = { key: 0 }, A = ["value", "selected"], E = {
|
|
|
22
22
|
show: Boolean
|
|
23
23
|
},
|
|
24
24
|
emits: ["selectedTheme"],
|
|
25
|
-
setup(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
setup(u, { expose: n, emit: m }) {
|
|
26
|
+
n();
|
|
27
|
+
const o = u, c = m, r = h("chatAppId"), { getTheme: t } = f(r), s = () => {
|
|
28
|
+
const e = o.themes.find((p) => p.default === !0);
|
|
29
|
+
return e ? e.code : o.themes[0].code;
|
|
30
|
+
}, T = (e) => {
|
|
31
|
+
const p = e.target.value;
|
|
32
|
+
d(p);
|
|
32
33
|
}, d = (e) => {
|
|
33
|
-
|
|
34
|
+
r && (document.getElementById(r).dataset.theme = e, t().theme = e, c("selectedTheme", e));
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
-
const e =
|
|
36
|
+
_(() => {
|
|
37
|
+
const e = s();
|
|
37
38
|
d(e);
|
|
38
|
-
})
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
key: h,
|
|
44
|
-
value: o.code,
|
|
45
|
-
selected: o.default === !0
|
|
46
|
-
}, k(o.name), 9, A))), 128))
|
|
47
|
-
], 32)
|
|
48
|
-
])) : _("", !0);
|
|
39
|
+
});
|
|
40
|
+
const l = { props: o, emit: c, chatAppId: r, getTheme: t, getDefaultThemeCode: s, changeTheme: T, setTheme: d, onMounted: _, inject: h, get useTheme() {
|
|
41
|
+
return f;
|
|
42
|
+
} };
|
|
43
|
+
return Object.defineProperty(l, "__isScriptSetup", { enumerable: !1, value: !0 }), l;
|
|
49
44
|
}
|
|
50
|
-
},
|
|
45
|
+
}, B = { key: 0 }, I = ["value", "selected"];
|
|
46
|
+
function j(u, n, m, o, c, r) {
|
|
47
|
+
return m.show ? (i(), a("div", B, [
|
|
48
|
+
v(
|
|
49
|
+
"select",
|
|
50
|
+
{
|
|
51
|
+
onChange: n[0] || (n[0] = (t) => o.changeTheme(t))
|
|
52
|
+
},
|
|
53
|
+
[
|
|
54
|
+
(i(!0), a(
|
|
55
|
+
y,
|
|
56
|
+
null,
|
|
57
|
+
M(o.props.themes, (t, s) => (i(), a("option", {
|
|
58
|
+
key: s,
|
|
59
|
+
value: t.code,
|
|
60
|
+
selected: t.default === !0
|
|
61
|
+
}, b(t.name), 9, I))),
|
|
62
|
+
128
|
|
63
|
+
/* KEYED_FRAGMENT */
|
|
64
|
+
))
|
|
65
|
+
],
|
|
66
|
+
32
|
|
67
|
+
/* NEED_HYDRATION */
|
|
68
|
+
)
|
|
69
|
+
])) : g("v-if", !0);
|
|
70
|
+
}
|
|
71
|
+
const z = /* @__PURE__ */ k(x, [["render", j], ["__scopeId", "data-v-211d0bbd"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_elements/ThemeMode/ThemeMode.vue"]]);
|
|
51
72
|
export {
|
|
52
|
-
|
|
73
|
+
z as default
|
|
53
74
|
};
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as c, createCommentVNode as _, openBlock as n, createElementVNode as t, normalizeStyle as i, toDisplayString as s } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "profile__container"
|
|
7
|
-
}, n = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "profile__avatar-container"
|
|
10
|
-
}, _ = ["src"], u = { class: "profile__name" }, d = { class: "profile__email" }, m = { class: "profile__phone" }, f = {
|
|
3
|
+
import l from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const u = {
|
|
11
5
|
__name: "UserProfile",
|
|
12
6
|
props: {
|
|
13
7
|
user: {
|
|
@@ -15,25 +9,61 @@ const l = {
|
|
|
15
9
|
required: !0
|
|
16
10
|
}
|
|
17
11
|
},
|
|
18
|
-
setup(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class: "profile__status",
|
|
23
|
-
style: c({ backgroundColor: e.user.status })
|
|
24
|
-
}, null, 4),
|
|
25
|
-
t("img", {
|
|
26
|
-
src: e.user.avatar,
|
|
27
|
-
height: "48",
|
|
28
|
-
width: "48"
|
|
29
|
-
}, null, 8, _)
|
|
30
|
-
])) : o("", !0),
|
|
31
|
-
t("h2", u, s(e.user.name), 1),
|
|
32
|
-
t("p", d, s(e.user.email), 1),
|
|
33
|
-
t("p", m, s(e.user.phone), 1)
|
|
34
|
-
])) : o("", !0);
|
|
12
|
+
setup(o, { expose: a }) {
|
|
13
|
+
a();
|
|
14
|
+
const r = { props: o };
|
|
15
|
+
return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
|
|
35
16
|
}
|
|
36
|
-
},
|
|
17
|
+
}, p = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "profile__container"
|
|
20
|
+
}, d = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "profile__avatar-container"
|
|
23
|
+
}, f = ["src"], m = { class: "profile__name" }, h = { class: "profile__email" }, v = { class: "profile__phone" };
|
|
24
|
+
function y(o, a, e, r, k, P) {
|
|
25
|
+
return e.user ? (n(), c("div", p, [
|
|
26
|
+
e.user.avatar ? (n(), c("div", d, [
|
|
27
|
+
t(
|
|
28
|
+
"span",
|
|
29
|
+
{
|
|
30
|
+
class: "profile__status",
|
|
31
|
+
style: i({ backgroundColor: e.user.status })
|
|
32
|
+
},
|
|
33
|
+
null,
|
|
34
|
+
4
|
|
35
|
+
/* STYLE */
|
|
36
|
+
),
|
|
37
|
+
t("img", {
|
|
38
|
+
src: e.user.avatar,
|
|
39
|
+
height: "48",
|
|
40
|
+
width: "48"
|
|
41
|
+
}, null, 8, f)
|
|
42
|
+
])) : _("v-if", !0),
|
|
43
|
+
t(
|
|
44
|
+
"h2",
|
|
45
|
+
m,
|
|
46
|
+
s(e.user.name),
|
|
47
|
+
1
|
|
48
|
+
/* TEXT */
|
|
49
|
+
),
|
|
50
|
+
t(
|
|
51
|
+
"p",
|
|
52
|
+
h,
|
|
53
|
+
s(e.user.email),
|
|
54
|
+
1
|
|
55
|
+
/* TEXT */
|
|
56
|
+
),
|
|
57
|
+
t(
|
|
58
|
+
"p",
|
|
59
|
+
v,
|
|
60
|
+
s(e.user.phone),
|
|
61
|
+
1
|
|
62
|
+
/* TEXT */
|
|
63
|
+
)
|
|
64
|
+
])) : _("v-if", !0);
|
|
65
|
+
}
|
|
66
|
+
const S = /* @__PURE__ */ l(u, [["render", y], ["__scopeId", "data-v-ca9cd951"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_elements/UserProfile/UserProfile.vue"]]);
|
|
37
67
|
export {
|
|
38
|
-
|
|
68
|
+
S as default
|
|
39
69
|
};
|
|
@@ -1,7 +1,57 @@
|
|
|
1
|
-
import
|
|
1
|
+
import n from "./VideoRecorder.vue2.js";
|
|
2
|
+
import { createElementBlock as r, openBlock as t, Fragment as a, createCommentVNode as d, normalizeClass as c, createElementVNode as s } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
4
|
+
import l from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "video-recorder__container"
|
|
8
|
+
}, p = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "video-recorder__container"
|
|
11
|
+
};
|
|
12
|
+
function m(u, o, i, e, v, f) {
|
|
13
|
+
return t(), r(
|
|
14
|
+
a,
|
|
15
|
+
null,
|
|
16
|
+
[
|
|
17
|
+
e.getMessage().isRecording ? d("v-if", !0) : (t(), r("div", _, [
|
|
18
|
+
e.uploadStatus != "uploading" ? (t(), r(
|
|
19
|
+
"button",
|
|
20
|
+
{
|
|
21
|
+
key: 0,
|
|
22
|
+
class: c(["video-recorder__button", { "video-recorder__button-disabled": i.state == "disabled" || e.getMessage().file }]),
|
|
23
|
+
onClick: e.openVideoRecorder
|
|
24
|
+
},
|
|
25
|
+
[...o[0] || (o[0] = [
|
|
26
|
+
s(
|
|
27
|
+
"span",
|
|
28
|
+
{ class: "pi pi-video" },
|
|
29
|
+
null,
|
|
30
|
+
-1
|
|
31
|
+
/* CACHED */
|
|
32
|
+
)
|
|
33
|
+
])],
|
|
34
|
+
2
|
|
35
|
+
/* CLASS */
|
|
36
|
+
)) : d("v-if", !0)
|
|
37
|
+
])),
|
|
38
|
+
e.uploadStatus === "uploading" ? (t(), r("div", p, [...o[1] || (o[1] = [
|
|
39
|
+
s(
|
|
40
|
+
"div",
|
|
41
|
+
{ class: "video-recorder__status" },
|
|
42
|
+
[
|
|
43
|
+
s("span", null, "Загрузка файла...")
|
|
44
|
+
],
|
|
45
|
+
-1
|
|
46
|
+
/* CACHED */
|
|
47
|
+
)
|
|
48
|
+
])])) : d("v-if", !0)
|
|
49
|
+
],
|
|
50
|
+
64
|
|
51
|
+
/* STABLE_FRAGMENT */
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
const R = /* @__PURE__ */ l(n, [["render", m], ["__scopeId", "data-v-041f646c"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_elements/VideoRecorder/VideoRecorder.vue"]]);
|
|
5
55
|
export {
|
|
6
|
-
|
|
56
|
+
R as default
|
|
7
57
|
};
|