igniteui-webcomponents-charts 5.0.0 → 5.0.1
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 +279 -240
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +7 -0
- package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
- package/esm2015/lib/FinancialLegend_combined.js +3 -3
- package/esm2015/lib/ItemLegend_combined.js +26 -25
- package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm2015/lib/Legend_combined.js +13 -13
- package/esm2015/lib/ScaleLegend_combined.js +82 -82
- package/esm2015/lib/ScatterBase_combined.js +3 -2
- package/esm5/lib/DataLegendContent_combined.js +7 -0
- package/esm5/lib/DataLegendVisualData_combined.js +28 -14
- package/esm5/lib/FinancialLegend_combined.js +3 -3
- package/esm5/lib/ItemLegend_combined.js +26 -25
- package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm5/lib/Legend_combined.js +13 -13
- package/esm5/lib/ScaleLegend_combined.js +82 -82
- package/esm5/lib/ScatterBase_combined.js +3 -2
- package/fesm2015/igniteui-webcomponents-charts.js +276 -241
- package/fesm5/igniteui-webcomponents-charts.js +280 -241
- package/lib/DataLegendVisualData_combined.d.ts +5 -1
- package/lib/ItemLegend_combined.d.ts +5 -5
- package/lib/LegendBaseViewManager_combined.d.ts +33 -32
- package/lib/Legend_combined.d.ts +2 -2
- package/lib/ScaleLegend_combined.d.ts +23 -23
- package/package.json +2 -2
|
@@ -54775,6 +54775,7 @@
|
|
|
54775
54775
|
_this._badgeMarginRight = 0;
|
|
54776
54776
|
_this._badgeMarginBottom = 0;
|
|
54777
54777
|
_this._badgeShape = null;
|
|
54778
|
+
_this._badgeAppearance = null;
|
|
54778
54779
|
_this._rowBounds = null;
|
|
54779
54780
|
_this._rowMarginLeft = 0;
|
|
54780
54781
|
_this._rowMarginTop = 0;
|
|
@@ -54864,6 +54865,16 @@
|
|
|
54864
54865
|
enumerable: false,
|
|
54865
54866
|
configurable: true
|
|
54866
54867
|
});
|
|
54868
|
+
Object.defineProperty(DataLegendVisualDataRow.prototype, "badgeAppearance", {
|
|
54869
|
+
get: function () {
|
|
54870
|
+
return this._badgeAppearance;
|
|
54871
|
+
},
|
|
54872
|
+
set: function (a) {
|
|
54873
|
+
this._badgeAppearance = a;
|
|
54874
|
+
},
|
|
54875
|
+
enumerable: false,
|
|
54876
|
+
configurable: true
|
|
54877
|
+
});
|
|
54867
54878
|
Object.defineProperty(DataLegendVisualDataRow.prototype, "rowBounds", {
|
|
54868
54879
|
get: function () {
|
|
54869
54880
|
return this._rowBounds;
|
|
@@ -54920,22 +54931,25 @@
|
|
|
54920
54931
|
var b = " ";
|
|
54921
54932
|
var c = new igniteuiWebcomponentsCore.StringBuilder(0);
|
|
54922
54933
|
c.u("{");
|
|
54923
|
-
c.u(b + this.
|
|
54924
|
-
c.u(b + this.
|
|
54925
|
-
c.u(b + this.
|
|
54926
|
-
c.u(b + this.
|
|
54934
|
+
c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
|
|
54935
|
+
c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
|
|
54936
|
+
c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
|
|
54937
|
+
c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
|
|
54927
54938
|
if (this.badgeBounds == null) {
|
|
54928
|
-
c.u(b + this.
|
|
54939
|
+
c.u(b + this.o("badgeBounds") + "{}" + a);
|
|
54929
54940
|
}
|
|
54930
54941
|
else {
|
|
54931
|
-
c.u(b + this.
|
|
54942
|
+
c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
|
|
54943
|
+
}
|
|
54944
|
+
c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
|
|
54945
|
+
if (this.badgeAppearance != null) {
|
|
54946
|
+
c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
|
|
54932
54947
|
}
|
|
54933
|
-
c.u(b + this.
|
|
54934
|
-
c.u(b + this.
|
|
54935
|
-
c.u(b + this.
|
|
54936
|
-
c.u(b + this.
|
|
54937
|
-
c.u(b + this.
|
|
54938
|
-
c.u(b + this.n("rowMarginBottom") + this.rowMarginBottom + a);
|
|
54948
|
+
c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
|
|
54949
|
+
c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
|
|
54950
|
+
c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
|
|
54951
|
+
c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
|
|
54952
|
+
c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
|
|
54939
54953
|
var d = new igniteuiWebcomponentsCore.List$1(igniteuiWebcomponentsCore.String_$type, 0);
|
|
54940
54954
|
try {
|
|
54941
54955
|
for (var _b = tslib.__values(igniteuiWebcomponentsCore.fromEnum(this.columns)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -54956,13 +54970,13 @@
|
|
|
54956
54970
|
throw e_2.error;
|
|
54957
54971
|
}
|
|
54958
54972
|
}
|
|
54959
|
-
c.u(b + this.
|
|
54973
|
+
c.u(b + this.o("columns") + "[");
|
|
54960
54974
|
c.u(b + b + igniteuiWebcomponentsCore.stringJoin.apply(void 0, tslib.__spreadArray([", \n" + b + b], tslib.__read(d.toArray()), false)));
|
|
54961
54975
|
c.u(b + "]");
|
|
54962
54976
|
c.u("}");
|
|
54963
54977
|
return c.toString();
|
|
54964
54978
|
};
|
|
54965
|
-
DataLegendVisualDataRow.prototype.
|
|
54979
|
+
DataLegendVisualDataRow.prototype.o = function (a) {
|
|
54966
54980
|
return a + ": ";
|
|
54967
54981
|
};
|
|
54968
54982
|
DataLegendVisualDataRow.$t = igniteuiWebcomponentsCore.markType(DataLegendVisualDataRow, 'DataLegendVisualDataRow');
|
|
@@ -56683,6 +56697,11 @@
|
|
|
56683
56697
|
l.badgeMarginBottom = k.z.bottom;
|
|
56684
56698
|
l.badgeMarginRight = k.z.right;
|
|
56685
56699
|
l.badgeMarginLeft = k.z.left;
|
|
56700
|
+
l.badgeAppearance = new igniteuiWebcomponentsCore.PrimitiveAppearanceData();
|
|
56701
|
+
var aa = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.ILegendContext_$type, k.n);
|
|
56702
|
+
var ab = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.ILegendContext_$type, k.i);
|
|
56703
|
+
l.badgeAppearance.fill = igniteuiWebcomponentsCore.AppearanceHelper.b(aa.actualItemBrush);
|
|
56704
|
+
l.badgeAppearance.stroke = igniteuiWebcomponentsCore.AppearanceHelper.b(aa.outline);
|
|
56686
56705
|
l.badgeShape = k.o;
|
|
56687
56706
|
}
|
|
56688
56707
|
l.rowBounds = igniteuiWebcomponentsCore.RectData.b(m);
|
|
@@ -163943,7 +163962,7 @@
|
|
|
163943
163962
|
var a = igniteuiWebcomponentsCore.LegendItemHelper.b;
|
|
163944
163963
|
if (window.devicePixelRatio != undefined && (igniteuiWebcomponentsCore.isNaN_(a) || window.devicePixelRatio != a)) {
|
|
163945
163964
|
igniteuiWebcomponentsCore.LegendItemHelper.b = window.devicePixelRatio;
|
|
163946
|
-
this.a.
|
|
163965
|
+
this.a.am();
|
|
163947
163966
|
}
|
|
163948
163967
|
};
|
|
163949
163968
|
LegendBaseViewManager.prototype.u = function () {
|
|
@@ -163959,7 +163978,7 @@
|
|
|
163959
163978
|
}
|
|
163960
163979
|
this.g = a;
|
|
163961
163980
|
this.l = this.i();
|
|
163962
|
-
this.l.addClass(this.a.
|
|
163981
|
+
this.l.addClass(this.a.t);
|
|
163963
163982
|
this.g.append(this.l);
|
|
163964
163983
|
};
|
|
163965
163984
|
LegendBaseViewManager.prototype.i = function () {
|
|
@@ -163967,8 +163986,8 @@
|
|
|
163967
163986
|
};
|
|
163968
163987
|
LegendBaseViewManager.prototype.h = function () {
|
|
163969
163988
|
var a = this.g.createElement("tr");
|
|
163970
|
-
a.addClass(this.a.
|
|
163971
|
-
var b = this.a.
|
|
163989
|
+
a.addClass(this.a.u);
|
|
163990
|
+
var b = this.a.l;
|
|
163972
163991
|
if (b) {
|
|
163973
163992
|
a.setStyleProperty("display", "block");
|
|
163974
163993
|
a.setStyleProperty("float", "left");
|
|
@@ -164009,14 +164028,14 @@
|
|
|
164009
164028
|
c.ah.render(h);
|
|
164010
164029
|
var i = d.findByClass(".ui-legend-item-badge");
|
|
164011
164030
|
for (var j = 0; j < i.length; j++) {
|
|
164012
|
-
i[j].removeClass("ui-legend-item-badge").addClass(this.a.
|
|
164031
|
+
i[j].removeClass("ui-legend-item-badge").addClass(this.a.s);
|
|
164013
164032
|
}
|
|
164014
164033
|
i = d.findByClass(".ui-legend-item-text");
|
|
164015
164034
|
for (var k = 0; k < i.length; k++) {
|
|
164016
|
-
if (this.a.
|
|
164035
|
+
if (this.a.l) {
|
|
164017
164036
|
i[k].setStyleProperty("white-space", "nowrap");
|
|
164018
164037
|
}
|
|
164019
|
-
i[k].removeClass("ui-legend-item-text").addClass(this.a.
|
|
164038
|
+
i[k].removeClass("ui-legend-item-text").addClass(this.a.v);
|
|
164020
164039
|
}
|
|
164021
164040
|
}
|
|
164022
164041
|
}
|
|
@@ -164024,10 +164043,10 @@
|
|
|
164024
164043
|
};
|
|
164025
164044
|
LegendBaseViewManager.prototype.o = function (a, b) {
|
|
164026
164045
|
var c = this.k(a, this.l);
|
|
164027
|
-
c.listen("mouseup", igniteuiWebcomponentsCore.runOn(this.a, this.a.
|
|
164028
|
-
c.listen("mousedown", igniteuiWebcomponentsCore.runOn(this.a, this.a.
|
|
164029
|
-
c.listen("mouseleave", igniteuiWebcomponentsCore.runOn(this.a, this.a.
|
|
164030
|
-
c.listen("mousemove", igniteuiWebcomponentsCore.runOn(this.a, this.a.
|
|
164046
|
+
c.listen("mouseup", igniteuiWebcomponentsCore.runOn(this.a, this.a.af));
|
|
164047
|
+
c.listen("mousedown", igniteuiWebcomponentsCore.runOn(this.a, this.a.ac));
|
|
164048
|
+
c.listen("mouseleave", igniteuiWebcomponentsCore.runOn(this.a, this.a.ad));
|
|
164049
|
+
c.listen("mousemove", igniteuiWebcomponentsCore.runOn(this.a, this.a.ae));
|
|
164031
164050
|
this.f.addItem(a, c);
|
|
164032
164051
|
if ((this.l.getChildCount() == 0) || (b >= this.l.getChildCount())) {
|
|
164033
164052
|
this.l.append(c);
|
|
@@ -164202,7 +164221,7 @@
|
|
|
164202
164221
|
_this.legendItemMouseMove = null;
|
|
164203
164222
|
var a = _this.aj();
|
|
164204
164223
|
_this.a8(a);
|
|
164205
|
-
a.
|
|
164224
|
+
a.al();
|
|
164206
164225
|
_this.at = new igniteuiWebcomponentsCore.ObservableCollection$1(igniteuiWebcomponentsCore.UIElement.$, 0);
|
|
164207
164226
|
_this.aw = "ig-chart-legend-items-list";
|
|
164208
164227
|
_this.ax = "ig-chart-legend-item";
|
|
@@ -164211,10 +164230,10 @@
|
|
|
164211
164230
|
return _this;
|
|
164212
164231
|
}
|
|
164213
164232
|
LegendBase.prototype.onDetachedFromUI = function () {
|
|
164214
|
-
this.ak.
|
|
164233
|
+
this.ak.ak();
|
|
164215
164234
|
};
|
|
164216
164235
|
LegendBase.prototype.onAttachedToUI = function () {
|
|
164217
|
-
this.ak.
|
|
164236
|
+
this.ak.ai();
|
|
164218
164237
|
};
|
|
164219
164238
|
LegendBase.prototype.aj = function () {
|
|
164220
164239
|
return new LegendBaseView(this);
|
|
@@ -164384,50 +164403,50 @@
|
|
|
164384
164403
|
}
|
|
164385
164404
|
};
|
|
164386
164405
|
LegendBase.prototype.provideContainer = function (a) {
|
|
164387
|
-
this.ak.
|
|
164406
|
+
this.ak.aj(a);
|
|
164388
164407
|
};
|
|
164389
164408
|
Object.defineProperty(LegendBase.prototype, "aw", {
|
|
164390
164409
|
get: function () {
|
|
164391
|
-
return this.ak.
|
|
164410
|
+
return this.ak.t;
|
|
164392
164411
|
},
|
|
164393
164412
|
set: function (a) {
|
|
164394
|
-
this.ak.
|
|
164413
|
+
this.ak.t = a;
|
|
164395
164414
|
},
|
|
164396
164415
|
enumerable: false,
|
|
164397
164416
|
configurable: true
|
|
164398
164417
|
});
|
|
164399
164418
|
Object.defineProperty(LegendBase.prototype, "ax", {
|
|
164400
164419
|
get: function () {
|
|
164401
|
-
return this.ak.
|
|
164420
|
+
return this.ak.u;
|
|
164402
164421
|
},
|
|
164403
164422
|
set: function (a) {
|
|
164404
|
-
this.ak.
|
|
164423
|
+
this.ak.u = a;
|
|
164405
164424
|
},
|
|
164406
164425
|
enumerable: false,
|
|
164407
164426
|
configurable: true
|
|
164408
164427
|
});
|
|
164409
164428
|
Object.defineProperty(LegendBase.prototype, "av", {
|
|
164410
164429
|
get: function () {
|
|
164411
|
-
return this.ak.
|
|
164430
|
+
return this.ak.s;
|
|
164412
164431
|
},
|
|
164413
164432
|
set: function (a) {
|
|
164414
|
-
this.ak.
|
|
164433
|
+
this.ak.s = a;
|
|
164415
164434
|
},
|
|
164416
164435
|
enumerable: false,
|
|
164417
164436
|
configurable: true
|
|
164418
164437
|
});
|
|
164419
164438
|
Object.defineProperty(LegendBase.prototype, "ay", {
|
|
164420
164439
|
get: function () {
|
|
164421
|
-
return this.ak.
|
|
164440
|
+
return this.ak.v;
|
|
164422
164441
|
},
|
|
164423
164442
|
set: function (a) {
|
|
164424
|
-
this.ak.
|
|
164443
|
+
this.ak.v = a;
|
|
164425
164444
|
},
|
|
164426
164445
|
enumerable: false,
|
|
164427
164446
|
configurable: true
|
|
164428
164447
|
});
|
|
164429
164448
|
LegendBase.prototype.exportVisualData = function () {
|
|
164430
|
-
return this.ak.
|
|
164449
|
+
return this.ak.g();
|
|
164431
164450
|
};
|
|
164432
164451
|
LegendBase.prototype.exportSerializedVisualData = function () {
|
|
164433
164452
|
var a = this.exportVisualData();
|
|
@@ -164453,44 +164472,44 @@
|
|
|
164453
164472
|
tslib.__extends(LegendBaseView, _super);
|
|
164454
164473
|
function LegendBaseView(a) {
|
|
164455
164474
|
var _this = _super.call(this) || this;
|
|
164475
|
+
_this.d = null;
|
|
164456
164476
|
_this.c = null;
|
|
164457
|
-
_this.b = null;
|
|
164458
|
-
_this.s = null;
|
|
164459
164477
|
_this.t = null;
|
|
164460
|
-
_this.r = null;
|
|
164461
164478
|
_this.u = null;
|
|
164462
|
-
_this.
|
|
164463
|
-
_this.
|
|
164464
|
-
_this.
|
|
164479
|
+
_this.s = null;
|
|
164480
|
+
_this.v = null;
|
|
164481
|
+
_this.m = false;
|
|
164482
|
+
_this.j = false;
|
|
164465
164483
|
_this.q = null;
|
|
164466
|
-
_this.
|
|
164467
|
-
_this.c =
|
|
164468
|
-
_this.
|
|
164484
|
+
_this.r = null;
|
|
164485
|
+
_this.c = a;
|
|
164486
|
+
_this.d = new LegendBaseViewManager(_this);
|
|
164487
|
+
_this.d.p();
|
|
164469
164488
|
return _this;
|
|
164470
164489
|
}
|
|
164471
|
-
LegendBaseView.prototype.
|
|
164472
|
-
this.
|
|
164490
|
+
LegendBaseView.prototype.ak = function () {
|
|
164491
|
+
this.d.u();
|
|
164473
164492
|
};
|
|
164474
|
-
LegendBaseView.prototype.
|
|
164475
|
-
this.
|
|
164493
|
+
LegendBaseView.prototype.ai = function () {
|
|
164494
|
+
this.d.s();
|
|
164476
164495
|
};
|
|
164477
|
-
LegendBaseView.prototype.
|
|
164496
|
+
LegendBaseView.prototype.al = function () {
|
|
164478
164497
|
};
|
|
164479
|
-
LegendBaseView.prototype.
|
|
164498
|
+
LegendBaseView.prototype.get_k = function () {
|
|
164480
164499
|
return false;
|
|
164481
164500
|
};
|
|
164482
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164501
|
+
Object.defineProperty(LegendBaseView.prototype, "k", {
|
|
164483
164502
|
get: function () {
|
|
164484
|
-
return this.
|
|
164503
|
+
return this.get_k();
|
|
164485
164504
|
},
|
|
164486
164505
|
enumerable: false,
|
|
164487
164506
|
configurable: true
|
|
164488
164507
|
});
|
|
164489
|
-
LegendBaseView.prototype.
|
|
164508
|
+
LegendBaseView.prototype.e = function (a) {
|
|
164490
164509
|
var b;
|
|
164491
164510
|
var c;
|
|
164492
164511
|
var d;
|
|
164493
|
-
var e = this.
|
|
164512
|
+
var e = this.ab(a, b, c, d);
|
|
164494
164513
|
b = e.p1;
|
|
164495
164514
|
c = e.p2;
|
|
164496
164515
|
d = e.p3;
|
|
@@ -164498,11 +164517,11 @@
|
|
|
164498
164517
|
var g = new LegendMouseButtonEventArgs(b, c, d, f, a);
|
|
164499
164518
|
return g;
|
|
164500
164519
|
};
|
|
164501
|
-
LegendBaseView.prototype.
|
|
164520
|
+
LegendBaseView.prototype.f = function (a) {
|
|
164502
164521
|
var b;
|
|
164503
164522
|
var c;
|
|
164504
164523
|
var d;
|
|
164505
|
-
var e = this.
|
|
164524
|
+
var e = this.ab(a, b, c, d);
|
|
164506
164525
|
b = e.p1;
|
|
164507
164526
|
c = e.p2;
|
|
164508
164527
|
d = e.p3;
|
|
@@ -164510,8 +164529,8 @@
|
|
|
164510
164529
|
var g = new LegendMouseEventArgs(b, c, d, f, a);
|
|
164511
164530
|
return g;
|
|
164512
164531
|
};
|
|
164513
|
-
LegendBaseView.prototype.
|
|
164514
|
-
b = this.
|
|
164532
|
+
LegendBaseView.prototype.ab = function (a, b, c, d) {
|
|
164533
|
+
b = this.c.ai;
|
|
164515
164534
|
c = null;
|
|
164516
164535
|
d = null;
|
|
164517
164536
|
if (a != null) {
|
|
@@ -164531,93 +164550,93 @@
|
|
|
164531
164550
|
p3: d
|
|
164532
164551
|
};
|
|
164533
164552
|
};
|
|
164534
|
-
LegendBaseView.prototype.
|
|
164553
|
+
LegendBaseView.prototype.aa = function () {
|
|
164535
164554
|
};
|
|
164536
|
-
LegendBaseView.prototype.
|
|
164555
|
+
LegendBaseView.prototype.n = function () {
|
|
164537
164556
|
return true;
|
|
164538
164557
|
};
|
|
164539
|
-
LegendBaseView.prototype.
|
|
164540
|
-
};
|
|
164541
|
-
LegendBaseView.prototype.am = function (a) {
|
|
164542
|
-
};
|
|
164543
|
-
LegendBaseView.prototype.ai = function (a) {
|
|
164544
|
-
this.c.t(a);
|
|
164558
|
+
LegendBaseView.prototype.z = function (a) {
|
|
164545
164559
|
};
|
|
164546
164560
|
LegendBaseView.prototype.an = function (a) {
|
|
164547
|
-
this.c.x(a);
|
|
164548
164561
|
};
|
|
164549
|
-
LegendBaseView.prototype.
|
|
164550
|
-
|
|
164551
|
-
this.c.o(a, b);
|
|
164562
|
+
LegendBaseView.prototype.aj = function (a) {
|
|
164563
|
+
this.d.t(a);
|
|
164552
164564
|
};
|
|
164553
|
-
LegendBaseView.prototype.
|
|
164554
|
-
this.
|
|
164565
|
+
LegendBaseView.prototype.ao = function (a) {
|
|
164566
|
+
this.d.x(a);
|
|
164567
|
+
};
|
|
164568
|
+
LegendBaseView.prototype.y = function (a) {
|
|
164569
|
+
var b = this.c.at.indexOf(a);
|
|
164570
|
+
this.d.o(a, b);
|
|
164555
164571
|
};
|
|
164556
164572
|
LegendBaseView.prototype.ag = function () {
|
|
164557
|
-
this.
|
|
164573
|
+
this.d.q();
|
|
164558
164574
|
};
|
|
164559
|
-
|
|
164575
|
+
LegendBaseView.prototype.ah = function () {
|
|
164576
|
+
this.d.r();
|
|
164577
|
+
};
|
|
164578
|
+
Object.defineProperty(LegendBaseView.prototype, "l", {
|
|
164560
164579
|
get: function () {
|
|
164561
|
-
return this.
|
|
164580
|
+
return this.j;
|
|
164562
164581
|
},
|
|
164563
164582
|
set: function (a) {
|
|
164564
|
-
this.
|
|
164565
|
-
this.
|
|
164583
|
+
this.j = a;
|
|
164584
|
+
this.d.v(this.j);
|
|
164566
164585
|
},
|
|
164567
164586
|
enumerable: false,
|
|
164568
164587
|
configurable: true
|
|
164569
164588
|
});
|
|
164570
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164589
|
+
Object.defineProperty(LegendBaseView.prototype, "w", {
|
|
164571
164590
|
get: function () {
|
|
164572
|
-
return this.
|
|
164591
|
+
return this.q;
|
|
164573
164592
|
},
|
|
164574
164593
|
set: function (a) {
|
|
164575
|
-
this.
|
|
164576
|
-
this.
|
|
164594
|
+
this.q = a;
|
|
164595
|
+
this.d.z(this.q);
|
|
164577
164596
|
},
|
|
164578
164597
|
enumerable: false,
|
|
164579
164598
|
configurable: true
|
|
164580
164599
|
});
|
|
164581
|
-
Object.defineProperty(LegendBaseView.prototype, "
|
|
164600
|
+
Object.defineProperty(LegendBaseView.prototype, "x", {
|
|
164582
164601
|
get: function () {
|
|
164583
|
-
return this.
|
|
164602
|
+
return this.r;
|
|
164584
164603
|
},
|
|
164585
164604
|
set: function (a) {
|
|
164586
|
-
this.
|
|
164587
|
-
this.
|
|
164605
|
+
this.r = a;
|
|
164606
|
+
this.d.aa(this.r);
|
|
164588
164607
|
},
|
|
164589
164608
|
enumerable: false,
|
|
164590
164609
|
configurable: true
|
|
164591
164610
|
});
|
|
164592
|
-
LegendBaseView.prototype.
|
|
164593
|
-
this.
|
|
164611
|
+
LegendBaseView.prototype.am = function () {
|
|
164612
|
+
this.d.p();
|
|
164594
164613
|
};
|
|
164595
|
-
LegendBaseView.prototype.
|
|
164614
|
+
LegendBaseView.prototype.o = function (e_) {
|
|
164596
164615
|
var ev_ = e_.originalEvent;
|
|
164597
164616
|
return ev_.currentTarget;
|
|
164598
164617
|
};
|
|
164599
|
-
LegendBaseView.prototype.
|
|
164600
|
-
return this.
|
|
164618
|
+
LegendBaseView.prototype.p = function (e_) {
|
|
164619
|
+
return this.d.n(this.o(e_));
|
|
164601
164620
|
};
|
|
164602
|
-
LegendBaseView.prototype.
|
|
164603
|
-
if (!this.
|
|
164604
|
-
this.
|
|
164621
|
+
LegendBaseView.prototype.ae = function (a) {
|
|
164622
|
+
if (!this.m) {
|
|
164623
|
+
this.c.a3(this.f(this.p(a)));
|
|
164605
164624
|
}
|
|
164606
|
-
this.
|
|
164625
|
+
this.m = true;
|
|
164607
164626
|
};
|
|
164608
|
-
LegendBaseView.prototype.
|
|
164609
|
-
if (this.
|
|
164610
|
-
this.
|
|
164627
|
+
LegendBaseView.prototype.ad = function (a) {
|
|
164628
|
+
if (this.m) {
|
|
164629
|
+
this.c.a4(this.f(this.p(a)));
|
|
164611
164630
|
}
|
|
164612
|
-
this.
|
|
164631
|
+
this.m = false;
|
|
164613
164632
|
};
|
|
164614
|
-
LegendBaseView.prototype.
|
|
164615
|
-
this.
|
|
164633
|
+
LegendBaseView.prototype.ac = function (a) {
|
|
164634
|
+
this.c.a5(this.e(this.p(a)));
|
|
164616
164635
|
};
|
|
164617
|
-
LegendBaseView.prototype.
|
|
164618
|
-
this.
|
|
164636
|
+
LegendBaseView.prototype.af = function (a) {
|
|
164637
|
+
this.c.a6(this.e(this.p(a)));
|
|
164619
164638
|
};
|
|
164620
|
-
LegendBaseView.prototype.
|
|
164639
|
+
LegendBaseView.prototype.i = function (a) {
|
|
164621
164640
|
var b = a.querySelectorAll("span *");
|
|
164622
164641
|
var c = igniteuiWebcomponentsCore.Rect.empty;
|
|
164623
164642
|
for (var e = 0; e < b.length; e++) {
|
|
@@ -164631,16 +164650,16 @@
|
|
|
164631
164650
|
}
|
|
164632
164651
|
return igniteuiWebcomponentsCore.RectData.b(c);
|
|
164633
164652
|
};
|
|
164634
|
-
LegendBaseView.prototype.
|
|
164653
|
+
LegendBaseView.prototype.h = function (a) {
|
|
164635
164654
|
var b = a.querySelectorAll("canvas");
|
|
164636
164655
|
var c = b.length > 0 ? b[0] : null;
|
|
164637
164656
|
return c != null ? new igniteuiWebcomponentsCore.RectData(c.getOffset().left, c.getOffset().top, c.width(), c.height()) : null;
|
|
164638
164657
|
};
|
|
164639
164658
|
LegendBaseView.prototype.a = function (a) {
|
|
164640
|
-
if (this.
|
|
164659
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
164641
164660
|
return null;
|
|
164642
164661
|
}
|
|
164643
|
-
var b = this.
|
|
164662
|
+
var b = this.c.at._inner[a];
|
|
164644
164663
|
if (b == null) {
|
|
164645
164664
|
return null;
|
|
164646
164665
|
}
|
|
@@ -164651,9 +164670,24 @@
|
|
|
164651
164670
|
var d = c.actualItemBrush != null ? c.actualItemBrush : c.itemBrush;
|
|
164652
164671
|
return igniteuiWebcomponentsCore.AppearanceHelper.b(d);
|
|
164653
164672
|
};
|
|
164654
|
-
LegendBaseView.prototype.
|
|
164673
|
+
LegendBaseView.prototype.b = function (a) {
|
|
164674
|
+
if (this.c == null || this.c.at == null || this.c.at.count <= a) {
|
|
164675
|
+
return null;
|
|
164676
|
+
}
|
|
164677
|
+
var b = this.c.at._inner[a];
|
|
164678
|
+
if (b == null) {
|
|
164679
|
+
return null;
|
|
164680
|
+
}
|
|
164681
|
+
var c = b.content;
|
|
164682
|
+
if (c == null) {
|
|
164683
|
+
return null;
|
|
164684
|
+
}
|
|
164685
|
+
var d = c.outline;
|
|
164686
|
+
return igniteuiWebcomponentsCore.AppearanceHelper.b(d);
|
|
164687
|
+
};
|
|
164688
|
+
LegendBaseView.prototype.g = function () {
|
|
164655
164689
|
var a = new LegendVisualData();
|
|
164656
|
-
var b = this.
|
|
164690
|
+
var b = this.d.l;
|
|
164657
164691
|
var c = b.getChildCount();
|
|
164658
164692
|
for (var d = 0; d < c; d++) {
|
|
164659
164693
|
var e = new LegendItemVisualData();
|
|
@@ -164661,12 +164695,15 @@
|
|
|
164661
164695
|
e.label = f.getText();
|
|
164662
164696
|
e.label = e.label != null ? e.label.trim() : null;
|
|
164663
164697
|
e.bounds = new igniteuiWebcomponentsCore.RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
164664
|
-
e.labelBounds = this.
|
|
164665
|
-
e.badgeBounds = this.
|
|
164698
|
+
e.labelBounds = this.i(f);
|
|
164699
|
+
e.badgeBounds = this.h(f);
|
|
164700
|
+
e.appearance.fill = this.a(d);
|
|
164701
|
+
e.appearance.stroke = this.b(d);
|
|
164666
164702
|
a.items.add(e);
|
|
164667
164703
|
}
|
|
164668
|
-
for (var g = 0; g < this.
|
|
164704
|
+
for (var g = 0; g < this.c.at.count; g++) {
|
|
164669
164705
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
164706
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
164670
164707
|
}
|
|
164671
164708
|
return a;
|
|
164672
164709
|
};
|
|
@@ -164732,7 +164769,7 @@
|
|
|
164732
164769
|
try {
|
|
164733
164770
|
for (var _c = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
164734
164771
|
var c = _d.value;
|
|
164735
|
-
_this.bc.
|
|
164772
|
+
_this.bc.ao(c);
|
|
164736
164773
|
}
|
|
164737
164774
|
}
|
|
164738
164775
|
catch (e_1_1) {
|
|
@@ -164753,7 +164790,7 @@
|
|
|
164753
164790
|
try {
|
|
164754
164791
|
for (var _e = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
164755
164792
|
var d = _f.value;
|
|
164756
|
-
_this.bc.
|
|
164793
|
+
_this.bc.y(d);
|
|
164757
164794
|
}
|
|
164758
164795
|
}
|
|
164759
164796
|
catch (e_2_1) {
|
|
@@ -164801,7 +164838,7 @@
|
|
|
164801
164838
|
var e = void 0;
|
|
164802
164839
|
var f = void 0;
|
|
164803
164840
|
var g = void 0;
|
|
164804
|
-
var h = this.ak.
|
|
164841
|
+
var h = this.ak.ab(d, e, f, g);
|
|
164805
164842
|
e = h.p1;
|
|
164806
164843
|
f = h.p2;
|
|
164807
164844
|
g = h.p3;
|
|
@@ -164857,10 +164894,10 @@
|
|
|
164857
164894
|
};
|
|
164858
164895
|
Object.defineProperty(Legend.prototype, "bb", {
|
|
164859
164896
|
get: function () {
|
|
164860
|
-
return this.ak.
|
|
164897
|
+
return this.ak.l ? 0 : 1;
|
|
164861
164898
|
},
|
|
164862
164899
|
set: function (a) {
|
|
164863
|
-
this.ak.
|
|
164900
|
+
this.ak.l = a == 0;
|
|
164864
164901
|
},
|
|
164865
164902
|
enumerable: false,
|
|
164866
164903
|
configurable: true
|
|
@@ -164870,20 +164907,20 @@
|
|
|
164870
164907
|
};
|
|
164871
164908
|
Object.defineProperty(Legend.prototype, "bh", {
|
|
164872
164909
|
get: function () {
|
|
164873
|
-
return this.ak.
|
|
164910
|
+
return this.ak.w;
|
|
164874
164911
|
},
|
|
164875
164912
|
set: function (a) {
|
|
164876
|
-
this.ak.
|
|
164913
|
+
this.ak.w = a;
|
|
164877
164914
|
},
|
|
164878
164915
|
enumerable: false,
|
|
164879
164916
|
configurable: true
|
|
164880
164917
|
});
|
|
164881
164918
|
Object.defineProperty(Legend.prototype, "bi", {
|
|
164882
164919
|
get: function () {
|
|
164883
|
-
return this.ak.
|
|
164920
|
+
return this.ak.x;
|
|
164884
164921
|
},
|
|
164885
164922
|
set: function (a) {
|
|
164886
|
-
this.ak.
|
|
164923
|
+
this.ak.x = a;
|
|
164887
164924
|
},
|
|
164888
164925
|
enumerable: false,
|
|
164889
164926
|
configurable: true
|
|
@@ -164898,12 +164935,12 @@
|
|
|
164898
164935
|
tslib.__extends(LegendView, _super);
|
|
164899
164936
|
function LegendView(a) {
|
|
164900
164937
|
var _this = _super.call(this, a) || this;
|
|
164901
|
-
_this.
|
|
164902
|
-
_this.
|
|
164938
|
+
_this.ap = null;
|
|
164939
|
+
_this.ap = a;
|
|
164903
164940
|
return _this;
|
|
164904
164941
|
}
|
|
164905
|
-
LegendView.prototype.
|
|
164906
|
-
_super.prototype.
|
|
164942
|
+
LegendView.prototype.al = function () {
|
|
164943
|
+
_super.prototype.al.call(this);
|
|
164907
164944
|
};
|
|
164908
164945
|
LegendView.$t = igniteuiWebcomponentsCore.markType(LegendView, 'LegendView', LegendBaseView.$);
|
|
164909
164946
|
return LegendView;
|
|
@@ -165087,7 +165124,7 @@
|
|
|
165087
165124
|
try {
|
|
165088
165125
|
for (var _c = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
165089
165126
|
var c = _d.value;
|
|
165090
|
-
_this.bb.
|
|
165127
|
+
_this.bb.ao(c);
|
|
165091
165128
|
}
|
|
165092
165129
|
}
|
|
165093
165130
|
catch (e_1_1) {
|
|
@@ -165108,7 +165145,7 @@
|
|
|
165108
165145
|
try {
|
|
165109
165146
|
for (var _e = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
165110
165147
|
var d = _f.value;
|
|
165111
|
-
_this.bb.
|
|
165148
|
+
_this.bb.y(d);
|
|
165112
165149
|
}
|
|
165113
165150
|
}
|
|
165114
165151
|
catch (e_2_1) {
|
|
@@ -165154,7 +165191,7 @@
|
|
|
165154
165191
|
tslib.__extends(FinancialLegendView, _super);
|
|
165155
165192
|
function FinancialLegendView(a) {
|
|
165156
165193
|
var _this = _super.call(this, a) || this;
|
|
165157
|
-
_this.
|
|
165194
|
+
_this.d = new FinancialLegendViewManager(_this);
|
|
165158
165195
|
return _this;
|
|
165159
165196
|
}
|
|
165160
165197
|
FinancialLegendView.$t = igniteuiWebcomponentsCore.markType(FinancialLegendView, 'FinancialLegendView', LegendBaseView.$);
|
|
@@ -202530,8 +202567,9 @@
|
|
|
202530
202567
|
for (var ac = 0; ac < this.yo.c.count; ac++) {
|
|
202531
202568
|
t = v.item(ac);
|
|
202532
202569
|
u = w.item(ac);
|
|
202570
|
+
var ad = 1E-10;
|
|
202533
202571
|
if (x) {
|
|
202534
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
202572
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
202535
202573
|
c[ac].x = r.ek(t, h);
|
|
202536
202574
|
c[ac].y = s.ek(u, i);
|
|
202537
202575
|
}
|
|
@@ -202547,7 +202585,7 @@
|
|
|
202547
202585
|
}
|
|
202548
202586
|
}
|
|
202549
202587
|
else {
|
|
202550
|
-
if (t >= k && t <= l && u >= m && u <= n) {
|
|
202588
|
+
if (t >= k - ad && t <= l + ad && u >= m - ad && u <= n + ad) {
|
|
202551
202589
|
c[ac].x = r.ek(t, h);
|
|
202552
202590
|
c[ac].y = s.ek(u, i);
|
|
202553
202591
|
}
|
|
@@ -235632,7 +235670,7 @@
|
|
|
235632
235670
|
try {
|
|
235633
235671
|
for (var _c = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.oldItems)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
235634
235672
|
var c = _d.value;
|
|
235635
|
-
_this.bb.
|
|
235673
|
+
_this.bb.ao(c);
|
|
235636
235674
|
}
|
|
235637
235675
|
}
|
|
235638
235676
|
catch (e_1_1) {
|
|
@@ -235653,7 +235691,7 @@
|
|
|
235653
235691
|
try {
|
|
235654
235692
|
for (var _e = tslib.__values(igniteuiWebcomponentsCore.fromEn(b.newItems)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
235655
235693
|
var d = _f.value;
|
|
235656
|
-
_this.bb.
|
|
235694
|
+
_this.bb.y(d);
|
|
235657
235695
|
}
|
|
235658
235696
|
}
|
|
235659
235697
|
catch (e_2_1) {
|
|
@@ -235681,7 +235719,7 @@
|
|
|
235681
235719
|
this.bb = a;
|
|
235682
235720
|
};
|
|
235683
235721
|
ItemLegend.prototype.addChildInOrder = function (a, b) {
|
|
235684
|
-
if (!this.ak.
|
|
235722
|
+
if (!this.ak.n()) {
|
|
235685
235723
|
return;
|
|
235686
235724
|
}
|
|
235687
235725
|
this.bl(b);
|
|
@@ -235694,7 +235732,7 @@
|
|
|
235694
235732
|
};
|
|
235695
235733
|
ItemLegend.prototype.a0 = function (a, b) {
|
|
235696
235734
|
var e_3, _a;
|
|
235697
|
-
this.ak.
|
|
235735
|
+
this.ak.ag();
|
|
235698
235736
|
this.clearLegendItemsForSeries(b);
|
|
235699
235737
|
if (b == null || a == null || a.count == 0) {
|
|
235700
235738
|
return;
|
|
@@ -235734,14 +235772,14 @@
|
|
|
235734
235772
|
throw e_3.error;
|
|
235735
235773
|
}
|
|
235736
235774
|
}
|
|
235737
|
-
this.ak.
|
|
235775
|
+
this.ak.ah();
|
|
235738
235776
|
};
|
|
235739
235777
|
ItemLegend.prototype.createLegendItemsInsert = function (a, b) {
|
|
235740
235778
|
this.bk(a, b);
|
|
235741
235779
|
};
|
|
235742
235780
|
ItemLegend.prototype.bk = function (a, b) {
|
|
235743
235781
|
var e_4, _a;
|
|
235744
|
-
this.ak.
|
|
235782
|
+
this.ak.ag();
|
|
235745
235783
|
try {
|
|
235746
235784
|
var c = this.bf(b);
|
|
235747
235785
|
if (b == null || a == null || a.count == 0) {
|
|
@@ -235780,7 +235818,7 @@
|
|
|
235780
235818
|
}
|
|
235781
235819
|
}
|
|
235782
235820
|
finally {
|
|
235783
|
-
this.ak.
|
|
235821
|
+
this.ak.ah();
|
|
235784
235822
|
}
|
|
235785
235823
|
};
|
|
235786
235824
|
ItemLegend.prototype.renderItemwiseContent = function (a) {
|
|
@@ -235909,34 +235947,34 @@
|
|
|
235909
235947
|
return c;
|
|
235910
235948
|
};
|
|
235911
235949
|
ItemLegend.prototype.be = function (a) {
|
|
235912
|
-
return this.bb.
|
|
235950
|
+
return this.bb.aq(a);
|
|
235913
235951
|
};
|
|
235914
235952
|
Object.defineProperty(ItemLegend.prototype, "bc", {
|
|
235915
235953
|
get: function () {
|
|
235916
|
-
return this.ak.
|
|
235954
|
+
return this.ak.l ? 0 : 1;
|
|
235917
235955
|
},
|
|
235918
235956
|
set: function (a) {
|
|
235919
|
-
this.ak.
|
|
235957
|
+
this.ak.l = a == 0;
|
|
235920
235958
|
},
|
|
235921
235959
|
enumerable: false,
|
|
235922
235960
|
configurable: true
|
|
235923
235961
|
});
|
|
235924
235962
|
Object.defineProperty(ItemLegend.prototype, "bi", {
|
|
235925
235963
|
get: function () {
|
|
235926
|
-
return this.ak.
|
|
235964
|
+
return this.ak.w;
|
|
235927
235965
|
},
|
|
235928
235966
|
set: function (a) {
|
|
235929
|
-
this.ak.
|
|
235967
|
+
this.ak.w = a;
|
|
235930
235968
|
},
|
|
235931
235969
|
enumerable: false,
|
|
235932
235970
|
configurable: true
|
|
235933
235971
|
});
|
|
235934
235972
|
Object.defineProperty(ItemLegend.prototype, "bj", {
|
|
235935
235973
|
get: function () {
|
|
235936
|
-
return this.ak.
|
|
235974
|
+
return this.ak.x;
|
|
235937
235975
|
},
|
|
235938
235976
|
set: function (a) {
|
|
235939
|
-
this.ak.
|
|
235977
|
+
this.ak.x = a;
|
|
235940
235978
|
},
|
|
235941
235979
|
enumerable: false,
|
|
235942
235980
|
configurable: true
|
|
@@ -235951,22 +235989,22 @@
|
|
|
235951
235989
|
tslib.__extends(ItemLegendView, _super);
|
|
235952
235990
|
function ItemLegendView(a) {
|
|
235953
235991
|
var _this = _super.call(this, a) || this;
|
|
235954
|
-
_this.
|
|
235955
|
-
_this.
|
|
235992
|
+
_this.ap = null;
|
|
235993
|
+
_this.ap = a;
|
|
235956
235994
|
return _this;
|
|
235957
235995
|
}
|
|
235958
|
-
ItemLegendView.prototype.
|
|
235959
|
-
_super.prototype.
|
|
235996
|
+
ItemLegendView.prototype.al = function () {
|
|
235997
|
+
_super.prototype.al.call(this);
|
|
235960
235998
|
};
|
|
235961
|
-
ItemLegendView.prototype.
|
|
235999
|
+
ItemLegendView.prototype.get_k = function () {
|
|
235962
236000
|
return true;
|
|
235963
236001
|
};
|
|
235964
|
-
ItemLegendView.prototype.
|
|
235965
|
-
return this.
|
|
236002
|
+
ItemLegendView.prototype.aq = function (a) {
|
|
236003
|
+
return this.d.e(a);
|
|
235966
236004
|
};
|
|
235967
|
-
ItemLegendView.prototype.
|
|
236005
|
+
ItemLegendView.prototype.g = function () {
|
|
235968
236006
|
var a = new LegendVisualData();
|
|
235969
|
-
var b = this.
|
|
236007
|
+
var b = this.d.g.rootWrapper;
|
|
235970
236008
|
b = b.getChildAt(0);
|
|
235971
236009
|
var c = b.getChildCount();
|
|
235972
236010
|
for (var d = 0; d < c; d++) {
|
|
@@ -235975,13 +236013,14 @@
|
|
|
235975
236013
|
e.label = f.getText();
|
|
235976
236014
|
e.label = e.label != null ? e.label.trim() : null;
|
|
235977
236015
|
e.bounds = new igniteuiWebcomponentsCore.RectData(f.getOffset().left, f.getOffset().top, f.width(), f.height());
|
|
235978
|
-
e.labelBounds = this.
|
|
235979
|
-
e.badgeBounds = this.
|
|
236016
|
+
e.labelBounds = this.i(f);
|
|
236017
|
+
e.badgeBounds = this.h(f);
|
|
235980
236018
|
a.items.add(e);
|
|
235981
236019
|
}
|
|
235982
236020
|
if (c == a.items.count) {
|
|
235983
236021
|
for (var g = 0; g < c; g++) {
|
|
235984
236022
|
a.items._inner[g].appearance.fill = this.a(g);
|
|
236023
|
+
a.items._inner[g].appearance.stroke = this.b(g);
|
|
235985
236024
|
}
|
|
235986
236025
|
}
|
|
235987
236026
|
return a;
|
|
@@ -236240,21 +236279,21 @@
|
|
|
236240
236279
|
};
|
|
236241
236280
|
Object.defineProperty(ScaleLegend.prototype, "legendScaleElement", {
|
|
236242
236281
|
get: function () {
|
|
236243
|
-
return this.bd.
|
|
236282
|
+
return this.bd.bb;
|
|
236244
236283
|
},
|
|
236245
236284
|
enumerable: false,
|
|
236246
236285
|
configurable: true
|
|
236247
236286
|
});
|
|
236248
236287
|
Object.defineProperty(ScaleLegend.prototype, "minText", {
|
|
236249
236288
|
get: function () {
|
|
236250
|
-
return this.bd.
|
|
236289
|
+
return this.bd.a7;
|
|
236251
236290
|
},
|
|
236252
236291
|
enumerable: false,
|
|
236253
236292
|
configurable: true
|
|
236254
236293
|
});
|
|
236255
236294
|
Object.defineProperty(ScaleLegend.prototype, "maxText", {
|
|
236256
236295
|
get: function () {
|
|
236257
|
-
return this.bd.
|
|
236296
|
+
return this.bd.a6;
|
|
236258
236297
|
},
|
|
236259
236298
|
enumerable: false,
|
|
236260
236299
|
configurable: true
|
|
@@ -236270,14 +236309,14 @@
|
|
|
236270
236309
|
configurable: true
|
|
236271
236310
|
});
|
|
236272
236311
|
ScaleLegend.prototype.bi = function () {
|
|
236273
|
-
this.bd.
|
|
236312
|
+
this.bd.a3();
|
|
236274
236313
|
};
|
|
236275
236314
|
ScaleLegend.prototype.restoreOriginalState = function () {
|
|
236276
236315
|
this.bi();
|
|
236277
236316
|
};
|
|
236278
236317
|
ScaleLegend.prototype.bl = function (a) {
|
|
236279
236318
|
if (a == null) {
|
|
236280
|
-
return this.bd.
|
|
236319
|
+
return this.bd.ba();
|
|
236281
236320
|
}
|
|
236282
236321
|
return igniteuiWebcomponentsCore.ColorUtil.v(a);
|
|
236283
236322
|
};
|
|
@@ -236302,11 +236341,11 @@
|
|
|
236302
236341
|
var a = false;
|
|
236303
236342
|
var b = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.Shape.$, this.legendScaleElement);
|
|
236304
236343
|
if (b != null) {
|
|
236305
|
-
var c_1 = this.bd.
|
|
236306
|
-
if (!this.bc.forScaleColors(function (d, e) { return _this.bd.
|
|
236344
|
+
var c_1 = this.bd.ax();
|
|
236345
|
+
if (!this.bc.forScaleColors(function (d, e) { return _this.bd.az(c_1, _this.bl(d), e); })) {
|
|
236307
236346
|
a = true;
|
|
236308
236347
|
}
|
|
236309
|
-
this.bd.
|
|
236348
|
+
this.bd.a4(b, a, c_1);
|
|
236310
236349
|
}
|
|
236311
236350
|
if (this.minText != null) {
|
|
236312
236351
|
this.minText.al = this.bc.minScaleText;
|
|
@@ -236325,34 +236364,34 @@
|
|
|
236325
236364
|
tslib.__extends(ScaleLegendView, _super);
|
|
236326
236365
|
function ScaleLegendView(a) {
|
|
236327
236366
|
var _this = _super.call(this, a) || this;
|
|
236328
|
-
_this.ap = null;
|
|
236329
|
-
_this.ba = null;
|
|
236330
|
-
_this.a6 = null;
|
|
236331
|
-
_this.a5 = null;
|
|
236332
|
-
_this.ao = null;
|
|
236333
236367
|
_this.aq = null;
|
|
236334
|
-
_this.bb =
|
|
236335
|
-
_this.ar = false;
|
|
236336
|
-
_this.as = 0;
|
|
236337
|
-
_this.a8 = null;
|
|
236368
|
+
_this.bb = null;
|
|
236338
236369
|
_this.a7 = null;
|
|
236339
|
-
_this.
|
|
236370
|
+
_this.a6 = null;
|
|
236371
|
+
_this.ap = null;
|
|
236372
|
+
_this.ar = null;
|
|
236373
|
+
_this.bc = new igniteuiWebcomponentsCore.Size();
|
|
236374
|
+
_this.as = false;
|
|
236375
|
+
_this.at = 0;
|
|
236376
|
+
_this.a9 = null;
|
|
236377
|
+
_this.a8 = null;
|
|
236378
|
+
_this.aq = a;
|
|
236379
|
+
_this.a7 = new igniteuiWebcomponentsCore.TextBlock();
|
|
236340
236380
|
_this.a6 = new igniteuiWebcomponentsCore.TextBlock();
|
|
236341
|
-
_this.
|
|
236342
|
-
_this.ba = new igniteuiWebcomponentsCore.Polygon();
|
|
236381
|
+
_this.bb = new igniteuiWebcomponentsCore.Polygon();
|
|
236343
236382
|
return _this;
|
|
236344
236383
|
}
|
|
236345
|
-
ScaleLegendView.prototype.
|
|
236384
|
+
ScaleLegendView.prototype.a3 = function () {
|
|
236346
236385
|
};
|
|
236347
|
-
ScaleLegendView.prototype.
|
|
236386
|
+
ScaleLegendView.prototype.aa = function () {
|
|
236348
236387
|
};
|
|
236349
|
-
ScaleLegendView.prototype.
|
|
236388
|
+
ScaleLegendView.prototype.ba = function () {
|
|
236350
236389
|
return igniteuiWebcomponentsCore.Color.u(0, 0, 0, 0);
|
|
236351
236390
|
};
|
|
236352
|
-
ScaleLegendView.prototype.
|
|
236391
|
+
ScaleLegendView.prototype.ax = function () {
|
|
236353
236392
|
return new GradientData();
|
|
236354
236393
|
};
|
|
236355
|
-
ScaleLegendView.prototype.
|
|
236394
|
+
ScaleLegendView.prototype.az = function (a, b, c) {
|
|
236356
236395
|
var d = a;
|
|
236357
236396
|
d.a.add(((function () {
|
|
236358
236397
|
var $ret = new GradientStopData();
|
|
@@ -236365,77 +236404,77 @@
|
|
|
236365
236404
|
return $ret;
|
|
236366
236405
|
})()));
|
|
236367
236406
|
};
|
|
236368
|
-
ScaleLegendView.prototype.
|
|
236407
|
+
ScaleLegendView.prototype.a4 = function (a, b, c) {
|
|
236369
236408
|
if (b) {
|
|
236370
|
-
this.
|
|
236371
|
-
this.
|
|
236409
|
+
this.a8 = this.aq.bc.actualMarkerBrush;
|
|
236410
|
+
this.ap = null;
|
|
236372
236411
|
}
|
|
236373
236412
|
else {
|
|
236374
|
-
this.
|
|
236375
|
-
this.
|
|
236376
|
-
this.
|
|
236413
|
+
this.a8 = null;
|
|
236414
|
+
this.ap = c;
|
|
236415
|
+
this.ap.b();
|
|
236377
236416
|
}
|
|
236378
|
-
this.
|
|
236417
|
+
this.a0();
|
|
236379
236418
|
};
|
|
236380
|
-
ScaleLegendView.prototype.
|
|
236381
|
-
_super.prototype.
|
|
236382
|
-
this.
|
|
236383
|
-
this.
|
|
236384
|
-
this.
|
|
236419
|
+
ScaleLegendView.prototype.aj = function (a) {
|
|
236420
|
+
_super.prototype.aj.call(this, a);
|
|
236421
|
+
this.ar = this.d.b(a);
|
|
236422
|
+
this.bc = this.d.ab();
|
|
236423
|
+
this.a0();
|
|
236385
236424
|
};
|
|
236386
|
-
ScaleLegendView.prototype.
|
|
236387
|
-
if (!this.
|
|
236388
|
-
this.
|
|
236389
|
-
if (this.
|
|
236390
|
-
this.
|
|
236425
|
+
ScaleLegendView.prototype.a0 = function () {
|
|
236426
|
+
if (!this.as) {
|
|
236427
|
+
this.as = true;
|
|
236428
|
+
if (this.d.g != null) {
|
|
236429
|
+
this.d.g.setTimeout(igniteuiWebcomponentsCore.runOn(this, this.a5), 0);
|
|
236391
236430
|
}
|
|
236392
236431
|
else {
|
|
236393
|
-
window.setTimeout(igniteuiWebcomponentsCore.runOn(this, this.
|
|
236432
|
+
window.setTimeout(igniteuiWebcomponentsCore.runOn(this, this.a5), 0);
|
|
236394
236433
|
}
|
|
236395
236434
|
}
|
|
236396
236435
|
};
|
|
236397
|
-
ScaleLegendView.prototype.
|
|
236398
|
-
if (this.
|
|
236399
|
-
this.
|
|
236400
|
-
this.
|
|
236436
|
+
ScaleLegendView.prototype.a5 = function () {
|
|
236437
|
+
if (this.as) {
|
|
236438
|
+
this.as = false;
|
|
236439
|
+
this.a2();
|
|
236401
236440
|
}
|
|
236402
236441
|
};
|
|
236403
|
-
ScaleLegendView.prototype.
|
|
236404
|
-
if (this.
|
|
236442
|
+
ScaleLegendView.prototype.a2 = function () {
|
|
236443
|
+
if (this.ar == null) {
|
|
236405
236444
|
return;
|
|
236406
236445
|
}
|
|
236407
|
-
this.
|
|
236446
|
+
this.a1();
|
|
236408
236447
|
};
|
|
236409
|
-
ScaleLegendView.prototype.
|
|
236448
|
+
ScaleLegendView.prototype.av = function (a) {
|
|
236410
236449
|
var b = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.TextBlock.$, a);
|
|
236411
236450
|
if (b != null && b.al != null) {
|
|
236412
|
-
return this.
|
|
236451
|
+
return this.ar.f(b) + 0;
|
|
236413
236452
|
}
|
|
236414
236453
|
return 0;
|
|
236415
236454
|
};
|
|
236416
|
-
ScaleLegendView.prototype.
|
|
236417
|
-
return this.
|
|
236455
|
+
ScaleLegendView.prototype.au = function (a) {
|
|
236456
|
+
return this.at + 0;
|
|
236418
236457
|
};
|
|
236419
|
-
ScaleLegendView.prototype.
|
|
236420
|
-
if (this.
|
|
236458
|
+
ScaleLegendView.prototype.a1 = function () {
|
|
236459
|
+
if (this.aq.bc == null || this.aq.bc.container == null || (this.ap == null && this.a8 == null)) {
|
|
236421
236460
|
return;
|
|
236422
236461
|
}
|
|
236423
|
-
if (this.
|
|
236424
|
-
var a = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.IInternalLegendOwner_$type, this.
|
|
236425
|
-
this.
|
|
236426
|
-
this.
|
|
236427
|
-
this.
|
|
236428
|
-
var b = this.
|
|
236429
|
-
var c = this.
|
|
236462
|
+
if (this.ar.d) {
|
|
236463
|
+
var a = igniteuiWebcomponentsCore.typeCast(igniteuiWebcomponentsCore.IInternalLegendOwner_$type, this.aq.bc.container);
|
|
236464
|
+
this.ar.ad(a.getFontInfo());
|
|
236465
|
+
this.at = a.getFontHeight();
|
|
236466
|
+
this.a9 = a.getFontBrush();
|
|
236467
|
+
var b = this.av(this.a7);
|
|
236468
|
+
var c = this.av(this.a6);
|
|
236430
236469
|
var d = Math.max(b, c) + 4;
|
|
236431
|
-
if (d >= this.
|
|
236470
|
+
if (d >= this.bc.width) {
|
|
236432
236471
|
d = 0;
|
|
236433
236472
|
}
|
|
236434
|
-
var e = this.
|
|
236473
|
+
var e = this.bc.width - d;
|
|
236435
236474
|
var f = 2;
|
|
236436
236475
|
var g = 2;
|
|
236437
236476
|
e = e - 4;
|
|
236438
|
-
var h = this.
|
|
236477
|
+
var h = this.bc.height - 4;
|
|
236439
236478
|
var i = f + e + 4;
|
|
236440
236479
|
var j = g;
|
|
236441
236480
|
var k = h;
|
|
@@ -236443,36 +236482,36 @@
|
|
|
236443
236482
|
var m = { $type: igniteuiWebcomponentsCore.Point_$type, x: f + (5 / 5) * e, y: g };
|
|
236444
236483
|
var n = { $type: igniteuiWebcomponentsCore.Point_$type, x: f + (5 / 5) * e, y: h };
|
|
236445
236484
|
var o = { $type: igniteuiWebcomponentsCore.Point_$type, x: f, y: h };
|
|
236446
|
-
var p = this.
|
|
236485
|
+
var p = this.bb;
|
|
236447
236486
|
p.an.clear();
|
|
236448
236487
|
p.an.add(l);
|
|
236449
236488
|
p.an.add(m);
|
|
236450
236489
|
p.an.add(n);
|
|
236451
236490
|
p.an.add(o);
|
|
236491
|
+
this.a7.n = i;
|
|
236492
|
+
this.a7.o = j;
|
|
236493
|
+
this.a7.ao = this.a9;
|
|
236452
236494
|
this.a6.n = i;
|
|
236453
|
-
this.a6.o = j;
|
|
236454
|
-
this.a6.ao = this.
|
|
236455
|
-
this.
|
|
236456
|
-
|
|
236457
|
-
|
|
236458
|
-
if (
|
|
236459
|
-
|
|
236460
|
-
|
|
236461
|
-
if (this.ao == null && this.a7 != null) {
|
|
236462
|
-
p._fill = this.a7;
|
|
236463
|
-
this.aq.u(p);
|
|
236495
|
+
this.a6.o = j + k - (this.au(this.a7));
|
|
236496
|
+
this.a6.ao = this.a9;
|
|
236497
|
+
if (!this.ar.e) {
|
|
236498
|
+
this.ar.l(0, 0, this.bc.width, this.bc.height);
|
|
236499
|
+
}
|
|
236500
|
+
if (this.ap == null && this.a8 != null) {
|
|
236501
|
+
p._fill = this.a8;
|
|
236502
|
+
this.ar.u(p);
|
|
236464
236503
|
}
|
|
236465
236504
|
else {
|
|
236466
|
-
this.
|
|
236505
|
+
this.d.y(this.ar, p, this.ap, new igniteuiWebcomponentsCore.Rect(0, g, f, e, h));
|
|
236467
236506
|
}
|
|
236468
236507
|
if (d > 0) {
|
|
236469
|
-
this.
|
|
236470
|
-
this.
|
|
236508
|
+
this.ar.x(this.a7);
|
|
236509
|
+
this.ar.x(this.a6);
|
|
236471
236510
|
}
|
|
236472
236511
|
}
|
|
236473
236512
|
};
|
|
236474
|
-
ScaleLegendView.prototype.
|
|
236475
|
-
_super.prototype.
|
|
236513
|
+
ScaleLegendView.prototype.am = function () {
|
|
236514
|
+
_super.prototype.am.call(this);
|
|
236476
236515
|
};
|
|
236477
236516
|
ScaleLegendView.$t = igniteuiWebcomponentsCore.markType(ScaleLegendView, 'ScaleLegendView', LegendBaseView.$);
|
|
236478
236517
|
return ScaleLegendView;
|