@record-evolution/widget-gauge 1.5.21 → 1.5.23
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/dist/src/widget-gauge.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/widget-gauge.js +126 -110
- package/dist/widget-gauge.js.map +1 -1
- package/package.json +5 -3
- package/src/default-data.json +29 -28
- package/src/definition-schema.d.ts +65 -0
- package/src/definition-schema.json +2 -2
- package/src/widget-gauge.ts +380 -361
- package/dist/src/types.d.ts +0 -25
- package/src/types.ts +0 -28
package/dist/src/types.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface Settings {
|
|
2
|
-
title: string;
|
|
3
|
-
subTitle: string;
|
|
4
|
-
columnLayout: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface Data {
|
|
7
|
-
value: number;
|
|
8
|
-
pivot: string;
|
|
9
|
-
}
|
|
10
|
-
export interface Dataseries {
|
|
11
|
-
label: string;
|
|
12
|
-
unit: string;
|
|
13
|
-
valueColor: string;
|
|
14
|
-
averageLatest: number;
|
|
15
|
-
sections: number[];
|
|
16
|
-
backgroundColors: string[];
|
|
17
|
-
data: Data[];
|
|
18
|
-
needleValue: number;
|
|
19
|
-
range: number;
|
|
20
|
-
ranges: number[];
|
|
21
|
-
}
|
|
22
|
-
export interface InputData {
|
|
23
|
-
settings: Settings;
|
|
24
|
-
dataseries: Dataseries[];
|
|
25
|
-
}
|
package/src/types.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface Settings {
|
|
2
|
-
title: string
|
|
3
|
-
subTitle: string
|
|
4
|
-
columnLayout: boolean
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface Data {
|
|
8
|
-
value: number
|
|
9
|
-
pivot: string
|
|
10
|
-
}
|
|
11
|
-
export interface Dataseries {
|
|
12
|
-
label: string
|
|
13
|
-
unit: string
|
|
14
|
-
valueColor: string
|
|
15
|
-
averageLatest: number
|
|
16
|
-
sections: number[]
|
|
17
|
-
backgroundColors: string[]
|
|
18
|
-
data: Data[]
|
|
19
|
-
// not input values
|
|
20
|
-
needleValue: number
|
|
21
|
-
range: number
|
|
22
|
-
ranges: number[]
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface InputData {
|
|
26
|
-
settings: Settings
|
|
27
|
-
dataseries: Dataseries[]
|
|
28
|
-
}
|