@agentscope-ai/chat 1.1.4
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/README.md +88 -0
- package/dist/_util/hooks/use-proxy-imperative-handle.d.ts +4 -0
- package/dist/_util/hooks/use-proxy-imperative-handle.js +18 -0
- package/dist/_util/type.d.ts +1 -0
- package/dist/_util/type.js +1 -0
- package/dist/_util/warning.d.ts +30 -0
- package/dist/_util/warning.js +63 -0
- package/dist/accordion/Accordion.d.ts +22 -0
- package/dist/accordion/Accordion.js +93 -0
- package/dist/accordion/BodyContent.d.ts +8 -0
- package/dist/accordion/BodyContent.js +18 -0
- package/dist/accordion/DeepThink.d.ts +7 -0
- package/dist/accordion/DeepThink.js +35 -0
- package/dist/accordion/index.d.ts +2 -0
- package/dist/accordion/index.js +1 -0
- package/dist/accordion/index.less +170 -0
- package/dist/attachments/DropArea.d.ts +8 -0
- package/dist/attachments/DropArea.js +87 -0
- package/dist/attachments/FileList/AudioIcon.d.ts +2 -0
- package/dist/attachments/FileList/AudioIcon.js +19 -0
- package/dist/attachments/FileList/FileListCard.d.ts +12 -0
- package/dist/attachments/FileList/FileListCard.js +229 -0
- package/dist/attachments/FileList/Progress.d.ts +6 -0
- package/dist/attachments/FileList/Progress.js +21 -0
- package/dist/attachments/FileList/VideoIcon.d.ts +2 -0
- package/dist/attachments/FileList/VideoIcon.js +19 -0
- package/dist/attachments/FileList/index.d.ts +16 -0
- package/dist/attachments/FileList/index.js +132 -0
- package/dist/attachments/PlaceholderUploader.d.ts +17 -0
- package/dist/attachments/PlaceholderUploader.js +79 -0
- package/dist/attachments/SilentUploader.d.ts +9 -0
- package/dist/attachments/SilentUploader.js +23 -0
- package/dist/attachments/context.d.ts +5 -0
- package/dist/attachments/context.js +2 -0
- package/dist/attachments/index.d.ts +33 -0
- package/dist/attachments/index.js +166 -0
- package/dist/attachments/style/fileCard.d.ts +4 -0
- package/dist/attachments/style/fileCard.js +124 -0
- package/dist/attachments/style/index.d.ts +10 -0
- package/dist/attachments/style/index.js +211 -0
- package/dist/attachments/util.d.ts +2 -0
- package/dist/attachments/util.js +53 -0
- package/dist/bubble/Avatar.d.ts +10 -0
- package/dist/bubble/Avatar.js +22 -0
- package/dist/bubble/Bubble.d.ts +11 -0
- package/dist/bubble/Bubble.js +102 -0
- package/dist/bubble/BubbleList.d.ts +15 -0
- package/dist/bubble/BubbleList.js +44 -0
- package/dist/bubble/Cards.d.ts +21 -0
- package/dist/bubble/Cards.js +47 -0
- package/dist/bubble/ScrollToBottom.d.ts +7 -0
- package/dist/bubble/ScrollToBottom.js +45 -0
- package/dist/bubble/Spin.d.ts +2 -0
- package/dist/bubble/Spin.js +18 -0
- package/dist/bubble/hooks/useDisplayData.d.ts +0 -0
- package/dist/bubble/hooks/useDisplayData.js +0 -0
- package/dist/bubble/hooks/useListData.d.ts +0 -0
- package/dist/bubble/hooks/useListData.js +0 -0
- package/dist/bubble/index.d.ts +8 -0
- package/dist/bubble/index.js +4 -0
- package/dist/bubble/interface.d.ts +26 -0
- package/dist/bubble/interface.js +1 -0
- package/dist/bubble/loading.d.ts +6 -0
- package/dist/bubble/loading.js +17 -0
- package/dist/bubble/style/avatar.less +40 -0
- package/dist/bubble/style/content.d.ts +4 -0
- package/dist/bubble/style/content.js +43 -0
- package/dist/bubble/style/index.d.ts +9 -0
- package/dist/bubble/style/index.js +53 -0
- package/dist/bubble/style/list.less +15 -0
- package/dist/bubble/style/scrollToBottom.less +174 -0
- package/dist/chat-anywhere/Chat/Ref.d.ts +3 -0
- package/dist/chat-anywhere/Chat/Ref.js +19 -0
- package/dist/chat-anywhere/Chat/index.d.ts +4 -0
- package/dist/chat-anywhere/Chat/index.js +65 -0
- package/dist/chat-anywhere/Chat/index.less +54 -0
- package/dist/chat-anywhere/Header/index.d.ts +3 -0
- package/dist/chat-anywhere/Header/index.js +32 -0
- package/dist/chat-anywhere/Header/index.less +24 -0
- package/dist/chat-anywhere/Input/index.d.ts +3 -0
- package/dist/chat-anywhere/Input/index.js +170 -0
- package/dist/chat-anywhere/Input/index.less +12 -0
- package/dist/chat-anywhere/Layout/index.d.ts +10 -0
- package/dist/chat-anywhere/Layout/index.js +73 -0
- package/dist/chat-anywhere/Layout/index.less +61 -0
- package/dist/chat-anywhere/SessionList/index.d.ts +5 -0
- package/dist/chat-anywhere/SessionList/index.js +115 -0
- package/dist/chat-anywhere/SessionList/index.less +52 -0
- package/dist/chat-anywhere/hooks/ChatAnywhereProvider.d.ts +43 -0
- package/dist/chat-anywhere/hooks/ChatAnywhereProvider.js +90 -0
- package/dist/chat-anywhere/hooks/types.d.ts +57 -0
- package/dist/chat-anywhere/hooks/types.js +1 -0
- package/dist/chat-anywhere/hooks/useInput.d.ts +7 -0
- package/dist/chat-anywhere/hooks/useInput.js +21 -0
- package/dist/chat-anywhere/hooks/useMessages.d.ts +11 -0
- package/dist/chat-anywhere/hooks/useMessages.js +56 -0
- package/dist/chat-anywhere/hooks/useSessionList.d.ts +24 -0
- package/dist/chat-anywhere/hooks/useSessionList.js +120 -0
- package/dist/chat-anywhere/index.d.ts +9 -0
- package/dist/chat-anywhere/index.js +58 -0
- package/dist/conversations/GroupTitle.d.ts +10 -0
- package/dist/conversations/GroupTitle.js +15 -0
- package/dist/conversations/Item.d.ts +14 -0
- package/dist/conversations/Item.js +96 -0
- package/dist/conversations/hooks/useGroupable.d.ts +9 -0
- package/dist/conversations/hooks/useGroupable.js +72 -0
- package/dist/conversations/index.d.ts +62 -0
- package/dist/conversations/index.js +124 -0
- package/dist/conversations/interface.d.ts +60 -0
- package/dist/conversations/interface.js +1 -0
- package/dist/conversations/style/index.d.ts +9 -0
- package/dist/conversations/style/index.js +80 -0
- package/dist/default-cards/Count/index.d.ts +3 -0
- package/dist/default-cards/Count/index.js +16 -0
- package/dist/default-cards/Count/index.less +19 -0
- package/dist/default-cards/DeepThink/index.d.ts +11 -0
- package/dist/default-cards/DeepThink/index.js +11 -0
- package/dist/default-cards/DeepThink/index.less +0 -0
- package/dist/default-cards/Files/index.d.ts +2 -0
- package/dist/default-cards/Files/index.js +18 -0
- package/dist/default-cards/Footer/index.d.ts +19 -0
- package/dist/default-cards/Footer/index.js +50 -0
- package/dist/default-cards/Footer/index.less +41 -0
- package/dist/default-cards/Images/index.d.ts +3 -0
- package/dist/default-cards/Images/index.js +33 -0
- package/dist/default-cards/Images/index.less +17 -0
- package/dist/default-cards/Interrupted/index.d.ts +11 -0
- package/dist/default-cards/Interrupted/index.js +40 -0
- package/dist/default-cards/Interrupted/index.less +57 -0
- package/dist/default-cards/Text/index.d.ts +2 -0
- package/dist/default-cards/Text/index.js +12 -0
- package/dist/default-cards/index.d.ts +6 -0
- package/dist/default-cards/index.js +6 -0
- package/dist/disclaimer/index.d.ts +11 -0
- package/dist/disclaimer/index.js +26 -0
- package/dist/docs/1896.async.js +457 -0
- package/dist/docs/2710.async.js +62 -0
- package/dist/docs/2863.async.js +400 -0
- package/dist/docs/3057.async.js +46 -0
- package/dist/docs/3364.async.js +25 -0
- package/dist/docs/404.html +15 -0
- package/dist/docs/4820.async.js +1381 -0
- package/dist/docs/5623.async.js +60 -0
- package/dist/docs/5757.async.js +1 -0
- package/dist/docs/5804.async.js +271 -0
- package/dist/docs/6198.async.js +18 -0
- package/dist/docs/6671.async.js +137 -0
- package/dist/docs/7195.async.js +1 -0
- package/dist/docs/7485.async.js +29 -0
- package/dist/docs/7931.async.js +19 -0
- package/dist/docs/7997.async.js +5 -0
- package/dist/docs/8156.async.js +110 -0
- package/dist/docs/8368.async.js +2 -0
- package/dist/docs/8480.async.js +1449 -0
- package/dist/docs/8618.async.js +246 -0
- package/dist/docs/9016.async.js +32 -0
- package/dist/docs/9016.chunk.css +1 -0
- package/dist/docs/9335.async.js +11 -0
- package/dist/docs/accordion__demos.async.js +9 -0
- package/dist/docs/attachments__demos.async.js +1 -0
- package/dist/docs/bubble__demos.async.js +50 -0
- package/dist/docs/components/accordion/index.html +15 -0
- package/dist/docs/components/accordion-cn/index.html +15 -0
- package/dist/docs/components/attachments/index.html +15 -0
- package/dist/docs/components/attachments-cn/index.html +15 -0
- package/dist/docs/components/bubble/index.html +15 -0
- package/dist/docs/components/bubble-cn/index.html +15 -0
- package/dist/docs/components/bubble-list/index.html +15 -0
- package/dist/docs/components/bubble-list-cn/index.html +15 -0
- package/dist/docs/components/conversations/index.html +15 -0
- package/dist/docs/components/conversations-cn/index.html +15 -0
- package/dist/docs/components/disclaimer/index.html +15 -0
- package/dist/docs/components/disclaimer-cn/index.html +15 -0
- package/dist/docs/components/footer/index.html +15 -0
- package/dist/docs/components/footer-cn/index.html +15 -0
- package/dist/docs/components/markdown/index.html +15 -0
- package/dist/docs/components/markdown-cn/index.html +15 -0
- package/dist/docs/components/sender/index.html +15 -0
- package/dist/docs/components/sender-cn/index.html +15 -0
- package/dist/docs/components/status/index.html +15 -0
- package/dist/docs/components/status-cn/index.html +15 -0
- package/dist/docs/components/welcome/index.html +15 -0
- package/dist/docs/components/welcome-cn/index.html +15 -0
- package/dist/docs/components__accordion__index.en-US.md.async.js +6 -0
- package/dist/docs/components__accordion__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__accordion__index.zh-CN.md.async.js +6 -0
- package/dist/docs/components__accordion__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__attachments__index.en-US.md.async.js +1 -0
- package/dist/docs/components__attachments__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__attachments__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__attachments__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__bubble-list__index.en-US.md.async.js +2 -0
- package/dist/docs/components__bubble-list__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__bubble-list__index.zh-CN.md.async.js +2 -0
- package/dist/docs/components__bubble-list__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__bubble__index.en-US.md.async.js +1 -0
- package/dist/docs/components__bubble__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__bubble__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__bubble__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__conversations__index.en-US.md.async.js +2 -0
- package/dist/docs/components__conversations__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__conversations__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__conversations__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__disclaimer__index.en-US.md.async.js +1 -0
- package/dist/docs/components__disclaimer__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__disclaimer__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__disclaimer__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__footer__index.en-US.md.async.js +1 -0
- package/dist/docs/components__footer__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__footer__index.zh-CN.md.async.js +2 -0
- package/dist/docs/components__footer__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__markdown__index.en-US.md.async.js +1 -0
- package/dist/docs/components__markdown__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__markdown__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__markdown__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__sender__index.en-US.md.async.js +1 -0
- package/dist/docs/components__sender__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__sender__index.zh-CN.md.async.js +1 -0
- package/dist/docs/components__sender__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__status__index.en-US.md.async.js +1 -0
- package/dist/docs/components__status__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__status__index.zh-CN.md.async.js +2 -0
- package/dist/docs/components__status__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/components__welcome__index.en-US.md.async.js +2 -0
- package/dist/docs/components__welcome__index.en-US.md.chunk.css +1 -0
- package/dist/docs/components__welcome__index.zh-CN.md.async.js +2 -0
- package/dist/docs/components__welcome__index.zh-CN.md.chunk.css +1 -0
- package/dist/docs/conversations__demos.async.js +1 -0
- package/dist/docs/demos.async.js +47 -0
- package/dist/docs/demos.chunk.css +1 -0
- package/dist/docs/disclaimer__demos.async.js +1 -0
- package/dist/docs/docs/development/ag-ui/index.html +15 -0
- package/dist/docs/docs/development/ag-ui-cn/index.html +15 -0
- package/dist/docs/docs/development/backend/index.html +15 -0
- package/dist/docs/docs/development/backend-cn/index.html +15 -0
- package/dist/docs/docs/development/cards/index.html +15 -0
- package/dist/docs/docs/development/cards-cn/index.html +15 -0
- package/dist/docs/docs/development/chatanywhere/index.html +15 -0
- package/dist/docs/docs/development/chatanywhere-api/index.html +15 -0
- package/dist/docs/docs/development/chatanywhere-api-cn/index.html +15 -0
- package/dist/docs/docs/development/chatanywhere-cn/index.html +15 -0
- package/dist/docs/docs/development/custom/index.html +15 -0
- package/dist/docs/docs/development/custom-cn/index.html +15 -0
- package/dist/docs/docs/development/overview/index.html +15 -0
- package/dist/docs/docs/development/overview-cn/index.html +15 -0
- package/dist/docs/docs/development/qwen/index.html +15 -0
- package/dist/docs/docs/development/qwen-cn/index.html +15 -0
- package/dist/docs/docs/templates/copilot/index.html +15 -0
- package/dist/docs/docs/templates/copilot-cn/index.html +15 -0
- package/dist/docs/docs/templates/native/index.html +15 -0
- package/dist/docs/docs/templates/native-cn/index.html +15 -0
- package/dist/docs/docs/templates/voice/index.html +15 -0
- package/dist/docs/docs/templates/voice-cn/index.html +15 -0
- package/dist/docs/docs__development__ag-ui.en-US.md.async.js +210 -0
- package/dist/docs/docs__development__ag-ui.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__ag-ui.zh-CN.md.async.js +210 -0
- package/dist/docs/docs__development__ag-ui.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__backend.en-US.md.async.js +12 -0
- package/dist/docs/docs__development__backend.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__backend.zh-CN.md.async.js +12 -0
- package/dist/docs/docs__development__backend.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__cards.en-US.md.async.js +27 -0
- package/dist/docs/docs__development__cards.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__cards.zh-CN.md.async.js +27 -0
- package/dist/docs/docs__development__cards.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__chatanywhere-api.en-US.md.async.js +69 -0
- package/dist/docs/docs__development__chatanywhere-api.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__chatanywhere-api.zh-CN.md.async.js +69 -0
- package/dist/docs/docs__development__chatanywhere-api.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__chatanywhere.en-US.md.async.js +77 -0
- package/dist/docs/docs__development__chatanywhere.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__chatanywhere.zh-CN.md.async.js +77 -0
- package/dist/docs/docs__development__chatanywhere.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__custom.en-US.md.async.js +22 -0
- package/dist/docs/docs__development__custom.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__custom.zh-CN.md.async.js +22 -0
- package/dist/docs/docs__development__custom.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__overview.en-US.md.async.js +21 -0
- package/dist/docs/docs__development__overview.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__overview.zh-CN.md.async.js +21 -0
- package/dist/docs/docs__development__overview.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__development__qwen.en-US.md.async.js +25 -0
- package/dist/docs/docs__development__qwen.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__development__qwen.zh-CN.md.async.js +25 -0
- package/dist/docs/docs__development__qwen.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__templates__copilot.en-US.md.async.js +1 -0
- package/dist/docs/docs__templates__copilot.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__templates__copilot.zh-CN.md.async.js +1 -0
- package/dist/docs/docs__templates__copilot.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__templates__native.en-US.md.async.js +1 -0
- package/dist/docs/docs__templates__native.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__templates__native.zh-CN.md.async.js +1 -0
- package/dist/docs/docs__templates__native.zh-CN.md.chunk.css +1 -0
- package/dist/docs/docs__templates__voice.en-US.md.async.js +20 -0
- package/dist/docs/docs__templates__voice.en-US.md.chunk.css +1 -0
- package/dist/docs/docs__templates__voice.zh-CN.md.async.js +1 -0
- package/dist/docs/docs__templates__voice.zh-CN.md.chunk.css +1 -0
- package/dist/docs/dumi__pages__index__index.en-US.async.js +1 -0
- package/dist/docs/dumi__pages__index__index.en-US.chunk.css +1 -0
- package/dist/docs/dumi__pages__index__index.zh-CN.async.js +1 -0
- package/dist/docs/dumi__pages__index__index.zh-CN.chunk.css +1 -0
- package/dist/docs/dumi__theme__layouts__DocLayout__index.async.js +1 -0
- package/dist/docs/dumi__theme__layouts__DocLayout__index.chunk.css +1 -0
- package/dist/docs/dumi__theme__layouts__GlobalLayout__index.async.js +18 -0
- package/dist/docs/dumi__theme__layouts__GlobalLayout__index.chunk.css +1 -0
- package/dist/docs/dumi__tmp-production__dumi__theme__ContextWrapper.async.js +1 -0
- package/dist/docs/index/index.html +15 -0
- package/dist/docs/index-cn/index.html +15 -0
- package/dist/docs/markdown__demos.async.js +164 -0
- package/dist/docs/meta__components__en-US.async.js +9 -0
- package/dist/docs/meta__components__zh-CN.async.js +10 -0
- package/dist/docs/meta__docs__en-US.async.js +475 -0
- package/dist/docs/meta__docs__en-US.chunk.css +1 -0
- package/dist/docs/meta__docs__zh-CN.async.js +456 -0
- package/dist/docs/meta__docs__zh-CN.chunk.css +1 -0
- package/dist/docs/nm__dumi__dist__client__pages__404.async.js +1 -0
- package/dist/docs/nm__dumi__dist__client__pages__Demo__index.async.js +1 -0
- package/dist/docs/nm__dumi__dist__client__pages__Demo__index.chunk.css +1 -0
- package/dist/docs/preload_helper.js +1 -0
- package/dist/docs/sender__demos.async.js +1 -0
- package/dist/docs/umi.css +1 -0
- package/dist/docs/umi.js +107 -0
- package/dist/docs/welcome__demos.async.js +1 -0
- package/dist/docs/~demos/:id/index.html +15 -0
- package/dist/docs/~demos/accordion-demo-inline/index.html +15 -0
- package/dist/docs/~demos/accordion-demo-mutisteps/index.html +15 -0
- package/dist/docs/~demos/accordion-demo-thinking/index.html +15 -0
- package/dist/docs/~demos/attachments-demo-files/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-basic/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-havestopped/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-userwithfile/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-userwithimage/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-userwithnormal/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-withavatar/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-withcode/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-witherror/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-witherrordetail/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-withimage/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-withusage/index.html +15 -0
- package/dist/docs/~demos/bubble-demo-withwaitingmessage/index.html +15 -0
- package/dist/docs/~demos/components-bubble-list-demo-basic/index.html +15 -0
- package/dist/docs/~demos/components-footer-demo-basic/index.html +15 -0
- package/dist/docs/~demos/components-footer-demo-withusage/index.html +15 -0
- package/dist/docs/~demos/components-status-demo-basic/index.html +15 -0
- package/dist/docs/~demos/conversations-demo-basic/index.html +15 -0
- package/dist/docs/~demos/disclaimer-demo-demo/index.html +15 -0
- package/dist/docs/~demos/disclaimer-demo-withlink/index.html +15 -0
- package/dist/docs/~demos/docs-development-ag-ui-demo-with-copilotkit/index.html +15 -0
- package/dist/docs/~demos/docs-development-cards-demo-file/index.html +15 -0
- package/dist/docs/~demos/docs-development-cards-demo-footer/index.html +15 -0
- package/dist/docs/~demos/docs-development-cards-demo-image/index.html +15 -0
- package/dist/docs/~demos/docs-development-cards-demo-text/index.html +15 -0
- package/dist/docs/~demos/docs-development-custom-demo-custom/index.html +15 -0
- package/dist/docs/~demos/docs-templates-copilot-demo-copilot/index.html +15 -0
- package/dist/docs/~demos/docs-templates-native-demo-basic/index.html +15 -0
- package/dist/docs/~demos/docs-templates-voice-demo-demo/index.html +15 -0
- package/dist/docs/~demos/markdown-demo-citations/index.html +15 -0
- package/dist/docs/~demos/markdown-demo-cursor/index.html +15 -0
- package/dist/docs/~demos/markdown-demo-mathjax/index.html +15 -0
- package/dist/docs/~demos/markdown-demo-md/index.html +15 -0
- package/dist/docs/~demos/sender-demo-basic/index.html +15 -0
- package/dist/docs/~demos/sender-demo-disabled/index.html +15 -0
- package/dist/docs/~demos/sender-demo-loading/index.html +15 -0
- package/dist/docs/~demos/sender-demo-moreprefixaction/index.html +15 -0
- package/dist/docs/~demos/sender-demo-withfile/index.html +15 -0
- package/dist/docs/~demos/welcome-demo-demo0/index.html +15 -0
- package/dist/docs/~demos/welcome-demo-demo1/index.html +15 -0
- package/dist/docs/~demos/welcome-demo-demo2/index.html +15 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +20 -0
- package/dist/index.less +1 -0
- package/dist/markdown/Citation.d.ts +16 -0
- package/dist/markdown/Citation.js +55 -0
- package/dist/markdown/CodeBlock.d.ts +6 -0
- package/dist/markdown/CodeBlock.js +88 -0
- package/dist/markdown/ImageOrVideo.d.ts +2 -0
- package/dist/markdown/ImageOrVideo.js +81 -0
- package/dist/markdown/Link.d.ts +3 -0
- package/dist/markdown/Link.js +28 -0
- package/dist/markdown/Markdown.d.ts +4 -0
- package/dist/markdown/Markdown.js +121 -0
- package/dist/markdown/cursor/Blur.d.ts +3 -0
- package/dist/markdown/cursor/Blur.js +7 -0
- package/dist/markdown/cursor/Dot.d.ts +3 -0
- package/dist/markdown/cursor/Dot.js +16 -0
- package/dist/markdown/cursor/Underline.d.ts +3 -0
- package/dist/markdown/cursor/Underline.js +7 -0
- package/dist/markdown/cursor/index.less +124 -0
- package/dist/markdown/hooks/index.d.ts +1 -0
- package/dist/markdown/hooks/index.js +49 -0
- package/dist/markdown/hooks/useTypedEffect.d.ts +6 -0
- package/dist/markdown/hooks/useTypedEffect.js +56 -0
- package/dist/markdown/index.d.ts +16 -0
- package/dist/markdown/index.js +37 -0
- package/dist/markdown/index.less +204 -0
- package/dist/markdown/plugins/footnote.d.ts +2 -0
- package/dist/markdown/plugins/footnote.js +89 -0
- package/dist/markdown/plugins/katexDir.d.ts +1 -0
- package/dist/markdown/plugins/katexDir.js +15 -0
- package/dist/markdown/rehype/fadeIn.d.ts +2 -0
- package/dist/markdown/rehype/fadeIn.js +43 -0
- package/dist/markdown/type.d.ts +46 -0
- package/dist/markdown/type.js +1 -0
- package/dist/markdown/utils.d.ts +22 -0
- package/dist/markdown/utils.js +125 -0
- package/dist/provider/CustomCardsProvider.d.ts +15 -0
- package/dist/provider/CustomCardsProvider.js +18 -0
- package/dist/provider/GlobalProvider.d.ts +5 -0
- package/dist/provider/GlobalProvider.js +11 -0
- package/dist/provider/index.d.ts +8 -0
- package/dist/provider/index.js +20 -0
- package/dist/provider/types.d.ts +8 -0
- package/dist/provider/types.js +1 -0
- package/dist/sender/SenderHeader.d.ts +19 -0
- package/dist/sender/SenderHeader.js +79 -0
- package/dist/sender/StopLoading.d.ts +5 -0
- package/dist/sender/StopLoading.js +20 -0
- package/dist/sender/components/ActionButton.d.ts +22 -0
- package/dist/sender/components/ActionButton.js +39 -0
- package/dist/sender/components/ClearButton.d.ts +4 -0
- package/dist/sender/components/ClearButton.js +13 -0
- package/dist/sender/components/LoadingButton.d.ts +4 -0
- package/dist/sender/components/LoadingButton.js +22 -0
- package/dist/sender/components/SendButton.d.ts +4 -0
- package/dist/sender/components/SendButton.js +14 -0
- package/dist/sender/components/SpeechButton/RecordingIcon.d.ts +5 -0
- package/dist/sender/components/SpeechButton/RecordingIcon.js +49 -0
- package/dist/sender/components/SpeechButton/index.d.ts +4 -0
- package/dist/sender/components/SpeechButton/index.js +30 -0
- package/dist/sender/index.d.ts +61 -0
- package/dist/sender/index.js +307 -0
- package/dist/sender/style/header.d.ts +4 -0
- package/dist/sender/style/header.js +46 -0
- package/dist/sender/style/index.d.ts +10 -0
- package/dist/sender/style/index.js +123 -0
- package/dist/sender/useSpeech.d.ts +6 -0
- package/dist/sender/useSpeech.js +114 -0
- package/dist/stream/index.d.ts +34 -0
- package/dist/stream/index.en-US.md.bk +50 -0
- package/dist/stream/index.js +197 -0
- package/dist/stream/index.zh-CN.md.bk +51 -0
- package/dist/theme/components.d.ts +10 -0
- package/dist/theme/components.js +1 -0
- package/dist/theme/cssinjs-utils.d.ts +14 -0
- package/dist/theme/cssinjs-utils.js +1 -0
- package/dist/theme/genStyleUtils.d.ts +28 -0
- package/dist/theme/genStyleUtils.js +49 -0
- package/dist/theme/useToken.d.ts +18 -0
- package/dist/theme/useToken.js +110 -0
- package/dist/version/index.d.ts +2 -0
- package/dist/version/index.js +2 -0
- package/dist/voice-chat/Recorder/index.d.ts +26 -0
- package/dist/voice-chat/Recorder/index.js +168 -0
- package/dist/voice-chat/VoiceChatProvider/context.d.ts +22 -0
- package/dist/voice-chat/VoiceChatProvider/context.js +3 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useChatState.d.ts +1 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useChatState.js +5 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useMessages.d.ts +8 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useMessages.js +31 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useRecorder.d.ts +5 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useRecorder.js +48 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useVoiceChat.d.ts +4 -0
- package/dist/voice-chat/VoiceChatProvider/hooks/useVoiceChat.js +10 -0
- package/dist/voice-chat/VoiceChatProvider/index.d.ts +9 -0
- package/dist/voice-chat/VoiceChatProvider/index.js +55 -0
- package/dist/voice-chat/VoiceChatService/index.d.ts +34 -0
- package/dist/voice-chat/VoiceChatService/index.js +209 -0
- package/dist/voice-chat/index.d.ts +2 -0
- package/dist/voice-chat/index.js +2 -0
- package/dist/voice-chat/types/index.d.ts +12 -0
- package/dist/voice-chat/types/index.js +4 -0
- package/dist/welcome/icon.d.ts +2 -0
- package/dist/welcome/icon.js +38 -0
- package/dist/welcome/index.d.ts +9 -0
- package/dist/welcome/index.js +57 -0
- package/package.json +117 -0
|
@@ -0,0 +1,1381 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[4820],{26791:function(e,n){n.Z=`import React from 'react';
|
|
2
|
+
import { Accordion, Provider, DeepThink } from '@ali/spark-chat';
|
|
3
|
+
import { AndroidOutlined, PieChartOutlined } from '@ant-design/icons';
|
|
4
|
+
import { Typography } from 'antd'
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
const App = () => <>
|
|
8
|
+
|
|
9
|
+
<Accordion
|
|
10
|
+
icon={<PieChartOutlined />}
|
|
11
|
+
title="title"
|
|
12
|
+
inline
|
|
13
|
+
>
|
|
14
|
+
some content
|
|
15
|
+
</Accordion>
|
|
16
|
+
|
|
17
|
+
</>;
|
|
18
|
+
|
|
19
|
+
export default App;
|
|
20
|
+
`},5801:function(e,n){n.Z=`import React from 'react';
|
|
21
|
+
import { Accordion, Provider, DeepThink } from '@ali/spark-chat';
|
|
22
|
+
import { AndroidOutlined, ClockCircleOutlined } from '@ant-design/icons';
|
|
23
|
+
import { Typography } from 'antd'
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
const App = () => <>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<Accordion
|
|
30
|
+
title="\u6267\u884C\u4E2D..."
|
|
31
|
+
status="generating"
|
|
32
|
+
defaultOpen
|
|
33
|
+
steps={[{
|
|
34
|
+
icon: <ClockCircleOutlined />,
|
|
35
|
+
title: 'step1',
|
|
36
|
+
children: <Accordion.BodyContent headerLeft="headerLeft">
|
|
37
|
+
<Typography style={{ padding: 12 }}>
|
|
38
|
+
<Typography.Paragraph>Aliyun Bailianis a product offered by Alibaba Cloud, which is the cloud computing arm of Alibaba Group. Bailian is a high-performance AI development platform designed to help users build, deploy, and manage machine learning models and AI applications more efficiently.</Typography.Paragraph>
|
|
39
|
+
<ol>
|
|
40
|
+
<li>Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI</li>
|
|
41
|
+
<li>Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI</li>
|
|
42
|
+
</ol>
|
|
43
|
+
</Typography>
|
|
44
|
+
</Accordion.BodyContent>,
|
|
45
|
+
rightChildren: <a>rightChildren</a>
|
|
46
|
+
}
|
|
47
|
+
, {
|
|
48
|
+
defaultOpen: true,
|
|
49
|
+
icon: <ClockCircleOutlined />,
|
|
50
|
+
title: 'step1',
|
|
51
|
+
children: <Accordion.BodyContent headerLeft="headerLeft" headerRight="headerRight">
|
|
52
|
+
<Typography style={{ padding: 12 }}>
|
|
53
|
+
<Typography.Paragraph>Aliyun Bailianis a product offered by Alibaba Cloud, which is the cloud computing arm of Alibaba Group. Bailian is a high-performance AI development platform designed to help users build, deploy, and manage machine learning models and AI applications more efficiently.</Typography.Paragraph>
|
|
54
|
+
<ol>
|
|
55
|
+
<li>Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI</li>
|
|
56
|
+
<li>Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI</li>
|
|
57
|
+
</ol>
|
|
58
|
+
</Typography>
|
|
59
|
+
</Accordion.BodyContent>,
|
|
60
|
+
}
|
|
61
|
+
]}
|
|
62
|
+
>
|
|
63
|
+
</Accordion>
|
|
64
|
+
</>;
|
|
65
|
+
|
|
66
|
+
export default App;
|
|
67
|
+
`},77601:function(e,n){n.Z=`import React from 'react';
|
|
68
|
+
import { Accordion, Provider, DeepThink } from '@ali/spark-chat';
|
|
69
|
+
import { AndroidOutlined, PieChartOutlined } from '@ant-design/icons';
|
|
70
|
+
import { Flex, Typography } from 'antd'
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
const App = () => <>
|
|
74
|
+
<Flex gap={16} vertical>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
<DeepThink
|
|
79
|
+
loading={true}
|
|
80
|
+
content='\u4F60\u597D\uFF0C\u6211\u662FAI\u667A\u80FD\u52A9\u624B\uFF0C\u4F60\u53EF\u4EE5\u5411\u6211\u63D0\u95EE\u4EFB\u4F55\u95EE\u9898\uFF0C\u6BD4\u5982\uFF1A'
|
|
81
|
+
/>
|
|
82
|
+
|
|
83
|
+
<DeepThink
|
|
84
|
+
defaultOpen
|
|
85
|
+
loading={false}
|
|
86
|
+
content={\`Okay, the user is asking about "citypop." Let me start by recalling what I know about that term. I remember that City Pop is a genre of music, but I need to make sure I'm accurate.
|
|
87
|
+
|
|
88
|
+
First, when did City Pop originate? I think it was in Japan during the late 1970s and 1980s. That makes sense because Japan's economy was booming then, leading to a vibrant urban culture. The genre probably blends Western styles like funk, jazz, and disco with Japanese pop elements. Artists like Tatsuro Yamashita and Mariya Takeuchi come to mind. Oh, and there's that song "Plastic Love" by Mariya Takeuchi that went viral online recently, which might have sparked renewed interest.
|
|
89
|
+
|
|
90
|
+
I should also mention the themes of City Pop songs\u2014they often reflect city life, romance, and leisure, fitting the upbeat and cosmopolitan vibe of the time. The visual style associated with it includes retro anime and vibrant cityscapes, which adds to its aesthetic appeal. It's interesting how the internet, especially platforms like YouTube and Spotify, helped revive this genre internationally. Maybe I should note that connection between modern digital culture and the resurgence of City Pop.
|
|
91
|
+
|
|
92
|
+
Wait, are there any subgenres or key characteristics I should highlight? The use of synthesizers, smooth vocals, and lush production are typical. Also, City Pop was influenced by yacht rock and soft rock from the West. It's important to link it to Japan's economic bubble era, as that context explains the music's optimistic and luxurious feel.
|
|
93
|
+
|
|
94
|
+
I need to ensure I don't confuse it with other Japanese genres like J-pop or Enka. City Pop is distinct in its fusion with Western sounds. Including notable albums, like Tatsuro Yamashita's "For You" or Anri's "Timely!!", could be helpful. Oh, and the connection to future funk and vaporwave genres that sample City Pop tracks is a good point for its modern influence.\`}
|
|
95
|
+
/>
|
|
96
|
+
</Flex>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
</>;
|
|
100
|
+
|
|
101
|
+
export default App;
|
|
102
|
+
`},75067:function(e,n){n.Z=`import { Attachments } from '@ali/spark-chat';
|
|
103
|
+
import { App, Flex } from 'antd';
|
|
104
|
+
import React from 'react';
|
|
105
|
+
|
|
106
|
+
const Demo = () => {
|
|
107
|
+
const filesList = [
|
|
108
|
+
{
|
|
109
|
+
uid: '1',
|
|
110
|
+
name: 'excel-file.xlsx',
|
|
111
|
+
size: 111111,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
uid: '2',
|
|
115
|
+
name: 'word-file.docx',
|
|
116
|
+
size: 222222,
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
uid: '3',
|
|
120
|
+
name: 'image-file.png',
|
|
121
|
+
size: 333333,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
uid: '4',
|
|
125
|
+
name: 'pdf-file.pdf',
|
|
126
|
+
size: 444444,
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
uid: '5',
|
|
130
|
+
name: 'ppt-file.pptx',
|
|
131
|
+
size: 555555,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
uid: '6',
|
|
135
|
+
name: 'video-file.mp4',
|
|
136
|
+
size: 666666,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
uid: '7',
|
|
140
|
+
name: 'audio-file.mp3',
|
|
141
|
+
size: 777777,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
uid: '8',
|
|
145
|
+
name: 'zip-file.zip',
|
|
146
|
+
size: 888888,
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
uid: '9',
|
|
150
|
+
name: 'markdown-file.md',
|
|
151
|
+
size: 999999,
|
|
152
|
+
description: 'Custom description here',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
uid: '10',
|
|
156
|
+
name: 'image-file.png',
|
|
157
|
+
thumbUrl: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png',
|
|
158
|
+
url: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png',
|
|
159
|
+
size: 123456,
|
|
160
|
+
},
|
|
161
|
+
];
|
|
162
|
+
|
|
163
|
+
return (
|
|
164
|
+
<Flex gap="middle" wrap>
|
|
165
|
+
{filesList.map((file, index) => (
|
|
166
|
+
<Attachments.FileCard key={index} item={file} />
|
|
167
|
+
))}
|
|
168
|
+
</Flex>
|
|
169
|
+
);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
export default () => <Demo />;
|
|
173
|
+
`},6818:function(e,n){n.Z=`import React, { useCallback, useRef, useState } from 'react';
|
|
174
|
+
import { Bubble, Sender, TMessage } from '@ali/spark-chat';
|
|
175
|
+
|
|
176
|
+
const defaultMessages = [
|
|
177
|
+
{
|
|
178
|
+
role: 'user',
|
|
179
|
+
content: '\u4F60\u662F\u8C01',
|
|
180
|
+
id: '1',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
role: 'assistant',
|
|
184
|
+
content: '\u6211\u662F\u901A\u4E49\u5343\u95EE\uFF0C\u963F\u91CC\u5DF4\u5DF4\u96C6\u56E2\u65D7\u4E0B\u7684\u8D85\u5927\u89C4\u6A21\u8BED\u8A00\u6A21\u578B\u3002\u6211\u7684\u4E2D\u6587\u540D\u662F\u901A\u4E49\u5343\u95EE\uFF0C\u82F1\u6587\u540D\u662FQwen\u3002\u6211\u80FD\u591F\u5E2E\u52A9\u60A8\u56DE\u7B54\u95EE\u9898\u3001\u64B0\u5199\u6587\u7AE0\u3001\u7F16\u5199\u4EE3\u7801\u3001\u8FDB\u884C\u903B\u8F91\u63A8\u7406\u3001\u8868\u8FBE\u89C2\u70B9\u3001\u73A9\u6E38\u620F\u7B49\u3002\u5982\u679C\u60A8\u6709\u4EFB\u4F55\u95EE\u9898\u6216\u9700\u8981\u5E2E\u52A9\uFF0C\u6B22\u8FCE\u968F\u65F6\u544A\u8BC9\u6211\uFF01',
|
|
185
|
+
id: '2',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
role: 'user',
|
|
189
|
+
content: 'what is citypop',
|
|
190
|
+
id: '3',
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
role: 'assistant',
|
|
194
|
+
content: \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
195
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
196
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
197
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`,
|
|
198
|
+
id: '4',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
role: 'user',
|
|
202
|
+
content: '\u4F60\u662F\u8C01',
|
|
203
|
+
id: '5',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
role: 'assistant',
|
|
207
|
+
content: '\u6211\u662F\u901A\u4E49\u5343\u95EE\uFF08Qwen\uFF09\uFF0C\u963F\u91CC\u5DF4\u5DF4\u96C6\u56E2\u65D7\u4E0B\u7684\u8D85\u5927\u89C4\u6A21\u8BED\u8A00\u6A21\u578B\u3002\u6211\u7684\u4E2D\u6587\u540D\u662F\u901A\u4E49\u5343\u95EE\uFF0C\u82F1\u6587\u540D\u662FQwen\u3002\u6211\u80FD\u591F\u5E2E\u52A9\u60A8\u56DE\u7B54\u95EE\u9898\u3001\u64B0\u5199\u6587\u7AE0\u3001\u7F16\u5199\u4EE3\u7801\u3001\u8FDB\u884C\u903B\u8F91\u63A8\u7406\u3001\u8868\u8FBE\u89C2\u70B9\u3001\u73A9\u6E38\u620F\u7B49\u3002\u5982\u679C\u60A8\u6709\u4EFB\u4F55\u95EE\u9898\u6216\u9700\u8981\u5E2E\u52A9\uFF0C\u6B22\u8FCE\u968F\u65F6\u544A\u8BC9\u6211\uFF01',
|
|
208
|
+
id: '6',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
role: 'user',
|
|
212
|
+
content: 'what is citypop',
|
|
213
|
+
id: '7',
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
role: 'assistant',
|
|
217
|
+
content: \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
218
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
219
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
220
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`,
|
|
221
|
+
id: '8',
|
|
222
|
+
},
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
export default function () {
|
|
226
|
+
const ref = useRef<{ scrollToBottom: () => void }>();
|
|
227
|
+
// @ts-ignore
|
|
228
|
+
const [messages, setMessages] = useState<TMessage[]>(defaultMessages);
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
return <div style={{ display: 'flex', flexDirection: 'column', height: '100vh' }}>
|
|
232
|
+
<Bubble.List
|
|
233
|
+
style={{ height: 0, flex: 1 }}
|
|
234
|
+
// @ts-ignore
|
|
235
|
+
ref={ref}
|
|
236
|
+
items={messages}
|
|
237
|
+
/>
|
|
238
|
+
<Sender></Sender>
|
|
239
|
+
</div>
|
|
240
|
+
}`},47319:function(e,n){n.Z=`import React from 'react';
|
|
241
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
242
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
243
|
+
import { Flex } from 'antd';
|
|
244
|
+
|
|
245
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
246
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
247
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
248
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
249
|
+
const App = () => <Flex gap={16} vertical>
|
|
250
|
+
|
|
251
|
+
<Bubble cards={[
|
|
252
|
+
{
|
|
253
|
+
code: 'Text',
|
|
254
|
+
data: {
|
|
255
|
+
content,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
code: 'Footer',
|
|
260
|
+
data: {
|
|
261
|
+
left: <DefaultCards.FooterActions data={[
|
|
262
|
+
|
|
263
|
+
{
|
|
264
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
{
|
|
277
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
]} />,
|
|
281
|
+
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
]} />
|
|
285
|
+
|
|
286
|
+
</Flex>;
|
|
287
|
+
|
|
288
|
+
export default App;
|
|
289
|
+
`},71832:function(e,n){n.Z=`import React from 'react';
|
|
290
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
291
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
292
|
+
|
|
293
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
294
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
295
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
296
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
297
|
+
const App = () => <Bubble cards={[
|
|
298
|
+
{
|
|
299
|
+
code: 'Text',
|
|
300
|
+
data: {
|
|
301
|
+
content
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
code: 'Interrupted',
|
|
306
|
+
data: {
|
|
307
|
+
title: 'Answers have stopped',
|
|
308
|
+
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
code: 'Footer',
|
|
313
|
+
data: {
|
|
314
|
+
left: <DefaultCards.FooterActions data={[
|
|
315
|
+
|
|
316
|
+
{
|
|
317
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
|
|
329
|
+
{
|
|
330
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
]} />,
|
|
334
|
+
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
]} />;
|
|
338
|
+
|
|
339
|
+
export default App;
|
|
340
|
+
`},3627:function(e,n){n.Z=`import { Bubble } from '@ali/spark-chat';
|
|
341
|
+
import { Flex } from 'antd';
|
|
342
|
+
import React from 'react';
|
|
343
|
+
|
|
344
|
+
export default function () {
|
|
345
|
+
return <Flex vertical >
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
<Bubble placement="user"
|
|
349
|
+
|
|
350
|
+
cards={[
|
|
351
|
+
{
|
|
352
|
+
code: 'Text',
|
|
353
|
+
data: {
|
|
354
|
+
content: 'what is citypop'
|
|
355
|
+
},
|
|
356
|
+
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
code: 'Files',
|
|
360
|
+
data: [
|
|
361
|
+
{ filename: 'citypop.pdf', bytes: 1024 },
|
|
362
|
+
{ filename: 'citypop.pdf', bytes: 2048 },
|
|
363
|
+
],
|
|
364
|
+
},
|
|
365
|
+
]} />
|
|
366
|
+
|
|
367
|
+
</Flex>
|
|
368
|
+
}`},32731:function(e,n){n.Z=`import { Bubble } from '@ali/spark-chat';
|
|
369
|
+
import { Flex } from 'antd';
|
|
370
|
+
import React from 'react';
|
|
371
|
+
|
|
372
|
+
export default function () {
|
|
373
|
+
return <Flex vertical gap={16}>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
<Bubble placement="user"
|
|
377
|
+
cards={[
|
|
378
|
+
{
|
|
379
|
+
code: 'Text',
|
|
380
|
+
data: {
|
|
381
|
+
content: 'what is citypop'
|
|
382
|
+
},
|
|
383
|
+
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
code: 'Images',
|
|
387
|
+
data: [
|
|
388
|
+
{ url: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png', },
|
|
389
|
+
],
|
|
390
|
+
}
|
|
391
|
+
]} />
|
|
392
|
+
|
|
393
|
+
<Bubble placement="user"
|
|
394
|
+
content="what is citypop"
|
|
395
|
+
cards={[
|
|
396
|
+
|
|
397
|
+
{
|
|
398
|
+
code: 'Images',
|
|
399
|
+
data: [
|
|
400
|
+
{ url: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png', },
|
|
401
|
+
{ url: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png', },
|
|
402
|
+
{ url: 'https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png', },
|
|
403
|
+
],
|
|
404
|
+
}
|
|
405
|
+
]} />
|
|
406
|
+
|
|
407
|
+
</Flex>
|
|
408
|
+
}`},75926:function(e,n){n.Z=`import { Bubble } from '@ali/spark-chat';
|
|
409
|
+
import { Flex, Space } from 'antd';
|
|
410
|
+
import React from 'react';
|
|
411
|
+
|
|
412
|
+
export default function () {
|
|
413
|
+
return <Space direction="vertical" >
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
<Bubble placement="user"
|
|
417
|
+
cards={[
|
|
418
|
+
{
|
|
419
|
+
code: 'Text',
|
|
420
|
+
data: {
|
|
421
|
+
content: 'what is citypop'
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
|
|
425
|
+
]} />
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
<Bubble placement="user"
|
|
429
|
+
cards={[
|
|
430
|
+
{
|
|
431
|
+
code: 'Text',
|
|
432
|
+
data: {
|
|
433
|
+
content: \`**city pop**, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
434
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
435
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
436
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
437
|
+
},
|
|
438
|
+
},
|
|
439
|
+
|
|
440
|
+
]} />
|
|
441
|
+
|
|
442
|
+
<Bubble placement="user"
|
|
443
|
+
cards={[
|
|
444
|
+
{
|
|
445
|
+
code: 'Text',
|
|
446
|
+
data: {
|
|
447
|
+
raw: true,
|
|
448
|
+
content: \`**city pop**, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
449
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
450
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
451
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
|
|
455
|
+
]} />
|
|
456
|
+
</Space>
|
|
457
|
+
}`},16686:function(e,n){n.Z=`import React from 'react';
|
|
458
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
459
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
460
|
+
import { Flex, message } from 'antd';
|
|
461
|
+
|
|
462
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
463
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
464
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
465
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
466
|
+
const App = () => <Flex gap={16} vertical>
|
|
467
|
+
|
|
468
|
+
<Bubble
|
|
469
|
+
placement='user'
|
|
470
|
+
avatar={{
|
|
471
|
+
src: 'https://img.alicdn.com/imgextra/i1/O1CN01wor5IO1TVIRQ4iKbv_!!6000000002387-2-tps-112-112.png'
|
|
472
|
+
}}
|
|
473
|
+
|
|
474
|
+
cards={[
|
|
475
|
+
{
|
|
476
|
+
code: 'Text',
|
|
477
|
+
data: {
|
|
478
|
+
content: 'what is citypop',
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
|
|
482
|
+
]} />
|
|
483
|
+
|
|
484
|
+
<Bubble
|
|
485
|
+
avatar={{
|
|
486
|
+
src: 'https://img.alicdn.com/imgextra/i1/O1CN01wor5IO1TVIRQ4iKbv_!!6000000002387-2-tps-112-112.png'
|
|
487
|
+
}}
|
|
488
|
+
|
|
489
|
+
cards={[
|
|
490
|
+
{
|
|
491
|
+
code: 'Text',
|
|
492
|
+
data: {
|
|
493
|
+
content,
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
code: 'Footer',
|
|
498
|
+
data: {
|
|
499
|
+
left: <DefaultCards.FooterActions data={[
|
|
500
|
+
|
|
501
|
+
{
|
|
502
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
|
|
514
|
+
{
|
|
515
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
]} />,
|
|
519
|
+
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
]} />
|
|
523
|
+
|
|
524
|
+
</Flex>;
|
|
525
|
+
|
|
526
|
+
export default App;
|
|
527
|
+
`},19354:function(e,n){n.Z=`import React from 'react';
|
|
528
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
529
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
530
|
+
|
|
531
|
+
const content = \`city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
532
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
533
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.
|
|
534
|
+
\\\`\\\`\\\`javascript
|
|
535
|
+
function bubbleSort(arr) {
|
|
536
|
+
const n = arr.length;
|
|
537
|
+
for (let i = 0; i < n - 1; i++) {
|
|
538
|
+
for (let j = 0; j < n - i - 1; j++) {
|
|
539
|
+
if (arr[j] > arr[j + 1]) {
|
|
540
|
+
[arr[j], arr[j + 1]] = [arr[j + 1], arr[j]];
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
return arr;
|
|
545
|
+
}
|
|
546
|
+
\\\`\\\`\\\`
|
|
547
|
+
city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.\`
|
|
548
|
+
const App = () => <Bubble cards={[
|
|
549
|
+
{
|
|
550
|
+
code: 'Text',
|
|
551
|
+
data: {
|
|
552
|
+
content
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
code: 'Footer',
|
|
557
|
+
data: {
|
|
558
|
+
left: <DefaultCards.FooterActions data={[
|
|
559
|
+
|
|
560
|
+
{
|
|
561
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
|
|
573
|
+
{
|
|
574
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
]} />,
|
|
578
|
+
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
]} />;
|
|
582
|
+
|
|
583
|
+
export default App;
|
|
584
|
+
`},70610:function(e,n){n.Z=`import React from 'react';
|
|
585
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
586
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
587
|
+
|
|
588
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
589
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
590
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
591
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
592
|
+
const App = () => <Bubble cards={[
|
|
593
|
+
{
|
|
594
|
+
code: 'Text',
|
|
595
|
+
data: {
|
|
596
|
+
content
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
code: 'Interrupted',
|
|
601
|
+
data: {
|
|
602
|
+
type: 'error',
|
|
603
|
+
title: 'Network error',
|
|
604
|
+
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
code: 'Footer',
|
|
609
|
+
data: {
|
|
610
|
+
left: <DefaultCards.FooterActions data={[
|
|
611
|
+
|
|
612
|
+
{
|
|
613
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
|
|
625
|
+
{
|
|
626
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
]} />,
|
|
630
|
+
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
]} />;
|
|
634
|
+
|
|
635
|
+
export default App;
|
|
636
|
+
`},38296:function(e,n){n.Z=`import React from 'react';
|
|
637
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
638
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
639
|
+
|
|
640
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
641
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
642
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
643
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
644
|
+
const App = () => <Bubble cards={[
|
|
645
|
+
{
|
|
646
|
+
code: 'Text',
|
|
647
|
+
data: {
|
|
648
|
+
content
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
code: 'Interrupted',
|
|
653
|
+
data: {
|
|
654
|
+
type: 'error',
|
|
655
|
+
title: 'Network error',
|
|
656
|
+
desc: 'This is a description this is a description this is a description this is a description',
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
code: 'Footer',
|
|
661
|
+
data: {
|
|
662
|
+
left: <DefaultCards.FooterActions data={[
|
|
663
|
+
|
|
664
|
+
{
|
|
665
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
|
|
677
|
+
{
|
|
678
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
]} />,
|
|
682
|
+
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
]} />;
|
|
686
|
+
|
|
687
|
+
export default App;
|
|
688
|
+
`},49931:function(e,n){n.Z=`import React from 'react';
|
|
689
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
690
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
691
|
+
|
|
692
|
+
const content = \`city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
693
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
694
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.
|
|
695
|
+
|
|
696
|
+

|
|
697
|
+
|
|
698
|
+
city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.\`
|
|
699
|
+
const App = () => <Bubble cards={[
|
|
700
|
+
{
|
|
701
|
+
code: 'Text',
|
|
702
|
+
data: {
|
|
703
|
+
content
|
|
704
|
+
},
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
code: 'Footer',
|
|
708
|
+
data: {
|
|
709
|
+
left: <DefaultCards.FooterActions data={[
|
|
710
|
+
|
|
711
|
+
{
|
|
712
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
|
|
724
|
+
{
|
|
725
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
]} />,
|
|
729
|
+
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
]} />;
|
|
733
|
+
|
|
734
|
+
export default App;
|
|
735
|
+
`},56552:function(e,n){n.Z=`import React from 'react';
|
|
736
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
737
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
738
|
+
|
|
739
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
740
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
741
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
742
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
743
|
+
const App = () => <Bubble cards={[
|
|
744
|
+
{
|
|
745
|
+
code: 'Text',
|
|
746
|
+
data: {
|
|
747
|
+
content
|
|
748
|
+
},
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
code: 'Footer',
|
|
752
|
+
data: {
|
|
753
|
+
left: <DefaultCards.FooterActions data={[
|
|
754
|
+
|
|
755
|
+
{
|
|
756
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
|
|
768
|
+
{
|
|
769
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
]} />,
|
|
773
|
+
right: <DefaultCards.FooterCount data={[
|
|
774
|
+
['Words', 99],
|
|
775
|
+
['Input tokens', 200],
|
|
776
|
+
['Output tokens', 300],
|
|
777
|
+
]} />
|
|
778
|
+
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
]} />;
|
|
782
|
+
|
|
783
|
+
export default App;
|
|
784
|
+
`},14652:function(e,n){n.Z=`import React from 'react';
|
|
785
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
786
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
787
|
+
import { Flex, message } from 'antd';
|
|
788
|
+
import { useTypedEffect } from '@ali/spark-chat';
|
|
789
|
+
|
|
790
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
791
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
792
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
793
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
794
|
+
const App = () => {
|
|
795
|
+
|
|
796
|
+
const data = useTypedEffect(content, true);
|
|
797
|
+
|
|
798
|
+
return <Flex gap={16} vertical>
|
|
799
|
+
<Bubble msgStatus="generating" />
|
|
800
|
+
|
|
801
|
+
<Bubble msgStatus="generating" cards={[
|
|
802
|
+
{
|
|
803
|
+
code: 'Text',
|
|
804
|
+
data: {
|
|
805
|
+
content: data[0],
|
|
806
|
+
msgStatus: "generating"
|
|
807
|
+
},
|
|
808
|
+
}
|
|
809
|
+
]} />
|
|
810
|
+
|
|
811
|
+
</Flex>
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
export default App;
|
|
815
|
+
`},95841:function(e,n){n.Z=`import { Conversations } from '@ali/spark-chat';
|
|
816
|
+
import { DeleteOutlined } from '@ant-design/icons';
|
|
817
|
+
import React from 'react';
|
|
818
|
+
|
|
819
|
+
const items = Array.from({ length: 4 }).map((_, index) => ({
|
|
820
|
+
key: \`item\${index + 1}\`,
|
|
821
|
+
label: \`Conversation Item \${index + 1}\`,
|
|
822
|
+
disabled: index === 3,
|
|
823
|
+
}));
|
|
824
|
+
|
|
825
|
+
export default () => {
|
|
826
|
+
|
|
827
|
+
// Customize the style of the container
|
|
828
|
+
const style = {
|
|
829
|
+
width: 256,
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
return <Conversations
|
|
833
|
+
menu={(session) => ({
|
|
834
|
+
items: [
|
|
835
|
+
{
|
|
836
|
+
label: '\u5220\u9664',
|
|
837
|
+
key: 'delete',
|
|
838
|
+
icon: <DeleteOutlined />,
|
|
839
|
+
danger: true,
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
onClick: (e) => {
|
|
843
|
+
e.domEvent.stopPropagation();
|
|
844
|
+
},
|
|
845
|
+
})}
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
items={items} defaultActiveKey="item1" style={style} />;
|
|
849
|
+
};`},19480:function(e,n){n.Z=`import React from 'react';
|
|
850
|
+
import { Disclaimer } from '@ali/spark-chat';
|
|
851
|
+
|
|
852
|
+
export default () => <Disclaimer />;`},39688:function(e,n){n.Z=`import React from 'react';
|
|
853
|
+
import { Disclaimer } from '@ali/spark-chat';
|
|
854
|
+
|
|
855
|
+
export default () => <Disclaimer afterLink={{ text: 'See More', href: 'https://www.aliyun.com'}}/>;`},65299:function(e,n){n.Z=`import React from 'react';
|
|
856
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
857
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
858
|
+
|
|
859
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
860
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
861
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
862
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
863
|
+
const App = () => <Bubble cards={[
|
|
864
|
+
{
|
|
865
|
+
code: 'Text',
|
|
866
|
+
data: {
|
|
867
|
+
content
|
|
868
|
+
},
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
code: 'Footer',
|
|
872
|
+
data: {
|
|
873
|
+
left: <DefaultCards.FooterActions data={[
|
|
874
|
+
|
|
875
|
+
{
|
|
876
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
|
|
888
|
+
{
|
|
889
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
]} />,
|
|
893
|
+
right: <DefaultCards.FooterCount data={[
|
|
894
|
+
['Words', 99],
|
|
895
|
+
['Input tokens', 200],
|
|
896
|
+
['Output tokens', 300],
|
|
897
|
+
]} />
|
|
898
|
+
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
]} />;
|
|
902
|
+
|
|
903
|
+
export default App;
|
|
904
|
+
`},56150:function(e,n){n.Z=`import React from 'react';
|
|
905
|
+
import { Bubble, DefaultCards } from '@ali/spark-chat';
|
|
906
|
+
import { CopyOutlined, DislikeOutlined, LikeOutlined, RedoOutlined } from '@ant-design/icons';
|
|
907
|
+
|
|
908
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
909
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
910
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
911
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
912
|
+
const App = () => <Bubble cards={[
|
|
913
|
+
{
|
|
914
|
+
code: 'Text',
|
|
915
|
+
data: {
|
|
916
|
+
content
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
code: 'Footer',
|
|
921
|
+
data: {
|
|
922
|
+
left: <DefaultCards.FooterActions data={[
|
|
923
|
+
|
|
924
|
+
{
|
|
925
|
+
icon: <CopyOutlined />, onClick: () => {
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
icon: <LikeOutlined />, onClick: () => {
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
icon: <DislikeOutlined />, onClick: () => {
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
|
|
937
|
+
{
|
|
938
|
+
icon: <RedoOutlined />, onClick: () => {
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
]} />,
|
|
942
|
+
right: <DefaultCards.FooterCount data={[
|
|
943
|
+
['Words', 99],
|
|
944
|
+
['Input tokens', 200],
|
|
945
|
+
['Output tokens', 300],
|
|
946
|
+
]} />
|
|
947
|
+
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
]} />;
|
|
951
|
+
|
|
952
|
+
export default App;
|
|
953
|
+
`},50772:function(e,n){n.Z=`import React from 'react';
|
|
954
|
+
import { Markdown } from '@ali/spark-chat';
|
|
955
|
+
|
|
956
|
+
const content = \`\u676D\u5DDE\u4ECA\u5929\u548C\u672A\u6765\u51E0\u5929\u7684\u5929\u6C14\u9884\u62A5\u5982\u4E0B\uFF1A
|
|
957
|
+
|
|
958
|
+
\u4ECA\u5929\uFF082\u670818\u65E5\uFF09\u591A\u4E91\uFF0C\u6C14\u6E29\u57284-12\u2103\u4E4B\u95F4[two][3]\u3002\u767D\u5929\u591A\u4E91\uFF0C\u591C\u95F4\u8F6C\u9634[7]\u3002\u98CE\u529B\u8F83\u5927\uFF0C\u4E0A\u5348\u4E3A\u504F\u4E1C\u98CE2-3\u7EA7\uFF0C\u508D\u665A\u589E\u5927\u52304\u7EA7[7]\u3002
|
|
959
|
+
|
|
960
|
+
\u672A\u6765\u51E0\u5929\u5929\u6C14\u6982\u51B5\uFF1A
|
|
961
|
+
- 2\u670819\u65E5\uFF08\u660E\u5929\uFF09\uFF1A\u9634\u5929\uFF0C\u6709\u5C0F\u96E8\uFF0C\u6C14\u6E2911\u2103\u5DE6\u53F3[3][7]
|
|
962
|
+
- 2\u670820\u65E5\uFF1A\u9634\u5929\uFF0C\u5C0F\u5230\u4E2D\u96E8\uFF0C\u6C14\u6E297\u2103\u5DE6\u53F3[3][7]
|
|
963
|
+
- 2\u670821\u65E5\uFF1A\u591A\u4E91\uFF0C\u6C14\u6E297\u2103\u5DE6\u53F3[3]
|
|
964
|
+
- 2\u670822\u65E5\uFF1A\u5C0F\u96E8\uFF0C\u6C14\u6E297\u2103\u5DE6\u53F3[3]
|
|
965
|
+
|
|
966
|
+
\u603B\u4F53\u6765\u770B\uFF0C\u672A\u6765\u51E0\u5929\u676D\u5DDE\u5929\u6C14\u8F83\u51C9\uFF0C\u4EE5\u9634\u5929\u548C\u96E8\u5929\u4E3A\u4E3B\uFF0C\u6C14\u6E29\u57287-11\u2103\u4E4B\u95F4\u6CE2\u52A8\u3002\u5EFA\u8BAE\u5E02\u6C11\u9002\u5F53\u589E\u6DFB\u8863\u7269\uFF0C\u6CE8\u610F\u4FDD\u6696\uFF0C\u5916\u51FA\u65F6\u643A\u5E26\u96E8\u5177[2][3][7]\u3002
|
|
967
|
+
\`;
|
|
968
|
+
|
|
969
|
+
const citations = [
|
|
970
|
+
'https://www.weather.com.cn/weather/101210101.shtml',
|
|
971
|
+
'https://tianqi.moji.com/weather/china/zhejiang/hangzhou',
|
|
972
|
+
'https://weather.cma.cn/web/weather/58457.html',
|
|
973
|
+
'https://tianqi.so.com/weather/101210101',
|
|
974
|
+
'https://www.accuweather.com/zh/cn/hangzhou/106832/weather-forecast/106832',
|
|
975
|
+
'https://www.hzqx.com',
|
|
976
|
+
'https://www.hzqx.com/pc/hztq/',
|
|
977
|
+
].map((url, index) => {
|
|
978
|
+
return {
|
|
979
|
+
url,
|
|
980
|
+
title: \`\u53C2\u8003\${index + 1}\`,
|
|
981
|
+
content: url,
|
|
982
|
+
};
|
|
983
|
+
})
|
|
984
|
+
|
|
985
|
+
export default function () {
|
|
986
|
+
return <Markdown content={content} citations={citations} citationsMap={{
|
|
987
|
+
'two': {
|
|
988
|
+
url: 'https://www.weather.com.cn/weather/101210101.shtml',
|
|
989
|
+
title: '\u53C2\u80032',
|
|
990
|
+
content: 'https://www.weather.com.cn/weather/101210101.shtml',
|
|
991
|
+
},
|
|
992
|
+
}} />;
|
|
993
|
+
}`},19667:function(e,n){n.Z=`import React, { useEffect, useRef, useState } from 'react';
|
|
994
|
+
import { Markdown } from '@ali/spark-chat';
|
|
995
|
+
import { Flex, InputNumber, Switch } from 'antd';
|
|
996
|
+
|
|
997
|
+
let content = \`# \u51FA\u5E08\u8868
|
|
998
|
+
\u5148\u5E1D\u521B\u4E1A\u672A\u534A\u800C\u4E2D\u9053\u5D29\u6B82\uFF0C\u4ECA\u5929\u4E0B\u4E09\u5206\uFF0C\u76CA\u5DDE\u75B2\u5F0A\uFF0C\u6B64\u8BDA\u5371\u6025\u5B58\u4EA1\u4E4B\u79CB\u4E5F\u3002
|
|
999
|
+
\`;
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
export default function () {
|
|
1004
|
+
|
|
1005
|
+
return <>
|
|
1006
|
+
<Flex vertical gap={16}>
|
|
1007
|
+
<Markdown content={content} cursor="underline" typing/>
|
|
1008
|
+
<Markdown content={content} cursor="dot" typing/>
|
|
1009
|
+
</Flex>
|
|
1010
|
+
</>;
|
|
1011
|
+
}`},84564:function(e,n){n.Z=`import React from 'react';
|
|
1012
|
+
import { Markdown } from '@ali/spark-chat';
|
|
1013
|
+
|
|
1014
|
+
const content = \`\u4E09\u89D2\u51FD\u6570\u662F\u4E00\u7C7B\u6570\u5B66\u51FD\u6570\uFF0C\u4E3B\u8981\u7528\u6765\u63CF\u8FF0\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D\u7684\u89D2\u5EA6\u4E0E\u8FB9\u957F\u4E4B\u95F4\u7684\u5173\u7CFB\u3002\u6700\u5E38\u7528\u7684\u4E09\u89D2\u51FD\u6570\u5305\u62EC\u6B63\u5F26\uFF08sine, \u7B80\u5199\u4E3Asin\uFF09\u3001\u4F59\u5F26\uFF08cosine, \u7B80\u5199\u4E3Acos\uFF09\u548C\u6B63\u5207\uFF08tangent, \u7B80\u5199\u4E3Atan\uFF09\u3002\u6B64\u5916\u8FD8\u6709\u5B83\u4EEC\u7684\u5012\u6570\uFF1A\u4F59\u5272\uFF08cosecant, \u7B80\u5199\u4E3Acsc\u6216cosec\uFF09\u3001\u6B63\u5272\uFF08secant, \u7B80\u5199\u4E3Asec\uFF09\u548C\u4F59\u5207\uFF08cotangent, \u7B80\u5199\u4E3Acot\uFF09\u3002
|
|
1015
|
+
|
|
1016
|
+
\u8FD9\u4E9B\u51FD\u6570\u7684\u57FA\u672C\u5B9A\u4E49\u5982\u4E0B\uFF1A
|
|
1017
|
+
|
|
1018
|
+
1. **\u6B63\u5F26\uFF08sin\uFF09**\uFF1A\u5BF9\u4E8E\u4E00\u4E2A\u89D2\u03B8\uFF0C\u5728\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D\uFF0C\u6B63\u5F26\u662F\u8BE5\u89D2\u5BF9\u8FB9\u4E0E\u659C\u8FB9\u7684\u6BD4\u503C\u3002
|
|
1019
|
+
\\\\[ 1 + 2 = 3 \\\\]
|
|
1020
|
+
|
|
1021
|
+
2. **\u4F59\u5F26\uFF08cos\uFF09**\uFF1A\u5BF9\u4E8E\u4E00\u4E2A\u89D2\u03B8\uFF0C\u5728\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D\uFF0C\u4F59\u5F26\u662F\u8BE5\u89D2\u90BB\u8FB9\u4E0E\u659C\u8FB9\u7684\u6BD4\u503C\u3002
|
|
1022
|
+
\\\\[ \\\\cos(\\\\theta) = \\\\frac{\\\\text{\u90BB\u8FB9}}{\\\\text{\u659C\u8FB9}} \\\\]
|
|
1023
|
+
|
|
1024
|
+
3. **\u6B63\u5207\uFF08tan\uFF09**\uFF1A\u5BF9\u4E8E\u4E00\u4E2A\u89D2\u03B8\uFF0C\u5728\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D\uFF0C\u6B63\u5207\u662F\u5BF9\u8FB9\u4E0E\u90BB\u8FB9\u7684\u6BD4\u503C\u3002
|
|
1025
|
+
\\\\[ \\\\tan(\\\\theta) = \\\\frac{\\\\text{\u5BF9\u8FB9}}{\\\\text{\u90BB\u8FB9}} \\\\]
|
|
1026
|
+
|
|
1027
|
+
4. **\u4F59\u5272\uFF08csc\uFF09**\uFF1A\u662F\u6B63\u5F26\u7684\u5012\u6570\u3002
|
|
1028
|
+
\\\\[ \\\\csc(\\\\theta) = \\\\frac{1}{\\\\sin(\\\\theta)} \\\\]
|
|
1029
|
+
|
|
1030
|
+
5. **\u6B63\u5272\uFF08sec\uFF09**\uFF1A\u662F\u4F59\u5F26\u7684\u5012\u6570\u3002
|
|
1031
|
+
\\\\[ \\\\sec(\\\\theta) = \\\\frac{1}{\\\\cos(\\\\theta)} \\\\]
|
|
1032
|
+
|
|
1033
|
+
6. **\u4F59\u5207\uFF08cot\uFF09**\uFF1A\u662F\u6B63\u5207\u7684\u5012\u6570\u3002
|
|
1034
|
+
\\\\[ \\\\cot(\\\\theta) = \\\\frac{1}{\\\\tan(\\\\theta)} \\\\]
|
|
1035
|
+
|
|
1036
|
+
\u4E09\u89D2\u51FD\u6570\u5728\u6570\u5B66\u3001\u7269\u7406\u5B66\u3001\u5DE5\u7A0B\u5B66\u7B49\u9886\u57DF\u6709\u7740\u5E7F\u6CDB\u7684\u5E94\u7528\uFF0C\u5C24\u5176\u662F\u5728\u5904\u7406\u5468\u671F\u6027\u73B0\u8C61\u65F6\u3002
|
|
1037
|
+
|
|
1038
|
+
\u77E9\u9635\u662F\u6570\u5B66\u4E2D\u4E00\u79CD\u91CD\u8981\u7684\u5DE5\u5177\uFF0C\u5E7F\u6CDB\u5E94\u7528\u4E8E\u7EBF\u6027\u4EE3\u6570\u3001\u8BA1\u7B97\u673A\u79D1\u5B66\u3001\u7269\u7406\u5B66\u7B49\u9886\u57DF\u3002\u4EE5\u4E0B\u662F\u5173\u4E8E\u77E9\u9635\u5F62\u5F0F\u7684\u8BE6\u7EC6\u8BF4\u660E\uFF1A
|
|
1039
|
+
\u77E9\u9635\u662F\u4E00\u4E2A**\u6309\u77E9\u5F62\u6392\u5217\u7684\u6570\u8868**\uFF0C\u7531 **m \u884C n \u5217** \u7684\u5143\u7D20\u7EC4\u6210\uFF0C\u901A\u5E38\u7528\u5927\u5199\u5B57\u6BCD\u8868\u793A\uFF08\u5982 A\u3001B\uFF09\u3002
|
|
1040
|
+
|
|
1041
|
+
\u4E00\u822C\u5F62\u5F0F\u5982\u4E0B\uFF1A
|
|
1042
|
+
$$
|
|
1043
|
+
A = \\\\begin{bmatrix}
|
|
1044
|
+
a_{11} & a_{12} & \\\\cdots & a_{1n} \\\\\\\\
|
|
1045
|
+
a_{21} & a_{22} & \\\\cdots & a_{2n} \\\\\\\\
|
|
1046
|
+
\\\\vdots & \\\\vdots & \\\\ddots & \\\\vdots \\\\\\\\
|
|
1047
|
+
a_{m1} & a_{m2} & \\\\cdots & a_{mn}
|
|
1048
|
+
\\\\end{bmatrix}
|
|
1049
|
+
$$
|
|
1050
|
+
|
|
1051
|
+
---
|
|
1052
|
+
|
|
1053
|
+
\u5176\u4E2D \\( C \\) \u8868\u793A\u5706\u7684\u5468\u957F\uFF0C\\( \\pi \\) \u662F\u5706\u5468\u7387\uFF08\u5927\u7EA6\u7B49\u4E8E 3.14159\uFF09\uFF0C\u800C \\( r \\) \u662F\u5706\u7684\u534A\u5F84\u3002
|
|
1054
|
+
|
|
1055
|
+
\u5176\u4E2D $ C $ \u8868\u793A\u5706\u7684\u5468\u957F\uFF0C$ \\pi $ \u662F\u5706\u5468\u7387\uFF08\u5927\u7EA6\u7B49\u4E8E 3.14159\uFF09\uFF0C\u800C $ r $ \u662F\u5706\u7684\u534A\u5F84\u3002
|
|
1056
|
+
|
|
1057
|
+
---
|
|
1058
|
+
|
|
1059
|
+
\\\\[
|
|
1060
|
+
x = \\\\frac{-b \\\\pm \\\\sqrt{b^2 - 4ac}}{2a}
|
|
1061
|
+
\\\\]
|
|
1062
|
+
|
|
1063
|
+
\\\\[
|
|
1064
|
+
\\\\begin{align*}
|
|
1065
|
+
1. & \\\\quad x + y = 10 \\\\\\\\
|
|
1066
|
+
2. & \\\\quad 2x - y = 0
|
|
1067
|
+
\\\\end{align*}
|
|
1068
|
+
\\\\]
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
$$ x = \\\\frac{-b \\\\pm \\\\sqrt{b^2 - 4ac}}{2a} $$
|
|
1072
|
+
|
|
1073
|
+
$$
|
|
1074
|
+
\\\\begin{align*}
|
|
1075
|
+
1. & \\\\quad x + y = 10 \\\\\\\\
|
|
1076
|
+
2. & \\\\quad 2x - y = 0
|
|
1077
|
+
\\\\end{align*}
|
|
1078
|
+
$$
|
|
1079
|
+
|
|
1080
|
+
---
|
|
1081
|
+
|
|
1082
|
+
\\\\[ x_1^2 \\\\quad \\\\]
|
|
1083
|
+
$$ x_1^2 \\\\quad $$
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
\`;
|
|
1088
|
+
|
|
1089
|
+
export default function () {
|
|
1090
|
+
return <Markdown content={content} />;
|
|
1091
|
+
}`},42370:function(e,n){n.Z=`import React, { useEffect, useRef, useState } from 'react';
|
|
1092
|
+
import { Markdown } from '@ali/spark-chat';
|
|
1093
|
+
import { Flex, InputNumber, Input } from 'antd';
|
|
1094
|
+
|
|
1095
|
+
let content = \`# \u8FD9\u662F\u4E00\u4E2A\u4E00\u7EA7\u6807\u9898
|
|
1096
|
+
## \u8FD9\u662F\u4E00\u4E2A\u4E8C\u7EA7\u6807\u9898
|
|
1097
|
+
### \u8FD9\u662F\u4E00\u4E2A\u4E09\u7EA7\u6807\u9898
|
|
1098
|
+
#### \u8FD9\u662F\u4E00\u4E2A\u56DB\u7EA7\u6807\u9898
|
|
1099
|
+
##### \u8FD9\u662F\u4E00\u4E2A\u4E94\u7EA7\u6807\u9898
|
|
1100
|
+
###### \u8FD9\u662F\u4E00\u4E2A\u516D\u7EA7\u6807\u9898
|
|
1101
|
+
|
|
1102
|
+
---
|
|
1103
|
+
|
|
1104
|
+
\u8FD9\u662F\u7B2C\u4E00\u4E2A\u6BB5\u843D\u3002
|
|
1105
|
+
|
|
1106
|
+
\u8FD9\u662F\u7B2C\u4E8C\u4E2A\u6BB5\u843D\u3002
|
|
1107
|
+
|
|
1108
|
+
city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period. city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s. some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist. today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.
|
|
1109
|
+
|
|
1110
|
+
---
|
|
1111
|
+
|
|
1112
|
+
- \u9879\u76EE1
|
|
1113
|
+
- \u9879\u76EE2
|
|
1114
|
+
- \u5B50\u9879\u76EE2.1
|
|
1115
|
+
- \u5B50\u9879\u76EE2.2
|
|
1116
|
+
- \u9879\u76EE3
|
|
1117
|
+
|
|
1118
|
+
---
|
|
1119
|
+
|
|
1120
|
+
1. \u7B2C\u4E00\u9879
|
|
1121
|
+
2. \u7B2C\u4E8C\u9879
|
|
1122
|
+
1. \u7B2C\u4E8C\u9879\u7684\u7B2C\u4E00\u5B50\u9879
|
|
1123
|
+
2. \u7B2C\u4E8C\u9879\u7684\u7B2C\u4E8C\u5B50\u9879
|
|
1124
|
+
3. \u7B2C\u4E09\u9879
|
|
1125
|
+
|
|
1126
|
+
---
|
|
1127
|
+
|
|
1128
|
+
> \u8FD9\u662F\u4E00\u4E2A\u5F15\u7528\u3002
|
|
1129
|
+
|
|
1130
|
+
---
|
|
1131
|
+
|
|
1132
|
+
*\u8FD9\u662F\u659C\u4F53\u6587\u672C*
|
|
1133
|
+
_\u8FD9\u662F\u659C\u4F53\u6587\u672C_
|
|
1134
|
+
**\u8FD9\u662F\u7C97\u4F53\u6587\u672C**
|
|
1135
|
+
__\u8FD9\u662F\u7C97\u4F53\u6587\u672C__
|
|
1136
|
+
|
|
1137
|
+
***\u8FD9\u662F\u7C97\u659C\u4F53\u6587\u672C***
|
|
1138
|
+
**_\u8FD9\u662F\u7C97\u659C\u4F53\u6587\u672C_**
|
|
1139
|
+
_**\u8FD9\u662F\u7C97\u659C\u4F53\u6587\u672C**_
|
|
1140
|
+
___\u8FD9\u662F\u7C97\u659C\u4F53\u6587\u672C___
|
|
1141
|
+
~~\u8FD9\u662F\u5220\u9664\u7EBF\u6587\u672C~~
|
|
1142
|
+
|
|
1143
|
+
---
|
|
1144
|
+
|
|
1145
|
+
[https://www.aliyun.com](https://www.aliyun.com)
|
|
1146
|
+
|
|
1147
|
+

|
|
1148
|
+
|
|
1149
|
+

|
|
1150
|
+
|
|
1151
|
+
---
|
|
1152
|
+
\\\`\u8FD9\u662F\u5355\u884C\u4EE3\u7801\\\`
|
|
1153
|
+
|
|
1154
|
+
\\\`\\\`\\\`java
|
|
1155
|
+
class HelloWorld {
|
|
1156
|
+
public static void main(String[] args) {
|
|
1157
|
+
System.out.println("Hello World!");
|
|
1158
|
+
// Hello World!
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
\\\`\\\`\\\`
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
---
|
|
1165
|
+
|
|
1166
|
+
| \u6807\u98981 | \u6807\u98982 | \u6807\u98983 |\u6807\u98982 | \u6807\u98983 |\u6807\u98981 | \u6807\u98982 | \u6807\u98983 |\u6807\u98982 | \u6807\u98983 |\u6807\u98981 | \u6807\u98982 | \u6807\u98983 |\u6807\u98982 | \u6807\u98983 |
|
|
1167
|
+
|-------|-------|-------|----|-------|------|-------|-------|----|-------|------|-------|-------|----|-------|
|
|
1168
|
+
| \u5355\u5143\u683C1 | \u5355\u5143\u683C2 | \u5355\u5143\u683C3 |\u5355\u5143\u683C3 |\u5355\u5143\u683C3 |\u5355\u5143\u683C1 | \u5355\u5143\u683C2 | \u5355\u5143\u683C3 |\u5355\u5143\u683C3 |\u5355\u5143\u683C3 |\u5355\u5143\u683C1 | \u5355\u5143\u683C2 | \u5355\u5143\u683C3 |\u5355\u5143\u683C3 |\u5355\u5143\u683C3 |
|
|
1169
|
+
| \u5355\u5143\u683C4 | \u5355\u5143\u683C5 | \u5355\u5143\u683C6 |\u5355\u5143\u683C6 |\u5355\u5143\u683C6 |\u5355\u5143\u683C4 | \u5355\u5143\u683C5 | \u5355\u5143\u683C6 |\u5355\u5143\u683C6 |\u5355\u5143\u683C6 |\u5355\u5143\u683C4 | \u5355\u5143\u683C5 | \u5355\u5143\u683C6 |\u5355\u5143\u683C6 |\u5355\u5143\u683C6 |
|
|
1170
|
+
|
|
1171
|
+
---
|
|
1172
|
+
\`;
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
export default function () {
|
|
1177
|
+
const [baseFontSize, setBaseFontSize] = useState(14);
|
|
1178
|
+
const [value, setValue] = useState(content);
|
|
1179
|
+
|
|
1180
|
+
return <>
|
|
1181
|
+
<Flex gap={8} align='center' style={{ marginBottom: 16 }}>
|
|
1182
|
+
|
|
1183
|
+
<div>
|
|
1184
|
+
Base Font Size?
|
|
1185
|
+
</div>
|
|
1186
|
+
<InputNumber defaultValue={14} onChange={e => setBaseFontSize(e)} />
|
|
1187
|
+
</Flex>
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
<Input.TextArea autoSize={{ minRows: 4, maxRows: 6 }} value={value} onChange={e => setValue(e.target.value)} style={{ marginBottom: 16 }}></Input.TextArea>
|
|
1191
|
+
|
|
1192
|
+
<Markdown content={value} baseFontSize={baseFontSize} cursor />
|
|
1193
|
+
</>;
|
|
1194
|
+
}`},77597:function(e,n){n.Z=`import React from 'react';
|
|
1195
|
+
import { ChatInput } from '@ali/spark-chat';
|
|
1196
|
+
|
|
1197
|
+
export default function () {
|
|
1198
|
+
|
|
1199
|
+
return <ChatInput></ChatInput>
|
|
1200
|
+
|
|
1201
|
+
}`},1372:function(e,n){n.Z=`import React from 'react';
|
|
1202
|
+
import { ChatInput } from '@ali/spark-chat';
|
|
1203
|
+
|
|
1204
|
+
export default function () {
|
|
1205
|
+
|
|
1206
|
+
return <ChatInput disabled></ChatInput>
|
|
1207
|
+
}`},25725:function(e,n){n.Z=`import React from 'react';
|
|
1208
|
+
import { ChatInput } from '@ali/spark-chat';
|
|
1209
|
+
|
|
1210
|
+
export default function () {
|
|
1211
|
+
|
|
1212
|
+
return <ChatInput loading></ChatInput>
|
|
1213
|
+
|
|
1214
|
+
}`},75077:function(e,n){n.Z=`import React from 'react';
|
|
1215
|
+
import { Attachments, ChatInput } from '@ali/spark-chat';
|
|
1216
|
+
import { Button, GetProp, Upload } from 'antd';
|
|
1217
|
+
import { BookOutlined, BugOutlined, GlobalOutlined, PaperClipOutlined } from '@ant-design/icons';
|
|
1218
|
+
|
|
1219
|
+
export default function () {
|
|
1220
|
+
const [search, setSearch] = React.useState(false);
|
|
1221
|
+
const [attachedFiles, setAttachedFiles] = React.useState<GetProp<typeof Attachments, 'items'>>([]);
|
|
1222
|
+
const handleFileChange: GetProp<typeof Attachments, 'onChange'> = async ({ fileList }) => {
|
|
1223
|
+
setAttachedFiles(fileList);
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
const senderHeader = (
|
|
1227
|
+
<ChatInput.Header
|
|
1228
|
+
closable={false}
|
|
1229
|
+
open={attachedFiles?.length > 0}
|
|
1230
|
+
>
|
|
1231
|
+
<Attachments
|
|
1232
|
+
items={attachedFiles}
|
|
1233
|
+
onChange={handleFileChange}
|
|
1234
|
+
/>
|
|
1235
|
+
</ChatInput.Header>
|
|
1236
|
+
);
|
|
1237
|
+
const attachmentsNode = (
|
|
1238
|
+
<Upload onChange={handleFileChange} fileList={attachedFiles} showUploadList={false} key="upload">
|
|
1239
|
+
<Button type="text" icon={<PaperClipOutlined />} />
|
|
1240
|
+
</Upload>
|
|
1241
|
+
);
|
|
1242
|
+
|
|
1243
|
+
return <ChatInput
|
|
1244
|
+
zoomable
|
|
1245
|
+
header={senderHeader}
|
|
1246
|
+
prefix={[
|
|
1247
|
+
attachmentsNode,
|
|
1248
|
+
<Button type="text" icon={<BugOutlined />}></Button>,
|
|
1249
|
+
<Button type="text" icon={<BookOutlined />}></Button>,
|
|
1250
|
+
<Button type="text" color={search ? 'primary' : 'default'} variant={search ? 'filled' : 'text'} icon={<GlobalOutlined />} style={{ padding: '0 6px', gap: 6 }} onClick={() => setSearch(!search)}>\u8054\u7F51\u641C\u7D22</Button>,
|
|
1251
|
+
]}>
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
</ChatInput>
|
|
1255
|
+
}`},10421:function(e,n){n.Z=`import React from 'react';
|
|
1256
|
+
import { Attachments, ChatInput } from '@ali/spark-chat';
|
|
1257
|
+
import { Button, GetProp, Upload } from 'antd';
|
|
1258
|
+
import { PaperClipOutlined } from '@ant-design/icons';
|
|
1259
|
+
|
|
1260
|
+
export default function () {
|
|
1261
|
+
const [attachedFiles, setAttachedFiles] = React.useState<GetProp<typeof Attachments, 'items'>>([]);
|
|
1262
|
+
const handleFileChange: GetProp<typeof Attachments, 'onChange'> = async ({ fileList }) => {
|
|
1263
|
+
setAttachedFiles(fileList);
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
const senderHeader = (
|
|
1267
|
+
<ChatInput.Header
|
|
1268
|
+
closable={false}
|
|
1269
|
+
open={attachedFiles?.length > 0}
|
|
1270
|
+
>
|
|
1271
|
+
<Attachments
|
|
1272
|
+
items={attachedFiles}
|
|
1273
|
+
onChange={handleFileChange}
|
|
1274
|
+
/>
|
|
1275
|
+
</ChatInput.Header>
|
|
1276
|
+
);
|
|
1277
|
+
const attachmentsNode = (
|
|
1278
|
+
<Upload onChange={handleFileChange} fileList={attachedFiles} showUploadList={false} key="upload">
|
|
1279
|
+
<Button type="text" icon={<PaperClipOutlined />} />
|
|
1280
|
+
</Upload>
|
|
1281
|
+
);
|
|
1282
|
+
|
|
1283
|
+
return <ChatInput header={senderHeader}
|
|
1284
|
+
prefix={attachmentsNode}></ChatInput>
|
|
1285
|
+
}`},55341:function(e,n){n.Z=`import React from 'react';
|
|
1286
|
+
import { Space } from 'antd'
|
|
1287
|
+
import { Bubble } from '@ali/spark-chat';
|
|
1288
|
+
|
|
1289
|
+
const content = \`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
|
|
1290
|
+
city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
|
|
1291
|
+
some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
|
|
1292
|
+
today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.\`
|
|
1293
|
+
const App = () => <Space size="large" direction="vertical">
|
|
1294
|
+
<Bubble cards={[
|
|
1295
|
+
|
|
1296
|
+
{
|
|
1297
|
+
code: 'Interrupted',
|
|
1298
|
+
data: {
|
|
1299
|
+
type: 'interrupted',
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
]} />
|
|
1303
|
+
|
|
1304
|
+
<Bubble cards={[
|
|
1305
|
+
|
|
1306
|
+
{
|
|
1307
|
+
code: 'Interrupted',
|
|
1308
|
+
data: {
|
|
1309
|
+
type: 'error',
|
|
1310
|
+
title: 'Network error',
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
]} />
|
|
1314
|
+
|
|
1315
|
+
<Bubble cards={[
|
|
1316
|
+
|
|
1317
|
+
{
|
|
1318
|
+
code: 'Interrupted',
|
|
1319
|
+
data: {
|
|
1320
|
+
type: 'error',
|
|
1321
|
+
title: 'Network error',
|
|
1322
|
+
desc: 'This is a description this is a description this is a description this is a description',
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
]} />
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
</Space>;
|
|
1329
|
+
|
|
1330
|
+
export default App;
|
|
1331
|
+
`},23762:function(e,n){n.Z=`import React from "react";
|
|
1332
|
+
import { Welcome } from '@ali/spark-chat';
|
|
1333
|
+
import { Space } from "antd";
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
export default function () {
|
|
1337
|
+
return <Space direction="vertical" size={64} style={{ width: '100%' }}>
|
|
1338
|
+
<Welcome
|
|
1339
|
+
logo={null}
|
|
1340
|
+
style={{ justifyContent: 'center' }}
|
|
1341
|
+
title="Nice to meet you!"
|
|
1342
|
+
desc="How can I help you today?"
|
|
1343
|
+
/>
|
|
1344
|
+
</Space>
|
|
1345
|
+
}`},77209:function(e,n){n.Z=`import React from "react";
|
|
1346
|
+
import { Welcome } from '@ali/spark-chat';
|
|
1347
|
+
import { Space } from "antd";
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
export default function () {
|
|
1351
|
+
return <Space direction="vertical" size={64} style={{ width: '100%' }}>
|
|
1352
|
+
<Welcome
|
|
1353
|
+
style={{ alignItems: 'center' }}
|
|
1354
|
+
title="Nice to meet you!"
|
|
1355
|
+
desc="How can I help you today?"
|
|
1356
|
+
logo="https://gw.alicdn.com/imgextra/i3/O1CN01VFloZL1oERpBMx2Nv_!!6000000005193-55-tps-56-56.svg"
|
|
1357
|
+
/>
|
|
1358
|
+
</Space>
|
|
1359
|
+
}`},31797:function(e,n){n.Z=`import React from "react";
|
|
1360
|
+
import { Welcome } from '@ali/spark-chat';
|
|
1361
|
+
import { Space } from "antd";
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
export default function () {
|
|
1365
|
+
return <Space direction="vertical" size={64} style={{ width: '100%' }}>
|
|
1366
|
+
<Welcome
|
|
1367
|
+
style={{ flexDirection: 'column' }}
|
|
1368
|
+
title="Nice to meet you!"
|
|
1369
|
+
desc={null}
|
|
1370
|
+
logo={
|
|
1371
|
+
<img
|
|
1372
|
+
style={{
|
|
1373
|
+
width: 56,
|
|
1374
|
+
height: 56,
|
|
1375
|
+
marginBottom: 20,
|
|
1376
|
+
}}
|
|
1377
|
+
src="https://gw.alicdn.com/imgextra/i3/O1CN01VFloZL1oERpBMx2Nv_!!6000000005193-55-tps-56-56.svg" />
|
|
1378
|
+
}
|
|
1379
|
+
/>
|
|
1380
|
+
</Space>
|
|
1381
|
+
}`}}]);
|