@zhangqingcq/vgce 0.0.27 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +2 -2
- package/dist/vgce.js +9270 -8810
- package/dist/vgce.umd.cjs +206 -98
- package/package.json +7 -7
- package/src/assets/svgs/alert-light.svg +39 -0
- package/src/assets/svgs/bot-9.svg +94 -0
- package/src/assets/svgs/common-table.svg +1 -7
- package/src/assets/svgs/el-button.svg +1 -10
- package/src/assets/svgs/hamburger.svg +1 -0
- package/src/assets/svgs/hotpot.svg +1 -0
- package/src/assets/svgs/now-time.svg +1 -9
- package/src/assets/svgs/pie-charts.svg +1 -10
- package/src/assets/svgs/progress-a.svg +1 -1
- package/src/assets/svgs/svg-text.svg +1 -1
- package/src/assets/svgs/switch-on.svg +12 -0
- package/src/assets/svgs/switch-r.svg +14 -0
- package/src/assets/svgs/thermometer.svg +22 -0
- package/src/assets/svgs/thermometer2.svg +16 -0
- package/src/components/config/index.ts +11 -0
- package/src/components/svg-editor/{center-panel/index.vue → center-panel.vue} +14 -8
- package/src/components/svg-editor/{handle-panel/index.vue → handle-panel.vue} +10 -0
- package/src/components/svg-editor/index.vue +8 -7
- package/src/components/svg-editor/{left-panel/index.vue → left-panel.vue} +2 -2
- package/src/components/svg-editor/right-panel/code-edit-modal.vue +2 -2
- package/src/components/svg-editor/right-panel/common-animate.vue +1 -1
- package/src/components/svg-editor/right-panel/dynamic-el-form-item.vue +22 -0
- package/src/components/svg-editor/right-panel/list.vue +1 -1
- package/src/components/svg-editor/{right-panel/index.vue → right-panel.vue} +47 -31
- package/src/components/svg-editor/{top-panel/index.vue → top-panel.vue} +11 -3
- package/src/components/{svg-viewer/index.vue → svg-viewer.vue} +8 -8
- package/src/config/files/common-table.vue +48 -48
- package/src/config/files/now-time.vue +71 -52
- package/src/config/files/pie-charts.vue +72 -71
- package/src/config/files/svg-text.vue +17 -37
- package/src/config/files/switch-r.vue +72 -0
- package/src/config/index.ts +2 -2
- package/src/config/svg/animation/index.ts +2 -2
- package/src/config/svg/{stateless/alternator.ts → animation/thermometer.ts} +4 -11
- package/src/config/svg/custom/index.ts +2 -2
- package/src/config/svg/custom/svg-text.ts +25 -1
- package/src/config/svg/custom/{switch-a.ts → switch-r.ts} +4 -4
- package/src/config/svg/stateful/alert-light.ts +33 -0
- package/src/config/svg/stateful/index.ts +2 -2
- package/src/config/svg/stateless/{house.ts → bot-9.ts} +3 -3
- package/src/config/svg/stateless/{sheet-border.ts → hamburger.ts} +3 -3
- package/src/config/svg/{stateful/circuit-breaker.ts → stateless/hotpot.ts} +4 -20
- package/src/config/svg/stateless/index.ts +4 -4
- package/src/config/types.ts +2 -9
- package/src/config/vue/component/button.ts +1 -1
- package/src/config/vue/component/common-table.ts +7 -7
- package/src/config/vue/component/now-time.ts +36 -2
- package/src/config/vue/component/progress.ts +2 -2
- package/src/index.ts +12 -12
- package/src/utils/index.ts +36 -37
- package/src/views/Preview.vue +1 -1
- package/src/assets/svgs/alternator.svg +0 -8
- package/src/assets/svgs/circuit-breaker.svg +0 -11
- package/src/assets/svgs/house.svg +0 -1
- package/src/assets/svgs/package.svg +0 -1
- package/src/assets/svgs/reservoir.svg +0 -10
- package/src/assets/svgs/sheet-border.svg +0 -1
- package/src/assets/svgs/switch-a.svg +0 -5
- package/src/components/svg-editor/center-panel/types.ts +0 -11
- package/src/config/files/switch-a.vue +0 -43
- package/src/config/svg/animation/reservoir.ts +0 -32
- /package/src/components/{ace-edit/index.ts → ace-edit.ts} +0 -0
- /package/src/components/{svg-analysis/index.vue → svg-analysis.vue} +0 -0
- /package/src/components/svg-editor/{component-tree/index.vue → component-tree.vue} +0 -0
- /package/src/components/svg-editor/{connection-line/index.vue → connection-line.vue} +0 -0
- /package/src/components/svg-editor/{connection-panel/index.vue → connection-panel.vue} +0 -0
- /package/src/components/svg-editor/{export-json/index.vue → export-json.vue} +0 -0
- /package/src/components/svg-editor/{import-json/index.vue → import-json.vue} +0 -0
- /package/src/components/{vue3-ruler-tool/index.vue → vue3-ruler-tool.vue} +0 -0
@@ -1,32 +0,0 @@
|
|
1
|
-
import { EConfigItemPropsType, EDoneJsonType } from '@/config/types'
|
2
|
-
import type { IConfigItem } from '@/config/types'
|
3
|
-
export const reservoir: IConfigItem = {
|
4
|
-
name: 'reservoir',
|
5
|
-
title: '蓄水池',
|
6
|
-
type: EDoneJsonType.File,
|
7
|
-
config: {
|
8
|
-
can_zoom: true,
|
9
|
-
have_anchor: true,
|
10
|
-
actual_rect: true
|
11
|
-
},
|
12
|
-
display: true,
|
13
|
-
props: {
|
14
|
-
fill: {
|
15
|
-
title: '水流颜色',
|
16
|
-
type: EConfigItemPropsType.Color,
|
17
|
-
val: '#37cfe7'
|
18
|
-
},
|
19
|
-
stroke: {
|
20
|
-
title: '边框颜色',
|
21
|
-
type: EConfigItemPropsType.Color,
|
22
|
-
val: '#000'
|
23
|
-
}
|
24
|
-
},
|
25
|
-
common_animations: {
|
26
|
-
val: '',
|
27
|
-
delay: 'delay-0s',
|
28
|
-
speed: 'slow',
|
29
|
-
repeat: 'infinite'
|
30
|
-
},
|
31
|
-
events: []
|
32
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|