myio-js-library 0.1.186 → 0.1.188

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -874,9 +874,12 @@ interface AnnotationFilterState {
874
874
  };
875
875
  status?: AnnotationStatus | 'all';
876
876
  type?: AnnotationType | 'all';
877
+ importance?: ImportanceLevel | 'all';
878
+ statusList?: AnnotationStatus[];
879
+ typeList?: AnnotationType[];
880
+ importanceList?: ImportanceLevel[];
877
881
  userId?: string | 'all';
878
882
  searchText?: string;
879
- importance?: ImportanceLevel | 'all';
880
883
  showOverdueOnly?: boolean;
881
884
  }
882
885
  interface PaginationState {
@@ -3093,20 +3096,31 @@ interface CategorySummary {
3093
3096
  percentage: number;
3094
3097
  children?: CategorySummary[];
3095
3098
  }
3096
- interface StatusSummary {
3099
+ interface DeviceInfo$1 {
3100
+ id: string;
3101
+ label: string;
3102
+ name?: string;
3103
+ }
3104
+ interface StatusSummary$1 {
3097
3105
  normal: number;
3098
3106
  alert: number;
3099
3107
  failure: number;
3100
3108
  standby: number;
3101
3109
  offline: number;
3102
3110
  noConsumption: number;
3111
+ normalDevices?: DeviceInfo$1[];
3112
+ alertDevices?: DeviceInfo$1[];
3113
+ failureDevices?: DeviceInfo$1[];
3114
+ standbyDevices?: DeviceInfo$1[];
3115
+ offlineDevices?: DeviceInfo$1[];
3116
+ noConsumptionDevices?: DeviceInfo$1[];
3103
3117
  }
3104
3118
  interface DashboardEnergySummary {
3105
3119
  totalDevices: number;
3106
3120
  totalConsumption: number;
3107
3121
  unit: string;
3108
3122
  byCategory: CategorySummary[];
3109
- byStatus: StatusSummary;
3123
+ byStatus: StatusSummary$1;
3110
3124
  lastUpdated: string;
3111
3125
  }
3112
3126
  declare const EnergySummaryTooltip: {
@@ -3120,9 +3134,9 @@ declare const EnergySummaryTooltip: {
3120
3134
  */
3121
3135
  renderCategoryTree(categories: CategorySummary[], unit: string): string;
3122
3136
  /**
3123
- * Render status matrix
3137
+ * Render status matrix with expand buttons
3124
3138
  */
3125
- renderStatusMatrix(status: StatusSummary): string;
3139
+ renderStatusMatrix(status: StatusSummary$1): string;
3126
3140
  /**
3127
3141
  * Render full tooltip HTML
3128
3142
  */
@@ -3139,6 +3153,8 @@ declare const EnergySummaryTooltip: {
3139
3153
  left: string;
3140
3154
  top: string;
3141
3155
  } | null;
3156
+ _currentStatus: StatusSummary$1 | null;
3157
+ _devicePopupId: string;
3142
3158
  /**
3143
3159
  * Show tooltip for an element
3144
3160
  */
@@ -3151,6 +3167,39 @@ declare const EnergySummaryTooltip: {
3151
3167
  * Setup drag listeners on the header
3152
3168
  */
3153
3169
  _setupDragListeners(container: HTMLElement): void;
3170
+ /**
3171
+ * Setup expand button listeners for device list popup (hover behavior)
3172
+ */
3173
+ _setupExpandButtonListeners(container: HTMLElement): void;
3174
+ _devicePopupHideTimer: ReturnType<typeof setTimeout> | null;
3175
+ /**
3176
+ * Start delayed hide for device popup
3177
+ */
3178
+ _startDevicePopupDelayedHide(): void;
3179
+ /**
3180
+ * Cancel device popup delayed hide
3181
+ */
3182
+ _cancelDevicePopupDelayedHide(): void;
3183
+ /**
3184
+ * Get devices for a given status key
3185
+ */
3186
+ _getDevicesForStatus(statusKey: string): DeviceInfo$1[];
3187
+ /**
3188
+ * Get status icon based on status key
3189
+ */
3190
+ _getStatusIcon(statusKey: string): string;
3191
+ /**
3192
+ * Build device list content HTML for InfoTooltip
3193
+ */
3194
+ _buildDeviceListContent(statusKey: string, label: string, count: number): string;
3195
+ /**
3196
+ * Show device list popup using InfoTooltip
3197
+ */
3198
+ showDeviceListPopup(triggerElement: HTMLElement, statusKey: string, label: string, count?: number): void;
3199
+ /**
3200
+ * Hide device list popup (uses InfoTooltip)
3201
+ */
3202
+ hideDeviceListPopup(): void;
3154
3203
  /**
3155
3204
  * Counter for unique pinned clone IDs
3156
3205
  */
@@ -3199,8 +3248,217 @@ declare const EnergySummaryTooltip: {
3199
3248
  /**
3200
3249
  * Build summary data from TELEMETRY_INFO STATE
3201
3250
  * This is called by the widget controller to get data for the tooltip
3251
+ *
3252
+ * RFC-0105 Enhancement: Now fetches device lists from MyIOOrchestratorData
3253
+ * to populate device lists for status popup display
3202
3254
  */
3203
- buildSummaryFromState(state: any, receivedData: any): DashboardEnergySummary;
3255
+ buildSummaryFromState(state: any, receivedData: any, domain?: string): DashboardEnergySummary;
3256
+ /**
3257
+ * RFC-0105: Aggregate device status from MyIOOrchestratorData
3258
+ * Iterates through all orchestrator items and groups devices by status
3259
+ * Returns both counts and device lists
3260
+ */
3261
+ _aggregateDeviceStatusFromOrchestrator(domain?: string): {
3262
+ hasData: boolean;
3263
+ byStatus: StatusSummary$1;
3264
+ };
3265
+ };
3266
+
3267
+ /**
3268
+ * WaterSummaryTooltip - Dashboard Water Summary Tooltip Component
3269
+ * RFC-0105: Premium tooltip showing comprehensive water dashboard summary
3270
+ *
3271
+ * Shows:
3272
+ * - Total device count
3273
+ * - Device counts by category (tree view)
3274
+ * - Consumption totals by category
3275
+ * - Device status breakdown (normal, alert, failure, standby, offline)
3276
+ *
3277
+ * @example
3278
+ * // Attach to an element
3279
+ * const cleanup = WaterSummaryTooltip.attach(triggerElement, getDataFn);
3280
+ * // Later: cleanup();
3281
+ *
3282
+ * // Or manual control
3283
+ * WaterSummaryTooltip.show(element, summaryData, event);
3284
+ * WaterSummaryTooltip.hide();
3285
+ */
3286
+ interface WaterCategorySummary {
3287
+ id: string;
3288
+ name: string;
3289
+ icon: string;
3290
+ deviceCount: number;
3291
+ consumption: number;
3292
+ percentage: number;
3293
+ children?: WaterCategorySummary[];
3294
+ }
3295
+ interface DeviceInfo {
3296
+ id: string;
3297
+ label: string;
3298
+ name?: string;
3299
+ }
3300
+ interface StatusSummary {
3301
+ normal: number;
3302
+ alert: number;
3303
+ failure: number;
3304
+ standby: number;
3305
+ offline: number;
3306
+ noConsumption: number;
3307
+ normalDevices?: DeviceInfo[];
3308
+ alertDevices?: DeviceInfo[];
3309
+ failureDevices?: DeviceInfo[];
3310
+ standbyDevices?: DeviceInfo[];
3311
+ offlineDevices?: DeviceInfo[];
3312
+ noConsumptionDevices?: DeviceInfo[];
3313
+ }
3314
+ interface DashboardWaterSummary {
3315
+ totalDevices: number;
3316
+ totalConsumption: number;
3317
+ unit: string;
3318
+ byCategory: WaterCategorySummary[];
3319
+ byStatus: StatusSummary;
3320
+ lastUpdated: string;
3321
+ includeBathrooms?: boolean;
3322
+ }
3323
+ declare const WaterSummaryTooltip: {
3324
+ containerId: string;
3325
+ /**
3326
+ * Create or get the tooltip container
3327
+ */
3328
+ getContainer(): HTMLElement;
3329
+ /**
3330
+ * Render category tree rows
3331
+ */
3332
+ renderCategoryTree(categories: WaterCategorySummary[], unit: string): string;
3333
+ /**
3334
+ * Render status matrix with expand buttons
3335
+ */
3336
+ renderStatusMatrix(status: StatusSummary): string;
3337
+ /**
3338
+ * Render full tooltip HTML
3339
+ */
3340
+ renderHTML(summary: DashboardWaterSummary): string;
3341
+ _hideTimer: ReturnType<typeof setTimeout> | null;
3342
+ _isMouseOverTooltip: boolean;
3343
+ _isMaximized: boolean;
3344
+ _isDragging: boolean;
3345
+ _dragOffset: {
3346
+ x: number;
3347
+ y: number;
3348
+ };
3349
+ _savedPosition: {
3350
+ left: string;
3351
+ top: string;
3352
+ } | null;
3353
+ _currentStatus: StatusSummary | null;
3354
+ _devicePopupId: string;
3355
+ /**
3356
+ * Show tooltip for an element
3357
+ */
3358
+ show(triggerElement: HTMLElement, summary: DashboardWaterSummary, event?: MouseEvent): void;
3359
+ /**
3360
+ * Setup button click listeners (pin, maximize, close)
3361
+ */
3362
+ _setupButtonListeners(container: HTMLElement): void;
3363
+ /**
3364
+ * Setup drag listeners on the header
3365
+ */
3366
+ _setupDragListeners(container: HTMLElement): void;
3367
+ /**
3368
+ * Setup expand button listeners for device list popup (hover behavior)
3369
+ */
3370
+ _setupExpandButtonListeners(container: HTMLElement): void;
3371
+ _devicePopupHideTimer: ReturnType<typeof setTimeout> | null;
3372
+ /**
3373
+ * Start delayed hide for device popup
3374
+ */
3375
+ _startDevicePopupDelayedHide(): void;
3376
+ /**
3377
+ * Cancel device popup delayed hide
3378
+ */
3379
+ _cancelDevicePopupDelayedHide(): void;
3380
+ /**
3381
+ * Get devices for a given status key
3382
+ */
3383
+ _getDevicesForStatus(statusKey: string): DeviceInfo[];
3384
+ /**
3385
+ * Get status icon based on status key
3386
+ */
3387
+ _getStatusIcon(statusKey: string): string;
3388
+ /**
3389
+ * Build device list content HTML for InfoTooltip
3390
+ */
3391
+ _buildDeviceListContent(statusKey: string, label: string, count: number): string;
3392
+ /**
3393
+ * Show device list popup using InfoTooltip
3394
+ */
3395
+ showDeviceListPopup(triggerElement: HTMLElement, statusKey: string, label: string, count?: number): void;
3396
+ /**
3397
+ * Hide device list popup (uses InfoTooltip)
3398
+ */
3399
+ hideDeviceListPopup(): void;
3400
+ /**
3401
+ * Counter for unique pinned clone IDs
3402
+ */
3403
+ _pinnedCounter: number;
3404
+ /**
3405
+ * Create a pinned clone of the tooltip that stays on screen independently
3406
+ */
3407
+ togglePin(): void;
3408
+ /**
3409
+ * Setup event listeners for a pinned clone
3410
+ */
3411
+ _setupPinnedCloneListeners(clone: HTMLElement, cloneId: string): void;
3412
+ /**
3413
+ * Close and remove a pinned clone
3414
+ */
3415
+ _closePinnedClone(cloneId: string): void;
3416
+ /**
3417
+ * Toggle maximized state
3418
+ */
3419
+ toggleMaximize(): void;
3420
+ /**
3421
+ * Close tooltip (reset all states)
3422
+ */
3423
+ close(): void;
3424
+ /**
3425
+ * Setup hover listeners on the tooltip itself
3426
+ */
3427
+ _setupTooltipHoverListeners(container: HTMLElement): void;
3428
+ /**
3429
+ * Start delayed hide with animation
3430
+ */
3431
+ _startDelayedHide(): void;
3432
+ /**
3433
+ * Hide tooltip with fade animation
3434
+ */
3435
+ hideWithAnimation(): void;
3436
+ /**
3437
+ * Hide tooltip immediately (for cleanup)
3438
+ */
3439
+ hide(): void;
3440
+ /**
3441
+ * Attach tooltip to an element with automatic show/hide on hover
3442
+ * Returns cleanup function to remove event listeners
3443
+ */
3444
+ attach(element: HTMLElement, getDataFn: () => DashboardWaterSummary): () => void;
3445
+ /**
3446
+ * Build summary data from TELEMETRY_INFO STATE_WATER
3447
+ * This is called by the widget controller to get data for the tooltip
3448
+ *
3449
+ * RFC-0105 Enhancement: Now fetches device lists from MyIOOrchestratorData
3450
+ * to populate device lists for status popup display
3451
+ */
3452
+ buildSummaryFromState(state: any, receivedData: any, includeBathrooms?: boolean, domain?: string): DashboardWaterSummary;
3453
+ /**
3454
+ * RFC-0105: Aggregate device status from MyIOOrchestratorData
3455
+ * Iterates through all orchestrator items and groups devices by status
3456
+ * Returns both counts and device lists
3457
+ */
3458
+ _aggregateDeviceStatusFromOrchestrator(domain?: string): {
3459
+ hasData: boolean;
3460
+ byStatus: StatusSummary;
3461
+ };
3204
3462
  };
3205
3463
 
3206
3464
  /**
@@ -3260,6 +3518,263 @@ declare const InfoTooltip: {
3260
3518
  attach(triggerElement: HTMLElement, getOptions: () => InfoTooltipOptions): () => void;
3261
3519
  };
3262
3520
 
3521
+ /**
3522
+ * DeviceComparisonTooltip - Premium Device Comparison Tooltip Component
3523
+ * RFC-0110: Premium tooltip showing device consumption comparisons
3524
+ *
3525
+ * Features:
3526
+ * - Draggable header
3527
+ * - PIN button (creates independent clone)
3528
+ * - Maximize/restore button
3529
+ * - Close button
3530
+ * - Delayed hide (1.5s) with hover detection
3531
+ * - Smooth animations
3532
+ *
3533
+ * Shows:
3534
+ * - Device consumption and percentage
3535
+ * - Device vs Category group (e.g., Chiller 1 vs All Chillers)
3536
+ * - Device vs Widget scope (e.g., Chiller 1 vs Area Comum)
3537
+ * - Device vs Total (e.g., Chiller 1 vs Area Comum + Lojas)
3538
+ *
3539
+ * @example
3540
+ * // Attach to an element
3541
+ * const cleanup = DeviceComparisonTooltip.attach(triggerElement, getDataFn);
3542
+ * // Later: cleanup();
3543
+ *
3544
+ * // Or manual control
3545
+ * DeviceComparisonTooltip.show(element, data, event);
3546
+ * DeviceComparisonTooltip.hide();
3547
+ */
3548
+ interface DeviceComparisonData {
3549
+ /** Device info */
3550
+ device: {
3551
+ id: string;
3552
+ name: string;
3553
+ type: string;
3554
+ consumption: number;
3555
+ percentage: number;
3556
+ unit?: string;
3557
+ };
3558
+ /** Category comparison (e.g., all Chillers) */
3559
+ categoryGroup: {
3560
+ name: string;
3561
+ totalConsumption: number;
3562
+ deviceCount: number;
3563
+ devicePercentage: number;
3564
+ };
3565
+ /** Widget scope comparison (e.g., Area Comum) */
3566
+ widgetScope: {
3567
+ name: string;
3568
+ totalConsumption: number;
3569
+ deviceCount: number;
3570
+ devicePercentage: number;
3571
+ };
3572
+ /** Grand total comparison (Area Comum + Lojas) */
3573
+ grandTotal: {
3574
+ name: string;
3575
+ totalConsumption: number;
3576
+ deviceCount: number;
3577
+ devicePercentage: number;
3578
+ };
3579
+ /** Last update timestamp */
3580
+ lastUpdated?: string;
3581
+ }
3582
+ declare const DeviceComparisonTooltip: {
3583
+ containerId: string;
3584
+ /**
3585
+ * Get or create container
3586
+ */
3587
+ getContainer(): HTMLElement;
3588
+ /**
3589
+ * Show tooltip
3590
+ */
3591
+ show(triggerElement: HTMLElement, data: DeviceComparisonData): void;
3592
+ /**
3593
+ * Start delayed hide
3594
+ */
3595
+ startDelayedHide(): void;
3596
+ /**
3597
+ * Hide immediately
3598
+ */
3599
+ hide(): void;
3600
+ /**
3601
+ * Close and reset all states
3602
+ */
3603
+ close(): void;
3604
+ /**
3605
+ * Attach tooltip to trigger element with hover behavior
3606
+ */
3607
+ attach(triggerElement: HTMLElement, getDataFn: () => DeviceComparisonData | null): () => void;
3608
+ /**
3609
+ * Build comparison data from entity and widget state
3610
+ * Helper method to build the data structure from widget controller data
3611
+ */
3612
+ buildComparisonData(entity: {
3613
+ entityId: string;
3614
+ labelOrName: string;
3615
+ deviceType: string;
3616
+ val: number;
3617
+ perc: number;
3618
+ }, categoryData: {
3619
+ name: string;
3620
+ total: number;
3621
+ deviceCount: number;
3622
+ }, widgetData: {
3623
+ name: string;
3624
+ total: number;
3625
+ deviceCount: number;
3626
+ }, grandTotalData: {
3627
+ name: string;
3628
+ total: number;
3629
+ deviceCount: number;
3630
+ }): DeviceComparisonData;
3631
+ };
3632
+
3633
+ /**
3634
+ * TempComparisonTooltip - Premium Temperature Comparison Tooltip Component
3635
+ * RFC-0110: Premium tooltip showing temperature comparison with average
3636
+ *
3637
+ * Features:
3638
+ * - Draggable header
3639
+ * - PIN button (creates independent clone)
3640
+ * - Maximize/restore button
3641
+ * - Close button
3642
+ * - Delayed hide (1.5s) with hover detection
3643
+ * - Smooth animations
3644
+ *
3645
+ * Shows:
3646
+ * - Current temperature and deviation from average
3647
+ * - Device vs Average comparison with visual bar
3648
+ *
3649
+ * @example
3650
+ * // Attach to an element
3651
+ * const cleanup = TempComparisonTooltip.attach(triggerElement, getDataFn);
3652
+ * // Later: cleanup();
3653
+ *
3654
+ * // Or manual control
3655
+ * TempComparisonTooltip.show(element, data);
3656
+ * TempComparisonTooltip.hide();
3657
+ */
3658
+ interface TempComparisonData {
3659
+ /** Device info */
3660
+ device: {
3661
+ id: string;
3662
+ name: string;
3663
+ currentTemp: number;
3664
+ minTemp: number;
3665
+ maxTemp: number;
3666
+ };
3667
+ /** Average comparison */
3668
+ average: {
3669
+ name: string;
3670
+ value: number;
3671
+ deviceCount: number;
3672
+ };
3673
+ /** Last update timestamp */
3674
+ lastUpdated?: string;
3675
+ }
3676
+ declare const TempComparisonTooltip: {
3677
+ containerId: string;
3678
+ /**
3679
+ * Get or create container
3680
+ */
3681
+ getContainer(): HTMLElement;
3682
+ /**
3683
+ * Show tooltip
3684
+ */
3685
+ show(triggerElement: HTMLElement, data: TempComparisonData): void;
3686
+ /**
3687
+ * Start delayed hide
3688
+ */
3689
+ startDelayedHide(): void;
3690
+ /**
3691
+ * Hide immediately
3692
+ */
3693
+ hide(): void;
3694
+ /**
3695
+ * Close and reset all states
3696
+ */
3697
+ close(): void;
3698
+ /**
3699
+ * Attach tooltip to trigger element with hover behavior
3700
+ */
3701
+ attach(triggerElement: HTMLElement, getDataFn: () => TempComparisonData | null): () => void;
3702
+ /**
3703
+ * Build comparison data from entity data
3704
+ * Helper method to build the data structure from widget controller data
3705
+ */
3706
+ buildComparisonData(entity: {
3707
+ entityId: string;
3708
+ labelOrName: string;
3709
+ currentTemp: number;
3710
+ minTemp: number;
3711
+ maxTemp: number;
3712
+ }, averageData: {
3713
+ name: string;
3714
+ value: number;
3715
+ deviceCount: number;
3716
+ }): TempComparisonData;
3717
+ };
3718
+
3719
+ /**
3720
+ * TempSensorSummaryTooltip - Temperature Sensors Summary Tooltip
3721
+ * Premium draggable tooltip with PIN, maximize, close and delayed hide
3722
+ *
3723
+ * Features:
3724
+ * - Draggable header
3725
+ * - PIN button (creates independent clone)
3726
+ * - Maximize/restore button
3727
+ * - Close button
3728
+ * - Delayed hide (1.5s) with hover detection
3729
+ * - Smooth animations
3730
+ * - Orange theme for temperature
3731
+ *
3732
+ * @example
3733
+ * TempSensorSummaryTooltip.show(triggerElement, {
3734
+ * devices: [...],
3735
+ * temperatureMin: 20,
3736
+ * temperatureMax: 26
3737
+ * });
3738
+ */
3739
+ interface TempSensorDevice {
3740
+ name: string;
3741
+ temp: number;
3742
+ status: 'ok' | 'warn' | 'unknown';
3743
+ }
3744
+ interface TempSensorSummaryData {
3745
+ devices: TempSensorDevice[];
3746
+ temperatureMin?: number;
3747
+ temperatureMax?: number;
3748
+ title?: string;
3749
+ }
3750
+ declare const TempSensorSummaryTooltip: {
3751
+ containerId: string;
3752
+ /**
3753
+ * Get or create container
3754
+ */
3755
+ getContainer(): HTMLElement;
3756
+ /**
3757
+ * Show tooltip
3758
+ */
3759
+ show(triggerElement: HTMLElement, data: TempSensorSummaryData): void;
3760
+ /**
3761
+ * Start delayed hide
3762
+ */
3763
+ startDelayedHide(): void;
3764
+ /**
3765
+ * Hide immediately
3766
+ */
3767
+ hide(): void;
3768
+ /**
3769
+ * Close and reset all states
3770
+ */
3771
+ close(): void;
3772
+ /**
3773
+ * Attach tooltip to trigger element with hover behavior
3774
+ */
3775
+ attach(triggerElement: HTMLElement, getData: () => TempSensorSummaryData): () => void;
3776
+ };
3777
+
3263
3778
  /**
3264
3779
  * MyIO Modal Header Component
3265
3780
  *
@@ -4401,4 +4916,4 @@ declare function getThemeColors(theme: ThemeMode): DistributionThemeColors;
4401
4916
  */
4402
4917
  declare function getHashColor(str: string): string;
4403
4918
 
4404
- export { ANNOTATION_TYPE_COLORS, ANNOTATION_TYPE_LABELS, ANNOTATION_TYPE_LABELS_EN, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, type AnnotationType, type AuditAction, type AuditEntry, type BuildTemplateExportParams, CHART_COLORS, DEFAULT_COLORS as CONSUMPTION_CHART_COLORS, DEFAULT_CONFIG as CONSUMPTION_CHART_DEFAULTS, THEME_COLORS as CONSUMPTION_THEME_COLORS, type CategorySummary, type ChartDomain, type ClampRange, ConnectionStatusType, type Consumption7DaysColors, type Consumption7DaysConfig, type Consumption7DaysData, type Consumption7DaysInstance, type ChartType as ConsumptionChartType, type ConsumptionDataPoint, type IdealRangeConfig as ConsumptionIdealRangeConfig, type ConsumptionModalConfig, type ConsumptionModalInstance, type TemperatureConfig as ConsumptionTemperatureConfig, type TemperatureReferenceLine as ConsumptionTemperatureReferenceLine, type ThemeColors as ConsumptionThemeColors, type ThemeMode$1 as ConsumptionThemeMode, type VizMode as ConsumptionVizMode, type ConsumptionWidgetConfig, type ConsumptionWidgetInstance, type CreateDateRangePickerOptions, type CreateInputDateRangePickerInsideDIVParams, DEFAULT_CLAMP_RANGE, DEFAULT_ENERGY_GROUP_COLORS, DEFAULT_GAS_GROUP_COLORS, DEFAULT_SHOPPING_COLORS, DEFAULT_WATER_GROUP_COLORS, type DashboardEnergySummary, type DateRangeControl, type DateRangeInputController, type DateRangeResult, type DemandModalInstance, type DemandModalParams, type DemandModalPdfConfig, type DemandModalStyles, type DeviceStatusName, DeviceStatusType, type DeviceTypeLimits, type DistributionChartConfig, type DistributionChartInstance, type DistributionData, type DistributionDomain, type DistributionMode, type DistributionThemeColors, EXPORT_DEFAULT_COLORS, EXPORT_DOMAIN_ICONS, EXPORT_DOMAIN_LABELS, EXPORT_DOMAIN_UNITS, type EnergyEntityData, type EnergyModalContext, type EnergyModalError, type EnergyModalI18n, type EnergyModalStyleOverrides, EnergyRangeTooltip, type EnergyStatus, type EnergyStatusResult, EnergySummaryTooltip, 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, type GroupColors, IMPORTANCE_COLORS, IMPORTANCE_LABELS, IMPORTANCE_LABELS_EN, type ImportanceLevel, InfoTooltip, type InstantaneousPowerLimits, type LogAnnotationsAttribute, type ExportFormat$1 as ModalExportFormat, type ModalHeaderConfig, type ModalHeaderInstance, type ModalTheme, type MyIOAuthConfig, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, DEVICE_TYPES as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type PermissionSet, type PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, type RealTimeTelemetryInstance, type RealTimeTelemetryParams, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, type SettingsError, type SettingsEvent, type ShoppingColors, type ShoppingDataPoint, type StatusLimits, type StatusSummary, type StoreRow, type TbScope, type TelemetryFetcher, type TelemetryTypeLimits, type TempEntityData, TempRangeTooltip, type TempStatus, type TempStatusResult, type TemperatureComparisonModalInstance, type TemperatureComparisonModalParams, type TemperatureDevice, type TemperatureGranularity, type TemperatureModalInstance, type TemperatureModalParams, type TemperatureSettingsInstance, type TemperatureSettingsParams, type TemperatureStats, type TemperatureTelemetry, type ThingsboardCustomerAttrsConfig, type TimedValue, type UserInfo, type WaterRow, type WaterTankDataPoint, type WaterTankModalContext, type WaterTankModalError, type WaterTankModalI18n, type WaterTankModalStyleOverrides, type WaterTankTelemetryData, addDetectionContext, addNamespace, aggregateByDay, assignShoppingColors, averageByDay, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateDeviceStatus, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, connectionStatusIcons, createAnnotationIndicator, createConsumption7DaysChart, createConsumptionChartWidget, createConsumptionModal, createDateRangePicker, createDistributionChartWidget, createInputDateRangePickerInsideDIV, createModalHeader, decodePayload, decodePayloadBase64Xor, detectDeviceType, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractMyIOCredentials, fetchCurrentUserInfo, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, findValue, findValueWithDefault, fmtPerc$1 as fmtPerc, fmtPerc as fmtPercLegacy, formatAllInSameUnit, formatAllInSameWaterUnit, formatDateForInput, formatDateToYMD, formatDateWithTimezoneOffset, formatDuration, formatEnergy, formatNumberReadable, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, getAnnotationPermissions, getAuthCacheStats, getAvailableContexts, getConnectionStatusIcon, getDateRangeArray, getDefaultGroupColors, getDeviceStatusIcon, getDeviceStatusInfo, getThemeColors as getDistributionThemeColors, getGroupColor, getHashColor, getModalHeaderStyles, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, interpolateTemperature, isDeviceOffline, isValidConnectionStatus, isValidDeviceStatus, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeRecipients, numbers, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGoalsPanel, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, parseInputDateToDate, renderCardComponent$2 as renderCardComponent, renderCardComponent$1 as renderCardComponentEnhanced, renderCardComponentHeadOffice, renderCardComponentLegacy, renderCardComponentV2, renderCardComponent as renderCardComponentV5, renderCardComponentV5 as renderCardV5, shouldFlashIcon, strings, timeWindowFromInputYMD, toCSV, toFixedSafe, waterDeviceStatusIcons };
4919
+ export { ANNOTATION_TYPE_COLORS, ANNOTATION_TYPE_LABELS, ANNOTATION_TYPE_LABELS_EN, type Annotation, type AnnotationFilterState, AnnotationIndicator, type AnnotationIndicatorConfig, type AnnotationIndicatorTheme, type AnnotationStatus, type AnnotationSummary, type AnnotationType, type AuditAction, type AuditEntry, type BuildTemplateExportParams, CHART_COLORS, DEFAULT_COLORS as CONSUMPTION_CHART_COLORS, DEFAULT_CONFIG as CONSUMPTION_CHART_DEFAULTS, THEME_COLORS as CONSUMPTION_THEME_COLORS, type CategorySummary, type ChartDomain, type ClampRange, ConnectionStatusType, type Consumption7DaysColors, type Consumption7DaysConfig, type Consumption7DaysData, type Consumption7DaysInstance, type ChartType as ConsumptionChartType, type ConsumptionDataPoint, type IdealRangeConfig as ConsumptionIdealRangeConfig, type ConsumptionModalConfig, type ConsumptionModalInstance, type TemperatureConfig as ConsumptionTemperatureConfig, type TemperatureReferenceLine as ConsumptionTemperatureReferenceLine, type ThemeColors as ConsumptionThemeColors, type ThemeMode$1 as ConsumptionThemeMode, type VizMode as ConsumptionVizMode, type ConsumptionWidgetConfig, type ConsumptionWidgetInstance, type CreateDateRangePickerOptions, type CreateInputDateRangePickerInsideDIVParams, DEFAULT_CLAMP_RANGE, DEFAULT_ENERGY_GROUP_COLORS, DEFAULT_GAS_GROUP_COLORS, DEFAULT_SHOPPING_COLORS, DEFAULT_WATER_GROUP_COLORS, type DashboardEnergySummary, type DashboardWaterSummary, type DateRangeControl, type DateRangeInputController, type DateRangeResult, type DemandModalInstance, type DemandModalParams, type DemandModalPdfConfig, type DemandModalStyles, type DeviceComparisonData, DeviceComparisonTooltip, type DeviceInfo$1 as DeviceInfo, type DeviceStatusName, DeviceStatusType, type DeviceTypeLimits, type DistributionChartConfig, type DistributionChartInstance, type DistributionData, type DistributionDomain, type DistributionMode, type DistributionThemeColors, EXPORT_DEFAULT_COLORS, EXPORT_DOMAIN_ICONS, EXPORT_DOMAIN_LABELS, EXPORT_DOMAIN_UNITS, type EnergyEntityData, type EnergyModalContext, type EnergyModalError, type EnergyModalI18n, type EnergyModalStyleOverrides, EnergyRangeTooltip, type EnergyStatus, type EnergyStatusResult, EnergySummaryTooltip, 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, type GroupColors, IMPORTANCE_COLORS, IMPORTANCE_LABELS, IMPORTANCE_LABELS_EN, type ImportanceLevel, InfoTooltip, type InstantaneousPowerLimits, type LogAnnotationsAttribute, type ExportFormat$1 as ModalExportFormat, type ModalHeaderConfig, type ModalHeaderInstance, type ModalTheme, type MyIOAuthConfig, type MyIOAuthInstance, MyIOChartModal, MyIODraggableCard, MyIOSelectionStore, MyIOSelectionStoreClass, MyIOToast, type NewAnnotationData, type OpenDashboardPopupEnergyOptions, type OpenDashboardPopupSettingsParams, type OpenDashboardPopupWaterTankOptions, DEVICE_TYPES as POWER_LIMITS_DEVICE_TYPES, STATUS_CONFIG as POWER_LIMITS_STATUS_CONFIG, TELEMETRY_TYPES as POWER_LIMITS_TELEMETRY_TYPES, type PaginationState, type PermissionSet, type PersistResult, type PowerLimitsError, type PowerLimitsFormData, type PowerLimitsModalInstance, type PowerLimitsModalParams, type PowerLimitsModalStyles, type PowerRange, type PowerRanges, type RealTimeTelemetryInstance, type RealTimeTelemetryParams, STATUS_COLORS, STATUS_LABELS, STATUS_LABELS_EN, type SettingsError, type SettingsEvent, type ShoppingColors, type ShoppingDataPoint, type StatusLimits, type StatusSummary$1 as StatusSummary, type StoreRow, type TbScope, type TelemetryFetcher, type TelemetryTypeLimits, type TempComparisonData, TempComparisonTooltip, type TempEntityData, TempRangeTooltip, type TempSensorDevice, type TempSensorSummaryData, TempSensorSummaryTooltip, type TempStatus, type TempStatusResult, type TemperatureComparisonModalInstance, type TemperatureComparisonModalParams, type TemperatureDevice, type TemperatureGranularity, type TemperatureModalInstance, type TemperatureModalParams, type TemperatureSettingsInstance, type TemperatureSettingsParams, type TemperatureStats, type TemperatureTelemetry, type ThingsboardCustomerAttrsConfig, type TimedValue, type UserInfo, type WaterCategorySummary, type WaterRow, WaterSummaryTooltip, type WaterTankDataPoint, type WaterTankModalContext, type WaterTankModalError, type WaterTankModalI18n, type WaterTankModalStyleOverrides, type WaterTankTelemetryData, addDetectionContext, addNamespace, aggregateByDay, assignShoppingColors, averageByDay, buildListItemsThingsboardByUniqueDatasource, buildMyioIngestionAuth, buildTemplateExport, buildWaterReportCSV, buildWaterStoresCSV, calcDeltaPercent, calculateDeviceStatus, calculateDeviceStatusWithRanges, calculateStats as calculateExportStats, calculateStats$1 as calculateStats, canModifyAnnotation, clampTemperature, classify, classifyWaterLabel, classifyWaterLabels, clearAllAuthCaches, connectionStatusIcons, createAnnotationIndicator, createConsumption7DaysChart, createConsumptionChartWidget, createConsumptionModal, createDateRangePicker, createDistributionChartWidget, createInputDateRangePickerInsideDIV, createModalHeader, decodePayload, decodePayloadBase64Xor, detectDeviceType, detectSuperAdminHolding, detectSuperAdminMyio, determineInterval, deviceStatusIcons, exportTemperatureCSV, exportToCSV, exportToCSVAll, extractMyIOCredentials, fetchCurrentUserInfo, fetchTemperatureData, fetchThingsboardCustomerAttrsFromStorage, fetchThingsboardCustomerServerScopeAttrs, findValue, findValueWithDefault, fmtPerc$1 as fmtPerc, fmtPerc as fmtPercLegacy, formatAllInSameUnit, formatAllInSameWaterUnit, formatDateForInput, formatDateToYMD, formatDateWithTimezoneOffset, formatDuration, formatEnergy, formatNumberReadable, formatRelativeTime, formatTankHeadFromCm, formatTemperature, formatWater, formatWaterByGroup, formatWaterVolumeM3, formatarDuracao, generateFilename as generateExportFilename, getAnnotationPermissions, getAuthCacheStats, getAvailableContexts, getConnectionStatusIcon, getDateRangeArray, getDefaultGroupColors, getDeviceStatusIcon, getDeviceStatusInfo, getThemeColors as getDistributionThemeColors, getGroupColor, getHashColor, getModalHeaderStyles, getSaoPauloISOString, getSaoPauloISOStringFixed, getShoppingColor, getValueByDatakey, getValueByDatakeyLegacy, getWaterCategories, groupByDay, interpolateTemperature, isDeviceOffline, isValidConnectionStatus, isValidDeviceStatus, isWaterCategory, mapConnectionStatus, mapDeviceStatusToCardStatus, mapDeviceToConnectionStatus, myioExportData, normalizeRecipients, numbers, openDashboardPopup, openDashboardPopupAllReport, openDashboardPopupEnergy, openDashboardPopupReport, openDashboardPopupSettings, openDashboardPopupWaterTank, openDemandModal, openGoalsPanel, openPowerLimitsSetupModal, openRealTimeTelemetryModal, openTemperatureComparisonModal, openTemperatureModal, openTemperatureSettingsModal, parseInputDateToDate, renderCardComponent$2 as renderCardComponent, renderCardComponent$1 as renderCardComponentEnhanced, renderCardComponentHeadOffice, renderCardComponentLegacy, renderCardComponentV2, renderCardComponent as renderCardComponentV5, renderCardComponentV5 as renderCardV5, shouldFlashIcon, strings, timeWindowFromInputYMD, toCSV, toFixedSafe, waterDeviceStatusIcons };