myio-js-library 0.1.503 → 0.1.504

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
@@ -1131,6 +1131,7 @@ __export(index_exports, {
1131
1131
  renderStatusDonutChart: () => renderStatusDonutChart,
1132
1132
  renderTrendChart: () => renderTrendChart,
1133
1133
  reopenFreshdeskTicket: () => reopenTicket,
1134
+ resolvePercentDecimals: () => resolvePercentDecimals,
1134
1135
  schedCreateDateInput: () => createDateInput,
1135
1136
  schedCreateNumberInput: () => createNumberInput,
1136
1137
  schedCreateSelect: () => createSelect,
@@ -1163,7 +1164,7 @@ module.exports = __toCommonJS(index_exports);
1163
1164
  // package.json
1164
1165
  var package_default = {
1165
1166
  name: "myio-js-library",
1166
- version: "0.1.503",
1167
+ version: "0.1.504",
1167
1168
  description: "A clean, standalone JS SDK for MYIO projects",
1168
1169
  license: "MIT",
1169
1170
  repository: "github:gh-myio/myio-js-library",
@@ -14499,6 +14500,16 @@ var TempComparisonTooltip = {
14499
14500
  }
14500
14501
  };
14501
14502
 
14503
+ // src/utils/percentDecimals.ts
14504
+ function resolvePercentDecimals(explicit) {
14505
+ const fromArg = Number(explicit);
14506
+ if (Number.isInteger(fromArg) && fromArg >= 0 && fromArg <= 6) return fromArg;
14507
+ const utils = typeof window !== "undefined" ? window.MyIOUtils : void 0;
14508
+ const fromGlobal = utils ? Number(utils.percentDecimals) : NaN;
14509
+ if (Number.isInteger(fromGlobal) && fromGlobal >= 0 && fromGlobal <= 6) return fromGlobal;
14510
+ return 2;
14511
+ }
14512
+
14502
14513
  // src/thingsboard/main-dashboard-shopping/v-5.2.0/card/template-card-v5.js
14503
14514
  var LABEL_CHAR_LIMIT2 = 18;
14504
14515
  var DEVICE_TYPE_CONFIG = {
@@ -14633,8 +14644,11 @@ function renderCardComponentV5({
14633
14644
  // Tooltip on percentage badge
14634
14645
  showTempComparisonTooltip = false,
14635
14646
  // Tooltip on temperature deviation badge
14636
- showTempRangeTooltip = false
14647
+ showTempRangeTooltip = false,
14637
14648
  // Tooltip on device image for temperature devices
14649
+ // Decimal places for the % badge. Resolved at render time so it can be changed
14650
+ // without rebuilding the lib: this prop > window.MyIOUtils.percentDecimals > 2.
14651
+ percentDecimals
14638
14652
  }) {
14639
14653
  const {
14640
14654
  entityId,
@@ -15092,6 +15106,7 @@ function renderCardComponentV5({
15092
15106
  const isTermostatoDevice = deviceType?.toUpperCase() === "TERMOSTATO";
15093
15107
  const isEnergyDeviceFlag = isEnergyDevice2(deviceType);
15094
15108
  const percentageForDisplay = isTankDevice2 ? (waterPercentage || 0) * 100 : perc;
15109
+ const _pctDecimals = resolvePercentDecimals(percentDecimals);
15095
15110
  const calculateTempStatus2 = () => {
15096
15111
  if (temperatureStatus) return temperatureStatus;
15097
15112
  const currentTemp = Number(val) || 0;
@@ -15170,9 +15185,7 @@ function renderCardComponentV5({
15170
15185
  <span class="consumption-value">${formatCardValue(cardEntity.lastValue, deviceType)}</span>
15171
15186
  </div>
15172
15187
  </div>
15173
- ${!isTermostatoDevice ? `<span class="device-percentage-badge percentage-tooltip-trigger" style="position: absolute; bottom: 12px; right: 12px; z-index: 20; background: none !important; cursor: help;">${percentageForDisplay.toFixed(
15174
- 1
15175
- )}%</span>` : tempDeviationPercent ? `<span class="device-percentage-badge temp-deviation-badge temp-comparison-tooltip-trigger" style="position: absolute; bottom: 12px; right: 12px; z-index: 20; background: none !important; color: ${tempDeviationPercent.isAbove ? "#ef4444" : tempDeviationPercent.isBelow ? "#3b82f6" : "#6b7280"}; font-weight: 600; cursor: help;">${tempDeviationPercent.sign}${tempDeviationPercent.value.toFixed(1)}%</span>` : ""}
15188
+ ${!isTermostatoDevice ? `<span class="device-percentage-badge percentage-tooltip-trigger" style="position: absolute; bottom: 12px; right: 12px; z-index: 20; background: none !important; cursor: help;">${percentageForDisplay.toFixed(_pctDecimals).replace(".", ",")}%</span>` : tempDeviationPercent ? `<span class="device-percentage-badge temp-deviation-badge temp-comparison-tooltip-trigger" style="position: absolute; bottom: 12px; right: 12px; z-index: 20; background: none !important; color: ${tempDeviationPercent.isAbove ? "#ef4444" : tempDeviationPercent.isBelow ? "#3b82f6" : "#6b7280"}; font-weight: 600; cursor: help;">${tempDeviationPercent.sign}${tempDeviationPercent.value.toFixed(1)}%</span>` : ""}
15176
15189
  </div>
15177
15190
  </div>
15178
15191
  </div>
@@ -71027,6 +71040,7 @@ var EnergySummaryTooltip = {
71027
71040
  const timestamp = formatTimestamp3(summary.lastUpdated);
71028
71041
  const excludedNotice = this.renderExcludedNotice(summary.excludedFromCAG, summary.unit);
71029
71042
  const titleSuffix = summary.customerName ? ` (${summary.customerName})` : "";
71043
+ const isMultiShopping = (summary.byShoppingTotal?.length || 0) >= 2;
71030
71044
  return `
71031
71045
  <div class="energy-summary-tooltip__content">
71032
71046
  <div class="energy-summary-tooltip__header" data-drag-handle>
@@ -71060,10 +71074,10 @@ var EnergySummaryTooltip = {
71060
71074
  </div>
71061
71075
  <div class="energy-summary-tooltip__section-header">
71062
71076
  <span class="energy-summary-tooltip__section-title">Distribui\xE7\xE3o</span>
71063
- <div class="energy-summary-tooltip__grouping-tabs">
71077
+ ${isMultiShopping ? `<div class="energy-summary-tooltip__grouping-tabs">
71064
71078
  <button class="energy-summary-tooltip__grouping-tab active" data-view="category">Por Categoria</button>
71065
71079
  <button class="energy-summary-tooltip__grouping-tab" data-view="shopping">Por ${summary.entityLabel || "Shopping"}</button>
71066
- </div>
71080
+ </div>` : ""}
71067
71081
  </div>
71068
71082
 
71069
71083
  <!-- Category View (default) -->
@@ -71078,8 +71092,8 @@ var EnergySummaryTooltip = {
71078
71092
  </div>
71079
71093
  </div>
71080
71094
 
71081
- <!-- Shopping View -->
71082
- <div class="energy-summary-tooltip__shopping-view" data-grouping="shopping">
71095
+ <!-- Shopping View (head-office only) -->
71096
+ ${isMultiShopping ? `<div class="energy-summary-tooltip__shopping-view" data-grouping="shopping">
71083
71097
  <div class="energy-summary-tooltip__category-tree">
71084
71098
  <div class="energy-summary-tooltip__category-header">
71085
71099
  <span>${summary.entityLabel || "Shopping"}</span>
@@ -71088,7 +71102,7 @@ var EnergySummaryTooltip = {
71088
71102
  </div>
71089
71103
  ${this.renderShoppingView(summary.byShoppingTotal, summary.unit)}
71090
71104
  </div>
71091
- </div>
71105
+ </div>` : ""}
71092
71106
 
71093
71107
  <div class="energy-summary-tooltip__section-title">Status dos Dispositivos</div>
71094
71108
  <div class="energy-summary-tooltip__status-matrix">
@@ -72941,6 +72955,7 @@ var WaterSummaryTooltip = {
72941
72955
  const statusMatrix = this.renderStatusMatrix(summary.byStatus);
72942
72956
  const timestamp = formatTimestamp4(summary.lastUpdated);
72943
72957
  const titleSuffix = summary.customerName ? ` (${summary.customerName})` : "";
72958
+ const isMultiShopping = (summary.byShoppingTotal?.length || 0) >= 2;
72944
72959
  return `
72945
72960
  <div class="water-summary-tooltip__content">
72946
72961
  <div class="water-summary-tooltip__header" data-drag-handle>
@@ -72975,10 +72990,10 @@ var WaterSummaryTooltip = {
72975
72990
 
72976
72991
  <div class="water-summary-tooltip__section-header">
72977
72992
  <span class="water-summary-tooltip__section-title">Distribui\xE7\xE3o</span>
72978
- <div class="water-summary-tooltip__grouping-tabs">
72993
+ ${isMultiShopping ? `<div class="water-summary-tooltip__grouping-tabs">
72979
72994
  <button class="water-summary-tooltip__grouping-tab active" data-view="category">Por Categoria</button>
72980
72995
  <button class="water-summary-tooltip__grouping-tab" data-view="shopping">Por ${summary.entityLabel || "Shopping"}</button>
72981
- </div>
72996
+ </div>` : ""}
72982
72997
  </div>
72983
72998
 
72984
72999
  <!-- Category View (default) -->
@@ -72993,8 +73008,8 @@ var WaterSummaryTooltip = {
72993
73008
  </div>
72994
73009
  </div>
72995
73010
 
72996
- <!-- Shopping View -->
72997
- <div class="water-summary-tooltip__shopping-view" data-grouping="shopping">
73011
+ <!-- Shopping View (head-office only) -->
73012
+ ${isMultiShopping ? `<div class="water-summary-tooltip__shopping-view" data-grouping="shopping">
72998
73013
  <div class="water-summary-tooltip__category-tree">
72999
73014
  <div class="water-summary-tooltip__category-header">
73000
73015
  <span>${summary.entityLabel || "Shopping"}</span>
@@ -73003,7 +73018,7 @@ var WaterSummaryTooltip = {
73003
73018
  </div>
73004
73019
  ${this.renderShoppingView(summary.byShoppingTotal, summary.unit)}
73005
73020
  </div>
73006
- </div>
73021
+ </div>` : ""}
73007
73022
 
73008
73023
  <div class="water-summary-tooltip__section-title">Status dos Medidores</div>
73009
73024
  <div class="water-summary-tooltip__status-matrix">
@@ -73844,6 +73859,22 @@ var WaterSummaryTooltip = {
73844
73859
  };
73845
73860
 
73846
73861
  // src/utils/ColumnSummaryTooltip.ts
73862
+ var PIE_COLORS = [
73863
+ "#3e1a7d",
73864
+ "#9333ea",
73865
+ "#0891b2",
73866
+ "#16a34a",
73867
+ "#f59e0b",
73868
+ "#db2777",
73869
+ "#0284c7",
73870
+ "#b45309",
73871
+ "#15803d",
73872
+ "#7c3aed",
73873
+ "#dc2626",
73874
+ "#0d9488",
73875
+ "#ca8a04",
73876
+ "#be185d"
73877
+ ];
73847
73878
  var COLUMN_SUMMARY_CSS = `
73848
73879
  .myio-col-summary {
73849
73880
  max-width: 300px;
@@ -73867,6 +73898,8 @@ var COLUMN_SUMMARY_CSS = `
73867
73898
  .myio-col-summary__kpi-value--accent {
73868
73899
  font-size: 14px; color: #3e1a7d;
73869
73900
  }
73901
+ .myio-col-summary__body { display: block; }
73902
+ .myio-col-summary__lists { display: flex; flex-direction: column; }
73870
73903
  .myio-col-summary__group {
73871
73904
  display: flex; flex-direction: column; gap: 1px; margin-top: 8px;
73872
73905
  }
@@ -73893,6 +73926,49 @@ var COLUMN_SUMMARY_CSS = `
73893
73926
  padding: 14px 0; text-align: center; font-style: italic;
73894
73927
  font-size: 11px; color: #94a3b8;
73895
73928
  }
73929
+
73930
+ /* Pie chart \u2014 hidden in the compact view, revealed when maximized. */
73931
+ .myio-col-summary__chart { display: none; }
73932
+ .myio-col-summary__chart-title {
73933
+ font-size: 11px; font-weight: 800; letter-spacing: 0.3px;
73934
+ text-transform: uppercase; color: #3e1a7d; margin-bottom: 8px;
73935
+ }
73936
+ .myio-col-summary__chart-body {
73937
+ display: flex; gap: 16px; align-items: flex-start;
73938
+ }
73939
+ .myio-col-summary__pie {
73940
+ width: 190px; height: 190px; border-radius: 50%; flex-shrink: 0;
73941
+ box-shadow: 0 2px 12px rgba(0,0,0,0.18);
73942
+ }
73943
+ .myio-col-summary__legend {
73944
+ flex: 1 1 auto; min-width: 0; max-height: 300px; overflow-y: auto;
73945
+ display: flex; flex-direction: column; gap: 1px;
73946
+ }
73947
+ .myio-col-summary__legend-row {
73948
+ display: flex; align-items: center; gap: 6px; padding: 2px 0; font-size: 11px;
73949
+ }
73950
+ .myio-col-summary__legend-dot {
73951
+ width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0;
73952
+ }
73953
+ .myio-col-summary__legend-name {
73954
+ flex: 1 1 auto; min-width: 0;
73955
+ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1e293b;
73956
+ }
73957
+ .myio-col-summary__legend-val { flex: 0 0 auto; font-weight: 700; color: #16a34a; }
73958
+ .myio-col-summary__legend-pct {
73959
+ flex: 0 0 auto; min-width: 42px; text-align: right; font-size: 10px; color: #64748b;
73960
+ }
73961
+
73962
+ /* Maximized \u2014 use the extra space: widen, show the pie chart, lists side-by-side. */
73963
+ .myio-info-tooltip.maximized .myio-col-summary { max-width: none; }
73964
+ .myio-info-tooltip.maximized .myio-col-summary__chart {
73965
+ display: block; margin-bottom: 16px;
73966
+ padding-bottom: 14px; border-bottom: 1px solid #e3d9f3;
73967
+ }
73968
+ .myio-info-tooltip.maximized .myio-col-summary__lists {
73969
+ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
73970
+ }
73971
+ .myio-info-tooltip.maximized .myio-col-summary__group { margin-top: 0; }
73896
73972
  `;
73897
73973
  var _cssInjected2 = false;
73898
73974
  function injectCSS10() {
@@ -73918,13 +73994,46 @@ function defaultFormatter(unit) {
73918
73994
  const nf = new Intl.NumberFormat("pt-BR", { maximumFractionDigits: 2 });
73919
73995
  return (v) => nf.format(Number(v) || 0) + (unit ? " " + unit : "");
73920
73996
  }
73921
- function fmtPct(value, total) {
73997
+ function fmtPct(value, total, decimals) {
73922
73998
  const p = total > 0 ? (Number(value) || 0) / total * 100 : 0;
73923
- return p.toFixed(1).replace(".", ",") + "%";
73999
+ return p.toFixed(decimals).replace(".", ",") + "%";
74000
+ }
74001
+ function buildPieChart(devices, total, fmt2, pctDecimals) {
74002
+ const sorted = devices.slice().sort((a, b) => (Number(b.value) || 0) - (Number(a.value) || 0));
74003
+ if (total <= 0 || !sorted.length) {
74004
+ return `<div class="myio-col-summary__chart">
74005
+ <div class="myio-col-summary__empty">Sem dados para o gr\xE1fico.</div>
74006
+ </div>`;
74007
+ }
74008
+ let acc = 0;
74009
+ const stops = [];
74010
+ const legend = [];
74011
+ sorted.forEach((d, i) => {
74012
+ const v = Number(d.value) || 0;
74013
+ const color = PIE_COLORS[i % PIE_COLORS.length];
74014
+ const start = acc / total * 360;
74015
+ acc += v;
74016
+ const end = acc / total * 360;
74017
+ stops.push(`${color} ${start.toFixed(3)}deg ${end.toFixed(3)}deg`);
74018
+ legend.push(`<div class="myio-col-summary__legend-row">
74019
+ <span class="myio-col-summary__legend-dot" style="background:${color};"></span>
74020
+ <span class="myio-col-summary__legend-name" title="${esc3(d.name)}">${esc3(d.name)}</span>
74021
+ <span class="myio-col-summary__legend-val">${esc3(fmt2(v))}</span>
74022
+ <span class="myio-col-summary__legend-pct">${fmtPct(v, total, pctDecimals)}</span>
74023
+ </div>`);
74024
+ });
74025
+ return `<div class="myio-col-summary__chart">
74026
+ <div class="myio-col-summary__chart-title">Distribui\xE7\xE3o \u2014 ${sorted.length} dispositivos</div>
74027
+ <div class="myio-col-summary__chart-body">
74028
+ <div class="myio-col-summary__pie" style="background: conic-gradient(${stops.join(", ")});"></div>
74029
+ <div class="myio-col-summary__legend">${legend.join("")}</div>
74030
+ </div>
74031
+ </div>`;
73924
74032
  }
73925
74033
  function buildContent(data) {
73926
74034
  const devices = Array.isArray(data.devices) ? data.devices.slice() : [];
73927
74035
  const fmt2 = data.formatValue || defaultFormatter(data.unit || "");
74036
+ const pd = resolvePercentDecimals(data.percentDecimals);
73928
74037
  const count = devices.length;
73929
74038
  const total = devices.reduce((s, d) => s + (Number(d.value) || 0), 0);
73930
74039
  const avg = count ? total / count : 0;
@@ -73954,7 +74063,7 @@ function buildContent(data) {
73954
74063
  <div class="myio-col-summary__row">
73955
74064
  <span class="myio-col-summary__name" title="${esc3(d.name)}">${esc3(d.name)}</span>
73956
74065
  <span class="myio-col-summary__val">${esc3(fmt2(Number(d.value) || 0))}</span>
73957
- <span class="myio-col-summary__pct">${fmtPct(Number(d.value) || 0, total)}</span>
74066
+ <span class="myio-col-summary__pct">${fmtPct(Number(d.value) || 0, total, pd)}</span>
73958
74067
  </div>`;
73959
74068
  const group = (label, list) => list.length ? `<div class="myio-col-summary__group">
73960
74069
  <span class="myio-col-summary__group-label">${label}</span>
@@ -73978,9 +74087,14 @@ function buildContent(data) {
73978
74087
  <span class="myio-col-summary__kpi-value">${esc3(fmt2(total))}</span>
73979
74088
  </div>
73980
74089
  </div>
73981
- ${group("\u25B2 3 maiores", top3)}
73982
- ${group("\u25BC 3 menores", bottom3)}
73983
- ${group("\u25CF 3 na m\xE9dia", near3)}
74090
+ <div class="myio-col-summary__body">
74091
+ ${buildPieChart(devices, total, fmt2, pd)}
74092
+ <div class="myio-col-summary__lists">
74093
+ ${group("\u25B2 3 maiores", top3)}
74094
+ ${group("\u25BC 3 menores", bottom3)}
74095
+ ${group("\u25CF 3 na m\xE9dia", near3)}
74096
+ </div>
74097
+ </div>
73984
74098
  </div>`;
73985
74099
  }
73986
74100
  var ColumnSummaryTooltip = {
@@ -108777,12 +108891,13 @@ function buildRow(d, idx) {
108777
108891
  if (d.val === null || d.val === void 0) return "\u2014";
108778
108892
  return Number(d.val).toLocaleString("pt-BR", { maximumFractionDigits: 3, useGrouping: false });
108779
108893
  };
108894
+ const pd = resolvePercentDecimals();
108780
108895
  return {
108781
108896
  idx: String(idx + 1),
108782
108897
  nome: d.labelOrName || d.name || "\u2014",
108783
108898
  identificador: d.deviceIdentifier || "\u2014",
108784
108899
  consumo: fmtVal(),
108785
- perc: d.perc !== void 0 ? `${d.perc.toFixed(1)}%` : "\u2014"
108900
+ perc: d.perc !== void 0 ? `${d.perc.toFixed(pd).replace(".", ",")}%` : "\u2014"
108786
108901
  };
108787
108902
  }
108788
108903
  function fmtPeriod(period) {
@@ -142193,6 +142308,7 @@ var version = package_default.version || "0.0.0";
142193
142308
  renderStatusDonutChart,
142194
142309
  renderTrendChart,
142195
142310
  reopenFreshdeskTicket,
142311
+ resolvePercentDecimals,
142196
142312
  schedCreateDateInput,
142197
142313
  schedCreateNumberInput,
142198
142314
  schedCreateSelect,
package/dist/index.d.cts CHANGED
@@ -2398,7 +2398,7 @@ declare function renderCardComponentHeadOffice(containerEl: any, params: any): {
2398
2398
  getRoot(): HTMLDivElement;
2399
2399
  };
2400
2400
 
2401
- declare function renderCardComponentV5({ entityObject, handleActionDashboard, handleActionReport, handleActionSettings, handleSelect, handInfo, handleClickCard, useNewComponents, enableSelection, enableDragDrop, showEnergyRangeTooltip, showPercentageTooltip, showTempComparisonTooltip, showTempRangeTooltip, }: {
2401
+ declare function renderCardComponentV5({ entityObject, handleActionDashboard, handleActionReport, handleActionSettings, handleSelect, handInfo, handleClickCard, useNewComponents, enableSelection, enableDragDrop, showEnergyRangeTooltip, showPercentageTooltip, showTempComparisonTooltip, showTempRangeTooltip, percentDecimals, }: {
2402
2402
  entityObject: any;
2403
2403
  handleActionDashboard: any;
2404
2404
  handleActionReport: any;
@@ -2413,6 +2413,7 @@ declare function renderCardComponentV5({ entityObject, handleActionDashboard, ha
2413
2413
  showPercentageTooltip?: boolean;
2414
2414
  showTempComparisonTooltip?: boolean;
2415
2415
  showTempRangeTooltip?: boolean;
2416
+ percentDecimals: any;
2416
2417
  }): {
2417
2418
  get: (index: any) => HTMLDivElement;
2418
2419
  0: HTMLDivElement;
@@ -7789,11 +7790,15 @@ declare const InfoTooltip: {
7789
7790
  * ColumnSummaryTooltip - Premium summary tooltip for a device column.
7790
7791
  *
7791
7792
  * Inspired by EnergySummaryTooltip. Renders inside the library InfoTooltip
7792
- * panel and injects its own content CSS (fully self-contained). Shows:
7793
- * - the column's search period
7794
- * - total device count
7795
- * - average and total consumption
7796
- * - top 3 / bottom 3 / 3-closest-to-average devices, each with its % of the total
7793
+ * panel and injects its own content CSS (fully self-contained).
7794
+ *
7795
+ * Compact view: search period, device count, average/total consumption and
7796
+ * the top 3 / bottom 3 / 3-closest-to-average devices.
7797
+ *
7798
+ * Maximized view (InfoTooltip maximize button): the extra space is used for a
7799
+ * pie chart of ALL devices with a scrollable legend, plus the three lists laid
7800
+ * out side by side. The maximized layout is driven purely by CSS reacting to
7801
+ * the `.myio-info-tooltip.maximized` class — no InfoTooltip API change needed.
7797
7802
  *
7798
7803
  * @example
7799
7804
  * const cleanup = ColumnSummaryTooltip.attach(iconEl, () => ({
@@ -7820,6 +7825,8 @@ interface ColumnSummaryData {
7820
7825
  devices: ColumnSummaryDevice[];
7821
7826
  /** Optional value formatter — overrides the default pt-BR + unit formatting. */
7822
7827
  formatValue?: (value: number) => string;
7828
+ /** Decimal places for percentages — overrides window.MyIOUtils.percentDecimals (default 2). */
7829
+ percentDecimals?: number;
7823
7830
  }
7824
7831
  declare const ColumnSummaryTooltip: {
7825
7832
  /** Shows the column summary tooltip anchored to the trigger element. */
@@ -7835,6 +7842,22 @@ declare const ColumnSummaryTooltip: {
7835
7842
  attach(triggerElement: HTMLElement, getData: () => ColumnSummaryData): () => void;
7836
7843
  };
7837
7844
 
7845
+ /**
7846
+ * resolvePercentDecimals — number of decimal places for percentage labels.
7847
+ *
7848
+ * Priority: explicit argument > `window.MyIOUtils.percentDecimals` > default 2.
7849
+ *
7850
+ * The window global is read at call time, so the value can be changed at
7851
+ * runtime (e.g. `window.MyIOUtils.percentDecimals = 3`) without rebuilding
7852
+ * the library. Result is clamped to a sane 0–6 range.
7853
+ *
7854
+ * @example
7855
+ * resolvePercentDecimals(); // 2 (default)
7856
+ * resolvePercentDecimals(3); // 3 (explicit wins)
7857
+ * // window.MyIOUtils.percentDecimals = 1 → resolvePercentDecimals() === 1
7858
+ */
7859
+ declare function resolvePercentDecimals(explicit?: number): number;
7860
+
7838
7861
  /**
7839
7862
  * DeviceComparisonTooltip - Premium Device Comparison Tooltip Component
7840
7863
  * RFC-0110: Premium tooltip showing device consumption comparisons
@@ -19186,4 +19209,4 @@ declare function writeFreshdeskSyncedAtToTB(tbBaseUrl: string, tbDeviceId: strin
19186
19209
 
19187
19210
  declare const version: string;
19188
19211
 
19189
- export { ACTION_BUTTON_CSS_PREFIX, ALARMS_NOTIFICATIONS_PANEL_STYLES, SEVERITY_CONFIG as ALARM_SEVERITY_CONFIG, ALARM_SORT_OPTIONS, STATE_CONFIG as ALARM_STATE_CONFIG, AMBIENTE_GROUP_CSS_PREFIX, AMBIENTE_MODAL_CSS_PREFIX, ANNOTATION_TYPE_COLORS, ANNOTATION_TYPE_LABELS, ANNOTATION_TYPE_LABELS_EN, ActionButtonController, type ActionButtonInstance, type ActionButtonParams, type ActionButtonSettings, type ActionButtonSize, type ActionButtonThemeMode, type ActionButtonVariant, ActionButtonView, type AggregatedGroupMetrics, type Alarm, type AlarmAction, type AlarmAnnotation, type AlarmApiResponse, type AlarmBundleMapParams, type AlarmCardParams, type AlarmComparisonModalInstance, type AlarmComparisonModalParams, type AlarmFilterTab, type AlarmFilters, type AlarmInfo, type AlarmListApiResponse, type AlarmListParams, AlarmService, type AlarmSeverity, type AlarmSortMode, type AlarmSortOption, type AlarmState, type AlarmStats, type AlarmStatsApiResponse, type AlarmTrendApiPoint, type AlarmsEventHandler, type AlarmsEventType, AlarmsNotificationsPanelController, type AlarmsNotificationsPanelInstance, type AlarmsNotificationsPanelParams, type AlarmsNotificationsPanelState, AlarmsNotificationsPanelView, type AlarmsSummaryData, AlarmsSummaryTooltip, type AlarmsTab, type AmbienteChildDevice, type AmbienteData as AmbienteDetailData, type AmbienteDetailModalConfig, type AmbienteDetailModalInstance, type AmbienteEnergyDevice, type AmbienteGroupData, type AmbienteGroupModalConfig, type AmbienteGroupModalInstance, type AmbienteHierarchyNode, type AmbienteRemoteDevice, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, AnnotationTooltip, type AnnotationType$2 as AnnotationType, type AppliedFilters, type AuditAction, type AuditEntry, type AuthConfig, type AuthContextSnapshot, type AvailabilityFleet, type AvailabilityParams, type AvailabilityResponse, type AvailabilityStatus, type AvailabilitySummary, BASDashboardController, type BASDashboardData, type BASDashboardInstance, type BASDashboardParams, type BASDashboardSettings, type BASDashboardState, type BASDashboardThemeMode, BASDashboardView, type BASEventType, type HVACDevice as BASHVACDevice, type HVACDeviceStatus as BASHVACDeviceStatus, type MotorDevice as BASMotorDevice, type MotorDeviceStatus as BASMotorDeviceStatus, type MotorDeviceType as BASMotorDeviceType, type WaterDevice as BASWaterDevice, type WaterDeviceStatus as BASWaterDeviceStatus, type WaterDeviceType as BASWaterDeviceType, BAS_DASHBOARD_CSS_PREFIX, BAS_DASHBOARD_STYLES, type BarChartOptions, type BuildTemplateExportParams, CHART_COLORS, DEFAULT_COLORS as CONSUMPTION_CHART_COLORS, DEFAULT_CONFIG as CONSUMPTION_CHART_DEFAULTS, THEME_COLORS as CONSUMPTION_THEME_COLORS, type CardGridCustomStyle, type CardGridItem, CardGridPanel, type CardGridPanelOptions, type CardKPIs, type CategorySummary, type ChartDomain, type ClampRange, type ColumnSummaryData, type ColumnSummaryDevice, ColumnSummaryTooltip, ConnectionStatusType, type Consumption7DaysColors, type Consumption7DaysConfig, type Consumption7DaysData, type Consumption7DaysInstance, type ChartType$2 as ConsumptionChartType, type ConsumptionDataPoint$2 as ConsumptionDataPoint, type IdealRangeConfig as ConsumptionIdealRangeConfig, type ConsumptionModalConfig, type ConsumptionModalInstance, type TemperatureConfig as ConsumptionTemperatureConfig, type TemperatureReferenceLine as ConsumptionTemperatureReferenceLine, type ThemeColors as ConsumptionThemeColors, type ThemeMode$e as ConsumptionThemeMode, type VizMode$2 as ConsumptionVizMode, type ConsumptionWidgetConfig, type ConsumptionWidgetInstance, type ContextOption, type ContractDeviceCounts, type ContractDevicesError, type ContractDevicesPersistResult, type ContractDomain, type ContractDomainCounts, type ContractSummaryData, ContractSummaryTooltip, type ContractTemperatureCounts, type CreateAssetDto, type CreateCustomerDto, type CreateDateRangePickerOptions, type CreateDeviceDto, type CreateInputDateRangePickerInsideDIVParams, type CustomerCardData$1 as CustomerCardData, type CustomerCardDeviceCounts$1 as CustomerCardDeviceCounts, type CustomerCardMetaCounts$1 as CustomerCardMetaCounts, type ThemeMode$b as CustomerCardThemeMode, CustomerCardV1, type CustomerCardV1Instance, type CustomerCardV1Params, CustomerCardV2, type CustomerCardV2Instance, type CustomerCardV2Params, type CustomerOption, DAY_LABELS, DAY_LABELS_FULL, DECIMAL_OPTIONS, DEFAULT_ACTION_BUTTON_SETTINGS, DEFAULT_ALARM_FILTERS, DEFAULT_ALARM_FILTER_TABS, DEFAULT_ALARM_STATS, DEFAULT_BAS_SETTINGS, DEFAULT_CLAMP_RANGE, DEFAULT_DASHBOARD_KPIS$1 as DEFAULT_DASHBOARD_KPIS, DEFAULT_DAYS_WEEK, DEFAULT_DEVICE_OPERATIONAL_CARD_FILTER_STATE, DEFAULT_ENERGY_GROUP_COLORS, DEFAULT_EQUIPMENT_FILTER_STATE, DEFAULT_EQUIPMENT_STATS, DEFAULT_FANCOIL_SETTINGS, DEFAULT_FANCOIL_STATE, DEFAULT_FOOTER_COLORS, DEFAULT_GAS_GROUP_COLORS, DEFAULT_GRID_FILTER_STATE, DEFAULT_GRID_FILTER_TABS, DEFAULT_HEADER_DARK_THEME, DEFAULT_HEADER_LIGHT_THEME, DEFAULT_HEADER_SHOPPING_CONFIG, DEFAULT_HOLIDAY_SETTINGS, DEFAULT_HOLIDAY_STATE, DEFAULT_INTEGRATION_TABS, DEFAULT_IR_SCHEDULE, DEFAULT_IR_SETTINGS, DEFAULT_IR_STATE, DEFAULT_SETTINGS as DEFAULT_MEASUREMENT_SETTINGS, DEFAULT_MENU_CONFIG, DEFAULT_MENU_SHOPPING_CONFIG, DEFAULT_ON_OFF_SCHEDULE, DEFAULT_ON_OFF_SETTINGS, DEFAULT_ON_OFF_STATE, DEFAULT_SETPOINT_SCHEDULE, DEFAULT_SETPOINT_SETTINGS, DEFAULT_SETPOINT_STATE, DEFAULT_SHOPPING_CARDS, DEFAULT_SHOPPING_COLORS, DEFAULT_SIDEBAR_CONFIG, DEFAULT_SOLENOID_SETTINGS, DEFAULT_SOLENOID_STATE, DEFAULT_SWITCH_SETTINGS, DEFAULT_SWITCH_STATE, DEFAULT_TABS, DEFAULT_WATER_GROUP_COLORS, DEVICE_COUNT_KEYS, DEVICE_OPERATIONAL_CARD_GRID_STYLES, DEVICE_OPERATIONAL_CARD_STYLES, DEVICE_TYPES, DEVICE_TYPE_DOMAIN, type DashboardEnergySummary, type DashboardKPIs$1 as DashboardKPIs, type DashboardPeriod$1 as DashboardPeriod, type DashboardWaterSummary, type DateRangeControl, type DateRangeInputController, type DateRangeResult, type DaysWeek, type DemandModalInstance, type DemandModalParams, type DemandModalPdfConfig, type DemandModalStyles, type DeviceAlarmStatApiItem, type DeviceAttributes, type DeviceAvailability, DeviceCategory, type DeviceComparisonData, DeviceComparisonTooltip, ContextType as DeviceContextType, type DeviceCountKeys, DomainType$2 as DeviceDomainType, DeviceGridV6Controller, type CardGridCustomStyle as DeviceGridV6CustomStyle, type DeviceGridV6Instance, type CardGridItem as DeviceGridV6Item, type DeviceGridV6Params, type SortMode as DeviceGridV6SortMode, type DeviceGridV6Stats, DeviceGridV6View, DeviceGridWidgetFactory, type DeviceInfo$2 as DeviceInfo, type DeviceMultipliers, DeviceOperationalCardController, type DeviceOperationalCardEventHandler, type DeviceOperationalCardEventType, type DeviceOperationalCardFilterState, DeviceOperationalCardGridController, type DeviceOperationalCardGridEventHandler, type DeviceOperationalCardGridEventType, type DeviceOperationalCardGridFilterState, type DeviceOperationalCardGridInstance, type DeviceOperationalCardGridParams, type SortMode$1 as DeviceOperationalCardGridSortMode, type DeviceOperationalCardGridState, type DeviceOperationalCardGridStats, type ThemeMode$1 as DeviceOperationalCardGridThemeMode, DeviceOperationalCardGridView, type DeviceOperationalCardInstance, type DeviceOperationalCardParams, type DeviceOperationalCardState, type ThemeMode$2 as DeviceOperationalCardThemeMode, DeviceOperationalCardView, type DeviceRelation, type DeviceStatusName, DeviceStatusType, type DeviceType, type DeviceTypeConfig, type DeviceTypeLimits, type DistributionChartConfig, type DistributionChartInstance, type DistributionData, type DistributionDomain, type DistributionMode$2 as DistributionMode, type DistributionThemeColors, DomainType$3 as DomainType, type DonutChartOptions, type DowntimeEntry$1 as DowntimeEntry, ENERGY_SORT_OPTIONS, ENERGY_UNITS, EQUIPMENT_CLASSIFICATION_CONFIG, STATUS_CONFIG as EQUIPMENT_STATUS_CONFIG, TYPE_CONFIG as EQUIPMENT_TYPE_CONFIG, EXPORT_DEFAULT_COLORS, EXPORT_DOMAIN_ICONS, EXPORT_DOMAIN_LABELS, EXPORT_DOMAIN_UNITS, type EnergyDisplaySettings, type EnergyEntityData, type EnergyKPI, type EnergyModalContext, type EnergyModalError, type EnergyModalI18n, type EnergyModalStyleOverrides, type ChartType$1 as EnergyPanelChartType, type ConsumptionDataPoint$1 as EnergyPanelConsumptionDataPoint, type DistributionDataPoint$1 as EnergyPanelDistributionDataPoint, type DistributionMode$1 as EnergyPanelDistributionMode, type EnergyCategoryData as EnergyPanelEnergyCategoryData, type EnergySummaryData as EnergyPanelEnergySummaryData, type FetchConsumptionFn$1 as EnergyPanelFetchConsumptionFn, type FetchDistributionFn$1 as EnergyPanelFetchDistributionFn, type EnergyPanelInstance, type OnFilterChangeCallback$2 as EnergyPanelOnFilterChangeCallback, type OnMaximizeCallback$1 as EnergyPanelOnMaximizeCallback, type OnPeriodChangeCallback$2 as EnergyPanelOnPeriodChangeCallback, type OnRefreshCallback$2 as EnergyPanelOnRefreshCallback, type OnVizModeChangeCallback$1 as EnergyPanelOnVizModeChangeCallback, type EnergyPanelParams, type PeriodDays$1 as EnergyPanelPeriodDays, type EnergyPanelState, type ThemeMode$9 as EnergyPanelThemeMode, type VizMode$1 as EnergyPanelVizMode, EnergyRangeTooltip, type EnergyStatus, type EnergyStatusResult, EnergySummaryTooltip, type EnergyUnit, type EntityListItem, EntityListPanel, type EntityListPanelOptions, type EquipmentAction, type EquipmentCardData, EquipmentCategory, type EquipmentFilterState, type EquipmentKPI, type EquipmentStats, type EquipmentStatus$1 as EquipmentStatus, type EquipmentType$1 as EquipmentType, type ExcludeGroupsTotals, ExclusionGroupsTab, type ExclusionGroupsTabConfig, type ExportColorsPallet, type ExportComparisonData, type ExportConfigTemplate, type ExportCustomerData, type ExportCustomerInfo, type ExportData, type ExportDataInput, type ExportDataInstance, type ExportDataPoint, type ExportDeviceInfo, type ExportDomain, type ExportFormat, type ExportGroupData, type ExportOptions, type ExportProgressCallback, type ExportResult, type ExportStats, type ExportType, FANCOIL_IMAGES, FANCOIL_REMOTE_CSS_PREFIX, FILTER_GROUPS, FILTER_TAB_ICONS, DEFAULT_CONFIG_TEMPLATE as FOOTER_DEFAULT_CONFIG_TEMPLATE, DEFAULT_DARK_THEME as FOOTER_DEFAULT_DARK_THEME, DEFAULT_LIGHT_THEME as FOOTER_DEFAULT_LIGHT_THEME, type FancoilMode, FancoilRemoteController, type FancoilRemoteInstance, type FancoilRemoteParams, type FancoilRemoteSettings, FancoilRemoteView, type FancoilState, type FancoilStatus, type FancoilThemeMode, type FilterCategory, type FilterState$1 as FilterCategoryState, type FilterGroup, FilterModalComponent, FilterModalController, type FilterModalDomain, type FilterModalInstance, type FilterModalOptions, type FilterModalParams, type FilterModalState, type FilterModalThemeMode, FilterModalView, type SortMode$3 as FilterSortMode, type FilterSortOption, type FilterTab, type FilterableDevice, type FooterColors, type FooterComponentInstance, type FooterComponentParams, type FooterConfigTemplate, type SelectedEntity as FooterSelectedEntity, type FooterThemeConfig, type FooterThemeMode, type UnitType as FooterUnitType, type FreshDeskConversation, type FreshDeskTicket, FreshdeskClientModule as FreshdeskClient, type FreshdeskTicketSummary, type GCDRAssignment, type GCDRBundleAsset, type GCDRBundleDevice, type GCDRBundleRule, type GCDRCustomerBundle, type GCDREntity, type GCDRPolicy, type ProgressCallback as GCDRProgressCallback, type GCDRRole, type GCDRSyncModalParams, type GCDRSyncPlan, type GCDRSyncResult, type TBAsset as GCDRTBAsset, type TBCustomer as GCDRTBCustomer, type TBDevice as GCDRTBDevice, type TBServerScopeAttrs as GCDRTBServerScopeAttrs, GRID_SORT_OPTIONS, type GatewayInfo, type CustomerOption$1 as GridCustomerOption, type EquipmentStatus as GridEquipmentStatus, type EquipmentType as GridEquipmentType, type GridFilterTab, type GridSortOption, type GroupColors, HEADER_CSS_PREFIX, DEFAULT_CARD_COLORS as HEADER_DEFAULT_CARD_COLORS, HEADER_DEFAULT_CONFIG_TEMPLATE, HEADER_DEFAULT_LOGO_URL, HEADER_DEVICES_GRID_STYLES, HEADER_SHOPPING_CSS_PREFIX, HEADER_STYLE_DARK, HEADER_STYLE_DEFAULT, HEADER_STYLE_PREMIUM_GREEN, HEADER_STYLE_SLIM, type CardColorConfig as HeaderCardColorConfig, type HeaderCardColors, type CardType as HeaderCardType, type HeaderComponentInstance, type HeaderComponentParams, type HeaderConfigTemplate, type HeaderDevice, type HeaderDevicesDomain, HeaderDevicesGridController, type HeaderDevicesGridInstance, type HeaderDevicesGridParams, HeaderDevicesGridView, type HeaderDevicesThemeMode, type HeaderDomainConfig, type HeaderEventType, HeaderFilterModal, type FilterPreset as HeaderFilterPreset, type FilterSelection as HeaderFilterSelection, type HeaderLabels, HeaderPanelComponent, type HeaderPanelOptions, type HeaderPanelStyle, type Shopping$2 as HeaderShopping, type HeaderShoppingConfigTemplate, type ContractState as HeaderShoppingContractState, type DomainType$1 as HeaderShoppingDomainType, type HeaderShoppingEventHandler, type HeaderShoppingEventType, type HeaderShoppingInstance, type HeaderShoppingParams, type HeaderShoppingPeriod, HeaderShoppingView, type HeaderStats, type HeaderThemeConfig, type HeaderThemeMode, HeaderView, type HolidayEntry, IMPORTANCE_COLORS, IMPORTANCE_LABELS, IMPORTANCE_LABELS_EN, type IRCommand, type IRGroupScheduleEntry, type IRScheduleEntry, type ImportanceLevel$2 as ImportanceLevel, type InferredDeviceType, InfoTooltip, type InstantaneousPowerLimits, type IntegrationTab, type IntegrationTabId, type IntegrationsModalInstance, type IntegrationsModalOptions, type IntegrationsThemeMode, LoadingSpinner, type LogAnnotationsAttribute, LogHelper, DOMAIN_CONFIG$2 as MEASUREMENT_DOMAIN_CONFIG, MENU_SHOPPING_CSS_PREFIX, METRO_TILE_COLORS, MOTOR_SORT_OPTIONS, type MeasurementDisplaySettings, type MeasurementSetupError, type MeasurementSetupFormData, type MeasurementSetupModalInstance, type MeasurementSetupModalParams, type MeasurementSetupModalStyles, type PersistResult as MeasurementSetupPersistResult, type MenuComponentInstance, type MenuComponentParams, type MenuConfigTemplate, MenuController, type MenuEventHandler, type MenuEventType, type MenuShoppingConfigTemplate, type DashboardStateEvent as MenuShoppingDashboardStateEvent, type DomainType as MenuShoppingDomainType, type MenuShoppingEventHandler, type MenuShoppingEventType, type MenuShoppingInstance, type MenuShoppingParams, type MenuShoppingSettings, type MenuShoppingTab, type MenuShoppingUserInfo, MenuShoppingView, type MenuState, type ThingsboardWidgetContext as MenuThingsboardWidgetContext, MenuView, type MetroTile, type ExportFormat$2 as ModalExportFormat, ModalHeader, type ModalHeaderConfig, type ModalHeaderController, type ModalHeaderControllerOptions, type ModalHeaderHandlers, type ModalHeaderInstance, type ModalHeaderOptions, type ModalTheme, type MyIOAuthConfig, MyIOAuthContext, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, NewTicketWizard, type NewTicketWizardConfig, type NotificationInfo, type NotificationsSummaryData, NotificationsSummaryTooltip, OFFLINE_STATUSES, ONLINE_STATUSES, ONOFF_TIMELINE_CSS_PREFIX, DEFAULT_DEVICE_CONFIG as ON_OFF_DEFAULT_DEVICE_CONFIG, DEFAULT_MODAL_STATE as ON_OFF_DEFAULT_MODAL_STATE, DEVICE_CONFIG as ON_OFF_DEVICE_CONFIG, ON_OFF_DEVICE_PROFILES, ON_OFF_MODAL_CSS_PREFIX, AVAILABILITY_THRESHOLDS as OPERATIONAL_AVAILABILITY_THRESHOLDS, DEFAULT_DASHBOARD_KPIS as OPERATIONAL_DASHBOARD_DEFAULT_KPIS, PERIOD_OPTIONS as OPERATIONAL_DASHBOARD_PERIOD_OPTIONS, OPERATIONAL_DASHBOARD_STYLES, OPERATIONAL_GENERAL_LIST_STYLES, OPERATIONAL_HEADER_DEVICES_GRID_STYLES, STATUS_CONFIG$1 as OPERATIONAL_STATUS_CONFIG, type OnAlarmActionCallback, type OnAlarmClickCallback, type OnAlarmFilterChangeCallback, type OnAlarmStatsUpdateCallback, type OnEquipmentActionCallback, type OnEquipmentClickCallback, type OnGridFilterChangeCallback, type OnGridStatsUpdateCallback, type OnOffActivationPoint, type OnOffDeviceData, OnOffDeviceModalController, type OnOffDeviceModalInstance, type OnOffDeviceModalParams, type OnOffDeviceModalState, OnOffDeviceModalView, type OnOffScheduleEntry as OnOffDeviceScheduleEntry, type OnOffDeviceThemeMode, type OnOffDeviceType, type OnOffGroupScheduleEntry, type OnOffModalView, type OnOffScheduleEntry$1 as OnOffScheduleEntry, type OnOffTimelineChartConfig, type OnOffTimelineChartInstance, type OnOffTimelineChartParams, type OnOffTimelineData, type OnOffTimelineSegment, type OnboardFooterLink, type OnboardModalConfig, type OnboardModalHandle, OnboardModalView, type OpenContractDevicesModalParams, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, type OpenUserManagementParams, type OperationalComparisonModalInstance, type OperationalComparisonModalParams, type OperationalContextChangeEvent, type OperationalDashboardInstance, type DashboardKPIs as OperationalDashboardKPIs, type OperationalDashboardParams, type DashboardPeriod as OperationalDashboardPeriod, type DashboardThemeMode as OperationalDashboardThemeMode, type OperationalDevice, type DowntimeEntry as OperationalDowntimeEntry, type OperationalEquipment, type OperationalEquipmentReadyEvent, OperationalGeneralListController, type OperationalGeneralListInstance, type OperationalGeneralListParams, type OperationalGeneralListState, OperationalGeneralListView, type OperationalHeaderDevicesGridInstance, type OperationalHeaderDevicesGridParams, OperationalHeaderDevicesGridView, type OperationalHeaderLabels, type OperationalHeaderStats, type OperationalHeaderThemeMode, type OperationalIndicatorsAccessEvent, type OperationalIndicatorsAttributes, type OperationalListEventHandler, type OperationalListEventType, type ThemeMode$3 as OperationalListThemeMode, type StatusConfig as OperationalStatusConfig, type OperationalStore, type TrendDataPoint as OperationalTrendDataPoint, PERM, DEVICE_TYPES$1 as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG$2 as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type PdfLayout, type Period, type Permission, type PermissionSet, type PersistResult$1 as PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, type PresetupDevice, type PresetupGatewayInstance, type PresetupGatewayOptions, type RealTimeTelemetryInstance, type RealTimeTelemetryParams, SCHEDULE_HOLIDAY_CSS_PREFIX, SCHEDULE_IR_CSS_PREFIX, SCHEDULE_ON_OFF_CSS_PREFIX, SCHEDULE_SETPOINT_CSS_PREFIX, SCHED_CSS_PREFIX, SEVERITY_ORDER, SIDEBAR_ICONS, SIDEBAR_MENU_CSS_PREFIX, SOLENOID_CONTROL_CSS_PREFIX, SOLENOID_IMAGES, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, STATUS_TO_CONNECTIVITY, SWITCH_CONTROL_CSS_PREFIX, type ScheduleEntryBase, ScheduleHolidayController, type ScheduleHolidayInstance, type ScheduleHolidayParams, type ScheduleHolidaySettings, type ScheduleHolidayState, ScheduleHolidayView, ScheduleIRController, type ScheduleIRInstance, type ScheduleIRParams, type ScheduleIRSettings, type ScheduleIRState, ScheduleIRView, ScheduleOnOffController, type ScheduleOnOffInstance, type ScheduleOnOffParams, type ScheduleOnOffSettings, type ScheduleOnOffState, ScheduleOnOffView, ScheduleSetpointController, type ScheduleSetpointDevices, type ScheduleSetpointInstance, type ScheduleSetpointParams, type ScheduleSetpointSettings, type ScheduleSetpointState, ScheduleSetpointView, type SchedulingBaseSettings, type ConfirmFn as SchedulingConfirmFn, type NotifyFn as SchedulingNotifyFn, type SchedulingThemeMode, type SetpointScheduleEntry, type SettingsError, type SettingsEvent, type Shopping$1 as Shopping, type ShoppingCard, type ShoppingCardDeviceCounts, type ShoppingCardMetaCounts, type ShoppingColors, type ShoppingDataPoint, type SidebarFooterConfig, type SidebarHeaderConfig, type SidebarMenuConfig, SidebarMenuController, type SidebarMenuInstance, type SidebarMenuItem, type SidebarMenuSection, SidebarMenuView, type SidebarState, type SidebarThemeMode, SolenoidControlController, type SolenoidControlInstance, type SolenoidControlParams, type SolenoidControlSettings, SolenoidControlView, type SolenoidState, type SolenoidStatus, type SolenoidThemeMode, type StatusLimits, type StatusSummary$1 as StatusSummary, type StoreRow, type SubAmbienteItem, SwitchControlController, type SwitchControlInstance, type SwitchControlParams, type SwitchControlSettings, SwitchControlView, type SwitchState, type SwitchStatus, type SwitchThemeMode, type SyncAction, type SyncActionType, type SyncOutcome, type SyncResult, type TBCurrentUser, type TBUser, type TBUserPage, CONTEXT_CONFIG$1 as TELEMETRY_CONTEXT_CONFIG, DEFAULT_FILTER_TABS as TELEMETRY_DEFAULT_FILTER_TABS, DOMAIN_CONFIG$1 as TELEMETRY_DOMAIN_CONFIG, CONTEXT_CONFIG as TELEMETRY_GRID_SHOPPING_CONTEXT_CONFIG, DOMAIN_CONFIG as TELEMETRY_GRID_SHOPPING_DOMAIN_CONFIG, DEFAULT_CHART_COLORS as TELEMETRY_INFO_DEFAULT_CHART_COLORS, ENERGY_CATEGORY_CONFIG as TELEMETRY_INFO_ENERGY_CATEGORY_CONFIG, WATER_CATEGORY_CONFIG as TELEMETRY_INFO_WATER_CATEGORY_CONFIG, TEMPERATURE_SORT_OPTIONS, TEMPERATURE_UNITS, type TabConfig, type TbScope, type TelemetryConfigTemplate, type TelemetryContext$1 as TelemetryContext, type TelemetryDevice$1 as TelemetryDevice, type TelemetryDomain$2 as TelemetryDomain, type TelemetryFetcher, type FilterState$2 as TelemetryFilterState, TelemetryGridController, type TelemetryGridEventType, type TelemetryGridInstance, type TelemetryGridParams, type CardAction as TelemetryGridShoppingCardAction, type TelemetryContext as TelemetryGridShoppingContext, type TelemetryDevice as TelemetryGridShoppingDevice, type TelemetryDomain$1 as TelemetryGridShoppingDomain, type FilterState as TelemetryGridShoppingFilterState, type TelemetryGridShoppingInstance, type TelemetryGridShoppingParams, type SortMode$2 as TelemetryGridShoppingSortMode, type TelemetryStats as TelemetryGridShoppingStats, type ThemeMode$5 as TelemetryGridShoppingThemeMode, TelemetryGridView, type CategoryType as TelemetryInfoCategoryType, type ChartColors as TelemetryInfoChartColors, type EnergyState as TelemetryInfoEnergyState, type EnergySummary as TelemetryInfoEnergySummary, type TelemetryDomain as TelemetryInfoShoppingDomain, type TelemetryInfoShoppingInstance, type TelemetryInfoShoppingParams, type ThemeMode$4 as TelemetryInfoShoppingThemeMode, type WaterState as TelemetryInfoWaterState, type WaterSummary as TelemetryInfoWaterSummary, type Shopping as TelemetryShopping, type SortMode$4 as TelemetrySortMode, type TelemetryStats$1 as TelemetryStats, type ThemeMode$c as TelemetryThemeMode, type TelemetryTypeLimits, type TempComparisonData, TempComparisonTooltip, type TempEntityData, TempRangeTooltip, type TempSensorDevice, type TempSensorSummaryData, TempSensorSummaryTooltip, type TempStatus, type TempStatusResult, type TemperatureComparisonModalInstance, type TemperatureComparisonModalParams, type TemperatureDevice, type TemperatureDisplaySettings, type TemperatureGranularity, type TemperatureKPI, type TemperatureModalInstance, type TemperatureModalParams, type TemperatureSettingsInstance, type TemperatureSettingsParams, type TemperatureStats, type TemperatureTelemetry, type TemperatureUnit, type ThingsboardCustomerAttrsConfig, type TicketDetailModalConfig, type TicketDetailModalHandle, type TicketMotivo, type TicketServiceOrchestratorShape, type TicketTypeId, type TicketsTabConfig, type TimedValue, type TopOffenderApiItem, type TrendChartOptions, type TrendDataPoint$1 as TrendDataPoint, type Customer as UpsellCustomer, type Device as UpsellDevice, type UpsellModalError, type UpsellModalInstance, type UpsellModalParams, type UpsellModalStyles, type UsageDataPoint, type UserInfo$2 as UserInfo, type UserRoleAssignmentsSnapshot, type UsersByRole, type UsersSummaryData, UsersSummaryTooltip, type UserInfo as UsersTooltipUserInfo, type ValidationMap, WAITING_STATUSES, WATER_DEVICE_CATEGORIES, WATER_SORT_OPTIONS, WATER_UNITS, DEFAULT_PALETTE as WELCOME_DEFAULT_PALETTE, type WaterCategorySummary, type WaterDisplaySettings, type WaterKPI, type ChartType as WaterPanelChartType, type ConsumptionDataPoint as WaterPanelConsumptionDataPoint, type DistributionDataPoint as WaterPanelDistributionDataPoint, type DistributionMode as WaterPanelDistributionMode, type FetchConsumptionFn as WaterPanelFetchConsumptionFn, type FetchDistributionFn as WaterPanelFetchDistributionFn, type WaterPanelInstance, type OnFilterChangeCallback$1 as WaterPanelOnFilterChangeCallback, type OnMaximizeCallback as WaterPanelOnMaximizeCallback, type OnPeriodChangeCallback$1 as WaterPanelOnPeriodChangeCallback, type OnRefreshCallback$1 as WaterPanelOnRefreshCallback, type OnVizModeChangeCallback as WaterPanelOnVizModeChangeCallback, type WaterPanelParams, type PeriodDays as WaterPanelPeriodDays, type WaterPanelState, type ThemeMode$8 as WaterPanelThemeMode, type VizMode as WaterPanelVizMode, type WaterCategoryData as WaterPanelWaterCategoryData, type WaterSummaryData as WaterPanelWaterSummaryData, type WaterRow, WaterSummaryTooltip, type WaterTankDataPoint, type WaterTankModalContext, type WaterTankModalError, type WaterTankModalI18n, type WaterTankModalStyleOverrides, type WaterTankTelemetryData, type WaterUnit, type WelcomeModalInstance, type WelcomeModalParams, type WelcomePalette, type UserInfo$1 as WelcomeUserInfo, type WizardDevice, addDetectionContext, addTicketNote as addFreshdeskTicketNote, addNamespace, aggregateByDay, appendFreshdeskTicketToTB, applyFilters as applyDeviceGridFilters, archiveAlarmAnnotation, assignShoppingColors, averageByDay, buildAmbienteGroupData, buildEntityObject as buildDeviceGridEntityObject, buildEquipmentCategoryDataForTooltip, buildEquipmentCategorySummary, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildTicketServiceOrchestrator, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateAvailability$1 as calculateAvailability, calculateAvailability as calculateDashboardAvailability, calculateMTBF as calculateDashboardMTBF, calculateMTTR as calculateDashboardMTTR, calculateDeviceStatus, calculateDeviceStatusMasterRules, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateFleetKPIs, calculateGroupMetrics, calculateMTBF$1 as calculateMTBF, calculateMTTR$1 as calculateMTTR, calculateShoppingDeviceCounts, calculateShoppingDeviceStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyEquipment, classifyEquipmentSubcategory, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, clearFreshdeskTicketsOnTB, connectionStatusIcons, createActionButton, createAlarmCardElement, createAlarmsNotificationsPanelComponent, createAmbienteDetailModal, createAmbienteGroupModal, createAnnotationIndicator, createBASDashboard, createButtonBar, createConsumption7DaysChart, createConsumptionChartWidget, createConsumptionModal, createCustomerCardV1, createCustomerCardV2, createDateRangePicker, createDaysGrid, createBusyModal as createDeviceGridBusyModal, createState as createDeviceGridState, createDeviceGridV6, createDeviceItem, createDeviceItemsFromMap, createDeviceOperationalCardComponent, createDeviceOperationalCardGridComponent, createDistributionChartWidget, createEnergyPanelComponent, createErrorSpan, createFancoilRemote, createFilterModalComponent, createFooterComponent, createTicket as createFreshdeskTicket, createGroupScheduleCard, createHeaderComponent, createHeaderDevicesGridComponent, createHeaderShoppingComponent, createInputDateRangePickerInsideDIV, createLibraryVersionChecker, createLoadingSpinner, createLogHelper, createMenuComponent, createMenuShoppingComponent, createModalHeader, createNewTicketWizard, createOnOffDeviceModal, createOnOffTimelineChart, createOperationalDashboardComponent, createOperationalGeneralListComponent, createOperationalHeaderDevicesGridComponent, createPresetupGateway, createScheduleCard, createScheduleHoliday, createScheduleIR, createScheduleOnOff, createScheduleSetpoint, createSidebarMenu, createSolenoidControl, createSwitchControl, createTelemetryGridComponent, createTelemetryGridShoppingComponent, createTelemetryInfoShoppingComponent, createTicketDetailModal, createTicketsTab, createToggleSwitch, createWaterPanelComponent, createWidgetController, decodePayload, decodePayloadBase64Xor, deleteTicket as deleteFreshdeskTicket, detectContext, detectDeviceType, detectDomainAndContext, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, doSchedulesOverlap, exportGridCsv, exportGridPdf, exportGridXls, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractEntityId, extractMyIOCredentials, extractPowerLimitsForDevice, fetchCurrentUserInfo, fetchTicketDetail as fetchFreshdeskTicketDetail, fetchBundle as fetchGCDRBundle, fetchOpenTickets, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, fetchTicketsForDevice, findValue, findValueWithDefault, fmtPerc$1 as fmtPerc, fmtPerc as fmtPercLegacy, formatAlarmRelativeTime, formatAllInSameUnit, formatAllInSameWaterUnit, formatPercentage as formatDashboardPercentage, formatDateForInput, formatDateToYMD, formatDateWithTimezoneOffset, formatDuration, formatEnergy$1 as formatEnergy, formatHours, formatNumberReadable, formatPower, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatTrend, formatWater$1 as formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, generateFilterModalStyles, generateMockDowntimeList, generateMockKPIs, generateMockOnOffTimelineData, generateMockTrendData, getActiveAnnotationCount, getAlarmAnnotations, getSeverityConfig as getAlarmSeverityConfig, getStateConfig as getAlarmStateConfig, getAnnotationPermissions, getAuthCacheStats, getAvailabilityColorFromThresholds, getAvailableContexts, getCategoryDisplayInfo, getConnectionStatusIcon, getDateRangeArray, getDefaultGroupColors, getDefaultPeriodCurrentDaySoFar, getDefaultPeriodCurrentMonthSoFar, getCachedData as getDeviceGridCachedData, getStatusCategory as getDeviceGridV6StatusCategory, getDeviceStatusCategory, getDeviceStatusIcon, getDeviceStatusInfo, getThemeColors as getDistributionThemeColors, getDomainFromDeviceType, getFirstDayOfMonth, getFirstDayOfMonthFor, getGroupColor, getHashColor, getImageByConsumption, getLastDayOfMonth, getModalHeaderStyles, getDeviceConfig as getOnOffDeviceConfig, getDeviceType as getOnOffDeviceType, getModalTitle as getOnOffModalTitle, getAvailabilityColor as getOperationalAvailabilityColor, getStatusColors as getOperationalStatusColors, getPeriodDateRange, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getIcon as getSidebarIcon, getSuggestedIdentifier, getSuggestedProfiles, getTrendClass, getTrendIcon, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, handleDeviceType, hasSelectedDays, initMyIOAuthContext, initOnOffTimelineTooltips, injectActionButtonStyles, injectAlarmsNotificationsPanelStyles, injectAmbienteGroupModalStyles, injectAmbienteModalStyles, injectBASDashboardStyles, injectCustomerCardV1Styles, injectCustomerCardV2Styles, injectStyles as injectDeviceGridV6Styles, injectDeviceOperationalCardGridStyles, injectDeviceOperationalCardStyles, injectFancoilRemoteStyles, injectHeaderDevicesGridStyles, injectHeaderShoppingStyles, injectMenuShoppingStyles, injectOnOffDeviceModalStyles, injectOnOffTimelineStyles, injectOperationalDashboardStyles, injectOperationalGeneralListStyles, injectOperationalHeaderDevicesGridStyles, injectScheduleHolidayStyles, injectScheduleIRStyles, injectScheduleOnOffStyles, injectScheduleSetpointStyles, injectSchedulingSharedStyles, injectSidebarMenuStyles, injectSolenoidControlStyles, injectSwitchControlStyles, interpolateTemperature, isAlarmActive, isConnectionStale, isDeviceOffline, isEndAfterStart, isEnergyDevice, isEntradaDevice, isEquipmentDevice, isHydrometerDevice, isInRange, isOnOffDeviceProfile, isSolenoidDevice, isStoreDevice, isTankDevice, isTelemetryStale, isTemperatureDevice, isValidConnectionStatus, isValidDeviceStatus, isValidTimeFormat, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeConnectionStatus, normalizeRecipients, numbers, openAlarmBundleMapModal, openAlarmComparisonModal, openAlarmDetailsModal, openAmbienteDetailModal, openAmbienteGroupModal, openContractDevicesModal, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGCDRSyncModal, openGoalsPanel, openHelpModal, openIntegrationsModal, openMeasurementSetupModal, openOnOffDeviceModal, openOnboardModal, openOperationalComparisonModal, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, openTutorialModal, openUpsellModal, openUserManagementModal, openWelcomeModal, parseInputDateToDate, periodKey, readFreshdeskTicketsFromTB, recalculateDeviceStatus, recomputePercentages as recomputeDeviceGridPercentages, removeAlarmsNotificationsPanelStyles, removeBASDashboardStyles, removeDeviceOperationalCardGridStyles, removeDeviceOperationalCardStyles, removeOperationalDashboardStyles, removeOperationalGeneralListStyles, removeOperationalHeaderDevicesGridStyles, removeSchedulingSharedStyles, renderAlarmCard, renderCardAmbienteV6, renderCardComponent$3 as renderCardComponent, renderCardComponent$2 as renderCardComponentEnhanced, renderCardComponentHeadOffice, renderCardComponentLegacy, renderCardComponentV2, renderCardComponent$1 as renderCardComponentV5, renderCardComponentV6, renderCardComponent as renderCardComponentV6Alias, renderCardComponentV5 as renderCardV5, renderDowntimeList as renderDashboardDowntimeList, renderList as renderDeviceGridList, renderDualLineChart, renderKPICards, renderLineChart, renderOnOffTimelineChart, renderSeverityBarChart, renderStateDonutChart, renderStatusDonutChart, renderTrendChart, reopenTicket as reopenFreshdeskTicket, createDateInput as schedCreateDateInput, createNumberInput as schedCreateNumberInput, createSelect as schedCreateSelect, createTimeInput as schedCreateTimeInput, escapeHtml as schedEscapeHtml, showConfirmModal as schedShowConfirmModal, showNotificationModal as schedShowNotificationModal, shouldFlashIcon, sortDevices as sortDeviceGridDevices, strings, formatEnergy as telemetryInfoFormatEnergy, formatPercentage$1 as telemetryInfoFormatPercentage, formatWater as telemetryInfoFormatWater, temperatureDeviceStatusIcons, timeToMinutes, timeWindowFromInputYMD, toCSV, toFixedSafe, toSummary as toFreshdeskTicketSummary, updateStats as updateDeviceGridStats, updateTicket as updateFreshdeskTicket, upsertAlarmAnnotation, version, waterDeviceStatusIcons, writeFreshdeskSyncedAtToTB, writeFreshdeskTicketsToTB };
19212
+ export { ACTION_BUTTON_CSS_PREFIX, ALARMS_NOTIFICATIONS_PANEL_STYLES, SEVERITY_CONFIG as ALARM_SEVERITY_CONFIG, ALARM_SORT_OPTIONS, STATE_CONFIG as ALARM_STATE_CONFIG, AMBIENTE_GROUP_CSS_PREFIX, AMBIENTE_MODAL_CSS_PREFIX, ANNOTATION_TYPE_COLORS, ANNOTATION_TYPE_LABELS, ANNOTATION_TYPE_LABELS_EN, ActionButtonController, type ActionButtonInstance, type ActionButtonParams, type ActionButtonSettings, type ActionButtonSize, type ActionButtonThemeMode, type ActionButtonVariant, ActionButtonView, type AggregatedGroupMetrics, type Alarm, type AlarmAction, type AlarmAnnotation, type AlarmApiResponse, type AlarmBundleMapParams, type AlarmCardParams, type AlarmComparisonModalInstance, type AlarmComparisonModalParams, type AlarmFilterTab, type AlarmFilters, type AlarmInfo, type AlarmListApiResponse, type AlarmListParams, AlarmService, type AlarmSeverity, type AlarmSortMode, type AlarmSortOption, type AlarmState, type AlarmStats, type AlarmStatsApiResponse, type AlarmTrendApiPoint, type AlarmsEventHandler, type AlarmsEventType, AlarmsNotificationsPanelController, type AlarmsNotificationsPanelInstance, type AlarmsNotificationsPanelParams, type AlarmsNotificationsPanelState, AlarmsNotificationsPanelView, type AlarmsSummaryData, AlarmsSummaryTooltip, type AlarmsTab, type AmbienteChildDevice, type AmbienteData as AmbienteDetailData, type AmbienteDetailModalConfig, type AmbienteDetailModalInstance, type AmbienteEnergyDevice, type AmbienteGroupData, type AmbienteGroupModalConfig, type AmbienteGroupModalInstance, type AmbienteHierarchyNode, type AmbienteRemoteDevice, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, AnnotationTooltip, type AnnotationType$2 as AnnotationType, type AppliedFilters, type AuditAction, type AuditEntry, type AuthConfig, type AuthContextSnapshot, type AvailabilityFleet, type AvailabilityParams, type AvailabilityResponse, type AvailabilityStatus, type AvailabilitySummary, BASDashboardController, type BASDashboardData, type BASDashboardInstance, type BASDashboardParams, type BASDashboardSettings, type BASDashboardState, type BASDashboardThemeMode, BASDashboardView, type BASEventType, type HVACDevice as BASHVACDevice, type HVACDeviceStatus as BASHVACDeviceStatus, type MotorDevice as BASMotorDevice, type MotorDeviceStatus as BASMotorDeviceStatus, type MotorDeviceType as BASMotorDeviceType, type WaterDevice as BASWaterDevice, type WaterDeviceStatus as BASWaterDeviceStatus, type WaterDeviceType as BASWaterDeviceType, BAS_DASHBOARD_CSS_PREFIX, BAS_DASHBOARD_STYLES, type BarChartOptions, type BuildTemplateExportParams, CHART_COLORS, DEFAULT_COLORS as CONSUMPTION_CHART_COLORS, DEFAULT_CONFIG as CONSUMPTION_CHART_DEFAULTS, THEME_COLORS as CONSUMPTION_THEME_COLORS, type CardGridCustomStyle, type CardGridItem, CardGridPanel, type CardGridPanelOptions, type CardKPIs, type CategorySummary, type ChartDomain, type ClampRange, type ColumnSummaryData, type ColumnSummaryDevice, ColumnSummaryTooltip, ConnectionStatusType, type Consumption7DaysColors, type Consumption7DaysConfig, type Consumption7DaysData, type Consumption7DaysInstance, type ChartType$2 as ConsumptionChartType, type ConsumptionDataPoint$2 as ConsumptionDataPoint, type IdealRangeConfig as ConsumptionIdealRangeConfig, type ConsumptionModalConfig, type ConsumptionModalInstance, type TemperatureConfig as ConsumptionTemperatureConfig, type TemperatureReferenceLine as ConsumptionTemperatureReferenceLine, type ThemeColors as ConsumptionThemeColors, type ThemeMode$e as ConsumptionThemeMode, type VizMode$2 as ConsumptionVizMode, type ConsumptionWidgetConfig, type ConsumptionWidgetInstance, type ContextOption, type ContractDeviceCounts, type ContractDevicesError, type ContractDevicesPersistResult, type ContractDomain, type ContractDomainCounts, type ContractSummaryData, ContractSummaryTooltip, type ContractTemperatureCounts, type CreateAssetDto, type CreateCustomerDto, type CreateDateRangePickerOptions, type CreateDeviceDto, type CreateInputDateRangePickerInsideDIVParams, type CustomerCardData$1 as CustomerCardData, type CustomerCardDeviceCounts$1 as CustomerCardDeviceCounts, type CustomerCardMetaCounts$1 as CustomerCardMetaCounts, type ThemeMode$b as CustomerCardThemeMode, CustomerCardV1, type CustomerCardV1Instance, type CustomerCardV1Params, CustomerCardV2, type CustomerCardV2Instance, type CustomerCardV2Params, type CustomerOption, DAY_LABELS, DAY_LABELS_FULL, DECIMAL_OPTIONS, DEFAULT_ACTION_BUTTON_SETTINGS, DEFAULT_ALARM_FILTERS, DEFAULT_ALARM_FILTER_TABS, DEFAULT_ALARM_STATS, DEFAULT_BAS_SETTINGS, DEFAULT_CLAMP_RANGE, DEFAULT_DASHBOARD_KPIS$1 as DEFAULT_DASHBOARD_KPIS, DEFAULT_DAYS_WEEK, DEFAULT_DEVICE_OPERATIONAL_CARD_FILTER_STATE, DEFAULT_ENERGY_GROUP_COLORS, DEFAULT_EQUIPMENT_FILTER_STATE, DEFAULT_EQUIPMENT_STATS, DEFAULT_FANCOIL_SETTINGS, DEFAULT_FANCOIL_STATE, DEFAULT_FOOTER_COLORS, DEFAULT_GAS_GROUP_COLORS, DEFAULT_GRID_FILTER_STATE, DEFAULT_GRID_FILTER_TABS, DEFAULT_HEADER_DARK_THEME, DEFAULT_HEADER_LIGHT_THEME, DEFAULT_HEADER_SHOPPING_CONFIG, DEFAULT_HOLIDAY_SETTINGS, DEFAULT_HOLIDAY_STATE, DEFAULT_INTEGRATION_TABS, DEFAULT_IR_SCHEDULE, DEFAULT_IR_SETTINGS, DEFAULT_IR_STATE, DEFAULT_SETTINGS as DEFAULT_MEASUREMENT_SETTINGS, DEFAULT_MENU_CONFIG, DEFAULT_MENU_SHOPPING_CONFIG, DEFAULT_ON_OFF_SCHEDULE, DEFAULT_ON_OFF_SETTINGS, DEFAULT_ON_OFF_STATE, DEFAULT_SETPOINT_SCHEDULE, DEFAULT_SETPOINT_SETTINGS, DEFAULT_SETPOINT_STATE, DEFAULT_SHOPPING_CARDS, DEFAULT_SHOPPING_COLORS, DEFAULT_SIDEBAR_CONFIG, DEFAULT_SOLENOID_SETTINGS, DEFAULT_SOLENOID_STATE, DEFAULT_SWITCH_SETTINGS, DEFAULT_SWITCH_STATE, DEFAULT_TABS, DEFAULT_WATER_GROUP_COLORS, DEVICE_COUNT_KEYS, DEVICE_OPERATIONAL_CARD_GRID_STYLES, DEVICE_OPERATIONAL_CARD_STYLES, DEVICE_TYPES, DEVICE_TYPE_DOMAIN, type DashboardEnergySummary, type DashboardKPIs$1 as DashboardKPIs, type DashboardPeriod$1 as DashboardPeriod, type DashboardWaterSummary, type DateRangeControl, type DateRangeInputController, type DateRangeResult, type DaysWeek, type DemandModalInstance, type DemandModalParams, type DemandModalPdfConfig, type DemandModalStyles, type DeviceAlarmStatApiItem, type DeviceAttributes, type DeviceAvailability, DeviceCategory, type DeviceComparisonData, DeviceComparisonTooltip, ContextType as DeviceContextType, type DeviceCountKeys, DomainType$2 as DeviceDomainType, DeviceGridV6Controller, type CardGridCustomStyle as DeviceGridV6CustomStyle, type DeviceGridV6Instance, type CardGridItem as DeviceGridV6Item, type DeviceGridV6Params, type SortMode as DeviceGridV6SortMode, type DeviceGridV6Stats, DeviceGridV6View, DeviceGridWidgetFactory, type DeviceInfo$2 as DeviceInfo, type DeviceMultipliers, DeviceOperationalCardController, type DeviceOperationalCardEventHandler, type DeviceOperationalCardEventType, type DeviceOperationalCardFilterState, DeviceOperationalCardGridController, type DeviceOperationalCardGridEventHandler, type DeviceOperationalCardGridEventType, type DeviceOperationalCardGridFilterState, type DeviceOperationalCardGridInstance, type DeviceOperationalCardGridParams, type SortMode$1 as DeviceOperationalCardGridSortMode, type DeviceOperationalCardGridState, type DeviceOperationalCardGridStats, type ThemeMode$1 as DeviceOperationalCardGridThemeMode, DeviceOperationalCardGridView, type DeviceOperationalCardInstance, type DeviceOperationalCardParams, type DeviceOperationalCardState, type ThemeMode$2 as DeviceOperationalCardThemeMode, DeviceOperationalCardView, type DeviceRelation, type DeviceStatusName, DeviceStatusType, type DeviceType, type DeviceTypeConfig, type DeviceTypeLimits, type DistributionChartConfig, type DistributionChartInstance, type DistributionData, type DistributionDomain, type DistributionMode$2 as DistributionMode, type DistributionThemeColors, DomainType$3 as DomainType, type DonutChartOptions, type DowntimeEntry$1 as DowntimeEntry, ENERGY_SORT_OPTIONS, ENERGY_UNITS, EQUIPMENT_CLASSIFICATION_CONFIG, STATUS_CONFIG as EQUIPMENT_STATUS_CONFIG, TYPE_CONFIG as EQUIPMENT_TYPE_CONFIG, EXPORT_DEFAULT_COLORS, EXPORT_DOMAIN_ICONS, EXPORT_DOMAIN_LABELS, EXPORT_DOMAIN_UNITS, type EnergyDisplaySettings, type EnergyEntityData, type EnergyKPI, type EnergyModalContext, type EnergyModalError, type EnergyModalI18n, type EnergyModalStyleOverrides, type ChartType$1 as EnergyPanelChartType, type ConsumptionDataPoint$1 as EnergyPanelConsumptionDataPoint, type DistributionDataPoint$1 as EnergyPanelDistributionDataPoint, type DistributionMode$1 as EnergyPanelDistributionMode, type EnergyCategoryData as EnergyPanelEnergyCategoryData, type EnergySummaryData as EnergyPanelEnergySummaryData, type FetchConsumptionFn$1 as EnergyPanelFetchConsumptionFn, type FetchDistributionFn$1 as EnergyPanelFetchDistributionFn, type EnergyPanelInstance, type OnFilterChangeCallback$2 as EnergyPanelOnFilterChangeCallback, type OnMaximizeCallback$1 as EnergyPanelOnMaximizeCallback, type OnPeriodChangeCallback$2 as EnergyPanelOnPeriodChangeCallback, type OnRefreshCallback$2 as EnergyPanelOnRefreshCallback, type OnVizModeChangeCallback$1 as EnergyPanelOnVizModeChangeCallback, type EnergyPanelParams, type PeriodDays$1 as EnergyPanelPeriodDays, type EnergyPanelState, type ThemeMode$9 as EnergyPanelThemeMode, type VizMode$1 as EnergyPanelVizMode, EnergyRangeTooltip, type EnergyStatus, type EnergyStatusResult, EnergySummaryTooltip, type EnergyUnit, type EntityListItem, EntityListPanel, type EntityListPanelOptions, type EquipmentAction, type EquipmentCardData, EquipmentCategory, type EquipmentFilterState, type EquipmentKPI, type EquipmentStats, type EquipmentStatus$1 as EquipmentStatus, type EquipmentType$1 as EquipmentType, type ExcludeGroupsTotals, ExclusionGroupsTab, type ExclusionGroupsTabConfig, type ExportColorsPallet, type ExportComparisonData, type ExportConfigTemplate, type ExportCustomerData, type ExportCustomerInfo, type ExportData, type ExportDataInput, type ExportDataInstance, type ExportDataPoint, type ExportDeviceInfo, type ExportDomain, type ExportFormat, type ExportGroupData, type ExportOptions, type ExportProgressCallback, type ExportResult, type ExportStats, type ExportType, FANCOIL_IMAGES, FANCOIL_REMOTE_CSS_PREFIX, FILTER_GROUPS, FILTER_TAB_ICONS, DEFAULT_CONFIG_TEMPLATE as FOOTER_DEFAULT_CONFIG_TEMPLATE, DEFAULT_DARK_THEME as FOOTER_DEFAULT_DARK_THEME, DEFAULT_LIGHT_THEME as FOOTER_DEFAULT_LIGHT_THEME, type FancoilMode, FancoilRemoteController, type FancoilRemoteInstance, type FancoilRemoteParams, type FancoilRemoteSettings, FancoilRemoteView, type FancoilState, type FancoilStatus, type FancoilThemeMode, type FilterCategory, type FilterState$1 as FilterCategoryState, type FilterGroup, FilterModalComponent, FilterModalController, type FilterModalDomain, type FilterModalInstance, type FilterModalOptions, type FilterModalParams, type FilterModalState, type FilterModalThemeMode, FilterModalView, type SortMode$3 as FilterSortMode, type FilterSortOption, type FilterTab, type FilterableDevice, type FooterColors, type FooterComponentInstance, type FooterComponentParams, type FooterConfigTemplate, type SelectedEntity as FooterSelectedEntity, type FooterThemeConfig, type FooterThemeMode, type UnitType as FooterUnitType, type FreshDeskConversation, type FreshDeskTicket, FreshdeskClientModule as FreshdeskClient, type FreshdeskTicketSummary, type GCDRAssignment, type GCDRBundleAsset, type GCDRBundleDevice, type GCDRBundleRule, type GCDRCustomerBundle, type GCDREntity, type GCDRPolicy, type ProgressCallback as GCDRProgressCallback, type GCDRRole, type GCDRSyncModalParams, type GCDRSyncPlan, type GCDRSyncResult, type TBAsset as GCDRTBAsset, type TBCustomer as GCDRTBCustomer, type TBDevice as GCDRTBDevice, type TBServerScopeAttrs as GCDRTBServerScopeAttrs, GRID_SORT_OPTIONS, type GatewayInfo, type CustomerOption$1 as GridCustomerOption, type EquipmentStatus as GridEquipmentStatus, type EquipmentType as GridEquipmentType, type GridFilterTab, type GridSortOption, type GroupColors, HEADER_CSS_PREFIX, DEFAULT_CARD_COLORS as HEADER_DEFAULT_CARD_COLORS, HEADER_DEFAULT_CONFIG_TEMPLATE, HEADER_DEFAULT_LOGO_URL, HEADER_DEVICES_GRID_STYLES, HEADER_SHOPPING_CSS_PREFIX, HEADER_STYLE_DARK, HEADER_STYLE_DEFAULT, HEADER_STYLE_PREMIUM_GREEN, HEADER_STYLE_SLIM, type CardColorConfig as HeaderCardColorConfig, type HeaderCardColors, type CardType as HeaderCardType, type HeaderComponentInstance, type HeaderComponentParams, type HeaderConfigTemplate, type HeaderDevice, type HeaderDevicesDomain, HeaderDevicesGridController, type HeaderDevicesGridInstance, type HeaderDevicesGridParams, HeaderDevicesGridView, type HeaderDevicesThemeMode, type HeaderDomainConfig, type HeaderEventType, HeaderFilterModal, type FilterPreset as HeaderFilterPreset, type FilterSelection as HeaderFilterSelection, type HeaderLabels, HeaderPanelComponent, type HeaderPanelOptions, type HeaderPanelStyle, type Shopping$2 as HeaderShopping, type HeaderShoppingConfigTemplate, type ContractState as HeaderShoppingContractState, type DomainType$1 as HeaderShoppingDomainType, type HeaderShoppingEventHandler, type HeaderShoppingEventType, type HeaderShoppingInstance, type HeaderShoppingParams, type HeaderShoppingPeriod, HeaderShoppingView, type HeaderStats, type HeaderThemeConfig, type HeaderThemeMode, HeaderView, type HolidayEntry, IMPORTANCE_COLORS, IMPORTANCE_LABELS, IMPORTANCE_LABELS_EN, type IRCommand, type IRGroupScheduleEntry, type IRScheduleEntry, type ImportanceLevel$2 as ImportanceLevel, type InferredDeviceType, InfoTooltip, type InstantaneousPowerLimits, type IntegrationTab, type IntegrationTabId, type IntegrationsModalInstance, type IntegrationsModalOptions, type IntegrationsThemeMode, LoadingSpinner, type LogAnnotationsAttribute, LogHelper, DOMAIN_CONFIG$2 as MEASUREMENT_DOMAIN_CONFIG, MENU_SHOPPING_CSS_PREFIX, METRO_TILE_COLORS, MOTOR_SORT_OPTIONS, type MeasurementDisplaySettings, type MeasurementSetupError, type MeasurementSetupFormData, type MeasurementSetupModalInstance, type MeasurementSetupModalParams, type MeasurementSetupModalStyles, type PersistResult as MeasurementSetupPersistResult, type MenuComponentInstance, type MenuComponentParams, type MenuConfigTemplate, MenuController, type MenuEventHandler, type MenuEventType, type MenuShoppingConfigTemplate, type DashboardStateEvent as MenuShoppingDashboardStateEvent, type DomainType as MenuShoppingDomainType, type MenuShoppingEventHandler, type MenuShoppingEventType, type MenuShoppingInstance, type MenuShoppingParams, type MenuShoppingSettings, type MenuShoppingTab, type MenuShoppingUserInfo, MenuShoppingView, type MenuState, type ThingsboardWidgetContext as MenuThingsboardWidgetContext, MenuView, type MetroTile, type ExportFormat$2 as ModalExportFormat, ModalHeader, type ModalHeaderConfig, type ModalHeaderController, type ModalHeaderControllerOptions, type ModalHeaderHandlers, type ModalHeaderInstance, type ModalHeaderOptions, type ModalTheme, type MyIOAuthConfig, MyIOAuthContext, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, NewTicketWizard, type NewTicketWizardConfig, type NotificationInfo, type NotificationsSummaryData, NotificationsSummaryTooltip, OFFLINE_STATUSES, ONLINE_STATUSES, ONOFF_TIMELINE_CSS_PREFIX, DEFAULT_DEVICE_CONFIG as ON_OFF_DEFAULT_DEVICE_CONFIG, DEFAULT_MODAL_STATE as ON_OFF_DEFAULT_MODAL_STATE, DEVICE_CONFIG as ON_OFF_DEVICE_CONFIG, ON_OFF_DEVICE_PROFILES, ON_OFF_MODAL_CSS_PREFIX, AVAILABILITY_THRESHOLDS as OPERATIONAL_AVAILABILITY_THRESHOLDS, DEFAULT_DASHBOARD_KPIS as OPERATIONAL_DASHBOARD_DEFAULT_KPIS, PERIOD_OPTIONS as OPERATIONAL_DASHBOARD_PERIOD_OPTIONS, OPERATIONAL_DASHBOARD_STYLES, OPERATIONAL_GENERAL_LIST_STYLES, OPERATIONAL_HEADER_DEVICES_GRID_STYLES, STATUS_CONFIG$1 as OPERATIONAL_STATUS_CONFIG, type OnAlarmActionCallback, type OnAlarmClickCallback, type OnAlarmFilterChangeCallback, type OnAlarmStatsUpdateCallback, type OnEquipmentActionCallback, type OnEquipmentClickCallback, type OnGridFilterChangeCallback, type OnGridStatsUpdateCallback, type OnOffActivationPoint, type OnOffDeviceData, OnOffDeviceModalController, type OnOffDeviceModalInstance, type OnOffDeviceModalParams, type OnOffDeviceModalState, OnOffDeviceModalView, type OnOffScheduleEntry as OnOffDeviceScheduleEntry, type OnOffDeviceThemeMode, type OnOffDeviceType, type OnOffGroupScheduleEntry, type OnOffModalView, type OnOffScheduleEntry$1 as OnOffScheduleEntry, type OnOffTimelineChartConfig, type OnOffTimelineChartInstance, type OnOffTimelineChartParams, type OnOffTimelineData, type OnOffTimelineSegment, type OnboardFooterLink, type OnboardModalConfig, type OnboardModalHandle, OnboardModalView, type OpenContractDevicesModalParams, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, type OpenUserManagementParams, type OperationalComparisonModalInstance, type OperationalComparisonModalParams, type OperationalContextChangeEvent, type OperationalDashboardInstance, type DashboardKPIs as OperationalDashboardKPIs, type OperationalDashboardParams, type DashboardPeriod as OperationalDashboardPeriod, type DashboardThemeMode as OperationalDashboardThemeMode, type OperationalDevice, type DowntimeEntry as OperationalDowntimeEntry, type OperationalEquipment, type OperationalEquipmentReadyEvent, OperationalGeneralListController, type OperationalGeneralListInstance, type OperationalGeneralListParams, type OperationalGeneralListState, OperationalGeneralListView, type OperationalHeaderDevicesGridInstance, type OperationalHeaderDevicesGridParams, OperationalHeaderDevicesGridView, type OperationalHeaderLabels, type OperationalHeaderStats, type OperationalHeaderThemeMode, type OperationalIndicatorsAccessEvent, type OperationalIndicatorsAttributes, type OperationalListEventHandler, type OperationalListEventType, type ThemeMode$3 as OperationalListThemeMode, type StatusConfig as OperationalStatusConfig, type OperationalStore, type TrendDataPoint as OperationalTrendDataPoint, PERM, DEVICE_TYPES$1 as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG$2 as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type PdfLayout, type Period, type Permission, type PermissionSet, type PersistResult$1 as PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, type PresetupDevice, type PresetupGatewayInstance, type PresetupGatewayOptions, type RealTimeTelemetryInstance, type RealTimeTelemetryParams, SCHEDULE_HOLIDAY_CSS_PREFIX, SCHEDULE_IR_CSS_PREFIX, SCHEDULE_ON_OFF_CSS_PREFIX, SCHEDULE_SETPOINT_CSS_PREFIX, SCHED_CSS_PREFIX, SEVERITY_ORDER, SIDEBAR_ICONS, SIDEBAR_MENU_CSS_PREFIX, SOLENOID_CONTROL_CSS_PREFIX, SOLENOID_IMAGES, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, STATUS_TO_CONNECTIVITY, SWITCH_CONTROL_CSS_PREFIX, type ScheduleEntryBase, ScheduleHolidayController, type ScheduleHolidayInstance, type ScheduleHolidayParams, type ScheduleHolidaySettings, type ScheduleHolidayState, ScheduleHolidayView, ScheduleIRController, type ScheduleIRInstance, type ScheduleIRParams, type ScheduleIRSettings, type ScheduleIRState, ScheduleIRView, ScheduleOnOffController, type ScheduleOnOffInstance, type ScheduleOnOffParams, type ScheduleOnOffSettings, type ScheduleOnOffState, ScheduleOnOffView, ScheduleSetpointController, type ScheduleSetpointDevices, type ScheduleSetpointInstance, type ScheduleSetpointParams, type ScheduleSetpointSettings, type ScheduleSetpointState, ScheduleSetpointView, type SchedulingBaseSettings, type ConfirmFn as SchedulingConfirmFn, type NotifyFn as SchedulingNotifyFn, type SchedulingThemeMode, type SetpointScheduleEntry, type SettingsError, type SettingsEvent, type Shopping$1 as Shopping, type ShoppingCard, type ShoppingCardDeviceCounts, type ShoppingCardMetaCounts, type ShoppingColors, type ShoppingDataPoint, type SidebarFooterConfig, type SidebarHeaderConfig, type SidebarMenuConfig, SidebarMenuController, type SidebarMenuInstance, type SidebarMenuItem, type SidebarMenuSection, SidebarMenuView, type SidebarState, type SidebarThemeMode, SolenoidControlController, type SolenoidControlInstance, type SolenoidControlParams, type SolenoidControlSettings, SolenoidControlView, type SolenoidState, type SolenoidStatus, type SolenoidThemeMode, type StatusLimits, type StatusSummary$1 as StatusSummary, type StoreRow, type SubAmbienteItem, SwitchControlController, type SwitchControlInstance, type SwitchControlParams, type SwitchControlSettings, SwitchControlView, type SwitchState, type SwitchStatus, type SwitchThemeMode, type SyncAction, type SyncActionType, type SyncOutcome, type SyncResult, type TBCurrentUser, type TBUser, type TBUserPage, CONTEXT_CONFIG$1 as TELEMETRY_CONTEXT_CONFIG, DEFAULT_FILTER_TABS as TELEMETRY_DEFAULT_FILTER_TABS, DOMAIN_CONFIG$1 as TELEMETRY_DOMAIN_CONFIG, CONTEXT_CONFIG as TELEMETRY_GRID_SHOPPING_CONTEXT_CONFIG, DOMAIN_CONFIG as TELEMETRY_GRID_SHOPPING_DOMAIN_CONFIG, DEFAULT_CHART_COLORS as TELEMETRY_INFO_DEFAULT_CHART_COLORS, ENERGY_CATEGORY_CONFIG as TELEMETRY_INFO_ENERGY_CATEGORY_CONFIG, WATER_CATEGORY_CONFIG as TELEMETRY_INFO_WATER_CATEGORY_CONFIG, TEMPERATURE_SORT_OPTIONS, TEMPERATURE_UNITS, type TabConfig, type TbScope, type TelemetryConfigTemplate, type TelemetryContext$1 as TelemetryContext, type TelemetryDevice$1 as TelemetryDevice, type TelemetryDomain$2 as TelemetryDomain, type TelemetryFetcher, type FilterState$2 as TelemetryFilterState, TelemetryGridController, type TelemetryGridEventType, type TelemetryGridInstance, type TelemetryGridParams, type CardAction as TelemetryGridShoppingCardAction, type TelemetryContext as TelemetryGridShoppingContext, type TelemetryDevice as TelemetryGridShoppingDevice, type TelemetryDomain$1 as TelemetryGridShoppingDomain, type FilterState as TelemetryGridShoppingFilterState, type TelemetryGridShoppingInstance, type TelemetryGridShoppingParams, type SortMode$2 as TelemetryGridShoppingSortMode, type TelemetryStats as TelemetryGridShoppingStats, type ThemeMode$5 as TelemetryGridShoppingThemeMode, TelemetryGridView, type CategoryType as TelemetryInfoCategoryType, type ChartColors as TelemetryInfoChartColors, type EnergyState as TelemetryInfoEnergyState, type EnergySummary as TelemetryInfoEnergySummary, type TelemetryDomain as TelemetryInfoShoppingDomain, type TelemetryInfoShoppingInstance, type TelemetryInfoShoppingParams, type ThemeMode$4 as TelemetryInfoShoppingThemeMode, type WaterState as TelemetryInfoWaterState, type WaterSummary as TelemetryInfoWaterSummary, type Shopping as TelemetryShopping, type SortMode$4 as TelemetrySortMode, type TelemetryStats$1 as TelemetryStats, type ThemeMode$c as TelemetryThemeMode, type TelemetryTypeLimits, type TempComparisonData, TempComparisonTooltip, type TempEntityData, TempRangeTooltip, type TempSensorDevice, type TempSensorSummaryData, TempSensorSummaryTooltip, type TempStatus, type TempStatusResult, type TemperatureComparisonModalInstance, type TemperatureComparisonModalParams, type TemperatureDevice, type TemperatureDisplaySettings, type TemperatureGranularity, type TemperatureKPI, type TemperatureModalInstance, type TemperatureModalParams, type TemperatureSettingsInstance, type TemperatureSettingsParams, type TemperatureStats, type TemperatureTelemetry, type TemperatureUnit, type ThingsboardCustomerAttrsConfig, type TicketDetailModalConfig, type TicketDetailModalHandle, type TicketMotivo, type TicketServiceOrchestratorShape, type TicketTypeId, type TicketsTabConfig, type TimedValue, type TopOffenderApiItem, type TrendChartOptions, type TrendDataPoint$1 as TrendDataPoint, type Customer as UpsellCustomer, type Device as UpsellDevice, type UpsellModalError, type UpsellModalInstance, type UpsellModalParams, type UpsellModalStyles, type UsageDataPoint, type UserInfo$2 as UserInfo, type UserRoleAssignmentsSnapshot, type UsersByRole, type UsersSummaryData, UsersSummaryTooltip, type UserInfo as UsersTooltipUserInfo, type ValidationMap, WAITING_STATUSES, WATER_DEVICE_CATEGORIES, WATER_SORT_OPTIONS, WATER_UNITS, DEFAULT_PALETTE as WELCOME_DEFAULT_PALETTE, type WaterCategorySummary, type WaterDisplaySettings, type WaterKPI, type ChartType as WaterPanelChartType, type ConsumptionDataPoint as WaterPanelConsumptionDataPoint, type DistributionDataPoint as WaterPanelDistributionDataPoint, type DistributionMode as WaterPanelDistributionMode, type FetchConsumptionFn as WaterPanelFetchConsumptionFn, type FetchDistributionFn as WaterPanelFetchDistributionFn, type WaterPanelInstance, type OnFilterChangeCallback$1 as WaterPanelOnFilterChangeCallback, type OnMaximizeCallback as WaterPanelOnMaximizeCallback, type OnPeriodChangeCallback$1 as WaterPanelOnPeriodChangeCallback, type OnRefreshCallback$1 as WaterPanelOnRefreshCallback, type OnVizModeChangeCallback as WaterPanelOnVizModeChangeCallback, type WaterPanelParams, type PeriodDays as WaterPanelPeriodDays, type WaterPanelState, type ThemeMode$8 as WaterPanelThemeMode, type VizMode as WaterPanelVizMode, type WaterCategoryData as WaterPanelWaterCategoryData, type WaterSummaryData as WaterPanelWaterSummaryData, type WaterRow, WaterSummaryTooltip, type WaterTankDataPoint, type WaterTankModalContext, type WaterTankModalError, type WaterTankModalI18n, type WaterTankModalStyleOverrides, type WaterTankTelemetryData, type WaterUnit, type WelcomeModalInstance, type WelcomeModalParams, type WelcomePalette, type UserInfo$1 as WelcomeUserInfo, type WizardDevice, addDetectionContext, addTicketNote as addFreshdeskTicketNote, addNamespace, aggregateByDay, appendFreshdeskTicketToTB, applyFilters as applyDeviceGridFilters, archiveAlarmAnnotation, assignShoppingColors, averageByDay, buildAmbienteGroupData, buildEntityObject as buildDeviceGridEntityObject, buildEquipmentCategoryDataForTooltip, buildEquipmentCategorySummary, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildTicketServiceOrchestrator, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateAvailability$1 as calculateAvailability, calculateAvailability as calculateDashboardAvailability, calculateMTBF as calculateDashboardMTBF, calculateMTTR as calculateDashboardMTTR, calculateDeviceStatus, calculateDeviceStatusMasterRules, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateFleetKPIs, calculateGroupMetrics, calculateMTBF$1 as calculateMTBF, calculateMTTR$1 as calculateMTTR, calculateShoppingDeviceCounts, calculateShoppingDeviceStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyEquipment, classifyEquipmentSubcategory, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, clearFreshdeskTicketsOnTB, connectionStatusIcons, createActionButton, createAlarmCardElement, createAlarmsNotificationsPanelComponent, createAmbienteDetailModal, createAmbienteGroupModal, createAnnotationIndicator, createBASDashboard, createButtonBar, createConsumption7DaysChart, createConsumptionChartWidget, createConsumptionModal, createCustomerCardV1, createCustomerCardV2, createDateRangePicker, createDaysGrid, createBusyModal as createDeviceGridBusyModal, createState as createDeviceGridState, createDeviceGridV6, createDeviceItem, createDeviceItemsFromMap, createDeviceOperationalCardComponent, createDeviceOperationalCardGridComponent, createDistributionChartWidget, createEnergyPanelComponent, createErrorSpan, createFancoilRemote, createFilterModalComponent, createFooterComponent, createTicket as createFreshdeskTicket, createGroupScheduleCard, createHeaderComponent, createHeaderDevicesGridComponent, createHeaderShoppingComponent, createInputDateRangePickerInsideDIV, createLibraryVersionChecker, createLoadingSpinner, createLogHelper, createMenuComponent, createMenuShoppingComponent, createModalHeader, createNewTicketWizard, createOnOffDeviceModal, createOnOffTimelineChart, createOperationalDashboardComponent, createOperationalGeneralListComponent, createOperationalHeaderDevicesGridComponent, createPresetupGateway, createScheduleCard, createScheduleHoliday, createScheduleIR, createScheduleOnOff, createScheduleSetpoint, createSidebarMenu, createSolenoidControl, createSwitchControl, createTelemetryGridComponent, createTelemetryGridShoppingComponent, createTelemetryInfoShoppingComponent, createTicketDetailModal, createTicketsTab, createToggleSwitch, createWaterPanelComponent, createWidgetController, decodePayload, decodePayloadBase64Xor, deleteTicket as deleteFreshdeskTicket, detectContext, detectDeviceType, detectDomainAndContext, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, doSchedulesOverlap, exportGridCsv, exportGridPdf, exportGridXls, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractEntityId, extractMyIOCredentials, extractPowerLimitsForDevice, fetchCurrentUserInfo, fetchTicketDetail as fetchFreshdeskTicketDetail, fetchBundle as fetchGCDRBundle, fetchOpenTickets, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, fetchTicketsForDevice, findValue, findValueWithDefault, fmtPerc$1 as fmtPerc, fmtPerc as fmtPercLegacy, formatAlarmRelativeTime, formatAllInSameUnit, formatAllInSameWaterUnit, formatPercentage as formatDashboardPercentage, formatDateForInput, formatDateToYMD, formatDateWithTimezoneOffset, formatDuration, formatEnergy$1 as formatEnergy, formatHours, formatNumberReadable, formatPower, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatTrend, formatWater$1 as formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, generateFilterModalStyles, generateMockDowntimeList, generateMockKPIs, generateMockOnOffTimelineData, generateMockTrendData, getActiveAnnotationCount, getAlarmAnnotations, getSeverityConfig as getAlarmSeverityConfig, getStateConfig as getAlarmStateConfig, getAnnotationPermissions, getAuthCacheStats, getAvailabilityColorFromThresholds, getAvailableContexts, getCategoryDisplayInfo, getConnectionStatusIcon, getDateRangeArray, getDefaultGroupColors, getDefaultPeriodCurrentDaySoFar, getDefaultPeriodCurrentMonthSoFar, getCachedData as getDeviceGridCachedData, getStatusCategory as getDeviceGridV6StatusCategory, getDeviceStatusCategory, getDeviceStatusIcon, getDeviceStatusInfo, getThemeColors as getDistributionThemeColors, getDomainFromDeviceType, getFirstDayOfMonth, getFirstDayOfMonthFor, getGroupColor, getHashColor, getImageByConsumption, getLastDayOfMonth, getModalHeaderStyles, getDeviceConfig as getOnOffDeviceConfig, getDeviceType as getOnOffDeviceType, getModalTitle as getOnOffModalTitle, getAvailabilityColor as getOperationalAvailabilityColor, getStatusColors as getOperationalStatusColors, getPeriodDateRange, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getIcon as getSidebarIcon, getSuggestedIdentifier, getSuggestedProfiles, getTrendClass, getTrendIcon, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, handleDeviceType, hasSelectedDays, initMyIOAuthContext, initOnOffTimelineTooltips, injectActionButtonStyles, injectAlarmsNotificationsPanelStyles, injectAmbienteGroupModalStyles, injectAmbienteModalStyles, injectBASDashboardStyles, injectCustomerCardV1Styles, injectCustomerCardV2Styles, injectStyles as injectDeviceGridV6Styles, injectDeviceOperationalCardGridStyles, injectDeviceOperationalCardStyles, injectFancoilRemoteStyles, injectHeaderDevicesGridStyles, injectHeaderShoppingStyles, injectMenuShoppingStyles, injectOnOffDeviceModalStyles, injectOnOffTimelineStyles, injectOperationalDashboardStyles, injectOperationalGeneralListStyles, injectOperationalHeaderDevicesGridStyles, injectScheduleHolidayStyles, injectScheduleIRStyles, injectScheduleOnOffStyles, injectScheduleSetpointStyles, injectSchedulingSharedStyles, injectSidebarMenuStyles, injectSolenoidControlStyles, injectSwitchControlStyles, interpolateTemperature, isAlarmActive, isConnectionStale, isDeviceOffline, isEndAfterStart, isEnergyDevice, isEntradaDevice, isEquipmentDevice, isHydrometerDevice, isInRange, isOnOffDeviceProfile, isSolenoidDevice, isStoreDevice, isTankDevice, isTelemetryStale, isTemperatureDevice, isValidConnectionStatus, isValidDeviceStatus, isValidTimeFormat, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeConnectionStatus, normalizeRecipients, numbers, openAlarmBundleMapModal, openAlarmComparisonModal, openAlarmDetailsModal, openAmbienteDetailModal, openAmbienteGroupModal, openContractDevicesModal, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGCDRSyncModal, openGoalsPanel, openHelpModal, openIntegrationsModal, openMeasurementSetupModal, openOnOffDeviceModal, openOnboardModal, openOperationalComparisonModal, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, openTutorialModal, openUpsellModal, openUserManagementModal, openWelcomeModal, parseInputDateToDate, periodKey, readFreshdeskTicketsFromTB, recalculateDeviceStatus, recomputePercentages as recomputeDeviceGridPercentages, removeAlarmsNotificationsPanelStyles, removeBASDashboardStyles, removeDeviceOperationalCardGridStyles, removeDeviceOperationalCardStyles, removeOperationalDashboardStyles, removeOperationalGeneralListStyles, removeOperationalHeaderDevicesGridStyles, removeSchedulingSharedStyles, renderAlarmCard, renderCardAmbienteV6, renderCardComponent$3 as renderCardComponent, renderCardComponent$2 as renderCardComponentEnhanced, renderCardComponentHeadOffice, renderCardComponentLegacy, renderCardComponentV2, renderCardComponent$1 as renderCardComponentV5, renderCardComponentV6, renderCardComponent as renderCardComponentV6Alias, renderCardComponentV5 as renderCardV5, renderDowntimeList as renderDashboardDowntimeList, renderList as renderDeviceGridList, renderDualLineChart, renderKPICards, renderLineChart, renderOnOffTimelineChart, renderSeverityBarChart, renderStateDonutChart, renderStatusDonutChart, renderTrendChart, reopenTicket as reopenFreshdeskTicket, resolvePercentDecimals, createDateInput as schedCreateDateInput, createNumberInput as schedCreateNumberInput, createSelect as schedCreateSelect, createTimeInput as schedCreateTimeInput, escapeHtml as schedEscapeHtml, showConfirmModal as schedShowConfirmModal, showNotificationModal as schedShowNotificationModal, shouldFlashIcon, sortDevices as sortDeviceGridDevices, strings, formatEnergy as telemetryInfoFormatEnergy, formatPercentage$1 as telemetryInfoFormatPercentage, formatWater as telemetryInfoFormatWater, temperatureDeviceStatusIcons, timeToMinutes, timeWindowFromInputYMD, toCSV, toFixedSafe, toSummary as toFreshdeskTicketSummary, updateStats as updateDeviceGridStats, updateTicket as updateFreshdeskTicket, upsertAlarmAnnotation, version, waterDeviceStatusIcons, writeFreshdeskSyncedAtToTB, writeFreshdeskTicketsToTB };