@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.
Files changed (69) hide show
  1. package/dist/cdn/js/kendo-react-gauges.js +1 -1
  2. package/dist/es/ArcCenter.d.ts +1 -1
  3. package/dist/es/ArcCenter.js +3 -1
  4. package/dist/es/ArcGauge.d.ts +3 -3
  5. package/dist/es/ArcGauge.js +11 -6
  6. package/dist/es/ArcGaugeProps.js +1 -0
  7. package/dist/es/BaseGauge.d.ts +2 -2
  8. package/dist/es/BaseGauge.js +12 -4
  9. package/dist/es/BaseGaugeProps.d.ts +4 -0
  10. package/dist/es/BaseGaugeProps.js +1 -0
  11. package/dist/es/CircularGauge.js +3 -1
  12. package/dist/es/CircularGaugeProps.js +1 -0
  13. package/dist/es/GaugeContext.d.ts +1 -1
  14. package/dist/es/LinearGauge.d.ts +3 -3
  15. package/dist/es/LinearGauge.js +11 -6
  16. package/dist/es/LinearGaugeProps.js +1 -0
  17. package/dist/es/RadialGauge.d.ts +3 -3
  18. package/dist/es/RadialGauge.js +11 -6
  19. package/dist/es/RadialGaugeProps.js +1 -0
  20. package/dist/es/common/gauges.js +1 -0
  21. package/dist/es/main.js +2 -0
  22. package/dist/es/package-metadata.js +1 -1
  23. package/dist/es/store/reducer.js +10 -1
  24. package/dist/es/theming/theme-service.js +1 -1
  25. package/dist/es/types/arc-scale.interface.js +1 -0
  26. package/dist/es/types/border.interface.js +1 -0
  27. package/dist/es/types/cap.interface.js +1 -0
  28. package/dist/es/types/circular-scale.interface.js +1 -0
  29. package/dist/es/types/color-range.interface.js +1 -0
  30. package/dist/es/types/dash-type.interface.js +1 -0
  31. package/dist/es/types/gauge-area.interface.js +1 -0
  32. package/dist/es/types/labels.interface.js +1 -0
  33. package/dist/es/types/line-cap.js +1 -0
  34. package/dist/es/types/line.interface.js +1 -0
  35. package/dist/es/types/linear-pointer-shape.js +1 -0
  36. package/dist/es/types/linear-pointer.interface.js +1 -0
  37. package/dist/es/types/linear-scale.interface.js +1 -0
  38. package/dist/es/types/margin.interface.js +1 -0
  39. package/dist/es/types/padding.interface.js +1 -0
  40. package/dist/es/types/radial-label-position.js +1 -0
  41. package/dist/es/types/radial-labels.interface.js +1 -0
  42. package/dist/es/types/radial-pointer.interface.js +1 -0
  43. package/dist/es/types/radial-scale.interface.js +1 -0
  44. package/dist/es/types/range.interface.js +1 -0
  45. package/dist/es/types/scale.interface.js +1 -0
  46. package/dist/es/types/ticks.interface.js +1 -0
  47. package/dist/es/types.js +1 -0
  48. package/dist/npm/ArcCenter.d.ts +1 -1
  49. package/dist/npm/ArcCenter.js +4 -1
  50. package/dist/npm/ArcGauge.d.ts +3 -3
  51. package/dist/npm/ArcGauge.js +14 -8
  52. package/dist/npm/BaseGauge.d.ts +2 -2
  53. package/dist/npm/BaseGauge.js +21 -12
  54. package/dist/npm/BaseGaugeProps.d.ts +4 -0
  55. package/dist/npm/CircularGauge.js +4 -1
  56. package/dist/npm/GaugeContext.d.ts +1 -1
  57. package/dist/npm/GaugeContext.js +1 -0
  58. package/dist/npm/LinearGauge.d.ts +3 -3
  59. package/dist/npm/LinearGauge.js +13 -7
  60. package/dist/npm/RadialGauge.d.ts +3 -3
  61. package/dist/npm/RadialGauge.js +13 -7
  62. package/dist/npm/main.js +21 -4
  63. package/dist/npm/package-metadata.js +2 -1
  64. package/dist/npm/store/reducer.js +11 -1
  65. package/dist/npm/store/store.js +1 -0
  66. package/dist/npm/theming/theme-service.js +4 -3
  67. package/dist/npm/utils/common.js +3 -1
  68. package/dist/systemjs/kendo-react-gauges.js +1 -1
  69. package/package.json +7 -7
@@ -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;
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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 __());
@@ -8,15 +8,15 @@ export declare class ArcGauge extends React.Component<ArcGaugeProps, {}> {
8
8
  /**
9
9
  * @hidden
10
10
  */
11
- readonly gaugeInstance: any;
11
+ get gaugeInstance(): any;
12
12
  /**
13
13
  * The Drawing `Surface` of the Gauge.
14
14
  */
15
- readonly surface: Surface | null;
15
+ get surface(): Surface | null;
16
16
  /**
17
17
  * The DOM element of the Gauge.
18
18
  */
19
- readonly element: HTMLDivElement | null;
19
+ get element(): HTMLDivElement | null;
20
20
  /**
21
21
  * @hidden
22
22
  */
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
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: true,
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: true,
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: true,
101
+ enumerable: false,
97
102
  configurable: true
98
103
  });
99
104
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -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
- readonly element: HTMLDivElement;
34
+ get element(): HTMLDivElement;
35
35
  protected _element: HTMLDivElement | null;
36
36
  protected themeStore: any;
37
37
  protected themeUnsubscriber: Function;
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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++) if (e.indexOf(p[i]) < 0)
20
- t[p[i]] = s[p[i]];
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: true,
82
+ enumerable: false,
75
83
  configurable: true
76
84
  });
77
85
  /**
@@ -21,6 +21,10 @@ export interface BaseGaugePrivateProps extends BaseGaugeProps {
21
21
  * @hidden
22
22
  */
23
23
  export interface BaseGaugeProps {
24
+ /**
25
+ * Determines the children nodes.
26
+ */
27
+ children?: React.ReactNode;
24
28
  /**
25
29
  * Represents the `dir` HTML attribute.
26
30
  */
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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 {};
@@ -9,4 +9,4 @@ export interface GaugeContextType {
9
9
  /**
10
10
  * @hidden
11
11
  */
12
- export declare const GaugeContext: React.Context<GaugeContextType>;
12
+ export declare const GaugeContext: React.Context<GaugeContextType | null>;
@@ -7,15 +7,15 @@ export declare class LinearGauge extends React.Component<LinearGaugeProps, {}> {
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- readonly gaugeInstance: any;
10
+ get gaugeInstance(): any;
11
11
  /**
12
12
  * The Drawing `Surface` of the Gauge.
13
13
  */
14
- readonly surface: Surface | null;
14
+ get surface(): Surface | null;
15
15
  /**
16
16
  * The DOM element of the Gauge.
17
17
  */
18
- readonly element: HTMLDivElement | null;
18
+ get element(): HTMLDivElement | null;
19
19
  /**
20
20
  * @hidden
21
21
  */
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
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: true,
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: true,
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: true,
96
+ enumerable: false,
92
97
  configurable: true
93
98
  });
94
99
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -7,15 +7,15 @@ export declare class RadialGauge extends React.Component<RadialGaugeProps, {}> {
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- readonly gaugeInstance: any;
10
+ get gaugeInstance(): any;
11
11
  /**
12
12
  * The Drawing `Surface` of the Gauge.
13
13
  */
14
- readonly surface: Surface | null;
14
+ get surface(): Surface | null;
15
15
  /**
16
16
  * The DOM element of the Gauge.
17
17
  */
18
- readonly element: HTMLDivElement | null;
18
+ get element(): HTMLDivElement | null;
19
19
  /**
20
20
  * @hidden
21
21
  */
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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++) if (e.indexOf(p[i]) < 0)
31
- t[p[i]] = s[p[i]];
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: true,
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: true,
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: true,
96
+ enumerable: false,
92
97
  configurable: true
93
98
  });
94
99
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -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: 1653030471,
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
  };
@@ -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 currentState.concat([action.payload]);
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--" + varName));
26
+ return window.getComputedStyle(element.querySelector(".k-var--".concat(varName)));
27
27
  };
28
28
  return ThemeService;
29
29
  }());
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -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 {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,2 @@
1
+ export {};
1
2
  // tslint:enable:max-line-length
package/dist/es/types.js CHANGED
@@ -0,0 +1 @@
1
+ export {};
@@ -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;
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
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");
@@ -8,15 +8,15 @@ export declare class ArcGauge extends React.Component<ArcGaugeProps, {}> {
8
8
  /**
9
9
  * @hidden
10
10
  */
11
- readonly gaugeInstance: any;
11
+ get gaugeInstance(): any;
12
12
  /**
13
13
  * The Drawing `Surface` of the Gauge.
14
14
  */
15
- readonly surface: Surface | null;
15
+ get surface(): Surface | null;
16
16
  /**
17
17
  * The DOM element of the Gauge.
18
18
  */
19
- readonly element: HTMLDivElement | null;
19
+ get element(): HTMLDivElement | null;
20
20
  /**
21
21
  * @hidden
22
22
  */