@mobilon-dev/chotto 0.3.97 → 0.3.98

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 +29 -4
  3. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +42 -61
  4. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue.js +47 -4
  5. package/dist/components/1_atoms/ContactContextMenu/ContactContextMenu.vue2.js +55 -82
  6. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +86 -51
  7. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +32 -4
  8. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +7 -28
  9. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue.js +22 -38
  10. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +33 -2
  11. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +37 -4
  12. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +7 -21
  13. package/dist/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.js +30 -19
  14. package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +70 -4
  15. package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +76 -108
  16. package/dist/components/1_icons/AvatarIcon.vue.js +8 -8
  17. package/dist/components/1_icons/CheckIcon.vue.js +26 -13
  18. package/dist/components/1_icons/CloseButtonIcon.vue.js +16 -10
  19. package/dist/components/1_icons/CloseIcon.vue.js +16 -10
  20. package/dist/components/1_icons/ContactCRMIcon.vue.js +16 -10
  21. package/dist/components/1_icons/MenuIcon.vue.js +16 -10
  22. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +23 -3
  23. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +12 -21
  24. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +36 -4
  25. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +11 -26
  26. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +23 -3
  27. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +12 -21
  28. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +23 -3
  29. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +11 -20
  30. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +33 -4
  31. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +11 -23
  32. package/dist/components/1_icons/SearchIcon.vue.js +29 -17
  33. package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
  34. package/dist/components/1_icons/TelegramIcon.vue.js +32 -20
  35. package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -20
  36. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +546 -396
  37. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +101 -58
  38. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +14 -8
  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 +19 -13
  42. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +16 -10
  43. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +35 -23
  44. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -20
  45. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +17 -11
  46. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
  47. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -20
  48. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +33 -21
  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 +74 -4
  52. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +8 -42
  53. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +62 -4
  54. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +15 -36
  55. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +49 -4
  56. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +22 -45
  57. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +36 -4
  58. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +19 -37
  59. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +61 -4
  60. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +79 -96
  61. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +31 -27
  62. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +13 -2
  63. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +72 -4
  64. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +47 -83
  65. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +19 -21
  66. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +13 -2
  67. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +80 -51
  68. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +182 -4
  69. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +25 -135
  70. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +78 -4
  71. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +73 -95
  72. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +15 -17
  73. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +13 -2
  74. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +39 -33
  75. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +220 -4
  76. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +146 -256
  77. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +39 -41
  78. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +13 -2
  79. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +233 -163
  80. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +164 -4
  81. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +87 -175
  82. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +73 -4
  83. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +34 -60
  84. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +47 -4
  85. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +10 -23
  86. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +52 -4
  87. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +8 -26
  88. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +299 -220
  89. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +39 -33
  90. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +306 -4
  91. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +134 -311
  92. package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +18 -12
  93. package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +23 -11
  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 +34 -22
  96. package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +15 -9
  97. package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +26 -14
  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 +52 -24
  100. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +84 -4
  101. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +35 -67
  102. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +72 -38
  103. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +76 -57
  104. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +41 -29
  105. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +176 -115
  106. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +48 -27
  107. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +58 -28
  108. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +54 -4
  109. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +19 -39
  110. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +458 -4
  111. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +160 -471
  112. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +19 -4
  113. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +12 -22
  114. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +26 -4
  115. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +26 -39
  116. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +482 -4
  117. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +148 -448
  118. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +17 -19
  119. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +13 -2
  120. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +17 -19
  121. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +13 -2
  122. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +17 -4
  123. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
  124. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +16 -3
  125. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
  126. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +67 -4
  127. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +11 -43
  128. package/dist/components/2_feed_elements/DeletedMessageContent/icons/DeletedMessageIcon.vue.js +16 -10
  129. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +60 -4
  130. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +36 -53
  131. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +22 -4
  132. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +8 -15
  133. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +43 -4
  134. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +10 -25
  135. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +250 -4
  136. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +67 -233
  137. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +315 -4
  138. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +98 -319
  139. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +39 -4
  140. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +12 -22
  141. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +155 -4
  142. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +110 -212
  143. package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +32 -20
  144. package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +32 -20
  145. package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +17 -11
  146. package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +16 -10
  147. package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +17 -11
  148. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +22 -4
  149. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +17 -23
  150. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +28 -4
  151. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +27 -29
  152. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +142 -4
  153. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +33 -121
  154. package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +34 -22
  155. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +55 -4
  156. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +8 -30
  157. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +47 -4
  158. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +9 -25
  159. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +56 -4
  160. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +8 -37
  161. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +72 -4
  162. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +10 -59
  163. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +142 -4
  164. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +36 -120
  165. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +49 -4
  166. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +15 -53
  167. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +75 -4
  168. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +10 -63
  169. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +18 -4
  170. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +9 -17
  171. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +346 -4
  172. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +73 -307
  173. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +17 -4
  174. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
  175. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +307 -4
  176. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +65 -269
  177. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +37 -4
  178. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +7 -21
  179. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +307 -4
  180. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +76 -298
  181. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +64 -4
  182. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +10 -45
  183. package/dist/components/2_modals/CreateChat/CreateChat.vue.js +35 -18
  184. package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +140 -92
  185. package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +96 -49
  186. package/dist/components/2_modals/Modal/Modal.vue.js +59 -50
  187. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +51 -38
  188. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +39 -30
  189. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +155 -4
  190. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +49 -121
  191. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +60 -43
  192. package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +41 -24
  193. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +85 -4
  194. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +149 -210
  195. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +25 -21
  196. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +13 -2
  197. package/dist/components/3_compounds/ChatList/ChatList.vue.js +253 -163
  198. package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +50 -32
  199. package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
  200. package/dist/components/3_compounds/Feed/Feed.vue.js +172 -4
  201. package/dist/components/3_compounds/Feed/Feed.vue2.js +126 -257
  202. package/dist/components/3_compounds/SideBar/SideBar.vue.js +279 -202
  203. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +43 -36
  204. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
  205. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +32 -4
  206. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +7 -29
  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 +31 -18
  210. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +85 -56
  211. package/package.json +1 -1
@@ -1,31 +1,10 @@
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";
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";
2
2
  import $ from "../../1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
3
- import Y from "../../1_icons/SettingsIcon.vue.js";
4
- import I from "../../1_atoms/Tooltip/Tooltip.vue.js";
3
+ import tt from "../../1_icons/SettingsIcon.vue.js";
4
+ import et from "../../1_atoms/Tooltip/Tooltip.vue.js";
5
5
  /* empty css */
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 = {
6
+ import ot from "../../../_virtual/_plugin-vue_export-helper.js";
7
+ const it = {
29
8
  __name: "SideBar",
30
9
  props: {
31
10
  sidebarItems: {
@@ -78,221 +57,319 @@ const et = ["onClick"], ot = ["src", "alt"], it = {
78
57
  }
79
58
  },
80
59
  emits: ["selectItem", "settingsClick"],
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) => {
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) => {
99
79
  console.log("Выбрано действие:", t), typeof t.action == "function" && t.action();
100
- }, W = () => {
80
+ }, K = () => {
101
81
  console.log("Кнопка меню была нажата");
102
- }, J = () => {
103
- var e;
104
- B("settingsClick");
105
- const t = (e = w.value) == null ? void 0 : e[0];
82
+ }, Q = () => {
83
+ var o;
84
+ i("settingsClick");
85
+ const t = (o = C.value) == null ? void 0 : o[0];
106
86
  t && typeof t.action == "function" && !t.disabled && t.action();
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) => {
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) => {
117
97
  try {
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(() => {
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(() => {
125
105
  z.value = !1;
126
- }, f);
106
+ }, A);
127
107
  });
128
- }, f);
108
+ }, A);
129
109
  } catch {
130
110
  }
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);
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);
149
129
  });
150
130
  });
151
131
  },
152
132
  { flush: "post", immediate: !0 }
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
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
216
276
  }])
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)
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
+ )
232
293
  ]),
233
- n.showSettings ? (i(), s("div", ct, [
234
- n.settingsButtonMode === "menu" ? (i(), _($, {
294
+ s.showSettings ? (n(), a("div", _t, [
295
+ s.settingsButtonMode === "menu" ? (n(), v(e.ButtonContextMenu, {
235
296
  key: 0,
236
- actions: w.value,
297
+ actions: e.menuActions,
237
298
  mode: "click",
238
299
  "menu-side": "top-right",
239
- onClick: U,
240
- onButtonClick: W
300
+ onClick: e.handleMenuAction,
301
+ onButtonClick: e.handleButtonClick
241
302
  }, {
242
- default: h(() => [
243
- c("button", ut, [
244
- H(Y),
245
- n.showSettingsIndicator ? (i(), s("span", dt, [
246
- x.value ? (i(), _(I, {
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, {
247
308
  key: 0,
248
- ref_key: "settingsIndicatorTooltipRef",
249
- ref: C,
250
- text: n.settingsIndicatorTooltip,
251
- texts: k.value,
309
+ ref: "settingsIndicatorTooltipRef",
310
+ text: s.settingsIndicatorTooltip,
311
+ texts: e.normalizedSettingsIndicatorTooltipItems,
252
312
  position: "top",
253
313
  offset: 8,
254
314
  "max-width": "460px",
255
- "auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
315
+ "auto-show-duration": s.settingsIndicatorTooltipAutoShowMs
256
316
  }, {
257
- default: h(() => [...e[1] || (e[1] = [
258
- c("span", { class: "sidebar__settings-indicator" }, null, -1)
317
+ default: y(() => [...d[1] || (d[1] = [
318
+ u(
319
+ "span",
320
+ { class: "sidebar__settings-indicator" },
321
+ null,
322
+ -1
323
+ /* CACHED */
324
+ )
259
325
  ])]),
260
326
  _: 1
261
- }, 8, ["text", "texts", "auto-show-duration"])) : (i(), s("span", ft))
262
- ])) : l("", !0)
327
+ /* STABLE */
328
+ }, 8, ["text", "texts", "auto-show-duration"])) : (n(), a("span", gt))
329
+ ])) : l("v-if", !0)
263
330
  ])
264
331
  ]),
265
332
  _: 1
266
- }, 8, ["actions"])) : (i(), s("button", {
333
+ /* STABLE */
334
+ }, 8, ["actions"])) : (n(), a("button", {
267
335
  key: 1,
268
336
  class: "sidebar__settings-btn",
269
337
  type: "button",
270
- onClick: J
338
+ onClick: e.handleSettingsImmediateClick
271
339
  }, [
272
- H(Y),
273
- n.showSettingsIndicator ? (i(), s("span", mt, [
274
- x.value ? (i(), _(I, {
340
+ P(e.SettingsIcon),
341
+ s.showSettingsIndicator ? (n(), a("span", ht, [
342
+ e.hasSettingsIndicatorTooltipContent ? (n(), v(e.Tooltip, {
275
343
  key: 0,
276
- ref_key: "settingsIndicatorTooltipRef",
277
- ref: C,
278
- text: n.settingsIndicatorTooltip,
279
- texts: k.value,
344
+ ref: "settingsIndicatorTooltipRef",
345
+ text: s.settingsIndicatorTooltip,
346
+ texts: e.normalizedSettingsIndicatorTooltipItems,
280
347
  position: "top",
281
348
  offset: 8,
282
349
  "max-width": "460px",
283
- "auto-show-duration": n.settingsIndicatorTooltipAutoShowMs
350
+ "auto-show-duration": s.settingsIndicatorTooltipAutoShowMs
284
351
  }, {
285
- default: h(() => [...e[2] || (e[2] = [
286
- c("span", { class: "sidebar__settings-indicator" }, null, -1)
352
+ default: y(() => [...d[2] || (d[2] = [
353
+ u(
354
+ "span",
355
+ { class: "sidebar__settings-indicator" },
356
+ null,
357
+ -1
358
+ /* CACHED */
359
+ )
287
360
  ])]),
288
361
  _: 1
289
- }, 8, ["text", "texts", "auto-show-duration"])) : (i(), s("span", gt))
290
- ])) : l("", !0)
362
+ /* STABLE */
363
+ }, 8, ["text", "texts", "auto-show-duration"])) : (n(), a("span", bt))
364
+ ])) : l("v-if", !0)
291
365
  ]))
292
- ])) : l("", !0)
293
- ], 2));
294
- }
295
- }, kt = /* @__PURE__ */ tt(_t, [["__scopeId", "data-v-f93a9b48"]]);
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"]]);
296
373
  export {
297
- kt as default
374
+ Tt as default
298
375
  };
@@ -1,7 +1,7 @@
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";
1
+ import { createElementBlock as h, openBlock as _, createElementVNode as s, renderSlot as l, watch as a, inject as p, onMounted as y } from "vue";
2
2
  /* empty css */
3
3
  import x from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = ["id"], _ = ["id"], m = ["id"], v = ["id"], b = {
4
+ const f = {
5
5
  __name: "AdaptiveExtendedLayout",
6
6
  props: {
7
7
  isSecondColVisible: {
@@ -13,51 +13,58 @@ const f = ["id"], _ = ["id"], m = ["id"], v = ["id"], b = {
13
13
  required: !0
14
14
  }
15
15
  },
16
- setup(s) {
17
- const o = s;
16
+ setup(d, { expose: c }) {
17
+ c();
18
+ const o = d;
18
19
  a(
19
20
  () => [o.isSecondColVisible, o.isThirdColVisible],
20
21
  () => {
21
- o.isSecondColVisible && r(), o.isThirdColVisible && c();
22
+ o.isSecondColVisible && i(), o.isThirdColVisible && n();
22
23
  },
23
24
  { immediate: !0 }
24
25
  );
25
- const t = y("chatAppId"), c = () => {
26
+ const t = p("chatAppId"), n = () => {
26
27
  const e = document.getElementById("extern-layout-container-" + t);
27
28
  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%");
28
- }, r = () => {
29
+ }, i = () => {
29
30
  const e = document.getElementById("extern-layout-container-" + t);
30
31
  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%");
31
32
  };
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"
39
- }, [
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));
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;
59
39
  }
60
- }, B = /* @__PURE__ */ x(b, [["__scopeId", "data-v-45cdbb05"]]);
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"
56
+ }, [
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"]]);
61
68
  export {
62
- B as default
69
+ V as default
63
70
  };