@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,31 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { useCommunicationChannels as
|
|
4
|
-
import { useCommunicationMenu as
|
|
5
|
-
import { useCommunicationAttributes as
|
|
6
|
-
import { useCommunicationActions as
|
|
7
|
-
import { useCommunicationSubMenu as
|
|
8
|
-
import { useCommunicationDialogSync as
|
|
9
|
-
import { useCommunicationPlaceholder as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
1
|
+
import { createElementBlock as r, openBlock as l, createCommentVNode as c, Fragment as x, renderList as ue, normalizeClass as A, createBlock as p, createVNode as ce, createElementVNode as d, withCtx as de, resolveDynamicComponent as O, toDisplayString as H, normalizeStyle as yt, ref as h, computed as i, watch as B, onMounted as Fe, onUnmounted as Ee, nextTick as G } from "vue";
|
|
2
|
+
import pt from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
3
|
+
import { useCommunicationChannels as ze } from "./composables/useCommunicationChannels.js";
|
|
4
|
+
import { useCommunicationMenu as Ne } from "./composables/useCommunicationMenu.js";
|
|
5
|
+
import { useCommunicationAttributes as je, getSubMenuChannelIndicatorClass as Le, getSubMenuChannelIndicatorType as Ue, isAttributeBlocked as Ve, isAttributeConfirming as gt, getAttributeStatusClass as At } from "./composables/useCommunicationAttributes.js";
|
|
6
|
+
import { useCommunicationActions as We } from "./composables/useCommunicationActions.js";
|
|
7
|
+
import { useCommunicationSubMenu as He } from "./composables/useCommunicationSubMenu.js";
|
|
8
|
+
import { useCommunicationDialogSync as Ge } from "./composables/useCommunicationDialogSync.js";
|
|
9
|
+
import { useCommunicationPlaceholder as Je } from "./composables/useCommunicationPlaceholder.js";
|
|
10
|
+
import It from "./CommunicationPanelAttributeIndicator.vue.js";
|
|
11
|
+
import kt from "./icons/CommunicationPanelCheckIcon.vue.js";
|
|
12
12
|
import Tt from "./icons/CommunicationPanelUnconfirmedIcon.vue.js";
|
|
13
13
|
import Mt from "./icons/CommunicationPanelConfirmSpinner.vue.js";
|
|
14
14
|
import St from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
15
15
|
/* empty css */
|
|
16
|
-
const
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "attributes-menu"
|
|
19
|
-
}, qt = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "empty-channels-placeholder"
|
|
22
|
-
}, xt = ["data-attribute-status", "onMouseenter", "onClick"], Ot = { class: "attribute-info" }, Pt = { class: "attribute-value" }, Bt = { class: "menu-icon" }, Nt = {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: "menu-icon-arrow"
|
|
25
|
-
}, Et = ["data-attribute-status", "onMouseenter", "onClick"], $t = { class: "attribute-info" }, jt = { class: "attribute-value" }, zt = { class: "menu-icon" }, Ft = {
|
|
26
|
-
key: 0,
|
|
27
|
-
class: "menu-icon-arrow"
|
|
28
|
-
}, Lt = ["onClick"], Ut = { class: "sub-menu-indicator-slot" }, Vt = { class: "sub-menu-title" }, Wt = {
|
|
16
|
+
const _t = {
|
|
29
17
|
__name: "CommunicationPanel",
|
|
30
18
|
props: {
|
|
31
19
|
contactAttributes: {
|
|
@@ -136,417 +124,579 @@ const wt = ["data-channel-type", "onClick", "onMouseenter"], Dt = { class: "chan
|
|
|
136
124
|
"phone-call",
|
|
137
125
|
"reset-blocked-attributes"
|
|
138
126
|
],
|
|
139
|
-
setup(
|
|
140
|
-
const
|
|
141
|
-
() =>
|
|
142
|
-
),
|
|
143
|
-
var
|
|
144
|
-
return ((
|
|
145
|
-
}),
|
|
146
|
-
if (!o || !
|
|
127
|
+
setup(fe, { expose: u, emit: v }) {
|
|
128
|
+
const e = fe, q = v, F = h(null), n = h(null), s = h(null), C = h(null), M = h(null), J = h({}), E = h(null), z = h(!1), S = h(null), g = h(null), _ = h(null), w = i(
|
|
129
|
+
() => e.confirmingAttributeId ?? _.value
|
|
130
|
+
), me = i(() => e.blockedAttributeIds ?? []), N = (t) => Ve(t, me.value), j = i(() => e.channels ?? []), he = i(() => e.channelOrder), Ce = i(() => e.visibleChannelTypes), be = i(() => e.channelTooltips ?? {}), ve = i(() => e.attributeTooltips ?? {}), Ke = i(() => e.attributeIndicatorTooltips ?? {}), K = i(() => e.recentAttributeChannels ?? {}), Q = i(() => e.messages ?? []), ye = i(() => e.selectedChat ?? null), X = i(() => e.isNewDialog ?? !1), Y = i(() => {
|
|
131
|
+
var t;
|
|
132
|
+
return ((t = e.selectedDialog) == null ? void 0 : t.channelId) ?? null;
|
|
133
|
+
}), P = (t, o) => {
|
|
134
|
+
if (!o || !t)
|
|
147
135
|
return !1;
|
|
148
|
-
const
|
|
149
|
-
if (!
|
|
136
|
+
const a = t.id ?? t.attributeId;
|
|
137
|
+
if (!a)
|
|
150
138
|
return !1;
|
|
151
|
-
const
|
|
152
|
-
return o ===
|
|
153
|
-
},
|
|
154
|
-
const o =
|
|
155
|
-
if (
|
|
156
|
-
const
|
|
157
|
-
if (
|
|
158
|
-
return
|
|
139
|
+
const b = o.includes(".") ? o.split(".").pop() : o;
|
|
140
|
+
return o === a || a === b || a.endsWith(`.${b}`);
|
|
141
|
+
}, pe = (t) => {
|
|
142
|
+
const o = ve.value, a = (t == null ? void 0 : t.attributeId) ?? (t == null ? void 0 : t.id);
|
|
143
|
+
if (a != null) {
|
|
144
|
+
const b = o[String(a)];
|
|
145
|
+
if (b)
|
|
146
|
+
return b;
|
|
159
147
|
}
|
|
160
|
-
return
|
|
161
|
-
},
|
|
162
|
-
panelChannelTypes:
|
|
163
|
-
channelsTypes:
|
|
164
|
-
getTooltipText:
|
|
165
|
-
getChannelTypeFromId:
|
|
166
|
-
hasMultipleChannels:
|
|
167
|
-
isChannelActive:
|
|
168
|
-
getSingleChannelForType:
|
|
169
|
-
getMenuChannelIconComponentForChannelId:
|
|
170
|
-
getSingleMenuChannelIconComponent:
|
|
171
|
-
getAvailableChannels:
|
|
172
|
-
} =
|
|
173
|
-
channels:
|
|
174
|
-
channelTooltips:
|
|
175
|
-
channelOrder:
|
|
176
|
-
visibleChannelTypes:
|
|
177
|
-
selectedChannelType:
|
|
148
|
+
return t != null && t.value ? o[String(t.value)] ?? "" : "";
|
|
149
|
+
}, Qe = (t) => !!pe(t), {
|
|
150
|
+
panelChannelTypes: ge,
|
|
151
|
+
channelsTypes: Xe,
|
|
152
|
+
getTooltipText: Ye,
|
|
153
|
+
getChannelTypeFromId: Ze,
|
|
154
|
+
hasMultipleChannels: L,
|
|
155
|
+
isChannelActive: $e,
|
|
156
|
+
getSingleChannelForType: Ae,
|
|
157
|
+
getMenuChannelIconComponentForChannelId: et,
|
|
158
|
+
getSingleMenuChannelIconComponent: tt,
|
|
159
|
+
getAvailableChannels: Z
|
|
160
|
+
} = ze({
|
|
161
|
+
channels: j,
|
|
162
|
+
channelTooltips: be,
|
|
163
|
+
channelOrder: he,
|
|
164
|
+
visibleChannelTypes: Ce,
|
|
165
|
+
selectedChannelType: M
|
|
178
166
|
}), {
|
|
179
|
-
activeChannelType:
|
|
180
|
-
hoveredChannel:
|
|
181
|
-
showMenu:
|
|
182
|
-
showSubMenu:
|
|
183
|
-
retainOpenUntilDismiss:
|
|
184
|
-
handleChannelClick:
|
|
185
|
-
openMenu:
|
|
186
|
-
closeMenu:
|
|
187
|
-
pinMenuOpen:
|
|
188
|
-
armOutsideClickSuppression:
|
|
189
|
-
handleClickOutside:
|
|
190
|
-
} =
|
|
191
|
-
panelRef:
|
|
192
|
-
selectedChannelType:
|
|
193
|
-
frozenAttribute:
|
|
194
|
-
}),
|
|
195
|
-
var
|
|
196
|
-
return ((
|
|
197
|
-
}),
|
|
198
|
-
if (!
|
|
167
|
+
activeChannelType: y,
|
|
168
|
+
hoveredChannel: nt,
|
|
169
|
+
showMenu: I,
|
|
170
|
+
showSubMenu: $,
|
|
171
|
+
retainOpenUntilDismiss: Ie,
|
|
172
|
+
handleChannelClick: ke,
|
|
173
|
+
openMenu: Te,
|
|
174
|
+
closeMenu: D,
|
|
175
|
+
pinMenuOpen: Me,
|
|
176
|
+
armOutsideClickSuppression: Se,
|
|
177
|
+
handleClickOutside: ee
|
|
178
|
+
} = Ne({
|
|
179
|
+
panelRef: F,
|
|
180
|
+
selectedChannelType: M,
|
|
181
|
+
frozenAttribute: C
|
|
182
|
+
}), U = i(() => {
|
|
183
|
+
var t;
|
|
184
|
+
return ((t = e.selectedDialog) == null ? void 0 : t.attributeId) ?? null;
|
|
185
|
+
}), te = i(() => {
|
|
186
|
+
if (!I.value || !y.value)
|
|
199
187
|
return null;
|
|
200
|
-
const
|
|
201
|
-
return
|
|
202
|
-
}),
|
|
203
|
-
var
|
|
204
|
-
const o = typeof
|
|
205
|
-
if (
|
|
188
|
+
const t = E.value;
|
|
189
|
+
return t && t.channelType === y.value ? t : null;
|
|
190
|
+
}), ne = (t) => {
|
|
191
|
+
var qe;
|
|
192
|
+
const o = typeof t == "string" ? t : t == null ? void 0 : t.channelId, a = typeof t == "object" && t != null ? t.backendChannelId : void 0, b = (m, re) => !m || !re ? !1 : !!(m === re || a && (m === a || re === a)), k = te.value;
|
|
193
|
+
if (k != null && k.channelId && b(k.channelId, o))
|
|
206
194
|
return !0;
|
|
207
|
-
const f =
|
|
208
|
-
if (
|
|
209
|
-
const
|
|
210
|
-
if (
|
|
195
|
+
const f = y.value, T = V.value;
|
|
196
|
+
if (I.value && f && T) {
|
|
197
|
+
const m = (qe = K.value) == null ? void 0 : qe[f];
|
|
198
|
+
if (m != null && m.channelId && (m != null && m.attributeId) && P(T, m.attributeId) && b(m.channelId, o))
|
|
211
199
|
return !0;
|
|
212
200
|
}
|
|
213
|
-
return
|
|
214
|
-
},
|
|
215
|
-
const o =
|
|
216
|
-
return o != null && o.attributeId ?
|
|
217
|
-
},
|
|
218
|
-
const o =
|
|
201
|
+
return I.value && f && T && U.value && P(T, U.value) && b(Y.value, o) ? !0 : b(Y.value, o);
|
|
202
|
+
}, ot = (t) => {
|
|
203
|
+
const o = te.value;
|
|
204
|
+
return o != null && o.attributeId ? P(t, o.attributeId) : P(t, U.value);
|
|
205
|
+
}, V = i(() => s.value ?? C.value ?? null), oe = (t) => {
|
|
206
|
+
const o = t == null ? void 0 : t.backendChannelId;
|
|
219
207
|
return o ? [o] : [];
|
|
220
|
-
},
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
) ?? "",
|
|
233
|
-
var
|
|
234
|
-
if (!
|
|
235
|
-
const o = (
|
|
236
|
-
return o ? !
|
|
208
|
+
}, lt = (t) => Ue(
|
|
209
|
+
V.value,
|
|
210
|
+
t.channelId,
|
|
211
|
+
ne(t),
|
|
212
|
+
w.value,
|
|
213
|
+
oe(t)
|
|
214
|
+
), it = (t) => Le(
|
|
215
|
+
V.value,
|
|
216
|
+
t.channelId,
|
|
217
|
+
ne(t),
|
|
218
|
+
w.value,
|
|
219
|
+
oe(t)
|
|
220
|
+
) ?? "", W = i(() => e.contactAttributes ?? []), le = (t) => {
|
|
221
|
+
var k;
|
|
222
|
+
if (!t || !Q.value) return !0;
|
|
223
|
+
const o = (k = ye.value) == null ? void 0 : k.chatId;
|
|
224
|
+
return o ? !Q.value.filter(
|
|
237
225
|
(f) => {
|
|
238
|
-
var
|
|
239
|
-
return f.chatId === o && f.dialogId === ((
|
|
226
|
+
var T;
|
|
227
|
+
return f.chatId === o && f.dialogId === ((T = e.selectedDialog) == null ? void 0 : T.dialogId);
|
|
240
228
|
}
|
|
241
229
|
).some(
|
|
242
230
|
(f) => f.type !== "message.system" && f.type !== "message.delimiter" && f.type !== "system" && f.type !== "system_message" && f.type !== "notification"
|
|
243
231
|
) : !0;
|
|
244
|
-
},
|
|
245
|
-
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
}),
|
|
249
|
-
|
|
232
|
+
}, ie = () => {
|
|
233
|
+
R(), z.value = !0, G(() => {
|
|
234
|
+
const t = Array.isArray(g.value) ? g.value[0] : g.value;
|
|
235
|
+
t && typeof t.startAutoShow == "function" ? t.startAutoShow() : console.log("startAutoShow method not found on tooltipRef");
|
|
236
|
+
}), S.value = setTimeout(() => {
|
|
237
|
+
z.value = !1;
|
|
250
238
|
}, 5e3);
|
|
251
|
-
},
|
|
252
|
-
if (
|
|
253
|
-
const
|
|
254
|
-
|
|
239
|
+
}, R = () => {
|
|
240
|
+
if (S.value && (clearTimeout(S.value), S.value = null), g.value) {
|
|
241
|
+
const t = Array.isArray(g.value) ? g.value[0] : g.value;
|
|
242
|
+
t && typeof t.clearAutoTimer == "function" && t.clearAutoTimer();
|
|
255
243
|
}
|
|
256
|
-
|
|
244
|
+
z.value = !1;
|
|
257
245
|
}, {
|
|
258
|
-
organizedContactAttributes:
|
|
259
|
-
organizeContactAttributes:
|
|
260
|
-
isAttributeFrozen:
|
|
261
|
-
} =
|
|
262
|
-
contactAttributes:
|
|
263
|
-
panelChannelTypes:
|
|
264
|
-
frozenAttribute:
|
|
246
|
+
organizedContactAttributes: ae,
|
|
247
|
+
organizeContactAttributes: _e,
|
|
248
|
+
isAttributeFrozen: at
|
|
249
|
+
} = je({
|
|
250
|
+
contactAttributes: W,
|
|
251
|
+
panelChannelTypes: ge,
|
|
252
|
+
frozenAttribute: C
|
|
265
253
|
}), {
|
|
266
|
-
handleAttributeClick:
|
|
267
|
-
selectChannel:
|
|
268
|
-
availableChannels:
|
|
269
|
-
applyRecentChannelButtonSelection:
|
|
270
|
-
clearPanelPendingSelection:
|
|
271
|
-
} =
|
|
272
|
-
activeChannelType:
|
|
273
|
-
channels:
|
|
274
|
-
selectedChannel:
|
|
275
|
-
selectedChannelType:
|
|
276
|
-
hoveredAttribute:
|
|
277
|
-
confirmingAttributeId:
|
|
278
|
-
isAttributeBlocked:
|
|
279
|
-
closeMenu:
|
|
280
|
-
pinMenuOpen:
|
|
281
|
-
hasMultipleChannels:
|
|
282
|
-
getSingleChannelForType:
|
|
283
|
-
getAvailableChannels:
|
|
284
|
-
isChannelEmpty:
|
|
285
|
-
isNewDialog:
|
|
286
|
-
showDefaultChannelTooltipWithTimer:
|
|
287
|
-
clearDefaultChannelTooltip:
|
|
288
|
-
emit:
|
|
289
|
-
panelPendingSelection:
|
|
254
|
+
handleAttributeClick: we,
|
|
255
|
+
selectChannel: st,
|
|
256
|
+
availableChannels: Pe,
|
|
257
|
+
applyRecentChannelButtonSelection: De,
|
|
258
|
+
clearPanelPendingSelection: se
|
|
259
|
+
} = We({
|
|
260
|
+
activeChannelType: y,
|
|
261
|
+
channels: j,
|
|
262
|
+
selectedChannel: J,
|
|
263
|
+
selectedChannelType: M,
|
|
264
|
+
hoveredAttribute: s,
|
|
265
|
+
confirmingAttributeId: _,
|
|
266
|
+
isAttributeBlocked: N,
|
|
267
|
+
closeMenu: D,
|
|
268
|
+
pinMenuOpen: Me,
|
|
269
|
+
hasMultipleChannels: L,
|
|
270
|
+
getSingleChannelForType: Ae,
|
|
271
|
+
getAvailableChannels: Z,
|
|
272
|
+
isChannelEmpty: le,
|
|
273
|
+
isNewDialog: X,
|
|
274
|
+
showDefaultChannelTooltipWithTimer: ie,
|
|
275
|
+
clearDefaultChannelTooltip: R,
|
|
276
|
+
emit: q,
|
|
277
|
+
panelPendingSelection: E
|
|
290
278
|
}), {
|
|
291
|
-
subMenuTop:
|
|
292
|
-
handleAttributeMouseEnter:
|
|
293
|
-
handleAttributeMouseLeave:
|
|
294
|
-
keepSubMenuOpen:
|
|
295
|
-
closeSubMenu:
|
|
296
|
-
alignSubMenuWithTarget:
|
|
297
|
-
} =
|
|
298
|
-
activeChannelType:
|
|
299
|
-
showSubMenu:
|
|
300
|
-
frozenAttribute:
|
|
301
|
-
hoveredAttribute:
|
|
302
|
-
confirmingAttributeId:
|
|
303
|
-
retainOpenUntilDismiss:
|
|
304
|
-
hasMultipleChannels:
|
|
305
|
-
isAttributeBlocked:
|
|
306
|
-
}),
|
|
307
|
-
if (
|
|
308
|
-
|
|
279
|
+
subMenuTop: rt,
|
|
280
|
+
handleAttributeMouseEnter: Re,
|
|
281
|
+
handleAttributeMouseLeave: ut,
|
|
282
|
+
keepSubMenuOpen: ct,
|
|
283
|
+
closeSubMenu: dt,
|
|
284
|
+
alignSubMenuWithTarget: xe
|
|
285
|
+
} = He({
|
|
286
|
+
activeChannelType: y,
|
|
287
|
+
showSubMenu: $,
|
|
288
|
+
frozenAttribute: C,
|
|
289
|
+
hoveredAttribute: s,
|
|
290
|
+
confirmingAttributeId: w,
|
|
291
|
+
retainOpenUntilDismiss: Ie,
|
|
292
|
+
hasMultipleChannels: L,
|
|
293
|
+
isAttributeBlocked: N
|
|
294
|
+
}), ft = async (t) => {
|
|
295
|
+
if (I.value && y.value === t) {
|
|
296
|
+
D();
|
|
309
297
|
return;
|
|
310
298
|
}
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
), await
|
|
299
|
+
q("reset-blocked-attributes");
|
|
300
|
+
const a = M.value !== t;
|
|
301
|
+
ke(t), a ? (De(
|
|
302
|
+
t,
|
|
303
|
+
K.value,
|
|
304
|
+
ae.value
|
|
305
|
+
), await G(), Te(t)) : E.value = null;
|
|
318
306
|
};
|
|
319
|
-
|
|
320
|
-
|
|
307
|
+
B(I, (t) => {
|
|
308
|
+
t || se();
|
|
321
309
|
});
|
|
322
|
-
const
|
|
323
|
-
|
|
310
|
+
const mt = (t) => {
|
|
311
|
+
N(t) || we(t);
|
|
324
312
|
};
|
|
325
|
-
|
|
326
|
-
selectedChannelType:
|
|
327
|
-
selectedChannel:
|
|
328
|
-
channels:
|
|
329
|
-
selectedDialog:
|
|
330
|
-
isChannelEmpty:
|
|
331
|
-
isNewDialog:
|
|
332
|
-
showDefaultChannelTooltipWithTimer:
|
|
333
|
-
clearDefaultChannelTooltip:
|
|
313
|
+
Ge({
|
|
314
|
+
selectedChannelType: M,
|
|
315
|
+
selectedChannel: J,
|
|
316
|
+
channels: j,
|
|
317
|
+
selectedDialog: i(() => e.selectedDialog ?? null),
|
|
318
|
+
isChannelEmpty: le,
|
|
319
|
+
isNewDialog: X,
|
|
320
|
+
showDefaultChannelTooltipWithTimer: ie,
|
|
321
|
+
clearDefaultChannelTooltip: R
|
|
334
322
|
});
|
|
335
323
|
const {
|
|
336
|
-
emptyChannelsPlaceholderText:
|
|
337
|
-
shouldShowEmptyChannelsPlaceholder:
|
|
338
|
-
} =
|
|
339
|
-
showMenu:
|
|
340
|
-
activeChannelType:
|
|
341
|
-
emptyChannelsPlaceholder:
|
|
342
|
-
getAvailableChannels:
|
|
343
|
-
organizedContactAttributes:
|
|
344
|
-
}),
|
|
345
|
-
() =>
|
|
346
|
-
),
|
|
347
|
-
() =>
|
|
348
|
-
),
|
|
349
|
-
const
|
|
350
|
-
await
|
|
324
|
+
emptyChannelsPlaceholderText: ht,
|
|
325
|
+
shouldShowEmptyChannelsPlaceholder: Ct
|
|
326
|
+
} = Je({
|
|
327
|
+
showMenu: I,
|
|
328
|
+
activeChannelType: y,
|
|
329
|
+
emptyChannelsPlaceholder: i(() => e.emptyChannelsPlaceholder ?? {}),
|
|
330
|
+
getAvailableChannels: Z,
|
|
331
|
+
organizedContactAttributes: ae
|
|
332
|
+
}), Oe = i(
|
|
333
|
+
() => Pe()
|
|
334
|
+
), bt = i(
|
|
335
|
+
() => $.value && s.value && Oe.value.length > 0 && y.value !== "phone" && L(y.value)
|
|
336
|
+
), vt = async (t, o) => {
|
|
337
|
+
const a = Re(t, o.currentTarget);
|
|
338
|
+
await G(), a instanceof HTMLElement && xe(F, a);
|
|
351
339
|
};
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}),
|
|
355
|
-
const
|
|
356
|
-
if (!
|
|
340
|
+
B(() => e.confirmingAttributeId, (t, o) => {
|
|
341
|
+
t || (_.value = null, o && Se());
|
|
342
|
+
}), B(W, () => {
|
|
343
|
+
const t = w.value;
|
|
344
|
+
if (!t)
|
|
357
345
|
return;
|
|
358
|
-
const o =
|
|
359
|
-
(o == null ? void 0 : o.status) === "confirmed" && (
|
|
360
|
-
}, { deep: !0 }),
|
|
361
|
-
|
|
362
|
-
}, { deep: !0 }),
|
|
363
|
-
document.addEventListener("click",
|
|
364
|
-
}),
|
|
365
|
-
document.removeEventListener("click",
|
|
366
|
-
}),
|
|
346
|
+
const o = W.value.find((a) => a.id === t);
|
|
347
|
+
(o == null ? void 0 : o.status) === "confirmed" && (_.value = null, D());
|
|
348
|
+
}, { deep: !0 }), B(() => e.selectedDialog, () => {
|
|
349
|
+
se();
|
|
350
|
+
}, { deep: !0 }), Fe(() => {
|
|
351
|
+
document.addEventListener("click", ee), _e();
|
|
352
|
+
}), Ee(() => {
|
|
353
|
+
document.removeEventListener("click", ee), R();
|
|
354
|
+
}), u({
|
|
367
355
|
/** Снять pin и закрыть оба меню (вызывать с host при ОК на splash). */
|
|
368
|
-
closeMenu:
|
|
369
|
-
})
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
356
|
+
closeMenu: D
|
|
357
|
+
});
|
|
358
|
+
const Be = { props: e, emit: q, panelRef: F, channelsPanelRef: n, hoveredAttribute: s, frozenAttribute: C, selectedChannelType: M, selectedChannel: J, panelPendingSelection: E, showDefaultChannelTooltip: z, defaultChannelTooltipTimer: S, channelTooltipRef: g, internalConfirmingAttributeId: _, effectiveConfirmingAttributeId: w, blockedAttributeIdsRef: me, isAttributeBlocked: N, channelsRef: j, channelOrderRef: he, visibleChannelTypesRef: Ce, channelTooltipsRef: be, attributeTooltipsRef: ve, attributeIndicatorTooltipsRef: Ke, recentAttributeChannelsRef: K, messagesRef: Q, selectedChatRef: ye, isNewDialogRef: X, currentChannelId: Y, attributeIdMatches: P, getAttributeTooltipText: pe, hasAttributeTooltip: Qe, panelChannelTypes: ge, channelsTypes: Xe, getTooltipText: Ye, getChannelTypeFromId: Ze, hasMultipleChannels: L, isChannelActive: $e, getSingleChannelForType: Ae, getMenuChannelIconComponentForChannelId: et, getSingleMenuChannelIconComponent: tt, getAvailableChannels: Z, activeChannelType: y, hoveredChannel: nt, showMenu: I, showSubMenu: $, retainOpenUntilDismiss: Ie, handleChannelClick: ke, openMenu: Te, closeMenu: D, pinMenuOpen: Me, armOutsideClickSuppression: Se, handleClickOutside: ee, selectedAttributeId: U, effectivePanelSelection: te, isChannelSelected: ne, isAttributeSelected: ot, subMenuAttribute: V, getChannelIndicatorAliases: oe, getSubMenuChannelIndicatorTypeForChannel: lt, getSubMenuChannelIndicatorClassForChannel: it, contactAttributesRef: W, isChannelEmpty: le, showDefaultChannelTooltipWithTimer: ie, clearDefaultChannelTooltip: R, organizedContactAttributes: ae, organizeContactAttributes: _e, isAttributeFrozen: at, handleAttributeClick: we, selectChannel: st, resolveAvailableChannels: Pe, applyRecentChannelButtonSelection: De, clearPanelPendingSelection: se, subMenuTop: rt, baseHandleAttributeMouseEnter: Re, handleAttributeMouseLeave: ut, keepSubMenuOpen: ct, closeSubMenu: dt, alignSubMenuWithTarget: xe, onChannelButtonClick: ft, onAttributeClick: mt, emptyChannelsPlaceholderText: ht, shouldShowEmptyChannelsPlaceholder: Ct, availableChannels: Oe, shouldShowSubMenu: bt, onAttributeMouseEnter: vt, ref: h, watch: B, onMounted: Fe, onUnmounted: Ee, computed: i, nextTick: G, Tooltip: pt, get useCommunicationChannels() {
|
|
359
|
+
return ze;
|
|
360
|
+
}, get useCommunicationMenu() {
|
|
361
|
+
return Ne;
|
|
362
|
+
}, get useCommunicationAttributes() {
|
|
363
|
+
return je;
|
|
364
|
+
}, get getAttributeStatusClass() {
|
|
365
|
+
return At;
|
|
366
|
+
}, get isAttributeConfirming() {
|
|
367
|
+
return gt;
|
|
368
|
+
}, get checkAttributeBlocked() {
|
|
369
|
+
return Ve;
|
|
370
|
+
}, get getSubMenuChannelIndicatorType() {
|
|
371
|
+
return Ue;
|
|
372
|
+
}, get getSubMenuChannelIndicatorClass() {
|
|
373
|
+
return Le;
|
|
374
|
+
}, get useCommunicationActions() {
|
|
375
|
+
return We;
|
|
376
|
+
}, get useCommunicationSubMenu() {
|
|
377
|
+
return He;
|
|
378
|
+
}, get useCommunicationDialogSync() {
|
|
379
|
+
return Ge;
|
|
380
|
+
}, get useCommunicationPlaceholder() {
|
|
381
|
+
return Je;
|
|
382
|
+
}, CommunicationPanelAttributeIndicator: It, get CommunicationPanelCheckIcon() {
|
|
383
|
+
return kt;
|
|
384
|
+
}, get CommunicationPanelConfirmSpinner() {
|
|
385
|
+
return Mt;
|
|
386
|
+
}, get CommunicationPanelUnconfirmedIcon() {
|
|
387
|
+
return Tt;
|
|
388
|
+
} };
|
|
389
|
+
return Object.defineProperty(Be, "__isScriptSetup", { enumerable: !1, value: !0 }), Be;
|
|
390
|
+
}
|
|
391
|
+
}, wt = {
|
|
392
|
+
ref: "panelRef",
|
|
393
|
+
class: "communication-panel"
|
|
394
|
+
}, Pt = {
|
|
395
|
+
key: 0,
|
|
396
|
+
ref: "channelsPanelRef",
|
|
397
|
+
class: "channels-panel"
|
|
398
|
+
}, Dt = ["data-channel-type", "onClick", "onMouseenter"], Rt = { class: "channel-icon" }, xt = { class: "channel-icon" }, Ot = {
|
|
399
|
+
key: 1,
|
|
400
|
+
class: "attributes-menu"
|
|
401
|
+
}, Bt = {
|
|
402
|
+
key: 0,
|
|
403
|
+
class: "empty-channels-placeholder"
|
|
404
|
+
}, qt = ["data-attribute-status", "onMouseenter", "onClick"], Ft = { class: "attribute-info" }, Et = { class: "attribute-value" }, zt = { class: "menu-icon" }, Nt = {
|
|
405
|
+
key: 0,
|
|
406
|
+
class: "menu-icon-arrow"
|
|
407
|
+
}, jt = ["data-attribute-status", "onMouseenter", "onClick"], Lt = { class: "attribute-info" }, Ut = { class: "attribute-value" }, Vt = { class: "menu-icon" }, Wt = {
|
|
408
|
+
key: 0,
|
|
409
|
+
class: "menu-icon-arrow"
|
|
410
|
+
}, Ht = ["onClick"], Gt = { class: "sub-menu-indicator-slot" }, Jt = { class: "sub-menu-title" };
|
|
411
|
+
function Kt(fe, u, v, e, q, F) {
|
|
412
|
+
return l(), r(
|
|
413
|
+
"div",
|
|
414
|
+
wt,
|
|
415
|
+
[
|
|
416
|
+
c(" Панель с кнопками каналов "),
|
|
417
|
+
e.channelsTypes.length ? (l(), r(
|
|
418
|
+
"div",
|
|
419
|
+
Pt,
|
|
420
|
+
[
|
|
421
|
+
(l(!0), r(
|
|
422
|
+
x,
|
|
423
|
+
null,
|
|
424
|
+
ue(e.channelsTypes, (n) => {
|
|
425
|
+
var s;
|
|
426
|
+
return l(), r("button", {
|
|
427
|
+
key: n.type,
|
|
428
|
+
"data-channel-type": n.type,
|
|
429
|
+
class: A(["channel-btn", {
|
|
430
|
+
active: e.isChannelActive(n.type),
|
|
431
|
+
hover: e.hoveredChannel === n.type && !e.isChannelActive(n.type) || e.hoveredChannel === n.type && e.isChannelActive(n.type),
|
|
432
|
+
menuOpen: e.showMenu && e.activeChannelType === n.type
|
|
433
|
+
}]),
|
|
434
|
+
onClick: (C) => e.onChannelButtonClick(n.type),
|
|
435
|
+
onMouseenter: (C) => e.hoveredChannel = n.type,
|
|
436
|
+
onMouseleave: u[0] || (u[0] = (C) => e.hoveredChannel = null)
|
|
437
|
+
}, [
|
|
438
|
+
e.isChannelActive(n.type) ? (l(), r(
|
|
439
|
+
x,
|
|
440
|
+
{ key: 0 },
|
|
441
|
+
[
|
|
442
|
+
ce(e.Tooltip, {
|
|
443
|
+
ref_for: !0,
|
|
444
|
+
ref: (C) => {
|
|
445
|
+
C && (e.channelTooltipRef = C);
|
|
446
|
+
},
|
|
447
|
+
text: e.showDefaultChannelTooltip ? "Выбран канал по умолчанию, можно изменить в настройках профиля" : (s = e.selectedChannel) == null ? void 0 : s.title,
|
|
448
|
+
position: "bottom-left",
|
|
449
|
+
offset: 8,
|
|
450
|
+
delay: v.tooltipDelay,
|
|
451
|
+
"hide-on-click": "",
|
|
452
|
+
trigger: e.showDefaultChannelTooltip ? "auto" : "hover",
|
|
453
|
+
"auto-show-duration": e.showDefaultChannelTooltip ? 5e3 : 0
|
|
454
|
+
}, {
|
|
455
|
+
default: de(() => [
|
|
456
|
+
d("span", Rt, [
|
|
457
|
+
(l(), p(O(n.component)))
|
|
458
|
+
])
|
|
459
|
+
]),
|
|
460
|
+
_: 2
|
|
461
|
+
/* DYNAMIC */
|
|
462
|
+
}, 1032, ["text", "delay", "trigger", "auto-show-duration"]),
|
|
463
|
+
u[5] || (u[5] = d(
|
|
464
|
+
"span",
|
|
465
|
+
{ class: "active-indicator" },
|
|
466
|
+
null,
|
|
467
|
+
-1
|
|
468
|
+
/* CACHED */
|
|
469
|
+
))
|
|
470
|
+
],
|
|
471
|
+
64
|
|
472
|
+
/* STABLE_FRAGMENT */
|
|
473
|
+
)) : (l(), p(e.Tooltip, {
|
|
474
|
+
key: 1,
|
|
475
|
+
text: e.getTooltipText(n.type),
|
|
476
|
+
position: "bottom-left",
|
|
477
|
+
offset: 8,
|
|
478
|
+
delay: v.tooltipDelay,
|
|
479
|
+
"hide-on-click": ""
|
|
480
|
+
}, {
|
|
481
|
+
default: de(() => [
|
|
482
|
+
d("span", xt, [
|
|
483
|
+
(l(), p(O(n.component)))
|
|
484
|
+
])
|
|
485
|
+
]),
|
|
486
|
+
_: 2
|
|
487
|
+
/* DYNAMIC */
|
|
488
|
+
}, 1032, ["text", "delay"]))
|
|
489
|
+
], 42, Dt);
|
|
490
|
+
}),
|
|
491
|
+
128
|
|
492
|
+
/* KEYED_FRAGMENT */
|
|
493
|
+
))
|
|
494
|
+
],
|
|
495
|
+
512
|
|
496
|
+
/* NEED_PATCH */
|
|
497
|
+
)) : c("v-if", !0),
|
|
498
|
+
c(" Меню контактов "),
|
|
499
|
+
e.showMenu && e.activeChannelType ? (l(), r("div", Ot, [
|
|
500
|
+
c(" Placeholder когда нет каналов "),
|
|
501
|
+
e.shouldShowEmptyChannelsPlaceholder ? (l(), r(
|
|
502
|
+
"div",
|
|
503
|
+
Bt,
|
|
504
|
+
H(e.emptyChannelsPlaceholderText),
|
|
505
|
+
1
|
|
506
|
+
/* TEXT */
|
|
507
|
+
)) : c("v-if", !0),
|
|
508
|
+
c(" Все контакты (показываем только если есть каналы или атрибуты) "),
|
|
509
|
+
e.shouldShowEmptyChannelsPlaceholder ? c("v-if", !0) : (l(!0), r(
|
|
510
|
+
x,
|
|
511
|
+
{ key: 1 },
|
|
512
|
+
ue(e.organizedContactAttributes[e.activeChannelType], (n) => (l(), r(
|
|
513
|
+
x,
|
|
514
|
+
{
|
|
515
|
+
key: n.attributeId
|
|
516
|
+
},
|
|
517
|
+
[
|
|
518
|
+
e.hasAttributeTooltip(n) ? (l(), p(e.Tooltip, {
|
|
519
|
+
key: 0,
|
|
520
|
+
text: e.getAttributeTooltipText(n),
|
|
401
521
|
position: "bottom-left",
|
|
402
522
|
offset: 8,
|
|
403
|
-
delay:
|
|
404
|
-
"hide-on-click": ""
|
|
405
|
-
trigger: A.value ? "auto" : "hover",
|
|
406
|
-
"auto-show-duration": A.value ? 5e3 : 0
|
|
523
|
+
delay: v.tooltipDelay,
|
|
524
|
+
"hide-on-click": ""
|
|
407
525
|
}, {
|
|
408
|
-
default:
|
|
409
|
-
d("
|
|
410
|
-
(
|
|
411
|
-
|
|
526
|
+
default: de(() => [
|
|
527
|
+
d("div", {
|
|
528
|
+
class: A(["attribute-item", e.getAttributeStatusClass(n), {
|
|
529
|
+
"frozen-hover": e.isAttributeFrozen(n),
|
|
530
|
+
selected: e.isAttributeSelected(n),
|
|
531
|
+
confirming: e.isAttributeConfirming(n, e.effectiveConfirmingAttributeId),
|
|
532
|
+
blocked: e.isAttributeBlocked(n)
|
|
533
|
+
}]),
|
|
534
|
+
"data-attribute-status": n.status,
|
|
535
|
+
onMouseenter: (s) => e.onAttributeMouseEnter(n, s),
|
|
536
|
+
onMouseleave: u[1] || (u[1] = (...s) => e.handleAttributeMouseLeave && e.handleAttributeMouseLeave(...s)),
|
|
537
|
+
onClick: (s) => e.onAttributeClick(n)
|
|
538
|
+
}, [
|
|
539
|
+
d("div", Ft, [
|
|
540
|
+
ce(e.CommunicationPanelAttributeIndicator, {
|
|
541
|
+
attribute: n,
|
|
542
|
+
"is-selected": e.isAttributeSelected(n),
|
|
543
|
+
"confirming-attribute-id": e.effectiveConfirmingAttributeId,
|
|
544
|
+
"blocked-attribute-ids": e.blockedAttributeIdsRef,
|
|
545
|
+
"indicator-tooltips": e.attributeIndicatorTooltipsRef,
|
|
546
|
+
"tooltip-delay": v.tooltipDelay
|
|
547
|
+
}, null, 8, ["attribute", "is-selected", "confirming-attribute-id", "blocked-attribute-ids", "indicator-tooltips", "tooltip-delay"]),
|
|
548
|
+
d(
|
|
549
|
+
"span",
|
|
550
|
+
Et,
|
|
551
|
+
H(n.value),
|
|
552
|
+
1
|
|
553
|
+
/* TEXT */
|
|
554
|
+
)
|
|
555
|
+
]),
|
|
556
|
+
d("span", zt, [
|
|
557
|
+
e.hasMultipleChannels(e.activeChannelType) ? (l(), r("span", Nt)) : v.showChannelIcons ? (l(), r(
|
|
558
|
+
"span",
|
|
559
|
+
{
|
|
560
|
+
key: 1,
|
|
561
|
+
class: A(["channel-icon-small", { "menu-icon-grey": e.activeChannelType !== "sms" }])
|
|
562
|
+
},
|
|
563
|
+
[
|
|
564
|
+
(l(), p(O(e.getSingleMenuChannelIconComponent(e.activeChannelType))))
|
|
565
|
+
],
|
|
566
|
+
2
|
|
567
|
+
/* CLASS */
|
|
568
|
+
)) : c("v-if", !0)
|
|
569
|
+
])
|
|
570
|
+
], 42, qt)
|
|
412
571
|
]),
|
|
413
572
|
_: 2
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
"hide-on-click": ""
|
|
423
|
-
}, {
|
|
424
|
-
default: oe(() => [
|
|
425
|
-
d("span", _t, [
|
|
426
|
-
(l(), v(D(t.component)))
|
|
427
|
-
])
|
|
428
|
-
]),
|
|
429
|
-
_: 2
|
|
430
|
-
}, 1032, ["text", "delay"]))
|
|
431
|
-
], 42, wt);
|
|
432
|
-
}), 128))
|
|
433
|
-
], 512)) : y("", !0),
|
|
434
|
-
n(g) && n(r) ? (l(), u("div", Rt, [
|
|
435
|
-
n(Se) ? (l(), u("div", qt, F(n(ut)), 1)) : y("", !0),
|
|
436
|
-
n(Se) ? y("", !0) : (l(!0), u(w, { key: 1 }, te(n(Z)[n(r)], (t) => (l(), u(w, {
|
|
437
|
-
key: t.attributeId
|
|
438
|
-
}, [
|
|
439
|
-
Fe(t) ? (l(), v(se, {
|
|
440
|
-
key: 0,
|
|
441
|
-
text: fe(t),
|
|
442
|
-
position: "bottom-left",
|
|
443
|
-
offset: 8,
|
|
444
|
-
delay: h.tooltipDelay,
|
|
445
|
-
"hide-on-click": ""
|
|
446
|
-
}, {
|
|
447
|
-
default: oe(() => [
|
|
448
|
-
d("div", {
|
|
449
|
-
class: k(["attribute-item", n(Re)(t), {
|
|
450
|
-
"frozen-hover": n(ke)(t),
|
|
451
|
-
selected: E(t),
|
|
452
|
-
confirming: n(qe)(t, b.value),
|
|
453
|
-
blocked: M(t)
|
|
573
|
+
/* DYNAMIC */
|
|
574
|
+
}, 1032, ["text", "delay"])) : (l(), r("div", {
|
|
575
|
+
key: 1,
|
|
576
|
+
class: A(["attribute-item", e.getAttributeStatusClass(n), {
|
|
577
|
+
"frozen-hover": e.isAttributeFrozen(n),
|
|
578
|
+
selected: e.isAttributeSelected(n),
|
|
579
|
+
confirming: e.isAttributeConfirming(n, e.effectiveConfirmingAttributeId),
|
|
580
|
+
blocked: e.isAttributeBlocked(n)
|
|
454
581
|
}]),
|
|
455
|
-
"data-attribute-status":
|
|
456
|
-
onMouseenter: (s) =>
|
|
457
|
-
onMouseleave:
|
|
458
|
-
onClick: (s) =>
|
|
582
|
+
"data-attribute-status": n.status,
|
|
583
|
+
onMouseenter: (s) => e.onAttributeMouseEnter(n, s),
|
|
584
|
+
onMouseleave: u[2] || (u[2] = (...s) => e.handleAttributeMouseLeave && e.handleAttributeMouseLeave(...s)),
|
|
585
|
+
onClick: (s) => e.onAttributeClick(n)
|
|
459
586
|
}, [
|
|
460
|
-
d("div",
|
|
461
|
-
|
|
462
|
-
attribute:
|
|
463
|
-
"is-selected":
|
|
464
|
-
"confirming-attribute-id":
|
|
465
|
-
"blocked-attribute-ids":
|
|
466
|
-
"indicator-tooltips":
|
|
467
|
-
"tooltip-delay":
|
|
587
|
+
d("div", Lt, [
|
|
588
|
+
ce(e.CommunicationPanelAttributeIndicator, {
|
|
589
|
+
attribute: n,
|
|
590
|
+
"is-selected": e.isAttributeSelected(n),
|
|
591
|
+
"confirming-attribute-id": e.effectiveConfirmingAttributeId,
|
|
592
|
+
"blocked-attribute-ids": e.blockedAttributeIdsRef,
|
|
593
|
+
"indicator-tooltips": e.attributeIndicatorTooltipsRef,
|
|
594
|
+
"tooltip-delay": v.tooltipDelay
|
|
468
595
|
}, null, 8, ["attribute", "is-selected", "confirming-attribute-id", "blocked-attribute-ids", "indicator-tooltips", "tooltip-delay"]),
|
|
469
|
-
d(
|
|
596
|
+
d(
|
|
597
|
+
"span",
|
|
598
|
+
Ut,
|
|
599
|
+
H(n.value),
|
|
600
|
+
1
|
|
601
|
+
/* TEXT */
|
|
602
|
+
)
|
|
470
603
|
]),
|
|
471
|
-
d("span",
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
604
|
+
d("span", Vt, [
|
|
605
|
+
e.hasMultipleChannels(e.activeChannelType) ? (l(), r("span", Wt)) : v.showChannelIcons ? (l(), r(
|
|
606
|
+
"span",
|
|
607
|
+
{
|
|
608
|
+
key: 1,
|
|
609
|
+
class: A(["channel-icon-small", { "menu-icon-grey": e.activeChannelType !== "sms" }])
|
|
610
|
+
},
|
|
611
|
+
[
|
|
612
|
+
(l(), p(O(e.getSingleMenuChannelIconComponent(e.activeChannelType))))
|
|
613
|
+
],
|
|
614
|
+
2
|
|
615
|
+
/* CLASS */
|
|
616
|
+
)) : c("v-if", !0)
|
|
478
617
|
])
|
|
479
|
-
], 42,
|
|
480
|
-
]
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
618
|
+
], 42, jt))
|
|
619
|
+
],
|
|
620
|
+
64
|
|
621
|
+
/* STABLE_FRAGMENT */
|
|
622
|
+
))),
|
|
623
|
+
128
|
|
624
|
+
/* KEYED_FRAGMENT */
|
|
625
|
+
)),
|
|
626
|
+
c(" Второй уровень меню "),
|
|
627
|
+
e.showSubMenu && e.shouldShowSubMenu ? (l(), r(
|
|
628
|
+
"div",
|
|
629
|
+
{
|
|
630
|
+
key: 2,
|
|
631
|
+
class: "sub-menu left",
|
|
632
|
+
style: yt({ top: e.subMenuTop + "px" }),
|
|
633
|
+
onMouseenter: u[3] || (u[3] = (...n) => e.keepSubMenuOpen && e.keepSubMenuOpen(...n)),
|
|
634
|
+
onMouseleave: u[4] || (u[4] = (...n) => e.closeSubMenu && e.closeSubMenu(...n))
|
|
635
|
+
},
|
|
636
|
+
[
|
|
637
|
+
u[6] || (u[6] = d(
|
|
638
|
+
"div",
|
|
639
|
+
{ class: "sub-menu-header" },
|
|
640
|
+
" Канал связи ",
|
|
641
|
+
-1
|
|
642
|
+
/* CACHED */
|
|
643
|
+
)),
|
|
644
|
+
(l(!0), r(
|
|
645
|
+
x,
|
|
646
|
+
null,
|
|
647
|
+
ue(e.availableChannels, (n) => (l(), r("div", {
|
|
648
|
+
key: n.channelId,
|
|
649
|
+
class: A(["sub-menu-item", { selected: e.isChannelSelected(n) }]),
|
|
650
|
+
onClick: (s) => e.selectChannel(n.channelId)
|
|
510
651
|
}, [
|
|
511
|
-
(
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
652
|
+
d("span", Gt, [
|
|
653
|
+
e.getSubMenuChannelIndicatorTypeForChannel(n) ? (l(), r(
|
|
654
|
+
"span",
|
|
655
|
+
{
|
|
656
|
+
key: 0,
|
|
657
|
+
class: A(e.getSubMenuChannelIndicatorClassForChannel(n))
|
|
658
|
+
},
|
|
659
|
+
[
|
|
660
|
+
e.getSubMenuChannelIndicatorTypeForChannel(n) === "spinner" ? (l(), p(e.CommunicationPanelConfirmSpinner, { key: 0 })) : e.getSubMenuChannelIndicatorTypeForChannel(n) === "unconfirmed" ? (l(), p(e.CommunicationPanelUnconfirmedIcon, { key: 1 })) : (l(), p(e.CommunicationPanelCheckIcon, { key: 2 }))
|
|
661
|
+
],
|
|
662
|
+
2
|
|
663
|
+
/* CLASS */
|
|
664
|
+
)) : c("v-if", !0)
|
|
665
|
+
]),
|
|
666
|
+
d(
|
|
667
|
+
"span",
|
|
668
|
+
Jt,
|
|
669
|
+
H(n.title || n.channelId),
|
|
670
|
+
1
|
|
671
|
+
/* TEXT */
|
|
672
|
+
),
|
|
673
|
+
v.showChannelIcons ? (l(), r(
|
|
674
|
+
"span",
|
|
675
|
+
{
|
|
676
|
+
key: 0,
|
|
677
|
+
class: A(["sub-menu-icon", { "menu-icon-grey": e.getChannelTypeFromId(n.channelId) !== "sms" }])
|
|
678
|
+
},
|
|
679
|
+
[
|
|
680
|
+
(l(), p(O(e.getMenuChannelIconComponentForChannelId(n.channelId))))
|
|
681
|
+
],
|
|
682
|
+
2
|
|
683
|
+
/* CLASS */
|
|
684
|
+
)) : c("v-if", !0)
|
|
685
|
+
], 10, Ht))),
|
|
686
|
+
128
|
|
687
|
+
/* KEYED_FRAGMENT */
|
|
688
|
+
))
|
|
689
|
+
],
|
|
690
|
+
36
|
|
691
|
+
/* STYLE, NEED_HYDRATION */
|
|
692
|
+
)) : c("v-if", !0)
|
|
693
|
+
])) : c("v-if", !0)
|
|
694
|
+
],
|
|
695
|
+
512
|
|
696
|
+
/* NEED_PATCH */
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
const dn = /* @__PURE__ */ St(_t, [["render", Kt], ["__scopeId", "data-v-153e29a4"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_blocks/CommunicationPanel/CommunicationPanel.vue"]]);
|
|
550
700
|
export {
|
|
551
|
-
|
|
701
|
+
dn as default
|
|
552
702
|
};
|