@esfaenza/es-table 20.3.13 → 20.3.14

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/index.d.ts CHANGED
@@ -1617,7 +1617,13 @@ declare class Logger {
1617
1617
  debugMode: boolean;
1618
1618
  /** @ignore */
1619
1619
  constructor(debugMode: boolean);
1620
- log(text: string): void;
1620
+ /**
1621
+ * Emette un log a console solo se la modalità debug è attiva.
1622
+ *
1623
+ * Il testo può essere passato come funzione (**lazy**): in tal caso viene valutato solo quando il debug è attivo,
1624
+ * evitando di costruire stringhe costose (es. interpolazioni per-cella) quando i log sono disabilitati.
1625
+ */
1626
+ log(text: string | (() => string)): void;
1621
1627
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Logger, [{ optional: true; }]>;
1622
1628
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<Logger>;
1623
1629
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/es-table",
3
- "version": "20.3.13",
3
+ "version": "20.3.14",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },