@mobilon-dev/chotto 0.3.98 → 0.3.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +4 -29
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +61 -42
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +4 -47
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +82 -55
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +51 -86
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -32
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +28 -7
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +38 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -33
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +4 -37
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +21 -7
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +19 -30
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +4 -70
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +108 -76
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +13 -26
- package/dist/components/1_icons/CloseButtonIcon.vue.js +10 -16
- package/dist/components/1_icons/CloseIcon.vue.js +10 -16
- package/dist/components/1_icons/ContactCRMIcon.vue.js +10 -16
- package/dist/components/1_icons/MenuIcon.vue.js +10 -16
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
- package/dist/components/1_icons/SearchIcon.vue.js +17 -29
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +396 -546
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +13 -19
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +4 -74
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +42 -8
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -61
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +96 -79
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +51 -80
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -182
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +135 -25
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -78
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +95 -73
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +60 -34
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +33 -39
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +311 -134
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +67 -35
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +38 -72
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +57 -76
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +39 -19
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -458
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +471 -160
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -60
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +53 -36
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -250
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +233 -67
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -315
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +319 -98
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -155
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +212 -110
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +120 -36
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -75
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +63 -10
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -346
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +307 -73
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +269 -65
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -307
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +298 -76
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +18 -35
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
- package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -85
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +210 -149
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +163 -253
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +32 -50
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -172
- package/dist/components/3_compounds/Feed/Feed.vue2.js +257 -126
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +18 -31
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +56 -85
- package/package.json +1 -1
package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js
CHANGED
|
@@ -1,39 +1,7 @@
|
|
|
1
|
-
import
|
|
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";
|
|
1
|
+
import o from "./ButtonCommandsSelector.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
|
|
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"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d6bc9f09"]]);
|
|
37
5
|
export {
|
|
38
|
-
|
|
6
|
+
c as default
|
|
39
7
|
};
|
package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useMessageDraft as
|
|
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";
|
|
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
|
|
14
|
-
const
|
|
13
|
+
import k from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
|
|
14
|
+
const D = /* @__PURE__ */ p({
|
|
15
15
|
__name: "ButtonCommandsSelector",
|
|
16
16
|
props: {
|
|
17
17
|
commands: {
|
|
@@ -30,27 +30,45 @@ const P = /* @__PURE__ */ d({
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["send"],
|
|
33
|
-
setup(
|
|
34
|
-
a()
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const t = {
|
|
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 = {
|
|
38
37
|
type: "message.command",
|
|
39
|
-
text:
|
|
38
|
+
text: t.action
|
|
40
39
|
};
|
|
41
|
-
|
|
40
|
+
l("send", o);
|
|
42
41
|
};
|
|
43
|
-
|
|
44
|
-
() =>
|
|
42
|
+
return h(
|
|
43
|
+
() => s().text,
|
|
45
44
|
() => {
|
|
46
|
-
var
|
|
47
|
-
|
|
45
|
+
var t, o;
|
|
46
|
+
c.commands && (s().text.startsWith("/") ? (t = a.value) == null || t.updatePosition() : (o = a.value) == null || o.hideMenu());
|
|
48
47
|
}
|
|
49
|
-
)
|
|
50
|
-
|
|
51
|
-
|
|
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
|
+
}));
|
|
52
70
|
}
|
|
53
71
|
});
|
|
54
72
|
export {
|
|
55
|
-
|
|
73
|
+
D as default
|
|
56
74
|
};
|
|
@@ -1,64 +1,7 @@
|
|
|
1
|
-
import
|
|
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";
|
|
1
|
+
import o from "./ButtonEmojiPicker.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
|
|
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"]]);
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4bf1f08f"]]);
|
|
62
5
|
export {
|
|
63
|
-
|
|
6
|
+
i as default
|
|
64
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
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";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { useMessageDraft as
|
|
4
|
+
import { useMessageDraft as te } from "../../../hooks/useMessageDraft.js";
|
|
5
5
|
import "../../../hooks/useSearchModel.js";
|
|
6
6
|
import "../../../hooks/useTheme.js";
|
|
7
|
-
import { useEmojiNative as
|
|
7
|
+
import { useEmojiNative as oe } 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
|
|
16
|
-
const
|
|
15
|
+
import ne from "./icons/SmilesIcon.vue.js";
|
|
16
|
+
const ye = /* @__PURE__ */ D({
|
|
17
17
|
__name: "ButtonEmojiPicker",
|
|
18
18
|
props: {
|
|
19
19
|
state: {
|
|
@@ -24,7 +24,7 @@ const ce = /* @__PURE__ */ N({
|
|
|
24
24
|
type: String,
|
|
25
25
|
default: "click",
|
|
26
26
|
// или 'hover'
|
|
27
|
-
validator: (
|
|
27
|
+
validator: (l) => ["click", "hover"].includes(l)
|
|
28
28
|
},
|
|
29
29
|
/**
|
|
30
30
|
* true — системные эмодзи; false — 3D (Apple) в пикере, инпуте и ленте.
|
|
@@ -42,99 +42,116 @@ const ce = /* @__PURE__ */ N({
|
|
|
42
42
|
default: !0
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
setup(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
V(
|
|
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(
|
|
49
48
|
() => t.native,
|
|
50
|
-
(e) =>
|
|
49
|
+
(e) => w(e),
|
|
51
50
|
{ immediate: !0 }
|
|
52
51
|
);
|
|
53
|
-
const c =
|
|
54
|
-
let
|
|
55
|
-
const
|
|
56
|
-
if (!
|
|
57
|
-
c.value = "#5F5F5F",
|
|
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";
|
|
58
57
|
return;
|
|
59
58
|
}
|
|
60
|
-
const e = document.getElementById(
|
|
59
|
+
const e = document.getElementById(i);
|
|
61
60
|
if (!e) {
|
|
62
|
-
c.value = "#5F5F5F",
|
|
61
|
+
c.value = "#5F5F5F", s.value = "#404040";
|
|
63
62
|
return;
|
|
64
63
|
}
|
|
65
|
-
const
|
|
66
|
-
c.value =
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
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();
|
|
70
69
|
});
|
|
71
|
-
let u = !1,
|
|
72
|
-
const
|
|
73
|
-
var
|
|
74
|
-
const e = document.getElementById(
|
|
75
|
-
return (
|
|
76
|
-
},
|
|
77
|
-
E(
|
|
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);
|
|
78
79
|
}, k = () => {
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
-
t.mode === "
|
|
84
|
-
},
|
|
85
|
-
t.mode === "hover" && (u = !0, k());
|
|
86
|
-
}, O = () => {
|
|
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 = () => {
|
|
87
86
|
t.mode === "hover" && (u = !1, setTimeout(() => {
|
|
88
|
-
!
|
|
87
|
+
!m && !u && k();
|
|
89
88
|
}, 150));
|
|
90
|
-
}, w = () => {
|
|
91
|
-
m.value = !0, j();
|
|
92
89
|
}, L = () => {
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
},
|
|
97
|
-
t.mode === "hover" && (
|
|
98
|
-
|
|
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();
|
|
99
98
|
}, 150));
|
|
100
|
-
},
|
|
101
|
-
t.mode === "click" &&
|
|
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();
|
|
102
101
|
};
|
|
103
|
-
|
|
104
|
-
if (document.addEventListener("click",
|
|
105
|
-
const e = document.getElementById(
|
|
106
|
-
e && (
|
|
107
|
-
|
|
108
|
-
|
|
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();
|
|
109
108
|
});
|
|
110
|
-
}),
|
|
109
|
+
}), a.observe(e, {
|
|
111
110
|
attributes: !0,
|
|
112
111
|
attributeFilter: ["data-theme"]
|
|
113
112
|
}));
|
|
114
113
|
}
|
|
115
|
-
}),
|
|
116
|
-
document.removeEventListener("click",
|
|
117
|
-
})
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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));
|
|
136
153
|
}
|
|
137
154
|
});
|
|
138
155
|
export {
|
|
139
|
-
|
|
156
|
+
ye as default
|
|
140
157
|
};
|
|
@@ -1,44 +1,40 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import n from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = {
|
|
1
|
+
import { defineComponent as e, createElementBlock as i, openBlock as n, createElementVNode as C } from "vue";
|
|
2
|
+
const o = {
|
|
5
3
|
width: "27",
|
|
6
4
|
height: "26",
|
|
7
5
|
viewBox: "0 0 27 26",
|
|
8
6
|
fill: "none",
|
|
9
7
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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", {
|
|
29
28
|
width: "26",
|
|
30
29
|
height: "26",
|
|
31
30
|
fill: "white",
|
|
32
31
|
transform: "translate(0.988281)"
|
|
33
32
|
})
|
|
34
33
|
])
|
|
35
|
-
],
|
|
36
|
-
|
|
37
|
-
|
|
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"]]);
|
|
34
|
+
], -1))
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
42
38
|
export {
|
|
43
|
-
|
|
39
|
+
d as default
|
|
44
40
|
};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
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
|
-
});
|
|
1
|
+
import f from "./SmilesIcon.vue.js";
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
f as default
|
|
15
4
|
};
|
package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js
CHANGED
|
@@ -1,75 +1,7 @@
|
|
|
1
|
-
import
|
|
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";
|
|
1
|
+
import t from "./ButtonTemplateSelector.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
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"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-478d6fd5"]]);
|
|
73
5
|
export {
|
|
74
|
-
|
|
6
|
+
p as default
|
|
75
7
|
};
|