@antv/infographic 0.2.11 → 0.2.12
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/dist/infographic.min.js +1 -1
- package/dist/infographic.min.js.map +1 -1
- package/esm/designs/components/Btn.js +15 -4
- package/esm/designs/components/BtnsGroup.js +1 -1
- package/esm/designs/components/Illus.js +15 -3
- package/esm/designs/components/ItemDesc.js +17 -11
- package/esm/designs/components/ItemIcon.js +17 -18
- package/esm/designs/components/ItemLabel.js +17 -11
- package/esm/designs/components/ItemValue.js +17 -12
- package/esm/designs/components/ItemsGroup.js +1 -1
- package/esm/designs/components/ShapesGroup.js +1 -1
- package/esm/designs/components/Title.js +2 -2
- package/esm/designs/decorations/simple-arrow.js +14 -2
- package/esm/designs/decorations/triangle.js +14 -2
- package/esm/designs/defs/DropShadow.js +13 -2
- package/esm/designs/defs/LinearGradient.js +1 -1
- package/esm/designs/items/BadgeCard.js +2 -2
- package/esm/designs/items/CandyCardLite.js +1 -1
- package/esm/designs/items/CapsuleItem.js +3 -3
- package/esm/designs/items/CircleNode.js +1 -1
- package/esm/designs/items/CircularProgress.js +3 -2
- package/esm/designs/items/CompactCard.js +1 -1
- package/esm/designs/items/DoneList.js +1 -1
- package/esm/designs/items/HorizontalIconArrow.js +2 -2
- package/esm/designs/items/HorizontalIconLine.js +2 -2
- package/esm/designs/items/IconBadge.js +4 -3
- package/esm/designs/items/IndexedCard.js +1 -1
- package/esm/designs/items/LCornerCard.js +1 -1
- package/esm/designs/items/LetterCard.js +4 -3
- package/esm/designs/items/LinedText.js +6 -5
- package/esm/designs/items/PillBadge.js +2 -2
- package/esm/designs/items/PlainText.js +4 -4
- package/esm/designs/items/ProgressCard.js +4 -4
- package/esm/designs/items/QuarterCircular.js +1 -1
- package/esm/designs/items/QuarterSimpleCard.js +1 -1
- package/esm/designs/items/RibbonCard.js +2 -2
- package/esm/designs/items/RoundedRectNode.js +2 -2
- package/esm/designs/items/SimpleCircleNode.js +1 -1
- package/esm/designs/items/SimpleHorizontalArrow.js +2 -2
- package/esm/designs/items/SimpleIllusItem.js +1 -1
- package/esm/designs/items/SimpleItem.js +3 -3
- package/esm/designs/items/SimpleVerticalArrow.js +2 -2
- package/esm/designs/items/UnderlineText.js +1 -1
- package/esm/designs/items/VerticalIconArrow.js +2 -2
- package/esm/designs/layouts/Align.js +22 -15
- package/esm/designs/layouts/Flex.js +23 -16
- package/esm/designs/structures/chart-bar.js +7 -5
- package/esm/designs/structures/chart-column.js +3 -2
- package/esm/designs/structures/chart-line.js +7 -5
- package/esm/designs/structures/chart-pie.js +4 -3
- package/esm/designs/structures/chart-wordcloud.js +5 -14
- package/esm/designs/structures/compare-binary-horizontal/dividers/pros-cons-arrow.js +1 -1
- package/esm/designs/structures/compare-binary-horizontal/dividers/pros-cons-fold.js +1 -1
- package/esm/designs/structures/compare-binary-horizontal/dividers/types.js +2 -1
- package/esm/designs/structures/compare-hierarchy-left-right.js +6 -5
- package/esm/designs/structures/compare-hierarchy-row.js +3 -2
- package/esm/designs/structures/compare-quadrant.js +2 -3
- package/esm/designs/structures/hierarchy-mindmap.js +19 -19
- package/esm/designs/structures/hierarchy-structure.js +1 -1
- package/esm/designs/structures/hierarchy-tree.js +15 -24
- package/esm/designs/structures/list-sector.js +5 -6
- package/esm/designs/structures/list-zigzag.js +2 -1
- package/esm/designs/structures/relation-dagre-flow.js +30 -35
- package/esm/designs/structures/relation-network.js +2 -2
- package/esm/designs/structures/sequence-funnel.js +1 -1
- package/esm/designs/structures/sequence-mountain.js +4 -4
- package/esm/designs/structures/sequence-pyramid.js +1 -1
- package/esm/designs/structures/sequence-zigzag-steps.js +2 -1
- package/esm/designs/utils/color.js +8 -4
- package/esm/designs/utils/item.js +3 -2
- package/esm/editor/commands/Batch.js +21 -8
- package/esm/editor/commands/UpdateElement.js +25 -22
- package/esm/editor/commands/UpdateOptions.js +23 -10
- package/esm/editor/commands/UpdateText.js +24 -11
- package/esm/editor/interactions/brush-select.js +27 -13
- package/esm/editor/interactions/click-select.js +13 -3
- package/esm/editor/interactions/dblclick-edit-text.js +36 -20
- package/esm/editor/interactions/drag-element.js +23 -9
- package/esm/editor/interactions/hotkey-history.js +17 -7
- package/esm/editor/interactions/select-highlight.js +5 -9
- package/esm/editor/interactions/zoom-wheel.js +2 -1
- package/esm/editor/managers/command.js +45 -27
- package/esm/editor/managers/interaction.js +46 -33
- package/esm/editor/managers/state.js +1 -1
- package/esm/editor/plugins/edit-bar/components/color-picker.js +9 -6
- package/esm/editor/plugins/edit-bar/components/popover.js +15 -12
- package/esm/editor/plugins/edit-bar/components/select.js +10 -8
- package/esm/editor/plugins/edit-bar/edit-bar.js +7 -25
- package/esm/editor/plugins/edit-bar/edit-items/align-elements.js +5 -3
- package/esm/editor/plugins/edit-bar/edit-items/font-align.js +1 -1
- package/esm/editor/plugins/edit-bar/edit-items/font-color.js +2 -2
- package/esm/editor/plugins/edit-bar/edit-items/icon-color.js +2 -2
- package/esm/editor/plugins/resize-element.js +6 -4
- package/esm/editor/utils/click-handler.js +6 -3
- package/esm/editor/utils/coordinate.js +2 -1
- package/esm/editor/utils/element.js +2 -1
- package/esm/editor/utils/event.js +2 -1
- package/esm/editor/utils/extension.js +1 -1
- package/esm/editor/utils/hotkey.js +2 -1
- package/esm/exporter/font.js +106 -90
- package/esm/exporter/png.js +49 -37
- package/esm/exporter/svg.js +55 -38
- package/esm/jsx/components/Ellipse.js +5 -4
- package/esm/jsx/components/Path.js +2 -4
- package/esm/jsx/components/Polygon.js +15 -6
- package/esm/jsx/components/Text.js +21 -41
- package/esm/jsx/renderer.js +15 -7
- package/esm/jsx/utils/bounds.js +18 -16
- package/esm/jsx/utils/children.js +2 -1
- package/esm/jsx/utils/clone.js +13 -2
- package/esm/jsx/utils/element.js +2 -1
- package/esm/options/parser.js +45 -46
- package/esm/renderer/composites/background.js +3 -2
- package/esm/renderer/composites/icon.js +14 -19
- package/esm/renderer/composites/illus.js +17 -22
- package/esm/renderer/composites/shape.js +4 -2
- package/esm/renderer/composites/svg.js +2 -1
- package/esm/renderer/composites/text.js +5 -3
- package/esm/renderer/fonts/loader.js +4 -3
- package/esm/renderer/fonts/registry.js +1 -1
- package/esm/renderer/palettes/utils.js +3 -2
- package/esm/renderer/renderer.js +7 -5
- package/esm/renderer/stylize/gradient.js +3 -2
- package/esm/renderer/stylize/pattern.js +15 -8
- package/esm/renderer/stylize/rough.js +1 -1
- package/esm/resource/load-tracker.js +22 -10
- package/esm/resource/loader.js +80 -67
- package/esm/resource/loaders/image.js +71 -59
- package/esm/resource/loaders/remote.js +26 -15
- package/esm/resource/loaders/search.js +38 -25
- package/esm/resource/utils/parser.js +2 -1
- package/esm/runtime/Infographic.js +26 -13
- package/esm/runtime/utils.js +5 -8
- package/esm/ssr/renderer.js +42 -35
- package/esm/syntax/index.js +19 -6
- package/esm/syntax/mapper.js +2 -2
- package/esm/templates/built-in.js +96 -200
- package/esm/templates/hierarchy-mindmap.js +1 -5
- package/esm/templates/hierarchy-tree.js +1 -5
- package/esm/templates/relation-dagre-flow.js +4 -28
- package/esm/themes/generator.js +8 -14
- package/esm/utils/fetch.js +48 -35
- package/esm/utils/icon.js +1 -4
- package/esm/utils/is-browser.js +2 -2
- package/esm/utils/measure-text.js +2 -1
- package/esm/utils/padding.js +1 -1
- package/esm/utils/recognizer.js +2 -1
- package/esm/utils/text.js +14 -3
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/lib/designs/components/Btn.js +15 -4
- package/lib/designs/components/BtnsGroup.js +1 -1
- package/lib/designs/components/Illus.js +15 -3
- package/lib/designs/components/ItemDesc.js +17 -11
- package/lib/designs/components/ItemIcon.js +17 -18
- package/lib/designs/components/ItemLabel.js +17 -11
- package/lib/designs/components/ItemValue.js +17 -12
- package/lib/designs/components/ItemsGroup.js +1 -1
- package/lib/designs/components/ShapesGroup.js +1 -1
- package/lib/designs/components/Title.js +2 -2
- package/lib/designs/decorations/simple-arrow.js +14 -2
- package/lib/designs/decorations/triangle.js +14 -2
- package/lib/designs/defs/DropShadow.js +13 -2
- package/lib/designs/defs/LinearGradient.js +1 -1
- package/lib/designs/items/BadgeCard.js +2 -2
- package/lib/designs/items/CandyCardLite.js +1 -1
- package/lib/designs/items/CapsuleItem.js +3 -3
- package/lib/designs/items/CircleNode.js +1 -1
- package/lib/designs/items/CircularProgress.js +3 -2
- package/lib/designs/items/CompactCard.js +1 -1
- package/lib/designs/items/DoneList.js +1 -1
- package/lib/designs/items/HorizontalIconArrow.js +2 -2
- package/lib/designs/items/HorizontalIconLine.js +2 -2
- package/lib/designs/items/IconBadge.js +4 -3
- package/lib/designs/items/IndexedCard.js +1 -1
- package/lib/designs/items/LCornerCard.js +1 -1
- package/lib/designs/items/LetterCard.js +4 -3
- package/lib/designs/items/LinedText.js +6 -5
- package/lib/designs/items/PillBadge.js +2 -2
- package/lib/designs/items/PlainText.js +4 -4
- package/lib/designs/items/ProgressCard.js +4 -4
- package/lib/designs/items/QuarterCircular.js +1 -1
- package/lib/designs/items/QuarterSimpleCard.js +1 -1
- package/lib/designs/items/RibbonCard.js +2 -2
- package/lib/designs/items/RoundedRectNode.js +2 -2
- package/lib/designs/items/SimpleCircleNode.js +1 -1
- package/lib/designs/items/SimpleHorizontalArrow.js +2 -2
- package/lib/designs/items/SimpleIllusItem.js +1 -1
- package/lib/designs/items/SimpleItem.js +3 -3
- package/lib/designs/items/SimpleVerticalArrow.js +2 -2
- package/lib/designs/items/UnderlineText.js +1 -1
- package/lib/designs/items/VerticalIconArrow.js +2 -2
- package/lib/designs/layouts/Align.js +22 -15
- package/lib/designs/layouts/Flex.js +23 -16
- package/lib/designs/structures/chart-bar.js +7 -5
- package/lib/designs/structures/chart-column.js +3 -2
- package/lib/designs/structures/chart-line.js +7 -5
- package/lib/designs/structures/chart-pie.js +4 -3
- package/lib/designs/structures/chart-wordcloud.js +5 -14
- package/lib/designs/structures/compare-binary-horizontal/dividers/pros-cons-arrow.js +1 -1
- package/lib/designs/structures/compare-binary-horizontal/dividers/pros-cons-fold.js +1 -1
- package/lib/designs/structures/compare-binary-horizontal/dividers/types.js +2 -1
- package/lib/designs/structures/compare-hierarchy-left-right.js +6 -5
- package/lib/designs/structures/compare-hierarchy-row.js +3 -2
- package/lib/designs/structures/compare-quadrant.js +2 -3
- package/lib/designs/structures/hierarchy-mindmap.js +19 -19
- package/lib/designs/structures/hierarchy-structure.js +1 -1
- package/lib/designs/structures/hierarchy-tree.js +15 -24
- package/lib/designs/structures/list-sector.js +5 -6
- package/lib/designs/structures/list-zigzag.js +2 -1
- package/lib/designs/structures/relation-dagre-flow.js +30 -35
- package/lib/designs/structures/relation-network.js +2 -2
- package/lib/designs/structures/sequence-funnel.js +1 -1
- package/lib/designs/structures/sequence-mountain.js +4 -4
- package/lib/designs/structures/sequence-pyramid.js +1 -1
- package/lib/designs/structures/sequence-zigzag-steps.js +2 -1
- package/lib/designs/utils/color.js +8 -4
- package/lib/designs/utils/item.js +3 -2
- package/lib/editor/commands/Batch.js +21 -8
- package/lib/editor/commands/UpdateElement.js +25 -22
- package/lib/editor/commands/UpdateOptions.js +23 -10
- package/lib/editor/commands/UpdateText.js +24 -11
- package/lib/editor/interactions/brush-select.js +27 -13
- package/lib/editor/interactions/click-select.js +13 -3
- package/lib/editor/interactions/dblclick-edit-text.js +36 -20
- package/lib/editor/interactions/drag-element.js +23 -9
- package/lib/editor/interactions/hotkey-history.js +17 -7
- package/lib/editor/interactions/select-highlight.js +5 -9
- package/lib/editor/interactions/zoom-wheel.js +2 -1
- package/lib/editor/managers/command.js +43 -25
- package/lib/editor/managers/interaction.js +46 -33
- package/lib/editor/managers/state.js +1 -1
- package/lib/editor/plugins/edit-bar/components/color-picker.js +9 -6
- package/lib/editor/plugins/edit-bar/components/popover.js +15 -12
- package/lib/editor/plugins/edit-bar/components/select.js +10 -8
- package/lib/editor/plugins/edit-bar/edit-bar.js +7 -25
- package/lib/editor/plugins/edit-bar/edit-items/align-elements.js +5 -3
- package/lib/editor/plugins/edit-bar/edit-items/font-align.js +1 -1
- package/lib/editor/plugins/edit-bar/edit-items/font-color.js +2 -2
- package/lib/editor/plugins/edit-bar/edit-items/icon-color.js +2 -2
- package/lib/editor/plugins/resize-element.js +6 -4
- package/lib/editor/utils/click-handler.js +6 -3
- package/lib/editor/utils/coordinate.js +2 -1
- package/lib/editor/utils/element.js +2 -1
- package/lib/editor/utils/event.js +2 -1
- package/lib/editor/utils/extension.js +1 -1
- package/lib/editor/utils/hotkey.js +2 -1
- package/lib/exporter/font.js +106 -90
- package/lib/exporter/png.js +49 -37
- package/lib/exporter/svg.js +55 -38
- package/lib/jsx/components/Ellipse.js +5 -4
- package/lib/jsx/components/Path.js +2 -4
- package/lib/jsx/components/Polygon.js +15 -6
- package/lib/jsx/components/Text.js +21 -41
- package/lib/jsx/renderer.js +15 -7
- package/lib/jsx/utils/bounds.js +18 -16
- package/lib/jsx/utils/children.js +2 -1
- package/lib/jsx/utils/clone.js +13 -2
- package/lib/jsx/utils/element.js +2 -1
- package/lib/options/parser.js +45 -46
- package/lib/renderer/composites/background.js +3 -2
- package/lib/renderer/composites/icon.js +14 -19
- package/lib/renderer/composites/illus.js +17 -22
- package/lib/renderer/composites/shape.js +4 -2
- package/lib/renderer/composites/svg.js +2 -1
- package/lib/renderer/composites/text.js +5 -3
- package/lib/renderer/fonts/loader.js +4 -3
- package/lib/renderer/fonts/registry.js +1 -1
- package/lib/renderer/palettes/utils.js +3 -2
- package/lib/renderer/renderer.js +7 -5
- package/lib/renderer/stylize/gradient.js +3 -2
- package/lib/renderer/stylize/pattern.js +15 -8
- package/lib/renderer/stylize/rough.js +1 -1
- package/lib/resource/load-tracker.js +22 -10
- package/lib/resource/loader.js +80 -67
- package/lib/resource/loaders/image.js +71 -59
- package/lib/resource/loaders/remote.js +26 -15
- package/lib/resource/loaders/search.js +38 -25
- package/lib/resource/utils/parser.js +2 -1
- package/lib/runtime/Infographic.js +26 -13
- package/lib/runtime/utils.js +5 -8
- package/lib/ssr/renderer.js +42 -35
- package/lib/syntax/index.js +19 -6
- package/lib/syntax/mapper.js +2 -2
- package/lib/templates/built-in.js +96 -200
- package/lib/templates/hierarchy-mindmap.js +1 -5
- package/lib/templates/hierarchy-tree.js +1 -5
- package/lib/templates/relation-dagre-flow.js +4 -28
- package/lib/themes/generator.js +8 -14
- package/lib/utils/fetch.js +48 -35
- package/lib/utils/icon.js +1 -4
- package/lib/utils/is-browser.js +2 -2
- package/lib/utils/measure-text.js +2 -1
- package/lib/utils/padding.js +1 -1
- package/lib/utils/recognizer.js +2 -1
- package/lib/utils/text.js +14 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
|
@@ -9,8 +9,7 @@ const registry_1 = require("./registry");
|
|
|
9
9
|
const relation_dagre_flow_1 = require("./relation-dagre-flow");
|
|
10
10
|
const sequence_stairs_1 = require("./sequence-stairs");
|
|
11
11
|
const word_cloud_1 = require("./word-cloud");
|
|
12
|
-
const BUILT_IN_TEMPLATES = {
|
|
13
|
-
'compare-hierarchy-left-right-circle-node-pill-badge': {
|
|
12
|
+
const BUILT_IN_TEMPLATES = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ 'compare-hierarchy-left-right-circle-node-pill-badge': {
|
|
14
13
|
design: {
|
|
15
14
|
structure: {
|
|
16
15
|
type: 'compare-hierarchy-left-right',
|
|
@@ -22,8 +21,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
22
21
|
items: [{ type: 'circle-node', width: 240 }, 'pill-badge'],
|
|
23
22
|
},
|
|
24
23
|
themeConfig: {},
|
|
25
|
-
},
|
|
26
|
-
'compare-hierarchy-left-right-circle-node-plain-text': {
|
|
24
|
+
}, 'compare-hierarchy-left-right-circle-node-plain-text': {
|
|
27
25
|
design: {
|
|
28
26
|
title: 'default',
|
|
29
27
|
structure: {
|
|
@@ -34,8 +32,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
34
32
|
},
|
|
35
33
|
items: [{ type: 'circle-node', width: 180 }, { type: 'plain-text' }],
|
|
36
34
|
},
|
|
37
|
-
},
|
|
38
|
-
'list-pyramid-rounded-rect-node': {
|
|
35
|
+
}, 'list-pyramid-rounded-rect-node': {
|
|
39
36
|
design: {
|
|
40
37
|
title: 'default',
|
|
41
38
|
structure: {
|
|
@@ -43,204 +40,175 @@ const BUILT_IN_TEMPLATES = {
|
|
|
43
40
|
},
|
|
44
41
|
items: [{ type: 'rounded-rect-node' }],
|
|
45
42
|
},
|
|
46
|
-
},
|
|
47
|
-
'list-pyramid-badge-card': {
|
|
43
|
+
}, 'list-pyramid-badge-card': {
|
|
48
44
|
design: {
|
|
49
45
|
title: 'default',
|
|
50
46
|
structure: { type: 'list-pyramid' },
|
|
51
47
|
items: [{ type: 'badge-card' }],
|
|
52
48
|
},
|
|
53
|
-
},
|
|
54
|
-
'list-pyramid-compact-card': {
|
|
49
|
+
}, 'list-pyramid-compact-card': {
|
|
55
50
|
design: {
|
|
56
51
|
title: 'default',
|
|
57
52
|
structure: { type: 'list-pyramid' },
|
|
58
53
|
items: [{ type: 'compact-card' }],
|
|
59
54
|
},
|
|
60
|
-
},
|
|
61
|
-
'list-column-done-list': {
|
|
55
|
+
}, 'list-column-done-list': {
|
|
62
56
|
design: {
|
|
63
57
|
title: 'default',
|
|
64
58
|
structure: { type: 'list-column' },
|
|
65
59
|
items: [{ type: 'done-list' }],
|
|
66
60
|
},
|
|
67
|
-
},
|
|
68
|
-
'list-column-vertical-icon-arrow': {
|
|
61
|
+
}, 'list-column-vertical-icon-arrow': {
|
|
69
62
|
design: {
|
|
70
63
|
title: 'default',
|
|
71
64
|
structure: { type: 'list-column', gap: -5, zigzag: true },
|
|
72
65
|
items: [{ type: 'vertical-icon-arrow' }],
|
|
73
66
|
},
|
|
74
|
-
},
|
|
75
|
-
'list-grid-badge-card': {
|
|
67
|
+
}, 'list-grid-badge-card': {
|
|
76
68
|
design: {
|
|
77
69
|
title: 'default',
|
|
78
70
|
structure: { type: 'list-grid' },
|
|
79
71
|
items: [{ type: 'badge-card' }],
|
|
80
72
|
},
|
|
81
|
-
},
|
|
82
|
-
'list-grid-candy-card-lite': {
|
|
73
|
+
}, 'list-grid-candy-card-lite': {
|
|
83
74
|
design: {
|
|
84
75
|
title: 'default',
|
|
85
76
|
structure: { type: 'list-grid' },
|
|
86
77
|
items: [{ type: 'candy-card-lite' }],
|
|
87
78
|
},
|
|
88
|
-
},
|
|
89
|
-
'chart-column-simple': {
|
|
79
|
+
}, 'chart-column-simple': {
|
|
90
80
|
design: {
|
|
91
81
|
title: 'default',
|
|
92
82
|
structure: { type: 'chart-column' },
|
|
93
83
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
94
84
|
},
|
|
95
|
-
},
|
|
96
|
-
'list-grid-circular-progress': {
|
|
85
|
+
}, 'list-grid-circular-progress': {
|
|
97
86
|
design: {
|
|
98
87
|
title: 'default',
|
|
99
88
|
structure: { type: 'list-grid' },
|
|
100
89
|
items: [{ type: 'circular-progress' }],
|
|
101
90
|
},
|
|
102
|
-
},
|
|
103
|
-
'list-grid-compact-card': {
|
|
91
|
+
}, 'list-grid-compact-card': {
|
|
104
92
|
design: {
|
|
105
93
|
title: 'default',
|
|
106
94
|
structure: { type: 'list-grid' },
|
|
107
95
|
items: [{ type: 'compact-card' }],
|
|
108
96
|
},
|
|
109
|
-
},
|
|
110
|
-
'list-grid-done-list': {
|
|
97
|
+
}, 'list-grid-done-list': {
|
|
111
98
|
design: {
|
|
112
99
|
title: 'default',
|
|
113
100
|
structure: { type: 'list-grid' },
|
|
114
101
|
items: [{ type: 'done-list' }],
|
|
115
102
|
},
|
|
116
|
-
},
|
|
117
|
-
'list-grid-horizontal-icon-arrow': {
|
|
103
|
+
}, 'list-grid-horizontal-icon-arrow': {
|
|
118
104
|
design: {
|
|
119
105
|
title: 'default',
|
|
120
106
|
structure: { type: 'list-grid', gap: 0, zigzag: true },
|
|
121
107
|
items: [{ type: 'horizontal-icon-arrow' }],
|
|
122
108
|
},
|
|
123
|
-
},
|
|
124
|
-
'list-grid-progress-card': {
|
|
109
|
+
}, 'list-grid-progress-card': {
|
|
125
110
|
design: {
|
|
126
111
|
title: 'default',
|
|
127
112
|
structure: { type: 'list-grid' },
|
|
128
113
|
items: [{ type: 'progress-card' }],
|
|
129
114
|
},
|
|
130
|
-
},
|
|
131
|
-
'list-grid-ribbon-card': {
|
|
115
|
+
}, 'list-grid-ribbon-card': {
|
|
132
116
|
design: {
|
|
133
117
|
title: 'default',
|
|
134
118
|
structure: { type: 'list-grid' },
|
|
135
119
|
items: [{ type: 'ribbon-card' }],
|
|
136
120
|
},
|
|
137
|
-
},
|
|
138
|
-
'list-grid-simple': {
|
|
121
|
+
}, 'list-grid-simple': {
|
|
139
122
|
design: {
|
|
140
123
|
title: 'default',
|
|
141
124
|
structure: { type: 'list-grid' },
|
|
142
125
|
items: [{ type: 'simple' }],
|
|
143
126
|
},
|
|
144
|
-
},
|
|
145
|
-
'list-row-circular-progress': {
|
|
127
|
+
}, 'list-row-circular-progress': {
|
|
146
128
|
design: {
|
|
147
129
|
title: 'default',
|
|
148
130
|
structure: { type: 'list-row' },
|
|
149
131
|
items: [{ type: 'circular-progress' }],
|
|
150
132
|
},
|
|
151
|
-
},
|
|
152
|
-
'list-row-horizontal-icon-arrow': {
|
|
133
|
+
}, 'list-row-horizontal-icon-arrow': {
|
|
153
134
|
design: {
|
|
154
135
|
title: 'default',
|
|
155
136
|
structure: { type: 'list-row', gap: 0, zigzag: true },
|
|
156
137
|
items: [{ type: 'horizontal-icon-arrow' }],
|
|
157
138
|
},
|
|
158
|
-
},
|
|
159
|
-
'relation-circle-circular-progress': {
|
|
139
|
+
}, 'relation-circle-circular-progress': {
|
|
160
140
|
design: {
|
|
161
141
|
title: 'default',
|
|
162
142
|
structure: { type: 'relation-circle' },
|
|
163
143
|
items: [{ type: 'circular-progress' }],
|
|
164
144
|
},
|
|
165
|
-
},
|
|
166
|
-
'relation-circle-icon-badge': {
|
|
145
|
+
}, 'relation-circle-icon-badge': {
|
|
167
146
|
design: {
|
|
168
147
|
title: 'default',
|
|
169
148
|
structure: { type: 'relation-circle' },
|
|
170
149
|
items: [{ type: 'icon-badge' }],
|
|
171
150
|
},
|
|
172
|
-
},
|
|
173
|
-
'sequence-steps-badge-card': {
|
|
151
|
+
}, 'sequence-steps-badge-card': {
|
|
174
152
|
design: {
|
|
175
153
|
title: 'default',
|
|
176
154
|
structure: { type: 'sequence-steps' },
|
|
177
155
|
items: [{ type: 'badge-card' }],
|
|
178
156
|
},
|
|
179
|
-
},
|
|
180
|
-
'sequence-steps-simple': {
|
|
157
|
+
}, 'sequence-steps-simple': {
|
|
181
158
|
design: {
|
|
182
159
|
title: 'default',
|
|
183
160
|
structure: { type: 'sequence-steps', gap: 10 },
|
|
184
161
|
items: [{ type: 'simple' }],
|
|
185
162
|
},
|
|
186
|
-
},
|
|
187
|
-
'sequence-timeline-done-list': {
|
|
163
|
+
}, 'sequence-timeline-done-list': {
|
|
188
164
|
design: {
|
|
189
165
|
title: 'default',
|
|
190
166
|
structure: { type: 'sequence-timeline' },
|
|
191
167
|
items: [{ type: 'done-list' }],
|
|
192
168
|
},
|
|
193
|
-
},
|
|
194
|
-
'sequence-timeline-plain-text': {
|
|
169
|
+
}, 'sequence-timeline-plain-text': {
|
|
195
170
|
design: {
|
|
196
171
|
title: 'default',
|
|
197
172
|
structure: { type: 'sequence-timeline' },
|
|
198
173
|
items: [{ type: 'plain-text' }],
|
|
199
174
|
},
|
|
200
|
-
},
|
|
201
|
-
'sequence-timeline-rounded-rect-node': {
|
|
175
|
+
}, 'sequence-timeline-rounded-rect-node': {
|
|
202
176
|
design: {
|
|
203
177
|
title: 'default',
|
|
204
178
|
structure: { type: 'sequence-timeline' },
|
|
205
179
|
items: [{ type: 'rounded-rect-node' }],
|
|
206
180
|
},
|
|
207
|
-
},
|
|
208
|
-
'sequence-ascending-steps': {
|
|
181
|
+
}, 'sequence-ascending-steps': {
|
|
209
182
|
design: {
|
|
210
183
|
title: 'default',
|
|
211
184
|
structure: { type: 'sequence-ascending-steps', vGap: -46, hGap: -20 },
|
|
212
185
|
items: [{ type: 'l-corner-card' }],
|
|
213
186
|
},
|
|
214
|
-
},
|
|
215
|
-
'sequence-timeline-simple': {
|
|
187
|
+
}, 'sequence-timeline-simple': {
|
|
216
188
|
design: {
|
|
217
189
|
title: 'default',
|
|
218
190
|
structure: { type: 'sequence-timeline', gap: 20 },
|
|
219
191
|
items: [{ type: 'simple', positionV: 'middle' }],
|
|
220
192
|
},
|
|
221
|
-
},
|
|
222
|
-
'sequence-cylinders-3d-simple': {
|
|
193
|
+
}, 'sequence-cylinders-3d-simple': {
|
|
223
194
|
design: {
|
|
224
195
|
title: 'default',
|
|
225
196
|
structure: { type: 'sequence-cylinders-3d', gapY: 20 },
|
|
226
197
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
227
198
|
},
|
|
228
|
-
},
|
|
229
|
-
'list-column-simple-vertical-arrow': {
|
|
199
|
+
}, 'list-column-simple-vertical-arrow': {
|
|
230
200
|
design: {
|
|
231
201
|
title: 'default',
|
|
232
202
|
structure: { type: 'list-column', gap: 0, zigzag: true },
|
|
233
203
|
items: [{ type: 'simple-vertical-arrow' }],
|
|
234
204
|
},
|
|
235
|
-
},
|
|
236
|
-
'list-row-simple-horizontal-arrow': {
|
|
205
|
+
}, 'list-row-simple-horizontal-arrow': {
|
|
237
206
|
design: {
|
|
238
207
|
title: 'default',
|
|
239
208
|
structure: { type: 'list-row', gap: 0, zigzag: true },
|
|
240
209
|
items: [{ type: 'simple-horizontal-arrow' }],
|
|
241
210
|
},
|
|
242
|
-
},
|
|
243
|
-
'compare-swot': {
|
|
211
|
+
}, 'compare-swot': {
|
|
244
212
|
design: {
|
|
245
213
|
title: 'default',
|
|
246
214
|
structure: {
|
|
@@ -259,50 +227,43 @@ const BUILT_IN_TEMPLATES = {
|
|
|
259
227
|
},
|
|
260
228
|
],
|
|
261
229
|
},
|
|
262
|
-
},
|
|
263
|
-
'compare-hierarchy-row-letter-card-compact-card': {
|
|
230
|
+
}, 'compare-hierarchy-row-letter-card-compact-card': {
|
|
264
231
|
design: {
|
|
265
232
|
title: 'default',
|
|
266
233
|
structure: { type: 'compare-hierarchy-row' },
|
|
267
234
|
items: [{ type: 'letter-card' }, { type: 'compact-card' }],
|
|
268
235
|
},
|
|
269
|
-
},
|
|
270
|
-
'compare-hierarchy-row-letter-card-rounded-rect-node': {
|
|
236
|
+
}, 'compare-hierarchy-row-letter-card-rounded-rect-node': {
|
|
271
237
|
design: {
|
|
272
238
|
title: 'default',
|
|
273
239
|
structure: { type: 'compare-hierarchy-row' },
|
|
274
240
|
items: [{ type: 'letter-card' }, { type: 'rounded-rect-node' }],
|
|
275
241
|
},
|
|
276
|
-
},
|
|
277
|
-
'sequence-snake-steps-compact-card': {
|
|
242
|
+
}, 'sequence-snake-steps-compact-card': {
|
|
278
243
|
design: {
|
|
279
244
|
title: 'default',
|
|
280
245
|
structure: { type: 'sequence-snake-steps' },
|
|
281
246
|
items: [{ type: 'compact-card' }],
|
|
282
247
|
},
|
|
283
|
-
},
|
|
284
|
-
'sequence-snake-steps-pill-badge': {
|
|
248
|
+
}, 'sequence-snake-steps-pill-badge': {
|
|
285
249
|
design: {
|
|
286
250
|
title: 'default',
|
|
287
251
|
structure: { type: 'sequence-snake-steps' },
|
|
288
252
|
items: [{ type: 'pill-badge' }],
|
|
289
253
|
},
|
|
290
|
-
},
|
|
291
|
-
'sequence-snake-steps-simple': {
|
|
254
|
+
}, 'sequence-snake-steps-simple': {
|
|
292
255
|
design: {
|
|
293
256
|
title: 'default',
|
|
294
257
|
structure: { type: 'sequence-snake-steps' },
|
|
295
258
|
items: [{ type: 'simple' }],
|
|
296
259
|
},
|
|
297
|
-
},
|
|
298
|
-
'sequence-color-snake-steps-horizontal-icon-line': {
|
|
260
|
+
}, 'sequence-color-snake-steps-horizontal-icon-line': {
|
|
299
261
|
design: {
|
|
300
262
|
title: 'default',
|
|
301
263
|
structure: { type: 'sequence-color-snake-steps' },
|
|
302
264
|
items: [{ type: 'horizontal-icon-line' }],
|
|
303
265
|
},
|
|
304
|
-
},
|
|
305
|
-
'sequence-pyramid-simple': {
|
|
266
|
+
}, 'sequence-pyramid-simple': {
|
|
306
267
|
design: {
|
|
307
268
|
title: 'default',
|
|
308
269
|
structure: { type: 'sequence-pyramid' },
|
|
@@ -311,8 +272,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
311
272
|
themeConfig: {
|
|
312
273
|
colorPrimary: '#1677ff',
|
|
313
274
|
},
|
|
314
|
-
},
|
|
315
|
-
'sequence-funnel-simple': {
|
|
275
|
+
}, 'sequence-funnel-simple': {
|
|
316
276
|
design: {
|
|
317
277
|
title: 'default',
|
|
318
278
|
structure: { type: 'sequence-funnel' },
|
|
@@ -321,253 +281,217 @@ const BUILT_IN_TEMPLATES = {
|
|
|
321
281
|
themeConfig: {
|
|
322
282
|
palette: '#1677ff',
|
|
323
283
|
},
|
|
324
|
-
},
|
|
325
|
-
'list-row-horizontal-icon-line': {
|
|
284
|
+
}, 'list-row-horizontal-icon-line': {
|
|
326
285
|
design: {
|
|
327
286
|
title: 'default',
|
|
328
287
|
structure: { type: 'list-row', gap: 0, zigzag: true },
|
|
329
288
|
items: [{ type: 'horizontal-icon-line' }],
|
|
330
289
|
},
|
|
331
|
-
},
|
|
332
|
-
'list-sector-simple': {
|
|
290
|
+
}, 'list-sector-simple': {
|
|
333
291
|
design: {
|
|
334
292
|
title: 'default',
|
|
335
293
|
structure: { type: 'list-sector' },
|
|
336
294
|
items: [{ type: 'simple' }],
|
|
337
295
|
},
|
|
338
|
-
},
|
|
339
|
-
'list-sector-plain-text': {
|
|
296
|
+
}, 'list-sector-plain-text': {
|
|
340
297
|
design: {
|
|
341
298
|
title: 'default',
|
|
342
299
|
structure: { type: 'list-sector' },
|
|
343
300
|
items: [{ type: 'plain-text' }],
|
|
344
301
|
},
|
|
345
|
-
},
|
|
346
|
-
'list-sector-half-plain-text': {
|
|
302
|
+
}, 'list-sector-half-plain-text': {
|
|
347
303
|
design: {
|
|
348
304
|
title: 'default',
|
|
349
305
|
structure: { type: 'list-sector', startAngle: -180, endAngle: 0 },
|
|
350
306
|
items: [{ type: 'plain-text' }],
|
|
351
307
|
},
|
|
352
|
-
},
|
|
353
|
-
'sequence-roadmap-vertical-plain-text': {
|
|
308
|
+
}, 'sequence-roadmap-vertical-plain-text': {
|
|
354
309
|
design: {
|
|
355
310
|
title: 'default',
|
|
356
311
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
357
312
|
items: [{ type: 'plain-text' }],
|
|
358
313
|
},
|
|
359
|
-
},
|
|
360
|
-
'sequence-roadmap-vertical-simple': {
|
|
314
|
+
}, 'sequence-roadmap-vertical-simple': {
|
|
361
315
|
design: {
|
|
362
316
|
title: 'default',
|
|
363
317
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
364
318
|
items: [{ type: 'simple', showIcon: false }],
|
|
365
319
|
},
|
|
366
|
-
},
|
|
367
|
-
'sequence-roadmap-vertical-badge-card': {
|
|
320
|
+
}, 'sequence-roadmap-vertical-badge-card': {
|
|
368
321
|
design: {
|
|
369
322
|
title: 'default',
|
|
370
323
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
371
324
|
items: [{ type: 'badge-card' }],
|
|
372
325
|
},
|
|
373
|
-
},
|
|
374
|
-
'sequence-roadmap-vertical-pill-badge': {
|
|
326
|
+
}, 'sequence-roadmap-vertical-pill-badge': {
|
|
375
327
|
design: {
|
|
376
328
|
title: 'default',
|
|
377
329
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
378
330
|
items: [{ type: 'pill-badge' }],
|
|
379
331
|
},
|
|
380
|
-
},
|
|
381
|
-
'sequence-roadmap-vertical-quarter-circular': {
|
|
332
|
+
}, 'sequence-roadmap-vertical-quarter-circular': {
|
|
382
333
|
design: {
|
|
383
334
|
title: 'default',
|
|
384
335
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
385
336
|
items: [{ type: 'quarter-circular' }],
|
|
386
337
|
},
|
|
387
|
-
},
|
|
388
|
-
'sequence-roadmap-vertical-quarter-simple-card': {
|
|
338
|
+
}, 'sequence-roadmap-vertical-quarter-simple-card': {
|
|
389
339
|
design: {
|
|
390
340
|
title: 'default',
|
|
391
341
|
structure: { type: 'sequence-roadmap-vertical', flipped: true },
|
|
392
342
|
items: [{ type: 'quarter-simple-card' }],
|
|
393
343
|
},
|
|
394
|
-
},
|
|
395
|
-
'sequence-horizontal-zigzag-simple-illus': {
|
|
344
|
+
}, 'sequence-horizontal-zigzag-simple-illus': {
|
|
396
345
|
design: {
|
|
397
346
|
title: 'default',
|
|
398
347
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
399
348
|
items: [{ type: 'simple-illus' }],
|
|
400
349
|
},
|
|
401
|
-
},
|
|
402
|
-
'sequence-horizontal-zigzag-horizontal-icon-line': {
|
|
350
|
+
}, 'sequence-horizontal-zigzag-horizontal-icon-line': {
|
|
403
351
|
design: {
|
|
404
352
|
title: 'default',
|
|
405
353
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
406
354
|
items: [{ type: 'horizontal-icon-line' }],
|
|
407
355
|
},
|
|
408
|
-
},
|
|
409
|
-
'sequence-horizontal-zigzag-plain-text': {
|
|
356
|
+
}, 'sequence-horizontal-zigzag-plain-text': {
|
|
410
357
|
design: {
|
|
411
358
|
title: 'default',
|
|
412
359
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
413
360
|
items: [{ type: 'plain-text' }],
|
|
414
361
|
},
|
|
415
|
-
},
|
|
416
|
-
'sequence-horizontal-zigzag-simple-horizontal-arrow': {
|
|
362
|
+
}, 'sequence-horizontal-zigzag-simple-horizontal-arrow': {
|
|
417
363
|
design: {
|
|
418
364
|
title: 'default',
|
|
419
365
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
420
366
|
items: [{ type: 'simple-horizontal-arrow' }],
|
|
421
367
|
},
|
|
422
|
-
},
|
|
423
|
-
'sequence-horizontal-zigzag-simple': {
|
|
368
|
+
}, 'sequence-horizontal-zigzag-simple': {
|
|
424
369
|
design: {
|
|
425
370
|
title: 'default',
|
|
426
371
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
427
372
|
items: [{ type: 'simple' }],
|
|
428
373
|
},
|
|
429
|
-
},
|
|
430
|
-
'list-row-simple-illus': {
|
|
374
|
+
}, 'list-row-simple-illus': {
|
|
431
375
|
design: {
|
|
432
376
|
title: 'default',
|
|
433
377
|
structure: { type: 'list-row' },
|
|
434
378
|
items: [{ type: 'simple-illus' }],
|
|
435
379
|
},
|
|
436
|
-
},
|
|
437
|
-
'sequence-color-snake-steps-simple-illus': {
|
|
380
|
+
}, 'sequence-color-snake-steps-simple-illus': {
|
|
438
381
|
design: {
|
|
439
382
|
title: 'default',
|
|
440
383
|
structure: { type: 'sequence-color-snake-steps' },
|
|
441
384
|
items: [{ type: 'simple-illus' }],
|
|
442
385
|
},
|
|
443
|
-
},
|
|
444
|
-
'sequence-snake-steps-simple-illus': {
|
|
386
|
+
}, 'sequence-snake-steps-simple-illus': {
|
|
445
387
|
design: {
|
|
446
388
|
title: 'default',
|
|
447
389
|
structure: { type: 'sequence-snake-steps' },
|
|
448
390
|
items: [{ type: 'simple-illus' }],
|
|
449
391
|
},
|
|
450
|
-
},
|
|
451
|
-
'sequence-steps-simple-illus': {
|
|
392
|
+
}, 'sequence-steps-simple-illus': {
|
|
452
393
|
design: {
|
|
453
394
|
title: 'default',
|
|
454
395
|
structure: { type: 'sequence-steps' },
|
|
455
396
|
items: [{ type: 'simple-illus' }],
|
|
456
397
|
},
|
|
457
|
-
},
|
|
458
|
-
'sequence-timeline-simple-illus': {
|
|
398
|
+
}, 'sequence-timeline-simple-illus': {
|
|
459
399
|
design: {
|
|
460
400
|
title: 'default',
|
|
461
401
|
structure: { type: 'sequence-timeline' },
|
|
462
402
|
items: [{ type: 'simple-illus', usePaletteColor: true }],
|
|
463
403
|
},
|
|
464
|
-
},
|
|
465
|
-
'sequence-zigzag-steps-underline-text': {
|
|
404
|
+
}, 'sequence-zigzag-steps-underline-text': {
|
|
466
405
|
design: {
|
|
467
406
|
title: 'default',
|
|
468
407
|
structure: { type: 'sequence-zigzag-steps' },
|
|
469
408
|
items: [{ type: 'underline-text' }],
|
|
470
409
|
},
|
|
471
|
-
},
|
|
472
|
-
'sequence-horizontal-zigzag-underline-text': {
|
|
410
|
+
}, 'sequence-horizontal-zigzag-underline-text': {
|
|
473
411
|
design: {
|
|
474
412
|
title: 'default',
|
|
475
413
|
structure: { type: 'sequence-horizontal-zigzag' },
|
|
476
414
|
items: [{ type: 'underline-text' }],
|
|
477
415
|
},
|
|
478
|
-
},
|
|
479
|
-
'sequence-roadmap-vertical-underline-text': {
|
|
416
|
+
}, 'sequence-roadmap-vertical-underline-text': {
|
|
480
417
|
design: {
|
|
481
418
|
title: 'default',
|
|
482
419
|
structure: { type: 'sequence-roadmap-vertical' },
|
|
483
420
|
items: [{ type: 'underline-text' }],
|
|
484
421
|
},
|
|
485
|
-
},
|
|
486
|
-
'sequence-snake-steps-underline-text': {
|
|
422
|
+
}, 'sequence-snake-steps-underline-text': {
|
|
487
423
|
design: {
|
|
488
424
|
title: 'default',
|
|
489
425
|
structure: { type: 'sequence-snake-steps' },
|
|
490
426
|
items: [{ type: 'underline-text' }],
|
|
491
427
|
},
|
|
492
|
-
},
|
|
493
|
-
'sequence-circle-arrows-indexed-card': {
|
|
428
|
+
}, 'sequence-circle-arrows-indexed-card': {
|
|
494
429
|
design: {
|
|
495
430
|
title: 'default',
|
|
496
431
|
structure: { type: 'sequence-circle-arrows' },
|
|
497
432
|
items: [{ type: 'indexed-card' }],
|
|
498
433
|
},
|
|
499
|
-
},
|
|
500
|
-
'sequence-zigzag-pucks-3d-simple': {
|
|
434
|
+
}, 'sequence-zigzag-pucks-3d-simple': {
|
|
501
435
|
design: {
|
|
502
436
|
title: 'default',
|
|
503
437
|
structure: { type: 'sequence-zigzag-pucks-3d' },
|
|
504
438
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
505
439
|
},
|
|
506
|
-
},
|
|
507
|
-
'sequence-zigzag-pucks-3d-underline-text': {
|
|
440
|
+
}, 'sequence-zigzag-pucks-3d-underline-text': {
|
|
508
441
|
design: {
|
|
509
442
|
title: 'default',
|
|
510
443
|
structure: { type: 'sequence-zigzag-pucks-3d' },
|
|
511
444
|
items: [{ type: 'underline-text' }],
|
|
512
445
|
},
|
|
513
|
-
},
|
|
514
|
-
'sequence-zigzag-pucks-3d-indexed-card': {
|
|
446
|
+
}, 'sequence-zigzag-pucks-3d-indexed-card': {
|
|
515
447
|
design: {
|
|
516
448
|
title: 'default',
|
|
517
449
|
structure: { type: 'sequence-zigzag-pucks-3d' },
|
|
518
450
|
items: [{ type: 'indexed-card' }],
|
|
519
451
|
},
|
|
520
|
-
},
|
|
521
|
-
'sequence-ascending-stairs-3d-simple': {
|
|
452
|
+
}, 'sequence-ascending-stairs-3d-simple': {
|
|
522
453
|
design: {
|
|
523
454
|
title: 'default',
|
|
524
455
|
structure: { type: 'sequence-ascending-stairs-3d' },
|
|
525
456
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
526
457
|
},
|
|
527
|
-
},
|
|
528
|
-
'sequence-ascending-stairs-3d-underline-text': {
|
|
458
|
+
}, 'sequence-ascending-stairs-3d-underline-text': {
|
|
529
459
|
design: {
|
|
530
460
|
title: 'default',
|
|
531
461
|
structure: { type: 'sequence-ascending-stairs-3d' },
|
|
532
462
|
items: [{ type: 'underline-text' }],
|
|
533
463
|
},
|
|
534
|
-
},
|
|
535
|
-
'sequence-circular-underline-text': {
|
|
464
|
+
}, 'sequence-circular-underline-text': {
|
|
536
465
|
design: {
|
|
537
466
|
title: 'default',
|
|
538
467
|
structure: { type: 'sequence-circular' },
|
|
539
468
|
items: [{ type: 'underline-text' }],
|
|
540
469
|
},
|
|
541
|
-
},
|
|
542
|
-
'sequence-circular-simple': {
|
|
470
|
+
}, 'sequence-circular-simple': {
|
|
543
471
|
design: {
|
|
544
472
|
title: 'default',
|
|
545
473
|
structure: { type: 'sequence-circular' },
|
|
546
474
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
547
475
|
},
|
|
548
|
-
},
|
|
549
|
-
'sequence-filter-mesh-underline-text': {
|
|
476
|
+
}, 'sequence-filter-mesh-underline-text': {
|
|
550
477
|
design: {
|
|
551
478
|
title: 'default',
|
|
552
479
|
structure: { type: 'sequence-filter-mesh' },
|
|
553
480
|
items: [{ type: 'underline-text' }],
|
|
554
481
|
},
|
|
555
|
-
},
|
|
556
|
-
'sequence-filter-mesh-simple': {
|
|
482
|
+
}, 'sequence-filter-mesh-simple': {
|
|
557
483
|
design: {
|
|
558
484
|
title: 'default',
|
|
559
485
|
structure: { type: 'sequence-filter-mesh' },
|
|
560
486
|
items: [{ type: 'simple', showIcon: false, usePaletteColor: true }],
|
|
561
487
|
},
|
|
562
|
-
},
|
|
563
|
-
'sequence-mountain-underline-text': {
|
|
488
|
+
}, 'sequence-mountain-underline-text': {
|
|
564
489
|
design: {
|
|
565
490
|
title: 'default',
|
|
566
491
|
structure: { type: 'sequence-mountain' },
|
|
567
492
|
items: [{ type: 'underline-text' }],
|
|
568
493
|
},
|
|
569
|
-
},
|
|
570
|
-
'compare-binary-horizontal-simple-fold': {
|
|
494
|
+
}, 'compare-binary-horizontal-simple-fold': {
|
|
571
495
|
design: {
|
|
572
496
|
title: 'default',
|
|
573
497
|
structure: {
|
|
@@ -576,8 +500,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
576
500
|
},
|
|
577
501
|
items: [{ type: 'simple', iconType: 'circle', iconSize: 40 }],
|
|
578
502
|
},
|
|
579
|
-
},
|
|
580
|
-
'compare-binary-horizontal-underline-text-fold': {
|
|
503
|
+
}, 'compare-binary-horizontal-underline-text-fold': {
|
|
581
504
|
design: {
|
|
582
505
|
title: 'default',
|
|
583
506
|
structure: {
|
|
@@ -586,8 +509,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
586
509
|
},
|
|
587
510
|
items: [{ type: 'underline-text' }],
|
|
588
511
|
},
|
|
589
|
-
},
|
|
590
|
-
'compare-binary-horizontal-badge-card-fold': {
|
|
512
|
+
}, 'compare-binary-horizontal-badge-card-fold': {
|
|
591
513
|
design: {
|
|
592
514
|
title: 'default',
|
|
593
515
|
structure: {
|
|
@@ -596,8 +518,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
596
518
|
},
|
|
597
519
|
items: [{ type: 'badge-card' }],
|
|
598
520
|
},
|
|
599
|
-
},
|
|
600
|
-
'compare-binary-horizontal-compact-card-fold': {
|
|
521
|
+
}, 'compare-binary-horizontal-compact-card-fold': {
|
|
601
522
|
design: {
|
|
602
523
|
title: 'default',
|
|
603
524
|
structure: {
|
|
@@ -606,8 +527,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
606
527
|
},
|
|
607
528
|
items: [{ type: 'compact-card' }],
|
|
608
529
|
},
|
|
609
|
-
},
|
|
610
|
-
'compare-binary-horizontal-simple-arrow': {
|
|
530
|
+
}, 'compare-binary-horizontal-simple-arrow': {
|
|
611
531
|
design: {
|
|
612
532
|
title: 'default',
|
|
613
533
|
structure: {
|
|
@@ -616,8 +536,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
616
536
|
},
|
|
617
537
|
items: [{ type: 'simple', iconType: 'circle', iconSize: 40 }],
|
|
618
538
|
},
|
|
619
|
-
},
|
|
620
|
-
'compare-binary-horizontal-underline-text-arrow': {
|
|
539
|
+
}, 'compare-binary-horizontal-underline-text-arrow': {
|
|
621
540
|
design: {
|
|
622
541
|
title: 'default',
|
|
623
542
|
structure: {
|
|
@@ -626,8 +545,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
626
545
|
},
|
|
627
546
|
items: [{ type: 'underline-text' }],
|
|
628
547
|
},
|
|
629
|
-
},
|
|
630
|
-
'compare-binary-horizontal-badge-card-arrow': {
|
|
548
|
+
}, 'compare-binary-horizontal-badge-card-arrow': {
|
|
631
549
|
design: {
|
|
632
550
|
title: 'default',
|
|
633
551
|
structure: {
|
|
@@ -636,8 +554,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
636
554
|
},
|
|
637
555
|
items: [{ type: 'badge-card' }],
|
|
638
556
|
},
|
|
639
|
-
},
|
|
640
|
-
'compare-binary-horizontal-compact-card-arrow': {
|
|
557
|
+
}, 'compare-binary-horizontal-compact-card-arrow': {
|
|
641
558
|
design: {
|
|
642
559
|
title: 'default',
|
|
643
560
|
structure: {
|
|
@@ -646,8 +563,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
646
563
|
},
|
|
647
564
|
items: [{ type: 'compact-card' }],
|
|
648
565
|
},
|
|
649
|
-
},
|
|
650
|
-
'compare-binary-horizontal-simple-vs': {
|
|
566
|
+
}, 'compare-binary-horizontal-simple-vs': {
|
|
651
567
|
design: {
|
|
652
568
|
title: 'default',
|
|
653
569
|
structure: {
|
|
@@ -656,8 +572,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
656
572
|
},
|
|
657
573
|
items: [{ type: 'simple', iconType: 'circle', iconSize: 40 }],
|
|
658
574
|
},
|
|
659
|
-
},
|
|
660
|
-
'compare-binary-horizontal-underline-text-vs': {
|
|
575
|
+
}, 'compare-binary-horizontal-underline-text-vs': {
|
|
661
576
|
design: {
|
|
662
577
|
title: 'default',
|
|
663
578
|
structure: {
|
|
@@ -666,8 +581,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
666
581
|
},
|
|
667
582
|
items: [{ type: 'underline-text' }],
|
|
668
583
|
},
|
|
669
|
-
},
|
|
670
|
-
'compare-binary-horizontal-badge-card-vs': {
|
|
584
|
+
}, 'compare-binary-horizontal-badge-card-vs': {
|
|
671
585
|
design: {
|
|
672
586
|
title: 'default',
|
|
673
587
|
structure: {
|
|
@@ -676,8 +590,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
676
590
|
},
|
|
677
591
|
items: [{ type: 'badge-card' }],
|
|
678
592
|
},
|
|
679
|
-
},
|
|
680
|
-
'compare-binary-horizontal-compact-card-vs': {
|
|
593
|
+
}, 'compare-binary-horizontal-compact-card-vs': {
|
|
681
594
|
design: {
|
|
682
595
|
title: 'default',
|
|
683
596
|
structure: {
|
|
@@ -686,8 +599,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
686
599
|
},
|
|
687
600
|
items: [{ type: 'compact-card' }],
|
|
688
601
|
},
|
|
689
|
-
},
|
|
690
|
-
'chart-bar-plain-text': {
|
|
602
|
+
}, 'chart-bar-plain-text': {
|
|
691
603
|
design: {
|
|
692
604
|
title: 'default',
|
|
693
605
|
structure: {
|
|
@@ -700,8 +612,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
700
612
|
},
|
|
701
613
|
],
|
|
702
614
|
},
|
|
703
|
-
},
|
|
704
|
-
'chart-line-plain-text': {
|
|
615
|
+
}, 'chart-line-plain-text': {
|
|
705
616
|
design: {
|
|
706
617
|
title: 'default',
|
|
707
618
|
structure: {
|
|
@@ -714,8 +625,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
714
625
|
},
|
|
715
626
|
],
|
|
716
627
|
},
|
|
717
|
-
},
|
|
718
|
-
'chart-pie-plain-text': {
|
|
628
|
+
}, 'chart-pie-plain-text': {
|
|
719
629
|
design: {
|
|
720
630
|
title: 'default',
|
|
721
631
|
structure: {
|
|
@@ -727,8 +637,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
727
637
|
},
|
|
728
638
|
],
|
|
729
639
|
},
|
|
730
|
-
},
|
|
731
|
-
'chart-pie-compact-card': {
|
|
640
|
+
}, 'chart-pie-compact-card': {
|
|
732
641
|
design: {
|
|
733
642
|
title: 'default',
|
|
734
643
|
structure: {
|
|
@@ -740,8 +649,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
740
649
|
},
|
|
741
650
|
],
|
|
742
651
|
},
|
|
743
|
-
},
|
|
744
|
-
'chart-pie-pill-badge': {
|
|
652
|
+
}, 'chart-pie-pill-badge': {
|
|
745
653
|
design: {
|
|
746
654
|
title: 'default',
|
|
747
655
|
structure: {
|
|
@@ -753,8 +661,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
753
661
|
},
|
|
754
662
|
],
|
|
755
663
|
},
|
|
756
|
-
},
|
|
757
|
-
'chart-pie-donut-plain-text': {
|
|
664
|
+
}, 'chart-pie-donut-plain-text': {
|
|
758
665
|
design: {
|
|
759
666
|
title: 'default',
|
|
760
667
|
structure: {
|
|
@@ -767,8 +674,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
767
674
|
},
|
|
768
675
|
],
|
|
769
676
|
},
|
|
770
|
-
},
|
|
771
|
-
'chart-pie-donut-compact-card': {
|
|
677
|
+
}, 'chart-pie-donut-compact-card': {
|
|
772
678
|
design: {
|
|
773
679
|
title: 'default',
|
|
774
680
|
structure: {
|
|
@@ -781,8 +687,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
781
687
|
},
|
|
782
688
|
],
|
|
783
689
|
},
|
|
784
|
-
},
|
|
785
|
-
'chart-pie-donut-pill-badge': {
|
|
690
|
+
}, 'chart-pie-donut-pill-badge': {
|
|
786
691
|
design: {
|
|
787
692
|
title: 'default',
|
|
788
693
|
structure: {
|
|
@@ -795,16 +700,7 @@ const BUILT_IN_TEMPLATES = {
|
|
|
795
700
|
},
|
|
796
701
|
],
|
|
797
702
|
},
|
|
798
|
-
},
|
|
799
|
-
...compare_quadrant_1.compareQuadrantTemplates,
|
|
800
|
-
...hierarchy_tree_1.hierarchyTreeTemplates,
|
|
801
|
-
...hierarchy_mindmap_1.hierarchyMindmapTemplates,
|
|
802
|
-
...sequence_stairs_1.sequenceStairsTemplates,
|
|
803
|
-
...word_cloud_1.wordCloudTemplate,
|
|
804
|
-
...list_zigzag_1.listZigzagTemplates,
|
|
805
|
-
...relation_dagre_flow_1.relationDagreFlowTemplates,
|
|
806
|
-
...hierarchy_structure_1.hierarchyStructureTemplates,
|
|
807
|
-
};
|
|
703
|
+
} }, compare_quadrant_1.compareQuadrantTemplates), hierarchy_tree_1.hierarchyTreeTemplates), hierarchy_mindmap_1.hierarchyMindmapTemplates), sequence_stairs_1.sequenceStairsTemplates), word_cloud_1.wordCloudTemplate), list_zigzag_1.listZigzagTemplates), relation_dagre_flow_1.relationDagreFlowTemplates), hierarchy_structure_1.hierarchyStructureTemplates);
|
|
808
704
|
Object.entries(BUILT_IN_TEMPLATES).forEach(([name, options]) => {
|
|
809
705
|
(0, registry_1.registerTemplate)(name, options);
|
|
810
706
|
});
|