@mobilon-dev/chotto 0.3.119 → 0.3.121

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.
Files changed (223) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +29 -4
  3. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +40 -59
  4. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
  5. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
  6. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
  7. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
  8. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
  9. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -35
  10. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +30 -2
  11. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
  12. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
  13. package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
  14. package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
  15. package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
  16. package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
  17. package/dist/components/1_icons/CheckIcon.vue.js +26 -13
  18. package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
  19. package/dist/components/1_icons/CloseIcon.vue.js +16 -10
  20. package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
  21. package/dist/components/1_icons/DeletedMessageIcon.vue.js +27 -0
  22. package/dist/components/1_icons/MenuIcon.vue.js +16 -10
  23. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
  24. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
  25. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
  26. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
  27. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
  28. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
  29. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
  30. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
  31. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
  32. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
  33. package/dist/components/1_icons/SearchIcon.vue.js +29 -17
  34. package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
  35. package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
  36. package/dist/components/1_icons/VerifiedBadge.vue.js +25 -19
  37. package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
  38. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +552 -402
  39. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
  40. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
  41. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
  42. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
  43. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +19 -13
  44. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
  45. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
  46. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
  47. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
  48. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
  49. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
  50. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
  51. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
  52. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
  53. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +74 -4
  54. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +12 -46
  55. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
  56. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
  57. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
  58. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
  59. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
  60. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
  61. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +62 -4
  62. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +80 -98
  63. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
  64. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
  65. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
  66. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
  67. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
  68. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
  69. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +76 -45
  70. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +100 -4
  71. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +16 -91
  72. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +79 -4
  73. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +88 -111
  74. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
  75. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
  76. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
  77. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
  78. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
  79. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
  80. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
  81. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
  82. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
  83. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
  84. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
  85. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +32 -58
  86. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
  87. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
  88. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
  89. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
  90. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
  91. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +41 -35
  92. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
  93. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +143 -323
  94. package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
  95. package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
  96. package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
  97. package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -22
  98. package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
  99. package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
  100. package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
  101. package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +52 -24
  102. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
  103. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +36 -68
  104. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +71 -37
  105. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +83 -62
  106. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
  107. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
  108. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
  109. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
  110. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
  111. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +22 -42
  112. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +460 -4
  113. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +181 -499
  114. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
  115. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
  116. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
  117. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
  118. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
  119. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
  120. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
  121. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
  122. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
  123. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
  124. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
  125. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
  126. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
  127. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
  128. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
  129. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
  130. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +47 -4
  131. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +37 -46
  132. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
  133. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
  134. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
  135. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
  136. package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js +52 -4
  137. package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +16 -39
  138. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +270 -4
  139. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +95 -274
  140. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +409 -4
  141. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +143 -422
  142. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
  143. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
  144. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +57 -4
  145. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +41 -69
  146. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +97 -4
  147. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +102 -173
  148. package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
  149. package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
  150. package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
  151. package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
  152. package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
  153. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
  154. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
  155. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
  156. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
  157. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
  158. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
  159. package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
  160. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
  161. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
  162. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
  163. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
  164. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
  165. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
  166. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
  167. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
  168. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
  169. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +34 -118
  170. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
  171. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
  172. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +94 -4
  173. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -76
  174. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
  175. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
  176. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +348 -4
  177. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +97 -339
  178. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
  179. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
  180. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +308 -4
  181. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +89 -299
  182. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
  183. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
  184. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +321 -4
  185. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +96 -338
  186. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
  187. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
  188. package/dist/components/2_modals/CreateChat/CreateChat.vue.js +36 -19
  189. package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
  190. package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
  191. package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
  192. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
  193. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
  194. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
  195. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
  196. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
  197. package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
  198. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +170 -4
  199. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +239 -336
  200. package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +43 -25
  201. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
  202. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
  203. package/dist/components/3_compounds/ChatList/ChatList.vue.js +256 -166
  204. package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +57 -39
  205. package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
  206. package/dist/components/3_compounds/Feed/Feed.vue.js +185 -4
  207. package/dist/components/3_compounds/Feed/Feed.vue2.js +161 -305
  208. package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
  209. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
  210. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
  211. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
  212. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
  213. package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
  214. package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
  215. package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +33 -18
  216. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +90 -59
  217. package/dist/types/src/apps/data/chats.d.ts +9 -2
  218. package/dist/types/src/components/2_chatlist_elements/ChatItem/stories/ChatItem.stories.d.ts +1 -0
  219. package/dist/types/src/components/2_chatlist_elements/ChatItem/types.d.ts +2 -0
  220. package/dist/types/src/components/2_feed_elements/types/components.d.ts +2 -0
  221. package/package.json +1 -1
  222. package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +0 -21
  223. /package/dist/types/src/components/{2_feed_elements/DeletedMessageContent/icons → 1_icons}/DeletedMessageIcon.vue.d.ts +0 -0
@@ -1,34 +1,19 @@
1
- import { ref as m, computed as a, watch as z, onMounted as ct, onUnmounted as dt, createElementBlock as u, openBlock as l, createCommentVNode as v, unref as n, Fragment as _, renderList as te, normalizeClass as k, createBlock as h, createVNode as ne, createElementVNode as c, withCtx as oe, resolveDynamicComponent as w, toDisplayString as F, normalizeStyle as ft, nextTick as le } from "vue";
2
- import se from "../../1_atoms/Tooltip/Tooltip.vue.js";
3
- import { useCommunicationChannels as pt } from "./composables/useCommunicationChannels.js";
4
- import { useCommunicationMenu as mt } from "./composables/useCommunicationMenu.js";
5
- import { useCommunicationAttributes as vt, isAttributeBlocked as ht, getAttributeStatusClass as Re, isAttributeConfirming as xe, getSubMenuChannelIndicatorType as yt, getSubMenuChannelIndicatorClass as Ct } from "./composables/useCommunicationAttributes.js";
6
- import { useCommunicationActions as bt } from "./composables/useCommunicationActions.js";
7
- import { useCommunicationSubMenu as gt } from "./composables/useCommunicationSubMenu.js";
8
- import { useCommunicationDialogSync as kt } from "./composables/useCommunicationDialogSync.js";
9
- import { useCommunicationPlaceholder as It } from "./composables/useCommunicationPlaceholder.js";
10
- import qe from "./CommunicationPanelAttributeIndicator.vue.js";
11
- import At from "./icons/CommunicationPanelCheckIcon.vue.js";
1
+ import { createElementBlock as s, openBlock as i, 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 l, 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 _t = ["data-channel-type", "onClick", "onMouseenter"], wt = { class: "channel-icon" }, Dt = { class: "channel-icon" }, Rt = {
17
- key: 1,
18
- class: "attributes-menu"
19
- }, xt = {
20
- key: 0,
21
- class: "empty-channels-placeholder"
22
- }, qt = ["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 = { class: "sub-menu-title-text" }, Ht = {
29
- key: 0,
30
- class: "sub-menu-title-bot"
31
- }, Gt = {
16
+ const _t = {
32
17
  __name: "CommunicationPanel",
33
18
  props: {
34
19
  contactAttributes: {
@@ -139,420 +124,585 @@ const _t = ["data-channel-type", "onClick", "onMouseenter"], wt = { class: "chan
139
124
  "phone-call",
140
125
  "reset-blocked-attributes"
141
126
  ],
142
- setup(y, { expose: Oe, emit: Pe }) {
143
- const i = y, ae = Pe, L = m(null), Be = m(null), D = m(null), R = m(null), T = m(null), U = m({}), V = m(null), A = m(!1), x = m(null), C = m(null), q = m(null), b = a(
144
- () => i.confirmingAttributeId ?? q.value
145
- ), W = a(() => i.blockedAttributeIds ?? []), M = (e) => ht(e, W.value), H = a(() => i.channels ?? []), Ne = a(() => i.channelOrder), Ee = a(() => i.visibleChannelTypes), $e = a(() => i.channelTooltips ?? {}), je = a(() => i.attributeTooltips ?? {}), ie = a(() => i.attributeIndicatorTooltips ?? {}), ue = a(() => i.recentAttributeChannels ?? {}), re = a(() => i.messages ?? []), ze = a(() => i.selectedChat ?? null), ce = a(() => i.isNewDialog ?? !1), de = a(() => {
146
- var e;
147
- return ((e = i.selectedDialog) == null ? void 0 : e.channelId) ?? null;
148
- }), O = (e, o) => {
149
- if (!o || !e)
127
+ setup(fe, { expose: u, emit: v }) {
128
+ const e = fe, q = v, F = h(null), n = h(null), r = 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 = l(
129
+ () => e.confirmingAttributeId ?? _.value
130
+ ), me = l(() => e.blockedAttributeIds ?? []), N = (t) => Ve(t, me.value), j = l(() => e.channels ?? []), he = l(() => e.channelOrder), Ce = l(() => e.visibleChannelTypes), be = l(() => e.channelTooltips ?? {}), ve = l(() => e.attributeTooltips ?? {}), Ke = l(() => e.attributeIndicatorTooltips ?? {}), K = l(() => e.recentAttributeChannels ?? {}), Q = l(() => e.messages ?? []), ye = l(() => e.selectedChat ?? null), X = l(() => e.isNewDialog ?? !1), Y = l(() => {
131
+ var t;
132
+ return ((t = e.selectedDialog) == null ? void 0 : t.channelId) ?? null;
133
+ }), P = (t, o) => {
134
+ if (!o || !t)
150
135
  return !1;
151
- const t = e.id ?? e.attributeId;
152
- if (!t)
136
+ const a = t.id ?? t.attributeId;
137
+ if (!a)
153
138
  return !1;
154
- const s = o.includes(".") ? o.split(".").pop() : o;
155
- return o === t || t === s || t.endsWith(`.${s}`);
156
- }, fe = (e) => {
157
- const o = je.value, t = (e == null ? void 0 : e.attributeId) ?? (e == null ? void 0 : e.id);
158
- if (t != null) {
159
- const s = o[String(t)];
160
- if (s)
161
- return s;
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;
162
147
  }
163
- return e != null && e.value ? o[String(e.value)] ?? "" : "";
164
- }, Fe = (e) => !!fe(e), {
165
- panelChannelTypes: Le,
166
- channelsTypes: pe,
167
- getTooltipText: Ue,
168
- getChannelTypeFromId: Ve,
169
- hasMultipleChannels: S,
170
- isChannelActive: P,
171
- getSingleChannelForType: We,
172
- getMenuChannelIconComponentForChannelId: He,
173
- getSingleMenuChannelIconComponent: me,
174
- getAvailableChannels: ve
175
- } = pt({
176
- channels: H,
177
- channelTooltips: $e,
178
- channelOrder: Ne,
179
- visibleChannelTypes: Ee,
180
- selectedChannelType: T
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
181
166
  }), {
182
- activeChannelType: r,
183
- hoveredChannel: B,
184
- showMenu: g,
185
- showSubMenu: G,
186
- retainOpenUntilDismiss: Ge,
187
- handleChannelClick: Je,
188
- openMenu: Ke,
189
- closeMenu: N,
190
- pinMenuOpen: Qe,
191
- armOutsideClickSuppression: Xe,
192
- handleClickOutside: he
193
- } = mt({
194
- panelRef: L,
195
- selectedChannelType: T,
196
- frozenAttribute: R
197
- }), J = a(() => {
198
- var e;
199
- return ((e = i.selectedDialog) == null ? void 0 : e.attributeId) ?? null;
200
- }), ye = a(() => {
201
- if (!g.value || !r.value)
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 = l(() => {
183
+ var t;
184
+ return ((t = e.selectedDialog) == null ? void 0 : t.attributeId) ?? null;
185
+ }), te = l(() => {
186
+ if (!I.value || !y.value)
202
187
  return null;
203
- const e = V.value;
204
- return e && e.channelType === r.value ? e : null;
205
- }), K = (e) => {
206
- var De;
207
- const o = typeof e == "string" ? e : e == null ? void 0 : e.channelId, t = typeof e == "object" && e != null ? e.backendChannelId : void 0, s = (p, ee) => !p || !ee ? !1 : !!(p === ee || t && (p === t || ee === t)), d = ye.value;
208
- if (d != null && d.channelId && s(d.channelId, o))
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))
209
194
  return !0;
210
- const f = r.value, I = Q.value;
211
- if (g.value && f && I) {
212
- const p = (De = ue.value) == null ? void 0 : De[f];
213
- if (p != null && p.channelId && (p != null && p.attributeId) && O(I, p.attributeId) && s(p.channelId, o))
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))
214
199
  return !0;
215
200
  }
216
- return g.value && f && I && J.value && O(I, J.value) && s(de.value, o) ? !0 : s(de.value, o);
217
- }, E = (e) => {
218
- const o = ye.value;
219
- return o != null && o.attributeId ? O(e, o.attributeId) : O(e, J.value);
220
- }, Q = a(() => D.value ?? R.value ?? null), Ce = (e) => {
221
- const o = e == null ? void 0 : e.backendChannelId;
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 = l(() => r.value ?? C.value ?? null), oe = (t) => {
206
+ const o = t == null ? void 0 : t.backendChannelId;
222
207
  return o ? [o] : [];
223
- }, X = (e) => yt(
224
- Q.value,
225
- e.channelId,
226
- K(e),
227
- b.value,
228
- Ce(e)
229
- ), Ye = (e) => Ct(
230
- Q.value,
231
- e.channelId,
232
- K(e),
233
- b.value,
234
- Ce(e)
235
- ) ?? "", Y = a(() => i.contactAttributes ?? []), be = (e) => {
236
- var d;
237
- if (!e || !re.value) return !0;
238
- const o = (d = ze.value) == null ? void 0 : d.chatId;
239
- return o ? !re.value.filter(
208
+ }, it = (t) => Ue(
209
+ V.value,
210
+ t.channelId,
211
+ ne(t),
212
+ w.value,
213
+ oe(t)
214
+ ), lt = (t) => Le(
215
+ V.value,
216
+ t.channelId,
217
+ ne(t),
218
+ w.value,
219
+ oe(t)
220
+ ) ?? "", W = l(() => e.contactAttributes ?? []), ie = (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(
240
225
  (f) => {
241
- var I;
242
- return f.chatId === o && f.dialogId === ((I = i.selectedDialog) == null ? void 0 : I.dialogId);
226
+ var T;
227
+ return f.chatId === o && f.dialogId === ((T = e.selectedDialog) == null ? void 0 : T.dialogId);
243
228
  }
244
229
  ).some(
245
230
  (f) => f.type !== "message.system" && f.type !== "message.delimiter" && f.type !== "system" && f.type !== "system_message" && f.type !== "notification"
246
231
  ) : !0;
247
- }, ge = () => {
248
- $(), A.value = !0, le(() => {
249
- const e = Array.isArray(C.value) ? C.value[0] : C.value;
250
- e && typeof e.startAutoShow == "function" ? e.startAutoShow() : console.log("startAutoShow method not found on tooltipRef");
251
- }), x.value = setTimeout(() => {
252
- A.value = !1;
232
+ }, le = () => {
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;
253
238
  }, 5e3);
254
- }, $ = () => {
255
- if (x.value && (clearTimeout(x.value), x.value = null), C.value) {
256
- const e = Array.isArray(C.value) ? C.value[0] : C.value;
257
- e && typeof e.clearAutoTimer == "function" && e.clearAutoTimer();
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();
258
243
  }
259
- A.value = !1;
244
+ z.value = !1;
260
245
  }, {
261
- organizedContactAttributes: Z,
262
- organizeContactAttributes: Ze,
263
- isAttributeFrozen: ke
264
- } = vt({
265
- contactAttributes: Y,
266
- panelChannelTypes: Le,
267
- frozenAttribute: R
246
+ organizedContactAttributes: ae,
247
+ organizeContactAttributes: _e,
248
+ isAttributeFrozen: at
249
+ } = je({
250
+ contactAttributes: W,
251
+ panelChannelTypes: ge,
252
+ frozenAttribute: C
268
253
  }), {
269
- handleAttributeClick: et,
270
- selectChannel: tt,
271
- availableChannels: nt,
272
- applyRecentChannelButtonSelection: ot,
273
- clearPanelPendingSelection: Ie
274
- } = bt({
275
- activeChannelType: r,
276
- channels: H,
277
- selectedChannel: U,
278
- selectedChannelType: T,
279
- hoveredAttribute: D,
280
- confirmingAttributeId: q,
281
- isAttributeBlocked: M,
282
- closeMenu: N,
283
- pinMenuOpen: Qe,
284
- hasMultipleChannels: S,
285
- getSingleChannelForType: We,
286
- getAvailableChannels: ve,
287
- isChannelEmpty: be,
288
- isNewDialog: ce,
289
- showDefaultChannelTooltipWithTimer: ge,
290
- clearDefaultChannelTooltip: $,
291
- emit: ae,
292
- panelPendingSelection: V
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: r,
265
+ confirmingAttributeId: _,
266
+ isAttributeBlocked: N,
267
+ closeMenu: D,
268
+ pinMenuOpen: Me,
269
+ hasMultipleChannels: L,
270
+ getSingleChannelForType: Ae,
271
+ getAvailableChannels: Z,
272
+ isChannelEmpty: ie,
273
+ isNewDialog: X,
274
+ showDefaultChannelTooltipWithTimer: le,
275
+ clearDefaultChannelTooltip: R,
276
+ emit: q,
277
+ panelPendingSelection: E
293
278
  }), {
294
- subMenuTop: lt,
295
- handleAttributeMouseEnter: st,
296
- handleAttributeMouseLeave: j,
297
- keepSubMenuOpen: Ae,
298
- closeSubMenu: Te,
299
- alignSubMenuWithTarget: at
300
- } = gt({
301
- activeChannelType: r,
302
- showSubMenu: G,
303
- frozenAttribute: R,
304
- hoveredAttribute: D,
305
- confirmingAttributeId: b,
306
- retainOpenUntilDismiss: Ge,
307
- hasMultipleChannels: S,
308
- isAttributeBlocked: M
309
- }), it = async (e) => {
310
- if (g.value && r.value === e) {
311
- N();
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: r,
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();
312
297
  return;
313
298
  }
314
- ae("reset-blocked-attributes");
315
- const t = T.value !== e;
316
- Je(e), t ? (ot(
317
- e,
318
- ue.value,
319
- Z.value
320
- ), await le(), Ke(e)) : V.value = null;
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;
321
306
  };
322
- z(g, (e) => {
323
- e || Ie();
307
+ B(I, (t) => {
308
+ t || se();
324
309
  });
325
- const Me = (e) => {
326
- M(e) || et(e);
310
+ const mt = (t) => {
311
+ N(t) || we(t);
327
312
  };
328
- kt({
329
- selectedChannelType: T,
330
- selectedChannel: U,
331
- channels: H,
332
- selectedDialog: a(() => i.selectedDialog ?? null),
333
- isChannelEmpty: be,
334
- isNewDialog: ce,
335
- showDefaultChannelTooltipWithTimer: ge,
336
- clearDefaultChannelTooltip: $
313
+ Ge({
314
+ selectedChannelType: M,
315
+ selectedChannel: J,
316
+ channels: j,
317
+ selectedDialog: l(() => e.selectedDialog ?? null),
318
+ isChannelEmpty: ie,
319
+ isNewDialog: X,
320
+ showDefaultChannelTooltipWithTimer: le,
321
+ clearDefaultChannelTooltip: R
337
322
  });
338
323
  const {
339
- emptyChannelsPlaceholderText: ut,
340
- shouldShowEmptyChannelsPlaceholder: Se
341
- } = It({
342
- showMenu: g,
343
- activeChannelType: r,
344
- emptyChannelsPlaceholder: a(() => i.emptyChannelsPlaceholder ?? {}),
345
- getAvailableChannels: ve,
346
- organizedContactAttributes: Z
347
- }), _e = a(
348
- () => nt()
349
- ), rt = a(
350
- () => G.value && D.value && _e.value.length > 0 && r.value !== "phone" && S(r.value)
351
- ), we = async (e, o) => {
352
- const t = st(e, o.currentTarget);
353
- await le(), t instanceof HTMLElement && at(L, t);
324
+ emptyChannelsPlaceholderText: ht,
325
+ shouldShowEmptyChannelsPlaceholder: Ct
326
+ } = Je({
327
+ showMenu: I,
328
+ activeChannelType: y,
329
+ emptyChannelsPlaceholder: l(() => e.emptyChannelsPlaceholder ?? {}),
330
+ getAvailableChannels: Z,
331
+ organizedContactAttributes: ae
332
+ }), Oe = l(
333
+ () => Pe()
334
+ ), bt = l(
335
+ () => $.value && r.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);
354
339
  };
355
- return z(() => i.confirmingAttributeId, (e, o) => {
356
- e || (q.value = null, o && Xe());
357
- }), z(Y, () => {
358
- const e = b.value;
359
- if (!e)
340
+ B(() => e.confirmingAttributeId, (t, o) => {
341
+ t || (_.value = null, o && Se());
342
+ }), B(W, () => {
343
+ const t = w.value;
344
+ if (!t)
360
345
  return;
361
- const o = Y.value.find((t) => t.id === e);
362
- (o == null ? void 0 : o.status) === "confirmed" && (q.value = null, N());
363
- }, { deep: !0 }), z(() => i.selectedDialog, () => {
364
- Ie();
365
- }, { deep: !0 }), ct(() => {
366
- document.addEventListener("click", he), Ze();
367
- }), dt(() => {
368
- document.removeEventListener("click", he), $();
369
- }), Oe({
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({
370
355
  /** Снять pin и закрыть оба меню (вызывать с host при ОК на splash). */
371
- closeMenu: N
372
- }), (e, o) => (l(), u("div", {
373
- ref_key: "panelRef",
374
- ref: L,
375
- class: "communication-panel"
376
- }, [
377
- n(pe).length ? (l(), u("div", {
378
- key: 0,
379
- ref_key: "channelsPanelRef",
380
- ref: Be,
381
- class: "channels-panel"
382
- }, [
383
- (l(!0), u(_, null, te(n(pe), (t) => {
384
- var s;
385
- return l(), u("button", {
386
- key: t.type,
387
- "data-channel-type": t.type,
388
- class: k(["channel-btn", {
389
- active: n(P)(t.type),
390
- hover: n(B) === t.type && !n(P)(t.type) || n(B) === t.type && n(P)(t.type),
391
- menuOpen: n(g) && n(r) === t.type
392
- }]),
393
- onClick: (d) => it(t.type),
394
- onMouseenter: (d) => B.value = t.type,
395
- onMouseleave: o[0] || (o[0] = (d) => B.value = null)
396
- }, [
397
- n(P)(t.type) ? (l(), u(_, { key: 0 }, [
398
- ne(se, {
399
- ref_for: !0,
400
- ref: (d) => {
401
- d && (C.value = d);
402
- },
403
- text: A.value ? "Выбран канал по умолчанию, можно изменить в настройках профиля" : (s = U.value) == null ? void 0 : s.title,
356
+ closeMenu: D
357
+ });
358
+ const Be = { props: e, emit: q, panelRef: F, channelsPanelRef: n, hoveredAttribute: r, 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: it, getSubMenuChannelIndicatorClassForChannel: lt, contactAttributesRef: W, isChannelEmpty: ie, showDefaultChannelTooltipWithTimer: le, 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: l, 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" }, Kt = { class: "sub-menu-title-text" }, Qt = {
411
+ key: 0,
412
+ class: "sub-menu-title-bot"
413
+ };
414
+ function Xt(fe, u, v, e, q, F) {
415
+ return i(), s(
416
+ "div",
417
+ wt,
418
+ [
419
+ c(" Панель с кнопками каналов "),
420
+ e.channelsTypes.length ? (i(), s(
421
+ "div",
422
+ Pt,
423
+ [
424
+ (i(!0), s(
425
+ x,
426
+ null,
427
+ ue(e.channelsTypes, (n) => {
428
+ var r;
429
+ return i(), s("button", {
430
+ key: n.type,
431
+ "data-channel-type": n.type,
432
+ class: A(["channel-btn", {
433
+ active: e.isChannelActive(n.type),
434
+ hover: e.hoveredChannel === n.type && !e.isChannelActive(n.type) || e.hoveredChannel === n.type && e.isChannelActive(n.type),
435
+ menuOpen: e.showMenu && e.activeChannelType === n.type
436
+ }]),
437
+ onClick: (C) => e.onChannelButtonClick(n.type),
438
+ onMouseenter: (C) => e.hoveredChannel = n.type,
439
+ onMouseleave: u[0] || (u[0] = (C) => e.hoveredChannel = null)
440
+ }, [
441
+ e.isChannelActive(n.type) ? (i(), s(
442
+ x,
443
+ { key: 0 },
444
+ [
445
+ ce(e.Tooltip, {
446
+ ref_for: !0,
447
+ ref: (C) => {
448
+ C && (e.channelTooltipRef = C);
449
+ },
450
+ text: e.showDefaultChannelTooltip ? "Выбран канал по умолчанию, можно изменить в настройках профиля" : (r = e.selectedChannel) == null ? void 0 : r.title,
451
+ position: "bottom-left",
452
+ offset: 8,
453
+ delay: v.tooltipDelay,
454
+ "hide-on-click": "",
455
+ trigger: e.showDefaultChannelTooltip ? "auto" : "hover",
456
+ "auto-show-duration": e.showDefaultChannelTooltip ? 5e3 : 0
457
+ }, {
458
+ default: de(() => [
459
+ d("span", Rt, [
460
+ (i(), p(O(n.component)))
461
+ ])
462
+ ]),
463
+ _: 2
464
+ /* DYNAMIC */
465
+ }, 1032, ["text", "delay", "trigger", "auto-show-duration"]),
466
+ u[5] || (u[5] = d(
467
+ "span",
468
+ { class: "active-indicator" },
469
+ null,
470
+ -1
471
+ /* CACHED */
472
+ ))
473
+ ],
474
+ 64
475
+ /* STABLE_FRAGMENT */
476
+ )) : (i(), p(e.Tooltip, {
477
+ key: 1,
478
+ text: e.getTooltipText(n.type),
479
+ position: "bottom-left",
480
+ offset: 8,
481
+ delay: v.tooltipDelay,
482
+ "hide-on-click": ""
483
+ }, {
484
+ default: de(() => [
485
+ d("span", xt, [
486
+ (i(), p(O(n.component)))
487
+ ])
488
+ ]),
489
+ _: 2
490
+ /* DYNAMIC */
491
+ }, 1032, ["text", "delay"]))
492
+ ], 42, Dt);
493
+ }),
494
+ 128
495
+ /* KEYED_FRAGMENT */
496
+ ))
497
+ ],
498
+ 512
499
+ /* NEED_PATCH */
500
+ )) : c("v-if", !0),
501
+ c(" Меню контактов "),
502
+ e.showMenu && e.activeChannelType ? (i(), s("div", Ot, [
503
+ c(" Placeholder когда нет каналов "),
504
+ e.shouldShowEmptyChannelsPlaceholder ? (i(), s(
505
+ "div",
506
+ Bt,
507
+ H(e.emptyChannelsPlaceholderText),
508
+ 1
509
+ /* TEXT */
510
+ )) : c("v-if", !0),
511
+ c(" Все контакты (показываем только если есть каналы или атрибуты) "),
512
+ e.shouldShowEmptyChannelsPlaceholder ? c("v-if", !0) : (i(!0), s(
513
+ x,
514
+ { key: 1 },
515
+ ue(e.organizedContactAttributes[e.activeChannelType], (n) => (i(), s(
516
+ x,
517
+ {
518
+ key: n.attributeId
519
+ },
520
+ [
521
+ e.hasAttributeTooltip(n) ? (i(), p(e.Tooltip, {
522
+ key: 0,
523
+ text: e.getAttributeTooltipText(n),
404
524
  position: "bottom-left",
405
525
  offset: 8,
406
- delay: y.tooltipDelay,
407
- "hide-on-click": "",
408
- trigger: A.value ? "auto" : "hover",
409
- "auto-show-duration": A.value ? 5e3 : 0
526
+ delay: v.tooltipDelay,
527
+ "hide-on-click": ""
410
528
  }, {
411
- default: oe(() => [
412
- c("span", wt, [
413
- (l(), h(w(t.component)))
414
- ])
529
+ default: de(() => [
530
+ d("div", {
531
+ class: A(["attribute-item", e.getAttributeStatusClass(n), {
532
+ "frozen-hover": e.isAttributeFrozen(n),
533
+ selected: e.isAttributeSelected(n),
534
+ confirming: e.isAttributeConfirming(n, e.effectiveConfirmingAttributeId),
535
+ blocked: e.isAttributeBlocked(n)
536
+ }]),
537
+ "data-attribute-status": n.status,
538
+ onMouseenter: (r) => e.onAttributeMouseEnter(n, r),
539
+ onMouseleave: u[1] || (u[1] = (...r) => e.handleAttributeMouseLeave && e.handleAttributeMouseLeave(...r)),
540
+ onClick: (r) => e.onAttributeClick(n)
541
+ }, [
542
+ d("div", Ft, [
543
+ ce(e.CommunicationPanelAttributeIndicator, {
544
+ attribute: n,
545
+ "is-selected": e.isAttributeSelected(n),
546
+ "confirming-attribute-id": e.effectiveConfirmingAttributeId,
547
+ "blocked-attribute-ids": e.blockedAttributeIdsRef,
548
+ "indicator-tooltips": e.attributeIndicatorTooltipsRef,
549
+ "tooltip-delay": v.tooltipDelay
550
+ }, null, 8, ["attribute", "is-selected", "confirming-attribute-id", "blocked-attribute-ids", "indicator-tooltips", "tooltip-delay"]),
551
+ d(
552
+ "span",
553
+ Et,
554
+ H(n.value),
555
+ 1
556
+ /* TEXT */
557
+ )
558
+ ]),
559
+ d("span", zt, [
560
+ e.hasMultipleChannels(e.activeChannelType) ? (i(), s("span", Nt)) : v.showChannelIcons ? (i(), s(
561
+ "span",
562
+ {
563
+ key: 1,
564
+ class: A(["channel-icon-small", { "menu-icon-grey": e.activeChannelType !== "sms" }])
565
+ },
566
+ [
567
+ (i(), p(O(e.getSingleMenuChannelIconComponent(e.activeChannelType))))
568
+ ],
569
+ 2
570
+ /* CLASS */
571
+ )) : c("v-if", !0)
572
+ ])
573
+ ], 42, qt)
415
574
  ]),
416
575
  _: 2
417
- }, 1032, ["text", "delay", "trigger", "auto-show-duration"]),
418
- o[5] || (o[5] = c("span", { class: "active-indicator" }, null, -1))
419
- ], 64)) : (l(), h(se, {
420
- key: 1,
421
- text: n(Ue)(t.type),
422
- position: "bottom-left",
423
- offset: 8,
424
- delay: y.tooltipDelay,
425
- "hide-on-click": ""
426
- }, {
427
- default: oe(() => [
428
- c("span", Dt, [
429
- (l(), h(w(t.component)))
430
- ])
431
- ]),
432
- _: 2
433
- }, 1032, ["text", "delay"]))
434
- ], 42, _t);
435
- }), 128))
436
- ], 512)) : v("", !0),
437
- n(g) && n(r) ? (l(), u("div", Rt, [
438
- n(Se) ? (l(), u("div", xt, F(n(ut)), 1)) : v("", !0),
439
- n(Se) ? v("", !0) : (l(!0), u(_, { key: 1 }, te(n(Z)[n(r)], (t) => (l(), u(_, {
440
- key: t.attributeId
441
- }, [
442
- Fe(t) ? (l(), h(se, {
443
- key: 0,
444
- text: fe(t),
445
- position: "bottom-left",
446
- offset: 8,
447
- delay: y.tooltipDelay,
448
- "hide-on-click": ""
449
- }, {
450
- default: oe(() => [
451
- c("div", {
452
- class: k(["attribute-item", n(Re)(t), {
453
- "frozen-hover": n(ke)(t),
454
- selected: E(t),
455
- confirming: n(xe)(t, b.value),
456
- blocked: M(t)
576
+ /* DYNAMIC */
577
+ }, 1032, ["text", "delay"])) : (i(), s("div", {
578
+ key: 1,
579
+ class: A(["attribute-item", e.getAttributeStatusClass(n), {
580
+ "frozen-hover": e.isAttributeFrozen(n),
581
+ selected: e.isAttributeSelected(n),
582
+ confirming: e.isAttributeConfirming(n, e.effectiveConfirmingAttributeId),
583
+ blocked: e.isAttributeBlocked(n)
457
584
  }]),
458
- "data-attribute-status": t.status,
459
- onMouseenter: (s) => we(t, s),
460
- onMouseleave: o[1] || (o[1] = (...s) => n(j) && n(j)(...s)),
461
- onClick: (s) => Me(t)
585
+ "data-attribute-status": n.status,
586
+ onMouseenter: (r) => e.onAttributeMouseEnter(n, r),
587
+ onMouseleave: u[2] || (u[2] = (...r) => e.handleAttributeMouseLeave && e.handleAttributeMouseLeave(...r)),
588
+ onClick: (r) => e.onAttributeClick(n)
462
589
  }, [
463
- c("div", Ot, [
464
- ne(qe, {
465
- attribute: t,
466
- "is-selected": E(t),
467
- "confirming-attribute-id": b.value,
468
- "blocked-attribute-ids": W.value,
469
- "indicator-tooltips": ie.value,
470
- "tooltip-delay": y.tooltipDelay
590
+ d("div", Lt, [
591
+ ce(e.CommunicationPanelAttributeIndicator, {
592
+ attribute: n,
593
+ "is-selected": e.isAttributeSelected(n),
594
+ "confirming-attribute-id": e.effectiveConfirmingAttributeId,
595
+ "blocked-attribute-ids": e.blockedAttributeIdsRef,
596
+ "indicator-tooltips": e.attributeIndicatorTooltipsRef,
597
+ "tooltip-delay": v.tooltipDelay
471
598
  }, null, 8, ["attribute", "is-selected", "confirming-attribute-id", "blocked-attribute-ids", "indicator-tooltips", "tooltip-delay"]),
472
- c("span", Pt, F(t.value), 1)
599
+ d(
600
+ "span",
601
+ Ut,
602
+ H(n.value),
603
+ 1
604
+ /* TEXT */
605
+ )
473
606
  ]),
474
- c("span", Bt, [
475
- n(S)(n(r)) ? (l(), u("span", Nt)) : y.showChannelIcons ? (l(), u("span", {
476
- key: 1,
477
- class: k(["channel-icon-small", { "menu-icon-grey": n(r) !== "sms" }])
478
- }, [
479
- (l(), h(w(n(me)(n(r)))))
480
- ], 2)) : v("", !0)
607
+ d("span", Vt, [
608
+ e.hasMultipleChannels(e.activeChannelType) ? (i(), s("span", Wt)) : v.showChannelIcons ? (i(), s(
609
+ "span",
610
+ {
611
+ key: 1,
612
+ class: A(["channel-icon-small", { "menu-icon-grey": e.activeChannelType !== "sms" }])
613
+ },
614
+ [
615
+ (i(), p(O(e.getSingleMenuChannelIconComponent(e.activeChannelType))))
616
+ ],
617
+ 2
618
+ /* CLASS */
619
+ )) : c("v-if", !0)
481
620
  ])
482
- ], 42, qt)
483
- ]),
484
- _: 2
485
- }, 1032, ["text", "delay"])) : (l(), u("div", {
486
- key: 1,
487
- class: k(["attribute-item", n(Re)(t), {
488
- "frozen-hover": n(ke)(t),
489
- selected: E(t),
490
- confirming: n(xe)(t, b.value),
491
- blocked: M(t)
492
- }]),
493
- "data-attribute-status": t.status,
494
- onMouseenter: (s) => we(t, s),
495
- onMouseleave: o[2] || (o[2] = (...s) => n(j) && n(j)(...s)),
496
- onClick: (s) => Me(t)
497
- }, [
498
- c("div", $t, [
499
- ne(qe, {
500
- attribute: t,
501
- "is-selected": E(t),
502
- "confirming-attribute-id": b.value,
503
- "blocked-attribute-ids": W.value,
504
- "indicator-tooltips": ie.value,
505
- "tooltip-delay": y.tooltipDelay
506
- }, null, 8, ["attribute", "is-selected", "confirming-attribute-id", "blocked-attribute-ids", "indicator-tooltips", "tooltip-delay"]),
507
- c("span", jt, F(t.value), 1)
508
- ]),
509
- c("span", zt, [
510
- n(S)(n(r)) ? (l(), u("span", Ft)) : y.showChannelIcons ? (l(), u("span", {
511
- key: 1,
512
- class: k(["channel-icon-small", { "menu-icon-grey": n(r) !== "sms" }])
621
+ ], 42, jt))
622
+ ],
623
+ 64
624
+ /* STABLE_FRAGMENT */
625
+ ))),
626
+ 128
627
+ /* KEYED_FRAGMENT */
628
+ )),
629
+ c(" Второй уровень меню "),
630
+ e.showSubMenu && e.shouldShowSubMenu ? (i(), s(
631
+ "div",
632
+ {
633
+ key: 2,
634
+ class: "sub-menu left",
635
+ style: yt({ top: e.subMenuTop + "px" }),
636
+ onMouseenter: u[3] || (u[3] = (...n) => e.keepSubMenuOpen && e.keepSubMenuOpen(...n)),
637
+ onMouseleave: u[4] || (u[4] = (...n) => e.closeSubMenu && e.closeSubMenu(...n))
638
+ },
639
+ [
640
+ u[6] || (u[6] = d(
641
+ "div",
642
+ { class: "sub-menu-header" },
643
+ " Канал связи ",
644
+ -1
645
+ /* CACHED */
646
+ )),
647
+ (i(!0), s(
648
+ x,
649
+ null,
650
+ ue(e.availableChannels, (n) => (i(), s("div", {
651
+ key: n.channelId,
652
+ class: A(["sub-menu-item", { selected: e.isChannelSelected(n) }]),
653
+ onClick: (r) => e.selectChannel(n.channelId)
513
654
  }, [
514
- (l(), h(w(n(me)(n(r)))))
515
- ], 2)) : v("", !0)
516
- ])
517
- ], 42, Et))
518
- ], 64))), 128)),
519
- n(G) && rt.value ? (l(), u("div", {
520
- key: 2,
521
- class: "sub-menu left",
522
- style: ft({ top: n(lt) + "px" }),
523
- onMouseenter: o[3] || (o[3] = (...t) => n(Ae) && n(Ae)(...t)),
524
- onMouseleave: o[4] || (o[4] = (...t) => n(Te) && n(Te)(...t))
525
- }, [
526
- o[6] || (o[6] = c("div", { class: "sub-menu-header" }, " Канал связи ", -1)),
527
- (l(!0), u(_, null, te(_e.value, (t) => (l(), u("div", {
528
- key: t.channelId,
529
- class: k(["sub-menu-item", { selected: K(t) }]),
530
- onClick: (s) => n(tt)(t.channelId)
531
- }, [
532
- c("span", Ut, [
533
- X(t) ? (l(), u("span", {
534
- key: 0,
535
- class: k(Ye(t))
536
- }, [
537
- X(t) === "spinner" ? (l(), h(n(Mt), { key: 0 })) : X(t) === "unconfirmed" ? (l(), h(n(Tt), { key: 1 })) : (l(), h(n(At), { key: 2 }))
538
- ], 2)) : v("", !0)
539
- ]),
540
- c("span", Vt, [
541
- c("span", Wt, F(t.title || t.channelId), 1),
542
- t.isBot ? (l(), u("span", Ht, "бот")) : v("", !0)
543
- ]),
544
- y.showChannelIcons ? (l(), u("span", {
545
- key: 0,
546
- class: k(["sub-menu-icon", { "menu-icon-grey": n(Ve)(t.channelId) !== "sms" }])
547
- }, [
548
- (l(), h(w(n(He)(t.channelId))))
549
- ], 2)) : v("", !0)
550
- ], 10, Lt))), 128))
551
- ], 36)) : v("", !0)
552
- ])) : v("", !0)
553
- ], 512));
554
- }
555
- }, cn = /* @__PURE__ */ St(Gt, [["__scopeId", "data-v-38881acf"]]);
655
+ d("span", Gt, [
656
+ e.getSubMenuChannelIndicatorTypeForChannel(n) ? (i(), s(
657
+ "span",
658
+ {
659
+ key: 0,
660
+ class: A(e.getSubMenuChannelIndicatorClassForChannel(n))
661
+ },
662
+ [
663
+ e.getSubMenuChannelIndicatorTypeForChannel(n) === "spinner" ? (i(), p(e.CommunicationPanelConfirmSpinner, { key: 0 })) : e.getSubMenuChannelIndicatorTypeForChannel(n) === "unconfirmed" ? (i(), p(e.CommunicationPanelUnconfirmedIcon, { key: 1 })) : (i(), p(e.CommunicationPanelCheckIcon, { key: 2 }))
664
+ ],
665
+ 2
666
+ /* CLASS */
667
+ )) : c("v-if", !0)
668
+ ]),
669
+ d("span", Jt, [
670
+ d(
671
+ "span",
672
+ Kt,
673
+ H(n.title || n.channelId),
674
+ 1
675
+ /* TEXT */
676
+ ),
677
+ n.isBot ? (i(), s("span", Qt, "бот")) : c("v-if", !0)
678
+ ]),
679
+ v.showChannelIcons ? (i(), s(
680
+ "span",
681
+ {
682
+ key: 0,
683
+ class: A(["sub-menu-icon", { "menu-icon-grey": e.getChannelTypeFromId(n.channelId) !== "sms" }])
684
+ },
685
+ [
686
+ (i(), p(O(e.getMenuChannelIconComponentForChannelId(n.channelId))))
687
+ ],
688
+ 2
689
+ /* CLASS */
690
+ )) : c("v-if", !0)
691
+ ], 10, Ht))),
692
+ 128
693
+ /* KEYED_FRAGMENT */
694
+ ))
695
+ ],
696
+ 36
697
+ /* STYLE, NEED_HYDRATION */
698
+ )) : c("v-if", !0)
699
+ ])) : c("v-if", !0)
700
+ ],
701
+ 512
702
+ /* NEED_PATCH */
703
+ );
704
+ }
705
+ const mn = /* @__PURE__ */ St(_t, [["render", Xt], ["__scopeId", "data-v-153e29a4"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_blocks/CommunicationPanel/CommunicationPanel.vue"]]);
556
706
  export {
557
- cn as default
707
+ mn as default
558
708
  };