myio-js-library 0.1.49 → 0.1.51

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.cjs CHANGED
@@ -2580,12 +2580,14 @@ function renderCardComponentV2({
2580
2580
  return str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase();
2581
2581
  }
2582
2582
  const deviceImages = {
2583
- MOTOR: "https://dashboard.myio-bas.com/api/images/public/8Ezn8qVBJ3jXD0iDfnEAZ0MZhAP1b5Ts",
2583
+ MOTOR: "https://dashboard.myio-bas.com/api/images/public/Rge8Q3t0CP5PW8XyTn9bBK9aVP6uzSTT",
2584
2584
  "3F_MEDIDOR": "https://dashboard.myio-bas.com/api/images/public/f9Ce4meybsdaAhAkUlAfy5ei3I4kcN4k",
2585
2585
  RELOGIO: "https://dashboard.myio-bas.com/api/images/public/ljHZostWg0G5AfKiyM8oZixWRIIGRASB",
2586
2586
  HIDROMETRO: "https://dashboard.myio-bas.com/api/images/public/aMQYFJbGHs9gQbQkMn6XseAlUZHanBR4",
2587
2587
  ENTRADA: "https://dashboard.myio-bas.com/api/images/public/TQHPFqiejMW6lOSVsb8Pi85WtC0QKOLU",
2588
- CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq"
2588
+ CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq",
2589
+ ELEVADOR: "https://dashboard.myio-bas.com/api/images/public/rAjOvdsYJLGah6w6BABPJSD9znIyrkJX",
2590
+ ESCADA_ROLANTE: "https://dashboard.myio-bas.com/api/images/public/EJ997iB2HD1AYYUHwIloyQOOszeqb2jp"
2589
2591
  };
2590
2592
  const defaultImage = "https://cdn-icons-png.flaticon.com/512/1178/1178428.png";
2591
2593
  const nameType = normalizeString(deviceType2);
@@ -7439,7 +7441,7 @@ var AllReportModal = class {
7439
7441
  ["Consumo M\xE9dio por Loja", (totalConsumption / this.data.length).toFixed(2), "kWh", ""],
7440
7442
  ["", "", "", ""],
7441
7443
  ["DETALHAMENTO POR LOJA", "", "", ""],
7442
- ["Identifier", "Name", "Consumption (kWh)", ""],
7444
+ ["Identificador", "Nome", "Consumo (kWh)", ""],
7443
7445
  ...sortedData.map((row) => [row.identifier, row.name, row.consumption.toFixed(2), ""])
7444
7446
  ];
7445
7447
  const csvContent = toCsv(csvData);
package/dist/index.js CHANGED
@@ -2513,12 +2513,14 @@ function renderCardComponentV2({
2513
2513
  return str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase();
2514
2514
  }
2515
2515
  const deviceImages = {
2516
- MOTOR: "https://dashboard.myio-bas.com/api/images/public/8Ezn8qVBJ3jXD0iDfnEAZ0MZhAP1b5Ts",
2516
+ MOTOR: "https://dashboard.myio-bas.com/api/images/public/Rge8Q3t0CP5PW8XyTn9bBK9aVP6uzSTT",
2517
2517
  "3F_MEDIDOR": "https://dashboard.myio-bas.com/api/images/public/f9Ce4meybsdaAhAkUlAfy5ei3I4kcN4k",
2518
2518
  RELOGIO: "https://dashboard.myio-bas.com/api/images/public/ljHZostWg0G5AfKiyM8oZixWRIIGRASB",
2519
2519
  HIDROMETRO: "https://dashboard.myio-bas.com/api/images/public/aMQYFJbGHs9gQbQkMn6XseAlUZHanBR4",
2520
2520
  ENTRADA: "https://dashboard.myio-bas.com/api/images/public/TQHPFqiejMW6lOSVsb8Pi85WtC0QKOLU",
2521
- CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq"
2521
+ CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq",
2522
+ ELEVADOR: "https://dashboard.myio-bas.com/api/images/public/rAjOvdsYJLGah6w6BABPJSD9znIyrkJX",
2523
+ ESCADA_ROLANTE: "https://dashboard.myio-bas.com/api/images/public/EJ997iB2HD1AYYUHwIloyQOOszeqb2jp"
2522
2524
  };
2523
2525
  const defaultImage = "https://cdn-icons-png.flaticon.com/512/1178/1178428.png";
2524
2526
  const nameType = normalizeString(deviceType2);
@@ -7372,7 +7374,7 @@ var AllReportModal = class {
7372
7374
  ["Consumo M\xE9dio por Loja", (totalConsumption / this.data.length).toFixed(2), "kWh", ""],
7373
7375
  ["", "", "", ""],
7374
7376
  ["DETALHAMENTO POR LOJA", "", "", ""],
7375
- ["Identifier", "Name", "Consumption (kWh)", ""],
7377
+ ["Identificador", "Nome", "Consumo (kWh)", ""],
7376
7378
  ...sortedData.map((row) => [row.identifier, row.name, row.consumption.toFixed(2), ""])
7377
7379
  ];
7378
7380
  const csvContent = toCsv(csvData);
@@ -2513,12 +2513,14 @@
2513
2513
  return str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase();
2514
2514
  }
2515
2515
  const deviceImages = {
2516
- MOTOR: "https://dashboard.myio-bas.com/api/images/public/8Ezn8qVBJ3jXD0iDfnEAZ0MZhAP1b5Ts",
2516
+ MOTOR: "https://dashboard.myio-bas.com/api/images/public/Rge8Q3t0CP5PW8XyTn9bBK9aVP6uzSTT",
2517
2517
  "3F_MEDIDOR": "https://dashboard.myio-bas.com/api/images/public/f9Ce4meybsdaAhAkUlAfy5ei3I4kcN4k",
2518
2518
  RELOGIO: "https://dashboard.myio-bas.com/api/images/public/ljHZostWg0G5AfKiyM8oZixWRIIGRASB",
2519
2519
  HIDROMETRO: "https://dashboard.myio-bas.com/api/images/public/aMQYFJbGHs9gQbQkMn6XseAlUZHanBR4",
2520
2520
  ENTRADA: "https://dashboard.myio-bas.com/api/images/public/TQHPFqiejMW6lOSVsb8Pi85WtC0QKOLU",
2521
- CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq"
2521
+ CAIXA_DAGUA: "https://dashboard.myio-bas.com/api/images/public/3t6WVhMQJFsrKA8bSZmrngDsNPkZV7fq",
2522
+ ELEVADOR: "https://dashboard.myio-bas.com/api/images/public/rAjOvdsYJLGah6w6BABPJSD9znIyrkJX",
2523
+ ESCADA_ROLANTE: "https://dashboard.myio-bas.com/api/images/public/EJ997iB2HD1AYYUHwIloyQOOszeqb2jp"
2522
2524
  };
2523
2525
  const defaultImage = "https://cdn-icons-png.flaticon.com/512/1178/1178428.png";
2524
2526
  const nameType = normalizeString(deviceType2);
@@ -7361,7 +7363,7 @@
7361
7363
  ["Consumo M\xE9dio por Loja", (totalConsumption / this.data.length).toFixed(2), "kWh", ""],
7362
7364
  ["", "", "", ""],
7363
7365
  ["DETALHAMENTO POR LOJA", "", "", ""],
7364
- ["Identifier", "Name", "Consumption (kWh)", ""],
7366
+ ["Identificador", "Nome", "Consumo (kWh)", ""],
7365
7367
  ...sortedData.map((row) => [row.identifier, row.name, row.consumption.toFixed(2), ""])
7366
7368
  ];
7367
7369
  const csvContent = toCsv(csvData);