ps-toolkit-ui 1.5.70 → 1.5.73
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/ps-toolkit-ui.umd.js +7 -4
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/chart.class.js +8 -2
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +1 -4
- package/fesm2015/ps-toolkit-ui.js +7 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/chart.class.d.ts +3 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2406,7 +2406,6 @@
|
|
|
2406
2406
|
var _this = this;
|
|
2407
2407
|
var l = [];
|
|
2408
2408
|
for (var i = s; i < f; i++) {
|
|
2409
|
-
console.log(i);
|
|
2410
2409
|
var b = new InputClass(this.table.environment, this.table.l, i.toString(), null, exports.InputType.Button, 'h-25' + (this.table.page === i ? ' white' : ' extra'), i);
|
|
2411
2410
|
b.onClick = function (btn) { return _this.changePage(btn); };
|
|
2412
2411
|
l.push(b);
|
|
@@ -2414,9 +2413,7 @@
|
|
|
2414
2413
|
return l;
|
|
2415
2414
|
};
|
|
2416
2415
|
TablePaginationComponent.prototype.changePage = function (btn) {
|
|
2417
|
-
console.log(btn.value);
|
|
2418
2416
|
this.table.page = btn.value;
|
|
2419
|
-
console.log(this.table.page);
|
|
2420
2417
|
this.table.load(btn);
|
|
2421
2418
|
};
|
|
2422
2419
|
TablePaginationComponent.prototype.ngOnInit = function () {
|
|
@@ -7767,6 +7764,7 @@
|
|
|
7767
7764
|
|
|
7768
7765
|
var ChartClass = /** @class */ (function () {
|
|
7769
7766
|
function ChartClass(l, name) {
|
|
7767
|
+
this.chart = null;
|
|
7770
7768
|
this.style = {};
|
|
7771
7769
|
this.loading = false;
|
|
7772
7770
|
this.empty = false;
|
|
@@ -7877,7 +7875,12 @@
|
|
|
7877
7875
|
series: []
|
|
7878
7876
|
};
|
|
7879
7877
|
this.options = this.merge(opt, cOpt);
|
|
7880
|
-
Highcharts.chart(this.name + 'Chart', this.options);
|
|
7878
|
+
this.chart = Highcharts.chart(this.name + 'Chart', this.options);
|
|
7879
|
+
};
|
|
7880
|
+
ChartClass.prototype.destroy = function () {
|
|
7881
|
+
if (this.chart !== null) {
|
|
7882
|
+
this.chart.destroy();
|
|
7883
|
+
}
|
|
7881
7884
|
};
|
|
7882
7885
|
ChartClass.prototype.getSymbol = function (point) {
|
|
7883
7886
|
var marker = null;
|