@progress/kendo-charts 2.7.3-develop.2 → 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 +9 -8
- 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/clip-animation-mixin.js +6 -5
- 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 +9 -8
- 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/clip-animation-mixin.js +6 -5
- 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 +6378 -6892
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
let id = "";
|
|
3
|
-
let i;
|
|
4
|
-
let random;
|
|
5
|
-
|
|
6
|
-
for (i = 0; i < 32; i++) {
|
|
7
|
-
random = Math.random() * 16 | 0;
|
|
8
|
-
|
|
9
|
-
if (i === 8 || i === 12 || i === 16 || i === 20) {
|
|
10
|
-
id += "-";
|
|
11
|
-
}
|
|
1
|
+
import elementId from "./element-id";
|
|
12
2
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return id;
|
|
17
|
-
}
|
|
3
|
+
export default function guid() {
|
|
4
|
+
return elementId();
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { geometry as geo, drawing } from '@progress/kendo-drawing';
|
|
2
|
-
import {
|
|
2
|
+
import { elementSize, setDefaultOptions, deepExtend, isArray, isNumber } from '../common';
|
|
3
3
|
import { DEFAULT_WIDTH, DEFAULT_HEIGHT } from './constants';
|
|
4
4
|
import { ChartService } from '../services';
|
|
5
5
|
import { unpad } from './utils';
|
|
@@ -7,11 +7,8 @@ import { unpad } from './utils';
|
|
|
7
7
|
const DEFAULT_MARGIN = 5;
|
|
8
8
|
const { Path, Surface } = drawing;
|
|
9
9
|
|
|
10
|
-
class Gauge
|
|
11
|
-
|
|
10
|
+
class Gauge {
|
|
12
11
|
constructor(element, userOptions, theme, context = {}) {
|
|
13
|
-
super();
|
|
14
|
-
|
|
15
12
|
this.element = element;
|
|
16
13
|
this.theme = theme;
|
|
17
14
|
this.contextService = new ChartService(this, context);
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { setDefaultOptions, defined, deepExtend, limitValue } from '../common';
|
|
2
2
|
import { BLACK } from '../common/constants';
|
|
3
3
|
|
|
4
|
-
class Pointer
|
|
4
|
+
class Pointer {
|
|
5
5
|
constructor(scale, userOptions) {
|
|
6
|
-
super();
|
|
7
|
-
|
|
8
6
|
const { min, max } = scale.options;
|
|
9
7
|
const options = this.options = deepExtend({}, this.options, userOptions);
|
|
10
8
|
|
package/dist/es2015/map/crs.js
CHANGED
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
} from '@progress/kendo-drawing';
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
Class,
|
|
7
6
|
setDefaultOptions,
|
|
8
7
|
limitValue,
|
|
9
8
|
rad,
|
|
@@ -37,9 +36,8 @@ let PI = math.PI,
|
|
|
37
36
|
let WGS84 = datums.WGS84;
|
|
38
37
|
|
|
39
38
|
// WGS 84 / World Mercator
|
|
40
|
-
export class Mercator
|
|
39
|
+
export class Mercator {
|
|
41
40
|
constructor(options) {
|
|
42
|
-
super();
|
|
43
41
|
this.initProperties();
|
|
44
42
|
this._initOptions(options);
|
|
45
43
|
}
|
|
@@ -150,7 +148,7 @@ export class SphericalMercator extends Mercator {
|
|
|
150
148
|
}
|
|
151
149
|
}
|
|
152
150
|
|
|
153
|
-
export class Equirectangular
|
|
151
|
+
export class Equirectangular {
|
|
154
152
|
forward(loc) {
|
|
155
153
|
return new Point(loc.lng, loc.lat);
|
|
156
154
|
}
|
|
@@ -167,9 +165,8 @@ export class Equirectangular extends Class {
|
|
|
167
165
|
// Area of use: World between 85.06°S and 85.06°N.
|
|
168
166
|
// Coordinate system: Cartesian 2D CS. Axes: easting, northing (X,Y). Orientations: east, north. UoM: m.
|
|
169
167
|
// https://epsg.io/3857
|
|
170
|
-
export class EPSG3857
|
|
168
|
+
export class EPSG3857 {
|
|
171
169
|
constructor() {
|
|
172
|
-
super();
|
|
173
170
|
let crs = this,
|
|
174
171
|
proj = crs._proj = new SphericalMercator();
|
|
175
172
|
let c = this.c = 2 * PI * proj.options.datum.a;
|
|
@@ -200,9 +197,8 @@ export class EPSG3857 extends Class {
|
|
|
200
197
|
// Area of use: World between 80°S and 84°N.
|
|
201
198
|
// Coordinate system: Cartesian 2D CS. Axes: easting, northing (E,N). Orientations: east, north. UoM: m.
|
|
202
199
|
// https://epsg.io/3395
|
|
203
|
-
export class EPSG3395
|
|
200
|
+
export class EPSG3395 {
|
|
204
201
|
constructor() {
|
|
205
|
-
super();
|
|
206
202
|
this._proj = new Mercator();
|
|
207
203
|
}
|
|
208
204
|
toPoint(loc) {
|
|
@@ -219,9 +215,8 @@ export class EPSG3395 extends Class {
|
|
|
219
215
|
// Area of use: World.
|
|
220
216
|
// Coordinate system: Ellipsoidal 2D CS. Axes: latitude, longitude. Orientations: north, east. UoM: degree
|
|
221
217
|
// https://epsg.io/4326
|
|
222
|
-
export class EPSG4326
|
|
218
|
+
export class EPSG4326 {
|
|
223
219
|
constructor() {
|
|
224
|
-
super();
|
|
225
220
|
this._proj = new Equirectangular();
|
|
226
221
|
}
|
|
227
222
|
toPoint(loc) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Class,
|
|
3
2
|
valueOrDefault
|
|
4
3
|
} from '../common';
|
|
5
4
|
|
|
@@ -9,9 +8,8 @@ let math = Math,
|
|
|
9
8
|
max = math.max,
|
|
10
9
|
min = math.min;
|
|
11
10
|
|
|
12
|
-
export class Extent
|
|
11
|
+
export class Extent {
|
|
13
12
|
constructor(initialNw, initialSe) {
|
|
14
|
-
super();
|
|
15
13
|
let nw = Location.create(initialNw);
|
|
16
14
|
let se = Location.create(initialSe);
|
|
17
15
|
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
} from '@progress/kendo-drawing';
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
|
-
Class,
|
|
8
7
|
defined,
|
|
9
8
|
isFunction,
|
|
10
9
|
getter,
|
|
@@ -149,10 +148,8 @@ setDefaultOptions(BubbleLayer, {
|
|
|
149
148
|
zIndex: 200
|
|
150
149
|
});
|
|
151
150
|
|
|
152
|
-
class SqrtScale
|
|
151
|
+
class SqrtScale {
|
|
153
152
|
constructor(domain, range) {
|
|
154
|
-
super();
|
|
155
|
-
|
|
156
153
|
this._domain = domain;
|
|
157
154
|
this._range = range;
|
|
158
155
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Class,
|
|
3
2
|
addClass,
|
|
4
3
|
deepExtend,
|
|
5
4
|
defined,
|
|
@@ -10,10 +9,8 @@ import {
|
|
|
10
9
|
Extent
|
|
11
10
|
} from './../extent';
|
|
12
11
|
|
|
13
|
-
export class Layer
|
|
12
|
+
export class Layer {
|
|
14
13
|
constructor(map, options) {
|
|
15
|
-
super();
|
|
16
|
-
|
|
17
14
|
this.support = getSupportedFeatures();
|
|
18
15
|
|
|
19
16
|
this._initOptions(options);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Class,
|
|
3
2
|
addClass,
|
|
4
3
|
isArray,
|
|
5
4
|
getter,
|
|
@@ -189,9 +188,8 @@ setDefaultOptions(MarkerLayer, {
|
|
|
189
188
|
template: ""
|
|
190
189
|
});
|
|
191
190
|
|
|
192
|
-
export class Marker
|
|
191
|
+
export class Marker {
|
|
193
192
|
constructor(options) {
|
|
194
|
-
super();
|
|
195
193
|
this.options = options || {};
|
|
196
194
|
}
|
|
197
195
|
|
|
@@ -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;
|