vue-data-ui-cli 1.2.6 → 1.3.0

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 +4 -0
  2. package/index.js +9 -1
  3. package/package.json +2 -2
package/datasets.js CHANGED
@@ -1,5 +1,9 @@
1
1
  export default (componentName) => {
2
2
  const datasets = {
3
+ VueUiWorld: {
4
+ USA: { value: 26465 },
5
+ CHN: { value: 17679 },
6
+ },
3
7
  VueUiXy: [
4
8
  {
5
9
  name: 'Serie',
package/index.js CHANGED
@@ -21,6 +21,14 @@ try {
21
21
  }
22
22
 
23
23
  const supportedComponents = {
24
+ VueUiWorld: {
25
+ key: 'vue_ui_world',
26
+ link: 'vue-ui-world',
27
+ datasetType: 'VueUiWorldDataset',
28
+ configType: 'VueUiWorldConfig',
29
+ isDatasetArray: false,
30
+ slots: ['source']
31
+ },
24
32
  VueUiXy: {
25
33
  key: 'vue_ui_xy',
26
34
  link: 'vue-ui-xy',
@@ -452,7 +460,7 @@ const supportedComponents = {
452
460
  })()
453
461
 
454
462
  program
455
- .version('1.2.6')
463
+ .version('1.3.0')
456
464
  .description('CLI to generate Vue Data UI component boilerplates')
457
465
  .action(async () => {
458
466
  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.2.6",
3
+ "version": "1.3.0",
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.7.6",
37
+ "vue-data-ui": "^2.8.0",
38
38
  "vue": "^3.5.14"
39
39
  }
40
40
  }