mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat: Add @agent icon and implement agent alias variables in workflow
inspector
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
{
|
||||
"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": "path",
|
||||
"attributes": {
|
||||
"d": "M11.6665 7.00008C11.6665 4.42275 9.57718 2.33341 6.99984 2.33341C4.42251 2.33341 2.33317 4.42275 2.33317 7.00008C2.33317 9.57742 4.42251 11.6667 6.99984 11.6667C7.95755 11.6667 8.8479 11.3782 9.58873 10.8834L10.2359 11.8542C9.30995 12.4728 8.19701 12.8334 6.99984 12.8334C3.77817 12.8334 1.1665 10.2217 1.1665 7.00008C1.1665 3.77842 3.77817 1.16675 6.99984 1.16675C10.2215 1.16675 12.8332 3.77842 12.8332 7.00008V7.87508C12.8332 9.00266 11.9191 9.91675 10.7915 9.91675C10.0891 9.91675 9.46944 9.56196 9.10205 9.02186C8.57145 9.57346 7.82572 9.91675 6.99984 9.91675C5.38901 9.91675 4.08317 8.6109 4.08317 7.00008C4.08317 5.38925 5.38901 4.08341 6.99984 4.08341C7.65655 4.08341 8.26258 4.30047 8.75013 4.66675H9.9165V7.87508C9.9165 8.35831 10.3083 8.75008 10.7915 8.75008C11.2747 8.75008 11.6665 8.35831 11.6665 7.87508V7.00008ZM6.99984 5.25008C6.03331 5.25008 5.24984 6.03356 5.24984 7.00008C5.24984 7.96661 6.03331 8.75008 6.99984 8.75008C7.96636 8.75008 8.74984 7.96661 8.74984 7.00008C8.74984 6.03356 7.96636 5.25008 6.99984 5.25008Z",
|
||||
"fill": "currentColor"
|
||||
},
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "AtSign"
|
||||
}
|
||||
20
web/app/components/base/icons/src/vender/workflow/AtSign.tsx
Normal file
20
web/app/components/base/icons/src/vender/workflow/AtSign.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
// GENERATE BY script
|
||||
// DON NOT EDIT IT MANUALLY
|
||||
|
||||
import type { IconData } from '@/app/components/base/icons/IconBase'
|
||||
import * as React from 'react'
|
||||
import IconBase from '@/app/components/base/icons/IconBase'
|
||||
import data from './AtSign.json'
|
||||
|
||||
const Icon = (
|
||||
{
|
||||
ref,
|
||||
...props
|
||||
}: React.SVGProps<SVGSVGElement> & {
|
||||
ref?: React.RefObject<React.RefObject<HTMLOrSVGElement>>
|
||||
},
|
||||
) => <IconBase {...props} ref={ref} data={data as IconData} />
|
||||
|
||||
Icon.displayName = 'AtSign'
|
||||
|
||||
export default Icon
|
||||
@ -3,6 +3,7 @@ export { default as Answer } from './Answer'
|
||||
export { default as ApiAggregate } from './ApiAggregate'
|
||||
export { default as Assigner } from './Assigner'
|
||||
export { default as Asterisk } from './Asterisk'
|
||||
export { default as AtSign } from './AtSign'
|
||||
export { default as CalendarCheckLine } from './CalendarCheckLine'
|
||||
export { default as Code } from './Code'
|
||||
export { default as Datasource } from './Datasource'
|
||||
|
||||
Reference in New Issue
Block a user