@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,14 +657,14 @@ 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 () {
|
|
665
665
|
return [{ type: undefined, decorators: [{
|
|
666
666
|
type: Inject,
|
|
667
|
-
args: [
|
|
667
|
+
args: [ESC_DEBUG_MODE]
|
|
668
668
|
}] }];
|
|
669
669
|
} });
|
|
670
670
|
|
|
@@ -747,14 +747,14 @@ class ChartDispatcher {
|
|
|
747
747
|
console.log("@esfaenza/es-charts: " + text);
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
ChartDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher, deps: [{ token:
|
|
750
|
+
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 });
|
|
751
751
|
ChartDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher });
|
|
752
752
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ChartDispatcher, decorators: [{
|
|
753
753
|
type: Injectable
|
|
754
754
|
}], ctorParameters: function () {
|
|
755
755
|
return [{ type: undefined, decorators: [{
|
|
756
756
|
type: Inject,
|
|
757
|
-
args: [
|
|
757
|
+
args: [ESC_DEBUG_MODE]
|
|
758
758
|
}] }];
|
|
759
759
|
} });
|
|
760
760
|
|
|
@@ -771,7 +771,7 @@ class BaseChartComponent {
|
|
|
771
771
|
* @param {NgZone} zone NgZone di default per permettere di inizializzare il grafico all'infuori di Angular per avere qualche prestazione in più
|
|
772
772
|
* @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...)
|
|
773
773
|
* @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
|
|
774
|
-
* @param {boolean} logs Indica se effettuare log a console o meno, iniettato dalle classi specializzate dal token
|
|
774
|
+
* @param {boolean} logs Indica se effettuare log a console o meno, iniettato dalle classi specializzate dal token ESC_DEBUG_MODE
|
|
775
775
|
* @param {boolean} animations Indica se per questo grafico devono essere attive o meno le animazioni. Impostazione generica presa dal token ESC_ANIMATIONS
|
|
776
776
|
* @param {string} locale Indica il locale specifico per questo grafico. Impostazione generica presa dal LocalizationService
|
|
777
777
|
* @param {string} theme Indica il tema specifico per questo grafico. Impostazione generica presa dal token ESC_THEME
|
|
@@ -1230,7 +1230,7 @@ class LineChartService {
|
|
|
1230
1230
|
console.error("Per utilizzare la funzionalità dei gap è obbligatorio definire un intervallo nelle serie del grafico");
|
|
1231
1231
|
return null;
|
|
1232
1232
|
}
|
|
1233
|
-
dateAxis.baseInterval = { count: interval.count, timeUnit: interval.timeunit };
|
|
1233
|
+
dateAxis.baseInterval = { count: interval.count, timeUnit: this.fixTimeUnit(interval.timeunit) };
|
|
1234
1234
|
}
|
|
1235
1235
|
if (showTimeline)
|
|
1236
1236
|
ChartInstanceCasted.scrollbarX = new am4charts.XYChartScrollbar();
|
|
@@ -1380,6 +1380,26 @@ class LineChartService {
|
|
|
1380
1380
|
dateAxis.events.on("endchanged", t => this.emitSelectionChanged(t, settings));
|
|
1381
1381
|
return this;
|
|
1382
1382
|
}
|
|
1383
|
+
fixTimeUnit(tu) {
|
|
1384
|
+
if (tu === 0)
|
|
1385
|
+
return "millisecond";
|
|
1386
|
+
else if (tu === 1)
|
|
1387
|
+
return "second";
|
|
1388
|
+
else if (tu === 2)
|
|
1389
|
+
return "minute";
|
|
1390
|
+
else if (tu === 3)
|
|
1391
|
+
return "hour";
|
|
1392
|
+
else if (tu === 4)
|
|
1393
|
+
return "day";
|
|
1394
|
+
else if (tu === 5)
|
|
1395
|
+
return "week";
|
|
1396
|
+
else if (tu === 6)
|
|
1397
|
+
return "month";
|
|
1398
|
+
else if (tu === 7)
|
|
1399
|
+
return "year";
|
|
1400
|
+
else
|
|
1401
|
+
return tu;
|
|
1402
|
+
}
|
|
1383
1403
|
/** @ignore */
|
|
1384
1404
|
setSelection(from, to) {
|
|
1385
1405
|
this.dateAxis.zoomToDates(from, to, true, true);
|
|
@@ -2062,7 +2082,7 @@ class AreaChartService {
|
|
|
2062
2082
|
dateAxis.renderer.ticks.template.location = 0;
|
|
2063
2083
|
}
|
|
2064
2084
|
if (!!interval)
|
|
2065
|
-
dateAxis.baseInterval = { count: interval.count, timeUnit: interval.timeunit };
|
|
2085
|
+
dateAxis.baseInterval = { count: interval.count, timeUnit: this.fixTimeUnit(interval.timeunit) };
|
|
2066
2086
|
// Unisco il dataset e tiro fuori i dati
|
|
2067
2087
|
let chartData = [];
|
|
2068
2088
|
let seriesToMakeCache = {};
|
|
@@ -2089,6 +2109,26 @@ class AreaChartService {
|
|
|
2089
2109
|
dateAxis.events.on("endchanged", t => this.emitSelectionChanged(t, settings));
|
|
2090
2110
|
return this;
|
|
2091
2111
|
}
|
|
2112
|
+
fixTimeUnit(tu) {
|
|
2113
|
+
if (tu === 0)
|
|
2114
|
+
return "millisecond";
|
|
2115
|
+
else if (tu === 1)
|
|
2116
|
+
return "second";
|
|
2117
|
+
else if (tu === 2)
|
|
2118
|
+
return "minute";
|
|
2119
|
+
else if (tu === 3)
|
|
2120
|
+
return "hour";
|
|
2121
|
+
else if (tu === 4)
|
|
2122
|
+
return "day";
|
|
2123
|
+
else if (tu === 5)
|
|
2124
|
+
return "week";
|
|
2125
|
+
else if (tu === 6)
|
|
2126
|
+
return "month";
|
|
2127
|
+
else if (tu === 7)
|
|
2128
|
+
return "year";
|
|
2129
|
+
else
|
|
2130
|
+
return tu;
|
|
2131
|
+
}
|
|
2092
2132
|
/** @ignore */
|
|
2093
2133
|
setSelection(from, to) {
|
|
2094
2134
|
}
|
|
@@ -2143,8 +2183,8 @@ class EsChartComponent extends BaseChartComponent {
|
|
|
2143
2183
|
/**
|
|
2144
2184
|
* @ignore
|
|
2145
2185
|
*/
|
|
2146
|
-
constructor(el, ChartLoader, ChartDispatcher, dateService, adapter, zone, platformId,
|
|
2147
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2186
|
+
constructor(el, ChartLoader, ChartDispatcher, dateService, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2187
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2148
2188
|
this.dateService = dateService;
|
|
2149
2189
|
this.adapter = adapter;
|
|
2150
2190
|
}
|
|
@@ -2207,7 +2247,7 @@ class EsChartComponent extends BaseChartComponent {
|
|
|
2207
2247
|
}
|
|
2208
2248
|
}
|
|
2209
2249
|
}
|
|
2210
|
-
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:
|
|
2250
|
+
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 });
|
|
2211
2251
|
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 });
|
|
2212
2252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsChartComponent, decorators: [{
|
|
2213
2253
|
type: Component,
|
|
@@ -2218,7 +2258,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2218
2258
|
args: [PLATFORM_ID]
|
|
2219
2259
|
}] }, { type: undefined, decorators: [{
|
|
2220
2260
|
type: Inject,
|
|
2221
|
-
args: [
|
|
2261
|
+
args: [ESC_DEBUG_MODE]
|
|
2222
2262
|
}] }, { type: undefined, decorators: [{
|
|
2223
2263
|
type: Inject,
|
|
2224
2264
|
args: [ESC_ANIMATIONS]
|
|
@@ -2241,8 +2281,8 @@ class EsAreaChartComponent extends BaseChartComponent {
|
|
|
2241
2281
|
/**
|
|
2242
2282
|
* @ignore
|
|
2243
2283
|
*/
|
|
2244
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2245
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2284
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2285
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2246
2286
|
this.adapter = adapter;
|
|
2247
2287
|
}
|
|
2248
2288
|
/**
|
|
@@ -2277,7 +2317,7 @@ class EsAreaChartComponent extends BaseChartComponent {
|
|
|
2277
2317
|
return new AreaChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2278
2318
|
}
|
|
2279
2319
|
}
|
|
2280
|
-
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:
|
|
2320
|
+
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 });
|
|
2281
2321
|
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 });
|
|
2282
2322
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsAreaChartComponent, decorators: [{
|
|
2283
2323
|
type: Component,
|
|
@@ -2288,7 +2328,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2288
2328
|
args: [PLATFORM_ID]
|
|
2289
2329
|
}] }, { type: undefined, decorators: [{
|
|
2290
2330
|
type: Inject,
|
|
2291
|
-
args: [
|
|
2331
|
+
args: [ESC_DEBUG_MODE]
|
|
2292
2332
|
}] }, { type: undefined, decorators: [{
|
|
2293
2333
|
type: Inject,
|
|
2294
2334
|
args: [ESC_ANIMATIONS]
|
|
@@ -2309,8 +2349,8 @@ class EsLineChartComponent extends BaseChartComponent {
|
|
|
2309
2349
|
/**
|
|
2310
2350
|
* @ignore
|
|
2311
2351
|
*/
|
|
2312
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, dateService, zone, platformId,
|
|
2313
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2352
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, dateService, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2353
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2314
2354
|
this.adapter = adapter;
|
|
2315
2355
|
this.dateService = dateService;
|
|
2316
2356
|
}
|
|
@@ -2357,7 +2397,7 @@ class EsLineChartComponent extends BaseChartComponent {
|
|
|
2357
2397
|
return new LineChartService(this.adapter, this.dateService).graphicate(this.Data, settingsCasted);
|
|
2358
2398
|
}
|
|
2359
2399
|
}
|
|
2360
|
-
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:
|
|
2400
|
+
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 });
|
|
2361
2401
|
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 });
|
|
2362
2402
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsLineChartComponent, decorators: [{
|
|
2363
2403
|
type: Component,
|
|
@@ -2368,7 +2408,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2368
2408
|
args: [PLATFORM_ID]
|
|
2369
2409
|
}] }, { type: undefined, decorators: [{
|
|
2370
2410
|
type: Inject,
|
|
2371
|
-
args: [
|
|
2411
|
+
args: [ESC_DEBUG_MODE]
|
|
2372
2412
|
}] }, { type: undefined, decorators: [{
|
|
2373
2413
|
type: Inject,
|
|
2374
2414
|
args: [ESC_ANIMATIONS]
|
|
@@ -2411,8 +2451,8 @@ class EsPieChartComponent extends BaseChartComponent {
|
|
|
2411
2451
|
/**
|
|
2412
2452
|
* @ignore
|
|
2413
2453
|
*/
|
|
2414
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2415
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2454
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2455
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2416
2456
|
this.adapter = adapter;
|
|
2417
2457
|
}
|
|
2418
2458
|
/**
|
|
@@ -2454,7 +2494,7 @@ class EsPieChartComponent extends BaseChartComponent {
|
|
|
2454
2494
|
return new PieChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2455
2495
|
}
|
|
2456
2496
|
}
|
|
2457
|
-
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:
|
|
2497
|
+
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 });
|
|
2458
2498
|
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 });
|
|
2459
2499
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsPieChartComponent, decorators: [{
|
|
2460
2500
|
type: Component,
|
|
@@ -2465,7 +2505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2465
2505
|
args: [PLATFORM_ID]
|
|
2466
2506
|
}] }, { type: undefined, decorators: [{
|
|
2467
2507
|
type: Inject,
|
|
2468
|
-
args: [
|
|
2508
|
+
args: [ESC_DEBUG_MODE]
|
|
2469
2509
|
}] }, { type: undefined, decorators: [{
|
|
2470
2510
|
type: Inject,
|
|
2471
2511
|
args: [ESC_ANIMATIONS]
|
|
@@ -2500,8 +2540,8 @@ class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
2500
2540
|
/**
|
|
2501
2541
|
* @ignore
|
|
2502
2542
|
*/
|
|
2503
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2504
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2543
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2544
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2505
2545
|
this.adapter = adapter;
|
|
2506
2546
|
}
|
|
2507
2547
|
/**
|
|
@@ -2542,7 +2582,7 @@ class EsVertical2DChartComponent extends BaseChartComponent {
|
|
|
2542
2582
|
return new Vertical2DChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2543
2583
|
}
|
|
2544
2584
|
}
|
|
2545
|
-
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:
|
|
2585
|
+
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 });
|
|
2546
2586
|
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 });
|
|
2547
2587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVertical2DChartComponent, decorators: [{
|
|
2548
2588
|
type: Component,
|
|
@@ -2553,7 +2593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2553
2593
|
args: [PLATFORM_ID]
|
|
2554
2594
|
}] }, { type: undefined, decorators: [{
|
|
2555
2595
|
type: Inject,
|
|
2556
|
-
args: [
|
|
2596
|
+
args: [ESC_DEBUG_MODE]
|
|
2557
2597
|
}] }, { type: undefined, decorators: [{
|
|
2558
2598
|
type: Inject,
|
|
2559
2599
|
args: [ESC_ANIMATIONS]
|
|
@@ -2586,8 +2626,8 @@ class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
2586
2626
|
/**
|
|
2587
2627
|
* @ignore
|
|
2588
2628
|
*/
|
|
2589
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2590
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2629
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2630
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2591
2631
|
this.adapter = adapter;
|
|
2592
2632
|
}
|
|
2593
2633
|
/**
|
|
@@ -2627,7 +2667,7 @@ class EsVerticalChartComponent extends BaseChartComponent {
|
|
|
2627
2667
|
return new VerticalChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2628
2668
|
}
|
|
2629
2669
|
}
|
|
2630
|
-
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:
|
|
2670
|
+
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 });
|
|
2631
2671
|
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 });
|
|
2632
2672
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalChartComponent, decorators: [{
|
|
2633
2673
|
type: Component,
|
|
@@ -2638,7 +2678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2638
2678
|
args: [PLATFORM_ID]
|
|
2639
2679
|
}] }, { type: undefined, decorators: [{
|
|
2640
2680
|
type: Inject,
|
|
2641
|
-
args: [
|
|
2681
|
+
args: [ESC_DEBUG_MODE]
|
|
2642
2682
|
}] }, { type: undefined, decorators: [{
|
|
2643
2683
|
type: Inject,
|
|
2644
2684
|
args: [ESC_ANIMATIONS]
|
|
@@ -2669,8 +2709,8 @@ class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
|
2669
2709
|
/**
|
|
2670
2710
|
* @ignore
|
|
2671
2711
|
*/
|
|
2672
|
-
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId,
|
|
2673
|
-
super(el, platformId, zone, ChartLoader, ChartDispatcher,
|
|
2712
|
+
constructor(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_DEBUG_MODE, ESC_ANIMATIONS, ESC_THEME, lc) {
|
|
2713
|
+
super(el, platformId, zone, ChartLoader, ChartDispatcher, ESC_DEBUG_MODE, ESC_ANIMATIONS, lc.Locale, ESC_THEME);
|
|
2674
2714
|
this.adapter = adapter;
|
|
2675
2715
|
}
|
|
2676
2716
|
/**
|
|
@@ -2710,7 +2750,7 @@ class EsVerticalStackedChartComponent extends BaseChartComponent {
|
|
|
2710
2750
|
return new VerticalStackedChartService(this.adapter).graphicate(this.Data, settingsCasted);
|
|
2711
2751
|
}
|
|
2712
2752
|
}
|
|
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:
|
|
2753
|
+
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 });
|
|
2714
2754
|
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 });
|
|
2715
2755
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EsVerticalStackedChartComponent, decorators: [{
|
|
2716
2756
|
type: Component,
|
|
@@ -2721,7 +2761,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2721
2761
|
args: [PLATFORM_ID]
|
|
2722
2762
|
}] }, { type: undefined, decorators: [{
|
|
2723
2763
|
type: Inject,
|
|
2724
|
-
args: [
|
|
2764
|
+
args: [ESC_DEBUG_MODE]
|
|
2725
2765
|
}] }, { type: undefined, decorators: [{
|
|
2726
2766
|
type: Inject,
|
|
2727
2767
|
args: [ESC_ANIMATIONS]
|
|
@@ -2785,7 +2825,7 @@ class EsChartsModule {
|
|
|
2785
2825
|
ChartDispatcher,
|
|
2786
2826
|
{ provide: ESC_ANIMATIONS, useValue: (config === null || config === void 0 ? void 0 : config.animations) == null || (config === null || config === void 0 ? void 0 : config.animations) == undefined ? true : config === null || config === void 0 ? void 0 : config.animations },
|
|
2787
2827
|
{ provide: ESC_THEME, useValue: (config === null || config === void 0 ? void 0 : config.theme) || 'spiritedaway' },
|
|
2788
|
-
{ provide:
|
|
2828
|
+
{ provide: ESC_DEBUG_MODE, useValue: (config === null || config === void 0 ? void 0 : config.debugMode) || false },
|
|
2789
2829
|
{ provide: BaseAdapter, useClass: (config === null || config === void 0 ? void 0 : config.adapter) || BaseAdapter }
|
|
2790
2830
|
]
|
|
2791
2831
|
};
|
|
@@ -2825,5 +2865,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2825
2865
|
* Generated bundle index. Do not edit.
|
|
2826
2866
|
*/
|
|
2827
2867
|
|
|
2828
|
-
export { AreaChartData, AreaChartSettings, BaseAdapter, BaseChartComponent, BaseInterval, BaseSettings, ChartThemes, DateValue, ESC_ANIMATIONS,
|
|
2868
|
+
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 };
|
|
2829
2869
|
//# sourceMappingURL=esfaenza-es-charts.mjs.map
|