refactor: update imports for knowledge and pipeline components
|
|
@ -31,8 +31,8 @@ import { useStore } from '@/app/components/app/store'
|
|||
import { useAppContext } from '@/context/app-context'
|
||||
import Tooltip from '@/app/components/base/tooltip'
|
||||
import LinkedAppsPanel from '@/app/components/base/linked-apps-panel'
|
||||
import { PipelineFill, PipelineLine } from '@/app/components/base/icons/src/public/pipeline'
|
||||
import { Divider } from '@/app/components/base/icons/src/public/knowledge'
|
||||
import { PipelineFill, PipelineLine } from '@/app/components/base/icons/src/vender/pipeline'
|
||||
import { Divider } from '@/app/components/base/icons/src/vender/knowledge'
|
||||
import { useGetDocLanguage } from '@/context/i18n'
|
||||
|
||||
export type IAppDetailLayoutProps = {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
|
@ -1,5 +0,0 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Icon L">
|
||||
<path id="Vector" d="M14.0002 2C14.3684 2 14.6668 2.29848 14.6668 2.66667V13.3333C14.6668 13.7015 14.3684 14 14.0002 14H2.00016C1.63198 14 1.3335 13.7015 1.3335 13.3333V2.66667C1.3335 2.29848 1.63198 2 2.00016 2H14.0002ZM13.3335 3.33333H2.66683V12.6667H13.3335V3.33333ZM14.0002 2.66667V13.3333H10.0002V2.66667H14.0002Z" fill="#354052"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 461 B |
|
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
|
Before Width: | Height: | Size: 579 B After Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
|
@ -0,0 +1,13 @@
|
|||
export { default as Chunk } from './Chunk'
|
||||
export { default as Collapse } from './Collapse'
|
||||
export { default as Divider } from './Divider'
|
||||
export { default as File } from './File'
|
||||
export { default as GeneralType } from './GeneralType'
|
||||
export { default as LayoutRight2LineMod } from './LayoutRight2LineMod'
|
||||
export { default as OptionCardEffectBlueLight } from './OptionCardEffectBlueLight'
|
||||
export { default as OptionCardEffectBlue } from './OptionCardEffectBlue'
|
||||
export { default as OptionCardEffectOrange } from './OptionCardEffectOrange'
|
||||
export { default as OptionCardEffectPurple } from './OptionCardEffectPurple'
|
||||
export { default as ParentChildType } from './ParentChildType'
|
||||
export { default as SelectionMod } from './SelectionMod'
|
||||
export { default as Watercrawl } from './Watercrawl'
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
|
@ -89,4 +89,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Robot"
|
||||
}
|
||||
}
|
||||
|
|
@ -86,4 +86,4 @@
|
|||
]
|
||||
},
|
||||
"name": "User"
|
||||
}
|
||||
}
|
||||
|
|
@ -26,4 +26,4 @@
|
|||
]
|
||||
},
|
||||
"name": "ArCube1"
|
||||
}
|
||||
}
|
||||
|
|
@ -35,4 +35,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Asterisk"
|
||||
}
|
||||
}
|
||||
|
|
@ -176,4 +176,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AwsMarketplace"
|
||||
}
|
||||
}
|
||||
|
|
@ -190,4 +190,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Azure"
|
||||
}
|
||||
}
|
||||
|
|
@ -36,4 +36,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Buildings"
|
||||
}
|
||||
}
|
||||
|
|
@ -36,4 +36,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Diamond"
|
||||
}
|
||||
}
|
||||
|
|
@ -63,4 +63,4 @@
|
|||
]
|
||||
},
|
||||
"name": "GoogleCloud"
|
||||
}
|
||||
}
|
||||
|
|
@ -26,4 +26,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Group2"
|
||||
}
|
||||
}
|
||||
|
|
@ -25,4 +25,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Keyframe"
|
||||
}
|
||||
}
|
||||
|
|
@ -92,4 +92,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Sparkles"
|
||||
}
|
||||
}
|
||||
|
|
@ -33,4 +33,4 @@
|
|||
]
|
||||
},
|
||||
"name": "SparklesSoft"
|
||||
}
|
||||
}
|
||||
|
|
@ -122,4 +122,4 @@
|
|||
]
|
||||
},
|
||||
"name": "D"
|
||||
}
|
||||
}
|
||||
|
|
@ -25,4 +25,4 @@
|
|||
]
|
||||
},
|
||||
"name": "DiagonalDividingLine"
|
||||
}
|
||||
}
|
||||
|
|
@ -59,4 +59,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Dify"
|
||||
}
|
||||
}
|
||||
|
|
@ -337,4 +337,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Gdpr"
|
||||
}
|
||||
}
|
||||
|
|
@ -33,4 +33,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Github"
|
||||
}
|
||||
}
|
||||
|
|
@ -64,4 +64,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Highlight"
|
||||
}
|
||||
}
|
||||
|
|
@ -118,4 +118,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Iso"
|
||||
}
|
||||
}
|
||||
|
|
@ -25,4 +25,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Line3"
|
||||
}
|
||||
}
|
||||
|
|
@ -35,4 +35,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Lock"
|
||||
}
|
||||
}
|
||||
|
|
@ -34,4 +34,4 @@
|
|||
]
|
||||
},
|
||||
"name": "MessageChatSquare"
|
||||
}
|
||||
}
|
||||
|
|
@ -150,4 +150,4 @@
|
|||
]
|
||||
},
|
||||
"name": "MultiPathRetrieval"
|
||||
}
|
||||
}
|
||||
|
|
@ -143,4 +143,4 @@
|
|||
]
|
||||
},
|
||||
"name": "NTo1Retrieval"
|
||||
}
|
||||
}
|
||||
|
|
@ -80,4 +80,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Notion"
|
||||
}
|
||||
}
|
||||
|
|
@ -935,4 +935,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Soc2"
|
||||
}
|
||||
}
|
||||
|
|
@ -44,4 +44,4 @@
|
|||
]
|
||||
},
|
||||
"name": "SparklesSoft"
|
||||
}
|
||||
}
|
||||
|
|
@ -24,4 +24,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Triangle"
|
||||
}
|
||||
}
|
||||
|
|
@ -178,4 +178,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Csv"
|
||||
}
|
||||
}
|
||||
|
|
@ -166,4 +166,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Doc"
|
||||
}
|
||||
}
|
||||
|
|
@ -175,4 +175,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Docx"
|
||||
}
|
||||
}
|
||||
|
|
@ -175,4 +175,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Html"
|
||||
}
|
||||
}
|
||||
|
|
@ -175,4 +175,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Json"
|
||||
}
|
||||
}
|
||||
|
|
@ -141,4 +141,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Md"
|
||||
}
|
||||
}
|
||||
|
|
@ -166,4 +166,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Pdf"
|
||||
}
|
||||
}
|
||||
|
|
@ -177,4 +177,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Txt"
|
||||
}
|
||||
}
|
||||
|
|
@ -196,4 +196,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Unknown"
|
||||
}
|
||||
}
|
||||
|
|
@ -142,4 +142,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Xlsx"
|
||||
}
|
||||
}
|
||||
|
|
@ -178,4 +178,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Yaml"
|
||||
}
|
||||
}
|
||||
|
|
@ -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 L"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"type": "element",
|
||||
"name": "path",
|
||||
"attributes": {
|
||||
"id": "Vector",
|
||||
"d": "M14.0002 2C14.3684 2 14.6668 2.29848 14.6668 2.66667V13.3333C14.6668 13.7015 14.3684 14 14.0002 14H2.00016C1.63198 14 1.3335 13.7015 1.3335 13.3333V2.66667C1.3335 2.29848 1.63198 2 2.00016 2H14.0002ZM13.3335 3.33333H2.66683V12.6667H13.3335V3.33333ZM14.0002 2.66667V13.3333H10.0002V2.66667H14.0002Z",
|
||||
"fill": "#354052"
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "LayoutRight2LineMod"
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
// GENERATE BY script
|
||||
// DON NOT EDIT IT MANUALLY
|
||||
|
||||
import * as React from 'react'
|
||||
import data from './LayoutRight2LineMod.json'
|
||||
import IconBase from '@/app/components/base/icons/IconBase'
|
||||
import type { IconData } from '@/app/components/base/icons/IconBase'
|
||||
|
||||
const Icon = (
|
||||
{
|
||||
ref,
|
||||
...props
|
||||
}: React.SVGProps<SVGSVGElement> & {
|
||||
ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
|
||||
},
|
||||
) => <IconBase {...props} ref={ref} data={data as IconData} />
|
||||
|
||||
Icon.displayName = 'LayoutRight2LineMod'
|
||||
|
||||
export default Icon
|
||||
|
|
@ -113,4 +113,4 @@
|
|||
]
|
||||
},
|
||||
"name": "SelectionMod"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
export { default as ExternalKnowledgeBase } from './ExternalKnowledgeBase'
|
||||
export { default as General } from './General'
|
||||
export { default as Graph } from './Graph'
|
||||
export { default as ParentChild } from './ParentChild'
|
||||
export { default as Qa } from './Qa'
|
||||
|
|
@ -1,18 +1,7 @@
|
|||
export { default as Chunk } from './Chunk'
|
||||
export { default as Collapse } from './Collapse'
|
||||
export { default as Divider } from './Divider'
|
||||
export { default as ExternalKnowledgeBase } from './ExternalKnowledgeBase'
|
||||
export { default as File } from './File'
|
||||
export { default as GeneralType } from './GeneralType'
|
||||
export { default as General } from './General'
|
||||
export { default as Graph } from './Graph'
|
||||
export { default as LayoutRight2LineMod } from './LayoutRight2LineMod'
|
||||
export { default as OptionCardEffectBlueLight } from './OptionCardEffectBlueLight'
|
||||
export { default as OptionCardEffectBlue } from './OptionCardEffectBlue'
|
||||
export { default as OptionCardEffectOrange } from './OptionCardEffectOrange'
|
||||
export { default as OptionCardEffectPurple } from './OptionCardEffectPurple'
|
||||
export { default as ParentChildType } from './ParentChildType'
|
||||
export { default as ParentChild } from './ParentChild'
|
||||
export { default as Qa } from './Qa'
|
||||
export { default as SelectionMod } from './SelectionMod'
|
||||
export { default as Watercrawl } from './Watercrawl'
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Anthropic"
|
||||
}
|
||||
}
|
||||
|
|
@ -1043,4 +1043,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AnthropicDark"
|
||||
}
|
||||
}
|
||||
|
|
@ -1043,4 +1043,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AnthropicLight"
|
||||
}
|
||||
}
|
||||
|
|
@ -536,4 +536,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AnthropicText"
|
||||
}
|
||||
}
|
||||
|
|
@ -71,4 +71,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AzureOpenaiService"
|
||||
}
|
||||
}
|
||||
|
|
@ -233,4 +233,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AzureOpenaiServiceText"
|
||||
}
|
||||
}
|
||||
|
|
@ -177,4 +177,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Azureai"
|
||||
}
|
||||
}
|
||||
|
|
@ -240,4 +240,4 @@
|
|||
]
|
||||
},
|
||||
"name": "AzureaiText"
|
||||
}
|
||||
}
|
||||
|
|
@ -73,4 +73,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Baichuan"
|
||||
}
|
||||
}
|
||||
|
|
@ -153,4 +153,4 @@
|
|||
]
|
||||
},
|
||||
"name": "BaichuanText"
|
||||
}
|
||||
}
|
||||
|
|
@ -69,4 +69,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Chatglm"
|
||||
}
|
||||
}
|
||||
|
|
@ -132,4 +132,4 @@
|
|||
]
|
||||
},
|
||||
"name": "ChatglmText"
|
||||
}
|
||||
}
|
||||
|
|
@ -109,4 +109,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Cohere"
|
||||
}
|
||||
}
|
||||
|
|
@ -87,4 +87,4 @@
|
|||
]
|
||||
},
|
||||
"name": "CohereText"
|
||||
}
|
||||
}
|
||||
|
|
@ -48,4 +48,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Gpt3"
|
||||
}
|
||||
}
|
||||
|
|
@ -48,4 +48,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Gpt4"
|
||||
}
|
||||
}
|
||||
|
|
@ -155,4 +155,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Huggingface"
|
||||
}
|
||||
}
|
||||
|
|
@ -319,4 +319,4 @@
|
|||
]
|
||||
},
|
||||
"name": "HuggingfaceText"
|
||||
}
|
||||
}
|
||||
|
|
@ -347,4 +347,4 @@
|
|||
]
|
||||
},
|
||||
"name": "HuggingfaceTextHub"
|
||||
}
|
||||
}
|
||||
|
|
@ -41,4 +41,4 @@
|
|||
]
|
||||
},
|
||||
"name": "IflytekSpark"
|
||||
}
|
||||
}
|
||||
|
|
@ -184,4 +184,4 @@
|
|||
]
|
||||
},
|
||||
"name": "IflytekSparkText"
|
||||
}
|
||||
}
|
||||
|
|
@ -95,4 +95,4 @@
|
|||
]
|
||||
},
|
||||
"name": "IflytekSparkTextCn"
|
||||
}
|
||||
}
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Jina"
|
||||
}
|
||||
}
|
||||
|
|
@ -79,4 +79,4 @@
|
|||
]
|
||||
},
|
||||
"name": "JinaText"
|
||||
}
|
||||
}
|
||||
|
|
@ -104,4 +104,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Localai"
|
||||
}
|
||||
}
|
||||
|
|
@ -167,4 +167,4 @@
|
|||
]
|
||||
},
|
||||
"name": "LocalaiText"
|
||||
}
|
||||
}
|
||||
|
|
@ -73,4 +73,4 @@
|
|||
]
|
||||
},
|
||||
"name": "Microsoft"
|
||||
}
|
||||
}
|
||||
|
|
@ -34,4 +34,4 @@
|
|||
]
|
||||
},
|
||||
"name": "OpenaiBlack"
|
||||
}
|
||||
}
|
||||
|
|
@ -34,4 +34,4 @@
|
|||
]
|
||||
},
|
||||
"name": "OpenaiBlue"
|
||||
}
|
||||
}
|
||||