@esfaenza/es-charts 11.2.22 → 11.2.25
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/esfaenza-es-charts.umd.js +129 -99
- package/bundles/esfaenza-es-charts.umd.js.map +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js +1 -1
- package/bundles/esfaenza-es-charts.umd.min.js.map +1 -1
- package/esfaenza-es-charts.d.ts +0 -1
- package/esfaenza-es-charts.metadata.json +1 -1
- package/esm2015/esfaenza-es-charts.js +1 -2
- package/esm2015/lib/components/base/base-chart.component.js +10 -1
- package/esm2015/lib/models/data/base/Limit.js +6 -6
- package/esm2015/lib/services/AreaChartService.js +4 -1
- package/esm2015/lib/services/LineChartService.js +14 -8
- package/esm2015/lib/services/PieChartService.js +4 -1
- package/esm2015/lib/services/Vertical2DChartService.js +4 -1
- package/esm2015/lib/services/VerticalChartService.js +4 -1
- package/esm2015/lib/services/VerticalStackedChartService.js +4 -1
- package/esm2015/lib/services/base/IBaseService.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/esfaenza-es-charts.js +127 -97
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/lib/components/base/base-chart.component.d.ts +7 -0
- package/lib/models/data/base/Limit.d.ts +5 -5
- package/lib/services/AreaChartService.d.ts +2 -0
- package/lib/services/LineChartService.d.ts +4 -0
- package/lib/services/PieChartService.d.ts +2 -0
- package/lib/services/Vertical2DChartService.d.ts +2 -0
- package/lib/services/VerticalChartService.d.ts +2 -0
- package/lib/services/VerticalStackedChartService.d.ts +2 -0
- package/lib/services/base/IBaseService.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -600,13 +600,13 @@
|
|
|
600
600
|
*/
|
|
601
601
|
var Limit = /** @class */ (function () {
|
|
602
602
|
/** @ignore */
|
|
603
|
-
function Limit(upper,
|
|
603
|
+
function Limit(upper, upperlabel, uppercolor, lower, lowerlabel, lowercolor) {
|
|
604
604
|
this.upper = upper;
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
605
|
+
this.upperlabel = upperlabel;
|
|
606
|
+
this.uppercolor = uppercolor;
|
|
607
607
|
this.lower = lower;
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
608
|
+
this.lowerlabel = lowerlabel;
|
|
609
|
+
this.lowercolor = lowercolor;
|
|
610
610
|
}
|
|
611
611
|
return Limit;
|
|
612
612
|
}());
|
|
@@ -673,6 +673,92 @@
|
|
|
673
673
|
return LineSerie;
|
|
674
674
|
}());
|
|
675
675
|
|
|
676
|
+
/**
|
|
677
|
+
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
678
|
+
*/
|
|
679
|
+
var PageChartSelector = /** @class */ (function () {
|
|
680
|
+
function PageChartSelector() {
|
|
681
|
+
/**
|
|
682
|
+
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
683
|
+
*
|
|
684
|
+
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
685
|
+
*/
|
|
686
|
+
this.onPageChange = new core.EventEmitter();
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* @ignore
|
|
690
|
+
*/
|
|
691
|
+
PageChartSelector.prototype.ngOnChanges = function () {
|
|
692
|
+
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
693
|
+
throw new Error("Chart array cannot be empty!");
|
|
694
|
+
var idx = (this.StartIndex || 0);
|
|
695
|
+
this.currentindex = idx;
|
|
696
|
+
this.currentpage = idx + 1;
|
|
697
|
+
this.handlePageChange();
|
|
698
|
+
};
|
|
699
|
+
/**
|
|
700
|
+
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
701
|
+
* o i dati già presenti) e l'indice di visualizzazione
|
|
702
|
+
*/
|
|
703
|
+
PageChartSelector.prototype.handlePageChange = function () {
|
|
704
|
+
this.finalIndex = this.currentpage - 1;
|
|
705
|
+
this.currentindex = this.currentpage - 1;
|
|
706
|
+
var data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
707
|
+
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
708
|
+
};
|
|
709
|
+
/**
|
|
710
|
+
* Visualizza il grafico successivo
|
|
711
|
+
*/
|
|
712
|
+
PageChartSelector.prototype.Next = function () {
|
|
713
|
+
var _this = this;
|
|
714
|
+
// Per passare da page a index è sempre un -1
|
|
715
|
+
this.currentpage++;
|
|
716
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
717
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
718
|
+
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
719
|
+
setTimeout(function () {
|
|
720
|
+
if (_this.currentindex == _this.currentpage - 2)
|
|
721
|
+
_this.handlePageChange();
|
|
722
|
+
else
|
|
723
|
+
_this.currentindex++;
|
|
724
|
+
}, this.BrowseDelayMs);
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Visualizza il grafico precedente
|
|
728
|
+
*/
|
|
729
|
+
PageChartSelector.prototype.Previous = function () {
|
|
730
|
+
var _this = this;
|
|
731
|
+
// Per passare da page a index è sempre un -1
|
|
732
|
+
this.currentpage--;
|
|
733
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
734
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
735
|
+
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
736
|
+
setTimeout(function () {
|
|
737
|
+
if (_this.currentindex == _this.currentpage)
|
|
738
|
+
_this.handlePageChange();
|
|
739
|
+
else
|
|
740
|
+
_this.currentindex--;
|
|
741
|
+
}, this.BrowseDelayMs);
|
|
742
|
+
};
|
|
743
|
+
return PageChartSelector;
|
|
744
|
+
}());
|
|
745
|
+
PageChartSelector.decorators = [
|
|
746
|
+
{ type: core.Component, args: [{
|
|
747
|
+
selector: "chart-pager",
|
|
748
|
+
template: "<div *ngIf=\"(Items || Dtos) && (Items || Dtos).length > 0\" class=\"pcs-no-selection\">\r\n <div class=\"pcs-button pcs-backward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"currentpage != 1 && Previous(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"currentpage == 1 ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-left\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div class=\"pcs-infos\">\r\n <ng-container *ngIf=\"headerInner_tr\">\r\n <ng-container *ngTemplateOutlet=\"headerInner_tr; context : {$implicit: (Items || Dtos)[currentpage - 1]}\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"pcs-button pcs-forward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"(Items || Dtos).length != currentpage && Next(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"(Items || Dtos).length == currentpage ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-right\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n</div>",
|
|
749
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
750
|
+
styles: [".pcs-button{width:60px}.pcs-forward{float:right;text-align:end}.pcs-backward{float:left}.pcs-svg-header{width:57px;height:40px}.pcs-svg-button-container{outline:medium none currentcolor}.pcs-svg-arrow{pointer-events:none;fill:#555}.pcs-svg-arrow-right{transform:translate(44px,36px) rotate(180deg)}.pcs-svg-arrow-left{transform:translate(13px,4px)}.pcs-svg-button{fill:#d9d9d9;stroke:#fff;fill-opacity:1;stroke-opacity:1}.pcs-svg-button:hover{fill:#a3a3a3;cursor:pointer}.pcs-infos{width:calc(100% - 120px);height:44px;float:left}.pcs-no-selection{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}"]
|
|
751
|
+
},] }
|
|
752
|
+
];
|
|
753
|
+
PageChartSelector.propDecorators = {
|
|
754
|
+
Items: [{ type: core.Input }],
|
|
755
|
+
Dtos: [{ type: core.Input }],
|
|
756
|
+
BrowseDelayMs: [{ type: core.Input }],
|
|
757
|
+
StartIndex: [{ type: core.Input }],
|
|
758
|
+
onPageChange: [{ type: core.Output }],
|
|
759
|
+
headerInner_tr: [{ type: core.ContentChild, args: ['header_inner', { static: false },] }]
|
|
760
|
+
};
|
|
761
|
+
|
|
676
762
|
/** @ignore */
|
|
677
763
|
var _spiritedaway = 'spiritedaway';
|
|
678
764
|
/** @ignore */
|
|
@@ -1396,6 +1482,15 @@
|
|
|
1396
1482
|
if (this.logs)
|
|
1397
1483
|
console.log("@esfaenza/es-charts: " + log);
|
|
1398
1484
|
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Imposta lo zoom dal **from** al **to**
|
|
1487
|
+
*
|
|
1488
|
+
* @param {Date} from Inizio dello zoom
|
|
1489
|
+
* @param {Date} to Fine dello zoom
|
|
1490
|
+
*/
|
|
1491
|
+
BaseChartComponent.prototype.setSelection = function (from, to) {
|
|
1492
|
+
this.ChartService.setSelection(from, to);
|
|
1493
|
+
};
|
|
1399
1494
|
/**
|
|
1400
1495
|
* @ignore
|
|
1401
1496
|
*/
|
|
@@ -1503,11 +1598,11 @@
|
|
|
1503
1598
|
var range = yAxis.axisRanges.create();
|
|
1504
1599
|
range.value = dataConverted.limit.upper;
|
|
1505
1600
|
range.label.inside = true;
|
|
1506
|
-
range.label.text = dataConverted.limit.
|
|
1601
|
+
range.label.text = dataConverted.limit.upperlabel;
|
|
1507
1602
|
range.label.fill = range.grid.stroke;
|
|
1508
1603
|
range.label.verticalCenter = "bottom";
|
|
1509
|
-
range.label.stroke = am4core__namespace.color(dataConverted.limit.
|
|
1510
|
-
range.grid.stroke = am4core__namespace.color(dataConverted.limit.
|
|
1604
|
+
range.label.stroke = am4core__namespace.color(dataConverted.limit.uppercolor || "#F92200");
|
|
1605
|
+
range.grid.stroke = am4core__namespace.color(dataConverted.limit.uppercolor || "#F92200");
|
|
1511
1606
|
range.grid.strokeWidth = 2;
|
|
1512
1607
|
range.grid.strokeOpacity = 1;
|
|
1513
1608
|
}
|
|
@@ -1515,16 +1610,18 @@
|
|
|
1515
1610
|
var range = yAxis.axisRanges.create();
|
|
1516
1611
|
range.value = dataConverted.limit.lower;
|
|
1517
1612
|
range.label.inside = true;
|
|
1518
|
-
range.label.text = dataConverted.limit.
|
|
1613
|
+
range.label.text = dataConverted.limit.lowerlabel;
|
|
1519
1614
|
range.label.fill = range.grid.stroke;
|
|
1520
1615
|
range.label.verticalCenter = "bottom";
|
|
1521
|
-
range.label.stroke = am4core__namespace.color(dataConverted.limit.
|
|
1522
|
-
range.grid.stroke = am4core__namespace.color(dataConverted.limit.
|
|
1616
|
+
range.label.stroke = am4core__namespace.color(dataConverted.limit.lowercolor || "#F92200");
|
|
1617
|
+
range.grid.stroke = am4core__namespace.color(dataConverted.limit.lowercolor || "#F92200");
|
|
1523
1618
|
range.grid.strokeWidth = 2;
|
|
1524
1619
|
range.grid.strokeOpacity = 1;
|
|
1525
1620
|
}
|
|
1526
1621
|
}
|
|
1527
|
-
|
|
1622
|
+
// Per comatibilità col codice scritto quando non era a livello globale, mi scoccia sostituire
|
|
1623
|
+
var dateAxis = this.dateAxis;
|
|
1624
|
+
dateAxis = ChartInstanceCasted.xAxes.push(new am4charts__namespace.DateAxis());
|
|
1528
1625
|
if (settings.XAxisTitle) {
|
|
1529
1626
|
dateAxis.title.text = settings.XAxisTitle;
|
|
1530
1627
|
dateAxis.title.fontWeight = "bold";
|
|
@@ -1695,6 +1792,10 @@
|
|
|
1695
1792
|
return this;
|
|
1696
1793
|
};
|
|
1697
1794
|
/** @ignore */
|
|
1795
|
+
LineChartService.prototype.setSelection = function (from, to) {
|
|
1796
|
+
this.dateAxis.zoomToDates(from, to, true, true);
|
|
1797
|
+
};
|
|
1798
|
+
/** @ignore */
|
|
1698
1799
|
LineChartService.prototype.refreshData = function (data) {
|
|
1699
1800
|
var dataConverted = this.Adapter ? this.Adapter.adaptDataForLineChart(data) : data;
|
|
1700
1801
|
if (this.singleDataSet) {
|
|
@@ -1889,6 +1990,9 @@
|
|
|
1889
1990
|
return this;
|
|
1890
1991
|
};
|
|
1891
1992
|
/** @ignore */
|
|
1993
|
+
PieChartService.prototype.setSelection = function (from, to) {
|
|
1994
|
+
};
|
|
1995
|
+
/** @ignore */
|
|
1892
1996
|
PieChartService.prototype.refreshData = function (data) {
|
|
1893
1997
|
//TODO:IMPL
|
|
1894
1998
|
};
|
|
@@ -2001,6 +2105,9 @@
|
|
|
2001
2105
|
return this;
|
|
2002
2106
|
};
|
|
2003
2107
|
/** @ignore */
|
|
2108
|
+
VerticalChartService.prototype.setSelection = function (from, to) {
|
|
2109
|
+
};
|
|
2110
|
+
/** @ignore */
|
|
2004
2111
|
VerticalChartService.prototype.refreshData = function (data) {
|
|
2005
2112
|
//TODO:IMPL
|
|
2006
2113
|
};
|
|
@@ -2116,6 +2223,9 @@
|
|
|
2116
2223
|
return this;
|
|
2117
2224
|
};
|
|
2118
2225
|
/** @ignore */
|
|
2226
|
+
Vertical2DChartService.prototype.setSelection = function (from, to) {
|
|
2227
|
+
};
|
|
2228
|
+
/** @ignore */
|
|
2119
2229
|
Vertical2DChartService.prototype.refreshData = function (data) {
|
|
2120
2230
|
//TODO:IMPL
|
|
2121
2231
|
};
|
|
@@ -2276,6 +2386,9 @@
|
|
|
2276
2386
|
return this;
|
|
2277
2387
|
};
|
|
2278
2388
|
/** @ignore */
|
|
2389
|
+
VerticalStackedChartService.prototype.setSelection = function (from, to) {
|
|
2390
|
+
};
|
|
2391
|
+
/** @ignore */
|
|
2279
2392
|
VerticalStackedChartService.prototype.refreshData = function (data) {
|
|
2280
2393
|
//TODO:IMPL
|
|
2281
2394
|
};
|
|
@@ -2391,6 +2504,9 @@
|
|
|
2391
2504
|
return this;
|
|
2392
2505
|
};
|
|
2393
2506
|
/** @ignore */
|
|
2507
|
+
AreaChartService.prototype.setSelection = function (from, to) {
|
|
2508
|
+
};
|
|
2509
|
+
/** @ignore */
|
|
2394
2510
|
AreaChartService.prototype.refreshData = function (data) {
|
|
2395
2511
|
//TODO:IMPL
|
|
2396
2512
|
};
|
|
@@ -3052,92 +3168,6 @@
|
|
|
3052
3168
|
return PagedChartData;
|
|
3053
3169
|
}());
|
|
3054
3170
|
|
|
3055
|
-
/**
|
|
3056
|
-
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
3057
|
-
*/
|
|
3058
|
-
var PageChartSelector = /** @class */ (function () {
|
|
3059
|
-
function PageChartSelector() {
|
|
3060
|
-
/**
|
|
3061
|
-
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
3062
|
-
*
|
|
3063
|
-
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
3064
|
-
*/
|
|
3065
|
-
this.onPageChange = new core.EventEmitter();
|
|
3066
|
-
}
|
|
3067
|
-
/**
|
|
3068
|
-
* @ignore
|
|
3069
|
-
*/
|
|
3070
|
-
PageChartSelector.prototype.ngOnChanges = function () {
|
|
3071
|
-
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
3072
|
-
throw new Error("Chart array cannot be empty!");
|
|
3073
|
-
var idx = (this.StartIndex || 0);
|
|
3074
|
-
this.currentindex = idx;
|
|
3075
|
-
this.currentpage = idx + 1;
|
|
3076
|
-
this.handlePageChange();
|
|
3077
|
-
};
|
|
3078
|
-
/**
|
|
3079
|
-
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
3080
|
-
* o i dati già presenti) e l'indice di visualizzazione
|
|
3081
|
-
*/
|
|
3082
|
-
PageChartSelector.prototype.handlePageChange = function () {
|
|
3083
|
-
this.finalIndex = this.currentpage - 1;
|
|
3084
|
-
this.currentindex = this.currentpage - 1;
|
|
3085
|
-
var data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
3086
|
-
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
3087
|
-
};
|
|
3088
|
-
/**
|
|
3089
|
-
* Visualizza il grafico successivo
|
|
3090
|
-
*/
|
|
3091
|
-
PageChartSelector.prototype.Next = function () {
|
|
3092
|
-
var _this = this;
|
|
3093
|
-
// Per passare da page a index è sempre un -1
|
|
3094
|
-
this.currentpage++;
|
|
3095
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
3096
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
3097
|
-
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
3098
|
-
setTimeout(function () {
|
|
3099
|
-
if (_this.currentindex == _this.currentpage - 2)
|
|
3100
|
-
_this.handlePageChange();
|
|
3101
|
-
else
|
|
3102
|
-
_this.currentindex++;
|
|
3103
|
-
}, this.BrowseDelayMs);
|
|
3104
|
-
};
|
|
3105
|
-
/**
|
|
3106
|
-
* Visualizza il grafico precedente
|
|
3107
|
-
*/
|
|
3108
|
-
PageChartSelector.prototype.Previous = function () {
|
|
3109
|
-
var _this = this;
|
|
3110
|
-
// Per passare da page a index è sempre un -1
|
|
3111
|
-
this.currentpage--;
|
|
3112
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
3113
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
3114
|
-
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
3115
|
-
setTimeout(function () {
|
|
3116
|
-
if (_this.currentindex == _this.currentpage)
|
|
3117
|
-
_this.handlePageChange();
|
|
3118
|
-
else
|
|
3119
|
-
_this.currentindex--;
|
|
3120
|
-
}, this.BrowseDelayMs);
|
|
3121
|
-
};
|
|
3122
|
-
return PageChartSelector;
|
|
3123
|
-
}());
|
|
3124
|
-
PageChartSelector.decorators = [
|
|
3125
|
-
{ type: core.Component, args: [{
|
|
3126
|
-
selector: "chart-pager",
|
|
3127
|
-
template: "<div *ngIf=\"(Items || Dtos) && (Items || Dtos).length > 0\" class=\"pcs-no-selection\">\r\n <div class=\"pcs-button pcs-backward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"currentpage != 1 && Previous(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"currentpage == 1 ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-left\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div class=\"pcs-infos\">\r\n <ng-container *ngIf=\"headerInner_tr\">\r\n <ng-container *ngTemplateOutlet=\"headerInner_tr; context : {$implicit: (Items || Dtos)[currentpage - 1]}\"></ng-container>\r\n </ng-container>\r\n </div>\r\n <div class=\"pcs-button pcs-forward\">\r\n <svg class=\"pcs-svg-header\">\r\n <g class=\"pcs-svg-button-container\" role=\"button\" (click)=\"(Items || Dtos).length != currentpage && Next(); $event.stopPropagation(); $event.preventDefault();\">\r\n <!--Pulsante e freccettina all'interno-->\r\n <g class=\"pcs-svg-button\" [style.cursor]=\"(Items || Dtos).length == currentpage ? 'not-allowed' : 'pointer'\"><path d=\"M3,0 L53.027,0 a3,3 0 0 1 3,3 L56.027,36.817 a3,3 0 0 1 -3,3 L3,39.817 a3,3 0 0 1 -3,-3 L0,3 a3,3 0 0 1 3,-3 Z\"></path></g>\r\n <g class=\"pcs-svg-arrow pcs-svg-arrow-right\"><path d=\"M26,14H10l5.17-6.79A2,2,0,0,0,12,4.79l-7.62,10a2,2,0,0,0,0,2.42l7.62,10a2,2,0,0,0,3.18-2.42L10,18H26a2,2,0,0,0,0-4Z\"></path></g>\r\n </g>\r\n </svg>\r\n </div>\r\n <div style=\"clear: both;\"></div>\r\n</div>",
|
|
3128
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
3129
|
-
styles: [".pcs-button{width:60px}.pcs-forward{float:right;text-align:end}.pcs-backward{float:left}.pcs-svg-header{width:57px;height:40px}.pcs-svg-button-container{outline:medium none currentcolor}.pcs-svg-arrow{pointer-events:none;fill:#555}.pcs-svg-arrow-right{transform:translate(44px,36px) rotate(180deg)}.pcs-svg-arrow-left{transform:translate(13px,4px)}.pcs-svg-button{fill:#d9d9d9;stroke:#fff;fill-opacity:1;stroke-opacity:1}.pcs-svg-button:hover{fill:#a3a3a3;cursor:pointer}.pcs-infos{width:calc(100% - 120px);height:44px;float:left}.pcs-no-selection{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}"]
|
|
3130
|
-
},] }
|
|
3131
|
-
];
|
|
3132
|
-
PageChartSelector.propDecorators = {
|
|
3133
|
-
Items: [{ type: core.Input }],
|
|
3134
|
-
Dtos: [{ type: core.Input }],
|
|
3135
|
-
BrowseDelayMs: [{ type: core.Input }],
|
|
3136
|
-
StartIndex: [{ type: core.Input }],
|
|
3137
|
-
onPageChange: [{ type: core.Output }],
|
|
3138
|
-
headerInner_tr: [{ type: core.ContentChild, args: ['header_inner', { static: false },] }]
|
|
3139
|
-
};
|
|
3140
|
-
|
|
3141
3171
|
/** Componenti esportati dal modulo */
|
|
3142
3172
|
var COMPONENTS = [
|
|
3143
3173
|
EsChartComponent,
|
|
@@ -3208,6 +3238,7 @@
|
|
|
3208
3238
|
exports.LineChartData = LineChartData;
|
|
3209
3239
|
exports.LineChartSettings = LineChartSettings;
|
|
3210
3240
|
exports.LineSerie = LineSerie;
|
|
3241
|
+
exports.PageChartSelector = PageChartSelector;
|
|
3211
3242
|
exports.PagedChartData = PagedChartData;
|
|
3212
3243
|
exports.PieChartData = PieChartData;
|
|
3213
3244
|
exports.PieChartSettings = PieChartSettings;
|
|
@@ -3223,7 +3254,6 @@
|
|
|
3223
3254
|
exports.ɵd = ESC_ANIMATIONS;
|
|
3224
3255
|
exports.ɵe = ESC_THEME;
|
|
3225
3256
|
exports.ɵf = ESC_LOGS;
|
|
3226
|
-
exports.ɵg = PageChartSelector;
|
|
3227
3257
|
|
|
3228
3258
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3229
3259
|
|