@mobilon-dev/chotto 0.3.121 → 0.3.123
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 +59 -40
- 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 +35 -22
- package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -30
- 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/DeletedMessageIcon.vue.js +11 -17
- 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/VerifiedBadge.vue.js +19 -25
- package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +402 -552
- 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 +46 -12
- 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 -62
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +98 -80
- 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 +45 -76
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -100
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +91 -16
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -79
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +111 -88
- 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 +58 -32
- 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 +35 -41
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +314 -131
- 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 +68 -36
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +37 -71
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +62 -83
- 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 +42 -22
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -460
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +499 -181
- 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/DelimiterMessage/DelimiterMessage.vue.js +4 -47
- package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +46 -37
- 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/FeedReplyQuote/FeedReplyQuote.vue.js +4 -52
- package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +39 -16
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -270
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +274 -95
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -409
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +422 -143
- 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 -57
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +69 -41
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +4 -97
- package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +173 -102
- 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 +118 -34
- 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 -94
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +76 -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 -348
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +339 -97
- 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 -308
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +299 -89
- 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 -321
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +338 -96
- 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 +19 -36
- 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 -170
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +336 -239
- package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +25 -43
- 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 +166 -256
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +39 -57
- package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
- package/dist/components/3_compounds/Feed/Feed.vue.js +4 -185
- package/dist/components/3_compounds/Feed/Feed.vue2.js +314 -161
- package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +19 -17
- 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 -33
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +59 -90
- package/dist/types/src/components/3_compounds/Feed/composables/useFeedScroll.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { ref as u, createElementBlock as s, openBlock as n, createCommentVNode as h, createElementVNode as e, toDisplayString as m, Fragment as k, renderList as y, withDirectives as b, vModelCheckbox as C } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import x from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const I = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "new-chat-modal"
|
|
7
|
+
}, w = { class: "modal-content" }, S = { class: "participant-list" }, U = ["id", "value"], V = ["for"], g = {
|
|
5
8
|
__name: "SelectUser",
|
|
6
9
|
props: {
|
|
7
10
|
users: {
|
|
@@ -14,67 +17,47 @@ const U = {
|
|
|
14
17
|
}
|
|
15
18
|
},
|
|
16
19
|
emits: ["confirm", "close"],
|
|
17
|
-
setup(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
function V(_, s, n, o, a, r) {
|
|
35
|
-
return l(), c("div", null, [
|
|
36
|
-
o.showModal ? (l(), c("div", b, [
|
|
37
|
-
t("div", x, [
|
|
38
|
-
t(
|
|
39
|
-
"h2",
|
|
40
|
-
null,
|
|
41
|
-
f(n.title),
|
|
42
|
-
1
|
|
43
|
-
/* TEXT */
|
|
44
|
-
),
|
|
45
|
-
t("div", w, [
|
|
46
|
-
(l(!0), c(
|
|
47
|
-
h,
|
|
48
|
-
null,
|
|
49
|
-
k(n.users, (e) => (l(), c("div", {
|
|
50
|
-
key: e.userId,
|
|
20
|
+
setup(l, { emit: p }) {
|
|
21
|
+
const c = u(!0), o = u([]), r = p, v = async () => {
|
|
22
|
+
r("confirm", o.value), a(), i();
|
|
23
|
+
}, a = () => {
|
|
24
|
+
r("close"), c.value = !1;
|
|
25
|
+
}, i = () => {
|
|
26
|
+
o.value = [];
|
|
27
|
+
}, _ = () => {
|
|
28
|
+
a(), i();
|
|
29
|
+
};
|
|
30
|
+
return (M, d) => (n(), s("div", null, [
|
|
31
|
+
c.value ? (n(), s("div", I, [
|
|
32
|
+
e("div", w, [
|
|
33
|
+
e("h2", null, m(l.title), 1),
|
|
34
|
+
e("div", S, [
|
|
35
|
+
(n(!0), s(k, null, y(l.users, (t) => (n(), s("div", {
|
|
36
|
+
key: t.userId,
|
|
51
37
|
class: "participant-item"
|
|
52
38
|
}, [
|
|
53
|
-
|
|
54
|
-
id:
|
|
55
|
-
"onUpdate:modelValue":
|
|
39
|
+
b(e("input", {
|
|
40
|
+
id: t.userId,
|
|
41
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => o.value = f),
|
|
56
42
|
type: "checkbox",
|
|
57
|
-
value:
|
|
58
|
-
}, null, 8,
|
|
59
|
-
[C, o.
|
|
43
|
+
value: t.userId
|
|
44
|
+
}, null, 8, U), [
|
|
45
|
+
[C, o.value]
|
|
60
46
|
]),
|
|
61
|
-
|
|
62
|
-
for:
|
|
63
|
-
},
|
|
64
|
-
]))),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
t("button", { onClick: o.onConfirm }, " ОК "),
|
|
71
|
-
t("button", { onClick: o.onCancel }, " Отмена ")
|
|
47
|
+
e("label", {
|
|
48
|
+
for: t.userId
|
|
49
|
+
}, m(t.name || "unknown username"), 9, V)
|
|
50
|
+
]))), 128))
|
|
51
|
+
]),
|
|
52
|
+
e("div", { class: "modal-actions" }, [
|
|
53
|
+
e("button", { onClick: v }, " ОК "),
|
|
54
|
+
e("button", { onClick: _ }, " Отмена ")
|
|
55
|
+
])
|
|
72
56
|
])
|
|
73
|
-
])
|
|
74
|
-
]))
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
const D = /* @__PURE__ */ S(U, [["render", V], ["__scopeId", "data-v-afe2ae62"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/SelectUser/SelectUser.vue"]]);
|
|
57
|
+
])) : h("", !0)
|
|
58
|
+
]));
|
|
59
|
+
}
|
|
60
|
+
}, E = /* @__PURE__ */ x(g, [["__scopeId", "data-v-1866cb65"]]);
|
|
78
61
|
export {
|
|
79
|
-
|
|
62
|
+
E as default
|
|
80
63
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { ref as p, createElementBlock as n, openBlock as s, createElementVNode as t, toDisplayString as c, Fragment as m, renderList as _, withDirectives as h, vModelCheckbox as v } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const g = {
|
|
3
|
+
import f from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], b = {
|
|
5
5
|
__name: "SelectUser2",
|
|
6
6
|
props: {
|
|
7
7
|
users: {
|
|
@@ -14,51 +14,34 @@ const g = {
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
emits: ["change"],
|
|
17
|
-
setup(
|
|
18
|
-
r()
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
function y(d, r, s, t, c, l) {
|
|
26
|
-
return a(), i("div", null, [
|
|
27
|
-
n(
|
|
28
|
-
"h2",
|
|
29
|
-
null,
|
|
30
|
-
u(s.title),
|
|
31
|
-
1
|
|
32
|
-
/* TEXT */
|
|
33
|
-
),
|
|
34
|
-
n("div", U, [
|
|
35
|
-
(a(!0), i(
|
|
36
|
-
_,
|
|
37
|
-
null,
|
|
38
|
-
m(s.users, (e) => (a(), i("div", {
|
|
17
|
+
setup(o, { emit: i }) {
|
|
18
|
+
const r = p([]), a = i, u = () => {
|
|
19
|
+
console.log("check"), a("change", { selectedUsers: r.value });
|
|
20
|
+
};
|
|
21
|
+
return (x, l) => (s(), n("div", null, [
|
|
22
|
+
t("h2", null, c(o.title), 1),
|
|
23
|
+
t("div", g, [
|
|
24
|
+
(s(!0), n(m, null, _(o.users, (e) => (s(), n("div", {
|
|
39
25
|
key: e.userId,
|
|
40
26
|
class: "participant-item"
|
|
41
27
|
}, [
|
|
42
|
-
h(
|
|
28
|
+
h(t("input", {
|
|
43
29
|
id: e.userId,
|
|
44
|
-
"onUpdate:modelValue":
|
|
30
|
+
"onUpdate:modelValue": l[0] || (l[0] = (d) => r.value = d),
|
|
45
31
|
type: "checkbox",
|
|
46
32
|
value: e.userId,
|
|
47
|
-
onChange:
|
|
48
|
-
}, null, 40,
|
|
49
|
-
[
|
|
33
|
+
onChange: u
|
|
34
|
+
}, null, 40, k), [
|
|
35
|
+
[v, r.value]
|
|
50
36
|
]),
|
|
51
|
-
|
|
37
|
+
t("label", {
|
|
52
38
|
for: e.userId
|
|
53
|
-
},
|
|
54
|
-
]))),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
]);
|
|
60
|
-
}
|
|
61
|
-
const I = /* @__PURE__ */ v(g, [["render", y], ["__scopeId", "data-v-361b37cc"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/SelectUser2/SelectUser2.vue"]]);
|
|
39
|
+
}, c(e.name || "unknown username"), 9, y)
|
|
40
|
+
]))), 128))
|
|
41
|
+
])
|
|
42
|
+
]));
|
|
43
|
+
}
|
|
44
|
+
}, C = /* @__PURE__ */ f(b, [["__scopeId", "data-v-368cbcb0"]]);
|
|
62
45
|
export {
|
|
63
|
-
|
|
46
|
+
C as default
|
|
64
47
|
};
|
|
@@ -1,173 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as n, openBlock as i, normalizeClass as c, toDisplayString as r, Fragment as p, createElementVNode as t, createVNode as d, createCommentVNode as s, renderList as b, createBlock as m, renderSlot as u, withDirectives as v, withKeys as g, vModelText as y } from "vue";
|
|
1
|
+
import t from "./ChatInput.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "chat-input__disabled-placeholder",
|
|
8
|
-
"data-testid": "chat-input-disabled-placeholder"
|
|
9
|
-
}, M = ["id"], C = ["id"], k = { class: "chat-input__file-counter" }, F = { class: "chat-input__file-chips-wrap" }, w = ["aria-label"], A = ["aria-label"], x = { class: "chat-input__inline-buttons" }, R = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "chat-input__input chat-input__disabled-placeholder"
|
|
12
|
-
}, T = {
|
|
13
|
-
key: 1,
|
|
14
|
-
class: "chat-input__input-wrap"
|
|
15
|
-
}, j = ["innerHTML"], B = ["disabled", "placeholder"], E = ["disabled"], L = { class: "" }, N = { class: "chat-input__third-line" };
|
|
16
|
-
function P(_, l, a, e, D, H) {
|
|
17
|
-
return i(), n(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
class: c(["chat-input__container", { "chat-input__container--disabled-notice": e.showDisabledNotice }]),
|
|
21
|
-
"data-testid": "chat-input"
|
|
22
|
-
},
|
|
23
|
-
[
|
|
24
|
-
e.showDisabledNotice ? (i(), n(
|
|
25
|
-
"div",
|
|
26
|
-
I,
|
|
27
|
-
r(a.disabledPlaceholder),
|
|
28
|
-
1
|
|
29
|
-
/* TEXT */
|
|
30
|
-
)) : (i(), n(
|
|
31
|
-
p,
|
|
32
|
-
{ key: 1 },
|
|
33
|
-
[
|
|
34
|
-
t("div", {
|
|
35
|
-
id: "chat-input-reply-line-" + e.chatAppId,
|
|
36
|
-
class: "chat-input__reply-line",
|
|
37
|
-
"data-testid": "chat-input-reply-line"
|
|
38
|
-
}, null, 8, M),
|
|
39
|
-
t("div", {
|
|
40
|
-
id: "chat-input-file-line-" + e.chatAppId,
|
|
41
|
-
class: c(["chat-input__file-line", { "chat-input__file-line--visible": e.attachedFiles.length > 0 }])
|
|
42
|
-
}, [
|
|
43
|
-
t("span", k, [
|
|
44
|
-
t(
|
|
45
|
-
"span",
|
|
46
|
-
null,
|
|
47
|
-
r(e.t("component.ChatInput.FilesSelected")),
|
|
48
|
-
1
|
|
49
|
-
/* TEXT */
|
|
50
|
-
),
|
|
51
|
-
t(
|
|
52
|
-
"span",
|
|
53
|
-
null,
|
|
54
|
-
r(e.filesSelectedCount),
|
|
55
|
-
1
|
|
56
|
-
/* TEXT */
|
|
57
|
-
)
|
|
58
|
-
]),
|
|
59
|
-
t("div", F, [
|
|
60
|
-
e.canScrollLeft ? (i(), n("button", {
|
|
61
|
-
key: 0,
|
|
62
|
-
type: "button",
|
|
63
|
-
class: "chat-input__file-scroll chat-input__file-scroll--left",
|
|
64
|
-
"aria-label": e.t("component.ChatInput.FilesScrollLeft"),
|
|
65
|
-
onClick: l[0] || (l[0] = (o) => e.scrollFiles("left"))
|
|
66
|
-
}, [
|
|
67
|
-
d(e.ArrowIcon)
|
|
68
|
-
], 8, w)) : s("v-if", !0),
|
|
69
|
-
t(
|
|
70
|
-
"div",
|
|
71
|
-
{
|
|
72
|
-
ref: "refFileChips",
|
|
73
|
-
class: "chat-input__file-chips",
|
|
74
|
-
onScroll: e.updateFileScrollState
|
|
75
|
-
},
|
|
76
|
-
[
|
|
77
|
-
(i(!0), n(
|
|
78
|
-
p,
|
|
79
|
-
null,
|
|
80
|
-
b(e.attachedFiles, (o, h) => (i(), m(e.FilePreview, {
|
|
81
|
-
key: (o.url || o.name || "") + "-" + h,
|
|
82
|
-
"file-info": e.previewOf(o),
|
|
83
|
-
onReset: (K) => e.removeAttachedFile(h)
|
|
84
|
-
}, null, 8, ["file-info", "onReset"]))),
|
|
85
|
-
128
|
|
86
|
-
/* KEYED_FRAGMENT */
|
|
87
|
-
))
|
|
88
|
-
],
|
|
89
|
-
544
|
|
90
|
-
/* NEED_HYDRATION, NEED_PATCH */
|
|
91
|
-
),
|
|
92
|
-
e.canScrollRight ? (i(), n("button", {
|
|
93
|
-
key: 1,
|
|
94
|
-
type: "button",
|
|
95
|
-
class: "chat-input__file-scroll chat-input__file-scroll--right",
|
|
96
|
-
"aria-label": e.t("component.ChatInput.FilesScrollRight"),
|
|
97
|
-
onClick: l[1] || (l[1] = (o) => e.scrollFiles("right"))
|
|
98
|
-
}, [
|
|
99
|
-
d(e.ArrowIcon)
|
|
100
|
-
], 8, A)) : s("v-if", !0)
|
|
101
|
-
])
|
|
102
|
-
], 10, C),
|
|
103
|
-
t("div", x, [
|
|
104
|
-
u(_.$slots, "inline-buttons", {}, void 0, !0)
|
|
105
|
-
]),
|
|
106
|
-
a.disabledPlaceholder && e.getMessage().isRecording ? (i(), n(
|
|
107
|
-
"div",
|
|
108
|
-
R,
|
|
109
|
-
r(a.disabledPlaceholder),
|
|
110
|
-
1
|
|
111
|
-
/* TEXT */
|
|
112
|
-
)) : (i(), n("div", T, [
|
|
113
|
-
e.useEmojiMirror ? (i(), n("div", {
|
|
114
|
-
key: 0,
|
|
115
|
-
ref: "refMirror",
|
|
116
|
-
class: "chat-input__input-mirror",
|
|
117
|
-
"aria-hidden": "true",
|
|
118
|
-
innerHTML: e.emojiMirrorHtml
|
|
119
|
-
}, null, 8, j)) : s("v-if", !0),
|
|
120
|
-
v(t("textarea", {
|
|
121
|
-
ref: "refInput",
|
|
122
|
-
"onUpdate:modelValue": l[2] || (l[2] = (o) => e.getMessage().text = o),
|
|
123
|
-
rows: "1",
|
|
124
|
-
"data-testid": "chat-input-textarea",
|
|
125
|
-
disabled: a.state == "disabled" || e.getMessage().isRecording,
|
|
126
|
-
class: c(["chat-input__input", { "chat-input__input--emoji-images": e.useEmojiMirror }]),
|
|
127
|
-
placeholder: e.inputPlaceholder,
|
|
128
|
-
onKeydown: [
|
|
129
|
-
e.onInputKeydown,
|
|
130
|
-
g(e.keyEnter, ["enter"])
|
|
131
|
-
],
|
|
132
|
-
onInput: e.sendTyping,
|
|
133
|
-
onScroll: e.syncMirrorScroll,
|
|
134
|
-
onSelect: e.updateSelectionState,
|
|
135
|
-
onMouseup: e.snapCaretAndUpdateSelection,
|
|
136
|
-
onKeyup: e.snapCaretAndUpdateSelection,
|
|
137
|
-
onMousemove: e.onInputMouseMove,
|
|
138
|
-
onBlur: e.clearSelectionHighlight
|
|
139
|
-
}, null, 42, B), [
|
|
140
|
-
[y, e.getMessage().text]
|
|
141
|
-
])
|
|
142
|
-
])),
|
|
143
|
-
d(e.TextFormatToolbar, {
|
|
144
|
-
textarea: e.refInput,
|
|
145
|
-
onFormatApplied: e.handleFormatApplied
|
|
146
|
-
}, null, 8, ["textarea"]),
|
|
147
|
-
t("button", {
|
|
148
|
-
type: "button",
|
|
149
|
-
class: c(["chat-input__button", { "chat-input__button-disabled": e.disabledSendButton }]),
|
|
150
|
-
"data-testid": "chat-input-send",
|
|
151
|
-
disabled: e.getMessage().isRecording,
|
|
152
|
-
onClick: e.sendMessage
|
|
153
|
-
}, [
|
|
154
|
-
t("span", L, [
|
|
155
|
-
d(e.SendIcon, { color: e.sendIconColor }, null, 8, ["color"])
|
|
156
|
-
])
|
|
157
|
-
], 10, E),
|
|
158
|
-
t("div", N, [
|
|
159
|
-
u(_.$slots, "buttons", {}, void 0, !0)
|
|
160
|
-
])
|
|
161
|
-
],
|
|
162
|
-
64
|
|
163
|
-
/* STABLE_FRAGMENT */
|
|
164
|
-
))
|
|
165
|
-
],
|
|
166
|
-
2
|
|
167
|
-
/* CLASS */
|
|
168
|
-
);
|
|
169
|
-
}
|
|
170
|
-
const q = /* @__PURE__ */ S(f, [["render", P], ["__scopeId", "data-v-c1d61267"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/3_compounds/ChatInput/ChatInput.vue"]]);
|
|
3
|
+
import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-838169bb"]]);
|
|
171
5
|
export {
|
|
172
|
-
|
|
6
|
+
m as default
|
|
173
7
|
};
|