@mobilon-dev/chotto 0.3.29 → 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-2MSB5_mE.js → components/2_modals/CreateChat/CreateChat.vue.js} +8 -7
- package/dist/components/2_modals/CreateChat/CreateChat.vue2.js +1 -0
- package/dist/{CreateChat2-CMpXJzp0.js → components/2_modals/CreateChat2/CreateChat2.vue.js} +4 -3
- package/dist/{CreateDialog-CcDtIhwf.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-BCwswaCl.js → components/2_modals/ModalVideoRecorder/ModalVideoRecorder.vue2.js} +48 -49
- package/dist/components/2_modals/SelectUser/SelectUser.vue.js +63 -0
- package/dist/{SelectUser2-C9PtiaqO.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/ButtonEmojiPicker/ButtonEmojiPicker.vue.d.ts +2 -0
- 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 +6 -6
- package/dist/index-5NsJv9hy.js +0 -43496
- 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,106 @@
|
|
|
1
|
+
import { ref as r, inject as S, onMounted as T, onUnmounted as I, createElementBlock as g, openBlock as M, Fragment as L, createCommentVNode as V, createVNode as m, unref as d, normalizeClass as w, createElementVNode as j, Transition as A, withCtx as D, withDirectives as N, vShow as O } from "vue";
|
|
2
|
+
import z from "../../../node_modules/vue3-emoji-picker-ru/dist/emoji-picker.es.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { useMessageDraft as F } from "../../../hooks/useMessageDraft.js";
|
|
5
|
+
import "../../../hooks/useSearchModel.js";
|
|
6
|
+
import "../../../hooks/useTheme.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import R from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
11
|
+
import "../../../functions/parseMarkdown.js";
|
|
12
|
+
import U from "./icons/SmilesIcon.vue.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
const q = {
|
|
15
|
+
__name: "ButtonEmojiPicker",
|
|
16
|
+
props: {
|
|
17
|
+
state: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "active"
|
|
20
|
+
},
|
|
21
|
+
mode: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "click",
|
|
24
|
+
// или 'hover'
|
|
25
|
+
validator: (i) => ["click", "hover"].includes(i)
|
|
26
|
+
},
|
|
27
|
+
native: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
setup(i) {
|
|
33
|
+
const t = i, c = r(null), l = r(null), o = r(!1), v = r("light"), f = S("chatAppId"), { setMessageText: E, getMessage: p } = F(f);
|
|
34
|
+
let n = !1, a = !1;
|
|
35
|
+
const b = () => {
|
|
36
|
+
var u;
|
|
37
|
+
const e = document.getElementById(f);
|
|
38
|
+
return (u = e == null ? void 0 : e.getAttribute("data-theme")) != null && u.includes("dark") ? "dark" : "light";
|
|
39
|
+
}, B = (e) => {
|
|
40
|
+
E(p().text + e.i), t.mode === "click" && (o.value = !1);
|
|
41
|
+
}, k = () => {
|
|
42
|
+
t.state === "active" && (v.value = b(), o.value = !0);
|
|
43
|
+
}, s = () => {
|
|
44
|
+
o.value = !1;
|
|
45
|
+
}, P = () => {
|
|
46
|
+
t.mode === "click" && (o.value = !o.value, o.value && k());
|
|
47
|
+
}, _ = () => {
|
|
48
|
+
t.mode === "hover" && (n = !0, k());
|
|
49
|
+
}, y = () => {
|
|
50
|
+
t.mode === "hover" && (n = !1, setTimeout(() => {
|
|
51
|
+
!a && !n && s();
|
|
52
|
+
}, 150));
|
|
53
|
+
}, x = () => {
|
|
54
|
+
t.mode === "hover" && (a = !0);
|
|
55
|
+
}, C = () => {
|
|
56
|
+
t.mode === "hover" && (a = !1, setTimeout(() => {
|
|
57
|
+
!n && !a && s();
|
|
58
|
+
}, 150));
|
|
59
|
+
}, h = (e) => {
|
|
60
|
+
t.mode === "click" && o.value && l.value && c.value && !l.value.contains(e.target) && !c.value.contains(e.target) && s();
|
|
61
|
+
};
|
|
62
|
+
return T(() => {
|
|
63
|
+
document.addEventListener("click", h);
|
|
64
|
+
}), I(() => {
|
|
65
|
+
document.removeEventListener("click", h);
|
|
66
|
+
}), (e, u) => (M(), g(L, null, [
|
|
67
|
+
d(p)().isRecording ? V("", !0) : (M(), g("button", {
|
|
68
|
+
key: 0,
|
|
69
|
+
ref_key: "emojiButton",
|
|
70
|
+
ref: l,
|
|
71
|
+
class: w(["button", { "button-disabled": i.state === "disabled" }]),
|
|
72
|
+
onClick: P,
|
|
73
|
+
onMouseenter: _,
|
|
74
|
+
onMouseleave: y
|
|
75
|
+
}, [
|
|
76
|
+
j("span", null, [
|
|
77
|
+
m(d(U))
|
|
78
|
+
])
|
|
79
|
+
], 34)),
|
|
80
|
+
m(A, null, {
|
|
81
|
+
default: D(() => [
|
|
82
|
+
N(j("div", {
|
|
83
|
+
ref_key: "emoji",
|
|
84
|
+
ref: c,
|
|
85
|
+
class: "emoji",
|
|
86
|
+
onMouseenter: x,
|
|
87
|
+
onMouseleave: C
|
|
88
|
+
}, [
|
|
89
|
+
m(d(z), {
|
|
90
|
+
native: i.native,
|
|
91
|
+
theme: v.value,
|
|
92
|
+
"picker-type": "",
|
|
93
|
+
onSelect: B
|
|
94
|
+
}, null, 8, ["native", "theme"])
|
|
95
|
+
], 544), [
|
|
96
|
+
[O, o.value]
|
|
97
|
+
])
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
], 64));
|
|
102
|
+
}
|
|
103
|
+
}, ie = /* @__PURE__ */ R(q, [["__scopeId", "data-v-5bb0871b"]]);
|
|
104
|
+
export {
|
|
105
|
+
ie as default
|
|
106
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as e, createStaticVNode as i } from "vue";
|
|
2
|
+
import l from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const r = {}, o = {
|
|
4
|
+
width: "27",
|
|
5
|
+
height: "26",
|
|
6
|
+
viewBox: "0 0 27 26",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function c(n, C) {
|
|
11
|
+
return e(), t("svg", o, [...C[0] || (C[0] = [
|
|
12
|
+
i('<g clip-path="url(#clip0_1718_559)"><path d="M13.9883 24.375C10.9714 24.375 8.07817 23.1766 5.94494 21.0433C3.81172 18.9101 2.61328 16.0168 2.61328 13C2.61328 9.98316 3.81172 7.08989 5.94494 4.95666C8.07817 2.82343 10.9714 1.625 13.9883 1.625C17.0051 1.625 19.8984 2.82343 22.0316 4.95666C24.1648 7.08989 25.3633 9.98316 25.3633 13C25.3633 16.0168 24.1648 18.9101 22.0316 21.0433C19.8984 23.1766 17.0051 24.375 13.9883 24.375ZM13.9883 26C17.4361 26 20.7427 24.6304 23.1807 22.1924C25.6186 19.7544 26.9883 16.4478 26.9883 13C26.9883 9.55219 25.6186 6.24558 23.1807 3.80761C20.7427 1.36964 17.4361 0 13.9883 0C10.5405 0 7.23387 1.36964 4.79589 3.80761C2.35792 6.24558 0.988281 9.55219 0.988281 13C0.988281 16.4478 2.35792 19.7544 4.79589 22.1924C7.23387 24.6304 10.5405 26 13.9883 26Z" fill="#5F5F5F"></path><path d="M7.95115 15.5464C8.13776 15.4386 8.35953 15.4094 8.56767 15.4652C8.77581 15.521 8.95328 15.6571 9.06102 15.8438C9.56008 16.7088 10.2782 17.4271 11.1432 17.9263C12.0081 18.4256 12.9893 18.6881 13.988 18.6875C14.9867 18.6881 15.9679 18.4256 16.8329 17.9263C17.6978 17.4271 18.416 16.7088 18.915 15.8438C18.968 15.7506 19.0388 15.6688 19.1235 15.6032C19.2082 15.5375 19.3051 15.4893 19.4085 15.4612C19.5119 15.4331 19.6198 15.4258 19.7261 15.4396C19.8323 15.4534 19.9348 15.4881 20.0276 15.5417C20.1204 15.5953 20.2017 15.6667 20.2668 15.7518C20.3319 15.8369 20.3795 15.9341 20.4069 16.0377C20.4342 16.1412 20.4409 16.2492 20.4264 16.3554C20.4118 16.4616 20.3765 16.5638 20.3223 16.6562C19.6806 17.7683 18.7573 18.6918 17.6453 19.3336C16.5334 19.9755 15.2719 20.3131 13.988 20.3125C12.7041 20.3131 11.4427 19.9755 10.3307 19.3336C9.21873 18.6918 8.29545 17.7683 7.65377 16.6562C7.54604 16.4696 7.51684 16.2479 7.57261 16.0397C7.62837 15.8316 7.76454 15.6541 7.95115 15.5464ZM12.363 10.5625C12.363 11.908 11.635 13 10.738 13C9.84102 13 9.11302 11.908 9.11302 10.5625C9.11302 9.217 9.84102 8.125 10.738 8.125C11.635 8.125 12.363 9.217 12.363 10.5625ZM18.863 10.5625C18.863 11.908 18.135 13 17.238 13C16.341 13 15.613 11.908 15.613 10.5625C15.613 9.217 16.341 8.125 17.238 8.125C18.135 8.125 18.863 9.217 18.863 10.5625Z" fill="#5F5F5F"></path></g><defs><clipPath id="clip0_1718_559"><rect width="26" height="26" fill="white" transform="translate(0.988281)"></rect></clipPath></defs>', 2)
|
|
13
|
+
])]);
|
|
14
|
+
}
|
|
15
|
+
const a = /* @__PURE__ */ l(r, [["render", c]]);
|
|
16
|
+
export {
|
|
17
|
+
a as default
|
|
18
|
+
};
|
package/dist/components/2_chatinput_elements/ButtonTemplateSelector/ButtonTemplateSelector.vue.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { inject as h, ref as r, onMounted as g, createElementBlock as s, openBlock as i, Fragment as k, createVNode as a, withCtx as u, createCommentVNode as w, unref as p, normalizeClass as B, createElementVNode as d, Transition as T, withDirectives as b, vShow as M } from "vue";
|
|
2
|
+
import S from "../TemplateSelector/TemplateSelector.vue.js";
|
|
3
|
+
import C from "../../1_atoms/Tooltip/Tooltip.vue.js";
|
|
4
|
+
import { useMessageDraft as _ } from "../../../hooks/useMessageDraft.js";
|
|
5
|
+
import "../../../hooks/useSearchModel.js";
|
|
6
|
+
import "../../../hooks/useTheme.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import x from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
11
|
+
import "../../../functions/parseMarkdown.js";
|
|
12
|
+
import q from "./icons/ChatTemplatesIcon.vue.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
const A = { class: "" }, I = {
|
|
15
|
+
__name: "ButtonTemplateSelector",
|
|
16
|
+
props: {
|
|
17
|
+
templates: {
|
|
18
|
+
type: Array,
|
|
19
|
+
required: !1,
|
|
20
|
+
default: () => []
|
|
21
|
+
},
|
|
22
|
+
groupTemplates: {
|
|
23
|
+
type: Array,
|
|
24
|
+
required: !1,
|
|
25
|
+
default: () => []
|
|
26
|
+
},
|
|
27
|
+
mode: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: !1,
|
|
30
|
+
default: "click"
|
|
31
|
+
},
|
|
32
|
+
state: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "active"
|
|
35
|
+
},
|
|
36
|
+
elevatedWindow: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
required: !1
|
|
39
|
+
},
|
|
40
|
+
chatBackground: {
|
|
41
|
+
type: String,
|
|
42
|
+
default: void 0
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
setup(o) {
|
|
46
|
+
const t = o, c = h("chatAppId"), { getMessage: m } = _(c), f = r(null), e = r(null), v = () => {
|
|
47
|
+
t.mode == "click" && t.state == "active" && (e.value.style.display == "none" ? e.value.style.display = "inherit" : e.value.style.display == "inherit" && (e.value.style.display = "none"));
|
|
48
|
+
}, l = () => {
|
|
49
|
+
t.mode == "hover" && t.state == "active" && (e.value.style.display = "inherit");
|
|
50
|
+
}, n = () => {
|
|
51
|
+
t.mode == "hover" && t.state == "active" && (e.value.style.display = "none");
|
|
52
|
+
}, y = () => {
|
|
53
|
+
e.value.style.display = "none";
|
|
54
|
+
};
|
|
55
|
+
return g(() => {
|
|
56
|
+
e.value.style.display = "none";
|
|
57
|
+
}), (N, V) => (i(), s(k, null, [
|
|
58
|
+
a(C, {
|
|
59
|
+
text: "Шаблоны сообщений",
|
|
60
|
+
position: "left"
|
|
61
|
+
}, {
|
|
62
|
+
default: u(() => [
|
|
63
|
+
p(m)().isRecording ? w("", !0) : (i(), s("button", {
|
|
64
|
+
key: 0,
|
|
65
|
+
ref_key: "templateButton",
|
|
66
|
+
ref: f,
|
|
67
|
+
class: B(["button-template", { "button-template-disabled": o.state == "disabled" }]),
|
|
68
|
+
onClick: v,
|
|
69
|
+
onMouseover: l,
|
|
70
|
+
onMouseout: n
|
|
71
|
+
}, [
|
|
72
|
+
d("span", A, [
|
|
73
|
+
a(p(q))
|
|
74
|
+
])
|
|
75
|
+
], 34))
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
}),
|
|
79
|
+
a(T, null, {
|
|
80
|
+
default: u(() => [
|
|
81
|
+
b(d("div", {
|
|
82
|
+
ref_key: "template",
|
|
83
|
+
ref: e,
|
|
84
|
+
onMouseover: l,
|
|
85
|
+
onMouseout: n
|
|
86
|
+
}, [
|
|
87
|
+
a(S, {
|
|
88
|
+
templates: o.templates,
|
|
89
|
+
"group-templates": o.groupTemplates,
|
|
90
|
+
"elevated-window": o.elevatedWindow,
|
|
91
|
+
"chat-background": o.chatBackground,
|
|
92
|
+
onCloseTemplateWindow: y
|
|
93
|
+
}, null, 8, ["templates", "group-templates", "elevated-window", "chat-background"])
|
|
94
|
+
], 544), [
|
|
95
|
+
[M, t.state === "active"]
|
|
96
|
+
])
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
})
|
|
100
|
+
], 64));
|
|
101
|
+
}
|
|
102
|
+
}, P = /* @__PURE__ */ x(I, [["__scopeId", "data-v-a3a0f5bd"]]);
|
|
103
|
+
export {
|
|
104
|
+
P as default
|
|
105
|
+
};
|
package/dist/components/2_chatinput_elements/ButtonTemplateSelector/icons/ChatTemplatesIcon.vue.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as t } from "vue";
|
|
2
|
+
import n from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = {}, r = {
|
|
4
|
+
width: "26",
|
|
5
|
+
height: "26",
|
|
6
|
+
viewBox: "0 0 26 26",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function s(c, C) {
|
|
11
|
+
return o(), e("svg", r, [...C[0] || (C[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
d: "M22.75 1.625C23.181 1.625 23.5943 1.7962 23.899 2.10095C24.2038 2.4057 24.375 2.81902 24.375 3.25V16.25C24.375 16.681 24.2038 17.0943 23.899 17.399C23.5943 17.7038 23.181 17.875 22.75 17.875H18.6875C18.183 17.875 17.6853 17.9925 17.2341 18.2181C16.7828 18.4438 16.3902 18.7714 16.0875 19.175L13 23.2911L9.9125 19.175C9.60977 18.7714 9.21722 18.4438 8.76594 18.2181C8.31466 17.9925 7.81705 17.875 7.3125 17.875H3.25C2.81902 17.875 2.4057 17.7038 2.10095 17.399C1.7962 17.0943 1.625 16.681 1.625 16.25V3.25C1.625 2.81902 1.7962 2.4057 2.10095 2.10095C2.4057 1.7962 2.81902 1.625 3.25 1.625H22.75ZM3.25 0C2.38805 0 1.5614 0.34241 0.951903 0.951903C0.34241 1.5614 0 2.38805 0 3.25L0 16.25C0 17.112 0.34241 17.9386 0.951903 18.5481C1.5614 19.1576 2.38805 19.5 3.25 19.5H7.3125C7.56477 19.5 7.81358 19.5587 8.03922 19.6716C8.26486 19.7844 8.46114 19.9482 8.6125 20.15L11.7 24.2661C11.8514 24.4679 12.0476 24.6318 12.2733 24.7446C12.4989 24.8574 12.7477 24.9161 13 24.9161C13.2523 24.9161 13.5011 24.8574 13.7267 24.7446C13.9524 24.6318 14.1486 24.4679 14.3 24.2661L17.3875 20.15C17.5389 19.9482 17.7351 19.7844 17.9608 19.6716C18.1864 19.5587 18.4352 19.5 18.6875 19.5H22.75C23.612 19.5 24.4386 19.1576 25.0481 18.5481C25.6576 17.9386 26 17.112 26 16.25V3.25C26 2.38805 25.6576 1.5614 25.0481 0.951903C24.4386 0.34241 23.612 0 22.75 0L3.25 0Z",
|
|
14
|
+
fill: "#5F5F5F"
|
|
15
|
+
}, null, -1),
|
|
16
|
+
t("path", {
|
|
17
|
+
d: "M4.875 5.6875C4.875 5.47201 4.9606 5.26535 5.11298 5.11298C5.26535 4.9606 5.47201 4.875 5.6875 4.875H20.3125C20.528 4.875 20.7347 4.9606 20.887 5.11298C21.0394 5.26535 21.125 5.47201 21.125 5.6875C21.125 5.90299 21.0394 6.10965 20.887 6.26202C20.7347 6.4144 20.528 6.5 20.3125 6.5H5.6875C5.47201 6.5 5.26535 6.4144 5.11298 6.26202C4.9606 6.10965 4.875 5.90299 4.875 5.6875ZM4.875 9.75C4.875 9.53451 4.9606 9.32785 5.11298 9.17548C5.26535 9.0231 5.47201 8.9375 5.6875 8.9375H20.3125C20.528 8.9375 20.7347 9.0231 20.887 9.17548C21.0394 9.32785 21.125 9.53451 21.125 9.75C21.125 9.96549 21.0394 10.1722 20.887 10.3245C20.7347 10.4769 20.528 10.5625 20.3125 10.5625H5.6875C5.47201 10.5625 5.26535 10.4769 5.11298 10.3245C4.9606 10.1722 4.875 9.96549 4.875 9.75ZM4.875 13.8125C4.875 13.597 4.9606 13.3903 5.11298 13.238C5.26535 13.0856 5.47201 13 5.6875 13H13.8125C14.028 13 14.2347 13.0856 14.387 13.238C14.5394 13.3903 14.625 13.597 14.625 13.8125C14.625 14.028 14.5394 14.2347 14.387 14.387C14.2347 14.5394 14.028 14.625 13.8125 14.625H5.6875C5.47201 14.625 5.26535 14.5394 5.11298 14.387C4.9606 14.2347 4.875 14.028 4.875 13.8125Z",
|
|
18
|
+
fill: "#5F5F5F"
|
|
19
|
+
}, null, -1)
|
|
20
|
+
])]);
|
|
21
|
+
}
|
|
22
|
+
const f = /* @__PURE__ */ n(l, [["render", s]]);
|
|
23
|
+
export {
|
|
24
|
+
f as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { provide as h, inject as k, ref as r, onMounted as w, createElementBlock as i, openBlock as u, Fragment as B, createCommentVNode as W, createElementVNode as p, unref as S, normalizeClass as T, createVNode as M } from "vue";
|
|
2
|
+
import V from "../WABATemplateSelector/WABATemplateSelector.vue.js";
|
|
3
|
+
import { useMessageDraft as A } from "../../../hooks/useMessageDraft.js";
|
|
4
|
+
import "../../../hooks/useSearchModel.js";
|
|
5
|
+
import "../../../hooks/useTheme.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import q from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
/* empty css */
|
|
9
|
+
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
10
|
+
import "../../../functions/parseMarkdown.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
const C = {
|
|
13
|
+
__name: "ButtonWabaTemplateSelector",
|
|
14
|
+
props: {
|
|
15
|
+
wabaTemplates: {
|
|
16
|
+
type: Array,
|
|
17
|
+
required: !1,
|
|
18
|
+
default: () => []
|
|
19
|
+
},
|
|
20
|
+
groupTemplates: {
|
|
21
|
+
type: Array,
|
|
22
|
+
required: !1,
|
|
23
|
+
default: () => []
|
|
24
|
+
},
|
|
25
|
+
mode: {
|
|
26
|
+
type: String,
|
|
27
|
+
required: !1,
|
|
28
|
+
default: "click"
|
|
29
|
+
},
|
|
30
|
+
state: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "active"
|
|
33
|
+
},
|
|
34
|
+
filebumpUrl: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "https://filebump2.services.mobilon.ru"
|
|
37
|
+
},
|
|
38
|
+
elevatedWindow: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
required: !1
|
|
41
|
+
},
|
|
42
|
+
chatBackground: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: void 0
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
emits: ["sendWabaValues"],
|
|
48
|
+
setup(a, { emit: d }) {
|
|
49
|
+
const t = a;
|
|
50
|
+
h("filebumpUrl", t.filebumpUrl);
|
|
51
|
+
const m = k("chatAppId"), { getMessage: c } = A(m), f = r(null), e = r(null), y = d, v = () => {
|
|
52
|
+
t.mode == "click" && t.state == "active" && (e.value.style.display == "none" ? e.value.style.display = "inherit" : e.value.style.display == "inherit" && (e.value.style.display = "none"));
|
|
53
|
+
}, l = () => {
|
|
54
|
+
t.mode == "hover" && t.state == "active" && (e.value.style.display = "inherit");
|
|
55
|
+
}, o = () => {
|
|
56
|
+
t.mode == "hover" && t.state == "active" && (e.value.style.display = "none");
|
|
57
|
+
}, b = () => {
|
|
58
|
+
e.value.style.display = "none";
|
|
59
|
+
};
|
|
60
|
+
w(() => {
|
|
61
|
+
e.value.style.display = "none";
|
|
62
|
+
});
|
|
63
|
+
const g = (n) => {
|
|
64
|
+
y("sendWabaValues", n);
|
|
65
|
+
};
|
|
66
|
+
return (n, s) => (u(), i(B, null, [
|
|
67
|
+
S(c)().isRecording ? W("", !0) : (u(), i("button", {
|
|
68
|
+
key: 0,
|
|
69
|
+
ref_key: "templateButton",
|
|
70
|
+
ref: f,
|
|
71
|
+
class: T(["button-template", { "button-template-disabled": a.state == "disabled" }]),
|
|
72
|
+
onClick: v,
|
|
73
|
+
onMouseover: l,
|
|
74
|
+
onMouseout: o
|
|
75
|
+
}, [...s[0] || (s[0] = [
|
|
76
|
+
p("span", { class: "pi pi-code" }, null, -1)
|
|
77
|
+
])], 34)),
|
|
78
|
+
p("div", {
|
|
79
|
+
ref_key: "template",
|
|
80
|
+
ref: e,
|
|
81
|
+
onMouseover: l,
|
|
82
|
+
onMouseout: o
|
|
83
|
+
}, [
|
|
84
|
+
M(V, {
|
|
85
|
+
"waba-templates": a.wabaTemplates,
|
|
86
|
+
"group-templates": a.groupTemplates,
|
|
87
|
+
"elevated-window": a.elevatedWindow,
|
|
88
|
+
"chat-background": a.chatBackground,
|
|
89
|
+
onCloseTemplateWindow: b,
|
|
90
|
+
onSendWabaValues: g
|
|
91
|
+
}, null, 8, ["waba-templates", "group-templates", "elevated-window", "chat-background"])
|
|
92
|
+
], 544)
|
|
93
|
+
], 64));
|
|
94
|
+
}
|
|
95
|
+
}, H = /* @__PURE__ */ q(C, [["__scopeId", "data-v-e300d7b9"]]);
|
|
96
|
+
export {
|
|
97
|
+
H as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { defineComponent as M, inject as P, ref as s, computed as I, onMounted as x, createElementBlock as n, openBlock as o, createElementVNode as i, createBlock as h, withDirectives as k, vShow as g, createCommentVNode as r, toDisplayString as f, Teleport as A, createVNode as L, Transition as U, withCtx as T, unref as N } from "vue";
|
|
2
|
+
import z from "../../2_modals/ModalFullscreen/ModalFullscreen.vue.js";
|
|
3
|
+
import "../../../hooks/useMessageDraft.js";
|
|
4
|
+
import "../../../hooks/useSearchModel.js";
|
|
5
|
+
import { useTheme as B } from "../../../hooks/useTheme.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
9
|
+
import "../../../functions/parseMarkdown.js";
|
|
10
|
+
const D = { class: "preview__container" }, j = { class: "preview__block" }, F = ["src"], O = ["src"], q = {
|
|
11
|
+
key: 2,
|
|
12
|
+
style: { display: "flex", gap: "5px" }
|
|
13
|
+
}, G = ["src"], H = { class: "pi pi-play" }, J = { class: "pi pi-pause" }, K = { key: 3 }, Q = { class: "preview__control-block" }, R = { class: "preview__information" }, W = { class: "preview__name" }, X = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "preview__size"
|
|
16
|
+
}, Y = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "preview__audio-time"
|
|
19
|
+
}, Z = {
|
|
20
|
+
key: 2,
|
|
21
|
+
class: "preview__audio-time"
|
|
22
|
+
}, ee = { class: "preview__reset" }, ie = ["src"], te = ["src"], ce = /* @__PURE__ */ M({
|
|
23
|
+
__name: "FilePreview",
|
|
24
|
+
props: {
|
|
25
|
+
fileInfo: {
|
|
26
|
+
type: Object,
|
|
27
|
+
required: !0
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
emits: ["reset"],
|
|
31
|
+
setup(t, { emit: C }) {
|
|
32
|
+
const b = P("chatAppId"), { getTheme: p } = B(b), E = C, e = s(), a = s(), u = s(!1), v = s(0), _ = s(0), d = s(!1), S = () => d.value = !1;
|
|
33
|
+
function V() {
|
|
34
|
+
e.value && (u.value ? e.value.pause() : e.value.play(), u.value = !u.value);
|
|
35
|
+
}
|
|
36
|
+
const w = (m) => {
|
|
37
|
+
const l = Math.floor(m / 60), c = Math.floor(m % 60);
|
|
38
|
+
return `${l.toString().padStart(2, "0")}:${c.toString().padStart(2, "0")}`;
|
|
39
|
+
}, $ = I(() => e.value ? w(_.value) : "0:00"), y = I(() => e.value || a.value ? w(v.value) : "0:00");
|
|
40
|
+
return x(() => {
|
|
41
|
+
e.value != null && (e.value.addEventListener("loadedmetadata", () => {
|
|
42
|
+
e.value != null && (e.value.duration == 1 / 0 || Number.isNaN(e.value.duration)) && (e.value.currentTime = 1e101, e.value.addEventListener("timeupdate", () => {
|
|
43
|
+
e.value && (e.value.currentTime = 0, v.value = e.value.duration);
|
|
44
|
+
}, { once: !0 })), v.value = e.value != null ? e.value.duration : 0;
|
|
45
|
+
}), e.value.addEventListener("timeupdate", () => {
|
|
46
|
+
_.value = e.value != null ? e.value.currentTime : 0;
|
|
47
|
+
})), a.value && a.value.addEventListener("loadedmetadata", () => {
|
|
48
|
+
a.value && (v.value = a.value.duration, (a.value.duration == 1 / 0 || Number.isNaN(a.value.duration)) && (a.value.currentTime = 1e101, a.value.addEventListener("timeupdate", () => {
|
|
49
|
+
a.value && (a.value.currentTime = 0, v.value = a.value.duration);
|
|
50
|
+
}, { once: !0 })));
|
|
51
|
+
});
|
|
52
|
+
}), (m, l) => (o(), n("div", D, [
|
|
53
|
+
i("div", j, [
|
|
54
|
+
t.fileInfo.isImage ? (o(), n("div", {
|
|
55
|
+
key: 0,
|
|
56
|
+
style: { position: "relative" },
|
|
57
|
+
onClick: l[0] || (l[0] = (c) => d.value = !0)
|
|
58
|
+
}, [
|
|
59
|
+
i("img", {
|
|
60
|
+
src: t.fileInfo.previewUrl,
|
|
61
|
+
alt: "Image Preview",
|
|
62
|
+
class: "preview__image"
|
|
63
|
+
}, null, 8, F),
|
|
64
|
+
l[3] || (l[3] = i("div", { class: "preview__shadow" }, [
|
|
65
|
+
i("span", { class: "pi pi-plus-circle" })
|
|
66
|
+
], -1))
|
|
67
|
+
])) : t.fileInfo.isVideo ? (o(), n("div", {
|
|
68
|
+
key: 1,
|
|
69
|
+
style: { position: "relative" },
|
|
70
|
+
onClick: l[1] || (l[1] = (c) => d.value = !0)
|
|
71
|
+
}, [
|
|
72
|
+
i("video", {
|
|
73
|
+
ref_key: "video",
|
|
74
|
+
ref: a,
|
|
75
|
+
src: t.fileInfo.previewUrl,
|
|
76
|
+
class: "preview__video"
|
|
77
|
+
}, null, 8, O),
|
|
78
|
+
l[4] || (l[4] = i("div", { class: "preview__shadow" }, [
|
|
79
|
+
i("span", { class: "pi pi-play" })
|
|
80
|
+
], -1))
|
|
81
|
+
])) : t.fileInfo.isAudio ? (o(), n("div", q, [
|
|
82
|
+
l[5] || (l[5] = i("span", {
|
|
83
|
+
class: "pi pi-headphones",
|
|
84
|
+
style: { "font-size": "1rem", margin: "auto" }
|
|
85
|
+
}, null, -1)),
|
|
86
|
+
i("audio", {
|
|
87
|
+
ref_key: "audio",
|
|
88
|
+
ref: e,
|
|
89
|
+
src: t.fileInfo.previewUrl
|
|
90
|
+
}, null, 8, G),
|
|
91
|
+
i("button", {
|
|
92
|
+
class: "preview__audio-control",
|
|
93
|
+
onClick: V
|
|
94
|
+
}, [
|
|
95
|
+
k(i("span", H, null, 512), [
|
|
96
|
+
[g, !u.value]
|
|
97
|
+
]),
|
|
98
|
+
k(i("span", J, null, 512), [
|
|
99
|
+
[g, u.value]
|
|
100
|
+
])
|
|
101
|
+
])
|
|
102
|
+
])) : (o(), n("div", K, [...l[6] || (l[6] = [
|
|
103
|
+
i("span", {
|
|
104
|
+
class: "pi pi-file",
|
|
105
|
+
style: { "font-size": "2.5rem" }
|
|
106
|
+
}, null, -1)
|
|
107
|
+
])]))
|
|
108
|
+
]),
|
|
109
|
+
i("div", Q, [
|
|
110
|
+
i("div", R, [
|
|
111
|
+
i("span", W, f(t.fileInfo.fileName), 1),
|
|
112
|
+
!t.fileInfo.isAudio && !t.fileInfo.isVideo ? (o(), n("span", X, f(t.fileInfo.fileSize), 1)) : r("", !0),
|
|
113
|
+
t.fileInfo.isAudio ? (o(), n("span", Y, f(`${$.value} / ${y.value}`), 1)) : r("", !0),
|
|
114
|
+
t.fileInfo.isVideo ? (o(), n("span", Z, f(y.value), 1)) : r("", !0)
|
|
115
|
+
]),
|
|
116
|
+
i("div", ee, [
|
|
117
|
+
i("span", {
|
|
118
|
+
class: "pi pi-times",
|
|
119
|
+
onClick: l[2] || (l[2] = (c) => E("reset"))
|
|
120
|
+
})
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
(o(), h(A, { to: "body" }, [
|
|
124
|
+
L(U, { name: "modal-fade" }, {
|
|
125
|
+
default: T(() => [
|
|
126
|
+
d.value ? (o(), h(z, {
|
|
127
|
+
key: 0,
|
|
128
|
+
theme: N(p)().theme ? N(p)().theme : "",
|
|
129
|
+
onClose: S
|
|
130
|
+
}, {
|
|
131
|
+
default: T(() => [
|
|
132
|
+
t.fileInfo.isVideo ? (o(), n("video", {
|
|
133
|
+
key: 0,
|
|
134
|
+
class: "preview__modal-video",
|
|
135
|
+
src: t.fileInfo.previewUrl,
|
|
136
|
+
controls: "",
|
|
137
|
+
autoplay: ""
|
|
138
|
+
}, null, 8, ie)) : r("", !0),
|
|
139
|
+
t.fileInfo.isImage ? (o(), n("img", {
|
|
140
|
+
key: 1,
|
|
141
|
+
class: "preview__modal-image",
|
|
142
|
+
src: t.fileInfo.previewUrl,
|
|
143
|
+
alt: "Image Preview"
|
|
144
|
+
}, null, 8, te)) : r("", !0)
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["theme"])) : r("", !0)
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
})
|
|
151
|
+
]))
|
|
152
|
+
]));
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
export {
|
|
156
|
+
ce as default
|
|
157
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { defineComponent as M, ref as d, inject as z, computed as A, onMounted as B, createElementBlock as m, openBlock as s, Fragment as E, createCommentVNode as v, createElementVNode as p, createBlock as b, normalizeClass as V, createVNode as D, unref as g, Teleport as N } from "vue";
|
|
2
|
+
import x from "../FilePreview/FilePreview.vue.js";
|
|
3
|
+
import { uploadFile as R } from "../../../hooks/uploadFile/uploadFile.js";
|
|
4
|
+
import { useMessageDraft as j } from "../../../hooks/useMessageDraft.js";
|
|
5
|
+
import "../../../hooks/useSearchModel.js";
|
|
6
|
+
import "../../../hooks/useTheme.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
import "../../../node_modules/linkifyjs/dist/linkify.js";
|
|
10
|
+
import "../../../functions/parseMarkdown.js";
|
|
11
|
+
import L from "./icons/FileUploaderIcon.vue.js";
|
|
12
|
+
const O = { key: 0 }, P = { key: 1 }, T = ["disabled"], ie = /* @__PURE__ */ M({
|
|
13
|
+
__name: "FileUploader",
|
|
14
|
+
props: {
|
|
15
|
+
filebumpUrl: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
state: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "active"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
emits: ["fileUploaded"],
|
|
25
|
+
setup(u, { emit: q }) {
|
|
26
|
+
const f = u, l = d(""), o = d(), r = d(), a = z("chatAppId"), { setMessageFile: k, resetMessageFile: I, getMessage: y, setRecordingMessage: w } = j(a), c = A(() => !y().file), F = () => {
|
|
27
|
+
const t = document.getElementById("chat-input-file-line-" + a);
|
|
28
|
+
t && (t.style.display = "none"), I(), r.value = void 0, l.value = "";
|
|
29
|
+
}, h = async () => {
|
|
30
|
+
var t, i;
|
|
31
|
+
F(), (t = o.value) != null && t.files && U((i = o.value) == null ? void 0 : i.files[0]);
|
|
32
|
+
}, C = () => {
|
|
33
|
+
o.value && c && f.state == "active" && o.value.click();
|
|
34
|
+
}, S = async (t) => {
|
|
35
|
+
var e;
|
|
36
|
+
const i = (e = t.clipboardData) == null ? void 0 : e.items;
|
|
37
|
+
if (i) {
|
|
38
|
+
for (let n of i)
|
|
39
|
+
if (n.type.indexOf("image") !== -1) {
|
|
40
|
+
t.preventDefault();
|
|
41
|
+
const _ = n.getAsFile();
|
|
42
|
+
_ && U(_);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}, U = async (t) => {
|
|
46
|
+
l.value = "uploading", w(!0);
|
|
47
|
+
const i = typeof f.filebumpUrl == "string" ? f.filebumpUrl : null;
|
|
48
|
+
await R(i, t).then((e) => {
|
|
49
|
+
if (w(!1), l.value = e.status, e.status == "success") {
|
|
50
|
+
k({
|
|
51
|
+
url: e.url,
|
|
52
|
+
name: e.name,
|
|
53
|
+
size: e.size,
|
|
54
|
+
type: e.type
|
|
55
|
+
});
|
|
56
|
+
const n = document.getElementById("chat-input-file-line-" + a);
|
|
57
|
+
n && (n.style.display = "inherit"), e.preview && (r.value = {
|
|
58
|
+
previewUrl: e.preview.previewUrl,
|
|
59
|
+
isImage: e.preview.isImage,
|
|
60
|
+
isVideo: e.preview.isVideo,
|
|
61
|
+
isAudio: e.preview.isAudio,
|
|
62
|
+
fileName: e.name,
|
|
63
|
+
fileSize: e.preview.fileSize
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
return B(() => {
|
|
69
|
+
window.addEventListener("paste", S);
|
|
70
|
+
}), (t, i) => (s(), m(E, null, [
|
|
71
|
+
l.value === "uploading" ? (s(), m("div", O, [...i[0] || (i[0] = [
|
|
72
|
+
p("p", null, "Загрузка файла...", -1)
|
|
73
|
+
])])) : l.value === "error" ? (s(), m("div", P, [...i[1] || (i[1] = [
|
|
74
|
+
p("p", null, "Ошибка при загрузке файла.", -1)
|
|
75
|
+
])])) : v("", !0),
|
|
76
|
+
p("span", {
|
|
77
|
+
class: V(["file-uploader__trigger", { "file-uploader__disabled": !c.value || u.state == "disabled" }]),
|
|
78
|
+
disabled: !c.value || u.state == "disabled",
|
|
79
|
+
onClick: C
|
|
80
|
+
}, [
|
|
81
|
+
D(g(L))
|
|
82
|
+
], 10, T),
|
|
83
|
+
p("input", {
|
|
84
|
+
ref_key: "fileInput",
|
|
85
|
+
ref: o,
|
|
86
|
+
style: { display: "none" },
|
|
87
|
+
type: "file",
|
|
88
|
+
onChange: h
|
|
89
|
+
}, null, 544),
|
|
90
|
+
g(y)().file ? (s(), b(N, {
|
|
91
|
+
key: 2,
|
|
92
|
+
to: "#chat-input-file-line-" + g(a)
|
|
93
|
+
}, [
|
|
94
|
+
r.value ? (s(), b(x, {
|
|
95
|
+
key: 0,
|
|
96
|
+
"file-info": r.value,
|
|
97
|
+
onReset: F
|
|
98
|
+
}, null, 8, ["file-info"])) : v("", !0)
|
|
99
|
+
], 8, ["to"])) : v("", !0)
|
|
100
|
+
], 64));
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
export {
|
|
104
|
+
ie as default
|
|
105
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
|
|
2
|
+
import n from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const r = {}, l = {
|
|
4
|
+
width: "26",
|
|
5
|
+
height: "26",
|
|
6
|
+
viewBox: "0 0 26 26",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function c(i, C) {
|
|
11
|
+
return t(), e("svg", l, [...C[0] || (C[0] = [
|
|
12
|
+
o("path", {
|
|
13
|
+
d: "M7.3125 4.875C7.3125 3.79756 7.74051 2.76425 8.50238 2.00238C9.26425 1.24051 10.2976 0.8125 11.375 0.8125C12.4524 0.8125 13.4858 1.24051 14.2476 2.00238C15.0095 2.76425 15.4375 3.79756 15.4375 4.875V19.5C15.4375 20.1465 15.1807 20.7665 14.7236 21.2236C14.2665 21.6807 13.6465 21.9375 13 21.9375C12.3535 21.9375 11.7335 21.6807 11.2764 21.2236C10.8193 20.7665 10.5625 20.1465 10.5625 19.5V8.125C10.5625 7.90951 10.6481 7.70285 10.8005 7.55048C10.9528 7.3981 11.1595 7.3125 11.375 7.3125C11.5905 7.3125 11.7972 7.3981 11.9495 7.55048C12.1019 7.70285 12.1875 7.90951 12.1875 8.125V19.5C12.1875 19.7155 12.2731 19.9222 12.4255 20.0745C12.5778 20.2269 12.7845 20.3125 13 20.3125C13.2155 20.3125 13.4222 20.2269 13.5745 20.0745C13.7269 19.9222 13.8125 19.7155 13.8125 19.5V4.875C13.8125 4.5549 13.7495 4.23794 13.627 3.94221C13.5045 3.64648 13.3249 3.37777 13.0986 3.15143C12.8722 2.92508 12.6035 2.74554 12.3078 2.62304C12.0121 2.50055 11.6951 2.4375 11.375 2.4375C11.0549 2.4375 10.7379 2.50055 10.4422 2.62304C10.1465 2.74554 9.87777 2.92508 9.65143 3.15143C9.42508 3.37777 9.24554 3.64648 9.12304 3.94221C9.00055 4.23794 8.9375 4.5549 8.9375 4.875V19.5C8.9375 20.5774 9.36551 21.6108 10.1274 22.3726C10.8892 23.1345 11.9226 23.5625 13 23.5625C14.0774 23.5625 15.1108 23.1345 15.8726 22.3726C16.6345 21.6108 17.0625 20.5774 17.0625 19.5V8.125C17.0625 7.90951 17.1481 7.70285 17.3005 7.55048C17.4528 7.3981 17.6595 7.3125 17.875 7.3125C18.0905 7.3125 18.2972 7.3981 18.4495 7.55048C18.6019 7.70285 18.6875 7.90951 18.6875 8.125V19.5C18.6875 21.0084 18.0883 22.4551 17.0217 23.5217C15.9551 24.5883 14.5084 25.1875 13 25.1875C11.4916 25.1875 10.0449 24.5883 8.97833 23.5217C7.91172 22.4551 7.3125 21.0084 7.3125 19.5V4.875Z",
|
|
14
|
+
fill: "#5F5F5F"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const V = /* @__PURE__ */ n(r, [["render", c]]);
|
|
19
|
+
export {
|
|
20
|
+
V as default
|
|
21
|
+
};
|