@mobilon-dev/chotto 0.3.98 → 0.3.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +4 -29
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +61 -42
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +4 -47
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +82 -55
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +51 -86
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -32
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +28 -7
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +38 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -33
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +4 -37
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +21 -7
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +19 -30
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +4 -70
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +108 -76
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +13 -26
- package/dist/components/1_icons/CloseButtonIcon.vue.js +10 -16
- package/dist/components/1_icons/CloseIcon.vue.js +10 -16
- package/dist/components/1_icons/ContactCRMIcon.vue.js +10 -16
- package/dist/components/1_icons/MenuIcon.vue.js +10 -16
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
- package/dist/components/1_icons/SearchIcon.vue.js +17 -29
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +396 -546
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +13 -19
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +4 -74
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +42 -8
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -61
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +96 -79
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +51 -80
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -182
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +135 -25
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -78
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +95 -73
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +60 -34
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +33 -39
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +311 -134
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +67 -35
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +38 -72
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +57 -76
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +39 -19
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -458
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +471 -160
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -60
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +53 -36
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -250
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +233 -67
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -315
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +319 -98
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -155
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +212 -110
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +120 -36
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -75
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +63 -10
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -346
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +307 -73
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +269 -65
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +298 -76
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +18 -35
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
- package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -85
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +210 -149
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +163 -253
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +32 -50
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -172
- package/dist/components/3_compounds/Feed/Feed.vue2.js +257 -126
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +18 -31
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +56 -85
- package/package.json +1 -1
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { ref as h, computed as b, watch as P, createElementBlock as s, openBlock as a, createElementVNode as o, Fragment as O, renderList as R, normalizeClass as S, withDirectives as z, vModelRadio as F, createTextVNode as j, createCommentVNode as C, createBlock as g, toDisplayString as k, resolveDynamicComponent as x, createVNode as U } from "vue";
|
|
2
|
+
import W from "../../1_icons/ContactCRMIcon.vue.js";
|
|
3
|
+
import G from "../../1_icons/CheckIcon.vue.js";
|
|
4
|
+
import H from "../../1_icons/WhatsAppIcon.vue.js";
|
|
5
|
+
import J from "../../1_icons/TelegramIcon.vue.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
8
|
-
const Z = {
|
|
7
|
+
import K from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const Q = { class: "contact-info" }, X = { class: "contact-info__attribute-list" }, Y = ["id", "value", "onChange"], Z = ["for"], tt = { class: "contact-info__custom-radio" }, et = { class: "contact-info__radio-inner" }, nt = {
|
|
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 = {
|
|
9
15
|
__name: "ContactInfo",
|
|
10
16
|
props: {
|
|
11
17
|
contact: {
|
|
@@ -23,197 +29,130 @@ const Z = {
|
|
|
23
29
|
}
|
|
24
30
|
},
|
|
25
31
|
emits: ["close", "open-crm", "select-attribute-channel"],
|
|
26
|
-
setup(
|
|
27
|
-
var
|
|
28
|
-
c()
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
channelId: e.channelId
|
|
32
|
+
setup(y, { emit: B }) {
|
|
33
|
+
var V, A, N;
|
|
34
|
+
const c = y, I = B, l = h(((N = (A = (V = c.contact) == null ? void 0 : V.attributes) == null ? void 0 : A[0]) == null ? void 0 : N.id) || ""), f = h(c.channels[0] || null), u = h(!1), L = (t) => {
|
|
35
|
+
f.value = t, u.value = !1, console.log(`Выбран канал связи: ${t.title}`), I("select-attribute-channel", {
|
|
36
|
+
attributeId: l.value,
|
|
37
|
+
channelId: t.channelId
|
|
33
38
|
});
|
|
34
|
-
},
|
|
35
|
-
var
|
|
36
|
-
return (
|
|
37
|
-
}),
|
|
38
|
-
if (
|
|
39
|
-
return
|
|
40
|
-
if (!
|
|
41
|
-
const
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
const
|
|
45
|
-
return
|
|
46
|
-
}) ||
|
|
47
|
-
}),
|
|
48
|
-
|
|
49
|
-
attributeId:
|
|
50
|
-
channelId:
|
|
39
|
+
}, M = (t) => (t == null ? void 0 : t.replace(/\D/g, "")) || "", w = b(() => {
|
|
40
|
+
var t, e;
|
|
41
|
+
return (e = (t = c.contact) == null ? void 0 : t.attributes) == null ? void 0 : e.find((i) => i.id === l.value);
|
|
42
|
+
}), d = b(() => {
|
|
43
|
+
if (f.value)
|
|
44
|
+
return f.value;
|
|
45
|
+
if (!w.value) return c.channels[0] || null;
|
|
46
|
+
const t = M(w.value.value);
|
|
47
|
+
return t ? c.channels.find((i) => {
|
|
48
|
+
var r, _;
|
|
49
|
+
const v = ((r = i.title) == null ? void 0 : r.toLowerCase()) || "", m = ((_ = i.channelId) == null ? void 0 : _.toLowerCase()) || "", p = v.includes(t), n = ["whatsapp", "waba", "telegram"].some((E) => m.includes(E));
|
|
50
|
+
return p && n;
|
|
51
|
+
}) || c.channels[0] || { title: "default", channelId: "fallback" } : c.channels[0] || null;
|
|
52
|
+
}), T = b(() => c.channels), $ = (t) => t ? t.includes("whatsapp") || t.includes("waba") ? H : t.includes("telegram") ? J : null : null, D = (t) => !c.currentDialog || !Object.keys(c.currentDialog) ? !1 : c.currentDialog.attributeId === t.id, q = (t) => {
|
|
53
|
+
I("select-attribute-channel", {
|
|
54
|
+
attributeId: t.id,
|
|
55
|
+
channelId: f.value.channelId
|
|
51
56
|
});
|
|
52
57
|
};
|
|
53
|
-
|
|
54
|
-
() =>
|
|
58
|
+
return P(
|
|
59
|
+
() => c.contact,
|
|
55
60
|
() => {
|
|
56
|
-
var
|
|
57
|
-
(
|
|
61
|
+
var t, e;
|
|
62
|
+
(e = (t = c.contact) == null ? void 0 : t.attributes) != null && e.length ? l.value && c.contact.attributes.some((i) => i.id === l.value) || (l.value = c.contact.attributes[0].id) : l.value = "";
|
|
58
63
|
},
|
|
59
64
|
{ immediate: !0 }
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
-
{
|
|
65
|
+
), (t, e) => {
|
|
66
|
+
var i, v, m, p;
|
|
67
|
+
return a(), s("div", Q, [
|
|
68
|
+
o("div", X, [
|
|
69
|
+
(a(!0), s(O, null, R(((i = y.contact) == null ? void 0 : i.attributes) || [], (n, r) => (a(), s("div", {
|
|
81
70
|
key: n.id,
|
|
82
|
-
class:
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"onUpdate:modelValue": c[0] || (c[0] = (v) => t.localSelectedAttributeId = v),
|
|
71
|
+
class: S(["contact-info__attribute-item", { "contact-info__attribute-item--current-chat": D(n) }])
|
|
72
|
+
}, [
|
|
73
|
+
z(o("input", {
|
|
74
|
+
id: `attr-${r}`,
|
|
75
|
+
"onUpdate:modelValue": e[0] || (e[0] = (_) => l.value = _),
|
|
88
76
|
type: "radio",
|
|
89
77
|
value: n.id,
|
|
90
|
-
onChange: (
|
|
91
|
-
}, null, 40,
|
|
92
|
-
[
|
|
78
|
+
onChange: (_) => q(n)
|
|
79
|
+
}, null, 40, Y), [
|
|
80
|
+
[F, l.value]
|
|
93
81
|
]),
|
|
94
82
|
o("label", {
|
|
95
|
-
for: `attr-${
|
|
83
|
+
for: `attr-${r}`
|
|
96
84
|
}, [
|
|
97
|
-
o("span",
|
|
98
|
-
o("span",
|
|
99
|
-
|
|
85
|
+
o("span", tt, [
|
|
86
|
+
o("span", et, [
|
|
87
|
+
l.value === n.id ? (a(), g(G, { key: 0 })) : C("", !0)
|
|
100
88
|
])
|
|
101
89
|
]),
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
)
|
|
90
|
+
j(" " + k(n.value) + " ", 1),
|
|
91
|
+
D(n) ? (a(), s("span", nt, " Текущий чат ")) : C("", !0)
|
|
92
|
+
], 8, Z)
|
|
93
|
+
], 2))), 128))
|
|
158
94
|
]),
|
|
159
|
-
|
|
160
|
-
(
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
class: "contact-info__select-option",
|
|
166
|
-
onClick: (f) => t.selectChannel(n)
|
|
95
|
+
o("div", ot, [
|
|
96
|
+
e[3] || (e[3] = o("label", { class: "contact-info__channel-label" }, "Канал связи", -1)),
|
|
97
|
+
o("div", ct, [
|
|
98
|
+
o("div", {
|
|
99
|
+
class: "contact-info__select-trigger",
|
|
100
|
+
onClick: e[1] || (e[1] = (n) => u.value = !u.value)
|
|
167
101
|
}, [
|
|
168
|
-
o("div",
|
|
169
|
-
|
|
102
|
+
o("div", at, [
|
|
103
|
+
(v = d.value) != null && v.icon ? (a(), s("img", {
|
|
170
104
|
key: 0,
|
|
171
|
-
src:
|
|
172
|
-
alt:
|
|
105
|
+
src: d.value.icon,
|
|
106
|
+
alt: d.value.title,
|
|
173
107
|
width: "22",
|
|
174
108
|
height: "22"
|
|
175
|
-
}, null, 8,
|
|
109
|
+
}, null, 8, lt)) : (a(), g(x($((m = d.value) == null ? void 0 : m.channelId)), {
|
|
176
110
|
key: 1,
|
|
177
111
|
class: "contact-info__icon-component"
|
|
178
112
|
}))
|
|
179
113
|
]),
|
|
180
|
-
o(
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
114
|
+
o("span", null, k((p = d.value) == null ? void 0 : p.title), 1),
|
|
115
|
+
o("div", {
|
|
116
|
+
class: S(["contact-info__arrow", { "contact-info__arrow--open": u.value }])
|
|
117
|
+
}, null, 2)
|
|
118
|
+
]),
|
|
119
|
+
u.value ? (a(), s("div", it, [
|
|
120
|
+
(a(!0), s(O, null, R(T.value, (n) => (a(), s("div", {
|
|
121
|
+
key: n.channelId,
|
|
122
|
+
class: "contact-info__select-option",
|
|
123
|
+
onClick: (r) => L(n)
|
|
124
|
+
}, [
|
|
125
|
+
o("div", rt, [
|
|
126
|
+
n.icon ? (a(), s("img", {
|
|
127
|
+
key: 0,
|
|
128
|
+
src: n.icon,
|
|
129
|
+
alt: n.title,
|
|
130
|
+
width: "22",
|
|
131
|
+
height: "22"
|
|
132
|
+
}, null, 8, ut)) : (a(), g(x($(n.channelId)), {
|
|
133
|
+
key: 1,
|
|
134
|
+
class: "contact-info__icon-component"
|
|
135
|
+
}))
|
|
136
|
+
]),
|
|
137
|
+
o("span", null, k(n.title), 1)
|
|
138
|
+
], 8, st))), 128))
|
|
139
|
+
])) : C("", !0)
|
|
140
|
+
])
|
|
141
|
+
]),
|
|
142
|
+
e[5] || (e[5] = o("div", { class: "contact-info__divider" }, null, -1)),
|
|
143
|
+
o("div", dt, [
|
|
144
|
+
o("button", {
|
|
145
|
+
class: "contact-info__button",
|
|
146
|
+
onClick: e[2] || (e[2] = (n) => t.$emit("open-crm"))
|
|
147
|
+
}, [
|
|
148
|
+
U(W),
|
|
149
|
+
e[4] || (e[4] = j(" Открыть контакт в CRM ", -1))
|
|
150
|
+
])
|
|
151
|
+
])
|
|
152
|
+
]);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}, gt = /* @__PURE__ */ K(_t, [["__scopeId", "data-v-42660d89"]]);
|
|
217
156
|
export {
|
|
218
|
-
|
|
157
|
+
gt as default
|
|
219
158
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { inject as f, onMounted as T, createElementBlock as n, createCommentVNode as _, openBlock as s, createElementVNode as g, Fragment as y, renderList as v, toDisplayString as k } from "vue";
|
|
2
2
|
import "../../../hooks/useMessageDraft.js";
|
|
3
3
|
import "../../../hooks/useSearchModel.js";
|
|
4
|
-
import { useTheme as
|
|
4
|
+
import { useTheme as B } from "../../../hooks/useTheme.js";
|
|
5
5
|
import "../../../hooks/useEmojiNative.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import
|
|
7
|
+
import I 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 = { key: 0 }, A = ["value", "selected"], E = {
|
|
16
16
|
__name: "ThemeMode",
|
|
17
17
|
props: {
|
|
18
18
|
themes: {
|
|
@@ -22,53 +22,32 @@ const x = {
|
|
|
22
22
|
show: Boolean
|
|
23
23
|
},
|
|
24
24
|
emits: ["selectedTheme"],
|
|
25
|
-
setup(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
d(p);
|
|
25
|
+
setup(c, { emit: i }) {
|
|
26
|
+
const r = c, a = i, m = f("chatAppId"), { getTheme: p } = B(m), l = () => {
|
|
27
|
+
const e = r.themes.find((t) => t.default === !0);
|
|
28
|
+
return e ? e.code : r.themes[0].code;
|
|
29
|
+
}, u = (e) => {
|
|
30
|
+
const t = e.target.value;
|
|
31
|
+
d(t);
|
|
33
32
|
}, d = (e) => {
|
|
34
|
-
|
|
33
|
+
m && (document.getElementById(m).dataset.theme = e, p().theme = e, a("selectedTheme", e));
|
|
35
34
|
};
|
|
36
|
-
|
|
37
|
-
const e =
|
|
35
|
+
return T(() => {
|
|
36
|
+
const e = l();
|
|
38
37
|
d(e);
|
|
39
|
-
})
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
}), (e, t) => c.show ? (s(), n("div", x, [
|
|
39
|
+
g("select", {
|
|
40
|
+
onChange: t[0] || (t[0] = (o) => u(o))
|
|
41
|
+
}, [
|
|
42
|
+
(s(!0), n(y, null, v(r.themes, (o, h) => (s(), n("option", {
|
|
43
|
+
key: h,
|
|
44
|
+
value: o.code,
|
|
45
|
+
selected: o.default === !0
|
|
46
|
+
}, k(o.name), 9, A))), 128))
|
|
47
|
+
], 32)
|
|
48
|
+
])) : _("", !0);
|
|
44
49
|
}
|
|
45
|
-
},
|
|
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"]]);
|
|
50
|
+
}, H = /* @__PURE__ */ I(E, [["__scopeId", "data-v-c6c5d7cb"]]);
|
|
72
51
|
export {
|
|
73
|
-
|
|
52
|
+
H as default
|
|
74
53
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as r, createCommentVNode as o, openBlock as a, createElementVNode as t, normalizeStyle as c, toDisplayString as s } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import i from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const l = {
|
|
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 = {
|
|
5
11
|
__name: "UserProfile",
|
|
6
12
|
props: {
|
|
7
13
|
user: {
|
|
@@ -9,61 +15,25 @@ const u = {
|
|
|
9
15
|
required: !0
|
|
10
16
|
}
|
|
11
17
|
},
|
|
12
|
-
setup(
|
|
13
|
-
a()
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
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
|
-
{
|
|
18
|
+
setup(e) {
|
|
19
|
+
return (h, p) => e.user ? (a(), r("div", l, [
|
|
20
|
+
e.user.avatar ? (a(), r("div", n, [
|
|
21
|
+
t("span", {
|
|
30
22
|
class: "profile__status",
|
|
31
|
-
style:
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
])) :
|
|
43
|
-
|
|
44
|
-
|
|
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"]]);
|
|
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);
|
|
35
|
+
}
|
|
36
|
+
}, g = /* @__PURE__ */ i(f, [["__scopeId", "data-v-8ff961d8"]]);
|
|
67
37
|
export {
|
|
68
|
-
|
|
38
|
+
g as default
|
|
69
39
|
};
|
|
@@ -1,57 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as r, openBlock as t, Fragment as a, createCommentVNode as d, normalizeClass as c, createElementVNode as s } from "vue";
|
|
1
|
+
import o from "./VideoRecorder.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
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"]]);
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-d1f2b0be"]]);
|
|
55
5
|
export {
|
|
56
|
-
|
|
6
|
+
f as default
|
|
57
7
|
};
|