igniteui-webcomponents-charts 4.3.3-beta.0 → 4.3.3-beta.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/bundles/igniteui-webcomponents-charts.umd.js +7780 -7646
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm2015/lib/AnnotationLayer_combined.js +4 -4
- package/esm2015/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm2015/lib/AxisAnnotationManager.js +1 -1
- package/esm2015/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm2015/lib/BubbleSeries_combined.js +4 -4
- package/esm2015/lib/CalloutLayer_combined.js +3 -3
- package/esm2015/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm2015/lib/CategoryChart.js +429 -429
- package/esm2015/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm2015/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm2015/lib/CategoryXAxis_combined.js +20 -20
- package/esm2015/lib/CategoryYAxis_combined.js +20 -20
- package/esm2015/lib/ColumnSeries_combined.js +2 -2
- package/esm2015/lib/DataChartToolbarProvider.js +6 -6
- package/esm2015/lib/DataChartVisualDataManager.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +251 -243
- package/esm2015/lib/DataToolTipLayer_combined.js +6 -6
- package/esm2015/lib/DomainChartToolbarProvider.js +15 -15
- package/esm2015/lib/DomainChart_combined.js +1520 -1512
- package/esm2015/lib/FinancialChartDropDownControl.js +10 -3
- package/esm2015/lib/FinancialChartIndicatorMenuView.js +26 -16
- package/esm2015/lib/FinancialChart_combined.js +1320 -1320
- package/esm2015/lib/FinancialEventArgs_combined.js +1 -1
- package/esm2015/lib/FinancialIndicator_combined.js +1 -1
- package/esm2015/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm2015/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm2015/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm2015/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm2015/lib/NumericXAxis_combined.js +3 -3
- package/esm2015/lib/NumericYAxis_combined.js +3 -3
- package/esm2015/lib/OrdinalTimeXAxis.js +2 -2
- package/esm2015/lib/PolarBase_combined.js +3 -3
- package/esm2015/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm2015/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm2015/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm2015/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm2015/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm2015/lib/ScatterBase_combined.js +9 -9
- package/esm2015/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm2015/lib/SeriesInteractionManager.js +22 -22
- package/esm2015/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm2015/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm2015/lib/SeriesViewer_combined.js +1719 -1667
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/SplineSeriesBase_combined.js +1 -1
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm2015/lib/TileZoomManager_combined.js +4 -4
- package/esm2015/lib/TimeAxisBase.js +6 -6
- package/esm2015/lib/TimeXAxis.js +9 -9
- package/esm2015/lib/ValueOverlay_combined.js +1 -1
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/XYChart.js +742 -742
- package/esm2015/lib/igc-category-chart-component.js +126 -126
- package/esm2015/lib/igc-data-chart-component.js +95 -95
- package/esm2015/lib/igc-domain-chart-component.js +548 -545
- package/esm2015/lib/igc-financial-chart-component.js +172 -172
- package/esm2015/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm2015/lib/igc-series-viewer-component.js +258 -255
- package/esm2015/lib/igc-xy-chart-component.js +218 -218
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm5/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm5/lib/AnnotationLayer_combined.js +4 -4
- package/esm5/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm5/lib/AxisAnnotationManager.js +1 -1
- package/esm5/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm5/lib/BubbleSeries_combined.js +4 -4
- package/esm5/lib/CalloutLayer_combined.js +3 -3
- package/esm5/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm5/lib/CategoryChart.js +414 -414
- package/esm5/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm5/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm5/lib/CategoryXAxis_combined.js +20 -20
- package/esm5/lib/CategoryYAxis_combined.js +20 -20
- package/esm5/lib/ColumnSeries_combined.js +2 -2
- package/esm5/lib/DataChartToolbarProvider.js +6 -6
- package/esm5/lib/DataChartVisualDataManager.js +1 -1
- package/esm5/lib/DataLegendContent_combined.js +253 -241
- package/esm5/lib/DataToolTipLayer_combined.js +6 -6
- package/esm5/lib/DomainChartToolbarProvider.js +15 -15
- package/esm5/lib/DomainChart_combined.js +1440 -1428
- package/esm5/lib/FinancialChartDropDownControl.js +10 -3
- package/esm5/lib/FinancialChartIndicatorMenuView.js +33 -19
- package/esm5/lib/FinancialChart_combined.js +1286 -1286
- package/esm5/lib/FinancialEventArgs_combined.js +1 -1
- package/esm5/lib/FinancialIndicator_combined.js +1 -1
- package/esm5/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm5/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm5/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm5/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm5/lib/NumericXAxis_combined.js +3 -3
- package/esm5/lib/NumericYAxis_combined.js +3 -3
- package/esm5/lib/OrdinalTimeXAxis.js +2 -2
- package/esm5/lib/PolarBase_combined.js +3 -3
- package/esm5/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm5/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm5/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm5/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm5/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm5/lib/ScatterBase_combined.js +9 -9
- package/esm5/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm5/lib/SeriesInteractionManager.js +22 -22
- package/esm5/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm5/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm5/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm5/lib/SeriesViewer_combined.js +1711 -1655
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/SplineSeriesBase_combined.js +1 -1
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm5/lib/TileZoomManager_combined.js +4 -4
- package/esm5/lib/TimeAxisBase.js +6 -6
- package/esm5/lib/TimeXAxis.js +9 -9
- package/esm5/lib/ValueOverlay_combined.js +1 -1
- package/esm5/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/XYChart.js +698 -698
- package/esm5/lib/igc-category-chart-component.js +126 -126
- package/esm5/lib/igc-data-chart-component.js +95 -95
- package/esm5/lib/igc-domain-chart-component.js +552 -545
- package/esm5/lib/igc-financial-chart-component.js +172 -172
- package/esm5/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm5/lib/igc-series-viewer-component.js +262 -255
- package/esm5/lib/igc-xy-chart-component.js +218 -218
- package/fesm2015/igniteui-webcomponents-charts.js +7872 -7762
- package/fesm5/igniteui-webcomponents-charts.js +7780 -7646
- package/lib/CategoryChart.d.ts +131 -131
- package/lib/DataLegendContent_combined.d.ts +50 -49
- package/lib/DomainChart_combined.d.ts +476 -473
- package/lib/FinancialChart_combined.d.ts +286 -286
- package/lib/SeriesViewer_combined.d.ts +498 -494
- package/lib/XYChart.d.ts +195 -195
- package/lib/igc-domain-chart-component.d.ts +1 -0
- package/lib/igc-financial-chart-default-templates-component.d.ts +1 -1
- package/lib/igc-series-viewer-component.d.ts +1 -0
- package/package.json +2 -2
|
@@ -81,7 +81,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
81
81
|
}
|
|
82
82
|
c = f;
|
|
83
83
|
if (a != null) {
|
|
84
|
-
a.
|
|
84
|
+
a.pb(b);
|
|
85
85
|
}
|
|
86
86
|
if (g != null && !g.a7.a$c) {
|
|
87
87
|
g.a7.a$y(g, b, c, d, false);
|
|
@@ -128,13 +128,13 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
128
128
|
return b;
|
|
129
129
|
};
|
|
130
130
|
SeriesViewerInteractionManager.prototype.f$an = function (a) {
|
|
131
|
-
var b = a.
|
|
131
|
+
var b = a.tb;
|
|
132
132
|
var c = b;
|
|
133
133
|
var d = a.cu;
|
|
134
|
-
var e = a.
|
|
135
|
-
var f = a.
|
|
136
|
-
var g = a.
|
|
137
|
-
var h = a.
|
|
134
|
+
var e = a.ds();
|
|
135
|
+
var f = a.dv;
|
|
136
|
+
var g = a.e6;
|
|
137
|
+
var h = a.ff;
|
|
138
138
|
if (!e) {
|
|
139
139
|
c = { $type: Point_$type, x: NaN, y: NaN };
|
|
140
140
|
}
|
|
@@ -145,11 +145,11 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
145
145
|
var j = a.series._inner[i];
|
|
146
146
|
j.lm(c);
|
|
147
147
|
}
|
|
148
|
-
a.
|
|
149
|
-
var k = a.cl == 0 && !a.
|
|
150
|
-
var l = a.
|
|
148
|
+
a.ml(c);
|
|
149
|
+
var k = a.cl == 0 && !a.ed && (a.d1 || f) && !g && !h;
|
|
150
|
+
var l = a.tz;
|
|
151
151
|
if (k && !isNaN_(b.x) && !l.isEmpty) {
|
|
152
|
-
var m = l.width * (b.x - a.
|
|
152
|
+
var m = l.width * (b.x - a.tk.left) / a.tk.width;
|
|
153
153
|
d.eo(l.left + m, l.top, l.left + m, l.bottom);
|
|
154
154
|
d.ed();
|
|
155
155
|
d.ei(m);
|
|
@@ -158,7 +158,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
158
158
|
d.cl();
|
|
159
159
|
}
|
|
160
160
|
if (k && !isNaN_(b.y) && !l.isEmpty) {
|
|
161
|
-
var n = l.height * (b.y - a.
|
|
161
|
+
var n = l.height * (b.y - a.tk.top) / a.tk.height;
|
|
162
162
|
d.eh(l.left, l.top + n, l.right, l.top + n);
|
|
163
163
|
d.d9();
|
|
164
164
|
}
|
|
@@ -188,21 +188,21 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
SeriesViewerInteractionManager.prototype.f$q = function (a, b) {
|
|
191
|
-
if (b.x >= 0 && b.y >= 0 && b.x <= a.
|
|
191
|
+
if (b.x >= 0 && b.y >= 0 && b.x <= a.tz.width && b.y <= a.tz.height) {
|
|
192
192
|
this.ae(a, b);
|
|
193
193
|
}
|
|
194
194
|
else {
|
|
195
|
-
a.
|
|
195
|
+
a.l7();
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
SeriesViewerInteractionManager.prototype.ae = function (a, b) {
|
|
199
199
|
var e_1, _a;
|
|
200
200
|
var c = a.cu;
|
|
201
|
-
var d = a.
|
|
202
|
-
if (a.
|
|
201
|
+
var d = a.tz;
|
|
202
|
+
if (a.ee || a.ed) {
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
|
-
if (a.
|
|
205
|
+
if (a.dv && a.d1) {
|
|
206
206
|
var e = d.height > d.width;
|
|
207
207
|
c.bv(e);
|
|
208
208
|
try {
|
|
@@ -240,13 +240,13 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
SeriesViewerInteractionManager.prototype.ad = function (a, b) {
|
|
243
|
-
if (a.
|
|
244
|
-
a.
|
|
245
|
-
a.
|
|
243
|
+
if (a.d1 || a.eb) {
|
|
244
|
+
a.dv = true;
|
|
245
|
+
a.n6();
|
|
246
246
|
this.aj = new Rect(0, b.x, b.y, 0, 0);
|
|
247
247
|
this.al = new Rect(0, b.x, b.y, 0, 0);
|
|
248
248
|
a.cl = 0;
|
|
249
|
-
a.
|
|
249
|
+
a.ly(a.te(b));
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
SeriesViewerInteractionManager.prototype.f$ae = function (a, b) {
|
|
@@ -255,13 +255,13 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
255
255
|
this.f$an(a);
|
|
256
256
|
};
|
|
257
257
|
SeriesViewerInteractionManager.prototype.f$r = function (a, b, c) {
|
|
258
|
-
if (!a.
|
|
258
|
+
if (!a.dv) {
|
|
259
259
|
this.ag(a, b, c);
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
SeriesViewerInteractionManager.prototype.f$p = function (a, b) {
|
|
263
263
|
this.ak = Rect.empty;
|
|
264
|
-
a.
|
|
264
|
+
a.l7();
|
|
265
265
|
};
|
|
266
266
|
SeriesViewerInteractionManager.prototype.f$al = function (a) {
|
|
267
267
|
if (this.j) {
|
|
@@ -273,16 +273,16 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
273
273
|
this.ac(a);
|
|
274
274
|
a.cl = 0;
|
|
275
275
|
this.i = true;
|
|
276
|
-
a.
|
|
277
|
-
a.
|
|
276
|
+
a.e6 = true;
|
|
277
|
+
a.n7();
|
|
278
278
|
};
|
|
279
279
|
SeriesViewerInteractionManager.prototype.ac = function (a) {
|
|
280
280
|
var b = a.cu;
|
|
281
|
-
a.
|
|
281
|
+
a.dv = false;
|
|
282
282
|
b.cj();
|
|
283
283
|
b.cf();
|
|
284
284
|
b.ch();
|
|
285
|
-
a.
|
|
285
|
+
a.ly({ $type: Point_$type, x: NaN, y: NaN });
|
|
286
286
|
b.cg();
|
|
287
287
|
b.cl();
|
|
288
288
|
b.ck();
|
|
@@ -296,7 +296,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
296
296
|
this.q = c;
|
|
297
297
|
this.r = d;
|
|
298
298
|
this.p = e;
|
|
299
|
-
this.ai = a.
|
|
299
|
+
this.ai = a.tk;
|
|
300
300
|
this.f$al(a);
|
|
301
301
|
};
|
|
302
302
|
SeriesViewerInteractionManager.prototype.f$ac = function (a, b) {
|
|
@@ -318,12 +318,12 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
318
318
|
this.q = this.q * c;
|
|
319
319
|
this.r = this.r * d;
|
|
320
320
|
this.p = this.p * e;
|
|
321
|
-
if (a.
|
|
321
|
+
if (a.ek) {
|
|
322
322
|
this.q = this.p;
|
|
323
323
|
this.r = this.p;
|
|
324
324
|
}
|
|
325
|
-
var g = a.
|
|
326
|
-
var h = a.
|
|
325
|
+
var g = a.tk;
|
|
326
|
+
var h = a.tz;
|
|
327
327
|
var i = b.x - this.t;
|
|
328
328
|
var j = b.y - this.u;
|
|
329
329
|
this.t = b.x;
|
|
@@ -348,22 +348,22 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
348
348
|
var v = t / h.height * q.height;
|
|
349
349
|
q = new Rect(0, q.left + u, q.top + v, q.width, q.height);
|
|
350
350
|
g = q;
|
|
351
|
-
a.
|
|
351
|
+
a.ps(g, true);
|
|
352
352
|
};
|
|
353
353
|
SeriesViewerInteractionManager.prototype.f$z = function (a, b) {
|
|
354
354
|
this.aj = new Rect(0, b.x, b.y, 0, 0);
|
|
355
355
|
this.al = new Rect(0, b.x, b.y, 0, 0);
|
|
356
356
|
};
|
|
357
357
|
SeriesViewerInteractionManager.prototype.z = function (a, b, c) {
|
|
358
|
-
var d = a.
|
|
359
|
-
var e = a.
|
|
360
|
-
var f = a.
|
|
361
|
-
var g = a.
|
|
358
|
+
var d = a.tk.width;
|
|
359
|
+
var e = a.tk.height;
|
|
360
|
+
var f = a.tk.left + d / 2;
|
|
361
|
+
var g = a.tk.top + e / 2;
|
|
362
362
|
d = d / b;
|
|
363
363
|
e = e / b;
|
|
364
364
|
var h = f - d / 2;
|
|
365
365
|
var i = g - e / 2;
|
|
366
|
-
a.
|
|
366
|
+
a.ps(new Rect(0, h, i, d, e), true);
|
|
367
367
|
};
|
|
368
368
|
SeriesViewerInteractionManager.prototype.f$ab = function (a, b) {
|
|
369
369
|
var c = a.cu;
|
|
@@ -374,32 +374,32 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
374
374
|
this.aa(a, b);
|
|
375
375
|
}
|
|
376
376
|
this.aj = Rect.empty;
|
|
377
|
-
a.
|
|
377
|
+
a.e6 = false;
|
|
378
378
|
};
|
|
379
379
|
SeriesViewerInteractionManager.prototype.f$s = function (a, b) {
|
|
380
|
-
a.
|
|
380
|
+
a.e6 = false;
|
|
381
381
|
this.aj = Rect.empty;
|
|
382
|
-
a.
|
|
382
|
+
a.l7();
|
|
383
383
|
};
|
|
384
384
|
SeriesViewerInteractionManager.prototype.f$y = function (a, b) {
|
|
385
|
-
a.
|
|
385
|
+
a.lr();
|
|
386
386
|
};
|
|
387
387
|
SeriesViewerInteractionManager.prototype.f$ah = function (a, b, c, d, e) {
|
|
388
|
-
a.
|
|
388
|
+
a.e6 = false;
|
|
389
389
|
this.aj = Rect.empty;
|
|
390
|
-
a.
|
|
390
|
+
a.l7();
|
|
391
391
|
};
|
|
392
392
|
SeriesViewerInteractionManager.prototype.y = function (a, b) {
|
|
393
|
-
var c = a.
|
|
393
|
+
var c = a.t0;
|
|
394
394
|
var d = 1 / b;
|
|
395
395
|
var e = { $type: Point_$type, x: c.x + c.width / 2, y: c.y + c.height / 2 };
|
|
396
396
|
var f = { $type: Point_$type, x: c.x - e.x, y: c.y - e.y };
|
|
397
397
|
var g = new Rect(0, f.x * d + e.x, f.y * d + e.y, c.width * d, c.height * d);
|
|
398
|
-
a.
|
|
398
|
+
a.ps(g, true);
|
|
399
399
|
};
|
|
400
400
|
SeriesViewerInteractionManager.prototype.aa = function (a, b) {
|
|
401
|
-
var c = a.
|
|
402
|
-
var d = a.
|
|
401
|
+
var c = a.tz;
|
|
402
|
+
var d = a.t0;
|
|
403
403
|
var e = b - this.s;
|
|
404
404
|
if (e != 0) {
|
|
405
405
|
var f = 0.03;
|
|
@@ -407,15 +407,15 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
407
407
|
var h = { $type: Point_$type, x: d.x + d.width / 2, y: d.y + d.height / 2 };
|
|
408
408
|
var i = { $type: Point_$type, x: d.x - h.x, y: d.y - h.y };
|
|
409
409
|
var j = new Rect(0, i.x * g + h.x, i.y * g + h.y, d.width * g, d.height * g);
|
|
410
|
-
a.
|
|
410
|
+
a.ps(j, true);
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
SeriesViewerInteractionManager.prototype.f$n = function (a, b, c) {
|
|
414
|
-
if (!a.
|
|
414
|
+
if (!a.e6) {
|
|
415
415
|
this.i = false;
|
|
416
416
|
}
|
|
417
417
|
var d = false;
|
|
418
|
-
if (a.
|
|
418
|
+
if (a.dw) {
|
|
419
419
|
if (this.f$c.shouldHandleInteraction(b, c)) {
|
|
420
420
|
this.j = true;
|
|
421
421
|
d = true;
|
|
@@ -425,7 +425,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
this.ag(a, b, c);
|
|
428
|
-
a.
|
|
428
|
+
a.np(b, c);
|
|
429
429
|
};
|
|
430
430
|
SeriesViewerInteractionManager.prototype.ag = function (a, b, c) {
|
|
431
431
|
var d;
|
|
@@ -434,7 +434,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
434
434
|
if (e.ez == 0) {
|
|
435
435
|
switch (f) {
|
|
436
436
|
case 1:
|
|
437
|
-
d = a.
|
|
437
|
+
d = a.es() ? f : 0;
|
|
438
438
|
break;
|
|
439
439
|
default:
|
|
440
440
|
d = f;
|
|
@@ -442,10 +442,10 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
445
|
-
if (e.ez == a.
|
|
445
|
+
if (e.ez == a.sk) {
|
|
446
446
|
d = 1;
|
|
447
447
|
}
|
|
448
|
-
else if (e.ez == a.
|
|
448
|
+
else if (e.ez == a.sl) {
|
|
449
449
|
d = 2;
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
@@ -462,32 +462,32 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
462
462
|
a.cl = d;
|
|
463
463
|
switch (a.cl) {
|
|
464
464
|
case 1:
|
|
465
|
-
a.
|
|
465
|
+
a.ly({ $type: Point_$type, x: NaN, y: NaN });
|
|
466
466
|
this.aj = new Rect(0, b.x, b.y, 0, 0);
|
|
467
467
|
this.al = new Rect(0, b.x, b.y, 0, 0);
|
|
468
468
|
this.ak = new Rect(0, b.x, b.y, 0, 0);
|
|
469
469
|
e.d8();
|
|
470
470
|
e.eg(this.aj);
|
|
471
|
-
a.
|
|
471
|
+
a.oc(Rect.empty, true);
|
|
472
472
|
break;
|
|
473
473
|
case 2:
|
|
474
474
|
this.aj = new Rect(0, b.x, b.y, 0, 0);
|
|
475
475
|
this.ak = new Rect(0, b.x, b.y, 0, 0);
|
|
476
476
|
break;
|
|
477
477
|
}
|
|
478
|
-
this.am = a.
|
|
479
|
-
a.
|
|
478
|
+
this.am = a.tk;
|
|
479
|
+
a.t1 = a.tk;
|
|
480
480
|
};
|
|
481
481
|
SeriesViewerInteractionManager.prototype.f$ak = function (a) {
|
|
482
|
-
a.
|
|
482
|
+
a.pc();
|
|
483
483
|
a.cu.dl();
|
|
484
484
|
};
|
|
485
485
|
SeriesViewerInteractionManager.prototype.f$aj = function (a) {
|
|
486
|
-
a.
|
|
486
|
+
a.l2();
|
|
487
487
|
a.cu.dk();
|
|
488
488
|
};
|
|
489
489
|
SeriesViewerInteractionManager.prototype.f$ap = function (a) {
|
|
490
|
-
if (a.
|
|
490
|
+
if (a.dr && !this.l) {
|
|
491
491
|
this.l = true;
|
|
492
492
|
this.af(a);
|
|
493
493
|
}
|
|
@@ -513,11 +513,11 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
513
513
|
});
|
|
514
514
|
SeriesViewerInteractionManager.prototype.af = function (a) {
|
|
515
515
|
if (this.f == null) {
|
|
516
|
-
this.f = new TileZoomManager(a, true, a.
|
|
517
|
-
this.f.h = !a.
|
|
516
|
+
this.f = new TileZoomManager(a, true, a.hw);
|
|
517
|
+
this.f.h = !a.e7;
|
|
518
518
|
}
|
|
519
|
-
a.
|
|
520
|
-
a.
|
|
519
|
+
a.ea = true;
|
|
520
|
+
a.ob();
|
|
521
521
|
this.f.al();
|
|
522
522
|
a.cu.br();
|
|
523
523
|
a.cu.bs();
|
|
@@ -526,21 +526,21 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
526
526
|
if (this.f == null) {
|
|
527
527
|
return;
|
|
528
528
|
}
|
|
529
|
-
a.
|
|
529
|
+
a.ea = false;
|
|
530
530
|
a.cu.dg();
|
|
531
531
|
this.f.ah();
|
|
532
|
-
a.
|
|
532
|
+
a.ow();
|
|
533
533
|
a.cu.by();
|
|
534
534
|
};
|
|
535
535
|
SeriesViewerInteractionManager.prototype.f$j = function (a) {
|
|
536
|
-
a.
|
|
537
|
-
a.
|
|
536
|
+
a.lw();
|
|
537
|
+
a.oy();
|
|
538
538
|
};
|
|
539
539
|
SeriesViewerInteractionManager.prototype.n = function (a) {
|
|
540
540
|
return a.cl == 2;
|
|
541
541
|
};
|
|
542
542
|
SeriesViewerInteractionManager.prototype.o = function (a, b) {
|
|
543
|
-
return a.cb == 1 || b || a.
|
|
543
|
+
return a.cb == 1 || b || a.dr;
|
|
544
544
|
};
|
|
545
545
|
SeriesViewerInteractionManager.prototype.m = function (a) {
|
|
546
546
|
return a.cl == 1;
|
|
@@ -567,27 +567,27 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
567
567
|
if (h.width > e && h.height > e) {
|
|
568
568
|
f = true;
|
|
569
569
|
}
|
|
570
|
-
if (!a.
|
|
570
|
+
if (!a.e6) {
|
|
571
571
|
if (f) {
|
|
572
572
|
this.i = false;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
if (!a.
|
|
576
|
-
a.
|
|
575
|
+
if (!a.e6 && (a.dv || !c)) {
|
|
576
|
+
a.ly(a.te(b));
|
|
577
577
|
}
|
|
578
578
|
if (this.m(a)) {
|
|
579
579
|
if (f) {
|
|
580
|
-
var i = a.
|
|
581
|
-
a.
|
|
580
|
+
var i = a.ty(g);
|
|
581
|
+
a.oc(i, true);
|
|
582
582
|
}
|
|
583
583
|
else {
|
|
584
|
-
a.
|
|
584
|
+
a.oc(Rect.empty, true);
|
|
585
585
|
}
|
|
586
|
-
a.
|
|
586
|
+
a.my();
|
|
587
587
|
d.eg(g);
|
|
588
588
|
}
|
|
589
|
-
var j = a.
|
|
590
|
-
var k = a.
|
|
589
|
+
var j = a.tz;
|
|
590
|
+
var k = a.tk;
|
|
591
591
|
if (this.n(a)) {
|
|
592
592
|
var l = j;
|
|
593
593
|
var m = k.left + k.width * (this.aj.x - b.x) / l.width;
|
|
@@ -595,12 +595,12 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
595
595
|
var o = new Rect(0, m, n, k.width, k.height);
|
|
596
596
|
if (this.o(a, c)) {
|
|
597
597
|
if (h.width != 0 || h.height != 0) {
|
|
598
|
-
a.
|
|
598
|
+
a.n7();
|
|
599
599
|
}
|
|
600
|
-
a.
|
|
601
|
-
var p = a.
|
|
602
|
-
a.
|
|
603
|
-
var q = a.
|
|
600
|
+
a.oc(Rect.empty, true);
|
|
601
|
+
var p = a.tk;
|
|
602
|
+
a.ps(o, true);
|
|
603
|
+
var q = a.tk;
|
|
604
604
|
if (p.equals1(q) && a.cu.k.ac) {
|
|
605
605
|
a.cu.k.au();
|
|
606
606
|
}
|
|
@@ -608,7 +608,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
608
608
|
this.al = new Rect(3, b, new Size(1, 0, 0));
|
|
609
609
|
}
|
|
610
610
|
else {
|
|
611
|
-
a.
|
|
611
|
+
a.oc(o, true);
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
this.al = new Rect(3, b, new Size(1, 0, 0));
|
|
@@ -620,8 +620,8 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
620
620
|
if (c) {
|
|
621
621
|
f = 10;
|
|
622
622
|
}
|
|
623
|
-
var g = a.
|
|
624
|
-
var h = a.
|
|
623
|
+
var g = a.tz;
|
|
624
|
+
var h = a.tk;
|
|
625
625
|
if (!d) {
|
|
626
626
|
if (this.j) {
|
|
627
627
|
this.f$c.onScrollbarDragComplete(b, c);
|
|
@@ -637,17 +637,17 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
637
637
|
i = true;
|
|
638
638
|
}
|
|
639
639
|
if (a.cl == 1) {
|
|
640
|
-
a.
|
|
640
|
+
a.mx();
|
|
641
641
|
e.cf();
|
|
642
642
|
if (i) {
|
|
643
|
-
a.
|
|
643
|
+
a.ps(a.ty(j), true);
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
if (a.cl == 2) {
|
|
647
647
|
var k = g;
|
|
648
648
|
var l = h.left + h.width * (this.aj.x - b.x) / k.width;
|
|
649
649
|
var m = h.top + h.height * (this.aj.y - b.y) / k.height;
|
|
650
|
-
a.
|
|
650
|
+
a.ps(new Rect(0, l, m, h.width, h.height), true);
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
var n = false;
|
|
@@ -656,12 +656,12 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
656
656
|
n = true;
|
|
657
657
|
}
|
|
658
658
|
if (n) {
|
|
659
|
-
a.
|
|
659
|
+
a.ff = true;
|
|
660
660
|
}
|
|
661
661
|
a.cl = 0;
|
|
662
|
-
a.
|
|
662
|
+
a.oc(Rect.empty, true);
|
|
663
663
|
e.bw();
|
|
664
|
-
a.
|
|
664
|
+
a.ff = false;
|
|
665
665
|
e.cg();
|
|
666
666
|
e.cl();
|
|
667
667
|
if (c) {
|
|
@@ -670,34 +670,34 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
670
670
|
e.cl();
|
|
671
671
|
e.ch();
|
|
672
672
|
}
|
|
673
|
-
a.
|
|
674
|
-
a.
|
|
675
|
-
a.
|
|
673
|
+
a.l7();
|
|
674
|
+
a.n6();
|
|
675
|
+
a.nq(b, c, d);
|
|
676
676
|
};
|
|
677
677
|
SeriesViewerInteractionManager.prototype.f$af = function (a) {
|
|
678
678
|
if (this.g != null) {
|
|
679
|
-
this.g.h = !a.
|
|
679
|
+
this.g.h = !a.e7;
|
|
680
680
|
}
|
|
681
681
|
};
|
|
682
682
|
SeriesViewerInteractionManager.prototype.f$e = function (a, b) {
|
|
683
683
|
var c = a.cu;
|
|
684
|
-
var d = a.
|
|
684
|
+
var d = a.tk;
|
|
685
685
|
if (a.cl == 2 && b == 8) {
|
|
686
686
|
c.bt();
|
|
687
687
|
a.cl = 0;
|
|
688
|
-
a.
|
|
689
|
-
a.
|
|
688
|
+
a.n6();
|
|
689
|
+
a.oc(Rect.empty, true);
|
|
690
690
|
if (a.cb == 1) {
|
|
691
|
-
a.
|
|
691
|
+
a.ps(this.am, true);
|
|
692
692
|
}
|
|
693
693
|
return true;
|
|
694
694
|
}
|
|
695
695
|
if (a.cl == 1 && b == 8) {
|
|
696
696
|
c.bt();
|
|
697
697
|
a.cl = 0;
|
|
698
|
-
a.
|
|
698
|
+
a.n6();
|
|
699
699
|
c.cf();
|
|
700
|
-
a.
|
|
700
|
+
a.oc(Rect.empty, true);
|
|
701
701
|
return true;
|
|
702
702
|
}
|
|
703
703
|
var e = Rect.empty;
|
|
@@ -737,38 +737,38 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
737
737
|
break;
|
|
738
738
|
}
|
|
739
739
|
if (!e.isEmpty && Rect.l_op_Inequality(e, d)) {
|
|
740
|
-
a.
|
|
740
|
+
a.ps(e, true);
|
|
741
741
|
}
|
|
742
742
|
return f;
|
|
743
743
|
};
|
|
744
744
|
SeriesViewerInteractionManager.prototype.f$f = function (a, b, c) {
|
|
745
745
|
var d = a.cu;
|
|
746
|
-
var e = a.
|
|
747
|
-
var f = e.left + e.width * b.x / a.
|
|
748
|
-
var g = e.top + e.height * b.y / a.
|
|
746
|
+
var e = a.tk;
|
|
747
|
+
var f = e.left + e.width * b.x / a.tz.width;
|
|
748
|
+
var g = e.top + e.height * b.y / a.tz.height;
|
|
749
749
|
var h = 1 - MathUtil.d(c, -0.5, 0.5);
|
|
750
750
|
var i = Math.max(0, f - h * (f - e.left));
|
|
751
751
|
var j = Math.min(1, g + h * (e.bottom - g));
|
|
752
752
|
var k = Math.min(1, f + h * (e.right - f));
|
|
753
753
|
var l = Math.max(0, g - h * (g - e.top));
|
|
754
|
-
a.
|
|
754
|
+
a.n7();
|
|
755
755
|
this.x(a, 1000);
|
|
756
|
-
a.
|
|
757
|
-
return a.
|
|
756
|
+
a.ps(new Rect(0, i, l, k - i, j - l), true);
|
|
757
|
+
return a.es();
|
|
758
758
|
};
|
|
759
759
|
SeriesViewerInteractionManager.prototype.x = function (a, b) {
|
|
760
760
|
a.cu.bz(b);
|
|
761
761
|
};
|
|
762
762
|
SeriesViewerInteractionManager.prototype.f$o = function (a, b) {
|
|
763
|
-
var c = a.
|
|
764
|
-
var d = c.left + c.width * b.x / a.
|
|
765
|
-
var e = c.top + c.height * b.y / a.
|
|
763
|
+
var c = a.tk;
|
|
764
|
+
var d = c.left + c.width * b.x / a.tz.width;
|
|
765
|
+
var e = c.top + c.height * b.y / a.tz.height;
|
|
766
766
|
var f = 0.7;
|
|
767
767
|
var g = Math.max(0, d - f * (d - c.left));
|
|
768
768
|
var h = Math.min(1, e + f * (c.bottom - e));
|
|
769
769
|
var i = Math.min(1, d + f * (c.right - d));
|
|
770
770
|
var j = Math.max(0, e - f * (e - c.top));
|
|
771
|
-
a.
|
|
771
|
+
a.ps(new Rect(0, g, j, i - g, h - j), true);
|
|
772
772
|
};
|
|
773
773
|
SeriesViewerInteractionManager.prototype.f$i = function (a) {
|
|
774
774
|
this.g.ac();
|
|
@@ -796,9 +796,9 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
796
796
|
if (h && c != null) {
|
|
797
797
|
var o = l;
|
|
798
798
|
var p = m;
|
|
799
|
-
if (a.
|
|
800
|
-
o = truncate(Math.round(d.x * a.
|
|
801
|
-
p = truncate(Math.round(d.y * a.
|
|
799
|
+
if (a.gg != 1) {
|
|
800
|
+
o = truncate(Math.round(d.x * a.gg));
|
|
801
|
+
p = truncate(Math.round(d.y * a.gg));
|
|
802
802
|
}
|
|
803
803
|
var q = c.a(o, p);
|
|
804
804
|
if (q == null || q.length == 0) {
|
|
@@ -938,7 +938,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
938
938
|
if (this.j) {
|
|
939
939
|
return true;
|
|
940
940
|
}
|
|
941
|
-
if (c >= a.
|
|
941
|
+
if (c >= a.tz.left && d >= a.tz.top && c <= a.tz.left + a.tz.width && d <= a.tz.top + a.tz.height) {
|
|
942
942
|
var e = a.cn;
|
|
943
943
|
if (e != null && e.viewShouldInteract(b)) {
|
|
944
944
|
return false;
|
|
@@ -957,12 +957,12 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
957
957
|
};
|
|
958
958
|
SeriesViewerInteractionManager.prototype.f$w = function (a, b, c, d, e, f) {
|
|
959
959
|
var _this = this;
|
|
960
|
-
if (!f && a.
|
|
960
|
+
if (!f && a.dq) {
|
|
961
961
|
this.ah(a, false);
|
|
962
962
|
}
|
|
963
963
|
var g = new MouseEventArgs();
|
|
964
964
|
g.position = d;
|
|
965
|
-
if (a.cl == 2 || a.cl == 1 || a.
|
|
965
|
+
if (a.cl == 2 || a.cl == 1 || a.e6 || (a.cn != null && a.cn.isPinching)) {
|
|
966
966
|
if (this.d != null) {
|
|
967
967
|
this.d.a7.a$z(this.d, g.position, this.a, g, f);
|
|
968
968
|
this.d = null;
|
|
@@ -1038,7 +1038,7 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
1038
1038
|
}
|
|
1039
1039
|
this.d = null;
|
|
1040
1040
|
}
|
|
1041
|
-
a.
|
|
1041
|
+
a.nk(b, a.cl != 0 || a.ex);
|
|
1042
1042
|
};
|
|
1043
1043
|
SeriesViewerInteractionManager.prototype.f$u = function (a, b, c) {
|
|
1044
1044
|
if (this.d != null) {
|
|
@@ -1067,18 +1067,18 @@ var SeriesViewerInteractionManager = /** @class */ /*@__PURE__*/ (function (_sup
|
|
|
1067
1067
|
}
|
|
1068
1068
|
};
|
|
1069
1069
|
SeriesViewerInteractionManager.prototype.f$t = function (a, b, c) {
|
|
1070
|
-
if (!c && a.
|
|
1070
|
+
if (!c && a.ez) {
|
|
1071
1071
|
this.ah(a, false);
|
|
1072
1072
|
}
|
|
1073
|
-
if (c && !a.
|
|
1073
|
+
if (c && !a.ez) {
|
|
1074
1074
|
this.ah(a, true);
|
|
1075
1075
|
}
|
|
1076
|
-
a.
|
|
1076
|
+
a.m2(b, c);
|
|
1077
1077
|
};
|
|
1078
1078
|
SeriesViewerInteractionManager.prototype.ah = function (a, b) {
|
|
1079
1079
|
if (a != null) {
|
|
1080
1080
|
if (!this.k) {
|
|
1081
|
-
a.
|
|
1081
|
+
a.dq = b;
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
@@ -644,18 +644,18 @@ var SeriesViewerScrollbarManager = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
644
644
|
var c = this.au * 2;
|
|
645
645
|
var d = b.height - c;
|
|
646
646
|
var e = a / d;
|
|
647
|
-
var f = this.owner.
|
|
647
|
+
var f = this.owner.tk;
|
|
648
648
|
var g = new Rect(0, f.left, f.top + e, f.width, f.height);
|
|
649
|
-
this.owner.
|
|
649
|
+
this.owner.t0 = g;
|
|
650
650
|
};
|
|
651
651
|
SeriesViewerScrollbarManager.prototype.bg = function (a) {
|
|
652
652
|
var b = this.bx;
|
|
653
653
|
var c = this.ai * 2;
|
|
654
654
|
var d = b.width - c;
|
|
655
655
|
var e = a / d;
|
|
656
|
-
var f = this.owner.
|
|
656
|
+
var f = this.owner.tk;
|
|
657
657
|
var g = new Rect(0, f.left + e, f.top, f.width, f.height);
|
|
658
|
-
this.owner.
|
|
658
|
+
this.owner.t0 = g;
|
|
659
659
|
};
|
|
660
660
|
SeriesViewerScrollbarManager.prototype.onScrollbarDragComplete = function (a, b) {
|
|
661
661
|
this.j = false;
|