Skip to content

Commit c3286d6

Browse files
committed
chore: update dependencies and devDependencies
@rollup/plugin-commonjs ^24.0.1 → ^25.0.1 @rollup/plugin-node-resolve ^15.0.1 → ^15.1.0 @rollup/plugin-typescript ^11.0.0 → ^11.1.1 @types/jest ^29.5.0 → ^29.5.2 @types/lodash ^4.14.192 → ^4.14.195 @vue/vue3-jest 29.2.3 → 29.2.4 jest-canvas-mock ^2.4.0 → ^2.5.1 rollup ^3.20.2 → ^3.25.0 ts-jest ^29.0.5 → ^29.1.0 tslib ^2.5.0 → ^2.5.3 vue ^3.2.47 → ^3.3.4 vue-types ^5.0.2 → ^5.0.3
1 parent ca7c69e commit c3286d6

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,26 @@
3939
},
4040
"devDependencies": {
4141
"@coreui/chartjs": "^3.1.2",
42-
"@rollup/plugin-commonjs": "^24.0.1",
43-
"@rollup/plugin-node-resolve": "^15.0.1",
44-
"@rollup/plugin-typescript": "^11.0.0",
45-
"@types/lodash": "^4.14.192",
46-
"@types/jest": "^29.5.0",
42+
"@rollup/plugin-commonjs": "^25.0.1",
43+
"@rollup/plugin-node-resolve": "^15.1.0",
44+
"@rollup/plugin-typescript": "^11.1.1",
45+
"@types/lodash": "^4.14.195",
46+
"@types/jest": "^29.5.2",
4747
"@vue/test-utils": "^2.3.2",
48-
"@vue/vue3-jest": "29.2.3",
48+
"@vue/vue3-jest": "29.2.4",
4949
"chart.js": "^3.9.1",
5050
"jest": "^29.5.0",
51-
"jest-canvas-mock": "^2.4.0",
51+
"jest-canvas-mock": "^2.5.1",
5252
"jest-environment-jsdom": "^29.5.0",
5353
"lodash": "^4.17.21",
54-
"rollup": "^3.20.2",
54+
"rollup": "^3.25.0",
5555
"rollup-plugin-peer-deps-external": "^2.2.4",
5656
"rollup-plugin-vue": "^6.0.0",
57-
"ts-jest": "^29.0.5",
58-
"tslib": "^2.5.0",
57+
"ts-jest": "^29.1.0",
58+
"tslib": "^2.5.3",
5959
"typescript": "^4.9.5",
60-
"vue": "^3.2.47",
61-
"vue-types": "^5.0.2"
60+
"vue": "^3.3.4",
61+
"vue-types": "^5.0.3"
6262
},
6363
"peerDependencies": {
6464
"chart.js": "^3.9.1",

src/index.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,66 @@
1+
/* eslint-disable vue/one-component-per-file */
12
import { App, defineComponent, h } from 'vue'
23
import CChart from './CChart'
34

45
const CChartBar = defineComponent({
5-
extends: CChart,
66
name: 'CChartBar',
7+
extends: CChart,
78
setup(props) {
89
return () => h(CChart, { ...props, type: 'bar' })
910
},
1011
})
1112

1213
const CChartBubble = defineComponent({
13-
extends: CChart,
1414
name: 'CChartBubble',
15+
extends: CChart,
1516
setup(props) {
1617
return () => h(CChart, { ...props, type: 'bubble' })
1718
},
1819
})
1920

2021
const CChartDoughnut = defineComponent({
21-
extends: CChart,
2222
name: 'CChartDoughnut',
23+
extends: CChart,
2324
setup(props) {
2425
return () => h(CChart, { ...props, type: 'doughnut' })
2526
},
2627
})
2728

2829
const CChartLine = defineComponent({
29-
extends: CChart,
3030
name: 'CChartLine',
31+
extends: CChart,
3132
setup(props) {
3233
return () => h(CChart, { ...props, type: 'line' })
3334
},
3435
})
3536

3637
const CChartPie = defineComponent({
37-
extends: CChart,
3838
name: 'CChartPie',
39+
extends: CChart,
3940
setup(props) {
4041
return () => h(CChart, { ...props, type: 'pie' })
4142
},
4243
})
4344

4445
const CChartPolarArea = defineComponent({
45-
extends: CChart,
4646
name: 'CChartPolarArea',
47+
extends: CChart,
4748
setup(props) {
4849
return () => h(CChart, { ...props, type: 'polarArea' })
4950
},
5051
})
5152

5253
const CChartRadar = defineComponent({
53-
extends: CChart,
5454
name: 'CChartRadar',
55+
extends: CChart,
5556
setup(props) {
5657
return () => h(CChart, { ...props, type: 'radar' })
5758
},
5859
})
5960

6061
const CChartScatter = defineComponent({
61-
extends: CChart,
6262
name: 'CChartScatter',
63+
extends: CChart,
6364
setup(props) {
6465
return () => h(CChart, { ...props, type: 'scatter' })
6566
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy