@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.
Files changed (211) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +4 -29
  3. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +61 -42
  4. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +4 -47
  5. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +82 -55
  6. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +51 -86
  7. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +4 -32
  8. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +28 -7
  9. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +38 -22
  10. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -33
  11. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +4 -37
  12. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +21 -7
  13. package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +19 -30
  14. package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +4 -70
  15. package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +108 -76
  16. package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
  17. package/dist/components/1_icons/CheckIcon.vue.js +13 -26
  18. package/dist/components/1_icons/CloseButtonIcon.vue.js +10 -16
  19. package/dist/components/1_icons/CloseIcon.vue.js +10 -16
  20. package/dist/components/1_icons/ContactCRMIcon.vue.js +10 -16
  21. package/dist/components/1_icons/MenuIcon.vue.js +10 -16
  22. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
  23. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
  24. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
  25. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
  26. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
  27. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
  28. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
  29. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
  30. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
  31. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
  32. package/dist/components/1_icons/SearchIcon.vue.js +17 -29
  33. package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
  34. package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
  35. package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
  36. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +396 -546
  37. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
  38. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
  39. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
  40. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
  41. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +13 -19
  42. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
  43. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
  44. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
  45. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
  46. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
  47. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
  48. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
  49. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
  50. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
  51. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +4 -74
  52. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +42 -8
  53. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
  54. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
  55. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
  56. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
  57. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
  58. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
  59. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -61
  60. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +96 -79
  61. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
  62. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
  63. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
  64. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
  65. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
  66. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
  67. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +51 -80
  68. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -182
  69. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +135 -25
  70. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -78
  71. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +95 -73
  72. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
  73. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
  74. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
  75. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
  76. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
  77. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
  78. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
  79. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
  80. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
  81. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
  82. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
  83. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +60 -34
  84. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
  85. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
  86. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
  87. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
  88. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
  89. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +33 -39
  90. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
  91. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +311 -134
  92. package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
  93. package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
  94. package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
  95. package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
  96. package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
  97. package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
  98. package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
  99. package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
  100. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
  101. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +67 -35
  102. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +38 -72
  103. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +57 -76
  104. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
  105. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
  106. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
  107. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
  108. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
  109. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +39 -19
  110. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -458
  111. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +471 -160
  112. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
  113. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
  114. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
  115. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
  116. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
  117. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
  118. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
  119. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
  120. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
  121. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
  122. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
  123. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
  124. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
  125. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
  126. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
  127. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
  128. package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +10 -16
  129. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -60
  130. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +53 -36
  131. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
  132. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
  133. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
  134. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
  135. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -250
  136. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +233 -67
  137. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -315
  138. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +319 -98
  139. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
  140. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
  141. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -155
  142. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +212 -110
  143. package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
  144. package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
  145. package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
  146. package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
  147. package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
  148. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
  149. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
  150. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
  151. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
  152. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
  153. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
  154. package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
  155. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
  156. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
  157. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
  158. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
  159. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
  160. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
  161. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
  162. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
  163. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
  164. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +120 -36
  165. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
  166. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
  167. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -75
  168. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +63 -10
  169. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
  170. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
  171. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -346
  172. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +307 -73
  173. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
  174. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
  175. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -307
  176. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +269 -65
  177. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
  178. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
  179. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -307
  180. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +298 -76
  181. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
  182. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
  183. package/dist/components/2_modals/CreateChat/CreateChat.vue.js +18 -35
  184. package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
  185. package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
  186. package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
  187. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
  188. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
  189. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
  190. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
  191. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
  192. package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
  193. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -85
  194. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +210 -149
  195. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
  196. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
  197. package/dist/components/3_compounds/ChatList/ChatList.vue.js +163 -253
  198. package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +32 -50
  199. package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
  200. package/dist/components/3_compounds/Feed/Feed.vue.js +4 -172
  201. package/dist/components/3_compounds/Feed/Feed.vue2.js +257 -126
  202. package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
  203. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
  204. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
  205. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
  206. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
  207. package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
  208. package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
  209. package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +18 -31
  210. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +56 -85
  211. package/package.json +1 -1
@@ -1,10 +1,31 @@
1
- import { createElementBlock as a, openBlock as n, normalizeClass as c, createCommentVNode as l, createElementVNode as u, normalizeStyle as Z, Fragment as V, renderList as H, createBlock as v, withCtx as y, toDisplayString as j, createVNode as P, toRef as q, computed as p, ref as m, onMounted as Y, nextTick as S, onUnmounted as D, watch as M } from "vue";
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 tt from "../../1_icons/SettingsIcon.vue.js";
4
- import et from "../../1_atoms/Tooltip/Tooltip.vue.js";
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 ot from "../../../_virtual/_plugin-vue_export-helper.js";
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(E, { expose: d, emit: s }) {
61
- d();
62
- const e = E, g = q(e, "sidebarItems"), C = q(e, "menuActions"), i = s, h = p(
63
- () => Array.isArray(e.settingsIndicatorTooltipItems) ? e.settingsIndicatorTooltipItems.map((t) => String(t ?? "").trim()).filter(Boolean) : []
64
- ), b = p(
65
- () => h.value.length > 0 || !!e.settingsIndicatorTooltip.trim()
66
- ), G = p(
67
- () => g.value.filter((t) => t.isFixedBottom).sort((t, o) => o.notificationCount - t.notificationCount)
68
- ), O = p(
69
- () => g.value.filter((t) => !t.isFixedBottom).sort((t, o) => o.notificationCount - t.notificationCount)
70
- ), R = (t) => {
71
- const o = g.value.find((r) => r.itemId === t);
72
- i("selectItem", o);
73
- }, U = (t, o) => {
74
- F(t.currentTarget), R(o);
75
- }, W = (t) => {
76
- const o = t.split(" ");
77
- return o.length > 2 ? o.slice(0, 2).join(" ") : t;
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
- }, K = () => {
100
+ }, W = () => {
81
101
  console.log("Кнопка меню была нажата");
82
- }, Q = () => {
83
- var o;
84
- i("settingsClick");
85
- const t = (o = C.value) == null ? void 0 : o[0];
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
- }, _ = m(null), N = m(null), T = m(!1), x = m(0), k = m(40), z = m(!1), B = (t) => {
88
- const o = _.value;
89
- if (!o || !t) return 0;
90
- const r = o.getBoundingClientRect(), f = t.getBoundingClientRect(), X = f.top + f.height / 2 - r.top - k.value / 2;
91
- return Math.max(0, X);
92
- }, I = () => {
93
- if (!_.value) return;
94
- const o = _.value.querySelector(".sidebar__image--active");
95
- o ? (x.value = B(o), T.value = !0) : T.value = !1;
96
- }, F = (t) => {
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 || !_.value) return;
99
- const o = t.querySelector(".sidebar__image");
100
- if (!o) return;
101
- const r = B(o), f = 12, A = 160;
102
- z.value = !0, k.value = f, setTimeout(() => {
103
- x.value = r, requestAnimationFrame(() => {
104
- k.value = 40, setTimeout(() => {
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
- }, A);
126
+ }, f);
107
127
  });
108
- }, A);
128
+ }, f);
109
129
  } catch {
110
130
  }
111
- }, w = () => I();
112
- Y(() => {
113
- var o;
114
- S(I), window.addEventListener("resize", w);
115
- const t = (o = _.value) == null ? void 0 : o.querySelector(".sidebar__scroll-container");
116
- t && t.addEventListener("scroll", I);
117
- }), D(() => {
118
- var o;
119
- window.removeEventListener("resize", w);
120
- const t = (o = _.value) == null ? void 0 : o.querySelector(".sidebar__scroll-container");
121
- t && t.removeEventListener("scroll", I);
122
- }), M(() => g.value.map((t) => t.selected), () => S(I)), M(
123
- () => e.showSettings && e.showSettingsIndicator && b.value,
124
- (t, o) => {
125
- !t || o === !0 || S(() => {
126
- S(() => {
127
- var r, f;
128
- (f = (r = N.value) == null ? void 0 : r.startAutoShow) == null || f.call(r);
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
- const L = { props: e, items: g, menuActions: C, emit: i, normalizedSettingsIndicatorTooltipItems: h, hasSettingsIndicatorTooltipContent: b, fixedItems: G, regularItems: O, selectItem: R, onItemClick: U, getName: W, handleMenuAction: J, handleButtonClick: K, handleSettingsImmediateClick: Q, containerRef: _, settingsIndicatorTooltipRef: N, barVisible: T, barTop: x, barHeight: k, isAnimating: z, computeTopForAvatar: B, syncBarWithSelected: I, animateBarToTarget: F, handleResize: w, toRef: q, computed: p, ref: m, onMounted: Y, onUnmounted: D, nextTick: S, watch: M, ButtonContextMenu: $, SettingsIcon: tt, Tooltip: et };
135
- return Object.defineProperty(L, "__isScriptSetup", { enumerable: !1, value: !0 }), L;
136
- }
137
- }, nt = ["onClick"], st = ["src", "alt"], at = {
138
- key: 1,
139
- class: "sidebar__notification-count"
140
- }, rt = { class: "sidebar__scroll-container" }, lt = ["onClick"], ct = ["src", "alt"], dt = ["src"], ut = { key: 2 }, _t = {
141
- key: 2,
142
- class: "sidebar__settings-container"
143
- }, ft = {
144
- class: "sidebar__settings-btn",
145
- type: "button"
146
- }, mt = {
147
- key: 0,
148
- class: "sidebar__settings-indicator-anchor"
149
- }, gt = {
150
- key: 1,
151
- class: "sidebar__settings-indicator"
152
- }, ht = {
153
- key: 0,
154
- class: "sidebar__settings-indicator-anchor"
155
- }, bt = {
156
- key: 1,
157
- class: "sidebar__settings-indicator"
158
- };
159
- function It(E, d, s, e, g, C) {
160
- return n(), a(
161
- "div",
162
- {
163
- ref: "containerRef",
164
- class: c(["sidebar__container", { "sidebar-horizontal__container": s.horizontal }])
165
- },
166
- [
167
- !s.horizontal && e.barVisible ? (n(), a(
168
- "span",
169
- {
170
- key: 0,
171
- class: c(["sidebar__selected-bar", { "is-animating": e.isAnimating }]),
172
- style: Z({ top: e.barTop + "px", height: e.barHeight + "px" })
173
- },
174
- null,
175
- 6
176
- /* CLASS, STYLE */
177
- )) : l("v-if", !0),
178
- l(" Закреплённые элементы (вне скролла) "),
179
- e.fixedItems.length > 0 ? (n(), a(
180
- "ul",
181
- {
182
- key: 1,
183
- class: c(["sidebar__list-fixed", { "sidebar-horizontal__list-fixed": s.horizontal }])
184
- },
185
- [
186
- (n(!0), a(
187
- V,
188
- null,
189
- H(e.fixedItems, (i, h) => (n(), a("li", {
190
- key: h,
191
- class: c(["sidebar__item-fixed", { "sidebar-horizontal__item": s.horizontal }]),
192
- onClick: (b) => e.onItemClick(b, i.itemId)
193
- }, [
194
- i.name ? (n(), v(e.Tooltip, {
195
- key: 0,
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, dt)),
278
- i.notificationCount ? (n(), a(
279
- "span",
280
- ut,
281
- j(i.notificationCount > 99 ? "99+" : i.notificationCount),
282
- 1
283
- /* TEXT */
284
- )) : l("v-if", !0)
285
- ], 10, lt))),
286
- 128
287
- /* KEYED_FRAGMENT */
288
- ))
289
- ],
290
- 2
291
- /* CLASS */
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
- s.showSettings ? (n(), a("div", _t, [
295
- s.settingsButtonMode === "menu" ? (n(), v(e.ButtonContextMenu, {
233
+ n.showSettings ? (i(), s("div", ct, [
234
+ n.settingsButtonMode === "menu" ? (i(), _($, {
296
235
  key: 0,
297
- actions: e.menuActions,
236
+ actions: w.value,
298
237
  mode: "click",
299
238
  "menu-side": "top-right",
300
- onClick: e.handleMenuAction,
301
- onButtonClick: e.handleButtonClick
239
+ onClick: U,
240
+ onButtonClick: W
302
241
  }, {
303
- default: y(() => [
304
- u("button", ft, [
305
- P(e.SettingsIcon),
306
- s.showSettingsIndicator ? (n(), a("span", mt, [
307
- e.hasSettingsIndicatorTooltipContent ? (n(), v(e.Tooltip, {
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
- ref: "settingsIndicatorTooltipRef",
310
- text: s.settingsIndicatorTooltip,
311
- texts: e.normalizedSettingsIndicatorTooltipItems,
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": s.settingsIndicatorTooltipAutoShowMs
255
+ "auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
316
256
  }, {
317
- default: y(() => [...d[1] || (d[1] = [
318
- u(
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
- /* STABLE */
328
- }, 8, ["text", "texts", "auto-show-duration"])) : (n(), a("span", gt))
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
- /* STABLE */
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: e.handleSettingsImmediateClick
270
+ onClick: J
339
271
  }, [
340
- P(e.SettingsIcon),
341
- s.showSettingsIndicator ? (n(), a("span", ht, [
342
- e.hasSettingsIndicatorTooltipContent ? (n(), v(e.Tooltip, {
272
+ H(Y),
273
+ n.showSettingsIndicator ? (i(), s("span", mt, [
274
+ x.value ? (i(), _(I, {
343
275
  key: 0,
344
- ref: "settingsIndicatorTooltipRef",
345
- text: s.settingsIndicatorTooltip,
346
- texts: e.normalizedSettingsIndicatorTooltipItems,
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": s.settingsIndicatorTooltipAutoShowMs
283
+ "auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
351
284
  }, {
352
- default: y(() => [...d[2] || (d[2] = [
353
- u(
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
- /* STABLE */
363
- }, 8, ["text", "texts", "auto-show-duration"])) : (n(), a("span", bt))
364
- ])) : l("v-if", !0)
289
+ }, 8, ["text", "texts", "auto-show-duration"])) : (i(), s("span", gt))
290
+ ])) : l("", !0)
365
291
  ]))
366
- ])) : l("v-if", !0)
367
- ],
368
- 2
369
- /* CLASS */
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
- Tt as default
297
+ kt as default
375
298
  };
@@ -1,7 +1,7 @@
1
- import { createElementBlock as h, openBlock as _, createElementVNode as s, renderSlot as l, watch as a, inject as p, onMounted as y } from "vue";
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(d, { expose: c }) {
17
- c();
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 && i(), o.isThirdColVisible && n();
21
+ o.isSecondColVisible && r(), o.isThirdColVisible && c();
23
22
  },
24
23
  { immediate: !0 }
25
24
  );
26
- const t = p("chatAppId"), n = () => {
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
- }, i = () => {
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
- y(() => {
34
- const e = document.getElementById("extern-layout-container-" + t), u = document.getElementById("extend-layout-first-col-" + t);
35
- e.style.setProperty("--chotto-adaptive-extended-layout-first-col-width", u.offsetWidth + "px");
36
- });
37
- const r = { props: o, chatAppId: t, setThirdColVisible: n, setSecondColVisible: i, inject: p, watch: a, onMounted: y };
38
- return Object.defineProperty(r, "__isScriptSetup", { enumerable: !1, value: !0 }), r;
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
- l(d.$slots, "second-col", {}, void 0, !0)
58
- ], 8, I),
59
- s("div", {
60
- id: "extend-layout-third-col-" + t.chatAppId,
61
- class: "extend-layout__third-col"
62
- }, [
63
- l(d.$slots, "third-col", {}, void 0, !0)
64
- ], 8, b)
65
- ], 8, v);
66
- }
67
- const V = /* @__PURE__ */ x(f, [["render", A], ["__scopeId", "data-v-2399a1d0"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue"]]);
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
- V as default
62
+ B as default
70
63
  };