@esfaenza/es-charts 12.2.8 → 12.2.9
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 +7 -13
- package/bundles/esfaenza-es-charts.umd.js.map +1 -1
- package/esfaenza-es-charts.metadata.json +1 -1
- package/esm2015/lib/components/specializations/es-area-chart.component.js +2 -5
- package/esm2015/lib/es-charts.module.js +5 -3
- package/esm2015/lib/models/core/classes/ChartLoader.js +1 -9
- package/esm2015/lib/tokens.js +2 -2
- package/fesm2015/esfaenza-es-charts.js +7 -13
- package/fesm2015/esfaenza-es-charts.js.map +1 -1
- package/lib/components/specializations/es-area-chart.component.d.ts +1 -3
- package/package.json +1 -1
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
/**
|
|
667
667
|
* Token che identifica l'utilizzo o meno del sistema di Log per l'intera libreria
|
|
668
668
|
*/
|
|
669
|
-
var ESC_LOGS = new core.InjectionToken('
|
|
669
|
+
var ESC_LOGS = new core.InjectionToken('ESC_LOGS');
|
|
670
670
|
|
|
671
671
|
/**
|
|
672
672
|
* 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
|
|
@@ -1095,13 +1095,7 @@
|
|
|
1095
1095
|
console.log("@esfaenza/es-charts: " + text);
|
|
1096
1096
|
};
|
|
1097
1097
|
return ChartLoader;
|
|
1098
|
-
}());
|
|
1099
|
-
ChartLoader.decorators = [
|
|
1100
|
-
{ type: core.Injectable }
|
|
1101
|
-
];
|
|
1102
|
-
ChartLoader.ctorParameters = function () { return [
|
|
1103
|
-
{ type: Boolean, decorators: [{ type: core.Inject, args: [ESC_LOGS,] }] }
|
|
1104
|
-
]; };
|
|
1098
|
+
}());
|
|
1105
1099
|
|
|
1106
1100
|
/**
|
|
1107
1101
|
* Componente Grafico Base che gestisce tutte le cose comuni dei vari grafici istanziabili, come la presenza o menu di una legenda,
|
|
@@ -2473,10 +2467,9 @@
|
|
|
2473
2467
|
/**
|
|
2474
2468
|
* @ignore
|
|
2475
2469
|
*/
|
|
2476
|
-
function EsAreaChartComponent(el, ChartLoader, ChartDispatcher, adapter,
|
|
2470
|
+
function EsAreaChartComponent(el, ChartLoader, ChartDispatcher, adapter, zone, platformId, ESC_LOGS, ESC_ANIMATIONS, ESC_LOCALE, ESC_THEME) {
|
|
2477
2471
|
var _this = _super.call(this, el, platformId, zone, ChartLoader, ChartDispatcher, ESC_LOGS, ESC_ANIMATIONS, ESC_LOCALE, ESC_THEME) || this;
|
|
2478
2472
|
_this.adapter = adapter;
|
|
2479
|
-
_this.dateService = dateService;
|
|
2480
2473
|
return _this;
|
|
2481
2474
|
}
|
|
2482
2475
|
/**
|
|
@@ -2525,7 +2518,6 @@
|
|
|
2525
2518
|
{ type: ChartLoader },
|
|
2526
2519
|
{ type: ChartDispatcher },
|
|
2527
2520
|
{ type: BaseAdapter },
|
|
2528
|
-
{ type: extensions.DateService },
|
|
2529
2521
|
{ type: core.NgZone },
|
|
2530
2522
|
{ type: Object, decorators: [{ type: core.Inject, args: [core.PLATFORM_ID,] }] },
|
|
2531
2523
|
{ type: Boolean, decorators: [{ type: core.Inject, args: [ESC_LOGS,] }] },
|
|
@@ -3090,7 +3082,9 @@
|
|
|
3090
3082
|
{ provide: ESC_ANIMATIONS, useValue: (config === null || config === void 0 ? void 0 : config.animations) == null ? true : config === null || config === void 0 ? void 0 : config.animations },
|
|
3091
3083
|
{ provide: ESC_THEME, useValue: (config === null || config === void 0 ? void 0 : config.theme) || 'spiritedaway' },
|
|
3092
3084
|
{ provide: ESC_LOGS, useValue: (config === null || config === void 0 ? void 0 : config.debugMode) == null ? false : config === null || config === void 0 ? void 0 : config.debugMode },
|
|
3093
|
-
{ provide: BaseAdapter, useClass: (config === null || config === void 0 ? void 0 : config.adapter) || BaseAdapter }
|
|
3085
|
+
{ provide: BaseAdapter, useClass: (config === null || config === void 0 ? void 0 : config.adapter) || BaseAdapter },
|
|
3086
|
+
// Singleton cattiva by Ema. Verificare strade migliori
|
|
3087
|
+
{ provide: ChartLoader, useValue: new ChartLoader((config === null || config === void 0 ? void 0 : config.debugMode) == null ? false : config === null || config === void 0 ? void 0 : config.debugMode) }
|
|
3094
3088
|
]
|
|
3095
3089
|
};
|
|
3096
3090
|
};
|
|
@@ -3100,7 +3094,7 @@
|
|
|
3100
3094
|
{ type: core.NgModule, args: [{
|
|
3101
3095
|
imports: [common.CommonModule],
|
|
3102
3096
|
declarations: __spreadArray([], __read(COMPONENTS)),
|
|
3103
|
-
providers: [
|
|
3097
|
+
providers: [ChartDispatcher],
|
|
3104
3098
|
exports: __spreadArray([], __read(COMPONENTS))
|
|
3105
3099
|
},] }
|
|
3106
3100
|
];
|