@progress/kendo-charts 2.8.0-develop.1 → 2.8.0-develop.2

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 (133) hide show
  1. package/dist/cdn/js/kendo-charts.js +1 -1
  2. package/dist/cdn/main.js +1 -1
  3. package/dist/es/barcode/barcode.js +1 -4
  4. package/dist/es/barcode/encodings/code128.js +1 -3
  5. package/dist/es/barcode/encodings/encoding.js +1 -3
  6. package/dist/es/chart/aggregates/aggregates.js +3 -3
  7. package/dist/es/chart/aggregates/default-aggregates.js +1 -5
  8. package/dist/es/chart/aggregates/series-aggregator.js +12 -10
  9. package/dist/es/chart/api-elements/chart-axis.js +1 -5
  10. package/dist/es/chart/api-elements/chart-plotarea.js +1 -5
  11. package/dist/es/chart/axis-group-range-tracker.js +1 -4
  12. package/dist/es/chart/categorical-chart.js +8 -8
  13. package/dist/es/chart/chart.js +2 -4
  14. package/dist/es/chart/error-bars/error-range-calculator.js +2 -4
  15. package/dist/es/chart/highlight.js +1 -5
  16. package/dist/es/chart/line-chart/line-chart.js +2 -2
  17. package/dist/es/chart/line-chart/line-point.js +19 -19
  18. package/dist/es/chart/mixins/accessibility-attributes-mixin.js +3 -4
  19. package/dist/es/chart/mixins/line-chart-mixin.js +1 -2
  20. package/dist/es/chart/mixins/note-mixin.js +1 -2
  21. package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +2 -4
  22. package/dist/es/chart/pan-and-zoom/pannable.js +2 -4
  23. package/dist/es/chart/pan-and-zoom/zoom-selection.js +2 -4
  24. package/dist/es/chart/plotarea/categorical-plotarea.js +2 -2
  25. package/dist/es/chart/plotarea/plotarea-factory.js +1 -5
  26. package/dist/es/chart/selection.js +2 -4
  27. package/dist/es/chart/series-binder.js +4 -8
  28. package/dist/es/chart/tooltip/base-tooltip.js +2 -4
  29. package/dist/es/common/getter.js +1 -3
  30. package/dist/es/common/grep.js +2 -11
  31. package/dist/es/common/in-array.js +1 -1
  32. package/dist/es/common/observable.js +1 -4
  33. package/dist/es/common/user-events.js +2 -6
  34. package/dist/es/core/box.js +38 -20
  35. package/dist/es/core/category-axis.js +5 -12
  36. package/dist/es/core/chart-element.js +8 -6
  37. package/dist/es/core/curve-processor.js +2 -5
  38. package/dist/es/core/point.js +2 -4
  39. package/dist/es/core/ring.js +2 -5
  40. package/dist/es/core/shape-builder.js +1 -2
  41. package/dist/es/core/utils/element-id.js +5 -0
  42. package/dist/es/core/utils/guid.js +4 -16
  43. package/dist/es/drawing-utils.js +0 -2
  44. package/dist/es/gauges/gauge.js +2 -5
  45. package/dist/es/gauges/pointer.js +2 -4
  46. package/dist/es/map/crs.js +5 -10
  47. package/dist/es/map/extent.js +1 -3
  48. package/dist/es/map/layers/bubble.js +1 -4
  49. package/dist/es/map/layers/layer.js +1 -4
  50. package/dist/es/map/layers/marker.js +1 -3
  51. package/dist/es/map/layers/shape.js +1 -3
  52. package/dist/es/map/layers/tile.js +3 -7
  53. package/dist/es/map/location.js +1 -4
  54. package/dist/es/map/scroller/draggable.js +1 -4
  55. package/dist/es/map/scroller/fx.js +1 -3
  56. package/dist/es/map/scroller/scroller.js +1 -4
  57. package/dist/es/map/tooltip/tooltip.js +2 -4
  58. package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +1 -4
  59. package/dist/es/qrcode/encodings/encoders/iso-encoder.js +1 -2
  60. package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +1 -4
  61. package/dist/es/qrcode/encodings/encoding-result.js +1 -5
  62. package/dist/es/qrcode/encodings/free-cell-visitor.js +1 -5
  63. package/dist/es/qrcode/qrcode.js +1 -4
  64. package/dist/es/sankey/element.js +1 -3
  65. package/dist/es/stock/navigator-hint.js +2 -4
  66. package/dist/es/stock/navigator.js +2 -4
  67. package/dist/es2015/barcode/barcode.js +1 -4
  68. package/dist/es2015/barcode/encodings/code128.js +1 -3
  69. package/dist/es2015/barcode/encodings/encoding.js +1 -3
  70. package/dist/es2015/chart/aggregates/aggregates.js +3 -3
  71. package/dist/es2015/chart/aggregates/default-aggregates.js +1 -5
  72. package/dist/es2015/chart/aggregates/series-aggregator.js +12 -10
  73. package/dist/es2015/chart/api-elements/chart-axis.js +1 -5
  74. package/dist/es2015/chart/api-elements/chart-plotarea.js +1 -5
  75. package/dist/es2015/chart/axis-group-range-tracker.js +1 -4
  76. package/dist/es2015/chart/categorical-chart.js +8 -8
  77. package/dist/es2015/chart/chart.js +2 -4
  78. package/dist/es2015/chart/error-bars/error-range-calculator.js +2 -4
  79. package/dist/es2015/chart/highlight.js +1 -5
  80. package/dist/es2015/chart/line-chart/line-chart.js +2 -2
  81. package/dist/es2015/chart/line-chart/line-point.js +19 -19
  82. package/dist/es2015/chart/mixins/accessibility-attributes-mixin.js +3 -4
  83. package/dist/es2015/chart/mixins/line-chart-mixin.js +1 -2
  84. package/dist/es2015/chart/mixins/note-mixin.js +1 -2
  85. package/dist/es2015/chart/pan-and-zoom/mousewheel-zoom.js +2 -4
  86. package/dist/es2015/chart/pan-and-zoom/pannable.js +2 -4
  87. package/dist/es2015/chart/pan-and-zoom/zoom-selection.js +2 -4
  88. package/dist/es2015/chart/plotarea/categorical-plotarea.js +2 -2
  89. package/dist/es2015/chart/plotarea/plotarea-factory.js +1 -5
  90. package/dist/es2015/chart/selection.js +2 -4
  91. package/dist/es2015/chart/series-binder.js +4 -8
  92. package/dist/es2015/chart/tooltip/base-tooltip.js +2 -4
  93. package/dist/es2015/common/getter.js +1 -3
  94. package/dist/es2015/common/grep.js +2 -11
  95. package/dist/es2015/common/in-array.js +1 -1
  96. package/dist/es2015/common/observable.js +1 -4
  97. package/dist/es2015/common/user-events.js +2 -6
  98. package/dist/es2015/core/box.js +38 -20
  99. package/dist/es2015/core/category-axis.js +5 -12
  100. package/dist/es2015/core/chart-element.js +8 -6
  101. package/dist/es2015/core/curve-processor.js +2 -5
  102. package/dist/es2015/core/point.js +2 -4
  103. package/dist/es2015/core/ring.js +2 -5
  104. package/dist/es2015/core/shape-builder.js +1 -2
  105. package/dist/es2015/core/utils/element-id.js +5 -0
  106. package/dist/es2015/core/utils/guid.js +4 -16
  107. package/dist/es2015/drawing-utils.js +0 -2
  108. package/dist/es2015/gauges/gauge.js +2 -5
  109. package/dist/es2015/gauges/pointer.js +2 -4
  110. package/dist/es2015/map/crs.js +5 -10
  111. package/dist/es2015/map/extent.js +1 -3
  112. package/dist/es2015/map/layers/bubble.js +1 -4
  113. package/dist/es2015/map/layers/layer.js +1 -4
  114. package/dist/es2015/map/layers/marker.js +1 -3
  115. package/dist/es2015/map/layers/shape.js +1 -3
  116. package/dist/es2015/map/layers/tile.js +3 -7
  117. package/dist/es2015/map/location.js +1 -4
  118. package/dist/es2015/map/scroller/draggable.js +1 -4
  119. package/dist/es2015/map/scroller/fx.js +1 -3
  120. package/dist/es2015/map/scroller/scroller.js +1 -4
  121. package/dist/es2015/map/tooltip/tooltip.js +2 -4
  122. package/dist/es2015/qrcode/encodings/data-modes/qr-data-mode.js +1 -4
  123. package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +1 -2
  124. package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +1 -4
  125. package/dist/es2015/qrcode/encodings/encoding-result.js +1 -5
  126. package/dist/es2015/qrcode/encodings/free-cell-visitor.js +1 -5
  127. package/dist/es2015/qrcode/qrcode.js +1 -4
  128. package/dist/es2015/sankey/element.js +1 -3
  129. package/dist/es2015/stock/navigator-hint.js +2 -4
  130. package/dist/es2015/stock/navigator.js +2 -4
  131. package/dist/npm/main.js +6372 -6890
  132. package/dist/systemjs/kendo-charts.js +1 -1
  133. package/package.json +1 -1
@@ -4,7 +4,6 @@ import {
4
4
  } from '@progress/kendo-drawing';
5
5
 
6
6
  import {
7
- Class,
8
7
  defined,
9
8
  last,
10
9
  setDefaultOptions
@@ -258,9 +257,8 @@ setDefaultOptions(ShapeLayer, {
258
257
  zIndex: 100
259
258
  });
260
259
 
261
- class GeoJsonLoader extends Class {
260
+ class GeoJsonLoader {
262
261
  constructor(locator, defaultStyle, observer) {
263
- super();
264
262
  this.observer = observer;
265
263
  this.locator = locator;
266
264
  this.style = defaultStyle;
@@ -4,7 +4,6 @@ import {
4
4
  } from '@progress/kendo-drawing';
5
5
 
6
6
  import {
7
- Class,
8
7
  deepExtend,
9
8
  round,
10
9
  limitValue,
@@ -134,9 +133,8 @@ setDefaultOptions(TileLayer, {
134
133
  zIndex: 1
135
134
  });
136
135
 
137
- export class TileView extends Class {
136
+ export class TileView {
138
137
  constructor(element, options) {
139
- super();
140
138
  this.element = element;
141
139
  this._initOptions(options);
142
140
  this.pool = new TilePool();
@@ -284,9 +282,8 @@ export class TileView extends Class {
284
282
  }
285
283
  }
286
284
 
287
- export class ImageTile extends Class {
285
+ export class ImageTile {
288
286
  constructor(id, options) {
289
- super();
290
287
  this.id = id;
291
288
  this.visible = true;
292
289
  this._initOptions(options);
@@ -393,9 +390,8 @@ setDefaultOptions(ImageTile, {
393
390
  errorUrlTemplate: ''
394
391
  });
395
392
 
396
- export class TilePool extends Class {
393
+ export class TilePool {
397
394
  constructor() {
398
- super();
399
395
  this._items = [];
400
396
  }
401
397
 
@@ -1,5 +1,4 @@
1
1
  import {
2
- Class,
3
2
  deepExtend,
4
3
  deg,
5
4
  rad,
@@ -24,10 +23,8 @@ let math = Math,
24
23
  sin = math.sin,
25
24
  tan = math.tan;
26
25
 
27
- export class Location extends Class {
26
+ export class Location {
28
27
  constructor(lat, lng) {
29
- super();
30
-
31
28
  this.initProperties();
32
29
 
33
30
  if (arguments.length === 1) {
@@ -1,5 +1,4 @@
1
1
  import {
2
- Class,
3
2
  Observable,
4
3
  elementOffset,
5
4
  eventMap
@@ -228,10 +227,8 @@ export class PaneAxis extends Observable {
228
227
  }
229
228
  }
230
229
 
231
- export class Pane extends Class {
230
+ export class Pane {
232
231
  constructor(options) {
233
- super();
234
-
235
232
  let that = this,
236
233
  x, y,
237
234
  resistance,
@@ -1,5 +1,4 @@
1
1
  import {
2
- Class,
3
2
  now
4
3
  } from '../../common';
5
4
 
@@ -13,9 +12,8 @@ function animationFrame(callback) {
13
12
  window.requestAnimationFrame(callback);
14
13
  }
15
14
 
16
- export class Animation extends Class {
15
+ export class Animation {
17
16
  constructor() {
18
- super();
19
17
  let that = this;
20
18
 
21
19
  that._tickProxy = proxy(that._tick, that);
@@ -1,7 +1,6 @@
1
1
  // todo: extract to a separate place
2
2
 
3
3
  import {
4
- Class,
5
4
  deepExtend,
6
5
  addClass,
7
6
  Observable,
@@ -244,9 +243,8 @@ class AnimatedScroller extends Animation {
244
243
  }
245
244
  }
246
245
 
247
- class ScrollBar extends Class {
246
+ class ScrollBar {
248
247
  constructor(options) {
249
- super();
250
248
  let that = this,
251
249
  horizontal = options.axis === 'x';
252
250
 
@@ -310,7 +308,6 @@ class ScrollBar extends Class {
310
308
  }
311
309
  }
312
310
 
313
- // export class Scroller extends Class {
314
311
  export class Scroller extends Observable {
315
312
  constructor(element, options) {
316
313
  super();
@@ -1,10 +1,8 @@
1
- import { Class, deepExtend, setDefaultOptions } from '../../common';
1
+ import { deepExtend, setDefaultOptions } from '../../common';
2
2
  import { SHOW_TOOLTIP, HIDE_TOOLTIP } from '../constants';
3
3
 
4
- export class Tooltip extends Class {
4
+ export class Tooltip {
5
5
  constructor(widgetService, options) {
6
- super();
7
-
8
6
  this.widgetService = widgetService;
9
7
  this.options = deepExtend({}, this.options, options);
10
8
  this.offset = { x: 0, y: 0 };
@@ -1,13 +1,10 @@
1
- import { Class } from '../../../common';
2
1
  import { extend } from '../../utils';
3
2
  import {
4
3
  toBitsString
5
4
  } from '../../utils';
6
5
 
7
- export class QRDataMode extends Class {
6
+ export class QRDataMode {
8
7
  constructor() {
9
- super();
10
-
11
8
  this.initProperties();
12
9
  }
13
10
 
@@ -1,4 +1,3 @@
1
- import { Class } from '../../../common';
2
1
  import { EncodingResult } from '../encoding-result';
3
2
  import {
4
3
  getModes,
@@ -7,7 +6,7 @@ import {
7
6
  getDataString
8
7
  } from '../utils/index';
9
8
 
10
- export class IsoEncoder extends Class {
9
+ export class IsoEncoder {
11
10
  getEncodingResult(inputString, errorCorrectionLevel) {
12
11
  let modes = getModes(inputString),
13
12
  dataCodewordsCount = getDataCodewordsCount(modes),
@@ -1,4 +1,3 @@
1
- import { Class } from '../../../common';
2
1
  import { EncodingResult } from '../encoding-result';
3
2
  import { DataModeInstances } from '../data-modes/data-mode-instances';
4
3
  import { extend } from '../../utils';
@@ -7,10 +6,8 @@ import { getVersion } from '../utils/index';
7
6
 
8
7
  const BYTE = "byte";
9
8
 
10
- export class Utf8Encoder extends Class {
9
+ export class Utf8Encoder {
11
10
  constructor() {
12
- super();
13
-
14
11
  this.initProperties();
15
12
 
16
13
  this.mode = DataModeInstances[this.encodingMode];
@@ -1,9 +1,5 @@
1
- import { Class } from '../../common';
2
-
3
- export class EncodingResult extends Class {
1
+ export class EncodingResult {
4
2
  constructor(dataString, version) {
5
- super();
6
-
7
3
  this.dataString = dataString;
8
4
  this.version = version;
9
5
  }
@@ -1,9 +1,5 @@
1
- import { Class } from '../../common';
2
-
3
- export class FreeCellVisitor extends Class {
1
+ export class FreeCellVisitor {
4
2
  constructor(matrix) {
5
- super();
6
-
7
3
  this.matrix = matrix;
8
4
  this.row = matrix.length - 1;
9
5
  this.column = matrix.length - 1;
@@ -4,7 +4,6 @@ import {
4
4
  } from '@progress/kendo-drawing';
5
5
 
6
6
  import {
7
- Class,
8
7
  addClass,
9
8
  setDefaultOptions,
10
9
  deepExtend,
@@ -31,10 +30,8 @@ const QRCodeDefaults = {
31
30
  DEFAULT_LOGO_SIZE: 7
32
31
  };
33
32
 
34
- class QRCode extends Class {
33
+ class QRCode {
35
34
  constructor(element, options, errorHandler = defaultErrorHandler) {
36
- super();
37
-
38
35
  this.options = deepExtend({}, this.options, options);
39
36
  this.element = element;
40
37
  this.wrapper = this.element;
@@ -1,11 +1,9 @@
1
1
  import {
2
- Class,
3
2
  deepExtend
4
3
  } from '../common';
5
4
 
6
- export class SankeyElement extends Class {
5
+ export class SankeyElement {
7
6
  constructor(options) {
8
- super();
9
7
  this.options = deepExtend({}, this.options, options);
10
8
  this.createVisual();
11
9
  }
@@ -1,4 +1,4 @@
1
- import { Class, deepExtend, elementStyles, getTemplate, setDefaultOptions } from '../common';
1
+ import { deepExtend, elementStyles, getTemplate, setDefaultOptions } from '../common';
2
2
  import { toDate, toTime } from '../date-utils';
3
3
  import FadeOutAnimation from './fade-out-animation';
4
4
 
@@ -12,10 +12,8 @@ function createDiv(className, style) {
12
12
  return div;
13
13
  }
14
14
 
15
- class NavigatorHint extends Class {
15
+ class NavigatorHint {
16
16
  constructor(container, chartService, options) {
17
- super();
18
-
19
17
  this.options = deepExtend({}, this.options, options);
20
18
  this.container = container;
21
19
  this.chartService = chartService;
@@ -3,15 +3,13 @@ import { Selection, filterSeriesByType } from '../chart';
3
3
  import { DRAG, DRAG_END, EQUALLY_SPACED_SERIES, ZOOM, ZOOM_END } from '../chart/constants';
4
4
  import { DateCategoryAxis } from '../core';
5
5
  import { addDuration, parseDate, toDate, toTime } from '../date-utils';
6
- import { Class, deepExtend, defined, getTemplate, InstanceObserver, last, limitValue, valueOrDefault } from '../common';
6
+ import { deepExtend, defined, getTemplate, InstanceObserver, last, limitValue, valueOrDefault } from '../common';
7
7
  import { NAVIGATOR_AXIS, NAVIGATOR_PANE, DEFAULT_PANE } from './constants';
8
8
 
9
9
  const ZOOM_ACCELERATION = 3;
10
10
 
11
- class Navigator extends Class {
11
+ class Navigator {
12
12
  constructor(chart) {
13
- super();
14
-
15
13
  this.chart = chart;
16
14
  const options = this.options = deepExtend({}, this.options, chart.options.navigator);
17
15
  const select = options.select;