@zhangqingcq/vgce
Version:
Vector graphics configure editor. svg组态编辑器。基于vue3.3+ts+element-plus+vite
41 lines (39 loc) • 726 B
text/typescript
import { EConfigItemPropsType, EDoneJsonType } from '@/config/types'
import type { IConfigItem } from '@/config/types'
const t: IConfigItem = {
name: 'light',
tag: 'light-a',
title: '灯',
type: EDoneJsonType.CustomSvg,
config: {
can_zoom: true,
have_anchor: false,
actual_rect: true
},
display: true,
props: {
height: {
title: '高度',
type: EConfigItemPropsType.InputNumber,
val: 60
},
width: {
title: '宽度',
type: EConfigItemPropsType.InputNumber,
val: 50
},
isOpen: {
title: '开关',
type: EConfigItemPropsType.Switch,
val: false
}
},
common_animations: {
val: '',
delay: 'delay-0s',
speed: 'slow',
repeat: 'infinite'
},
events: []
}
export default t