@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
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { createBlock as i, openBlock as
|
|
1
|
+
import { createBlock as i, openBlock as l, Transition as r, withCtx as c, withDirectives as n, createElementVNode as t, renderSlot as m, vShow as p } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = ["data-theme"], u = {
|
|
5
|
+
class: "modal",
|
|
6
|
+
role: "dialog",
|
|
7
|
+
"aria-labelledby": "modalTitle",
|
|
8
|
+
"aria-describedby": "modalDescription"
|
|
9
|
+
}, h = {
|
|
5
10
|
__name: "ModalNoFooter",
|
|
6
11
|
props: {
|
|
7
12
|
theme: {
|
|
@@ -11,42 +16,28 @@ const b = {
|
|
|
11
16
|
}
|
|
12
17
|
},
|
|
13
18
|
emits: ["close"],
|
|
14
|
-
setup(o, {
|
|
15
|
-
a()
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
persisted: ""
|
|
31
|
-
}, {
|
|
32
|
-
default: m(() => [
|
|
33
|
-
_(r("div", {
|
|
34
|
-
"data-theme": t.theme,
|
|
35
|
-
class: "modal-backdrop",
|
|
36
|
-
onClick: e.closeModalOutside
|
|
37
|
-
}, [
|
|
38
|
-
r("div", M, [
|
|
39
|
-
u(o.$slots, "default", {}, void 0, !0)
|
|
19
|
+
setup(o, { emit: a }) {
|
|
20
|
+
const d = a, s = (e) => {
|
|
21
|
+
e.target.classList.contains("modal-backdrop") && d("close");
|
|
22
|
+
};
|
|
23
|
+
return (e, b) => (l(), i(r, { name: "modal-fade" }, {
|
|
24
|
+
default: c(() => [
|
|
25
|
+
n(t("div", {
|
|
26
|
+
"data-theme": o.theme,
|
|
27
|
+
class: "modal-backdrop",
|
|
28
|
+
onClick: s
|
|
29
|
+
}, [
|
|
30
|
+
t("div", u, [
|
|
31
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
32
|
+
])
|
|
33
|
+
], 8, f), [
|
|
34
|
+
[p, !0]
|
|
40
35
|
])
|
|
41
|
-
]
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/* FORWARDED */
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
const y = /* @__PURE__ */ h(b, [["render", k], ["__scopeId", "data-v-a54b1abe"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/ModalNoFooter/ModalNoFooter.vue"]]);
|
|
36
|
+
]),
|
|
37
|
+
_: 3
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
}, w = /* @__PURE__ */ _(h, [["__scopeId", "data-v-01dc3148"]]);
|
|
50
41
|
export {
|
|
51
|
-
|
|
42
|
+
w as default
|
|
52
43
|
};
|
|
@@ -1,158 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createElementBlock as i, openBlock as d, Fragment as a, createElementVNode as e, withDirectives as t, vShow as s, createCommentVNode as c, normalizeClass as n, toDisplayString as v } from "vue";
|
|
1
|
+
import o from "./ModalVideoRecorder.vue2.js";
|
|
3
2
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
ref: "refVideo",
|
|
7
|
-
class: "video-recorder__view-area"
|
|
8
|
-
}, R = {
|
|
9
|
-
ref: "refRecord",
|
|
10
|
-
class: "video-recorder__view-area",
|
|
11
|
-
controls: ""
|
|
12
|
-
}, f = { class: "video-recorder__controls" }, b = { class: "video-recorder__recording-container" }, g = { class: "video-recorder__recording-time" };
|
|
13
|
-
function u(k, r, V, o, C, L) {
|
|
14
|
-
return d(), i(
|
|
15
|
-
a,
|
|
16
|
-
null,
|
|
17
|
-
[
|
|
18
|
-
e("div", m, [
|
|
19
|
-
e("button", {
|
|
20
|
-
class: "video-recorder__button video-recorder__button-close",
|
|
21
|
-
onClick: r[0] || (r[0] = (U) => o.emit("close"))
|
|
22
|
-
}, [...r[1] || (r[1] = [
|
|
23
|
-
e(
|
|
24
|
-
"span",
|
|
25
|
-
{ class: "pi pi-times" },
|
|
26
|
-
null,
|
|
27
|
-
-1
|
|
28
|
-
/* CACHED */
|
|
29
|
-
)
|
|
30
|
-
])])
|
|
31
|
-
]),
|
|
32
|
-
e("div", null, [
|
|
33
|
-
t(e(
|
|
34
|
-
"video",
|
|
35
|
-
p,
|
|
36
|
-
null,
|
|
37
|
-
512
|
|
38
|
-
/* NEED_PATCH */
|
|
39
|
-
), [
|
|
40
|
-
[s, !o.videoURL]
|
|
41
|
-
]),
|
|
42
|
-
t(e(
|
|
43
|
-
"video",
|
|
44
|
-
R,
|
|
45
|
-
null,
|
|
46
|
-
512
|
|
47
|
-
/* NEED_PATCH */
|
|
48
|
-
), [
|
|
49
|
-
[s, o.videoURL]
|
|
50
|
-
]),
|
|
51
|
-
e("div", f, [
|
|
52
|
-
e("div", b, [
|
|
53
|
-
!o.videoRecording && !o.videoURL ? (d(), i("button", {
|
|
54
|
-
key: 0,
|
|
55
|
-
class: "video-recorder__button",
|
|
56
|
-
onClick: o.changeRecordSource
|
|
57
|
-
}, [
|
|
58
|
-
e(
|
|
59
|
-
"span",
|
|
60
|
-
{
|
|
61
|
-
class: n({
|
|
62
|
-
"pi pi-desktop": o.recordSource == "camera",
|
|
63
|
-
"pi pi-camera": o.recordSource == "screen"
|
|
64
|
-
})
|
|
65
|
-
},
|
|
66
|
-
null,
|
|
67
|
-
2
|
|
68
|
-
/* CLASS */
|
|
69
|
-
)
|
|
70
|
-
])) : c("v-if", !0),
|
|
71
|
-
o.videoURL ? c("v-if", !0) : (d(), i(
|
|
72
|
-
"button",
|
|
73
|
-
{
|
|
74
|
-
key: 1,
|
|
75
|
-
class: n(["video-recorder__button", { "video-recorder__recording-button": o.videoRecording }]),
|
|
76
|
-
onClick: o.startVideoRecording
|
|
77
|
-
},
|
|
78
|
-
[
|
|
79
|
-
e(
|
|
80
|
-
"span",
|
|
81
|
-
{
|
|
82
|
-
class: n(["pi", {
|
|
83
|
-
"pi-circle-fill video-recorder__recording-icon": o.videoRecording,
|
|
84
|
-
"pi-video": !o.videoRecording
|
|
85
|
-
}])
|
|
86
|
-
},
|
|
87
|
-
null,
|
|
88
|
-
2
|
|
89
|
-
/* CLASS */
|
|
90
|
-
)
|
|
91
|
-
],
|
|
92
|
-
2
|
|
93
|
-
/* CLASS */
|
|
94
|
-
)),
|
|
95
|
-
!o.videoRecording && o.videoURL ? (d(), i("button", {
|
|
96
|
-
key: 2,
|
|
97
|
-
class: "video-recorder__button",
|
|
98
|
-
onClick: o.cancelVideoRecording
|
|
99
|
-
}, [...r[2] || (r[2] = [
|
|
100
|
-
e(
|
|
101
|
-
"span",
|
|
102
|
-
{ class: "pi pi-trash" },
|
|
103
|
-
null,
|
|
104
|
-
-1
|
|
105
|
-
/* CACHED */
|
|
106
|
-
)
|
|
107
|
-
])])) : c("v-if", !0),
|
|
108
|
-
o.videoRecording ? (d(), i("button", {
|
|
109
|
-
key: 3,
|
|
110
|
-
class: "video-recorder__button",
|
|
111
|
-
onClick: o.stopVideoRecording
|
|
112
|
-
}, [
|
|
113
|
-
c('span class="pi pi-stop" /'),
|
|
114
|
-
r[3] || (r[3] = e(
|
|
115
|
-
"div",
|
|
116
|
-
{ class: "video-recorder__stop" },
|
|
117
|
-
null,
|
|
118
|
-
-1
|
|
119
|
-
/* CACHED */
|
|
120
|
-
))
|
|
121
|
-
])) : c("v-if", !0),
|
|
122
|
-
e(
|
|
123
|
-
"span",
|
|
124
|
-
g,
|
|
125
|
-
v(o.elapsedTime),
|
|
126
|
-
1
|
|
127
|
-
/* TEXT */
|
|
128
|
-
)
|
|
129
|
-
]),
|
|
130
|
-
e(
|
|
131
|
-
"button",
|
|
132
|
-
{
|
|
133
|
-
class: n(["video-recorder__button", { "video-recorder__button-disabled": !o.videoURL }]),
|
|
134
|
-
onClick: o.saveRecordedVideo
|
|
135
|
-
},
|
|
136
|
-
[...r[4] || (r[4] = [
|
|
137
|
-
e(
|
|
138
|
-
"span",
|
|
139
|
-
{ class: "video-recorder__save-button" },
|
|
140
|
-
" Прикрепить видео ",
|
|
141
|
-
-1
|
|
142
|
-
/* CACHED */
|
|
143
|
-
)
|
|
144
|
-
])],
|
|
145
|
-
2
|
|
146
|
-
/* CLASS */
|
|
147
|
-
)
|
|
148
|
-
])
|
|
149
|
-
])
|
|
150
|
-
],
|
|
151
|
-
64
|
|
152
|
-
/* STABLE_FRAGMENT */
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
const x = /* @__PURE__ */ _(l, [["render", u], ["__scopeId", "data-v-f7244f75"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue"]]);
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-dd94f275"]]);
|
|
156
5
|
export {
|
|
157
|
-
|
|
6
|
+
a as default
|
|
158
7
|
};
|
|
@@ -1,70 +1,142 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { safeMediaPlayVoid as
|
|
1
|
+
import { defineComponent as z, ref as l, computed as P, onMounted as $, createElementBlock as _, openBlock as f, Fragment as q, createElementVNode as o, withDirectives as D, vShow as E, createCommentVNode as b, normalizeClass as g, toDisplayString as A, nextTick as G, unref as y } from "vue";
|
|
2
|
+
import { safeMediaPlayVoid as L } from "../../../functions/safeMediaPlay.js";
|
|
3
3
|
import "../../../functions/parseMarkdown.js";
|
|
4
|
-
const
|
|
4
|
+
const H = { class: "video-recorder__header" }, J = { class: "video-recorder__controls" }, K = { class: "video-recorder__recording-container" }, Q = { class: "video-recorder__recording-time" }, ee = /* @__PURE__ */ z({
|
|
5
5
|
__name: "ModalVideoRecorder",
|
|
6
6
|
emits: ["change", "submit", "close"],
|
|
7
|
-
setup(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
d.value == "camera" ? (d.value = "screen", M()) : d.value == "screen" && (g(), d.value = "camera", R());
|
|
7
|
+
setup(W, { emit: F }) {
|
|
8
|
+
const M = l(), r = l(0), n = l(0), u = l(0), d = l(0), I = P(() => {
|
|
9
|
+
let a = d.value < 10 ? "0" + d.value : d.value, e = u.value < 10 ? "0" + u.value : u.value, i = n.value < 10 ? "0" + n.value : n.value, N = r.value < 10 ? "00" + r.value : r.value < 100 ? "0" + r.value : r.value;
|
|
10
|
+
return t.value ? a + ":" + e + ":" + i + ":" + N : " ";
|
|
11
|
+
}), m = l(), k = l(), t = l(!1), v = l(), p = l(), R = l([]), s = l(), V = l(), c = l("camera"), O = () => {
|
|
12
|
+
c.value == "camera" ? (c.value = "screen", B()) : c.value == "screen" && (w(), c.value = "camera", h());
|
|
14
13
|
}, T = async () => {
|
|
15
|
-
!
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
|
|
14
|
+
!t.value && p.value instanceof MediaStream && (v.value = new MediaRecorder(p.value), v.value.start(), v.value.ondataavailable = (a) => {
|
|
15
|
+
R.value.push(a.data);
|
|
16
|
+
}, t.value = !0, M.value = setInterval(() => {
|
|
17
|
+
r.value += 10, r.value == 1e3 && (r.value = 0, n.value++, n.value == 60 && (n.value = 0, u.value++, u.value == 60 && (u.value = 0, d.value++)));
|
|
19
18
|
}, 10));
|
|
20
19
|
}, U = async () => {
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
S(), w(), s.value && (s.value = void 0, await h());
|
|
21
|
+
}, j = () => {
|
|
22
|
+
v.value && (v.value.stop(), v.value.onstop = async () => {
|
|
23
|
+
V.value = new File(R.value, "videomessage.mp4", { type: "video/*" });
|
|
24
|
+
const a = URL.createObjectURL(V.value);
|
|
25
|
+
s.value = a, G(() => {
|
|
26
|
+
k.value && (k.value.src = a);
|
|
28
27
|
});
|
|
29
|
-
}),
|
|
28
|
+
}), S(), w();
|
|
30
29
|
};
|
|
31
|
-
function
|
|
32
|
-
var
|
|
33
|
-
let
|
|
34
|
-
|
|
30
|
+
function w() {
|
|
31
|
+
var e;
|
|
32
|
+
let a = (e = p.value) == null ? void 0 : e.getTracks();
|
|
33
|
+
a == null || a.forEach((i) => i.stop());
|
|
35
34
|
}
|
|
36
|
-
const
|
|
37
|
-
clearInterval(
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
await navigator.mediaDevices.getUserMedia({ audio: !0, video: !0 }).then((
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}),
|
|
35
|
+
const S = () => {
|
|
36
|
+
clearInterval(M.value), r.value = 0, n.value = 0, u.value = 0, d.value = 0, t.value = !1, v.value = void 0, R.value = [];
|
|
37
|
+
}, C = F, x = () => {
|
|
38
|
+
C("change", { videoFile: V.value }), C("submit");
|
|
39
|
+
}, h = async () => {
|
|
40
|
+
await navigator.mediaDevices.getUserMedia({ audio: !0, video: !0 }).then((a) => {
|
|
41
|
+
const e = y(m.value);
|
|
42
|
+
p.value = a, e.srcObject = a, e.addEventListener("loadedmetadata", () => {
|
|
43
|
+
L(y(m.value));
|
|
44
|
+
}), e.muted = !0;
|
|
46
45
|
});
|
|
47
|
-
},
|
|
48
|
-
const
|
|
46
|
+
}, B = async () => {
|
|
47
|
+
const a = {
|
|
49
48
|
video: {
|
|
50
49
|
cursor: "always"
|
|
51
50
|
},
|
|
52
51
|
audio: !1
|
|
53
52
|
};
|
|
54
|
-
await navigator.mediaDevices.getDisplayMedia(
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}),
|
|
53
|
+
await navigator.mediaDevices.getDisplayMedia(a).then((e) => {
|
|
54
|
+
const i = y(m.value);
|
|
55
|
+
p.value = e, i.srcObject = e, i.addEventListener("loadedmetadata", () => {
|
|
56
|
+
L(y(m.value));
|
|
57
|
+
}), i.muted = !0;
|
|
59
58
|
});
|
|
60
59
|
};
|
|
61
|
-
|
|
62
|
-
await
|
|
63
|
-
})
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
return $(async () => {
|
|
61
|
+
await h();
|
|
62
|
+
}), (a, e) => (f(), _(q, null, [
|
|
63
|
+
o("div", H, [
|
|
64
|
+
o("button", {
|
|
65
|
+
class: "video-recorder__button video-recorder__button-close",
|
|
66
|
+
onClick: e[0] || (e[0] = (i) => C("close"))
|
|
67
|
+
}, [...e[1] || (e[1] = [
|
|
68
|
+
o("span", { class: "pi pi-times" }, null, -1)
|
|
69
|
+
])])
|
|
70
|
+
]),
|
|
71
|
+
o("div", null, [
|
|
72
|
+
D(o("video", {
|
|
73
|
+
ref_key: "refVideo",
|
|
74
|
+
ref: m,
|
|
75
|
+
class: "video-recorder__view-area"
|
|
76
|
+
}, null, 512), [
|
|
77
|
+
[E, !s.value]
|
|
78
|
+
]),
|
|
79
|
+
D(o("video", {
|
|
80
|
+
ref_key: "refRecord",
|
|
81
|
+
ref: k,
|
|
82
|
+
class: "video-recorder__view-area",
|
|
83
|
+
controls: ""
|
|
84
|
+
}, null, 512), [
|
|
85
|
+
[E, s.value]
|
|
86
|
+
]),
|
|
87
|
+
o("div", J, [
|
|
88
|
+
o("div", K, [
|
|
89
|
+
!t.value && !s.value ? (f(), _("button", {
|
|
90
|
+
key: 0,
|
|
91
|
+
class: "video-recorder__button",
|
|
92
|
+
onClick: O
|
|
93
|
+
}, [
|
|
94
|
+
o("span", {
|
|
95
|
+
class: g({
|
|
96
|
+
"pi pi-desktop": c.value == "camera",
|
|
97
|
+
"pi pi-camera": c.value == "screen"
|
|
98
|
+
})
|
|
99
|
+
}, null, 2)
|
|
100
|
+
])) : b("", !0),
|
|
101
|
+
s.value ? b("", !0) : (f(), _("button", {
|
|
102
|
+
key: 1,
|
|
103
|
+
class: g(["video-recorder__button", { "video-recorder__recording-button": t.value }]),
|
|
104
|
+
onClick: T
|
|
105
|
+
}, [
|
|
106
|
+
o("span", {
|
|
107
|
+
class: g(["pi", {
|
|
108
|
+
"pi-circle-fill video-recorder__recording-icon": t.value,
|
|
109
|
+
"pi-video": !t.value
|
|
110
|
+
}])
|
|
111
|
+
}, null, 2)
|
|
112
|
+
], 2)),
|
|
113
|
+
!t.value && s.value ? (f(), _("button", {
|
|
114
|
+
key: 2,
|
|
115
|
+
class: "video-recorder__button",
|
|
116
|
+
onClick: U
|
|
117
|
+
}, [...e[2] || (e[2] = [
|
|
118
|
+
o("span", { class: "pi pi-trash" }, null, -1)
|
|
119
|
+
])])) : b("", !0),
|
|
120
|
+
t.value ? (f(), _("button", {
|
|
121
|
+
key: 3,
|
|
122
|
+
class: "video-recorder__button",
|
|
123
|
+
onClick: j
|
|
124
|
+
}, [...e[3] || (e[3] = [
|
|
125
|
+
o("div", { class: "video-recorder__stop" }, null, -1)
|
|
126
|
+
])])) : b("", !0),
|
|
127
|
+
o("span", Q, A(I.value), 1)
|
|
128
|
+
]),
|
|
129
|
+
o("button", {
|
|
130
|
+
class: g(["video-recorder__button", { "video-recorder__button-disabled": !s.value }]),
|
|
131
|
+
onClick: x
|
|
132
|
+
}, [...e[4] || (e[4] = [
|
|
133
|
+
o("span", { class: "video-recorder__save-button" }, " Прикрепить видео ", -1)
|
|
134
|
+
])], 2)
|
|
135
|
+
])
|
|
136
|
+
])
|
|
137
|
+
], 64));
|
|
66
138
|
}
|
|
67
139
|
});
|
|
68
140
|
export {
|
|
69
|
-
|
|
141
|
+
ee as default
|
|
70
142
|
};
|
|
@@ -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 C, vModelCheckbox as b } 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 r = u(!0), o = u([]), c = p, v = async () => {
|
|
22
|
+
c("confirm", o.value), a(), i();
|
|
23
|
+
}, a = () => {
|
|
24
|
+
c("close"), r.value = !1;
|
|
25
|
+
}, i = () => {
|
|
26
|
+
o.value = [];
|
|
27
|
+
}, _ = () => {
|
|
28
|
+
a(), i();
|
|
29
|
+
};
|
|
30
|
+
return (M, d) => (n(), s("div", null, [
|
|
31
|
+
r.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
|
+
C(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
|
-
[
|
|
43
|
+
value: t.userId
|
|
44
|
+
}, null, 8, U), [
|
|
45
|
+
[b, 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-9121a142"]]);
|
|
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
|
};
|