@progress/kendo-react-gauges 5.4.0-dev.202205200719 → 5.4.0-dev.202206061009
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/cdn/js/kendo-react-gauges.js +1 -1
- package/dist/es/ArcCenter.d.ts +1 -1
- package/dist/es/ArcCenter.js +3 -1
- package/dist/es/ArcGauge.d.ts +3 -3
- package/dist/es/ArcGauge.js +11 -6
- package/dist/es/ArcGaugeProps.js +1 -0
- package/dist/es/BaseGauge.d.ts +2 -2
- package/dist/es/BaseGauge.js +12 -4
- package/dist/es/BaseGaugeProps.d.ts +4 -0
- package/dist/es/BaseGaugeProps.js +1 -0
- package/dist/es/CircularGauge.js +3 -1
- package/dist/es/CircularGaugeProps.js +1 -0
- package/dist/es/GaugeContext.d.ts +1 -1
- package/dist/es/LinearGauge.d.ts +3 -3
- package/dist/es/LinearGauge.js +11 -6
- package/dist/es/LinearGaugeProps.js +1 -0
- package/dist/es/RadialGauge.d.ts +3 -3
- package/dist/es/RadialGauge.js +11 -6
- package/dist/es/RadialGaugeProps.js +1 -0
- package/dist/es/common/gauges.js +1 -0
- package/dist/es/main.js +2 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/store/reducer.js +10 -1
- package/dist/es/theming/theme-service.js +1 -1
- package/dist/es/types/arc-scale.interface.js +1 -0
- package/dist/es/types/border.interface.js +1 -0
- package/dist/es/types/cap.interface.js +1 -0
- package/dist/es/types/circular-scale.interface.js +1 -0
- package/dist/es/types/color-range.interface.js +1 -0
- package/dist/es/types/dash-type.interface.js +1 -0
- package/dist/es/types/gauge-area.interface.js +1 -0
- package/dist/es/types/labels.interface.js +1 -0
- package/dist/es/types/line-cap.js +1 -0
- package/dist/es/types/line.interface.js +1 -0
- package/dist/es/types/linear-pointer-shape.js +1 -0
- package/dist/es/types/linear-pointer.interface.js +1 -0
- package/dist/es/types/linear-scale.interface.js +1 -0
- package/dist/es/types/margin.interface.js +1 -0
- package/dist/es/types/padding.interface.js +1 -0
- package/dist/es/types/radial-label-position.js +1 -0
- package/dist/es/types/radial-labels.interface.js +1 -0
- package/dist/es/types/radial-pointer.interface.js +1 -0
- package/dist/es/types/radial-scale.interface.js +1 -0
- package/dist/es/types/range.interface.js +1 -0
- package/dist/es/types/scale.interface.js +1 -0
- package/dist/es/types/ticks.interface.js +1 -0
- package/dist/es/types.js +1 -0
- package/dist/npm/ArcCenter.d.ts +1 -1
- package/dist/npm/ArcCenter.js +4 -1
- package/dist/npm/ArcGauge.d.ts +3 -3
- package/dist/npm/ArcGauge.js +14 -8
- package/dist/npm/BaseGauge.d.ts +2 -2
- package/dist/npm/BaseGauge.js +21 -12
- package/dist/npm/BaseGaugeProps.d.ts +4 -0
- package/dist/npm/CircularGauge.js +4 -1
- package/dist/npm/GaugeContext.d.ts +1 -1
- package/dist/npm/GaugeContext.js +1 -0
- package/dist/npm/LinearGauge.d.ts +3 -3
- package/dist/npm/LinearGauge.js +13 -7
- package/dist/npm/RadialGauge.d.ts +3 -3
- package/dist/npm/RadialGauge.js +13 -7
- package/dist/npm/main.js +21 -4
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/store/reducer.js +11 -1
- package/dist/npm/store/store.js +1 -0
- package/dist/npm/theming/theme-service.js +4 -3
- package/dist/npm/utils/common.js +3 -1
- package/dist/systemjs/kendo-react-gauges.js +1 -1
- package/package.json +7 -7
package/dist/es/ArcCenter.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface ArcCenterProps {
|
|
|
25
25
|
* @hidden
|
|
26
26
|
*/
|
|
27
27
|
declare class ArcCenter extends React.Component<ArcCenterProps, ArcCenterState> {
|
|
28
|
-
static contextType: React.Context<import("./GaugeContext").GaugeContextType>;
|
|
28
|
+
static contextType: React.Context<import("./GaugeContext").GaugeContextType | null>;
|
|
29
29
|
readonly state: ArcCenterState;
|
|
30
30
|
gaugeObserver: InstanceObserver;
|
|
31
31
|
protected _element: HTMLDivElement | null;
|
package/dist/es/ArcCenter.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
package/dist/es/ArcGauge.d.ts
CHANGED
|
@@ -8,15 +8,15 @@ export declare class ArcGauge extends React.Component<ArcGaugeProps, {}> {
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
get gaugeInstance(): any;
|
|
12
12
|
/**
|
|
13
13
|
* The Drawing `Surface` of the Gauge.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
get surface(): Surface | null;
|
|
16
16
|
/**
|
|
17
17
|
* The DOM element of the Gauge.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
get element(): HTMLDivElement | null;
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
package/dist/es/ArcGauge.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -41,6 +45,7 @@ var ArcGauge = /** @class */ (function (_super) {
|
|
|
41
45
|
__extends(ArcGauge, _super);
|
|
42
46
|
function ArcGauge() {
|
|
43
47
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
48
|
+
_this._baseGauge = null;
|
|
44
49
|
_this.gaugeType = KendoArcGauge;
|
|
45
50
|
_this.getTarget = function () {
|
|
46
51
|
return _this;
|
|
@@ -67,7 +72,7 @@ var ArcGauge = /** @class */ (function (_super) {
|
|
|
67
72
|
}
|
|
68
73
|
return null;
|
|
69
74
|
},
|
|
70
|
-
enumerable:
|
|
75
|
+
enumerable: false,
|
|
71
76
|
configurable: true
|
|
72
77
|
});
|
|
73
78
|
Object.defineProperty(ArcGauge.prototype, "surface", {
|
|
@@ -80,7 +85,7 @@ var ArcGauge = /** @class */ (function (_super) {
|
|
|
80
85
|
}
|
|
81
86
|
return null;
|
|
82
87
|
},
|
|
83
|
-
enumerable:
|
|
88
|
+
enumerable: false,
|
|
84
89
|
configurable: true
|
|
85
90
|
});
|
|
86
91
|
Object.defineProperty(ArcGauge.prototype, "element", {
|
|
@@ -93,7 +98,7 @@ var ArcGauge = /** @class */ (function (_super) {
|
|
|
93
98
|
}
|
|
94
99
|
return null;
|
|
95
100
|
},
|
|
96
|
-
enumerable:
|
|
101
|
+
enumerable: false,
|
|
97
102
|
configurable: true
|
|
98
103
|
});
|
|
99
104
|
/**
|
package/dist/es/ArcGaugeProps.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/BaseGauge.d.ts
CHANGED
|
@@ -27,11 +27,11 @@ export declare class BaseGauge extends React.Component<BaseGaugePrivateProps, {}
|
|
|
27
27
|
/**
|
|
28
28
|
* @hidden
|
|
29
29
|
*/
|
|
30
|
-
surface: Surface;
|
|
30
|
+
surface: Surface | null;
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
get element(): HTMLDivElement;
|
|
35
35
|
protected _element: HTMLDivElement | null;
|
|
36
36
|
protected themeStore: any;
|
|
37
37
|
protected themeUnsubscriber: Function;
|
package/dist/es/BaseGauge.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -16,8 +18,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
16
18
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
17
19
|
t[p] = s[p];
|
|
18
20
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
19
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
20
|
-
|
|
21
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
22
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
23
|
+
t[p[i]] = s[p[i]];
|
|
24
|
+
}
|
|
21
25
|
return t;
|
|
22
26
|
};
|
|
23
27
|
import * as React from 'react';
|
|
@@ -42,6 +46,10 @@ var BaseGauge = /** @class */ (function (_super) {
|
|
|
42
46
|
* @hidden
|
|
43
47
|
*/
|
|
44
48
|
_this.gaugeInstance = null;
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*/
|
|
52
|
+
_this.surface = null;
|
|
45
53
|
_this._element = null;
|
|
46
54
|
_this.themeStore = {};
|
|
47
55
|
_this.themeUnsubscriber = Function.prototype;
|
|
@@ -71,7 +79,7 @@ var BaseGauge = /** @class */ (function (_super) {
|
|
|
71
79
|
get: function () {
|
|
72
80
|
return this._element;
|
|
73
81
|
},
|
|
74
|
-
enumerable:
|
|
82
|
+
enumerable: false,
|
|
75
83
|
configurable: true
|
|
76
84
|
});
|
|
77
85
|
/**
|
package/dist/es/CircularGauge.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/LinearGauge.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ export declare class LinearGauge extends React.Component<LinearGaugeProps, {}> {
|
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
get gaugeInstance(): any;
|
|
11
11
|
/**
|
|
12
12
|
* The Drawing `Surface` of the Gauge.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
get surface(): Surface | null;
|
|
15
15
|
/**
|
|
16
16
|
* The DOM element of the Gauge.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
get element(): HTMLDivElement | null;
|
|
19
19
|
/**
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
package/dist/es/LinearGauge.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -40,6 +44,7 @@ var LinearGauge = /** @class */ (function (_super) {
|
|
|
40
44
|
__extends(LinearGauge, _super);
|
|
41
45
|
function LinearGauge() {
|
|
42
46
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
_this._baseGauge = null;
|
|
43
48
|
_this.getTarget = function () {
|
|
44
49
|
return _this;
|
|
45
50
|
};
|
|
@@ -62,7 +67,7 @@ var LinearGauge = /** @class */ (function (_super) {
|
|
|
62
67
|
}
|
|
63
68
|
return null;
|
|
64
69
|
},
|
|
65
|
-
enumerable:
|
|
70
|
+
enumerable: false,
|
|
66
71
|
configurable: true
|
|
67
72
|
});
|
|
68
73
|
Object.defineProperty(LinearGauge.prototype, "surface", {
|
|
@@ -75,7 +80,7 @@ var LinearGauge = /** @class */ (function (_super) {
|
|
|
75
80
|
}
|
|
76
81
|
return null;
|
|
77
82
|
},
|
|
78
|
-
enumerable:
|
|
83
|
+
enumerable: false,
|
|
79
84
|
configurable: true
|
|
80
85
|
});
|
|
81
86
|
Object.defineProperty(LinearGauge.prototype, "element", {
|
|
@@ -88,7 +93,7 @@ var LinearGauge = /** @class */ (function (_super) {
|
|
|
88
93
|
}
|
|
89
94
|
return null;
|
|
90
95
|
},
|
|
91
|
-
enumerable:
|
|
96
|
+
enumerable: false,
|
|
92
97
|
configurable: true
|
|
93
98
|
});
|
|
94
99
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/RadialGauge.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ export declare class RadialGauge extends React.Component<RadialGaugeProps, {}> {
|
|
|
7
7
|
/**
|
|
8
8
|
* @hidden
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
get gaugeInstance(): any;
|
|
11
11
|
/**
|
|
12
12
|
* The Drawing `Surface` of the Gauge.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
get surface(): Surface | null;
|
|
15
15
|
/**
|
|
16
16
|
* The DOM element of the Gauge.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
get element(): HTMLDivElement | null;
|
|
19
19
|
/**
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
package/dist/es/RadialGauge.js
CHANGED
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -27,8 +29,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
29
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
28
30
|
t[p] = s[p];
|
|
29
31
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
30
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
31
|
-
|
|
32
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
33
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
34
|
+
t[p[i]] = s[p[i]];
|
|
35
|
+
}
|
|
32
36
|
return t;
|
|
33
37
|
};
|
|
34
38
|
import * as React from 'react';
|
|
@@ -40,6 +44,7 @@ var RadialGauge = /** @class */ (function (_super) {
|
|
|
40
44
|
__extends(RadialGauge, _super);
|
|
41
45
|
function RadialGauge() {
|
|
42
46
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
_this._baseGauge = null;
|
|
43
48
|
_this.getTarget = function () {
|
|
44
49
|
return _this;
|
|
45
50
|
};
|
|
@@ -62,7 +67,7 @@ var RadialGauge = /** @class */ (function (_super) {
|
|
|
62
67
|
}
|
|
63
68
|
return null;
|
|
64
69
|
},
|
|
65
|
-
enumerable:
|
|
70
|
+
enumerable: false,
|
|
66
71
|
configurable: true
|
|
67
72
|
});
|
|
68
73
|
Object.defineProperty(RadialGauge.prototype, "surface", {
|
|
@@ -75,7 +80,7 @@ var RadialGauge = /** @class */ (function (_super) {
|
|
|
75
80
|
}
|
|
76
81
|
return null;
|
|
77
82
|
},
|
|
78
|
-
enumerable:
|
|
83
|
+
enumerable: false,
|
|
79
84
|
configurable: true
|
|
80
85
|
});
|
|
81
86
|
Object.defineProperty(RadialGauge.prototype, "element", {
|
|
@@ -88,7 +93,7 @@ var RadialGauge = /** @class */ (function (_super) {
|
|
|
88
93
|
}
|
|
89
94
|
return null;
|
|
90
95
|
},
|
|
91
|
-
enumerable:
|
|
96
|
+
enumerable: false,
|
|
92
97
|
configurable: true
|
|
93
98
|
});
|
|
94
99
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/common/gauges.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/main.js
CHANGED
|
@@ -2,4 +2,6 @@ import { ArcGauge } from './ArcGauge';
|
|
|
2
2
|
import { CircularGauge } from './CircularGauge';
|
|
3
3
|
import { LinearGauge } from './LinearGauge';
|
|
4
4
|
import { RadialGauge } from './RadialGauge';
|
|
5
|
+
export * from './common/gauges';
|
|
6
|
+
export * from './types';
|
|
5
7
|
export { ArcGauge, CircularGauge, LinearGauge, RadialGauge };
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-gauges',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1654509504,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/es/store/reducer.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3
|
+
if (ar || !(i in from)) {
|
|
4
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
5
|
+
ar[i] = from[i];
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
9
|
+
};
|
|
1
10
|
/**
|
|
2
11
|
* @hidden
|
|
3
12
|
*/
|
|
@@ -37,7 +46,7 @@ var observersReducer = function (currentState, action) {
|
|
|
37
46
|
if (action.type) {
|
|
38
47
|
switch (action.type) {
|
|
39
48
|
case 'add':
|
|
40
|
-
return
|
|
49
|
+
return __spreadArray(__spreadArray([], currentState, true), [action.payload], false);
|
|
41
50
|
case 'remove':
|
|
42
51
|
return currentState.filter(function (element) { return element !== action.payload; });
|
|
43
52
|
default:
|
|
@@ -23,7 +23,7 @@ var ThemeService = /** @class */ (function () {
|
|
|
23
23
|
};
|
|
24
24
|
ThemeService.prototype.queryStyle = function (varName) {
|
|
25
25
|
var element = this.element;
|
|
26
|
-
return window.getComputedStyle(element.querySelector(".k-var--"
|
|
26
|
+
return window.getComputedStyle(element.querySelector(".k-var--".concat(varName)));
|
|
27
27
|
};
|
|
28
28
|
return ThemeService;
|
|
29
29
|
}());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/npm/ArcCenter.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface ArcCenterProps {
|
|
|
25
25
|
* @hidden
|
|
26
26
|
*/
|
|
27
27
|
declare class ArcCenter extends React.Component<ArcCenterProps, ArcCenterState> {
|
|
28
|
-
static contextType: React.Context<import("./GaugeContext").GaugeContextType>;
|
|
28
|
+
static contextType: React.Context<import("./GaugeContext").GaugeContextType | null>;
|
|
29
29
|
readonly state: ArcCenterState;
|
|
30
30
|
gaugeObserver: InstanceObserver;
|
|
31
31
|
protected _element: HTMLDivElement | null;
|
package/dist/npm/ArcCenter.js
CHANGED
|
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
3
3
|
var extendStatics = function (d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf ||
|
|
5
5
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
7
|
return extendStatics(d, b);
|
|
8
8
|
};
|
|
9
9
|
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
10
12
|
extendStatics(d, b);
|
|
11
13
|
function __() { this.constructor = d; }
|
|
12
14
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
15
|
};
|
|
14
16
|
})();
|
|
15
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ArcCenter = void 0;
|
|
16
19
|
var React = require("react");
|
|
17
20
|
var kendo_charts_1 = require("@progress/kendo-charts");
|
|
18
21
|
var GaugeContext_1 = require("./GaugeContext");
|
package/dist/npm/ArcGauge.d.ts
CHANGED
|
@@ -8,15 +8,15 @@ export declare class ArcGauge extends React.Component<ArcGaugeProps, {}> {
|
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
get gaugeInstance(): any;
|
|
12
12
|
/**
|
|
13
13
|
* The Drawing `Surface` of the Gauge.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
get surface(): Surface | null;
|
|
16
16
|
/**
|
|
17
17
|
* The DOM element of the Gauge.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
get element(): HTMLDivElement | null;
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|