@mobilon-dev/chotto 0.3.30 → 0.3.31

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 (321) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  2. package/dist/chotto.css +1 -1
  3. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +7 -0
  4. package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +106 -0
  5. package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +46 -0
  6. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +7 -0
  7. package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +39 -0
  8. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +7 -0
  9. package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +32 -0
  10. package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +7 -0
  11. package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +77 -0
  12. package/dist/components/1_icons/AvatarIcon.vue.js +42 -0
  13. package/dist/components/1_icons/CheckIcon.vue.js +28 -0
  14. package/dist/components/1_icons/CloseButtonIcon.vue.js +21 -0
  15. package/dist/components/1_icons/ContactCRMIcon.vue.js +21 -0
  16. package/dist/components/1_icons/MenuIcon.vue.js +21 -0
  17. package/dist/components/1_icons/SearchIcon.vue.js +28 -0
  18. package/dist/components/1_icons/SettingsIcon.vue.js +18 -0
  19. package/dist/components/1_icons/TelegramIcon.vue.js +32 -0
  20. package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -0
  21. package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +307 -0
  22. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationActions.js +83 -0
  23. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationAttributes.js +60 -0
  24. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.js +70 -0
  25. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationDialogSync.js +36 -0
  26. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationMenu.js +37 -0
  27. package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationSubMenu.js +69 -0
  28. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +18 -0
  29. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +23 -0
  30. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +21 -0
  31. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +34 -0
  32. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -0
  33. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +21 -0
  34. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +18 -0
  35. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -0
  36. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +32 -0
  37. package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +18 -0
  38. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +7 -0
  39. package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +61 -0
  40. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +7 -0
  41. package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +58 -0
  42. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +7 -0
  43. package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +68 -0
  44. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +7 -0
  45. package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +70 -0
  46. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +106 -0
  47. package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +18 -0
  48. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +105 -0
  49. package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +25 -0
  50. package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +98 -0
  51. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +7 -0
  52. package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +157 -0
  53. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +7 -0
  54. package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +105 -0
  55. package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +21 -0
  56. package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +66 -0
  57. package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +206 -0
  58. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +7 -0
  59. package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +210 -0
  60. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +7 -0
  61. package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +126 -0
  62. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +7 -0
  63. package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +38 -0
  64. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +7 -0
  65. package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +41 -0
  66. package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +281 -0
  67. package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +49 -0
  68. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +7 -0
  69. package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +193 -0
  70. package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +37 -0
  71. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +7 -0
  72. package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +116 -0
  73. package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +73 -0
  74. package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +93 -0
  75. package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +47 -0
  76. package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +158 -0
  77. package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +49 -0
  78. package/dist/components/2_elements/UserProfile/UserProfile.vue.js +39 -0
  79. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +7 -0
  80. package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +94 -0
  81. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +7 -0
  82. package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +380 -0
  83. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +7 -0
  84. package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +57 -0
  85. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +7 -0
  86. package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +476 -0
  87. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +26 -0
  88. package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +4 -0
  89. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +26 -0
  90. package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +4 -0
  91. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +7 -0
  92. package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +20 -0
  93. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +7 -0
  94. package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +18 -0
  95. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +7 -0
  96. package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +42 -0
  97. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +7 -0
  98. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +204 -0
  99. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +7 -0
  100. package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +266 -0
  101. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +7 -0
  102. package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +46 -0
  103. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +7 -0
  104. package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +161 -0
  105. package/dist/components/2_feed_elements/MessageReactions/composables/usePositioning.js +104 -0
  106. package/dist/components/2_feed_elements/MessageReactions/composables/useReactions.js +30 -0
  107. package/dist/components/2_feed_elements/MessageReactions/composables/useReactionsPanel.js +90 -0
  108. package/dist/components/2_feed_elements/MessageReactions/composables/useReactionsState.js +32 -0
  109. package/dist/components/2_feed_elements/MessageReactions/utils/quickReactions.js +17 -0
  110. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +73 -0
  111. package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +4 -0
  112. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +7 -0
  113. package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +39 -0
  114. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +7 -0
  115. package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +35 -0
  116. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +7 -0
  117. package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +46 -0
  118. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +7 -0
  119. package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +71 -0
  120. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +7 -0
  121. package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +119 -0
  122. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +7 -0
  123. package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +27 -0
  124. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +7 -0
  125. package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +75 -0
  126. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +7 -0
  127. package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +23 -0
  128. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +7 -0
  129. package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +258 -0
  130. package/dist/components/2_feed_elements/StickerMessage/libs/tgs-player/lottie-player.esm.js +6469 -0
  131. package/dist/components/2_feed_elements/StickerMessage/libs/tgs-player/tgs-player.esm.js +7216 -0
  132. package/dist/components/2_feed_elements/StickerMessage/utils/stickerUtils.js +10 -0
  133. package/dist/components/2_feed_elements/StickerMessage/utils/suppress-lit-warning.js +21 -0
  134. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +7 -0
  135. package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +18 -0
  136. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +7 -0
  137. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +174 -0
  138. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +7 -0
  139. package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +32 -0
  140. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +7 -0
  141. package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +286 -0
  142. package/dist/{CreateChat-C4y1ddK_.js → components/2_modals/CreateChat/CreateChat.vue.js} +8 -7
  143. package/dist/components/2_modals/CreateChat/CreateChat.vue2.js +1 -0
  144. package/dist/{CreateChat2-Oy9JaaRC.js → components/2_modals/CreateChat2/CreateChat2.vue.js} +4 -3
  145. package/dist/{CreateDialog-DacwclUe.js → components/2_modals/CreateDialog/CreateDialog.vue.js} +12 -11
  146. package/dist/components/2_modals/Modal/Modal.vue.js +69 -0
  147. package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +46 -0
  148. package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +43 -0
  149. package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +7 -0
  150. package/dist/{ModalVideoRecorder-BkPr4JP7.js → components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js} +48 -49
  151. package/dist/components/2_modals/SelectUser/SelectUser.vue.js +63 -0
  152. package/dist/{SelectUser2-kaPAmxhi.js → components/2_modals/SelectUser2/SelectUser2.vue.js} +4 -3
  153. package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +7 -0
  154. package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +192 -0
  155. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +35 -0
  156. package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +4 -0
  157. package/dist/components/3_compounds/ChatList/ChatList.vue.js +186 -0
  158. package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +27 -0
  159. package/dist/components/3_compounds/ChatList/composables/useChatListActions.js +16 -0
  160. package/dist/components/3_compounds/ChatList/composables/useChatListFilter.js +27 -0
  161. package/dist/components/3_compounds/ChatList/composables/useChatListScroll.js +47 -0
  162. package/dist/components/3_compounds/ChatList/composables/useChatListSelection.js +28 -0
  163. package/dist/components/3_compounds/Feed/Feed.vue.js +7 -0
  164. package/dist/components/3_compounds/Feed/Feed.vue2.js +295 -0
  165. package/dist/components/3_compounds/Feed/assets/chat-background.svg.js +7 -0
  166. package/dist/components/3_compounds/Feed/composables/useFeedButton.js +17 -0
  167. package/dist/components/3_compounds/Feed/composables/useFeedComponents.js +29 -0
  168. package/dist/components/3_compounds/Feed/composables/useFeedGrouping.js +15 -0
  169. package/dist/components/3_compounds/Feed/composables/useFeedKeyboard.js +15 -0
  170. package/dist/components/3_compounds/Feed/composables/useFeedLoadMore.js +62 -0
  171. package/dist/components/3_compounds/Feed/composables/useFeedMessageVisibility.js +33 -0
  172. package/dist/components/3_compounds/Feed/composables/useFeedReply.js +42 -0
  173. package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +63 -0
  174. package/dist/components/3_compounds/Feed/composables/useFeedScrollTo.js +18 -0
  175. package/dist/components/3_compounds/Feed/composables/useStickyDate.js +61 -0
  176. package/dist/components/3_compounds/Feed/functions/throttle.js +11 -0
  177. package/dist/components/3_compounds/SideBar/SideBar.vue.js +190 -0
  178. package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +63 -0
  179. package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +18 -0
  180. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +7 -0
  181. package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +53 -0
  182. package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +21 -0
  183. package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +15 -0
  184. package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +33 -0
  185. package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +104 -0
  186. package/dist/functions/createReactionHandlers.js +19 -0
  187. package/dist/functions/formatTimestamp.js +8 -0
  188. package/dist/functions/getChannelAccentColor.js +30 -0
  189. package/dist/functions/getMessageClass.js +6 -0
  190. package/dist/functions/getStatusMessage.js +42 -0
  191. package/dist/functions/insertDaySeparators.js +24 -0
  192. package/dist/functions/parseMarkdown.js +18 -0
  193. package/dist/functions/playNotificationAudio.js +13 -0
  194. package/dist/functions/sortByTimestamp.js +4 -0
  195. package/dist/hooks/messages/useChannelAccentColor.js +29 -0
  196. package/dist/hooks/messages/useMessageActions.js +28 -0
  197. package/dist/hooks/messages/useMessageLinks.js +48 -0
  198. package/dist/hooks/messages/useSubtextTooltip.js +12 -0
  199. package/dist/hooks/modals/useCreateChat.js +19 -0
  200. package/dist/hooks/modals/useCreateChat2.js +16 -0
  201. package/dist/hooks/modals/useCreateDialog.js +20 -0
  202. package/dist/hooks/modals/useModal.js +41 -0
  203. package/dist/hooks/modals/useModalSelectUser2.js +20 -0
  204. package/dist/hooks/modals/useVideoRecorder.js +14 -0
  205. package/dist/hooks/uploadFile/generatePreview.js +20 -0
  206. package/dist/hooks/uploadFile/getTypeFileByMime.js +7 -0
  207. package/dist/hooks/uploadFile/uploadFile.js +28 -0
  208. package/dist/hooks/useDelayDebouncedRef.js +18 -0
  209. package/dist/hooks/useImmediateDebouncedRef.js +18 -0
  210. package/dist/hooks/useMessageDraft.js +87 -0
  211. package/dist/hooks/useSearchModel.js +11 -0
  212. package/dist/hooks/useTheme.js +11 -0
  213. package/dist/hooks/validators/chats/chatValidator.js +79 -0
  214. package/dist/hooks/validators/chats/useChatValidator.js +82 -0
  215. package/dist/hooks/validators/messages/messageValidator.js +84 -0
  216. package/dist/hooks/validators/messages/useMessageValidator.js +82 -0
  217. package/dist/hooks/validators/sidebar/sidebarValidator.js +47 -0
  218. package/dist/hooks/validators/sidebar/useSidebarValidator.js +82 -0
  219. package/dist/hooks/validators/useValidation.js +94 -0
  220. package/dist/index.js +239 -0
  221. package/dist/locale/en.js +22 -0
  222. package/dist/locale/ru.js +22 -0
  223. package/dist/locale/useLocale.js +34 -0
  224. package/dist/node_modules/entities/lib/esm/decode.js +278 -0
  225. package/dist/node_modules/entities/lib/esm/decode_codepoint.js +46 -0
  226. package/dist/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  227. package/dist/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  228. package/dist/node_modules/linkify-it/index.js +187 -0
  229. package/dist/node_modules/linkify-it/lib/re.js +19 -0
  230. package/dist/node_modules/linkify-string/dist/linkify-string.js +41 -0
  231. package/dist/node_modules/linkifyjs/dist/linkify.js +679 -0
  232. package/dist/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
  233. package/dist/node_modules/markdown-it/lib/common/html_re.js +5 -0
  234. package/dist/node_modules/markdown-it/lib/common/utils.js +169 -0
  235. package/dist/node_modules/markdown-it/lib/helpers/index.js +8 -0
  236. package/dist/node_modules/markdown-it/lib/helpers/parse_link_destination.js +44 -0
  237. package/dist/node_modules/markdown-it/lib/helpers/parse_link_label.js +21 -0
  238. package/dist/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -0
  239. package/dist/node_modules/markdown-it/lib/index.js +112 -0
  240. package/dist/node_modules/markdown-it/lib/parser_block.js +63 -0
  241. package/dist/node_modules/markdown-it/lib/parser_core.js +34 -0
  242. package/dist/node_modules/markdown-it/lib/parser_inline.js +96 -0
  243. package/dist/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
  244. package/dist/node_modules/markdown-it/lib/presets/default.js +40 -0
  245. package/dist/node_modules/markdown-it/lib/presets/zero.js +59 -0
  246. package/dist/node_modules/markdown-it/lib/renderer.js +127 -0
  247. package/dist/node_modules/markdown-it/lib/ruler.js +95 -0
  248. package/dist/node_modules/markdown-it/lib/rules_block/blockquote.js +59 -0
  249. package/dist/node_modules/markdown-it/lib/rules_block/code.js +23 -0
  250. package/dist/node_modules/markdown-it/lib/rules_block/fence.js +30 -0
  251. package/dist/node_modules/markdown-it/lib/rules_block/heading.js +28 -0
  252. package/dist/node_modules/markdown-it/lib/rules_block/hr.js +27 -0
  253. package/dist/node_modules/markdown-it/lib/rules_block/html_block.js +37 -0
  254. package/dist/node_modules/markdown-it/lib/rules_block/lheading.js +43 -0
  255. package/dist/node_modules/markdown-it/lib/rules_block/list.js +110 -0
  256. package/dist/node_modules/markdown-it/lib/rules_block/paragraph.js +25 -0
  257. package/dist/node_modules/markdown-it/lib/rules_block/reference.js +95 -0
  258. package/dist/node_modules/markdown-it/lib/rules_block/state_block.js +84 -0
  259. package/dist/node_modules/markdown-it/lib/rules_block/table.js +99 -0
  260. package/dist/node_modules/markdown-it/lib/rules_core/block.js +7 -0
  261. package/dist/node_modules/markdown-it/lib/rules_core/inline.js +10 -0
  262. package/dist/node_modules/markdown-it/lib/rules_core/linkify.js +57 -0
  263. package/dist/node_modules/markdown-it/lib/rules_core/normalize.js +9 -0
  264. package/dist/node_modules/markdown-it/lib/rules_core/replacements.js +31 -0
  265. package/dist/node_modules/markdown-it/lib/rules_core/smartquotes.js +80 -0
  266. package/dist/node_modules/markdown-it/lib/rules_core/state_core.js +8 -0
  267. package/dist/node_modules/markdown-it/lib/rules_core/text_join.js +16 -0
  268. package/dist/node_modules/markdown-it/lib/rules_inline/autolink.js +46 -0
  269. package/dist/node_modules/markdown-it/lib/rules_inline/backticks.js +31 -0
  270. package/dist/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +34 -0
  271. package/dist/node_modules/markdown-it/lib/rules_inline/emphasis.js +57 -0
  272. package/dist/node_modules/markdown-it/lib/rules_inline/entity.js +33 -0
  273. package/dist/node_modules/markdown-it/lib/rules_inline/escape.js +32 -0
  274. package/dist/node_modules/markdown-it/lib/rules_inline/fragments_join.js +10 -0
  275. package/dist/node_modules/markdown-it/lib/rules_inline/html_inline.js +32 -0
  276. package/dist/node_modules/markdown-it/lib/rules_inline/image.js +48 -0
  277. package/dist/node_modules/markdown-it/lib/rules_inline/link.js +40 -0
  278. package/dist/node_modules/markdown-it/lib/rules_inline/linkify.js +28 -0
  279. package/dist/node_modules/markdown-it/lib/rules_inline/newline.js +23 -0
  280. package/dist/node_modules/markdown-it/lib/rules_inline/state_inline.js +27 -0
  281. package/dist/node_modules/markdown-it/lib/rules_inline/strikethrough.js +54 -0
  282. package/dist/node_modules/markdown-it/lib/rules_inline/text.js +39 -0
  283. package/dist/node_modules/markdown-it/lib/token.js +31 -0
  284. package/dist/node_modules/mdurl/index.js +10 -0
  285. package/dist/node_modules/mdurl/lib/decode.js +61 -0
  286. package/dist/node_modules/mdurl/lib/encode.js +48 -0
  287. package/dist/node_modules/mdurl/lib/format.js +7 -0
  288. package/dist/node_modules/mdurl/lib/parse.js +74 -0
  289. package/dist/node_modules/punycode.js/punycode.es6.js +139 -0
  290. package/dist/node_modules/uc.micro/categories/Cc/regex.js +4 -0
  291. package/dist/node_modules/uc.micro/categories/Cf/regex.js +4 -0
  292. package/dist/node_modules/uc.micro/categories/P/regex.js +4 -0
  293. package/dist/node_modules/uc.micro/categories/S/regex.js +4 -0
  294. package/dist/node_modules/uc.micro/categories/Z/regex.js +4 -0
  295. package/dist/node_modules/uc.micro/index.js +14 -0
  296. package/dist/node_modules/uc.micro/properties/Any/regex.js +4 -0
  297. package/dist/node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js +16471 -0
  298. package/dist/types/components/1_icons/AvatarIcon.vue.d.ts +1 -1
  299. package/dist/types/components/2_blocks/FeedSearch/FeedSearch.vue.d.ts +2 -2
  300. package/dist/types/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.d.ts +2 -2
  301. package/dist/types/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.d.ts +2 -2
  302. package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +2 -2
  303. package/dist/types/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.d.ts +2 -2
  304. package/dist/types/components/2_feed_elements/CallMessage/CallMessage.vue.d.ts +2 -2
  305. package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +2 -2
  306. package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +2 -2
  307. package/dist/types/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.d.ts +1 -3
  308. package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +3 -5
  309. package/dist/types/components/2_feed_elements/StickerMessage/utils/stickerUtils.d.ts +19 -0
  310. package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +2 -2
  311. package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +2 -2
  312. package/dist/types/components/2_modals/CreateDialog/CreateDialog.vue.d.ts +2 -2
  313. package/dist/types/components/2_modals/CreateDialog/stories/CreateDialog.stories.d.ts +2 -2
  314. package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +1 -1
  315. package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +2 -2
  316. package/dist/types/main.d.ts +1 -1
  317. package/package.json +5 -5
  318. package/dist/index-BzAEsq7j.js +0 -43508
  319. package/dist/vuessages.es.js +0 -123
  320. package/dist/vuessages.umd.js +0 -624
  321. /package/dist/types/{utils → components/2_feed_elements/StickerMessage/utils}/suppress-lit-warning.d.ts +0 -0
@@ -1,5 +1,6 @@
1
- import { ref as v, computed as d, createElementBlock as r, openBlock as i, createElementVNode as t, toDisplayString as u, withDirectives as m, Fragment as f, renderList as p, vModelSelect as _ } from "vue";
2
- import { _ as D } from "./index-BzAEsq7j.js";
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
+ /* empty css */
3
+ import D from "../../../_virtual/_plugin-vue_export-helper.js";
3
4
  const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__channel-line" }, w = ["disabled"], x = ["value"], V = ["disabled"], A = {
4
5
  __name: "CreateDialog",
5
6
  props: {
@@ -27,24 +28,24 @@ const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__
27
28
  },
28
29
  emits: ["change", "submit"],
29
30
  setup(o, { emit: g }) {
30
- const n = o, s = v(), a = v(), y = d(() => !!(s.value && a.value)), b = d(() => !!(n.filter && a.value || !n.filter)), h = d(() => n.filter && a.value ? n.filter(a.value, n.channels) : n.channels), c = g, C = () => {
31
- c("change", { channel: s.value, contact: a.value }), c("submit");
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");
32
33
  };
33
- return (B, l) => (i(), r("div", null, [
34
+ return (B, l) => (i(), a("div", null, [
34
35
  t("h3", null, u(o.title), 1),
35
36
  t("div", null, " Контакт: " + u(o.name), 1),
36
37
  t("div", S, [
37
38
  l[2] || (l[2] = t("h3", { style: { margin: "0" } }, " Куда пишем ", -1)),
38
39
  m(t("select", {
39
40
  id: "folder",
40
- "onUpdate:modelValue": l[0] || (l[0] = (e) => a.value = e)
41
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => n.value = e)
41
42
  }, [
42
- (i(!0), r(f, null, p(o.contacts, (e) => (i(), r("option", {
43
+ (i(!0), a(f, null, p(o.contacts, (e) => (i(), a("option", {
43
44
  key: e.id || e.value,
44
45
  value: e
45
46
  }, u(e.value), 9, k))), 128))
46
47
  ], 512), [
47
- [_, a.value]
48
+ [_, n.value]
48
49
  ])
49
50
  ]),
50
51
  t("div", q, [
@@ -54,7 +55,7 @@ const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__
54
55
  "onUpdate:modelValue": l[1] || (l[1] = (e) => s.value = e),
55
56
  disabled: !b.value
56
57
  }, [
57
- (i(!0), r(f, null, p(h.value, (e) => (i(), r("option", {
58
+ (i(!0), a(f, null, p(h.value, (e) => (i(), a("option", {
58
59
  key: e.id || e.title,
59
60
  value: e
60
61
  }, u(e.title), 9, x))), 128))
@@ -71,7 +72,7 @@ const S = { class: "modal__contact-line" }, k = ["value"], q = { class: "modal__
71
72
  }, " Начать диалог ", 8, V)
72
73
  ]));
73
74
  }
74
- }, U = /* @__PURE__ */ D(A, [["__scopeId", "data-v-c9b375bd"]]);
75
+ }, I = /* @__PURE__ */ D(A, [["__scopeId", "data-v-c9b375bd"]]);
75
76
  export {
76
- U as default
77
+ I as default
77
78
  };
@@ -0,0 +1,69 @@
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
+ /* empty css */
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 = {
13
+ __name: "Modal",
14
+ props: {
15
+ theme: {
16
+ type: String,
17
+ required: !1,
18
+ default: "light"
19
+ },
20
+ okDisabled: {
21
+ type: Boolean,
22
+ required: !1,
23
+ default: !1
24
+ }
25
+ },
26
+ emits: ["close", "submit"],
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
+ ])
58
+ ])
59
+ ], 8, h), [
60
+ [f, !0]
61
+ ])
62
+ ]),
63
+ _: 3
64
+ }));
65
+ }
66
+ }, B = /* @__PURE__ */ _(C, [["__scopeId", "data-v-6f045439"]]);
67
+ export {
68
+ B as default
69
+ };
@@ -0,0 +1,46 @@
1
+ import { onMounted as r, onUnmounted as c, createElementBlock as m, openBlock as u, withKeys as p, createElementVNode as s, renderSlot as _ } from "vue";
2
+ /* empty css */
3
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const v = ["data-theme"], y = { class: "modal__container" }, k = {
5
+ __name: "ModalFullscreen",
6
+ props: {
7
+ theme: {
8
+ type: String,
9
+ required: !1,
10
+ default: "light"
11
+ }
12
+ },
13
+ emits: ["close"],
14
+ setup(l, { emit: d }) {
15
+ const o = d, a = (t) => {
16
+ t.target.classList.contains("modal__overlay") && o("close");
17
+ }, n = (t) => {
18
+ t.key === "Escape" && o("close");
19
+ };
20
+ return r(() => {
21
+ document.addEventListener("keydown", n);
22
+ }), c(() => {
23
+ document.removeEventListener("keydown", n);
24
+ }), (t, e) => (u(), m("div", {
25
+ class: "modal__overlay",
26
+ "data-theme": l.theme,
27
+ onClick: a,
28
+ onKeyup: e[1] || (e[1] = p((i) => o("close"), ["esc"]))
29
+ }, [
30
+ s("div", y, [
31
+ s("button", {
32
+ class: "modal__close-button",
33
+ onClick: e[0] || (e[0] = (i) => o("close"))
34
+ }, [...e[2] || (e[2] = [
35
+ s("span", null, [
36
+ s("i", { class: "pi pi-times" })
37
+ ], -1)
38
+ ])]),
39
+ _(t.$slots, "default", {}, void 0, !0)
40
+ ])
41
+ ], 40, v));
42
+ }
43
+ }, g = /* @__PURE__ */ f(k, [["__scopeId", "data-v-cfd44dde"]]);
44
+ export {
45
+ g as default
46
+ };
@@ -0,0 +1,43 @@
1
+ import { createBlock as i, openBlock as l, Transition as r, withCtx as c, withDirectives as n, createElementVNode as t, renderSlot as m, vShow as p } from "vue";
2
+ /* empty css */
3
+ import _ from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = ["data-theme"], u = {
5
+ class: "modal",
6
+ role: "dialog",
7
+ "aria-labelledby": "modalTitle",
8
+ "aria-describedby": "modalDescription"
9
+ }, h = {
10
+ __name: "ModalNoFooter",
11
+ props: {
12
+ theme: {
13
+ type: String,
14
+ required: !1,
15
+ default: "light"
16
+ }
17
+ },
18
+ emits: ["close"],
19
+ setup(o, { emit: a }) {
20
+ const d = a, s = (e) => {
21
+ e.target.classList.contains("modal-backdrop") && d("close");
22
+ };
23
+ return (e, b) => (l(), i(r, { name: "modal-fade" }, {
24
+ default: c(() => [
25
+ n(t("div", {
26
+ "data-theme": o.theme,
27
+ class: "modal-backdrop",
28
+ onClick: s
29
+ }, [
30
+ t("div", u, [
31
+ m(e.$slots, "default", {}, void 0, !0)
32
+ ])
33
+ ], 8, f), [
34
+ [p, !0]
35
+ ])
36
+ ]),
37
+ _: 3
38
+ }));
39
+ }
40
+ }, w = /* @__PURE__ */ _(h, [["__scopeId", "data-v-01dc3148"]]);
41
+ export {
42
+ w as default
43
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./ModalVideoRecorder.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-47304124"]]);
5
+ export {
6
+ d as default
7
+ };
@@ -1,46 +1,45 @@
1
- import { defineComponent as N, ref as l, computed as z, onMounted as $, createElementBlock as m, openBlock as f, Fragment as q, createElementVNode as o, withDirectives as E, vShow as I, createCommentVNode as g, normalizeClass as y, toDisplayString as A, nextTick as G, unref as k } from "vue";
2
- import { _ as H } from "./index-BzAEsq7j.js";
3
- const J = { class: "video-recorder__header" }, K = { class: "video-recorder__controls" }, P = { class: "video-recorder__recording-container" }, Q = { class: "video-recorder__recording-time" }, W = /* @__PURE__ */ N({
1
+ import { defineComponent as N, ref as l, computed as z, onMounted as $, createElementBlock as m, openBlock as f, Fragment as q, createElementVNode as o, withDirectives as E, vShow as L, createCommentVNode as g, normalizeClass as y, toDisplayString as A, nextTick as G, unref as k } from "vue";
2
+ const H = { class: "video-recorder__header" }, J = { class: "video-recorder__controls" }, K = { class: "video-recorder__recording-container" }, P = { class: "video-recorder__recording-time" }, X = /* @__PURE__ */ N({
4
3
  __name: "ModalVideoRecorder",
5
4
  emits: ["change", "submit", "close"],
6
- setup(X, { emit: L }) {
7
- const S = l(), s = l(0), n = l(0), u = l(0), d = l(0), x = z(() => {
8
- let a = d.value < 10 ? "0" + d.value : d.value, e = u.value < 10 ? "0" + u.value : u.value, t = n.value < 10 ? "0" + n.value : n.value, b = s.value < 10 ? "00" + s.value : s.value < 100 ? "0" + s.value : s.value;
5
+ setup(Q, { emit: F }) {
6
+ const S = l(), s = l(0), i = l(0), u = l(0), d = l(0), I = z(() => {
7
+ let a = d.value < 10 ? "0" + d.value : d.value, e = u.value < 10 ? "0" + u.value : u.value, t = i.value < 10 ? "0" + i.value : i.value, b = s.value < 10 ? "00" + s.value : s.value < 100 ? "0" + s.value : s.value;
9
8
  return r.value ? a + ":" + e + ":" + t + ":" + b : " ";
10
- }), _ = l(), R = l(), r = l(!1), c = l(), p = l(), V = l([]), i = l(), w = l(), v = l("camera"), F = () => {
11
- v.value == "camera" ? (v.value = "screen", B()) : v.value == "screen" && (C(), v.value = "camera", M());
12
- }, O = async () => {
13
- !r.value && p.value instanceof MediaStream && (c.value = new MediaRecorder(p.value), c.value.start(), c.value.ondataavailable = (a) => {
14
- V.value.push(a.data);
9
+ }), p = l(), R = l(), r = l(!1), v = l(), _ = l(), w = l([]), n = l(), V = l(), c = l("camera"), O = () => {
10
+ c.value == "camera" ? (c.value = "screen", B()) : c.value == "screen" && (C(), c.value = "camera", M());
11
+ }, T = async () => {
12
+ !r.value && _.value instanceof MediaStream && (v.value = new MediaRecorder(_.value), v.value.start(), v.value.ondataavailable = (a) => {
13
+ w.value.push(a.data);
15
14
  }, r.value = !0, S.value = setInterval(() => {
16
- s.value += 10, s.value == 1e3 && (s.value = 0, n.value++, n.value == 60 && (n.value = 0, u.value++, u.value == 60 && (u.value = 0, d.value++)));
15
+ s.value += 10, s.value == 1e3 && (s.value = 0, i.value++, i.value == 60 && (i.value = 0, u.value++, u.value == 60 && (u.value = 0, d.value++)));
17
16
  }, 10));
18
- }, T = async () => {
19
- D(), C(), i.value && (i.value = void 0, await M());
20
- }, U = () => {
21
- c.value && (c.value.stop(), c.value.onstop = async () => {
22
- w.value = new File(V.value, "videomessage.mp4", { type: "video/*" });
23
- const a = URL.createObjectURL(w.value);
24
- i.value = a, G(() => {
17
+ }, U = async () => {
18
+ D(), C(), n.value && (n.value = void 0, await M());
19
+ }, j = () => {
20
+ v.value && (v.value.stop(), v.value.onstop = async () => {
21
+ V.value = new File(w.value, "videomessage.mp4", { type: "video/*" });
22
+ const a = URL.createObjectURL(V.value);
23
+ n.value = a, G(() => {
25
24
  R.value && (R.value.src = a);
26
25
  });
27
26
  }), D(), C();
28
27
  };
29
28
  function C() {
30
29
  var e;
31
- let a = (e = p.value) == null ? void 0 : e.getTracks();
30
+ let a = (e = _.value) == null ? void 0 : e.getTracks();
32
31
  a == null || a.forEach((t) => t.stop());
33
32
  }
34
33
  const D = () => {
35
- clearInterval(S.value), s.value = 0, n.value = 0, u.value = 0, d.value = 0, r.value = !1, c.value = void 0, V.value = [];
36
- }, h = L, j = () => {
37
- h("change", { videoFile: w.value }), h("submit");
34
+ clearInterval(S.value), s.value = 0, i.value = 0, u.value = 0, d.value = 0, r.value = !1, v.value = void 0, w.value = [];
35
+ }, h = F, x = () => {
36
+ h("change", { videoFile: V.value }), h("submit");
38
37
  }, M = async () => {
39
38
  await navigator.mediaDevices.getUserMedia({ audio: !0, video: !0 }).then((a) => {
40
- const e = k(_.value);
41
- p.value = a, e.srcObject = a, e.addEventListener("loadedmetadata", () => {
39
+ const e = k(p.value);
40
+ _.value = a, e.srcObject = a, e.addEventListener("loadedmetadata", () => {
42
41
  var t;
43
- (t = k(_.value)) == null || t.play();
42
+ (t = k(p.value)) == null || t.play();
44
43
  }), e.muted = !0;
45
44
  });
46
45
  }, B = async () => {
@@ -51,17 +50,17 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
51
50
  audio: !1
52
51
  };
53
52
  await navigator.mediaDevices.getDisplayMedia(a).then((e) => {
54
- const t = k(_.value);
55
- p.value = e, t.srcObject = e, t.addEventListener("loadedmetadata", () => {
53
+ const t = k(p.value);
54
+ _.value = e, t.srcObject = e, t.addEventListener("loadedmetadata", () => {
56
55
  var b;
57
- (b = k(_.value)) == null || b.play();
56
+ (b = k(p.value)) == null || b.play();
58
57
  }), t.muted = !0;
59
58
  });
60
59
  };
61
60
  return $(async () => {
62
61
  await M();
63
62
  }), (a, e) => (f(), m(q, null, [
64
- o("div", J, [
63
+ o("div", H, [
65
64
  o("button", {
66
65
  class: "video-recorder__button video-recorder__button-close",
67
66
  onClick: e[0] || (e[0] = (t) => h("close"))
@@ -72,10 +71,10 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
72
71
  o("div", null, [
73
72
  E(o("video", {
74
73
  ref_key: "refVideo",
75
- ref: _,
74
+ ref: p,
76
75
  class: "video-recorder__view-area"
77
76
  }, null, 512), [
78
- [I, !i.value]
77
+ [L, !n.value]
79
78
  ]),
80
79
  E(o("video", {
81
80
  ref_key: "refRecord",
@@ -83,26 +82,26 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
83
82
  class: "video-recorder__view-area",
84
83
  controls: ""
85
84
  }, null, 512), [
86
- [I, i.value]
85
+ [L, n.value]
87
86
  ]),
88
- o("div", K, [
89
- o("div", P, [
90
- !r.value && !i.value ? (f(), m("button", {
87
+ o("div", J, [
88
+ o("div", K, [
89
+ !r.value && !n.value ? (f(), m("button", {
91
90
  key: 0,
92
91
  class: "video-recorder__button",
93
- onClick: F
92
+ onClick: O
94
93
  }, [
95
94
  o("span", {
96
95
  class: y({
97
- "pi pi-desktop": v.value == "camera",
98
- "pi pi-camera": v.value == "screen"
96
+ "pi pi-desktop": c.value == "camera",
97
+ "pi pi-camera": c.value == "screen"
99
98
  })
100
99
  }, null, 2)
101
100
  ])) : g("", !0),
102
- i.value ? g("", !0) : (f(), m("button", {
101
+ n.value ? g("", !0) : (f(), m("button", {
103
102
  key: 1,
104
103
  class: y(["video-recorder__button", { "video-recorder__recording-button": r.value }]),
105
- onClick: O
104
+ onClick: T
106
105
  }, [
107
106
  o("span", {
108
107
  class: y(["pi", {
@@ -111,25 +110,25 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
111
110
  }])
112
111
  }, null, 2)
113
112
  ], 2)),
114
- !r.value && i.value ? (f(), m("button", {
113
+ !r.value && n.value ? (f(), m("button", {
115
114
  key: 2,
116
115
  class: "video-recorder__button",
117
- onClick: T
116
+ onClick: U
118
117
  }, [...e[2] || (e[2] = [
119
118
  o("span", { class: "pi pi-trash" }, null, -1)
120
119
  ])])) : g("", !0),
121
120
  r.value ? (f(), m("button", {
122
121
  key: 3,
123
122
  class: "video-recorder__button",
124
- onClick: U
123
+ onClick: j
125
124
  }, [...e[3] || (e[3] = [
126
125
  o("div", { class: "video-recorder__stop" }, null, -1)
127
126
  ])])) : g("", !0),
128
- o("span", Q, A(x.value), 1)
127
+ o("span", P, A(I.value), 1)
129
128
  ]),
130
129
  o("button", {
131
- class: y(["video-recorder__button", { "video-recorder__button-disabled": !i.value }]),
132
- onClick: j
130
+ class: y(["video-recorder__button", { "video-recorder__button-disabled": !n.value }]),
131
+ onClick: x
133
132
  }, [...e[4] || (e[4] = [
134
133
  o("span", { class: "video-recorder__save-button" }, " Прикрепить видео ", -1)
135
134
  ])], 2)
@@ -137,7 +136,7 @@ const J = { class: "video-recorder__header" }, K = { class: "video-recorder__con
137
136
  ])
138
137
  ], 64));
139
138
  }
140
- }), ee = /* @__PURE__ */ H(W, [["__scopeId", "data-v-47304124"]]);
139
+ });
141
140
  export {
142
- ee as default
141
+ X as default
143
142
  };
@@ -0,0 +1,63 @@
1
+ import { ref as u, createElementBlock as s, openBlock as n, createCommentVNode as h, createElementVNode as e, toDisplayString as m, Fragment as k, renderList as y, withDirectives as C, vModelCheckbox as b } from "vue";
2
+ /* empty css */
3
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const I = {
5
+ key: 0,
6
+ class: "new-chat-modal"
7
+ }, w = { class: "modal-content" }, S = { class: "participant-list" }, U = ["id", "value"], V = ["for"], g = {
8
+ __name: "SelectUser",
9
+ props: {
10
+ users: {
11
+ type: Array,
12
+ required: !0
13
+ },
14
+ title: {
15
+ type: String,
16
+ required: !0
17
+ }
18
+ },
19
+ emits: ["confirm", "close"],
20
+ setup(l, { emit: p }) {
21
+ const r = u(!0), o = u([]), c = p, v = async () => {
22
+ c("confirm", o.value), a(), i();
23
+ }, a = () => {
24
+ c("close"), r.value = !1;
25
+ }, i = () => {
26
+ o.value = [];
27
+ }, _ = () => {
28
+ a(), i();
29
+ };
30
+ return (M, d) => (n(), s("div", null, [
31
+ r.value ? (n(), s("div", I, [
32
+ e("div", w, [
33
+ e("h2", null, m(l.title), 1),
34
+ e("div", S, [
35
+ (n(!0), s(k, null, y(l.users, (t) => (n(), s("div", {
36
+ key: t.userId,
37
+ class: "participant-item"
38
+ }, [
39
+ C(e("input", {
40
+ id: t.userId,
41
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => o.value = f),
42
+ type: "checkbox",
43
+ value: t.userId
44
+ }, null, 8, U), [
45
+ [b, o.value]
46
+ ]),
47
+ e("label", {
48
+ for: t.userId
49
+ }, m(t.name || "unknown username"), 9, V)
50
+ ]))), 128))
51
+ ]),
52
+ e("div", { class: "modal-actions" }, [
53
+ e("button", { onClick: v }, " ОК "),
54
+ e("button", { onClick: _ }, " Отмена ")
55
+ ])
56
+ ])
57
+ ])) : h("", !0)
58
+ ]));
59
+ }
60
+ }, E = /* @__PURE__ */ x(g, [["__scopeId", "data-v-9121a142"]]);
61
+ export {
62
+ E as default
63
+ };
@@ -1,5 +1,6 @@
1
1
  import { ref as p, createElementBlock as n, openBlock as s, createElementVNode as t, toDisplayString as c, Fragment as m, renderList as _, withDirectives as h, vModelCheckbox as v } from "vue";
2
- import { _ as f } from "./index-BzAEsq7j.js";
2
+ /* empty css */
3
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
3
4
  const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], b = {
4
5
  __name: "SelectUser2",
5
6
  props: {
@@ -40,7 +41,7 @@ const g = { class: "participant-list" }, k = ["id", "value"], y = ["for"], b = {
40
41
  ])
41
42
  ]));
42
43
  }
43
- }, S = /* @__PURE__ */ f(b, [["__scopeId", "data-v-368cbcb0"]]);
44
+ }, C = /* @__PURE__ */ f(b, [["__scopeId", "data-v-368cbcb0"]]);
44
45
  export {
45
- S as default
46
+ C as default
46
47
  };
@@ -0,0 +1,7 @@
1
+ import t from "./ChatInput.vue2.js";
2
+ /* empty css */
3
+ import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-07a5cda0"]]);
5
+ export {
6
+ m as default
7
+ };