@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.
- package/dist/cdn/js/kendo-charts.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/barcode/barcode.js +1 -4
- package/dist/es/barcode/encodings/code128.js +1 -3
- package/dist/es/barcode/encodings/encoding.js +1 -3
- package/dist/es/chart/aggregates/aggregates.js +3 -3
- package/dist/es/chart/aggregates/default-aggregates.js +1 -5
- package/dist/es/chart/aggregates/series-aggregator.js +12 -10
- package/dist/es/chart/api-elements/chart-axis.js +1 -5
- package/dist/es/chart/api-elements/chart-plotarea.js +1 -5
- package/dist/es/chart/axis-group-range-tracker.js +1 -4
- package/dist/es/chart/categorical-chart.js +8 -8
- package/dist/es/chart/chart.js +2 -4
- package/dist/es/chart/error-bars/error-range-calculator.js +2 -4
- package/dist/es/chart/highlight.js +1 -5
- package/dist/es/chart/line-chart/line-chart.js +2 -2
- package/dist/es/chart/line-chart/line-point.js +19 -19
- package/dist/es/chart/mixins/accessibility-attributes-mixin.js +3 -4
- package/dist/es/chart/mixins/line-chart-mixin.js +1 -2
- package/dist/es/chart/mixins/note-mixin.js +1 -2
- package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +2 -4
- package/dist/es/chart/pan-and-zoom/pannable.js +2 -4
- package/dist/es/chart/pan-and-zoom/zoom-selection.js +2 -4
- package/dist/es/chart/plotarea/categorical-plotarea.js +2 -2
- package/dist/es/chart/plotarea/plotarea-factory.js +1 -5
- package/dist/es/chart/selection.js +2 -4
- package/dist/es/chart/series-binder.js +4 -8
- package/dist/es/chart/tooltip/base-tooltip.js +2 -4
- package/dist/es/common/getter.js +1 -3
- package/dist/es/common/grep.js +2 -11
- package/dist/es/common/in-array.js +1 -1
- package/dist/es/common/observable.js +1 -4
- package/dist/es/common/user-events.js +2 -6
- package/dist/es/core/box.js +38 -20
- package/dist/es/core/category-axis.js +5 -12
- package/dist/es/core/chart-element.js +8 -6
- package/dist/es/core/curve-processor.js +2 -5
- package/dist/es/core/point.js +2 -4
- package/dist/es/core/ring.js +2 -5
- package/dist/es/core/shape-builder.js +1 -2
- package/dist/es/core/utils/element-id.js +5 -0
- package/dist/es/core/utils/guid.js +4 -16
- package/dist/es/drawing-utils.js +0 -2
- package/dist/es/gauges/gauge.js +2 -5
- package/dist/es/gauges/pointer.js +2 -4
- package/dist/es/map/crs.js +5 -10
- package/dist/es/map/extent.js +1 -3
- package/dist/es/map/layers/bubble.js +1 -4
- package/dist/es/map/layers/layer.js +1 -4
- package/dist/es/map/layers/marker.js +1 -3
- package/dist/es/map/layers/shape.js +1 -3
- package/dist/es/map/layers/tile.js +3 -7
- package/dist/es/map/location.js +1 -4
- package/dist/es/map/scroller/draggable.js +1 -4
- package/dist/es/map/scroller/fx.js +1 -3
- package/dist/es/map/scroller/scroller.js +1 -4
- package/dist/es/map/tooltip/tooltip.js +2 -4
- package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +1 -4
- package/dist/es/qrcode/encodings/encoders/iso-encoder.js +1 -2
- package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +1 -4
- package/dist/es/qrcode/encodings/encoding-result.js +1 -5
- package/dist/es/qrcode/encodings/free-cell-visitor.js +1 -5
- package/dist/es/qrcode/qrcode.js +1 -4
- package/dist/es/sankey/element.js +1 -3
- package/dist/es/stock/navigator-hint.js +2 -4
- package/dist/es/stock/navigator.js +2 -4
- package/dist/es2015/barcode/barcode.js +1 -4
- package/dist/es2015/barcode/encodings/code128.js +1 -3
- package/dist/es2015/barcode/encodings/encoding.js +1 -3
- package/dist/es2015/chart/aggregates/aggregates.js +3 -3
- package/dist/es2015/chart/aggregates/default-aggregates.js +1 -5
- package/dist/es2015/chart/aggregates/series-aggregator.js +12 -10
- package/dist/es2015/chart/api-elements/chart-axis.js +1 -5
- package/dist/es2015/chart/api-elements/chart-plotarea.js +1 -5
- package/dist/es2015/chart/axis-group-range-tracker.js +1 -4
- package/dist/es2015/chart/categorical-chart.js +8 -8
- package/dist/es2015/chart/chart.js +2 -4
- package/dist/es2015/chart/error-bars/error-range-calculator.js +2 -4
- package/dist/es2015/chart/highlight.js +1 -5
- package/dist/es2015/chart/line-chart/line-chart.js +2 -2
- package/dist/es2015/chart/line-chart/line-point.js +19 -19
- package/dist/es2015/chart/mixins/accessibility-attributes-mixin.js +3 -4
- package/dist/es2015/chart/mixins/line-chart-mixin.js +1 -2
- package/dist/es2015/chart/mixins/note-mixin.js +1 -2
- package/dist/es2015/chart/pan-and-zoom/mousewheel-zoom.js +2 -4
- package/dist/es2015/chart/pan-and-zoom/pannable.js +2 -4
- package/dist/es2015/chart/pan-and-zoom/zoom-selection.js +2 -4
- package/dist/es2015/chart/plotarea/categorical-plotarea.js +2 -2
- package/dist/es2015/chart/plotarea/plotarea-factory.js +1 -5
- package/dist/es2015/chart/selection.js +2 -4
- package/dist/es2015/chart/series-binder.js +4 -8
- package/dist/es2015/chart/tooltip/base-tooltip.js +2 -4
- package/dist/es2015/common/getter.js +1 -3
- package/dist/es2015/common/grep.js +2 -11
- package/dist/es2015/common/in-array.js +1 -1
- package/dist/es2015/common/observable.js +1 -4
- package/dist/es2015/common/user-events.js +2 -6
- package/dist/es2015/core/box.js +38 -20
- package/dist/es2015/core/category-axis.js +5 -12
- package/dist/es2015/core/chart-element.js +8 -6
- package/dist/es2015/core/curve-processor.js +2 -5
- package/dist/es2015/core/point.js +2 -4
- package/dist/es2015/core/ring.js +2 -5
- package/dist/es2015/core/shape-builder.js +1 -2
- package/dist/es2015/core/utils/element-id.js +5 -0
- package/dist/es2015/core/utils/guid.js +4 -16
- package/dist/es2015/drawing-utils.js +0 -2
- package/dist/es2015/gauges/gauge.js +2 -5
- package/dist/es2015/gauges/pointer.js +2 -4
- package/dist/es2015/map/crs.js +5 -10
- package/dist/es2015/map/extent.js +1 -3
- package/dist/es2015/map/layers/bubble.js +1 -4
- package/dist/es2015/map/layers/layer.js +1 -4
- package/dist/es2015/map/layers/marker.js +1 -3
- package/dist/es2015/map/layers/shape.js +1 -3
- package/dist/es2015/map/layers/tile.js +3 -7
- package/dist/es2015/map/location.js +1 -4
- package/dist/es2015/map/scroller/draggable.js +1 -4
- package/dist/es2015/map/scroller/fx.js +1 -3
- package/dist/es2015/map/scroller/scroller.js +1 -4
- package/dist/es2015/map/tooltip/tooltip.js +2 -4
- package/dist/es2015/qrcode/encodings/data-modes/qr-data-mode.js +1 -4
- package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +1 -2
- package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +1 -4
- package/dist/es2015/qrcode/encodings/encoding-result.js +1 -5
- package/dist/es2015/qrcode/encodings/free-cell-visitor.js +1 -5
- package/dist/es2015/qrcode/qrcode.js +1 -4
- package/dist/es2015/sankey/element.js +1 -3
- package/dist/es2015/stock/navigator-hint.js +2 -4
- package/dist/es2015/stock/navigator.js +2 -4
- package/dist/npm/main.js +6372 -6890
- package/dist/systemjs/kendo-charts.js +1 -1
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
1
|
+
import { deepExtend, setDefaultOptions } from '../../common';
|
|
2
2
|
import { SHOW_TOOLTIP, HIDE_TOOLTIP } from '../constants';
|
|
3
3
|
|
|
4
|
-
export class Tooltip
|
|
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
|
|
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
|
|
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
|
|
9
|
+
export class Utf8Encoder {
|
|
11
10
|
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
|
|
14
11
|
this.initProperties();
|
|
15
12
|
|
|
16
13
|
this.mode = DataModeInstances[this.encodingMode];
|
|
@@ -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
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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 {
|
|
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
|
|
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;
|