vue-data-ui-cli 3.5.1 → 3.6.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 +22 -0
  2. package/index.js +9 -1
  3. package/package.json +3 -3
package/datasets.js CHANGED
@@ -136,6 +136,28 @@ export default (componentName) => {
136
136
  series: [25, 23, 9, 13, 25, 31],
137
137
  },
138
138
  ],
139
+ VueUiStackline: [
140
+ {
141
+ name: 'Serie 1',
142
+ series: [19, 20.07, 30, 40, 50, 60],
143
+ shape: 'square'
144
+ },
145
+ {
146
+ name: 'Serie 2',
147
+ series: [13, 8, 9, 13, 25, 27],
148
+ shape: 'diamond'
149
+ },
150
+ {
151
+ name: 'Serie 3',
152
+ series: [13, 10, 9, 13, 25, 19],
153
+ shape: 'triangle'
154
+ },
155
+ {
156
+ name: 'Serie 4',
157
+ series: [25, 23, 9, 13, 25, 31],
158
+ shape: 'star'
159
+ },
160
+ ],
139
161
  VueUiSparkline: [
140
162
  { period: 'T0', value: 0 },
141
163
  { period: 'T1', value: 1 },
package/index.js CHANGED
@@ -95,6 +95,14 @@ const supportedComponents = {
95
95
  configType: 'VueUiStackbarConfig',
96
96
  slots: ['source']
97
97
  },
98
+ VueUiStackline: {
99
+ key: 'vue_ui_stackline',
100
+ link: 'vue-ui-stackline',
101
+ datasetType: 'VueUiStacklineDatasetItem',
102
+ isDatasetArray: true,
103
+ configType: 'VueUiStacklineConfig',
104
+ slots: ['source']
105
+ },
98
106
  VueUiSparkline: {
99
107
  key: 'vue_ui_sparkline',
100
108
  link: 'vue-ui-sparkline',
@@ -476,7 +484,7 @@ const supportedComponents = {
476
484
  })()
477
485
 
478
486
  program
479
- .version('3.5.1')
487
+ .version('3.6.0')
480
488
  .description('CLI to generate Vue Data UI component boilerplates')
481
489
  .action(async () => {
482
490
  const answers = await inquirer.prompt([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-data-ui-cli",
3
- "version": "3.5.1",
3
+ "version": "3.6.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": "^3.5.1",
37
+ "vue-data-ui": "^3.6.0",
38
38
  "vue": "^3.5.14"
39
39
  }
40
- }
40
+ }