vue-data-ui 1.9.32 → 1.9.33
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/README.md +1 -0
- package/dist/{index-19eec7e4.js → index-c1a2651a.js} +17168 -16446
- package/dist/{index.es-b83acb7b.js → index.es-e1a0b2d2.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +268 -154
- package/dist/vue-data-ui.js +20 -19
- package/package.json +5 -4
|
@@ -5,52 +5,166 @@ declare module 'vue-data-ui' {
|
|
|
5
5
|
[key: string]: unknown;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
export type VueUiDonutEvolutionConfig = {
|
|
9
|
+
style?: {
|
|
10
|
+
fontFamily?: string;
|
|
11
|
+
chart?: {
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
color?: string;
|
|
14
|
+
layout?: {
|
|
15
|
+
height?: number;
|
|
16
|
+
width?: number;
|
|
17
|
+
padding?: {
|
|
18
|
+
top?: number;
|
|
19
|
+
left?: number;
|
|
20
|
+
right?: number;
|
|
21
|
+
bottom?: number;
|
|
22
|
+
};
|
|
23
|
+
grid?: {
|
|
24
|
+
show?: boolean;
|
|
25
|
+
stroke?: string;
|
|
26
|
+
strokeWidth?: number;
|
|
27
|
+
showVerticalLines?: boolean;
|
|
28
|
+
yAxis?: {
|
|
29
|
+
dataLabels?: {
|
|
30
|
+
show?: boolean;
|
|
31
|
+
fontSize?: number;
|
|
32
|
+
color?: string;
|
|
33
|
+
roundingValue?: number;
|
|
34
|
+
offsetX?: number;
|
|
35
|
+
bold?: boolean;
|
|
36
|
+
steps?: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
xAxis?: {
|
|
40
|
+
dataLabels?: {
|
|
41
|
+
show?: boolean;
|
|
42
|
+
values?: string[];
|
|
43
|
+
fontSize?: number;
|
|
44
|
+
showOnlyFirstAndLast?: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
line?: {
|
|
49
|
+
show?: boolean;
|
|
50
|
+
stroke?: string;
|
|
51
|
+
strokeWidth?: number;
|
|
52
|
+
};
|
|
53
|
+
highlighter?: {
|
|
54
|
+
color?: string;
|
|
55
|
+
opacity?: number;
|
|
56
|
+
};
|
|
57
|
+
dataLabels?: {
|
|
58
|
+
show?: boolean;
|
|
59
|
+
fontSize?: number;
|
|
60
|
+
color?: string;
|
|
61
|
+
bold?: boolean;
|
|
62
|
+
rounding?: number;
|
|
63
|
+
prefix?: string;
|
|
64
|
+
suffix?: string;
|
|
65
|
+
offsetY?: number;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
title?: {
|
|
69
|
+
text?: string;
|
|
70
|
+
color?: string;
|
|
71
|
+
fontSize?: number;
|
|
72
|
+
bold?: boolean;
|
|
73
|
+
subtitle?: {
|
|
74
|
+
color?: string;
|
|
75
|
+
text?: string;
|
|
76
|
+
fontSize?: number;
|
|
77
|
+
bold?: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
legend?: {
|
|
81
|
+
color?: string;
|
|
82
|
+
backgroundColor?: string;
|
|
83
|
+
bold?: boolean;
|
|
84
|
+
show?: boolean;
|
|
85
|
+
fontSize?: number;
|
|
86
|
+
roundingPercentage?: number;
|
|
87
|
+
roundingValue?: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
table?: {
|
|
92
|
+
show?: boolean;
|
|
93
|
+
th?: {
|
|
94
|
+
backgroundColor?: string;
|
|
95
|
+
color?: string;
|
|
96
|
+
outline?: string;
|
|
97
|
+
};
|
|
98
|
+
td?: {
|
|
99
|
+
backgroundColor?: string;
|
|
100
|
+
color?: string;
|
|
101
|
+
outline?: string;
|
|
102
|
+
roundingValue?: number;
|
|
103
|
+
roundingPercentage?: number;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
userOptions?: {
|
|
107
|
+
show?: boolean;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type VueUiDonutEvolutionDatasetItem = {
|
|
112
|
+
name: string;
|
|
113
|
+
values: number[];
|
|
114
|
+
color?: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export const VueUiDonutEvolution: DefineComponent<{
|
|
118
|
+
config?: VueUiDonutEvolutionConfig,
|
|
119
|
+
dataset: VueUiDonutEvolutionDatasetItem[]
|
|
120
|
+
}>;
|
|
121
|
+
|
|
8
122
|
export type VueUiTiremarksConfig = {
|
|
9
|
-
style
|
|
10
|
-
fontFamily
|
|
11
|
-
chart
|
|
12
|
-
backgroundColor
|
|
13
|
-
color
|
|
14
|
-
animation
|
|
15
|
-
use
|
|
16
|
-
speed
|
|
17
|
-
acceleration
|
|
18
|
-
};
|
|
19
|
-
layout
|
|
20
|
-
display
|
|
21
|
-
crescendo
|
|
22
|
-
curved
|
|
23
|
-
curveAngleX
|
|
24
|
-
curveAngleY
|
|
25
|
-
activeColor
|
|
26
|
-
inactiveColor
|
|
27
|
-
ticks
|
|
28
|
-
gradient
|
|
29
|
-
show
|
|
30
|
-
shiftHueIntensity
|
|
123
|
+
style?: {
|
|
124
|
+
fontFamily?: string;
|
|
125
|
+
chart?: {
|
|
126
|
+
backgroundColor?: string;
|
|
127
|
+
color?: string;
|
|
128
|
+
animation?: {
|
|
129
|
+
use?: boolean;
|
|
130
|
+
speed?: number;
|
|
131
|
+
acceleration?: number;
|
|
132
|
+
};
|
|
133
|
+
layout?: {
|
|
134
|
+
display?: "horizontal" | "vertical";
|
|
135
|
+
crescendo?: boolean;
|
|
136
|
+
curved?: boolean;
|
|
137
|
+
curveAngleX?: number;
|
|
138
|
+
curveAngleY?: number;
|
|
139
|
+
activeColor?: string;
|
|
140
|
+
inactiveColor?: string;
|
|
141
|
+
ticks?: {
|
|
142
|
+
gradient?: {
|
|
143
|
+
show?: boolean;
|
|
144
|
+
shiftHueIntensity?: number;
|
|
31
145
|
};
|
|
32
146
|
};
|
|
33
147
|
};
|
|
34
|
-
percentage
|
|
35
|
-
show
|
|
36
|
-
useGradientColor
|
|
37
|
-
color
|
|
38
|
-
fontSize
|
|
39
|
-
bold
|
|
40
|
-
rounding
|
|
41
|
-
verticalPosition
|
|
42
|
-
horizontalPosition
|
|
148
|
+
percentage?: {
|
|
149
|
+
show?: boolean;
|
|
150
|
+
useGradientColor?: boolean;
|
|
151
|
+
color?: string;
|
|
152
|
+
fontSize?: number;
|
|
153
|
+
bold?: boolean;
|
|
154
|
+
rounding?: 1;
|
|
155
|
+
verticalPosition?: "bottom" | "top";
|
|
156
|
+
horizontalPosition?: "left" | "right";
|
|
43
157
|
};
|
|
44
|
-
title
|
|
45
|
-
text
|
|
46
|
-
color
|
|
47
|
-
fontSize
|
|
48
|
-
bold
|
|
49
|
-
subtitle
|
|
50
|
-
color
|
|
51
|
-
text
|
|
52
|
-
fontSize
|
|
53
|
-
bold
|
|
158
|
+
title?: {
|
|
159
|
+
text?: string;
|
|
160
|
+
color?: string;
|
|
161
|
+
fontSize?: number;
|
|
162
|
+
bold?: boolean;
|
|
163
|
+
subtitle?: {
|
|
164
|
+
color?: string;
|
|
165
|
+
text?: string;
|
|
166
|
+
fontSize?: number;
|
|
167
|
+
bold?: boolean;
|
|
54
168
|
};
|
|
55
169
|
};
|
|
56
170
|
};
|
|
@@ -67,57 +181,57 @@ declare module 'vue-data-ui' {
|
|
|
67
181
|
}>;
|
|
68
182
|
|
|
69
183
|
export type VueUiWheelConfig = {
|
|
70
|
-
style
|
|
71
|
-
fontFamily
|
|
72
|
-
chart
|
|
73
|
-
backgroundColor
|
|
74
|
-
color
|
|
75
|
-
animation
|
|
76
|
-
use
|
|
77
|
-
speed
|
|
78
|
-
acceleration
|
|
79
|
-
};
|
|
80
|
-
layout
|
|
81
|
-
wheel
|
|
82
|
-
ticks
|
|
83
|
-
rounded
|
|
84
|
-
inactiveColor
|
|
85
|
-
activeColor
|
|
86
|
-
gradient
|
|
87
|
-
show
|
|
88
|
-
shiftHueIntensity
|
|
184
|
+
style?: {
|
|
185
|
+
fontFamily?: string;
|
|
186
|
+
chart?: {
|
|
187
|
+
backgroundColor?: string;
|
|
188
|
+
color?: string;
|
|
189
|
+
animation?: {
|
|
190
|
+
use?: boolean;
|
|
191
|
+
speed?: number;
|
|
192
|
+
acceleration?: number;
|
|
193
|
+
};
|
|
194
|
+
layout?: {
|
|
195
|
+
wheel?: {
|
|
196
|
+
ticks?: {
|
|
197
|
+
rounded?: boolean;
|
|
198
|
+
inactiveColor?: string;
|
|
199
|
+
activeColor?: string;
|
|
200
|
+
gradient?: {
|
|
201
|
+
show?: boolean;
|
|
202
|
+
shiftHueIntensity?: number;
|
|
89
203
|
};
|
|
90
204
|
};
|
|
91
205
|
};
|
|
92
|
-
innerCircle
|
|
93
|
-
show
|
|
94
|
-
stroke
|
|
95
|
-
strokeWidth
|
|
206
|
+
innerCircle?: {
|
|
207
|
+
show?: boolean;
|
|
208
|
+
stroke?: string;
|
|
209
|
+
strokeWidth?: number;
|
|
96
210
|
};
|
|
97
|
-
percentage
|
|
98
|
-
show
|
|
99
|
-
fontSize
|
|
100
|
-
rounding
|
|
101
|
-
bold
|
|
211
|
+
percentage?: {
|
|
212
|
+
show?: boolean;
|
|
213
|
+
fontSize?: number;
|
|
214
|
+
rounding?: number;
|
|
215
|
+
bold?: boolean;
|
|
102
216
|
};
|
|
103
217
|
};
|
|
104
|
-
title
|
|
105
|
-
text
|
|
106
|
-
color
|
|
107
|
-
fontSize
|
|
108
|
-
bold
|
|
109
|
-
subtitle
|
|
110
|
-
color
|
|
111
|
-
text
|
|
112
|
-
fontSize
|
|
113
|
-
bold
|
|
218
|
+
title?: {
|
|
219
|
+
text?: string;
|
|
220
|
+
color?: string;
|
|
221
|
+
fontSize?: number;
|
|
222
|
+
bold?: boolean;
|
|
223
|
+
subtitle?: {
|
|
224
|
+
color?: string;
|
|
225
|
+
text?: string;
|
|
226
|
+
fontSize?: number;
|
|
227
|
+
bold?: boolean;
|
|
114
228
|
};
|
|
115
229
|
};
|
|
116
230
|
};
|
|
117
231
|
};
|
|
118
|
-
userOptions
|
|
119
|
-
show
|
|
120
|
-
title
|
|
232
|
+
userOptions?: {
|
|
233
|
+
show?: boolean;
|
|
234
|
+
title?: string;
|
|
121
235
|
};
|
|
122
236
|
};
|
|
123
237
|
|
|
@@ -131,78 +245,78 @@ declare module 'vue-data-ui' {
|
|
|
131
245
|
}>;
|
|
132
246
|
|
|
133
247
|
export type VueUiRingsConfig = {
|
|
134
|
-
useCssAnimation
|
|
135
|
-
useBlurOnHover
|
|
136
|
-
style
|
|
137
|
-
fontFamily
|
|
138
|
-
chart
|
|
139
|
-
backgroundColor
|
|
140
|
-
color
|
|
141
|
-
layout
|
|
142
|
-
rings
|
|
143
|
-
strokeWidth
|
|
144
|
-
stroke
|
|
145
|
-
gradient
|
|
146
|
-
show
|
|
147
|
-
intensity
|
|
148
|
-
underlayerColor
|
|
248
|
+
useCssAnimation?: boolean;
|
|
249
|
+
useBlurOnHover?: boolean;
|
|
250
|
+
style?: {
|
|
251
|
+
fontFamily?: string;
|
|
252
|
+
chart?: {
|
|
253
|
+
backgroundColor?: string;
|
|
254
|
+
color?: string;
|
|
255
|
+
layout?: {
|
|
256
|
+
rings?: {
|
|
257
|
+
strokeWidth?: number;
|
|
258
|
+
stroke?: string;
|
|
259
|
+
gradient?: {
|
|
260
|
+
show?: boolean;
|
|
261
|
+
intensity?: number;
|
|
262
|
+
underlayerColor?: string;
|
|
149
263
|
};
|
|
150
|
-
useShadow
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
legend
|
|
154
|
-
backgroundColor
|
|
155
|
-
color
|
|
156
|
-
show
|
|
157
|
-
fontSize
|
|
158
|
-
bold
|
|
159
|
-
roundingValue
|
|
160
|
-
roundingPercentage
|
|
161
|
-
};
|
|
162
|
-
title
|
|
163
|
-
text
|
|
164
|
-
color
|
|
165
|
-
fontSize
|
|
166
|
-
bold
|
|
167
|
-
subtitle
|
|
168
|
-
color
|
|
169
|
-
text
|
|
170
|
-
fontSize
|
|
171
|
-
bold
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
tooltip
|
|
175
|
-
show
|
|
176
|
-
color
|
|
177
|
-
backgroundColor
|
|
178
|
-
fontSize
|
|
179
|
-
showValue
|
|
180
|
-
showPercentage
|
|
181
|
-
roundingValue
|
|
182
|
-
roundingPercentage
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
userOptions
|
|
187
|
-
show
|
|
188
|
-
title
|
|
189
|
-
labels
|
|
190
|
-
showTable
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
table
|
|
194
|
-
show
|
|
195
|
-
th
|
|
196
|
-
backgroundColor
|
|
197
|
-
color
|
|
198
|
-
outline
|
|
199
|
-
};
|
|
200
|
-
td
|
|
201
|
-
backgroundColor
|
|
202
|
-
color
|
|
203
|
-
outline
|
|
204
|
-
roundingValue
|
|
205
|
-
roundingPercentage
|
|
264
|
+
useShadow?: boolean;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
legend?: {
|
|
268
|
+
backgroundColor?: string;
|
|
269
|
+
color?: string;
|
|
270
|
+
show?: boolean;
|
|
271
|
+
fontSize?: number;
|
|
272
|
+
bold?: boolean;
|
|
273
|
+
roundingValue?: number;
|
|
274
|
+
roundingPercentage?: number;
|
|
275
|
+
};
|
|
276
|
+
title?: {
|
|
277
|
+
text?: string;
|
|
278
|
+
color?: string;
|
|
279
|
+
fontSize?: number;
|
|
280
|
+
bold?: boolean;
|
|
281
|
+
subtitle?: {
|
|
282
|
+
color?: string;
|
|
283
|
+
text?: string;
|
|
284
|
+
fontSize?: number;
|
|
285
|
+
bold?: boolean;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
tooltip?: {
|
|
289
|
+
show?: boolean;
|
|
290
|
+
color?: string;
|
|
291
|
+
backgroundColor?: string;
|
|
292
|
+
fontSize?: number;
|
|
293
|
+
showValue?: boolean;
|
|
294
|
+
showPercentage?: boolean;
|
|
295
|
+
roundingValue?: number;
|
|
296
|
+
roundingPercentage?: number;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
userOptions?: {
|
|
301
|
+
show?: boolean;
|
|
302
|
+
title?: string;
|
|
303
|
+
labels?: {
|
|
304
|
+
showTable?: string;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
table?: {
|
|
308
|
+
show?: string;
|
|
309
|
+
th?: {
|
|
310
|
+
backgroundColor?: string;
|
|
311
|
+
color?: string;
|
|
312
|
+
outline?: string;
|
|
313
|
+
};
|
|
314
|
+
td?: {
|
|
315
|
+
backgroundColor?: string;
|
|
316
|
+
color?: string;
|
|
317
|
+
outline?: string;
|
|
318
|
+
roundingValue?: number;
|
|
319
|
+
roundingPercentage?: number;
|
|
206
320
|
};
|
|
207
321
|
};
|
|
208
322
|
};
|
|
@@ -221,7 +335,7 @@ declare module 'vue-data-ui' {
|
|
|
221
335
|
export type VueUiSparkHistogramConfig = {
|
|
222
336
|
style?: {
|
|
223
337
|
backgroundColor?: string;
|
|
224
|
-
fontFamily
|
|
338
|
+
fontFamily?: string;
|
|
225
339
|
layout?: {
|
|
226
340
|
height?: number;
|
|
227
341
|
width?: number;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as s, t as u, p as V, g as U, s as r, b as t,
|
|
1
|
+
import { q as s, t as u, p as V, g as U, s as r, b as t, D as n, f as o, n as l, h as m, e as k, d as S, k as p, w as c, A as d, o as g, j as h, l as b, u as f, z as y, y as C, r as D, m as R, a as A, x as T, C as v, i as x, c as B, B as H, v as W } from "./index-c1a2651a.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
export {
|
|
4
4
|
s as VueUiAgePyramid,
|
|
@@ -7,27 +7,28 @@ export {
|
|
|
7
7
|
U as VueUiChestnut,
|
|
8
8
|
r as VueUiDashboard,
|
|
9
9
|
t as VueUiDonut,
|
|
10
|
-
n as
|
|
11
|
-
o as
|
|
12
|
-
l as
|
|
13
|
-
m as
|
|
14
|
-
k as
|
|
15
|
-
S as
|
|
16
|
-
p as
|
|
17
|
-
c as
|
|
18
|
-
d as
|
|
19
|
-
g as
|
|
20
|
-
h as
|
|
21
|
-
b as
|
|
22
|
-
f as
|
|
23
|
-
y as
|
|
24
|
-
C as
|
|
10
|
+
n as VueUiDonutEvolution,
|
|
11
|
+
o as VueUiGauge,
|
|
12
|
+
l as VueUiHeatmap,
|
|
13
|
+
m as VueUiOnion,
|
|
14
|
+
k as VueUiQuadrant,
|
|
15
|
+
S as VueUiRadar,
|
|
16
|
+
p as VueUiRating,
|
|
17
|
+
c as VueUiRelationCircle,
|
|
18
|
+
d as VueUiRings,
|
|
19
|
+
g as VueUiScatter,
|
|
20
|
+
h as VueUiScreenshot,
|
|
21
|
+
b as VueUiSkeleton,
|
|
22
|
+
f as VueUiSmiley,
|
|
23
|
+
y as VueUiSparkHistogram,
|
|
24
|
+
C as VueUiSparkStackbar,
|
|
25
|
+
D as VueUiSparkbar,
|
|
25
26
|
R as VueUiSparkline,
|
|
26
27
|
A as VueUiTable,
|
|
27
28
|
T as VueUiThermometer,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
v as VueUiTiremarks,
|
|
30
|
+
x as VueUiVerticalBar,
|
|
31
|
+
B as VueUiWaffle,
|
|
31
32
|
H as VueUiWheel,
|
|
32
33
|
W as VueUiXy
|
|
33
34
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.33",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue components library",
|
|
7
7
|
"keywords": [
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"thermometer",
|
|
34
34
|
"rings",
|
|
35
35
|
"wheel",
|
|
36
|
-
"tiremarks"
|
|
36
|
+
"tiremarks",
|
|
37
|
+
"donut evolution"
|
|
37
38
|
],
|
|
38
39
|
"author": "Alec Lloyd Probert",
|
|
39
40
|
"repository": {
|
|
@@ -58,9 +59,9 @@
|
|
|
58
59
|
"dev": "vite",
|
|
59
60
|
"clean": "node cleanup.cjs",
|
|
60
61
|
"build": "npm run clean && vite build --mode production && node copy-types.cjs && npm i",
|
|
62
|
+
"prod": "npm run test && npx cypress run --component && npm run clean && vite build --mode production && node copy-types.cjs && npm i",
|
|
61
63
|
"build:dev": "npm run build && npm run dev",
|
|
62
|
-
"
|
|
63
|
-
"test": "vitest",
|
|
64
|
+
"test": "vitest --run",
|
|
64
65
|
"test:e2e": "npx cypress open"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|