feat: annotation management frontend (#1764)

This commit is contained in:
Joel
2023-12-18 15:41:24 +08:00
committed by GitHub
parent 96d2de2258
commit 65fd4b39ce
122 changed files with 4718 additions and 214 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,16 @@
// 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<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
Icon.displayName = 'Robot'
export default Icon

View File

@@ -0,0 +1,89 @@
{
"icon": {
"type": "element",
"isRootNode": true,
"name": "svg",
"attributes": {
"width": "512",
"height": "512",
"viewBox": "0 0 512 512",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
},
"children": [
{
"type": "element",
"name": "g",
"attributes": {
"clip-path": "url(#clip0_5968_39205)"
},
"children": [
{
"type": "element",
"name": "rect",
"attributes": {
"width": "512",
"height": "512",
"rx": "256",
"fill": "#B2DDFF"
},
"children": []
},
{
"type": "element",
"name": "circle",
"attributes": {
"opacity": "0.68",
"cx": "256",
"cy": "196",
"r": "84",
"fill": "white"
},
"children": []
},
{
"type": "element",
"name": "ellipse",
"attributes": {
"opacity": "0.68",
"cx": "256",
"cy": "583.5",
"rx": "266",
"ry": "274.5",
"fill": "white"
},
"children": []
}
]
},
{
"type": "element",
"name": "defs",
"attributes": {},
"children": [
{
"type": "element",
"name": "clipPath",
"attributes": {
"id": "clip0_5968_39205"
},
"children": [
{
"type": "element",
"name": "rect",
"attributes": {
"width": "512",
"height": "512",
"rx": "256",
"fill": "white"
},
"children": []
}
]
}
]
}
]
},
"name": "User"
}

View File

@@ -0,0 +1,16 @@
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
import data from './User.json'
import IconBase from '@/app/components/base/icons/IconBase'
import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
props,
ref,
) => <IconBase {...props} ref={ref} data={data as IconData} />)
Icon.displayName = 'User'
export default Icon

View File

@@ -0,0 +1,2 @@
export { default as Robot } from './Robot'
export { default as User } from './User'

View File

@@ -25,7 +25,7 @@
"attributes": {
"width": "600",
"height": "600",
"fill": "url(#pattern0)"
"fill": "url(#pattern999)"
},
"children": []
}
@@ -40,7 +40,7 @@
"type": "element",
"name": "pattern",
"attributes": {
"id": "pattern0",
"id": "pattern999",
"patternContentUnits": "objectBoundingBox",
"width": "1",
"height": "1"