@mobilon-dev/chotto 0.3.121 → 0.3.124

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 (227) 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 +59 -40
  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 +35 -22
  10. package/dist/components/1_atoms/EmojiGlyph/EmojiGlyph.vue2.js +2 -30
  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/DeletedMessageIcon.vue.js +11 -17
  22. package/dist/components/1_icons/MenuIcon.vue.js +10 -16
  23. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue.js +3 -23
  24. package/dist/components/1_icons/MessageStatus/ErrorStatusIcon.vue2.js +21 -12
  25. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue.js +4 -36
  26. package/dist/components/1_icons/MessageStatus/PendingStatusIcon.vue2.js +26 -11
  27. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue.js +3 -23
  28. package/dist/components/1_icons/MessageStatus/ReadStatusIcon.vue2.js +21 -12
  29. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue.js +3 -23
  30. package/dist/components/1_icons/MessageStatus/ReceivedStatusIcon.vue2.js +20 -11
  31. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue.js +4 -33
  32. package/dist/components/1_icons/MessageStatus/SentStatusIcon.vue2.js +23 -11
  33. package/dist/components/1_icons/SearchIcon.vue.js +17 -29
  34. package/dist/components/1_icons/SettingsIcon.vue.js +8 -8
  35. package/dist/components/1_icons/TelegramIcon.vue.js +20 -32
  36. package/dist/components/1_icons/VerifiedBadge.vue.js +19 -25
  37. package/dist/components/1_icons/WhatsAppIcon.vue.js +20 -32
  38. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +402 -552
  39. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanelAttributeIndicator.vue.js +58 -101
  40. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelCheckIcon.vue.js +8 -14
  41. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelConfirmSpinner.vue.js +7 -7
  42. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +7 -7
  43. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +13 -19
  44. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +10 -16
  45. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +23 -35
  46. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +20 -32
  47. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +11 -17
  48. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +8 -8
  49. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +20 -32
  50. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +21 -33
  51. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelUnconfirmedIcon.vue.js +7 -7
  52. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +8 -8
  53. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +4 -74
  54. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +46 -12
  55. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +4 -62
  56. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +36 -15
  57. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +4 -49
  58. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +45 -22
  59. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +4 -36
  60. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +37 -19
  61. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +4 -62
  62. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue2.js +98 -80
  63. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +27 -31
  64. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue2.js +2 -13
  65. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +4 -72
  66. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue2.js +83 -47
  67. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +21 -19
  68. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue2.js +2 -13
  69. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +45 -76
  70. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +4 -100
  71. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +91 -16
  72. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +4 -79
  73. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +111 -88
  74. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +17 -15
  75. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue2.js +2 -13
  76. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +33 -39
  77. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue.js +4 -220
  78. package/dist/components/2_chatinput_elements/StickerPicker/StickerPicker.vue2.js +256 -146
  79. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue.js +41 -39
  80. package/dist/components/2_chatinput_elements/StickerPicker/icons/StickerIcon.vue2.js +2 -13
  81. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +163 -233
  82. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +4 -164
  83. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +175 -87
  84. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +4 -73
  85. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +58 -32
  86. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +4 -47
  87. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +23 -10
  88. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +4 -52
  89. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +26 -8
  90. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +220 -299
  91. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +35 -41
  92. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +4 -306
  93. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +314 -131
  94. package/dist/components/2_chatlist_elements/ChatItem/icons/AudioIcon.vue.js +12 -18
  95. package/dist/components/2_chatlist_elements/ChatItem/icons/FileIcon.vue.js +11 -23
  96. package/dist/components/2_chatlist_elements/ChatItem/icons/ImageIcon.vue.js +7 -7
  97. package/dist/components/2_chatlist_elements/ChatItem/icons/MissedCallIcon.vue.js +22 -34
  98. package/dist/components/2_chatlist_elements/ChatItem/icons/StickerIcon.vue.js +9 -15
  99. package/dist/components/2_chatlist_elements/ChatItem/icons/VideoIcon.vue.js +14 -26
  100. package/dist/components/2_chatlist_elements/ChatItem/icons/VoiceIcon.vue.js +7 -7
  101. package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +24 -52
  102. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +4 -84
  103. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +68 -36
  104. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +37 -71
  105. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +62 -83
  106. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +29 -41
  107. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +115 -176
  108. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +27 -48
  109. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +28 -58
  110. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +4 -54
  111. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +42 -22
  112. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +4 -460
  113. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +499 -181
  114. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue.js +4 -19
  115. package/dist/components/2_feed_elements/BaseEditMessage/BaseEditMessage.vue2.js +22 -12
  116. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +4 -26
  117. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +39 -26
  118. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +4 -482
  119. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +448 -148
  120. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +19 -17
  121. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +2 -13
  122. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +19 -17
  123. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +2 -13
  124. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +4 -17
  125. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +7 -7
  126. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +3 -16
  127. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +7 -7
  128. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue.js +4 -67
  129. package/dist/components/2_feed_elements/DeletedMessageContent/DeletedMessageContent.vue2.js +43 -11
  130. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue.js +4 -47
  131. package/dist/components/2_feed_elements/DelimiterMessage/DelimiterMessage.vue2.js +46 -37
  132. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue.js +4 -22
  133. package/dist/components/2_feed_elements/EditTextMessage/EditTextMessage.vue2.js +15 -8
  134. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +4 -43
  135. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +25 -10
  136. package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue.js +4 -52
  137. package/dist/components/2_feed_elements/FeedReplyQuote/FeedReplyQuote.vue2.js +39 -16
  138. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +4 -270
  139. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +274 -95
  140. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +4 -409
  141. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +422 -143
  142. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +4 -39
  143. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +22 -12
  144. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +4 -57
  145. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +69 -41
  146. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue.js +4 -97
  147. package/dist/components/2_feed_elements/MessageReactions/MessageReactionsOverlay.vue2.js +173 -102
  148. package/dist/components/2_feed_elements/MessageReactions/icons/DeleteIcon.vue.js +20 -32
  149. package/dist/components/2_feed_elements/MessageReactions/icons/EditIcon.vue.js +20 -32
  150. package/dist/components/2_feed_elements/MessageReactions/icons/ExpandReactionsIcon.vue.js +11 -17
  151. package/dist/components/2_feed_elements/MessageReactions/icons/MessageActionsIcon.vue.js +10 -16
  152. package/dist/components/2_feed_elements/MessageReactions/icons/ReplyIcon.vue.js +11 -17
  153. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +4 -22
  154. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +23 -17
  155. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +4 -28
  156. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +29 -27
  157. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue.js +4 -142
  158. package/dist/components/2_feed_elements/MissedCallMessage/MissedCallMessage.vue2.js +121 -33
  159. package/dist/components/2_feed_elements/MissedCallMessage/icons/MissedCallIcon.vue.js +22 -34
  160. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +4 -55
  161. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +30 -8
  162. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +4 -47
  163. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +25 -9
  164. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +4 -56
  165. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +37 -8
  166. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +4 -72
  167. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +59 -10
  168. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +4 -142
  169. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +118 -34
  170. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +4 -49
  171. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +53 -15
  172. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +4 -94
  173. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +76 -10
  174. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +4 -18
  175. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +17 -9
  176. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +4 -348
  177. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +339 -97
  178. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +4 -17
  179. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +7 -7
  180. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +4 -308
  181. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +299 -89
  182. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +4 -37
  183. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +21 -7
  184. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +4 -321
  185. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +338 -96
  186. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue.js +4 -64
  187. package/dist/components/2_modals/ConfirmDeleteMessage/ConfirmDeleteMessage.vue3.js +45 -10
  188. package/dist/components/2_modals/CreateChat/CreateChat.vue.js +19 -36
  189. package/dist/components/2_modals/CreateChat2/CreateChat2.vue.js +92 -140
  190. package/dist/components/2_modals/CreateDialog/CreateDialog.vue.js +49 -96
  191. package/dist/components/2_modals/Modal/Modal.vue.js +50 -59
  192. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +38 -51
  193. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +30 -39
  194. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +4 -155
  195. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js +121 -49
  196. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +43 -60
  197. package/dist/components/2_modals/SelectUser2/SelectUser2.vue.js +24 -41
  198. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +4 -170
  199. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +336 -239
  200. package/dist/components/3_compounds/ChatInput/icons/ArrowIcon.vue.js +25 -43
  201. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +21 -25
  202. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +2 -13
  203. package/dist/components/3_compounds/ChatList/ChatList.vue.js +166 -256
  204. package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +39 -57
  205. package/dist/components/3_compounds/ChatList/icons/LogoIcon.vue.js +6 -6
  206. package/dist/components/3_compounds/Feed/Feed.vue.js +4 -185
  207. package/dist/components/3_compounds/Feed/Feed.vue2.js +314 -161
  208. package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +19 -17
  209. package/dist/components/3_compounds/SideBar/SideBar.vue.js +202 -279
  210. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +36 -43
  211. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +5 -5
  212. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +4 -32
  213. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +29 -7
  214. package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +7 -7
  215. package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +8 -8
  216. package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +18 -33
  217. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +59 -90
  218. package/dist/themes/dark.css +1 -1
  219. package/dist/themes/default.css +1 -1
  220. package/dist/themes/glass.css +1 -1
  221. package/dist/themes/green.css +1 -1
  222. package/dist/themes/mobilon1.css +1 -1
  223. package/dist/types/src/apps/data/chats.d.ts +48 -4
  224. package/dist/types/src/apps/data/messages.d.ts +366 -282
  225. package/dist/types/src/components/2_chatlist_elements/ChatTabs/styles/types.d.ts +2 -0
  226. package/dist/types/src/components/3_compounds/Feed/composables/useFeedScroll.d.ts +2 -0
  227. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { createElementBlock as l, openBlock as m, createElementVNode as p, withDirectives as _, toDisplayString as u, vModelText as d, ref as i } from "vue";
1
+ import { ref as m, createElementBlock as p, openBlock as s, createElementVNode as n, withDirectives as c, toDisplayString as u, vModelText as d } from "vue";
2
2
  import "./CreateChat.vue2.js";
3
- import h from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = {
3
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const v = {
5
5
  __name: "CreateChat",
6
6
  props: {
7
7
  title: {
@@ -10,40 +10,23 @@ const f = {
10
10
  }
11
11
  },
12
12
  emits: ["change"],
13
- setup(a, { expose: t, emit: n }) {
14
- t();
15
- const e = a, o = i(""), r = n, c = { props: e, name: o, emit: r, onChange: () => {
16
- r("change", { name: o.value });
17
- }, ref: i };
18
- return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
19
- }
20
- };
21
- function C(a, t, n, e, o, r) {
22
- return m(), l("div", null, [
23
- p(
24
- "h2",
25
- null,
26
- u(n.title),
27
- 1
28
- /* TEXT */
29
- ),
30
- _(p(
31
- "input",
32
- {
33
- "onUpdate:modelValue": t[0] || (t[0] = (s) => e.name = s),
13
+ setup(a, { emit: o }) {
14
+ const e = m(""), r = o, l = () => {
15
+ r("change", { name: e.value });
16
+ };
17
+ return (f, t) => (s(), p("div", null, [
18
+ n("h2", null, u(a.title), 1),
19
+ c(n("input", {
20
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => e.value = i),
34
21
  type: "text",
35
22
  class: "name",
36
- onInput: e.onChange
37
- },
38
- null,
39
- 544
40
- /* NEED_HYDRATION, NEED_PATCH */
41
- ), [
42
- [d, e.name]
43
- ])
44
- ]);
45
- }
46
- const y = /* @__PURE__ */ h(f, [["render", C], ["__scopeId", "data-v-a5012820"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/CreateChat/CreateChat.vue"]]);
23
+ onInput: l
24
+ }, null, 544), [
25
+ [d, e.value]
26
+ ])
27
+ ]));
28
+ }
29
+ }, C = /* @__PURE__ */ _(v, [["__scopeId", "data-v-01e1bb88"]]);
47
30
  export {
48
- y as default
31
+ C as default
49
32
  };
@@ -1,7 +1,13 @@
1
- import { createElementBlock as _, openBlock as C, createElementVNode as s, toDisplayString as E, withDirectives as S, createCommentVNode as k, normalizeClass as B, vModelText as T, ref as f } from "vue";
1
+ import { ref as m, createElementBlock as p, openBlock as f, createElementVNode as l, toDisplayString as h, withDirectives as D, createCommentVNode as V, normalizeClass as x, vModelText as y } from "vue";
2
2
  /* empty css */
3
3
  import z from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const N = {
4
+ const N = { class: "create-chat-form" }, S = { class: "create-chat-title" }, T = { class: "form-field" }, U = {
5
+ key: 0,
6
+ class: "form-error"
7
+ }, q = { class: "form-field" }, w = {
8
+ key: 0,
9
+ class: "form-error"
10
+ }, M = {
5
11
  __name: "CreateChat2",
6
12
  props: {
7
13
  title: {
@@ -10,169 +16,115 @@ const N = {
10
16
  }
11
17
  },
12
18
  emits: ["change"],
13
- setup(D, { expose: a, emit: h }) {
14
- const t = D, i = f({}), c = f({
19
+ setup(C, { expose: E, emit: P }) {
20
+ const r = m({}), a = m({
15
21
  name: "",
16
22
  phone: ""
17
- }), l = f(!1), V = h, x = () => {
18
- c.value = {
23
+ }), c = m(!1), b = P, k = () => {
24
+ a.value = {
19
25
  name: "",
20
26
  phone: ""
21
27
  };
22
- }, y = () => {
23
- l.value = !1;
24
- }, b = (e, n) => {
25
- c.value[e] = n;
26
- }, p = (e) => !e || e.trim().length < 3 ? "Имя должно содержать минимум 3 символа" : "", v = (e) => {
27
- if (!l.value)
28
+ }, B = () => {
29
+ c.value = !1;
30
+ }, F = (t, e) => {
31
+ a.value[t] = e;
32
+ }, d = (t) => !t || t.trim().length < 3 ? "Имя должно содержать минимум 3 символа" : "", v = (t) => {
33
+ if (!c.value)
28
34
  return "";
29
- if (!e)
35
+ if (!t)
30
36
  return "Телефон обязателен для заполнения";
31
- const n = e.replace(/\D/g, "");
32
- return n.length < 11 ? "Минимум 11 цифр" : n.startsWith("7") ? "" : "Номер телефона должен начинаться с цифры 7";
33
- }, P = (e) => {
34
- if (!e) return !1;
35
- const n = e.replace(/\D/g, "");
36
- return !(n.length < 11 || !n.startsWith("7"));
37
- }, u = () => {
38
- const e = p(i.value.name), n = v(i.value.phone), o = P(i.value.phone);
39
- return c.value = {
40
- name: e,
41
- phone: n
42
- }, !e && o;
43
- }, m = (e) => (e || "").replace(/\D/g, ""), g = (e) => {
44
- const n = m(e);
45
- let o = n;
46
- if (n.startsWith("8") && (o = "7" + n.slice(1)), o.startsWith("7") || (o = "7" + o), o = o.slice(0, 11), o.length <= 1)
47
- return o ? "+" + o : "";
48
- const d = "+7";
49
- if (o.length > 1) {
50
- const r = o.slice(1);
51
- return r.length <= 3 ? d + " (" + r : r.length <= 6 ? d + " (" + r.slice(0, 3) + ") " + r.slice(3) : r.length <= 8 ? d + " (" + r.slice(0, 3) + ") " + r.slice(3, 6) + "-" + r.slice(6) : d + " (" + r.slice(0, 3) + ") " + r.slice(3, 6) + "-" + r.slice(6, 8) + "-" + r.slice(8);
37
+ const e = t.replace(/\D/g, "");
38
+ return e.length < 11 ? "Минимум 11 цифр" : e.startsWith("7") ? "" : "Номер телефона должен начинаться с цифры 7";
39
+ }, I = (t) => {
40
+ if (!t) return !1;
41
+ const e = t.replace(/\D/g, "");
42
+ return !(e.length < 11 || !e.startsWith("7"));
43
+ }, s = () => {
44
+ const t = d(r.value.name), e = v(r.value.phone), n = I(r.value.phone);
45
+ return a.value = {
46
+ name: t,
47
+ phone: e
48
+ }, !t && n;
49
+ }, u = (t) => (t || "").replace(/\D/g, ""), g = (t) => {
50
+ const e = u(t);
51
+ let n = e;
52
+ if (e.startsWith("8") && (n = "7" + e.slice(1)), n.startsWith("7") || (n = "7" + n), n = n.slice(0, 11), n.length <= 1)
53
+ return n ? "+" + n : "";
54
+ const i = "+7";
55
+ if (n.length > 1) {
56
+ const o = n.slice(1);
57
+ return o.length <= 3 ? i + " (" + o : o.length <= 6 ? i + " (" + o.slice(0, 3) + ") " + o.slice(3) : o.length <= 8 ? i + " (" + o.slice(0, 3) + ") " + o.slice(3, 6) + "-" + o.slice(6) : i + " (" + o.slice(0, 3) + ") " + o.slice(3, 6) + "-" + o.slice(6, 8) + "-" + o.slice(8);
52
58
  }
53
- return d;
54
- }, F = () => {
55
- const e = i.value.phone ?? "", n = g(e);
56
- n !== e && (i.value = {
57
- ...i.value,
58
- phone: n
59
- });
59
+ return i;
60
60
  }, W = () => {
61
- F(), u(), V("change", {
62
- contact: i.value,
63
- contactDigits: m(i.value.phone),
64
- isValid: u()
61
+ const t = r.value.phone ?? "", e = g(t);
62
+ e !== t && (r.value = {
63
+ ...r.value,
64
+ phone: e
65
+ });
66
+ }, _ = () => {
67
+ W(), s(), b("change", {
68
+ contact: r.value,
69
+ contactDigits: u(r.value.phone),
70
+ isValid: s()
65
71
  });
66
72
  };
67
- a({
68
- clearValidationErrors: x,
69
- resetTouchedState: y,
70
- setValidationError: b,
71
- validateForm: u,
72
- validateName: p,
73
+ return E({
74
+ clearValidationErrors: k,
75
+ resetTouchedState: B,
76
+ setValidationError: F,
77
+ validateForm: s,
78
+ validateName: d,
73
79
  validatePhone: v,
74
80
  formatPhone: g,
75
- extractDigits: m,
76
- validationErrors: c,
77
- phoneInputTouched: l
78
- });
79
- const I = { props: t, contact: i, validationErrors: c, phoneInputTouched: l, emit: V, clearValidationErrors: x, resetTouchedState: y, setValidationError: b, validateName: p, validatePhone: v, isPhoneValid: P, validateForm: u, extractDigits: m, formatPhone: g, normalizePhoneFirstDigit: F, onChange: W, ref: f };
80
- return Object.defineProperty(I, "__isScriptSetup", { enumerable: !1, value: !0 }), I;
81
- }
82
- }, j = { class: "create-chat-form" }, U = { class: "create-chat-title" }, q = { class: "form-field" }, w = {
83
- key: 0,
84
- class: "form-error"
85
- }, M = { class: "form-field" }, O = {
86
- key: 0,
87
- class: "form-error"
88
- };
89
- function A(D, a, h, t, i, c) {
90
- return C(), _("div", j, [
91
- s(
92
- "h2",
93
- U,
94
- E(h.title),
95
- 1
96
- /* TEXT */
97
- ),
98
- s("div", q, [
99
- a[3] || (a[3] = s(
100
- "label",
101
- {
81
+ extractDigits: u,
82
+ validationErrors: a,
83
+ phoneInputTouched: c
84
+ }), (t, e) => (f(), p("div", N, [
85
+ l("h2", S, h(C.title), 1),
86
+ l("div", T, [
87
+ e[3] || (e[3] = l("label", {
102
88
  class: "form-label",
103
89
  for: "contact-name"
104
- },
105
- "Имя",
106
- -1
107
- /* CACHED */
108
- )),
109
- S(s(
110
- "input",
111
- {
90
+ }, "Имя", -1)),
91
+ D(l("input", {
112
92
  id: "contact-name",
113
- "onUpdate:modelValue": a[0] || (a[0] = (l) => t.contact.name = l),
93
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => r.value.name = n),
114
94
  name: "name",
115
95
  type: "text",
116
- class: B(["form-input", { "form-input--error": t.validationErrors.name }]),
96
+ class: x(["form-input", { "form-input--error": a.value.name }]),
117
97
  placeholder: "Введите имя",
118
- onInput: t.onChange,
119
- onBlur: t.validateForm
120
- },
121
- null,
122
- 34
123
- /* CLASS, NEED_HYDRATION */
124
- ), [
125
- [T, t.contact.name]
98
+ onInput: _,
99
+ onBlur: s
100
+ }, null, 34), [
101
+ [y, r.value.name]
102
+ ]),
103
+ a.value.name ? (f(), p("div", U, h(a.value.name), 1)) : V("", !0)
126
104
  ]),
127
- t.validationErrors.name ? (C(), _(
128
- "div",
129
- w,
130
- E(t.validationErrors.name),
131
- 1
132
- /* TEXT */
133
- )) : k("v-if", !0)
134
- ]),
135
- s("div", M, [
136
- a[4] || (a[4] = s(
137
- "label",
138
- {
105
+ l("div", q, [
106
+ e[4] || (e[4] = l("label", {
139
107
  class: "form-label",
140
108
  for: "contact-phone"
141
- },
142
- "Телефон",
143
- -1
144
- /* CACHED */
145
- )),
146
- S(s(
147
- "input",
148
- {
109
+ }, "Телефон", -1)),
110
+ D(l("input", {
149
111
  id: "contact-phone",
150
- "onUpdate:modelValue": a[1] || (a[1] = (l) => t.contact.phone = l),
112
+ "onUpdate:modelValue": e[1] || (e[1] = (n) => r.value.phone = n),
151
113
  name: "phone",
152
114
  type: "text",
153
- class: B(["form-input", { "form-input--error": t.validationErrors.phone }]),
115
+ class: x(["form-input", { "form-input--error": a.value.phone }]),
154
116
  placeholder: "+7 (999) 999-99-99",
155
- onInput: t.onChange,
156
- onFocus: a[2] || (a[2] = (l) => t.phoneInputTouched = !0),
157
- onBlur: t.validateForm
158
- },
159
- null,
160
- 34
161
- /* CLASS, NEED_HYDRATION */
162
- ), [
163
- [T, t.contact.phone]
164
- ]),
165
- t.validationErrors.phone ? (C(), _(
166
- "div",
167
- O,
168
- E(t.validationErrors.phone),
169
- 1
170
- /* TEXT */
171
- )) : k("v-if", !0)
172
- ])
173
- ]);
174
- }
175
- const K = /* @__PURE__ */ z(N, [["render", A], ["__scopeId", "data-v-b286a03f"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/CreateChat2/CreateChat2.vue"]]);
117
+ onInput: _,
118
+ onFocus: e[2] || (e[2] = (n) => c.value = !0),
119
+ onBlur: s
120
+ }, null, 34), [
121
+ [y, r.value.phone]
122
+ ]),
123
+ a.value.phone ? (f(), p("div", w, h(a.value.phone), 1)) : V("", !0)
124
+ ])
125
+ ]));
126
+ }
127
+ }, G = /* @__PURE__ */ z(M, [["__scopeId", "data-v-3302f415"]]);
176
128
  export {
177
- K as default
129
+ G as default
178
130
  };
@@ -1,7 +1,7 @@
1
- import { createElementBlock as o, openBlock as i, createElementVNode as n, toDisplayString as d, withDirectives as v, Fragment as p, renderList as h, vModelSelect as g, ref as _, computed as u } from "vue";
1
+ import { ref as v, computed as d, createElementBlock as a, openBlock as i, createElementVNode as t, toDisplayString as u, withDirectives as m, Fragment as f, renderList as p, vModelSelect as _ } from "vue";
2
2
  /* empty css */
3
- import y from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const D = {
3
+ import D from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__channel-line" }, w = ["disabled"], x = ["value"], V = ["disabled"], A = {
5
5
  __name: "CreateDialog",
6
6
  props: {
7
7
  title: {
@@ -27,99 +27,52 @@ const D = {
27
27
  }
28
28
  },
29
29
  emits: ["change", "submit"],
30
- setup(m, { expose: l, emit: a }) {
31
- l();
32
- const e = m, s = _(), r = _(), t = u(() => !!(s.value && r.value)), C = u(() => !!(e.filter && r.value || !e.filter)), b = u(() => e.filter && r.value ? e.filter(r.value, e.channels) : e.channels), c = a, f = { props: e, selectedChannel: s, selectedContact: r, allowStartDialog: t, allowChangeChannel: C, filteredChannels: b, emit: c, handleStartDialog: () => {
33
- c("change", { channel: s.value, contact: r.value }), c("submit");
34
- }, ref: _, computed: u };
35
- return Object.defineProperty(f, "__isScriptSetup", { enumerable: !1, value: !0 }), f;
36
- }
37
- }, S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__channel-line" }, w = ["disabled"], x = ["value"], V = ["disabled"];
38
- function j(m, l, a, e, s, r) {
39
- return i(), o("div", null, [
40
- n(
41
- "h3",
42
- null,
43
- d(a.title),
44
- 1
45
- /* TEXT */
46
- ),
47
- n(
48
- "div",
49
- null,
50
- " Контакт: " + d(a.name),
51
- 1
52
- /* TEXT */
53
- ),
54
- n("div", S, [
55
- l[2] || (l[2] = n(
56
- "h3",
57
- { style: { margin: "0" } },
58
- " Куда пишем ",
59
- -1
60
- /* CACHED */
61
- )),
62
- v(n(
63
- "select",
64
- {
30
+ setup(o, { emit: g }) {
31
+ const r = o, s = v(), n = v(), y = d(() => !!(s.value && n.value)), b = d(() => !!(r.filter && n.value || !r.filter)), h = d(() => r.filter && n.value ? r.filter(n.value, r.channels) : r.channels), c = g, C = () => {
32
+ c("change", { channel: s.value, contact: n.value }), c("submit");
33
+ };
34
+ return (B, l) => (i(), a("div", null, [
35
+ t("h3", null, u(o.title), 1),
36
+ t("div", null, " Контакт: " + u(o.name), 1),
37
+ t("div", S, [
38
+ l[2] || (l[2] = t("h3", { style: { margin: "0" } }, " Куда пишем ", -1)),
39
+ m(t("select", {
40
+ id: "folder",
41
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => n.value = e)
42
+ }, [
43
+ (i(!0), a(f, null, p(o.contacts, (e) => (i(), a("option", {
44
+ key: e.id || e.value,
45
+ value: e
46
+ }, u(e.value), 9, k))), 128))
47
+ ], 512), [
48
+ [_, n.value]
49
+ ])
50
+ ]),
51
+ t("div", q, [
52
+ l[3] || (l[3] = t("h3", { style: { margin: "0" } }, " Через какой канал ", -1)),
53
+ m(t("select", {
65
54
  id: "folder",
66
- "onUpdate:modelValue": l[0] || (l[0] = (t) => e.selectedContact = t)
67
- },
68
- [
69
- (i(!0), o(
70
- p,
71
- null,
72
- h(a.contacts, (t) => (i(), o("option", {
73
- key: t.id || t.value,
74
- value: t
75
- }, d(t.value), 9, k))),
76
- 128
77
- /* KEYED_FRAGMENT */
78
- ))
79
- ],
80
- 512
81
- /* NEED_PATCH */
82
- ), [
83
- [g, e.selectedContact]
84
- ])
85
- ]),
86
- n("div", q, [
87
- l[3] || (l[3] = n(
88
- "h3",
89
- { style: { margin: "0" } },
90
- " Через какой канал ",
91
- -1
92
- /* CACHED */
93
- )),
94
- v(n("select", {
95
- id: "folder",
96
- "onUpdate:modelValue": l[1] || (l[1] = (t) => e.selectedChannel = t),
97
- disabled: !e.allowChangeChannel
98
- }, [
99
- (i(!0), o(
100
- p,
101
- null,
102
- h(e.filteredChannels, (t) => (i(), o("option", {
103
- key: t.id || t.title,
104
- value: t
105
- }, d(t.title), 9, x))),
106
- 128
107
- /* KEYED_FRAGMENT */
108
- ))
109
- ], 8, w), [
110
- [g, e.selectedChannel]
111
- ])
112
- ]),
113
- n("button", {
114
- type: "button",
115
- class: "modal__button-start",
116
- "aria-label": "Close modal",
117
- disabled: !e.allowStartDialog,
118
- onClick: e.handleStartDialog
119
- }, " Начать диалог ", 8, V)
120
- ]);
121
- }
122
- const U = /* @__PURE__ */ y(D, [["render", j], ["__scopeId", "data-v-9e8912bb"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/CreateDialog/CreateDialog.vue"]]);
55
+ "onUpdate:modelValue": l[1] || (l[1] = (e) => s.value = e),
56
+ disabled: !b.value
57
+ }, [
58
+ (i(!0), a(f, null, p(h.value, (e) => (i(), a("option", {
59
+ key: e.id || e.title,
60
+ value: e
61
+ }, u(e.title), 9, x))), 128))
62
+ ], 8, w), [
63
+ [_, s.value]
64
+ ])
65
+ ]),
66
+ t("button", {
67
+ type: "button",
68
+ class: "modal__button-start",
69
+ "aria-label": "Close modal",
70
+ disabled: !y.value,
71
+ onClick: C
72
+ }, " Начать диалог ", 8, V)
73
+ ]));
74
+ }
75
+ }, I = /* @__PURE__ */ D(A, [["__scopeId", "data-v-c9b375bd"]]);
123
76
  export {
124
- U as default
77
+ I as default
125
78
  };
@@ -1,7 +1,15 @@
1
- import { createBlock as n, openBlock as c, Transition as m, withCtx as p, withDirectives as b, createElementVNode as o, renderSlot as u, vShow as _ } from "vue";
1
+ import { createBlock as r, openBlock as c, Transition as m, withCtx as b, withDirectives as u, createElementVNode as e, renderSlot as p, vShow as f } from "vue";
2
2
  /* empty css */
3
- import f from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const v = {
3
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const h = ["data-theme"], k = {
5
+ class: "modal",
6
+ role: "dialog",
7
+ "aria-labelledby": "modalTitle",
8
+ "aria-describedby": "modalDescription"
9
+ }, v = {
10
+ id: "modalDescription",
11
+ class: "modal-body"
12
+ }, y = { class: "buttons" }, g = ["aria-disabled", "disabled"], C = {
5
13
  __name: "Modal",
6
14
  props: {
7
15
  theme: {
@@ -16,63 +24,46 @@ const v = {
16
24
  }
17
25
  },
18
26
  emits: ["close", "submit"],
19
- setup(a, { expose: t, emit: l }) {
20
- t();
21
- const e = l, s = { emit: e, props: a, closeModalOutside: (r) => {
22
- r.target.classList.contains("modal-backdrop") && e("close");
23
- } };
24
- return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
25
- }
26
- }, h = ["data-theme"], k = {
27
- class: "modal",
28
- role: "dialog",
29
- "aria-labelledby": "modalTitle",
30
- "aria-describedby": "modalDescription"
31
- }, y = {
32
- id: "modalDescription",
33
- class: "modal-body"
34
- }, g = { class: "buttons" }, C = ["aria-disabled", "disabled"];
35
- function M(a, t, l, e, d, i) {
36
- return c(), n(m, {
37
- name: "modal-fade",
38
- persisted: ""
39
- }, {
40
- default: p(() => [
41
- b(o("div", {
42
- class: "modal-backdrop",
43
- "data-theme": l.theme,
44
- onClick: e.closeModalOutside
45
- }, [
46
- o("div", k, [
47
- o("div", y, [
48
- u(a.$slots, "default", {}, void 0, !0)
49
- ]),
50
- o("div", g, [
51
- o("button", {
52
- type: "button",
53
- class: "btn-green",
54
- "aria-label": "Close modal",
55
- "aria-disabled": e.props.okDisabled ? "true" : "false",
56
- disabled: e.props.okDisabled,
57
- onClick: t[0] || (t[0] = (s) => e.emit("submit"))
58
- }, " OK ", 8, C),
59
- o("button", {
60
- type: "button",
61
- class: "btn-green btn-gray",
62
- "aria-label": "Close modal",
63
- onClick: t[1] || (t[1] = (s) => e.emit("close"))
64
- }, " Cancel ")
27
+ setup(s, { emit: d }) {
28
+ const o = d, l = s, i = (a) => {
29
+ a.target.classList.contains("modal-backdrop") && o("close");
30
+ };
31
+ return (a, t) => (c(), r(m, { name: "modal-fade" }, {
32
+ default: b(() => [
33
+ u(e("div", {
34
+ class: "modal-backdrop",
35
+ "data-theme": s.theme,
36
+ onClick: i
37
+ }, [
38
+ e("div", k, [
39
+ e("div", v, [
40
+ p(a.$slots, "default", {}, void 0, !0)
41
+ ]),
42
+ e("div", y, [
43
+ e("button", {
44
+ type: "button",
45
+ class: "btn-green",
46
+ "aria-label": "Close modal",
47
+ "aria-disabled": l.okDisabled ? "true" : "false",
48
+ disabled: l.okDisabled,
49
+ onClick: t[0] || (t[0] = (n) => o("submit"))
50
+ }, " OK ", 8, g),
51
+ e("button", {
52
+ type: "button",
53
+ class: "btn-green btn-gray",
54
+ "aria-label": "Close modal",
55
+ onClick: t[1] || (t[1] = (n) => o("close"))
56
+ }, " Cancel ")
57
+ ])
65
58
  ])
59
+ ], 8, h), [
60
+ [f, !0]
66
61
  ])
67
- ], 8, h), [
68
- [_, !0]
69
- ])
70
- ]),
71
- _: 3
72
- /* FORWARDED */
73
- });
74
- }
75
- const x = /* @__PURE__ */ f(v, [["render", M], ["__scopeId", "data-v-e22b9a43"], ["__file", "/var/store/dev-space/repos-projects/chotto/chotto/src/components/2_modals/Modal/Modal.vue"]]);
62
+ ]),
63
+ _: 3
64
+ }));
65
+ }
66
+ }, B = /* @__PURE__ */ _(C, [["__scopeId", "data-v-6f045439"]]);
76
67
  export {
77
- x as default
68
+ B as default
78
69
  };