Skip to content

Commit 5a9388e

Browse files
committed
v3
1 parent 8e5eda7 commit 5a9388e

File tree

4 files changed

+60
-14
lines changed

4 files changed

+60
-14
lines changed

datasets.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,52 @@ export default (componentName) => {
371371
],
372372
},
373373
],
374+
VueUiHorizontalBar: [
375+
{
376+
name: 'Serie 1',
377+
value: 100,
378+
children: [
379+
{
380+
name: 'serie 1 child 1',
381+
value: 80,
382+
},
383+
{
384+
name: 'serie 1 child 2',
385+
value: 20,
386+
},
387+
],
388+
},
389+
{
390+
name: 'Serie 2',
391+
value: 345,
392+
},
393+
{
394+
name: 'Serie 3',
395+
value: 210,
396+
},
397+
{
398+
name: 'Serie 4',
399+
value: 188,
400+
},
401+
{
402+
name: 'Serie 5',
403+
value: 120,
404+
children: [
405+
{
406+
name: 'Serie 5 child 1',
407+
value: 60,
408+
},
409+
{
410+
name: 'Serie 5 child 2',
411+
value: 20,
412+
},
413+
{
414+
name: 'Serie 5 child 3',
415+
value: 40,
416+
},
417+
],
418+
},
419+
],
374420
VueUiParallelCoordinatePlot: [
375421
{
376422
name: 'Series 1',

index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,12 @@ const supportedComponents = {
183183
configType: 'VueUiXyCanvasConfig',
184184
slots: ['source']
185185
},
186-
VueUiVerticalBar: {
187-
key: 'vue_ui_vertical_bar',
188-
link: 'vue-ui-vertical-bar',
189-
datasetType: 'VueUiVerticalBarDatasetItem',
186+
VueUiHorizontalBar: {
187+
key: 'vue_ui_horizontal_bar',
188+
link: 'vue-ui-horizontal-bar',
189+
datasetType: 'VueUiHorizontalBarDatasetItem',
190190
isDatasetArray: true,
191-
configType: 'VueUiVerticalBarConfig',
191+
configType: 'VueUiHorizontalBarConfig',
192192
slots: ['source']
193193
},
194194
VueUiParallelCoordinatePlot: {
@@ -476,7 +476,7 @@ const supportedComponents = {
476476
})()
477477

478478
program
479-
.version('2.17.11')
479+
.version('3.0.1')
480480
.description('CLI to generate Vue Data UI component boilerplates')
481481
.action(async () => {
482482
const answers = await inquirer.prompt([

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-data-ui-cli",
3-
"version": "2.17.11",
3+
"version": "3.0.1",
44
"private": false,
55
"description": "A CLI tool to generate Vue Data UI chart component boilerplates",
66
"main": "index.js",
@@ -34,7 +34,7 @@
3434
},
3535
"peerDependencies": {
3636
"prettier": "^3.4.2",
37-
"vue-data-ui": "^2.17.11",
37+
"vue-data-ui": "^3.0.1",
3838
"vue": "^3.5.14"
3939
}
4040
}

0 commit comments

Comments
 (0)