@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,10 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toRef as R, computed as y, ref as m, onMounted as Q, nextTick as p, onUnmounted as X, watch as N, createElementBlock as s, openBlock as i, normalizeClass as r, createCommentVNode as l, createElementVNode as c, normalizeStyle as Z, Fragment as F, renderList as L, createBlock as _, withCtx as h, toDisplayString as V, createVNode as H } from "vue";
|
|
2
2
|
import $ from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import Y from "../../1_icons/SettingsIcon.vue.js";
|
|
4
|
+
import I from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
7
|
-
const it = {
|
|
6
|
+
import tt from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const et = ["onClick"], ot = ["src", "alt"], it = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "sidebar__notification-count"
|
|
10
|
+
}, nt = { class: "sidebar__scroll-container" }, st = ["onClick"], at = ["src", "alt"], rt = ["src"], lt = { key: 2 }, ct = {
|
|
11
|
+
key: 2,
|
|
12
|
+
class: "sidebar__settings-container"
|
|
13
|
+
}, ut = {
|
|
14
|
+
class: "sidebar__settings-btn",
|
|
15
|
+
type: "button"
|
|
16
|
+
}, dt = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "sidebar__settings-indicator-anchor"
|
|
19
|
+
}, ft = {
|
|
20
|
+
key: 1,
|
|
21
|
+
class: "sidebar__settings-indicator"
|
|
22
|
+
}, mt = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "sidebar__settings-indicator-anchor"
|
|
25
|
+
}, gt = {
|
|
26
|
+
key: 1,
|
|
27
|
+
class: "sidebar__settings-indicator"
|
|
28
|
+
}, _t = {
|
|
8
29
|
__name: "SideBar",
|
|
9
30
|
props: {
|
|
10
31
|
sidebarItems: {
|
|
@@ -57,319 +78,221 @@ const it = {
|
|
|
57
78
|
}
|
|
58
79
|
},
|
|
59
80
|
emits: ["selectItem", "settingsClick"],
|
|
60
|
-
setup(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}, J = (t) => {
|
|
81
|
+
setup(n, { emit: j }) {
|
|
82
|
+
const u = n, v = R(u, "sidebarItems"), w = R(u, "menuActions"), B = j, k = y(
|
|
83
|
+
() => Array.isArray(u.settingsIndicatorTooltipItems) ? u.settingsIndicatorTooltipItems.map((t) => String(t ?? "").trim()).filter(Boolean) : []
|
|
84
|
+
), x = y(
|
|
85
|
+
() => k.value.length > 0 || !!u.settingsIndicatorTooltip.trim()
|
|
86
|
+
), A = y(
|
|
87
|
+
() => v.value.filter((t) => t.isFixedBottom).sort((t, e) => e.notificationCount - t.notificationCount)
|
|
88
|
+
), D = y(
|
|
89
|
+
() => v.value.filter((t) => !t.isFixedBottom).sort((t, e) => e.notificationCount - t.notificationCount)
|
|
90
|
+
), G = (t) => {
|
|
91
|
+
const e = v.value.find((o) => o.itemId === t);
|
|
92
|
+
B("selectItem", e);
|
|
93
|
+
}, q = (t, e) => {
|
|
94
|
+
K(t.currentTarget), G(e);
|
|
95
|
+
}, P = (t) => {
|
|
96
|
+
const e = t.split(" ");
|
|
97
|
+
return e.length > 2 ? e.slice(0, 2).join(" ") : t;
|
|
98
|
+
}, U = (t) => {
|
|
79
99
|
console.log("Выбрано действие:", t), typeof t.action == "function" && t.action();
|
|
80
|
-
},
|
|
100
|
+
}, W = () => {
|
|
81
101
|
console.log("Кнопка меню была нажата");
|
|
82
|
-
},
|
|
83
|
-
var
|
|
84
|
-
|
|
85
|
-
const t = (
|
|
102
|
+
}, J = () => {
|
|
103
|
+
var e;
|
|
104
|
+
B("settingsClick");
|
|
105
|
+
const t = (e = w.value) == null ? void 0 : e[0];
|
|
86
106
|
t && typeof t.action == "function" && !t.disabled && t.action();
|
|
87
|
-
},
|
|
88
|
-
const
|
|
89
|
-
if (!
|
|
90
|
-
const
|
|
91
|
-
return Math.max(0,
|
|
92
|
-
},
|
|
93
|
-
if (!
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
},
|
|
107
|
+
}, d = m(null), C = m(null), S = m(!1), T = m(0), b = m(40), z = m(!1), E = (t) => {
|
|
108
|
+
const e = d.value;
|
|
109
|
+
if (!e || !t) return 0;
|
|
110
|
+
const o = e.getBoundingClientRect(), a = t.getBoundingClientRect(), O = a.top + a.height / 2 - o.top - b.value / 2;
|
|
111
|
+
return Math.max(0, O);
|
|
112
|
+
}, g = () => {
|
|
113
|
+
if (!d.value) return;
|
|
114
|
+
const e = d.value.querySelector(".sidebar__image--active");
|
|
115
|
+
e ? (T.value = E(e), S.value = !0) : S.value = !1;
|
|
116
|
+
}, K = (t) => {
|
|
97
117
|
try {
|
|
98
|
-
if (!t || !
|
|
99
|
-
const
|
|
100
|
-
if (!
|
|
101
|
-
const
|
|
102
|
-
z.value = !0,
|
|
103
|
-
|
|
104
|
-
|
|
118
|
+
if (!t || !d.value) return;
|
|
119
|
+
const e = t.querySelector(".sidebar__image");
|
|
120
|
+
if (!e) return;
|
|
121
|
+
const o = E(e), a = 12, f = 160;
|
|
122
|
+
z.value = !0, b.value = a, setTimeout(() => {
|
|
123
|
+
T.value = o, requestAnimationFrame(() => {
|
|
124
|
+
b.value = 40, setTimeout(() => {
|
|
105
125
|
z.value = !1;
|
|
106
|
-
},
|
|
126
|
+
}, f);
|
|
107
127
|
});
|
|
108
|
-
},
|
|
128
|
+
}, f);
|
|
109
129
|
} catch {
|
|
110
130
|
}
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
var
|
|
114
|
-
|
|
115
|
-
const t = (
|
|
116
|
-
t && t.addEventListener("scroll",
|
|
117
|
-
}),
|
|
118
|
-
var
|
|
119
|
-
window.removeEventListener("resize",
|
|
120
|
-
const t = (
|
|
121
|
-
t && t.removeEventListener("scroll",
|
|
122
|
-
}),
|
|
123
|
-
() =>
|
|
124
|
-
(t,
|
|
125
|
-
!t ||
|
|
126
|
-
|
|
127
|
-
var
|
|
128
|
-
(
|
|
131
|
+
}, M = () => g();
|
|
132
|
+
return Q(() => {
|
|
133
|
+
var e;
|
|
134
|
+
p(g), window.addEventListener("resize", M);
|
|
135
|
+
const t = (e = d.value) == null ? void 0 : e.querySelector(".sidebar__scroll-container");
|
|
136
|
+
t && t.addEventListener("scroll", g);
|
|
137
|
+
}), X(() => {
|
|
138
|
+
var e;
|
|
139
|
+
window.removeEventListener("resize", M);
|
|
140
|
+
const t = (e = d.value) == null ? void 0 : e.querySelector(".sidebar__scroll-container");
|
|
141
|
+
t && t.removeEventListener("scroll", g);
|
|
142
|
+
}), N(() => v.value.map((t) => t.selected), () => p(g)), N(
|
|
143
|
+
() => u.showSettings && u.showSettingsIndicator && x.value,
|
|
144
|
+
(t, e) => {
|
|
145
|
+
!t || e === !0 || p(() => {
|
|
146
|
+
p(() => {
|
|
147
|
+
var o, a;
|
|
148
|
+
(a = (o = C.value) == null ? void 0 : o.startAutoShow) == null || a.call(o);
|
|
129
149
|
});
|
|
130
150
|
});
|
|
131
151
|
},
|
|
132
152
|
{ flush: "post", immediate: !0 }
|
|
133
|
-
)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
},
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
text: e.getName(i.name),
|
|
197
|
-
position: "right",
|
|
198
|
-
offset: 8
|
|
199
|
-
}, {
|
|
200
|
-
default: y(() => [
|
|
201
|
-
u("img", {
|
|
202
|
-
src: i.icon,
|
|
203
|
-
alt: i.name,
|
|
204
|
-
class: c(["sidebar__image", {
|
|
205
|
-
"sidebar__image--active": i.selected === !0,
|
|
206
|
-
"sidebar-horizontal__image": s.horizontal
|
|
207
|
-
}])
|
|
208
|
-
}, null, 10, st),
|
|
209
|
-
d[0] || (d[0] = u(
|
|
210
|
-
"p",
|
|
211
|
-
null,
|
|
212
|
-
"Мои",
|
|
213
|
-
-1
|
|
214
|
-
/* CACHED */
|
|
215
|
-
))
|
|
216
|
-
]),
|
|
217
|
-
_: 2
|
|
218
|
-
/* DYNAMIC */
|
|
219
|
-
}, 1032, ["text"])) : l("v-if", !0),
|
|
220
|
-
i.notificationCount ? (n(), a(
|
|
221
|
-
"span",
|
|
222
|
-
at,
|
|
223
|
-
j(i.notificationCount > 99 ? "99+" : i.notificationCount),
|
|
224
|
-
1
|
|
225
|
-
/* TEXT */
|
|
226
|
-
)) : l("v-if", !0)
|
|
227
|
-
], 10, nt))),
|
|
228
|
-
128
|
|
229
|
-
/* KEYED_FRAGMENT */
|
|
230
|
-
))
|
|
231
|
-
],
|
|
232
|
-
2
|
|
233
|
-
/* CLASS */
|
|
234
|
-
)) : l("v-if", !0),
|
|
235
|
-
l(" Скроллируемая область с обычными элементами "),
|
|
236
|
-
u("div", rt, [
|
|
237
|
-
u(
|
|
238
|
-
"ul",
|
|
239
|
-
{
|
|
240
|
-
class: c(["sidebar__list", { "sidebar-horizontal__list": s.horizontal }])
|
|
241
|
-
},
|
|
242
|
-
[
|
|
243
|
-
(n(!0), a(
|
|
244
|
-
V,
|
|
245
|
-
null,
|
|
246
|
-
H(e.regularItems, (i, h) => (n(), a("li", {
|
|
247
|
-
key: h,
|
|
248
|
-
class: c(["sidebar__item", { "sidebar-horizontal__item": s.horizontal }]),
|
|
249
|
-
onClick: (b) => e.onItemClick(b, i.itemId)
|
|
250
|
-
}, [
|
|
251
|
-
i.name ? (n(), v(e.Tooltip, {
|
|
252
|
-
key: 0,
|
|
253
|
-
text: i.name,
|
|
254
|
-
position: "right",
|
|
255
|
-
offset: 8
|
|
256
|
-
}, {
|
|
257
|
-
default: y(() => [
|
|
258
|
-
u("img", {
|
|
259
|
-
src: i.icon,
|
|
260
|
-
alt: i.name,
|
|
261
|
-
class: c(["sidebar__image", {
|
|
262
|
-
"sidebar__image--active": i.selected === !0,
|
|
263
|
-
"sidebar-horizontal__image": s.horizontal
|
|
264
|
-
}])
|
|
265
|
-
}, null, 10, ct)
|
|
266
|
-
]),
|
|
267
|
-
_: 2
|
|
268
|
-
/* DYNAMIC */
|
|
269
|
-
}, 1032, ["text"])) : (n(), a("img", {
|
|
270
|
-
key: 1,
|
|
271
|
-
src: i.icon,
|
|
272
|
-
alt: "icon",
|
|
273
|
-
class: c(["sidebar__image", {
|
|
274
|
-
"sidebar__image--active": i.selected === !0,
|
|
275
|
-
"sidebar-horizontal__image": s.horizontal
|
|
153
|
+
), (t, e) => (i(), s("div", {
|
|
154
|
+
ref_key: "containerRef",
|
|
155
|
+
ref: d,
|
|
156
|
+
class: r(["sidebar__container", { "sidebar-horizontal__container": n.horizontal }])
|
|
157
|
+
}, [
|
|
158
|
+
!n.horizontal && S.value ? (i(), s("span", {
|
|
159
|
+
key: 0,
|
|
160
|
+
class: r(["sidebar__selected-bar", { "is-animating": z.value }]),
|
|
161
|
+
style: Z({ top: T.value + "px", height: b.value + "px" })
|
|
162
|
+
}, null, 6)) : l("", !0),
|
|
163
|
+
A.value.length > 0 ? (i(), s("ul", {
|
|
164
|
+
key: 1,
|
|
165
|
+
class: r(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": n.horizontal }])
|
|
166
|
+
}, [
|
|
167
|
+
(i(!0), s(F, null, L(A.value, (o, a) => (i(), s("li", {
|
|
168
|
+
key: a,
|
|
169
|
+
class: r(["sidebar__item-fixed", { "sidebar-horizontal__item": n.horizontal }]),
|
|
170
|
+
onClick: (f) => q(f, o.itemId)
|
|
171
|
+
}, [
|
|
172
|
+
o.name ? (i(), _(I, {
|
|
173
|
+
key: 0,
|
|
174
|
+
text: P(o.name),
|
|
175
|
+
position: "right",
|
|
176
|
+
offset: 8
|
|
177
|
+
}, {
|
|
178
|
+
default: h(() => [
|
|
179
|
+
c("img", {
|
|
180
|
+
src: o.icon,
|
|
181
|
+
alt: o.name,
|
|
182
|
+
class: r(["sidebar__image", {
|
|
183
|
+
"sidebar__image--active": o.selected === !0,
|
|
184
|
+
"sidebar-horizontal__image": n.horizontal
|
|
185
|
+
}])
|
|
186
|
+
}, null, 10, ot),
|
|
187
|
+
e[0] || (e[0] = c("p", null, "Мои", -1))
|
|
188
|
+
]),
|
|
189
|
+
_: 2
|
|
190
|
+
}, 1032, ["text"])) : l("", !0),
|
|
191
|
+
o.notificationCount ? (i(), s("span", it, V(o.notificationCount > 99 ? "99+" : o.notificationCount), 1)) : l("", !0)
|
|
192
|
+
], 10, et))), 128))
|
|
193
|
+
], 2)) : l("", !0),
|
|
194
|
+
c("div", nt, [
|
|
195
|
+
c("ul", {
|
|
196
|
+
class: r(["sidebar__list", { "sidebar-horizontal__list": n.horizontal }])
|
|
197
|
+
}, [
|
|
198
|
+
(i(!0), s(F, null, L(D.value, (o, a) => (i(), s("li", {
|
|
199
|
+
key: a,
|
|
200
|
+
class: r(["sidebar__item", { "sidebar-horizontal__item": n.horizontal }]),
|
|
201
|
+
onClick: (f) => q(f, o.itemId)
|
|
202
|
+
}, [
|
|
203
|
+
o.name ? (i(), _(I, {
|
|
204
|
+
key: 0,
|
|
205
|
+
text: o.name,
|
|
206
|
+
position: "right",
|
|
207
|
+
offset: 8
|
|
208
|
+
}, {
|
|
209
|
+
default: h(() => [
|
|
210
|
+
c("img", {
|
|
211
|
+
src: o.icon,
|
|
212
|
+
alt: o.name,
|
|
213
|
+
class: r(["sidebar__image", {
|
|
214
|
+
"sidebar__image--active": o.selected === !0,
|
|
215
|
+
"sidebar-horizontal__image": n.horizontal
|
|
276
216
|
}])
|
|
277
|
-
}, null, 10,
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
))
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
)
|
|
217
|
+
}, null, 10, at)
|
|
218
|
+
]),
|
|
219
|
+
_: 2
|
|
220
|
+
}, 1032, ["text"])) : (i(), s("img", {
|
|
221
|
+
key: 1,
|
|
222
|
+
src: o.icon,
|
|
223
|
+
alt: "icon",
|
|
224
|
+
class: r(["sidebar__image", {
|
|
225
|
+
"sidebar__image--active": o.selected === !0,
|
|
226
|
+
"sidebar-horizontal__image": n.horizontal
|
|
227
|
+
}])
|
|
228
|
+
}, null, 10, rt)),
|
|
229
|
+
o.notificationCount ? (i(), s("span", lt, V(o.notificationCount > 99 ? "99+" : o.notificationCount), 1)) : l("", !0)
|
|
230
|
+
], 10, st))), 128))
|
|
231
|
+
], 2)
|
|
293
232
|
]),
|
|
294
|
-
|
|
295
|
-
|
|
233
|
+
n.showSettings ? (i(), s("div", ct, [
|
|
234
|
+
n.settingsButtonMode === "menu" ? (i(), _($, {
|
|
296
235
|
key: 0,
|
|
297
|
-
actions:
|
|
236
|
+
actions: w.value,
|
|
298
237
|
mode: "click",
|
|
299
238
|
"menu-side": "top-right",
|
|
300
|
-
onClick:
|
|
301
|
-
onButtonClick:
|
|
239
|
+
onClick: U,
|
|
240
|
+
onButtonClick: W
|
|
302
241
|
}, {
|
|
303
|
-
default:
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
242
|
+
default: h(() => [
|
|
243
|
+
c("button", ut, [
|
|
244
|
+
H(Y),
|
|
245
|
+
n.showSettingsIndicator ? (i(), s("span", dt, [
|
|
246
|
+
x.value ? (i(), _(I, {
|
|
308
247
|
key: 0,
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
248
|
+
ref_key: "settingsIndicatorTooltipRef",
|
|
249
|
+
ref: C,
|
|
250
|
+
text: n.settingsIndicatorTooltip,
|
|
251
|
+
texts: k.value,
|
|
312
252
|
position: "top",
|
|
313
253
|
offset: 8,
|
|
314
254
|
"max-width": "460px",
|
|
315
|
-
"auto-show-duration":
|
|
255
|
+
"auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
|
|
316
256
|
}, {
|
|
317
|
-
default:
|
|
318
|
-
|
|
319
|
-
"span",
|
|
320
|
-
{ class: "sidebar__settings-indicator" },
|
|
321
|
-
null,
|
|
322
|
-
-1
|
|
323
|
-
/* CACHED */
|
|
324
|
-
)
|
|
257
|
+
default: h(() => [...e[1] || (e[1] = [
|
|
258
|
+
c("span", { class: "sidebar__settings-indicator" }, null, -1)
|
|
325
259
|
])]),
|
|
326
260
|
_: 1
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
])) : l("v-if", !0)
|
|
261
|
+
}, 8, ["text", "texts", "auto-show-duration"])) : (i(), s("span", ft))
|
|
262
|
+
])) : l("", !0)
|
|
330
263
|
])
|
|
331
264
|
]),
|
|
332
265
|
_: 1
|
|
333
|
-
|
|
334
|
-
}, 8, ["actions"])) : (n(), a("button", {
|
|
266
|
+
}, 8, ["actions"])) : (i(), s("button", {
|
|
335
267
|
key: 1,
|
|
336
268
|
class: "sidebar__settings-btn",
|
|
337
269
|
type: "button",
|
|
338
|
-
onClick:
|
|
270
|
+
onClick: J
|
|
339
271
|
}, [
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
272
|
+
H(Y),
|
|
273
|
+
n.showSettingsIndicator ? (i(), s("span", mt, [
|
|
274
|
+
x.value ? (i(), _(I, {
|
|
343
275
|
key: 0,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
276
|
+
ref_key: "settingsIndicatorTooltipRef",
|
|
277
|
+
ref: C,
|
|
278
|
+
text: n.settingsIndicatorTooltip,
|
|
279
|
+
texts: k.value,
|
|
347
280
|
position: "top",
|
|
348
281
|
offset: 8,
|
|
349
282
|
"max-width": "460px",
|
|
350
|
-
"auto-show-duration":
|
|
283
|
+
"auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
|
|
351
284
|
}, {
|
|
352
|
-
default:
|
|
353
|
-
|
|
354
|
-
"span",
|
|
355
|
-
{ class: "sidebar__settings-indicator" },
|
|
356
|
-
null,
|
|
357
|
-
-1
|
|
358
|
-
/* CACHED */
|
|
359
|
-
)
|
|
285
|
+
default: h(() => [...e[2] || (e[2] = [
|
|
286
|
+
c("span", { class: "sidebar__settings-indicator" }, null, -1)
|
|
360
287
|
])]),
|
|
361
288
|
_: 1
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
])) : l("v-if", !0)
|
|
289
|
+
}, 8, ["text", "texts", "auto-show-duration"])) : (i(), s("span", gt))
|
|
290
|
+
])) : l("", !0)
|
|
365
291
|
]))
|
|
366
|
-
])) : l("
|
|
367
|
-
],
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
);
|
|
371
|
-
}
|
|
372
|
-
const Tt = /* @__PURE__ */ ot(it, [["render", It], ["__scopeId", "data-v-49e8cce4"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/3_compounds/SideBar/SideBar.vue"]]);
|
|
292
|
+
])) : l("", !0)
|
|
293
|
+
], 2));
|
|
294
|
+
}
|
|
295
|
+
}, kt = /* @__PURE__ */ tt(_t, [["__scopeId", "data-v-f93a9b48"]]);
|
|
373
296
|
export {
|
|
374
|
-
|
|
297
|
+
kt as default
|
|
375
298
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { watch as a, inject as y, onMounted as u, createElementBlock as p, openBlock as h, unref as d, createElementVNode as i, renderSlot as n } from "vue";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import x from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = {
|
|
4
|
+
const f = ["id"], _ = ["id"], m = ["id"], v = ["id"], b = {
|
|
5
5
|
__name: "AdaptiveExtendedLayout",
|
|
6
6
|
props: {
|
|
7
7
|
isSecondColVisible: {
|
|
@@ -13,58 +13,51 @@ const f = {
|
|
|
13
13
|
required: !0
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
|
|
18
|
-
const o = d;
|
|
16
|
+
setup(s) {
|
|
17
|
+
const o = s;
|
|
19
18
|
a(
|
|
20
19
|
() => [o.isSecondColVisible, o.isThirdColVisible],
|
|
21
20
|
() => {
|
|
22
|
-
o.isSecondColVisible &&
|
|
21
|
+
o.isSecondColVisible && r(), o.isThirdColVisible && c();
|
|
23
22
|
},
|
|
24
23
|
{ immediate: !0 }
|
|
25
24
|
);
|
|
26
|
-
const t =
|
|
25
|
+
const t = y("chatAppId"), c = () => {
|
|
27
26
|
const e = document.getElementById("extern-layout-container-" + t);
|
|
28
27
|
e.style.setProperty("--chotto-adaptive-extended-layout-second-col-display", "none"), e.style.setProperty("--chotto-adaptive-extended-layout-third-col-display", "flex"), e.style.setProperty("--chotto-adaptive-extended-layout-second-col-width", "0%"), e.style.setProperty("--chotto-adaptive-extended-layout-third-col-width", "100%");
|
|
29
|
-
},
|
|
28
|
+
}, r = () => {
|
|
30
29
|
const e = document.getElementById("extern-layout-container-" + t);
|
|
31
30
|
e.style.setProperty("--chotto-adaptive-extended-layout-second-col-display", "flex"), e.style.setProperty("--chotto-adaptive-extended-layout-third-col-display", "none"), e.style.setProperty("--chotto-adaptive-extended-layout-second-col-width", "100%"), e.style.setProperty("--chotto-adaptive-extended-layout-third-col-width", "0%");
|
|
32
31
|
};
|
|
33
|
-
|
|
34
|
-
const e = document.getElementById("extern-layout-container-" + t),
|
|
35
|
-
e.style.setProperty("--chotto-adaptive-extended-layout-first-col-width",
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}, v = ["id"], m = ["id"], I = ["id"], b = ["id"];
|
|
41
|
-
function A(d, c, o, t, n, i) {
|
|
42
|
-
return _(), h("div", {
|
|
43
|
-
id: "extern-layout-container-" + t.chatAppId,
|
|
44
|
-
ref: "refContainer",
|
|
45
|
-
class: "extend-layout__container"
|
|
46
|
-
}, [
|
|
47
|
-
s("div", {
|
|
48
|
-
id: "extend-layout-first-col-" + t.chatAppId,
|
|
49
|
-
class: "extend-layout__first-col"
|
|
50
|
-
}, [
|
|
51
|
-
l(d.$slots, "first-col", {}, void 0, !0)
|
|
52
|
-
], 8, m),
|
|
53
|
-
s("div", {
|
|
54
|
-
id: "extend-layout-second-col-" + t.chatAppId,
|
|
55
|
-
class: "extend-layout__second-col"
|
|
32
|
+
return u(() => {
|
|
33
|
+
const e = document.getElementById("extern-layout-container-" + t), l = document.getElementById("extend-layout-first-col-" + t);
|
|
34
|
+
e.style.setProperty("--chotto-adaptive-extended-layout-first-col-width", l.offsetWidth + "px");
|
|
35
|
+
}), (e, l) => (h(), p("div", {
|
|
36
|
+
id: "extern-layout-container-" + d(t),
|
|
37
|
+
ref: "refContainer",
|
|
38
|
+
class: "extend-layout__container"
|
|
56
39
|
}, [
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
40
|
+
i("div", {
|
|
41
|
+
id: "extend-layout-first-col-" + d(t),
|
|
42
|
+
class: "extend-layout__first-col"
|
|
43
|
+
}, [
|
|
44
|
+
n(e.$slots, "first-col", {}, void 0, !0)
|
|
45
|
+
], 8, _),
|
|
46
|
+
i("div", {
|
|
47
|
+
id: "extend-layout-second-col-" + d(t),
|
|
48
|
+
class: "extend-layout__second-col"
|
|
49
|
+
}, [
|
|
50
|
+
n(e.$slots, "second-col", {}, void 0, !0)
|
|
51
|
+
], 8, m),
|
|
52
|
+
i("div", {
|
|
53
|
+
id: "extend-layout-third-col-" + d(t),
|
|
54
|
+
class: "extend-layout__third-col"
|
|
55
|
+
}, [
|
|
56
|
+
n(e.$slots, "third-col", {}, void 0, !0)
|
|
57
|
+
], 8, v)
|
|
58
|
+
], 8, f));
|
|
59
|
+
}
|
|
60
|
+
}, B = /* @__PURE__ */ x(b, [["__scopeId", "data-v-45cdbb05"]]);
|
|
68
61
|
export {
|
|
69
|
-
|
|
62
|
+
B as default
|
|
70
63
|
};
|