@progress/kendo-charts 1.19.1 → 1.20.0-dev.202111121622
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/chart/chart.js +15 -6
- package/dist/es/chart/constants.js +3 -1
- package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +8 -4
- package/dist/es/chart/selection.js +41 -1
- package/dist/es/common/mousewheel-delta.js +4 -7
- package/dist/es/core/axis.js +47 -0
- package/dist/es/core/category-axis.js +62 -20
- package/dist/es/core/date-category-axis.js +26 -38
- package/dist/es/core/date-value-axis.js +37 -40
- package/dist/es/core/logarithmic-axis.js +62 -88
- package/dist/es/core/numeric-axis.js +57 -81
- package/dist/es/main.js +1 -0
- package/dist/es/qrcode/encodings/data-modes/alpha-numeric-data-mode.js +103 -0
- package/dist/es/qrcode/encodings/data-modes/byte-data-mode.js +51 -0
- package/dist/es/qrcode/encodings/data-modes/data-mode-instances.js +12 -0
- package/dist/es/qrcode/encodings/data-modes/numeric-data-mode.js +49 -0
- package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +50 -0
- package/dist/es/qrcode/encodings/encoders/iso-encoder.js +29 -0
- package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +91 -0
- package/dist/es/qrcode/encodings/encoding-result.js +16 -0
- package/dist/es/qrcode/encodings/encoding.js +701 -0
- package/dist/es/qrcode/encodings/free-cell-visitor.js +57 -0
- package/dist/es/qrcode/encodings/version-codewords.js +1289 -0
- package/dist/es/qrcode/qrcode.js +403 -0
- package/dist/es/qrcode/utils.js +28 -0
- package/dist/es/qrcode.js +1 -0
- package/dist/es/stock/navigator.js +3 -2
- package/dist/es2015/chart/chart.js +15 -6
- package/dist/es2015/chart/constants.js +3 -1
- package/dist/es2015/chart/pan-and-zoom/mousewheel-zoom.js +6 -4
- package/dist/es2015/chart/selection.js +40 -1
- package/dist/es2015/common/mousewheel-delta.js +4 -7
- package/dist/es2015/core/axis.js +39 -0
- package/dist/es2015/core/category-axis.js +56 -18
- package/dist/es2015/core/date-category-axis.js +27 -36
- package/dist/es2015/core/date-value-axis.js +35 -40
- package/dist/es2015/core/logarithmic-axis.js +52 -83
- package/dist/es2015/core/numeric-axis.js +47 -78
- package/dist/es2015/main.js +1 -0
- package/dist/es2015/qrcode/encodings/data-modes/alpha-numeric-data-mode.js +91 -0
- package/dist/es2015/qrcode/encodings/data-modes/byte-data-mode.js +41 -0
- package/dist/es2015/qrcode/encodings/data-modes/data-mode-instances.js +13 -0
- package/dist/es2015/qrcode/encodings/data-modes/numeric-data-mode.js +39 -0
- package/dist/es2015/qrcode/encodings/data-modes/qr-data-mode.js +44 -0
- package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +19 -0
- package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +83 -0
- package/dist/es2015/qrcode/encodings/encoding-result.js +10 -0
- package/dist/es2015/qrcode/encodings/encoding.js +701 -0
- package/dist/es2015/qrcode/encodings/free-cell-visitor.js +49 -0
- package/dist/es2015/qrcode/encodings/version-codewords.js +1289 -0
- package/dist/es2015/qrcode/qrcode.js +395 -0
- package/dist/es2015/qrcode/utils.js +28 -0
- package/dist/es2015/qrcode.js +1 -0
- package/dist/es2015/stock/navigator.js +3 -2
- package/dist/npm/main.d.ts +1 -0
- package/dist/npm/main.js +3172 -283
- package/dist/npm/qrcode.d.ts +5 -0
- package/dist/systemjs/kendo-charts.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Class } from '../../common';
|
|
2
|
+
|
|
3
|
+
export var FreeCellVisitor = (function (Class) {
|
|
4
|
+
function FreeCellVisitor(matrix) {
|
|
5
|
+
Class.call(this);
|
|
6
|
+
|
|
7
|
+
this.matrix = matrix;
|
|
8
|
+
this.row = matrix.length - 1;
|
|
9
|
+
this.column = matrix.length - 1;
|
|
10
|
+
this.startColumn = this.column;
|
|
11
|
+
this.dir = -1;
|
|
12
|
+
this.c = 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if ( Class ) FreeCellVisitor.__proto__ = Class;
|
|
16
|
+
FreeCellVisitor.prototype = Object.create( Class && Class.prototype );
|
|
17
|
+
FreeCellVisitor.prototype.constructor = FreeCellVisitor;
|
|
18
|
+
|
|
19
|
+
FreeCellVisitor.prototype.move = function move () {
|
|
20
|
+
this.row += this.dir * this.c;
|
|
21
|
+
this.c ^= 1;
|
|
22
|
+
this.column = this.startColumn - this.c;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
FreeCellVisitor.prototype.getNextCell = function getNextCell () {
|
|
26
|
+
var this$1 = this;
|
|
27
|
+
|
|
28
|
+
while (this.matrix[this.row][this.column] !== undefined) {
|
|
29
|
+
this$1.move();
|
|
30
|
+
|
|
31
|
+
if (this$1.row < 0 || this$1.row >= this$1.matrix.length) {
|
|
32
|
+
this$1.dir = -this$1.dir;
|
|
33
|
+
this$1.startColumn -= this$1.startColumn !== 8 ? 2 : 3;
|
|
34
|
+
this$1.column = this$1.startColumn;
|
|
35
|
+
this$1.row = this$1.dir < 0 ? this$1.matrix.length - 1 : 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return {
|
|
40
|
+
row: this.row,
|
|
41
|
+
column: this.column
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
FreeCellVisitor.prototype.getNextRemainderCell = function getNextRemainderCell () {
|
|
46
|
+
this.move();
|
|
47
|
+
|
|
48
|
+
if (this.matrix[this.row][this.column] === undefined) {
|
|
49
|
+
return {
|
|
50
|
+
row: this.row,
|
|
51
|
+
column: this.column
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
return FreeCellVisitor;
|
|
57
|
+
}(Class));
|