@mobilon-dev/chotto 0.3.97 → 0.3.98

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