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,56 @@
|
|
|
1
|
+
import { toValue as l, watch as b } from "vue";
|
|
2
|
+
import { useEventCallback as D } from "../_util/hooks/use-event-callback.mjs";
|
|
3
|
+
import x from "../_util/hooks/use-state.mjs";
|
|
4
|
+
function C(i, v, m, p, w) {
|
|
5
|
+
const [t, c] = x([]), o = (e, r = t.value) => {
|
|
6
|
+
let n = l(i);
|
|
7
|
+
for (let s = 0; s < e - 1; s += 1) {
|
|
8
|
+
const a = r[s], u = n.find((f) => f.value === a);
|
|
9
|
+
if (!u)
|
|
10
|
+
break;
|
|
11
|
+
n = u.children || [];
|
|
12
|
+
}
|
|
13
|
+
return n;
|
|
14
|
+
}, I = (e) => e.map((r, n) => {
|
|
15
|
+
const a = o(n + 1, e).find((u) => u.value === r);
|
|
16
|
+
return a == null ? void 0 : a.value;
|
|
17
|
+
}), h = (e) => {
|
|
18
|
+
const r = t.value.length || 1, n = o(r), s = n.findIndex(
|
|
19
|
+
(f) => f.value === t.value[r - 1]
|
|
20
|
+
), a = n.length, u = n[(s + e + a) % a];
|
|
21
|
+
c([...t.value.slice(0, r - 1), u.value]);
|
|
22
|
+
}, g = () => {
|
|
23
|
+
t.value.length > 1 && c(t.value.slice(0, t.value.length - 1));
|
|
24
|
+
}, k = () => {
|
|
25
|
+
const e = o(t.value.length + 1);
|
|
26
|
+
e.length && c([...t.value, e[0].value]);
|
|
27
|
+
}, d = D((e) => {
|
|
28
|
+
if (l(v))
|
|
29
|
+
switch (console.log("e.key", e), e.key) {
|
|
30
|
+
case "ArrowDown":
|
|
31
|
+
h(1), e.preventDefault();
|
|
32
|
+
break;
|
|
33
|
+
case "ArrowUp":
|
|
34
|
+
h(-1), e.preventDefault();
|
|
35
|
+
break;
|
|
36
|
+
case "ArrowRight":
|
|
37
|
+
l(m) ? g() : k(), e.preventDefault();
|
|
38
|
+
break;
|
|
39
|
+
case "ArrowLeft":
|
|
40
|
+
l(m) ? k() : g(), e.preventDefault();
|
|
41
|
+
break;
|
|
42
|
+
case "Enter":
|
|
43
|
+
o(t.value.length + 1).length || p(I(t.value)), e.preventDefault();
|
|
44
|
+
break;
|
|
45
|
+
case "Escape":
|
|
46
|
+
w(), e.preventDefault();
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
return b(() => l(v), () => {
|
|
51
|
+
l(v) && c([l(i)[0].value]);
|
|
52
|
+
}, { immediate: !0 }), [t, d];
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
C as default
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import i from "../_util/cssinjs-utils/util/genStyleUtils.mjs";
|
|
2
|
+
import n from "../x-provider/hooks/use-x-provider-context.mjs";
|
|
3
|
+
import { unref as m } from "vue";
|
|
4
|
+
import "../x-provider/context.mjs";
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import { useInternalToken as l } from "./useToken.mjs";
|
|
7
|
+
const { genStyleHooks: c, genComponentStyleHook: P, genSubStyleComponent: d } = i({
|
|
8
|
+
usePrefix: () => {
|
|
9
|
+
const { getPrefixCls: e, iconPrefixCls: o } = n();
|
|
10
|
+
return {
|
|
11
|
+
iconPrefixCls: m(o),
|
|
12
|
+
rootPrefixCls: e()
|
|
13
|
+
};
|
|
14
|
+
},
|
|
15
|
+
useToken: () => {
|
|
16
|
+
const [e, o, r, t, s] = l();
|
|
17
|
+
return { theme: e, realToken: o, hashId: r, token: t, cssVar: s };
|
|
18
|
+
},
|
|
19
|
+
useCSP: () => {
|
|
20
|
+
const { csp: e } = n();
|
|
21
|
+
return (e == null ? void 0 : e.value) ?? {};
|
|
22
|
+
},
|
|
23
|
+
layer: {
|
|
24
|
+
name: "antdx",
|
|
25
|
+
dependencies: ["antd"]
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
P as genComponentStyleHook,
|
|
30
|
+
c as genStyleHooks,
|
|
31
|
+
d as genSubStyleComponent
|
|
32
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
size: !0,
|
|
3
|
+
sizeSM: !0,
|
|
4
|
+
sizeLG: !0,
|
|
5
|
+
sizeMD: !0,
|
|
6
|
+
sizeXS: !0,
|
|
7
|
+
sizeXXS: !0,
|
|
8
|
+
sizeMS: !0,
|
|
9
|
+
sizeXL: !0,
|
|
10
|
+
sizeXXL: !0,
|
|
11
|
+
sizeUnit: !0,
|
|
12
|
+
sizeStep: !0,
|
|
13
|
+
motionBase: !0,
|
|
14
|
+
motionUnit: !0
|
|
15
|
+
}, t = {
|
|
16
|
+
lineHeight: !0,
|
|
17
|
+
lineHeightSM: !0,
|
|
18
|
+
lineHeightLG: !0,
|
|
19
|
+
lineHeightHeading1: !0,
|
|
20
|
+
lineHeightHeading2: !0,
|
|
21
|
+
lineHeightHeading3: !0,
|
|
22
|
+
lineHeightHeading4: !0,
|
|
23
|
+
lineHeightHeading5: !0,
|
|
24
|
+
opacityLoading: !0,
|
|
25
|
+
fontWeightStrong: !0,
|
|
26
|
+
zIndexPopupBase: !0,
|
|
27
|
+
zIndexBase: !0,
|
|
28
|
+
opacityImage: !0
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
e as ignore,
|
|
32
|
+
t as unitless
|
|
33
|
+
};
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
import { u as X } from "../_util/cssinjs/hooks/useCacheToken.tsx2.mjs";
|
|
2
|
+
import "../_util/cssinjs/StyleContext.mjs";
|
|
3
|
+
import y from "../_util/cssinjs/theme/createTheme.mjs";
|
|
4
|
+
import "../_util/warning.mjs";
|
|
5
|
+
import "../_util/cssinjs/theme/ThemeCache.mjs";
|
|
6
|
+
import { computed as x, unref as M } from "vue";
|
|
7
|
+
import "../_util/cssinjs/transformers/legacyLogicalProperties.mjs";
|
|
8
|
+
import { theme as h } from "ant-design-vue";
|
|
9
|
+
import { ignore as z, unitless as L } from "./patch-antd.mjs";
|
|
10
|
+
import { T as u } from "../attachments/FileList/FileList2.mjs";
|
|
11
|
+
import k from "../version/version.mjs";
|
|
12
|
+
function d() {
|
|
13
|
+
return d = Object.assign ? Object.assign.bind() : function(r) {
|
|
14
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
+
var t = arguments[i];
|
|
16
|
+
for (var o in t) ({}).hasOwnProperty.call(t, o) && (r[o] = t[o]);
|
|
17
|
+
}
|
|
18
|
+
return r;
|
|
19
|
+
}, d.apply(null, arguments);
|
|
20
|
+
}
|
|
21
|
+
function f(r) {
|
|
22
|
+
return r >= 0 && r <= 255;
|
|
23
|
+
}
|
|
24
|
+
function m(r, i) {
|
|
25
|
+
const {
|
|
26
|
+
r: t,
|
|
27
|
+
g: o,
|
|
28
|
+
b: e,
|
|
29
|
+
a: c
|
|
30
|
+
} = new u(r).toRgb();
|
|
31
|
+
if (c < 1)
|
|
32
|
+
return r;
|
|
33
|
+
const {
|
|
34
|
+
r: a,
|
|
35
|
+
g: s,
|
|
36
|
+
b: p
|
|
37
|
+
} = new u(i).toRgb();
|
|
38
|
+
for (let n = 0.01; n <= 1; n += 0.01) {
|
|
39
|
+
const l = Math.round((t - a * (1 - n)) / n), g = Math.round((o - s * (1 - n)) / n), b = Math.round((e - p * (1 - n)) / n);
|
|
40
|
+
if (f(l) && f(g) && f(b))
|
|
41
|
+
return new u({
|
|
42
|
+
r: l,
|
|
43
|
+
g,
|
|
44
|
+
b,
|
|
45
|
+
a: Math.round(n * 100) / 100
|
|
46
|
+
}).toRgbString();
|
|
47
|
+
}
|
|
48
|
+
return new u({
|
|
49
|
+
r: t,
|
|
50
|
+
g: o,
|
|
51
|
+
b: e,
|
|
52
|
+
a: 1
|
|
53
|
+
}).toRgbString();
|
|
54
|
+
}
|
|
55
|
+
const w = {
|
|
56
|
+
blue: "#1677ff",
|
|
57
|
+
purple: "#722ED1",
|
|
58
|
+
cyan: "#13C2C2",
|
|
59
|
+
green: "#52C41A",
|
|
60
|
+
magenta: "#EB2F96",
|
|
61
|
+
pink: "#eb2f96",
|
|
62
|
+
red: "#F5222D",
|
|
63
|
+
orange: "#FA8C16",
|
|
64
|
+
yellow: "#FADB14",
|
|
65
|
+
volcano: "#FA541C",
|
|
66
|
+
geekblue: "#2F54EB",
|
|
67
|
+
gold: "#FAAD14",
|
|
68
|
+
lime: "#A0D911"
|
|
69
|
+
}, B = d(d({}, w), {
|
|
70
|
+
// Color
|
|
71
|
+
colorPrimary: "#1677ff",
|
|
72
|
+
colorSuccess: "#52c41a",
|
|
73
|
+
colorWarning: "#faad14",
|
|
74
|
+
colorError: "#ff4d4f",
|
|
75
|
+
colorInfo: "#1677ff",
|
|
76
|
+
colorTextBase: "",
|
|
77
|
+
colorBgBase: "",
|
|
78
|
+
// Font
|
|
79
|
+
fontFamily: `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
80
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
81
|
+
'Noto Color Emoji'`,
|
|
82
|
+
fontSize: 14,
|
|
83
|
+
// Line
|
|
84
|
+
lineWidth: 1,
|
|
85
|
+
lineType: "solid",
|
|
86
|
+
// Motion
|
|
87
|
+
motionUnit: 0.1,
|
|
88
|
+
motionBase: 0,
|
|
89
|
+
motionEaseOutCirc: "cubic-bezier(0.08, 0.82, 0.17, 1)",
|
|
90
|
+
motionEaseInOutCirc: "cubic-bezier(0.78, 0.14, 0.15, 0.86)",
|
|
91
|
+
motionEaseOut: "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
92
|
+
motionEaseInOut: "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
93
|
+
motionEaseOutBack: "cubic-bezier(0.12, 0.4, 0.29, 1.46)",
|
|
94
|
+
motionEaseInBack: "cubic-bezier(0.71, -0.46, 0.88, 0.6)",
|
|
95
|
+
motionEaseInQuint: "cubic-bezier(0.755, 0.05, 0.855, 0.06)",
|
|
96
|
+
motionEaseOutQuint: "cubic-bezier(0.23, 1, 0.32, 1)",
|
|
97
|
+
// Radius
|
|
98
|
+
borderRadius: 6,
|
|
99
|
+
// Size
|
|
100
|
+
sizeUnit: 4,
|
|
101
|
+
sizeStep: 4,
|
|
102
|
+
sizePopupArrow: 16,
|
|
103
|
+
// Control Base
|
|
104
|
+
controlHeight: 32,
|
|
105
|
+
// zIndex
|
|
106
|
+
zIndexBase: 0,
|
|
107
|
+
zIndexPopupBase: 1e3,
|
|
108
|
+
// Image
|
|
109
|
+
opacityImage: 1,
|
|
110
|
+
// Wireframe
|
|
111
|
+
wireframe: !1
|
|
112
|
+
});
|
|
113
|
+
var C = function(r, i) {
|
|
114
|
+
var t = {};
|
|
115
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && i.indexOf(o) < 0 && (t[o] = r[o]);
|
|
116
|
+
if (r != null && typeof Object.getOwnPropertySymbols == "function") for (var e = 0, o = Object.getOwnPropertySymbols(r); e < o.length; e++)
|
|
117
|
+
i.indexOf(o[e]) < 0 && Object.prototype.propertyIsEnumerable.call(r, o[e]) && (t[o[e]] = r[o[e]]);
|
|
118
|
+
return t;
|
|
119
|
+
};
|
|
120
|
+
function D(r) {
|
|
121
|
+
const {
|
|
122
|
+
override: i
|
|
123
|
+
} = r, t = C(r, ["override"]), o = d({}, i);
|
|
124
|
+
Object.keys(B).forEach((S) => {
|
|
125
|
+
delete o[S];
|
|
126
|
+
});
|
|
127
|
+
const e = d(d({}, t), o), c = 480, a = 576, s = 768, p = 992, n = 1200, l = 1600, g = 2e3;
|
|
128
|
+
return d(d(d({}, e), {
|
|
129
|
+
colorLink: e.colorInfoText,
|
|
130
|
+
colorLinkHover: e.colorInfoHover,
|
|
131
|
+
colorLinkActive: e.colorInfoActive,
|
|
132
|
+
// ============== Background ============== //
|
|
133
|
+
colorFillContent: e.colorFillSecondary,
|
|
134
|
+
colorFillContentHover: e.colorFill,
|
|
135
|
+
colorFillAlter: e.colorFillQuaternary,
|
|
136
|
+
colorBgContainerDisabled: e.colorFillTertiary,
|
|
137
|
+
// ============== Split ============== //
|
|
138
|
+
colorBorderBg: e.colorBgContainer,
|
|
139
|
+
colorSplit: m(e.colorBorderSecondary, e.colorBgContainer),
|
|
140
|
+
// ============== Text ============== //
|
|
141
|
+
colorTextPlaceholder: e.colorTextQuaternary,
|
|
142
|
+
colorTextDisabled: e.colorTextQuaternary,
|
|
143
|
+
colorTextHeading: e.colorText,
|
|
144
|
+
colorTextLabel: e.colorTextSecondary,
|
|
145
|
+
colorTextDescription: e.colorTextTertiary,
|
|
146
|
+
colorTextLightSolid: e.colorWhite,
|
|
147
|
+
colorHighlight: e.colorError,
|
|
148
|
+
colorBgTextHover: e.colorFillSecondary,
|
|
149
|
+
colorBgTextActive: e.colorFill,
|
|
150
|
+
colorIcon: e.colorTextTertiary,
|
|
151
|
+
colorIconHover: e.colorText,
|
|
152
|
+
colorErrorOutline: m(e.colorErrorBg, e.colorBgContainer),
|
|
153
|
+
colorWarningOutline: m(e.colorWarningBg, e.colorBgContainer),
|
|
154
|
+
// Font
|
|
155
|
+
fontSizeIcon: e.fontSizeSM,
|
|
156
|
+
// Control
|
|
157
|
+
lineWidth: e.lineWidth,
|
|
158
|
+
controlOutlineWidth: e.lineWidth * 2,
|
|
159
|
+
// Checkbox size and expand icon size
|
|
160
|
+
controlInteractiveSize: e.controlHeight / 2,
|
|
161
|
+
controlItemBgHover: e.colorFillTertiary,
|
|
162
|
+
controlItemBgActive: e.colorPrimaryBg,
|
|
163
|
+
controlItemBgActiveHover: e.colorPrimaryBgHover,
|
|
164
|
+
controlItemBgActiveDisabled: e.colorFill,
|
|
165
|
+
controlTmpOutline: e.colorFillQuaternary,
|
|
166
|
+
controlOutline: m(e.colorPrimaryBg, e.colorBgContainer),
|
|
167
|
+
lineType: e.lineType,
|
|
168
|
+
borderRadius: e.borderRadius,
|
|
169
|
+
borderRadiusXS: e.borderRadiusXS,
|
|
170
|
+
borderRadiusSM: e.borderRadiusSM,
|
|
171
|
+
borderRadiusLG: e.borderRadiusLG,
|
|
172
|
+
fontWeightStrong: 600,
|
|
173
|
+
opacityLoading: 0.65,
|
|
174
|
+
linkDecoration: "none",
|
|
175
|
+
linkHoverDecoration: "none",
|
|
176
|
+
linkFocusDecoration: "none",
|
|
177
|
+
controlPaddingHorizontal: 12,
|
|
178
|
+
controlPaddingHorizontalSM: 8,
|
|
179
|
+
paddingXXS: e.sizeXXS,
|
|
180
|
+
paddingXS: e.sizeXS,
|
|
181
|
+
paddingSM: e.sizeSM,
|
|
182
|
+
padding: e.size,
|
|
183
|
+
paddingMD: e.sizeMD,
|
|
184
|
+
paddingLG: e.sizeLG,
|
|
185
|
+
paddingXL: e.sizeXL,
|
|
186
|
+
paddingContentHorizontalLG: e.sizeLG,
|
|
187
|
+
paddingContentVerticalLG: e.sizeMS,
|
|
188
|
+
paddingContentHorizontal: e.sizeMS,
|
|
189
|
+
paddingContentVertical: e.sizeSM,
|
|
190
|
+
paddingContentHorizontalSM: e.size,
|
|
191
|
+
paddingContentVerticalSM: e.sizeXS,
|
|
192
|
+
marginXXS: e.sizeXXS,
|
|
193
|
+
marginXS: e.sizeXS,
|
|
194
|
+
marginSM: e.sizeSM,
|
|
195
|
+
margin: e.size,
|
|
196
|
+
marginMD: e.sizeMD,
|
|
197
|
+
marginLG: e.sizeLG,
|
|
198
|
+
marginXL: e.sizeXL,
|
|
199
|
+
marginXXL: e.sizeXXL,
|
|
200
|
+
boxShadow: `
|
|
201
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
202
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
203
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
204
|
+
`,
|
|
205
|
+
boxShadowSecondary: `
|
|
206
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
207
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
208
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
209
|
+
`,
|
|
210
|
+
boxShadowTertiary: `
|
|
211
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
212
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
213
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
214
|
+
`,
|
|
215
|
+
screenXS: c,
|
|
216
|
+
screenXSMin: c,
|
|
217
|
+
screenXSMax: a - 1,
|
|
218
|
+
screenSM: a,
|
|
219
|
+
screenSMMin: a,
|
|
220
|
+
screenSMMax: s - 1,
|
|
221
|
+
screenMD: s,
|
|
222
|
+
screenMDMin: s,
|
|
223
|
+
screenMDMax: p - 1,
|
|
224
|
+
screenLG: p,
|
|
225
|
+
screenLGMin: p,
|
|
226
|
+
screenLGMax: n - 1,
|
|
227
|
+
screenXL: n,
|
|
228
|
+
screenXLMin: n,
|
|
229
|
+
screenXLMax: l - 1,
|
|
230
|
+
screenXXL: l,
|
|
231
|
+
screenXXLMin: l,
|
|
232
|
+
screenXXLMax: g - 1,
|
|
233
|
+
screenXXXL: g,
|
|
234
|
+
screenXXXLMin: g,
|
|
235
|
+
// FIXME: component box-shadow, should be removed
|
|
236
|
+
boxShadowPopoverArrow: "3px 3px 7px rgba(0, 0, 0, 0.1)",
|
|
237
|
+
boxShadowCard: `
|
|
238
|
+
0 1px 2px -2px ${new u("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
239
|
+
0 3px 6px 0 ${new u("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
240
|
+
0 5px 12px 4px ${new u("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
241
|
+
`,
|
|
242
|
+
boxShadowDrawerRight: `
|
|
243
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
244
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
245
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
246
|
+
`,
|
|
247
|
+
boxShadowDrawerLeft: `
|
|
248
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
249
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
250
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
251
|
+
`,
|
|
252
|
+
boxShadowDrawerUp: `
|
|
253
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
254
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
255
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
256
|
+
`,
|
|
257
|
+
boxShadowDrawerDown: `
|
|
258
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
259
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
260
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
261
|
+
`,
|
|
262
|
+
boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
|
|
263
|
+
boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
|
|
264
|
+
boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
|
|
265
|
+
boxShadowTabsOverflowBottom: "inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"
|
|
266
|
+
}), o);
|
|
267
|
+
}
|
|
268
|
+
const O = y(h.defaultAlgorithm), I = {
|
|
269
|
+
screenXS: !0,
|
|
270
|
+
screenXSMin: !0,
|
|
271
|
+
screenXSMax: !0,
|
|
272
|
+
screenSM: !0,
|
|
273
|
+
screenSMMin: !0,
|
|
274
|
+
screenSMMax: !0,
|
|
275
|
+
screenMD: !0,
|
|
276
|
+
screenMDMin: !0,
|
|
277
|
+
screenMDMax: !0,
|
|
278
|
+
screenLG: !0,
|
|
279
|
+
screenLGMin: !0,
|
|
280
|
+
screenLGMax: !0,
|
|
281
|
+
screenXL: !0,
|
|
282
|
+
screenXLMin: !0,
|
|
283
|
+
screenXLMax: !0,
|
|
284
|
+
screenXXL: !0,
|
|
285
|
+
screenXXLMin: !0
|
|
286
|
+
}, T = (r, i, t) => {
|
|
287
|
+
const o = t.getDerivativeToken(r), { override: e, ...c } = i;
|
|
288
|
+
let a = {
|
|
289
|
+
...o,
|
|
290
|
+
override: e
|
|
291
|
+
};
|
|
292
|
+
return a = D(a), c && Object.entries(c).forEach(([s, p]) => {
|
|
293
|
+
const { theme: n, ...l } = p;
|
|
294
|
+
let g = l;
|
|
295
|
+
n && (g = T(
|
|
296
|
+
{
|
|
297
|
+
...a,
|
|
298
|
+
...l
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
override: l
|
|
302
|
+
},
|
|
303
|
+
n
|
|
304
|
+
)), a[s] = g;
|
|
305
|
+
}), a;
|
|
306
|
+
};
|
|
307
|
+
function A() {
|
|
308
|
+
const { token: r, hashId: i, theme: t } = h.useToken(), o = x(() => ({
|
|
309
|
+
token: r.value,
|
|
310
|
+
hashed: i.value,
|
|
311
|
+
theme: t.value
|
|
312
|
+
})), {
|
|
313
|
+
// @ts-expect-error
|
|
314
|
+
override: e,
|
|
315
|
+
// @ts-expect-error
|
|
316
|
+
cssVar: c
|
|
317
|
+
} = M(o), a = x(() => o.value.token), s = x(() => o.value.hashed), p = x(() => o.value.theme ?? O), n = X(
|
|
318
|
+
// @ts-expect-error
|
|
319
|
+
x(() => p.value),
|
|
320
|
+
x(() => [h.defaultSeed, a.value]),
|
|
321
|
+
x(() => ({
|
|
322
|
+
salt: `${k}-${s.value || ""}`,
|
|
323
|
+
override: e,
|
|
324
|
+
getComputedToken: T,
|
|
325
|
+
cssVar: c && {
|
|
326
|
+
prefix: c.prefix,
|
|
327
|
+
key: c.key,
|
|
328
|
+
unitless: L,
|
|
329
|
+
ignore: z,
|
|
330
|
+
preserve: I
|
|
331
|
+
}
|
|
332
|
+
}))
|
|
333
|
+
), [
|
|
334
|
+
l,
|
|
335
|
+
// token
|
|
336
|
+
g,
|
|
337
|
+
// hashId
|
|
338
|
+
// @ts-expect-error
|
|
339
|
+
b
|
|
340
|
+
] = M(n), S = x(() => n.value[0]), v = x(() => s.value ? n.value[1] : "");
|
|
341
|
+
return [p, b, v, S, c];
|
|
342
|
+
}
|
|
343
|
+
function $() {
|
|
344
|
+
const [r, i, t] = A();
|
|
345
|
+
return { theme: r, token: i, hashId: t };
|
|
346
|
+
}
|
|
347
|
+
export {
|
|
348
|
+
$ as default,
|
|
349
|
+
T as getComputedToken,
|
|
350
|
+
A as useInternalToken
|
|
351
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { defineComponent as F, mergeDefaults as H, toRef as C, computed as o, createVNode as i, mergeProps as k } from "vue";
|
|
2
|
+
import { a as p, c as l } from "../attachments/Attachments2.mjs";
|
|
3
|
+
import $ from "../_util/pick-attrs.mjs";
|
|
4
|
+
import z from "../x-provider/hooks/use-x-provider-context.mjs";
|
|
5
|
+
import "../x-provider/context.mjs";
|
|
6
|
+
import "ant-design-vue";
|
|
7
|
+
import S from "../_util/hooks/use-x-component-config.mjs";
|
|
8
|
+
import T from "./hooks/useCollapsible.mjs";
|
|
9
|
+
import V from "./style/index.mjs";
|
|
10
|
+
import { ThoughtChainNodeContextProvider as X } from "./context.mjs";
|
|
11
|
+
import j from "./item.mjs";
|
|
12
|
+
const L = /* @__PURE__ */ F({
|
|
13
|
+
name: "AXThoughtChain",
|
|
14
|
+
__name: "ThoughtChain",
|
|
15
|
+
props: H({
|
|
16
|
+
items: null,
|
|
17
|
+
collapsible: {
|
|
18
|
+
type: Boolean
|
|
19
|
+
},
|
|
20
|
+
size: null,
|
|
21
|
+
styles: null,
|
|
22
|
+
classNames: null,
|
|
23
|
+
prefixCls: null,
|
|
24
|
+
rootClassName: null
|
|
25
|
+
}, {
|
|
26
|
+
styles: () => ({}),
|
|
27
|
+
classNames: () => ({}),
|
|
28
|
+
size: "middle"
|
|
29
|
+
}),
|
|
30
|
+
setup(e) {
|
|
31
|
+
const f = p(e, ["prefixCls", "rootClassName", "class", "items", "collapsible", "styles", "style", "classNames", "size"]);
|
|
32
|
+
C(e, "class"), C(e, "prefixCls");
|
|
33
|
+
const y = o(() => $(f, {
|
|
34
|
+
attr: !0,
|
|
35
|
+
aria: !0,
|
|
36
|
+
data: !0
|
|
37
|
+
})), {
|
|
38
|
+
getPrefixCls: n,
|
|
39
|
+
direction: r
|
|
40
|
+
} = z(), v = o(() => n()), s = o(() => n("thought-chain", e.prefixCls)), t = S("thoughtChain"), [
|
|
41
|
+
d,
|
|
42
|
+
N,
|
|
43
|
+
h
|
|
44
|
+
// collapseMotion
|
|
45
|
+
] = T(() => e.collapsible, s.value, v.value), [x, g, P] = V(s), b = o(() => l(e.class, e.rootClassName, s.value, t.value.className, g.value, P, {
|
|
46
|
+
[`${s.value}-rtl`]: r.value === "rtl"
|
|
47
|
+
}, `${s.value}-${e.size}`));
|
|
48
|
+
return () => x(i("div", k(y.value, {
|
|
49
|
+
class: b.value,
|
|
50
|
+
style: {
|
|
51
|
+
...typeof t.value.style == "object" ? t.value.style : {},
|
|
52
|
+
...typeof e.style == "object" ? e.style : {}
|
|
53
|
+
}
|
|
54
|
+
}), [i(X, {
|
|
55
|
+
value: {
|
|
56
|
+
prefixCls: s.value,
|
|
57
|
+
enableCollapse: d.value,
|
|
58
|
+
// collapseMotion,
|
|
59
|
+
expandedKeys: N.value,
|
|
60
|
+
direction: r.value,
|
|
61
|
+
classNames: {
|
|
62
|
+
itemHeader: l(t.value.classNames.itemHeader, e.classNames.itemHeader),
|
|
63
|
+
itemContent: l(t.value.classNames.itemContent, e.classNames.itemContent),
|
|
64
|
+
itemFooter: l(t.value.classNames.itemFooter, e.classNames.itemFooter)
|
|
65
|
+
},
|
|
66
|
+
styles: {
|
|
67
|
+
itemHeader: {
|
|
68
|
+
...t.value.styles.itemHeader,
|
|
69
|
+
...e.styles.itemHeader
|
|
70
|
+
},
|
|
71
|
+
itemContent: {
|
|
72
|
+
...t.value.styles.itemContent,
|
|
73
|
+
...e.styles.itemContent
|
|
74
|
+
},
|
|
75
|
+
itemFooter: {
|
|
76
|
+
...t.value.styles.itemFooter,
|
|
77
|
+
...e.styles.itemFooter
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
default: () => {
|
|
83
|
+
var u;
|
|
84
|
+
return [(u = e.items) == null ? void 0 : u.map((a, m) => {
|
|
85
|
+
var c;
|
|
86
|
+
return i(j, {
|
|
87
|
+
key: a.key || `key_${m}`,
|
|
88
|
+
class: l(t.value.classNames.item, e.classNames.item),
|
|
89
|
+
style: {
|
|
90
|
+
...t.value.styles.item,
|
|
91
|
+
...e.styles.item
|
|
92
|
+
},
|
|
93
|
+
info: {
|
|
94
|
+
...a,
|
|
95
|
+
icon: a.icon || m + 1
|
|
96
|
+
},
|
|
97
|
+
onClick: h,
|
|
98
|
+
nextStatus: ((c = e.items[m + 1]) == null ? void 0 : c.status) || a.status
|
|
99
|
+
}, null);
|
|
100
|
+
})];
|
|
101
|
+
}
|
|
102
|
+
})]));
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
export {
|
|
106
|
+
L as default
|
|
107
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { shallowRef as u, defineComponent as i, computed as r, provide as a, watch as d, unref as C, triggerRef as p, inject as c } from "vue";
|
|
2
|
+
import { objectType as g } from "../_util/type.mjs";
|
|
3
|
+
const h = Symbol("ThoughtChainNodeContext"), o = u(), m = (e) => {
|
|
4
|
+
a(h, e), d(
|
|
5
|
+
e,
|
|
6
|
+
() => {
|
|
7
|
+
o.value = C(e), p(o);
|
|
8
|
+
},
|
|
9
|
+
{ immediate: !0, deep: !0 }
|
|
10
|
+
);
|
|
11
|
+
}, T = () => c(
|
|
12
|
+
h,
|
|
13
|
+
r(() => o.value || {})
|
|
14
|
+
), N = i({
|
|
15
|
+
props: {
|
|
16
|
+
value: g()
|
|
17
|
+
},
|
|
18
|
+
setup(e, { slots: t }) {
|
|
19
|
+
return m(r(() => e.value)), () => {
|
|
20
|
+
var n;
|
|
21
|
+
return (n = t.default) == null ? void 0 : n.call(t);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
N as ThoughtChainNodeContextProvider,
|
|
27
|
+
N as default,
|
|
28
|
+
o as globalThoughtChainNodeContextApi,
|
|
29
|
+
T as useThoughtChainNodeContextInject,
|
|
30
|
+
m as useThoughtChainNodeContextProvider
|
|
31
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import r from "../../_util/hooks/use-state.mjs";
|
|
2
|
+
import { computed as t, toValue as x } from "vue";
|
|
3
|
+
const b = (d, c, m) => {
|
|
4
|
+
const n = t(() => {
|
|
5
|
+
const a = x(d);
|
|
6
|
+
let e = {
|
|
7
|
+
expandedKeys: [],
|
|
8
|
+
onExpand: () => {
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
return a ? (typeof a == "object" && (e = { ...e, ...a }), {
|
|
12
|
+
enableCollapse: !0,
|
|
13
|
+
customizeExpandedKeys: e.expandedKeys,
|
|
14
|
+
customizeOnExpand: e.onExpand
|
|
15
|
+
}) : {
|
|
16
|
+
enableCollapse: !1,
|
|
17
|
+
customizeExpandedKeys: e.expandedKeys,
|
|
18
|
+
customizeOnExpand: e.onExpand
|
|
19
|
+
};
|
|
20
|
+
}), [s, p] = r(n.value.customizeExpandedKeys), u = (a) => {
|
|
21
|
+
var l, o;
|
|
22
|
+
if (!n.value.enableCollapse)
|
|
23
|
+
return;
|
|
24
|
+
const e = s.value.includes(a) ? s.value.filter((i) => i !== a) : [...s.value, a];
|
|
25
|
+
(o = (l = n.value).customizeOnExpand) == null || o.call(l, e), p(e);
|
|
26
|
+
};
|
|
27
|
+
return [
|
|
28
|
+
t(() => n.value.enableCollapse),
|
|
29
|
+
s,
|
|
30
|
+
u
|
|
31
|
+
// collapseMotion,
|
|
32
|
+
];
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
b as default
|
|
36
|
+
};
|