@mobilon-dev/chotto 0.3.119 → 0.3.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +29 -4
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +40 -59
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
- package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -35
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +30 -2
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
- package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
- package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
- package/dist/components/1_icons/CheckIcon.vue.js +26 -13
- package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
- package/dist/components/1_icons/CloseIcon.vue.js +16 -10
- package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
- package/dist/components/1_icons/DeletedMessageIcon.vue.js +27 -0
- package/dist/components/1_icons/MenuIcon.vue.js +16 -10
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
- package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
- package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
- package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
- package/dist/components/1_icons/SearchIcon.vue.js +29 -17
- package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
- package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
- package/dist/components/1_icons/VerifiedBadge.vue.js +25 -19
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +552 -402
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
- 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 +19 -13
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
- 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 +74 -4
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +12 -46
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +62 -4
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +80 -98
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +76 -45
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +100 -4
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +16 -91
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +79 -4
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +88 -111
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
- package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
- package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +32 -58
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +41 -35
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +143 -323
- package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
- package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
- package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
- package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
- package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +52 -24
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +36 -68
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +71 -37
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +83 -62
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +22 -42
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +460 -4
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +181 -499
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
- package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
- package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +37 -46
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
- package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js +52 -4
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +16 -39
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +270 -4
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +95 -274
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +409 -4
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +143 -422
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +57 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +41 -69
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +97 -4
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +102 -173
- package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
- package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
- package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
- package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
- package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +34 -118
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +94 -4
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -76
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +348 -4
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +97 -339
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +308 -4
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +89 -299
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +321 -4
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +96 -338
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
- package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
- package/dist/components/2_modals/CreateChat/CreateChat.vue.js +36 -19
- package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
- package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
- package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
- package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +170 -4
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +239 -336
- package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +43 -25
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +256 -166
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +57 -39
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +185 -4
- package/dist/components/3_compounds/Feed/Feed.vue2.js +161 -305
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
- 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 +33 -18
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +90 -59
- package/dist/types/src/apps/data/chats.d.ts +9 -2
- package/dist/types/src/components/2_chatlist_elements/ChatItem/stories/ChatItem.stories.d.ts +1 -0
- package/dist/types/src/components/2_chatlist_elements/ChatItem/types.d.ts +2 -0
- package/dist/types/src/components/2_feed_elements/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +0 -21
- /package/dist/types/src/components/{2_feed_elements/DeletedMessageContent/icons → 1_icons}/DeletedMessageIcon.vue.d.ts +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { t as
|
|
3
|
-
import { useDelayDebouncedRef as
|
|
4
|
-
import { useSearchModel as
|
|
1
|
+
import { defineComponent as d, inject as x, ref as _, computed as h, watch as v, onMounted as F, unref as i } from "vue";
|
|
2
|
+
import { t as I } from "../../../locale/useLocale.js";
|
|
3
|
+
import { useDelayDebouncedRef as L } from "../../../hooks/useDelayDebouncedRef.js";
|
|
4
|
+
import { useSearchModel as S } from "../../../hooks/useSearchModel.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
9
9
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
10
10
|
import "../../../functions/parseMarkdown.js";
|
|
11
|
-
const
|
|
11
|
+
const O = /* @__PURE__ */ d({
|
|
12
12
|
__name: "FeedSearch",
|
|
13
13
|
props: {
|
|
14
14
|
isFeedLocation: {
|
|
@@ -17,52 +17,29 @@ const E = { class: "feed-search__container" }, N = { style: { "line-height": "40
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
emits: ["search", "cancel", "switch"],
|
|
20
|
-
setup(a, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
setup(a, { expose: u, emit: m }) {
|
|
21
|
+
u();
|
|
22
|
+
const s = x("chatAppId"), { getModel: e } = S(s), r = m, n = a, c = _(), o = L("", 500), f = h(() => n.isFeedLocation ? "40px" : (n.isFeedLocation, "20px"));
|
|
23
|
+
v(
|
|
24
|
+
() => [e().text, o.value],
|
|
24
25
|
() => {
|
|
25
|
-
|
|
26
|
+
o.value == e().text ? r("search", e().text) : o.value = e().text;
|
|
26
27
|
}
|
|
27
28
|
);
|
|
28
|
-
const
|
|
29
|
-
const t =
|
|
30
|
-
t && (t.value = ""), e().text = "",
|
|
29
|
+
const l = () => {
|
|
30
|
+
const t = i(c);
|
|
31
|
+
t && (t.value = ""), e().text = "", r("cancel");
|
|
31
32
|
};
|
|
32
|
-
|
|
33
|
-
const t =
|
|
33
|
+
F(() => {
|
|
34
|
+
const t = i(c);
|
|
34
35
|
t == null || t.focus();
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
ref_key: "refInput",
|
|
41
|
-
ref: i,
|
|
42
|
-
"onUpdate:modelValue": n[0] || (n[0] = (p) => o(e)().text = p),
|
|
43
|
-
class: "feed-search__input",
|
|
44
|
-
type: "text",
|
|
45
|
-
placeholder: o(m)("component.FeedSearch.SearchPlaceholder")
|
|
46
|
-
}, null, 8, T), [
|
|
47
|
-
[M, o(e)().text]
|
|
48
|
-
]),
|
|
49
|
-
r("i", {
|
|
50
|
-
class: "pi pi-times",
|
|
51
|
-
style: V({ right: h.value }),
|
|
52
|
-
onClick: x
|
|
53
|
-
}, null, 4),
|
|
54
|
-
a.isFeedLocation ? (d(), I("span", {
|
|
55
|
-
key: 0,
|
|
56
|
-
class: "pi pi-refresh",
|
|
57
|
-
style: { "margin-left": "5px", "margin-top": "10px", cursor: "pointer" },
|
|
58
|
-
onClick: n[1] || (n[1] = (p) => c("switch"))
|
|
59
|
-
})) : B("", !0)
|
|
60
|
-
])
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
}));
|
|
36
|
+
});
|
|
37
|
+
const p = { chatAppId: s, getModel: e, emit: r, props: n, refInput: c, search: o, resetLoc: f, clearInput: l, get t() {
|
|
38
|
+
return I;
|
|
39
|
+
} };
|
|
40
|
+
return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
|
|
64
41
|
}
|
|
65
42
|
});
|
|
66
43
|
export {
|
|
67
|
-
|
|
44
|
+
O as default
|
|
68
45
|
};
|
package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js
CHANGED
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
import
|
|
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
|
|
4
|
-
|
|
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
|
-
|
|
38
|
+
p as default
|
|
7
39
|
};
|
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 d, inject as f, useTemplateRef as l, watch as _ } from "vue";
|
|
2
|
+
import { useMessageDraft as g } from "../../../hooks/useMessageDraft.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
import "../../../locale/useLocale.js";
|
|
@@ -7,8 +7,8 @@ import "../../../locale/useLocale.js";
|
|
|
7
7
|
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
8
8
|
import "../../../node_modules/linkify-string/dist/linkify-string.js";
|
|
9
9
|
import "../../../functions/parseMarkdown.js";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import h from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
|
|
11
|
+
const q = /* @__PURE__ */ d({
|
|
12
12
|
__name: "ButtonCommandsSelector",
|
|
13
13
|
props: {
|
|
14
14
|
commands: {
|
|
@@ -27,45 +27,27 @@ const T = /* @__PURE__ */ p({
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
emits: ["send"],
|
|
30
|
-
setup(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
setup(i, { expose: p, emit: c }) {
|
|
31
|
+
p();
|
|
32
|
+
const r = i, n = c, a = f("chatAppId"), { getMessage: o } = g(a), s = l("refBCM"), u = (e) => {
|
|
33
|
+
console.log(e);
|
|
34
|
+
const t = {
|
|
34
35
|
type: "message.command",
|
|
35
|
-
text:
|
|
36
|
+
text: e.action
|
|
36
37
|
};
|
|
37
|
-
|
|
38
|
+
n("send", t);
|
|
38
39
|
};
|
|
39
|
-
|
|
40
|
-
() =>
|
|
40
|
+
_(
|
|
41
|
+
() => o().text,
|
|
41
42
|
() => {
|
|
42
|
-
var
|
|
43
|
-
|
|
43
|
+
var e, t;
|
|
44
|
+
r.commands && (o().text.startsWith("/") ? (e = s.value) == null || e.updatePosition() : (t = s.value) == null || t.hideMenu());
|
|
44
45
|
}
|
|
45
|
-
)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
key: 0,
|
|
49
|
-
ref_key: "refBCM",
|
|
50
|
-
ref: a,
|
|
51
|
-
"menu-side": "top",
|
|
52
|
-
mode: e.mode,
|
|
53
|
-
disabled: d(s)().isRecording || e.state == "disabled",
|
|
54
|
-
actions: e.commands,
|
|
55
|
-
onClick: f
|
|
56
|
-
}, {
|
|
57
|
-
default: i(() => [
|
|
58
|
-
B("span", {
|
|
59
|
-
class: M(["commands__trigger", { commands__disabled: d(s)().isRecording || e.state == "disabled" }])
|
|
60
|
-
}, " / ", 2)
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
}, 8, ["mode", "disabled", "actions"])) : y("", !0)
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}));
|
|
46
|
+
);
|
|
47
|
+
const m = { props: r, emit: n, chatAppId: a, getMessage: o, refBCM: s, sendCommand: u, ButtonContextMenu: h };
|
|
48
|
+
return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
|
|
67
49
|
}
|
|
68
50
|
});
|
|
69
51
|
export {
|
|
70
|
-
|
|
52
|
+
q as default
|
|
71
53
|
};
|
|
@@ -1,7 +1,65 @@
|
|
|
1
|
-
import
|
|
1
|
+
import c from "./ButtonEmojiPicker.vue2.js";
|
|
2
|
+
import { createElementBlock as i, openBlock as n, Fragment as l, createCommentVNode as a, createVNode as t, normalizeClass as m, createElementVNode as r, Transition as s, withCtx as d, withDirectives as h, vShow as v } from "vue";
|
|
2
3
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
|
|
4
|
+
import f from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
function u(_, j, o, e, k, E) {
|
|
6
|
+
return n(), i(
|
|
7
|
+
l,
|
|
8
|
+
null,
|
|
9
|
+
[
|
|
10
|
+
e.getMessage().isRecording ? a("v-if", !0) : (n(), i(
|
|
11
|
+
"button",
|
|
12
|
+
{
|
|
13
|
+
key: 0,
|
|
14
|
+
ref: "emojiButton",
|
|
15
|
+
class: m(["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(s, { 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
|
+
"emoji-src": o.emojiSrc,
|
|
44
|
+
"picker-type": "",
|
|
45
|
+
onSelect: e.onSelectEmoji
|
|
46
|
+
}, null, 8, ["native", "theme", "display-recent", "emoji-src"])
|
|
47
|
+
],
|
|
48
|
+
544
|
|
49
|
+
/* NEED_HYDRATION, NEED_PATCH */
|
|
50
|
+
), [
|
|
51
|
+
[v, e.isEmojiPickerVisible]
|
|
52
|
+
])
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
/* STABLE */
|
|
56
|
+
})
|
|
57
|
+
],
|
|
58
|
+
64
|
|
59
|
+
/* STABLE_FRAGMENT */
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
const C = /* @__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
63
|
export {
|
|
6
|
-
|
|
64
|
+
C as default
|
|
7
65
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as V, ref as s, inject as D, watch as _, computed as W, watchEffect as R, onMounted as U, onUnmounted as q } from "vue";
|
|
2
|
+
import z from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { useMessageDraft as
|
|
5
|
-
import { useEmojiNative as
|
|
4
|
+
import { useMessageDraft as G } from "../../../hooks/useMessageDraft.js";
|
|
5
|
+
import { useEmojiNative as J } from "../../../hooks/useEmojiNative.js";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "../../../locale/useLocale.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 "./icons/SmilesIcon.vue.js";
|
|
14
|
+
const ue = /* @__PURE__ */ V({
|
|
15
15
|
__name: "ButtonEmojiPicker",
|
|
16
16
|
props: {
|
|
17
17
|
state: {
|
|
@@ -22,7 +22,7 @@ const ge = /* @__PURE__ */ W({
|
|
|
22
22
|
type: String,
|
|
23
23
|
default: "click",
|
|
24
24
|
// или 'hover'
|
|
25
|
-
validator: (
|
|
25
|
+
validator: (f) => ["click", "hover"].includes(f)
|
|
26
26
|
},
|
|
27
27
|
/**
|
|
28
28
|
* true — системные эмодзи; false — картинки в пикере, зеркале ввода и ленте.
|
|
@@ -49,121 +49,103 @@ const ge = /* @__PURE__ */ W({
|
|
|
49
49
|
default: ""
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
setup(
|
|
53
|
-
|
|
54
|
-
F(
|
|
52
|
+
setup(f, { expose: C }) {
|
|
53
|
+
C();
|
|
54
|
+
const t = f, h = s(null), g = s(null), r = s(!1), E = s("light"), o = D("chatAppId"), { setMessageText: M, getMessage: j } = G(o), { setNative: y, setEmojiSrc: F } = J(o);
|
|
55
|
+
_(
|
|
55
56
|
() => t.native,
|
|
56
|
-
(e) =>
|
|
57
|
+
(e) => y(e),
|
|
57
58
|
{ immediate: !0 }
|
|
58
|
-
),
|
|
59
|
+
), _(
|
|
59
60
|
() => t.emojiSrc,
|
|
60
|
-
(e) =>
|
|
61
|
+
(e) => F(e),
|
|
61
62
|
{ immediate: !0 }
|
|
62
63
|
);
|
|
63
|
-
const
|
|
64
|
-
let
|
|
65
|
-
const
|
|
66
|
-
if (!
|
|
67
|
-
|
|
64
|
+
const a = s("#5F5F5F"), l = s("#404040"), m = s(!1);
|
|
65
|
+
let i = null;
|
|
66
|
+
const d = () => {
|
|
67
|
+
if (!o) {
|
|
68
|
+
a.value = "#5F5F5F", l.value = "#404040";
|
|
68
69
|
return;
|
|
69
70
|
}
|
|
70
|
-
const e = document.getElementById(
|
|
71
|
+
const e = document.getElementById(o);
|
|
71
72
|
if (!e) {
|
|
72
|
-
|
|
73
|
+
a.value = "#5F5F5F", l.value = "#404040";
|
|
73
74
|
return;
|
|
74
75
|
}
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
const n = window.getComputedStyle(e), p = n.getPropertyValue("--chotto-buttonemojipicker-button-span-color").trim(), A = n.getPropertyValue("--chotto-buttonemojipicker-button-span-hover-color").trim();
|
|
77
|
+
a.value = p || "#5F5F5F", l.value = A || "#404040";
|
|
78
|
+
}, I = W(() => m.value ? l.value : a.value);
|
|
79
|
+
R(() => {
|
|
80
|
+
d();
|
|
80
81
|
});
|
|
81
|
-
let
|
|
82
|
-
const
|
|
83
|
-
var
|
|
84
|
-
const e = document.getElementById(
|
|
85
|
-
return (
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
}, E = () => {
|
|
89
|
-
t.state === "active" && (j.value = T(), i.value = !0);
|
|
82
|
+
let c = !1, u = !1;
|
|
83
|
+
const P = () => {
|
|
84
|
+
var n;
|
|
85
|
+
const e = document.getElementById(o);
|
|
86
|
+
return (n = e == null ? void 0 : e.getAttribute("data-theme")) != null && n.includes("dark") ? "dark" : "light";
|
|
87
|
+
}, w = (e) => {
|
|
88
|
+
M(j().text + e.i);
|
|
90
89
|
}, k = () => {
|
|
91
|
-
|
|
92
|
-
},
|
|
93
|
-
|
|
90
|
+
t.state === "active" && (E.value = P(), r.value = !0);
|
|
91
|
+
}, v = () => {
|
|
92
|
+
r.value = !1;
|
|
94
93
|
}, L = () => {
|
|
95
|
-
t.mode === "
|
|
94
|
+
t.mode === "click" && (r.value = !r.value, r.value && k());
|
|
95
|
+
}, S = () => {
|
|
96
|
+
t.mode === "hover" && (c = !0, k());
|
|
96
97
|
}, O = () => {
|
|
97
|
-
t.mode === "hover" && (
|
|
98
|
-
!
|
|
98
|
+
t.mode === "hover" && (c = !1, setTimeout(() => {
|
|
99
|
+
!u && !c && v();
|
|
99
100
|
}, 150));
|
|
101
|
+
}, T = () => {
|
|
102
|
+
m.value = !0, S();
|
|
103
|
+
}, x = () => {
|
|
104
|
+
m.value = !1, O();
|
|
100
105
|
}, H = () => {
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
t.mode === "hover" && (m = !0);
|
|
106
|
-
}, R = () => {
|
|
107
|
-
t.mode === "hover" && (m = !1, setTimeout(() => {
|
|
108
|
-
!u && !m && k();
|
|
106
|
+
t.mode === "hover" && (u = !0);
|
|
107
|
+
}, N = () => {
|
|
108
|
+
t.mode === "hover" && (u = !1, setTimeout(() => {
|
|
109
|
+
!c && !u && v();
|
|
109
110
|
}, 150));
|
|
110
|
-
},
|
|
111
|
-
t.mode === "click" &&
|
|
111
|
+
}, b = (e) => {
|
|
112
|
+
t.mode === "click" && r.value && g.value && h.value && e.target instanceof Node && !g.value.contains(e.target) && !h.value.contains(e.target) && v();
|
|
112
113
|
};
|
|
113
|
-
|
|
114
|
-
if (document.addEventListener("click",
|
|
115
|
-
const e = document.getElementById(
|
|
116
|
-
e && (
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
U(() => {
|
|
115
|
+
if (document.addEventListener("click", b), d(), o) {
|
|
116
|
+
const e = document.getElementById(o);
|
|
117
|
+
e && (i = new MutationObserver((n) => {
|
|
118
|
+
n.forEach((p) => {
|
|
119
|
+
p.type === "attributes" && p.attributeName === "data-theme" && d();
|
|
119
120
|
});
|
|
120
|
-
}),
|
|
121
|
+
}), i.observe(e, {
|
|
121
122
|
attributes: !0,
|
|
122
123
|
attributeFilter: ["data-theme"]
|
|
123
124
|
}));
|
|
124
125
|
}
|
|
125
|
-
}),
|
|
126
|
-
document.removeEventListener("click",
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
class: "emoji",
|
|
147
|
-
onMouseenter: D,
|
|
148
|
-
onMouseleave: R
|
|
149
|
-
}, [
|
|
150
|
-
g(y(te), {
|
|
151
|
-
native: n.native,
|
|
152
|
-
theme: j.value,
|
|
153
|
-
"display-recent": n.displayRecent,
|
|
154
|
-
"emoji-src": n.emojiSrc,
|
|
155
|
-
"picker-type": "",
|
|
156
|
-
onSelect: V
|
|
157
|
-
}, null, 8, ["native", "theme", "display-recent", "emoji-src"])
|
|
158
|
-
], 544), [
|
|
159
|
-
[ee, i.value]
|
|
160
|
-
])
|
|
161
|
-
]),
|
|
162
|
-
_: 1
|
|
163
|
-
})
|
|
164
|
-
], 64));
|
|
126
|
+
}), q(() => {
|
|
127
|
+
document.removeEventListener("click", b), i && (i.disconnect(), i = null);
|
|
128
|
+
});
|
|
129
|
+
const B = { props: t, emoji: h, emojiButton: g, isEmojiPickerVisible: r, emojiTheme: E, chatAppId: o, setMessageText: M, getMessage: j, setNative: y, setEmojiSrc: F, iconFillColor: a, iconHoverColor: l, isHovered: m, get themeObserver() {
|
|
130
|
+
return i;
|
|
131
|
+
}, set themeObserver(e) {
|
|
132
|
+
i = e;
|
|
133
|
+
}, updateIconColor: d, currentIconColor: I, get isMouseOverButton() {
|
|
134
|
+
return c;
|
|
135
|
+
}, set isMouseOverButton(e) {
|
|
136
|
+
c = e;
|
|
137
|
+
}, get isMouseOverPicker() {
|
|
138
|
+
return u;
|
|
139
|
+
}, set isMouseOverPicker(e) {
|
|
140
|
+
u = e;
|
|
141
|
+
}, changeThemeDialogEmoji: P, onSelectEmoji: w, openPicker: k, closePicker: v, handleClick: L, handleMouseEnter: S, handleMouseLeave: O, handleMouseEnterWithHover: T, handleMouseLeaveWithHover: x, handlePickerMouseEnter: H, handlePickerMouseLeave: N, handleClickOutside: b, get EmojiPicker() {
|
|
142
|
+
return z;
|
|
143
|
+
}, get SmilesIcon() {
|
|
144
|
+
return K;
|
|
145
|
+
} };
|
|
146
|
+
return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
|
|
165
147
|
}
|
|
166
148
|
});
|
|
167
149
|
export {
|
|
168
|
-
|
|
150
|
+
ue as default
|
|
169
151
|
};
|
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
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
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
],
|
|
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
|
-
|
|
43
|
+
g as default
|
|
40
44
|
};
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import
|
|
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
|
-
|
|
14
|
+
o as default
|
|
4
15
|
};
|