myio-js-library 0.1.190 → 0.1.192
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 +16 -0
- package/dist/index.js +16 -0
- package/dist/myio-js-library.umd.js +16 -0
- package/dist/myio-js-library.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -34429,10 +34429,18 @@ var EnergySummaryTooltip = {
|
|
|
34429
34429
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
34430
34430
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
34431
34431
|
};
|
|
34432
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
34433
|
+
if (orchestratorTotal > 0) {
|
|
34434
|
+
summary.totalDevices = orchestratorTotal;
|
|
34435
|
+
}
|
|
34432
34436
|
} else {
|
|
34433
34437
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
34434
34438
|
if (statusAggregation.hasData) {
|
|
34435
34439
|
summary.byStatus = statusAggregation.byStatus;
|
|
34440
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
34441
|
+
if (orchestratorTotal > 0) {
|
|
34442
|
+
summary.totalDevices = orchestratorTotal;
|
|
34443
|
+
}
|
|
34436
34444
|
} else {
|
|
34437
34445
|
const totalDevices = summary.totalDevices;
|
|
34438
34446
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|
|
@@ -35783,10 +35791,18 @@ var WaterSummaryTooltip = {
|
|
|
35783
35791
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
35784
35792
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
35785
35793
|
};
|
|
35794
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
35795
|
+
if (orchestratorTotal > 0) {
|
|
35796
|
+
summary.totalDevices = orchestratorTotal;
|
|
35797
|
+
}
|
|
35786
35798
|
} else {
|
|
35787
35799
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
35788
35800
|
if (statusAggregation.hasData) {
|
|
35789
35801
|
summary.byStatus = statusAggregation.byStatus;
|
|
35802
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
35803
|
+
if (orchestratorTotal > 0) {
|
|
35804
|
+
summary.totalDevices = orchestratorTotal;
|
|
35805
|
+
}
|
|
35790
35806
|
} else {
|
|
35791
35807
|
const totalDevices = summary.totalDevices;
|
|
35792
35808
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|
package/dist/index.js
CHANGED
|
@@ -34260,10 +34260,18 @@ var EnergySummaryTooltip = {
|
|
|
34260
34260
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
34261
34261
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
34262
34262
|
};
|
|
34263
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
34264
|
+
if (orchestratorTotal > 0) {
|
|
34265
|
+
summary.totalDevices = orchestratorTotal;
|
|
34266
|
+
}
|
|
34263
34267
|
} else {
|
|
34264
34268
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
34265
34269
|
if (statusAggregation.hasData) {
|
|
34266
34270
|
summary.byStatus = statusAggregation.byStatus;
|
|
34271
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
34272
|
+
if (orchestratorTotal > 0) {
|
|
34273
|
+
summary.totalDevices = orchestratorTotal;
|
|
34274
|
+
}
|
|
34267
34275
|
} else {
|
|
34268
34276
|
const totalDevices = summary.totalDevices;
|
|
34269
34277
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|
|
@@ -35614,10 +35622,18 @@ var WaterSummaryTooltip = {
|
|
|
35614
35622
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
35615
35623
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
35616
35624
|
};
|
|
35625
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
35626
|
+
if (orchestratorTotal > 0) {
|
|
35627
|
+
summary.totalDevices = orchestratorTotal;
|
|
35628
|
+
}
|
|
35617
35629
|
} else {
|
|
35618
35630
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
35619
35631
|
if (statusAggregation.hasData) {
|
|
35620
35632
|
summary.byStatus = statusAggregation.byStatus;
|
|
35633
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
35634
|
+
if (orchestratorTotal > 0) {
|
|
35635
|
+
summary.totalDevices = orchestratorTotal;
|
|
35636
|
+
}
|
|
35621
35637
|
} else {
|
|
35622
35638
|
const totalDevices = summary.totalDevices;
|
|
35623
35639
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|
|
@@ -34074,10 +34074,18 @@
|
|
|
34074
34074
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
34075
34075
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
34076
34076
|
};
|
|
34077
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
34078
|
+
if (orchestratorTotal > 0) {
|
|
34079
|
+
summary.totalDevices = orchestratorTotal;
|
|
34080
|
+
}
|
|
34077
34081
|
} else {
|
|
34078
34082
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
34079
34083
|
if (statusAggregation.hasData) {
|
|
34080
34084
|
summary.byStatus = statusAggregation.byStatus;
|
|
34085
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
34086
|
+
if (orchestratorTotal > 0) {
|
|
34087
|
+
summary.totalDevices = orchestratorTotal;
|
|
34088
|
+
}
|
|
34081
34089
|
} else {
|
|
34082
34090
|
const totalDevices = summary.totalDevices;
|
|
34083
34091
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|
|
@@ -35428,10 +35436,18 @@
|
|
|
35428
35436
|
offlineDevices: widgetAggregation.offlineDevices || [],
|
|
35429
35437
|
noConsumptionDevices: widgetAggregation.noConsumptionDevices || []
|
|
35430
35438
|
};
|
|
35439
|
+
const orchestratorTotal = (widgetAggregation.normal || 0) + (widgetAggregation.alert || 0) + (widgetAggregation.failure || 0) + (widgetAggregation.standby || 0) + (widgetAggregation.offline || 0) + (widgetAggregation.noConsumption || 0);
|
|
35440
|
+
if (orchestratorTotal > 0) {
|
|
35441
|
+
summary.totalDevices = orchestratorTotal;
|
|
35442
|
+
}
|
|
35431
35443
|
} else {
|
|
35432
35444
|
const statusAggregation = this._aggregateDeviceStatusFromOrchestrator(domain);
|
|
35433
35445
|
if (statusAggregation.hasData) {
|
|
35434
35446
|
summary.byStatus = statusAggregation.byStatus;
|
|
35447
|
+
const orchestratorTotal = statusAggregation.byStatus.normal + statusAggregation.byStatus.alert + statusAggregation.byStatus.failure + statusAggregation.byStatus.standby + statusAggregation.byStatus.offline + statusAggregation.byStatus.noConsumption;
|
|
35448
|
+
if (orchestratorTotal > 0) {
|
|
35449
|
+
summary.totalDevices = orchestratorTotal;
|
|
35450
|
+
}
|
|
35435
35451
|
} else {
|
|
35436
35452
|
const totalDevices = summary.totalDevices;
|
|
35437
35453
|
const statusData = receivedData?.statusCounts || receivedData?.deviceStatus || null;
|