@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injectable,
|
|
1
|
+
import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ContentChild, InjectionToken, Inject, Directive, ElementRef, NgZone, PLATFORM_ID, NgModule } from '@angular/core';
|
|
2
2
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
3
3
|
import * as am4core from '@amcharts/amcharts4/core';
|
|
4
4
|
import { DateService } from '@esfaenza/extensions';
|
|
@@ -219,13 +219,13 @@ class LegendPad {
|
|
|
219
219
|
*/
|
|
220
220
|
class Limit {
|
|
221
221
|
/** @ignore */
|
|
222
|
-
constructor(upper,
|
|
222
|
+
constructor(upper, upperlabel, uppercolor, lower, lowerlabel, lowercolor) {
|
|
223
223
|
this.upper = upper;
|
|
224
|
-
this.
|
|
225
|
-
this.
|
|
224
|
+
this.upperlabel = upperlabel;
|
|
225
|
+
this.uppercolor = uppercolor;
|
|
226
226
|
this.lower = lower;
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.lowerlabel = lowerlabel;
|
|
228
|
+
this.lowercolor = lowercolor;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|
|
@@ -287,6 +287,89 @@ class LineSerie {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
292
|
+
*/
|
|
293
|
+
class PageChartSelector {
|
|
294
|
+
constructor() {
|
|
295
|
+
/**
|
|
296
|
+
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
297
|
+
*
|
|
298
|
+
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
299
|
+
*/
|
|
300
|
+
this.onPageChange = new EventEmitter();
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @ignore
|
|
304
|
+
*/
|
|
305
|
+
ngOnChanges() {
|
|
306
|
+
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
307
|
+
throw new Error("Chart array cannot be empty!");
|
|
308
|
+
var idx = (this.StartIndex || 0);
|
|
309
|
+
this.currentindex = idx;
|
|
310
|
+
this.currentpage = idx + 1;
|
|
311
|
+
this.handlePageChange();
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
315
|
+
* o i dati già presenti) e l'indice di visualizzazione
|
|
316
|
+
*/
|
|
317
|
+
handlePageChange() {
|
|
318
|
+
this.finalIndex = this.currentpage - 1;
|
|
319
|
+
this.currentindex = this.currentpage - 1;
|
|
320
|
+
let data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
321
|
+
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Visualizza il grafico successivo
|
|
325
|
+
*/
|
|
326
|
+
Next() {
|
|
327
|
+
// Per passare da page a index è sempre un -1
|
|
328
|
+
this.currentpage++;
|
|
329
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
330
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
331
|
+
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
332
|
+
setTimeout(() => {
|
|
333
|
+
if (this.currentindex == this.currentpage - 2)
|
|
334
|
+
this.handlePageChange();
|
|
335
|
+
else
|
|
336
|
+
this.currentindex++;
|
|
337
|
+
}, this.BrowseDelayMs);
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Visualizza il grafico precedente
|
|
341
|
+
*/
|
|
342
|
+
Previous() {
|
|
343
|
+
// Per passare da page a index è sempre un -1
|
|
344
|
+
this.currentpage--;
|
|
345
|
+
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
346
|
+
// Delay pseudo-intelligente per click compulsivi.
|
|
347
|
+
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
348
|
+
setTimeout(() => {
|
|
349
|
+
if (this.currentindex == this.currentpage)
|
|
350
|
+
this.handlePageChange();
|
|
351
|
+
else
|
|
352
|
+
this.currentindex--;
|
|
353
|
+
}, this.BrowseDelayMs);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
PageChartSelector.decorators = [
|
|
357
|
+
{ type: Component, args: [{
|
|
358
|
+
selector: "chart-pager",
|
|
359
|
+
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>",
|
|
360
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
361
|
+
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}"]
|
|
362
|
+
},] }
|
|
363
|
+
];
|
|
364
|
+
PageChartSelector.propDecorators = {
|
|
365
|
+
Items: [{ type: Input }],
|
|
366
|
+
Dtos: [{ type: Input }],
|
|
367
|
+
BrowseDelayMs: [{ type: Input }],
|
|
368
|
+
StartIndex: [{ type: Input }],
|
|
369
|
+
onPageChange: [{ type: Output }],
|
|
370
|
+
headerInner_tr: [{ type: ContentChild, args: ['header_inner', { static: false },] }]
|
|
371
|
+
};
|
|
372
|
+
|
|
290
373
|
/** @ignore */
|
|
291
374
|
const _spiritedaway = 'spiritedaway';
|
|
292
375
|
/** @ignore */
|
|
@@ -918,6 +1001,15 @@ class BaseChartComponent {
|
|
|
918
1001
|
if (this.logs)
|
|
919
1002
|
console.log("@esfaenza/es-charts: " + log);
|
|
920
1003
|
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Imposta lo zoom dal **from** al **to**
|
|
1006
|
+
*
|
|
1007
|
+
* @param {Date} from Inizio dello zoom
|
|
1008
|
+
* @param {Date} to Fine dello zoom
|
|
1009
|
+
*/
|
|
1010
|
+
setSelection(from, to) {
|
|
1011
|
+
this.ChartService.setSelection(from, to);
|
|
1012
|
+
}
|
|
921
1013
|
/**
|
|
922
1014
|
* @ignore
|
|
923
1015
|
*/
|
|
@@ -1023,11 +1115,11 @@ class LineChartService {
|
|
|
1023
1115
|
let range = yAxis.axisRanges.create();
|
|
1024
1116
|
range.value = dataConverted.limit.upper;
|
|
1025
1117
|
range.label.inside = true;
|
|
1026
|
-
range.label.text = dataConverted.limit.
|
|
1118
|
+
range.label.text = dataConverted.limit.upperlabel;
|
|
1027
1119
|
range.label.fill = range.grid.stroke;
|
|
1028
1120
|
range.label.verticalCenter = "bottom";
|
|
1029
|
-
range.label.stroke = am4core.color(dataConverted.limit.
|
|
1030
|
-
range.grid.stroke = am4core.color(dataConverted.limit.
|
|
1121
|
+
range.label.stroke = am4core.color(dataConverted.limit.uppercolor || "#F92200");
|
|
1122
|
+
range.grid.stroke = am4core.color(dataConverted.limit.uppercolor || "#F92200");
|
|
1031
1123
|
range.grid.strokeWidth = 2;
|
|
1032
1124
|
range.grid.strokeOpacity = 1;
|
|
1033
1125
|
}
|
|
@@ -1035,16 +1127,18 @@ class LineChartService {
|
|
|
1035
1127
|
let range = yAxis.axisRanges.create();
|
|
1036
1128
|
range.value = dataConverted.limit.lower;
|
|
1037
1129
|
range.label.inside = true;
|
|
1038
|
-
range.label.text = dataConverted.limit.
|
|
1130
|
+
range.label.text = dataConverted.limit.lowerlabel;
|
|
1039
1131
|
range.label.fill = range.grid.stroke;
|
|
1040
1132
|
range.label.verticalCenter = "bottom";
|
|
1041
|
-
range.label.stroke = am4core.color(dataConverted.limit.
|
|
1042
|
-
range.grid.stroke = am4core.color(dataConverted.limit.
|
|
1133
|
+
range.label.stroke = am4core.color(dataConverted.limit.lowercolor || "#F92200");
|
|
1134
|
+
range.grid.stroke = am4core.color(dataConverted.limit.lowercolor || "#F92200");
|
|
1043
1135
|
range.grid.strokeWidth = 2;
|
|
1044
1136
|
range.grid.strokeOpacity = 1;
|
|
1045
1137
|
}
|
|
1046
1138
|
}
|
|
1047
|
-
|
|
1139
|
+
// Per comatibilità col codice scritto quando non era a livello globale, mi scoccia sostituire
|
|
1140
|
+
let dateAxis = this.dateAxis;
|
|
1141
|
+
dateAxis = ChartInstanceCasted.xAxes.push(new am4charts.DateAxis());
|
|
1048
1142
|
if (settings.XAxisTitle) {
|
|
1049
1143
|
dateAxis.title.text = settings.XAxisTitle;
|
|
1050
1144
|
dateAxis.title.fontWeight = "bold";
|
|
@@ -1215,6 +1309,10 @@ class LineChartService {
|
|
|
1215
1309
|
return this;
|
|
1216
1310
|
}
|
|
1217
1311
|
/** @ignore */
|
|
1312
|
+
setSelection(from, to) {
|
|
1313
|
+
this.dateAxis.zoomToDates(from, to, true, true);
|
|
1314
|
+
}
|
|
1315
|
+
/** @ignore */
|
|
1218
1316
|
refreshData(data) {
|
|
1219
1317
|
let dataConverted = this.Adapter ? this.Adapter.adaptDataForLineChart(data) : data;
|
|
1220
1318
|
if (this.singleDataSet) {
|
|
@@ -1406,6 +1504,9 @@ class PieChartService {
|
|
|
1406
1504
|
return this;
|
|
1407
1505
|
}
|
|
1408
1506
|
/** @ignore */
|
|
1507
|
+
setSelection(from, to) {
|
|
1508
|
+
}
|
|
1509
|
+
/** @ignore */
|
|
1409
1510
|
refreshData(data) {
|
|
1410
1511
|
//TODO:IMPL
|
|
1411
1512
|
}
|
|
@@ -1516,6 +1617,9 @@ class VerticalChartService {
|
|
|
1516
1617
|
return this;
|
|
1517
1618
|
}
|
|
1518
1619
|
/** @ignore */
|
|
1620
|
+
setSelection(from, to) {
|
|
1621
|
+
}
|
|
1622
|
+
/** @ignore */
|
|
1519
1623
|
refreshData(data) {
|
|
1520
1624
|
//TODO:IMPL
|
|
1521
1625
|
}
|
|
@@ -1629,6 +1733,9 @@ class Vertical2DChartService {
|
|
|
1629
1733
|
return this;
|
|
1630
1734
|
}
|
|
1631
1735
|
/** @ignore */
|
|
1736
|
+
setSelection(from, to) {
|
|
1737
|
+
}
|
|
1738
|
+
/** @ignore */
|
|
1632
1739
|
refreshData(data) {
|
|
1633
1740
|
//TODO:IMPL
|
|
1634
1741
|
}
|
|
@@ -1786,6 +1893,9 @@ class VerticalStackedChartService {
|
|
|
1786
1893
|
return this;
|
|
1787
1894
|
}
|
|
1788
1895
|
/** @ignore */
|
|
1896
|
+
setSelection(from, to) {
|
|
1897
|
+
}
|
|
1898
|
+
/** @ignore */
|
|
1789
1899
|
refreshData(data) {
|
|
1790
1900
|
//TODO:IMPL
|
|
1791
1901
|
}
|
|
@@ -1899,6 +2009,9 @@ class AreaChartService {
|
|
|
1899
2009
|
return this;
|
|
1900
2010
|
}
|
|
1901
2011
|
/** @ignore */
|
|
2012
|
+
setSelection(from, to) {
|
|
2013
|
+
}
|
|
2014
|
+
/** @ignore */
|
|
1902
2015
|
refreshData(data) {
|
|
1903
2016
|
//TODO:IMPL
|
|
1904
2017
|
}
|
|
@@ -2536,89 +2649,6 @@ class PagedChartData {
|
|
|
2536
2649
|
}
|
|
2537
2650
|
}
|
|
2538
2651
|
|
|
2539
|
-
/**
|
|
2540
|
-
* Componente che si occupa della paginazione dei grafici qualora servisse
|
|
2541
|
-
*/
|
|
2542
|
-
class PageChartSelector {
|
|
2543
|
-
constructor() {
|
|
2544
|
-
/**
|
|
2545
|
-
* Indica un cambio di pagina ed emette un oggetto con i dati attuali e l'indice attuale.
|
|
2546
|
-
*
|
|
2547
|
-
* Qualora la proprietà **data** fosse null indica un evento di "loading"
|
|
2548
|
-
*/
|
|
2549
|
-
this.onPageChange = new EventEmitter();
|
|
2550
|
-
}
|
|
2551
|
-
/**
|
|
2552
|
-
* @ignore
|
|
2553
|
-
*/
|
|
2554
|
-
ngOnChanges() {
|
|
2555
|
-
if (!(this.Items || this.Dtos) || (this.Items || this.Dtos).length == 0)
|
|
2556
|
-
throw new Error("Chart array cannot be empty!");
|
|
2557
|
-
var idx = (this.StartIndex || 0);
|
|
2558
|
-
this.currentindex = idx;
|
|
2559
|
-
this.currentpage = idx + 1;
|
|
2560
|
-
this.handlePageChange();
|
|
2561
|
-
}
|
|
2562
|
-
/**
|
|
2563
|
-
* Gestisce un cambio pagina inviando al callback **onPageChange** i dati attuali (siano essi il Dto per il caricamento dati i
|
|
2564
|
-
* o i dati già presenti) e l'indice di visualizzazione
|
|
2565
|
-
*/
|
|
2566
|
-
handlePageChange() {
|
|
2567
|
-
this.finalIndex = this.currentpage - 1;
|
|
2568
|
-
this.currentindex = this.currentpage - 1;
|
|
2569
|
-
let data = this.Items && this.Items.length > 0 ? this.Items[this.finalIndex].data : this.Dtos[this.finalIndex];
|
|
2570
|
-
this.onPageChange.emit({ data: data, index: this.finalIndex });
|
|
2571
|
-
}
|
|
2572
|
-
/**
|
|
2573
|
-
* Visualizza il grafico successivo
|
|
2574
|
-
*/
|
|
2575
|
-
Next() {
|
|
2576
|
-
// Per passare da page a index è sempre un -1
|
|
2577
|
-
this.currentpage++;
|
|
2578
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
2579
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
2580
|
-
// Se dopo questo delay sono andato avanti solo di 1 effettuo il callback altrimenti incremento l'indice
|
|
2581
|
-
setTimeout(() => {
|
|
2582
|
-
if (this.currentindex == this.currentpage - 2)
|
|
2583
|
-
this.handlePageChange();
|
|
2584
|
-
else
|
|
2585
|
-
this.currentindex++;
|
|
2586
|
-
}, this.BrowseDelayMs);
|
|
2587
|
-
}
|
|
2588
|
-
/**
|
|
2589
|
-
* Visualizza il grafico precedente
|
|
2590
|
-
*/
|
|
2591
|
-
Previous() {
|
|
2592
|
-
// Per passare da page a index è sempre un -1
|
|
2593
|
-
this.currentpage--;
|
|
2594
|
-
this.onPageChange.emit({ data: null, index: this.currentpage - 1 });
|
|
2595
|
-
// Delay pseudo-intelligente per click compulsivi.
|
|
2596
|
-
// Se dopo questo delay sono andato indietro solo di 1 effettuo il callback altrimenti decremento l'indice
|
|
2597
|
-
setTimeout(() => {
|
|
2598
|
-
if (this.currentindex == this.currentpage)
|
|
2599
|
-
this.handlePageChange();
|
|
2600
|
-
else
|
|
2601
|
-
this.currentindex--;
|
|
2602
|
-
}, this.BrowseDelayMs);
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
PageChartSelector.decorators = [
|
|
2606
|
-
{ type: Component, args: [{
|
|
2607
|
-
selector: "chart-pager",
|
|
2608
|
-
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>",
|
|
2609
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2610
|
-
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}"]
|
|
2611
|
-
},] }
|
|
2612
|
-
];
|
|
2613
|
-
PageChartSelector.propDecorators = {
|
|
2614
|
-
Items: [{ type: Input }],
|
|
2615
|
-
Dtos: [{ type: Input }],
|
|
2616
|
-
BrowseDelayMs: [{ type: Input }],
|
|
2617
|
-
StartIndex: [{ type: Input }],
|
|
2618
|
-
onPageChange: [{ type: Output }],
|
|
2619
|
-
headerInner_tr: [{ type: ContentChild, args: ['header_inner', { static: false },] }]
|
|
2620
|
-
};
|
|
2621
|
-
|
|
2622
2652
|
/** Componenti esportati dal modulo */
|
|
2623
2653
|
const COMPONENTS = [
|
|
2624
2654
|
EsChartComponent,
|
|
@@ -2663,5 +2693,5 @@ EsChartsModule.decorators = [
|
|
|
2663
2693
|
* Generated bundle index. Do not edit.
|
|
2664
2694
|
*/
|
|
2665
2695
|
|
|
2666
|
-
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseChartComponent, BaseInterval, BaseSettings, ChartThemes, DateValue, EsAreaChartComponent, EsChartComponent, EsChartsModule, EsLineChartComponent, EsPieChartComponent, EsVertical2DChartComponent, EsVerticalChartComponent, EsVerticalStackedChartComponent, KeyValue, KeyValueColor, LegendPad, Limit, LineChartData, LineChartSettings, LineSerie, PagedChartData, PieChartData, PieChartSettings, Vertical2DChartData, Vertical2DChartSettings, VerticalChartData, VerticalChartSettings, VerticalStackedChartData, VerticalStackedChartSettings, ChartLoader as ɵa, ChartDispatcher as ɵb, ESC_LOCALE as ɵc, ESC_ANIMATIONS as ɵd, ESC_THEME as ɵe, ESC_LOGS as ɵf
|
|
2696
|
+
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseChartComponent, BaseInterval, BaseSettings, ChartThemes, DateValue, EsAreaChartComponent, EsChartComponent, EsChartsModule, EsLineChartComponent, EsPieChartComponent, EsVertical2DChartComponent, EsVerticalChartComponent, EsVerticalStackedChartComponent, KeyValue, KeyValueColor, LegendPad, Limit, LineChartData, LineChartSettings, LineSerie, PageChartSelector, PagedChartData, PieChartData, PieChartSettings, Vertical2DChartData, Vertical2DChartSettings, VerticalChartData, VerticalChartSettings, VerticalStackedChartData, VerticalStackedChartSettings, ChartLoader as ɵa, ChartDispatcher as ɵb, ESC_LOCALE as ɵc, ESC_ANIMATIONS as ɵd, ESC_THEME as ɵe, ESC_LOGS as ɵf };
|
|
2667
2697
|
//# sourceMappingURL=esfaenza-es-charts.js.map
|