@esfaenza/es-charts 11.2.7 → 11.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.
@@ -911,6 +911,7 @@
911
911
  * 4) Creazione grafico 2
912
912
  *
913
913
  */
914
+ //@Injectable()
914
915
  var ChartLoader = /** @class */ (function () {
915
916
  /**
916
917
  * @ignore
@@ -1097,13 +1098,7 @@
1097
1098
  console.log("@esfaenza/es-charts: " + text);
1098
1099
  };
1099
1100
  return ChartLoader;
1100
- }());
1101
- ChartLoader.decorators = [
1102
- { type: core.Injectable }
1103
- ];
1104
- ChartLoader.ctorParameters = function () { return [
1105
- { type: Boolean, decorators: [{ type: core.Inject, args: [ESC_LOGS,] }] }
1106
- ]; };
1101
+ }());
1107
1102
 
1108
1103
  /**
1109
1104
  * Componente Grafico Base che gestisce tutte le cose comuni dei vari grafici istanziabili, come la presenza o menu di una legenda,
@@ -3091,7 +3086,7 @@
3091
3086
  { provide: ESC_THEME, useValue: (config === null || config === void 0 ? void 0 : config.theme) || 'spiritedaway' },
3092
3087
  { 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
3088
  { provide: BaseAdapter, useClass: (config === null || config === void 0 ? void 0 : config.adapter) || BaseAdapter },
3094
- { provide: ChartLoader, useClass: ChartLoader }
3089
+ { 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) }
3095
3090
  ]
3096
3091
  };
3097
3092
  };