vue-data-ui-cli 1.5.11 → 1.6.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 +8 -0
  2. package/index.js +9 -1
  3. package/package.json +2 -2
package/datasets.js CHANGED
@@ -1,5 +1,13 @@
1
1
  export default (componentName) => {
2
2
  const datasets = {
3
+ VueUiChord: {
4
+ matrix: [
5
+ [1, 1, 1],
6
+ [1, 1, 1],
7
+ [1, 1, 1]
8
+ ],
9
+ labels: ["A", "B", "C"]
10
+ },
3
11
  VueUiRidgeline: [
4
12
  {
5
13
  name: "Moscow",
package/index.js CHANGED
@@ -21,6 +21,14 @@ try {
21
21
  }
22
22
 
23
23
  const supportedComponents = {
24
+ VueUiChord: {
25
+ key: 'vue_ui_chord',
26
+ link: 'vue-ui-chord',
27
+ datasetType: 'VueUiChordDataset',
28
+ configType: 'VueUiChordConfig',
29
+ isDatasetArray: false,
30
+ slots: ['source']
31
+ },
24
32
  VueUiRidgeline: {
25
33
  key: 'vue_ui_ridgeline',
26
34
  link: 'vue-ui-ridgeline',
@@ -468,7 +476,7 @@ const supportedComponents = {
468
476
  })()
469
477
 
470
478
  program
471
- .version('1.5.11')
479
+ .version('1.6.1')
472
480
  .description('CLI to generate Vue Data UI component boilerplates')
473
481
  .action(async () => {
474
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": "1.5.11",
3
+ "version": "1.6.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.10.11",
37
+ "vue-data-ui": "^2.11.1",
38
38
  "vue": "^3.5.14"
39
39
  }
40
40
  }