@mobilon-dev/chotto 0.3.120 → 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 (222) 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/package.json +1 -1
  221. package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +0 -21
  222. /package/dist/types/src/components/{2_feed_elements/DeletedMessageContent/icons → 1_icons}/DeletedMessageIcon.vue.d.ts +0 -0
@@ -1,31 +1,25 @@
1
- import { defineComponent as p, computed as n, createElementBlock as u, createCommentVNode as d, openBlock as h, createElementVNode as _, toDisplayString as f, unref as v } from "vue";
2
- import { useLocale as g } from "../../../locale/useLocale.js";
3
- const x = ["data-channel-type"], y = { class: "message-sms-invite__text" }, w = /* @__PURE__ */ p({
1
+ import { defineComponent as m, computed as a } from "vue";
2
+ import { useLocale as d } from "../../../locale/useLocale.js";
3
+ const y = /* @__PURE__ */ m({
4
4
  __name: "MessageSmsInvite",
5
5
  props: {
6
- status: {},
7
- hasMessengerAccount: { type: Boolean },
8
- channel: {}
6
+ status: { type: null, required: !0 },
7
+ hasMessengerAccount: { type: Boolean, required: !1 },
8
+ channel: { type: null, required: !1 }
9
9
  },
10
10
  emits: ["sms-invite"],
11
- setup(a, { emit: o }) {
12
- const t = a, c = o, { t: i } = g(), r = n(() => t.status === "error" && t.hasMessengerAccount === !1), m = n(() => {
13
- var s;
14
- const e = ((s = t.channel) == null ? void 0 : s.toLowerCase()) ?? "";
15
- return e.includes("whatsapp") || e.includes("waba") ? "whatsapp" : e.includes("max") ? "max" : "telegram";
16
- }), l = () => {
17
- c("sms-invite");
18
- };
19
- return (e, s) => r.value ? (h(), u("div", {
20
- key: 0,
21
- class: "message-sms-invite",
22
- "data-channel-type": m.value,
23
- onClick: l
24
- }, [
25
- _("span", y, f(v(i)("component.TextMessage.sendSmsInvite")), 1)
26
- ], 8, x)) : d("", !0);
11
+ setup(i, { expose: o, emit: u }) {
12
+ o();
13
+ const e = i, s = u, { t: c } = d(), l = a(() => e.status === "error" && e.hasMessengerAccount === !1), p = a(() => {
14
+ var r;
15
+ const t = ((r = e.channel) == null ? void 0 : r.toLowerCase()) ?? "";
16
+ return t.includes("whatsapp") || t.includes("waba") ? "whatsapp" : t.includes("max") ? "max" : "telegram";
17
+ }), n = { props: e, emit: s, t: c, isVisible: l, channelType: p, handleClick: () => {
18
+ s("sms-invite");
19
+ } };
20
+ return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
27
21
  }
28
22
  });
29
23
  export {
30
- w as default
24
+ y as default
31
25
  };
@@ -1,7 +1,31 @@
1
- import t from "./MessageStatusIndicator.vue2.js";
1
+ import o from "./MessageStatusIndicator.vue2.js";
2
+ import { createBlock as a, createCommentVNode as c, openBlock as s, withCtx as i, createElementVNode as n, normalizeClass as r } from "vue";
2
3
  /* empty css */
3
- import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-c70e671a"]]);
4
+ import d from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ function m(l, _, t, e, u, S) {
6
+ return e.isVisible ? (s(), a(e.Tooltip, {
7
+ key: 0,
8
+ text: t.statusTitle,
9
+ position: t.tooltipPosition
10
+ }, {
11
+ default: i(() => [
12
+ n(
13
+ "div",
14
+ {
15
+ class: r(["message-status-indicator", ...e.statusContainerClasses])
16
+ },
17
+ [
18
+ t.messageStatus === "pending" ? (s(), a(e.PendingStatusIcon, { key: 0 })) : t.messageStatus === "error" ? (s(), a(e.ErrorStatusIcon, { key: 1 })) : t.messageStatus === "read" ? (s(), a(e.ReadStatusIcon, { key: 2 })) : t.messageStatus === "received" ? (s(), a(e.ReceivedStatusIcon, { key: 3 })) : (s(), a(e.SentStatusIcon, { key: 4 }))
19
+ ],
20
+ 2
21
+ /* CLASS */
22
+ )
23
+ ]),
24
+ _: 1
25
+ /* STABLE */
26
+ }, 8, ["text", "position"])) : c("v-if", !0);
27
+ }
28
+ const v = /* @__PURE__ */ d(o, [["render", m], ["__scopeId", "data-v-689a3cc0"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue"]]);
5
29
  export {
6
- e as default
30
+ v as default
7
31
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as m, computed as i, createBlock as s, createCommentVNode as l, openBlock as a, withCtx as c, createElementVNode as d, normalizeClass as g, unref as r } from "vue";
1
+ import { defineComponent as i, computed as r } from "vue";
2
2
  import p from "../../1_atoms/Tooltip/Tooltip.vue.js";
3
- import { statuses as S } from "../../../functions/getStatusMessage.js";
3
+ import { statuses as m } from "../../../functions/getStatusMessage.js";
4
4
  import "../../../functions/parseMarkdown.js";
5
- import f from "../../1_icons/MessageStatus/ErrorStatusIcon.vue.js";
6
- import y from "../../1_icons/MessageStatus/PendingStatusIcon.vue.js";
7
- import C from "../../1_icons/MessageStatus/ReadStatusIcon.vue.js";
8
- import k from "../../1_icons/MessageStatus/ReceivedStatusIcon.vue.js";
9
- import I from "../../1_icons/MessageStatus/SentStatusIcon.vue.js";
10
- const M = /* @__PURE__ */ m({
5
+ import c from "../../1_icons/MessageStatus/ErrorStatusIcon.vue.js";
6
+ import l from "../../1_icons/MessageStatus/PendingStatusIcon.vue.js";
7
+ import S from "../../1_icons/MessageStatus/ReadStatusIcon.vue.js";
8
+ import d from "../../1_icons/MessageStatus/ReceivedStatusIcon.vue.js";
9
+ import g from "../../1_icons/MessageStatus/SentStatusIcon.vue.js";
10
+ const v = /* @__PURE__ */ i({
11
11
  name: "MessageStatusIndicator",
12
12
  __name: "MessageStatusIndicator",
13
13
  props: {
@@ -37,30 +37,28 @@ const M = /* @__PURE__ */ m({
37
37
  },
38
38
  statuses: {
39
39
  type: Array,
40
- default: () => S
40
+ default: () => m
41
41
  }
42
42
  },
43
- setup(t) {
44
- const e = t, u = i(() => e.messageClass === `${e.baseClass}__right` && e.statuses.includes(e.messageStatus)), n = i(() => {
45
- const o = [`${e.baseClass}__status`];
46
- return e.statusClass && o.push(e.statusClass), o;
47
- });
48
- return (o, b) => u.value ? (a(), s(p, {
49
- key: 0,
50
- text: t.statusTitle,
51
- position: t.tooltipPosition
52
- }, {
53
- default: c(() => [
54
- d("div", {
55
- class: g(["message-status-indicator", ...n.value])
56
- }, [
57
- t.messageStatus === "pending" ? (a(), s(r(y), { key: 0 })) : t.messageStatus === "error" ? (a(), s(r(f), { key: 1 })) : t.messageStatus === "read" ? (a(), s(r(C), { key: 2 })) : t.messageStatus === "received" ? (a(), s(r(k), { key: 3 })) : (a(), s(r(I), { key: 4 }))
58
- ], 2)
59
- ]),
60
- _: 1
61
- }, 8, ["text", "position"])) : l("", !0);
43
+ setup(a, { expose: o }) {
44
+ o();
45
+ const t = a, n = r(() => t.messageClass === `${t.baseClass}__right` && t.statuses.includes(t.messageStatus)), u = r(() => {
46
+ const s = [`${t.baseClass}__status`];
47
+ return t.statusClass && s.push(t.statusClass), s;
48
+ }), e = { props: t, isVisible: n, statusContainerClasses: u, Tooltip: p, get ErrorStatusIcon() {
49
+ return c;
50
+ }, get PendingStatusIcon() {
51
+ return l;
52
+ }, get ReadStatusIcon() {
53
+ return S;
54
+ }, get ReceivedStatusIcon() {
55
+ return d;
56
+ }, get SentStatusIcon() {
57
+ return g;
58
+ } };
59
+ return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
62
60
  }
63
61
  });
64
62
  export {
65
- M as default
63
+ v as default
66
64
  };
@@ -1,7 +1,145 @@
1
- import o from "./MissedCallMessage.vue2.js";
1
+ import M from "./MissedCallMessage.vue2.js";
2
+ import { createElementBlock as l, openBlock as a, normalizeClass as c, createCommentVNode as i, createElementVNode as n, normalizeStyle as _, createVNode as m, withCtx as g, createTextVNode as f, toDisplayString as d, Fragment as r, createBlock as u, Teleport as v, Transition as h } from "vue";
2
3
  /* empty css */
3
- import s from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ s(o, [["__scopeId", "data-v-6f8b73ef"]]);
4
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const y = ["messageId"], k = ["src"], C = {
6
+ key: 1,
7
+ class: "missed-call-message__subtext"
8
+ }, b = { class: "missed-call-message__info-container" }, T = {
9
+ key: 0,
10
+ class: "missed-call-message__time"
11
+ }, w = { class: "missed-call-message__main-content" }, A = { class: "missed-call-message__icon-wrapper" }, I = { class: "missed-call-message__info-container" }, V = { class: "missed-call-message__time" };
12
+ function N(S, t, s, e, B, E) {
13
+ return a(), l("div", {
14
+ ref: "menuAnchorRef",
15
+ class: c([
16
+ e.getClass(s.message),
17
+ s.applyStyle(s.message)
18
+ ]),
19
+ messageId: s.message.messageId,
20
+ onMouseenter: t[1] || (t[1] = (...o) => e.showMenu && e.showMenu(...o)),
21
+ onMouseleave: t[2] || (t[2] = (...o) => e.hideMenu && e.hideMenu(...o))
22
+ }, [
23
+ s.message.avatar ? (a(), l("img", {
24
+ key: 0,
25
+ class: "missed-call-message__avatar",
26
+ src: s.message.avatar,
27
+ height: "32",
28
+ width: "32",
29
+ style: _({ gridRow: s.message.subText ? "2" : "1" })
30
+ }, null, 12, k)) : i("v-if", !0),
31
+ s.message.subText ? (a(), l("p", C, [
32
+ m(e.Tooltip, {
33
+ text: e.subtextTooltipText,
34
+ position: "right",
35
+ offset: 8
36
+ }, {
37
+ default: g(() => [
38
+ f(
39
+ d(s.message.subText),
40
+ 1
41
+ /* TEXT */
42
+ )
43
+ ]),
44
+ _: 1
45
+ /* STABLE */
46
+ }, 8, ["text"])
47
+ ])) : i("v-if", !0),
48
+ n("div", {
49
+ class: c(["missed-call-message__content", { "is-first": !0 }])
50
+ }, [
51
+ t[5] || (t[5] = n(
52
+ "div",
53
+ {
54
+ class: "missed-call-message__bottom-shadow",
55
+ "aria-hidden": "true"
56
+ },
57
+ null,
58
+ -1
59
+ /* CACHED */
60
+ )),
61
+ s.message.deleted ? (a(), l(
62
+ r,
63
+ { key: 0 },
64
+ [
65
+ m(e.DeletedMessageContent),
66
+ n("div", b, [
67
+ s.message.time ? (a(), l(
68
+ "span",
69
+ T,
70
+ d(s.message.time),
71
+ 1
72
+ /* TEXT */
73
+ )) : i("v-if", !0)
74
+ ])
75
+ ],
76
+ 64
77
+ /* STABLE_FRAGMENT */
78
+ )) : (a(), l(
79
+ r,
80
+ { key: 1 },
81
+ [
82
+ n("div", w, [
83
+ n("div", A, [
84
+ m(e.MissedCallIcon, { class: "missed-call-message__icon" })
85
+ ]),
86
+ t[3] || (t[3] = n(
87
+ "p",
88
+ { class: "missed-call-message__text" },
89
+ " Пропущенный звонок ",
90
+ -1
91
+ /* CACHED */
92
+ ))
93
+ ]),
94
+ n("div", I, [
95
+ n(
96
+ "span",
97
+ V,
98
+ d(s.message.time),
99
+ 1
100
+ /* TEXT */
101
+ )
102
+ ]),
103
+ e.buttonMenuVisible && e.menuActions.length ? (a(), l("button", {
104
+ key: 0,
105
+ class: "missed-call-message__menu-button",
106
+ onClick: t[0] || (t[0] = (...o) => e.toggleMenu && e.toggleMenu(...o))
107
+ }, [...t[4] || (t[4] = [
108
+ n(
109
+ "span",
110
+ { class: "pi pi-ellipsis-h" },
111
+ null,
112
+ -1
113
+ /* CACHED */
114
+ )
115
+ ])])) : i("v-if", !0),
116
+ (a(), u(v, { to: "body" }, [
117
+ m(h, null, {
118
+ default: g(() => [
119
+ e.isOpenMenu && e.menuActions.length ? (a(), u(e.ContextMenu, {
120
+ key: 0,
121
+ ref: "menuRef",
122
+ class: "missed-call-message__context-menu message-actions-menu",
123
+ style: _(e.menuStyle),
124
+ "data-theme": e.menuTheme,
125
+ actions: e.menuActions,
126
+ onClick: e.clickAction,
127
+ onMouseenter: e.onMenuMouseEnter,
128
+ onMouseleave: e.onMenuMouseLeave
129
+ }, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : i("v-if", !0)
130
+ ]),
131
+ _: 1
132
+ /* STABLE */
133
+ })
134
+ ]))
135
+ ],
136
+ 64
137
+ /* STABLE_FRAGMENT */
138
+ ))
139
+ ])
140
+ ], 42, y);
141
+ }
142
+ const F = /* @__PURE__ */ x(M, [["render", N], ["__scopeId", "data-v-a57d223b"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue"]]);
5
143
  export {
6
- f as default
144
+ F as default
7
145
  };
@@ -1,28 +1,22 @@
1
- import { defineComponent as E, inject as O, createElementBlock as n, openBlock as o, unref as e, normalizeClass as y, createCommentVNode as m, createElementVNode as a, normalizeStyle as M, createVNode as r, withCtx as x, createTextVNode as q, toDisplayString as c, Fragment as _, createBlock as b, Teleport as z, Transition as F } from "vue";
2
- import { useMessageActions as L } from "../../../hooks/messages/useMessageActions.js";
3
- import { useMessageMenuActions as P } from "../../../hooks/messages/useMessageMenuActions.js";
1
+ import { defineComponent as h, inject as R } from "vue";
2
+ import { useMessageActions as S } from "../../../hooks/messages/useMessageActions.js";
3
+ import { useMessageMenuActions as j } from "../../../hooks/messages/useMessageMenuActions.js";
4
4
  import "../../../node_modules/linkifyjs/dist/linkify.js";
5
5
  import "../../../node_modules/linkify-string/dist/linkify-string.js";
6
6
  import "../../../functions/parseMarkdown.js";
7
- import { getMessageClass as G } from "../../../functions/getMessageClass.js";
8
- import { useSubtextTooltip as H } from "../../../hooks/messages/useSubtextTooltip.js";
9
- import { useStartReply as J } from "../../../hooks/messages/useStartReply.js";
7
+ import { getMessageClass as O } from "../../../functions/getMessageClass.js";
8
+ import { useSubtextTooltip as D } from "../../../hooks/messages/useSubtextTooltip.js";
9
+ import { useStartReply as I } from "../../../hooks/messages/useStartReply.js";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import "../../../locale/useLocale.js";
13
13
  /* empty css */
14
- import { buildReplyPayload as K } from "../../../hooks/messages/buildReplyPayload.js";
15
- import Q from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
16
- import U from "../../1_atoms/Tooltip/Tooltip.vue.js";
17
- import W from "../DeletedMessageContent/DeletedMessageContent.vue.js";
18
- import X from "./icons/MissedCallIcon.vue.js";
19
- const Y = ["messageId"], Z = ["src"], $ = {
20
- key: 1,
21
- class: "missed-call-message__subtext"
22
- }, ee = { class: "missed-call-message__info-container" }, se = {
23
- key: 0,
24
- class: "missed-call-message__time"
25
- }, te = { class: "missed-call-message__main-content" }, oe = { class: "missed-call-message__icon-wrapper" }, ae = { class: "missed-call-message__info-container" }, ne = { class: "missed-call-message__time" }, Ce = /* @__PURE__ */ E({
14
+ import { buildReplyPayload as q } from "../../../hooks/messages/buildReplyPayload.js";
15
+ import v from "../../1_atoms/ContextMenu/ContextMenu.vue.js";
16
+ import P from "../../1_atoms/Tooltip/Tooltip.vue.js";
17
+ import k from "../DeletedMessageContent/DeletedMessageContent.vue.js";
18
+ import w from "./icons/MissedCallIcon.vue.js";
19
+ const ee = /* @__PURE__ */ h({
26
20
  __name: "MissedCallMessage",
27
21
  props: {
28
22
  message: {
@@ -40,113 +34,31 @@ const Y = ["messageId"], Z = ["src"], $ = {
40
34
  }
41
35
  },
42
36
  emits: ["action", "reply"],
43
- setup(s, { emit: h }) {
44
- const k = h, { menuActions: u } = P(() => i.message), v = O("chatAppId"), { startReply: C } = J(v || ""), i = s, {
45
- isOpenMenu: T,
46
- buttonMenuVisible: R,
47
- menuAnchorRef: A,
48
- menuRef: S,
49
- menuStyle: w,
50
- menuTheme: I,
37
+ setup(r, { expose: i, emit: m }) {
38
+ i();
39
+ const t = m, { menuActions: p } = j(() => e.message), o = R("chatAppId"), { startReply: s } = I(o || ""), e = r, {
40
+ isOpenMenu: u,
41
+ buttonMenuVisible: a,
42
+ menuAnchorRef: l,
43
+ menuRef: c,
44
+ menuStyle: f,
45
+ menuTheme: M,
51
46
  showMenu: d,
52
47
  hideMenu: g,
53
- toggleMenu: p,
54
- onMenuMouseEnter: V,
55
- onMenuMouseLeave: D,
56
- clickAction: N
57
- } = L(i.message, k, {
58
- onReply: () => C(K(i.message, "message.call"))
59
- }), j = H(() => i.message, () => i.subtextTooltipData);
60
- function B(f) {
61
- return G(f.position, "missed-call-message");
48
+ toggleMenu: y,
49
+ onMenuMouseEnter: b,
50
+ onMenuMouseLeave: _,
51
+ clickAction: x
52
+ } = S(e.message, t, {
53
+ onReply: () => s(q(e.message, "message.call"))
54
+ }), A = D(() => e.message, () => e.subtextTooltipData);
55
+ function C(T) {
56
+ return O(T.position, "missed-call-message");
62
57
  }
63
- return (f, t) => (o(), n("div", {
64
- ref_key: "menuAnchorRef",
65
- ref: A,
66
- class: y([
67
- B(s.message),
68
- s.applyStyle(s.message)
69
- ]),
70
- messageId: s.message.messageId,
71
- onMouseenter: t[1] || (t[1] = //@ts-ignore
72
- (...l) => e(d) && e(d)(...l)),
73
- onMouseleave: t[2] || (t[2] = //@ts-ignore
74
- (...l) => e(g) && e(g)(...l))
75
- }, [
76
- s.message.avatar ? (o(), n("img", {
77
- key: 0,
78
- class: "missed-call-message__avatar",
79
- src: s.message.avatar,
80
- height: "32",
81
- width: "32",
82
- style: M({ gridRow: s.message.subText ? "2" : "1" })
83
- }, null, 12, Z)) : m("", !0),
84
- s.message.subText ? (o(), n("p", $, [
85
- r(U, {
86
- text: e(j),
87
- position: "right",
88
- offset: 8
89
- }, {
90
- default: x(() => [
91
- q(c(s.message.subText), 1)
92
- ]),
93
- _: 1
94
- }, 8, ["text"])
95
- ])) : m("", !0),
96
- a("div", {
97
- class: y(["missed-call-message__content", { "is-first": !0 }])
98
- }, [
99
- t[5] || (t[5] = a("div", {
100
- class: "missed-call-message__bottom-shadow",
101
- "aria-hidden": "true"
102
- }, null, -1)),
103
- s.message.deleted ? (o(), n(_, { key: 0 }, [
104
- r(W),
105
- a("div", ee, [
106
- s.message.time ? (o(), n("span", se, c(s.message.time), 1)) : m("", !0)
107
- ])
108
- ], 64)) : (o(), n(_, { key: 1 }, [
109
- a("div", te, [
110
- a("div", oe, [
111
- r(X, { class: "missed-call-message__icon" })
112
- ]),
113
- t[3] || (t[3] = a("p", { class: "missed-call-message__text" }, " Пропущенный звонок ", -1))
114
- ]),
115
- a("div", ae, [
116
- a("span", ne, c(s.message.time), 1)
117
- ]),
118
- e(R) && e(u).length ? (o(), n("button", {
119
- key: 0,
120
- class: "missed-call-message__menu-button",
121
- onClick: t[0] || (t[0] = //@ts-ignore
122
- (...l) => e(p) && e(p)(...l))
123
- }, [...t[4] || (t[4] = [
124
- a("span", { class: "pi pi-ellipsis-h" }, null, -1)
125
- ])])) : m("", !0),
126
- (o(), b(z, { to: "body" }, [
127
- r(F, null, {
128
- default: x(() => [
129
- e(T) && e(u).length ? (o(), b(Q, {
130
- key: 0,
131
- ref_key: "menuRef",
132
- ref: S,
133
- class: "missed-call-message__context-menu message-actions-menu",
134
- style: M(e(w)),
135
- "data-theme": e(I),
136
- actions: e(u),
137
- onClick: e(N),
138
- onMouseenter: e(V),
139
- onMouseleave: e(D)
140
- }, null, 8, ["style", "data-theme", "actions", "onClick", "onMouseenter", "onMouseleave"])) : m("", !0)
141
- ]),
142
- _: 1
143
- })
144
- ]))
145
- ], 64))
146
- ])
147
- ], 42, Y));
58
+ const n = { emit: t, menuActions: p, chatAppId: o, startReply: s, props: e, isOpenMenu: u, buttonMenuVisible: a, menuAnchorRef: l, menuRef: c, menuStyle: f, menuTheme: M, showMenu: d, hideMenu: g, toggleMenu: y, onMenuMouseEnter: b, onMenuMouseLeave: _, clickAction: x, subtextTooltipText: A, getClass: C, ContextMenu: v, Tooltip: P, DeletedMessageContent: k, MissedCallIcon: w };
59
+ return Object.defineProperty(n, "__isScriptSetup", { enumerable: !1, value: !0 }), n;
148
60
  }
149
61
  });
150
62
  export {
151
- Ce as default
63
+ ee as default
152
64
  };
@@ -1,34 +1,46 @@
1
- import { createElementBlock as t, openBlock as l, createElementVNode as C } from "vue";
2
- import i from "../../../../_virtual/_plugin-vue_export-helper.js";
3
- const o = {}, n = {
1
+ import { createElementBlock as t, openBlock as l, createElementVNode as e } from "vue";
2
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const s = {}, i = {
4
4
  width: "20",
5
5
  height: "20",
6
6
  viewBox: "0 0 20 20",
7
7
  fill: "none",
8
8
  xmlns: "http://www.w3.org/2000/svg"
9
9
  };
10
- function r(c, e) {
11
- return l(), t("svg", n, [...e[0] || (e[0] = [
12
- C("g", { "clip-path": "url(#clip0_8206_19)" }, [
13
- C("path", {
14
- "fill-rule": "evenodd",
15
- "clip-rule": "evenodd",
16
- d: "M2.35684 0.639867C2.57556 0.421478 2.83819 0.252065 3.12733 0.142855C3.41648 0.0336443 3.72553 -0.0128694 4.03401 0.00639586C4.34249 0.0256611 4.64336 0.110265 4.91667 0.254602C5.18998 0.398939 5.42949 0.599712 5.61934 0.843617L7.86309 3.72612C8.27434 4.25487 8.41934 4.94362 8.25684 5.59362L7.57309 8.33112C7.53774 8.4729 7.53965 8.62142 7.57863 8.76225C7.61762 8.90309 7.69236 9.03144 7.79559 9.13487L10.8668 12.2061C10.9704 12.3096 11.099 12.3844 11.24 12.4234C11.3811 12.4624 11.5299 12.4642 11.6718 12.4286L14.4081 11.7449C14.7289 11.6647 15.0637 11.6584 15.3872 11.7267C15.7107 11.7949 16.0145 11.9357 16.2756 12.1386L19.1581 14.3811C20.1943 15.1874 20.2893 16.7186 19.3618 17.6449L18.0693 18.9374C17.1443 19.8624 15.7618 20.2686 14.4731 19.8149C11.1746 18.6543 8.17968 16.7659 5.71059 14.2899C3.2347 11.8211 1.34635 8.82669 0.185589 5.52862C-0.266911 4.24112 0.139339 2.85737 1.06434 1.93237L2.35684 0.639867ZM19.8181 0.183617C19.8763 0.241674 19.9225 0.310644 19.954 0.386575C19.9855 0.462507 20.0017 0.543908 20.0017 0.626117C20.0017 0.708326 19.9855 0.789728 19.954 0.865659C19.9225 0.941591 19.8763 1.01056 19.8181 1.06862L14.6343 6.25112H18.1256C18.2913 6.25112 18.4503 6.31697 18.5675 6.43418C18.6847 6.55139 18.7506 6.71036 18.7506 6.87612C18.7506 7.04188 18.6847 7.20085 18.5675 7.31806C18.4503 7.43527 18.2913 7.50112 18.1256 7.50112H13.1256C12.9598 7.50112 12.8009 7.43527 12.6836 7.31806C12.5664 7.20085 12.5006 7.04188 12.5006 6.87612V1.87612C12.5006 1.71036 12.5664 1.55139 12.6836 1.43418C12.8009 1.31697 12.9598 1.25112 13.1256 1.25112C13.2913 1.25112 13.4503 1.31697 13.5675 1.43418C13.6847 1.55139 13.7506 1.71036 13.7506 1.87612V5.36737L18.9331 0.183617C18.9911 0.125413 19.0601 0.0792346 19.136 0.0477266C19.212 0.0162185 19.2934 0 19.3756 0C19.4578 0 19.5392 0.0162185 19.6151 0.0477266C19.6911 0.0792346 19.76 0.125413 19.8181 0.183617Z",
17
- fill: "#F84932"
18
- })
19
- ], -1),
20
- C("defs", null, [
21
- C("clipPath", { id: "clip0_8206_19" }, [
22
- C("rect", {
23
- width: "20",
24
- height: "20",
25
- fill: "white"
10
+ function c(n, C) {
11
+ return l(), t("svg", i, [...C[0] || (C[0] = [
12
+ e(
13
+ "g",
14
+ { "clip-path": "url(#clip0_8206_19)" },
15
+ [
16
+ e("path", {
17
+ "fill-rule": "evenodd",
18
+ "clip-rule": "evenodd",
19
+ d: "M2.35684 0.639867C2.57556 0.421478 2.83819 0.252065 3.12733 0.142855C3.41648 0.0336443 3.72553 -0.0128694 4.03401 0.00639586C4.34249 0.0256611 4.64336 0.110265 4.91667 0.254602C5.18998 0.398939 5.42949 0.599712 5.61934 0.843617L7.86309 3.72612C8.27434 4.25487 8.41934 4.94362 8.25684 5.59362L7.57309 8.33112C7.53774 8.4729 7.53965 8.62142 7.57863 8.76225C7.61762 8.90309 7.69236 9.03144 7.79559 9.13487L10.8668 12.2061C10.9704 12.3096 11.099 12.3844 11.24 12.4234C11.3811 12.4624 11.5299 12.4642 11.6718 12.4286L14.4081 11.7449C14.7289 11.6647 15.0637 11.6584 15.3872 11.7267C15.7107 11.7949 16.0145 11.9357 16.2756 12.1386L19.1581 14.3811C20.1943 15.1874 20.2893 16.7186 19.3618 17.6449L18.0693 18.9374C17.1443 19.8624 15.7618 20.2686 14.4731 19.8149C11.1746 18.6543 8.17968 16.7659 5.71059 14.2899C3.2347 11.8211 1.34635 8.82669 0.185589 5.52862C-0.266911 4.24112 0.139339 2.85737 1.06434 1.93237L2.35684 0.639867ZM19.8181 0.183617C19.8763 0.241674 19.9225 0.310644 19.954 0.386575C19.9855 0.462507 20.0017 0.543908 20.0017 0.626117C20.0017 0.708326 19.9855 0.789728 19.954 0.865659C19.9225 0.941591 19.8763 1.01056 19.8181 1.06862L14.6343 6.25112H18.1256C18.2913 6.25112 18.4503 6.31697 18.5675 6.43418C18.6847 6.55139 18.7506 6.71036 18.7506 6.87612C18.7506 7.04188 18.6847 7.20085 18.5675 7.31806C18.4503 7.43527 18.2913 7.50112 18.1256 7.50112H13.1256C12.9598 7.50112 12.8009 7.43527 12.6836 7.31806C12.5664 7.20085 12.5006 7.04188 12.5006 6.87612V1.87612C12.5006 1.71036 12.5664 1.55139 12.6836 1.43418C12.8009 1.31697 12.9598 1.25112 13.1256 1.25112C13.2913 1.25112 13.4503 1.31697 13.5675 1.43418C13.6847 1.55139 13.7506 1.71036 13.7506 1.87612V5.36737L18.9331 0.183617C18.9911 0.125413 19.0601 0.0792346 19.136 0.0477266C19.212 0.0162185 19.2934 0 19.3756 0C19.4578 0 19.5392 0.0162185 19.6151 0.0477266C19.6911 0.0792346 19.76 0.125413 19.8181 0.183617Z",
20
+ fill: "#F84932"
26
21
  })
27
- ])
28
- ], -1)
22
+ ],
23
+ -1
24
+ /* CACHED */
25
+ ),
26
+ e(
27
+ "defs",
28
+ null,
29
+ [
30
+ e("clipPath", { id: "clip0_8206_19" }, [
31
+ e("rect", {
32
+ width: "20",
33
+ height: "20",
34
+ fill: "white"
35
+ })
36
+ ])
37
+ ],
38
+ -1
39
+ /* CACHED */
40
+ )
29
41
  ])]);
30
42
  }
31
- const p = /* @__PURE__ */ i(o, [["render", r]]);
43
+ const p = /* @__PURE__ */ o(s, [["render", c], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue"]]);
32
44
  export {
33
45
  p as default
34
46
  };
@@ -1,7 +1,58 @@
1
- import o from "./ReplyAudioMessage.vue2.js";
1
+ import r from "./ReplyAudioMessage.vue2.js";
2
+ import { createElementBlock as i, openBlock as n, Fragment as d, withDirectives as c, createElementVNode as t, vShow as m, createCommentVNode as a, toDisplayString as p } from "vue";
2
3
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ad9c9f7"]]);
4
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const u = { class: "audio-message__play" }, g = { class: "audio-message__text-container" }, f = ["textContent"], v = ["innerHTML"];
6
+ function y(x, e, o, s, h, k) {
7
+ return n(), i(
8
+ d,
9
+ null,
10
+ [
11
+ c(t(
12
+ "div",
13
+ u,
14
+ [...e[1] || (e[1] = [
15
+ t(
16
+ "span",
17
+ { class: "pi pi-play" },
18
+ null,
19
+ -1
20
+ /* CACHED */
21
+ )
22
+ ])],
23
+ 512
24
+ /* NEED_PATCH */
25
+ ), [
26
+ [m, !s.isPlaying]
27
+ ]),
28
+ t("div", g, [
29
+ o.message.header ? (n(), i("p", {
30
+ key: 0,
31
+ textContent: p(`В ответ ${o.message.header}`)
32
+ }, null, 8, f)) : a("v-if", !0),
33
+ e[2] || (e[2] = t(
34
+ "div",
35
+ { class: "audio-message__reply-description" },
36
+ [
37
+ t("span", { class: "pi pi-microphone" }),
38
+ t("p", null, "Аудиосообщение")
39
+ ],
40
+ -1
41
+ /* CACHED */
42
+ )),
43
+ o.message.text ? (n(), i("p", {
44
+ key: 1,
45
+ class: "audio-message__text",
46
+ onClick: e[0] || (e[0] = (...l) => s.inNewWindow && s.inNewWindow(...l)),
47
+ innerHTML: s.linkedHtml
48
+ }, null, 8, v)) : a("v-if", !0)
49
+ ])
50
+ ],
51
+ 64
52
+ /* STABLE_FRAGMENT */
53
+ );
54
+ }
55
+ const A = /* @__PURE__ */ _(r, [["render", y], ["__scopeId", "data-v-28dedecb"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue"]]);
5
56
  export {
6
- r as default
57
+ A as default
7
58
  };