@progress/kendo-vue-gauges 8.0.3-develop.2 → 8.0.3-develop.4
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/ArcCenter.d.ts +24 -0
- package/ArcGauge.d.ts +101 -0
- package/ArcGaugeProps.d.ts +40 -0
- package/BaseGauge.d.ts +69 -0
- package/BaseGauge.mjs +4 -4
- package/BaseGaugeProps.d.ts +55 -0
- package/CircularGauge.d.ts +99 -0
- package/CircularGaugeProps.d.ts +24 -0
- package/LinearGauge.d.ts +66 -0
- package/LinearGaugeProps.d.ts +22 -0
- package/RadialGauge.d.ts +66 -0
- package/RadialGaugeProps.d.ts +22 -0
- package/dist/cdn/js/kendo-vue-gauges.js +1 -1
- package/index.d.mts +11 -890
- package/index.d.ts +11 -890
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -6
- package/store/reducer.d.ts +21 -0
- package/store/store.d.ts +33 -0
- package/theming/theme-service.d.ts +13 -0
- package/types/arc-scale.interface.d.ts +35 -0
- package/types/border.interface.d.ts +25 -0
- package/types/cap.interface.d.ts +20 -0
- package/types/circular-scale.interface.d.ts +17 -0
- package/types/color-range.interface.d.ts +28 -0
- package/types/dash-type.interface.d.ts +11 -0
- package/types/gauge-area.interface.d.ts +34 -0
- package/types/labels.interface.d.ts +54 -0
- package/types/line-cap.d.ts +11 -0
- package/types/line.interface.d.ts +29 -0
- package/types/linear-pointer-shape.d.ts +11 -0
- package/types/linear-pointer.interface.d.ts +43 -0
- package/types/linear-scale.interface.d.ts +33 -0
- package/types/margin.interface.d.ts +28 -0
- package/types/padding.interface.d.ts +28 -0
- package/types/radial-label-position.d.ts +11 -0
- package/types/radial-labels.interface.d.ts +15 -0
- package/types/radial-pointer.interface.d.ts +29 -0
- package/types/radial-scale.interface.d.ts +35 -0
- package/types/range.interface.d.ts +28 -0
- package/types/scale.interface.d.ts +54 -0
- package/types/ticks.interface.d.ts +28 -0
- package/types.d.ts +28 -0
- package/utils/common.d.ts +11 -0
package/ArcCenter.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface ArcCenterProps {
|
|
13
|
+
center?: any;
|
|
14
|
+
arcCenterValue?: object;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
declare const ArcCenter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
center: PropType<any>;
|
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
center: PropType<any>;
|
|
23
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export { ArcCenter };
|
package/ArcGauge.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Surface, Group } from '@progress/kendo-drawing';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
declare const ArcGauge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
dir: PropType<string>;
|
|
15
|
+
renderAs: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (value: string) => any;
|
|
19
|
+
};
|
|
20
|
+
gaugeConstructor: PropType<object>;
|
|
21
|
+
value: {
|
|
22
|
+
type: PropType<number>;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
color: PropType<string>;
|
|
26
|
+
colors: {
|
|
27
|
+
type: PropType<import('./types').ColorRange[]>;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
opacity: {
|
|
31
|
+
type: PropType<number>;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
scale: {
|
|
35
|
+
type: PropType<import('./types').ArcScale>;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
centerRender: PropType<any>;
|
|
39
|
+
transitions: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
}>, {}, {
|
|
44
|
+
centerStyles: {
|
|
45
|
+
top: any;
|
|
46
|
+
left: any;
|
|
47
|
+
};
|
|
48
|
+
arcCenterValue: {
|
|
49
|
+
value: string;
|
|
50
|
+
color: string;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {
|
|
53
|
+
positionCenter(): void;
|
|
54
|
+
gaugeInstance(): any;
|
|
55
|
+
surface(): Surface | null;
|
|
56
|
+
element(): HTMLDivElement | null;
|
|
57
|
+
exportVisual(options?: any): Promise<Group>;
|
|
58
|
+
getTarget(): any;
|
|
59
|
+
deriveOptionsFromParent(options: any): any;
|
|
60
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
61
|
+
dir: PropType<string>;
|
|
62
|
+
renderAs: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: string;
|
|
65
|
+
validator: (value: string) => any;
|
|
66
|
+
};
|
|
67
|
+
gaugeConstructor: PropType<object>;
|
|
68
|
+
value: {
|
|
69
|
+
type: PropType<number>;
|
|
70
|
+
default: any;
|
|
71
|
+
};
|
|
72
|
+
color: PropType<string>;
|
|
73
|
+
colors: {
|
|
74
|
+
type: PropType<import('./types').ColorRange[]>;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
opacity: {
|
|
78
|
+
type: PropType<number>;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
scale: {
|
|
82
|
+
type: PropType<import('./types').ArcScale>;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
centerRender: PropType<any>;
|
|
86
|
+
transitions: {
|
|
87
|
+
type: PropType<boolean>;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
}>> & Readonly<{}>, {
|
|
91
|
+
value: number;
|
|
92
|
+
scale: import('./types').ArcScale;
|
|
93
|
+
colors: import('./types').ColorRange[];
|
|
94
|
+
opacity: number;
|
|
95
|
+
renderAs: string;
|
|
96
|
+
transitions: boolean;
|
|
97
|
+
}, {}, {}, {}, string, () => {
|
|
98
|
+
centerStyles: any;
|
|
99
|
+
arcCenterValue: any;
|
|
100
|
+
}, true, {}, any>;
|
|
101
|
+
export { ArcGauge };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BaseGaugeProps } from './BaseGaugeProps';
|
|
9
|
+
import { ArcScale, ColorRange } from './types';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the [Kendo UI for Vue ArcGauge component]({% slug overview_arcgauge_gauges %}).
|
|
12
|
+
*/
|
|
13
|
+
export interface ArcGaugeProps extends BaseGaugeProps {
|
|
14
|
+
/**
|
|
15
|
+
* The value of the Gauge.
|
|
16
|
+
*/
|
|
17
|
+
value: number;
|
|
18
|
+
/**
|
|
19
|
+
* The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
|
|
20
|
+
*/
|
|
21
|
+
color?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The color ranges of the value pointer
|
|
24
|
+
* ([see example]({% slug colorranges_arcgauge %})).
|
|
25
|
+
*/
|
|
26
|
+
colors?: ColorRange[];
|
|
27
|
+
/**
|
|
28
|
+
* The opacity of the value pointer.
|
|
29
|
+
*/
|
|
30
|
+
opacity?: number;
|
|
31
|
+
/**
|
|
32
|
+
* The scale options of the ArcGauge.
|
|
33
|
+
*/
|
|
34
|
+
scale?: ArcScale;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* A function that renders the center template of the Gauge.
|
|
38
|
+
*/
|
|
39
|
+
centerRender?: any;
|
|
40
|
+
}
|
package/BaseGauge.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { PropType } from 'vue';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
declare const BaseGauge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
dir: PropType<string>;
|
|
14
|
+
renderAs: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => any;
|
|
18
|
+
};
|
|
19
|
+
scale: PropType<object>;
|
|
20
|
+
value: PropType<number>;
|
|
21
|
+
pointer: {
|
|
22
|
+
type: PropType<object>;
|
|
23
|
+
default: () => any;
|
|
24
|
+
};
|
|
25
|
+
gaugeConstructor: PropType<object>;
|
|
26
|
+
deriveOptionsFromParent: PropType<(options: any) => any>;
|
|
27
|
+
transitions: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
default: any;
|
|
30
|
+
};
|
|
31
|
+
getTarget: PropType<() => any>;
|
|
32
|
+
onRender: PropType<(event: any) => void>;
|
|
33
|
+
}>, {
|
|
34
|
+
kendoIntlService: {};
|
|
35
|
+
}, {}, {}, {
|
|
36
|
+
instantiateCoreGauge(): void;
|
|
37
|
+
refresh(): void;
|
|
38
|
+
refreshValue(value: number): void;
|
|
39
|
+
refreshAllValues(values: Array<number>): void;
|
|
40
|
+
getDirection(dir?: string): boolean;
|
|
41
|
+
getGaugeOptions(): any;
|
|
42
|
+
onWindowResize(): void;
|
|
43
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
dir: PropType<string>;
|
|
45
|
+
renderAs: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
validator: (value: string) => any;
|
|
49
|
+
};
|
|
50
|
+
scale: PropType<object>;
|
|
51
|
+
value: PropType<number>;
|
|
52
|
+
pointer: {
|
|
53
|
+
type: PropType<object>;
|
|
54
|
+
default: () => any;
|
|
55
|
+
};
|
|
56
|
+
gaugeConstructor: PropType<object>;
|
|
57
|
+
deriveOptionsFromParent: PropType<(options: any) => any>;
|
|
58
|
+
transitions: {
|
|
59
|
+
type: PropType<boolean>;
|
|
60
|
+
default: any;
|
|
61
|
+
};
|
|
62
|
+
getTarget: PropType<() => any>;
|
|
63
|
+
onRender: PropType<(event: any) => void>;
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
pointer: object;
|
|
66
|
+
renderAs: string;
|
|
67
|
+
transitions: boolean;
|
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
export { BaseGauge };
|
package/BaseGauge.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import { provideIntlService as l } from "@progress/kendo-vue-intl";
|
|
|
10
10
|
import { loadTheme as p } from "./theming/theme-service.mjs";
|
|
11
11
|
import f from "./store/store.mjs";
|
|
12
12
|
import { themeReducer as m } from "./store/reducer.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { getDefaultSlots as v, validatePackage as S, canUseDOM as O } from "@progress/kendo-vue-common";
|
|
14
14
|
import { packageMetadata as I } from "./package-metadata.mjs";
|
|
15
15
|
const F = /* @__PURE__ */ u({
|
|
16
16
|
name: "KendoBaseGauge",
|
|
@@ -40,7 +40,7 @@ const F = /* @__PURE__ */ u({
|
|
|
40
40
|
onRender: Function
|
|
41
41
|
},
|
|
42
42
|
created() {
|
|
43
|
-
|
|
43
|
+
S(I), this.gaugeInstance = null, this.themeStore = {}, this._prevRenderAs = this.renderAs, this._prevDir = this.dir, this._prevScale = this.scale, this.themeStore = f(m);
|
|
44
44
|
},
|
|
45
45
|
mounted() {
|
|
46
46
|
p(this.themeStore, this.instantiateCoreGauge.bind(this), this.$el), this.themeUnsubscriber = this.themeStore.subscribe(this.refresh.bind(this)), window.addEventListener("resize", this.onWindowResize);
|
|
@@ -82,7 +82,7 @@ const F = /* @__PURE__ */ u({
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
render() {
|
|
85
|
-
const e =
|
|
85
|
+
const e = v(this), t = Object.assign({}, {
|
|
86
86
|
position: "relative"
|
|
87
87
|
});
|
|
88
88
|
return this._intl = l(this), d("div", {
|
|
@@ -114,7 +114,7 @@ const F = /* @__PURE__ */ u({
|
|
|
114
114
|
this.gaugeInstance.allValues(e);
|
|
115
115
|
},
|
|
116
116
|
getDirection(e) {
|
|
117
|
-
return (e !== void 0 ? e :
|
|
117
|
+
return (e !== void 0 ? e : O && window.getComputedStyle(this.$el).direction || "ltr") === "rtl";
|
|
118
118
|
},
|
|
119
119
|
getGaugeOptions() {
|
|
120
120
|
const {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export interface BaseGaugePrivateProps {
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
deriveOptionsFromParent?: (options: any) => any;
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
gaugeConstructor?: object;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
getTarget?: () => any;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
export interface BaseGaugeProps extends BaseGaugePrivateProps {
|
|
29
|
+
/**
|
|
30
|
+
* Represents the `dir` HTML attribute.
|
|
31
|
+
*/
|
|
32
|
+
dir?: string;
|
|
33
|
+
value?: number;
|
|
34
|
+
scale?: object;
|
|
35
|
+
pointer?: object;
|
|
36
|
+
color?: any;
|
|
37
|
+
colors?: any[];
|
|
38
|
+
opacity?: any;
|
|
39
|
+
/**
|
|
40
|
+
* Sets the preferred rendering engine. If not supported by the browser, the Gauge switches to the first available mode.
|
|
41
|
+
*
|
|
42
|
+
* The supported values are:
|
|
43
|
+
* - `"svg"`—If available, renders the component as an inline `.svg` file.
|
|
44
|
+
* - `"canvas"`—If available, renders the component as a `canvas` element.
|
|
45
|
+
*/
|
|
46
|
+
renderAs?: 'svg' | 'canvas' | string;
|
|
47
|
+
/**
|
|
48
|
+
* If set to `true`, the Gauge plays animations when it displays the series. By default, animations are enabled.
|
|
49
|
+
*/
|
|
50
|
+
transitions?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The event handler that is called when the component is rendered.
|
|
53
|
+
*/
|
|
54
|
+
onRender?: (event: any) => void;
|
|
55
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
declare const CircularGauge: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
dir: import('vue').PropType<string>;
|
|
13
|
+
renderAs: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
validator: (value: string) => any;
|
|
17
|
+
};
|
|
18
|
+
gaugeConstructor: import('vue').PropType<object>;
|
|
19
|
+
value: {
|
|
20
|
+
type: import('vue').PropType<number>;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
color: import('vue').PropType<string>;
|
|
24
|
+
colors: {
|
|
25
|
+
type: import('vue').PropType<import('./types').ColorRange[]>;
|
|
26
|
+
default: any;
|
|
27
|
+
};
|
|
28
|
+
opacity: {
|
|
29
|
+
type: import('vue').PropType<number>;
|
|
30
|
+
default: any;
|
|
31
|
+
};
|
|
32
|
+
scale: {
|
|
33
|
+
type: import('vue').PropType<import('./types').ArcScale>;
|
|
34
|
+
default: any;
|
|
35
|
+
};
|
|
36
|
+
centerRender: import('vue').PropType<any>;
|
|
37
|
+
transitions: {
|
|
38
|
+
type: import('vue').PropType<boolean>;
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
}>, {}, {
|
|
42
|
+
centerStyles: {
|
|
43
|
+
top: any;
|
|
44
|
+
left: any;
|
|
45
|
+
};
|
|
46
|
+
arcCenterValue: {
|
|
47
|
+
value: string;
|
|
48
|
+
color: string;
|
|
49
|
+
};
|
|
50
|
+
}, {}, {
|
|
51
|
+
positionCenter(): void;
|
|
52
|
+
gaugeInstance(): any;
|
|
53
|
+
surface(): import('@progress/kendo-drawing').Surface;
|
|
54
|
+
element(): HTMLDivElement;
|
|
55
|
+
exportVisual(options?: any): Promise<import('@progress/kendo-drawing').Group>;
|
|
56
|
+
getTarget(): any;
|
|
57
|
+
deriveOptionsFromParent(options: any): any;
|
|
58
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
|
+
dir: import('vue').PropType<string>;
|
|
60
|
+
renderAs: {
|
|
61
|
+
type: import('vue').PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: string) => any;
|
|
64
|
+
};
|
|
65
|
+
gaugeConstructor: import('vue').PropType<object>;
|
|
66
|
+
value: {
|
|
67
|
+
type: import('vue').PropType<number>;
|
|
68
|
+
default: any;
|
|
69
|
+
};
|
|
70
|
+
color: import('vue').PropType<string>;
|
|
71
|
+
colors: {
|
|
72
|
+
type: import('vue').PropType<import('./types').ColorRange[]>;
|
|
73
|
+
default: any;
|
|
74
|
+
};
|
|
75
|
+
opacity: {
|
|
76
|
+
type: import('vue').PropType<number>;
|
|
77
|
+
default: any;
|
|
78
|
+
};
|
|
79
|
+
scale: {
|
|
80
|
+
type: import('vue').PropType<import('./types').ArcScale>;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
centerRender: import('vue').PropType<any>;
|
|
84
|
+
transitions: {
|
|
85
|
+
type: import('vue').PropType<boolean>;
|
|
86
|
+
default: any;
|
|
87
|
+
};
|
|
88
|
+
}>> & Readonly<{}>, {
|
|
89
|
+
value: number;
|
|
90
|
+
scale: import('./types').ArcScale;
|
|
91
|
+
colors: import('./types').ColorRange[];
|
|
92
|
+
opacity: number;
|
|
93
|
+
renderAs: string;
|
|
94
|
+
transitions: boolean;
|
|
95
|
+
}, {}, {}, {}, string, () => {
|
|
96
|
+
centerStyles: any;
|
|
97
|
+
arcCenterValue: any;
|
|
98
|
+
}, true, {}, any>, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
export { CircularGauge };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ArcGaugeProps } from './ArcGaugeProps';
|
|
9
|
+
import { CircularScale } from './types/circular-scale.interface';
|
|
10
|
+
import { ColorRange } from './types/color-range.interface';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the [Kendo UI for Vue CircularGauge component]({% slug overview_circulargauge_gauges %}).
|
|
13
|
+
*/
|
|
14
|
+
export interface CircularGaugeProps extends ArcGaugeProps {
|
|
15
|
+
/**
|
|
16
|
+
* The color ranges of the value pointer
|
|
17
|
+
* ([see example]({% slug colorranges_circulargauge %})).
|
|
18
|
+
*/
|
|
19
|
+
colors?: ColorRange[];
|
|
20
|
+
/**
|
|
21
|
+
* The scale options of the CircularGauge.
|
|
22
|
+
*/
|
|
23
|
+
scale?: CircularScale;
|
|
24
|
+
}
|
package/LinearGauge.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Surface, Group } from '@progress/kendo-drawing';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
declare const LinearGauge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
dir: PropType<string>;
|
|
15
|
+
renderAs: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (value: string) => any;
|
|
19
|
+
};
|
|
20
|
+
gaugeConstructor: PropType<object>;
|
|
21
|
+
pointer: {
|
|
22
|
+
type: PropType<import('./types').LinearPointer | import('./types').LinearPointer[]>;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
scale: {
|
|
26
|
+
type: PropType<import('./types').LinearScale>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
transitions: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
}>, {}, {}, {}, {
|
|
34
|
+
gaugeInstance(): any;
|
|
35
|
+
surface(): Surface | null;
|
|
36
|
+
element(): HTMLDivElement | null;
|
|
37
|
+
exportVisual(options?: any): Promise<Group>;
|
|
38
|
+
getTarget(): any;
|
|
39
|
+
deriveOptionsFromParent(options: any): any;
|
|
40
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
dir: PropType<string>;
|
|
42
|
+
renderAs: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
validator: (value: string) => any;
|
|
46
|
+
};
|
|
47
|
+
gaugeConstructor: PropType<object>;
|
|
48
|
+
pointer: {
|
|
49
|
+
type: PropType<import('./types').LinearPointer | import('./types').LinearPointer[]>;
|
|
50
|
+
default: any;
|
|
51
|
+
};
|
|
52
|
+
scale: {
|
|
53
|
+
type: PropType<import('./types').LinearScale>;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
transitions: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {
|
|
61
|
+
scale: import('./types').LinearScale;
|
|
62
|
+
pointer: any;
|
|
63
|
+
renderAs: string;
|
|
64
|
+
transitions: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export { LinearGauge };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BaseGaugeProps } from './BaseGaugeProps';
|
|
9
|
+
import { LinearPointer, LinearScale } from './types';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the [Kendo UI for Vue LinearGauge component]({% slug overview_lineargauge_gauges %}).
|
|
12
|
+
*/
|
|
13
|
+
export interface LinearGaugeProps extends BaseGaugeProps {
|
|
14
|
+
/**
|
|
15
|
+
* The configuration of the pointers ([see example]({% slug multiplepointers_lineargauge %})).
|
|
16
|
+
*/
|
|
17
|
+
pointer: LinearPointer | LinearPointer[];
|
|
18
|
+
/**
|
|
19
|
+
* The configuration of the scale.
|
|
20
|
+
*/
|
|
21
|
+
scale?: LinearScale;
|
|
22
|
+
}
|
package/RadialGauge.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Surface, Group } from '@progress/kendo-drawing';
|
|
9
|
+
import { PropType } from 'vue';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
declare const RadialGauge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
dir: PropType<string>;
|
|
15
|
+
renderAs: {
|
|
16
|
+
type: PropType<string>;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (value: string) => any;
|
|
19
|
+
};
|
|
20
|
+
gaugeConstructor: PropType<object>;
|
|
21
|
+
pointer: {
|
|
22
|
+
type: PropType<import('./types').RadialPointer | import('./types').RadialPointer[]>;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
scale: {
|
|
26
|
+
type: PropType<import('./types').RadialScale>;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
transitions: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
}>, {}, {}, {}, {
|
|
34
|
+
gaugeInstance(): any;
|
|
35
|
+
surface(): Surface | null;
|
|
36
|
+
element(): HTMLDivElement | null;
|
|
37
|
+
exportVisual(options?: any): Promise<Group>;
|
|
38
|
+
getTarget(): any;
|
|
39
|
+
deriveOptionsFromParent(options: any): any;
|
|
40
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
dir: PropType<string>;
|
|
42
|
+
renderAs: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
validator: (value: string) => any;
|
|
46
|
+
};
|
|
47
|
+
gaugeConstructor: PropType<object>;
|
|
48
|
+
pointer: {
|
|
49
|
+
type: PropType<import('./types').RadialPointer | import('./types').RadialPointer[]>;
|
|
50
|
+
default: any;
|
|
51
|
+
};
|
|
52
|
+
scale: {
|
|
53
|
+
type: PropType<import('./types').RadialScale>;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
transitions: {
|
|
57
|
+
type: PropType<boolean>;
|
|
58
|
+
default: any;
|
|
59
|
+
};
|
|
60
|
+
}>> & Readonly<{}>, {
|
|
61
|
+
scale: import('./types').RadialScale;
|
|
62
|
+
pointer: import('./types').RadialPointer | import('./types').RadialPointer[];
|
|
63
|
+
renderAs: string;
|
|
64
|
+
transitions: boolean;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export { RadialGauge };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BaseGaugeProps } from './BaseGaugeProps';
|
|
9
|
+
import { RadialPointer, RadialScale } from './types';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the [Kendo UI for Vue RadialGauge component]({% slug overview_radialgauge_gauges %}).
|
|
12
|
+
*/
|
|
13
|
+
export interface RadialGaugeProps extends BaseGaugeProps {
|
|
14
|
+
/**
|
|
15
|
+
* The configuration of the pointers ([see example]({% slug multiplepointers_radialgauge %})).
|
|
16
|
+
*/
|
|
17
|
+
pointer: RadialPointer | RadialPointer[];
|
|
18
|
+
/**
|
|
19
|
+
* The configuration of the scale.
|
|
20
|
+
*/
|
|
21
|
+
scale?: RadialScale;
|
|
22
|
+
}
|