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