UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

223 lines (222 loc) 9.68 kB
import { c as t } from "./components.ts-chunk.mjs"; import a from "./_util/cssinjs/index.mjs"; import { _experimental as u } from "./_util/cssinjs/index.mjs"; import { default as d } from "./x-stream/x-stream.mjs"; import { default as c } from "./x-request/x-fetch.mjs"; import { default as h, getXRequestGlobalOptions as A, resetXRequestGlobalOptions as g, setXRequestGlobalOptions as S } from "./x-request/x-request.mjs"; import { AbstractXRequestClass as I, ManualXRequestClass as P, createManualXRequest as b } from "./x-request/manual-x-request.mjs"; import { XAgent as X, default as D } from "./use-x-agent/use-x-agent.mjs"; import { default as y } from "./use-x-chat/use-x-chat.mjs"; import { clearAllConversations as B, clearConversation as L, getConversationMessages as O } from "./use-x-chat/conversationStore.mjs"; import { useXConversations as R } from "./use-x-conversations/index.mjs"; import { toOpenAIMessages as F, transformOpenAIMessage as _ } from "./chat-providers/openaiTransform.mjs"; import { transformDeepSeekMessage as E } from "./chat-providers/deepSeekTransform.mjs"; import { AbstractChatProvider as G, AbstractChatProvider as N } from "./chat-providers/AbstractChatProvider.mjs"; import { DefaultChatProvider as K, DefaultChatProvider as V } from "./chat-providers/DefaultChatProvider.mjs"; import { OpenAIChatProvider as W, OpenAIChatProvider as J } from "./chat-providers/OpenAIChatProvider.mjs"; import { DeepSeekChatProvider as Y, DeepSeekChatProvider as Z } from "./chat-providers/DeepSeekChatProvider.mjs"; import { XMCPClient as ee } from "./x-mcp-client/index.mjs"; import { useNotification as te } from "./notification/index.mjs"; import { useMobile as ae } from "./_util/hooks/use-mobile.mjs"; import { theme as fe } from "ant-design-vue"; import { default as me } from "./version/version.mjs"; import { default as ie } from "./locale/useLocale.mjs"; import { default as xe } from "./locale/LocaleProvider.mjs"; import { _ as ne } from "./x-provider/index-chunk.mjs"; import { defaultPrefixCls as Ce, default as he } from "./x-provider/hooks/use-x-provider-context.mjs"; import { default as ge } from "./bubble/BubbleList.mjs"; import { default as ve } from "./bubble/BubbleSystem.mjs"; import { default as Pe } from "./bubble/BubbleDivider.mjs"; import { default as Te } from "./conversations/Creation.mjs"; import { default as De } from "./welcome/Welcome.mjs"; import { default as ye } from "./prompts/Prompts.mjs"; import { default as Be } from "./suggestion/Suggestion.mjs"; import { default as Oe } from "./sender/SenderHeader.mjs"; import { default as Re } from "./sender/SenderSwitch.mjs"; import { default as Fe } from "./thought-chain/ThoughtChainItem.mjs"; import { default as we } from "./actions/ActionsCopy.mjs"; import { default as He } from "./actions/ActionsFeedback.mjs"; import { default as Ne } from "./actions/ActionsItem.mjs"; import { default as Ke } from "./actions/ActionsAudio.mjs"; import { default as ze } from "./think/Think.mjs"; import { default as Je } from "./sources/Sources.mjs"; import { default as Ye } from "./file-card/FileCard.mjs"; import { default as $e } from "./file-card/List.mjs"; import { default as rr } from "./folder/Folder.mjs"; import { default as or } from "./code-highlighter/CodeHighlighter.mjs"; import { default as sr } from "./mermaid/Mermaid.mjs"; import { default as lr } from "./x-markdown/AnimationText.mjs"; import { default as pr } from "./x-markdown/plugins/Latex.mjs"; import { default as ur } from "./x-markdown/XMarkdown.mjs"; import { XNotification as dr, default as nr } from "./notification/notification.mjs"; import { default as Cr } from "./x-card/Box.mjs"; import { default as Ar } from "./x-card/Card.mjs"; import { default as Sr } from "./_util/cssinjs/theme/Theme.mjs"; import { default as Ir } from "./_util/cssinjs/theme/createTheme.mjs"; import { extractStyle as br, default as Tr } from "./_util/cssinjs/hooks/useStyleRegister/index.mjs"; import { default as Dr } from "./_util/cssinjs/hooks/useCacheToken.mjs"; import { default as yr } from "./_util/cssinjs/Keyframes.mjs"; import { default as Br } from "./_util/cssinjs/transformers/legacyLogicalProperties.mjs"; import { default as Or } from "./_util/cssinjs/transformers/px2rem.mjs"; import { default as Rr } from "./_util/cssinjs/linters/logicalPropertiesLinter.mjs"; import { default as Fr } from "./_util/cssinjs/linters/legacyNotSelectorLinter.mjs"; import { default as wr } from "./_util/cssinjs/linters/parentSelectorLinter.mjs"; import { default as Hr } from "./_util/cssinjs/hooks/useCSSVarRegister.mjs"; import { default as Nr } from "./bubble/index.mjs"; import { ShortcutKeyCode as Kr } from "./_util/shortcut-keys.mjs"; import { isDividerItem as zr } from "./conversations/interface.mjs"; import { default as Jr } from "./conversations/index.mjs"; import { default as Yr } from "./sender/index.mjs"; import { default as $r } from "./attachments/index.mjs"; import { default as rt } from "./thought-chain/index.mjs"; import { ACTIONS_ITEM_STATUS as ot, FEEDBACK_VALUE as at } from "./actions/constants.mjs"; import { default as ft } from "./actions/index.mjs"; import { StreamCacheTokenType as mt } from "./x-markdown/interface.mjs"; import { parseMarkdown as it } from "./x-markdown/parser.mjs"; import { sanitizeMarkdownHtml as xt } from "./x-markdown/sanitize.mjs"; import { escapeHtml as nt } from "./x-markdown/escapeHtml.mjs"; import { useStreaming as Ct } from "./x-markdown/composables/useStreaming.mjs"; import { getInitialCache as At, processStreamingText as gt } from "./x-markdown/streamCache.mjs"; import { plugins as vt } from "./x-markdown/plugins/index.mjs"; import { clearCatalogCache as Pt, loadCatalog as bt, registerCatalog as Tt, validateComponent as Xt } from "./x-card/catalog.mjs"; import { createBasicCatalogComponents as kt, registerBasicCatalog as yt } from "./x-card/basic-catalog/index.mjs"; import { BASIC_CATALOG_ID as Bt, basicCatalog as Lt } from "./x-card/basic-catalog/catalog.mjs"; import { A2UIButton as Ut, A2UICard as Rt, A2UICheckBox as qt, A2UIColumn as Ft, A2UIDivider as _t, A2UIImage as wt, A2UIRow as Et, A2UIText as Ht, A2UITextField as Gt } from "./x-card/basic-catalog/components.mjs"; import { XCard as jt } from "./x-card/index.mjs"; import { ConversationStore as Vt, conversationStoreHelper as zt } from "./use-x-conversations/store.mjs"; import { StyleProvider as Jt, createCache as Qt, useStyleInject as Yt, useStyleProvider as Zt } from "./_util/cssinjs/StyleContext.mjs"; import { token2CSSVar as eo, unit as ro } from "./_util/cssinjs/util.mjs"; const s = function(e) { return Object.keys(t).forEach((o) => { const r = t[o]; r.install && e.use(r); }), e.use(a.StyleProvider), e; }, m = { install: s }; export { Ut as A2UIButton, Rt as A2UICard, qt as A2UICheckBox, Ft as A2UIColumn, _t as A2UIDivider, wt as A2UIImage, Et as A2UIRow, Ht as A2UIText, Gt as A2UITextField, ot as ACTIONS_ITEM_STATUS, G as AbstractChatProvider, N as AbstractChatProviderDefault, I as AbstractXRequestClass, ft as Actions, Ke as ActionsAudio, we as ActionsCopy, He as ActionsFeedback, Ne as ActionsItem, lr as AnimationText, $r as Attachments, Bt as BASIC_CATALOG_ID, Cr as Box, Nr as Bubble, Pe as BubbleDivider, ge as BubbleList, ve as BubbleSystem, Ar as Card, or as CodeHighlighter, Vt as ConversationStore, Jr as Conversations, Te as Creation, Y as DeepSeekChatProvider, Z as DeepSeekChatProviderDefault, K as DefaultChatProvider, V as DefaultChatProviderDefault, at as FEEDBACK_VALUE, Ye as FileCard, $e as FileCardList, rr as Folder, yr as Keyframes, pr as Latex, xe as LocaleProvider, P as ManualXRequestClass, sr as Mermaid, W as OpenAIChatProvider, J as OpenAIChatProviderDefault, ye as Prompts, Yr as Sender, Oe as SenderHeader, Re as SenderSwitch, Kr as ShortcutKeyCode, Je as Sources, mt as StreamCacheTokenType, Jt as StyleProvider, Be as Suggestion, Sr as Theme, ze as Think, rt as ThoughtChain, Fe as ThoughtChainItemComponent, De as Welcome, X as XAgent, jt as XCard, c as XFetch, ee as XMCPClient, ur as XMarkdown, dr as XNotification, ne as XProvider, h as XRequest, d as XStream, u as _experimental, Lt as basicCatalog, B as clearAllConversations, Pt as clearCatalogCache, L as clearConversation, zt as conversationStoreHelper, kt as createBasicCatalogComponents, Qt as createCache, b as createManualXRequest, Ir as createTheme, m as default, Ce as defaultPrefixCls, nt as escapeHtml, br as extractStyle, O as getConversationMessages, At as getInitialCache, A as getXRequestGlobalOptions, s as install, zr as isDividerItem, Br as legacyLogicalPropertiesTransformer, Fr as legacyNotSelectorLinter, bt as loadCatalog, Rr as logicalPropertiesLinter, nr as notification, wr as parentSelectorLinter, it as parseMarkdown, gt as processStreamingText, Or as px2remTransformer, yt as registerBasicCatalog, Tt as registerCatalog, g as resetXRequestGlobalOptions, xt as sanitizeMarkdownHtml, S as setXRequestGlobalOptions, fe as theme, F as toOpenAIMessages, eo as token2CSSVar, E as transformDeepSeekMessage, _ as transformOpenAIMessage, ro as unit, Hr as useCSSVarRegister, Dr as useCacheToken, ie as useLocale, ae as useMobile, te as useNotification, Ct as useStreaming, Yt as useStyleInject, Zt as useStyleProvider, Tr as useStyleRegister, D as useXAgent, y as useXChat, R as useXConversations, he as useXProviderContext, Xt as validateComponent, me as version, vt as xMarkdownPlugins };