@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,7 +1,39 @@
1
- import o from "./ButtonCommandsSelector.vue2.js";
1
+ import d from "./ButtonCommandsSelector.vue2.js";
2
+ import { createBlock as o, openBlock as n, Transition as s, withCtx as a, createCommentVNode as c, createElementVNode as m, normalizeClass as r } from "vue";
2
3
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d6bc9f09"]]);
4
+ import i from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ function l(_, f, e, t, u, C) {
6
+ return n(), o(s, null, {
7
+ default: a(() => [
8
+ e.commands ? (n(), o(t.ButtonContextMenu, {
9
+ key: 0,
10
+ ref: "refBCM",
11
+ "menu-side": "top",
12
+ mode: e.mode,
13
+ disabled: t.getMessage().isRecording || e.state == "disabled",
14
+ actions: e.commands,
15
+ onClick: t.sendCommand
16
+ }, {
17
+ default: a(() => [
18
+ m(
19
+ "span",
20
+ {
21
+ class: r(["commands__trigger", { commands__disabled: t.getMessage().isRecording || e.state == "disabled" }])
22
+ },
23
+ " / ",
24
+ 2
25
+ /* CLASS */
26
+ )
27
+ ]),
28
+ _: 1
29
+ /* STABLE */
30
+ }, 8, ["mode", "disabled", "actions"])) : c("v-if", !0)
31
+ ]),
32
+ _: 1
33
+ /* STABLE */
34
+ });
35
+ }
36
+ const p = /* @__PURE__ */ i(d, [["render", l], ["__scopeId", "data-v-dbeeedcd"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue"]]);
5
37
  export {
6
- c as default
38
+ p as default
7
39
  };
@@ -1,5 +1,5 @@
1
- import { defineComponent as p, inject as g, useTemplateRef as C, watch as h, createBlock as n, openBlock as m, Transition as x, withCtx as i, createCommentVNode as y, unref as r, createElementVNode as B, normalizeClass as M } from "vue";
2
- import { useMessageDraft as b } from "../../../hooks/useMessageDraft.js";
1
+ import { defineComponent as d, inject as f, useTemplateRef as l, watch as _ } from "vue";
2
+ import { useMessageDraft as g } from "../../../hooks/useMessageDraft.js";
3
3
  import "../../../hooks/useSearchModel.js";
4
4
  import "../../../hooks/useTheme.js";
5
5
  import "../../../hooks/useEmojiNative.js";
@@ -10,8 +10,8 @@ import "../../../locale/useLocale.js";
10
10
  import "../../../node_modules/linkifyjs/dist/linkify.js";
11
11
  import "../../../node_modules/linkify-string/dist/linkify-string.js";
12
12
  import "../../../functions/parseMarkdown.js";
13
- import k from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
14
- const D = /* @__PURE__ */ p({
13
+ import h from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
14
+ const P = /* @__PURE__ */ d({
15
15
  __name: "ButtonCommandsSelector",
16
16
  props: {
17
17
  commands: {
@@ -30,45 +30,27 @@ const D = /* @__PURE__ */ p({
30
30
  }
31
31
  },
32
32
  emits: ["send"],
33
- setup(e, { emit: d }) {
34
- const c = e, l = d, u = g("chatAppId"), { getMessage: s } = b(u), a = C("refBCM"), f = (t) => {
35
- console.log(t);
36
- const o = {
33
+ setup(p, { expose: a, emit: c }) {
34
+ a();
35
+ const s = p, n = c, m = f("chatAppId"), { getMessage: o } = g(m), r = l("refBCM"), u = (e) => {
36
+ console.log(e);
37
+ const t = {
37
38
  type: "message.command",
38
- text: t.action
39
+ text: e.action
39
40
  };
40
- l("send", o);
41
+ n("send", t);
41
42
  };
42
- return h(
43
- () => s().text,
43
+ _(
44
+ () => o().text,
44
45
  () => {
45
- var t, o;
46
- c.commands && (s().text.startsWith("/") ? (t = a.value) == null || t.updatePosition() : (o = a.value) == null || o.hideMenu());
46
+ var e, t;
47
+ s.commands && (o().text.startsWith("/") ? (e = r.value) == null || e.updatePosition() : (t = r.value) == null || t.hideMenu());
47
48
  }
48
- ), (t, o) => (m(), n(x, null, {
49
- default: i(() => [
50
- e.commands ? (m(), n(k, {
51
- key: 0,
52
- ref_key: "refBCM",
53
- ref: a,
54
- "menu-side": "top",
55
- mode: e.mode,
56
- disabled: r(s)().isRecording || e.state == "disabled",
57
- actions: e.commands,
58
- onClick: f
59
- }, {
60
- default: i(() => [
61
- B("span", {
62
- class: M(["commands__trigger", { commands__disabled: r(s)().isRecording || e.state == "disabled" }])
63
- }, " / ", 2)
64
- ]),
65
- _: 1
66
- }, 8, ["mode", "disabled", "actions"])) : y("", !0)
67
- ]),
68
- _: 1
69
- }));
49
+ );
50
+ const i = { props: s, emit: n, chatAppId: m, getMessage: o, refBCM: r, sendCommand: u, ButtonContextMenu: h };
51
+ return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
70
52
  }
71
53
  });
72
54
  export {
73
- D as default
55
+ P as default
74
56
  };
@@ -1,7 +1,64 @@
1
- import o from "./ButtonEmojiPicker.vue2.js";
1
+ import c from "./ButtonEmojiPicker.vue2.js";
2
+ import { createElementBlock as n, openBlock as i, Fragment as l, createCommentVNode as a, createVNode as t, normalizeClass as s, createElementVNode as r, Transition as m, withCtx as d, withDirectives as h, vShow as v } from "vue";
2
3
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4bf1f08f"]]);
4
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ function u(_, k, o, e, j, E) {
6
+ return i(), n(
7
+ l,
8
+ null,
9
+ [
10
+ e.getMessage().isRecording ? a("v-if", !0) : (i(), n(
11
+ "button",
12
+ {
13
+ key: 0,
14
+ ref: "emojiButton",
15
+ class: s(["button", { "button-disabled": o.state === "disabled" }]),
16
+ onClick: e.handleClick,
17
+ onMouseenter: e.handleMouseEnterWithHover,
18
+ onMouseleave: e.handleMouseLeaveWithHover
19
+ },
20
+ [
21
+ r("span", null, [
22
+ t(e.SmilesIcon, { fill: e.currentIconColor }, null, 8, ["fill"])
23
+ ])
24
+ ],
25
+ 34
26
+ /* CLASS, NEED_HYDRATION */
27
+ )),
28
+ t(m, { persisted: "" }, {
29
+ default: d(() => [
30
+ h(r(
31
+ "div",
32
+ {
33
+ ref: "emoji",
34
+ class: "emoji",
35
+ onMouseenter: e.handlePickerMouseEnter,
36
+ onMouseleave: e.handlePickerMouseLeave
37
+ },
38
+ [
39
+ t(e.EmojiPicker, {
40
+ native: o.native,
41
+ theme: e.emojiTheme,
42
+ "display-recent": o.displayRecent,
43
+ "picker-type": "",
44
+ onSelect: e.onSelectEmoji
45
+ }, null, 8, ["native", "theme", "display-recent"])
46
+ ],
47
+ 544
48
+ /* NEED_HYDRATION, NEED_PATCH */
49
+ ), [
50
+ [v, e.isEmojiPickerVisible]
51
+ ])
52
+ ]),
53
+ _: 1
54
+ /* STABLE */
55
+ })
56
+ ],
57
+ 64
58
+ /* STABLE_FRAGMENT */
59
+ );
60
+ }
61
+ const B = /* @__PURE__ */ f(c, [["render", u], ["__scopeId", "data-v-f0c2b355"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue"]]);
5
62
  export {
6
- i as default
63
+ B as default
7
64
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as D, ref as r, inject as R, watch as W, computed as z, watchEffect as U, onMounted as $, onUnmounted as q, createElementBlock as j, openBlock as C, Fragment as G, createCommentVNode as J, createVNode as g, unref as y, normalizeClass as K, createElementVNode as B, Transition as Q, withCtx as X, withDirectives as Y, vShow as Z } from "vue";
2
- import ee from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
1
+ import { defineComponent as N, ref as s, inject as A, watch as V, computed as D, watchEffect as W, onMounted as R, onUnmounted as U } from "vue";
2
+ import q from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
3
3
  /* empty css */
4
- import { useMessageDraft as te } from "../../../hooks/useMessageDraft.js";
4
+ import { useMessageDraft as z } from "../../../hooks/useMessageDraft.js";
5
5
  import "../../../hooks/useSearchModel.js";
6
6
  import "../../../hooks/useTheme.js";
7
- import { useEmojiNative as oe } from "../../../hooks/useEmojiNative.js";
7
+ import { useEmojiNative as G } from "../../../hooks/useEmojiNative.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import "../../../locale/useLocale.js";
@@ -12,8 +12,8 @@ import "../../../locale/useLocale.js";
12
12
  import "../../../node_modules/linkifyjs/dist/linkify.js";
13
13
  import "../../../node_modules/linkify-string/dist/linkify-string.js";
14
14
  import "../../../functions/parseMarkdown.js";
15
- import ne from "./icons/SmilesIcon.vue.js";
16
- const ye = /* @__PURE__ */ D({
15
+ import J from "./icons/SmilesIcon.vue.js";
16
+ const ce = /* @__PURE__ */ N({
17
17
  __name: "ButtonEmojiPicker",
18
18
  props: {
19
19
  state: {
@@ -24,7 +24,7 @@ const ye = /* @__PURE__ */ D({
24
24
  type: String,
25
25
  default: "click",
26
26
  // или 'hover'
27
- validator: (l) => ["click", "hover"].includes(l)
27
+ validator: (f) => ["click", "hover"].includes(f)
28
28
  },
29
29
  /**
30
30
  * true — системные эмодзи; false — 3D (Apple) в пикере, инпуте и ленте.
@@ -42,116 +42,99 @@ const ye = /* @__PURE__ */ D({
42
42
  default: !0
43
43
  }
44
44
  },
45
- setup(l) {
46
- const t = l, v = r(null), f = r(null), n = r(!1), b = r("light"), i = R("chatAppId"), { setMessageText: P, getMessage: E } = te(i), { setNative: w } = oe(i);
47
- W(
45
+ setup(f, { expose: _ }) {
46
+ _();
47
+ const t = f, h = s(null), g = s(null), r = s(!1), M = s("light"), o = A("chatAppId"), { setMessageText: E, getMessage: y } = z(o), { setNative: F } = G(o);
48
+ V(
48
49
  () => t.native,
49
- (e) => w(e),
50
+ (e) => F(e),
50
51
  { immediate: !0 }
51
52
  );
52
- const c = r("#5F5F5F"), s = r("#404040"), p = r(!1);
53
- let a = null;
54
- const h = () => {
55
- if (!i) {
56
- c.value = "#5F5F5F", s.value = "#404040";
53
+ const c = s("#5F5F5F"), l = s("#404040"), m = s(!1);
54
+ let n = null;
55
+ const d = () => {
56
+ if (!o) {
57
+ c.value = "#5F5F5F", l.value = "#404040";
57
58
  return;
58
59
  }
59
- const e = document.getElementById(i);
60
+ const e = document.getElementById(o);
60
61
  if (!e) {
61
- c.value = "#5F5F5F", s.value = "#404040";
62
+ c.value = "#5F5F5F", l.value = "#404040";
62
63
  return;
63
64
  }
64
- const o = window.getComputedStyle(e), d = o.getPropertyValue("--chotto-buttonemojipicker-button-span-color").trim(), A = o.getPropertyValue("--chotto-buttonemojipicker-button-span-hover-color").trim();
65
- c.value = d || "#5F5F5F", s.value = A || "#404040";
66
- }, I = z(() => p.value ? s.value : c.value);
67
- U(() => {
68
- h();
65
+ const i = window.getComputedStyle(e), p = i.getPropertyValue("--chotto-buttonemojipicker-button-span-color").trim(), H = i.getPropertyValue("--chotto-buttonemojipicker-button-span-hover-color").trim();
66
+ c.value = p || "#5F5F5F", l.value = H || "#404040";
67
+ }, C = D(() => m.value ? l.value : c.value);
68
+ W(() => {
69
+ d();
69
70
  });
70
- let u = !1, m = !1;
71
- const N = () => {
72
- var o;
73
- const e = document.getElementById(i);
74
- return (o = e == null ? void 0 : e.getAttribute("data-theme")) != null && o.includes("dark") ? "dark" : "light";
75
- }, S = (e) => {
76
- P(E().text + e.i);
77
- }, M = () => {
78
- t.state === "active" && (b.value = N(), n.value = !0);
71
+ let u = !1, a = !1;
72
+ const P = () => {
73
+ var i;
74
+ const e = document.getElementById(o);
75
+ return (i = e == null ? void 0 : e.getAttribute("data-theme")) != null && i.includes("dark") ? "dark" : "light";
76
+ }, I = (e) => {
77
+ E(y().text + e.i);
79
78
  }, k = () => {
80
- n.value = !1;
81
- }, T = () => {
82
- t.mode === "click" && (n.value = !n.value, n.value && M());
83
- }, V = () => {
84
- t.mode === "hover" && (u = !0, M());
85
- }, x = () => {
79
+ t.state === "active" && (M.value = P(), r.value = !0);
80
+ }, v = () => {
81
+ r.value = !1;
82
+ }, S = () => {
83
+ t.mode === "click" && (r.value = !r.value, r.value && k());
84
+ }, j = () => {
85
+ t.mode === "hover" && (u = !0, k());
86
+ }, O = () => {
86
87
  t.mode === "hover" && (u = !1, setTimeout(() => {
87
- !m && !u && k();
88
+ !a && !u && v();
88
89
  }, 150));
90
+ }, w = () => {
91
+ m.value = !0, j();
89
92
  }, L = () => {
90
- p.value = !0, V();
91
- }, O = () => {
92
- p.value = !1, x();
93
- }, _ = () => {
94
- t.mode === "hover" && (m = !0);
95
- }, H = () => {
96
- t.mode === "hover" && (m = !1, setTimeout(() => {
97
- !u && !m && k();
93
+ m.value = !1, O();
94
+ }, T = () => {
95
+ t.mode === "hover" && (a = !0);
96
+ }, x = () => {
97
+ t.mode === "hover" && (a = !1, setTimeout(() => {
98
+ !u && !a && v();
98
99
  }, 150));
99
- }, F = (e) => {
100
- t.mode === "click" && n.value && f.value && v.value && e.target instanceof Node && !f.value.contains(e.target) && !v.value.contains(e.target) && k();
100
+ }, b = (e) => {
101
+ t.mode === "click" && r.value && g.value && h.value && e.target instanceof Node && !g.value.contains(e.target) && !h.value.contains(e.target) && v();
101
102
  };
102
- return $(() => {
103
- if (document.addEventListener("click", F), h(), i) {
104
- const e = document.getElementById(i);
105
- e && (a = new MutationObserver((o) => {
106
- o.forEach((d) => {
107
- d.type === "attributes" && d.attributeName === "data-theme" && h();
103
+ R(() => {
104
+ if (document.addEventListener("click", b), d(), o) {
105
+ const e = document.getElementById(o);
106
+ e && (n = new MutationObserver((i) => {
107
+ i.forEach((p) => {
108
+ p.type === "attributes" && p.attributeName === "data-theme" && d();
108
109
  });
109
- }), a.observe(e, {
110
+ }), n.observe(e, {
110
111
  attributes: !0,
111
112
  attributeFilter: ["data-theme"]
112
113
  }));
113
114
  }
114
- }), q(() => {
115
- document.removeEventListener("click", F), a && (a.disconnect(), a = null);
116
- }), (e, o) => (C(), j(G, null, [
117
- y(E)().isRecording ? J("", !0) : (C(), j("button", {
118
- key: 0,
119
- ref_key: "emojiButton",
120
- ref: f,
121
- class: K(["button", { "button-disabled": l.state === "disabled" }]),
122
- onClick: T,
123
- onMouseenter: L,
124
- onMouseleave: O
125
- }, [
126
- B("span", null, [
127
- g(y(ne), { fill: I.value }, null, 8, ["fill"])
128
- ])
129
- ], 34)),
130
- g(Q, null, {
131
- default: X(() => [
132
- Y(B("div", {
133
- ref_key: "emoji",
134
- ref: v,
135
- class: "emoji",
136
- onMouseenter: _,
137
- onMouseleave: H
138
- }, [
139
- g(y(ee), {
140
- native: l.native,
141
- theme: b.value,
142
- "display-recent": l.displayRecent,
143
- "picker-type": "",
144
- onSelect: S
145
- }, null, 8, ["native", "theme", "display-recent"])
146
- ], 544), [
147
- [Z, n.value]
148
- ])
149
- ]),
150
- _: 1
151
- })
152
- ], 64));
115
+ }), U(() => {
116
+ document.removeEventListener("click", b), n && (n.disconnect(), n = null);
117
+ });
118
+ const B = { props: t, emoji: h, emojiButton: g, isEmojiPickerVisible: r, emojiTheme: M, chatAppId: o, setMessageText: E, getMessage: y, setNative: F, iconFillColor: c, iconHoverColor: l, isHovered: m, get themeObserver() {
119
+ return n;
120
+ }, set themeObserver(e) {
121
+ n = e;
122
+ }, updateIconColor: d, currentIconColor: C, get isMouseOverButton() {
123
+ return u;
124
+ }, set isMouseOverButton(e) {
125
+ u = e;
126
+ }, get isMouseOverPicker() {
127
+ return a;
128
+ }, set isMouseOverPicker(e) {
129
+ a = e;
130
+ }, changeThemeDialogEmoji: P, onSelectEmoji: I, openPicker: k, closePicker: v, handleClick: S, handleMouseEnter: j, handleMouseLeave: O, handleMouseEnterWithHover: w, handleMouseLeaveWithHover: L, handlePickerMouseEnter: T, handlePickerMouseLeave: x, handleClickOutside: b, get EmojiPicker() {
131
+ return q;
132
+ }, get SmilesIcon() {
133
+ return J;
134
+ } };
135
+ return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
153
136
  }
154
137
  });
155
138
  export {
156
- ye as default
139
+ ce as default
157
140
  };
@@ -1,40 +1,44 @@
1
- import { defineComponent as e, createElementBlock as i, openBlock as n, createElementVNode as C } from "vue";
2
- const o = {
1
+ import o from "./SmilesIcon.vue2.js";
2
+ import { createElementBlock as l, openBlock as i, createElementVNode as t } from "vue";
3
+ import n from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = {
3
5
  width: "27",
4
6
  height: "26",
5
7
  viewBox: "0 0 27 26",
6
8
  fill: "none",
7
9
  xmlns: "http://www.w3.org/2000/svg"
8
- }, s = { "clip-path": "url(#clip0_1718_559)" }, f = ["fill"], c = ["fill"], d = /* @__PURE__ */ e({
9
- __name: "SmilesIcon",
10
- props: {
11
- fill: { default: "#5F5F5F" }
12
- },
13
- setup(l) {
14
- return (h, t) => (n(), i("svg", o, [
15
- C("g", s, [
16
- C("path", {
17
- d: "M13.9883 24.375C10.9714 24.375 8.07817 23.1766 5.94494 21.0433C3.81172 18.9101 2.61328 16.0168 2.61328 13C2.61328 9.98316 3.81172 7.08989 5.94494 4.95666C8.07817 2.82343 10.9714 1.625 13.9883 1.625C17.0051 1.625 19.8984 2.82343 22.0316 4.95666C24.1648 7.08989 25.3633 9.98316 25.3633 13C25.3633 16.0168 24.1648 18.9101 22.0316 21.0433C19.8984 23.1766 17.0051 24.375 13.9883 24.375ZM13.9883 26C17.4361 26 20.7427 24.6304 23.1807 22.1924C25.6186 19.7544 26.9883 16.4478 26.9883 13C26.9883 9.55219 25.6186 6.24558 23.1807 3.80761C20.7427 1.36964 17.4361 0 13.9883 0C10.5405 0 7.23387 1.36964 4.79589 3.80761C2.35792 6.24558 0.988281 9.55219 0.988281 13C0.988281 16.4478 2.35792 19.7544 4.79589 22.1924C7.23387 24.6304 10.5405 26 13.9883 26Z",
18
- fill: l.fill
19
- }, null, 8, f),
20
- C("path", {
21
- d: "M7.95115 15.5464C8.13776 15.4386 8.35953 15.4094 8.56767 15.4652C8.77581 15.521 8.95328 15.6571 9.06102 15.8438C9.56008 16.7088 10.2782 17.4271 11.1432 17.9263C12.0081 18.4256 12.9893 18.6881 13.988 18.6875C14.9867 18.6881 15.9679 18.4256 16.8329 17.9263C17.6978 17.4271 18.416 16.7088 18.915 15.8438C18.968 15.7506 19.0388 15.6688 19.1235 15.6032C19.2082 15.5375 19.3051 15.4893 19.4085 15.4612C19.5119 15.4331 19.6198 15.4258 19.7261 15.4396C19.8323 15.4534 19.9348 15.4881 20.0276 15.5417C20.1204 15.5953 20.2017 15.6667 20.2668 15.7518C20.3319 15.8369 20.3795 15.9341 20.4069 16.0377C20.4342 16.1412 20.4409 16.2492 20.4264 16.3554C20.4118 16.4616 20.3765 16.5638 20.3223 16.6562C19.6806 17.7683 18.7573 18.6918 17.6453 19.3336C16.5334 19.9755 15.2719 20.3131 13.988 20.3125C12.7041 20.3131 11.4427 19.9755 10.3307 19.3336C9.21873 18.6918 8.29545 17.7683 7.65377 16.6562C7.54604 16.4696 7.51684 16.2479 7.57261 16.0397C7.62837 15.8316 7.76454 15.6541 7.95115 15.5464ZM12.363 10.5625C12.363 11.908 11.635 13 10.738 13C9.84102 13 9.11302 11.908 9.11302 10.5625C9.11302 9.217 9.84102 8.125 10.738 8.125C11.635 8.125 12.363 9.217 12.363 10.5625ZM18.863 10.5625C18.863 11.908 18.135 13 17.238 13C16.341 13 15.613 11.908 15.613 10.5625C15.613 9.217 16.341 8.125 17.238 8.125C18.135 8.125 18.863 9.217 18.863 10.5625Z",
22
- fill: l.fill
23
- }, null, 8, c)
24
- ]),
25
- t[0] || (t[0] = C("defs", null, [
26
- C("clipPath", { id: "clip0_1718_559" }, [
27
- C("rect", {
10
+ }, c = { "clip-path": "url(#clip0_1718_559)" }, r = ["fill"], _ = ["fill"];
11
+ function f(p, e, C, h, a, d) {
12
+ return i(), l("svg", s, [
13
+ t("g", c, [
14
+ t("path", {
15
+ d: "M13.9883 24.375C10.9714 24.375 8.07817 23.1766 5.94494 21.0433C3.81172 18.9101 2.61328 16.0168 2.61328 13C2.61328 9.98316 3.81172 7.08989 5.94494 4.95666C8.07817 2.82343 10.9714 1.625 13.9883 1.625C17.0051 1.625 19.8984 2.82343 22.0316 4.95666C24.1648 7.08989 25.3633 9.98316 25.3633 13C25.3633 16.0168 24.1648 18.9101 22.0316 21.0433C19.8984 23.1766 17.0051 24.375 13.9883 24.375ZM13.9883 26C17.4361 26 20.7427 24.6304 23.1807 22.1924C25.6186 19.7544 26.9883 16.4478 26.9883 13C26.9883 9.55219 25.6186 6.24558 23.1807 3.80761C20.7427 1.36964 17.4361 0 13.9883 0C10.5405 0 7.23387 1.36964 4.79589 3.80761C2.35792 6.24558 0.988281 9.55219 0.988281 13C0.988281 16.4478 2.35792 19.7544 4.79589 22.1924C7.23387 24.6304 10.5405 26 13.9883 26Z",
16
+ fill: C.fill
17
+ }, null, 8, r),
18
+ t("path", {
19
+ d: "M7.95115 15.5464C8.13776 15.4386 8.35953 15.4094 8.56767 15.4652C8.77581 15.521 8.95328 15.6571 9.06102 15.8438C9.56008 16.7088 10.2782 17.4271 11.1432 17.9263C12.0081 18.4256 12.9893 18.6881 13.988 18.6875C14.9867 18.6881 15.9679 18.4256 16.8329 17.9263C17.6978 17.4271 18.416 16.7088 18.915 15.8438C18.968 15.7506 19.0388 15.6688 19.1235 15.6032C19.2082 15.5375 19.3051 15.4893 19.4085 15.4612C19.5119 15.4331 19.6198 15.4258 19.7261 15.4396C19.8323 15.4534 19.9348 15.4881 20.0276 15.5417C20.1204 15.5953 20.2017 15.6667 20.2668 15.7518C20.3319 15.8369 20.3795 15.9341 20.4069 16.0377C20.4342 16.1412 20.4409 16.2492 20.4264 16.3554C20.4118 16.4616 20.3765 16.5638 20.3223 16.6562C19.6806 17.7683 18.7573 18.6918 17.6453 19.3336C16.5334 19.9755 15.2719 20.3131 13.988 20.3125C12.7041 20.3131 11.4427 19.9755 10.3307 19.3336C9.21873 18.6918 8.29545 17.7683 7.65377 16.6562C7.54604 16.4696 7.51684 16.2479 7.57261 16.0397C7.62837 15.8316 7.76454 15.6541 7.95115 15.5464ZM12.363 10.5625C12.363 11.908 11.635 13 10.738 13C9.84102 13 9.11302 11.908 9.11302 10.5625C9.11302 9.217 9.84102 8.125 10.738 8.125C11.635 8.125 12.363 9.217 12.363 10.5625ZM18.863 10.5625C18.863 11.908 18.135 13 17.238 13C16.341 13 15.613 11.908 15.613 10.5625C15.613 9.217 16.341 8.125 17.238 8.125C18.135 8.125 18.863 9.217 18.863 10.5625Z",
20
+ fill: C.fill
21
+ }, null, 8, _)
22
+ ]),
23
+ e[0] || (e[0] = t(
24
+ "defs",
25
+ null,
26
+ [
27
+ t("clipPath", { id: "clip0_1718_559" }, [
28
+ t("rect", {
28
29
  width: "26",
29
30
  height: "26",
30
31
  fill: "white",
31
32
  transform: "translate(0.988281)"
32
33
  })
33
34
  ])
34
- ], -1))
35
- ]));
36
- }
37
- });
35
+ ],
36
+ -1
37
+ /* CACHED */
38
+ ))
39
+ ]);
40
+ }
41
+ const g = /* @__PURE__ */ n(o, [["render", f], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue"]]);
38
42
  export {
39
- d as default
43
+ g as default
40
44
  };
@@ -1,4 +1,15 @@
1
- import f from "./SmilesIcon.vue.js";
1
+ import { defineComponent as t } from "vue";
2
+ const o = /* @__PURE__ */ t({
3
+ __name: "SmilesIcon",
4
+ props: {
5
+ fill: { type: String, required: !1, default: "#5F5F5F" }
6
+ },
7
+ setup(n, { expose: r }) {
8
+ r();
9
+ const e = {};
10
+ return Object.defineProperty(e, "__isScriptSetup", { enumerable: !1, value: !0 }), e;
11
+ }
12
+ });
2
13
  export {
3
- f as default
14
+ o as default
4
15
  };
@@ -1,7 +1,75 @@
1
- import t from "./ButtonTemplateSelector.vue2.js";
1
+ import c from "./ButtonTemplateSelector.vue2.js";
2
+ import { createElementBlock as n, openBlock as a, Fragment as d, createVNode as l, withCtx as r, createCommentVNode as m, normalizeClass as u, createElementVNode as i, Transition as v, withDirectives as f, vShow as p } from "vue";
2
3
  /* empty css */
3
- import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-478d6fd5"]]);
4
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
5
+ const g = { class: "" };
6
+ function h(w, o, t, e, T, b) {
7
+ return a(), n(
8
+ d,
9
+ null,
10
+ [
11
+ l(e.Tooltip, {
12
+ text: "Шаблоны сообщений",
13
+ position: "left"
14
+ }, {
15
+ default: r(() => [
16
+ e.getMessage().isRecording ? m("v-if", !0) : (a(), n(
17
+ "button",
18
+ {
19
+ key: 0,
20
+ ref: "templateButton",
21
+ class: u(["button-template", { "button-template-disabled": t.state == "disabled" }]),
22
+ onClick: e.toggle,
23
+ onMouseover: e.hover,
24
+ onMouseout: e.hoverout,
25
+ onMouseenter: o[0] || (o[0] = (s) => e.isHovered = !0),
26
+ onMouseleave: o[1] || (o[1] = (s) => e.isHovered = !1)
27
+ },
28
+ [
29
+ i("span", g, [
30
+ l(e.ChatTemplatesIcon, { fill: e.currentIconColor }, null, 8, ["fill"])
31
+ ])
32
+ ],
33
+ 34
34
+ /* CLASS, NEED_HYDRATION */
35
+ ))
36
+ ]),
37
+ _: 1
38
+ /* STABLE */
39
+ }),
40
+ l(v, { persisted: "" }, {
41
+ default: r(() => [
42
+ f(i(
43
+ "div",
44
+ {
45
+ ref: "template",
46
+ onMouseover: e.hover,
47
+ onMouseout: e.hoverout
48
+ },
49
+ [
50
+ l(e.TemplateSelector, {
51
+ templates: t.templates,
52
+ "group-templates": t.groupTemplates,
53
+ "elevated-window": t.elevatedWindow,
54
+ "chat-background": t.chatBackground,
55
+ onCloseTemplateWindow: e.close
56
+ }, null, 8, ["templates", "group-templates", "elevated-window", "chat-background"])
57
+ ],
58
+ 544
59
+ /* NEED_HYDRATION, NEED_PATCH */
60
+ ), [
61
+ [p, e.props.state === "active"]
62
+ ])
63
+ ]),
64
+ _: 1
65
+ /* STABLE */
66
+ })
67
+ ],
68
+ 64
69
+ /* STABLE_FRAGMENT */
70
+ );
71
+ }
72
+ const x = /* @__PURE__ */ _(c, [["render", h], ["__scopeId", "data-v-7f371ef9"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue"]]);
5
73
  export {
6
- p as default
74
+ x as default
7
75
  };