vue-data-ui-cli 2.17.10 → 3.0.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.
Files changed (3) hide show
  1. package/datasets.js +46 -0
  2. package/index.js +6 -6
  3. package/package.json +2 -2
package/datasets.js CHANGED
@@ -371,6 +371,52 @@ export default (componentName) => {
371
371
  ],
372
372
  },
373
373
  ],
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
+ ],
374
420
  VueUiParallelCoordinatePlot: [
375
421
  {
376
422
  name: 'Series 1',
package/index.js CHANGED
@@ -183,12 +183,12 @@ const supportedComponents = {
183
183
  configType: 'VueUiXyCanvasConfig',
184
184
  slots: ['source']
185
185
  },
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',
190
190
  isDatasetArray: true,
191
- configType: 'VueUiVerticalBarConfig',
191
+ configType: 'VueUiHorizontalBarConfig',
192
192
  slots: ['source']
193
193
  },
194
194
  VueUiParallelCoordinatePlot: {
@@ -476,7 +476,7 @@ const supportedComponents = {
476
476
  })()
477
477
 
478
478
  program
479
- .version('2.17.10')
479
+ .version('3.0.1')
480
480
  .description('CLI to generate Vue Data UI component boilerplates')
481
481
  .action(async () => {
482
482
  const answers = await inquirer.prompt([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-data-ui-cli",
3
- "version": "2.17.10",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "description": "A CLI tool to generate Vue Data UI chart component boilerplates",
6
6
  "main": "index.js",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "prettier": "^3.4.2",
37
- "vue-data-ui": "^2.17.10",
37
+ "vue-data-ui": "^3.0.1",
38
38
  "vue": "^3.5.14"
39
39
  }
40
40
  }