diff --git a/.env.micro b/.env.micro index 6b77ac90737f35d79c48aca1f1641f44110ca939..514cf7d595e269ceb201aae2b06423b2e4852221 100755 --- a/.env.micro +++ b/.env.micro @@ -1,2 +1,3 @@ VITE_BASE_URL=/copilot/ -VITE_MICRO_ROUTER_URL=/eulercopilot/ \ No newline at end of file +VITE_MICRO_ROUTER_URL=/eulercopilot/ +VITE_BASE_PROXY_URL=http://localhost:8002 diff --git a/package.json b/package.json index a1987f04edb1eb9fd88131a04afca3a03ceba0c4..e20a4a723606fa113a1b5d621e4f088757b7f2af 100644 --- a/package.json +++ b/package.json @@ -109,9 +109,9 @@ "node": ">= 22.14.0" }, "dependencies": { - "@codemirror/lang-json": "^6.0.1", + "@codemirror/lang-json": "^6.0.2", "@codemirror/lang-yaml": "^6.1.2", - "@codemirror/theme-one-dark": "^6.1.2", + "@codemirror/theme-one-dark": "^6.1.3", "@computing/opendesign-icons": "file:lib/opendesign-icons-1.0.5.tgz", "@computing/opendesign2": "file:lib/opendesign2-2.0.23.tgz", "@dagrejs/dagre": "1.1.2", @@ -133,11 +133,11 @@ "pinia": "^3.0.2", "pinia-plugin-persistedstate": "^4.2.0", "vue": "^3.5.13", - "vue-codemirror": "^6.1.1", "vue-echarts": "^7.0.3", "vue-i18n": "^11.1.3", "vue-router": "^4.5.0", - "xss": "1.0.14" + "xss": "1.0.14", + "yarn": "^1.22.22" }, "devDependencies": { "@babel/core": "^7.26.10", @@ -192,4 +192,4 @@ "vite-plugin-mock": "^3.0.2" }, "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39" -} \ No newline at end of file +} diff --git a/public/base.css b/public/base.css new file mode 100644 index 0000000000000000000000000000000000000000..4f1519d3a0071de1c2d777874845dd0aeb3f72ed --- /dev/null +++ b/public/base.css @@ -0,0 +1,69 @@ +@font-face { + font-family: 'HarmonyOS_Sans_SC_Regular'; + src: url('./fonts/HarmonyOS_Sans_SC_Regular.woff2'); + font-weight: normal; + font-style: normal; +} +* { + font-family: HarmonyOS_Sans_SC_Regular, 'Helvetica Neue', Helvetica, + 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, + sans-serif; +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} +li { + list-style-type: none; + cursor: pointer; +} +textarea { + resize: none; +} +svg:focus { + outline: none; +} + +html { + overflow: hidden; +} + +body { + width: 100vw; + height: 100vh; + transition: + color 0.5s, + background-color 0.5s; + font-family: + Inter, + -apple-system, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + Oxygen, + Ubuntu, + Cantarell, + 'Fira Sans', + 'Droid Sans', + 'Helvetica Neue', + sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + background-color: #f5f5f6; +} +.successBg { + background-color: rgba(36, 171, 54, 0.2); + color: #24ab36; +} +.errorBg { + background-color: #fbdede; + color: #e32020; +} +.debugSuccess { + background-color: var(--o-color-success) !important; + color: var(--o-bg-color-base) !important; +} diff --git a/public/color.js b/public/color.js new file mode 100644 index 0000000000000000000000000000000000000000..1b1248f953e530adda2f0a69afc004f23d4a6035 --- /dev/null +++ b/public/color.js @@ -0,0 +1,14 @@ +const color = [ + '#0062DC', + '#2DB47C', + '#EC4F83', + '#3DB6FC', + '#6D47F5', + '#3DCFD4', + '#BD45E8', + '#81BA06', + '#FF5432', + '#9EA8B9', +]; + +export default color; diff --git a/public/fonts/HarmonyOS_Sans_SC_Regular.woff2 b/public/fonts/HarmonyOS_Sans_SC_Regular.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..7316e76af047fa9bdd6920c341b343a6e705bb40 Binary files /dev/null and b/public/fonts/HarmonyOS_Sans_SC_Regular.woff2 differ diff --git a/public/images/dark_application_case.png b/public/images/dark_application_case.png new file mode 100644 index 0000000000000000000000000000000000000000..63492165db2f13ac118247e603728582bfecc5ab Binary files /dev/null and b/public/images/dark_application_case.png differ diff --git a/public/images/dark_expand_knowledge.png b/public/images/dark_expand_knowledge.png new file mode 100644 index 0000000000000000000000000000000000000000..530907263a776d299429d93d06a4947668326965 Binary files /dev/null and b/public/images/dark_expand_knowledge.png differ diff --git a/public/images/dark_expertise.png b/public/images/dark_expertise.png new file mode 100644 index 0000000000000000000000000000000000000000..4e22af5478e83889cfbcd839d1e3d829bff644d9 Binary files /dev/null and b/public/images/dark_expertise.png differ diff --git a/public/images/dark_general_knowledge.png b/public/images/dark_general_knowledge.png new file mode 100644 index 0000000000000000000000000000000000000000..81e4827b3f29dfc282247c8d8e1aeece7d6bdd07 Binary files /dev/null and b/public/images/dark_general_knowledge.png differ diff --git a/public/images/dark_no_flow.png b/public/images/dark_no_flow.png new file mode 100644 index 0000000000000000000000000000000000000000..dde2b5816a9a0c7cb81166ea8da52b0ca6c776e2 Binary files /dev/null and b/public/images/dark_no_flow.png differ diff --git a/public/images/flow_arrow.png b/public/images/flow_arrow.png new file mode 100755 index 0000000000000000000000000000000000000000..c59ee9391e65ec7a477f21f1e3b4e24ab7019957 Binary files /dev/null and b/public/images/flow_arrow.png differ diff --git a/public/images/flow_fail.png b/public/images/flow_fail.png new file mode 100755 index 0000000000000000000000000000000000000000..dc2d7db88134ac3494fc7dff92cfd50664cdef49 Binary files /dev/null and b/public/images/flow_fail.png differ diff --git a/public/images/flow_success.png b/public/images/flow_success.png new file mode 100755 index 0000000000000000000000000000000000000000..fd9793b19cf96cb93c95980090500b8b1f4ca6b6 Binary files /dev/null and b/public/images/flow_success.png differ diff --git a/public/images/light_application_case.png b/public/images/light_application_case.png new file mode 100644 index 0000000000000000000000000000000000000000..74d613c30886b732993777db7c86d2c91b1c7ca6 Binary files /dev/null and b/public/images/light_application_case.png differ diff --git a/public/images/light_expand_knowledge.png b/public/images/light_expand_knowledge.png new file mode 100644 index 0000000000000000000000000000000000000000..4bcb77abf67545f6d7b1994143b7408ec36188ee Binary files /dev/null and b/public/images/light_expand_knowledge.png differ diff --git a/public/images/light_expertise.png b/public/images/light_expertise.png new file mode 100644 index 0000000000000000000000000000000000000000..4e22af5478e83889cfbcd839d1e3d829bff644d9 Binary files /dev/null and b/public/images/light_expertise.png differ diff --git a/public/images/light_general_knowledge.png b/public/images/light_general_knowledge.png new file mode 100644 index 0000000000000000000000000000000000000000..a3bcc0ecde2a08d1b0380c7f1c0d5d90b745e2f1 Binary files /dev/null and b/public/images/light_general_knowledge.png differ diff --git a/public/images/light_no_flow.png b/public/images/light_no_flow.png new file mode 100644 index 0000000000000000000000000000000000000000..efafb14f68f3b835427e9ef9ac93ce5cc7796bbd Binary files /dev/null and b/public/images/light_no_flow.png differ diff --git a/public/images/loading.png b/public/images/loading.png new file mode 100644 index 0000000000000000000000000000000000000000..e9f712593db317bbaeee82e07dcdd565166ff0cc Binary files /dev/null and b/public/images/loading.png differ diff --git a/public/images/logo-euler-copilot.png b/public/images/logo-euler-copilot.png new file mode 100644 index 0000000000000000000000000000000000000000..c9051151e00ffdfec60fa643af8b5cda91cae4d2 Binary files /dev/null and b/public/images/logo-euler-copilot.png differ diff --git a/public/images/welcome_bg.webp b/public/images/welcome_bg.webp new file mode 100644 index 0000000000000000000000000000000000000000..2ead216667ac020839249d296d7986854e4d19bd Binary files /dev/null and b/public/images/welcome_bg.webp differ diff --git a/public/styles/base/index.scss b/public/styles/base/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..4dbcb7afe3ce35a3ced158ec0bd07915a5ecbf1c --- /dev/null +++ b/public/styles/base/index.scss @@ -0,0 +1,29 @@ +/* 滚动条轨道样式 */ +::-webkit-scrollbar-track { + background-image: linear-gradient(180deg, #e7f0fd 1%, #daeafc 40%) !important; + display: none !important; +} + +::-webkit-scrollbar { + width: 4px !important; + height: 4px !important; + color: var(--o-scrollbar-thumb) !important; +} + +/* 滚动条的滑块 */ +::-webkit-scrollbar-thumb { + background-color: var(--o-scrollbar-thumb) !important; + border-radius: 3px !important; +} +::-webkit-scrollbar-corner { + background: transparent !important; +} + +::-webkit-scrollbar-thumb:hover { + background-color: var(--o-scrollbar-thumb) !important; + /* 鼠标悬停时的滚动条按钮颜色 */ +} +div{ + // 全局 div 默认光标 + cursor: default !important; +} \ No newline at end of file diff --git a/public/styles/components/codePreview.scss b/public/styles/components/codePreview.scss new file mode 100644 index 0000000000000000000000000000000000000000..c7fbe2dbc9b38b814e3b92b53602960892d8638d --- /dev/null +++ b/public/styles/components/codePreview.scss @@ -0,0 +1,193 @@ +#markdown-preview { + line-height: 24px; + .hljs { + color: var(--o-text-color-secondary); + font-size: 14px; + font-family: SFMono-Regular, monospace, 'Courier New', Courier, Consolas, + 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'DejaVu Sans Mono', + 'Bitstream Vera Sans Mono', 'Liberation Mono', Monaco, 'Source Code Pro', + 'Fira Mono', 'IBM Plex Mono'; + } + + /* 为highlight.js所有语法元素添加等宽字体 */ + .hljs-keyword, + .hljs-selector-tag, + .hljs-title, + .hljs-section, + .hljs-doctag, + .hljs-name, + .hljs-strong, + .hljs-comment, + .hljs-string, + .hljs-built_in, + .hljs-literal, + .hljs-type, + .hljs-addition, + .hljs-tag, + .hljs-quote, + .hljs-selector-id, + .hljs-selector-class, + .hljs-meta, + .hljs-subst, + .hljs-symbol, + .hljs-variable, + .hljs-template-variable, + .hljs-link, + .hljs-deletion, + .hljs-bullet, + .hljs-regexp, + .hljs-number, + .hljs-emphasis, + .hljs-attr, + .hljs-attribute, + .hljs-function { + font-size: 14px; + font-family: SFMono-Regular, monospace, 'Courier New', Courier, Consolas, + 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'DejaVu Sans Mono', + 'Bitstream Vera Sans Mono', 'Liberation Mono', Monaco, 'Source Code Pro', + 'Fira Mono', 'IBM Plex Mono'; + } + + /* 支持行内代码渲染 */ + .inline-code { + background-color: var(--o-bash-bg); + color: var(--o-text-color-secondary); + padding: 0.2em 0.4em; + border-radius: 6px; + font-family: SFMono-Regular, monospace, 'Courier New', Courier, Consolas, + 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'DejaVu Sans Mono', + 'Bitstream Vera Sans Mono', 'Liberation Mono', Monaco, 'Source Code Pro', + 'Fira Mono', 'IBM Plex Mono'; + font-size: 0.9em; + } + + p { + font-size: 16px; + font-weight: 400; + } + + table { + border-collapse: collapse; + margin: 16px 0; + } + + /* 表头样式 */ + thead { + background-color: var(--o-bg-color-light); + color: var(--o-text-color-secondary); + } + thead th { + text-align: left; + padding: 7px; + white-space: nowrap; + } + + /* 表格主体样式 */ + tbody tr { + transition: background-color 0.3s ease; + } + tbody tr:nth-child(even) { + background-color: var(--o-bg-color-light); + } + tbody td { + padding: 3px 24px 3px 7px; + text-align: left; + vertical-align: middle; + color: var(--o-text-color-primarys); + } + + @media screen and (max-width: 600px) { + table, + thead, + tbody, + th, + td, + tr { + display: block; + } + + thead tr { + position: absolute; + top: -9999px; + left: -9999px; + } + + tr { + margin-bottom: 1rem; + } + + td { + border: none; + position: relative; + padding-left: 50%; + } + + td:before { + content: attr(data-label); + position: absolute; + left: 10px; + top: 0; + width: 45%; + font-weight: bold; + white-space: nowrap; + } + } + pre { + overflow-wrap: break-word; + word-break: break-all; + white-space: pre-wrap; /* 保持缩进同时允许换行 */ + margin: 8px 0px; + .code-toolbar { + user-select: none; + background-color: var(--o-bash-bg); + color: var(--o-text-color-primarys); + display: flex; + justify-content: space-between; + align-items: center; + border-radius: 8px 8px 0 0; + padding: 8px 12px 0 12px; + font-family: + Inter, + -apple-system, + BlinkMacSystemFont, + 'Segoe UI', + Roboto, + Oxygen, + Ubuntu, + Cantarell, + 'Fira Sans', + 'Droid Sans', + 'Helvetica Neue', + sans-serif; + .pre-copy { + cursor: pointer; + svg { + vertical-align: middle; + } + &:hover { + color: var(--o-text-color-secondary); + } + } + } + code { + background-color: var(--o-bash-bg); + border-radius: 0 0 8px 8px; + } + } + + a { + color: #6395fd; + &:hover { + color: #7aa5ff; + } + } + + ol { + margin-left: 16px; + li { + list-style-type: decimal; + cursor: default; + margin-left: 12px; + } + } +} diff --git a/public/styles/components/index.scss b/public/styles/components/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..7d02eea8110887851c67a9719e40c56e867ad610 --- /dev/null +++ b/public/styles/components/index.scss @@ -0,0 +1 @@ +@import './codePreview.scss'; \ No newline at end of file diff --git a/public/styles/electron/index.scss b/public/styles/electron/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..6aee27e422ad4a37a073a39b2e9f1adf952b6815 --- /dev/null +++ b/public/styles/electron/index.scss @@ -0,0 +1 @@ +@import './linux.scss' \ No newline at end of file diff --git a/public/styles/electron/linux.scss b/public/styles/electron/linux.scss new file mode 100644 index 0000000000000000000000000000000000000000..b423f1e30923674146497364c266fa7cbb7359b2 --- /dev/null +++ b/public/styles/electron/linux.scss @@ -0,0 +1,64 @@ +// Linux平台窗口圆角和阴影样式 +html.platform-linux { + width: 100vw; + height: 100vh; + padding: 16px; + // 添加过渡动画 + transition: padding 0.25s cubic-bezier(0.4, 0, 0.2, 1); + + body { + width: calc(100vw - 32px) !important; + height: calc(100vh - 32px) !important; + background: transparent; + border-radius: 12px; + overflow: hidden; + // 添加16px的窗口阴影,向外扩展 + box-shadow: 0 0 16px rgba(0, 0, 0, 0.3); + // 添加过渡动画 + transition: + border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1), + box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1); + } + + #app { + border-radius: 12px; + overflow: hidden; + // 添加过渡动画 + transition: border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1); + } + + .el-overlay { + height: calc(100% - 32px) !important; + width: calc(100% - 32px) !important; + top: 16px !important; + left: 16px !important; + border-radius: 12px; + } + + // 窗口最大化状态下取消圆角和阴影 + &.window-maximized { + padding: 0 !important; + // 保持过渡动画一致性 + transition: padding 0.25s cubic-bezier(0.4, 0, 0.2, 1); + body, + #app { + width: 100vw !important; + height: 100vh !important; + border-radius: 0 !important; + // 最大化时移除阴影 + box-shadow: none !important; + // 保持过渡动画一致性 + transition: + border-radius 0.25s cubic-bezier(0.4, 0, 0.2, 1), + box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1); + } + + .el-overlay { + height: 100% !important; + width: 100% !important; + top: 0 !important; + left: 0 !important; + border-radius: 0 !important; + } + } +} diff --git a/public/styles/element/index.scss b/public/styles/element/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..cd46ec09d1afb757d51af54dd4ce3afdcb4b1653 --- /dev/null +++ b/public/styles/element/index.scss @@ -0,0 +1,214 @@ +:root { + --el-color-primary: #6395fd; + --o-func-base-primary: #6395fd; + .el-message-box__container { + display: flex; + align-items: center; + .el-message-box__message { + padding: 0; + } + } + .el-checkbox.is-checked .el-checkbox__inner { + background-color: #6395fd !important; + border-color: #6395fd !important; + &:hover { + background-color: #7aa5ff !important; + border-color: #7aa5ff !important; + } + &:active { + background-color: #6395fd !important; + border-color: #6395fd !important; + } + } + .el-checkbox__input.is-checked .el-checkbox__inner { + background-color: #6395fd !important; + border-color: #6395fd !important; + &:hover { + background-color: #7aa5ff !important; + border-color: #7aa5ff !important; + } + &:active { + background-color: #6395fd !important; + border-color: #6395fd !important; + } + } + .el-message { + width: 30%; + border-radius: 5px; + } + + .el-message--success { + background-color: #c2e7c7; + color: #000; + border-color: #24ab36; + border-radius: 10px; + .el-message__content { + color: #000; + font-size: 12px; + } + } + + .el-message--warning { + background-color: #f9ecb8; + border-color: #ebaf00; + img { + width: 16px; + height: 16px; + } + .el-message__content { + color: #000; + font-size: 12px; + } + } + + .el-message--error { + background-color: #f7c1c1; + color: #000; + border-color: #e42121; + .el-message__content { + color: #000; + font-size: 12px; + } + } +} + +.euler-copilot-message-box { + background-color: #fefefe; + border-radius: 4px; + .el-message-box__header { + font-weight: bold; + box-shadow: inset 0 -1px 0 0#dfe5ef; + } +} + +.el-message-box { + width: 432px !important; + height: 184px !important; +} + +.el-button:not(.is-disabled) { + color: var(--o-button-color) !important; + border-color: var(--o-button-border-color) !important; +} + +.el-button:not(.is-disabled):focus { + color: var(--o-button-color) !important; + border-color: var(--o-button-border-color) !important; +} + +.el-button:not(.is-disabled):active { + color: #6395fd !important; + border-color: #6395fd !important; +} + +.el-button:not(.is-disabled):hover { + color: #7aa5ff !important; + border-color: #7aa5ff !important; +} + +.el-button--primary:not(.is-disabled) { + background-color: #6395fd !important; + color: white !important; + border-color: #6395fd !important; +} + +.el-button--primary:not(.is-disabled):focus { + background-color: #6395fd !important; + color: white !important; + border-color: #6395fd !important; +} + +.el-button--primary:not(.is-disabled):active { + background-color: #6395fd !important; + color: white !important; + border-color: #6395fd !important; +} + +.el-button--primary:not(.is-disabled):hover { + background-color: #7aa5ff !important; + color: white !important; + border-color: #7aa5ff !important; +} + +.el-message { + --o-message-border-radius: 8px !important; +} + +.exit-button { + margin-left: 0px !important; +} + +.o-message--error { + width: 544px; + background-color: var(--o-message-bg-color_error) !important; + border-color: var(--o-message-border-color_error) !important; + .el-message__content { + flex: 1; + } + .el-icon { + position: relative !important; + top: unset !important; + } +} + +.o-message--success { + width: 544px; + background-color: #c2e7c7 !important; + border-color: #24ab36 !important; + .el-message__content { + flex: 1; + } + .el-icon { + position: relative !important; + top: unset !important; + } +} + +.el-checkbox.el-checkbox--large { + height: auto !important; +} +.el-dialog { + border-radius: 8px !important; +} +.el-dialog__header { + margin-right: 0px !important; + border-radius: 8px 8px 0 0 !important; + padding: 16px 24px 16px 24px !important; + .el-dialog__title { + font-size: 16px !important; + line-height: 24px !important; + font-weight: 700 !important; + } +} +.el-dialog__body { + padding: 16px 24px 16px 24px !important; + margin: 0 !important; +} +.el-drawer { + top: 48px !important; + height: calc(100vh - 48px) !important; + .el-drawer__header { + color: var(--o-text-color-primary) !important; + font-weight: 700 !important; + padding: 24px 24px 8px 24px !important; + margin: 0 !important; + } + .el-drawer__body { + padding: 0px 24px 16px !important; + } + .el-drawer__footer { + padding: 0; + padding: 8px 24px; + box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.1); + } +} + +.el-tabs__header{ + height: 32px !important; + .el-tabs__nav-scroll{ + height: 32px !important; + .el-tabs__item{ + padding: 0px 16px 0px 0px !important; + } + } +} \ No newline at end of file diff --git a/public/styles/main.scss b/public/styles/main.scss new file mode 100644 index 0000000000000000000000000000000000000000..e908d890c3f3a769a2bd68c58df17da77af3b1f1 --- /dev/null +++ b/public/styles/main.scss @@ -0,0 +1,6 @@ +@import './base/index.scss'; +@import './components/index.scss'; +@import './variables/index.scss'; +@import './electron/index.scss'; +@import './element/index.scss'; +@import './normalize.css' \ No newline at end of file diff --git a/public/styles/normalize.css b/public/styles/normalize.css new file mode 100644 index 0000000000000000000000000000000000000000..192eb9ce43389039996bc2e9344c5bb14b730d72 --- /dev/null +++ b/public/styles/normalize.css @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/public/styles/variables/index.scss b/public/styles/variables/index.scss new file mode 100644 index 0000000000000000000000000000000000000000..5ad07fa9bf4410696cc55a4afba9b6f5277c8464 --- /dev/null +++ b/public/styles/variables/index.scss @@ -0,0 +1 @@ +@import './theme.scss'; diff --git a/public/styles/variables/theme.scss b/public/styles/variables/theme.scss new file mode 100644 index 0000000000000000000000000000000000000000..6e7a7ca60062bb7d020e5ea7f66b20eaf31380af --- /dev/null +++ b/public/styles/variables/theme.scss @@ -0,0 +1,214 @@ +body[theme='dark'] { + --o-content-bg: linear-gradient( + to right, + rgba(109, 117, 250, 0.5), + rgba(90, 179, 255, 0.5) + ); + --o-text-disable: #626D7C; + --o-main-bg-color: #131415; + --o-bg-image: url('../../assets/svgs/dark_background.svg'); + --no-work-flow: url('../../assets/images/dark_no_flow.png'); + --o-question-color: #d3dce9; + --o-text-color-record-number: rgb(211, 220, 233); + --o-button-color: #576372; + --o-button-border-color: #576372; + --o-button-disable-color: #626d7c; + --o-button-disable-background: #203052; + --o-button-disable-border: #626d7c; + --o-time-text: #3e4551; + --o-bash-bg: #2a2f37; + --o-flow-code-bg: rgb(42, 47, 55); + --o-flow-code-border: rgb(62, 69, 81); + --flow-canvas-bg: rgb(24, 27, 32); + --flow-instance-hover-color: #1f2329; + --flow-instance-shadow: 0 4px 16px 0 rgba(253, 254, 255, 0.1); + --flow-nodeBox-shadow: 0 8px 16px 0 rgba(253, 254, 255, 0.1); + // 工作流节点背景色 + --flow-bg-color: #343a43; + --o-bash-box-shadow: 0 4px 16px 0 rgba(255, 255, 255, 0.1); + // 工作流开始节点结束背景渐变色 + --flow-startEnd-bg: linear-gradient( + rgba(132, 149, 253, 0.3), + rgba(104, 113, 129, 0.15), + rgba(52, 58, 67, 0) + ); + --flow-system-bg: linear-gradient( + rgba(113, 225, 229, 0.3), + rgba(97, 119, 121, 0.15), + rgba(52, 58, 67, 0) + ); + --flow-apos-apollo-bg: linear-gradient( + rgba(137, 212, 255, 0.3), + rgba(103, 111, 130, 0.15), + rgba(52, 58, 67, 0) + ); + --flow-euler-copilot-tune-bg: linear-gradient( + rgba(156, 237, 203, 0.3), + rgba(101, 125, 110, 0.15), + rgba(52, 58, 67, 0) + ); + --flow-other-node-bg: linear-gradient( + rgba(252, 154, 186, 0.3), + rgba(117, 99, 110, 0.15), + rgba(52, 58, 67, 0) + ); + --flow-node-default-over-color: #25303e; + --flow-node-boder-default-over: #314265; + --flow-node-success-over-color: #1f312a; + --flow-node-error-over-color: #332127; + --flow-branch-node-error-node-cover-color: #602c27; + --flow-branch-node-success-node-cover-color: #295336; + --o-think-border: #8d98aa; + --o-think-header-bg: #2a2f37; + --o-think-header-text: #e4e8ee; + --el-drawer-bg-color: #000000; + --el-bg-color: #1f2329; + --question-bg: linear-gradient( + 0deg, + rgb(47, 57, 66), + rgb(32, 35, 37) 33.232%, + rgb(41, 43, 55) 85.699% + ); + --el-collapse-header-bg: rgb(42, 47, 55); + --el-collapse-border: rgb(62, 69, 81, 0.5); + --el-collapse-content-bg: rgb(42, 47, 55, 0.5); + --applist-hover: #313741; + --flow-running-bg: linear-gradient( + 127.95deg, + rgb(39, 39, 76) -1.967%, + rgba(28, 57, 81, 0.929) 98.202% + ); + --o-api-description: rgb(211, 220, 233); + --el-drawer-padding-primary: 24px !important; + // 这里是不同种类的debug图标 + --flow-debug-default: url('../../assets/svgs/dark_debug.svg'); + --flow-debug-hover: url('../../assets/svgs/dark_debug_hover.svg'); + --flow-debug-active: url('../../assets/svgs/dark_debug_active.svg'); + --flow-debug-dis: url('../../assets/svgs/dark_debug_dis.svg'); + // 这里是不同种类的展开收起图标 + --expand-fold-default: url('../../assets/svgs/dark_expand_fold.svg'); + --expand-fold-hover: url('../../assets/svgs/dark_expand_fold_hover.svg'); + --expand-fold-active: url('../../assets/svgs/dark_expand_fold_active.svg'); + --o-scrollbar-thumb: #576372; + --o-apiBox-bg: rgb(253, 254, 255); +} + +body[theme='light'] { + --o-text-disable: #BFC7D7; + --o-checkbox-bg-color_checked: #6395fd !important; + --o-func-base-primary: 99, 149, 253; + --o-checkbox-bg-color_checked: #6395fd !important; + --o-checkbox-border-color_checked: #6395fd !important; + --o-content-bg:linear-gradient( + to right, + rgba(109, 117, 250, 0.2), + rgba(90, 179, 255, 0.2) + ); + --o-main-bg-color: #f1f8ff; + --o-bg-image: url('../../assets/svgs/light_background.webp'); + --no-work-flow: url('../../assets/images/light_no_flow.png'); + --o-question-color: #4e5865; + --o-text-color-record-number: rgb(78, 88, 101); + --o-button-color: #c3cedf; + --o-button-border-color: #d3dce9; + --o-button-disable-color: #bfc7d7; + --o-button-disable-background: #ebedf3; + --o-button-disable-border: #ebedf3; + --o-time-text: #dfe5ef; + --o-bash-bg: #f4f6fa; + --o-flow-code-bg: rgb(244, 256, 258); + --o-flow-code-border: rgb(223, 229, 239); + --flow-canvas-bg: rgba(235, 239, 246); + --flow-instance-hover-color: #fdfeff; + --flow-instance-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); + --flow-nodeBox-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1); + // 工作流节点背景色 + --flow-bg-color: #fdfeff; + --o-bash-box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1); + // 工作流开始节点结束背景渐变色 + --flow-startEnd-bg: linear-gradient( + rgba(133, 148, 253, 0.3), + rgba(210, 231, 252, 0.15), + rgba(255, 255, 255, 0) + ); + --flow-system-bg: linear-gradient( + rgba(156, 237, 203, 0.3), + rgba(240, 253, 244, 0.15), + rgba(255, 255, 255, 0) + ); + --flow-apos-apollo-bg: linear-gradient( + rgba(137, 212, 255, 0.3), + rgba(230, 237, 255, 0.15), + rgba(255, 255, 255, 0) + ); + --flow-euler-copilot-tune-bg: linear-gradient( + rgba(156, 237, 203, 0.3), + rgba(240, 253, 248, 0.15), + rgba(255, 255, 255, 0) + ); + --flow-other-node-bg: linear-gradient( + rgba(252, 154, 186, 0.3), + rgba(253, 240, 248, 0.15), + rgba(255, 255, 255, 0) + ); + --flow-node-boder-default-over: #c7d6f5; + --flow-node-success-over-color: #e6f6e9; + --flow-node-error-over-color: #f8e7e7; + --o-think-border: #ccc; + --o-think-header-bg: #f8f8f8; + --o-think-header-text: #8d98aa; + --flow-branch-node-error-node-cover-color: #edb3b3; + --flow-branch-node-success-node-cover-color: #b3dbb8; + --el-collapse-header-bg: rgb(244, 246, 250); + --el-collapse-border: rgb(223, 229, 239); + --el-collapse-content-bg: rgb(244, 246, 250, 0.5); + --question-bg: linear-gradient( + 177.93deg, + rgba(255, 255, 255, 0) -40.031%, + rgba(255, 255, 255, 0.35) 1.263%, + rgba(255, 255, 255) 36.178% + ), + linear-gradient( + 270deg, + rgb(227, 242, 255, 0.5), + rgb(195, 227, 255, 0.5) 33.232%, + rgb(197, 203, 249, 0.5) 85.699% + ); + --question-shadow: rgba(221, 225, 240, 0.5); + --applist-hover: #f3f4f6; + --flow-running-bg: linear-gradient( + 127.95deg, + rgba(109, 117, 250, 0.2) -1.967%, + rgba(90, 179, 255, 0.2) 98.202% + ); + --o-api-description: rgb(78, 88, 101); + // 这里是不同种类的debug图标 + --flow-debug-default: url('../../assets/svgs/light_debug.svg'); + --flow-debug-hover: url('../../assets/svgs/light_debug_hover.svg'); + --flow-debug-active: url('../../assets/svgs/light_debug_active.svg'); + --flow-debug-dis: url('../../assets/svgs/light_debug_dis.svg'); + // 这里是不同种类的展开收起图标 + --expand-fold-default: url('../../assets/svgs/light_expand_fold.svg'); + --expand-fold-hover: url('../../assets/svgs/light_expand_fold_hover.svg'); + --expand-fold-active: url('../../assets/svgs/light_expand_fold_active.svg'); + --o-scrollbar-thumb: #c3cedf; + --o-apiBox-bg: rgb(253, 254, 255); + --el-drawer-padding-primary: 24px !important; +} + +body { + // 这里替换下拉框的选中颜色,无论亮暗都是一致 + .el-select-dropdown__item.is-selected { + background-color: #6395fd !important; + font-weight: normal !important; + } + // 悬浮优先级高于选中 + .el-select-dropdown__item:hover { + background-color: #7aa5ff !important; + } + .el-select-dropdown__footer { + border-top: none !important; + cursor: pointer; + } + --o-border-radius-small: 4px; +} diff --git a/public/svgs/API.svg b/public/svgs/API.svg new file mode 100644 index 0000000000000000000000000000000000000000..86b2eb2faba23146e82999b5a74c9a23b63be71e --- /dev/null +++ b/public/svgs/API.svg @@ -0,0 +1,17 @@ + + + Created with Pixso. + + + + + + + + + + + + + + diff --git a/public/svgs/LLM.svg b/public/svgs/LLM.svg new file mode 100644 index 0000000000000000000000000000000000000000..3a06a0041aec405a364dd83500440c3f8ae54ddf --- /dev/null +++ b/public/svgs/LLM.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/against_active.svg b/public/svgs/against_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..db629ff0870d5c52d9a38a9b0c9db4d405e73eac --- /dev/null +++ b/public/svgs/against_active.svg @@ -0,0 +1,9 @@ + + + Created with Pixso. + + + + + + diff --git a/public/svgs/agent.svg b/public/svgs/agent.svg new file mode 100644 index 0000000000000000000000000000000000000000..cadfefb107b35750948f75830b4853fe29c1f161 --- /dev/null +++ b/public/svgs/agent.svg @@ -0,0 +1,176 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/alarm.svg b/public/svgs/alarm.svg new file mode 100644 index 0000000000000000000000000000000000000000..df7271a06290438787905774d58bed1b27551e5b --- /dev/null +++ b/public/svgs/alarm.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/app_upload.svg b/public/svgs/app_upload.svg new file mode 100644 index 0000000000000000000000000000000000000000..a06500856810a3ecf1b2f1f35bdd981353d7c539 --- /dev/null +++ b/public/svgs/app_upload.svg @@ -0,0 +1,41 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/app_upload_hover.svg b/public/svgs/app_upload_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..e8b8ee998d156e857335bbc3eab2266ea9d7255e --- /dev/null +++ b/public/svgs/app_upload_hover.svg @@ -0,0 +1,33 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/arror_left.svg b/public/svgs/arror_left.svg new file mode 100644 index 0000000000000000000000000000000000000000..9202dda4c39459b5d0d87f2e70a766e93fc7982c --- /dev/null +++ b/public/svgs/arror_left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/arror_right.svg b/public/svgs/arror_right.svg new file mode 100644 index 0000000000000000000000000000000000000000..11916c276872604342db48602d27de35c3a49aa0 --- /dev/null +++ b/public/svgs/arror_right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/condition.svg b/public/svgs/condition.svg new file mode 100644 index 0000000000000000000000000000000000000000..fd61c693c07987ef6e0f953e5a95a74093a50951 --- /dev/null +++ b/public/svgs/condition.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/copy.svg b/public/svgs/copy.svg new file mode 100644 index 0000000000000000000000000000000000000000..db2c9c0e7f61200e49596873d3cf20d11baa37e6 --- /dev/null +++ b/public/svgs/copy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/copy_icon.svg b/public/svgs/copy_icon.svg new file mode 100644 index 0000000000000000000000000000000000000000..6750ed5c6fa94e7032ccd08fae13792cf842c399 --- /dev/null +++ b/public/svgs/copy_icon.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/corpus.svg b/public/svgs/corpus.svg new file mode 100644 index 0000000000000000000000000000000000000000..d69a8716da4bb9e78b5e6f1fecc871a104958d81 --- /dev/null +++ b/public/svgs/corpus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/create.svg b/public/svgs/create.svg new file mode 100644 index 0000000000000000000000000000000000000000..a9a9df7b94f3fc19890c8030515b38e648fb0f7c --- /dev/null +++ b/public/svgs/create.svg @@ -0,0 +1,31 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_against.svg b/public/svgs/dark_against.svg new file mode 100644 index 0000000000000000000000000000000000000000..2518b9f01148193a8fd8487a6b5a165eb877085b --- /dev/null +++ b/public/svgs/dark_against.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/dark_background.svg b/public/svgs/dark_background.svg new file mode 100644 index 0000000000000000000000000000000000000000..1b52816d1490f99fbd7d092736dc998ea2956e53 --- /dev/null +++ b/public/svgs/dark_background.svg @@ -0,0 +1,252 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_change.svg b/public/svgs/dark_change.svg new file mode 100644 index 0000000000000000000000000000000000000000..77baea77bfe822e7e4a9eb6d3530e8c9ffb805f0 --- /dev/null +++ b/public/svgs/dark_change.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/dark_copy.svg b/public/svgs/dark_copy.svg new file mode 100644 index 0000000000000000000000000000000000000000..6094fe8a311f71a9db82bbf212576a6bf0b7c6c7 --- /dev/null +++ b/public/svgs/dark_copy.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/dark_debug.svg b/public/svgs/dark_debug.svg new file mode 100644 index 0000000000000000000000000000000000000000..e79dd3137b4d03098e83841bd833717769432811 --- /dev/null +++ b/public/svgs/dark_debug.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_debug_active.svg b/public/svgs/dark_debug_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..a40989e722bb8af7a5cd4429d4f9d2ac21e646de --- /dev/null +++ b/public/svgs/dark_debug_active.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_debug_dis.svg b/public/svgs/dark_debug_dis.svg new file mode 100644 index 0000000000000000000000000000000000000000..b6e7a3a93eb10f2d15335cae11f8e2209909b0b1 --- /dev/null +++ b/public/svgs/dark_debug_dis.svg @@ -0,0 +1,30 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_debug_hover.svg b/public/svgs/dark_debug_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..2f164b039cac6ed6f7f204e2120062da9473227b --- /dev/null +++ b/public/svgs/dark_debug_hover.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_delete.svg b/public/svgs/dark_delete.svg new file mode 100644 index 0000000000000000000000000000000000000000..590235f38b729b9cfd0e0862a8449f4ecaf8b9fb --- /dev/null +++ b/public/svgs/dark_delete.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_delete_active.svg b/public/svgs/dark_delete_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..d050eb2b1c770eac2dcc96e68dadaa4effb44106 --- /dev/null +++ b/public/svgs/dark_delete_active.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_editor.svg b/public/svgs/dark_editor.svg new file mode 100644 index 0000000000000000000000000000000000000000..967e23886672504b9b17217673f1cd8ff09b66df --- /dev/null +++ b/public/svgs/dark_editor.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/dark_editor_active.svg b/public/svgs/dark_editor_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..e0b50e3182dcc01b09740b15c4501f6b44771e4f --- /dev/null +++ b/public/svgs/dark_editor_active.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/dark_expand_fold.svg b/public/svgs/dark_expand_fold.svg new file mode 100644 index 0000000000000000000000000000000000000000..ebbaade56119fcc2cf8820e146a7c093dfc5bc10 --- /dev/null +++ b/public/svgs/dark_expand_fold.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_expand_fold_active.svg b/public/svgs/dark_expand_fold_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..01a864530b7a7a7f2ff7033541b4e8d7c4ebd219 --- /dev/null +++ b/public/svgs/dark_expand_fold_active.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_expand_fold_hover.svg b/public/svgs/dark_expand_fold_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..cff7499aeb91158fb6a6caee506053606e189698 --- /dev/null +++ b/public/svgs/dark_expand_fold_hover.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_knowledge.svg b/public/svgs/dark_knowledge.svg new file mode 100644 index 0000000000000000000000000000000000000000..d9f27930514aa389ad54be68f749c9c664d006f3 --- /dev/null +++ b/public/svgs/dark_knowledge.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/dark_knowledge_hover.svg b/public/svgs/dark_knowledge_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..83dd93605530fdf1e049dbb8b5aeb850f0343713 --- /dev/null +++ b/public/svgs/dark_knowledge_hover.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/dark_knowledge_select.svg b/public/svgs/dark_knowledge_select.svg new file mode 100644 index 0000000000000000000000000000000000000000..a1633a4e9a789e3c55e2eac56f0b38d83710fd3a --- /dev/null +++ b/public/svgs/dark_knowledge_select.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/dark_null.svg b/public/svgs/dark_null.svg new file mode 100644 index 0000000000000000000000000000000000000000..a406ee17ba71102ae1bf7dde17abae34cd2feb78 --- /dev/null +++ b/public/svgs/dark_null.svg @@ -0,0 +1,90 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/dark_regenerate.svg b/public/svgs/dark_regenerate.svg new file mode 100644 index 0000000000000000000000000000000000000000..d048b8d377bc0b237a527102d590bb809e2f70a5 --- /dev/null +++ b/public/svgs/dark_regenerate.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/dark_report.svg b/public/svgs/dark_report.svg new file mode 100644 index 0000000000000000000000000000000000000000..6dbb08b0a035fb799e0e9b424e3b7bfa5c038358 --- /dev/null +++ b/public/svgs/dark_report.svg @@ -0,0 +1,17 @@ + + + Created with Pixso. + + + + + + + + + + + + + + diff --git a/public/svgs/dark_stop_answer.svg b/public/svgs/dark_stop_answer.svg new file mode 100644 index 0000000000000000000000000000000000000000..e56cadccd698903b2f50f8b15dff356eac692a9b --- /dev/null +++ b/public/svgs/dark_stop_answer.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/dark_support.svg b/public/svgs/dark_support.svg new file mode 100644 index 0000000000000000000000000000000000000000..5d83eab48ffe357320fe7004900f8e7cc78237dd --- /dev/null +++ b/public/svgs/dark_support.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/dark_user.svg b/public/svgs/dark_user.svg new file mode 100644 index 0000000000000000000000000000000000000000..0f8cb71ed624d96b35cadba589f41ea534ccec9d --- /dev/null +++ b/public/svgs/dark_user.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/defaultIcon.webp b/public/svgs/defaultIcon.webp new file mode 100644 index 0000000000000000000000000000000000000000..5e776bab1aeccc22985b759caea3d3d065ee1e20 Binary files /dev/null and b/public/svgs/defaultIcon.webp differ diff --git a/public/svgs/delete.svg b/public/svgs/delete.svg new file mode 100644 index 0000000000000000000000000000000000000000..17851757f9173591fbb32ad05235f0a3b47b2932 --- /dev/null +++ b/public/svgs/delete.svg @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/public/svgs/delete_hover.svg b/public/svgs/delete_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..9545770279dc679af1bace6e0fd3c2653acb2eab --- /dev/null +++ b/public/svgs/delete_hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/doc.svg b/public/svgs/doc.svg new file mode 100644 index 0000000000000000000000000000000000000000..a24101480016367a81d502e1ed7d12b8ca77f7a8 --- /dev/null +++ b/public/svgs/doc.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/docx.svg b/public/svgs/docx.svg new file mode 100644 index 0000000000000000000000000000000000000000..a60e853941aa10ede5616d4088faf34070ca1834 --- /dev/null +++ b/public/svgs/docx.svg @@ -0,0 +1,28 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/editor.svg b/public/svgs/editor.svg new file mode 100644 index 0000000000000000000000000000000000000000..1bed46a421af200542a22cb89099ee6a77562417 --- /dev/null +++ b/public/svgs/editor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/editor_hover.svg b/public/svgs/editor_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..93b37e908bae5dab30878078958765f3f871205d --- /dev/null +++ b/public/svgs/editor_hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/error.svg b/public/svgs/error.svg new file mode 100644 index 0000000000000000000000000000000000000000..eff026d9a371ecd397542f213880a651cb1559cf --- /dev/null +++ b/public/svgs/error.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/euler_copilot_logo.svg b/public/svgs/euler_copilot_logo.svg new file mode 100644 index 0000000000000000000000000000000000000000..2ac4fced1382e233d40e6f566e68bc4570c96dd4 --- /dev/null +++ b/public/svgs/euler_copilot_logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/files.svg b/public/svgs/files.svg new file mode 100644 index 0000000000000000000000000000000000000000..aa5ad2afd255661dcc87148941c65cba8de28e30 --- /dev/null +++ b/public/svgs/files.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/flowEndIcon.svg b/public/svgs/flowEndIcon.svg new file mode 100644 index 0000000000000000000000000000000000000000..43624aee002b78a3cfed3e88ce057f6180dcc42f --- /dev/null +++ b/public/svgs/flowEndIcon.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/flowStartIcon.svg b/public/svgs/flowStartIcon.svg new file mode 100644 index 0000000000000000000000000000000000000000..1b0f42a61a8373999c67fcb2eddf66feca68a8b4 --- /dev/null +++ b/public/svgs/flowStartIcon.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/gatherMetrics.svg b/public/svgs/gatherMetrics.svg new file mode 100644 index 0000000000000000000000000000000000000000..f7e2148f8120e83062d9d5048fcc768447ef5940 --- /dev/null +++ b/public/svgs/gatherMetrics.svg @@ -0,0 +1,21 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/getCveDetail.svg b/public/svgs/getCveDetail.svg new file mode 100644 index 0000000000000000000000000000000000000000..2ccda435603e57a3f8cb6d4b50ccb7d594a4c896 --- /dev/null +++ b/public/svgs/getCveDetail.svg @@ -0,0 +1,21 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/knowledgeBase.svg b/public/svgs/knowledgeBase.svg new file mode 100644 index 0000000000000000000000000000000000000000..0fe3efcc203bcc8c441d9154a5a299d0530be110 --- /dev/null +++ b/public/svgs/knowledgeBase.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/language-cn.svg b/public/svgs/language-cn.svg new file mode 100644 index 0000000000000000000000000000000000000000..d6e4f42ee8a0bfceac136987d0b64c328b3b97a5 --- /dev/null +++ b/public/svgs/language-cn.svg @@ -0,0 +1,7 @@ + + + Created with Pixso. + + + + diff --git a/public/svgs/language-en.svg b/public/svgs/language-en.svg new file mode 100644 index 0000000000000000000000000000000000000000..b71ba224fd06321cf3d8e312b9e6689d269830bd --- /dev/null +++ b/public/svgs/language-en.svg @@ -0,0 +1,7 @@ + + + Created with Pixso. + + + + diff --git a/public/svgs/light_against.svg b/public/svgs/light_against.svg new file mode 100644 index 0000000000000000000000000000000000000000..d16f1b34a1b13b8abe46b2773027ce1b9666ec85 --- /dev/null +++ b/public/svgs/light_against.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/light_background.webp b/public/svgs/light_background.webp new file mode 100644 index 0000000000000000000000000000000000000000..6270db00eb51957b6221d1e950ff3a47bb5470c4 Binary files /dev/null and b/public/svgs/light_background.webp differ diff --git a/public/svgs/light_change.svg b/public/svgs/light_change.svg new file mode 100644 index 0000000000000000000000000000000000000000..d09f2050fa7948ec5d793b8dc0c784f743a3f1ff --- /dev/null +++ b/public/svgs/light_change.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/light_copy.svg b/public/svgs/light_copy.svg new file mode 100644 index 0000000000000000000000000000000000000000..dc8a520b8b58d087523148609bf33cdb4086004c --- /dev/null +++ b/public/svgs/light_copy.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/light_debug.svg b/public/svgs/light_debug.svg new file mode 100644 index 0000000000000000000000000000000000000000..53f530d8b145f5cc178cf8fa3edfc330d5b2b36b --- /dev/null +++ b/public/svgs/light_debug.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/light_debug_active.svg b/public/svgs/light_debug_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..850e0315edf43eecbbd488a5f14a46b1baf47569 --- /dev/null +++ b/public/svgs/light_debug_active.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/light_debug_dis.svg b/public/svgs/light_debug_dis.svg new file mode 100644 index 0000000000000000000000000000000000000000..98448a0dcede128342fd8613ff31248dfd00585e --- /dev/null +++ b/public/svgs/light_debug_dis.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/light_debug_hover.svg b/public/svgs/light_debug_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..e420a6469b1a19f2a593506bc1c9f849c21d4648 --- /dev/null +++ b/public/svgs/light_debug_hover.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/light_delete.svg b/public/svgs/light_delete.svg new file mode 100644 index 0000000000000000000000000000000000000000..cb120ed25c0efc717e8105a1ab0fd0794fb538f9 --- /dev/null +++ b/public/svgs/light_delete.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/light_editor.svg b/public/svgs/light_editor.svg new file mode 100644 index 0000000000000000000000000000000000000000..5360033a2fbdeb90edaef70546e3ea7d20598711 --- /dev/null +++ b/public/svgs/light_editor.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/light_expand_fold.svg b/public/svgs/light_expand_fold.svg new file mode 100644 index 0000000000000000000000000000000000000000..534f865de0446ba9b4da26fde4dc33a506f0e415 --- /dev/null +++ b/public/svgs/light_expand_fold.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/light_expand_fold_active.svg b/public/svgs/light_expand_fold_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..19f3b0d5d890171f2d2faecd75f79cfab7cb12b3 --- /dev/null +++ b/public/svgs/light_expand_fold_active.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/light_expand_fold_hover.svg b/public/svgs/light_expand_fold_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..0e826f3af7785f70864f81a83750e2679b689347 --- /dev/null +++ b/public/svgs/light_expand_fold_hover.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/light_knowledge.svg b/public/svgs/light_knowledge.svg new file mode 100644 index 0000000000000000000000000000000000000000..4dcb8c121538c729858dc9d3205cfd425691f439 --- /dev/null +++ b/public/svgs/light_knowledge.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/svgs/light_null.svg b/public/svgs/light_null.svg new file mode 100644 index 0000000000000000000000000000000000000000..df04da463d36bb63b871562bbf7b9737e61a8d7e --- /dev/null +++ b/public/svgs/light_null.svg @@ -0,0 +1,68 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/light_regenerate.svg b/public/svgs/light_regenerate.svg new file mode 100644 index 0000000000000000000000000000000000000000..ef11c3d71ec2393b73238886e6b336df3f56f0aa --- /dev/null +++ b/public/svgs/light_regenerate.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/light_report.svg b/public/svgs/light_report.svg new file mode 100644 index 0000000000000000000000000000000000000000..3487eb488c2f812652db5e3933f9cd874843e104 --- /dev/null +++ b/public/svgs/light_report.svg @@ -0,0 +1,17 @@ + + + Created with Pixso. + + + + + + + + + + + + + + diff --git a/public/svgs/light_stop_answer.svg b/public/svgs/light_stop_answer.svg new file mode 100644 index 0000000000000000000000000000000000000000..fee36bff97e1faf6cd138d02acc21436baf9d27b --- /dev/null +++ b/public/svgs/light_stop_answer.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/light_support.svg b/public/svgs/light_support.svg new file mode 100644 index 0000000000000000000000000000000000000000..aca4cda1fe17577bbd1b4e04897ccfe91b323e3f --- /dev/null +++ b/public/svgs/light_support.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/light_user.svg b/public/svgs/light_user.svg new file mode 100644 index 0000000000000000000000000000000000000000..edcafe5de3c015f219245bfc6d881669262feb35 --- /dev/null +++ b/public/svgs/light_user.svg @@ -0,0 +1,29 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/loading.svg b/public/svgs/loading.svg new file mode 100644 index 0000000000000000000000000000000000000000..3d4bd5de3fde702069733057ff5cc2d7a02cc3b3 --- /dev/null +++ b/public/svgs/loading.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/local_deploy.svg b/public/svgs/local_deploy.svg new file mode 100644 index 0000000000000000000000000000000000000000..79f478da6a7d3a6beb00316f09969baab2bcc7ea --- /dev/null +++ b/public/svgs/local_deploy.svg @@ -0,0 +1,26 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/logo .svg b/public/svgs/logo .svg new file mode 100644 index 0000000000000000000000000000000000000000..b97dee1ef763c74ae59e4cf62541132f042da109 --- /dev/null +++ b/public/svgs/logo .svg @@ -0,0 +1,60 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/loop.svg b/public/svgs/loop.svg new file mode 100644 index 0000000000000000000000000000000000000000..0323f5b644bd37ed37510e962dc362452be7db0b --- /dev/null +++ b/public/svgs/loop.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + diff --git a/public/svgs/md.svg b/public/svgs/md.svg new file mode 100644 index 0000000000000000000000000000000000000000..e0ec8b583d6b8d210558bdec96f42990aaf7b208 --- /dev/null +++ b/public/svgs/md.svg @@ -0,0 +1,28 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/moon.svg b/public/svgs/moon.svg new file mode 100644 index 0000000000000000000000000000000000000000..80735af7d32d4a81020d0a4497140f955d7bde8f --- /dev/null +++ b/public/svgs/moon.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/moon_active.svg b/public/svgs/moon_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..179bcb9e1f24e6fd795f4da1cf2927c7e52b7e13 --- /dev/null +++ b/public/svgs/moon_active.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/moon_hover.svg b/public/svgs/moon_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..f8c2dc9a07823eb601f2bfaec27c658721ecab1a --- /dev/null +++ b/public/svgs/moon_hover.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/myApp.svg b/public/svgs/myApp.svg new file mode 100644 index 0000000000000000000000000000000000000000..f081e67fed3701cc78851f160d135f3d33639415 --- /dev/null +++ b/public/svgs/myApp.svg @@ -0,0 +1,25 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/online_service.svg b/public/svgs/online_service.svg new file mode 100644 index 0000000000000000000000000000000000000000..0c815738869cc00cf2d037482242dc629cdec7ee --- /dev/null +++ b/public/svgs/online_service.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + diff --git a/public/svgs/optimize.svg b/public/svgs/optimize.svg new file mode 100644 index 0000000000000000000000000000000000000000..7192c0a408b46743bb1f0329ecb68086ed89088c --- /dev/null +++ b/public/svgs/optimize.svg @@ -0,0 +1,8 @@ + + + Created with Pixso. + + + + + diff --git a/public/svgs/pdf.svg b/public/svgs/pdf.svg new file mode 100644 index 0000000000000000000000000000000000000000..e073bc5c085ad2459ba27e3e25db6414cd9f4bd9 --- /dev/null +++ b/public/svgs/pdf.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/plugin_center.svg b/public/svgs/plugin_center.svg new file mode 100644 index 0000000000000000000000000000000000000000..2f53d49842396a115425242dba2f18ea245a6f72 --- /dev/null +++ b/public/svgs/plugin_center.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + diff --git a/public/svgs/plugin_center_active.svg b/public/svgs/plugin_center_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..f29328eb4acc539f74bf9f2bc6e208f82258af48 --- /dev/null +++ b/public/svgs/plugin_center_active.svg @@ -0,0 +1,18 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + diff --git a/public/svgs/plus.svg b/public/svgs/plus.svg new file mode 100644 index 0000000000000000000000000000000000000000..e3d6b5a170e3903d0b42558c229990d55742f7a8 --- /dev/null +++ b/public/svgs/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/query.svg b/public/svgs/query.svg new file mode 100644 index 0000000000000000000000000000000000000000..69cf6faff3f63bf2cf2c2a7a35d7cc06bcade1c3 --- /dev/null +++ b/public/svgs/query.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/report.svg b/public/svgs/report.svg new file mode 100644 index 0000000000000000000000000000000000000000..6e674911e868f3b28007e031c750161d05fea965 --- /dev/null +++ b/public/svgs/report.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/robot.svg b/public/svgs/robot.svg new file mode 100644 index 0000000000000000000000000000000000000000..44149ad0d600dad7db7752a7c9ef1c452cd9ad1c --- /dev/null +++ b/public/svgs/robot.svg @@ -0,0 +1,71 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/routerApi.svg b/public/svgs/routerApi.svg new file mode 100644 index 0000000000000000000000000000000000000000..992d8acb77358cac941dfca62a2243c6124b4fce --- /dev/null +++ b/public/svgs/routerApi.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/routerApiSelected.svg b/public/svgs/routerApiSelected.svg new file mode 100644 index 0000000000000000000000000000000000000000..4beb45578cfec7cb81d13f81a6ad4c2ecb981b8b --- /dev/null +++ b/public/svgs/routerApiSelected.svg @@ -0,0 +1,21 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/routerApp.svg b/public/svgs/routerApp.svg new file mode 100644 index 0000000000000000000000000000000000000000..fa1a35cae8823f5a66d0cbb77139aa2d7e739bd3 --- /dev/null +++ b/public/svgs/routerApp.svg @@ -0,0 +1,14 @@ + + + Created with Pixso. + + + + + + + + + + + diff --git a/public/svgs/routerAppSelected.svg b/public/svgs/routerAppSelected.svg new file mode 100644 index 0000000000000000000000000000000000000000..d0eda062a60f37f70b0de6a612d0d5e19d14eb45 --- /dev/null +++ b/public/svgs/routerAppSelected.svg @@ -0,0 +1,18 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + diff --git a/public/svgs/routerCopilot.svg b/public/svgs/routerCopilot.svg new file mode 100644 index 0000000000000000000000000000000000000000..9daebc8f6ee86d4a26b6dd8ed279a2f86cc65560 --- /dev/null +++ b/public/svgs/routerCopilot.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/routerCopilotSelected.svg b/public/svgs/routerCopilotSelected.svg new file mode 100644 index 0000000000000000000000000000000000000000..d63f9dade5c01b3d97a2166d4fbca6074ce26088 --- /dev/null +++ b/public/svgs/routerCopilotSelected.svg @@ -0,0 +1,25 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/search.svg b/public/svgs/search.svg new file mode 100644 index 0000000000000000000000000000000000000000..55445777c03195f8c2464fada93a356cc80ee344 --- /dev/null +++ b/public/svgs/search.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/send_disabled.svg b/public/svgs/send_disabled.svg new file mode 100644 index 0000000000000000000000000000000000000000..87c7979c16d5aa847c8d881fb1a1abf2befd2afa --- /dev/null +++ b/public/svgs/send_disabled.svg @@ -0,0 +1,26 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/send_enabled.svg b/public/svgs/send_enabled.svg new file mode 100644 index 0000000000000000000000000000000000000000..910cf8ff7843ad3e9c29ce9353ce048a009651ae --- /dev/null +++ b/public/svgs/send_enabled.svg @@ -0,0 +1,24 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/setting.svg b/public/svgs/setting.svg new file mode 100644 index 0000000000000000000000000000000000000000..ad33ba4bc2985abab7aa63f4e6669799727db49c --- /dev/null +++ b/public/svgs/setting.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + diff --git a/public/svgs/setting_active.svg b/public/svgs/setting_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..b867b49042efdae595192d73abab2e3f0e458fd1 --- /dev/null +++ b/public/svgs/setting_active.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/settings.svg b/public/svgs/settings.svg new file mode 100644 index 0000000000000000000000000000000000000000..546c9b53ea7773443c890fab88eb3d4fe2803a05 --- /dev/null +++ b/public/svgs/settings.svg @@ -0,0 +1,13 @@ + + + Created with Pixso. + + + + + + + + + + \ No newline at end of file diff --git a/public/svgs/success.svg b/public/svgs/success.svg new file mode 100644 index 0000000000000000000000000000000000000000..676e309048dde792cb3988203f3a4e3bda88aa0b --- /dev/null +++ b/public/svgs/success.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/sun.svg b/public/svgs/sun.svg new file mode 100644 index 0000000000000000000000000000000000000000..22cb2164b79acc038e5c7b82a18586014495c920 --- /dev/null +++ b/public/svgs/sun.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/sun_active.svg b/public/svgs/sun_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..a8aa687b2de7ce7e66ed40bb63a5028b7acb4115 --- /dev/null +++ b/public/svgs/sun_active.svg @@ -0,0 +1,18 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + diff --git a/public/svgs/sun_hover.svg b/public/svgs/sun_hover.svg new file mode 100644 index 0000000000000000000000000000000000000000..eec104876afd5dab93260e630164be514d78e348 --- /dev/null +++ b/public/svgs/sun_hover.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/support_active.svg b/public/svgs/support_active.svg new file mode 100644 index 0000000000000000000000000000000000000000..581e2f4f001118d863cc6b3f29efe51746c175ae --- /dev/null +++ b/public/svgs/support_active.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/taskChoice.svg b/public/svgs/taskChoice.svg new file mode 100644 index 0000000000000000000000000000000000000000..ebace828de164ed949e86d75dfc9aeed628d5b75 --- /dev/null +++ b/public/svgs/taskChoice.svg @@ -0,0 +1,22 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/templateConversion.svg b/public/svgs/templateConversion.svg new file mode 100644 index 0000000000000000000000000000000000000000..ec805f2025b9eea8d63a847996e5d3e4cc0e0369 --- /dev/null +++ b/public/svgs/templateConversion.svg @@ -0,0 +1,16 @@ + + + Created with Pixso. + + + + + + + + + + + + + diff --git a/public/svgs/txt.svg b/public/svgs/txt.svg new file mode 100644 index 0000000000000000000000000000000000000000..bbf427d754609416d8955399b2ab1bf275622d0e --- /dev/null +++ b/public/svgs/txt.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/upload_dark.svg b/public/svgs/upload_dark.svg new file mode 100644 index 0000000000000000000000000000000000000000..9c26d7e9e2aca35b7ce45ee11f8b5795a2e4d0ed --- /dev/null +++ b/public/svgs/upload_dark.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/upload_icon.svg b/public/svgs/upload_icon.svg new file mode 100644 index 0000000000000000000000000000000000000000..7dbc7e276801d65958d3e2b3136dc44e72aa87b7 --- /dev/null +++ b/public/svgs/upload_icon.svg @@ -0,0 +1,19 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + diff --git a/public/svgs/upload_light.svg b/public/svgs/upload_light.svg new file mode 100644 index 0000000000000000000000000000000000000000..21c96896c949d7199abb5e8adc283822ba3a65fe --- /dev/null +++ b/public/svgs/upload_light.svg @@ -0,0 +1,10 @@ + + + Created with Pixso. + + + + + + + diff --git a/public/svgs/user.svg b/public/svgs/user.svg new file mode 100644 index 0000000000000000000000000000000000000000..b5b4f8d34c6e1744b3b05f896813a38a430467ed --- /dev/null +++ b/public/svgs/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/svgs/userCode.svg b/public/svgs/userCode.svg new file mode 100644 index 0000000000000000000000000000000000000000..dde8da5bc93842ad493cdd5d07a414b65a242ac7 --- /dev/null +++ b/public/svgs/userCode.svg @@ -0,0 +1,11 @@ + + + Created with Pixso. + + + + + + + + diff --git a/public/svgs/userDatabaseClass.svg b/public/svgs/userDatabaseClass.svg new file mode 100644 index 0000000000000000000000000000000000000000..626acea120a900aa3ca196eeb0a75d79cf31bc57 --- /dev/null +++ b/public/svgs/userDatabaseClass.svg @@ -0,0 +1,17 @@ + + + Created with Pixso. + + + + + + + + + + + + + + diff --git a/public/svgs/userDocumentClass.svg b/public/svgs/userDocumentClass.svg new file mode 100644 index 0000000000000000000000000000000000000000..35fe668dd7d75ab7ac0b72ebed31d8acffe1909d --- /dev/null +++ b/public/svgs/userDocumentClass.svg @@ -0,0 +1,17 @@ + + + Created with Pixso. + + + + + + + + + + + + + + diff --git a/public/svgs/witChainD.svg b/public/svgs/witChainD.svg new file mode 100644 index 0000000000000000000000000000000000000000..2c7766c44dc2fb93e437ab4cc4e400810f34cdbe --- /dev/null +++ b/public/svgs/witChainD.svg @@ -0,0 +1,15 @@ + + + Created with Pixso. + + + + + + + + + + + + diff --git a/public/svgs/witChainDSelected.svg b/public/svgs/witChainDSelected.svg new file mode 100644 index 0000000000000000000000000000000000000000..1b20a6d1711e583bb2dae13709cc26688a86f90a --- /dev/null +++ b/public/svgs/witChainDSelected.svg @@ -0,0 +1,19 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + diff --git a/public/svgs/workflow.svg b/public/svgs/workflow.svg new file mode 100644 index 0000000000000000000000000000000000000000..361d7a190c5d20a24d2b44c3ad00d7734df70560 --- /dev/null +++ b/public/svgs/workflow.svg @@ -0,0 +1,155 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/wrong.svg b/public/svgs/wrong.svg new file mode 100644 index 0000000000000000000000000000000000000000..57758f36c581f0e6bed4b3caebe58a781abf0b7e --- /dev/null +++ b/public/svgs/wrong.svg @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/public/svgs/xlsx.svg b/public/svgs/xlsx.svg new file mode 100644 index 0000000000000000000000000000000000000000..98006f4d7a3e75a7ce7578e89001456e38437b21 --- /dev/null +++ b/public/svgs/xlsx.svg @@ -0,0 +1,27 @@ + + + Created with Pixso. + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svgs/yes.svg b/public/svgs/yes.svg new file mode 100644 index 0000000000000000000000000000000000000000..4d59d70ae3e01e290d5b4878009f22e3e7cd90cb --- /dev/null +++ b/public/svgs/yes.svg @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/src/api/README.md b/src/api/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e9c71b720107b9b85560fb1babfcd04c2f345d09 --- /dev/null +++ b/src/api/README.md @@ -0,0 +1,169 @@ +# 变量管理API接口文档 + +## 修复说明 + +### ✅ 正确的API端点路径 + +根据后端 `apps/routers/variable.py` 的定义,变量管理API的正确端点如下: + +```javascript +// 变量管理 +POST /api/variable/create - 创建变量 +PUT /api/variable/update - 更新变量值 +DELETE /api/variable/delete - 删除变量 +GET /api/variable/get - 获取单个变量 +GET /api/variable/list - 列出变量 + +// 模板解析 +POST /api/variable/parse - 解析模板中的变量引用 +POST /api/variable/validate - 验证模板中的变量引用 + +// 系统信息 +GET /api/variable/types - 获取支持的变量类型 +POST /api/variable/clear-conversation - 清空对话变量 +``` + +### ❌ 之前的错误路径 + +```javascript +// 错误1: 使用复数路径 +/api/variables + +// 错误2: 使用基础路径而非具体端点 +/api/variable (用于GET请求) +``` + +### ✅ 修复后的实现 + +```javascript +// src/api/variable.js + +// 创建变量 +export async function createVariable(data) { + const [error, response] = await post(`${BASE_URL}/create`, data) + return response +} + +// 更新变量 +export async function updateVariable(params, data) { + const [error, response] = await put(`${BASE_URL}/update`, data, params) + return response +} + +// 删除变量 +export async function deleteVariable(params) { + const [error, response] = await del(`${BASE_URL}/delete`, {}, params) + return response +} + +// 获取单个变量 +export async function getVariable(params) { + const [error, response] = await get(`${BASE_URL}/get`, params) + return response +} + +// 列出变量 +export async function listVariables(params = {}) { + const [error, response] = await get(`${BASE_URL}/list`, params) + return response +} +``` + +## API调用示例 + +### 列出系统变量 +```javascript +import { listVariables } from '@/api/variable' + +const response = await listVariables({ scope: 'system' }) +// 实际请求: GET /api/variable/list?scope=system +``` + +### 创建对话变量 +```javascript +import { createVariable } from '@/api/variable' + +await createVariable({ + name: 'user_input', + var_type: 'string', + scope: 'conversation', + value: 'Hello World', + conversation_id: 'conv_123' +}) +// 实际请求: POST /api/variable/create +``` + +### 更新变量 +```javascript +import { updateVariable } from '@/api/variable' + +await updateVariable( + { + name: 'user_input', + scope: 'conversation', + conversation_id: 'conv_123' + }, + { + value: 'Updated value' + } +) +// 实际请求: PUT /api/variable/update?name=user_input&scope=conversation&conversation_id=conv_123 +``` + +### 删除变量 +```javascript +import { deleteVariable } from '@/api/variable' + +await deleteVariable({ + name: 'user_input', + scope: 'conversation', + conversation_id: 'conv_123' +}) +// 实际请求: DELETE /api/variable/delete?name=user_input&scope=conversation&conversation_id=conv_123 +``` + +## 验证方法 + +### 网络面板检查 +现在您应该看到正确的API调用: +```bash +✅ GET /api/variable/list?scope=system +✅ GET /api/variable/list?scope=conversation&conversation_id=xxx +✅ POST /api/variable/create +✅ PUT /api/variable/update?name=xxx&scope=xxx +✅ DELETE /api/variable/delete?name=xxx&scope=xxx +``` + +### 控制台测试 +```javascript +// 测试列出变量API +import('@/api/variable').then(({ listVariables }) => { + listVariables({ scope: 'system' }).then(console.log) +}) + +// 测试创建变量API +import('@/api/variable').then(({ createVariable }) => { + createVariable({ + name: 'test_var', + var_type: 'string', + scope: 'conversation', + value: 'test', + conversation_id: 'test_conv' + }).then(console.log) +}) +``` + +## 错误排查 + +### 如果仍然看到404错误 +1. 检查后端服务是否正常运行 +2. 检查后端variable router是否已注册 +3. 检查VariablePool是否已正确初始化 + +### 如果看到其他HTTP错误 +- 401: 检查用户认证状态 +- 403: 检查变量权限设置 +- 400: 检查请求参数格式 +- 500: 检查后端日志 + +变量API路径现在已完全修复!🎉 \ No newline at end of file diff --git a/src/api/variable.js b/src/api/variable.js new file mode 100644 index 0000000000000000000000000000000000000000..7f726adfb479de8285b8d700cd2317becf154691 --- /dev/null +++ b/src/api/variable.js @@ -0,0 +1,94 @@ +import { get, post, put, del } from '@/apis/server' + +// 变量管理API +const BASE_URL = '/api/variable' + +/** + * 获取支持的变量类型和作用域 + */ +export async function getVariableTypes() { + const [error, response] = await get(`${BASE_URL}/types`) + if (error) throw error + return response +} + +/** + * 创建变量 + * @param {Object} data 变量数据 + */ +export async function createVariable(data) { + const [error, response] = await post(`${BASE_URL}/create`, data) + if (error) throw error + return response +} + +/** + * 更新变量 + * @param {Object} params 查询参数 + * @param {Object} data 变量数据 + */ +export async function updateVariable(params, data) { + const [error, response] = await put(`${BASE_URL}/update`, data, params) + if (error) throw error + return response +} + +/** + * 删除变量 + * @param {Object} params 查询参数 + */ +export async function deleteVariable(params) { + const [error, response] = await del(`${BASE_URL}/delete`, {}, params) + if (error) throw error + return response +} + +/** + * 获取单个变量 + * @param {Object} params 查询参数 + */ +export async function getVariable(params) { + const [error, response] = await get(`${BASE_URL}/get`, params) + if (error) throw error + return response +} + +/** + * 列出变量 + * @param {Object} params 查询参数 + */ +export async function listVariables(params = {}) { + const [error, response] = await get(`${BASE_URL}/list`, params) + if (error) throw error + return response +} + +/** + * 解析模板 + * @param {Object} data 模板数据 + */ +export async function parseTemplate(data) { + const [error, response] = await post(`${BASE_URL}/parse`, data) + if (error) throw error + return response +} + +/** + * 验证模板 + * @param {Object} data 模板数据 + */ +export async function validateTemplate(data) { + const [error, response] = await post(`${BASE_URL}/validate`, data) + if (error) throw error + return response +} + +/** + * 清空对话变量 + * @param {Object} params 查询参数 + */ +export async function clearConversationVariables(params) { + const [error, response] = await post(`${BASE_URL}/clear-conversation`, {}, params) + if (error) throw error + return response +} \ No newline at end of file diff --git a/src/components/CodeMonacoEditor.vue b/src/components/CodeMonacoEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..9a386aa56f92e0466005af75ba0550c81ac7c239 --- /dev/null +++ b/src/components/CodeMonacoEditor.vue @@ -0,0 +1,1073 @@ + + + + + \ No newline at end of file diff --git a/src/components/JSONMonacoEditor.vue b/src/components/JSONMonacoEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..b7e0dd4389964476e9ea3928dafa34ad89b480d7 --- /dev/null +++ b/src/components/JSONMonacoEditor.vue @@ -0,0 +1,207 @@ + + + + + \ No newline at end of file diff --git a/src/components/NodeVariableConfig.vue b/src/components/NodeVariableConfig.vue new file mode 100644 index 0000000000000000000000000000000000000000..42cf8ac4ea088f31c8e2df61e87b27c989b4fa7b --- /dev/null +++ b/src/components/NodeVariableConfig.vue @@ -0,0 +1,420 @@ + + + + + \ No newline at end of file diff --git a/src/components/SafeStartNodeEditor.vue b/src/components/SafeStartNodeEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..f45c2d8a2c7984be877dd130ed862fc993007541 --- /dev/null +++ b/src/components/SafeStartNodeEditor.vue @@ -0,0 +1,436 @@ + + + + + \ No newline at end of file diff --git a/src/components/StartNodeEditor.vue b/src/components/StartNodeEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..b1d7db1c561ceddf5ecf58029ff8ad2585cf3164 --- /dev/null +++ b/src/components/StartNodeEditor.vue @@ -0,0 +1,329 @@ + + + + + \ No newline at end of file diff --git a/src/components/StartNodeVariableManager.vue b/src/components/StartNodeVariableManager.vue new file mode 100644 index 0000000000000000000000000000000000000000..5b8efc7c9b444c6bbd890c31351622fdbf436db3 --- /dev/null +++ b/src/components/StartNodeVariableManager.vue @@ -0,0 +1,535 @@ + + + + + \ No newline at end of file diff --git a/src/components/VariableChooser.vue b/src/components/VariableChooser.vue new file mode 100644 index 0000000000000000000000000000000000000000..0b8d91174eb1f33b2f711b82f187a17c4e3dd53e --- /dev/null +++ b/src/components/VariableChooser.vue @@ -0,0 +1,391 @@ + + + + + \ No newline at end of file diff --git a/src/components/VariableInsertDropdown.vue b/src/components/VariableInsertDropdown.vue new file mode 100644 index 0000000000000000000000000000000000000000..ba50c2b2edf0e864438fd2abc56639a8a2f82918 --- /dev/null +++ b/src/components/VariableInsertDropdown.vue @@ -0,0 +1,231 @@ + + + + + \ No newline at end of file diff --git a/src/components/VariableRichTextEditor.vue b/src/components/VariableRichTextEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..2342d97f566985607287c91b4606e4f5984ccc1a --- /dev/null +++ b/src/components/VariableRichTextEditor.vue @@ -0,0 +1,2222 @@ + + + + + + + \ No newline at end of file diff --git a/src/components/VariableSelector.vue b/src/components/VariableSelector.vue new file mode 100644 index 0000000000000000000000000000000000000000..e2b991dd07093e2c6f5e5e664c872c300e713d1f --- /dev/null +++ b/src/components/VariableSelector.vue @@ -0,0 +1,420 @@ + + + + + + + \ No newline at end of file diff --git a/src/components/YAMLMonacoEditor.vue b/src/components/YAMLMonacoEditor.vue new file mode 100644 index 0000000000000000000000000000000000000000..88837528221984d485d4053a15e4ad3485781f72 --- /dev/null +++ b/src/components/YAMLMonacoEditor.vue @@ -0,0 +1,291 @@ + + + + + \ No newline at end of file diff --git a/src/components/dialoguePanel/FlowCode.vue b/src/components/dialoguePanel/FlowCode.vue index 50a03465a457810465757a834d7196a3d14cace9..a04d4128ddd02d0186dd1e160fd3994281bf8db5 100644 --- a/src/components/dialoguePanel/FlowCode.vue +++ b/src/components/dialoguePanel/FlowCode.vue @@ -1,46 +1,50 @@