@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.
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/chotto.css +1 -1
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js +7 -0
- package/dist/components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue2.js +106 -0
- package/dist/components/1_atoms/ContextMenu/ContextMenu.vue.js +46 -0
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue.js +7 -0
- package/dist/components/1_atoms/EmbedPreview/EmbedPreview.vue2.js +39 -0
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue.js +7 -0
- package/dist/components/1_atoms/LinkPreview/LinkPreview.vue2.js +32 -0
- package/dist/components/1_atoms/Tooltip/Tooltip.vue.js +7 -0
- package/dist/components/1_atoms/Tooltip/Tooltip.vue2.js +77 -0
- package/dist/components/1_icons/AvatarIcon.vue.js +42 -0
- package/dist/components/1_icons/CheckIcon.vue.js +28 -0
- package/dist/components/1_icons/CloseButtonIcon.vue.js +21 -0
- package/dist/components/1_icons/ContactCRMIcon.vue.js +21 -0
- package/dist/components/1_icons/MenuIcon.vue.js +21 -0
- package/dist/components/1_icons/SearchIcon.vue.js +28 -0
- package/dist/components/1_icons/SettingsIcon.vue.js +18 -0
- package/dist/components/1_icons/TelegramIcon.vue.js +32 -0
- package/dist/components/1_icons/WhatsAppIcon.vue.js +32 -0
- package/dist/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js +307 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationActions.js +83 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationAttributes.js +60 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.js +70 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationDialogSync.js +36 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationMenu.js +37 -0
- package/dist/components/2_blocks/CommunicationPanel/composables/useCommunicationSubMenu.js +69 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelMaxIcon.vue.js +18 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelPhoneIcon.vue.js +23 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSMSIcon.vue.js +21 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuMaxIcon.vue.js +34 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuPhoneIcon.vue.js +32 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuSMSIcon.vue.js +21 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuTelegramIcon.vue.js +18 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelSubmenuWhatsAppIcon.vue.js +32 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelTelegramIcon.vue.js +32 -0
- package/dist/components/2_blocks/CommunicationPanel/icons/CommunicationPanelWhatsAppIcon.vue.js +18 -0
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js +7 -0
- package/dist/components/2_blocks/FeedFoundItem/FeedFoundItem.vue2.js +61 -0
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js +7 -0
- package/dist/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue2.js +58 -0
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue.js +7 -0
- package/dist/components/2_blocks/FeedSearch/FeedSearch.vue2.js +68 -0
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js +7 -0
- package/dist/components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue2.js +70 -0
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js +106 -0
- package/dist/components/2_chatinput_elements/ButtonEmojiPicker/icons/SmilesIcon.vue.js +18 -0
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js +105 -0
- package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js +25 -0
- package/dist/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js +98 -0
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue.js +7 -0
- package/dist/components/2_chatinput_elements/FilePreview/FilePreview.vue2.js +157 -0
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue.js +7 -0
- package/dist/components/2_chatinput_elements/FileUploader/FileUploader.vue2.js +105 -0
- package/dist/components/2_chatinput_elements/FileUploader/icons/FileUploaderIcon.vue.js +21 -0
- package/dist/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js +66 -0
- package/dist/components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js +206 -0
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js +7 -0
- package/dist/components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue2.js +210 -0
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js +7 -0
- package/dist/components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue2.js +126 -0
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js +7 -0
- package/dist/components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue2.js +38 -0
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js +7 -0
- package/dist/components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue2.js +41 -0
- package/dist/components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js +281 -0
- package/dist/components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js +49 -0
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue.js +7 -0
- package/dist/components/2_chatlist_elements/ChatItem/ChatItem.vue2.js +193 -0
- package/dist/components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js +37 -0
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue.js +7 -0
- package/dist/components/2_elements/AudioRecorder/AudioRecorder.vue2.js +116 -0
- package/dist/components/2_elements/ChannelSelector/ChannelSelector.vue.js +73 -0
- package/dist/components/2_elements/ChatInfo/ChatInfo.vue.js +93 -0
- package/dist/components/2_elements/ChatPanel/ChatPanel.vue.js +47 -0
- package/dist/components/2_elements/ContactInfo/ContactInfo.vue.js +158 -0
- package/dist/components/2_elements/ThemeMode/ThemeMode.vue.js +49 -0
- package/dist/components/2_elements/UserProfile/UserProfile.vue.js +39 -0
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue.js +7 -0
- package/dist/components/2_elements/VideoRecorder/VideoRecorder.vue2.js +94 -0
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/AudioMessage/AudioMessage.vue2.js +380 -0
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue2.js +57 -0
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/CallMessage/CallMessage.vue2.js +476 -0
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue.js +26 -0
- package/dist/components/2_feed_elements/CallMessage/icons/IncomingCallIcon.vue2.js +4 -0
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue.js +26 -0
- package/dist/components/2_feed_elements/CallMessage/icons/OutgoingCallIcon.vue2.js +4 -0
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/DateMessage/DateMessage.vue2.js +20 -0
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js +7 -0
- package/dist/components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue2.js +18 -0
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js +7 -0
- package/dist/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue2.js +42 -0
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +204 -0
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ImageMessage/ImageMessage.vue2.js +266 -0
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js +7 -0
- package/dist/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue2.js +46 -0
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue.js +7 -0
- package/dist/components/2_feed_elements/MessageReactions/MessageReactions.vue2.js +161 -0
- package/dist/components/2_feed_elements/MessageReactions/composables/usePositioning.js +104 -0
- package/dist/components/2_feed_elements/MessageReactions/composables/useReactions.js +30 -0
- package/dist/components/2_feed_elements/MessageReactions/composables/useReactionsPanel.js +90 -0
- package/dist/components/2_feed_elements/MessageReactions/composables/useReactionsState.js +32 -0
- package/dist/components/2_feed_elements/MessageReactions/utils/quickReactions.js +17 -0
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js +73 -0
- package/dist/components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue2.js +4 -0
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue2.js +39 -0
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue2.js +35 -0
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue2.js +46 -0
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue2.js +71 -0
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue2.js +119 -0
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue2.js +27 -0
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue2.js +75 -0
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue.js +7 -0
- package/dist/components/2_feed_elements/SplashScreen/SplashScreen.vue2.js +23 -0
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/StickerMessage/StickerMessage.vue2.js +258 -0
- package/dist/components/2_feed_elements/StickerMessage/libs/tgs-player/lottie-player.esm.js +6469 -0
- package/dist/components/2_feed_elements/StickerMessage/libs/tgs-player/tgs-player.esm.js +7216 -0
- package/dist/components/2_feed_elements/StickerMessage/utils/stickerUtils.js +10 -0
- package/dist/components/2_feed_elements/StickerMessage/utils/suppress-lit-warning.js +21 -0
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/SystemMessage/SystemMessage.vue2.js +18 -0
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +174 -0
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/TypingMessage/TypingMessage.vue2.js +32 -0
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue.js +7 -0
- package/dist/components/2_feed_elements/VideoMessage/VideoMessage.vue2.js +286 -0
- package/dist/{CreateChat-C4y1ddK_.js → components/2_modals/CreateChat/CreateChat.vue.js} +8 -7
- package/dist/components/2_modals/CreateChat/CreateChat.vue2.js +1 -0
- package/dist/{CreateChat2-Oy9JaaRC.js → components/2_modals/CreateChat2/CreateChat2.vue.js} +4 -3
- package/dist/{CreateDialog-DacwclUe.js → components/2_modals/CreateDialog/CreateDialog.vue.js} +12 -11
- package/dist/components/2_modals/Modal/Modal.vue.js +69 -0
- package/dist/components/2_modals/ModalFullscreen/ModalFullscreen.vue.js +46 -0
- package/dist/components/2_modals/ModalNoFooter/ModalNoFooter.vue.js +43 -0
- package/dist/components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue.js +7 -0
- package/dist/{ModalVideoRecorder-BkPr4JP7.js → components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js} +48 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +63 -0
- package/dist/{SelectUser2-kaPAmxhi.js → components/2_modals/SelectUser2/SelectUser2.vue.js} +4 -3
- package/dist/components/3_compounds/ChatInput/ChatInput.vue.js +7 -0
- package/dist/components/3_compounds/ChatInput/ChatInput.vue2.js +192 -0
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue.js +35 -0
- package/dist/components/3_compounds/ChatInput/icons/SendIcon.vue2.js +4 -0
- package/dist/components/3_compounds/ChatList/ChatList.vue.js +186 -0
- package/dist/components/3_compounds/ChatList/ChatListHeader.vue.js +27 -0
- package/dist/components/3_compounds/ChatList/composables/useChatListActions.js +16 -0
- package/dist/components/3_compounds/ChatList/composables/useChatListFilter.js +27 -0
- package/dist/components/3_compounds/ChatList/composables/useChatListScroll.js +47 -0
- package/dist/components/3_compounds/ChatList/composables/useChatListSelection.js +28 -0
- package/dist/components/3_compounds/Feed/Feed.vue.js +7 -0
- package/dist/components/3_compounds/Feed/Feed.vue2.js +295 -0
- package/dist/components/3_compounds/Feed/assets/chat-background.svg.js +7 -0
- package/dist/components/3_compounds/Feed/composables/useFeedButton.js +17 -0
- package/dist/components/3_compounds/Feed/composables/useFeedComponents.js +29 -0
- package/dist/components/3_compounds/Feed/composables/useFeedGrouping.js +15 -0
- package/dist/components/3_compounds/Feed/composables/useFeedKeyboard.js +15 -0
- package/dist/components/3_compounds/Feed/composables/useFeedLoadMore.js +62 -0
- package/dist/components/3_compounds/Feed/composables/useFeedMessageVisibility.js +33 -0
- package/dist/components/3_compounds/Feed/composables/useFeedReply.js +42 -0
- package/dist/components/3_compounds/Feed/composables/useFeedScroll.js +63 -0
- package/dist/components/3_compounds/Feed/composables/useFeedScrollTo.js +18 -0
- package/dist/components/3_compounds/Feed/composables/useStickyDate.js +61 -0
- package/dist/components/3_compounds/Feed/functions/throttle.js +11 -0
- package/dist/components/3_compounds/SideBar/SideBar.vue.js +190 -0
- package/dist/components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js +63 -0
- package/dist/components/4_layouts/BaseLayout/BaseLayout.vue.js +18 -0
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue.js +7 -0
- package/dist/components/4_layouts/ChatWrapper/ChatWrapper.vue2.js +53 -0
- package/dist/components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js +21 -0
- package/dist/components/4_layouts/FeedLayout/FeedLayout.vue.js +15 -0
- package/dist/components/5_containers/BaseContainer/BaseContainer.vue.js +33 -0
- package/dist/components/5_containers/FloatContainer/FloatContainer.vue.js +104 -0
- package/dist/functions/createReactionHandlers.js +19 -0
- package/dist/functions/formatTimestamp.js +8 -0
- package/dist/functions/getChannelAccentColor.js +30 -0
- package/dist/functions/getMessageClass.js +6 -0
- package/dist/functions/getStatusMessage.js +42 -0
- package/dist/functions/insertDaySeparators.js +24 -0
- package/dist/functions/parseMarkdown.js +18 -0
- package/dist/functions/playNotificationAudio.js +13 -0
- package/dist/functions/sortByTimestamp.js +4 -0
- package/dist/hooks/messages/useChannelAccentColor.js +29 -0
- package/dist/hooks/messages/useMessageActions.js +28 -0
- package/dist/hooks/messages/useMessageLinks.js +48 -0
- package/dist/hooks/messages/useSubtextTooltip.js +12 -0
- package/dist/hooks/modals/useCreateChat.js +19 -0
- package/dist/hooks/modals/useCreateChat2.js +16 -0
- package/dist/hooks/modals/useCreateDialog.js +20 -0
- package/dist/hooks/modals/useModal.js +41 -0
- package/dist/hooks/modals/useModalSelectUser2.js +20 -0
- package/dist/hooks/modals/useVideoRecorder.js +14 -0
- package/dist/hooks/uploadFile/generatePreview.js +20 -0
- package/dist/hooks/uploadFile/getTypeFileByMime.js +7 -0
- package/dist/hooks/uploadFile/uploadFile.js +28 -0
- package/dist/hooks/useDelayDebouncedRef.js +18 -0
- package/dist/hooks/useImmediateDebouncedRef.js +18 -0
- package/dist/hooks/useMessageDraft.js +87 -0
- package/dist/hooks/useSearchModel.js +11 -0
- package/dist/hooks/useTheme.js +11 -0
- package/dist/hooks/validators/chats/chatValidator.js +79 -0
- package/dist/hooks/validators/chats/useChatValidator.js +82 -0
- package/dist/hooks/validators/messages/messageValidator.js +84 -0
- package/dist/hooks/validators/messages/useMessageValidator.js +82 -0
- package/dist/hooks/validators/sidebar/sidebarValidator.js +47 -0
- package/dist/hooks/validators/sidebar/useSidebarValidator.js +82 -0
- package/dist/hooks/validators/useValidation.js +94 -0
- package/dist/index.js +239 -0
- package/dist/locale/en.js +22 -0
- package/dist/locale/ru.js +22 -0
- package/dist/locale/useLocale.js +34 -0
- package/dist/node_modules/entities/lib/esm/decode.js +278 -0
- package/dist/node_modules/entities/lib/esm/decode_codepoint.js +46 -0
- package/dist/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/dist/node_modules/linkify-it/index.js +187 -0
- package/dist/node_modules/linkify-it/lib/re.js +19 -0
- package/dist/node_modules/linkify-string/dist/linkify-string.js +41 -0
- package/dist/node_modules/linkifyjs/dist/linkify.js +679 -0
- package/dist/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
- package/dist/node_modules/markdown-it/lib/common/html_re.js +5 -0
- package/dist/node_modules/markdown-it/lib/common/utils.js +169 -0
- package/dist/node_modules/markdown-it/lib/helpers/index.js +8 -0
- package/dist/node_modules/markdown-it/lib/helpers/parse_link_destination.js +44 -0
- package/dist/node_modules/markdown-it/lib/helpers/parse_link_label.js +21 -0
- package/dist/node_modules/markdown-it/lib/helpers/parse_link_title.js +37 -0
- package/dist/node_modules/markdown-it/lib/index.js +112 -0
- package/dist/node_modules/markdown-it/lib/parser_block.js +63 -0
- package/dist/node_modules/markdown-it/lib/parser_core.js +34 -0
- package/dist/node_modules/markdown-it/lib/parser_inline.js +96 -0
- package/dist/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
- package/dist/node_modules/markdown-it/lib/presets/default.js +40 -0
- package/dist/node_modules/markdown-it/lib/presets/zero.js +59 -0
- package/dist/node_modules/markdown-it/lib/renderer.js +127 -0
- package/dist/node_modules/markdown-it/lib/ruler.js +95 -0
- package/dist/node_modules/markdown-it/lib/rules_block/blockquote.js +59 -0
- package/dist/node_modules/markdown-it/lib/rules_block/code.js +23 -0
- package/dist/node_modules/markdown-it/lib/rules_block/fence.js +30 -0
- package/dist/node_modules/markdown-it/lib/rules_block/heading.js +28 -0
- package/dist/node_modules/markdown-it/lib/rules_block/hr.js +27 -0
- package/dist/node_modules/markdown-it/lib/rules_block/html_block.js +37 -0
- package/dist/node_modules/markdown-it/lib/rules_block/lheading.js +43 -0
- package/dist/node_modules/markdown-it/lib/rules_block/list.js +110 -0
- package/dist/node_modules/markdown-it/lib/rules_block/paragraph.js +25 -0
- package/dist/node_modules/markdown-it/lib/rules_block/reference.js +95 -0
- package/dist/node_modules/markdown-it/lib/rules_block/state_block.js +84 -0
- package/dist/node_modules/markdown-it/lib/rules_block/table.js +99 -0
- package/dist/node_modules/markdown-it/lib/rules_core/block.js +7 -0
- package/dist/node_modules/markdown-it/lib/rules_core/inline.js +10 -0
- package/dist/node_modules/markdown-it/lib/rules_core/linkify.js +57 -0
- package/dist/node_modules/markdown-it/lib/rules_core/normalize.js +9 -0
- package/dist/node_modules/markdown-it/lib/rules_core/replacements.js +31 -0
- package/dist/node_modules/markdown-it/lib/rules_core/smartquotes.js +80 -0
- package/dist/node_modules/markdown-it/lib/rules_core/state_core.js +8 -0
- package/dist/node_modules/markdown-it/lib/rules_core/text_join.js +16 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/autolink.js +46 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/backticks.js +31 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +34 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/emphasis.js +57 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/entity.js +33 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/escape.js +32 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/fragments_join.js +10 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/html_inline.js +32 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/image.js +48 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/link.js +40 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/linkify.js +28 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/newline.js +23 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/state_inline.js +27 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/strikethrough.js +54 -0
- package/dist/node_modules/markdown-it/lib/rules_inline/text.js +39 -0
- package/dist/node_modules/markdown-it/lib/token.js +31 -0
- package/dist/node_modules/mdurl/index.js +10 -0
- package/dist/node_modules/mdurl/lib/decode.js +61 -0
- package/dist/node_modules/mdurl/lib/encode.js +48 -0
- package/dist/node_modules/mdurl/lib/format.js +7 -0
- package/dist/node_modules/mdurl/lib/parse.js +74 -0
- package/dist/node_modules/punycode.js/punycode.es6.js +139 -0
- package/dist/node_modules/uc.micro/categories/Cc/regex.js +4 -0
- package/dist/node_modules/uc.micro/categories/Cf/regex.js +4 -0
- package/dist/node_modules/uc.micro/categories/P/regex.js +4 -0
- package/dist/node_modules/uc.micro/categories/S/regex.js +4 -0
- package/dist/node_modules/uc.micro/categories/Z/regex.js +4 -0
- package/dist/node_modules/uc.micro/index.js +14 -0
- package/dist/node_modules/uc.micro/properties/Any/regex.js +4 -0
- package/dist/node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js +16471 -0
- package/dist/types/components/1_icons/AvatarIcon.vue.d.ts +1 -1
- package/dist/types/components/2_blocks/FeedSearch/FeedSearch.vue.d.ts +2 -2
- package/dist/types/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.d.ts +2 -2
- package/dist/types/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/CallMessage/CallMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.d.ts +1 -3
- package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +3 -5
- package/dist/types/components/2_feed_elements/StickerMessage/utils/stickerUtils.d.ts +19 -0
- package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +2 -2
- package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +2 -2
- package/dist/types/components/2_modals/CreateDialog/CreateDialog.vue.d.ts +2 -2
- package/dist/types/components/2_modals/CreateDialog/stories/CreateDialog.stories.d.ts +2 -2
- package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +1 -1
- package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +2 -2
- package/dist/types/main.d.ts +1 -1
- package/package.json +5 -5
- package/dist/index-BzAEsq7j.js +0 -43508
- package/dist/vuessages.es.js +0 -123
- package/dist/vuessages.umd.js +0 -624
- /package/dist/types/{utils → components/2_feed_elements/StickerMessage/utils}/suppress-lit-warning.d.ts +0 -0
package/dist/{CreateDialog-DacwclUe.js → components/2_modals/CreateDialog/CreateDialog.vue.js}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ref as v, computed as d, createElementBlock as
|
|
2
|
-
|
|
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
|
|
31
|
-
c("change", { channel: s.value, contact:
|
|
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(),
|
|
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) =>
|
|
41
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => n.value = e)
|
|
41
42
|
}, [
|
|
42
|
-
(i(!0),
|
|
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
|
-
[_,
|
|
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),
|
|
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
|
-
},
|
|
75
|
+
}, I = /* @__PURE__ */ D(A, [["__scopeId", "data-v-c9b375bd"]]);
|
|
75
76
|
export {
|
|
76
|
-
|
|
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
|
+
};
|
|
@@ -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
|
|
2
|
-
|
|
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(
|
|
7
|
-
const S = l(), s = l(0),
|
|
8
|
-
let a = d.value < 10 ? "0" + d.value : d.value, e = u.value < 10 ? "0" + u.value : u.value, t =
|
|
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
|
-
}),
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
!r.value &&
|
|
14
|
-
|
|
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,
|
|
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
|
-
},
|
|
19
|
-
D(), C(),
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const a = URL.createObjectURL(
|
|
24
|
-
|
|
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 =
|
|
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,
|
|
36
|
-
}, h =
|
|
37
|
-
h("change", { videoFile:
|
|
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(
|
|
41
|
-
|
|
39
|
+
const e = k(p.value);
|
|
40
|
+
_.value = a, e.srcObject = a, e.addEventListener("loadedmetadata", () => {
|
|
42
41
|
var t;
|
|
43
|
-
(t = k(
|
|
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(
|
|
55
|
-
|
|
53
|
+
const t = k(p.value);
|
|
54
|
+
_.value = e, t.srcObject = e, t.addEventListener("loadedmetadata", () => {
|
|
56
55
|
var b;
|
|
57
|
-
(b = k(
|
|
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",
|
|
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
|
-
[
|
|
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
|
-
[
|
|
85
|
+
[L, n.value]
|
|
87
86
|
]),
|
|
88
|
-
o("div",
|
|
89
|
-
o("div",
|
|
90
|
-
!r.value && !
|
|
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:
|
|
92
|
+
onClick: O
|
|
94
93
|
}, [
|
|
95
94
|
o("span", {
|
|
96
95
|
class: y({
|
|
97
|
-
"pi pi-desktop":
|
|
98
|
-
"pi pi-camera":
|
|
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
|
-
|
|
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:
|
|
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 &&
|
|
113
|
+
!r.value && n.value ? (f(), m("button", {
|
|
115
114
|
key: 2,
|
|
116
115
|
class: "video-recorder__button",
|
|
117
|
-
onClick:
|
|
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:
|
|
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",
|
|
127
|
+
o("span", P, A(I.value), 1)
|
|
129
128
|
]),
|
|
130
129
|
o("button", {
|
|
131
|
-
class: y(["video-recorder__button", { "video-recorder__button-disabled": !
|
|
132
|
-
onClick:
|
|
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
|
-
})
|
|
139
|
+
});
|
|
141
140
|
export {
|
|
142
|
-
|
|
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
|
-
|
|
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
|
-
},
|
|
44
|
+
}, C = /* @__PURE__ */ f(b, [["__scopeId", "data-v-368cbcb0"]]);
|
|
44
45
|
export {
|
|
45
|
-
|
|
46
|
+
C as default
|
|
46
47
|
};
|