myio-js-library 0.1.366 → 0.1.368
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 +29 -15
- package/dist/index.d.cts +11 -16
- package/dist/index.js +28 -14
- package/dist/myio-js-library.umd.js +28 -14
- package/dist/myio-js-library.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -849,7 +849,6 @@ __export(index_exports, {
|
|
|
849
849
|
decodePayloadBase64Xor: () => decodePayloadBase64Xor,
|
|
850
850
|
detectContext: () => detectContext,
|
|
851
851
|
detectDeviceType: () => detectDeviceType,
|
|
852
|
-
detectDomain: () => detectDomain,
|
|
853
852
|
detectDomainAndContext: () => detectDomainAndContext,
|
|
854
853
|
detectSuperAdminHolding: () => detectSuperAdminHolding,
|
|
855
854
|
detectSuperAdminMyio: () => detectSuperAdminMyio,
|
|
@@ -967,6 +966,7 @@ __export(index_exports, {
|
|
|
967
966
|
isEquipmentDevice: () => isEquipmentDevice,
|
|
968
967
|
isHydrometerDevice: () => isHydrometerDevice,
|
|
969
968
|
isInRange: () => isInRange,
|
|
969
|
+
isSolenoidDevice: () => isSolenoidDevice,
|
|
970
970
|
isStoreDevice: () => isStoreDevice,
|
|
971
971
|
isTankDevice: () => isTankDevice,
|
|
972
972
|
isTelemetryStale: () => isTelemetryStale,
|
|
@@ -1062,7 +1062,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
1062
1062
|
// package.json
|
|
1063
1063
|
var package_default = {
|
|
1064
1064
|
name: "myio-js-library",
|
|
1065
|
-
version: "0.1.
|
|
1065
|
+
version: "0.1.368",
|
|
1066
1066
|
description: "A clean, standalone JS SDK for MYIO projects",
|
|
1067
1067
|
license: "MIT",
|
|
1068
1068
|
repository: "github:gh-myio/myio-js-library",
|
|
@@ -2303,6 +2303,10 @@ function isHydrometerDevice(deviceType) {
|
|
|
2303
2303
|
const dt = String(deviceType || "").toUpperCase();
|
|
2304
2304
|
return dt.startsWith("HIDROMETRO");
|
|
2305
2305
|
}
|
|
2306
|
+
function isSolenoidDevice(deviceType) {
|
|
2307
|
+
const dt = String(deviceType || "").toUpperCase();
|
|
2308
|
+
return dt.includes("SOLENOIDE");
|
|
2309
|
+
}
|
|
2306
2310
|
function isTemperatureDevice(deviceType) {
|
|
2307
2311
|
const dt = String(deviceType || "").toUpperCase();
|
|
2308
2312
|
return dt === "TERMOSTATO" || dt === "SENSOR_TEMP" || dt.includes("TEMP");
|
|
@@ -2312,7 +2316,7 @@ function isEnergyDevice(deviceType) {
|
|
|
2312
2316
|
return dt === "3F_MEDIDOR" || dt.includes("3F") || dt.includes("MEDIDOR");
|
|
2313
2317
|
}
|
|
2314
2318
|
function getDomainFromDeviceType(deviceType) {
|
|
2315
|
-
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType)) {
|
|
2319
|
+
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType) || isSolenoidDevice(deviceType)) {
|
|
2316
2320
|
return DomainType.WATER;
|
|
2317
2321
|
}
|
|
2318
2322
|
if (isTemperatureDevice(deviceType)) {
|
|
@@ -2591,6 +2595,10 @@ var ContextType = {
|
|
|
2591
2595
|
EQUIPMENTS: "equipments",
|
|
2592
2596
|
STORES: "stores",
|
|
2593
2597
|
ENTRADA: "entrada",
|
|
2598
|
+
BOMBA: "bomba",
|
|
2599
|
+
// Pumps (BAS)
|
|
2600
|
+
MOTOR: "motor",
|
|
2601
|
+
// Motors (BAS)
|
|
2594
2602
|
// Water contexts
|
|
2595
2603
|
HIDROMETRO: "hidrometro",
|
|
2596
2604
|
// Lojas (stores)
|
|
@@ -2600,20 +2608,14 @@ var ContextType = {
|
|
|
2600
2608
|
// Banheiros (identifier = 'BANHEIROS')
|
|
2601
2609
|
HIDROMETRO_ENTRADA: "hidrometro_entrada",
|
|
2602
2610
|
// Entrada do shopping
|
|
2611
|
+
CAIXA_DAGUA: "caixadagua",
|
|
2612
|
+
// Water tank (BAS)
|
|
2613
|
+
SOLENOIDE: "solenoide",
|
|
2614
|
+
// Solenoid valve (BAS)
|
|
2603
2615
|
// Temperature contexts
|
|
2604
2616
|
TERMOSTATO: "termostato",
|
|
2605
2617
|
TERMOSTATO_EXTERNAL: "termostato_external"
|
|
2606
2618
|
};
|
|
2607
|
-
function detectDomain(device) {
|
|
2608
|
-
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2609
|
-
if (deviceType.includes("HIDROMETRO") || deviceType.includes("HIDRO")) {
|
|
2610
|
-
return DomainType2.WATER;
|
|
2611
|
-
}
|
|
2612
|
-
if (deviceType.includes("TERMOSTATO")) {
|
|
2613
|
-
return DomainType2.TEMPERATURE;
|
|
2614
|
-
}
|
|
2615
|
-
return DomainType2.ENERGY;
|
|
2616
|
-
}
|
|
2617
2619
|
function detectContext(device, domain) {
|
|
2618
2620
|
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2619
2621
|
const deviceProfile = String(device?.deviceProfile || "").toUpperCase();
|
|
@@ -2621,6 +2623,12 @@ function detectContext(device, domain) {
|
|
|
2621
2623
|
const entradaTypes = ["ENTRADA", "RELOGIO", "TRAFO", "SUBESTACAO"];
|
|
2622
2624
|
const isEntrada = entradaTypes.some((t) => deviceType.includes(t) || deviceProfile.includes(t));
|
|
2623
2625
|
if (domain === DomainType2.WATER) {
|
|
2626
|
+
if (deviceType.includes("CAIXA_DAGUA") || deviceProfile.includes("CAIXA_DAGUA")) {
|
|
2627
|
+
return ContextType.CAIXA_DAGUA;
|
|
2628
|
+
}
|
|
2629
|
+
if (deviceType.includes("SOLENOIDE") || deviceProfile.includes("SOLENOIDE")) {
|
|
2630
|
+
return ContextType.SOLENOIDE;
|
|
2631
|
+
}
|
|
2624
2632
|
if (deviceType.includes("HIDROMETRO_SHOPPING") || deviceProfile.includes("HIDROMETRO_SHOPPING")) {
|
|
2625
2633
|
return ContextType.HIDROMETRO_ENTRADA;
|
|
2626
2634
|
}
|
|
@@ -2642,6 +2650,12 @@ function detectContext(device, domain) {
|
|
|
2642
2650
|
if (isEntrada) {
|
|
2643
2651
|
return ContextType.ENTRADA;
|
|
2644
2652
|
}
|
|
2653
|
+
if (deviceType.includes("BOMBA") || deviceProfile.includes("BOMBA")) {
|
|
2654
|
+
return ContextType.BOMBA;
|
|
2655
|
+
}
|
|
2656
|
+
if (deviceType.includes("MOTOR") || deviceProfile.includes("MOTOR")) {
|
|
2657
|
+
return ContextType.MOTOR;
|
|
2658
|
+
}
|
|
2645
2659
|
if (deviceType === "3F_MEDIDOR" && deviceProfile === "3F_MEDIDOR") {
|
|
2646
2660
|
return ContextType.STORES;
|
|
2647
2661
|
}
|
|
@@ -2662,7 +2676,7 @@ function detectContext(device, domain) {
|
|
|
2662
2676
|
return ContextType.EQUIPMENTS;
|
|
2663
2677
|
}
|
|
2664
2678
|
function detectDomainAndContext(device) {
|
|
2665
|
-
const domain =
|
|
2679
|
+
const domain = getDomainFromDeviceType(device?.deviceType);
|
|
2666
2680
|
const context = detectContext(device, domain);
|
|
2667
2681
|
return { domain, context };
|
|
2668
2682
|
}
|
|
@@ -103996,7 +104010,6 @@ var version = package_default.version || "0.0.0";
|
|
|
103996
104010
|
decodePayloadBase64Xor,
|
|
103997
104011
|
detectContext,
|
|
103998
104012
|
detectDeviceType,
|
|
103999
|
-
detectDomain,
|
|
104000
104013
|
detectDomainAndContext,
|
|
104001
104014
|
detectSuperAdminHolding,
|
|
104002
104015
|
detectSuperAdminMyio,
|
|
@@ -104114,6 +104127,7 @@ var version = package_default.version || "0.0.0";
|
|
|
104114
104127
|
isEquipmentDevice,
|
|
104115
104128
|
isHydrometerDevice,
|
|
104116
104129
|
isInRange,
|
|
104130
|
+
isSolenoidDevice,
|
|
104117
104131
|
isStoreDevice,
|
|
104118
104132
|
isTankDevice,
|
|
104119
104133
|
isTelemetryStale,
|
package/dist/index.d.cts
CHANGED
|
@@ -808,6 +808,12 @@ declare function isTankDevice(deviceType: string): boolean;
|
|
|
808
808
|
* @returns {boolean}
|
|
809
809
|
*/
|
|
810
810
|
declare function isHydrometerDevice(deviceType: string): boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Checks if device type is a solenoid valve (water infrastructure)
|
|
813
|
+
* @param {string} deviceType - Device type string
|
|
814
|
+
* @returns {boolean}
|
|
815
|
+
*/
|
|
816
|
+
declare function isSolenoidDevice(deviceType: string): boolean;
|
|
811
817
|
/**
|
|
812
818
|
* Checks if device type is a temperature sensor
|
|
813
819
|
* @param {string} deviceType - Device type string
|
|
@@ -1242,21 +1248,6 @@ type DeviceItem = {
|
|
|
1242
1248
|
_isHidrometerDevice: boolean;
|
|
1243
1249
|
};
|
|
1244
1250
|
|
|
1245
|
-
/**
|
|
1246
|
-
* Detect the domain of a device based on its deviceType.
|
|
1247
|
-
*
|
|
1248
|
-
* @param {Object} device - Device object with deviceType property
|
|
1249
|
-
* @param {string} [device.deviceType] - The device type string
|
|
1250
|
-
* @returns {'energy' | 'water' | 'temperature'} The detected domain
|
|
1251
|
-
*
|
|
1252
|
-
* @example
|
|
1253
|
-
* detectDomain({ deviceType: 'HIDROMETRO' }); // 'water'
|
|
1254
|
-
* detectDomain({ deviceType: 'TERMOSTATO' }); // 'temperature'
|
|
1255
|
-
* detectDomain({ deviceType: '3F_MEDIDOR' }); // 'energy'
|
|
1256
|
-
*/
|
|
1257
|
-
declare function detectDomain(device: {
|
|
1258
|
-
deviceType?: string;
|
|
1259
|
-
}): "energy" | "water" | "temperature";
|
|
1260
1251
|
/**
|
|
1261
1252
|
* RFC-0111: Detect device context based on deviceType, deviceProfile, and identifier.
|
|
1262
1253
|
*
|
|
@@ -1402,10 +1393,14 @@ declare namespace ContextType {
|
|
|
1402
1393
|
let EQUIPMENTS: string;
|
|
1403
1394
|
let STORES: string;
|
|
1404
1395
|
let ENTRADA: string;
|
|
1396
|
+
let BOMBA: string;
|
|
1397
|
+
let MOTOR: string;
|
|
1405
1398
|
let HIDROMETRO: string;
|
|
1406
1399
|
let HIDROMETRO_AREA_COMUM: string;
|
|
1407
1400
|
let BANHEIROS: string;
|
|
1408
1401
|
let HIDROMETRO_ENTRADA: string;
|
|
1402
|
+
let CAIXA_DAGUA: string;
|
|
1403
|
+
let SOLENOIDE: string;
|
|
1409
1404
|
let TERMOSTATO: string;
|
|
1410
1405
|
let TERMOSTATO_EXTERNAL: string;
|
|
1411
1406
|
}
|
|
@@ -15866,4 +15861,4 @@ declare function injectScheduleHolidayStyles(): void;
|
|
|
15866
15861
|
|
|
15867
15862
|
declare const version: string;
|
|
15868
15863
|
|
|
15869
|
-
export { ACTION_BUTTON_CSS_PREFIX, ALARMS_NOTIFICATIONS_PANEL_STYLES, SEVERITY_CONFIG as ALARM_SEVERITY_CONFIG, ALARM_SORT_OPTIONS, STATE_CONFIG as ALARM_STATE_CONFIG, 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 Alarm, type AlarmAction, type AlarmCardParams, type AlarmComparisonModalInstance, type AlarmComparisonModalParams, type AlarmFilterTab, type AlarmFilters, type AlarmInfo, type AlarmSeverity, type AlarmSortMode, type AlarmSortOption, type AlarmState, type AlarmStats, type AlarmsEventHandler, type AlarmsEventType, AlarmsNotificationsPanelController, type AlarmsNotificationsPanelInstance, type AlarmsNotificationsPanelParams, type AlarmsNotificationsPanelState, AlarmsNotificationsPanelView, type AlarmsSummaryData, AlarmsSummaryTooltip, type AlarmsTab, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, type AnnotationType, type AppliedFilters, type AuditAction, type AuditEntry, 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, 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 CreateDateRangePickerOptions, 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_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_SOLENOID_SETTINGS, DEFAULT_SOLENOID_STATE, DEFAULT_TABS, DEFAULT_WATER_GROUP_COLORS, DEVICE_COUNT_KEYS, DEVICE_OPERATIONAL_CARD_GRID_STYLES, DEVICE_OPERATIONAL_CARD_STYLES, 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 DeviceAttributes, 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, 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 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 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, GRID_SORT_OPTIONS, 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_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, type InferredDeviceType, InfoTooltip, type InstantaneousPowerLimits, 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, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, type NotificationInfo, type NotificationsSummaryData, NotificationsSummaryTooltip, OFFLINE_STATUSES, ONLINE_STATUSES, 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 OnOffGroupScheduleEntry, type OnOffScheduleEntry, type OnboardFooterLink, type OnboardModalConfig, type OnboardModalHandle, OnboardModalView, type OpenContractDevicesModalParams, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, 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, DEVICE_TYPES as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG$2 as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type Period, type PermissionSet, type PersistResult$1 as PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, 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, SOLENOID_CONTROL_CSS_PREFIX, SOLENOID_IMAGES, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, STATUS_TO_CONNECTIVITY, 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, SolenoidControlController, type SolenoidControlInstance, type SolenoidControlParams, type SolenoidControlSettings, SolenoidControlView, type SolenoidState, type SolenoidStatus, type SolenoidThemeMode, type StatusLimits, type StatusSummary$1 as StatusSummary, type StoreRow, 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 TimedValue, type TrendChartOptions, type TrendDataPoint$1 as TrendDataPoint, type Customer as UpsellCustomer, type Device as UpsellDevice, type UpsellModalError, type UpsellModalInstance, type UpsellModalParams, type UpsellModalStyles, type UserInfo$2 as UserInfo, 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, addDetectionContext, addNamespace, aggregateByDay, applyFilters as applyDeviceGridFilters, assignShoppingColors, averageByDay, buildEntityObject as buildDeviceGridEntityObject, buildEquipmentCategoryDataForTooltip, buildEquipmentCategorySummary, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateAvailability$1 as calculateAvailability, calculateAvailability as calculateDashboardAvailability, calculateMTBF as calculateDashboardMTBF, calculateMTTR as calculateDashboardMTTR, calculateDeviceStatus, calculateDeviceStatusMasterRules, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateFleetKPIs, calculateMTBF$1 as calculateMTBF, calculateMTTR$1 as calculateMTTR, calculateShoppingDeviceCounts, calculateShoppingDeviceStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyEquipment, classifyEquipmentSubcategory, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, connectionStatusIcons, createActionButton, createAlarmCardElement, createAlarmsNotificationsPanelComponent, 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, createGroupScheduleCard, createHeaderComponent, createHeaderDevicesGridComponent, createHeaderShoppingComponent, createInputDateRangePickerInsideDIV, createLibraryVersionChecker, createLoadingSpinner, createLogHelper, createMenuComponent, createMenuShoppingComponent, createModalHeader, createOperationalDashboardComponent, createOperationalGeneralListComponent, createOperationalHeaderDevicesGridComponent, createScheduleCard, createScheduleHoliday, createScheduleIR, createScheduleOnOff, createScheduleSetpoint, createSolenoidControl, createTelemetryGridComponent, createTelemetryGridShoppingComponent, createTelemetryInfoShoppingComponent, createToggleSwitch, createWaterPanelComponent, createWidgetController, decodePayload, decodePayloadBase64Xor, detectContext, detectDeviceType, detectDomain, detectDomainAndContext, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, doSchedulesOverlap, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractEntityId, extractMyIOCredentials, extractPowerLimitsForDevice, fetchCurrentUserInfo, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, 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, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatTrend, formatWater$1 as formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, generateFilterModalStyles, generateMockDowntimeList, generateMockKPIs, generateMockTrendData, 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, getAvailabilityColor as getOperationalAvailabilityColor, getStatusColors as getOperationalStatusColors, getPeriodDateRange, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getSuggestedIdentifier, getSuggestedProfiles, getTrendClass, getTrendIcon, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, handleDeviceType, hasSelectedDays, injectActionButtonStyles, injectAlarmsNotificationsPanelStyles, injectBASDashboardStyles, injectCustomerCardV1Styles, injectCustomerCardV2Styles, injectStyles as injectDeviceGridV6Styles, injectDeviceOperationalCardGridStyles, injectDeviceOperationalCardStyles, injectFancoilRemoteStyles, injectHeaderDevicesGridStyles, injectHeaderShoppingStyles, injectMenuShoppingStyles, injectOperationalDashboardStyles, injectOperationalGeneralListStyles, injectOperationalHeaderDevicesGridStyles, injectScheduleHolidayStyles, injectScheduleIRStyles, injectScheduleOnOffStyles, injectScheduleSetpointStyles, injectSchedulingSharedStyles, injectSolenoidControlStyles, interpolateTemperature, isAlarmActive, isConnectionStale, isDeviceOffline, isEndAfterStart, isEnergyDevice, isEntradaDevice, isEquipmentDevice, isHydrometerDevice, isInRange, isStoreDevice, isTankDevice, isTelemetryStale, isTemperatureDevice, isValidConnectionStatus, isValidDeviceStatus, isValidTimeFormat, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeConnectionStatus, normalizeRecipients, numbers, openAlarmComparisonModal, openContractDevicesModal, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGoalsPanel, openHelpModal, openMeasurementSetupModal, openOnboardModal, openOperationalComparisonModal, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, openTutorialModal, openUpsellModal, openWelcomeModal, parseInputDateToDate, periodKey, recalculateDeviceStatus, recomputePercentages as recomputeDeviceGridPercentages, removeAlarmsNotificationsPanelStyles, removeBASDashboardStyles, removeDeviceOperationalCardGridStyles, removeDeviceOperationalCardStyles, removeOperationalDashboardStyles, removeOperationalGeneralListStyles, removeOperationalHeaderDevicesGridStyles, removeSchedulingSharedStyles, renderAlarmCard, 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, renderSeverityBarChart, renderStateDonutChart, renderStatusDonutChart, renderTrendChart, 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, updateStats as updateDeviceGridStats, version, waterDeviceStatusIcons };
|
|
15864
|
+
export { ACTION_BUTTON_CSS_PREFIX, ALARMS_NOTIFICATIONS_PANEL_STYLES, SEVERITY_CONFIG as ALARM_SEVERITY_CONFIG, ALARM_SORT_OPTIONS, STATE_CONFIG as ALARM_STATE_CONFIG, 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 Alarm, type AlarmAction, type AlarmCardParams, type AlarmComparisonModalInstance, type AlarmComparisonModalParams, type AlarmFilterTab, type AlarmFilters, type AlarmInfo, type AlarmSeverity, type AlarmSortMode, type AlarmSortOption, type AlarmState, type AlarmStats, type AlarmsEventHandler, type AlarmsEventType, AlarmsNotificationsPanelController, type AlarmsNotificationsPanelInstance, type AlarmsNotificationsPanelParams, type AlarmsNotificationsPanelState, AlarmsNotificationsPanelView, type AlarmsSummaryData, AlarmsSummaryTooltip, type AlarmsTab, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, type AnnotationType, type AppliedFilters, type AuditAction, type AuditEntry, 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, 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 CreateDateRangePickerOptions, 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_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_SOLENOID_SETTINGS, DEFAULT_SOLENOID_STATE, DEFAULT_TABS, DEFAULT_WATER_GROUP_COLORS, DEVICE_COUNT_KEYS, DEVICE_OPERATIONAL_CARD_GRID_STYLES, DEVICE_OPERATIONAL_CARD_STYLES, 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 DeviceAttributes, 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, 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 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 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, GRID_SORT_OPTIONS, 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_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, type InferredDeviceType, InfoTooltip, type InstantaneousPowerLimits, 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, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, type NotificationInfo, type NotificationsSummaryData, NotificationsSummaryTooltip, OFFLINE_STATUSES, ONLINE_STATUSES, 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 OnOffGroupScheduleEntry, type OnOffScheduleEntry, type OnboardFooterLink, type OnboardModalConfig, type OnboardModalHandle, OnboardModalView, type OpenContractDevicesModalParams, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, 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, DEVICE_TYPES as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG$2 as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type Period, type PermissionSet, type PersistResult$1 as PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, 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, SOLENOID_CONTROL_CSS_PREFIX, SOLENOID_IMAGES, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, STATUS_TO_CONNECTIVITY, 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, SolenoidControlController, type SolenoidControlInstance, type SolenoidControlParams, type SolenoidControlSettings, SolenoidControlView, type SolenoidState, type SolenoidStatus, type SolenoidThemeMode, type StatusLimits, type StatusSummary$1 as StatusSummary, type StoreRow, 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 TimedValue, type TrendChartOptions, type TrendDataPoint$1 as TrendDataPoint, type Customer as UpsellCustomer, type Device as UpsellDevice, type UpsellModalError, type UpsellModalInstance, type UpsellModalParams, type UpsellModalStyles, type UserInfo$2 as UserInfo, 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, addDetectionContext, addNamespace, aggregateByDay, applyFilters as applyDeviceGridFilters, assignShoppingColors, averageByDay, buildEntityObject as buildDeviceGridEntityObject, buildEquipmentCategoryDataForTooltip, buildEquipmentCategorySummary, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateAvailability$1 as calculateAvailability, calculateAvailability as calculateDashboardAvailability, calculateMTBF as calculateDashboardMTBF, calculateMTTR as calculateDashboardMTTR, calculateDeviceStatus, calculateDeviceStatusMasterRules, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateFleetKPIs, calculateMTBF$1 as calculateMTBF, calculateMTTR$1 as calculateMTTR, calculateShoppingDeviceCounts, calculateShoppingDeviceStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyEquipment, classifyEquipmentSubcategory, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, connectionStatusIcons, createActionButton, createAlarmCardElement, createAlarmsNotificationsPanelComponent, 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, createGroupScheduleCard, createHeaderComponent, createHeaderDevicesGridComponent, createHeaderShoppingComponent, createInputDateRangePickerInsideDIV, createLibraryVersionChecker, createLoadingSpinner, createLogHelper, createMenuComponent, createMenuShoppingComponent, createModalHeader, createOperationalDashboardComponent, createOperationalGeneralListComponent, createOperationalHeaderDevicesGridComponent, createScheduleCard, createScheduleHoliday, createScheduleIR, createScheduleOnOff, createScheduleSetpoint, createSolenoidControl, createTelemetryGridComponent, createTelemetryGridShoppingComponent, createTelemetryInfoShoppingComponent, createToggleSwitch, createWaterPanelComponent, createWidgetController, decodePayload, decodePayloadBase64Xor, detectContext, detectDeviceType, detectDomainAndContext, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, doSchedulesOverlap, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractEntityId, extractMyIOCredentials, extractPowerLimitsForDevice, fetchCurrentUserInfo, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, 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, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatTrend, formatWater$1 as formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, generateFilterModalStyles, generateMockDowntimeList, generateMockKPIs, generateMockTrendData, 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, getAvailabilityColor as getOperationalAvailabilityColor, getStatusColors as getOperationalStatusColors, getPeriodDateRange, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getSuggestedIdentifier, getSuggestedProfiles, getTrendClass, getTrendIcon, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, handleDeviceType, hasSelectedDays, injectActionButtonStyles, injectAlarmsNotificationsPanelStyles, injectBASDashboardStyles, injectCustomerCardV1Styles, injectCustomerCardV2Styles, injectStyles as injectDeviceGridV6Styles, injectDeviceOperationalCardGridStyles, injectDeviceOperationalCardStyles, injectFancoilRemoteStyles, injectHeaderDevicesGridStyles, injectHeaderShoppingStyles, injectMenuShoppingStyles, injectOperationalDashboardStyles, injectOperationalGeneralListStyles, injectOperationalHeaderDevicesGridStyles, injectScheduleHolidayStyles, injectScheduleIRStyles, injectScheduleOnOffStyles, injectScheduleSetpointStyles, injectSchedulingSharedStyles, injectSolenoidControlStyles, interpolateTemperature, isAlarmActive, isConnectionStale, isDeviceOffline, isEndAfterStart, isEnergyDevice, isEntradaDevice, isEquipmentDevice, isHydrometerDevice, isInRange, isSolenoidDevice, isStoreDevice, isTankDevice, isTelemetryStale, isTemperatureDevice, isValidConnectionStatus, isValidDeviceStatus, isValidTimeFormat, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeConnectionStatus, normalizeRecipients, numbers, openAlarmComparisonModal, openContractDevicesModal, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGoalsPanel, openHelpModal, openMeasurementSetupModal, openOnboardModal, openOperationalComparisonModal, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, openTutorialModal, openUpsellModal, openWelcomeModal, parseInputDateToDate, periodKey, recalculateDeviceStatus, recomputePercentages as recomputeDeviceGridPercentages, removeAlarmsNotificationsPanelStyles, removeBASDashboardStyles, removeDeviceOperationalCardGridStyles, removeDeviceOperationalCardStyles, removeOperationalDashboardStyles, removeOperationalGeneralListStyles, removeOperationalHeaderDevicesGridStyles, removeSchedulingSharedStyles, renderAlarmCard, 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, renderSeverityBarChart, renderStateDonutChart, renderStatusDonutChart, renderTrendChart, 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, updateStats as updateDeviceGridStats, version, waterDeviceStatusIcons };
|
package/dist/index.js
CHANGED
|
@@ -546,7 +546,7 @@ var init_template_card = __esm({
|
|
|
546
546
|
// package.json
|
|
547
547
|
var package_default = {
|
|
548
548
|
name: "myio-js-library",
|
|
549
|
-
version: "0.1.
|
|
549
|
+
version: "0.1.368",
|
|
550
550
|
description: "A clean, standalone JS SDK for MYIO projects",
|
|
551
551
|
license: "MIT",
|
|
552
552
|
repository: "github:gh-myio/myio-js-library",
|
|
@@ -1787,6 +1787,10 @@ function isHydrometerDevice(deviceType) {
|
|
|
1787
1787
|
const dt = String(deviceType || "").toUpperCase();
|
|
1788
1788
|
return dt.startsWith("HIDROMETRO");
|
|
1789
1789
|
}
|
|
1790
|
+
function isSolenoidDevice(deviceType) {
|
|
1791
|
+
const dt = String(deviceType || "").toUpperCase();
|
|
1792
|
+
return dt.includes("SOLENOIDE");
|
|
1793
|
+
}
|
|
1790
1794
|
function isTemperatureDevice(deviceType) {
|
|
1791
1795
|
const dt = String(deviceType || "").toUpperCase();
|
|
1792
1796
|
return dt === "TERMOSTATO" || dt === "SENSOR_TEMP" || dt.includes("TEMP");
|
|
@@ -1796,7 +1800,7 @@ function isEnergyDevice(deviceType) {
|
|
|
1796
1800
|
return dt === "3F_MEDIDOR" || dt.includes("3F") || dt.includes("MEDIDOR");
|
|
1797
1801
|
}
|
|
1798
1802
|
function getDomainFromDeviceType(deviceType) {
|
|
1799
|
-
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType)) {
|
|
1803
|
+
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType) || isSolenoidDevice(deviceType)) {
|
|
1800
1804
|
return DomainType.WATER;
|
|
1801
1805
|
}
|
|
1802
1806
|
if (isTemperatureDevice(deviceType)) {
|
|
@@ -2075,6 +2079,10 @@ var ContextType = {
|
|
|
2075
2079
|
EQUIPMENTS: "equipments",
|
|
2076
2080
|
STORES: "stores",
|
|
2077
2081
|
ENTRADA: "entrada",
|
|
2082
|
+
BOMBA: "bomba",
|
|
2083
|
+
// Pumps (BAS)
|
|
2084
|
+
MOTOR: "motor",
|
|
2085
|
+
// Motors (BAS)
|
|
2078
2086
|
// Water contexts
|
|
2079
2087
|
HIDROMETRO: "hidrometro",
|
|
2080
2088
|
// Lojas (stores)
|
|
@@ -2084,20 +2092,14 @@ var ContextType = {
|
|
|
2084
2092
|
// Banheiros (identifier = 'BANHEIROS')
|
|
2085
2093
|
HIDROMETRO_ENTRADA: "hidrometro_entrada",
|
|
2086
2094
|
// Entrada do shopping
|
|
2095
|
+
CAIXA_DAGUA: "caixadagua",
|
|
2096
|
+
// Water tank (BAS)
|
|
2097
|
+
SOLENOIDE: "solenoide",
|
|
2098
|
+
// Solenoid valve (BAS)
|
|
2087
2099
|
// Temperature contexts
|
|
2088
2100
|
TERMOSTATO: "termostato",
|
|
2089
2101
|
TERMOSTATO_EXTERNAL: "termostato_external"
|
|
2090
2102
|
};
|
|
2091
|
-
function detectDomain(device) {
|
|
2092
|
-
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2093
|
-
if (deviceType.includes("HIDROMETRO") || deviceType.includes("HIDRO")) {
|
|
2094
|
-
return DomainType2.WATER;
|
|
2095
|
-
}
|
|
2096
|
-
if (deviceType.includes("TERMOSTATO")) {
|
|
2097
|
-
return DomainType2.TEMPERATURE;
|
|
2098
|
-
}
|
|
2099
|
-
return DomainType2.ENERGY;
|
|
2100
|
-
}
|
|
2101
2103
|
function detectContext(device, domain) {
|
|
2102
2104
|
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2103
2105
|
const deviceProfile = String(device?.deviceProfile || "").toUpperCase();
|
|
@@ -2105,6 +2107,12 @@ function detectContext(device, domain) {
|
|
|
2105
2107
|
const entradaTypes = ["ENTRADA", "RELOGIO", "TRAFO", "SUBESTACAO"];
|
|
2106
2108
|
const isEntrada = entradaTypes.some((t) => deviceType.includes(t) || deviceProfile.includes(t));
|
|
2107
2109
|
if (domain === DomainType2.WATER) {
|
|
2110
|
+
if (deviceType.includes("CAIXA_DAGUA") || deviceProfile.includes("CAIXA_DAGUA")) {
|
|
2111
|
+
return ContextType.CAIXA_DAGUA;
|
|
2112
|
+
}
|
|
2113
|
+
if (deviceType.includes("SOLENOIDE") || deviceProfile.includes("SOLENOIDE")) {
|
|
2114
|
+
return ContextType.SOLENOIDE;
|
|
2115
|
+
}
|
|
2108
2116
|
if (deviceType.includes("HIDROMETRO_SHOPPING") || deviceProfile.includes("HIDROMETRO_SHOPPING")) {
|
|
2109
2117
|
return ContextType.HIDROMETRO_ENTRADA;
|
|
2110
2118
|
}
|
|
@@ -2126,6 +2134,12 @@ function detectContext(device, domain) {
|
|
|
2126
2134
|
if (isEntrada) {
|
|
2127
2135
|
return ContextType.ENTRADA;
|
|
2128
2136
|
}
|
|
2137
|
+
if (deviceType.includes("BOMBA") || deviceProfile.includes("BOMBA")) {
|
|
2138
|
+
return ContextType.BOMBA;
|
|
2139
|
+
}
|
|
2140
|
+
if (deviceType.includes("MOTOR") || deviceProfile.includes("MOTOR")) {
|
|
2141
|
+
return ContextType.MOTOR;
|
|
2142
|
+
}
|
|
2129
2143
|
if (deviceType === "3F_MEDIDOR" && deviceProfile === "3F_MEDIDOR") {
|
|
2130
2144
|
return ContextType.STORES;
|
|
2131
2145
|
}
|
|
@@ -2146,7 +2160,7 @@ function detectContext(device, domain) {
|
|
|
2146
2160
|
return ContextType.EQUIPMENTS;
|
|
2147
2161
|
}
|
|
2148
2162
|
function detectDomainAndContext(device) {
|
|
2149
|
-
const domain =
|
|
2163
|
+
const domain = getDomainFromDeviceType(device?.deviceType);
|
|
2150
2164
|
const context = detectContext(device, domain);
|
|
2151
2165
|
return { domain, context };
|
|
2152
2166
|
}
|
|
@@ -103479,7 +103493,6 @@ export {
|
|
|
103479
103493
|
decodePayloadBase64Xor,
|
|
103480
103494
|
detectContext,
|
|
103481
103495
|
detectDeviceType,
|
|
103482
|
-
detectDomain,
|
|
103483
103496
|
detectDomainAndContext,
|
|
103484
103497
|
detectSuperAdminHolding,
|
|
103485
103498
|
detectSuperAdminMyio,
|
|
@@ -103597,6 +103610,7 @@ export {
|
|
|
103597
103610
|
isEquipmentDevice,
|
|
103598
103611
|
isHydrometerDevice,
|
|
103599
103612
|
isInRange,
|
|
103613
|
+
isSolenoidDevice,
|
|
103600
103614
|
isStoreDevice,
|
|
103601
103615
|
isTankDevice,
|
|
103602
103616
|
isTelemetryStale,
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
|
|
552
552
|
// package.json
|
|
553
553
|
var package_default = {
|
|
554
|
-
version: "0.1.
|
|
554
|
+
version: "0.1.368"};
|
|
555
555
|
|
|
556
556
|
// src/format/energy.ts
|
|
557
557
|
function formatEnergy(value, unit, decimals = 3) {
|
|
@@ -1734,6 +1734,10 @@
|
|
|
1734
1734
|
const dt = String(deviceType || "").toUpperCase();
|
|
1735
1735
|
return dt.startsWith("HIDROMETRO");
|
|
1736
1736
|
}
|
|
1737
|
+
function isSolenoidDevice(deviceType) {
|
|
1738
|
+
const dt = String(deviceType || "").toUpperCase();
|
|
1739
|
+
return dt.includes("SOLENOIDE");
|
|
1740
|
+
}
|
|
1737
1741
|
function isTemperatureDevice(deviceType) {
|
|
1738
1742
|
const dt = String(deviceType || "").toUpperCase();
|
|
1739
1743
|
return dt === "TERMOSTATO" || dt === "SENSOR_TEMP" || dt.includes("TEMP");
|
|
@@ -1743,7 +1747,7 @@
|
|
|
1743
1747
|
return dt === "3F_MEDIDOR" || dt.includes("3F") || dt.includes("MEDIDOR");
|
|
1744
1748
|
}
|
|
1745
1749
|
function getDomainFromDeviceType(deviceType) {
|
|
1746
|
-
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType)) {
|
|
1750
|
+
if (isTankDevice(deviceType) || isHydrometerDevice(deviceType) || isSolenoidDevice(deviceType)) {
|
|
1747
1751
|
return DomainType.WATER;
|
|
1748
1752
|
}
|
|
1749
1753
|
if (isTemperatureDevice(deviceType)) {
|
|
@@ -2022,6 +2026,10 @@
|
|
|
2022
2026
|
EQUIPMENTS: "equipments",
|
|
2023
2027
|
STORES: "stores",
|
|
2024
2028
|
ENTRADA: "entrada",
|
|
2029
|
+
BOMBA: "bomba",
|
|
2030
|
+
// Pumps (BAS)
|
|
2031
|
+
MOTOR: "motor",
|
|
2032
|
+
// Motors (BAS)
|
|
2025
2033
|
// Water contexts
|
|
2026
2034
|
HIDROMETRO: "hidrometro",
|
|
2027
2035
|
// Lojas (stores)
|
|
@@ -2031,20 +2039,14 @@
|
|
|
2031
2039
|
// Banheiros (identifier = 'BANHEIROS')
|
|
2032
2040
|
HIDROMETRO_ENTRADA: "hidrometro_entrada",
|
|
2033
2041
|
// Entrada do shopping
|
|
2042
|
+
CAIXA_DAGUA: "caixadagua",
|
|
2043
|
+
// Water tank (BAS)
|
|
2044
|
+
SOLENOIDE: "solenoide",
|
|
2045
|
+
// Solenoid valve (BAS)
|
|
2034
2046
|
// Temperature contexts
|
|
2035
2047
|
TERMOSTATO: "termostato",
|
|
2036
2048
|
TERMOSTATO_EXTERNAL: "termostato_external"
|
|
2037
2049
|
};
|
|
2038
|
-
function detectDomain(device) {
|
|
2039
|
-
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2040
|
-
if (deviceType.includes("HIDROMETRO") || deviceType.includes("HIDRO")) {
|
|
2041
|
-
return DomainType2.WATER;
|
|
2042
|
-
}
|
|
2043
|
-
if (deviceType.includes("TERMOSTATO")) {
|
|
2044
|
-
return DomainType2.TEMPERATURE;
|
|
2045
|
-
}
|
|
2046
|
-
return DomainType2.ENERGY;
|
|
2047
|
-
}
|
|
2048
2050
|
function detectContext(device, domain) {
|
|
2049
2051
|
const deviceType = String(device?.deviceType || "").toUpperCase();
|
|
2050
2052
|
const deviceProfile = String(device?.deviceProfile || "").toUpperCase();
|
|
@@ -2052,6 +2054,12 @@
|
|
|
2052
2054
|
const entradaTypes = ["ENTRADA", "RELOGIO", "TRAFO", "SUBESTACAO"];
|
|
2053
2055
|
const isEntrada = entradaTypes.some((t) => deviceType.includes(t) || deviceProfile.includes(t));
|
|
2054
2056
|
if (domain === DomainType2.WATER) {
|
|
2057
|
+
if (deviceType.includes("CAIXA_DAGUA") || deviceProfile.includes("CAIXA_DAGUA")) {
|
|
2058
|
+
return ContextType.CAIXA_DAGUA;
|
|
2059
|
+
}
|
|
2060
|
+
if (deviceType.includes("SOLENOIDE") || deviceProfile.includes("SOLENOIDE")) {
|
|
2061
|
+
return ContextType.SOLENOIDE;
|
|
2062
|
+
}
|
|
2055
2063
|
if (deviceType.includes("HIDROMETRO_SHOPPING") || deviceProfile.includes("HIDROMETRO_SHOPPING")) {
|
|
2056
2064
|
return ContextType.HIDROMETRO_ENTRADA;
|
|
2057
2065
|
}
|
|
@@ -2073,6 +2081,12 @@
|
|
|
2073
2081
|
if (isEntrada) {
|
|
2074
2082
|
return ContextType.ENTRADA;
|
|
2075
2083
|
}
|
|
2084
|
+
if (deviceType.includes("BOMBA") || deviceProfile.includes("BOMBA")) {
|
|
2085
|
+
return ContextType.BOMBA;
|
|
2086
|
+
}
|
|
2087
|
+
if (deviceType.includes("MOTOR") || deviceProfile.includes("MOTOR")) {
|
|
2088
|
+
return ContextType.MOTOR;
|
|
2089
|
+
}
|
|
2076
2090
|
if (deviceType === "3F_MEDIDOR" && deviceProfile === "3F_MEDIDOR") {
|
|
2077
2091
|
return ContextType.STORES;
|
|
2078
2092
|
}
|
|
@@ -2093,7 +2107,7 @@
|
|
|
2093
2107
|
return ContextType.EQUIPMENTS;
|
|
2094
2108
|
}
|
|
2095
2109
|
function detectDomainAndContext(device) {
|
|
2096
|
-
const domain =
|
|
2110
|
+
const domain = getDomainFromDeviceType(device?.deviceType);
|
|
2097
2111
|
const context = detectContext(device, domain);
|
|
2098
2112
|
return { domain, context };
|
|
2099
2113
|
}
|
|
@@ -103207,7 +103221,6 @@ ${errors.slice(0, 5).join("\n")}` + (errors.length > 5 ? `
|
|
|
103207
103221
|
exports.decodePayloadBase64Xor = decodePayloadBase64Xor;
|
|
103208
103222
|
exports.detectContext = detectContext;
|
|
103209
103223
|
exports.detectDeviceType = detectDeviceType;
|
|
103210
|
-
exports.detectDomain = detectDomain;
|
|
103211
103224
|
exports.detectDomainAndContext = detectDomainAndContext;
|
|
103212
103225
|
exports.detectSuperAdminHolding = detectSuperAdminHolding;
|
|
103213
103226
|
exports.detectSuperAdminMyio = detectSuperAdminMyio;
|
|
@@ -103325,6 +103338,7 @@ ${errors.slice(0, 5).join("\n")}` + (errors.length > 5 ? `
|
|
|
103325
103338
|
exports.isEquipmentDevice = isEquipmentDevice;
|
|
103326
103339
|
exports.isHydrometerDevice = isHydrometerDevice;
|
|
103327
103340
|
exports.isInRange = isInRange;
|
|
103341
|
+
exports.isSolenoidDevice = isSolenoidDevice;
|
|
103328
103342
|
exports.isStoreDevice = isStoreDevice;
|
|
103329
103343
|
exports.isTankDevice = isTankDevice;
|
|
103330
103344
|
exports.isTelemetryStale = isTelemetryStale;
|