@progress/kendo-react-gauges 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059

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 (62) hide show
  1. package/dist/cdn/js/kendo-react-gauges.js +1 -1
  2. package/dist/es/ArcCenter.js +3 -1
  3. package/dist/es/ArcGauge.d.ts +3 -3
  4. package/dist/es/ArcGauge.js +10 -6
  5. package/dist/es/ArcGaugeProps.js +1 -0
  6. package/dist/es/BaseGauge.d.ts +1 -1
  7. package/dist/es/BaseGauge.js +8 -4
  8. package/dist/es/BaseGaugeProps.js +1 -0
  9. package/dist/es/CircularGauge.js +3 -1
  10. package/dist/es/CircularGaugeProps.js +1 -0
  11. package/dist/es/LinearGauge.d.ts +3 -3
  12. package/dist/es/LinearGauge.js +10 -6
  13. package/dist/es/LinearGaugeProps.js +1 -0
  14. package/dist/es/RadialGauge.d.ts +3 -3
  15. package/dist/es/RadialGauge.js +10 -6
  16. package/dist/es/RadialGaugeProps.js +1 -0
  17. package/dist/es/common/gauges.js +1 -0
  18. package/dist/es/main.js +2 -0
  19. package/dist/es/package-metadata.js +1 -1
  20. package/dist/es/store/reducer.js +6 -1
  21. package/dist/es/types/arc-scale.interface.js +1 -0
  22. package/dist/es/types/border.interface.js +1 -0
  23. package/dist/es/types/cap.interface.js +1 -0
  24. package/dist/es/types/circular-scale.interface.js +1 -0
  25. package/dist/es/types/color-range.interface.js +1 -0
  26. package/dist/es/types/dash-type.interface.js +1 -0
  27. package/dist/es/types/gauge-area.interface.js +1 -0
  28. package/dist/es/types/labels.interface.js +1 -0
  29. package/dist/es/types/line-cap.js +1 -0
  30. package/dist/es/types/line.interface.js +1 -0
  31. package/dist/es/types/linear-pointer-shape.js +1 -0
  32. package/dist/es/types/linear-pointer.interface.js +1 -0
  33. package/dist/es/types/linear-scale.interface.js +1 -0
  34. package/dist/es/types/margin.interface.js +1 -0
  35. package/dist/es/types/padding.interface.js +1 -0
  36. package/dist/es/types/radial-label-position.js +1 -0
  37. package/dist/es/types/radial-labels.interface.js +1 -0
  38. package/dist/es/types/radial-pointer.interface.js +1 -0
  39. package/dist/es/types/radial-scale.interface.js +1 -0
  40. package/dist/es/types/range.interface.js +1 -0
  41. package/dist/es/types/scale.interface.js +1 -0
  42. package/dist/es/types/ticks.interface.js +1 -0
  43. package/dist/es/types.js +1 -0
  44. package/dist/npm/ArcCenter.js +4 -1
  45. package/dist/npm/ArcGauge.d.ts +3 -3
  46. package/dist/npm/ArcGauge.js +11 -6
  47. package/dist/npm/BaseGauge.d.ts +1 -1
  48. package/dist/npm/BaseGauge.js +9 -4
  49. package/dist/npm/CircularGauge.js +4 -1
  50. package/dist/npm/GaugeContext.js +1 -0
  51. package/dist/npm/LinearGauge.d.ts +3 -3
  52. package/dist/npm/LinearGauge.js +11 -6
  53. package/dist/npm/RadialGauge.d.ts +3 -3
  54. package/dist/npm/RadialGauge.js +11 -6
  55. package/dist/npm/main.js +17 -4
  56. package/dist/npm/package-metadata.js +2 -1
  57. package/dist/npm/store/reducer.js +7 -1
  58. package/dist/npm/store/store.js +1 -0
  59. package/dist/npm/theming/theme-service.js +1 -0
  60. package/dist/npm/utils/common.js +3 -1
  61. package/dist/systemjs/kendo-react-gauges.js +1 -1
  62. package/package.json +6 -6
@@ -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';
@@ -67,7 +71,7 @@ var ArcGauge = /** @class */ (function (_super) {
67
71
  }
68
72
  return null;
69
73
  },
70
- enumerable: true,
74
+ enumerable: false,
71
75
  configurable: true
72
76
  });
73
77
  Object.defineProperty(ArcGauge.prototype, "surface", {
@@ -80,7 +84,7 @@ var ArcGauge = /** @class */ (function (_super) {
80
84
  }
81
85
  return null;
82
86
  },
83
- enumerable: true,
87
+ enumerable: false,
84
88
  configurable: true
85
89
  });
86
90
  Object.defineProperty(ArcGauge.prototype, "element", {
@@ -93,7 +97,7 @@ var ArcGauge = /** @class */ (function (_super) {
93
97
  }
94
98
  return null;
95
99
  },
96
- enumerable: true,
100
+ enumerable: false,
97
101
  configurable: true
98
102
  });
99
103
  /**
@@ -0,0 +1 @@
1
+ export {};
@@ -31,7 +31,7 @@ export declare class BaseGauge extends React.Component<BaseGaugePrivateProps, {}
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';
@@ -71,7 +75,7 @@ var BaseGauge = /** @class */ (function (_super) {
71
75
  get: function () {
72
76
  return this._element;
73
77
  },
74
- enumerable: true,
78
+ enumerable: false,
75
79
  configurable: true
76
80
  });
77
81
  /**
@@ -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 {};
@@ -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';
@@ -62,7 +66,7 @@ var LinearGauge = /** @class */ (function (_super) {
62
66
  }
63
67
  return null;
64
68
  },
65
- enumerable: true,
69
+ enumerable: false,
66
70
  configurable: true
67
71
  });
68
72
  Object.defineProperty(LinearGauge.prototype, "surface", {
@@ -75,7 +79,7 @@ var LinearGauge = /** @class */ (function (_super) {
75
79
  }
76
80
  return null;
77
81
  },
78
- enumerable: true,
82
+ enumerable: false,
79
83
  configurable: true
80
84
  });
81
85
  Object.defineProperty(LinearGauge.prototype, "element", {
@@ -88,7 +92,7 @@ var LinearGauge = /** @class */ (function (_super) {
88
92
  }
89
93
  return null;
90
94
  },
91
- enumerable: true,
95
+ enumerable: false,
92
96
  configurable: true
93
97
  });
94
98
  /**
@@ -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';
@@ -62,7 +66,7 @@ var RadialGauge = /** @class */ (function (_super) {
62
66
  }
63
67
  return null;
64
68
  },
65
- enumerable: true,
69
+ enumerable: false,
66
70
  configurable: true
67
71
  });
68
72
  Object.defineProperty(RadialGauge.prototype, "surface", {
@@ -75,7 +79,7 @@ var RadialGauge = /** @class */ (function (_super) {
75
79
  }
76
80
  return null;
77
81
  },
78
- enumerable: true,
82
+ enumerable: false,
79
83
  configurable: true
80
84
  });
81
85
  Object.defineProperty(RadialGauge.prototype, "element", {
@@ -88,7 +92,7 @@ var RadialGauge = /** @class */ (function (_super) {
88
92
  }
89
93
  return null;
90
94
  },
91
- enumerable: true,
95
+ enumerable: false,
92
96
  configurable: true
93
97
  });
94
98
  /**
@@ -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: 1653457136,
8
+ publishDate: 1653648581,
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,8 @@
1
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
2
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
3
+ to[j] = from[i];
4
+ return to;
5
+ };
1
6
  /**
2
7
  * @hidden
3
8
  */
@@ -37,7 +42,7 @@ var observersReducer = function (currentState, action) {
37
42
  if (action.type) {
38
43
  switch (action.type) {
39
44
  case 'add':
40
- return currentState.concat([action.payload]);
45
+ return __spreadArray(__spreadArray([], currentState), [action.payload]);
41
46
  case 'remove':
42
47
  return currentState.filter(function (element) { return element !== action.payload; });
43
48
  default:
@@ -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 {};
@@ -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
  */
@@ -3,10 +3,12 @@ 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 __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.ArcGauge = void 0;
36
41
  var React = require("react");
37
42
  var BaseGauge_1 = require("./BaseGauge");
38
43
  var kendo_charts_1 = require("@progress/kendo-charts");
@@ -69,7 +74,7 @@ var ArcGauge = /** @class */ (function (_super) {
69
74
  }
70
75
  return null;
71
76
  },
72
- enumerable: true,
77
+ enumerable: false,
73
78
  configurable: true
74
79
  });
75
80
  Object.defineProperty(ArcGauge.prototype, "surface", {
@@ -82,7 +87,7 @@ var ArcGauge = /** @class */ (function (_super) {
82
87
  }
83
88
  return null;
84
89
  },
85
- enumerable: true,
90
+ enumerable: false,
86
91
  configurable: true
87
92
  });
88
93
  Object.defineProperty(ArcGauge.prototype, "element", {
@@ -95,7 +100,7 @@ var ArcGauge = /** @class */ (function (_super) {
95
100
  }
96
101
  return null;
97
102
  },
98
- enumerable: true,
103
+ enumerable: false,
99
104
  configurable: true
100
105
  });
101
106
  /**
@@ -31,7 +31,7 @@ export declare class BaseGauge extends React.Component<BaseGaugePrivateProps, {}
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;
@@ -3,10 +3,12 @@ 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 __());
@@ -17,11 +19,14 @@ var __rest = (this && this.__rest) || function (s, e) {
17
19
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
18
20
  t[p] = s[p];
19
21
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
20
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
21
- t[p[i]] = s[p[i]];
22
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
23
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
24
+ t[p[i]] = s[p[i]];
25
+ }
22
26
  return t;
23
27
  };
24
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.BaseGauge = void 0;
25
30
  var React = require("react");
26
31
  var PropTypes = require("prop-types");
27
32
  var kendo_react_intl_1 = require("@progress/kendo-react-intl");
@@ -73,7 +78,7 @@ var BaseGauge = /** @class */ (function (_super) {
73
78
  get: function () {
74
79
  return this._element;
75
80
  },
76
- enumerable: true,
81
+ enumerable: false,
77
82
  configurable: true
78
83
  });
79
84
  /**
@@ -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.CircularGauge = void 0;
16
19
  var ArcGauge_1 = require("./ArcGauge");
17
20
  var kendo_charts_1 = require("@progress/kendo-charts");
18
21
  var CircularGauge = /** @class */ (function (_super) {
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GaugeContext = void 0;
3
4
  var React = require("react");
4
5
  /**
5
6
  * @hidden
@@ -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
  */