@operato/board 0.2.49 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/assets/images/components/audio.png +0 -0
- package/assets/images/components/both-arrow.png +0 -0
- package/assets/images/components/color-image.png +0 -0
- package/assets/images/components/container.png +0 -0
- package/assets/images/components/dash.png +0 -0
- package/assets/images/components/donut.png +0 -0
- package/assets/images/components/ellipse.png +0 -0
- package/assets/images/components/forklift.png +0 -0
- package/assets/images/components/gif-image.png +0 -0
- package/assets/images/components/global-reference.png +0 -0
- package/assets/images/components/gray-image.png +0 -0
- package/assets/images/components/humidity-sensor.png +0 -0
- package/assets/images/components/info-window.png +0 -0
- package/assets/images/components/line.png +0 -0
- package/assets/images/components/local-reference.png +0 -0
- package/assets/images/components/person.png +0 -0
- package/assets/images/components/polygon.png +0 -0
- package/assets/images/components/polyline.png +0 -0
- package/assets/images/components/popup.png +0 -0
- package/assets/images/components/rect.png +0 -0
- package/assets/images/components/single-arrow.png +0 -0
- package/assets/images/components/star.png +0 -0
- package/assets/images/components/text.png +0 -0
- package/assets/images/components/triangle.png +0 -0
- package/assets/images/icon-vtoolbar.png +0 -0
- package/custom-elements.json +2665 -1411
- package/dist/src/component/3d.d.ts +2 -0
- package/dist/src/component/3d.js +27 -0
- package/dist/src/component/3d.js.map +1 -0
- package/dist/src/component/chart-and-gauge.d.ts +2 -0
- package/dist/src/component/chart-and-gauge.js +26 -0
- package/dist/src/component/chart-and-gauge.js.map +1 -0
- package/dist/src/component/container.d.ts +2 -0
- package/dist/src/component/container.js +60 -0
- package/dist/src/component/container.js.map +1 -0
- package/dist/src/component/data-source.d.ts +2 -0
- package/dist/src/component/data-source.js +28 -0
- package/dist/src/component/data-source.js.map +1 -0
- package/dist/src/component/etc.d.ts +2 -0
- package/dist/src/component/etc.js +82 -0
- package/dist/src/component/etc.js.map +1 -0
- package/dist/src/component/form.d.ts +2 -0
- package/dist/src/component/form.js +40 -0
- package/dist/src/component/form.js.map +1 -0
- package/dist/src/component/index.d.ts +12 -0
- package/dist/src/component/index.js +13 -0
- package/dist/src/component/index.js.map +1 -0
- package/dist/src/component/iot.d.ts +2 -0
- package/dist/src/component/iot.js +50 -0
- package/dist/src/component/iot.js.map +1 -0
- package/dist/src/component/line.d.ts +2 -0
- package/dist/src/component/line.js +130 -0
- package/dist/src/component/line.js.map +1 -0
- package/dist/src/component/register-default-groups.d.ts +1 -0
- package/dist/src/component/register-default-groups.js +28 -0
- package/dist/src/component/register-default-groups.js.map +1 -0
- package/dist/src/component/shape.d.ts +2 -0
- package/dist/src/component/shape.js +152 -0
- package/dist/src/component/shape.js.map +1 -0
- package/dist/src/component/table.d.ts +2 -0
- package/dist/src/component/table.js +26 -0
- package/dist/src/component/table.js.map +1 -0
- package/dist/src/component/text-and-media.d.ts +2 -0
- package/dist/src/component/text-and-media.js +122 -0
- package/dist/src/component/text-and-media.js.map +1 -0
- package/dist/src/component/warehouse.d.ts +2 -0
- package/dist/src/component/warehouse.js +24 -0
- package/dist/src/component/warehouse.js.map +1 -0
- package/dist/src/graphql/board.d.ts +6 -0
- package/dist/src/graphql/board.js +130 -0
- package/dist/src/graphql/board.js.map +1 -0
- package/dist/src/graphql/favorite-board.d.ts +1 -0
- package/dist/src/graphql/favorite-board.js +23 -0
- package/dist/src/graphql/favorite-board.js.map +1 -0
- package/dist/src/graphql/group.d.ts +7 -0
- package/dist/src/graphql/group.js +125 -0
- package/dist/src/graphql/group.js.map +1 -0
- package/dist/src/graphql/index.d.ts +4 -0
- package/dist/src/graphql/index.js +5 -0
- package/dist/src/graphql/index.js.map +1 -0
- package/dist/src/graphql/play-group.d.ts +8 -0
- package/dist/src/graphql/play-group.js +173 -0
- package/dist/src/graphql/play-group.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +3 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/modeller/component-toolbar/component-toolbar.js +56 -61
- package/dist/src/modeller/component-toolbar/component-toolbar.js.map +1 -1
- package/dist/src/modeller/component-toolbar/mode-icons.d.ts +2 -0
- package/dist/src/modeller/component-toolbar/mode-icons.js +86 -0
- package/dist/src/modeller/component-toolbar/mode-icons.js.map +1 -0
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.d.ts +2 -2
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js +4 -5
- package/dist/src/modeller/property-sidebar/data-binding/data-binding-mapper.js.map +1 -1
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.d.ts +2 -2
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js +3 -3
- package/dist/src/modeller/property-sidebar/data-binding/data-binding.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/effects.js +2 -2
- package/dist/src/modeller/property-sidebar/effects/effects.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-animation.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-animation.js +2 -2
- package/dist/src/modeller/property-sidebar/effects/property-animation.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-animations.js +2 -2
- package/dist/src/modeller/property-sidebar/effects/property-animations.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js +3 -3
- package/dist/src/modeller/property-sidebar/effects/property-event-hover.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.d.ts +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js +3 -3
- package/dist/src/modeller/property-sidebar/effects/property-event-tap.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-event.js +2 -2
- package/dist/src/modeller/property-sidebar/effects/property-event.js.map +1 -1
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js +2 -2
- package/dist/src/modeller/property-sidebar/effects/property-shadow.js.map +1 -1
- package/dist/src/modeller/property-sidebar/inspector/inspector.js +1 -1
- package/dist/src/modeller/property-sidebar/inspector/inspector.js.map +1 -1
- package/dist/src/modeller/property-sidebar/shapes/shapes.d.ts +2 -2
- package/dist/src/modeller/property-sidebar/shapes/shapes.js +3 -3
- package/dist/src/modeller/property-sidebar/shapes/shapes.js.map +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js +1 -1
- package/dist/src/modeller/property-sidebar/specifics/specific-properties-builder.js.map +1 -1
- package/dist/src/ox-board-list.d.ts +2 -0
- package/dist/src/ox-board-list.js +427 -0
- package/dist/src/ox-board-list.js.map +1 -0
- package/dist/src/ox-board-modeller.d.ts +5 -0
- package/dist/src/ox-board-modeller.js +32 -0
- package/dist/src/ox-board-modeller.js.map +1 -1
- package/dist/src/types.d.ts +30 -0
- package/dist/src/types.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -10
- package/src/component/3d.ts +29 -0
- package/src/component/chart-and-gauge.ts +28 -0
- package/src/component/container.ts +62 -0
- package/src/component/data-source.ts +30 -0
- package/src/component/etc.ts +87 -0
- package/src/component/form.ts +42 -0
- package/src/component/index.ts +12 -0
- package/src/component/iot.ts +52 -0
- package/src/component/line.ts +132 -0
- package/src/component/register-default-groups.ts +28 -0
- package/src/component/shape.ts +154 -0
- package/src/component/table.ts +28 -0
- package/src/component/text-and-media.ts +124 -0
- package/src/component/warehouse.ts +26 -0
- package/src/graphql/board.ts +144 -0
- package/src/graphql/favorite-board.ts +25 -0
- package/src/graphql/group.ts +138 -0
- package/src/graphql/index.ts +4 -0
- package/src/graphql/play-group.ts +189 -0
- package/src/index.ts +5 -0
- package/src/modeller/component-toolbar/component-toolbar.ts +70 -63
- package/src/modeller/component-toolbar/mode-icons.ts +86 -0
- package/src/modeller/property-sidebar/data-binding/data-binding-mapper.ts +5 -5
- package/src/modeller/property-sidebar/data-binding/data-binding.ts +5 -4
- package/src/modeller/property-sidebar/effects/effects.ts +2 -3
- package/src/modeller/property-sidebar/effects/property-animation.ts +2 -2
- package/src/modeller/property-sidebar/effects/property-animations.ts +2 -3
- package/src/modeller/property-sidebar/effects/property-event-hover.ts +4 -3
- package/src/modeller/property-sidebar/effects/property-event-tap.ts +4 -3
- package/src/modeller/property-sidebar/effects/property-event.ts +2 -3
- package/src/modeller/property-sidebar/effects/property-shadow.ts +2 -3
- package/src/modeller/property-sidebar/inspector/inspector.ts +1 -1
- package/src/modeller/property-sidebar/shapes/shapes.ts +3 -3
- package/src/modeller/property-sidebar/specifics/specific-properties-builder.ts +1 -1
- package/src/ox-board-list.ts +459 -0
- package/src/ox-board-modeller.ts +40 -0
- package/src/types.ts +48 -0
- package/tsconfig.json +1 -0
- package/web-dev-server.config.mjs +2 -0
- package/yarn-error.log +18355 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
|
|
3
|
+
const icon = `
|
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:none;stroke:{{strokeColor}};stroke-width:1.5;stroke-miterlimit:10;}
|
|
7
|
+
.st1{fill:{{strokeColor}};stroke:{{strokeColor}};stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
|
|
8
|
+
.st2{fill:{{strokeColor}};stroke:{{strokeColor}};stroke-width:0.5;stroke-miterlimit:10;}
|
|
9
|
+
.st3{fill:{{strokeColor}};}
|
|
10
|
+
</style>
|
|
11
|
+
<g>
|
|
12
|
+
<path class="st0" d="M11.9,22.4H4.6c-4.9,0-4.2-8.5,0.2-9.3c0,0,1.3-6.5,6.2-3c0,0,2.3-5.7,7.5-4.7c0,0,6.3,0.3,6,7.3
|
|
13
|
+
c0-0.1,2.1,0.9,2.3,1c3.1,1.9,2.9,7.3-0.6,8.7h-7"/>
|
|
14
|
+
<path class="st1" d="M12.6,20c-0.1-0.1-0.1-0.2,0-0.3c0.8-0.7,1.8-1.2,2.9-1.2s2.1,0.4,2.9,1.2c0.1,0.1,0.1,0.2,0,0.3
|
|
15
|
+
c-0.1,0.1-0.2,0.1-0.3,0c-0.7-0.7-1.6-1-2.6-1s-1.9,0.4-2.6,1.1C12.7,20.2,12.6,20.1,12.6,20z"/>
|
|
16
|
+
<path class="st1" d="M10.8,17.9c-0.1-0.1-0.1-0.2,0-0.3c1.3-1.2,3-1.9,4.8-1.9s3.5,0.7,4.8,1.9c0.1,0.1,0.1,0.2,0,0.3
|
|
17
|
+
C20.2,18,20.1,18,20,18c-1.2-1.1-2.8-1.8-4.5-1.8S12.2,16.8,11,18C11,18,10.8,18,10.8,17.9z"/>
|
|
18
|
+
<path class="st2" d="M9.5,15.8c-0.1-0.1-0.1-0.2,0-0.3c1.6-1.6,3.8-2.4,6.1-2.4s4.4,0.9,6,2.4c0.1,0.1,0.1,0.2,0,0.3
|
|
19
|
+
s-0.2,0.1-0.3,0c-1.6-1.5-3.6-2.3-5.8-2.3s-4.2,0.8-5.8,2.3C9.7,15.9,9.5,15.9,9.5,15.8z"/>
|
|
20
|
+
<circle class="st3" cx="15.5" cy="23.2" r="1.5"/>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
23
|
+
`
|
|
24
|
+
|
|
25
|
+
export const dataSource: ComponentGroup = {
|
|
26
|
+
name: 'dataSource',
|
|
27
|
+
description: 'a group of various data sources',
|
|
28
|
+
icon,
|
|
29
|
+
templates: []
|
|
30
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
import globalReference from '../../../assets/images/components/global-reference.png'
|
|
3
|
+
import infoWindow from '../../../assets/images/components/info-window.png'
|
|
4
|
+
import localReference from '../../../assets/images/components/local-reference.png'
|
|
5
|
+
|
|
6
|
+
const icon = `
|
|
7
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
8
|
+
<style type="text/css">
|
|
9
|
+
.st0{fill:{{strokeColor}};}
|
|
10
|
+
</style>
|
|
11
|
+
<g>
|
|
12
|
+
<circle class="st0" cx="7.1" cy="15" r="2"/>
|
|
13
|
+
<circle class="st0" cx="15" cy="15" r="2"/>
|
|
14
|
+
<circle class="st0" cx="22.9" cy="15" r="2"/>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
17
|
+
`
|
|
18
|
+
|
|
19
|
+
export const etc: ComponentGroup = {
|
|
20
|
+
name: 'etc',
|
|
21
|
+
description: 'a group of components that have not yet been defined.',
|
|
22
|
+
icon,
|
|
23
|
+
templates: [
|
|
24
|
+
{
|
|
25
|
+
type: 'info-window',
|
|
26
|
+
description: 'information window',
|
|
27
|
+
icon: infoWindow,
|
|
28
|
+
group: 'etc',
|
|
29
|
+
model: {
|
|
30
|
+
type: 'info-window',
|
|
31
|
+
left: 10,
|
|
32
|
+
top: 10,
|
|
33
|
+
width: 50,
|
|
34
|
+
height: 50,
|
|
35
|
+
fillStyle: '#fff',
|
|
36
|
+
strokeStyle: 'DarkGoldenRod',
|
|
37
|
+
hidden: true,
|
|
38
|
+
frontSideTemplate:
|
|
39
|
+
"<h2 id='xxx'>\n\t<%= text %>\n</h2>\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />",
|
|
40
|
+
backSideTemplate:
|
|
41
|
+
"<h2 id='yyy'>\n\t<%= text %>\n</h2>\n<img src='https://www.tutorialspoint.com/images/html.gif' alt='HTML Tutorial' height='150' width='140' />",
|
|
42
|
+
style:
|
|
43
|
+
'#yyy {\n\tbackground-color:navy;\n\tcolor:white\n}\n#xxx, #yyy {\n\twhite-space:nowrap;\n\tmin-width:200px;\n}'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'local reference',
|
|
48
|
+
description: 'local reference',
|
|
49
|
+
icon: localReference,
|
|
50
|
+
group: 'etc',
|
|
51
|
+
model: {
|
|
52
|
+
type: 'local-ref',
|
|
53
|
+
left: 100,
|
|
54
|
+
top: 100,
|
|
55
|
+
width: 100,
|
|
56
|
+
height: 100,
|
|
57
|
+
fillStyle: '#fff',
|
|
58
|
+
strokeStyle: '#000',
|
|
59
|
+
alpha: 1,
|
|
60
|
+
hidden: false,
|
|
61
|
+
lineWidth: 1,
|
|
62
|
+
lineDash: 'solid',
|
|
63
|
+
lineCap: 'butt'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
type: 'global reference',
|
|
68
|
+
description: 'global reference',
|
|
69
|
+
icon: globalReference,
|
|
70
|
+
group: 'etc',
|
|
71
|
+
model: {
|
|
72
|
+
type: 'global-ref',
|
|
73
|
+
left: 100,
|
|
74
|
+
top: 100,
|
|
75
|
+
width: 100,
|
|
76
|
+
height: 100,
|
|
77
|
+
fillStyle: '#fff',
|
|
78
|
+
strokeStyle: '#000',
|
|
79
|
+
alpha: 1,
|
|
80
|
+
hidden: false,
|
|
81
|
+
lineWidth: 1,
|
|
82
|
+
lineDash: 'solid',
|
|
83
|
+
lineCap: 'butt'
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
|
|
3
|
+
const icon = `
|
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{fill:{{strokeColor}};}
|
|
7
|
+
.st7{fill:none;stroke:{{strokeColor}};stroke-width:1.5;stroke-miterlimit:10;}
|
|
8
|
+
.st9{fill:none;stroke:{{strokeColor}};stroke-miterlimit:10;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<rect x="3.1" y="5.5" class="st7" width="23.9" height="19"/>
|
|
12
|
+
<rect x="11.3" y="8.3" class="st9" width="12.5" height="3.3"/>
|
|
13
|
+
<rect x="5.5" y="8.8" class="st0" width="4.1" height="2.2"/>
|
|
14
|
+
<rect x="5.5" y="14.5" class="st0" width="4.1" height="2.2"/>
|
|
15
|
+
<rect x="10.7" y="19.4" class="st0" width="6.5" height="2.2"/>
|
|
16
|
+
<rect x="17.8" y="19.4" class="st0" width="6.3" height="2.2"/>
|
|
17
|
+
<rect x="11.3" y="13.8" class="st9" width="12.5" height="3.3"/>
|
|
18
|
+
<path class="st0" d="M15,14.7c0,0.1,0,0.3-0.1,0.5l0,0.2l0.2-0.1c0.3-0.2,0.5-0.3,0.6-0.3c0.1,0,0.3,0.1,0.3,0.3
|
|
19
|
+
c0,0.2-0.3,0.3-0.7,0.3l-0.2,0l0.1,0.1c0.3,0.2,0.5,0.4,0.5,0.5c0,0.1-0.1,0.2-0.3,0.2c-0.2,0-0.3-0.2-0.5-0.6l-0.1-0.2l-0.1,0.2
|
|
20
|
+
c-0.2,0.4-0.3,0.6-0.5,0.6c-0.2,0-0.3-0.1-0.3-0.2c0-0.2,0.2-0.3,0.5-0.5l0.1-0.1l-0.2,0c-0.5,0-0.7-0.1-0.7-0.3
|
|
21
|
+
c0-0.2,0.1-0.3,0.3-0.3c0.2,0,0.3,0.1,0.6,0.3l0.2,0.1l0-0.2c-0.1-0.2-0.1-0.4-0.1-0.5c0-0.2,0.1-0.3,0.3-0.3
|
|
22
|
+
C14.9,14.4,15,14.5,15,14.7z"/>
|
|
23
|
+
<path class="st0" d="M17.5,14.7c0,0.1,0,0.3-0.1,0.5l0,0.2l0.2-0.1c0.3-0.2,0.5-0.3,0.6-0.3c0.1,0,0.3,0.1,0.3,0.3
|
|
24
|
+
c0,0.2-0.3,0.3-0.7,0.3l-0.2,0l0.1,0.1c0.3,0.2,0.5,0.4,0.5,0.5c0,0.1-0.1,0.2-0.3,0.2c-0.2,0-0.3-0.2-0.5-0.6l-0.1-0.2l-0.1,0.2
|
|
25
|
+
c-0.2,0.4-0.3,0.6-0.5,0.6c-0.2,0-0.3-0.1-0.3-0.2c0-0.2,0.2-0.3,0.5-0.5l0.1-0.1l-0.2,0c-0.5,0-0.7-0.1-0.7-0.3
|
|
26
|
+
c0-0.2,0.1-0.3,0.3-0.3c0.2,0,0.3,0.1,0.6,0.3l0.2,0.1l0-0.2c-0.1-0.2-0.1-0.4-0.1-0.5c0-0.2,0.1-0.3,0.3-0.3
|
|
27
|
+
C17.4,14.4,17.5,14.5,17.5,14.7z"/>
|
|
28
|
+
<path class="st0" d="M19.9,14.7c0,0.1,0,0.3-0.1,0.5l0,0.2l0.2-0.1c0.3-0.2,0.5-0.3,0.6-0.3c0.1,0,0.3,0.1,0.3,0.3
|
|
29
|
+
c0,0.2-0.3,0.3-0.7,0.3l-0.2,0l0.1,0.1c0.3,0.2,0.5,0.4,0.5,0.5c0,0.1-0.1,0.2-0.3,0.2c-0.2,0-0.3-0.2-0.5-0.6l-0.1-0.2l-0.1,0.2
|
|
30
|
+
c-0.2,0.4-0.3,0.6-0.5,0.6c-0.2,0-0.3-0.1-0.3-0.2c0-0.2,0.2-0.3,0.5-0.5l0.1-0.1l-0.2,0c-0.5,0-0.7-0.1-0.7-0.3
|
|
31
|
+
c0-0.2,0.1-0.3,0.3-0.3c0.2,0,0.3,0.1,0.6,0.3l0.2,0.1l0-0.2c-0.1-0.2-0.1-0.4-0.1-0.5c0-0.2,0.1-0.3,0.3-0.3
|
|
32
|
+
C19.8,14.4,19.9,14.5,19.9,14.7z"/>
|
|
33
|
+
</g>
|
|
34
|
+
</svg>
|
|
35
|
+
`
|
|
36
|
+
|
|
37
|
+
export const form: ComponentGroup = {
|
|
38
|
+
name: 'form',
|
|
39
|
+
description: 'a group of various input components that make up a data entry form',
|
|
40
|
+
icon,
|
|
41
|
+
templates: []
|
|
42
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './shape'
|
|
2
|
+
export * from './line'
|
|
3
|
+
export * from './text-and-media'
|
|
4
|
+
export * from './chart-and-gauge'
|
|
5
|
+
export * from './table'
|
|
6
|
+
export * from './data-source'
|
|
7
|
+
export * from './3d'
|
|
8
|
+
export * from './iot'
|
|
9
|
+
export * from './form'
|
|
10
|
+
export * from './warehouse'
|
|
11
|
+
export * from './container'
|
|
12
|
+
export * from './etc'
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
|
|
3
|
+
const icon = `
|
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st9{fill:none;stroke:{{strokeColor}};stroke-miterlimit:10;}
|
|
7
|
+
.st12{fill:#232020;stroke:{{strokeColor}};stroke-width:0.5;stroke-miterlimit:10;}
|
|
8
|
+
.st13{fill:#232020;stroke:{{strokeColor}};stroke-width:0.25;stroke-miterlimit:10;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="st12" d="M11.2,14.6c0,0-0.1,0.1-0.1,0.1c-0.1,0-0.2-0.1-0.2-0.2c0-0.9,0.3-1.8,1-2.5c0.6-0.7,1.5-1.1,2.4-1.2
|
|
12
|
+
c0.1,0,0.2,0.1,0.2,0.2c0,0.1-0.1,0.2-0.2,0.2c-0.8,0.1-1.6,0.5-2.2,1.1c-0.6,0.6-0.9,1.5-0.9,2.3C11.2,14.5,11.2,14.6,11.2,14.6z"
|
|
13
|
+
/>
|
|
14
|
+
<path class="st12" d="M8.8,14.7c0,0-0.1,0.1-0.1,0.1c-0.1,0-0.2-0.1-0.2-0.2c0-1.5,0.6-3,1.6-4.2c1-1.1,2.5-1.9,4-2
|
|
15
|
+
c0.1,0,0.2,0.1,0.2,0.2c0,0.1-0.1,0.2-0.2,0.2c-1.4,0.1-2.8,0.8-3.8,1.9c-1,1.1-1.5,2.5-1.5,3.9C8.9,14.6,8.9,14.6,8.8,14.7z"/>
|
|
16
|
+
<path class="st12" d="M18.6,15.2c0,0,0.1-0.1,0.1-0.1c0.1,0,0.2,0.1,0.2,0.2c-0.1,0.9-0.5,1.8-1.1,2.5c-0.7,0.7-1.6,1-2.5,1.1
|
|
17
|
+
c-0.1,0-0.2-0.1-0.2-0.2c0-0.1,0.1-0.2,0.2-0.2c0.8,0,1.6-0.4,2.3-1c0.6-0.6,1-1.4,1-2.2C18.5,15.2,18.5,15.2,18.6,15.2z"/>
|
|
18
|
+
<path class="st12" d="M20.9,15.3c0,0,0.1-0.1,0.1-0.1c0.1,0,0.2,0.1,0.2,0.2c-0.1,1.5-0.8,3-1.9,4.1c-1.1,1.1-2.6,1.7-4.1,1.7
|
|
19
|
+
c-0.1,0-0.2-0.1-0.2-0.2c0-0.1,0.1-0.2,0.2-0.2c1.4,0,2.8-0.6,3.9-1.6c1.1-1,1.7-2.4,1.8-3.8C20.9,15.3,20.9,15.3,20.9,15.3z"/>
|
|
20
|
+
<path class="st13" d="M8.8,6.7C7.9,6.7,7.2,6,7.2,5c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7C10.5,6,9.8,6.7,8.8,6.7z M8.8,3.9
|
|
21
|
+
C8.2,3.9,7.7,4.4,7.7,5c0,0.6,0.5,1.2,1.2,1.2C9.5,6.2,10,5.7,10,5C10,4.4,9.5,3.9,8.8,3.9z"/>
|
|
22
|
+
<path class="st13" d="M20.9,6.7C20,6.7,19.3,6,19.3,5c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7C22.6,6,21.8,6.7,20.9,6.7z
|
|
23
|
+
M20.9,3.9c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2C22.1,4.4,21.6,3.9,20.9,3.9z"/>
|
|
24
|
+
<path class="st13" d="M14.9,16.5c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7
|
|
25
|
+
C16.6,15.7,15.9,16.5,14.9,16.5z M14.9,13.6c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2
|
|
26
|
+
C16.1,14.2,15.6,13.6,14.9,13.6z"/>
|
|
27
|
+
<path class="st13" d="M8.8,26.6c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7C10.5,25.9,9.8,26.6,8.8,26.6z
|
|
28
|
+
M8.8,23.8c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2C10,24.3,9.5,23.8,8.8,23.8z"/>
|
|
29
|
+
<path class="st13" d="M20.9,26.6c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7
|
|
30
|
+
C22.6,25.9,21.8,26.6,20.9,26.6z M20.9,23.8c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2
|
|
31
|
+
C22.1,24.3,21.6,23.8,20.9,23.8z"/>
|
|
32
|
+
<path class="st13" d="M3.1,16.6c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7C4.7,15.9,4,16.6,3.1,16.6z
|
|
33
|
+
M3.1,13.8c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2C4.2,14.3,3.7,13.8,3.1,13.8z"/>
|
|
34
|
+
<path class="st13" d="M26.9,16.6c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.7,1.6-1.7c0.9,0,1.7,0.7,1.7,1.7
|
|
35
|
+
C28.6,15.9,27.8,16.6,26.9,16.6z M26.9,13.8c-0.6,0-1.2,0.5-1.2,1.2c0,0.6,0.5,1.2,1.2,1.2c0.6,0,1.2-0.5,1.2-1.2
|
|
36
|
+
C28.1,14.3,27.6,13.8,26.9,13.8z"/>
|
|
37
|
+
<line class="st9" x1="10.2" y1="4.9" x2="18.2" y2="4.9"/>
|
|
38
|
+
<line class="st9" x1="22" y1="6.2" x2="26.1" y2="12.3"/>
|
|
39
|
+
<line class="st9" x1="4" y1="17.7" x2="7.7" y2="24"/>
|
|
40
|
+
<line class="st9" x1="23" y1="22.7" x2="26.8" y2="16.4"/>
|
|
41
|
+
<line class="st9" x1="3.7" y1="13.5" x2="7.5" y2="7.2"/>
|
|
42
|
+
<line class="st9" x1="11.7" y1="25.1" x2="19.7" y2="25.1"/>
|
|
43
|
+
</g>
|
|
44
|
+
</svg>
|
|
45
|
+
`
|
|
46
|
+
|
|
47
|
+
export const iot: ComponentGroup = {
|
|
48
|
+
name: 'IoT',
|
|
49
|
+
description: 'a group of various IoT protocols',
|
|
50
|
+
icon,
|
|
51
|
+
templates: []
|
|
52
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
import bothArrow from '../../../assets/images/components/both-arrow.png'
|
|
3
|
+
import dash from '../../../assets/images/components/dash.png'
|
|
4
|
+
import lineIcon from '../../../assets/images/components/line.png'
|
|
5
|
+
import polyline from '../../../assets/images/components/polyline.png'
|
|
6
|
+
import singleArrow from '../../../assets/images/components/single-arrow.png'
|
|
7
|
+
|
|
8
|
+
const icon = `
|
|
9
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
10
|
+
<style type="text/css">
|
|
11
|
+
.st3{fill:none;stroke:{{strokeColor}};stroke-width:2;stroke-linecap:round;stroke-miterlimit:10;}
|
|
12
|
+
.st4{fill:none;stroke:{{strokeColor}};stroke-width:1.5;stroke-miterlimit:10;stroke-dasharray:3,1.5;}
|
|
13
|
+
</style>
|
|
14
|
+
<g>
|
|
15
|
+
<line class="st3" x1="1.7" y1="18.9" x2="26.3" y2="6.2"/>
|
|
16
|
+
<line class="st4" x1="1.7" y1="23.8" x2="28.3" y2="10.1"/>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|
|
19
|
+
`
|
|
20
|
+
|
|
21
|
+
export const line: ComponentGroup = {
|
|
22
|
+
name: 'line',
|
|
23
|
+
description: 'a group of various lines',
|
|
24
|
+
icon,
|
|
25
|
+
templates: [
|
|
26
|
+
{
|
|
27
|
+
type: 'line',
|
|
28
|
+
description: 'simple line',
|
|
29
|
+
icon: lineIcon,
|
|
30
|
+
group: 'line',
|
|
31
|
+
model: {
|
|
32
|
+
type: 'line',
|
|
33
|
+
x1: 100,
|
|
34
|
+
y1: 100,
|
|
35
|
+
x2: 200,
|
|
36
|
+
y2: 200,
|
|
37
|
+
fillStyle: '#fff',
|
|
38
|
+
strokeStyle: '#000',
|
|
39
|
+
alpha: 1,
|
|
40
|
+
hidden: false,
|
|
41
|
+
lineWidth: 3,
|
|
42
|
+
lineDash: 'solid',
|
|
43
|
+
lineCap: 'butt'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'dash',
|
|
48
|
+
description: 'dash line',
|
|
49
|
+
icon: dash,
|
|
50
|
+
group: 'line',
|
|
51
|
+
model: {
|
|
52
|
+
type: 'line',
|
|
53
|
+
x1: 100,
|
|
54
|
+
y1: 100,
|
|
55
|
+
x2: 200,
|
|
56
|
+
y2: 200,
|
|
57
|
+
fillStyle: '#fff',
|
|
58
|
+
strokeStyle: '#000',
|
|
59
|
+
alpha: 1,
|
|
60
|
+
hidden: false,
|
|
61
|
+
lineWidth: 3,
|
|
62
|
+
lineDash: 'round-dot',
|
|
63
|
+
lineCap: 'butt'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
type: 'single arrow',
|
|
68
|
+
description: 'single arrow tip line',
|
|
69
|
+
icon: singleArrow,
|
|
70
|
+
group: 'line',
|
|
71
|
+
model: {
|
|
72
|
+
type: 'line',
|
|
73
|
+
x1: 100,
|
|
74
|
+
y1: 100,
|
|
75
|
+
x2: 200,
|
|
76
|
+
y2: 200,
|
|
77
|
+
fillStyle: '#fff',
|
|
78
|
+
strokeStyle: '#000',
|
|
79
|
+
alpha: 3,
|
|
80
|
+
hidden: false,
|
|
81
|
+
lineWidth: 3,
|
|
82
|
+
lineDash: 'solid',
|
|
83
|
+
begin: 'arrow',
|
|
84
|
+
lineCap: 'butt'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: 'both arrow',
|
|
89
|
+
description: 'both arrow tip line',
|
|
90
|
+
icon: bothArrow,
|
|
91
|
+
group: 'line',
|
|
92
|
+
model: {
|
|
93
|
+
type: 'line',
|
|
94
|
+
x1: 100,
|
|
95
|
+
y1: 100,
|
|
96
|
+
x2: 200,
|
|
97
|
+
y2: 200,
|
|
98
|
+
fillStyle: '#fff',
|
|
99
|
+
strokeStyle: '#000',
|
|
100
|
+
alpha: 1,
|
|
101
|
+
hidden: false,
|
|
102
|
+
lineWidth: 3,
|
|
103
|
+
lineDash: 'solid',
|
|
104
|
+
begin: 'arrow',
|
|
105
|
+
end: 'arrow',
|
|
106
|
+
lineCap: 'butt'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'polyline',
|
|
111
|
+
description: 'polyline',
|
|
112
|
+
icon: polyline,
|
|
113
|
+
group: 'line',
|
|
114
|
+
model: {
|
|
115
|
+
type: 'polyline',
|
|
116
|
+
path: [
|
|
117
|
+
{ x: 100, y: 100 },
|
|
118
|
+
{ x: 200, y: 100 },
|
|
119
|
+
{ x: 200, y: 200 },
|
|
120
|
+
{ x: 100, y: 200 }
|
|
121
|
+
],
|
|
122
|
+
fillStyle: '#fff',
|
|
123
|
+
strokeStyle: '#000',
|
|
124
|
+
alpha: 1,
|
|
125
|
+
hidden: false,
|
|
126
|
+
lineWidth: 1,
|
|
127
|
+
lineDash: 'solid',
|
|
128
|
+
lineCap: 'butt'
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BoardModeller } from '../ox-board-modeller'
|
|
2
|
+
import { chartAndGauge } from './chart-and-gauge'
|
|
3
|
+
import { container } from './container'
|
|
4
|
+
import { dataSource } from './data-source'
|
|
5
|
+
import { etc } from './etc'
|
|
6
|
+
import { form } from './form'
|
|
7
|
+
import { iot } from './iot'
|
|
8
|
+
import { line } from './line'
|
|
9
|
+
import { shape } from './shape'
|
|
10
|
+
import { table } from './table'
|
|
11
|
+
import { textAndMedia } from './text-and-media'
|
|
12
|
+
import { threed } from './3d'
|
|
13
|
+
import { warehouse } from './warehouse'
|
|
14
|
+
|
|
15
|
+
export function registerDefaultGroups() {
|
|
16
|
+
BoardModeller.registerGroup(line)
|
|
17
|
+
BoardModeller.registerGroup(shape)
|
|
18
|
+
BoardModeller.registerGroup(textAndMedia)
|
|
19
|
+
BoardModeller.registerGroup(chartAndGauge)
|
|
20
|
+
BoardModeller.registerGroup(table)
|
|
21
|
+
BoardModeller.registerGroup(container)
|
|
22
|
+
BoardModeller.registerGroup(dataSource)
|
|
23
|
+
BoardModeller.registerGroup(iot)
|
|
24
|
+
BoardModeller.registerGroup(threed)
|
|
25
|
+
BoardModeller.registerGroup(warehouse)
|
|
26
|
+
BoardModeller.registerGroup(form)
|
|
27
|
+
BoardModeller.registerGroup(etc)
|
|
28
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
import donut from '../../../assets/images/components/donut.png'
|
|
3
|
+
import ellipse from '../../../assets/images/components/ellipse.png'
|
|
4
|
+
import polygon from '../../../assets/images/components/polygon.png'
|
|
5
|
+
import rect from '../../../assets/images/components/rect.png'
|
|
6
|
+
import star from '../../../assets/images/components/star.png'
|
|
7
|
+
import triangle from '../../../assets/images/components/triangle.png'
|
|
8
|
+
|
|
9
|
+
const icon = `
|
|
10
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
11
|
+
<style type="text/css">
|
|
12
|
+
.st0{fill:none;stroke:{{strokeColor}};stroke-width:2;stroke-miterlimit:10;}
|
|
13
|
+
</style>
|
|
14
|
+
<g>
|
|
15
|
+
<polyline class="st0" points="21.6,9.4 21.6,4.6 1.6,4.6 1.6,17.7 12.5,17.7 "/>
|
|
16
|
+
<circle class="st0" cx="21.3" cy="18.3" r="7"/>
|
|
17
|
+
</g>
|
|
18
|
+
</svg>
|
|
19
|
+
`
|
|
20
|
+
|
|
21
|
+
export const shape: ComponentGroup = {
|
|
22
|
+
name: 'shape',
|
|
23
|
+
description: 'a group of simple basic shapes',
|
|
24
|
+
icon,
|
|
25
|
+
templates: [
|
|
26
|
+
{
|
|
27
|
+
type: 'rect',
|
|
28
|
+
description: 'rectangle shape',
|
|
29
|
+
icon: rect,
|
|
30
|
+
group: 'shape',
|
|
31
|
+
model: {
|
|
32
|
+
type: 'rect',
|
|
33
|
+
left: 100,
|
|
34
|
+
top: 100,
|
|
35
|
+
width: 100,
|
|
36
|
+
height: 100,
|
|
37
|
+
fillStyle: '#fff',
|
|
38
|
+
strokeStyle: '#000',
|
|
39
|
+
alpha: 1,
|
|
40
|
+
hidden: false,
|
|
41
|
+
lineWidth: 1,
|
|
42
|
+
lineDash: 'solid',
|
|
43
|
+
lineCap: 'butt'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: 'ellipse',
|
|
48
|
+
description: 'ellipse shape',
|
|
49
|
+
icon: ellipse,
|
|
50
|
+
group: 'shape',
|
|
51
|
+
model: {
|
|
52
|
+
type: 'ellipse',
|
|
53
|
+
rx: 50,
|
|
54
|
+
ry: 50,
|
|
55
|
+
cx: 150,
|
|
56
|
+
cy: 150,
|
|
57
|
+
fillStyle: '#fff',
|
|
58
|
+
strokeStyle: '#000',
|
|
59
|
+
alpha: 1,
|
|
60
|
+
hidden: false,
|
|
61
|
+
lineWidth: 1,
|
|
62
|
+
lineDash: 'solid',
|
|
63
|
+
lineCap: 'butt'
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
type: 'donut',
|
|
68
|
+
description: 'donut shape',
|
|
69
|
+
icon: donut,
|
|
70
|
+
group: 'shape',
|
|
71
|
+
model: {
|
|
72
|
+
type: 'donut',
|
|
73
|
+
rx: 50,
|
|
74
|
+
ry: 50,
|
|
75
|
+
cx: 150,
|
|
76
|
+
cy: 150,
|
|
77
|
+
ratio: 30,
|
|
78
|
+
fillStyle: '#fff',
|
|
79
|
+
strokeStyle: '#000',
|
|
80
|
+
alpha: 1,
|
|
81
|
+
hidden: false,
|
|
82
|
+
lineWidth: 1,
|
|
83
|
+
lineDash: 'solid',
|
|
84
|
+
lineCap: 'butt'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
type: 'triangle',
|
|
89
|
+
description: 'triangle shape',
|
|
90
|
+
icon: triangle,
|
|
91
|
+
group: 'shape',
|
|
92
|
+
model: {
|
|
93
|
+
type: 'triangle',
|
|
94
|
+
x1: 150,
|
|
95
|
+
y1: 100,
|
|
96
|
+
x2: 100,
|
|
97
|
+
y2: 200,
|
|
98
|
+
x3: 200,
|
|
99
|
+
y3: 200,
|
|
100
|
+
fillStyle: '#fff',
|
|
101
|
+
strokeStyle: '#000',
|
|
102
|
+
alpha: 1,
|
|
103
|
+
hidden: false,
|
|
104
|
+
lineWidth: 1,
|
|
105
|
+
lineDash: 'solid',
|
|
106
|
+
lineCap: 'butt'
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'polygon',
|
|
111
|
+
description: 'polygon shape',
|
|
112
|
+
icon: polygon,
|
|
113
|
+
group: 'shape',
|
|
114
|
+
model: {
|
|
115
|
+
type: 'polygon',
|
|
116
|
+
path: [
|
|
117
|
+
{ x: 100, y: 100 },
|
|
118
|
+
{ x: 200, y: 100 },
|
|
119
|
+
{ x: 200, y: 200 },
|
|
120
|
+
{ x: 100, y: 200 }
|
|
121
|
+
],
|
|
122
|
+
fillStyle: '#fff',
|
|
123
|
+
strokeStyle: '#000',
|
|
124
|
+
alpha: 1,
|
|
125
|
+
hidden: false,
|
|
126
|
+
lineWidth: 1,
|
|
127
|
+
lineDash: 'solid',
|
|
128
|
+
lineCap: 'butt'
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'star',
|
|
133
|
+
description: 'star shape',
|
|
134
|
+
icon: star,
|
|
135
|
+
group: 'shape',
|
|
136
|
+
model: {
|
|
137
|
+
type: 'star',
|
|
138
|
+
rx: 50,
|
|
139
|
+
ry: 50,
|
|
140
|
+
cx: 150,
|
|
141
|
+
cy: 150,
|
|
142
|
+
ratio: 30,
|
|
143
|
+
wing: 5,
|
|
144
|
+
fillStyle: '#fff',
|
|
145
|
+
strokeStyle: '#000',
|
|
146
|
+
alpha: 1,
|
|
147
|
+
hidden: false,
|
|
148
|
+
lineWidth: 1,
|
|
149
|
+
lineDash: 'solid',
|
|
150
|
+
lineCap: 'butt'
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentGroup } from '../types'
|
|
2
|
+
|
|
3
|
+
const icon = `
|
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st5{fill:none;stroke:{{strokeColor}};stroke-width:2;stroke-miterlimit:10;}
|
|
7
|
+
.st9{fill:none;stroke:{{strokeColor}};stroke-miterlimit:10;}
|
|
8
|
+
.st10{fill:none;stroke:{{strokeColor}};stroke-width:0.5;stroke-miterlimit:10;}
|
|
9
|
+
</style>
|
|
10
|
+
<g>
|
|
11
|
+
<rect x="2.4" y="6" class="st9" width="25.2" height="18"/>
|
|
12
|
+
<rect x="11" y="12.5" transform="matrix(-1.742238e-05 1 -1 -1.742238e-05 35.0187 -4.9804)" class="st10" width="17.9" height="5.1"/>
|
|
13
|
+
<rect x="5.9" y="12.5" transform="matrix(-1.742238e-05 1 -1 -1.742238e-05 29.8973 0.1408)" class="st10" width="17.9" height="5.1"/>
|
|
14
|
+
<line class="st5" x1="2" y1="7.5" x2="28" y2="7.5"/>
|
|
15
|
+
<line class="st10" x1="2" y1="11.6" x2="28" y2="11.6"/>
|
|
16
|
+
<line class="st10" x1="2" y1="14.8" x2="28" y2="14.8"/>
|
|
17
|
+
<line class="st10" x1="2" y1="18.1" x2="28" y2="18.1"/>
|
|
18
|
+
<line class="st10" x1="2" y1="21.3" x2="28" y2="21.3"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
21
|
+
`
|
|
22
|
+
|
|
23
|
+
export const table: ComponentGroup = {
|
|
24
|
+
name: 'table',
|
|
25
|
+
description: 'a group of various tables',
|
|
26
|
+
icon,
|
|
27
|
+
templates: []
|
|
28
|
+
}
|