ant-design-x-vue 1.1.1 → 1.2.0
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/index.umd.js +19 -198
- package/es/_util/cssinjs/Cache.mjs +16 -0
- package/es/_util/cssinjs/Keyframes.mjs +11 -0
- package/es/_util/cssinjs/StyleContext.mjs +116 -0
- package/es/_util/cssinjs/hooks/useCSSVarRegister.mjs +47 -0
- package/es/_util/cssinjs/hooks/useCacheToken.mjs +9 -0
- package/es/_util/cssinjs/hooks/useCacheToken.tsx2.mjs +76 -0
- package/es/_util/cssinjs/hooks/useGlobalCache.mjs +27 -0
- package/es/_util/cssinjs/hooks/useHMR.mjs +7 -0
- package/es/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.mjs +51 -0
- package/es/_util/cssinjs/hooks/useStyleRegister/index.mjs +17 -0
- package/es/_util/cssinjs/hooks/useStyleRegister/index.tsx2.mjs +541 -0
- package/es/_util/cssinjs/index.mjs +59 -0
- package/es/_util/cssinjs/linters/contentQuotesLinter.mjs +13 -0
- package/es/_util/cssinjs/linters/hashedAnimationLinter.mjs +10 -0
- package/es/_util/cssinjs/linters/index.mjs +12 -0
- package/es/_util/cssinjs/linters/interface.mjs +1 -0
- package/es/_util/cssinjs/linters/legacyNotSelectorLinter.mjs +15 -0
- package/es/_util/cssinjs/linters/logicalPropertiesLinter.mjs +61 -0
- package/es/_util/cssinjs/linters/parentSelectorLinter.mjs +7 -0
- package/es/_util/cssinjs/linters/utils.mjs +11 -0
- package/es/_util/cssinjs/theme/Theme.mjs +18 -0
- package/es/_util/cssinjs/theme/ThemeCache.mjs +72 -0
- package/es/_util/cssinjs/theme/createTheme.mjs +10 -0
- package/es/_util/cssinjs/theme/index.mjs +8 -0
- package/es/_util/cssinjs/theme/interface.mjs +1 -0
- package/es/_util/cssinjs/transformers/interface.mjs +1 -0
- package/es/_util/cssinjs/transformers/legacyLogicalProperties.mjs +92 -0
- package/es/_util/cssinjs/transformers/px2rem.mjs +31 -0
- package/es/_util/cssinjs/util.mjs +102 -0
- package/es/_util/cssinjs-utils/_util/hooks/useUniqueMemo.mjs +55 -0
- package/es/_util/cssinjs-utils/hooks/useCSP.mjs +4 -0
- package/es/_util/cssinjs-utils/hooks/usePrefix.mjs +1 -0
- package/es/_util/cssinjs-utils/hooks/useToken.mjs +1 -0
- package/es/_util/cssinjs-utils/index.mjs +10 -0
- package/es/_util/cssinjs-utils/interface/components.mjs +1 -0
- package/es/_util/cssinjs-utils/interface/index.mjs +1 -0
- package/es/_util/cssinjs-utils/util/calc/CSSCalculator.mjs +35 -0
- package/es/_util/cssinjs-utils/util/calc/NumCalculator.mjs +24 -0
- package/es/_util/cssinjs-utils/util/calc/calculator.mjs +5 -0
- package/es/_util/cssinjs-utils/util/calc/index.mjs +9 -0
- package/es/_util/cssinjs-utils/util/genStyleUtils.mjs +188 -0
- package/es/_util/cssinjs-utils/util/getCompVarPrefix.mjs +7 -0
- package/es/_util/cssinjs-utils/util/getComponentToken.mjs +18 -0
- package/es/_util/cssinjs-utils/util/getDefaultComponentToken.mjs +9 -0
- package/es/_util/cssinjs-utils/util/maxmin.mjs +15 -0
- package/es/_util/cssinjs-utils/util/statistic.mjs +45 -0
- package/es/_util/getScrollBarSize.mjs +33 -0
- package/es/_util/getValue.mjs +11 -0
- package/es/_util/hooks/use-event-callback.mjs +10 -0
- package/es/_util/hooks/use-state.mjs +11 -0
- package/es/_util/hooks/use-x-component-config.mjs +17 -0
- package/es/_util/hooks/useMergedState.mjs +21 -0
- package/es/_util/motion.mjs +23 -0
- package/es/_util/pick-attrs.mjs +43 -0
- package/es/_util/setStyle.mjs +11 -0
- package/es/_util/supportsPassive.mjs +14 -0
- package/es/_util/transition.mjs +75 -0
- package/es/_util/type.mjs +48 -0
- package/es/_util/warning.mjs +45 -0
- package/es/attachments/Attachments.mjs +4 -0
- package/es/attachments/Attachments2.mjs +255 -0
- package/es/attachments/DropArea.mjs +58 -0
- package/es/attachments/FileList/AudioIcon.mjs +5 -0
- package/es/attachments/FileList/AudioIcon2.mjs +35 -0
- package/es/attachments/FileList/FileList.mjs +4 -0
- package/es/attachments/FileList/FileList2.mjs +1574 -0
- package/es/attachments/FileList/FileListCard.mjs +168 -0
- package/es/attachments/FileList/Progress.mjs +49 -0
- package/es/attachments/FileList/VideoIcon.mjs +30 -0
- package/es/attachments/FileList/index.mjs +6 -0
- package/es/attachments/PlaceholderUploader.mjs +79 -0
- package/es/attachments/SilentUploader.mjs +27 -0
- package/es/attachments/context.mjs +32 -0
- package/es/attachments/index.mjs +12 -0
- package/es/attachments/interface.mjs +1 -0
- package/es/attachments/style/fileCard.mjs +157 -0
- package/es/attachments/style/index.mjs +584 -0
- package/es/attachments/util.mjs +31 -0
- package/es/bubble/Bubble.mjs +126 -0
- package/es/bubble/BubbleList.mjs +136 -0
- package/es/bubble/context.mjs +31 -0
- package/es/bubble/hooks/useDisplayData.mjs +36 -0
- package/es/bubble/hooks/useListData.mjs +18 -0
- package/es/bubble/hooks/useTypedEffect.mjs +24 -0
- package/es/bubble/hooks/useTypingConfig.mjs +24 -0
- package/es/bubble/index.mjs +10 -0
- package/es/bubble/interface.mjs +1 -0
- package/es/bubble/loading.mjs +25 -0
- package/es/bubble/style/content.mjs +59 -0
- package/es/bubble/style/index.mjs +148 -0
- package/es/bubble/style/list.mjs +14 -0
- package/es/conversations/Conversations.mjs +105 -0
- package/es/conversations/ConversationsItem.mjs +89 -0
- package/es/conversations/GroupTitle.mjs +22 -0
- package/es/conversations/context.mjs +31 -0
- package/es/conversations/hooks/useGroupable.mjs +48 -0
- package/es/conversations/index.mjs +5 -0
- package/es/conversations/interface.mjs +1 -0
- package/es/conversations/style/index.mjs +103 -0
- package/es/index.mjs +38 -0
- package/es/prompts/Prompts.mjs +116 -0
- package/es/prompts/index.mjs +5 -0
- package/es/prompts/interface.mjs +1 -0
- package/es/prompts/style/index.mjs +143 -0
- package/es/sender/Sender.mjs +251 -0
- package/es/sender/SenderHeader.mjs +82 -0
- package/es/sender/StopLoading.mjs +52 -0
- package/es/sender/components/ActionButton/context.mjs +31 -0
- package/es/sender/components/ActionButton/index.mjs +65 -0
- package/es/sender/components/ClearButton.mjs +41 -0
- package/es/sender/components/LoadingButton.mjs +58 -0
- package/es/sender/components/SendButton.mjs +45 -0
- package/es/sender/components/SpeechButton/RecordingIcon.mjs +49 -0
- package/es/sender/components/SpeechButton/index.mjs +59 -0
- package/es/sender/context.mjs +31 -0
- package/es/sender/index.mjs +9 -0
- package/es/sender/interface.mjs +1 -0
- package/es/sender/style/header.mjs +49 -0
- package/es/sender/style/index.mjs +147 -0
- package/es/sender/useSpeech.mjs +55 -0
- package/es/suggestion/Suggestion.mjs +93 -0
- package/es/suggestion/index.mjs +5 -0
- package/es/suggestion/interface.mjs +1 -0
- package/es/suggestion/style/index.mjs +41 -0
- package/es/suggestion/useActive.mjs +56 -0
- package/es/theme/components.mjs +1 -0
- package/es/theme/cssinjs-utils.mjs +1 -0
- package/es/theme/genStyleUtils.mjs +32 -0
- package/es/theme/index.mjs +4 -0
- package/es/theme/patch-antd.mjs +33 -0
- package/es/theme/useToken.mjs +351 -0
- package/es/thought-chain/ThoughtChain.mjs +107 -0
- package/es/thought-chain/context.mjs +31 -0
- package/es/thought-chain/hooks/useCollapsible.mjs +36 -0
- package/es/thought-chain/index.mjs +5 -0
- package/es/thought-chain/interface.mjs +4 -0
- package/es/thought-chain/item.mjs +96 -0
- package/es/thought-chain/style/index.mjs +215 -0
- package/es/transition-collapse/TransitionCollapse.mjs +49 -0
- package/es/transition-collapse/index.mjs +10 -0
- package/es/transition-collapse/style/index.mjs +22 -0
- package/es/type-utility.mjs +1 -0
- package/es/use-x-agent/index.mjs +7 -0
- package/es/use-x-agent/use-x-agent.mjs +49 -0
- package/es/use-x-chat/index.mjs +5 -0
- package/es/use-x-chat/use-x-chat.mjs +97 -0
- package/es/use-x-chat/useSyncState.mjs +12 -0
- package/es/vc-util/Dom/addEventListener.mjs +15 -0
- package/es/vc-util/Dom/canUseDom.mjs +6 -0
- package/es/vc-util/Dom/class.mjs +19 -0
- package/es/vc-util/Dom/contains.mjs +6 -0
- package/es/vc-util/Dom/css.mjs +86 -0
- package/es/vc-util/Dom/dynamicCSS.mjs +70 -0
- package/es/vc-util/Dom/isVisible.mjs +20 -0
- package/es/vc-util/Dom/scrollLocker.mjs +66 -0
- package/es/vc-util/devWarning.mjs +9 -0
- package/es/vc-util/get.mjs +12 -0
- package/es/vc-util/isEqual.mjs +32 -0
- package/es/vc-util/isMobile.mjs +13 -0
- package/es/vc-util/set.mjs +14 -0
- package/es/vc-util/warning.mjs +26 -0
- package/es/version/index.mjs +4 -0
- package/es/version/token-meta.mjs +7 -0
- package/es/version/token.mjs +21 -0
- package/es/version/version.mjs +4 -0
- package/es/welcome/Welcome.mjs +91 -0
- package/es/welcome/index.mjs +5 -0
- package/es/welcome/interface.mjs +1 -0
- package/es/welcome/style/index.mjs +69 -0
- package/es/x-provider/context.mjs +31 -0
- package/es/x-provider/hooks/use-x-provider-context.mjs +21 -0
- package/es/x-provider/index.mjs +8 -0
- package/es/x-provider/index2.mjs +81 -0
- package/es/x-request/index.mjs +7 -0
- package/es/x-request/x-fetch.mjs +22 -0
- package/es/x-request/x-request.mjs +83 -0
- package/es/x-stream/index.mjs +5 -0
- package/es/x-stream/x-stream.mjs +64 -0
- package/lib/_util/cssinjs/Cache.js +1 -0
- package/lib/_util/cssinjs/Keyframes.js +1 -0
- package/lib/_util/cssinjs/StyleContext.js +1 -0
- package/lib/_util/cssinjs/hooks/useCSSVarRegister.js +1 -0
- package/lib/_util/cssinjs/hooks/useCacheToken.js +1 -0
- package/lib/_util/cssinjs/hooks/useCacheToken.tsx2.js +1 -0
- package/lib/_util/cssinjs/hooks/useGlobalCache.js +1 -0
- package/lib/_util/cssinjs/hooks/useHMR.js +1 -0
- package/lib/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.js +1 -0
- package/lib/_util/cssinjs/hooks/useStyleRegister/index.js +1 -0
- package/lib/_util/cssinjs/hooks/useStyleRegister/index.tsx2.js +2 -0
- package/lib/_util/cssinjs/index.js +1 -0
- package/lib/_util/cssinjs/linters/contentQuotesLinter.js +1 -0
- package/lib/_util/cssinjs/linters/hashedAnimationLinter.js +1 -0
- package/lib/_util/cssinjs/linters/index.js +1 -0
- package/lib/_util/cssinjs/linters/interface.js +1 -0
- package/lib/_util/cssinjs/linters/legacyNotSelectorLinter.js +1 -0
- package/lib/_util/cssinjs/linters/logicalPropertiesLinter.js +1 -0
- package/lib/_util/cssinjs/linters/parentSelectorLinter.js +1 -0
- package/lib/_util/cssinjs/linters/utils.js +1 -0
- package/lib/_util/cssinjs/theme/Theme.js +1 -0
- package/lib/_util/cssinjs/theme/ThemeCache.js +1 -0
- package/lib/_util/cssinjs/theme/createTheme.js +1 -0
- package/lib/_util/cssinjs/theme/index.js +1 -0
- package/lib/_util/cssinjs/theme/interface.js +1 -0
- package/lib/_util/cssinjs/transformers/interface.js +1 -0
- package/lib/_util/cssinjs/transformers/legacyLogicalProperties.js +1 -0
- package/lib/_util/cssinjs/transformers/px2rem.js +1 -0
- package/lib/_util/cssinjs/util.js +1 -0
- package/lib/_util/cssinjs-utils/_util/hooks/useUniqueMemo.js +1 -0
- package/lib/_util/cssinjs-utils/hooks/useCSP.js +1 -0
- package/lib/_util/cssinjs-utils/hooks/usePrefix.js +1 -0
- package/lib/_util/cssinjs-utils/hooks/useToken.js +1 -0
- package/lib/_util/cssinjs-utils/index.js +1 -0
- package/lib/_util/cssinjs-utils/interface/components.js +1 -0
- package/lib/_util/cssinjs-utils/interface/index.js +1 -0
- package/lib/_util/cssinjs-utils/util/calc/CSSCalculator.js +1 -0
- package/lib/_util/cssinjs-utils/util/calc/NumCalculator.js +1 -0
- package/lib/_util/cssinjs-utils/util/calc/calculator.js +1 -0
- package/lib/_util/cssinjs-utils/util/calc/index.js +1 -0
- package/lib/_util/cssinjs-utils/util/genStyleUtils.js +1 -0
- package/lib/_util/cssinjs-utils/util/getCompVarPrefix.js +1 -0
- package/lib/_util/cssinjs-utils/util/getComponentToken.js +1 -0
- package/lib/_util/cssinjs-utils/util/getDefaultComponentToken.js +1 -0
- package/lib/_util/cssinjs-utils/util/maxmin.js +1 -0
- package/lib/_util/cssinjs-utils/util/statistic.js +1 -0
- package/lib/_util/getScrollBarSize.js +1 -0
- package/lib/_util/getValue.js +1 -0
- package/lib/_util/hooks/use-event-callback.js +1 -0
- package/lib/_util/hooks/use-state.js +1 -0
- package/lib/_util/hooks/use-x-component-config.js +1 -0
- package/lib/_util/hooks/useMergedState.js +1 -0
- package/lib/_util/motion.js +1 -0
- package/lib/_util/pick-attrs.js +18 -0
- package/lib/_util/setStyle.js +1 -0
- package/lib/_util/supportsPassive.js +1 -0
- package/lib/_util/transition.js +1 -0
- package/lib/_util/type.js +1 -0
- package/lib/_util/warning.js +1 -0
- package/lib/attachments/Attachments.js +1 -0
- package/lib/attachments/Attachments2.js +5 -0
- package/lib/attachments/DropArea.js +1 -0
- package/lib/attachments/FileList/AudioIcon.js +1 -0
- package/lib/attachments/FileList/AudioIcon2.js +1 -0
- package/lib/attachments/FileList/FileList.js +1 -0
- package/lib/attachments/FileList/FileList2.js +57 -0
- package/lib/attachments/FileList/FileListCard.js +1 -0
- package/lib/attachments/FileList/Progress.js +1 -0
- package/lib/attachments/FileList/VideoIcon.js +1 -0
- package/lib/attachments/FileList/index.js +1 -0
- package/lib/attachments/PlaceholderUploader.js +1 -0
- package/lib/attachments/SilentUploader.js +1 -0
- package/lib/attachments/context.js +1 -0
- package/lib/attachments/index.js +1 -0
- package/lib/attachments/interface.js +1 -0
- package/lib/attachments/style/fileCard.js +1 -0
- package/lib/attachments/style/index.js +1 -0
- package/lib/attachments/util.js +1 -0
- package/lib/bubble/Bubble.js +1 -0
- package/lib/bubble/BubbleList.js +1 -0
- package/lib/bubble/context.js +1 -0
- package/lib/bubble/hooks/useDisplayData.js +1 -0
- package/lib/bubble/hooks/useListData.js +1 -0
- package/lib/bubble/hooks/useTypedEffect.js +1 -0
- package/lib/bubble/hooks/useTypingConfig.js +1 -0
- package/lib/bubble/index.js +1 -0
- package/lib/bubble/interface.js +1 -0
- package/lib/bubble/loading.js +1 -0
- package/lib/bubble/style/content.js +1 -0
- package/lib/bubble/style/index.js +1 -0
- package/lib/bubble/style/list.js +1 -0
- package/lib/conversations/Conversations.js +1 -0
- package/lib/conversations/ConversationsItem.js +1 -0
- package/lib/conversations/GroupTitle.js +1 -0
- package/lib/conversations/context.js +1 -0
- package/lib/conversations/hooks/useGroupable.js +1 -0
- package/lib/conversations/index.js +1 -0
- package/lib/conversations/interface.js +1 -0
- package/lib/conversations/style/index.js +1 -0
- package/lib/index.js +1 -0
- package/lib/prompts/Prompts.js +1 -0
- package/lib/prompts/index.js +1 -0
- package/lib/prompts/interface.js +1 -0
- package/lib/prompts/style/index.js +1 -0
- package/lib/sender/Sender.js +1 -0
- package/lib/sender/SenderHeader.js +1 -0
- package/lib/sender/StopLoading.js +1 -0
- package/lib/sender/components/ActionButton/context.js +1 -0
- package/lib/sender/components/ActionButton/index.js +1 -0
- package/lib/sender/components/ClearButton.js +1 -0
- package/lib/sender/components/LoadingButton.js +1 -0
- package/lib/sender/components/SendButton.js +1 -0
- package/lib/sender/components/SpeechButton/RecordingIcon.js +1 -0
- package/lib/sender/components/SpeechButton/index.js +1 -0
- package/lib/sender/context.js +1 -0
- package/lib/sender/index.js +1 -0
- package/lib/sender/interface.js +1 -0
- package/lib/sender/style/header.js +1 -0
- package/lib/sender/style/index.js +1 -0
- package/lib/sender/useSpeech.js +1 -0
- package/lib/suggestion/Suggestion.js +1 -0
- package/lib/suggestion/index.js +1 -0
- package/lib/suggestion/interface.js +1 -0
- package/lib/suggestion/style/index.js +1 -0
- package/lib/suggestion/useActive.js +1 -0
- package/lib/theme/components.js +1 -0
- package/lib/theme/cssinjs-utils.js +1 -0
- package/lib/theme/genStyleUtils.js +1 -0
- package/lib/theme/index.js +1 -0
- package/lib/theme/patch-antd.js +1 -0
- package/lib/theme/useToken.js +35 -0
- package/lib/thought-chain/ThoughtChain.js +1 -0
- package/lib/thought-chain/context.js +1 -0
- package/lib/thought-chain/hooks/useCollapsible.js +1 -0
- package/lib/thought-chain/index.js +1 -0
- package/lib/thought-chain/interface.js +1 -0
- package/lib/thought-chain/item.js +1 -0
- package/lib/thought-chain/style/index.js +1 -0
- package/lib/transition-collapse/TransitionCollapse.js +1 -0
- package/lib/transition-collapse/index.js +1 -0
- package/lib/transition-collapse/style/index.js +1 -0
- package/lib/type-utility.js +1 -0
- package/lib/use-x-agent/index.js +1 -0
- package/lib/use-x-agent/use-x-agent.js +1 -0
- package/lib/use-x-chat/index.js +1 -0
- package/lib/use-x-chat/use-x-chat.js +1 -0
- package/lib/use-x-chat/useSyncState.js +1 -0
- package/lib/vc-util/Dom/addEventListener.js +1 -0
- package/lib/vc-util/Dom/canUseDom.js +1 -0
- package/lib/vc-util/Dom/class.js +1 -0
- package/lib/vc-util/Dom/contains.js +1 -0
- package/lib/vc-util/Dom/css.js +1 -0
- package/lib/vc-util/Dom/dynamicCSS.js +1 -0
- package/lib/vc-util/Dom/isVisible.js +1 -0
- package/lib/vc-util/Dom/scrollLocker.js +1 -0
- package/lib/vc-util/devWarning.js +1 -0
- package/lib/vc-util/get.js +1 -0
- package/lib/vc-util/isEqual.js +1 -0
- package/lib/vc-util/isMobile.js +1 -0
- package/lib/vc-util/set.js +1 -0
- package/lib/vc-util/warning.js +1 -0
- package/lib/version/index.js +1 -0
- package/lib/version/token-meta.js +1 -0
- package/lib/version/token.js +1 -0
- package/lib/version/version.js +1 -0
- package/lib/welcome/Welcome.js +1 -0
- package/lib/welcome/index.js +1 -0
- package/lib/welcome/interface.js +1 -0
- package/lib/welcome/style/index.js +1 -0
- package/lib/x-provider/context.js +1 -0
- package/lib/x-provider/hooks/use-x-provider-context.js +1 -0
- package/lib/x-provider/index.js +1 -0
- package/lib/x-provider/index2.js +1 -0
- package/lib/x-request/index.js +1 -0
- package/lib/x-request/x-fetch.js +1 -0
- package/lib/x-request/x-request.js +1 -0
- package/lib/x-stream/index.js +1 -0
- package/lib/x-stream/x-stream.js +4 -0
- package/package.json +21 -13
- package/typings/bubble/Bubble.vue.d.ts +37 -0
- package/typings/bubble/index.d.ts +258 -0
- package/{dist/typings → typings}/bubble/interface.d.ts +6 -4
- package/{dist/typings → typings}/conversations/interface.d.ts +2 -1
- package/{dist/typings → typings}/sender/interface.d.ts +1 -1
- package/{dist/typings → typings}/x-provider/context.d.ts +9 -9
- package/dist/index.mjs +0 -34154
- package/dist/typings/bubble/Bubble.vue.d.ts +0 -35
- package/dist/typings/bubble/index.d.ts +0 -51
- /package/{dist/resolver → resolver-dist}/index.d.ts +0 -0
- /package/{dist/resolver → resolver-dist}/index.js +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/Cache.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/Keyframes.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/StyleContext.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useCSSVarRegister.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useCacheToken.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useGlobalCache.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useHMR.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/hooks/useStyleRegister/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/contentQuotesLinter.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/hashedAnimationLinter.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/interface.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/parentSelectorLinter.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/linters/utils.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/theme/Theme.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/theme/ThemeCache.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/theme/createTheme.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/theme/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/theme/interface.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/transformers/interface.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/transformers/px2rem.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs/util.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/useCSP.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/usePrefix.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/hooks/useToken.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/interface/components.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/interface/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/calculator.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/calc/index.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/genStyleUtils.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/getComponentToken.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/maxmin.d.ts +0 -0
- /package/{dist/typings → typings}/_util/cssinjs-utils/util/statistic.d.ts +0 -0
- /package/{dist/typings → typings}/_util/getValue.d.ts +0 -0
- /package/{dist/typings → typings}/_util/hooks/use-event-callback.d.ts +0 -0
- /package/{dist/typings → typings}/_util/hooks/use-state.d.ts +0 -0
- /package/{dist/typings → typings}/_util/hooks/use-x-component-config.d.ts +0 -0
- /package/{dist/typings → typings}/_util/hooks/useMergedState.d.ts +0 -0
- /package/{dist/typings → typings}/_util/pick-attrs.d.ts +0 -0
- /package/{dist/typings → typings}/_util/type.d.ts +0 -0
- /package/{dist/typings → typings}/_util/warning.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/Attachments.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/DropArea.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/FileList/AudioIcon.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/FileList/FileList.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/FileList/FileListCard.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/FileList/VideoIcon.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/FileList/index.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/PlaceholderUploader.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/SilentUploader.vue.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/context.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/index.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/interface.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/style/fileCard.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/attachments/util.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/BubbleList.vue.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/context.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/hooks/useDisplayData.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/hooks/useListData.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/hooks/useTypedEffect.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/hooks/useTypingConfig.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/loading.vue.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/style/content.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/bubble/style/list.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/Conversations.vue.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/ConversationsItem.vue.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/GroupTitle.vue.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/context.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/hooks/useGroupable.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/index.d.ts +0 -0
- /package/{dist/typings → typings}/conversations/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/index.d.ts +0 -0
- /package/{dist/typings → typings}/prompts/Prompts.vue.d.ts +0 -0
- /package/{dist/typings → typings}/prompts/index.d.ts +0 -0
- /package/{dist/typings → typings}/prompts/interface.d.ts +0 -0
- /package/{dist/typings → typings}/prompts/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/sender/Sender.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/SenderHeader.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/StopLoading.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/ActionButton/context.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/ActionButton/index.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/ClearButton.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/LoadingButton.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/SendButton.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/SpeechButton/RecordingIcon.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/components/SpeechButton/index.vue.d.ts +0 -0
- /package/{dist/typings → typings}/sender/context.d.ts +0 -0
- /package/{dist/typings → typings}/sender/index.d.ts +0 -0
- /package/{dist/typings → typings}/sender/style/header.d.ts +0 -0
- /package/{dist/typings → typings}/sender/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/sender/useSpeech.d.ts +0 -0
- /package/{dist/typings → typings}/suggestion/Suggestion.vue.d.ts +0 -0
- /package/{dist/typings → typings}/suggestion/index.d.ts +0 -0
- /package/{dist/typings → typings}/suggestion/interface.d.ts +0 -0
- /package/{dist/typings → typings}/suggestion/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/suggestion/useActive.d.ts +0 -0
- /package/{dist/typings → typings}/theme/components.d.ts +0 -0
- /package/{dist/typings → typings}/theme/cssinjs-utils.d.ts +0 -0
- /package/{dist/typings → typings}/theme/genStyleUtils.d.ts +0 -0
- /package/{dist/typings → typings}/theme/index.d.ts +0 -0
- /package/{dist/typings → typings}/theme/patch-antd.d.ts +0 -0
- /package/{dist/typings → typings}/theme/useToken.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/ThoughtChain.vue.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/context.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/hooks/useCollapsible.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/index.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/interface.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/item.vue.d.ts +0 -0
- /package/{dist/typings → typings}/thought-chain/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/transition-collapse/TransitionCollapse.vue.d.ts +0 -0
- /package/{dist/typings → typings}/transition-collapse/index.d.ts +0 -0
- /package/{dist/typings → typings}/transition-collapse/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/type-utility.d.ts +0 -0
- /package/{dist/typings → typings}/use-x-agent/index.d.ts +0 -0
- /package/{dist/typings → typings}/use-x-agent/use-x-agent.d.ts +0 -0
- /package/{dist/typings → typings}/use-x-chat/index.d.ts +0 -0
- /package/{dist/typings → typings}/use-x-chat/use-x-chat.d.ts +0 -0
- /package/{dist/typings → typings}/use-x-chat/useSyncState.d.ts +0 -0
- /package/{dist/typings → typings}/vc-util/Dom/canUseDom.d.ts +0 -0
- /package/{dist/typings → typings}/vc-util/Dom/contains.d.ts +0 -0
- /package/{dist/typings → typings}/vc-util/Dom/dynamicCSS.d.ts +0 -0
- /package/{dist/typings → typings}/vc-util/warning.d.ts +0 -0
- /package/{dist/typings → typings}/version/index.d.ts +0 -0
- /package/{dist/typings → typings}/version/version.d.ts +0 -0
- /package/{dist/typings → typings}/welcome/Welcome.vue.d.ts +0 -0
- /package/{dist/typings → typings}/welcome/index.d.ts +0 -0
- /package/{dist/typings → typings}/welcome/interface.d.ts +0 -0
- /package/{dist/typings → typings}/welcome/style/index.d.ts +0 -0
- /package/{dist/typings → typings}/x-provider/hooks/use-x-provider-context.d.ts +0 -0
- /package/{dist/typings → typings}/x-provider/index.d.ts +0 -0
- /package/{dist/typings → typings}/x-provider/index.vue.d.ts +0 -0
- /package/{dist/typings → typings}/x-request/index.d.ts +0 -0
- /package/{dist/typings → typings}/x-request/x-fetch.d.ts +0 -0
- /package/{dist/typings → typings}/x-request/x-request.d.ts +0 -0
- /package/{dist/typings → typings}/x-stream/index.d.ts +0 -0
- /package/{dist/typings → typings}/x-stream/x-stream.d.ts +0 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import BubbleList from './BubbleList.vue';
|
|
2
|
+
export type { BubbleProps, BubbleListProps } from './interface';
|
|
3
|
+
declare const Bubble: (<T extends import("./interface").BubbleContentType = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
avatar?(): import("vue").VNode;
|
|
6
|
+
header?(): import("vue").VNode | string;
|
|
7
|
+
footer?(props?: {
|
|
8
|
+
content: import("./interface").BubbleContentType;
|
|
9
|
+
}): import("vue").VNode | string;
|
|
10
|
+
loading?(): import("vue").VNode;
|
|
11
|
+
message?(props?: {
|
|
12
|
+
content: string;
|
|
13
|
+
}): import("vue").VNode | string;
|
|
14
|
+
}> & {
|
|
15
|
+
avatar?(): import("vue").VNode;
|
|
16
|
+
header?(): import("vue").VNode | string;
|
|
17
|
+
footer?(props?: {
|
|
18
|
+
content: import("./interface").BubbleContentType;
|
|
19
|
+
}): import("vue").VNode | string;
|
|
20
|
+
loading?(): import("vue").VNode;
|
|
21
|
+
message?(props?: {
|
|
22
|
+
content: string;
|
|
23
|
+
}): import("vue").VNode | string;
|
|
24
|
+
};
|
|
25
|
+
attrs: any;
|
|
26
|
+
emit: {};
|
|
27
|
+
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
28
|
+
props: {
|
|
29
|
+
prefixCls?: string;
|
|
30
|
+
rootClassName?: string;
|
|
31
|
+
styles?: Partial<Record<import("./interface").SemanticType, import("vue").CSSProperties>>;
|
|
32
|
+
classNames?: Partial<Record<import("./interface").SemanticType, string>>;
|
|
33
|
+
avatar?: Partial<import("./interface")._AvatarProps> | import("vue").VNode;
|
|
34
|
+
placement?: "start" | "end";
|
|
35
|
+
loading?: boolean;
|
|
36
|
+
typing?: import("../type-utility.js").AvoidValidation<import("./interface").TypingOption | boolean>;
|
|
37
|
+
content?: import("./interface").BubbleContentType;
|
|
38
|
+
messageRender?: (content: T) => import("vue").VNode | string;
|
|
39
|
+
loadingRender?: () => import("vue").VNode;
|
|
40
|
+
variant?: "filled" | "borderless" | "outlined" | "shadow";
|
|
41
|
+
shape?: "round" | "corner";
|
|
42
|
+
onTypingComplete?: VoidFunction;
|
|
43
|
+
header?: import("vue").VNode | string;
|
|
44
|
+
footer?: import("vue").VNode | string | ((content: import("./interface").BubbleContentType) => import("vue").VNode | string);
|
|
45
|
+
style?: import("vue").StyleValue;
|
|
46
|
+
onCopy?: (payload: ClipboardEvent) => void;
|
|
47
|
+
onCut?: (payload: ClipboardEvent) => void;
|
|
48
|
+
onPaste?: (payload: ClipboardEvent) => void;
|
|
49
|
+
onCompositionend?: (payload: CompositionEvent) => void;
|
|
50
|
+
onCompositionstart?: (payload: CompositionEvent) => void;
|
|
51
|
+
onCompositionupdate?: (payload: CompositionEvent) => void;
|
|
52
|
+
onDrag?: (payload: DragEvent) => void;
|
|
53
|
+
onDragend?: (payload: DragEvent) => void;
|
|
54
|
+
onDragenter?: (payload: DragEvent) => void;
|
|
55
|
+
onDragexit?: (payload: DragEvent) => void;
|
|
56
|
+
onDragleave?: (payload: DragEvent) => void;
|
|
57
|
+
onDragover?: (payload: DragEvent) => void;
|
|
58
|
+
onDragstart?: (payload: DragEvent) => void;
|
|
59
|
+
onDrop?: (payload: DragEvent) => void;
|
|
60
|
+
onFocus?: (payload: FocusEvent) => void;
|
|
61
|
+
onFocusin?: (payload: FocusEvent) => void;
|
|
62
|
+
onFocusout?: (payload: FocusEvent) => void;
|
|
63
|
+
onBlur?: (payload: FocusEvent) => void;
|
|
64
|
+
onChange?: (payload: Event) => void;
|
|
65
|
+
onBeforeinput?: (payload: Event) => void;
|
|
66
|
+
onInput?: (payload: Event) => void;
|
|
67
|
+
onReset?: (payload: Event) => void;
|
|
68
|
+
onSubmit?: (payload: Event) => void;
|
|
69
|
+
onInvalid?: (payload: Event) => void;
|
|
70
|
+
onLoad?: (payload: Event) => void;
|
|
71
|
+
onError?: (payload: Event) => void;
|
|
72
|
+
onKeydown?: (payload: KeyboardEvent) => void;
|
|
73
|
+
onKeypress?: (payload: KeyboardEvent) => void;
|
|
74
|
+
onKeyup?: (payload: KeyboardEvent) => void;
|
|
75
|
+
onAuxclick?: (payload: MouseEvent) => void;
|
|
76
|
+
onClick?: (payload: MouseEvent) => void;
|
|
77
|
+
onContextmenu?: (payload: MouseEvent) => void;
|
|
78
|
+
onDblclick?: (payload: MouseEvent) => void;
|
|
79
|
+
onMousedown?: (payload: MouseEvent) => void;
|
|
80
|
+
onMouseenter?: (payload: MouseEvent) => void;
|
|
81
|
+
onMouseleave?: (payload: MouseEvent) => void;
|
|
82
|
+
onMousemove?: (payload: MouseEvent) => void;
|
|
83
|
+
onMouseout?: (payload: MouseEvent) => void;
|
|
84
|
+
onMouseover?: (payload: MouseEvent) => void;
|
|
85
|
+
onMouseup?: (payload: MouseEvent) => void;
|
|
86
|
+
onAbort?: (payload: Event) => void;
|
|
87
|
+
onCanplay?: (payload: Event) => void;
|
|
88
|
+
onCanplaythrough?: (payload: Event) => void;
|
|
89
|
+
onDurationchange?: (payload: Event) => void;
|
|
90
|
+
onEmptied?: (payload: Event) => void;
|
|
91
|
+
onEncrypted?: (payload: Event) => void;
|
|
92
|
+
onEnded?: (payload: Event) => void;
|
|
93
|
+
onLoadeddata?: (payload: Event) => void;
|
|
94
|
+
onLoadedmetadata?: (payload: Event) => void;
|
|
95
|
+
onLoadstart?: (payload: Event) => void;
|
|
96
|
+
onPause?: (payload: Event) => void;
|
|
97
|
+
onPlay?: (payload: Event) => void;
|
|
98
|
+
onPlaying?: (payload: Event) => void;
|
|
99
|
+
onProgress?: (payload: Event) => void;
|
|
100
|
+
onRatechange?: (payload: Event) => void;
|
|
101
|
+
onSeeked?: (payload: Event) => void;
|
|
102
|
+
onSeeking?: (payload: Event) => void;
|
|
103
|
+
onStalled?: (payload: Event) => void;
|
|
104
|
+
onSuspend?: (payload: Event) => void;
|
|
105
|
+
onTimeupdate?: (payload: Event) => void;
|
|
106
|
+
onVolumechange?: (payload: Event) => void;
|
|
107
|
+
onWaiting?: (payload: Event) => void;
|
|
108
|
+
onSelect?: (payload: Event) => void;
|
|
109
|
+
onScroll?: (payload: Event) => void;
|
|
110
|
+
onScrollend?: (payload: Event) => void;
|
|
111
|
+
onTouchcancel?: (payload: TouchEvent) => void;
|
|
112
|
+
onTouchend?: (payload: TouchEvent) => void;
|
|
113
|
+
onTouchmove?: (payload: TouchEvent) => void;
|
|
114
|
+
onTouchstart?: (payload: TouchEvent) => void;
|
|
115
|
+
onPointerdown?: (payload: PointerEvent) => void;
|
|
116
|
+
onPointermove?: (payload: PointerEvent) => void;
|
|
117
|
+
onPointerup?: (payload: PointerEvent) => void;
|
|
118
|
+
onPointercancel?: (payload: PointerEvent) => void;
|
|
119
|
+
onPointerenter?: (payload: PointerEvent) => void;
|
|
120
|
+
onPointerleave?: (payload: PointerEvent) => void;
|
|
121
|
+
onPointerover?: (payload: PointerEvent) => void;
|
|
122
|
+
onPointerout?: (payload: PointerEvent) => void;
|
|
123
|
+
onWheel?: (payload: WheelEvent) => void;
|
|
124
|
+
onAnimationstart?: (payload: AnimationEvent) => void;
|
|
125
|
+
onAnimationend?: (payload: AnimationEvent) => void;
|
|
126
|
+
onAnimationiteration?: (payload: AnimationEvent) => void;
|
|
127
|
+
onTransitionend?: (payload: TransitionEvent) => void;
|
|
128
|
+
onTransitionstart?: (payload: TransitionEvent) => void;
|
|
129
|
+
innerHTML?: string;
|
|
130
|
+
class?: any;
|
|
131
|
+
accesskey?: string;
|
|
132
|
+
contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only";
|
|
133
|
+
contextmenu?: string;
|
|
134
|
+
dir?: string;
|
|
135
|
+
draggable?: boolean | "true" | "false";
|
|
136
|
+
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found";
|
|
137
|
+
id?: string;
|
|
138
|
+
inert?: boolean | "true" | "false";
|
|
139
|
+
lang?: string;
|
|
140
|
+
placeholder?: string;
|
|
141
|
+
spellcheck?: boolean | "true" | "false";
|
|
142
|
+
tabindex?: string | number;
|
|
143
|
+
title?: string;
|
|
144
|
+
translate?: "yes" | "no";
|
|
145
|
+
radiogroup?: string;
|
|
146
|
+
role?: string;
|
|
147
|
+
about?: string;
|
|
148
|
+
datatype?: string;
|
|
149
|
+
inlist?: any;
|
|
150
|
+
prefix?: string;
|
|
151
|
+
property?: string;
|
|
152
|
+
resource?: string;
|
|
153
|
+
typeof?: string;
|
|
154
|
+
vocab?: string;
|
|
155
|
+
autocapitalize?: string;
|
|
156
|
+
autocorrect?: string;
|
|
157
|
+
autosave?: string;
|
|
158
|
+
color?: string;
|
|
159
|
+
itemprop?: string;
|
|
160
|
+
itemscope?: boolean | "true" | "false";
|
|
161
|
+
itemtype?: string;
|
|
162
|
+
itemid?: string;
|
|
163
|
+
itemref?: string;
|
|
164
|
+
results?: string | number;
|
|
165
|
+
security?: string;
|
|
166
|
+
unselectable?: "on" | "off";
|
|
167
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
168
|
+
is?: string;
|
|
169
|
+
'aria-activedescendant'?: string;
|
|
170
|
+
'aria-atomic'?: boolean | "true" | "false";
|
|
171
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both";
|
|
172
|
+
'aria-busy'?: boolean | "true" | "false";
|
|
173
|
+
'aria-checked'?: (boolean | "true" | "false") | "mixed";
|
|
174
|
+
'aria-colcount'?: string | number;
|
|
175
|
+
'aria-colindex'?: string | number;
|
|
176
|
+
'aria-colspan'?: string | number;
|
|
177
|
+
'aria-controls'?: string;
|
|
178
|
+
'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time";
|
|
179
|
+
'aria-describedby'?: string;
|
|
180
|
+
'aria-details'?: string;
|
|
181
|
+
'aria-disabled'?: boolean | "true" | "false";
|
|
182
|
+
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup";
|
|
183
|
+
'aria-errormessage'?: string;
|
|
184
|
+
'aria-expanded'?: boolean | "true" | "false";
|
|
185
|
+
'aria-flowto'?: string;
|
|
186
|
+
'aria-grabbed'?: boolean | "true" | "false";
|
|
187
|
+
'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
188
|
+
'aria-hidden'?: boolean | "true" | "false";
|
|
189
|
+
'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling";
|
|
190
|
+
'aria-keyshortcuts'?: string;
|
|
191
|
+
'aria-label'?: string;
|
|
192
|
+
'aria-labelledby'?: string;
|
|
193
|
+
'aria-level'?: string | number;
|
|
194
|
+
'aria-live'?: "off" | "assertive" | "polite";
|
|
195
|
+
'aria-modal'?: boolean | "true" | "false";
|
|
196
|
+
'aria-multiline'?: boolean | "true" | "false";
|
|
197
|
+
'aria-multiselectable'?: boolean | "true" | "false";
|
|
198
|
+
'aria-orientation'?: "horizontal" | "vertical";
|
|
199
|
+
'aria-owns'?: string;
|
|
200
|
+
'aria-placeholder'?: string;
|
|
201
|
+
'aria-posinset'?: string | number;
|
|
202
|
+
'aria-pressed'?: (boolean | "true" | "false") | "mixed";
|
|
203
|
+
'aria-readonly'?: boolean | "true" | "false";
|
|
204
|
+
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
|
|
205
|
+
'aria-required'?: boolean | "true" | "false";
|
|
206
|
+
'aria-roledescription'?: string;
|
|
207
|
+
'aria-rowcount'?: string | number;
|
|
208
|
+
'aria-rowindex'?: string | number;
|
|
209
|
+
'aria-rowspan'?: string | number;
|
|
210
|
+
'aria-selected'?: boolean | "true" | "false";
|
|
211
|
+
'aria-setsize'?: string | number;
|
|
212
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
213
|
+
'aria-valuemax'?: string | number;
|
|
214
|
+
'aria-valuemin'?: string | number;
|
|
215
|
+
'aria-valuenow'?: string | number;
|
|
216
|
+
'aria-valuetext'?: string;
|
|
217
|
+
} & import("vue").PublicProps;
|
|
218
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
219
|
+
nativeElement: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
220
|
+
}>): void;
|
|
221
|
+
attrs: any;
|
|
222
|
+
slots: Readonly<{
|
|
223
|
+
avatar?(): import("vue").VNode;
|
|
224
|
+
header?(): import("vue").VNode | string;
|
|
225
|
+
footer?(props?: {
|
|
226
|
+
content: import("./interface").BubbleContentType;
|
|
227
|
+
}): import("vue").VNode | string;
|
|
228
|
+
loading?(): import("vue").VNode;
|
|
229
|
+
message?(props?: {
|
|
230
|
+
content: string;
|
|
231
|
+
}): import("vue").VNode | string;
|
|
232
|
+
}> & {
|
|
233
|
+
avatar?(): import("vue").VNode;
|
|
234
|
+
header?(): import("vue").VNode | string;
|
|
235
|
+
footer?(props?: {
|
|
236
|
+
content: import("./interface").BubbleContentType;
|
|
237
|
+
}): import("vue").VNode | string;
|
|
238
|
+
loading?(): import("vue").VNode;
|
|
239
|
+
message?(props?: {
|
|
240
|
+
content: string;
|
|
241
|
+
}): import("vue").VNode | string;
|
|
242
|
+
};
|
|
243
|
+
emit: {};
|
|
244
|
+
}>) => import("vue").VNode & {
|
|
245
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
246
|
+
}) & {
|
|
247
|
+
List: import("vue").DefineComponent<import("./interface").BubbleListProps, {
|
|
248
|
+
nativeElement: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
249
|
+
scrollTo: ({ key, offset, behavior, block }: {
|
|
250
|
+
offset?: number;
|
|
251
|
+
key?: string | number;
|
|
252
|
+
behavior?: ScrollBehavior;
|
|
253
|
+
block?: ScrollLogicalPosition;
|
|
254
|
+
}) => void;
|
|
255
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./interface").BubbleListProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
256
|
+
};
|
|
257
|
+
export default Bubble;
|
|
258
|
+
export { Bubble, BubbleList };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { AvatarProps } from 'ant-design-vue';
|
|
2
2
|
import type { AvoidValidation } from '../type-utility';
|
|
3
3
|
import type { CSSProperties, HTMLAttributes, VNode } from 'vue';
|
|
4
|
+
import { AnyObject } from '../_util/type';
|
|
4
5
|
export interface TypingOption {
|
|
5
6
|
/**
|
|
6
7
|
* @default 1
|
|
@@ -16,11 +17,12 @@ export interface TypingOption {
|
|
|
16
17
|
suffix?: VNode;
|
|
17
18
|
}
|
|
18
19
|
export type SemanticType = 'avatar' | 'content' | 'header' | 'footer';
|
|
20
|
+
export type BubbleContentType = VNode | string | AnyObject;
|
|
19
21
|
export interface _AvatarProps extends AvatarProps {
|
|
20
22
|
class: string;
|
|
21
23
|
style: CSSProperties;
|
|
22
24
|
}
|
|
23
|
-
export interface BubbleProps extends /* @vue-ignore */ Omit<HTMLAttributes, 'content'> {
|
|
25
|
+
export interface BubbleProps<ContentType extends BubbleContentType = string> extends /* @vue-ignore */ Omit<HTMLAttributes, 'content'> {
|
|
24
26
|
prefixCls?: string;
|
|
25
27
|
rootClassName?: string;
|
|
26
28
|
styles?: Partial<Record<SemanticType, CSSProperties>>;
|
|
@@ -29,14 +31,14 @@ export interface BubbleProps extends /* @vue-ignore */ Omit<HTMLAttributes, 'con
|
|
|
29
31
|
placement?: 'start' | 'end';
|
|
30
32
|
loading?: boolean;
|
|
31
33
|
typing?: AvoidValidation<TypingOption | boolean>;
|
|
32
|
-
content?:
|
|
33
|
-
messageRender?: (content:
|
|
34
|
+
content?: BubbleContentType;
|
|
35
|
+
messageRender?: (content: ContentType) => VNode | string;
|
|
34
36
|
loadingRender?: () => VNode;
|
|
35
37
|
variant?: 'filled' | 'borderless' | 'outlined' | 'shadow';
|
|
36
38
|
shape?: 'round' | 'corner';
|
|
37
39
|
onTypingComplete?: VoidFunction;
|
|
38
40
|
header?: VNode | string;
|
|
39
|
-
footer?: VNode | string;
|
|
41
|
+
footer?: VNode | string | ((content: BubbleContentType) => VNode | string);
|
|
40
42
|
}
|
|
41
43
|
export interface BubbleRef {
|
|
42
44
|
nativeElement: HTMLElement;
|
|
@@ -3,6 +3,7 @@ import type { AnyObject } from '../_util/type';
|
|
|
3
3
|
import GroupTitle from './GroupTitle.vue';
|
|
4
4
|
import type { ConfigProviderProps, DirectionType } from 'ant-design-vue/es/config-provider';
|
|
5
5
|
import type { MenuProps } from 'ant-design-vue';
|
|
6
|
+
import type { AvoidValidation } from '../type-utility';
|
|
6
7
|
type GroupType = string;
|
|
7
8
|
/**
|
|
8
9
|
* @desc 会话数据
|
|
@@ -74,7 +75,7 @@ export interface ConversationsProps extends HTMLAttributes {
|
|
|
74
75
|
* @desc 是否支持分组, 开启后默认按 {@link Conversation.group} 字段分组
|
|
75
76
|
* @descEN If grouping is supported, it defaults to the {@link Conversation.group} field
|
|
76
77
|
*/
|
|
77
|
-
groupable?: boolean | Groupable
|
|
78
|
+
groupable?: AvoidValidation<boolean | Groupable>;
|
|
78
79
|
/**
|
|
79
80
|
* @desc 语义化结构 style
|
|
80
81
|
* @descEN Semantic structure styles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ButtonProps, TextAreaProps } from "ant-design-vue";
|
|
2
2
|
import { Input } from "ant-design-vue";
|
|
3
3
|
import type { ChangeEvent, ClipboardEventHandler, KeyboardEventHandler } from "ant-design-vue/es/_util/EventInterface";
|
|
4
|
-
import type { ConfigProviderProps } from "ant-design-vue
|
|
4
|
+
import type { ConfigProviderProps } from "ant-design-vue";
|
|
5
5
|
import type { CSSProperties, VNode } from "vue";
|
|
6
6
|
import type { AllowSpeech } from "./useSpeech";
|
|
7
7
|
import type { InputRef } from "ant-design-vue/es/vc-input/inputProps";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type AnyObject } from '../_util/type';
|
|
2
|
-
import { AttachmentsProps } from '
|
|
3
|
-
import type { BubbleProps } from '
|
|
2
|
+
import { AttachmentsProps } from 'ant-design-x-vue/attachments';
|
|
3
|
+
import type { BubbleProps } from 'ant-design-x-vue/bubble';
|
|
4
4
|
import { ComputedRef, CSSProperties } from 'vue';
|
|
5
|
-
import type { ConfigProviderProps as OriAntdConfigProviderProps } from 'ant-design-vue
|
|
6
|
-
import type { ConversationsProps } from '
|
|
7
|
-
import type { PromptsProps } from '
|
|
8
|
-
import type { SenderProps } from '
|
|
9
|
-
import type { SuggestionProps } from '
|
|
10
|
-
import type { ThoughtChainProps } from '
|
|
11
|
-
import type { WelcomeProps } from '
|
|
5
|
+
import type { ConfigProviderProps as OriAntdConfigProviderProps } from 'ant-design-vue';
|
|
6
|
+
import type { ConversationsProps } from 'ant-design-x-vue/conversations';
|
|
7
|
+
import type { PromptsProps } from 'ant-design-x-vue/prompts';
|
|
8
|
+
import type { SenderProps } from 'ant-design-x-vue/sender';
|
|
9
|
+
import type { SuggestionProps } from 'ant-design-x-vue/suggestion';
|
|
10
|
+
import type { ThoughtChainProps } from 'ant-design-x-vue/thought-chain';
|
|
11
|
+
import type { WelcomeProps } from 'ant-design-x-vue/welcome';
|
|
12
12
|
export interface AntdConfigProviderProps {
|
|
13
13
|
iconPrefixCls?: OriAntdConfigProviderProps['iconPrefixCls'];
|
|
14
14
|
getTargetContainer?: OriAntdConfigProviderProps['getTargetContainer'];
|