@esfaenza/es-charts 15.2.6 → 15.2.8
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/esm2020/lib/components/base/base-chart.component.mjs +2 -2
- package/esm2020/lib/components/specializations/es-area-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-line-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-pie-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-vertical-2d-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-vertical-chart.component.mjs +6 -6
- package/esm2020/lib/components/specializations/es-vertical-stacked-chart.component.mjs +6 -6
- package/esm2020/lib/es-charts.module.mjs +3 -3
- package/esm2020/lib/models/core/ChartDispatcher.mjs +4 -4
- package/esm2020/lib/models/core/ChartLoader.mjs +4 -4
- package/esm2020/lib/services/AreaChartService.mjs +22 -2
- package/esm2020/lib/services/LineChartService.mjs +22 -2
- package/esm2020/lib/tokens.mjs +2 -2
- package/fesm2015/esfaenza-es-charts.mjs +78 -38
- package/fesm2015/esfaenza-es-charts.mjs.map +1 -1
- package/fesm2020/esfaenza-es-charts.mjs +78 -38
- package/fesm2020/esfaenza-es-charts.mjs.map +1 -1
- package/lib/components/base/base-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-area-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-line-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-pie-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-2d-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-chart.component.d.ts +1 -1
- package/lib/components/specializations/es-vertical-stacked-chart.component.d.ts +1 -1
- package/lib/services/AreaChartService.d.ts +1 -0
- package/lib/services/LineChartService.d.ts +1 -0
- package/lib/tokens.d.ts +1 -1
- package/package.json +1 -1
|
@@ -456,7 +456,7 @@ const ESC_THEME = new InjectionToken('ESC_THEME');
|
|
|
456
456
|
/**
|
|
457
457
|
* Token che identifica l'utilizzo o meno del sistema di Log per l'intera libreria
|
|
458
458
|
*/
|
|
459
|
-
const
|
|
459
|
+
const ESC_DEBUG_MODE = new InjectionToken('ESC_DEBUG_MODE');
|
|
460
460
|
|
|
461
461
|
/**
|
|
462
462
|
* Classe di supporto al caricamento dinamico dei vari pezzi di amcharts che mi servono per il grafico (temi, locali, ecc...)
|
|
@@ -657,13 +657,13 @@ class ChartLoader {
|
|
|
657
657
|
console.log("@esfaenza/es-charts: " + text);
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
|
-
ChartLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartLoader, deps: [{ token:
|
|
660
|
+
ChartLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartLoader, deps: [{ token: ESC_DEBUG_MODE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
661
661
|
ChartLoader.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartLoader });
|
|
662
662
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartLoader, decorators: [{
|
|
663
663
|
type: Injectable
|
|
664
664
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
665
665
|
type: Inject,
|
|
666
|
-
args: [
|
|
666
|
+
args: [ESC_DEBUG_MODE]
|
|
667
667
|
}] }]; } });
|
|
668
668
|
|
|
669
669
|
/**
|
|
@@ -745,13 +745,13 @@ class ChartDispatcher {
|
|
|
745
745
|
console.log("@esfaenza/es-charts: " + text);
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
ChartDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher, deps: [{ token:
|
|
748
|
+
ChartDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher, deps: [{ token: ESC_DEBUG_MODE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
749
749
|
ChartDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher });
|
|
750
750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher, decorators: [{
|
|
751
751
|
type: Injectable
|
|
752
752
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
753
753
|
type: Inject,
|
|
754
|
-
args: [
|
|
754
|
+
args: [ESC_DEBUG_MODE]
|
|
755
755
|
}] }]; } });
|
|
756
756
|
|
|
757
757
|
/**
|
|
@@ -767,7 +767,7 @@ class BaseChartComponent {
|
|
|
767
767
|
* @param {NgZone} zone NgZone di default per permettere di inizializzare il grafico all'infuori di Angular per avere qualche prestazione in più
|
|
768
768
|
* @param {ChartLoader} Charter Istanza del Loader che si occuperà di caricare in memoria tutto ciò che serve per il grafico attuale (temi, locale, animazioni, ecc...)
|
|
769
769
|
* @param {ChartDispatcher} Dispatcher Istanza del Dispatcher che si occupa di differire il caricamento dei grafici 1 dopo l'altro in modo che caricamenti pseudo paralleli incasinino tutto
|
|
770
|
-
* @param {boolean} logs Indica se effettuare log a console o meno, iniettato dalle classi specializzate dal token
|
|
770
|
+
* @param {boolean} logs Indica se effettuare log a console o meno, iniettato dalle classi specializzate dal token ESC_DEBUG_MODE
|
|
771
771
|
* @param {boolean} animations Indica se per questo grafico devono essere attive o meno le animazioni. Impostazione generica presa dal token ESC_ANIMATIONS
|
|
772
772
|
* @param {string} locale Indica il locale specifico per questo grafico. Impostazione generica presa dal LocalizationService
|
|
773
773
|
* @param {string} theme Indica il tema specifico per questo grafico. Impostazione generica presa dal token ESC_THEME
|
|
@@ -1220,7 +1220,7 @@ class LineChartService {
|
|
|
1220
1220
|
console.error("Per utilizzare la funzionalità dei gap è obbligatorio definire un intervallo nelle serie del grafico");
|
|
1221
1221
|
return null;
|
|
1222
1222
|
}
|
|
1223
|
-
dateAxis.baseInterval = { count: interval.count, timeUnit: interval.timeunit };
|
|
1223
|
+
dateAxis.baseInterval = { count: interval.count, timeUnit: this.fixTimeUnit(interval.timeunit) };
|
|
1224
1224
|
}
|
|
1225
1225
|
if (showTimeline)
|
|
1226
1226
|
ChartInstanceCasted.scrollbarX = new am4charts.XYChartScrollbar();
|
|
@@ -1369,6 +1369,26 @@ class LineChartService {
|
|
|
1369
1369
|
dateAxis.events.on("endchanged", t => this.emitSelectionChanged(t, settings));
|
|
1370
1370
|
return this;
|
|
1371
1371
|
}
|
|
1372
|
+
fixTimeUnit(tu) {
|
|
1373
|
+
if (tu === 0)
|
|
1374
|
+
return "millisecond";
|
|
1375
|
+
else if (tu === 1)
|
|
1376
|
+
return "second";
|
|
1377
|
+
else if (tu === 2)
|
|
1378
|
+
return "minute";
|
|
1379
|
+
else if (tu === 3)
|
|
1380
|
+
return "hour";
|
|
1381
|
+
else if (tu === 4)
|
|
1382
|
+
return "day";
|
|
1383
|
+
else if (tu === 5)
|
|
1384
|
+
return "week";
|
|
1385
|
+
else if (tu === 6)
|
|
1386
|
+
return "month";
|
|
1387
|
+
else if (tu === 7)
|
|
1388
|
+
return "year";
|
|
1389
|
+
else
|
|
1390
|
+
return tu;
|
|
1391
|
+
}
|
|
1372
1392
|
/** @ignore */
|
|
1373
1393
|
setSelection(from, to) {
|
|
1374
1394
|
this.dateAxis.zoomToDates(from, to, true, true);
|
|
@@ -2041,7 +2061,7 @@ class AreaChartService {
|
|
|
2041
2061
|
dateAxis.renderer.ticks.template.location = 0;
|
|
2042
2062
|
}
|
|
2043
2063
|
if (!!interval)
|
|
2044
|
-
dateAxis.baseInterval = { count: interval.count, timeUnit: interval.timeunit };
|
|
2064
|
+
dateAxis.baseInterval = { count: interval.count, timeUnit: this.fixTimeUnit(interval.timeunit) };
|
|
2045
2065
|
// Unisco il dataset e tiro fuori i dati
|
|
2046
2066
|
let chartData = [];
|
|
2047
2067
|
let seriesToMakeCache = {};
|
|
@@ -2068,6 +2088,26 @@ class AreaChartService {
|
|
|
2068
2088
|
dateAxis.events.on("endchanged", t => this.emitSelectionChanged(t, settings));
|
|
2069
2089
|
return this;
|
|
2070
2090
|
}
|
|
2091
|
+
fixTimeUnit(tu) {
|
|
2092
|
+
if (tu === 0)
|
|
2093
|
+
return "millisecond";
|
|
2094
|
+
else if (tu === 1)
|
|
2095
|
+
return "second";
|
|
2096
|
+
else if (tu === 2)
|
|
2097
|
+
return "minute";
|
|
2098
|
+
else if (tu === 3)
|
|
2099
|
+
return "hour";
|
|
2100
|
+
else if (tu === 4)
|
|
2101
|
+
return "day";
|
|
2102
|
+
else if (tu === 5)
|
|
2103
|
+
return "week";
|
|
2104
|
+
else if (tu === 6)
|
|
2105
|
+
return "month";
|
|
2106
|
+
else if (tu === 7)
|
|
2107
|
+
return "year";
|
|
2108
|
+
else
|
|
2109
|
+
return tu;
|
|
2110
|
+
}
|
|
2071
2111
|
/** @ignore */
|
|
2072
2112
|
setSelection(from, to) {
|
|
2073
2113
|
}
|
|
@@ -2122,8 +2162,8 @@ class EsChartComponent extends BaseChartComponent {
|
|
|
2122
2162
|
/**
|
|
2123
2163
|
* @ignore
|
|
2124
2164
|
*/
|
|
2125
|
-
constructor(el, ChartLoader, ChartDispatcher, dateService, adapter, zone, platformId,
|
|
2126
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2165
|
+
constructor(el, ChartLoader, ChartDispatcher, dateService, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2166
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2127
2167
|
this.dateService = dateService;
|
|
2128
2168
|
this.adapter = adapter;
|
|
2129
2169
|
}
|
|
@@ -2185,7 +2225,7 @@ class EsChartComponent extends BaseChartComponent {
|
|
|
2185
2225
|
}
|
|
2186
2226
|
}
|
|
2187
2227
|
}
|
|
2188
|
-
EsChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: i3.DateService }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2228
|
+
EsChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: i3.DateService }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2189
2229
|
EsChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsChartComponent, selector: "es-chart", inputs: { Type: "Type", Data: "Data", DataArray: "DataArray" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2190
2230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsChartComponent, decorators: [{
|
|
2191
2231
|
type: Component,
|
|
@@ -2195,7 +2235,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2195
2235
|
args: [PLATFORM_ID]
|
|
2196
2236
|
}] }, { type: undefined, decorators: [{
|
|
2197
2237
|
type: Inject,
|
|
2198
|
-
args: [
|
|
2238
|
+
args: [ESC_DEBUG_MODE]
|
|
2199
2239
|
}] }, { type: undefined, decorators: [{
|
|
2200
2240
|
type: Inject,
|
|
2201
2241
|
args: [ESC_ANIMATIONS]
|
|
@@ -2217,8 +2257,8 @@ class EsAreaChartComponent extends BaseChartComponent {
|
|
|
2217
2257
|
/**
|
|
2218
2258
|
* @ignore
|
|
2219
2259
|
*/
|
|
2220
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2221
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2260
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2261
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2222
2262
|
this.adapter = adapter;
|
|
2223
2263
|
}
|
|
2224
2264
|
/**
|
|
@@ -2252,7 +2292,7 @@ class EsAreaChartComponent extends BaseChartComponent {
|
|
|
2252
2292
|
return new AreaChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2253
2293
|
}
|
|
2254
2294
|
}
|
|
2255
|
-
EsAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsAreaChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2295
|
+
EsAreaChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsAreaChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2256
2296
|
EsAreaChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsAreaChartComponent, selector: "es-area-chart", inputs: { Data: "Data", DataArray: "DataArray" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2257
2297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsAreaChartComponent, decorators: [{
|
|
2258
2298
|
type: Component,
|
|
@@ -2262,7 +2302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2262
2302
|
args: [PLATFORM_ID]
|
|
2263
2303
|
}] }, { type: undefined, decorators: [{
|
|
2264
2304
|
type: Inject,
|
|
2265
|
-
args: [
|
|
2305
|
+
args: [ESC_DEBUG_MODE]
|
|
2266
2306
|
}] }, { type: undefined, decorators: [{
|
|
2267
2307
|
type: Inject,
|
|
2268
2308
|
args: [ESC_ANIMATIONS]
|
|
@@ -2282,8 +2322,8 @@ class EsLineChartComponent extends BaseChartComponent {
|
|
|
2282
2322
|
/**
|
|
2283
2323
|
* @ignore
|
|
2284
2324
|
*/
|
|
2285
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, dateService, zone, platformId,
|
|
2286
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2325
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, dateService, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2326
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2287
2327
|
this.adapter = adapter;
|
|
2288
2328
|
this.dateService = dateService;
|
|
2289
2329
|
}
|
|
@@ -2329,7 +2369,7 @@ class EsLineChartComponent extends BaseChartComponent {
|
|
|
2329
2369
|
return new LineChartService(this.adapter, this.dateService).graphicate(this.Data, settingsCasted);
|
|
2330
2370
|
}
|
|
2331
2371
|
}
|
|
2332
|
-
EsLineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsLineChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i3.DateService }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2372
|
+
EsLineChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsLineChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i3.DateService }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2333
2373
|
EsLineChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsLineChartComponent, selector: "es-line-chart", inputs: { Data: "Data", DataArray: "DataArray", Step: "Step", DataGroupBucketSize: "DataGroupBucketSize", DataGroupingThreshold: "DataGroupingThreshold", StrokeSize: "StrokeSize", AllowGaps: "AllowGaps", MergeDatasets: "MergeDatasets", FinalInstants: "FinalInstants", Min: "Min", Max: "Max", Fill: "Fill", Stacked: "Stacked" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2334
2374
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsLineChartComponent, decorators: [{
|
|
2335
2375
|
type: Component,
|
|
@@ -2339,7 +2379,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2339
2379
|
args: [PLATFORM_ID]
|
|
2340
2380
|
}] }, { type: undefined, decorators: [{
|
|
2341
2381
|
type: Inject,
|
|
2342
|
-
args: [
|
|
2382
|
+
args: [ESC_DEBUG_MODE]
|
|
2343
2383
|
}] }, { type: undefined, decorators: [{
|
|
2344
2384
|
type: Inject,
|
|
2345
2385
|
args: [ESC_ANIMATIONS]
|
|
@@ -2381,8 +2421,8 @@ class EsPieChartComponent extends BaseChartComponent {
|
|
|
2381
2421
|
/**
|
|
2382
2422
|
* @ignore
|
|
2383
2423
|
*/
|
|
2384
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2385
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2424
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2425
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2386
2426
|
this.adapter = adapter;
|
|
2387
2427
|
}
|
|
2388
2428
|
/**
|
|
@@ -2423,7 +2463,7 @@ class EsPieChartComponent extends BaseChartComponent {
|
|
|
2423
2463
|
return new PieChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2424
2464
|
}
|
|
2425
2465
|
}
|
|
2426
|
-
EsPieChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsPieChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2466
|
+
EsPieChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsPieChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2427
2467
|
EsPieChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsPieChartComponent, selector: "es-pie-chart", inputs: { Data: "Data", DataArray: "DataArray", HideZeroes: "HideZeroes", Mode3D: "Mode3D", DonutRadiusPercentage: "DonutRadiusPercentage", LabelsWrap: "LabelsWrap", LabelsTruncate: "LabelsTruncate", LabelsWidth: "LabelsWidth", LabelsVisible: "LabelsVisible" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2428
2468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsPieChartComponent, decorators: [{
|
|
2429
2469
|
type: Component,
|
|
@@ -2433,7 +2473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2433
2473
|
args: [PLATFORM_ID]
|
|
2434
2474
|
}] }, { type: undefined, decorators: [{
|
|
2435
2475
|
type: Inject,
|
|
2436
|
-
args: [
|
|
2476
|
+
args: [ESC_DEBUG_MODE]
|
|
2437
2477
|
}] }, { type: undefined, decorators: [{
|
|
2438
2478
|
type: Inject,
|
|
2439
2479
|
args: [ESC_ANIMATIONS]
|
|
@@ -2467,8 +2507,8 @@ class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
2467
2507
|
/**
|
|
2468
2508
|
* @ignore
|
|
2469
2509
|
*/
|
|
2470
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2471
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2510
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2511
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2472
2512
|
this.adapter = adapter;
|
|
2473
2513
|
}
|
|
2474
2514
|
/**
|
|
@@ -2508,7 +2548,7 @@ class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
2508
2548
|
return new Vertical2DChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2509
2549
|
}
|
|
2510
2550
|
}
|
|
2511
|
-
EsVertical2DChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVertical2DChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2551
|
+
EsVertical2DChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVertical2DChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2512
2552
|
EsVertical2DChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsVertical2DChartComponent, selector: "es-vertical-2d-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", GroupPaddingPercentage: "GroupPaddingPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2513
2553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVertical2DChartComponent, decorators: [{
|
|
2514
2554
|
type: Component,
|
|
@@ -2518,7 +2558,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2518
2558
|
args: [PLATFORM_ID]
|
|
2519
2559
|
}] }, { type: undefined, decorators: [{
|
|
2520
2560
|
type: Inject,
|
|
2521
|
-
args: [
|
|
2561
|
+
args: [ESC_DEBUG_MODE]
|
|
2522
2562
|
}] }, { type: undefined, decorators: [{
|
|
2523
2563
|
type: Inject,
|
|
2524
2564
|
args: [ESC_ANIMATIONS]
|
|
@@ -2550,8 +2590,8 @@ class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
2550
2590
|
/**
|
|
2551
2591
|
* @ignore
|
|
2552
2592
|
*/
|
|
2553
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2554
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2593
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2594
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2555
2595
|
this.adapter = adapter;
|
|
2556
2596
|
}
|
|
2557
2597
|
/**
|
|
@@ -2590,7 +2630,7 @@ class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
2590
2630
|
return new VerticalChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2591
2631
|
}
|
|
2592
2632
|
}
|
|
2593
|
-
EsVerticalChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2633
|
+
EsVerticalChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2594
2634
|
EsVerticalChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsVerticalChartComponent, selector: "es-vertical-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2595
2635
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalChartComponent, decorators: [{
|
|
2596
2636
|
type: Component,
|
|
@@ -2600,7 +2640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2600
2640
|
args: [PLATFORM_ID]
|
|
2601
2641
|
}] }, { type: undefined, decorators: [{
|
|
2602
2642
|
type: Inject,
|
|
2603
|
-
args: [
|
|
2643
|
+
args: [ESC_DEBUG_MODE]
|
|
2604
2644
|
}] }, { type: undefined, decorators: [{
|
|
2605
2645
|
type: Inject,
|
|
2606
2646
|
args: [ESC_ANIMATIONS]
|
|
@@ -2630,8 +2670,8 @@ class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
|
2630
2670
|
/**
|
|
2631
2671
|
* @ignore
|
|
2632
2672
|
*/
|
|
2633
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2634
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2673
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2674
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2635
2675
|
this.adapter = adapter;
|
|
2636
2676
|
}
|
|
2637
2677
|
/**
|
|
@@ -2670,7 +2710,7 @@ class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
|
2670
2710
|
return new VerticalStackedChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2671
2711
|
}
|
|
2672
2712
|
}
|
|
2673
|
-
EsVerticalStackedChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalStackedChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token:
|
|
2713
|
+
EsVerticalStackedChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalStackedChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartLoader }, { token: ChartDispatcher }, { token: BaseAdapter }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: ESC_DEBUG_MODE }, { token: ESC_ANIMATIONS }, { token: ESC_THEME }, { token: i4.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2674
2714
|
EsVerticalStackedChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: EsVerticalStackedChartComponent, selector: "es-vertical-stacked-chart", inputs: { Data: "Data", DataArray: "DataArray", ColumnWidthPercentage: "ColumnWidthPercentage", LabelWidth: "LabelWidth", LabelVerticalOrientationCutoffWidth: "LabelVerticalOrientationCutoffWidth", LabelRightWhenCompressed: "LabelRightWhenCompressed", LabelTopWhenCompressed: "LabelTopWhenCompressed" }, usesInheritance: true, ngImport: i0, template: "<chart-pager *ngIf=\"isPaged\" (onPageChange)=\"changePage($event)\" [Items]=\"DataArray\" [Dtos]=\"DataDtos\" [StartIndex]=\"DataDtoStartIndex\"\r\n [BrowseDelayMs]=\"BrowseDelayMs\">\r\n <ng-template #header_inner let-headerItem>\r\n <ng-container *ngTemplateOutlet=\"header_tr; context : {$implicit: headerItem}\"></ng-container>\r\n </ng-template>\r\n</chart-pager>\r\n\r\n<ng-container *ngIf=\"loadingChart && loading_template\">\r\n <div style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <ng-container *ngTemplateOutlet=\"loading_template\"></ng-container>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"loadingChart && !loading_template\">\r\n <div class=\"esc-loading-overlay\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\">\r\n <p class=\"label\">Loading....</p>\r\n </div>\r\n</ng-container>\r\n\r\n<div [class.hide-block]=\"loadingChart\" id=\"{{name}}\" style=\"width: 100%;\" [style.height]=\"isPaged ? 'calc(100% - 44px)' : '100%'\"></div>", styles: [".esc-loading-overlay{background:rgba(153,153,153,.6);text-transform:uppercase;font-size:30px;font-weight:700;color:#fff;text-align:center;font-family:monospace}.esc-loading-overlay .label{margin:0;padding-top:7%}.hide-block{display:none}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PageChartSelector, selector: "chart-pager", inputs: ["Items", "Dtos", "BrowseDelayMs", "StartIndex"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2675
2715
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalStackedChartComponent, decorators: [{
|
|
2676
2716
|
type: Component,
|
|
@@ -2680,7 +2720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2680
2720
|
args: [PLATFORM_ID]
|
|
2681
2721
|
}] }, { type: undefined, decorators: [{
|
|
2682
2722
|
type: Inject,
|
|
2683
|
-
args: [
|
|
2723
|
+
args: [ESC_DEBUG_MODE]
|
|
2684
2724
|
}] }, { type: undefined, decorators: [{
|
|
2685
2725
|
type: Inject,
|
|
2686
2726
|
args: [ESC_ANIMATIONS]
|
|
@@ -2743,7 +2783,7 @@ class EsChartsModule {
|
|
|
2743
2783
|
ChartDispatcher,
|
|
2744
2784
|
{ provide: ESC_ANIMATIONS, useValue: config?.animations == null || config?.animations == undefined ? true : config?.animations },
|
|
2745
2785
|
{ provide: ESC_THEME, useValue: config?.theme || 'spiritedaway' },
|
|
2746
|
-
{ provide:
|
|
2786
|
+
{ provide: ESC_DEBUG_MODE, useValue: config?.debugMode || false },
|
|
2747
2787
|
{ provide: BaseAdapter, useClass: config?.adapter || BaseAdapter }
|
|
2748
2788
|
]
|
|
2749
2789
|
};
|
|
@@ -2783,5 +2823,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2783
2823
|
* Generated bundle index. Do not edit.
|
|
2784
2824
|
*/
|
|
2785
2825
|
|
|
2786
|
-
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseChartComponent, BaseInterval, BaseSettings, ChartThemes, DateValue, ESC_ANIMATIONS,
|
|
2826
|
+
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseChartComponent, BaseInterval, BaseSettings, ChartThemes, DateValue, ESC_ANIMATIONS, ESC_DEBUG_MODE, ESC_THEME, 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 };
|
|
2787
2827
|
//# sourceMappingURL=esfaenza-es-charts.mjs.map
|