vue-data-ui 2.0.21 → 2.0.22

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.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 ALEC LLOYD PROBERT
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 ALEC LLOYD PROBERT
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,133 +1,133 @@
1
- <p align="center">
2
- <a href="https://vue-data-ui.graphieros.com/"><img src="https://vue-data-ui.graphieros.com/vue-data-ui2.png"></a>
3
- <br>
4
- <br>
5
- <br>
6
- <a href="https://vue-data-ui.graphieros.com/"><img src="https://vue-data-ui.graphieros.com/vue-data-ui-showcase.png"></a>
7
- </p>
8
-
9
-
10
-
11
- # vue-data-ui
12
- ![npm](https://img.shields.io/npm/v/vue-data-ui)
13
- [![MadeWithVueJs.com shield](https://madewithvuejs.com/storage/repo-shields/4526-shield.svg)](https://madewithvuejs.com/p/vue-data-ui/shield-link)
14
- ![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui)
15
- ![NPM](https://img.shields.io/npm/l/vue-data-ui)
16
- ![npm](https://img.shields.io/npm/dt/vue-data-ui)
17
- ![Static Badge](https://img.shields.io/badge/components-37-green)
18
-
19
- [Interactive documentation](https://vue-data-ui.graphieros.com/)
20
-
21
- A user-empowering data visualization Vue components library.
22
-
23
- Available components:
24
-
25
- ## Charts
26
- - [VueUiXy](https://vue-data-ui.graphieros.com/docs#vue-ui-xy)
27
- - [VueUiDonut](https://vue-data-ui.graphieros.com/docs#vue-ui-donut)
28
- - [VueUiWaffle](https://vue-data-ui.graphieros.com/docs#vue-ui-waffle)
29
- - [VueUiRadar](https://vue-data-ui.graphieros.com/docs#vue-ui-radar)
30
- - [VueUiQuadrant](https://vue-data-ui.graphieros.com/docs#vue-ui-quadrant)
31
- - [VueUiGauge](https://vue-data-ui.graphieros.com/docs#vue-ui-gauge)
32
- - [VueUiChestnut](https://vue-data-ui.graphieros.com/docs#vue-ui-chestnut)
33
- - [VueUiOnion](https://vue-data-ui.graphieros.com/docs#vue-ui-onion)
34
- - [VueUiVerticalBar](https://vue-data-ui.graphieros.com/docs#vue-ui-vertical-bar)
35
- - [VueUiHeatmap](https://vue-data-ui.graphieros.com/docs#vue-ui-heatmap)
36
- - [VueUiScatter](https://vue-data-ui.graphieros.com/docs#vue-ui-scatter)
37
- - [VueUiCandlestick](https://vue-data-ui.graphieros.com/docs#vue-ui-candlestick)
38
- - [VueUiAgePyramid](https://vue-data-ui.graphieros.com/docs#vue-ui-age-pyramid)
39
- - [VueUiRelationCircle](https://vue-data-ui.graphieros.com/docs#vue-ui-relation-circle)
40
- - [VueUiThermometer](https://vue-data-ui.graphieros.com/docs#vue-ui-thermometer)
41
- - [VueUiRings](https://vue-data-ui.graphieros.com/docs#vue-ui-rings)
42
- - [VueUiWheel](https://vue-data-ui.graphieros.com/docs#vue-ui-wheel)
43
- - [VueUiTiremarks](https://vue-data-ui.graphieros.com/docs#vue-ui-tiremarks)
44
- - [VueUiDonutEvolution](https://vue-data-ui.graphieros.com/docs#vue-ui-donut-evolution)
45
- - [VueUiMoodRadar](https://vue-data-ui.graphieros.com/docs#vue-ui-mood-radar)
46
- - [VueUiMolecule](https://vue-data-ui.graphieros.com/docs#vue-ui-molecule)
47
-
48
-
49
- ## Mini charts
50
- - [VueUiSparkline](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkline)
51
- - [VueUiSparkbar](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkbar)
52
- - [VueUiSparkstackbar](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkstackbar)
53
- - [VueUiSparkHistogram](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkhistogram)
54
-
55
- ## 3d
56
- - [VueUi3dBar](https://vue-data-ui.graphieros.com/docs#vue-ui-3d-bar)
57
-
58
- ## Tables
59
- - [VueUiTableSparkline](https://vue-data-ui.graphieros.com/docs#vue-ui-table-sparkline)
60
- - [VueUiTable](https://vue-data-ui.graphieros.com/docs#vue-ui-table)
61
-
62
- ## Rating
63
- - [VueUiRating](https://vue-data-ui.graphieros.com/docs#vue-ui-rating)
64
- - [VueUiSmiley](https://vue-data-ui.graphieros.com/docs#vue-ui-smiley)
65
-
66
- ## Utilities
67
- - [VueUiScreenshot](https://vue-data-ui.graphieros.com/docs#vue-ui-screenshot)
68
- - [VueUiSkeleton](https://vue-data-ui.graphieros.com/docs#vue-ui-skeleton)
69
- - [VueUiDashboard](https://vue-data-ui.graphieros.com/docs#vue-ui-dashboard)
70
- - [VueUiAnnotator](https://vue-data-ui.graphieros.com/docs#vue-ui-annotator)
71
- - [VueUiIcon](https://vue-data-ui.graphieros.com/docs#vue-ui-icon)
72
- - [VueUiDigits](https://vue-data-ui.graphieros.com/docs#vue-ui-digits)
73
- - [VueUiMiniLoader](https://vue-data-ui.graphieros.com/docs#vue-ui-mini-loader)
74
-
75
- # Installation
76
- ```
77
- npm i vue-data-ui
78
- ```
79
-
80
- You can declare components globally in your main.js:
81
-
82
- ```
83
- import { createApp } from 'vue'
84
- import App from "./App.vue";
85
- // Include the css;
86
- import "vue-data-ui/style.css";
87
-
88
- // You can declare Vue Data UI components globally
89
- import { VueUiRadar } from "vue-data-ui";
90
-
91
- const app = createApp(App);
92
-
93
- app.component("VueUiRadar", VueUiRadar);
94
- app.mount('#app');
95
- ```
96
-
97
- Or you can import just what you need in your files:
98
-
99
- ```
100
- <script setup>
101
- import { VueUiRadar, VueUiXy } from "vue-data-ui";
102
- </script>
103
- ```
104
-
105
- ## Typescript
106
- Types are available in the 'vue-data-ui.d.ts' file under the types directory of the package.
107
-
108
- ## Nuxt
109
- [This repo contains a boilerplate implementation of the vue-data-ui package in Nuxt](https://github.com/graphieros/vue-data-ui-nuxt)
110
-
111
- # Customizable tooltips
112
- Charts with tooltips have a config option to customize tooltip contents:
113
-
114
- ```
115
-
116
- customFormat: ({ seriesIndex, datapoint, series, config }) => {
117
- return `<div>${ ... }</div>`;
118
- }
119
-
120
- ```
121
-
122
- # Slots
123
- Most Vue Data UI chart components include a #svg slot you can use to introduce customized svg elements (shapes, text, etc).
124
-
125
- # Config
126
- If for some reason you can't access the documentation website and need to get the default config object for a component:
127
-
128
- ```
129
- import { getVueDataUiConfig } from "vue-data-ui";
130
-
131
- const defaultConfigXy = getVueDataUiConfig("vue_ui_xy");
132
-
1
+ <p align="center">
2
+ <a href="https://vue-data-ui.graphieros.com/"><img src="https://vue-data-ui.graphieros.com/vue-data-ui2.png"></a>
3
+ <br>
4
+ <br>
5
+ <br>
6
+ <a href="https://vue-data-ui.graphieros.com/"><img src="https://vue-data-ui.graphieros.com/vue-data-ui-showcase.png"></a>
7
+ </p>
8
+
9
+
10
+
11
+ # vue-data-ui
12
+ ![npm](https://img.shields.io/npm/v/vue-data-ui)
13
+ [![MadeWithVueJs.com shield](https://madewithvuejs.com/storage/repo-shields/4526-shield.svg)](https://madewithvuejs.com/p/vue-data-ui/shield-link)
14
+ ![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui)
15
+ ![NPM](https://img.shields.io/npm/l/vue-data-ui)
16
+ ![npm](https://img.shields.io/npm/dt/vue-data-ui)
17
+ ![Static Badge](https://img.shields.io/badge/components-37-green)
18
+
19
+ [Interactive documentation](https://vue-data-ui.graphieros.com/)
20
+
21
+ A user-empowering data visualization Vue components library.
22
+
23
+ Available components:
24
+
25
+ ## Charts
26
+ - [VueUiXy](https://vue-data-ui.graphieros.com/docs#vue-ui-xy)
27
+ - [VueUiDonut](https://vue-data-ui.graphieros.com/docs#vue-ui-donut)
28
+ - [VueUiWaffle](https://vue-data-ui.graphieros.com/docs#vue-ui-waffle)
29
+ - [VueUiRadar](https://vue-data-ui.graphieros.com/docs#vue-ui-radar)
30
+ - [VueUiQuadrant](https://vue-data-ui.graphieros.com/docs#vue-ui-quadrant)
31
+ - [VueUiGauge](https://vue-data-ui.graphieros.com/docs#vue-ui-gauge)
32
+ - [VueUiChestnut](https://vue-data-ui.graphieros.com/docs#vue-ui-chestnut)
33
+ - [VueUiOnion](https://vue-data-ui.graphieros.com/docs#vue-ui-onion)
34
+ - [VueUiVerticalBar](https://vue-data-ui.graphieros.com/docs#vue-ui-vertical-bar)
35
+ - [VueUiHeatmap](https://vue-data-ui.graphieros.com/docs#vue-ui-heatmap)
36
+ - [VueUiScatter](https://vue-data-ui.graphieros.com/docs#vue-ui-scatter)
37
+ - [VueUiCandlestick](https://vue-data-ui.graphieros.com/docs#vue-ui-candlestick)
38
+ - [VueUiAgePyramid](https://vue-data-ui.graphieros.com/docs#vue-ui-age-pyramid)
39
+ - [VueUiRelationCircle](https://vue-data-ui.graphieros.com/docs#vue-ui-relation-circle)
40
+ - [VueUiThermometer](https://vue-data-ui.graphieros.com/docs#vue-ui-thermometer)
41
+ - [VueUiRings](https://vue-data-ui.graphieros.com/docs#vue-ui-rings)
42
+ - [VueUiWheel](https://vue-data-ui.graphieros.com/docs#vue-ui-wheel)
43
+ - [VueUiTiremarks](https://vue-data-ui.graphieros.com/docs#vue-ui-tiremarks)
44
+ - [VueUiDonutEvolution](https://vue-data-ui.graphieros.com/docs#vue-ui-donut-evolution)
45
+ - [VueUiMoodRadar](https://vue-data-ui.graphieros.com/docs#vue-ui-mood-radar)
46
+ - [VueUiMolecule](https://vue-data-ui.graphieros.com/docs#vue-ui-molecule)
47
+
48
+
49
+ ## Mini charts
50
+ - [VueUiSparkline](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkline)
51
+ - [VueUiSparkbar](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkbar)
52
+ - [VueUiSparkstackbar](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkstackbar)
53
+ - [VueUiSparkHistogram](https://vue-data-ui.graphieros.com/docs#vue-ui-sparkhistogram)
54
+
55
+ ## 3d
56
+ - [VueUi3dBar](https://vue-data-ui.graphieros.com/docs#vue-ui-3d-bar)
57
+
58
+ ## Tables
59
+ - [VueUiTableSparkline](https://vue-data-ui.graphieros.com/docs#vue-ui-table-sparkline)
60
+ - [VueUiTable](https://vue-data-ui.graphieros.com/docs#vue-ui-table)
61
+
62
+ ## Rating
63
+ - [VueUiRating](https://vue-data-ui.graphieros.com/docs#vue-ui-rating)
64
+ - [VueUiSmiley](https://vue-data-ui.graphieros.com/docs#vue-ui-smiley)
65
+
66
+ ## Utilities
67
+ - [VueUiScreenshot](https://vue-data-ui.graphieros.com/docs#vue-ui-screenshot)
68
+ - [VueUiSkeleton](https://vue-data-ui.graphieros.com/docs#vue-ui-skeleton)
69
+ - [VueUiDashboard](https://vue-data-ui.graphieros.com/docs#vue-ui-dashboard)
70
+ - [VueUiAnnotator](https://vue-data-ui.graphieros.com/docs#vue-ui-annotator)
71
+ - [VueUiIcon](https://vue-data-ui.graphieros.com/docs#vue-ui-icon)
72
+ - [VueUiDigits](https://vue-data-ui.graphieros.com/docs#vue-ui-digits)
73
+ - [VueUiMiniLoader](https://vue-data-ui.graphieros.com/docs#vue-ui-mini-loader)
74
+
75
+ # Installation
76
+ ```
77
+ npm i vue-data-ui
78
+ ```
79
+
80
+ You can declare components globally in your main.js:
81
+
82
+ ```
83
+ import { createApp } from 'vue'
84
+ import App from "./App.vue";
85
+ // Include the css;
86
+ import "vue-data-ui/style.css";
87
+
88
+ // You can declare Vue Data UI components globally
89
+ import { VueUiRadar } from "vue-data-ui";
90
+
91
+ const app = createApp(App);
92
+
93
+ app.component("VueUiRadar", VueUiRadar);
94
+ app.mount('#app');
95
+ ```
96
+
97
+ Or you can import just what you need in your files:
98
+
99
+ ```
100
+ <script setup>
101
+ import { VueUiRadar, VueUiXy } from "vue-data-ui";
102
+ </script>
103
+ ```
104
+
105
+ ## Typescript
106
+ Types are available in the 'vue-data-ui.d.ts' file under the types directory of the package.
107
+
108
+ ## Nuxt
109
+ [This repo contains a boilerplate implementation of the vue-data-ui package in Nuxt](https://github.com/graphieros/vue-data-ui-nuxt)
110
+
111
+ # Customizable tooltips
112
+ Charts with tooltips have a config option to customize tooltip contents:
113
+
114
+ ```
115
+
116
+ customFormat: ({ seriesIndex, datapoint, series, config }) => {
117
+ return `<div>${ ... }</div>`;
118
+ }
119
+
120
+ ```
121
+
122
+ # Slots
123
+ Most Vue Data UI chart components include a #svg slot you can use to introduce customized svg elements (shapes, text, etc).
124
+
125
+ # Config
126
+ If for some reason you can't access the documentation website and need to get the default config object for a component:
127
+
128
+ ```
129
+ import { getVueDataUiConfig } from "vue-data-ui";
130
+
131
+ const defaultConfigXy = getVueDataUiConfig("vue_ui_xy");
132
+
133
133
  ```