@esfaenza/es-charts 11.2.5 → 11.2.6
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 +163 -164
- 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.metadata.json +1 -1
- package/esm2015/lib/es-charts.module.js +3 -2
- package/esm2015/lib/models/core/classes/ChartLoader.js +2 -5
- package/esm2015/lib/tokens.js +2 -2
- package/fesm2015/esfaenza-es-charts.js +3 -4
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
1
|
import { Injectable, InjectionToken, Inject, EventEmitter, Directive, ElementRef, NgZone, Input, ContentChild, Output, Component, ChangeDetectionStrategy, PLATFORM_ID, NgModule } from '@angular/core';
|
|
3
2
|
import { DateService } from '@esfaenza/extensions';
|
|
4
3
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
@@ -284,7 +283,7 @@ const ESC_THEME = new InjectionToken('ESC_THEME');
|
|
|
284
283
|
/**
|
|
285
284
|
* Token che identifica l'utilizzo o meno del sistema di Log per l'intera libreria
|
|
286
285
|
*/
|
|
287
|
-
const ESC_LOGS = new InjectionToken('
|
|
286
|
+
const ESC_LOGS = new InjectionToken('ESC_LOGS');
|
|
288
287
|
|
|
289
288
|
/**
|
|
290
289
|
* Classe che si occupa del dispatch delle operazioni di rendering dei grafici utilizzando una coda per permettere ad ogni grafico di avere temi e localizzazione custom
|
|
@@ -632,9 +631,8 @@ class ChartLoader {
|
|
|
632
631
|
console.log("@esfaenza/es-charts: " + text);
|
|
633
632
|
}
|
|
634
633
|
}
|
|
635
|
-
ChartLoader.ɵprov = i0.ɵɵdefineInjectable({ factory: function ChartLoader_Factory() { return new ChartLoader(i0.ɵɵinject(ESC_LOGS)); }, token: ChartLoader, providedIn: "root" });
|
|
636
634
|
ChartLoader.decorators = [
|
|
637
|
-
{ type: Injectable
|
|
635
|
+
{ type: Injectable }
|
|
638
636
|
];
|
|
639
637
|
ChartLoader.ctorParameters = () => [
|
|
640
638
|
{ type: Boolean, decorators: [{ type: Inject, args: [ESC_LOGS,] }] }
|
|
@@ -2570,6 +2568,7 @@ class EsChartsModule {
|
|
|
2570
2568
|
return {
|
|
2571
2569
|
ngModule: EsChartsModule,
|
|
2572
2570
|
providers: [
|
|
2571
|
+
{ provide: ChartLoader },
|
|
2573
2572
|
{ provide: ESC_LOCALE, useValue: (config === null || config === void 0 ? void 0 : config.locale) || 'it-IT' },
|
|
2574
2573
|
{ provide: ESC_ANIMATIONS, useValue: (config === null || config === void 0 ? void 0 : config.animations) == null ? true : config === null || config === void 0 ? void 0 : config.animations },
|
|
2575
2574
|
{ provide: ESC_THEME, useValue: (config === null || config === void 0 ? void 0 : config.theme) || 'spiritedaway' },
|