From 2328ed8ffae320ded65d4e7f4eff0b737db005b5 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Thu, 20 Jun 2024 11:05:08 +0800 Subject: [PATCH] feat: new icons (#5412) --- .../app/(appDetailLayout)/[appId]/layout.tsx | 28 ++- web/app/(commonLayout)/apps/AppCard.tsx | 4 +- web/app/(commonLayout)/apps/Apps.tsx | 20 +- .../(commonLayout)/datasets/DatasetCard.tsx | 6 +- .../datasets/NewDatasetCard.tsx | 6 +- web/app/(commonLayout)/list.module.css | 4 +- web/app/components/app-sidebar/app-info.tsx | 4 +- .../csv-uploader.tsx | 4 +- .../batch-add-annotation-modal/index.tsx | 4 +- .../edit-annotation-modal/edit-item/index.tsx | 5 +- .../app/annotation/header-opts/index.tsx | 6 +- web/app/components/app/annotation/list.tsx | 5 +- .../components/app/app-publisher/index.tsx | 4 +- .../publish-with-multiple-model.tsx | 4 +- .../components/app/chat/citation/index.tsx | 4 +- web/app/components/app/chat/thought/tool.tsx | 10 +- .../config-prompt/advanced-prompt-input.tsx | 18 +- .../app/configuration/config-prompt/index.tsx | 6 +- .../config-prompt/simple-prompt-input.tsx | 6 +- .../app/configuration/config-var/index.tsx | 10 +- .../app/configuration/config-vision/index.tsx | 6 +- .../config-vision/param-config-content.tsx | 6 +- .../config-voice/param-config-content.tsx | 6 +- .../config/agent/agent-setting/index.tsx | 4 +- .../config/agent/agent-setting/item-panel.tsx | 4 +- .../config/agent/agent-tools/index.tsx | 16 +- .../config/agent/prompt-editor.tsx | 5 +- .../config/assistant-type-picker/index.tsx | 4 +- .../dataset-config/card-item/item.tsx | 5 +- .../dataset-config/context-var/index.tsx | 6 +- .../params-config/config-content.tsx | 6 +- .../dataset-config/settings-modal/index.tsx | 6 +- .../model-parameter-trigger.tsx | 4 +- .../app/configuration/debug/index.tsx | 6 +- .../chat-group/opening-statement/index.tsx | 9 +- .../index.tsx | 6 +- .../prompt-value-panel/index.tsx | 9 +- .../toolbox/annotation/config-param.tsx | 7 +- .../app/configuration/tools/index.tsx | 18 +- .../app/create-app-dialog/index.tsx | 4 +- .../components/app/create-app-modal/index.tsx | 11 +- .../app/create-from-dsl-modal/index.tsx | 4 +- .../app/create-from-dsl-modal/uploader.tsx | 7 +- web/app/components/app/log/var-panel.tsx | 9 +- .../app/overview/apikey-info-panel/index.tsx | 5 +- .../components/app/switch-app-modal/index.tsx | 4 +- .../app/text-generate/item/index.tsx | 7 +- .../components/app/type-selector/index.tsx | 4 +- .../components/app/workflow-log/detail.tsx | 4 +- .../components/base/agent-log-modal/index.tsx | 4 +- .../base/agent-log-modal/tool-call.tsx | 10 +- web/app/components/base/button/add-button.tsx | 4 +- .../chat/chat/answer/workflow-process.tsx | 14 +- web/app/components/base/confirm/common.tsx | 10 +- web/app/components/base/copy-icon/index.tsx | 5 +- web/app/components/base/drawer-plus/index.tsx | 4 +- web/app/components/base/dropdown/index.tsx | 6 +- .../base/features/feature-choose/index.tsx | 6 +- .../feature-panel/opening-statement/index.tsx | 9 +- .../index.tsx | 6 +- .../text-to-speech/param-config-content.tsx | 6 +- .../header-nav/explore/explore-active.svg | 13 -- .../public/header-nav/explore/explore.svg | 13 -- .../header-nav/knowledge/knowledge-active.svg | 3 - .../public/header-nav/knowledge/knowledge.svg | 3 - .../public/header-nav/studio/Robot-Active.svg | 4 - .../assets/public/header-nav/studio/Robot.svg | 3 - .../public/header-nav/tools/tools-active.svg | 5 - .../assets/public/header-nav/tools/tools.svg | 14 -- .../line/alertsAndFeedback/alert-circle.svg | 5 - .../vender/line/arrows/arrow-narrow-right.svg | 3 - .../vender/line/arrows/chevron-down.svg | 5 - .../assets/vender/line/arrows/collapse-04.svg | 3 - .../assets/vender/line/editor/bold-01.svg | 5 - .../assets/vender/line/editor/cursor-02c.svg | 5 - .../vender/line/editor/dotpoints-01.svg | 5 - .../assets/vender/line/editor/hand-02.svg | 5 - .../assets/vender/line/editor/italic-01.svg | 3 - .../vender/line/editor/strikethrough-01.svg | 5 - .../assets/vender/line/editor/title-case.svg | 8 - .../assets/vender/line/editor/zoom-in.svg | 5 - .../assets/vender/line/editor/zoom-out.svg | 5 - .../vender/line/education/book-open-02.svg | 5 - .../vender/line/files/sticker-square.svg | 5 - .../vender/line/general/check-circle.svg | 10 - .../assets/vender/line/general/checklist.svg | 5 - .../vender/line/general/dots-horizontal.svg | 9 - .../assets/vender/line/general/edit-03.svg | 5 - .../vender/line/general/help-circle.svg | 3 - .../assets/vender/line/general/link-01.svg | 5 - .../vender/line/general/link-broken-01.svg | 10 - .../vender/line/general/link-external-01.svg | 5 - .../assets/vender/line/general/loading-02.svg | 10 - .../icons/assets/vender/line/general/plus.svg | 5 - .../assets/vender/line/general/search-lg.svg | 5 - .../assets/vender/line/general/trash-03.svg | 3 - .../assets/vender/line/general/x-close.svg | 5 - .../vender/line/layout/organize-grid.svg | 10 - .../vender/line/mediaAndDevices/play.svg | 5 - .../solid/alertsAndFeedback/alert-circle.svg | 5 - .../assets/vender/solid/arrows/expand-04.svg | 5 - .../assets/vender/solid/editor/cursor-02c.svg | 5 - .../assets/vender/solid/editor/hand-02.svg | 5 - .../public/header-nav/explore/Explore.json | 96 -------- .../src/public/header-nav/explore/Explore.tsx | 16 -- .../header-nav/explore/ExploreActive.json | 88 ------- .../header-nav/explore/ExploreActive.tsx | 16 -- .../src/public/header-nav/explore/index.ts | 2 - .../header-nav/knowledge/Knowledge.json | 29 --- .../public/header-nav/knowledge/Knowledge.tsx | 16 -- .../header-nav/knowledge/KnowledgeActive.json | 28 --- .../header-nav/knowledge/KnowledgeActive.tsx | 16 -- .../src/public/header-nav/knowledge/index.ts | 2 - .../src/public/header-nav/studio/Robot.json | 29 --- .../src/public/header-nav/studio/Robot.tsx | 16 -- .../public/header-nav/studio/RobotActive.json | 39 ---- .../public/header-nav/studio/RobotActive.tsx | 16 -- .../src/public/header-nav/studio/index.ts | 2 - .../src/public/header-nav/tools/Tools.json | 112 --------- .../src/public/header-nav/tools/Tools.tsx | 16 -- .../public/header-nav/tools/ToolsActive.json | 46 ---- .../public/header-nav/tools/ToolsActive.tsx | 16 -- .../src/public/header-nav/tools/index.ts | 2 - .../line/alertsAndFeedback/AlertCircle.json | 39 ---- .../line/alertsAndFeedback/AlertCircle.tsx | 16 -- .../vender/line/alertsAndFeedback/index.ts | 1 - .../vender/line/arrows/ArrowNarrowRight.json | 29 --- .../vender/line/arrows/ArrowNarrowRight.tsx | 16 -- .../src/vender/line/arrows/ChevronDown.json | 39 ---- .../src/vender/line/arrows/ChevronDown.tsx | 16 -- .../src/vender/line/arrows/Collapse04.json | 29 --- .../src/vender/line/arrows/Collapse04.tsx | 16 -- .../icons/src/vender/line/arrows/index.ts | 3 - .../icons/src/vender/line/editor/Bold01.json | 39 ---- .../icons/src/vender/line/editor/Bold01.tsx | 16 -- .../src/vender/line/editor/Cursor02C.json | 38 --- .../src/vender/line/editor/Cursor02C.tsx | 16 -- .../src/vender/line/editor/Dotpoints01.json | 39 ---- .../src/vender/line/editor/Dotpoints01.tsx | 16 -- .../icons/src/vender/line/editor/Hand02.json | 39 ---- .../icons/src/vender/line/editor/Hand02.tsx | 16 -- .../src/vender/line/editor/Italic01.json | 29 --- .../icons/src/vender/line/editor/Italic01.tsx | 16 -- .../vender/line/editor/Strikethrough01.json | 39 ---- .../vender/line/editor/Strikethrough01.tsx | 16 -- .../src/vender/line/editor/TitleCase.json | 53 ----- .../src/vender/line/editor/TitleCase.tsx | 16 -- .../icons/src/vender/line/editor/ZoomIn.json | 39 ---- .../icons/src/vender/line/editor/ZoomIn.tsx | 16 -- .../icons/src/vender/line/editor/ZoomOut.json | 39 ---- .../icons/src/vender/line/editor/ZoomOut.tsx | 16 -- .../icons/src/vender/line/editor/index.ts | 9 - .../src/vender/line/education/BookOpen02.json | 39 ---- .../src/vender/line/education/BookOpen02.tsx | 16 -- .../icons/src/vender/line/education/index.ts | 1 - .../src/vender/line/files/StickerSquare.json | 39 ---- .../src/vender/line/files/StickerSquare.tsx | 16 -- .../base/icons/src/vender/line/files/index.ts | 1 - .../src/vender/line/general/CheckCircle.json | 66 ------ .../src/vender/line/general/CheckCircle.tsx | 16 -- .../src/vender/line/general/Checklist.json | 39 ---- .../src/vender/line/general/Checklist.tsx | 16 -- .../vender/line/general/DotsHorizontal.json | 71 ------ .../vender/line/general/DotsHorizontal.tsx | 16 -- .../icons/src/vender/line/general/Edit03.json | 39 ---- .../icons/src/vender/line/general/Edit03.tsx | 16 -- .../src/vender/line/general/HelpCircle.json | 30 --- .../src/vender/line/general/HelpCircle.tsx | 16 -- .../icons/src/vender/line/general/Link01.json | 39 ---- .../icons/src/vender/line/general/Link01.tsx | 16 -- .../src/vender/line/general/LinkBroken01.json | 66 ------ .../src/vender/line/general/LinkBroken01.tsx | 16 -- .../vender/line/general/LinkExternal01.json | 38 --- .../vender/line/general/LinkExternal01.tsx | 16 -- .../src/vender/line/general/Loading02.json | 64 ----- .../src/vender/line/general/Loading02.tsx | 16 -- .../icons/src/vender/line/general/Plus.json | 39 ---- .../icons/src/vender/line/general/Plus.tsx | 16 -- .../src/vender/line/general/SearchLg.json | 39 ---- .../src/vender/line/general/SearchLg.tsx | 16 -- .../src/vender/line/general/Trash03.json | 29 --- .../icons/src/vender/line/general/Trash03.tsx | 16 -- .../icons/src/vender/line/general/XClose.json | 39 ---- .../icons/src/vender/line/general/XClose.tsx | 16 -- .../icons/src/vender/line/general/index.ts | 13 -- .../src/vender/line/layout/OrganizeGrid.json | 81 ------- .../src/vender/line/layout/OrganizeGrid.tsx | 16 -- .../icons/src/vender/line/layout/index.ts | 1 - .../src/vender/line/mediaAndDevices/Play.json | 39 ---- .../src/vender/line/mediaAndDevices/Play.tsx | 16 -- .../src/vender/line/mediaAndDevices/index.ts | 1 - .../solid/alertsAndFeedback/AlertCircle.json | 38 --- .../solid/alertsAndFeedback/AlertCircle.tsx | 16 -- .../vender/solid/alertsAndFeedback/index.ts | 1 - .../src/vender/solid/arrows/Expand04.json | 39 ---- .../src/vender/solid/arrows/Expand04.tsx | 16 -- .../icons/src/vender/solid/arrows/index.ts | 1 - .../src/vender/solid/editor/Cursor02C.json | 36 --- .../src/vender/solid/editor/Cursor02C.tsx | 16 -- .../icons/src/vender/solid/editor/Hand02.json | 38 --- .../icons/src/vender/solid/editor/Hand02.tsx | 16 -- .../icons/src/vender/solid/editor/index.ts | 2 - .../base/image-uploader/image-list.tsx | 10 +- .../base/image-uploader/image-preview.tsx | 4 +- .../base/message-log-modal/index.tsx | 4 +- .../base/modal/delete-confirm-modal/index.tsx | 6 +- web/app/components/base/param-item/index.tsx | 6 +- .../plugins/context-block/component.tsx | 6 +- .../plugins/history-block/component.tsx | 6 +- .../workflow-variable-block/component.tsx | 6 +- .../base/prompt-log-modal/index.tsx | 4 +- .../components/base/search-input/index.tsx | 4 +- .../components/base/tag-management/filter.tsx | 4 +- .../components/base/tag-management/index.tsx | 4 +- .../base/tag-management/selector.tsx | 4 +- .../base/tag-management/tag-item-editor.tsx | 9 +- .../base/tag-management/tag-remove-modal.tsx | 4 +- web/app/components/base/voice-input/index.tsx | 9 +- .../components/billing/billing-page/index.tsx | 6 +- web/app/components/billing/pricing/index.tsx | 4 +- .../components/billing/pricing/plan-item.tsx | 10 +- .../custom/custom-web-app-brand/index.tsx | 6 +- .../common/retrieval-param-config/index.tsx | 6 +- .../create/embedding-process/index.tsx | 6 +- .../datasets/create/step-two/index.tsx | 9 +- .../create/step-two/language-select/index.tsx | 4 +- .../create/website/firecrawl/base/field.tsx | 6 +- .../detail/batch-modal/csv-uploader.tsx | 6 +- .../documents/detail/batch-modal/index.tsx | 4 +- .../detail/completed/SegmentCard.tsx | 10 +- .../documents/detail/completed/index.tsx | 9 +- .../documents/detail/new-segment-modal.tsx | 5 +- .../documents/detail/segment-add/index.tsx | 10 +- .../components/datasets/documents/list.tsx | 9 +- .../hit-testing/modify-retrieval-modal.tsx | 4 +- .../datasets/rename-modal/index.tsx | 4 +- .../explore/create-app-modal/index.tsx | 4 +- .../explore/item-operation/index.tsx | 10 +- .../components/header/account-about/index.tsx | 4 +- .../header/account-dropdown/index.tsx | 5 +- .../account-setting/account-page/index.tsx | 10 +- .../api-based-extension-page/index.tsx | 6 +- .../api-based-extension-page/item.tsx | 7 +- .../api-based-extension-page/selector.tsx | 12 +- .../data-source-notion/operate/index.tsx | 18 +- .../data-source-page/panel/config-item.tsx | 6 +- .../header/account-setting/index.tsx | 72 +++--- .../key-validator/ValidateStatus.tsx | 6 +- .../account-setting/members-page/index.tsx | 4 +- .../model-provider-page/model-modal/Form.tsx | 6 +- .../model-provider-page/model-modal/index.tsx | 6 +- .../model-load-balancing-entry-modal.tsx | 6 +- .../model-parameter-modal/parameter-item.tsx | 6 +- .../presets-parameter.tsx | 4 +- .../model-parameter-modal/trigger.tsx | 4 +- .../model-selector/empty-trigger.tsx | 4 +- .../model-selector/model-trigger.tsx | 4 +- .../model-selector/popup.tsx | 6 +- .../model-selector/rerank-trigger.tsx | 6 +- .../provider-added-card/index.tsx | 6 +- .../model-load-balancing-configs.tsx | 10 +- .../provider-added-card/priority-selector.tsx | 9 +- .../provider-card/index.tsx | 7 +- .../system-model-selector/index.tsx | 15 +- web/app/components/header/app-nav/index.tsx | 9 +- .../components/header/dataset-nav/index.tsx | 9 +- .../components/header/explore-nav/index.tsx | 9 +- .../header/nav/nav-selector/index.tsx | 15 +- web/app/components/header/tools-nav/index.tsx | 9 +- .../share/text-generation/index.tsx | 6 +- .../share/text-generation/run-batch/index.tsx | 6 +- .../components/tools/add-tool-modal/index.tsx | 9 +- .../components/tools/add-tool-modal/tools.tsx | 7 +- .../config-credentials.tsx | 6 +- .../get-schema.tsx | 10 +- web/app/components/tools/labels/filter.tsx | 4 +- web/app/components/tools/labels/selector.tsx | 4 +- web/app/components/tools/provider-list.tsx | 5 +- .../components/tools/provider/contribute.tsx | 6 +- .../tools/provider/custom-create-card.tsx | 6 +- web/app/components/tools/tool-list/index.tsx | 220 ------------------ .../workflow-tool/confirm-modal/index.tsx | 4 +- .../components/tools/workflow-tool/index.tsx | 6 +- .../tools/workflow-tool/method-selector.tsx | 4 +- .../workflow/block-selector/index.tsx | 6 +- web/app/components/workflow/features.tsx | 4 +- .../components/workflow/header/checklist.tsx | 10 +- .../workflow/header/run-and-history.tsx | 10 +- .../workflow/header/view-history.tsx | 14 +- .../nodes/_base/components/add-button.tsx | 6 +- .../components/before-run-form/form-item.tsx | 8 +- .../components/before-run-form/index.tsx | 9 +- .../nodes/_base/components/editor/base.tsx | 5 +- .../workflow/nodes/_base/components/field.tsx | 10 +- .../nodes/_base/components/help-link.tsx | 4 +- .../nodes/_base/components/next-step/add.tsx | 6 +- .../nodes/_base/components/node-control.tsx | 6 +- .../_base/components/panel-operator/index.tsx | 4 +- .../nodes/_base/components/prompt/editor.tsx | 11 +- .../nodes/_base/components/remove-button.tsx | 4 +- .../_base/components/toggle-expand-btn.tsx | 8 +- .../variable/var-reference-picker.tsx | 10 +- .../variable/var-reference-vars.tsx | 8 +- .../components/variable/var-type-picker.tsx | 4 +- .../components/workflow/nodes/_base/node.tsx | 16 +- .../components/workflow/nodes/_base/panel.tsx | 12 +- .../workflow/nodes/code/dependency-picker.tsx | 11 +- .../nodes/http/components/api-input.tsx | 4 +- .../if-else/components/condition-item.tsx | 6 +- .../workflow/nodes/iteration/add-block.tsx | 6 +- .../workflow/nodes/iteration/panel.tsx | 7 +- .../components/dataset-item.tsx | 7 +- .../components/retrieval-config.tsx | 4 +- .../llm/components/config-prompt-item.tsx | 4 +- .../components/workflow/nodes/llm/panel.tsx | 6 +- .../components/extract-parameter/item.tsx | 9 +- .../nodes/parameter-extractor/panel.tsx | 6 +- .../components/advanced-setting.tsx | 6 +- .../components/class-item.tsx | 6 +- .../nodes/start/components/var-item.tsx | 6 +- .../nodes/template-transform/panel.tsx | 6 +- .../components/var-group-item.tsx | 6 +- .../plugins/link-editor-plugin/component.tsx | 16 +- .../note-node/note-editor/toolbar/command.tsx | 24 +- .../toolbar/font-size-selector.tsx | 6 +- .../note-editor/toolbar/operator.tsx | 4 +- .../workflow/operator/add-block.tsx | 4 +- .../components/workflow/operator/control.tsx | 28 +-- .../workflow/operator/zoom-in-out.tsx | 12 +- .../workflow/panel/chat-record/index.tsx | 4 +- .../workflow/panel/chat-record/user-input.tsx | 4 +- .../panel/debug-and-preview/index.tsx | 4 +- .../panel/debug-and-preview/user-input.tsx | 4 +- .../workflow/panel/workflow-preview.tsx | 10 +- .../workflow/run/iteration-result-panel.tsx | 4 +- web/app/components/workflow/run/node.tsx | 22 +- web/package.json | 1 + web/yarn.lock | 5 + 338 files changed, 880 insertions(+), 3669 deletions(-) delete mode 100644 web/app/components/base/icons/assets/public/header-nav/explore/explore-active.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/explore/explore.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge-active.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/studio/Robot.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/tools/tools-active.svg delete mode 100644 web/app/components/base/icons/assets/public/header-nav/tools/tools.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/alertsAndFeedback/alert-circle.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/arrows/arrow-narrow-right.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/arrows/chevron-down.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/arrows/collapse-04.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/bold-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/cursor-02c.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/dotpoints-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/hand-02.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/italic-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/strikethrough-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/title-case.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/zoom-in.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/editor/zoom-out.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/education/book-open-02.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/files/sticker-square.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/check-circle.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/checklist.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/dots-horizontal.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/edit-03.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/help-circle.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/link-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/link-broken-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/link-external-01.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/loading-02.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/plus.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/search-lg.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/trash-03.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/general/x-close.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/layout/organize-grid.svg delete mode 100644 web/app/components/base/icons/assets/vender/line/mediaAndDevices/play.svg delete mode 100644 web/app/components/base/icons/assets/vender/solid/alertsAndFeedback/alert-circle.svg delete mode 100644 web/app/components/base/icons/assets/vender/solid/arrows/expand-04.svg delete mode 100644 web/app/components/base/icons/assets/vender/solid/editor/cursor-02c.svg delete mode 100644 web/app/components/base/icons/assets/vender/solid/editor/hand-02.svg delete mode 100644 web/app/components/base/icons/src/public/header-nav/explore/Explore.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/explore/Explore.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/explore/index.ts delete mode 100644 web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/knowledge/index.ts delete mode 100644 web/app/components/base/icons/src/public/header-nav/studio/Robot.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/studio/Robot.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/studio/RobotActive.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/studio/RobotActive.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/studio/index.ts delete mode 100644 web/app/components/base/icons/src/public/header-nav/tools/Tools.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/tools/Tools.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.json delete mode 100644 web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.tsx delete mode 100644 web/app/components/base/icons/src/public/header-nav/tools/index.ts delete mode 100644 web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.json delete mode 100644 web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.json delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/ChevronDown.json delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/ChevronDown.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/Collapse04.json delete mode 100644 web/app/components/base/icons/src/vender/line/arrows/Collapse04.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Bold01.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Bold01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Cursor02C.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Cursor02C.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Dotpoints01.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Dotpoints01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Hand02.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Hand02.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Italic01.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Italic01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Strikethrough01.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/Strikethrough01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/TitleCase.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/TitleCase.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/ZoomIn.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/ZoomIn.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/editor/ZoomOut.json delete mode 100644 web/app/components/base/icons/src/vender/line/editor/ZoomOut.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/education/BookOpen02.json delete mode 100644 web/app/components/base/icons/src/vender/line/education/BookOpen02.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/files/StickerSquare.json delete mode 100644 web/app/components/base/icons/src/vender/line/files/StickerSquare.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/CheckCircle.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/CheckCircle.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Checklist.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Checklist.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/DotsHorizontal.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/DotsHorizontal.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Edit03.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Edit03.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/HelpCircle.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/HelpCircle.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Link01.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Link01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/LinkBroken01.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/LinkBroken01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/LinkExternal01.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/LinkExternal01.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Loading02.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Loading02.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Plus.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Plus.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/SearchLg.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/SearchLg.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/Trash03.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/Trash03.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/general/XClose.json delete mode 100644 web/app/components/base/icons/src/vender/line/general/XClose.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.json delete mode 100644 web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.tsx delete mode 100644 web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.json delete mode 100644 web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.tsx delete mode 100644 web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.json delete mode 100644 web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.tsx delete mode 100644 web/app/components/base/icons/src/vender/solid/arrows/Expand04.json delete mode 100644 web/app/components/base/icons/src/vender/solid/arrows/Expand04.tsx delete mode 100644 web/app/components/base/icons/src/vender/solid/editor/Cursor02C.json delete mode 100644 web/app/components/base/icons/src/vender/solid/editor/Cursor02C.tsx delete mode 100644 web/app/components/base/icons/src/vender/solid/editor/Hand02.json delete mode 100644 web/app/components/base/icons/src/vender/solid/editor/Hand02.tsx delete mode 100644 web/app/components/tools/tool-list/index.tsx diff --git a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout.tsx b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout.tsx index 1aebec0b4f1..c51f7071f1e 100644 --- a/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout.tsx +++ b/web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout.tsx @@ -4,6 +4,16 @@ import { useUnmount } from 'ahooks' import React, { useCallback, useEffect, useState } from 'react' import { usePathname, useRouter } from 'next/navigation' import cn from 'classnames' +import { + RiDashboard2Fill, + RiDashboard2Line, + RiFileList3Fill, + RiFileList3Line, + RiTerminalBoxFill, + RiTerminalBoxLine, + RiTerminalWindowFill, + RiTerminalWindowLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useShallow } from 'zustand/react/shallow' import s from './style.module.css' @@ -13,8 +23,6 @@ import type { NavIcon } from '@/app/components/app-sidebar/navLink' import { fetchAppDetail } from '@/service/apps' import { useAppContext } from '@/context/app-context' import Loading from '@/app/components/base/loading' -import { BarChartSquare02, FileHeart02, PromptEngineering, TerminalSquare } from '@/app/components/base/icons/src/vender/line/development' -import { BarChartSquare02 as BarChartSquare02Solid, FileHeart02 as FileHeart02Solid, PromptEngineering as PromptEngineeringSolid, TerminalSquare as TerminalSquareSolid } from '@/app/components/base/icons/src/vender/solid/development' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' export type IAppDetailLayoutProps = { @@ -51,16 +59,16 @@ const AppDetailLayout: FC = (props) => { ? [{ name: t('common.appMenus.promptEng'), href: `/app/${appId}/${(mode === 'workflow' || mode === 'advanced-chat') ? 'workflow' : 'configuration'}`, - icon: PromptEngineering, - selectedIcon: PromptEngineeringSolid, + icon: RiTerminalWindowLine, + selectedIcon: RiTerminalWindowFill, }] : [] ), { name: t('common.appMenus.apiAccess'), href: `/app/${appId}/develop`, - icon: TerminalSquare, - selectedIcon: TerminalSquareSolid, + icon: RiTerminalBoxLine, + selectedIcon: RiTerminalBoxFill, }, ...(isCurrentWorkspaceManager ? [{ @@ -68,16 +76,16 @@ const AppDetailLayout: FC = (props) => { ? t('common.appMenus.logAndAnn') : t('common.appMenus.logs'), href: `/app/${appId}/logs`, - icon: FileHeart02, - selectedIcon: FileHeart02Solid, + icon: RiFileList3Line, + selectedIcon: RiFileList3Fill, }] : [] ), { name: t('common.appMenus.overview'), href: `/app/${appId}/overview`, - icon: BarChartSquare02, - selectedIcon: BarChartSquare02Solid, + icon: RiDashboard2Line, + selectedIcon: RiDashboard2Fill, }, ] return navs diff --git a/web/app/(commonLayout)/apps/AppCard.tsx b/web/app/(commonLayout)/apps/AppCard.tsx index c36090d476b..f0007b7e414 100644 --- a/web/app/(commonLayout)/apps/AppCard.tsx +++ b/web/app/(commonLayout)/apps/AppCard.tsx @@ -5,6 +5,7 @@ import { useRouter } from 'next/navigation' import { useCallback, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiMoreFill } from '@remixicon/react' import s from './style.module.css' import type { App } from '@/types/app' import Confirm from '@/app/components/base/confirm' @@ -22,7 +23,6 @@ import { useProviderContext } from '@/context/provider-context' import { NEED_REFRESH_APP_LIST_KEY } from '@/config' import { AiText, ChatBot, CuteRobote } from '@/app/components/base/icons/src/vender/solid/communication' import { Route } from '@/app/components/base/icons/src/vender/solid/mapsAndTravel' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import type { CreateAppModalProps } from '@/app/components/explore/create-app-modal' import EditAppModal from '@/app/components/explore/create-app-modal' import SwitchAppModal from '@/app/components/app/switch-app-modal' @@ -310,7 +310,7 @@ const AppCard = ({ app, onRefresh }: AppCardProps) => {
- +
} btnClassName={open => diff --git a/web/app/(commonLayout)/apps/Apps.tsx b/web/app/(commonLayout)/apps/Apps.tsx index bf91d42fc8f..a82ddd74b58 100644 --- a/web/app/(commonLayout)/apps/Apps.tsx +++ b/web/app/(commonLayout)/apps/Apps.tsx @@ -4,6 +4,12 @@ import { useCallback, useEffect, useRef, useState } from 'react' import useSWRInfinite from 'swr/infinite' import { useTranslation } from 'react-i18next' import { useDebounceFn } from 'ahooks' +import { + RiApps2Line, + RiExchange2Line, + RiMessage3Line, + RiRobot3Line, +} from '@remixicon/react' import AppCard from './AppCard' import NewAppCard from './NewAppCard' import useAppsQueryState from './hooks/useAppsQueryState' @@ -14,12 +20,6 @@ import { NEED_REFRESH_APP_LIST_KEY } from '@/config' import { CheckModal } from '@/hooks/use-pay' import TabSliderNew from '@/app/components/base/tab-slider-new' import { useTabSearchParams } from '@/hooks/use-tab-searchparams' -import { DotsGrid } from '@/app/components/base/icons/src/vender/line/general' -import { - ChatBot, - CuteRobot, -} from '@/app/components/base/icons/src/vender/line/communication' -import { Route } from '@/app/components/base/icons/src/vender/line/mapsAndTravel' import SearchInput from '@/app/components/base/search-input' import { useStore as useTagStore } from '@/app/components/base/tag-management/store' import TagManagementModal from '@/app/components/base/tag-management' @@ -73,10 +73,10 @@ const Apps = () => { const anchorRef = useRef(null) const options = [ - { value: 'all', text: t('app.types.all'), icon: }, - { value: 'chat', text: t('app.types.chatbot'), icon: }, - { value: 'agent-chat', text: t('app.types.agent'), icon: }, - { value: 'workflow', text: t('app.types.workflow'), icon: }, + { value: 'all', text: t('app.types.all'), icon: }, + { value: 'chat', text: t('app.types.chatbot'), icon: }, + { value: 'agent-chat', text: t('app.types.agent'), icon: }, + { value: 'workflow', text: t('app.types.workflow'), icon: }, ] useEffect(() => { diff --git a/web/app/(commonLayout)/datasets/DatasetCard.tsx b/web/app/(commonLayout)/datasets/DatasetCard.tsx index 9fe0af4bba1..8f132414249 100644 --- a/web/app/(commonLayout)/datasets/DatasetCard.tsx +++ b/web/app/(commonLayout)/datasets/DatasetCard.tsx @@ -5,6 +5,9 @@ import Link from 'next/link' import { useCallback, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiMoreFill, +} from '@remixicon/react' import Confirm from '@/app/components/base/confirm' import { ToastContext } from '@/app/components/base/toast' import { deleteDataset } from '@/service/datasets' @@ -14,7 +17,6 @@ import { Folder } from '@/app/components/base/icons/src/vender/solid/files' import type { HtmlContentProps } from '@/app/components/base/popover' import CustomPopover from '@/app/components/base/popover' import Divider from '@/app/components/base/divider' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import RenameDatasetModal from '@/app/components/datasets/rename-modal' import type { Tag } from '@/app/components/base/tag-management/constant' import TagSelector from '@/app/components/base/tag-management/selector' @@ -167,7 +169,7 @@ const DatasetCard = ({
- +
} btnClassName={open => diff --git a/web/app/(commonLayout)/datasets/NewDatasetCard.tsx b/web/app/(commonLayout)/datasets/NewDatasetCard.tsx index f3e34ff7e22..f76efa57696 100644 --- a/web/app/(commonLayout)/datasets/NewDatasetCard.tsx +++ b/web/app/(commonLayout)/datasets/NewDatasetCard.tsx @@ -2,7 +2,9 @@ import { forwardRef } from 'react' import { useTranslation } from 'react-i18next' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' +import { + RiAddLine, +} from '@remixicon/react' const CreateAppCard = forwardRef((_, ref) => { const { t } = useTranslation() @@ -11,7 +13,7 @@ const CreateAppCard = forwardRef((_, ref) => {
- +
{t('dataset.createDataset')}
diff --git a/web/app/(commonLayout)/list.module.css b/web/app/(commonLayout)/list.module.css index 3e34f11ea5f..bb2aa8606c3 100644 --- a/web/app/(commonLayout)/list.module.css +++ b/web/app/(commonLayout)/list.module.css @@ -85,13 +85,13 @@ background-image: url("./apps/assets/add.svg"); } -.newItemIconChat { +/* .newItemIconChat { background-image: url("~@/app/components/base/icons/assets/public/header-nav/studio/Robot.svg"); } .selected .newItemIconChat { background-image: url("~@/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg"); -} +} */ .newItemIconComplete { background-image: url("./apps/assets/completion.svg"); diff --git a/web/app/components/app-sidebar/app-info.tsx b/web/app/components/app-sidebar/app-info.tsx index 2d18e8e0c2e..89d5a93dbec 100644 --- a/web/app/components/app-sidebar/app-info.tsx +++ b/web/app/components/app-sidebar/app-info.tsx @@ -2,6 +2,7 @@ import { useTranslation } from 'react-i18next' import { useRouter } from 'next/navigation' import { useContext, useContextSelector } from 'use-context-selector' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import React, { useCallback, useState } from 'react' import AppIcon from '../base/app-icon' import SwitchAppModal from '../app/switch-app-modal' @@ -11,7 +12,6 @@ import { PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import Divider from '@/app/components/base/divider' import Confirm from '@/app/components/base/confirm' import { useStore as useAppStore } from '@/app/components/app/store' @@ -190,7 +190,7 @@ const AppInfo = ({ expand }: IAppInfoProps) => {
{appDetail.name}
- {isCurrentWorkspaceEditor && } + {isCurrentWorkspaceEditor && }
{appDetail.mode === 'advanced-chat' && ( diff --git a/web/app/components/app/annotation/batch-add-annotation-modal/csv-uploader.tsx b/web/app/components/app/annotation/batch-add-annotation-modal/csv-uploader.tsx index 67c69aacc3d..ed84d0e05cd 100644 --- a/web/app/components/app/annotation/batch-add-annotation-modal/csv-uploader.tsx +++ b/web/app/components/app/annotation/batch-add-annotation-modal/csv-uploader.tsx @@ -4,9 +4,9 @@ import React, { useEffect, useRef, useState } from 'react' import cn from 'classnames' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' +import { RiDeleteBinLine } from '@remixicon/react' import { Csv as CSVIcon } from '@/app/components/base/icons/src/public/files' import { ToastContext } from '@/app/components/base/toast' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import Button from '@/app/components/base/button' export type Props = { @@ -113,7 +113,7 @@ const CSVUploader: FC = ({
- +
diff --git a/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx b/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx index db5aab52518..8295df6e4df 100644 --- a/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx +++ b/web/app/components/app/annotation/batch-add-annotation-modal/index.tsx @@ -2,11 +2,11 @@ import type { FC } from 'react' import React, { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import CSVUploader from './csv-uploader' import CSVDownloader from './csv-downloader' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import Toast from '@/app/components/base/toast' import { annotationBatchImport, checkAnnotationBatchImportProgress } from '@/service/annotation' import { useProviderContext } from '@/context/provider-context' @@ -90,7 +90,7 @@ const BatchModal: FC = ({ { }} className='px-8 py-6 !max-w-[520px] !rounded-xl'>
{t('appAnnotation.batchModal.title')}
- +
= ({ }} >
- +
{t('common.operation.delete')}
diff --git a/web/app/components/app/annotation/header-opts/index.tsx b/web/app/components/app/annotation/header-opts/index.tsx index 9573b052f3f..6268df65f04 100644 --- a/web/app/components/app/annotation/header-opts/index.tsx +++ b/web/app/components/app/annotation/header-opts/index.tsx @@ -3,13 +3,15 @@ import type { FC } from 'react' import React, { Fragment, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiAddLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import { useCSVDownloader, } from 'react-papaparse' import { Menu, Transition } from '@headlessui/react' import Button from '../../../base/button' -import { Plus } from '../../../base/icons/src/vender/line/general' import AddAnnotationModal from '../add-annotation-modal' import type { AnnotationItemBasic } from '../type' import BatchAddModal from '../batch-add-annotation-modal' @@ -136,7 +138,7 @@ const HeaderOptions: FC = ({ return (
= ({ setShowConfirmDelete(true) }} > - +
diff --git a/web/app/components/app/app-publisher/index.tsx b/web/app/components/app/app-publisher/index.tsx index 29b556705b3..bb8a373f0b8 100644 --- a/web/app/components/app/app-publisher/index.tsx +++ b/web/app/components/app/app-publisher/index.tsx @@ -6,6 +6,7 @@ import { import { useTranslation } from 'react-i18next' import dayjs from 'dayjs' import classNames from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import type { ModelAndParameter } from '../configuration/debug/types' import SuggestedAction from './suggested-action' import PublishWithMultipleModel from './publish-with-multiple-model' @@ -18,7 +19,6 @@ import { import EmbeddedModal from '@/app/components/app/overview/embedded' import { useStore as useAppStore } from '@/app/components/app/store' import { useGetLanguage } from '@/context/i18n' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { PlayCircle } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' import { CodeBrowser } from '@/app/components/base/icons/src/vender/line/development' import { LeftIndent02 } from '@/app/components/base/icons/src/vender/line/editor' @@ -126,7 +126,7 @@ const AppPublisher = ({ `} > {t('workflow.common.publish')} - + diff --git a/web/app/components/app/app-publisher/publish-with-multiple-model.tsx b/web/app/components/app/app-publisher/publish-with-multiple-model.tsx index 2953e1bea65..b3f4725e429 100644 --- a/web/app/components/app/app-publisher/publish-with-multiple-model.tsx +++ b/web/app/components/app/app-publisher/publish-with-multiple-model.tsx @@ -1,6 +1,7 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiArrowDownSLine } from '@remixicon/react' import type { ModelAndParameter } from '../configuration/debug/types' import ModelIcon from '../../header/account-setting/model-provider-page/model-icon' import Button from '@/app/components/base/button' @@ -9,7 +10,6 @@ import { PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { useProviderContext } from '@/context/provider-context' import type { Model, ModelItem } from '@/app/components/header/account-setting/model-provider-page/declarations' import { useLanguage } from '@/app/components/header/account-setting/model-provider-page/hooks' @@ -73,7 +73,7 @@ const PublishWithMultipleModel: FC = ({ className='mt-3 px-3 py-0 w-full h-8 border-[0.5px] border-primary-700 rounded-lg text-[13px] font-medium' > {t('appDebug.operation.applyConfig')} - + diff --git a/web/app/components/app/chat/citation/index.tsx b/web/app/components/app/chat/citation/index.tsx index 4d9087edb31..4bed9638d36 100644 --- a/web/app/components/app/chat/citation/index.tsx +++ b/web/app/components/app/chat/citation/index.tsx @@ -1,9 +1,9 @@ import { useEffect, useMemo, useRef, useState } from 'react' import type { FC } from 'react' import { useTranslation } from 'react-i18next' +import { RiArrowDownSLine } from '@remixicon/react' import type { CitationItem } from '../type' import Popup from './popup' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' export type Resources = { documentId: string @@ -112,7 +112,7 @@ const Citation: FC = ({ { !showMore ? `+ ${resourcesLength - limitNumberInOneLine}` - : + : } ) diff --git a/web/app/components/app/chat/thought/tool.tsx b/web/app/components/app/chat/thought/tool.tsx index 91423578288..707bc2d5e4b 100644 --- a/web/app/components/app/chat/thought/tool.tsx +++ b/web/app/components/app/chat/thought/tool.tsx @@ -4,10 +4,12 @@ import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiArrowDownSLine, + RiLoader2Line, +} from '@remixicon/react' import type { ToolInfoInThought } from '../type' import Panel from './panel' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' import { DataSet as DataSetIcon } from '@/app/components/base/icons/src/public/thought' import type { Emoji } from '@/app/components/tools/types' @@ -62,7 +64,7 @@ const Tool: FC = ({ onClick={() => setIsShowDetail(!isShowDetail)} > {!isFinished && ( - + )} {isFinished && !isShowDetail && ( @@ -79,7 +81,7 @@ const Tool: FC = ({ > {toolLabel} - diff --git a/web/app/components/app/configuration/config-prompt/advanced-prompt-input.tsx b/web/app/components/app/configuration/config-prompt/advanced-prompt-input.tsx index fe382565d55..00f47328a49 100644 --- a/web/app/components/app/configuration/config-prompt/advanced-prompt-input.tsx +++ b/web/app/components/app/configuration/config-prompt/advanced-prompt-input.tsx @@ -7,19 +7,25 @@ import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { useBoolean } from 'ahooks' import produce from 'immer' +import { + RiDeleteBinLine, + RiErrorWarningFill, + RiQuestionLine, +} from '@remixicon/react' import s from './style.module.css' import MessageTypeSelector from './message-type-selector' import ConfirmAddVar from './confirm-add-var' import PromptEditorHeightResizeWrap from './prompt-editor-height-resize-wrap' import type { PromptRole, PromptVariable } from '@/models/debug' -import { HelpCircle, Trash03 } from '@/app/components/base/icons/src/vender/line/general' -import { Clipboard, ClipboardCheck } from '@/app/components/base/icons/src/vender/line/files' +import { + Clipboard, + ClipboardCheck, +} from '@/app/components/base/icons/src/vender/line/files' import Tooltip from '@/app/components/base/tooltip' import PromptEditor from '@/app/components/base/prompt-editor' import ConfigContext from '@/context/debug-configuration' import { getNewVar, getVars } from '@/utils/var' import { AppType } from '@/types/app' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { useModalContext } from '@/context/modal-context' import type { ExternalDataTool } from '@/models/common' import { useToastContext } from '@/app/components/base/toast' @@ -140,7 +146,7 @@ const AdvancedPromptInput: FC = ({ }} >
- +
{t('appDebug.promptMode.contextMissing')}
= ({ {t('appDebug.promptTip')}
} selector='config-prompt-tooltip'> - + )}
{canDelete && ( - + )} {!isCopied ? ( diff --git a/web/app/components/app/configuration/config-prompt/index.tsx b/web/app/components/app/configuration/config-prompt/index.tsx index ce2c270472c..bea4a9e455e 100644 --- a/web/app/components/app/configuration/config-prompt/index.tsx +++ b/web/app/components/app/configuration/config-prompt/index.tsx @@ -3,6 +3,9 @@ import type { FC } from 'react' import React from 'react' import { useContext } from 'use-context-selector' import produce from 'immer' +import { + RiAddLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import SimplePromptInput from './simple-prompt-input' import AdvancedMessageInput from '@/app/components/app/configuration/config-prompt/advanced-prompt-input' @@ -10,7 +13,6 @@ import { PromptRole } from '@/models/debug' import type { PromptItem, PromptVariable } from '@/models/debug' import { type AppType, ModelModeType } from '@/types/app' import ConfigContext from '@/context/debug-configuration' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { MAX_PROMPT_MESSAGE_LENGTH } from '@/config' export type IPromptProps = { mode: AppType @@ -142,7 +144,7 @@ const Prompt: FC = ({
- +
{t('appDebug.promptMode.operation.addMessage')}
)} diff --git a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx index c75bbf327ec..83e835afc04 100644 --- a/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx +++ b/web/app/components/app/configuration/config-prompt/simple-prompt-input.tsx @@ -4,6 +4,9 @@ import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import { useBoolean } from 'ahooks' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import produce from 'immer' import { useContext } from 'use-context-selector' import ConfirmAddVar from './confirm-add-var' @@ -13,7 +16,6 @@ import { type PromptVariable } from '@/models/debug' import Tooltip from '@/app/components/base/tooltip' import { AppType } from '@/types/app' import { getNewVar, getVars } from '@/utils/var' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import AutomaticBtn from '@/app/components/app/configuration/config/automatic/automatic-btn' import type { AutomaticRes } from '@/service/debug' import GetAutomaticResModal from '@/app/components/app/configuration/config/automatic/get-automatic-res' @@ -143,7 +145,7 @@ const Prompt: FC = ({ {t('appDebug.promptTip')}
} selector='config-prompt-tooltip'> - + )} diff --git a/web/app/components/app/configuration/config-var/index.tsx b/web/app/components/app/configuration/config-var/index.tsx index 45bb1d05c75..a4f8b6839ff 100644 --- a/web/app/components/app/configuration/config-var/index.tsx +++ b/web/app/components/app/configuration/config-var/index.tsx @@ -6,6 +6,10 @@ import { useBoolean } from 'ahooks' import type { Timeout } from 'ahooks/lib/useRequest/src/types' import { useContext } from 'use-context-selector' import produce from 'immer' +import { + RiDeleteBinLine, + RiQuestionLine, +} from '@remixicon/react' import Panel from '../base/feature-panel' import EditModal from './config-modal' import IconTypeIcon from './input-type-icon' @@ -19,7 +23,7 @@ import { DEFAULT_VALUE_MAX_LEN, getMaxVarNameLength } from '@/config' import { checkKeys, getNewVar } from '@/utils/var' import Switch from '@/app/components/base/switch' import Toast from '@/app/components/base/toast' -import { HelpCircle, Settings01, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import ConfirmModal from '@/app/components/base/confirm/common' import ConfigContext from '@/context/debug-configuration' import { AppType } from '@/types/app' @@ -281,7 +285,7 @@ const ConfigVar: FC = ({ promptVariables, readonly, onPromptVar {t('appDebug.variableTip')} } selector='config-var-tooltip'> - + )} @@ -358,7 +362,7 @@ const ConfigVar: FC = ({ promptVariables, readonly, onPromptVar
handleRemoveVar(index)} > - +
diff --git a/web/app/components/app/configuration/config-vision/index.tsx b/web/app/components/app/configuration/config-vision/index.tsx index 536717e952c..9b12e059b57 100644 --- a/web/app/components/app/configuration/config-vision/index.tsx +++ b/web/app/components/app/configuration/config-vision/index.tsx @@ -2,10 +2,12 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import Panel from '../base/feature-panel' import ParamConfig from './param-config' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import Tooltip from '@/app/components/base/tooltip' import Switch from '@/app/components/base/switch' import { Eye } from '@/app/components/base/icons/src/vender/solid/general' @@ -34,7 +36,7 @@ const ConfigVision: FC = () => { {t('appDebug.vision.description')} } selector='config-vision-tooltip'> - + } diff --git a/web/app/components/app/configuration/config-vision/param-config-content.tsx b/web/app/components/app/configuration/config-vision/param-config-content.tsx index aca0b6b48c4..89fad411e70 100644 --- a/web/app/components/app/configuration/config-vision/param-config-content.tsx +++ b/web/app/components/app/configuration/config-vision/param-config-content.tsx @@ -3,12 +3,14 @@ import type { FC } from 'react' import React from 'react' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import RadioGroup from './radio-group' import ConfigContext from '@/context/debug-configuration' import { Resolution, TransferMethod } from '@/types/app' import ParamItem from '@/app/components/base/param-item' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' const MIN = 1 const MAX = 6 @@ -40,7 +42,7 @@ const ParamConfigContent: FC = () => {
{item}
))} } selector='config-resolution-tooltip'> - + { const { t } = useTranslation() @@ -46,7 +48,7 @@ const VoiceParamConfig: FC = () => {
{item}
))} } selector='config-resolution-tooltip'> - + = ({ onClick={onCancel} className='flex justify-center items-center w-6 h-6 cursor-pointer' > - + diff --git a/web/app/components/app/configuration/config/agent/agent-setting/item-panel.tsx b/web/app/components/app/configuration/config/agent/agent-setting/item-panel.tsx index 3e404ebccde..cdd3ee3bd19 100644 --- a/web/app/components/app/configuration/config/agent/agent-setting/item-panel.tsx +++ b/web/app/components/app/configuration/config/agent/agent-setting/item-panel.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' +import { RiQuestionLine } from '@remixicon/react' import Tooltip from '@/app/components/base/tooltip' type Props = { className?: string @@ -32,7 +32,7 @@ const ItemPanel: FC = ({ } selector={`agent-setting-tooltip-${name}`} > - +
diff --git a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx index c59145aa9d1..9a8bb45b5fa 100644 --- a/web/app/components/app/configuration/config/agent/agent-tools/index.tsx +++ b/web/app/components/app/configuration/config/agent/agent-tools/index.tsx @@ -5,13 +5,17 @@ import { useTranslation } from 'react-i18next' import cn from 'classnames' import { useContext } from 'use-context-selector' import produce from 'immer' +import { + RiDeleteBinLine, + RiHammerFill, + RiQuestionLine, +} from '@remixicon/react' import { useFormattingChangedDispatcher } from '../../../debug/hooks' import SettingBuiltInTool from './setting-built-in-tool' import Panel from '@/app/components/app/configuration/base/feature-panel' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle, InfoCircle, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { InfoCircle } from '@/app/components/base/icons/src/vender/line/general' import OperationBtn from '@/app/components/app/configuration/base/operation-btn' -import { ToolsActive } from '@/app/components/base/icons/src/public/header-nav/tools' import AppIcon from '@/app/components/base/app-icon' import Switch from '@/app/components/base/switch' import ConfigContext from '@/context/debug-configuration' @@ -59,7 +63,7 @@ const AgentTools: FC = () => { className="mt-4" noBodySpacing={tools.length === 0} headerIcon={ - + } title={
@@ -67,7 +71,7 @@ const AgentTools: FC = () => { {t('appDebug.agent.tools.description')}
} selector='config-tools-tooltip'> - +
} @@ -144,7 +148,7 @@ const AgentTools: FC = () => { setModelConfig(newModelConfig) formattingChangedDispatcher() }}> - +
@@ -169,7 +173,7 @@ const AgentTools: FC = () => { setModelConfig(newModelConfig) formattingChangedDispatcher() }}> - +
diff --git a/web/app/components/app/configuration/config/agent/prompt-editor.tsx b/web/app/components/app/configuration/config/agent/prompt-editor.tsx index f3fed4ee74e..1948e8fdbd4 100644 --- a/web/app/components/app/configuration/config/agent/prompt-editor.tsx +++ b/web/app/components/app/configuration/config/agent/prompt-editor.tsx @@ -5,7 +5,10 @@ import copy from 'copy-to-clipboard' import cn from 'classnames' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' -import { Clipboard, ClipboardCheck } from '@/app/components/base/icons/src/vender/line/files' +import { + Clipboard, + ClipboardCheck, +} from '@/app/components/base/icons/src/vender/line/files' import PromptEditor from '@/app/components/base/prompt-editor' import type { ExternalDataTool } from '@/models/common' import ConfigContext from '@/context/debug-configuration' diff --git a/web/app/components/app/configuration/config/assistant-type-picker/index.tsx b/web/app/components/app/configuration/config/assistant-type-picker/index.tsx index 3bdf0cbcf71..faa44092fed 100644 --- a/web/app/components/app/configuration/config/assistant-type-picker/index.tsx +++ b/web/app/components/app/configuration/config/assistant-type-picker/index.tsx @@ -3,6 +3,7 @@ import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import AgentSetting from '../agent/agent-setting' import { PortalToFollowElem, @@ -11,7 +12,6 @@ import { } from '@/app/components/base/portal-to-follow-elem' import { BubbleText } from '@/app/components/base/icons/src/vender/solid/education' import Radio from '@/app/components/base/radio/ui' -import { ChevronDown } from '@/app/components/base/icons/src/vender/solid/arrows' import { CuteRobote } from '@/app/components/base/icons/src/vender/solid/communication' import { Settings04 } from '@/app/components/base/icons/src/vender/line/general' import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows' @@ -119,7 +119,7 @@ const AssistantTypePicker: FC = ({
{isAgent ? : }
{t(`appDebug.assistantType.${isAgent ? 'agentAssistant' : 'chatAssistant'}.name`)}
- +
diff --git a/web/app/components/app/configuration/dataset-config/card-item/item.tsx b/web/app/components/app/configuration/dataset-config/card-item/item.tsx index bc72b7d2998..2b3f04d2d34 100644 --- a/web/app/components/app/configuration/dataset-config/card-item/item.tsx +++ b/web/app/components/app/configuration/dataset-config/card-item/item.tsx @@ -2,12 +2,13 @@ import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiDeleteBinLine } from '@remixicon/react' import SettingsModal from '../settings-modal' import type { DataSet } from '@/models/datasets' import { DataSourceType } from '@/models/datasets' import { formatNumber } from '@/utils/format' import FileIcon from '@/app/components/base/file-icon' -import { Settings01, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import { Folder } from '@/app/components/base/icons/src/vender/solid/files' import Drawer from '@/app/components/base/drawer' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' @@ -77,7 +78,7 @@ const Item: FC = ({ className='group/action flex items-center justify-center w-6 h-6 hover:bg-[#FEE4E2] rounded-md cursor-pointer' onClick={() => onRemove(config.id)} > - + setShowSettingsModal(false)} footer={null} mask={isMobile} panelClassname='mt-16 mx-2 sm:mr-2 mb-3 !p-0 !max-w-[640px] rounded-xl'> diff --git a/web/app/components/app/configuration/dataset-config/context-var/index.tsx b/web/app/components/app/configuration/dataset-config/context-var/index.tsx index c38176d9b6b..d320adcc77c 100644 --- a/web/app/components/app/configuration/dataset-config/context-var/index.tsx +++ b/web/app/components/app/configuration/dataset-config/context-var/index.tsx @@ -3,11 +3,13 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import type { Props } from './var-picker' import VarPicker from './var-picker' import { BracketsX } from '@/app/components/base/icons/src/vender/line/development' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' const ContextVar: FC = (props) => { const { t } = useTranslation() @@ -27,7 +29,7 @@ const ContextVar: FC = (props) => { } selector='context-var-tooltip' > - + diff --git a/web/app/components/app/configuration/dataset-config/params-config/config-content.tsx b/web/app/components/app/configuration/dataset-config/params-config/config-content.tsx index b795c928a51..640c78d2028 100644 --- a/web/app/components/app/configuration/dataset-config/params-config/config-content.tsx +++ b/web/app/components/app/configuration/dataset-config/params-config/config-content.tsx @@ -2,6 +2,9 @@ import React from 'react' import type { FC } from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import TopKItem from '@/app/components/base/param-item/top-k-item' import ScoreThresholdItem from '@/app/components/base/param-item/score-threshold-item' import RadioCard from '@/app/components/base/radio-card/simple' @@ -19,7 +22,6 @@ import { useModelListAndDefaultModelAndCurrentProviderAndModel } from '@/app/com import type { ModelConfig } from '@/app/components/workflow/types' import ModelParameterModal from '@/app/components/header/account-setting/model-provider-page/model-parameter-modal' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import { ModelTypeEnum } from '@/app/components/header/account-setting/model-provider-page/declarations' type Props = { @@ -155,7 +157,7 @@ const ConfigContent: FC = ({ - + = ({ onClick={onCancel} className='flex justify-center items-center w-6 h-6 cursor-pointer' > - + @@ -262,7 +262,7 @@ const SettingsModal: FC = ({ e.stopPropagation() e.nativeEvent.stopImmediatePropagation() }}> - + )} diff --git a/web/app/components/app/configuration/debug/debug-with-multiple-model/model-parameter-trigger.tsx b/web/app/components/app/configuration/debug/debug-with-multiple-model/model-parameter-trigger.tsx index b19dc82b84b..72f6ba82ef6 100644 --- a/web/app/components/app/configuration/debug/debug-with-multiple-model/model-parameter-trigger.tsx +++ b/web/app/components/app/configuration/debug/debug-with-multiple-model/model-parameter-trigger.tsx @@ -1,6 +1,7 @@ import type { FC } from 'react' import { memo } from 'react' import { useTranslation } from 'react-i18next' +import { RiArrowDownSLine } from '@remixicon/react' import type { ModelAndParameter } from '../types' import { useDebugWithMultipleModelContext } from './context' import ModelParameterModal from '@/app/components/header/account-setting/model-provider-page/model-parameter-modal' @@ -11,7 +12,6 @@ import { ModelStatusEnum, } from '@/app/components/header/account-setting/model-provider-page/declarations' import { useDebugConfigurationContext } from '@/context/debug-configuration' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { CubeOutline } from '@/app/components/base/icons/src/vender/line/shapes' import TooltipPlus from '@/app/components/base/tooltip-plus' import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' @@ -108,7 +108,7 @@ const ModelParameterTrigger: FC = ({ ) } - + { currentModel && currentModel.status !== ModelStatusEnum.active && ( diff --git a/web/app/components/app/configuration/debug/index.tsx b/web/app/components/app/configuration/debug/index.tsx index 3717bab88ec..60a58805c11 100644 --- a/web/app/components/app/configuration/debug/index.tsx +++ b/web/app/components/app/configuration/debug/index.tsx @@ -5,6 +5,9 @@ import { useTranslation } from 'react-i18next' import React, { useCallback, useEffect, useRef, useState } from 'react' import { setAutoFreeze } from 'immer' import { useBoolean } from 'ahooks' +import { + RiAddLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import { useShallow } from 'zustand/react/shallow' import HasNotSetAPIKEY from '../base/warning-mask/has-not-set-api' @@ -34,7 +37,6 @@ import { fetchFileUploadConfig } from '@/service/common' import { useDefaultModel } from '@/app/components/header/account-setting/model-provider-page/hooks' import { ModelFeatureEnum, ModelTypeEnum } from '@/app/components/header/account-setting/model-provider-page/declarations' import type { ModelParameterModalProps } from '@/app/components/header/account-setting/model-provider-page/model-parameter-modal' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { useEventEmitterContextContext } from '@/context/event-emitter' import { useProviderContext } from '@/context/provider-context' import PromptLogModal from '@/app/components/base/prompt-log-modal' @@ -404,7 +406,7 @@ const Debug: FC = ({ onClick={() => onMultipleModelConfigsChange(true, [...multipleModelConfigs, { id: `${Date.now()}`, model: '', provider: '', parameters: {} }])} disabled={multipleModelConfigs.length >= 4} > - + {t('common.modelProvider.addModel')}({multipleModelConfigs.length}/4)
diff --git a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx index 253ae93c30e..2f9a06b8092 100644 --- a/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx +++ b/web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx @@ -3,6 +3,10 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import cn from 'classnames' +import { + RiAddLine, + RiDeleteBinLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import produce from 'immer' import { useTranslation } from 'react-i18next' @@ -16,7 +20,6 @@ import { getInputKeys } from '@/app/components/base/block-input' import ConfirmAddVar from '@/app/components/app/configuration/config-prompt/confirm-add-var' import { getNewVar } from '@/utils/var' import { varHighlightHTML } from '@/app/components/app/configuration/base/var-highlight' -import { Plus, Trash03 } from '@/app/components/base/icons/src/vender/line/general' const MAX_QUESTION_NUM = 5 @@ -192,7 +195,7 @@ const OpeningStatement: FC = ({ setTempSuggestedQuestions(tempSuggestedQuestions.filter((_, i) => index !== i)) }} > - +
) @@ -201,7 +204,7 @@ const OpeningStatement: FC = ({
{ setTempSuggestedQuestions([...tempSuggestedQuestions, '']) }} className='mt-1 flex items-center h-9 px-3 gap-2 rounded-lg cursor-pointer text-gray-400 bg-gray-100 hover:bg-gray-200'> - +
{t('appDebug.variableConig.addOption')}
)} diff --git a/web/app/components/app/configuration/features/chat-group/suggested-questions-after-answer/index.tsx b/web/app/components/app/configuration/features/chat-group/suggested-questions-after-answer/index.tsx index 533d2494874..e27eec46c8b 100644 --- a/web/app/components/app/configuration/features/chat-group/suggested-questions-after-answer/index.tsx +++ b/web/app/components/app/configuration/features/chat-group/suggested-questions-after-answer/index.tsx @@ -2,10 +2,12 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import Panel from '@/app/components/app/configuration/base/feature-panel' import SuggestedQuestionsAfterAnswerIcon from '@/app/components/app/configuration/base/icons/suggested-questions-after-answer-icon' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' const SuggestedQuestionsAfterAnswer: FC = () => { const { t } = useTranslation() @@ -18,7 +20,7 @@ const SuggestedQuestionsAfterAnswer: FC = () => { {t('appDebug.feature.suggestedQuestionsAfterAnswer.description')} } selector='suggestion-question-tooltip'> - + } diff --git a/web/app/components/app/configuration/prompt-value-panel/index.tsx b/web/app/components/app/configuration/prompt-value-panel/index.tsx index 52409b4b5f7..b60a82ad575 100644 --- a/web/app/components/app/configuration/prompt-value-panel/index.tsx +++ b/web/app/components/app/configuration/prompt-value-panel/index.tsx @@ -3,6 +3,10 @@ import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' +import { + RiArrowDownSLine, + RiArrowRightLine, +} from '@remixicon/react' import { PlayIcon, } from '@heroicons/react/24/solid' @@ -12,7 +16,6 @@ import { AppType, ModelModeType } from '@/types/app' import Select from '@/app/components/base/select' import { DEFAULT_VALUE_MAX_LEN } from '@/config' import Button from '@/app/components/base/button' -import { ChevronDown, ChevronRight } from '@/app/components/base/icons/src/vender/line/arrows' import Tooltip from '@/app/components/base/tooltip-plus' import TextGenerationImageUploader from '@/app/components/base/image-uploader/text-generation-image-uploader' import type { VisionFile, VisionSettings } from '@/types/app' @@ -102,8 +105,8 @@ const PromptValuePanel: FC = ({
setUserInputFieldCollapse(!userInputFieldCollapse)}> { userInputFieldCollapse - ? - : + ? + : }
{t('appDebug.inputs.userInputField')}
diff --git a/web/app/components/app/configuration/toolbox/annotation/config-param.tsx b/web/app/components/app/configuration/toolbox/annotation/config-param.tsx index a068a7d76d3..65837cc44db 100644 --- a/web/app/components/app/configuration/toolbox/annotation/config-param.tsx +++ b/web/app/components/app/configuration/toolbox/annotation/config-param.tsx @@ -4,11 +4,14 @@ import React from 'react' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { usePathname, useRouter } from 'next/navigation' +import { + RiQuestionLine, +} from '@remixicon/react' import ConfigParamModal from './config-param-modal' import Panel from '@/app/components/app/configuration/base/feature-panel' import { MessageFast } from '@/app/components/base/icons/src/vender/solid/communication' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle, LinkExternal02, Settings04 } from '@/app/components/base/icons/src/vender/line/general' +import { LinkExternal02, Settings04 } from '@/app/components/base/icons/src/vender/line/general' import ConfigContext from '@/context/debug-configuration' import type { EmbeddingModelConfig } from '@/app/components/app/annotation/type' import { updateAnnotationScore } from '@/service/annotation' @@ -32,7 +35,7 @@ export const Item: FC<{ title: string; tooltip: string; children: JSX.Element }>
{tooltip}
} > - +
{children}
diff --git a/web/app/components/app/configuration/tools/index.tsx b/web/app/components/app/configuration/tools/index.tsx index ed4de8026e8..2ec8f554413 100644 --- a/web/app/components/app/configuration/tools/index.tsx +++ b/web/app/components/app/configuration/tools/index.tsx @@ -3,17 +3,19 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' import copy from 'copy-to-clipboard' import { useContext } from 'use-context-selector' +import { + RiAddLine, + RiArrowDownSLine, + RiDeleteBinLine, + RiQuestionLine, +} from '@remixicon/react' import ConfigContext from '@/context/debug-configuration' import Switch from '@/app/components/base/switch' import TooltipPlus from '@/app/components/base/tooltip-plus' import { Tool03 } from '@/app/components/base/icons/src/vender/solid/general' import { - HelpCircle, - Plus, Settings01, - Trash03, } from '@/app/components/base/icons/src/vender/line/general' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { useModalContext } from '@/context/modal-context' import type { ExternalDataTool } from '@/models/common' import AppIcon from '@/app/components/base/app-icon' @@ -98,7 +100,7 @@ const Tools = () => { } { !!externalDataToolsConfig.length && ( - + ) } @@ -106,7 +108,7 @@ const Tools = () => { {t('appDebug.feature.tools.title')} {t('appDebug.feature.tools.tips')}}> - + { @@ -121,7 +123,7 @@ const Tools = () => { className='flex items-center h-7 px-3 text-xs font-medium text-gray-700 cursor-pointer' onClick={() => handleOpenExternalDataToolModal({}, -1)} > - + {t('common.operation.add')} @@ -165,7 +167,7 @@ const Tools = () => { className='hidden group/action group-hover:flex items-center justify-center w-6 h-6 hover:bg-[#FEE4E2] rounded-md cursor-pointer' onClick={() => setExternalDataToolsConfig([...externalDataToolsConfig.slice(0, index), ...externalDataToolsConfig.slice(index + 1)])} > - +
- +
) diff --git a/web/app/components/app/create-app-modal/index.tsx b/web/app/components/app/create-app-modal/index.tsx index 05a473b8e54..b8472aeaf3b 100644 --- a/web/app/components/app/create-app-modal/index.tsx +++ b/web/app/components/app/create-app-modal/index.tsx @@ -3,6 +3,10 @@ import type { MouseEventHandler } from 'react' import { useCallback, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiCloseLine, + RiQuestionLine, +} from '@remixicon/react' import { useRouter } from 'next/navigation' import { useContext, useContextSelector } from 'use-context-selector' import s from './style.module.css' @@ -17,7 +21,6 @@ import AppIcon from '@/app/components/base/app-icon' import EmojiPicker from '@/app/components/base/emoji-picker' import AppsFull from '@/app/components/billing/apps-full-in-dialog' import { AiText, ChatBot, CuteRobote } from '@/app/components/base/icons/src/vender/solid/communication' -import { HelpCircle, XClose } from '@/app/components/base/icons/src/vender/line/general' import { Route } from '@/app/components/base/icons/src/vender/solid/mapsAndTravel' import TooltipPlus from '@/app/components/base/tooltip-plus' import { NEED_REFRESH_APP_LIST_KEY } from '@/config' @@ -202,7 +205,7 @@ const CreateAppModal = ({ show, onSuccess, onClose }: CreateAppDialogProps) => {
{t('app.newApp.basic')}
- +
{ BETA
- +
{
- +
) diff --git a/web/app/components/app/create-from-dsl-modal/index.tsx b/web/app/components/app/create-from-dsl-modal/index.tsx index b36f467f216..c263230fe22 100644 --- a/web/app/components/app/create-from-dsl-modal/index.tsx +++ b/web/app/components/app/create-from-dsl-modal/index.tsx @@ -5,6 +5,7 @@ import { useRef, useState } from 'react' import { useRouter } from 'next/navigation' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import Uploader from './uploader' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' @@ -13,7 +14,6 @@ import { importApp } from '@/service/apps' import { useAppContext } from '@/context/app-context' import { useProviderContext } from '@/context/provider-context' import AppsFull from '@/app/components/billing/apps-full-in-dialog' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { NEED_REFRESH_APP_LIST_KEY } from '@/config' import { getRedirection } from '@/utils/app-redirection' @@ -84,7 +84,7 @@ const CreateFromDSLModal = ({ show, onSuccess, onClose }: CreateFromDSLModalProp >
{t('app.createFromConfigFile')}
- +
= ({
- +
diff --git a/web/app/components/app/log/var-panel.tsx b/web/app/components/app/log/var-panel.tsx index 65248b6c24f..a22856339e5 100644 --- a/web/app/components/app/log/var-panel.tsx +++ b/web/app/components/app/log/var-panel.tsx @@ -3,7 +3,10 @@ import { useBoolean } from 'ahooks' import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' -import { ChevronDown, ChevronRight } from '@/app/components/base/icons/src/vender/line/arrows' +import { + RiArrowDownSLine, + RiArrowRightSLine, +} from '@remixicon/react' import ImagePreview from '@/app/components/base/image-uploader/image-preview' type Props = { @@ -27,8 +30,8 @@ const VarPanel: FC = ({ > { isCollapse - ? - : + ? + : }
{t('appLog.detail.variables')}
diff --git a/web/app/components/app/overview/apikey-info-panel/index.tsx b/web/app/components/app/overview/apikey-info-panel/index.tsx index 52f67eda743..3b155e6214c 100644 --- a/web/app/components/app/overview/apikey-info-panel/index.tsx +++ b/web/app/components/app/overview/apikey-info-panel/index.tsx @@ -3,8 +3,9 @@ import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import Button from '@/app/components/base/button' -import { LinkExternal02, XClose } from '@/app/components/base/icons/src/vender/line/general' +import { LinkExternal02 } from '@/app/components/base/icons/src/vender/line/general' import { IS_CE_EDITION } from '@/config' import { useProviderContext } from '@/context/provider-context' import { useModalContext } from '@/context/modal-context' @@ -64,7 +65,7 @@ const APIKeyInfoPanel: FC = () => {
setIsShow(false)} className='absolute right-4 top-4 flex items-center justify-center w-8 h-8 cursor-pointer '> - +
) diff --git a/web/app/components/app/switch-app-modal/index.tsx b/web/app/components/app/switch-app-modal/index.tsx index 2dd4e42f291..6622b5ef1ef 100644 --- a/web/app/components/app/switch-app-modal/index.tsx +++ b/web/app/components/app/switch-app-modal/index.tsx @@ -5,6 +5,7 @@ import { useRouter } from 'next/navigation' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import s from './style.module.css' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' @@ -15,7 +16,6 @@ import { useAppContext } from '@/context/app-context' import { useProviderContext } from '@/context/provider-context' import AppsFull from '@/app/components/billing/apps-full-in-dialog' import EmojiPicker from '@/app/components/base/emoji-picker' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { NEED_REFRESH_APP_LIST_KEY } from '@/config' import { getRedirection } from '@/utils/app-redirection' import type { App } from '@/types/app' @@ -92,7 +92,7 @@ const SwitchAppModal = ({ show, appDetail, inAppDetail = false, onSuccess, onClo onClose={() => { }} >
- +
diff --git a/web/app/components/app/text-generate/item/index.tsx b/web/app/components/app/text-generate/item/index.tsx index be7328d448e..1260c8e2725 100644 --- a/web/app/components/app/text-generate/item/index.tsx +++ b/web/app/components/app/text-generate/item/index.tsx @@ -3,6 +3,9 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiClipboardLine, +} from '@remixicon/react' import copy from 'copy-to-clipboard' import { useParams } from 'next/navigation' import { HandThumbDownIcon, HandThumbUpIcon } from '@heroicons/react/24/outline' @@ -15,7 +18,7 @@ import Toast from '@/app/components/base/toast' import AudioBtn from '@/app/components/base/audio-btn' import type { Feedbacktype } from '@/app/components/app/chat/type' import { fetchMoreLikeThis, updateFeedback } from '@/service/share' -import { Clipboard, File02 } from '@/app/components/base/icons/src/vender/line/files' +import { File02 } from '@/app/components/base/icons/src/vender/line/files' import { Bookmark } from '@/app/components/base/icons/src/vender/line/general' import { Stars02 } from '@/app/components/base/icons/src/vender/line/weather' import { RefreshCcw01 } from '@/app/components/base/icons/src/vender/line/arrows' @@ -334,7 +337,7 @@ const GenerationItem: FC = ({ copy(JSON.stringify(copyContent)) Toast.notify({ type: 'success', message: t('common.actionMsg.copySuccessfully') }) }}> - + {!isMobile &&
{t('common.operation.copy')}
} )} diff --git a/web/app/components/app/type-selector/index.tsx b/web/app/components/app/type-selector/index.tsx index 013a3029940..6f6eb66fc4f 100644 --- a/web/app/components/app/type-selector/index.tsx +++ b/web/app/components/app/type-selector/index.tsx @@ -1,12 +1,12 @@ import { useTranslation } from 'react-i18next' import React, { useState } from 'react' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { Check, DotsGrid } from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' import { ChatBot, CuteRobote } from '@/app/components/base/icons/src/vender/solid/communication' @@ -44,7 +44,7 @@ const AppTypeSelector = ({ value, onChange }: AppSelectorProps) => {
{t('app.typeSelector.all')}
- +
)} diff --git a/web/app/components/app/workflow-log/detail.tsx b/web/app/components/app/workflow-log/detail.tsx index 111aaeda60a..20daa8dc44d 100644 --- a/web/app/components/app/workflow-log/detail.tsx +++ b/web/app/components/app/workflow-log/detail.tsx @@ -1,8 +1,8 @@ 'use client' import type { FC } from 'react' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import Run from '@/app/components/workflow/run' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' type ILogDetail = { runID: string @@ -15,7 +15,7 @@ const DetailPanel: FC = ({ runID, onClose }) => { return (
- +

{t('appLog.runDetail.workflowTitle')}

diff --git a/web/app/components/base/agent-log-modal/index.tsx b/web/app/components/base/agent-log-modal/index.tsx index e0917a391e2..b74029c7228 100644 --- a/web/app/components/base/agent-log-modal/index.tsx +++ b/web/app/components/base/agent-log-modal/index.tsx @@ -1,10 +1,10 @@ import type { FC } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import { useEffect, useRef, useState } from 'react' import { useClickAway } from 'ahooks' import AgentLogDetail from './detail' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { IChatItem } from '@/app/components/app/chat/type' type AgentLogModalProps = { @@ -47,7 +47,7 @@ const AgentLogModal: FC = ({ >

{t('appLog.runDetail.workflowTitle')}

- + = ({ toolCall, isLLM = false, isFinal, tokens, obs )}
{toolCall.status === 'success' && ( - + )} {toolCall.status === 'error' && ( - + )} {!collapseState && ( diff --git a/web/app/components/base/button/add-button.tsx b/web/app/components/base/button/add-button.tsx index 2baf96270c7..67f7524c44a 100644 --- a/web/app/components/base/button/add-button.tsx +++ b/web/app/components/base/button/add-button.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' -import { Plus } from '../icons/src/vender/line/general' +import { RiAddLine } from '@remixicon/react' type Props = { className?: string @@ -15,7 +15,7 @@ const AddButton: FC = ({ }) => { return (
- +
) } diff --git a/web/app/components/base/chat/chat/answer/workflow-process.tsx b/web/app/components/base/chat/chat/answer/workflow-process.tsx index 274af8f95bc..acdd5398240 100644 --- a/web/app/components/base/chat/chat/answer/workflow-process.tsx +++ b/web/app/components/base/chat/chat/answer/workflow-process.tsx @@ -5,12 +5,14 @@ import { useState, } from 'react' import cn from 'classnames' +import { + RiArrowRightSLine, + RiErrorWarningFill, + RiLoader2Line, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import type { ChatItem, WorkflowProcess } from '../../types' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' -import { ChevronRight } from '@/app/components/base/icons/src/vender/line/arrows' import { WorkflowRunningStatus } from '@/app/components/workflow/types' import NodePanel from '@/app/components/workflow/run/node' import { useStore as useAppStore } from '@/app/components/app/store' @@ -83,7 +85,7 @@ const WorkflowProcessItem = ({ > { running && ( - + ) } { @@ -93,13 +95,13 @@ const WorkflowProcessItem = ({ } { failed && ( - + ) }
{t('workflow.common.workflowProcess')}
- + { !collapse && ( diff --git a/web/app/components/base/confirm/common.tsx b/web/app/components/base/confirm/common.tsx index a12f823c645..4135e36b1b7 100644 --- a/web/app/components/base/confirm/common.tsx +++ b/web/app/components/base/confirm/common.tsx @@ -1,10 +1,12 @@ import type { FC, ReactElement } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiCloseLine, + RiErrorWarningFill, +} from '@remixicon/react' import s from './common.module.css' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' import Button from '@/app/components/base/button' @@ -41,7 +43,7 @@ const ConfirmCommon: FC = ({ const CONFIRM_MAP: Record = { danger: { - icon: , + icon: , confirmText: t('common.operation.remove'), }, success: { @@ -54,7 +56,7 @@ const ConfirmCommon: FC = ({ { }} className='!w-[480px] !max-w-[480px] !p-0 !rounded-2xl' wrapperClassName={confirmWrapperClassName}>
- +
{CONFIRM_MAP[type].icon} diff --git a/web/app/components/base/copy-icon/index.tsx b/web/app/components/base/copy-icon/index.tsx index 0d036e40983..0eb0356ffee 100644 --- a/web/app/components/base/copy-icon/index.tsx +++ b/web/app/components/base/copy-icon/index.tsx @@ -4,7 +4,10 @@ import { useTranslation } from 'react-i18next' import { debounce } from 'lodash-es' import copy from 'copy-to-clipboard' import TooltipPlus from '../tooltip-plus' -import { Clipboard, ClipboardCheck } from '@/app/components/base/icons/src/vender/line/files' +import { + Clipboard, + ClipboardCheck, +} from '@/app/components/base/icons/src/vender/line/files' type Props = { content: string diff --git a/web/app/components/base/drawer-plus/index.tsx b/web/app/components/base/drawer-plus/index.tsx index 3eabe1973e1..106b489dc05 100644 --- a/web/app/components/base/drawer-plus/index.tsx +++ b/web/app/components/base/drawer-plus/index.tsx @@ -2,8 +2,8 @@ import type { FC } from 'react' import React, { useRef } from 'react' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import Drawer from '@/app/components/base/drawer' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' type Props = { @@ -74,7 +74,7 @@ const DrawerPlus: FC = ({ onClick={onHide} className='flex justify-center items-center w-6 h-6 cursor-pointer' > - +
diff --git a/web/app/components/base/dropdown/index.tsx b/web/app/components/base/dropdown/index.tsx index 3825fd8aea0..9af24216690 100644 --- a/web/app/components/base/dropdown/index.tsx +++ b/web/app/components/base/dropdown/index.tsx @@ -1,6 +1,8 @@ import type { FC } from 'react' import { useState } from 'react' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' +import { + RiMoreFill, +} from '@remixicon/react' import { PortalToFollowElem, PortalToFollowElemContent, @@ -49,7 +51,7 @@ const Dropdown: FC = ({ ${open && 'bg-black/5'} `} > - + ) } diff --git a/web/app/components/base/features/feature-choose/index.tsx b/web/app/components/base/features/feature-choose/index.tsx index e3a14c5a785..e15bf53d0d1 100644 --- a/web/app/components/base/features/feature-choose/index.tsx +++ b/web/app/components/base/features/feature-choose/index.tsx @@ -1,11 +1,13 @@ 'use client' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiAddLine, +} from '@remixicon/react' import { useFeatures } from '../hooks' import type { OnFeaturesChange } from '../types' import FeatureModal from './feature-modal' import Button from '@/app/components/base/button' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' type ChooseFeatureProps = { onChange?: OnFeaturesChange @@ -27,7 +29,7 @@ const ChooseFeature = ({ `} onClick={() => !disabled && setShowFeaturesModal(true)} > - + {t('appDebug.operation.addFeature')} { diff --git a/web/app/components/base/features/feature-panel/opening-statement/index.tsx b/web/app/components/base/features/feature-panel/opening-statement/index.tsx index b1241472f60..7c615295bed 100644 --- a/web/app/components/base/features/feature-panel/opening-statement/index.tsx +++ b/web/app/components/base/features/feature-panel/opening-statement/index.tsx @@ -4,6 +4,10 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import produce from 'immer' import cn from 'classnames' +import { + RiAddLine, + RiDeleteBinLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useBoolean } from 'ahooks' import { ReactSortable } from 'react-sortablejs' @@ -19,7 +23,6 @@ import { getInputKeys } from '@/app/components/base/block-input' import ConfirmAddVar from '@/app/components/app/configuration/config-prompt/confirm-add-var' import { getNewVar } from '@/utils/var' import { varHighlightHTML } from '@/app/components/app/configuration/base/var-highlight' -import { Plus, Trash03 } from '@/app/components/base/icons/src/vender/line/general' import type { PromptVariable } from '@/models/debug' const MAX_QUESTION_NUM = 5 @@ -229,7 +232,7 @@ const OpeningStatement: FC = ({ setTempSuggestedQuestions(tempSuggestedQuestions.filter((_, i) => index !== i)) }} > - + ) @@ -238,7 +241,7 @@ const OpeningStatement: FC = ({
{ setTempSuggestedQuestions([...tempSuggestedQuestions, '']) }} className='mt-1 flex items-center h-9 px-3 gap-2 rounded-lg cursor-pointer text-gray-400 bg-gray-100 hover:bg-gray-200'> - +
{t('appDebug.variableConig.addOption')}
)} diff --git a/web/app/components/base/features/feature-panel/suggested-questions-after-answer/index.tsx b/web/app/components/base/features/feature-panel/suggested-questions-after-answer/index.tsx index e0519b3283d..e424c4ead52 100644 --- a/web/app/components/base/features/feature-panel/suggested-questions-after-answer/index.tsx +++ b/web/app/components/base/features/feature-panel/suggested-questions-after-answer/index.tsx @@ -2,7 +2,9 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' +import { + RiQuestionLine, +} from '@remixicon/react' import { MessageSmileSquare } from '@/app/components/base/icons/src/vender/solid/communication' import TooltipPlus from '@/app/components/base/tooltip-plus' @@ -17,7 +19,7 @@ const SuggestedQuestionsAfterAnswer: FC = () => {
{t('appDebug.feature.suggestedQuestionsAfterAnswer.title')}
- +
diff --git a/web/app/components/base/features/feature-panel/text-to-speech/param-config-content.tsx b/web/app/components/base/features/feature-panel/text-to-speech/param-config-content.tsx index f2f6bd9c5d9..3fb12745ff0 100644 --- a/web/app/components/base/features/feature-panel/text-to-speech/param-config-content.tsx +++ b/web/app/components/base/features/feature-panel/text-to-speech/param-config-content.tsx @@ -3,6 +3,9 @@ import useSWR from 'swr' import produce from 'immer' import React, { Fragment } from 'react' import classNames from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import { usePathname } from 'next/navigation' import { useTranslation } from 'react-i18next' import { Listbox, Transition } from '@headlessui/react' @@ -15,7 +18,6 @@ import type { OnFeaturesChange } from '../../types' import type { Item } from '@/app/components/base/select' import { fetchAppVoices } from '@/service/apps' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import { languages } from '@/i18n/language' type VoiceParamConfigProps = { @@ -70,7 +72,7 @@ const VoiceParamConfig = ({
{item}
))} } selector='config-resolution-tooltip'> - + - - - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/explore/explore.svg b/web/app/components/base/icons/assets/public/header-nav/explore/explore.svg deleted file mode 100644 index 9273455f25e..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/explore/explore.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge-active.svg b/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge-active.svg deleted file mode 100644 index 6be2476f12d..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge-active.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge.svg b/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge.svg deleted file mode 100644 index 97bc868a293..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/knowledge/knowledge.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg b/web/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg deleted file mode 100644 index 5d79215e951..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/studio/Robot-Active.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/studio/Robot.svg b/web/app/components/base/icons/assets/public/header-nav/studio/Robot.svg deleted file mode 100644 index 9b8177aeac8..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/studio/Robot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/tools/tools-active.svg b/web/app/components/base/icons/assets/public/header-nav/tools/tools-active.svg deleted file mode 100644 index cb697de6d84..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/tools/tools-active.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/public/header-nav/tools/tools.svg b/web/app/components/base/icons/assets/public/header-nav/tools/tools.svg deleted file mode 100644 index 7dcdc1a0e85..00000000000 --- a/web/app/components/base/icons/assets/public/header-nav/tools/tools.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/alertsAndFeedback/alert-circle.svg b/web/app/components/base/icons/assets/vender/line/alertsAndFeedback/alert-circle.svg deleted file mode 100644 index 467f19dabfc..00000000000 --- a/web/app/components/base/icons/assets/vender/line/alertsAndFeedback/alert-circle.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/arrows/arrow-narrow-right.svg b/web/app/components/base/icons/assets/vender/line/arrows/arrow-narrow-right.svg deleted file mode 100644 index b5625b5c9b0..00000000000 --- a/web/app/components/base/icons/assets/vender/line/arrows/arrow-narrow-right.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/vender/line/arrows/chevron-down.svg b/web/app/components/base/icons/assets/vender/line/arrows/chevron-down.svg deleted file mode 100644 index ce925f47925..00000000000 --- a/web/app/components/base/icons/assets/vender/line/arrows/chevron-down.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/arrows/collapse-04.svg b/web/app/components/base/icons/assets/vender/line/arrows/collapse-04.svg deleted file mode 100644 index b794eeaac65..00000000000 --- a/web/app/components/base/icons/assets/vender/line/arrows/collapse-04.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/bold-01.svg b/web/app/components/base/icons/assets/vender/line/editor/bold-01.svg deleted file mode 100644 index 5e9e20816bf..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/bold-01.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/cursor-02c.svg b/web/app/components/base/icons/assets/vender/line/editor/cursor-02c.svg deleted file mode 100644 index 0bad691d9d0..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/cursor-02c.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/dotpoints-01.svg b/web/app/components/base/icons/assets/vender/line/editor/dotpoints-01.svg deleted file mode 100644 index dddb80780af..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/dotpoints-01.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/hand-02.svg b/web/app/components/base/icons/assets/vender/line/editor/hand-02.svg deleted file mode 100644 index 4d72cd307eb..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/hand-02.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/italic-01.svg b/web/app/components/base/icons/assets/vender/line/editor/italic-01.svg deleted file mode 100644 index 216506a903e..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/italic-01.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/strikethrough-01.svg b/web/app/components/base/icons/assets/vender/line/editor/strikethrough-01.svg deleted file mode 100644 index 5935b4dd7dd..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/strikethrough-01.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/title-case.svg b/web/app/components/base/icons/assets/vender/line/editor/title-case.svg deleted file mode 100644 index c3a13dd7ef8..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/title-case.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/zoom-in.svg b/web/app/components/base/icons/assets/vender/line/editor/zoom-in.svg deleted file mode 100644 index 8f612615898..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/zoom-in.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/editor/zoom-out.svg b/web/app/components/base/icons/assets/vender/line/editor/zoom-out.svg deleted file mode 100644 index 83b645402ec..00000000000 --- a/web/app/components/base/icons/assets/vender/line/editor/zoom-out.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/education/book-open-02.svg b/web/app/components/base/icons/assets/vender/line/education/book-open-02.svg deleted file mode 100644 index 7d2df058c50..00000000000 --- a/web/app/components/base/icons/assets/vender/line/education/book-open-02.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/files/sticker-square.svg b/web/app/components/base/icons/assets/vender/line/files/sticker-square.svg deleted file mode 100644 index 0104e7ce8a8..00000000000 --- a/web/app/components/base/icons/assets/vender/line/files/sticker-square.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/check-circle.svg b/web/app/components/base/icons/assets/vender/line/general/check-circle.svg deleted file mode 100644 index 1c40b623422..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/check-circle.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/checklist.svg b/web/app/components/base/icons/assets/vender/line/general/checklist.svg deleted file mode 100644 index 7af862e6ddd..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/checklist.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/dots-horizontal.svg b/web/app/components/base/icons/assets/vender/line/general/dots-horizontal.svg deleted file mode 100644 index 2e5eacff53f..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/dots-horizontal.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/edit-03.svg b/web/app/components/base/icons/assets/vender/line/general/edit-03.svg deleted file mode 100644 index 0870514ab30..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/edit-03.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/help-circle.svg b/web/app/components/base/icons/assets/vender/line/general/help-circle.svg deleted file mode 100644 index eac115d9a92..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/help-circle.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/link-01.svg b/web/app/components/base/icons/assets/vender/line/general/link-01.svg deleted file mode 100644 index 60fccd84f2d..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/link-01.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/link-broken-01.svg b/web/app/components/base/icons/assets/vender/line/general/link-broken-01.svg deleted file mode 100644 index 47a0560db12..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/link-broken-01.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/link-external-01.svg b/web/app/components/base/icons/assets/vender/line/general/link-external-01.svg deleted file mode 100644 index e05780c2274..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/link-external-01.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/loading-02.svg b/web/app/components/base/icons/assets/vender/line/general/loading-02.svg deleted file mode 100644 index c08ddd4bf4f..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/loading-02.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/plus.svg b/web/app/components/base/icons/assets/vender/line/general/plus.svg deleted file mode 100644 index 01ba5a571bc..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/plus.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/search-lg.svg b/web/app/components/base/icons/assets/vender/line/general/search-lg.svg deleted file mode 100644 index 98f0877fe6d..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/search-lg.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/trash-03.svg b/web/app/components/base/icons/assets/vender/line/general/trash-03.svg deleted file mode 100644 index 00c29894f68..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/trash-03.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/web/app/components/base/icons/assets/vender/line/general/x-close.svg b/web/app/components/base/icons/assets/vender/line/general/x-close.svg deleted file mode 100644 index 0ba4fd44f30..00000000000 --- a/web/app/components/base/icons/assets/vender/line/general/x-close.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/layout/organize-grid.svg b/web/app/components/base/icons/assets/vender/line/layout/organize-grid.svg deleted file mode 100644 index 802359d0955..00000000000 --- a/web/app/components/base/icons/assets/vender/line/layout/organize-grid.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/web/app/components/base/icons/assets/vender/line/mediaAndDevices/play.svg b/web/app/components/base/icons/assets/vender/line/mediaAndDevices/play.svg deleted file mode 100644 index 8f80a994e23..00000000000 --- a/web/app/components/base/icons/assets/vender/line/mediaAndDevices/play.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/solid/alertsAndFeedback/alert-circle.svg b/web/app/components/base/icons/assets/vender/solid/alertsAndFeedback/alert-circle.svg deleted file mode 100644 index 61d95ad6d0e..00000000000 --- a/web/app/components/base/icons/assets/vender/solid/alertsAndFeedback/alert-circle.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/solid/arrows/expand-04.svg b/web/app/components/base/icons/assets/vender/solid/arrows/expand-04.svg deleted file mode 100644 index 8afe25c1c86..00000000000 --- a/web/app/components/base/icons/assets/vender/solid/arrows/expand-04.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/solid/editor/cursor-02c.svg b/web/app/components/base/icons/assets/vender/solid/editor/cursor-02c.svg deleted file mode 100644 index 7a55feeef93..00000000000 --- a/web/app/components/base/icons/assets/vender/solid/editor/cursor-02c.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/assets/vender/solid/editor/hand-02.svg b/web/app/components/base/icons/assets/vender/solid/editor/hand-02.svg deleted file mode 100644 index 1ae44e2c824..00000000000 --- a/web/app/components/base/icons/assets/vender/solid/editor/hand-02.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/web/app/components/base/icons/src/public/header-nav/explore/Explore.json b/web/app/components/base/icons/src/public/header-nav/explore/Explore.json deleted file mode 100644 index 523f817a26f..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/explore/Explore.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "clip-path": "url(#clip0_6139_55192)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M10.25 3.3125C10.25 4.55514 9.24264 5.5625 8 5.5625C6.75736 5.5625 5.75 4.55514 5.75 3.3125C5.75 2.06986 6.75736 1.0625 8 1.0625C9.24264 1.0625 10.25 2.06986 10.25 3.3125Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M12.6875 10.25C11.4449 10.25 10.4375 9.24264 10.4375 8C10.4375 6.75736 11.4449 5.75 12.6875 5.75C13.9301 5.75 14.9375 6.75736 14.9375 8C14.9375 9.24264 13.9301 10.25 12.6875 10.25Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M10.25 12.6875C10.25 13.9301 9.24264 14.9375 8 14.9375C6.75736 14.9375 5.75 13.9301 5.75 12.6875C5.75 11.4449 6.75736 10.4375 8 10.4375C9.24264 10.4375 10.25 11.4449 10.25 12.6875Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M3.3125 10.25C2.06986 10.25 1.0625 9.24264 1.0625 8C1.0625 6.75736 2.06986 5.75 3.3125 5.75C4.55514 5.75 5.5625 6.75736 5.5625 8C5.5625 9.24264 4.55514 10.25 3.3125 10.25Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_6139_55192" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "16", - "height": "16", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "Explore" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/explore/Explore.tsx b/web/app/components/base/icons/src/public/header-nav/explore/Explore.tsx deleted file mode 100644 index 947ab95df12..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/explore/Explore.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Explore.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Explore' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.json b/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.json deleted file mode 100644 index 18f77d6647c..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "clip-path": "url(#clip0_6139_55194)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M8 0.5C6.4467 0.5 5.1875 1.7592 5.1875 3.3125C5.1875 4.8658 6.4467 6.125 8 6.125C9.5533 6.125 10.8125 4.8658 10.8125 3.3125C10.8125 1.7592 9.5533 0.5 8 0.5Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M15.5 8C15.5 6.4467 14.2408 5.1875 12.6875 5.1875C11.1342 5.1875 9.875 6.4467 9.875 8C9.875 9.5533 11.1342 10.8125 12.6875 10.8125C14.2408 10.8125 15.5 9.5533 15.5 8Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M8 9.875C6.4467 9.875 5.1875 11.1342 5.1875 12.6875C5.1875 14.2408 6.4467 15.5 8 15.5C9.5533 15.5 10.8125 14.2408 10.8125 12.6875C10.8125 11.1342 9.5533 9.875 8 9.875Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M6.125 8C6.125 6.4467 4.8658 5.1875 3.3125 5.1875C1.7592 5.1875 0.5 6.4467 0.5 8C0.5 9.5533 1.7592 10.8125 3.3125 10.8125C4.8658 10.8125 6.125 9.5533 6.125 8Z", - "fill": "#155EEF" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_6139_55194" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "16", - "height": "16", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "ExploreActive" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.tsx b/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.tsx deleted file mode 100644 index 38a7614e5ce..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/explore/ExploreActive.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ExploreActive.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ExploreActive' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/explore/index.ts b/web/app/components/base/icons/src/public/header-nav/explore/index.ts deleted file mode 100644 index e902cc9bd08..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/explore/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as ExploreActive } from './ExploreActive' -export { default as Explore } from './Explore' diff --git a/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.json b/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.json deleted file mode 100644 index dd3bd08a19d..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M13.4375 8V10.8125C13.4375 11.2267 13.1017 11.5625 12.6875 11.5625H4.25C3.31802 11.5625 2.5625 12.318 2.5625 13.25C2.5625 14.182 3.31802 14.9375 4.25 14.9375H6.5M5.5625 4.25H10.4375M5.5625 7.25H8.1875M4.0625 1.0625H12.6875C13.1017 1.0625 13.4375 1.39829 13.4375 1.8125V14.1875C13.4375 14.6017 13.1017 14.9375 12.6875 14.9375H4.0625C3.23407 14.9375 2.5625 14.2659 2.5625 13.4375V2.5625C2.5625 1.73407 3.23407 1.0625 4.0625 1.0625Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "Knowledge" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.tsx b/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.tsx deleted file mode 100644 index 4c84514d428..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/knowledge/Knowledge.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Knowledge.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Knowledge' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.json b/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.json deleted file mode 100644 index 2826a09245c..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M4.0625 0.5C2.92341 0.5 2 1.42341 2 2.5625V13.4375C2 14.5766 2.92341 15.5 4.0625 15.5H12.6875C13.4124 15.5 14 14.9124 14 14.1875V1.8125C14 1.08763 13.4124 0.5 12.6875 0.5H4.0625ZM3.125 13.25V13.4375C3.125 13.9553 3.54473 14.375 4.0625 14.375H12.6875C12.7911 14.375 12.875 14.2911 12.875 14.1875V12.1117C12.8138 12.1205 12.7512 12.125 12.6875 12.125H4.25C3.62868 12.125 3.125 12.6287 3.125 13.25ZM5.5625 3.6875C5.25184 3.6875 5 3.93934 5 4.25C5 4.56066 5.25184 4.8125 5.5625 4.8125H10.4375C10.7482 4.8125 11 4.56066 11 4.25C11 3.93934 10.7482 3.6875 10.4375 3.6875H5.5625ZM5 7.25C5 6.93934 5.25184 6.6875 5.5625 6.6875H8.1875C8.49816 6.6875 8.75 6.93934 8.75 7.25C8.75 7.56066 8.49816 7.8125 8.1875 7.8125H5.5625C5.25184 7.8125 5 7.56066 5 7.25Z", - "fill": "#155EEF" - }, - "children": [] - } - ] - }, - "name": "KnowledgeActive" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.tsx b/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.tsx deleted file mode 100644 index 07f1565e543..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/knowledge/KnowledgeActive.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './KnowledgeActive.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'KnowledgeActive' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/knowledge/index.ts b/web/app/components/base/icons/src/public/header-nav/knowledge/index.ts deleted file mode 100644 index 2e179be0154..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/knowledge/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as KnowledgeActive } from './KnowledgeActive' -export { default as Knowledge } from './Knowledge' diff --git a/web/app/components/base/icons/src/public/header-nav/studio/Robot.json b/web/app/components/base/icons/src/public/header-nav/studio/Robot.json deleted file mode 100644 index 9854729e603..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/studio/Robot.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M8 1.99997H3.33594C2.92172 1.99997 2.58594 2.33576 2.58594 2.74997V8.37497C2.58594 8.78919 2.92172 9.12497 3.33594 9.12497H12.6641C13.0783 9.12497 13.4141 8.78919 13.4141 8.37497V2.74997C13.4141 2.33576 13.0783 1.99997 12.6641 1.99997H8ZM8 1.99997V0.820923M5.5625 4.99997V6.12497M10.4375 4.99997V6.12497M3.3125 9.12497V9.87497M3.3125 9.87497V10.4375C3.3125 13.0263 5.41117 15.125 8 15.125C10.5888 15.125 12.6875 13.0263 12.6875 10.4375V9.87497M3.3125 9.87497L1.8125 11.375M12.6875 9.87497V9.12497M12.6875 9.87497L14.1875 11.375", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "Robot" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/studio/Robot.tsx b/web/app/components/base/icons/src/public/header-nav/studio/Robot.tsx deleted file mode 100644 index 07251c5b099..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/studio/Robot.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Robot.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Robot' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.json b/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.json deleted file mode 100644 index e35f7e7e663..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M8 0C8.41421 0 8.75 0.335786 8.75 0.75V1.5H12.5C13.3284 1.5 14 2.17157 14 3V8.25C14 8.80521 13.6984 9.28997 13.25 9.54933V10.1893L14.5303 11.4697C14.8232 11.7626 14.8232 12.2374 14.5303 12.5303C14.2374 12.8232 13.7626 12.8232 13.4697 12.5303L13.0108 12.0714C12.3429 14.2033 10.3521 15.75 8 15.75C5.64793 15.75 3.65711 14.2033 2.98923 12.0714L2.53033 12.5303C2.23744 12.8232 1.76256 12.8232 1.46967 12.5303C1.17678 12.2374 1.17678 11.7626 1.46967 11.4697L2.75 10.1893L2.75 9.54933C2.30165 9.28997 2 8.80521 2 8.25V3C2 2.17157 2.67157 1.5 3.5 1.5H7.25V0.75C7.25 0.335786 7.58579 0 8 0ZM3.5 3V8.25H12.5V3H3.5Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M5.75 4.5C6.16421 4.5 6.5 4.83579 6.5 5.25V6C6.5 6.41421 6.16421 6.75 5.75 6.75C5.33579 6.75 5 6.41421 5 6V5.25C5 4.83579 5.33579 4.5 5.75 4.5ZM10.25 4.5C10.6642 4.5 11 4.83579 11 5.25V6C11 6.41421 10.6642 6.75 10.25 6.75C9.83579 6.75 9.5 6.41421 9.5 6V5.25C9.5 4.83579 9.83579 4.5 10.25 4.5Z", - "fill": "#155EEF" - }, - "children": [] - } - ] - }, - "name": "RobotActive" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.tsx b/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.tsx deleted file mode 100644 index 5c4b2ca7e23..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/studio/RobotActive.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './RobotActive.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'RobotActive' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/studio/index.ts b/web/app/components/base/icons/src/public/header-nav/studio/index.ts deleted file mode 100644 index 46994250f97..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/studio/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as RobotActive } from './RobotActive' -export { default as Robot } from './Robot' diff --git a/web/app/components/base/icons/src/public/header-nav/tools/Tools.json b/web/app/components/base/icons/src/public/header-nav/tools/Tools.json deleted file mode 100644 index dd8838923ff..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/tools/Tools.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "clip-path": "url(#clip0_7278_16509)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M13.4375 13.9375V6.3125H2.5625V13.9375C2.5625 14.4898 3.01022 14.9375 3.5625 14.9375H12.4375C12.9898 14.9375 13.4375 14.4898 13.4375 13.9375Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M13.6249 2.375L11.1733 5.97327", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M6.3125 9.3125H9.6875", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M8.74536 1.43634L8.75 1.42705L8.75464 1.43634C8.8756 1.67825 9.07175 1.8744 9.31366 1.99536L9.32295 2L9.31366 2.00464C9.07175 2.1256 8.8756 2.32175 8.75464 2.56366L8.75 2.57295L8.74536 2.56366C8.6244 2.32175 8.42825 2.1256 8.18634 2.00464L8.17705 2L8.18634 1.99536C8.42825 1.8744 8.6244 1.67825 8.74536 1.43634L8.07454 1.10093L8.74536 1.43634Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M4.51955 2.71615L4.625 2.66343L4.51955 2.71615L4.44925 2.57555L4.31195 2.30095C4.44093 2.55892 4.80907 2.55892 4.93805 2.30095L4.80075 2.57555L4.51955 2.71615ZM4.625 2.88765C4.69208 2.97794 4.77206 3.05792 4.86235 3.125C4.77206 3.19208 4.69208 3.27206 4.625 3.36235C4.55792 3.27206 4.47794 3.19208 4.38765 3.125C4.47794 3.05792 4.55792 2.97794 4.625 2.88765ZM4.16343 3.125L4.21615 3.01955L4.21615 3.01955L4.16343 3.125Z", - "stroke": "#667085", - "stroke-width": "1.5", - "stroke-linecap": "square", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_7278_16509" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "16", - "height": "16", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "Tools" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/tools/Tools.tsx b/web/app/components/base/icons/src/public/header-nav/tools/Tools.tsx deleted file mode 100644 index c46b8bc2b06..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/tools/Tools.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Tools.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Tools' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.json b/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.json deleted file mode 100644 index 7a2b9734372..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M7.88756 1.30591C7.96013 1.26962 8.01898 1.21078 8.05527 1.1382L8.41395 0.420826C8.55215 0.144433 8.94658 0.144433 9.08478 0.420826L9.44346 1.1382C9.47975 1.21078 9.5386 1.26962 9.61117 1.30591L10.3285 1.6646C10.6049 1.80279 10.6049 2.19722 10.3285 2.33542L9.61117 2.6941C9.5386 2.73039 9.47975 2.78924 9.44346 2.86181L9.08478 3.57919C8.94658 3.85558 8.55215 3.85558 8.41395 3.57919L8.05527 2.86181C8.01898 2.78924 7.96013 2.73039 7.88756 2.6941L7.17019 2.33542C6.89379 2.19722 6.89379 1.80279 7.17019 1.6646L7.88756 1.30591Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M3.88756 2.55591C3.96013 2.51962 4.01898 2.46078 4.05527 2.3882L4.28895 1.92083C4.42715 1.64443 4.82158 1.64443 4.95977 1.92083L5.19346 2.3882C5.22975 2.46078 5.2886 2.51962 5.36117 2.55591L5.82854 2.7896C6.10494 2.92779 6.10494 3.32222 5.82854 3.46042L5.36117 3.6941C5.2886 3.73039 5.22975 3.78924 5.19346 3.86181L4.95978 4.32919C4.82158 4.60558 4.42715 4.60558 4.28895 4.32919L4.05527 3.86181C4.01898 3.78924 3.96013 3.73039 3.88756 3.6941L3.42019 3.46042C3.14379 3.32222 3.14379 2.92779 3.42019 2.7896L3.88756 2.55591Z", - "fill": "#155EEF" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M13.9417 1.91015C14.1985 2.08507 14.2648 2.43499 14.0899 2.69173L12.0062 5.75001H13.4375C13.7482 5.75001 14 6.00185 14 6.31251V14.1875C14 14.9124 13.4124 15.5 12.6875 15.5H3.3125C2.58763 15.5 2 14.9124 2 14.1875V6.31251C2 6.00185 2.25184 5.75001 2.5625 5.75001H10.6449L13.1601 2.05829C13.3351 1.80155 13.685 1.73523 13.9417 1.91015ZM6.3125 8.75C6.00184 8.75 5.75 9.00184 5.75 9.3125C5.75 9.62316 6.00184 9.875 6.3125 9.875H9.6875C9.99816 9.875 10.25 9.62316 10.25 9.3125C10.25 9.00184 9.99816 8.75 9.6875 8.75H6.3125Z", - "fill": "#155EEF" - }, - "children": [] - } - ] - }, - "name": "ToolsActive" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.tsx b/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.tsx deleted file mode 100644 index 326bf45a052..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/tools/ToolsActive.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ToolsActive.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ToolsActive' - -export default Icon diff --git a/web/app/components/base/icons/src/public/header-nav/tools/index.ts b/web/app/components/base/icons/src/public/header-nav/tools/index.ts deleted file mode 100644 index 3b16737e30a..00000000000 --- a/web/app/components/base/icons/src/public/header-nav/tools/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as ToolsActive } from './ToolsActive' -export { default as Tools } from './Tools' diff --git a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.json b/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.json deleted file mode 100644 index 9723d67a88b..00000000000 --- a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "17", - "viewBox": "0 0 16 17", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Error" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M7.99992 5.83337V8.50004M7.99992 11.1667H8.00659M14.6666 8.50004C14.6666 12.1819 11.6818 15.1667 7.99992 15.1667C4.31802 15.1667 1.33325 12.1819 1.33325 8.50004C1.33325 4.81814 4.31802 1.83337 7.99992 1.83337C11.6818 1.83337 14.6666 4.81814 14.6666 8.50004Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "AlertCircle" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.tsx b/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.tsx deleted file mode 100644 index 76eb8b41e4f..00000000000 --- a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/AlertCircle.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './AlertCircle.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'AlertCircle' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/index.ts b/web/app/components/base/icons/src/vender/line/alertsAndFeedback/index.ts index a406c8cf53b..f0a0faf74d3 100644 --- a/web/app/components/base/icons/src/vender/line/alertsAndFeedback/index.ts +++ b/web/app/components/base/icons/src/vender/line/alertsAndFeedback/index.ts @@ -1,4 +1,3 @@ -export { default as AlertCircle } from './AlertCircle' export { default as AlertTriangle } from './AlertTriangle' export { default as ThumbsDown } from './ThumbsDown' export { default as ThumbsUp } from './ThumbsUp' diff --git a/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.json b/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.json deleted file mode 100644 index 51868774ade..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "24", - "height": "24", - "viewBox": "0 0 24 24", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M4 12H20M20 12L14 6M20 12L14 18", - "stroke": "currentColor", - "stroke-width": "2", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "ArrowNarrowRight" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.tsx b/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.tsx deleted file mode 100644 index c378eddf15b..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/ArrowNarrowRight.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ArrowNarrowRight.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ArrowNarrowRight' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.json b/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.json deleted file mode 100644 index a57225d5562..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "12", - "height": "12", - "viewBox": "0 0 12 12", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "chevron-down" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M3 4.5L6 7.5L9 4.5", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "ChevronDown" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.tsx b/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.tsx deleted file mode 100644 index 9419fe1ab0c..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/ChevronDown.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ChevronDown.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ChevronDown' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/arrows/Collapse04.json b/web/app/components/base/icons/src/vender/line/arrows/Collapse04.json deleted file mode 100644 index eb6d08c2133..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/Collapse04.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "24", - "height": "24", - "viewBox": "0 0 24 24", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M4 14H10M10 14V20M10 14L3 21M20 10H14M14 10V4M14 10L21 3M20 14V16.8C20 17.9201 20 18.4802 19.782 18.908C19.5903 19.2843 19.2843 19.5903 18.908 19.782C18.4802 20 17.9201 20 16.8 20H14M10 4H7.2C6.0799 4 5.51984 4 5.09202 4.21799C4.71569 4.40973 4.40973 4.71569 4.21799 5.09202C4 5.51984 4 6.07989 4 7.2V10", - "stroke": "currentColor", - "stroke-width": "2", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "Collapse04" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/arrows/Collapse04.tsx b/web/app/components/base/icons/src/vender/line/arrows/Collapse04.tsx deleted file mode 100644 index 05c0f4901d8..00000000000 --- a/web/app/components/base/icons/src/vender/line/arrows/Collapse04.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Collapse04.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Collapse04' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/arrows/index.ts b/web/app/components/base/icons/src/vender/line/arrows/index.ts index 2a1e4002b5e..c1a1410482b 100644 --- a/web/app/components/base/icons/src/vender/line/arrows/index.ts +++ b/web/app/components/base/icons/src/vender/line/arrows/index.ts @@ -1,11 +1,8 @@ export { default as ArrowNarrowLeft } from './ArrowNarrowLeft' -export { default as ArrowNarrowRight } from './ArrowNarrowRight' export { default as ArrowUpRight } from './ArrowUpRight' export { default as ChevronDownDouble } from './ChevronDownDouble' -export { default as ChevronDown } from './ChevronDown' export { default as ChevronRight } from './ChevronRight' export { default as ChevronSelectorVertical } from './ChevronSelectorVertical' -export { default as Collapse04 } from './Collapse04' export { default as FlipBackward } from './FlipBackward' export { default as FlipForward } from './FlipForward' export { default as RefreshCcw01 } from './RefreshCcw01' diff --git a/web/app/components/base/icons/src/vender/line/editor/Bold01.json b/web/app/components/base/icons/src/vender/line/editor/Bold01.json deleted file mode 100644 index 6a807dacdfd..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Bold01.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M4.5 7.99996H9.83333C11.3061 7.99996 12.5 6.80605 12.5 5.33329C12.5 3.86053 11.3061 2.66663 9.83333 2.66663H4.5V7.99996ZM4.5 7.99996H10.5C11.9728 7.99996 13.1667 9.19387 13.1667 10.6666C13.1667 12.1394 11.9728 13.3333 10.5 13.3333H4.5V7.99996Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Bold01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Bold01.tsx b/web/app/components/base/icons/src/vender/line/editor/Bold01.tsx deleted file mode 100644 index 5fb2c4b6203..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Bold01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Bold01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Bold01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/Cursor02C.json b/web/app/components/base/icons/src/vender/line/editor/Cursor02C.json deleted file mode 100644 index 32103687858..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Cursor02C.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector", - "d": "M2.4598 3.3093L6.05377 13.551C6.25503 14.1246 7.05599 14.1516 7.29552 13.593L9.08053 9.43022C9.14793 9.27295 9.27326 9.14762 9.43053 9.08022L13.5933 7.29522C14.1519 7.05569 14.1249 6.25472 13.5513 6.05346L3.30961 2.45949C2.78207 2.27437 2.27468 2.78176 2.4598 3.3093Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Cursor02C" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Cursor02C.tsx b/web/app/components/base/icons/src/vender/line/editor/Cursor02C.tsx deleted file mode 100644 index 70d89802df5..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Cursor02C.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Cursor02C.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Cursor02C' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.json b/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.json deleted file mode 100644 index 926824bddac..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M14.5 8.00004L6.5 8.00004M14.5 4.00004L6.5 4.00004M14.5 12L6.5 12M3.83333 8.00004C3.83333 8.36823 3.53486 8.66671 3.16667 8.66671C2.79848 8.66671 2.5 8.36823 2.5 8.00004C2.5 7.63185 2.79848 7.33337 3.16667 7.33337C3.53486 7.33337 3.83333 7.63185 3.83333 8.00004ZM3.83333 4.00004C3.83333 4.36823 3.53486 4.66671 3.16667 4.66671C2.79848 4.66671 2.5 4.36823 2.5 4.00004C2.5 3.63185 2.79848 3.33337 3.16667 3.33337C3.53486 3.33337 3.83333 3.63185 3.83333 4.00004ZM3.83333 12C3.83333 12.3682 3.53486 12.6667 3.16667 12.6667C2.79848 12.6667 2.5 12.3682 2.5 12C2.5 11.6319 2.79848 11.3334 3.16667 11.3334C3.53486 11.3334 3.83333 11.6319 3.83333 12Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Dotpoints01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.tsx b/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.tsx deleted file mode 100644 index 34cdbb71449..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Dotpoints01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Dotpoints01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Dotpoints01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/Hand02.json b/web/app/components/base/icons/src/vender/line/editor/Hand02.json deleted file mode 100644 index a4aedd557f0..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Hand02.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector", - "d": "M11.3344 5C11.3344 4.44771 11.7821 4 12.3344 4C12.8867 4 13.3344 4.44771 13.3344 5V9.21947C13.3344 11.8597 11.1941 14 8.55387 14C6.779 14 5.15019 13.0167 4.32353 11.446L2.53767 8.05287C2.41421 7.81827 2.44145 7.53287 2.60703 7.32587L2.83481 7.04113C3.29483 6.46614 4.13389 6.37291 4.7089 6.83293L5.33441 7.33333V3.66667C5.33441 3.11438 5.78213 2.66667 6.33441 2.66667C6.88667 2.66667 7.3344 3.11438 7.3344 3.66667M11.3344 5V3.66667C11.3344 3.11438 10.8867 2.66667 10.3344 2.66667C9.78213 2.66667 9.3344 3.11438 9.3344 3.66667M11.3344 5V8M7.3344 3.66667V3C7.3344 2.44771 7.78213 2 8.3344 2C8.88667 2 9.3344 2.44771 9.3344 3V3.66667M7.3344 3.66667V7.33333M9.3344 3.66667V7.66667", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Hand02" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Hand02.tsx b/web/app/components/base/icons/src/vender/line/editor/Hand02.tsx deleted file mode 100644 index 10a2f37302e..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Hand02.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Hand02.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Hand02' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/Italic01.json b/web/app/components/base/icons/src/vender/line/editor/Italic01.json deleted file mode 100644 index d5fff5ec270..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Italic01.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M13.1666 2.66663H7.16659M9.83325 13.3333H3.83325M10.4999 2.66663L6.49992 13.3333", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "Italic01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Italic01.tsx b/web/app/components/base/icons/src/vender/line/editor/Italic01.tsx deleted file mode 100644 index 4522c8dc9d2..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Italic01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Italic01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Italic01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.json b/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.json deleted file mode 100644 index fda981321ad..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M4.5 10.6666C4.5 12.1394 5.69391 13.3333 7.16667 13.3333H9.83333C11.3061 13.3333 12.5 12.1394 12.5 10.6666C12.5 9.19387 11.3061 7.99996 9.83333 7.99996M12.5 5.33329C12.5 3.86053 11.3061 2.66663 9.83333 2.66663H7.16667C5.69391 2.66663 4.5 3.86053 4.5 5.33329M2.5 7.99996H14.5", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Strikethrough01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.tsx b/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.tsx deleted file mode 100644 index 7aee626ceec..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/Strikethrough01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Strikethrough01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Strikethrough01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/TitleCase.json b/web/app/components/base/icons/src/vender/line/editor/TitleCase.json deleted file mode 100644 index 6f7e587ee57..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/TitleCase.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Vector" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M2.0922 12.4865C2.57616 12.4865 2.84839 12.2445 3.01778 11.6638L3.47754 10.3026H6.62933L7.0891 11.6819C7.25243 12.2506 7.52463 12.4865 8.03887 12.4865C8.5712 12.4865 8.95232 12.1295 8.95232 11.6275C8.95232 11.4459 8.92208 11.2827 8.83743 11.0467L6.44179 4.54954C6.18167 3.83569 5.7582 3.52112 5.04436 3.52112C4.35471 3.52112 3.9252 3.84779 3.67112 4.55559L1.28762 11.0467C1.20897 11.2705 1.16663 11.4762 1.16663 11.6275C1.16663 12.1538 1.52355 12.4865 2.0922 12.4865ZM3.8768 8.88703L5.00806 5.31177H5.05041L6.20586 8.88703H3.8768Z", - "fill": "currentColor" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M12.1068 12.4744C12.9174 12.4744 13.7281 12.0691 14.091 11.3795H14.1273V11.7122C14.1636 12.2324 14.4963 12.4986 14.9742 12.4986C15.4764 12.4986 15.8333 12.1961 15.8333 11.6093V7.91309C15.8333 6.60636 14.7504 5.74734 13.0868 5.74734C11.7438 5.74734 10.7033 6.22525 10.4008 6.99957C10.3403 7.13269 10.3101 7.25973 10.3101 7.39885C10.3101 7.79813 10.6186 8.07638 11.0481 8.07638C11.3324 8.07638 11.5563 7.9675 11.7499 7.74973C12.1431 7.24157 12.4697 7.06613 13.0081 7.06613C13.6736 7.06613 14.0971 7.41701 14.0971 8.02198V8.4515L12.4637 8.54823C10.8424 8.64503 9.93506 9.32864 9.93506 10.5083C9.93506 11.6759 10.8727 12.4744 12.1068 12.4744ZM12.6876 11.1979C12.0947 11.1979 11.6954 10.8955 11.6954 10.4115C11.6954 9.95176 12.0705 9.65528 12.7299 9.60695L14.0971 9.52224V9.99408C14.0971 10.6958 13.4619 11.1979 12.6876 11.1979Z", - "fill": "currentColor" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "TitleCase" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/TitleCase.tsx b/web/app/components/base/icons/src/vender/line/editor/TitleCase.tsx deleted file mode 100644 index a1e073e48e3..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/TitleCase.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './TitleCase.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'TitleCase' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/ZoomIn.json b/web/app/components/base/icons/src/vender/line/editor/ZoomIn.json deleted file mode 100644 index 5a04fbb9312..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/ZoomIn.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M14 14L11.1 11.1M7.33333 5.33333V9.33333M5.33333 7.33333H9.33333M12.6667 7.33333C12.6667 10.2789 10.2789 12.6667 7.33333 12.6667C4.38781 12.6667 2 10.2789 2 7.33333C2 4.38781 4.38781 2 7.33333 2C10.2789 2 12.6667 4.38781 12.6667 7.33333Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "ZoomIn" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/ZoomIn.tsx b/web/app/components/base/icons/src/vender/line/editor/ZoomIn.tsx deleted file mode 100644 index e76cd512b34..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/ZoomIn.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ZoomIn.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ZoomIn' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/ZoomOut.json b/web/app/components/base/icons/src/vender/line/editor/ZoomOut.json deleted file mode 100644 index ab19418e051..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/ZoomOut.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M14 14L11.1 11.1M5.33333 7.33333H9.33333M12.6667 7.33333C12.6667 10.2789 10.2789 12.6667 7.33333 12.6667C4.38781 12.6667 2 10.2789 2 7.33333C2 4.38781 4.38781 2 7.33333 2C10.2789 2 12.6667 4.38781 12.6667 7.33333Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "ZoomOut" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/editor/ZoomOut.tsx b/web/app/components/base/icons/src/vender/line/editor/ZoomOut.tsx deleted file mode 100644 index 51c01a91354..00000000000 --- a/web/app/components/base/icons/src/vender/line/editor/ZoomOut.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './ZoomOut.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'ZoomOut' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/editor/index.ts b/web/app/components/base/icons/src/vender/line/editor/index.ts index 7cab0bc584c..f571be03c69 100644 --- a/web/app/components/base/icons/src/vender/line/editor/index.ts +++ b/web/app/components/base/icons/src/vender/line/editor/index.ts @@ -1,16 +1,7 @@ export { default as AlignLeft } from './AlignLeft' export { default as BezierCurve03 } from './BezierCurve03' -export { default as Bold01 } from './Bold01' export { default as Colors } from './Colors' -export { default as Cursor02C } from './Cursor02C' -export { default as Dotpoints01 } from './Dotpoints01' -export { default as Hand02 } from './Hand02' export { default as ImageIndentLeft } from './ImageIndentLeft' -export { default as Italic01 } from './Italic01' export { default as LeftIndent02 } from './LeftIndent02' export { default as LetterSpacing01 } from './LetterSpacing01' -export { default as Strikethrough01 } from './Strikethrough01' -export { default as TitleCase } from './TitleCase' export { default as TypeSquare } from './TypeSquare' -export { default as ZoomIn } from './ZoomIn' -export { default as ZoomOut } from './ZoomOut' diff --git a/web/app/components/base/icons/src/vender/line/education/BookOpen02.json b/web/app/components/base/icons/src/vender/line/education/BookOpen02.json deleted file mode 100644 index 300b782c277..00000000000 --- a/web/app/components/base/icons/src/vender/line/education/BookOpen02.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "book-open-01" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M8.00065 14L7.93395 13.8999C7.47085 13.2053 7.23931 12.858 6.93339 12.6065C6.66256 12.3839 6.35049 12.2169 6.01505 12.1151C5.63615 12 5.21872 12 4.38387 12H3.46732C2.72058 12 2.34721 12 2.062 11.8547C1.81111 11.7268 1.60714 11.5229 1.47931 11.272C1.33398 10.9868 1.33398 10.6134 1.33398 9.86667V4.13333C1.33398 3.3866 1.33398 3.01323 1.47931 2.72801C1.60714 2.47713 1.81111 2.27316 2.062 2.14532C2.34721 2 2.72058 2 3.46732 2H3.73398C5.22746 2 5.97419 2 6.54463 2.29065C7.04639 2.54631 7.45434 2.95426 7.71 3.45603C8.00065 4.02646 8.00065 4.77319 8.00065 6.26667M8.00065 14V6.26667M8.00065 14L8.06735 13.8999C8.53045 13.2053 8.762 12.858 9.06792 12.6065C9.33875 12.3839 9.65081 12.2169 9.98625 12.1151C10.3652 12 10.7826 12 11.6174 12H12.534C13.2807 12 13.6541 12 13.9393 11.8547C14.1902 11.7268 14.3942 11.5229 14.522 11.272C14.6673 10.9868 14.6673 10.6134 14.6673 9.86667V4.13333C14.6673 3.3866 14.6673 3.01323 14.522 2.72801C14.3942 2.47713 14.1902 2.27316 13.9393 2.14532C13.6541 2 13.2807 2 12.534 2H12.2673C10.7738 2 10.0271 2 9.45668 2.29065C8.95491 2.54631 8.54696 2.95426 8.2913 3.45603C8.00065 4.02646 8.00065 4.77319 8.00065 6.26667", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "BookOpen02" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/education/BookOpen02.tsx b/web/app/components/base/icons/src/vender/line/education/BookOpen02.tsx deleted file mode 100644 index 81a6d4221cb..00000000000 --- a/web/app/components/base/icons/src/vender/line/education/BookOpen02.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './BookOpen02.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'BookOpen02' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/education/index.ts b/web/app/components/base/icons/src/vender/line/education/index.ts index d6837ba5fb6..db44daf7159 100644 --- a/web/app/components/base/icons/src/vender/line/education/index.ts +++ b/web/app/components/base/icons/src/vender/line/education/index.ts @@ -1,2 +1 @@ export { default as BookOpen01 } from './BookOpen01' -export { default as BookOpen02 } from './BookOpen02' diff --git a/web/app/components/base/icons/src/vender/line/files/StickerSquare.json b/web/app/components/base/icons/src/vender/line/files/StickerSquare.json deleted file mode 100644 index 92d721912cc..00000000000 --- a/web/app/components/base/icons/src/vender/line/files/StickerSquare.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "sticker-square" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M8.66667 2.33333V4.13333C8.66667 5.25344 8.66667 5.81349 8.88465 6.24131C9.0764 6.61764 9.38236 6.9236 9.75869 7.11535C10.1865 7.33333 10.7466 7.33333 11.8667 7.33333H13.6667M14 8.65882V10.8C14 11.9201 14 12.4802 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.4802 14 11.9201 14 10.8 14H5.2C4.0799 14 3.51984 14 3.09202 13.782C2.71569 13.5903 2.40973 13.2843 2.21799 12.908C2 12.4802 2 11.9201 2 10.8V5.2C2 4.0799 2 3.51984 2.21799 3.09202C2.40973 2.71569 2.71569 2.40973 3.09202 2.21799C3.51984 2 4.0799 2 5.2 2H7.34118C7.83036 2 8.07496 2 8.30513 2.05526C8.5092 2.10425 8.70429 2.18506 8.88324 2.29472C9.08507 2.4184 9.25802 2.59135 9.60393 2.93726L13.0627 6.39608C13.4086 6.74198 13.5816 6.91493 13.7053 7.11676C13.8149 7.29571 13.8957 7.4908 13.9447 7.69487C14 7.92505 14 8.16964 14 8.65882Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "StickerSquare" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/files/StickerSquare.tsx b/web/app/components/base/icons/src/vender/line/files/StickerSquare.tsx deleted file mode 100644 index 925edcdc10e..00000000000 --- a/web/app/components/base/icons/src/vender/line/files/StickerSquare.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './StickerSquare.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'StickerSquare' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/files/index.ts b/web/app/components/base/icons/src/vender/line/files/index.ts index 71b4890ce8a..4c0ddc22895 100644 --- a/web/app/components/base/icons/src/vender/line/files/index.ts +++ b/web/app/components/base/icons/src/vender/line/files/index.ts @@ -9,4 +9,3 @@ export { default as FilePlus02 } from './FilePlus02' export { default as FileText } from './FileText' export { default as FileUpload } from './FileUpload' export { default as Folder } from './Folder' -export { default as StickerSquare } from './StickerSquare' diff --git a/web/app/components/base/icons/src/vender/line/general/CheckCircle.json b/web/app/components/base/icons/src/vender/line/general/CheckCircle.json deleted file mode 100644 index 60314a96907..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/CheckCircle.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "14", - "height": "14", - "viewBox": "0 0 14 14", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "check-circle", - "clip-path": "url(#clip0_465_21765)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M4.37533 6.99984L6.12533 8.74984L9.62533 5.24984M12.8337 6.99984C12.8337 10.2215 10.222 12.8332 7.00033 12.8332C3.77866 12.8332 1.16699 10.2215 1.16699 6.99984C1.16699 3.77818 3.77866 1.1665 7.00033 1.1665C10.222 1.1665 12.8337 3.77818 12.8337 6.99984Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_465_21765" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "14", - "height": "14", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "CheckCircle" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/CheckCircle.tsx b/web/app/components/base/icons/src/vender/line/general/CheckCircle.tsx deleted file mode 100644 index fe2cbfcb547..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/CheckCircle.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './CheckCircle.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'CheckCircle' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Checklist.json b/web/app/components/base/icons/src/vender/line/general/Checklist.json deleted file mode 100644 index b344f1f7da3..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Checklist.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector", - "d": "M8.75 11H14M8.75 5H14M2 5.75L3.125 6.5L5.375 3.5M2 11.75L3.125 12.5L5.375 9.5", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Checklist" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Checklist.tsx b/web/app/components/base/icons/src/vender/line/general/Checklist.tsx deleted file mode 100644 index 6cecf4692e1..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Checklist.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Checklist.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Checklist' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.json b/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.json deleted file mode 100644 index 912cfbb3559..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon_2" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M8.00008 8.66634C8.36827 8.66634 8.66675 8.36786 8.66675 7.99967C8.66675 7.63148 8.36827 7.33301 8.00008 7.33301C7.63189 7.33301 7.33341 7.63148 7.33341 7.99967C7.33341 8.36786 7.63189 8.66634 8.00008 8.66634Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M12.6667 8.66634C13.0349 8.66634 13.3334 8.36786 13.3334 7.99967C13.3334 7.63148 13.0349 7.33301 12.6667 7.33301C12.2986 7.33301 12.0001 7.63148 12.0001 7.99967C12.0001 8.36786 12.2986 8.66634 12.6667 8.66634Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M3.33341 8.66634C3.7016 8.66634 4.00008 8.36786 4.00008 7.99967C4.00008 7.63148 3.7016 7.33301 3.33341 7.33301C2.96522 7.33301 2.66675 7.63148 2.66675 7.99967C2.66675 8.36786 2.96522 8.66634 3.33341 8.66634Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "DotsHorizontal" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.tsx b/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.tsx deleted file mode 100644 index de6bc0e731b..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/DotsHorizontal.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './DotsHorizontal.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'DotsHorizontal' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Edit03.json b/web/app/components/base/icons/src/vender/line/general/Edit03.json deleted file mode 100644 index 6e216e12e28..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Edit03.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M7.99998 13.3332H14M2 13.3332H3.11636C3.44248 13.3332 3.60554 13.3332 3.75899 13.2963C3.89504 13.2637 4.0251 13.2098 4.1444 13.1367C4.27895 13.0542 4.39425 12.9389 4.62486 12.7083L13 4.33316C13.5523 3.78087 13.5523 2.88544 13 2.33316C12.4477 1.78087 11.5523 1.78087 11 2.33316L2.62484 10.7083C2.39424 10.9389 2.27894 11.0542 2.19648 11.1888C2.12338 11.3081 2.0695 11.4381 2.03684 11.5742C2 11.7276 2 11.8907 2 12.2168V13.3332Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Edit03" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Edit03.tsx b/web/app/components/base/icons/src/vender/line/general/Edit03.tsx deleted file mode 100644 index 23c97160188..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Edit03.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Edit03.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Edit03' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/HelpCircle.json b/web/app/components/base/icons/src/vender/line/general/HelpCircle.json deleted file mode 100644 index 5bb64d524d7..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/HelpCircle.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "14", - "height": "13", - "viewBox": "0 0 14 13", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M5.30246 4.74996C5.4396 4.3601 5.7103 4.03135 6.0666 3.82195C6.4229 3.61255 6.84181 3.53601 7.24915 3.60587C7.65648 3.67574 8.02594 3.88752 8.29209 4.20368C8.55824 4.51985 8.70391 4.92001 8.70329 5.33329C8.70329 6.49996 6.95329 7.08329 6.95329 7.08329M6.99996 9.41663H7.00579M12.8333 6.49996C12.8333 9.72162 10.2216 12.3333 6.99996 12.3333C3.7783 12.3333 1.16663 9.72162 1.16663 6.49996C1.16663 3.2783 3.7783 0.666626 6.99996 0.666626C10.2216 0.666626 12.8333 3.2783 12.8333 6.49996Z", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "HelpCircle" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/HelpCircle.tsx b/web/app/components/base/icons/src/vender/line/general/HelpCircle.tsx deleted file mode 100644 index 95b9928257b..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/HelpCircle.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './HelpCircle.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'HelpCircle' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Link01.json b/web/app/components/base/icons/src/vender/line/general/Link01.json deleted file mode 100644 index b49b5776a07..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Link01.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "17", - "height": "16", - "viewBox": "0 0 17 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M8.97167 12.2427L8.02886 13.1855C6.72711 14.4872 4.61656 14.4872 3.31481 13.1855C2.01306 11.8837 2.01306 9.77317 3.31481 8.47142L4.25762 7.52861M12.7429 8.47142L13.6857 7.52861C14.9875 6.22687 14.9875 4.11632 13.6857 2.81457C12.384 1.51282 10.2734 1.51282 8.97167 2.81457L8.02886 3.75738M6.16693 10.3333L10.8336 5.66667", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Link01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Link01.tsx b/web/app/components/base/icons/src/vender/line/general/Link01.tsx deleted file mode 100644 index ddddab1bd87..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Link01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Link01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Link01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/LinkBroken01.json b/web/app/components/base/icons/src/vender/line/general/LinkBroken01.json deleted file mode 100644 index 92a12347447..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/LinkBroken01.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "12", - "height": "12", - "viewBox": "0 0 12 12", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Left Icon", - "clip-path": "url(#clip0_6246_47371)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M4.5 2V1M7.5 10V11M2 4.5H1M10 7.5H11M2.45711 2.45711L1.75 1.75M9.54289 9.54289L10.25 10.25M6 8.82843L4.93934 9.88909C4.15829 10.6701 2.89196 10.6701 2.11091 9.88909C1.32986 9.10804 1.32986 7.84171 2.11091 7.06066L3.17157 6M8.82843 6L9.88909 4.93934C10.6701 4.15829 10.6701 2.89196 9.88909 2.11091C9.10804 1.32986 7.84171 1.32986 7.06066 2.11091L6 3.17157", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_6246_47371" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "12", - "height": "12", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "LinkBroken01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/LinkBroken01.tsx b/web/app/components/base/icons/src/vender/line/general/LinkBroken01.tsx deleted file mode 100644 index 10e1cee8eeb..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/LinkBroken01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './LinkBroken01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'LinkBroken01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/LinkExternal01.json b/web/app/components/base/icons/src/vender/line/general/LinkExternal01.json deleted file mode 100644 index 2275ad979a4..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/LinkExternal01.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "12", - "height": "12", - "viewBox": "0 0 12 12", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "link-external-01" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M10.5 4.5L10.5 1.5M10.5 1.5H7.5M10.5 1.5L6.5 5.5M5 2.5H3.9C3.05992 2.5 2.63988 2.5 2.31901 2.66349C2.03677 2.8073 1.8073 3.03677 1.66349 3.31901C1.5 3.63988 1.5 4.05992 1.5 4.9V8.1C1.5 8.94008 1.5 9.36012 1.66349 9.68099C1.8073 9.96323 2.03677 10.1927 2.31901 10.3365C2.63988 10.5 3.05992 10.5 3.9 10.5H7.1C7.94008 10.5 8.36012 10.5 8.68099 10.3365C8.96323 10.1927 9.1927 9.96323 9.33651 9.68099C9.5 9.36012 9.5 8.94008 9.5 8.1V7", - "stroke": "currentColor", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "LinkExternal01" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/LinkExternal01.tsx b/web/app/components/base/icons/src/vender/line/general/LinkExternal01.tsx deleted file mode 100644 index e13a341ce3e..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/LinkExternal01.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './LinkExternal01.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'LinkExternal01' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Loading02.json b/web/app/components/base/icons/src/vender/line/general/Loading02.json deleted file mode 100644 index 1711fba5dd8..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Loading02.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "clip-path": "url(#clip0_6037_51601)" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M7.99992 1.33398V4.00065M7.99992 12.0007V14.6673M3.99992 8.00065H1.33325M14.6666 8.00065H11.9999M12.7189 12.7196L10.8333 10.834M12.7189 3.33395L10.8333 5.21956M3.28097 12.7196L5.16659 10.834M3.28097 3.33395L5.16659 5.21956", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "defs", - "attributes": {}, - "children": [ - { - "type": "element", - "name": "clipPath", - "attributes": { - "id": "clip0_6037_51601" - }, - "children": [ - { - "type": "element", - "name": "rect", - "attributes": { - "width": "16", - "height": "16", - "fill": "white" - }, - "children": [] - } - ] - } - ] - } - ] - }, - "name": "Loading02" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Loading02.tsx b/web/app/components/base/icons/src/vender/line/general/Loading02.tsx deleted file mode 100644 index 3f17a2a892d..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Loading02.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Loading02.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Loading02' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Plus.json b/web/app/components/base/icons/src/vender/line/general/Plus.json deleted file mode 100644 index 6f78176ca86..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Plus.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "17", - "viewBox": "0 0 16 17", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "plus" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M8.00004 3.83337V13.1667M3.33337 8.50004H12.6667", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Plus" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Plus.tsx b/web/app/components/base/icons/src/vender/line/general/Plus.tsx deleted file mode 100644 index 249afa7f407..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Plus.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Plus.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Plus' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/SearchLg.json b/web/app/components/base/icons/src/vender/line/general/SearchLg.json deleted file mode 100644 index dc390a43a13..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/SearchLg.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "14", - "height": "15", - "viewBox": "0 0 14 15", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M12.25 12.75L10.2084 10.7083M11.6667 7.20833C11.6667 9.94675 9.44675 12.1667 6.70833 12.1667C3.96992 12.1667 1.75 9.94675 1.75 7.20833C1.75 4.46992 3.96992 2.25 6.70833 2.25C9.44675 2.25 11.6667 4.46992 11.6667 7.20833Z", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "SearchLg" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/SearchLg.tsx b/web/app/components/base/icons/src/vender/line/general/SearchLg.tsx deleted file mode 100644 index 0dd38fd8418..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/SearchLg.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './SearchLg.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'SearchLg' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/Trash03.json b/web/app/components/base/icons/src/vender/line/general/Trash03.json deleted file mode 100644 index a8a0e6498af..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Trash03.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M6 2H10M2 4H14M12.6667 4L12.1991 11.0129C12.129 12.065 12.0939 12.5911 11.8667 12.99C11.6666 13.3412 11.3648 13.6235 11.0011 13.7998C10.588 14 10.0607 14 9.00623 14H6.99377C5.93927 14 5.41202 14 4.99889 13.7998C4.63517 13.6235 4.33339 13.3412 4.13332 12.99C3.90607 12.5911 3.871 12.065 3.80086 11.0129L3.33333 4M6.66667 7V10.3333M9.33333 7V10.3333", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - "name": "Trash03" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/Trash03.tsx b/web/app/components/base/icons/src/vender/line/general/Trash03.tsx deleted file mode 100644 index c98b0da829f..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/Trash03.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Trash03.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Trash03' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/XClose.json b/web/app/components/base/icons/src/vender/line/general/XClose.json deleted file mode 100644 index 6fef6835139..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/XClose.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "x-close" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon", - "d": "M12 4L4 12M4 4L12 12", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "XClose" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/general/XClose.tsx b/web/app/components/base/icons/src/vender/line/general/XClose.tsx deleted file mode 100644 index aadfa1afd29..00000000000 --- a/web/app/components/base/icons/src/vender/line/general/XClose.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './XClose.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'XClose' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/general/index.ts b/web/app/components/base/icons/src/vender/line/general/index.ts index 350e54dbe15..c1af2e49948 100644 --- a/web/app/components/base/icons/src/vender/line/general/index.ts +++ b/web/app/components/base/icons/src/vender/line/general/index.ts @@ -1,25 +1,16 @@ export { default as AtSign } from './AtSign' export { default as Bookmark } from './Bookmark' -export { default as CheckCircle } from './CheckCircle' export { default as CheckDone01 } from './CheckDone01' export { default as Check } from './Check' export { default as ChecklistSquare } from './ChecklistSquare' -export { default as Checklist } from './Checklist' export { default as DotsGrid } from './DotsGrid' -export { default as DotsHorizontal } from './DotsHorizontal' export { default as Edit02 } from './Edit02' -export { default as Edit03 } from './Edit03' export { default as Edit04 } from './Edit04' export { default as Edit05 } from './Edit05' export { default as Hash02 } from './Hash02' -export { default as HelpCircle } from './HelpCircle' export { default as InfoCircle } from './InfoCircle' -export { default as Link01 } from './Link01' export { default as Link03 } from './Link03' -export { default as LinkBroken01 } from './LinkBroken01' -export { default as LinkExternal01 } from './LinkExternal01' export { default as LinkExternal02 } from './LinkExternal02' -export { default as Loading02 } from './Loading02' export { default as LogIn04 } from './LogIn04' export { default as LogOut01 } from './LogOut01' export { default as LogOut04 } from './LogOut04' @@ -27,13 +18,9 @@ export { default as Menu01 } from './Menu01' export { default as Pin01 } from './Pin01' export { default as Pin02 } from './Pin02' export { default as Plus02 } from './Plus02' -export { default as Plus } from './Plus' -export { default as SearchLg } from './SearchLg' export { default as Settings01 } from './Settings01' export { default as Settings04 } from './Settings04' export { default as Target04 } from './Target04' -export { default as Trash03 } from './Trash03' export { default as Upload03 } from './Upload03' export { default as UploadCloud01 } from './UploadCloud01' -export { default as XClose } from './XClose' export { default as X } from './X' diff --git a/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.json b/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.json deleted file mode 100644 index cf369fd60ce..00000000000 --- a/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Vector" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "d": "M9.33366 10.667C9.33366 9.93061 9.93061 9.33366 10.667 9.33366H12.0003C12.7367 9.33366 13.3337 9.93061 13.3337 10.667V12.0003C13.3337 12.7367 12.7367 13.3337 12.0003 13.3337H10.667C9.93061 13.3337 9.33366 12.7367 9.33366 12.0003V10.667Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M2.66699 10.667C2.66699 9.93059 3.26395 9.33366 4.00033 9.33366H5.33366C6.07004 9.33366 6.66699 9.93059 6.66699 10.667V12.0003C6.66699 12.7367 6.07004 13.3337 5.33366 13.3337H4.00033C3.26395 13.3337 2.66699 12.7367 2.66699 12.0003V10.667Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - }, - { - "type": "element", - "name": "path", - "attributes": { - "d": "M2.66699 4.00033C2.66699 3.26395 3.26393 2.66699 4.00033 2.66699H5.33366C6.07006 2.66699 6.66699 3.26395 6.66699 4.00033V5.33366C6.66699 6.07004 6.07006 6.66699 5.33366 6.66699H4.00033C3.26393 6.66699 2.66699 6.07004 2.66699 5.33366V4.00033Z", - "stroke": "currentColor", - "stroke-width": "1.5", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - }, - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector_2", - "d": "M11.6409 2.1899C11.5143 1.93674 11.153 1.93674 11.0265 2.1899L10.3544 3.53389C10.3213 3.60035 10.2673 3.65425 10.2008 3.68748L8.85684 4.35948C8.60371 4.48606 8.60371 4.84732 8.85684 4.97389L10.2008 5.64589C10.2673 5.67913 10.3213 5.73303 10.3544 5.7995L11.0265 7.14348C11.153 7.39664 11.5143 7.39664 11.6409 7.14348L12.3129 5.7995C12.3461 5.73303 12.4 5.67913 12.4665 5.64589L13.8105 4.97389C14.0636 4.84732 14.0636 4.48606 13.8105 4.35948L12.4665 3.68748C12.4 3.65425 12.3461 3.60035 12.3129 3.53389L11.6409 2.1899Z", - "fill": "currentColor" - }, - "children": [] - } - ] - } - ] - }, - "name": "OrganizeGrid" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.tsx b/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.tsx deleted file mode 100644 index f01763c61e7..00000000000 --- a/web/app/components/base/icons/src/vender/line/layout/OrganizeGrid.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './OrganizeGrid.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'OrganizeGrid' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/layout/index.ts b/web/app/components/base/icons/src/vender/line/layout/index.ts index 88be2344176..7c12b1f58f4 100644 --- a/web/app/components/base/icons/src/vender/line/layout/index.ts +++ b/web/app/components/base/icons/src/vender/line/layout/index.ts @@ -2,4 +2,3 @@ export { default as AlignLeft01 } from './AlignLeft01' export { default as AlignRight01 } from './AlignRight01' export { default as Grid01 } from './Grid01' export { default as LayoutGrid02 } from './LayoutGrid02' -export { default as OrganizeGrid } from './OrganizeGrid' diff --git a/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.json b/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.json deleted file mode 100644 index d6af631a84d..00000000000 --- a/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "12", - "height": "12", - "viewBox": "0 0 12 12", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M2.5 2.49482C2.5 2.00924 2.5 1.76644 2.60125 1.63261C2.68945 1.51601 2.82426 1.44386 2.9702 1.43515C3.13772 1.42515 3.33973 1.55982 3.74376 1.82918L9.00154 5.33436C9.33538 5.55693 9.5023 5.66821 9.56047 5.80847C9.61133 5.9311 9.61133 6.06891 9.56047 6.19154C9.5023 6.3318 9.33538 6.44308 9.00154 6.66564L3.74376 10.1708C3.33973 10.4402 3.13772 10.5749 2.9702 10.5649C2.82426 10.5561 2.68945 10.484 2.60125 10.3674C2.5 10.2336 2.5 9.99077 2.5 9.50519V2.49482Z", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Play" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.tsx b/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.tsx deleted file mode 100644 index f182f7a565f..00000000000 --- a/web/app/components/base/icons/src/vender/line/mediaAndDevices/Play.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Play.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Play' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/line/mediaAndDevices/index.ts b/web/app/components/base/icons/src/vender/line/mediaAndDevices/index.ts index 7b4962b58c4..662f0fa5ab6 100644 --- a/web/app/components/base/icons/src/vender/line/mediaAndDevices/index.ts +++ b/web/app/components/base/icons/src/vender/line/mediaAndDevices/index.ts @@ -1,6 +1,5 @@ export { default as Microphone01 } from './Microphone01' export { default as PlayCircle } from './PlayCircle' -export { default as Play } from './Play' export { default as SlidersH } from './SlidersH' export { default as Speaker } from './Speaker' export { default as StopCircle } from './StopCircle' diff --git a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.json b/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.json deleted file mode 100644 index 9793cbb9939..00000000000 --- a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "alert-circle" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Solid", - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M8 0.666626C3.94992 0.666626 0.666672 3.94987 0.666672 7.99996C0.666672 12.05 3.94992 15.3333 8 15.3333C12.0501 15.3333 15.3333 12.05 15.3333 7.99996C15.3333 3.94987 12.0501 0.666626 8 0.666626ZM8.66667 5.33329C8.66667 4.9651 8.36819 4.66663 8 4.66663C7.63181 4.66663 7.33334 4.9651 7.33334 5.33329V7.99996C7.33334 8.36815 7.63181 8.66663 8 8.66663C8.36819 8.66663 8.66667 8.36815 8.66667 7.99996V5.33329ZM8 9.99996C7.63181 9.99996 7.33334 10.2984 7.33334 10.6666C7.33334 11.0348 7.63181 11.3333 8 11.3333H8.00667C8.37486 11.3333 8.67334 11.0348 8.67334 10.6666C8.67334 10.2984 8.37486 9.99996 8.00667 9.99996H8Z", - "fill": "currentColor" - }, - "children": [] - } - ] - } - ] - }, - "name": "AlertCircle" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.tsx b/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.tsx deleted file mode 100644 index 76eb8b41e4f..00000000000 --- a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/AlertCircle.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './AlertCircle.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'AlertCircle' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/index.ts b/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/index.ts index 3af87398298..6ad90c13fd3 100644 --- a/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/index.ts +++ b/web/app/components/base/icons/src/vender/solid/alertsAndFeedback/index.ts @@ -1,2 +1 @@ -export { default as AlertCircle } from './AlertCircle' export { default as AlertTriangle } from './AlertTriangle' diff --git a/web/app/components/base/icons/src/vender/solid/arrows/Expand04.json b/web/app/components/base/icons/src/vender/solid/arrows/Expand04.json deleted file mode 100644 index 25bca84684c..00000000000 --- a/web/app/components/base/icons/src/vender/solid/arrows/Expand04.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "14", - "height": "15", - "viewBox": "0 0 14 15", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Icon_2", - "d": "M11.6667 8.66667V10.3C11.6667 10.9534 11.6667 11.2801 11.5395 11.5297C11.4277 11.7492 11.2492 11.9277 11.0297 12.0395C10.7801 12.1667 10.4534 12.1667 9.8 12.1667H8.16667M5.83333 2.83333H4.2C3.54661 2.83333 3.21991 2.83333 2.97034 2.96049C2.75082 3.07234 2.57234 3.25082 2.46049 3.47034C2.33333 3.71991 2.33333 4.04661 2.33333 4.7V6.33333M8.75 5.75L12.25 2.25M12.25 2.25H8.75M12.25 2.25V5.75M5.25 9.25L1.75 12.75M1.75 12.75H5.25M1.75 12.75L1.75 9.25", - "stroke": "currentColor", - "stroke-width": "1.25", - "stroke-linecap": "round", - "stroke-linejoin": "round" - }, - "children": [] - } - ] - } - ] - }, - "name": "Expand04" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/solid/arrows/Expand04.tsx b/web/app/components/base/icons/src/vender/solid/arrows/Expand04.tsx deleted file mode 100644 index 964ed39489a..00000000000 --- a/web/app/components/base/icons/src/vender/solid/arrows/Expand04.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Expand04.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Expand04' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/solid/arrows/index.ts b/web/app/components/base/icons/src/vender/solid/arrows/index.ts index b70b44c355e..468f0e52d92 100644 --- a/web/app/components/base/icons/src/vender/solid/arrows/index.ts +++ b/web/app/components/base/icons/src/vender/solid/arrows/index.ts @@ -1,3 +1,2 @@ export { default as ChevronDown } from './ChevronDown' -export { default as Expand04 } from './Expand04' export { default as HighPriority } from './HighPriority' diff --git a/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.json b/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.json deleted file mode 100644 index 3825744c867..00000000000 --- a/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector", - "d": "M3.53647 1.81277C2.46674 1.43738 1.43787 2.46625 1.81326 3.53598L5.40722 13.7777C5.81532 14.9407 7.43953 14.9956 7.92526 13.8628L9.70733 9.70683L13.8633 7.92476C14.9961 7.4391 14.9412 5.81484 13.7782 5.40674L3.53647 1.81277Z", - "fill": "currentColor" - }, - "children": [] - } - ] - } - ] - }, - "name": "Cursor02C" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.tsx b/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.tsx deleted file mode 100644 index 70d89802df5..00000000000 --- a/web/app/components/base/icons/src/vender/solid/editor/Cursor02C.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Cursor02C.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Cursor02C' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/solid/editor/Hand02.json b/web/app/components/base/icons/src/vender/solid/editor/Hand02.json deleted file mode 100644 index 6256d22cf48..00000000000 --- a/web/app/components/base/icons/src/vender/solid/editor/Hand02.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "icon": { - "type": "element", - "isRootNode": true, - "name": "svg", - "attributes": { - "width": "16", - "height": "16", - "viewBox": "0 0 16 16", - "fill": "none", - "xmlns": "http://www.w3.org/2000/svg" - }, - "children": [ - { - "type": "element", - "name": "g", - "attributes": { - "id": "Icon" - }, - "children": [ - { - "type": "element", - "name": "path", - "attributes": { - "id": "Vector", - "fill-rule": "evenodd", - "clip-rule": "evenodd", - "d": "M8.04519 1.33331C7.62792 1.33331 7.28966 1.66963 7.28966 2.08449V6.59153C7.28966 6.79898 7.12053 6.96711 6.91193 6.96711C6.70333 6.96711 6.53417 6.79898 6.53417 6.59153V2.83566C6.53417 2.4208 6.19593 2.08449 5.77868 2.08449C5.36143 2.08449 5.02318 2.4208 5.02318 2.83566V7.43091C5.02318 7.58418 4.92957 7.72205 4.78663 7.77931C4.6437 7.83658 4.4801 7.80178 4.37325 7.69138L3.47554 6.76385C2.95809 6.22921 2.07117 6.32919 1.68723 6.96545L1.66699 6.99898L3.52969 11.5222C4.31291 13.4242 6.17482 14.6666 8.24186 14.6666C11.054 14.6666 13.3337 12.4 13.3337 9.60398V4.33801C13.3337 3.92315 12.9954 3.58683 12.5782 3.58683C12.1609 3.58683 11.8227 3.92315 11.8227 4.33801V7.34271C11.8227 7.55011 11.6535 7.71831 11.4449 7.71831C11.2363 7.71831 11.0672 7.55011 11.0672 7.34271V2.83566C11.0672 2.4208 10.7289 2.08449 10.3117 2.08449C9.89439 2.08449 9.55619 2.4208 9.55619 2.83566V6.96711C9.55619 7.17458 9.38706 7.34271 9.17839 7.34271C8.96979 7.34271 8.80066 7.17458 8.80066 6.96711V2.08449C8.80066 1.66963 8.46239 1.33331 8.04519 1.33331Z", - "fill": "currentColor" - }, - "children": [] - } - ] - } - ] - }, - "name": "Hand02" -} \ No newline at end of file diff --git a/web/app/components/base/icons/src/vender/solid/editor/Hand02.tsx b/web/app/components/base/icons/src/vender/solid/editor/Hand02.tsx deleted file mode 100644 index 10a2f37302e..00000000000 --- a/web/app/components/base/icons/src/vender/solid/editor/Hand02.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// GENERATE BY script -// DON NOT EDIT IT MANUALLY - -import * as React from 'react' -import data from './Hand02.json' -import IconBase from '@/app/components/base/icons/IconBase' -import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' - -const Icon = React.forwardRef, Omit>(( - props, - ref, -) => ) - -Icon.displayName = 'Hand02' - -export default Icon diff --git a/web/app/components/base/icons/src/vender/solid/editor/index.ts b/web/app/components/base/icons/src/vender/solid/editor/index.ts index 273cb09ac39..6b1a0a1afac 100644 --- a/web/app/components/base/icons/src/vender/solid/editor/index.ts +++ b/web/app/components/base/icons/src/vender/solid/editor/index.ts @@ -1,7 +1,5 @@ export { default as Brush01 } from './Brush01' export { default as Citations } from './Citations' export { default as Colors } from './Colors' -export { default as Cursor02C } from './Cursor02C' -export { default as Hand02 } from './Hand02' export { default as Paragraph } from './Paragraph' export { default as TypeSquare } from './TypeSquare' diff --git a/web/app/components/base/image-uploader/image-list.tsx b/web/app/components/base/image-uploader/image-list.tsx index fe3227e53a2..90ac0e1a354 100644 --- a/web/app/components/base/image-uploader/image-list.tsx +++ b/web/app/components/base/image-uploader/image-list.tsx @@ -3,9 +3,9 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' import { - Loading02, - XClose, -} from '@/app/components/base/icons/src/vender/line/general' + RiCloseLine, + RiLoader2Line, +} from '@remixicon/react' import { RefreshCcw01 } from '@/app/components/base/icons/src/vender/line/arrows' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import TooltipPlus from '@/app/components/base/tooltip-plus' @@ -84,7 +84,7 @@ const ImageList: FC = ({ `} > {item.progress > -1 && ( - + )} {item.progress === -1 && ( = ({ )} onClick={() => onRemove && onRemove(item._id)} > - + )} diff --git a/web/app/components/base/image-uploader/image-preview.tsx b/web/app/components/base/image-uploader/image-preview.tsx index 4fd071fd73a..5b33832a14b 100644 --- a/web/app/components/base/image-uploader/image-preview.tsx +++ b/web/app/components/base/image-uploader/image-preview.tsx @@ -1,6 +1,6 @@ import type { FC } from 'react' import { createPortal } from 'react-dom' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' +import { RiCloseLine } from '@remixicon/react' type ImagePreviewProps = { url: string @@ -21,7 +21,7 @@ const ImagePreview: FC = ({ className='absolute top-6 right-6 flex items-center justify-center w-8 h-8 bg-white/8 rounded-lg backdrop-blur-[2px] cursor-pointer' onClick={onCancel} > - + , document.body, diff --git a/web/app/components/base/message-log-modal/index.tsx b/web/app/components/base/message-log-modal/index.tsx index 3b3d626737e..f31e080b42d 100644 --- a/web/app/components/base/message-log-modal/index.tsx +++ b/web/app/components/base/message-log-modal/index.tsx @@ -3,8 +3,8 @@ import { useTranslation } from 'react-i18next' import cn from 'classnames' import { useCallback, useEffect, useRef, useState } from 'react' import { useBoolean, useClickAway } from 'ahooks' +import { RiCloseLine } from '@remixicon/react' import IterationResultPanel from '../../workflow/run/iteration-result-panel' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { IChatItem } from '@/app/components/app/chat/type' import Run from '@/app/components/workflow/run' import type { NodeTracing } from '@/types/workflow' @@ -80,7 +80,7 @@ const MessageLogModal: FC = ({ <>

{t('appLog.runDetail.title')}

- + = ({ e.nativeEvent.stopImmediatePropagation() }}>
- +
{text ? ( diff --git a/web/app/components/base/param-item/index.tsx b/web/app/components/base/param-item/index.tsx index 59f91f8ace0..20beb7a9a1d 100644 --- a/web/app/components/base/param-item/index.tsx +++ b/web/app/components/base/param-item/index.tsx @@ -1,6 +1,8 @@ 'use client' import type { FC } from 'react' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' +import { + RiQuestionLine, +} from '@remixicon/react' import Tooltip from '@/app/components/base/tooltip-plus' import Slider from '@/app/components/base/slider' @@ -39,7 +41,7 @@ const ParamItem: FC = ({ className, id, name, noTooltip, tip, step = 0.1, {name} {!noTooltip && ( {tip}}> - + )} diff --git a/web/app/components/base/prompt-editor/plugins/context-block/component.tsx b/web/app/components/base/prompt-editor/plugins/context-block/component.tsx index 2741850b4c4..91db2f39a49 100644 --- a/web/app/components/base/prompt-editor/plugins/context-block/component.tsx +++ b/web/app/components/base/prompt-editor/plugins/context-block/component.tsx @@ -1,12 +1,14 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { + RiAddLine, +} from '@remixicon/react' import { useSelectOrDelete, useTrigger } from '../../hooks' import { UPDATE_DATASETS_EVENT_EMITTER } from '../../constants' import type { Dataset } from './index' import { DELETE_CONTEXT_BLOCK_COMMAND } from './index' import { File05, Folder } from '@/app/components/base/icons/src/vender/solid/files' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { PortalToFollowElem, PortalToFollowElemContent, @@ -82,7 +84,7 @@ const ContextBlockComponent: FC = ({
- +
{t('common.promptEditor.context.modal.add')}
diff --git a/web/app/components/base/prompt-editor/plugins/history-block/component.tsx b/web/app/components/base/prompt-editor/plugins/history-block/component.tsx index a84a3ed88fc..1dd2972ab4a 100644 --- a/web/app/components/base/prompt-editor/plugins/history-block/component.tsx +++ b/web/app/components/base/prompt-editor/plugins/history-block/component.tsx @@ -1,11 +1,13 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { + RiMoreFill, +} from '@remixicon/react' import { useSelectOrDelete, useTrigger } from '../../hooks' import { UPDATE_HISTORY_EVENT_EMITTER } from '../../constants' import type { RoleName } from './index' import { DELETE_HISTORY_BLOCK_COMMAND } from './index' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import { MessageClockCircle } from '@/app/components/base/icons/src/vender/solid/general' import { PortalToFollowElem, @@ -58,7 +60,7 @@ const HistoryBlockComponent: FC = ({ flex items-center justify-center w-[18px] h-[18px] rounded cursor-pointer ${open ? 'bg-[#DD2590] text-white' : 'bg-white/50 group-hover:bg-white group-hover:shadow-xs'} `}> - + diff --git a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx index e5806d42b7b..77842ca6311 100644 --- a/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx +++ b/web/app/components/base/prompt-editor/plugins/workflow-variable-block/component.tsx @@ -10,6 +10,9 @@ import { import { mergeRegister } from '@lexical/utils' import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext' import cn from 'classnames' +import { + RiErrorWarningFill, +} from '@remixicon/react' import { useSelectOrDelete } from '../../hooks' import type { WorkflowNodesMap } from './node' import { WorkflowVariableBlockNode } from './node' @@ -21,7 +24,6 @@ import { Variable02 } from '@/app/components/base/icons/src/vender/solid/develop import { VarBlockIcon } from '@/app/components/workflow/block-icon' import { Line3 } from '@/app/components/base/icons/src/public/common' import { isSystemVar } from '@/app/components/workflow/nodes/_base/components/variable/utils' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import TooltipPlus from '@/app/components/base/tooltip-plus' type WorkflowVariableBlockComponentProps = { @@ -95,7 +97,7 @@ const WorkflowVariableBlockComponent = ({
{varName}
{ !node && ( - + ) } diff --git a/web/app/components/base/prompt-log-modal/index.tsx b/web/app/components/base/prompt-log-modal/index.tsx index f929607ec45..aa5b8a1faf4 100644 --- a/web/app/components/base/prompt-log-modal/index.tsx +++ b/web/app/components/base/prompt-log-modal/index.tsx @@ -1,9 +1,9 @@ import type { FC } from 'react' import { useEffect, useRef, useState } from 'react' import { useClickAway } from 'ahooks' +import { RiCloseLine } from '@remixicon/react' import Card from './card' import { CopyFeedbackNew } from '@/app/components/base/copy-feedback' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { IChatItem } from '@/app/components/app/chat/type' type PromptLogModalProps = { @@ -58,7 +58,7 @@ const PromptLogModal: FC = ({ onClick={onCancel} className='flex justify-center items-center w-6 h-6 cursor-pointer' > - + diff --git a/web/app/components/base/search-input/index.tsx b/web/app/components/base/search-input/index.tsx index b7a6e596cdb..7e37306f137 100644 --- a/web/app/components/base/search-input/index.tsx +++ b/web/app/components/base/search-input/index.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' -import { SearchLg } from '@/app/components/base/icons/src/vender/line/general' +import { RiSearchLine } from '@remixicon/react' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' type SearchInputProps = { @@ -31,7 +31,7 @@ const SearchInput: FC = ({ className, )}>
-
= ({ )} {!value.length && (
- +
)} {!!value.length && ( diff --git a/web/app/components/base/tag-management/index.tsx b/web/app/components/base/tag-management/index.tsx index 516c8e99903..9a747910d24 100644 --- a/web/app/components/base/tag-management/index.tsx +++ b/web/app/components/base/tag-management/index.tsx @@ -3,11 +3,11 @@ import { useEffect, useState } from 'react' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import { useStore as useTagStore } from './store' import TagItemEditor from './tag-item-editor' import Modal from '@/app/components/base/modal' import { ToastContext } from '@/app/components/base/toast' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { createTag, fetchTagList, @@ -66,7 +66,7 @@ const TagManagementModal = ({ show, type }: TagManagementModalProps) => { >
{t('common.tag.manageTags')}
setShowTagManagementModal(false)}> - +
{ {keywords && notExisted && (
- +
{`${t('common.tag.create')} `} {`"${keywords}"`} diff --git a/web/app/components/base/tag-management/tag-item-editor.tsx b/web/app/components/base/tag-management/tag-item-editor.tsx index d0a6989fd43..1fee27e8ec2 100644 --- a/web/app/components/base/tag-management/tag-item-editor.tsx +++ b/web/app/components/base/tag-management/tag-item-editor.tsx @@ -1,12 +1,15 @@ import type { FC } from 'react' import { useState } from 'react' import cn from 'classnames' +import { + RiDeleteBinLine, + RiEditLine, +} from '@remixicon/react' import { useDebounceFn } from 'ahooks' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' import { useStore as useTagStore } from './store' import TagRemoveModal from './tag-remove-modal' -import { Edit03, Trash03 } from '@/app/components/base/icons/src/vender/line/general' import type { Tag } from '@/app/components/base/tag-management/constant' import { ToastContext } from '@/app/components/base/toast' import { @@ -108,7 +111,7 @@ const TagItemEditor: FC = ({
{tag.binding_count}
setIsEditing(true)}> - +
{ if (tag.binding_count) @@ -116,7 +119,7 @@ const TagItemEditor: FC = ({ else handleRemove() }}> - +
)} diff --git a/web/app/components/base/tag-management/tag-remove-modal.tsx b/web/app/components/base/tag-management/tag-remove-modal.tsx index 9f20f326a7b..c88fe3135e4 100644 --- a/web/app/components/base/tag-management/tag-remove-modal.tsx +++ b/web/app/components/base/tag-management/tag-remove-modal.tsx @@ -2,10 +2,10 @@ import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import s from './style.module.css' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import type { Tag } from '@/app/components/base/tag-management/constant' @@ -26,7 +26,7 @@ const TagRemoveModal = ({ show, tag, onConfirm, onClose }: TagRemoveModalProps) onClose={() => { }} >
- +
diff --git a/web/app/components/base/voice-input/index.tsx b/web/app/components/base/voice-input/index.tsx index 5dd0a1dbc31..30a04f6c674 100644 --- a/web/app/components/base/voice-input/index.tsx +++ b/web/app/components/base/voice-input/index.tsx @@ -2,12 +2,15 @@ import { useCallback, useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import { useParams, usePathname } from 'next/navigation' import cn from 'classnames' +import { + RiCloseLine, + RiLoader2Line, +} from '@remixicon/react' import Recorder from 'js-audio-recorder' import { useRafInterval } from 'ahooks' import { convertToMp3 } from './utils' import s from './index.module.css' import { StopCircle } from '@/app/components/base/icons/src/vender/solid/mediaAndDevices' -import { Loading02, XClose } from '@/app/components/base/icons/src/vender/line/general' import { audioToText } from '@/service/share' type VoiceInputTypes = { @@ -159,7 +162,7 @@ const VoiceInput = ({
{ - startConvert && + startConvert && }
{ @@ -193,7 +196,7 @@ const VoiceInput = ({ className='flex justify-center items-center mr-1 w-8 h-8 hover:bg-gray-200 rounded-lg cursor-pointer' onClick={onCancel} > - +
) } diff --git a/web/app/components/billing/billing-page/index.tsx b/web/app/components/billing/billing-page/index.tsx index 843d0995e52..41068d516ec 100644 --- a/web/app/components/billing/billing-page/index.tsx +++ b/web/app/components/billing/billing-page/index.tsx @@ -3,9 +3,11 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import useSWR from 'swr' +import { + RiExternalLinkLine, +} from '@remixicon/react' import PlanComp from '../plan' import { ReceiptList } from '../../base/icons/src/vender/line/financeAndECommerce' -import { LinkExternal01 } from '../../base/icons/src/vender/line/general' import { fetchBillingUrl } from '@/service/billing' import { useAppContext } from '@/context/app-context' import { useProviderContext } from '@/context/provider-context' @@ -28,7 +30,7 @@ const Billing: FC = () => {
{t('billing.viewBilling')}
- +
)}
diff --git a/web/app/components/billing/pricing/index.tsx b/web/app/components/billing/pricing/index.tsx index 7e05bd35707..9b5e5e7453a 100644 --- a/web/app/components/billing/pricing/index.tsx +++ b/web/app/components/billing/pricing/index.tsx @@ -3,10 +3,10 @@ import type { FC } from 'react' import React from 'react' import { createPortal } from 'react-dom' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import { Plan } from '../type' import SelectPlanRange, { PlanRange } from './select-plan-range' import PlanItem from './plan-item' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { useProviderContext } from '@/context/provider-context' import GridMask from '@/app/components/base/grid-mask' import { useAppContext } from '@/context/app-context' @@ -71,7 +71,7 @@ const Pricing: FC = ({ className='fixed top-6 right-6 flex items-center justify-center w-10 h-10 bg-black/[0.05] rounded-full backdrop-blur-[2px] cursor-pointer z-[1001]' onClick={onCancel} > - +
, document.body, diff --git a/web/app/components/billing/pricing/plan-item.tsx b/web/app/components/billing/pricing/plan-item.tsx index e209e1c36df..260167d1e32 100644 --- a/web/app/components/billing/pricing/plan-item.tsx +++ b/web/app/components/billing/pricing/plan-item.tsx @@ -3,13 +3,15 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import { Plan } from '../type' import { ALL_PLANS, NUM_INFINITE, contactSalesUrl, contractSales, unAvailable } from '../config' import Toast from '../../base/toast' import TooltipPlus from '../../base/tooltip-plus' import { PlanRange } from './select-plan-range' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import { useAppContext } from '@/context/app-context' import { fetchSubscriptionUrls } from '@/service/billing' import { LanguagesSupported } from '@/i18n/language' @@ -33,7 +35,7 @@ const KeyValue = ({ label, value, tooltip }: { label: string; value: string | nu
{tooltip}
} > - + )}
@@ -139,7 +141,7 @@ const PlanItem: FC = ({
{t('billing.plansCommon.supportItems.llmLoadingBalancingTooltip')}
} > - +
@@ -151,7 +153,7 @@ const PlanItem: FC = ({
{t('billing.plansCommon.ragAPIRequestTooltip')}
} > - +
{comingSoon}
diff --git a/web/app/components/custom/custom-web-app-brand/index.tsx b/web/app/components/custom/custom-web-app-brand/index.tsx index 53db78105a2..742eac92962 100644 --- a/web/app/components/custom/custom-web-app-brand/index.tsx +++ b/web/app/components/custom/custom-web-app-brand/index.tsx @@ -1,11 +1,13 @@ import type { ChangeEvent } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { + RiLoader2Line, +} from '@remixicon/react' import s from './style.module.css' import LogoSite from '@/app/components/base/logo/logo-site' import Switch from '@/app/components/base/switch' import Button from '@/app/components/base/button' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' import { MessageDotsCircle } from '@/app/components/base/icons/src/vender/solid/communication' import { ImagePlus } from '@/app/components/base/icons/src/vender/line/images' import { useProviderContext } from '@/context/provider-context' @@ -183,7 +185,7 @@ const CustomWebAppBrand = () => { className='relative mr-2 !h-8 !px-3 bg-white !text-[13px] opacity-40' disabled={true} > - + {t('custom.uploading')} ) diff --git a/web/app/components/datasets/common/retrieval-param-config/index.tsx b/web/app/components/datasets/common/retrieval-param-config/index.tsx index 6fe896fda27..786bf44761a 100644 --- a/web/app/components/datasets/common/retrieval-param-config/index.tsx +++ b/web/app/components/datasets/common/retrieval-param-config/index.tsx @@ -3,12 +3,14 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import TopKItem from '@/app/components/base/param-item/top-k-item' import ScoreThresholdItem from '@/app/components/base/param-item/score-threshold-item' import { RETRIEVE_METHOD } from '@/types/app' import Switch from '@/app/components/base/switch' import Tooltip from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import type { RetrievalConfig } from '@/types/app' import ModelSelector from '@/app/components/header/account-setting/model-provider-page/model-selector' import { useModelListAndDefaultModel } from '@/app/components/header/account-setting/model-provider-page/hooks' @@ -68,7 +70,7 @@ const RetrievalParamConfig: FC = ({
{t('common.modelProvider.rerankModel.key')} {t('common.modelProvider.rerankModel.tip')}
}> - + diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index c3af38d5b39..d687e0f512e 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -6,6 +6,9 @@ import { useTranslation } from 'react-i18next' import { omit } from 'lodash-es' import { ArrowRightIcon } from '@heroicons/react/24/solid' import cn from 'classnames' +import { + RiErrorWarningFill, +} from '@remixicon/react' import s from './index.module.css' import { FieldInfo } from '@/app/components/datasets/documents/detail/metadata' import Button from '@/app/components/base/button' @@ -20,7 +23,6 @@ import { ZapFast } from '@/app/components/base/icons/src/vender/solid/general' import UpgradeBtn from '@/app/components/billing/upgrade-btn' import { useProviderContext } from '@/context/provider-context' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { sleep } from '@/utils' type Props = { @@ -264,7 +266,7 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index )}>
Error - +
)} diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx index 13460b9475c..e03a1d3c4bc 100644 --- a/web/app/components/datasets/create/step-two/index.tsx +++ b/web/app/components/datasets/create/step-two/index.tsx @@ -6,6 +6,10 @@ import { useBoolean } from 'ahooks' import { XMarkIcon } from '@heroicons/react/20/solid' import { RocketLaunchIcon } from '@heroicons/react/24/outline' import cn from 'classnames' +import { + RiCloseLine, + RiQuestionLine, +} from '@remixicon/react' import Link from 'next/link' import { groupBy } from 'lodash-es' import RetrievalMethodInfo from '../../common/retrieval-method-info' @@ -33,7 +37,6 @@ import { DataSourceType, DocForm } from '@/models/datasets' import NotionIcon from '@/app/components/base/notion-icon' import Switch from '@/app/components/base/switch' import { MessageChatSquare } from '@/app/components/base/icons/src/public/common' -import { HelpCircle, XClose } from '@/app/components/base/icons/src/vender/line/general' import { useDatasetDetailContext } from '@/context/dataset-detail' import I18n from '@/context/i18n' import { IS_CE_EDITION } from '@/config' @@ -630,7 +633,7 @@ const StepTwo = ({ {t('datasetCreation.stepTwo.overlapTip')} }> - + {t('datasetCreation.stepTwo.QATip')} - setQATipHide(true)} /> + setQATipHide(true)} /> )} diff --git a/web/app/components/datasets/create/step-two/language-select/index.tsx b/web/app/components/datasets/create/step-two/language-select/index.tsx index adc146fbc2b..89975f3d9ce 100644 --- a/web/app/components/datasets/create/step-two/language-select/index.tsx +++ b/web/app/components/datasets/create/step-two/language-select/index.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' +import { RiArrowDownSLine } from '@remixicon/react' import Popover from '@/app/components/base/popover' import { languages } from '@/i18n/language' @@ -33,7 +33,7 @@ const LanguageSelect: FC = ({ btnElement={
{currentLanguage} - +
} btnClassName={open => cn('!border-0 !px-0 !py-0 !bg-inherit !hover:bg-inherit', open ? 'text-blue-600' : 'text-gray-500')} diff --git a/web/app/components/datasets/create/website/firecrawl/base/field.tsx b/web/app/components/datasets/create/website/firecrawl/base/field.tsx index 6d31b2a4d97..1ba800d1445 100644 --- a/web/app/components/datasets/create/website/firecrawl/base/field.tsx +++ b/web/app/components/datasets/create/website/firecrawl/base/field.tsx @@ -2,9 +2,11 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import Input from './input' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' type Props = { className?: string @@ -38,7 +40,7 @@ const Field: FC = ({ {tooltip} }> - + )} diff --git a/web/app/components/datasets/documents/detail/batch-modal/csv-uploader.tsx b/web/app/components/datasets/documents/detail/batch-modal/csv-uploader.tsx index 4802315c463..8c854e7c078 100644 --- a/web/app/components/datasets/documents/detail/batch-modal/csv-uploader.tsx +++ b/web/app/components/datasets/documents/detail/batch-modal/csv-uploader.tsx @@ -2,11 +2,13 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import cn from 'classnames' +import { + RiDeleteBinLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { Csv as CSVIcon } from '@/app/components/base/icons/src/public/files' import { ToastContext } from '@/app/components/base/toast' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import Button from '@/app/components/base/button' export type Props = { @@ -113,7 +115,7 @@ const CSVUploader: FC = ({
- +
diff --git a/web/app/components/datasets/documents/detail/batch-modal/index.tsx b/web/app/components/datasets/documents/detail/batch-modal/index.tsx index abaea8d0e05..fdcaca8a6ca 100644 --- a/web/app/components/datasets/documents/detail/batch-modal/index.tsx +++ b/web/app/components/datasets/documents/detail/batch-modal/index.tsx @@ -2,11 +2,11 @@ import type { FC } from 'react' import React, { useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import CSVUploader from './csv-uploader' import CSVDownloader from './csv-downloader' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { DocForm } from '@/models/datasets' export type IBatchModalProps = { @@ -42,7 +42,7 @@ const BatchModal: FC = ({ { }} className='px-8 py-6 !max-w-[520px] !rounded-xl'>
{t('datasetDocuments.list.batchModal.title')}
- +
= ({ percent, loading }) => { return ( @@ -188,7 +190,7 @@ const SegmentCard: FC = ({ e.stopPropagation() setShowModal(true) }}> - + )} @@ -218,7 +220,7 @@ const SegmentCard: FC = ({ {showModal && setShowModal(false)} className={s.delModal} closable>
- +
{t('datasetDocuments.segment.delete')}
diff --git a/web/app/components/datasets/documents/detail/completed/index.tsx b/web/app/components/datasets/documents/detail/completed/index.tsx index 7187a5a9954..461a0c96cec 100644 --- a/web/app/components/datasets/documents/detail/completed/index.tsx +++ b/web/app/components/datasets/documents/detail/completed/index.tsx @@ -6,6 +6,10 @@ import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { debounce, isNil, omitBy } from 'lodash-es' import cn from 'classnames' +import { + RiCloseLine, + RiEditLine, +} from '@remixicon/react' import { StatusItem } from '../../list' import { DocumentContext } from '../index' import { ProcessStatus } from '../segment-add' @@ -23,7 +27,6 @@ import { deleteSegment, disableSegment, enableSegment, fetchSegments, updateSegm import type { SegmentDetailModel, SegmentUpdator, SegmentsQuery, SegmentsResponse } from '@/models/datasets' import { asyncRunSafe } from '@/utils' import type { CommonResponse } from '@/models/common' -import { Edit03, XClose } from '@/app/components/base/icons/src/vender/line/general' import AutoHeightTextarea from '@/app/components/base/auto-height-textarea/common' import Button from '@/app/components/base/button' import NewSegmentModal from '@/app/components/datasets/documents/detail/new-segment-modal' @@ -152,13 +155,13 @@ const SegmentDetailComponent: FC = ({ <>
{t('common.operation.edit')}
- setIsEditing(true)} /> + setIsEditing(true)} />
)}
- +
diff --git a/web/app/components/datasets/documents/detail/new-segment-modal.tsx b/web/app/components/datasets/documents/detail/new-segment-modal.tsx index 17c8ab771f3..f2ef25212f3 100644 --- a/web/app/components/datasets/documents/detail/new-segment-modal.tsx +++ b/web/app/components/datasets/documents/detail/new-segment-modal.tsx @@ -3,10 +3,11 @@ import type { FC } from 'react' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { useParams } from 'next/navigation' +import { RiCloseLine } from '@remixicon/react' import Modal from '@/app/components/base/modal' import Button from '@/app/components/base/button' import AutoHeightTextarea from '@/app/components/base/auto-height-textarea/common' -import { Hash02, XClose } from '@/app/components/base/icons/src/vender/line/general' +import { Hash02 } from '@/app/components/base/icons/src/vender/line/general' import { ToastContext } from '@/app/components/base/toast' import type { SegmentUpdator } from '@/models/datasets' import { addSegment } from '@/service/datasets' @@ -114,7 +115,7 @@ const NewSegmentModal: FC = ({
- +
diff --git a/web/app/components/datasets/documents/detail/segment-add/index.tsx b/web/app/components/datasets/documents/detail/segment-add/index.tsx index b24ca38a44c..5b8d41adfde 100644 --- a/web/app/components/datasets/documents/detail/segment-add/index.tsx +++ b/web/app/components/datasets/documents/detail/segment-add/index.tsx @@ -3,9 +3,11 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiErrorWarningFill, + RiLoader2Line, +} from '@remixicon/react' import { FilePlus02 } from '@/app/components/base/icons/src/vender/line/files' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' import Popover from '@/app/components/base/popover' @@ -38,7 +40,7 @@ const SegmentAdd: FC = ({
{importStatus === ProcessStatus.WAITING &&
} {importStatus === ProcessStatus.PROCESSING &&
} - + {t('datasetDocuments.list.batchModal.processing')}
)} @@ -51,7 +53,7 @@ const SegmentAdd: FC = ({ )} {importStatus === ProcessStatus.ERROR && (
- + {t('datasetDocuments.list.batchModal.error')} {t('datasetDocuments.list.batchModal.ok')}
diff --git a/web/app/components/datasets/documents/list.tsx b/web/app/components/datasets/documents/list.tsx index 41245a3c58f..4ee76effc50 100644 --- a/web/app/components/datasets/documents/list.tsx +++ b/web/app/components/datasets/documents/list.tsx @@ -6,6 +6,10 @@ import { useBoolean, useDebounceFn } from 'ahooks' import { ArrowDownIcon, TrashIcon } from '@heroicons/react/24/outline' import { ExclamationCircleIcon } from '@heroicons/react/24/solid' import { pick } from 'lodash-es' +import { + RiMoreFill, + RiQuestionLine, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import { useRouter } from 'next/navigation' import { useTranslation } from 'react-i18next' @@ -32,7 +36,6 @@ import NotionIcon from '@/app/components/base/notion-icon' import ProgressBar from '@/app/components/base/progress-bar' import { DataSourceType, type DocumentDisplayStatus, type SimpleDocumentDetail } from '@/models/datasets' import type { CommonResponse } from '@/models/common' -import { DotsHorizontal, HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import useTimestamp from '@/hooks/use-timestamp' export const SettingsIcon = ({ className }: SVGProps) => { @@ -98,7 +101,7 @@ export const StatusItem: FC<{
{errorMessage}
} > - + ) } @@ -284,7 +287,7 @@ export const OperationAction: FC<{ position='br' btnElement={
- +
} btnClassName={open => cn(isListScene ? s.actionIconWrapperList : s.actionIconWrapperDetail, open ? '!bg-gray-100 !shadow-none' : '!bg-transparent')} diff --git a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx index 5552faad044..87bd555350c 100644 --- a/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx +++ b/web/app/components/datasets/hit-testing/modify-retrieval-modal.tsx @@ -2,9 +2,9 @@ import type { FC } from 'react' import React, { useRef, useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import Toast from '../../base/toast' import { ModelTypeEnum } from '../../header/account-setting/model-provider-page/declarations' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { RetrievalConfig } from '@/types/app' import RetrievalMethodConfig from '@/app/components/datasets/common/retrieval-method-config' import EconomicalRetrievalMethodConfig from '@/app/components/datasets/common/economical-retrieval-method-config' @@ -86,7 +86,7 @@ const ModifyRetrievalModal: FC = ({ onClick={onHide} className='flex justify-center items-center w-6 h-6 cursor-pointer' > - +
diff --git a/web/app/components/datasets/rename-modal/index.tsx b/web/app/components/datasets/rename-modal/index.tsx index f4b41752edb..31cb9fadcac 100644 --- a/web/app/components/datasets/rename-modal/index.tsx +++ b/web/app/components/datasets/rename-modal/index.tsx @@ -3,13 +3,13 @@ import type { MouseEventHandler } from 'react' import cn from 'classnames' import { useState } from 'react' +import { RiCloseLine } from '@remixicon/react' import { BookOpenIcon } from '@heroicons/react/24/outline' import { useContext } from 'use-context-selector' import { useTranslation } from 'react-i18next' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' import { ToastContext } from '@/app/components/base/toast' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { DataSet } from '@/models/datasets' import { updateDatasetSetting } from '@/service/datasets' @@ -62,7 +62,7 @@ const RenameDatasetModal = ({ show, dataset, onSuccess, onClose }: RenameDataset >
{t('datasetSettings.title')}
- +
diff --git a/web/app/components/explore/create-app-modal/index.tsx b/web/app/components/explore/create-app-modal/index.tsx index 48126e3b4b0..714123c5722 100644 --- a/web/app/components/explore/create-app-modal/index.tsx +++ b/web/app/components/explore/create-app-modal/index.tsx @@ -1,6 +1,7 @@ 'use client' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import Modal from '@/app/components/base/modal' import Button from '@/app/components/base/button' import Toast from '@/app/components/base/toast' @@ -8,7 +9,6 @@ import AppIcon from '@/app/components/base/app-icon' import EmojiPicker from '@/app/components/base/emoji-picker' import { useProviderContext } from '@/context/provider-context' import AppsFull from '@/app/components/billing/apps-full-in-dialog' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' export type CreateAppModalProps = { show: boolean @@ -67,7 +67,7 @@ const CreateAppModal = ({ className='relative !max-w-[480px] px-8' >
- +
{isEditModal && (
{t('app.editAppTitle')}
diff --git a/web/app/components/explore/item-operation/index.tsx b/web/app/components/explore/item-operation/index.tsx index 433dca10ef6..328c0d89c13 100644 --- a/web/app/components/explore/item-operation/index.tsx +++ b/web/app/components/explore/item-operation/index.tsx @@ -2,9 +2,13 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import cn from 'classnames' +import { + RiDeleteBinLine, + RiEditLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useBoolean } from 'ahooks' -import { Edit03, Pin02, Trash03 } from '../../base/icons/src/vender/line/general' +import { Pin02 } from '../../base/icons/src/vender/line/general' import s from './style.module.css' import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger } from '@/app/components/base/portal-to-follow-elem' @@ -68,13 +72,13 @@ const ItemOperation: FC = ({
{isShowRenameConversation && (
- + {t('explore.sidebar.action.rename')}
)} {isShowDelete && (
- + {t('explore.sidebar.action.delete')}
)} diff --git a/web/app/components/header/account-about/index.tsx b/web/app/components/header/account-about/index.tsx index ced9ab5614a..cffeb9031a7 100644 --- a/web/app/components/header/account-about/index.tsx +++ b/web/app/components/header/account-about/index.tsx @@ -3,9 +3,9 @@ import { useTranslation } from 'react-i18next' import classNames from 'classnames' import Link from 'next/link' import dayjs from 'dayjs' +import { RiCloseLine } from '@remixicon/react' import s from './index.module.css' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import type { LangGeniusVersionResponse } from '@/models/common' import { IS_CE_EDITION } from '@/config' import LogoSite from '@/app/components/base/logo/logo-site' @@ -33,7 +33,7 @@ export default function AccountAbout({ >
- +
diff --git a/web/app/components/header/account-dropdown/index.tsx b/web/app/components/header/account-dropdown/index.tsx index ba9f9f32c68..9ce8b636002 100644 --- a/web/app/components/header/account-dropdown/index.tsx +++ b/web/app/components/header/account-dropdown/index.tsx @@ -4,6 +4,7 @@ import { Fragment, useState } from 'react' import { useRouter } from 'next/navigation' import { useContext } from 'use-context-selector' import classNames from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import Link from 'next/link' import { Menu, Transition } from '@headlessui/react' import Indicator from '../indicator' @@ -13,7 +14,7 @@ import I18n from '@/context/i18n' import Avatar from '@/app/components/base/avatar' import { logout } from '@/service/common' import { useAppContext } from '@/context/app-context' -import { ArrowUpRight, ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' +import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows' import { LogOut01 } from '@/app/components/base/icons/src/vender/line/general' import { useModalContext } from '@/context/modal-context' import { LanguagesSupported } from '@/i18n/language' @@ -65,7 +66,7 @@ export default function AppSelector({ isMobile }: IAppSelecotr) { {!isMobile && <> {userProfile.name} - + }
diff --git a/web/app/components/header/account-setting/account-page/index.tsx b/web/app/components/header/account-setting/account-page/index.tsx index d2d61257eb2..c02cea5d950 100644 --- a/web/app/components/header/account-setting/account-page/index.tsx +++ b/web/app/components/header/account-setting/account-page/index.tsx @@ -2,6 +2,10 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' import classNames from 'classnames' +import { + RiCloseLine, + RiErrorWarningFill, +} from '@remixicon/react' import { useContext } from 'use-context-selector' import Collapse from '../collapse' import type { IItem } from '../collapse' @@ -14,8 +18,6 @@ import { ToastContext } from '@/app/components/base/toast' import AppIcon from '@/app/components/base/app-icon' import Avatar from '@/app/components/base/avatar' import { IS_CE_EDITION } from '@/config' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' const titleClassName = ` text-sm font-medium text-gray-900 @@ -251,10 +253,10 @@ export default function AccountPage() { onClose={() => { }} >
setShowDeleteAccountModal(false)}> - +
- +
{t('common.account.delete')}
diff --git a/web/app/components/header/account-setting/api-based-extension-page/index.tsx b/web/app/components/header/account-setting/api-based-extension-page/index.tsx index d0d19dd6b2d..4a0a54079bb 100644 --- a/web/app/components/header/account-setting/api-based-extension-page/index.tsx +++ b/web/app/components/header/account-setting/api-based-extension-page/index.tsx @@ -1,9 +1,11 @@ import { useTranslation } from 'react-i18next' import useSWR from 'swr' +import { + RiAddLine, +} from '@remixicon/react' import Item from './item' import Empty from './empty' import { useModalContext } from '@/context/modal-context' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { fetchApiBasedExtensionList } from '@/service/common' const ApiBasedExtensionPage = () => { @@ -43,7 +45,7 @@ const ApiBasedExtensionPage = () => { className='flex items-center justify-center px-3 h-8 text-[13px] font-medium text-gray-700 rounded-lg bg-gray-50 cursor-pointer' onClick={handleOpenApiBasedExtensionModal} > - + {t('common.apiBasedExtension.add')}
diff --git a/web/app/components/header/account-setting/api-based-extension-page/item.tsx b/web/app/components/header/account-setting/api-based-extension-page/item.tsx index 05e5a1b4b14..7cdeca97173 100644 --- a/web/app/components/header/account-setting/api-based-extension-page/item.tsx +++ b/web/app/components/header/account-setting/api-based-extension-page/item.tsx @@ -1,7 +1,10 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' -import { Edit02, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { + RiDeleteBinLine, +} from '@remixicon/react' +import { Edit02 } from '@/app/components/base/icons/src/vender/line/general' import type { ApiBasedExtension } from '@/models/common' import { useModalContext } from '@/context/modal-context' import { deleteApiBasedExtension } from '@/service/common' @@ -50,7 +53,7 @@ const Item: FC = ({ className='flex items-center justify-center w-7 h-7 bg-white text-gray-700 rounded-md border-[0.5px] border-gray-200 shadow-xs cursor-pointer' onClick={() => setShowDeleteConfirm(true)} > - +
{ diff --git a/web/app/components/header/account-setting/api-based-extension-page/selector.tsx b/web/app/components/header/account-setting/api-based-extension-page/selector.tsx index 14ca2379f6d..3ac85e135b2 100644 --- a/web/app/components/header/account-setting/api-based-extension-page/selector.tsx +++ b/web/app/components/header/account-setting/api-based-extension-page/selector.tsx @@ -2,6 +2,10 @@ import type { FC } from 'react' import { useState } from 'react' import useSWR from 'swr' import { useTranslation } from 'react-i18next' +import { + RiAddLine, + RiArrowDownSLine, +} from '@remixicon/react' import { PortalToFollowElem, PortalToFollowElemContent, @@ -9,9 +13,7 @@ import { } from '@/app/components/base/portal-to-follow-elem' import { ArrowUpRight, - ChevronDown, } from '@/app/components/base/icons/src/vender/line/arrows' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { useModalContext } from '@/context/modal-context' import { fetchApiBasedExtensionList } from '@/service/common' @@ -58,14 +60,14 @@ const ApiBasedExtensionSelector: FC = ({
{currentItem.api_endpoint}
- +
) : (
{t('common.apiBasedExtension.selector.placeholder')} - +
) } @@ -106,7 +108,7 @@ const ApiBasedExtensionSelector: FC = ({ className='flex items-center px-3 h-8 text-sm text-primary-600 cursor-pointer' onClick={() => setShowApiBasedExtensionModal({ payload: {}, onSaveCallback: () => mutate() })} > - + {t('common.operation.add')} diff --git a/web/app/components/header/account-setting/data-source-page/data-source-notion/operate/index.tsx b/web/app/components/header/account-setting/data-source-page/data-source-notion/operate/index.tsx index 7b20e5e0a61..c6c8b9ec396 100644 --- a/web/app/components/header/account-setting/data-source-page/data-source-notion/operate/index.tsx +++ b/web/app/components/header/account-setting/data-source-page/data-source-notion/operate/index.tsx @@ -2,13 +2,15 @@ import { useTranslation } from 'react-i18next' import { Fragment } from 'react' import { useSWRConfig } from 'swr' -import { EllipsisHorizontalIcon } from '@heroicons/react/24/solid' +import { + RiDeleteBinLine, + RiLoopLeftLine, + RiMoreFill, + RiStickyNoteAddLine, +} from '@remixicon/react' import { Menu, Transition } from '@headlessui/react' import { syncDataSourceNotion, updateDataSourceNotionAction } from '@/service/common' import Toast from '@/app/components/base/toast' -import { FilePlus02 } from '@/app/components/base/icons/src/vender/line/files' -import { RefreshCw05 } from '@/app/components/base/icons/src/vender/line/arrows' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' type OperateProps = { payload: { @@ -53,7 +55,7 @@ export default function Operate({ ({ open }) => ( <> - + - +
{t('common.dataSource.notion.changeAuthorizedPages')}
@@ -88,7 +90,7 @@ export default function Operate({
- +
{t('common.dataSource.notion.sync')}
@@ -96,7 +98,7 @@ export default function Operate({
- +
{t('common.dataSource.notion.remove')}
diff --git a/web/app/components/header/account-setting/data-source-page/panel/config-item.tsx b/web/app/components/header/account-setting/data-source-page/panel/config-item.tsx index 0b27dd73921..fa410dcfbb1 100644 --- a/web/app/components/header/account-setting/data-source-page/panel/config-item.tsx +++ b/web/app/components/header/account-setting/data-source-page/panel/config-item.tsx @@ -3,11 +3,13 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiDeleteBinLine, +} from '@remixicon/react' import Indicator from '../../../indicator' import Operate from '../data-source-notion/operate' import { DataSourceType } from './types' import s from './style.module.css' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' export type ConfigItemType = { id: string @@ -69,7 +71,7 @@ const ConfigItem: FC = ({ { isWebsite && !readOnly && (
- +
) } diff --git a/web/app/components/header/account-setting/index.tsx b/web/app/components/header/account-setting/index.tsx index 21ec0afddde..21f1e0dda84 100644 --- a/web/app/components/header/account-setting/index.tsx +++ b/web/app/components/header/account-setting/index.tsx @@ -2,8 +2,26 @@ import { useTranslation } from 'react-i18next' import { useEffect, useRef, useState } from 'react' import cn from 'classnames' -import { GoldCoin } from '../../base/icons/src/vender/solid/FinanceAndECommerce' -import { GoldCoin as GoldCoinOutLine } from '../../base/icons/src/vender/line/financeAndECommerce' +import { + RiAccountCircleFill, + RiAccountCircleLine, + RiApps2AddFill, + RiApps2AddLine, + RiBox3Fill, + RiBox3Line, + RiCloseLine, + RiColorFilterFill, + RiColorFilterLine, + RiDatabase2Fill, + RiDatabase2Line, + RiGroup2Fill, + RiGroup2Line, + RiMoneyDollarCircleFill, + RiMoneyDollarCircleLine, + RiPuzzle2Fill, + RiPuzzle2Line, + RiTranslate2, +} from '@remixicon/react' import AccountPage from './account-page' import MembersPage from './members-page' import IntegrationsPage from './Integrations-page' @@ -15,18 +33,6 @@ import s from './index.module.css' import BillingPage from '@/app/components/billing/billing-page' import CustomPage from '@/app/components/custom/custom-page' import Modal from '@/app/components/base/modal' -import { - Database03, - Webhooks, -} from '@/app/components/base/icons/src/vender/line/development' -import { Database03 as Database03Solid } from '@/app/components/base/icons/src/vender/solid/development' -import { User01, Users01 } from '@/app/components/base/icons/src/vender/line/users' -import { User01 as User01Solid, Users01 as Users01Solid } from '@/app/components/base/icons/src/vender/solid/users' -import { Globe01 } from '@/app/components/base/icons/src/vender/line/mapsAndTravel' -import { AtSign, XClose } from '@/app/components/base/icons/src/vender/line/general' -import { CubeOutline } from '@/app/components/base/icons/src/vender/line/shapes' -import { Colors } from '@/app/components/base/icons/src/vender/line/editor' -import { Colors as ColorsSolid } from '@/app/components/base/icons/src/vender/solid/editor' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' import { useProviderContext } from '@/context/provider-context' @@ -64,40 +70,40 @@ export default function AccountSetting({ { key: 'provider', name: t('common.settings.provider'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: 'members', name: t('common.settings.members'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { // Use key false to hide this item key: enableBilling ? 'billing' : false, name: t('common.settings.billing'), description: t('billing.plansCommon.receiptInfo'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: 'data-source', name: t('common.settings.dataSource'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: 'api-based-extension', name: t('common.settings.apiBasedExtension'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: (enableReplaceWebAppLogo || enableBilling) ? 'custom' : false, name: t('custom.custom'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, ].filter(item => !!item.key) as GroupItem[] })() @@ -118,20 +124,20 @@ export default function AccountSetting({ { key: 'account', name: t('common.settings.account'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: 'integrations', name: t('common.settings.integrations'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, { key: 'language', name: t('common.settings.language'), - icon: , - activeIcon: , + icon: , + activeIcon: , }, ], }, @@ -200,7 +206,7 @@ export default function AccountSetting({ }
- +
diff --git a/web/app/components/header/account-setting/key-validator/ValidateStatus.tsx b/web/app/components/header/account-setting/key-validator/ValidateStatus.tsx index 1af9193b0f6..94d2ff3f2f2 100644 --- a/web/app/components/header/account-setting/key-validator/ValidateStatus.tsx +++ b/web/app/components/header/account-setting/key-validator/ValidateStatus.tsx @@ -1,9 +1,11 @@ import { useTranslation } from 'react-i18next' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' +import { + RiErrorWarningFill, +} from '@remixicon/react' import { CheckCircle } from '@/app/components/base/icons/src/vender/solid/general' export const ValidatedErrorIcon = () => { - return + return } export const ValidatedSuccessIcon = () => { diff --git a/web/app/components/header/account-setting/members-page/index.tsx b/web/app/components/header/account-setting/members-page/index.tsx index 3057e594811..51a453e4a7f 100644 --- a/web/app/components/header/account-setting/members-page/index.tsx +++ b/web/app/components/header/account-setting/members-page/index.tsx @@ -5,7 +5,7 @@ import dayjs from 'dayjs' import 'dayjs/locale/zh-cn' import relativeTime from 'dayjs/plugin/relativeTime' import { useContext } from 'use-context-selector' -import { UserPlusIcon } from '@heroicons/react/24/outline' +import { RiUserAddLine } from '@remixicon/react' import { useTranslation } from 'react-i18next' import InviteModal from './invite-modal' import InvitedModal from './invited-modal' @@ -80,7 +80,7 @@ const MembersPage = () => { text-[13px] font-medium text-primary-600 bg-white shadow-xs rounded-lg ${(isCurrentWorkspaceManager && !isMemberFull) ? 'cursor-pointer' : 'grayscale opacity-50 cursor-default'}` } onClick={() => (isCurrentWorkspaceManager && !isMemberFull) && setInviteModalVisible(true)}> - + {t('common.members.invite')}
diff --git a/web/app/components/header/account-setting/model-provider-page/model-modal/Form.tsx b/web/app/components/header/account-setting/model-provider-page/model-modal/Form.tsx index 3f8ec59eefe..ca9f3cbd38c 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-modal/Form.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-modal/Form.tsx @@ -1,6 +1,9 @@ import { useState } from 'react' import type { FC } from 'react' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import { ValidatingTip } from '../../key-validator/ValidateStatus' import type { CredentialFormSchema, @@ -16,7 +19,6 @@ import { useLanguage } from '../hooks' import Input from './Input' import { SimpleSelect } from '@/app/components/base/select' import Tooltip from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import Radio from '@/app/components/base/radio' type FormProps = { className?: string @@ -78,7 +80,7 @@ const Form: FC = ({ {tooltip[language] || tooltip.en_US} } > - + )) if (formSchema.type === FormTypeEnum.textInput || formSchema.type === FormTypeEnum.secretInput || formSchema.type === FormTypeEnum.textNumber) { diff --git a/web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx b/web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx index fb907c4479c..c1294ae3a7d 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-modal/index.tsx @@ -7,6 +7,9 @@ import { useState, } from 'react' import { useTranslation } from 'react-i18next' +import { + RiErrorWarningFill, +} from '@remixicon/react' import type { CredentialFormSchema, CredentialFormSchemaRadio, @@ -40,7 +43,6 @@ import Form from './Form' import Button from '@/app/components/base/button' import { Lock01 } from '@/app/components/base/icons/src/vender/solid/security' import { LinkExternal02 } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { PortalToFollowElem, PortalToFollowElemContent, @@ -358,7 +360,7 @@ const ModelModal: FC = ({ (validatedStatusState.status === ValidatedStatus.Error && validatedStatusState.message) ? (
- + {validatedStatusState.message}
) diff --git a/web/app/components/header/account-setting/model-provider-page/model-modal/model-load-balancing-entry-modal.tsx b/web/app/components/header/account-setting/model-provider-page/model-modal/model-load-balancing-entry-modal.tsx index 3da5838e11b..2b48e01787d 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-modal/model-load-balancing-entry-modal.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-modal/model-load-balancing-entry-modal.tsx @@ -7,6 +7,9 @@ import { useState, } from 'react' import { useTranslation } from 'react-i18next' +import { + RiErrorWarningFill, +} from '@remixicon/react' import type { CredentialFormSchema, CredentialFormSchemaRadio, @@ -32,7 +35,6 @@ import Form from './Form' import Button from '@/app/components/base/button' import { Lock01 } from '@/app/components/base/icons/src/vender/solid/security' import { LinkExternal02 } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { PortalToFollowElem, PortalToFollowElemContent, @@ -303,7 +305,7 @@ const ModelLoadBalancingEntryModal: FC = ({ (validatedStatusState.status === ValidatedStatus.Error && validatedStatusState.message) ? (
- + {validatedStatusState.message}
) diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx index 5d185315d9b..00cab05dbb3 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/parameter-item.tsx @@ -1,10 +1,12 @@ import type { FC } from 'react' import { useEffect, useRef, useState } from 'react' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import type { ModelParameterRule } from '../declarations' import { useLanguage } from '../hooks' import { isNullOrUndefined } from '../utils' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import Switch from '@/app/components/base/switch' import Tooltip from '@/app/components/base/tooltip' import Slider from '@/app/components/base/slider' @@ -234,7 +236,7 @@ const ParameterItem: FC = ({
{parameterRule.help[language] || parameterRule.help.en_US}
)} > - + ) } diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/presets-parameter.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/presets-parameter.tsx index 341c9723150..de5061ef453 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/presets-parameter.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/presets-parameter.tsx @@ -1,9 +1,9 @@ import type { FC } from 'react' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' +import { RiArrowDownSLine } from '@remixicon/react' import Dropdown from '@/app/components/base/dropdown' import { SlidersH } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { Brush01 } from '@/app/components/base/icons/src/vender/solid/editor' import { Scales02 } from '@/app/components/base/icons/src/vender/solid/FinanceAndECommerce' import { Target04 } from '@/app/components/base/icons/src/vender/solid/general' @@ -27,7 +27,7 @@ const PresetsParameter: FC = ({ > {t('common.modelProvider.loadPresets')} - + ) }, []) diff --git a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/trigger.tsx b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/trigger.tsx index 6fcf8b3838b..0a45ee7755d 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/trigger.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-parameter-modal/trigger.tsx @@ -1,6 +1,7 @@ import type { FC } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import type { Model, ModelItem, @@ -14,7 +15,6 @@ import { useProviderContext } from '@/context/provider-context' import { SlidersH } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' export type TriggerProps = { open?: boolean @@ -106,7 +106,7 @@ const Trigger: FC = ({ ) } - {isInWorkflow && ()} + {isInWorkflow && ()} ) } diff --git a/web/app/components/header/account-setting/model-provider-page/model-selector/empty-trigger.tsx b/web/app/components/header/account-setting/model-provider-page/model-selector/empty-trigger.tsx index d48b484a3ac..0c6d3efa394 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-selector/empty-trigger.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-selector/empty-trigger.tsx @@ -1,5 +1,5 @@ import type { FC } from 'react' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' +import { RiArrowDownSLine } from '@remixicon/react' import { CubeOutline } from '@/app/components/base/icons/src/vender/line/shapes' type ModelTriggerProps = { @@ -30,7 +30,7 @@ const ModelTrigger: FC = ({
- +
) diff --git a/web/app/components/header/account-setting/model-provider-page/model-selector/model-trigger.tsx b/web/app/components/header/account-setting/model-provider-page/model-selector/model-trigger.tsx index d9eb5ff4d1d..1ecf1e0e9d8 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-selector/model-trigger.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-selector/model-trigger.tsx @@ -1,4 +1,5 @@ import type { FC } from 'react' +import { RiArrowDownSLine } from '@remixicon/react' import type { Model, ModelItem, @@ -11,7 +12,6 @@ import { useLanguage } from '../hooks' import ModelIcon from '../model-icon' import ModelName from '../model-name' import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import TooltipPlus from '@/app/components/base/tooltip-plus' type ModelTriggerProps = { @@ -61,7 +61,7 @@ const ModelTrigger: FC = ({ ) : ( - ) diff --git a/web/app/components/header/account-setting/model-provider-page/model-selector/popup.tsx b/web/app/components/header/account-setting/model-provider-page/model-selector/popup.tsx index c09cd33a6a3..1a910aba08e 100644 --- a/web/app/components/header/account-setting/model-provider-page/model-selector/popup.tsx +++ b/web/app/components/header/account-setting/model-provider-page/model-selector/popup.tsx @@ -1,5 +1,8 @@ import type { FC } from 'react' import { useState } from 'react' +import { + RiSearchLine, +} from '@remixicon/react' import type { DefaultModel, Model, @@ -7,7 +10,6 @@ import type { } from '../declarations' import { useLanguage } from '../hooks' import PopupItem from './popup-item' -import { SearchLg } from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' type PopupProps = { @@ -47,7 +49,7 @@ const Popup: FC = ({ flex items-center pl-[9px] pr-[10px] h-8 rounded-lg border ${searchText ? 'bg-white border-gray-300 shadow-xs' : 'bg-gray-100 border-transparent'} `}> - { return ( @@ -16,7 +18,7 @@ const ModelTrigger = () => {
- +
) diff --git a/web/app/components/header/account-setting/model-provider-page/provider-added-card/index.tsx b/web/app/components/header/account-setting/model-provider-page/provider-added-card/index.tsx index f24e3fa7095..85af0e9fd19 100644 --- a/web/app/components/header/account-setting/model-provider-page/provider-added-card/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/provider-added-card/index.tsx @@ -1,6 +1,9 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { + RiLoader2Line, +} from '@remixicon/react' import type { CustomConfigurationModelFixedFields, ModelItem, @@ -19,7 +22,6 @@ import QuotaPanel from './quota-panel' import ModelList from './model-list' import AddModelButton from './add-model-button' import { ChevronDownDouble } from '@/app/components/base/icons/src/vender/line/arrows' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' import { fetchModelProviderModelList } from '@/service/common' import { useEventEmitterContextContext } from '@/context/event-emitter' import { IS_CE_EDITION } from '@/config' @@ -131,7 +133,7 @@ const ProviderAddedCard: FC = ({ } { loading && ( - + ) } diff --git a/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-load-balancing-configs.tsx b/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-load-balancing-configs.tsx index ab089360dff..18700716931 100644 --- a/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-load-balancing-configs.tsx +++ b/web/app/components/header/account-setting/model-provider-page/provider-added-card/model-load-balancing-configs.tsx @@ -2,13 +2,17 @@ import classNames from 'classnames' import type { Dispatch, SetStateAction } from 'react' import { useCallback } from 'react' import { useTranslation } from 'react-i18next' +import { + RiDeleteBinLine, + RiQuestionLine, +} from '@remixicon/react' import type { ConfigurationMethodEnum, CustomConfigurationModelFixedFields, ModelLoadBalancingConfig, ModelLoadBalancingConfigEntry, ModelProvider } from '../declarations' import Indicator from '../../../indicator' import CooldownTimer from './cooldown-timer' import TooltipPlus from '@/app/components/base/tooltip-plus' import Switch from '@/app/components/base/switch' import { Balance } from '@/app/components/base/icons/src/vender/line/financeAndECommerce' -import { Edit02, HelpCircle, Plus02, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { Edit02, Plus02 } from '@/app/components/base/icons/src/vender/line/general' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' import { useModalContextSelector } from '@/context/modal-context' import UpgradeBtn from '@/app/components/billing/upgrade-btn' @@ -157,7 +161,7 @@ const ModelLoadBalancingConfigs = ({
{t('common.modelProvider.loadBalancing')} - +
{t('common.modelProvider.loadBalancingDescription')}
@@ -213,7 +217,7 @@ const ModelLoadBalancingConfigs = ({ className='flex items-center justify-center w-8 h-8 text-gray-500 bg-white rounded-lg transition-colors cursor-pointer hover:bg-black/5' onClick={() => updateConfigEntry(index, () => undefined)} > - + diff --git a/web/app/components/header/account-setting/model-provider-page/provider-added-card/priority-selector.tsx b/web/app/components/header/account-setting/model-provider-page/provider-added-card/priority-selector.tsx index ee8b5c2acab..7e44011eadd 100644 --- a/web/app/components/header/account-setting/model-provider-page/provider-added-card/priority-selector.tsx +++ b/web/app/components/header/account-setting/model-provider-page/provider-added-card/priority-selector.tsx @@ -2,8 +2,11 @@ import { Fragment } from 'react' import type { FC } from 'react' import { Popover, Transition } from '@headlessui/react' import { useTranslation } from 'react-i18next' +import { + RiCheckLine, + RiMoreFill, +} from '@remixicon/react' import { PreferredProviderTypeEnum } from '../declarations' -import { Check, DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import Button from '@/app/components/base/button' type SelectorProps = { @@ -35,7 +38,7 @@ const Selector: FC = ({ px-0 w-6 h-6 bg-white rounded-md ${open && '!bg-gray-100'} `}> - + ) } @@ -57,7 +60,7 @@ const Selector: FC = ({ onClick={() => onSelect(option.key)} >
{option.text}
- {value === option.key && } + {value === option.key && } )) diff --git a/web/app/components/header/account-setting/model-provider-page/provider-card/index.tsx b/web/app/components/header/account-setting/model-provider-page/provider-card/index.tsx index fc4298f516c..5a365720a86 100644 --- a/web/app/components/header/account-setting/model-provider-page/provider-card/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/provider-card/index.tsx @@ -1,5 +1,8 @@ import type { FC } from 'react' import { useTranslation } from 'react-i18next' +import { + RiAddLine, +} from '@remixicon/react' import type { ModelProvider, } from '../declarations' @@ -14,7 +17,7 @@ import { import ModelBadge from '../model-badge' import ProviderIcon from '../provider-icon' import s from './index.module.css' -import { Plus, Settings01 } from '@/app/components/base/icons/src/vender/line/general' +import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import Button from '@/app/components/base/button' type ProviderCardProps = { @@ -76,7 +79,7 @@ const ProviderCard: FC = ({ className='px-0 h-7 bg-white text-xs text-gray-700' onClick={() => onOpenModal(method)} > - + {t('common.modelProvider.addModel')} ) diff --git a/web/app/components/header/account-setting/model-provider-page/system-model-selector/index.tsx b/web/app/components/header/account-setting/model-provider-page/system-model-selector/index.tsx index 9b49d50ff44..40fbcedcf4d 100644 --- a/web/app/components/header/account-setting/model-provider-page/system-model-selector/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/system-model-selector/index.tsx @@ -1,6 +1,9 @@ import type { FC } from 'react' import { useState } from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import ModelSelector from '../model-selector' import { useModelList, @@ -13,7 +16,7 @@ import type { } from '../declarations' import { ModelTypeEnum } from '../declarations' import Tooltip from '@/app/components/base/tooltip' -import { HelpCircle, Settings01 } from '@/app/components/base/icons/src/vender/line/general' +import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import { PortalToFollowElem, PortalToFollowElemContent, @@ -148,7 +151,7 @@ const SystemModel: FC = ({
{t('common.modelProvider.systemReasoningModel.tip')}
} > - +
@@ -168,7 +171,7 @@ const SystemModel: FC = ({
{t('common.modelProvider.embeddingModel.tip')}
} > - +
@@ -188,7 +191,7 @@ const SystemModel: FC = ({
{t('common.modelProvider.rerankModel.tip')}
} > - +
@@ -208,7 +211,7 @@ const SystemModel: FC = ({
{t('common.modelProvider.speechToTextModel.tip')}
} > - +
@@ -228,7 +231,7 @@ const SystemModel: FC = ({
{t('common.modelProvider.ttsModel.tip')}
} > - +
diff --git a/web/app/components/header/app-nav/index.tsx b/web/app/components/header/app-nav/index.tsx index 8d16235a701..bab7aac1a2b 100644 --- a/web/app/components/header/app-nav/index.tsx +++ b/web/app/components/header/app-nav/index.tsx @@ -6,9 +6,12 @@ import { useParams } from 'next/navigation' import useSWRInfinite from 'swr/infinite' import { flatten } from 'lodash-es' import produce from 'immer' +import { + RiRobot2Fill, + RiRobot2Line, +} from '@remixicon/react' import Nav from '../nav' import { type NavItem } from '../nav/nav-selector' -import { Robot, RobotActive } from '../../base/icons/src/public/header-nav/studio' import { fetchAppList } from '@/service/apps' import CreateAppTemplateDialog from '@/app/components/app/create-app-dialog' import CreateAppModal from '@/app/components/app/create-app-modal' @@ -112,8 +115,8 @@ const AppNav = () => { <>
@@ -132,10 +135,10 @@ const NavSelector = ({ curNav, navs, createText, isApp, onCreate, onLoadmore }: open && '!bg-gray-100', )}>
- +
{createText}
- + { actived - ? - : + ? + : } {t('common.menus.tools')} diff --git a/web/app/components/share/text-generation/index.tsx b/web/app/components/share/text-generation/index.tsx index 6ecc0594cd2..aba65eab614 100644 --- a/web/app/components/share/text-generation/index.tsx +++ b/web/app/components/share/text-generation/index.tsx @@ -3,13 +3,15 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiErrorWarningFill, +} from '@remixicon/react' import { useBoolean, useClickAway } from 'ahooks' import { XMarkIcon } from '@heroicons/react/24/outline' import { usePathname, useRouter, useSearchParams } from 'next/navigation' import TabHeader from '../../base/tab-header' import Button from '../../base/button' import { checkOrSetAccessToken } from '../utils' -import { AlertCircle } from '../../base/icons/src/vender/solid/alertsAndFeedback' import s from './style.module.css' import RunBatch from './run-batch' import ResDownload from './run-batch/res-download' @@ -475,7 +477,7 @@ const TextGeneration: FC = ({
{allFailedTaskList.length > 0 && (
- +
{t('share.generation.batchFailed.info', { num: allFailedTaskList.length })}
@@ -192,7 +195,7 @@ const AddToolModal: FC = ({
- +
{listLoading && ( diff --git a/web/app/components/tools/add-tool-modal/tools.tsx b/web/app/components/tools/add-tool-modal/tools.tsx index 3681fd50460..d0777af288d 100644 --- a/web/app/components/tools/add-tool-modal/tools.tsx +++ b/web/app/components/tools/add-tool-modal/tools.tsx @@ -4,8 +4,11 @@ import { } from 'react' import cn from 'classnames' import { useTranslation } from 'react-i18next' +import { + RiAddLine, +} from '@remixicon/react' import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows' -import { Check, Plus } from '@/app/components/base/icons/src/vender/line/general' +import { Check } from '@/app/components/base/icons/src/vender/line/general' import { Tag01 } from '@/app/components/base/icons/src/vender/line/financeAndECommerce' import type { ToolWithProvider } from '@/app/components/workflow/types' import { BlockEnum } from '@/app/components/workflow/types' @@ -109,7 +112,7 @@ const Blocks = ({ className={cn('hidden shrink-0 items-center !h-6 px-2 py-1 bg-white text-xs font-medium leading-[18px] text-primary-600 group-hover/item:flex')} onClick={() => onSelect(toolWithProvider, tool)} > - + {t('tools.addToolModal.add').toLocaleUpperCase()} )} diff --git a/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx b/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx index 696b4b2f265..d70f91df7c3 100644 --- a/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx +++ b/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx @@ -3,8 +3,10 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import Tooltip from '../../base/tooltip' -import { HelpCircle } from '../../base/icons/src/vender/line/general' import type { Credential } from '@/app/components/tools/types' import Drawer from '@/app/components/base/drawer-plus' import Button from '@/app/components/base/button' @@ -117,7 +119,7 @@ const ConfigCredential: FC = ({ } > - + = ({ className='flex items-center !h-6 !px-2 space-x-1 ' onClick={() => { setShowImportFromUrl(!showImportFromUrl) }} > - +
{t('tools.createTool.importFromUrl')}
{showImportFromUrl && ( @@ -91,7 +93,7 @@ const GetSchema: FC = ({ onClick={() => { setShowExamples(!showExamples) }} >
{t('tools.createTool.examples')}
- + {showExamples && (
diff --git a/web/app/components/tools/labels/filter.tsx b/web/app/components/tools/labels/filter.tsx index 23c2b46524d..13bf38f56be 100644 --- a/web/app/components/tools/labels/filter.tsx +++ b/web/app/components/tools/labels/filter.tsx @@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { useDebounceFn, useMount } from 'ahooks' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import { useStore as useLabelStore } from './store' import { PortalToFollowElem, @@ -11,7 +12,6 @@ import { PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' import SearchInput from '@/app/components/base/search-input' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { Tag01, Tag03 } from '@/app/components/base/icons/src/vender/line/financeAndECommerce' import { Check } from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' @@ -97,7 +97,7 @@ const LabelFilter: FC = ({ )} {!value.length && (
- +
)} {!!value.length && ( diff --git a/web/app/components/tools/labels/selector.tsx b/web/app/components/tools/labels/selector.tsx index 958981ba17b..ae4f303e61a 100644 --- a/web/app/components/tools/labels/selector.tsx +++ b/web/app/components/tools/labels/selector.tsx @@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' import { useDebounceFn, useMount } from 'ahooks' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import { useStore as useLabelStore } from './store' import { PortalToFollowElem, @@ -11,7 +12,6 @@ import { PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' import SearchInput from '@/app/components/base/search-input' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { Tag03 } from '@/app/components/base/icons/src/vender/line/financeAndECommerce' import Checkbox from '@/app/components/base/checkbox' import type { Label } from '@/app/components/tools/labels/constant' @@ -87,7 +87,7 @@ const LabelSelector: FC = ({ {!!value.length && selectedLabels}
- +
diff --git a/web/app/components/tools/provider-list.tsx b/web/app/components/tools/provider-list.tsx index 66ce7f5a2e0..946be2f0335 100644 --- a/web/app/components/tools/provider-list.tsx +++ b/web/app/components/tools/provider-list.tsx @@ -2,12 +2,13 @@ import { useEffect, useMemo, useState } from 'react' import cn from 'classnames' import { useTranslation } from 'react-i18next' +import { RiCloseLine } from '@remixicon/react' import type { Collection } from './types' import { useTabSearchParams } from '@/hooks/use-tab-searchparams' import TabSliderNew from '@/app/components/base/tab-slider-new' import LabelFilter from '@/app/components/tools/labels/filter' import SearchInput from '@/app/components/base/search-input' -import { DotsGrid, XClose } from '@/app/components/base/icons/src/vender/line/general' +import { DotsGrid } from '@/app/components/base/icons/src/vender/line/general' import { Colors } from '@/app/components/base/icons/src/vender/line/others' import { Route } from '@/app/components/base/icons/src/vender/line/mapsAndTravel' import CustomCreateCard from '@/app/components/tools/provider/custom-create-card' @@ -109,7 +110,7 @@ const ProviderList = () => { )}> {currentProvider && } -
setCurrentProvider(undefined)}>
+
setCurrentProvider(undefined)}>
) } diff --git a/web/app/components/tools/provider/contribute.tsx b/web/app/components/tools/provider/contribute.tsx index 9c3c2559b0e..8b6705c1752 100644 --- a/web/app/components/tools/provider/contribute.tsx +++ b/web/app/components/tools/provider/contribute.tsx @@ -2,7 +2,9 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' -import { ToolsActive } from '@/app/components/base/icons/src/public/header-nav/tools' +import { + RiHammerFill, +} from '@remixicon/react' import { Heart02 } from '@/app/components/base/icons/src/vender/solid/education' import { BookOpen01 } from '@/app/components/base/icons/src/vender/line/education' import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows' @@ -19,7 +21,7 @@ const Contribute: FC = () => { >
-
+
diff --git a/web/app/components/tools/provider/custom-create-card.tsx b/web/app/components/tools/provider/custom-create-card.tsx index acfdc3b6ebb..99a2ad2be3d 100644 --- a/web/app/components/tools/provider/custom-create-card.tsx +++ b/web/app/components/tools/provider/custom-create-card.tsx @@ -2,10 +2,12 @@ import { useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' import { useContext } from 'use-context-selector' +import { + RiAddLine, +} from '@remixicon/react' import type { CustomCollectionBackend } from '../types' import I18n from '@/context/i18n' import { getLanguage } from '@/i18n/language' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { BookOpen01 } from '@/app/components/base/icons/src/vender/line/education' import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows' import EditCustomToolModal from '@/app/components/tools/edit-custom-collection-modal' @@ -47,7 +49,7 @@ const Contribute = ({ onRefreshData }: Props) => {
setIsShowEditCustomCollectionModal(true)}>
- +
{t('tools.createCustomTool')}
diff --git a/web/app/components/tools/tool-list/index.tsx b/web/app/components/tools/tool-list/index.tsx deleted file mode 100644 index b10469d62ca..00000000000 --- a/web/app/components/tools/tool-list/index.tsx +++ /dev/null @@ -1,220 +0,0 @@ -'use client' -import type { FC } from 'react' -import React, { useEffect, useState } from 'react' -import { useTranslation } from 'react-i18next' -import cn from 'classnames' -import { AuthHeaderPrefix, AuthType, CollectionType, LOC } from '../types' -import type { Collection, CustomCollectionBackend, Tool } from '../types' -import Loading from '../../base/loading' -import { ArrowNarrowRight } from '../../base/icons/src/vender/line/arrows' -import Toast from '../../base/toast' -import { ConfigurationMethodEnum } from '../../header/account-setting/model-provider-page/declarations' -import Header from './header' -import Item from './item' -import AppIcon from '@/app/components/base/app-icon' -import ConfigCredential from '@/app/components/tools/setting/build-in/config-credentials' -import { fetchCustomCollection, removeBuiltInToolCredential, removeCustomCollection, updateBuiltInToolCredential, updateCustomCollection } from '@/service/tools' -import EditCustomToolModal from '@/app/components/tools/edit-custom-collection-modal' -import type { AgentTool } from '@/types/app' -import { MAX_TOOLS_NUM } from '@/config' -import { useModalContext } from '@/context/modal-context' -import { useProviderContext } from '@/context/provider-context' - -type Props = { - collection: Collection | null - list: Tool[] - // onToolListChange: () => void // custom tools change - loc: LOC - addedTools?: AgentTool[] - onAddTool?: (collection: Collection, payload: Tool) => void - onRefreshData: () => void - onCollectionRemoved: () => void - isLoading: boolean -} - -const ToolList: FC = ({ - collection, - list, - loc, - addedTools, - onAddTool, - onRefreshData, - onCollectionRemoved, - isLoading, -}) => { - const { t } = useTranslation() - const isInToolsPage = loc === LOC.tools - const isBuiltIn = collection?.type === CollectionType.builtIn - const isModel = collection?.type === CollectionType.model - const needAuth = collection?.allow_delete - - const { setShowModelModal } = useModalContext() - const [showSettingAuth, setShowSettingAuth] = useState(false) - const { modelProviders: providers } = useProviderContext() - const showSettingAuthModal = () => { - if (isModel) { - const provider = providers.find(item => item.provider === collection?.id) - if (provider) { - setShowModelModal({ - payload: { - currentProvider: provider, - currentConfigurationMethod: ConfigurationMethodEnum.predefinedModel, - currentCustomConfigurationModelFixedFields: undefined, - }, - onSaveCallback: () => { - onRefreshData() - }, - }) - } - } - else { - setShowSettingAuth(true) - } - } - - const [customCollection, setCustomCollection] = useState(null) - useEffect(() => { - if (!collection) - return - (async () => { - if (collection.type === CollectionType.custom) { - const res = await fetchCustomCollection(collection.name) - if (res.credentials.auth_type === AuthType.apiKey && !res.credentials.api_key_header_prefix) { - if (res.credentials.api_key_value) - res.credentials.api_key_header_prefix = AuthHeaderPrefix.custom - } - setCustomCollection({ - ...res, - provider: collection.name, - }) - } - })() - }, [collection]) - const [isShowEditCollectionToolModal, setIsShowEditCustomCollectionModal] = useState(false) - - const doUpdateCustomToolCollection = async (data: CustomCollectionBackend) => { - await updateCustomCollection(data) - onRefreshData() - Toast.notify({ - type: 'success', - message: t('common.api.actionSuccess'), - }) - setIsShowEditCustomCollectionModal(false) - } - - const doRemoveCustomToolCollection = async () => { - await removeCustomCollection(collection?.name as string) - onCollectionRemoved() - Toast.notify({ - type: 'success', - message: t('common.api.actionSuccess'), - }) - setIsShowEditCustomCollectionModal(false) - } - - if (!collection || isLoading) - return - - const icon = <>{typeof collection.icon === 'string' - ? ( -
-
-
- ) - : ( - - )} - - - return ( -
-
showSettingAuthModal()} - onShowEditCustomCollection={() => setIsShowEditCustomCollectionModal(true)} - /> -
-
-
{t('tools.includeToolNum', { - num: list.length, - })}
- {needAuth && (isBuiltIn || isModel) && !collection.is_team_authorization && ( - <> -
ยท
-
showSettingAuthModal()} - > -
{t('tools.auth.setup')}
- -
- - )} -
-
-
- {/* list */} -
- {list.map(item => ( - = MAX_TOOLS_NUM} - added={!!addedTools?.find(v => v.provider_id === collection.id && v.provider_type === collection.type && v.tool_name === item.name)} - onAdd={!isInToolsPage ? tool => onAddTool?.(collection as Collection, tool) : undefined} - /> - ))} -
-
- {showSettingAuth && ( - setShowSettingAuth(false)} - onSaved={async (value) => { - await updateBuiltInToolCredential(collection.name, value) - Toast.notify({ - type: 'success', - message: t('common.api.actionSuccess'), - }) - await onRefreshData() - setShowSettingAuth(false) - }} - onRemove={async () => { - await removeBuiltInToolCredential(collection.name) - Toast.notify({ - type: 'success', - message: t('common.api.actionSuccess'), - }) - await onRefreshData() - setShowSettingAuth(false) - }} - /> - )} - - {isShowEditCollectionToolModal && ( - setIsShowEditCustomCollectionModal(false)} - onEdit={doUpdateCustomToolCollection} - onRemove={doRemoveCustomToolCollection} - /> - )} -
- ) -} -export default React.memo(ToolList) diff --git a/web/app/components/tools/workflow-tool/confirm-modal/index.tsx b/web/app/components/tools/workflow-tool/confirm-modal/index.tsx index 7852013bce3..f432866ea25 100644 --- a/web/app/components/tools/workflow-tool/confirm-modal/index.tsx +++ b/web/app/components/tools/workflow-tool/confirm-modal/index.tsx @@ -2,10 +2,10 @@ import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import s from './style.module.css' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' type ConfirmModalProps = { @@ -24,7 +24,7 @@ const ConfirmModal = ({ show, onConfirm, onClose }: ConfirmModalProps) => { onClose={() => { }} >
- +
diff --git a/web/app/components/tools/workflow-tool/index.tsx b/web/app/components/tools/workflow-tool/index.tsx index ca3d8af5908..a552ca93b51 100644 --- a/web/app/components/tools/workflow-tool/index.tsx +++ b/web/app/components/tools/workflow-tool/index.tsx @@ -3,6 +3,9 @@ import type { FC } from 'react' import React, { useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiQuestionLine, +} from '@remixicon/react' import produce from 'immer' import type { Emoji, WorkflowToolProviderParameter, WorkflowToolProviderRequest } from '../types' import Drawer from '@/app/components/base/drawer-plus' @@ -13,7 +16,6 @@ import AppIcon from '@/app/components/base/app-icon' import MethodSelector from '@/app/components/tools/workflow-tool/method-selector' import LabelSelector from '@/app/components/tools/labels/selector' import ConfirmModal from '@/app/components/tools/workflow-tool/confirm-modal' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import Tooltip from '@/app/components/base/tooltip' type Props = { @@ -149,7 +151,7 @@ const WorkflowToolAsModal: FC = ({ } selector='workflow-tool-modal-tooltip' > - +
= ({ {value === 'llm' ? t('tools.createTool.toolInput.methodParameter') : t('tools.createTool.toolInput.methodSetting')}
- +
diff --git a/web/app/components/workflow/block-selector/index.tsx b/web/app/components/workflow/block-selector/index.tsx index bcf96b50454..dd4177245f6 100644 --- a/web/app/components/workflow/block-selector/index.tsx +++ b/web/app/components/workflow/block-selector/index.tsx @@ -12,6 +12,9 @@ import type { OffsetOptions, Placement, } from '@floating-ui/react' +import { + RiSearchLine, +} from '@remixicon/react' import type { BlockEnum, OnSelectBlock } from '../types' import Tabs from './tabs' import { @@ -21,7 +24,6 @@ import { } from '@/app/components/base/portal-to-follow-elem' import { Plus02, - SearchLg, } from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' @@ -114,7 +116,7 @@ const NodeSelector: FC = ({ className='flex items-center px-2 rounded-lg bg-gray-100' onClick={e => e.stopPropagation()} > - + { className='flex items-center justify-center w-6 h-6 cursor-pointer' onClick={() => setShowFeaturesPanel(false)} > - + diff --git a/web/app/components/workflow/header/checklist.tsx b/web/app/components/workflow/header/checklist.tsx index 964ac95413f..936415708d2 100644 --- a/web/app/components/workflow/header/checklist.tsx +++ b/web/app/components/workflow/header/checklist.tsx @@ -7,6 +7,10 @@ import { useEdges, useNodes, } from 'reactflow' +import { + RiCloseLine, + RiListCheck3, +} from '@remixicon/react' import cn from 'classnames' import BlockIcon from '../block-icon' import { @@ -23,9 +27,7 @@ import { PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' import { - Checklist, ChecklistSquare, - XClose, } from '@/app/components/base/icons/src/vender/line/general' import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' @@ -66,7 +68,7 @@ const WorkflowChecklist = ({ ${open && 'bg-primary-50'} `} > - setOpen(false)} > - +
diff --git a/web/app/components/workflow/header/run-and-history.tsx b/web/app/components/workflow/header/run-and-history.tsx index 2ac3a28b58f..c2f46878394 100644 --- a/web/app/components/workflow/header/run-and-history.tsx +++ b/web/app/components/workflow/header/run-and-history.tsx @@ -2,6 +2,10 @@ import type { FC } from 'react' import { memo } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiLoader2Line, + RiPlayLargeFill, +} from '@remixicon/react' import { useStore } from '../store' import { useIsChatMode, @@ -11,10 +15,8 @@ import { import { WorkflowRunningStatus } from '../types' import ViewHistory from './view-history' import { - Play, StopCircle, } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' -import { Loading02 } from '@/app/components/base/icons/src/vender/line/general' import { MessagePlay } from '@/app/components/base/icons/src/vender/line/communication' const RunMode = memo(() => { @@ -38,13 +40,13 @@ const RunMode = memo(() => { isRunning ? ( <> - + {t('workflow.common.running')} ) : ( <> - + {t('workflow.common.run')} ) diff --git a/web/app/components/workflow/header/view-history.tsx b/web/app/components/workflow/header/view-history.tsx index dc473c606ce..6092d2538cf 100644 --- a/web/app/components/workflow/header/view-history.tsx +++ b/web/app/components/workflow/header/view-history.tsx @@ -6,6 +6,11 @@ import cn from 'classnames' import useSWR from 'swr' import { useTranslation } from 'react-i18next' import { useShallow } from 'zustand/react/shallow' +import { + RiCheckboxCircleLine, + RiCloseLine, + RiErrorWarningLine, +} from '@remixicon/react' import { useIsChatMode, useNodesInteractions, @@ -25,8 +30,7 @@ import { ClockPlay, ClockPlaySlim, } from '@/app/components/base/icons/src/vender/line/time' -import { CheckCircle, XClose } from '@/app/components/base/icons/src/vender/line/general' -import { AlertCircle, AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' +import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' import { fetcChatRunHistory, fetchWorkflowRunHistory, @@ -131,7 +135,7 @@ const ViewHistory = ({ setOpen(false) }} > - +
{ @@ -180,12 +184,12 @@ const ViewHistory = ({ } { !isChatMode && item.status === WorkflowRunningStatus.Failed && ( - + ) } { !isChatMode && item.status === WorkflowRunningStatus.Succeeded && ( - + ) }
diff --git a/web/app/components/workflow/nodes/_base/components/add-button.tsx b/web/app/components/workflow/nodes/_base/components/add-button.tsx index ed29c73aa63..87dc848b6cf 100644 --- a/web/app/components/workflow/nodes/_base/components/add-button.tsx +++ b/web/app/components/workflow/nodes/_base/components/add-button.tsx @@ -2,7 +2,9 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' +import { + RiAddLine, +} from '@remixicon/react' type Props = { className?: string @@ -20,7 +22,7 @@ const AddButton: FC = ({ className={cn(className, 'flex items-center h-7 justify-center bg-gray-100 hover:bg-gray-200 rounded-lg cursor-pointer text-xs font-medium text-gray-700 space-x-1')} onClick={onClick} > - +
{text}
) diff --git a/web/app/components/workflow/nodes/_base/components/before-run-form/form-item.tsx b/web/app/components/workflow/nodes/_base/components/before-run-form/form-item.tsx index 7e50ddcc97a..2a66f2a59aa 100644 --- a/web/app/components/workflow/nodes/_base/components/before-run-form/form-item.tsx +++ b/web/app/components/workflow/nodes/_base/components/before-run-form/form-item.tsx @@ -3,6 +3,9 @@ import type { FC } from 'react' import React, { useCallback } from 'react' import { useTranslation } from 'react-i18next' import produce from 'immer' +import { + RiDeleteBinLine, +} from '@remixicon/react' import type { InputVar } from '../../../../types' import { BlockEnum, InputVarType } from '../../../../types' import CodeEditor from '../editor/code-editor' @@ -11,7 +14,6 @@ import TextEditor from '../editor/text-editor' import Select from '@/app/components/base/select' import TextGenerationImageUploader from '@/app/components/base/image-uploader/text-generation-image-uploader' import { Resolution } from '@/types/app' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import { useFeatures } from '@/app/components/base/features/hooks' import { VarBlockIcon } from '@/app/components/workflow/block-icon' import { Line3 } from '@/app/components/base/icons/src/public/common' @@ -174,7 +176,7 @@ const FormItem: FC = ({ title={JSON} headerRight={ (value as any).length > 1 - ? () @@ -200,7 +202,7 @@ const FormItem: FC = ({ onChange={handleArrayItemChange(index)} headerRight={ (value as any).length > 1 - ? () diff --git a/web/app/components/workflow/nodes/_base/components/before-run-form/index.tsx b/web/app/components/workflow/nodes/_base/components/before-run-form/index.tsx index 77ab05d0972..6df48b23b9f 100644 --- a/web/app/components/workflow/nodes/_base/components/before-run-form/index.tsx +++ b/web/app/components/workflow/nodes/_base/components/before-run-form/index.tsx @@ -3,11 +3,14 @@ import type { FC } from 'react' import React, { useCallback } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiCloseLine, + RiLoader2Line, +} from '@remixicon/react' import type { Props as FormProps } from './form' import Form from './form' import Button from '@/app/components/base/button' import { StopCircle } from '@/app/components/base/icons/src/vender/solid/mediaAndDevices' -import { Loading02, XClose } from '@/app/components/base/icons/src/vender/line/general' import Split from '@/app/components/workflow/nodes/_base/components/split' import { InputVarType, NodeRunningStatus } from '@/app/components/workflow/types' import ResultPanel from '@/app/components/workflow/run/result-panel' @@ -114,7 +117,7 @@ const BeforeRunForm: FC = ({ {t(`${i18nPrefix}.testRun`)} {nodeName}
- +
@@ -142,7 +145,7 @@ const BeforeRunForm: FC = ({ )} diff --git a/web/app/components/workflow/nodes/_base/components/editor/base.tsx b/web/app/components/workflow/nodes/_base/components/editor/base.tsx index 5877a01be38..e6f529550b3 100644 --- a/web/app/components/workflow/nodes/_base/components/editor/base.tsx +++ b/web/app/components/workflow/nodes/_base/components/editor/base.tsx @@ -5,7 +5,10 @@ import copy from 'copy-to-clipboard' import cn from 'classnames' import Wrap from './wrap' import PromptEditorHeightResizeWrap from '@/app/components/app/configuration/config-prompt/prompt-editor-height-resize-wrap' -import { Clipboard, ClipboardCheck } from '@/app/components/base/icons/src/vender/line/files' +import { + Clipboard, + ClipboardCheck, +} from '@/app/components/base/icons/src/vender/line/files' import ToggleExpandBtn from '@/app/components/workflow/nodes/_base/components/toggle-expand-btn' import useToggleExpend from '@/app/components/workflow/nodes/_base/hooks/use-toggle-expend' diff --git a/web/app/components/workflow/nodes/_base/components/field.tsx b/web/app/components/workflow/nodes/_base/components/field.tsx index aa93ba75972..bda83cfc7d2 100644 --- a/web/app/components/workflow/nodes/_base/components/field.tsx +++ b/web/app/components/workflow/nodes/_base/components/field.tsx @@ -2,11 +2,13 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' +import { + RiArrowDownSLine, + RiQuestionLine, +} from '@remixicon/react' import { useBoolean } from 'ahooks' import type { DefaultTFuncReturn } from 'i18next' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { ChevronRight } from '@/app/components/base/icons/src/vender/line/arrows' type Props = { className?: string @@ -42,7 +44,7 @@ const Filed: FC = ({
{tooltip}
}> - + )} @@ -50,7 +52,7 @@ const Filed: FC = ({
{operations &&
{operations}
} {supportFold && ( - + )}
diff --git a/web/app/components/workflow/nodes/_base/components/help-link.tsx b/web/app/components/workflow/nodes/_base/components/help-link.tsx index ab2f2368cfa..248eb5a5463 100644 --- a/web/app/components/workflow/nodes/_base/components/help-link.tsx +++ b/web/app/components/workflow/nodes/_base/components/help-link.tsx @@ -1,8 +1,8 @@ import { memo } from 'react' import { useTranslation } from 'react-i18next' +import { RiBookOpenLine } from '@remixicon/react' import { useNodeHelpLink } from '../hooks/use-node-help-link' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { BookOpen02 } from '@/app/components/base/icons/src/vender/line/education' import type { BlockEnum } from '@/app/components/workflow/types' type HelpLinkProps = { @@ -21,7 +21,7 @@ const HelpLink = ({ target='_blank' className='flex items-center justify-center mr-1 w-6 h-6' > - + diff --git a/web/app/components/workflow/nodes/_base/components/next-step/add.tsx b/web/app/components/workflow/nodes/_base/components/next-step/add.tsx index 06718a6c229..df90fa156b2 100644 --- a/web/app/components/workflow/nodes/_base/components/next-step/add.tsx +++ b/web/app/components/workflow/nodes/_base/components/next-step/add.tsx @@ -3,13 +3,15 @@ import { useCallback, } from 'react' import { useTranslation } from 'react-i18next' +import { + RiAddLine, +} from '@remixicon/react' import { useAvailableBlocks, useNodesInteractions, useNodesReadOnly, } from '@/app/components/workflow/hooks' import BlockSelector from '@/app/components/workflow/block-selector' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import type { CommonNodeType, OnSelectBlock, @@ -66,7 +68,7 @@ const Add = ({ ) }
- +
{t('workflow.panel.selectNextStep')} diff --git a/web/app/components/workflow/nodes/_base/components/node-control.tsx b/web/app/components/workflow/nodes/_base/components/node-control.tsx index 7e8dd284375..25b941c2168 100644 --- a/web/app/components/workflow/nodes/_base/components/node-control.tsx +++ b/web/app/components/workflow/nodes/_base/components/node-control.tsx @@ -5,6 +5,9 @@ import { useState, } from 'react' import { useTranslation } from 'react-i18next' +import { + RiPlayLargeLine, +} from '@remixicon/react' import { useNodeDataUpdate, useNodesInteractions, @@ -14,7 +17,6 @@ import type { Node } from '../../../types' import { canRunBySingle } from '../../../utils' import PanelOperator from './panel-operator' import { - Play, Stop, } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' import TooltipPlus from '@/app/components/base/tooltip-plus' @@ -69,7 +71,7 @@ const NodeControl: FC = ({ - + ) } diff --git a/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx b/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx index a42acf25d72..4c192367167 100644 --- a/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx +++ b/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx @@ -3,9 +3,9 @@ import { useCallback, useState, } from 'react' +import { RiMoreFill } from '@remixicon/react' import type { OffsetOptions } from '@floating-ui/react' import PanelOperatorPopup from './panel-operator-popup' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import { PortalToFollowElem, PortalToFollowElemContent, @@ -59,7 +59,7 @@ const PanelOperator = ({ ${triggerClassName} `} > - + diff --git a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx index 1f14c0e85b4..6cf4fe20b6d 100644 --- a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx +++ b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx @@ -2,6 +2,9 @@ import type { FC } from 'react' import React, { useCallback, useRef } from 'react' import cn from 'classnames' +import { + RiDeleteBinLine, +} from '@remixicon/react' import copy from 'copy-to-clipboard' import { useTranslation } from 'react-i18next' import { useBoolean } from 'ahooks' @@ -17,9 +20,11 @@ import { CodeLanguage } from '../../../code/types' import ToggleExpandBtn from '@/app/components/workflow/nodes/_base/components/toggle-expand-btn' import useToggleExpend from '@/app/components/workflow/nodes/_base/hooks/use-toggle-expend' import PromptEditor from '@/app/components/base/prompt-editor' -import { Clipboard, ClipboardCheck } from '@/app/components/base/icons/src/vender/line/files' +import { + Clipboard, + ClipboardCheck, +} from '@/app/components/base/icons/src/vender/line/files' import s from '@/app/components/app/configuration/config-prompt/style.module.css' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import { useEventEmitterContextContext } from '@/context/event-emitter' import { PROMPT_EDITOR_INSERT_QUICKLY } from '@/app/components/base/prompt-editor/plugins/update-block' import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development' @@ -153,7 +158,7 @@ const Editor: FC = ({ )} {showRemove && ( - + )} {!isCopied ? ( diff --git a/web/app/components/workflow/nodes/_base/components/remove-button.tsx b/web/app/components/workflow/nodes/_base/components/remove-button.tsx index b53b69e1a3c..22b03b6c862 100644 --- a/web/app/components/workflow/nodes/_base/components/remove-button.tsx +++ b/web/app/components/workflow/nodes/_base/components/remove-button.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import React from 'react' import cn from 'classnames' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { RiDeleteBinLine } from '@remixicon/react' type Props = { className?: string @@ -18,7 +18,7 @@ const Remove: FC = ({ className={cn(className, 'p-1 cursor-pointer rounded-md hover:bg-black/5 text-gray-500 hover:text-gray-800')} onClick={onClick} > - + ) } diff --git a/web/app/components/workflow/nodes/_base/components/toggle-expand-btn.tsx b/web/app/components/workflow/nodes/_base/components/toggle-expand-btn.tsx index 7e7b1b86c1c..5d1be7c67d1 100644 --- a/web/app/components/workflow/nodes/_base/components/toggle-expand-btn.tsx +++ b/web/app/components/workflow/nodes/_base/components/toggle-expand-btn.tsx @@ -1,8 +1,10 @@ 'use client' import type { FC } from 'react' import React, { useCallback } from 'react' -import { Expand04 } from '@/app/components/base/icons/src/vender/solid/arrows' -import { Collapse04 } from '@/app/components/base/icons/src/vender/line/arrows' +import { + RiCollapseDiagonalLine, + RiExpandDiagonalLine, +} from '@remixicon/react' type Props = { isExpand: boolean @@ -17,7 +19,7 @@ const ExpandBtn: FC = ({ onExpandChange(!isExpand) }, [isExpand]) - const Icon = isExpand ? Collapse04 : Expand04 + const Icon = isExpand ? RiCollapseDiagonalLine : RiExpandDiagonalLine return ( ) diff --git a/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx index 0032fbfd5bf..d944aade8e2 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx @@ -3,6 +3,10 @@ import type { FC } from 'react' import React, { useCallback, useEffect, useRef, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiArrowDownSLine, + RiCloseLine, +} from '@remixicon/react' import produce from 'immer' import { useStoreApi } from 'reactflow' import VarReferencePopup from './var-reference-popup' @@ -23,8 +27,6 @@ import { } from '@/app/components/workflow/hooks' import { VarType as VarKindType } from '@/app/components/workflow/nodes/tool/types' import TypeSelector from '@/app/components/workflow/nodes/_base/components/selector' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' import AddButton from '@/app/components/base/button/add-button' const TRIGGER_DEFAULT_WIDTH = 227 @@ -244,7 +246,7 @@ const VarReferencePicker: FC = ({ noLeft triggerClassName='!text-xs' readonly={readonly} - DropDownIcon={ChevronDown} + DropDownIcon={RiArrowDownSLine} value={varKindType} options={varKindTypes} onChange={handleVarKindTypeChange} @@ -303,7 +305,7 @@ const VarReferencePicker: FC = ({ className='invisible group-hover/wrap:visible absolute h-5 right-1 top-[50%] translate-y-[-50%] group p-1 rounded-md hover:bg-black/5 cursor-pointer' onClick={handleClearVar} > - + )} )} diff --git a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx index 34fff7e6191..951d0bd237d 100644 --- a/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx +++ b/web/app/components/workflow/nodes/_base/components/variable/var-reference-vars.tsx @@ -3,6 +3,9 @@ import type { FC } from 'react' import React, { useEffect, useRef, useState } from 'react' import { useBoolean, useHover } from 'ahooks' import cn from 'classnames' +import { + RiSearchLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import { type NodeOutPutVar, type ValueSelector, type Var, VarType } from '@/app/components/workflow/types' import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development' @@ -12,9 +15,6 @@ import { PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { - SearchLg, -} from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' import { checkKeys } from '@/utils/var' @@ -243,7 +243,7 @@ const VarReferenceVars: FC = ({ onClick={e => e.stopPropagation()} > - + = ({ setOpen(!open)} className='w-[120px] cursor-pointer'>
{value}
- +
= ({ } { (data._runningStatus === NodeRunningStatus.Running || data._singleRunningStatus === NodeRunningStatus.Running) && ( - + ) } { data._runningStatus === NodeRunningStatus.Succeeded && ( - + ) } { data._runningStatus === NodeRunningStatus.Failed && ( - + ) } diff --git a/web/app/components/workflow/nodes/_base/panel.tsx b/web/app/components/workflow/nodes/_base/panel.tsx index c5072dce12f..05b65ee518b 100644 --- a/web/app/components/workflow/nodes/_base/panel.tsx +++ b/web/app/components/workflow/nodes/_base/panel.tsx @@ -7,6 +7,10 @@ import { memo, useCallback, } from 'react' +import { + RiCloseLine, + RiPlayLargeLine, +} from '@remixicon/react' import cn from 'classnames' import { useShallow } from 'zustand/react/shallow' import { useTranslation } from 'react-i18next' @@ -18,9 +22,6 @@ import { TitleInput, } from './components/title-description-input' import { useResizePanel } from './hooks/use-resize-panel' -import { - XClose, -} from '@/app/components/base/icons/src/vender/line/general' import BlockIcon from '@/app/components/workflow/block-icon' import { useAvailableBlocks, @@ -32,7 +33,6 @@ import { useWorkflow, } from '@/app/components/workflow/hooks' import { canRunBySingle } from '@/app/components/workflow/utils' -import { Play } from '@/app/components/base/icons/src/vender/line/mediaAndDevices' import TooltipPlus from '@/app/components/base/tooltip-plus' import type { Node } from '@/app/components/workflow/types' import { useStore as useAppStore } from '@/app/components/app/store' @@ -129,7 +129,7 @@ const BasePanel: FC = ({ handleSyncWorkflowDraft(true) }} > - + ) @@ -141,7 +141,7 @@ const BasePanel: FC = ({ className='flex items-center justify-center w-6 h-6 cursor-pointer' onClick={() => handleNodeSelect(id, true)} > - + diff --git a/web/app/components/workflow/nodes/code/dependency-picker.tsx b/web/app/components/workflow/nodes/code/dependency-picker.tsx index 8fe9fa01bc2..3aa6c45f20b 100644 --- a/web/app/components/workflow/nodes/code/dependency-picker.tsx +++ b/web/app/components/workflow/nodes/code/dependency-picker.tsx @@ -1,10 +1,13 @@ import type { FC } from 'react' import React, { useCallback, useState } from 'react' import { t } from 'i18next' +import { + RiArrowDownSLine, + RiSearchLine, +} from '@remixicon/react' import type { CodeDependency } from './types' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger } from '@/app/components/base/portal-to-follow-elem' -import { Check, SearchLg } from '@/app/components/base/icons/src/vender/line/general' +import { Check } from '@/app/components/base/icons/src/vender/line/general' import { XCircle } from '@/app/components/base/icons/src/vender/solid/general' type Props = { @@ -38,7 +41,7 @@ const DependencyPicker: FC = ({ setOpen(!open)} className='flex-grow cursor-pointer'>
{value.name}
- +
= ({
- + = ({ trigger={
{method}
- {!readonly && } + {!readonly && }
} popupClassName='top-[34px] w-[108px]' diff --git a/web/app/components/workflow/nodes/if-else/components/condition-item.tsx b/web/app/components/workflow/nodes/if-else/components/condition-item.tsx index cd511cce2c2..3720312f3e9 100644 --- a/web/app/components/workflow/nodes/if-else/components/condition-item.tsx +++ b/web/app/components/workflow/nodes/if-else/components/condition-item.tsx @@ -3,13 +3,15 @@ import type { FC } from 'react' import React, { useCallback, useEffect } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiDeleteBinLine, +} from '@remixicon/react' import VarReferencePicker from '../../_base/components/variable/var-reference-picker' import { isComparisonOperatorNeedTranslate } from '../utils' import { VarType } from '../../../types' import type { Condition } from '@/app/components/workflow/nodes/if-else/types' import { ComparisonOperator, LogicalOperator } from '@/app/components/workflow/nodes/if-else/types' import type { ValueSelector, Var } from '@/app/components/workflow/types' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import { RefreshCw05 } from '@/app/components/base/icons/src/vender/line/arrows' import Selector from '@/app/components/workflow/nodes/_base/components/selector' import Toast from '@/app/components/base/toast' @@ -237,7 +239,7 @@ const Item: FC = ({ className={cn(canRemove ? 'text-gray-500 bg-gray-100 hover:bg-gray-200 cursor-pointer' : 'bg-gray-25 text-gray-300', 'p-2 rounded-lg ')} onClick={canRemove ? onRemove : () => { }} > - +
)} diff --git a/web/app/components/workflow/nodes/iteration/add-block.tsx b/web/app/components/workflow/nodes/iteration/add-block.tsx index ec774bb459a..c343de1c720 100644 --- a/web/app/components/workflow/nodes/iteration/add-block.tsx +++ b/web/app/components/workflow/nodes/iteration/add-block.tsx @@ -4,6 +4,9 @@ import { } from 'react' import produce from 'immer' import cn from 'classnames' +import { + RiAddLine, +} from '@remixicon/react' import { useStoreApi } from 'reactflow' import { useTranslation } from 'react-i18next' import { @@ -17,7 +20,6 @@ import { NODES_INITIAL_DATA } from '../../constants' import InsertBlock from './insert-block' import type { IterationNodeType } from './types' import BlockSelector from '@/app/components/workflow/block-selector' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import { IterationStart } from '@/app/components/base/icons/src/vender/workflow' import type { OnSelectBlock, @@ -85,7 +87,7 @@ const AddBlock = ({ `${nodesReadOnly && '!cursor-not-allowed opacity-50'}`, open && '!bg-gray-50', )}> - + {t('workflow.common.addBlock')} ) diff --git a/web/app/components/workflow/nodes/iteration/panel.tsx b/web/app/components/workflow/nodes/iteration/panel.tsx index 5ca2f272fbe..50d6e237dc0 100644 --- a/web/app/components/workflow/nodes/iteration/panel.tsx +++ b/web/app/components/workflow/nodes/iteration/panel.tsx @@ -1,7 +1,9 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' - +import { + RiArrowRightSLine, +} from '@remixicon/react' import VarReferencePicker from '../_base/components/variable/var-reference-picker' import Split from '../_base/components/split' import ResultPanel from '../../run/result-panel' @@ -11,7 +13,6 @@ import useConfig from './use-config' import { InputVarType, type NodePanelProps } from '@/app/components/workflow/types' import Field from '@/app/components/workflow/nodes/_base/components/field' import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form' -import { ArrowNarrowRight } from '@/app/components/base/icons/src/vender/line/arrows' const i18nPrefix = 'workflow.nodes.iteration' @@ -116,7 +117,7 @@ const Panel: FC> = ({
{t(`${i18nPrefix}.iteration`, { count: iterationRunResult.length })}
- +
diff --git a/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx b/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx index 8335fb31713..f018ee8d5ca 100644 --- a/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx +++ b/web/app/components/workflow/nodes/knowledge-retrieval/components/dataset-item.tsx @@ -2,9 +2,12 @@ import type { FC } from 'react' import React, { useCallback } from 'react' import { useBoolean } from 'ahooks' +import { + RiDeleteBinLine, +} from '@remixicon/react' import type { DataSet } from '@/models/datasets' import { DataSourceType } from '@/models/datasets' -import { Settings01, Trash03 } from '@/app/components/base/icons/src/vender/line/general' +import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' import FileIcon from '@/app/components/base/file-icon' import { Folder } from '@/app/components/base/icons/src/vender/solid/files' import SettingsModal from '@/app/components/app/configuration/dataset-config/settings-modal' @@ -65,7 +68,7 @@ const DatasetItem: FC = ({ className='flex items-center justify-center w-6 h-6 hover:bg-black/5 rounded-md cursor-pointer' onClick={onRemove} > - + )} diff --git a/web/app/components/workflow/nodes/knowledge-retrieval/components/retrieval-config.tsx b/web/app/components/workflow/nodes/knowledge-retrieval/components/retrieval-config.tsx index 4c87de6d30b..fa9446fce75 100644 --- a/web/app/components/workflow/nodes/knowledge-retrieval/components/retrieval-config.tsx +++ b/web/app/components/workflow/nodes/knowledge-retrieval/components/retrieval-config.tsx @@ -3,6 +3,7 @@ import type { FC } from 'react' import React, { useCallback, useState } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiArrowDownSLine } from '@remixicon/react' import type { MultipleRetrievalConfig, SingleRetrievalConfig } from '../types' import type { ModelConfig } from '../../../types' import { @@ -19,7 +20,6 @@ import { ModelTypeEnum } from '@/app/components/header/account-setting/model-pro import type { DatasetConfigs, } from '@/models/debug' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' type Props = { payload: { @@ -94,7 +94,7 @@ const RetrievalConfig: FC = ({ >
{payload.retrieval_mode === RETRIEVE_TYPE.oneWay ? t('appDebug.datasetConfig.retrieveOneWay.title') : t('appDebug.datasetConfig.retrieveMultiWay.title')}
- {!readonly && } + {!readonly && }
diff --git a/web/app/components/workflow/nodes/llm/components/config-prompt-item.tsx b/web/app/components/workflow/nodes/llm/components/config-prompt-item.tsx index 6a6ef1e958a..4d27094b5b0 100644 --- a/web/app/components/workflow/nodes/llm/components/config-prompt-item.tsx +++ b/web/app/components/workflow/nodes/llm/components/config-prompt-item.tsx @@ -3,12 +3,12 @@ import type { FC } from 'react' import React, { useEffect, useState } from 'react' import { uniqueId } from 'lodash-es' import { useTranslation } from 'react-i18next' +import { RiQuestionLine } from '@remixicon/react' import type { PromptItem, Variable } from '../../../types' import { EditionType } from '../../../types' import Editor from '@/app/components/workflow/nodes/_base/components/prompt/editor' import TypeSelector from '@/app/components/workflow/nodes/_base/components/selector' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import { PromptRole } from '@/models/debug' const i18nPrefix = 'workflow.nodes.llm' @@ -111,7 +111,7 @@ const ConfigPromptItem: FC = ({
{t(`${i18nPrefix}.roleDescription.${payload.role}`)}
} > - + } diff --git a/web/app/components/workflow/nodes/llm/panel.tsx b/web/app/components/workflow/nodes/llm/panel.tsx index eaf69ecfc8b..791dc6133d8 100644 --- a/web/app/components/workflow/nodes/llm/panel.tsx +++ b/web/app/components/workflow/nodes/llm/panel.tsx @@ -1,6 +1,7 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { RiQuestionLine } from '@remixicon/react' import MemoryConfig from '../_base/components/memory-config' import VarReferencePicker from '../_base/components/variable/var-reference-picker' import useConfig from './use-config' @@ -19,7 +20,6 @@ import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/befo import type { Props as FormProps } from '@/app/components/workflow/nodes/_base/components/before-run-form/form' import ResultPanel from '@/app/components/workflow/run/result-panel' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import Editor from '@/app/components/workflow/nodes/_base/components/prompt/editor' import Switch from '@/app/components/base/switch' const i18nPrefix = 'workflow.nodes.llm' @@ -208,7 +208,7 @@ const Panel: FC> = ({ - +
{t('workflow.nodes.common.memories.builtIn')}
@@ -223,7 +223,7 @@ const Panel: FC> = ({
{t('workflow.nodes.llm.roleDescription.user')}
} > - + } value={inputs.memory.query_prompt_template || '{{#sys.query#}}'} diff --git a/web/app/components/workflow/nodes/parameter-extractor/components/extract-parameter/item.tsx b/web/app/components/workflow/nodes/parameter-extractor/components/extract-parameter/item.tsx index abbff414965..ae249424dc4 100644 --- a/web/app/components/workflow/nodes/parameter-extractor/components/extract-parameter/item.tsx +++ b/web/app/components/workflow/nodes/parameter-extractor/components/extract-parameter/item.tsx @@ -2,9 +2,12 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiDeleteBinLine, + RiEditLine, +} from '@remixicon/react' import type { Param } from '../../types' import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development' -import { Edit03, Trash03 } from '@/app/components/base/icons/src/vender/line/general' const i18nPrefix = 'workflow.nodes.parameterExtractor' type Props = { @@ -43,14 +46,14 @@ const Item: FC = ({ className='p-1 cursor-pointer rounded-md hover:bg-black/5' onClick={onEdit} > - +
- +
diff --git a/web/app/components/workflow/nodes/parameter-extractor/panel.tsx b/web/app/components/workflow/nodes/parameter-extractor/panel.tsx index 5b92dc1b04a..7c5686fadc7 100644 --- a/web/app/components/workflow/nodes/parameter-extractor/panel.tsx +++ b/web/app/components/workflow/nodes/parameter-extractor/panel.tsx @@ -1,6 +1,9 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import MemoryConfig from '../_base/components/memory-config' import VarReferencePicker from '../_base/components/variable/var-reference-picker' import Editor from '../_base/components/prompt/editor' @@ -17,7 +20,6 @@ import ModelParameterModal from '@/app/components/header/account-setting/model-p import OutputVars, { VarItem } from '@/app/components/workflow/nodes/_base/components/output-vars' import { InputVarType, type NodePanelProps } from '@/app/components/workflow/types' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form' import { VarType } from '@/app/components/workflow/types' @@ -128,7 +130,7 @@ const Panel: FC> = ({
{t(`${i18nPrefix}.instructionTip`)}
}> - + } diff --git a/web/app/components/workflow/nodes/question-classifier/components/advanced-setting.tsx b/web/app/components/workflow/nodes/question-classifier/components/advanced-setting.tsx index 2742c1df56d..c89e0f26686 100644 --- a/web/app/components/workflow/nodes/question-classifier/components/advanced-setting.tsx +++ b/web/app/components/workflow/nodes/question-classifier/components/advanced-setting.tsx @@ -2,11 +2,13 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import MemoryConfig from '../../_base/components/memory-config' import Editor from '@/app/components/workflow/nodes/_base/components/prompt/editor' import type { Memory, Node, NodeOutPutVar } from '@/app/components/workflow/types' import TooltipPlus from '@/app/components/base/tooltip-plus' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' const i18nPrefix = 'workflow.nodes.questionClassifiers' type Props = { @@ -52,7 +54,7 @@ const AdvancedSetting: FC = ({
{t(`${i18nPrefix}.instructionTip`)}
}> - + } diff --git a/web/app/components/workflow/nodes/question-classifier/components/class-item.tsx b/web/app/components/workflow/nodes/question-classifier/components/class-item.tsx index 2e5eb999ffb..11131645c67 100644 --- a/web/app/components/workflow/nodes/question-classifier/components/class-item.tsx +++ b/web/app/components/workflow/nodes/question-classifier/components/class-item.tsx @@ -2,9 +2,11 @@ import type { FC } from 'react' import React, { useCallback } from 'react' import { useTranslation } from 'react-i18next' +import { + RiDeleteBinLine, +} from '@remixicon/react' import type { Topic } from '../types' import TextEditor from '../../_base/components/editor/text-editor' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' const i18nPrefix = 'workflow.nodes.questionClassifiers' @@ -49,7 +51,7 @@ const ClassItem: FC = ({
{payload.name.length}
{!readonly && ( - diff --git a/web/app/components/workflow/nodes/start/components/var-item.tsx b/web/app/components/workflow/nodes/start/components/var-item.tsx index 0d33f8ce0f6..efbf0c44fd2 100644 --- a/web/app/components/workflow/nodes/start/components/var-item.tsx +++ b/web/app/components/workflow/nodes/start/components/var-item.tsx @@ -3,11 +3,13 @@ import type { FC } from 'react' import React, { useCallback, useRef } from 'react' import { useBoolean, useHover } from 'ahooks' import { useTranslation } from 'react-i18next' +import { + RiDeleteBinLine, +} from '@remixicon/react' import InputVarTypeIcon from '../../_base/components/input-var-type-icon' import type { InputVar, MoreInfo } from '@/app/components/workflow/types' import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development' import { Edit03 } from '@/app/components/base/icons/src/vender/solid/general' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import ConfigVarModal from '@/app/components/app/configuration/config-var/config-modal' type Props = { @@ -66,7 +68,7 @@ const VarItem: FC = ({
- +
))} diff --git a/web/app/components/workflow/nodes/template-transform/panel.tsx b/web/app/components/workflow/nodes/template-transform/panel.tsx index e3e54419ec5..c02b895840b 100644 --- a/web/app/components/workflow/nodes/template-transform/panel.tsx +++ b/web/app/components/workflow/nodes/template-transform/panel.tsx @@ -1,6 +1,9 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' +import { + RiQuestionLine, +} from '@remixicon/react' import { CodeLanguage } from '../code/types' import useConfig from './use-config' import type { TemplateTransformNodeType } from './types' @@ -10,7 +13,6 @@ import Field from '@/app/components/workflow/nodes/_base/components/field' import Split from '@/app/components/workflow/nodes/_base/components/split' import CodeEditor from '@/app/components/workflow/nodes/_base/components/editor/code-editor/editor-support-vars' import OutputVars, { VarItem } from '@/app/components/workflow/nodes/_base/components/output-vars' -import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import type { NodePanelProps } from '@/app/components/workflow/types' import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form' import ResultPanel from '@/app/components/workflow/run/result-panel' @@ -82,7 +84,7 @@ const Panel: FC> = ({ href="https://jinja.palletsprojects.com/en/3.1.x/templates/" target='_blank'> {t(`${i18nPrefix}.codeSupportTip`)} - +
diff --git a/web/app/components/workflow/nodes/variable-assigner/components/var-group-item.tsx b/web/app/components/workflow/nodes/variable-assigner/components/var-group-item.tsx index 0381706a649..e90728603ea 100644 --- a/web/app/components/workflow/nodes/variable-assigner/components/var-group-item.tsx +++ b/web/app/components/workflow/nodes/variable-assigner/components/var-group-item.tsx @@ -4,6 +4,9 @@ import type { ChangeEvent, FC } from 'react' import { useTranslation } from 'react-i18next' import produce from 'immer' import { useBoolean } from 'ahooks' +import { + RiDeleteBinLine, +} from '@remixicon/react' import type { VarGroupItem as VarGroupItemType } from '../types' import VarReferencePicker from '../../_base/components/variable/var-reference-picker' import VarList from '../components/var-list' @@ -11,7 +14,6 @@ import Field from '@/app/components/workflow/nodes/_base/components/field' import { VarType } from '@/app/components/workflow/types' import type { NodeOutPutVar, ValueSelector, Var } from '@/app/components/workflow/types' import { VarType as VarKindType } from '@/app/components/workflow/nodes/tool/types' -import { Trash03 } from '@/app/components/base/icons/src/vender/line/general' import { Folder } from '@/app/components/base/icons/src/vender/line/files' import { checkKeys } from '@/utils/var' import Toast from '@/app/components/base/toast' @@ -133,7 +135,7 @@ const VarGroupItem: FC = ({ className='group-hover:block hidden ml-0.5 p-1 rounded-md text-gray-500 cursor-pointer hover:bg-[#FEE4E2] hover:text-[#D92D20]' onClick={onRemove} > - diff --git a/web/app/components/workflow/note-node/note-editor/plugins/link-editor-plugin/component.tsx b/web/app/components/workflow/note-node/note-editor/plugins/link-editor-plugin/component.tsx index 8065b8abf8f..1e5bca4ed8f 100644 --- a/web/app/components/workflow/note-node/note-editor/plugins/link-editor-plugin/component.tsx +++ b/web/app/components/workflow/note-node/note-editor/plugins/link-editor-plugin/component.tsx @@ -14,14 +14,14 @@ import { import { useTranslation } from 'react-i18next' import { useClickAway } from 'ahooks' import cn from 'classnames' +import { + RiEditLine, + RiExternalLinkLine, + RiLinkUnlinkM, +} from '@remixicon/react' import { useStore } from '../../store' import { useLink } from './hooks' import Button from '@/app/components/base/button' -import { - Edit03, - LinkBroken01, - LinkExternal01, -} from '@/app/components/base/icons/src/vender/line/general' type LinkEditorComponentProps = { containerElement: HTMLDivElement | null @@ -109,7 +109,7 @@ const LinkEditorComponent = ({ target='_blank' rel='noreferrer' > - +
{t('workflow.nodes.note.editor.openLink')}
@@ -128,14 +128,14 @@ const LinkEditorComponent = ({ setLinkOperatorShow(false) }} > - + {t('common.operation.edit')}
- + {t('workflow.nodes.note.editor.unlink')}
diff --git a/web/app/components/workflow/note-node/note-editor/toolbar/command.tsx b/web/app/components/workflow/note-node/note-editor/toolbar/command.tsx index 96ad5e8d92b..e0afdf6d6c3 100644 --- a/web/app/components/workflow/note-node/note-editor/toolbar/command.tsx +++ b/web/app/components/workflow/note-node/note-editor/toolbar/command.tsx @@ -4,15 +4,15 @@ import { } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiBold, + RiItalic, + RiLink, + RiListUnordered, + RiStrikethrough, +} from '@remixicon/react' import { useStore } from '../store' import { useCommand } from './hooks' -import { Link01 } from '@/app/components/base/icons/src/vender/line/general' -import { - Bold01, - Dotpoints01, - Italic01, - Strikethrough01, -} from '@/app/components/base/icons/src/vender/line/editor' import TooltipPlus from '@/app/components/base/tooltip-plus' type CommandProps = { @@ -32,15 +32,15 @@ const Command = ({ const icon = useMemo(() => { switch (type) { case 'bold': - return + return case 'italic': - return + return case 'strikethrough': - return + return case 'link': - return + return case 'bullet': - return + return } }, [type, selectedIsBold, selectedIsItalic, selectedIsStrikeThrough, selectedIsLink, selectedIsBullet]) diff --git a/web/app/components/workflow/note-node/note-editor/toolbar/font-size-selector.tsx b/web/app/components/workflow/note-node/note-editor/toolbar/font-size-selector.tsx index c6284a9a74b..0657b91f5ae 100644 --- a/web/app/components/workflow/note-node/note-editor/toolbar/font-size-selector.tsx +++ b/web/app/components/workflow/note-node/note-editor/toolbar/font-size-selector.tsx @@ -1,5 +1,6 @@ import { memo } from 'react' import cn from 'classnames' +import { RiFontSize } from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useFontSize } from './hooks' import { @@ -7,8 +8,6 @@ import { PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { TitleCase } from '@/app/components/base/icons/src/vender/line/editor' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' import { Check } from '@/app/components/base/icons/src/vender/line/general' const FontSizeSelector = () => { @@ -46,9 +45,8 @@ const FontSizeSelector = () => { 'flex items-center pl-2 pr-1.5 h-8 rounded-md text-[13px] font-medium text-gray-700 cursor-pointer hover:bg-gray-50', fontSizeSelectorShow && 'bg-gray-50', )}> - + {FONT_SIZE_LIST.find(font => font.key === fontSize)?.value || t('workflow.nodes.note.editor.small')} - diff --git a/web/app/components/workflow/note-node/note-editor/toolbar/operator.tsx b/web/app/components/workflow/note-node/note-editor/toolbar/operator.tsx index 7cd27a00a19..5bc5d02c023 100644 --- a/web/app/components/workflow/note-node/note-editor/toolbar/operator.tsx +++ b/web/app/components/workflow/note-node/note-editor/toolbar/operator.tsx @@ -4,13 +4,13 @@ import { } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiMoreFill } from '@remixicon/react' import ShortcutsName from '@/app/components/workflow/shortcuts-name' import { PortalToFollowElem, PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { DotsHorizontal } from '@/app/components/base/icons/src/vender/line/general' import Switch from '@/app/components/base/switch' export type OperatorProps = { @@ -44,7 +44,7 @@ const Operator = ({ open && 'bg-black/5', )} > - + diff --git a/web/app/components/workflow/operator/add-block.tsx b/web/app/components/workflow/operator/add-block.tsx index 019f33bdaed..dd88517f6db 100644 --- a/web/app/components/workflow/operator/add-block.tsx +++ b/web/app/components/workflow/operator/add-block.tsx @@ -4,6 +4,7 @@ import { useState, } from 'react' import cn from 'classnames' +import { RiAddCircleFill } from '@remixicon/react' import { useStoreApi } from 'reactflow' import { useTranslation } from 'react-i18next' import type { OffsetOptions } from '@floating-ui/react' @@ -19,7 +20,6 @@ import { NODES_INITIAL_DATA } from '../constants' import { useWorkflowStore } from '../store' import TipPopup from './tip-popup' import BlockSelector from '@/app/components/workflow/block-selector' -import { Plus } from '@/app/components/base/icons/src/vender/line/general' import type { OnSelectBlock, } from '@/app/components/workflow/types' @@ -82,7 +82,7 @@ const AddBlock = ({ `${nodesReadOnly && '!cursor-not-allowed opacity-50'}`, open && '!bg-black/5', )}> - + ) diff --git a/web/app/components/workflow/operator/control.tsx b/web/app/components/workflow/operator/control.tsx index 02d9b7cc6b7..c88d1ee0d95 100644 --- a/web/app/components/workflow/operator/control.tsx +++ b/web/app/components/workflow/operator/control.tsx @@ -5,6 +5,12 @@ import { } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { + RiCursorLine, + RiFunctionAddLine, + RiHand, + RiStickyNoteAddLine, +} from '@remixicon/react' import { useKeyPress } from 'ahooks' import { useNodesReadOnly, @@ -16,16 +22,6 @@ import { useStore } from '../store' import AddBlock from './add-block' import TipPopup from './tip-popup' import { useOperator } from './hooks' -import { - Cursor02C, - Hand02, -} from '@/app/components/base/icons/src/vender/line/editor' -import { - Cursor02C as Cursor02CSolid, - Hand02 as Hand02Solid, -} from '@/app/components/base/icons/src/vender/solid/editor' -import { OrganizeGrid } from '@/app/components/base/icons/src/vender/line/layout' -import { StickerSquare } from '@/app/components/base/icons/src/vender/line/files' const Control = () => { const { t } = useTranslation() @@ -101,7 +97,7 @@ const Control = () => { )} onClick={addNote} > - +
@@ -114,9 +110,7 @@ const Control = () => { )} onClick={handleModePointer} > - { - controlMode === 'pointer' ? : - } + @@ -128,9 +122,7 @@ const Control = () => { )} onClick={handleModeHand} > - { - controlMode === 'hand' ? : - } +
@@ -142,7 +134,7 @@ const Control = () => { )} onClick={goLayout} > - + diff --git a/web/app/components/workflow/operator/zoom-in-out.tsx b/web/app/components/workflow/operator/zoom-in-out.tsx index 7de83904fd1..cdbbe16c3fc 100644 --- a/web/app/components/workflow/operator/zoom-in-out.tsx +++ b/web/app/components/workflow/operator/zoom-in-out.tsx @@ -6,6 +6,10 @@ import { useState, } from 'react' import cn from 'classnames' +import { + RiZoomInLine, + RiZoomOutLine, +} from '@remixicon/react' import { useKeyPress } from 'ahooks' import { useTranslation } from 'react-i18next' import { @@ -28,10 +32,6 @@ import { PortalToFollowElemContent, PortalToFollowElemTrigger, } from '@/app/components/base/portal-to-follow-elem' -import { - ZoomIn, - ZoomOut, -} from '@/app/components/base/icons/src/vender/line/editor' enum ZoomType { zoomIn = 'zoomIn', @@ -234,7 +234,7 @@ const ZoomInOut: FC = () => { zoomOut() }} > - +
{parseFloat(`${zoom * 100}`).toFixed(0)}%
@@ -249,7 +249,7 @@ const ZoomInOut: FC = () => { zoomIn() }} > - + diff --git a/web/app/components/workflow/panel/chat-record/index.tsx b/web/app/components/workflow/panel/chat-record/index.tsx index 1ee490a2dab..a0e74441b7a 100644 --- a/web/app/components/workflow/panel/chat-record/index.tsx +++ b/web/app/components/workflow/panel/chat-record/index.tsx @@ -5,6 +5,7 @@ import { useMemo, useState, } from 'react' +import { RiCloseLine } from '@remixicon/react' import { useStore, useWorkflowStore, @@ -16,7 +17,6 @@ import type { ChatItem } from '@/app/components/base/chat/types' import { fetchConvesationMessages } from '@/service/debug' import { useStore as useAppStore } from '@/app/components/app/store' import Loading from '@/app/components/base/loading' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' const ChatRecord = () => { const [fetched, setFetched] = useState(false) @@ -93,7 +93,7 @@ const ChatRecord = () => { workflowStore.setState({ historyWorkflowData: undefined }) }} > - +
diff --git a/web/app/components/workflow/panel/chat-record/user-input.tsx b/web/app/components/workflow/panel/chat-record/user-input.tsx index 2fbff732643..077f2acb673 100644 --- a/web/app/components/workflow/panel/chat-record/user-input.tsx +++ b/web/app/components/workflow/panel/chat-record/user-input.tsx @@ -3,7 +3,7 @@ import { useState, } from 'react' import { useTranslation } from 'react-i18next' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' +import { RiArrowDownSLine } from '@remixicon/react' const UserInput = () => { const { t } = useTranslation() @@ -27,7 +27,7 @@ const UserInput = () => { `} onClick={() => setExpanded(!expanded)} > - {t('workflow.panel.userInputField').toLocaleUpperCase()} diff --git a/web/app/components/workflow/panel/debug-and-preview/index.tsx b/web/app/components/workflow/panel/debug-and-preview/index.tsx index 0a4ddf494af..f1994bd8fa3 100644 --- a/web/app/components/workflow/panel/debug-and-preview/index.tsx +++ b/web/app/components/workflow/panel/debug-and-preview/index.tsx @@ -4,6 +4,7 @@ import { } from 'react' import { useKeyPress } from 'ahooks' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import { useTranslation } from 'react-i18next' import { useEdgesInteractions, @@ -13,7 +14,6 @@ import { import ChatWrapper from './chat-wrapper' import Button from '@/app/components/base/button' import { RefreshCcw01 } from '@/app/components/base/icons/src/vender/line/arrows' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' export type ChatWrapperRefType = { handleRestart: () => void @@ -68,7 +68,7 @@ const DebugAndPreview = () => { className='flex items-center justify-center w-6 h-6 cursor-pointer' onClick={handleCancelDebugAndPreviewPanel} > - +
diff --git a/web/app/components/workflow/panel/debug-and-preview/user-input.tsx b/web/app/components/workflow/panel/debug-and-preview/user-input.tsx index 819208054bb..300ea68a4b5 100644 --- a/web/app/components/workflow/panel/debug-and-preview/user-input.tsx +++ b/web/app/components/workflow/panel/debug-and-preview/user-input.tsx @@ -4,6 +4,7 @@ import { } from 'react' import { useTranslation } from 'react-i18next' import { useNodes } from 'reactflow' +import { RiArrowDownSLine } from '@remixicon/react' import FormItem from '../../nodes/_base/components/before-run-form/form-item' import { BlockEnum } from '../../types' import { @@ -11,7 +12,6 @@ import { useWorkflowStore, } from '../../store' import type { StartNodeType } from '../../nodes/start/types' -import { ChevronDown } from '@/app/components/base/icons/src/vender/line/arrows' const UserInput = () => { const { t } = useTranslation() @@ -46,7 +46,7 @@ const UserInput = () => { `} onClick={() => setExpanded(!expanded)} > - {t('workflow.panel.userInputField').toLocaleUpperCase()} diff --git a/web/app/components/workflow/panel/workflow-preview.tsx b/web/app/components/workflow/panel/workflow-preview.tsx index 73bc895b734..fa021b8a0a7 100644 --- a/web/app/components/workflow/panel/workflow-preview.tsx +++ b/web/app/components/workflow/panel/workflow-preview.tsx @@ -6,6 +6,10 @@ import { useState, } from 'react' import cn from 'classnames' +import { + RiClipboardLine, + RiCloseLine, +} from '@remixicon/react' import { useTranslation } from 'react-i18next' import copy from 'copy-to-clipboard' import { useBoolean } from 'ahooks' @@ -24,8 +28,6 @@ import Toast from '../../base/toast' import IterationResultPanel from '../run/iteration-result-panel' import InputsPanel from './inputs-panel' import Loading from '@/app/components/base/loading' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' -import { Clipboard } from '@/app/components/base/icons/src/vender/line/files' import type { NodeTracing } from '@/types/workflow' const WorkflowPreview = ({ @@ -86,7 +88,7 @@ const WorkflowPreview = ({
{`Test Run${!workflowRunningData?.result.sequence_number ? '' : `#${workflowRunningData?.result.sequence_number}`}`}
handleCancelDebugAndPreviewPanel()}> - +
@@ -173,7 +175,7 @@ const WorkflowPreview = ({ copy(JSON.stringify(content)) Toast.notify({ type: 'success', message: t('common.actionMsg.copySuccessfully') }) }}> - +
{t('common.operation.copy')}
)} diff --git a/web/app/components/workflow/run/iteration-result-panel.tsx b/web/app/components/workflow/run/iteration-result-panel.tsx index 3a2487ef7c9..bc156c78081 100644 --- a/web/app/components/workflow/run/iteration-result-panel.tsx +++ b/web/app/components/workflow/run/iteration-result-panel.tsx @@ -3,10 +3,10 @@ import type { FC } from 'react' import React, { useCallback } from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' +import { RiCloseLine } from '@remixicon/react' import { ArrowNarrowLeft } from '../../base/icons/src/vender/line/arrows' import NodePanel from './node' import type { NodeTracing } from '@/types/workflow' -import { XClose } from '@/app/components/base/icons/src/vender/line/general' const i18nPrefix = 'workflow.singleRun' type Props = { @@ -32,7 +32,7 @@ const IterationResultPanel: FC = ({ {t(`${i18nPrefix}.testRunIteration`)}
- +
diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index b9b836d0c7e..51531fdf3f2 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -3,14 +3,18 @@ import { useTranslation } from 'react-i18next' import type { FC } from 'react' import { useCallback, useEffect, useState } from 'react' import cn from 'classnames' +import { + RiArrowRightSLine, + RiCheckboxCircleLine, + RiErrorWarningLine, + RiLoader2Line, +} from '@remixicon/react' import BlockIcon from '../block-icon' import { BlockEnum } from '../types' import Split from '../nodes/_base/components/split' import CodeEditor from '@/app/components/workflow/nodes/_base/components/editor/code-editor' import { CodeLanguage } from '@/app/components/workflow/nodes/code/types' -import { AlertCircle, AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' -import { CheckCircle, Loading02 } from '@/app/components/base/icons/src/vender/line/general' -import { ArrowNarrowRight, ChevronRight } from '@/app/components/base/icons/src/vender/line/arrows' +import { AlertTriangle } from '@/app/components/base/icons/src/vender/line/alertsAndFeedback' import type { NodeTracing } from '@/types/workflow' type Props = { @@ -79,7 +83,7 @@ const NodePanel: FC = ({ onClick={() => setCollapseState(!collapseState)} > {!hideProcessDetail && ( - = ({
{`${getTime(nodeInfo.elapsed_time || 0)} ยท ${getTokenCount(nodeInfo.execution_metadata?.total_tokens || 0)} tokens`}
)} {nodeInfo.status === 'succeeded' && ( - + )} {nodeInfo.status === 'failed' && ( - + )} {nodeInfo.status === 'stopped' && ( @@ -107,7 +111,7 @@ const NodePanel: FC = ({ {nodeInfo.status === 'running' && (
Running - +
)}
@@ -122,12 +126,12 @@ const NodePanel: FC = ({
{t('workflow.nodes.iteration.iteration', { count: nodeInfo.metadata?.iterator_length || (nodeInfo.execution_metadata?.steps_boundary?.length - 1) })}
{justShowIterationNavArrow ? ( - + ) : (
{t('workflow.common.viewDetailInTracingPanel')}
- +
)} diff --git a/web/package.json b/web/package.json index bd0ae52c5b4..f796ef1a677 100644 --- a/web/package.json +++ b/web/package.json @@ -28,6 +28,7 @@ "@mdx-js/react": "^2.3.0", "@monaco-editor/react": "^4.6.0", "@next/mdx": "^14.0.4", + "@remixicon/react": "^4.2.0", "@sentry/react": "^7.54.0", "@sentry/utils": "^7.54.0", "@tailwindcss/line-clamp": "^0.4.4", diff --git a/web/yarn.lock b/web/yarn.lock index 63f7216622f..997f961e3da 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -836,6 +836,11 @@ classcat "^5.0.3" zustand "^4.4.1" +"@remixicon/react@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@remixicon/react/-/react-4.2.0.tgz#9093ea394e288ee9a88d0613bd38739c728f02ac" + integrity sha512-eGhKpZ88OU0qkcY9pJu6khBmItDV82nU130E6C68yc+FbljueHlUYy/4CrJsmf860RIDMay2Rpzl27OSJ81miw== + "@rgrove/parse-xml@^4.1.0": version "4.1.0" resolved "https://registry.npmjs.org/@rgrove/parse-xml/-/parse-xml-4.1.0.tgz"