myio-js-library 0.1.552 → 0.1.554

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/dist/index.d.cts CHANGED
@@ -19440,11 +19440,23 @@ interface GridColumnsOptions {
19440
19440
  valueLabel?: string;
19441
19441
  /** Omite a coluna % (participação não tem semântica para temperatura). */
19442
19442
  hidePerc?: boolean;
19443
+ /** Colunas extras após o valor (ex.: Mín/Máx) — células vêm de `extraCells` de cada linha. */
19444
+ extraColumns?: Array<{
19445
+ label: string;
19446
+ pdfW?: number;
19447
+ }>;
19448
+ /** Texto quando o valor é nulo (default '—'; ex.: 'Sem leitura'). */
19449
+ emptyValueText?: string;
19450
+ /** Rótulo da contagem no header do PDF (default 'dispositivo(s)'; ex.: 'sensor(es)', 'dia(s)'). */
19451
+ countLabel?: string;
19452
+ /** Casas decimais FIXAS do valor (ex.: 2 → "30,00" como na tela). Default: até 3, sem mínimo. */
19453
+ valueDecimals?: number;
19443
19454
  }
19444
19455
  declare function exportGridCsv(devices: TelemetryDevice[], label: string, unit: string, period?: ExportPeriod | null, customerName?: string | null): void;
19445
19456
  declare function exportGridXls(devices: TelemetryDevice[], label: string, unit: string, period?: ExportPeriod | null, customerName?: string | null, options?: {
19446
19457
  accentColor?: string;
19447
19458
  columns?: GridColumnsOptions | null;
19459
+ kpis?: GridPdfKpi[];
19448
19460
  } | null): void;
19449
19461
  /** KPI exibido na faixa abaixo do header da primeira página. */
19450
19462
  interface GridPdfKpi {
package/dist/index.d.ts CHANGED
@@ -19440,11 +19440,23 @@ interface GridColumnsOptions {
19440
19440
  valueLabel?: string;
19441
19441
  /** Omite a coluna % (participação não tem semântica para temperatura). */
19442
19442
  hidePerc?: boolean;
19443
+ /** Colunas extras após o valor (ex.: Mín/Máx) — células vêm de `extraCells` de cada linha. */
19444
+ extraColumns?: Array<{
19445
+ label: string;
19446
+ pdfW?: number;
19447
+ }>;
19448
+ /** Texto quando o valor é nulo (default '—'; ex.: 'Sem leitura'). */
19449
+ emptyValueText?: string;
19450
+ /** Rótulo da contagem no header do PDF (default 'dispositivo(s)'; ex.: 'sensor(es)', 'dia(s)'). */
19451
+ countLabel?: string;
19452
+ /** Casas decimais FIXAS do valor (ex.: 2 → "30,00" como na tela). Default: até 3, sem mínimo. */
19453
+ valueDecimals?: number;
19443
19454
  }
19444
19455
  declare function exportGridCsv(devices: TelemetryDevice[], label: string, unit: string, period?: ExportPeriod | null, customerName?: string | null): void;
19445
19456
  declare function exportGridXls(devices: TelemetryDevice[], label: string, unit: string, period?: ExportPeriod | null, customerName?: string | null, options?: {
19446
19457
  accentColor?: string;
19447
19458
  columns?: GridColumnsOptions | null;
19459
+ kpis?: GridPdfKpi[];
19448
19460
  } | null): void;
19449
19461
  /** KPI exibido na faixa abaixo do header da primeira página. */
19450
19462
  interface GridPdfKpi {