@mobilon-dev/chotto 0.3.30 → 0.3.32
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/LoadingIndicator/LoadingIndicator.vue.js +23 -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 +195 -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/themes/dark.css +1 -1
- package/dist/themes/default.css +1 -1
- package/dist/themes/green.css +1 -1
- package/dist/themes/mobilon1.css +1 -1
- package/dist/types/components/1_atoms/LoadingIndicator/LoadingIndicator.vue.d.ts +7 -0
- package/dist/types/components/1_atoms/LoadingIndicator/stories/LoadingIndicator.stories.d.ts +9 -0
- package/dist/types/components/1_atoms/LoadingIndicator/styles/types.d.ts +49 -0
- package/dist/types/components/1_icons/AvatarIcon.vue.d.ts +1 -1
- package/dist/types/components/2_blocks/CommunicationPanel/composables/useCommunicationChannels.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 +3 -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
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { watch as v } from "vue";
|
|
2
|
+
import { useChatValidator as O } from "./chats/useChatValidator.js";
|
|
3
|
+
import { useMessageValidator as x } from "./messages/useMessageValidator.js";
|
|
4
|
+
import { useSidebarValidator as z } from "./sidebar/useSidebarValidator.js";
|
|
5
|
+
function j(h, g, R = {}) {
|
|
6
|
+
const {
|
|
7
|
+
autoValidate: u = !0,
|
|
8
|
+
debounce: f = 500,
|
|
9
|
+
enableConsoleLogging: a = !0,
|
|
10
|
+
validateMessagesOnlyWhenSelected: b = !0,
|
|
11
|
+
enable: t = { chats: !0, messages: !0, sidebar: !0 },
|
|
12
|
+
sidebarData: d
|
|
13
|
+
} = R, s = O(h, {
|
|
14
|
+
autoValidate: t.chats ? u : !1,
|
|
15
|
+
debounce: f
|
|
16
|
+
}), l = x(g, {
|
|
17
|
+
autoValidate: t.messages ? u && !b : !1,
|
|
18
|
+
debounce: f
|
|
19
|
+
}), o = t.sidebar && d ? z(d, { autoValidate: u, debounce: f }) : null, C = () => {
|
|
20
|
+
a && console.log("🔍 Ручная валидация чатов..."), t.chats ? (s.validate(), s.showReport()) : a && console.log("⏭️ Валидация чатов отключена настройками");
|
|
21
|
+
}, w = () => {
|
|
22
|
+
a && console.log("🔍 Ручная валидация сообщений..."), t.messages ? (l.validate(), l.showReport()) : a && console.log("⏭️ Валидация сообщений отключена настройками");
|
|
23
|
+
}, p = () => {
|
|
24
|
+
a && console.log("🔍 Ручная валидация sidebar..."), t.sidebar && o ? (o.validate(), o.showReport()) : a && console.log("⏭️ Валидация sidebar отключена или не переданы данные");
|
|
25
|
+
}, m = () => {
|
|
26
|
+
a && console.log("🔍 Полная валидация всех данных..."), t.chats && (s.validate(), s.showReport()), t.messages && (l.validate(), l.showReport()), t.sidebar && o && (o.validate(), o.showReport());
|
|
27
|
+
}, y = () => {
|
|
28
|
+
const e = s.errorCount.value, r = s.warningCount.value, c = l.errorCount.value, i = l.warningCount.value, n = o ? o.errorCount.value : 0, A = o ? o.warningCount.value : 0;
|
|
29
|
+
return {
|
|
30
|
+
chatErrors: e,
|
|
31
|
+
chatWarnings: r,
|
|
32
|
+
messageErrors: c,
|
|
33
|
+
messageWarnings: i,
|
|
34
|
+
sidebarErrors: n,
|
|
35
|
+
sidebarWarnings: A,
|
|
36
|
+
totalErrors: e + c + n,
|
|
37
|
+
totalWarnings: r + i + A
|
|
38
|
+
};
|
|
39
|
+
}, V = () => {
|
|
40
|
+
if (typeof window < "u") {
|
|
41
|
+
const e = window;
|
|
42
|
+
e.validateChats = C, e.validateMessages = w, e.validateAll = m, e.validateSidebar = p;
|
|
43
|
+
}
|
|
44
|
+
}, $ = () => {
|
|
45
|
+
a && (console.log("💡 Доступные функции валидации в консоли:"), console.log(" - validateChats() - валидация списка чатов"), console.log(" - validateMessages() - валидация списка сообщений"), console.log(" - validateAll() - полная валидация всех данных"), console.log(" - validateSidebar() - валидация sidebar"), b && console.log("⏳ Валидация сообщений будет выполнена после выбора чата..."));
|
|
46
|
+
}, S = () => {
|
|
47
|
+
a && console.log("🔍 Выполнение валидации после выбора чата..."), s.validate();
|
|
48
|
+
const e = s.errorCount.value, r = s.warningCount.value;
|
|
49
|
+
a && (e > 0 || r > 0 ? console.log(`📋 Валидация чатов: найдено ${e} ошибок и ${r} предупреждений`) : console.log("✅ Валидация чатов: все данные корректны")), s.showReport();
|
|
50
|
+
const c = Array.isArray(g.value) && g.value.length > 0;
|
|
51
|
+
if (t.messages && c) {
|
|
52
|
+
l.validate();
|
|
53
|
+
const i = l.errorCount.value, n = l.warningCount.value;
|
|
54
|
+
a && (i > 0 || n > 0 ? console.log(`💬 Валидация сообщений: найдено ${i} ошибок и ${n} предупреждений`) : console.log("✅ Валидация сообщений: все данные корректны")), l.showReport();
|
|
55
|
+
} else t.messages && a && console.log("⚠️ Сообщения не загружены для валидации");
|
|
56
|
+
if (t.sidebar)
|
|
57
|
+
if (o) {
|
|
58
|
+
o.validate();
|
|
59
|
+
const i = o.errorCount.value, n = o.warningCount.value;
|
|
60
|
+
a && (i > 0 || n > 0 ? console.log(`📚 Валидация sidebar: найдено ${i} ошибок и ${n} предупреждений`) : console.log("✅ Валидация sidebar: все данные корректны")), o.showReport();
|
|
61
|
+
} else a && console.log("⚠️ Данные sidebar не переданы — валидация пропущена");
|
|
62
|
+
}, W = (e) => {
|
|
63
|
+
e && Array.isArray(e) && e.length > 0 && (h.value = e);
|
|
64
|
+
}, E = (e) => {
|
|
65
|
+
d && e && Array.isArray(e) && e.length > 0 && (d.value = e);
|
|
66
|
+
}, M = () => {
|
|
67
|
+
V(), $();
|
|
68
|
+
};
|
|
69
|
+
return a && (v(() => s.errorCount.value, (e, r) => {
|
|
70
|
+
e !== r && console.log(`📊 Статистика валидации чатов: ${e} ошибок, ${s.warningCount.value} предупреждений`);
|
|
71
|
+
}), v(() => l.errorCount.value, (e, r) => {
|
|
72
|
+
e !== r && console.log(`📊 Статистика валидации сообщений: ${e} ошибок, ${l.warningCount.value} предупреждений`);
|
|
73
|
+
}), o && v(() => o.errorCount.value, (e, r) => {
|
|
74
|
+
e !== r && console.log(`📊 Статистика валидации sidebar: ${e} ошибок, ${o.warningCount.value} предупреждений`);
|
|
75
|
+
})), {
|
|
76
|
+
chatValidator: s,
|
|
77
|
+
messageValidator: l,
|
|
78
|
+
sidebarValidator: o,
|
|
79
|
+
validateChats: C,
|
|
80
|
+
validateMessages: w,
|
|
81
|
+
validateSidebar: p,
|
|
82
|
+
validateAll: m,
|
|
83
|
+
getValidationStats: y,
|
|
84
|
+
setupGlobalValidationFunctions: V,
|
|
85
|
+
logValidationInfo: $,
|
|
86
|
+
validateOnChatSelect: S,
|
|
87
|
+
updateChatsData: W,
|
|
88
|
+
updateSidebarData: E,
|
|
89
|
+
initializeValidation: M
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
j as useValidation
|
|
94
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { default as r } from "./components/1_atoms/ButtonContextMenu/ButtonContextMenu.vue.js";
|
|
4
|
+
import { default as s } from "./components/1_atoms/ContextMenu/ContextMenu.vue.js";
|
|
5
|
+
import { default as p } from "./components/1_atoms/EmbedPreview/EmbedPreview.vue.js";
|
|
6
|
+
import { default as d } from "./components/1_atoms/LinkPreview/LinkPreview.vue.js";
|
|
7
|
+
import { default as x } from "./components/1_atoms/Tooltip/Tooltip.vue.js";
|
|
8
|
+
import { default as n } from "./components/1_icons/AvatarIcon.vue.js";
|
|
9
|
+
import { default as M } from "./components/1_icons/CheckIcon.vue.js";
|
|
10
|
+
import { default as C } from "./components/1_icons/CloseButtonIcon.vue.js";
|
|
11
|
+
import { default as h } from "./components/1_icons/ContactCRMIcon.vue.js";
|
|
12
|
+
import { default as R } from "./components/1_icons/MenuIcon.vue.js";
|
|
13
|
+
import { default as F } from "./components/1_icons/SearchIcon.vue.js";
|
|
14
|
+
import { default as T } from "./components/1_icons/SettingsIcon.vue.js";
|
|
15
|
+
import { default as b } from "./components/1_icons/TelegramIcon.vue.js";
|
|
16
|
+
import { default as k } from "./components/1_icons/WhatsAppIcon.vue.js";
|
|
17
|
+
import { default as P } from "./components/2_blocks/CommunicationPanel/CommunicationPanel.vue.js";
|
|
18
|
+
import { default as L } from "./components/2_blocks/FeedFoundItem/FeedFoundItem.vue.js";
|
|
19
|
+
import { default as w } from "./components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.js";
|
|
20
|
+
import { default as U } from "./components/2_blocks/FeedSearch/FeedSearch.vue.js";
|
|
21
|
+
import { default as H } from "./components/2_chatinput_elements/ButtonCommandsSelector/ButtonCommandsSelector.vue.js";
|
|
22
|
+
import { default as N } from "./components/2_chatinput_elements/ButtonEmojiPicker/ButtonEmojiPicker.vue.js";
|
|
23
|
+
import { default as O } from "./components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js";
|
|
24
|
+
import { default as z } from "./components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.js";
|
|
25
|
+
import { default as J } from "./components/2_chatinput_elements/FilePreview/FilePreview.vue.js";
|
|
26
|
+
import { default as Y } from "./components/2_chatinput_elements/FileUploader/FileUploader.vue.js";
|
|
27
|
+
import { default as _ } from "./components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.js";
|
|
28
|
+
import { default as ee } from "./components/2_chatinput_elements/TemplateSelector/TemplateSelector.vue.js";
|
|
29
|
+
import { default as oe } from "./components/2_chatinput_elements/TextFormatToolbar/TextFormatToolbar.vue.js";
|
|
30
|
+
import { default as re } from "./components/2_chatinput_elements/WABAAttachmentSection/WABAAttachmentSection.vue.js";
|
|
31
|
+
import { default as se } from "./components/2_chatinput_elements/WABAQuickReplyButtons/WABAQuickReplyButtons.vue.js";
|
|
32
|
+
import { default as pe } from "./components/2_chatinput_elements/WABASeparatedQuickButtons/WABASeparatedQuickButtons.vue.js";
|
|
33
|
+
import { default as de } from "./components/2_chatinput_elements/WABATemplateSelector/WABATemplateSelector.vue.js";
|
|
34
|
+
import { default as xe } from "./components/2_chatlist_elements/ChatFilter/ChatFilter.vue.js";
|
|
35
|
+
import { default as ne } from "./components/2_chatlist_elements/ChatItem/ChatItem.vue.js";
|
|
36
|
+
import { default as Me } from "./components/2_chatlist_elements/ChatTabs/ChatTabs.vue.js";
|
|
37
|
+
import { default as Ce } from "./components/2_elements/AudioRecorder/AudioRecorder.vue.js";
|
|
38
|
+
import { default as he } from "./components/2_elements/ChannelSelector/ChannelSelector.vue.js";
|
|
39
|
+
import { default as Re } from "./components/2_elements/ChatInfo/ChatInfo.vue.js";
|
|
40
|
+
import { default as Fe } from "./components/2_elements/ChatPanel/ChatPanel.vue.js";
|
|
41
|
+
import { default as Te } from "./components/2_elements/ContactInfo/ContactInfo.vue.js";
|
|
42
|
+
import { default as be } from "./components/2_elements/ThemeMode/ThemeMode.vue.js";
|
|
43
|
+
import { default as ke } from "./components/2_elements/UserProfile/UserProfile.vue.js";
|
|
44
|
+
import { default as Pe } from "./components/2_elements/VideoRecorder/VideoRecorder.vue.js";
|
|
45
|
+
import { default as Le } from "./components/2_feed_elements/AudioMessage/AudioMessage.vue.js";
|
|
46
|
+
import { default as we } from "./components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.js";
|
|
47
|
+
import { default as Ue } from "./components/2_feed_elements/CallMessage/CallMessage.vue.js";
|
|
48
|
+
import { default as He } from "./components/2_feed_elements/DateMessage/DateMessage.vue.js";
|
|
49
|
+
import { default as Ne } from "./components/2_feed_elements/DateMessageSticky/DateMessageSticky.vue.js";
|
|
50
|
+
import { default as Oe } from "./components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.js";
|
|
51
|
+
import { default as ze } from "./components/2_feed_elements/FileMessage/FileMessage.vue.js";
|
|
52
|
+
import { default as Je } from "./components/2_feed_elements/ImageMessage/ImageMessage.vue.js";
|
|
53
|
+
import { default as Ye } from "./components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.js";
|
|
54
|
+
import { default as _e } from "./components/2_feed_elements/MessageReactions/MessageReactions.vue.js";
|
|
55
|
+
import { default as et } from "./components/2_feed_elements/MessageStatusIndicator/MessageStatusIndicator.vue.js";
|
|
56
|
+
import { default as ot } from "./components/2_feed_elements/StickerMessage/StickerMessage.vue.js";
|
|
57
|
+
import { default as rt } from "./components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.js";
|
|
58
|
+
import { default as st } from "./components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.js";
|
|
59
|
+
import { default as pt } from "./components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.js";
|
|
60
|
+
import { default as dt } from "./components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.js";
|
|
61
|
+
import { default as xt } from "./components/2_feed_elements/ReplyStickerMessage/ReplyStickerMessage.vue.js";
|
|
62
|
+
import { default as nt } from "./components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.js";
|
|
63
|
+
import { default as Mt } from "./components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.js";
|
|
64
|
+
import { default as Ct } from "./components/2_feed_elements/SplashScreen/SplashScreen.vue.js";
|
|
65
|
+
import { default as ht } from "./components/2_feed_elements/SystemMessage/SystemMessage.vue.js";
|
|
66
|
+
import { default as Rt } from "./components/2_feed_elements/TextMessage/TextMessage.vue.js";
|
|
67
|
+
import { default as Ft } from "./components/2_feed_elements/TypingMessage/TypingMessage.vue.js";
|
|
68
|
+
import { default as Tt } from "./components/2_feed_elements/VideoMessage/VideoMessage.vue.js";
|
|
69
|
+
import { default as bt } from "./components/2_modals/Modal/Modal.vue.js";
|
|
70
|
+
import { default as kt } from "./components/2_modals/ModalFullscreen/ModalFullscreen.vue.js";
|
|
71
|
+
import { default as Pt } from "./components/2_modals/ModalNoFooter/ModalNoFooter.vue.js";
|
|
72
|
+
import { default as Lt } from "./components/2_modals/SelectUser/SelectUser.vue.js";
|
|
73
|
+
import { default as wt } from "./components/3_compounds/ChatInput/ChatInput.vue.js";
|
|
74
|
+
import { default as Ut } from "./components/3_compounds/ChatList/ChatListHeader.vue.js";
|
|
75
|
+
import { default as Ht } from "./components/3_compounds/ChatList/ChatList.vue.js";
|
|
76
|
+
import { default as Nt } from "./components/3_compounds/Feed/Feed.vue.js";
|
|
77
|
+
import { default as Ot } from "./components/3_compounds/SideBar/SideBar.vue.js";
|
|
78
|
+
import { default as zt } from "./components/4_layouts/BaseLayout/BaseLayout.vue.js";
|
|
79
|
+
import { default as Jt } from "./components/4_layouts/ExtendedLayout/ExtendedLayout.vue.js";
|
|
80
|
+
import { default as Yt } from "./components/4_layouts/AdaptiveExtendedLayout/AdaptiveExtendedLayout.vue.js";
|
|
81
|
+
import { default as _t } from "./components/4_layouts/FeedLayout/FeedLayout.vue.js";
|
|
82
|
+
import { default as eo } from "./components/4_layouts/ChatWrapper/ChatWrapper.vue.js";
|
|
83
|
+
import { default as oo } from "./components/5_containers/BaseContainer/BaseContainer.vue.js";
|
|
84
|
+
import { default as ro } from "./components/5_containers/FloatContainer/FloatContainer.vue.js";
|
|
85
|
+
import { generatePreview as so } from "./hooks/uploadFile/generatePreview.js";
|
|
86
|
+
import { getTypeFileByMime as po } from "./hooks/uploadFile/getTypeFileByMime.js";
|
|
87
|
+
import { uploadFile as uo } from "./hooks/uploadFile/uploadFile.js";
|
|
88
|
+
import { useDelayDebouncedRef as io } from "./hooks/useDelayDebouncedRef.js";
|
|
89
|
+
import { useImmediateDebouncedRef as co } from "./hooks/useImmediateDebouncedRef.js";
|
|
90
|
+
import { useMessageDraft as go } from "./hooks/useMessageDraft.js";
|
|
91
|
+
import { useSearchModel as So } from "./hooks/useSearchModel.js";
|
|
92
|
+
import { useTheme as yo } from "./hooks/useTheme.js";
|
|
93
|
+
import { useModalCreateChat as Ao } from "./hooks/modals/useCreateChat.js";
|
|
94
|
+
import { useModalCreateChat2 as Io } from "./hooks/modals/useCreateChat2.js";
|
|
95
|
+
import { useModalCreateDialog as Bo } from "./hooks/modals/useCreateDialog.js";
|
|
96
|
+
import { useModalSelectUser2 as Vo } from "./hooks/modals/useModalSelectUser2.js";
|
|
97
|
+
import { useModalVideoRecorder as vo } from "./hooks/modals/useVideoRecorder.js";
|
|
98
|
+
import { getValidationReport as Do, validateChats as Lo } from "./hooks/validators/chats/chatValidator.js";
|
|
99
|
+
import { useChatValidator as wo } from "./hooks/validators/chats/useChatValidator.js";
|
|
100
|
+
import { getMessageValidationReport as Uo, validateMessages as jo } from "./hooks/validators/messages/messageValidator.js";
|
|
101
|
+
import { useMessageValidator as Ko } from "./hooks/validators/messages/useMessageValidator.js";
|
|
102
|
+
import { getSidebarValidationReport as Qo, validateSidebarItems as Oo } from "./hooks/validators/sidebar/sidebarValidator.js";
|
|
103
|
+
import { useSidebarValidator as zo } from "./hooks/validators/sidebar/useSidebarValidator.js";
|
|
104
|
+
import { useValidation as Jo } from "./hooks/validators/useValidation.js";
|
|
105
|
+
import { useMessageActions as Yo } from "./hooks/messages/useMessageActions.js";
|
|
106
|
+
import { useMessageLinks as _o } from "./hooks/messages/useMessageLinks.js";
|
|
107
|
+
import { useChannelAccentColor as ea } from "./hooks/messages/useChannelAccentColor.js";
|
|
108
|
+
import { useSubtextTooltip as oa } from "./hooks/messages/useSubtextTooltip.js";
|
|
109
|
+
import { getStatus as ra, getStatusTitle as fa, statuses as sa } from "./functions/getStatusMessage.js";
|
|
110
|
+
import { formatTimestamp as pa } from "./functions/formatTimestamp.js";
|
|
111
|
+
import { playNotificationAudio as da } from "./functions/playNotificationAudio.js";
|
|
112
|
+
import { insertDaySeparators as xa } from "./functions/insertDaySeparators.js";
|
|
113
|
+
import { sortByTimestamp as na } from "./functions/sortByTimestamp.js";
|
|
114
|
+
import { getMessageClass as Ma } from "./functions/getMessageClass.js";
|
|
115
|
+
import { createReactionHandlers as Ca } from "./functions/createReactionHandlers.js";
|
|
116
|
+
import { getChannelAccentColor as ha } from "./functions/getChannelAccentColor.js";
|
|
117
|
+
import { parseMarkdown as Ra } from "./functions/parseMarkdown.js";
|
|
118
|
+
export {
|
|
119
|
+
Yt as AdaptiveExtendedLayout,
|
|
120
|
+
Le as AudioMessage,
|
|
121
|
+
Ce as AudioRecorder,
|
|
122
|
+
n as AvatarIcon,
|
|
123
|
+
oo as BaseContainer,
|
|
124
|
+
zt as BaseLayout,
|
|
125
|
+
we as BaseReplyMessage,
|
|
126
|
+
H as ButtonCommandsSelector,
|
|
127
|
+
r as ButtonContextMenu,
|
|
128
|
+
N as ButtonEmojiPicker,
|
|
129
|
+
O as ButtonTemplateSelector,
|
|
130
|
+
z as ButtonWabaTemplateSelector,
|
|
131
|
+
Ue as CallMessage,
|
|
132
|
+
he as ChannelSelector,
|
|
133
|
+
xe as ChatFilter,
|
|
134
|
+
Re as ChatInfo,
|
|
135
|
+
wt as ChatInput,
|
|
136
|
+
ne as ChatItem,
|
|
137
|
+
Ht as ChatList,
|
|
138
|
+
Ut as ChatListHeader,
|
|
139
|
+
Fe as ChatPanel,
|
|
140
|
+
Me as ChatTabs,
|
|
141
|
+
eo as ChatWrapper,
|
|
142
|
+
M as CheckIcon,
|
|
143
|
+
C as CloseButtonIcon,
|
|
144
|
+
P as CommunicationPanel,
|
|
145
|
+
h as ContactCRMIcon,
|
|
146
|
+
Te as ContactInfo,
|
|
147
|
+
s as ContextMenu,
|
|
148
|
+
He as DateMessage,
|
|
149
|
+
Ne as DateMessageSticky,
|
|
150
|
+
p as EmbedPreview,
|
|
151
|
+
Jt as ExtendedLayout,
|
|
152
|
+
Nt as Feed,
|
|
153
|
+
L as FeedFoundItem,
|
|
154
|
+
w as FeedFoundObjects,
|
|
155
|
+
Oe as FeedKeyboard,
|
|
156
|
+
_t as FeedLayout,
|
|
157
|
+
U as FeedSearch,
|
|
158
|
+
ze as FileMessage,
|
|
159
|
+
J as FilePreview,
|
|
160
|
+
Y as FileUploader,
|
|
161
|
+
ro as FloatContainer,
|
|
162
|
+
Je as ImageMessage,
|
|
163
|
+
d as LinkPreview,
|
|
164
|
+
R as MenuIcon,
|
|
165
|
+
Ye as MessageKeyboard,
|
|
166
|
+
_e as MessageReactions,
|
|
167
|
+
et as MessageStatusIndicator,
|
|
168
|
+
bt as Modal,
|
|
169
|
+
kt as ModalFullscreen,
|
|
170
|
+
Pt as ModalNoFooter,
|
|
171
|
+
_ as PlaceholderComponent,
|
|
172
|
+
rt as ReplyAudioMessage,
|
|
173
|
+
st as ReplyCallMessage,
|
|
174
|
+
pt as ReplyFileMessage,
|
|
175
|
+
dt as ReplyImageMessage,
|
|
176
|
+
xt as ReplyStickerMessage,
|
|
177
|
+
nt as ReplyTextMessage,
|
|
178
|
+
Mt as ReplyVideoMessage,
|
|
179
|
+
F as SearchIcon,
|
|
180
|
+
Lt as SelectUser,
|
|
181
|
+
T as SettingsIcon,
|
|
182
|
+
Ot as SideBar,
|
|
183
|
+
Ct as SplashScreen,
|
|
184
|
+
ot as StickerMessage,
|
|
185
|
+
ht as SystemMessage,
|
|
186
|
+
b as TelegramIcon,
|
|
187
|
+
ee as TemplateSelector,
|
|
188
|
+
oe as TextFormatToolbar,
|
|
189
|
+
Rt as TextMessage,
|
|
190
|
+
be as ThemeMode,
|
|
191
|
+
x as Tooltip,
|
|
192
|
+
Ft as TypingMessage,
|
|
193
|
+
ke as UserProfile,
|
|
194
|
+
Tt as VideoMessage,
|
|
195
|
+
Pe as VideoRecorder,
|
|
196
|
+
re as WABAAttachmentSection,
|
|
197
|
+
se as WABAQuickReplyButtons,
|
|
198
|
+
pe as WABASeparatedQuickButtons,
|
|
199
|
+
de as WABATemplateSelector,
|
|
200
|
+
k as WhatsAppIcon,
|
|
201
|
+
Ca as createReactionHandlers,
|
|
202
|
+
pa as formatTimestamp,
|
|
203
|
+
so as generatePreview,
|
|
204
|
+
ha as getChannelAccentColor,
|
|
205
|
+
Ma as getMessageClass,
|
|
206
|
+
Uo as getMessageValidationReport,
|
|
207
|
+
Qo as getSidebarValidationReport,
|
|
208
|
+
ra as getStatus,
|
|
209
|
+
fa as getStatusTitle,
|
|
210
|
+
po as getTypeFileByMime,
|
|
211
|
+
Do as getValidationReport,
|
|
212
|
+
xa as insertDaySeparators,
|
|
213
|
+
Ra as parseMarkdown,
|
|
214
|
+
da as playNotificationAudio,
|
|
215
|
+
na as sortByTimestamp,
|
|
216
|
+
sa as statuses,
|
|
217
|
+
uo as uploadFile,
|
|
218
|
+
ea as useChannelAccentColor,
|
|
219
|
+
wo as useChatValidator,
|
|
220
|
+
io as useDelayDebouncedRef,
|
|
221
|
+
co as useImmediateDebouncedRef,
|
|
222
|
+
Yo as useMessageActions,
|
|
223
|
+
go as useMessageDraft,
|
|
224
|
+
_o as useMessageLinks,
|
|
225
|
+
Ko as useMessageValidator,
|
|
226
|
+
Ao as useModalCreateChat,
|
|
227
|
+
Io as useModalCreateChat2,
|
|
228
|
+
Bo as useModalCreateDialog,
|
|
229
|
+
Vo as useModalSelectUser2,
|
|
230
|
+
vo as useModalVideoRecorder,
|
|
231
|
+
So as useSearchModel,
|
|
232
|
+
zo as useSidebarValidator,
|
|
233
|
+
oa as useSubtextTooltip,
|
|
234
|
+
yo as useTheme,
|
|
235
|
+
Jo as useValidation,
|
|
236
|
+
Lo as validateChats,
|
|
237
|
+
jo as validateMessages,
|
|
238
|
+
Oo as validateSidebarItems
|
|
239
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
"component.ChatList.Title": "Chats",
|
|
3
|
+
"component.ChatFilter.InputPlaceholder": "Chat search",
|
|
4
|
+
"layout.ChatWrapper.noSelectedChat": "Choose contact to start conversation",
|
|
5
|
+
"component.ChatItem.typing": "typing",
|
|
6
|
+
"component.ChatInput.InputPlaceholder": "Type a message...",
|
|
7
|
+
"component.FeedFoundObjects.results": "Search results",
|
|
8
|
+
"component.FeedFoundObjects.notFound": "Messages not found",
|
|
9
|
+
"component.FeedFoundObjects.notSearched": "Message search in chat",
|
|
10
|
+
"component.FeedSearch.SearchLabel": "Search",
|
|
11
|
+
"component.FeedSearch.SearchPlaceholder": "Find a message...",
|
|
12
|
+
"component.ChannelSelector.Placeholder": "Channel not selected",
|
|
13
|
+
"component.TextFormatToolbar.Bold": "Bold",
|
|
14
|
+
"component.TextFormatToolbar.Italic": "Italic",
|
|
15
|
+
"component.TextFormatToolbar.Underline": "Underline",
|
|
16
|
+
"component.TextFormatToolbar.Strikethrough": "Strikethrough",
|
|
17
|
+
"component.TextFormatToolbar.Code": "Inline code",
|
|
18
|
+
"component.TextFormatToolbar.Quote": "Quote"
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
e as en
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
"component.ChatList.Title": "Mobilon One",
|
|
3
|
+
"component.ChatFilter.InputPlaceholder": "Поиск чата",
|
|
4
|
+
"layout.ChatWrapper.noSelectedChat": "Выберите контакт для начала общения",
|
|
5
|
+
"component.ChatItem.typing": "печатает",
|
|
6
|
+
"component.ChatInput.InputPlaceholder": "Введите сообщение",
|
|
7
|
+
"component.FeedFoundObjects.results": "Результаты поиска",
|
|
8
|
+
"component.FeedFoundObjects.notFound": "Сообщения не найдены",
|
|
9
|
+
"component.FeedFoundObjects.notSearched": "Поиск по сообщениям в чате",
|
|
10
|
+
"component.FeedSearch.SearchLabel": "Поиск",
|
|
11
|
+
"component.FeedSearch.SearchPlaceholder": "Поиск сообщения...",
|
|
12
|
+
"component.ChannelSelector.Placeholder": "Канал не выбран",
|
|
13
|
+
"component.TextFormatToolbar.Bold": "Жирный шрифт",
|
|
14
|
+
"component.TextFormatToolbar.Italic": "Курсив",
|
|
15
|
+
"component.TextFormatToolbar.Underline": "Подчёркнутый",
|
|
16
|
+
"component.TextFormatToolbar.Strikethrough": "Зачёркнутый",
|
|
17
|
+
"component.TextFormatToolbar.Code": "Встроенный код",
|
|
18
|
+
"component.TextFormatToolbar.Quote": "Цитата"
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
o as ru
|
|
22
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ref as t } from "vue";
|
|
2
|
+
import { ru as a } from "./ru.js";
|
|
3
|
+
import { en as c } from "./en.js";
|
|
4
|
+
const n = [
|
|
5
|
+
{
|
|
6
|
+
code: "en",
|
|
7
|
+
name: "English",
|
|
8
|
+
flag: "england"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
code: "ru",
|
|
12
|
+
name: "Pусский",
|
|
13
|
+
flag: "russian"
|
|
14
|
+
}
|
|
15
|
+
], e = t(n[1]);
|
|
16
|
+
let l = {
|
|
17
|
+
ru: a,
|
|
18
|
+
en: c
|
|
19
|
+
};
|
|
20
|
+
const i = s().t;
|
|
21
|
+
function s() {
|
|
22
|
+
function o(r) {
|
|
23
|
+
return l[e.value.code][r];
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
t: o,
|
|
27
|
+
locale: e,
|
|
28
|
+
locales: n
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
i as t,
|
|
33
|
+
s as useLocale
|
|
34
|
+
};
|