vue-data-ui 1.8.8 → 1.8.9

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.
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-2def6f13.js";
1
+ import { _ as Ha } from "./index-94f86e58.js";
2
2
  import "vue";
3
3
  var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Vo(a) {
@@ -5,6 +5,82 @@ declare module 'vue-data-ui' {
5
5
  [key: string]: unknown;
6
6
  }
7
7
 
8
+ export type VueUiSparkHistogramConfig = {
9
+ style?: {
10
+ backgroundColor?: string;
11
+ fontFamily: string;
12
+ layout?: {
13
+ height?: number;
14
+ width?: number;
15
+ padding?: {
16
+ top?: number;
17
+ right?: number;
18
+ left?: number;
19
+ bottom?: number;
20
+ };
21
+ };
22
+ bars?: {
23
+ strokeWidth?: number;
24
+ colors?: {
25
+ positive?: number;
26
+ negative?: number;
27
+ gradient?: {
28
+ show?: boolean;
29
+ };
30
+ };
31
+ borderRadius?: number;
32
+ gap?: number;
33
+ };
34
+ labels?: {
35
+ value?: {
36
+ fontSize?: number;
37
+ color?: string;
38
+ bold?: boolean;
39
+ rounding?: number;
40
+ prefix?: string;
41
+ suffix?: string;
42
+ };
43
+ valueLabel?: {
44
+ fontSize?: number;
45
+ color?: string;
46
+ bold?: boolean;
47
+ rounding?: number;
48
+ };
49
+ timeLabel?: {
50
+ fontSize?: number;
51
+ color?: string;
52
+ bold?: boolean;
53
+ };
54
+ };
55
+ title?: {
56
+ textAlign?: "left" | "right" | "center";
57
+ text?: string;
58
+ color?: string;
59
+ fontSize?: number;
60
+ bold?: boolean;
61
+ margin?: string;
62
+ subtitle?: {
63
+ color?: string;
64
+ text?: string;
65
+ fontSize?: number;
66
+ bold?: boolean;
67
+ };
68
+ };
69
+ };
70
+ };
71
+
72
+ export type VueUiSparkHistogramDatasetItem = {
73
+ value: number;
74
+ valueLabel?: string;
75
+ timeLabel?: string;
76
+ intensity?: number & { 0: 0; 1: 1 };
77
+ }
78
+
79
+ export const VueUiSparkHistogram: DefineComponent<{
80
+ config?: VueUiSparkHistogramConfig,
81
+ dataset: VueUiSparkHistogramDatasetItem[]
82
+ }>;
83
+
8
84
  export type VueUiSparkStackBarConfig = {
9
85
  style?: {
10
86
  backgroundColor?: string;
@@ -1,4 +1,4 @@
1
- import { q as s, t as u, p as V, g as U, s as r, b as t, f as n, n as o, h as l, e as m, d as S, k as c, w as k, o as p, j as d, l as b, u as h, y as f, r as g, m as y, a as C, x as R, i as x, c as A, v as D } from "./index-2def6f13.js";
1
+ import { q as s, t as u, p as V, g as U, s as r, b as t, f as n, n as o, h as l, e as m, d as S, k, w as p, o as c, j as d, l as b, u as g, z as h, y as f, r as y, m as C, a as R, x, i as A, c as D, v as H } from "./index-94f86e58.js";
2
2
  import "vue";
3
3
  export {
4
4
  s as VueUiAgePyramid,
@@ -12,18 +12,19 @@ export {
12
12
  l as VueUiOnion,
13
13
  m as VueUiQuadrant,
14
14
  S as VueUiRadar,
15
- c as VueUiRating,
16
- k as VueUiRelationCircle,
17
- p as VueUiScatter,
15
+ k as VueUiRating,
16
+ p as VueUiRelationCircle,
17
+ c as VueUiScatter,
18
18
  d as VueUiScreenshot,
19
19
  b as VueUiSkeleton,
20
- h as VueUiSmiley,
20
+ g as VueUiSmiley,
21
+ h as VueUiSparkHistogram,
21
22
  f as VueUiSparkStackbar,
22
- g as VueUiSparkbar,
23
- y as VueUiSparkline,
24
- C as VueUiTable,
25
- R as VueUiThermometer,
26
- x as VueUiVerticalBar,
27
- A as VueUiWaffle,
28
- D as VueUiXy
23
+ y as VueUiSparkbar,
24
+ C as VueUiSparkline,
25
+ R as VueUiTable,
26
+ x as VueUiThermometer,
27
+ A as VueUiVerticalBar,
28
+ D as VueUiWaffle,
29
+ H as VueUiXy
29
30
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "1.8.8",
4
+ "version": "1.8.9",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue components library",
7
7
  "keywords": [